@botpress/api 1.8.0 → 1.10.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 +954 -280
- package/dist/src/gen/admin/state.d.ts +244 -7
- package/dist/src/gen/files/state.d.ts +55 -0
- package/dist/src/gen/runtime/state.d.ts +55 -0
- package/dist/src/gen/state.d.ts +244 -7
- package/dist/src/gen/tables/state.d.ts +55 -0
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +262 -15
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +62 -2
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +62 -2
- package/src/gen/state.ts +262 -15
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +62 -2
package/src/gen/files/state.ts
CHANGED
|
@@ -1579,7 +1579,7 @@ export const state = {
|
|
|
1579
1579
|
"title": "Botpress API",
|
|
1580
1580
|
"description": "API for Botpress Cloud",
|
|
1581
1581
|
"server": "https://api.botpress.cloud",
|
|
1582
|
-
"version": "1.
|
|
1582
|
+
"version": "1.10.0",
|
|
1583
1583
|
"prefix": "v1"
|
|
1584
1584
|
},
|
|
1585
1585
|
"errors": [
|
|
@@ -2069,6 +2069,14 @@ export const state = {
|
|
|
2069
2069
|
"schema": {
|
|
2070
2070
|
"type": "object",
|
|
2071
2071
|
"additionalProperties": true
|
|
2072
|
+
},
|
|
2073
|
+
"attributes": {
|
|
2074
|
+
"type": "object",
|
|
2075
|
+
"additionalProperties": {
|
|
2076
|
+
"type": "string",
|
|
2077
|
+
"maxLength": 200
|
|
2078
|
+
},
|
|
2079
|
+
"description": "Optional attributes"
|
|
2072
2080
|
}
|
|
2073
2081
|
},
|
|
2074
2082
|
"required": [
|
|
@@ -2721,6 +2729,14 @@ export const state = {
|
|
|
2721
2729
|
"schema": {
|
|
2722
2730
|
"type": "object",
|
|
2723
2731
|
"additionalProperties": true
|
|
2732
|
+
},
|
|
2733
|
+
"attributes": {
|
|
2734
|
+
"type": "object",
|
|
2735
|
+
"additionalProperties": {
|
|
2736
|
+
"type": "string",
|
|
2737
|
+
"maxLength": 200
|
|
2738
|
+
},
|
|
2739
|
+
"description": "Optional attributes"
|
|
2724
2740
|
}
|
|
2725
2741
|
},
|
|
2726
2742
|
"required": [
|
|
@@ -3024,6 +3040,14 @@ export const state = {
|
|
|
3024
3040
|
"schema": {
|
|
3025
3041
|
"type": "object",
|
|
3026
3042
|
"additionalProperties": true
|
|
3043
|
+
},
|
|
3044
|
+
"attributes": {
|
|
3045
|
+
"type": "object",
|
|
3046
|
+
"additionalProperties": {
|
|
3047
|
+
"type": "string",
|
|
3048
|
+
"maxLength": 200
|
|
3049
|
+
},
|
|
3050
|
+
"description": "Optional attributes"
|
|
3027
3051
|
}
|
|
3028
3052
|
},
|
|
3029
3053
|
"required": [
|
|
@@ -3154,6 +3178,29 @@ export const state = {
|
|
|
3154
3178
|
],
|
|
3155
3179
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
3156
3180
|
"additionalProperties": false
|
|
3181
|
+
},
|
|
3182
|
+
"title": {
|
|
3183
|
+
"type": "string",
|
|
3184
|
+
"minLength": 1,
|
|
3185
|
+
"maxLength": 64,
|
|
3186
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
3187
|
+
},
|
|
3188
|
+
"description": {
|
|
3189
|
+
"type": "string",
|
|
3190
|
+
"maxLength": 256,
|
|
3191
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
3192
|
+
},
|
|
3193
|
+
"iconUrl": {
|
|
3194
|
+
"type": "string",
|
|
3195
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
3196
|
+
},
|
|
3197
|
+
"readmeUrl": {
|
|
3198
|
+
"type": "string",
|
|
3199
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
3200
|
+
},
|
|
3201
|
+
"public": {
|
|
3202
|
+
"type": "boolean",
|
|
3203
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
3157
3204
|
}
|
|
3158
3205
|
},
|
|
3159
3206
|
"required": [
|
|
@@ -3165,7 +3212,12 @@ export const state = {
|
|
|
3165
3212
|
"entities",
|
|
3166
3213
|
"events",
|
|
3167
3214
|
"actions",
|
|
3168
|
-
"channels"
|
|
3215
|
+
"channels",
|
|
3216
|
+
"title",
|
|
3217
|
+
"description",
|
|
3218
|
+
"iconUrl",
|
|
3219
|
+
"readmeUrl",
|
|
3220
|
+
"public"
|
|
3169
3221
|
],
|
|
3170
3222
|
"additionalProperties": false
|
|
3171
3223
|
}
|
|
@@ -3277,6 +3329,14 @@ export const state = {
|
|
|
3277
3329
|
"schema": {
|
|
3278
3330
|
"type": "object",
|
|
3279
3331
|
"additionalProperties": true
|
|
3332
|
+
},
|
|
3333
|
+
"attributes": {
|
|
3334
|
+
"type": "object",
|
|
3335
|
+
"additionalProperties": {
|
|
3336
|
+
"type": "string",
|
|
3337
|
+
"maxLength": 200
|
|
3338
|
+
},
|
|
3339
|
+
"description": "Optional attributes"
|
|
3280
3340
|
}
|
|
3281
3341
|
},
|
|
3282
3342
|
"required": [
|