@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/src/gen/state.ts
CHANGED
|
@@ -9113,6 +9113,25 @@ export const state = {
|
|
|
9113
9113
|
"description": "Entity definition",
|
|
9114
9114
|
"additionalProperties": false
|
|
9115
9115
|
}
|
|
9116
|
+
},
|
|
9117
|
+
"nameTemplate": {
|
|
9118
|
+
"type": "object",
|
|
9119
|
+
"properties": {
|
|
9120
|
+
"script": {
|
|
9121
|
+
"type": "string",
|
|
9122
|
+
"maxLength": 2000
|
|
9123
|
+
},
|
|
9124
|
+
"language": {
|
|
9125
|
+
"type": "string",
|
|
9126
|
+
"maxLength": 200
|
|
9127
|
+
}
|
|
9128
|
+
},
|
|
9129
|
+
"required": [
|
|
9130
|
+
"script",
|
|
9131
|
+
"language"
|
|
9132
|
+
],
|
|
9133
|
+
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
9134
|
+
"additionalProperties": false
|
|
9116
9135
|
}
|
|
9117
9136
|
},
|
|
9118
9137
|
"required": [
|
|
@@ -9338,6 +9357,26 @@ export const state = {
|
|
|
9338
9357
|
"nullable": true,
|
|
9339
9358
|
"additionalProperties": false
|
|
9340
9359
|
}
|
|
9360
|
+
},
|
|
9361
|
+
"nameTemplate": {
|
|
9362
|
+
"type": "object",
|
|
9363
|
+
"properties": {
|
|
9364
|
+
"script": {
|
|
9365
|
+
"type": "string",
|
|
9366
|
+
"maxLength": 2000
|
|
9367
|
+
},
|
|
9368
|
+
"language": {
|
|
9369
|
+
"type": "string",
|
|
9370
|
+
"maxLength": 200
|
|
9371
|
+
}
|
|
9372
|
+
},
|
|
9373
|
+
"required": [
|
|
9374
|
+
"script",
|
|
9375
|
+
"language"
|
|
9376
|
+
],
|
|
9377
|
+
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
9378
|
+
"nullable": true,
|
|
9379
|
+
"additionalProperties": false
|
|
9341
9380
|
}
|
|
9342
9381
|
},
|
|
9343
9382
|
"title": "updateInterfaceBody",
|
|
@@ -11560,7 +11599,7 @@ export const state = {
|
|
|
11560
11599
|
"title": "Botpress API",
|
|
11561
11600
|
"description": "API for Botpress Cloud",
|
|
11562
11601
|
"server": "https://api.botpress.cloud",
|
|
11563
|
-
"version": "0.42.
|
|
11602
|
+
"version": "0.42.2",
|
|
11564
11603
|
"prefix": "v1"
|
|
11565
11604
|
},
|
|
11566
11605
|
"errors": [
|
|
@@ -13171,6 +13210,25 @@ export const state = {
|
|
|
13171
13210
|
"description": "Entity definition",
|
|
13172
13211
|
"additionalProperties": false
|
|
13173
13212
|
}
|
|
13213
|
+
},
|
|
13214
|
+
"nameTemplate": {
|
|
13215
|
+
"type": "object",
|
|
13216
|
+
"properties": {
|
|
13217
|
+
"script": {
|
|
13218
|
+
"type": "string",
|
|
13219
|
+
"maxLength": 2000
|
|
13220
|
+
},
|
|
13221
|
+
"language": {
|
|
13222
|
+
"type": "string",
|
|
13223
|
+
"maxLength": 200
|
|
13224
|
+
}
|
|
13225
|
+
},
|
|
13226
|
+
"required": [
|
|
13227
|
+
"script",
|
|
13228
|
+
"language"
|
|
13229
|
+
],
|
|
13230
|
+
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
13231
|
+
"additionalProperties": false
|
|
13174
13232
|
}
|
|
13175
13233
|
},
|
|
13176
13234
|
"required": [
|
|
@@ -14062,6 +14120,7 @@ export const state = {
|
|
|
14062
14120
|
"number",
|
|
14063
14121
|
"boolean",
|
|
14064
14122
|
"object",
|
|
14123
|
+
"array",
|
|
14065
14124
|
"null"
|
|
14066
14125
|
]
|
|
14067
14126
|
},
|
|
@@ -14074,10 +14133,65 @@ export const state = {
|
|
|
14074
14133
|
"description": {
|
|
14075
14134
|
"type": "string"
|
|
14076
14135
|
},
|
|
14136
|
+
"pattern": {
|
|
14137
|
+
"type": "string",
|
|
14138
|
+
"description": "String properties must match this pattern"
|
|
14139
|
+
},
|
|
14140
|
+
"enum": {
|
|
14141
|
+
"type": "array",
|
|
14142
|
+
"items": {
|
|
14143
|
+
"type": "string"
|
|
14144
|
+
},
|
|
14145
|
+
"description": "String properties must be one of these values"
|
|
14146
|
+
},
|
|
14147
|
+
"items": {
|
|
14148
|
+
"type": "object",
|
|
14149
|
+
"properties": {
|
|
14150
|
+
"type": {
|
|
14151
|
+
"type": "string",
|
|
14152
|
+
"enum": [
|
|
14153
|
+
"string",
|
|
14154
|
+
"number",
|
|
14155
|
+
"boolean",
|
|
14156
|
+
"object",
|
|
14157
|
+
"array",
|
|
14158
|
+
"null"
|
|
14159
|
+
]
|
|
14160
|
+
}
|
|
14161
|
+
},
|
|
14162
|
+
"required": [
|
|
14163
|
+
"type"
|
|
14164
|
+
],
|
|
14165
|
+
"additionalProperties": true,
|
|
14166
|
+
"description": "Defines the shape of items in an array"
|
|
14167
|
+
},
|
|
14077
14168
|
"nullable": {
|
|
14078
14169
|
"default": true,
|
|
14079
14170
|
"type": "boolean"
|
|
14080
14171
|
},
|
|
14172
|
+
"properties": {
|
|
14173
|
+
"type": "object",
|
|
14174
|
+
"additionalProperties": {
|
|
14175
|
+
"type": "object",
|
|
14176
|
+
"properties": {
|
|
14177
|
+
"type": {
|
|
14178
|
+
"type": "string",
|
|
14179
|
+
"enum": [
|
|
14180
|
+
"string",
|
|
14181
|
+
"number",
|
|
14182
|
+
"boolean",
|
|
14183
|
+
"object",
|
|
14184
|
+
"array",
|
|
14185
|
+
"null"
|
|
14186
|
+
]
|
|
14187
|
+
}
|
|
14188
|
+
},
|
|
14189
|
+
"required": [
|
|
14190
|
+
"type"
|
|
14191
|
+
],
|
|
14192
|
+
"additionalProperties": true
|
|
14193
|
+
}
|
|
14194
|
+
},
|
|
14081
14195
|
"x-zui": {
|
|
14082
14196
|
"type": "object",
|
|
14083
14197
|
"properties": {
|