@botpress/api 1.9.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 +300 -12
- package/dist/src/gen/admin/state.d.ts +92 -0
- package/dist/src/gen/files/state.d.ts +23 -0
- package/dist/src/gen/runtime/state.d.ts +23 -0
- package/dist/src/gen/state.d.ts +92 -0
- package/dist/src/gen/tables/state.d.ts +23 -0
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +105 -3
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +30 -2
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +30 -2
- package/src/gen/state.ts +105 -3
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +30 -2
package/src/gen/runtime/state.ts
CHANGED
|
@@ -2608,7 +2608,7 @@ export const state = {
|
|
|
2608
2608
|
"title": "Botpress API",
|
|
2609
2609
|
"description": "API for Botpress Cloud",
|
|
2610
2610
|
"server": "https://api.botpress.cloud",
|
|
2611
|
-
"version": "1.
|
|
2611
|
+
"version": "1.10.0",
|
|
2612
2612
|
"prefix": "v1"
|
|
2613
2613
|
},
|
|
2614
2614
|
"errors": [
|
|
@@ -4256,6 +4256,29 @@ export const state = {
|
|
|
4256
4256
|
],
|
|
4257
4257
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
4258
4258
|
"additionalProperties": false
|
|
4259
|
+
},
|
|
4260
|
+
"title": {
|
|
4261
|
+
"type": "string",
|
|
4262
|
+
"minLength": 1,
|
|
4263
|
+
"maxLength": 64,
|
|
4264
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
4265
|
+
},
|
|
4266
|
+
"description": {
|
|
4267
|
+
"type": "string",
|
|
4268
|
+
"maxLength": 256,
|
|
4269
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
4270
|
+
},
|
|
4271
|
+
"iconUrl": {
|
|
4272
|
+
"type": "string",
|
|
4273
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
4274
|
+
},
|
|
4275
|
+
"readmeUrl": {
|
|
4276
|
+
"type": "string",
|
|
4277
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
4278
|
+
},
|
|
4279
|
+
"public": {
|
|
4280
|
+
"type": "boolean",
|
|
4281
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
4259
4282
|
}
|
|
4260
4283
|
},
|
|
4261
4284
|
"required": [
|
|
@@ -4267,7 +4290,12 @@ export const state = {
|
|
|
4267
4290
|
"entities",
|
|
4268
4291
|
"events",
|
|
4269
4292
|
"actions",
|
|
4270
|
-
"channels"
|
|
4293
|
+
"channels",
|
|
4294
|
+
"title",
|
|
4295
|
+
"description",
|
|
4296
|
+
"iconUrl",
|
|
4297
|
+
"readmeUrl",
|
|
4298
|
+
"public"
|
|
4271
4299
|
],
|
|
4272
4300
|
"additionalProperties": false
|
|
4273
4301
|
}
|
package/src/gen/state.ts
CHANGED
|
@@ -12744,6 +12744,29 @@ export const state = {
|
|
|
12744
12744
|
],
|
|
12745
12745
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
12746
12746
|
"additionalProperties": false
|
|
12747
|
+
},
|
|
12748
|
+
"icon": {
|
|
12749
|
+
"type": "string",
|
|
12750
|
+
"description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
|
|
12751
|
+
},
|
|
12752
|
+
"readme": {
|
|
12753
|
+
"type": "string",
|
|
12754
|
+
"description": "Base64 encoded markdown of the interface readme. The readme is specific to each interface versions."
|
|
12755
|
+
},
|
|
12756
|
+
"title": {
|
|
12757
|
+
"type": "string",
|
|
12758
|
+
"minLength": 1,
|
|
12759
|
+
"maxLength": 64,
|
|
12760
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
12761
|
+
},
|
|
12762
|
+
"description": {
|
|
12763
|
+
"type": "string",
|
|
12764
|
+
"maxLength": 256,
|
|
12765
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
12766
|
+
},
|
|
12767
|
+
"public": {
|
|
12768
|
+
"type": "boolean",
|
|
12769
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
12747
12770
|
}
|
|
12748
12771
|
},
|
|
12749
12772
|
"required": [
|
|
@@ -13040,6 +13063,29 @@ export const state = {
|
|
|
13040
13063
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
13041
13064
|
"nullable": true,
|
|
13042
13065
|
"additionalProperties": false
|
|
13066
|
+
},
|
|
13067
|
+
"icon": {
|
|
13068
|
+
"type": "string",
|
|
13069
|
+
"description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
|
|
13070
|
+
},
|
|
13071
|
+
"readme": {
|
|
13072
|
+
"type": "string",
|
|
13073
|
+
"description": "Base64 encoded markdown of the interface readme. The readme is specific to each interface versions."
|
|
13074
|
+
},
|
|
13075
|
+
"title": {
|
|
13076
|
+
"type": "string",
|
|
13077
|
+
"minLength": 1,
|
|
13078
|
+
"maxLength": 64,
|
|
13079
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
13080
|
+
},
|
|
13081
|
+
"description": {
|
|
13082
|
+
"type": "string",
|
|
13083
|
+
"maxLength": 256,
|
|
13084
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
13085
|
+
},
|
|
13086
|
+
"public": {
|
|
13087
|
+
"type": "boolean",
|
|
13088
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
13043
13089
|
}
|
|
13044
13090
|
},
|
|
13045
13091
|
"title": "updateInterfaceBody",
|
|
@@ -13139,6 +13185,29 @@ export const state = {
|
|
|
13139
13185
|
"type": "string",
|
|
13140
13186
|
"maxLength": 200,
|
|
13141
13187
|
"description": "Version of the [Interface](#schema_interface)"
|
|
13188
|
+
},
|
|
13189
|
+
"title": {
|
|
13190
|
+
"type": "string",
|
|
13191
|
+
"minLength": 1,
|
|
13192
|
+
"maxLength": 64,
|
|
13193
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
13194
|
+
},
|
|
13195
|
+
"description": {
|
|
13196
|
+
"type": "string",
|
|
13197
|
+
"maxLength": 256,
|
|
13198
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
13199
|
+
},
|
|
13200
|
+
"iconUrl": {
|
|
13201
|
+
"type": "string",
|
|
13202
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
13203
|
+
},
|
|
13204
|
+
"readmeUrl": {
|
|
13205
|
+
"type": "string",
|
|
13206
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
13207
|
+
},
|
|
13208
|
+
"public": {
|
|
13209
|
+
"type": "boolean",
|
|
13210
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
13142
13211
|
}
|
|
13143
13212
|
},
|
|
13144
13213
|
"required": [
|
|
@@ -13146,7 +13215,12 @@ export const state = {
|
|
|
13146
13215
|
"createdAt",
|
|
13147
13216
|
"updatedAt",
|
|
13148
13217
|
"name",
|
|
13149
|
-
"version"
|
|
13218
|
+
"version",
|
|
13219
|
+
"title",
|
|
13220
|
+
"description",
|
|
13221
|
+
"iconUrl",
|
|
13222
|
+
"readmeUrl",
|
|
13223
|
+
"public"
|
|
13150
13224
|
]
|
|
13151
13225
|
}
|
|
13152
13226
|
},
|
|
@@ -17364,7 +17438,7 @@ export const state = {
|
|
|
17364
17438
|
"title": "Botpress API",
|
|
17365
17439
|
"description": "API for Botpress Cloud",
|
|
17366
17440
|
"server": "https://api.botpress.cloud",
|
|
17367
|
-
"version": "1.
|
|
17441
|
+
"version": "1.10.0",
|
|
17368
17442
|
"prefix": "v1"
|
|
17369
17443
|
},
|
|
17370
17444
|
"errors": [
|
|
@@ -19182,6 +19256,29 @@ export const state = {
|
|
|
19182
19256
|
],
|
|
19183
19257
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
19184
19258
|
"additionalProperties": false
|
|
19259
|
+
},
|
|
19260
|
+
"title": {
|
|
19261
|
+
"type": "string",
|
|
19262
|
+
"minLength": 1,
|
|
19263
|
+
"maxLength": 64,
|
|
19264
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
19265
|
+
},
|
|
19266
|
+
"description": {
|
|
19267
|
+
"type": "string",
|
|
19268
|
+
"maxLength": 256,
|
|
19269
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
19270
|
+
},
|
|
19271
|
+
"iconUrl": {
|
|
19272
|
+
"type": "string",
|
|
19273
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
19274
|
+
},
|
|
19275
|
+
"readmeUrl": {
|
|
19276
|
+
"type": "string",
|
|
19277
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
19278
|
+
},
|
|
19279
|
+
"public": {
|
|
19280
|
+
"type": "boolean",
|
|
19281
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
19185
19282
|
}
|
|
19186
19283
|
},
|
|
19187
19284
|
"required": [
|
|
@@ -19193,7 +19290,12 @@ export const state = {
|
|
|
19193
19290
|
"entities",
|
|
19194
19291
|
"events",
|
|
19195
19292
|
"actions",
|
|
19196
|
-
"channels"
|
|
19293
|
+
"channels",
|
|
19294
|
+
"title",
|
|
19295
|
+
"description",
|
|
19296
|
+
"iconUrl",
|
|
19297
|
+
"readmeUrl",
|
|
19298
|
+
"public"
|
|
19197
19299
|
],
|
|
19198
19300
|
"additionalProperties": false
|
|
19199
19301
|
}
|