@botpress/api 1.35.1 → 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.1 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.1 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.1 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.1 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 941ms
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.1",
285336
+ "version": "1.36.0",
285337
285337
  "prefix": "v1"
285338
285338
  },
285339
285339
  "errors": [
@@ -294347,6 +294347,10 @@ var state2 = {
294347
294347
  "items": {
294348
294348
  "type": "string"
294349
294349
  }
294350
+ },
294351
+ "shouldMergePlugins": {
294352
+ "type": "boolean",
294353
+ "description": "UNUSED. Please ignore this field. It will be removed in the near future."
294350
294354
  }
294351
294355
  },
294352
294356
  "title": "updateBotBody",
@@ -294539,6 +294543,12 @@ var state2 = {
294539
294543
  "type": "string",
294540
294544
  "description": "Bot ID",
294541
294545
  "in": "path"
294546
+ },
294547
+ "shouldMergePlugins": {
294548
+ "in": "query",
294549
+ "type": "boolean",
294550
+ "required": false,
294551
+ "description": "UNUSED. Please ignore this field. It will be removed in the near future."
294542
294552
  }
294543
294553
  },
294544
294554
  "response": {
@@ -303237,7 +303247,7 @@ var state2 = {
303237
303247
  "title": "Botpress API",
303238
303248
  "description": "API for Botpress Cloud",
303239
303249
  "server": "https://api.botpress.cloud",
303240
- "version": "1.35.1",
303250
+ "version": "1.36.0",
303241
303251
  "prefix": "v1"
303242
303252
  },
303243
303253
  "errors": [
@@ -308913,6 +308923,12 @@ var state3 = {
308913
308923
  "name": {
308914
308924
  "type": "string",
308915
308925
  "description": "Name of the knowledge base."
308926
+ },
308927
+ "tags": {
308928
+ "type": "object",
308929
+ "additionalProperties": {
308930
+ "type": "string"
308931
+ }
308916
308932
  }
308917
308933
  },
308918
308934
  "required": [
@@ -308939,11 +308955,18 @@ var state3 = {
308939
308955
  "name": {
308940
308956
  "type": "string",
308941
308957
  "description": "Name of the knowledge base."
308958
+ },
308959
+ "tags": {
308960
+ "type": "object",
308961
+ "additionalProperties": {
308962
+ "type": "string"
308963
+ }
308942
308964
  }
308943
308965
  },
308944
308966
  "required": [
308945
308967
  "id",
308946
- "name"
308968
+ "name",
308969
+ "tags"
308947
308970
  ],
308948
308971
  "additionalProperties": false
308949
308972
  }
@@ -309000,6 +309023,15 @@ var state3 = {
309000
309023
  "name": {
309001
309024
  "type": "string",
309002
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`."
309003
309035
  }
309004
309036
  },
309005
309037
  "required": [
@@ -309025,11 +309057,18 @@ var state3 = {
309025
309057
  "name": {
309026
309058
  "type": "string",
309027
309059
  "description": "Name of the knowledge base."
309060
+ },
309061
+ "tags": {
309062
+ "type": "object",
309063
+ "additionalProperties": {
309064
+ "type": "string"
309065
+ }
309028
309066
  }
309029
309067
  },
309030
309068
  "required": [
309031
309069
  "id",
309032
- "name"
309070
+ "name",
309071
+ "tags"
309033
309072
  ],
309034
309073
  "additionalProperties": false
309035
309074
  }
@@ -309053,6 +309092,12 @@ var state3 = {
309053
309092
  "in": "query",
309054
309093
  "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
309055
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": {}
309056
309101
  }
309057
309102
  },
309058
309103
  "response": {
@@ -309076,12 +309121,19 @@ var state3 = {
309076
309121
  "createdAt": {
309077
309122
  "type": "string",
309078
309123
  "description": "Knowledge base creation timestamp in ISO 8601 format"
309124
+ },
309125
+ "tags": {
309126
+ "type": "object",
309127
+ "additionalProperties": {
309128
+ "type": "string"
309129
+ }
309079
309130
  }
309080
309131
  },
309081
309132
  "required": [
309082
309133
  "id",
309083
309134
  "name",
309084
- "createdAt"
309135
+ "createdAt",
309136
+ "tags"
309085
309137
  ]
309086
309138
  }
309087
309139
  },
@@ -309110,7 +309162,7 @@ var state3 = {
309110
309162
  "title": "Botpress API",
309111
309163
  "description": "API for Botpress Cloud",
309112
309164
  "server": "https://api.botpress.cloud",
309113
- "version": "1.35.1",
309165
+ "version": "1.36.0",
309114
309166
  "prefix": "v1"
309115
309167
  },
309116
309168
  "errors": [
@@ -314194,7 +314246,7 @@ var state4 = {
314194
314246
  "title": "Botpress API",
314195
314247
  "description": "API for Botpress Cloud",
314196
314248
  "server": "https://api.botpress.cloud",
314197
- "version": "1.35.1",
314249
+ "version": "1.36.0",
314198
314250
  "prefix": "v1"
314199
314251
  },
314200
314252
  "errors": [
@@ -325732,6 +325784,10 @@ var state5 = {
325732
325784
  "items": {
325733
325785
  "type": "string"
325734
325786
  }
325787
+ },
325788
+ "shouldMergePlugins": {
325789
+ "type": "boolean",
325790
+ "description": "UNUSED. Please ignore this field. It will be removed in the near future."
325735
325791
  }
325736
325792
  },
325737
325793
  "title": "updateBotBody",
@@ -325924,6 +325980,12 @@ var state5 = {
325924
325980
  "type": "string",
325925
325981
  "description": "Bot ID",
325926
325982
  "in": "path"
325983
+ },
325984
+ "shouldMergePlugins": {
325985
+ "in": "query",
325986
+ "type": "boolean",
325987
+ "required": false,
325988
+ "description": "UNUSED. Please ignore this field. It will be removed in the near future."
325927
325989
  }
325928
325990
  },
325929
325991
  "response": {
@@ -336202,6 +336264,12 @@ var state5 = {
336202
336264
  "name": {
336203
336265
  "type": "string",
336204
336266
  "description": "Name of the knowledge base."
336267
+ },
336268
+ "tags": {
336269
+ "type": "object",
336270
+ "additionalProperties": {
336271
+ "type": "string"
336272
+ }
336205
336273
  }
336206
336274
  },
336207
336275
  "required": [
@@ -336228,11 +336296,18 @@ var state5 = {
336228
336296
  "name": {
336229
336297
  "type": "string",
336230
336298
  "description": "Name of the knowledge base."
336299
+ },
336300
+ "tags": {
336301
+ "type": "object",
336302
+ "additionalProperties": {
336303
+ "type": "string"
336304
+ }
336231
336305
  }
336232
336306
  },
336233
336307
  "required": [
336234
336308
  "id",
336235
- "name"
336309
+ "name",
336310
+ "tags"
336236
336311
  ],
336237
336312
  "additionalProperties": false
336238
336313
  }
@@ -336289,6 +336364,15 @@ var state5 = {
336289
336364
  "name": {
336290
336365
  "type": "string",
336291
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`."
336292
336376
  }
336293
336377
  },
336294
336378
  "required": [
@@ -336314,11 +336398,18 @@ var state5 = {
336314
336398
  "name": {
336315
336399
  "type": "string",
336316
336400
  "description": "Name of the knowledge base."
336401
+ },
336402
+ "tags": {
336403
+ "type": "object",
336404
+ "additionalProperties": {
336405
+ "type": "string"
336406
+ }
336317
336407
  }
336318
336408
  },
336319
336409
  "required": [
336320
336410
  "id",
336321
- "name"
336411
+ "name",
336412
+ "tags"
336322
336413
  ],
336323
336414
  "additionalProperties": false
336324
336415
  }
@@ -336342,6 +336433,12 @@ var state5 = {
336342
336433
  "in": "query",
336343
336434
  "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
336344
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": {}
336345
336442
  }
336346
336443
  },
336347
336444
  "response": {
@@ -336365,12 +336462,19 @@ var state5 = {
336365
336462
  "createdAt": {
336366
336463
  "type": "string",
336367
336464
  "description": "Knowledge base creation timestamp in ISO 8601 format"
336465
+ },
336466
+ "tags": {
336467
+ "type": "object",
336468
+ "additionalProperties": {
336469
+ "type": "string"
336470
+ }
336368
336471
  }
336369
336472
  },
336370
336473
  "required": [
336371
336474
  "id",
336372
336475
  "name",
336373
- "createdAt"
336476
+ "createdAt",
336477
+ "tags"
336374
336478
  ]
336375
336479
  }
336376
336480
  },
