Class SeamHttpAcsCredentials
Constructors
constructor
- new SeamHttpAcsCredentials(apiKeyOrOptions?): SeamHttpAcsCredentials
Properties
client
client: AxiosInstance
Readonly
defaults
Methods
assign
- assign(body?): SeamHttpRequest<void, undefined>
Parameters
Optional
body: {
acs_credential_id: string;
acs_user_id: string;
}acs_credential_id: string
acs_user_id: string
create
- create(body?): SeamHttpRequest<SetNonNullable<Required<{
acs_credential: {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: string;
message: string;
}[];
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card";
external_type_display_name?: string;
is_multi_phone_sync_credential?: boolean;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
common_acs_entrance_ids?: string[];
guest_acs_entrance_ids?: string[];
joiner_acs_credential_ids?: string[];
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
};
}>, "acs_credential">, "acs_credential"> Parameters
Optional
body: {
access_method: "code" | "card" | "mobile_key";
acs_user_id: string;
allowed_acs_entrance_ids?: string[];
code?: string;
credential_manager_acs_system_id?: string;
ends_at?: string;
is_multi_phone_sync_credential?: boolean;
starts_at?: string;
visionline_metadata?: {
assa_abloy_credential_service_mobile_endpoint_id?: string;
card_format?: "TLCode" | "rfid48";
is_override_key?: boolean;
joiner_acs_credential_ids?: string[];
};
}access_method: "code" | "card" | "mobile_key"
acs_user_id: string
Optional
allowed_acs_entrance_ids?: string[]
Optional
code?: string
Optional
credential_manager_acs_system_id?: string
Optional
ends_at?: string
Optional
is_multi_phone_sync_credential?: boolean
Optional
starts_at?: string
Optional
visionline_metadata?: {
assa_abloy_credential_service_mobile_endpoint_id?: string;
card_format?: "TLCode" | "rfid48";
is_override_key?: boolean;
joiner_acs_credential_ids?: string[];
}
Optional
assa_abloy_credential_service_mobile_endpoint_id?: string
Optional
card_format?: "TLCode" | "rfid48"
Optional
is_override_key?: boolean
Optional
joiner_acs_credential_ids?: string[]
Returns SeamHttpRequest<SetNonNullable<Required<{
acs_credential: {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: string;
message: string;
}[];
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card";
external_type_display_name?: string;
is_multi_phone_sync_credential?: boolean;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
common_acs_entrance_ids?: string[];
guest_acs_entrance_ids?: string[];
joiner_acs_credential_ids?: string[];
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
};
}>, "acs_credential">, "acs_credential">
delete
- delete(body?): SeamHttpRequest<void, undefined>
Parameters
Optional
body: {
acs_credential_id: string;
}acs_credential_id: string
get
- get(body?): SeamHttpRequest<SetNonNullable<Required<{
acs_credential: {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: string;
message: string;
}[];
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card";
external_type_display_name?: string;
is_multi_phone_sync_credential?: boolean;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
common_acs_entrance_ids?: string[];
guest_acs_entrance_ids?: string[];
joiner_acs_credential_ids?: string[];
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
};
}>, "acs_credential">, "acs_credential"> Parameters
Optional
body: {
acs_credential_id: string;
}acs_credential_id: string
Returns SeamHttpRequest<SetNonNullable<Required<{
acs_credential: {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: string;
message: string;
}[];
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card";
external_type_display_name?: string;
is_multi_phone_sync_credential?: boolean;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
common_acs_entrance_ids?: string[];
guest_acs_entrance_ids?: string[];
joiner_acs_credential_ids?: string[];
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
};
}>, "acs_credential">, "acs_credential">
list
- list(body?): SeamHttpRequest<SetNonNullable<Required<{
acs_credentials: {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: string;
message: string;
}[];
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card";
external_type_display_name?: string;
is_multi_phone_sync_credential?: boolean;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
common_acs_entrance_ids?: string[];
guest_acs_entrance_ids?: string[];
joiner_acs_credential_ids?: string[];
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
}[];
}>, "acs_credentials">, "acs_credentials"> Returns SeamHttpRequest<SetNonNullable<Required<{
acs_credentials: {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: string;
message: string;
}[];
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card";
external_type_display_name?: string;
is_multi_phone_sync_credential?: boolean;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
common_acs_entrance_ids?: string[];
guest_acs_entrance_ids?: string[];
joiner_acs_credential_ids?: string[];
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
}[];
}>, "acs_credentials">, "acs_credentials">
unassign
- unassign(body?): SeamHttpRequest<void, undefined>
Parameters
Optional
body: {
acs_credential_id: string;
acs_user_id: string;
}acs_credential_id: string
acs_user_id: string
update
- update(body?): SeamHttpRequest<void, undefined>
Parameters
Optional
body: {
acs_credential_id: string;
code: string;
}acs_credential_id: string
code: string
updateClientSessionToken
- updateClientSessionToken(clientSessionToken): Promise<void>
Parameters
- clientSessionToken: string
Returns Promise<void>
Static
fromApiKey
- fromApiKey(apiKey, options?): SeamHttpAcsCredentials
Static
fromClient
- fromClient(client, options?): SeamHttpAcsCredentials
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpAcsCredentials
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpAcsCredentials
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpAcsCredentials
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpAcsCredentials>