@vercel/sdk 1.6.2 → 1.6.4

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 (271) hide show
  1. package/README.md +2 -10
  2. package/bin/mcp-server.js +4541 -3497
  3. package/bin/mcp-server.js.map +36 -48
  4. package/docs/sdks/edgeconfig/README.md +2 -6
  5. package/docs/sdks/integrations/README.md +0 -161
  6. package/docs/sdks/logdrains/README.md +0 -260
  7. package/docs/sdks/marketplace/README.md +2 -6
  8. package/docs/sdks/security/README.md +90 -0
  9. package/docs/sdks/webhooks/README.md +2 -6
  10. package/esm/__tests__/deployments.test.js +16 -1
  11. package/esm/__tests__/deployments.test.js.map +1 -1
  12. package/esm/__tests__/integrations.test.js +5 -40
  13. package/esm/__tests__/integrations.test.js.map +1 -1
  14. package/esm/__tests__/logdrains.test.js +7 -89
  15. package/esm/__tests__/logdrains.test.js.map +1 -1
  16. package/esm/__tests__/marketplace.test.js +7 -2
  17. package/esm/__tests__/marketplace.test.js.map +1 -1
  18. package/esm/__tests__/projects.test.js +4 -4
  19. package/esm/__tests__/projects.test.js.map +1 -1
  20. package/esm/__tests__/security.test.js +164 -17
  21. package/esm/__tests__/security.test.js.map +1 -1
  22. package/esm/funcs/securityPutFirewallConfig.d.ts +19 -0
  23. package/esm/funcs/securityPutFirewallConfig.d.ts.map +1 -0
  24. package/esm/funcs/{logDrainsCreateConfigurableLogDrain.js → securityPutFirewallConfig.js} +13 -11
  25. package/esm/funcs/securityPutFirewallConfig.js.map +1 -0
  26. package/esm/lib/config.d.ts +3 -3
  27. package/esm/lib/config.js +3 -3
  28. package/esm/lib/matchers.d.ts +3 -1
  29. package/esm/lib/matchers.d.ts.map +1 -1
  30. package/esm/lib/matchers.js +10 -0
  31. package/esm/lib/matchers.js.map +1 -1
  32. package/esm/lib/sdks.js +7 -2
  33. package/esm/lib/sdks.js.map +1 -1
  34. package/esm/mcp-server/mcp-server.js +1 -1
  35. package/esm/mcp-server/server.d.ts.map +1 -1
  36. package/esm/mcp-server/server.js +3 -11
  37. package/esm/mcp-server/server.js.map +1 -1
  38. package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts +7 -0
  39. package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts.map +1 -0
  40. package/esm/mcp-server/tools/securityPutFirewallConfig.js +28 -0
  41. package/esm/mcp-server/tools/{integrationsGitNamespaces.js.map → securityPutFirewallConfig.js.map} +1 -1
  42. package/esm/models/authtoken.d.ts +6 -0
  43. package/esm/models/authtoken.d.ts.map +1 -1
  44. package/esm/models/authtoken.js +2 -0
  45. package/esm/models/authtoken.js.map +1 -1
  46. package/esm/models/authuser.d.ts +87 -0
  47. package/esm/models/authuser.d.ts.map +1 -1
  48. package/esm/models/authuser.js +57 -0
  49. package/esm/models/authuser.js.map +1 -1
  50. package/esm/models/canceldeploymentop.d.ts +277 -76
  51. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  52. package/esm/models/canceldeploymentop.js +271 -73
  53. package/esm/models/canceldeploymentop.js.map +1 -1
  54. package/esm/models/createdeploymentop.d.ts +274 -73
  55. package/esm/models/createdeploymentop.d.ts.map +1 -1
  56. package/esm/models/createdeploymentop.js +270 -72
  57. package/esm/models/createdeploymentop.js.map +1 -1
  58. package/esm/models/createlogdrainop.d.ts +51 -51
  59. package/esm/models/createlogdrainop.d.ts.map +1 -1
  60. package/esm/models/createlogdrainop.js +74 -75
  61. package/esm/models/createlogdrainop.js.map +1 -1
  62. package/esm/models/createprojectenvop.d.ts +12 -18
  63. package/esm/models/createprojectenvop.d.ts.map +1 -1
  64. package/esm/models/createprojectenvop.js +12 -12
  65. package/esm/models/createprojectenvop.js.map +1 -1
  66. package/esm/models/createprojectop.d.ts +221 -29
  67. package/esm/models/createprojectop.d.ts.map +1 -1
  68. package/esm/models/createprojectop.js +174 -11
  69. package/esm/models/createprojectop.js.map +1 -1
  70. package/esm/models/editprojectenvop.d.ts +4 -7
  71. package/esm/models/editprojectenvop.d.ts.map +1 -1
  72. package/esm/models/editprojectenvop.js +4 -4
  73. package/esm/models/editprojectenvop.js.map +1 -1
  74. package/esm/models/exchangessotokenop.d.ts +34 -0
  75. package/esm/models/exchangessotokenop.d.ts.map +1 -1
  76. package/esm/models/exchangessotokenop.js +25 -0
  77. package/esm/models/exchangessotokenop.js.map +1 -1
  78. package/esm/models/filterprojectenvsop.d.ts +18 -27
  79. package/esm/models/filterprojectenvsop.d.ts.map +1 -1
  80. package/esm/models/filterprojectenvsop.js +18 -18
  81. package/esm/models/filterprojectenvsop.js.map +1 -1
  82. package/esm/models/getconfigurationsop.d.ts +19 -16
  83. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  84. package/esm/models/getconfigurationsop.js +25 -27
  85. package/esm/models/getconfigurationsop.js.map +1 -1
  86. package/esm/models/getcustomenvironmentop.d.ts +3 -0
  87. package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
  88. package/esm/models/getcustomenvironmentop.js.map +1 -1
  89. package/esm/models/getdeploymentop.d.ts +574 -172
  90. package/esm/models/getdeploymentop.d.ts.map +1 -1
  91. package/esm/models/getdeploymentop.js +567 -171
  92. package/esm/models/getdeploymentop.js.map +1 -1
  93. package/esm/models/getfirewallconfigop.d.ts +214 -214
  94. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  95. package/esm/models/getfirewallconfigop.js +210 -231
  96. package/esm/models/getfirewallconfigop.js.map +1 -1
  97. package/esm/models/getintegrationlogdrainsop.d.ts +11 -11
  98. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  99. package/esm/models/getintegrationlogdrainsop.js +14 -13
  100. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  101. package/esm/models/getprojectdomainsop.d.ts +198 -36
  102. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  103. package/esm/models/getprojectdomainsop.js +193 -32
  104. package/esm/models/getprojectdomainsop.js.map +1 -1
  105. package/esm/models/getprojectenvop.d.ts +10 -16
  106. package/esm/models/getprojectenvop.d.ts.map +1 -1
  107. package/esm/models/getprojectenvop.js +10 -10
  108. package/esm/models/getprojectenvop.js.map +1 -1
  109. package/esm/models/getprojectsop.d.ts +221 -29
  110. package/esm/models/getprojectsop.d.ts.map +1 -1
  111. package/esm/models/getprojectsop.js +173 -11
  112. package/esm/models/getprojectsop.js.map +1 -1
  113. package/esm/models/getteammembersop.d.ts +9 -9
  114. package/esm/models/getteammembersop.js +3 -3
  115. package/esm/models/getteammembersop.js.map +1 -1
  116. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -0
  117. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  118. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  119. package/esm/models/putfirewallconfigop.d.ts +2901 -0
  120. package/esm/models/putfirewallconfigop.d.ts.map +1 -0
  121. package/esm/models/putfirewallconfigop.js +2383 -0
  122. package/esm/models/putfirewallconfigop.js.map +1 -0
  123. package/esm/models/removeprojectenvop.d.ts +18 -27
  124. package/esm/models/removeprojectenvop.d.ts.map +1 -1
  125. package/esm/models/removeprojectenvop.js +18 -18
  126. package/esm/models/removeprojectenvop.js.map +1 -1
  127. package/esm/models/updatefirewallconfigop.d.ts +323 -323
  128. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  129. package/esm/models/updatefirewallconfigop.js +379 -357
  130. package/esm/models/updatefirewallconfigop.js.map +1 -1
  131. package/esm/models/updateprojectdatacacheop.d.ts +229 -37
  132. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  133. package/esm/models/updateprojectdatacacheop.js +189 -23
  134. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  135. package/esm/models/updateprojectop.d.ts +221 -29
  136. package/esm/models/updateprojectop.d.ts.map +1 -1
  137. package/esm/models/updateprojectop.js +174 -11
  138. package/esm/models/updateprojectop.js.map +1 -1
  139. package/esm/models/userevent.d.ts +608 -524
  140. package/esm/models/userevent.d.ts.map +1 -1
  141. package/esm/models/userevent.js +748 -666
  142. package/esm/models/userevent.js.map +1 -1
  143. package/esm/sdk/integrations.d.ts +0 -16
  144. package/esm/sdk/integrations.d.ts.map +1 -1
  145. package/esm/sdk/integrations.js +0 -20
  146. package/esm/sdk/integrations.js.map +1 -1
  147. package/esm/sdk/logdrains.d.ts +0 -24
  148. package/esm/sdk/logdrains.d.ts.map +1 -1
  149. package/esm/sdk/logdrains.js +0 -30
  150. package/esm/sdk/logdrains.js.map +1 -1
  151. package/esm/sdk/security.d.ts +8 -0
  152. package/esm/sdk/security.d.ts.map +1 -1
  153. package/esm/sdk/security.js +10 -0
  154. package/esm/sdk/security.js.map +1 -1
  155. package/jsr.json +1 -1
  156. package/package.json +3 -3
  157. package/src/__tests__/deployments.test.ts +16 -1
  158. package/src/__tests__/integrations.test.ts +9 -44
  159. package/src/__tests__/logdrains.test.ts +13 -95
  160. package/src/__tests__/marketplace.test.ts +7 -2
  161. package/src/__tests__/projects.test.ts +4 -4
  162. package/src/__tests__/security.test.ts +166 -19
  163. package/src/funcs/{logDrainsCreateConfigurableLogDrain.ts → securityPutFirewallConfig.ts} +31 -22
  164. package/src/lib/config.ts +3 -3
  165. package/src/lib/matchers.ts +20 -0
  166. package/src/lib/sdks.ts +8 -2
  167. package/src/mcp-server/mcp-server.ts +1 -1
  168. package/src/mcp-server/server.ts +3 -11
  169. package/src/mcp-server/tools/securityPutFirewallConfig.ts +37 -0
  170. package/src/models/authtoken.ts +2 -0
  171. package/src/models/authuser.ts +126 -0
  172. package/src/models/canceldeploymentop.ts +592 -149
  173. package/src/models/createdeploymentop.ts +616 -165
  174. package/src/models/createlogdrainop.ts +95 -112
  175. package/src/models/createprojectenvop.ts +24 -30
  176. package/src/models/createprojectop.ts +378 -21
  177. package/src/models/editprojectenvop.ts +8 -11
  178. package/src/models/exchangessotokenop.ts +44 -0
  179. package/src/models/filterprojectenvsop.ts +36 -45
  180. package/src/models/getconfigurationsop.ts +34 -39
  181. package/src/models/getcustomenvironmentop.ts +3 -0
  182. package/src/models/getdeploymentop.ts +1288 -353
  183. package/src/models/getfirewallconfigop.ts +555 -410
  184. package/src/models/getintegrationlogdrainsop.ts +15 -20
  185. package/src/models/getprojectdomainsop.ts +470 -63
  186. package/src/models/getprojectenvop.ts +20 -26
  187. package/src/models/getprojectsop.ts +380 -22
  188. package/src/models/getteammembersop.ts +3 -3
  189. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +3 -0
  190. package/src/models/putfirewallconfigop.ts +4932 -0
  191. package/src/models/removeprojectenvop.ts +36 -45
  192. package/src/models/updatefirewallconfigop.ts +820 -612
  193. package/src/models/updateprojectdatacacheop.ts +395 -40
  194. package/src/models/updateprojectop.ts +378 -21
  195. package/src/models/userevent.ts +1363 -1203
  196. package/src/sdk/integrations.ts +0 -44
  197. package/src/sdk/logdrains.ts +0 -66
  198. package/src/sdk/security.ts +22 -0
  199. package/vercel-spec.json +1780 -1622
  200. package/esm/funcs/integrationsGitNamespaces.d.ts +0 -18
  201. package/esm/funcs/integrationsGitNamespaces.d.ts.map +0 -1
  202. package/esm/funcs/integrationsGitNamespaces.js +0 -86
  203. package/esm/funcs/integrationsGitNamespaces.js.map +0 -1
  204. package/esm/funcs/integrationsSearchRepo.d.ts +0 -17
  205. package/esm/funcs/integrationsSearchRepo.d.ts.map +0 -1
  206. package/esm/funcs/integrationsSearchRepo.js +0 -89
  207. package/esm/funcs/integrationsSearchRepo.js.map +0 -1
  208. package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts +0 -18
  209. package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
  210. package/esm/funcs/logDrainsCreateConfigurableLogDrain.js.map +0 -1
  211. package/esm/funcs/logDrainsGetAllLogDrains.d.ts +0 -18
  212. package/esm/funcs/logDrainsGetAllLogDrains.d.ts.map +0 -1
  213. package/esm/funcs/logDrainsGetAllLogDrains.js +0 -88
  214. package/esm/funcs/logDrainsGetAllLogDrains.js.map +0 -1
  215. package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts +0 -19
  216. package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
  217. package/esm/funcs/logDrainsGetConfigurableLogDrain.js +0 -92
  218. package/esm/funcs/logDrainsGetConfigurableLogDrain.js.map +0 -1
  219. package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts +0 -7
  220. package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts.map +0 -1
  221. package/esm/mcp-server/tools/integrationsGitNamespaces.js +0 -28
  222. package/esm/mcp-server/tools/integrationsSearchRepo.d.ts +0 -7
  223. package/esm/mcp-server/tools/integrationsSearchRepo.d.ts.map +0 -1
  224. package/esm/mcp-server/tools/integrationsSearchRepo.js +0 -28
  225. package/esm/mcp-server/tools/integrationsSearchRepo.js.map +0 -1
  226. package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts +0 -7
  227. package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
  228. package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js +0 -28
  229. package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js.map +0 -1
  230. package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts +0 -7
  231. package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts.map +0 -1
  232. package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js +0 -28
  233. package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js.map +0 -1
  234. package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts +0 -7
  235. package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
  236. package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js +0 -28
  237. package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js.map +0 -1
  238. package/esm/models/createconfigurablelogdrainop.d.ts +0 -451
  239. package/esm/models/createconfigurablelogdrainop.d.ts.map +0 -1
  240. package/esm/models/createconfigurablelogdrainop.js +0 -348
  241. package/esm/models/createconfigurablelogdrainop.js.map +0 -1
  242. package/esm/models/getalllogdrainsop.d.ts +0 -294
  243. package/esm/models/getalllogdrainsop.d.ts.map +0 -1
  244. package/esm/models/getalllogdrainsop.js +0 -231
  245. package/esm/models/getalllogdrainsop.js.map +0 -1
  246. package/esm/models/getconfigurablelogdrainop.d.ts +0 -292
  247. package/esm/models/getconfigurablelogdrainop.d.ts.map +0 -1
  248. package/esm/models/getconfigurablelogdrainop.js +0 -230
  249. package/esm/models/getconfigurablelogdrainop.js.map +0 -1
  250. package/esm/models/gitnamespacesop.d.ts +0 -126
  251. package/esm/models/gitnamespacesop.d.ts.map +0 -1
  252. package/esm/models/gitnamespacesop.js +0 -115
  253. package/esm/models/gitnamespacesop.js.map +0 -1
  254. package/esm/models/searchrepoop.d.ts +0 -421
  255. package/esm/models/searchrepoop.d.ts.map +0 -1
  256. package/esm/models/searchrepoop.js +0 -385
  257. package/esm/models/searchrepoop.js.map +0 -1
  258. package/src/funcs/integrationsGitNamespaces.ts +0 -185
  259. package/src/funcs/integrationsSearchRepo.ts +0 -181
  260. package/src/funcs/logDrainsGetAllLogDrains.ts +0 -187
  261. package/src/funcs/logDrainsGetConfigurableLogDrain.ts +0 -199
  262. package/src/mcp-server/tools/integrationsGitNamespaces.ts +0 -37
  263. package/src/mcp-server/tools/integrationsSearchRepo.ts +0 -37
  264. package/src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts +0 -39
  265. package/src/mcp-server/tools/logDrainsGetAllLogDrains.ts +0 -37
  266. package/src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts +0 -39
  267. package/src/models/createconfigurablelogdrainop.ts +0 -652
  268. package/src/models/getalllogdrainsop.ts +0 -416
  269. package/src/models/getconfigurablelogdrainop.ts +0 -420
  270. package/src/models/gitnamespacesop.ts +0 -235
  271. package/src/models/searchrepoop.ts +0 -784
