Constructors

Properties

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

Methods

  • Parameters

    • Optionalbody: {
          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.

    Returns SeamHttpRequest<void, undefined>

  • Parameters

    • Optionalbody: {
          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.

    Returns SeamHttpRequest<void, undefined>

  • Parameters

    • Optionalbody: {
          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.

    Returns SeamHttpRequest<SetNonNullable<Required<{
        space: {
            created_at: string;
            display_name: string;
            name: string;
            space_id: string;
            workspace_id: string;
        };
    }>, "space">, "space">

  • Parameters

    • Optionalparams: {}

      Returns SeamHttpRequest<void, undefined>

    • Parameters

      • Optionalparams: {
            space_id: string;
        }
        • space_id: string

          ID of the space that you want to get.

      Returns SeamHttpRequest<SetNonNullable<Required<{
          space: {
              created_at: string;
              display_name: string;
              name: string;
              space_id: string;
              workspace_id: string;
          };
      }>, "space">, "space">

    • Parameters

      • Optionalparams: {}

        Returns SeamHttpRequest<SetNonNullable<Required<{
            spaces: {
                created_at: string;
                display_name: string;
                name: string;
                space_id: string;
                workspace_id: string;
            }[];
        }>, "spaces">, "spaces">

      • Parameters

        • Optionalparams: {
              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.

        Returns SeamHttpRequest<void, undefined>

      • Parameters

        • Optionalparams: {
              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.

        Returns SeamHttpRequest<void, undefined>

      • Parameters

        • Optionalbody: {
              name?: string;
              space_id: string;
          }
          • Optionalname?: string

            Name of the space.

          • space_id: string

            ID of the space that you want to update.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            space: {
                created_at: string;
                display_name: string;
                name: string;
                space_id: string;
                workspace_id: string;
            };
        }>, "space">, "space">

      • Parameters

        • clientSessionToken: string

        Returns Promise<void>