@botpress/api 0.42.1 → 0.43.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 +215 -69
- package/dist/src/gen/state.d.ts +59 -8
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +72 -12
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",
|
|
@@ -9981,13 +10020,20 @@ export const state = {
|
|
|
9981
10020
|
},
|
|
9982
10021
|
"tags": {
|
|
9983
10022
|
"in": "query",
|
|
9984
|
-
"description": "Filter files by tags. Tags should be passed as a URL-encoded JSON object of key-value pairs that must be present in the tags of a file.",
|
|
10023
|
+
"description": "Filter files by tags. Tags should be passed as a URL-encoded JSON object of key-value pairs that must be present in the tags of a file. An array of multiple string values for the same key are treated as an OR condition. To exclude a value, express it as an object with a nested `not` key with the string or string-array value(s) to exclude.",
|
|
10024
|
+
"type": "object",
|
|
10025
|
+
"schema": {}
|
|
10026
|
+
},
|
|
10027
|
+
"ids": {
|
|
10028
|
+
"in": "query",
|
|
10029
|
+
"description": "Filter files by IDs.",
|
|
9985
10030
|
"type": "object",
|
|
9986
10031
|
"schema": {
|
|
9987
|
-
"type": "
|
|
9988
|
-
"
|
|
10032
|
+
"type": "array",
|
|
10033
|
+
"items": {
|
|
9989
10034
|
"type": "string"
|
|
9990
|
-
}
|
|
10035
|
+
},
|
|
10036
|
+
"maxItems": 50
|
|
9991
10037
|
}
|
|
9992
10038
|
}
|
|
9993
10039
|
},
|
|
@@ -10405,14 +10451,9 @@ export const state = {
|
|
|
10405
10451
|
"parameters": {
|
|
10406
10452
|
"tags": {
|
|
10407
10453
|
"in": "query",
|
|
10408
|
-
"description": "Filter files by tags. Tags should be passed as a URL-encoded JSON object of key-value pairs that must be present in the tags of a file.",
|
|
10454
|
+
"description": "Filter files by tags. Tags should be passed as a URL-encoded JSON object of key-value pairs that must be present in the tags of a file. An array of multiple string values for the same key are treated as an OR condition. To exclude a value, express it as an object with a nested `not` key with the string or string-array value(s) to exclude.",
|
|
10409
10455
|
"type": "object",
|
|
10410
|
-
"schema": {
|
|
10411
|
-
"type": "object",
|
|
10412
|
-
"additionalProperties": {
|
|
10413
|
-
"type": "string"
|
|
10414
|
-
}
|
|
10415
|
-
}
|
|
10456
|
+
"schema": {}
|
|
10416
10457
|
},
|
|
10417
10458
|
"query": {
|
|
10418
10459
|
"in": "query",
|
|
@@ -11560,7 +11601,7 @@ export const state = {
|
|
|
11560
11601
|
"title": "Botpress API",
|
|
11561
11602
|
"description": "API for Botpress Cloud",
|
|
11562
11603
|
"server": "https://api.botpress.cloud",
|
|
11563
|
-
"version": "0.
|
|
11604
|
+
"version": "0.43.0",
|
|
11564
11605
|
"prefix": "v1"
|
|
11565
11606
|
},
|
|
11566
11607
|
"errors": [
|
|
@@ -13171,6 +13212,25 @@ export const state = {
|
|
|
13171
13212
|
"description": "Entity definition",
|
|
13172
13213
|
"additionalProperties": false
|
|
13173
13214
|
}
|
|
13215
|
+
},
|
|
13216
|
+
"nameTemplate": {
|
|
13217
|
+
"type": "object",
|
|
13218
|
+
"properties": {
|
|
13219
|
+
"script": {
|
|
13220
|
+
"type": "string",
|
|
13221
|
+
"maxLength": 2000
|
|
13222
|
+
},
|
|
13223
|
+
"language": {
|
|
13224
|
+
"type": "string",
|
|
13225
|
+
"maxLength": 200
|
|
13226
|
+
}
|
|
13227
|
+
},
|
|
13228
|
+
"required": [
|
|
13229
|
+
"script",
|
|
13230
|
+
"language"
|
|
13231
|
+
],
|
|
13232
|
+
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
13233
|
+
"additionalProperties": false
|
|
13174
13234
|
}
|
|
13175
13235
|
},
|
|
13176
13236
|
"required": [
|