@botpress/api 1.35.2 → 1.36.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @botpress/api@1.35.2 openapi /home/runner/work/skynet/skynet/packages/public-api
2
+ > @botpress/api@1.36.0 openapi /home/runner/work/skynet/skynet/packages/public-api
3
3
  > es-node openapi/generator.ts && pnpm run build
4
4
 
5
5
  Generating openapi content
@@ -34,18 +34,18 @@ Saving openapi.json file
34
34
 
35
35
  info: Exit with code {"category":"system","code":0,"label":"Shutdown"}
36
36
 
37
- > @botpress/api@1.35.2 build /home/runner/work/skynet/skynet/packages/public-api
37
+ > @botpress/api@1.36.0 build /home/runner/work/skynet/skynet/packages/public-api
38
38
  > pnpm run build:type && pnpm run build:impl
39
39
 
40
40
 
41
- > @botpress/api@1.35.2 build:type /home/runner/work/skynet/skynet/packages/public-api
41
+ > @botpress/api@1.36.0 build:type /home/runner/work/skynet/skynet/packages/public-api
42
42
  > tsc -p tsconfig.package.json --emitDeclarationOnly
43
43
 
44
44
 
45
- > @botpress/api@1.35.2 build:impl /home/runner/work/skynet/skynet/packages/public-api
45
+ > @botpress/api@1.36.0 build:impl /home/runner/work/skynet/skynet/packages/public-api
46
46
  > esbuild --bundle --platform=node --outfile=dist/index.js src/index.ts
47
47
 
48
48
 
49
49
  dist/index.js 14.1mb ⚠️
50
50
 
51
- ⚡ Done in 887ms
51
+ ⚡ Done in 967ms
package/dist/index.js CHANGED
@@ -285333,7 +285333,7 @@ var state = {
285333
285333
  "title": "Botpress API",
285334
285334
  "description": "API for Botpress Cloud",
285335
285335
  "server": "https://api.botpress.cloud",
285336
- "version": "1.35.2",
285336
+ "version": "1.36.0",
285337
285337
  "prefix": "v1"
285338
285338
  },
285339
285339
  "errors": [
@@ -303247,7 +303247,7 @@ var state2 = {
303247
303247
  "title": "Botpress API",
303248
303248
  "description": "API for Botpress Cloud",
303249
303249
  "server": "https://api.botpress.cloud",
303250
- "version": "1.35.2",
303250
+ "version": "1.36.0",
303251
303251
  "prefix": "v1"
303252
303252
  },
303253
303253
  "errors": [
@@ -308923,6 +308923,12 @@ var state3 = {
308923
308923
  "name": {
308924
308924
  "type": "string",
308925
308925
  "description": "Name of the knowledge base."
308926
+ },
308927
+ "tags": {
308928
+ "type": "object",
308929
+ "additionalProperties": {
308930
+ "type": "string"
308931
+ }
308926
308932
  }
308927
308933
  },
308928
308934
  "required": [
@@ -308949,11 +308955,18 @@ var state3 = {
308949
308955
  "name": {
308950
308956
  "type": "string",
308951
308957
  "description": "Name of the knowledge base."
308958
+ },
308959
+ "tags": {
308960
+ "type": "object",
308961
+ "additionalProperties": {
308962
+ "type": "string"
308963
+ }
308952
308964
  }
308953
308965
  },
308954
308966
  "required": [
308955
308967
  "id",
308956
- "name"
308968
+ "name",
308969
+ "tags"
308957
308970
  ],
308958
308971
  "additionalProperties": false
308959
308972
  }
@@ -309010,6 +309023,15 @@ var state3 = {
309010
309023
  "name": {
309011
309024
  "type": "string",
309012
309025
  "description": "New name of the knowledge base."
309026
+ },
309027
+ "tags": {
309028
+ "type": "object",
309029
+ "additionalProperties": {
309030
+ "type": "string",
309031
+ "maxLength": 1e3,
309032
+ "nullable": true
309033
+ },
309034
+ "description": "The knowledge base tags to update as an object of key-value pairs with `string` (text) values. Omit to keep existing tags intact. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`."
309013
309035
  }
309014
309036
  },
309015
309037
  "required": [
@@ -309035,11 +309057,18 @@ var state3 = {
309035
309057
  "name": {
309036
309058
  "type": "string",
309037
309059
  "description": "Name of the knowledge base."
309060
+ },
309061
+ "tags": {
309062
+ "type": "object",
309063
+ "additionalProperties": {
309064
+ "type": "string"
309065
+ }
309038
309066
  }
309039
309067
  },
309040
309068
  "required": [
309041
309069
  "id",
309042
- "name"
309070
+ "name",
309071
+ "tags"
309043
309072
  ],
309044
309073
  "additionalProperties": false
309045
309074
  }
@@ -309063,6 +309092,12 @@ var state3 = {
309063
309092
  "in": "query",
309064
309093
  "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
309065
309094
  "type": "string"
309095
+ },
309096
+ "tags": {
309097
+ "in": "query",
309098
+ "description": "Filter files by tags. Tags should be passed as a URL-encoded JSON object of key-value pairs that must be present in the tags of a file. An array of multiple string values for the same key are treated as an OR condition. To exclude a value, express it as an object with a nested `not` key with the string or string-array value(s) to exclude.",
309099
+ "type": "object",
309100
+ "schema": {}
309066
309101
  }
309067
309102
  },
309068
309103
  "response": {
@@ -309086,12 +309121,19 @@ var state3 = {
309086
309121
  "createdAt": {
309087
309122
  "type": "string",
309088
309123
  "description": "Knowledge base creation timestamp in ISO 8601 format"
309124
+ },
309125
+ "tags": {
309126
+ "type": "object",
309127
+ "additionalProperties": {
309128
+ "type": "string"
309129
+ }
309089
309130
  }
309090
309131
  },
309091
309132
  "required": [
309092
309133
  "id",
309093
309134
  "name",
309094
- "createdAt"
309135
+ "createdAt",
309136
+ "tags"
309095
309137
  ]
309096
309138
  }
309097
309139
  },
@@ -309120,7 +309162,7 @@ var state3 = {
309120
309162
  "title": "Botpress API",
309121
309163
  "description": "API for Botpress Cloud",
309122
309164
  "server": "https://api.botpress.cloud",
309123
- "version": "1.35.2",
309165
+ "version": "1.36.0",
309124
309166
  "prefix": "v1"
309125
309167
  },
