@botpress/api 1.28.0 → 1.28.2

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.
@@ -0,0 +1,51 @@
1
+
2
+ > @botpress/api@1.28.2 openapi /home/runner/work/skynet/skynet/packages/public-api
3
+ > es-node openapi/generator.ts && pnpm run build
4
+
5
+ Generating openapi content
6
+ Generating metadata content
7
+ Saving generated files
8
+ Saving metadata.json file
9
+ Saving openapi.json file
10
+
11
+ Generating openapi content
12
+ Generating metadata content
13
+ Saving generated files
14
+ Saving metadata.json file
15
+ Saving openapi.json file
16
+
17
+ Generating openapi content
18
+ Generating metadata content
19
+ Saving generated files
20
+ Saving metadata.json file
21
+ Saving openapi.json file
22
+
23
+ Generating openapi content
24
+ Generating metadata content
25
+ Saving generated files
26
+ Saving metadata.json file
27
+ Saving openapi.json file
28
+
29
+ Generating openapi content
30
+ Generating metadata content
31
+ Saving generated files
32
+ Saving metadata.json file
33
+ Saving openapi.json file
34
+
35
+ info: Exit with code {"category":"system","code":0,"label":"Shutdown"}
36
+
37
+ > @botpress/api@1.28.2 build /home/runner/work/skynet/skynet/packages/public-api
38
+ > pnpm run build:type && pnpm run build:impl
39
+
40
+
41
+ > @botpress/api@1.28.2 build:type /home/runner/work/skynet/skynet/packages/public-api
42
+ > tsc -p tsconfig.package.json --emitDeclarationOnly
43
+
44
+
45
+ > @botpress/api@1.28.2 build:impl /home/runner/work/skynet/skynet/packages/public-api
46
+ > esbuild --bundle --platform=node --outfile=dist/index.js src/index.ts
47
+
48
+
49
+ dist/index.js 14.1mb ⚠️
50
+
51
+ ⚡ Done in 1023ms
package/dist/index.js CHANGED
@@ -285326,7 +285326,7 @@ var state = {
285326
285326
  "title": "Botpress API",
285327
285327
  "description": "API for Botpress Cloud",
285328
285328
  "server": "https://api.botpress.cloud",
285329
- "version": "1.28.0",
285329
+ "version": "1.28.2",
285330
285330
  "prefix": "v1"
285331
285331
  },
285332
285332
  "errors": [
@@ -285807,6 +285807,10 @@ var state = {
285807
285807
  },
285808
285808
  "description": "A mapping of plugin aliases to their configuration"
285809
285809
  },
