@botpress/api 0.25.1 → 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 +14 -154
- package/dist/src/gen/state.d.ts +1 -111
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +4 -144
package/src/gen/state.ts
CHANGED
|
@@ -6085,142 +6085,6 @@ export const state = {
|
|
|
6085
6085
|
}
|
|
6086
6086
|
}
|
|
6087
6087
|
},
|
|
6088
|
-
"changeWorkspacePlan": {
|
|
6089
|
-
"name": "changeWorkspacePlan",
|
|
6090
|
-
"description": "Change workspace billing plan",
|
|
6091
|
-
"section": "workspace",
|
|
6092
|
-
"method": "put",
|
|
6093
|
-
"path": "/v1/admin/workspaces/{id}/change-plan",
|
|
6094
|
-
"disableDefaultParameters": {
|
|
6095
|
-
"x-workspace-id": true
|
|
6096
|
-
},
|
|
6097
|
-
"parameters": {
|
|
6098
|
-
"id": {
|
|
6099
|
-
"type": "string",
|
|
6100
|
-
"description": "Workspace ID",
|
|
6101
|
-
"in": "path"
|
|
6102
|
-
}
|
|
6103
|
-
},
|
|
6104
|
-
"requestBody": {
|
|
6105
|
-
"description": "Billing plan to change the workspace to",
|
|
6106
|
-
"schema": {
|
|
6107
|
-
"type": "object",
|
|
6108
|
-
"properties": {
|
|
6109
|
-
"plan": {
|
|
6110
|
-
"type": "string",
|
|
6111
|
-
"enum": [
|
|
6112
|
-
"free",
|
|
6113
|
-
"premium"
|
|
6114
|
-
]
|
|
6115
|
-
}
|
|
6116
|
-
},
|
|
6117
|
-
"required": [
|
|
6118
|
-
"plan"
|
|
6119
|
-
],
|
|
6120
|
-
"title": "changeWorkspacePlanBody",
|
|
6121
|
-
"additionalProperties": false
|
|
6122
|
-
}
|
|
6123
|
-
},
|
|
6124
|
-
"response": {
|
|
6125
|
-
"description": "Success",
|
|
6126
|
-
"schema": {
|
|
6127
|
-
"type": "object",
|
|
6128
|
-
"properties": {
|
|
6129
|
-
"id": {
|
|
6130
|
-
"type": "string"
|
|
6131
|
-
},
|
|
6132
|
-
"name": {
|
|
6133
|
-
"type": "string"
|
|
6134
|
-
},
|
|
6135
|
-
"ownerId": {
|
|
6136
|
-
"type": "string"
|
|
6137
|
-
},
|
|
6138
|
-
"createdAt": {
|
|
6139
|
-
"type": "string"
|
|
6140
|
-
},
|
|
6141
|
-
"updatedAt": {
|
|
6142
|
-
"type": "string"
|
|
6143
|
-
},
|
|
6144
|
-
"botCount": {
|
|
6145
|
-
"type": "number"
|
|
6146
|
-
},
|
|
6147
|
-
"accountType": {
|
|
6148
|
-
"type": "string",
|
|
6149
|
-
"enum": [
|
|
6150
|
-
"free",
|
|
6151
|
-
"premium"
|
|
6152
|
-
]
|
|
6153
|
-
},
|
|
6154
|
-
"billingVersion": {
|
|
6155
|
-
"type": "string",
|
|
6156
|
-
"enum": [
|
|
6157
|
-
"v1",
|
|
6158
|
-
"v2"
|
|
6159
|
-
]
|
|
6160
|
-
},
|
|
6161
|
-
"plan": {
|
|
6162
|
-
"type": "string",
|
|
6163
|
-
"enum": [
|
|
6164
|
-
"community",
|
|
6165
|
-
"team",
|
|
6166
|
-
"enterprise"
|
|
6167
|
-
]
|
|
6168
|
-
},
|
|
6169
|
-
"blocked": {
|
|
6170
|
-
"type": "boolean"
|
|
6171
|
-
},
|
|
6172
|
-
"spendingLimit": {
|
|
6173
|
-
"type": "number"
|
|
6174
|
-
},
|
|
6175
|
-
"about": {
|
|
6176
|
-
"default": "",
|
|
6177
|
-
"type": "string"
|
|
6178
|
-
},
|
|
6179
|
-
"profilePicture": {
|
|
6180
|
-
"default": "",
|
|
6181
|
-
"type": "string"
|
|
6182
|
-
},
|
|
6183
|
-
"contactEmail": {
|
|
6184
|
-
"default": "",
|
|
6185
|
-
"type": "string"
|
|
6186
|
-
},
|
|
6187
|
-
"website": {
|
|
6188
|
-
"default": "",
|
|
6189
|
-
"type": "string"
|
|
6190
|
-
},
|
|
6191
|
-
"socialAccounts": {
|
|
6192
|
-
"default": [],
|
|
6193
|
-
"type": "array",
|
|
6194
|
-
"items": {
|
|
6195
|
-
"type": "string"
|
|
6196
|
-
}
|
|
6197
|
-
},
|
|
6198
|
-
"isPublic": {
|
|
6199
|
-
"type": "boolean"
|
|
6200
|
-
},
|
|
6201
|
-
"handle": {
|
|
6202
|
-
"default": "",
|
|
6203
|
-
"type": "string"
|
|
6204
|
-
}
|
|
6205
|
-
},
|
|
6206
|
-
"required": [
|
|
6207
|
-
"id",
|
|
6208
|
-
"name",
|
|
6209
|
-
"ownerId",
|
|
6210
|
-
"createdAt",
|
|
6211
|
-
"updatedAt",
|
|
6212
|
-
"botCount",
|
|
6213
|
-
"accountType",
|
|
6214
|
-
"billingVersion",
|
|
6215
|
-
"plan",
|
|
6216
|
-
"blocked",
|
|
6217
|
-
"spendingLimit"
|
|
6218
|
-
],
|
|
6219
|
-
"title": "changeWorkspacePlanResponse",
|
|
6220
|
-
"additionalProperties": false
|
|
6221
|
-
}
|
|
6222
|
-
}
|
|
6223
|
-
},
|
|
6224
6088
|
"deleteWorkspace": {
|
|
6225
6089
|
"name": "deleteWorkspace",
|
|
6226
6090
|
"description": "Delete workspace",
|
|
@@ -6318,14 +6182,12 @@ export const state = {
|
|
|
6318
6182
|
"DELETE_BOT",
|
|
6319
6183
|
"DEPLOY_BOT",
|
|
6320
6184
|
"TRANSFER_BOT",
|
|
6321
|
-
"DOWNGRADE_WORKSPACE_PLAN",
|
|
6322
6185
|
"DOWNLOAD_BOT_ARCHIVE",
|
|
6323
6186
|
"UPDATE_BOT",
|
|
6324
6187
|
"UPDATE_BOT_CHANNEL",
|
|
6325
6188
|
"UPDATE_BOT_CONFIG",
|
|
6326
6189
|
"UPDATE_PAYMENT_METHOD",
|
|
6327
6190
|
"UPDATE_WORKSPACE",
|
|
6328
|
-
"UPGRADE_WORKSPACE_PLAN",
|
|
6329
6191
|
"SET_SPENDING_LIMIT",
|
|
6330
6192
|
"SET_AI_SPENDING_LIMIT"
|
|
6331
6193
|
]
|
|
@@ -8610,9 +8472,10 @@ export const state = {
|
|
|
8610
8472
|
"type": "object",
|
|
8611
8473
|
"additionalProperties": {
|
|
8612
8474
|
"type": "string",
|
|
8613
|
-
"maxLength": 1000
|
|
8475
|
+
"maxLength": 1000,
|
|
8476
|
+
"nullable": true
|
|
8614
8477
|
},
|
|
8615
|
-
"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`."
|
|
8616
8479
|
}
|
|
8617
8480
|
},
|
|
8618
8481
|
"required": [
|
|
@@ -9609,7 +9472,7 @@ export const state = {
|
|
|
9609
9472
|
"title": "Botpress API",
|
|
9610
9473
|
"description": "API for Botpress Cloud",
|
|
9611
9474
|
"server": "https://api.botpress.cloud",
|
|
9612
|
-
"version": "0.
|
|
9475
|
+
"version": "0.26.0",
|
|
9613
9476
|
"prefix": "v1"
|
|
9614
9477
|
},
|
|
9615
9478
|
"errors": [
|
|
@@ -9762,7 +9625,6 @@ export const state = {
|
|
|
9762
9625
|
"createWorkspaceBody": true,
|
|
9763
9626
|
"updateWorkspaceBody": true,
|
|
9764
9627
|
"checkHandleAvailabilityBody": true,
|
|
9765
|
-
"changeWorkspacePlanBody": true,
|
|
9766
9628
|
"createWorkspaceMemberBody": true,
|
|
9767
9629
|
"updateWorkspaceMemberBody": true,
|
|
9768
9630
|
"createIntegrationApiKeyBody": true,
|
|
@@ -9858,7 +9720,6 @@ export const state = {
|
|
|
9858
9720
|
"updateWorkspaceResponse": true,
|
|
9859
9721
|
"checkHandleAvailabilityResponse": true,
|
|
9860
9722
|
"listWorkspacesResponse": true,
|
|
9861
|
-
"changeWorkspacePlanResponse": true,
|
|
9862
9723
|
"deleteWorkspaceResponse": true,
|
|
9863
9724
|
"getAuditRecordsResponse": true,
|
|
9864
9725
|
"listWorkspaceMembersResponse": true,
|
|
@@ -12182,7 +12043,6 @@ export const state = {
|
|
|
12182
12043
|
"updateWorkspace",
|
|
12183
12044
|
"checkHandleAvailability",
|
|
12184
12045
|
"listWorkspaces",
|
|
12185
|
-
"changeWorkspacePlan",
|
|
12186
12046
|
"deleteWorkspace",
|
|
12187
12047
|
"getAuditRecords"
|
|
12188
12048
|
],
|