@vercel/sdk 1.6.7 → 1.6.8

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 (142) hide show
  1. package/README.md +17 -29
  2. package/bin/mcp-server.js +2591 -901
  3. package/bin/mcp-server.js.map +29 -26
  4. package/docs/sdks/vercel/README.md +77 -0
  5. package/esm/__tests__/environment.test.js +28 -4
  6. package/esm/__tests__/environment.test.js.map +1 -1
  7. package/esm/__tests__/vercel.test.d.ts +2 -0
  8. package/esm/__tests__/vercel.test.d.ts.map +1 -0
  9. package/esm/__tests__/vercel.test.js +21 -0
  10. package/esm/__tests__/vercel.test.js.map +1 -0
  11. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  12. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  13. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts +18 -0
  14. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  15. package/esm/funcs/patchAliasesIdProtectionBypass.js +81 -0
  16. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +1 -0
  17. package/esm/lib/config.d.ts +3 -3
  18. package/esm/lib/config.js +3 -3
  19. package/esm/lib/sdks.d.ts +3 -1
  20. package/esm/lib/sdks.d.ts.map +1 -1
  21. package/esm/lib/sdks.js +6 -11
  22. package/esm/lib/sdks.js.map +1 -1
  23. package/esm/mcp-server/mcp-server.js +1 -1
  24. package/esm/mcp-server/server.d.ts.map +1 -1
  25. package/esm/mcp-server/server.js +3 -1
  26. package/esm/mcp-server/server.js.map +1 -1
  27. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +7 -0
  28. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  29. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +26 -0
  30. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +1 -0
  31. package/esm/models/authuser.d.ts +0 -5
  32. package/esm/models/authuser.d.ts.map +1 -1
  33. package/esm/models/authuser.js +0 -2
  34. package/esm/models/authuser.js.map +1 -1
  35. package/esm/models/canceldeploymentop.d.ts +268 -26
  36. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  37. package/esm/models/canceldeploymentop.js +194 -24
  38. package/esm/models/canceldeploymentop.js.map +1 -1
  39. package/esm/models/createcustomenvironmentop.d.ts +244 -2
  40. package/esm/models/createcustomenvironmentop.d.ts.map +1 -1
  41. package/esm/models/createcustomenvironmentop.js +174 -2
  42. package/esm/models/createcustomenvironmentop.js.map +1 -1
  43. package/esm/models/createdeploymentop.d.ts +357 -58
  44. package/esm/models/createdeploymentop.d.ts.map +1 -1
  45. package/esm/models/createdeploymentop.js +290 -60
  46. package/esm/models/createdeploymentop.js.map +1 -1
  47. package/esm/models/createprojectop.d.ts +328 -71
  48. package/esm/models/createprojectop.d.ts.map +1 -1
  49. package/esm/models/createprojectop.js +253 -75
  50. package/esm/models/createprojectop.js.map +1 -1
  51. package/esm/models/createrecordop.d.ts +43 -43
  52. package/esm/models/createrecordop.d.ts.map +1 -1
  53. package/esm/models/createrecordop.js +51 -51
  54. package/esm/models/createrecordop.js.map +1 -1
  55. package/esm/models/getaliasop.d.ts +8 -8
  56. package/esm/models/getaliasop.d.ts.map +1 -1
  57. package/esm/models/getaliasop.js +12 -13
  58. package/esm/models/getaliasop.js.map +1 -1
  59. package/esm/models/getcustomenvironmentop.d.ts +242 -2
  60. package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
  61. package/esm/models/getcustomenvironmentop.js +175 -2
  62. package/esm/models/getcustomenvironmentop.js.map +1 -1
  63. package/esm/models/getdeploymentop.d.ts +502 -18
  64. package/esm/models/getdeploymentop.d.ts.map +1 -1
  65. package/esm/models/getdeploymentop.js +354 -14
  66. package/esm/models/getdeploymentop.js.map +1 -1
  67. package/esm/models/getprojectdomainsop.d.ts +30 -30
  68. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  69. package/esm/models/getprojectdomainsop.js +32 -32
  70. package/esm/models/getprojectdomainsop.js.map +1 -1
  71. package/esm/models/getprojectsop.d.ts +342 -95
  72. package/esm/models/getprojectsop.d.ts.map +1 -1
  73. package/esm/models/getprojectsop.js +285 -112
  74. package/esm/models/getprojectsop.js.map +1 -1
  75. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +242 -2
  76. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  77. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +172 -2
  78. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  79. package/esm/models/listaliasesop.d.ts +8 -8
  80. package/esm/models/listaliasesop.d.ts.map +1 -1
  81. package/esm/models/listaliasesop.js +12 -12
  82. package/esm/models/listaliasesop.js.map +1 -1
  83. package/esm/models/patchaliasesidprotectionbypassop.d.ts +409 -0
  84. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +1 -0
  85. package/esm/models/patchaliasesidprotectionbypassop.js +386 -0
  86. package/esm/models/patchaliasesidprotectionbypassop.js.map +1 -0
  87. package/esm/models/removecustomenvironmentop.d.ts +245 -2
  88. package/esm/models/removecustomenvironmentop.d.ts.map +1 -1
  89. package/esm/models/removecustomenvironmentop.js +173 -2
  90. package/esm/models/removecustomenvironmentop.js.map +1 -1
  91. package/esm/models/updatecustomenvironmentop.d.ts +244 -2
  92. package/esm/models/updatecustomenvironmentop.d.ts.map +1 -1
  93. package/esm/models/updatecustomenvironmentop.js +174 -2
  94. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  95. package/esm/models/updateprojectdatacacheop.d.ts +358 -111
  96. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  97. package/esm/models/updateprojectdatacacheop.js +309 -135
  98. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  99. package/esm/models/updateprojectop.d.ts +342 -95
  100. package/esm/models/updateprojectop.d.ts.map +1 -1
  101. package/esm/models/updateprojectop.js +285 -111
  102. package/esm/models/updateprojectop.js.map +1 -1
  103. package/esm/models/userevent.d.ts +124 -6
  104. package/esm/models/userevent.d.ts.map +1 -1
  105. package/esm/models/userevent.js +114 -6
  106. package/esm/models/userevent.js.map +1 -1
  107. package/esm/sdk/sdk.d.ts +8 -1
  108. package/esm/sdk/sdk.d.ts.map +1 -1
  109. package/esm/sdk/sdk.js +8 -0
  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__/environment.test.ts +28 -4
  114. package/src/__tests__/vercel.test.ts +26 -0
  115. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  116. package/src/funcs/patchAliasesIdProtectionBypass.ts +185 -0
  117. package/src/lib/config.ts +3 -3
  118. package/src/lib/sdks.ts +11 -11
  119. package/src/mcp-server/mcp-server.ts +1 -1
  120. package/src/mcp-server/server.ts +3 -1
  121. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +37 -0
  122. package/src/models/authuser.ts +0 -7
  123. package/src/models/canceldeploymentop.ts +503 -43
  124. package/src/models/createcustomenvironmentop.ts +426 -4
  125. package/src/models/createdeploymentop.ts +640 -117
  126. package/src/models/createprojectop.ts +658 -201
  127. package/src/models/createrecordop.ts +96 -84
  128. package/src/models/getaliasop.ts +16 -14
  129. package/src/models/getcustomenvironmentop.ts +412 -4
  130. package/src/models/getdeploymentop.ts +962 -49
  131. package/src/models/getprojectdomainsop.ts +84 -84
  132. package/src/models/getprojectsop.ts +630 -189
  133. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +473 -4
  134. package/src/models/listaliasesop.ts +19 -16
  135. package/src/models/patchaliasesidprotectionbypassop.ts +786 -0
  136. package/src/models/removecustomenvironmentop.ts +425 -4
  137. package/src/models/updatecustomenvironmentop.ts +437 -4
  138. package/src/models/updateprojectdatacacheop.ts +731 -271
  139. package/src/models/updateprojectop.ts +692 -249
  140. package/src/models/userevent.ts +205 -12
  141. package/src/sdk/sdk.ts +18 -1
  142. package/vercel-spec.json +2646 -161
@@ -183,6 +183,14 @@ export type OidcTokenConfig = {
183
183
  };
184
184
 
