admin

package
v1.0.80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminAddUserToAccount

func AdminAddUserToAccount(userId, accountId string, setActive bool) error

func AdminDeleteAccount

func AdminDeleteAccount(accountId string) error

func AdminDeleteAgent

func AdminDeleteAgent(agentId string) error

func AdminDeleteUser

func AdminDeleteUser(userId string) error

func AdminGetAccount

func AdminGetAccount(accountId string) (*models.AccountSchema, error)

func AdminGetAgent

func AdminGetAgent(agentId string) (*models.AgentSchema, error)

func AdminGetUser

func AdminGetUser(userId, externalId, email string) (*models.UserSchema, error)

func AdminListAccounts

func AdminListAccounts(page, pageSize int32, search string) ([]models.AccountSchema, int, error)

func AdminListAgents

func AdminListAgents(page, pageSize int32, search string) ([]models.AgentSchema, int, error)

func AdminListUserAccounts

func AdminListUserAccounts(userId string) ([]models.AccountSchema, string, error)

func AdminListUsers

func AdminListUsers(page, pageSize int32, search string) ([]models.UserSchema, int, error)

func AdminRemoveUserFromAccount

func AdminRemoveUserFromAccount(userId, accountId string) error

func AdminSetUserActiveAccount

func AdminSetUserActiveAccount(userId, accountId string) error

func AdminUpdateAccount

func AdminUpdateAccount(accountId, accountName string) (*models.AccountSchema, error)

func AdminUpdateAgent

func AdminUpdateAgent(agentId, agentName, apiKey string) (*models.AgentSchema, error)

func AdminUpdateUser

func AdminUpdateUser(userId, externalId, email, username string) (*models.UserSchema, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL