vercel-api-js 1.21.0 → 1.22.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.
@@ -12447,7 +12447,7 @@ const aCLActionSchema = z.enum([
12447
12447
  "list",
12448
12448
  "read",
12449
12449
  "update"
12450
- ]).describe("Enum containing the actions that can be performed against a resource. Group operations are included.");
12450
+ ]).describe("Requested and authorized operations when `checkPermissions` is used. Legacy `includePermissions` responses contain a broader, non-authoritative permission summary.");
12451
12451
  const namedSandboxSchema = z.object({
12452
12452
  architecture: z.enum([
12453
12453
  "amd64",
@@ -13230,6 +13230,21 @@ const teamSchema = z.object({
13230
13230
  ]))
13231
13231
  })).optional()
13232
13232
  }).optional().describe("Composable deployment-time policy for the team. Used as the default for every project on the team, with optional per-project overrides on `project.deploymentPolicy`."),
13233
+ deploymentStorageRollout: z.object({
13234
+ cohort: z.enum([
13235
+ "high",
13236
+ "low",
13237
+ "medium"
13238
+ ]),
13239
+ meteredAt: z.number().optional().describe("When team-wide metering was recorded for this rollout."),
13240
+ meterReason: z.enum([
13241
+ "high_retention_opt_in",
13242
+ "low_scheduled",
13243
+ "medium_scheduled"
13244
+ ]).optional(),
13245
+ retentionAppliedAt: z.number().optional().describe("When the calendar retention-reduce migration applied 30d retention."),
13246
+ retentionOptOutAt: z.number().optional().describe('When the customer chose "keep my retention" before reduce day.')
13247
+ }).optional().describe("Phase 2 Pro deployment-storage pricing rollout cohort and milestones. Absent when the team is not in a Phase 2 Pro cohort."),
13233
13248
  description: z.string().nullable().describe("A short description of the Team.").meta({
13234
13249
  examples: [
13235
13250
  "Our mission is to make cloud computing accessible to everyone."
@@ -21381,7 +21396,7 @@ const getProjectsQueryStaticIpsEnabledSchema = z.string().optional().describe("F
21381
21396
  "1"
21382
21397
  ]
21383
21398
  });
21384
- const getProjectsQueryBuildMachineTypesSchema = z.string().optional().describe('Filter results by effective build machine types. Accepts comma-separated values. Use "elastic" for projects with elastic selection and "default" for projects without a build machine type set.').meta({
21399
+ const getProjectsQueryBuildMachineTypesSchema = z.string().optional().describe('Filter results by effective build machine types. Accepts comma-separated values. Use \\"elastic\\" for projects with elastic selection and \\"default\\" for projects without a build machine type set.').meta({
21385
21400
  examples: [
21386
21401
  "default,enhanced"
21387
21402
  ]
@@ -12467,7 +12467,7 @@ const aCLActionSchema = z__namespace.enum([
12467
12467
  "list",
12468
12468
  "read",
12469
12469
  "update"
12470
- ]).describe("Enum containing the actions that can be performed against a resource. Group operations are included.");
12470
+ ]).describe("Requested and authorized operations when `checkPermissions` is used. Legacy `includePermissions` responses contain a broader, non-authoritative permission summary.");
12471
12471
  const namedSandboxSchema = z__namespace.object({
12472
12472
  architecture: z__namespace.enum([
12473
12473
  "amd64",
@@ -13250,6 +13250,21 @@ const teamSchema = z__namespace.object({
13250
13250
  ]))
13251
13251
  })).optional()
13252
13252
  }).optional().describe("Composable deployment-time policy for the team. Used as the default for every project on the team, with optional per-project overrides on `project.deploymentPolicy`."),
13253
+ deploymentStorageRollout: z__namespace.object({
13254
+ cohort: z__namespace.enum([
13255
+ "high",
13256
+ "low",
13257
+ "medium"
13258
+ ]),
13259
+ meteredAt: z__namespace.number().optional().describe("When team-wide metering was recorded for this rollout."),
13260
+ meterReason: z__namespace.enum([
13261
+ "high_retention_opt_in",
13262
+ "low_scheduled",
13263
+ "medium_scheduled"
13264
+ ]).optional(),
13265
+ retentionAppliedAt: z__namespace.number().optional().describe("When the calendar retention-reduce migration applied 30d retention."),
13266
+ retentionOptOutAt: z__namespace.number().optional().describe('When the customer chose "keep my retention" before reduce day.')
13267
+ }).optional().describe("Phase 2 Pro deployment-storage pricing rollout cohort and milestones. Absent when the team is not in a Phase 2 Pro cohort."),
13253
13268
  description: z__namespace.string().nullable().describe("A short description of the Team.").meta({
13254
13269
  examples: [
13255
13270
  "Our mission is to make cloud computing accessible to everyone."
@@ -21401,7 +21416,7 @@ const getProjectsQueryStaticIpsEnabledSchema = z__namespace.string().optional().
21401
21416
  "1"
21402
21417
  ]
21403
21418
  });
21404
- const getProjectsQueryBuildMachineTypesSchema = z__namespace.string().optional().describe('Filter results by effective build machine types. Accepts comma-separated values. Use "elastic" for projects with elastic selection and "default" for projects without a build machine type set.').meta({
21419
+ const getProjectsQueryBuildMachineTypesSchema = z__namespace.string().optional().describe('Filter results by effective build machine types. Accepts comma-separated values. Use \\"elastic\\" for projects with elastic selection and \\"default\\" for projects without a build machine type set.').meta({
21405
21420
  examples: [
21406
21421
  "default,enhanced"
21407
21422
  ]
package/dist/schemas.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
- var schemas = require('./schemas-dssww1l5.cjs');
3
+ var schemas = require('./schemas-kx22wqv5.cjs');
4
4
 
5
5
 
6
6
 
@@ -10769,6 +10769,21 @@ declare const teamSchema: z.ZodObject<{
10769
10769
  }, z.core.$strict>]>>;
10770
10770
  }, z.core.$strip>>>;
10771
10771
  }, z.core.$strip>>;
10772
+ deploymentStorageRollout: z.ZodOptional<z.ZodObject<{
10773
+ cohort: z.ZodEnum<{
10774
+ high: "high";
10775
+ low: "low";
10776
+ medium: "medium";
10777
+ }>;
10778
+ meteredAt: z.ZodOptional<z.ZodNumber>;
10779
+ meterReason: z.ZodOptional<z.ZodEnum<{
10780
+ high_retention_opt_in: "high_retention_opt_in";
10781
+ low_scheduled: "low_scheduled";
10782
+ medium_scheduled: "medium_scheduled";
10783
+ }>>;
10784
+ retentionAppliedAt: z.ZodOptional<z.ZodNumber>;
10785
+ retentionOptOutAt: z.ZodOptional<z.ZodNumber>;
10786
+ }, z.core.$strip>>;
10772
10787
  description: z.ZodNullable<z.ZodString>;
10773
10788
  disableHardAutoBlocks: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>]>>;
10774
10789
  disableRepositoryDispatchEvents: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;