309126
309168
  "errors": [
@@ -314204,7 +314246,7 @@ var state4 = {
314204
314246
  "title": "Botpress API",
314205
314247
  "description": "API for Botpress Cloud",
314206
314248
  "server": "https://api.botpress.cloud",
314207
- "version": "1.35.2",
314249
+ "version": "1.36.0",
314208
314250
  "prefix": "v1"
314209
314251
  },
314210
314252
  "errors": [
@@ -336222,6 +336264,12 @@ var state5 = {
336222
336264
  "name": {
336223
336265
  "type": "string",
336224
336266
  "description": "Name of the knowledge base."
336267
+ },
336268
+ "tags": {
336269
+ "type": "object",
336270
+ "additionalProperties": {
336271
+ "type": "string"
336272
+ }
336225
336273
  }
336226
336274
  },
336227
336275
  "required": [
@@ -336248,11 +336296,18 @@ var state5 = {
336248
336296
  "name": {
336249
336297
  "type": "string",
336250
336298
  "description": "Name of the knowledge base."
336299
+ },
336300
+ "tags": {
336301
+ "type": "object",
336302
+ "additionalProperties": {
336303
+ "type": "string"
336304
+ }
336251
336305
  }
336252
336306
  },
336253
336307
  "required": [
336254
336308
  "id",
336255
- "name"
336309
+ "name",
336310
+ "tags"
336256
336311
  ],
336257
336312
  "additionalProperties": false
336258
336313
  }
@@ -336309,6 +336364,15 @@ var state5 = {
336309
336364
  "name": {
336310
336365
  "type": "string",
336311
336366
  "description": "New name of the knowledge base."
336367
+ },
336368
+ "tags": {
336369
+ "type": "object",
336370
+ "additionalProperties": {
336371
+ "type": "string",
336372
+ "maxLength": 1e3,
336373
+ "nullable": true
336374
+ },
336375
+ "description": "The knowledge base tags to update as an object of key-value pairs with `string` (text) values. Omit to keep existing tags intact. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`."
336312
336376
  }
336313
336377
  },
336314
336378
  "required": [
@@ -336334,11 +336398,18 @@ var state5 = {
336334
336398
  "name": {
336335
336399
  "type": "string",
336336
336400
  "description": "Name of the knowledge base."
336401
+ },
336402
+ "tags": {
336403
+ "type": "object",
336404
+ "additionalProperties": {
336405
+ "type": "string"
336406
+ }
336337
336407
  }
336338
336408
  },
336339
336409
  "required": [
336340
336410
  "id",
336341
- "name"
336411
+ "name",
336412
+ "tags"
336342
336413
  ],
336343
336414
  "additionalProperties": false
336344
336415
  }
@@ -336362,6 +336433,12 @@ var state5 = {
336362
336433
  "in": "query",
336363
336434
  "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
336364
336435
  "type": "string"
336436
+ },
336437
+ "tags": {
336438
+ "in": "query",
336439
+ "description": "Filter files by tags. Tags should be passed as a URL-encoded JSON object of key-value pairs that must be present in the tags of a file. An array of multiple string values for the same key are treated as an OR condition. To exclude a value, express it as an object with a nested `not` key with the string or string-array value(s) to exclude.",
336440
+ "type": "object",
336441
+ "schema": {}
336365
336442
  }
336366
336443
  },
336367
336444
  "response": {
@@ -336385,12 +336462,19 @@ var state5 = {
336385
336462
  "createdAt": {
336386
336463
  "type": "string",
336387
336464
  "description": "Knowledge base creation timestamp in ISO 8601 format"
336465
+ },
336466
+ "tags": {
336467
+ "type": "object",
336468
+ "additionalProperties": {
336469
+ "type": "string"
336470
+ }
336388
336471
  }
336389
336472
  },
336390
336473
  "required": [
336391
336474
  "id",
336392
336475
  "name",
336393
- "createdAt"
336476
+ "createdAt",
336477
+ "tags"
336394
336478
  ]
336395
336479
  }
336396
336480
  },
@@ -337625,7 +337709,7 @@ var state5 = {
337625
337709
  "title": "Botpress API",
337626
337710
  "description": "API for Botpress Cloud",
337627
337711
  "server": "https://api.botpress.cloud",
337628
- "version": "1.35.2",
337712
+ "version": "1.36.0",
337629
337713
  "prefix": "v1"
337630
337714
  },
337631
337715
  "errors": [
@@ -1315,6 +1315,12 @@ export declare const state: {
1315
1315
  type: "string";
1316
1316
  description: string;
1317
1317
  };
1318
+ tags: {
1319
+ type: "object";
1320
+ additionalProperties: {
1321
+ type: "string";
1322
+ };
1323
+ };
1318
1324
  };
1319
1325
  required: string[];
1320
1326
  title: string;
@@ -1339,6 +1345,12 @@ export declare const state: {
1339
1345
  type: "string";
1340
1346
  description: string;
1341
1347
  };
1348
+ tags: {
1349
+ type: "object";
1350
+ additionalProperties: {
1351
+ type: "string";
1352
+ };
1353
+ };
1342
1354
  };
1343
1355
  required: string[];
1344
1356
  additionalProperties: false;
@@ -1395,6 +1407,15 @@ export declare const state: {
1395
1407
  type: "string";
1396
1408
  description: string;
1397
1409
  };
