@seamapi/http - v1.117.0
    Preparing search index...

    Class SeamHttpSeamCustomerV1Spaces

    Index

    Constructors

    Properties

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

    Methods

    • Parameters

      • Optionalparameters: {
            acs_entrance_ids?: string[];
            connected_account_ids?: string[];
            customer_data?: {
                default_checkin_time?: string | null;
                default_checkout_time?: string | null;
                time_zone?: string | null;
            };
            device_ids?: string[];
            name: string;
            parent_space_key?: string;
            parent_space_name?: string;
            space_key?: string;
        }
        • Optionalacs_entrance_ids?: string[]

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

        • Optionalconnected_account_ids?: string[]

          IDs of connected accounts (third-party accounts) to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account a space came from.

        • Optionalcustomer_data?: {
              default_checkin_time?: string | null;
              default_checkout_time?: string | null;
              time_zone?: string | null;
          }

          Reservation/stay-related defaults for the space. When omitted and connected_account_ids is provided, default_checkin_time / default_checkout_time / time_zone are auto-inherited from the first connected account's connector configuration.

          • Optionaldefault_checkin_time?: string | null

            Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.

          • Optionaldefault_checkout_time?: string | null

            Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.

          • Optionaltime_zone?: string | null

            IANA time zone for the space, e.g. America/Los_Angeles.

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

        • Optionalparent_space_key?: string

          Space key of the parent space for this space.

        • Optionalparent_space_name?: string

          Name of the parent space for this space.

        • Optionalspace_key?: string

          Unique key for the space within the workspace.

      • options: SeamCustomerV1SpacesCreateOptions = {}

      Returns SeamCustomerV1SpacesCreateRequest

    • 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: SeamCustomerV1SpacesListOptions = {}

      Returns SeamCustomerV1SpacesListRequest

    • Parameters

      • clientSessionToken: string

      Returns Promise<void>