Class SeamHttpAcsCredentialsUnmanaged

Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>

Methods

  • Parameters

    • Optionalbody: {
          acs_credential_id: string;
      }
      • acs_credential_id: string

        ID of the desired unmanaged credential.

    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;
            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

    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;
            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">

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>