@botpress/api 1.72.2 → 1.73.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 +88 -6
- package/dist/src/gen/runtime/state.d.ts +41 -0
- package/dist/src/gen/state.d.ts +41 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -276951,6 +276951,14 @@ var state = {
|
|
|
276951
276951
|
"maxLength": 4e4,
|
|
276952
276952
|
"description": "URI of the user picture"
|
|
276953
276953
|
},
|
|
276954
|
+
"attributes": {
|
|
276955
|
+
"type": "object",
|
|
276956
|
+
"additionalProperties": {
|
|
276957
|
+
"type": "string",
|
|
276958
|
+
"maxLength": 200
|
|
276959
|
+
},
|
|
276960
|
+
"description": "Optional attributes"
|
|
276961
|
+
},
|
|
276954
276962
|
"discriminateByTags": {
|
|
276955
276963
|
"type": "array",
|
|
276956
276964
|
"items": {
|
|
@@ -277241,6 +277249,14 @@ var state = {
|
|
|
277241
277249
|
"type": "string",
|
|
277242
277250
|
"maxLength": 4e4,
|
|
277243
277251
|
"description": "URI of the user picture"
|
|
277252
|
+
},
|
|
277253
|
+
"attributes": {
|
|
277254
|
+
"type": "object",
|
|
277255
|
+
"additionalProperties": {
|
|
277256
|
+
"type": "string",
|
|
277257
|
+
"maxLength": 200
|
|
277258
|
+
},
|
|
277259
|
+
"description": "Optional attributes"
|
|
277244
277260
|
}
|
|
277245
277261
|
},
|
|
277246
277262
|
"required": [
|
|
@@ -277495,6 +277511,14 @@ var state = {
|
|
|
277495
277511
|
"maxLength": 4e4,
|
|
277496
277512
|
"description": "URI of the user picture"
|
|
277497
277513
|
},
|
|
277514
|
+
"attributes": {
|
|
277515
|
+
"type": "object",
|
|
277516
|
+
"additionalProperties": {
|
|
277517
|
+
"type": "string",
|
|
277518
|
+
"maxLength": 200
|
|
277519
|
+
},
|
|
277520
|
+
"description": "Optional attributes"
|
|
277521
|
+
},
|
|
277498
277522
|
"discriminateByTags": {
|
|
277499
277523
|
"type": "array",
|
|
277500
277524
|
"items": {
|
|
@@ -277606,6 +277630,15 @@ var state = {
|
|
|
277606
277630
|
"maxLength": 4e4,
|
|
277607
277631
|
"nullable": true,
|
|
277608
277632
|
"description": "URI of the user picture"
|
|
277633
|
+
},
|
|
277634
|
+
"attributes": {
|
|
277635
|
+
"type": "object",
|
|
277636
|
+
"additionalProperties": {
|
|
277637
|
+
"type": "string",
|
|
277638
|
+
"maxLength": 200,
|
|
277639
|
+
"nullable": true
|
|
277640
|
+
},
|
|
277641
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
277609
277642
|
}
|
|
277610
277643
|
},
|
|
277611
277644
|
"title": "updateUserBody",
|
|
@@ -279445,7 +279478,7 @@ var state = {
|
|
|
279445
279478
|
"title": "Botpress Runtime API",
|
|
279446
279479
|
"description": "API for Botpress Runtime",
|
|
279447
279480
|
"server": "https://api.botpress.cloud",
|
|
279448
|
-
"version": "1.
|
|
279481
|
+
"version": "1.73.0",
|
|
279449
279482
|
"prefix": "v1"
|
|
279450
279483
|
},
|
|
279451
279484
|
"defaultParameters": {
|
|
@@ -279729,6 +279762,14 @@ var state = {
|
|
|
279729
279762
|
"type": "string",
|
|
279730
279763
|
"maxLength": 4e4,
|
|
279731
279764
|
"description": "Picture URL of the [User](#schema_user)"
|
|
279765
|
+
},
|
|
279766
|
+
"attributes": {
|
|
279767
|
+
"type": "object",
|
|
279768
|
+
"additionalProperties": {
|
|
279769
|
+
"type": "string",
|
|
279770
|
+
"maxLength": 200
|
|
279771
|
+
},
|
|
279772
|
+
"description": "Optional attributes"
|
|
279732
279773
|
}
|
|
279733
279774
|
},
|
|
279734
279775
|
"required": [
|
|
@@ -295994,7 +296035,7 @@ var state2 = {
|
|
|
295994
296035
|
"title": "Botpress Admin API",
|
|
295995
296036
|
"description": "API for Botpress Cloud Manager",
|
|
295996
296037
|
"server": "https://api.botpress.cloud",
|
|
295997
|
-
"version": "1.
|
|
296038
|
+
"version": "1.73.0",
|
|
295998
296039
|
"prefix": "v1"
|
|
295999
296040
|
},
|
|
296000
296041
|
"defaultParameters": {
|
|
@@ -301515,7 +301556,7 @@ var state3 = {
|
|
|
301515
301556
|
"title": "Botpress Files API",
|
|
301516
301557
|
"description": "API for Botpress Files",
|
|
301517
301558
|
"server": "https://api.botpress.cloud",
|
|
301518
|
-
"version": "1.
|
|
301559
|
+
"version": "1.73.0",
|
|
301519
301560
|
"prefix": "v1"
|
|
301520
301561
|
},
|
|
301521
301562
|
"defaultParameters": {
|
|
@@ -303811,7 +303852,7 @@ var state4 = {
|
|
|
303811
303852
|
"title": "Botpress Tables API",
|
|
303812
303853
|
"description": "API for Botpress Tables",
|
|
303813
303854
|
"server": "https://api.botpress.cloud",
|
|
303814
|
-
"version": "1.
|
|
303855
|
+
"version": "1.73.0",
|
|
303815
303856
|
"prefix": "v1"
|
|
303816
303857
|
},
|
|
303817
303858
|
"defaultParameters": {
|
|
@@ -305677,6 +305718,14 @@ var state5 = {
|
|
|
305677
305718
|
"maxLength": 4e4,
|
|
305678
305719
|
"description": "URI of the user picture"
|
|
305679
305720
|
},
|
|
305721
|
+
"attributes": {
|
|
305722
|
+
"type": "object",
|
|
305723
|
+
"additionalProperties": {
|
|
305724
|
+
"type": "string",
|
|
305725
|
+
"maxLength": 200
|
|
305726
|
+
},
|
|
305727
|
+
"description": "Optional attributes"
|
|
305728
|
+
},
|
|
305680
305729
|
"discriminateByTags": {
|
|
305681
305730
|
"type": "array",
|
|
305682
305731
|
"items": {
|
|
@@ -305948,6 +305997,14 @@ var state5 = {
|
|
|
305948
305997
|
"type": "string",
|
|
305949
305998
|
"maxLength": 4e4,
|
|
305950
305999
|
"description": "URI of the user picture"
|
|
306000
|
+
},
|
|
306001
|
+
"attributes": {
|
|
306002
|
+
"type": "object",
|
|
306003
|
+
"additionalProperties": {
|
|
306004
|
+
"type": "string",
|
|
306005
|
+
"maxLength": 200
|
|
306006
|
+
},
|
|
306007
|
+
"description": "Optional attributes"
|
|
305951
306008
|
}
|
|
305952
306009
|
},
|
|
305953
306010
|
"required": [
|
|
@@ -306147,6 +306204,14 @@ var state5 = {
|
|
|
306147
306204
|
"maxLength": 4e4,
|
|
306148
306205
|
"description": "URI of the user picture"
|
|
306149
306206
|
},
|
|
306207
|
+
"attributes": {
|
|
306208
|
+
"type": "object",
|
|
306209
|
+
"additionalProperties": {
|
|
306210
|
+
"type": "string",
|
|
306211
|
+
"maxLength": 200
|
|
306212
|
+
},
|
|
306213
|
+
"description": "Optional attributes"
|
|
306214
|
+
},
|
|
306150
306215
|
"discriminateByTags": {
|
|
306151
306216
|
"type": "array",
|
|
306152
306217
|
"items": {
|
|
@@ -306221,6 +306286,15 @@ var state5 = {
|
|
|
306221
306286
|
"maxLength": 4e4,
|
|
306222
306287
|
"nullable": true,
|
|
306223
306288
|
"description": "URI of the user picture"
|
|
306289
|
+
},
|
|
306290
|
+
"attributes": {
|
|
306291
|
+
"type": "object",
|
|
306292
|
+
"additionalProperties": {
|
|
306293
|
+
"type": "string",
|
|
306294
|
+
"maxLength": 200,
|
|
306295
|
+
"nullable": true
|
|
306296
|
+
},
|
|
306297
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
306224
306298
|
}
|
|
306225
306299
|
},
|
|
306226
306300
|
"title": "updateUserBody",
|
|
@@ -325384,7 +325458,7 @@ var state5 = {
|
|
|
325384
325458
|
"title": "Botpress API",
|
|
325385
325459
|
"description": "API for Botpress Cloud",
|
|
325386
325460
|
"server": "https://api.botpress.cloud",
|
|
325387
|
-
"version": "1.
|
|
325461
|
+
"version": "1.73.0",
|
|
325388
325462
|
"prefix": "v1"
|
|
325389
325463
|
},
|
|
325390
325464
|
"errors": [
|
|
@@ -328371,6 +328445,14 @@ var state5 = {
|
|
|
328371
328445
|
"type": "string",
|
|
328372
328446
|
"maxLength": 4e4,
|
|
328373
328447
|
"description": "Picture URL of the [User](#schema_user)"
|
|
328448
|
+
},
|
|
328449
|
+
"attributes": {
|
|
328450
|
+
"type": "object",
|
|
328451
|
+
"additionalProperties": {
|
|
328452
|
+
"type": "string",
|
|
328453
|
+
"maxLength": 200
|
|
328454
|
+
},
|
|
328455
|
+
"description": "Optional attributes"
|
|
328374
328456
|
}
|
|
328375
328457
|
},
|
|
328376
328458
|
"required": [
|
|
@@ -332288,7 +332370,7 @@ var state6 = {
|
|
|
332288
332370
|
"title": "Botpress Billing Public API",
|
|
332289
332371
|
"description": "API for Botpress Billing",
|
|
332290
332372
|
"server": "https://api.botpress.cloud",
|
|
332291
|
-
"version": "1.
|
|
332373
|
+
"version": "1.73.0",
|
|
332292
332374
|
"prefix": "v2"
|
|
332293
332375
|
},
|
|
332294
332376
|
"defaultParameters": {
|
|
@@ -1451,6 +1451,14 @@ export declare const state: {
|
|
|
1451
1451
|
maxLength: number;
|
|
1452
1452
|
description: string;
|
|
1453
1453
|
};
|
|
1454
|
+
attributes: {
|
|
1455
|
+
type: "object";
|
|
1456
|
+
additionalProperties: {
|
|
1457
|
+
type: "string";
|
|
1458
|
+
maxLength: number;
|
|
1459
|
+
};
|
|
1460
|
+
description: string;
|
|
1461
|
+
};
|
|
1454
1462
|
discriminateByTags: {
|
|
1455
1463
|
type: "array";
|
|
1456
1464
|
items: {
|
|
@@ -1709,6 +1717,14 @@ export declare const state: {
|
|
|
1709
1717
|
maxLength: number;
|
|
1710
1718
|
description: string;
|
|
1711
1719
|
};
|
|
1720
|
+
attributes: {
|
|
1721
|
+
type: "object";
|
|
1722
|
+
additionalProperties: {
|
|
1723
|
+
type: "string";
|
|
1724
|
+
maxLength: number;
|
|
1725
|
+
};
|
|
1726
|
+
description: string;
|
|
1727
|
+
};
|
|
1712
1728
|
};
|
|
1713
1729
|
required: string[];
|
|
1714
1730
|
title: string;
|
|
@@ -1938,6 +1954,14 @@ export declare const state: {
|
|
|
1938
1954
|
maxLength: number;
|
|
1939
1955
|
description: string;
|
|
1940
1956
|
};
|
|
1957
|
+
attributes: {
|
|
1958
|
+
type: "object";
|
|
1959
|
+
additionalProperties: {
|
|
1960
|
+
type: "string";
|
|
1961
|
+
maxLength: number;
|
|
1962
|
+
};
|
|
1963
|
+
description: string;
|
|
1964
|
+
};
|
|
1941
1965
|
discriminateByTags: {
|
|
1942
1966
|
type: "array";
|
|
1943
1967
|
items: {
|
|
@@ -2044,6 +2068,15 @@ export declare const state: {
|
|
|
2044
2068
|
nullable: true;
|
|
2045
2069
|
description: string;
|
|
2046
2070
|
};
|
|
2071
|
+
attributes: {
|
|
2072
|
+
type: "object";
|
|
2073
|
+
additionalProperties: {
|
|
2074
|
+
type: "string";
|
|
2075
|
+
maxLength: number;
|
|
2076
|
+
nullable: true;
|
|
2077
|
+
};
|
|
2078
|
+
description: string;
|
|
2079
|
+
};
|
|
2047
2080
|
};
|
|
2048
2081
|
title: string;
|
|
2049
2082
|
additionalProperties: false;
|
|
@@ -3901,6 +3934,14 @@ export declare const state: {
|
|
|
3901
3934
|
maxLength: number;
|
|
3902
3935
|
description: string;
|
|
3903
3936
|
};
|
|
3937
|
+
attributes: {
|
|
3938
|
+
type: "object";
|
|
3939
|
+
additionalProperties: {
|
|
3940
|
+
type: "string";
|
|
3941
|
+
maxLength: number;
|
|
3942
|
+
};
|
|
3943
|
+
description: string;
|
|
3944
|
+
};
|
|
3904
3945
|
};
|
|
3905
3946
|
required: string[];
|
|
3906
3947
|
description: string;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -1067,6 +1067,14 @@ export declare const state: {
|
|
|
1067
1067
|
maxLength: number;
|
|
1068
1068
|
description: string;
|
|
1069
1069
|
};
|
|
1070
|
+
attributes: {
|
|
1071
|
+
type: "object";
|
|
1072
|
+
additionalProperties: {
|
|
1073
|
+
type: "string";
|
|
1074
|
+
maxLength: number;
|
|
1075
|
+
};
|
|
1076
|
+
description: string;
|
|
1077
|
+
};
|
|
1070
1078
|
discriminateByTags: {
|
|
1071
1079
|
type: "array";
|
|
1072
1080
|
items: {
|
|
@@ -1306,6 +1314,14 @@ export declare const state: {
|
|
|
1306
1314
|
maxLength: number;
|
|
1307
1315
|
description: string;
|
|
1308
1316
|
};
|
|
1317
|
+
attributes: {
|
|
1318
|
+
type: "object";
|
|
1319
|
+
additionalProperties: {
|
|
1320
|
+
type: "string";
|
|
1321
|
+
maxLength: number;
|
|
1322
|
+
};
|
|
1323
|
+
description: string;
|
|
1324
|
+
};
|
|
1309
1325
|
};
|
|
1310
1326
|
required: string[];
|
|
1311
1327
|
title: string;
|
|
@@ -1480,6 +1496,14 @@ export declare const state: {
|
|
|
1480
1496
|
maxLength: number;
|
|
1481
1497
|
description: string;
|
|
1482
1498
|
};
|
|
1499
|
+
attributes: {
|
|
1500
|
+
type: "object";
|
|
1501
|
+
additionalProperties: {
|
|
1502
|
+
type: "string";
|
|
1503
|
+
maxLength: number;
|
|
1504
|
+
};
|
|
1505
|
+
description: string;
|
|
1506
|
+
};
|
|
1483
1507
|
discriminateByTags: {
|
|
1484
1508
|
type: "array";
|
|
1485
1509
|
items: {
|
|
@@ -1549,6 +1573,15 @@ export declare const state: {
|
|
|
1549
1573
|
nullable: true;
|
|
1550
1574
|
description: string;
|
|
1551
1575
|
};
|
|
1576
|
+
attributes: {
|
|
1577
|
+
type: "object";
|
|
1578
|
+
additionalProperties: {
|
|
1579
|
+
type: "string";
|
|
1580
|
+
maxLength: number;
|
|
1581
|
+
nullable: true;
|
|
1582
|
+
};
|
|
1583
|
+
description: string;
|
|
1584
|
+
};
|
|
1552
1585
|
};
|
|
1553
1586
|
title: string;
|
|
1554
1587
|
additionalProperties: false;
|
|
@@ -20646,6 +20679,14 @@ export declare const state: {
|
|
|
20646
20679
|
maxLength: number;
|
|
20647
20680
|
description: string;
|
|
20648
20681
|
};
|
|
20682
|
+
attributes: {
|
|
20683
|
+
type: "object";
|
|
20684
|
+
additionalProperties: {
|
|
20685
|
+
type: "string";
|
|
20686
|
+
maxLength: number;
|
|
20687
|
+
};
|
|
20688
|
+
description: string;
|
|
20689
|
+
};
|
|
20649
20690
|
};
|
|
20650
20691
|
required: string[];
|
|
20651
20692
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.73.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
6
|
"devDependencies": {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"esbuild": "0.27.1",
|
|
9
9
|
"zod": "^3.24.4",
|
|
10
10
|
"typescript": "5.9.3",
|
|
11
|
+
"@botpress/bridge": "1.8.0",
|
|
11
12
|
"@botpress/cloud-manager": "0.2.0",
|
|
12
13
|
"@botpress/common": "0.5.0",
|
|
13
|
-
"@botpress/bridge": "1.8.0",
|
|
14
14
|
"@botpress/files-api": "0.18.0",
|
|
15
15
|
"@bpinternal/const": "0.4.2",
|
|
16
16
|
"@bpinternal/tables-api": "0.17.2",
|