@vercel/sdk 1.6.9 → 1.6.11

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.
Files changed (152) hide show
  1. package/README.md +31 -17
  2. package/bin/mcp-server.js +1828 -1318
  3. package/bin/mcp-server.js.map +28 -28
  4. package/docs/sdks/aliases/README.md +84 -0
  5. package/docs/sdks/user/README.md +2 -0
  6. package/docs/sdks/vercel/README.md +0 -77
  7. package/esm/__tests__/aliases.test.js +17 -0
  8. package/esm/__tests__/aliases.test.js.map +1 -1
  9. package/esm/__tests__/projects.test.js +15 -13
  10. package/esm/__tests__/projects.test.js.map +1 -1
  11. package/esm/__tests__/vercel.test.js +3 -16
  12. package/esm/__tests__/vercel.test.js.map +1 -1
  13. package/esm/funcs/{patchAliasesIdProtectionBypass.d.ts → aliasesPatchUrlProtectionBypass.d.ts} +7 -4
  14. package/esm/funcs/aliasesPatchUrlProtectionBypass.d.ts.map +1 -0
  15. package/esm/funcs/{patchAliasesIdProtectionBypass.js → aliasesPatchUrlProtectionBypass.js} +22 -9
  16. package/esm/funcs/aliasesPatchUrlProtectionBypass.js.map +1 -0
  17. package/esm/funcs/userListUserEvents.js +1 -0
  18. package/esm/funcs/userListUserEvents.js.map +1 -1
  19. package/esm/lib/config.d.ts +2 -2
  20. package/esm/lib/config.js +2 -2
  21. package/esm/lib/config.js.map +1 -1
  22. package/esm/mcp-server/mcp-server.js +1 -1
  23. package/esm/mcp-server/mcp-server.js.map +1 -1
  24. package/esm/mcp-server/server.js +3 -3
  25. package/esm/mcp-server/server.js.map +1 -1
  26. package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.d.ts +7 -0
  27. package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.d.ts.map +1 -0
  28. package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.js +28 -0
  29. package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.js.map +1 -0
  30. package/esm/models/authuser.d.ts +3 -0
  31. package/esm/models/authuser.d.ts.map +1 -1
  32. package/esm/models/authuser.js +1 -0
  33. package/esm/models/authuser.js.map +1 -1
  34. package/esm/models/createprojectenvop.d.ts +6 -6
  35. package/esm/models/createprojectenvop.js +2 -2
  36. package/esm/models/createprojectenvop.js.map +1 -1
  37. package/esm/models/createprojectop.d.ts +221 -37
  38. package/esm/models/createprojectop.d.ts.map +1 -1
  39. package/esm/models/createprojectop.js +200 -34
  40. package/esm/models/createprojectop.js.map +1 -1
  41. package/esm/models/createrecordop.d.ts +43 -43
  42. package/esm/models/createrecordop.d.ts.map +1 -1
  43. package/esm/models/createrecordop.js +51 -51
  44. package/esm/models/createrecordop.js.map +1 -1
  45. package/esm/models/createwebhookop.d.ts +24 -0
  46. package/esm/models/createwebhookop.d.ts.map +1 -1
  47. package/esm/models/createwebhookop.js +8 -0
  48. package/esm/models/createwebhookop.js.map +1 -1
  49. package/esm/models/editprojectenvop.d.ts +3 -3
  50. package/esm/models/editprojectenvop.js +1 -1
  51. package/esm/models/editprojectenvop.js.map +1 -1
  52. package/esm/models/getaliasop.d.ts +62 -62
  53. package/esm/models/getaliasop.d.ts.map +1 -1
  54. package/esm/models/getaliasop.js +84 -83
  55. package/esm/models/getaliasop.js.map +1 -1
  56. package/esm/models/getprojectsop.d.ts +93 -13
  57. package/esm/models/getprojectsop.d.ts.map +1 -1
  58. package/esm/models/getprojectsop.js +101 -16
  59. package/esm/models/getprojectsop.js.map +1 -1
  60. package/esm/models/getwebhookop.d.ts +12 -0
  61. package/esm/models/getwebhookop.d.ts.map +1 -1
  62. package/esm/models/getwebhookop.js +4 -0
  63. package/esm/models/getwebhookop.js.map +1 -1
  64. package/esm/models/getwebhooksop.d.ts +24 -0
  65. package/esm/models/getwebhooksop.d.ts.map +1 -1
  66. package/esm/models/getwebhooksop.js +8 -0
  67. package/esm/models/getwebhooksop.js.map +1 -1
  68. package/esm/models/listdeploymentaliasesop.d.ts +32 -32
  69. package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
  70. package/esm/models/listdeploymentaliasesop.js +50 -50
  71. package/esm/models/listdeploymentaliasesop.js.map +1 -1
  72. package/esm/models/listusereventsop.d.ts +6 -1
  73. package/esm/models/listusereventsop.d.ts.map +1 -1
  74. package/esm/models/listusereventsop.js +2 -0
  75. package/esm/models/listusereventsop.js.map +1 -1
  76. package/esm/models/{patchaliasesidprotectionbypassop.d.ts → patchurlprotectionbypassop.d.ts} +86 -76
  77. package/esm/models/patchurlprotectionbypassop.d.ts.map +1 -0
  78. package/esm/models/{patchaliasesidprotectionbypassop.js → patchurlprotectionbypassop.js} +95 -91
  79. package/esm/models/patchurlprotectionbypassop.js.map +1 -0
  80. package/esm/models/removeprojectenvop.d.ts +9 -9
  81. package/esm/models/removeprojectenvop.js +3 -3
  82. package/esm/models/removeprojectenvop.js.map +1 -1
  83. package/esm/models/teamlimited.d.ts +30 -1
  84. package/esm/models/teamlimited.d.ts.map +1 -1
  85. package/esm/models/teamlimited.js +24 -0
  86. package/esm/models/teamlimited.js.map +1 -1
  87. package/esm/models/updateprojectdatacacheop.d.ts +109 -29
  88. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  89. package/esm/models/updateprojectdatacacheop.js +128 -42
  90. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  91. package/esm/models/updateprojectop.d.ts +253 -69
  92. package/esm/models/updateprojectop.d.ts.map +1 -1
  93. package/esm/models/updateprojectop.js +253 -83
  94. package/esm/models/updateprojectop.js.map +1 -1
  95. package/esm/models/updateprojectprotectionbypassop.d.ts +88 -14
  96. package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
  97. package/esm/models/updateprojectprotectionbypassop.js +100 -17
  98. package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
  99. package/esm/models/userevent.d.ts +324 -34
  100. package/esm/models/userevent.d.ts.map +1 -1
  101. package/esm/models/userevent.js +313 -40
  102. package/esm/models/userevent.js.map +1 -1
  103. package/esm/sdk/aliases.d.ts +10 -0
  104. package/esm/sdk/aliases.d.ts.map +1 -1
  105. package/esm/sdk/aliases.js +10 -0
  106. package/esm/sdk/aliases.js.map +1 -1
  107. package/esm/sdk/sdk.d.ts +1 -8
  108. package/esm/sdk/sdk.d.ts.map +1 -1
  109. package/esm/sdk/sdk.js +0 -8
  110. package/esm/sdk/sdk.js.map +1 -1
  111. package/jsr.json +1 -1
  112. package/package.json +1 -1
  113. package/src/__tests__/aliases.test.ts +20 -0
  114. package/src/__tests__/projects.test.ts +15 -13
  115. package/src/__tests__/vercel.test.ts +4 -19
  116. package/src/funcs/{patchAliasesIdProtectionBypass.ts → aliasesPatchUrlProtectionBypass.ts} +27 -13
  117. package/src/funcs/userListUserEvents.ts +1 -0
  118. package/src/lib/config.ts +2 -2
  119. package/src/mcp-server/mcp-server.ts +1 -1
  120. package/src/mcp-server/server.ts +3 -3
  121. package/src/mcp-server/tools/aliasesPatchUrlProtectionBypass.ts +38 -0
  122. package/src/models/authuser.ts +1 -0
  123. package/src/models/createprojectenvop.ts +2 -2
  124. package/src/models/createprojectop.ts +406 -58
  125. package/src/models/createrecordop.ts +84 -96
  126. package/src/models/createwebhookop.ts +8 -0
  127. package/src/models/editprojectenvop.ts +1 -1
  128. package/src/models/getaliasop.ts +130 -126
  129. package/src/models/getprojectsop.ts +207 -29
  130. package/src/models/getwebhookop.ts +4 -0
  131. package/src/models/getwebhooksop.ts +8 -0
  132. package/src/models/listdeploymentaliasesop.ts +78 -78
  133. package/src/models/listusereventsop.ts +8 -1
  134. package/src/models/{patchaliasesidprotectionbypassop.ts → patchurlprotectionbypassop.ts} +191 -156
  135. package/src/models/removeprojectenvop.ts +3 -3
  136. package/src/models/teamlimited.ts +34 -1
  137. package/src/models/updateprojectdatacacheop.ts +249 -65
  138. package/src/models/updateprojectop.ts +491 -128
  139. package/src/models/updateprojectprotectionbypassop.ts +239 -31
  140. package/src/models/userevent.ts +579 -70
  141. package/src/sdk/aliases.ts +19 -0
  142. package/src/sdk/sdk.ts +1 -18
  143. package/vercel-spec.json +673 -157
  144. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +0 -1
  145. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +0 -1
  146. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +0 -7
  147. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +0 -1
  148. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +0 -26
  149. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +0 -1
  150. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +0 -1
  151. package/esm/models/patchaliasesidprotectionbypassop.js.map +0 -1
  152. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +0 -37
@@ -28,7 +28,7 @@ export type Revoke = {
28
28
  */
29
29
  export type Generate = {
30
30
  /**
31
- * Optional value of the secret to generate
31
+ * Optional value of the secret to generate, don't send it for oauth2 tokens
32
32
  */
33
33
  secret?: string | undefined;
34
34
  };
@@ -60,22 +60,41 @@ export type UpdateProjectProtectionBypassRequest = {
60
60
  requestBody: UpdateProjectProtectionBypassRequestBody;
61
61
  };
62
62
 
63
- export const UpdateProjectProtectionBypassScope = {
63
+ export const UpdateProjectProtectionBypassProtectionBypassProjectsScope = {
64
64
  AutomationBypass: "automation-bypass",
65
65
  } as const;
66
- export type UpdateProjectProtectionBypassScope = ClosedEnum<
67
- typeof UpdateProjectProtectionBypassScope
66
+ export type UpdateProjectProtectionBypassProtectionBypassProjectsScope =
67
+ ClosedEnum<typeof UpdateProjectProtectionBypassProtectionBypassProjectsScope>;
68
+
69
+ export type UpdateProjectProtectionBypassProtectionBypass2 = {
70
+ createdAt: number;
71
+ createdBy: string;
72
+ scope: UpdateProjectProtectionBypassProtectionBypassProjectsScope;
73
+ };
74
+
75
+ export const UpdateProjectProtectionBypassProtectionBypassScope = {
76
+ IntegrationAutomationBypass: "integration-automation-bypass",
77
+ } as const;
78
+ export type UpdateProjectProtectionBypassProtectionBypassScope = ClosedEnum<
79
+ typeof UpdateProjectProtectionBypassProtectionBypassScope
68
80
  >;
69
81
 
70
- export type UpdateProjectProtectionBypassProtectionBypass = {
82
+ export type UpdateProjectProtectionBypassProtectionBypass1 = {
71
83
  createdAt: number;
72
84
  createdBy: string;
73
- scope: UpdateProjectProtectionBypassScope;
85
+ scope: UpdateProjectProtectionBypassProtectionBypassScope;
86
+ integrationId: string;
74
87
  };
75
88
 
89
+ export type UpdateProjectProtectionBypassProtectionBypass =
90
+ | UpdateProjectProtectionBypassProtectionBypass2
91
+ | UpdateProjectProtectionBypassProtectionBypass1;
92
+
76
93
  export type UpdateProjectProtectionBypassResponseBody = {
77
94
  protectionBypass?: {
78
- [k: string]: UpdateProjectProtectionBypassProtectionBypass;
95
+ [k: string]:
96
+ | UpdateProjectProtectionBypassProtectionBypass2
97
+ | UpdateProjectProtectionBypassProtectionBypass1;
79
98
  } | undefined;
80
99
  };
81
100
 
@@ -328,58 +347,233 @@ export function updateProjectProtectionBypassRequestFromJSON(
328
347
  }
329
348
 
330
349
  /** @internal */
331
- export const UpdateProjectProtectionBypassScope$inboundSchema: z.ZodNativeEnum<
332
- typeof UpdateProjectProtectionBypassScope
333
- > = z.nativeEnum(UpdateProjectProtectionBypassScope);
350
+ export const UpdateProjectProtectionBypassProtectionBypassProjectsScope$inboundSchema:
351
+ z.ZodNativeEnum<
352
+ typeof UpdateProjectProtectionBypassProtectionBypassProjectsScope
353
+ > = z.nativeEnum(UpdateProjectProtectionBypassProtectionBypassProjectsScope);
334
354
 
335
355
  /** @internal */
336
- export const UpdateProjectProtectionBypassScope$outboundSchema: z.ZodNativeEnum<
337
- typeof UpdateProjectProtectionBypassScope
338
- > = UpdateProjectProtectionBypassScope$inboundSchema;
356
+ export const UpdateProjectProtectionBypassProtectionBypassProjectsScope$outboundSchema:
357
+ z.ZodNativeEnum<
358
+ typeof UpdateProjectProtectionBypassProtectionBypassProjectsScope
359
+ > = UpdateProjectProtectionBypassProtectionBypassProjectsScope$inboundSchema;
339
360
 
340
361
  /**
341
362
  * @internal
342
363
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
343
364
  */
344
- export namespace UpdateProjectProtectionBypassScope$ {
345
- /** @deprecated use `UpdateProjectProtectionBypassScope$inboundSchema` instead. */
346
- export const inboundSchema = UpdateProjectProtectionBypassScope$inboundSchema;
347
- /** @deprecated use `UpdateProjectProtectionBypassScope$outboundSchema` instead. */
365
+ export namespace UpdateProjectProtectionBypassProtectionBypassProjectsScope$ {
366
+ /** @deprecated use `UpdateProjectProtectionBypassProtectionBypassProjectsScope$inboundSchema` instead. */
367
+ export const inboundSchema =
368
+ UpdateProjectProtectionBypassProtectionBypassProjectsScope$inboundSchema;
369
+ /** @deprecated use `UpdateProjectProtectionBypassProtectionBypassProjectsScope$outboundSchema` instead. */
348
370
  export const outboundSchema =
349
- UpdateProjectProtectionBypassScope$outboundSchema;
371
+ UpdateProjectProtectionBypassProtectionBypassProjectsScope$outboundSchema;
350
372
  }
351
373
 
352
374
  /** @internal */
353
- export const UpdateProjectProtectionBypassProtectionBypass$inboundSchema:
375
+ export const UpdateProjectProtectionBypassProtectionBypass2$inboundSchema:
354
376
  z.ZodType<
355
- UpdateProjectProtectionBypassProtectionBypass,
377
+ UpdateProjectProtectionBypassProtectionBypass2,
356
378
  z.ZodTypeDef,
357
379
  unknown
358
380
  > = z.object({
359
381
  createdAt: z.number(),
360
382
  createdBy: z.string(),
361
- scope: UpdateProjectProtectionBypassScope$inboundSchema,
383
+ scope:
384
+ UpdateProjectProtectionBypassProtectionBypassProjectsScope$inboundSchema,
362
385
  });
363
386
 
364
387
  /** @internal */
365
- export type UpdateProjectProtectionBypassProtectionBypass$Outbound = {
388
+ export type UpdateProjectProtectionBypassProtectionBypass2$Outbound = {
366
389
  createdAt: number;
367
390
  createdBy: string;
368
391
  scope: string;
369
392
  };
370
393
 
371
394
  /** @internal */
372
- export const UpdateProjectProtectionBypassProtectionBypass$outboundSchema:
395
+ export const UpdateProjectProtectionBypassProtectionBypass2$outboundSchema:
373
396
  z.ZodType<
374
- UpdateProjectProtectionBypassProtectionBypass$Outbound,
397
+ UpdateProjectProtectionBypassProtectionBypass2$Outbound,
375
398
  z.ZodTypeDef,
376
- UpdateProjectProtectionBypassProtectionBypass
399
+ UpdateProjectProtectionBypassProtectionBypass2
400
+ > = z.object({
401
+ createdAt: z.number(),
402
+ createdBy: z.string(),
403
+ scope:
404
+ UpdateProjectProtectionBypassProtectionBypassProjectsScope$outboundSchema,
405
+ });
406
+
407
+ /**
408
+ * @internal
409
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
410
+ */
411
+ export namespace UpdateProjectProtectionBypassProtectionBypass2$ {
412
+ /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass2$inboundSchema` instead. */
413
+ export const inboundSchema =
414
+ UpdateProjectProtectionBypassProtectionBypass2$inboundSchema;
415
+ /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass2$outboundSchema` instead. */
416
+ export const outboundSchema =
417
+ UpdateProjectProtectionBypassProtectionBypass2$outboundSchema;
418
+ /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass2$Outbound` instead. */
419
+ export type Outbound =
420
+ UpdateProjectProtectionBypassProtectionBypass2$Outbound;
421
+ }
422
+
423
+ export function updateProjectProtectionBypassProtectionBypass2ToJSON(
424
+ updateProjectProtectionBypassProtectionBypass2:
425
+ UpdateProjectProtectionBypassProtectionBypass2,
426
+ ): string {
427
+ return JSON.stringify(
428
+ UpdateProjectProtectionBypassProtectionBypass2$outboundSchema.parse(
429
+ updateProjectProtectionBypassProtectionBypass2,
430
+ ),
431
+ );
432
+ }
433
+
434
+ export function updateProjectProtectionBypassProtectionBypass2FromJSON(
435
+ jsonString: string,
436
+ ): SafeParseResult<
437
+ UpdateProjectProtectionBypassProtectionBypass2,
438
+ SDKValidationError
439
+ > {
440
+ return safeParse(
441
+ jsonString,
442
+ (x) =>
443
+ UpdateProjectProtectionBypassProtectionBypass2$inboundSchema.parse(
444
+ JSON.parse(x),
445
+ ),
446
+ `Failed to parse 'UpdateProjectProtectionBypassProtectionBypass2' from JSON`,
447
+ );
448
+ }
449
+
450
+ /** @internal */
451
+ export const UpdateProjectProtectionBypassProtectionBypassScope$inboundSchema:
452
+ z.ZodNativeEnum<typeof UpdateProjectProtectionBypassProtectionBypassScope> = z
453
+ .nativeEnum(UpdateProjectProtectionBypassProtectionBypassScope);
454
+
455
+ /** @internal */
456
+ export const UpdateProjectProtectionBypassProtectionBypassScope$outboundSchema:
457
+ z.ZodNativeEnum<typeof UpdateProjectProtectionBypassProtectionBypassScope> =
458
+ UpdateProjectProtectionBypassProtectionBypassScope$inboundSchema;
459
+
460
+ /**
461
+ * @internal
462
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
463
+ */
464
+ export namespace UpdateProjectProtectionBypassProtectionBypassScope$ {
465
+ /** @deprecated use `UpdateProjectProtectionBypassProtectionBypassScope$inboundSchema` instead. */
466
+ export const inboundSchema =
467
+ UpdateProjectProtectionBypassProtectionBypassScope$inboundSchema;
468
+ /** @deprecated use `UpdateProjectProtectionBypassProtectionBypassScope$outboundSchema` instead. */
469
+ export const outboundSchema =
470
+ UpdateProjectProtectionBypassProtectionBypassScope$outboundSchema;
471
+ }
472
+
473
+ /** @internal */
474
+ export const UpdateProjectProtectionBypassProtectionBypass1$inboundSchema:
475
+ z.ZodType<
476
+ UpdateProjectProtectionBypassProtectionBypass1,
477
+ z.ZodTypeDef,
478
+ unknown
479
+ > = z.object({
480
+ createdAt: z.number(),
481
+ createdBy: z.string(),
482
+ scope: UpdateProjectProtectionBypassProtectionBypassScope$inboundSchema,
483
+ integrationId: z.string(),
484
+ });
485
+
486
+ /** @internal */
487
+ export type UpdateProjectProtectionBypassProtectionBypass1$Outbound = {
488
+ createdAt: number;
489
+ createdBy: string;
490
+ scope: string;
491
+ integrationId: string;
492
+ };
493
+
494
+ /** @internal */
495
+ export const UpdateProjectProtectionBypassProtectionBypass1$outboundSchema:
496
+ z.ZodType<
497
+ UpdateProjectProtectionBypassProtectionBypass1$Outbound,
498
+ z.ZodTypeDef,
499
+ UpdateProjectProtectionBypassProtectionBypass1
377
500
  > = z.object({
378
501
  createdAt: z.number(),
379
502
  createdBy: z.string(),
380
- scope: UpdateProjectProtectionBypassScope$outboundSchema,
503
+ scope: UpdateProjectProtectionBypassProtectionBypassScope$outboundSchema,
504
+ integrationId: z.string(),
381
505
  });
382
506
 
507
+ /**
508
+ * @internal
509
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
510
+ */
511
+ export namespace UpdateProjectProtectionBypassProtectionBypass1$ {
512
+ /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass1$inboundSchema` instead. */
513
+ export const inboundSchema =
514
+ UpdateProjectProtectionBypassProtectionBypass1$inboundSchema;
515
+ /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass1$outboundSchema` instead. */
516
+ export const outboundSchema =
517
+ UpdateProjectProtectionBypassProtectionBypass1$outboundSchema;
518
+ /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass1$Outbound` instead. */
519
+ export type Outbound =
520
+ UpdateProjectProtectionBypassProtectionBypass1$Outbound;
521
+ }
522
+
523
+ export function updateProjectProtectionBypassProtectionBypass1ToJSON(
524
+ updateProjectProtectionBypassProtectionBypass1:
525
+ UpdateProjectProtectionBypassProtectionBypass1,
526
+ ): string {
527
+ return JSON.stringify(
528
+ UpdateProjectProtectionBypassProtectionBypass1$outboundSchema.parse(
529
+ updateProjectProtectionBypassProtectionBypass1,
530
+ ),
531
+ );
532
+ }
533
+
534
+ export function updateProjectProtectionBypassProtectionBypass1FromJSON(
535
+ jsonString: string,
536
+ ): SafeParseResult<
537
+ UpdateProjectProtectionBypassProtectionBypass1,
538
+ SDKValidationError
539
+ > {
540
+ return safeParse(
541
+ jsonString,
542
+ (x) =>
543
+ UpdateProjectProtectionBypassProtectionBypass1$inboundSchema.parse(
544
+ JSON.parse(x),
545
+ ),
546
+ `Failed to parse 'UpdateProjectProtectionBypassProtectionBypass1' from JSON`,
547
+ );
548
+ }
549
+
550
+ /** @internal */
551
+ export const UpdateProjectProtectionBypassProtectionBypass$inboundSchema:
552
+ z.ZodType<
553
+ UpdateProjectProtectionBypassProtectionBypass,
554
+ z.ZodTypeDef,
555
+ unknown
556
+ > = z.union([
557
+ z.lazy(() => UpdateProjectProtectionBypassProtectionBypass2$inboundSchema),
558
+ z.lazy(() => UpdateProjectProtectionBypassProtectionBypass1$inboundSchema),
559
+ ]);
560
+
561
+ /** @internal */
562
+ export type UpdateProjectProtectionBypassProtectionBypass$Outbound =
563
+ | UpdateProjectProtectionBypassProtectionBypass2$Outbound
564
+ | UpdateProjectProtectionBypassProtectionBypass1$Outbound;
565
+
566
+ /** @internal */
567
+ export const UpdateProjectProtectionBypassProtectionBypass$outboundSchema:
568
+ z.ZodType<
569
+ UpdateProjectProtectionBypassProtectionBypass$Outbound,
570
+ z.ZodTypeDef,
571
+ UpdateProjectProtectionBypassProtectionBypass
572
+ > = z.union([
573
+ z.lazy(() => UpdateProjectProtectionBypassProtectionBypass2$outboundSchema),
574
+ z.lazy(() => UpdateProjectProtectionBypassProtectionBypass1$outboundSchema),
575
+ ]);
576
+
383
577
  /**
384
578
  * @internal
385
579
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -429,14 +623,23 @@ export const UpdateProjectProtectionBypassResponseBody$inboundSchema: z.ZodType<
429
623
  unknown
430
624
  > = z.object({
431
625
  protectionBypass: z.record(
432
- z.lazy(() => UpdateProjectProtectionBypassProtectionBypass$inboundSchema),
626
+ z.union([
627
+ z.lazy(() =>
628
+ UpdateProjectProtectionBypassProtectionBypass2$inboundSchema
629
+ ),
630
+ z.lazy(() =>
631
+ UpdateProjectProtectionBypassProtectionBypass1$inboundSchema
632
+ ),
633
+ ]),
433
634
  ).optional(),
434
635
  });
435
636
 
436
637
  /** @internal */
437
638
  export type UpdateProjectProtectionBypassResponseBody$Outbound = {
438
639
  protectionBypass?: {
439
- [k: string]: UpdateProjectProtectionBypassProtectionBypass$Outbound;
640
+ [k: string]:
641
+ | UpdateProjectProtectionBypassProtectionBypass2$Outbound
642
+ | UpdateProjectProtectionBypassProtectionBypass1$Outbound;
440
643
  } | undefined;
441
644
  };
442
645
 
@@ -448,9 +651,14 @@ export const UpdateProjectProtectionBypassResponseBody$outboundSchema:
448
651
  UpdateProjectProtectionBypassResponseBody
449
652
  > = z.object({
450
653
  protectionBypass: z.record(
451
- z.lazy(() =>
452
- UpdateProjectProtectionBypassProtectionBypass$outboundSchema
453
- ),
654
+ z.union([
655
+ z.lazy(() =>
656
+ UpdateProjectProtectionBypassProtectionBypass2$outboundSchema
657
+ ),
658
+ z.lazy(() =>
659
+ UpdateProjectProtectionBypassProtectionBypass1$outboundSchema
660
+ ),
661
+ ]),
454
662
  ).optional(),
455
663
  });
456
664