@botpress/api 0.22.0 → 0.23.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
@@ -4710,113 +4710,6 @@ export const state = {
4710
4710
  }
4711
4711
  }
4712
4712
  },
4713
- "getWorkspaceBillingDetails": {
4714
- "name": "getWorkspaceBillingDetails",
4715
- "description": "Get billing details of workspace",
4716
- "method": "get",
4717
- "path": "/v1/admin/workspaces/{id}/billing/details",
4718
- "disableDefaultParameters": {
4719
- "x-workspace-id": true
4720
- },
4721
- "parameters": {
4722
- "id": {
4723
- "type": "string",
4724
- "description": "Workspace ID",
4725
- "in": "path"
4726
- }
4727
- },
4728
- "section": "workspace",
4729
- "response": {
4730
- "description": "Success",
4731
- "schema": {
4732
- "type": "object",
4733
- "properties": {
4734
- "currentPeriod": {
4735
- "type": "object",
4736
- "properties": {
4737
- "start": {
4738
- "type": "string"
4739
- },
4740
- "end": {
4741
- "type": "string"
4742
- },
4743
- "usage": {
4744
- "type": "object",
4745
- "properties": {
4746
- "userMessages": {
4747
- "type": "object",
4748
- "properties": {
4749
- "status": {
4750
- "type": "string",
4751
- "enum": [
4752
- "OK",
4753
- "Warning",
4754
- "LimitReached"
4755
- ]
4756
- },
4757
- "quantity": {
4758
- "type": "number"
4759
- },
4760
- "price": {
4761
- "type": "number"
4762
- },
4763
- "minimum": {
4764
- "type": "number"
4765
- },
4766
- "maximum": {
4767
- "type": "number"
4768
- }
4769
- },
4770
- "required": [
4771
- "status",
4772
- "quantity",
4773
- "price",
4774
- "minimum",
4775
- "maximum"
4776
- ],
4777
- "additionalProperties": false
4778
- }
4779
- },
4780
- "required": [
4781
- "userMessages"
4782
- ],
4783
- "additionalProperties": false
4784
- }
4785
- },
4786
- "required": [
4787
- "start",
4788
- "end",
4789
- "usage"
4790
- ],
4791
- "additionalProperties": false
4792
- },
4793
- "paymentMethod": {
4794
- "type": "object",
4795
- "properties": {
4796
- "type": {
4797
- "type": "string"
4798
- },
4799
- "lastDigits": {
4800
- "type": "string"
4801
- }
4802
- },
4803
- "required": [
4804
- "type",
4805
- "lastDigits"
4806
- ],
4807
- "nullable": true,
4808
- "additionalProperties": false
4809
- }
4810
- },
4811
- "required": [
4812
- "currentPeriod",
4813
- "paymentMethod"
4814
- ],
4815
- "title": "getWorkspaceBillingDetailsResponse",
4816
- "additionalProperties": false
4817
- }
4818
- }
4819
- },
4820
4713
  "setWorkspacePaymentMethod": {
4821
4714
  "name": "setWorkspacePaymentMethod",
4822
4715
  "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.",
@@ -9654,7 +9547,7 @@ export const state = {
9654
9547
  "title": "Botpress API",
9655
9548
  "description": "API for Botpress Cloud",
9656
9549
  "server": "https://api.botpress.cloud",
9657
- "version": "0.22.0",
9550
+ "version": "0.23.0",
9658
9551
  "prefix": "v1"
9659
9552
  },
9660
9553
  "errors": [
@@ -9888,7 +9781,6 @@ export const state = {
9888
9781
  "listBotIssuesResponse": true,
9889
9782
  "deleteBotIssueResponse": true,
9890
9783
  "listBotIssueEventsResponse": true,
9891
- "getWorkspaceBillingDetailsResponse": true,
9892
9784
  "setWorkspacePaymentMethodResponse": true,
9893
9785
  "listWorkspaceInvoicesResponse": true,
9894
9786
  "getUpcomingInvoiceResponse": true,
@@ -12193,7 +12085,6 @@ export const state = {
12193
12085
  "description": "",
12194
12086
  "name": "workspace",
12195
12087
  "operations": [
12196
- "getWorkspaceBillingDetails",
12197
12088
  "setWorkspacePaymentMethod",
12198
12089
  "listWorkspaceInvoices",
12199
12090
  "getUpcomingInvoice",