Class SeamHttpAcsAccessGroups
Constructors
constructor
- new SeamHttpAcsAccessGroups(apiKeyOrOptions?): SeamHttpAcsAccessGroups
Properties
client
client: AxiosInstance
Readonly
defaults
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<{
access_schedule?: {
ends_at: string;
starts_at: string;
};
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" | "hid_credential_manager_user" | "salto_site_user";
external_type_display_name?: string;
full_name?: string;
hid_acs_system_id?: string;
is_suspended: boolean;
phone_number?: string;
user_identity_email_address?: string;
user_identity_id?: string;
user_identity_phone_number?: string;
workspace_id: string;
}[]> Parameters
Optional
body: {
acs_access_group_id: string;
}acs_access_group_id: string
Returns Promise<{
access_schedule?: {
ends_at: string;
starts_at: string;
};
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" | "hid_credential_manager_user" | "salto_site_user";
external_type_display_name?: string;
full_name?: string;
hid_acs_system_id?: string;
is_suspended: boolean;
phone_number?: string;
user_identity_email_address?: string;
user_identity_id?: string;
user_identity_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>
updateClientSessionToken
- updateClientSessionToken(clientSessionToken): Promise<void>
Parameters
- clientSessionToken: string
Returns Promise<void>
Static
fromApiKey
- fromApiKey(apiKey, options?): SeamHttpAcsAccessGroups
Static
fromClient
- fromClient(client, options?): SeamHttpAcsAccessGroups
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpAcsAccessGroups
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpAcsAccessGroups
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpAcsAccessGroups
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpAcsAccessGroups>