@vercel/sdk 1.6.10 → 1.6.12

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 (139) hide show
  1. package/README.md +31 -17
  2. package/bin/mcp-server.js +1679 -1309
  3. package/bin/mcp-server.js.map +25 -25
  4. package/docs/sdks/aliases/README.md +84 -0
  5. package/docs/sdks/deployments/README.md +6 -4
  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__/deployments.test.js +2 -1
  10. package/esm/__tests__/deployments.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/deploymentsGetDeploymentEvents.d.ts +2 -2
  18. package/esm/funcs/deploymentsGetDeploymentEvents.d.ts.map +1 -1
  19. package/esm/funcs/deploymentsGetDeploymentEvents.js +2 -2
  20. package/esm/funcs/deploymentsGetDeploymentEvents.js.map +1 -1
  21. package/esm/lib/config.d.ts +2 -2
  22. package/esm/lib/config.js +2 -2
  23. package/esm/mcp-server/mcp-server.js +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/mcp-server/tools/deploymentsGetDeploymentEvents.d.ts.map +1 -1
  31. package/esm/mcp-server/tools/deploymentsGetDeploymentEvents.js +2 -1
  32. package/esm/mcp-server/tools/deploymentsGetDeploymentEvents.js.map +1 -1
  33. package/esm/models/createdeploymentop.d.ts +28 -28
  34. package/esm/models/createdeploymentop.d.ts.map +1 -1
  35. package/esm/models/createdeploymentop.js +12 -12
  36. package/esm/models/createdeploymentop.js.map +1 -1
  37. package/esm/models/createprojectenvop.d.ts +6 -6
  38. package/esm/models/createprojectenvop.js +2 -2
  39. package/esm/models/createprojectenvop.js.map +1 -1
  40. package/esm/models/createprojectop.d.ts +215 -37
  41. package/esm/models/createprojectop.d.ts.map +1 -1
  42. package/esm/models/createprojectop.js +198 -34
  43. package/esm/models/createprojectop.js.map +1 -1
  44. package/esm/models/createrecordop.d.ts +43 -43
  45. package/esm/models/createrecordop.d.ts.map +1 -1
  46. package/esm/models/createrecordop.js +51 -51
  47. package/esm/models/createrecordop.js.map +1 -1
  48. package/esm/models/editprojectenvop.d.ts +3 -3
  49. package/esm/models/editprojectenvop.js +1 -1
  50. package/esm/models/editprojectenvop.js.map +1 -1
  51. package/esm/models/filterprojectenvsop.d.ts +9 -9
  52. package/esm/models/filterprojectenvsop.js +3 -3
  53. package/esm/models/filterprojectenvsop.js.map +1 -1
  54. package/esm/models/getaliasop.d.ts +62 -62
  55. package/esm/models/getaliasop.d.ts.map +1 -1
  56. package/esm/models/getaliasop.js +84 -83
  57. package/esm/models/getaliasop.js.map +1 -1
  58. package/esm/models/getdeploymenteventsop.d.ts +129 -0
  59. package/esm/models/getdeploymenteventsop.d.ts.map +1 -1
  60. package/esm/models/getdeploymenteventsop.js +91 -0
  61. package/esm/models/getdeploymenteventsop.js.map +1 -1
  62. package/esm/models/getprojectsop.d.ts +87 -13
  63. package/esm/models/getprojectsop.d.ts.map +1 -1
  64. package/esm/models/getprojectsop.js +99 -16
  65. package/esm/models/getprojectsop.js.map +1 -1
  66. package/esm/models/listdeploymentaliasesop.d.ts +32 -32
  67. package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
  68. package/esm/models/listdeploymentaliasesop.js +50 -50
  69. package/esm/models/listdeploymentaliasesop.js.map +1 -1
  70. package/esm/models/{patchaliasesidprotectionbypassop.d.ts → patchurlprotectionbypassop.d.ts} +86 -76
  71. package/esm/models/patchurlprotectionbypassop.d.ts.map +1 -0
  72. package/esm/models/{patchaliasesidprotectionbypassop.js → patchurlprotectionbypassop.js} +95 -91
  73. package/esm/models/patchurlprotectionbypassop.js.map +1 -0
  74. package/esm/models/removeprojectenvop.d.ts +9 -9
  75. package/esm/models/removeprojectenvop.js +3 -3
  76. package/esm/models/removeprojectenvop.js.map +1 -1
  77. package/esm/models/updateprojectdatacacheop.d.ts +103 -29
  78. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  79. package/esm/models/updateprojectdatacacheop.js +126 -42
  80. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  81. package/esm/models/updateprojectop.d.ts +247 -69
  82. package/esm/models/updateprojectop.d.ts.map +1 -1
  83. package/esm/models/updateprojectop.js +251 -83
  84. package/esm/models/updateprojectop.js.map +1 -1
  85. package/esm/models/updateprojectprotectionbypassop.d.ts +88 -14
  86. package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
  87. package/esm/models/updateprojectprotectionbypassop.js +100 -17
  88. package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
  89. package/esm/sdk/aliases.d.ts +10 -0
  90. package/esm/sdk/aliases.d.ts.map +1 -1
  91. package/esm/sdk/aliases.js +10 -0
  92. package/esm/sdk/aliases.js.map +1 -1
  93. package/esm/sdk/deployments.d.ts +2 -2
  94. package/esm/sdk/deployments.d.ts.map +1 -1
  95. package/esm/sdk/deployments.js.map +1 -1
  96. package/esm/sdk/sdk.d.ts +1 -8
  97. package/esm/sdk/sdk.d.ts.map +1 -1
  98. package/esm/sdk/sdk.js +0 -8
  99. package/esm/sdk/sdk.js.map +1 -1
  100. package/jsr.json +1 -1
  101. package/package.json +1 -1
  102. package/src/__tests__/aliases.test.ts +20 -0
  103. package/src/__tests__/deployments.test.ts +2 -1
  104. package/src/__tests__/vercel.test.ts +4 -19
  105. package/src/funcs/{patchAliasesIdProtectionBypass.ts → aliasesPatchUrlProtectionBypass.ts} +27 -13
  106. package/src/funcs/deploymentsGetDeploymentEvents.ts +6 -4
  107. package/src/lib/config.ts +2 -2
  108. package/src/mcp-server/mcp-server.ts +1 -1
  109. package/src/mcp-server/server.ts +3 -3
  110. package/src/mcp-server/tools/aliasesPatchUrlProtectionBypass.ts +38 -0
  111. package/src/mcp-server/tools/deploymentsGetDeploymentEvents.ts +3 -1
  112. package/src/models/createdeploymentop.ts +16 -16
  113. package/src/models/createprojectenvop.ts +2 -2
  114. package/src/models/createprojectop.ts +404 -58
  115. package/src/models/createrecordop.ts +84 -96
  116. package/src/models/editprojectenvop.ts +1 -1
  117. package/src/models/filterprojectenvsop.ts +3 -3
  118. package/src/models/getaliasop.ts +130 -126
  119. package/src/models/getdeploymenteventsop.ts +209 -0
  120. package/src/models/getprojectsop.ts +205 -29
  121. package/src/models/listdeploymentaliasesop.ts +78 -78
  122. package/src/models/{patchaliasesidprotectionbypassop.ts → patchurlprotectionbypassop.ts} +191 -156
  123. package/src/models/removeprojectenvop.ts +3 -3
  124. package/src/models/updateprojectdatacacheop.ts +247 -65
  125. package/src/models/updateprojectop.ts +489 -128
  126. package/src/models/updateprojectprotectionbypassop.ts +239 -31
  127. package/src/sdk/aliases.ts +19 -0
  128. package/src/sdk/deployments.ts +5 -2
  129. package/src/sdk/sdk.ts +1 -18
  130. package/vercel-spec.json +536 -157
  131. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +0 -1
  132. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +0 -1
  133. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +0 -7
  134. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +0 -1
  135. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +0 -26
  136. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +0 -1
  137. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +0 -1
  138. package/esm/models/patchaliasesidprotectionbypassop.js.map +0 -1
  139. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +0 -37
@@ -75,11 +75,11 @@ export type GetAliasDeployment = {
75
75
  meta?: string | undefined;
76
76
  };
77
77
 
78
- export const GetAliasProtectionBypassAliasesResponseScope = {
78
+ export const GetAliasProtectionBypassAliasesResponse200Scope = {
79
79
  EmailInvite: "email_invite",
80
80
  } as const;
81
- export type GetAliasProtectionBypassAliasesResponseScope = ClosedEnum<
82
- typeof GetAliasProtectionBypassAliasesResponseScope
81
+ export type GetAliasProtectionBypassAliasesResponse200Scope = ClosedEnum<
82
+ typeof GetAliasProtectionBypassAliasesResponse200Scope
83
83
  >;
84
84
 
85
85
  /**
@@ -89,14 +89,14 @@ export type ProtectionBypass4 = {
89
89
  createdAt: number;
90
90
  lastUpdatedAt: number;
91
91
  lastUpdatedBy: string;
92
- scope: GetAliasProtectionBypassAliasesResponseScope;
92
+ scope: GetAliasProtectionBypassAliasesResponse200Scope;
93
93
  };
94
94
 
95
- export const GetAliasProtectionBypassAliasesScope = {
95
+ export const GetAliasProtectionBypassAliasesResponseScope = {
96
96
  AliasProtectionOverride: "alias-protection-override",
97
97
  } as const;
98
- export type GetAliasProtectionBypassAliasesScope = ClosedEnum<
99
- typeof GetAliasProtectionBypassAliasesScope
98
+ export type GetAliasProtectionBypassAliasesResponseScope = ClosedEnum<
99
+ typeof GetAliasProtectionBypassAliasesResponseScope
100
100
  >;
101
101
 
102
102
  /**
@@ -105,7 +105,7 @@ export type GetAliasProtectionBypassAliasesScope = ClosedEnum<
105
105
  export type ProtectionBypass3 = {
106
106
  createdAt: number;
107
107
  createdBy: string;
108
- scope: GetAliasProtectionBypassAliasesScope;
108
+ scope: GetAliasProtectionBypassAliasesResponseScope;
109
109
  };
110
110
 
111
111
  export const ProtectionBypassAccess = {
@@ -114,43 +114,45 @@ export const ProtectionBypassAccess = {
114
114
  } as const;
115
115
  export type ProtectionBypassAccess = ClosedEnum<typeof ProtectionBypassAccess>;
116
116
 
117
- export const GetAliasProtectionBypassScope = {
117
+ export const GetAliasProtectionBypassAliasesScope = {
118
118
  User: "user",
119
119
  } as const;
120
- export type GetAliasProtectionBypassScope = ClosedEnum<
121
- typeof GetAliasProtectionBypassScope
120
+ export type GetAliasProtectionBypassAliasesScope = ClosedEnum<
121
+ typeof GetAliasProtectionBypassAliasesScope
122
122
  >;
123
123
 
124
124
  /**
125
125
  * The protection bypass for the alias
126
126
  */
127
- export type ProtectionBypass2 = {
127
+ export type GetAliasProtectionBypass2 = {
128
128
  createdAt: number;
129
129
  lastUpdatedAt: number;
130
130
  lastUpdatedBy: string;
131
131
  access: ProtectionBypassAccess;
132
- scope: GetAliasProtectionBypassScope;
132
+ scope: GetAliasProtectionBypassAliasesScope;
133
133
  };
134
134
 
135
- export const ProtectionBypassScope = {
135
+ export const GetAliasProtectionBypassScope = {
136
136
  ShareableLink: "shareable-link",
137
137
  } as const;
138
- export type ProtectionBypassScope = ClosedEnum<typeof ProtectionBypassScope>;
138
+ export type GetAliasProtectionBypassScope = ClosedEnum<
139
+ typeof GetAliasProtectionBypassScope
140
+ >;
139
141
 
140
142
  /**
141
143
  * The protection bypass for the alias
142
144
  */
143
- export type ProtectionBypass1 = {
145
+ export type GetAliasProtectionBypass1 = {
144
146
  createdAt: number;
145
147
  createdBy: string;
146
- scope: ProtectionBypassScope;
148
+ scope: GetAliasProtectionBypassScope;
147
149
  };
148
150
 
149
151
  export type GetAliasProtectionBypass =
150
- | ProtectionBypass1
152
+ | GetAliasProtectionBypass1
151
153
  | ProtectionBypass3
152
154
  | ProtectionBypass4
153
- | ProtectionBypass2;
155
+ | GetAliasProtectionBypass2;
154
156
 
155
157
  /**
156
158
  * The alias information
@@ -209,10 +211,10 @@ export type GetAliasResponseBody = {
209
211
  */
210
212
  protectionBypass?: {
211
213
  [k: string]:
212
- | ProtectionBypass1
214
+ | GetAliasProtectionBypass1
213
215
  | ProtectionBypass3
214
216
  | ProtectionBypass4
215
- | ProtectionBypass2;
217
+ | GetAliasProtectionBypass2;
216
218
  } | undefined;
217
219
  };
218
220
 
@@ -405,26 +407,26 @@ export function getAliasDeploymentFromJSON(
405
407
  }
406
408
 
407
409
  /** @internal */
408
- export const GetAliasProtectionBypassAliasesResponseScope$inboundSchema:
409
- z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponseScope> = z
410
- .nativeEnum(GetAliasProtectionBypassAliasesResponseScope);
410
+ export const GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema:
411
+ z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponse200Scope> = z
412
+ .nativeEnum(GetAliasProtectionBypassAliasesResponse200Scope);
411
413
 
412
414
  /** @internal */
413
- export const GetAliasProtectionBypassAliasesResponseScope$outboundSchema:
414
- z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponseScope> =
415
- GetAliasProtectionBypassAliasesResponseScope$inboundSchema;
415
+ export const GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema:
416
+ z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponse200Scope> =
417
+ GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema;
416
418
 
417
419
  /**
418
420
  * @internal
419
421
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
420
422
  */
421
- export namespace GetAliasProtectionBypassAliasesResponseScope$ {
422
- /** @deprecated use `GetAliasProtectionBypassAliasesResponseScope$inboundSchema` instead. */
423
+ export namespace GetAliasProtectionBypassAliasesResponse200Scope$ {
424
+ /** @deprecated use `GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema` instead. */
423
425
  export const inboundSchema =
424
- GetAliasProtectionBypassAliasesResponseScope$inboundSchema;
425
- /** @deprecated use `GetAliasProtectionBypassAliasesResponseScope$outboundSchema` instead. */
426
+ GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema;
427
+ /** @deprecated use `GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema` instead. */
426
428
  export const outboundSchema =
427
- GetAliasProtectionBypassAliasesResponseScope$outboundSchema;
429
+ GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema;
428
430
  }
429
431
 
430
432
  /** @internal */
@@ -436,7 +438,7 @@ export const ProtectionBypass4$inboundSchema: z.ZodType<
436
438
  createdAt: z.number(),
437
439
  lastUpdatedAt: z.number(),
438
440
  lastUpdatedBy: z.string(),
439
- scope: GetAliasProtectionBypassAliasesResponseScope$inboundSchema,
441
+ scope: GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema,
440
442
  });
441
443
 
442
444
  /** @internal */
@@ -456,7 +458,7 @@ export const ProtectionBypass4$outboundSchema: z.ZodType<
456
458
  createdAt: z.number(),
457
459
  lastUpdatedAt: z.number(),
458
460
  lastUpdatedBy: z.string(),
459
- scope: GetAliasProtectionBypassAliasesResponseScope$outboundSchema,
461
+ scope: GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema,
460
462
  });
461
463
 
462
464
  /**
@@ -491,27 +493,26 @@ export function protectionBypass4FromJSON(
491
493
  }
492
494
 
493
495
  /** @internal */
494
- export const GetAliasProtectionBypassAliasesScope$inboundSchema:
495
- z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesScope> = z.nativeEnum(
496
- GetAliasProtectionBypassAliasesScope,
497
- );
496
+ export const GetAliasProtectionBypassAliasesResponseScope$inboundSchema:
497
+ z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponseScope> = z
498
+ .nativeEnum(GetAliasProtectionBypassAliasesResponseScope);
498
499
 
499
500
  /** @internal */
500
- export const GetAliasProtectionBypassAliasesScope$outboundSchema:
501
- z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesScope> =
502
- GetAliasProtectionBypassAliasesScope$inboundSchema;
501
+ export const GetAliasProtectionBypassAliasesResponseScope$outboundSchema:
502
+ z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponseScope> =
503
+ GetAliasProtectionBypassAliasesResponseScope$inboundSchema;
503
504
 
504
505
  /**
505
506
  * @internal
506
507
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
507
508
  */
508
- export namespace GetAliasProtectionBypassAliasesScope$ {
509
- /** @deprecated use `GetAliasProtectionBypassAliasesScope$inboundSchema` instead. */
509
+ export namespace GetAliasProtectionBypassAliasesResponseScope$ {
510
+ /** @deprecated use `GetAliasProtectionBypassAliasesResponseScope$inboundSchema` instead. */
510
511
  export const inboundSchema =
511
- GetAliasProtectionBypassAliasesScope$inboundSchema;
512
- /** @deprecated use `GetAliasProtectionBypassAliasesScope$outboundSchema` instead. */
512
+ GetAliasProtectionBypassAliasesResponseScope$inboundSchema;
513
+ /** @deprecated use `GetAliasProtectionBypassAliasesResponseScope$outboundSchema` instead. */
513
514
  export const outboundSchema =
514
- GetAliasProtectionBypassAliasesScope$outboundSchema;
515
+ GetAliasProtectionBypassAliasesResponseScope$outboundSchema;
515
516
  }
516
517
 
517
518
  /** @internal */
@@ -522,7 +523,7 @@ export const ProtectionBypass3$inboundSchema: z.ZodType<
522
523
  > = z.object({
523
524
  createdAt: z.number(),
524
525
  createdBy: z.string(),
525
- scope: GetAliasProtectionBypassAliasesScope$inboundSchema,
526
+ scope: GetAliasProtectionBypassAliasesResponseScope$inboundSchema,
526
527
  });
527
528
 
528
529
  /** @internal */
@@ -540,7 +541,7 @@ export const ProtectionBypass3$outboundSchema: z.ZodType<
540
541
  > = z.object({
541
542
  createdAt: z.number(),
542
543
  createdBy: z.string(),
543
- scope: GetAliasProtectionBypassAliasesScope$outboundSchema,
544
+ scope: GetAliasProtectionBypassAliasesResponseScope$outboundSchema,
544
545
  });
545
546
 
546
547
  /**
@@ -596,29 +597,32 @@ export namespace ProtectionBypassAccess$ {
596
597
  }
597
598
 
598
599
  /** @internal */
599
- export const GetAliasProtectionBypassScope$inboundSchema: z.ZodNativeEnum<
600
- typeof GetAliasProtectionBypassScope
601
- > = z.nativeEnum(GetAliasProtectionBypassScope);
600
+ export const GetAliasProtectionBypassAliasesScope$inboundSchema:
601
+ z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesScope> = z.nativeEnum(
602
+ GetAliasProtectionBypassAliasesScope,
603
+ );
602
604
 
603
605
  /** @internal */
604
- export const GetAliasProtectionBypassScope$outboundSchema: z.ZodNativeEnum<
605
- typeof GetAliasProtectionBypassScope
606
- > = GetAliasProtectionBypassScope$inboundSchema;
606
+ export const GetAliasProtectionBypassAliasesScope$outboundSchema:
607
+ z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesScope> =
608
+ GetAliasProtectionBypassAliasesScope$inboundSchema;
607
609
 
608
610
  /**
609
611
  * @internal
610
612
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
611
613
  */
612
- export namespace GetAliasProtectionBypassScope$ {
613
- /** @deprecated use `GetAliasProtectionBypassScope$inboundSchema` instead. */
614
- export const inboundSchema = GetAliasProtectionBypassScope$inboundSchema;
615
- /** @deprecated use `GetAliasProtectionBypassScope$outboundSchema` instead. */
616
- export const outboundSchema = GetAliasProtectionBypassScope$outboundSchema;
614
+ export namespace GetAliasProtectionBypassAliasesScope$ {
615
+ /** @deprecated use `GetAliasProtectionBypassAliasesScope$inboundSchema` instead. */
616
+ export const inboundSchema =
617
+ GetAliasProtectionBypassAliasesScope$inboundSchema;
618
+ /** @deprecated use `GetAliasProtectionBypassAliasesScope$outboundSchema` instead. */
619
+ export const outboundSchema =
620
+ GetAliasProtectionBypassAliasesScope$outboundSchema;
617
621
  }
618
622
 
619
623
  /** @internal */
620
- export const ProtectionBypass2$inboundSchema: z.ZodType<
621
- ProtectionBypass2,
624
+ export const GetAliasProtectionBypass2$inboundSchema: z.ZodType<
625
+ GetAliasProtectionBypass2,
622
626
  z.ZodTypeDef,
623
627
  unknown
624
628
  > = z.object({
@@ -626,11 +630,11 @@ export const ProtectionBypass2$inboundSchema: z.ZodType<
626
630
  lastUpdatedAt: z.number(),
627
631
  lastUpdatedBy: z.string(),
628
632
  access: ProtectionBypassAccess$inboundSchema,
629
- scope: GetAliasProtectionBypassScope$inboundSchema,
633
+ scope: GetAliasProtectionBypassAliasesScope$inboundSchema,
630
634
  });
631
635
 
632
636
  /** @internal */
633
- export type ProtectionBypass2$Outbound = {
637
+ export type GetAliasProtectionBypass2$Outbound = {
634
638
  createdAt: number;
635
639
  lastUpdatedAt: number;
636
640
  lastUpdatedBy: string;
@@ -639,127 +643,127 @@ export type ProtectionBypass2$Outbound = {
639
643
  };
640
644
 
641
645
  /** @internal */
642
- export const ProtectionBypass2$outboundSchema: z.ZodType<
643
- ProtectionBypass2$Outbound,
646
+ export const GetAliasProtectionBypass2$outboundSchema: z.ZodType<
647
+ GetAliasProtectionBypass2$Outbound,
644
648
  z.ZodTypeDef,
645
- ProtectionBypass2
649
+ GetAliasProtectionBypass2
646
650
  > = z.object({
647
651
  createdAt: z.number(),
648
652
  lastUpdatedAt: z.number(),
649
653
  lastUpdatedBy: z.string(),
650
654
  access: ProtectionBypassAccess$outboundSchema,
651
- scope: GetAliasProtectionBypassScope$outboundSchema,
655
+ scope: GetAliasProtectionBypassAliasesScope$outboundSchema,
652
656
  });
653
657
 
654
658
  /**
655
659
  * @internal
656
660
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
657
661
  */
658
- export namespace ProtectionBypass2$ {
659
- /** @deprecated use `ProtectionBypass2$inboundSchema` instead. */
660
- export const inboundSchema = ProtectionBypass2$inboundSchema;
661
- /** @deprecated use `ProtectionBypass2$outboundSchema` instead. */
662
- export const outboundSchema = ProtectionBypass2$outboundSchema;
663
- /** @deprecated use `ProtectionBypass2$Outbound` instead. */
664
- export type Outbound = ProtectionBypass2$Outbound;
662
+ export namespace GetAliasProtectionBypass2$ {
663
+ /** @deprecated use `GetAliasProtectionBypass2$inboundSchema` instead. */
664
+ export const inboundSchema = GetAliasProtectionBypass2$inboundSchema;
665
+ /** @deprecated use `GetAliasProtectionBypass2$outboundSchema` instead. */
666
+ export const outboundSchema = GetAliasProtectionBypass2$outboundSchema;
667
+ /** @deprecated use `GetAliasProtectionBypass2$Outbound` instead. */
668
+ export type Outbound = GetAliasProtectionBypass2$Outbound;
665
669
  }
666
670
 
667
- export function protectionBypass2ToJSON(
668
- protectionBypass2: ProtectionBypass2,
671
+ export function getAliasProtectionBypass2ToJSON(
672
+ getAliasProtectionBypass2: GetAliasProtectionBypass2,
669
673
  ): string {
670
674
  return JSON.stringify(
671
- ProtectionBypass2$outboundSchema.parse(protectionBypass2),
675
+ GetAliasProtectionBypass2$outboundSchema.parse(getAliasProtectionBypass2),
672
676
  );
673
677
  }
674
678
 
675
- export function protectionBypass2FromJSON(
679
+ export function getAliasProtectionBypass2FromJSON(
676
680
  jsonString: string,
677
- ): SafeParseResult<ProtectionBypass2, SDKValidationError> {
681
+ ): SafeParseResult<GetAliasProtectionBypass2, SDKValidationError> {
678
682
  return safeParse(
679
683
  jsonString,
680
- (x) => ProtectionBypass2$inboundSchema.parse(JSON.parse(x)),
681
- `Failed to parse 'ProtectionBypass2' from JSON`,
684
+ (x) => GetAliasProtectionBypass2$inboundSchema.parse(JSON.parse(x)),
685
+ `Failed to parse 'GetAliasProtectionBypass2' from JSON`,
682
686
  );
683
687
  }
684
688
 
685
689
  /** @internal */
686
- export const ProtectionBypassScope$inboundSchema: z.ZodNativeEnum<
687
- typeof ProtectionBypassScope
688
- > = z.nativeEnum(ProtectionBypassScope);
690
+ export const GetAliasProtectionBypassScope$inboundSchema: z.ZodNativeEnum<
691
+ typeof GetAliasProtectionBypassScope
692
+ > = z.nativeEnum(GetAliasProtectionBypassScope);
689
693
 
690
694
  /** @internal */
691
- export const ProtectionBypassScope$outboundSchema: z.ZodNativeEnum<
692
- typeof ProtectionBypassScope
693
- > = ProtectionBypassScope$inboundSchema;
695
+ export const GetAliasProtectionBypassScope$outboundSchema: z.ZodNativeEnum<
696
+ typeof GetAliasProtectionBypassScope
697
+ > = GetAliasProtectionBypassScope$inboundSchema;
694
698
 
695
699
  /**
696
700
  * @internal
697
701
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
698
702
  */
699
- export namespace ProtectionBypassScope$ {
700
- /** @deprecated use `ProtectionBypassScope$inboundSchema` instead. */
701
- export const inboundSchema = ProtectionBypassScope$inboundSchema;
702
- /** @deprecated use `ProtectionBypassScope$outboundSchema` instead. */
703
- export const outboundSchema = ProtectionBypassScope$outboundSchema;
703
+ export namespace GetAliasProtectionBypassScope$ {
704
+ /** @deprecated use `GetAliasProtectionBypassScope$inboundSchema` instead. */
705
+ export const inboundSchema = GetAliasProtectionBypassScope$inboundSchema;
706
+ /** @deprecated use `GetAliasProtectionBypassScope$outboundSchema` instead. */
707
+ export const outboundSchema = GetAliasProtectionBypassScope$outboundSchema;
704
708
  }
705
709
 
706
710
  /** @internal */
707
- export const ProtectionBypass1$inboundSchema: z.ZodType<
708
- ProtectionBypass1,
711
+ export const GetAliasProtectionBypass1$inboundSchema: z.ZodType<
712
+ GetAliasProtectionBypass1,
709
713
  z.ZodTypeDef,
710
714
  unknown
711
715
  > = z.object({
712
716
  createdAt: z.number(),
713
717
  createdBy: z.string(),
714
- scope: ProtectionBypassScope$inboundSchema,
718
+ scope: GetAliasProtectionBypassScope$inboundSchema,
715
719
  });
716
720
 
717
721
  /** @internal */
718
- export type ProtectionBypass1$Outbound = {
722
+ export type GetAliasProtectionBypass1$Outbound = {
719
723
  createdAt: number;
720
724
  createdBy: string;
721
725
  scope: string;
722
726
  };
723
727
 
724
728
  /** @internal */
725
- export const ProtectionBypass1$outboundSchema: z.ZodType<
726
- ProtectionBypass1$Outbound,
729
+ export const GetAliasProtectionBypass1$outboundSchema: z.ZodType<
730
+ GetAliasProtectionBypass1$Outbound,
727
731
  z.ZodTypeDef,
728
- ProtectionBypass1
732
+ GetAliasProtectionBypass1
729
733
  > = z.object({
730
734
  createdAt: z.number(),
731
735
  createdBy: z.string(),
732
- scope: ProtectionBypassScope$outboundSchema,
736
+ scope: GetAliasProtectionBypassScope$outboundSchema,
733
737
  });
734
738
 
735
739
  /**
736
740
  * @internal
737
741
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
738
742
  */
739
- export namespace ProtectionBypass1$ {
740
- /** @deprecated use `ProtectionBypass1$inboundSchema` instead. */
741
- export const inboundSchema = ProtectionBypass1$inboundSchema;
742
- /** @deprecated use `ProtectionBypass1$outboundSchema` instead. */
743
- export const outboundSchema = ProtectionBypass1$outboundSchema;
744
- /** @deprecated use `ProtectionBypass1$Outbound` instead. */
745
- export type Outbound = ProtectionBypass1$Outbound;
743
+ export namespace GetAliasProtectionBypass1$ {
744
+ /** @deprecated use `GetAliasProtectionBypass1$inboundSchema` instead. */
745
+ export const inboundSchema = GetAliasProtectionBypass1$inboundSchema;
746
+ /** @deprecated use `GetAliasProtectionBypass1$outboundSchema` instead. */
747
+ export const outboundSchema = GetAliasProtectionBypass1$outboundSchema;
748
+ /** @deprecated use `GetAliasProtectionBypass1$Outbound` instead. */
749
+ export type Outbound = GetAliasProtectionBypass1$Outbound;
746
750
  }
747
751
 
748
- export function protectionBypass1ToJSON(
749
- protectionBypass1: ProtectionBypass1,
752
+ export function getAliasProtectionBypass1ToJSON(
753
+ getAliasProtectionBypass1: GetAliasProtectionBypass1,
750
754
  ): string {
751
755
  return JSON.stringify(
752
- ProtectionBypass1$outboundSchema.parse(protectionBypass1),
756
+ GetAliasProtectionBypass1$outboundSchema.parse(getAliasProtectionBypass1),
753
757
  );
754
758
  }
755
759
 
756
- export function protectionBypass1FromJSON(
760
+ export function getAliasProtectionBypass1FromJSON(
757
761
  jsonString: string,
758
- ): SafeParseResult<ProtectionBypass1, SDKValidationError> {
762
+ ): SafeParseResult<GetAliasProtectionBypass1, SDKValidationError> {
759
763
  return safeParse(
760
764
  jsonString,
761
- (x) => ProtectionBypass1$inboundSchema.parse(JSON.parse(x)),
762
- `Failed to parse 'ProtectionBypass1' from JSON`,
765
+ (x) => GetAliasProtectionBypass1$inboundSchema.parse(JSON.parse(x)),
766
+ `Failed to parse 'GetAliasProtectionBypass1' from JSON`,
763
767
  );
764
768
  }
765
769
 
@@ -769,18 +773,18 @@ export const GetAliasProtectionBypass$inboundSchema: z.ZodType<
769
773
  z.ZodTypeDef,
770
774
  unknown
771
775
  > = z.union([
772
- z.lazy(() => ProtectionBypass1$inboundSchema),
776
+ z.lazy(() => GetAliasProtectionBypass1$inboundSchema),
773
777
  z.lazy(() => ProtectionBypass3$inboundSchema),
774
778
  z.lazy(() => ProtectionBypass4$inboundSchema),
775
- z.lazy(() => ProtectionBypass2$inboundSchema),
779
+ z.lazy(() => GetAliasProtectionBypass2$inboundSchema),
776
780
  ]);
777
781
 
778
782
  /** @internal */
779
783
  export type GetAliasProtectionBypass$Outbound =
780
- | ProtectionBypass1$Outbound
784
+ | GetAliasProtectionBypass1$Outbound
781
785
  | ProtectionBypass3$Outbound
782
786
  | ProtectionBypass4$Outbound
783
- | ProtectionBypass2$Outbound;
787
+ | GetAliasProtectionBypass2$Outbound;
784
788
 
785
789
  /** @internal */
786
790
  export const GetAliasProtectionBypass$outboundSchema: z.ZodType<
@@ -788,10 +792,10 @@ export const GetAliasProtectionBypass$outboundSchema: z.ZodType<
788
792
  z.ZodTypeDef,
789
793
  GetAliasProtectionBypass
790
794
  > = z.union([
791
- z.lazy(() => ProtectionBypass1$outboundSchema),
795
+ z.lazy(() => GetAliasProtectionBypass1$outboundSchema),
792
796
  z.lazy(() => ProtectionBypass3$outboundSchema),
793
797
  z.lazy(() => ProtectionBypass4$outboundSchema),
794
- z.lazy(() => ProtectionBypass2$outboundSchema),
798
+ z.lazy(() => GetAliasProtectionBypass2$outboundSchema),
795
799
  ]);
796
800
 
797
801
  /**
@@ -845,10 +849,10 @@ export const GetAliasResponseBody$inboundSchema: z.ZodType<
845
849
  updatedAt: z.nullable(z.number()).optional(),
846
850
  protectionBypass: z.record(
847
851
  z.union([
848
- z.lazy(() => ProtectionBypass1$inboundSchema),
852
+ z.lazy(() => GetAliasProtectionBypass1$inboundSchema),
849
853
  z.lazy(() => ProtectionBypass3$inboundSchema),
850
854
  z.lazy(() => ProtectionBypass4$inboundSchema),
851
- z.lazy(() => ProtectionBypass2$inboundSchema),
855
+ z.lazy(() => GetAliasProtectionBypass2$inboundSchema),
852
856
  ]),
853
857
  ).optional(),
854
858
  });
@@ -869,10 +873,10 @@ export type GetAliasResponseBody$Outbound = {
869
873
  updatedAt?: number | null | undefined;
870
874
  protectionBypass?: {
871
875
  [k: string]:
872
- | ProtectionBypass1$Outbound
876
+ | GetAliasProtectionBypass1$Outbound
873
877
  | ProtectionBypass3$Outbound
874
878
  | ProtectionBypass4$Outbound
875
- | ProtectionBypass2$Outbound;
879
+ | GetAliasProtectionBypass2$Outbound;
876
880
  } | undefined;
877
881
  };
878
882
 
@@ -896,10 +900,10 @@ export const GetAliasResponseBody$outboundSchema: z.ZodType<
896
900
  updatedAt: z.nullable(z.number()).optional(),
897
901
  protectionBypass: z.record(
898
902
  z.union([
899
- z.lazy(() => ProtectionBypass1$outboundSchema),
903
+ z.lazy(() => GetAliasProtectionBypass1$outboundSchema),
900
904
  z.lazy(() => ProtectionBypass3$outboundSchema),
901
905
  z.lazy(() => ProtectionBypass4$outboundSchema),
902
- z.lazy(() => ProtectionBypass2$outboundSchema),
906
+ z.lazy(() => GetAliasProtectionBypass2$outboundSchema),
903
907
  ]),
904
908
  ).optional(),
905
909
  });