@botpress/api 0.27.6 → 0.27.7

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
@@ -280854,7 +280854,11 @@ var state = {
280854
280854
  "accessPolicies": {
280855
280855
  "type": "array",
280856
280856
  "items": {
280857
- "type": "string"
280857
+ "type": "string",
280858
+ "enum": [
280859
+ "integrations",
280860
+ "public_content"
280861
+ ]
280858
280862
  },
280859
280863
  "description": "Access policies configured for the file."
280860
280864
  },
@@ -281016,7 +281020,11 @@ var state = {
281016
281020
  "accessPolicies": {
281017
281021
  "type": "array",
281018
281022
  "items": {
281019
- "type": "string"
281023
+ "type": "string",
281024
+ "enum": [
281025
+ "integrations",
281026
+ "public_content"
281027
+ ]
281020
281028
  },
281021
281029
  "description": "Access policies configured for the file."
281022
281030
  },
@@ -281144,7 +281152,11 @@ var state = {
281144
281152
  "accessPolicies": {
281145
281153
  "type": "array",
281146
281154
  "items": {
281147
- "type": "string"
281155
+ "type": "string",
281156
+ "enum": [
281157
+ "integrations",
281158
+ "public_content"
281159
+ ]
281148
281160
  },
281149
281161
  "description": "Access policies configured for the file."
281150
281162
  },
@@ -281219,12 +281231,20 @@ var state = {
281219
281231
  "maxLength": 1e3,
281220
281232
  "nullable": true
281221
281233
  },
281222
- "description": "The file tags to update as an object of key/value pairs with string (text) values. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`."
281234
+ "description": "The file 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`."
281235
+ },
281236
+ "accessPolicies": {
281237
+ "type": "array",
281238
+ "items": {
281239
+ "type": "string",
281240
+ "enum": [
281241
+ "integrations",
281242
+ "public_content"
281243
+ ]
281244
+ },
281245
+ "description": "New access policies to set for the file. Omit to keep existing policies intact."
281223
281246
  }
281224
281247
  },
281225
- "required": [
281226
- "tags"
281227
- ],
281228
281248
  "title": "updateFileBody",
281229
281249
  "additionalProperties": false
281230
281250
  }
@@ -281283,7 +281303,11 @@ var state = {
281283
281303
  "accessPolicies": {
281284
281304
  "type": "array",
281285
281305
  "items": {
281286
- "type": "string"
281306
+ "type": "string",
281307
+ "enum": [
281308
+ "integrations",
281309
+ "public_content"
281310
+ ]
281287
281311
  },
281288
281312
  "description": "Access policies configured for the file."
281289
281313
  },
@@ -282305,7 +282329,7 @@ var state = {
282305
282329
  "title": "Botpress API",
282306
282330
  "description": "API for Botpress Cloud",
282307
282331
  "server": "https://api.botpress.cloud",
282308
- "version": "0.27.6",
282332
+ "version": "0.27.7",
282309
282333
  "prefix": "v1"
282310
282334
  },
282311
282335
  "errors": [
@@ -284667,7 +284691,11 @@ var state = {
284667
284691
  "accessPolicies": {
284668
284692
  "type": "array",
284669
284693
  "items": {
284670
- "type": "string"
284694
+ "type": "string",
284695
+ "enum": [
284696
+ "integrations",
284697
+ "public_content"
284698
+ ]
284671
284699
  },
284672
284700
  "description": "Access policies configured for the file."
284673
284701
  },
@@ -7165,6 +7165,7 @@ export declare const state: {
7165
7165
  type: "array";
7166
7166
  items: {
7167
7167
  type: "string";
7168
+ enum: string[];
7168
7169
  };
7169
7170
  description: string;
7170
7171
  };
@@ -7305,6 +7306,7 @@ export declare const state: {
7305
7306
  type: "array";
7306
7307
  items: {
7307
7308
  type: "string";
7309
+ enum: string[];
7308
7310
  };
7309
7311
  description: string;
7310
7312
  };
@@ -7410,6 +7412,7 @@ export declare const state: {
7410
7412
  type: "array";
7411
7413
  items: {
7412
7414
  type: "string";
7415
+ enum: string[];
7413
7416
  };
7414
7417
  description: string;
7415
7418
  };
@@ -7464,8 +7467,15 @@ export declare const state: {
7464
7467
  };
7465
7468
  description: string;
7466
7469
  };
7470
+ accessPolicies: {
7471
+ type: "array";
7472
+ items: {
7473
+ type: "string";
7474
+ enum: string[];
7475
+ };
7476
+ description: string;
7477
+ };
7467
7478
  };
7468
- required: string[];
7469
7479
  title: string;
7470
7480
  additionalProperties: false;
7471
7481
  };
@@ -7525,6 +7535,7 @@ export declare const state: {
7525
7535
  type: "array";
7526
7536
  items: {
7527
7537
  type: "string";
7538
+ enum: string[];
7528
7539
  };
7529
7540
  description: string;
7530
7541
  };
@@ -10392,6 +10403,7 @@ export declare const state: {
10392
10403
  type: "array";
10393
10404
  items: {
10394
10405
  type: "string";
10406
+ enum: string[];
10395
10407
  };
10396
10408
  description: string;
10397
10409
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.27.6",
3
+ "version": "0.27.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {