Constructors
constructor
- new SeamHttpAcsUsers(apiKeyOrOptions?): SeamHttpAcsUsers
Properties
client
client: AxiosInstance
Readonly
defaults
Methods
addToAccessGroup
- addToAccessGroup(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>
create
- create(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: {
access_schedule?: {
ends_at: string;
starts_at: string;
};
acs_access_group_ids?: string[];
acs_system_id: string;
email?: string;
email_address?: string;
full_name?: string;
phone_number?: string;
user_identity_id?: string;
}Optional
access_schedule?: {
ends_at: string;
starts_at: string;
}
ends_at: string
starts_at: string
Optional
acs_access_group_ids?: string[]
acs_system_id: string
Optional
email?: string
Optional
email_address?: string
Optional
full_name?: string
Optional
phone_number?: string
Optional
user_identity_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;
}>
delete
- delete(body?): Promise<void>
Parameters
Optional
body: {
acs_user_id: string;
}
Returns Promise<void>
get
- get(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_user_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;
}>
list
- list(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_system_id?: string;
user_identity_email_address?: string;
user_identity_id?: string;
user_identity_phone_number?: string;
}Optional
acs_system_id?: string
Optional
user_identity_email_address?: string
Optional
user_identity_id?: string
Optional
user_identity_phone_number?: 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;
}[]>
listAccessibleEntrances
- listAccessibleEntrances(body?): Promise<{
acs_entrance_id: string;
acs_system_id: string;
created_at: string;
display_name: string;
visionline_metadata: null | {
door_category: "common" | "entrance" | "guest" | "elevator reader" | "common (PMS)";
door_name: string;
profiles?: {
visionline_door_profile_id: string;
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
}[];
};
}[]> Parameters
Optional
body: {
acs_user_id: string;
}
Returns Promise<{
acs_entrance_id: string;
acs_system_id: string;
created_at: string;
display_name: string;
visionline_metadata: null | {
door_category: "common" | "entrance" | "guest" | "elevator reader" | "common (PMS)";
door_name: string;
profiles?: {
visionline_door_profile_id: string;
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
}[];
};
}[]>
removeFromAccessGroup
- removeFromAccessGroup(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>
revokeAccessToAllEntrances
- revokeAccessToAllEntrances(body?): Promise<void>
Parameters
Optional
body: {
acs_user_id: string;
}
Returns Promise<void>
suspend
- suspend(body?): Promise<void>
Parameters
Optional
body: {
acs_user_id: string;
}
Returns Promise<void>
unsuspend
- unsuspend(body?): Promise<void>
Parameters
Optional
body: {
acs_user_id: string;
}
Returns Promise<void>
update
- update(body?): Promise<void>
Parameters
Optional
body: {
access_schedule?: {
ends_at: string;
starts_at: string;
};
acs_user_id: string;
email?: string;
email_address?: string;
full_name?: string;
hid_acs_system_id?: string;
phone_number?: string;
}Optional
access_schedule?: {
ends_at: string;
starts_at: string;
}
ends_at: string
starts_at: string
acs_user_id: string
Optional
email?: string
Optional
email_address?: string
Optional
full_name?: string
Optional
hid_acs_system_id?: string
Optional
phone_number?: string
Returns Promise<void>
updateClientSessionToken
- updateClientSessionToken(clientSessionToken): Promise<void>
Parameters
- clientSessionToken: string
Returns Promise<void>
Static
fromApiKey
- fromApiKey(apiKey, options?): SeamHttpAcsUsers
Static
fromClient
- fromClient(client, options?): SeamHttpAcsUsers
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpAcsUsers
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpAcsUsers
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpAcsUsers
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpAcsUsers>
Deprecated: use email_address.