@@ -337605,7 +337709,7 @@ var state5 = {
337605
337709
  "title": "Botpress API",
337606
337710
  "description": "API for Botpress Cloud",
337607
337711
  "server": "https://api.botpress.cloud",
337608
- "version": "1.35.1",
337712
+ "version": "1.36.0",
337609
337713
  "prefix": "v1"
337610
337714
  },
337611
337715
  "errors": [
@@ -4433,6 +4433,10 @@ export declare const state: {
4433
4433
  type: "string";
4434
4434
  };
4435
4435
  };
4436
+ shouldMergePlugins: {
4437
+ type: "boolean";
4438
+ description: string;
4439
+ };
4436
4440
  };
4437
4441
  title: string;
4438
4442
  additionalProperties: false;
@@ -4606,6 +4610,12 @@ export declare const state: {
4606
4610
  description: string;
4607
4611
  in: "path";
4608
4612
  };
4613
+ shouldMergePlugins: {
4614
+ in: "query";
4615
+ type: "boolean";
4616
+ required: false;
4617
+ description: string;
4618
+ };
4609
4619
  };
4610
4620
  response: {
4611
4621
  description: string;
@@ -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
  };
@@ -6788,6 +6788,10 @@ export declare const state: {
6788
6788
  type: "string";
6789
6789
  };
6790
6790
  };
6791
+ shouldMergePlugins: {
6792
+ type: "boolean";
6793
+ description: string;
6794
+ };
6791
6795
  };
6792
6796
  title: string;
6793
6797
  additionalProperties: false;
@@ -6961,6 +6965,12 @@ export declare const state: {
6961
6965
  description: string;
6962
6966
  in: "path";
6963
6967
  };
6968
+ shouldMergePlugins: {
6969
+ in: "query";
6970
+ type: "boolean";
6971
+ required: false;
6972
+ description: string;
6973
+ };
6964
6974
  };
6965
6975
  response: {
6966
6976
  description: string;
@@ -15952,6 +15962,12 @@ export declare const state: {
15952
15962
  type: "string";
15953
15963
  description: string;
15954
15964
  };
15965
+ tags: {
15966
+ type: "object";
15967
+ additionalProperties: {
15968
+ type: "string";
15969
+ };
15970
+ };
15955
15971
  };
15956
15972
  required: string[];
15957
15973
  title: string;
@@ -15976,6 +15992,12 @@ export declare const state: {
15976
15992
  type: "string";
15977
15993
  description: string;
15978
15994
  };
15995
+ tags: {
15996
+ type: "object";
15997
+ additionalProperties: {
15998
+ type: "string";
15999
+ };
16000
+ };
15979
16001
  };
15980
16002
  required: string[];
15981
16003
  additionalProperties: false;
@@ -16032,6 +16054,15 @@ export declare const state: {
16032
16054
  type: "string";
16033
16055
  description: string;
16034
16056
  };
16057
+ tags: {
16058
+ type: "object";
16059
+ additionalProperties: {
16060
+ type: "string";
16061
+ maxLength: number;
16062
+ nullable: true;
16063
+ };
16064
+ description: string;
16065
+ };
16035
16066
  };
16036
16067
  required: string[];
16037
16068
  title: string;
@@ -16055,6 +16086,12 @@ export declare const state: {
16055
16086
  type: "string";
16056
16087
  description: string;
16057
16088
  };
16089
+ tags: {
16090
+ type: "object";
16091
+ additionalProperties: {
16092
+ type: "string";
16093
+ };
16094
+ };
16058
16095
  };
16059
16096
  required: string[];
16060
16097
  additionalProperties: false;
@@ -16078,6 +16115,12 @@ export declare const state: {
16078
16115
  description: string;
16079
16116
  type: "string";
16080
16117
  };
16118
+ tags: {
16119
+ in: "query";
16120
+ description: string;
16121
+ type: "object";
16122
+ schema: {};
16123
+ };
16081
16124
  };
16082
16125
  response: {
16083
16126
  description: string;
@@ -16101,6 +16144,12 @@ export declare const state: {
16101
16144
  type: "string";
16102
16145
  description: string;
16103
16146
  };
16147
+ tags: {
16148
+ type: "object";
16149
+ additionalProperties: {
16150
+ type: "string";
16151
+ };
16152
+ };
16104
16153
  };
16105
16154
  required: string[];
16106
16155
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.35.1",
3
+ "version": "1.36.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {