@botpress/api 1.55.1 → 1.57.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 +65 -5
- package/dist/src/gen/runtime/state.d.ts +10 -0
- package/dist/src/gen/state.d.ts +30 -0
- package/dist/src/gen/tables/state.d.ts +20 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -283930,6 +283930,16 @@ var state = {
|
|
|
283930
283930
|
},
|
|
283931
283931
|
"description": "Filter by tags"
|
|
283932
283932
|
},
|
|
283933
|
+
"afterDate": {
|
|
283934
|
+
"in": "query",
|
|
283935
|
+
"description": "Date in ISO 8601 string with UTC timezone after which the message was created (inclusive)",
|
|
283936
|
+
"type": "string"
|
|
283937
|
+
},
|
|
283938
|
+
"beforeDate": {
|
|
283939
|
+
"in": "query",
|
|
283940
|
+
"description": "Date in ISO 8601 string with UTC timezone before which the message was created (inclusive)",
|
|
283941
|
+
"type": "string"
|
|
283942
|
+
},
|
|
283933
283943
|
"x-bot-id": {
|
|
283934
283944
|
"in": "header",
|
|
283935
283945
|
"description": "Bot id",
|
|
@@ -286145,7 +286155,7 @@ var state = {
|
|
|
286145
286155
|
"title": "Botpress Runtime API",
|
|
286146
286156
|
"description": "API for Botpress Runtime",
|
|
286147
286157
|
"server": "https://api.botpress.cloud",
|
|
286148
|
-
"version": "1.
|
|
286158
|
+
"version": "1.57.0",
|
|
286149
286159
|
"prefix": "v1"
|
|
286150
286160
|
},
|
|
286151
286161
|
"defaultParameters": {
|
|
@@ -302443,7 +302453,7 @@ var state2 = {
|
|
|
302443
302453
|
"title": "Botpress Admin API",
|
|
302444
302454
|
"description": "API for Botpress Cloud Manager",
|
|
302445
302455
|
"server": "https://api.botpress.cloud",
|
|
302446
|
-
"version": "1.
|
|
302456
|
+
"version": "1.57.0",
|
|
302447
302457
|
"prefix": "v1"
|
|
302448
302458
|
},
|
|
302449
302459
|
"defaultParameters": {
|
|
@@ -307879,7 +307889,7 @@ var state3 = {
|
|
|
307879
307889
|
"title": "Botpress Files API",
|
|
307880
307890
|
"description": "API for Botpress Files",
|
|
307881
307891
|
"server": "https://api.botpress.cloud",
|
|
307882
|
-
"version": "1.
|
|
307892
|
+
"version": "1.57.0",
|
|
307883
307893
|
"prefix": "v1"
|
|
307884
307894
|
},
|
|
307885
307895
|
"defaultParameters": {
|
|
@@ -308487,6 +308497,11 @@ var state4 = {
|
|
|
308487
308497
|
"type": "boolean",
|
|
308488
308498
|
"description": 'A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.'
|
|
308489
308499
|
},
|
|
308500
|
+
"keyColumn": {
|
|
308501
|
+
"type": "string",
|
|
308502
|
+
"nullable": true,
|
|
308503
|
+
"description": "Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed."
|
|
308504
|
+
},
|
|
308490
308505
|
"schema": {
|
|
308491
308506
|
"type": "object",
|
|
308492
308507
|
"additionalProperties": true,
|
|
@@ -308578,6 +308593,11 @@ var state4 = {
|
|
|
308578
308593
|
"type": "boolean",
|
|
308579
308594
|
"description": 'A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.'
|
|
308580
308595
|
},
|
|
308596
|
+
"keyColumn": {
|
|
308597
|
+
"type": "string",
|
|
308598
|
+
"nullable": true,
|
|
308599
|
+
"description": "Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed."
|
|
308600
|
+
},
|
|
308581
308601
|
"schema": {
|
|
308582
308602
|
"type": "object",
|
|
308583
308603
|
"additionalProperties": true,
|
|
@@ -309239,6 +309259,11 @@ var state4 = {
|
|
|
309239
309259
|
"type": "boolean",
|
|
309240
309260
|
"description": 'A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.'
|
|
309241
309261
|
},
|
|
309262
|
+
"keyColumn": {
|
|
309263
|
+
"type": "string",
|
|
309264
|
+
"nullable": true,
|
|
309265
|
+
"description": "Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed."
|
|
309266
|
+
},
|
|
309242
309267
|
"schema": {
|
|
309243
309268
|
"type": "object",
|
|
309244
309269
|
"additionalProperties": true,
|
|
@@ -310145,7 +310170,7 @@ var state4 = {
|
|
|
310145
310170
|
"title": "Botpress Tables API",
|
|
310146
310171
|
"description": "API for Botpress Tables",
|
|
310147
310172
|
"server": "https://api.botpress.cloud",
|
|
310148
|
-
"version": "1.
|
|
310173
|
+
"version": "1.57.0",
|
|
310149
310174
|
"prefix": "v1"
|
|
310150
310175
|
},
|
|
310151
310176
|
"defaultParameters": {
|
|
@@ -310379,6 +310404,11 @@ var state4 = {
|
|
|
310379
310404
|
"type": "boolean",
|
|
310380
310405
|
"description": 'A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.'
|
|
310381
310406
|
},
|
|
310407
|
+
"keyColumn": {
|
|
310408
|
+
"type": "string",
|
|
310409
|
+
"nullable": true,
|
|
310410
|
+
"description": "Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed."
|
|
310411
|
+
},
|
|
310382
310412
|
"schema": {
|
|
310383
310413
|
"type": "object",
|
|
310384
310414
|
"properties": {
|
|
@@ -311887,6 +311917,16 @@ var state5 = {
|
|
|
311887
311917
|
}
|
|
311888
311918
|
},
|
|
311889
311919
|
"description": "Filter by tags"
|
|
311920
|
+
},
|
|
311921
|
+
"afterDate": {
|
|
311922
|
+
"in": "query",
|
|
311923
|
+
"description": "Date in ISO 8601 string with UTC timezone after which the message was created (inclusive)",
|
|
311924
|
+
"type": "string"
|
|
311925
|
+
},
|
|
311926
|
+
"beforeDate": {
|
|
311927
|
+
"in": "query",
|
|
311928
|
+
"description": "Date in ISO 8601 string with UTC timezone before which the message was created (inclusive)",
|
|
311929
|
+
"type": "string"
|
|
311890
311930
|
}
|
|
311891
311931
|
},
|
|
311892
311932
|
"section": "message",
|
|
@@ -329905,6 +329945,11 @@ var state5 = {
|
|
|
329905
329945
|
"type": "boolean",
|
|
329906
329946
|
"description": 'A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.'
|
|
329907
329947
|
},
|
|
329948
|
+
"keyColumn": {
|
|
329949
|
+
"type": "string",
|
|
329950
|
+
"nullable": true,
|
|
329951
|
+
"description": "Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed."
|
|
329952
|
+
},
|
|
329908
329953
|
"schema": {
|
|
329909
329954
|
"type": "object",
|
|
329910
329955
|
"additionalProperties": true,
|
|
@@ -329996,6 +330041,11 @@ var state5 = {
|
|
|
329996
330041
|
"type": "boolean",
|
|
329997
330042
|
"description": 'A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.'
|
|
329998
330043
|
},
|
|
330044
|
+
"keyColumn": {
|
|
330045
|
+
"type": "string",
|
|
330046
|
+
"nullable": true,
|
|
330047
|
+
"description": "Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed."
|
|
330048
|
+
},
|
|
329999
330049
|
"schema": {
|
|
330000
330050
|
"type": "object",
|
|
330001
330051
|
"additionalProperties": true,
|
|
@@ -330440,6 +330490,11 @@ var state5 = {
|
|
|
330440
330490
|
"type": "boolean",
|
|
330441
330491
|
"description": 'A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.'
|
|
330442
330492
|
},
|
|
330493
|
+
"keyColumn": {
|
|
330494
|
+
"type": "string",
|
|
330495
|
+
"nullable": true,
|
|
330496
|
+
"description": "Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed."
|
|
330497
|
+
},
|
|
330443
330498
|
"schema": {
|
|
330444
330499
|
"type": "object",
|
|
330445
330500
|
"additionalProperties": true,
|
|
@@ -331058,7 +331113,7 @@ var state5 = {
|
|
|
331058
331113
|
"title": "Botpress API",
|
|
331059
331114
|
"description": "API for Botpress Cloud",
|
|
331060
331115
|
"server": "https://api.botpress.cloud",
|
|
331061
|
-
"version": "1.
|
|
331116
|
+
"version": "1.57.0",
|
|
331062
331117
|
"prefix": "v1"
|
|
331063
331118
|
},
|
|
331064
331119
|
"errors": [
|
|
@@ -334521,6 +334576,11 @@ var state5 = {
|
|
|
334521
334576
|
"type": "boolean",
|
|
334522
334577
|
"description": 'A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.'
|
|
334523
334578
|
},
|
|
334579
|
+
"keyColumn": {
|
|
334580
|
+
"type": "string",
|
|
334581
|
+
"nullable": true,
|
|
334582
|
+
"description": "Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed."
|
|
334583
|
+
},
|
|
334524
334584
|
"schema": {
|
|
334525
334585
|
"type": "object",
|
|
334526
334586
|
"properties": {
|
|
@@ -1290,6 +1290,16 @@ export declare const state: {
|
|
|
1290
1290
|
};
|
|
1291
1291
|
description: string;
|
|
1292
1292
|
};
|
|
1293
|
+
afterDate: {
|
|
1294
|
+
in: "query";
|
|
1295
|
+
description: string;
|
|
1296
|
+
type: "string";
|
|
1297
|
+
};
|
|
1298
|
+
beforeDate: {
|
|
1299
|
+
in: "query";
|
|
1300
|
+
description: string;
|
|
1301
|
+
type: "string";
|
|
1302
|
+
};
|
|
1293
1303
|
"x-bot-id": {
|
|
1294
1304
|
in: "header";
|
|
1295
1305
|
description: string;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -961,6 +961,16 @@ export declare const state: {
|
|
|
961
961
|
};
|
|
962
962
|
description: string;
|
|
963
963
|
};
|
|
964
|
+
afterDate: {
|
|
965
|
+
in: "query";
|
|
966
|
+
description: string;
|
|
967
|
+
type: "string";
|
|
968
|
+
};
|
|
969
|
+
beforeDate: {
|
|
970
|
+
in: "query";
|
|
971
|
+
description: string;
|
|
972
|
+
type: "string";
|
|
973
|
+
};
|
|
964
974
|
};
|
|
965
975
|
section: "message";
|
|
966
976
|
response: {
|
|
@@ -16628,6 +16638,11 @@ export declare const state: {
|
|
|
16628
16638
|
type: "boolean";
|
|
16629
16639
|
description: string;
|
|
16630
16640
|
};
|
|
16641
|
+
keyColumn: {
|
|
16642
|
+
type: "string";
|
|
16643
|
+
nullable: true;
|
|
16644
|
+
description: string;
|
|
16645
|
+
};
|
|
16631
16646
|
schema: {
|
|
16632
16647
|
type: "object";
|
|
16633
16648
|
additionalProperties: true;
|
|
@@ -16709,6 +16724,11 @@ export declare const state: {
|
|
|
16709
16724
|
type: "boolean";
|
|
16710
16725
|
description: string;
|
|
16711
16726
|
};
|
|
16727
|
+
keyColumn: {
|
|
16728
|
+
type: "string";
|
|
16729
|
+
nullable: true;
|
|
16730
|
+
description: string;
|
|
16731
|
+
};
|
|
16712
16732
|
schema: {
|
|
16713
16733
|
type: "object";
|
|
16714
16734
|
additionalProperties: true;
|
|
@@ -17073,6 +17093,11 @@ export declare const state: {
|
|
|
17073
17093
|
type: "boolean";
|
|
17074
17094
|
description: string;
|
|
17075
17095
|
};
|
|
17096
|
+
keyColumn: {
|
|
17097
|
+
type: "string";
|
|
17098
|
+
nullable: true;
|
|
17099
|
+
description: string;
|
|
17100
|
+
};
|
|
17076
17101
|
schema: {
|
|
17077
17102
|
type: "object";
|
|
17078
17103
|
additionalProperties: true;
|
|
@@ -20511,6 +20536,11 @@ export declare const state: {
|
|
|
20511
20536
|
type: "boolean";
|
|
20512
20537
|
description: string;
|
|
20513
20538
|
};
|
|
20539
|
+
keyColumn: {
|
|
20540
|
+
type: "string";
|
|
20541
|
+
nullable: true;
|
|
20542
|
+
description: string;
|
|
20543
|
+
};
|
|
20514
20544
|
schema: {
|
|
20515
20545
|
type: "object";
|
|
20516
20546
|
properties: {
|
|
@@ -217,6 +217,11 @@ export declare const state: {
|
|
|
217
217
|
type: "boolean";
|
|
218
218
|
description: string;
|
|
219
219
|
};
|
|
220
|
+
keyColumn: {
|
|
221
|
+
type: "string";
|
|
222
|
+
nullable: true;
|
|
223
|
+
description: string;
|
|
224
|
+
};
|
|
220
225
|
schema: {
|
|
221
226
|
type: "object";
|
|
222
227
|
additionalProperties: true;
|
|
@@ -298,6 +303,11 @@ export declare const state: {
|
|
|
298
303
|
type: "boolean";
|
|
299
304
|
description: string;
|
|
300
305
|
};
|
|
306
|
+
keyColumn: {
|
|
307
|
+
type: "string";
|
|
308
|
+
nullable: true;
|
|
309
|
+
description: string;
|
|
310
|
+
};
|
|
301
311
|
schema: {
|
|
302
312
|
type: "object";
|
|
303
313
|
additionalProperties: true;
|
|
@@ -879,6 +889,11 @@ export declare const state: {
|
|
|
879
889
|
type: "boolean";
|
|
880
890
|
description: string;
|
|
881
891
|
};
|
|
892
|
+
keyColumn: {
|
|
893
|
+
type: "string";
|
|
894
|
+
nullable: true;
|
|
895
|
+
description: string;
|
|
896
|
+
};
|
|
882
897
|
schema: {
|
|
883
898
|
type: "object";
|
|
884
899
|
additionalProperties: true;
|
|
@@ -1889,6 +1904,11 @@ export declare const state: {
|
|
|
1889
1904
|
type: "boolean";
|
|
1890
1905
|
description: string;
|
|
1891
1906
|
};
|
|
1907
|
+
keyColumn: {
|
|
1908
|
+
type: "string";
|
|
1909
|
+
nullable: true;
|
|
1910
|
+
description: string;
|
|
1911
|
+
};
|
|
1892
1912
|
schema: {
|
|
1893
1913
|
type: "object";
|
|
1894
1914
|
properties: {
|