@botpress/api 0.25.0 → 0.26.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 +39 -160
- package/dist/src/gen/state.d.ts +19 -113
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +29 -150
package/src/gen/state.ts
CHANGED
|
@@ -2469,6 +2469,11 @@ export const state = {
|
|
|
2469
2469
|
"description": "Global identifier configuration of the [Integration](#schema_integration)",
|
|
2470
2470
|
"additionalProperties": false
|
|
2471
2471
|
},
|
|
2472
|
+
"url": {
|
|
2473
|
+
"type": "string",
|
|
2474
|
+
"maxLength": 2000,
|
|
2475
|
+
"description": "Title describing the task"
|
|
2476
|
+
},
|
|
2472
2477
|
"name": {
|
|
2473
2478
|
"type": "string",
|
|
2474
2479
|
"maxLength": 200,
|
|
@@ -2883,6 +2888,7 @@ export const state = {
|
|
|
2883
2888
|
"createdAt",
|
|
2884
2889
|
"updatedAt",
|
|
2885
2890
|
"identifier",
|
|
2891
|
+
"url",
|
|
2886
2892
|
"name",
|
|
2887
2893
|
"version",
|
|
2888
2894
|
"configuration",
|
|
@@ -2974,6 +2980,11 @@ export const state = {
|
|
|
2974
2980
|
"description": "Global identifier configuration of the [Integration](#schema_integration)",
|
|
2975
2981
|
"additionalProperties": false
|
|
2976
2982
|
},
|
|
2983
|
+
"url": {
|
|
2984
|
+
"type": "string",
|
|
2985
|
+
"maxLength": 2000,
|
|
2986
|
+
"description": "Title describing the task"
|
|
2987
|
+
},
|
|
2977
2988
|
"name": {
|
|
2978
2989
|
"type": "string",
|
|
2979
2990
|
"maxLength": 200,
|
|
@@ -3388,6 +3399,7 @@ export const state = {
|
|
|
3388
3399
|
"createdAt",
|
|
3389
3400
|
"updatedAt",
|
|
3390
3401
|
"identifier",
|
|
3402
|
+
"url",
|
|
3391
3403
|
"name",
|
|
3392
3404
|
"version",
|
|
3393
3405
|
"configuration",
|
|
@@ -6073,142 +6085,6 @@ export const state = {
|
|
|
6073
6085
|
}
|
|
6074
6086
|
}
|
|
6075
6087
|
},
|
|
6076
|
-
"changeWorkspacePlan": {
|
|
6077
|
-
"name": "changeWorkspacePlan",
|
|
6078
|
-
"description": "Change workspace billing plan",
|
|
6079
|
-
"section": "workspace",
|
|
6080
|
-
"method": "put",
|
|
6081
|
-
"path": "/v1/admin/workspaces/{id}/change-plan",
|
|
6082
|
-
"disableDefaultParameters": {
|
|
6083
|
-
"x-workspace-id": true
|
|
6084
|
-
},
|
|
6085
|
-
"parameters": {
|
|
6086
|
-
"id": {
|
|
6087
|
-
"type": "string",
|
|
6088
|
-
"description": "Workspace ID",
|
|
6089
|
-
"in": "path"
|
|
6090
|
-
}
|
|
6091
|
-
},
|
|
6092
|
-
"requestBody": {
|
|
6093
|
-
"description": "Billing plan to change the workspace to",
|
|
6094
|
-
"schema": {
|
|
6095
|
-
"type": "object",
|
|
6096
|
-
"properties": {
|
|
6097
|
-
"plan": {
|
|
6098
|
-
"type": "string",
|
|
6099
|
-
"enum": [
|
|
6100
|
-
"free",
|
|
6101
|
-
"premium"
|
|
6102
|
-
]
|
|
6103
|
-
}
|
|
6104
|
-
},
|
|
6105
|
-
"required": [
|
|
6106
|
-
"plan"
|
|
6107
|
-
],
|
|
6108
|
-
"title": "changeWorkspacePlanBody",
|
|
6109
|
-
"additionalProperties": false
|
|
6110
|
-
}
|
|
6111
|
-
},
|
|
6112
|
-
"response": {
|
|
6113
|
-
"description": "Success",
|
|
6114
|
-
"schema": {
|
|
6115
|
-
"type": "object",
|
|
6116
|
-
"properties": {
|
|
6117
|
-
"id": {
|
|
6118
|
-
"type": "string"
|
|
6119
|
-
},
|
|
6120
|
-
"name": {
|
|
6121
|
-
"type": "string"
|
|
6122
|
-
},
|
|
6123
|
-
"ownerId": {
|
|
6124
|
-
"type": "string"
|
|
6125
|
-
},
|
|
6126
|
-
"createdAt": {
|
|
6127
|
-
"type": "string"
|
|
6128
|
-
},
|
|
6129
|
-
"updatedAt": {
|
|
6130
|
-
"type": "string"
|
|
6131
|
-
},
|
|
6132
|
-
"botCount": {
|
|
6133
|
-
"type": "number"
|
|
6134
|
-
},
|
|
6135
|
-
"accountType": {
|
|
6136
|
-
"type": "string",
|
|
6137
|
-
"enum": [
|
|
6138
|
-
"free",
|
|
6139
|
-
"premium"
|
|
6140
|
-
]
|
|
6141
|
-
},
|
|
6142
|
-
"billingVersion": {
|
|
6143
|
-
"type": "string",
|
|
6144
|
-
"enum": [
|
|
6145
|
-
"v1",
|
|
6146
|
-
"v2"
|
|
6147
|
-
]
|
|
6148
|
-
},
|
|
6149
|
-
"plan": {
|
|
6150
|
-
"type": "string",
|
|
6151
|
-
"enum": [
|
|
6152
|
-
"community",
|
|
6153
|
-
"team",
|
|
6154
|
-
"enterprise"
|
|
6155
|
-
]
|
|
6156
|
-
},
|
|
6157
|
-
"blocked": {
|
|
6158
|
-
"type": "boolean"
|
|
6159
|
-
},
|
|
6160
|
-
"spendingLimit": {
|
|
6161
|
-
"type": "number"
|
|
6162
|
-
},
|
|
6163
|
-
"about": {
|
|
6164
|
-
"default": "",
|
|
6165
|
-
"type": "string"
|
|
6166
|
-
},
|
|
6167
|
-
"profilePicture": {
|
|
6168
|
-
"default": "",
|
|
6169
|
-
"type": "string"
|
|
6170
|
-
},
|
|
6171
|
-
"contactEmail": {
|
|
6172
|
-
"default": "",
|
|
6173
|
-
"type": "string"
|
|
6174
|
-
},
|
|
6175
|
-
"website": {
|
|
6176
|
-
"default": "",
|
|
6177
|
-
"type": "string"
|
|
6178
|
-
},
|
|
6179
|
-
"socialAccounts": {
|
|
6180
|
-
"default": [],
|
|
6181
|
-
"type": "array",
|
|
6182
|
-
"items": {
|
|
6183
|
-
"type": "string"
|
|
6184
|
-
}
|
|
6185
|
-
},
|
|
6186
|
-
"isPublic": {
|
|
6187
|
-
"type": "boolean"
|
|
6188
|
-
},
|
|
6189
|
-
"handle": {
|
|
6190
|
-
"default": "",
|
|
6191
|
-
"type": "string"
|
|
6192
|
-
}
|
|
6193
|
-
},
|
|
6194
|
-
"required": [
|
|
6195
|
-
"id",
|
|
6196
|
-
"name",
|
|
6197
|
-
"ownerId",
|
|
6198
|
-
"createdAt",
|
|
6199
|
-
"updatedAt",
|
|
6200
|
-
"botCount",
|
|
6201
|
-
"accountType",
|
|
6202
|
-
"billingVersion",
|
|
6203
|
-
"plan",
|
|
6204
|
-
"blocked",
|
|
6205
|
-
"spendingLimit"
|
|
6206
|
-
],
|
|
6207
|
-
"title": "changeWorkspacePlanResponse",
|
|
6208
|
-
"additionalProperties": false
|
|
6209
|
-
}
|
|
6210
|
-
}
|
|
6211
|
-
},
|
|
6212
6088
|
"deleteWorkspace": {
|
|
6213
6089
|
"name": "deleteWorkspace",
|
|
6214
6090
|
"description": "Delete workspace",
|
|
@@ -6306,14 +6182,12 @@ export const state = {
|
|
|
6306
6182
|
"DELETE_BOT",
|
|
6307
6183
|
"DEPLOY_BOT",
|
|
6308
6184
|
"TRANSFER_BOT",
|
|
6309
|
-
"DOWNGRADE_WORKSPACE_PLAN",
|
|
6310
6185
|
"DOWNLOAD_BOT_ARCHIVE",
|
|
6311
6186
|
"UPDATE_BOT",
|
|
6312
6187
|
"UPDATE_BOT_CHANNEL",
|
|
6313
6188
|
"UPDATE_BOT_CONFIG",
|
|
6314
6189
|
"UPDATE_PAYMENT_METHOD",
|
|
6315
6190
|
"UPDATE_WORKSPACE",
|
|
6316
|
-
"UPGRADE_WORKSPACE_PLAN",
|
|
6317
6191
|
"SET_SPENDING_LIMIT",
|
|
6318
6192
|
"SET_AI_SPENDING_LIMIT"
|
|
6319
6193
|
]
|
|
@@ -6605,9 +6479,9 @@ export const state = {
|
|
|
6605
6479
|
"section": "integration",
|
|
6606
6480
|
"path": "/v1/admin/integrations/iaks",
|
|
6607
6481
|
"parameters": {
|
|
6608
|
-
"
|
|
6482
|
+
"integrationId": {
|
|
6609
6483
|
"in": "query",
|
|
6610
|
-
"description": "ID of the integration
|
|
6484
|
+
"description": "ID of the integration",
|
|
6611
6485
|
"type": "string",
|
|
6612
6486
|
"required": true
|
|
6613
6487
|
}
|
|
@@ -6660,7 +6534,7 @@ export const state = {
|
|
|
6660
6534
|
"schema": {
|
|
6661
6535
|
"type": "object",
|
|
6662
6536
|
"properties": {
|
|
6663
|
-
"
|
|
6537
|
+
"integrationId": {
|
|
6664
6538
|
"type": "string"
|
|
6665
6539
|
},
|
|
6666
6540
|
"note": {
|
|
@@ -6668,7 +6542,7 @@ export const state = {
|
|
|
6668
6542
|
}
|
|
6669
6543
|
},
|
|
6670
6544
|
"required": [
|
|
6671
|
-
"
|
|
6545
|
+
"integrationId"
|
|
6672
6546
|
],
|
|
6673
6547
|
"title": "createIntegrationApiKeyBody",
|
|
6674
6548
|
"additionalProperties": false
|
|
@@ -7096,7 +6970,7 @@ export const state = {
|
|
|
7096
6970
|
},
|
|
7097
6971
|
"url": {
|
|
7098
6972
|
"type": "string",
|
|
7099
|
-
"description": "URL of the integration
|
|
6973
|
+
"description": "URL of the integration"
|
|
7100
6974
|
},
|
|
7101
6975
|
"dev": {
|
|
7102
6976
|
"type": "boolean",
|
|
@@ -7546,7 +7420,8 @@ export const state = {
|
|
|
7546
7420
|
},
|
|
7547
7421
|
"url": {
|
|
7548
7422
|
"type": "string",
|
|
7549
|
-
"description": "URL of the integration
|
|
7423
|
+
"description": "URL of the integration",
|
|
7424
|
+
"nullable": true
|
|
7550
7425
|
},
|
|
7551
7426
|
"public": {
|
|
7552
7427
|
"type": "boolean",
|
|
@@ -8597,9 +8472,10 @@ export const state = {
|
|
|
8597
8472
|
"type": "object",
|
|
8598
8473
|
"additionalProperties": {
|
|
8599
8474
|
"type": "string",
|
|
8600
|
-
"maxLength": 1000
|
|
8475
|
+
"maxLength": 1000,
|
|
8476
|
+
"nullable": true
|
|
8601
8477
|
},
|
|
8602
|
-
"description": "The tags to update as an object of key/value pairs.
|
|
8478
|
+
"description": "The file tags to update as an object of key/value pairs with string (text) values. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`."
|
|
8603
8479
|
}
|
|
8604
8480
|
},
|
|
8605
8481
|
"required": [
|
|
@@ -9596,7 +9472,7 @@ export const state = {
|
|
|
9596
9472
|
"title": "Botpress API",
|
|
9597
9473
|
"description": "API for Botpress Cloud",
|
|
9598
9474
|
"server": "https://api.botpress.cloud",
|
|
9599
|
-
"version": "0.
|
|
9475
|
+
"version": "0.26.0",
|
|
9600
9476
|
"prefix": "v1"
|
|
9601
9477
|
},
|
|
9602
9478
|
"errors": [
|
|
@@ -9749,7 +9625,6 @@ export const state = {
|
|
|
9749
9625
|
"createWorkspaceBody": true,
|
|
9750
9626
|
"updateWorkspaceBody": true,
|
|
9751
9627
|
"checkHandleAvailabilityBody": true,
|
|
9752
|
-
"changeWorkspacePlanBody": true,
|
|
9753
9628
|
"createWorkspaceMemberBody": true,
|
|
9754
9629
|
"updateWorkspaceMemberBody": true,
|
|
9755
9630
|
"createIntegrationApiKeyBody": true,
|
|
@@ -9845,7 +9720,6 @@ export const state = {
|
|
|
9845
9720
|
"updateWorkspaceResponse": true,
|
|
9846
9721
|
"checkHandleAvailabilityResponse": true,
|
|
9847
9722
|
"listWorkspacesResponse": true,
|
|
9848
|
-
"changeWorkspacePlanResponse": true,
|
|
9849
9723
|
"deleteWorkspaceResponse": true,
|
|
9850
9724
|
"getAuditRecordsResponse": true,
|
|
9851
9725
|
"listWorkspaceMembersResponse": true,
|
|
@@ -10457,6 +10331,11 @@ export const state = {
|
|
|
10457
10331
|
"description": "Global identifier configuration of the [Integration](#schema_integration)",
|
|
10458
10332
|
"additionalProperties": false
|
|
10459
10333
|
},
|
|
10334
|
+
"url": {
|
|
10335
|
+
"type": "string",
|
|
10336
|
+
"maxLength": 2000,
|
|
10337
|
+
"description": "Title describing the task"
|
|
10338
|
+
},
|
|
10460
10339
|
"name": {
|
|
10461
10340
|
"type": "string",
|
|
10462
10341
|
"maxLength": 200,
|
|
@@ -10850,6 +10729,7 @@ export const state = {
|
|
|
10850
10729
|
"createdAt",
|
|
10851
10730
|
"updatedAt",
|
|
10852
10731
|
"identifier",
|
|
10732
|
+
"url",
|
|
10853
10733
|
"name",
|
|
10854
10734
|
"version",
|
|
10855
10735
|
"configuration",
|
|
@@ -12163,7 +12043,6 @@ export const state = {
|
|
|
12163
12043
|
"updateWorkspace",
|
|
12164
12044
|
"checkHandleAvailability",
|
|
12165
12045
|
"listWorkspaces",
|
|
12166
|
-
"changeWorkspacePlan",
|
|
12167
12046
|
"deleteWorkspace",
|
|
12168
12047
|
"getAuditRecords"
|
|
12169
12048
|
],
|