@botpress/api 1.56.0 → 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 CHANGED
@@ -286155,7 +286155,7 @@ var state = {
286155
286155
  "title": "Botpress Runtime API",
286156
286156
  "description": "API for Botpress Runtime",
286157
286157
  "server": "https://api.botpress.cloud",
286158
- "version": "1.56.0",
286158
+ "version": "1.57.0",
286159
286159
  "prefix": "v1"
286160
286160
  },
286161
286161
  "defaultParameters": {
@@ -302453,7 +302453,7 @@ var state2 = {
302453
302453
  "title": "Botpress Admin API",
302454
302454
  "description": "API for Botpress Cloud Manager",
302455
302455
  "server": "https://api.botpress.cloud",
302456
- "version": "1.56.0",
302456
+ "version": "1.57.0",
302457
302457
  "prefix": "v1"
302458
302458
  },
302459
302459
  "defaultParameters": {
@@ -307889,7 +307889,7 @@ var state3 = {
307889
307889
  "title": "Botpress Files API",
307890
307890
  "description": "API for Botpress Files",
307891
307891
  "server": "https://api.botpress.cloud",
307892
- "version": "1.56.0",
307892
+ "version": "1.57.0",
307893
307893
  "prefix": "v1"
307894
307894
  },
307895
307895
  "defaultParameters": {
@@ -308497,6 +308497,11 @@ var state4 = {
308497
308497
  "type": "boolean",
308498
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.'
308499
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
+ },
308500
308505
  "schema": {
308501
308506
  "type": "object",
308502
308507
  "additionalProperties": true,
@@ -308588,6 +308593,11 @@ var state4 = {
308588
308593
  "type": "boolean",
308589
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.'
308590
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
+ },
308591
308601
  "schema": {
308592
308602
  "type": "object",
308593
308603
  "additionalProperties": true,
@@ -309249,6 +309259,11 @@ var state4 = {
309249
309259
  "type": "boolean",
309250
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.'
309251
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
+ },
309252
309267
  "schema": {
309253
309268
  "type": "object",
309254
309269
  "additionalProperties": true,
@@ -310155,7 +310170,7 @@ var state4 = {
310155
310170
  "title": "Botpress Tables API",
310156
310171
  "description": "API for Botpress Tables",
310157
310172
  "server": "https://api.botpress.cloud",
310158
- "version": "1.56.0",
310173
+ "version": "1.57.0",
310159
310174
  "prefix": "v1"
310160
310175
  },
310161
310176
  "defaultParameters": {
@@ -310389,6 +310404,11 @@ var state4 = {
310389
310404
  "type": "boolean",
310390
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.'
310391
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
+ },
310392
310412
  "schema": {
310393
310413
  "type": "object",
310394
310414
  "properties": {
@@ -329925,6 +329945,11 @@ var state5 = {
329925
329945
  "type": "boolean",
329926
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.'
329927
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
+ },
329928
329953
  "schema": {
329929
329954
  "type": "object",
329930
329955
  "additionalProperties": true,
@@ -330016,6 +330041,11 @@ var state5 = {
330016
330041
  "type": "boolean",
330017
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.'
330018
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
+ },
330019
330049
  "schema": {
330020
330050
  "type": "object",
330021
330051
  "additionalProperties": true,
@@ -330460,6 +330490,11 @@ var state5 = {
330460
330490
  "type": "boolean",
330461
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.'
330462
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
+ },
330463
330498
  "schema": {
330464
330499
  "type": "object",
330465
330500
  "additionalProperties": true,
@@ -331078,7 +331113,7 @@ var state5 = {
331078
331113
  "title": "Botpress API",
331079
331114
  "description": "API for Botpress Cloud",
331080
331115
  "server": "https://api.botpress.cloud",
331081
- "version": "1.56.0",
331116
+ "version": "1.57.0",
331082
331117
  "prefix": "v1"
331083
331118
  },
331084
331119
  "errors": [
@@ -334541,6 +334576,11 @@ var state5 = {
334541
334576
  "type": "boolean",
334542
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.'
334543
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
+ },
334544
334584
  "schema": {
334545
334585
  "type": "object",
334546
334586
  "properties": {
@@ -16638,6 +16638,11 @@ export declare const state: {
16638
16638
  type: "boolean";
16639
16639
  description: string;
16640
16640
  };
16641
+ keyColumn: {
16642
+ type: "string";
16643
+ nullable: true;
16644
+ description: string;
16645
+ };
16641
16646
  schema: {
16642
16647
  type: "object";
16643
16648
  additionalProperties: true;
@@ -16719,6 +16724,11 @@ export declare const state: {
16719
16724
  type: "boolean";
16720
16725
  description: string;
16721
16726
  };
16727
+ keyColumn: {
16728
+ type: "string";
16729
+ nullable: true;
16730
+ description: string;
16731
+ };
16722
16732
  schema: {
16723
16733
  type: "object";
16724
16734
  additionalProperties: true;
@@ -17083,6 +17093,11 @@ export declare const state: {
17083
17093
  type: "boolean";
17084
17094
  description: string;
17085
17095
  };
17096
+ keyColumn: {
17097
+ type: "string";
17098
+ nullable: true;
17099
+ description: string;
17100
+ };
17086
17101
  schema: {
17087
17102
  type: "object";
17088
17103
  additionalProperties: true;
@@ -20521,6 +20536,11 @@ export declare const state: {
20521
20536
  type: "boolean";
20522
20537
  description: string;
20523
20538
  };
20539
+ keyColumn: {
20540
+ type: "string";
20541
+ nullable: true;
20542
+ description: string;
20543
+ };
20524
20544
  schema: {
20525
20545
  type: "object";
20526
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: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.56.0",
3
+ "version": "1.57.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "devDependencies": {
@@ -8,11 +8,11 @@
8
8
  "esbuild": "^0.16.10",
9
9
  "zod": "^3.24.4",
10
10
  "typescript": "5.5.4",
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
- "@bpinternal/const": "0.3.9",
15
14
  "@botpress/files-api": "0.18.0",
15
+ "@bpinternal/const": "0.3.9",
16
16
  "@bpinternal/tables-api": "0.17.2"
17
17
  },
18
18
  "dependencies": {