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

    Class SeamHttpAccessCodesUnmanaged

    Index

    Constructors

    Properties

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

    Methods

    • Parameters

      • Optionalparameters: {
            access_code_id: string;
            allow_external_modification?: boolean;
            force?: boolean;
            is_external_modification_allowed?: boolean;
            sync?: boolean;
        }
        • access_code_id: string

          ID of the unmanaged access code that you want to convert to a managed access code.

        • Optionalallow_external_modification?: boolean

          Indicates whether external modification of the access code is allowed.

        • Optionalforce?: boolean

          Indicates whether to force the access code conversion. To switch management of an access code from one Seam workspace to another, set force to true.

        • Optionalis_external_modification_allowed?: boolean

          Indicates whether external modification of the access code is allowed.

        • Optionalsync?: boolean
      • options: AccessCodesUnmanagedConvertToManagedOptions = {}

      Returns AccessCodesUnmanagedConvertToManagedRequest

    • Parameters

      • Optionalparameters: { access_code_id?: string; code?: string; device_id?: string }
        • Optionalaccess_code_id?: string

          ID of the unmanaged access code that you want to get. You must specify either access_code_id or both device_id and code.

        • Optionalcode?: string

          Code of the unmanaged access code that you want to get. You must specify either access_code_id or both device_id and code.

        • Optionaldevice_id?: string

          ID of the device containing the unmanaged access code that you want to get. You must specify either access_code_id or both device_id and code.

      • options: AccessCodesUnmanagedGetOptions = {}

      Returns AccessCodesUnmanagedGetRequest

    • Parameters

      • Optionalparameters: {
            device_id: string;
            limit?: number;
            page_cursor?: null | string;
            user_identifier_key?: string;
        }
        • device_id: string

          ID of the device for which you want to list unmanaged access codes.

        • Optionallimit?: number

          Numerical limit on the number of unmanaged access codes to return.

        • Optionalpage_cursor?: null | string

          Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.

        • Optionaluser_identifier_key?: string

          Your user ID for the user by which to filter unmanaged access codes.

      • options: AccessCodesUnmanagedListOptions = {}

      Returns AccessCodesUnmanagedListRequest

    • Parameters

      • Optionalparameters: {
            access_code_id: string;
            allow_external_modification?: boolean;
            force?: boolean;
            is_external_modification_allowed?: boolean;
            is_managed: boolean;
        }
        • access_code_id: string

          ID of the unmanaged access code that you want to update.

        • Optionalallow_external_modification?: boolean

          Indicates whether external modification of the code is allowed.

        • Optionalforce?: boolean

          Indicates whether to force the unmanaged access code update.

        • Optionalis_external_modification_allowed?: boolean

          Indicates whether external modification of the code is allowed.

        • is_managed: boolean
      • options: AccessCodesUnmanagedUpdateOptions = {}

      Returns AccessCodesUnmanagedUpdateRequest

    • Parameters

      • clientSessionToken: string

      Returns Promise<void>