@botpress/api 0.16.4 → 0.17.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
@@ -432000,6 +432000,31 @@ var state = {
432000
432000
  additionalProperties: false
432001
432001
  }
432002
432002
  },
432003
+ entities: {
432004
+ type: "object",
432005
+ additionalProperties: {
432006
+ type: "object",
432007
+ properties: {
432008
+ title: {
432009
+ type: "string",
432010
+ maxLength: 64,
432011
+ description: "Title of the entity"
432012
+ },
432013
+ description: {
432014
+ type: "string",
432015
+ maxLength: 256,
432016
+ description: "Description of the entity"
432017
+ },
432018
+ schema: {
432019
+ type: "object",
432020
+ additionalProperties: true
432021
+ }
432022
+ },
432023
+ required: ["schema"],
432024
+ description: "Entity definition",
432025
+ additionalProperties: false
432026
+ }
432027
+ },
432003
432028
  identifier: {
432004
432029
  type: "object",
432005
432030
  properties: {
@@ -432536,6 +432561,32 @@ var state = {
432536
432561
  },
432537
432562
  additionalProperties: false
432538
432563
  },
432564
+ entities: {
432565
+ type: "object",
432566
+ additionalProperties: {
432567
+ type: "object",
432568
+ properties: {
432569
+ title: {
432570
+ type: "string",
432571
+ maxLength: 64,
432572
+ description: "Title of the entity"
432573
+ },
432574
+ description: {
432575
+ type: "string",
432576
+ maxLength: 256,
432577
+ description: "Description of the entity"
432578
+ },
432579
+ schema: {
432580
+ type: "object",
432581
+ additionalProperties: true
432582
+ }
432583
+ },
432584
+ required: ["schema"],
432585
+ description: "Entity definition",
432586
+ nullable: true,
432587
+ additionalProperties: false
432588
+ }
432589
+ },
432539
432590
  secrets: {
432540
432591
  type: "object",
432541
432592
  additionalProperties: {
@@ -433258,7 +433309,7 @@ var state = {
433258
433309
  title: "Botpress API",
433259
433310
  description: "API for Botpress Cloud",
433260
433311
  server: "https://api.botpress.cloud",
433261
- version: "0.16.4",
433312
+ version: "0.17.0",
433262
433313
  prefix: "v1"
433263
433314
  },
433264
433315
  errors: [
@@ -434273,6 +434324,31 @@ var state = {
434273
434324
  description: "User object configuration",
434274
434325
  additionalProperties: false
434275
434326
  },
434327
+ entities: {
434328
+ type: "object",
434329
+ additionalProperties: {
434330
+ type: "object",
434331
+ properties: {
434332
+ title: {
434333
+ type: "string",
434334
+ maxLength: 64,
434335
+ description: "Title of the entity"
434336
+ },
434337
+ description: {
434338
+ type: "string",
434339
+ maxLength: 256,
434340
+ description: "Description of the entity"
434341
+ },
434342
+ schema: {
434343
+ type: "object",
434344
+ additionalProperties: true
434345
+ }
434346
+ },
434347
+ required: ["schema"],
434348
+ description: "Entity definition",
434349
+ additionalProperties: false
434350
+ }
434351
+ },
434276
434352
  dev: {
434277
434353
  type: "boolean",
434278
434354
  description: "Indicates if the integration is a development integration; Dev integrations run locally"
@@ -434317,6 +434393,7 @@ var state = {
434317
434393
  "events",
434318
434394
  "actions",
434319
434395
  "user",
434396
+ "entities",
434320
434397
  "dev",
434321
434398
  "title",
434322
434399
  "description",
@@ -4829,6 +4829,31 @@ export declare const state: {
4829
4829
  additionalProperties: false;
4830
4830
  };
4831
4831
  };
4832
+ entities: {
4833
+ type: "object";
4834
+ additionalProperties: {
4835
+ type: "object";
4836
+ properties: {
4837
+ title: {
4838
+ type: "string";
4839
+ maxLength: number;
4840
+ description: string;
4841
+ };
4842
+ description: {
4843
+ type: "string";
4844
+ maxLength: number;
4845
+ description: string;
4846
+ };
4847
+ schema: {
4848
+ type: "object";
4849
+ additionalProperties: true;
4850
+ };
4851
+ };
4852
+ required: string[];
4853
+ description: string;
4854
+ additionalProperties: false;
4855
+ };
4856
+ };
4832
4857
  identifier: {
4833
4858
  type: "object";
4834
4859
  properties: {
@@ -5365,6 +5390,32 @@ export declare const state: {
5365
5390
  };
5366
5391
  additionalProperties: false;
5367
5392
  };
5393
+ entities: {
5394
+ type: "object";
5395
+ additionalProperties: {
5396
+ type: "object";
5397
+ properties: {
5398
+ title: {
5399
+ type: "string";
5400
+ maxLength: number;
5401
+ description: string;
5402
+ };
5403
+ description: {
5404
+ type: "string";
5405
+ maxLength: number;
5406
+ description: string;
5407
+ };
5408
+ schema: {
5409
+ type: "object";
5410
+ additionalProperties: true;
5411
+ };
5412
+ };
5413
+ required: string[];
5414
+ description: string;
5415
+ nullable: true;
5416
+ additionalProperties: false;
5417
+ };
5418
+ };
5368
5419
  secrets: {
5369
5420
  type: "object";
5370
5421
  additionalProperties: {
@@ -6956,6 +7007,31 @@ export declare const state: {
6956
7007
  description: string;
6957
7008
  additionalProperties: false;
6958
7009
  };
7010
+ entities: {
7011
+ type: "object";
7012
+ additionalProperties: {
7013
+ type: "object";
7014
+ properties: {
7015
+ title: {
7016
+ type: "string";
7017
+ maxLength: number;
7018
+ description: string;
7019
+ };
7020
+ description: {
7021
+ type: "string";
7022
+ maxLength: number;
7023
+ description: string;
7024
+ };
7025
+ schema: {
7026
+ type: "object";
7027
+ additionalProperties: true;
7028
+ };
7029
+ };
7030
+ required: string[];
7031
+ description: string;
7032
+ additionalProperties: false;
7033
+ };
7034
+ };
6959
7035
  dev: {
6960
7036
  type: "boolean";
6961
7037
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.16.4",
3
+ "version": "0.17.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {