@botpress/client 1.10.0 → 1.12.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
@@ -5172,6 +5172,10 @@ interface CreateBotResponse$1 {
5172
5172
  };
5173
5173
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
5174
5174
  statusReason: string | null;
5175
+ /**
5176
+ * Disabled channels for this integration
5177
+ */
5178
+ disabledChannels: string[];
5175
5179
  /**
5176
5180
  * ID of the [Integration](#schema_integration)
5177
5181
  */
@@ -5628,6 +5632,10 @@ interface UpdateBotRequestBody$1 {
5628
5632
  configuration?: {
5629
5633
  [k: string]: any;
5630
5634
  };
5635
+ /**
5636
+ * Disabled channels for this integration
5637
+ */
5638
+ disabledChannels?: string[];
5631
5639
  } | null;
5632
5640
  };
5633
5641
  subscriptions?: {
@@ -5694,6 +5702,10 @@ interface UpdateBotResponse$1 {
5694
5702
  };
5695
5703
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
5696
5704
  statusReason: string | null;
5705
+ /**
5706
+ * Disabled channels for this integration
5707
+ */
5708
+ disabledChannels: string[];
5697
5709
  /**
5698
5710
  * ID of the [Integration](#schema_integration)
5699
5711
  */
@@ -6083,6 +6095,10 @@ interface GetBotResponse$1 {
6083
6095
  };
6084
6096
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
6085
6097
  statusReason: string | null;
6098
+ /**
6099
+ * Disabled channels for this integration
6100
+ */
6101
+ disabledChannels: string[];
6086
6102
  /**
6087
6103
  * ID of the [Integration](#schema_integration)
6088
6104
  */
@@ -13980,6 +13996,33 @@ interface ListFilePassagesResponse$1 {
13980
13996
  };
13981
13997
  }
13982
13998
 
13999
+ interface SetFilePassagesRequestHeaders$1 {
14000
+ }
14001
+ interface SetFilePassagesRequestQuery$1 {
14002
+ }
14003
+ interface SetFilePassagesRequestParams$1 {
14004
+ id: string;
14005
+ }
14006
+ interface SetFilePassagesRequestBody$1 {
14007
+ /**
14008
+ * Note: The passages should appear in the array in the same order as they appear in the original document.
14009
+ */
14010
+ passages: {
14011
+ /**
14012
+ * The content of the passage, supports Markdown formatting.
14013
+ */
14014
+ content: string;
14015
+ /**
14016
+ * The type should match the Markdown format used for the passage content.
14017
+ */
14018
+ type?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "image";
14019
+ pageNumber?: number;
14020
+ }[];
14021
+ }
14022
+ type SetFilePassagesInput$1 = SetFilePassagesRequestBody$1 & SetFilePassagesRequestHeaders$1 & SetFilePassagesRequestQuery$1 & SetFilePassagesRequestParams$1;
14023
+ interface SetFilePassagesResponse$1 {
14024
+ }
14025
+
13983
14026
  interface ListFileTagsRequestHeaders$1 {
13984
14027
  }
