Class SeamHttpUnstableLocations

Constructors

Properties

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

Methods

  • Parameters

    • Optionalparameters: {
          acs_entrance_ids?: string[];
          device_ids?: string[];
          geolocation?: {
              latitude: number;
              longitude: number;
          };
          name: string;
          time_zone?: string;
      }
      • Optionalacs_entrance_ids?: string[]

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

      • Optionaldevice_ids?: string[]

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

      • Optionalgeolocation?: {
            latitude: number;
            longitude: number;
        }

        Geolocation of the new location.

        • latitude: number
        • longitude: number
      • name: string

        Name of the new location.

      • Optionaltime_zone?: string

        Time zone of the new location.

    • options: UnstableLocationsCreateOptions = {}

    Returns UnstableLocationsCreateRequest

  • Parameters

    • Optionalparameters: {
          geolocation?: {
              latitude: number;
              longitude: number;
          };
          location_id: string;
          name?: string;
          time_zone?: string;
      }
      • Optionalgeolocation?: {
            latitude: number;
            longitude: number;
        }

        Geolocation of the location.

        • latitude: number
        • longitude: number
      • location_id: string

        ID of the location that you want to update.

      • Optionalname?: string

        Name of the location.

      • Optionaltime_zone?: string

        Time zone of the the location.

    • options: UnstableLocationsUpdateOptions = {}

    Returns UnstableLocationsUpdateRequest

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>