Class SeamHttpAcsCredentialsUnmanaged
Constructors
constructor
- new SeamHttpAcsCredentialsUnmanaged(apiKeyOrOptions?): SeamHttpAcsCredentialsUnmanaged
Properties
client
client: AxiosInstance
Readonly
defaults
Methods
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;
card_number?: null | 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"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: false;
is_multi_phone_sync_credential?: boolean;
is_one_time_use?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: boolean;
card_function_type: "guest" | "staff";
card_id?: string;
common_acs_entrance_ids?: string[];
credential_id?: string;
guest_acs_entrance_ids?: string[];
is_valid?: boolean;
joiner_acs_credential_ids?: string[];
};
warnings: (
| {
created_at: string;
message: string;
warning_code: "waiting_to_be_issued";
}
| {
created_at: string;
message: string;
warning_code: "schedule_externally_modified";
}
| {
created_at: string;
message: string;
warning_code: "schedule_modified";
}
| {
created_at: string;
message: string;
warning_code: "being_deleted";
})[];
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;
card_number?: null | 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"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: false;
is_multi_phone_sync_credential?: boolean;
is_one_time_use?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: boolean;
card_function_type: "guest" | "staff";
card_id?: string;
common_acs_entrance_ids?: string[];
credential_id?: string;
guest_acs_entrance_ids?: string[];
is_valid?: boolean;
joiner_acs_credential_ids?: string[];
};
warnings: (
| {
created_at: string;
message: string;
warning_code: "waiting_to_be_issued";
}
| {
created_at: string;
message: string;
warning_code: "schedule_externally_modified";
}
| {
created_at: string;
message: string;
warning_code: "schedule_modified";
}
| {
created_at: string;
message: string;
warning_code: "being_deleted";
})[];
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;
card_number?: null | 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"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: false;
is_multi_phone_sync_credential?: boolean;
is_one_time_use?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: boolean;
card_function_type: "guest" | "staff";
card_id?: string;
common_acs_entrance_ids?: string[];
credential_id?: string;
guest_acs_entrance_ids?: string[];
is_valid?: boolean;
joiner_acs_credential_ids?: string[];
};
warnings: (
| {
created_at: string;
message: string;
warning_code: "waiting_to_be_issued";
}
| {
created_at: string;
message: string;
warning_code: "schedule_externally_modified";
}
| {
created_at: string;
message: string;
warning_code: "schedule_modified";
}
| {
created_at: string;
message: string;
warning_code: "being_deleted";
})[];
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;
card_number?: null | 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"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: false;
is_multi_phone_sync_credential?: boolean;
is_one_time_use?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: boolean;
card_function_type: "guest" | "staff";
card_id?: string;
common_acs_entrance_ids?: string[];
credential_id?: string;
guest_acs_entrance_ids?: string[];
is_valid?: boolean;
joiner_acs_credential_ids?: string[];
};
warnings: (
| {
created_at: string;
message: string;
warning_code: "waiting_to_be_issued";
}
| {
created_at: string;
message: string;
warning_code: "schedule_externally_modified";
}
| {
created_at: string;
message: string;
warning_code: "schedule_modified";
}
| {
created_at: string;
message: string;
warning_code: "being_deleted";
})[];
workspace_id: string;
}[];
}>, "acs_credentials">, "acs_credentials">
updateClientSessionToken
- updateClientSessionToken(clientSessionToken): Promise<void>
Parameters
- clientSessionToken: string
Returns Promise<void>
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpAcsCredentialsUnmanaged
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpAcsCredentialsUnmanaged
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpAcsCredentialsUnmanaged
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpAcsCredentialsUnmanaged>
ID of the desired unmanaged credential.