@botpress/client 1.13.0 → 1.15.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/bundle.cjs +11 -11
- package/dist/bundle.cjs.map +4 -4
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +364 -4
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3610,6 +3610,12 @@ interface GetPublicIntegrationByIdResponse$1 {
|
|
|
3610
3610
|
};
|
|
3611
3611
|
};
|
|
3612
3612
|
};
|
|
3613
|
+
/**
|
|
3614
|
+
* Optional attributes
|
|
3615
|
+
*/
|
|
3616
|
+
attributes?: {
|
|
3617
|
+
[k: string]: string;
|
|
3618
|
+
};
|
|
3613
3619
|
/**
|
|
3614
3620
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
3615
3621
|
*/
|
|
@@ -4007,6 +4013,12 @@ interface GetPublicIntegrationResponse$1 {
|
|
|
4007
4013
|
};
|
|
4008
4014
|
};
|
|
4009
4015
|
};
|
|
4016
|
+
/**
|
|
4017
|
+
* Optional attributes
|
|
4018
|
+
*/
|
|
4019
|
+
attributes?: {
|
|
4020
|
+
[k: string]: string;
|
|
4021
|
+
};
|
|
4010
4022
|
/**
|
|
4011
4023
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
4012
4024
|
*/
|
|
@@ -4296,6 +4308,12 @@ interface GetPublicPluginByIdResponse$1 {
|
|
|
4296
4308
|
};
|
|
4297
4309
|
};
|
|
4298
4310
|
};
|
|
4311
|
+
/**
|
|
4312
|
+
* Optional attributes
|
|
4313
|
+
*/
|
|
4314
|
+
attributes?: {
|
|
4315
|
+
[k: string]: string;
|
|
4316
|
+
};
|
|
4299
4317
|
/**
|
|
4300
4318
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
4301
4319
|
*/
|
|
@@ -4502,6 +4520,12 @@ interface GetPublicPluginResponse$1 {
|
|
|
4502
4520
|
};
|
|
4503
4521
|
};
|
|
4504
4522
|
};
|
|
4523
|
+
/**
|
|
4524
|
+
* Optional attributes
|
|
4525
|
+
*/
|
|
4526
|
+
attributes?: {
|
|
4527
|
+
[k: string]: string;
|
|
4528
|
+
};
|
|
4505
4529
|
/**
|
|
4506
4530
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
4507
4531
|
*/
|
|
@@ -4739,6 +4763,12 @@ interface GetPublicInterfaceByIdResponse$1 {
|
|
|
4739
4763
|
script: string;
|
|
4740
4764
|
language: string;
|
|
4741
4765
|
};
|
|
4766
|
+
/**
|
|
4767
|
+
* Optional attributes
|
|
4768
|
+
*/
|
|
4769
|
+
attributes?: {
|
|
4770
|
+
[k: string]: string;
|
|
4771
|
+
};
|
|
4742
4772
|
/**
|
|
4743
4773
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
4744
4774
|
*/
|
|
@@ -4899,6 +4929,12 @@ interface GetPublicInterfaceResponse$1 {
|
|
|
4899
4929
|
script: string;
|
|
4900
4930
|
language: string;
|
|
4901
4931
|
};
|
|
4932
|
+
/**
|
|
4933
|
+
* Optional attributes
|
|
4934
|
+
*/
|
|
4935
|
+
attributes?: {
|
|
4936
|
+
[k: string]: string;
|
|
4937
|
+
};
|
|
4902
4938
|
/**
|
|
4903
4939
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
4904
4940
|
*/
|
|
@@ -5101,7 +5137,7 @@ interface CreateBotRequestBody$1 {
|
|
|
5101
5137
|
};
|
|
5102
5138
|
};
|
|
5103
5139
|
/**
|
|
5104
|
-
*
|
|
5140
|
+
* Optional attributes of the [Bot](#schema_bot)
|
|
5105
5141
|
*/
|
|
5106
5142
|
tags?: {
|
|
5107
5143
|
[k: string]: string;
|
|
@@ -5532,7 +5568,7 @@ interface UpdateBotRequestBody$1 {
|
|
|
5532
5568
|
};
|
|
5533
5569
|
};
|
|
5534
5570
|
/**
|
|
5535
|
-
*
|
|
5571
|
+
* Optional attributes of the [Bot](#schema_bot)
|
|
5536
5572
|
*/
|
|
5537
5573
|
tags?: {
|
|
5538
5574
|
[k: string]: string;
|
|
@@ -6889,6 +6925,20 @@ interface GetIntegrationShareableIdResponse$1 {
|
|
|
6889
6925
|
isExpired: boolean;
|
|
6890
6926
|
}
|
|
6891
6927
|
|
|
6928
|
+
interface UnlinkSandboxedConversationsRequestHeaders$1 {
|
|
6929
|
+
}
|
|
6930
|
+
interface UnlinkSandboxedConversationsRequestQuery$1 {
|
|
6931
|
+
}
|
|
6932
|
+
interface UnlinkSandboxedConversationsRequestParams$1 {
|
|
6933
|
+
botId: string;
|
|
6934
|
+
integrationId: string;
|
|
6935
|
+
}
|
|
6936
|
+
interface UnlinkSandboxedConversationsRequestBody$1 {
|
|
6937
|
+
}
|
|
6938
|
+
type UnlinkSandboxedConversationsInput$1 = UnlinkSandboxedConversationsRequestBody$1 & UnlinkSandboxedConversationsRequestHeaders$1 & UnlinkSandboxedConversationsRequestQuery$1 & UnlinkSandboxedConversationsRequestParams$1;
|
|
6939
|
+
interface UnlinkSandboxedConversationsResponse$1 {
|
|
6940
|
+
}
|
|
6941
|
+
|
|
6892
6942
|
interface ListBotApiKeysRequestHeaders$1 {
|
|
6893
6943
|
}
|
|
6894
6944
|
interface ListBotApiKeysRequestQuery$1 {
|
|
@@ -7773,6 +7823,12 @@ interface CreateIntegrationRequestBody$1 {
|
|
|
7773
7823
|
};
|
|
7774
7824
|
};
|
|
7775
7825
|
};
|
|
7826
|
+
/**
|
|
7827
|
+
* Optional attributes
|
|
7828
|
+
*/
|
|
7829
|
+
attributes?: {
|
|
7830
|
+
[k: string]: string;
|
|
7831
|
+
};
|
|
7776
7832
|
identifier?: {
|
|
7777
7833
|
fallbackHandlerScript?: string;
|
|
7778
7834
|
extractScript?: string;
|
|
@@ -8287,6 +8343,12 @@ interface CreateIntegrationResponse$1 {
|
|
|
8287
8343
|
};
|
|
8288
8344
|
};
|
|
8289
8345
|
};
|
|
8346
|
+
/**
|
|
8347
|
+
* Optional attributes
|
|
8348
|
+
*/
|
|
8349
|
+
attributes?: {
|
|
8350
|
+
[k: string]: string;
|
|
8351
|
+
};
|
|
8290
8352
|
/**
|
|
8291
8353
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
8292
8354
|
*/
|
|
@@ -8477,6 +8539,12 @@ interface ValidateIntegrationCreationRequestBody$1 {
|
|
|
8477
8539
|
};
|
|
8478
8540
|
};
|
|
8479
8541
|
};
|
|
8542
|
+
/**
|
|
8543
|
+
* Optional attributes
|
|
8544
|
+
*/
|
|
8545
|
+
attributes?: {
|
|
8546
|
+
[k: string]: string;
|
|
8547
|
+
};
|
|
8480
8548
|
identifier?: {
|
|
8481
8549
|
fallbackHandlerScript?: string;
|
|
8482
8550
|
extractScript?: string;
|
|
@@ -8929,6 +8997,12 @@ interface UpdateIntegrationRequestBody$1 {
|
|
|
8929
8997
|
identifierExtractScript?: string | null;
|
|
8930
8998
|
messageExtractScript?: string | null;
|
|
8931
8999
|
};
|
|
9000
|
+
/**
|
|
9001
|
+
* Optional attributes. Set attributes to null to remove them
|
|
9002
|
+
*/
|
|
9003
|
+
attributes?: {
|
|
9004
|
+
[k: string]: string | null;
|
|
9005
|
+
};
|
|
8932
9006
|
/**
|
|
8933
9007
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
8934
9008
|
*/
|
|
@@ -9308,6 +9382,12 @@ interface UpdateIntegrationResponse$1 {
|
|
|
9308
9382
|
};
|
|
9309
9383
|
};
|
|
9310
9384
|
};
|
|
9385
|
+
/**
|
|
9386
|
+
* Optional attributes
|
|
9387
|
+
*/
|
|
9388
|
+
attributes?: {
|
|
9389
|
+
[k: string]: string;
|
|
9390
|
+
};
|
|
9311
9391
|
/**
|
|
9312
9392
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
9313
9393
|
*/
|
|
@@ -9620,6 +9700,12 @@ interface ValidateIntegrationUpdateRequestBody$1 {
|
|
|
9620
9700
|
identifierExtractScript?: string | null;
|
|
9621
9701
|
messageExtractScript?: string | null;
|
|
9622
9702
|
};
|
|
9703
|
+
/**
|
|
9704
|
+
* Optional attributes. Set attributes to null to remove them
|
|
9705
|
+
*/
|
|
9706
|
+
attributes?: {
|
|
9707
|
+
[k: string]: string | null;
|
|
9708
|
+
};
|
|
9623
9709
|
/**
|
|
9624
9710
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
9625
9711
|
*/
|
|
@@ -10115,6 +10201,12 @@ interface GetIntegrationResponse$1 {
|
|
|
10115
10201
|
};
|
|
10116
10202
|
};
|
|
10117
10203
|
};
|
|
10204
|
+
/**
|
|
10205
|
+
* Optional attributes
|
|
10206
|
+
*/
|
|
10207
|
+
attributes?: {
|
|
10208
|
+
[k: string]: string;
|
|
10209
|
+
};
|
|
10118
10210
|
/**
|
|
10119
10211
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
10120
10212
|
*/
|
|
@@ -10532,6 +10624,12 @@ interface GetIntegrationByNameResponse$1 {
|
|
|
10532
10624
|
};
|
|
10533
10625
|
};
|
|
10534
10626
|
};
|
|
10627
|
+
/**
|
|
10628
|
+
* Optional attributes
|
|
10629
|
+
*/
|
|
10630
|
+
attributes?: {
|
|
10631
|
+
[k: string]: string;
|
|
10632
|
+
};
|
|
10535
10633
|
/**
|
|
10536
10634
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
10537
10635
|
*/
|
|
@@ -10712,6 +10810,12 @@ interface CreateInterfaceRequestBody$1 {
|
|
|
10712
10810
|
script: string;
|
|
10713
10811
|
language: string;
|
|
10714
10812
|
};
|
|
10813
|
+
/**
|
|
10814
|
+
* Optional attributes
|
|
10815
|
+
*/
|
|
10816
|
+
attributes?: {
|
|
10817
|
+
[k: string]: string;
|
|
10818
|
+
};
|
|
10715
10819
|
/**
|
|
10716
10820
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
10717
10821
|
*/
|
|
@@ -10860,6 +10964,12 @@ interface CreateInterfaceResponse$1 {
|
|
|
10860
10964
|
script: string;
|
|
10861
10965
|
language: string;
|
|
10862
10966
|
};
|
|
10967
|
+
/**
|
|
10968
|
+
* Optional attributes
|
|
10969
|
+
*/
|
|
10970
|
+
attributes?: {
|
|
10971
|
+
[k: string]: string;
|
|
10972
|
+
};
|
|
10863
10973
|
/**
|
|
10864
10974
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
10865
10975
|
*/
|
|
@@ -11019,6 +11129,12 @@ interface GetInterfaceResponse$1 {
|
|
|
11019
11129
|
script: string;
|
|
11020
11130
|
language: string;
|
|
11021
11131
|
};
|
|
11132
|
+
/**
|
|
11133
|
+
* Optional attributes
|
|
11134
|
+
*/
|
|
11135
|
+
attributes?: {
|
|
11136
|
+
[k: string]: string;
|
|
11137
|
+
};
|
|
11022
11138
|
/**
|
|
11023
11139
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
11024
11140
|
*/
|
|
@@ -11179,6 +11295,12 @@ interface GetInterfaceByNameResponse$1 {
|
|
|
11179
11295
|
script: string;
|
|
11180
11296
|
language: string;
|
|
11181
11297
|
};
|
|
11298
|
+
/**
|
|
11299
|
+
* Optional attributes
|
|
11300
|
+
*/
|
|
11301
|
+
attributes?: {
|
|
11302
|
+
[k: string]: string;
|
|
11303
|
+
};
|
|
11182
11304
|
/**
|
|
11183
11305
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
11184
11306
|
*/
|
|
@@ -11308,6 +11430,12 @@ interface UpdateInterfaceRequestBody$1 {
|
|
|
11308
11430
|
script: string;
|
|
11309
11431
|
language: string;
|
|
11310
11432
|
} | null;
|
|
11433
|
+
/**
|
|
11434
|
+
* Optional attributes. Set attributes to null to remove them
|
|
11435
|
+
*/
|
|
11436
|
+
attributes?: {
|
|
11437
|
+
[k: string]: string | null;
|
|
11438
|
+
};
|
|
11311
11439
|
/**
|
|
11312
11440
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
11313
11441
|
*/
|
|
@@ -11456,6 +11584,12 @@ interface UpdateInterfaceResponse$1 {
|
|
|
11456
11584
|
script: string;
|
|
11457
11585
|
language: string;
|
|
11458
11586
|
};
|
|
11587
|
+
/**
|
|
11588
|
+
* Optional attributes
|
|
11589
|
+
*/
|
|
11590
|
+
attributes?: {
|
|
11591
|
+
[k: string]: string;
|
|
11592
|
+
};
|
|
11459
11593
|
/**
|
|
11460
11594
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
11461
11595
|
*/
|
|
@@ -11716,6 +11850,12 @@ interface CreatePluginRequestBody$1 {
|
|
|
11716
11850
|
};
|
|
11717
11851
|
};
|
|
11718
11852
|
};
|
|
11853
|
+
/**
|
|
11854
|
+
* Optional attributes
|
|
11855
|
+
*/
|
|
11856
|
+
attributes?: {
|
|
11857
|
+
[k: string]: string;
|
|
11858
|
+
};
|
|
11719
11859
|
code: {
|
|
11720
11860
|
/**
|
|
11721
11861
|
* Code of plugin bundled for Node.JS
|
|
@@ -11920,6 +12060,12 @@ interface CreatePluginResponse$1 {
|
|
|
11920
12060
|
};
|
|
11921
12061
|
};
|
|
11922
12062
|
};
|
|
12063
|
+
/**
|
|
12064
|
+
* Optional attributes
|
|
12065
|
+
*/
|
|
12066
|
+
attributes?: {
|
|
12067
|
+
[k: string]: string;
|
|
12068
|
+
};
|
|
11923
12069
|
/**
|
|
11924
12070
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
11925
12071
|
*/
|
|
@@ -12125,6 +12271,12 @@ interface GetPluginResponse$1 {
|
|
|
12125
12271
|
};
|
|
12126
12272
|
};
|
|
12127
12273
|
};
|
|
12274
|
+
/**
|
|
12275
|
+
* Optional attributes
|
|
12276
|
+
*/
|
|
12277
|
+
attributes?: {
|
|
12278
|
+
[k: string]: string;
|
|
12279
|
+
};
|
|
12128
12280
|
/**
|
|
12129
12281
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
12130
12282
|
*/
|
|
@@ -12331,6 +12483,12 @@ interface GetPluginByNameResponse$1 {
|
|
|
12331
12483
|
};
|
|
12332
12484
|
};
|
|
12333
12485
|
};
|
|
12486
|
+
/**
|
|
12487
|
+
* Optional attributes
|
|
12488
|
+
*/
|
|
12489
|
+
attributes?: {
|
|
12490
|
+
[k: string]: string;
|
|
12491
|
+
};
|
|
12334
12492
|
/**
|
|
12335
12493
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
12336
12494
|
*/
|
|
@@ -12496,6 +12654,12 @@ interface UpdatePluginRequestBody$1 {
|
|
|
12496
12654
|
} | null;
|
|
12497
12655
|
};
|
|
12498
12656
|
};
|
|
12657
|
+
/**
|
|
12658
|
+
* Optional attributes. Set attributes to null to remove them
|
|
12659
|
+
*/
|
|
12660
|
+
attributes?: {
|
|
12661
|
+
[k: string]: string | null;
|
|
12662
|
+
};
|
|
12499
12663
|
code?: {
|
|
12500
12664
|
/**
|
|
12501
12665
|
* Code of plugin bundled for Node.JS
|
|
@@ -12700,6 +12864,12 @@ interface UpdatePluginResponse$1 {
|
|
|
12700
12864
|
};
|
|
12701
12865
|
};
|
|
12702
12866
|
};
|
|
12867
|
+
/**
|
|
12868
|
+
* Optional attributes
|
|
12869
|
+
*/
|
|
12870
|
+
attributes?: {
|
|
12871
|
+
[k: string]: string;
|
|
12872
|
+
};
|
|
12703
12873
|
/**
|
|
12704
12874
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
12705
12875
|
*/
|
|
@@ -13092,6 +13262,7 @@ declare class Client$7 {
|
|
|
13092
13262
|
readonly createIntegrationShareableId: (input: CreateIntegrationShareableIdInput$1) => Promise<CreateIntegrationShareableIdResponse$1>;
|
|
13093
13263
|
readonly deleteIntegrationShareableId: (input: DeleteIntegrationShareableIdInput$1) => Promise<DeleteIntegrationShareableIdResponse$1>;
|
|
13094
13264
|
readonly getIntegrationShareableId: (input: GetIntegrationShareableIdInput$1) => Promise<GetIntegrationShareableIdResponse$1>;
|
|
13265
|
+
readonly unlinkSandboxedConversations: (input: UnlinkSandboxedConversationsInput$1) => Promise<UnlinkSandboxedConversationsResponse$1>;
|
|
13095
13266
|
readonly listBotApiKeys: (input: ListBotApiKeysInput$1) => Promise<ListBotApiKeysResponse$1>;
|
|
13096
13267
|
readonly createBotApiKey: (input: CreateBotApiKeyInput$1) => Promise<CreateBotApiKeyResponse$1>;
|
|
13097
13268
|
readonly deleteBotApiKey: (input: DeleteBotApiKeyInput$1) => Promise<DeleteBotApiKeyResponse$1>;
|
|
@@ -19460,6 +19631,12 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
19460
19631
|
};
|
|
19461
19632
|
};
|
|
19462
19633
|
};
|
|
19634
|
+
/**
|
|
19635
|
+
* Optional attributes
|
|
19636
|
+
*/
|
|
19637
|
+
attributes?: {
|
|
19638
|
+
[k: string]: string;
|
|
19639
|
+
};
|
|
19463
19640
|
/**
|
|
19464
19641
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
19465
19642
|
*/
|
|
@@ -19857,6 +20034,12 @@ interface GetPublicIntegrationResponse {
|
|
|
19857
20034
|
};
|
|
19858
20035
|
};
|
|
19859
20036
|
};
|
|
20037
|
+
/**
|
|
20038
|
+
* Optional attributes
|
|
20039
|
+
*/
|
|
20040
|
+
attributes?: {
|
|
20041
|
+
[k: string]: string;
|
|
20042
|
+
};
|
|
19860
20043
|
/**
|
|
19861
20044
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
19862
20045
|
*/
|
|
@@ -20146,6 +20329,12 @@ interface GetPublicPluginByIdResponse {
|
|
|
20146
20329
|
};
|
|
20147
20330
|
};
|
|
20148
20331
|
};
|
|
20332
|
+
/**
|
|
20333
|
+
* Optional attributes
|
|
20334
|
+
*/
|
|
20335
|
+
attributes?: {
|
|
20336
|
+
[k: string]: string;
|
|
20337
|
+
};
|
|
20149
20338
|
/**
|
|
20150
20339
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
20151
20340
|
*/
|
|
@@ -20352,6 +20541,12 @@ interface GetPublicPluginResponse {
|
|
|
20352
20541
|
};
|
|
20353
20542
|
};
|
|
20354
20543
|
};
|
|
20544
|
+
/**
|
|
20545
|
+
* Optional attributes
|
|
20546
|
+
*/
|
|
20547
|
+
attributes?: {
|
|
20548
|
+
[k: string]: string;
|
|
20549
|
+
};
|
|
20355
20550
|
/**
|
|
20356
20551
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
20357
20552
|
*/
|
|
@@ -20589,6 +20784,12 @@ interface GetPublicInterfaceByIdResponse {
|
|
|
20589
20784
|
script: string;
|
|
20590
20785
|
language: string;
|
|
20591
20786
|
};
|
|
20787
|
+
/**
|
|
20788
|
+
* Optional attributes
|
|
20789
|
+
*/
|
|
20790
|
+
attributes?: {
|
|
20791
|
+
[k: string]: string;
|
|
20792
|
+
};
|
|
20592
20793
|
/**
|
|
20593
20794
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
20594
20795
|
*/
|
|
@@ -20749,6 +20950,12 @@ interface GetPublicInterfaceResponse {
|
|
|
20749
20950
|
script: string;
|
|
20750
20951
|
language: string;
|
|
20751
20952
|
};
|
|
20953
|
+
/**
|
|
20954
|
+
* Optional attributes
|
|
20955
|
+
*/
|
|
20956
|
+
attributes?: {
|
|
20957
|
+
[k: string]: string;
|
|
20958
|
+
};
|
|
20752
20959
|
/**
|
|
20753
20960
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
20754
20961
|
*/
|
|
@@ -20951,7 +21158,7 @@ interface CreateBotRequestBody {
|
|
|
20951
21158
|
};
|
|
20952
21159
|
};
|
|
20953
21160
|
/**
|
|
20954
|
-
*
|
|
21161
|
+
* Optional attributes of the [Bot](#schema_bot)
|
|
20955
21162
|
*/
|
|
20956
21163
|
tags?: {
|
|
20957
21164
|
[k: string]: string;
|
|
@@ -21382,7 +21589,7 @@ interface UpdateBotRequestBody {
|
|
|
21382
21589
|
};
|
|
21383
21590
|
};
|
|
21384
21591
|
/**
|
|
21385
|
-
*
|
|
21592
|
+
* Optional attributes of the [Bot](#schema_bot)
|
|
21386
21593
|
*/
|
|
21387
21594
|
tags?: {
|
|
21388
21595
|
[k: string]: string;
|
|
@@ -22739,6 +22946,20 @@ interface GetIntegrationShareableIdResponse {
|
|
|
22739
22946
|
isExpired: boolean;
|
|
22740
22947
|
}
|
|
22741
22948
|
|
|
22949
|
+
interface UnlinkSandboxedConversationsRequestHeaders {
|
|
22950
|
+
}
|
|
22951
|
+
interface UnlinkSandboxedConversationsRequestQuery {
|
|
22952
|
+
}
|
|
22953
|
+
interface UnlinkSandboxedConversationsRequestParams {
|
|
22954
|
+
botId: string;
|
|
22955
|
+
integrationId: string;
|
|
22956
|
+
}
|
|
22957
|
+
interface UnlinkSandboxedConversationsRequestBody {
|
|
22958
|
+
}
|
|
22959
|
+
type UnlinkSandboxedConversationsInput = UnlinkSandboxedConversationsRequestBody & UnlinkSandboxedConversationsRequestHeaders & UnlinkSandboxedConversationsRequestQuery & UnlinkSandboxedConversationsRequestParams;
|
|
22960
|
+
interface UnlinkSandboxedConversationsResponse {
|
|
22961
|
+
}
|
|
22962
|
+
|
|
22742
22963
|
interface ListBotApiKeysRequestHeaders {
|
|
22743
22964
|
}
|
|
22744
22965
|
interface ListBotApiKeysRequestQuery {
|
|
@@ -23624,6 +23845,12 @@ interface CreateIntegrationRequestBody {
|
|
|
23624
23845
|
};
|
|
23625
23846
|
};
|
|
23626
23847
|
};
|
|
23848
|
+
/**
|
|
23849
|
+
* Optional attributes
|
|
23850
|
+
*/
|
|
23851
|
+
attributes?: {
|
|
23852
|
+
[k: string]: string;
|
|
23853
|
+
};
|
|
23627
23854
|
identifier?: {
|
|
23628
23855
|
fallbackHandlerScript?: string;
|
|
23629
23856
|
extractScript?: string;
|
|
@@ -24138,6 +24365,12 @@ interface CreateIntegrationResponse {
|
|
|
24138
24365
|
};
|
|
24139
24366
|
};
|
|
24140
24367
|
};
|
|
24368
|
+
/**
|
|
24369
|
+
* Optional attributes
|
|
24370
|
+
*/
|
|
24371
|
+
attributes?: {
|
|
24372
|
+
[k: string]: string;
|
|
24373
|
+
};
|
|
24141
24374
|
/**
|
|
24142
24375
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
24143
24376
|
*/
|
|
@@ -24328,6 +24561,12 @@ interface ValidateIntegrationCreationRequestBody {
|
|
|
24328
24561
|
};
|
|
24329
24562
|
};
|
|
24330
24563
|
};
|
|
24564
|
+
/**
|
|
24565
|
+
* Optional attributes
|
|
24566
|
+
*/
|
|
24567
|
+
attributes?: {
|
|
24568
|
+
[k: string]: string;
|
|
24569
|
+
};
|
|
24331
24570
|
identifier?: {
|
|
24332
24571
|
fallbackHandlerScript?: string;
|
|
24333
24572
|
extractScript?: string;
|
|
@@ -24780,6 +25019,12 @@ interface UpdateIntegrationRequestBody {
|
|
|
24780
25019
|
identifierExtractScript?: string | null;
|
|
24781
25020
|
messageExtractScript?: string | null;
|
|
24782
25021
|
};
|
|
25022
|
+
/**
|
|
25023
|
+
* Optional attributes. Set attributes to null to remove them
|
|
25024
|
+
*/
|
|
25025
|
+
attributes?: {
|
|
25026
|
+
[k: string]: string | null;
|
|
25027
|
+
};
|
|
24783
25028
|
/**
|
|
24784
25029
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
24785
25030
|
*/
|
|
@@ -25159,6 +25404,12 @@ interface UpdateIntegrationResponse {
|
|
|
25159
25404
|
};
|
|
25160
25405
|
};
|
|
25161
25406
|
};
|
|
25407
|
+
/**
|
|
25408
|
+
* Optional attributes
|
|
25409
|
+
*/
|
|
25410
|
+
attributes?: {
|
|
25411
|
+
[k: string]: string;
|
|
25412
|
+
};
|
|
25162
25413
|
/**
|
|
25163
25414
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
25164
25415
|
*/
|
|
@@ -25471,6 +25722,12 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
25471
25722
|
identifierExtractScript?: string | null;
|
|
25472
25723
|
messageExtractScript?: string | null;
|
|
25473
25724
|
};
|
|
25725
|
+
/**
|
|
25726
|
+
* Optional attributes. Set attributes to null to remove them
|
|
25727
|
+
*/
|
|
25728
|
+
attributes?: {
|
|
25729
|
+
[k: string]: string | null;
|
|
25730
|
+
};
|
|
25474
25731
|
/**
|
|
25475
25732
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
25476
25733
|
*/
|
|
@@ -25966,6 +26223,12 @@ interface GetIntegrationResponse {
|
|
|
25966
26223
|
};
|
|
25967
26224
|
};
|
|
25968
26225
|
};
|
|
26226
|
+
/**
|
|
26227
|
+
* Optional attributes
|
|
26228
|
+
*/
|
|
26229
|
+
attributes?: {
|
|
26230
|
+
[k: string]: string;
|
|
26231
|
+
};
|
|
25969
26232
|
/**
|
|
25970
26233
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
25971
26234
|
*/
|
|
@@ -26383,6 +26646,12 @@ interface GetIntegrationByNameResponse {
|
|
|
26383
26646
|
};
|
|
26384
26647
|
};
|
|
26385
26648
|
};
|
|
26649
|
+
/**
|
|
26650
|
+
* Optional attributes
|
|
26651
|
+
*/
|
|
26652
|
+
attributes?: {
|
|
26653
|
+
[k: string]: string;
|
|
26654
|
+
};
|
|
26386
26655
|
/**
|
|
26387
26656
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
26388
26657
|
*/
|
|
@@ -26563,6 +26832,12 @@ interface CreateInterfaceRequestBody {
|
|
|
26563
26832
|
script: string;
|
|
26564
26833
|
language: string;
|
|
26565
26834
|
};
|
|
26835
|
+
/**
|
|
26836
|
+
* Optional attributes
|
|
26837
|
+
*/
|
|
26838
|
+
attributes?: {
|
|
26839
|
+
[k: string]: string;
|
|
26840
|
+
};
|
|
26566
26841
|
/**
|
|
26567
26842
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
26568
26843
|
*/
|
|
@@ -26711,6 +26986,12 @@ interface CreateInterfaceResponse {
|
|
|
26711
26986
|
script: string;
|
|
26712
26987
|
language: string;
|
|
26713
26988
|
};
|
|
26989
|
+
/**
|
|
26990
|
+
* Optional attributes
|
|
26991
|
+
*/
|
|
26992
|
+
attributes?: {
|
|
26993
|
+
[k: string]: string;
|
|
26994
|
+
};
|
|
26714
26995
|
/**
|
|
26715
26996
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
26716
26997
|
*/
|
|
@@ -26870,6 +27151,12 @@ interface GetInterfaceResponse {
|
|
|
26870
27151
|
script: string;
|
|
26871
27152
|
language: string;
|
|
26872
27153
|
};
|
|
27154
|
+
/**
|
|
27155
|
+
* Optional attributes
|
|
27156
|
+
*/
|
|
27157
|
+
attributes?: {
|
|
27158
|
+
[k: string]: string;
|
|
27159
|
+
};
|
|
26873
27160
|
/**
|
|
26874
27161
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
26875
27162
|
*/
|
|
@@ -27030,6 +27317,12 @@ interface GetInterfaceByNameResponse {
|
|
|
27030
27317
|
script: string;
|
|
27031
27318
|
language: string;
|
|
27032
27319
|
};
|
|
27320
|
+
/**
|
|
27321
|
+
* Optional attributes
|
|
27322
|
+
*/
|
|
27323
|
+
attributes?: {
|
|
27324
|
+
[k: string]: string;
|
|
27325
|
+
};
|
|
27033
27326
|
/**
|
|
27034
27327
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
27035
27328
|
*/
|
|
@@ -27159,6 +27452,12 @@ interface UpdateInterfaceRequestBody {
|
|
|
27159
27452
|
script: string;
|
|
27160
27453
|
language: string;
|
|
27161
27454
|
} | null;
|
|
27455
|
+
/**
|
|
27456
|
+
* Optional attributes. Set attributes to null to remove them
|
|
27457
|
+
*/
|
|
27458
|
+
attributes?: {
|
|
27459
|
+
[k: string]: string | null;
|
|
27460
|
+
};
|
|
27162
27461
|
/**
|
|
27163
27462
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
27164
27463
|
*/
|
|
@@ -27307,6 +27606,12 @@ interface UpdateInterfaceResponse {
|
|
|
27307
27606
|
script: string;
|
|
27308
27607
|
language: string;
|
|
27309
27608
|
};
|
|
27609
|
+
/**
|
|
27610
|
+
* Optional attributes
|
|
27611
|
+
*/
|
|
27612
|
+
attributes?: {
|
|
27613
|
+
[k: string]: string;
|
|
27614
|
+
};
|
|
27310
27615
|
/**
|
|
27311
27616
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
27312
27617
|
*/
|
|
@@ -27567,6 +27872,12 @@ interface CreatePluginRequestBody {
|
|
|
27567
27872
|
};
|
|
27568
27873
|
};
|
|
27569
27874
|
};
|
|
27875
|
+
/**
|
|
27876
|
+
* Optional attributes
|
|
27877
|
+
*/
|
|
27878
|
+
attributes?: {
|
|
27879
|
+
[k: string]: string;
|
|
27880
|
+
};
|
|
27570
27881
|
code: {
|
|
27571
27882
|
/**
|
|
27572
27883
|
* Code of plugin bundled for Node.JS
|
|
@@ -27771,6 +28082,12 @@ interface CreatePluginResponse {
|
|
|
27771
28082
|
};
|
|
27772
28083
|
};
|
|
27773
28084
|
};
|
|
28085
|
+
/**
|
|
28086
|
+
* Optional attributes
|
|
28087
|
+
*/
|
|
28088
|
+
attributes?: {
|
|
28089
|
+
[k: string]: string;
|
|
28090
|
+
};
|
|
27774
28091
|
/**
|
|
27775
28092
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
27776
28093
|
*/
|
|
@@ -27976,6 +28293,12 @@ interface GetPluginResponse {
|
|
|
27976
28293
|
};
|
|
27977
28294
|
};
|
|
27978
28295
|
};
|
|
28296
|
+
/**
|
|
28297
|
+
* Optional attributes
|
|
28298
|
+
*/
|
|
28299
|
+
attributes?: {
|
|
28300
|
+
[k: string]: string;
|
|
28301
|
+
};
|
|
27979
28302
|
/**
|
|
27980
28303
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
27981
28304
|
*/
|
|
@@ -28182,6 +28505,12 @@ interface GetPluginByNameResponse {
|
|
|
28182
28505
|
};
|
|
28183
28506
|
};
|
|
28184
28507
|
};
|
|
28508
|
+
/**
|
|
28509
|
+
* Optional attributes
|
|
28510
|
+
*/
|
|
28511
|
+
attributes?: {
|
|
28512
|
+
[k: string]: string;
|
|
28513
|
+
};
|
|
28185
28514
|
/**
|
|
28186
28515
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
28187
28516
|
*/
|
|
@@ -28347,6 +28676,12 @@ interface UpdatePluginRequestBody {
|
|
|
28347
28676
|
} | null;
|
|
28348
28677
|
};
|
|
28349
28678
|
};
|
|
28679
|
+
/**
|
|
28680
|
+
* Optional attributes. Set attributes to null to remove them
|
|
28681
|
+
*/
|
|
28682
|
+
attributes?: {
|
|
28683
|
+
[k: string]: string | null;
|
|
28684
|
+
};
|
|
28350
28685
|
code?: {
|
|
28351
28686
|
/**
|
|
28352
28687
|
* Code of plugin bundled for Node.JS
|
|
@@ -28551,6 +28886,12 @@ interface UpdatePluginResponse {
|
|
|
28551
28886
|
};
|
|
28552
28887
|
};
|
|
28553
28888
|
};
|
|
28889
|
+
/**
|
|
28890
|
+
* Optional attributes
|
|
28891
|
+
*/
|
|
28892
|
+
attributes?: {
|
|
28893
|
+
[k: string]: string;
|
|
28894
|
+
};
|
|
28554
28895
|
/**
|
|
28555
28896
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
28556
28897
|
*/
|
|
@@ -32185,6 +32526,12 @@ interface Integration {
|
|
|
32185
32526
|
};
|
|
32186
32527
|
};
|
|
32187
32528
|
};
|
|
32529
|
+
/**
|
|
32530
|
+
* Optional attributes
|
|
32531
|
+
*/
|
|
32532
|
+
attributes?: {
|
|
32533
|
+
[k: string]: string;
|
|
32534
|
+
};
|
|
32188
32535
|
/**
|
|
32189
32536
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
32190
32537
|
*/
|
|
@@ -32343,6 +32690,12 @@ interface Interface {
|
|
|
32343
32690
|
script: string;
|
|
32344
32691
|
language: string;
|
|
32345
32692
|
};
|
|
32693
|
+
/**
|
|
32694
|
+
* Optional attributes
|
|
32695
|
+
*/
|
|
32696
|
+
attributes?: {
|
|
32697
|
+
[k: string]: string;
|
|
32698
|
+
};
|
|
32346
32699
|
/**
|
|
32347
32700
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
32348
32701
|
*/
|
|
@@ -32535,6 +32888,12 @@ interface Plugin {
|
|
|
32535
32888
|
};
|
|
32536
32889
|
};
|
|
32537
32890
|
};
|
|
32891
|
+
/**
|
|
32892
|
+
* Optional attributes
|
|
32893
|
+
*/
|
|
32894
|
+
attributes?: {
|
|
32895
|
+
[k: string]: string;
|
|
32896
|
+
};
|
|
32538
32897
|
/**
|
|
32539
32898
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
32540
32899
|
*/
|
|
@@ -33371,6 +33730,7 @@ declare class Client$1 {
|
|
|
33371
33730
|
readonly createIntegrationShareableId: (input: CreateIntegrationShareableIdInput) => Promise<CreateIntegrationShareableIdResponse>;
|
|
33372
33731
|
readonly deleteIntegrationShareableId: (input: DeleteIntegrationShareableIdInput) => Promise<DeleteIntegrationShareableIdResponse>;
|
|
33373
33732
|
readonly getIntegrationShareableId: (input: GetIntegrationShareableIdInput) => Promise<GetIntegrationShareableIdResponse>;
|
|
33733
|
+
readonly unlinkSandboxedConversations: (input: UnlinkSandboxedConversationsInput) => Promise<UnlinkSandboxedConversationsResponse>;
|
|
33374
33734
|
readonly listBotApiKeys: (input: ListBotApiKeysInput) => Promise<ListBotApiKeysResponse>;
|
|
33375
33735
|
readonly createBotApiKey: (input: CreateBotApiKeyInput) => Promise<CreateBotApiKeyResponse>;
|
|
33376
33736
|
readonly deleteBotApiKey: (input: DeleteBotApiKeyInput) => Promise<DeleteBotApiKeyResponse>;
|