@botpress/api 0.7.2 → 0.8.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
@@ -1078,6 +1078,7 @@ export const state = {
1078
1078
  expiry: {
1079
1079
  type: "number",
1080
1080
  minimum: 1,
1081
+ maximum: 2592000000,
1081
1082
  description:
1082
1083
  "Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire.",
1083
1084
  },
@@ -1677,7 +1678,6 @@ export const state = {
1677
1678
  required: ["schedule", "type", "payload"],
1678
1679
  additionalProperties: false,
1679
1680
  },
1680
- description: "Recurring events",
1681
1681
  },
1682
1682
  configuration: {
1683
1683
  type: "object",
@@ -2615,6 +2615,7 @@ export const state = {
2615
2615
  "bot_ratelimit",
2616
2616
  "table_row_count",
2617
2617
  "workspace_member_count",
2618
+ "integrations_owned_count",
2618
2619
  ],
2619
2620
  required: true,
2620
2621
  },
@@ -2671,6 +2672,7 @@ export const state = {
2671
2672
  "bot_ratelimit",
2672
2673
  "table_row_count",
2673
2674
  "workspace_member_count",
2675
+ "integrations_owned_count",
2674
2676
  ],
2675
2677
  required: true,
2676
2678
  },
@@ -2708,6 +2710,7 @@ export const state = {
2708
2710
  "bot_ratelimit",
2709
2711
  "table_row_count",
2710
2712
  "workspace_member_count",
2713
+ "integrations_owned_count",
2711
2714
  ],
2712
2715
  description: "Usage type that can be used",
2713
2716
  },
@@ -2773,6 +2776,7 @@ export const state = {
2773
2776
  "bot_ratelimit",
2774
2777
  "table_row_count",
2775
2778
  "workspace_member_count",
2779
+ "integrations_owned_count",
2776
2780
  ],
2777
2781
  description: "Usage type that can be used",
2778
2782
  },
@@ -4359,6 +4363,7 @@ export const state = {
4359
4363
  "bot_ratelimit",
4360
4364
  "table_row_count",
4361
4365
  "workspace_member_count",
4366
+ "integrations_owned_count",
4362
4367
  ],
4363
4368
  required: true,
4364
4369
  },
@@ -4408,6 +4413,7 @@ export const state = {
4408
4413
  "bot_ratelimit",
4409
4414
  "table_row_count",
4410
4415
  "workspace_member_count",
4416
+ "integrations_owned_count",
4411
4417
  ],
4412
4418
  required: true,
4413
4419
  },
@@ -4656,7 +4662,7 @@ export const state = {
4656
4662
  title: "Botpress API",
4657
4663
  description: "API for Botpress Cloud",
4658
4664
  server: "https://api.botpress.cloud",
4659
- version: "0.7.2",
4665
+ version: "0.8.0",
4660
4666
  prefix: "v1",
4661
4667
  },
4662
4668
  errors: [
@@ -5744,6 +5750,7 @@ export const state = {
5744
5750
  "bot_ratelimit",
5745
5751
  "table_row_count",
5746
5752
  "workspace_member_count",
5753
+ "integrations_owned_count",
5747
5754
  ],
5748
5755
  description: "Usage type that can be used",
5749
5756
  },
@@ -6212,6 +6219,9 @@ export const state = {
6212
6219
  schema: "Usage",
6213
6220
  },
6214
6221
  ],
6222
+ options: {
6223
+ allowUnions: false,
6224
+ },
6215
6225
  } satisfies State<
6216
6226
  | "Bot"
6217
6227
  | "Integration"