@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 +78 -1
- package/dist/src/gen/state.d.ts +76 -0
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +78 -1
package/src/gen/state.ts
CHANGED
|
@@ -5326,6 +5326,31 @@ export const state = {
|
|
|
5326
5326
|
additionalProperties: false,
|
|
5327
5327
|
},
|
|
5328
5328
|
},
|
|
5329
|
+
entities: {
|
|
5330
|
+
type: "object",
|
|
5331
|
+
additionalProperties: {
|
|
5332
|
+
type: "object",
|
|
5333
|
+
properties: {
|
|
5334
|
+
title: {
|
|
5335
|
+
type: "string",
|
|
5336
|
+
maxLength: 64,
|
|
5337
|
+
description: "Title of the entity",
|
|
5338
|
+
},
|
|
5339
|
+
description: {
|
|
5340
|
+
type: "string",
|
|
5341
|
+
maxLength: 256,
|
|
5342
|
+
description: "Description of the entity",
|
|
5343
|
+
},
|
|
5344
|
+
schema: {
|
|
5345
|
+
type: "object",
|
|
5346
|
+
additionalProperties: true,
|
|
5347
|
+
},
|
|
5348
|
+
},
|
|
5349
|
+
required: ["schema"],
|
|
5350
|
+
description: "Entity definition",
|
|
5351
|
+
additionalProperties: false,
|
|
5352
|
+
},
|
|
5353
|
+
},
|
|
5329
5354
|
identifier: {
|
|
5330
5355
|
type: "object",
|
|
5331
5356
|
properties: {
|
|
@@ -5886,6 +5911,32 @@ export const state = {
|
|
|
5886
5911
|
},
|
|
5887
5912
|
additionalProperties: false,
|
|
5888
5913
|
},
|
|
5914
|
+
entities: {
|
|
5915
|
+
type: "object",
|
|
5916
|
+
additionalProperties: {
|
|
5917
|
+
type: "object",
|
|
5918
|
+
properties: {
|
|
5919
|
+
title: {
|
|
5920
|
+
type: "string",
|
|
5921
|
+
maxLength: 64,
|
|
5922
|
+
description: "Title of the entity",
|
|
5923
|
+
},
|
|
5924
|
+
description: {
|
|
5925
|
+
type: "string",
|
|
5926
|
+
maxLength: 256,
|
|
5927
|
+
description: "Description of the entity",
|
|
5928
|
+
},
|
|
5929
|
+
schema: {
|
|
5930
|
+
type: "object",
|
|
5931
|
+
additionalProperties: true,
|
|
5932
|
+
},
|
|
5933
|
+
},
|
|
5934
|
+
required: ["schema"],
|
|
5935
|
+
description: "Entity definition",
|
|
5936
|
+
nullable: true,
|
|
5937
|
+
additionalProperties: false,
|
|
5938
|
+
},
|
|
5939
|
+
},
|
|
5889
5940
|
secrets: {
|
|
5890
5941
|
type: "object",
|
|
5891
5942
|
additionalProperties: {
|
|
@@ -6633,7 +6684,7 @@ export const state = {
|
|
|
6633
6684
|
title: "Botpress API",
|
|
6634
6685
|
description: "API for Botpress Cloud",
|
|
6635
6686
|
server: "https://api.botpress.cloud",
|
|
6636
|
-
version: "0.
|
|
6687
|
+
version: "0.17.0",
|
|
6637
6688
|
prefix: "v1",
|
|
6638
6689
|
},
|
|
6639
6690
|
errors: [
|
|
@@ -7693,6 +7744,31 @@ export const state = {
|
|
|
7693
7744
|
description: "User object configuration",
|
|
7694
7745
|
additionalProperties: false,
|
|
7695
7746
|
},
|
|
7747
|
+
entities: {
|
|
7748
|
+
type: "object",
|
|
7749
|
+
additionalProperties: {
|
|
7750
|
+
type: "object",
|
|
7751
|
+
properties: {
|
|
7752
|
+
title: {
|
|
7753
|
+
type: "string",
|
|
7754
|
+
maxLength: 64,
|
|
7755
|
+
description: "Title of the entity",
|
|
7756
|
+
},
|
|
7757
|
+
description: {
|
|
7758
|
+
type: "string",
|
|
7759
|
+
maxLength: 256,
|
|
7760
|
+
description: "Description of the entity",
|
|
7761
|
+
},
|
|
7762
|
+
schema: {
|
|
7763
|
+
type: "object",
|
|
7764
|
+
additionalProperties: true,
|
|
7765
|
+
},
|
|
7766
|
+
},
|
|
7767
|
+
required: ["schema"],
|
|
7768
|
+
description: "Entity definition",
|
|
7769
|
+
additionalProperties: false,
|
|
7770
|
+
},
|
|
7771
|
+
},
|
|
7696
7772
|
dev: {
|
|
7697
7773
|
type: "boolean",
|
|
7698
7774
|
description:
|
|
@@ -7743,6 +7819,7 @@ export const state = {
|
|
|
7743
7819
|
"events",
|
|
7744
7820
|
"actions",
|
|
7745
7821
|
"user",
|
|
7822
|
+
"entities",
|
|
7746
7823
|
"dev",
|
|
7747
7824
|
"title",
|
|
7748
7825
|
"description",
|