@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 CHANGED
@@ -284644,7 +284644,7 @@ var state = {
284644
284644
  "title": "Botpress API",
284645
284645
  "description": "API for Botpress Cloud",
284646
284646
  "server": "https://api.botpress.cloud",
284647
- "version": "1.8.0",
284647
+ "version": "1.10.0",
284648
284648
  "prefix": "v1"
284649
284649
  },
284650
284650
  "errors": [
@@ -285183,6 +285183,14 @@ var state = {
285183
285183
  "schema": {
285184
285184
  "type": "object",
285185
285185
  "additionalProperties": true
285186
+ },
285187
+ "attributes": {
285188
+ "type": "object",
285189
+ "additionalProperties": {
285190
+ "type": "string",
285191
+ "maxLength": 200
285192
+ },
285193
+ "description": "Optional attributes"
285186
285194
  }
285187
285195
  },
285188
285196
  "required": [
@@ -285835,6 +285843,14 @@ var state = {
285835
285843
  "schema": {
285836
285844
  "type": "object",
285837
285845
  "additionalProperties": true
285846
+ },
285847
+ "attributes": {
285848
+ "type": "object",
285849
+ "additionalProperties": {
285850
+ "type": "string",
285851
+ "maxLength": 200
285852
+ },
285853
+ "description": "Optional attributes"
285838
285854
  }
285839
285855
  },
285840
285856
  "required": [
@@ -286138,61 +286154,6 @@ var state = {
286138
286154
  "schema": {
286139
286155
  "type": "object",
286140
286156
  "additionalProperties": true
286141
- }
286142
- },
286143
- "required": [
286144
- "schema"
286145
- ],
286146
- "description": "Event Definition",
286147
- "additionalProperties": false
286148
- }
286149
- },
286150
- "actions": {
286151
- "type": "object",
286152
- "additionalProperties": {
286153
- "type": "object",
286154
- "properties": {
286155
- "title": {
286156
- "type": "string",
286157
- "maxLength": 64,
286158
- "description": "Title of the action"
286159
- },
286160
- "description": {
286161
- "type": "string",
286162
- "maxLength": 256,
286163
- "description": "Description of the action"
286164
- },
286165
- "billable": {
286166
- "type": "boolean"
286167
- },
286168
- "cacheable": {
286169
- "type": "boolean"
286170
- },
286171
- "input": {
286172
- "type": "object",
286173
- "properties": {
286174
- "schema": {
286175
- "type": "object",
286176
- "additionalProperties": true
286177
- }
286178
- },
286179
- "required": [
286180
- "schema"
286181
- ],
286182
- "additionalProperties": false
286183
- },
286184
- "output": {
286185
- "type": "object",
286186
- "properties": {
286187
- "schema": {
286188
- "type": "object",
286189
- "additionalProperties": true
286190
- }
286191
- },
286192
- "required": [
286193
- "schema"
286194
- ],
286195
- "additionalProperties": false
286196
286157
  },
286197
286158
  "attributes": {
286198
286159
  "type": "object",
@@ -286203,196 +286164,295 @@ var state = {
286203
286164
  "description": "Optional attributes"
286204
286165
  }
286205
286166
  },
286206
- "required": [
286207
- "input",
286208
- "output"
286209
- ],
286210
- "description": "Action definition",
286211
- "additionalProperties": false
286212
- }
286213
- },
286214
- "channels": {
286215
- "type": "object",
286216
- "additionalProperties": {
286217
- "type": "object",
286218
- "properties": {
286219
- "title": {
286220
- "type": "string",
286221
- "maxLength": 64,
286222
- "description": "Title of the channel"
286223
- },
286224
- "description": {
286225
- "type": "string",
286226
- "maxLength": 256,
286227
- "description": "Description of the channel"
286228
- },
286229
- "messages": {
286230
- "type": "object",
286231
- "additionalProperties": {
286232
- "type": "object",
286233
- "properties": {
286234
- "schema": {
286235
- "type": "object",
286236
- "additionalProperties": true
286237
- }
286238
- },
286239
- "required": [
286240
- "schema"
286241
- ],
286242
- "description": "Message definition",
286243
- "additionalProperties": false
286244
- }
286245
- }
286246
- },
286247
- "required": [
286248
- "messages"
286249
- ],
286250
- "additionalProperties": false
286251
- }
286252
- },
286253
- "nameTemplate": {
286254
- "type": "object",
286255
- "properties": {
286256
- "script": {
286257
- "type": "string",
286258
- "maxLength": 2e3
286259
- },
286260
- "language": {
286261
- "type": "string",
286262
- "maxLength": 200
286263
- }
286264
- },
286265
- "required": [
286266
- "script",
286267
- "language"
286268
- ],
286269
- "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
286270
- "additionalProperties": false
286271
- }
286272
- },
286273
- "required": [
286274
- "id",
286275
- "createdAt",
286276
- "updatedAt",
286277
- "name",
286278
- "version",
286279
- "entities",
286280
- "events",
286281
- "actions",
286282
- "channels"
286283
- ],
286284
- "additionalProperties": false
286285
- }
286286
- },
286287
- "Plugin": {
286288
- "section": "plugin",
286289
- "schema": {
286290
- "type": "object",
286291
- "properties": {
286292
- "id": {
286293
- "type": "string",
286294
- "minLength": 28,
286295
- "maxLength": 36,
286296
- "description": "ID of the [Plugin](#schema_plugin)"
286297
- },
286298
- "name": {
286299
- "type": "string",
286300
- "maxLength": 200,
286301
- "description": "Name of the [Plugin](#schema_plugin)"
286302
- },
286303
- "version": {
286304
- "type": "string",
286305
- "maxLength": 200,
286306
- "description": "Version of the [Plugin](#schema_plugin)"
286307
- },
286308
- "createdAt": {
286309
- "type": "string",
286310
- "format": "date-time",
286311
- "description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
286312
- },
286313
- "updatedAt": {
286314
- "type": "string",
286315
- "format": "date-time",
286316
- "description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
286317
- },
286318
- "configuration": {
286319
- "type": "object",
286320
- "properties": {
286321
- "title": {
286322
- "type": "string",
286323
- "maxLength": 64,
286324
- "description": "Title of the configuration"
286325
- },
286326
- "description": {
286327
- "type": "string",
286328
- "maxLength": 256,
286329
- "description": "Description of the configuration"
286330
- },
286331
- "schema": {
286332
- "type": "object",
286333
- "additionalProperties": true,
286334
- "description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
286335
- }
286336
- },
286337
- "required": [
286338
- "schema"
286339
- ],
286340
- "description": "Configuration definition",
286341
- "additionalProperties": false
286342
- },
286343
- "states": {
286344
- "type": "object",
286345
- "additionalProperties": {
286346
- "type": "object",
286347
- "properties": {
286348
- "type": {
286349
- "type": "string",
286350
- "enum": [
286351
- "conversation",
286352
- "user",
286353
- "bot",
286354
- "task"
286355
- ],
286356
- "description": "Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)"
286357
- },
286358
- "schema": {
286359
- "type": "object",
286360
- "additionalProperties": true,
286361
- "description": "Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data."
286362
- },
286363
- "expiry": {
286364
- "type": "number",
286365
- "minimum": 1,
286366
- "description": "Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire."
286367
- }
286368
- },
286369
- "required": [
286370
- "type",
286371
- "schema"
286372
- ],
286373
- "additionalProperties": false
286374
- }
286375
- },
286376
- "events": {
286377
- "type": "object",
286378
- "additionalProperties": {
286379
- "type": "object",
286380
- "properties": {
286381
- "title": {
286382
- "type": "string",
286383
- "maxLength": 64,
286384
- "description": "Title of the event"
286385
- },
286386
- "description": {
286387
- "type": "string",
286388
- "maxLength": 256,
286389
- "description": "Description of the event"
286390
- },
286391
- "schema": {
286392
- "type": "object",
286393
- "additionalProperties": true
286394
- }
286395
- },
286167
+ "required": [
286168
+ "schema"
286169
+ ],
286170
+ "description": "Event Definition",
286171
+ "additionalProperties": false
286172
+ }
286173
+ },
286174
+ "actions": {
286175
+ "type": "object",
286176
+ "additionalProperties": {
286177
+ "type": "object",
286178
+ "properties": {
286179
+ "title": {
286180
+ "type": "string",
286181
+ "maxLength": 64,
286182
+ "description": "Title of the action"
286183
+ },
286184
+ "description": {
286185
+ "type": "string",
286186
+ "maxLength": 256,
286187
+ "description": "Description of the action"
286188
+ },
286189
+ "billable": {
286190
+ "type": "boolean"
286191
+ },
286192
+ "cacheable": {
286193
+ "type": "boolean"
286194
+ },
286195
+ "input": {
286196
+ "type": "object",
286197
+ "properties": {
286198
+ "schema": {
286199
+ "type": "object",
286200
+ "additionalProperties": true
286201
+ }
286202
+ },
286203
+ "required": [
286204
+ "schema"
286205
+ ],
286206
+ "additionalProperties": false
286207
+ },
286208
+ "output": {
286209
+ "type": "object",
286210
+ "properties": {
286211
+ "schema": {
286212
+ "type": "object",
286213
+ "additionalProperties": true
286214
+ }
286215
+ },
286216
+ "required": [
286217
+ "schema"
286218
+ ],
286219
+ "additionalProperties": false
286220
+ },
286221
+ "attributes": {
286222
+ "type": "object",
286223
+ "additionalProperties": {
286224
+ "type": "string",
286225
+ "maxLength": 200
286226
+ },
286227
+ "description": "Optional attributes"
286228
+ }
286229
+ },
286230
+ "required": [
286231
+ "input",
286232
+ "output"
286233
+ ],
286234
+ "description": "Action definition",
286235
+ "additionalProperties": false
286236
+ }
286237
+ },
286238
+ "channels": {
286239
+ "type": "object",
286240
+ "additionalProperties": {
286241
+ "type": "object",
286242
+ "properties": {
286243
+ "title": {
286244
+ "type": "string",
286245
+ "maxLength": 64,
286246
+ "description": "Title of the channel"
286247
+ },
286248
+ "description": {
286249
+ "type": "string",
286250
+ "maxLength": 256,
286251
+ "description": "Description of the channel"
286252
+ },
286253
+ "messages": {
286254
+ "type": "object",
286255
+ "additionalProperties": {
286256
+ "type": "object",
286257
+ "properties": {
286258
+ "schema": {
286259
+ "type": "object",
286260
+ "additionalProperties": true
286261
+ }
286262
+ },
286263
+ "required": [
286264
+ "schema"
286265
+ ],
286266
+ "description": "Message definition",
286267
+ "additionalProperties": false
286268
+ }
286269
+ }
286270
+ },
286271
+ "required": [
286272
+ "messages"
286273
+ ],
286274
+ "additionalProperties": false
286275
+ }
286276
+ },
286277
+ "nameTemplate": {
286278
+ "type": "object",
286279
+ "properties": {
286280
+ "script": {
286281
+ "type": "string",
286282
+ "maxLength": 2e3
286283
+ },
286284
+ "language": {
286285
+ "type": "string",
286286
+ "maxLength": 200
286287
+ }
286288
+ },
286289
+ "required": [
286290
+ "script",
286291
+ "language"
286292
+ ],
286293
+ "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
286294
+ "additionalProperties": false
286295
+ },
286296
+ "title": {
286297
+ "type": "string",
286298
+ "minLength": 1,
286299
+ "maxLength": 64,
286300
+ "description": "Title of the interface. This is the name that will be displayed in the UI"
286301
+ },
286302
+ "description": {
286303
+ "type": "string",
286304
+ "maxLength": 256,
286305
+ "description": "Description of the interface. This is the description that will be displayed in the UI"
286306
+ },
286307
+ "iconUrl": {
286308
+ "type": "string",
286309
+ "description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
286310
+ },
286311
+ "readmeUrl": {
286312
+ "type": "string",
286313
+ "description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
286314
+ },
286315
+ "public": {
286316
+ "type": "boolean",
286317
+ "description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
286318
+ }
286319
+ },
286320
+ "required": [
286321
+ "id",
286322
+ "createdAt",
286323
+ "updatedAt",
286324
+ "name",
286325
+ "version",
286326
+ "entities",
286327
+ "events",
286328
+ "actions",
286329
+ "channels",
286330
+ "title",
286331
+ "description",
286332
+ "iconUrl",
286333
+ "readmeUrl",
286334
+ "public"
286335
+ ],
286336
+ "additionalProperties": false
286337
+ }
286338
+ },
286339
+ "Plugin": {
286340
+ "section": "plugin",
286341
+ "schema": {
286342
+ "type": "object",
286343
+ "properties": {
286344
+ "id": {
286345
+ "type": "string",
286346
+ "minLength": 28,
286347
+ "maxLength": 36,
286348
+ "description": "ID of the [Plugin](#schema_plugin)"
286349
+ },
286350
+ "name": {
286351
+ "type": "string",
286352
+ "maxLength": 200,
286353
+ "description": "Name of the [Plugin](#schema_plugin)"
286354
+ },
286355
+ "version": {
286356
+ "type": "string",
286357
+ "maxLength": 200,
286358
+ "description": "Version of the [Plugin](#schema_plugin)"
286359
+ },
286360
+ "createdAt": {
286361
+ "type": "string",
286362
+ "format": "date-time",
286363
+ "description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
286364
+ },
286365
+ "updatedAt": {
286366
+ "type": "string",
286367
+ "format": "date-time",
286368
+ "description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
286369
+ },
286370
+ "configuration": {
286371
+ "type": "object",
286372
+ "properties": {
286373
+ "title": {
286374
+ "type": "string",
286375
+ "maxLength": 64,
286376
+ "description": "Title of the configuration"
286377
+ },
286378
+ "description": {
286379
+ "type": "string",
286380
+ "maxLength": 256,
286381
+ "description": "Description of the configuration"
286382
+ },
286383
+ "schema": {
286384
+ "type": "object",
286385
+ "additionalProperties": true,
286386
+ "description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
286387
+ }
286388
+ },
286389
+ "required": [
286390
+ "schema"
286391
+ ],
286392
+ "description": "Configuration definition",
286393
+ "additionalProperties": false
286394
+ },
286395
+ "states": {
286396
+ "type": "object",
286397
+ "additionalProperties": {
286398
+ "type": "object",
286399
+ "properties": {
286400
+ "type": {
286401
+ "type": "string",
286402
+ "enum": [
286403
+ "conversation",
286404
+ "user",
286405
+ "bot",
286406
+ "task"
286407
+ ],
286408
+ "description": "Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)"
286409
+ },
286410
+ "schema": {
286411
+ "type": "object",
286412
+ "additionalProperties": true,
286413
+ "description": "Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data."
286414
+ },
286415
+ "expiry": {
286416
+ "type": "number",
286417
+ "minimum": 1,
286418
+ "description": "Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire."
286419
+ }
286420
+ },
286421
+ "required": [
286422
+ "type",
286423
+ "schema"
286424
+ ],
286425
+ "additionalProperties": false
286426
+ }
286427
+ },
286428
+ "events": {
286429
+ "type": "object",
286430
+ "additionalProperties": {
286431
+ "type": "object",
286432
+ "properties": {
286433
+ "title": {
286434
+ "type": "string",
286435
+ "maxLength": 64,
286436
+ "description": "Title of the event"
286437
+ },
286438
+ "description": {
286439
+ "type": "string",
286440
+ "maxLength": 256,
286441
+ "description": "Description of the event"
286442
+ },
286443
+ "schema": {
286444
+ "type": "object",
286445
+ "additionalProperties": true
286446
+ },
286447
+ "attributes": {
286448
+ "type": "object",
286449
+ "additionalProperties": {
286450
+ "type": "string",
286451
+ "maxLength": 200
286452
+ },
286453
+ "description": "Optional attributes"
286454
+ }
286455
+ },
286396
286456
  "required": [
286397
286457
  "schema"
286398
286458
  ],
@@ -289432,6 +289492,14 @@ var state2 = {
289432
289492
  "schema": {
289433
289493
  "type": "object",
289434
289494
  "additionalProperties": true
289495
+ },
289496
+ "attributes": {
289497
+ "type": "object",
289498
+ "additionalProperties": {
289499
+ "type": "string",
289500
+ "maxLength": 200
289501
+ },
289502
+ "description": "Optional attributes"
289435
289503
  }
289436
289504
  },
289437
289505
  "required": [
@@ -290157,6 +290225,14 @@ var state2 = {
290157
290225
  "schema": {
290158
290226
  "type": "object",
290159
290227
  "additionalProperties": true
290228
+ },
290229
+ "attributes": {
290230
+ "type": "object",
290231
+ "additionalProperties": {
290232
+ "type": "string",
290233
+ "maxLength": 200
290234
+ },
290235
+ "description": "Optional attributes"
290160
290236
  }
290161
290237
  },
290162
290238
  "required": [
@@ -290677,6 +290753,14 @@ var state2 = {
290677
290753
  "schema": {
290678
290754
  "type": "object",
290679
290755
  "additionalProperties": true
290756
+ },
290757
+ "attributes": {
290758
+ "type": "object",
290759
+ "additionalProperties": {
290760
+ "type": "string",
290761
+ "maxLength": 200
290762
+ },
290763
+ "description": "Optional attributes"
290680
290764
  }
290681
290765
  },
290682
290766
  "required": [
@@ -291059,6 +291143,14 @@ var state2 = {
291059
291143
  "schema": {
291060
291144
  "type": "object",
291061
291145
  "additionalProperties": true
291146
+ },
291147
+ "attributes": {
291148
+ "type": "object",
291149
+ "additionalProperties": {
291150
+ "type": "string",
291151
+ "maxLength": 200
291152
+ },
291153
+ "description": "Optional attributes"
291062
291154
  }
291063
291155
  },
291064
291156
  "required": [
@@ -291415,6 +291507,14 @@ var state2 = {
291415
291507
  "schema": {
291416
291508
  "type": "object",
291417
291509
  "additionalProperties": true
291510
+ },
291511
+ "attributes": {
291512
+ "type": "object",
291513
+ "additionalProperties": {
291514
+ "type": "string",
291515
+ "maxLength": 200
291516
+ },
291517
+ "description": "Optional attributes"
291418
291518
  }
291419
291519
  },
291420
291520
  "required": [
@@ -291864,12 +291964,20 @@ var state2 = {
291864
291964
  "schema": {
291865
291965
  "type": "object",
291866
291966
  "additionalProperties": true
291967
+ },
291968
+ "attributes": {
291969
+ "type": "object",
291970
+ "additionalProperties": {
291971
+ "type": "string",
291972
+ "maxLength": 200,
291973
+ "nullable": true
291974
+ },
291975
+ "description": "Optional attributes. Set attributes to null to remove them"
291867
291976
  }
291868
291977
  },
291869
291978
  "required": [
291870
291979
  "schema"
291871
291980
  ],
291872
- "description": "Event Definition",
291873
291981
  "nullable": true,
291874
291982
  "additionalProperties": false
291875
291983
  }
@@ -291925,16 +292033,16 @@ var state2 = {
291925
292033
  "type": "object",
291926
292034
  "additionalProperties": {
291927
292035
  "type": "string",
291928
- "maxLength": 200
292036
+ "maxLength": 200,
292037
+ "nullable": true
291929
292038
  },
291930
- "description": "Optional attributes"
292039
+ "description": "Optional attributes. Set attributes to null to remove them"
291931
292040
  }
291932
292041
  },
291933
292042
  "required": [
291934
292043
  "input",
291935
292044
  "output"
291936
292045
  ],
291937
- "description": "Action definition",
291938
292046
  "nullable": true,
291939
292047
  "additionalProperties": false
291940
292048
  }
@@ -295561,6 +295669,14 @@ var state2 = {
295561
295669
  "schema": {
295562
295670
  "type": "object",
295563
295671
  "additionalProperties": true
295672
+ },
295673
+ "attributes": {
295674
+ "type": "object",
295675
+ "additionalProperties": {
295676
+ "type": "string",
295677
+ "maxLength": 200
295678
+ },
295679
+ "description": "Optional attributes"
295564
295680
  }
295565
295681
  },
295566
295682
  "required": [
@@ -296135,6 +296251,14 @@ var state2 = {
296135
296251
  "schema": {
296136
296252
  "type": "object",
296137
296253
  "additionalProperties": true
296254
+ },
296255
+ "attributes": {
296256
+ "type": "object",
296257
+ "additionalProperties": {
296258
+ "type": "string",
296259
+ "maxLength": 200
296260
+ },
296261
+ "description": "Optional attributes"
296138
296262
  }
296139
296263
  },
296140
296264
  "required": [
@@ -296868,12 +296992,20 @@ var state2 = {
296868
296992
  "schema": {
296869
296993
  "type": "object",
296870
296994
  "additionalProperties": true
296995
+ },
296996
+ "attributes": {
296997
+ "type": "object",
296998
+ "additionalProperties": {
296999
+ "type": "string",
297000
+ "maxLength": 200,
297001
+ "nullable": true
297002
+ },
297003
+ "description": "Optional attributes. Set attributes to null to remove them"
296871
297004
  }
296872
297005
  },
296873
297006
  "required": [
296874
297007
  "schema"
296875
297008
  ],
296876
- "description": "Event Definition",
296877
297009
  "nullable": true,
296878
297010
  "additionalProperties": false
296879
297011
  }
@@ -297459,12 +297591,20 @@ var state2 = {
297459
297591
  "schema": {
297460
297592
  "type": "object",
297461
297593
  "additionalProperties": true
297594
+ },
297595
+ "attributes": {
297596
+ "type": "object",
297597
+ "additionalProperties": {
297598
+ "type": "string",
297599
+ "maxLength": 200,
297600
+ "nullable": true
297601
+ },
297602
+ "description": "Optional attributes. Set attributes to null to remove them"
297462
297603
  }
297463
297604
  },
297464
297605
  "required": [
297465
297606
  "schema"
297466
297607
  ],
297467
- "description": "Event Definition",
297468
297608
  "nullable": true,
297469
297609
  "additionalProperties": false
297470
297610
  }
@@ -298266,6 +298406,14 @@ var state2 = {
298266
298406
  "schema": {
298267
298407
  "type": "object",
298268
298408
  "additionalProperties": true
298409
+ },
298410
+ "attributes": {
298411
+ "type": "object",
298412
+ "additionalProperties": {
298413
+ "type": "string",
298414
+ "maxLength": 200
298415
+ },
298416
+ "description": "Optional attributes"
298269
298417
  }
298270
298418
  },
298271
298419
  "required": [
@@ -298396,6 +298544,29 @@ var state2 = {
298396
298544
  ],
298397
298545
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
298398
298546
  "additionalProperties": false
298547
+ },
298548
+ "icon": {
298549
+ "type": "string",
298550
+ "description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
298551
+ },
298552
+ "readme": {
298553
+ "type": "string",
298554
+ "description": "Base64 encoded markdown of the interface readme. The readme is specific to each interface versions."
298555
+ },
298556
+ "title": {
298557
+ "type": "string",
298558
+ "minLength": 1,
298559
+ "maxLength": 64,
298560
+ "description": "Title of the interface. This is the name that will be displayed in the UI"
298561
+ },
298562
+ "description": {
298563
+ "type": "string",
298564
+ "maxLength": 256,
298565
+ "description": "Description of the interface. This is the description that will be displayed in the UI"
298566
+ },
298567
+ "public": {
298568
+ "type": "boolean",
298569
+ "description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
298399
298570
  }
298400
298571
  },
298401
298572
  "required": [
@@ -298552,12 +298723,20 @@ var state2 = {
298552
298723
  "schema": {
298553
298724
  "type": "object",
298554
298725
  "additionalProperties": true
298726
+ },
298727
+ "attributes": {
298728
+ "type": "object",
298729
+ "additionalProperties": {
298730
+ "type": "string",
298731
+ "maxLength": 200,
298732
+ "nullable": true
298733
+ },
298734
+ "description": "Optional attributes. Set attributes to null to remove them"
298555
298735
  }
298556
298736
  },
298557
298737
  "required": [
298558
298738
  "schema"
298559
298739
  ],
298560
- "description": "Event Definition",
298561
298740
  "nullable": true,
298562
298741
  "additionalProperties": false
298563
298742
  }
@@ -298615,7 +298794,8 @@ var state2 = {
298615
298794
  "type": "string",
298616
298795
  "maxLength": 200,
298617
298796
  "nullable": true
298618
- }
298797
+ },
298798
+ "description": "Optional attributes. Set attributes to null to remove them"
298619
298799
  }
298620
298800
  },
298621
298801
  "required": [
@@ -298683,6 +298863,29 @@ var state2 = {
298683
298863
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
298684
298864
  "nullable": true,
298685
298865
  "additionalProperties": false
298866
+ },
298867
+ "icon": {
298868
+ "type": "string",
298869
+ "description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
298870
+ },
298871
+ "readme": {
298872
+ "type": "string",
298873
+ "description": "Base64 encoded markdown of the interface readme. The readme is specific to each interface versions."
298874
+ },
298875
+ "title": {
298876
+ "type": "string",
298877
+ "minLength": 1,
298878
+ "maxLength": 64,
298879
+ "description": "Title of the interface. This is the name that will be displayed in the UI"
298880
+ },
298881
+ "description": {
298882
+ "type": "string",
298883
+ "maxLength": 256,
298884
+ "description": "Description of the interface. This is the description that will be displayed in the UI"
298885
+ },
298886
+ "public": {
298887
+ "type": "boolean",
298888
+ "description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
298686
298889
  }
298687
298890
  },
298688
298891
  "title": "updateInterfaceBody",
@@ -298782,6 +298985,29 @@ var state2 = {
298782
298985
  "type": "string",
298783
298986
  "maxLength": 200,
298784
298987
  "description": "Version of the [Interface](#schema_interface)"
298988
+ },
298989
+ "title": {
298990
+ "type": "string",
298991
+ "minLength": 1,
298992
+ "maxLength": 64,
298993
+ "description": "Title of the interface. This is the name that will be displayed in the UI"
298994
+ },
298995
+ "description": {
298996
+ "type": "string",
298997
+ "maxLength": 256,
298998
+ "description": "Description of the interface. This is the description that will be displayed in the UI"
298999
+ },
299000
+ "iconUrl": {
299001
+ "type": "string",
299002
+ "description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
299003
+ },
299004
+ "readmeUrl": {
299005
+ "type": "string",
299006
+ "description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
299007
+ },
299008
+ "public": {
299009
+ "type": "boolean",
299010
+ "description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
298785
299011
  }
298786
299012
  },
298787
299013
  "required": [
@@ -298789,7 +299015,12 @@ var state2 = {
298789
299015
  "createdAt",
298790
299016
  "updatedAt",
298791
299017
  "name",
298792
- "version"
299018
+ "version",
299019
+ "title",
299020
+ "description",
299021
+ "iconUrl",
299022
+ "readmeUrl",
299023
+ "public"
298793
299024
  ]
298794
299025
  }
298795
299026
  },
@@ -298910,6 +299141,14 @@ var state2 = {
298910
299141
  "schema": {
298911
299142
  "type": "object",
298912
299143
  "additionalProperties": true
299144
+ },
299145
+ "attributes": {
299146
+ "type": "object",
299147
+ "additionalProperties": {
299148
+ "type": "string",
299149
+ "maxLength": 200
299150
+ },
299151
+ "description": "Optional attributes"
298913
299152
  }
298914
299153
  },
298915
299154
  "required": [
@@ -299308,12 +299547,20 @@ var state2 = {
299308
299547
  "schema": {
299309
299548
  "type": "object",
299310
299549
  "additionalProperties": true
299550
+ },
299551
+ "attributes": {
299552
+ "type": "object",
299553
+ "additionalProperties": {
299554
+ "type": "string",
299555
+ "maxLength": 200,
299556
+ "nullable": true
299557
+ },
299558
+ "description": "Optional attributes. Set attributes to null to remove them"
299311
299559
  }
299312
299560
  },
299313
299561
  "required": [
299314
299562
  "schema"
299315
299563
  ],
299316
- "description": "Event Definition",
299317
299564
  "nullable": true,
299318
299565
  "additionalProperties": false
299319
299566
  }
@@ -299369,16 +299616,16 @@ var state2 = {
299369
299616
  "type": "object",
299370
299617
  "additionalProperties": {
299371
299618
  "type": "string",
299372
- "maxLength": 200
299619
+ "maxLength": 200,
299620
+ "nullable": true
299373
299621
  },
299374
- "description": "Optional attributes"
299622
+ "description": "Optional attributes. Set attributes to null to remove them"
299375
299623
  }
299376
299624
  },
