@botpress/api 1.73.4 → 1.74.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 +96 -20
- package/dist/src/gen/state.d.ts +26 -0
- package/dist/src/gen/tables/state.d.ts +26 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -279082,7 +279082,7 @@ var state = {
|
|
|
279082
279082
|
"title": "Botpress Runtime API",
|
|
279083
279083
|
"description": "API for Botpress Runtime",
|
|
279084
279084
|
"server": "https://api.botpress.cloud",
|
|
279085
|
-
"version": "1.
|
|
279085
|
+
"version": "1.74.0",
|
|
279086
279086
|
"prefix": "v1"
|
|
279087
279087
|
},
|
|
279088
279088
|
"defaultParameters": {
|
|
@@ -295519,7 +295519,7 @@ var state2 = {
|
|
|
295519
295519
|
"title": "Botpress Admin API",
|
|
295520
295520
|
"description": "API for Botpress Cloud Manager",
|
|
295521
295521
|
"server": "https://api.botpress.cloud",
|
|
295522
|
-
"version": "1.
|
|
295522
|
+
"version": "1.74.0",
|
|
295523
295523
|
"prefix": "v1"
|
|
295524
295524
|
},
|
|
295525
295525
|
"defaultParameters": {
|
|
@@ -301038,7 +301038,7 @@ var state3 = {
|
|
|
301038
301038
|
"title": "Botpress Files API",
|
|
301039
301039
|
"description": "API for Botpress Files",
|
|
301040
301040
|
"server": "https://api.botpress.cloud",
|
|
301041
|
-
"version": "1.
|
|
301041
|
+
"version": "1.74.0",
|
|
301042
301042
|
"prefix": "v1"
|
|
301043
301043
|
},
|
|
301044
301044
|
"defaultParameters": {
|
|
@@ -301913,7 +301913,7 @@ var state4 = {
|
|
|
301913
301913
|
},
|
|
301914
301914
|
"section": "tables",
|
|
301915
301915
|
"response": {
|
|
301916
|
-
"description": "The created table object.",
|
|
301916
|
+
"description": "The created table object. For large tables, rows are copied asynchronously and a job object is returned to track progress.",
|
|
301917
301917
|
"schema": {
|
|
301918
301918
|
"type": "object",
|
|
301919
301919
|
"properties": {
|
|
@@ -301922,7 +301922,23 @@ var state4 = {
|
|
|
301922
301922
|
},
|
|
301923
301923
|
"rows": {
|
|
301924
301924
|
"type": "number",
|
|
301925
|
-
"description": "The total number of rows present in the table."
|
|
301925
|
+
"description": "The total number of rows present in the source table."
|
|
301926
|
+
},
|
|
301927
|
+
"job": {
|
|
301928
|
+
"type": "object",
|
|
301929
|
+
"properties": {
|
|
301930
|
+
"id": {
|
|
301931
|
+
"type": "string"
|
|
301932
|
+
},
|
|
301933
|
+
"status": {
|
|
301934
|
+
"type": "string"
|
|
301935
|
+
}
|
|
301936
|
+
},
|
|
301937
|
+
"required": [
|
|
301938
|
+
"id",
|
|
301939
|
+
"status"
|
|
301940
|
+
],
|
|
301941
|
+
"additionalProperties": false
|
|
301926
301942
|
}
|
|
301927
301943
|
},
|
|
301928
301944
|
"required": [
|
|
@@ -302030,7 +302046,9 @@ var state4 = {
|
|
|
302030
302046
|
"export",
|
|
302031
302047
|
"import",
|
|
302032
302048
|
"clear_column",
|
|
302033
|
-
"clear_vectors"
|
|
302049
|
+
"clear_vectors",
|
|
302050
|
+
"delete_rows",
|
|
302051
|
+
"duplicate_table"
|
|
302034
302052
|
]
|
|
302035
302053
|
},
|
|
302036
302054
|
"status": {
|
|
@@ -302160,7 +302178,9 @@ var state4 = {
|
|
|
302160
302178
|
"export",
|
|
302161
302179
|
"import",
|
|
302162
302180
|
"clear_column",
|
|
302163
|
-
"clear_vectors"
|
|
302181
|
+
"clear_vectors",
|
|
302182
|
+
"delete_rows",
|
|
302183
|
+
"duplicate_table"
|
|
302164
302184
|
]
|
|
302165
302185
|
},
|
|
302166
302186
|
"status": {
|
|
@@ -302305,7 +302325,9 @@ var state4 = {
|
|
|
302305
302325
|
"export",
|
|
302306
302326
|
"import",
|
|
302307
302327
|
"clear_column",
|
|
302308
|
-
"clear_vectors"
|
|
302328
|
+
"clear_vectors",
|
|
302329
|
+
"delete_rows",
|
|
302330
|
+
"duplicate_table"
|
|
302309
302331
|
]
|
|
302310
302332
|
},
|
|
302311
302333
|
"status": {
|
|
@@ -303042,7 +303064,7 @@ var state4 = {
|
|
|
303042
303064
|
"filter": {
|
|
303043
303065
|
"type": "object",
|
|
303044
303066
|
"additionalProperties": true,
|
|
303045
|
-
"description": 'Filter to apply when deleting rows. Example: \\{ "
|
|
303067
|
+
"description": 'Filter to apply when deleting rows. Deletion with a filter is performed asynchronously in batches and returns a job object to track progress. Example: \\{ "createdAt": \\{ "$lt": "2026-01-01" \\} \\}'
|
|
303046
303068
|
},
|
|
303047
303069
|
"deleteAllRows": {
|
|
303048
303070
|
"type": "boolean",
|
|
@@ -303056,12 +303078,28 @@ var state4 = {
|
|
|
303056
303078
|
"method": "post",
|
|
303057
303079
|
"section": "tables",
|
|
303058
303080
|
"response": {
|
|
303059
|
-
"description": "Confirms the number of rows successfully deleted.",
|
|
303081
|
+
"description": "Confirms the number of rows successfully deleted. When using a filter, returns a job object for tracking async progress.",
|
|
303060
303082
|
"schema": {
|
|
303061
303083
|
"type": "object",
|
|
303062
303084
|
"properties": {
|
|
303063
303085
|
"deletedRows": {
|
|
303064
303086
|
"type": "number"
|
|
303087
|
+
},
|
|
303088
|
+
"job": {
|
|
303089
|
+
"type": "object",
|
|
303090
|
+
"properties": {
|
|
303091
|
+
"id": {
|
|
303092
|
+
"type": "string"
|
|
303093
|
+
},
|
|
303094
|
+
"status": {
|
|
303095
|
+
"type": "string"
|
|
303096
|
+
}
|
|
303097
|
+
},
|
|
303098
|
+
"required": [
|
|
303099
|
+
"id",
|
|
303100
|
+
"status"
|
|
303101
|
+
],
|
|
303102
|
+
"additionalProperties": false
|
|
303065
303103
|
}
|
|
303066
303104
|
},
|
|
303067
303105
|
"required": [
|
|
@@ -303334,7 +303372,7 @@ var state4 = {
|
|
|
303334
303372
|
"title": "Botpress Tables API",
|
|
303335
303373
|
"description": "API for Botpress Tables",
|
|
303336
303374
|
"server": "https://api.botpress.cloud",
|
|
303337
|
-
"version": "1.
|
|
303375
|
+
"version": "1.74.0",
|
|
303338
303376
|
"prefix": "v1"
|
|
303339
303377
|
},
|
|
303340
303378
|
"defaultParameters": {
|
|
@@ -323653,7 +323691,7 @@ var state5 = {
|
|
|
323653
323691
|
},
|
|
323654
323692
|
"section": "tables",
|
|
323655
323693
|
"response": {
|
|
323656
|
-
"description": "The created table object.",
|
|
323694
|
+
"description": "The created table object. For large tables, rows are copied asynchronously and a job object is returned to track progress.",
|
|
323657
323695
|
"schema": {
|
|
323658
323696
|
"type": "object",
|
|
323659
323697
|
"properties": {
|
|
@@ -323662,7 +323700,23 @@ var state5 = {
|
|
|
323662
323700
|
},
|
|
323663
323701
|
"rows": {
|
|
323664
323702
|
"type": "number",
|
|
323665
|
-
"description": "The total number of rows present in the table."
|
|
323703
|
+
"description": "The total number of rows present in the source table."
|
|
323704
|
+
},
|
|
323705
|
+
"job": {
|
|
323706
|
+
"type": "object",
|
|
323707
|
+
"properties": {
|
|
323708
|
+
"id": {
|
|
323709
|
+
"type": "string"
|
|
323710
|
+
},
|
|
323711
|
+
"status": {
|
|
323712
|
+
"type": "string"
|
|
323713
|
+
}
|
|
323714
|
+
},
|
|
323715
|
+
"required": [
|
|
323716
|
+
"id",
|
|
323717
|
+
"status"
|
|
323718
|
+
],
|
|
323719
|
+
"additionalProperties": false
|
|
323666
323720
|
}
|
|
323667
323721
|
},
|
|
323668
323722
|
"required": [
|
|
@@ -323734,7 +323788,9 @@ var state5 = {
|
|
|
323734
323788
|
"export",
|
|
323735
323789
|
"import",
|
|
323736
323790
|
"clear_column",
|
|
323737
|
-
"clear_vectors"
|
|
323791
|
+
"clear_vectors",
|
|
323792
|
+
"delete_rows",
|
|
323793
|
+
"duplicate_table"
|
|
323738
323794
|
]
|
|
323739
323795
|
},
|
|
323740
323796
|
"status": {
|
|
@@ -323828,7 +323884,9 @@ var state5 = {
|
|
|
323828
323884
|
"export",
|
|
323829
323885
|
"import",
|
|
323830
323886
|
"clear_column",
|
|
323831
|
-
"clear_vectors"
|
|
323887
|
+
"clear_vectors",
|
|
323888
|
+
"delete_rows",
|
|
323889
|
+
"duplicate_table"
|
|
323832
323890
|
]
|
|
323833
323891
|
},
|
|
323834
323892
|
"status": {
|
|
@@ -323937,7 +323995,9 @@ var state5 = {
|
|
|
323937
323995
|
"export",
|
|
323938
323996
|
"import",
|
|
323939
323997
|
"clear_column",
|
|
323940
|
-
"clear_vectors"
|
|
323998
|
+
"clear_vectors",
|
|
323999
|
+
"delete_rows",
|
|
324000
|
+
"duplicate_table"
|
|
323941
324001
|
]
|
|
323942
324002
|
},
|
|
323943
324003
|
"status": {
|
|
@@ -324422,7 +324482,7 @@ var state5 = {
|
|
|
324422
324482
|
"filter": {
|
|
324423
324483
|
"type": "object",
|
|
324424
324484
|
"additionalProperties": true,
|
|
324425
|
-
"description": 'Filter to apply when deleting rows. Example: \\{ "
|
|
324485
|
+
"description": 'Filter to apply when deleting rows. Deletion with a filter is performed asynchronously in batches and returns a job object to track progress. Example: \\{ "createdAt": \\{ "$lt": "2026-01-01" \\} \\}'
|
|
324426
324486
|
},
|
|
324427
324487
|
"deleteAllRows": {
|
|
324428
324488
|
"type": "boolean",
|
|
@@ -324436,12 +324496,28 @@ var state5 = {
|
|
|
324436
324496
|
"method": "post",
|
|
324437
324497
|
"section": "tables",
|
|
324438
324498
|
"response": {
|
|
324439
|
-
"description": "Confirms the number of rows successfully deleted.",
|
|
324499
|
+
"description": "Confirms the number of rows successfully deleted. When using a filter, returns a job object for tracking async progress.",
|
|
324440
324500
|
"schema": {
|
|
324441
324501
|
"type": "object",
|
|
324442
324502
|
"properties": {
|
|
324443
324503
|
"deletedRows": {
|
|
324444
324504
|
"type": "number"
|
|
324505
|
+
},
|
|
324506
|
+
"job": {
|
|
324507
|
+
"type": "object",
|
|
324508
|
+
"properties": {
|
|
324509
|
+
"id": {
|
|
324510
|
+
"type": "string"
|
|
324511
|
+
},
|
|
324512
|
+
"status": {
|
|
324513
|
+
"type": "string"
|
|
324514
|
+
}
|
|
324515
|
+
},
|
|
324516
|
+
"required": [
|
|
324517
|
+
"id",
|
|
324518
|
+
"status"
|
|
324519
|
+
],
|
|
324520
|
+
"additionalProperties": false
|
|
324445
324521
|
}
|
|
324446
324522
|
},
|
|
324447
324523
|
"required": [
|
|
@@ -324642,7 +324718,7 @@ var state5 = {
|
|
|
324642
324718
|
"title": "Botpress API",
|
|
324643
324719
|
"description": "API for Botpress Cloud",
|
|
324644
324720
|
"server": "https://api.botpress.cloud",
|
|
324645
|
-
"version": "1.
|
|
324721
|
+
"version": "1.74.0",
|
|
324646
324722
|
"prefix": "v1"
|
|
324647
324723
|
},
|
|
324648
324724
|
"errors": [
|
|
@@ -331425,7 +331501,7 @@ var state6 = {
|
|
|
331425
331501
|
"title": "Botpress Billing Public API",
|
|
331426
331502
|
"description": "API for Botpress Billing",
|
|
331427
331503
|
"server": "https://api.botpress.cloud",
|
|
331428
|
-
"version": "1.
|
|
331504
|
+
"version": "1.74.0",
|
|
331429
331505
|
"prefix": "v2"
|
|
331430
331506
|
},
|
|
331431
331507
|
"defaultParameters": {
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -17105,6 +17105,19 @@ export declare const state: {
|
|
|
17105
17105
|
type: "number";
|
|
17106
17106
|
description: string;
|
|
17107
17107
|
};
|
|
17108
|
+
job: {
|
|
17109
|
+
type: "object";
|
|
17110
|
+
properties: {
|
|
17111
|
+
id: {
|
|
17112
|
+
type: "string";
|
|
17113
|
+
};
|
|
17114
|
+
status: {
|
|
17115
|
+
type: "string";
|
|
17116
|
+
};
|
|
17117
|
+
};
|
|
17118
|
+
required: string[];
|
|
17119
|
+
additionalProperties: false;
|
|
17120
|
+
};
|
|
17108
17121
|
};
|
|
17109
17122
|
required: string[];
|
|
17110
17123
|
title: string;
|
|
@@ -17772,6 +17785,19 @@ export declare const state: {
|
|
|
17772
17785
|
deletedRows: {
|
|
17773
17786
|
type: "number";
|
|
17774
17787
|
};
|
|
17788
|
+
job: {
|
|
17789
|
+
type: "object";
|
|
17790
|
+
properties: {
|
|
17791
|
+
id: {
|
|
17792
|
+
type: "string";
|
|
17793
|
+
};
|
|
17794
|
+
status: {
|
|
17795
|
+
type: "string";
|
|
17796
|
+
};
|
|
17797
|
+
};
|
|
17798
|
+
required: string[];
|
|
17799
|
+
additionalProperties: false;
|
|
17800
|
+
};
|
|
17775
17801
|
};
|
|
17776
17802
|
required: string[];
|
|
17777
17803
|
title: string;
|
|
@@ -469,6 +469,19 @@ export declare const state: {
|
|
|
469
469
|
type: "number";
|
|
470
470
|
description: string;
|
|
471
471
|
};
|
|
472
|
+
job: {
|
|
473
|
+
type: "object";
|
|
474
|
+
properties: {
|
|
475
|
+
id: {
|
|
476
|
+
type: "string";
|
|
477
|
+
};
|
|
478
|
+
status: {
|
|
479
|
+
type: "string";
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
required: string[];
|
|
483
|
+
additionalProperties: false;
|
|
484
|
+
};
|
|
472
485
|
};
|
|
473
486
|
required: string[];
|
|
474
487
|
title: string;
|
|
@@ -1496,6 +1509,19 @@ export declare const state: {
|
|
|
1496
1509
|
deletedRows: {
|
|
1497
1510
|
type: "number";
|
|
1498
1511
|
};
|
|
1512
|
+
job: {
|
|
1513
|
+
type: "object";
|
|
1514
|
+
properties: {
|
|
1515
|
+
id: {
|
|
1516
|
+
type: "string";
|
|
1517
|
+
};
|
|
1518
|
+
status: {
|
|
1519
|
+
type: "string";
|
|
1520
|
+
};
|
|
1521
|
+
};
|
|
1522
|
+
required: string[];
|
|
1523
|
+
additionalProperties: false;
|
|
1524
|
+
};
|
|
1499
1525
|
};
|
|
1500
1526
|
required: string[];
|
|
1501
1527
|
title: string;
|