@vercel/sdk 1.6.10 → 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 (99) hide show
  1. package/README.md +31 -17
  2. package/bin/mcp-server.js +1510 -1189
  3. package/bin/mcp-server.js.map +17 -17
  4. package/docs/sdks/aliases/README.md +84 -0
  5. package/docs/sdks/vercel/README.md +0 -77
  6. package/esm/__tests__/aliases.test.js +17 -0
  7. package/esm/__tests__/aliases.test.js.map +1 -1
  8. package/esm/__tests__/projects.test.js +15 -13
  9. package/esm/__tests__/projects.test.js.map +1 -1
  10. package/esm/__tests__/vercel.test.js +3 -16
  11. package/esm/__tests__/vercel.test.js.map +1 -1
  12. package/esm/funcs/{patchAliasesIdProtectionBypass.d.ts → aliasesPatchUrlProtectionBypass.d.ts} +7 -4
  13. package/esm/funcs/aliasesPatchUrlProtectionBypass.d.ts.map +1 -0
  14. package/esm/funcs/{patchAliasesIdProtectionBypass.js → aliasesPatchUrlProtectionBypass.js} +22 -9
  15. package/esm/funcs/aliasesPatchUrlProtectionBypass.js.map +1 -0
  16. package/esm/lib/config.d.ts +2 -2
  17. package/esm/lib/config.js +2 -2
  18. package/esm/mcp-server/mcp-server.js +1 -1
  19. package/esm/mcp-server/server.js +3 -3
  20. package/esm/mcp-server/server.js.map +1 -1
  21. package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.d.ts +7 -0
  22. package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.d.ts.map +1 -0
  23. package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.js +28 -0
  24. package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.js.map +1 -0
  25. package/esm/models/createprojectop.d.ts +206 -28
  26. package/esm/models/createprojectop.d.ts.map +1 -1
  27. package/esm/models/createprojectop.js +195 -31
  28. package/esm/models/createprojectop.js.map +1 -1
  29. package/esm/models/createrecordop.d.ts +43 -43
  30. package/esm/models/createrecordop.d.ts.map +1 -1
  31. package/esm/models/createrecordop.js +51 -51
  32. package/esm/models/createrecordop.js.map +1 -1
  33. package/esm/models/getaliasop.d.ts +62 -62
  34. package/esm/models/getaliasop.d.ts.map +1 -1
  35. package/esm/models/getaliasop.js +84 -83
  36. package/esm/models/getaliasop.js.map +1 -1
  37. package/esm/models/getprojectsop.d.ts +87 -13
  38. package/esm/models/getprojectsop.d.ts.map +1 -1
  39. package/esm/models/getprojectsop.js +99 -16
  40. package/esm/models/getprojectsop.js.map +1 -1
  41. package/esm/models/listdeploymentaliasesop.d.ts +32 -32
  42. package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
  43. package/esm/models/listdeploymentaliasesop.js +50 -50
  44. package/esm/models/listdeploymentaliasesop.js.map +1 -1
  45. package/esm/models/{patchaliasesidprotectionbypassop.d.ts → patchurlprotectionbypassop.d.ts} +86 -76
  46. package/esm/models/patchurlprotectionbypassop.d.ts.map +1 -0
  47. package/esm/models/{patchaliasesidprotectionbypassop.js → patchurlprotectionbypassop.js} +95 -91
  48. package/esm/models/patchurlprotectionbypassop.js.map +1 -0
  49. package/esm/models/updateprojectdatacacheop.d.ts +103 -29
  50. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  51. package/esm/models/updateprojectdatacacheop.js +126 -42
  52. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  53. package/esm/models/updateprojectop.d.ts +238 -60
  54. package/esm/models/updateprojectop.d.ts.map +1 -1
  55. package/esm/models/updateprojectop.js +248 -80
  56. package/esm/models/updateprojectop.js.map +1 -1
  57. package/esm/models/updateprojectprotectionbypassop.d.ts +88 -14
  58. package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
  59. package/esm/models/updateprojectprotectionbypassop.js +100 -17
  60. package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
  61. package/esm/sdk/aliases.d.ts +10 -0
  62. package/esm/sdk/aliases.d.ts.map +1 -1
  63. package/esm/sdk/aliases.js +10 -0
  64. package/esm/sdk/aliases.js.map +1 -1
  65. package/esm/sdk/sdk.d.ts +1 -8
  66. package/esm/sdk/sdk.d.ts.map +1 -1
  67. package/esm/sdk/sdk.js +0 -8
  68. package/esm/sdk/sdk.js.map +1 -1
  69. package/jsr.json +1 -1
  70. package/package.json +1 -1
  71. package/src/__tests__/aliases.test.ts +20 -0
  72. package/src/__tests__/projects.test.ts +15 -13
  73. package/src/__tests__/vercel.test.ts +4 -19
  74. package/src/funcs/{patchAliasesIdProtectionBypass.ts → aliasesPatchUrlProtectionBypass.ts} +27 -13
  75. package/src/lib/config.ts +2 -2
  76. package/src/mcp-server/mcp-server.ts +1 -1
  77. package/src/mcp-server/server.ts +3 -3
  78. package/src/mcp-server/tools/aliasesPatchUrlProtectionBypass.ts +38 -0
  79. package/src/models/createprojectop.ts +401 -55
  80. package/src/models/createrecordop.ts +84 -96
  81. package/src/models/getaliasop.ts +130 -126
  82. package/src/models/getprojectsop.ts +205 -29
  83. package/src/models/listdeploymentaliasesop.ts +78 -78
  84. package/src/models/{patchaliasesidprotectionbypassop.ts → patchurlprotectionbypassop.ts} +191 -156
  85. package/src/models/updateprojectdatacacheop.ts +247 -65
  86. package/src/models/updateprojectop.ts +486 -125
  87. package/src/models/updateprojectprotectionbypassop.ts +239 -31
  88. package/src/sdk/aliases.ts +19 -0
  89. package/src/sdk/sdk.ts +1 -18
  90. package/vercel-spec.json +417 -112
  91. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +0 -1
  92. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +0 -1
  93. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +0 -7
  94. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +0 -1
  95. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +0 -26
  96. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +0 -1
  97. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +0 -1
  98. package/esm/models/patchaliasesidprotectionbypassop.js.map +0 -1
  99. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +0 -37
@@ -1487,17 +1487,37 @@ export type GetProjectsLastAliasRequest = {
1487
1487
  type: GetProjectsProjectsResponse200ApplicationJSONType;
1488
1488
  };
1489
1489
 
1490
- export const GetProjectsScope = {
1490
+ export const GetProjectsProtectionBypassProjectsScope = {
1491
1491
  AutomationBypass: "automation-bypass",
1492
1492
  } as const;
1493
- export type GetProjectsScope = ClosedEnum<typeof GetProjectsScope>;
1493
+ export type GetProjectsProtectionBypassProjectsScope = ClosedEnum<
1494
+ typeof GetProjectsProtectionBypassProjectsScope
1495
+ >;
1496
+
1497
+ export type GetProjectsProtectionBypass2 = {
1498
+ createdAt: number;
1499
+ createdBy: string;
1500
+ scope: GetProjectsProtectionBypassProjectsScope;
1501
+ };
1502
+
1503
+ export const GetProjectsProtectionBypassScope = {
1504
+ IntegrationAutomationBypass: "integration-automation-bypass",
1505
+ } as const;
1506
+ export type GetProjectsProtectionBypassScope = ClosedEnum<
1507
+ typeof GetProjectsProtectionBypassScope
1508
+ >;
1494
1509
 
1495
- export type GetProjectsProtectionBypass = {
1510
+ export type GetProjectsProtectionBypass1 = {
1496
1511
  createdAt: number;
1497
1512
  createdBy: string;
1498
- scope: GetProjectsScope;
1513
+ scope: GetProjectsProtectionBypassScope;
1514
+ integrationId: string;
1499
1515
  };
1500
1516
 
1517
+ export type GetProjectsProtectionBypass =
1518
+ | GetProjectsProtectionBypass2
1519
+ | GetProjectsProtectionBypass1;
1520
+
1501
1521
  export const GetProjectsTrustedIpsProjectsDeploymentType = {
1502
1522
  Production: "production",
1503
1523
  Preview: "preview",
@@ -1858,7 +1878,9 @@ export type GetProjectsProjects = {
1858
1878
  permissions?: GetProjectsPermissions | undefined;
1859
1879
  lastRollbackTarget?: GetProjectsLastRollbackTarget | null | undefined;
1860
1880
  lastAliasRequest?: GetProjectsLastAliasRequest | null | undefined;
1861
- protectionBypass?: { [k: string]: GetProjectsProtectionBypass } | undefined;
1881
+ protectionBypass?: {
1882
+ [k: string]: GetProjectsProtectionBypass2 | GetProjectsProtectionBypass1;
1883
+ } | undefined;
1862
1884
  hasActiveBranches?: boolean | undefined;
1863
1885
  trustedIps?:
1864
1886
  | GetProjectsTrustedIps2
@@ -8431,55 +8453,201 @@ export function getProjectsLastAliasRequestFromJSON(
8431
8453
  }
8432
8454
 
8433
8455
  /** @internal */
8434
- export const GetProjectsScope$inboundSchema: z.ZodNativeEnum<
8435
- typeof GetProjectsScope
8436
- > = z.nativeEnum(GetProjectsScope);
8456
+ export const GetProjectsProtectionBypassProjectsScope$inboundSchema:
8457
+ z.ZodNativeEnum<typeof GetProjectsProtectionBypassProjectsScope> = z
8458
+ .nativeEnum(GetProjectsProtectionBypassProjectsScope);
8437
8459
 
8438
8460
  /** @internal */
8439
- export const GetProjectsScope$outboundSchema: z.ZodNativeEnum<
8440
- typeof GetProjectsScope
8441
- > = GetProjectsScope$inboundSchema;
8461
+ export const GetProjectsProtectionBypassProjectsScope$outboundSchema:
8462
+ z.ZodNativeEnum<typeof GetProjectsProtectionBypassProjectsScope> =
8463
+ GetProjectsProtectionBypassProjectsScope$inboundSchema;
8442
8464
 
8443
8465
  /**
8444
8466
  * @internal
8445
8467
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8446
8468
  */
8447
- export namespace GetProjectsScope$ {
8448
- /** @deprecated use `GetProjectsScope$inboundSchema` instead. */
8449
- export const inboundSchema = GetProjectsScope$inboundSchema;
8450
- /** @deprecated use `GetProjectsScope$outboundSchema` instead. */
8451
- export const outboundSchema = GetProjectsScope$outboundSchema;
8469
+ export namespace GetProjectsProtectionBypassProjectsScope$ {
8470
+ /** @deprecated use `GetProjectsProtectionBypassProjectsScope$inboundSchema` instead. */
8471
+ export const inboundSchema =
8472
+ GetProjectsProtectionBypassProjectsScope$inboundSchema;
8473
+ /** @deprecated use `GetProjectsProtectionBypassProjectsScope$outboundSchema` instead. */
8474
+ export const outboundSchema =
8475
+ GetProjectsProtectionBypassProjectsScope$outboundSchema;
8452
8476
  }
8453
8477
 
8454
8478
  /** @internal */
8455
- export const GetProjectsProtectionBypass$inboundSchema: z.ZodType<
8456
- GetProjectsProtectionBypass,
8479
+ export const GetProjectsProtectionBypass2$inboundSchema: z.ZodType<
8480
+ GetProjectsProtectionBypass2,
8457
8481
  z.ZodTypeDef,
8458
8482
  unknown
8459
8483
  > = z.object({
8460
8484
  createdAt: z.number(),
8461
8485
  createdBy: z.string(),
8462
- scope: GetProjectsScope$inboundSchema,
8486
+ scope: GetProjectsProtectionBypassProjectsScope$inboundSchema,
8463
8487
  });
8464
8488
 
8465
8489
  /** @internal */
8466
- export type GetProjectsProtectionBypass$Outbound = {
8490
+ export type GetProjectsProtectionBypass2$Outbound = {
8467
8491
  createdAt: number;
8468
8492
  createdBy: string;
8469
8493
  scope: string;
8470
8494
  };
8471
8495
 
8472
8496
  /** @internal */
8473
- export const GetProjectsProtectionBypass$outboundSchema: z.ZodType<
8474
- GetProjectsProtectionBypass$Outbound,
8497
+ export const GetProjectsProtectionBypass2$outboundSchema: z.ZodType<
8498
+ GetProjectsProtectionBypass2$Outbound,
8475
8499
  z.ZodTypeDef,
8476
- GetProjectsProtectionBypass
8500
+ GetProjectsProtectionBypass2
8501
+ > = z.object({
8502
+ createdAt: z.number(),
8503
+ createdBy: z.string(),
8504
+ scope: GetProjectsProtectionBypassProjectsScope$outboundSchema,
8505
+ });
8506
+
8507
+ /**
8508
+ * @internal
8509
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8510
+ */
8511
+ export namespace GetProjectsProtectionBypass2$ {
8512
+ /** @deprecated use `GetProjectsProtectionBypass2$inboundSchema` instead. */
8513
+ export const inboundSchema = GetProjectsProtectionBypass2$inboundSchema;
8514
+ /** @deprecated use `GetProjectsProtectionBypass2$outboundSchema` instead. */
8515
+ export const outboundSchema = GetProjectsProtectionBypass2$outboundSchema;
8516
+ /** @deprecated use `GetProjectsProtectionBypass2$Outbound` instead. */
8517
+ export type Outbound = GetProjectsProtectionBypass2$Outbound;
8518
+ }
8519
+
8520
+ export function getProjectsProtectionBypass2ToJSON(
8521
+ getProjectsProtectionBypass2: GetProjectsProtectionBypass2,
8522
+ ): string {
8523
+ return JSON.stringify(
8524
+ GetProjectsProtectionBypass2$outboundSchema.parse(
8525
+ getProjectsProtectionBypass2,
8526
+ ),
8527
+ );
8528
+ }
8529
+
8530
+ export function getProjectsProtectionBypass2FromJSON(
8531
+ jsonString: string,
8532
+ ): SafeParseResult<GetProjectsProtectionBypass2, SDKValidationError> {
8533
+ return safeParse(
8534
+ jsonString,
8535
+ (x) => GetProjectsProtectionBypass2$inboundSchema.parse(JSON.parse(x)),
8536
+ `Failed to parse 'GetProjectsProtectionBypass2' from JSON`,
8537
+ );
8538
+ }
8539
+
8540
+ /** @internal */
8541
+ export const GetProjectsProtectionBypassScope$inboundSchema: z.ZodNativeEnum<
8542
+ typeof GetProjectsProtectionBypassScope
8543
+ > = z.nativeEnum(GetProjectsProtectionBypassScope);
8544
+
8545
+ /** @internal */
8546
+ export const GetProjectsProtectionBypassScope$outboundSchema: z.ZodNativeEnum<
8547
+ typeof GetProjectsProtectionBypassScope
8548
+ > = GetProjectsProtectionBypassScope$inboundSchema;
8549
+
8550
+ /**
8551
+ * @internal
8552
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8553
+ */
8554
+ export namespace GetProjectsProtectionBypassScope$ {
8555
+ /** @deprecated use `GetProjectsProtectionBypassScope$inboundSchema` instead. */
8556
+ export const inboundSchema = GetProjectsProtectionBypassScope$inboundSchema;
8557
+ /** @deprecated use `GetProjectsProtectionBypassScope$outboundSchema` instead. */
8558
+ export const outboundSchema = GetProjectsProtectionBypassScope$outboundSchema;
8559
+ }
8560
+
8561
+ /** @internal */
8562
+ export const GetProjectsProtectionBypass1$inboundSchema: z.ZodType<
8563
+ GetProjectsProtectionBypass1,
8564
+ z.ZodTypeDef,
8565
+ unknown
8566
+ > = z.object({
8567
+ createdAt: z.number(),
8568
+ createdBy: z.string(),
8569
+ scope: GetProjectsProtectionBypassScope$inboundSchema,
8570
+ integrationId: z.string(),
8571
+ });
8572
+
8573
+ /** @internal */
8574
+ export type GetProjectsProtectionBypass1$Outbound = {
8575
+ createdAt: number;
8576
+ createdBy: string;
8577
+ scope: string;
8578
+ integrationId: string;
8579
+ };
8580
+
8581
+ /** @internal */
8582
+ export const GetProjectsProtectionBypass1$outboundSchema: z.ZodType<
8583
+ GetProjectsProtectionBypass1$Outbound,
8584
+ z.ZodTypeDef,
8585
+ GetProjectsProtectionBypass1
8477
8586
  > = z.object({
8478
8587
  createdAt: z.number(),
8479
8588
  createdBy: z.string(),
8480
- scope: GetProjectsScope$outboundSchema,
8589
+ scope: GetProjectsProtectionBypassScope$outboundSchema,
8590
+ integrationId: z.string(),
8481
8591
  });
8482
8592
 
8593
+ /**
8594
+ * @internal
8595
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8596
+ */
8597
+ export namespace GetProjectsProtectionBypass1$ {
8598
+ /** @deprecated use `GetProjectsProtectionBypass1$inboundSchema` instead. */
8599
+ export const inboundSchema = GetProjectsProtectionBypass1$inboundSchema;
8600
+ /** @deprecated use `GetProjectsProtectionBypass1$outboundSchema` instead. */
8601
+ export const outboundSchema = GetProjectsProtectionBypass1$outboundSchema;
8602
+ /** @deprecated use `GetProjectsProtectionBypass1$Outbound` instead. */
8603
+ export type Outbound = GetProjectsProtectionBypass1$Outbound;
8604
+ }
8605
+
8606
+ export function getProjectsProtectionBypass1ToJSON(
8607
+ getProjectsProtectionBypass1: GetProjectsProtectionBypass1,
8608
+ ): string {
8609
+ return JSON.stringify(
8610
+ GetProjectsProtectionBypass1$outboundSchema.parse(
8611
+ getProjectsProtectionBypass1,
8612
+ ),
8613
+ );
8614
+ }
8615
+
8616
+ export function getProjectsProtectionBypass1FromJSON(
8617
+ jsonString: string,
8618
+ ): SafeParseResult<GetProjectsProtectionBypass1, SDKValidationError> {
8619
+ return safeParse(
8620
+ jsonString,
8621
+ (x) => GetProjectsProtectionBypass1$inboundSchema.parse(JSON.parse(x)),
8622
+ `Failed to parse 'GetProjectsProtectionBypass1' from JSON`,
8623
+ );
8624
+ }
8625
+
8626
+ /** @internal */
8627
+ export const GetProjectsProtectionBypass$inboundSchema: z.ZodType<
8628
+ GetProjectsProtectionBypass,
8629
+ z.ZodTypeDef,
8630
+ unknown
8631
+ > = z.union([
8632
+ z.lazy(() => GetProjectsProtectionBypass2$inboundSchema),
8633
+ z.lazy(() => GetProjectsProtectionBypass1$inboundSchema),
8634
+ ]);
8635
+
8636
+ /** @internal */
8637
+ export type GetProjectsProtectionBypass$Outbound =
8638
+ | GetProjectsProtectionBypass2$Outbound
8639
+ | GetProjectsProtectionBypass1$Outbound;
8640
+
8641
+ /** @internal */
8642
+ export const GetProjectsProtectionBypass$outboundSchema: z.ZodType<
8643
+ GetProjectsProtectionBypass$Outbound,
8644
+ z.ZodTypeDef,
8645
+ GetProjectsProtectionBypass
8646
+ > = z.union([
8647
+ z.lazy(() => GetProjectsProtectionBypass2$outboundSchema),
8648
+ z.lazy(() => GetProjectsProtectionBypass1$outboundSchema),
8649
+ ]);
8650
+
8483
8651
  /**
8484
8652
  * @internal
8485
8653
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -10236,7 +10404,10 @@ export const GetProjectsProjects$inboundSchema: z.ZodType<
10236
10404
  z.lazy(() => GetProjectsLastAliasRequest$inboundSchema),
10237
10405
  ).optional(),
10238
10406
  protectionBypass: z.record(
10239
- z.lazy(() => GetProjectsProtectionBypass$inboundSchema),
10407
+ z.union([
10408
+ z.lazy(() => GetProjectsProtectionBypass2$inboundSchema),
10409
+ z.lazy(() => GetProjectsProtectionBypass1$inboundSchema),
10410
+ ]),
10240
10411
  ).optional(),
10241
10412
  hasActiveBranches: z.boolean().optional(),
10242
10413
  trustedIps: z.nullable(
@@ -10338,9 +10509,11 @@ export type GetProjectsProjects$Outbound = {
10338
10509
  | null
10339
10510
  | undefined;
10340
10511
  lastAliasRequest?: GetProjectsLastAliasRequest$Outbound | null | undefined;
10341
- protectionBypass?:
10342
- | { [k: string]: GetProjectsProtectionBypass$Outbound }
10343
- | undefined;
10512
+ protectionBypass?: {
10513
+ [k: string]:
10514
+ | GetProjectsProtectionBypass2$Outbound
10515
+ | GetProjectsProtectionBypass1$Outbound;
10516
+ } | undefined;
10344
10517
  hasActiveBranches?: boolean | undefined;
10345
10518
  trustedIps?:
10346
10519
  | GetProjectsTrustedIps2$Outbound
@@ -10455,7 +10628,10 @@ export const GetProjectsProjects$outboundSchema: z.ZodType<
10455
10628
  z.lazy(() => GetProjectsLastAliasRequest$outboundSchema),
10456
10629
  ).optional(),
10457
10630
  protectionBypass: z.record(
10458
- z.lazy(() => GetProjectsProtectionBypass$outboundSchema),
10631
+ z.union([
10632
+ z.lazy(() => GetProjectsProtectionBypass2$outboundSchema),
10633
+ z.lazy(() => GetProjectsProtectionBypass1$outboundSchema),
10634
+ ]),
10459
10635
  ).optional(),
10460
10636
  hasActiveBranches: z.boolean().optional(),
10461
10637
  trustedIps: z.nullable(
@@ -23,11 +23,13 @@ export type ListDeploymentAliasesRequest = {
23
23
  slug?: string | undefined;
24
24
  };
25
25
 
26
- export const ListDeploymentAliasesProtectionBypassAliasesResponseScope = {
26
+ export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope = {
27
27
  EmailInvite: "email_invite",
28
28
  } as const;
29
- export type ListDeploymentAliasesProtectionBypassAliasesResponseScope =
30
- ClosedEnum<typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope>;
29
+ export type ListDeploymentAliasesProtectionBypassAliasesResponse200Scope =
30
+ ClosedEnum<
31
+ typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
32
+ >;
31
33
 
32
34
  /**
33
35
  * The protection bypass for the alias
@@ -36,15 +38,14 @@ export type ListDeploymentAliasesProtectionBypass4 = {
36
38
  createdAt: number;
37
39
  lastUpdatedAt: number;
38
40
  lastUpdatedBy: string;
39
- scope: ListDeploymentAliasesProtectionBypassAliasesResponseScope;
41
+ scope: ListDeploymentAliasesProtectionBypassAliasesResponse200Scope;
40
42
  };
41
43
 
42
- export const ListDeploymentAliasesProtectionBypassAliasesScope = {
44
+ export const ListDeploymentAliasesProtectionBypassAliasesResponseScope = {
43
45
  AliasProtectionOverride: "alias-protection-override",
44
46
  } as const;
45
- export type ListDeploymentAliasesProtectionBypassAliasesScope = ClosedEnum<
46
- typeof ListDeploymentAliasesProtectionBypassAliasesScope
47
- >;
47
+ export type ListDeploymentAliasesProtectionBypassAliasesResponseScope =
48
+ ClosedEnum<typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope>;
48
49
 
49
50
  /**
50
51
  * The protection bypass for the alias
@@ -52,7 +53,7 @@ export type ListDeploymentAliasesProtectionBypassAliasesScope = ClosedEnum<
52
53
  export type ListDeploymentAliasesProtectionBypass3 = {
53
54
  createdAt: number;
54
55
  createdBy: string;
55
- scope: ListDeploymentAliasesProtectionBypassAliasesScope;
56
+ scope: ListDeploymentAliasesProtectionBypassAliasesResponseScope;
56
57
  };
57
58
 
58
59
  export const ListDeploymentAliasesProtectionBypassAccess = {
@@ -63,11 +64,11 @@ export type ListDeploymentAliasesProtectionBypassAccess = ClosedEnum<
63
64
  typeof ListDeploymentAliasesProtectionBypassAccess
64
65
  >;
65
66
 
66
- export const ListDeploymentAliasesProtectionBypassScope = {
67
+ export const ListDeploymentAliasesProtectionBypassAliasesScope = {
67
68
  User: "user",
68
69
  } as const;
69
- export type ListDeploymentAliasesProtectionBypassScope = ClosedEnum<
70
- typeof ListDeploymentAliasesProtectionBypassScope
70
+ export type ListDeploymentAliasesProtectionBypassAliasesScope = ClosedEnum<
71
+ typeof ListDeploymentAliasesProtectionBypassAliasesScope
71
72
  >;
72
73
 
73
74
  /**
@@ -78,16 +79,15 @@ export type ListDeploymentAliasesProtectionBypass2 = {
78
79
  lastUpdatedAt: number;
79
80
  lastUpdatedBy: string;
80
81
  access: ListDeploymentAliasesProtectionBypassAccess;
81
- scope: ListDeploymentAliasesProtectionBypassScope;
82
+ scope: ListDeploymentAliasesProtectionBypassAliasesScope;
82
83
  };
83
84
 
84
- export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope = {
85
+ export const ListDeploymentAliasesProtectionBypassScope = {
85
86
  ShareableLink: "shareable-link",
86
87
  } as const;
87
- export type ListDeploymentAliasesProtectionBypassAliasesResponse200Scope =
88
- ClosedEnum<
89
- typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
90
- >;
88
+ export type ListDeploymentAliasesProtectionBypassScope = ClosedEnum<
89
+ typeof ListDeploymentAliasesProtectionBypassScope
90
+ >;
91
91
 
92
92
  /**
93
93
  * The protection bypass for the alias
@@ -95,7 +95,7 @@ export type ListDeploymentAliasesProtectionBypassAliasesResponse200Scope =
95
95
  export type ListDeploymentAliasesProtectionBypass1 = {
96
96
  createdAt: number;
97
97
  createdBy: string;
98
- scope: ListDeploymentAliasesProtectionBypassAliasesResponse200Scope;
98
+ scope: ListDeploymentAliasesProtectionBypassScope;
99
99
  };
100
100
 
101
101
  export type ListDeploymentAliasesProtectionBypass =
@@ -209,28 +209,31 @@ export function listDeploymentAliasesRequestFromJSON(
209
209
  }
210
210
 
211
211
  /** @internal */
212
- export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema:
212
+ export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema:
213
213
  z.ZodNativeEnum<
214
- typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope
215
- > = z.nativeEnum(ListDeploymentAliasesProtectionBypassAliasesResponseScope);
214
+ typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
215
+ > = z.nativeEnum(
216
+ ListDeploymentAliasesProtectionBypassAliasesResponse200Scope,
217
+ );
216
218
 
217
219
  /** @internal */
218
- export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema:
220
+ export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema:
219
221
  z.ZodNativeEnum<
220
- typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope
221
- > = ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema;
222
+ typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
223
+ > =
224
+ ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema;
222
225
 
223
226
  /**
224
227
  * @internal
225
228
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
226
229
  */
227
- export namespace ListDeploymentAliasesProtectionBypassAliasesResponseScope$ {
228
- /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema` instead. */
230
+ export namespace ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$ {
231
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema` instead. */
229
232
  export const inboundSchema =
230
- ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema;
231
- /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema` instead. */
233
+ ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema;
234
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema` instead. */
232
235
  export const outboundSchema =
233
- ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema;
236
+ ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema;
234
237
  }
235
238
 
236
239
  /** @internal */
@@ -243,7 +246,7 @@ export const ListDeploymentAliasesProtectionBypass4$inboundSchema: z.ZodType<
243
246
  lastUpdatedAt: z.number(),
244
247
  lastUpdatedBy: z.string(),
245
248
  scope:
246
- ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema,
249
+ ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema,
247
250
  });
248
251
 
249
252
  /** @internal */
@@ -264,7 +267,7 @@ export const ListDeploymentAliasesProtectionBypass4$outboundSchema: z.ZodType<
264
267
  lastUpdatedAt: z.number(),
265
268
  lastUpdatedBy: z.string(),
266
269
  scope:
267
- ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema,
270
+ ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema,
268
271
  });
269
272
 
270
273
  /**
@@ -305,26 +308,28 @@ export function listDeploymentAliasesProtectionBypass4FromJSON(
305
308
  }
306
309
 
307
310
  /** @internal */
308
- export const ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema:
309
- z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassAliasesScope> = z
310
- .nativeEnum(ListDeploymentAliasesProtectionBypassAliasesScope);
311
+ export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema:
312
+ z.ZodNativeEnum<
313
+ typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope
314
+ > = z.nativeEnum(ListDeploymentAliasesProtectionBypassAliasesResponseScope);
311
315
 
312
316
  /** @internal */
313
- export const ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema:
314
- z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassAliasesScope> =
315
- ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema;
317
+ export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema:
318
+ z.ZodNativeEnum<
319
+ typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope
320
+ > = ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema;
316
321
 
317
322
  /**
318
323
  * @internal
319
324
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
320
325
  */
321
- export namespace ListDeploymentAliasesProtectionBypassAliasesScope$ {
322
- /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema` instead. */
326
+ export namespace ListDeploymentAliasesProtectionBypassAliasesResponseScope$ {
327
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema` instead. */
323
328
  export const inboundSchema =
324
- ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema;
325
- /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema` instead. */
329
+ ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema;
330
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema` instead. */
326
331
  export const outboundSchema =
327
- ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema;
332
+ ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema;
328
333
  }
329
334
 
330
335
  /** @internal */
@@ -335,7 +340,8 @@ export const ListDeploymentAliasesProtectionBypass3$inboundSchema: z.ZodType<
335
340
  > = z.object({
336
341
  createdAt: z.number(),
337
342
  createdBy: z.string(),
338
- scope: ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema,
343
+ scope:
344
+ ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema,
339
345
  });
340
346
 
341
347
  /** @internal */
@@ -353,7 +359,8 @@ export const ListDeploymentAliasesProtectionBypass3$outboundSchema: z.ZodType<
353
359
  > = z.object({
354
360
  createdAt: z.number(),
355
361
  createdBy: z.string(),
356
- scope: ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema,
362
+ scope:
363
+ ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema,
357
364
  });
358
365
 
359
366
  /**
@@ -417,26 +424,26 @@ export namespace ListDeploymentAliasesProtectionBypassAccess$ {
417
424
  }
418
425
 
419
426
  /** @internal */
420
- export const ListDeploymentAliasesProtectionBypassScope$inboundSchema:
421
- z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassScope> = z
422
- .nativeEnum(ListDeploymentAliasesProtectionBypassScope);
427
+ export const ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema:
428
+ z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassAliasesScope> = z
429
+ .nativeEnum(ListDeploymentAliasesProtectionBypassAliasesScope);
423
430
 
424
431
  /** @internal */
425
- export const ListDeploymentAliasesProtectionBypassScope$outboundSchema:
426
- z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassScope> =
427
- ListDeploymentAliasesProtectionBypassScope$inboundSchema;
432
+ export const ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema:
433
+ z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassAliasesScope> =
434
+ ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema;
428
435
 
429
436
  /**
430
437
  * @internal
431
438
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
432
439
  */
433
- export namespace ListDeploymentAliasesProtectionBypassScope$ {
434
- /** @deprecated use `ListDeploymentAliasesProtectionBypassScope$inboundSchema` instead. */
440
+ export namespace ListDeploymentAliasesProtectionBypassAliasesScope$ {
441
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema` instead. */
435
442
  export const inboundSchema =
436
- ListDeploymentAliasesProtectionBypassScope$inboundSchema;
437
- /** @deprecated use `ListDeploymentAliasesProtectionBypassScope$outboundSchema` instead. */
443
+ ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema;
444
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema` instead. */
438
445
  export const outboundSchema =
439
- ListDeploymentAliasesProtectionBypassScope$outboundSchema;
446
+ ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema;
440
447
  }
441
448
 
442
449
  /** @internal */
@@ -449,7 +456,7 @@ export const ListDeploymentAliasesProtectionBypass2$inboundSchema: z.ZodType<
449
456
  lastUpdatedAt: z.number(),
450
457
  lastUpdatedBy: z.string(),
451
458
  access: ListDeploymentAliasesProtectionBypassAccess$inboundSchema,
452
- scope: ListDeploymentAliasesProtectionBypassScope$inboundSchema,
459
+ scope: ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema,
453
460
  });
454
461
 
455
462
  /** @internal */
@@ -471,7 +478,7 @@ export const ListDeploymentAliasesProtectionBypass2$outboundSchema: z.ZodType<
471
478
  lastUpdatedAt: z.number(),
472
479
  lastUpdatedBy: z.string(),
473
480
  access: ListDeploymentAliasesProtectionBypassAccess$outboundSchema,
474
- scope: ListDeploymentAliasesProtectionBypassScope$outboundSchema,
481
+ scope: ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema,
475
482
  });
