@botpress/api 1.28.1 → 1.29.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.
@@ -2602,7 +2602,7 @@ export const state = {
2602
2602
  "title": "Botpress API",
2603
2603
  "description": "API for Botpress Cloud",
2604
2604
  "server": "https://api.botpress.cloud",
2605
- "version": "1.28.1",
2605
+ "version": "1.29.0",
2606
2606
  "prefix": "v1"
2607
2607
  },
2608
2608
  "errors": [
@@ -3083,6 +3083,10 @@ export const state = {
3083
3083
  },
3084
3084
  "description": "A mapping of plugin aliases to their configuration"
3085
3085
  },
3086
+ "maxExecutionTime": {
3087
+ "type": "number",
3088
+ "description": "Maximum execution time of the bot (in seconds)."
3089
+ },
3086
3090
  "user": {
3087
3091
  "type": "object",
3088
3092
  "properties": {
@@ -3534,6 +3538,10 @@ export const state = {
3534
3538
  },
3535
3539
  "additionalProperties": false
3536
3540
  },
3541
+ "maxExecutionTime": {
3542
+ "type": "number",
3543
+ "description": "Maximum execution time of the integration (in seconds)."
3544
+ },
3537
3545
  "url": {
3538
3546
  "type": "string",
3539
3547
  "maxLength": 2000,
package/src/gen/state.ts CHANGED
@@ -3339,6 +3339,10 @@ export const state = {
3339
3339
  },
3340
3340
  "additionalProperties": false
3341
3341
  },
3342
+ "maxExecutionTime": {
3343
+ "type": "number",
3344
+ "description": "Maximum execution time of the integration (in seconds)."
3345
+ },
3342
3346
  "url": {
3343
3347
  "type": "string",
3344
3348
  "maxLength": 2000,
@@ -4080,6 +4084,10 @@ export const state = {
4080
4084
  },
4081
4085
  "additionalProperties": false
4082
4086
  },
4087
+ "maxExecutionTime": {
4088
+ "type": "number",
4089
+ "description": "Maximum execution time of the integration (in seconds)."
4090
+ },
4083
4091
  "url": {
4084
4092
  "type": "string",
4085
4093
  "maxLength": 2000,
@@ -7231,6 +7239,10 @@ export const state = {
7231
7239
  "blocked": {
7232
7240
  "type": "boolean"
7233
7241
  },
7242
+ "maxExecutionTime": {
7243
+ "type": "integer",
7244
+ "description": "Maximum execution time (in seconds)."
7245
+ },
7234
7246
  "alwaysAlive": {
7235
7247
  "type": "boolean",
7236
7248
  "description": "Indicates if the [Bot](#schema_bot) should be in always alive mode"
@@ -10714,6 +10726,72 @@ export const state = {
10714
10726
  }
10715
10727
  }
10716
10728
  },
10729
+ "setWorkspacePreference": {
10730
+ "name": "setWorkspacePreference",
10731
+ "description": "Set a preference for the workspace",
10732
+ "method": "post",
10733
+ "path": "/v1/admin/workspaces/preferences/{key}",
10734
+ "section": "workspace",
10735
+ "disableDefaultParameters": {
10736
+ "x-workspace-id": true
10737
+ },
10738
+ "parameters": {
10739
+ "key": {
10740
+ "type": "string",
10741
+ "description": "Preference key",
10742
+ "in": "path"
10743
+ }
10744
+ },
10745
+ "requestBody": {
10746
+ "description": "Preference value",
10747
+ "schema": {
10748
+ "type": "object",
10749
+ "properties": {
10750
+ "value": {}
10751
+ },
10752
+ "title": "setWorkspacePreferenceBody",
10753
+ "additionalProperties": false
10754
+ }
10755
+ },
10756
+ "response": {
10757
+ "description": "Success",
10758
+ "schema": {
10759
+ "type": "object",
10760
+ "title": "setWorkspacePreferenceResponse",
10761
+ "additionalProperties": false
10762
+ }
10763
+ }
10764
+ },
10765
+ "getWorkspacePreference": {
10766
+ "name": "getWorkspacePreference",
10767
+ "description": "Get a preference of the workspace",
10768
+ "method": "get",
10769
+ "path": "/v1/admin/workspaces/preferences/{key}",
10770
+ "section": "workspace",
10771
+ "disableDefaultParameters": {
10772
+ "x-workspace-id": true
10773
+ },
10774
+ "parameters": {
10775
+ "key": {
10776
+ "type": "string",
10777
+ "description": "Preference key",
10778
+ "in": "path"
10779
+ }
10780
+ },
10781
+ "response": {
10782
+ "description": "Success",
10783
+ "schema": {
10784
+ "type": "object",
10785
+ "properties": {
10786
+ "value": {
10787
+ "nullable": true
10788
+ }
10789
+ },
10790
+ "title": "getWorkspacePreferenceResponse",
10791
+ "additionalProperties": false
10792
+ }
10793
+ }
10794
+ },
10717
10795
  "listWorkspaceMembers": {
10718
10796
  "name": "listWorkspaceMembers",
10719
10797
  "description": "Lists all the members in a workspace",
@@ -11684,9 +11762,21 @@ export const state = {
11684
11762
  "additionalProperties": false
11685
11763
  }
11686
11764
  },
11687
- "messageStatusChangeNotificationsEnabled": {
11688
- "type": "boolean",
11689
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
11765
+ "extraOperations": {
11766
+ "type": "object",
11767
+ "additionalProperties": {
11768
+ "type": "object",
11769
+ "properties": {
11770
+ "enabled": {
11771
+ "type": "boolean"
11772
+ }
11773
+ },
11774
+ "required": [
11775
+ "enabled"
11776
+ ],
11777
+ "additionalProperties": false
11778
+ },
11779
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
11690
11780
  },
11691
11781
  "secrets": {
11692
11782
  "type": "object",
@@ -12278,9 +12368,21 @@ export const state = {
12278
12368
  "additionalProperties": false
12279
12369
  }
12280
12370
  },
12281
- "messageStatusChangeNotificationsEnabled": {
12282
- "type": "boolean",
12283
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
12371
+ "extraOperations": {
12372
+ "type": "object",
12373
+ "additionalProperties": {
12374
+ "type": "object",
12375
+ "properties": {
12376
+ "enabled": {
12377
+ "type": "boolean"
12378
+ }
12379
+ },
12380
+ "required": [
12381
+ "enabled"
12382
+ ],
12383
+ "additionalProperties": false
12384
+ },
12385
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
12284
12386
  },
12285
12387
  "secrets": {
12286
12388
  "type": "object",
@@ -12445,9 +12547,21 @@ export const state = {
12445
12547
  },
12446
12548
  "description": "Additional configuration definitions of the integration"
12447
12549
  },
12448
- "messageStatusChangeNotificationsEnabled": {
12449
- "type": "boolean",
12450
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
12550
+ "extraOperations": {
12551
+ "type": "object",
12552
+ "additionalProperties": {
12553
+ "type": "object",
12554
+ "properties": {
12555
+ "enabled": {
12556
+ "type": "boolean"
12557
+ }
12558
+ },
12559
+ "required": [
12560
+ "enabled"
12561
+ ],
12562
+ "additionalProperties": false
12563
+ },
12564
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
12451
12565
  },
12452
12566
  "channels": {
12453
12567
  "type": "object",
@@ -12563,6 +12677,10 @@ export const state = {
12563
12677
  "additionalProperties": false
12564
12678
  }
12565
12679
  },
12680
+ "maxExecutionTime": {
12681
+ "type": "integer",
12682
+ "description": "Maximum execution time of the integration (in seconds)."
12683
+ },
12566
12684
  "identifier": {
12567
12685
  "type": "object",
12568
12686
  "properties": {
@@ -13041,9 +13159,21 @@ export const state = {
13041
13159
  },
13042
13160
  "description": "Additional configuration definitions of the integration"
13043
13161
  },
13044
- "messageStatusChangeNotificationsEnabled": {
13045
- "type": "boolean",
13046
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
13162
+ "extraOperations": {
13163
+ "type": "object",
13164
+ "additionalProperties": {
13165
+ "type": "object",
13166
+ "properties": {
13167
+ "enabled": {
13168
+ "type": "boolean"
13169
+ }
13170
+ },
13171
+ "required": [
13172
+ "enabled"
13173
+ ],
13174
+ "additionalProperties": false
13175
+ },
13176
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
13047
13177
  },
13048
13178
  "channels": {
13049
13179
  "type": "object",
@@ -13159,6 +13289,10 @@ export const state = {
13159
13289
  "additionalProperties": false
13160
13290
  }
13161
13291
  },
13292
+ "maxExecutionTime": {
13293
+ "type": "integer",
13294
+ "description": "Maximum execution time of the integration (in seconds)."
13295
+ },
13162
13296
  "identifier": {
13163
13297
  "type": "object",
13164
13298
  "properties": {
@@ -19217,7 +19351,7 @@ export const state = {
19217
19351
  "title": "Botpress API",
19218
19352
  "description": "API for Botpress Cloud",
19219
19353
  "server": "https://api.botpress.cloud",
19220
- "version": "1.28.1",
19354
+ "version": "1.29.0",
19221
19355
  "prefix": "v1"
19222
19356
  },
19223
19357
  "errors": [
@@ -19385,6 +19519,7 @@ export const state = {
19385
19519
  "createWorkspaceBody": true,
19386
19520
  "updateWorkspaceBody": true,
19387
19521
  "checkHandleAvailabilityBody": true,
19522
+ "setWorkspacePreferenceBody": true,
19388
19523
  "createWorkspaceMemberBody": true,
19389
19524
  "updateWorkspaceMemberBody": true,
19390
19525
  "createIntegrationApiKeyBody": true,
@@ -19527,6 +19662,8 @@ export const state = {
19527
19662
  "listPublicWorkspacesResponse": true,
19528
19663
  "deleteWorkspaceResponse": true,
19529
19664
  "getAuditRecordsResponse": true,
19665
+ "setWorkspacePreferenceResponse": true,
19666
+ "getWorkspacePreferenceResponse": true,
19530
19667
  "listWorkspaceMembersResponse": true,
19531
19668
  "getWorkspaceMemberResponse": true,
19532
19669
  "deleteWorkspaceMemberResponse": true,
@@ -19882,6 +20019,10 @@ export const state = {
19882
20019
  },
19883
20020
  "description": "A mapping of plugin aliases to their configuration"
19884
20021
  },
20022
+ "maxExecutionTime": {
20023
+ "type": "number",
20024
+ "description": "Maximum execution time of the bot (in seconds)."
20025
+ },
19885
20026
  "user": {
19886
20027
  "type": "object",
19887
20028
  "properties": {
@@ -20333,6 +20474,10 @@ export const state = {
20333
20474
  },
20334
20475
  "additionalProperties": false
20335
20476
  },
20477
+ "maxExecutionTime": {
20478
+ "type": "number",
20479
+ "description": "Maximum execution time of the integration (in seconds)."
20480
+ },
20336
20481
  "url": {
20337
20482
  "type": "string",
20338
20483
  "maxLength": 2000,
@@ -23336,7 +23481,9 @@ export const state = {
23336
23481
  "listWorkspaces",
23337
23482
  "listPublicWorkspaces",
23338
23483
  "deleteWorkspace",
23339
- "getAuditRecords"
23484
+ "getAuditRecords",
23485
+ "setWorkspacePreference",
23486
+ "getWorkspacePreference"
23340
23487
  ],
23341
23488
  "schema": "Workspace"
23342
23489
  },