Class SeamHttpAccessGrants

Constructors

Properties

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

Methods

  • Parameters

    • Optionalparameters: {
          access_grant_ids: string[];
          exclude?: (
              | "acs_entrances"
              | "acs_systems"
              | "connected_accounts"
              | "devices"
              | "spaces"
              | "user_identity")[];
          include?: (
              | "acs_entrances"
              | "acs_systems"
              | "connected_accounts"
              | "devices"
              | "spaces"
              | "user_identity")[];
      }
      • access_grant_ids: string[]

        IDs of the access grants that you want to get along with their related resources.

      • Optionalexclude?: (
            | "acs_entrances"
            | "acs_systems"
            | "connected_accounts"
            | "devices"
            | "spaces"
            | "user_identity")[]
      • Optionalinclude?: (
            | "acs_entrances"
            | "acs_systems"
            | "connected_accounts"
            | "devices"
            | "spaces"
            | "user_identity")[]
    • options: AccessGrantsGetRelatedOptions = {}

    Returns AccessGrantsGetRelatedRequest

  • Parameters

    • Optionalparameters: {
          access_grant_key?: string;
          acs_entrance_id?: string;
          acs_system_id?: string;
          location_id?: string;
          space_id?: string;
          user_identity_id?: string;
      }
      • Optionalaccess_grant_key?: string

        Filter Access Grants by access_grant_key.

      • Optionalacs_entrance_id?: string

        ID of the entrance by which you want to filter the list of Access Grants.

      • Optionalacs_system_id?: string

        ID of the access system by which you want to filter the list of Access Grants.

      • Optionallocation_id?: string

        Use space_id.

      • Optionalspace_id?: string

        ID of the space by which you want to filter the list of Access Grants.

      • Optionaluser_identity_id?: string

        ID of user identity by which you want to filter the list of Access Grants.

    • options: AccessGrantsListOptions = {}

    Returns AccessGrantsListRequest

  • Parameters

    • Optionalparameters: {
          access_grant_id: string;
          ends_at?: null | string;
          name?: null | string;
          starts_at?: null | string;
      }
      • access_grant_id: string

        ID of the Access Grant to update.

      • Optionalends_at?: null | string

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

      • Optionalname?: null | string

        Display name for the access grant.

      • Optionalstarts_at?: null | string

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

    • options: AccessGrantsUpdateOptions = {}

    Returns AccessGrantsUpdateRequest

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>