Class SeamHttpAcsCredentials
Constructors
constructor
- new SeamHttpAcsCredentials(apiKeyOrOptions?): SeamHttpAcsCredentials
Properties
client
client: AxiosInstance
Readonly
defaults
Methods
assign
- assign(body?): Promise<{
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;
}> Parameters
Optional
body: {
acs_credential_id: string;
acs_user_id: string;
}acs_credential_id: string
acs_user_id: string
Returns Promise<{
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;
}>
create
- create(body?): Promise<{
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;
}> Parameters
Optional
body: {
access_method: "code" | "card" | "mobile_key";
acs_user_id: string;
code?: string;
ends_at?: string;
external_type?: "visionline_card";
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
code?: string
Optional
ends_at?: string
Optional
external_type?: "visionline_card"
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 Promise<{
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;
}>
delete
- delete(body?): Promise<void>
Parameters
Optional
body: {
acs_credential_id: string;
}acs_credential_id: string
Returns Promise<void>
get
- get(body?): Promise<{
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;
}> Parameters
Optional
body: {
acs_credential_id: string;
}acs_credential_id: string
Returns Promise<{
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;
}>
list
- list(body?): Promise<{
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;
}[]> Returns Promise<{
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;
}[]>
unassign
- unassign(body?): Promise<{
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;
}> Parameters
Optional
body: {
acs_credential_id: string;
acs_user_id: string;
}acs_credential_id: string
acs_user_id: string
Returns Promise<{
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;
}>
update
- update(body?): Promise<{
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;
}> Parameters
Optional
body: {
acs_credential_id: string;
code: string;
}acs_credential_id: string
code: string
Returns Promise<{
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;
}>
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>