285810
+ "maxExecutionTime": {
285811
+ "type": "number",
285812
+ "description": "Maximum execution time of the bot (in seconds)."
285813
+ },
285810
285814
  "user": {
285811
285815
  "type": "object",
285812
285816
  "properties": {
@@ -286258,6 +286262,10 @@ var state = {
286258
286262
  },
286259
286263
  "additionalProperties": false
286260
286264
  },
286265
+ "maxExecutionTime": {
286266
+ "type": "number",
286267
+ "description": "Maximum execution time of the integration (in seconds)."
286268
+ },
286261
286269
  "url": {
286262
286270
  "type": "string",
286263
286271
  "maxLength": 2e3,
@@ -289984,6 +289992,10 @@ var state2 = {
289984
289992
  },
289985
289993
  "additionalProperties": false
289986
289994
  },
289995
+ "maxExecutionTime": {
289996
+ "type": "number",
289997
+ "description": "Maximum execution time of the integration (in seconds)."
289998
+ },
289987
289999
  "url": {
289988
290000
  "type": "string",
289989
290001
  "maxLength": 2e3,
@@ -290725,6 +290737,10 @@ var state2 = {
290725
290737
  },
290726
290738
  "additionalProperties": false
290727
290739
  },
290740
+ "maxExecutionTime": {
290741
+ "type": "number",
290742
+ "description": "Maximum execution time of the integration (in seconds)."
290743
+ },
290728
290744
  "url": {
290729
290745
  "type": "string",
290730
290746
  "maxLength": 2e3,
@@ -293876,6 +293892,10 @@ var state2 = {
293876
293892
  "blocked": {
293877
293893
  "type": "boolean"
293878
293894
  },
293895
+ "maxExecutionTime": {
293896
+ "type": "integer",
293897
+ "description": "Maximum execution time (in seconds)."
293898
+ },
293879
293899
  "alwaysAlive": {
293880
293900
  "type": "boolean",
293881
293901
  "description": "Indicates if the [Bot](#schema_bot) should be in always alive mode"
@@ -298328,9 +298348,21 @@ var state2 = {
298328
298348
  "additionalProperties": false
298329
298349
  }
298330
298350
  },
298331
- "messageStatusChangeNotificationsEnabled": {
298332
- "type": "boolean",
298333
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
298351
+ "extraOperations": {
298352
+ "type": "object",
298353
+ "additionalProperties": {
298354
+ "type": "object",
298355
+ "properties": {
298356
+ "enabled": {
298357
+ "type": "boolean"
298358
+ }
298359
+ },
298360
+ "required": [
298361
+ "enabled"
298362
+ ],
298363
+ "additionalProperties": false
298364
+ },
298365
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
298334
298366
  },
298335
298367
  "secrets": {
298336
298368
  "type": "object",
@@ -298922,9 +298954,21 @@ var state2 = {
298922
298954
  "additionalProperties": false
298923
298955
  }
298924
298956
  },
298925
- "messageStatusChangeNotificationsEnabled": {
298926
- "type": "boolean",
298927
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
298957
+ "extraOperations": {
298958
+ "type": "object",
298959
+ "additionalProperties": {
298960
+ "type": "object",
298961
+ "properties": {
298962
+ "enabled": {
298963
+ "type": "boolean"
298964
+ }
298965
+ },
298966
+ "required": [
298967
+ "enabled"
298968
+ ],
298969
+ "additionalProperties": false
298970
+ },
298971
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
298928
298972
  },
298929
298973
  "secrets": {
298930
298974
  "type": "object",
@@ -299089,9 +299133,21 @@ var state2 = {
299089
299133
  },
299090
299134
  "description": "Additional configuration definitions of the integration"
299091
299135
  },
299092
- "messageStatusChangeNotificationsEnabled": {
299093
- "type": "boolean",
299094
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
299136
+ "extraOperations": {
299137
+ "type": "object",
299138
+ "additionalProperties": {
299139
+ "type": "object",
299140
+ "properties": {
299141
+ "enabled": {
299142
+ "type": "boolean"
299143
+ }
299144
+ },
299145
+ "required": [
299146
+ "enabled"
299147
+ ],
299148
+ "additionalProperties": false
299149
+ },
299150
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
299095
299151
  },
299096
299152
  "channels": {
299097
299153
  "type": "object",
@@ -299207,6 +299263,10 @@ var state2 = {
299207
299263
  "additionalProperties": false
299208
299264
  }
299209
299265
  },
299266
+ "maxExecutionTime": {
299267
+ "type": "integer",
299268
+ "description": "Maximum execution time of the integration (in seconds)."
299269
+ },
299210
299270
  "identifier": {
299211
299271
  "type": "object",
299212
299272
  "properties": {
@@ -299685,9 +299745,21 @@ var state2 = {
299685
299745
  },
299686
299746
  "description": "Additional configuration definitions of the integration"
299687
299747
  },
299688
- "messageStatusChangeNotificationsEnabled": {
299689
- "type": "boolean",
299690
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
299748
+ "extraOperations": {
299749
+ "type": "object",
299750
+ "additionalProperties": {
299751
+ "type": "object",
299752
+ "properties": {
299753
+ "enabled": {
299754
+ "type": "boolean"
299755
+ }
299756
+ },
299757
+ "required": [
299758
+ "enabled"
299759
+ ],
299760
+ "additionalProperties": false
299761
+ },
299762
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
299691
299763
  },
299692
299764
  "channels": {
299693
299765
  "type": "object",
@@ -299803,6 +299875,10 @@ var state2 = {
299803
299875
  "additionalProperties": false
299804
299876
  }
299805
299877
  },
299878
+ "maxExecutionTime": {
299879
+ "type": "integer",
299880
+ "description": "Maximum execution time of the integration (in seconds)."
299881
+ },
299806
299882
  "identifier": {
299807
299883
  "type": "object",
299808
299884
  "properties": {
@@ -302887,7 +302963,7 @@ var state2 = {
302887
302963
  "title": "Botpress API",
302888
302964
  "description": "API for Botpress Cloud",
302889
302965
  "server": "https://api.botpress.cloud",
302890
- "version": "1.28.0",
302966
+ "version": "1.28.2",
302891
302967
  "prefix": "v1"
302892
302968
  },
302893
302969
  "errors": [
@@ -303435,6 +303511,10 @@ var state2 = {
303435
303511
  },
303436
303512
  "description": "A mapping of plugin aliases to their configuration"
303437
303513
  },
303514
+ "maxExecutionTime": {
303515
+ "type": "number",
303516
+ "description": "Maximum execution time of the bot (in seconds)."
303517
+ },
303438
303518
  "user": {
303439
303519
  "type": "object",
303440
303520
  "properties": {
@@ -303886,6 +303966,10 @@ var state2 = {
303886
303966
  },
303887
303967
  "additionalProperties": false
303888
303968
  },
303969
+ "maxExecutionTime": {
303970
+ "type": "number",
303971
+ "description": "Maximum execution time of the integration (in seconds)."
303972
+ },
303889
303973
  "url": {
303890
303974
  "type": "string",
303891
303975
  "maxLength": 2e3,
@@ -308704,7 +308788,7 @@ var state3 = {
308704
308788
  "title": "Botpress API",
308705
308789
  "description": "API for Botpress Cloud",
308706
308790
  "server": "https://api.botpress.cloud",
308707
- "version": "1.28.0",
308791
+ "version": "1.28.2",
308708
308792
  "prefix": "v1"
308709
308793
  },
308710
308794
  "errors": [
@@ -309138,6 +309222,10 @@ var state3 = {
309138
309222
  },
309139
309223
  "description": "A mapping of plugin aliases to their configuration"
309140
309224
  },
309225
+ "maxExecutionTime": {
309226
+ "type": "number",
309227
+ "description": "Maximum execution time of the bot (in seconds)."
309228
+ },
309141
309229
  "user": {
309142
309230
  "type": "object",
309143
309231
  "properties": {
@@ -309589,6 +309677,10 @@ var state3 = {
309589
309677
  },
309590
309678
  "additionalProperties": false
309591
309679
  },
309680
+ "maxExecutionTime": {
309681
+ "type": "number",
309682
+ "description": "Maximum execution time of the integration (in seconds)."
309683
+ },
309592
309684
  "url": {
309593
309685
  "type": "string",
309594
309686
  "maxLength": 2e3,
@@ -313750,7 +313842,7 @@ var state4 = {
313750
313842
  "title": "Botpress API",
313751
313843
  "description": "API for Botpress Cloud",
313752
313844
  "server": "https://api.botpress.cloud",
313753
- "version": "1.28.0",
313845
+ "version": "1.28.2",
313754
313846
  "prefix": "v1"
313755
313847
  },
313756
313848
  "errors": [
@@ -314191,6 +314283,10 @@ var state4 = {
314191
314283
  },
314192
314284
  "description": "A mapping of plugin aliases to their configuration"
314193
314285
  },
314286
+ "maxExecutionTime": {
314287
+ "type": "number",
314288
+ "description": "Maximum execution time of the bot (in seconds)."
314289
+ },
314194
314290
  "user": {
314195
314291
  "type": "object",
314196
314292
  "properties": {
@@ -314642,6 +314738,10 @@ var state4 = {
314642
314738
  },
314643
314739
  "additionalProperties": false
314644
314740
  },
314741
+ "maxExecutionTime": {
314742
+ "type": "number",
314743
+ "description": "Maximum execution time of the integration (in seconds)."
314744
+ },
314645
314745
  "url": {
314646
314746
  "type": "string",
314647
314747
  "maxLength": 2e3,
@@ -320924,6 +321024,10 @@ var state5 = {
320924
321024
  },
320925
321025
  "additionalProperties": false
320926
321026
  },
321027
+ "maxExecutionTime": {
321028
+ "type": "number",
321029
+ "description": "Maximum execution time of the integration (in seconds)."
321030
+ },
320927
321031
  "url": {
320928
321032
  "type": "string",
320929
321033
  "maxLength": 2e3,
@@ -321665,6 +321769,10 @@ var state5 = {
321665
321769
  },
321666
321770
  "additionalProperties": false
321667
321771
  },
321772
+ "maxExecutionTime": {
321773
+ "type": "number",
321774
+ "description": "Maximum execution time of the integration (in seconds)."
321775
+ },
321668
321776
  "url": {
321669
321777
  "type": "string",
321670
321778
  "maxLength": 2e3,
@@ -324816,6 +324924,10 @@ var state5 = {
324816
324924
  "blocked": {
324817
324925
  "type": "boolean"
324818
324926
  },
324927
+ "maxExecutionTime": {
324928
+ "type": "integer",
324929
+ "description": "Maximum execution time (in seconds)."
324930
+ },
324819
324931
  "alwaysAlive": {
324820
324932
  "type": "boolean",
324821
324933
  "description": "Indicates if the [Bot](#schema_bot) should be in always alive mode"
@@ -329269,9 +329381,21 @@ var state5 = {
329269
329381
  "additionalProperties": false
329270
329382
  }
329271
329383
  },
329272
- "messageStatusChangeNotificationsEnabled": {
329273
- "type": "boolean",
329274
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
329384
+ "extraOperations": {
329385
+ "type": "object",
329386
+ "additionalProperties": {
329387
+ "type": "object",
329388
+ "properties": {
329389
+ "enabled": {
329390
+ "type": "boolean"
329391
+ }
329392
+ },
329393
+ "required": [
329394
+ "enabled"
329395
+ ],
329396
+ "additionalProperties": false
329397
+ },
329398
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
329275
329399
  },
329276
329400
  "secrets": {
329277
329401
  "type": "object",
@@ -329863,9 +329987,21 @@ var state5 = {
329863
329987
  "additionalProperties": false
329864
329988
  }
329865
329989
  },
329866
- "messageStatusChangeNotificationsEnabled": {
329867
- "type": "boolean",
329868
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
329990
+ "extraOperations": {
329991
+ "type": "object",
329992
+ "additionalProperties": {
329993
+ "type": "object",
329994
+ "properties": {
329995
+ "enabled": {
329996
+ "type": "boolean"
329997
+ }
329998
+ },
329999
+ "required": [
330000
+ "enabled"
330001
+ ],
330002
+ "additionalProperties": false
330003
+ },
330004
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
329869
330005
  },
329870
330006
  "secrets": {
329871
330007
  "type": "object",
@@ -330030,9 +330166,21 @@ var state5 = {
330030
330166
  },
330031
330167
  "description": "Additional configuration definitions of the integration"
330032
330168
  },
330033
- "messageStatusChangeNotificationsEnabled": {
330034
- "type": "boolean",
330035
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
330169
+ "extraOperations": {
330170
+ "type": "object",
330171
+ "additionalProperties": {
330172
+ "type": "object",
330173
+ "properties": {
330174
+ "enabled": {
330175
+ "type": "boolean"
330176
+ }
330177
+ },
330178
+ "required": [
330179
+ "enabled"
330180
+ ],
330181
+ "additionalProperties": false
330182
+ },
330183
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
330036
330184
  },
330037
330185
  "channels": {
330038
330186
  "type": "object",
@@ -330148,6 +330296,10 @@ var state5 = {
330148
330296
  "additionalProperties": false
330149
330297
  }
330150
330298
  },
330299
+ "maxExecutionTime": {
330300
+ "type": "integer",
330301
+ "description": "Maximum execution time of the integration (in seconds)."
330302
+ },
330151
330303
  "identifier": {
330152
330304
  "type": "object",
330153
330305
  "properties": {
@@ -330626,9 +330778,21 @@ var state5 = {
330626
330778
  },
330627
330779
  "description": "Additional configuration definitions of the integration"
330628
330780
  },
330629
- "messageStatusChangeNotificationsEnabled": {
330630
- "type": "boolean",
330631
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
330781
+ "extraOperations": {
330782
+ "type": "object",
330783
+ "additionalProperties": {
330784
+ "type": "object",
330785
+ "properties": {
330786
+ "enabled": {
330787
+ "type": "boolean"
330788
+ }
330789
+ },
330790
+ "required": [
330791
+ "enabled"
330792
+ ],
330793
+ "additionalProperties": false
330794
+ },
330795
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
330632
330796
  },
330633
330797
  "channels": {
330634
330798
  "type": "object",
@@ -330744,6 +330908,10 @@ var state5 = {
330744
330908
  "additionalProperties": false
330745
330909
  }
330746
330910
  },
330911
+ "maxExecutionTime": {
330912
+ "type": "integer",
330913
+ "description": "Maximum execution time of the integration (in seconds)."
330914
+ },
330747
330915
  "identifier": {
330748
330916
  "type": "object",
330749
330917
  "properties": {
@@ -336802,7 +336970,7 @@ var state5 = {
336802
336970
  "title": "Botpress API",
336803
336971
  "description": "API for Botpress Cloud",
336804
336972
  "server": "https://api.botpress.cloud",
336805
- "version": "1.28.0",
336973
+ "version": "1.28.2",
336806
336974
  "prefix": "v1"
336807
336975
  },
336808
336976
  "errors": [
@@ -337467,6 +337635,10 @@ var state5 = {
337467
337635
  },
337468
337636
  "description": "A mapping of plugin aliases to their configuration"
337469
337637
  },
337638
+ "maxExecutionTime": {
337639
+ "type": "number",
337640
+ "description": "Maximum execution time of the bot (in seconds)."
337641
+ },
337470
337642
  "user": {
337471
337643
  "type": "object",
337472
337644
  "properties": {
@@ -337918,6 +338090,10 @@ var state5 = {
337918
338090
  },
337919
338091
  "additionalProperties": false
337920
338092
  },
338093
+ "maxExecutionTime": {
338094
+ "type": "number",
338095
+ "description": "Maximum execution time of the integration (in seconds)."
338096
+ },
337921
338097
  "url": {
337922
338098
  "type": "string",
337923
338099
  "maxLength": 2e3,
@@ -668,6 +668,10 @@ export declare const state: {
668
668
  };
669
669
  additionalProperties: false;
670
670
  };
671
+ maxExecutionTime: {
672
+ type: "number";
673
+ description: string;
674
+ };
671
675
  url: {
672
676
  type: "string";
673
677
  maxLength: number;
@@ -1304,6 +1308,10 @@ export declare const state: {
1304
1308
  };
1305
1309
  additionalProperties: false;
1306
1310
  };
1311
+ maxExecutionTime: {
1312
+ type: "number";
1313
+ description: string;
1314
+ };
1307
1315
  url: {
1308
1316
  type: "string";
1309
1317
  maxLength: number;
@@ -4053,6 +4061,10 @@ export declare const state: {
4053
4061
  blocked: {
4054
4062
  type: "boolean";
4055
4063
  };
4064
+ maxExecutionTime: {
4065
+ type: "integer";
4066
+ description: string;
4067
+ };
4056
4068
  alwaysAlive: {
4057
4069
  type: "boolean";
4058
4070
  description: string;
@@ -7896,8 +7908,18 @@ export declare const state: {
7896
7908
  additionalProperties: false;
7897
7909
  };
7898
7910
  };
7899
- messageStatusChangeNotificationsEnabled: {
7900
- type: "boolean";
7911
+ extraOperations: {
7912
+ type: "object";
7913
+ additionalProperties: {
7914
+ type: "object";
7915
+ properties: {
7916
+ enabled: {
7917
+ type: "boolean";
7918
+ };
7919
+ };
7920
+ required: string[];
7921
+ additionalProperties: false;
7922
+ };
7901
7923
  description: string;
7902
7924
  };
7903
7925
  secrets: {
@@ -8447,8 +8469,18 @@ export declare const state: {
8447
8469
  additionalProperties: false;
8448
8470
  };
8449
8471
  };
8450
- messageStatusChangeNotificationsEnabled: {
8451
- type: "boolean";
8472
+ extraOperations: {
8473
+ type: "object";
8474
+ additionalProperties: {
8475
+ type: "object";
8476
+ properties: {
8477
+ enabled: {
8478
+ type: "boolean";
8479
+ };
8480
+ };
8481
+ required: string[];
8482
+ additionalProperties: false;
8483
+ };
8452
8484
  description: string;
8453
8485
  };
8454
8486
  secrets: {
@@ -8611,8 +8643,18 @@ export declare const state: {
8611
8643
  };
8612
8644
  description: string;
8613
8645
  };
8614
- messageStatusChangeNotificationsEnabled: {
8615
- type: "boolean";
8646
+ extraOperations: {
8647
+ type: "object";
8648
+ additionalProperties: {
8649
+ type: "object";
8650
+ properties: {
8651
+ enabled: {
8652
+ type: "boolean";
8653
+ };
8654
+ };
8655
+ required: string[];
8656
+ additionalProperties: false;
8657
+ };
8616
8658
  description: string;
8617
8659
  };
8618
8660
  channels: {
@@ -8724,6 +8766,10 @@ export declare const state: {
8724
8766
  additionalProperties: false;
8725
8767
  };
8726
8768
  };
8769
+ maxExecutionTime: {
8770
+ type: "integer";
8771
+ description: string;
8772
+ };
8727
8773
  identifier: {
8728
8774
  type: "object";
8729
8775
  properties: {
@@ -9169,8 +9215,18 @@ export declare const state: {
9169
9215
  };
9170
9216
  description: string;
9171
9217
  };
9172
- messageStatusChangeNotificationsEnabled: {
9173
- type: "boolean";
9218
+ extraOperations: {
9219
+ type: "object";
9220
+ additionalProperties: {
9221
+ type: "object";
9222
+ properties: {
9223
+ enabled: {
9224
+ type: "boolean";
9225
+ };
9226
+ };
9227
+ required: string[];
9228
+ additionalProperties: false;
9229
+ };
9174
9230
  description: string;
9175
9231
  };
9176
9232
  channels: {
@@ -9282,6 +9338,10 @@ export declare const state: {
9282
9338
  additionalProperties: false;
9283
9339
  };
9284
9340
  };
9341
+ maxExecutionTime: {
9342
+ type: "integer";
9343
+ description: string;
9344
+ };
9285
9345
  identifier: {
9286
9346
  type: "object";
9287
9347
  properties: {
@@ -12463,6 +12523,10 @@ export declare const state: {
12463
12523
  };
12464
12524
  description: string;
12465
12525
  };
12526
+ maxExecutionTime: {
12527
+ type: "number";
12528
+ description: string;
12529
+ };
12466
12530
  user: {
12467
12531
  type: "object";
12468
12532
  properties: {
@@ -12850,6 +12914,10 @@ export declare const state: {
12850
12914
  };
12851
12915
  additionalProperties: false;
12852
12916
  };
12917
+ maxExecutionTime: {
12918
+ type: "number";
12919
+ description: string;
12920
+ };
12853
12921
  url: {
12854
12922
  type: "string";
12855
12923
  maxLength: number;