@botpress/cognitive 0.1.20 → 0.1.21
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/.turbo/turbo-build.log +5 -5
- package/dist/index.d.ts +338 -2
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/cognitive@0.1.
|
|
2
|
+
> @botpress/cognitive@0.1.21 build /home/runner/work/botpress/botpress/packages/cognitive
|
|
3
3
|
> pnpm build:type && pnpm build:neutral && size-limit
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @botpress/cognitive@0.1.
|
|
6
|
+
> @botpress/cognitive@0.1.21 build:type /home/runner/work/botpress/botpress/packages/cognitive
|
|
7
7
|
> tsup --tsconfig tsconfig.build.json ./src/index.ts --dts-resolve --dts-only --clean
|
|
8
8
|
|
|
9
9
|
CLI Building entry: ./src/index.ts
|
|
10
10
|
CLI Using tsconfig: tsconfig.build.json
|
|
11
11
|
CLI tsup v8.0.2
|
|
12
12
|
DTS Build start
|
|
13
|
-
DTS ⚡️ Build success in
|
|
14
|
-
DTS dist/index.d.ts
|
|
13
|
+
DTS ⚡️ Build success in 11475ms
|
|
14
|
+
DTS dist/index.d.ts 578.33 KB
|
|
15
15
|
|
|
16
|
-
> @botpress/cognitive@0.1.
|
|
16
|
+
> @botpress/cognitive@0.1.21 build:neutral /home/runner/work/botpress/botpress/packages/cognitive
|
|
17
17
|
> ts-node -T ./build.ts --neutral
|
|
18
18
|
|
|
19
19
|
Done
|
package/dist/index.d.ts
CHANGED
|
@@ -4638,6 +4638,12 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
4638
4638
|
};
|
|
4639
4639
|
};
|
|
4640
4640
|
};
|
|
4641
|
+
/**
|
|
4642
|
+
* Optional attributes
|
|
4643
|
+
*/
|
|
4644
|
+
attributes?: {
|
|
4645
|
+
[k: string]: string;
|
|
4646
|
+
};
|
|
4641
4647
|
/**
|
|
4642
4648
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
4643
4649
|
*/
|
|
@@ -5035,6 +5041,12 @@ interface GetPublicIntegrationResponse {
|
|
|
5035
5041
|
};
|
|
5036
5042
|
};
|
|
5037
5043
|
};
|
|
5044
|
+
/**
|
|
5045
|
+
* Optional attributes
|
|
5046
|
+
*/
|
|
5047
|
+
attributes?: {
|
|
5048
|
+
[k: string]: string;
|
|
5049
|
+
};
|
|
5038
5050
|
/**
|
|
5039
5051
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
5040
5052
|
*/
|
|
@@ -5324,6 +5336,12 @@ interface GetPublicPluginByIdResponse {
|
|
|
5324
5336
|
};
|
|
5325
5337
|
};
|
|
5326
5338
|
};
|
|
5339
|
+
/**
|
|
5340
|
+
* Optional attributes
|
|
5341
|
+
*/
|
|
5342
|
+
attributes?: {
|
|
5343
|
+
[k: string]: string;
|
|
5344
|
+
};
|
|
5327
5345
|
/**
|
|
5328
5346
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
5329
5347
|
*/
|
|
@@ -5530,6 +5548,12 @@ interface GetPublicPluginResponse {
|
|
|
5530
5548
|
};
|
|
5531
5549
|
};
|
|
5532
5550
|
};
|
|
5551
|
+
/**
|
|
5552
|
+
* Optional attributes
|
|
5553
|
+
*/
|
|
5554
|
+
attributes?: {
|
|
5555
|
+
[k: string]: string;
|
|
5556
|
+
};
|
|
5533
5557
|
/**
|
|
5534
5558
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
5535
5559
|
*/
|
|
@@ -5767,6 +5791,12 @@ interface GetPublicInterfaceByIdResponse {
|
|
|
5767
5791
|
script: string;
|
|
5768
5792
|
language: string;
|
|
5769
5793
|
};
|
|
5794
|
+
/**
|
|
5795
|
+
* Optional attributes
|
|
5796
|
+
*/
|
|
5797
|
+
attributes?: {
|
|
5798
|
+
[k: string]: string;
|
|
5799
|
+
};
|
|
5770
5800
|
/**
|
|
5771
5801
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
5772
5802
|
*/
|
|
@@ -5927,6 +5957,12 @@ interface GetPublicInterfaceResponse {
|
|
|
5927
5957
|
script: string;
|
|
5928
5958
|
language: string;
|
|
5929
5959
|
};
|
|
5960
|
+
/**
|
|
5961
|
+
* Optional attributes
|
|
5962
|
+
*/
|
|
5963
|
+
attributes?: {
|
|
5964
|
+
[k: string]: string;
|
|
5965
|
+
};
|
|
5930
5966
|
/**
|
|
5931
5967
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
5932
5968
|
*/
|
|
@@ -6129,7 +6165,7 @@ interface CreateBotRequestBody {
|
|
|
6129
6165
|
};
|
|
6130
6166
|
};
|
|
6131
6167
|
/**
|
|
6132
|
-
*
|
|
6168
|
+
* Optional attributes of the [Bot](#schema_bot)
|
|
6133
6169
|
*/
|
|
6134
6170
|
tags?: {
|
|
6135
6171
|
[k: string]: string;
|
|
@@ -6238,6 +6274,57 @@ interface CreateBotResponse {
|
|
|
6238
6274
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
6239
6275
|
};
|
|
6240
6276
|
};
|
|
6277
|
+
/**
|
|
6278
|
+
* A mapping of plugin aliases to their configuration
|
|
6279
|
+
*/
|
|
6280
|
+
plugins: {
|
|
6281
|
+
[k: string]: {
|
|
6282
|
+
enabled: boolean;
|
|
6283
|
+
/**
|
|
6284
|
+
* Name of the [Plugin](#schema_plugin)
|
|
6285
|
+
*/
|
|
6286
|
+
name: string;
|
|
6287
|
+
/**
|
|
6288
|
+
* Version of the [Plugin](#schema_plugin)
|
|
6289
|
+
*/
|
|
6290
|
+
version: string;
|
|
6291
|
+
configuration: {
|
|
6292
|
+
[k: string]: any;
|
|
6293
|
+
};
|
|
6294
|
+
/**
|
|
6295
|
+
* ID of the [Plugin](#schema_plugin)
|
|
6296
|
+
*/
|
|
6297
|
+
id: string;
|
|
6298
|
+
/**
|
|
6299
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
6300
|
+
*/
|
|
6301
|
+
createdAt: string;
|
|
6302
|
+
/**
|
|
6303
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
6304
|
+
*/
|
|
6305
|
+
updatedAt: string;
|
|
6306
|
+
/**
|
|
6307
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
6308
|
+
*/
|
|
6309
|
+
title: string;
|
|
6310
|
+
/**
|
|
6311
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
6312
|
+
*/
|
|
6313
|
+
description: string;
|
|
6314
|
+
/**
|
|
6315
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
6316
|
+
*/
|
|
6317
|
+
iconUrl: string;
|
|
6318
|
+
/**
|
|
6319
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
6320
|
+
*/
|
|
6321
|
+
readmeUrl: string;
|
|
6322
|
+
/**
|
|
6323
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
6324
|
+
*/
|
|
6325
|
+
public: boolean;
|
|
6326
|
+
};
|
|
6327
|
+
};
|
|
6241
6328
|
/**
|
|
6242
6329
|
* User object configuration
|
|
6243
6330
|
*/
|
|
@@ -6509,7 +6596,7 @@ interface UpdateBotRequestBody {
|
|
|
6509
6596
|
};
|
|
6510
6597
|
};
|
|
6511
6598
|
/**
|
|
6512
|
-
*
|
|
6599
|
+
* Optional attributes of the [Bot](#schema_bot)
|
|
6513
6600
|
*/
|
|
6514
6601
|
tags?: {
|
|
6515
6602
|
[k: string]: string;
|
|
@@ -6666,6 +6753,18 @@ interface UpdateBotRequestBody {
|
|
|
6666
6753
|
disabledChannels?: string[];
|
|
6667
6754
|
} | null;
|
|
6668
6755
|
};
|
|
6756
|
+
/**
|
|
6757
|
+
* A mapping of plugin aliases to their configuration
|
|
6758
|
+
*/
|
|
6759
|
+
plugins?: {
|
|
6760
|
+
[k: string]: {
|
|
6761
|
+
id: string;
|
|
6762
|
+
enabled?: boolean;
|
|
6763
|
+
configuration?: {
|
|
6764
|
+
[k: string]: any;
|
|
6765
|
+
};
|
|
6766
|
+
} | null;
|
|
6767
|
+
};
|
|
6669
6768
|
subscriptions?: {
|
|
6670
6769
|
events: {
|
|
6671
6770
|
[k: string]: {} | null;
|
|
@@ -6768,6 +6867,57 @@ interface UpdateBotResponse {
|
|
|
6768
6867
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
6769
6868
|
};
|
|
6770
6869
|
};
|
|
6870
|
+
/**
|
|
6871
|
+
* A mapping of plugin aliases to their configuration
|
|
6872
|
+
*/
|
|
6873
|
+
plugins: {
|
|
6874
|
+
[k: string]: {
|
|
6875
|
+
enabled: boolean;
|
|
6876
|
+
/**
|
|
6877
|
+
* Name of the [Plugin](#schema_plugin)
|
|
6878
|
+
*/
|
|
6879
|
+
name: string;
|
|
6880
|
+
/**
|
|
6881
|
+
* Version of the [Plugin](#schema_plugin)
|
|
6882
|
+
*/
|
|
6883
|
+
version: string;
|
|
6884
|
+
configuration: {
|
|
6885
|
+
[k: string]: any;
|
|
6886
|
+
};
|
|
6887
|
+
/**
|
|
6888
|
+
* ID of the [Plugin](#schema_plugin)
|
|
6889
|
+
*/
|
|
6890
|
+
id: string;
|
|
6891
|
+
/**
|
|
6892
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
6893
|
+
*/
|
|
6894
|
+
createdAt: string;
|
|
6895
|
+
/**
|
|
6896
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
6897
|
+
*/
|
|
6898
|
+
updatedAt: string;
|
|
6899
|
+
/**
|
|
6900
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
6901
|
+
*/
|
|
6902
|
+
title: string;
|
|
6903
|
+
/**
|
|
6904
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
6905
|
+
*/
|
|
6906
|
+
description: string;
|
|
6907
|
+
/**
|
|
6908
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
6909
|
+
*/
|
|
6910
|
+
iconUrl: string;
|
|
6911
|
+
/**
|
|
6912
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
6913
|
+
*/
|
|
6914
|
+
readmeUrl: string;
|
|
6915
|
+
/**
|
|
6916
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
6917
|
+
*/
|
|
6918
|
+
public: boolean;
|
|
6919
|
+
};
|
|
6920
|
+
};
|
|
6771
6921
|
/**
|
|
6772
6922
|
* User object configuration
|
|
6773
6923
|
*/
|
|
@@ -7161,6 +7311,57 @@ interface GetBotResponse {
|
|
|
7161
7311
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
7162
7312
|
};
|
|
7163
7313
|
};
|
|
7314
|
+
/**
|
|
7315
|
+
* A mapping of plugin aliases to their configuration
|
|
7316
|
+
*/
|
|
7317
|
+
plugins: {
|
|
7318
|
+
[k: string]: {
|
|
7319
|
+
enabled: boolean;
|
|
7320
|
+
/**
|
|
7321
|
+
* Name of the [Plugin](#schema_plugin)
|
|
7322
|
+
*/
|
|
7323
|
+
name: string;
|
|
7324
|
+
/**
|
|
7325
|
+
* Version of the [Plugin](#schema_plugin)
|
|
7326
|
+
*/
|
|
7327
|
+
version: string;
|
|
7328
|
+
configuration: {
|
|
7329
|
+
[k: string]: any;
|
|
7330
|
+
};
|
|
7331
|
+
/**
|
|
7332
|
+
* ID of the [Plugin](#schema_plugin)
|
|
7333
|
+
*/
|
|
7334
|
+
id: string;
|
|
7335
|
+
/**
|
|
7336
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
7337
|
+
*/
|
|
7338
|
+
createdAt: string;
|
|
7339
|
+
/**
|
|
7340
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
7341
|
+
*/
|
|
7342
|
+
updatedAt: string;
|
|
7343
|
+
/**
|
|
7344
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
7345
|
+
*/
|
|
7346
|
+
title: string;
|
|
7347
|
+
/**
|
|
7348
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
7349
|
+
*/
|
|
7350
|
+
description: string;
|
|
7351
|
+
/**
|
|
7352
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
7353
|
+
*/
|
|
7354
|
+
iconUrl: string;
|
|
7355
|
+
/**
|
|
7356
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
7357
|
+
*/
|
|
7358
|
+
readmeUrl: string;
|
|
7359
|
+
/**
|
|
7360
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
7361
|
+
*/
|
|
7362
|
+
public: boolean;
|
|
7363
|
+
};
|
|
7364
|
+
};
|
|
7164
7365
|
/**
|
|
7165
7366
|
* User object configuration
|
|
7166
7367
|
*/
|
|
@@ -7752,6 +7953,20 @@ interface GetIntegrationShareableIdResponse {
|
|
|
7752
7953
|
isExpired: boolean;
|
|
7753
7954
|
}
|
|
7754
7955
|
|
|
7956
|
+
interface UnlinkSandboxedConversationsRequestHeaders {
|
|
7957
|
+
}
|
|
7958
|
+
interface UnlinkSandboxedConversationsRequestQuery {
|
|
7959
|
+
}
|
|
7960
|
+
interface UnlinkSandboxedConversationsRequestParams {
|
|
7961
|
+
botId: string;
|
|
7962
|
+
integrationId: string;
|
|
7963
|
+
}
|
|
7964
|
+
interface UnlinkSandboxedConversationsRequestBody {
|
|
7965
|
+
}
|
|
7966
|
+
type UnlinkSandboxedConversationsInput = UnlinkSandboxedConversationsRequestBody & UnlinkSandboxedConversationsRequestHeaders & UnlinkSandboxedConversationsRequestQuery & UnlinkSandboxedConversationsRequestParams;
|
|
7967
|
+
interface UnlinkSandboxedConversationsResponse {
|
|
7968
|
+
}
|
|
7969
|
+
|
|
7755
7970
|
interface ListBotApiKeysRequestHeaders {
|
|
7756
7971
|
}
|
|
7757
7972
|
interface ListBotApiKeysRequestQuery {
|
|
@@ -8637,6 +8852,12 @@ interface CreateIntegrationRequestBody {
|
|
|
8637
8852
|
};
|
|
8638
8853
|
};
|
|
8639
8854
|
};
|
|
8855
|
+
/**
|
|
8856
|
+
* Optional attributes
|
|
8857
|
+
*/
|
|
8858
|
+
attributes?: {
|
|
8859
|
+
[k: string]: string;
|
|
8860
|
+
};
|
|
8640
8861
|
identifier?: {
|
|
8641
8862
|
fallbackHandlerScript?: string;
|
|
8642
8863
|
extractScript?: string;
|
|
@@ -9151,6 +9372,12 @@ interface CreateIntegrationResponse {
|
|
|
9151
9372
|
};
|
|
9152
9373
|
};
|
|
9153
9374
|
};
|
|
9375
|
+
/**
|
|
9376
|
+
* Optional attributes
|
|
9377
|
+
*/
|
|
9378
|
+
attributes?: {
|
|
9379
|
+
[k: string]: string;
|
|
9380
|
+
};
|
|
9154
9381
|
/**
|
|
9155
9382
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
9156
9383
|
*/
|
|
@@ -9341,6 +9568,12 @@ interface ValidateIntegrationCreationRequestBody {
|
|
|
9341
9568
|
};
|
|
9342
9569
|
};
|
|
9343
9570
|
};
|
|
9571
|
+
/**
|
|
9572
|
+
* Optional attributes
|
|
9573
|
+
*/
|
|
9574
|
+
attributes?: {
|
|
9575
|
+
[k: string]: string;
|
|
9576
|
+
};
|
|
9344
9577
|
identifier?: {
|
|
9345
9578
|
fallbackHandlerScript?: string;
|
|
9346
9579
|
extractScript?: string;
|
|
@@ -9793,6 +10026,12 @@ interface UpdateIntegrationRequestBody {
|
|
|
9793
10026
|
identifierExtractScript?: string | null;
|
|
9794
10027
|
messageExtractScript?: string | null;
|
|
9795
10028
|
};
|
|
10029
|
+
/**
|
|
10030
|
+
* Optional attributes. Set attributes to null to remove them
|
|
10031
|
+
*/
|
|
10032
|
+
attributes?: {
|
|
10033
|
+
[k: string]: string | null;
|
|
10034
|
+
};
|
|
9796
10035
|
/**
|
|
9797
10036
|
* 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.
|
|
9798
10037
|
*/
|
|
@@ -10172,6 +10411,12 @@ interface UpdateIntegrationResponse {
|
|
|
10172
10411
|
};
|
|
10173
10412
|
};
|
|
10174
10413
|
};
|
|
10414
|
+
/**
|
|
10415
|
+
* Optional attributes
|
|
10416
|
+
*/
|
|
10417
|
+
attributes?: {
|
|
10418
|
+
[k: string]: string;
|
|
10419
|
+
};
|
|
10175
10420
|
/**
|
|
10176
10421
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
10177
10422
|
*/
|
|
@@ -10484,6 +10729,12 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
10484
10729
|
identifierExtractScript?: string | null;
|
|
10485
10730
|
messageExtractScript?: string | null;
|
|
10486
10731
|
};
|
|
10732
|
+
/**
|
|
10733
|
+
* Optional attributes. Set attributes to null to remove them
|
|
10734
|
+
*/
|
|
10735
|
+
attributes?: {
|
|
10736
|
+
[k: string]: string | null;
|
|
10737
|
+
};
|
|
10487
10738
|
/**
|
|
10488
10739
|
* 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.
|
|
10489
10740
|
*/
|
|
@@ -10979,6 +11230,12 @@ interface GetIntegrationResponse {
|
|
|
10979
11230
|
};
|
|
10980
11231
|
};
|
|
10981
11232
|
};
|
|
11233
|
+
/**
|
|
11234
|
+
* Optional attributes
|
|
11235
|
+
*/
|
|
11236
|
+
attributes?: {
|
|
11237
|
+
[k: string]: string;
|
|
11238
|
+
};
|
|
10982
11239
|
/**
|
|
10983
11240
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
10984
11241
|
*/
|
|
@@ -11396,6 +11653,12 @@ interface GetIntegrationByNameResponse {
|
|
|
11396
11653
|
};
|
|
11397
11654
|
};
|
|
11398
11655
|
};
|
|
11656
|
+
/**
|
|
11657
|
+
* Optional attributes
|
|
11658
|
+
*/
|
|
11659
|
+
attributes?: {
|
|
11660
|
+
[k: string]: string;
|
|
11661
|
+
};
|
|
11399
11662
|
/**
|
|
11400
11663
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
11401
11664
|
*/
|
|
@@ -11576,6 +11839,12 @@ interface CreateInterfaceRequestBody {
|
|
|
11576
11839
|
script: string;
|
|
11577
11840
|
language: string;
|
|
11578
11841
|
};
|
|
11842
|
+
/**
|
|
11843
|
+
* Optional attributes
|
|
11844
|
+
*/
|
|
11845
|
+
attributes?: {
|
|
11846
|
+
[k: string]: string;
|
|
11847
|
+
};
|
|
11579
11848
|
/**
|
|
11580
11849
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
11581
11850
|
*/
|
|
@@ -11724,6 +11993,12 @@ interface CreateInterfaceResponse {
|
|
|
11724
11993
|
script: string;
|
|
11725
11994
|
language: string;
|
|
11726
11995
|
};
|
|
11996
|
+
/**
|
|
11997
|
+
* Optional attributes
|
|
11998
|
+
*/
|
|
11999
|
+
attributes?: {
|
|
12000
|
+
[k: string]: string;
|
|
12001
|
+
};
|
|
11727
12002
|
/**
|
|
11728
12003
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
11729
12004
|
*/
|
|
@@ -11883,6 +12158,12 @@ interface GetInterfaceResponse {
|
|
|
11883
12158
|
script: string;
|
|
11884
12159
|
language: string;
|
|
11885
12160
|
};
|
|
12161
|
+
/**
|
|
12162
|
+
* Optional attributes
|
|
12163
|
+
*/
|
|
12164
|
+
attributes?: {
|
|
12165
|
+
[k: string]: string;
|
|
12166
|
+
};
|
|
11886
12167
|
/**
|
|
11887
12168
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
11888
12169
|
*/
|
|
@@ -12043,6 +12324,12 @@ interface GetInterfaceByNameResponse {
|
|
|
12043
12324
|
script: string;
|
|
12044
12325
|
language: string;
|
|
12045
12326
|
};
|
|
12327
|
+
/**
|
|
12328
|
+
* Optional attributes
|
|
12329
|
+
*/
|
|
12330
|
+
attributes?: {
|
|
12331
|
+
[k: string]: string;
|
|
12332
|
+
};
|
|
12046
12333
|
/**
|
|
12047
12334
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
12048
12335
|
*/
|
|
@@ -12172,6 +12459,12 @@ interface UpdateInterfaceRequestBody {
|
|
|
12172
12459
|
script: string;
|
|
12173
12460
|
language: string;
|
|
12174
12461
|
} | null;
|
|
12462
|
+
/**
|
|
12463
|
+
* Optional attributes. Set attributes to null to remove them
|
|
12464
|
+
*/
|
|
12465
|
+
attributes?: {
|
|
12466
|
+
[k: string]: string | null;
|
|
12467
|
+
};
|
|
12175
12468
|
/**
|
|
12176
12469
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
12177
12470
|
*/
|
|
@@ -12320,6 +12613,12 @@ interface UpdateInterfaceResponse {
|
|
|
12320
12613
|
script: string;
|
|
12321
12614
|
language: string;
|
|
12322
12615
|
};
|
|
12616
|
+
/**
|
|
12617
|
+
* Optional attributes
|
|
12618
|
+
*/
|
|
12619
|
+
attributes?: {
|
|
12620
|
+
[k: string]: string;
|
|
12621
|
+
};
|
|
12323
12622
|
/**
|
|
12324
12623
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
12325
12624
|
*/
|
|
@@ -12580,6 +12879,12 @@ interface CreatePluginRequestBody {
|
|
|
12580
12879
|
};
|
|
12581
12880
|
};
|
|
12582
12881
|
};
|
|
12882
|
+
/**
|
|
12883
|
+
* Optional attributes
|
|
12884
|
+
*/
|
|
12885
|
+
attributes?: {
|
|
12886
|
+
[k: string]: string;
|
|
12887
|
+
};
|
|
12583
12888
|
code: {
|
|
12584
12889
|
/**
|
|
12585
12890
|
* Code of plugin bundled for Node.JS
|
|
@@ -12784,6 +13089,12 @@ interface CreatePluginResponse {
|
|
|
12784
13089
|
};
|
|
12785
13090
|
};
|
|
12786
13091
|
};
|
|
13092
|
+
/**
|
|
13093
|
+
* Optional attributes
|
|
13094
|
+
*/
|
|
13095
|
+
attributes?: {
|
|
13096
|
+
[k: string]: string;
|
|
13097
|
+
};
|
|
12787
13098
|
/**
|
|
12788
13099
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
12789
13100
|
*/
|
|
@@ -12989,6 +13300,12 @@ interface GetPluginResponse {
|
|
|
12989
13300
|
};
|
|
12990
13301
|
};
|
|
12991
13302
|
};
|
|
13303
|
+
/**
|
|
13304
|
+
* Optional attributes
|
|
13305
|
+
*/
|
|
13306
|
+
attributes?: {
|
|
13307
|
+
[k: string]: string;
|
|
13308
|
+
};
|
|
12992
13309
|
/**
|
|
12993
13310
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
12994
13311
|
*/
|
|
@@ -13195,6 +13512,12 @@ interface GetPluginByNameResponse {
|
|
|
13195
13512
|
};
|
|
13196
13513
|
};
|
|
13197
13514
|
};
|
|
13515
|
+
/**
|
|
13516
|
+
* Optional attributes
|
|
13517
|
+
*/
|
|
13518
|
+
attributes?: {
|
|
13519
|
+
[k: string]: string;
|
|
13520
|
+
};
|
|
13198
13521
|
/**
|
|
13199
13522
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
13200
13523
|
*/
|
|
@@ -13360,6 +13683,12 @@ interface UpdatePluginRequestBody {
|
|
|
13360
13683
|
} | null;
|
|
13361
13684
|
};
|
|
13362
13685
|
};
|
|
13686
|
+
/**
|
|
13687
|
+
* Optional attributes. Set attributes to null to remove them
|
|
13688
|
+
*/
|
|
13689
|
+
attributes?: {
|
|
13690
|
+
[k: string]: string | null;
|
|
13691
|
+
};
|
|
13363
13692
|
code?: {
|
|
13364
13693
|
/**
|
|
13365
13694
|
* Code of plugin bundled for Node.JS
|
|
@@ -13564,6 +13893,12 @@ interface UpdatePluginResponse {
|
|
|
13564
13893
|
};
|
|
13565
13894
|
};
|
|
13566
13895
|
};
|
|
13896
|
+
/**
|
|
13897
|
+
* Optional attributes
|
|
13898
|
+
*/
|
|
13899
|
+
attributes?: {
|
|
13900
|
+
[k: string]: string;
|
|
13901
|
+
};
|
|
13567
13902
|
/**
|
|
13568
13903
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
13569
13904
|
*/
|
|
@@ -16581,6 +16916,7 @@ declare class Client$1 {
|
|
|
16581
16916
|
readonly createIntegrationShareableId: (input: CreateIntegrationShareableIdInput) => Promise<CreateIntegrationShareableIdResponse>;
|
|
16582
16917
|
readonly deleteIntegrationShareableId: (input: DeleteIntegrationShareableIdInput) => Promise<DeleteIntegrationShareableIdResponse>;
|
|
16583
16918
|
readonly getIntegrationShareableId: (input: GetIntegrationShareableIdInput) => Promise<GetIntegrationShareableIdResponse>;
|
|
16919
|
+
readonly unlinkSandboxedConversations: (input: UnlinkSandboxedConversationsInput) => Promise<UnlinkSandboxedConversationsResponse>;
|
|
16584
16920
|
readonly listBotApiKeys: (input: ListBotApiKeysInput) => Promise<ListBotApiKeysResponse>;
|
|
16585
16921
|
readonly createBotApiKey: (input: CreateBotApiKeyInput) => Promise<CreateBotApiKeyResponse>;
|
|
16586
16922
|
readonly deleteBotApiKey: (input: DeleteBotApiKeyInput) => Promise<DeleteBotApiKeyResponse>;
|