vercel-api-js 1.29.0 → 1.29.1

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.
@@ -4,11 +4,11 @@ import * as z from 'zod';
4
4
  const aiGatewayEvaluationFallbackConditionSchema = z.union([
5
5
  z.strictObject({
6
6
  confidenceBelow: z.number(),
7
- question: z.string()
7
+ question: z.string().optional()
8
8
  }),
9
9
  z.strictObject({
10
10
  probabilityBetween: z.array(z.number()).min(2).max(2),
11
- question: z.string()
11
+ question: z.string().optional()
12
12
  }),
13
13
  z.strictObject({
14
14
  any: z.array(z.unknown())
@@ -4792,7 +4792,8 @@ const userEventSchema = z.object({
4792
4792
  z.literal(true)
4793
4793
  ]).optional(),
4794
4794
  reason: z.string(),
4795
- statusCode: z.number().optional()
4795
+ statusCode: z.number().optional(),
4796
+ threadId: z.string().optional().describe("Plain thread ID, recorded separately from `caseId`.")
4796
4797
  })).optional().describe("Since June 2023"),
4797
4798
  gitAuthHistory: z.array(z.string()).optional().describe("Since March 2022. Helps abuse checks by tracking git auths. Format: `<platform>:<detail>:<value>`"),
4798
4799
  gitLineageBlocks: z.number().optional().describe("Since September 2023. How often did this owner trigger an actual git lineage deploy block?"),
@@ -10550,6 +10551,8 @@ const userEventSchema = z.object({
10550
10551
  "team-default-passport-updated",
10551
10552
  "team-delete",
10552
10553
  "team-deployment-policy-updated",
10554
+ "team-deployment-storage-high-retention-opt-in",
10555
+ "team-deployment-storage-retention-opt-out",
10553
10556
  "team-domain-verification-created",
10554
10557
  "team-domain-verification-deleted",
10555
10558
  "team-domain-verification-verified",
@@ -11338,6 +11341,8 @@ const listEventTypeSchema = z.object({
11338
11341
  "team-default-passport-updated",
11339
11342
  "team-delete",
11340
11343
  "team-deployment-policy-updated",
11344
+ "team-deployment-storage-high-retention-opt-in",
11345
+ "team-deployment-storage-retention-opt-out",
11341
11346
  "team-domain-verification-created",
11342
11347
  "team-domain-verification-deleted",
11343
11348
  "team-domain-verification-verified",
@@ -12042,6 +12047,8 @@ const listEventTypeSchema = z.object({
12042
12047
  "team-default-passport-updated",
12043
12048
  "team-delete",
12044
12049
  "team-deployment-policy-updated",
12050
+ "team-deployment-storage-high-retention-opt-in",
12051
+ "team-deployment-storage-retention-opt-out",
12045
12052
  "team-domain-verification-created",
12046
12053
  "team-domain-verification-deleted",
12047
12054
  "team-domain-verification-verified",
@@ -24,11 +24,11 @@ var z__namespace = /*#__PURE__*/_interopNamespace(z);
24
24
  const aiGatewayEvaluationFallbackConditionSchema = z__namespace.union([
25
25
  z__namespace.strictObject({
26
26
  confidenceBelow: z__namespace.number(),
27
- question: z__namespace.string()
27
+ question: z__namespace.string().optional()
28
28
  }),
29
29
  z__namespace.strictObject({
30
30
  probabilityBetween: z__namespace.array(z__namespace.number()).min(2).max(2),
31
- question: z__namespace.string()
31
+ question: z__namespace.string().optional()
32
32
  }),
33
33
  z__namespace.strictObject({
34
34
  any: z__namespace.array(z__namespace.unknown())
@@ -4812,7 +4812,8 @@ const userEventSchema = z__namespace.object({
4812
4812
  z__namespace.literal(true)
4813
4813
  ]).optional(),
4814
4814
  reason: z__namespace.string(),
4815
- statusCode: z__namespace.number().optional()
4815
+ statusCode: z__namespace.number().optional(),
4816
+ threadId: z__namespace.string().optional().describe("Plain thread ID, recorded separately from `caseId`.")
4816
4817
  })).optional().describe("Since June 2023"),
4817
4818
  gitAuthHistory: z__namespace.array(z__namespace.string()).optional().describe("Since March 2022. Helps abuse checks by tracking git auths. Format: `<platform>:<detail>:<value>`"),
4818
4819
  gitLineageBlocks: z__namespace.number().optional().describe("Since September 2023. How often did this owner trigger an actual git lineage deploy block?"),
@@ -10570,6 +10571,8 @@ const userEventSchema = z__namespace.object({
10570
10571
  "team-default-passport-updated",
10571
10572
  "team-delete",
10572
10573
  "team-deployment-policy-updated",
10574
+ "team-deployment-storage-high-retention-opt-in",
10575
+ "team-deployment-storage-retention-opt-out",
10573
10576
  "team-domain-verification-created",
10574
10577
  "team-domain-verification-deleted",
10575
10578
  "team-domain-verification-verified",
@@ -11358,6 +11361,8 @@ const listEventTypeSchema = z__namespace.object({
11358
11361
  "team-default-passport-updated",
11359
11362
  "team-delete",
11360
11363
  "team-deployment-policy-updated",
11364
+ "team-deployment-storage-high-retention-opt-in",
11365
+ "team-deployment-storage-retention-opt-out",
11361
11366
  "team-domain-verification-created",
11362
11367
  "team-domain-verification-deleted",
11363
11368
  "team-domain-verification-verified",
@@ -12062,6 +12067,8 @@ const listEventTypeSchema = z__namespace.object({
12062
12067
  "team-default-passport-updated",
12063
12068
  "team-delete",
12064
12069
  "team-deployment-policy-updated",
12070
+ "team-deployment-storage-high-retention-opt-in",
12071
+ "team-deployment-storage-retention-opt-out",
12065
12072
  "team-domain-verification-created",
12066
12073
  "team-domain-verification-deleted",
12067
12074
  "team-domain-verification-verified",
package/dist/schemas.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
- var schemas = require('./schemas-li4u0bea.cjs');
3
+ var schemas = require('./schemas-huxjhv22.cjs');
4
4
 
5
5
 
6
6
 
@@ -2,10 +2,10 @@ import * as z from 'zod';
2
2
 
3
3
  declare const aiGatewayEvaluationFallbackConditionSchema: z.ZodUnion<readonly [z.ZodObject<{
4
4
  confidenceBelow: z.ZodNumber;
5
- question: z.ZodString;
5
+ question: z.ZodOptional<z.ZodString>;
6
6
  }, z.core.$strict>, z.ZodObject<{
7
7
  probabilityBetween: z.ZodArray<z.ZodNumber>;
8
- question: z.ZodString;
8
+ question: z.ZodOptional<z.ZodString>;
9
9
  }, z.core.$strict>, z.ZodObject<{
10
10
  any: z.ZodArray<z.ZodUnknown>;
11
11
  }, z.core.$strict>, z.ZodObject<{
@@ -3802,6 +3802,7 @@ declare const userEventSchema: z.ZodObject<{
3802
3802
  ineligibleForAppeal: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
3803
3803
  reason: z.ZodString;
3804
3804
  statusCode: z.ZodOptional<z.ZodNumber>;
3805
+ threadId: z.ZodOptional<z.ZodString>;
3805
3806
  }, z.core.$strip>>>;
3806
3807
  gitAuthHistory: z.ZodOptional<z.ZodArray<z.ZodString>>;
3807
3808
  gitLineageBlocks: z.ZodOptional<z.ZodNumber>;
@@ -8637,6 +8638,8 @@ declare const userEventSchema: z.ZodObject<{
8637
8638
  "team-default-passport-updated": "team-default-passport-updated";
8638
8639
  "team-delete": "team-delete";
8639
8640
  "team-deployment-policy-updated": "team-deployment-policy-updated";
8641
+ "team-deployment-storage-high-retention-opt-in": "team-deployment-storage-high-retention-opt-in";
8642
+ "team-deployment-storage-retention-opt-out": "team-deployment-storage-retention-opt-out";
8640
8643
  "team-domain-verification-created": "team-domain-verification-created";
8641
8644
  "team-domain-verification-deleted": "team-domain-verification-deleted";
8642
8645
  "team-domain-verification-verified": "team-domain-verification-verified";
@@ -9403,6 +9406,8 @@ declare const listEventTypeSchema: z.ZodObject<{
9403
9406
  "team-default-passport-updated": "team-default-passport-updated";
9404
9407
  "team-delete": "team-delete";
9405
9408
  "team-deployment-policy-updated": "team-deployment-policy-updated";
9409
+ "team-deployment-storage-high-retention-opt-in": "team-deployment-storage-high-retention-opt-in";
9410
+ "team-deployment-storage-retention-opt-out": "team-deployment-storage-retention-opt-out";
9406
9411
  "team-domain-verification-created": "team-domain-verification-created";
9407
9412
  "team-domain-verification-deleted": "team-domain-verification-deleted";
9408
9413
  "team-domain-verification-verified": "team-domain-verification-verified";
@@ -10103,6 +10108,8 @@ declare const listEventTypeSchema: z.ZodObject<{
10103
10108
  "team-default-passport-updated": "team-default-passport-updated";
10104
10109
  "team-delete": "team-delete";
10105
10110
  "team-deployment-policy-updated": "team-deployment-policy-updated";
10111
+ "team-deployment-storage-high-retention-opt-in": "team-deployment-storage-high-retention-opt-in";
10112
+ "team-deployment-storage-retention-opt-out": "team-deployment-storage-retention-opt-out";
10106
10113
  "team-domain-verification-created": "team-domain-verification-created";
10107
10114
  "team-domain-verification-deleted": "team-domain-verification-deleted";
10108
10115
  "team-domain-verification-verified": "team-domain-verification-verified";