@botpress/api 1.14.0 → 1.16.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 +529 -15
- package/dist/src/gen/admin/state.d.ts +105 -0
- package/dist/src/gen/files/state.d.ts +75 -0
- package/dist/src/gen/runtime/state.d.ts +75 -0
- package/dist/src/gen/state.d.ts +105 -0
- package/dist/src/gen/tables/state.d.ts +75 -0
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +128 -6
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +91 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +91 -1
- package/src/gen/state.ts +128 -6
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +91 -1
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.
|
|
284129
|
+
"version": "1.16.0",
|
|
284130
284130
|
"prefix": "v1"
|
|
284131
284131
|
},
|
|
284132
284132
|
"errors": [
|
|
@@ -284433,6 +284433,14 @@ var state = {
|
|
|
284433
284433
|
"maxLength": 2e3,
|
|
284434
284434
|
"nullable": true
|
|
284435
284435
|
},
|
|
284436
|
+
"disabledChannels": {
|
|
284437
|
+
"type": "array",
|
|
284438
|
+
"items": {
|
|
284439
|
+
"type": "string",
|
|
284440
|
+
"description": "Channel name"
|
|
284441
|
+
},
|
|
284442
|
+
"description": "Disabled channels for this integration"
|
|
284443
|
+
},
|
|
284436
284444
|
"id": {
|
|
284437
284445
|
"type": "string",
|
|
284438
284446
|
"minLength": 28,
|
|
@@ -284489,6 +284497,7 @@ var state = {
|
|
|
284489
284497
|
"configuration",
|
|
284490
284498
|
"status",
|
|
284491
284499
|
"statusReason",
|
|
284500
|
+
"disabledChannels",
|
|
284492
284501
|
"id",
|
|
284493
284502
|
"createdAt",
|
|
284494
284503
|
"updatedAt",
|
|
@@ -284502,6 +284511,86 @@ var state = {
|
|
|
284502
284511
|
},
|
|
284503
284512
|
"description": "A mapping of integrations to their configuration"
|
|
284504
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
|
+
},
|
|
284505
284594
|
"user": {
|
|
284506
284595
|
"type": "object",
|
|
284507
284596
|
"properties": {
|
|
@@ -284879,6 +284968,7 @@ var state = {
|
|
|
284879
284968
|
"updatedAt",
|
|
284880
284969
|
"signingSecret",
|
|
284881
284970
|
"integrations",
|
|
284971
|
+
"plugins",
|
|
284882
284972
|
"user",
|
|
284883
284973
|
"conversation",
|
|
284884
284974
|
"message",
|
|
@@ -292310,12 +292400,44 @@ var state2 = {
|
|
|
292310
292400
|
"configuration": {
|
|
292311
292401
|
"type": "object",
|
|
292312
292402
|
"additionalProperties": true
|
|
292403
|
+
},
|
|
292404
|
+
"disabledChannels": {
|
|
292405
|
+
"type": "array",
|
|
292406
|
+
"items": {
|
|
292407
|
+
"type": "string",
|
|
292408
|
+
"description": "Channel name"
|
|
292409
|
+
},
|
|
292410
|
+
"description": "Disabled channels for this integration"
|
|
292313
292411
|
}
|
|
292314
292412
|
},
|
|
292315
292413
|
"nullable": true,
|
|
292316
292414
|
"additionalProperties": false
|
|
292317
292415
|
}
|
|
292318
292416
|
},
|
|
292417
|
+
"plugins": {
|
|
292418
|
+
"type": "object",
|
|
292419
|
+
"additionalProperties": {
|
|
292420
|
+
"type": "object",
|
|
292421
|
+
"properties": {
|
|
292422
|
+
"id": {
|
|
292423
|
+
"type": "string"
|
|
292424
|
+
},
|
|
292425
|
+
"enabled": {
|
|
292426
|
+
"type": "boolean"
|
|
292427
|
+
},
|
|
292428
|
+
"configuration": {
|
|
292429
|
+
"type": "object",
|
|
292430
|
+
"additionalProperties": true
|
|
292431
|
+
}
|
|
292432
|
+
},
|
|
292433
|
+
"required": [
|
|
292434
|
+
"id"
|
|
292435
|
+
],
|
|
292436
|
+
"nullable": true,
|
|
292437
|
+
"additionalProperties": false
|
|
292438
|
+
},
|
|
292439
|
+
"description": "A mapping of plugin aliases to their configuration"
|
|
292440
|
+
},
|
|
292319
292441
|
"subscriptions": {
|
|
292320
292442
|
"type": "object",
|
|
292321
292443
|
"properties": {
|
|
@@ -299565,7 +299687,7 @@ var state2 = {
|
|
|
299565
299687
|
},
|
|
299566
299688
|
"section": "plugin",
|
|
299567
299689
|
"response": {
|
|
299568
|
-
"description": "Get
|
|
299690
|
+
"description": "Get a plugin",
|
|
299569
299691
|
"schema": {
|
|
299570
299692
|
"type": "object",
|
|
299571
299693
|
"properties": {
|
|
@@ -299595,7 +299717,7 @@ var state2 = {
|
|
|
299595
299717
|
},
|
|
299596
299718
|
"section": "plugin",
|
|
299597
299719
|
"response": {
|
|
299598
|
-
"description": "Get
|
|
299720
|
+
"description": "Get a plugin",
|
|
299599
299721
|
"schema": {
|
|
299600
299722
|
"type": "object",
|
|
299601
299723
|
"properties": {
|
|
@@ -299630,7 +299752,7 @@ var state2 = {
|
|
|
299630
299752
|
},
|
|
299631
299753
|
"section": "plugin",
|
|
299632
299754
|
"response": {
|
|
299633
|
-
"description": "Get
|
|
299755
|
+
"description": "Get a plugin",
|
|
299634
299756
|
"schema": {
|
|
299635
299757
|
"type": "object",
|
|
299636
299758
|
"properties": {
|
|
@@ -299966,7 +300088,7 @@ var state2 = {
|
|
|
299966
300088
|
},
|
|
299967
300089
|
"section": "plugin",
|
|
299968
300090
|
"response": {
|
|
299969
|
-
"description": "Update
|
|
300091
|
+
"description": "Update a plugin",
|
|
299970
300092
|
"schema": {
|
|
299971
300093
|
"type": "object",
|
|
299972
300094
|
"properties": {
|
|
@@ -299996,7 +300118,7 @@ var state2 = {
|
|
|
299996
300118
|
},
|
|
299997
300119
|
"section": "plugin",
|
|
299998
300120
|
"response": {
|
|
299999
|
-
"description": "Delete
|
|
300121
|
+
"description": "Delete a plugin",
|
|
300000
300122
|
"schema": {
|
|
300001
300123
|
"type": "object",
|
|
300002
300124
|
"title": "deletePluginResponse",
|
|
@@ -300687,7 +300809,7 @@ var state2 = {
|
|
|
300687
300809
|
"title": "Botpress API",
|
|
300688
300810
|
"description": "API for Botpress Cloud",
|
|
300689
300811
|
"server": "https://api.botpress.cloud",
|
|
300690
|
-
"version": "1.
|
|
300812
|
+
"version": "1.16.0",
|
|
300691
300813
|
"prefix": "v1"
|
|
300692
300814
|
},
|
|
300693
300815
|
"errors": [
|
|
@@ -301052,6 +301174,14 @@ var state2 = {
|
|
|
301052
301174
|
"maxLength": 2e3,
|
|
301053
301175
|
"nullable": true
|
|
301054
301176
|
},
|
|
301177
|
+
"disabledChannels": {
|
|
301178
|
+
"type": "array",
|
|
301179
|
+
"items": {
|
|
301180
|
+
"type": "string",
|
|
301181
|
+
"description": "Channel name"
|
|
301182
|
+
},
|
|
301183
|
+
"description": "Disabled channels for this integration"
|
|
301184
|
+
},
|
|
301055
301185
|
"id": {
|
|
301056
301186
|
"type": "string",
|
|
301057
301187
|
"minLength": 28,
|
|
@@ -301108,6 +301238,7 @@ var state2 = {
|
|
|
301108
301238
|
"configuration",
|
|
301109
301239
|
"status",
|
|
301110
301240
|
"statusReason",
|
|
301241
|
+
"disabledChannels",
|
|
301111
301242
|
"id",
|
|
301112
301243
|
"createdAt",
|
|
301113
301244
|
"updatedAt",
|
|
@@ -301121,6 +301252,86 @@ var state2 = {
|
|
|
301121
301252
|
},
|
|
301122
301253
|
"description": "A mapping of integrations to their configuration"
|
|
301123
301254
|
},
|
|
301255
|
+
"plugins": {
|
|
301256
|
+
"type": "object",
|
|
301257
|
+
"additionalProperties": {
|
|
301258
|
+
"type": "object",
|
|
301259
|
+
"properties": {
|
|
301260
|
+
"enabled": {
|
|
301261
|
+
"type": "boolean"
|
|
301262
|
+
},
|
|
301263
|
+
"name": {
|
|
301264
|
+
"type": "string",
|
|
301265
|
+
"maxLength": 200,
|
|
301266
|
+
"description": "Name of the [Plugin](#schema_plugin)"
|
|
301267
|
+
},
|
|
301268
|
+
"version": {
|
|
301269
|
+
"type": "string",
|
|
301270
|
+
"maxLength": 200,
|
|
301271
|
+
"description": "Version of the [Plugin](#schema_plugin)"
|
|
301272
|
+
},
|
|
301273
|
+
"configuration": {
|
|
301274
|
+
"type": "object",
|
|
301275
|
+
"additionalProperties": true
|
|
301276
|
+
},
|
|
301277
|
+
"id": {
|
|
301278
|
+
"type": "string",
|
|
301279
|
+
"minLength": 28,
|
|
301280
|
+
"maxLength": 36,
|
|
301281
|
+
"description": "ID of the [Plugin](#schema_plugin)"
|
|
301282
|
+
},
|
|
301283
|
+
"createdAt": {
|
|
301284
|
+
"type": "string",
|
|
301285
|
+
"format": "date-time",
|
|
301286
|
+
"description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
301287
|
+
},
|
|
301288
|
+
"updatedAt": {
|
|
301289
|
+
"type": "string",
|
|
301290
|
+
"format": "date-time",
|
|
301291
|
+
"description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
301292
|
+
},
|
|
301293
|
+
"title": {
|
|
301294
|
+
"type": "string",
|
|
301295
|
+
"minLength": 1,
|
|
301296
|
+
"maxLength": 64,
|
|
301297
|
+
"description": "Title of the plugin. This is the name that will be displayed in the UI"
|
|
301298
|
+
},
|
|
301299
|
+
"description": {
|
|
301300
|
+
"type": "string",
|
|
301301
|
+
"maxLength": 256,
|
|
301302
|
+
"description": "Description of the plugin. This is the description that will be displayed in the UI"
|
|
301303
|
+
},
|
|
301304
|
+
"iconUrl": {
|
|
301305
|
+
"type": "string",
|
|
301306
|
+
"description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
|
|
301307
|
+
},
|
|
301308
|
+
"readmeUrl": {
|
|
301309
|
+
"type": "string",
|
|
301310
|
+
"description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
|
|
301311
|
+
},
|
|
301312
|
+
"public": {
|
|
301313
|
+
"type": "boolean",
|
|
301314
|
+
"description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
|
|
301315
|
+
}
|
|
301316
|
+
},
|
|
301317
|
+
"required": [
|
|
301318
|
+
"enabled",
|
|
301319
|
+
"name",
|
|
301320
|
+
"version",
|
|
301321
|
+
"configuration",
|
|
301322
|
+
"id",
|
|
301323
|
+
"createdAt",
|
|
301324
|
+
"updatedAt",
|
|
301325
|
+
"title",
|
|
301326
|
+
"description",
|
|
301327
|
+
"iconUrl",
|
|
301328
|
+
"readmeUrl",
|
|
301329
|
+
"public"
|
|
301330
|
+
],
|
|
301331
|
+
"additionalProperties": false
|
|
301332
|
+
},
|
|
301333
|
+
"description": "A mapping of plugin aliases to their configuration"
|
|
301334
|
+
},
|
|
301124
301335
|
"user": {
|
|
301125
301336
|
"type": "object",
|
|
301126
301337
|
"properties": {
|
|
@@ -301498,6 +301709,7 @@ var state2 = {
|
|
|
301498
301709
|
"updatedAt",
|
|
301499
301710
|
"signingSecret",
|
|
301500
301711
|
"integrations",
|
|
301712
|
+
"plugins",
|
|
301501
301713
|
"user",
|
|
301502
301714
|
"conversation",
|
|
301503
301715
|
"message",
|
|
@@ -306203,7 +306415,7 @@ var state3 = {
|
|
|
306203
306415
|
"title": "Botpress API",
|
|
306204
306416
|
"description": "API for Botpress Cloud",
|
|
306205
306417
|
"server": "https://api.botpress.cloud",
|
|
306206
|
-
"version": "1.
|
|
306418
|
+
"version": "1.16.0",
|
|
306207
306419
|
"prefix": "v1"
|
|
306208
306420
|
},
|
|
306209
306421
|
"errors": [
|
|
@@ -306463,6 +306675,14 @@ var state3 = {
|
|
|
306463
306675
|
"maxLength": 2e3,
|
|
306464
306676
|
"nullable": true
|
|
306465
306677
|
},
|
|
306678
|
+
"disabledChannels": {
|
|
306679
|
+
"type": "array",
|
|
306680
|
+
"items": {
|
|
306681
|
+
"type": "string",
|
|
306682
|
+
"description": "Channel name"
|
|
306683
|
+
},
|
|
306684
|
+
"description": "Disabled channels for this integration"
|
|
306685
|
+
},
|
|
306466
306686
|
"id": {
|
|
306467
306687
|
"type": "string",
|
|
306468
306688
|
"minLength": 28,
|
|
@@ -306519,6 +306739,7 @@ var state3 = {
|
|
|
306519
306739
|
"configuration",
|
|
306520
306740
|
"status",
|
|
306521
306741
|
"statusReason",
|
|
306742
|
+
"disabledChannels",
|
|
306522
306743
|
"id",
|
|
306523
306744
|
"createdAt",
|
|
306524
306745
|
"updatedAt",
|
|
@@ -306532,6 +306753,86 @@ var state3 = {
|
|
|
306532
306753
|
},
|
|
306533
306754
|
"description": "A mapping of integrations to their configuration"
|
|
306534
306755
|
},
|
|
306756
|
+
"plugins": {
|
|
306757
|
+
"type": "object",
|
|
306758
|
+
"additionalProperties": {
|
|
306759
|
+
"type": "object",
|
|
306760
|
+
"properties": {
|
|
306761
|
+
"enabled": {
|
|
306762
|
+
"type": "boolean"
|
|
306763
|
+
},
|
|
306764
|
+
"name": {
|
|
306765
|
+
"type": "string",
|
|
306766
|
+
"maxLength": 200,
|
|
306767
|
+
"description": "Name of the [Plugin](#schema_plugin)"
|
|
306768
|
+
},
|
|
306769
|
+
"version": {
|
|
306770
|
+
"type": "string",
|
|
306771
|
+
"maxLength": 200,
|
|
306772
|
+
"description": "Version of the [Plugin](#schema_plugin)"
|
|
306773
|
+
},
|
|
306774
|
+
"configuration": {
|
|
306775
|
+
"type": "object",
|
|
306776
|
+
"additionalProperties": true
|
|
306777
|
+
},
|
|
306778
|
+
"id": {
|
|
306779
|
+
"type": "string",
|
|
306780
|
+
"minLength": 28,
|
|
306781
|
+
"maxLength": 36,
|
|
306782
|
+
"description": "ID of the [Plugin](#schema_plugin)"
|
|
306783
|
+
},
|
|
306784
|
+
"createdAt": {
|
|
306785
|
+
"type": "string",
|
|
306786
|
+
"format": "date-time",
|
|
306787
|
+
"description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
306788
|
+
},
|
|
306789
|
+
"updatedAt": {
|
|
306790
|
+
"type": "string",
|
|
306791
|
+
"format": "date-time",
|
|
306792
|
+
"description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
306793
|
+
},
|
|
306794
|
+
"title": {
|
|
306795
|
+
"type": "string",
|
|
306796
|
+
"minLength": 1,
|
|
306797
|
+
"maxLength": 64,
|
|
306798
|
+
"description": "Title of the plugin. This is the name that will be displayed in the UI"
|
|
306799
|
+
},
|
|
306800
|
+
"description": {
|
|
306801
|
+
"type": "string",
|
|
306802
|
+
"maxLength": 256,
|
|
306803
|
+
"description": "Description of the plugin. This is the description that will be displayed in the UI"
|
|
306804
|
+
},
|
|
306805
|
+
"iconUrl": {
|
|
306806
|
+
"type": "string",
|
|
306807
|
+
"description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
|
|
306808
|
+
},
|
|
306809
|
+
"readmeUrl": {
|
|
306810
|
+
"type": "string",
|
|
306811
|
+
"description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
|
|
306812
|
+
},
|
|
306813
|
+
"public": {
|
|
306814
|
+
"type": "boolean",
|
|
306815
|
+
"description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
|
|
306816
|
+
}
|
|
306817
|
+
},
|
|
306818
|
+
"required": [
|
|
306819
|
+
"enabled",
|
|
306820
|
+
"name",
|
|
306821
|
+
"version",
|
|
306822
|
+
"configuration",
|
|
306823
|
+
"id",
|
|
306824
|
+
"createdAt",
|
|
306825
|
+
"updatedAt",
|
|
306826
|
+
"title",
|
|
306827
|
+
"description",
|
|
306828
|
+
"iconUrl",
|
|
306829
|
+
"readmeUrl",
|
|
306830
|
+
"public"
|
|
306831
|
+
],
|
|
306832
|
+
"additionalProperties": false
|
|
306833
|
+
},
|
|
306834
|
+
"description": "A mapping of plugin aliases to their configuration"
|
|
306835
|
+
},
|
|
306535
306836
|
"user": {
|
|
306536
306837
|
"type": "object",
|
|
306537
306838
|
"properties": {
|
|
@@ -306909,6 +307210,7 @@ var state3 = {
|
|
|
306909
307210
|
"updatedAt",
|
|
306910
307211
|
"signingSecret",
|
|
306911
307212
|
"integrations",
|
|
307213
|
+
"plugins",
|
|
306912
307214
|
"user",
|
|
306913
307215
|
"conversation",
|
|
306914
307216
|
"message",
|
|
@@ -311093,7 +311395,7 @@ var state4 = {
|
|
|
311093
311395
|
"title": "Botpress API",
|
|
311094
311396
|
"description": "API for Botpress Cloud",
|
|
311095
311397
|
"server": "https://api.botpress.cloud",
|
|
311096
|
-
"version": "1.
|
|
311398
|
+
"version": "1.16.0",
|
|
311097
311399
|
"prefix": "v1"
|
|
311098
311400
|
},
|
|
311099
311401
|
"errors": [
|
|
@@ -311360,6 +311662,14 @@ var state4 = {
|
|
|
311360
311662
|
"maxLength": 2e3,
|
|
311361
311663
|
"nullable": true
|
|
311362
311664
|
},
|
|
311665
|
+
"disabledChannels": {
|
|
311666
|
+
"type": "array",
|
|
311667
|
+
"items": {
|
|
311668
|
+
"type": "string",
|
|
311669
|
+
"description": "Channel name"
|
|
311670
|
+
},
|
|
311671
|
+
"description": "Disabled channels for this integration"
|
|
311672
|
+
},
|
|
311363
311673
|
"id": {
|
|
311364
311674
|
"type": "string",
|
|
311365
311675
|
"minLength": 28,
|
|
@@ -311416,6 +311726,7 @@ var state4 = {
|
|
|
311416
311726
|
"configuration",
|
|
311417
311727
|
"status",
|
|
311418
311728
|
"statusReason",
|
|
311729
|
+
"disabledChannels",
|
|
311419
311730
|
"id",
|
|
311420
311731
|
"createdAt",
|
|
311421
311732
|
"updatedAt",
|
|
@@ -311429,6 +311740,86 @@ var state4 = {
|
|
|
311429
311740
|
},
|
|
311430
311741
|
"description": "A mapping of integrations to their configuration"
|
|
311431
311742
|
},
|
|
311743
|
+
"plugins": {
|
|
311744
|
+
"type": "object",
|
|
311745
|
+
"additionalProperties": {
|
|
311746
|
+
"type": "object",
|
|
311747
|
+
"properties": {
|
|
311748
|
+
"enabled": {
|
|
311749
|
+
"type": "boolean"
|
|
311750
|
+
},
|
|
311751
|
+
"name": {
|
|
311752
|
+
"type": "string",
|
|
311753
|
+
"maxLength": 200,
|
|
311754
|
+
"description": "Name of the [Plugin](#schema_plugin)"
|
|
311755
|
+
},
|
|
311756
|
+
"version": {
|
|
311757
|
+
"type": "string",
|
|
311758
|
+
"maxLength": 200,
|
|
311759
|
+
"description": "Version of the [Plugin](#schema_plugin)"
|
|
311760
|
+
},
|
|
311761
|
+
"configuration": {
|
|
311762
|
+
"type": "object",
|
|
311763
|
+
"additionalProperties": true
|
|
311764
|
+
},
|
|
311765
|
+
"id": {
|
|
311766
|
+
"type": "string",
|
|
311767
|
+
"minLength": 28,
|
|
311768
|
+
"maxLength": 36,
|
|
311769
|
+
"description": "ID of the [Plugin](#schema_plugin)"
|
|
311770
|
+
},
|
|
311771
|
+
"createdAt": {
|
|
311772
|
+
"type": "string",
|
|
311773
|
+
"format": "date-time",
|
|
311774
|
+
"description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
311775
|
+
},
|
|
311776
|
+
"updatedAt": {
|
|
311777
|
+
"type": "string",
|
|
311778
|
+
"format": "date-time",
|
|
311779
|
+
"description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
311780
|
+
},
|
|
311781
|
+
"title": {
|
|
311782
|
+
"type": "string",
|
|
311783
|
+
"minLength": 1,
|
|
311784
|
+
"maxLength": 64,
|
|
311785
|
+
"description": "Title of the plugin. This is the name that will be displayed in the UI"
|
|
311786
|
+
},
|
|
311787
|
+
"description": {
|
|
311788
|
+
"type": "string",
|
|
311789
|
+
"maxLength": 256,
|
|
311790
|
+
"description": "Description of the plugin. This is the description that will be displayed in the UI"
|
|
311791
|
+
},
|
|
311792
|
+
"iconUrl": {
|
|
311793
|
+
"type": "string",
|
|
311794
|
+
"description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
|
|
311795
|
+
},
|
|
311796
|
+
"readmeUrl": {
|
|
311797
|
+
"type": "string",
|
|
311798
|
+
"description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
|
|
311799
|
+
},
|
|
311800
|
+
"public": {
|
|
311801
|
+
"type": "boolean",
|
|
311802
|
+
"description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
|
|
311803
|
+
}
|
|
311804
|
+
},
|
|
311805
|
+
"required": [
|
|
311806
|
+
"enabled",
|
|
311807
|
+
"name",
|
|
311808
|
+
"version",
|
|
311809
|
+
"configuration",
|
|
311810
|
+
"id",
|
|
311811
|
+
"createdAt",
|
|
311812
|
+
"updatedAt",
|
|
311813
|
+
"title",
|
|
311814
|
+
"description",
|
|
311815
|
+
"iconUrl",
|
|
311816
|
+
"readmeUrl",
|
|
311817
|
+
"public"
|
|
311818
|
+
],
|
|
311819
|
+
"additionalProperties": false
|
|
311820
|
+
},
|
|
311821
|
+
"description": "A mapping of plugin aliases to their configuration"
|
|
311822
|
+
},
|
|
311432
311823
|
"user": {
|
|
311433
311824
|
"type": "object",
|
|
311434
311825
|
"properties": {
|
|
@@ -311806,6 +312197,7 @@ var state4 = {
|
|
|
311806
312197
|
"updatedAt",
|
|
311807
312198
|
"signingSecret",
|
|
311808
312199
|
"integrations",
|
|
312200
|
+
"plugins",
|
|
311809
312201
|
"user",
|
|
311810
312202
|
"conversation",
|
|
311811
312203
|
"message",
|
|
@@ -321795,12 +322187,44 @@ var state5 = {
|
|
|
321795
322187
|
"configuration": {
|
|
321796
322188
|
"type": "object",
|
|
321797
322189
|
"additionalProperties": true
|
|
322190
|
+
},
|
|
322191
|
+
"disabledChannels": {
|
|
322192
|
+
"type": "array",
|
|
322193
|
+
"items": {
|
|
322194
|
+
"type": "string",
|
|
322195
|
+
"description": "Channel name"
|
|
322196
|
+
},
|
|
322197
|
+
"description": "Disabled channels for this integration"
|
|
321798
322198
|
}
|
|
321799
322199
|
},
|
|
321800
322200
|
"nullable": true,
|
|
321801
322201
|
"additionalProperties": false
|
|
321802
322202
|
}
|
|
321803
322203
|
},
|
|
322204
|
+
"plugins": {
|
|
322205
|
+
"type": "object",
|
|
322206
|
+
"additionalProperties": {
|
|
322207
|
+
"type": "object",
|
|
322208
|
+
"properties": {
|
|
322209
|
+
"id": {
|
|
322210
|
+
"type": "string"
|
|
322211
|
+
},
|
|
322212
|
+
"enabled": {
|
|
322213
|
+
"type": "boolean"
|
|
322214
|
+
},
|
|
322215
|
+
"configuration": {
|
|
322216
|
+
"type": "object",
|
|
322217
|
+
"additionalProperties": true
|
|
322218
|
+
}
|
|
322219
|
+
},
|
|
322220
|
+
"required": [
|
|
322221
|
+
"id"
|
|
322222
|
+
],
|
|
322223
|
+
"nullable": true,
|
|
322224
|
+
"additionalProperties": false
|
|
322225
|
+
},
|
|
322226
|
+
"description": "A mapping of plugin aliases to their configuration"
|
|
322227
|
+
},
|
|
321804
322228
|
"subscriptions": {
|
|
321805
322229
|
"type": "object",
|
|
321806
322230
|
"properties": {
|
|
@@ -329051,7 +329475,7 @@ var state5 = {
|
|
|
329051
329475
|
},
|
|
329052
329476
|
"section": "plugin",
|
|
329053
329477
|
"response": {
|
|
329054
|
-
"description": "Get
|
|
329478
|
+
"description": "Get a plugin",
|
|
329055
329479
|
"schema": {
|
|
329056
329480
|
"type": "object",
|
|
329057
329481
|
"properties": {
|
|
@@ -329081,7 +329505,7 @@ var state5 = {
|
|
|
329081
329505
|
},
|
|
329082
329506
|
"section": "plugin",
|
|
329083
329507
|
"response": {
|
|
329084
|
-
"description": "Get
|
|
329508
|
+
"description": "Get a plugin",
|
|
329085
329509
|
"schema": {
|
|
329086
329510
|
"type": "object",
|
|
329087
329511
|
"properties": {
|
|
@@ -329116,7 +329540,7 @@ var state5 = {
|
|
|
329116
329540
|
},
|
|
329117
329541
|
"section": "plugin",
|
|
329118
329542
|
"response": {
|
|
329119
|
-
"description": "Get
|
|
329543
|
+
"description": "Get a plugin",
|
|
329120
329544
|
"schema": {
|
|
329121
329545
|
"type": "object",
|
|
329122
329546
|
"properties": {
|
|
@@ -329452,7 +329876,7 @@ var state5 = {
|
|
|
329452
329876
|
},
|
|
329453
329877
|
"section": "plugin",
|
|
329454
329878
|
"response": {
|
|
329455
|
-
"description": "Update
|
|
329879
|
+
"description": "Update a plugin",
|
|
329456
329880
|
"schema": {
|
|
329457
329881
|
"type": "object",
|
|
329458
329882
|
"properties": {
|
|
@@ -329482,7 +329906,7 @@ var state5 = {
|
|
|
329482
329906
|
},
|
|
329483
329907
|
"section": "plugin",
|
|
329484
329908
|
"response": {
|
|
329485
|
-
"description": "Delete
|
|
329909
|
+
"description": "Delete a plugin",
|
|
329486
329910
|
"schema": {
|
|
329487
329911
|
"type": "object",
|
|
329488
329912
|
"title": "deletePluginResponse",
|
|
@@ -333018,7 +333442,7 @@ var state5 = {
|
|
|
333018
333442
|
"title": "Botpress API",
|
|
333019
333443
|
"description": "API for Botpress Cloud",
|
|
333020
333444
|
"server": "https://api.botpress.cloud",
|
|
333021
|
-
"version": "1.
|
|
333445
|
+
"version": "1.16.0",
|
|
333022
333446
|
"prefix": "v1"
|
|
333023
333447
|
},
|
|
333024
333448
|
"errors": [
|
|
@@ -333500,6 +333924,14 @@ var state5 = {
|
|
|
333500
333924
|
"maxLength": 2e3,
|
|
333501
333925
|
"nullable": true
|
|
333502
333926
|
},
|
|
333927
|
+
"disabledChannels": {
|
|
333928
|
+
"type": "array",
|
|
333929
|
+
"items": {
|
|
333930
|
+
"type": "string",
|
|
333931
|
+
"description": "Channel name"
|
|
333932
|
+
},
|
|
333933
|
+
"description": "Disabled channels for this integration"
|
|
333934
|
+
},
|
|
333503
333935
|
"id": {
|
|
333504
333936
|
"type": "string",
|
|
333505
333937
|
"minLength": 28,
|
|
@@ -333556,6 +333988,7 @@ var state5 = {
|
|
|
333556
333988
|
"configuration",
|
|
333557
333989
|
"status",
|
|
333558
333990
|
"statusReason",
|
|
333991
|
+
"disabledChannels",
|
|
333559
333992
|
"id",
|
|
333560
333993
|
"createdAt",
|
|
333561
333994
|
"updatedAt",
|
|
@@ -333569,6 +334002,86 @@ var state5 = {
|
|
|
333569
334002
|
},
|
|
333570
334003
|
"description": "A mapping of integrations to their configuration"
|
|
333571
334004
|
},
|
|
334005
|
+
"plugins": {
|
|
334006
|
+
"type": "object",
|
|
334007
|
+
"additionalProperties": {
|
|
334008
|
+
"type": "object",
|
|
334009
|
+
"properties": {
|
|
334010
|
+
"enabled": {
|
|
334011
|
+
"type": "boolean"
|
|
334012
|
+
},
|
|
334013
|
+
"name": {
|
|
334014
|
+
"type": "string",
|
|
334015
|
+
"maxLength": 200,
|
|
334016
|
+
"description": "Name of the [Plugin](#schema_plugin)"
|
|
334017
|
+
},
|
|
334018
|
+
"version": {
|
|
334019
|
+
"type": "string",
|
|
334020
|
+
"maxLength": 200,
|
|
334021
|
+
"description": "Version of the [Plugin](#schema_plugin)"
|
|
334022
|
+
},
|
|
334023
|
+
"configuration": {
|
|
334024
|
+
"type": "object",
|
|
334025
|
+
"additionalProperties": true
|
|
334026
|
+
},
|
|
334027
|
+
"id": {
|
|
334028
|
+
"type": "string",
|
|
334029
|
+
"minLength": 28,
|
|
334030
|
+
"maxLength": 36,
|
|
334031
|
+
"description": "ID of the [Plugin](#schema_plugin)"
|
|
334032
|
+
},
|
|
334033
|
+
"createdAt": {
|
|
334034
|
+
"type": "string",
|
|
334035
|
+
"format": "date-time",
|
|
334036
|
+
"description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
334037
|
+
},
|
|
334038
|
+
"updatedAt": {
|
|
334039
|
+
"type": "string",
|
|
334040
|
+
"format": "date-time",
|
|
334041
|
+
"description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
334042
|
+
},
|
|
334043
|
+
"title": {
|
|
334044
|
+
"type": "string",
|
|
334045
|
+
"minLength": 1,
|
|
334046
|
+
"maxLength": 64,
|
|
334047
|
+
"description": "Title of the plugin. This is the name that will be displayed in the UI"
|
|
334048
|
+
},
|
|
334049
|
+
"description": {
|
|
334050
|
+
"type": "string",
|
|
334051
|
+
"maxLength": 256,
|
|
334052
|
+
"description": "Description of the plugin. This is the description that will be displayed in the UI"
|
|
334053
|
+
},
|
|
334054
|
+
"iconUrl": {
|
|
334055
|
+
"type": "string",
|
|
334056
|
+
"description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
|
|
334057
|
+
},
|
|
334058
|
+
"readmeUrl": {
|
|
334059
|
+
"type": "string",
|
|
334060
|
+
"description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
|
|
334061
|
+
},
|
|
334062
|
+
"public": {
|
|
334063
|
+
"type": "boolean",
|
|
334064
|
+
"description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
|
|
334065
|
+
}
|
|
334066
|
+
},
|
|
334067
|
+
"required": [
|
|
334068
|
+
"enabled",
|
|
334069
|
+
"name",
|
|
334070
|
+
"version",
|
|
334071
|
+
"configuration",
|
|
334072
|
+
"id",
|
|
334073
|
+
"createdAt",
|
|
334074
|
+
"updatedAt",
|
|
334075
|
+
"title",
|
|
334076
|
+
"description",
|
|
334077
|
+
"iconUrl",
|
|
334078
|
+
"readmeUrl",
|
|
334079
|
+
"public"
|
|
334080
|
+
],
|
|
334081
|
+
"additionalProperties": false
|
|
334082
|
+
},
|
|
334083
|
+
"description": "A mapping of plugin aliases to their configuration"
|
|
334084
|
+
},
|
|
333572
334085
|
"user": {
|
|
333573
334086
|
"type": "object",
|
|
333574
334087
|
"properties": {
|
|
@@ -333946,6 +334459,7 @@ var state5 = {
|
|
|
333946
334459
|
"updatedAt",
|
|
333947
334460
|
"signingSecret",
|
|
333948
334461
|
"integrations",
|
|
334462
|
+
"plugins",
|
|
333949
334463
|
"user",
|
|
333950
334464
|
"conversation",
|
|
333951
334465
|
"message",
|