@botpress/api 0.45.3 → 0.47.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/src/gen/state.ts CHANGED
@@ -142,6 +142,11 @@ export const state = {
142
142
  "in": "query",
143
143
  "type": "string",
144
144
  "description": "Filter by integration name"
145
+ },
146
+ "channel": {
147
+ "in": "query",
148
+ "type": "string",
149
+ "description": "Filter by integration channel name"
145
150
  }
146
151
  },
147
152
  "section": "conversation",
@@ -6141,100 +6146,6 @@ export const state = {
6141
6146
  }
6142
6147
  }
6143
6148
  },
6144
- "setWorkspacePaymentMethod": {
6145
- "name": "setWorkspacePaymentMethod",
6146
- "description": "Set the Stripe PaymentMethod to use for billing the workspace. To create a PaymentMethod, use the Stripe API or SDK with our Stripe Publishable Key which is listed in this documentation.",
6147
- "method": "put",
6148
- "path": "/v1/admin/workspaces/{id}/billing/payment-method",
6149
- "disableDefaultParameters": {
6150
- "x-workspace-id": true
6151
- },
6152
- "parameters": {
6153
- "id": {
6154
- "type": "string",
6155
- "description": "Workspace ID",
6156
- "in": "path"
6157
- }
6158
- },
6159
- "section": "workspace",
6160
- "requestBody": {
6161
- "description": "",
6162
- "schema": {
6163
- "type": "object",
6164
- "properties": {
6165
- "stripePaymentMethodId": {
6166
- "type": "string",
6167
- "description": "ID of the Stripe PaymentMethod to attach to the workspace."
6168
- }
6169
- },
6170
- "required": [
6171
- "stripePaymentMethodId"
6172
- ],
6173
- "title": "setWorkspacePaymentMethodBody",
6174
- "additionalProperties": false
6175
- }
6176
- },
6177
- "response": {
6178
- "description": "Success",
6179
- "schema": {
6180
- "type": "object",
6181
- "properties": {
6182
- "stripePaymentMethodId": {
6183
- "type": "string"
6184
- },
6185
- "paymentMethod": {
6186
- "type": "object",
6187
- "properties": {
6188
- "type": {
6189
- "type": "string"
6190
- },
6191
- "lastDigits": {
6192
- "type": "string"
6193
- }
6194
- },
6195
- "required": [
6196
- "type",
6197
- "lastDigits"
6198
- ],
6199
- "nullable": true,
6200
- "additionalProperties": false
6201
- },
6202
- "status": {
6203
- "type": "string",
6204
- "enum": [
6205
- "succeeded",
6206
- "processing",
6207
- "canceled",
6208
- "requires_confirmation",
6209
- "requires_action",
6210
- "requires_payment_method"
6211
- ]
6212
- },
6213
- "nextAction": {
6214
- "type": "object",
6215
- "properties": {
6216
- "redirectToUrl": {
6217
- "type": "string",
6218
- "format": "uri"
6219
- }
6220
- },
6221
- "required": [
6222
- "redirectToUrl"
6223
- ],
6224
- "description": "If the payment needs to be confirmed, this will contain a URL to redirect the user to so they can complete the verification process to confirm it.",
6225
- "additionalProperties": false
6226
- }
6227
- },
6228
- "required": [
6229
- "stripePaymentMethodId",
6230
- "paymentMethod",
6231
- "status"
6232
- ],
6233
- "title": "setWorkspacePaymentMethodResponse",
6234
- "additionalProperties": false
6235
- }
6236
- }
6237
- },
6238
6149
  "listWorkspaceInvoices": {
6239
6150
  "name": "listWorkspaceInvoices",
6240
6151
  "description": "List invoices billed to workspace",
@@ -12391,7 +12302,7 @@ export const state = {
12391
12302
  "title": "Botpress API",
12392
12303
  "description": "API for Botpress Cloud",
12393
12304
  "server": "https://api.botpress.cloud",
12394
- "version": "0.45.3",
12305
+ "version": "0.47.0",
12395
12306
  "prefix": "v1"
12396
12307
  },
12397
12308
  "errors": [
@@ -12551,7 +12462,6 @@ export const state = {
12551
12462
  "transferBotBody": true,
12552
12463
  "createBotVersionBody": true,
12553
12464
  "deployBotVersionBody": true,
12554
- "setWorkspacePaymentMethodBody": true,
12555
12465
  "chargeWorkspaceUnpaidInvoicesBody": true,
12556
12466
  "createWorkspaceBody": true,
12557
12467
  "updateWorkspaceBody": true,
@@ -12652,7 +12562,6 @@ export const state = {
12652
12562
  "getBotVersionResponse": true,
12653
12563
  "createBotVersionResponse": true,
12654
12564
  "deployBotVersionResponse": true,
12655
- "setWorkspacePaymentMethodResponse": true,
12656
12565
  "listWorkspaceInvoicesResponse": true,
12657
12566
  "getUpcomingInvoiceResponse": true,
12658
12567
  "chargeWorkspaceUnpaidInvoicesResponse": true,
@@ -15760,7 +15669,6 @@ export const state = {
15760
15669
  "description": "",
15761
15670
  "name": "workspace",
15762
15671
  "operations": [
15763
- "setWorkspacePaymentMethod",
15764
15672
  "listWorkspaceInvoices",
15765
15673
  "getUpcomingInvoice",
15766
15674
  "chargeWorkspaceUnpaidInvoices",