@botpress/api 1.23.0 → 1.25.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.js +169 -5
- package/dist/src/gen/admin/state.d.ts +78 -0
- package/dist/src/gen/state.d.ts +78 -0
- package/package.json +1 -1
- package/src/gen/admin/metadata.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +83 -1
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +1 -1
- package/src/gen/state.ts +83 -1
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -284652,7 +284652,7 @@ var state = {
|
|
|
284652
284652
|
"title": "Botpress API",
|
|
284653
284653
|
"description": "API for Botpress Cloud",
|
|
284654
284654
|
"server": "https://api.botpress.cloud",
|
|
284655
|
-
"version": "1.
|
|
284655
|
+
"version": "1.25.0",
|
|
284656
284656
|
"prefix": "v1"
|
|
284657
284657
|
},
|
|
284658
284658
|
"errors": [
|
|
@@ -294280,6 +294280,67 @@ var state2 = {
|
|
|
294280
294280
|
}
|
|
294281
294281
|
}
|
|
294282
294282
|
},
|
|
294283
|
+
"getBotJson": {
|
|
294284
|
+
"name": "getBotJson",
|
|
294285
|
+
"description": "Download the raw bot JSON for a bot. Optionally specify versionId to download a specific version.",
|
|
294286
|
+
"method": "get",
|
|
294287
|
+
"path": "/v1/admin/bots/{id}/bot-json",
|
|
294288
|
+
"section": "bot",
|
|
294289
|
+
"parameters": {
|
|
294290
|
+
"id": {
|
|
294291
|
+
"type": "string",
|
|
294292
|
+
"description": "Bot ID",
|
|
294293
|
+
"in": "path"
|
|
294294
|
+
}
|
|
294295
|
+
},
|
|
294296
|
+
"response": {
|
|
294297
|
+
"description": "Success",
|
|
294298
|
+
"schema": {
|
|
294299
|
+
"type": "object",
|
|
294300
|
+
"additionalProperties": true,
|
|
294301
|
+
"title": "getBotJsonResponse"
|
|
294302
|
+
}
|
|
294303
|
+
}
|
|
294304
|
+
},
|
|
294305
|
+
"publishFromBotJson": {
|
|
294306
|
+
"name": "publishFromBotJson",
|
|
294307
|
+
"description": "Deploy a bot using the provided raw bot JSON payload.",
|
|
294308
|
+
"method": "post",
|
|
294309
|
+
"path": "/v1/admin/bots/{id}/publish-from-bot-json",
|
|
294310
|
+
"section": "bot",
|
|
294311
|
+
"parameters": {
|
|
294312
|
+
"id": {
|
|
294313
|
+
"type": "string",
|
|
294314
|
+
"description": "Bot ID",
|
|
294315
|
+
"in": "path"
|
|
294316
|
+
}
|
|
294317
|
+
},
|
|
294318
|
+
"requestBody": {
|
|
294319
|
+
"description": "Raw bot JSON payload",
|
|
294320
|
+
"schema": {
|
|
294321
|
+
"type": "object",
|
|
294322
|
+
"properties": {
|
|
294323
|
+
"botJson": {
|
|
294324
|
+
"type": "object",
|
|
294325
|
+
"additionalProperties": true
|
|
294326
|
+
}
|
|
294327
|
+
},
|
|
294328
|
+
"required": [
|
|
294329
|
+
"botJson"
|
|
294330
|
+
],
|
|
294331
|
+
"title": "publishFromBotJsonBody",
|
|
294332
|
+
"additionalProperties": false
|
|
294333
|
+
}
|
|
294334
|
+
},
|
|
294335
|
+
"response": {
|
|
294336
|
+
"description": "Success",
|
|
294337
|
+
"schema": {
|
|
294338
|
+
"type": "object",
|
|
294339
|
+
"additionalProperties": true,
|
|
294340
|
+
"title": "publishFromBotJsonResponse"
|
|
294341
|
+
}
|
|
294342
|
+
}
|
|
294343
|
+
},
|
|
294283
294344
|
"createBotVersion": {
|
|
294284
294345
|
"name": "createBotVersion",
|
|
294285
294346
|
"description": "Create a new version for a bot",
|
|
@@ -297176,6 +297237,10 @@ var state2 = {
|
|
|
297176
297237
|
"additionalProperties": false
|
|
297177
297238
|
}
|
|
297178
297239
|
},
|
|
297240
|
+
"messageStatusChangeNotificationsEnabled": {
|
|
297241
|
+
"type": "boolean",
|
|
297242
|
+
"description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
|
|
297243
|
+
},
|
|
297179
297244
|
"secrets": {
|
|
297180
297245
|
"type": "object",
|
|
297181
297246
|
"additionalProperties": {
|
|
@@ -297766,6 +297831,10 @@ var state2 = {
|
|
|
297766
297831
|
"additionalProperties": false
|
|
297767
297832
|
}
|
|
297768
297833
|
},
|
|
297834
|
+
"messageStatusChangeNotificationsEnabled": {
|
|
297835
|
+
"type": "boolean",
|
|
297836
|
+
"description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
|
|
297837
|
+
},
|
|
297769
297838
|
"secrets": {
|
|
297770
297839
|
"type": "object",
|
|
297771
297840
|
"additionalProperties": {
|
|
@@ -297929,6 +297998,10 @@ var state2 = {
|
|
|
297929
297998
|
},
|
|
297930
297999
|
"description": "Additional configuration definitions of the integration"
|
|
297931
298000
|
},
|
|
298001
|
+
"messageStatusChangeNotificationsEnabled": {
|
|
298002
|
+
"type": "boolean",
|
|
298003
|
+
"description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
|
|
298004
|
+
},
|
|
297932
298005
|
"channels": {
|
|
297933
298006
|
"type": "object",
|
|
297934
298007
|
"additionalProperties": {
|
|
@@ -298521,6 +298594,10 @@ var state2 = {
|
|
|
298521
298594
|
},
|
|
298522
298595
|
"description": "Additional configuration definitions of the integration"
|
|
298523
298596
|
},
|
|
298597
|
+
"messageStatusChangeNotificationsEnabled": {
|
|
298598
|
+
"type": "boolean",
|
|
298599
|
+
"description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
|
|
298600
|
+
},
|
|
298524
298601
|
"channels": {
|
|
298525
298602
|
"type": "object",
|
|
298526
298603
|
"additionalProperties": {
|
|
@@ -301675,7 +301752,7 @@ var state2 = {
|
|
|
301675
301752
|
"title": "Botpress API",
|
|
301676
301753
|
"description": "API for Botpress Cloud",
|
|
301677
301754
|
"server": "https://api.botpress.cloud",
|
|
301678
|
-
"version": "1.
|
|
301755
|
+
"version": "1.25.0",
|
|
301679
301756
|
"prefix": "v1"
|
|
301680
301757
|
},
|
|
301681
301758
|
"errors": [
|
|
@@ -301811,6 +301888,7 @@ var state2 = {
|
|
|
301811
301888
|
"createBotBody": true,
|
|
301812
301889
|
"updateBotBody": true,
|
|
301813
301890
|
"transferBotBody": true,
|
|
301891
|
+
"publishFromBotJsonBody": true,
|
|
301814
301892
|
"createBotVersionBody": true,
|
|
301815
301893
|
"deployBotVersionBody": true,
|
|
301816
301894
|
"createIntegrationShareableIdBody": true,
|
|
@@ -301870,6 +301948,8 @@ var state2 = {
|
|
|
301870
301948
|
"listBotIssueEventsResponse": true,
|
|
301871
301949
|
"listBotVersionsResponse": true,
|
|
301872
301950
|
"getBotVersionResponse": true,
|
|
301951
|
+
"getBotJsonResponse": true,
|
|
301952
|
+
"publishFromBotJsonResponse": true,
|
|
301873
301953
|
"createBotVersionResponse": true,
|
|
301874
301954
|
"deployBotVersionResponse": true,
|
|
301875
301955
|
"createIntegrationShareableIdResponse": true,
|
|
@@ -305531,6 +305611,8 @@ var state2 = {
|
|
|
305531
305611
|
"listBotIssueEvents",
|
|
305532
305612
|
"listBotVersions",
|
|
305533
305613
|
"getBotVersion",
|
|
305614
|
+
"getBotJson",
|
|
305615
|
+
"publishFromBotJson",
|
|
305534
305616
|
"createBotVersion",
|
|
305535
305617
|
"deployBotVersion",
|
|
305536
305618
|
"createIntegrationShareableId",
|
|
@@ -307483,7 +307565,7 @@ var state3 = {
|
|
|
307483
307565
|
"title": "Botpress API",
|
|
307484
307566
|
"description": "API for Botpress Cloud",
|
|
307485
307567
|
"server": "https://api.botpress.cloud",
|
|
307486
|
-
"version": "1.
|
|
307568
|
+
"version": "1.25.0",
|
|
307487
307569
|
"prefix": "v1"
|
|
307488
307570
|
},
|
|
307489
307571
|
"errors": [
|
|
@@ -312529,7 +312611,7 @@ var state4 = {
|
|
|
312529
312611
|
"title": "Botpress API",
|
|
312530
312612
|
"description": "API for Botpress Cloud",
|
|
312531
312613
|
"server": "https://api.botpress.cloud",
|
|
312532
|
-
"version": "1.
|
|
312614
|
+
"version": "1.25.0",
|
|
312533
312615
|
"prefix": "v1"
|
|
312534
312616
|
},
|
|
312535
312617
|
"errors": [
|
|
@@ -324673,6 +324755,67 @@ var state5 = {
|
|
|
324673
324755
|
}
|
|
324674
324756
|
}
|
|
324675
324757
|
},
|
|
324758
|
+
"getBotJson": {
|
|
324759
|
+
"name": "getBotJson",
|
|
324760
|
+
"description": "Download the raw bot JSON for a bot. Optionally specify versionId to download a specific version.",
|
|
324761
|
+
"method": "get",
|
|
324762
|
+
"path": "/v1/admin/bots/{id}/bot-json",
|
|
324763
|
+
"section": "bot",
|
|
324764
|
+
"parameters": {
|
|
324765
|
+
"id": {
|
|
324766
|
+
"type": "string",
|
|
324767
|
+
"description": "Bot ID",
|
|
324768
|
+
"in": "path"
|
|
324769
|
+
}
|
|
324770
|
+
},
|
|
324771
|
+
"response": {
|
|
324772
|
+
"description": "Success",
|
|
324773
|
+
"schema": {
|
|
324774
|
+
"type": "object",
|
|
324775
|
+
"additionalProperties": true,
|
|
324776
|
+
"title": "getBotJsonResponse"
|
|
324777
|
+
}
|
|
324778
|
+
}
|
|
324779
|
+
},
|
|
324780
|
+
"publishFromBotJson": {
|
|
324781
|
+
"name": "publishFromBotJson",
|
|
324782
|
+
"description": "Deploy a bot using the provided raw bot JSON payload.",
|
|
324783
|
+
"method": "post",
|
|
324784
|
+
"path": "/v1/admin/bots/{id}/publish-from-bot-json",
|
|
324785
|
+
"section": "bot",
|
|
324786
|
+
"parameters": {
|
|
324787
|
+
"id": {
|
|
324788
|
+
"type": "string",
|
|
324789
|
+
"description": "Bot ID",
|
|
324790
|
+
"in": "path"
|
|
324791
|
+
}
|
|
324792
|
+
},
|
|
324793
|
+
"requestBody": {
|
|
324794
|
+
"description": "Raw bot JSON payload",
|
|
324795
|
+
"schema": {
|
|
324796
|
+
"type": "object",
|
|
324797
|
+
"properties": {
|
|
324798
|
+
"botJson": {
|
|
324799
|
+
"type": "object",
|
|
324800
|
+
"additionalProperties": true
|
|
324801
|
+
}
|
|
324802
|
+
},
|
|
324803
|
+
"required": [
|
|
324804
|
+
"botJson"
|
|
324805
|
+
],
|
|
324806
|
+
"title": "publishFromBotJsonBody",
|
|
324807
|
+
"additionalProperties": false
|
|
324808
|
+
}
|
|
324809
|
+
},
|
|
324810
|
+
"response": {
|
|
324811
|
+
"description": "Success",
|
|
324812
|
+
"schema": {
|
|
324813
|
+
"type": "object",
|
|
324814
|
+
"additionalProperties": true,
|
|
324815
|
+
"title": "publishFromBotJsonResponse"
|
|
324816
|
+
}
|
|
324817
|
+
}
|
|
324818
|
+
},
|
|
324676
324819
|
"createBotVersion": {
|
|
324677
324820
|
"name": "createBotVersion",
|
|
324678
324821
|
"description": "Create a new version for a bot",
|
|
@@ -327570,6 +327713,10 @@ var state5 = {
|
|
|
327570
327713
|
"additionalProperties": false
|
|
327571
327714
|
}
|
|
327572
327715
|
},
|
|
327716
|
+
"messageStatusChangeNotificationsEnabled": {
|
|
327717
|
+
"type": "boolean",
|
|
327718
|
+
"description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
|
|
327719
|
+
},
|
|
327573
327720
|
"secrets": {
|
|
327574
327721
|
"type": "object",
|
|
327575
327722
|
"additionalProperties": {
|
|
@@ -328160,6 +328307,10 @@ var state5 = {
|
|
|
328160
328307
|
"additionalProperties": false
|
|
328161
328308
|
}
|
|
328162
328309
|
},
|
|
328310
|
+
"messageStatusChangeNotificationsEnabled": {
|
|
328311
|
+
"type": "boolean",
|
|
328312
|
+
"description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
|
|
328313
|
+
},
|
|
328163
328314
|
"secrets": {
|
|
328164
328315
|
"type": "object",
|
|
328165
328316
|
"additionalProperties": {
|
|
@@ -328323,6 +328474,10 @@ var state5 = {
|
|
|
328323
328474
|
},
|
|
328324
328475
|
"description": "Additional configuration definitions of the integration"
|
|
328325
328476
|
},
|
|
328477
|
+
"messageStatusChangeNotificationsEnabled": {
|
|
328478
|
+
"type": "boolean",
|
|
328479
|
+
"description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
|
|
328480
|
+
},
|
|
328326
328481
|
"channels": {
|
|
328327
328482
|
"type": "object",
|
|
328328
328483
|
"additionalProperties": {
|
|
@@ -328915,6 +329070,10 @@ var state5 = {
|
|
|
328915
329070
|
},
|
|
328916
329071
|
"description": "Additional configuration definitions of the integration"
|
|
328917
329072
|
},
|
|
329073
|
+
"messageStatusChangeNotificationsEnabled": {
|
|
329074
|
+
"type": "boolean",
|
|
329075
|
+
"description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
|
|
329076
|
+
},
|
|
328918
329077
|
"channels": {
|
|
328919
329078
|
"type": "object",
|
|
328920
329079
|
"additionalProperties": {
|
|
@@ -335043,7 +335202,7 @@ var state5 = {
|
|
|
335043
335202
|
"title": "Botpress API",
|
|
335044
335203
|
"description": "API for Botpress Cloud",
|
|
335045
335204
|
"server": "https://api.botpress.cloud",
|
|
335046
|
-
"version": "1.
|
|
335205
|
+
"version": "1.25.0",
|
|
335047
335206
|
"prefix": "v1"
|
|
335048
335207
|
},
|
|
335049
335208
|
"errors": [
|
|
@@ -335202,6 +335361,7 @@ var state5 = {
|
|
|
335202
335361
|
"createBotBody": true,
|
|
335203
335362
|
"updateBotBody": true,
|
|
335204
335363
|
"transferBotBody": true,
|
|
335364
|
+
"publishFromBotJsonBody": true,
|
|
335205
335365
|
"createBotVersionBody": true,
|
|
335206
335366
|
"deployBotVersionBody": true,
|
|
335207
335367
|
"createIntegrationShareableIdBody": true,
|
|
@@ -335323,6 +335483,8 @@ var state5 = {
|
|
|
335323
335483
|
"listBotIssueEventsResponse": true,
|
|
335324
335484
|
"listBotVersionsResponse": true,
|
|
335325
335485
|
"getBotVersionResponse": true,
|
|
335486
|
+
"getBotJsonResponse": true,
|
|
335487
|
+
"publishFromBotJsonResponse": true,
|
|
335326
335488
|
"createBotVersionResponse": true,
|
|
335327
335489
|
"deployBotVersionResponse": true,
|
|
335328
335490
|
"createIntegrationShareableIdResponse": true,
|
|
@@ -339070,6 +339232,8 @@ var state5 = {
|
|
|
339070
339232
|
"listBotIssueEvents",
|
|
339071
339233
|
"listBotVersions",
|
|
339072
339234
|
"getBotVersion",
|
|
339235
|
+
"getBotJson",
|
|
339236
|
+
"publishFromBotJson",
|
|
339073
339237
|
"createBotVersion",
|
|
339074
339238
|
"deployBotVersion",
|
|
339075
339239
|
"createIntegrationShareableId",
|
|
@@ -5010,6 +5010,65 @@ export declare const state: {
|
|
|
5010
5010
|
};
|
|
5011
5011
|
};
|
|
5012
5012
|
};
|
|
5013
|
+
getBotJson: {
|
|
5014
|
+
name: string;
|
|
5015
|
+
description: string;
|
|
5016
|
+
method: "get";
|
|
5017
|
+
path: string;
|
|
5018
|
+
section: "bot";
|
|
5019
|
+
parameters: {
|
|
5020
|
+
id: {
|
|
5021
|
+
type: "string";
|
|
5022
|
+
description: string;
|
|
5023
|
+
in: "path";
|
|
5024
|
+
};
|
|
5025
|
+
};
|
|
5026
|
+
response: {
|
|
5027
|
+
description: string;
|
|
5028
|
+
schema: {
|
|
5029
|
+
type: "object";
|
|
5030
|
+
additionalProperties: true;
|
|
5031
|
+
title: string;
|
|
5032
|
+
};
|
|
5033
|
+
};
|
|
5034
|
+
};
|
|
5035
|
+
publishFromBotJson: {
|
|
5036
|
+
name: string;
|
|
5037
|
+
description: string;
|
|
5038
|
+
method: "post";
|
|
5039
|
+
path: string;
|
|
5040
|
+
section: "bot";
|
|
5041
|
+
parameters: {
|
|
5042
|
+
id: {
|
|
5043
|
+
type: "string";
|
|
5044
|
+
description: string;
|
|
5045
|
+
in: "path";
|
|
5046
|
+
};
|
|
5047
|
+
};
|
|
5048
|
+
requestBody: {
|
|
5049
|
+
description: string;
|
|
5050
|
+
schema: {
|
|
5051
|
+
type: "object";
|
|
5052
|
+
properties: {
|
|
5053
|
+
botJson: {
|
|
5054
|
+
type: "object";
|
|
5055
|
+
additionalProperties: true;
|
|
5056
|
+
};
|
|
5057
|
+
};
|
|
5058
|
+
required: string[];
|
|
5059
|
+
title: string;
|
|
5060
|
+
additionalProperties: false;
|
|
5061
|
+
};
|
|
5062
|
+
};
|
|
5063
|
+
response: {
|
|
5064
|
+
description: string;
|
|
5065
|
+
schema: {
|
|
5066
|
+
type: "object";
|
|
5067
|
+
additionalProperties: true;
|
|
5068
|
+
title: string;
|
|
5069
|
+
};
|
|
5070
|
+
};
|
|
5071
|
+
};
|
|
5013
5072
|
createBotVersion: {
|
|
5014
5073
|
name: string;
|
|
5015
5074
|
description: string;
|
|
@@ -7474,6 +7533,10 @@ export declare const state: {
|
|
|
7474
7533
|
additionalProperties: false;
|
|
7475
7534
|
};
|
|
7476
7535
|
};
|
|
7536
|
+
messageStatusChangeNotificationsEnabled: {
|
|
7537
|
+
type: "boolean";
|
|
7538
|
+
description: string;
|
|
7539
|
+
};
|
|
7477
7540
|
secrets: {
|
|
7478
7541
|
type: "object";
|
|
7479
7542
|
additionalProperties: {
|
|
@@ -8021,6 +8084,10 @@ export declare const state: {
|
|
|
8021
8084
|
additionalProperties: false;
|
|
8022
8085
|
};
|
|
8023
8086
|
};
|
|
8087
|
+
messageStatusChangeNotificationsEnabled: {
|
|
8088
|
+
type: "boolean";
|
|
8089
|
+
description: string;
|
|
8090
|
+
};
|
|
8024
8091
|
secrets: {
|
|
8025
8092
|
type: "object";
|
|
8026
8093
|
additionalProperties: {
|
|
@@ -8181,6 +8248,10 @@ export declare const state: {
|
|
|
8181
8248
|
};
|
|
8182
8249
|
description: string;
|
|
8183
8250
|
};
|
|
8251
|
+
messageStatusChangeNotificationsEnabled: {
|
|
8252
|
+
type: "boolean";
|
|
8253
|
+
description: string;
|
|
8254
|
+
};
|
|
8184
8255
|
channels: {
|
|
8185
8256
|
type: "object";
|
|
8186
8257
|
additionalProperties: {
|
|
@@ -8735,6 +8806,10 @@ export declare const state: {
|
|
|
8735
8806
|
};
|
|
8736
8807
|
description: string;
|
|
8737
8808
|
};
|
|
8809
|
+
messageStatusChangeNotificationsEnabled: {
|
|
8810
|
+
type: "boolean";
|
|
8811
|
+
description: string;
|
|
8812
|
+
};
|
|
8738
8813
|
channels: {
|
|
8739
8814
|
type: "object";
|
|
8740
8815
|
additionalProperties: {
|
|
@@ -11617,6 +11692,7 @@ export declare const state: {
|
|
|
11617
11692
|
createBotBody: true;
|
|
11618
11693
|
updateBotBody: true;
|
|
11619
11694
|
transferBotBody: true;
|
|
11695
|
+
publishFromBotJsonBody: true;
|
|
11620
11696
|
createBotVersionBody: true;
|
|
11621
11697
|
deployBotVersionBody: true;
|
|
11622
11698
|
createIntegrationShareableIdBody: true;
|
|
@@ -11676,6 +11752,8 @@ export declare const state: {
|
|
|
11676
11752
|
listBotIssueEventsResponse: true;
|
|
11677
11753
|
listBotVersionsResponse: true;
|
|
11678
11754
|
getBotVersionResponse: true;
|
|
11755
|
+
getBotJsonResponse: true;
|
|
11756
|
+
publishFromBotJsonResponse: true;
|
|
11679
11757
|
createBotVersionResponse: true;
|
|
11680
11758
|
deployBotVersionResponse: true;
|
|
11681
11759
|
createIntegrationShareableIdResponse: true;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -7357,6 +7357,65 @@ export declare const state: {
|
|
|
7357
7357
|
};
|
|
7358
7358
|
};
|
|
7359
7359
|
};
|
|
7360
|
+
getBotJson: {
|
|
7361
|
+
name: string;
|
|
7362
|
+
description: string;
|
|
7363
|
+
method: "get";
|
|
7364
|
+
path: string;
|
|
7365
|
+
section: "bot";
|
|
7366
|
+
parameters: {
|
|
7367
|
+
id: {
|
|
7368
|
+
type: "string";
|
|
7369
|
+
description: string;
|
|
7370
|
+
in: "path";
|
|
7371
|
+
};
|
|
7372
|
+
};
|
|
7373
|
+
response: {
|
|
7374
|
+
description: string;
|
|
7375
|
+
schema: {
|
|
7376
|
+
type: "object";
|
|
7377
|
+
additionalProperties: true;
|
|
7378
|
+
title: string;
|
|
7379
|
+
};
|
|
7380
|
+
};
|
|
7381
|
+
};
|
|
7382
|
+
publishFromBotJson: {
|
|
7383
|
+
name: string;
|
|
7384
|
+
description: string;
|
|
7385
|
+
method: "post";
|
|
7386
|
+
path: string;
|
|
7387
|
+
section: "bot";
|
|
7388
|
+
parameters: {
|
|
7389
|
+
id: {
|
|
7390
|
+
type: "string";
|
|
7391
|
+
description: string;
|
|
7392
|
+
in: "path";
|
|
7393
|
+
};
|
|
7394
|
+
};
|
|
7395
|
+
requestBody: {
|
|
7396
|
+
description: string;
|
|
7397
|
+
schema: {
|
|
7398
|
+
type: "object";
|
|
7399
|
+
properties: {
|
|
7400
|
+
botJson: {
|
|
7401
|
+
type: "object";
|
|
7402
|
+
additionalProperties: true;
|
|
7403
|
+
};
|
|
7404
|
+
};
|
|
7405
|
+
required: string[];
|
|
7406
|
+
title: string;
|
|
7407
|
+
additionalProperties: false;
|
|
7408
|
+
};
|
|
7409
|
+
};
|
|
7410
|
+
response: {
|
|
7411
|
+
description: string;
|
|
7412
|
+
schema: {
|
|
7413
|
+
type: "object";
|
|
7414
|
+
additionalProperties: true;
|
|
7415
|
+
title: string;
|
|
7416
|
+
};
|
|
7417
|
+
};
|
|
7418
|
+
};
|
|
7360
7419
|
createBotVersion: {
|
|
7361
7420
|
name: string;
|
|
7362
7421
|
description: string;
|
|
@@ -9822,6 +9881,10 @@ export declare const state: {
|
|
|
9822
9881
|
additionalProperties: false;
|
|
9823
9882
|
};
|
|
9824
9883
|
};
|
|
9884
|
+
messageStatusChangeNotificationsEnabled: {
|
|
9885
|
+
type: "boolean";
|
|
9886
|
+
description: string;
|
|
9887
|
+
};
|
|
9825
9888
|
secrets: {
|
|
9826
9889
|
type: "object";
|
|
9827
9890
|
additionalProperties: {
|
|
@@ -10369,6 +10432,10 @@ export declare const state: {
|
|
|
10369
10432
|
additionalProperties: false;
|
|
10370
10433
|
};
|
|
10371
10434
|
};
|
|
10435
|
+
messageStatusChangeNotificationsEnabled: {
|
|
10436
|
+
type: "boolean";
|
|
10437
|
+
description: string;
|
|
10438
|
+
};
|
|
10372
10439
|
secrets: {
|
|
10373
10440
|
type: "object";
|
|
10374
10441
|
additionalProperties: {
|
|
@@ -10529,6 +10596,10 @@ export declare const state: {
|
|
|
10529
10596
|
};
|
|
10530
10597
|
description: string;
|
|
10531
10598
|
};
|
|
10599
|
+
messageStatusChangeNotificationsEnabled: {
|
|
10600
|
+
type: "boolean";
|
|
10601
|
+
description: string;
|
|
10602
|
+
};
|
|
10532
10603
|
channels: {
|
|
10533
10604
|
type: "object";
|
|
10534
10605
|
additionalProperties: {
|
|
@@ -11083,6 +11154,10 @@ export declare const state: {
|
|
|
11083
11154
|
};
|
|
11084
11155
|
description: string;
|
|
11085
11156
|
};
|
|
11157
|
+
messageStatusChangeNotificationsEnabled: {
|
|
11158
|
+
type: "boolean";
|
|
11159
|
+
description: string;
|
|
11160
|
+
};
|
|
11086
11161
|
channels: {
|
|
11087
11162
|
type: "object";
|
|
11088
11163
|
additionalProperties: {
|
|
@@ -16545,6 +16620,7 @@ export declare const state: {
|
|
|
16545
16620
|
createBotBody: true;
|
|
16546
16621
|
updateBotBody: true;
|
|
16547
16622
|
transferBotBody: true;
|
|
16623
|
+
publishFromBotJsonBody: true;
|
|
16548
16624
|
createBotVersionBody: true;
|
|
16549
16625
|
deployBotVersionBody: true;
|
|
16550
16626
|
createIntegrationShareableIdBody: true;
|
|
@@ -16666,6 +16742,8 @@ export declare const state: {
|
|
|
16666
16742
|
listBotIssueEventsResponse: true;
|
|
16667
16743
|
listBotVersionsResponse: true;
|
|
16668
16744
|
getBotVersionResponse: true;
|
|
16745
|
+
getBotJsonResponse: true;
|
|
16746
|
+
publishFromBotJsonResponse: true;
|
|
16669
16747
|
createBotVersionResponse: true;
|
|
16670
16748
|
deployBotVersionResponse: true;
|
|
16671
16749
|
createIntegrationShareableIdResponse: true;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"sections":[{"description":"","title":"User","name":"user","operations":[],"schema":"User"},{"description":"","title":"Conversation","name":"conversation","operations":[],"schema":"Conversation"},{"description":"","title":"Event","name":"event","operations":[],"schema":"Event"},{"description":"","title":"Message","name":"message","operations":[],"schema":"Message"},{"description":"","title":"State","name":"state","operations":[],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration","listPublicPlugins","getPublicPluginById","getPublicPlugin","getPublicPluginCode","listPublicInterfaces","getPublicInterfaceById","getPublicInterface"]},{"description":"","title":"Action","name":"action","operations":[]},{"description":"","title":"Task","name":"task","operations":[],"schema":"Task"},{"description":"","title":"Workflow","name":"workflow","operations":[],"schema":"Workflow"},{"description":"","title":"Tag","name":"tag","operations":[]},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","listActionRuns","getBotIssue","listBotIssues","deleteBotIssue","listBotIssueEvents","listBotVersions","getBotVersion","createBotVersion","deployBotVersion","createIntegrationShareableId","deleteIntegrationShareableId","getIntegrationShareableId","unlinkSandboxedConversations","listBotApiKeys","createBotApiKey","deleteBotApiKey"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","validateIntegrationCreation","updateIntegration","validateIntegrationUpdate","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration","requestIntegrationVerification"],"schema":"Integration"},{"title":"Interface","description":"","name":"interface","operations":["createInterface","getInterface","getInterfaceByName","updateInterface","deleteInterface","listInterfaces"],"schema":"Interface"},{"title":"Plugin","description":"","name":"plugin","operations":["createPlugin","getPlugin","getPluginByName","updatePlugin","deletePlugin","listPlugins","getPluginCode"],"schema":"Plugin"},{"title":"Workspace","description":"","name":"workspace","operations":["listWorkspaceInvoices","getUpcomingInvoice","chargeWorkspaceUnpaidInvoices","createWorkspace","getPublicWorkspace","getWorkspace","listWorkspaceUsages","breakDownWorkspaceUsageByBot","getAllWorkspaceQuotaCompletion","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","checkHandleAvailability","listWorkspaces","listPublicWorkspaces","deleteWorkspace","getAuditRecords"],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":["listWorkspaceMembers","getWorkspaceMember","deleteWorkspaceMember","createWorkspaceMember","updateWorkspaceMember"],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":["getAccount","updateAccount","deleteAccount","listPersonalAccessTokens","createPersonalAccessToken","deletePersonalAccessToken","setAccountPreference","getAccountPreference"],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":["getUsage","getMultipleUsages","listUsageActivityDaily"],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":["changeAISpendQuota"]},{"title":"Helper","description":"","name":"helper","operations":["runVrl"]},{"title":"Activity","description":"","name":"activity","operations":["listActivities"],"schema":"Activity"},{"title":"Tables","description":"Manage and interact with table structures, including creation, updates, and querying of tables and their rows.","name":"tables","operations":[],"schema":"Table"},{"title":"Files","description":"The Files API allows you to create, manage, and index files that can be used by your bots and integrations. Files can be in any text or binary format, and documents (such as PDF, Microsoft Word, HTML, Markdown, etc.) can be indexed to be used for semantic search in RAG (Retrieval Augmented Generation) implementations. Files are private by default but can be made publicly accessible through a permanent URL that's unique for each file.","name":"files","operations":[],"schema":"File"}],"errors":[{"status":500,"type":"Unknown","description":"An unknown error occurred"},{"status":500,"type":"Internal","description":"An internal error occurred"},{"status":401,"type":"Unauthorized","description":"The request requires to be authenticated."},{"status":403,"type":"Forbidden","description":"The requested action can't be peform by this resource."},{"status":413,"type":"PayloadTooLarge","description":"The request payload is too large."},{"status":400,"type":"InvalidPayload","description":"The request payload is invalid."},{"status":415,"type":"UnsupportedMediaType","description":"The request is invalid because the content-type is not supported."},{"status":405,"type":"MethodNotFound","description":"The requested method does not exist."},{"status":404,"type":"ResourceNotFound","description":"The requested resource does not exist."},{"status":400,"type":"InvalidJsonSchema","description":"The provided JSON schema is invalid."},{"status":400,"type":"InvalidDataFormat","description":"The provided data doesn't respect the provided JSON schema."},{"status":400,"type":"InvalidIdentifier","description":"The provided identifier is not valid. An identifier must start with a lowercase letter, be between 2 and 100 characters long and use only alphanumeric characters."},{"status":409,"type":"RelationConflict","description":"The resource is related with a different resource that the one referenced in the request. This is usually caused when providing two resource identifiers that aren't linked together."},{"status":409,"type":"ReferenceConstraint","description":"The resource cannot be deleted because it's referenced by another resource"},{"status":409,"type":"ResourceLockedConflict","description":"The resource is current locked and cannot be operated on until the lock is released."},{"status":400,"type":"ReferenceNotFound","description":"The provided resource reference is missing. This is usually caused when providing an invalid id inside the payload of a request."},{"status":400,"type":"InvalidQuery","description":"The provided query is invalid. This is usually caused when providing an invalid parameter for querying a resource."},{"status":400,"type":"Runtime","description":"An error happened during the execution of a runtime (bot or integration)."},{"status":409,"type":"AlreadyExists","description":"The record attempted to be created already exists."},{"status":429,"type":"RateLimited","description":"The request has been rate limited."},{"status":402,"type":"PaymentRequired","description":"A payment is required to perform this request."},{"status":403,"type":"QuotaExceeded","description":"The request exceeds the allowed quota. Quotas are a soft limit that can be increased."},{"status":413,"type":"LimitExceeded","description":"The request exceeds the allowed limit. Limits are a hard limit that cannot be increased."},{"status":400,"type":"BreakingChanges","description":"Request payload contains breaking changes which is not allowed for this resource without a version increment."}]}
|
|
1
|
+
{"sections":[{"description":"","title":"User","name":"user","operations":[],"schema":"User"},{"description":"","title":"Conversation","name":"conversation","operations":[],"schema":"Conversation"},{"description":"","title":"Event","name":"event","operations":[],"schema":"Event"},{"description":"","title":"Message","name":"message","operations":[],"schema":"Message"},{"description":"","title":"State","name":"state","operations":[],"schema":"State"},{"title":"Hub","description":"","name":"hub","operations":["listPublicIntegrations","getPublicIntegrationById","getPublicIntegration","listPublicPlugins","getPublicPluginById","getPublicPlugin","getPublicPluginCode","listPublicInterfaces","getPublicInterfaceById","getPublicInterface"]},{"description":"","title":"Action","name":"action","operations":[]},{"description":"","title":"Task","name":"task","operations":[],"schema":"Task"},{"description":"","title":"Workflow","name":"workflow","operations":[],"schema":"Workflow"},{"description":"","title":"Tag","name":"tag","operations":[]},{"title":"Bot","description":"","name":"bot","operations":["createBot","updateBot","transferBot","listBots","getBot","deleteBot","getBotLogs","getBotWebchat","getBotAnalytics","listActionRuns","getBotIssue","listBotIssues","deleteBotIssue","listBotIssueEvents","listBotVersions","getBotVersion","getBotJson","publishFromBotJson","createBotVersion","deployBotVersion","createIntegrationShareableId","deleteIntegrationShareableId","getIntegrationShareableId","unlinkSandboxedConversations","listBotApiKeys","createBotApiKey","deleteBotApiKey"],"schema":"Bot"},{"title":"Integration","description":"","name":"integration","operations":["listIntegrationApiKeys","createIntegrationApiKey","deleteIntegrationApiKey","createIntegration","validateIntegrationCreation","updateIntegration","validateIntegrationUpdate","listIntegrations","getIntegration","getIntegrationLogs","getIntegrationByName","deleteIntegration","requestIntegrationVerification"],"schema":"Integration"},{"title":"Interface","description":"","name":"interface","operations":["createInterface","getInterface","getInterfaceByName","updateInterface","deleteInterface","listInterfaces"],"schema":"Interface"},{"title":"Plugin","description":"","name":"plugin","operations":["createPlugin","getPlugin","getPluginByName","updatePlugin","deletePlugin","listPlugins","getPluginCode"],"schema":"Plugin"},{"title":"Workspace","description":"","name":"workspace","operations":["listWorkspaceInvoices","getUpcomingInvoice","chargeWorkspaceUnpaidInvoices","createWorkspace","getPublicWorkspace","getWorkspace","listWorkspaceUsages","breakDownWorkspaceUsageByBot","getAllWorkspaceQuotaCompletion","getWorkspaceQuota","listWorkspaceQuotas","updateWorkspace","checkHandleAvailability","listWorkspaces","listPublicWorkspaces","deleteWorkspace","getAuditRecords"],"schema":"Workspace"},{"title":"Workspace Member","description":"","name":"workspaceMember","operations":["listWorkspaceMembers","getWorkspaceMember","deleteWorkspaceMember","createWorkspaceMember","updateWorkspaceMember"],"schema":"WorkspaceMember"},{"title":"Account","description":"","name":"account","operations":["getAccount","updateAccount","deleteAccount","listPersonalAccessTokens","createPersonalAccessToken","deletePersonalAccessToken","setAccountPreference","getAccountPreference"],"schema":"Account"},{"title":"Usage","description":"","name":"usage","operations":["getUsage","getMultipleUsages","listUsageActivityDaily"],"schema":"Usage"},{"title":"Quotas","description":"","name":"quotas","operations":["changeAISpendQuota"]},{"title":"Helper","description":"","name":"helper","operations":["runVrl"]},{"title":"Activity","description":"","name":"activity","operations":["listActivities"],"schema":"Activity"},{"title":"Tables","description":"Manage and interact with table structures, including creation, updates, and querying of tables and their rows.","name":"tables","operations":[],"schema":"Table"},{"title":"Files","description":"The Files API allows you to create, manage, and index files that can be used by your bots and integrations. Files can be in any text or binary format, and documents (such as PDF, Microsoft Word, HTML, Markdown, etc.) can be indexed to be used for semantic search in RAG (Retrieval Augmented Generation) implementations. Files are private by default but can be made publicly accessible through a permanent URL that's unique for each file.","name":"files","operations":[],"schema":"File"}],"errors":[{"status":500,"type":"Unknown","description":"An unknown error occurred"},{"status":500,"type":"Internal","description":"An internal error occurred"},{"status":401,"type":"Unauthorized","description":"The request requires to be authenticated."},{"status":403,"type":"Forbidden","description":"The requested action can't be peform by this resource."},{"status":413,"type":"PayloadTooLarge","description":"The request payload is too large."},{"status":400,"type":"InvalidPayload","description":"The request payload is invalid."},{"status":415,"type":"UnsupportedMediaType","description":"The request is invalid because the content-type is not supported."},{"status":405,"type":"MethodNotFound","description":"The requested method does not exist."},{"status":404,"type":"ResourceNotFound","description":"The requested resource does not exist."},{"status":400,"type":"InvalidJsonSchema","description":"The provided JSON schema is invalid."},{"status":400,"type":"InvalidDataFormat","description":"The provided data doesn't respect the provided JSON schema."},{"status":400,"type":"InvalidIdentifier","description":"The provided identifier is not valid. An identifier must start with a lowercase letter, be between 2 and 100 characters long and use only alphanumeric characters."},{"status":409,"type":"RelationConflict","description":"The resource is related with a different resource that the one referenced in the request. This is usually caused when providing two resource identifiers that aren't linked together."},{"status":409,"type":"ReferenceConstraint","description":"The resource cannot be deleted because it's referenced by another resource"},{"status":409,"type":"ResourceLockedConflict","description":"The resource is current locked and cannot be operated on until the lock is released."},{"status":400,"type":"ReferenceNotFound","description":"The provided resource reference is missing. This is usually caused when providing an invalid id inside the payload of a request."},{"status":400,"type":"InvalidQuery","description":"The provided query is invalid. This is usually caused when providing an invalid parameter for querying a resource."},{"status":400,"type":"Runtime","description":"An error happened during the execution of a runtime (bot or integration)."},{"status":409,"type":"AlreadyExists","description":"The record attempted to be created already exists."},{"status":429,"type":"RateLimited","description":"The request has been rate limited."},{"status":402,"type":"PaymentRequired","description":"A payment is required to perform this request."},{"status":403,"type":"QuotaExceeded","description":"The request exceeds the allowed quota. Quotas are a soft limit that can be increased."},{"status":413,"type":"LimitExceeded","description":"The request exceeds the allowed limit. Limits are a hard limit that cannot be increased."},{"status":400,"type":"BreakingChanges","description":"Request payload contains breaking changes which is not allowed for this resource without a version increment."}]}
|