@botpress/api 1.9.0 → 1.11.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 +654 -888
- 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 +24 -5
- package/dist/src/gen/state.d.ts +93 -5
- 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 +32 -8
- package/src/gen/state.ts +107 -9
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +30 -2
package/src/gen/runtime/state.ts
CHANGED
|
@@ -1772,13 +1772,9 @@ export const state = {
|
|
|
1772
1772
|
},
|
|
1773
1773
|
"sandboxIdentifiers": {
|
|
1774
1774
|
"type": "object",
|
|
1775
|
-
"additionalProperties": {
|
|
1776
|
-
"type": "object",
|
|
1777
|
-
"nullable": true,
|
|
1778
|
-
"additionalProperties": false
|
|
1779
|
-
},
|
|
1780
1775
|
"nullable": true,
|
|
1781
|
-
"description": "**EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers.
|
|
1776
|
+
"description": "**EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. This is an experimental feature meant to be used by specific integrations.",
|
|
1777
|
+
"additionalProperties": false
|
|
1782
1778
|
}
|
|
1783
1779
|
},
|
|
1784
1780
|
"title": "configureIntegrationBody",
|
|
@@ -2608,7 +2604,7 @@ export const state = {
|
|
|
2608
2604
|
"title": "Botpress API",
|
|
2609
2605
|
"description": "API for Botpress Cloud",
|
|
2610
2606
|
"server": "https://api.botpress.cloud",
|
|
2611
|
-
"version": "1.
|
|
2607
|
+
"version": "1.11.0",
|
|
2612
2608
|
"prefix": "v1"
|
|
2613
2609
|
},
|
|
2614
2610
|
"errors": [
|
|
@@ -4256,6 +4252,29 @@ export const state = {
|
|
|
4256
4252
|
],
|
|
4257
4253
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
4258
4254
|
"additionalProperties": false
|
|
4255
|
+
},
|
|
4256
|
+
"title": {
|
|
4257
|
+
"type": "string",
|
|
4258
|
+
"minLength": 1,
|
|
4259
|
+
"maxLength": 64,
|
|
4260
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
4261
|
+
},
|
|
4262
|
+
"description": {
|
|
4263
|
+
"type": "string",
|
|
4264
|
+
"maxLength": 256,
|
|
4265
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
4266
|
+
},
|
|
4267
|
+
"iconUrl": {
|
|
4268
|
+
"type": "string",
|
|
4269
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
4270
|
+
},
|
|
4271
|
+
"readmeUrl": {
|
|
4272
|
+
"type": "string",
|
|
4273
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
4274
|
+
},
|
|
4275
|
+
"public": {
|
|
4276
|
+
"type": "boolean",
|
|
4277
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
4259
4278
|
}
|
|
4260
4279
|
},
|
|
4261
4280
|
"required": [
|
|
@@ -4267,7 +4286,12 @@ export const state = {
|
|
|
4267
4286
|
"entities",
|
|
4268
4287
|
"events",
|
|
4269
4288
|
"actions",
|
|
4270
|
-
"channels"
|
|
4289
|
+
"channels",
|
|
4290
|
+
"title",
|
|
4291
|
+
"description",
|
|
4292
|
+
"iconUrl",
|
|
4293
|
+
"readmeUrl",
|
|
4294
|
+
"public"
|
|
4271
4295
|
],
|
|
4272
4296
|
"additionalProperties": false
|
|
4273
4297
|
}
|
package/src/gen/state.ts
CHANGED
|
@@ -1772,13 +1772,9 @@ export const state = {
|
|
|
1772
1772
|
},
|
|
1773
1773
|
"sandboxIdentifiers": {
|
|
1774
1774
|
"type": "object",
|
|
1775
|
-
"additionalProperties": {
|
|
1776
|
-
"type": "object",
|
|
1777
|
-
"nullable": true,
|
|
1778
|
-
"additionalProperties": false
|
|
1779
|
-
},
|
|
1780
1775
|
"nullable": true,
|
|
1781
|
-
"description": "**EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers.
|
|
1776
|
+
"description": "**EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. This is an experimental feature meant to be used by specific integrations.",
|
|
1777
|
+
"additionalProperties": false
|
|
1782
1778
|
}
|
|
1783
1779
|
},
|
|
1784
1780
|
"title": "configureIntegrationBody",
|
|
@@ -12744,6 +12740,29 @@ export const state = {
|
|
|
12744
12740
|
],
|
|
12745
12741
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
12746
12742
|
"additionalProperties": false
|
|
12743
|
+
},
|
|
12744
|
+
"icon": {
|
|
12745
|
+
"type": "string",
|
|
12746
|
+
"description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
|
|
12747
|
+
},
|
|
12748
|
+
"readme": {
|
|
12749
|
+
"type": "string",
|
|
12750
|
+
"description": "Base64 encoded markdown of the interface readme. The readme is specific to each interface versions."
|
|
12751
|
+
},
|
|
12752
|
+
"title": {
|
|
12753
|
+
"type": "string",
|
|
12754
|
+
"minLength": 1,
|
|
12755
|
+
"maxLength": 64,
|
|
12756
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
12757
|
+
},
|
|
12758
|
+
"description": {
|
|
12759
|
+
"type": "string",
|
|
12760
|
+
"maxLength": 256,
|
|
12761
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
12762
|
+
},
|
|
12763
|
+
"public": {
|
|
12764
|
+
"type": "boolean",
|
|
12765
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
12747
12766
|
}
|
|
12748
12767
|
},
|
|
12749
12768
|
"required": [
|
|
@@ -13040,6 +13059,29 @@ export const state = {
|
|
|
13040
13059
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
13041
13060
|
"nullable": true,
|
|
13042
13061
|
"additionalProperties": false
|
|
13062
|
+
},
|
|
13063
|
+
"icon": {
|
|
13064
|
+
"type": "string",
|
|
13065
|
+
"description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
|
|
13066
|
+
},
|
|
13067
|
+
"readme": {
|
|
13068
|
+
"type": "string",
|
|
13069
|
+
"description": "Base64 encoded markdown of the interface readme. The readme is specific to each interface versions."
|
|
13070
|
+
},
|
|
13071
|
+
"title": {
|
|
13072
|
+
"type": "string",
|
|
13073
|
+
"minLength": 1,
|
|
13074
|
+
"maxLength": 64,
|
|
13075
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
13076
|
+
},
|
|
13077
|
+
"description": {
|
|
13078
|
+
"type": "string",
|
|
13079
|
+
"maxLength": 256,
|
|
13080
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
13081
|
+
},
|
|
13082
|
+
"public": {
|
|
13083
|
+
"type": "boolean",
|
|
13084
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
13043
13085
|
}
|
|
13044
13086
|
},
|
|
13045
13087
|
"title": "updateInterfaceBody",
|
|
@@ -13139,6 +13181,29 @@ export const state = {
|
|
|
13139
13181
|
"type": "string",
|
|
13140
13182
|
"maxLength": 200,
|
|
13141
13183
|
"description": "Version of the [Interface](#schema_interface)"
|
|
13184
|
+
},
|
|
13185
|
+
"title": {
|
|
13186
|
+
"type": "string",
|
|
13187
|
+
"minLength": 1,
|
|
13188
|
+
"maxLength": 64,
|
|
13189
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
13190
|
+
},
|
|
13191
|
+
"description": {
|
|
13192
|
+
"type": "string",
|
|
13193
|
+
"maxLength": 256,
|
|
13194
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
13195
|
+
},
|
|
13196
|
+
"iconUrl": {
|
|
13197
|
+
"type": "string",
|
|
13198
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
13199
|
+
},
|
|
13200
|
+
"readmeUrl": {
|
|
13201
|
+
"type": "string",
|
|
13202
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
13203
|
+
},
|
|
13204
|
+
"public": {
|
|
13205
|
+
"type": "boolean",
|
|
13206
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
13142
13207
|
}
|
|
13143
13208
|
},
|
|
13144
13209
|
"required": [
|
|
@@ -13146,7 +13211,12 @@ export const state = {
|
|
|
13146
13211
|
"createdAt",
|
|
13147
13212
|
"updatedAt",
|
|
13148
13213
|
"name",
|
|
13149
|
-
"version"
|
|
13214
|
+
"version",
|
|
13215
|
+
"title",
|
|
13216
|
+
"description",
|
|
13217
|
+
"iconUrl",
|
|
13218
|
+
"readmeUrl",
|
|
13219
|
+
"public"
|
|
13150
13220
|
]
|
|
13151
13221
|
}
|
|
13152
13222
|
},
|
|
@@ -17364,7 +17434,7 @@ export const state = {
|
|
|
17364
17434
|
"title": "Botpress API",
|
|
17365
17435
|
"description": "API for Botpress Cloud",
|
|
17366
17436
|
"server": "https://api.botpress.cloud",
|
|
17367
|
-
"version": "1.
|
|
17437
|
+
"version": "1.11.0",
|
|
17368
17438
|
"prefix": "v1"
|
|
17369
17439
|
},
|
|
17370
17440
|
"errors": [
|
|
@@ -19182,6 +19252,29 @@ export const state = {
|
|
|
19182
19252
|
],
|
|
19183
19253
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
19184
19254
|
"additionalProperties": false
|
|
19255
|
+
},
|
|
19256
|
+
"title": {
|
|
19257
|
+
"type": "string",
|
|
19258
|
+
"minLength": 1,
|
|
19259
|
+
"maxLength": 64,
|
|
19260
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
19261
|
+
},
|
|
19262
|
+
"description": {
|
|
19263
|
+
"type": "string",
|
|
19264
|
+
"maxLength": 256,
|
|
19265
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
19266
|
+
},
|
|
19267
|
+
"iconUrl": {
|
|
19268
|
+
"type": "string",
|
|
19269
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
19270
|
+
},
|
|
19271
|
+
"readmeUrl": {
|
|
19272
|
+
"type": "string",
|
|
19273
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
19274
|
+
},
|
|
19275
|
+
"public": {
|
|
19276
|
+
"type": "boolean",
|
|
19277
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
19185
19278
|
}
|
|
19186
19279
|
},
|
|
19187
19280
|
"required": [
|
|
@@ -19193,7 +19286,12 @@ export const state = {
|
|
|
19193
19286
|
"entities",
|
|
19194
19287
|
"events",
|
|
19195
19288
|
"actions",
|
|
19196
|
-
"channels"
|
|
19289
|
+
"channels",
|
|
19290
|
+
"title",
|
|
19291
|
+
"description",
|
|
19292
|
+
"iconUrl",
|
|
19293
|
+
"readmeUrl",
|
|
19294
|
+
"public"
|
|
19197
19295
|
],
|
|
19198
19296
|
"additionalProperties": false
|
|
19199
19297
|
}
|