299377
299625
  "required": [
299378
299626
  "input",
299379
299627
  "output"
299380
299628
  ],
299381
- "description": "Action definition",
299382
299629
  "nullable": true,
299383
299630
  "additionalProperties": false
299384
299631
  }
@@ -300216,7 +300463,7 @@ var state2 = {
300216
300463
  "title": "Botpress API",
300217
300464
  "description": "API for Botpress Cloud",
300218
300465
  "server": "https://api.botpress.cloud",
300219
- "version": "1.8.0",
300466
+ "version": "1.10.0",
300220
300467
  "prefix": "v1"
300221
300468
  },
300222
300469
  "errors": [
@@ -300810,6 +301057,14 @@ var state2 = {
300810
301057
  "schema": {
300811
301058
  "type": "object",
300812
301059
  "additionalProperties": true
301060
+ },
301061
+ "attributes": {
301062
+ "type": "object",
301063
+ "additionalProperties": {
301064
+ "type": "string",
301065
+ "maxLength": 200
301066
+ },
301067
+ "description": "Optional attributes"
300813
301068
  }
300814
301069
  },
300815
301070
  "required": [
@@ -301462,6 +301717,14 @@ var state2 = {
301462
301717
  "schema": {
301463
301718
  "type": "object",
301464
301719
  "additionalProperties": true
301720
+ },
301721
+ "attributes": {
301722
+ "type": "object",
301723
+ "additionalProperties": {
301724
+ "type": "string",
301725
+ "maxLength": 200
301726
+ },
301727
+ "description": "Optional attributes"
301465
301728
  }
301466
301729
  },
301467
301730
  "required": [
@@ -301765,6 +302028,14 @@ var state2 = {
301765
302028
  "schema": {
301766
302029
  "type": "object",
301767
302030
  "additionalProperties": true
302031
+ },
302032
+ "attributes": {
302033
+ "type": "object",
302034
+ "additionalProperties": {
302035
+ "type": "string",
302036
+ "maxLength": 200
302037
+ },
302038
+ "description": "Optional attributes"
301768
302039
  }
301769
302040
  },
301770
302041
  "required": [
@@ -301895,6 +302166,29 @@ var state2 = {
301895
302166
  ],
301896
302167
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
301897
302168
  "additionalProperties": false
302169
+ },
302170
+ "title": {
302171
+ "type": "string",
302172
+ "minLength": 1,
302173
+ "maxLength": 64,
302174
+ "description": "Title of the interface. This is the name that will be displayed in the UI"
302175
+ },
302176
+ "description": {
302177
+ "type": "string",
302178
+ "maxLength": 256,
302179
+ "description": "Description of the interface. This is the description that will be displayed in the UI"
302180
+ },
302181
+ "iconUrl": {
302182
+ "type": "string",
302183
+ "description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
302184
+ },
302185
+ "readmeUrl": {
302186
+ "type": "string",
302187
+ "description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
302188
+ },
302189
+ "public": {
302190
+ "type": "boolean",
302191
+ "description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
301898
302192
  }
301899
302193
  },
301900
302194
  "required": [
@@ -301906,7 +302200,12 @@ var state2 = {
301906
302200
  "entities",
301907
302201
  "events",
301908
302202
  "actions",
301909
- "channels"
302203
+ "channels",
302204
+ "title",
302205
+ "description",
302206
+ "iconUrl",
302207
+ "readmeUrl",
302208
+ "public"
301910
302209
  ],
301911
302210
  "additionalProperties": false
301912
302211
  }
@@ -302018,6 +302317,14 @@ var state2 = {
302018
302317
  "schema": {
302019
302318
  "type": "object",
302020
302319
  "additionalProperties": true
302320
+ },
302321
+ "attributes": {
302322
+ "type": "object",
302323
+ "additionalProperties": {
302324
+ "type": "string",
302325
+ "maxLength": 200
302326
+ },
302327
+ "description": "Optional attributes"
302021
302328
  }
302022
302329
  },
302023
302330
  "required": [
@@ -305596,7 +305903,7 @@ var state3 = {
305596
305903
  "title": "Botpress API",
305597
305904
  "description": "API for Botpress Cloud",
305598
305905
  "server": "https://api.botpress.cloud",
305599
- "version": "1.8.0",
305906
+ "version": "1.10.0",
305600
305907
  "prefix": "v1"
305601
305908
  },
305602
305909
  "errors": [
@@ -306086,6 +306393,14 @@ var state3 = {
306086
306393
  "schema": {
306087
306394
  "type": "object",
306088
306395
  "additionalProperties": true
306396
+ },
306397
+ "attributes": {
306398
+ "type": "object",
306399
+ "additionalProperties": {
306400
+ "type": "string",
306401
+ "maxLength": 200
306402
+ },
306403
+ "description": "Optional attributes"
306089
306404
  }
306090
306405
  },
306091
306406
  "required": [
@@ -306738,6 +307053,14 @@ var state3 = {
306738
307053
  "schema": {
306739
307054
  "type": "object",
306740
307055
  "additionalProperties": true
307056
+ },
307057
+ "attributes": {
307058
+ "type": "object",
307059
+ "additionalProperties": {
307060
+ "type": "string",
307061
+ "maxLength": 200
307062
+ },
307063
+ "description": "Optional attributes"
306741
307064
  }
306742
307065
  },
306743
307066
  "required": [
@@ -307041,6 +307364,14 @@ var state3 = {
307041
307364
  "schema": {
307042
307365
  "type": "object",
307043
307366
  "additionalProperties": true
307367
+ },
307368
+ "attributes": {
307369
+ "type": "object",
307370
+ "additionalProperties": {
307371
+ "type": "string",
307372
+ "maxLength": 200
307373
+ },
307374
+ "description": "Optional attributes"
307044
307375
  }
307045
307376
  },
307046
307377
  "required": [
@@ -307171,6 +307502,29 @@ var state3 = {
307171
307502
  ],
307172
307503
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
307173
307504
  "additionalProperties": false
307505
+ },
307506
+ "title": {
307507
+ "type": "string",
307508
+ "minLength": 1,
307509
+ "maxLength": 64,
307510
+ "description": "Title of the interface. This is the name that will be displayed in the UI"
307511
+ },
307512
+ "description": {
307513
+ "type": "string",
307514
+ "maxLength": 256,
307515
+ "description": "Description of the interface. This is the description that will be displayed in the UI"
307516
+ },
307517
+ "iconUrl": {
307518
+ "type": "string",
307519
+ "description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
307520
+ },
307521
+ "readmeUrl": {
307522
+ "type": "string",
307523
+ "description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
307524
+ },
307525
+ "public": {
307526
+ "type": "boolean",
307527
+ "description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
307174
307528
  }
307175
307529
  },
307176
307530
  "required": [
@@ -307182,7 +307536,12 @@ var state3 = {
307182
307536
  "entities",
307183
307537
  "events",
307184
307538
  "actions",
307185
- "channels"
307539
+ "channels",
307540
+ "title",
307541
+ "description",
307542
+ "iconUrl",
307543
+ "readmeUrl",
307544
+ "public"
307186
307545
  ],
307187
307546
  "additionalProperties": false
307188
307547
  }
@@ -307294,6 +307653,14 @@ var state3 = {
307294
307653
  "schema": {
307295
307654
  "type": "object",
307296
307655
  "additionalProperties": true
307656
+ },
307657
+ "attributes": {
307658
+ "type": "object",
307659
+ "additionalProperties": {
307660
+ "type": "string",
307661
+ "maxLength": 200
307662
+ },
307663
+ "description": "Optional attributes"
307297
307664
  }
307298
307665
  },
307299
307666
  "required": [
@@ -310423,7 +310790,7 @@ var state4 = {
310423
310790
  "title": "Botpress API",
310424
310791
  "description": "API for Botpress Cloud",
310425
310792
  "server": "https://api.botpress.cloud",
310426
- "version": "1.8.0",
310793
+ "version": "1.10.0",
310427
310794
  "prefix": "v1"
310428
310795
  },
310429
310796
  "errors": [
@@ -310922,6 +311289,14 @@ var state4 = {
310922
311289
  "schema": {
310923
311290
  "type": "object",
310924
311291
  "additionalProperties": true
311292
+ },
311293
+ "attributes": {
311294
+ "type": "object",
311295
+ "additionalProperties": {
311296
+ "type": "string",
311297
+ "maxLength": 200
311298
+ },
311299
+ "description": "Optional attributes"
310925
311300
  }
310926
311301
  },
310927
311302
  "required": [
@@ -311574,6 +311949,14 @@ var state4 = {
311574
311949
  "schema": {
311575
311950
  "type": "object",
311576
311951
  "additionalProperties": true
311952
+ },
311953
+ "attributes": {
311954
+ "type": "object",
311955
+ "additionalProperties": {
311956
+ "type": "string",
311957
+ "maxLength": 200
311958
+ },
311959
+ "description": "Optional attributes"
311577
311960
  }
311578
311961
  },
311579
311962
  "required": [
@@ -311877,6 +312260,14 @@ var state4 = {
311877
312260
  "schema": {
311878
312261
  "type": "object",
311879
312262
  "additionalProperties": true
312263
+ },
312264
+ "attributes": {
312265
+ "type": "object",
312266
+ "additionalProperties": {
312267
+ "type": "string",
312268
+ "maxLength": 200
312269
+ },
312270
+ "description": "Optional attributes"
311880
312271
  }
311881
312272
  },
311882
312273
  "required": [
@@ -312007,6 +312398,29 @@ var state4 = {
312007
312398
  ],
312008
312399
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
312009
312400
  "additionalProperties": false
312401
+ },
312402
+ "title": {
312403
+ "type": "string",
312404
+ "minLength": 1,
312405
+ "maxLength": 64,
312406
+ "description": "Title of the interface. This is the name that will be displayed in the UI"
312407
+ },
312408
+ "description": {
312409
+ "type": "string",
312410
+ "maxLength": 256,
312411
+ "description": "Description of the interface. This is the description that will be displayed in the UI"
312412
+ },
312413
+ "iconUrl": {
312414
+ "type": "string",
312415
+ "description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
312416
+ },
312417
+ "readmeUrl": {
312418
+ "type": "string",
312419
+ "description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
312420
+ },
312421
+ "public": {
312422
+ "type": "boolean",
312423
+ "description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
312010
312424
  }
312011
312425
  },
312012
312426
  "required": [
@@ -312018,7 +312432,12 @@ var state4 = {
312018
312432
  "entities",
312019
312433
  "events",
312020
312434
  "actions",
312021
- "channels"
312435
+ "channels",
312436
+ "title",
312437
+ "description",
312438
+ "iconUrl",
312439
+ "readmeUrl",
312440
+ "public"
312022
312441
  ],
312023
312442
  "additionalProperties": false
312024
312443
  }
@@ -312130,6 +312549,14 @@ var state4 = {
312130
312549
  "schema": {
312131
312550
  "type": "object",
312132
312551
  "additionalProperties": true
312552
+ },
312553
+ "attributes": {
312554
+ "type": "object",
312555
+ "additionalProperties": {
312556
+ "type": "string",
312557
+ "maxLength": 200
312558
+ },
312559
+ "description": "Optional attributes"
312133
312560
  }
312134
312561
  },
312135
312562
  "required": [
@@ -317733,6 +318160,14 @@ var state5 = {
317733
318160
  "schema": {
317734
318161
  "type": "object",
317735
318162
  "additionalProperties": true
318163
+ },
318164
+ "attributes": {
318165
+ "type": "object",
318166
+ "additionalProperties": {
318167
+ "type": "string",
318168
+ "maxLength": 200
318169
+ },
318170
+ "description": "Optional attributes"
317736
318171
  }
317737
318172
  },
317738
318173
  "required": [
@@ -318458,6 +318893,14 @@ var state5 = {
318458
318893
  "schema": {
318459
318894
  "type": "object",
318460
318895
  "additionalProperties": true
318896
+ },
318897
+ "attributes": {
318898
+ "type": "object",
318899
+ "additionalProperties": {
318900
+ "type": "string",
318901
+ "maxLength": 200
318902
+ },
318903
+ "description": "Optional attributes"
318461
318904
  }
318462
318905
  },
318463
318906
  "required": [
@@ -318978,6 +319421,14 @@ var state5 = {
318978
319421
  "schema": {
318979
319422
  "type": "object",
318980
319423
  "additionalProperties": true
319424
+ },
319425
+ "attributes": {
319426
+ "type": "object",
319427
+ "additionalProperties": {
319428
+ "type": "string",
319429
+ "maxLength": 200
319430
+ },
319431
+ "description": "Optional attributes"
318981
319432
  }
318982
319433
  },
318983
319434
  "required": [
@@ -319360,6 +319811,14 @@ var state5 = {
319360
319811
  "schema": {
319361
319812
  "type": "object",
319362
319813
  "additionalProperties": true
319814
+ },
319815
+ "attributes": {
319816
+ "type": "object",
319817
+ "additionalProperties": {
319818
+ "type": "string",
319819
+ "maxLength": 200
319820
+ },
319821
+ "description": "Optional attributes"
319363
319822
  }
319364
319823
  },
319365
319824
  "required": [
@@ -319716,6 +320175,14 @@ var state5 = {
319716
320175
  "schema": {
319717
320176
  "type": "object",
319718
320177
  "additionalProperties": true
320178
+ },
320179
+ "attributes": {
320180
+ "type": "object",
320181
+ "additionalProperties": {
320182
+ "type": "string",
320183
+ "maxLength": 200
320184
+ },
320185
+ "description": "Optional attributes"
319719
320186
  }
319720
320187
  },
319721
320188
  "required": [
@@ -320165,12 +320632,20 @@ var state5 = {
320165
320632
  "schema": {
320166
320633
  "type": "object",
320167
320634
  "additionalProperties": true
320635
+ },
320636
+ "attributes": {
320637
+ "type": "object",
320638
+ "additionalProperties": {
320639
+ "type": "string",
320640
+ "maxLength": 200,
320641
+ "nullable": true
320642
+ },
320643
+ "description": "Optional attributes. Set attributes to null to remove them"
320168
320644
  }
320169
320645
  },
320170
320646
  "required": [
320171
320647
  "schema"
320172
320648
  ],
320173
- "description": "Event Definition",
320174
320649
  "nullable": true,
320175
320650
  "additionalProperties": false
320176
320651
  }
@@ -320226,16 +320701,16 @@ var state5 = {
320226
320701
  "type": "object",
320227
320702
  "additionalProperties": {
320228
320703
  "type": "string",
320229
- "maxLength": 200
320704
+ "maxLength": 200,
320705
+ "nullable": true
320230
320706
  },
320231
- "description": "Optional attributes"
320707
+ "description": "Optional attributes. Set attributes to null to remove them"
320232
320708
  }
320233
320709
  },
320234
320710
  "required": [
320235
320711
  "input",
320236
320712
  "output"
320237
320713
  ],
320238
- "description": "Action definition",
320239
320714
  "nullable": true,
320240
320715
  "additionalProperties": false
320241
320716
  }
@@ -323863,6 +324338,14 @@ var state5 = {
323863
324338
  "schema": {
323864
324339
  "type": "object",
323865
324340
  "additionalProperties": true
324341
+ },
324342
+ "attributes": {
324343
+ "type": "object",
324344
+ "additionalProperties": {
324345
+ "type": "string",
324346
+ "maxLength": 200
324347
+ },
324348
+ "description": "Optional attributes"
323866
324349
  }
323867
324350
  },
323868
324351
  "required": [
@@ -324437,6 +324920,14 @@ var state5 = {
324437
324920
  "schema": {
324438
324921
  "type": "object",
324439
324922
  "additionalProperties": true
324923
+ },
324924
+ "attributes": {
324925
+ "type": "object",
324926
+ "additionalProperties": {
324927
+ "type": "string",
324928
+ "maxLength": 200
324929
+ },
324930
+ "description": "Optional attributes"
324440
324931
  }
324441
324932
  },
324442
324933
  "required": [
@@ -325170,12 +325661,20 @@ var state5 = {
325170
325661
  "schema": {
325171
325662
  "type": "object",
325172
325663
  "additionalProperties": true
325664
+ },
325665
+ "attributes": {
325666
+ "type": "object",
325667
+ "additionalProperties": {
325668
+ "type": "string",
325669
+ "maxLength": 200,
325670
+ "nullable": true
325671
+ },
325672
+ "description": "Optional attributes. Set attributes to null to remove them"
325173
325673
  }
325174
325674
  },
325175
325675
  "required": [
325176
325676
  "schema"
325177
325677
  ],
325178
- "description": "Event Definition",
325179
325678
  "nullable": true,
325180
325679
  "additionalProperties": false
325181
325680
  }
@@ -325761,12 +326260,20 @@ var state5 = {
325761
326260
  "schema": {
325762
326261
  "type": "object",
325763
326262
  "additionalProperties": true
326263
+ },
326264
+ "attributes": {
326265
+ "type": "object",
326266
+ "additionalProperties": {
326267
+ "type": "string",
326268
+ "maxLength": 200,
326269
+ "nullable": true
326270
+ },
326271
+ "description": "Optional attributes. Set attributes to null to remove them"
325764
326272
  }
325765
326273
  },
325766
326274
  "required": [
325767
326275
  "schema"
325768
326276
  ],
325769
- "description": "Event Definition",
325770
326277
  "nullable": true,
325771
326278
  "additionalProperties": false
325772
326279
  }
@@ -326568,6 +327075,14 @@ var state5 = {
326568
327075
  "schema": {
326569
327076
  "type": "object",
326570
327077
  "additionalProperties": true
327078
+ },
327079
+ "attributes": {
327080
+ "type": "object",
327081
+ "additionalProperties": {
327082
+ "type": "string",
327083
+ "maxLength": 200
327084
+ },
327085
+ "description": "Optional attributes"
326571
327086
  }
326572
327087
  },
326573
327088
  "required": [
@@ -326698,6 +327213,29 @@ var state5 = {
326698
327213
  ],
326699
327214
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
326700
327215
  "additionalProperties": false
327216
+ },
327217
+ "icon": {
327218
+ "type": "string",
327219
+ "description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
327220
+ },
327221
+ "readme": {
327222
+ "type": "string",
327223
+ "description": "Base64 encoded markdown of the interface readme. The readme is specific to each interface versions."
327224
+ },
327225
+ "title": {
327226
+ "type": "string",
327227
+ "minLength": 1,
327228
+ "maxLength": 64,
327229
+ "description": "Title of the interface. This is the name that will be displayed in the UI"
327230
+ },
327231
+ "description": {
327232
+ "type": "string",
327233
+ "maxLength": 256,
327234
+ "description": "Description of the interface. This is the description that will be displayed in the UI"
327235
+ },
327236
+ "public": {
327237
+ "type": "boolean",
327238
+ "description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
326701
327239
  }
326702
327240
  },
326703
327241
  "required": [
@@ -326854,12 +327392,20 @@ var state5 = {
326854
327392
  "schema": {
326855
327393
  "type": "object",
326856
327394
  "additionalProperties": true
327395
+ },
327396
+ "attributes": {
327397
+ "type": "object",
327398
+ "additionalProperties": {
327399
+ "type": "string",
327400
+ "maxLength": 200,
327401
+ "nullable": true
327402
+ },
327403
+ "description": "Optional attributes. Set attributes to null to remove them"
326857
327404
  }
326858
327405
  },
326859
327406
  "required": [
326860
327407
  "schema"
326861
327408
  ],
326862
- "description": "Event Definition",
326863
327409
  "nullable": true,
326864
327410
  "additionalProperties": false
326865
327411
  }
@@ -326917,7 +327463,8 @@ var state5 = {
326917
327463
  "type": "string",
326918
327464
  "maxLength": 200,
326919
327465
  "nullable": true
326920
- }
327466
+ },
327467
+ "description": "Optional attributes. Set attributes to null to remove them"
326921
327468
  }
326922
327469
  },
326923
327470
  "required": [
@@ -326985,6 +327532,29 @@ var state5 = {
326985
327532
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
326986
327533
  "nullable": true,
326987
327534
  "additionalProperties": false
327535
+ },
327536
+ "icon": {
327537
+ "type": "string",
327538
+ "description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
327539
+ },
327540
+ "readme": {
327541
+ "type": "string",
327542
+ "description": "Base64 encoded markdown of the interface readme. The readme is specific to each interface versions."
327543
+ },
327544
+ "title": {
327545
+ "type": "string",
327546
+ "minLength": 1,
327547
+ "maxLength": 64,
327548
+ "description": "Title of the interface. This is the name that will be displayed in the UI"
327549
+ },
327550
+ "description": {
327551
+ "type": "string",
327552
+ "maxLength": 256,
327553
+ "description": "Description of the interface. This is the description that will be displayed in the UI"
327554
+ },
327555
+ "public": {
327556
+ "type": "boolean",
327557
+ "description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
326988
327558
  }
326989
327559
  },
326990
327560
  "title": "updateInterfaceBody",
@@ -327084,6 +327654,29 @@ var state5 = {
327084
327654
  "type": "string",
327085
327655
  "maxLength": 200,
327086
327656
  "description": "Version of the [Interface](#schema_interface)"
327657
+ },
327658
+ "title": {
327659
+ "type": "string",
327660
+ "minLength": 1,
327661
+ "maxLength": 64,
327662
+ "description": "Title of the interface. This is the name that will be displayed in the UI"
327663
+ },
327664
+ "description": {
327665
+ "type": "string",
327666
+ "maxLength": 256,
327667
+ "description": "Description of the interface. This is the description that will be displayed in the UI"
327668
+ },
327669
+ "iconUrl": {
327670
+ "type": "string",
327671
+ "description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
327672
+ },
327673
+ "readmeUrl": {
327674
+ "type": "string",
327675
+ "description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
327676
+ },
327677
+ "public": {
327678
+ "type": "boolean",
327679
+ "description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
327087
327680
  }
327088
327681
  },
327089
327682
  "required": [
@@ -327091,7 +327684,12 @@ var state5 = {
327091
327684
  "createdAt",
327092
327685
  "updatedAt",
327093
327686
  "name",
327094
- "version"
327687
+ "version",
327688
+ "title",
327689
+ "description",
327690
+ "iconUrl",
327691
+ "readmeUrl",
327692
+ "public"
327095
327693
  ]
327096
327694
  }
327097
327695
  },
@@ -327212,6 +327810,14 @@ var state5 = {
327212
327810
  "schema": {
327213
327811
  "type": "object",
327214
327812
  "additionalProperties": true
327813
+ },
327814
+ "attributes": {
327815
+ "type": "object",
327816
+ "additionalProperties": {
327817
+ "type": "string",
327818
+ "maxLength": 200
327819
+ },
327820
+ "description": "Optional attributes"
327215
327821
  }
327216
327822
  },
327217
327823
  "required": [
@@ -327610,12 +328216,20 @@ var state5 = {
327610
328216
  "schema": {
327611
328217
  "type": "object",
327612
328218
  "additionalProperties": true
328219
+ },
328220
+ "attributes": {
328221
+ "type": "object",
328222
+ "additionalProperties": {
328223
+ "type": "string",
328224
+ "maxLength": 200,
328225
+ "nullable": true
328226
+ },
328227
+ "description": "Optional attributes. Set attributes to null to remove them"
327613
328228
  }
327614
328229
  },
327615
328230
  "required": [
327616
328231
  "schema"
327617
328232
  ],
327618
- "description": "Event Definition",
327619
328233
  "nullable": true,
327620
328234
  "additionalProperties": false
327621
328235
  }
@@ -327671,16 +328285,16 @@ var state5 = {
327671
328285
  "type": "object",
327672
328286
  "additionalProperties": {
327673
328287
  "type": "string",
327674
- "maxLength": 200
328288
+ "maxLength": 200,
328289
+ "nullable": true
327675
328290
  },
327676
- "description": "Optional attributes"
328291
+ "description": "Optional attributes. Set attributes to null to remove them"
327677
328292
  }
327678
328293
  },
327679
328294
  "required": [
327680
328295
  "input",
327681
328296
  "output"
327682
328297
  ],
327683
- "description": "Action definition",
327684
328298
  "nullable": true,
327685
328299
  "additionalProperties": false
327686
328300
  }
@@ -331293,7 +331907,7 @@ var state5 = {
331293
331907
  "title": "Botpress API",
331294
331908
  "description": "API for Botpress Cloud",
331295
331909
  "server": "https://api.botpress.cloud",
331296
- "version": "1.8.0",
331910
+ "version": "1.10.0",
331297
331911
  "prefix": "v1"
331298
331912
  },
331299
331913
  "errors": [
@@ -332002,6 +332616,14 @@ var state5 = {
332002
332616
  "schema": {
332003
332617
  "type": "object",
332004
332618
  "additionalProperties": true
332619
+ },
332620
+ "attributes": {
332621
+ "type": "object",
332622
+ "additionalProperties": {
332623
+ "type": "string",
332624
+ "maxLength": 200
332625
+ },
332626
+ "description": "Optional attributes"
332005
332627
  }
332006
332628
  },
332007
332629
  "required": [
@@ -332654,6 +333276,14 @@ var state5 = {
332654
333276
  "schema": {
332655
333277
  "type": "object",
332656
333278
  "additionalProperties": true
333279
+ },
333280
+ "attributes": {
333281
+ "type": "object",
333282
+ "additionalProperties": {
333283
+ "type": "string",
333284
+ "maxLength": 200
333285
+ },
333286
+ "description": "Optional attributes"
332657
333287
  }
332658
333288
  },
332659
333289
  "required": [
@@ -332957,6 +333587,14 @@ var state5 = {
332957
333587
  "schema": {
332958
333588
  "type": "object",
332959
333589
  "additionalProperties": true
333590
+ },
333591
+ "attributes": {
333592
+ "type": "object",
333593
+ "additionalProperties": {
333594
+ "type": "string",
333595
+ "maxLength": 200
333596
+ },
333597
+ "description": "Optional attributes"
332960
333598
  }
332961
333599
  },
332962
333600
  "required": [
@@ -333087,6 +333725,29 @@ var state5 = {
333087
333725
  ],
333088
333726
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
333089
333727
  "additionalProperties": false
333728
+ },
333729
+ "title": {
333730
+ "type": "string",
333731
+ "minLength": 1,
333732
+ "maxLength": 64,
333733
+ "description": "Title of the interface. This is the name that will be displayed in the UI"
333734
+ },
333735
+ "description": {
333736
+ "type": "string",
333737
+ "maxLength": 256,
333738
+ "description": "Description of the interface. This is the description that will be displayed in the UI"
333739
+ },
333740
+ "iconUrl": {
333741
+ "type": "string",
333742
+ "description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
333743
+ },
333744
+ "readmeUrl": {
333745
+ "type": "string",
333746
+ "description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
333747
+ },
333748
+ "public": {
333749
+ "type": "boolean",
333750
+ "description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
333090
333751
  }
333091
333752
  },
333092
333753
  "required": [
@@ -333098,7 +333759,12 @@ var state5 = {
333098
333759
  "entities",
333099
333760
  "events",
333100
333761
  "actions",
333101
- "channels"
333762
+ "channels",
333763
+ "title",
333764
+ "description",
333765
+ "iconUrl",
333766
+ "readmeUrl",
333767
+ "public"
333102
333768
  ],
333103
333769
  "additionalProperties": false
333104
333770
  }
@@ -333210,6 +333876,14 @@ var state5 = {
333210
333876
  "schema": {
333211
333877
  "type": "object",
333212
333878
  "additionalProperties": true
333879
+ },
333880
+ "attributes": {
333881
+ "type": "object",
333882
+ "additionalProperties": {
333883
+ "type": "string",
333884
+ "maxLength": 200
333885
+ },
333886
+ "description": "Optional attributes"
333213
333887
  }
333214
333888
  },
333215
333889
  "required": [