@vercel/sdk 1.6.7 → 1.6.9

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 (162) hide show
  1. package/README.md +17 -29
  2. package/bin/mcp-server.js +2689 -996
  3. package/bin/mcp-server.js.map +33 -30
  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__/projects.test.js +13 -15
  8. package/esm/__tests__/projects.test.js.map +1 -1
  9. package/esm/__tests__/vercel.test.d.ts +2 -0
  10. package/esm/__tests__/vercel.test.d.ts.map +1 -0
  11. package/esm/__tests__/vercel.test.js +21 -0
  12. package/esm/__tests__/vercel.test.js.map +1 -0
  13. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  14. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  15. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts +18 -0
  16. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  17. package/esm/funcs/patchAliasesIdProtectionBypass.js +81 -0
  18. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +1 -0
  19. package/esm/lib/config.d.ts +3 -3
  20. package/esm/lib/config.js +3 -3
  21. package/esm/lib/sdks.d.ts +3 -1
  22. package/esm/lib/sdks.d.ts.map +1 -1
  23. package/esm/lib/sdks.js +6 -11
  24. package/esm/lib/sdks.js.map +1 -1
  25. package/esm/mcp-server/mcp-server.js +1 -1
  26. package/esm/mcp-server/server.d.ts.map +1 -1
  27. package/esm/mcp-server/server.js +3 -1
  28. package/esm/mcp-server/server.js.map +1 -1
  29. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +7 -0
  30. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  31. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +26 -0
  32. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +1 -0
  33. package/esm/models/authuser.d.ts +0 -8
  34. package/esm/models/authuser.d.ts.map +1 -1
  35. package/esm/models/authuser.js +0 -3
  36. package/esm/models/authuser.js.map +1 -1
  37. package/esm/models/canceldeploymentop.d.ts +268 -26
  38. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  39. package/esm/models/canceldeploymentop.js +194 -24
  40. package/esm/models/canceldeploymentop.js.map +1 -1
  41. package/esm/models/createcustomenvironmentop.d.ts +244 -2
  42. package/esm/models/createcustomenvironmentop.d.ts.map +1 -1
  43. package/esm/models/createcustomenvironmentop.js +174 -2
  44. package/esm/models/createcustomenvironmentop.js.map +1 -1
  45. package/esm/models/createdeploymentop.d.ts +357 -58
  46. package/esm/models/createdeploymentop.d.ts.map +1 -1
  47. package/esm/models/createdeploymentop.js +290 -60
  48. package/esm/models/createdeploymentop.js.map +1 -1
  49. package/esm/models/createprojectenvop.d.ts +6 -6
  50. package/esm/models/createprojectenvop.js +2 -2
  51. package/esm/models/createprojectenvop.js.map +1 -1
  52. package/esm/models/createprojectop.d.ts +337 -80
  53. package/esm/models/createprojectop.d.ts.map +1 -1
  54. package/esm/models/createprojectop.js +256 -78
  55. package/esm/models/createprojectop.js.map +1 -1
  56. package/esm/models/createrecordop.d.ts +43 -43
  57. package/esm/models/createrecordop.d.ts.map +1 -1
  58. package/esm/models/createrecordop.js +51 -51
  59. package/esm/models/createrecordop.js.map +1 -1
  60. package/esm/models/editprojectenvop.d.ts +3 -3
  61. package/esm/models/editprojectenvop.js +1 -1
  62. package/esm/models/editprojectenvop.js.map +1 -1
  63. package/esm/models/getaliasop.d.ts +8 -8
  64. package/esm/models/getaliasop.d.ts.map +1 -1
  65. package/esm/models/getaliasop.js +12 -13
  66. package/esm/models/getaliasop.js.map +1 -1
  67. package/esm/models/getbypassipop.d.ts +28 -28
  68. package/esm/models/getbypassipop.d.ts.map +1 -1
  69. package/esm/models/getbypassipop.js +28 -28
  70. package/esm/models/getbypassipop.js.map +1 -1
  71. package/esm/models/getcustomenvironmentop.d.ts +242 -2
  72. package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
  73. package/esm/models/getcustomenvironmentop.js +175 -2
  74. package/esm/models/getcustomenvironmentop.js.map +1 -1
  75. package/esm/models/getdeploymentop.d.ts +502 -18
  76. package/esm/models/getdeploymentop.d.ts.map +1 -1
  77. package/esm/models/getdeploymentop.js +354 -14
  78. package/esm/models/getdeploymentop.js.map +1 -1
  79. package/esm/models/getprojectdomainsop.d.ts +30 -30
  80. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  81. package/esm/models/getprojectdomainsop.js +32 -32
  82. package/esm/models/getprojectdomainsop.js.map +1 -1
  83. package/esm/models/getprojectsop.d.ts +342 -95
  84. package/esm/models/getprojectsop.d.ts.map +1 -1
  85. package/esm/models/getprojectsop.js +285 -112
  86. package/esm/models/getprojectsop.js.map +1 -1
  87. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +242 -2
  88. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  89. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +172 -2
  90. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  91. package/esm/models/listaliasesop.d.ts +8 -8
  92. package/esm/models/listaliasesop.d.ts.map +1 -1
  93. package/esm/models/listaliasesop.js +12 -12
  94. package/esm/models/listaliasesop.js.map +1 -1
  95. package/esm/models/patchaliasesidprotectionbypassop.d.ts +409 -0
  96. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +1 -0
  97. package/esm/models/patchaliasesidprotectionbypassop.js +386 -0
  98. package/esm/models/patchaliasesidprotectionbypassop.js.map +1 -0
  99. package/esm/models/removecustomenvironmentop.d.ts +245 -2
  100. package/esm/models/removecustomenvironmentop.d.ts.map +1 -1
  101. package/esm/models/removecustomenvironmentop.js +173 -2
  102. package/esm/models/removecustomenvironmentop.js.map +1 -1
  103. package/esm/models/removeprojectenvop.d.ts +9 -9
  104. package/esm/models/removeprojectenvop.js +3 -3
  105. package/esm/models/removeprojectenvop.js.map +1 -1
  106. package/esm/models/updatecustomenvironmentop.d.ts +244 -2
  107. package/esm/models/updatecustomenvironmentop.d.ts.map +1 -1
  108. package/esm/models/updatecustomenvironmentop.js +174 -2
  109. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  110. package/esm/models/updateprojectdatacacheop.d.ts +358 -111
  111. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  112. package/esm/models/updateprojectdatacacheop.js +309 -135
  113. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  114. package/esm/models/updateprojectop.d.ts +420 -104
  115. package/esm/models/updateprojectop.d.ts.map +1 -1
  116. package/esm/models/updateprojectop.js +342 -114
  117. package/esm/models/updateprojectop.js.map +1 -1
  118. package/esm/models/userevent.d.ts +161 -86
  119. package/esm/models/userevent.d.ts.map +1 -1
  120. package/esm/models/userevent.js +139 -64
  121. package/esm/models/userevent.js.map +1 -1
  122. package/esm/sdk/sdk.d.ts +8 -1
  123. package/esm/sdk/sdk.d.ts.map +1 -1
  124. package/esm/sdk/sdk.js +8 -0
  125. package/esm/sdk/sdk.js.map +1 -1
  126. package/jsr.json +1 -1
  127. package/package.json +1 -1
  128. package/src/__tests__/environment.test.ts +28 -4
  129. package/src/__tests__/projects.test.ts +13 -15
  130. package/src/__tests__/vercel.test.ts +26 -0
  131. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  132. package/src/funcs/patchAliasesIdProtectionBypass.ts +185 -0
  133. package/src/lib/config.ts +3 -3
  134. package/src/lib/sdks.ts +11 -11
  135. package/src/mcp-server/mcp-server.ts +1 -1
  136. package/src/mcp-server/server.ts +3 -1
  137. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +37 -0
  138. package/src/models/authuser.ts +0 -8
  139. package/src/models/canceldeploymentop.ts +503 -43
  140. package/src/models/createcustomenvironmentop.ts +426 -4
  141. package/src/models/createdeploymentop.ts +640 -117
  142. package/src/models/createprojectenvop.ts +2 -2
  143. package/src/models/createprojectop.ts +658 -201
  144. package/src/models/createrecordop.ts +96 -84
  145. package/src/models/editprojectenvop.ts +1 -1
  146. package/src/models/getaliasop.ts +16 -14
  147. package/src/models/getbypassipop.ts +56 -56
  148. package/src/models/getcustomenvironmentop.ts +412 -4
  149. package/src/models/getdeploymentop.ts +962 -49
  150. package/src/models/getprojectdomainsop.ts +84 -84
  151. package/src/models/getprojectsop.ts +630 -189
  152. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +473 -4
  153. package/src/models/listaliasesop.ts +19 -16
  154. package/src/models/patchaliasesidprotectionbypassop.ts +786 -0
  155. package/src/models/removecustomenvironmentop.ts +425 -4
  156. package/src/models/removeprojectenvop.ts +3 -3
  157. package/src/models/updatecustomenvironmentop.ts +437 -4
  158. package/src/models/updateprojectdatacacheop.ts +731 -271
  159. package/src/models/updateprojectop.ts +786 -197
  160. package/src/models/userevent.ts +246 -121
  161. package/src/sdk/sdk.ts +18 -1
  162. package/vercel-spec.json +2609 -140