185
185
  export type CreateProjectRequestBody = {
186
+ /**
187
+ * Opt-in to preview toolbar on the project level
188
+ */
189
+ enablePreviewFeedback?: boolean | null | undefined;
190
+ /**
191
+ * Opt-in to production toolbar on the project level
192
+ */
193
+ enableProductionFeedback?: boolean | null | undefined;
186
194
  /**
187
195
  * The build command for this project. When `null` is used this value will be automatically detected
188
196
  */
@@ -651,7 +659,127 @@ export type CreateProjectEnv = {
651
659
  customEnvironmentIds?: Array<string> | undefined;
652
660
  };
653
661
 
654
- export type CreateProjectCustomEnvironments = {};
662
+ /**
663
+ * The type of environment (production, preview, or development)
664
+ */
665
+ export const CreateProjectProjectsResponse200Type = {
666
+ Production: "production",
667
+ Preview: "preview",
668
+ Development: "development",
669
+ } as const;
670
+ /**
671
+ * The type of environment (production, preview, or development)
672
+ */
673
+ export type CreateProjectProjectsResponse200Type = ClosedEnum<
674
+ typeof CreateProjectProjectsResponse200Type
675
+ >;
676
+
677
+ /**
678
+ * The type of matching to perform
679
+ */
680
+ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType =
681
+ {
682
+ EndsWith: "endsWith",
683
+ StartsWith: "startsWith",
684
+ Equals: "equals",
685
+ } as const;
686
+ /**
687
+ * The type of matching to perform
688
+ */
689
+ export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType =
690
+ ClosedEnum<
691
+ typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
692
+ >;
693
+
694
+ /**
695
+ * Configuration for matching git branches to this environment
696
+ */
697
+ export type CreateProjectBranchMatcher = {
698
+ /**
699
+ * The type of matching to perform
700
+ */
701
+ type:
702
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType;
703
+ /**
704
+ * The pattern to match against branch names
705
+ */
706
+ pattern: string;
707
+ };
708
+
709
+ /**
710
+ * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
711
+ */
712
+ export type CreateProjectVerification = {
713
+ type: string;
714
+ domain: string;
715
+ value: string;
716
+ reason: string;
717
+ };
718
+
719
+ /**
720
+ * List of domains associated with this environment
721
+ */
722
+ export type CreateProjectDomains = {
723
+ name: string;
724
+ apexName: string;
725
+ projectId: string;
726
+ redirect?: string | null | undefined;
727
+ redirectStatusCode?: number | null | undefined;
728
+ gitBranch?: string | null | undefined;
729
+ customEnvironmentId?: string | null | undefined;
730
+ updatedAt?: number | undefined;
731
+ createdAt?: number | undefined;
732
+ /**
733
+ * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.
734
+ */
735
+ verified: boolean;
736
+ /**
737
+ * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
738
+ */
739
+ verification?: Array<CreateProjectVerification> | undefined;
740
+ };
741
+
742
+ /**
743
+ * Internal representation of a custom environment with all required properties
744
+ */
745
+ export type CreateProjectCustomEnvironments = {
746
+ /**
747
+ * Unique identifier for the custom environment (format: env_*)
748
+ */
749
+ id: string;
750
+ /**
751
+ * URL-friendly name of the environment
752
+ */
753
+ slug: string;
754
+ /**
755
+ * The type of environment (production, preview, or development)
756
+ */
757
+ type: CreateProjectProjectsResponse200Type;
758
+ /**
759
+ * Optional description of the environment's purpose
760
+ */
761
+ description?: string | undefined;
762
+ /**
763
+ * Configuration for matching git branches to this environment
764
+ */
765
+ branchMatcher?: CreateProjectBranchMatcher | undefined;
766
+ /**
767
+ * List of domains associated with this environment
768
+ */
769
+ domains?: Array<CreateProjectDomains> | undefined;
770
+ /**
771
+ * List of aliases for the current deployment
772
+ */
773
+ currentDeploymentAliases?: Array<string> | undefined;
774
+ /**
775
+ * Timestamp when the environment was created
776
+ */
777
+ createdAt: number;
778
+ /**
779
+ * Timestamp when the environment was last updated
780
+ */
781
+ updatedAt: number;
782
+ };
655
783
 
656
784
  export const CreateProjectProjectsFramework = {
657
785
  Blitzjs: "blitzjs",
@@ -734,7 +862,7 @@ export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDep
734
862
  typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
735
863
  >;
736
864
 
737
- export type CreateProjectBranchMatcher = {
865
+ export type CreateProjectProjectsBranchMatcher = {
738
866
  /**
739
867
  * The type of matching to perform
740
868
  */
@@ -819,11 +947,11 @@ export type CreateProjectReadySubstate = ClosedEnum<
819
947
  typeof CreateProjectReadySubstate
820
948
  >;
821
949
 
822
- export const CreateProjectProjectsResponse200Type = {
950
+ export const CreateProjectProjectsResponse200ApplicationJSONType = {
823
951
  Lambdas: "LAMBDAS",
824
952
  } as const;
825
- export type CreateProjectProjectsResponse200Type = ClosedEnum<
826
- typeof CreateProjectProjectsResponse200Type
953
+ export type CreateProjectProjectsResponse200ApplicationJSONType = ClosedEnum<
954
+ typeof CreateProjectProjectsResponse200ApplicationJSONType
827
955
  >;
828
956
 
829
957
  export type CreateProjectLatestDeployments = {
@@ -833,7 +961,7 @@ export type CreateProjectLatestDeployments = {
833
961
  aliasError?: CreateProjectAliasError | null | undefined;
834
962
  aliasFinal?: string | null | undefined;
835
963
  automaticAliases?: Array<string> | undefined;
836
- branchMatcher?: CreateProjectBranchMatcher | undefined;
964
+ branchMatcher?: CreateProjectProjectsBranchMatcher | undefined;
837
965
  buildingAt?: number | undefined;
838
966
  builds?: Array<CreateProjectBuilds> | undefined;
839
967
  checksConclusion?: CreateProjectChecksConclusion | undefined;
@@ -862,7 +990,7 @@ export type CreateProjectLatestDeployments = {
862
990
  requestedAt?: number | undefined;
863
991
  target?: string | null | undefined;
864
992
  teamId?: string | null | undefined;
865
- type: CreateProjectProjectsResponse200Type;
993
+ type: CreateProjectProjectsResponse200ApplicationJSONType;
866
994
  url: string;
867
995
  userId: string;
868
996
  withCache?: boolean | undefined;
@@ -1156,8 +1284,8 @@ export type CreateProjectDefaultResourceConfig = {
1156
1284
  };
1157
1285
 
1158
1286
  export const CreateProjectDeploymentType = {
1159
- All: "all",
1160
1287
  Preview: "preview",
1288
+ All: "all",
1161
1289
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1162
1290
  } as const;
1163
1291
  export type CreateProjectDeploymentType = ClosedEnum<
@@ -1192,7 +1320,7 @@ export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsTy
1192
1320
  typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType
1193
1321
  >;
1194
1322
 
1195
- export type CreateProjectProjectsBranchMatcher = {
1323
+ export type CreateProjectProjectsResponseBranchMatcher = {
1196
1324
  /**
1197
1325
  * The type of matching to perform
1198
1326
  */
@@ -1278,12 +1406,13 @@ export type CreateProjectProjectsReadySubstate = ClosedEnum<
1278
1406
  typeof CreateProjectProjectsReadySubstate
1279
1407
  >;
1280
1408
 
1281
- export const CreateProjectProjectsResponse200ApplicationJSONType = {
1409
+ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType = {
1282
1410
  Lambdas: "LAMBDAS",
1283
1411
  } as const;
1284
- export type CreateProjectProjectsResponse200ApplicationJSONType = ClosedEnum<
1285
- typeof CreateProjectProjectsResponse200ApplicationJSONType
1286
- >;
1412
+ export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyType =
1413
+ ClosedEnum<
1414
+ typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType
1415
+ >;
1287
1416
 
1288
1417
  export type CreateProjectTargets = {
1289
1418
  id: string;
@@ -1292,7 +1421,7 @@ export type CreateProjectTargets = {
1292
1421
  aliasError?: CreateProjectProjectsAliasError | null | undefined;
1293
1422
  aliasFinal?: string | null | undefined;
1294
1423
  automaticAliases?: Array<string> | undefined;
1295
- branchMatcher?: CreateProjectProjectsBranchMatcher | undefined;
1424
+ branchMatcher?: CreateProjectProjectsResponseBranchMatcher | undefined;
1296
1425
  buildingAt?: number | undefined;
1297
1426
  builds?: Array<CreateProjectProjectsBuilds> | undefined;
1298
1427
  checksConclusion?: CreateProjectProjectsChecksConclusion | undefined;
@@ -1321,7 +1450,7 @@ export type CreateProjectTargets = {
1321
1450
  requestedAt?: number | undefined;
1322
1451
  target?: string | null | undefined;
1323
1452
  teamId?: string | null | undefined;
1324
- type: CreateProjectProjectsResponse200ApplicationJSONType;
1453
+ type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyType;
1325
1454
  url: string;
1326
1455
  userId: string;
1327
1456
  withCache?: boolean | undefined;
@@ -1536,21 +1665,27 @@ export const CreateProjectJobStatus = {
1536
1665
  } as const;
1537
1666
  export type CreateProjectJobStatus = ClosedEnum<typeof CreateProjectJobStatus>;
1538
1667
 
1539
- export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType = {
1540
- Promote: "promote",
1541
- Rollback: "rollback",
1542
- } as const;
1543
- export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyType =
1668
+ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType =
1669
+ {
1670
+ Promote: "promote",
1671
+ Rollback: "rollback",
1672
+ } as const;
1673
+ export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType =
1544
1674
  ClosedEnum<
1545
- typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType
1675
+ typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType
1546
1676
  >;
1547
1677
 
1548
1678
  export type CreateProjectLastAliasRequest = {
1549
1679
  fromDeploymentId: string;
1550
1680
  toDeploymentId: string;
1681
+ /**
1682
+ * If rolling back from a rolling release, fromDeploymentId captures the "base" of that rolling release, and fromRollingReleaseId captures the "target" of that rolling release.
1683
+ */
1684
+ fromRollingReleaseId?: string | undefined;
1551
1685
  jobStatus: CreateProjectJobStatus;
1552
1686
  requestedAt: number;
1553
- type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyType;
1687
+ type:
1688
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType;
1554
1689
  };
1555
1690
 
1556
1691
  export const CreateProjectScope = {
@@ -1565,10 +1700,10 @@ export type CreateProjectProtectionBypass = {
1565
1700
  };
1566
1701
 
1567
1702
  export const CreateProjectTrustedIpsProjectsDeploymentType = {
1568
- All: "all",
1703
+ Production: "production",
1569
1704
  Preview: "preview",
1705
+ All: "all",
1570
1706
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1571
- Production: "production",
1572
1707
  } as const;
1573
1708
  export type CreateProjectTrustedIpsProjectsDeploymentType = ClosedEnum<
1574
1709
  typeof CreateProjectTrustedIpsProjectsDeploymentType
@@ -1579,10 +1714,10 @@ export type CreateProjectTrustedIps2 = {
1579
1714
  };
1580
1715
 
1581
1716
  export const CreateProjectTrustedIpsDeploymentType = {
1582
- All: "all",
1717
+ Production: "production",
1583
1718
  Preview: "preview",
1719
+ All: "all",
1584
1720
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1585
- Production: "production",
1586
1721
  } as const;
1587
1722
  export type CreateProjectTrustedIpsDeploymentType = ClosedEnum<
1588
1723
  typeof CreateProjectTrustedIpsDeploymentType
@@ -2293,6 +2428,8 @@ export const CreateProjectRequestBody$inboundSchema: z.ZodType<
2293
2428
  z.ZodTypeDef,
2294
2429
  unknown
2295
2430
  > = z.object({
2431
+ enablePreviewFeedback: z.nullable(z.boolean()).optional(),
2432
+ enableProductionFeedback: z.nullable(z.boolean()).optional(),
2296
2433
  buildCommand: z.nullable(z.string()).optional(),
2297
2434
  commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
2298
2435
  devCommand: z.nullable(z.string()).optional(),
@@ -2315,6 +2452,8 @@ export const CreateProjectRequestBody$inboundSchema: z.ZodType<
2315
2452
 
2316
2453
  /** @internal */
2317
2454
  export type CreateProjectRequestBody$Outbound = {
2455
+ enablePreviewFeedback?: boolean | null | undefined;
2456
+ enableProductionFeedback?: boolean | null | undefined;
2318
2457
  buildCommand?: string | null | undefined;
2319
2458
  commandForIgnoringBuildStep?: string | null | undefined;
2320
2459
  devCommand?: string | null | undefined;
@@ -2339,6 +2478,8 @@ export const CreateProjectRequestBody$outboundSchema: z.ZodType<
2339
2478
  z.ZodTypeDef,
2340
2479
  CreateProjectRequestBody
2341
2480
  > = z.object({
2481
+ enablePreviewFeedback: z.nullable(z.boolean()).optional(),
2482
+ enableProductionFeedback: z.nullable(z.boolean()).optional(),
2342
2483
  buildCommand: z.nullable(z.string()).optional(),
2343
2484
  commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
2344
2485
  devCommand: z.nullable(z.string()).optional(),
@@ -4621,120 +4762,413 @@ export function createProjectEnvFromJSON(
4621
4762
  }
4622
4763
 
4623
4764
  /** @internal */
4624
- export const CreateProjectCustomEnvironments$inboundSchema: z.ZodType<
4625
- CreateProjectCustomEnvironments,
4626
- z.ZodTypeDef,
4627
- unknown
4628
- > = z.object({});
4629
-
4630
- /** @internal */
4631
- export type CreateProjectCustomEnvironments$Outbound = {};
4765
+ export const CreateProjectProjectsResponse200Type$inboundSchema:
4766
+ z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Type> = z.nativeEnum(
4767
+ CreateProjectProjectsResponse200Type,
4768
+ );
4632
4769
 
4633
4770
  /** @internal */
4634
- export const CreateProjectCustomEnvironments$outboundSchema: z.ZodType<
4635
- CreateProjectCustomEnvironments$Outbound,
4636
- z.ZodTypeDef,
4637
- CreateProjectCustomEnvironments
4638
- > = z.object({});
4771
+ export const CreateProjectProjectsResponse200Type$outboundSchema:
4772
+ z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Type> =
4773
+ CreateProjectProjectsResponse200Type$inboundSchema;
4639
4774
 
4640
4775
  /**
4641
4776
  * @internal
4642
4777
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4643
4778
  */
4644
- export namespace CreateProjectCustomEnvironments$ {
4645
- /** @deprecated use `CreateProjectCustomEnvironments$inboundSchema` instead. */
4646
- export const inboundSchema = CreateProjectCustomEnvironments$inboundSchema;
4647
- /** @deprecated use `CreateProjectCustomEnvironments$outboundSchema` instead. */
4648
- export const outboundSchema = CreateProjectCustomEnvironments$outboundSchema;
4649
- /** @deprecated use `CreateProjectCustomEnvironments$Outbound` instead. */
4650
- export type Outbound = CreateProjectCustomEnvironments$Outbound;
4651
- }
4652
-
4653
- export function createProjectCustomEnvironmentsToJSON(
4654
- createProjectCustomEnvironments: CreateProjectCustomEnvironments,
4655
- ): string {
4656
- return JSON.stringify(
4657
- CreateProjectCustomEnvironments$outboundSchema.parse(
4658
- createProjectCustomEnvironments,
4659
- ),
4660
- );
4661
- }
4662
-
4663
- export function createProjectCustomEnvironmentsFromJSON(
4664
- jsonString: string,
4665
- ): SafeParseResult<CreateProjectCustomEnvironments, SDKValidationError> {
4666
- return safeParse(
4667
- jsonString,
4668
- (x) => CreateProjectCustomEnvironments$inboundSchema.parse(JSON.parse(x)),
4669
- `Failed to parse 'CreateProjectCustomEnvironments' from JSON`,
4670
- );
4779
+ export namespace CreateProjectProjectsResponse200Type$ {
4780
+ /** @deprecated use `CreateProjectProjectsResponse200Type$inboundSchema` instead. */
4781
+ export const inboundSchema =
4782
+ CreateProjectProjectsResponse200Type$inboundSchema;
4783
+ /** @deprecated use `CreateProjectProjectsResponse200Type$outboundSchema` instead. */
4784
+ export const outboundSchema =
4785
+ CreateProjectProjectsResponse200Type$outboundSchema;
4671
4786
  }
4672
4787
 
4673
4788
  /** @internal */
4674
- export const CreateProjectProjectsFramework$inboundSchema: z.ZodNativeEnum<
4675
- typeof CreateProjectProjectsFramework
4676
- > = z.nativeEnum(CreateProjectProjectsFramework);
4789
+ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema:
4790
+ z.ZodNativeEnum<
4791
+ typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
4792
+ > = z.nativeEnum(
4793
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType,
4794
+ );
4677
4795
 
4678
4796
  /** @internal */
4679
- export const CreateProjectProjectsFramework$outboundSchema: z.ZodNativeEnum<
4680
- typeof CreateProjectProjectsFramework
4681
- > = CreateProjectProjectsFramework$inboundSchema;
4797
+ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema:
4798
+ z.ZodNativeEnum<
4799
+ typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
4800
+ > =
4801
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
4682
4802
 
4683
4803
  /**
4684
4804
  * @internal
4685
4805
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4686
4806
  */
4687
- export namespace CreateProjectProjectsFramework$ {
4688
- /** @deprecated use `CreateProjectProjectsFramework$inboundSchema` instead. */
4689
- export const inboundSchema = CreateProjectProjectsFramework$inboundSchema;
4690
- /** @deprecated use `CreateProjectProjectsFramework$outboundSchema` instead. */
4691
- export const outboundSchema = CreateProjectProjectsFramework$outboundSchema;
4807
+ export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ {
4808
+ /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */
4809
+ export const inboundSchema =
4810
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
4811
+ /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */
4812
+ export const outboundSchema =
4813
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema;
4692
4814
  }
4693
4815
 
4694
4816
  /** @internal */
4695
- export const CreateProjectIpBuckets$inboundSchema: z.ZodType<
4696
- CreateProjectIpBuckets,
4817
+ export const CreateProjectBranchMatcher$inboundSchema: z.ZodType<
4818
+ CreateProjectBranchMatcher,
4697
4819
  z.ZodTypeDef,
4698
4820
  unknown
4699
4821
  > = z.object({
4700
- bucket: z.string(),
4701
- supportUntil: z.number().optional(),
4822
+ type:
4823
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema,
4824
+ pattern: z.string(),
4702
4825
  });
4703
4826
 
4704
4827
  /** @internal */
4705
- export type CreateProjectIpBuckets$Outbound = {
4706
- bucket: string;
4707
- supportUntil?: number | undefined;
4828
+ export type CreateProjectBranchMatcher$Outbound = {
4829
+ type: string;
4830
+ pattern: string;
4708
4831
  };
4709
4832
 
4710
4833
  /** @internal */
4711
- export const CreateProjectIpBuckets$outboundSchema: z.ZodType<
4712
- CreateProjectIpBuckets$Outbound,
4834
+ export const CreateProjectBranchMatcher$outboundSchema: z.ZodType<
4835
+ CreateProjectBranchMatcher$Outbound,
4713
4836
  z.ZodTypeDef,
4714
- CreateProjectIpBuckets
4837
+ CreateProjectBranchMatcher
4715
4838
  > = z.object({
4716
- bucket: z.string(),
4717
- supportUntil: z.number().optional(),
4839
+ type:
4840
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema,
4841
+ pattern: z.string(),
4718
4842
  });
4719
4843
 
4720
4844
  /**
4721
4845
  * @internal
4722
4846
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4723
4847
  */
4724
- export namespace CreateProjectIpBuckets$ {
4725
- /** @deprecated use `CreateProjectIpBuckets$inboundSchema` instead. */
4726
- export const inboundSchema = CreateProjectIpBuckets$inboundSchema;
4727
- /** @deprecated use `CreateProjectIpBuckets$outboundSchema` instead. */
4728
- export const outboundSchema = CreateProjectIpBuckets$outboundSchema;
4729
- /** @deprecated use `CreateProjectIpBuckets$Outbound` instead. */
4730
- export type Outbound = CreateProjectIpBuckets$Outbound;
4848
+ export namespace CreateProjectBranchMatcher$ {
4849
+ /** @deprecated use `CreateProjectBranchMatcher$inboundSchema` instead. */
4850
+ export const inboundSchema = CreateProjectBranchMatcher$inboundSchema;
4851
+ /** @deprecated use `CreateProjectBranchMatcher$outboundSchema` instead. */
4852
+ export const outboundSchema = CreateProjectBranchMatcher$outboundSchema;
4853
+ /** @deprecated use `CreateProjectBranchMatcher$Outbound` instead. */
4854
+ export type Outbound = CreateProjectBranchMatcher$Outbound;
4731
4855
  }
4732
4856
 
4733
- export function createProjectIpBucketsToJSON(
4734
- createProjectIpBuckets: CreateProjectIpBuckets,
4857
+ export function createProjectBranchMatcherToJSON(
4858
+ createProjectBranchMatcher: CreateProjectBranchMatcher,
4735
4859
  ): string {
4736
4860
  return JSON.stringify(
4737
- CreateProjectIpBuckets$outboundSchema.parse(createProjectIpBuckets),
4861
+ CreateProjectBranchMatcher$outboundSchema.parse(createProjectBranchMatcher),
4862
+ );
4863
+ }
4864
+
4865
+ export function createProjectBranchMatcherFromJSON(
4866
+ jsonString: string,
4867
+ ): SafeParseResult<CreateProjectBranchMatcher, SDKValidationError> {
4868
+ return safeParse(
4869
+ jsonString,
4870
+ (x) => CreateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)),
4871
+ `Failed to parse 'CreateProjectBranchMatcher' from JSON`,
4872
+ );
4873
+ }
4874
+
4875
+ /** @internal */
4876
+ export const CreateProjectVerification$inboundSchema: z.ZodType<
4877
+ CreateProjectVerification,
4878
+ z.ZodTypeDef,
4879
+ unknown
4880
+ > = z.object({
4881
+ type: z.string(),
4882
+ domain: z.string(),
4883
+ value: z.string(),
4884
+ reason: z.string(),
4885
+ });
4886
+
4887
+ /** @internal */
4888
+ export type CreateProjectVerification$Outbound = {
4889
+ type: string;
4890
+ domain: string;
4891
+ value: string;
4892
+ reason: string;
4893
+ };
4894
+
4895
+ /** @internal */
4896
+ export const CreateProjectVerification$outboundSchema: z.ZodType<
4897
+ CreateProjectVerification$Outbound,
4898
+ z.ZodTypeDef,
4899
+ CreateProjectVerification
4900
+ > = z.object({
4901
+ type: z.string(),
4902
+ domain: z.string(),
4903
+ value: z.string(),
4904
+ reason: z.string(),
4905
+ });
4906
+
4907
+ /**
4908
+ * @internal
4909
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4910
+ */
4911
+ export namespace CreateProjectVerification$ {
4912
+ /** @deprecated use `CreateProjectVerification$inboundSchema` instead. */
4913
+ export const inboundSchema = CreateProjectVerification$inboundSchema;
4914
+ /** @deprecated use `CreateProjectVerification$outboundSchema` instead. */
4915
+ export const outboundSchema = CreateProjectVerification$outboundSchema;
4916
+ /** @deprecated use `CreateProjectVerification$Outbound` instead. */
4917
+ export type Outbound = CreateProjectVerification$Outbound;
4918
+ }
4919
+
4920
+ export function createProjectVerificationToJSON(
4921
+ createProjectVerification: CreateProjectVerification,
4922
+ ): string {
4923
+ return JSON.stringify(
4924
+ CreateProjectVerification$outboundSchema.parse(createProjectVerification),
4925
+ );
4926
+ }
4927
+
4928
+ export function createProjectVerificationFromJSON(
4929
+ jsonString: string,
4930
+ ): SafeParseResult<CreateProjectVerification, SDKValidationError> {
4931
+ return safeParse(
4932
+ jsonString,
4933
+ (x) => CreateProjectVerification$inboundSchema.parse(JSON.parse(x)),
4934
+ `Failed to parse 'CreateProjectVerification' from JSON`,
4935
+ );
4936
+ }
4937
+
4938
+ /** @internal */
4939
+ export const CreateProjectDomains$inboundSchema: z.ZodType<
4940
+ CreateProjectDomains,
4941
+ z.ZodTypeDef,
4942
+ unknown
4943
+ > = z.object({
4944
+ name: z.string(),
4945
+ apexName: z.string(),
4946
+ projectId: z.string(),
4947
+ redirect: z.nullable(z.string()).optional(),
4948
+ redirectStatusCode: z.nullable(z.number()).optional(),
4949
+ gitBranch: z.nullable(z.string()).optional(),
4950
+ customEnvironmentId: z.nullable(z.string()).optional(),
4951
+ updatedAt: z.number().optional(),
4952
+ createdAt: z.number().optional(),
4953
+ verified: z.boolean(),
4954
+ verification: z.array(z.lazy(() => CreateProjectVerification$inboundSchema))
4955
+ .optional(),
4956
+ });
4957
+
4958
+ /** @internal */
4959
+ export type CreateProjectDomains$Outbound = {
4960
+ name: string;
4961
+ apexName: string;
4962
+ projectId: string;
4963
+ redirect?: string | null | undefined;
4964
+ redirectStatusCode?: number | null | undefined;
4965
+ gitBranch?: string | null | undefined;
4966
+ customEnvironmentId?: string | null | undefined;
4967
+ updatedAt?: number | undefined;
4968
+ createdAt?: number | undefined;
4969
+ verified: boolean;
4970
+ verification?: Array<CreateProjectVerification$Outbound> | undefined;
4971
+ };
4972
+
4973
+ /** @internal */
4974
+ export const CreateProjectDomains$outboundSchema: z.ZodType<
4975
+ CreateProjectDomains$Outbound,
4976
+ z.ZodTypeDef,
4977
+ CreateProjectDomains
4978
+ > = z.object({
4979
+ name: z.string(),
4980
+ apexName: z.string(),
4981
+ projectId: z.string(),
4982
+ redirect: z.nullable(z.string()).optional(),
4983
+ redirectStatusCode: z.nullable(z.number()).optional(),
4984
+ gitBranch: z.nullable(z.string()).optional(),
4985
+ customEnvironmentId: z.nullable(z.string()).optional(),
4986
+ updatedAt: z.number().optional(),
4987
+ createdAt: z.number().optional(),
4988
+ verified: z.boolean(),
4989
+ verification: z.array(z.lazy(() => CreateProjectVerification$outboundSchema))
4990
+ .optional(),
4991
+ });
4992
+
4993
+ /**
4994
+ * @internal
4995
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4996
+ */
4997
+ export namespace CreateProjectDomains$ {
4998
+ /** @deprecated use `CreateProjectDomains$inboundSchema` instead. */
4999
+ export const inboundSchema = CreateProjectDomains$inboundSchema;
5000
+ /** @deprecated use `CreateProjectDomains$outboundSchema` instead. */
5001
+ export const outboundSchema = CreateProjectDomains$outboundSchema;
5002
+ /** @deprecated use `CreateProjectDomains$Outbound` instead. */
5003
+ export type Outbound = CreateProjectDomains$Outbound;
5004
+ }
5005
+
5006
+ export function createProjectDomainsToJSON(
5007
+ createProjectDomains: CreateProjectDomains,
5008
+ ): string {
5009
+ return JSON.stringify(
5010
+ CreateProjectDomains$outboundSchema.parse(createProjectDomains),
5011
+ );
5012
+ }
5013
+
5014
+ export function createProjectDomainsFromJSON(
5015
+ jsonString: string,
5016
+ ): SafeParseResult<CreateProjectDomains, SDKValidationError> {
5017
+ return safeParse(
5018
+ jsonString,
5019
+ (x) => CreateProjectDomains$inboundSchema.parse(JSON.parse(x)),
5020
+ `Failed to parse 'CreateProjectDomains' from JSON`,
5021
+ );
5022
+ }
5023
+
5024
+ /** @internal */
5025
+ export const CreateProjectCustomEnvironments$inboundSchema: z.ZodType<
5026
+ CreateProjectCustomEnvironments,
5027
+ z.ZodTypeDef,
5028
+ unknown
5029
+ > = z.object({
5030
+ id: z.string(),
5031
+ slug: z.string(),
5032
+ type: CreateProjectProjectsResponse200Type$inboundSchema,
5033
+ description: z.string().optional(),
5034
+ branchMatcher: z.lazy(() => CreateProjectBranchMatcher$inboundSchema)
5035
+ .optional(),
5036
+ domains: z.array(z.lazy(() => CreateProjectDomains$inboundSchema)).optional(),
5037
+ currentDeploymentAliases: z.array(z.string()).optional(),
5038
+ createdAt: z.number(),
5039
+ updatedAt: z.number(),
5040
+ });
5041
+
5042
+ /** @internal */
5043
+ export type CreateProjectCustomEnvironments$Outbound = {
5044
+ id: string;
5045
+ slug: string;
5046
+ type: string;
5047
+ description?: string | undefined;
5048
+ branchMatcher?: CreateProjectBranchMatcher$Outbound | undefined;
5049
+ domains?: Array<CreateProjectDomains$Outbound> | undefined;
5050
+ currentDeploymentAliases?: Array<string> | undefined;
5051
+ createdAt: number;
5052
+ updatedAt: number;
5053
+ };
5054
+
5055
+ /** @internal */
5056
+ export const CreateProjectCustomEnvironments$outboundSchema: z.ZodType<
5057
+ CreateProjectCustomEnvironments$Outbound,
5058
+ z.ZodTypeDef,
5059
+ CreateProjectCustomEnvironments
5060
+ > = z.object({
5061
+ id: z.string(),
5062
+ slug: z.string(),
5063
+ type: CreateProjectProjectsResponse200Type$outboundSchema,
5064
+ description: z.string().optional(),
5065
+ branchMatcher: z.lazy(() => CreateProjectBranchMatcher$outboundSchema)
5066
+ .optional(),
5067
+ domains: z.array(z.lazy(() => CreateProjectDomains$outboundSchema))
5068
+ .optional(),
5069
+ currentDeploymentAliases: z.array(z.string()).optional(),
5070
+ createdAt: z.number(),
5071
+ updatedAt: z.number(),
5072
+ });
5073
+
5074
+ /**
5075
+ * @internal
5076
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5077
+ */
5078
+ export namespace CreateProjectCustomEnvironments$ {
5079
+ /** @deprecated use `CreateProjectCustomEnvironments$inboundSchema` instead. */
5080
+ export const inboundSchema = CreateProjectCustomEnvironments$inboundSchema;
5081
+ /** @deprecated use `CreateProjectCustomEnvironments$outboundSchema` instead. */
5082
+ export const outboundSchema = CreateProjectCustomEnvironments$outboundSchema;
5083
+ /** @deprecated use `CreateProjectCustomEnvironments$Outbound` instead. */
5084
+ export type Outbound = CreateProjectCustomEnvironments$Outbound;
5085
+ }
5086
+
5087
+ export function createProjectCustomEnvironmentsToJSON(
5088
+ createProjectCustomEnvironments: CreateProjectCustomEnvironments,
5089
+ ): string {
5090
+ return JSON.stringify(
5091
+ CreateProjectCustomEnvironments$outboundSchema.parse(
5092
+ createProjectCustomEnvironments,
5093
+ ),
5094
+ );
5095
+ }
5096
+
5097
+ export function createProjectCustomEnvironmentsFromJSON(
5098
+ jsonString: string,
5099
+ ): SafeParseResult<CreateProjectCustomEnvironments, SDKValidationError> {
5100
+ return safeParse(
5101
+ jsonString,
5102
+ (x) => CreateProjectCustomEnvironments$inboundSchema.parse(JSON.parse(x)),
5103
+ `Failed to parse 'CreateProjectCustomEnvironments' from JSON`,
5104
+ );
5105
+ }
5106
+
5107
+ /** @internal */
5108
+ export const CreateProjectProjectsFramework$inboundSchema: z.ZodNativeEnum<
5109
+ typeof CreateProjectProjectsFramework
5110
+ > = z.nativeEnum(CreateProjectProjectsFramework);
5111
+
5112
+ /** @internal */
5113
+ export const CreateProjectProjectsFramework$outboundSchema: z.ZodNativeEnum<
5114
+ typeof CreateProjectProjectsFramework
5115
+ > = CreateProjectProjectsFramework$inboundSchema;
5116
+
5117
+ /**
5118
+ * @internal
5119
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5120
+ */
5121
+ export namespace CreateProjectProjectsFramework$ {
5122
+ /** @deprecated use `CreateProjectProjectsFramework$inboundSchema` instead. */
5123
+ export const inboundSchema = CreateProjectProjectsFramework$inboundSchema;
5124
+ /** @deprecated use `CreateProjectProjectsFramework$outboundSchema` instead. */
5125
+ export const outboundSchema = CreateProjectProjectsFramework$outboundSchema;
5126
+ }
5127
+
5128
+ /** @internal */
5129
+ export const CreateProjectIpBuckets$inboundSchema: z.ZodType<
5130
+ CreateProjectIpBuckets,
5131
+ z.ZodTypeDef,
5132
+ unknown
5133
+ > = z.object({
5134
+ bucket: z.string(),
5135
+ supportUntil: z.number().optional(),
5136
+ });
5137
+
5138
+ /** @internal */
5139
+ export type CreateProjectIpBuckets$Outbound = {
5140
+ bucket: string;
5141
+ supportUntil?: number | undefined;
5142
+ };
5143
+
5144
+ /** @internal */
5145
+ export const CreateProjectIpBuckets$outboundSchema: z.ZodType<
5146
+ CreateProjectIpBuckets$Outbound,
5147
+ z.ZodTypeDef,
5148
+ CreateProjectIpBuckets
5149
+ > = z.object({
5150
+ bucket: z.string(),
5151
+ supportUntil: z.number().optional(),
5152
+ });
5153
+
5154
+ /**
5155
+ * @internal
5156
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5157
+ */
5158
+ export namespace CreateProjectIpBuckets$ {
5159
+ /** @deprecated use `CreateProjectIpBuckets$inboundSchema` instead. */
5160
+ export const inboundSchema = CreateProjectIpBuckets$inboundSchema;
5161
+ /** @deprecated use `CreateProjectIpBuckets$outboundSchema` instead. */
5162
+ export const outboundSchema = CreateProjectIpBuckets$outboundSchema;
5163
+ /** @deprecated use `CreateProjectIpBuckets$Outbound` instead. */
5164
+ export type Outbound = CreateProjectIpBuckets$Outbound;
5165
+ }
5166
+
5167
+ export function createProjectIpBucketsToJSON(
5168
+ createProjectIpBuckets: CreateProjectIpBuckets,
5169
+ ): string {
5170
+ return JSON.stringify(
5171
+ CreateProjectIpBuckets$outboundSchema.parse(createProjectIpBuckets),
4738
5172
  );
4739
5173
  }
4740
5174
 
@@ -4882,8 +5316,8 @@ export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyLate
4882
5316
  }
4883
5317
 
4884
5318
  /** @internal */
4885
- export const CreateProjectBranchMatcher$inboundSchema: z.ZodType<
4886
- CreateProjectBranchMatcher,
5319
+ export const CreateProjectProjectsBranchMatcher$inboundSchema: z.ZodType<
5320
+ CreateProjectProjectsBranchMatcher,
4887
5321
  z.ZodTypeDef,
4888
5322
  unknown
4889
5323
  > = z.object({
@@ -4893,16 +5327,16 @@ export const CreateProjectBranchMatcher$inboundSchema: z.ZodType<
4893
5327
  });
4894
5328
 
4895
5329
  /** @internal */
4896
- export type CreateProjectBranchMatcher$Outbound = {
5330
+ export type CreateProjectProjectsBranchMatcher$Outbound = {
4897
5331
  type: string;
4898
5332
  pattern: string;
4899
5333
  };
4900
5334
 
4901
5335
  /** @internal */
4902
- export const CreateProjectBranchMatcher$outboundSchema: z.ZodType<
4903
- CreateProjectBranchMatcher$Outbound,
5336
+ export const CreateProjectProjectsBranchMatcher$outboundSchema: z.ZodType<
5337
+ CreateProjectProjectsBranchMatcher$Outbound,
4904
5338
  z.ZodTypeDef,
4905
- CreateProjectBranchMatcher
5339
+ CreateProjectProjectsBranchMatcher
4906
5340
  > = z.object({
4907
5341
  type:
4908
5342
  CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema,
@@ -4913,30 +5347,34 @@ export const CreateProjectBranchMatcher$outboundSchema: z.ZodType<
4913
5347
  * @internal
4914
5348
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4915
5349
  */
4916
- export namespace CreateProjectBranchMatcher$ {
4917
- /** @deprecated use `CreateProjectBranchMatcher$inboundSchema` instead. */
4918
- export const inboundSchema = CreateProjectBranchMatcher$inboundSchema;
4919
- /** @deprecated use `CreateProjectBranchMatcher$outboundSchema` instead. */
4920
- export const outboundSchema = CreateProjectBranchMatcher$outboundSchema;
4921
- /** @deprecated use `CreateProjectBranchMatcher$Outbound` instead. */
4922
- export type Outbound = CreateProjectBranchMatcher$Outbound;
5350
+ export namespace CreateProjectProjectsBranchMatcher$ {
5351
+ /** @deprecated use `CreateProjectProjectsBranchMatcher$inboundSchema` instead. */
5352
+ export const inboundSchema = CreateProjectProjectsBranchMatcher$inboundSchema;
5353
+ /** @deprecated use `CreateProjectProjectsBranchMatcher$outboundSchema` instead. */
5354
+ export const outboundSchema =
5355
+ CreateProjectProjectsBranchMatcher$outboundSchema;
5356
+ /** @deprecated use `CreateProjectProjectsBranchMatcher$Outbound` instead. */
5357
+ export type Outbound = CreateProjectProjectsBranchMatcher$Outbound;
4923
5358
  }
4924
5359
 
4925
- export function createProjectBranchMatcherToJSON(
4926
- createProjectBranchMatcher: CreateProjectBranchMatcher,
5360
+ export function createProjectProjectsBranchMatcherToJSON(
5361
+ createProjectProjectsBranchMatcher: CreateProjectProjectsBranchMatcher,
4927
5362
  ): string {
4928
5363
  return JSON.stringify(
4929
- CreateProjectBranchMatcher$outboundSchema.parse(createProjectBranchMatcher),
5364
+ CreateProjectProjectsBranchMatcher$outboundSchema.parse(
5365
+ createProjectProjectsBranchMatcher,
5366
+ ),
4930
5367
  );
4931
5368
  }
4932
5369
 
4933
- export function createProjectBranchMatcherFromJSON(
5370
+ export function createProjectProjectsBranchMatcherFromJSON(
4934
5371
  jsonString: string,
4935
- ): SafeParseResult<CreateProjectBranchMatcher, SDKValidationError> {
5372
+ ): SafeParseResult<CreateProjectProjectsBranchMatcher, SDKValidationError> {
4936
5373
  return safeParse(
4937
5374
  jsonString,
4938
- (x) => CreateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)),
4939
- `Failed to parse 'CreateProjectBranchMatcher' from JSON`,
5375
+ (x) =>
5376
+ CreateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)),
5377
+ `Failed to parse 'CreateProjectProjectsBranchMatcher' from JSON`,
4940
5378
  );
4941
5379
  }
4942
5380
 
@@ -5262,27 +5700,26 @@ export namespace CreateProjectReadySubstate$ {
5262
5700
  }
5263
5701
 
5264
5702
  /** @internal */
5265
- export const CreateProjectProjectsResponse200Type$inboundSchema:
5266
- z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Type> = z.nativeEnum(
5267
- CreateProjectProjectsResponse200Type,
5268
- );
5703
+ export const CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema:
5704
+ z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONType> =
5705
+ z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONType);
5269
5706
 
5270
5707
  /** @internal */
5271
- export const CreateProjectProjectsResponse200Type$outboundSchema:
5272
- z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Type> =
5273
- CreateProjectProjectsResponse200Type$inboundSchema;
5708
+ export const CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema:
5709
+ z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONType> =
5710
+ CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
5274
5711
 
5275
5712
  /**
5276
5713
  * @internal
5277
5714
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5278
5715
  */
5279
- export namespace CreateProjectProjectsResponse200Type$ {
5280
- /** @deprecated use `CreateProjectProjectsResponse200Type$inboundSchema` instead. */
5716
+ export namespace CreateProjectProjectsResponse200ApplicationJSONType$ {
5717
+ /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
5281
5718
  export const inboundSchema =
5282
- CreateProjectProjectsResponse200Type$inboundSchema;
5283
- /** @deprecated use `CreateProjectProjectsResponse200Type$outboundSchema` instead. */
5719
+ CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
5720
+ /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
5284
5721
  export const outboundSchema =
5285
- CreateProjectProjectsResponse200Type$outboundSchema;
5722
+ CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema;
5286
5723
  }
5287
5724
 
5288
5725
  /** @internal */
@@ -5298,7 +5735,7 @@ export const CreateProjectLatestDeployments$inboundSchema: z.ZodType<
5298
5735
  .optional(),
5299
5736
  aliasFinal: z.nullable(z.string()).optional(),
5300
5737
  automaticAliases: z.array(z.string()).optional(),
5301
- branchMatcher: z.lazy(() => CreateProjectBranchMatcher$inboundSchema)
5738
+ branchMatcher: z.lazy(() => CreateProjectProjectsBranchMatcher$inboundSchema)
5302
5739
  .optional(),
5303
5740
  buildingAt: z.number().optional(),
5304
5741
  builds: z.array(z.lazy(() => CreateProjectBuilds$inboundSchema)).optional(),
@@ -5326,7 +5763,7 @@ export const CreateProjectLatestDeployments$inboundSchema: z.ZodType<
5326
5763
  requestedAt: z.number().optional(),
5327
5764
  target: z.nullable(z.string()).optional(),
5328
5765
  teamId: z.nullable(z.string()).optional(),
5329
- type: CreateProjectProjectsResponse200Type$inboundSchema,
5766
+ type: CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema,
5330
5767
  url: z.string(),
5331
5768
  userId: z.string(),
5332
5769
  withCache: z.boolean().optional(),
@@ -5340,7 +5777,7 @@ export type CreateProjectLatestDeployments$Outbound = {
5340
5777
  aliasError?: CreateProjectAliasError$Outbound | null | undefined;
5341
5778
  aliasFinal?: string | null | undefined;
5342
5779
  automaticAliases?: Array<string> | undefined;
5343
- branchMatcher?: CreateProjectBranchMatcher$Outbound | undefined;
5780
+ branchMatcher?: CreateProjectProjectsBranchMatcher$Outbound | undefined;
5344
5781
  buildingAt?: number | undefined;
5345
5782
  builds?: Array<CreateProjectBuilds$Outbound> | undefined;
5346
5783
  checksConclusion?: string | undefined;
@@ -5385,7 +5822,7 @@ export const CreateProjectLatestDeployments$outboundSchema: z.ZodType<
5385
5822
  .optional(),
5386
5823
  aliasFinal: z.nullable(z.string()).optional(),
5387
5824
  automaticAliases: z.array(z.string()).optional(),
5388
- branchMatcher: z.lazy(() => CreateProjectBranchMatcher$outboundSchema)
5825
+ branchMatcher: z.lazy(() => CreateProjectProjectsBranchMatcher$outboundSchema)
5389
5826
  .optional(),
5390
5827
  buildingAt: z.number().optional(),
5391
5828
  builds: z.array(z.lazy(() => CreateProjectBuilds$outboundSchema)).optional(),
@@ -5413,7 +5850,7 @@ export const CreateProjectLatestDeployments$outboundSchema: z.ZodType<
5413
5850
  requestedAt: z.number().optional(),
5414
5851
  target: z.nullable(z.string()).optional(),
5415
5852
  teamId: z.nullable(z.string()).optional(),
5416
- type: CreateProjectProjectsResponse200Type$outboundSchema,
5853
+ type: CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema,
5417
5854
  url: z.string(),
5418
5855
  userId: z.string(),
5419
5856
  withCache: z.boolean().optional(),
@@ -7229,65 +7666,71 @@ export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyTarg
7229
7666
  }
7230
7667
 
7231
7668
  /** @internal */
7232
- export const CreateProjectProjectsBranchMatcher$inboundSchema: z.ZodType<
7233
- CreateProjectProjectsBranchMatcher,
7234
- z.ZodTypeDef,
7235
- unknown
7236
- > = z.object({
7237
- type:
7238
- CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema,
7239
- pattern: z.string(),
7240
- });
7669
+ export const CreateProjectProjectsResponseBranchMatcher$inboundSchema:
7670
+ z.ZodType<CreateProjectProjectsResponseBranchMatcher, z.ZodTypeDef, unknown> =
7671
+ z.object({
7672
+ type:
7673
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema,
7674
+ pattern: z.string(),
7675
+ });
7241
7676
 
7242
7677
  /** @internal */
7243
- export type CreateProjectProjectsBranchMatcher$Outbound = {
7678
+ export type CreateProjectProjectsResponseBranchMatcher$Outbound = {
7244
7679
  type: string;
7245
7680
  pattern: string;
7246
7681
  };
7247
7682
 
7248
7683
  /** @internal */
7249
- export const CreateProjectProjectsBranchMatcher$outboundSchema: z.ZodType<
7250
- CreateProjectProjectsBranchMatcher$Outbound,
7251
- z.ZodTypeDef,
7252
- CreateProjectProjectsBranchMatcher
7253
- > = z.object({
7254
- type:
7255
- CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema,
7256
- pattern: z.string(),
7257
- });
7684
+ export const CreateProjectProjectsResponseBranchMatcher$outboundSchema:
7685
+ z.ZodType<
7686
+ CreateProjectProjectsResponseBranchMatcher$Outbound,
7687
+ z.ZodTypeDef,
7688
+ CreateProjectProjectsResponseBranchMatcher
7689
+ > = z.object({
7690
+ type:
7691
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema,
7692
+ pattern: z.string(),
7693
+ });
7258
7694
 
7259
7695
  /**
7260
7696
  * @internal
7261
7697
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7262
7698
  */
7263
- export namespace CreateProjectProjectsBranchMatcher$ {
7264
- /** @deprecated use `CreateProjectProjectsBranchMatcher$inboundSchema` instead. */
7265
- export const inboundSchema = CreateProjectProjectsBranchMatcher$inboundSchema;
7266
- /** @deprecated use `CreateProjectProjectsBranchMatcher$outboundSchema` instead. */
7699
+ export namespace CreateProjectProjectsResponseBranchMatcher$ {
7700
+ /** @deprecated use `CreateProjectProjectsResponseBranchMatcher$inboundSchema` instead. */
7701
+ export const inboundSchema =
7702
+ CreateProjectProjectsResponseBranchMatcher$inboundSchema;
7703
+ /** @deprecated use `CreateProjectProjectsResponseBranchMatcher$outboundSchema` instead. */
7267
7704
  export const outboundSchema =
7268
- CreateProjectProjectsBranchMatcher$outboundSchema;
7269
- /** @deprecated use `CreateProjectProjectsBranchMatcher$Outbound` instead. */
7270
- export type Outbound = CreateProjectProjectsBranchMatcher$Outbound;
7705
+ CreateProjectProjectsResponseBranchMatcher$outboundSchema;
7706
+ /** @deprecated use `CreateProjectProjectsResponseBranchMatcher$Outbound` instead. */
7707
+ export type Outbound = CreateProjectProjectsResponseBranchMatcher$Outbound;
7271
7708
  }
7272
7709
 
7273
- export function createProjectProjectsBranchMatcherToJSON(
7274
- createProjectProjectsBranchMatcher: CreateProjectProjectsBranchMatcher,
7710
+ export function createProjectProjectsResponseBranchMatcherToJSON(
7711
+ createProjectProjectsResponseBranchMatcher:
7712
+ CreateProjectProjectsResponseBranchMatcher,
7275
7713
  ): string {
7276
7714
  return JSON.stringify(
7277
- CreateProjectProjectsBranchMatcher$outboundSchema.parse(
7278
- createProjectProjectsBranchMatcher,
7715
+ CreateProjectProjectsResponseBranchMatcher$outboundSchema.parse(
7716
+ createProjectProjectsResponseBranchMatcher,
7279
7717
  ),
7280
7718
  );
7281
7719
  }
7282
7720
 
7283
- export function createProjectProjectsBranchMatcherFromJSON(
7721
+ export function createProjectProjectsResponseBranchMatcherFromJSON(
7284
7722
  jsonString: string,
7285
- ): SafeParseResult<CreateProjectProjectsBranchMatcher, SDKValidationError> {
7723
+ ): SafeParseResult<
7724
+ CreateProjectProjectsResponseBranchMatcher,
7725
+ SDKValidationError
7726
+ > {
7286
7727
  return safeParse(
7287
7728
  jsonString,
7288
7729
  (x) =>
7289
- CreateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)),
7290
- `Failed to parse 'CreateProjectProjectsBranchMatcher' from JSON`,
7730
+ CreateProjectProjectsResponseBranchMatcher$inboundSchema.parse(
7731
+ JSON.parse(x),
7732
+ ),
7733
+ `Failed to parse 'CreateProjectProjectsResponseBranchMatcher' from JSON`,
7291
7734
  );
7292
7735
  }
7293
7736
 
@@ -7624,26 +8067,31 @@ export namespace CreateProjectProjectsReadySubstate$ {
7624
8067
  }
7625
8068
 
7626
8069
  /** @internal */
7627
- export const CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema:
7628
- z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONType> =
7629
- z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONType);
8070
+ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
8071
+ z.ZodNativeEnum<
8072
+ typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType
8073
+ > = z.nativeEnum(
8074
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyType,
8075
+ );
7630
8076
 
7631
8077
  /** @internal */
7632
- export const CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema:
7633
- z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONType> =
7634
- CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
8078
+ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
8079
+ z.ZodNativeEnum<
8080
+ typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType
8081
+ > =
8082
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
7635
8083
 
7636
8084
  /**
7637
8085
  * @internal
7638
8086
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7639
8087
  */
7640
- export namespace CreateProjectProjectsResponse200ApplicationJSONType$ {
7641
- /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
8088
+ export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$ {
8089
+ /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
7642
8090
  export const inboundSchema =
7643
- CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
7644
- /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
8091
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
8092
+ /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
7645
8093
  export const outboundSchema =
7646
- CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema;
8094
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
7647
8095
  }
7648
8096
 
7649
8097
  /** @internal */
@@ -7660,8 +8108,9 @@ export const CreateProjectTargets$inboundSchema: z.ZodType<
7660
8108
  ).optional(),
7661
8109
  aliasFinal: z.nullable(z.string()).optional(),
7662
8110
  automaticAliases: z.array(z.string()).optional(),
7663
- branchMatcher: z.lazy(() => CreateProjectProjectsBranchMatcher$inboundSchema)
7664
- .optional(),
8111
+ branchMatcher: z.lazy(() =>
8112
+ CreateProjectProjectsResponseBranchMatcher$inboundSchema
8113
+ ).optional(),
7665
8114
  buildingAt: z.number().optional(),
7666
8115
  builds: z.array(z.lazy(() => CreateProjectProjectsBuilds$inboundSchema))
7667
8116
  .optional(),
@@ -7691,7 +8140,8 @@ export const CreateProjectTargets$inboundSchema: z.ZodType<
7691
8140
  requestedAt: z.number().optional(),
7692
8141
  target: z.nullable(z.string()).optional(),
7693
8142
  teamId: z.nullable(z.string()).optional(),
7694
- type: CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema,
8143
+ type:
8144
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
7695
8145
  url: z.string(),
7696
8146
  userId: z.string(),
7697
8147
  withCache: z.boolean().optional(),
@@ -7705,7 +8155,9 @@ export type CreateProjectTargets$Outbound = {
7705
8155
  aliasError?: CreateProjectProjectsAliasError$Outbound | null | undefined;
7706
8156
  aliasFinal?: string | null | undefined;
7707
8157
  automaticAliases?: Array<string> | undefined;
7708
- branchMatcher?: CreateProjectProjectsBranchMatcher$Outbound | undefined;
8158
+ branchMatcher?:
8159
+ | CreateProjectProjectsResponseBranchMatcher$Outbound
8160
+ | undefined;
7709
8161
  buildingAt?: number | undefined;
7710
8162
  builds?: Array<CreateProjectProjectsBuilds$Outbound> | undefined;
7711
8163
  checksConclusion?: string | undefined;
@@ -7751,8 +8203,9 @@ export const CreateProjectTargets$outboundSchema: z.ZodType<
7751
8203
  ).optional(),
7752
8204
  aliasFinal: z.nullable(z.string()).optional(),
7753
8205
  automaticAliases: z.array(z.string()).optional(),
7754
- branchMatcher: z.lazy(() => CreateProjectProjectsBranchMatcher$outboundSchema)
7755
- .optional(),
8206
+ branchMatcher: z.lazy(() =>
8207
+ CreateProjectProjectsResponseBranchMatcher$outboundSchema
8208
+ ).optional(),
7756
8209
  buildingAt: z.number().optional(),
7757
8210
  builds: z.array(z.lazy(() => CreateProjectProjectsBuilds$outboundSchema))
7758
8211
  .optional(),
@@ -7784,7 +8237,8 @@ export const CreateProjectTargets$outboundSchema: z.ZodType<
7784
8237
  requestedAt: z.number().optional(),
7785
8238
  target: z.nullable(z.string()).optional(),
7786
8239
  teamId: z.nullable(z.string()).optional(),
7787
- type: CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema,
8240
+ type:
8241
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
7788
8242
  url: z.string(),
7789
8243
  userId: z.string(),
7790
8244
  withCache: z.boolean().optional(),
@@ -8553,31 +9007,31 @@ export namespace CreateProjectJobStatus$ {
8553
9007
  }
8554
9008
 
8555
9009
  /** @internal */
8556
- export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
9010
+ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema:
8557
9011
  z.ZodNativeEnum<
8558
- typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType
9012
+ typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType
8559
9013
  > = z.nativeEnum(
8560
- CreateProjectProjectsResponse200ApplicationJSONResponseBodyType,
9014
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType,
8561
9015
  );
8562
9016
 
8563
9017
  /** @internal */
8564
- export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
9018
+ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema:
8565
9019
  z.ZodNativeEnum<
8566
- typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType
9020
+ typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType
8567
9021
  > =
8568
- CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
9022
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema;
8569
9023
 
8570
9024
  /**
8571
9025
  * @internal
8572
9026
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8573
9027
  */
8574
- export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$ {
8575
- /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
9028
+ export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$ {
9029
+ /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema` instead. */
8576
9030
  export const inboundSchema =
8577
- CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
8578
- /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
9031
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema;
9032
+ /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema` instead. */
8579
9033
  export const outboundSchema =
8580
- CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
9034
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema;
8581
9035
  }
8582
9036
 
8583
9037
  /** @internal */
@@ -8588,16 +9042,18 @@ export const CreateProjectLastAliasRequest$inboundSchema: z.ZodType<
8588
9042
  > = z.object({
8589
9043
  fromDeploymentId: z.string(),
8590
9044
  toDeploymentId: z.string(),
9045
+ fromRollingReleaseId: z.string().optional(),
8591
9046
  jobStatus: CreateProjectJobStatus$inboundSchema,
8592
9047
  requestedAt: z.number(),
8593
9048
  type:
8594
- CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
9049
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema,
8595
9050
  });
8596
9051
 
8597
9052
  /** @internal */
8598
9053
  export type CreateProjectLastAliasRequest$Outbound = {
8599
9054
  fromDeploymentId: string;
8600
9055
  toDeploymentId: string;
9056
+ fromRollingReleaseId?: string | undefined;
8601
9057
  jobStatus: string;
8602
9058
  requestedAt: number;
8603
9059
  type: string;
@@ -8611,10 +9067,11 @@ export const CreateProjectLastAliasRequest$outboundSchema: z.ZodType<
8611
9067
  > = z.object({
8612
9068
  fromDeploymentId: z.string(),
8613
9069
  toDeploymentId: z.string(),
9070
+ fromRollingReleaseId: z.string().optional(),
8614
9071
  jobStatus: CreateProjectJobStatus$outboundSchema,
8615
9072
  requestedAt: z.number(),
8616
9073
  type:
8617
- CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
9074
+ CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema,
8618
9075
  });
8619
9076
 
8620
9077
  /**