1410
+ tags: {
1411
+ type: "object";
1412
+ additionalProperties: {
1413
+ type: "string";
1414
+ maxLength: number;
1415
+ nullable: true;
1416
+ };
1417
+ description: string;
1418
+ };
1398
1419
  };
1399
1420
  required: string[];
1400
1421
  title: string;
@@ -1418,6 +1439,12 @@ export declare const state: {
1418
1439
  type: "string";
1419
1440
  description: string;
1420
1441
  };
1442
+ tags: {
1443
+ type: "object";
1444
+ additionalProperties: {
1445
+ type: "string";
1446
+ };
1447
+ };
1421
1448
  };
1422
1449
  required: string[];
1423
1450
  additionalProperties: false;
@@ -1441,6 +1468,12 @@ export declare const state: {
1441
1468
  description: string;
1442
1469
  type: "string";
1443
1470
  };
1471
+ tags: {
1472
+ in: "query";
1473
+ description: string;
1474
+ type: "object";
1475
+ schema: {};
1476
+ };
1444
1477
  };
1445
1478
  response: {
1446
1479
  description: string;
@@ -1464,6 +1497,12 @@ export declare const state: {
1464
1497
  type: "string";
1465
1498
  description: string;
1466
1499
  };
1500
+ tags: {
1501
+ type: "object";
1502
+ additionalProperties: {
1503
+ type: "string";
1504
+ };
1505
+ };
1467
1506
  };
1468
1507
  required: string[];
1469
1508
  };
@@ -15962,6 +15962,12 @@ export declare const state: {
15962
15962
  type: "string";
15963
15963
  description: string;
15964
15964
  };
15965
+ tags: {
15966
+ type: "object";
15967
+ additionalProperties: {
15968
+ type: "string";
15969
+ };
15970
+ };
15965
15971
  };
15966
15972
  required: string[];
15967
15973
  title: string;
@@ -15986,6 +15992,12 @@ export declare const state: {
15986
15992
  type: "string";
15987
15993
  description: string;
15988
15994
  };
15995
+ tags: {
15996
+ type: "object";
15997
+ additionalProperties: {
15998
+ type: "string";
15999
+ };
16000
+ };
15989
16001
  };
15990
16002
  required: string[];
15991
16003
  additionalProperties: false;
@@ -16042,6 +16054,15 @@ export declare const state: {
16042
16054
  type: "string";
16043
16055
  description: string;
16044
16056
  };
16057
+ tags: {
16058
+ type: "object";
16059
+ additionalProperties: {
16060
+ type: "string";
16061
+ maxLength: number;
16062
+ nullable: true;
16063
+ };
16064
+ description: string;
16065
+ };
16045
16066
  };
16046
16067
  required: string[];
16047
16068
  title: string;
@@ -16065,6 +16086,12 @@ export declare const state: {
16065
16086
  type: "string";
16066
16087
  description: string;
16067
16088
  };
16089
+ tags: {
16090
+ type: "object";
16091
+ additionalProperties: {
16092
+ type: "string";
16093
+ };
16094
+ };
16068
16095
  };
16069
16096
  required: string[];
16070
16097
  additionalProperties: false;
@@ -16088,6 +16115,12 @@ export declare const state: {
16088
16115
  description: string;
16089
16116
  type: "string";
16090
16117
  };
16118
+ tags: {
16119
+ in: "query";
16120
+ description: string;
16121
+ type: "object";
16122
+ schema: {};
16123
+ };
16091
16124
  };
16092
16125
  response: {
16093
16126
  description: string;
@@ -16111,6 +16144,12 @@ export declare const state: {
16111
16144
  type: "string";
16112
16145
  description: string;
16113
16146
  };
16147
+ tags: {
16148
+ type: "object";
16149
+ additionalProperties: {
16150
+ type: "string";
16151
+ };
16152
+ };
16114
16153
  };
16115
16154
  required: string[];
16116
16155
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.35.2",
3
+ "version": "1.36.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {