@botpress/api 0.22.0 → 0.24.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
@@ -587,6 +587,11 @@ export const state = {
587
587
  "in": "query",
588
588
  "type": "string",
589
589
  "description": "Filter by message id"
590
+ },
591
+ "status": {
592
+ "in": "query",
593
+ "type": "string",
594
+ "description": "Filter by status. Allowed values: pending, ignored, processed, failed."
590
595
  }
591
596
  },
592
597
  "response": {
@@ -4710,113 +4715,6 @@ export const state = {
4710
4715
  }
4711
4716
  }
4712
4717
  },
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
4718
  "setWorkspacePaymentMethod": {
4821
4719
  "name": "setWorkspacePaymentMethod",
4822
4720
  "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 +9552,7 @@ export const state = {
9654
9552
  "title": "Botpress API",
9655
9553
  "description": "API for Botpress Cloud",
9656
9554
  "server": "https://api.botpress.cloud",
9657
- "version": "0.22.0",
9555
+ "version": "0.24.0",
9658
9556
  "prefix": "v1"
9659
9557
  },
9660
9558
  "errors": [
@@ -9888,7 +9786,6 @@ export const state = {
9888
9786
  "listBotIssuesResponse": true,
9889
9787
  "deleteBotIssueResponse": true,
9890
9788
  "listBotIssueEventsResponse": true,
9891
- "getWorkspaceBillingDetailsResponse": true,
9892
9789
  "setWorkspacePaymentMethodResponse": true,
9893
9790
  "listWorkspaceInvoicesResponse": true,
9894
9791
  "getUpcomingInvoiceResponse": true,
@@ -12193,7 +12090,6 @@ export const state = {
12193
12090
  "description": "",
12194
12091
  "name": "workspace",
12195
12092
  "operations": [
12196
- "getWorkspaceBillingDetails",
12197
12093
  "setWorkspacePaymentMethod",
12198
12094
  "listWorkspaceInvoices",
12199
12095
  "getUpcomingInvoice",