vercel-api-js 1.34.4 → 1.35.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.
@@ -753,6 +753,7 @@ const connectConnectorCreateDataSchema = z__namespace.union([
753
753
  idToken: z__namespace.array(z__namespace.string()).optional().describe("ID token claim names that Connect can expose.")
754
754
  }).optional().describe("Allow-list of extra claims to propagate, keyed by source (idToken). Only claims named here and present in that source are exposed."),
755
755
  defaultAudience: z__namespace.string().optional().describe("Default audience used when a token request omits one. An empty string clears the default."),
756
+ defaultResource: z__namespace.string().optional().describe("Default RFC 8707 resource sent on authorization and token requests when a token request omits one. An empty string clears the default."),
756
757
  defaultTokenExpiresIn: z__namespace.number().min(60).optional().describe("Default token lifetime in seconds to use when the token response omits expires_in."),
757
758
  authorizationUrlParams: z__namespace.object({}).catchall(z__namespace.string()).optional().describe("Extra query parameters added to authorization URLs."),
758
759
  jwtBearer: z__namespace.strictObject({
@@ -1039,6 +1040,7 @@ const connectConnectorUpdateDataSchema = z__namespace.union([
1039
1040
  idToken: z__namespace.array(z__namespace.string()).optional().describe("ID token claim names that Connect can expose.")
1040
1041
  }).optional().describe("Allow-list of extra claims to propagate, keyed by source (idToken). Only claims named here and present in that source are exposed."),
1041
1042
  defaultAudience: z__namespace.string().optional().describe("Default audience used when a token request omits one. An empty string clears the default."),
1043
+ defaultResource: z__namespace.string().optional().describe("Default RFC 8707 resource sent on authorization and token requests when a token request omits one. An empty string clears the default."),
1042
1044
  defaultTokenExpiresIn: z__namespace.number().min(60).optional().describe("Default token lifetime in seconds to use when the token response omits expires_in."),
1043
1045
  authorizationUrlParams: z__namespace.object({}).catchall(z__namespace.string()).optional().describe("Extra query parameters added to authorization URLs."),
1044
1046
  jwtBearer: z__namespace.strictObject({
@@ -12463,6 +12465,10 @@ const teamSchema = z__namespace.object({
12463
12465
  "R6efeCJQ2HKXywuasPDc0fOWB"
12464
12466
  ]
12465
12467
  }),
12468
+ defaultContinuousUsageKind: z__namespace.enum([
12469
+ "metered",
12470
+ "unmetered"
12471
+ ]).optional().describe("Default continuous-usage billing kind for projects under this team. Absent means projects stay unmetered."),
12466
12472
  defaultDeploymentProtection: z__namespace.object({
12467
12473
  passwordProtection: z__namespace.object({
12468
12474
  deploymentType: z__namespace.string()
@@ -12609,19 +12615,23 @@ const teamSchema = z__namespace.object({
12609
12615
  }).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`."),
12610
12616
  deploymentStorageRollout: z__namespace.object({
12611
12617
  cohort: z__namespace.enum([
12618
+ "already_metered",
12619
+ "extreme",
12612
12620
  "high",
12613
12621
  "low",
12614
- "medium"
12622
+ "medium",
12623
+ "medium_plus",
12624
+ "metered_opt_in"
12615
12625
  ]),
12616
12626
  meteredAt: z__namespace.number().optional().describe("When team-wide metering was recorded for this rollout."),
12617
12627
  meterReason: z__namespace.enum([
12618
- "high_retention_opt_in",
12619
12628
  "low_scheduled",
12620
- "medium_scheduled"
12629
+ "medium_scheduled",
12630
+ "retention_opt_out"
12621
12631
  ]).optional(),
12622
12632
  retentionAppliedAt: z__namespace.number().optional().describe("When the calendar retention-reduce migration applied 30d retention."),
12623
12633
  retentionOptOutAt: z__namespace.number().optional().describe('When the customer chose "keep my retention" before reduce day.')
12624
- }).optional().describe("Phase 2 Pro deployment-storage pricing rollout cohort and milestones. Absent when the team is not in a Phase 2 Pro cohort."),
12634
+ }).optional().describe("Pro deployment-storage pricing rollout cohort and milestones. Absent when the team has not been placed in a rollout cohort yet."),
12625
12635
  description: z__namespace.string().nullable().describe("A short description of the Team.").meta({
12626
12636
  examples: [
12627
12637
  "Our mission is to make cloud computing accessible to everyone."
@@ -16405,6 +16415,7 @@ const listConnectorProjectConnectionsStatus400Schema = z__namespace.unknown();
16405
16415
  const listConnectorProjectConnectionsStatus401Schema = z__namespace.unknown();
16406
16416
  const listConnectorProjectConnectionsStatus403Schema = z__namespace.unknown();
16407
16417
  const listConnectorProjectConnectionsStatus404Schema = z__namespace.unknown();
16418
+ const listConnectorProjectConnectionsStatus409Schema = z__namespace.unknown();
16408
16419
  const listConnectorProjectConnectionsStatus410Schema = z__namespace.unknown();
16409
16420
  const listConnectorProjectConnectionsResponseSchema = listConnectorProjectConnectionsStatus200Schema;
16410
16421
  const listConnectorProjectConnectionsErrorSchema = z__namespace.union([
@@ -16412,6 +16423,7 @@ const listConnectorProjectConnectionsErrorSchema = z__namespace.union([
16412
16423
  listConnectorProjectConnectionsStatus401Schema,
16413
16424
  listConnectorProjectConnectionsStatus403Schema,
16414
16425
  listConnectorProjectConnectionsStatus404Schema,
16426
+ listConnectorProjectConnectionsStatus409Schema,
16415
16427
  listConnectorProjectConnectionsStatus410Schema
16416
16428
  ]);
16417
16429
  const getConnectorProjectConnectionPathConnectorSchema = z__namespace.string().describe("Stable connector ID or URL-encoded team-scoped UID. Examples: `scl_abc123` or `slack%2Fmy-bot`.");
@@ -16431,6 +16443,7 @@ const getConnectorProjectConnectionStatus400Schema = z__namespace.unknown();
16431
16443
  const getConnectorProjectConnectionStatus401Schema = z__namespace.unknown();
16432
16444
  const getConnectorProjectConnectionStatus403Schema = z__namespace.unknown();
16433
16445
  const getConnectorProjectConnectionStatus404Schema = z__namespace.unknown();
16446
+ const getConnectorProjectConnectionStatus409Schema = z__namespace.unknown();
16434
16447
  const getConnectorProjectConnectionStatus410Schema = z__namespace.unknown();
16435
16448
  const getConnectorProjectConnectionResponseSchema = getConnectorProjectConnectionStatus200Schema;
16436
16449
  const getConnectorProjectConnectionErrorSchema = z__namespace.union([
@@ -16438,6 +16451,7 @@ const getConnectorProjectConnectionErrorSchema = z__namespace.union([
16438
16451
  getConnectorProjectConnectionStatus401Schema,
16439
16452
  getConnectorProjectConnectionStatus403Schema,
16440
16453
  getConnectorProjectConnectionStatus404Schema,
16454
+ getConnectorProjectConnectionStatus409Schema,
16441
16455
  getConnectorProjectConnectionStatus410Schema
16442
16456
  ]);
16443
16457
  const upsertConnectorProjectConnectionPathConnectorSchema = z__namespace.string().describe("Stable connector ID or URL-encoded team-scoped UID. Examples: `scl_abc123` or `slack%2Fmy-bot`.");
@@ -16457,6 +16471,7 @@ const upsertConnectorProjectConnectionStatus400Schema = z__namespace.unknown();
16457
16471
  const upsertConnectorProjectConnectionStatus401Schema = z__namespace.unknown();
16458
16472
  const upsertConnectorProjectConnectionStatus403Schema = z__namespace.unknown();
16459
16473
  const upsertConnectorProjectConnectionStatus404Schema = z__namespace.unknown();
16474
+ const upsertConnectorProjectConnectionStatus409Schema = z__namespace.unknown();
16460
16475
  const upsertConnectorProjectConnectionStatus410Schema = z__namespace.unknown();
16461
16476
  const upsertConnectorProjectConnectionResponseSchema = upsertConnectorProjectConnectionStatus200Schema;
16462
16477
  const upsertConnectorProjectConnectionErrorSchema = z__namespace.union([
@@ -16464,6 +16479,7 @@ const upsertConnectorProjectConnectionErrorSchema = z__namespace.union([
16464
16479
  upsertConnectorProjectConnectionStatus401Schema,
16465
16480
  upsertConnectorProjectConnectionStatus403Schema,
16466
16481
  upsertConnectorProjectConnectionStatus404Schema,
16482
+ upsertConnectorProjectConnectionStatus409Schema,
16467
16483
  upsertConnectorProjectConnectionStatus410Schema
16468
16484
  ]);
16469
16485
  const deleteConnectorProjectConnectionPathConnectorSchema = z__namespace.string().describe("Stable connector ID or URL-encoded team-scoped UID. Examples: `scl_abc123` or `slack%2Fmy-bot`.");
@@ -16483,6 +16499,7 @@ const deleteConnectorProjectConnectionStatus400Schema = z__namespace.unknown();
16483
16499
  const deleteConnectorProjectConnectionStatus401Schema = z__namespace.unknown();
16484
16500
  const deleteConnectorProjectConnectionStatus403Schema = z__namespace.unknown();
16485
16501
  const deleteConnectorProjectConnectionStatus404Schema = z__namespace.unknown();
16502
+ const deleteConnectorProjectConnectionStatus409Schema = z__namespace.unknown();
16486
16503
  const deleteConnectorProjectConnectionStatus410Schema = z__namespace.unknown();
16487
16504
  const deleteConnectorProjectConnectionResponseSchema = deleteConnectorProjectConnectionStatus204Schema;
16488
16505
  const deleteConnectorProjectConnectionErrorSchema = z__namespace.union([
@@ -16490,6 +16507,7 @@ const deleteConnectorProjectConnectionErrorSchema = z__namespace.union([
16490
16507
  deleteConnectorProjectConnectionStatus401Schema,
16491
16508
  deleteConnectorProjectConnectionStatus403Schema,
16492
16509
  deleteConnectorProjectConnectionStatus404Schema,
16510
+ deleteConnectorProjectConnectionStatus409Schema,
16493
16511
  deleteConnectorProjectConnectionStatus410Schema
16494
16512
  ]);
16495
16513
  const listProjectConnectorConnectionsPathProjectIdSchema = z__namespace.string().describe("Vercel project ID.");
@@ -16525,6 +16543,7 @@ const getConnectorTokenStatus400Schema = z__namespace.unknown();
16525
16543
  const getConnectorTokenStatus401Schema = z__namespace.unknown();
16526
16544
  const getConnectorTokenStatus403Schema = z__namespace.unknown();
16527
16545
  const getConnectorTokenStatus404Schema = z__namespace.unknown();
16546
+ const getConnectorTokenStatus409Schema = z__namespace.unknown();
16528
16547
  const getConnectorTokenStatus410Schema = z__namespace.unknown();
16529
16548
  const getConnectorTokenStatus422Schema = z__namespace.unknown();
16530
16549
  const getConnectorTokenStatus429Schema = z__namespace.unknown();
@@ -16534,6 +16553,7 @@ const getConnectorTokenErrorSchema = z__namespace.union([
16534
16553
  getConnectorTokenStatus401Schema,
16535
16554
  getConnectorTokenStatus403Schema,
16536
16555
  getConnectorTokenStatus404Schema,
16556
+ getConnectorTokenStatus409Schema,
16537
16557
  getConnectorTokenStatus410Schema,
16538
16558
  getConnectorTokenStatus422Schema,
16539
16559
  getConnectorTokenStatus429Schema
@@ -16544,6 +16564,7 @@ const createConnectorAuthorizationRequestStatus400Schema = z__namespace.unknown(
16544
16564
  const createConnectorAuthorizationRequestStatus401Schema = z__namespace.unknown();
16545
16565
  const createConnectorAuthorizationRequestStatus403Schema = z__namespace.unknown();
16546
16566
  const createConnectorAuthorizationRequestStatus404Schema = z__namespace.unknown();
16567
+ const createConnectorAuthorizationRequestStatus409Schema = z__namespace.unknown();
16547
16568
  const createConnectorAuthorizationRequestStatus410Schema = z__namespace.unknown();
16548
16569
  const createConnectorAuthorizationRequestStatus422Schema = z__namespace.unknown();
16549
16570
  const createConnectorAuthorizationRequestResponseSchema = createConnectorAuthorizationRequestStatus200Schema;
@@ -16552,6 +16573,7 @@ const createConnectorAuthorizationRequestErrorSchema = z__namespace.union([
16552
16573
  createConnectorAuthorizationRequestStatus401Schema,
16553
16574
  createConnectorAuthorizationRequestStatus403Schema,
16554
16575
  createConnectorAuthorizationRequestStatus404Schema,
16576
+ createConnectorAuthorizationRequestStatus409Schema,
16555
16577
  createConnectorAuthorizationRequestStatus410Schema,
16556
16578
  createConnectorAuthorizationRequestStatus422Schema
16557
16579
  ]);
@@ -27681,6 +27703,7 @@ exports.createConnectorAuthorizationRequestStatus400Schema = createConnectorAuth
27681
27703
  exports.createConnectorAuthorizationRequestStatus401Schema = createConnectorAuthorizationRequestStatus401Schema;
27682
27704
  exports.createConnectorAuthorizationRequestStatus403Schema = createConnectorAuthorizationRequestStatus403Schema;
27683
27705
  exports.createConnectorAuthorizationRequestStatus404Schema = createConnectorAuthorizationRequestStatus404Schema;
27706
+ exports.createConnectorAuthorizationRequestStatus409Schema = createConnectorAuthorizationRequestStatus409Schema;
27684
27707
  exports.createConnectorAuthorizationRequestStatus410Schema = createConnectorAuthorizationRequestStatus410Schema;
27685
27708
  exports.createConnectorAuthorizationRequestStatus422Schema = createConnectorAuthorizationRequestStatus422Schema;
27686
27709
  exports.createConnectorErrorSchema = createConnectorErrorSchema;
@@ -28437,6 +28460,7 @@ exports.deleteConnectorProjectConnectionStatus400Schema = deleteConnectorProject
28437
28460
  exports.deleteConnectorProjectConnectionStatus401Schema = deleteConnectorProjectConnectionStatus401Schema;
28438
28461
  exports.deleteConnectorProjectConnectionStatus403Schema = deleteConnectorProjectConnectionStatus403Schema;
28439
28462
  exports.deleteConnectorProjectConnectionStatus404Schema = deleteConnectorProjectConnectionStatus404Schema;
28463
+ exports.deleteConnectorProjectConnectionStatus409Schema = deleteConnectorProjectConnectionStatus409Schema;
28440
28464
  exports.deleteConnectorProjectConnectionStatus410Schema = deleteConnectorProjectConnectionStatus410Schema;
28441
28465
  exports.deleteConnectorQuerySlugSchema = deleteConnectorQuerySlugSchema;
28442
28466
  exports.deleteConnectorQueryTeamIdSchema = deleteConnectorQueryTeamIdSchema;
@@ -29305,6 +29329,7 @@ exports.getConnectorProjectConnectionStatus400Schema = getConnectorProjectConnec
29305
29329
  exports.getConnectorProjectConnectionStatus401Schema = getConnectorProjectConnectionStatus401Schema;
29306
29330
  exports.getConnectorProjectConnectionStatus403Schema = getConnectorProjectConnectionStatus403Schema;
29307
29331
  exports.getConnectorProjectConnectionStatus404Schema = getConnectorProjectConnectionStatus404Schema;
29332
+ exports.getConnectorProjectConnectionStatus409Schema = getConnectorProjectConnectionStatus409Schema;
29308
29333
  exports.getConnectorProjectConnectionStatus410Schema = getConnectorProjectConnectionStatus410Schema;
29309
29334
  exports.getConnectorQuerySlugSchema = getConnectorQuerySlugSchema;
29310
29335
  exports.getConnectorQueryTeamIdSchema = getConnectorQueryTeamIdSchema;
@@ -29327,6 +29352,7 @@ exports.getConnectorTokenStatus400Schema = getConnectorTokenStatus400Schema;
29327
29352
  exports.getConnectorTokenStatus401Schema = getConnectorTokenStatus401Schema;
29328
29353
  exports.getConnectorTokenStatus403Schema = getConnectorTokenStatus403Schema;
29329
29354
  exports.getConnectorTokenStatus404Schema = getConnectorTokenStatus404Schema;
29355
+ exports.getConnectorTokenStatus409Schema = getConnectorTokenStatus409Schema;
29330
29356
  exports.getConnectorTokenStatus410Schema = getConnectorTokenStatus410Schema;
29331
29357
  exports.getConnectorTokenStatus422Schema = getConnectorTokenStatus422Schema;
29332
29358
  exports.getConnectorTokenStatus429Schema = getConnectorTokenStatus429Schema;
@@ -30893,6 +30919,7 @@ exports.listConnectorProjectConnectionsStatus400Schema = listConnectorProjectCon
30893
30919
  exports.listConnectorProjectConnectionsStatus401Schema = listConnectorProjectConnectionsStatus401Schema;
30894
30920
  exports.listConnectorProjectConnectionsStatus403Schema = listConnectorProjectConnectionsStatus403Schema;
30895
30921
  exports.listConnectorProjectConnectionsStatus404Schema = listConnectorProjectConnectionsStatus404Schema;
30922
+ exports.listConnectorProjectConnectionsStatus409Schema = listConnectorProjectConnectionsStatus409Schema;
30896
30923
  exports.listConnectorProjectConnectionsStatus410Schema = listConnectorProjectConnectionsStatus410Schema;
30897
30924
  exports.listConnectorsErrorSchema = listConnectorsErrorSchema;
30898
30925
  exports.listConnectorsQueryCursorSchema = listConnectorsQueryCursorSchema;
@@ -32894,6 +32921,7 @@ exports.upsertConnectorProjectConnectionStatus400Schema = upsertConnectorProject
32894
32921
  exports.upsertConnectorProjectConnectionStatus401Schema = upsertConnectorProjectConnectionStatus401Schema;
32895
32922
  exports.upsertConnectorProjectConnectionStatus403Schema = upsertConnectorProjectConnectionStatus403Schema;
32896
32923
  exports.upsertConnectorProjectConnectionStatus404Schema = upsertConnectorProjectConnectionStatus404Schema;
32924
+ exports.upsertConnectorProjectConnectionStatus409Schema = upsertConnectorProjectConnectionStatus409Schema;
32897
32925
  exports.upsertConnectorProjectConnectionStatus410Schema = upsertConnectorProjectConnectionStatus410Schema;
32898
32926
  exports.userEventSchema = userEventSchema;
32899
32927
  exports.vcrImageDetailSchema = vcrImageDetailSchema;