@seamapi/http - v1.123.0
    Preparing search index...

    Class SeamHttpAcsCredentials

    Index

    Constructors

    Properties

    client: AxiosInstance
    defaults: Required<SeamHttpRequestOptions>
    ltsVersion: "1.0.0" = seamApiLtsVersion
    ltsVersion: string = seamApiLtsVersion

    Accessors

    Methods

    • Parameters

      • parameters: {
            acs_user_id: string;
            allowed_acs_entrance_id: string;
            ends_at?: string;
            is_one_time_use?: boolean;
            starts_at?: string;
        }
        • acs_user_id: string

          ID of the access system user to whom the new credential belongs.

        • allowed_acs_entrance_id: string

          IDs of the acs_entrances for which the new credential grants access.

        • Optionalends_at?: string

          Date and time at which the validity of the new credential ends, in ISO 8601 format. Must be a time in the future and after starts_at.

        • Optionalis_one_time_use?: boolean

          Indicates whether the code is one-time-use or reusable.

        • Optionalstarts_at?: string

          Date and time at which the validity of the new credential starts, in ISO 8601 format.

      • options: AcsCredentialsCreateOfflineCodeOptions = {}

      Returns AcsCredentialsCreateOfflineCodeRequest

    • Parameters

      • clientSessionToken: string

      Returns Promise<void>