@@ -405,20 +405,19 @@ export type GetProjectsContentHint =
405
405
  | GetProjectsContentHint15
406
406
  | GetProjectsContentHint14;
407
407
 
408
- export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType =
409
- {
410
- FlagsSecret: "flags-secret",
411
- } as const;
412
- export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType =
408
+ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType = {
409
+ FlagsSecret: "flags-secret",
410
+ } as const;
411
+ export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyType =
413
412
  ClosedEnum<
414
- typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType
413
+ typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType
415
414
  >;
416
415
 
417
416
  /**
418
417
  * Similar to `contentHints`, but should not be exposed to the user.
419
418
  */
420
419
  export type GetProjectsInternalContentHint = {
421
- type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType;
420
+ type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyType;
422
421
  /**
423
422
  * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
424
423
  */
@@ -471,7 +470,127 @@ export type GetProjectsEnv = {
471
470
  customEnvironmentIds?: Array<string> | undefined;
472
471
  };
473
472
 
474
- export type GetProjectsCustomEnvironments = {};
473
+ /**
474
+ * The type of environment (production, preview, or development)
475
+ */
476
+ export const GetProjectsProjectsType = {
477
+ Production: "production",
478
+ Preview: "preview",
479
+ Development: "development",
480
+ } as const;
481
+ /**
482
+ * The type of environment (production, preview, or development)
483
+ */
484
+ export type GetProjectsProjectsType = ClosedEnum<
485
+ typeof GetProjectsProjectsType
486
+ >;
487
+
488
+ /**
489
+ * The type of matching to perform
490
+ */
491
+ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType =
492
+ {
493
+ EndsWith: "endsWith",
494
+ StartsWith: "startsWith",
495
+ Equals: "equals",
496
+ } as const;
497
+ /**
498
+ * The type of matching to perform
499
+ */
500
+ export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType =
501
+ ClosedEnum<
502
+ typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType
503
+ >;
504
+
505
+ /**
506
+ * Configuration for matching git branches to this environment
507
+ */
508
+ export type GetProjectsBranchMatcher = {
509
+ /**
510
+ * The type of matching to perform
511
+ */
512
+ type:
513
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType;
514
+ /**
515
+ * The pattern to match against branch names
516
+ */
517
+ pattern: string;
518
+ };
519
+
520
+ /**
521
+ * 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`.
522
+ */
523
+ export type GetProjectsVerification = {
524
+ type: string;
525
+ domain: string;
526
+ value: string;
527
+ reason: string;
528
+ };
529
+
530
+ /**
531
+ * List of domains associated with this environment
532
+ */
533
+ export type GetProjectsDomains = {
534
+ name: string;
535
+ apexName: string;
536
+ projectId: string;
537
+ redirect?: string | null | undefined;
538
+ redirectStatusCode?: number | null | undefined;
539
+ gitBranch?: string | null | undefined;
540
+ customEnvironmentId?: string | null | undefined;
541
+ updatedAt?: number | undefined;
542
+ createdAt?: number | undefined;
543
+ /**
544
+ * `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.
545
+ */
546
+ verified: boolean;
547
+ /**
548
+ * 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`.
549
+ */
550
+ verification?: Array<GetProjectsVerification> | undefined;
551
+ };
552
+
553
+ /**
554
+ * Internal representation of a custom environment with all required properties
555
+ */
556
+ export type GetProjectsCustomEnvironments = {
557
+ /**
558
+ * Unique identifier for the custom environment (format: env_*)
559
+ */
560
+ id: string;
561
+ /**
562
+ * URL-friendly name of the environment
563
+ */
564
+ slug: string;
565
+ /**
566
+ * The type of environment (production, preview, or development)
567
+ */
568
+ type: GetProjectsProjectsType;
569
+ /**
570
+ * Optional description of the environment's purpose
571
+ */
572
+ description?: string | undefined;
573
+ /**
574
+ * Configuration for matching git branches to this environment
575
+ */
576
+ branchMatcher?: GetProjectsBranchMatcher | undefined;
577
+ /**
578
+ * List of domains associated with this environment
579
+ */
580
+ domains?: Array<GetProjectsDomains> | undefined;
581
+ /**
582
+ * List of aliases for the current deployment
583
+ */
584
+ currentDeploymentAliases?: Array<string> | undefined;
585
+ /**
586
+ * Timestamp when the environment was created
587
+ */
588
+ createdAt: number;
589
+ /**
590
+ * Timestamp when the environment was last updated
591
+ */
592
+ updatedAt: number;
593
+ };
475
594
 
476
595
  export const GetProjectsFramework = {
477
596
  Blitzjs: "blitzjs",
@@ -538,24 +657,26 @@ export type GetProjectsAliasError = {
538
657
  /**
539
658
  * The type of matching to perform
540
659
  */
541
- export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType = {
542
- EndsWith: "endsWith",
543
- StartsWith: "startsWith",
544
- Equals: "equals",
545
- } as const;
660
+ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType =
661
+ {
662
+ EndsWith: "endsWith",
663
+ StartsWith: "startsWith",
664
+ Equals: "equals",
665
+ } as const;
546
666
  /**
547
667
  * The type of matching to perform
548
668
  */
549
- export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyType =
669
+ export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType =
550
670
  ClosedEnum<
551
- typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType
671
+ typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType
552
672
  >;
553
673
 
554
- export type GetProjectsBranchMatcher = {
674
+ export type GetProjectsProjectsBranchMatcher = {
555
675
  /**
556
676
  * The type of matching to perform
557
677
  */
558
- type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyType;
678
+ type:
679
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType;
559
680
  /**
560
681
  * The pattern to match against branch names
561
682
  */
@@ -631,11 +752,11 @@ export type GetProjectsReadySubstate = ClosedEnum<
631
752
  typeof GetProjectsReadySubstate
632
753
  >;
633
754
 
634
- export const GetProjectsProjectsType = {
755
+ export const GetProjectsProjectsResponseType = {
635
756
  Lambdas: "LAMBDAS",
636
757
  } as const;
637
- export type GetProjectsProjectsType = ClosedEnum<
638
- typeof GetProjectsProjectsType
758
+ export type GetProjectsProjectsResponseType = ClosedEnum<
759
+ typeof GetProjectsProjectsResponseType
639
760
  >;
640
761
 
641
762
  export type GetProjectsLatestDeployments = {
@@ -645,7 +766,7 @@ export type GetProjectsLatestDeployments = {
645
766
  aliasError?: GetProjectsAliasError | null | undefined;
646
767
  aliasFinal?: string | null | undefined;
647
768
  automaticAliases?: Array<string> | undefined;
648
- branchMatcher?: GetProjectsBranchMatcher | undefined;
769
+ branchMatcher?: GetProjectsProjectsBranchMatcher | undefined;
649
770
  buildingAt?: number | undefined;
650
771
  builds?: Array<GetProjectsBuilds> | undefined;
651
772
  checksConclusion?: GetProjectsChecksConclusion | undefined;
@@ -674,7 +795,7 @@ export type GetProjectsLatestDeployments = {
674
795
  requestedAt?: number | undefined;
675
796
  target?: string | null | undefined;
676
797
  teamId?: string | null | undefined;
677
- type: GetProjectsProjectsType;
798
+ type: GetProjectsProjectsResponseType;
678
799
  url: string;
679
800
  userId: string;
680
801
  withCache?: boolean | undefined;
@@ -964,8 +1085,8 @@ export type GetProjectsDefaultResourceConfig = {
964
1085
  };
965
1086
 
966
1087
  export const GetProjectsDeploymentType = {
967
- All: "all",
968
1088
  Preview: "preview",
1089
+ All: "all",
969
1090
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
970
1091
  } as const;
971
1092
  export type GetProjectsDeploymentType = ClosedEnum<
@@ -986,23 +1107,25 @@ export type GetProjectsProjectsAliasError = {
986
1107
  /**
987
1108
  * The type of matching to perform
988
1109
  */
989
- export const GetProjectsProjectsResponse200ApplicationJSONType = {
990
- EndsWith: "endsWith",
991
- StartsWith: "startsWith",
992
- Equals: "equals",
993
- } as const;
1110
+ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType =
1111
+ {
1112
+ EndsWith: "endsWith",
1113
+ StartsWith: "startsWith",
1114
+ Equals: "equals",
1115
+ } as const;
994
1116
  /**
995
1117
  * The type of matching to perform
996
1118
  */
997
- export type GetProjectsProjectsResponse200ApplicationJSONType = ClosedEnum<
998
- typeof GetProjectsProjectsResponse200ApplicationJSONType
999
- >;
1119
+ export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType =
1120
+ ClosedEnum<
1121
+ typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType
1122
+ >;
1000
1123
 
1001
- export type GetProjectsProjectsBranchMatcher = {
1124
+ export type GetProjectsProjectsResponseBranchMatcher = {
1002
1125
  /**
1003
1126
  * The type of matching to perform
1004
1127
  */
1005
- type: GetProjectsProjectsResponse200ApplicationJSONType;
1128
+ type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType;
1006
1129
  /**
1007
1130
  * The pattern to match against branch names
1008
1131
  */
@@ -1084,11 +1207,11 @@ export type GetProjectsProjectsReadySubstate = ClosedEnum<
1084
1207
  typeof GetProjectsProjectsReadySubstate
1085
1208
  >;
1086
1209
 
1087
- export const GetProjectsProjectsResponseType = {
1210
+ export const GetProjectsProjectsResponse200Type = {
1088
1211
  Lambdas: "LAMBDAS",
1089
1212
  } as const;
1090
- export type GetProjectsProjectsResponseType = ClosedEnum<
1091
- typeof GetProjectsProjectsResponseType
1213
+ export type GetProjectsProjectsResponse200Type = ClosedEnum<
1214
+ typeof GetProjectsProjectsResponse200Type
1092
1215
  >;
1093
1216
 
1094
1217
  export type GetProjectsTargets = {
@@ -1098,7 +1221,7 @@ export type GetProjectsTargets = {
1098
1221
  aliasError?: GetProjectsProjectsAliasError | null | undefined;
1099
1222
  aliasFinal?: string | null | undefined;
1100
1223
  automaticAliases?: Array<string> | undefined;
1101
- branchMatcher?: GetProjectsProjectsBranchMatcher | undefined;
1224
+ branchMatcher?: GetProjectsProjectsResponseBranchMatcher | undefined;
1102
1225
  buildingAt?: number | undefined;
1103
1226
  builds?: Array<GetProjectsProjectsBuilds> | undefined;
1104
1227
  checksConclusion?: GetProjectsProjectsChecksConclusion | undefined;
@@ -1127,7 +1250,7 @@ export type GetProjectsTargets = {
1127
1250
  requestedAt?: number | undefined;
1128
1251
  target?: string | null | undefined;
1129
1252
  teamId?: string | null | undefined;
1130
- type: GetProjectsProjectsResponseType;
1253
+ type: GetProjectsProjectsResponse200Type;
1131
1254
  url: string;
1132
1255
  userId: string;
1133
1256
  withCache?: boolean | undefined;
@@ -1342,20 +1465,24 @@ export const GetProjectsJobStatus = {
1342
1465
  } as const;
1343
1466
  export type GetProjectsJobStatus = ClosedEnum<typeof GetProjectsJobStatus>;
1344
1467
 
1345
- export const GetProjectsProjectsResponse200Type = {
1468
+ export const GetProjectsProjectsResponse200ApplicationJSONType = {
1346
1469
  Promote: "promote",
1347
1470
  Rollback: "rollback",
1348
1471
  } as const;
1349
- export type GetProjectsProjectsResponse200Type = ClosedEnum<
1350
- typeof GetProjectsProjectsResponse200Type
1472
+ export type GetProjectsProjectsResponse200ApplicationJSONType = ClosedEnum<
1473
+ typeof GetProjectsProjectsResponse200ApplicationJSONType
1351
1474
  >;
1352
1475
 
1353
1476
  export type GetProjectsLastAliasRequest = {
1354
1477
  fromDeploymentId: string;
1355
1478
  toDeploymentId: string;
1479
+ /**
1480
+ * If rolling back from a rolling release, fromDeploymentId captures the "base" of that rolling release, and fromRollingReleaseId captures the "target" of that rolling release.
1481
+ */
1482
+ fromRollingReleaseId?: string | undefined;
1356
1483
  jobStatus: GetProjectsJobStatus;
1357
1484
  requestedAt: number;
1358
- type: GetProjectsProjectsResponse200Type;
1485
+ type: GetProjectsProjectsResponse200ApplicationJSONType;
1359
1486
  };
1360
1487
 
1361
1488
  export const GetProjectsScope = {
@@ -1370,10 +1497,10 @@ export type GetProjectsProtectionBypass = {
1370
1497
  };
1371
1498
 
1372
1499
  export const GetProjectsTrustedIpsProjectsDeploymentType = {
1373
- All: "all",
1500
+ Production: "production",
1374
1501
  Preview: "preview",
1502
+ All: "all",
1375
1503
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1376
- Production: "production",
1377
1504
  } as const;
1378
1505
  export type GetProjectsTrustedIpsProjectsDeploymentType = ClosedEnum<
1379
1506
  typeof GetProjectsTrustedIpsProjectsDeploymentType
@@ -1384,10 +1511,10 @@ export type GetProjectsTrustedIps2 = {
1384
1511
  };
1385
1512
 
1386
1513
  export const GetProjectsTrustedIpsDeploymentType = {
1387
- All: "all",
1514
+ Production: "production",
1388
1515
  Preview: "preview",
1516
+ All: "all",
1389
1517
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1390
- Production: "production",
1391
1518
  } as const;
1392
1519
  export type GetProjectsTrustedIpsDeploymentType = ClosedEnum<
1393
1520
  typeof GetProjectsTrustedIpsDeploymentType
@@ -3759,31 +3886,31 @@ export function getProjectsContentHintFromJSON(
3759
3886
  }
3760
3887
 
3761
3888
  /** @internal */
3762
- export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema:
3889
+ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
3763
3890
  z.ZodNativeEnum<
3764
- typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType
3891
+ typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType
3765
3892
  > = z.nativeEnum(
3766
- GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType,
3893
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyType,
3767
3894
  );
3768
3895
 
3769
3896
  /** @internal */
3770
- export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema:
3897
+ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
3771
3898
  z.ZodNativeEnum<
3772
- typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType
3899
+ typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType
3773
3900
  > =
3774
- GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema;
3901
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
3775
3902
 
3776
3903
  /**
3777
3904
  * @internal
3778
3905
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3779
3906
  */
3780
- export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$ {
3781
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema` instead. */
3907
+ export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$ {
3908
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
3782
3909
  export const inboundSchema =
3783
- GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema;
3784
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema` instead. */
3910
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
3911
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
3785
3912
  export const outboundSchema =
3786
- GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema;
3913
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
3787
3914
  }
3788
3915
 
3789
3916
  /** @internal */
@@ -3793,7 +3920,7 @@ export const GetProjectsInternalContentHint$inboundSchema: z.ZodType<
3793
3920
  unknown
3794
3921
  > = z.object({
3795
3922
  type:
3796
- GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema,
3923
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
3797
3924
  encryptedValue: z.string(),
3798
3925
  });
3799
3926
 
@@ -3810,7 +3937,7 @@ export const GetProjectsInternalContentHint$outboundSchema: z.ZodType<
3810
3937
  GetProjectsInternalContentHint
3811
3938
  > = z.object({
3812
3939
  type:
3813
- GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema,
3940
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
3814
3941
  encryptedValue: z.string(),
3815
3942
  });
3816
3943
 
@@ -3997,26 +4124,283 @@ export const GetProjectsEnv$outboundSchema: z.ZodType<
3997
4124
  * @internal
3998
4125
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3999
4126
  */
4000
- export namespace GetProjectsEnv$ {
4001
- /** @deprecated use `GetProjectsEnv$inboundSchema` instead. */
4002
- export const inboundSchema = GetProjectsEnv$inboundSchema;
4003
- /** @deprecated use `GetProjectsEnv$outboundSchema` instead. */
4004
- export const outboundSchema = GetProjectsEnv$outboundSchema;
4005
- /** @deprecated use `GetProjectsEnv$Outbound` instead. */
4006
- export type Outbound = GetProjectsEnv$Outbound;
4127
+ export namespace GetProjectsEnv$ {
4128
+ /** @deprecated use `GetProjectsEnv$inboundSchema` instead. */
4129
+ export const inboundSchema = GetProjectsEnv$inboundSchema;
4130
+ /** @deprecated use `GetProjectsEnv$outboundSchema` instead. */
4131
+ export const outboundSchema = GetProjectsEnv$outboundSchema;
4132
+ /** @deprecated use `GetProjectsEnv$Outbound` instead. */
4133
+ export type Outbound = GetProjectsEnv$Outbound;
4134
+ }
4135
+
4136
+ export function getProjectsEnvToJSON(getProjectsEnv: GetProjectsEnv): string {
4137
+ return JSON.stringify(GetProjectsEnv$outboundSchema.parse(getProjectsEnv));
4138
+ }
4139
+
4140
+ export function getProjectsEnvFromJSON(
4141
+ jsonString: string,
4142
+ ): SafeParseResult<GetProjectsEnv, SDKValidationError> {
4143
+ return safeParse(
4144
+ jsonString,
4145
+ (x) => GetProjectsEnv$inboundSchema.parse(JSON.parse(x)),
4146
+ `Failed to parse 'GetProjectsEnv' from JSON`,
4147
+ );
4148
+ }
4149
+
4150
+ /** @internal */
4151
+ export const GetProjectsProjectsType$inboundSchema: z.ZodNativeEnum<
4152
+ typeof GetProjectsProjectsType
4153
+ > = z.nativeEnum(GetProjectsProjectsType);
4154
+
4155
+ /** @internal */
4156
+ export const GetProjectsProjectsType$outboundSchema: z.ZodNativeEnum<
4157
+ typeof GetProjectsProjectsType
4158
+ > = GetProjectsProjectsType$inboundSchema;
4159
+
4160
+ /**
4161
+ * @internal
4162
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4163
+ */
4164
+ export namespace GetProjectsProjectsType$ {
4165
+ /** @deprecated use `GetProjectsProjectsType$inboundSchema` instead. */
4166
+ export const inboundSchema = GetProjectsProjectsType$inboundSchema;
4167
+ /** @deprecated use `GetProjectsProjectsType$outboundSchema` instead. */
4168
+ export const outboundSchema = GetProjectsProjectsType$outboundSchema;
4169
+ }
4170
+
4171
+ /** @internal */
4172
+ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema:
4173
+ z.ZodNativeEnum<
4174
+ typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType
4175
+ > = z.nativeEnum(
4176
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType,
4177
+ );
4178
+
4179
+ /** @internal */
4180
+ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$outboundSchema:
4181
+ z.ZodNativeEnum<
4182
+ typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType
4183
+ > =
4184
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema;
4185
+
4186
+ /**
4187
+ * @internal
4188
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4189
+ */
4190
+ export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$ {
4191
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema` instead. */
4192
+ export const inboundSchema =
4193
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema;
4194
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$outboundSchema` instead. */
4195
+ export const outboundSchema =
4196
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$outboundSchema;
4197
+ }
4198
+
4199
+ /** @internal */
4200
+ export const GetProjectsBranchMatcher$inboundSchema: z.ZodType<
4201
+ GetProjectsBranchMatcher,
4202
+ z.ZodTypeDef,
4203
+ unknown
4204
+ > = z.object({
4205
+ type:
4206
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema,
4207
+ pattern: z.string(),
4208
+ });
4209
+
4210
+ /** @internal */
4211
+ export type GetProjectsBranchMatcher$Outbound = {
4212
+ type: string;
4213
+ pattern: string;
4214
+ };
4215
+
4216
+ /** @internal */
4217
+ export const GetProjectsBranchMatcher$outboundSchema: z.ZodType<
4218
+ GetProjectsBranchMatcher$Outbound,
4219
+ z.ZodTypeDef,
4220
+ GetProjectsBranchMatcher
4221
+ > = z.object({
4222
+ type:
4223
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$outboundSchema,
4224
+ pattern: z.string(),
4225
+ });
4226
+
4227
+ /**
4228
+ * @internal
4229
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4230
+ */
4231
+ export namespace GetProjectsBranchMatcher$ {
4232
+ /** @deprecated use `GetProjectsBranchMatcher$inboundSchema` instead. */
4233
+ export const inboundSchema = GetProjectsBranchMatcher$inboundSchema;
4234
+ /** @deprecated use `GetProjectsBranchMatcher$outboundSchema` instead. */
4235
+ export const outboundSchema = GetProjectsBranchMatcher$outboundSchema;
4236
+ /** @deprecated use `GetProjectsBranchMatcher$Outbound` instead. */
4237
+ export type Outbound = GetProjectsBranchMatcher$Outbound;
4238
+ }
4239
+
4240
+ export function getProjectsBranchMatcherToJSON(
4241
+ getProjectsBranchMatcher: GetProjectsBranchMatcher,
4242
+ ): string {
4243
+ return JSON.stringify(
4244
+ GetProjectsBranchMatcher$outboundSchema.parse(getProjectsBranchMatcher),
4245
+ );
4246
+ }
4247
+
4248
+ export function getProjectsBranchMatcherFromJSON(
4249
+ jsonString: string,
4250
+ ): SafeParseResult<GetProjectsBranchMatcher, SDKValidationError> {
4251
+ return safeParse(
4252
+ jsonString,
4253
+ (x) => GetProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)),
4254
+ `Failed to parse 'GetProjectsBranchMatcher' from JSON`,
4255
+ );
4256
+ }
4257
+
4258
+ /** @internal */
4259
+ export const GetProjectsVerification$inboundSchema: z.ZodType<
4260
+ GetProjectsVerification,
4261
+ z.ZodTypeDef,
4262
+ unknown
4263
+ > = z.object({
4264
+ type: z.string(),
4265
+ domain: z.string(),
4266
+ value: z.string(),
4267
+ reason: z.string(),
4268
+ });
4269
+
4270
+ /** @internal */
4271
+ export type GetProjectsVerification$Outbound = {
4272
+ type: string;
4273
+ domain: string;
4274
+ value: string;
4275
+ reason: string;
4276
+ };
4277
+
4278
+ /** @internal */
4279
+ export const GetProjectsVerification$outboundSchema: z.ZodType<
4280
+ GetProjectsVerification$Outbound,
4281
+ z.ZodTypeDef,
4282
+ GetProjectsVerification
4283
+ > = z.object({
4284
+ type: z.string(),
4285
+ domain: z.string(),
4286
+ value: z.string(),
4287
+ reason: z.string(),
4288
+ });
4289
+
4290
+ /**
4291
+ * @internal
4292
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4293
+ */
4294
+ export namespace GetProjectsVerification$ {
4295
+ /** @deprecated use `GetProjectsVerification$inboundSchema` instead. */
4296
+ export const inboundSchema = GetProjectsVerification$inboundSchema;
4297
+ /** @deprecated use `GetProjectsVerification$outboundSchema` instead. */
4298
+ export const outboundSchema = GetProjectsVerification$outboundSchema;
4299
+ /** @deprecated use `GetProjectsVerification$Outbound` instead. */
4300
+ export type Outbound = GetProjectsVerification$Outbound;
4301
+ }
4302
+
4303
+ export function getProjectsVerificationToJSON(
4304
+ getProjectsVerification: GetProjectsVerification,
4305
+ ): string {
4306
+ return JSON.stringify(
4307
+ GetProjectsVerification$outboundSchema.parse(getProjectsVerification),
4308
+ );
4309
+ }
4310
+
4311
+ export function getProjectsVerificationFromJSON(
4312
+ jsonString: string,
4313
+ ): SafeParseResult<GetProjectsVerification, SDKValidationError> {
4314
+ return safeParse(
4315
+ jsonString,
4316
+ (x) => GetProjectsVerification$inboundSchema.parse(JSON.parse(x)),
4317
+ `Failed to parse 'GetProjectsVerification' from JSON`,
4318
+ );
4319
+ }
4320
+
4321
+ /** @internal */
4322
+ export const GetProjectsDomains$inboundSchema: z.ZodType<
4323
+ GetProjectsDomains,
4324
+ z.ZodTypeDef,
4325
+ unknown
4326
+ > = z.object({
4327
+ name: z.string(),
4328
+ apexName: z.string(),
4329
+ projectId: z.string(),
4330
+ redirect: z.nullable(z.string()).optional(),
4331
+ redirectStatusCode: z.nullable(z.number()).optional(),
4332
+ gitBranch: z.nullable(z.string()).optional(),
4333
+ customEnvironmentId: z.nullable(z.string()).optional(),
4334
+ updatedAt: z.number().optional(),
4335
+ createdAt: z.number().optional(),
4336
+ verified: z.boolean(),
4337
+ verification: z.array(z.lazy(() => GetProjectsVerification$inboundSchema))
4338
+ .optional(),
4339
+ });
4340
+
4341
+ /** @internal */
4342
+ export type GetProjectsDomains$Outbound = {
4343
+ name: string;
4344
+ apexName: string;
4345
+ projectId: string;
4346
+ redirect?: string | null | undefined;
4347
+ redirectStatusCode?: number | null | undefined;
4348
+ gitBranch?: string | null | undefined;
4349
+ customEnvironmentId?: string | null | undefined;
4350
+ updatedAt?: number | undefined;
4351
+ createdAt?: number | undefined;
4352
+ verified: boolean;
4353
+ verification?: Array<GetProjectsVerification$Outbound> | undefined;
4354
+ };
4355
+
4356
+ /** @internal */
4357
+ export const GetProjectsDomains$outboundSchema: z.ZodType<
4358
+ GetProjectsDomains$Outbound,
4359
+ z.ZodTypeDef,
4360
+ GetProjectsDomains
4361
+ > = z.object({
4362
+ name: z.string(),
4363
+ apexName: z.string(),
4364
+ projectId: z.string(),
4365
+ redirect: z.nullable(z.string()).optional(),
4366
+ redirectStatusCode: z.nullable(z.number()).optional(),
4367
+ gitBranch: z.nullable(z.string()).optional(),
4368
+ customEnvironmentId: z.nullable(z.string()).optional(),
4369
+ updatedAt: z.number().optional(),
4370
+ createdAt: z.number().optional(),
4371
+ verified: z.boolean(),
4372
+ verification: z.array(z.lazy(() => GetProjectsVerification$outboundSchema))
4373
+ .optional(),
4374
+ });
4375
+
4376
+ /**
4377
+ * @internal
4378
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4379
+ */
4380
+ export namespace GetProjectsDomains$ {
4381
+ /** @deprecated use `GetProjectsDomains$inboundSchema` instead. */
4382
+ export const inboundSchema = GetProjectsDomains$inboundSchema;
4383
+ /** @deprecated use `GetProjectsDomains$outboundSchema` instead. */
4384
+ export const outboundSchema = GetProjectsDomains$outboundSchema;
4385
+ /** @deprecated use `GetProjectsDomains$Outbound` instead. */
4386
+ export type Outbound = GetProjectsDomains$Outbound;
4007
4387
  }
4008
4388
 
4009
- export function getProjectsEnvToJSON(getProjectsEnv: GetProjectsEnv): string {
4010
- return JSON.stringify(GetProjectsEnv$outboundSchema.parse(getProjectsEnv));
4389
+ export function getProjectsDomainsToJSON(
4390
+ getProjectsDomains: GetProjectsDomains,
4391
+ ): string {
4392
+ return JSON.stringify(
4393
+ GetProjectsDomains$outboundSchema.parse(getProjectsDomains),
4394
+ );
4011
4395
  }
4012
4396
 
4013
- export function getProjectsEnvFromJSON(
4397
+ export function getProjectsDomainsFromJSON(
4014
4398
  jsonString: string,
4015
- ): SafeParseResult<GetProjectsEnv, SDKValidationError> {
4399
+ ): SafeParseResult<GetProjectsDomains, SDKValidationError> {
4016
4400
  return safeParse(
4017
4401
  jsonString,
4018
- (x) => GetProjectsEnv$inboundSchema.parse(JSON.parse(x)),
4019
- `Failed to parse 'GetProjectsEnv' from JSON`,
4402
+ (x) => GetProjectsDomains$inboundSchema.parse(JSON.parse(x)),
4403
+ `Failed to parse 'GetProjectsDomains' from JSON`,
4020
4404
  );
4021
4405
  }
4022
4406
 
@@ -4025,17 +4409,49 @@ export const GetProjectsCustomEnvironments$inboundSchema: z.ZodType<
4025
4409
  GetProjectsCustomEnvironments,
4026
4410
  z.ZodTypeDef,
4027
4411
  unknown
4028
- > = z.object({});
4412
+ > = z.object({
4413
+ id: z.string(),
4414
+ slug: z.string(),
4415
+ type: GetProjectsProjectsType$inboundSchema,
4416
+ description: z.string().optional(),
4417
+ branchMatcher: z.lazy(() => GetProjectsBranchMatcher$inboundSchema)
4418
+ .optional(),
4419
+ domains: z.array(z.lazy(() => GetProjectsDomains$inboundSchema)).optional(),
4420
+ currentDeploymentAliases: z.array(z.string()).optional(),
4421
+ createdAt: z.number(),
4422
+ updatedAt: z.number(),
4423
+ });
4029
4424
 
4030
4425
  /** @internal */
4031
- export type GetProjectsCustomEnvironments$Outbound = {};
4426
+ export type GetProjectsCustomEnvironments$Outbound = {
4427
+ id: string;
4428
+ slug: string;
4429
+ type: string;
4430
+ description?: string | undefined;
4431
+ branchMatcher?: GetProjectsBranchMatcher$Outbound | undefined;
4432
+ domains?: Array<GetProjectsDomains$Outbound> | undefined;
4433
+ currentDeploymentAliases?: Array<string> | undefined;
4434
+ createdAt: number;
4435
+ updatedAt: number;
4436
+ };
4032
4437
 
4033
4438
  /** @internal */
4034
4439
  export const GetProjectsCustomEnvironments$outboundSchema: z.ZodType<
4035
4440
  GetProjectsCustomEnvironments$Outbound,
4036
4441
  z.ZodTypeDef,
4037
4442
  GetProjectsCustomEnvironments
4038
- > = z.object({});
4443
+ > = z.object({
4444
+ id: z.string(),
4445
+ slug: z.string(),
4446
+ type: GetProjectsProjectsType$outboundSchema,
4447
+ description: z.string().optional(),
4448
+ branchMatcher: z.lazy(() => GetProjectsBranchMatcher$outboundSchema)
4449
+ .optional(),
4450
+ domains: z.array(z.lazy(() => GetProjectsDomains$outboundSchema)).optional(),
4451
+ currentDeploymentAliases: z.array(z.string()).optional(),
4452
+ createdAt: z.number(),
4453
+ updatedAt: z.number(),
4454
+ });
4039
4455
 
4040
4456
  /**
4041
4457
  * @internal
@@ -4254,58 +4670,58 @@ export function getProjectsAliasErrorFromJSON(
4254
4670
  }
4255
4671
 
4256
4672
  /** @internal */
4257
- export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
4673
+ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema:
4258
4674
  z.ZodNativeEnum<
4259
- typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType
4675
+ typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType
4260
4676
  > = z.nativeEnum(
4261
- GetProjectsProjectsResponse200ApplicationJSONResponseBodyType,
4677
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType,
4262
4678
  );
4263
4679
 
4264
4680
  /** @internal */
4265
- export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
4681
+ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema:
4266
4682
  z.ZodNativeEnum<
4267
- typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType
4683
+ typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType
4268
4684
  > =
4269
- GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
4685
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema;
4270
4686
 
4271
4687
  /**
4272
4688
  * @internal
4273
4689
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4274
4690
  */
4275
- export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$ {
4276
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
4691
+ export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$ {
4692
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema` instead. */
4277
4693
  export const inboundSchema =
4278
- GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
4279
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
4694
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema;
4695
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema` instead. */
4280
4696
  export const outboundSchema =
4281
- GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
4697
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema;
4282
4698
  }
4283
4699
 
4284
4700
  /** @internal */
4285
- export const GetProjectsBranchMatcher$inboundSchema: z.ZodType<
4286
- GetProjectsBranchMatcher,
4701
+ export const GetProjectsProjectsBranchMatcher$inboundSchema: z.ZodType<
4702
+ GetProjectsProjectsBranchMatcher,
4287
4703
  z.ZodTypeDef,
4288
4704
  unknown
4289
4705
  > = z.object({
4290
4706
  type:
4291
- GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
4707
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema,
4292
4708
  pattern: z.string(),
4293
4709
  });
4294
4710
 
4295
4711
  /** @internal */
4296
- export type GetProjectsBranchMatcher$Outbound = {
4712
+ export type GetProjectsProjectsBranchMatcher$Outbound = {
4297
4713
  type: string;
4298
4714
  pattern: string;
4299
4715
  };
4300
4716
 
4301
4717
  /** @internal */
4302
- export const GetProjectsBranchMatcher$outboundSchema: z.ZodType<
4303
- GetProjectsBranchMatcher$Outbound,
4718
+ export const GetProjectsProjectsBranchMatcher$outboundSchema: z.ZodType<
4719
+ GetProjectsProjectsBranchMatcher$Outbound,
4304
4720
  z.ZodTypeDef,
4305
- GetProjectsBranchMatcher
4721
+ GetProjectsProjectsBranchMatcher
4306
4722
  > = z.object({
4307
4723
  type:
4308
- GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
4724
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema,
4309
4725
  pattern: z.string(),
4310
4726
  });
4311
4727
 
@@ -4313,30 +4729,32 @@ export const GetProjectsBranchMatcher$outboundSchema: z.ZodType<
4313
4729
  * @internal
4314
4730
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4315
4731
  */
4316
- export namespace GetProjectsBranchMatcher$ {
4317
- /** @deprecated use `GetProjectsBranchMatcher$inboundSchema` instead. */
4318
- export const inboundSchema = GetProjectsBranchMatcher$inboundSchema;
4319
- /** @deprecated use `GetProjectsBranchMatcher$outboundSchema` instead. */
4320
- export const outboundSchema = GetProjectsBranchMatcher$outboundSchema;
4321
- /** @deprecated use `GetProjectsBranchMatcher$Outbound` instead. */
4322
- export type Outbound = GetProjectsBranchMatcher$Outbound;
4732
+ export namespace GetProjectsProjectsBranchMatcher$ {
4733
+ /** @deprecated use `GetProjectsProjectsBranchMatcher$inboundSchema` instead. */
4734
+ export const inboundSchema = GetProjectsProjectsBranchMatcher$inboundSchema;
4735
+ /** @deprecated use `GetProjectsProjectsBranchMatcher$outboundSchema` instead. */
4736
+ export const outboundSchema = GetProjectsProjectsBranchMatcher$outboundSchema;
4737
+ /** @deprecated use `GetProjectsProjectsBranchMatcher$Outbound` instead. */
4738
+ export type Outbound = GetProjectsProjectsBranchMatcher$Outbound;
4323
4739
  }
4324
4740
 
4325
- export function getProjectsBranchMatcherToJSON(
4326
- getProjectsBranchMatcher: GetProjectsBranchMatcher,
4741
+ export function getProjectsProjectsBranchMatcherToJSON(
4742
+ getProjectsProjectsBranchMatcher: GetProjectsProjectsBranchMatcher,
4327
4743
  ): string {
4328
4744
  return JSON.stringify(
4329
- GetProjectsBranchMatcher$outboundSchema.parse(getProjectsBranchMatcher),
4745
+ GetProjectsProjectsBranchMatcher$outboundSchema.parse(
4746
+ getProjectsProjectsBranchMatcher,
4747
+ ),
4330
4748
  );
4331
4749
  }
4332
4750
 
4333
- export function getProjectsBranchMatcherFromJSON(
4751
+ export function getProjectsProjectsBranchMatcherFromJSON(
4334
4752
  jsonString: string,
4335
- ): SafeParseResult<GetProjectsBranchMatcher, SDKValidationError> {
4753
+ ): SafeParseResult<GetProjectsProjectsBranchMatcher, SDKValidationError> {
4336
4754
  return safeParse(
4337
4755
  jsonString,
4338
- (x) => GetProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)),
4339
- `Failed to parse 'GetProjectsBranchMatcher' from JSON`,
4756
+ (x) => GetProjectsProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)),
4757
+ `Failed to parse 'GetProjectsProjectsBranchMatcher' from JSON`,
4340
4758
  );
4341
4759
  }
4342
4760
 
@@ -4660,24 +5078,24 @@ export namespace GetProjectsReadySubstate$ {
4660
5078
  }
4661
5079
 
4662
5080
  /** @internal */
4663
- export const GetProjectsProjectsType$inboundSchema: z.ZodNativeEnum<
4664
- typeof GetProjectsProjectsType
4665
- > = z.nativeEnum(GetProjectsProjectsType);
5081
+ export const GetProjectsProjectsResponseType$inboundSchema: z.ZodNativeEnum<
5082
+ typeof GetProjectsProjectsResponseType
5083
+ > = z.nativeEnum(GetProjectsProjectsResponseType);
4666
5084
 
4667
5085
  /** @internal */
4668
- export const GetProjectsProjectsType$outboundSchema: z.ZodNativeEnum<
4669
- typeof GetProjectsProjectsType
4670
- > = GetProjectsProjectsType$inboundSchema;
5086
+ export const GetProjectsProjectsResponseType$outboundSchema: z.ZodNativeEnum<
5087
+ typeof GetProjectsProjectsResponseType
5088
+ > = GetProjectsProjectsResponseType$inboundSchema;
4671
5089
 
4672
5090
  /**
4673
5091
  * @internal
4674
5092
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4675
5093
  */
4676
- export namespace GetProjectsProjectsType$ {
4677
- /** @deprecated use `GetProjectsProjectsType$inboundSchema` instead. */
4678
- export const inboundSchema = GetProjectsProjectsType$inboundSchema;
4679
- /** @deprecated use `GetProjectsProjectsType$outboundSchema` instead. */
4680
- export const outboundSchema = GetProjectsProjectsType$outboundSchema;
5094
+ export namespace GetProjectsProjectsResponseType$ {
5095
+ /** @deprecated use `GetProjectsProjectsResponseType$inboundSchema` instead. */
5096
+ export const inboundSchema = GetProjectsProjectsResponseType$inboundSchema;
5097
+ /** @deprecated use `GetProjectsProjectsResponseType$outboundSchema` instead. */
5098
+ export const outboundSchema = GetProjectsProjectsResponseType$outboundSchema;
4681
5099
  }
4682
5100
 
4683
5101
  /** @internal */
@@ -4693,7 +5111,7 @@ export const GetProjectsLatestDeployments$inboundSchema: z.ZodType<
4693
5111
  .optional(),
4694
5112
  aliasFinal: z.nullable(z.string()).optional(),
4695
5113
  automaticAliases: z.array(z.string()).optional(),
4696
- branchMatcher: z.lazy(() => GetProjectsBranchMatcher$inboundSchema)
5114
+ branchMatcher: z.lazy(() => GetProjectsProjectsBranchMatcher$inboundSchema)
4697
5115
  .optional(),
4698
5116
  buildingAt: z.number().optional(),
4699
5117
  builds: z.array(z.lazy(() => GetProjectsBuilds$inboundSchema)).optional(),
@@ -4721,7 +5139,7 @@ export const GetProjectsLatestDeployments$inboundSchema: z.ZodType<
4721
5139
  requestedAt: z.number().optional(),
4722
5140
  target: z.nullable(z.string()).optional(),
4723
5141
  teamId: z.nullable(z.string()).optional(),
4724
- type: GetProjectsProjectsType$inboundSchema,
5142
+ type: GetProjectsProjectsResponseType$inboundSchema,
4725
5143
  url: z.string(),
4726
5144
  userId: z.string(),
4727
5145
  withCache: z.boolean().optional(),
@@ -4735,7 +5153,7 @@ export type GetProjectsLatestDeployments$Outbound = {
4735
5153
  aliasError?: GetProjectsAliasError$Outbound | null | undefined;
4736
5154
  aliasFinal?: string | null | undefined;
4737
5155
  automaticAliases?: Array<string> | undefined;
4738
- branchMatcher?: GetProjectsBranchMatcher$Outbound | undefined;
5156
+ branchMatcher?: GetProjectsProjectsBranchMatcher$Outbound | undefined;
4739
5157
  buildingAt?: number | undefined;
4740
5158
  builds?: Array<GetProjectsBuilds$Outbound> | undefined;
4741
5159
  checksConclusion?: string | undefined;
@@ -4780,7 +5198,7 @@ export const GetProjectsLatestDeployments$outboundSchema: z.ZodType<
4780
5198
  .optional(),
4781
5199
  aliasFinal: z.nullable(z.string()).optional(),
4782
5200
  automaticAliases: z.array(z.string()).optional(),
4783
- branchMatcher: z.lazy(() => GetProjectsBranchMatcher$outboundSchema)
5201
+ branchMatcher: z.lazy(() => GetProjectsProjectsBranchMatcher$outboundSchema)
4784
5202
  .optional(),
4785
5203
  buildingAt: z.number().optional(),
4786
5204
  builds: z.array(z.lazy(() => GetProjectsBuilds$outboundSchema)).optional(),
@@ -4808,7 +5226,7 @@ export const GetProjectsLatestDeployments$outboundSchema: z.ZodType<
4808
5226
  requestedAt: z.number().optional(),
4809
5227
  target: z.nullable(z.string()).optional(),
4810
5228
  teamId: z.nullable(z.string()).optional(),
4811
- type: GetProjectsProjectsType$outboundSchema,
5229
+ type: GetProjectsProjectsResponseType$outboundSchema,
4812
5230
  url: z.string(),
4813
5231
  userId: z.string(),
4814
5232
  withCache: z.boolean().optional(),
@@ -6566,51 +6984,58 @@ export function getProjectsProjectsAliasErrorFromJSON(
6566
6984
  }
6567
6985
 
6568
6986
  /** @internal */
6569
- export const GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema:
6570
- z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType> = z
6571
- .nativeEnum(GetProjectsProjectsResponse200ApplicationJSONType);
6987
+ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema:
6988
+ z.ZodNativeEnum<
6989
+ typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType
6990
+ > = z.nativeEnum(
6991
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType,
6992
+ );
6572
6993
 
6573
6994
  /** @internal */
6574
- export const GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema:
6575
- z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType> =
6576
- GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema;
6995
+ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema:
6996
+ z.ZodNativeEnum<
6997
+ typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType
6998
+ > =
6999
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema;
6577
7000
 
6578
7001
  /**
6579
7002
  * @internal
6580
7003
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6581
7004
  */
6582
- export namespace GetProjectsProjectsResponse200ApplicationJSONType$ {
6583
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
7005
+ export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$ {
7006
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema` instead. */
6584
7007
  export const inboundSchema =
6585
- GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema;
6586
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
7008
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema;
7009
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema` instead. */
6587
7010
  export const outboundSchema =
6588
- GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema;
7011
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema;
6589
7012
  }
6590
7013
 
6591
7014
  /** @internal */
6592
- export const GetProjectsProjectsBranchMatcher$inboundSchema: z.ZodType<
6593
- GetProjectsProjectsBranchMatcher,
7015
+ export const GetProjectsProjectsResponseBranchMatcher$inboundSchema: z.ZodType<
7016
+ GetProjectsProjectsResponseBranchMatcher,
6594
7017
  z.ZodTypeDef,
6595
7018
  unknown
6596
7019
  > = z.object({
6597
- type: GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema,
7020
+ type:
7021
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema,
6598
7022
  pattern: z.string(),
6599
7023
  });
6600
7024
 
6601
7025
  /** @internal */
6602
- export type GetProjectsProjectsBranchMatcher$Outbound = {
7026
+ export type GetProjectsProjectsResponseBranchMatcher$Outbound = {
6603
7027
  type: string;
6604
7028
  pattern: string;
6605
7029
  };
6606
7030
 
6607
7031
  /** @internal */
6608
- export const GetProjectsProjectsBranchMatcher$outboundSchema: z.ZodType<
6609
- GetProjectsProjectsBranchMatcher$Outbound,
7032
+ export const GetProjectsProjectsResponseBranchMatcher$outboundSchema: z.ZodType<
7033
+ GetProjectsProjectsResponseBranchMatcher$Outbound,
6610
7034
  z.ZodTypeDef,
6611
- GetProjectsProjectsBranchMatcher
7035
+ GetProjectsProjectsResponseBranchMatcher
6612
7036
  > = z.object({
6613
- type: GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema,
7037
+ type:
7038
+ GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema,
6614
7039
  pattern: z.string(),
6615
7040
  });
6616
7041
 
@@ -6618,32 +7043,41 @@ export const GetProjectsProjectsBranchMatcher$outboundSchema: z.ZodType<
6618
7043
  * @internal
6619
7044
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6620
7045
  */
6621
- export namespace GetProjectsProjectsBranchMatcher$ {
6622
- /** @deprecated use `GetProjectsProjectsBranchMatcher$inboundSchema` instead. */
6623
- export const inboundSchema = GetProjectsProjectsBranchMatcher$inboundSchema;
6624
- /** @deprecated use `GetProjectsProjectsBranchMatcher$outboundSchema` instead. */
6625
- export const outboundSchema = GetProjectsProjectsBranchMatcher$outboundSchema;
6626
- /** @deprecated use `GetProjectsProjectsBranchMatcher$Outbound` instead. */
6627
- export type Outbound = GetProjectsProjectsBranchMatcher$Outbound;
7046
+ export namespace GetProjectsProjectsResponseBranchMatcher$ {
7047
+ /** @deprecated use `GetProjectsProjectsResponseBranchMatcher$inboundSchema` instead. */
7048
+ export const inboundSchema =
7049
+ GetProjectsProjectsResponseBranchMatcher$inboundSchema;
7050
+ /** @deprecated use `GetProjectsProjectsResponseBranchMatcher$outboundSchema` instead. */
7051
+ export const outboundSchema =
7052
+ GetProjectsProjectsResponseBranchMatcher$outboundSchema;
7053
+ /** @deprecated use `GetProjectsProjectsResponseBranchMatcher$Outbound` instead. */
7054
+ export type Outbound = GetProjectsProjectsResponseBranchMatcher$Outbound;
6628
7055
  }
6629
7056
 
6630
- export function getProjectsProjectsBranchMatcherToJSON(
6631
- getProjectsProjectsBranchMatcher: GetProjectsProjectsBranchMatcher,
7057
+ export function getProjectsProjectsResponseBranchMatcherToJSON(
7058
+ getProjectsProjectsResponseBranchMatcher:
7059
+ GetProjectsProjectsResponseBranchMatcher,
6632
7060
  ): string {
6633
7061
  return JSON.stringify(
6634
- GetProjectsProjectsBranchMatcher$outboundSchema.parse(
6635
- getProjectsProjectsBranchMatcher,
7062
+ GetProjectsProjectsResponseBranchMatcher$outboundSchema.parse(
7063
+ getProjectsProjectsResponseBranchMatcher,
6636
7064
  ),
6637
7065
  );
6638
7066
  }
6639
7067
 
6640
- export function getProjectsProjectsBranchMatcherFromJSON(
7068
+ export function getProjectsProjectsResponseBranchMatcherFromJSON(
6641
7069
  jsonString: string,
6642
- ): SafeParseResult<GetProjectsProjectsBranchMatcher, SDKValidationError> {
7070
+ ): SafeParseResult<
7071
+ GetProjectsProjectsResponseBranchMatcher,
7072
+ SDKValidationError
7073
+ > {
6643
7074
  return safeParse(
6644
7075
  jsonString,
6645
- (x) => GetProjectsProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)),
6646
- `Failed to parse 'GetProjectsProjectsBranchMatcher' from JSON`,
7076
+ (x) =>
7077
+ GetProjectsProjectsResponseBranchMatcher$inboundSchema.parse(
7078
+ JSON.parse(x),
7079
+ ),
7080
+ `Failed to parse 'GetProjectsProjectsResponseBranchMatcher' from JSON`,
6647
7081
  );
6648
7082
  }
6649
7083
 
@@ -6973,24 +7407,25 @@ export namespace GetProjectsProjectsReadySubstate$ {
6973
7407
  }
6974
7408
 
6975
7409
  /** @internal */
6976
- export const GetProjectsProjectsResponseType$inboundSchema: z.ZodNativeEnum<
6977
- typeof GetProjectsProjectsResponseType
6978
- > = z.nativeEnum(GetProjectsProjectsResponseType);
7410
+ export const GetProjectsProjectsResponse200Type$inboundSchema: z.ZodNativeEnum<
7411
+ typeof GetProjectsProjectsResponse200Type
7412
+ > = z.nativeEnum(GetProjectsProjectsResponse200Type);
6979
7413
 
6980
7414
  /** @internal */
6981
- export const GetProjectsProjectsResponseType$outboundSchema: z.ZodNativeEnum<
6982
- typeof GetProjectsProjectsResponseType
6983
- > = GetProjectsProjectsResponseType$inboundSchema;
7415
+ export const GetProjectsProjectsResponse200Type$outboundSchema: z.ZodNativeEnum<
7416
+ typeof GetProjectsProjectsResponse200Type
7417
+ > = GetProjectsProjectsResponse200Type$inboundSchema;
6984
7418
 
6985
7419
  /**
6986
7420
  * @internal
6987
7421
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6988
7422
  */
6989
- export namespace GetProjectsProjectsResponseType$ {
6990
- /** @deprecated use `GetProjectsProjectsResponseType$inboundSchema` instead. */
6991
- export const inboundSchema = GetProjectsProjectsResponseType$inboundSchema;
6992
- /** @deprecated use `GetProjectsProjectsResponseType$outboundSchema` instead. */
6993
- export const outboundSchema = GetProjectsProjectsResponseType$outboundSchema;
7423
+ export namespace GetProjectsProjectsResponse200Type$ {
7424
+ /** @deprecated use `GetProjectsProjectsResponse200Type$inboundSchema` instead. */
7425
+ export const inboundSchema = GetProjectsProjectsResponse200Type$inboundSchema;
7426
+ /** @deprecated use `GetProjectsProjectsResponse200Type$outboundSchema` instead. */
7427
+ export const outboundSchema =
7428
+ GetProjectsProjectsResponse200Type$outboundSchema;
6994
7429
  }
6995
7430
 
6996
7431
  /** @internal */
@@ -7007,8 +7442,9 @@ export const GetProjectsTargets$inboundSchema: z.ZodType<
7007
7442
  ).optional(),
7008
7443
  aliasFinal: z.nullable(z.string()).optional(),
7009
7444
  automaticAliases: z.array(z.string()).optional(),
7010
- branchMatcher: z.lazy(() => GetProjectsProjectsBranchMatcher$inboundSchema)
7011
- .optional(),
7445
+ branchMatcher: z.lazy(() =>
7446
+ GetProjectsProjectsResponseBranchMatcher$inboundSchema
7447
+ ).optional(),
7012
7448
  buildingAt: z.number().optional(),
7013
7449
  builds: z.array(z.lazy(() => GetProjectsProjectsBuilds$inboundSchema))
7014
7450
  .optional(),
@@ -7038,7 +7474,7 @@ export const GetProjectsTargets$inboundSchema: z.ZodType<
7038
7474
  requestedAt: z.number().optional(),
7039
7475
  target: z.nullable(z.string()).optional(),
7040
7476
  teamId: z.nullable(z.string()).optional(),
7041
- type: GetProjectsProjectsResponseType$inboundSchema,
7477
+ type: GetProjectsProjectsResponse200Type$inboundSchema,
7042
7478
  url: z.string(),
7043
7479
  userId: z.string(),
7044
7480
  withCache: z.boolean().optional(),
@@ -7052,7 +7488,7 @@ export type GetProjectsTargets$Outbound = {
7052
7488
  aliasError?: GetProjectsProjectsAliasError$Outbound | null | undefined;
7053
7489
  aliasFinal?: string | null | undefined;
7054
7490
  automaticAliases?: Array<string> | undefined;
7055
- branchMatcher?: GetProjectsProjectsBranchMatcher$Outbound | undefined;
7491
+ branchMatcher?: GetProjectsProjectsResponseBranchMatcher$Outbound | undefined;
7056
7492
  buildingAt?: number | undefined;
7057
7493
  builds?: Array<GetProjectsProjectsBuilds$Outbound> | undefined;
7058
7494
  checksConclusion?: string | undefined;
@@ -7098,8 +7534,9 @@ export const GetProjectsTargets$outboundSchema: z.ZodType<
7098
7534
  ).optional(),
7099
7535
  aliasFinal: z.nullable(z.string()).optional(),
7100
7536
  automaticAliases: z.array(z.string()).optional(),
7101
- branchMatcher: z.lazy(() => GetProjectsProjectsBranchMatcher$outboundSchema)
7102
- .optional(),
7537
+ branchMatcher: z.lazy(() =>
7538
+ GetProjectsProjectsResponseBranchMatcher$outboundSchema
7539
+ ).optional(),
7103
7540
  buildingAt: z.number().optional(),
7104
7541
  builds: z.array(z.lazy(() => GetProjectsProjectsBuilds$outboundSchema))
7105
7542
  .optional(),
@@ -7129,7 +7566,7 @@ export const GetProjectsTargets$outboundSchema: z.ZodType<
7129
7566
  requestedAt: z.number().optional(),
7130
7567
  target: z.nullable(z.string()).optional(),
7131
7568
  teamId: z.nullable(z.string()).optional(),
7132
- type: GetProjectsProjectsResponseType$outboundSchema,
7569
+ type: GetProjectsProjectsResponse200Type$outboundSchema,
7133
7570
  url: z.string(),
7134
7571
  userId: z.string(),
7135
7572
  withCache: z.boolean().optional(),
@@ -7898,25 +8335,26 @@ export namespace GetProjectsJobStatus$ {
7898
8335
  }
7899
8336
 
7900
8337
  /** @internal */
7901
- export const GetProjectsProjectsResponse200Type$inboundSchema: z.ZodNativeEnum<
7902
- typeof GetProjectsProjectsResponse200Type
7903
- > = z.nativeEnum(GetProjectsProjectsResponse200Type);
8338
+ export const GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema:
8339
+ z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType> = z
8340
+ .nativeEnum(GetProjectsProjectsResponse200ApplicationJSONType);
7904
8341
 
7905
8342
  /** @internal */
7906
- export const GetProjectsProjectsResponse200Type$outboundSchema: z.ZodNativeEnum<
7907
- typeof GetProjectsProjectsResponse200Type
7908
- > = GetProjectsProjectsResponse200Type$inboundSchema;
8343
+ export const GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema:
8344
+ z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType> =
8345
+ GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema;
7909
8346
 
7910
8347
  /**
7911
8348
  * @internal
7912
8349
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7913
8350
  */
7914
- export namespace GetProjectsProjectsResponse200Type$ {
7915
- /** @deprecated use `GetProjectsProjectsResponse200Type$inboundSchema` instead. */
7916
- export const inboundSchema = GetProjectsProjectsResponse200Type$inboundSchema;
7917
- /** @deprecated use `GetProjectsProjectsResponse200Type$outboundSchema` instead. */
8351
+ export namespace GetProjectsProjectsResponse200ApplicationJSONType$ {
8352
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
8353
+ export const inboundSchema =
8354
+ GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema;
8355
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
7918
8356
  export const outboundSchema =
7919
- GetProjectsProjectsResponse200Type$outboundSchema;
8357
+ GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema;
7920
8358
  }
7921
8359
 
7922
8360
  /** @internal */
@@ -7927,15 +8365,17 @@ export const GetProjectsLastAliasRequest$inboundSchema: z.ZodType<
7927
8365
  > = z.object({
7928
8366
  fromDeploymentId: z.string(),
7929
8367
  toDeploymentId: z.string(),
8368
+ fromRollingReleaseId: z.string().optional(),
7930
8369
  jobStatus: GetProjectsJobStatus$inboundSchema,
7931
8370
  requestedAt: z.number(),
7932
- type: GetProjectsProjectsResponse200Type$inboundSchema,
8371
+ type: GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema,
7933
8372
  });
7934
8373
 
7935
8374
  /** @internal */
7936
8375
  export type GetProjectsLastAliasRequest$Outbound = {
7937
8376
  fromDeploymentId: string;
7938
8377
  toDeploymentId: string;
8378
+ fromRollingReleaseId?: string | undefined;
7939
8379
  jobStatus: string;
7940
8380
  requestedAt: number;
7941
8381
  type: string;
@@ -7949,9 +8389,10 @@ export const GetProjectsLastAliasRequest$outboundSchema: z.ZodType<
7949
8389
  > = z.object({
7950
8390
  fromDeploymentId: z.string(),
7951
8391
  toDeploymentId: z.string(),
8392
+ fromRollingReleaseId: z.string().optional(),
7952
8393
  jobStatus: GetProjectsJobStatus$outboundSchema,
7953
8394
  requestedAt: z.number(),
7954
- type: GetProjectsProjectsResponse200Type$outboundSchema,
8395
+ type: GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema,
7955
8396
  });
7956
8397
 
7957
8398
  /**