Constructors

Properties

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

Methods

  • Parameters

    • Optionalparameters: {
          acs_entrance_ids: string[];
          space_id: string;
      }
      • acs_entrance_ids: string[]

        IDs of the entrances that you want to add to the space.

      • space_id: string

        ID of the space to which you want to add entrances.

    • options: SpacesAddAcsEntrancesOptions = {}

    Returns SpacesAddAcsEntrancesRequest

  • Parameters

    • Optionalparameters: {
          device_ids: string[];
          space_id: string;
      }
      • device_ids: string[]

        IDs of the devices that you want to add to the space.

      • space_id: string

        ID of the space to which you want to add devices.

    • options: SpacesAddDevicesOptions = {}

    Returns SpacesAddDevicesRequest

  • Parameters

    • Optionalparameters: {
          acs_entrance_ids?: string[];
          device_ids?: string[];
          name: string;
          space_key?: string;
      }
      • Optionalacs_entrance_ids?: string[]

        IDs of the entrances that you want to add to the new space.

      • Optionaldevice_ids?: string[]

        IDs of the devices that you want to add to the new space.

      • name: string

        Name of the space that you want to create.

      • Optionalspace_key?: string

        Unique key for the space within the workspace.

    • options: SpacesCreateOptions = {}

    Returns SpacesCreateRequest

  • Parameters

    • Optionalparameters: {
          space_id: string;
      }
      • space_id: string

        ID of the space that you want to delete.

    • options: SpacesDeleteOptions = {}

    Returns SpacesDeleteRequest

  • Parameters

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

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

    • options: SpacesGetRelatedOptions = {}

    Returns SpacesGetRelatedRequest

  • Parameters

    • Optionalparameters: {
          connected_account_id?: string;
          search?: string;
          space_key?: string;
      }
      • Optionalconnected_account_id?: string

        Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.

      • Optionalsearch?: string

        String for which to search. Filters returned spaces to include all records that satisfy a partial match using name.

      • Optionalspace_key?: string

        Filter spaces by space_key.

    • options: SpacesListOptions = {}

    Returns SpacesListRequest

  • Parameters

    • Optionalparameters: {
          acs_entrance_ids: string[];
          space_id: string;
      }
      • acs_entrance_ids: string[]

        IDs of the entrances that you want to remove from the space.

      • space_id: string

        ID of the space from which you want to remove entrances.

    • options: SpacesRemoveAcsEntrancesOptions = {}

    Returns SpacesRemoveAcsEntrancesRequest

  • Parameters

    • Optionalparameters: {
          device_ids: string[];
          space_id: string;
      }
      • device_ids: string[]

        IDs of the devices that you want to remove from the space.

      • space_id: string

        ID of the space from which you want to remove devices.

    • options: SpacesRemoveDevicesOptions = {}

    Returns SpacesRemoveDevicesRequest

  • Parameters

    • Optionalparameters: {
          acs_entrance_ids?: string[];
          device_ids?: string[];
          name?: string;
          space_id?: string;
          space_key?: string;
      }
      • Optionalacs_entrance_ids?: string[]

        IDs of the entrances that you want to set for the space. If specified, this will replace all existing entrances.

      • Optionaldevice_ids?: string[]

        IDs of the devices that you want to set for the space. If specified, this will replace all existing devices.

      • Optionalname?: string

        Name of the space.

      • Optionalspace_id?: string

        ID of the space that you want to update.

      • Optionalspace_key?: string

        Unique key of the space that you want to update.

    • options: SpacesUpdateOptions = {}

    Returns SpacesUpdateRequest

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>