@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.
@@ -747,6 +747,10 @@ export const state = {
747
747
  },
748
748
  "additionalProperties": false
749
749
  },
750
+ "maxExecutionTime": {
751
+ "type": "number",
752
+ "description": "Maximum execution time of the integration (in seconds)."
753
+ },
750
754
  "url": {
751
755
  "type": "string",
752
756
  "maxLength": 2000,
@@ -1488,6 +1492,10 @@ export const state = {
1488
1492
  },
1489
1493
  "additionalProperties": false
1490
1494
  },
1495
+ "maxExecutionTime": {
1496
+ "type": "number",
1497
+ "description": "Maximum execution time of the integration (in seconds)."
1498
+ },
1491
1499
  "url": {
1492
1500
  "type": "string",
1493
1501
  "maxLength": 2000,
@@ -4639,6 +4647,10 @@ export const state = {
4639
4647
  "blocked": {
4640
4648
  "type": "boolean"
4641
4649
  },
4650
+ "maxExecutionTime": {
4651
+ "type": "integer",
4652
+ "description": "Maximum execution time (in seconds)."
4653
+ },
4642
4654
  "alwaysAlive": {
4643
4655
  "type": "boolean",
4644
4656
  "description": "Indicates if the [Bot](#schema_bot) should be in always alive mode"
@@ -8122,6 +8134,72 @@ export const state = {
8122
8134
  }
8123
8135
  }
8124
8136
  },
8137
+ "setWorkspacePreference": {
8138
+ "name": "setWorkspacePreference",
8139
+ "description": "Set a preference for the workspace",
8140
+ "method": "post",
8141
+ "path": "/v1/admin/workspaces/preferences/{key}",
8142
+ "section": "workspace",
8143
+ "disableDefaultParameters": {
8144
+ "x-workspace-id": true
8145
+ },
8146
+ "parameters": {
8147
+ "key": {
8148
+ "type": "string",
8149
+ "description": "Preference key",
8150
+ "in": "path"
8151
+ }
8152
+ },
8153
+ "requestBody": {
8154
+ "description": "Preference value",
8155
+ "schema": {
8156
+ "type": "object",
8157
+ "properties": {
8158
+ "value": {}
8159
+ },
8160
+ "title": "setWorkspacePreferenceBody",
8161
+ "additionalProperties": false
8162
+ }
8163
+ },
8164
+ "response": {
8165
+ "description": "Success",
8166
+ "schema": {
8167
+ "type": "object",
8168
+ "title": "setWorkspacePreferenceResponse",
8169
+ "additionalProperties": false
8170
+ }
8171
+ }
8172
+ },
8173
+ "getWorkspacePreference": {
8174
+ "name": "getWorkspacePreference",
8175
+ "description": "Get a preference of the workspace",
8176
+ "method": "get",
8177
+ "path": "/v1/admin/workspaces/preferences/{key}",
8178
+ "section": "workspace",
8179
+ "disableDefaultParameters": {
8180
+ "x-workspace-id": true
8181
+ },
8182
+ "parameters": {
8183
+ "key": {
8184
+ "type": "string",
8185
+ "description": "Preference key",
8186
+ "in": "path"
8187
+ }
8188
+ },
8189
+ "response": {
8190
+ "description": "Success",
8191
+ "schema": {
8192
+ "type": "object",
8193
+ "properties": {
8194
+ "value": {
8195
+ "nullable": true
8196
+ }
8197
+ },
8198
+ "title": "getWorkspacePreferenceResponse",
8199
+ "additionalProperties": false
8200
+ }
8201
+ }
8202
+ },
8125
8203
  "listWorkspaceMembers": {
8126
8204
  "name": "listWorkspaceMembers",
8127
8205
  "description": "Lists all the members in a workspace",
@@ -9091,9 +9169,21 @@ export const state = {
9091
9169
  "additionalProperties": false
9092
9170
  }
9093
9171
  },
9094
- "messageStatusChangeNotificationsEnabled": {
9095
- "type": "boolean",
9096
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
9172
+ "extraOperations": {
9173
+ "type": "object",
9174
+ "additionalProperties": {
9175
+ "type": "object",
9176
+ "properties": {
9177
+ "enabled": {
9178
+ "type": "boolean"
9179
+ }
9180
+ },
9181
+ "required": [
9182
+ "enabled"
9183
+ ],
9184
+ "additionalProperties": false
9185
+ },
9186
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
9097
9187
  },
9098
9188
  "secrets": {
9099
9189
  "type": "object",
@@ -9685,9 +9775,21 @@ export const state = {
9685
9775
  "additionalProperties": false
9686
9776
  }
9687
9777
  },
9688
- "messageStatusChangeNotificationsEnabled": {
9689
- "type": "boolean",
9690
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
9778
+ "extraOperations": {
9779
+ "type": "object",
9780
+ "additionalProperties": {
9781
+ "type": "object",
9782
+ "properties": {
9783
+ "enabled": {
9784
+ "type": "boolean"
9785
+ }
9786
+ },
9787
+ "required": [
9788
+ "enabled"
9789
+ ],
9790
+ "additionalProperties": false
9791
+ },
9792
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
9691
9793
  },
9692
9794
  "secrets": {
9693
9795
  "type": "object",
@@ -9852,9 +9954,21 @@ export const state = {
9852
9954
  },
9853
9955
  "description": "Additional configuration definitions of the integration"
9854
9956
  },
9855
- "messageStatusChangeNotificationsEnabled": {
9856
- "type": "boolean",
9857
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
9957
+ "extraOperations": {
9958
+ "type": "object",
9959
+ "additionalProperties": {
9960
+ "type": "object",
9961
+ "properties": {
9962
+ "enabled": {
9963
+ "type": "boolean"
9964
+ }
9965
+ },
9966
+ "required": [
9967
+ "enabled"
9968
+ ],
9969
+ "additionalProperties": false
9970
+ },
9971
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
9858
9972
  },
9859
9973
  "channels": {
9860
9974
  "type": "object",
@@ -9970,6 +10084,10 @@ export const state = {
9970
10084
  "additionalProperties": false
9971
10085
  }
9972
10086
  },
10087
+ "maxExecutionTime": {
10088
+ "type": "integer",
10089
+ "description": "Maximum execution time of the integration (in seconds)."
10090
+ },
9973
10091
  "identifier": {
9974
10092
  "type": "object",
9975
10093
  "properties": {
@@ -10448,9 +10566,21 @@ export const state = {
10448
10566
  },
10449
10567
  "description": "Additional configuration definitions of the integration"
10450
10568
  },
10451
- "messageStatusChangeNotificationsEnabled": {
10452
- "type": "boolean",
10453
- "description": "**EXPERIMENTAL** Whether the integration should be notified when the message status changes"
10569
+ "extraOperations": {
10570
+ "type": "object",
10571
+ "additionalProperties": {
10572
+ "type": "object",
10573
+ "properties": {
10574
+ "enabled": {
10575
+ "type": "boolean"
10576
+ }
10577
+ },
10578
+ "required": [
10579
+ "enabled"
10580
+ ],
10581
+ "additionalProperties": false
10582
+ },
10583
+ "description": "**EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name."
10454
10584
  },
10455
10585
  "channels": {
10456
10586
  "type": "object",
@@ -10566,6 +10696,10 @@ export const state = {
10566
10696
  "additionalProperties": false
10567
10697
  }
10568
10698
  },
10699
+ "maxExecutionTime": {
10700
+ "type": "integer",
10701
+ "description": "Maximum execution time of the integration (in seconds)."
10702
+ },
10569
10703
  "identifier": {
10570
10704
  "type": "object",
10571
10705
  "properties": {
@@ -13650,7 +13784,7 @@ export const state = {
13650
13784
  "title": "Botpress API",
13651
13785
  "description": "API for Botpress Cloud",
13652
13786
  "server": "https://api.botpress.cloud",
13653
- "version": "1.28.1",
13787
+ "version": "1.29.0",
13654
13788
  "prefix": "v1"
13655
13789
  },
13656
13790
  "errors": [
@@ -13795,6 +13929,7 @@ export const state = {
13795
13929
  "createWorkspaceBody": true,
13796
13930
  "updateWorkspaceBody": true,
13797
13931
  "checkHandleAvailabilityBody": true,
13932
+ "setWorkspacePreferenceBody": true,
13798
13933
  "createWorkspaceMemberBody": true,
13799
13934
  "updateWorkspaceMemberBody": true,
13800
13935
  "createIntegrationApiKeyBody": true,
@@ -13875,6 +14010,8 @@ export const state = {
13875
14010
  "listPublicWorkspacesResponse": true,
13876
14011
  "deleteWorkspaceResponse": true,
13877
14012
  "getAuditRecordsResponse": true,
14013
+ "setWorkspacePreferenceResponse": true,
14014
+ "getWorkspacePreferenceResponse": true,
13878
14015
  "listWorkspaceMembersResponse": true,
13879
14016
  "getWorkspaceMemberResponse": true,
13880
14017
  "deleteWorkspaceMemberResponse": true,
@@ -14198,6 +14335,10 @@ export const state = {
14198
14335
  },
14199
14336
  "description": "A mapping of plugin aliases to their configuration"
14200
14337
  },
14338
+ "maxExecutionTime": {
14339
+ "type": "number",
14340
+ "description": "Maximum execution time of the bot (in seconds)."
14341
+ },
14201
14342
  "user": {
14202
14343
  "type": "object",
14203
14344
  "properties": {
@@ -14649,6 +14790,10 @@ export const state = {
14649
14790
  },
14650
14791
  "additionalProperties": false
14651
14792
  },
14793
+ "maxExecutionTime": {
14794
+ "type": "number",
14795
+ "description": "Maximum execution time of the integration (in seconds)."
14796
+ },
14652
14797
  "url": {
14653
14798
  "type": "string",
14654
14799
  "maxLength": 2000,
@@ -17598,7 +17743,9 @@ export const state = {
17598
17743
  "listWorkspaces",
17599
17744
  "listPublicWorkspaces",
17600
17745
  "deleteWorkspace",
17601
- "getAuditRecords"
17746
+ "getAuditRecords",
17747
+ "setWorkspacePreference",
17748
+ "getWorkspacePreference"
17602
17749
  ],
17603
17750
  "schema": "Workspace"
17604
17751
  },