Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>

Accessors

Methods

  • Parameters

    • Optional body: {
          device_id: string;
      }
      • device_id: string

    Returns SeamHttpRequest<void, undefined>

  • Parameters

    • Optional body: {
          owner_user_identity_id?: string;
      }
      • Optional owner_user_identity_id?: string

    Returns SeamHttpRequest<SetNonNullable<Required<{
        phones: {
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_removal?: boolean;
            capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type: "ios_phone" | "android_phone";
            display_name: string;
            errors: {
                error_code: string;
                message: string;
            }[];
            is_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                assa_abloy_credential_service_metadata?: {
                    endpoints: {
                        endpoint_id: ...;
                        is_active: ...;
                    }[];
                    has_active_endpoint: boolean;
                };
            };
            warnings: {
                message: string;
                warning_code: string;
            }[];
            workspace_id: string;
        }[];
    }>, "phones">, "phones">

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>