@botpress/api 0.42.0 → 0.42.2
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 +115 -1
- package/dist/src/gen/state.d.ts +86 -0
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +115 -1
package/dist/index.js
CHANGED
|
@@ -291658,6 +291658,25 @@ var state = {
|
|
|
291658
291658
|
"description": "Entity definition",
|
|
291659
291659
|
"additionalProperties": false
|
|
291660
291660
|
}
|
|
291661
|
+
},
|
|
291662
|
+
"nameTemplate": {
|
|
291663
|
+
"type": "object",
|
|
291664
|
+
"properties": {
|
|
291665
|
+
"script": {
|
|
291666
|
+
"type": "string",
|
|
291667
|
+
"maxLength": 2e3
|
|
291668
|
+
},
|
|
291669
|
+
"language": {
|
|
291670
|
+
"type": "string",
|
|
291671
|
+
"maxLength": 200
|
|
291672
|
+
}
|
|
291673
|
+
},
|
|
291674
|
+
"required": [
|
|
291675
|
+
"script",
|
|
291676
|
+
"language"
|
|
291677
|
+
],
|
|
291678
|
+
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
291679
|
+
"additionalProperties": false
|
|
291661
291680
|
}
|
|
291662
291681
|
},
|
|
291663
291682
|
"required": [
|
|
@@ -291883,6 +291902,26 @@ var state = {
|
|
|
291883
291902
|
"nullable": true,
|
|
291884
291903
|
"additionalProperties": false
|
|
291885
291904
|
}
|
|
291905
|
+
},
|
|
291906
|
+
"nameTemplate": {
|
|
291907
|
+
"type": "object",
|
|
291908
|
+
"properties": {
|
|
291909
|
+
"script": {
|
|
291910
|
+
"type": "string",
|
|
291911
|
+
"maxLength": 2e3
|
|
291912
|
+
},
|
|
291913
|
+
"language": {
|
|
291914
|
+
"type": "string",
|
|
291915
|
+
"maxLength": 200
|
|
291916
|
+
}
|
|
291917
|
+
},
|
|
291918
|
+
"required": [
|
|
291919
|
+
"script",
|
|
291920
|
+
"language"
|
|
291921
|
+
],
|
|
291922
|
+
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
291923
|
+
"nullable": true,
|
|
291924
|
+
"additionalProperties": false
|
|
291886
291925
|
}
|
|
291887
291926
|
},
|
|
291888
291927
|
"title": "updateInterfaceBody",
|
|
@@ -294105,7 +294144,7 @@ var state = {
|
|
|
294105
294144
|
"title": "Botpress API",
|
|
294106
294145
|
"description": "API for Botpress Cloud",
|
|
294107
294146
|
"server": "https://api.botpress.cloud",
|
|
294108
|
-
"version": "0.42.
|
|
294147
|
+
"version": "0.42.2",
|
|
294109
294148
|
"prefix": "v1"
|
|
294110
294149
|
},
|
|
294111
294150
|
"errors": [
|
|
@@ -295716,6 +295755,25 @@ var state = {
|
|
|
295716
295755
|
"description": "Entity definition",
|
|
295717
295756
|
"additionalProperties": false
|
|
295718
295757
|
}
|
|
295758
|
+
},
|
|
295759
|
+
"nameTemplate": {
|
|
295760
|
+
"type": "object",
|
|
295761
|
+
"properties": {
|
|
295762
|
+
"script": {
|
|
295763
|
+
"type": "string",
|
|
295764
|
+
"maxLength": 2e3
|
|
295765
|
+
},
|
|
295766
|
+
"language": {
|
|
295767
|
+
"type": "string",
|
|
295768
|
+
"maxLength": 200
|
|
295769
|
+
}
|
|
295770
|
+
},
|
|
295771
|
+
"required": [
|
|
295772
|
+
"script",
|
|
295773
|
+
"language"
|
|
295774
|
+
],
|
|
295775
|
+
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
295776
|
+
"additionalProperties": false
|
|
295719
295777
|
}
|
|
295720
295778
|
},
|
|
295721
295779
|
"required": [
|
|
@@ -296607,6 +296665,7 @@ var state = {
|
|
|
296607
296665
|
"number",
|
|
296608
296666
|
"boolean",
|
|
296609
296667
|
"object",
|
|
296668
|
+
"array",
|
|
296610
296669
|
"null"
|
|
296611
296670
|
]
|
|
296612
296671
|
},
|
|
@@ -296619,10 +296678,65 @@ var state = {
|
|
|
296619
296678
|
"description": {
|
|
296620
296679
|
"type": "string"
|
|
296621
296680
|
},
|
|
296681
|
+
"pattern": {
|
|
296682
|
+
"type": "string",
|
|
296683
|
+
"description": "String properties must match this pattern"
|
|
296684
|
+
},
|
|
296685
|
+
"enum": {
|
|
296686
|
+
"type": "array",
|
|
296687
|
+
"items": {
|
|
296688
|
+
"type": "string"
|
|
296689
|
+
},
|
|
296690
|
+
"description": "String properties must be one of these values"
|
|
296691
|
+
},
|
|
296692
|
+
"items": {
|
|
296693
|
+
"type": "object",
|
|
296694
|
+
"properties": {
|
|
296695
|
+
"type": {
|
|
296696
|
+
"type": "string",
|
|
296697
|
+
"enum": [
|
|
296698
|
+
"string",
|
|
296699
|
+
"number",
|
|
296700
|
+
"boolean",
|
|
296701
|
+
"object",
|
|
296702
|
+
"array",
|
|
296703
|
+
"null"
|
|
296704
|
+
]
|
|
296705
|
+
}
|
|
296706
|
+
},
|
|
296707
|
+
"required": [
|
|
296708
|
+
"type"
|
|
296709
|
+
],
|
|
296710
|
+
"additionalProperties": true,
|
|
296711
|
+
"description": "Defines the shape of items in an array"
|
|
296712
|
+
},
|
|
296622
296713
|
"nullable": {
|
|
296623
296714
|
"default": true,
|
|
296624
296715
|
"type": "boolean"
|
|
296625
296716
|
},
|
|
296717
|
+
"properties": {
|
|
296718
|
+
"type": "object",
|
|
296719
|
+
"additionalProperties": {
|
|
296720
|
+
"type": "object",
|
|
296721
|
+
"properties": {
|
|
296722
|
+
"type": {
|
|
296723
|
+
"type": "string",
|
|
296724
|
+
"enum": [
|
|
296725
|
+
"string",
|
|
296726
|
+
"number",
|
|
296727
|
+
"boolean",
|
|
296728
|
+
"object",
|
|
296729
|
+
"array",
|
|
296730
|
+
"null"
|
|
296731
|
+
]
|
|
296732
|
+
}
|
|
296733
|
+
},
|
|
296734
|
+
"required": [
|
|
296735
|
+
"type"
|
|
296736
|
+
],
|
|
296737
|
+
"additionalProperties": true
|
|
296738
|
+
}
|
|
296739
|
+
},
|
|
296626
296740
|
"x-zui": {
|
|
296627
296741
|
"type": "object",
|
|
296628
296742
|
"properties": {
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -8024,6 +8024,22 @@ export declare const state: {
|
|
|
8024
8024
|
additionalProperties: false;
|
|
8025
8025
|
};
|
|
8026
8026
|
};
|
|
8027
|
+
nameTemplate: {
|
|
8028
|
+
type: "object";
|
|
8029
|
+
properties: {
|
|
8030
|
+
script: {
|
|
8031
|
+
type: "string";
|
|
8032
|
+
maxLength: number;
|
|
8033
|
+
};
|
|
8034
|
+
language: {
|
|
8035
|
+
type: "string";
|
|
8036
|
+
maxLength: number;
|
|
8037
|
+
};
|
|
8038
|
+
};
|
|
8039
|
+
required: string[];
|
|
8040
|
+
description: string;
|
|
8041
|
+
additionalProperties: false;
|
|
8042
|
+
};
|
|
8027
8043
|
};
|
|
8028
8044
|
required: string[];
|
|
8029
8045
|
title: string;
|
|
@@ -8226,6 +8242,23 @@ export declare const state: {
|
|
|
8226
8242
|
additionalProperties: false;
|
|
8227
8243
|
};
|
|
8228
8244
|
};
|
|
8245
|
+
nameTemplate: {
|
|
8246
|
+
type: "object";
|
|
8247
|
+
properties: {
|
|
8248
|
+
script: {
|
|
8249
|
+
type: "string";
|
|
8250
|
+
maxLength: number;
|
|
8251
|
+
};
|
|
8252
|
+
language: {
|
|
8253
|
+
type: "string";
|
|
8254
|
+
maxLength: number;
|
|
8255
|
+
};
|
|
8256
|
+
};
|
|
8257
|
+
required: string[];
|
|
8258
|
+
description: string;
|
|
8259
|
+
nullable: true;
|
|
8260
|
+
additionalProperties: false;
|
|
8261
|
+
};
|
|
8229
8262
|
};
|
|
8230
8263
|
title: string;
|
|
8231
8264
|
additionalProperties: false;
|
|
@@ -11522,6 +11555,22 @@ export declare const state: {
|
|
|
11522
11555
|
additionalProperties: false;
|
|
11523
11556
|
};
|
|
11524
11557
|
};
|
|
11558
|
+
nameTemplate: {
|
|
11559
|
+
type: "object";
|
|
11560
|
+
properties: {
|
|
11561
|
+
script: {
|
|
11562
|
+
type: "string";
|
|
11563
|
+
maxLength: number;
|
|
11564
|
+
};
|
|
11565
|
+
language: {
|
|
11566
|
+
type: "string";
|
|
11567
|
+
maxLength: number;
|
|
11568
|
+
};
|
|
11569
|
+
};
|
|
11570
|
+
required: string[];
|
|
11571
|
+
description: string;
|
|
11572
|
+
additionalProperties: false;
|
|
11573
|
+
};
|
|
11525
11574
|
};
|
|
11526
11575
|
required: string[];
|
|
11527
11576
|
additionalProperties: false;
|
|
@@ -12237,10 +12286,47 @@ export declare const state: {
|
|
|
12237
12286
|
description: {
|
|
12238
12287
|
type: "string";
|
|
12239
12288
|
};
|
|
12289
|
+
pattern: {
|
|
12290
|
+
type: "string";
|
|
12291
|
+
description: string;
|
|
12292
|
+
};
|
|
12293
|
+
enum: {
|
|
12294
|
+
type: "array";
|
|
12295
|
+
items: {
|
|
12296
|
+
type: "string";
|
|
12297
|
+
};
|
|
12298
|
+
description: string;
|
|
12299
|
+
};
|
|
12300
|
+
items: {
|
|
12301
|
+
type: "object";
|
|
12302
|
+
properties: {
|
|
12303
|
+
type: {
|
|
12304
|
+
type: "string";
|
|
12305
|
+
enum: string[];
|
|
12306
|
+
};
|
|
12307
|
+
};
|
|
12308
|
+
required: string[];
|
|
12309
|
+
additionalProperties: true;
|
|
12310
|
+
description: string;
|
|
12311
|
+
};
|
|
12240
12312
|
nullable: {
|
|
12241
12313
|
default: boolean;
|
|
12242
12314
|
type: "boolean";
|
|
12243
12315
|
};
|
|
12316
|
+
properties: {
|
|
12317
|
+
type: "object";
|
|
12318
|
+
additionalProperties: {
|
|
12319
|
+
type: "object";
|
|
12320
|
+
properties: {
|
|
12321
|
+
type: {
|
|
12322
|
+
type: "string";
|
|
12323
|
+
enum: string[];
|
|
12324
|
+
};
|
|
12325
|
+
};
|
|
12326
|
+
required: string[];
|
|
12327
|
+
additionalProperties: true;
|
|
12328
|
+
};
|
|
12329
|
+
};
|
|
12244
12330
|
"x-zui": {
|
|
12245
12331
|
type: "object";
|
|
12246
12332
|
properties: {
|