@botpress/api 1.57.0 → 1.59.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 +26271 -33138
- package/dist/src/gen/admin/state.d.ts +65 -0
- package/dist/src/gen/files/state.d.ts +24 -0
- package/dist/src/gen/state.d.ts +89 -0
- package/package.json +5 -5
|
@@ -594,6 +594,11 @@ export declare const state: {
|
|
|
594
594
|
enum: string[];
|
|
595
595
|
description: string;
|
|
596
596
|
};
|
|
597
|
+
lifecycleStatus: {
|
|
598
|
+
type: "string";
|
|
599
|
+
enum: string[];
|
|
600
|
+
description: string;
|
|
601
|
+
};
|
|
597
602
|
ownerWorkspace: {
|
|
598
603
|
type: "object";
|
|
599
604
|
properties: {
|
|
@@ -1275,6 +1280,11 @@ export declare const state: {
|
|
|
1275
1280
|
enum: string[];
|
|
1276
1281
|
description: string;
|
|
1277
1282
|
};
|
|
1283
|
+
lifecycleStatus: {
|
|
1284
|
+
type: "string";
|
|
1285
|
+
enum: string[];
|
|
1286
|
+
description: string;
|
|
1287
|
+
};
|
|
1278
1288
|
secrets: {
|
|
1279
1289
|
type: "array";
|
|
1280
1290
|
items: {
|
|
@@ -1928,6 +1938,11 @@ export declare const state: {
|
|
|
1928
1938
|
enum: string[];
|
|
1929
1939
|
description: string;
|
|
1930
1940
|
};
|
|
1941
|
+
lifecycleStatus: {
|
|
1942
|
+
type: "string";
|
|
1943
|
+
enum: string[];
|
|
1944
|
+
description: string;
|
|
1945
|
+
};
|
|
1931
1946
|
secrets: {
|
|
1932
1947
|
type: "array";
|
|
1933
1948
|
items: {
|
|
@@ -2074,6 +2089,11 @@ export declare const state: {
|
|
|
2074
2089
|
enum: string[];
|
|
2075
2090
|
description: string;
|
|
2076
2091
|
};
|
|
2092
|
+
lifecycleStatus: {
|
|
2093
|
+
type: "string";
|
|
2094
|
+
enum: string[];
|
|
2095
|
+
description: string;
|
|
2096
|
+
};
|
|
2077
2097
|
};
|
|
2078
2098
|
required: string[];
|
|
2079
2099
|
};
|
|
@@ -2435,6 +2455,11 @@ export declare const state: {
|
|
|
2435
2455
|
enum: string[];
|
|
2436
2456
|
description: string;
|
|
2437
2457
|
};
|
|
2458
|
+
lifecycleStatus: {
|
|
2459
|
+
type: "string";
|
|
2460
|
+
enum: string[];
|
|
2461
|
+
description: string;
|
|
2462
|
+
};
|
|
2438
2463
|
};
|
|
2439
2464
|
required: string[];
|
|
2440
2465
|
additionalProperties: false;
|
|
@@ -2800,6 +2825,11 @@ export declare const state: {
|
|
|
2800
2825
|
enum: string[];
|
|
2801
2826
|
description: string;
|
|
2802
2827
|
};
|
|
2828
|
+
lifecycleStatus: {
|
|
2829
|
+
type: "string";
|
|
2830
|
+
enum: string[];
|
|
2831
|
+
description: string;
|
|
2832
|
+
};
|
|
2803
2833
|
};
|
|
2804
2834
|
required: string[];
|
|
2805
2835
|
additionalProperties: false;
|
|
@@ -3156,6 +3186,11 @@ export declare const state: {
|
|
|
3156
3186
|
enum: string[];
|
|
3157
3187
|
description: string;
|
|
3158
3188
|
};
|
|
3189
|
+
lifecycleStatus: {
|
|
3190
|
+
type: "string";
|
|
3191
|
+
enum: string[];
|
|
3192
|
+
description: string;
|
|
3193
|
+
};
|
|
3159
3194
|
};
|
|
3160
3195
|
required: string[];
|
|
3161
3196
|
additionalProperties: false;
|
|
@@ -10925,6 +10960,11 @@ export declare const state: {
|
|
|
10925
10960
|
enum: string[];
|
|
10926
10961
|
description: string;
|
|
10927
10962
|
};
|
|
10963
|
+
lifecycleStatus: {
|
|
10964
|
+
type: "string";
|
|
10965
|
+
enum: string[];
|
|
10966
|
+
description: string;
|
|
10967
|
+
};
|
|
10928
10968
|
matchedOn: {
|
|
10929
10969
|
type: "object";
|
|
10930
10970
|
properties: {
|
|
@@ -13003,6 +13043,11 @@ export declare const state: {
|
|
|
13003
13043
|
enum: string[];
|
|
13004
13044
|
description: string;
|
|
13005
13045
|
};
|
|
13046
|
+
lifecycleStatus: {
|
|
13047
|
+
type: "string";
|
|
13048
|
+
enum: string[];
|
|
13049
|
+
description: string;
|
|
13050
|
+
};
|
|
13006
13051
|
};
|
|
13007
13052
|
required: string[];
|
|
13008
13053
|
};
|
|
@@ -13939,6 +13984,11 @@ export declare const state: {
|
|
|
13939
13984
|
enum: string[];
|
|
13940
13985
|
description: string;
|
|
13941
13986
|
};
|
|
13987
|
+
lifecycleStatus: {
|
|
13988
|
+
type: "string";
|
|
13989
|
+
enum: string[];
|
|
13990
|
+
description: string;
|
|
13991
|
+
};
|
|
13942
13992
|
};
|
|
13943
13993
|
required: string[];
|
|
13944
13994
|
additionalProperties: false;
|
|
@@ -14061,6 +14111,11 @@ export declare const state: {
|
|
|
14061
14111
|
enum: string[];
|
|
14062
14112
|
description: string;
|
|
14063
14113
|
};
|
|
14114
|
+
lifecycleStatus: {
|
|
14115
|
+
type: "string";
|
|
14116
|
+
enum: string[];
|
|
14117
|
+
description: string;
|
|
14118
|
+
};
|
|
14064
14119
|
};
|
|
14065
14120
|
required: string[];
|
|
14066
14121
|
additionalProperties: false;
|
|
@@ -14978,6 +15033,11 @@ export declare const state: {
|
|
|
14978
15033
|
enum: string[];
|
|
14979
15034
|
description: string;
|
|
14980
15035
|
};
|
|
15036
|
+
lifecycleStatus: {
|
|
15037
|
+
type: "string";
|
|
15038
|
+
enum: string[];
|
|
15039
|
+
description: string;
|
|
15040
|
+
};
|
|
14981
15041
|
secrets: {
|
|
14982
15042
|
type: "array";
|
|
14983
15043
|
items: {
|
|
@@ -15538,6 +15598,11 @@ export declare const state: {
|
|
|
15538
15598
|
enum: string[];
|
|
15539
15599
|
description: string;
|
|
15540
15600
|
};
|
|
15601
|
+
lifecycleStatus: {
|
|
15602
|
+
type: "string";
|
|
15603
|
+
enum: string[];
|
|
15604
|
+
description: string;
|
|
15605
|
+
};
|
|
15541
15606
|
};
|
|
15542
15607
|
required: string[];
|
|
15543
15608
|
additionalProperties: false;
|
|
@@ -268,6 +268,10 @@ export declare const state: {
|
|
|
268
268
|
type: "string";
|
|
269
269
|
description: string;
|
|
270
270
|
};
|
|
271
|
+
alias: {
|
|
272
|
+
type: "string";
|
|
273
|
+
description: string;
|
|
274
|
+
};
|
|
271
275
|
};
|
|
272
276
|
required: string[];
|
|
273
277
|
additionalProperties: false;
|
|
@@ -567,6 +571,10 @@ export declare const state: {
|
|
|
567
571
|
type: "string";
|
|
568
572
|
description: string;
|
|
569
573
|
};
|
|
574
|
+
alias: {
|
|
575
|
+
type: "string";
|
|
576
|
+
description: string;
|
|
577
|
+
};
|
|
570
578
|
};
|
|
571
579
|
required: string[];
|
|
572
580
|
};
|
|
@@ -742,6 +750,10 @@ export declare const state: {
|
|
|
742
750
|
type: "string";
|
|
743
751
|
description: string;
|
|
744
752
|
};
|
|
753
|
+
alias: {
|
|
754
|
+
type: "string";
|
|
755
|
+
description: string;
|
|
756
|
+
};
|
|
745
757
|
};
|
|
746
758
|
required: string[];
|
|
747
759
|
additionalProperties: false;
|
|
@@ -944,6 +956,10 @@ export declare const state: {
|
|
|
944
956
|
type: "string";
|
|
945
957
|
description: string;
|
|
946
958
|
};
|
|
959
|
+
alias: {
|
|
960
|
+
type: "string";
|
|
961
|
+
description: string;
|
|
962
|
+
};
|
|
947
963
|
};
|
|
948
964
|
required: string[];
|
|
949
965
|
additionalProperties: false;
|
|
@@ -1134,6 +1150,10 @@ export declare const state: {
|
|
|
1134
1150
|
type: "string";
|
|
1135
1151
|
description: string;
|
|
1136
1152
|
};
|
|
1153
|
+
alias: {
|
|
1154
|
+
type: "string";
|
|
1155
|
+
description: string;
|
|
1156
|
+
};
|
|
1137
1157
|
};
|
|
1138
1158
|
required: string[];
|
|
1139
1159
|
additionalProperties: false;
|
|
@@ -2333,6 +2353,10 @@ export declare const state: {
|
|
|
2333
2353
|
type: "string";
|
|
2334
2354
|
description: string;
|
|
2335
2355
|
};
|
|
2356
|
+
alias: {
|
|
2357
|
+
type: "string";
|
|
2358
|
+
description: string;
|
|
2359
|
+
};
|
|
2336
2360
|
};
|
|
2337
2361
|
required: string[];
|
|
2338
2362
|
additionalProperties: false;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -2977,6 +2977,11 @@ export declare const state: {
|
|
|
2977
2977
|
enum: string[];
|
|
2978
2978
|
description: string;
|
|
2979
2979
|
};
|
|
2980
|
+
lifecycleStatus: {
|
|
2981
|
+
type: "string";
|
|
2982
|
+
enum: string[];
|
|
2983
|
+
description: string;
|
|
2984
|
+
};
|
|
2980
2985
|
ownerWorkspace: {
|
|
2981
2986
|
type: "object";
|
|
2982
2987
|
properties: {
|
|
@@ -3652,6 +3657,11 @@ export declare const state: {
|
|
|
3652
3657
|
enum: string[];
|
|
3653
3658
|
description: string;
|
|
3654
3659
|
};
|
|
3660
|
+
lifecycleStatus: {
|
|
3661
|
+
type: "string";
|
|
3662
|
+
enum: string[];
|
|
3663
|
+
description: string;
|
|
3664
|
+
};
|
|
3655
3665
|
secrets: {
|
|
3656
3666
|
type: "array";
|
|
3657
3667
|
items: {
|
|
@@ -4299,6 +4309,11 @@ export declare const state: {
|
|
|
4299
4309
|
enum: string[];
|
|
4300
4310
|
description: string;
|
|
4301
4311
|
};
|
|
4312
|
+
lifecycleStatus: {
|
|
4313
|
+
type: "string";
|
|
4314
|
+
enum: string[];
|
|
4315
|
+
description: string;
|
|
4316
|
+
};
|
|
4302
4317
|
secrets: {
|
|
4303
4318
|
type: "array";
|
|
4304
4319
|
items: {
|
|
@@ -4439,6 +4454,11 @@ export declare const state: {
|
|
|
4439
4454
|
enum: string[];
|
|
4440
4455
|
description: string;
|
|
4441
4456
|
};
|
|
4457
|
+
lifecycleStatus: {
|
|
4458
|
+
type: "string";
|
|
4459
|
+
enum: string[];
|
|
4460
|
+
description: string;
|
|
4461
|
+
};
|
|
4442
4462
|
};
|
|
4443
4463
|
required: string[];
|
|
4444
4464
|
};
|
|
@@ -4794,6 +4814,11 @@ export declare const state: {
|
|
|
4794
4814
|
enum: string[];
|
|
4795
4815
|
description: string;
|
|
4796
4816
|
};
|
|
4817
|
+
lifecycleStatus: {
|
|
4818
|
+
type: "string";
|
|
4819
|
+
enum: string[];
|
|
4820
|
+
description: string;
|
|
4821
|
+
};
|
|
4797
4822
|
};
|
|
4798
4823
|
required: string[];
|
|
4799
4824
|
additionalProperties: false;
|
|
@@ -5153,6 +5178,11 @@ export declare const state: {
|
|
|
5153
5178
|
enum: string[];
|
|
5154
5179
|
description: string;
|
|
5155
5180
|
};
|
|
5181
|
+
lifecycleStatus: {
|
|
5182
|
+
type: "string";
|
|
5183
|
+
enum: string[];
|
|
5184
|
+
description: string;
|
|
5185
|
+
};
|
|
5156
5186
|
};
|
|
5157
5187
|
required: string[];
|
|
5158
5188
|
additionalProperties: false;
|
|
@@ -5503,6 +5533,11 @@ export declare const state: {
|
|
|
5503
5533
|
enum: string[];
|
|
5504
5534
|
description: string;
|
|
5505
5535
|
};
|
|
5536
|
+
lifecycleStatus: {
|
|
5537
|
+
type: "string";
|
|
5538
|
+
enum: string[];
|
|
5539
|
+
description: string;
|
|
5540
|
+
};
|
|
5506
5541
|
};
|
|
5507
5542
|
required: string[];
|
|
5508
5543
|
additionalProperties: false;
|
|
@@ -12621,6 +12656,11 @@ export declare const state: {
|
|
|
12621
12656
|
enum: string[];
|
|
12622
12657
|
description: string;
|
|
12623
12658
|
};
|
|
12659
|
+
lifecycleStatus: {
|
|
12660
|
+
type: "string";
|
|
12661
|
+
enum: string[];
|
|
12662
|
+
description: string;
|
|
12663
|
+
};
|
|
12624
12664
|
matchedOn: {
|
|
12625
12665
|
type: "object";
|
|
12626
12666
|
properties: {
|
|
@@ -14480,6 +14520,11 @@ export declare const state: {
|
|
|
14480
14520
|
enum: string[];
|
|
14481
14521
|
description: string;
|
|
14482
14522
|
};
|
|
14523
|
+
lifecycleStatus: {
|
|
14524
|
+
type: "string";
|
|
14525
|
+
enum: string[];
|
|
14526
|
+
description: string;
|
|
14527
|
+
};
|
|
14483
14528
|
};
|
|
14484
14529
|
required: string[];
|
|
14485
14530
|
};
|
|
@@ -15228,6 +15273,10 @@ export declare const state: {
|
|
|
15228
15273
|
type: "string";
|
|
15229
15274
|
description: string;
|
|
15230
15275
|
};
|
|
15276
|
+
alias: {
|
|
15277
|
+
type: "string";
|
|
15278
|
+
description: string;
|
|
15279
|
+
};
|
|
15231
15280
|
};
|
|
15232
15281
|
required: string[];
|
|
15233
15282
|
additionalProperties: false;
|
|
@@ -15418,6 +15467,10 @@ export declare const state: {
|
|
|
15418
15467
|
type: "string";
|
|
15419
15468
|
description: string;
|
|
15420
15469
|
};
|
|
15470
|
+
alias: {
|
|
15471
|
+
type: "string";
|
|
15472
|
+
description: string;
|
|
15473
|
+
};
|
|
15421
15474
|
};
|
|
15422
15475
|
required: string[];
|
|
15423
15476
|
};
|
|
@@ -15557,6 +15610,10 @@ export declare const state: {
|
|
|
15557
15610
|
type: "string";
|
|
15558
15611
|
description: string;
|
|
15559
15612
|
};
|
|
15613
|
+
alias: {
|
|
15614
|
+
type: "string";
|
|
15615
|
+
description: string;
|
|
15616
|
+
};
|
|
15560
15617
|
};
|
|
15561
15618
|
required: string[];
|
|
15562
15619
|
additionalProperties: false;
|
|
@@ -15723,6 +15780,10 @@ export declare const state: {
|
|
|
15723
15780
|
type: "string";
|
|
15724
15781
|
description: string;
|
|
15725
15782
|
};
|
|
15783
|
+
alias: {
|
|
15784
|
+
type: "string";
|
|
15785
|
+
description: string;
|
|
15786
|
+
};
|
|
15726
15787
|
};
|
|
15727
15788
|
required: string[];
|
|
15728
15789
|
additionalProperties: false;
|
|
@@ -15877,6 +15938,10 @@ export declare const state: {
|
|
|
15877
15938
|
type: "string";
|
|
15878
15939
|
description: string;
|
|
15879
15940
|
};
|
|
15941
|
+
alias: {
|
|
15942
|
+
type: "string";
|
|
15943
|
+
description: string;
|
|
15944
|
+
};
|
|
15880
15945
|
};
|
|
15881
15946
|
required: string[];
|
|
15882
15947
|
additionalProperties: false;
|
|
@@ -18136,6 +18201,11 @@ export declare const state: {
|
|
|
18136
18201
|
enum: string[];
|
|
18137
18202
|
description: string;
|
|
18138
18203
|
};
|
|
18204
|
+
lifecycleStatus: {
|
|
18205
|
+
type: "string";
|
|
18206
|
+
enum: string[];
|
|
18207
|
+
description: string;
|
|
18208
|
+
};
|
|
18139
18209
|
};
|
|
18140
18210
|
required: string[];
|
|
18141
18211
|
additionalProperties: false;
|
|
@@ -18258,6 +18328,11 @@ export declare const state: {
|
|
|
18258
18328
|
enum: string[];
|
|
18259
18329
|
description: string;
|
|
18260
18330
|
};
|
|
18331
|
+
lifecycleStatus: {
|
|
18332
|
+
type: "string";
|
|
18333
|
+
enum: string[];
|
|
18334
|
+
description: string;
|
|
18335
|
+
};
|
|
18261
18336
|
};
|
|
18262
18337
|
required: string[];
|
|
18263
18338
|
additionalProperties: false;
|
|
@@ -19175,6 +19250,11 @@ export declare const state: {
|
|
|
19175
19250
|
enum: string[];
|
|
19176
19251
|
description: string;
|
|
19177
19252
|
};
|
|
19253
|
+
lifecycleStatus: {
|
|
19254
|
+
type: "string";
|
|
19255
|
+
enum: string[];
|
|
19256
|
+
description: string;
|
|
19257
|
+
};
|
|
19178
19258
|
secrets: {
|
|
19179
19259
|
type: "array";
|
|
19180
19260
|
items: {
|
|
@@ -19735,6 +19815,11 @@ export declare const state: {
|
|
|
19735
19815
|
enum: string[];
|
|
19736
19816
|
description: string;
|
|
19737
19817
|
};
|
|
19818
|
+
lifecycleStatus: {
|
|
19819
|
+
type: "string";
|
|
19820
|
+
enum: string[];
|
|
19821
|
+
description: string;
|
|
19822
|
+
};
|
|
19738
19823
|
};
|
|
19739
19824
|
required: string[];
|
|
19740
19825
|
additionalProperties: false;
|
|
@@ -20965,6 +21050,10 @@ export declare const state: {
|
|
|
20965
21050
|
type: "string";
|
|
20966
21051
|
description: string;
|
|
20967
21052
|
};
|
|
21053
|
+
alias: {
|
|
21054
|
+
type: "string";
|
|
21055
|
+
description: string;
|
|
21056
|
+
};
|
|
20968
21057
|
};
|
|
20969
21058
|
required: string[];
|
|
20970
21059
|
additionalProperties: false;
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.59.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@bpinternal/es-node": "0.0.3",
|
|
8
|
-
"esbuild": "
|
|
8
|
+
"esbuild": "0.27.1",
|
|
9
9
|
"zod": "^3.24.4",
|
|
10
|
-
"typescript": "5.
|
|
10
|
+
"typescript": "5.9.3",
|
|
11
11
|
"@botpress/bridge": "1.8.0",
|
|
12
12
|
"@botpress/cloud-manager": "0.2.0",
|
|
13
13
|
"@botpress/common": "0.5.0",
|
|
14
14
|
"@botpress/files-api": "0.18.0",
|
|
15
|
-
"@bpinternal/const": "0.
|
|
15
|
+
"@bpinternal/const": "0.4.1",
|
|
16
16
|
"@bpinternal/tables-api": "0.17.2"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"build:type": "tsc -p tsconfig.package.json --emitDeclarationOnly",
|
|
26
26
|
"build:impl": "esbuild --bundle --platform=node --outfile=dist/index.js src/index.ts",
|
|
27
27
|
"build": "pnpm run build:type && pnpm run build:impl",
|
|
28
|
-
"check:lint": "eslint --
|
|
28
|
+
"check:lint": "eslint --cache --ext .ts,.tsx .",
|
|
29
29
|
"fix:lint": "eslint --fix --cache --ext .ts,.tsx ."
|
|
30
30
|
}
|
|
31
31
|
}
|