13985
14028
  interface ListFileTagsRequestQuery$1 {
@@ -14136,6 +14179,7 @@ declare class Client$5 {
14136
14179
  readonly copyFile: (input: CopyFileInput$1) => Promise<CopyFileResponse$1>;
14137
14180
  readonly searchFiles: (input: SearchFilesInput$1) => Promise<SearchFilesResponse$1>;
14138
14181
  readonly listFilePassages: (input: ListFilePassagesInput$1) => Promise<ListFilePassagesResponse$1>;
14182
+ readonly setFilePassages: (input: SetFilePassagesInput$1) => Promise<SetFilePassagesResponse$1>;
14139
14183
  readonly listFileTags: (input: ListFileTagsInput$1) => Promise<ListFileTagsResponse$1>;
14140
14184
  readonly listFileTagValues: (input: ListFileTagValuesInput$1) => Promise<ListFileTagValuesResponse$1>;
14141
14185
  readonly createKnowledgeBase: (input: CreateKnowledgeBaseInput$1) => Promise<CreateKnowledgeBaseResponse$1>;
@@ -20813,6 +20857,10 @@ interface CreateBotResponse {
20813
20857
  };
20814
20858
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
20815
20859
  statusReason: string | null;
20860
+ /**
20861
+ * Disabled channels for this integration
20862
+ */
20863
+ disabledChannels: string[];
20816
20864
  /**
20817
20865
  * ID of the [Integration](#schema_integration)
20818
20866
  */
@@ -21269,6 +21317,10 @@ interface UpdateBotRequestBody {
21269
21317
  configuration?: {
21270
21318
  [k: string]: any;
21271
21319
  };
21320
+ /**
21321
+ * Disabled channels for this integration
21322
+ */
21323
+ disabledChannels?: string[];
21272
21324
  } | null;
21273
21325
  };
21274
21326
  subscriptions?: {
@@ -21335,6 +21387,10 @@ interface UpdateBotResponse {
21335
21387
  };
21336
21388
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
21337
21389
  statusReason: string | null;
21390
+ /**
21391
+ * Disabled channels for this integration
21392
+ */
21393
+ disabledChannels: string[];
21338
21394
  /**
21339
21395
  * ID of the [Integration](#schema_integration)
21340
21396
  */
@@ -21724,6 +21780,10 @@ interface GetBotResponse {
21724
21780
  };
21725
21781
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
21726
21782
  statusReason: string | null;
21783
+ /**
21784
+ * Disabled channels for this integration
21785
+ */
21786
+ disabledChannels: string[];
21727
21787
  /**
21728
21788
  * ID of the [Integration](#schema_integration)
21729
21789
  */
@@ -29294,6 +29354,33 @@ interface ListFilePassagesResponse {
29294
29354
  };
29295
29355
  }
29296
29356
 
29357
+ interface SetFilePassagesRequestHeaders {
29358
+ }
29359
+ interface SetFilePassagesRequestQuery {
29360
+ }
29361
+ interface SetFilePassagesRequestParams {
29362
+ id: string;
29363
+ }
29364
+ interface SetFilePassagesRequestBody {
29365
+ /**
29366
+ * Note: The passages should appear in the array in the same order as they appear in the original document.
29367
+ */
29368
+ passages: {
29369
+ /**
29370
+ * The content of the passage, supports Markdown formatting.
29371
+ */
29372
+ content: string;
29373
+ /**
29374
+ * The type should match the Markdown format used for the passage content.
29375
+ */
29376
+ type?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "image";
29377
+ pageNumber?: number;
29378
+ }[];
29379
+ }
29380
+ type SetFilePassagesInput = SetFilePassagesRequestBody & SetFilePassagesRequestHeaders & SetFilePassagesRequestQuery & SetFilePassagesRequestParams;
29381
+ interface SetFilePassagesResponse {
29382
+ }
29383
+
29297
29384
  interface ListFileTagsRequestHeaders {
29298
29385
  }
29299
29386
  interface ListFileTagsRequestQuery {
@@ -31100,6 +31187,10 @@ interface Bot {
31100
31187
  };
31101
31188
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
31102
31189
  statusReason: string | null;
31190
+ /**
31191
+ * Disabled channels for this integration
31192
+ */
31193
+ disabledChannels: string[];
31103
31194
  /**
31104
31195
  * ID of the [Integration](#schema_integration)
31105
31196
  */
@@ -32966,6 +33057,7 @@ declare class Client$1 {
32966
33057
  readonly copyFile: (input: CopyFileInput) => Promise<CopyFileResponse>;
32967
33058
  readonly searchFiles: (input: SearchFilesInput) => Promise<SearchFilesResponse>;
32968
33059
  readonly listFilePassages: (input: ListFilePassagesInput) => Promise<ListFilePassagesResponse>;
33060
+ readonly setFilePassages: (input: SetFilePassagesInput) => Promise<SetFilePassagesResponse>;
32969
33061
  readonly listFileTags: (input: ListFileTagsInput) => Promise<ListFileTagsResponse>;
32970
33062
  readonly listFileTagValues: (input: ListFileTagValuesInput) => Promise<ListFileTagValuesResponse>;
32971
33063
  readonly createKnowledgeBase: (input: CreateKnowledgeBaseInput) => Promise<CreateKnowledgeBaseResponse>;