Class SeamHttpAcsAccessGroups
Constructors
constructor
- new SeamHttpAcsAccessGroups(apiKeyOrOptions?): SeamHttpAcsAccessGroups
Properties
client
client: AxiosInstance
Methods
addUser
- addUser(body?): Promise<void>
Parameters
Optional
body: {
acs_access_group_id: string;
acs_user_id: string;
}
acs_access_group_id: string
acs_user_id: string
Returns Promise<void>
get
- get(body?): Promise<{
access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
access_group_type_display_name: string;
acs_access_group_id: string;
acs_system_id: string;
created_at: string;
external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
external_type_display_name: string;
name: string;
workspace_id: string;
}> Parameters
Optional
body: {
acs_access_group_id: string;
}
acs_access_group_id: string
Returns Promise<{
access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
access_group_type_display_name: string;
acs_access_group_id: string;
acs_system_id: string;
created_at: string;
external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
external_type_display_name: string;
name: string;
workspace_id: string;
}>
list
- list(body?): Promise<{
access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
access_group_type_display_name: string;
acs_access_group_id: string;
acs_system_id: string;
created_at: string;
external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
external_type_display_name: string;
name: string;
workspace_id: string;
}[]> Parameters
Optional
body: {
acs_system_id?: string;
acs_user_id?: string;
}
Optional
acs_system_id?: string
Optional
acs_user_id?: string
Returns Promise<{
access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
access_group_type_display_name: string;
acs_access_group_id: string;
acs_system_id: string;
created_at: string;
external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
external_type_display_name: string;
name: string;
workspace_id: string;
}[]>
listUsers
- listUsers(body?): Promise<{
acs_system_id: string;
acs_user_id: string;
created_at: string;
display_name: string;
email?: string;
email_address?: string;
external_type: "pti_user" | "brivo_user";
external_type_display_name: string;
full_name?: string;
is_suspended: boolean;
phone_number?: string;
workspace_id: string;
}[]> Parameters
Optional
body: {
acs_access_group_id: string;
}
acs_access_group_id: string
Returns Promise<{
acs_system_id: string;
acs_user_id: string;
created_at: string;
display_name: string;
email?: string;
email_address?: string;
external_type: "pti_user" | "brivo_user";
external_type_display_name: string;
full_name?: string;
is_suspended: boolean;
phone_number?: string;
workspace_id: string;
}[]>
removeUser
- removeUser(body?): Promise<void>
Parameters
Optional
body: {
acs_access_group_id: string;
acs_user_id: string;
}
acs_access_group_id: string
acs_user_id: string
Returns Promise<void>
Static
fromApiKey
- fromApiKey(apiKey, options?): SeamHttpAcsAccessGroups
Static
fromClient
- fromClient(client, options?): SeamHttpAcsAccessGroups
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpAcsAccessGroups
Parameters
clientSessionToken: string
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpAcsAccessGroups
Parameters
consoleSessionToken: string
workspaceId: string
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpAcsAccessGroups
Parameters
personalAccessToken: string
workspaceId: string
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpAcsAccessGroups>
Parameters
publishableKey: string
userIdentifierKey: string