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

    Class SeamHttpUnstablePartnerBuildingBlocks

    Index

    Constructors

    Properties

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

    Methods

    • Parameters

      • Optionalparameters: {
            building_block_type:
                | "connect_accounts"
                | "organize_spaces"
                | "console"
                | "manage_devices";
            customer_key: string;
            spaces?: {
                customer_data?: {
                    address?: string
                    | null;
                    default_checkin_time?: string | null;
                    default_checkout_time?: string | null;
                    time_zone?: string | null;
                };
                duration_minutes?: number;
                geolocation?: { latitude: number; longitude: number };
                name: string;
                parent_site_key?: string;
                space_key: string;
            }[];
        }
        • building_block_type: "connect_accounts" | "organize_spaces" | "console" | "manage_devices"

          Type of building block for which you want to create a magic link.

        • customer_key: string

          Customer key for which you want to create a new building block magic link.

        • Optionalspaces?: {
              customer_data?: {
                  address?: string | null;
                  default_checkin_time?: string | null;
                  default_checkout_time?: string | null;
                  time_zone?: string | null;
              };
              duration_minutes?: number;
              geolocation?: { latitude: number; longitude: number };
              name: string;
              parent_site_key?: string;
              space_key: string;
          }[]

          Optional list of spaces that you want to include in the new building block magic link.

      • options: UnstablePartnerBuildingBlocksGenerateMagicLinkOptions = {}

      Returns UnstablePartnerBuildingBlocksGenerateMagicLinkRequest

    • Parameters

      • Optionalparameters: {
            customer_key: string;
            spaces?: {
                customer_data?: {
                    address?: string | null;
                    default_checkin_time?: string | null;
                    default_checkout_time?: string | null;
                    time_zone?: string | null;
                };
                duration_minutes?: number;
                geolocation?: { latitude: number; longitude: number };
                name: string;
                parent_site_key?: string;
                space_key: string;
            }[];
        }
        • customer_key: string

          Customer key for which you want to organize spaces.

        • Optionalspaces?: {
              customer_data?: {
                  address?: string | null;
                  default_checkin_time?: string | null;
                  default_checkout_time?: string | null;
                  time_zone?: string | null;
              };
              duration_minutes?: number;
              geolocation?: { latitude: number; longitude: number };
              name: string;
              parent_site_key?: string;
              space_key: string;
          }[]

          Optional list of spaces that you want to include in the new building block magic link.

      • options: UnstablePartnerBuildingBlocksOrganizeSpacesOptions = {}

      Returns UnstablePartnerBuildingBlocksOrganizeSpacesRequest

    • Parameters

      • clientSessionToken: string

      Returns Promise<void>