Documentation
¶
Index ¶
- func AdminAddUserToAccount(userId, accountId string, setActive bool) error
- func AdminDeleteAccount(accountId string) error
- func AdminDeleteAgent(agentId string) error
- func AdminDeleteUser(userId string) error
- func AdminGetAccount(accountId string) (*models.AccountSchema, error)
- func AdminGetAgent(agentId string) (*models.AgentSchema, error)
- func AdminGetUser(userId, externalId, email string) (*models.UserSchema, error)
- func AdminListAccounts(page, pageSize int32, search string) ([]models.AccountSchema, int, error)
- func AdminListAgents(page, pageSize int32, search string) ([]models.AgentSchema, int, error)
- func AdminListUserAccounts(userId string) ([]models.AccountSchema, string, error)
- func AdminListUsers(page, pageSize int32, search string) ([]models.UserSchema, int, error)
- func AdminRemoveUserFromAccount(userId, accountId string) error
- func AdminSetUserActiveAccount(userId, accountId string) error
- func AdminUpdateAccount(accountId, accountName string) (*models.AccountSchema, error)
- func AdminUpdateAgent(agentId, agentName, apiKey string) (*models.AgentSchema, error)
- func AdminUpdateUser(userId, externalId, email, username string) (*models.UserSchema, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminAddUserToAccount ¶
func AdminDeleteAccount ¶
func AdminDeleteAgent ¶
func AdminDeleteUser ¶
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 AdminListAgents ¶
func AdminListUserAccounts ¶
func AdminListUserAccounts(userId string) ([]models.AccountSchema, string, error)
func AdminListUsers ¶
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.
Click to show internal directories.
Click to hide internal directories.