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;
      }
      • 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.

    • 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: {
          space_id: string;
      }
      • space_id: string

        ID of the space that you want to get.

    • options: SpacesGetOptions = {}

    Returns SpacesGetRequest

  • 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: {
          name?: string;
          space_id: string;
      }
      • Optionalname?: string

        Name of the space.

      • space_id: string

        ID of the space that you want to update.

    • options: SpacesUpdateOptions = {}

    Returns SpacesUpdateRequest

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>