@botpress/client 1.20.0 → 1.22.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
@@ -3224,9 +3224,14 @@ interface ListPublicIntegrationsResponse$1 {
3224
3224
  */
3225
3225
  iconUrl: string;
3226
3226
  /**
3227
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
3227
+ * @deprecated
3228
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
3228
3229
  */
3229
3230
  public: boolean;
3231
+ /**
3232
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
3233
+ */
3234
+ visibility: "public" | "private" | "unlisted";
3230
3235
  /**
3231
3236
  * Status of the integration version verification
3232
3237
  */
@@ -3657,9 +3662,14 @@ interface GetPublicIntegrationByIdResponse$1 {
3657
3662
  */
3658
3663
  readmeUrl: string;
3659
3664
  /**
3660
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
3665
+ * @deprecated
3666
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
3661
3667
  */
3662
3668
  public: boolean;
3669
+ /**
3670
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
3671
+ */
3672
+ visibility: "public" | "private" | "unlisted";
3663
3673
  /**
3664
3674
  * Status of the integration version verification
3665
3675
  */
@@ -4064,9 +4074,14 @@ interface GetPublicIntegrationResponse$1 {
4064
4074
  */
4065
4075
  readmeUrl: string;
4066
4076
  /**
4067
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
4077
+ * @deprecated
4078
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
4068
4079
  */
4069
4080
  public: boolean;
4081
+ /**
4082
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
4083
+ */
4084
+ visibility: "public" | "private" | "unlisted";
4070
4085
  /**
4071
4086
  * Status of the integration version verification
4072
4087
  */
@@ -5481,9 +5496,14 @@ interface CreateBotResponse$1 {
5481
5496
  */
5482
5497
  iconUrl: string;
5483
5498
  /**
5484
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
5499
+ * @deprecated
5500
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
5485
5501
  */
5486
5502
  public: boolean;
5503
+ /**
5504
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
5505
+ */
5506
+ visibility: "public" | "private" | "unlisted";
5487
5507
  /**
5488
5508
  * Status of the integration version verification
5489
5509
  */
@@ -6010,10 +6030,6 @@ interface UpdateBotRequestBody$1 {
6010
6030
  };
6011
6031
  } | null;
6012
6032
  };
6013
- /**
6014
- * If true, plugins will be merged into the bot and entity references will be resolved. If you are uncertain about this field, you should probably set it to true
6015
- */
6016
- shouldMergePlugins?: boolean;
6017
6033
  subscriptions?: {
6018
6034
  events: {
6019
6035
  [k: string]: {} | null;
@@ -6035,6 +6051,10 @@ interface UpdateBotRequestBody$1 {
6035
6051
  name: string;
6036
6052
  }[];
6037
6053
  layers?: string[];
6054
+ /**
6055
+ * UNUSED. Please ignore this field. It will be removed in the near future.
6056
+ */
6057
+ shouldMergePlugins?: boolean;
6038
6058
  }
6039
6059
  type UpdateBotInput$1 = UpdateBotRequestBody$1 & UpdateBotRequestHeaders$1 & UpdateBotRequestQuery$1 & UpdateBotRequestParams$1;
6040
6060
  interface UpdateBotResponse$1 {
@@ -6107,9 +6127,14 @@ interface UpdateBotResponse$1 {
6107
6127
  */
6108
6128
  iconUrl: string;
6109
6129
  /**
6110
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
6130
+ * @deprecated
6131
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
6111
6132
  */
6112
6133
  public: boolean;
6134
+ /**
6135
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
6136
+ */
6137
+ visibility: "public" | "private" | "unlisted";
6113
6138
  /**
6114
6139
  * Status of the integration version verification
6115
6140
  */
@@ -6565,9 +6590,14 @@ interface GetBotResponse$1 {
6565
6590
  */
6566
6591
  iconUrl: string;
6567
6592
  /**
6568
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
6593
+ * @deprecated
6594
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
6569
6595
  */
6570
6596
  public: boolean;
6597
+ /**
6598
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
6599
+ */
6600
+ visibility: "public" | "private" | "unlisted";
6571
6601
  /**
6572
6602
  * Status of the integration version verification
6573
6603
  */
@@ -8453,9 +8483,14 @@ interface CreateIntegrationRequestBody$1 {
8453
8483
  */
8454
8484
  description?: string;
8455
8485
  /**
8456
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
8486
+ * @deprecated
8487
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
8457
8488
  */
8458
8489
  public?: boolean;
8490
+ /**
8491
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
8492
+ */
8493
+ visibility?: "public" | "private" | "unlisted";
8459
8494
  layers?: string[];
8460
8495
  }
8461
8496
  type CreateIntegrationInput$1 = CreateIntegrationRequestBody$1 & CreateIntegrationRequestHeaders$1 & CreateIntegrationRequestQuery$1 & CreateIntegrationRequestParams$1;
@@ -8832,9 +8867,14 @@ interface CreateIntegrationResponse$1 {
8832
8867
  */
8833
8868
  readmeUrl: string;
8834
8869
  /**
8835
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
8870
+ * @deprecated
8871
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
8836
8872
  */
8837
8873
  public: boolean;
8874
+ /**
8875
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
8876
+ */
8877
+ visibility: "public" | "private" | "unlisted";
8838
8878
  /**
8839
8879
  * Status of the integration version verification
8840
8880
  */
@@ -9181,9 +9221,14 @@ interface ValidateIntegrationCreationRequestBody$1 {
9181
9221
  */
9182
9222
  description?: string;
9183
9223
  /**
9184
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
9224
+ * @deprecated
9225
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
9185
9226
  */
9186
9227
  public?: boolean;
9228
+ /**
9229
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
9230
+ */
9231
+ visibility?: "public" | "private" | "unlisted";
9187
9232
  layers?: string[];
9188
9233
  }
9189
9234
  type ValidateIntegrationCreationInput$1 = ValidateIntegrationCreationRequestBody$1 & ValidateIntegrationCreationRequestHeaders$1 & ValidateIntegrationCreationRequestQuery$1 & ValidateIntegrationCreationRequestParams$1;
@@ -9512,9 +9557,14 @@ interface UpdateIntegrationRequestBody$1 {
9512
9557
  */
9513
9558
  url?: string | null;
9514
9559
  /**
9515
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
9560
+ * @deprecated
9561
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
9516
9562
  */
9517
9563
  public?: boolean;
9564
+ /**
9565
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
9566
+ */
9567
+ visibility?: "public" | "private" | "unlisted";
9518
9568
  layers?: string[];
9519
9569
  }
9520
9570
  type UpdateIntegrationInput$1 = UpdateIntegrationRequestBody$1 & UpdateIntegrationRequestHeaders$1 & UpdateIntegrationRequestQuery$1 & UpdateIntegrationRequestParams$1;
@@ -9891,9 +9941,14 @@ interface UpdateIntegrationResponse$1 {
9891
9941
  */
9892
9942
  readmeUrl: string;
9893
9943
  /**
9894
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
9944
+ * @deprecated
9945
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
9895
9946
  */
9896
9947
  public: boolean;
9948
+ /**
9949
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
9950
+ */
9951
+ visibility: "public" | "private" | "unlisted";
9897
9952
  /**
9898
9953
  * Status of the integration version verification
9899
9954
  */
@@ -10227,9 +10282,14 @@ interface ValidateIntegrationUpdateRequestBody$1 {
10227
10282
  */
10228
10283
  url?: string | null;
10229
10284
  /**
10230
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
10285
+ * @deprecated
10286
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
10231
10287
  */
10232
10288
  public?: boolean;
10289
+ /**
10290
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
10291
+ */
10292
+ visibility?: "public" | "private" | "unlisted";
10233
10293
  layers?: string[];
10234
10294
  }
10235
10295
  type ValidateIntegrationUpdateInput$1 = ValidateIntegrationUpdateRequestBody$1 & ValidateIntegrationUpdateRequestHeaders$1 & ValidateIntegrationUpdateRequestQuery$1 & ValidateIntegrationUpdateRequestParams$1;
@@ -10293,9 +10353,14 @@ interface ListIntegrationsResponse$1 {
10293
10353
  */
10294
10354
  iconUrl: string;
10295
10355
  /**
10296
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
10356
+ * @deprecated
10357
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
10297
10358
  */
10298
10359
  public: boolean;
10360
+ /**
10361
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
10362
+ */
10363
+ visibility: "public" | "private" | "unlisted";
10299
10364
  /**
10300
10365
  * Status of the integration version verification
10301
10366
  */
@@ -10722,9 +10787,14 @@ interface GetIntegrationResponse$1 {
10722
10787
  */
10723
10788
  readmeUrl: string;
10724
10789
  /**
10725
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
10790
+ * @deprecated
10791
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
10726
10792
  */
10727
10793
  public: boolean;
10794
+ /**
10795
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
10796
+ */
10797
+ visibility: "public" | "private" | "unlisted";
10728
10798
  /**
10729
10799
  * Status of the integration version verification
10730
10800
  */
@@ -11149,9 +11219,14 @@ interface GetIntegrationByNameResponse$1 {
11149
11219
  */
11150
11220
  readmeUrl: string;
11151
11221
  /**
11152
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
11222
+ * @deprecated
11223
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
11153
11224
  */
11154
11225
  public: boolean;
11226
+ /**
11227
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
11228
+ */
11229
+ visibility: "public" | "private" | "unlisted";
11155
11230
  /**
11156
11231
  * Status of the integration version verification
11157
11232
  */
@@ -12336,18 +12411,6 @@ interface CreatePluginRequestBody$1 {
12336
12411
  };
12337
12412
  };
12338
12413
  };
12339
- dependencies?: {
12340
- interfaces?: {
12341
- [k: string]: {
12342
- id: string;
12343
- };
12344
- };
12345
- integrations?: {
12346
- [k: string]: {
12347
- id: string;
12348
- };
12349
- };
12350
- };
12351
12414
  /**
12352
12415
  * Optional attributes
12353
12416
  */
@@ -12384,6 +12447,46 @@ interface CreatePluginRequestBody$1 {
12384
12447
  * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
12385
12448
  */
12386
12449
  public?: boolean;
12450
+ dependencies?: {
12451
+ /**
12452
+ * Mapping of interface aliases to interface references
12453
+ */
12454
+ interfaces?: {
12455
+ [k: string]: {
12456
+ /**
12457
+ * Id of the interface. If provided, "name" and "version" are ignored
12458
+ */
12459
+ id?: string;
12460
+ /**
12461
+ * Name of the interface
12462
+ */
12463
+ name?: string;
12464
+ /**
12465
+ * Version of the interface. Accepts semver versions and version ranges
12466
+ */
12467
+ version?: string;
12468
+ };
12469
+ };
12470
+ /**
12471
+ * Mapping of integration aliases to integration references
12472
+ */
12473
+ integrations?: {
12474
+ [k: string]: {
12475
+ /**
12476
+ * Id of the integration. If provided, "name" and "version" are ignored
12477
+ */
12478
+ id?: string;
12479
+ /**
12480
+ * Name of the integration
12481
+ */
12482
+ name?: string;
12483
+ /**
12484
+ * Version of the integration. Accepts semver versions and version ranges
12485
+ */
12486
+ version?: string;
12487
+ };
12488
+ };
12489
+ };
12387
12490
  }
12388
12491
  type CreatePluginInput$1 = CreatePluginRequestBody$1 & CreatePluginRequestHeaders$1 & CreatePluginRequestQuery$1 & CreatePluginRequestParams$1;
12389
12492
  interface CreatePluginResponse$1 {
@@ -13360,18 +13463,6 @@ interface UpdatePluginRequestBody$1 {
13360
13463
  } | null;
13361
13464
  };
13362
13465
  };
13363
- dependencies?: {
13364
- interfaces?: {
13365
- [k: string]: {
13366
- id: string;
13367
- } | null;
13368
- };
13369
- integrations?: {
13370
- [k: string]: {
13371
- id: string;
13372
- } | null;
13373
- };
13374
- };
13375
13466
  /**
13376
13467
  * Optional attributes. Set attributes to null to remove them
13377
13468
  */
@@ -13408,6 +13499,46 @@ interface UpdatePluginRequestBody$1 {
13408
13499
  * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
13409
13500
  */
13410
13501
  public?: boolean;
13502
+ dependencies?: {
13503
+ /**
13504
+ * Mapping of interface aliases to interface references
13505
+ */
13506
+ interfaces?: {
13507
+ [k: string]: {
13508
+ /**
13509
+ * Id of the interface. If provided, "name" and "version" are ignored
13510
+ */
13511
+ id?: string;
13512
+ /**
13513
+ * Name of the interface
13514
+ */
13515
+ name?: string;
13516
+ /**
13517
+ * Version of the interface. Accepts semver versions and version ranges
13518
+ */
13519
+ version?: string;
13520
+ } | null;
13521
+ };
13522
+ /**
13523
+ * Mapping of integration aliases to integration references
13524
+ */
13525
+ integrations?: {
13526
+ [k: string]: {
13527
+ /**
13528
+ * Id of the integration. If provided, "name" and "version" are ignored
13529
+ */
13530
+ id?: string;
13531
+ /**
13532
+ * Name of the integration
13533
+ */
13534
+ name?: string;
13535
+ /**
13536
+ * Version of the integration. Accepts semver versions and version ranges
13537
+ */
13538
+ version?: string;
13539
+ } | null;
13540
+ };
13541
+ };
13411
13542
  }
13412
13543
  type UpdatePluginInput$1 = UpdatePluginRequestBody$1 & UpdatePluginRequestHeaders$1 & UpdatePluginRequestQuery$1 & UpdatePluginRequestParams$1;
13413
13544
  interface UpdatePluginResponse$1 {
@@ -14086,6 +14217,7 @@ declare class Client$6 extends Client$7 {
14086
14217
  description: string;
14087
14218
  iconUrl: string;
14088
14219
  public: boolean;
14220
+ visibility: "public" | "private" | "unlisted";
14089
14221
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
14090
14222
  ownerWorkspace: {
14091
14223
  id: string;
@@ -14179,6 +14311,7 @@ declare class Client$6 extends Client$7 {
14179
14311
  description: string;
14180
14312
  iconUrl: string;
14181
14313
  public: boolean;
14314
+ visibility: "public" | "private" | "unlisted";
14182
14315
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
14183
14316
  matchedOn?: {
14184
14317
  name?: boolean;
@@ -15201,6 +15334,9 @@ interface CreateKnowledgeBaseRequestBody$1 {
15201
15334
  * Name of the knowledge base.
15202
15335
  */
15203
15336
  name: string;
15337
+ tags?: {
15338
+ [k: string]: string;
15339
+ };
15204
15340
  }
15205
15341
  type CreateKnowledgeBaseInput$1 = CreateKnowledgeBaseRequestBody$1 & CreateKnowledgeBaseRequestHeaders$1 & CreateKnowledgeBaseRequestQuery$1 & CreateKnowledgeBaseRequestParams$1;
15206
15342
  interface CreateKnowledgeBaseResponse$1 {
@@ -15213,6 +15349,9 @@ interface CreateKnowledgeBaseResponse$1 {
15213
15349
  * Name of the knowledge base.
15214
15350
  */
15215
15351
  name: string;
15352
+ tags: {
15353
+ [k: string]: string;
15354
+ };
15216
15355
  };
15217
15356
  }
15218
15357
 
@@ -15241,6 +15380,12 @@ interface UpdateKnowledgeBaseRequestBody$1 {
15241
15380
  * New name of the knowledge base.
15242
15381
  */
15243
15382
  name: string;
15383
+ /**
15384
+ * The knowledge base tags to update as an object of key-value pairs with `string` (text) values. Omit to keep existing tags intact. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`.
15385
+ */
15386
+ tags?: {
15387
+ [k: string]: string | null;
15388
+ };
15244
15389
  }
15245
15390
  type UpdateKnowledgeBaseInput$1 = UpdateKnowledgeBaseRequestBody$1 & UpdateKnowledgeBaseRequestHeaders$1 & UpdateKnowledgeBaseRequestQuery$1 & UpdateKnowledgeBaseRequestParams$1;
15246
15391
  interface UpdateKnowledgeBaseResponse$1 {
@@ -15253,6 +15398,9 @@ interface UpdateKnowledgeBaseResponse$1 {
15253
15398
  * Name of the knowledge base.
15254
15399
  */
15255
15400
  name: string;
15401
+ tags: {
15402
+ [k: string]: string;
15403
+ };
15256
15404
  };
15257
15405
  }
15258
15406
 
@@ -15260,6 +15408,7 @@ interface ListKnowledgeBasesRequestHeaders$1 {
15260
15408
  }
15261
15409
  interface ListKnowledgeBasesRequestQuery$1 {
15262
15410
  nextToken?: string;
15411
+ tags?: any;
15263
15412
  }
15264
15413
  interface ListKnowledgeBasesRequestParams$1 {
15265
15414
  }
@@ -15280,6 +15429,9 @@ interface ListKnowledgeBasesResponse$1 {
15280
15429
  * Knowledge base creation timestamp in ISO 8601 format
15281
15430
  */
15282
15431
  createdAt: string;
15432
+ tags: {
15433
+ [k: string]: string;
15434
+ };
15283
15435
  }[];
15284
15436
  meta: {
15285
15437
  /**
@@ -20040,9 +20192,14 @@ interface ListPublicIntegrationsResponse {
20040
20192
  */
20041
20193
  iconUrl: string;
20042
20194
  /**
20043
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
20195
+ * @deprecated
20196
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
20044
20197
  */
20045
20198
  public: boolean;
20199
+ /**
20200
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
20201
+ */
20202
+ visibility: "public" | "private" | "unlisted";
20046
20203
  /**
20047
20204
  * Status of the integration version verification
20048
20205
  */
@@ -20473,9 +20630,14 @@ interface GetPublicIntegrationByIdResponse {
20473
20630
  */
20474
20631
  readmeUrl: string;
20475
20632
  /**
20476
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
20633
+ * @deprecated
20634
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
20477
20635
  */
20478
20636
  public: boolean;
20637
+ /**
20638
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
20639
+ */
20640
+ visibility: "public" | "private" | "unlisted";
20479
20641
  /**
20480
20642
  * Status of the integration version verification
20481
20643
  */
@@ -20880,9 +21042,14 @@ interface GetPublicIntegrationResponse {
20880
21042
  */
20881
21043
  readmeUrl: string;
20882
21044
  /**
20883
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
21045
+ * @deprecated
21046
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
20884
21047
  */
20885
21048
  public: boolean;
21049
+ /**
21050
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
21051
+ */
21052
+ visibility: "public" | "private" | "unlisted";
20886
21053
  /**
20887
21054
  * Status of the integration version verification
20888
21055
  */
@@ -22297,9 +22464,14 @@ interface CreateBotResponse {
22297
22464
  */
22298
22465
  iconUrl: string;
22299
22466
  /**
22300
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
22467
+ * @deprecated
22468
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
22301
22469
  */
22302
22470
  public: boolean;
22471
+ /**
22472
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
22473
+ */
22474
+ visibility: "public" | "private" | "unlisted";
22303
22475
  /**
22304
22476
  * Status of the integration version verification
22305
22477
  */
@@ -22826,10 +22998,6 @@ interface UpdateBotRequestBody {
22826
22998
  };
22827
22999
  } | null;
22828
23000
  };
22829
- /**
22830
- * If true, plugins will be merged into the bot and entity references will be resolved. If you are uncertain about this field, you should probably set it to true
22831
- */
22832
- shouldMergePlugins?: boolean;
22833
23001
  subscriptions?: {
22834
23002
  events: {
22835
23003
  [k: string]: {} | null;
@@ -22851,6 +23019,10 @@ interface UpdateBotRequestBody {
22851
23019
  name: string;
22852
23020
  }[];
22853
23021
  layers?: string[];
23022
+ /**
23023
+ * UNUSED. Please ignore this field. It will be removed in the near future.
23024
+ */
23025
+ shouldMergePlugins?: boolean;
22854
23026
  }
22855
23027
  type UpdateBotInput = UpdateBotRequestBody & UpdateBotRequestHeaders & UpdateBotRequestQuery & UpdateBotRequestParams;
22856
23028
  interface UpdateBotResponse {
@@ -22923,9 +23095,14 @@ interface UpdateBotResponse {
22923
23095
  */
22924
23096
  iconUrl: string;
22925
23097
  /**
22926
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
23098
+ * @deprecated
23099
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
22927
23100
  */
22928
23101
  public: boolean;
23102
+ /**
23103
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
23104
+ */
23105
+ visibility: "public" | "private" | "unlisted";
22929
23106
  /**
22930
23107
  * Status of the integration version verification
22931
23108
  */
@@ -23381,9 +23558,14 @@ interface GetBotResponse {
23381
23558
  */
23382
23559
  iconUrl: string;
23383
23560
  /**
23384
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
23561
+ * @deprecated
23562
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
23385
23563
  */
23386
23564
  public: boolean;
23565
+ /**
23566
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
23567
+ */
23568
+ visibility: "public" | "private" | "unlisted";
23387
23569
  /**
23388
23570
  * Status of the integration version verification
23389
23571
  */
@@ -25270,9 +25452,14 @@ interface CreateIntegrationRequestBody {
25270
25452
  */
25271
25453
  description?: string;
25272
25454
  /**
25273
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
25455
+ * @deprecated
25456
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
25274
25457
  */
25275
25458
  public?: boolean;
25459
+ /**
25460
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
25461
+ */
25462
+ visibility?: "public" | "private" | "unlisted";
25276
25463
  layers?: string[];
25277
25464
  }
25278
25465
  type CreateIntegrationInput = CreateIntegrationRequestBody & CreateIntegrationRequestHeaders & CreateIntegrationRequestQuery & CreateIntegrationRequestParams;
@@ -25649,9 +25836,14 @@ interface CreateIntegrationResponse {
25649
25836
  */
25650
25837
  readmeUrl: string;
25651
25838
  /**
25652
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
25839
+ * @deprecated
25840
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
25653
25841
  */
25654
25842
  public: boolean;
25843
+ /**
25844
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
25845
+ */
25846
+ visibility: "public" | "private" | "unlisted";
25655
25847
  /**
25656
25848
  * Status of the integration version verification
25657
25849
  */
@@ -25998,9 +26190,14 @@ interface ValidateIntegrationCreationRequestBody {
25998
26190
  */
25999
26191
  description?: string;
26000
26192
  /**
26001
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
26193
+ * @deprecated
26194
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
26002
26195
  */
26003
26196
  public?: boolean;
26197
+ /**
26198
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
26199
+ */
26200
+ visibility?: "public" | "private" | "unlisted";
26004
26201
  layers?: string[];
26005
26202
  }
26006
26203
  type ValidateIntegrationCreationInput = ValidateIntegrationCreationRequestBody & ValidateIntegrationCreationRequestHeaders & ValidateIntegrationCreationRequestQuery & ValidateIntegrationCreationRequestParams;
@@ -26329,9 +26526,14 @@ interface UpdateIntegrationRequestBody {
26329
26526
  */
26330
26527
  url?: string | null;
26331
26528
  /**
26332
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
26529
+ * @deprecated
26530
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
26333
26531
  */
26334
26532
  public?: boolean;
26533
+ /**
26534
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
26535
+ */
26536
+ visibility?: "public" | "private" | "unlisted";
26335
26537
  layers?: string[];
26336
26538
  }
26337
26539
  type UpdateIntegrationInput = UpdateIntegrationRequestBody & UpdateIntegrationRequestHeaders & UpdateIntegrationRequestQuery & UpdateIntegrationRequestParams;
@@ -26708,9 +26910,14 @@ interface UpdateIntegrationResponse {
26708
26910
  */
26709
26911
  readmeUrl: string;
26710
26912
  /**
26711
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
26913
+ * @deprecated
26914
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
26712
26915
  */
26713
26916
  public: boolean;
26917
+ /**
26918
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
26919
+ */
26920
+ visibility: "public" | "private" | "unlisted";
26714
26921
  /**
26715
26922
  * Status of the integration version verification
26716
26923
  */
@@ -27044,9 +27251,14 @@ interface ValidateIntegrationUpdateRequestBody {
27044
27251
  */
27045
27252
  url?: string | null;
27046
27253
  /**
27047
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
27254
+ * @deprecated
27255
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
27048
27256
  */
27049
27257
  public?: boolean;
27258
+ /**
27259
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
27260
+ */
27261
+ visibility?: "public" | "private" | "unlisted";
27050
27262
  layers?: string[];
27051
27263
  }
27052
27264
  type ValidateIntegrationUpdateInput = ValidateIntegrationUpdateRequestBody & ValidateIntegrationUpdateRequestHeaders & ValidateIntegrationUpdateRequestQuery & ValidateIntegrationUpdateRequestParams;
@@ -27110,9 +27322,14 @@ interface ListIntegrationsResponse {
27110
27322
  */
27111
27323
  iconUrl: string;
27112
27324
  /**
27113
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
27325
+ * @deprecated
27326
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
27114
27327
  */
27115
27328
  public: boolean;
27329
+ /**
27330
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
27331
+ */
27332
+ visibility: "public" | "private" | "unlisted";
27116
27333
  /**
27117
27334
  * Status of the integration version verification
27118
27335
  */
@@ -27539,9 +27756,14 @@ interface GetIntegrationResponse {
27539
27756
  */
27540
27757
  readmeUrl: string;
27541
27758
  /**
27542
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
27759
+ * @deprecated
27760
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
27543
27761
  */
27544
27762
  public: boolean;
27763
+ /**
27764
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
27765
+ */
27766
+ visibility: "public" | "private" | "unlisted";
27545
27767
  /**
27546
27768
  * Status of the integration version verification
27547
27769
  */
@@ -27966,9 +28188,14 @@ interface GetIntegrationByNameResponse {
27966
28188
  */
27967
28189
  readmeUrl: string;
27968
28190
  /**
27969
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
28191
+ * @deprecated
28192
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
27970
28193
  */
27971
28194
  public: boolean;
28195
+ /**
28196
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
28197
+ */
28198
+ visibility: "public" | "private" | "unlisted";
27972
28199
  /**
27973
28200
  * Status of the integration version verification
27974
28201
  */
@@ -29153,18 +29380,6 @@ interface CreatePluginRequestBody {
29153
29380
  };
29154
29381
  };
29155
29382
  };
29156
- dependencies?: {
29157
- interfaces?: {
29158
- [k: string]: {
29159
- id: string;
29160
- };
29161
- };
29162
- integrations?: {
29163
- [k: string]: {
29164
- id: string;
29165
- };
29166
- };
29167
- };
29168
29383
  /**
29169
29384
  * Optional attributes
29170
29385
  */
@@ -29201,6 +29416,46 @@ interface CreatePluginRequestBody {
29201
29416
  * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
29202
29417
  */
29203
29418
  public?: boolean;
29419
+ dependencies?: {
29420
+ /**
29421
+ * Mapping of interface aliases to interface references
29422
+ */
29423
+ interfaces?: {
29424
+ [k: string]: {
29425
+ /**
29426
+ * Id of the interface. If provided, "name" and "version" are ignored
29427
+ */
29428
+ id?: string;
29429
+ /**
29430
+ * Name of the interface
29431
+ */
29432
+ name?: string;
29433
+ /**
29434
+ * Version of the interface. Accepts semver versions and version ranges
29435
+ */
29436
+ version?: string;
29437
+ };
29438
+ };
29439
+ /**
29440
+ * Mapping of integration aliases to integration references
29441
+ */
29442
+ integrations?: {
29443
+ [k: string]: {
29444
+ /**
29445
+ * Id of the integration. If provided, "name" and "version" are ignored
29446
+ */
29447
+ id?: string;
29448
+ /**
29449
+ * Name of the integration
29450
+ */
29451
+ name?: string;
29452
+ /**
29453
+ * Version of the integration. Accepts semver versions and version ranges
29454
+ */
29455
+ version?: string;
29456
+ };
29457
+ };
29458
+ };
29204
29459
  }
29205
29460
  type CreatePluginInput = CreatePluginRequestBody & CreatePluginRequestHeaders & CreatePluginRequestQuery & CreatePluginRequestParams;
29206
29461
  interface CreatePluginResponse {
@@ -30177,18 +30432,6 @@ interface UpdatePluginRequestBody {
30177
30432
  } | null;
30178
30433
  };
30179
30434
  };
30180
- dependencies?: {
30181
- interfaces?: {
30182
- [k: string]: {
30183
- id: string;
30184
- } | null;
30185
- };
30186
- integrations?: {
30187
- [k: string]: {
30188
- id: string;
30189
- } | null;
30190
- };
30191
- };
30192
30435
  /**
30193
30436
  * Optional attributes. Set attributes to null to remove them
30194
30437
  */
@@ -30225,6 +30468,46 @@ interface UpdatePluginRequestBody {
30225
30468
  * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
30226
30469
  */
30227
30470
  public?: boolean;
30471
+ dependencies?: {
30472
+ /**
30473
+ * Mapping of interface aliases to interface references
30474
+ */
30475
+ interfaces?: {
30476
+ [k: string]: {
30477
+ /**
30478
+ * Id of the interface. If provided, "name" and "version" are ignored
30479
+ */
30480
+ id?: string;
30481
+ /**
30482
+ * Name of the interface
30483
+ */
30484
+ name?: string;
30485
+ /**
30486
+ * Version of the interface. Accepts semver versions and version ranges
30487
+ */
30488
+ version?: string;
30489
+ } | null;
30490
+ };
30491
+ /**
30492
+ * Mapping of integration aliases to integration references
30493
+ */
30494
+ integrations?: {
30495
+ [k: string]: {
30496
+ /**
30497
+ * Id of the integration. If provided, "name" and "version" are ignored
30498
+ */
30499
+ id?: string;
30500
+ /**
30501
+ * Name of the integration
30502
+ */
30503
+ name?: string;
30504
+ /**
30505
+ * Version of the integration. Accepts semver versions and version ranges
30506
+ */
30507
+ version?: string;
30508
+ } | null;
30509
+ };
30510
+ };
30228
30511
  }
30229
30512
  type UpdatePluginInput = UpdatePluginRequestBody & UpdatePluginRequestHeaders & UpdatePluginRequestQuery & UpdatePluginRequestParams;
30230
30513
  interface UpdatePluginResponse {
@@ -31679,6 +31962,9 @@ interface CreateKnowledgeBaseRequestBody {
31679
31962
  * Name of the knowledge base.
31680
31963
  */
31681
31964
  name: string;
31965
+ tags?: {
31966
+ [k: string]: string;
31967
+ };
31682
31968
  }
31683
31969
  type CreateKnowledgeBaseInput = CreateKnowledgeBaseRequestBody & CreateKnowledgeBaseRequestHeaders & CreateKnowledgeBaseRequestQuery & CreateKnowledgeBaseRequestParams;
31684
31970
  interface CreateKnowledgeBaseResponse {
@@ -31691,6 +31977,9 @@ interface CreateKnowledgeBaseResponse {
31691
31977
  * Name of the knowledge base.
31692
31978
  */
31693
31979
  name: string;
31980
+ tags: {
31981
+ [k: string]: string;
31982
+ };
31694
31983
  };
31695
31984
  }
31696
31985
 
@@ -31719,6 +32008,12 @@ interface UpdateKnowledgeBaseRequestBody {
31719
32008
  * New name of the knowledge base.
31720
32009
  */
31721
32010
  name: string;
32011
+ /**
32012
+ * The knowledge base tags to update as an object of key-value pairs with `string` (text) values. Omit to keep existing tags intact. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`.
32013
+ */
32014
+ tags?: {
32015
+ [k: string]: string | null;
32016
+ };
31722
32017
  }
31723
32018
  type UpdateKnowledgeBaseInput = UpdateKnowledgeBaseRequestBody & UpdateKnowledgeBaseRequestHeaders & UpdateKnowledgeBaseRequestQuery & UpdateKnowledgeBaseRequestParams;
31724
32019
  interface UpdateKnowledgeBaseResponse {
@@ -31731,6 +32026,9 @@ interface UpdateKnowledgeBaseResponse {
31731
32026
  * Name of the knowledge base.
31732
32027
  */
31733
32028
  name: string;
32029
+ tags: {
32030
+ [k: string]: string;
32031
+ };
31734
32032
  };
31735
32033
  }
31736
32034
 
@@ -31738,6 +32036,7 @@ interface ListKnowledgeBasesRequestHeaders {
31738
32036
  }
31739
32037
  interface ListKnowledgeBasesRequestQuery {
31740
32038
  nextToken?: string;
32039
+ tags?: any;
31741
32040
  }
31742
32041
  interface ListKnowledgeBasesRequestParams {
31743
32042
  }
@@ -31758,6 +32057,9 @@ interface ListKnowledgeBasesResponse {
31758
32057
  * Knowledge base creation timestamp in ISO 8601 format
31759
32058
  */
31760
32059
  createdAt: string;
32060
+ tags: {
32061
+ [k: string]: string;
32062
+ };
31761
32063
  }[];
31762
32064
  meta: {
31763
32065
  /**
@@ -33462,9 +33764,14 @@ interface Bot {
33462
33764
  */
33463
33765
  iconUrl: string;
33464
33766
  /**
33465
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
33767
+ * @deprecated
33768
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
33466
33769
  */
33467
33770
  public: boolean;
33771
+ /**
33772
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
33773
+ */
33774
+ visibility: "public" | "private" | "unlisted";
33468
33775
  /**
33469
33776
  * Status of the integration version verification
33470
33777
  */
@@ -34145,9 +34452,14 @@ interface Integration {
34145
34452
  */
34146
34453
  readmeUrl: string;
34147
34454
  /**
34148
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
34455
+ * @deprecated
34456
+ * [DEPRECATED] Indicates whether the integration is public. Please use the "visibility" parameter instead.
34149
34457
  */
34150
34458
  public: boolean;
34459
+ /**
34460
+ * The integration's visibility. Public integrations are available to all and cannot be updated without creating a new version. Unlisted integrations behave identically to public integrations, but they are not listed in the integration hub. By default, integrations are private and only accessible to the workspace that created them.
34461
+ */
34462
+ visibility: "public" | "private" | "unlisted";
34151
34463
  /**
34152
34464
  * Status of the integration version verification
34153
34465
  */
@@ -35591,6 +35903,7 @@ declare class Client extends Client$1 implements IClient {
35591
35903
  description: string;
35592
35904
  iconUrl: string;
35593
35905
  public: boolean;
35906
+ visibility: "public" | "private" | "unlisted";
35594
35907
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
35595
35908
  ownerWorkspace: {
35596
35909
  id: string;
@@ -35676,6 +35989,7 @@ declare class Client extends Client$1 implements IClient {
35676
35989
  description: string;
35677
35990
  iconUrl: string;
35678
35991
  public: boolean;
35992
+ visibility: "public" | "private" | "unlisted";
35679
35993
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
35680
35994
  matchedOn?: {
35681
35995
  name?: boolean;