476
483
 
477
484
  /**
@@ -512,31 +519,26 @@ export function listDeploymentAliasesProtectionBypass2FromJSON(
512
519
  }
513
520
 
514
521
  /** @internal */
515
- export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema:
516
- z.ZodNativeEnum<
517
- typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
518
- > = z.nativeEnum(
519
- ListDeploymentAliasesProtectionBypassAliasesResponse200Scope,
520
- );
522
+ export const ListDeploymentAliasesProtectionBypassScope$inboundSchema:
523
+ z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassScope> = z
524
+ .nativeEnum(ListDeploymentAliasesProtectionBypassScope);
521
525
 
522
526
  /** @internal */
523
- export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema:
524
- z.ZodNativeEnum<
525
- typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
526
- > =
527
- ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema;
527
+ export const ListDeploymentAliasesProtectionBypassScope$outboundSchema:
528
+ z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassScope> =
529
+ ListDeploymentAliasesProtectionBypassScope$inboundSchema;
528
530
 
529
531
  /**
530
532
  * @internal
531
533
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
532
534
  */
533
- export namespace ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$ {
534
- /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema` instead. */
535
+ export namespace ListDeploymentAliasesProtectionBypassScope$ {
536
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassScope$inboundSchema` instead. */
535
537
  export const inboundSchema =
536
- ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema;
537
- /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema` instead. */
538
+ ListDeploymentAliasesProtectionBypassScope$inboundSchema;
539
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassScope$outboundSchema` instead. */
538
540
  export const outboundSchema =
539
- ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema;
541
+ ListDeploymentAliasesProtectionBypassScope$outboundSchema;
540
542
  }
541
543
 
542
544
  /** @internal */
@@ -547,8 +549,7 @@ export const ListDeploymentAliasesProtectionBypass1$inboundSchema: z.ZodType<
547
549
  > = z.object({
548
550
  createdAt: z.number(),
549
551
  createdBy: z.string(),
550
- scope:
551
- ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema,
552
+ scope: ListDeploymentAliasesProtectionBypassScope$inboundSchema,
552
553
  });
553
554
 
554
555
  /** @internal */
@@ -566,8 +567,7 @@ export const ListDeploymentAliasesProtectionBypass1$outboundSchema: z.ZodType<
566
567
  > = z.object({
567
568
  createdAt: z.number(),
568
569
  createdBy: z.string(),
569
- scope:
570
- ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema,
570
+ scope: ListDeploymentAliasesProtectionBypassScope$outboundSchema,
571
571
  });
572
572
 
573
573
  /**