@boomi/embedkit-sdk 1.2.5 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -13573,6 +13573,10 @@ type IntegrationPackInstance = {
13573
13573
  * Is the integrationpack a single or multi install type?
13574
13574
  */
13575
13575
  installationType?: 'SINGLE' | 'MULTI';
13576
+ /**
13577
+ * Is this an Agent?
13578
+ */
13579
+ isAgent?: boolean;
13576
13580
  };
13577
13581
 
13578
13582
  /**
@@ -22799,6 +22803,9 @@ type AiConfig = {
22799
22803
  enabled?: boolean;
22800
22804
  model?: 'gpt-4.1-2025-04-14' | 'gpt-4o-mini-2024-07-18' | 'gpt-4o-2024-08-06';
22801
22805
  apiKey?: string;
22806
+ url?: string;
22807
+ userName?: string;
22808
+ userToken?: string;
22802
22809
  };
22803
22810
  type Listener = {
22804
22811
  url?: string;
package/dist/index.d.ts CHANGED
@@ -13573,6 +13573,10 @@ type IntegrationPackInstance = {
13573
13573
  * Is the integrationpack a single or multi install type?
13574
13574
  */
13575
13575
  installationType?: 'SINGLE' | 'MULTI';
13576
+ /**
13577
+ * Is this an Agent?
13578
+ */
13579
+ isAgent?: boolean;
13576
13580
  };
13577
13581
 
13578
13582
  /**
@@ -22799,6 +22803,9 @@ type AiConfig = {
22799
22803
  enabled?: boolean;
22800
22804
  model?: 'gpt-4.1-2025-04-14' | 'gpt-4o-mini-2024-07-18' | 'gpt-4o-2024-08-06';
22801
22805
  apiKey?: string;
22806
+ url?: string;
22807
+ userName?: string;
22808
+ userToken?: string;
22802
22809
  };
22803
22810
  type Listener = {
22804
22811
  url?: string;
package/dist/index.js CHANGED
@@ -7039,6 +7039,7 @@ var IntegrationPackInstanceService = class {
7039
7039
  */
7040
7040
  async fetchIntegrationPackInstances(params) {
7041
7041
  const { accountGroup, search, page = 1, pageSize = 12 } = params;
7042
+ const hasAgentTag = (s) => typeof s === "string" && /{{\s*AGENT\s*}}/i.test(s);
7042
7043
  const agResp = await this.httpRequest.request({
7043
7044
  method: "POST",
7044
7045
  url: "/AccountGroup/query",
@@ -7108,6 +7109,7 @@ var IntegrationPackInstanceService = class {
7108
7109
  inst.installationType = rawType === "SINGLE" || rawType === "MULTI" ? rawType : "SINGLE";
7109
7110
  inst.integrationPackName = packNameById.get(ipId);
7110
7111
  inst.integrationPackDescription = packDescById.get(ipId);
7112
+ inst.isAgent = hasAgentTag(inst.integrationPackDescription);
7111
7113
  const ipeResp = await this.httpRequest.request({
7112
7114
  method: "POST",
7113
7115
  url: "/IntegrationPackEnvironmentAttachment/query",
@@ -7137,6 +7139,7 @@ var IntegrationPackInstanceService = class {
7137
7139
  */
7138
7140
  async createAndAttachIntegrationPackInstance(params) {
7139
7141
  const { integrationPackId, isSingleInstall, environmentId, integrationPackOverrideName, accountGroupName } = params;
7142
+ const hasAgentTag = (s) => typeof s === "string" && /{{\s*AGENT\s*}}/i.test(s);
7140
7143
  if (!integrationPackId) throw new Error("Code [2001] - integrationPackId is required");
7141
7144
  if (!environmentId) throw new Error("Code [2002] - environmentId is required");
7142
7145
  const instance = await this.httpRequest.request({
@@ -7188,7 +7191,8 @@ var IntegrationPackInstanceService = class {
7188
7191
  integrationPackDescription: integrationPackDescription || "",
7189
7192
  installationType: isSingleInstall ? "SINGLE" : "MULTI",
7190
7193
  installed: true,
7191
- environmentId
7194
+ environmentId,
7195
+ isAgent: hasAgentTag(integrationPackDescription)
7192
7196
  };
7193
7197
  }
7194
7198
  /**