@vercel/sdk 1.6.3 → 1.6.5

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 (152) hide show
  1. package/README.md +2 -0
  2. package/bin/mcp-server.js +3517 -1245
  3. package/bin/mcp-server.js.map +29 -26
  4. package/docs/sdks/edgeconfig/README.md +2 -6
  5. package/docs/sdks/marketplace/README.md +2 -6
  6. package/docs/sdks/security/README.md +90 -0
  7. package/docs/sdks/webhooks/README.md +2 -6
  8. package/esm/__tests__/deployments.test.js +16 -1
  9. package/esm/__tests__/deployments.test.js.map +1 -1
  10. package/esm/__tests__/environment.test.js +3 -0
  11. package/esm/__tests__/environment.test.js.map +1 -1
  12. package/esm/__tests__/marketplace.test.js +7 -2
  13. package/esm/__tests__/marketplace.test.js.map +1 -1
  14. package/esm/__tests__/projects.test.js +4 -4
  15. package/esm/__tests__/projects.test.js.map +1 -1
  16. package/esm/__tests__/security.test.js +174 -3
  17. package/esm/__tests__/security.test.js.map +1 -1
  18. package/esm/funcs/projectsCreateProject.js +2 -2
  19. package/esm/funcs/projectsCreateProject.js.map +1 -1
  20. package/esm/funcs/securityPutFirewallConfig.d.ts +19 -0
  21. package/esm/funcs/securityPutFirewallConfig.d.ts.map +1 -0
  22. package/esm/funcs/securityPutFirewallConfig.js +88 -0
  23. package/esm/funcs/securityPutFirewallConfig.js.map +1 -0
  24. package/esm/lib/config.d.ts +3 -3
  25. package/esm/lib/config.js +3 -3
  26. package/esm/mcp-server/mcp-server.js +1 -1
  27. package/esm/mcp-server/server.d.ts.map +1 -1
  28. package/esm/mcp-server/server.js +3 -1
  29. package/esm/mcp-server/server.js.map +1 -1
  30. package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts +7 -0
  31. package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts.map +1 -0
  32. package/esm/mcp-server/tools/securityPutFirewallConfig.js +28 -0
  33. package/esm/mcp-server/tools/securityPutFirewallConfig.js.map +1 -0
  34. package/esm/models/authtoken.d.ts +6 -0
  35. package/esm/models/authtoken.d.ts.map +1 -1
  36. package/esm/models/authtoken.js +2 -0
  37. package/esm/models/authtoken.js.map +1 -1
  38. package/esm/models/authuser.d.ts +46 -0
  39. package/esm/models/authuser.d.ts.map +1 -1
  40. package/esm/models/authuser.js +28 -0
  41. package/esm/models/authuser.js.map +1 -1
  42. package/esm/models/canceldeploymentop.d.ts +274 -73
  43. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  44. package/esm/models/canceldeploymentop.js +270 -72
  45. package/esm/models/canceldeploymentop.js.map +1 -1
  46. package/esm/models/createdeploymentop.d.ts +274 -73
  47. package/esm/models/createdeploymentop.d.ts.map +1 -1
  48. package/esm/models/createdeploymentop.js +270 -72
  49. package/esm/models/createdeploymentop.js.map +1 -1
  50. package/esm/models/createprojectenvop.d.ts +12 -18
  51. package/esm/models/createprojectenvop.d.ts.map +1 -1
  52. package/esm/models/createprojectenvop.js +12 -12
  53. package/esm/models/createprojectenvop.js.map +1 -1
  54. package/esm/models/createprojectop.d.ts +175 -13
  55. package/esm/models/createprojectop.d.ts.map +1 -1
  56. package/esm/models/createprojectop.js +157 -6
  57. package/esm/models/createprojectop.js.map +1 -1
  58. package/esm/models/editprojectenvop.d.ts +4 -7
  59. package/esm/models/editprojectenvop.d.ts.map +1 -1
  60. package/esm/models/editprojectenvop.js +4 -4
  61. package/esm/models/editprojectenvop.js.map +1 -1
  62. package/esm/models/filterprojectenvsop.d.ts +18 -27
  63. package/esm/models/filterprojectenvsop.d.ts.map +1 -1
  64. package/esm/models/filterprojectenvsop.js +18 -18
  65. package/esm/models/filterprojectenvsop.js.map +1 -1
  66. package/esm/models/getdeploymentop.d.ts +574 -172
  67. package/esm/models/getdeploymentop.d.ts.map +1 -1
  68. package/esm/models/getdeploymentop.js +567 -171
  69. package/esm/models/getdeploymentop.js.map +1 -1
  70. package/esm/models/getfirewallconfigop.d.ts +214 -214
  71. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  72. package/esm/models/getfirewallconfigop.js +210 -231
  73. package/esm/models/getfirewallconfigop.js.map +1 -1
  74. package/esm/models/getprojectdomainsop.d.ts +198 -36
  75. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  76. package/esm/models/getprojectdomainsop.js +193 -32
  77. package/esm/models/getprojectdomainsop.js.map +1 -1
  78. package/esm/models/getprojectenvop.d.ts +10 -16
  79. package/esm/models/getprojectenvop.d.ts.map +1 -1
  80. package/esm/models/getprojectenvop.js +10 -10
  81. package/esm/models/getprojectenvop.js.map +1 -1
  82. package/esm/models/getprojectsop.d.ts +175 -13
  83. package/esm/models/getprojectsop.d.ts.map +1 -1
  84. package/esm/models/getprojectsop.js +156 -6
  85. package/esm/models/getprojectsop.js.map +1 -1
  86. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +31 -1
  87. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  88. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +27 -0
  89. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  90. package/esm/models/putfirewallconfigop.d.ts +2901 -0
  91. package/esm/models/putfirewallconfigop.d.ts.map +1 -0
  92. package/esm/models/putfirewallconfigop.js +2383 -0
  93. package/esm/models/putfirewallconfigop.js.map +1 -0
  94. package/esm/models/removeprojectenvop.d.ts +18 -27
  95. package/esm/models/removeprojectenvop.d.ts.map +1 -1
  96. package/esm/models/removeprojectenvop.js +18 -18
  97. package/esm/models/removeprojectenvop.js.map +1 -1
  98. package/esm/models/updatefirewallconfigop.d.ts +323 -323
  99. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  100. package/esm/models/updatefirewallconfigop.js +379 -357
  101. package/esm/models/updatefirewallconfigop.js.map +1 -1
  102. package/esm/models/updateprojectdatacacheop.d.ts +183 -21
  103. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  104. package/esm/models/updateprojectdatacacheop.js +172 -18
  105. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  106. package/esm/models/updateprojectop.d.ts +175 -13
  107. package/esm/models/updateprojectop.d.ts.map +1 -1
  108. package/esm/models/updateprojectop.js +157 -6
  109. package/esm/models/updateprojectop.js.map +1 -1
  110. package/esm/models/userevent.d.ts +46 -19
  111. package/esm/models/userevent.d.ts.map +1 -1
  112. package/esm/models/userevent.js +34 -10
  113. package/esm/models/userevent.js.map +1 -1
  114. package/esm/sdk/security.d.ts +8 -0
  115. package/esm/sdk/security.d.ts.map +1 -1
  116. package/esm/sdk/security.js +10 -0
  117. package/esm/sdk/security.js.map +1 -1
  118. package/jsr.json +1 -1
  119. package/package.json +3 -3
  120. package/src/__tests__/deployments.test.ts +16 -1
  121. package/src/__tests__/environment.test.ts +3 -0
  122. package/src/__tests__/marketplace.test.ts +7 -2
  123. package/src/__tests__/projects.test.ts +4 -4
  124. package/src/__tests__/security.test.ts +176 -5
  125. package/src/funcs/projectsCreateProject.ts +2 -2
  126. package/src/funcs/securityPutFirewallConfig.ts +194 -0
  127. package/src/lib/config.ts +3 -3
  128. package/src/mcp-server/mcp-server.ts +1 -1
  129. package/src/mcp-server/server.ts +3 -1
  130. package/src/mcp-server/tools/securityPutFirewallConfig.ts +37 -0
  131. package/src/models/authtoken.ts +2 -0
  132. package/src/models/authuser.ts +52 -0
  133. package/src/models/canceldeploymentop.ts +591 -148
  134. package/src/models/createdeploymentop.ts +616 -165
  135. package/src/models/createprojectenvop.ts +24 -30
  136. package/src/models/createprojectop.ts +336 -15
  137. package/src/models/editprojectenvop.ts +8 -11
  138. package/src/models/filterprojectenvsop.ts +36 -45
  139. package/src/models/getdeploymentop.ts +1288 -353
  140. package/src/models/getfirewallconfigop.ts +555 -410
  141. package/src/models/getprojectdomainsop.ts +470 -63
  142. package/src/models/getprojectenvop.ts +20 -26
  143. package/src/models/getprojectsop.ts +338 -16
  144. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +62 -1
  145. package/src/models/putfirewallconfigop.ts +4932 -0
  146. package/src/models/removeprojectenvop.ts +36 -45
  147. package/src/models/updatefirewallconfigop.ts +820 -612
  148. package/src/models/updateprojectdatacacheop.ts +353 -34
  149. package/src/models/updateprojectop.ts +336 -15
  150. package/src/models/userevent.ts +54 -29
  151. package/src/sdk/security.ts +22 -0
  152. package/vercel-spec.json +1395 -291
@@ -41,27 +41,36 @@ export const GetDeploymentResponseBodyChecksConclusion = {
41
41
  Skipped: "skipped",
42
42
  Canceled: "canceled",
43
43
  };
44
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type = {
44
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type = {
45
45
  Bitbucket: "bitbucket",
46
46
  };
47
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type = {
47
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type = {
48
48
  Gitlab: "gitlab",
49
49
  };
50
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type = {
50
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type = {
51
51
  Github: "github",
52
52
  };
53
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type = {
53
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type = {
54
+ Github: "github",
55
+ };
56
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type = {
54
57
  Custom: "custom",
55
58
  };
56
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type = {
59
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type = {
57
60
  Bitbucket: "bitbucket",
58
61
  };
59
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type = {
62
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type = {
60
63
  Bitbucket: "bitbucket",
61
64
  };
62
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type = {
65
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type = {
63
66
  Gitlab: "gitlab",
64
67
  };
68
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type = {
69
+ GithubCustomHost: "github-custom-host",
70
+ };
71
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type = {
72
+ GithubCustomHost: "github-custom-host",
73
+ };
65
74
  export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type = {
66
75
  Github: "github",
67
76
  };
@@ -196,27 +205,36 @@ export const ResponseBodyChecksConclusion = {
196
205
  Skipped: "skipped",
197
206
  Canceled: "canceled",
198
207
  };
199
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type = {
208
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type = {
200
209
  Bitbucket: "bitbucket",
201
210
  };
202
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type = {
211
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type = {
203
212
  Gitlab: "gitlab",
204
213
  };
205
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = {
214
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type = {
206
215
  Github: "github",
207
216
  };
208
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = {
217
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type = {
218
+ Github: "github",
219
+ };
220
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type = {
209
221
  Custom: "custom",
210
222
  };
211
- export const GetDeploymentGitSourceDeploymentsResponse200Type = {
223
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = {
212
224
  Bitbucket: "bitbucket",
213
225
  };
214
- export const GetDeploymentGitSourceDeploymentsResponseType = {
226
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = {
215
227
  Bitbucket: "bitbucket",
216
228
  };
217
- export const GetDeploymentGitSourceDeploymentsType = {
229
+ export const GetDeploymentGitSourceDeploymentsResponse200Type = {
218
230
  Gitlab: "gitlab",
219
231
  };
232
+ export const GetDeploymentGitSourceDeploymentsResponseType = {
233
+ GithubCustomHost: "github-custom-host",
234
+ };
235
+ export const GetDeploymentGitSourceDeploymentsType = {
236
+ GithubCustomHost: "github-custom-host",
237
+ };
220
238
  export const GetDeploymentGitSourceType = {
221
239
  Github: "github",
222
240
  };
@@ -683,6 +701,156 @@ export var GetDeploymentResponseBodyChecksConclusion$;
683
701
  GetDeploymentResponseBodyChecksConclusion$.outboundSchema = GetDeploymentResponseBodyChecksConclusion$outboundSchema;
684
702
  })(GetDeploymentResponseBodyChecksConclusion$ || (GetDeploymentResponseBodyChecksConclusion$ = {}));
685
703
  /** @internal */
704
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema = z.nativeEnum(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type);
705
+ /** @internal */
706
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema;
707
+ /**
708
+ * @internal
709
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
710
+ */
711
+ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$;
712
+ (function (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$) {
713
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema` instead. */
714
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$.inboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema;
715
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$outboundSchema` instead. */
716
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$.outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$outboundSchema;
717
+ })(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$ || (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$ = {}));
718
+ /** @internal */
719
+ export const GetDeploymentGitSource12$inboundSchema = z.object({
720
+ type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema,
721
+ ref: z.string(),
722
+ sha: z.string(),
723
+ owner: z.string().optional(),
724
+ slug: z.string().optional(),
725
+ workspaceUuid: z.string(),
726
+ repoUuid: z.string(),
727
+ });
728
+ /** @internal */
729
+ export const GetDeploymentGitSource12$outboundSchema = z.object({
730
+ type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$outboundSchema,
731
+ ref: z.string(),
732
+ sha: z.string(),
733
+ owner: z.string().optional(),
734
+ slug: z.string().optional(),
735
+ workspaceUuid: z.string(),
736
+ repoUuid: z.string(),
737
+ });
738
+ /**
739
+ * @internal
740
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
741
+ */
742
+ export var GetDeploymentGitSource12$;
743
+ (function (GetDeploymentGitSource12$) {
744
+ /** @deprecated use `GetDeploymentGitSource12$inboundSchema` instead. */
745
+ GetDeploymentGitSource12$.inboundSchema = GetDeploymentGitSource12$inboundSchema;
746
+ /** @deprecated use `GetDeploymentGitSource12$outboundSchema` instead. */
747
+ GetDeploymentGitSource12$.outboundSchema = GetDeploymentGitSource12$outboundSchema;
748
+ })(GetDeploymentGitSource12$ || (GetDeploymentGitSource12$ = {}));
749
+ export function getDeploymentGitSource12ToJSON(getDeploymentGitSource12) {
750
+ return JSON.stringify(GetDeploymentGitSource12$outboundSchema.parse(getDeploymentGitSource12));
751
+ }
752
+ export function getDeploymentGitSource12FromJSON(jsonString) {
753
+ return safeParse(jsonString, (x) => GetDeploymentGitSource12$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSource12' from JSON`);
754
+ }
755
+ /** @internal */
756
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema = z.nativeEnum(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type);
757
+ /** @internal */
758
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema;
759
+ /**
760
+ * @internal
761
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
762
+ */
763
+ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$;
764
+ (function (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$) {
765
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema` instead. */
766
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$.inboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema;
767
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$outboundSchema` instead. */
768
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$.outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$outboundSchema;
769
+ })(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$ || (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$ = {}));
770
+ /** @internal */
771
+ export const GetDeploymentGitSource11$inboundSchema = z.object({
772
+ type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema,
773
+ ref: z.string(),
774
+ sha: z.string(),
775
+ projectId: z.number(),
776
+ });
777
+ /** @internal */
778
+ export const GetDeploymentGitSource11$outboundSchema = z.object({
779
+ type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$outboundSchema,
780
+ ref: z.string(),
781
+ sha: z.string(),
782
+ projectId: z.number(),
783
+ });
784
+ /**
785
+ * @internal
786
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
787
+ */
788
+ export var GetDeploymentGitSource11$;
789
+ (function (GetDeploymentGitSource11$) {
790
+ /** @deprecated use `GetDeploymentGitSource11$inboundSchema` instead. */
791
+ GetDeploymentGitSource11$.inboundSchema = GetDeploymentGitSource11$inboundSchema;
792
+ /** @deprecated use `GetDeploymentGitSource11$outboundSchema` instead. */
793
+ GetDeploymentGitSource11$.outboundSchema = GetDeploymentGitSource11$outboundSchema;
794
+ })(GetDeploymentGitSource11$ || (GetDeploymentGitSource11$ = {}));
795
+ export function getDeploymentGitSource11ToJSON(getDeploymentGitSource11) {
796
+ return JSON.stringify(GetDeploymentGitSource11$outboundSchema.parse(getDeploymentGitSource11));
797
+ }
798
+ export function getDeploymentGitSource11FromJSON(jsonString) {
799
+ return safeParse(jsonString, (x) => GetDeploymentGitSource11$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSource11' from JSON`);
800
+ }
801
+ /** @internal */
802
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema = z.nativeEnum(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type);
803
+ /** @internal */
804
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema;
805
+ /**
806
+ * @internal
807
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
808
+ */
809
+ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$;
810
+ (function (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$) {
811
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema` instead. */
812
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$.inboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema;
813
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$outboundSchema` instead. */
814
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$.outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$outboundSchema;
815
+ })(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$ || (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$ = {}));
816
+ /** @internal */
817
+ export const GetDeploymentGitSource10$inboundSchema = z.object({
818
+ type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema,
819
+ host: z.string(),
820
+ ref: z.string(),
821
+ sha: z.string(),
822
+ repoId: z.number(),
823
+ org: z.string().optional(),
824
+ repo: z.string().optional(),
825
+ });
826
+ /** @internal */
827
+ export const GetDeploymentGitSource10$outboundSchema = z.object({
828
+ type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$outboundSchema,
829
+ host: z.string(),
830
+ ref: z.string(),
831
+ sha: z.string(),
832
+ repoId: z.number(),
833
+ org: z.string().optional(),
834
+ repo: z.string().optional(),
835
+ });
836
+ /**
837
+ * @internal
838
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
839
+ */
840
+ export var GetDeploymentGitSource10$;
841
+ (function (GetDeploymentGitSource10$) {
842
+ /** @deprecated use `GetDeploymentGitSource10$inboundSchema` instead. */
843
+ GetDeploymentGitSource10$.inboundSchema = GetDeploymentGitSource10$inboundSchema;
844
+ /** @deprecated use `GetDeploymentGitSource10$outboundSchema` instead. */
845
+ GetDeploymentGitSource10$.outboundSchema = GetDeploymentGitSource10$outboundSchema;
846
+ })(GetDeploymentGitSource10$ || (GetDeploymentGitSource10$ = {}));
847
+ export function getDeploymentGitSource10ToJSON(getDeploymentGitSource10) {
848
+ return JSON.stringify(GetDeploymentGitSource10$outboundSchema.parse(getDeploymentGitSource10));
849
+ }
850
+ export function getDeploymentGitSource10FromJSON(jsonString) {
851
+ return safeParse(jsonString, (x) => GetDeploymentGitSource10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSource10' from JSON`);
852
+ }
853
+ /** @internal */
686
854
  export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema = z.nativeEnum(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type);
687
855
  /** @internal */
688
856
  export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema;
@@ -702,20 +870,18 @@ export const GetDeploymentGitSource9$inboundSchema = z.object({
702
870
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema,
703
871
  ref: z.string(),
704
872
  sha: z.string(),
705
- owner: z.string().optional(),
706
- slug: z.string().optional(),
707
- workspaceUuid: z.string(),
708
- repoUuid: z.string(),
873
+ repoId: z.number(),
874
+ org: z.string().optional(),
875
+ repo: z.string().optional(),
709
876
  });
710
877
  /** @internal */
711
878
  export const GetDeploymentGitSource9$outboundSchema = z.object({
712
879
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema,
713
880
  ref: z.string(),
714
881
  sha: z.string(),
715
- owner: z.string().optional(),
716
- slug: z.string().optional(),
717
- workspaceUuid: z.string(),
718
- repoUuid: z.string(),
882
+ repoId: z.number(),
883
+ org: z.string().optional(),
884
+ repo: z.string().optional(),
719
885
  });
720
886
  /**
721
887
  * @internal
@@ -754,14 +920,14 @@ export const GetDeploymentGitSource8$inboundSchema = z.object({
754
920
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema,
755
921
  ref: z.string(),
756
922
  sha: z.string(),
757
- projectId: z.number(),
923
+ gitUrl: z.string(),
758
924
  });
759
925
  /** @internal */
760
926
  export const GetDeploymentGitSource8$outboundSchema = z.object({
761
927
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$outboundSchema,
762
928
  ref: z.string(),
763
929
  sha: z.string(),
764
- projectId: z.number(),
930
+ gitUrl: z.string(),
765
931
  });
766
932
  /**
767
933
  * @internal
@@ -798,20 +964,20 @@ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBo
798
964
  /** @internal */
799
965
  export const GetDeploymentGitSource7$inboundSchema = z.object({
800
966
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema,
801
- ref: z.string(),
802
- sha: z.string(),
803
- repoId: z.number(),
804
- org: z.string().optional(),
805
- repo: z.string().optional(),
967
+ owner: z.string(),
968
+ slug: z.string(),
969
+ ref: z.nullable(z.string()).optional(),
970
+ sha: z.string().optional(),
971
+ prId: z.nullable(z.number()).optional(),
806
972
  });
807
973
  /** @internal */
808
974
  export const GetDeploymentGitSource7$outboundSchema = z.object({
809
975
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$outboundSchema,
810
- ref: z.string(),
811
- sha: z.string(),
812
- repoId: z.number(),
813
- org: z.string().optional(),
814
- repo: z.string().optional(),
976
+ owner: z.string(),
977
+ slug: z.string(),
978
+ ref: z.nullable(z.string()).optional(),
979
+ sha: z.string().optional(),
980
+ prId: z.nullable(z.number()).optional(),
815
981
  });
816
982
  /**
817
983
  * @internal
@@ -848,16 +1014,20 @@ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBo
848
1014
  /** @internal */
849
1015
  export const GetDeploymentGitSource6$inboundSchema = z.object({
850
1016
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema,
851
- ref: z.string(),
852
- sha: z.string(),
853
- gitUrl: z.string(),
1017
+ workspaceUuid: z.string().optional(),
1018
+ repoUuid: z.string(),
1019
+ ref: z.nullable(z.string()).optional(),
1020
+ sha: z.string().optional(),
1021
+ prId: z.nullable(z.number()).optional(),
854
1022
  });
855
1023
  /** @internal */
856
1024
  export const GetDeploymentGitSource6$outboundSchema = z.object({
857
1025
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$outboundSchema,
858
- ref: z.string(),
859
- sha: z.string(),
860
- gitUrl: z.string(),
1026
+ workspaceUuid: z.string().optional(),
1027
+ repoUuid: z.string(),
1028
+ ref: z.nullable(z.string()).optional(),
1029
+ sha: z.string().optional(),
1030
+ prId: z.nullable(z.number()).optional(),
861
1031
  });
862
1032
  /**
863
1033
  * @internal
@@ -892,10 +1062,30 @@ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBo
892
1062
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$.outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$outboundSchema;
893
1063
  })(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$ || (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$ = {}));
894
1064
  /** @internal */
1065
+ export const GetDeploymentGitSourceDeploymentsProjectId$inboundSchema = z.union([z.string(), z.number()]);
1066
+ /** @internal */
1067
+ export const GetDeploymentGitSourceDeploymentsProjectId$outboundSchema = z.union([z.string(), z.number()]);
1068
+ /**
1069
+ * @internal
1070
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1071
+ */
1072
+ export var GetDeploymentGitSourceDeploymentsProjectId$;
1073
+ (function (GetDeploymentGitSourceDeploymentsProjectId$) {
1074
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$inboundSchema` instead. */
1075
+ GetDeploymentGitSourceDeploymentsProjectId$.inboundSchema = GetDeploymentGitSourceDeploymentsProjectId$inboundSchema;
1076
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$outboundSchema` instead. */
1077
+ GetDeploymentGitSourceDeploymentsProjectId$.outboundSchema = GetDeploymentGitSourceDeploymentsProjectId$outboundSchema;
1078
+ })(GetDeploymentGitSourceDeploymentsProjectId$ || (GetDeploymentGitSourceDeploymentsProjectId$ = {}));
1079
+ export function getDeploymentGitSourceDeploymentsProjectIdToJSON(getDeploymentGitSourceDeploymentsProjectId) {
1080
+ return JSON.stringify(GetDeploymentGitSourceDeploymentsProjectId$outboundSchema.parse(getDeploymentGitSourceDeploymentsProjectId));
1081
+ }
1082
+ export function getDeploymentGitSourceDeploymentsProjectIdFromJSON(jsonString) {
1083
+ return safeParse(jsonString, (x) => GetDeploymentGitSourceDeploymentsProjectId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSourceDeploymentsProjectId' from JSON`);
1084
+ }
1085
+ /** @internal */
895
1086
  export const GetDeploymentGitSource5$inboundSchema = z.object({
896
1087
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$inboundSchema,
897
- owner: z.string(),
898
- slug: z.string(),
1088
+ projectId: z.union([z.string(), z.number()]),
899
1089
  ref: z.nullable(z.string()).optional(),
900
1090
  sha: z.string().optional(),
901
1091
  prId: z.nullable(z.number()).optional(),
@@ -903,8 +1093,7 @@ export const GetDeploymentGitSource5$inboundSchema = z.object({
903
1093
  /** @internal */
904
1094
  export const GetDeploymentGitSource5$outboundSchema = z.object({
905
1095
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$outboundSchema,
906
- owner: z.string(),
907
- slug: z.string(),
1096
+ projectId: z.union([z.string(), z.number()]),
908
1097
  ref: z.nullable(z.string()).optional(),
909
1098
  sha: z.string().optional(),
910
1099
  prId: z.nullable(z.number()).optional(),
@@ -944,8 +1133,9 @@ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBo
944
1133
  /** @internal */
945
1134
  export const GetDeploymentGitSource4$inboundSchema = z.object({
946
1135
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$inboundSchema,
947
- workspaceUuid: z.string().optional(),
948
- repoUuid: z.string(),
1136
+ host: z.string(),
1137
+ org: z.string(),
1138
+ repo: z.string(),
949
1139
  ref: z.nullable(z.string()).optional(),
950
1140
  sha: z.string().optional(),
951
1141
  prId: z.nullable(z.number()).optional(),
@@ -953,8 +1143,9 @@ export const GetDeploymentGitSource4$inboundSchema = z.object({
953
1143
  /** @internal */
954
1144
  export const GetDeploymentGitSource4$outboundSchema = z.object({
955
1145
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$outboundSchema,
956
- workspaceUuid: z.string().optional(),
957
- repoUuid: z.string(),
1146
+ host: z.string(),
1147
+ org: z.string(),
1148
+ repo: z.string(),
958
1149
  ref: z.nullable(z.string()).optional(),
959
1150
  sha: z.string().optional(),
960
1151
  prId: z.nullable(z.number()).optional(),
@@ -992,30 +1183,31 @@ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBo
992
1183
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$.outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$outboundSchema;
993
1184
  })(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$ || (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$ = {}));
994
1185
  /** @internal */
995
- export const GetDeploymentGitSourceDeploymentsProjectId$inboundSchema = z.union([z.string(), z.number()]);
1186
+ export const GetDeploymentGitSourceDeploymentsRepoId$inboundSchema = z.union([z.string(), z.number()]);
996
1187
  /** @internal */
997
- export const GetDeploymentGitSourceDeploymentsProjectId$outboundSchema = z.union([z.string(), z.number()]);
1188
+ export const GetDeploymentGitSourceDeploymentsRepoId$outboundSchema = z.union([z.string(), z.number()]);
998
1189
  /**
999
1190
  * @internal
1000
1191
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1001
1192
  */
1002
- export var GetDeploymentGitSourceDeploymentsProjectId$;
1003
- (function (GetDeploymentGitSourceDeploymentsProjectId$) {
1004
- /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$inboundSchema` instead. */
1005
- GetDeploymentGitSourceDeploymentsProjectId$.inboundSchema = GetDeploymentGitSourceDeploymentsProjectId$inboundSchema;
1006
- /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$outboundSchema` instead. */
1007
- GetDeploymentGitSourceDeploymentsProjectId$.outboundSchema = GetDeploymentGitSourceDeploymentsProjectId$outboundSchema;
1008
- })(GetDeploymentGitSourceDeploymentsProjectId$ || (GetDeploymentGitSourceDeploymentsProjectId$ = {}));
1009
- export function getDeploymentGitSourceDeploymentsProjectIdToJSON(getDeploymentGitSourceDeploymentsProjectId) {
1010
- return JSON.stringify(GetDeploymentGitSourceDeploymentsProjectId$outboundSchema.parse(getDeploymentGitSourceDeploymentsProjectId));
1193
+ export var GetDeploymentGitSourceDeploymentsRepoId$;
1194
+ (function (GetDeploymentGitSourceDeploymentsRepoId$) {
1195
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$inboundSchema` instead. */
1196
+ GetDeploymentGitSourceDeploymentsRepoId$.inboundSchema = GetDeploymentGitSourceDeploymentsRepoId$inboundSchema;
1197
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$outboundSchema` instead. */
1198
+ GetDeploymentGitSourceDeploymentsRepoId$.outboundSchema = GetDeploymentGitSourceDeploymentsRepoId$outboundSchema;
1199
+ })(GetDeploymentGitSourceDeploymentsRepoId$ || (GetDeploymentGitSourceDeploymentsRepoId$ = {}));
1200
+ export function getDeploymentGitSourceDeploymentsRepoIdToJSON(getDeploymentGitSourceDeploymentsRepoId) {
1201
+ return JSON.stringify(GetDeploymentGitSourceDeploymentsRepoId$outboundSchema.parse(getDeploymentGitSourceDeploymentsRepoId));
1011
1202
  }
1012
- export function getDeploymentGitSourceDeploymentsProjectIdFromJSON(jsonString) {
1013
- return safeParse(jsonString, (x) => GetDeploymentGitSourceDeploymentsProjectId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSourceDeploymentsProjectId' from JSON`);
1203
+ export function getDeploymentGitSourceDeploymentsRepoIdFromJSON(jsonString) {
1204
+ return safeParse(jsonString, (x) => GetDeploymentGitSourceDeploymentsRepoId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSourceDeploymentsRepoId' from JSON`);
1014
1205
  }
1015
1206
  /** @internal */
1016
1207
  export const GetDeploymentGitSource3$inboundSchema = z.object({
1017
1208
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$inboundSchema,
1018
- projectId: z.union([z.string(), z.number()]),
1209
+ host: z.string(),
1210
+ repoId: z.union([z.string(), z.number()]),
1019
1211
  ref: z.nullable(z.string()).optional(),
1020
1212
  sha: z.string().optional(),
1021
1213
  prId: z.nullable(z.number()).optional(),
@@ -1023,7 +1215,8 @@ export const GetDeploymentGitSource3$inboundSchema = z.object({
1023
1215
  /** @internal */
1024
1216
  export const GetDeploymentGitSource3$outboundSchema = z.object({
1025
1217
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$outboundSchema,
1026
- projectId: z.union([z.string(), z.number()]),
1218
+ host: z.string(),
1219
+ repoId: z.union([z.string(), z.number()]),
1027
1220
  ref: z.nullable(z.string()).optional(),
1028
1221
  sha: z.string().optional(),
1029
1222
  prId: z.nullable(z.number()).optional(),
@@ -1111,25 +1304,25 @@ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBo
1111
1304
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$.outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$outboundSchema;
1112
1305
  })(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$ || (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$ = {}));
1113
1306
  /** @internal */
1114
- export const GetDeploymentGitSourceDeploymentsRepoId$inboundSchema = z.union([z.string(), z.number()]);
1307
+ export const GetDeploymentGitSourceRepoId$inboundSchema = z.union([z.string(), z.number()]);
1115
1308
  /** @internal */
1116
- export const GetDeploymentGitSourceDeploymentsRepoId$outboundSchema = z.union([z.string(), z.number()]);
1309
+ export const GetDeploymentGitSourceRepoId$outboundSchema = z.union([z.string(), z.number()]);
1117
1310
  /**
1118
1311
  * @internal
1119
1312
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1120
1313
  */
1121
- export var GetDeploymentGitSourceDeploymentsRepoId$;
1122
- (function (GetDeploymentGitSourceDeploymentsRepoId$) {
1123
- /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$inboundSchema` instead. */
1124
- GetDeploymentGitSourceDeploymentsRepoId$.inboundSchema = GetDeploymentGitSourceDeploymentsRepoId$inboundSchema;
1125
- /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$outboundSchema` instead. */
1126
- GetDeploymentGitSourceDeploymentsRepoId$.outboundSchema = GetDeploymentGitSourceDeploymentsRepoId$outboundSchema;
1127
- })(GetDeploymentGitSourceDeploymentsRepoId$ || (GetDeploymentGitSourceDeploymentsRepoId$ = {}));
1128
- export function getDeploymentGitSourceDeploymentsRepoIdToJSON(getDeploymentGitSourceDeploymentsRepoId) {
1129
- return JSON.stringify(GetDeploymentGitSourceDeploymentsRepoId$outboundSchema.parse(getDeploymentGitSourceDeploymentsRepoId));
1314
+ export var GetDeploymentGitSourceRepoId$;
1315
+ (function (GetDeploymentGitSourceRepoId$) {
1316
+ /** @deprecated use `GetDeploymentGitSourceRepoId$inboundSchema` instead. */
1317
+ GetDeploymentGitSourceRepoId$.inboundSchema = GetDeploymentGitSourceRepoId$inboundSchema;
1318
+ /** @deprecated use `GetDeploymentGitSourceRepoId$outboundSchema` instead. */
1319
+ GetDeploymentGitSourceRepoId$.outboundSchema = GetDeploymentGitSourceRepoId$outboundSchema;
1320
+ })(GetDeploymentGitSourceRepoId$ || (GetDeploymentGitSourceRepoId$ = {}));
1321
+ export function getDeploymentGitSourceRepoIdToJSON(getDeploymentGitSourceRepoId) {
1322
+ return JSON.stringify(GetDeploymentGitSourceRepoId$outboundSchema.parse(getDeploymentGitSourceRepoId));
1130
1323
  }
1131
- export function getDeploymentGitSourceDeploymentsRepoIdFromJSON(jsonString) {
1132
- return safeParse(jsonString, (x) => GetDeploymentGitSourceDeploymentsRepoId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSourceDeploymentsRepoId' from JSON`);
1324
+ export function getDeploymentGitSourceRepoIdFromJSON(jsonString) {
1325
+ return safeParse(jsonString, (x) => GetDeploymentGitSourceRepoId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSourceRepoId' from JSON`);
1133
1326
  }
1134
1327
  /** @internal */
1135
1328
  export const GetDeploymentGitSource1$inboundSchema = z.object({
@@ -1166,27 +1359,33 @@ export function getDeploymentGitSource1FromJSON(jsonString) {
1166
1359
  }
1167
1360
  /** @internal */
1168
1361
  export const ResponseBodyGitSource$inboundSchema = z.union([
1169
- z.lazy(() => GetDeploymentGitSource6$inboundSchema),
1170
1362
  z.lazy(() => GetDeploymentGitSource8$inboundSchema),
1171
- z.lazy(() => GetDeploymentGitSource1$inboundSchema),
1172
- z.lazy(() => GetDeploymentGitSource3$inboundSchema),
1173
- z.lazy(() => GetDeploymentGitSource2$inboundSchema),
1174
- z.lazy(() => GetDeploymentGitSource4$inboundSchema),
1363
+ z.lazy(() => GetDeploymentGitSource11$inboundSchema),
1364
+ z.lazy(() => GetDeploymentGitSource1$inboundSchema),
1175
1365
  z.lazy(() => GetDeploymentGitSource5$inboundSchema),
1366
+ z.lazy(() => GetDeploymentGitSource2$inboundSchema),
1367
+ z.lazy(() => GetDeploymentGitSource3$inboundSchema),
1368
+ z.lazy(() => GetDeploymentGitSource6$inboundSchema),
1176
1369
  z.lazy(() => GetDeploymentGitSource7$inboundSchema),
1177
1370
  z.lazy(() => GetDeploymentGitSource9$inboundSchema),
1371
+ z.lazy(() => GetDeploymentGitSource4$inboundSchema),
1372
+ z.lazy(() => GetDeploymentGitSource10$inboundSchema),
1373
+ z.lazy(() => GetDeploymentGitSource12$inboundSchema),
1178
1374
  ]);
1179
1375
  /** @internal */
1180
1376
  export const ResponseBodyGitSource$outboundSchema = z.union([
1181
- z.lazy(() => GetDeploymentGitSource6$outboundSchema),
1182
1377
  z.lazy(() => GetDeploymentGitSource8$outboundSchema),
1378
+ z.lazy(() => GetDeploymentGitSource11$outboundSchema),
1183
1379
  z.lazy(() => GetDeploymentGitSource1$outboundSchema),
1184
- z.lazy(() => GetDeploymentGitSource3$outboundSchema),
1185
- z.lazy(() => GetDeploymentGitSource2$outboundSchema),
1186
- z.lazy(() => GetDeploymentGitSource4$outboundSchema),
1187
1380
  z.lazy(() => GetDeploymentGitSource5$outboundSchema),
1381
+ z.lazy(() => GetDeploymentGitSource2$outboundSchema),
1382
+ z.lazy(() => GetDeploymentGitSource3$outboundSchema),
1383
+ z.lazy(() => GetDeploymentGitSource6$outboundSchema),
1188
1384
  z.lazy(() => GetDeploymentGitSource7$outboundSchema),
1189
1385
  z.lazy(() => GetDeploymentGitSource9$outboundSchema),
1386
+ z.lazy(() => GetDeploymentGitSource4$outboundSchema),
1387
+ z.lazy(() => GetDeploymentGitSource10$outboundSchema),
1388
+ z.lazy(() => GetDeploymentGitSource12$outboundSchema),
1190
1389
  ]);
1191
1390
  /**
1192
1391
  * @internal
@@ -1336,6 +1535,7 @@ export const GetDeploymentResponseBody2$inboundSchema = z.object({
1336
1535
  aliasAssigned: z.boolean(),
1337
1536
  bootedAt: z.number(),
1338
1537
  buildingAt: z.number(),
1538
+ buildContainerFinishedAt: z.number().optional(),
1339
1539
  buildSkipped: z.boolean(),
1340
1540
  creator: z.lazy(() => GetDeploymentResponseBodyCreator$inboundSchema),
1341
1541
  initReadyAt: z.number().optional(),
@@ -1376,15 +1576,18 @@ export const GetDeploymentResponseBody2$inboundSchema = z.object({
1376
1576
  errorStep: z.string().optional(),
1377
1577
  passiveRegions: z.array(z.string()).optional(),
1378
1578
  gitSource: z.union([
1379
- z.lazy(() => GetDeploymentGitSource6$inboundSchema),
1380
1579
  z.lazy(() => GetDeploymentGitSource8$inboundSchema),
1580
+ z.lazy(() => GetDeploymentGitSource11$inboundSchema),
1381
1581
  z.lazy(() => GetDeploymentGitSource1$inboundSchema),
1382
- z.lazy(() => GetDeploymentGitSource3$inboundSchema),
1383
- z.lazy(() => GetDeploymentGitSource2$inboundSchema),
1384
- z.lazy(() => GetDeploymentGitSource4$inboundSchema),
1385
1582
  z.lazy(() => GetDeploymentGitSource5$inboundSchema),
1583
+ z.lazy(() => GetDeploymentGitSource2$inboundSchema),
1584
+ z.lazy(() => GetDeploymentGitSource3$inboundSchema),
1585
+ z.lazy(() => GetDeploymentGitSource6$inboundSchema),
1386
1586
  z.lazy(() => GetDeploymentGitSource7$inboundSchema),
1387
1587
  z.lazy(() => GetDeploymentGitSource9$inboundSchema),
1588
+ z.lazy(() => GetDeploymentGitSource4$inboundSchema),
1589
+ z.lazy(() => GetDeploymentGitSource10$inboundSchema),
1590
+ z.lazy(() => GetDeploymentGitSource12$inboundSchema),
1388
1591
  ]).optional(),
1389
1592
  meta: z.record(z.string()),
1390
1593
  originCacheRegion: z.string().optional(),
@@ -1407,6 +1610,7 @@ export const GetDeploymentResponseBody2$outboundSchema = z.object({
1407
1610
  aliasAssigned: z.boolean(),
1408
1611
  bootedAt: z.number(),
1409
1612
  buildingAt: z.number(),
1613
+ buildContainerFinishedAt: z.number().optional(),
1410
1614
  buildSkipped: z.boolean(),
1411
1615
  creator: z.lazy(() => GetDeploymentResponseBodyCreator$outboundSchema),
1412
1616
  initReadyAt: z.number().optional(),
@@ -1446,15 +1650,18 @@ export const GetDeploymentResponseBody2$outboundSchema = z.object({
1446
1650
  errorStep: z.string().optional(),
1447
1651
  passiveRegions: z.array(z.string()).optional(),
1448
1652
  gitSource: z.union([
1449
- z.lazy(() => GetDeploymentGitSource6$outboundSchema),
1450
1653
  z.lazy(() => GetDeploymentGitSource8$outboundSchema),
1654
+ z.lazy(() => GetDeploymentGitSource11$outboundSchema),
1451
1655
  z.lazy(() => GetDeploymentGitSource1$outboundSchema),
1452
- z.lazy(() => GetDeploymentGitSource3$outboundSchema),
1453
- z.lazy(() => GetDeploymentGitSource2$outboundSchema),
1454
- z.lazy(() => GetDeploymentGitSource4$outboundSchema),
1455
1656
  z.lazy(() => GetDeploymentGitSource5$outboundSchema),
1657
+ z.lazy(() => GetDeploymentGitSource2$outboundSchema),
1658
+ z.lazy(() => GetDeploymentGitSource3$outboundSchema),
1659
+ z.lazy(() => GetDeploymentGitSource6$outboundSchema),
1456
1660
  z.lazy(() => GetDeploymentGitSource7$outboundSchema),
1457
1661
  z.lazy(() => GetDeploymentGitSource9$outboundSchema),
1662
+ z.lazy(() => GetDeploymentGitSource4$outboundSchema),
1663
+ z.lazy(() => GetDeploymentGitSource10$outboundSchema),
1664
+ z.lazy(() => GetDeploymentGitSource12$outboundSchema),
1458
1665
  ]).optional(),
1459
1666
  meta: z.record(z.string()),
1460
1667
  originCacheRegion: z.string().optional(),
@@ -2235,6 +2442,156 @@ export var ResponseBodyChecksConclusion$;
2235
2442
  ResponseBodyChecksConclusion$.outboundSchema = ResponseBodyChecksConclusion$outboundSchema;
2236
2443
  })(ResponseBodyChecksConclusion$ || (ResponseBodyChecksConclusion$ = {}));
2237
2444
  /** @internal */
2445
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$inboundSchema = z.nativeEnum(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type);
2446
+ /** @internal */
2447
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$inboundSchema;
2448
+ /**
2449
+ * @internal
2450
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2451
+ */
2452
+ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$;
2453
+ (function (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$) {
2454
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$inboundSchema` instead. */
2455
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$.inboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$inboundSchema;
2456
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$outboundSchema` instead. */
2457
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$.outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$outboundSchema;
2458
+ })(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$ || (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$ = {}));
2459
+ /** @internal */
2460
+ export const GetDeploymentGitSourceDeployments12$inboundSchema = z.object({
2461
+ type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$inboundSchema,
2462
+ ref: z.string(),
2463
+ sha: z.string(),
2464
+ owner: z.string().optional(),
2465
+ slug: z.string().optional(),
2466
+ workspaceUuid: z.string(),
2467
+ repoUuid: z.string(),
2468
+ });
2469
+ /** @internal */
2470
+ export const GetDeploymentGitSourceDeployments12$outboundSchema = z.object({
2471
+ type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$outboundSchema,
2472
+ ref: z.string(),
2473
+ sha: z.string(),
2474
+ owner: z.string().optional(),
2475
+ slug: z.string().optional(),
2476
+ workspaceUuid: z.string(),
2477
+ repoUuid: z.string(),
2478
+ });
2479
+ /**
2480
+ * @internal
2481
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2482
+ */
2483
+ export var GetDeploymentGitSourceDeployments12$;
2484
+ (function (GetDeploymentGitSourceDeployments12$) {
2485
+ /** @deprecated use `GetDeploymentGitSourceDeployments12$inboundSchema` instead. */
2486
+ GetDeploymentGitSourceDeployments12$.inboundSchema = GetDeploymentGitSourceDeployments12$inboundSchema;
2487
+ /** @deprecated use `GetDeploymentGitSourceDeployments12$outboundSchema` instead. */
2488
+ GetDeploymentGitSourceDeployments12$.outboundSchema = GetDeploymentGitSourceDeployments12$outboundSchema;
2489
+ })(GetDeploymentGitSourceDeployments12$ || (GetDeploymentGitSourceDeployments12$ = {}));
2490
+ export function getDeploymentGitSourceDeployments12ToJSON(getDeploymentGitSourceDeployments12) {
2491
+ return JSON.stringify(GetDeploymentGitSourceDeployments12$outboundSchema.parse(getDeploymentGitSourceDeployments12));
2492
+ }
2493
+ export function getDeploymentGitSourceDeployments12FromJSON(jsonString) {
2494
+ return safeParse(jsonString, (x) => GetDeploymentGitSourceDeployments12$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSourceDeployments12' from JSON`);
2495
+ }
2496
+ /** @internal */
2497
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$inboundSchema = z.nativeEnum(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type);
2498
+ /** @internal */
2499
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$inboundSchema;
2500
+ /**
2501
+ * @internal
2502
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2503
+ */
2504
+ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$;
2505
+ (function (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$) {
2506
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$inboundSchema` instead. */
2507
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$.inboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$inboundSchema;
2508
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$outboundSchema` instead. */
2509
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$.outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$outboundSchema;
2510
+ })(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$ || (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$ = {}));
2511
+ /** @internal */
2512
+ export const GetDeploymentGitSourceDeployments11$inboundSchema = z.object({
2513
+ type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$inboundSchema,
2514
+ ref: z.string(),
2515
+ sha: z.string(),
2516
+ projectId: z.number(),
2517
+ });
2518
+ /** @internal */
2519
+ export const GetDeploymentGitSourceDeployments11$outboundSchema = z.object({
2520
+ type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$outboundSchema,
2521
+ ref: z.string(),
2522
+ sha: z.string(),
2523
+ projectId: z.number(),
2524
+ });
2525
+ /**
2526
+ * @internal
2527
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2528
+ */
2529
+ export var GetDeploymentGitSourceDeployments11$;
2530
+ (function (GetDeploymentGitSourceDeployments11$) {
2531
+ /** @deprecated use `GetDeploymentGitSourceDeployments11$inboundSchema` instead. */
2532
+ GetDeploymentGitSourceDeployments11$.inboundSchema = GetDeploymentGitSourceDeployments11$inboundSchema;
2533
+ /** @deprecated use `GetDeploymentGitSourceDeployments11$outboundSchema` instead. */
2534
+ GetDeploymentGitSourceDeployments11$.outboundSchema = GetDeploymentGitSourceDeployments11$outboundSchema;
2535
+ })(GetDeploymentGitSourceDeployments11$ || (GetDeploymentGitSourceDeployments11$ = {}));
2536
+ export function getDeploymentGitSourceDeployments11ToJSON(getDeploymentGitSourceDeployments11) {
2537
+ return JSON.stringify(GetDeploymentGitSourceDeployments11$outboundSchema.parse(getDeploymentGitSourceDeployments11));
2538
+ }
2539
+ export function getDeploymentGitSourceDeployments11FromJSON(jsonString) {
2540
+ return safeParse(jsonString, (x) => GetDeploymentGitSourceDeployments11$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSourceDeployments11' from JSON`);
2541
+ }
2542
+ /** @internal */
2543
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema = z.nativeEnum(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type);
2544
+ /** @internal */
2545
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema;
2546
+ /**
2547
+ * @internal
2548
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2549
+ */
2550
+ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$;
2551
+ (function (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$) {
2552
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema` instead. */
2553
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$.inboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema;
2554
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$outboundSchema` instead. */
2555
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$.outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$outboundSchema;
2556
+ })(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$ || (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$ = {}));
2557
+ /** @internal */
2558
+ export const GetDeploymentGitSourceDeployments10$inboundSchema = z.object({
2559
+ type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema,
2560
+ host: z.string(),
2561
+ ref: z.string(),
2562
+ sha: z.string(),
2563
+ repoId: z.number(),
2564
+ org: z.string().optional(),
2565
+ repo: z.string().optional(),
2566
+ });
2567
+ /** @internal */
2568
+ export const GetDeploymentGitSourceDeployments10$outboundSchema = z.object({
2569
+ type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$outboundSchema,
2570
+ host: z.string(),
2571
+ ref: z.string(),
2572
+ sha: z.string(),
2573
+ repoId: z.number(),
2574
+ org: z.string().optional(),
2575
+ repo: z.string().optional(),
2576
+ });
2577
+ /**
2578
+ * @internal
2579
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2580
+ */
2581
+ export var GetDeploymentGitSourceDeployments10$;
2582
+ (function (GetDeploymentGitSourceDeployments10$) {
2583
+ /** @deprecated use `GetDeploymentGitSourceDeployments10$inboundSchema` instead. */
2584
+ GetDeploymentGitSourceDeployments10$.inboundSchema = GetDeploymentGitSourceDeployments10$inboundSchema;
2585
+ /** @deprecated use `GetDeploymentGitSourceDeployments10$outboundSchema` instead. */
2586
+ GetDeploymentGitSourceDeployments10$.outboundSchema = GetDeploymentGitSourceDeployments10$outboundSchema;
2587
+ })(GetDeploymentGitSourceDeployments10$ || (GetDeploymentGitSourceDeployments10$ = {}));
2588
+ export function getDeploymentGitSourceDeployments10ToJSON(getDeploymentGitSourceDeployments10) {
2589
+ return JSON.stringify(GetDeploymentGitSourceDeployments10$outboundSchema.parse(getDeploymentGitSourceDeployments10));
2590
+ }
2591
+ export function getDeploymentGitSourceDeployments10FromJSON(jsonString) {
2592
+ return safeParse(jsonString, (x) => GetDeploymentGitSourceDeployments10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSourceDeployments10' from JSON`);
2593
+ }
2594
+ /** @internal */
2238
2595
  export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema = z.nativeEnum(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type);
2239
2596
  /** @internal */
2240
2597
  export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema;
@@ -2254,20 +2611,18 @@ export const GetDeploymentGitSourceDeployments9$inboundSchema = z.object({
2254
2611
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema,
2255
2612
  ref: z.string(),
2256
2613
  sha: z.string(),
2257
- owner: z.string().optional(),
2258
- slug: z.string().optional(),
2259
- workspaceUuid: z.string(),
2260
- repoUuid: z.string(),
2614
+ repoId: z.number(),
2615
+ org: z.string().optional(),
2616
+ repo: z.string().optional(),
2261
2617
  });
2262
2618
  /** @internal */
2263
2619
  export const GetDeploymentGitSourceDeployments9$outboundSchema = z.object({
2264
2620
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$outboundSchema,
2265
2621
  ref: z.string(),
2266
2622
  sha: z.string(),
2267
- owner: z.string().optional(),
2268
- slug: z.string().optional(),
2269
- workspaceUuid: z.string(),
2270
- repoUuid: z.string(),
2623
+ repoId: z.number(),
2624
+ org: z.string().optional(),
2625
+ repo: z.string().optional(),
2271
2626
  });
2272
2627
  /**
2273
2628
  * @internal
@@ -2306,14 +2661,14 @@ export const GetDeploymentGitSourceDeployments8$inboundSchema = z.object({
2306
2661
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$inboundSchema,
2307
2662
  ref: z.string(),
2308
2663
  sha: z.string(),
2309
- projectId: z.number(),
2664
+ gitUrl: z.string(),
2310
2665
  });
2311
2666
  /** @internal */
2312
2667
  export const GetDeploymentGitSourceDeployments8$outboundSchema = z.object({
2313
2668
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$outboundSchema,
2314
2669
  ref: z.string(),
2315
2670
  sha: z.string(),
2316
- projectId: z.number(),
2671
+ gitUrl: z.string(),
2317
2672
  });
2318
2673
  /**
2319
2674
  * @internal
@@ -2350,20 +2705,20 @@ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBo
2350
2705
  /** @internal */
2351
2706
  export const GetDeploymentGitSourceDeployments7$inboundSchema = z.object({
2352
2707
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema,
2353
- ref: z.string(),
2354
- sha: z.string(),
2355
- repoId: z.number(),
2356
- org: z.string().optional(),
2357
- repo: z.string().optional(),
2708
+ owner: z.string(),
2709
+ slug: z.string(),
2710
+ ref: z.nullable(z.string()).optional(),
2711
+ sha: z.string().optional(),
2712
+ prId: z.nullable(z.number()).optional(),
2358
2713
  });
2359
2714
  /** @internal */
2360
2715
  export const GetDeploymentGitSourceDeployments7$outboundSchema = z.object({
2361
2716
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema,
2362
- ref: z.string(),
2363
- sha: z.string(),
2364
- repoId: z.number(),
2365
- org: z.string().optional(),
2366
- repo: z.string().optional(),
2717
+ owner: z.string(),
2718
+ slug: z.string(),
2719
+ ref: z.nullable(z.string()).optional(),
2720
+ sha: z.string().optional(),
2721
+ prId: z.nullable(z.number()).optional(),
2367
2722
  });
2368
2723
  /**
2369
2724
  * @internal
@@ -2400,16 +2755,20 @@ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$;
2400
2755
  /** @internal */
2401
2756
  export const GetDeploymentGitSourceDeployments6$inboundSchema = z.object({
2402
2757
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema,
2403
- ref: z.string(),
2404
- sha: z.string(),
2405
- gitUrl: z.string(),
2758
+ workspaceUuid: z.string().optional(),
2759
+ repoUuid: z.string(),
2760
+ ref: z.nullable(z.string()).optional(),
2761
+ sha: z.string().optional(),
2762
+ prId: z.nullable(z.number()).optional(),
2406
2763
  });
2407
2764
  /** @internal */
2408
2765
  export const GetDeploymentGitSourceDeployments6$outboundSchema = z.object({
2409
2766
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema,
2410
- ref: z.string(),
2411
- sha: z.string(),
2412
- gitUrl: z.string(),
2767
+ workspaceUuid: z.string().optional(),
2768
+ repoUuid: z.string(),
2769
+ ref: z.nullable(z.string()).optional(),
2770
+ sha: z.string().optional(),
2771
+ prId: z.nullable(z.number()).optional(),
2413
2772
  });
2414
2773
  /**
2415
2774
  * @internal
@@ -2445,10 +2804,30 @@ export var GetDeploymentGitSourceDeploymentsResponse200Type$;
2445
2804
  GetDeploymentGitSourceDeploymentsResponse200Type$.outboundSchema = GetDeploymentGitSourceDeploymentsResponse200Type$outboundSchema;
2446
2805
  })(GetDeploymentGitSourceDeploymentsResponse200Type$ || (GetDeploymentGitSourceDeploymentsResponse200Type$ = {}));
2447
2806
  /** @internal */
2807
+ export const GetDeploymentGitSourceProjectId$inboundSchema = z.union([z.string(), z.number()]);
2808
+ /** @internal */
2809
+ export const GetDeploymentGitSourceProjectId$outboundSchema = z.union([z.string(), z.number()]);
2810
+ /**
2811
+ * @internal
2812
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2813
+ */
2814
+ export var GetDeploymentGitSourceProjectId$;
2815
+ (function (GetDeploymentGitSourceProjectId$) {
2816
+ /** @deprecated use `GetDeploymentGitSourceProjectId$inboundSchema` instead. */
2817
+ GetDeploymentGitSourceProjectId$.inboundSchema = GetDeploymentGitSourceProjectId$inboundSchema;
2818
+ /** @deprecated use `GetDeploymentGitSourceProjectId$outboundSchema` instead. */
2819
+ GetDeploymentGitSourceProjectId$.outboundSchema = GetDeploymentGitSourceProjectId$outboundSchema;
2820
+ })(GetDeploymentGitSourceProjectId$ || (GetDeploymentGitSourceProjectId$ = {}));
2821
+ export function getDeploymentGitSourceProjectIdToJSON(getDeploymentGitSourceProjectId) {
2822
+ return JSON.stringify(GetDeploymentGitSourceProjectId$outboundSchema.parse(getDeploymentGitSourceProjectId));
2823
+ }
2824
+ export function getDeploymentGitSourceProjectIdFromJSON(jsonString) {
2825
+ return safeParse(jsonString, (x) => GetDeploymentGitSourceProjectId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSourceProjectId' from JSON`);
2826
+ }
2827
+ /** @internal */
2448
2828
  export const GetDeploymentGitSourceDeployments5$inboundSchema = z.object({
2449
2829
  type: GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema,
2450
- owner: z.string(),
2451
- slug: z.string(),
2830
+ projectId: z.union([z.string(), z.number()]),
2452
2831
  ref: z.nullable(z.string()).optional(),
2453
2832
  sha: z.string().optional(),
2454
2833
  prId: z.nullable(z.number()).optional(),
@@ -2456,8 +2835,7 @@ export const GetDeploymentGitSourceDeployments5$inboundSchema = z.object({
2456
2835
  /** @internal */
2457
2836
  export const GetDeploymentGitSourceDeployments5$outboundSchema = z.object({
2458
2837
  type: GetDeploymentGitSourceDeploymentsResponse200Type$outboundSchema,
2459
- owner: z.string(),
2460
- slug: z.string(),
2838
+ projectId: z.union([z.string(), z.number()]),
2461
2839
  ref: z.nullable(z.string()).optional(),
2462
2840
  sha: z.string().optional(),
2463
2841
  prId: z.nullable(z.number()).optional(),
@@ -2498,8 +2876,9 @@ export var GetDeploymentGitSourceDeploymentsResponseType$;
2498
2876
  /** @internal */
2499
2877
  export const GetDeploymentGitSourceDeployments4$inboundSchema = z.object({
2500
2878
  type: GetDeploymentGitSourceDeploymentsResponseType$inboundSchema,
2501
- workspaceUuid: z.string().optional(),
2502
- repoUuid: z.string(),
2879
+ host: z.string(),
2880
+ org: z.string(),
2881
+ repo: z.string(),
2503
2882
  ref: z.nullable(z.string()).optional(),
2504
2883
  sha: z.string().optional(),
2505
2884
  prId: z.nullable(z.number()).optional(),
@@ -2507,8 +2886,9 @@ export const GetDeploymentGitSourceDeployments4$inboundSchema = z.object({
2507
2886
  /** @internal */
2508
2887
  export const GetDeploymentGitSourceDeployments4$outboundSchema = z.object({
2509
2888
  type: GetDeploymentGitSourceDeploymentsResponseType$outboundSchema,
2510
- workspaceUuid: z.string().optional(),
2511
- repoUuid: z.string(),
2889
+ host: z.string(),
2890
+ org: z.string(),
2891
+ repo: z.string(),
2512
2892
  ref: z.nullable(z.string()).optional(),
2513
2893
  sha: z.string().optional(),
2514
2894
  prId: z.nullable(z.number()).optional(),
@@ -2546,30 +2926,31 @@ export var GetDeploymentGitSourceDeploymentsType$;
2546
2926
  GetDeploymentGitSourceDeploymentsType$.outboundSchema = GetDeploymentGitSourceDeploymentsType$outboundSchema;
2547
2927
  })(GetDeploymentGitSourceDeploymentsType$ || (GetDeploymentGitSourceDeploymentsType$ = {}));
2548
2928
  /** @internal */
2549
- export const GetDeploymentGitSourceProjectId$inboundSchema = z.union([z.string(), z.number()]);
2929
+ export const GetDeploymentGitSourceDeploymentsResponse200RepoId$inboundSchema = z.union([z.string(), z.number()]);
2550
2930
  /** @internal */
2551
- export const GetDeploymentGitSourceProjectId$outboundSchema = z.union([z.string(), z.number()]);
2931
+ export const GetDeploymentGitSourceDeploymentsResponse200RepoId$outboundSchema = z.union([z.string(), z.number()]);
2552
2932
  /**
2553
2933
  * @internal
2554
2934
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2555
2935
  */
2556
- export var GetDeploymentGitSourceProjectId$;
2557
- (function (GetDeploymentGitSourceProjectId$) {
2558
- /** @deprecated use `GetDeploymentGitSourceProjectId$inboundSchema` instead. */
2559
- GetDeploymentGitSourceProjectId$.inboundSchema = GetDeploymentGitSourceProjectId$inboundSchema;
2560
- /** @deprecated use `GetDeploymentGitSourceProjectId$outboundSchema` instead. */
2561
- GetDeploymentGitSourceProjectId$.outboundSchema = GetDeploymentGitSourceProjectId$outboundSchema;
2562
- })(GetDeploymentGitSourceProjectId$ || (GetDeploymentGitSourceProjectId$ = {}));
2563
- export function getDeploymentGitSourceProjectIdToJSON(getDeploymentGitSourceProjectId) {
2564
- return JSON.stringify(GetDeploymentGitSourceProjectId$outboundSchema.parse(getDeploymentGitSourceProjectId));
2936
+ export var GetDeploymentGitSourceDeploymentsResponse200RepoId$;
2937
+ (function (GetDeploymentGitSourceDeploymentsResponse200RepoId$) {
2938
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200RepoId$inboundSchema` instead. */
2939
+ GetDeploymentGitSourceDeploymentsResponse200RepoId$.inboundSchema = GetDeploymentGitSourceDeploymentsResponse200RepoId$inboundSchema;
2940
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200RepoId$outboundSchema` instead. */
2941
+ GetDeploymentGitSourceDeploymentsResponse200RepoId$.outboundSchema = GetDeploymentGitSourceDeploymentsResponse200RepoId$outboundSchema;
2942
+ })(GetDeploymentGitSourceDeploymentsResponse200RepoId$ || (GetDeploymentGitSourceDeploymentsResponse200RepoId$ = {}));
2943
+ export function getDeploymentGitSourceDeploymentsResponse200RepoIdToJSON(getDeploymentGitSourceDeploymentsResponse200RepoId) {
2944
+ return JSON.stringify(GetDeploymentGitSourceDeploymentsResponse200RepoId$outboundSchema.parse(getDeploymentGitSourceDeploymentsResponse200RepoId));
2565
2945
  }
2566
- export function getDeploymentGitSourceProjectIdFromJSON(jsonString) {
2567
- return safeParse(jsonString, (x) => GetDeploymentGitSourceProjectId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSourceProjectId' from JSON`);
2946
+ export function getDeploymentGitSourceDeploymentsResponse200RepoIdFromJSON(jsonString) {
2947
+ return safeParse(jsonString, (x) => GetDeploymentGitSourceDeploymentsResponse200RepoId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSourceDeploymentsResponse200RepoId' from JSON`);
2568
2948
  }
2569
2949
  /** @internal */
2570
2950
  export const GetDeploymentGitSourceDeployments3$inboundSchema = z.object({
2571
2951
  type: GetDeploymentGitSourceDeploymentsType$inboundSchema,
2572
- projectId: z.union([z.string(), z.number()]),
2952
+ host: z.string(),
2953
+ repoId: z.union([z.string(), z.number()]),
2573
2954
  ref: z.nullable(z.string()).optional(),
2574
2955
  sha: z.string().optional(),
2575
2956
  prId: z.nullable(z.number()).optional(),
@@ -2577,7 +2958,8 @@ export const GetDeploymentGitSourceDeployments3$inboundSchema = z.object({
2577
2958
  /** @internal */
2578
2959
  export const GetDeploymentGitSourceDeployments3$outboundSchema = z.object({
2579
2960
  type: GetDeploymentGitSourceDeploymentsType$outboundSchema,
2580
- projectId: z.union([z.string(), z.number()]),
2961
+ host: z.string(),
2962
+ repoId: z.union([z.string(), z.number()]),
2581
2963
  ref: z.nullable(z.string()).optional(),
2582
2964
  sha: z.string().optional(),
2583
2965
  prId: z.nullable(z.number()).optional(),
@@ -2665,25 +3047,25 @@ export var GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBo
2665
3047
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$.outboundSchema = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema;
2666
3048
  })(GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$ || (GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$ = {}));
2667
3049
  /** @internal */
2668
- export const GetDeploymentGitSourceRepoId$inboundSchema = z.union([z.string(), z.number()]);
3050
+ export const GetDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema = z.union([z.string(), z.number()]);
2669
3051
  /** @internal */
2670
- export const GetDeploymentGitSourceRepoId$outboundSchema = z.union([z.string(), z.number()]);
3052
+ export const GetDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema = z.union([z.string(), z.number()]);
2671
3053
  /**
2672
3054
  * @internal
2673
3055
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2674
3056
  */
2675
- export var GetDeploymentGitSourceRepoId$;
2676
- (function (GetDeploymentGitSourceRepoId$) {
2677
- /** @deprecated use `GetDeploymentGitSourceRepoId$inboundSchema` instead. */
2678
- GetDeploymentGitSourceRepoId$.inboundSchema = GetDeploymentGitSourceRepoId$inboundSchema;
2679
- /** @deprecated use `GetDeploymentGitSourceRepoId$outboundSchema` instead. */
2680
- GetDeploymentGitSourceRepoId$.outboundSchema = GetDeploymentGitSourceRepoId$outboundSchema;
2681
- })(GetDeploymentGitSourceRepoId$ || (GetDeploymentGitSourceRepoId$ = {}));
2682
- export function getDeploymentGitSourceRepoIdToJSON(getDeploymentGitSourceRepoId) {
2683
- return JSON.stringify(GetDeploymentGitSourceRepoId$outboundSchema.parse(getDeploymentGitSourceRepoId));
3057
+ export var GetDeploymentGitSourceDeploymentsResponseRepoId$;
3058
+ (function (GetDeploymentGitSourceDeploymentsResponseRepoId$) {
3059
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema` instead. */
3060
+ GetDeploymentGitSourceDeploymentsResponseRepoId$.inboundSchema = GetDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema;
3061
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema` instead. */
3062
+ GetDeploymentGitSourceDeploymentsResponseRepoId$.outboundSchema = GetDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema;
3063
+ })(GetDeploymentGitSourceDeploymentsResponseRepoId$ || (GetDeploymentGitSourceDeploymentsResponseRepoId$ = {}));
3064
+ export function getDeploymentGitSourceDeploymentsResponseRepoIdToJSON(getDeploymentGitSourceDeploymentsResponseRepoId) {
3065
+ return JSON.stringify(GetDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema.parse(getDeploymentGitSourceDeploymentsResponseRepoId));
2684
3066
  }
2685
- export function getDeploymentGitSourceRepoIdFromJSON(jsonString) {
2686
- return safeParse(jsonString, (x) => GetDeploymentGitSourceRepoId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSourceRepoId' from JSON`);
3067
+ export function getDeploymentGitSourceDeploymentsResponseRepoIdFromJSON(jsonString) {
3068
+ return safeParse(jsonString, (x) => GetDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetDeploymentGitSourceDeploymentsResponseRepoId' from JSON`);
2687
3069
  }
2688
3070
  /** @internal */
2689
3071
  export const GetDeploymentGitSourceDeployments1$inboundSchema = z.object({
@@ -2720,27 +3102,33 @@ export function getDeploymentGitSourceDeployments1FromJSON(jsonString) {
2720
3102
  }
2721
3103
  /** @internal */
2722
3104
  export const GetDeploymentResponseBodyGitSource$inboundSchema = z.union([
2723
- z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema),
2724
3105
  z.lazy(() => GetDeploymentGitSourceDeployments8$inboundSchema),
3106
+ z.lazy(() => GetDeploymentGitSourceDeployments11$inboundSchema),
2725
3107
  z.lazy(() => GetDeploymentGitSourceDeployments1$inboundSchema),
2726
- z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema),
2727
- z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema),
2728
- z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema),
2729
3108
  z.lazy(() => GetDeploymentGitSourceDeployments5$inboundSchema),
3109
+ z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema),
3110
+ z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema),
3111
+ z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema),
2730
3112
  z.lazy(() => GetDeploymentGitSourceDeployments7$inboundSchema),
2731
3113
  z.lazy(() => GetDeploymentGitSourceDeployments9$inboundSchema),
3114
+ z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema),
3115
+ z.lazy(() => GetDeploymentGitSourceDeployments10$inboundSchema),
3116
+ z.lazy(() => GetDeploymentGitSourceDeployments12$inboundSchema),
2732
3117
  ]);
2733
3118
  /** @internal */
2734
3119
  export const GetDeploymentResponseBodyGitSource$outboundSchema = z.union([
2735
- z.lazy(() => GetDeploymentGitSourceDeployments6$outboundSchema),
2736
3120
  z.lazy(() => GetDeploymentGitSourceDeployments8$outboundSchema),
3121
+ z.lazy(() => GetDeploymentGitSourceDeployments11$outboundSchema),
2737
3122
  z.lazy(() => GetDeploymentGitSourceDeployments1$outboundSchema),
2738
- z.lazy(() => GetDeploymentGitSourceDeployments3$outboundSchema),
2739
- z.lazy(() => GetDeploymentGitSourceDeployments2$outboundSchema),
2740
- z.lazy(() => GetDeploymentGitSourceDeployments4$outboundSchema),
2741
3123
  z.lazy(() => GetDeploymentGitSourceDeployments5$outboundSchema),
3124
+ z.lazy(() => GetDeploymentGitSourceDeployments2$outboundSchema),
3125
+ z.lazy(() => GetDeploymentGitSourceDeployments3$outboundSchema),
3126
+ z.lazy(() => GetDeploymentGitSourceDeployments6$outboundSchema),
2742
3127
  z.lazy(() => GetDeploymentGitSourceDeployments7$outboundSchema),
2743
3128
  z.lazy(() => GetDeploymentGitSourceDeployments9$outboundSchema),
3129
+ z.lazy(() => GetDeploymentGitSourceDeployments4$outboundSchema),
3130
+ z.lazy(() => GetDeploymentGitSourceDeployments10$outboundSchema),
3131
+ z.lazy(() => GetDeploymentGitSourceDeployments12$outboundSchema),
2744
3132
  ]);
2745
3133
  /**
2746
3134
  * @internal
@@ -3963,6 +4351,7 @@ export const GetDeploymentResponseBody1$inboundSchema = z.object({
3963
4351
  aliasAssigned: z.boolean(),
3964
4352
  bootedAt: z.number(),
3965
4353
  buildingAt: z.number(),
4354
+ buildContainerFinishedAt: z.number().optional(),
3966
4355
  buildSkipped: z.boolean(),
3967
4356
  creator: z.lazy(() => ResponseBodyCreator$inboundSchema),
3968
4357
  initReadyAt: z.number().optional(),
@@ -4003,15 +4392,18 @@ export const GetDeploymentResponseBody1$inboundSchema = z.object({
4003
4392
  errorStep: z.string().optional(),
4004
4393
  passiveRegions: z.array(z.string()).optional(),
4005
4394
  gitSource: z.union([
4006
- z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema),
4007
4395
  z.lazy(() => GetDeploymentGitSourceDeployments8$inboundSchema),
4396
+ z.lazy(() => GetDeploymentGitSourceDeployments11$inboundSchema),
4008
4397
  z.lazy(() => GetDeploymentGitSourceDeployments1$inboundSchema),
4009
- z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema),
4010
- z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema),
4011
- z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema),
4012
4398
  z.lazy(() => GetDeploymentGitSourceDeployments5$inboundSchema),
4399
+ z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema),
4400
+ z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema),
4401
+ z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema),
4013
4402
  z.lazy(() => GetDeploymentGitSourceDeployments7$inboundSchema),
4014
4403
  z.lazy(() => GetDeploymentGitSourceDeployments9$inboundSchema),
4404
+ z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema),
4405
+ z.lazy(() => GetDeploymentGitSourceDeployments10$inboundSchema),
4406
+ z.lazy(() => GetDeploymentGitSourceDeployments12$inboundSchema),
4015
4407
  ]).optional(),
4016
4408
  meta: z.record(z.string()),
4017
4409
  originCacheRegion: z.string().optional(),
@@ -4076,6 +4468,7 @@ export const GetDeploymentResponseBody1$outboundSchema = z.object({
4076
4468
  aliasAssigned: z.boolean(),
4077
4469
  bootedAt: z.number(),
4078
4470
  buildingAt: z.number(),
4471
+ buildContainerFinishedAt: z.number().optional(),
4079
4472
  buildSkipped: z.boolean(),
4080
4473
  creator: z.lazy(() => ResponseBodyCreator$outboundSchema),
4081
4474
  initReadyAt: z.number().optional(),
@@ -4115,15 +4508,18 @@ export const GetDeploymentResponseBody1$outboundSchema = z.object({
4115
4508
  errorStep: z.string().optional(),
4116
4509
  passiveRegions: z.array(z.string()).optional(),
4117
4510
  gitSource: z.union([
4118
- z.lazy(() => GetDeploymentGitSourceDeployments6$outboundSchema),
4119
4511
  z.lazy(() => GetDeploymentGitSourceDeployments8$outboundSchema),
4512
+ z.lazy(() => GetDeploymentGitSourceDeployments11$outboundSchema),
4120
4513
  z.lazy(() => GetDeploymentGitSourceDeployments1$outboundSchema),
4121
- z.lazy(() => GetDeploymentGitSourceDeployments3$outboundSchema),
4122
- z.lazy(() => GetDeploymentGitSourceDeployments2$outboundSchema),
4123
- z.lazy(() => GetDeploymentGitSourceDeployments4$outboundSchema),
4124
4514
  z.lazy(() => GetDeploymentGitSourceDeployments5$outboundSchema),
4515
+ z.lazy(() => GetDeploymentGitSourceDeployments2$outboundSchema),
4516
+ z.lazy(() => GetDeploymentGitSourceDeployments3$outboundSchema),
4517
+ z.lazy(() => GetDeploymentGitSourceDeployments6$outboundSchema),
4125
4518
  z.lazy(() => GetDeploymentGitSourceDeployments7$outboundSchema),
4126
4519
  z.lazy(() => GetDeploymentGitSourceDeployments9$outboundSchema),
4520
+ z.lazy(() => GetDeploymentGitSourceDeployments4$outboundSchema),
4521
+ z.lazy(() => GetDeploymentGitSourceDeployments10$outboundSchema),
4522
+ z.lazy(() => GetDeploymentGitSourceDeployments12$outboundSchema),
4127
4523
  ]).optional(),
4128
4524
  meta: z.record(z.string()),
4129
4525
  originCacheRegion: z.string().optional(),