Constructors
constructor
- new SeamHttpAcsUsers(apiKeyOrOptions?): SeamHttpAcsUsers
-
Properties
client
client: AxiosInstance
Methods
addToAccessGroup
- addToAccessGroup(body): Promise<void>
-
Parameters
-
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<{
acs_system_id: string;
acs_user_id: string;
created_at: string;
display_name: string;
email?: string;
external_type: "pti_user";
external_type_display_name: string;
full_name?: string;
is_suspended: boolean;
phone_number?: string;
workspace_id: string;
}>
-
Parameters
-
body: {
acs_access_group_ids?: string[];
acs_system_id: string;
email?: string;
full_name?: string;
phone_number?: string;
}
-
Optional
acs_access_group_ids?: string[]
-
acs_system_id: string
-
Optional
email?: string
-
Optional
full_name?: string
-
Optional
phone_number?: string
Returns Promise<{
acs_system_id: string;
acs_user_id: string;
created_at: string;
display_name: string;
email?: string;
external_type: "pti_user";
external_type_display_name: string;
full_name?: string;
is_suspended: boolean;
phone_number?: string;
workspace_id: string;
}>
delete
- delete(body): Promise<void>
-
Parameters
-
body: {
acs_user_id: string;
}
Returns Promise<void>
get
- get(body): Promise<{
acs_system_id: string;
acs_user_id: string;
created_at: string;
display_name: string;
email?: string;
external_type: "pti_user";
external_type_display_name: string;
full_name?: string;
is_suspended: boolean;
phone_number?: string;
workspace_id: string;
}>
-
Parameters
-
body: {
acs_user_id: string;
}
Returns Promise<{
acs_system_id: string;
acs_user_id: string;
created_at: string;
display_name: string;
email?: string;
external_type: "pti_user";
external_type_display_name: string;
full_name?: string;
is_suspended: boolean;
phone_number?: string;
workspace_id: string;
}>
list
- list(body): Promise<{
acs_system_id: string;
acs_user_id: string;
created_at: string;
display_name: string;
email?: string;
external_type: "pti_user";
external_type_display_name: string;
full_name?: string;
is_suspended: boolean;
phone_number?: string;
workspace_id: string;
}[]>
-
Parameters
-
body: {
acs_system_id: string;
}
Returns Promise<{
acs_system_id: string;
acs_user_id: string;
created_at: string;
display_name: string;
email?: string;
external_type: "pti_user";
external_type_display_name: string;
full_name?: string;
is_suspended: boolean;
phone_number?: string;
workspace_id: string;
}[]>
removeFromAccessGroup
- removeFromAccessGroup(body): Promise<void>
-
Parameters
-
body: {
acs_access_group_id: string;
acs_user_id: string;
}
-
acs_access_group_id: string
-
acs_user_id: string
Returns Promise<void>
suspend
- suspend(body): Promise<void>
-
Parameters
-
body: {
acs_user_id: string;
}
Returns Promise<void>
unsuspend
- unsuspend(body): Promise<void>
-
Parameters
-
body: {
acs_user_id: string;
}
Returns Promise<void>
update
- update(body): Promise<void>
-
Parameters
-
body: {
acs_user_id: string;
email?: string;
full_name?: string;
phone_number?: string;
}
-
acs_user_id: string
-
Optional
email?: string
-
Optional
full_name?: string
-
Optional
phone_number?: string
Returns Promise<void>
Static
fromApiKey
- fromApiKey(apiKey, options?): SeamHttpAcsUsers
-
Static
fromClient
- fromClient(client, options?): SeamHttpAcsUsers
-
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpAcsUsers
-
Parameters
-
clientSessionToken: string
-
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpAcsUsers>
-
Parameters
-
publishableKey: string
-
userIdentifierKey: string
-