@botpress/api 0.21.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.",
@@ -8225,8 +8118,7 @@ export const state = {
8225
8118
  "x-name": {
8226
8119
  "type": "string",
8227
8120
  "description": "File name",
8228
- "in": "header",
8229
- "required": true
8121
+ "in": "header"
8230
8122
  },
8231
8123
  "x-tags": {
8232
8124
  "type": "string",
@@ -8240,7 +8132,7 @@ export const state = {
8240
8132
  },
8241
8133
  "x-index": {
8242
8134
  "type": "boolean",
8243
- "description": "Set to a value of \"true\" to index the file in vector storage. Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards the Vector Storage quota of the workspace rather than the File Storage quota.",
8135
+ "description": "Set to a value of \"true\" to index the file in vector storage (default: false). Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards the Vector Storage quota of the workspace rather than the File Storage quota.",
8244
8136
  "in": "header"
8245
8137
  },
8246
8138
  "Content-Type": {
@@ -8905,6 +8797,10 @@ export const state = {
8905
8797
  "maximum": 30,
8906
8798
  "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1."
8907
8799
  },
8800
+ "frozen": {
8801
+ "type": "boolean",
8802
+ "description": "A table designated as \"frozen\" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations."
8803
+ },
8908
8804
  "schema": {
8909
8805
  "type": "object",
8910
8806
  "additionalProperties": true,
@@ -8980,6 +8876,10 @@ export const state = {
8980
8876
  "maximum": 30,
8981
8877
  "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1."
8982
8878
  },
8879
+ "frozen": {
8880
+ "type": "boolean",
8881
+ "description": "A table designated as \"frozen\" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations."
8882
+ },
8983
8883
  "schema": {
8984
8884
  "type": "object",
8985
8885
  "additionalProperties": true,
@@ -9098,6 +8998,10 @@ export const state = {
9098
8998
  "type": "string",
9099
8999
  "minLength": 1
9100
9000
  },
9001
+ "frozen": {
9002
+ "type": "boolean",
9003
+ "description": "A table designated as \"frozen\" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations."
9004
+ },
9101
9005
  "schema": {
9102
9006
  "type": "object",
9103
9007
  "additionalProperties": true,
@@ -9643,7 +9547,7 @@ export const state = {
9643
9547
  "title": "Botpress API",
9644
9548
  "description": "API for Botpress Cloud",
9645
9549
  "server": "https://api.botpress.cloud",
9646
- "version": "0.21.0",
9550
+ "version": "0.23.0",
9647
9551
  "prefix": "v1"
9648
9552
  },
9649
9553
  "errors": [
@@ -9877,7 +9781,6 @@ export const state = {
9877
9781
  "listBotIssuesResponse": true,
9878
9782
  "deleteBotIssueResponse": true,
9879
9783
  "listBotIssueEventsResponse": true,
9880
- "getWorkspaceBillingDetailsResponse": true,
9881
9784
  "setWorkspacePaymentMethodResponse": true,
9882
9785
  "listWorkspaceInvoicesResponse": true,
9883
9786
  "getUpcomingInvoiceResponse": true,
@@ -11746,6 +11649,10 @@ export const state = {
11746
11649
  "maximum": 30,
11747
11650
  "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1."
11748
11651
  },
11652
+ "frozen": {
11653
+ "type": "boolean",
11654
+ "description": "A table designated as \"frozen\" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations."
11655
+ },
11749
11656
  "schema": {
11750
11657
  "type": "object",
11751
11658
  "properties": {
@@ -12178,7 +12085,6 @@ export const state = {
12178
12085
  "description": "",
12179
12086
  "name": "workspace",
12180
12087
  "operations": [
12181
- "getWorkspaceBillingDetails",
12182
12088
  "setWorkspacePaymentMethod",
12183
12089
  "listWorkspaceInvoices",
12184
12090
  "getUpcomingInvoice",