@botpress/client 1.48.0 → 1.49.0

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.ts CHANGED
@@ -5932,6 +5932,10 @@ interface CreateBotRequestBody$1 {
5932
5932
  */
5933
5933
  dev?: boolean;
5934
5934
  type?: "studio" | "adk";
5935
+ /**
5936
+ * JavaScript module format of the bot code. Defaults to CommonJS.
5937
+ */
5938
+ moduleFormat?: "cjs" | "esm";
5935
5939
  }
5936
5940
  type CreateBotInput$1 = CreateBotRequestBody$1 & CreateBotRequestHeaders$1 & CreateBotRequestQuery$1 & CreateBotRequestParams$1;
5937
5941
  interface CreateBotResponse$1 {
@@ -6699,6 +6703,10 @@ interface UpdateBotRequestBody$1 {
6699
6703
  };
6700
6704
  layers?: string[];
6701
6705
  type?: "studio" | "adk";
6706
+ /**
6707
+ * JavaScript module format of the bot code. Defaults to CommonJS.
6708
+ */
6709
+ moduleFormat?: "cjs" | "esm";
6702
6710
  }
6703
6711
  type UpdateBotInput$1 = UpdateBotRequestBody$1 & UpdateBotRequestHeaders$1 & UpdateBotRequestQuery$1 & UpdateBotRequestParams$1;
6704
6712
  interface UpdateBotResponse$1 {
@@ -25286,6 +25294,10 @@ interface CreateBotRequestBody {
25286
25294
  */
25287
25295
  dev?: boolean;
25288
25296
  type?: "studio" | "adk";
25297
+ /**
25298
+ * JavaScript module format of the bot code. Defaults to CommonJS.
25299
+ */
25300
+ moduleFormat?: "cjs" | "esm";
25289
25301
  }
25290
25302
  type CreateBotInput = CreateBotRequestBody & CreateBotRequestHeaders & CreateBotRequestQuery & CreateBotRequestParams;
25291
25303
  interface CreateBotResponse {
@@ -26053,6 +26065,10 @@ interface UpdateBotRequestBody {
26053
26065
  };
26054
26066
  layers?: string[];
26055
26067
  type?: "studio" | "adk";
26068
+ /**
26069
+ * JavaScript module format of the bot code. Defaults to CommonJS.
26070
+ */
26071
+ moduleFormat?: "cjs" | "esm";
26056
26072
  }
26057
26073
  type UpdateBotInput = UpdateBotRequestBody & UpdateBotRequestHeaders & UpdateBotRequestQuery & UpdateBotRequestParams;
26058
26074
  interface UpdateBotResponse {