@botpress/api 0.15.10 → 0.15.12

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
@@ -1567,11 +1567,10 @@ export const state = {
1567
1567
  additionalProperties: true,
1568
1568
  },
1569
1569
  result: {
1570
- type: "object",
1571
- additionalProperties: true,
1570
+ nullable: true,
1572
1571
  },
1573
1572
  },
1574
- required: ["data", "result"],
1573
+ required: ["data"],
1575
1574
  title: "runVrlResponse",
1576
1575
  additionalProperties: false,
1577
1576
  },
@@ -4915,7 +4914,7 @@ export const state = {
4915
4914
  type: "string",
4916
4915
  },
4917
4916
  description:
4918
- "Secrets are integration-wide values available in the code via environment variables formatted as SECRET_${YOUR_SECRET_NAME}. A secret name must respect SCREAMING_SNAKE casing.",
4917
+ "Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.",
4919
4918
  },
4920
4919
  code: {
4921
4920
  type: "string",
@@ -5302,7 +5301,7 @@ export const state = {
5302
5301
  nullable: true,
5303
5302
  },
5304
5303
  description:
5305
- "Secrets are integration-wide values available in the code via environment variables formatted as SECRET_${YOUR_SECRET_NAME}. A secret name must respect SCREAMING_SNAKE casing.",
5304
+ "Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.",
5306
5305
  },
5307
5306
  code: {
5308
5307
  type: "string",
@@ -5984,7 +5983,7 @@ export const state = {
5984
5983
  title: "Botpress API",
5985
5984
  description: "API for Botpress Cloud",
5986
5985
  server: "https://api.botpress.cloud",
5987
- version: "0.15.10",
5986
+ version: "0.15.12",
5988
5987
  prefix: "v1",
5989
5988
  },
5990
5989
  errors: [
@@ -7034,7 +7033,7 @@ export const state = {
7034
7033
  type: "string",
7035
7034
  },
7036
7035
  description:
7037
- "Secrets are integration-wide values available in the code via environment variables formatted as SECRET_${YOUR_SECRET_NAME}. A secret name must respect SCREAMING_SNAKE casing.",
7036
+ "Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.",
7038
7037
  },
7039
7038
  },
7040
7039
  required: [
@@ -7720,14 +7719,41 @@ export const state = {
7720
7719
  description:
7721
7720
  'TypeScript typings for the column. Recommended if the type is "object", ex: "\\{ foo: string; bar: number \\}"',
7722
7721
  },
7722
+ schema: {
7723
+ type: "object",
7724
+ properties: {},
7725
+ additionalProperties: true,
7726
+ },
7723
7727
  },
7724
- required: ["id", "name", "type"],
7728
+ required: ["name", "type"],
7725
7729
  },
7726
7730
  maxItems: 20,
7727
7731
  description: "Array of columns in the table.",
7728
7732
  },
7733
+ schema: {
7734
+ type: "object",
7735
+ additionalProperties: true,
7736
+ description:
7737
+ "Provide an object or a JSON schema to define the columns of the table. A maximum of 20 keys in the object/schema is allowed.",
7738
+ },
7739
+ tags: {
7740
+ type: "object",
7741
+ additionalProperties: {
7742
+ type: "string",
7743
+ },
7744
+ description:
7745
+ "Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs.",
7746
+ },
7747
+ createdAt: {
7748
+ type: "string",
7749
+ description: "Timestamp of table creation.",
7750
+ },
7751
+ updatedAt: {
7752
+ type: "string",
7753
+ description: "Timestamp of the last table update.",
7754
+ },
7729
7755
  },
7730
- required: ["id", "name", "columns"],
7756
+ required: ["id", "name", "columns", "schema"],
7731
7757
  additionalProperties: false,
7732
7758
  },
7733
7759
  },
@@ -7766,8 +7792,12 @@ export const state = {
7766
7792
  description:
7767
7793
  'TypeScript typings for the column. Recommended if the type is "object", ex: "\\{ foo: string; bar: number \\}"',
7768
7794
  },
7795
+ schema: {
7796
+ type: "object",
7797
+ additionalProperties: true,
7798
+ },
7769
7799
  },
7770
- required: ["id", "name", "type"],
7800
+ required: ["name", "type"],
7771
7801
  additionalProperties: false,
7772
7802
  },
7773
7803
  },