@@ -146,18 +146,18 @@ export type GetDeploymentResponseBodyChecksConclusion = ClosedEnum<
146
146
  typeof GetDeploymentResponseBodyChecksConclusion
147
147
  >;
148
148
 
149
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type =
149
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type =
150
150
  {
151
151
  Bitbucket: "bitbucket",
152
152
  } as const;
153
- export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type =
153
+ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type =
154
154
  ClosedEnum<
155
- typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type
155
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type
156
156
  >;
157
157
 
158
- export type GetDeploymentGitSource9 = {
158
+ export type GetDeploymentGitSource12 = {
159
159
  type:
160
- GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type;
160
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type;
161
161
  ref: string;
162
162
  sha: string;
163
163
  owner?: string | undefined;
@@ -166,35 +166,36 @@ export type GetDeploymentGitSource9 = {
166
166
  repoUuid: string;
167
167
  };
168
168
 
169
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type =
169
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type =
170
170
  {
171
171
  Gitlab: "gitlab",
172
172
  } as const;
173
- export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type =
173
+ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type =
174
174
  ClosedEnum<
175
- typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type
175
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type
176
176
  >;
177
177
 
178
- export type GetDeploymentGitSource8 = {
178
+ export type GetDeploymentGitSource11 = {
179
179
  type:
180
- GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type;
180
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type;
181
181
  ref: string;
182
182
  sha: string;
183
183
  projectId: number;
184
184
  };
185
185
 
186
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type =
186
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type =
187
187
  {
188
188
  Github: "github",
189
189
  } as const;
190
- export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type =
190
+ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type =
191
191
  ClosedEnum<
192
- typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type
192
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type
193
193
  >;
194
194
 
195
- export type GetDeploymentGitSource7 = {
195
+ export type GetDeploymentGitSource10 = {
196
196
  type:
197
- GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type;
197
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type;
198
+ host: string;
198
199
  ref: string;
199
200
  sha: string;
200
201
  repoId: number;
@@ -202,40 +203,98 @@ export type GetDeploymentGitSource7 = {
202
203
  repo?: string | undefined;
203
204
  };
204
205
 
205
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type =
206
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type =
207
+ {
208
+ Github: "github",
209
+ } as const;
210
+ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type =
211
+ ClosedEnum<
212
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type
213
+ >;
214
+
215
+ export type GetDeploymentGitSource9 = {
216
+ type:
217
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type;
218
+ ref: string;
219
+ sha: string;
220
+ repoId: number;
221
+ org?: string | undefined;
222
+ repo?: string | undefined;
223
+ };
224
+
225
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type =
206
226
  {
207
227
  Custom: "custom",
208
228
  } as const;
209
- export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type =
229
+ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type =
210
230
  ClosedEnum<
211
- typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type
231
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type
212
232
  >;
213
233
 
214
234
  /**
215
235
  * Allows custom git sources (local folder mounted to the container) in test mode
216
236
  */
217
- export type GetDeploymentGitSource6 = {
237
+ export type GetDeploymentGitSource8 = {
218
238
  type:
219
- GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type;
239
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type;
220
240
  ref: string;
221
241
  sha: string;
222
242
  gitUrl: string;
223
243
  };
224
244
 
225
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type =
245
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type =
246
+ {
247
+ Bitbucket: "bitbucket",
248
+ } as const;
249
+ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type =
250
+ ClosedEnum<
251
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type
252
+ >;
253
+
254
+ export type GetDeploymentGitSource7 = {
255
+ type:
256
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type;
257
+ owner: string;
258
+ slug: string;
259
+ ref?: string | null | undefined;
260
+ sha?: string | undefined;
261
+ prId?: number | null | undefined;
262
+ };
263
+
264
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type =
226
265
  {
227
266
  Bitbucket: "bitbucket",
228
267
  } as const;
268
+ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type =
269
+ ClosedEnum<
270
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type
271
+ >;
272
+
273
+ export type GetDeploymentGitSource6 = {
274
+ type:
275
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type;
276
+ workspaceUuid?: string | undefined;
277
+ repoUuid: string;
278
+ ref?: string | null | undefined;
279
+ sha?: string | undefined;
280
+ prId?: number | null | undefined;
281
+ };
282
+
283
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type =
284
+ {
285
+ Gitlab: "gitlab",
286
+ } as const;
229
287
  export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type =
230
288
  ClosedEnum<
231
289
  typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type
232
290
  >;
233
291
 
292
+ export type GetDeploymentGitSourceDeploymentsProjectId = string | number;
293
+
234
294
  export type GetDeploymentGitSource5 = {
235
295
  type:
236
296
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type;
237
- owner: string;
238
- slug: string;
297
+ projectId: string | number;
239
298
  ref?: string | null | undefined;
240
299
  sha?: string | undefined;
241
300
  prId?: number | null | undefined;
@@ -243,7 +302,7 @@ export type GetDeploymentGitSource5 = {
243
302
 
244
303
  export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type =
245
304
  {
246
- Bitbucket: "bitbucket",
305
+ GithubCustomHost: "github-custom-host",
247
306
  } as const;
248
307
  export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type =
249
308
  ClosedEnum<
@@ -253,8 +312,9 @@ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseB
253
312
  export type GetDeploymentGitSource4 = {
254
313
  type:
255
314
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type;
256
- workspaceUuid?: string | undefined;
257
- repoUuid: string;
315
+ host: string;
316
+ org: string;
317
+ repo: string;
258
318
  ref?: string | null | undefined;
259
319
  sha?: string | undefined;
260
320
  prId?: number | null | undefined;
@@ -262,19 +322,20 @@ export type GetDeploymentGitSource4 = {
262
322
 
263
323
  export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type =
264
324
  {
265
- Gitlab: "gitlab",
325
+ GithubCustomHost: "github-custom-host",
266
326
  } as const;
267
327
  export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type =
268
328
  ClosedEnum<
269
329
  typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type
270
330
  >;
271
331
 
272
- export type GetDeploymentGitSourceDeploymentsProjectId = string | number;
332
+ export type GetDeploymentGitSourceDeploymentsRepoId = string | number;
273
333
 
274
334
  export type GetDeploymentGitSource3 = {
275
335
  type:
276
336
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type;
277
- projectId: string | number;
337
+ host: string;
338
+ repoId: string | number;
278
339
  ref?: string | null | undefined;
279
340
  sha?: string | undefined;
280
341
  prId?: number | null | undefined;
@@ -308,7 +369,7 @@ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseB
308
369
  typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type
309
370
  >;
310
371
 
311
- export type GetDeploymentGitSourceDeploymentsRepoId = string | number;
372
+ export type GetDeploymentGitSourceRepoId = string | number;
312
373
 
313
374
  export type GetDeploymentGitSource1 = {
314
375
  type:
@@ -320,15 +381,18 @@ export type GetDeploymentGitSource1 = {
320
381
  };
321
382
 
322
383
  export type ResponseBodyGitSource =
323
- | GetDeploymentGitSource6
324
384
  | GetDeploymentGitSource8
385
+ | GetDeploymentGitSource11
325
386
  | GetDeploymentGitSource1
326
- | GetDeploymentGitSource3
327
- | GetDeploymentGitSource2
328
- | GetDeploymentGitSource4
329
387
  | GetDeploymentGitSource5
388
+ | GetDeploymentGitSource2
389
+ | GetDeploymentGitSource3
390
+ | GetDeploymentGitSource6
330
391
  | GetDeploymentGitSource7
331
- | GetDeploymentGitSource9;
392
+ | GetDeploymentGitSource9
393
+ | GetDeploymentGitSource4
394
+ | GetDeploymentGitSource10
395
+ | GetDeploymentGitSource12;
332
396
 
333
397
  export type GetDeploymentResponseBodyProject = {
334
398
  id: string;
@@ -393,6 +457,10 @@ export type GetDeploymentResponseBody2 = {
393
457
  aliasAssigned: boolean;
394
458
  bootedAt: number;
395
459
  buildingAt: number;
460
+ /**
461
+ * Since April 2025 it necessary for On-Demand Concurrency Minutes calculation
462
+ */
463
+ buildContainerFinishedAt?: number | undefined;
396
464
  buildSkipped: boolean;
397
465
  creator: GetDeploymentResponseBodyCreator;
398
466
  initReadyAt?: number | undefined;
@@ -440,15 +508,18 @@ export type GetDeploymentResponseBody2 = {
440
508
  */
441
509
  passiveRegions?: Array<string> | undefined;
442
510
  gitSource?:
443
- | GetDeploymentGitSource6
444
511
  | GetDeploymentGitSource8
512
+ | GetDeploymentGitSource11
445
513
  | GetDeploymentGitSource1
446
- | GetDeploymentGitSource3
447
- | GetDeploymentGitSource2
448
- | GetDeploymentGitSource4
449
514
  | GetDeploymentGitSource5
515
+ | GetDeploymentGitSource2
516
+ | GetDeploymentGitSource3
517
+ | GetDeploymentGitSource6
450
518
  | GetDeploymentGitSource7
451
519
  | GetDeploymentGitSource9
520
+ | GetDeploymentGitSource4
521
+ | GetDeploymentGitSource10
522
+ | GetDeploymentGitSource12
452
523
  | undefined;
453
524
  meta: { [k: string]: string };
454
525
  originCacheRegion?: string | undefined;
@@ -757,18 +828,18 @@ export type ResponseBodyChecksConclusion = ClosedEnum<
757
828
  typeof ResponseBodyChecksConclusion
758
829
  >;
759
830
 
760
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type =
831
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type =
761
832
  {
762
833
  Bitbucket: "bitbucket",
763
834
  } as const;
764
- export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type =
835
+ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type =
765
836
  ClosedEnum<
766
- typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type
837
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type
767
838
  >;
768
839
 
769
- export type GetDeploymentGitSourceDeployments9 = {
840
+ export type GetDeploymentGitSourceDeployments12 = {
770
841
  type:
771
- GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type;
842
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type;
772
843
  ref: string;
773
844
  sha: string;
774
845
  owner?: string | undefined;
@@ -777,26 +848,85 @@ export type GetDeploymentGitSourceDeployments9 = {
777
848
  repoUuid: string;
778
849
  };
779
850
 
780
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type =
851
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type =
781
852
  {
782
853
  Gitlab: "gitlab",
783
854
  } as const;
855
+ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type =
856
+ ClosedEnum<
857
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type
858
+ >;
859
+
860
+ export type GetDeploymentGitSourceDeployments11 = {
861
+ type:
862
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type;
863
+ ref: string;
864
+ sha: string;
865
+ projectId: number;
866
+ };
867
+
868
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type =
869
+ {
870
+ Github: "github",
871
+ } as const;
872
+ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type =
873
+ ClosedEnum<
874
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type
875
+ >;
876
+
877
+ export type GetDeploymentGitSourceDeployments10 = {
878
+ type:
879
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type;
880
+ host: string;
881
+ ref: string;
882
+ sha: string;
883
+ repoId: number;
884
+ org?: string | undefined;
885
+ repo?: string | undefined;
886
+ };
887
+
888
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type =
889
+ {
890
+ Github: "github",
891
+ } as const;
892
+ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type =
893
+ ClosedEnum<
894
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type
895
+ >;
896
+
897
+ export type GetDeploymentGitSourceDeployments9 = {
898
+ type:
899
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type;
900
+ ref: string;
901
+ sha: string;
902
+ repoId: number;
903
+ org?: string | undefined;
904
+ repo?: string | undefined;
905
+ };
906
+
907
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type =
908
+ {
909
+ Custom: "custom",
910
+ } as const;
784
911
  export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type =
785
912
  ClosedEnum<
786
913
  typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type
787
914
  >;
788
915
 
916
+ /**
917
+ * Allows custom git sources (local folder mounted to the container) in test mode
918
+ */
789
919
  export type GetDeploymentGitSourceDeployments8 = {
790
920
  type:
791
921
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type;
792
922
  ref: string;
793
923
  sha: string;
794
- projectId: number;
924
+ gitUrl: string;
795
925
  };
796
926
 
797
927
  export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType =
798
928
  {
799
- Github: "github",
929
+ Bitbucket: "bitbucket",
800
930
  } as const;
801
931
  export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType =
802
932
  ClosedEnum<
@@ -806,49 +936,49 @@ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseB
806
936
  export type GetDeploymentGitSourceDeployments7 = {
807
937
  type:
808
938
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType;
809
- ref: string;
810
- sha: string;
811
- repoId: number;
812
- org?: string | undefined;
813
- repo?: string | undefined;
939
+ owner: string;
940
+ slug: string;
941
+ ref?: string | null | undefined;
942
+ sha?: string | undefined;
943
+ prId?: number | null | undefined;
814
944
  };
815
945
 
816
946
  export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = {
817
- Custom: "custom",
947
+ Bitbucket: "bitbucket",
818
948
  } as const;
819
949
  export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType =
820
950
  ClosedEnum<
821
951
  typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType
822
952
  >;
823
953
 
824
- /**
825
- * Allows custom git sources (local folder mounted to the container) in test mode
826
- */
827
954
  export type GetDeploymentGitSourceDeployments6 = {
828
955
  type: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType;
829
- ref: string;
830
- sha: string;
831
- gitUrl: string;
956
+ workspaceUuid?: string | undefined;
957
+ repoUuid: string;
958
+ ref?: string | null | undefined;
959
+ sha?: string | undefined;
960
+ prId?: number | null | undefined;
832
961
  };
833
962
 
834
963
  export const GetDeploymentGitSourceDeploymentsResponse200Type = {
835
- Bitbucket: "bitbucket",
964
+ Gitlab: "gitlab",
836
965
  } as const;
837
966
  export type GetDeploymentGitSourceDeploymentsResponse200Type = ClosedEnum<
838
967
  typeof GetDeploymentGitSourceDeploymentsResponse200Type
839
968
  >;
840
969
 
970
+ export type GetDeploymentGitSourceProjectId = string | number;
971
+
841
972
  export type GetDeploymentGitSourceDeployments5 = {
842
973
  type: GetDeploymentGitSourceDeploymentsResponse200Type;
843
- owner: string;
844
- slug: string;
974
+ projectId: string | number;
845
975
  ref?: string | null | undefined;
846
976
  sha?: string | undefined;
847
977
  prId?: number | null | undefined;
848
978
  };
849
979
 
850
980
  export const GetDeploymentGitSourceDeploymentsResponseType = {
851
- Bitbucket: "bitbucket",
981
+ GithubCustomHost: "github-custom-host",
852
982
  } as const;
853
983
  export type GetDeploymentGitSourceDeploymentsResponseType = ClosedEnum<
854
984
  typeof GetDeploymentGitSourceDeploymentsResponseType
@@ -856,25 +986,29 @@ export type GetDeploymentGitSourceDeploymentsResponseType = ClosedEnum<
856
986
 
857
987
  export type GetDeploymentGitSourceDeployments4 = {
858
988
  type: GetDeploymentGitSourceDeploymentsResponseType;
859
- workspaceUuid?: string | undefined;
860
- repoUuid: string;
989
+ host: string;
990
+ org: string;
991
+ repo: string;
861
992
  ref?: string | null | undefined;
862
993
  sha?: string | undefined;
863
994
  prId?: number | null | undefined;
864
995
  };
865
996
 
866
997
  export const GetDeploymentGitSourceDeploymentsType = {
867
- Gitlab: "gitlab",
998
+ GithubCustomHost: "github-custom-host",
868
999
  } as const;
869
1000
  export type GetDeploymentGitSourceDeploymentsType = ClosedEnum<
870
1001
  typeof GetDeploymentGitSourceDeploymentsType
871
1002
  >;
872
1003
 
873
- export type GetDeploymentGitSourceProjectId = string | number;
1004
+ export type GetDeploymentGitSourceDeploymentsResponse200RepoId =
1005
+ | string
1006
+ | number;
874
1007
 
875
1008
  export type GetDeploymentGitSourceDeployments3 = {
876
1009
  type: GetDeploymentGitSourceDeploymentsType;
877
- projectId: string | number;
1010
+ host: string;
1011
+ repoId: string | number;
878
1012
  ref?: string | null | undefined;
879
1013
  sha?: string | undefined;
880
1014
  prId?: number | null | undefined;
@@ -905,7 +1039,7 @@ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseB
905
1039
  typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
906
1040
  >;
907
1041
 
908
- export type GetDeploymentGitSourceRepoId = string | number;
1042
+ export type GetDeploymentGitSourceDeploymentsResponseRepoId = string | number;
909
1043
 
910
1044
  export type GetDeploymentGitSourceDeployments1 = {
911
1045
  type:
@@ -917,15 +1051,18 @@ export type GetDeploymentGitSourceDeployments1 = {
917
1051
  };
918
1052
 
919
1053
  export type GetDeploymentResponseBodyGitSource =
920
- | GetDeploymentGitSourceDeployments6
921
1054
  | GetDeploymentGitSourceDeployments8
1055
+ | GetDeploymentGitSourceDeployments11
922
1056
  | GetDeploymentGitSourceDeployments1
923
- | GetDeploymentGitSourceDeployments3
924
- | GetDeploymentGitSourceDeployments2
925
- | GetDeploymentGitSourceDeployments4
926
1057
  | GetDeploymentGitSourceDeployments5
1058
+ | GetDeploymentGitSourceDeployments2
1059
+ | GetDeploymentGitSourceDeployments3
1060
+ | GetDeploymentGitSourceDeployments6
927
1061
  | GetDeploymentGitSourceDeployments7
928
- | GetDeploymentGitSourceDeployments9;
1062
+ | GetDeploymentGitSourceDeployments9
1063
+ | GetDeploymentGitSourceDeployments4
1064
+ | GetDeploymentGitSourceDeployments10
1065
+ | GetDeploymentGitSourceDeployments12;
929
1066
 
930
1067
  export type ResponseBodyProject = {
931
1068
  id: string;
@@ -1336,6 +1473,10 @@ export type GetDeploymentResponseBody1 = {
1336
1473
  aliasAssigned: boolean;
1337
1474
  bootedAt: number;
1338
1475
  buildingAt: number;
1476
+ /**
1477
+ * Since April 2025 it necessary for On-Demand Concurrency Minutes calculation
1478
+ */
1479
+ buildContainerFinishedAt?: number | undefined;
1339
1480
  buildSkipped: boolean;
1340
1481
  creator: ResponseBodyCreator;
1341
1482
  initReadyAt?: number | undefined;
@@ -1383,15 +1524,18 @@ export type GetDeploymentResponseBody1 = {
1383
1524
  */
1384
1525
  passiveRegions?: Array<string> | undefined;
1385
1526
  gitSource?:
1386
- | GetDeploymentGitSourceDeployments6
1387
1527
  | GetDeploymentGitSourceDeployments8
1528
+ | GetDeploymentGitSourceDeployments11
1388
1529
  | GetDeploymentGitSourceDeployments1
1389
- | GetDeploymentGitSourceDeployments3
1390
- | GetDeploymentGitSourceDeployments2
1391
- | GetDeploymentGitSourceDeployments4
1392
1530
  | GetDeploymentGitSourceDeployments5
1531
+ | GetDeploymentGitSourceDeployments2
1532
+ | GetDeploymentGitSourceDeployments3
1533
+ | GetDeploymentGitSourceDeployments6
1393
1534
  | GetDeploymentGitSourceDeployments7
1394
1535
  | GetDeploymentGitSourceDeployments9
1536
+ | GetDeploymentGitSourceDeployments4
1537
+ | GetDeploymentGitSourceDeployments10
1538
+ | GetDeploymentGitSourceDeployments12
1395
1539
  | undefined;
1396
1540
  meta: { [k: string]: string };
1397
1541
  originCacheRegion?: string | undefined;
@@ -2194,41 +2338,41 @@ export namespace GetDeploymentResponseBodyChecksConclusion$ {
2194
2338
  }
2195
2339
 
2196
2340
  /** @internal */
2197
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema:
2341
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema:
2198
2342
  z.ZodNativeEnum<
2199
- typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type
2343
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type
2200
2344
  > = z.nativeEnum(
2201
- GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type,
2345
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type,
2202
2346
  );
2203
2347
 
2204
2348
  /** @internal */
2205
- export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema:
2349
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$outboundSchema:
2206
2350
  z.ZodNativeEnum<
2207
- typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type
2351
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type
2208
2352
  > =
2209
- GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema;
2353
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema;
2210
2354
 
2211
2355
  /**
2212
2356
  * @internal
2213
2357
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2214
2358
  */
2215
- export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$ {
2216
- /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema` instead. */
2359
+ export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$ {
2360
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema` instead. */
2217
2361
  export const inboundSchema =
2218
- GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema;
2219
- /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema` instead. */
2362
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema;
2363
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$outboundSchema` instead. */
2220
2364
  export const outboundSchema =
2221
- GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema;
2365
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$outboundSchema;
2222
2366
  }
2223
2367
 
2224
2368
  /** @internal */
2225
- export const GetDeploymentGitSource9$inboundSchema: z.ZodType<
2226
- GetDeploymentGitSource9,
2369
+ export const GetDeploymentGitSource12$inboundSchema: z.ZodType<
2370
+ GetDeploymentGitSource12,
2227
2371
  z.ZodTypeDef,
2228
2372
  unknown
2229
2373
  > = z.object({
2230
2374
  type:
2231
- GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema,
2375
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema,
2232
2376
  ref: z.string(),
2233
2377
  sha: z.string(),
2234
2378
  owner: z.string().optional(),
@@ -2238,7 +2382,7 @@ export const GetDeploymentGitSource9$inboundSchema: z.ZodType<
2238
2382
  });
2239
2383
 
2240
2384
  /** @internal */
2241
- export type GetDeploymentGitSource9$Outbound = {
2385
+ export type GetDeploymentGitSource12$Outbound = {
2242
2386
  type: string;
2243
2387
  ref: string;
2244
2388
  sha: string;
@@ -2249,13 +2393,13 @@ export type GetDeploymentGitSource9$Outbound = {
2249
2393
  };
2250
2394
 
2251
2395
  /** @internal */
2252
- export const GetDeploymentGitSource9$outboundSchema: z.ZodType<
2253
- GetDeploymentGitSource9$Outbound,
2396
+ export const GetDeploymentGitSource12$outboundSchema: z.ZodType<
2397
+ GetDeploymentGitSource12$Outbound,
2254
2398
  z.ZodTypeDef,
2255
- GetDeploymentGitSource9
2399
+ GetDeploymentGitSource12
2256
2400
  > = z.object({
2257
2401
  type:
2258
- GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema,
2402
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$outboundSchema,
2259
2403
  ref: z.string(),
2260
2404
  sha: z.string(),
2261
2405
  owner: z.string().optional(),
@@ -2264,6 +2408,300 @@ export const GetDeploymentGitSource9$outboundSchema: z.ZodType<
2264
2408
  repoUuid: z.string(),
2265
2409
  });
2266
2410
 
2411
+ /**
2412
+ * @internal
2413
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2414
+ */
2415
+ export namespace GetDeploymentGitSource12$ {
2416
+ /** @deprecated use `GetDeploymentGitSource12$inboundSchema` instead. */
2417
+ export const inboundSchema = GetDeploymentGitSource12$inboundSchema;
2418
+ /** @deprecated use `GetDeploymentGitSource12$outboundSchema` instead. */
2419
+ export const outboundSchema = GetDeploymentGitSource12$outboundSchema;
2420
+ /** @deprecated use `GetDeploymentGitSource12$Outbound` instead. */
2421
+ export type Outbound = GetDeploymentGitSource12$Outbound;
2422
+ }
2423
+
2424
+ export function getDeploymentGitSource12ToJSON(
2425
+ getDeploymentGitSource12: GetDeploymentGitSource12,
2426
+ ): string {
2427
+ return JSON.stringify(
2428
+ GetDeploymentGitSource12$outboundSchema.parse(getDeploymentGitSource12),
2429
+ );
2430
+ }
2431
+
2432
+ export function getDeploymentGitSource12FromJSON(
2433
+ jsonString: string,
2434
+ ): SafeParseResult<GetDeploymentGitSource12, SDKValidationError> {
2435
+ return safeParse(
2436
+ jsonString,
2437
+ (x) => GetDeploymentGitSource12$inboundSchema.parse(JSON.parse(x)),
2438
+ `Failed to parse 'GetDeploymentGitSource12' from JSON`,
2439
+ );
2440
+ }
2441
+
2442
+ /** @internal */
2443
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema:
2444
+ z.ZodNativeEnum<
2445
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type
2446
+ > = z.nativeEnum(
2447
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type,
2448
+ );
2449
+
2450
+ /** @internal */
2451
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$outboundSchema:
2452
+ z.ZodNativeEnum<
2453
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type
2454
+ > =
2455
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema;
2456
+
2457
+ /**
2458
+ * @internal
2459
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2460
+ */
2461
+ export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$ {
2462
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema` instead. */
2463
+ export const inboundSchema =
2464
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema;
2465
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$outboundSchema` instead. */
2466
+ export const outboundSchema =
2467
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$outboundSchema;
2468
+ }
2469
+
2470
+ /** @internal */
2471
+ export const GetDeploymentGitSource11$inboundSchema: z.ZodType<
2472
+ GetDeploymentGitSource11,
2473
+ z.ZodTypeDef,
2474
+ unknown
2475
+ > = z.object({
2476
+ type:
2477
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema,
2478
+ ref: z.string(),
2479
+ sha: z.string(),
2480
+ projectId: z.number(),
2481
+ });
2482
+
2483
+ /** @internal */
2484
+ export type GetDeploymentGitSource11$Outbound = {
2485
+ type: string;
2486
+ ref: string;
2487
+ sha: string;
2488
+ projectId: number;
2489
+ };
2490
+
2491
+ /** @internal */
2492
+ export const GetDeploymentGitSource11$outboundSchema: z.ZodType<
2493
+ GetDeploymentGitSource11$Outbound,
2494
+ z.ZodTypeDef,
2495
+ GetDeploymentGitSource11
2496
+ > = z.object({
2497
+ type:
2498
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$outboundSchema,
2499
+ ref: z.string(),
2500
+ sha: z.string(),
2501
+ projectId: z.number(),
2502
+ });
2503
+
2504
+ /**
2505
+ * @internal
2506
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2507
+ */
2508
+ export namespace GetDeploymentGitSource11$ {
2509
+ /** @deprecated use `GetDeploymentGitSource11$inboundSchema` instead. */
2510
+ export const inboundSchema = GetDeploymentGitSource11$inboundSchema;
2511
+ /** @deprecated use `GetDeploymentGitSource11$outboundSchema` instead. */
2512
+ export const outboundSchema = GetDeploymentGitSource11$outboundSchema;
2513
+ /** @deprecated use `GetDeploymentGitSource11$Outbound` instead. */
2514
+ export type Outbound = GetDeploymentGitSource11$Outbound;
2515
+ }
2516
+
2517
+ export function getDeploymentGitSource11ToJSON(
2518
+ getDeploymentGitSource11: GetDeploymentGitSource11,
2519
+ ): string {
2520
+ return JSON.stringify(
2521
+ GetDeploymentGitSource11$outboundSchema.parse(getDeploymentGitSource11),
2522
+ );
2523
+ }
2524
+
2525
+ export function getDeploymentGitSource11FromJSON(
2526
+ jsonString: string,
2527
+ ): SafeParseResult<GetDeploymentGitSource11, SDKValidationError> {
2528
+ return safeParse(
2529
+ jsonString,
2530
+ (x) => GetDeploymentGitSource11$inboundSchema.parse(JSON.parse(x)),
2531
+ `Failed to parse 'GetDeploymentGitSource11' from JSON`,
2532
+ );
2533
+ }
2534
+
2535
+ /** @internal */
2536
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema:
2537
+ z.ZodNativeEnum<
2538
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type
2539
+ > = z.nativeEnum(
2540
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type,
2541
+ );
2542
+
2543
+ /** @internal */
2544
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$outboundSchema:
2545
+ z.ZodNativeEnum<
2546
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type
2547
+ > =
2548
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema;
2549
+
2550
+ /**
2551
+ * @internal
2552
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2553
+ */
2554
+ export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$ {
2555
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema` instead. */
2556
+ export const inboundSchema =
2557
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema;
2558
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$outboundSchema` instead. */
2559
+ export const outboundSchema =
2560
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$outboundSchema;
2561
+ }
2562
+
2563
+ /** @internal */
2564
+ export const GetDeploymentGitSource10$inboundSchema: z.ZodType<
2565
+ GetDeploymentGitSource10,
2566
+ z.ZodTypeDef,
2567
+ unknown
2568
+ > = z.object({
2569
+ type:
2570
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema,
2571
+ host: z.string(),
2572
+ ref: z.string(),
2573
+ sha: z.string(),
2574
+ repoId: z.number(),
2575
+ org: z.string().optional(),
2576
+ repo: z.string().optional(),
2577
+ });
2578
+
2579
+ /** @internal */
2580
+ export type GetDeploymentGitSource10$Outbound = {
2581
+ type: string;
2582
+ host: string;
2583
+ ref: string;
2584
+ sha: string;
2585
+ repoId: number;
2586
+ org?: string | undefined;
2587
+ repo?: string | undefined;
2588
+ };
2589
+
2590
+ /** @internal */
2591
+ export const GetDeploymentGitSource10$outboundSchema: z.ZodType<
2592
+ GetDeploymentGitSource10$Outbound,
2593
+ z.ZodTypeDef,
2594
+ GetDeploymentGitSource10
2595
+ > = z.object({
2596
+ type:
2597
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$outboundSchema,
2598
+ host: z.string(),
2599
+ ref: z.string(),
2600
+ sha: z.string(),
2601
+ repoId: z.number(),
2602
+ org: z.string().optional(),
2603
+ repo: z.string().optional(),
2604
+ });
2605
+
2606
+ /**
2607
+ * @internal
2608
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2609
+ */
2610
+ export namespace GetDeploymentGitSource10$ {
2611
+ /** @deprecated use `GetDeploymentGitSource10$inboundSchema` instead. */
2612
+ export const inboundSchema = GetDeploymentGitSource10$inboundSchema;
2613
+ /** @deprecated use `GetDeploymentGitSource10$outboundSchema` instead. */
2614
+ export const outboundSchema = GetDeploymentGitSource10$outboundSchema;
2615
+ /** @deprecated use `GetDeploymentGitSource10$Outbound` instead. */
2616
+ export type Outbound = GetDeploymentGitSource10$Outbound;
2617
+ }
2618
+
2619
+ export function getDeploymentGitSource10ToJSON(
2620
+ getDeploymentGitSource10: GetDeploymentGitSource10,
2621
+ ): string {
2622
+ return JSON.stringify(
2623
+ GetDeploymentGitSource10$outboundSchema.parse(getDeploymentGitSource10),
2624
+ );
2625
+ }
2626
+
2627
+ export function getDeploymentGitSource10FromJSON(
2628
+ jsonString: string,
2629
+ ): SafeParseResult<GetDeploymentGitSource10, SDKValidationError> {
2630
+ return safeParse(
2631
+ jsonString,
2632
+ (x) => GetDeploymentGitSource10$inboundSchema.parse(JSON.parse(x)),
2633
+ `Failed to parse 'GetDeploymentGitSource10' from JSON`,
2634
+ );
2635
+ }
2636
+
2637
+ /** @internal */
2638
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema:
2639
+ z.ZodNativeEnum<
2640
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type
2641
+ > = z.nativeEnum(
2642
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type,
2643
+ );
2644
+
2645
+ /** @internal */
2646
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema:
2647
+ z.ZodNativeEnum<
2648
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type
2649
+ > =
2650
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema;
2651
+
2652
+ /**
2653
+ * @internal
2654
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2655
+ */
2656
+ export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$ {
2657
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema` instead. */
2658
+ export const inboundSchema =
2659
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema;
2660
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema` instead. */
2661
+ export const outboundSchema =
2662
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema;
2663
+ }
2664
+
2665
+ /** @internal */
2666
+ export const GetDeploymentGitSource9$inboundSchema: z.ZodType<
2667
+ GetDeploymentGitSource9,
2668
+ z.ZodTypeDef,
2669
+ unknown
2670
+ > = z.object({
2671
+ type:
2672
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema,
2673
+ ref: z.string(),
2674
+ sha: z.string(),
2675
+ repoId: z.number(),
2676
+ org: z.string().optional(),
2677
+ repo: z.string().optional(),
2678
+ });
2679
+
2680
+ /** @internal */
2681
+ export type GetDeploymentGitSource9$Outbound = {
2682
+ type: string;
2683
+ ref: string;
2684
+ sha: string;
2685
+ repoId: number;
2686
+ org?: string | undefined;
2687
+ repo?: string | undefined;
2688
+ };
2689
+
2690
+ /** @internal */
2691
+ export const GetDeploymentGitSource9$outboundSchema: z.ZodType<
2692
+ GetDeploymentGitSource9$Outbound,
2693
+ z.ZodTypeDef,
2694
+ GetDeploymentGitSource9
2695
+ > = z.object({
2696
+ type:
2697
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema,
2698
+ ref: z.string(),
2699
+ sha: z.string(),
2700
+ repoId: z.number(),
2701
+ org: z.string().optional(),
2702
+ repo: z.string().optional(),
2703
+ });
2704
+
2267
2705
  /**
2268
2706
  * @internal
2269
2707
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -2333,7 +2771,7 @@ export const GetDeploymentGitSource8$inboundSchema: z.ZodType<
2333
2771
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema,
2334
2772
  ref: z.string(),
2335
2773
  sha: z.string(),
2336
- projectId: z.number(),
2774
+ gitUrl: z.string(),
2337
2775
  });
2338
2776
 
2339
2777
  /** @internal */
@@ -2341,7 +2779,7 @@ export type GetDeploymentGitSource8$Outbound = {
2341
2779
  type: string;
2342
2780
  ref: string;
2343
2781
  sha: string;
2344
- projectId: number;
2782
+ gitUrl: string;
2345
2783
  };
2346
2784
 
2347
2785
  /** @internal */
@@ -2354,7 +2792,7 @@ export const GetDeploymentGitSource8$outboundSchema: z.ZodType<
2354
2792
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$outboundSchema,
2355
2793
  ref: z.string(),
2356
2794
  sha: z.string(),
2357
- projectId: z.number(),
2795
+ gitUrl: z.string(),
2358
2796
  });
2359
2797
 
2360
2798
  /**
@@ -2424,21 +2862,21 @@ export const GetDeploymentGitSource7$inboundSchema: z.ZodType<
2424
2862
  > = z.object({
2425
2863
  type:
2426
2864
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema,
2427
- ref: z.string(),
2428
- sha: z.string(),
2429
- repoId: z.number(),
2430
- org: z.string().optional(),
2431
- repo: z.string().optional(),
2865
+ owner: z.string(),
2866
+ slug: z.string(),
2867
+ ref: z.nullable(z.string()).optional(),
2868
+ sha: z.string().optional(),
2869
+ prId: z.nullable(z.number()).optional(),
2432
2870
  });
2433
2871
 
2434
2872
  /** @internal */
2435
2873
  export type GetDeploymentGitSource7$Outbound = {
2436
2874
  type: string;
2437
- ref: string;
2438
- sha: string;
2439
- repoId: number;
2440
- org?: string | undefined;
2441
- repo?: string | undefined;
2875
+ owner: string;
2876
+ slug: string;
2877
+ ref?: string | null | undefined;
2878
+ sha?: string | undefined;
2879
+ prId?: number | null | undefined;
2442
2880
  };
2443
2881
 
2444
2882
  /** @internal */
@@ -2449,11 +2887,11 @@ export const GetDeploymentGitSource7$outboundSchema: z.ZodType<
2449
2887
  > = z.object({
2450
2888
  type:
2451
2889
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$outboundSchema,
2452
- ref: z.string(),
2453
- sha: z.string(),
2454
- repoId: z.number(),
2455
- org: z.string().optional(),
2456
- repo: z.string().optional(),
2890
+ owner: z.string(),
2891
+ slug: z.string(),
2892
+ ref: z.nullable(z.string()).optional(),
2893
+ sha: z.string().optional(),
2894
+ prId: z.nullable(z.number()).optional(),
2457
2895
  });
2458
2896
 
2459
2897
  /**
@@ -2523,17 +2961,21 @@ export const GetDeploymentGitSource6$inboundSchema: z.ZodType<
2523
2961
  > = z.object({
2524
2962
  type:
2525
2963
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema,
2526
- ref: z.string(),
2527
- sha: z.string(),
2528
- gitUrl: z.string(),
2964
+ workspaceUuid: z.string().optional(),
2965
+ repoUuid: z.string(),
2966
+ ref: z.nullable(z.string()).optional(),
2967
+ sha: z.string().optional(),
2968
+ prId: z.nullable(z.number()).optional(),
2529
2969
  });
2530
2970
 
2531
2971
  /** @internal */
2532
2972
  export type GetDeploymentGitSource6$Outbound = {
2533
2973
  type: string;
2534
- ref: string;
2535
- sha: string;
2536
- gitUrl: string;
2974
+ workspaceUuid?: string | undefined;
2975
+ repoUuid: string;
2976
+ ref?: string | null | undefined;
2977
+ sha?: string | undefined;
2978
+ prId?: number | null | undefined;
2537
2979
  };
2538
2980
 
2539
2981
  /** @internal */
@@ -2544,9 +2986,11 @@ export const GetDeploymentGitSource6$outboundSchema: z.ZodType<
2544
2986
  > = z.object({
2545
2987
  type:
2546
2988
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$outboundSchema,
2547
- ref: z.string(),
2548
- sha: z.string(),
2549
- gitUrl: z.string(),
2989
+ workspaceUuid: z.string().optional(),
2990
+ repoUuid: z.string(),
2991
+ ref: z.nullable(z.string()).optional(),
2992
+ sha: z.string().optional(),
2993
+ prId: z.nullable(z.number()).optional(),
2550
2994
  });
2551
2995
 
2552
2996
  /**
@@ -2608,6 +3052,66 @@ export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResp
2608
3052
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$outboundSchema;
2609
3053
  }
2610
3054
 
3055
+ /** @internal */
3056
+ export const GetDeploymentGitSourceDeploymentsProjectId$inboundSchema:
3057
+ z.ZodType<GetDeploymentGitSourceDeploymentsProjectId, z.ZodTypeDef, unknown> =
3058
+ z.union([z.string(), z.number()]);
3059
+
3060
+ /** @internal */
3061
+ export type GetDeploymentGitSourceDeploymentsProjectId$Outbound =
3062
+ | string
3063
+ | number;
3064
+
3065
+ /** @internal */
3066
+ export const GetDeploymentGitSourceDeploymentsProjectId$outboundSchema:
3067
+ z.ZodType<
3068
+ GetDeploymentGitSourceDeploymentsProjectId$Outbound,
3069
+ z.ZodTypeDef,
3070
+ GetDeploymentGitSourceDeploymentsProjectId
3071
+ > = z.union([z.string(), z.number()]);
3072
+
3073
+ /**
3074
+ * @internal
3075
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3076
+ */
3077
+ export namespace GetDeploymentGitSourceDeploymentsProjectId$ {
3078
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$inboundSchema` instead. */
3079
+ export const inboundSchema =
3080
+ GetDeploymentGitSourceDeploymentsProjectId$inboundSchema;
3081
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$outboundSchema` instead. */
3082
+ export const outboundSchema =
3083
+ GetDeploymentGitSourceDeploymentsProjectId$outboundSchema;
3084
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$Outbound` instead. */
3085
+ export type Outbound = GetDeploymentGitSourceDeploymentsProjectId$Outbound;
3086
+ }
3087
+
3088
+ export function getDeploymentGitSourceDeploymentsProjectIdToJSON(
3089
+ getDeploymentGitSourceDeploymentsProjectId:
3090
+ GetDeploymentGitSourceDeploymentsProjectId,
3091
+ ): string {
3092
+ return JSON.stringify(
3093
+ GetDeploymentGitSourceDeploymentsProjectId$outboundSchema.parse(
3094
+ getDeploymentGitSourceDeploymentsProjectId,
3095
+ ),
3096
+ );
3097
+ }
3098
+
3099
+ export function getDeploymentGitSourceDeploymentsProjectIdFromJSON(
3100
+ jsonString: string,
3101
+ ): SafeParseResult<
3102
+ GetDeploymentGitSourceDeploymentsProjectId,
3103
+ SDKValidationError
3104
+ > {
3105
+ return safeParse(
3106
+ jsonString,
3107
+ (x) =>
3108
+ GetDeploymentGitSourceDeploymentsProjectId$inboundSchema.parse(
3109
+ JSON.parse(x),
3110
+ ),
3111
+ `Failed to parse 'GetDeploymentGitSourceDeploymentsProjectId' from JSON`,
3112
+ );
3113
+ }
3114
+
2611
3115
  /** @internal */
2612
3116
  export const GetDeploymentGitSource5$inboundSchema: z.ZodType<
2613
3117
  GetDeploymentGitSource5,
@@ -2616,8 +3120,7 @@ export const GetDeploymentGitSource5$inboundSchema: z.ZodType<
2616
3120
  > = z.object({
2617
3121
  type:
2618
3122
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$inboundSchema,
2619
- owner: z.string(),
2620
- slug: z.string(),
3123
+ projectId: z.union([z.string(), z.number()]),
2621
3124
  ref: z.nullable(z.string()).optional(),
2622
3125
  sha: z.string().optional(),
2623
3126
  prId: z.nullable(z.number()).optional(),
@@ -2626,8 +3129,7 @@ export const GetDeploymentGitSource5$inboundSchema: z.ZodType<
2626
3129
  /** @internal */
2627
3130
  export type GetDeploymentGitSource5$Outbound = {
2628
3131
  type: string;
2629
- owner: string;
2630
- slug: string;
3132
+ projectId: string | number;
2631
3133
  ref?: string | null | undefined;
2632
3134
  sha?: string | undefined;
2633
3135
  prId?: number | null | undefined;
@@ -2641,8 +3143,7 @@ export const GetDeploymentGitSource5$outboundSchema: z.ZodType<
2641
3143
  > = z.object({
2642
3144
  type:
2643
3145
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$outboundSchema,
2644
- owner: z.string(),
2645
- slug: z.string(),
3146
+ projectId: z.union([z.string(), z.number()]),
2646
3147
  ref: z.nullable(z.string()).optional(),
2647
3148
  sha: z.string().optional(),
2648
3149
  prId: z.nullable(z.number()).optional(),
@@ -2715,8 +3216,9 @@ export const GetDeploymentGitSource4$inboundSchema: z.ZodType<
2715
3216
  > = z.object({
2716
3217
  type:
2717
3218
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$inboundSchema,
2718
- workspaceUuid: z.string().optional(),
2719
- repoUuid: z.string(),
3219
+ host: z.string(),
3220
+ org: z.string(),
3221
+ repo: z.string(),
2720
3222
  ref: z.nullable(z.string()).optional(),
2721
3223
  sha: z.string().optional(),
2722
3224
  prId: z.nullable(z.number()).optional(),
@@ -2725,8 +3227,9 @@ export const GetDeploymentGitSource4$inboundSchema: z.ZodType<
2725
3227
  /** @internal */
2726
3228
  export type GetDeploymentGitSource4$Outbound = {
2727
3229
  type: string;
2728
- workspaceUuid?: string | undefined;
2729
- repoUuid: string;
3230
+ host: string;
3231
+ org: string;
3232
+ repo: string;
2730
3233
  ref?: string | null | undefined;
2731
3234
  sha?: string | undefined;
2732
3235
  prId?: number | null | undefined;
@@ -2740,8 +3243,9 @@ export const GetDeploymentGitSource4$outboundSchema: z.ZodType<
2740
3243
  > = z.object({
2741
3244
  type:
2742
3245
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$outboundSchema,
2743
- workspaceUuid: z.string().optional(),
2744
- repoUuid: z.string(),
3246
+ host: z.string(),
3247
+ org: z.string(),
3248
+ repo: z.string(),
2745
3249
  ref: z.nullable(z.string()).optional(),
2746
3250
  sha: z.string().optional(),
2747
3251
  prId: z.nullable(z.number()).optional(),
@@ -2807,62 +3311,61 @@ export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResp
2807
3311
  }
2808
3312
 
2809
3313
  /** @internal */
2810
- export const GetDeploymentGitSourceDeploymentsProjectId$inboundSchema:
2811
- z.ZodType<GetDeploymentGitSourceDeploymentsProjectId, z.ZodTypeDef, unknown> =
2812
- z.union([z.string(), z.number()]);
3314
+ export const GetDeploymentGitSourceDeploymentsRepoId$inboundSchema: z.ZodType<
3315
+ GetDeploymentGitSourceDeploymentsRepoId,
3316
+ z.ZodTypeDef,
3317
+ unknown
3318
+ > = z.union([z.string(), z.number()]);
2813
3319
 
2814
3320
  /** @internal */
2815
- export type GetDeploymentGitSourceDeploymentsProjectId$Outbound =
2816
- | string
2817
- | number;
3321
+ export type GetDeploymentGitSourceDeploymentsRepoId$Outbound = string | number;
2818
3322
 
2819
3323
  /** @internal */
2820
- export const GetDeploymentGitSourceDeploymentsProjectId$outboundSchema:
2821
- z.ZodType<
2822
- GetDeploymentGitSourceDeploymentsProjectId$Outbound,
2823
- z.ZodTypeDef,
2824
- GetDeploymentGitSourceDeploymentsProjectId
2825
- > = z.union([z.string(), z.number()]);
3324
+ export const GetDeploymentGitSourceDeploymentsRepoId$outboundSchema: z.ZodType<
3325
+ GetDeploymentGitSourceDeploymentsRepoId$Outbound,
3326
+ z.ZodTypeDef,
3327
+ GetDeploymentGitSourceDeploymentsRepoId
3328
+ > = z.union([z.string(), z.number()]);
2826
3329
 
2827
3330
  /**
2828
3331
  * @internal
2829
3332
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2830
3333
  */
2831
- export namespace GetDeploymentGitSourceDeploymentsProjectId$ {
2832
- /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$inboundSchema` instead. */
3334
+ export namespace GetDeploymentGitSourceDeploymentsRepoId$ {
3335
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$inboundSchema` instead. */
2833
3336
  export const inboundSchema =
2834
- GetDeploymentGitSourceDeploymentsProjectId$inboundSchema;
2835
- /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$outboundSchema` instead. */
3337
+ GetDeploymentGitSourceDeploymentsRepoId$inboundSchema;
3338
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$outboundSchema` instead. */
2836
3339
  export const outboundSchema =
2837
- GetDeploymentGitSourceDeploymentsProjectId$outboundSchema;
2838
- /** @deprecated use `GetDeploymentGitSourceDeploymentsProjectId$Outbound` instead. */
2839
- export type Outbound = GetDeploymentGitSourceDeploymentsProjectId$Outbound;
3340
+ GetDeploymentGitSourceDeploymentsRepoId$outboundSchema;
3341
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$Outbound` instead. */
3342
+ export type Outbound = GetDeploymentGitSourceDeploymentsRepoId$Outbound;
2840
3343
  }
2841
3344
 
2842
- export function getDeploymentGitSourceDeploymentsProjectIdToJSON(
2843
- getDeploymentGitSourceDeploymentsProjectId:
2844
- GetDeploymentGitSourceDeploymentsProjectId,
3345
+ export function getDeploymentGitSourceDeploymentsRepoIdToJSON(
3346
+ getDeploymentGitSourceDeploymentsRepoId:
3347
+ GetDeploymentGitSourceDeploymentsRepoId,
2845
3348
  ): string {
2846
3349
  return JSON.stringify(
2847
- GetDeploymentGitSourceDeploymentsProjectId$outboundSchema.parse(
2848
- getDeploymentGitSourceDeploymentsProjectId,
3350
+ GetDeploymentGitSourceDeploymentsRepoId$outboundSchema.parse(
3351
+ getDeploymentGitSourceDeploymentsRepoId,
2849
3352
  ),
2850
3353
  );
2851
3354
  }
2852
3355
 
2853
- export function getDeploymentGitSourceDeploymentsProjectIdFromJSON(
3356
+ export function getDeploymentGitSourceDeploymentsRepoIdFromJSON(
2854
3357
  jsonString: string,
2855
3358
  ): SafeParseResult<
2856
- GetDeploymentGitSourceDeploymentsProjectId,
3359
+ GetDeploymentGitSourceDeploymentsRepoId,
2857
3360
  SDKValidationError
2858
3361
  > {
2859
3362
  return safeParse(
2860
3363
  jsonString,
2861
3364
  (x) =>
2862
- GetDeploymentGitSourceDeploymentsProjectId$inboundSchema.parse(
3365
+ GetDeploymentGitSourceDeploymentsRepoId$inboundSchema.parse(
2863
3366
  JSON.parse(x),
2864
3367
  ),
2865
- `Failed to parse 'GetDeploymentGitSourceDeploymentsProjectId' from JSON`,
3368
+ `Failed to parse 'GetDeploymentGitSourceDeploymentsRepoId' from JSON`,
2866
3369
  );
2867
3370
  }
2868
3371
 
@@ -2874,7 +3377,8 @@ export const GetDeploymentGitSource3$inboundSchema: z.ZodType<
2874
3377
  > = z.object({
2875
3378
  type:
2876
3379
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$inboundSchema,
2877
- projectId: z.union([z.string(), z.number()]),
3380
+ host: z.string(),
3381
+ repoId: z.union([z.string(), z.number()]),
2878
3382
  ref: z.nullable(z.string()).optional(),
2879
3383
  sha: z.string().optional(),
2880
3384
  prId: z.nullable(z.number()).optional(),
@@ -2883,7 +3387,8 @@ export const GetDeploymentGitSource3$inboundSchema: z.ZodType<
2883
3387
  /** @internal */
2884
3388
  export type GetDeploymentGitSource3$Outbound = {
2885
3389
  type: string;
2886
- projectId: string | number;
3390
+ host: string;
3391
+ repoId: string | number;
2887
3392
  ref?: string | null | undefined;
2888
3393
  sha?: string | undefined;
2889
3394
  prId?: number | null | undefined;
@@ -2897,7 +3402,8 @@ export const GetDeploymentGitSource3$outboundSchema: z.ZodType<
2897
3402
  > = z.object({
2898
3403
  type:
2899
3404
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$outboundSchema,
2900
- projectId: z.union([z.string(), z.number()]),
3405
+ host: z.string(),
3406
+ repoId: z.union([z.string(), z.number()]),
2901
3407
  ref: z.nullable(z.string()).optional(),
2902
3408
  sha: z.string().optional(),
2903
3409
  prId: z.nullable(z.number()).optional(),
@@ -3062,61 +3568,52 @@ export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResp
3062
3568
  }
3063
3569
 
3064
3570
  /** @internal */
3065
- export const GetDeploymentGitSourceDeploymentsRepoId$inboundSchema: z.ZodType<
3066
- GetDeploymentGitSourceDeploymentsRepoId,
3571
+ export const GetDeploymentGitSourceRepoId$inboundSchema: z.ZodType<
3572
+ GetDeploymentGitSourceRepoId,
3067
3573
  z.ZodTypeDef,
3068
3574
  unknown
3069
3575
  > = z.union([z.string(), z.number()]);
3070
3576
 
3071
3577
  /** @internal */
3072
- export type GetDeploymentGitSourceDeploymentsRepoId$Outbound = string | number;
3578
+ export type GetDeploymentGitSourceRepoId$Outbound = string | number;
3073
3579
 
3074
3580
  /** @internal */
3075
- export const GetDeploymentGitSourceDeploymentsRepoId$outboundSchema: z.ZodType<
3076
- GetDeploymentGitSourceDeploymentsRepoId$Outbound,
3581
+ export const GetDeploymentGitSourceRepoId$outboundSchema: z.ZodType<
3582
+ GetDeploymentGitSourceRepoId$Outbound,
3077
3583
  z.ZodTypeDef,
3078
- GetDeploymentGitSourceDeploymentsRepoId
3584
+ GetDeploymentGitSourceRepoId
3079
3585
  > = z.union([z.string(), z.number()]);
3080
3586
 
3081
3587
  /**
3082
3588
  * @internal
3083
3589
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3084
3590
  */
3085
- export namespace GetDeploymentGitSourceDeploymentsRepoId$ {
3086
- /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$inboundSchema` instead. */
3087
- export const inboundSchema =
3088
- GetDeploymentGitSourceDeploymentsRepoId$inboundSchema;
3089
- /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$outboundSchema` instead. */
3090
- export const outboundSchema =
3091
- GetDeploymentGitSourceDeploymentsRepoId$outboundSchema;
3092
- /** @deprecated use `GetDeploymentGitSourceDeploymentsRepoId$Outbound` instead. */
3093
- export type Outbound = GetDeploymentGitSourceDeploymentsRepoId$Outbound;
3591
+ export namespace GetDeploymentGitSourceRepoId$ {
3592
+ /** @deprecated use `GetDeploymentGitSourceRepoId$inboundSchema` instead. */
3593
+ export const inboundSchema = GetDeploymentGitSourceRepoId$inboundSchema;
3594
+ /** @deprecated use `GetDeploymentGitSourceRepoId$outboundSchema` instead. */
3595
+ export const outboundSchema = GetDeploymentGitSourceRepoId$outboundSchema;
3596
+ /** @deprecated use `GetDeploymentGitSourceRepoId$Outbound` instead. */
3597
+ export type Outbound = GetDeploymentGitSourceRepoId$Outbound;
3094
3598
  }
3095
3599
 
3096
- export function getDeploymentGitSourceDeploymentsRepoIdToJSON(
3097
- getDeploymentGitSourceDeploymentsRepoId:
3098
- GetDeploymentGitSourceDeploymentsRepoId,
3600
+ export function getDeploymentGitSourceRepoIdToJSON(
3601
+ getDeploymentGitSourceRepoId: GetDeploymentGitSourceRepoId,
3099
3602
  ): string {
3100
3603
  return JSON.stringify(
3101
- GetDeploymentGitSourceDeploymentsRepoId$outboundSchema.parse(
3102
- getDeploymentGitSourceDeploymentsRepoId,
3604
+ GetDeploymentGitSourceRepoId$outboundSchema.parse(
3605
+ getDeploymentGitSourceRepoId,
3103
3606
  ),
3104
3607
  );
3105
3608
  }
3106
3609
 
3107
- export function getDeploymentGitSourceDeploymentsRepoIdFromJSON(
3610
+ export function getDeploymentGitSourceRepoIdFromJSON(
3108
3611
  jsonString: string,
3109
- ): SafeParseResult<
3110
- GetDeploymentGitSourceDeploymentsRepoId,
3111
- SDKValidationError
3112
- > {
3612
+ ): SafeParseResult<GetDeploymentGitSourceRepoId, SDKValidationError> {
3113
3613
  return safeParse(
3114
3614
  jsonString,
3115
- (x) =>
3116
- GetDeploymentGitSourceDeploymentsRepoId$inboundSchema.parse(
3117
- JSON.parse(x),
3118
- ),
3119
- `Failed to parse 'GetDeploymentGitSourceDeploymentsRepoId' from JSON`,
3615
+ (x) => GetDeploymentGitSourceRepoId$inboundSchema.parse(JSON.parse(x)),
3616
+ `Failed to parse 'GetDeploymentGitSourceRepoId' from JSON`,
3120
3617
  );
3121
3618
  }
3122
3619
 
@@ -3194,28 +3691,34 @@ export const ResponseBodyGitSource$inboundSchema: z.ZodType<
3194
3691
  z.ZodTypeDef,
3195
3692
  unknown
3196
3693
  > = z.union([
3197
- z.lazy(() => GetDeploymentGitSource6$inboundSchema),
3198
3694
  z.lazy(() => GetDeploymentGitSource8$inboundSchema),
3695
+ z.lazy(() => GetDeploymentGitSource11$inboundSchema),
3199
3696
  z.lazy(() => GetDeploymentGitSource1$inboundSchema),
3200
- z.lazy(() => GetDeploymentGitSource3$inboundSchema),
3201
- z.lazy(() => GetDeploymentGitSource2$inboundSchema),
3202
- z.lazy(() => GetDeploymentGitSource4$inboundSchema),
3203
3697
  z.lazy(() => GetDeploymentGitSource5$inboundSchema),
3698
+ z.lazy(() => GetDeploymentGitSource2$inboundSchema),
3699
+ z.lazy(() => GetDeploymentGitSource3$inboundSchema),
3700
+ z.lazy(() => GetDeploymentGitSource6$inboundSchema),
3204
3701
  z.lazy(() => GetDeploymentGitSource7$inboundSchema),
3205
3702
  z.lazy(() => GetDeploymentGitSource9$inboundSchema),
3703
+ z.lazy(() => GetDeploymentGitSource4$inboundSchema),
3704
+ z.lazy(() => GetDeploymentGitSource10$inboundSchema),
3705
+ z.lazy(() => GetDeploymentGitSource12$inboundSchema),
3206
3706
  ]);
3207
3707
 
3208
3708
  /** @internal */
3209
3709
  export type ResponseBodyGitSource$Outbound =
3210
- | GetDeploymentGitSource6$Outbound
3211
3710
  | GetDeploymentGitSource8$Outbound
3711
+ | GetDeploymentGitSource11$Outbound
3212
3712
  | GetDeploymentGitSource1$Outbound
3213
- | GetDeploymentGitSource3$Outbound
3214
- | GetDeploymentGitSource2$Outbound
3215
- | GetDeploymentGitSource4$Outbound
3216
3713
  | GetDeploymentGitSource5$Outbound
3714
+ | GetDeploymentGitSource2$Outbound
3715
+ | GetDeploymentGitSource3$Outbound
3716
+ | GetDeploymentGitSource6$Outbound
3217
3717
  | GetDeploymentGitSource7$Outbound
3218
- | GetDeploymentGitSource9$Outbound;
3718
+ | GetDeploymentGitSource9$Outbound
3719
+ | GetDeploymentGitSource4$Outbound
3720
+ | GetDeploymentGitSource10$Outbound
3721
+ | GetDeploymentGitSource12$Outbound;
3219
3722
 
3220
3723
  /** @internal */
3221
3724
  export const ResponseBodyGitSource$outboundSchema: z.ZodType<
@@ -3223,15 +3726,18 @@ export const ResponseBodyGitSource$outboundSchema: z.ZodType<
3223
3726
  z.ZodTypeDef,
3224
3727
  ResponseBodyGitSource
3225
3728
  > = z.union([
3226
- z.lazy(() => GetDeploymentGitSource6$outboundSchema),
3227
3729
  z.lazy(() => GetDeploymentGitSource8$outboundSchema),
3730
+ z.lazy(() => GetDeploymentGitSource11$outboundSchema),
3228
3731
  z.lazy(() => GetDeploymentGitSource1$outboundSchema),
3229
- z.lazy(() => GetDeploymentGitSource3$outboundSchema),
3230
- z.lazy(() => GetDeploymentGitSource2$outboundSchema),
3231
- z.lazy(() => GetDeploymentGitSource4$outboundSchema),
3232
3732
  z.lazy(() => GetDeploymentGitSource5$outboundSchema),
3733
+ z.lazy(() => GetDeploymentGitSource2$outboundSchema),
3734
+ z.lazy(() => GetDeploymentGitSource3$outboundSchema),
3735
+ z.lazy(() => GetDeploymentGitSource6$outboundSchema),
3233
3736
  z.lazy(() => GetDeploymentGitSource7$outboundSchema),
3234
3737
  z.lazy(() => GetDeploymentGitSource9$outboundSchema),
3738
+ z.lazy(() => GetDeploymentGitSource4$outboundSchema),
3739
+ z.lazy(() => GetDeploymentGitSource10$outboundSchema),
3740
+ z.lazy(() => GetDeploymentGitSource12$outboundSchema),
3235
3741
  ]);
3236
3742
 
3237
3743
  /**
@@ -3502,6 +4008,7 @@ export const GetDeploymentResponseBody2$inboundSchema: z.ZodType<
3502
4008
  aliasAssigned: z.boolean(),
3503
4009
  bootedAt: z.number(),
3504
4010
  buildingAt: z.number(),
4011
+ buildContainerFinishedAt: z.number().optional(),
3505
4012
  buildSkipped: z.boolean(),
3506
4013
  creator: z.lazy(() => GetDeploymentResponseBodyCreator$inboundSchema),
3507
4014
  initReadyAt: z.number().optional(),
@@ -3544,15 +4051,18 @@ export const GetDeploymentResponseBody2$inboundSchema: z.ZodType<
3544
4051
  errorStep: z.string().optional(),
3545
4052
  passiveRegions: z.array(z.string()).optional(),
3546
4053
  gitSource: z.union([
3547
- z.lazy(() => GetDeploymentGitSource6$inboundSchema),
3548
4054
  z.lazy(() => GetDeploymentGitSource8$inboundSchema),
4055
+ z.lazy(() => GetDeploymentGitSource11$inboundSchema),
3549
4056
  z.lazy(() => GetDeploymentGitSource1$inboundSchema),
3550
- z.lazy(() => GetDeploymentGitSource3$inboundSchema),
3551
- z.lazy(() => GetDeploymentGitSource2$inboundSchema),
3552
- z.lazy(() => GetDeploymentGitSource4$inboundSchema),
3553
4057
  z.lazy(() => GetDeploymentGitSource5$inboundSchema),
4058
+ z.lazy(() => GetDeploymentGitSource2$inboundSchema),
4059
+ z.lazy(() => GetDeploymentGitSource3$inboundSchema),
4060
+ z.lazy(() => GetDeploymentGitSource6$inboundSchema),
3554
4061
  z.lazy(() => GetDeploymentGitSource7$inboundSchema),
3555
4062
  z.lazy(() => GetDeploymentGitSource9$inboundSchema),
4063
+ z.lazy(() => GetDeploymentGitSource4$inboundSchema),
4064
+ z.lazy(() => GetDeploymentGitSource10$inboundSchema),
4065
+ z.lazy(() => GetDeploymentGitSource12$inboundSchema),
3556
4066
  ]).optional(),
3557
4067
  meta: z.record(z.string()),
3558
4068
  originCacheRegion: z.string().optional(),
@@ -3578,6 +4088,7 @@ export type GetDeploymentResponseBody2$Outbound = {
3578
4088
  aliasAssigned: boolean;
3579
4089
  bootedAt: number;
3580
4090
  buildingAt: number;
4091
+ buildContainerFinishedAt?: number | undefined;
3581
4092
  buildSkipped: boolean;
3582
4093
  creator: GetDeploymentResponseBodyCreator$Outbound;
3583
4094
  initReadyAt?: number | undefined;
@@ -3616,15 +4127,18 @@ export type GetDeploymentResponseBody2$Outbound = {
3616
4127
  errorStep?: string | undefined;
3617
4128
  passiveRegions?: Array<string> | undefined;
3618
4129
  gitSource?:
3619
- | GetDeploymentGitSource6$Outbound
3620
4130
  | GetDeploymentGitSource8$Outbound
4131
+ | GetDeploymentGitSource11$Outbound
3621
4132
  | GetDeploymentGitSource1$Outbound
3622
- | GetDeploymentGitSource3$Outbound
3623
- | GetDeploymentGitSource2$Outbound
3624
- | GetDeploymentGitSource4$Outbound
3625
4133
  | GetDeploymentGitSource5$Outbound
4134
+ | GetDeploymentGitSource2$Outbound
4135
+ | GetDeploymentGitSource3$Outbound
4136
+ | GetDeploymentGitSource6$Outbound
3626
4137
  | GetDeploymentGitSource7$Outbound
3627
4138
  | GetDeploymentGitSource9$Outbound
4139
+ | GetDeploymentGitSource4$Outbound
4140
+ | GetDeploymentGitSource10$Outbound
4141
+ | GetDeploymentGitSource12$Outbound
3628
4142
  | undefined;
3629
4143
  meta: { [k: string]: string };
3630
4144
  originCacheRegion?: string | undefined;
@@ -3652,6 +4166,7 @@ export const GetDeploymentResponseBody2$outboundSchema: z.ZodType<
3652
4166
  aliasAssigned: z.boolean(),
3653
4167
  bootedAt: z.number(),
3654
4168
  buildingAt: z.number(),
4169
+ buildContainerFinishedAt: z.number().optional(),
3655
4170
  buildSkipped: z.boolean(),
3656
4171
  creator: z.lazy(() => GetDeploymentResponseBodyCreator$outboundSchema),
3657
4172
  initReadyAt: z.number().optional(),
@@ -3695,15 +4210,18 @@ export const GetDeploymentResponseBody2$outboundSchema: z.ZodType<
3695
4210
  errorStep: z.string().optional(),
3696
4211
  passiveRegions: z.array(z.string()).optional(),
3697
4212
  gitSource: z.union([
3698
- z.lazy(() => GetDeploymentGitSource6$outboundSchema),
3699
4213
  z.lazy(() => GetDeploymentGitSource8$outboundSchema),
4214
+ z.lazy(() => GetDeploymentGitSource11$outboundSchema),
3700
4215
  z.lazy(() => GetDeploymentGitSource1$outboundSchema),
3701
- z.lazy(() => GetDeploymentGitSource3$outboundSchema),
3702
- z.lazy(() => GetDeploymentGitSource2$outboundSchema),
3703
- z.lazy(() => GetDeploymentGitSource4$outboundSchema),
3704
4216
  z.lazy(() => GetDeploymentGitSource5$outboundSchema),
4217
+ z.lazy(() => GetDeploymentGitSource2$outboundSchema),
4218
+ z.lazy(() => GetDeploymentGitSource3$outboundSchema),
4219
+ z.lazy(() => GetDeploymentGitSource6$outboundSchema),
3705
4220
  z.lazy(() => GetDeploymentGitSource7$outboundSchema),
3706
4221
  z.lazy(() => GetDeploymentGitSource9$outboundSchema),
4222
+ z.lazy(() => GetDeploymentGitSource4$outboundSchema),
4223
+ z.lazy(() => GetDeploymentGitSource10$outboundSchema),
4224
+ z.lazy(() => GetDeploymentGitSource12$outboundSchema),
3707
4225
  ]).optional(),
3708
4226
  meta: z.record(z.string()),
3709
4227
  originCacheRegion: z.string().optional(),
@@ -5219,6 +5737,318 @@ export namespace ResponseBodyChecksConclusion$ {
5219
5737
  export const outboundSchema = ResponseBodyChecksConclusion$outboundSchema;
5220
5738
  }
5221
5739
 
5740
+ /** @internal */
5741
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$inboundSchema:
5742
+ z.ZodNativeEnum<
5743
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type
5744
+ > = z.nativeEnum(
5745
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type,
5746
+ );
5747
+
5748
+ /** @internal */
5749
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$outboundSchema:
5750
+ z.ZodNativeEnum<
5751
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type
5752
+ > =
5753
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$inboundSchema;
5754
+
5755
+ /**
5756
+ * @internal
5757
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5758
+ */
5759
+ export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$ {
5760
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$inboundSchema` instead. */
5761
+ export const inboundSchema =
5762
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$inboundSchema;
5763
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$outboundSchema` instead. */
5764
+ export const outboundSchema =
5765
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$outboundSchema;
5766
+ }
5767
+
5768
+ /** @internal */
5769
+ export const GetDeploymentGitSourceDeployments12$inboundSchema: z.ZodType<
5770
+ GetDeploymentGitSourceDeployments12,
5771
+ z.ZodTypeDef,
5772
+ unknown
5773
+ > = z.object({
5774
+ type:
5775
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$inboundSchema,
5776
+ ref: z.string(),
5777
+ sha: z.string(),
5778
+ owner: z.string().optional(),
5779
+ slug: z.string().optional(),
5780
+ workspaceUuid: z.string(),
5781
+ repoUuid: z.string(),
5782
+ });
5783
+
5784
+ /** @internal */
5785
+ export type GetDeploymentGitSourceDeployments12$Outbound = {
5786
+ type: string;
5787
+ ref: string;
5788
+ sha: string;
5789
+ owner?: string | undefined;
5790
+ slug?: string | undefined;
5791
+ workspaceUuid: string;
5792
+ repoUuid: string;
5793
+ };
5794
+
5795
+ /** @internal */
5796
+ export const GetDeploymentGitSourceDeployments12$outboundSchema: z.ZodType<
5797
+ GetDeploymentGitSourceDeployments12$Outbound,
5798
+ z.ZodTypeDef,
5799
+ GetDeploymentGitSourceDeployments12
5800
+ > = z.object({
5801
+ type:
5802
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$outboundSchema,
5803
+ ref: z.string(),
5804
+ sha: z.string(),
5805
+ owner: z.string().optional(),
5806
+ slug: z.string().optional(),
5807
+ workspaceUuid: z.string(),
5808
+ repoUuid: z.string(),
5809
+ });
5810
+
5811
+ /**
5812
+ * @internal
5813
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5814
+ */
5815
+ export namespace GetDeploymentGitSourceDeployments12$ {
5816
+ /** @deprecated use `GetDeploymentGitSourceDeployments12$inboundSchema` instead. */
5817
+ export const inboundSchema =
5818
+ GetDeploymentGitSourceDeployments12$inboundSchema;
5819
+ /** @deprecated use `GetDeploymentGitSourceDeployments12$outboundSchema` instead. */
5820
+ export const outboundSchema =
5821
+ GetDeploymentGitSourceDeployments12$outboundSchema;
5822
+ /** @deprecated use `GetDeploymentGitSourceDeployments12$Outbound` instead. */
5823
+ export type Outbound = GetDeploymentGitSourceDeployments12$Outbound;
5824
+ }
5825
+
5826
+ export function getDeploymentGitSourceDeployments12ToJSON(
5827
+ getDeploymentGitSourceDeployments12: GetDeploymentGitSourceDeployments12,
5828
+ ): string {
5829
+ return JSON.stringify(
5830
+ GetDeploymentGitSourceDeployments12$outboundSchema.parse(
5831
+ getDeploymentGitSourceDeployments12,
5832
+ ),
5833
+ );
5834
+ }
5835
+
5836
+ export function getDeploymentGitSourceDeployments12FromJSON(
5837
+ jsonString: string,
5838
+ ): SafeParseResult<GetDeploymentGitSourceDeployments12, SDKValidationError> {
5839
+ return safeParse(
5840
+ jsonString,
5841
+ (x) =>
5842
+ GetDeploymentGitSourceDeployments12$inboundSchema.parse(JSON.parse(x)),
5843
+ `Failed to parse 'GetDeploymentGitSourceDeployments12' from JSON`,
5844
+ );
5845
+ }
5846
+
5847
+ /** @internal */
5848
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$inboundSchema:
5849
+ z.ZodNativeEnum<
5850
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type
5851
+ > = z.nativeEnum(
5852
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type,
5853
+ );
5854
+
5855
+ /** @internal */
5856
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$outboundSchema:
5857
+ z.ZodNativeEnum<
5858
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type
5859
+ > =
5860
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$inboundSchema;
5861
+
5862
+ /**
5863
+ * @internal
5864
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5865
+ */
5866
+ export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$ {
5867
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$inboundSchema` instead. */
5868
+ export const inboundSchema =
5869
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$inboundSchema;
5870
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$outboundSchema` instead. */
5871
+ export const outboundSchema =
5872
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$outboundSchema;
5873
+ }
5874
+
5875
+ /** @internal */
5876
+ export const GetDeploymentGitSourceDeployments11$inboundSchema: z.ZodType<
5877
+ GetDeploymentGitSourceDeployments11,
5878
+ z.ZodTypeDef,
5879
+ unknown
5880
+ > = z.object({
5881
+ type:
5882
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$inboundSchema,
5883
+ ref: z.string(),
5884
+ sha: z.string(),
5885
+ projectId: z.number(),
5886
+ });
5887
+
5888
+ /** @internal */
5889
+ export type GetDeploymentGitSourceDeployments11$Outbound = {
5890
+ type: string;
5891
+ ref: string;
5892
+ sha: string;
5893
+ projectId: number;
5894
+ };
5895
+
5896
+ /** @internal */
5897
+ export const GetDeploymentGitSourceDeployments11$outboundSchema: z.ZodType<
5898
+ GetDeploymentGitSourceDeployments11$Outbound,
5899
+ z.ZodTypeDef,
5900
+ GetDeploymentGitSourceDeployments11
5901
+ > = z.object({
5902
+ type:
5903
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$outboundSchema,
5904
+ ref: z.string(),
5905
+ sha: z.string(),
5906
+ projectId: z.number(),
5907
+ });
5908
+
5909
+ /**
5910
+ * @internal
5911
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5912
+ */
5913
+ export namespace GetDeploymentGitSourceDeployments11$ {
5914
+ /** @deprecated use `GetDeploymentGitSourceDeployments11$inboundSchema` instead. */
5915
+ export const inboundSchema =
5916
+ GetDeploymentGitSourceDeployments11$inboundSchema;
5917
+ /** @deprecated use `GetDeploymentGitSourceDeployments11$outboundSchema` instead. */
5918
+ export const outboundSchema =
5919
+ GetDeploymentGitSourceDeployments11$outboundSchema;
5920
+ /** @deprecated use `GetDeploymentGitSourceDeployments11$Outbound` instead. */
5921
+ export type Outbound = GetDeploymentGitSourceDeployments11$Outbound;
5922
+ }
5923
+
5924
+ export function getDeploymentGitSourceDeployments11ToJSON(
5925
+ getDeploymentGitSourceDeployments11: GetDeploymentGitSourceDeployments11,
5926
+ ): string {
5927
+ return JSON.stringify(
5928
+ GetDeploymentGitSourceDeployments11$outboundSchema.parse(
5929
+ getDeploymentGitSourceDeployments11,
5930
+ ),
5931
+ );
5932
+ }
5933
+
5934
+ export function getDeploymentGitSourceDeployments11FromJSON(
5935
+ jsonString: string,
5936
+ ): SafeParseResult<GetDeploymentGitSourceDeployments11, SDKValidationError> {
5937
+ return safeParse(
5938
+ jsonString,
5939
+ (x) =>
5940
+ GetDeploymentGitSourceDeployments11$inboundSchema.parse(JSON.parse(x)),
5941
+ `Failed to parse 'GetDeploymentGitSourceDeployments11' from JSON`,
5942
+ );
5943
+ }
5944
+
5945
+ /** @internal */
5946
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema:
5947
+ z.ZodNativeEnum<
5948
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type
5949
+ > = z.nativeEnum(
5950
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type,
5951
+ );
5952
+
5953
+ /** @internal */
5954
+ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$outboundSchema:
5955
+ z.ZodNativeEnum<
5956
+ typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type
5957
+ > =
5958
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema;
5959
+
5960
+ /**
5961
+ * @internal
5962
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5963
+ */
5964
+ export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$ {
5965
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema` instead. */
5966
+ export const inboundSchema =
5967
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema;
5968
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$outboundSchema` instead. */
5969
+ export const outboundSchema =
5970
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$outboundSchema;
5971
+ }
5972
+
5973
+ /** @internal */
5974
+ export const GetDeploymentGitSourceDeployments10$inboundSchema: z.ZodType<
5975
+ GetDeploymentGitSourceDeployments10,
5976
+ z.ZodTypeDef,
5977
+ unknown
5978
+ > = z.object({
5979
+ type:
5980
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema,
5981
+ host: z.string(),
5982
+ ref: z.string(),
5983
+ sha: z.string(),
5984
+ repoId: z.number(),
5985
+ org: z.string().optional(),
5986
+ repo: z.string().optional(),
5987
+ });
5988
+
5989
+ /** @internal */
5990
+ export type GetDeploymentGitSourceDeployments10$Outbound = {
5991
+ type: string;
5992
+ host: string;
5993
+ ref: string;
5994
+ sha: string;
5995
+ repoId: number;
5996
+ org?: string | undefined;
5997
+ repo?: string | undefined;
5998
+ };
5999
+
6000
+ /** @internal */
6001
+ export const GetDeploymentGitSourceDeployments10$outboundSchema: z.ZodType<
6002
+ GetDeploymentGitSourceDeployments10$Outbound,
6003
+ z.ZodTypeDef,
6004
+ GetDeploymentGitSourceDeployments10
6005
+ > = z.object({
6006
+ type:
6007
+ GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$outboundSchema,
6008
+ host: z.string(),
6009
+ ref: z.string(),
6010
+ sha: z.string(),
6011
+ repoId: z.number(),
6012
+ org: z.string().optional(),
6013
+ repo: z.string().optional(),
6014
+ });
6015
+
6016
+ /**
6017
+ * @internal
6018
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6019
+ */
6020
+ export namespace GetDeploymentGitSourceDeployments10$ {
6021
+ /** @deprecated use `GetDeploymentGitSourceDeployments10$inboundSchema` instead. */
6022
+ export const inboundSchema =
6023
+ GetDeploymentGitSourceDeployments10$inboundSchema;
6024
+ /** @deprecated use `GetDeploymentGitSourceDeployments10$outboundSchema` instead. */
6025
+ export const outboundSchema =
6026
+ GetDeploymentGitSourceDeployments10$outboundSchema;
6027
+ /** @deprecated use `GetDeploymentGitSourceDeployments10$Outbound` instead. */
6028
+ export type Outbound = GetDeploymentGitSourceDeployments10$Outbound;
6029
+ }
6030
+
6031
+ export function getDeploymentGitSourceDeployments10ToJSON(
6032
+ getDeploymentGitSourceDeployments10: GetDeploymentGitSourceDeployments10,
6033
+ ): string {
6034
+ return JSON.stringify(
6035
+ GetDeploymentGitSourceDeployments10$outboundSchema.parse(
6036
+ getDeploymentGitSourceDeployments10,
6037
+ ),
6038
+ );
6039
+ }
6040
+
6041
+ export function getDeploymentGitSourceDeployments10FromJSON(
6042
+ jsonString: string,
6043
+ ): SafeParseResult<GetDeploymentGitSourceDeployments10, SDKValidationError> {
6044
+ return safeParse(
6045
+ jsonString,
6046
+ (x) =>
6047
+ GetDeploymentGitSourceDeployments10$inboundSchema.parse(JSON.parse(x)),
6048
+ `Failed to parse 'GetDeploymentGitSourceDeployments10' from JSON`,
6049
+ );
6050
+ }
6051
+
5222
6052
  /** @internal */
5223
6053
  export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema:
5224
6054
  z.ZodNativeEnum<
@@ -5257,10 +6087,9 @@ export const GetDeploymentGitSourceDeployments9$inboundSchema: z.ZodType<
5257
6087
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema,
5258
6088
  ref: z.string(),
5259
6089
  sha: z.string(),
5260
- owner: z.string().optional(),
5261
- slug: z.string().optional(),
5262
- workspaceUuid: z.string(),
5263
- repoUuid: z.string(),
6090
+ repoId: z.number(),
6091
+ org: z.string().optional(),
6092
+ repo: z.string().optional(),
5264
6093
  });
5265
6094
 
5266
6095
  /** @internal */
@@ -5268,10 +6097,9 @@ export type GetDeploymentGitSourceDeployments9$Outbound = {
5268
6097
  type: string;
5269
6098
  ref: string;
5270
6099
  sha: string;
5271
- owner?: string | undefined;
5272
- slug?: string | undefined;
5273
- workspaceUuid: string;
5274
- repoUuid: string;
6100
+ repoId: number;
6101
+ org?: string | undefined;
6102
+ repo?: string | undefined;
5275
6103
  };
5276
6104
 
5277
6105
  /** @internal */
@@ -5284,10 +6112,9 @@ export const GetDeploymentGitSourceDeployments9$outboundSchema: z.ZodType<
5284
6112
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$outboundSchema,
5285
6113
  ref: z.string(),
5286
6114
  sha: z.string(),
5287
- owner: z.string().optional(),
5288
- slug: z.string().optional(),
5289
- workspaceUuid: z.string(),
5290
- repoUuid: z.string(),
6115
+ repoId: z.number(),
6116
+ org: z.string().optional(),
6117
+ repo: z.string().optional(),
5291
6118
  });
5292
6119
 
5293
6120
  /**
@@ -5363,7 +6190,7 @@ export const GetDeploymentGitSourceDeployments8$inboundSchema: z.ZodType<
5363
6190
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$inboundSchema,
5364
6191
  ref: z.string(),
5365
6192
  sha: z.string(),
5366
- projectId: z.number(),
6193
+ gitUrl: z.string(),
5367
6194
  });
5368
6195
 
5369
6196
  /** @internal */
@@ -5371,7 +6198,7 @@ export type GetDeploymentGitSourceDeployments8$Outbound = {
5371
6198
  type: string;
5372
6199
  ref: string;
5373
6200
  sha: string;
5374
- projectId: number;
6201
+ gitUrl: string;
5375
6202
  };
5376
6203
 
5377
6204
  /** @internal */
@@ -5384,7 +6211,7 @@ export const GetDeploymentGitSourceDeployments8$outboundSchema: z.ZodType<
5384
6211
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$outboundSchema,
5385
6212
  ref: z.string(),
5386
6213
  sha: z.string(),
5387
- projectId: z.number(),
6214
+ gitUrl: z.string(),
5388
6215
  });
5389
6216
 
5390
6217
  /**
@@ -5458,21 +6285,21 @@ export const GetDeploymentGitSourceDeployments7$inboundSchema: z.ZodType<
5458
6285
  > = z.object({
5459
6286
  type:
5460
6287
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema,
5461
- ref: z.string(),
5462
- sha: z.string(),
5463
- repoId: z.number(),
5464
- org: z.string().optional(),
5465
- repo: z.string().optional(),
6288
+ owner: z.string(),
6289
+ slug: z.string(),
6290
+ ref: z.nullable(z.string()).optional(),
6291
+ sha: z.string().optional(),
6292
+ prId: z.nullable(z.number()).optional(),
5466
6293
  });
5467
6294
 
5468
6295
  /** @internal */
5469
6296
  export type GetDeploymentGitSourceDeployments7$Outbound = {
5470
6297
  type: string;
5471
- ref: string;
5472
- sha: string;
5473
- repoId: number;
5474
- org?: string | undefined;
5475
- repo?: string | undefined;
6298
+ owner: string;
6299
+ slug: string;
6300
+ ref?: string | null | undefined;
6301
+ sha?: string | undefined;
6302
+ prId?: number | null | undefined;
5476
6303
  };
5477
6304
 
5478
6305
  /** @internal */
@@ -5483,11 +6310,11 @@ export const GetDeploymentGitSourceDeployments7$outboundSchema: z.ZodType<
5483
6310
  > = z.object({
5484
6311
  type:
5485
6312
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema,
5486
- ref: z.string(),
5487
- sha: z.string(),
5488
- repoId: z.number(),
5489
- org: z.string().optional(),
5490
- repo: z.string().optional(),
6313
+ owner: z.string(),
6314
+ slug: z.string(),
6315
+ ref: z.nullable(z.string()).optional(),
6316
+ sha: z.string().optional(),
6317
+ prId: z.nullable(z.number()).optional(),
5491
6318
  });
5492
6319
 
5493
6320
  /**
@@ -5561,17 +6388,21 @@ export const GetDeploymentGitSourceDeployments6$inboundSchema: z.ZodType<
5561
6388
  > = z.object({
5562
6389
  type:
5563
6390
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema,
5564
- ref: z.string(),
5565
- sha: z.string(),
5566
- gitUrl: z.string(),
6391
+ workspaceUuid: z.string().optional(),
6392
+ repoUuid: z.string(),
6393
+ ref: z.nullable(z.string()).optional(),
6394
+ sha: z.string().optional(),
6395
+ prId: z.nullable(z.number()).optional(),
5567
6396
  });
5568
6397
 
5569
6398
  /** @internal */
5570
6399
  export type GetDeploymentGitSourceDeployments6$Outbound = {
5571
6400
  type: string;
5572
- ref: string;
5573
- sha: string;
5574
- gitUrl: string;
6401
+ workspaceUuid?: string | undefined;
6402
+ repoUuid: string;
6403
+ ref?: string | null | undefined;
6404
+ sha?: string | undefined;
6405
+ prId?: number | null | undefined;
5575
6406
  };
5576
6407
 
5577
6408
  /** @internal */
@@ -5582,9 +6413,11 @@ export const GetDeploymentGitSourceDeployments6$outboundSchema: z.ZodType<
5582
6413
  > = z.object({
5583
6414
  type:
5584
6415
  GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema,
5585
- ref: z.string(),
5586
- sha: z.string(),
5587
- gitUrl: z.string(),
6416
+ workspaceUuid: z.string().optional(),
6417
+ repoUuid: z.string(),
6418
+ ref: z.nullable(z.string()).optional(),
6419
+ sha: z.string().optional(),
6420
+ prId: z.nullable(z.number()).optional(),
5588
6421
  });
5589
6422
 
5590
6423
  /**
@@ -5645,6 +6478,56 @@ export namespace GetDeploymentGitSourceDeploymentsResponse200Type$ {
5645
6478
  GetDeploymentGitSourceDeploymentsResponse200Type$outboundSchema;
5646
6479
  }
5647
6480
 
6481
+ /** @internal */
6482
+ export const GetDeploymentGitSourceProjectId$inboundSchema: z.ZodType<
6483
+ GetDeploymentGitSourceProjectId,
6484
+ z.ZodTypeDef,
6485
+ unknown
6486
+ > = z.union([z.string(), z.number()]);
6487
+
6488
+ /** @internal */
6489
+ export type GetDeploymentGitSourceProjectId$Outbound = string | number;
6490
+
6491
+ /** @internal */
6492
+ export const GetDeploymentGitSourceProjectId$outboundSchema: z.ZodType<
6493
+ GetDeploymentGitSourceProjectId$Outbound,
6494
+ z.ZodTypeDef,
6495
+ GetDeploymentGitSourceProjectId
6496
+ > = z.union([z.string(), z.number()]);
6497
+
6498
+ /**
6499
+ * @internal
6500
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6501
+ */
6502
+ export namespace GetDeploymentGitSourceProjectId$ {
6503
+ /** @deprecated use `GetDeploymentGitSourceProjectId$inboundSchema` instead. */
6504
+ export const inboundSchema = GetDeploymentGitSourceProjectId$inboundSchema;
6505
+ /** @deprecated use `GetDeploymentGitSourceProjectId$outboundSchema` instead. */
6506
+ export const outboundSchema = GetDeploymentGitSourceProjectId$outboundSchema;
6507
+ /** @deprecated use `GetDeploymentGitSourceProjectId$Outbound` instead. */
6508
+ export type Outbound = GetDeploymentGitSourceProjectId$Outbound;
6509
+ }
6510
+
6511
+ export function getDeploymentGitSourceProjectIdToJSON(
6512
+ getDeploymentGitSourceProjectId: GetDeploymentGitSourceProjectId,
6513
+ ): string {
6514
+ return JSON.stringify(
6515
+ GetDeploymentGitSourceProjectId$outboundSchema.parse(
6516
+ getDeploymentGitSourceProjectId,
6517
+ ),
6518
+ );
6519
+ }
6520
+
6521
+ export function getDeploymentGitSourceProjectIdFromJSON(
6522
+ jsonString: string,
6523
+ ): SafeParseResult<GetDeploymentGitSourceProjectId, SDKValidationError> {
6524
+ return safeParse(
6525
+ jsonString,
6526
+ (x) => GetDeploymentGitSourceProjectId$inboundSchema.parse(JSON.parse(x)),
6527
+ `Failed to parse 'GetDeploymentGitSourceProjectId' from JSON`,
6528
+ );
6529
+ }
6530
+
5648
6531
  /** @internal */
5649
6532
  export const GetDeploymentGitSourceDeployments5$inboundSchema: z.ZodType<
5650
6533
  GetDeploymentGitSourceDeployments5,
@@ -5652,8 +6535,7 @@ export const GetDeploymentGitSourceDeployments5$inboundSchema: z.ZodType<
5652
6535
  unknown
5653
6536
  > = z.object({
5654
6537
  type: GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema,
5655
- owner: z.string(),
5656
- slug: z.string(),
6538
+ projectId: z.union([z.string(), z.number()]),
5657
6539
  ref: z.nullable(z.string()).optional(),
5658
6540
  sha: z.string().optional(),
5659
6541
  prId: z.nullable(z.number()).optional(),
@@ -5662,8 +6544,7 @@ export const GetDeploymentGitSourceDeployments5$inboundSchema: z.ZodType<
5662
6544
  /** @internal */
5663
6545
  export type GetDeploymentGitSourceDeployments5$Outbound = {
5664
6546
  type: string;
5665
- owner: string;
5666
- slug: string;
6547
+ projectId: string | number;
5667
6548
  ref?: string | null | undefined;
5668
6549
  sha?: string | undefined;
5669
6550
  prId?: number | null | undefined;
@@ -5676,8 +6557,7 @@ export const GetDeploymentGitSourceDeployments5$outboundSchema: z.ZodType<
5676
6557
  GetDeploymentGitSourceDeployments5
5677
6558
  > = z.object({
5678
6559
  type: GetDeploymentGitSourceDeploymentsResponse200Type$outboundSchema,
5679
- owner: z.string(),
5680
- slug: z.string(),
6560
+ projectId: z.union([z.string(), z.number()]),
5681
6561
  ref: z.nullable(z.string()).optional(),
5682
6562
  sha: z.string().optional(),
5683
6563
  prId: z.nullable(z.number()).optional(),
@@ -5748,8 +6628,9 @@ export const GetDeploymentGitSourceDeployments4$inboundSchema: z.ZodType<
5748
6628
  unknown
5749
6629
  > = z.object({
5750
6630
  type: GetDeploymentGitSourceDeploymentsResponseType$inboundSchema,
5751
- workspaceUuid: z.string().optional(),
5752
- repoUuid: z.string(),
6631
+ host: z.string(),
6632
+ org: z.string(),
6633
+ repo: z.string(),
5753
6634
  ref: z.nullable(z.string()).optional(),
5754
6635
  sha: z.string().optional(),
5755
6636
  prId: z.nullable(z.number()).optional(),
@@ -5758,8 +6639,9 @@ export const GetDeploymentGitSourceDeployments4$inboundSchema: z.ZodType<
5758
6639
  /** @internal */
5759
6640
  export type GetDeploymentGitSourceDeployments4$Outbound = {
5760
6641
  type: string;
5761
- workspaceUuid?: string | undefined;
5762
- repoUuid: string;
6642
+ host: string;
6643
+ org: string;
6644
+ repo: string;
5763
6645
  ref?: string | null | undefined;
5764
6646
  sha?: string | undefined;
5765
6647
  prId?: number | null | undefined;
@@ -5772,8 +6654,9 @@ export const GetDeploymentGitSourceDeployments4$outboundSchema: z.ZodType<
5772
6654
  GetDeploymentGitSourceDeployments4
5773
6655
  > = z.object({
5774
6656
  type: GetDeploymentGitSourceDeploymentsResponseType$outboundSchema,
5775
- workspaceUuid: z.string().optional(),
5776
- repoUuid: z.string(),
6657
+ host: z.string(),
6658
+ org: z.string(),
6659
+ repo: z.string(),
5777
6660
  ref: z.nullable(z.string()).optional(),
5778
6661
  sha: z.string().optional(),
5779
6662
  prId: z.nullable(z.number()).optional(),
@@ -5839,52 +6722,66 @@ export namespace GetDeploymentGitSourceDeploymentsType$ {
5839
6722
  }
5840
6723
 
5841
6724
  /** @internal */
5842
- export const GetDeploymentGitSourceProjectId$inboundSchema: z.ZodType<
5843
- GetDeploymentGitSourceProjectId,
5844
- z.ZodTypeDef,
5845
- unknown
5846
- > = z.union([z.string(), z.number()]);
6725
+ export const GetDeploymentGitSourceDeploymentsResponse200RepoId$inboundSchema:
6726
+ z.ZodType<
6727
+ GetDeploymentGitSourceDeploymentsResponse200RepoId,
6728
+ z.ZodTypeDef,
6729
+ unknown
6730
+ > = z.union([z.string(), z.number()]);
5847
6731
 
5848
6732
  /** @internal */
5849
- export type GetDeploymentGitSourceProjectId$Outbound = string | number;
6733
+ export type GetDeploymentGitSourceDeploymentsResponse200RepoId$Outbound =
6734
+ | string
6735
+ | number;
5850
6736
 
5851
6737
  /** @internal */
5852
- export const GetDeploymentGitSourceProjectId$outboundSchema: z.ZodType<
5853
- GetDeploymentGitSourceProjectId$Outbound,
5854
- z.ZodTypeDef,
5855
- GetDeploymentGitSourceProjectId
5856
- > = z.union([z.string(), z.number()]);
6738
+ export const GetDeploymentGitSourceDeploymentsResponse200RepoId$outboundSchema:
6739
+ z.ZodType<
6740
+ GetDeploymentGitSourceDeploymentsResponse200RepoId$Outbound,
6741
+ z.ZodTypeDef,
6742
+ GetDeploymentGitSourceDeploymentsResponse200RepoId
6743
+ > = z.union([z.string(), z.number()]);
5857
6744
 
5858
6745
  /**
5859
6746
  * @internal
5860
6747
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5861
6748
  */
5862
- export namespace GetDeploymentGitSourceProjectId$ {
5863
- /** @deprecated use `GetDeploymentGitSourceProjectId$inboundSchema` instead. */
5864
- export const inboundSchema = GetDeploymentGitSourceProjectId$inboundSchema;
5865
- /** @deprecated use `GetDeploymentGitSourceProjectId$outboundSchema` instead. */
5866
- export const outboundSchema = GetDeploymentGitSourceProjectId$outboundSchema;
5867
- /** @deprecated use `GetDeploymentGitSourceProjectId$Outbound` instead. */
5868
- export type Outbound = GetDeploymentGitSourceProjectId$Outbound;
6749
+ export namespace GetDeploymentGitSourceDeploymentsResponse200RepoId$ {
6750
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200RepoId$inboundSchema` instead. */
6751
+ export const inboundSchema =
6752
+ GetDeploymentGitSourceDeploymentsResponse200RepoId$inboundSchema;
6753
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200RepoId$outboundSchema` instead. */
6754
+ export const outboundSchema =
6755
+ GetDeploymentGitSourceDeploymentsResponse200RepoId$outboundSchema;
6756
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200RepoId$Outbound` instead. */
6757
+ export type Outbound =
6758
+ GetDeploymentGitSourceDeploymentsResponse200RepoId$Outbound;
5869
6759
  }
5870
6760
 
5871
- export function getDeploymentGitSourceProjectIdToJSON(
5872
- getDeploymentGitSourceProjectId: GetDeploymentGitSourceProjectId,
6761
+ export function getDeploymentGitSourceDeploymentsResponse200RepoIdToJSON(
6762
+ getDeploymentGitSourceDeploymentsResponse200RepoId:
6763
+ GetDeploymentGitSourceDeploymentsResponse200RepoId,
5873
6764
  ): string {
5874
6765
  return JSON.stringify(
5875
- GetDeploymentGitSourceProjectId$outboundSchema.parse(
5876
- getDeploymentGitSourceProjectId,
6766
+ GetDeploymentGitSourceDeploymentsResponse200RepoId$outboundSchema.parse(
6767
+ getDeploymentGitSourceDeploymentsResponse200RepoId,
5877
6768
  ),
5878
6769
  );
5879
6770
  }
5880
6771
 
5881
- export function getDeploymentGitSourceProjectIdFromJSON(
6772
+ export function getDeploymentGitSourceDeploymentsResponse200RepoIdFromJSON(
5882
6773
  jsonString: string,
5883
- ): SafeParseResult<GetDeploymentGitSourceProjectId, SDKValidationError> {
6774
+ ): SafeParseResult<
6775
+ GetDeploymentGitSourceDeploymentsResponse200RepoId,
6776
+ SDKValidationError
6777
+ > {
5884
6778
  return safeParse(
5885
6779
  jsonString,
5886
- (x) => GetDeploymentGitSourceProjectId$inboundSchema.parse(JSON.parse(x)),
5887
- `Failed to parse 'GetDeploymentGitSourceProjectId' from JSON`,
6780
+ (x) =>
6781
+ GetDeploymentGitSourceDeploymentsResponse200RepoId$inboundSchema.parse(
6782
+ JSON.parse(x),
6783
+ ),
6784
+ `Failed to parse 'GetDeploymentGitSourceDeploymentsResponse200RepoId' from JSON`,
5888
6785
  );
5889
6786
  }
5890
6787
 
@@ -5895,7 +6792,8 @@ export const GetDeploymentGitSourceDeployments3$inboundSchema: z.ZodType<
5895
6792
  unknown
5896
6793
  > = z.object({
5897
6794
  type: GetDeploymentGitSourceDeploymentsType$inboundSchema,
5898
- projectId: z.union([z.string(), z.number()]),
6795
+ host: z.string(),
6796
+ repoId: z.union([z.string(), z.number()]),
5899
6797
  ref: z.nullable(z.string()).optional(),
5900
6798
  sha: z.string().optional(),
5901
6799
  prId: z.nullable(z.number()).optional(),
@@ -5904,7 +6802,8 @@ export const GetDeploymentGitSourceDeployments3$inboundSchema: z.ZodType<
5904
6802
  /** @internal */
5905
6803
  export type GetDeploymentGitSourceDeployments3$Outbound = {
5906
6804
  type: string;
5907
- projectId: string | number;
6805
+ host: string;
6806
+ repoId: string | number;
5908
6807
  ref?: string | null | undefined;
5909
6808
  sha?: string | undefined;
5910
6809
  prId?: number | null | undefined;
@@ -5917,7 +6816,8 @@ export const GetDeploymentGitSourceDeployments3$outboundSchema: z.ZodType<
5917
6816
  GetDeploymentGitSourceDeployments3
5918
6817
  > = z.object({
5919
6818
  type: GetDeploymentGitSourceDeploymentsType$outboundSchema,
5920
- projectId: z.union([z.string(), z.number()]),
6819
+ host: z.string(),
6820
+ repoId: z.union([z.string(), z.number()]),
5921
6821
  ref: z.nullable(z.string()).optional(),
5922
6822
  sha: z.string().optional(),
5923
6823
  prId: z.nullable(z.number()).optional(),
@@ -6081,52 +6981,66 @@ export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResp
6081
6981
  }
6082
6982
 
6083
6983
  /** @internal */
6084
- export const GetDeploymentGitSourceRepoId$inboundSchema: z.ZodType<
6085
- GetDeploymentGitSourceRepoId,
6086
- z.ZodTypeDef,
6087
- unknown
6088
- > = z.union([z.string(), z.number()]);
6984
+ export const GetDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema:
6985
+ z.ZodType<
6986
+ GetDeploymentGitSourceDeploymentsResponseRepoId,
6987
+ z.ZodTypeDef,
6988
+ unknown
6989
+ > = z.union([z.string(), z.number()]);
6089
6990
 
6090
6991
  /** @internal */
6091
- export type GetDeploymentGitSourceRepoId$Outbound = string | number;
6992
+ export type GetDeploymentGitSourceDeploymentsResponseRepoId$Outbound =
6993
+ | string
6994
+ | number;
6092
6995
 
6093
6996
  /** @internal */
6094
- export const GetDeploymentGitSourceRepoId$outboundSchema: z.ZodType<
6095
- GetDeploymentGitSourceRepoId$Outbound,
6096
- z.ZodTypeDef,
6097
- GetDeploymentGitSourceRepoId
6098
- > = z.union([z.string(), z.number()]);
6997
+ export const GetDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema:
6998
+ z.ZodType<
6999
+ GetDeploymentGitSourceDeploymentsResponseRepoId$Outbound,
7000
+ z.ZodTypeDef,
7001
+ GetDeploymentGitSourceDeploymentsResponseRepoId
7002
+ > = z.union([z.string(), z.number()]);
6099
7003
 
6100
7004
  /**
6101
7005
  * @internal
6102
7006
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6103
7007
  */
6104
- export namespace GetDeploymentGitSourceRepoId$ {
6105
- /** @deprecated use `GetDeploymentGitSourceRepoId$inboundSchema` instead. */
6106
- export const inboundSchema = GetDeploymentGitSourceRepoId$inboundSchema;
6107
- /** @deprecated use `GetDeploymentGitSourceRepoId$outboundSchema` instead. */
6108
- export const outboundSchema = GetDeploymentGitSourceRepoId$outboundSchema;
6109
- /** @deprecated use `GetDeploymentGitSourceRepoId$Outbound` instead. */
6110
- export type Outbound = GetDeploymentGitSourceRepoId$Outbound;
7008
+ export namespace GetDeploymentGitSourceDeploymentsResponseRepoId$ {
7009
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema` instead. */
7010
+ export const inboundSchema =
7011
+ GetDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema;
7012
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema` instead. */
7013
+ export const outboundSchema =
7014
+ GetDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema;
7015
+ /** @deprecated use `GetDeploymentGitSourceDeploymentsResponseRepoId$Outbound` instead. */
7016
+ export type Outbound =
7017
+ GetDeploymentGitSourceDeploymentsResponseRepoId$Outbound;
6111
7018
  }
6112
7019
 
6113
- export function getDeploymentGitSourceRepoIdToJSON(
6114
- getDeploymentGitSourceRepoId: GetDeploymentGitSourceRepoId,
7020
+ export function getDeploymentGitSourceDeploymentsResponseRepoIdToJSON(
7021
+ getDeploymentGitSourceDeploymentsResponseRepoId:
7022
+ GetDeploymentGitSourceDeploymentsResponseRepoId,
6115
7023
  ): string {
6116
7024
  return JSON.stringify(
6117
- GetDeploymentGitSourceRepoId$outboundSchema.parse(
6118
- getDeploymentGitSourceRepoId,
7025
+ GetDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema.parse(
7026
+ getDeploymentGitSourceDeploymentsResponseRepoId,
6119
7027
  ),
6120
7028
  );
6121
7029
  }
6122
7030
 
6123
- export function getDeploymentGitSourceRepoIdFromJSON(
7031
+ export function getDeploymentGitSourceDeploymentsResponseRepoIdFromJSON(
6124
7032
  jsonString: string,
6125
- ): SafeParseResult<GetDeploymentGitSourceRepoId, SDKValidationError> {
7033
+ ): SafeParseResult<
7034
+ GetDeploymentGitSourceDeploymentsResponseRepoId,
7035
+ SDKValidationError
7036
+ > {
6126
7037
  return safeParse(
6127
7038
  jsonString,
6128
- (x) => GetDeploymentGitSourceRepoId$inboundSchema.parse(JSON.parse(x)),
6129
- `Failed to parse 'GetDeploymentGitSourceRepoId' from JSON`,
7039
+ (x) =>
7040
+ GetDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema.parse(
7041
+ JSON.parse(x),
7042
+ ),
7043
+ `Failed to parse 'GetDeploymentGitSourceDeploymentsResponseRepoId' from JSON`,
6130
7044
  );
6131
7045
  }
6132
7046
 
@@ -6208,28 +7122,34 @@ export const GetDeploymentResponseBodyGitSource$inboundSchema: z.ZodType<
6208
7122
  z.ZodTypeDef,
6209
7123
  unknown
6210
7124
  > = z.union([
6211
- z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema),
6212
7125
  z.lazy(() => GetDeploymentGitSourceDeployments8$inboundSchema),
7126
+ z.lazy(() => GetDeploymentGitSourceDeployments11$inboundSchema),
6213
7127
  z.lazy(() => GetDeploymentGitSourceDeployments1$inboundSchema),
6214
- z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema),
6215
- z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema),
6216
- z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema),
6217
7128
  z.lazy(() => GetDeploymentGitSourceDeployments5$inboundSchema),
7129
+ z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema),
7130
+ z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema),
7131
+ z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema),
6218
7132
  z.lazy(() => GetDeploymentGitSourceDeployments7$inboundSchema),
6219
7133
  z.lazy(() => GetDeploymentGitSourceDeployments9$inboundSchema),
7134
+ z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema),
7135
+ z.lazy(() => GetDeploymentGitSourceDeployments10$inboundSchema),
7136
+ z.lazy(() => GetDeploymentGitSourceDeployments12$inboundSchema),
6220
7137
  ]);
6221
7138
 
6222
7139
  /** @internal */
6223
7140
  export type GetDeploymentResponseBodyGitSource$Outbound =
6224
- | GetDeploymentGitSourceDeployments6$Outbound
6225
7141
  | GetDeploymentGitSourceDeployments8$Outbound
7142
+ | GetDeploymentGitSourceDeployments11$Outbound
6226
7143
  | GetDeploymentGitSourceDeployments1$Outbound
6227
- | GetDeploymentGitSourceDeployments3$Outbound
6228
- | GetDeploymentGitSourceDeployments2$Outbound
6229
- | GetDeploymentGitSourceDeployments4$Outbound
6230
7144
  | GetDeploymentGitSourceDeployments5$Outbound
7145
+ | GetDeploymentGitSourceDeployments2$Outbound
7146
+ | GetDeploymentGitSourceDeployments3$Outbound
7147
+ | GetDeploymentGitSourceDeployments6$Outbound
6231
7148
  | GetDeploymentGitSourceDeployments7$Outbound
6232
- | GetDeploymentGitSourceDeployments9$Outbound;
7149
+ | GetDeploymentGitSourceDeployments9$Outbound
7150
+ | GetDeploymentGitSourceDeployments4$Outbound
7151
+ | GetDeploymentGitSourceDeployments10$Outbound
7152
+ | GetDeploymentGitSourceDeployments12$Outbound;
6233
7153
 
6234
7154
  /** @internal */
6235
7155
  export const GetDeploymentResponseBodyGitSource$outboundSchema: z.ZodType<
@@ -6237,15 +7157,18 @@ export const GetDeploymentResponseBodyGitSource$outboundSchema: z.ZodType<
6237
7157
  z.ZodTypeDef,
6238
7158
  GetDeploymentResponseBodyGitSource
6239
7159
  > = z.union([
6240
- z.lazy(() => GetDeploymentGitSourceDeployments6$outboundSchema),
6241
7160
  z.lazy(() => GetDeploymentGitSourceDeployments8$outboundSchema),
7161
+ z.lazy(() => GetDeploymentGitSourceDeployments11$outboundSchema),
6242
7162
  z.lazy(() => GetDeploymentGitSourceDeployments1$outboundSchema),
6243
- z.lazy(() => GetDeploymentGitSourceDeployments3$outboundSchema),
6244
- z.lazy(() => GetDeploymentGitSourceDeployments2$outboundSchema),
6245
- z.lazy(() => GetDeploymentGitSourceDeployments4$outboundSchema),
6246
7163
  z.lazy(() => GetDeploymentGitSourceDeployments5$outboundSchema),
7164
+ z.lazy(() => GetDeploymentGitSourceDeployments2$outboundSchema),
7165
+ z.lazy(() => GetDeploymentGitSourceDeployments3$outboundSchema),
7166
+ z.lazy(() => GetDeploymentGitSourceDeployments6$outboundSchema),
6247
7167
  z.lazy(() => GetDeploymentGitSourceDeployments7$outboundSchema),
6248
7168
  z.lazy(() => GetDeploymentGitSourceDeployments9$outboundSchema),
7169
+ z.lazy(() => GetDeploymentGitSourceDeployments4$outboundSchema),
7170
+ z.lazy(() => GetDeploymentGitSourceDeployments10$outboundSchema),
7171
+ z.lazy(() => GetDeploymentGitSourceDeployments12$outboundSchema),
6249
7172
  ]);
6250
7173
 
6251
7174
  /**
@@ -8565,6 +9488,7 @@ export const GetDeploymentResponseBody1$inboundSchema: z.ZodType<
8565
9488
  aliasAssigned: z.boolean(),
8566
9489
  bootedAt: z.number(),
8567
9490
  buildingAt: z.number(),
9491
+ buildContainerFinishedAt: z.number().optional(),
8568
9492
  buildSkipped: z.boolean(),
8569
9493
  creator: z.lazy(() => ResponseBodyCreator$inboundSchema),
8570
9494
  initReadyAt: z.number().optional(),
@@ -8607,15 +9531,18 @@ export const GetDeploymentResponseBody1$inboundSchema: z.ZodType<
8607
9531
  errorStep: z.string().optional(),
8608
9532
  passiveRegions: z.array(z.string()).optional(),
8609
9533
  gitSource: z.union([
8610
- z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema),
8611
9534
  z.lazy(() => GetDeploymentGitSourceDeployments8$inboundSchema),
9535
+ z.lazy(() => GetDeploymentGitSourceDeployments11$inboundSchema),
8612
9536
  z.lazy(() => GetDeploymentGitSourceDeployments1$inboundSchema),
8613
- z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema),
8614
- z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema),
8615
- z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema),
8616
9537
  z.lazy(() => GetDeploymentGitSourceDeployments5$inboundSchema),
9538
+ z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema),
9539
+ z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema),
9540
+ z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema),
8617
9541
  z.lazy(() => GetDeploymentGitSourceDeployments7$inboundSchema),
8618
9542
  z.lazy(() => GetDeploymentGitSourceDeployments9$inboundSchema),
9543
+ z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema),
9544
+ z.lazy(() => GetDeploymentGitSourceDeployments10$inboundSchema),
9545
+ z.lazy(() => GetDeploymentGitSourceDeployments12$inboundSchema),
8619
9546
  ]).optional(),
8620
9547
  meta: z.record(z.string()),
8621
9548
  originCacheRegion: z.string().optional(),
@@ -8688,6 +9615,7 @@ export type GetDeploymentResponseBody1$Outbound = {
8688
9615
  aliasAssigned: boolean;
8689
9616
  bootedAt: number;
8690
9617
  buildingAt: number;
9618
+ buildContainerFinishedAt?: number | undefined;
8691
9619
  buildSkipped: boolean;
8692
9620
  creator: ResponseBodyCreator$Outbound;
8693
9621
  initReadyAt?: number | undefined;
@@ -8729,15 +9657,18 @@ export type GetDeploymentResponseBody1$Outbound = {
8729
9657
  errorStep?: string | undefined;
8730
9658
  passiveRegions?: Array<string> | undefined;
8731
9659
  gitSource?:
8732
- | GetDeploymentGitSourceDeployments6$Outbound
8733
9660
  | GetDeploymentGitSourceDeployments8$Outbound
9661
+ | GetDeploymentGitSourceDeployments11$Outbound
8734
9662
  | GetDeploymentGitSourceDeployments1$Outbound
8735
- | GetDeploymentGitSourceDeployments3$Outbound
8736
- | GetDeploymentGitSourceDeployments2$Outbound
8737
- | GetDeploymentGitSourceDeployments4$Outbound
8738
9663
  | GetDeploymentGitSourceDeployments5$Outbound
9664
+ | GetDeploymentGitSourceDeployments2$Outbound
9665
+ | GetDeploymentGitSourceDeployments3$Outbound
9666
+ | GetDeploymentGitSourceDeployments6$Outbound
8739
9667
  | GetDeploymentGitSourceDeployments7$Outbound
8740
9668
  | GetDeploymentGitSourceDeployments9$Outbound
9669
+ | GetDeploymentGitSourceDeployments4$Outbound
9670
+ | GetDeploymentGitSourceDeployments10$Outbound
9671
+ | GetDeploymentGitSourceDeployments12$Outbound
8741
9672
  | undefined;
8742
9673
  meta: { [k: string]: string };
8743
9674
  originCacheRegion?: string | undefined;
@@ -8812,6 +9743,7 @@ export const GetDeploymentResponseBody1$outboundSchema: z.ZodType<
8812
9743
  aliasAssigned: z.boolean(),
8813
9744
  bootedAt: z.number(),
8814
9745
  buildingAt: z.number(),
9746
+ buildContainerFinishedAt: z.number().optional(),
8815
9747
  buildSkipped: z.boolean(),
8816
9748
  creator: z.lazy(() => ResponseBodyCreator$outboundSchema),
8817
9749
  initReadyAt: z.number().optional(),
@@ -8855,15 +9787,18 @@ export const GetDeploymentResponseBody1$outboundSchema: z.ZodType<
8855
9787
  errorStep: z.string().optional(),
8856
9788
  passiveRegions: z.array(z.string()).optional(),
8857
9789
  gitSource: z.union([
8858
- z.lazy(() => GetDeploymentGitSourceDeployments6$outboundSchema),
8859
9790
  z.lazy(() => GetDeploymentGitSourceDeployments8$outboundSchema),
9791
+ z.lazy(() => GetDeploymentGitSourceDeployments11$outboundSchema),
8860
9792
  z.lazy(() => GetDeploymentGitSourceDeployments1$outboundSchema),
8861
- z.lazy(() => GetDeploymentGitSourceDeployments3$outboundSchema),
8862
- z.lazy(() => GetDeploymentGitSourceDeployments2$outboundSchema),
8863
- z.lazy(() => GetDeploymentGitSourceDeployments4$outboundSchema),
8864
9793
  z.lazy(() => GetDeploymentGitSourceDeployments5$outboundSchema),
9794
+ z.lazy(() => GetDeploymentGitSourceDeployments2$outboundSchema),
9795
+ z.lazy(() => GetDeploymentGitSourceDeployments3$outboundSchema),
9796
+ z.lazy(() => GetDeploymentGitSourceDeployments6$outboundSchema),
8865
9797
  z.lazy(() => GetDeploymentGitSourceDeployments7$outboundSchema),
8866
9798
  z.lazy(() => GetDeploymentGitSourceDeployments9$outboundSchema),
9799
+ z.lazy(() => GetDeploymentGitSourceDeployments4$outboundSchema),
9800
+ z.lazy(() => GetDeploymentGitSourceDeployments10$outboundSchema),
9801
+ z.lazy(() => GetDeploymentGitSourceDeployments12$outboundSchema),
8867
9802
  ]).optional(),
8868
9803
  meta: z.record(z.string()),
8869
9804
  originCacheRegion: z.string().optional(),