@botpress/api 0.42.0 → 0.42.1

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
@@ -294105,7 +294105,7 @@ var state = {
294105
294105
  "title": "Botpress API",
294106
294106
  "description": "API for Botpress Cloud",
294107
294107
  "server": "https://api.botpress.cloud",
294108
- "version": "0.42.0",
294108
+ "version": "0.42.1",
294109
294109
  "prefix": "v1"
294110
294110
  },
294111
294111
  "errors": [
@@ -296607,6 +296607,7 @@ var state = {
296607
296607
  "number",
296608
296608
  "boolean",
296609
296609
  "object",
296610
+ "array",
296610
296611
  "null"
296611
296612
  ]
296612
296613
  },
@@ -296619,10 +296620,65 @@ var state = {
296619
296620
  "description": {
296620
296621
  "type": "string"
296621
296622
  },
296623
+ "pattern": {
296624
+ "type": "string",
296625
+ "description": "String properties must match this pattern"
296626
+ },
296627
+ "enum": {
296628
+ "type": "array",
296629
+ "items": {
296630
+ "type": "string"
296631
+ },
296632
+ "description": "String properties must be one of these values"
296633
+ },
296634
+ "items": {
296635
+ "type": "object",
296636
+ "properties": {
296637
+ "type": {
296638
+ "type": "string",
296639
+ "enum": [
296640
+ "string",
296641
+ "number",
296642
+ "boolean",
296643
+ "object",
296644
+ "array",
296645
+ "null"
296646
+ ]
296647
+ }
296648
+ },
296649
+ "required": [
296650
+ "type"
296651
+ ],
296652
+ "additionalProperties": true,
296653
+ "description": "Defines the shape of items in an array"
296654
+ },
296622
296655
  "nullable": {
296623
296656
  "default": true,
296624
296657
  "type": "boolean"
296625
296658
  },
296659
+ "properties": {
296660
+ "type": "object",
296661
+ "additionalProperties": {
296662
+ "type": "object",
296663
+ "properties": {
296664
+ "type": {
296665
+ "type": "string",
296666
+ "enum": [
296667
+ "string",
296668
+ "number",
296669
+ "boolean",
296670
+ "object",
296671
+ "array",
296672
+ "null"
296673
+ ]
296674
+ }
296675
+ },
296676
+ "required": [
296677
+ "type"
296678
+ ],
296679
+ "additionalProperties": true
296680
+ }
296681
+ },
296626
296682
  "x-zui": {
296627
296683
  "type": "object",
296628
296684
  "properties": {
@@ -12237,10 +12237,47 @@ export declare const state: {
12237
12237
  description: {
12238
12238
  type: "string";
12239
12239
  };
12240
+ pattern: {
12241
+ type: "string";
12242
+ description: string;
12243
+ };
12244
+ enum: {
12245
+ type: "array";
12246
+ items: {
12247
+ type: "string";
12248
+ };
12249
+ description: string;
12250
+ };
12251
+ items: {
12252
+ type: "object";
12253
+ properties: {
12254
+ type: {
12255
+ type: "string";
12256
+ enum: string[];
12257
+ };
12258
+ };
12259
+ required: string[];
12260
+ additionalProperties: true;
12261
+ description: string;
12262
+ };
12240
12263
  nullable: {
12241
12264
  default: boolean;
12242
12265
  type: "boolean";
12243
12266
  };
12267
+ properties: {
12268
+ type: "object";
12269
+ additionalProperties: {
12270
+ type: "object";
12271
+ properties: {
12272
+ type: {
12273
+ type: "string";
12274
+ enum: string[];
12275
+ };
12276
+ };
12277
+ required: string[];
12278
+ additionalProperties: true;
12279
+ };
12280
+ };
12244
12281
  "x-zui": {
12245
12282
  type: "object";
12246
12283
  properties: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.42.0",
3
+ "version": "0.42.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {