Class SeamHttpUnstablePartnerBuildingBlocks

Constructors

Properties

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

Methods

  • Parameters

    • Optionalbody: {
          customer_key: string;
      }
      • customer_key: string

        Customer key for which you want to connect accounts.

    Returns SeamHttpRequest<SetNonNullable<Required<{
        magic_link: {
            building_block_type:
                | "connect_accounts"
                | "manage_devices"
                | "organize_spaces"
                | "console";
            created_at: string;
            customer_key: string;
            expires_at: string;
            url: string;
            workspace_id: string;
        };
    }>, "magic_link">, "magic_link">

  • Parameters

    • Optionalparams: {
          building_block_type:
              | "connect_accounts"
              | "manage_devices"
              | "organize_spaces"
              | "console";
          customer_key: string;
          spaces?: {
              custom_metadata?: Record<string, string>;
              description?: string;
              name: string;
              space_key: string;
          }[];
      }
      • building_block_type:
            | "connect_accounts"
            | "manage_devices"
            | "organize_spaces"
            | "console"

        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?: {
            custom_metadata?: Record<string, string>;
            description?: string;
            name: string;
            space_key: string;
        }[]

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

    Returns SeamHttpRequest<SetNonNullable<Required<{
        magic_link: {
            building_block_type:
                | "connect_accounts"
                | "manage_devices"
                | "organize_spaces"
                | "console";
            created_at: string;
            customer_key: string;
            expires_at: string;
            url: string;
            workspace_id: string;
        };
    }>, "magic_link">, "magic_link">

  • Parameters

    • Optionalbody: {
          customer_key: string;
      }
      • customer_key: string

        Customer key for which you want to manage devices.

    Returns SeamHttpRequest<SetNonNullable<Required<{
        magic_link: {
            building_block_type:
                | "connect_accounts"
                | "manage_devices"
                | "organize_spaces"
                | "console";
            created_at: string;
            customer_key: string;
            expires_at: string;
            url: string;
            workspace_id: string;
        };
    }>, "magic_link">, "magic_link">

  • Parameters

    • Optionalbody: {
          customer_key: string;
          spaces?: {
              custom_metadata?: Record<string, string>;
              description?: string;
              name: string;
              space_key: string;
          }[];
      }
      • customer_key: string

        Customer key for which you want to organize spaces.

      • Optionalspaces?: {
            custom_metadata?: Record<string, string>;
            description?: string;
            name: string;
            space_key: string;
        }[]

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

    Returns SeamHttpRequest<SetNonNullable<Required<{
        magic_link: {
            building_block_type:
                | "connect_accounts"
                | "manage_devices"
                | "organize_spaces"
                | "console";
            created_at: string;
            customer_key: string;
            expires_at: string;
            url: string;
            workspace_id: string;
        };
    }>, "magic_link">, "magic_link">

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>