@botpress/api 1.15.0 → 1.17.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
@@ -284126,7 +284126,7 @@ var state = {
284126
284126
  "title": "Botpress API",
284127
284127
  "description": "API for Botpress Cloud",
284128
284128
  "server": "https://api.botpress.cloud",
284129
- "version": "1.15.0",
284129
+ "version": "1.17.0",
284130
284130
  "prefix": "v1"
284131
284131
  },
284132
284132
  "errors": [
@@ -284511,6 +284511,86 @@ var state = {
284511
284511
  },
284512
284512
  "description": "A mapping of integrations to their configuration"
284513
284513
  },
284514
+ "plugins": {
284515
+ "type": "object",
284516
+ "additionalProperties": {
284517
+ "type": "object",
284518
+ "properties": {
284519
+ "enabled": {
284520
+ "type": "boolean"
284521
+ },
284522
+ "name": {
284523
+ "type": "string",
284524
+ "maxLength": 200,
284525
+ "description": "Name of the [Plugin](#schema_plugin)"
284526
+ },
284527
+ "version": {
284528
+ "type": "string",
284529
+ "maxLength": 200,
284530
+ "description": "Version of the [Plugin](#schema_plugin)"
284531
+ },
284532
+ "configuration": {
284533
+ "type": "object",
284534
+ "additionalProperties": true
284535
+ },
284536
+ "id": {
284537
+ "type": "string",
284538
+ "minLength": 28,
284539
+ "maxLength": 36,
284540
+ "description": "ID of the [Plugin](#schema_plugin)"
284541
+ },
284542
+ "createdAt": {
284543
+ "type": "string",
284544
+ "format": "date-time",
284545
+ "description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
284546
+ },
284547
+ "updatedAt": {
284548
+ "type": "string",
284549
+ "format": "date-time",
284550
+ "description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
284551
+ },
284552
+ "title": {
284553
+ "type": "string",
284554
+ "minLength": 1,
284555
+ "maxLength": 64,
284556
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
284557
+ },
284558
+ "description": {
284559
+ "type": "string",
284560
+ "maxLength": 256,
284561
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
284562
+ },
284563
+ "iconUrl": {
284564
+ "type": "string",
284565
+ "description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
284566
+ },
284567
+ "readmeUrl": {
284568
+ "type": "string",
284569
+ "description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
284570
+ },
284571
+ "public": {
284572
+ "type": "boolean",
284573
+ "description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
284574
+ }
284575
+ },
284576
+ "required": [
284577
+ "enabled",
284578
+ "name",
284579
+ "version",
284580
+ "configuration",
284581
+ "id",
284582
+ "createdAt",
284583
+ "updatedAt",
284584
+ "title",
284585
+ "description",
284586
+ "iconUrl",
284587
+ "readmeUrl",
284588
+ "public"
284589
+ ],
284590
+ "additionalProperties": false
284591
+ },
284592
+ "description": "A mapping of plugin aliases to their configuration"
284593
+ },
284514
284594
  "user": {
284515
284595
  "type": "object",
284516
284596
  "properties": {
@@ -284888,6 +284968,7 @@ var state = {
284888
284968
  "updatedAt",
284889
284969
  "signingSecret",
284890
284970
  "integrations",
284971
+ "plugins",
284891
284972
  "user",
284892
284973
  "conversation",
284893
284974
  "message",
@@ -285495,6 +285576,14 @@ var state = {
285495
285576
  "additionalProperties": false
285496
285577
  }
285497
285578
  },
285579
+ "attributes": {
285580
+ "type": "object",
285581
+ "additionalProperties": {
285582
+ "type": "string",
285583
+ "maxLength": 200
285584
+ },
285585
+ "description": "Optional attributes"
285586
+ },
285498
285587
  "dev": {
285499
285588
  "type": "boolean",
285500
285589
  "description": "Indicates if the integration is a development integration; Dev integrations run locally"
@@ -285784,6 +285873,14 @@ var state = {
285784
285873
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
285785
285874
  "additionalProperties": false
285786
285875
  },
285876
+ "attributes": {
285877
+ "type": "object",
285878
+ "additionalProperties": {
285879
+ "type": "string",
285880
+ "maxLength": 200
285881
+ },
285882
+ "description": "Optional attributes"
285883
+ },
285787
285884
  "title": {
285788
285885
  "type": "string",
285789
285886
  "minLength": 1,
@@ -286139,6 +286236,14 @@ var state = {
286139
286236
  "description": "Conversation object configuration",
286140
286237
  "additionalProperties": false
286141
286238
  },
286239
+ "attributes": {
286240
+ "type": "object",
286241
+ "additionalProperties": {
286242
+ "type": "string",
286243
+ "maxLength": 200
286244
+ },
286245
+ "description": "Optional attributes"
286246
+ },
286142
286247
  "title": {
286143
286248
  "type": "string",
286144
286249
  "minLength": 1,
@@ -289144,6 +289249,14 @@ var state2 = {
289144
289249
  "additionalProperties": false
289145
289250
  }
289146
289251
  },
289252
+ "attributes": {
289253
+ "type": "object",
289254
+ "additionalProperties": {
289255
+ "type": "string",
289256
+ "maxLength": 200
289257
+ },
289258
+ "description": "Optional attributes"
289259
+ },
289147
289260
  "dev": {
289148
289261
  "type": "boolean",
289149
289262
  "description": "Indicates if the integration is a development integration; Dev integrations run locally"
@@ -289877,6 +289990,14 @@ var state2 = {
289877
289990
  "additionalProperties": false
289878
289991
  }
289879
289992
  },
289993
+ "attributes": {
289994
+ "type": "object",
289995
+ "additionalProperties": {
289996
+ "type": "string",
289997
+ "maxLength": 200
289998
+ },
289999
+ "description": "Optional attributes"
290000
+ },
289880
290001
  "dev": {
289881
290002
  "type": "boolean",
289882
290003
  "description": "Indicates if the integration is a development integration; Dev integrations run locally"
@@ -290449,6 +290570,14 @@ var state2 = {
290449
290570
  "description": "Conversation object configuration",
290450
290571
  "additionalProperties": false
290451
290572
  },
290573
+ "attributes": {
290574
+ "type": "object",
290575
+ "additionalProperties": {
290576
+ "type": "string",
290577
+ "maxLength": 200
290578
+ },
290579
+ "description": "Optional attributes"
290580
+ },
290452
290581
  "title": {
290453
290582
  "type": "string",
290454
290583
  "minLength": 1,
@@ -290839,6 +290968,14 @@ var state2 = {
290839
290968
  "description": "Conversation object configuration",
290840
290969
  "additionalProperties": false
290841
290970
  },
290971
+ "attributes": {
290972
+ "type": "object",
290973
+ "additionalProperties": {
290974
+ "type": "string",
290975
+ "maxLength": 200
290976
+ },
290977
+ "description": "Optional attributes"
290978
+ },
290842
290979
  "title": {
290843
290980
  "type": "string",
290844
290981
  "minLength": 1,
@@ -291289,6 +291426,14 @@ var state2 = {
291289
291426
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
291290
291427
  "additionalProperties": false
291291
291428
  },
291429
+ "attributes": {
291430
+ "type": "object",
291431
+ "additionalProperties": {
291432
+ "type": "string",
291433
+ "maxLength": 200
291434
+ },
291435
+ "description": "Optional attributes"
291436
+ },
291292
291437
  "title": {
291293
291438
  "type": "string",
291294
291439
  "minLength": 1,
@@ -291579,6 +291724,14 @@ var state2 = {
291579
291724
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
291580
291725
  "additionalProperties": false
291581
291726
  },
291727
+ "attributes": {
291728
+ "type": "object",
291729
+ "additionalProperties": {
291730
+ "type": "string",
291731
+ "maxLength": 200
291732
+ },
291733
+ "description": "Optional attributes"
291734
+ },
291582
291735
  "title": {
291583
291736
  "type": "string",
291584
291737
  "minLength": 1,
@@ -291930,7 +292083,7 @@ var state2 = {
291930
292083
  "type": "string",
291931
292084
  "maxLength": 500
291932
292085
  },
291933
- "description": "Tags of the [Bot](#schema_bot)"
292086
+ "description": "Optional attributes of the [Bot](#schema_bot)"
291934
292087
  },
291935
292088
  "code": {
291936
292089
  "type": "string",
@@ -292042,7 +292195,7 @@ var state2 = {
292042
292195
  "type": "string",
292043
292196
  "maxLength": 500
292044
292197
  },
292045
- "description": "Tags of the [Bot](#schema_bot)"
292198
+ "description": "Optional attributes of the [Bot](#schema_bot)"
292046
292199
  },
292047
292200
  "blocked": {
292048
292201
  "type": "boolean"
@@ -292333,6 +292486,30 @@ var state2 = {
292333
292486
  "additionalProperties": false
292334
292487
  }
292335
292488
  },
292489
+ "plugins": {
292490
+ "type": "object",
292491
+ "additionalProperties": {
292492
+ "type": "object",
292493
+ "properties": {
292494
+ "id": {
292495
+ "type": "string"
292496
+ },
292497
+ "enabled": {
292498
+ "type": "boolean"
292499
+ },
292500
+ "configuration": {
292501
+ "type": "object",
292502
+ "additionalProperties": true
292503
+ }
292504
+ },
292505
+ "required": [
292506
+ "id"
292507
+ ],
292508
+ "nullable": true,
292509
+ "additionalProperties": false
292510
+ },
292511
+ "description": "A mapping of plugin aliases to their configuration"
292512
+ },
292336
292513
  "subscriptions": {
292337
292514
  "type": "object",
292338
292515
  "properties": {
@@ -295977,6 +296154,14 @@ var state2 = {
295977
296154
  "additionalProperties": false
295978
296155
  }
295979
296156
  },
296157
+ "attributes": {
296158
+ "type": "object",
296159
+ "additionalProperties": {
296160
+ "type": "string",
296161
+ "maxLength": 200
296162
+ },
296163
+ "description": "Optional attributes"
296164
+ },
295980
296165
  "identifier": {
295981
296166
  "type": "object",
295982
296167
  "properties": {
@@ -296559,6 +296744,14 @@ var state2 = {
296559
296744
  "additionalProperties": false
296560
296745
  }
296561
296746
  },
296747
+ "attributes": {
296748
+ "type": "object",
296749
+ "additionalProperties": {
296750
+ "type": "string",
296751
+ "maxLength": 200
296752
+ },
296753
+ "description": "Optional attributes"
296754
+ },
296562
296755
  "identifier": {
296563
296756
  "type": "object",
296564
296757
  "properties": {
@@ -297415,6 +297608,15 @@ var state2 = {
297415
297608
  },
297416
297609
  "additionalProperties": false
297417
297610
  },
297611
+ "attributes": {
297612
+ "type": "object",
297613
+ "additionalProperties": {
297614
+ "type": "string",
297615
+ "maxLength": 200,
297616
+ "nullable": true
297617
+ },
297618
+ "description": "Optional attributes. Set attributes to null to remove them"
297619
+ },
297418
297620
  "secrets": {
297419
297621
  "type": "object",
297420
297622
  "additionalProperties": {
@@ -298014,6 +298216,15 @@ var state2 = {
298014
298216
  },
298015
298217
  "additionalProperties": false
298016
298218
  },
298219
+ "attributes": {
298220
+ "type": "object",
298221
+ "additionalProperties": {
298222
+ "type": "string",
298223
+ "maxLength": 200,
298224
+ "nullable": true
298225
+ },
298226
+ "description": "Optional attributes. Set attributes to null to remove them"
298227
+ },
298017
298228
  "secrets": {
298018
298229
  "type": "object",
298019
298230
  "additionalProperties": {
@@ -298751,6 +298962,14 @@ var state2 = {
298751
298962
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
298752
298963
  "additionalProperties": false
298753
298964
  },
298965
+ "attributes": {
298966
+ "type": "object",
298967
+ "additionalProperties": {
298968
+ "type": "string",
298969
+ "maxLength": 200
298970
+ },
298971
+ "description": "Optional attributes"
298972
+ },
298754
298973
  "icon": {
298755
298974
  "type": "string",
298756
298975
  "description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
@@ -299070,6 +299289,15 @@ var state2 = {
299070
299289
  "nullable": true,
299071
299290
  "additionalProperties": false
299072
299291
  },
299292
+ "attributes": {
299293
+ "type": "object",
299294
+ "additionalProperties": {
299295
+ "type": "string",
299296
+ "maxLength": 200,
299297
+ "nullable": true
299298
+ },
299299
+ "description": "Optional attributes. Set attributes to null to remove them"
299300
+ },
299073
299301
  "icon": {
299074
299302
  "type": "string",
299075
299303
  "description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
@@ -299529,6 +299757,14 @@ var state2 = {
299529
299757
  },
299530
299758
  "additionalProperties": false
299531
299759
  },
299760
+ "attributes": {
299761
+ "type": "object",
299762
+ "additionalProperties": {
299763
+ "type": "string",
299764
+ "maxLength": 200
299765
+ },
299766
+ "description": "Optional attributes"
299767
+ },
299532
299768
  "code": {
299533
299769
  "type": "object",
299534
299770
  "properties": {
@@ -299582,7 +299818,7 @@ var state2 = {
299582
299818
  },
299583
299819
  "section": "plugin",
299584
299820
  "response": {
299585
- "description": "Get an plugin",
299821
+ "description": "Get a plugin",
299586
299822
  "schema": {
299587
299823
  "type": "object",
299588
299824
  "properties": {
@@ -299612,7 +299848,7 @@ var state2 = {
299612
299848
  },
299613
299849
  "section": "plugin",
299614
299850
  "response": {
299615
- "description": "Get an plugin",
299851
+ "description": "Get a plugin",
299616
299852
  "schema": {
299617
299853
  "type": "object",
299618
299854
  "properties": {
@@ -299647,7 +299883,7 @@ var state2 = {
299647
299883
  },
299648
299884
  "section": "plugin",
299649
299885
  "response": {
299650
- "description": "Get an plugin",
299886
+ "description": "Get a plugin",
299651
299887
  "schema": {
299652
299888
  "type": "object",
299653
299889
  "properties": {
@@ -299939,6 +300175,15 @@ var state2 = {
299939
300175
  },
299940
300176
  "additionalProperties": false
299941
300177
  },
300178
+ "attributes": {
300179
+ "type": "object",
300180
+ "additionalProperties": {
300181
+ "type": "string",
300182
+ "maxLength": 200,
300183
+ "nullable": true
300184
+ },
300185
+ "description": "Optional attributes. Set attributes to null to remove them"
300186
+ },
299942
300187
  "code": {
299943
300188
  "type": "object",
299944
300189
  "properties": {
@@ -299983,7 +300228,7 @@ var state2 = {
299983
300228
  },
299984
300229
  "section": "plugin",
299985
300230
  "response": {
299986
- "description": "Update an plugin",
300231
+ "description": "Update a plugin",
299987
300232
  "schema": {
299988
300233
  "type": "object",
299989
300234
  "properties": {
@@ -300013,7 +300258,7 @@ var state2 = {
300013
300258
  },
300014
300259
  "section": "plugin",
300015
300260
  "response": {
300016
- "description": "Delete an plugin",
300261
+ "description": "Delete a plugin",
300017
300262
  "schema": {
300018
300263
  "type": "object",
300019
300264
  "title": "deletePluginResponse",
@@ -300704,7 +300949,7 @@ var state2 = {
300704
300949
  "title": "Botpress API",
300705
300950
  "description": "API for Botpress Cloud",
300706
300951
  "server": "https://api.botpress.cloud",
300707
- "version": "1.15.0",
300952
+ "version": "1.17.0",
300708
300953
  "prefix": "v1"
300709
300954
  },
300710
300955
  "errors": [
@@ -301147,6 +301392,86 @@ var state2 = {
301147
301392
  },
301148
301393
  "description": "A mapping of integrations to their configuration"
301149
301394
  },
301395
+ "plugins": {
301396
+ "type": "object",
301397
+ "additionalProperties": {
301398
+ "type": "object",
301399
+ "properties": {
301400
+ "enabled": {
301401
+ "type": "boolean"
301402
+ },
301403
+ "name": {
301404
+ "type": "string",
301405
+ "maxLength": 200,
301406
+ "description": "Name of the [Plugin](#schema_plugin)"
301407
+ },
301408
+ "version": {
301409
+ "type": "string",
301410
+ "maxLength": 200,
301411
+ "description": "Version of the [Plugin](#schema_plugin)"
301412
+ },
301413
+ "configuration": {
301414
+ "type": "object",
301415
+ "additionalProperties": true
301416
+ },
301417
+ "id": {
301418
+ "type": "string",
301419
+ "minLength": 28,
301420
+ "maxLength": 36,
301421
+ "description": "ID of the [Plugin](#schema_plugin)"
301422
+ },
301423
+ "createdAt": {
301424
+ "type": "string",
301425
+ "format": "date-time",
301426
+ "description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
301427
+ },
301428
+ "updatedAt": {
301429
+ "type": "string",
301430
+ "format": "date-time",
301431
+ "description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
301432
+ },
301433
+ "title": {
301434
+ "type": "string",
301435
+ "minLength": 1,
301436
+ "maxLength": 64,
301437
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
301438
+ },
301439
+ "description": {
301440
+ "type": "string",
301441
+ "maxLength": 256,
301442
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
301443
+ },
301444
+ "iconUrl": {
301445
+ "type": "string",
301446
+ "description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
301447
+ },
301448
+ "readmeUrl": {
301449
+ "type": "string",
301450
+ "description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
301451
+ },
301452
+ "public": {
301453
+ "type": "boolean",
301454
+ "description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
301455
+ }
301456
+ },
301457
+ "required": [
301458
+ "enabled",
301459
+ "name",
301460
+ "version",
301461
+ "configuration",
301462
+ "id",
301463
+ "createdAt",
301464
+ "updatedAt",
301465
+ "title",
301466
+ "description",
301467
+ "iconUrl",
301468
+ "readmeUrl",
301469
+ "public"
301470
+ ],
301471
+ "additionalProperties": false
301472
+ },
301473
+ "description": "A mapping of plugin aliases to their configuration"
301474
+ },
301150
301475
  "user": {
301151
301476
  "type": "object",
301152
301477
  "properties": {
@@ -301524,6 +301849,7 @@ var state2 = {
301524
301849
  "updatedAt",
301525
301850
  "signingSecret",
301526
301851
  "integrations",
301852
+ "plugins",
301527
301853
  "user",
301528
301854
  "conversation",
301529
301855
  "message",
@@ -302131,6 +302457,14 @@ var state2 = {
302131
302457
  "additionalProperties": false
302132
302458
  }
302133
302459
  },
302460
+ "attributes": {
302461
+ "type": "object",
302462
+ "additionalProperties": {
302463
+ "type": "string",
302464
+ "maxLength": 200
302465
+ },
302466
+ "description": "Optional attributes"
302467
+ },
302134
302468
  "dev": {
302135
302469
  "type": "boolean",
302136
302470
  "description": "Indicates if the integration is a development integration; Dev integrations run locally"
@@ -302420,6 +302754,14 @@ var state2 = {
302420
302754
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
302421
302755
  "additionalProperties": false
302422
302756
  },
302757
+ "attributes": {
302758
+ "type": "object",
302759
+ "additionalProperties": {
302760
+ "type": "string",
302761
+ "maxLength": 200
302762
+ },
302763
+ "description": "Optional attributes"
302764
+ },
302423
302765
  "title": {
302424
302766
  "type": "string",
302425
302767
  "minLength": 1,
@@ -302775,6 +303117,14 @@ var state2 = {
302775
303117
  "description": "Conversation object configuration",
302776
303118
  "additionalProperties": false
302777
303119
  },
303120
+ "attributes": {
303121
+ "type": "object",
303122
+ "additionalProperties": {
303123
+ "type": "string",
303124
+ "maxLength": 200
303125
+ },
303126
+ "description": "Optional attributes"
303127
+ },
302778
303128
  "title": {
302779
303129
  "type": "string",
302780
303130
  "minLength": 1,
@@ -306229,7 +306579,7 @@ var state3 = {
306229
306579
  "title": "Botpress API",
306230
306580
  "description": "API for Botpress Cloud",
306231
306581
  "server": "https://api.botpress.cloud",
306232
- "version": "1.15.0",
306582
+ "version": "1.17.0",
306233
306583
  "prefix": "v1"
306234
306584
  },
306235
306585
  "errors": [
@@ -306567,6 +306917,86 @@ var state3 = {
306567
306917
  },
306568
306918
  "description": "A mapping of integrations to their configuration"
306569
306919
  },
306920
+ "plugins": {
306921
+ "type": "object",
306922
+ "additionalProperties": {
306923
+ "type": "object",
306924
+ "properties": {
306925
+ "enabled": {
306926
+ "type": "boolean"
306927
+ },
306928
+ "name": {
306929
+ "type": "string",
306930
+ "maxLength": 200,
306931
+ "description": "Name of the [Plugin](#schema_plugin)"
306932
+ },
306933
+ "version": {
306934
+ "type": "string",
306935
+ "maxLength": 200,
306936
+ "description": "Version of the [Plugin](#schema_plugin)"
306937
+ },
306938
+ "configuration": {
306939
+ "type": "object",
306940
+ "additionalProperties": true
306941
+ },
306942
+ "id": {
306943
+ "type": "string",
306944
+ "minLength": 28,
306945
+ "maxLength": 36,
306946
+ "description": "ID of the [Plugin](#schema_plugin)"
306947
+ },
306948
+ "createdAt": {
306949
+ "type": "string",
306950
+ "format": "date-time",
306951
+ "description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
306952
+ },
306953
+ "updatedAt": {
306954
+ "type": "string",
306955
+ "format": "date-time",
306956
+ "description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
306957
+ },
306958
+ "title": {
306959
+ "type": "string",
306960
+ "minLength": 1,
306961
+ "maxLength": 64,
306962
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
306963
+ },
306964
+ "description": {
306965
+ "type": "string",
306966
+ "maxLength": 256,
306967
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
306968
+ },
306969
+ "iconUrl": {
306970
+ "type": "string",
306971
+ "description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
306972
+ },
306973
+ "readmeUrl": {
306974
+ "type": "string",
306975
+ "description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
306976
+ },
306977
+ "public": {
306978
+ "type": "boolean",
306979
+ "description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
306980
+ }
306981
+ },
306982
+ "required": [
306983
+ "enabled",
306984
+ "name",
306985
+ "version",
306986
+ "configuration",
306987
+ "id",
306988
+ "createdAt",
306989
+ "updatedAt",
306990
+ "title",
306991
+ "description",
306992
+ "iconUrl",
306993
+ "readmeUrl",
306994
+ "public"
306995
+ ],
306996
+ "additionalProperties": false
306997
+ },
306998
+ "description": "A mapping of plugin aliases to their configuration"
306999
+ },
306570
307000
  "user": {
306571
307001
  "type": "object",
306572
307002
  "properties": {
@@ -306944,6 +307374,7 @@ var state3 = {
306944
307374
  "updatedAt",
306945
307375
  "signingSecret",
306946
307376
  "integrations",
307377
+ "plugins",
306947
307378
  "user",
306948
307379
  "conversation",
306949
307380
  "message",
@@ -307551,6 +307982,14 @@ var state3 = {
307551
307982
  "additionalProperties": false
307552
307983
  }
307553
307984
  },
307985
+ "attributes": {
307986
+ "type": "object",
307987
+ "additionalProperties": {
307988
+ "type": "string",
307989
+ "maxLength": 200
307990
+ },
307991
+ "description": "Optional attributes"
307992
+ },
307554
307993
  "dev": {
307555
307994
  "type": "boolean",
307556
307995
  "description": "Indicates if the integration is a development integration; Dev integrations run locally"
@@ -307840,6 +308279,14 @@ var state3 = {
307840
308279
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
307841
308280
  "additionalProperties": false
307842
308281
  },
308282
+ "attributes": {
308283
+ "type": "object",
308284
+ "additionalProperties": {
308285
+ "type": "string",
308286
+ "maxLength": 200
308287
+ },
308288
+ "description": "Optional attributes"
308289
+ },
307843
308290
  "title": {
307844
308291
  "type": "string",
307845
308292
  "minLength": 1,
@@ -308195,6 +308642,14 @@ var state3 = {
308195
308642
  "description": "Conversation object configuration",
308196
308643
  "additionalProperties": false
308197
308644
  },
308645
+ "attributes": {
308646
+ "type": "object",
308647
+ "additionalProperties": {
308648
+ "type": "string",
308649
+ "maxLength": 200
308650
+ },
308651
+ "description": "Optional attributes"
308652
+ },
308198
308653
  "title": {
308199
308654
  "type": "string",
308200
308655
  "minLength": 1,
@@ -311128,7 +311583,7 @@ var state4 = {
311128
311583
  "title": "Botpress API",
311129
311584
  "description": "API for Botpress Cloud",
311130
311585
  "server": "https://api.botpress.cloud",
311131
- "version": "1.15.0",
311586
+ "version": "1.17.0",
311132
311587
  "prefix": "v1"
311133
311588
  },
311134
311589
  "errors": [
@@ -311473,6 +311928,86 @@ var state4 = {
311473
311928
  },
311474
311929
  "description": "A mapping of integrations to their configuration"
311475
311930
  },
311931
+ "plugins": {
311932
+ "type": "object",
311933
+ "additionalProperties": {
311934
+ "type": "object",
311935
+ "properties": {
311936
+ "enabled": {
311937
+ "type": "boolean"
311938
+ },
311939
+ "name": {
311940
+ "type": "string",
311941
+ "maxLength": 200,
311942
+ "description": "Name of the [Plugin](#schema_plugin)"
311943
+ },
311944
+ "version": {
311945
+ "type": "string",
311946
+ "maxLength": 200,
311947
+ "description": "Version of the [Plugin](#schema_plugin)"
311948
+ },
311949
+ "configuration": {
311950
+ "type": "object",
311951
+ "additionalProperties": true
311952
+ },
311953
+ "id": {
311954
+ "type": "string",
311955
+ "minLength": 28,
311956
+ "maxLength": 36,
311957
+ "description": "ID of the [Plugin](#schema_plugin)"
311958
+ },
311959
+ "createdAt": {
311960
+ "type": "string",
311961
+ "format": "date-time",
311962
+ "description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
311963
+ },
311964
+ "updatedAt": {
311965
+ "type": "string",
311966
+ "format": "date-time",
311967
+ "description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
311968
+ },
311969
+ "title": {
311970
+ "type": "string",
311971
+ "minLength": 1,
311972
+ "maxLength": 64,
311973
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
311974
+ },
311975
+ "description": {
311976
+ "type": "string",
311977
+ "maxLength": 256,
311978
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
311979
+ },
311980
+ "iconUrl": {
311981
+ "type": "string",
311982
+ "description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
311983
+ },
311984
+ "readmeUrl": {
311985
+ "type": "string",
311986
+ "description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
311987
+ },
311988
+ "public": {
311989
+ "type": "boolean",
311990
+ "description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
311991
+ }
311992
+ },
311993
+ "required": [
311994
+ "enabled",
311995
+ "name",
311996
+ "version",
311997
+ "configuration",
311998
+ "id",
311999
+ "createdAt",
312000
+ "updatedAt",
312001
+ "title",
312002
+ "description",
312003
+ "iconUrl",
312004
+ "readmeUrl",
312005
+ "public"
312006
+ ],
312007
+ "additionalProperties": false
312008
+ },
312009
+ "description": "A mapping of plugin aliases to their configuration"
312010
+ },
311476
312011
  "user": {
311477
312012
  "type": "object",
311478
312013
  "properties": {
@@ -311850,6 +312385,7 @@ var state4 = {
311850
312385
  "updatedAt",
311851
312386
  "signingSecret",
311852
312387
  "integrations",
312388
+ "plugins",
311853
312389
  "user",
311854
312390
  "conversation",
311855
312391
  "message",
@@ -312457,6 +312993,14 @@ var state4 = {
312457
312993
  "additionalProperties": false
312458
312994
  }
312459
312995
  },
312996
+ "attributes": {
312997
+ "type": "object",
312998
+ "additionalProperties": {
312999
+ "type": "string",
313000
+ "maxLength": 200
313001
+ },
313002
+ "description": "Optional attributes"
313003
+ },
312460
313004
  "dev": {
312461
313005
  "type": "boolean",
312462
313006
  "description": "Indicates if the integration is a development integration; Dev integrations run locally"
@@ -312746,6 +313290,14 @@ var state4 = {
312746
313290
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
312747
313291
  "additionalProperties": false
312748
313292
  },
313293
+ "attributes": {
313294
+ "type": "object",
313295
+ "additionalProperties": {
313296
+ "type": "string",
313297
+ "maxLength": 200
313298
+ },
313299
+ "description": "Optional attributes"
313300
+ },
312749
313301
  "title": {
312750
313302
  "type": "string",
312751
313303
  "minLength": 1,
@@ -313101,6 +313653,14 @@ var state4 = {
313101
313653
  "description": "Conversation object configuration",
313102
313654
  "additionalProperties": false
313103
313655
  },
313656
+ "attributes": {
313657
+ "type": "object",
313658
+ "additionalProperties": {
313659
+ "type": "string",
313660
+ "maxLength": 200
313661
+ },
313662
+ "description": "Optional attributes"
313663
+ },
313104
313664
  "title": {
313105
313665
  "type": "string",
313106
313666
  "minLength": 1,
@@ -318664,6 +319224,14 @@ var state5 = {
318664
319224
  "additionalProperties": false
318665
319225
  }
318666
319226
  },
319227
+ "attributes": {
319228
+ "type": "object",
319229
+ "additionalProperties": {
319230
+ "type": "string",
319231
+ "maxLength": 200
319232
+ },
319233
+ "description": "Optional attributes"
319234
+ },
318667
319235
  "dev": {
318668
319236
  "type": "boolean",
318669
319237
  "description": "Indicates if the integration is a development integration; Dev integrations run locally"
@@ -319397,6 +319965,14 @@ var state5 = {
319397
319965
  "additionalProperties": false
319398
319966
  }
319399
319967
  },
319968
+ "attributes": {
319969
+ "type": "object",
319970
+ "additionalProperties": {
319971
+ "type": "string",
319972
+ "maxLength": 200
319973
+ },
319974
+ "description": "Optional attributes"
319975
+ },
319400
319976
  "dev": {
319401
319977
  "type": "boolean",
319402
319978
  "description": "Indicates if the integration is a development integration; Dev integrations run locally"
@@ -319969,6 +320545,14 @@ var state5 = {
319969
320545
  "description": "Conversation object configuration",
319970
320546
  "additionalProperties": false
319971
320547
  },
320548
+ "attributes": {
320549
+ "type": "object",
320550
+ "additionalProperties": {
320551
+ "type": "string",
320552
+ "maxLength": 200
320553
+ },
320554
+ "description": "Optional attributes"
320555
+ },
319972
320556
  "title": {
319973
320557
  "type": "string",
319974
320558
  "minLength": 1,
@@ -320359,6 +320943,14 @@ var state5 = {
320359
320943
  "description": "Conversation object configuration",
320360
320944
  "additionalProperties": false
320361
320945
  },
320946
+ "attributes": {
320947
+ "type": "object",
320948
+ "additionalProperties": {
320949
+ "type": "string",
320950
+ "maxLength": 200
320951
+ },
320952
+ "description": "Optional attributes"
320953
+ },
320362
320954
  "title": {
320363
320955
  "type": "string",
320364
320956
  "minLength": 1,
@@ -320809,6 +321401,14 @@ var state5 = {
320809
321401
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
320810
321402
  "additionalProperties": false
320811
321403
  },
321404
+ "attributes": {
321405
+ "type": "object",
321406
+ "additionalProperties": {
321407
+ "type": "string",
321408
+ "maxLength": 200
321409
+ },
321410
+ "description": "Optional attributes"
321411
+ },
320812
321412
  "title": {
320813
321413
  "type": "string",
320814
321414
  "minLength": 1,
@@ -321099,6 +321699,14 @@ var state5 = {
321099
321699
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
321100
321700
  "additionalProperties": false
321101
321701
  },
321702
+ "attributes": {
321703
+ "type": "object",
321704
+ "additionalProperties": {
321705
+ "type": "string",
321706
+ "maxLength": 200
321707
+ },
321708
+ "description": "Optional attributes"
321709
+ },
321102
321710
  "title": {
321103
321711
  "type": "string",
321104
321712
  "minLength": 1,
@@ -321450,7 +322058,7 @@ var state5 = {
321450
322058
  "type": "string",
321451
322059
  "maxLength": 500
321452
322060
  },
321453
- "description": "Tags of the [Bot](#schema_bot)"
322061
+ "description": "Optional attributes of the [Bot](#schema_bot)"
321454
322062
  },
321455
322063
  "code": {
321456
322064
  "type": "string",
@@ -321562,7 +322170,7 @@ var state5 = {
321562
322170
  "type": "string",
321563
322171
  "maxLength": 500
321564
322172
  },
321565
- "description": "Tags of the [Bot](#schema_bot)"
322173
+ "description": "Optional attributes of the [Bot](#schema_bot)"
321566
322174
  },
321567
322175
  "blocked": {
321568
322176
  "type": "boolean"
@@ -321853,6 +322461,30 @@ var state5 = {
321853
322461
  "additionalProperties": false
321854
322462
  }
321855
322463
  },
322464
+ "plugins": {
322465
+ "type": "object",
322466
+ "additionalProperties": {
322467
+ "type": "object",
322468
+ "properties": {
322469
+ "id": {
322470
+ "type": "string"
322471
+ },
322472
+ "enabled": {
322473
+ "type": "boolean"
322474
+ },
322475
+ "configuration": {
322476
+ "type": "object",
322477
+ "additionalProperties": true
322478
+ }
322479
+ },
322480
+ "required": [
322481
+ "id"
322482
+ ],
322483
+ "nullable": true,
322484
+ "additionalProperties": false
322485
+ },
322486
+ "description": "A mapping of plugin aliases to their configuration"
322487
+ },
321856
322488
  "subscriptions": {
321857
322489
  "type": "object",
321858
322490
  "properties": {
@@ -325498,6 +326130,14 @@ var state5 = {
325498
326130
  "additionalProperties": false
325499
326131
  }
325500
326132
  },
326133
+ "attributes": {
326134
+ "type": "object",
326135
+ "additionalProperties": {
326136
+ "type": "string",
326137
+ "maxLength": 200
326138
+ },
326139
+ "description": "Optional attributes"
326140
+ },
325501
326141
  "identifier": {
325502
326142
  "type": "object",
325503
326143
  "properties": {
@@ -326080,6 +326720,14 @@ var state5 = {
326080
326720
  "additionalProperties": false
326081
326721
  }
326082
326722
  },
326723
+ "attributes": {
326724
+ "type": "object",
326725
+ "additionalProperties": {
326726
+ "type": "string",
326727
+ "maxLength": 200
326728
+ },
326729
+ "description": "Optional attributes"
326730
+ },
326083
326731
  "identifier": {
326084
326732
  "type": "object",
326085
326733
  "properties": {
@@ -326936,6 +327584,15 @@ var state5 = {
326936
327584
  },
326937
327585
  "additionalProperties": false
326938
327586
  },
327587
+ "attributes": {
327588
+ "type": "object",
327589
+ "additionalProperties": {
327590
+ "type": "string",
327591
+ "maxLength": 200,
327592
+ "nullable": true
327593
+ },
327594
+ "description": "Optional attributes. Set attributes to null to remove them"
327595
+ },
326939
327596
  "secrets": {
326940
327597
  "type": "object",
326941
327598
  "additionalProperties": {
@@ -327535,6 +328192,15 @@ var state5 = {
327535
328192
  },
327536
328193
  "additionalProperties": false
327537
328194
  },
328195
+ "attributes": {
328196
+ "type": "object",
328197
+ "additionalProperties": {
328198
+ "type": "string",
328199
+ "maxLength": 200,
328200
+ "nullable": true
328201
+ },
328202
+ "description": "Optional attributes. Set attributes to null to remove them"
328203
+ },
327538
328204
  "secrets": {
327539
328205
  "type": "object",
327540
328206
  "additionalProperties": {
@@ -328272,6 +328938,14 @@ var state5 = {
328272
328938
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
328273
328939
  "additionalProperties": false
328274
328940
  },
328941
+ "attributes": {
328942
+ "type": "object",
328943
+ "additionalProperties": {
328944
+ "type": "string",
328945
+ "maxLength": 200
328946
+ },
328947
+ "description": "Optional attributes"
328948
+ },
328275
328949
  "icon": {
328276
328950
  "type": "string",
328277
328951
  "description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
@@ -328591,6 +329265,15 @@ var state5 = {
328591
329265
  "nullable": true,
328592
329266
  "additionalProperties": false
328593
329267
  },
329268
+ "attributes": {
329269
+ "type": "object",
329270
+ "additionalProperties": {
329271
+ "type": "string",
329272
+ "maxLength": 200,
329273
+ "nullable": true
329274
+ },
329275
+ "description": "Optional attributes. Set attributes to null to remove them"
329276
+ },
328594
329277
  "icon": {
328595
329278
  "type": "string",
328596
329279
  "description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
@@ -329050,6 +329733,14 @@ var state5 = {
329050
329733
  },
329051
329734
  "additionalProperties": false
329052
329735
  },
329736
+ "attributes": {
329737
+ "type": "object",
329738
+ "additionalProperties": {
329739
+ "type": "string",
329740
+ "maxLength": 200
329741
+ },
329742
+ "description": "Optional attributes"
329743
+ },
329053
329744
  "code": {
329054
329745
  "type": "object",
329055
329746
  "properties": {
@@ -329103,7 +329794,7 @@ var state5 = {
329103
329794
  },
329104
329795
  "section": "plugin",
329105
329796
  "response": {
329106
- "description": "Get an plugin",
329797
+ "description": "Get a plugin",
329107
329798
  "schema": {
329108
329799
  "type": "object",
329109
329800
  "properties": {
@@ -329133,7 +329824,7 @@ var state5 = {
329133
329824
  },
329134
329825
  "section": "plugin",
329135
329826
  "response": {
329136
- "description": "Get an plugin",
329827
+ "description": "Get a plugin",
329137
329828
  "schema": {
329138
329829
  "type": "object",
329139
329830
  "properties": {
@@ -329168,7 +329859,7 @@ var state5 = {
329168
329859
  },
329169
329860
  "section": "plugin",
329170
329861
  "response": {
329171
- "description": "Get an plugin",
329862
+ "description": "Get a plugin",
329172
329863
  "schema": {
329173
329864
  "type": "object",
329174
329865
  "properties": {
@@ -329460,6 +330151,15 @@ var state5 = {
329460
330151
  },
329461
330152
  "additionalProperties": false
329462
330153
  },
330154
+ "attributes": {
330155
+ "type": "object",
330156
+ "additionalProperties": {
330157
+ "type": "string",
330158
+ "maxLength": 200,
330159
+ "nullable": true
330160
+ },
330161
+ "description": "Optional attributes. Set attributes to null to remove them"
330162
+ },
329463
330163
  "code": {
329464
330164
  "type": "object",
329465
330165
  "properties": {
@@ -329504,7 +330204,7 @@ var state5 = {
329504
330204
  },
329505
330205
  "section": "plugin",
329506
330206
  "response": {
329507
- "description": "Update an plugin",
330207
+ "description": "Update a plugin",
329508
330208
  "schema": {
329509
330209
  "type": "object",
329510
330210
  "properties": {
@@ -329534,7 +330234,7 @@ var state5 = {
329534
330234
  },
329535
330235
  "section": "plugin",
329536
330236
  "response": {
329537
- "description": "Delete an plugin",
330237
+ "description": "Delete a plugin",
329538
330238
  "schema": {
329539
330239
  "type": "object",
329540
330240
  "title": "deletePluginResponse",
@@ -333070,7 +333770,7 @@ var state5 = {
333070
333770
  "title": "Botpress API",
333071
333771
  "description": "API for Botpress Cloud",
333072
333772
  "server": "https://api.botpress.cloud",
333073
- "version": "1.15.0",
333773
+ "version": "1.17.0",
333074
333774
  "prefix": "v1"
333075
333775
  },
333076
333776
  "errors": [
@@ -333630,6 +334330,86 @@ var state5 = {
333630
334330
  },
333631
334331
  "description": "A mapping of integrations to their configuration"
333632
334332
  },
334333
+ "plugins": {
334334
+ "type": "object",
334335
+ "additionalProperties": {
334336
+ "type": "object",
334337
+ "properties": {
334338
+ "enabled": {
334339
+ "type": "boolean"
334340
+ },
334341
+ "name": {
334342
+ "type": "string",
334343
+ "maxLength": 200,
334344
+ "description": "Name of the [Plugin](#schema_plugin)"
334345
+ },
334346
+ "version": {
334347
+ "type": "string",
334348
+ "maxLength": 200,
334349
+ "description": "Version of the [Plugin](#schema_plugin)"
334350
+ },
334351
+ "configuration": {
334352
+ "type": "object",
334353
+ "additionalProperties": true
334354
+ },
334355
+ "id": {
334356
+ "type": "string",
334357
+ "minLength": 28,
334358
+ "maxLength": 36,
334359
+ "description": "ID of the [Plugin](#schema_plugin)"
334360
+ },
334361
+ "createdAt": {
334362
+ "type": "string",
334363
+ "format": "date-time",
334364
+ "description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
334365
+ },
334366
+ "updatedAt": {
334367
+ "type": "string",
334368
+ "format": "date-time",
334369
+ "description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
334370
+ },
334371
+ "title": {
334372
+ "type": "string",
334373
+ "minLength": 1,
334374
+ "maxLength": 64,
334375
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
334376
+ },
334377
+ "description": {
334378
+ "type": "string",
334379
+ "maxLength": 256,
334380
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
334381
+ },
334382
+ "iconUrl": {
334383
+ "type": "string",
334384
+ "description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
334385
+ },
334386
+ "readmeUrl": {
334387
+ "type": "string",
334388
+ "description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
334389
+ },
334390
+ "public": {
334391
+ "type": "boolean",
334392
+ "description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
334393
+ }
334394
+ },
334395
+ "required": [
334396
+ "enabled",
334397
+ "name",
334398
+ "version",
334399
+ "configuration",
334400
+ "id",
334401
+ "createdAt",
334402
+ "updatedAt",
334403
+ "title",
334404
+ "description",
334405
+ "iconUrl",
334406
+ "readmeUrl",
334407
+ "public"
334408
+ ],
334409
+ "additionalProperties": false
334410
+ },
334411
+ "description": "A mapping of plugin aliases to their configuration"
334412
+ },
333633
334413
  "user": {
333634
334414
  "type": "object",
333635
334415
  "properties": {
@@ -334007,6 +334787,7 @@ var state5 = {
334007
334787
  "updatedAt",
334008
334788
  "signingSecret",
334009
334789
  "integrations",
334790
+ "plugins",
334010
334791
  "user",
334011
334792
  "conversation",
334012
334793
  "message",
@@ -334614,6 +335395,14 @@ var state5 = {
334614
335395
  "additionalProperties": false
334615
335396
  }
334616
335397
  },
335398
+ "attributes": {
335399
+ "type": "object",
335400
+ "additionalProperties": {
335401
+ "type": "string",
335402
+ "maxLength": 200
335403
+ },
335404
+ "description": "Optional attributes"
335405
+ },
334617
335406
  "dev": {
334618
335407
  "type": "boolean",
334619
335408
  "description": "Indicates if the integration is a development integration; Dev integrations run locally"
@@ -334903,6 +335692,14 @@ var state5 = {
334903
335692
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
334904
335693
  "additionalProperties": false
334905
335694
  },
335695
+ "attributes": {
335696
+ "type": "object",
335697
+ "additionalProperties": {
335698
+ "type": "string",
335699
+ "maxLength": 200
335700
+ },
335701
+ "description": "Optional attributes"
335702
+ },
334906
335703
  "title": {
334907
335704
  "type": "string",
334908
335705
  "minLength": 1,
@@ -335258,6 +336055,14 @@ var state5 = {
335258
336055
  "description": "Conversation object configuration",
335259
336056
  "additionalProperties": false
335260
336057
  },
336058
+ "attributes": {
336059
+ "type": "object",
336060
+ "additionalProperties": {
336061
+ "type": "string",
336062
+ "maxLength": 200
336063
+ },
336064
+ "description": "Optional attributes"
336065
+ },
335261
336066
  "title": {
335262
336067
  "type": "string",
335263
336068
  "minLength": 1,