@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
@@ -233,6 +233,27 @@ export type UpdateProjectOptionsAllowlist = {
233
233
  paths: Array<UpdateProjectPaths>;
234
234
  };
235
235
 
236
+ export type ConnectConfigurations1 = {
237
+ /**
238
+ * The ID of the environment
239
+ */
240
+ envId: string;
241
+ /**
242
+ * The ID of the Secure Compute network
243
+ */
244
+ connectConfigurationId: string;
245
+ /**
246
+ * Whether the configuration should be passive, meaning builds will not run there and only passive Serverless Functions will be deployed
247
+ */
248
+ passive: boolean;
249
+ /**
250
+ * Flag saying if project builds should use Secure Compute
251
+ */
252
+ buildsEnabled: boolean;
253
+ };
254
+
255
+ export type ConnectConfigurations = ConnectConfigurations1;
256
+
236
257
  export type UpdateProjectRequestBody = {
237
258
  autoExposeSystemEnvs?: boolean | undefined;
238
259
  autoAssignCustomDomains?: boolean | undefined;
@@ -346,6 +367,10 @@ export type UpdateProjectRequestBody = {
346
367
  * Specify a list of paths that should not be protected by Deployment Protection to enable Cors preflight requests
347
368
  */
348
369
  optionsAllowlist?: UpdateProjectOptionsAllowlist | null | undefined;
370
+ /**
371
+ * The list of connections from project environment to Secure Compute network
372
+ */
373
+ connectConfigurations?: Array<ConnectConfigurations1> | null | undefined;
349
374
  };
350
375
 
351
376
  export type UpdateProjectRequest = {
@@ -440,10 +465,10 @@ export type UpdateProjectTarget = Array<string> | UpdateProjectTarget2;
440
465
 
441
466
  export const UpdateProjectType = {
442
467
  System: "system",
468
+ Secret: "secret",
443
469
  Encrypted: "encrypted",
444
470
  Plain: "plain",
445
471
  Sensitive: "sensitive",
446
- Secret: "secret",
447
472
  } as const;
448
473
  export type UpdateProjectType = ClosedEnum<typeof UpdateProjectType>;
449
474
 
@@ -678,20 +703,19 @@ export type UpdateProjectContentHint =
678
703
  | UpdateProjectContentHint15
679
704
  | UpdateProjectContentHint14;
680
705
 
681
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType =
682
- {
683
- FlagsSecret: "flags-secret",
684
- } as const;
685
- export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType =
706
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType = {
707
+ FlagsSecret: "flags-secret",
708
+ } as const;
709
+ export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType =
686
710
  ClosedEnum<
687
- typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType
711
+ typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType
688
712
  >;
689
713
 
690
714
  /**
691
715
  * Similar to `contentHints`, but should not be exposed to the user.
692
716
  */
693
717
  export type UpdateProjectInternalContentHint = {
694
- type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType;
718
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType;
695
719
  /**
696
720
  * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
697
721
  */
@@ -744,7 +768,127 @@ export type UpdateProjectEnv = {
744
768
  customEnvironmentIds?: Array<string> | undefined;
745
769
  };
746
770
 
747
- export type UpdateProjectCustomEnvironments = {};
771
+ /**
772
+ * The type of environment (production, preview, or development)
773
+ */
774
+ export const UpdateProjectProjectsType = {
775
+ Production: "production",
776
+ Preview: "preview",
777
+ Development: "development",
778
+ } as const;
779
+ /**
780
+ * The type of environment (production, preview, or development)
781
+ */
782
+ export type UpdateProjectProjectsType = ClosedEnum<
783
+ typeof UpdateProjectProjectsType
784
+ >;
785
+
786
+ /**
787
+ * The type of matching to perform
788
+ */
789
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType =
790
+ {
791
+ EndsWith: "endsWith",
792
+ StartsWith: "startsWith",
793
+ Equals: "equals",
794
+ } as const;
795
+ /**
796
+ * The type of matching to perform
797
+ */
798
+ export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType =
799
+ ClosedEnum<
800
+ typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
801
+ >;
802
+
803
+ /**
804
+ * Configuration for matching git branches to this environment
805
+ */
806
+ export type UpdateProjectBranchMatcher = {
807
+ /**
808
+ * The type of matching to perform
809
+ */
810
+ type:
811
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType;
812
+ /**
813
+ * The pattern to match against branch names
814
+ */
815
+ pattern: string;
816
+ };
817
+
818
+ /**
819
+ * 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`.
820
+ */
821
+ export type UpdateProjectVerification = {
822
+ type: string;
823
+ domain: string;
824
+ value: string;
825
+ reason: string;
826
+ };
827
+
828
+ /**
829
+ * List of domains associated with this environment
830
+ */
831
+ export type UpdateProjectDomains = {
832
+ name: string;
833
+ apexName: string;
834
+ projectId: string;
835
+ redirect?: string | null | undefined;
836
+ redirectStatusCode?: number | null | undefined;
837
+ gitBranch?: string | null | undefined;
838
+ customEnvironmentId?: string | null | undefined;
839
+ updatedAt?: number | undefined;
840
+ createdAt?: number | undefined;
841
+ /**
842
+ * `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.
843
+ */
844
+ verified: boolean;
845
+ /**
846
+ * 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`.
847
+ */
848
+ verification?: Array<UpdateProjectVerification> | undefined;
849
+ };
850
+
851
+ /**
852
+ * Internal representation of a custom environment with all required properties
853
+ */
854
+ export type UpdateProjectCustomEnvironments = {
855
+ /**
856
+ * Unique identifier for the custom environment (format: env_*)
857
+ */
858
+ id: string;
859
+ /**
860
+ * URL-friendly name of the environment
861
+ */
862
+ slug: string;
863
+ /**
864
+ * The type of environment (production, preview, or development)
865
+ */
866
+ type: UpdateProjectProjectsType;
867
+ /**
868
+ * Optional description of the environment's purpose
869
+ */
870
+ description?: string | undefined;
871
+ /**
872
+ * Configuration for matching git branches to this environment
873
+ */
874
+ branchMatcher?: UpdateProjectBranchMatcher | undefined;
875
+ /**
876
+ * List of domains associated with this environment
877
+ */
878
+ domains?: Array<UpdateProjectDomains> | undefined;
879
+ /**
880
+ * List of aliases for the current deployment
881
+ */
882
+ currentDeploymentAliases?: Array<string> | undefined;
883
+ /**
884
+ * Timestamp when the environment was created
885
+ */
886
+ createdAt: number;
887
+ /**
888
+ * Timestamp when the environment was last updated
889
+ */
890
+ updatedAt: number;
891
+ };
748
892
 
749
893
  export const UpdateProjectProjectsFramework = {
750
894
  Blitzjs: "blitzjs",
@@ -813,24 +957,26 @@ export type UpdateProjectAliasError = {
813
957
  /**
814
958
  * The type of matching to perform
815
959
  */
816
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType = {
817
- EndsWith: "endsWith",
818
- StartsWith: "startsWith",
819
- Equals: "equals",
820
- } as const;
960
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType =
961
+ {
962
+ EndsWith: "endsWith",
963
+ StartsWith: "startsWith",
964
+ Equals: "equals",
965
+ } as const;
821
966
  /**
822
967
  * The type of matching to perform
823
968
  */
824
- export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType =
969
+ export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType =
825
970
  ClosedEnum<
826
- typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType
971
+ typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
827
972
  >;
828
973
 
829
- export type UpdateProjectBranchMatcher = {
974
+ export type UpdateProjectProjectsBranchMatcher = {
830
975
  /**
831
976
  * The type of matching to perform
832
977
  */
833
- type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType;
978
+ type:
979
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType;
834
980
  /**
835
981
  * The pattern to match against branch names
836
982
  */
@@ -910,11 +1056,11 @@ export type UpdateProjectReadySubstate = ClosedEnum<
910
1056
  typeof UpdateProjectReadySubstate
911
1057
  >;
912
1058
 
913
- export const UpdateProjectProjectsType = {
1059
+ export const UpdateProjectProjectsResponseType = {
914
1060
  Lambdas: "LAMBDAS",
915
1061
  } as const;
916
- export type UpdateProjectProjectsType = ClosedEnum<
917
- typeof UpdateProjectProjectsType
1062
+ export type UpdateProjectProjectsResponseType = ClosedEnum<
1063
+ typeof UpdateProjectProjectsResponseType
918
1064
  >;
919
1065
 
920
1066
  export type UpdateProjectLatestDeployments = {
@@ -924,7 +1070,7 @@ export type UpdateProjectLatestDeployments = {
924
1070
  aliasError?: UpdateProjectAliasError | null | undefined;
925
1071
  aliasFinal?: string | null | undefined;
926
1072
  automaticAliases?: Array<string> | undefined;
927
- branchMatcher?: UpdateProjectBranchMatcher | undefined;
1073
+ branchMatcher?: UpdateProjectProjectsBranchMatcher | undefined;
928
1074
  buildingAt?: number | undefined;
929
1075
  builds?: Array<UpdateProjectBuilds> | undefined;
930
1076
  checksConclusion?: UpdateProjectChecksConclusion | undefined;
@@ -953,7 +1099,7 @@ export type UpdateProjectLatestDeployments = {
953
1099
  requestedAt?: number | undefined;
954
1100
  target?: string | null | undefined;
955
1101
  teamId?: string | null | undefined;
956
- type: UpdateProjectProjectsType;
1102
+ type: UpdateProjectProjectsResponseType;
957
1103
  url: string;
958
1104
  userId: string;
959
1105
  withCache?: boolean | undefined;
@@ -1247,8 +1393,8 @@ export type UpdateProjectDefaultResourceConfig = {
1247
1393
  };
1248
1394
 
1249
1395
  export const UpdateProjectProjectsResponseDeploymentType = {
1250
- All: "all",
1251
1396
  Preview: "preview",
1397
+ All: "all",
1252
1398
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1253
1399
  } as const;
1254
1400
  export type UpdateProjectProjectsResponseDeploymentType = ClosedEnum<
@@ -1269,23 +1415,25 @@ export type UpdateProjectProjectsAliasError = {
1269
1415
  /**
1270
1416
  * The type of matching to perform
1271
1417
  */
1272
- export const UpdateProjectProjectsResponse200ApplicationJSONType = {
1273
- EndsWith: "endsWith",
1274
- StartsWith: "startsWith",
1275
- Equals: "equals",
1276
- } as const;
1418
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType =
1419
+ {
1420
+ EndsWith: "endsWith",
1421
+ StartsWith: "startsWith",
1422
+ Equals: "equals",
1423
+ } as const;
1277
1424
  /**
1278
1425
  * The type of matching to perform
1279
1426
  */
1280
- export type UpdateProjectProjectsResponse200ApplicationJSONType = ClosedEnum<
1281
- typeof UpdateProjectProjectsResponse200ApplicationJSONType
1282
- >;
1427
+ export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType =
1428
+ ClosedEnum<
1429
+ typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType
1430
+ >;
1283
1431
 
1284
- export type UpdateProjectProjectsBranchMatcher = {
1432
+ export type UpdateProjectProjectsResponseBranchMatcher = {
1285
1433
  /**
1286
1434
  * The type of matching to perform
1287
1435
  */
1288
- type: UpdateProjectProjectsResponse200ApplicationJSONType;
1436
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType;
1289
1437
  /**
1290
1438
  * The pattern to match against branch names
1291
1439
  */
@@ -1367,11 +1515,11 @@ export type UpdateProjectProjectsReadySubstate = ClosedEnum<
1367
1515
  typeof UpdateProjectProjectsReadySubstate
1368
1516
  >;
1369
1517
 
1370
- export const UpdateProjectProjectsResponseType = {
1518
+ export const UpdateProjectProjectsResponse200Type = {
1371
1519
  Lambdas: "LAMBDAS",
1372
1520
  } as const;
1373
- export type UpdateProjectProjectsResponseType = ClosedEnum<
1374
- typeof UpdateProjectProjectsResponseType
1521
+ export type UpdateProjectProjectsResponse200Type = ClosedEnum<
1522
+ typeof UpdateProjectProjectsResponse200Type
1375
1523
  >;
1376
1524
 
1377
1525
  export type UpdateProjectTargets = {
@@ -1381,7 +1529,7 @@ export type UpdateProjectTargets = {
1381
1529
  aliasError?: UpdateProjectProjectsAliasError | null | undefined;
1382
1530
  aliasFinal?: string | null | undefined;
1383
1531
  automaticAliases?: Array<string> | undefined;
1384
- branchMatcher?: UpdateProjectProjectsBranchMatcher | undefined;
1532
+ branchMatcher?: UpdateProjectProjectsResponseBranchMatcher | undefined;
1385
1533
  buildingAt?: number | undefined;
1386
1534
  builds?: Array<UpdateProjectProjectsBuilds> | undefined;
1387
1535
  checksConclusion?: UpdateProjectProjectsChecksConclusion | undefined;
@@ -1410,7 +1558,7 @@ export type UpdateProjectTargets = {
1410
1558
  requestedAt?: number | undefined;
1411
1559
  target?: string | null | undefined;
1412
1560
  teamId?: string | null | undefined;
1413
- type: UpdateProjectProjectsResponseType;
1561
+ type: UpdateProjectProjectsResponse200Type;
1414
1562
  url: string;
1415
1563
  userId: string;
1416
1564
  withCache?: boolean | undefined;
@@ -1625,20 +1773,24 @@ export const UpdateProjectJobStatus = {
1625
1773
  } as const;
1626
1774
  export type UpdateProjectJobStatus = ClosedEnum<typeof UpdateProjectJobStatus>;
1627
1775
 
1628
- export const UpdateProjectProjectsResponse200Type = {
1776
+ export const UpdateProjectProjectsResponse200ApplicationJSONType = {
1629
1777
  Promote: "promote",
1630
1778
  Rollback: "rollback",
1631
1779
  } as const;
1632
- export type UpdateProjectProjectsResponse200Type = ClosedEnum<
1633
- typeof UpdateProjectProjectsResponse200Type
1780
+ export type UpdateProjectProjectsResponse200ApplicationJSONType = ClosedEnum<
1781
+ typeof UpdateProjectProjectsResponse200ApplicationJSONType
1634
1782
  >;
1635
1783
 
1636
1784
  export type UpdateProjectLastAliasRequest = {
1637
1785
  fromDeploymentId: string;
1638
1786
  toDeploymentId: string;
1787
+ /**
1788
+ * If rolling back from a rolling release, fromDeploymentId captures the "base" of that rolling release, and fromRollingReleaseId captures the "target" of that rolling release.
1789
+ */
1790
+ fromRollingReleaseId?: string | undefined;
1639
1791
  jobStatus: UpdateProjectJobStatus;
1640
1792
  requestedAt: number;
1641
- type: UpdateProjectProjectsResponse200Type;
1793
+ type: UpdateProjectProjectsResponse200ApplicationJSONType;
1642
1794
  };
1643
1795
 
1644
1796
  export const UpdateProjectScope = {
@@ -1653,10 +1805,10 @@ export type UpdateProjectProtectionBypass = {
1653
1805
  };
1654
1806
 
1655
1807
  export const UpdateProjectTrustedIpsProjectsDeploymentType = {
1656
- All: "all",
1808
+ Production: "production",
1657
1809
  Preview: "preview",
1810
+ All: "all",
1658
1811
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1659
- Production: "production",
1660
1812
  } as const;
1661
1813
  export type UpdateProjectTrustedIpsProjectsDeploymentType = ClosedEnum<
1662
1814
  typeof UpdateProjectTrustedIpsProjectsDeploymentType
@@ -1667,10 +1819,10 @@ export type UpdateProjectTrustedIps2 = {
1667
1819
  };
1668
1820
 
1669
1821
  export const UpdateProjectTrustedIpsDeploymentType = {
1670
- All: "all",
1822
+ Production: "production",
1671
1823
  Preview: "preview",
1824
+ All: "all",
1672
1825
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1673
- Production: "production",
1674
1826
  } as const;
1675
1827
  export type UpdateProjectTrustedIpsDeploymentType = ClosedEnum<
1676
1828
  typeof UpdateProjectTrustedIpsDeploymentType
@@ -1757,8 +1909,8 @@ export type UpdateProjectSrc = UpdateProjectSrc2 | string;
1757
1909
 
1758
1910
  export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType =
1759
1911
  {
1760
- Path: "path",
1761
1912
  Host: "host",
1913
+ Path: "path",
1762
1914
  Method: "method",
1763
1915
  Header: "header",
1764
1916
  Cookie: "cookie",
@@ -1799,8 +1951,8 @@ export type UpdateProjectHas = {
1799
1951
 
1800
1952
  export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType =
1801
1953
  {
1802
- Path: "path",
1803
1954
  Host: "host",
1955
+ Path: "path",
1804
1956
  Method: "method",
1805
1957
  Header: "header",
1806
1958
  Cookie: "cookie",
@@ -2586,6 +2738,117 @@ export function updateProjectOptionsAllowlistFromJSON(
2586
2738
  );
2587
2739
  }
2588
2740
 
2741
+ /** @internal */
2742
+ export const ConnectConfigurations1$inboundSchema: z.ZodType<
2743
+ ConnectConfigurations1,
2744
+ z.ZodTypeDef,
2745
+ unknown
2746
+ > = z.object({
2747
+ envId: z.string(),
2748
+ connectConfigurationId: z.string(),
2749
+ passive: z.boolean(),
2750
+ buildsEnabled: z.boolean(),
2751
+ });
2752
+
2753
+ /** @internal */
2754
+ export type ConnectConfigurations1$Outbound = {
2755
+ envId: string;
2756
+ connectConfigurationId: string;
2757
+ passive: boolean;
2758
+ buildsEnabled: boolean;
2759
+ };
2760
+
2761
+ /** @internal */
2762
+ export const ConnectConfigurations1$outboundSchema: z.ZodType<
2763
+ ConnectConfigurations1$Outbound,
2764
+ z.ZodTypeDef,
2765
+ ConnectConfigurations1
2766
+ > = z.object({
2767
+ envId: z.string(),
2768
+ connectConfigurationId: z.string(),
2769
+ passive: z.boolean(),
2770
+ buildsEnabled: z.boolean(),
2771
+ });
2772
+
2773
+ /**
2774
+ * @internal
2775
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2776
+ */
2777
+ export namespace ConnectConfigurations1$ {
2778
+ /** @deprecated use `ConnectConfigurations1$inboundSchema` instead. */
2779
+ export const inboundSchema = ConnectConfigurations1$inboundSchema;
2780
+ /** @deprecated use `ConnectConfigurations1$outboundSchema` instead. */
2781
+ export const outboundSchema = ConnectConfigurations1$outboundSchema;
2782
+ /** @deprecated use `ConnectConfigurations1$Outbound` instead. */
2783
+ export type Outbound = ConnectConfigurations1$Outbound;
2784
+ }
2785
+
2786
+ export function connectConfigurations1ToJSON(
2787
+ connectConfigurations1: ConnectConfigurations1,
2788
+ ): string {
2789
+ return JSON.stringify(
2790
+ ConnectConfigurations1$outboundSchema.parse(connectConfigurations1),
2791
+ );
2792
+ }
2793
+
2794
+ export function connectConfigurations1FromJSON(
2795
+ jsonString: string,
2796
+ ): SafeParseResult<ConnectConfigurations1, SDKValidationError> {
2797
+ return safeParse(
2798
+ jsonString,
2799
+ (x) => ConnectConfigurations1$inboundSchema.parse(JSON.parse(x)),
2800
+ `Failed to parse 'ConnectConfigurations1' from JSON`,
2801
+ );
2802
+ }
2803
+
2804
+ /** @internal */
2805
+ export const ConnectConfigurations$inboundSchema: z.ZodType<
2806
+ ConnectConfigurations,
2807
+ z.ZodTypeDef,
2808
+ unknown
2809
+ > = z.lazy(() => ConnectConfigurations1$inboundSchema);
2810
+
2811
+ /** @internal */
2812
+ export type ConnectConfigurations$Outbound = ConnectConfigurations1$Outbound;
2813
+
2814
+ /** @internal */
2815
+ export const ConnectConfigurations$outboundSchema: z.ZodType<
2816
+ ConnectConfigurations$Outbound,
2817
+ z.ZodTypeDef,
2818
+ ConnectConfigurations
2819
+ > = z.lazy(() => ConnectConfigurations1$outboundSchema);
2820
+
2821
+ /**
2822
+ * @internal
2823
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2824
+ */
2825
+ export namespace ConnectConfigurations$ {
2826
+ /** @deprecated use `ConnectConfigurations$inboundSchema` instead. */
2827
+ export const inboundSchema = ConnectConfigurations$inboundSchema;
2828
+ /** @deprecated use `ConnectConfigurations$outboundSchema` instead. */
2829
+ export const outboundSchema = ConnectConfigurations$outboundSchema;
2830
+ /** @deprecated use `ConnectConfigurations$Outbound` instead. */
2831
+ export type Outbound = ConnectConfigurations$Outbound;
2832
+ }
2833
+
2834
+ export function connectConfigurationsToJSON(
2835
+ connectConfigurations: ConnectConfigurations,
2836
+ ): string {
2837
+ return JSON.stringify(
2838
+ ConnectConfigurations$outboundSchema.parse(connectConfigurations),
2839
+ );
2840
+ }
2841
+
2842
+ export function connectConfigurationsFromJSON(
2843
+ jsonString: string,
2844
+ ): SafeParseResult<ConnectConfigurations, SDKValidationError> {
2845
+ return safeParse(
2846
+ jsonString,
2847
+ (x) => ConnectConfigurations$inboundSchema.parse(JSON.parse(x)),
2848
+ `Failed to parse 'ConnectConfigurations' from JSON`,
2849
+ );
2850
+ }
2851
+
2589
2852
  /** @internal */
2590
2853
  export const UpdateProjectRequestBody$inboundSchema: z.ZodType<
2591
2854
  UpdateProjectRequestBody,
@@ -2632,6 +2895,9 @@ export const UpdateProjectRequestBody$inboundSchema: z.ZodType<
2632
2895
  optionsAllowlist: z.nullable(
2633
2896
  z.lazy(() => UpdateProjectOptionsAllowlist$inboundSchema),
2634
2897
  ).optional(),
2898
+ connectConfigurations: z.nullable(
2899
+ z.array(z.lazy(() => ConnectConfigurations1$inboundSchema)),
2900
+ ).optional(),
2635
2901
  });
2636
2902
 
2637
2903
  /** @internal */
@@ -2671,6 +2937,10 @@ export type UpdateProjectRequestBody$Outbound = {
2671
2937
  ssoProtection?: UpdateProjectSsoProtection$Outbound | null | undefined;
2672
2938
  trustedIps?: UpdateProjectTrustedIps$Outbound | null | undefined;
2673
2939
  optionsAllowlist?: UpdateProjectOptionsAllowlist$Outbound | null | undefined;
2940
+ connectConfigurations?:
2941
+ | Array<ConnectConfigurations1$Outbound>
2942
+ | null
2943
+ | undefined;
2674
2944
  };
2675
2945
 
2676
2946
  /** @internal */
@@ -2719,6 +2989,9 @@ export const UpdateProjectRequestBody$outboundSchema: z.ZodType<
2719
2989
  optionsAllowlist: z.nullable(
2720
2990
  z.lazy(() => UpdateProjectOptionsAllowlist$outboundSchema),
2721
2991
  ).optional(),
2992
+ connectConfigurations: z.nullable(
2993
+ z.array(z.lazy(() => ConnectConfigurations1$outboundSchema)),
2994
+ ).optional(),
2722
2995
  });
2723
2996
 
2724
2997
  /**
@@ -4690,31 +4963,31 @@ export function updateProjectContentHintFromJSON(
4690
4963
  }
4691
4964
 
4692
4965
  /** @internal */
4693
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema:
4966
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
4694
4967
  z.ZodNativeEnum<
4695
- typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType
4968
+ typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType
4696
4969
  > = z.nativeEnum(
4697
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType,
4970
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType,
4698
4971
  );
4699
4972
 
4700
4973
  /** @internal */
4701
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema:
4974
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
4702
4975
  z.ZodNativeEnum<
4703
- typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType
4976
+ typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType
4704
4977
  > =
4705
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema;
4978
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
4706
4979
 
4707
4980
  /**
4708
4981
  * @internal
4709
4982
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4710
4983
  */
4711
- export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$ {
4712
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */
4984
+ export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$ {
4985
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
4713
4986
  export const inboundSchema =
4714
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema;
4715
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */
4987
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
4988
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
4716
4989
  export const outboundSchema =
4717
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema;
4990
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
4718
4991
  }
4719
4992
 
4720
4993
  /** @internal */
@@ -4724,7 +4997,7 @@ export const UpdateProjectInternalContentHint$inboundSchema: z.ZodType<
4724
4997
  unknown
4725
4998
  > = z.object({
4726
4999
  type:
4727
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema,
5000
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
4728
5001
  encryptedValue: z.string(),
4729
5002
  });
4730
5003
 
@@ -4741,7 +5014,7 @@ export const UpdateProjectInternalContentHint$outboundSchema: z.ZodType<
4741
5014
  UpdateProjectInternalContentHint
4742
5015
  > = z.object({
4743
5016
  type:
4744
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema,
5017
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
4745
5018
  encryptedValue: z.string(),
4746
5019
  });
4747
5020
 
@@ -4952,21 +5225,311 @@ export function updateProjectEnvFromJSON(
4952
5225
  }
4953
5226
 
4954
5227
  /** @internal */
4955
- export const UpdateProjectCustomEnvironments$inboundSchema: z.ZodType<
4956
- UpdateProjectCustomEnvironments,
4957
- z.ZodTypeDef,
4958
- unknown
4959
- > = z.object({});
5228
+ export const UpdateProjectProjectsType$inboundSchema: z.ZodNativeEnum<
5229
+ typeof UpdateProjectProjectsType
5230
+ > = z.nativeEnum(UpdateProjectProjectsType);
4960
5231
 
4961
5232
  /** @internal */
4962
- export type UpdateProjectCustomEnvironments$Outbound = {};
5233
+ export const UpdateProjectProjectsType$outboundSchema: z.ZodNativeEnum<
5234
+ typeof UpdateProjectProjectsType
5235
+ > = UpdateProjectProjectsType$inboundSchema;
4963
5236
 
4964
- /** @internal */
4965
- export const UpdateProjectCustomEnvironments$outboundSchema: z.ZodType<
4966
- UpdateProjectCustomEnvironments$Outbound,
4967
- z.ZodTypeDef,
5237
+ /**
5238
+ * @internal
5239
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5240
+ */
5241
+ export namespace UpdateProjectProjectsType$ {
5242
+ /** @deprecated use `UpdateProjectProjectsType$inboundSchema` instead. */
5243
+ export const inboundSchema = UpdateProjectProjectsType$inboundSchema;
5244
+ /** @deprecated use `UpdateProjectProjectsType$outboundSchema` instead. */
5245
+ export const outboundSchema = UpdateProjectProjectsType$outboundSchema;
5246
+ }
5247
+
5248
+ /** @internal */
5249
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema:
5250
+ z.ZodNativeEnum<
5251
+ typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
5252
+ > = z.nativeEnum(
5253
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType,
5254
+ );
5255
+
5256
+ /** @internal */
5257
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema:
5258
+ z.ZodNativeEnum<
5259
+ typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
5260
+ > =
5261
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
5262
+
5263
+ /**
5264
+ * @internal
5265
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5266
+ */
5267
+ export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ {
5268
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */
5269
+ export const inboundSchema =
5270
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
5271
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */
5272
+ export const outboundSchema =
5273
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema;
5274
+ }
5275
+
5276
+ /** @internal */
5277
+ export const UpdateProjectBranchMatcher$inboundSchema: z.ZodType<
5278
+ UpdateProjectBranchMatcher,
5279
+ z.ZodTypeDef,
5280
+ unknown
5281
+ > = z.object({
5282
+ type:
5283
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema,
5284
+ pattern: z.string(),
5285
+ });
5286
+
5287
+ /** @internal */
5288
+ export type UpdateProjectBranchMatcher$Outbound = {
5289
+ type: string;
5290
+ pattern: string;
5291
+ };
5292
+
5293
+ /** @internal */
5294
+ export const UpdateProjectBranchMatcher$outboundSchema: z.ZodType<
5295
+ UpdateProjectBranchMatcher$Outbound,
5296
+ z.ZodTypeDef,
5297
+ UpdateProjectBranchMatcher
5298
+ > = z.object({
5299
+ type:
5300
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema,
5301
+ pattern: z.string(),
5302
+ });
5303
+
5304
+ /**
5305
+ * @internal
5306
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5307
+ */
5308
+ export namespace UpdateProjectBranchMatcher$ {
5309
+ /** @deprecated use `UpdateProjectBranchMatcher$inboundSchema` instead. */
5310
+ export const inboundSchema = UpdateProjectBranchMatcher$inboundSchema;
5311
+ /** @deprecated use `UpdateProjectBranchMatcher$outboundSchema` instead. */
5312
+ export const outboundSchema = UpdateProjectBranchMatcher$outboundSchema;
5313
+ /** @deprecated use `UpdateProjectBranchMatcher$Outbound` instead. */
5314
+ export type Outbound = UpdateProjectBranchMatcher$Outbound;
5315
+ }
5316
+
5317
+ export function updateProjectBranchMatcherToJSON(
5318
+ updateProjectBranchMatcher: UpdateProjectBranchMatcher,
5319
+ ): string {
5320
+ return JSON.stringify(
5321
+ UpdateProjectBranchMatcher$outboundSchema.parse(updateProjectBranchMatcher),
5322
+ );
5323
+ }
5324
+
5325
+ export function updateProjectBranchMatcherFromJSON(
5326
+ jsonString: string,
5327
+ ): SafeParseResult<UpdateProjectBranchMatcher, SDKValidationError> {
5328
+ return safeParse(
5329
+ jsonString,
5330
+ (x) => UpdateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)),
5331
+ `Failed to parse 'UpdateProjectBranchMatcher' from JSON`,
5332
+ );
5333
+ }
5334
+
5335
+ /** @internal */
5336
+ export const UpdateProjectVerification$inboundSchema: z.ZodType<
5337
+ UpdateProjectVerification,
5338
+ z.ZodTypeDef,
5339
+ unknown
5340
+ > = z.object({
5341
+ type: z.string(),
5342
+ domain: z.string(),
5343
+ value: z.string(),
5344
+ reason: z.string(),
5345
+ });
5346
+
5347
+ /** @internal */
5348
+ export type UpdateProjectVerification$Outbound = {
5349
+ type: string;
5350
+ domain: string;
5351
+ value: string;
5352
+ reason: string;
5353
+ };
5354
+
5355
+ /** @internal */
5356
+ export const UpdateProjectVerification$outboundSchema: z.ZodType<
5357
+ UpdateProjectVerification$Outbound,
5358
+ z.ZodTypeDef,
5359
+ UpdateProjectVerification
5360
+ > = z.object({
5361
+ type: z.string(),
5362
+ domain: z.string(),
5363
+ value: z.string(),
5364
+ reason: z.string(),
5365
+ });
5366
+
5367
+ /**
5368
+ * @internal
5369
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5370
+ */
5371
+ export namespace UpdateProjectVerification$ {
5372
+ /** @deprecated use `UpdateProjectVerification$inboundSchema` instead. */
5373
+ export const inboundSchema = UpdateProjectVerification$inboundSchema;
5374
+ /** @deprecated use `UpdateProjectVerification$outboundSchema` instead. */
5375
+ export const outboundSchema = UpdateProjectVerification$outboundSchema;
5376
+ /** @deprecated use `UpdateProjectVerification$Outbound` instead. */
5377
+ export type Outbound = UpdateProjectVerification$Outbound;
5378
+ }
5379
+
5380
+ export function updateProjectVerificationToJSON(
5381
+ updateProjectVerification: UpdateProjectVerification,
5382
+ ): string {
5383
+ return JSON.stringify(
5384
+ UpdateProjectVerification$outboundSchema.parse(updateProjectVerification),
5385
+ );
5386
+ }
5387
+
5388
+ export function updateProjectVerificationFromJSON(
5389
+ jsonString: string,
5390
+ ): SafeParseResult<UpdateProjectVerification, SDKValidationError> {
5391
+ return safeParse(
5392
+ jsonString,
5393
+ (x) => UpdateProjectVerification$inboundSchema.parse(JSON.parse(x)),
5394
+ `Failed to parse 'UpdateProjectVerification' from JSON`,
5395
+ );
5396
+ }
5397
+
5398
+ /** @internal */
5399
+ export const UpdateProjectDomains$inboundSchema: z.ZodType<
5400
+ UpdateProjectDomains,
5401
+ z.ZodTypeDef,
5402
+ unknown
5403
+ > = z.object({
5404
+ name: z.string(),
5405
+ apexName: z.string(),
5406
+ projectId: z.string(),
5407
+ redirect: z.nullable(z.string()).optional(),
5408
+ redirectStatusCode: z.nullable(z.number()).optional(),
5409
+ gitBranch: z.nullable(z.string()).optional(),
5410
+ customEnvironmentId: z.nullable(z.string()).optional(),
5411
+ updatedAt: z.number().optional(),
5412
+ createdAt: z.number().optional(),
5413
+ verified: z.boolean(),
5414
+ verification: z.array(z.lazy(() => UpdateProjectVerification$inboundSchema))
5415
+ .optional(),
5416
+ });
5417
+
5418
+ /** @internal */
5419
+ export type UpdateProjectDomains$Outbound = {
5420
+ name: string;
5421
+ apexName: string;
5422
+ projectId: string;
5423
+ redirect?: string | null | undefined;
5424
+ redirectStatusCode?: number | null | undefined;
5425
+ gitBranch?: string | null | undefined;
5426
+ customEnvironmentId?: string | null | undefined;
5427
+ updatedAt?: number | undefined;
5428
+ createdAt?: number | undefined;
5429
+ verified: boolean;
5430
+ verification?: Array<UpdateProjectVerification$Outbound> | undefined;
5431
+ };
5432
+
5433
+ /** @internal */
5434
+ export const UpdateProjectDomains$outboundSchema: z.ZodType<
5435
+ UpdateProjectDomains$Outbound,
5436
+ z.ZodTypeDef,
5437
+ UpdateProjectDomains
5438
+ > = z.object({
5439
+ name: z.string(),
5440
+ apexName: z.string(),
5441
+ projectId: z.string(),
5442
+ redirect: z.nullable(z.string()).optional(),
5443
+ redirectStatusCode: z.nullable(z.number()).optional(),
5444
+ gitBranch: z.nullable(z.string()).optional(),
5445
+ customEnvironmentId: z.nullable(z.string()).optional(),
5446
+ updatedAt: z.number().optional(),
5447
+ createdAt: z.number().optional(),
5448
+ verified: z.boolean(),
5449
+ verification: z.array(z.lazy(() => UpdateProjectVerification$outboundSchema))
5450
+ .optional(),
5451
+ });
5452
+
5453
+ /**
5454
+ * @internal
5455
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5456
+ */
5457
+ export namespace UpdateProjectDomains$ {
5458
+ /** @deprecated use `UpdateProjectDomains$inboundSchema` instead. */
5459
+ export const inboundSchema = UpdateProjectDomains$inboundSchema;
5460
+ /** @deprecated use `UpdateProjectDomains$outboundSchema` instead. */
5461
+ export const outboundSchema = UpdateProjectDomains$outboundSchema;
5462
+ /** @deprecated use `UpdateProjectDomains$Outbound` instead. */
5463
+ export type Outbound = UpdateProjectDomains$Outbound;
5464
+ }
5465
+
5466
+ export function updateProjectDomainsToJSON(
5467
+ updateProjectDomains: UpdateProjectDomains,
5468
+ ): string {
5469
+ return JSON.stringify(
5470
+ UpdateProjectDomains$outboundSchema.parse(updateProjectDomains),
5471
+ );
5472
+ }
5473
+
5474
+ export function updateProjectDomainsFromJSON(
5475
+ jsonString: string,
5476
+ ): SafeParseResult<UpdateProjectDomains, SDKValidationError> {
5477
+ return safeParse(
5478
+ jsonString,
5479
+ (x) => UpdateProjectDomains$inboundSchema.parse(JSON.parse(x)),
5480
+ `Failed to parse 'UpdateProjectDomains' from JSON`,
5481
+ );
5482
+ }
5483
+
5484
+ /** @internal */
5485
+ export const UpdateProjectCustomEnvironments$inboundSchema: z.ZodType<
5486
+ UpdateProjectCustomEnvironments,
5487
+ z.ZodTypeDef,
5488
+ unknown
5489
+ > = z.object({
5490
+ id: z.string(),
5491
+ slug: z.string(),
5492
+ type: UpdateProjectProjectsType$inboundSchema,
5493
+ description: z.string().optional(),
5494
+ branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$inboundSchema)
5495
+ .optional(),
5496
+ domains: z.array(z.lazy(() => UpdateProjectDomains$inboundSchema)).optional(),
5497
+ currentDeploymentAliases: z.array(z.string()).optional(),
5498
+ createdAt: z.number(),
5499
+ updatedAt: z.number(),
5500
+ });
5501
+
5502
+ /** @internal */
5503
+ export type UpdateProjectCustomEnvironments$Outbound = {
5504
+ id: string;
5505
+ slug: string;
5506
+ type: string;
5507
+ description?: string | undefined;
5508
+ branchMatcher?: UpdateProjectBranchMatcher$Outbound | undefined;
5509
+ domains?: Array<UpdateProjectDomains$Outbound> | undefined;
5510
+ currentDeploymentAliases?: Array<string> | undefined;
5511
+ createdAt: number;
5512
+ updatedAt: number;
5513
+ };
5514
+
5515
+ /** @internal */
5516
+ export const UpdateProjectCustomEnvironments$outboundSchema: z.ZodType<
5517
+ UpdateProjectCustomEnvironments$Outbound,
5518
+ z.ZodTypeDef,
4968
5519
  UpdateProjectCustomEnvironments
4969
- > = z.object({});
5520
+ > = z.object({
5521
+ id: z.string(),
5522
+ slug: z.string(),
5523
+ type: UpdateProjectProjectsType$outboundSchema,
5524
+ description: z.string().optional(),
5525
+ branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$outboundSchema)
5526
+ .optional(),
5527
+ domains: z.array(z.lazy(() => UpdateProjectDomains$outboundSchema))
5528
+ .optional(),
5529
+ currentDeploymentAliases: z.array(z.string()).optional(),
5530
+ createdAt: z.number(),
5531
+ updatedAt: z.number(),
5532
+ });
4970
5533
 
4971
5534
  /**
4972
5535
  * @internal
@@ -5185,58 +5748,58 @@ export function updateProjectAliasErrorFromJSON(
5185
5748
  }
5186
5749
 
5187
5750
  /** @internal */
5188
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
5751
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema:
5189
5752
  z.ZodNativeEnum<
5190
- typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType
5753
+ typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
5191
5754
  > = z.nativeEnum(
5192
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType,
5755
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType,
5193
5756
  );
5194
5757
 
5195
5758
  /** @internal */
5196
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
5759
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema:
5197
5760
  z.ZodNativeEnum<
5198
- typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType
5761
+ typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
5199
5762
  > =
5200
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
5763
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
5201
5764
 
5202
5765
  /**
5203
5766
  * @internal
5204
5767
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5205
5768
  */
5206
- export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$ {
5207
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
5769
+ export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ {
5770
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema` instead. */
5208
5771
  export const inboundSchema =
5209
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
5210
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
5772
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
5773
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema` instead. */
5211
5774
  export const outboundSchema =
5212
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
5775
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema;
5213
5776
  }
5214
5777
 
5215
5778
  /** @internal */
5216
- export const UpdateProjectBranchMatcher$inboundSchema: z.ZodType<
5217
- UpdateProjectBranchMatcher,
5779
+ export const UpdateProjectProjectsBranchMatcher$inboundSchema: z.ZodType<
5780
+ UpdateProjectProjectsBranchMatcher,
5218
5781
  z.ZodTypeDef,
5219
5782
  unknown
5220
5783
  > = z.object({
5221
5784
  type:
5222
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
5785
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema,
5223
5786
  pattern: z.string(),
5224
5787
  });
5225
5788
 
5226
5789
  /** @internal */
5227
- export type UpdateProjectBranchMatcher$Outbound = {
5790
+ export type UpdateProjectProjectsBranchMatcher$Outbound = {
5228
5791
  type: string;
5229
5792
  pattern: string;
5230
5793
  };
5231
5794
 
5232
5795
  /** @internal */
5233
- export const UpdateProjectBranchMatcher$outboundSchema: z.ZodType<
5234
- UpdateProjectBranchMatcher$Outbound,
5796
+ export const UpdateProjectProjectsBranchMatcher$outboundSchema: z.ZodType<
5797
+ UpdateProjectProjectsBranchMatcher$Outbound,
5235
5798
  z.ZodTypeDef,
5236
- UpdateProjectBranchMatcher
5799
+ UpdateProjectProjectsBranchMatcher
5237
5800
  > = z.object({
5238
5801
  type:
5239
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
5802
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema,
5240
5803
  pattern: z.string(),
5241
5804
  });
5242
5805
 
@@ -5244,30 +5807,34 @@ export const UpdateProjectBranchMatcher$outboundSchema: z.ZodType<
5244
5807
  * @internal
5245
5808
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5246
5809
  */
5247
- export namespace UpdateProjectBranchMatcher$ {
5248
- /** @deprecated use `UpdateProjectBranchMatcher$inboundSchema` instead. */
5249
- export const inboundSchema = UpdateProjectBranchMatcher$inboundSchema;
5250
- /** @deprecated use `UpdateProjectBranchMatcher$outboundSchema` instead. */
5251
- export const outboundSchema = UpdateProjectBranchMatcher$outboundSchema;
5252
- /** @deprecated use `UpdateProjectBranchMatcher$Outbound` instead. */
5253
- export type Outbound = UpdateProjectBranchMatcher$Outbound;
5810
+ export namespace UpdateProjectProjectsBranchMatcher$ {
5811
+ /** @deprecated use `UpdateProjectProjectsBranchMatcher$inboundSchema` instead. */
5812
+ export const inboundSchema = UpdateProjectProjectsBranchMatcher$inboundSchema;
5813
+ /** @deprecated use `UpdateProjectProjectsBranchMatcher$outboundSchema` instead. */
5814
+ export const outboundSchema =
5815
+ UpdateProjectProjectsBranchMatcher$outboundSchema;
5816
+ /** @deprecated use `UpdateProjectProjectsBranchMatcher$Outbound` instead. */
5817
+ export type Outbound = UpdateProjectProjectsBranchMatcher$Outbound;
5254
5818
  }
5255
5819
 
5256
- export function updateProjectBranchMatcherToJSON(
5257
- updateProjectBranchMatcher: UpdateProjectBranchMatcher,
5820
+ export function updateProjectProjectsBranchMatcherToJSON(
5821
+ updateProjectProjectsBranchMatcher: UpdateProjectProjectsBranchMatcher,
5258
5822
  ): string {
5259
5823
  return JSON.stringify(
5260
- UpdateProjectBranchMatcher$outboundSchema.parse(updateProjectBranchMatcher),
5824
+ UpdateProjectProjectsBranchMatcher$outboundSchema.parse(
5825
+ updateProjectProjectsBranchMatcher,
5826
+ ),
5261
5827
  );
5262
5828
  }
5263
5829
 
5264
- export function updateProjectBranchMatcherFromJSON(
5830
+ export function updateProjectProjectsBranchMatcherFromJSON(
5265
5831
  jsonString: string,
5266
- ): SafeParseResult<UpdateProjectBranchMatcher, SDKValidationError> {
5832
+ ): SafeParseResult<UpdateProjectProjectsBranchMatcher, SDKValidationError> {
5267
5833
  return safeParse(
5268
5834
  jsonString,
5269
- (x) => UpdateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)),
5270
- `Failed to parse 'UpdateProjectBranchMatcher' from JSON`,
5835
+ (x) =>
5836
+ UpdateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)),
5837
+ `Failed to parse 'UpdateProjectProjectsBranchMatcher' from JSON`,
5271
5838
  );
5272
5839
  }
5273
5840
 
@@ -5593,24 +6160,25 @@ export namespace UpdateProjectReadySubstate$ {
5593
6160
  }
5594
6161
 
5595
6162
  /** @internal */
5596
- export const UpdateProjectProjectsType$inboundSchema: z.ZodNativeEnum<
5597
- typeof UpdateProjectProjectsType
5598
- > = z.nativeEnum(UpdateProjectProjectsType);
6163
+ export const UpdateProjectProjectsResponseType$inboundSchema: z.ZodNativeEnum<
6164
+ typeof UpdateProjectProjectsResponseType
6165
+ > = z.nativeEnum(UpdateProjectProjectsResponseType);
5599
6166
 
5600
6167
  /** @internal */
5601
- export const UpdateProjectProjectsType$outboundSchema: z.ZodNativeEnum<
5602
- typeof UpdateProjectProjectsType
5603
- > = UpdateProjectProjectsType$inboundSchema;
6168
+ export const UpdateProjectProjectsResponseType$outboundSchema: z.ZodNativeEnum<
6169
+ typeof UpdateProjectProjectsResponseType
6170
+ > = UpdateProjectProjectsResponseType$inboundSchema;
5604
6171
 
5605
6172
  /**
5606
6173
  * @internal
5607
6174
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5608
6175
  */
5609
- export namespace UpdateProjectProjectsType$ {
5610
- /** @deprecated use `UpdateProjectProjectsType$inboundSchema` instead. */
5611
- export const inboundSchema = UpdateProjectProjectsType$inboundSchema;
5612
- /** @deprecated use `UpdateProjectProjectsType$outboundSchema` instead. */
5613
- export const outboundSchema = UpdateProjectProjectsType$outboundSchema;
6176
+ export namespace UpdateProjectProjectsResponseType$ {
6177
+ /** @deprecated use `UpdateProjectProjectsResponseType$inboundSchema` instead. */
6178
+ export const inboundSchema = UpdateProjectProjectsResponseType$inboundSchema;
6179
+ /** @deprecated use `UpdateProjectProjectsResponseType$outboundSchema` instead. */
6180
+ export const outboundSchema =
6181
+ UpdateProjectProjectsResponseType$outboundSchema;
5614
6182
  }
5615
6183
 
5616
6184
  /** @internal */
@@ -5626,7 +6194,7 @@ export const UpdateProjectLatestDeployments$inboundSchema: z.ZodType<
5626
6194
  .optional(),
5627
6195
  aliasFinal: z.nullable(z.string()).optional(),
5628
6196
  automaticAliases: z.array(z.string()).optional(),
5629
- branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$inboundSchema)
6197
+ branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$inboundSchema)
5630
6198
  .optional(),
5631
6199
  buildingAt: z.number().optional(),
5632
6200
  builds: z.array(z.lazy(() => UpdateProjectBuilds$inboundSchema)).optional(),
@@ -5654,7 +6222,7 @@ export const UpdateProjectLatestDeployments$inboundSchema: z.ZodType<
5654
6222
  requestedAt: z.number().optional(),
5655
6223
  target: z.nullable(z.string()).optional(),
5656
6224
  teamId: z.nullable(z.string()).optional(),
5657
- type: UpdateProjectProjectsType$inboundSchema,
6225
+ type: UpdateProjectProjectsResponseType$inboundSchema,
5658
6226
  url: z.string(),
5659
6227
  userId: z.string(),
5660
6228
  withCache: z.boolean().optional(),
@@ -5668,7 +6236,7 @@ export type UpdateProjectLatestDeployments$Outbound = {
5668
6236
  aliasError?: UpdateProjectAliasError$Outbound | null | undefined;
5669
6237
  aliasFinal?: string | null | undefined;
5670
6238
  automaticAliases?: Array<string> | undefined;
5671
- branchMatcher?: UpdateProjectBranchMatcher$Outbound | undefined;
6239
+ branchMatcher?: UpdateProjectProjectsBranchMatcher$Outbound | undefined;
5672
6240
  buildingAt?: number | undefined;
5673
6241
  builds?: Array<UpdateProjectBuilds$Outbound> | undefined;
5674
6242
  checksConclusion?: string | undefined;
@@ -5713,7 +6281,7 @@ export const UpdateProjectLatestDeployments$outboundSchema: z.ZodType<
5713
6281
  .optional(),
5714
6282
  aliasFinal: z.nullable(z.string()).optional(),
5715
6283
  automaticAliases: z.array(z.string()).optional(),
5716
- branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$outboundSchema)
6284
+ branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$outboundSchema)
5717
6285
  .optional(),
5718
6286
  buildingAt: z.number().optional(),
5719
6287
  builds: z.array(z.lazy(() => UpdateProjectBuilds$outboundSchema)).optional(),
@@ -5741,7 +6309,7 @@ export const UpdateProjectLatestDeployments$outboundSchema: z.ZodType<
5741
6309
  requestedAt: z.number().optional(),
5742
6310
  target: z.nullable(z.string()).optional(),
5743
6311
  teamId: z.nullable(z.string()).optional(),
5744
- type: UpdateProjectProjectsType$outboundSchema,
6312
+ type: UpdateProjectProjectsResponseType$outboundSchema,
5745
6313
  url: z.string(),
5746
6314
  userId: z.string(),
5747
6315
  withCache: z.boolean().optional(),
@@ -7547,86 +8115,99 @@ export function updateProjectProjectsAliasErrorFromJSON(
7547
8115
  }
7548
8116
 
7549
8117
  /** @internal */
7550
- export const UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema:
7551
- z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONType> =
7552
- z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONType);
8118
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema:
8119
+ z.ZodNativeEnum<
8120
+ typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType
8121
+ > = z.nativeEnum(
8122
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType,
8123
+ );
7553
8124
 
7554
8125
  /** @internal */
7555
- export const UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema:
7556
- z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONType> =
7557
- UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
8126
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema:
8127
+ z.ZodNativeEnum<
8128
+ typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType
8129
+ > =
8130
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema;
7558
8131
 
7559
8132
  /**
7560
8133
  * @internal
7561
8134
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7562
8135
  */
7563
- export namespace UpdateProjectProjectsResponse200ApplicationJSONType$ {
7564
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
8136
+ export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$ {
8137
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema` instead. */
7565
8138
  export const inboundSchema =
7566
- UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
7567
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
8139
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema;
8140
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema` instead. */
7568
8141
  export const outboundSchema =
7569
- UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema;
8142
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema;
7570
8143
  }
7571
8144
 
7572
8145
  /** @internal */
7573
- export const UpdateProjectProjectsBranchMatcher$inboundSchema: z.ZodType<
7574
- UpdateProjectProjectsBranchMatcher,
7575
- z.ZodTypeDef,
7576
- unknown
7577
- > = z.object({
7578
- type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema,
7579
- pattern: z.string(),
7580
- });
8146
+ export const UpdateProjectProjectsResponseBranchMatcher$inboundSchema:
8147
+ z.ZodType<UpdateProjectProjectsResponseBranchMatcher, z.ZodTypeDef, unknown> =
8148
+ z.object({
8149
+ type:
8150
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema,
8151
+ pattern: z.string(),
8152
+ });
7581
8153
 
7582
8154
  /** @internal */
7583
- export type UpdateProjectProjectsBranchMatcher$Outbound = {
8155
+ export type UpdateProjectProjectsResponseBranchMatcher$Outbound = {
7584
8156
  type: string;
7585
8157
  pattern: string;
7586
8158
  };
7587
8159
 
7588
8160
  /** @internal */
7589
- export const UpdateProjectProjectsBranchMatcher$outboundSchema: z.ZodType<
7590
- UpdateProjectProjectsBranchMatcher$Outbound,
7591
- z.ZodTypeDef,
7592
- UpdateProjectProjectsBranchMatcher
7593
- > = z.object({
7594
- type: UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema,
7595
- pattern: z.string(),
7596
- });
8161
+ export const UpdateProjectProjectsResponseBranchMatcher$outboundSchema:
8162
+ z.ZodType<
8163
+ UpdateProjectProjectsResponseBranchMatcher$Outbound,
8164
+ z.ZodTypeDef,
8165
+ UpdateProjectProjectsResponseBranchMatcher
8166
+ > = z.object({
8167
+ type:
8168
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema,
8169
+ pattern: z.string(),
8170
+ });
7597
8171
 
7598
8172
  /**
7599
8173
  * @internal
7600
8174
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7601
8175
  */
7602
- export namespace UpdateProjectProjectsBranchMatcher$ {
7603
- /** @deprecated use `UpdateProjectProjectsBranchMatcher$inboundSchema` instead. */
7604
- export const inboundSchema = UpdateProjectProjectsBranchMatcher$inboundSchema;
7605
- /** @deprecated use `UpdateProjectProjectsBranchMatcher$outboundSchema` instead. */
8176
+ export namespace UpdateProjectProjectsResponseBranchMatcher$ {
8177
+ /** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$inboundSchema` instead. */
8178
+ export const inboundSchema =
8179
+ UpdateProjectProjectsResponseBranchMatcher$inboundSchema;
8180
+ /** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$outboundSchema` instead. */
7606
8181
  export const outboundSchema =
7607
- UpdateProjectProjectsBranchMatcher$outboundSchema;
7608
- /** @deprecated use `UpdateProjectProjectsBranchMatcher$Outbound` instead. */
7609
- export type Outbound = UpdateProjectProjectsBranchMatcher$Outbound;
8182
+ UpdateProjectProjectsResponseBranchMatcher$outboundSchema;
8183
+ /** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$Outbound` instead. */
8184
+ export type Outbound = UpdateProjectProjectsResponseBranchMatcher$Outbound;
7610
8185
  }
7611
8186
 
7612
- export function updateProjectProjectsBranchMatcherToJSON(
7613
- updateProjectProjectsBranchMatcher: UpdateProjectProjectsBranchMatcher,
8187
+ export function updateProjectProjectsResponseBranchMatcherToJSON(
8188
+ updateProjectProjectsResponseBranchMatcher:
8189
+ UpdateProjectProjectsResponseBranchMatcher,
7614
8190
  ): string {
7615
8191
  return JSON.stringify(
7616
- UpdateProjectProjectsBranchMatcher$outboundSchema.parse(
7617
- updateProjectProjectsBranchMatcher,
8192
+ UpdateProjectProjectsResponseBranchMatcher$outboundSchema.parse(
8193
+ updateProjectProjectsResponseBranchMatcher,
7618
8194
  ),
7619
8195
  );
7620
8196
  }
7621
8197
 
7622
- export function updateProjectProjectsBranchMatcherFromJSON(
8198
+ export function updateProjectProjectsResponseBranchMatcherFromJSON(
7623
8199
  jsonString: string,
7624
- ): SafeParseResult<UpdateProjectProjectsBranchMatcher, SDKValidationError> {
8200
+ ): SafeParseResult<
8201
+ UpdateProjectProjectsResponseBranchMatcher,
8202
+ SDKValidationError
8203
+ > {
7625
8204
  return safeParse(
7626
8205
  jsonString,
7627
8206
  (x) =>
7628
- UpdateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)),
7629
- `Failed to parse 'UpdateProjectProjectsBranchMatcher' from JSON`,
8207
+ UpdateProjectProjectsResponseBranchMatcher$inboundSchema.parse(
8208
+ JSON.parse(x),
8209
+ ),
8210
+ `Failed to parse 'UpdateProjectProjectsResponseBranchMatcher' from JSON`,
7630
8211
  );
7631
8212
  }
7632
8213
 
@@ -7963,25 +8544,27 @@ export namespace UpdateProjectProjectsReadySubstate$ {
7963
8544
  }
7964
8545
 
7965
8546
  /** @internal */
7966
- export const UpdateProjectProjectsResponseType$inboundSchema: z.ZodNativeEnum<
7967
- typeof UpdateProjectProjectsResponseType
7968
- > = z.nativeEnum(UpdateProjectProjectsResponseType);
8547
+ export const UpdateProjectProjectsResponse200Type$inboundSchema:
8548
+ z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200Type> = z.nativeEnum(
8549
+ UpdateProjectProjectsResponse200Type,
8550
+ );
7969
8551
 
7970
8552
  /** @internal */
7971
- export const UpdateProjectProjectsResponseType$outboundSchema: z.ZodNativeEnum<
7972
- typeof UpdateProjectProjectsResponseType
7973
- > = UpdateProjectProjectsResponseType$inboundSchema;
8553
+ export const UpdateProjectProjectsResponse200Type$outboundSchema:
8554
+ z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200Type> =
8555
+ UpdateProjectProjectsResponse200Type$inboundSchema;
7974
8556
 
7975
8557
  /**
7976
8558
  * @internal
7977
8559
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7978
8560
  */
7979
- export namespace UpdateProjectProjectsResponseType$ {
7980
- /** @deprecated use `UpdateProjectProjectsResponseType$inboundSchema` instead. */
7981
- export const inboundSchema = UpdateProjectProjectsResponseType$inboundSchema;
7982
- /** @deprecated use `UpdateProjectProjectsResponseType$outboundSchema` instead. */
8561
+ export namespace UpdateProjectProjectsResponse200Type$ {
8562
+ /** @deprecated use `UpdateProjectProjectsResponse200Type$inboundSchema` instead. */
8563
+ export const inboundSchema =
8564
+ UpdateProjectProjectsResponse200Type$inboundSchema;
8565
+ /** @deprecated use `UpdateProjectProjectsResponse200Type$outboundSchema` instead. */
7983
8566
  export const outboundSchema =
7984
- UpdateProjectProjectsResponseType$outboundSchema;
8567
+ UpdateProjectProjectsResponse200Type$outboundSchema;
7985
8568
  }
7986
8569
 
7987
8570
  /** @internal */
@@ -7998,8 +8581,9 @@ export const UpdateProjectTargets$inboundSchema: z.ZodType<
7998
8581
  ).optional(),
7999
8582
  aliasFinal: z.nullable(z.string()).optional(),
8000
8583
  automaticAliases: z.array(z.string()).optional(),
8001
- branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$inboundSchema)
8002
- .optional(),
8584
+ branchMatcher: z.lazy(() =>
8585
+ UpdateProjectProjectsResponseBranchMatcher$inboundSchema
8586
+ ).optional(),
8003
8587
  buildingAt: z.number().optional(),
8004
8588
  builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$inboundSchema))
8005
8589
  .optional(),
@@ -8029,7 +8613,7 @@ export const UpdateProjectTargets$inboundSchema: z.ZodType<
8029
8613
  requestedAt: z.number().optional(),
8030
8614
  target: z.nullable(z.string()).optional(),
8031
8615
  teamId: z.nullable(z.string()).optional(),
8032
- type: UpdateProjectProjectsResponseType$inboundSchema,
8616
+ type: UpdateProjectProjectsResponse200Type$inboundSchema,
8033
8617
  url: z.string(),
8034
8618
  userId: z.string(),
8035
8619
  withCache: z.boolean().optional(),
@@ -8043,7 +8627,9 @@ export type UpdateProjectTargets$Outbound = {
8043
8627
  aliasError?: UpdateProjectProjectsAliasError$Outbound | null | undefined;
8044
8628
  aliasFinal?: string | null | undefined;
8045
8629
  automaticAliases?: Array<string> | undefined;
8046
- branchMatcher?: UpdateProjectProjectsBranchMatcher$Outbound | undefined;
8630
+ branchMatcher?:
8631
+ | UpdateProjectProjectsResponseBranchMatcher$Outbound
8632
+ | undefined;
8047
8633
  buildingAt?: number | undefined;
8048
8634
  builds?: Array<UpdateProjectProjectsBuilds$Outbound> | undefined;
8049
8635
  checksConclusion?: string | undefined;
@@ -8089,8 +8675,9 @@ export const UpdateProjectTargets$outboundSchema: z.ZodType<
8089
8675
  ).optional(),
8090
8676
  aliasFinal: z.nullable(z.string()).optional(),
8091
8677
  automaticAliases: z.array(z.string()).optional(),
8092
- branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$outboundSchema)
8093
- .optional(),
8678
+ branchMatcher: z.lazy(() =>
8679
+ UpdateProjectProjectsResponseBranchMatcher$outboundSchema
8680
+ ).optional(),
8094
8681
  buildingAt: z.number().optional(),
8095
8682
  builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$outboundSchema))
8096
8683
  .optional(),
@@ -8122,7 +8709,7 @@ export const UpdateProjectTargets$outboundSchema: z.ZodType<
8122
8709
  requestedAt: z.number().optional(),
8123
8710
  target: z.nullable(z.string()).optional(),
8124
8711
  teamId: z.nullable(z.string()).optional(),
8125
- type: UpdateProjectProjectsResponseType$outboundSchema,
8712
+ type: UpdateProjectProjectsResponse200Type$outboundSchema,
8126
8713
  url: z.string(),
8127
8714
  userId: z.string(),
8128
8715
  withCache: z.boolean().optional(),
@@ -8891,27 +9478,26 @@ export namespace UpdateProjectJobStatus$ {
8891
9478
  }
8892
9479
 
8893
9480
  /** @internal */
8894
- export const UpdateProjectProjectsResponse200Type$inboundSchema:
8895
- z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200Type> = z.nativeEnum(
8896
- UpdateProjectProjectsResponse200Type,
8897
- );
9481
+ export const UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema:
9482
+ z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONType> =
9483
+ z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONType);
8898
9484
 
8899
9485
  /** @internal */
8900
- export const UpdateProjectProjectsResponse200Type$outboundSchema:
8901
- z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200Type> =
8902
- UpdateProjectProjectsResponse200Type$inboundSchema;
9486
+ export const UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema:
9487
+ z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONType> =
9488
+ UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
8903
9489
 
8904
9490
  /**
8905
9491
  * @internal
8906
9492
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8907
9493
  */
8908
- export namespace UpdateProjectProjectsResponse200Type$ {
8909
- /** @deprecated use `UpdateProjectProjectsResponse200Type$inboundSchema` instead. */
9494
+ export namespace UpdateProjectProjectsResponse200ApplicationJSONType$ {
9495
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
8910
9496
  export const inboundSchema =
8911
- UpdateProjectProjectsResponse200Type$inboundSchema;
8912
- /** @deprecated use `UpdateProjectProjectsResponse200Type$outboundSchema` instead. */
9497
+ UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
9498
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
8913
9499
  export const outboundSchema =
8914
- UpdateProjectProjectsResponse200Type$outboundSchema;
9500
+ UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema;
8915
9501
  }
8916
9502
 
8917
9503
  /** @internal */
@@ -8922,15 +9508,17 @@ export const UpdateProjectLastAliasRequest$inboundSchema: z.ZodType<
8922
9508
  > = z.object({
8923
9509
  fromDeploymentId: z.string(),
8924
9510
  toDeploymentId: z.string(),
9511
+ fromRollingReleaseId: z.string().optional(),
8925
9512
  jobStatus: UpdateProjectJobStatus$inboundSchema,
8926
9513
  requestedAt: z.number(),
8927
- type: UpdateProjectProjectsResponse200Type$inboundSchema,
9514
+ type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema,
8928
9515
  });
8929
9516
 
8930
9517
  /** @internal */
8931
9518
  export type UpdateProjectLastAliasRequest$Outbound = {
8932
9519
  fromDeploymentId: string;
8933
9520
  toDeploymentId: string;
9521
+ fromRollingReleaseId?: string | undefined;
8934
9522
  jobStatus: string;
8935
9523
  requestedAt: number;
8936
9524
  type: string;
@@ -8944,9 +9532,10 @@ export const UpdateProjectLastAliasRequest$outboundSchema: z.ZodType<
8944
9532
  > = z.object({
8945
9533
  fromDeploymentId: z.string(),
8946
9534
  toDeploymentId: z.string(),
9535
+ fromRollingReleaseId: z.string().optional(),
8947
9536
  jobStatus: UpdateProjectJobStatus$outboundSchema,
8948
9537
  requestedAt: z.number(),
8949
- type: UpdateProjectProjectsResponse200Type$outboundSchema,
9538
+ type: UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema,
8950
9539
  });
8951
9540
 
8952
9541
  /**