Class SeamHttpAcsEntrances
Constructors
constructor
- new SeamHttpAcsEntrances(apiKeyOrOptions?): SeamHttpAcsEntrances
Properties
client
client: AxiosInstance
Readonly
defaults
Methods
get
- get(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_entrance_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";
}[];
};
}>
grantAccess
- grantAccess(body?): Promise<void>
Parameters
Optional
body: {
acs_entrance_id: string;
acs_user_id: string;
}acs_entrance_id: string
acs_user_id: string
Returns Promise<void>
list
- list(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_credential_id?: string;
acs_system_id?: string;
}Optional
acs_credential_id?: string
Optional
acs_system_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";
}[];
};
}[]>
listCredentialsWithAccess
- listCredentialsWithAccess(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_entrance_id: string;
include_if?: "visionline_metadata.is_valid"[];
}acs_entrance_id: string
Optional
include_if?: "visionline_metadata.is_valid"[]
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?): SeamHttpAcsEntrances
Static
fromClient
- fromClient(client, options?): SeamHttpAcsEntrances
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpAcsEntrances
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpAcsEntrances
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpAcsEntrances
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpAcsEntrances>