Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>

Methods

  • Parameters

    • Optionalbody: {
          acs_entrance_id: string;
      }
      • acs_entrance_id: string

    Returns SeamHttpRequest<SetNonNullable<Required<{
        acs_entrance: {
            acs_entrance_id: string;
            acs_system_id: string;
            assa_abloy_vostio_metadata?: {
                door_name: string;
                door_number?: number;
                door_type:
                    | "CommonDoor"
                    | "EntranceDoor"
                    | "GuestDoor"
                    | "Elevator";
                pms_id?: string;
                stand_open?: boolean;
            };
            created_at: string;
            display_name: string;
            dormakaba_community_metadata?: {
                access_point_name: string;
            };
            errors: {
                error_code: string;
                message: string;
            }[];
            latch_metadata?: {
                accessibility_type: string;
                door_name: string;
                door_type: string;
                is_connected: boolean;
            };
            salto_ks_metadata?: {
                battery_level: string;
                door_name: string;
                intrusion_alarm?: boolean;
                left_open_alarm?: boolean;
                lock_type: string;
                locked_state: string;
                online?: boolean;
                privacy_mode?: boolean;
            };
            visionline_metadata?: {
                door_category:
                    | "common"
                    | "guest"
                    | "entrance"
                    | "elevator reader"
                    | "common (PMS)";
                door_name: string;
                profiles?: {
                    visionline_door_profile_id: string;
                    visionline_door_profile_type: (...) | (...) | (...);
                }[];
            };
        };
    }>, "acs_entrance">, "acs_entrance">

  • Parameters

    • Optionalbody: {
          acs_entrance_id: string;
          acs_user_id: string;
      }
      • acs_entrance_id: string
      • acs_user_id: string

    Returns SeamHttpRequest<void, undefined>

  • Parameters

    • Optionalbody: {
          acs_credential_id?: string;
          acs_system_id?: string;
      }
      • Optionalacs_credential_id?: string
      • Optionalacs_system_id?: string

    Returns SeamHttpRequest<SetNonNullable<Required<{
        acs_entrances: {
            acs_entrance_id: string;
            acs_system_id: string;
            assa_abloy_vostio_metadata?: {
                door_name: string;
                door_number?: number;
                door_type:
                    | "CommonDoor"
                    | "EntranceDoor"
                    | "GuestDoor"
                    | "Elevator";
                pms_id?: string;
                stand_open?: boolean;
            };
            created_at: string;
            display_name: string;
            dormakaba_community_metadata?: {
                access_point_name: string;
            };
            errors: {
                error_code: string;
                message: string;
            }[];
            latch_metadata?: {
                accessibility_type: string;
                door_name: string;
                door_type: string;
                is_connected: boolean;
            };
            salto_ks_metadata?: {
                battery_level: string;
                door_name: string;
                intrusion_alarm?: boolean;
                left_open_alarm?: boolean;
                lock_type: string;
                locked_state: string;
                online?: boolean;
                privacy_mode?: boolean;
            };
            visionline_metadata?: {
                door_category:
                    | "common"
                    | "guest"
                    | "entrance"
                    | "elevator reader"
                    | "common (PMS)";
                door_name: string;
                profiles?: {
                    visionline_door_profile_id: ...;
                    visionline_door_profile_type: ...;
                }[];
            };
        }[];
    }>, "acs_entrances">, "acs_entrances">

  • Parameters

    • Optionalbody: {
          acs_entrance_id: string;
          include_if?: "visionline_metadata.is_valid"[];
      }
      • acs_entrance_id: string
      • Optionalinclude_if?: "visionline_metadata.is_valid"[]

    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: true;
            is_multi_phone_sync_credential?: 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: {
                message: string;
                warning_code: string;
            }[];
            workspace_id: string;
        }[];
    }>, "acs_credentials">, "acs_credentials">

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>