@vercel/sdk 1.11.2 → 1.12.0

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 (257) hide show
  1. package/README.md +60 -59
  2. package/bin/mcp-server.js +4502 -3066
  3. package/bin/mcp-server.js.map +46 -40
  4. package/docs/sdks/deployments/README.md +8 -0
  5. package/docs/sdks/edgecache/README.md +169 -0
  6. package/docs/sdks/integrations/README.md +83 -0
  7. package/docs/sdks/projects/README.md +0 -2
  8. package/docs/sdks/vercel/README.md +0 -74
  9. package/esm/__tests__/deployments.test.js +1 -1
  10. package/esm/__tests__/deployments.test.js.map +1 -1
  11. package/esm/__tests__/domains.test.js +3 -12
  12. package/esm/__tests__/domains.test.js.map +1 -1
  13. package/esm/__tests__/integrations.test.js +28 -1
  14. package/esm/__tests__/integrations.test.js.map +1 -1
  15. package/esm/__tests__/logdrains.test.js +9 -0
  16. package/esm/__tests__/logdrains.test.js.map +1 -1
  17. package/esm/__tests__/rollingrelease.test.js +2 -6
  18. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  19. package/esm/__tests__/security.test.js +4 -4
  20. package/esm/__tests__/security.test.js.map +1 -1
  21. package/esm/__tests__/vercel.test.js +3 -27
  22. package/esm/__tests__/vercel.test.js.map +1 -1
  23. package/esm/funcs/deploymentsGetDeployments.js +1 -0
  24. package/esm/funcs/deploymentsGetDeployments.js.map +1 -1
  25. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts +20 -0
  26. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts.map +1 -0
  27. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js +91 -0
  28. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js.map +1 -0
  29. package/esm/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts → edgeCacheInvalidateByTags.d.ts} +9 -3
  30. package/esm/funcs/edgeCacheInvalidateByTags.d.ts.map +1 -0
  31. package/esm/funcs/edgeCacheInvalidateByTags.js +91 -0
  32. package/esm/funcs/edgeCacheInvalidateByTags.js.map +1 -0
  33. package/esm/funcs/integrationsGetBillingPlans.d.ts +20 -0
  34. package/esm/funcs/integrationsGetBillingPlans.d.ts.map +1 -0
  35. package/esm/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js → integrationsGetBillingPlans.js} +21 -9
  36. package/esm/funcs/integrationsGetBillingPlans.js.map +1 -0
  37. package/esm/funcs/marketplaceImportResource.js +2 -2
  38. package/esm/funcs/marketplaceImportResource.js.map +1 -1
  39. package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
  40. package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
  41. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  42. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  43. package/esm/funcs/projectsGetProjects.js +0 -1
  44. package/esm/funcs/projectsGetProjects.js.map +1 -1
  45. package/esm/lib/config.d.ts +3 -3
  46. package/esm/lib/config.js +3 -3
  47. package/esm/lib/url.js +1 -1
  48. package/esm/lib/url.js.map +1 -1
  49. package/esm/mcp-server/mcp-server.js +1 -1
  50. package/esm/mcp-server/server.d.ts.map +1 -1
  51. package/esm/mcp-server/server.js +7 -3
  52. package/esm/mcp-server/server.js.map +1 -1
  53. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.d.ts +7 -0
  54. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.d.ts.map +1 -0
  55. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js +27 -0
  56. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js.map +1 -0
  57. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.d.ts +7 -0
  58. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.d.ts.map +1 -0
  59. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.js +27 -0
  60. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.js.map +1 -0
  61. package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts +7 -0
  62. package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts.map +1 -0
  63. package/esm/mcp-server/tools/integrationsGetBillingPlans.js +28 -0
  64. package/esm/mcp-server/tools/integrationsGetBillingPlans.js.map +1 -0
  65. package/esm/models/approverollingreleasestageop.d.ts +15 -0
  66. package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
  67. package/esm/models/approverollingreleasestageop.js +6 -0
  68. package/esm/models/approverollingreleasestageop.js.map +1 -1
  69. package/esm/models/canceldeploymentop.d.ts +63 -50
  70. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  71. package/esm/models/canceldeploymentop.js +59 -54
  72. package/esm/models/canceldeploymentop.js.map +1 -1
  73. package/esm/models/completerollingreleaseop.d.ts +15 -0
  74. package/esm/models/completerollingreleaseop.d.ts.map +1 -1
  75. package/esm/models/completerollingreleaseop.js +6 -0
  76. package/esm/models/completerollingreleaseop.js.map +1 -1
  77. package/esm/models/createdeploymentop.d.ts +289 -144
  78. package/esm/models/createdeploymentop.d.ts.map +1 -1
  79. package/esm/models/createdeploymentop.js +259 -124
  80. package/esm/models/createdeploymentop.js.map +1 -1
  81. package/esm/models/createedgeconfigop.d.ts +2 -2
  82. package/esm/models/createedgeconfigop.d.ts.map +1 -1
  83. package/esm/models/createedgeconfigop.js +2 -2
  84. package/esm/models/createedgeconfigop.js.map +1 -1
  85. package/esm/models/createintegrationstoredirectop.d.ts +906 -308
  86. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
  87. package/esm/models/createintegrationstoredirectop.js +1077 -371
  88. package/esm/models/createintegrationstoredirectop.js.map +1 -1
  89. package/esm/models/createlogdrainop.d.ts +126 -4
  90. package/esm/models/createlogdrainop.d.ts.map +1 -1
  91. package/esm/models/createlogdrainop.js +129 -1
  92. package/esm/models/createlogdrainop.js.map +1 -1
  93. package/esm/models/createprojectop.d.ts +43 -30
  94. package/esm/models/createprojectop.d.ts.map +1 -1
  95. package/esm/models/createprojectop.js +24 -18
  96. package/esm/models/createprojectop.js.map +1 -1
  97. package/esm/models/dangerouslydeletebytagsop.d.ts +117 -0
  98. package/esm/models/dangerouslydeletebytagsop.d.ts.map +1 -0
  99. package/esm/models/dangerouslydeletebytagsop.js +117 -0
  100. package/esm/models/dangerouslydeletebytagsop.js.map +1 -0
  101. package/esm/models/getbillingplansop.d.ts +257 -0
  102. package/esm/models/getbillingplansop.d.ts.map +1 -0
  103. package/esm/models/getbillingplansop.js +244 -0
  104. package/esm/models/getbillingplansop.js.map +1 -0
  105. package/esm/models/getconfigurationop.d.ts +8 -8
  106. package/esm/models/getconfigurationop.d.ts.map +1 -1
  107. package/esm/models/getconfigurationop.js +12 -12
  108. package/esm/models/getconfigurationop.js.map +1 -1
  109. package/esm/models/getconfigurationproductsop.d.ts +909 -390
  110. package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
  111. package/esm/models/getconfigurationproductsop.js +1104 -471
  112. package/esm/models/getconfigurationproductsop.js.map +1 -1
  113. package/esm/models/getconfigurationsop.d.ts +3 -0
  114. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  115. package/esm/models/getconfigurationsop.js +1 -0
  116. package/esm/models/getconfigurationsop.js.map +1 -1
  117. package/esm/models/getdeploymentop.d.ts +33 -20
  118. package/esm/models/getdeploymentop.d.ts.map +1 -1
  119. package/esm/models/getdeploymentop.js +25 -20
  120. package/esm/models/getdeploymentop.js.map +1 -1
  121. package/esm/models/getdeploymentsop.d.ts +8 -0
  122. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  123. package/esm/models/getdeploymentsop.js +3 -0
  124. package/esm/models/getdeploymentsop.js.map +1 -1
  125. package/esm/models/getedgeconfigop.d.ts +2 -2
  126. package/esm/models/getedgeconfigop.d.ts.map +1 -1
  127. package/esm/models/getedgeconfigop.js +2 -2
  128. package/esm/models/getedgeconfigop.js.map +1 -1
  129. package/esm/models/getintegrationlogdrainsop.d.ts +125 -0
  130. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  131. package/esm/models/getintegrationlogdrainsop.js +130 -0
  132. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  133. package/esm/models/getprojectsop.d.ts +206 -178
  134. package/esm/models/getprojectsop.d.ts.map +1 -1
  135. package/esm/models/getprojectsop.js +207 -166
  136. package/esm/models/getprojectsop.js.map +1 -1
  137. package/esm/models/getrollingreleaseconfigop.d.ts +5 -0
  138. package/esm/models/getrollingreleaseconfigop.d.ts.map +1 -1
  139. package/esm/models/getrollingreleaseconfigop.js +2 -0
  140. package/esm/models/getrollingreleaseconfigop.js.map +1 -1
  141. package/esm/models/getrollingreleaseop.d.ts +15 -0
  142. package/esm/models/getrollingreleaseop.d.ts.map +1 -1
  143. package/esm/models/getrollingreleaseop.js +6 -0
  144. package/esm/models/getrollingreleaseop.js.map +1 -1
  145. package/esm/models/getwebhooksop.d.ts +3 -0
  146. package/esm/models/getwebhooksop.d.ts.map +1 -1
  147. package/esm/models/getwebhooksop.js +1 -0
  148. package/esm/models/getwebhooksop.js.map +1 -1
  149. package/esm/models/importresourceop.d.ts +15 -15
  150. package/esm/models/importresourceop.d.ts.map +1 -1
  151. package/esm/models/importresourceop.js +17 -15
  152. package/esm/models/importresourceop.js.map +1 -1
  153. package/esm/models/invalidatebytagsop.d.ts +115 -0
  154. package/esm/models/invalidatebytagsop.d.ts.map +1 -0
  155. package/esm/models/invalidatebytagsop.js +116 -0
  156. package/esm/models/invalidatebytagsop.js.map +1 -0
  157. package/esm/models/updateedgeconfigop.d.ts +2 -2
  158. package/esm/models/updateedgeconfigop.d.ts.map +1 -1
  159. package/esm/models/updateedgeconfigop.js +2 -2
  160. package/esm/models/updateedgeconfigop.js.map +1 -1
  161. package/esm/models/updateprojectdatacacheop.d.ts +10 -0
  162. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  163. package/esm/models/updateprojectdatacacheop.js +5 -0
  164. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  165. package/esm/models/updateprojectop.d.ts +149 -136
  166. package/esm/models/updateprojectop.d.ts.map +1 -1
  167. package/esm/models/updateprojectop.js +146 -140
  168. package/esm/models/updateprojectop.js.map +1 -1
  169. package/esm/models/updaterollingreleaseconfigop.d.ts +5 -0
  170. package/esm/models/updaterollingreleaseconfigop.d.ts.map +1 -1
  171. package/esm/models/updaterollingreleaseconfigop.js +2 -0
  172. package/esm/models/updaterollingreleaseconfigop.js.map +1 -1
  173. package/esm/models/userevent.d.ts +1300 -1049
  174. package/esm/models/userevent.d.ts.map +1 -1
  175. package/esm/models/userevent.js +1654 -1406
  176. package/esm/models/userevent.js.map +1 -1
  177. package/esm/sdk/edgecache.d.ts +20 -0
  178. package/esm/sdk/edgecache.d.ts.map +1 -0
  179. package/esm/sdk/edgecache.js +28 -0
  180. package/esm/sdk/edgecache.js.map +1 -0
  181. package/esm/sdk/integrations.d.ts +8 -0
  182. package/esm/sdk/integrations.d.ts.map +1 -1
  183. package/esm/sdk/integrations.js +10 -0
  184. package/esm/sdk/integrations.js.map +1 -1
  185. package/esm/sdk/sdk.d.ts +4 -3
  186. package/esm/sdk/sdk.d.ts.map +1 -1
  187. package/esm/sdk/sdk.js +4 -5
  188. package/esm/sdk/sdk.js.map +1 -1
  189. package/examples/package-lock.json +1 -1
  190. package/jsr.json +1 -1
  191. package/package.json +1 -1
  192. package/src/__tests__/deployments.test.ts +1 -1
  193. package/src/__tests__/domains.test.ts +3 -12
  194. package/src/__tests__/integrations.test.ts +32 -1
  195. package/src/__tests__/logdrains.test.ts +9 -0
  196. package/src/__tests__/rollingrelease.test.ts +2 -6
  197. package/src/__tests__/security.test.ts +4 -4
  198. package/src/__tests__/vercel.test.ts +4 -33
  199. package/src/funcs/deploymentsGetDeployments.ts +1 -0
  200. package/src/funcs/edgeCacheDangerouslyDeleteByTags.ts +199 -0
  201. package/src/funcs/edgeCacheInvalidateByTags.ts +199 -0
  202. package/src/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts → integrationsGetBillingPlans.ts} +30 -24
  203. package/src/funcs/marketplaceImportResource.ts +2 -2
  204. package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
  205. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  206. package/src/funcs/projectsGetProjects.ts +0 -1
  207. package/src/lib/config.ts +3 -3
  208. package/src/lib/url.ts +1 -1
  209. package/src/mcp-server/mcp-server.ts +1 -1
  210. package/src/mcp-server/server.ts +7 -5
  211. package/src/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.ts +37 -0
  212. package/src/mcp-server/tools/edgeCacheInvalidateByTags.ts +35 -0
  213. package/src/mcp-server/tools/integrationsGetBillingPlans.ts +37 -0
  214. package/src/models/approverollingreleasestageop.ts +21 -0
  215. package/src/models/canceldeploymentop.ts +127 -104
  216. package/src/models/completerollingreleaseop.ts +21 -0
  217. package/src/models/createdeploymentop.ts +532 -226
  218. package/src/models/createedgeconfigop.ts +4 -4
  219. package/src/models/createintegrationstoredirectop.ts +2459 -673
  220. package/src/models/createlogdrainop.ts +260 -2
  221. package/src/models/createprojectop.ts +43 -30
  222. package/src/models/dangerouslydeletebytagsop.ts +249 -0
  223. package/src/models/getbillingplansop.ts +508 -0
  224. package/src/models/getconfigurationop.ts +20 -15
  225. package/src/models/getconfigurationproductsop.ts +2433 -838
  226. package/src/models/getconfigurationsop.ts +1 -0
  227. package/src/models/getdeploymentop.ts +63 -48
  228. package/src/models/getdeploymentsop.ts +8 -0
  229. package/src/models/getedgeconfigop.ts +4 -4
  230. package/src/models/getintegrationlogdrainsop.ts +237 -0
  231. package/src/models/getprojectsop.ts +434 -336
  232. package/src/models/getrollingreleaseconfigop.ts +7 -0
  233. package/src/models/getrollingreleaseop.ts +21 -0
  234. package/src/models/getwebhooksop.ts +1 -0
  235. package/src/models/importresourceop.ts +27 -29
  236. package/src/models/invalidatebytagsop.ts +227 -0
  237. package/src/models/updateedgeconfigop.ts +4 -4
  238. package/src/models/updateprojectdatacacheop.ts +12 -0
  239. package/src/models/updateprojectop.ts +299 -286
  240. package/src/models/updaterollingreleaseconfigop.ts +7 -0
  241. package/src/models/userevent.ts +3017 -2473
  242. package/src/sdk/edgecache.ts +46 -0
  243. package/src/sdk/integrations.ts +22 -0
  244. package/src/sdk/sdk.ts +7 -23
  245. package/vercel-spec.json +3578 -2444
  246. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
  247. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
  248. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +0 -7
  249. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
  250. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +0 -26
  251. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
  252. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts +0 -247
  253. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts.map +0 -1
  254. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js +0 -246
  255. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js.map +0 -1
  256. package/src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +0 -41
  257. package/src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts +0 -575
@@ -141,48 +141,79 @@ export type GitMetadata = {
141
141
  ciGitRepoVisibility?: string | undefined;
142
142
  };
143
143
 
144
- export const CreateDeploymentGitSourceDeploymentsRequestType = {
144
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type = {
145
+ Bitbucket: "bitbucket",
146
+ } as const;
147
+ export type CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type =
148
+ ClosedEnum<
149
+ typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type
150
+ >;
151
+
152
+ export type GitSource7 = {
153
+ owner: string;
154
+ ref: string;
155
+ sha?: string | undefined;
156
+ slug: string;
157
+ type: CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type;
158
+ };
159
+
160
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType = {
145
161
  Bitbucket: "bitbucket",
146
162
  } as const;
163
+ export type CreateDeploymentGitSourceDeploymentsRequestRequestBodyType =
164
+ ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType>;
165
+
166
+ export type GitSource6 = {
167
+ ref: string;
168
+ repoUuid: string;
169
+ sha?: string | undefined;
170
+ type: CreateDeploymentGitSourceDeploymentsRequestRequestBodyType;
171
+ workspaceUuid?: string | undefined;
172
+ };
173
+
174
+ export type ProjectId = number | string;
175
+
176
+ export const CreateDeploymentGitSourceDeploymentsRequestType = {
177
+ Gitlab: "gitlab",
178
+ } as const;
147
179
  export type CreateDeploymentGitSourceDeploymentsRequestType = ClosedEnum<
148
180
  typeof CreateDeploymentGitSourceDeploymentsRequestType
149
181
  >;
150
182
 
151
183
  export type GitSource5 = {
152
- owner: string;
184
+ projectId: number | string;
153
185
  ref: string;
154
186
  sha?: string | undefined;
155
- slug: string;
156
187
  type: CreateDeploymentGitSourceDeploymentsRequestType;
157
188
  };
158
189
 
159
190
  export const CreateDeploymentGitSourceDeploymentsType = {
160
- Bitbucket: "bitbucket",
191
+ GithubLimited: "github-limited",
161
192
  } as const;
162
193
  export type CreateDeploymentGitSourceDeploymentsType = ClosedEnum<
163
194
  typeof CreateDeploymentGitSourceDeploymentsType
164
195
  >;
165
196
 
166
197
  export type GitSource4 = {
198
+ org: string;
167
199
  ref: string;
168
- repoUuid: string;
200
+ repo: string;
169
201
  sha?: string | undefined;
170
202
  type: CreateDeploymentGitSourceDeploymentsType;
171
- workspaceUuid?: string | undefined;
172
203
  };
173
204
 
174
- export type ProjectId = number | string;
205
+ export type GitSourceRepoId = number | string;
175
206
 
176
207
  export const CreateDeploymentGitSourceType = {
177
- Gitlab: "gitlab",
208
+ GithubLimited: "github-limited",
178
209
  } as const;
179
210
  export type CreateDeploymentGitSourceType = ClosedEnum<
180
211
  typeof CreateDeploymentGitSourceType
181
212
  >;
182
213
 
183
214
  export type GitSource3 = {
184
- projectId: number | string;
185
215
  ref: string;
216
+ repoId: number | string;
186
217
  sha?: string | undefined;
187
218
  type: CreateDeploymentGitSourceType;
188
219
  };
@@ -202,17 +233,19 @@ export type GitSource2 = {
202
233
 
203
234
  export type RepoId = number | string;
204
235
 
205
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType = {
236
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type = {
206
237
  Github: "github",
207
238
  } as const;
208
- export type CreateDeploymentGitSourceDeploymentsRequestRequestBodyType =
209
- ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType>;
239
+ export type CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type =
240
+ ClosedEnum<
241
+ typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type
242
+ >;
210
243
 
211
244
  export type GitSource1 = {
212
245
  ref: string;
213
246
  repoId: number | string;
214
247
  sha?: string | undefined;
215
- type: CreateDeploymentGitSourceDeploymentsRequestRequestBodyType;
248
+ type: CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type;
216
249
  };
217
250
 
218
251
  /**
@@ -220,10 +253,12 @@ export type GitSource1 = {
220
253
  */
221
254
  export type GitSource =
222
255
  | GitSource2
223
- | GitSource5
256
+ | GitSource4
257
+ | GitSource7
224
258
  | GitSource1
225
259
  | GitSource3
226
- | GitSource4;
260
+ | GitSource5
261
+ | GitSource6;
227
262
 
228
263
  /**
229
264
  * The framework that is being used for this project. When `null` is used no framework is selected
@@ -279,6 +314,7 @@ export const Framework = {
279
314
  Nitro: "nitro",
280
315
  Hono: "hono",
281
316
  Express: "express",
317
+ H3: "h3",
282
318
  Xmcp: "xmcp",
283
319
  } as const;
284
320
  /**
@@ -375,10 +411,12 @@ export type CreateDeploymentRequestBody = {
375
411
  */
376
412
  gitSource?:
377
413
  | GitSource2
378
- | GitSource5
414
+ | GitSource4
415
+ | GitSource7
379
416
  | GitSource1
380
417
  | GitSource3
381
- | GitSource4
418
+ | GitSource5
419
+ | GitSource6
382
420
  | undefined;
383
421
  /**
384
422
  * An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment
@@ -493,6 +531,7 @@ export const CreateDeploymentFramework = {
493
531
  Nitro: "nitro",
494
532
  Hono: "hono",
495
533
  Express: "express",
534
+ H3: "h3",
496
535
  Xmcp: "xmcp",
497
536
  } as const;
498
537
  export type CreateDeploymentFramework = ClosedEnum<
@@ -528,11 +567,11 @@ export type CreateDeploymentProjectSettings = {
528
567
  };
529
568
 
530
569
  export const CreateDeploymentDeploymentsStatus = {
531
- Error: "error",
532
- Timeout: "timeout",
533
570
  Skipped: "skipped",
534
571
  Pending: "pending",
535
572
  Ready: "ready",
573
+ Error: "error",
574
+ Timeout: "timeout",
536
575
  } as const;
537
576
  export type CreateDeploymentDeploymentsStatus = ClosedEnum<
538
577
  typeof CreateDeploymentDeploymentsStatus
@@ -624,8 +663,8 @@ export type Creator = {
624
663
  };
625
664
 
626
665
  export const CreateDeploymentReadyState = {
627
- Error: "ERROR",
628
666
  Building: "BUILDING",
667
+ Error: "ERROR",
629
668
  Initializing: "INITIALIZING",
630
669
  Ready: "READY",
631
670
  } as const;
@@ -645,8 +684,8 @@ export type Lambdas = {
645
684
  id: string;
646
685
  createdAt?: number | undefined;
647
686
  readyState?: CreateDeploymentReadyState | undefined;
648
- readyStateAt?: number | undefined;
649
687
  entrypoint?: string | null | undefined;
688
+ readyStateAt?: number | undefined;
650
689
  output: Array<CreateDeploymentOutput>;
651
690
  };
652
691
 
@@ -1001,7 +1040,9 @@ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespon
1001
1040
  typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type
1002
1041
  >;
1003
1042
 
1004
- export type CreateDeploymentGitSourceDeploymentsRepoId = string | number;
1043
+ export type CreateDeploymentGitSourceDeploymentsResponseRepoId =
1044
+ | string
1045
+ | number;
1005
1046
 
1006
1047
  export type CreateDeploymentGitSource5 = {
1007
1048
  type:
@@ -1041,7 +1082,7 @@ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType =
1041
1082
  typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType
1042
1083
  >;
1043
1084
 
1044
- export type CreateDeploymentGitSourceRepoId = string | number;
1085
+ export type CreateDeploymentGitSourceDeploymentsRepoId = string | number;
1045
1086
 
1046
1087
  export type CreateDeploymentGitSource3 = {
1047
1088
  type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType;
@@ -1075,7 +1116,7 @@ export type CreateDeploymentGitSourceDeploymentsResponseType = ClosedEnum<
1075
1116
  typeof CreateDeploymentGitSourceDeploymentsResponseType
1076
1117
  >;
1077
1118
 
1078
- export type GitSourceRepoId = string | number;
1119
+ export type CreateDeploymentGitSourceRepoId = string | number;
1079
1120
 
1080
1121
  export type CreateDeploymentGitSource1 = {
1081
1122
  type: CreateDeploymentGitSourceDeploymentsResponseType;
@@ -1216,14 +1257,14 @@ export const CreateDeploymentPlan = {
1216
1257
  export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
1217
1258
 
1218
1259
  export const FunctionType = {
1219
- Standard: "standard",
1220
1260
  Fluid: "fluid",
1261
+ Standard: "standard",
1221
1262
  } as const;
1222
1263
  export type FunctionType = ClosedEnum<typeof FunctionType>;
1223
1264
 
1224
1265
  export const FunctionMemoryType = {
1225
- StandardLegacy: "standard_legacy",
1226
1266
  Standard: "standard",
1267
+ StandardLegacy: "standard_legacy",
1227
1268
  Performance: "performance",
1228
1269
  } as const;
1229
1270
  export type FunctionMemoryType = ClosedEnum<typeof FunctionMemoryType>;
@@ -1308,12 +1349,12 @@ export type Routes3 = {
1308
1349
  };
1309
1350
 
1310
1351
  export const Handle = {
1311
- Filesystem: "filesystem",
1312
1352
  Error: "error",
1353
+ Filesystem: "filesystem",
1313
1354
  Hit: "hit",
1314
1355
  Miss: "miss",
1315
- Resource: "resource",
1316
1356
  Rewrite: "rewrite",
1357
+ Resource: "resource",
1317
1358
  } as const;
1318
1359
  export type Handle = ClosedEnum<typeof Handle>;
1319
1360
 
@@ -1350,13 +1391,13 @@ export type CreateDeploymentValue2 = {
1350
1391
  };
1351
1392
 
1352
1393
  export type CreateDeploymentHasDeploymentsValue =
1353
- | CreateDeploymentValue2
1354
- | string;
1394
+ | string
1395
+ | CreateDeploymentValue2;
1355
1396
 
1356
1397
  export type CreateDeploymentHas2 = {
1357
1398
  type: CreateDeploymentHasDeploymentsType;
1358
1399
  key: string;
1359
- value?: CreateDeploymentValue2 | string | undefined;
1400
+ value?: string | CreateDeploymentValue2 | undefined;
1360
1401
  };
1361
1402
 
1362
1403
  export const CreateDeploymentHasType = {
@@ -1383,12 +1424,12 @@ export type CreateDeploymentValueDeploymentsResponse2002 = {
1383
1424
  };
1384
1425
 
1385
1426
  export type CreateDeploymentHasValue =
1386
- | CreateDeploymentValueDeploymentsResponse2002
1387
- | string;
1427
+ | string
1428
+ | CreateDeploymentValueDeploymentsResponse2002;
1388
1429
 
1389
1430
  export type CreateDeploymentHas1 = {
1390
1431
  type: CreateDeploymentHasType;
1391
- value: CreateDeploymentValueDeploymentsResponse2002 | string;
1432
+ value: string | CreateDeploymentValueDeploymentsResponse2002;
1392
1433
  };
1393
1434
 
1394
1435
  export type RoutesHas = CreateDeploymentHas1 | CreateDeploymentHas2;
@@ -1419,13 +1460,13 @@ export type CreateDeploymentValueDeploymentsResponse2 = {
1419
1460
  };
1420
1461
 
1421
1462
  export type CreateDeploymentMissingValue =
1422
- | CreateDeploymentValueDeploymentsResponse2
1423
- | string;
1463
+ | string
1464
+ | CreateDeploymentValueDeploymentsResponse2;
1424
1465
 
1425
1466
  export type Missing2 = {
1426
1467
  type: CreateDeploymentMissingType;
1427
1468
  key: string;
1428
- value?: CreateDeploymentValueDeploymentsResponse2 | string | undefined;
1469
+ value?: string | CreateDeploymentValueDeploymentsResponse2 | undefined;
1429
1470
  };
1430
1471
 
1431
1472
  export const MissingType = {
@@ -1449,11 +1490,11 @@ export type CreateDeploymentValueDeployments2 = {
1449
1490
  lte?: number | undefined;
1450
1491
  };
1451
1492
 
1452
- export type MissingValue = CreateDeploymentValueDeployments2 | string;
1493
+ export type MissingValue = string | CreateDeploymentValueDeployments2;
1453
1494
 
1454
1495
  export type Missing1 = {
1455
1496
  type: MissingType;
1456
- value: CreateDeploymentValueDeployments2 | string;
1497
+ value: string | CreateDeploymentValueDeployments2;
1457
1498
  };
1458
1499
 
1459
1500
  export type Missing = Missing1 | Missing2;
@@ -1476,8 +1517,8 @@ export const RoutesType = {
1476
1517
  export type RoutesType = ClosedEnum<typeof RoutesType>;
1477
1518
 
1478
1519
  export const CreateDeploymentRoutesOp = {
1479
- Set: "set",
1480
1520
  Append: "append",
1521
+ Set: "set",
1481
1522
  Delete: "delete",
1482
1523
  } as const;
1483
1524
  export type CreateDeploymentRoutesOp = ClosedEnum<
@@ -1499,10 +1540,10 @@ export type Key2 = {
1499
1540
  lte?: number | undefined;
1500
1541
  };
1501
1542
 
1502
- export type RoutesKey = Key2 | string;
1543
+ export type RoutesKey = string | Key2;
1503
1544
 
1504
1545
  export type RoutesTarget = {
1505
- key: Key2 | string;
1546
+ key: string | Key2;
1506
1547
  };
1507
1548
 
1508
1549
  export type Args = string | Array<string>;
@@ -1636,6 +1677,10 @@ export type CreateDeploymentMicrofrontends2 = {
1636
1677
  * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
1637
1678
  */
1638
1679
  microfrontendsAlias2Enabled?: boolean | undefined;
1680
+ /**
1681
+ * Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com)
1682
+ */
1683
+ microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
1639
1684
  };
1640
1685
 
1641
1686
  export type CreateDeploymentMicrofrontends1 = {
@@ -1656,6 +1701,10 @@ export type CreateDeploymentMicrofrontends1 = {
1656
1701
  * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
1657
1702
  */
1658
1703
  microfrontendsAlias2Enabled?: boolean | undefined;
1704
+ /**
1705
+ * Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com)
1706
+ */
1707
+ microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
1659
1708
  };
1660
1709
 
1661
1710
  export type CreateDeploymentMicrofrontends =
@@ -1695,8 +1744,8 @@ export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum<
1695
1744
  >;
1696
1745
 
1697
1746
  export const CreateDeploymentGitRepoOwnerType = {
1698
- User: "user",
1699
1747
  Team: "team",
1748
+ User: "user",
1700
1749
  } as const;
1701
1750
  export type CreateDeploymentGitRepoOwnerType = ClosedEnum<
1702
1751
  typeof CreateDeploymentGitRepoOwnerType
@@ -1723,8 +1772,8 @@ export type CreateDeploymentGitRepoType = ClosedEnum<
1723
1772
  >;
1724
1773
 
1725
1774
  export const GitRepoOwnerType = {
1726
- User: "user",
1727
1775
  Team: "team",
1776
+ User: "user",
1728
1777
  } as const;
1729
1778
  export type GitRepoOwnerType = ClosedEnum<typeof GitRepoOwnerType>;
1730
1779
 
@@ -1747,8 +1796,8 @@ export const GitRepoType = {
1747
1796
  export type GitRepoType = ClosedEnum<typeof GitRepoType>;
1748
1797
 
1749
1798
  export const OwnerType = {
1750
- User: "user",
1751
1799
  Team: "team",
1800
+ User: "user",
1752
1801
  } as const;
1753
1802
  export type OwnerType = ClosedEnum<typeof OwnerType>;
1754
1803
 
@@ -1809,8 +1858,6 @@ export type CreateDeploymentResponseBody = {
1809
1858
  name: string;
1810
1859
  createdAt: number;
1811
1860
  type: CreateDeploymentType;
1812
- deletedAt?: number | null | undefined;
1813
- version: number;
1814
1861
  /**
1815
1862
  * applies to custom domains only, defaults to `true`
1816
1863
  */
@@ -1842,11 +1889,13 @@ export type CreateDeploymentResponseBody = {
1842
1889
  source?: CreateDeploymentSource | undefined;
1843
1890
  target?: CreateDeploymentTarget | null | undefined;
1844
1891
  errorMessage?: string | null | undefined;
1892
+ deletedAt?: number | null | undefined;
1845
1893
  /**
1846
1894
  * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service
1847
1895
  */
1848
1896
  passiveRegions?: Array<string> | undefined;
1849
1897
  regions: Array<string>;
1898
+ version: number;
1850
1899
  aliasError?: AliasError | null | undefined;
1851
1900
  aliasFinal?: string | null | undefined;
1852
1901
  aliasWarning?: AliasWarning | null | undefined;
@@ -1872,8 +1921,8 @@ export type CreateDeploymentResponseBody = {
1872
1921
  undeletedAt?: number | undefined;
1873
1922
  url: string;
1874
1923
  projectId: string;
1875
- ownerId: string;
1876
1924
  monorepoManager?: string | null | undefined;
1925
+ ownerId: string;
1877
1926
  plan: CreateDeploymentPlan;
1878
1927
  /**
1879
1928
  * Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured
@@ -2196,6 +2245,228 @@ export function gitMetadataFromJSON(
2196
2245
  );
2197
2246
  }
2198
2247
 
2248
+ /** @internal */
2249
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema:
2250
+ z.ZodNativeEnum<
2251
+ typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type
2252
+ > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type);
2253
+
2254
+ /** @internal */
2255
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema:
2256
+ z.ZodNativeEnum<
2257
+ typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type
2258
+ > = CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema;
2259
+
2260
+ /**
2261
+ * @internal
2262
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2263
+ */
2264
+ export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$ {
2265
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema` instead. */
2266
+ export const inboundSchema =
2267
+ CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema;
2268
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema` instead. */
2269
+ export const outboundSchema =
2270
+ CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema;
2271
+ }
2272
+
2273
+ /** @internal */
2274
+ export const GitSource7$inboundSchema: z.ZodType<
2275
+ GitSource7,
2276
+ z.ZodTypeDef,
2277
+ unknown
2278
+ > = z.object({
2279
+ owner: z.string(),
2280
+ ref: z.string(),
2281
+ sha: z.string().optional(),
2282
+ slug: z.string(),
2283
+ type:
2284
+ CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema,
2285
+ });
2286
+
2287
+ /** @internal */
2288
+ export type GitSource7$Outbound = {
2289
+ owner: string;
2290
+ ref: string;
2291
+ sha?: string | undefined;
2292
+ slug: string;
2293
+ type: string;
2294
+ };
2295
+
2296
+ /** @internal */
2297
+ export const GitSource7$outboundSchema: z.ZodType<
2298
+ GitSource7$Outbound,
2299
+ z.ZodTypeDef,
2300
+ GitSource7
2301
+ > = z.object({
2302
+ owner: z.string(),
2303
+ ref: z.string(),
2304
+ sha: z.string().optional(),
2305
+ slug: z.string(),
2306
+ type:
2307
+ CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema,
2308
+ });
2309
+
2310
+ /**
2311
+ * @internal
2312
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2313
+ */
2314
+ export namespace GitSource7$ {
2315
+ /** @deprecated use `GitSource7$inboundSchema` instead. */
2316
+ export const inboundSchema = GitSource7$inboundSchema;
2317
+ /** @deprecated use `GitSource7$outboundSchema` instead. */
2318
+ export const outboundSchema = GitSource7$outboundSchema;
2319
+ /** @deprecated use `GitSource7$Outbound` instead. */
2320
+ export type Outbound = GitSource7$Outbound;
2321
+ }
2322
+
2323
+ export function gitSource7ToJSON(gitSource7: GitSource7): string {
2324
+ return JSON.stringify(GitSource7$outboundSchema.parse(gitSource7));
2325
+ }
2326
+
2327
+ export function gitSource7FromJSON(
2328
+ jsonString: string,
2329
+ ): SafeParseResult<GitSource7, SDKValidationError> {
2330
+ return safeParse(
2331
+ jsonString,
2332
+ (x) => GitSource7$inboundSchema.parse(JSON.parse(x)),
2333
+ `Failed to parse 'GitSource7' from JSON`,
2334
+ );
2335
+ }
2336
+
2337
+ /** @internal */
2338
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema:
2339
+ z.ZodNativeEnum<
2340
+ typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
2341
+ > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBodyType);
2342
+
2343
+ /** @internal */
2344
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema:
2345
+ z.ZodNativeEnum<
2346
+ typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
2347
+ > = CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
2348
+
2349
+ /**
2350
+ * @internal
2351
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2352
+ */
2353
+ export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$ {
2354
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema` instead. */
2355
+ export const inboundSchema =
2356
+ CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
2357
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema` instead. */
2358
+ export const outboundSchema =
2359
+ CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema;
2360
+ }
2361
+
2362
+ /** @internal */
2363
+ export const GitSource6$inboundSchema: z.ZodType<
2364
+ GitSource6,
2365
+ z.ZodTypeDef,
2366
+ unknown
2367
+ > = z.object({
2368
+ ref: z.string(),
2369
+ repoUuid: z.string(),
2370
+ sha: z.string().optional(),
2371
+ type:
2372
+ CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema,
2373
+ workspaceUuid: z.string().optional(),
2374
+ });
2375
+
2376
+ /** @internal */
2377
+ export type GitSource6$Outbound = {
2378
+ ref: string;
2379
+ repoUuid: string;
2380
+ sha?: string | undefined;
2381
+ type: string;
2382
+ workspaceUuid?: string | undefined;
2383
+ };
2384
+
2385
+ /** @internal */
2386
+ export const GitSource6$outboundSchema: z.ZodType<
2387
+ GitSource6$Outbound,
2388
+ z.ZodTypeDef,
2389
+ GitSource6
2390
+ > = z.object({
2391
+ ref: z.string(),
2392
+ repoUuid: z.string(),
2393
+ sha: z.string().optional(),
2394
+ type:
2395
+ CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema,
2396
+ workspaceUuid: z.string().optional(),
2397
+ });
2398
+
2399
+ /**
2400
+ * @internal
2401
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2402
+ */
2403
+ export namespace GitSource6$ {
2404
+ /** @deprecated use `GitSource6$inboundSchema` instead. */
2405
+ export const inboundSchema = GitSource6$inboundSchema;
2406
+ /** @deprecated use `GitSource6$outboundSchema` instead. */
2407
+ export const outboundSchema = GitSource6$outboundSchema;
2408
+ /** @deprecated use `GitSource6$Outbound` instead. */
2409
+ export type Outbound = GitSource6$Outbound;
2410
+ }
2411
+
2412
+ export function gitSource6ToJSON(gitSource6: GitSource6): string {
2413
+ return JSON.stringify(GitSource6$outboundSchema.parse(gitSource6));
2414
+ }
2415
+
2416
+ export function gitSource6FromJSON(
2417
+ jsonString: string,
2418
+ ): SafeParseResult<GitSource6, SDKValidationError> {
2419
+ return safeParse(
2420
+ jsonString,
2421
+ (x) => GitSource6$inboundSchema.parse(JSON.parse(x)),
2422
+ `Failed to parse 'GitSource6' from JSON`,
2423
+ );
2424
+ }
2425
+
2426
+ /** @internal */
2427
+ export const ProjectId$inboundSchema: z.ZodType<
2428
+ ProjectId,
2429
+ z.ZodTypeDef,
2430
+ unknown
2431
+ > = z.union([z.number(), z.string()]);
2432
+
2433
+ /** @internal */
2434
+ export type ProjectId$Outbound = number | string;
2435
+
2436
+ /** @internal */
2437
+ export const ProjectId$outboundSchema: z.ZodType<
2438
+ ProjectId$Outbound,
2439
+ z.ZodTypeDef,
2440
+ ProjectId
2441
+ > = z.union([z.number(), z.string()]);
2442
+
2443
+ /**
2444
+ * @internal
2445
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2446
+ */
2447
+ export namespace ProjectId$ {
2448
+ /** @deprecated use `ProjectId$inboundSchema` instead. */
2449
+ export const inboundSchema = ProjectId$inboundSchema;
2450
+ /** @deprecated use `ProjectId$outboundSchema` instead. */
2451
+ export const outboundSchema = ProjectId$outboundSchema;
2452
+ /** @deprecated use `ProjectId$Outbound` instead. */
2453
+ export type Outbound = ProjectId$Outbound;
2454
+ }
2455
+
2456
+ export function projectIdToJSON(projectId: ProjectId): string {
2457
+ return JSON.stringify(ProjectId$outboundSchema.parse(projectId));
2458
+ }
2459
+
2460
+ export function projectIdFromJSON(
2461
+ jsonString: string,
2462
+ ): SafeParseResult<ProjectId, SDKValidationError> {
2463
+ return safeParse(
2464
+ jsonString,
2465
+ (x) => ProjectId$inboundSchema.parse(JSON.parse(x)),
2466
+ `Failed to parse 'ProjectId' from JSON`,
2467
+ );
2468
+ }
2469
+
2199
2470
  /** @internal */
2200
2471
  export const CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema:
2201
2472
  z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsRequestType> = z
@@ -2225,19 +2496,17 @@ export const GitSource5$inboundSchema: z.ZodType<
2225
2496
  z.ZodTypeDef,
2226
2497
  unknown
2227
2498
  > = z.object({
2228
- owner: z.string(),
2499
+ projectId: z.union([z.number(), z.string()]),
2229
2500
  ref: z.string(),
2230
2501
  sha: z.string().optional(),
2231
- slug: z.string(),
2232
2502
  type: CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema,
2233
2503
  });
2234
2504
 
2235
2505
  /** @internal */
2236
2506
  export type GitSource5$Outbound = {
2237
- owner: string;
2507
+ projectId: number | string;
2238
2508
  ref: string;
2239
2509
  sha?: string | undefined;
2240
- slug: string;
2241
2510
  type: string;
2242
2511
  };
2243
2512
 
@@ -2247,10 +2516,9 @@ export const GitSource5$outboundSchema: z.ZodType<
2247
2516
  z.ZodTypeDef,
2248
2517
  GitSource5
2249
2518
  > = z.object({
2250
- owner: z.string(),
2519
+ projectId: z.union([z.number(), z.string()]),
2251
2520
  ref: z.string(),
2252
2521
  sha: z.string().optional(),
2253
- slug: z.string(),
2254
2522
  type: CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema,
2255
2523
  });
2256
2524
 
@@ -2310,20 +2578,20 @@ export const GitSource4$inboundSchema: z.ZodType<
2310
2578
  z.ZodTypeDef,
2311
2579
  unknown
2312
2580
  > = z.object({
2581
+ org: z.string(),
2313
2582
  ref: z.string(),
2314
- repoUuid: z.string(),
2583
+ repo: z.string(),
2315
2584
  sha: z.string().optional(),
2316
2585
  type: CreateDeploymentGitSourceDeploymentsType$inboundSchema,
2317
- workspaceUuid: z.string().optional(),
2318
2586
  });
2319
2587
 
2320
2588
  /** @internal */
2321
2589
  export type GitSource4$Outbound = {
2590
+ org: string;
2322
2591
  ref: string;
2323
- repoUuid: string;
2592
+ repo: string;
2324
2593
  sha?: string | undefined;
2325
2594
  type: string;
2326
- workspaceUuid?: string | undefined;
2327
2595
  };
2328
2596
 
2329
2597
  /** @internal */
@@ -2332,11 +2600,11 @@ export const GitSource4$outboundSchema: z.ZodType<
2332
2600
  z.ZodTypeDef,
2333
2601
  GitSource4
2334
2602
  > = z.object({
2603
+ org: z.string(),
2335
2604
  ref: z.string(),
2336
- repoUuid: z.string(),
2605
+ repo: z.string(),
2337
2606
  sha: z.string().optional(),
2338
2607
  type: CreateDeploymentGitSourceDeploymentsType$outboundSchema,
2339
- workspaceUuid: z.string().optional(),
2340
2608
  });
2341
2609
 
2342
2610
  /**
@@ -2367,46 +2635,48 @@ export function gitSource4FromJSON(
2367
2635
  }
2368
2636
 
2369
2637
  /** @internal */
2370
- export const ProjectId$inboundSchema: z.ZodType<
2371
- ProjectId,
2638
+ export const GitSourceRepoId$inboundSchema: z.ZodType<
2639
+ GitSourceRepoId,
2372
2640
  z.ZodTypeDef,
2373
2641
  unknown
2374
2642
  > = z.union([z.number(), z.string()]);
2375
2643
 
2376
2644
  /** @internal */
2377
- export type ProjectId$Outbound = number | string;
2645
+ export type GitSourceRepoId$Outbound = number | string;
2378
2646
 
2379
2647
  /** @internal */
2380
- export const ProjectId$outboundSchema: z.ZodType<
2381
- ProjectId$Outbound,
2648
+ export const GitSourceRepoId$outboundSchema: z.ZodType<
2649
+ GitSourceRepoId$Outbound,
2382
2650
  z.ZodTypeDef,
2383
- ProjectId
2651
+ GitSourceRepoId
2384
2652
  > = z.union([z.number(), z.string()]);
2385
2653
 
2386
- /**
2387
- * @internal
2388
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2389
- */
2390
- export namespace ProjectId$ {
2391
- /** @deprecated use `ProjectId$inboundSchema` instead. */
2392
- export const inboundSchema = ProjectId$inboundSchema;
2393
- /** @deprecated use `ProjectId$outboundSchema` instead. */
2394
- export const outboundSchema = ProjectId$outboundSchema;
2395
- /** @deprecated use `ProjectId$Outbound` instead. */
2396
- export type Outbound = ProjectId$Outbound;
2654
+ /**
2655
+ * @internal
2656
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2657
+ */
2658
+ export namespace GitSourceRepoId$ {
2659
+ /** @deprecated use `GitSourceRepoId$inboundSchema` instead. */
2660
+ export const inboundSchema = GitSourceRepoId$inboundSchema;
2661
+ /** @deprecated use `GitSourceRepoId$outboundSchema` instead. */
2662
+ export const outboundSchema = GitSourceRepoId$outboundSchema;
2663
+ /** @deprecated use `GitSourceRepoId$Outbound` instead. */
2664
+ export type Outbound = GitSourceRepoId$Outbound;
2397
2665
  }
2398
2666
 
2399
- export function projectIdToJSON(projectId: ProjectId): string {
2400
- return JSON.stringify(ProjectId$outboundSchema.parse(projectId));
2667
+ export function gitSourceRepoIdToJSON(
2668
+ gitSourceRepoId: GitSourceRepoId,
2669
+ ): string {
2670
+ return JSON.stringify(GitSourceRepoId$outboundSchema.parse(gitSourceRepoId));
2401
2671
  }
2402
2672
 
2403
- export function projectIdFromJSON(
2673
+ export function gitSourceRepoIdFromJSON(
2404
2674
  jsonString: string,
2405
- ): SafeParseResult<ProjectId, SDKValidationError> {
2675
+ ): SafeParseResult<GitSourceRepoId, SDKValidationError> {
2406
2676
  return safeParse(
2407
2677
  jsonString,
2408
- (x) => ProjectId$inboundSchema.parse(JSON.parse(x)),
2409
- `Failed to parse 'ProjectId' from JSON`,
2678
+ (x) => GitSourceRepoId$inboundSchema.parse(JSON.parse(x)),
2679
+ `Failed to parse 'GitSourceRepoId' from JSON`,
2410
2680
  );
2411
2681
  }
2412
2682
 
@@ -2437,16 +2707,16 @@ export const GitSource3$inboundSchema: z.ZodType<
2437
2707
  z.ZodTypeDef,
2438
2708
  unknown
2439
2709
  > = z.object({
2440
- projectId: z.union([z.number(), z.string()]),
2441
2710
  ref: z.string(),
2711
+ repoId: z.union([z.number(), z.string()]),
2442
2712
  sha: z.string().optional(),
2443
2713
  type: CreateDeploymentGitSourceType$inboundSchema,
2444
2714
  });
2445
2715
 
2446
2716
  /** @internal */
2447
2717
  export type GitSource3$Outbound = {
2448
- projectId: number | string;
2449
2718
  ref: string;
2719
+ repoId: number | string;
2450
2720
  sha?: string | undefined;
2451
2721
  type: string;
2452
2722
  };
@@ -2457,8 +2727,8 @@ export const GitSource3$outboundSchema: z.ZodType<
2457
2727
  z.ZodTypeDef,
2458
2728
  GitSource3
2459
2729
  > = z.object({
2460
- projectId: z.union([z.number(), z.string()]),
2461
2730
  ref: z.string(),
2731
+ repoId: z.union([z.number(), z.string()]),
2462
2732
  sha: z.string().optional(),
2463
2733
  type: CreateDeploymentGitSourceType$outboundSchema,
2464
2734
  });
@@ -2615,28 +2885,28 @@ export function repoIdFromJSON(
2615
2885
  }
2616
2886
 
2617
2887
  /** @internal */
2618
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema:
2888
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema:
2619
2889
  z.ZodNativeEnum<
2620
- typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
2621
- > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBodyType);
2890
+ typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type
2891
+ > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type);
2622
2892
 
2623
2893
  /** @internal */
2624
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema:
2894
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema:
2625
2895
  z.ZodNativeEnum<
2626
- typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
2627
- > = CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
2896
+ typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type
2897
+ > = CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema;
2628
2898
 
2629
2899
  /**
2630
2900
  * @internal
2631
2901
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2632
2902
  */
2633
- export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$ {
2634
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema` instead. */
2903
+ export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$ {
2904
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema` instead. */
2635
2905
  export const inboundSchema =
2636
- CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
2637
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema` instead. */
2906
+ CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema;
2907
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema` instead. */
2638
2908
  export const outboundSchema =
2639
- CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema;
2909
+ CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema;
2640
2910
  }
2641
2911
 
2642
2912
  /** @internal */
@@ -2649,7 +2919,7 @@ export const GitSource1$inboundSchema: z.ZodType<
2649
2919
  repoId: z.union([z.number(), z.string()]),
2650
2920
  sha: z.string().optional(),
2651
2921
  type:
2652
- CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema,
2922
+ CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema,
2653
2923
  });
2654
2924
 
2655
2925
  /** @internal */
@@ -2670,7 +2940,7 @@ export const GitSource1$outboundSchema: z.ZodType<
2670
2940
  repoId: z.union([z.number(), z.string()]),
2671
2941
  sha: z.string().optional(),
2672
2942
  type:
2673
- CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema,
2943
+ CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema,
2674
2944
  });
2675
2945
 
2676
2946
  /**
@@ -2707,19 +2977,23 @@ export const GitSource$inboundSchema: z.ZodType<
2707
2977
  unknown
2708
2978
  > = z.union([
2709
2979
  z.lazy(() => GitSource2$inboundSchema),
2710
- z.lazy(() => GitSource5$inboundSchema),
2980
+ z.lazy(() => GitSource4$inboundSchema),
2981
+ z.lazy(() => GitSource7$inboundSchema),
2711
2982
  z.lazy(() => GitSource1$inboundSchema),
2712
2983
  z.lazy(() => GitSource3$inboundSchema),
2713
- z.lazy(() => GitSource4$inboundSchema),
2984
+ z.lazy(() => GitSource5$inboundSchema),
2985
+ z.lazy(() => GitSource6$inboundSchema),
2714
2986
  ]);
2715
2987
 
2716
2988
  /** @internal */
2717
2989
  export type GitSource$Outbound =
2718
2990
  | GitSource2$Outbound
2719
- | GitSource5$Outbound
2991
+ | GitSource4$Outbound
2992
+ | GitSource7$Outbound
2720
2993
  | GitSource1$Outbound
2721
2994
  | GitSource3$Outbound
2722
- | GitSource4$Outbound;
2995
+ | GitSource5$Outbound
2996
+ | GitSource6$Outbound;
2723
2997
 
2724
2998
  /** @internal */
2725
2999
  export const GitSource$outboundSchema: z.ZodType<
@@ -2728,10 +3002,12 @@ export const GitSource$outboundSchema: z.ZodType<
2728
3002
  GitSource
2729
3003
  > = z.union([
2730
3004
  z.lazy(() => GitSource2$outboundSchema),
2731
- z.lazy(() => GitSource5$outboundSchema),
3005
+ z.lazy(() => GitSource4$outboundSchema),
3006
+ z.lazy(() => GitSource7$outboundSchema),
2732
3007
  z.lazy(() => GitSource1$outboundSchema),
2733
3008
  z.lazy(() => GitSource3$outboundSchema),
2734
- z.lazy(() => GitSource4$outboundSchema),
3009
+ z.lazy(() => GitSource5$outboundSchema),
3010
+ z.lazy(() => GitSource6$outboundSchema),
2735
3011
  ]);
2736
3012
 
2737
3013
  /**
@@ -2898,10 +3174,12 @@ export const CreateDeploymentRequestBody$inboundSchema: z.ZodType<
2898
3174
  gitMetadata: z.lazy(() => GitMetadata$inboundSchema).optional(),
2899
3175
  gitSource: z.union([
2900
3176
  z.lazy(() => GitSource2$inboundSchema),
2901
- z.lazy(() => GitSource5$inboundSchema),
3177
+ z.lazy(() => GitSource4$inboundSchema),
3178
+ z.lazy(() => GitSource7$inboundSchema),
2902
3179
  z.lazy(() => GitSource1$inboundSchema),
2903
3180
  z.lazy(() => GitSource3$inboundSchema),
2904
- z.lazy(() => GitSource4$inboundSchema),
3181
+ z.lazy(() => GitSource5$inboundSchema),
3182
+ z.lazy(() => GitSource6$inboundSchema),
2905
3183
  ]).optional(),
2906
3184
  meta: z.record(z.string()).optional(),
2907
3185
  monorepoManager: z.nullable(z.string()).optional(),
@@ -2920,10 +3198,12 @@ export type CreateDeploymentRequestBody$Outbound = {
2920
3198
  gitMetadata?: GitMetadata$Outbound | undefined;
2921
3199
  gitSource?:
2922
3200
  | GitSource2$Outbound
2923
- | GitSource5$Outbound
3201
+ | GitSource4$Outbound
3202
+ | GitSource7$Outbound
2924
3203
  | GitSource1$Outbound
2925
3204
  | GitSource3$Outbound
2926
- | GitSource4$Outbound
3205
+ | GitSource5$Outbound
3206
+ | GitSource6$Outbound
2927
3207
  | undefined;
2928
3208
  meta?: { [k: string]: string } | undefined;
2929
3209
  monorepoManager?: string | null | undefined;
@@ -2951,10 +3231,12 @@ export const CreateDeploymentRequestBody$outboundSchema: z.ZodType<
2951
3231
  gitMetadata: z.lazy(() => GitMetadata$outboundSchema).optional(),
2952
3232
  gitSource: z.union([
2953
3233
  z.lazy(() => GitSource2$outboundSchema),
2954
- z.lazy(() => GitSource5$outboundSchema),
3234
+ z.lazy(() => GitSource4$outboundSchema),
3235
+ z.lazy(() => GitSource7$outboundSchema),
2955
3236
  z.lazy(() => GitSource1$outboundSchema),
2956
3237
  z.lazy(() => GitSource3$outboundSchema),
2957
- z.lazy(() => GitSource4$outboundSchema),
3238
+ z.lazy(() => GitSource5$outboundSchema),
3239
+ z.lazy(() => GitSource6$outboundSchema),
2958
3240
  ]).optional(),
2959
3241
  meta: z.record(z.string()).optional(),
2960
3242
  monorepoManager: z.nullable(z.string()).optional(),
@@ -3933,8 +4215,8 @@ export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
3933
4215
  id: z.string(),
3934
4216
  createdAt: z.number().optional(),
3935
4217
  readyState: CreateDeploymentReadyState$inboundSchema.optional(),
3936
- readyStateAt: z.number().optional(),
3937
4218
  entrypoint: z.nullable(z.string()).optional(),
4219
+ readyStateAt: z.number().optional(),
3938
4220
  output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)),
3939
4221
  });
3940
4222
 
@@ -3943,8 +4225,8 @@ export type Lambdas$Outbound = {
3943
4225
  id: string;
3944
4226
  createdAt?: number | undefined;
3945
4227
  readyState?: string | undefined;
3946
- readyStateAt?: number | undefined;
3947
4228
  entrypoint?: string | null | undefined;
4229
+ readyStateAt?: number | undefined;
3948
4230
  output: Array<CreateDeploymentOutput$Outbound>;
3949
4231
  };
3950
4232
 
@@ -3957,8 +4239,8 @@ export const Lambdas$outboundSchema: z.ZodType<
3957
4239
  id: z.string(),
3958
4240
  createdAt: z.number().optional(),
3959
4241
  readyState: CreateDeploymentReadyState$outboundSchema.optional(),
3960
- readyStateAt: z.number().optional(),
3961
4242
  entrypoint: z.nullable(z.string()).optional(),
4243
+ readyStateAt: z.number().optional(),
3962
4244
  output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)),
3963
4245
  });
3964
4246
 
@@ -5632,62 +5914,66 @@ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONR
5632
5914
  }
5633
5915
 
5634
5916
  /** @internal */
5635
- export const CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema:
5636
- z.ZodType<CreateDeploymentGitSourceDeploymentsRepoId, z.ZodTypeDef, unknown> =
5637
- z.union([z.string(), z.number()]);
5917
+ export const CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema:
5918
+ z.ZodType<
5919
+ CreateDeploymentGitSourceDeploymentsResponseRepoId,
5920
+ z.ZodTypeDef,
5921
+ unknown
5922
+ > = z.union([z.string(), z.number()]);
5638
5923
 
5639
5924
  /** @internal */
5640
- export type CreateDeploymentGitSourceDeploymentsRepoId$Outbound =
5925
+ export type CreateDeploymentGitSourceDeploymentsResponseRepoId$Outbound =
5641
5926
  | string
5642
5927
  | number;
5643
5928
 
5644
5929
  /** @internal */
5645
- export const CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema:
5930
+ export const CreateDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema:
5646
5931
  z.ZodType<
5647
- CreateDeploymentGitSourceDeploymentsRepoId$Outbound,
5932
+ CreateDeploymentGitSourceDeploymentsResponseRepoId$Outbound,
5648
5933
  z.ZodTypeDef,
5649
- CreateDeploymentGitSourceDeploymentsRepoId
5934
+ CreateDeploymentGitSourceDeploymentsResponseRepoId
5650
5935
  > = z.union([z.string(), z.number()]);
5651
5936
 
5652
5937
  /**
5653
5938
  * @internal
5654
5939
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5655
5940
  */
5656
- export namespace CreateDeploymentGitSourceDeploymentsRepoId$ {
5657
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema` instead. */
5941
+ export namespace CreateDeploymentGitSourceDeploymentsResponseRepoId$ {
5942
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema` instead. */
5658
5943
  export const inboundSchema =
5659
- CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema;
5660
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema` instead. */
5944
+ CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema;
5945
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema` instead. */
5661
5946
  export const outboundSchema =
5662
- CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema;
5663
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$Outbound` instead. */
5664
- export type Outbound = CreateDeploymentGitSourceDeploymentsRepoId$Outbound;
5947
+ CreateDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema;
5948
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponseRepoId$Outbound` instead. */
5949
+ export type Outbound =
5950
+ CreateDeploymentGitSourceDeploymentsResponseRepoId$Outbound;
5665
5951
  }
5666
5952
 
5667
- export function createDeploymentGitSourceDeploymentsRepoIdToJSON(
5668
- createDeploymentGitSourceDeploymentsRepoId:
5669
- CreateDeploymentGitSourceDeploymentsRepoId,
5953
+ export function createDeploymentGitSourceDeploymentsResponseRepoIdToJSON(
5954
+ createDeploymentGitSourceDeploymentsResponseRepoId:
5955
+ CreateDeploymentGitSourceDeploymentsResponseRepoId,
5670
5956
  ): string {
5671
5957
  return JSON.stringify(
5672
- CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema.parse(
5673
- createDeploymentGitSourceDeploymentsRepoId,
5958
+ CreateDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema.parse(
5959
+ createDeploymentGitSourceDeploymentsResponseRepoId,
5674
5960
  ),
5675
5961
  );
5676
5962
  }
5677
5963
 
5678
- export function createDeploymentGitSourceDeploymentsRepoIdFromJSON(
5964
+ export function createDeploymentGitSourceDeploymentsResponseRepoIdFromJSON(
5679
5965
  jsonString: string,
5680
5966
  ): SafeParseResult<
5681
- CreateDeploymentGitSourceDeploymentsRepoId,
5967
+ CreateDeploymentGitSourceDeploymentsResponseRepoId,
5682
5968
  SDKValidationError
5683
5969
  > {
5684
5970
  return safeParse(
5685
5971
  jsonString,
5686
5972
  (x) =>
5687
- CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema.parse(
5973
+ CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema.parse(
5688
5974
  JSON.parse(x),
5689
5975
  ),
5690
- `Failed to parse 'CreateDeploymentGitSourceDeploymentsRepoId' from JSON`,
5976
+ `Failed to parse 'CreateDeploymentGitSourceDeploymentsResponseRepoId' from JSON`,
5691
5977
  );
5692
5978
  }
5693
5979
 
@@ -5890,52 +6176,62 @@ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONT
5890
6176
  }
5891
6177
 
5892
6178
  /** @internal */
5893
- export const CreateDeploymentGitSourceRepoId$inboundSchema: z.ZodType<
5894
- CreateDeploymentGitSourceRepoId,
5895
- z.ZodTypeDef,
5896
- unknown
5897
- > = z.union([z.string(), z.number()]);
6179
+ export const CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema:
6180
+ z.ZodType<CreateDeploymentGitSourceDeploymentsRepoId, z.ZodTypeDef, unknown> =
6181
+ z.union([z.string(), z.number()]);
5898
6182
 
5899
6183
  /** @internal */
5900
- export type CreateDeploymentGitSourceRepoId$Outbound = string | number;
6184
+ export type CreateDeploymentGitSourceDeploymentsRepoId$Outbound =
6185
+ | string
6186
+ | number;
5901
6187
 
5902
6188
  /** @internal */
5903
- export const CreateDeploymentGitSourceRepoId$outboundSchema: z.ZodType<
5904
- CreateDeploymentGitSourceRepoId$Outbound,
5905
- z.ZodTypeDef,
5906
- CreateDeploymentGitSourceRepoId
5907
- > = z.union([z.string(), z.number()]);
6189
+ export const CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema:
6190
+ z.ZodType<
6191
+ CreateDeploymentGitSourceDeploymentsRepoId$Outbound,
6192
+ z.ZodTypeDef,
6193
+ CreateDeploymentGitSourceDeploymentsRepoId
6194
+ > = z.union([z.string(), z.number()]);
5908
6195
 
5909
6196
  /**
5910
6197
  * @internal
5911
6198
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5912
6199
  */
5913
- export namespace CreateDeploymentGitSourceRepoId$ {
5914
- /** @deprecated use `CreateDeploymentGitSourceRepoId$inboundSchema` instead. */
5915
- export const inboundSchema = CreateDeploymentGitSourceRepoId$inboundSchema;
5916
- /** @deprecated use `CreateDeploymentGitSourceRepoId$outboundSchema` instead. */
5917
- export const outboundSchema = CreateDeploymentGitSourceRepoId$outboundSchema;
5918
- /** @deprecated use `CreateDeploymentGitSourceRepoId$Outbound` instead. */
5919
- export type Outbound = CreateDeploymentGitSourceRepoId$Outbound;
6200
+ export namespace CreateDeploymentGitSourceDeploymentsRepoId$ {
6201
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema` instead. */
6202
+ export const inboundSchema =
6203
+ CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema;
6204
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema` instead. */
6205
+ export const outboundSchema =
6206
+ CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema;
6207
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$Outbound` instead. */
6208
+ export type Outbound = CreateDeploymentGitSourceDeploymentsRepoId$Outbound;
5920
6209
  }
5921
6210
 
5922
- export function createDeploymentGitSourceRepoIdToJSON(
5923
- createDeploymentGitSourceRepoId: CreateDeploymentGitSourceRepoId,
6211
+ export function createDeploymentGitSourceDeploymentsRepoIdToJSON(
6212
+ createDeploymentGitSourceDeploymentsRepoId:
6213
+ CreateDeploymentGitSourceDeploymentsRepoId,
5924
6214
  ): string {
5925
6215
  return JSON.stringify(
5926
- CreateDeploymentGitSourceRepoId$outboundSchema.parse(
5927
- createDeploymentGitSourceRepoId,
6216
+ CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema.parse(
6217
+ createDeploymentGitSourceDeploymentsRepoId,
5928
6218
  ),
5929
6219
  );
5930
6220
  }
5931
6221
 
5932
- export function createDeploymentGitSourceRepoIdFromJSON(
6222
+ export function createDeploymentGitSourceDeploymentsRepoIdFromJSON(
5933
6223
  jsonString: string,
5934
- ): SafeParseResult<CreateDeploymentGitSourceRepoId, SDKValidationError> {
6224
+ ): SafeParseResult<
6225
+ CreateDeploymentGitSourceDeploymentsRepoId,
6226
+ SDKValidationError
6227
+ > {
5935
6228
  return safeParse(
5936
6229
  jsonString,
5937
- (x) => CreateDeploymentGitSourceRepoId$inboundSchema.parse(JSON.parse(x)),
5938
- `Failed to parse 'CreateDeploymentGitSourceRepoId' from JSON`,
6230
+ (x) =>
6231
+ CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema.parse(
6232
+ JSON.parse(x),
6233
+ ),
6234
+ `Failed to parse 'CreateDeploymentGitSourceDeploymentsRepoId' from JSON`,
5939
6235
  );
5940
6236
  }
5941
6237
 
@@ -6126,48 +6422,52 @@ export namespace CreateDeploymentGitSourceDeploymentsResponseType$ {
6126
6422
  }
6127
6423
 
6128
6424
  /** @internal */
6129
- export const GitSourceRepoId$inboundSchema: z.ZodType<
6130
- GitSourceRepoId,
6425
+ export const CreateDeploymentGitSourceRepoId$inboundSchema: z.ZodType<
6426
+ CreateDeploymentGitSourceRepoId,
6131
6427
  z.ZodTypeDef,
6132
6428
  unknown
6133
6429
  > = z.union([z.string(), z.number()]);
6134
6430
 
6135
6431
  /** @internal */
6136
- export type GitSourceRepoId$Outbound = string | number;
6432
+ export type CreateDeploymentGitSourceRepoId$Outbound = string | number;
6137
6433
 
6138
6434
  /** @internal */
6139
- export const GitSourceRepoId$outboundSchema: z.ZodType<
6140
- GitSourceRepoId$Outbound,
6435
+ export const CreateDeploymentGitSourceRepoId$outboundSchema: z.ZodType<
6436
+ CreateDeploymentGitSourceRepoId$Outbound,
6141
6437
  z.ZodTypeDef,
6142
- GitSourceRepoId
6438
+ CreateDeploymentGitSourceRepoId
6143
6439
  > = z.union([z.string(), z.number()]);
6144
6440
 
6145
6441
  /**
6146
6442
  * @internal
6147
6443
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6148
6444
  */
6149
- export namespace GitSourceRepoId$ {
6150
- /** @deprecated use `GitSourceRepoId$inboundSchema` instead. */
6151
- export const inboundSchema = GitSourceRepoId$inboundSchema;
6152
- /** @deprecated use `GitSourceRepoId$outboundSchema` instead. */
6153
- export const outboundSchema = GitSourceRepoId$outboundSchema;
6154
- /** @deprecated use `GitSourceRepoId$Outbound` instead. */
6155
- export type Outbound = GitSourceRepoId$Outbound;
6445
+ export namespace CreateDeploymentGitSourceRepoId$ {
6446
+ /** @deprecated use `CreateDeploymentGitSourceRepoId$inboundSchema` instead. */
6447
+ export const inboundSchema = CreateDeploymentGitSourceRepoId$inboundSchema;
6448
+ /** @deprecated use `CreateDeploymentGitSourceRepoId$outboundSchema` instead. */
6449
+ export const outboundSchema = CreateDeploymentGitSourceRepoId$outboundSchema;
6450
+ /** @deprecated use `CreateDeploymentGitSourceRepoId$Outbound` instead. */
6451
+ export type Outbound = CreateDeploymentGitSourceRepoId$Outbound;
6156
6452
  }
6157
6453
 
6158
- export function gitSourceRepoIdToJSON(
6159
- gitSourceRepoId: GitSourceRepoId,
6454
+ export function createDeploymentGitSourceRepoIdToJSON(
6455
+ createDeploymentGitSourceRepoId: CreateDeploymentGitSourceRepoId,
6160
6456
  ): string {
6161
- return JSON.stringify(GitSourceRepoId$outboundSchema.parse(gitSourceRepoId));
6457
+ return JSON.stringify(
6458
+ CreateDeploymentGitSourceRepoId$outboundSchema.parse(
6459
+ createDeploymentGitSourceRepoId,
6460
+ ),
6461
+ );
6162
6462
  }
6163
6463
 
6164
- export function gitSourceRepoIdFromJSON(
6464
+ export function createDeploymentGitSourceRepoIdFromJSON(
6165
6465
  jsonString: string,
6166
- ): SafeParseResult<GitSourceRepoId, SDKValidationError> {
6466
+ ): SafeParseResult<CreateDeploymentGitSourceRepoId, SDKValidationError> {
6167
6467
  return safeParse(
6168
6468
  jsonString,
6169
- (x) => GitSourceRepoId$inboundSchema.parse(JSON.parse(x)),
6170
- `Failed to parse 'GitSourceRepoId' from JSON`,
6469
+ (x) => CreateDeploymentGitSourceRepoId$inboundSchema.parse(JSON.parse(x)),
6470
+ `Failed to parse 'CreateDeploymentGitSourceRepoId' from JSON`,
6171
6471
  );
6172
6472
  }
6173
6473
 
@@ -7323,19 +7623,19 @@ export const CreateDeploymentHasDeploymentsValue$inboundSchema: z.ZodType<
7323
7623
  CreateDeploymentHasDeploymentsValue,
7324
7624
  z.ZodTypeDef,
7325
7625
  unknown
7326
- > = z.union([z.lazy(() => CreateDeploymentValue2$inboundSchema), z.string()]);
7626
+ > = z.union([z.string(), z.lazy(() => CreateDeploymentValue2$inboundSchema)]);
7327
7627
 
7328
7628
  /** @internal */
7329
7629
  export type CreateDeploymentHasDeploymentsValue$Outbound =
7330
- | CreateDeploymentValue2$Outbound
7331
- | string;
7630
+ | string
7631
+ | CreateDeploymentValue2$Outbound;
7332
7632
 
7333
7633
  /** @internal */
7334
7634
  export const CreateDeploymentHasDeploymentsValue$outboundSchema: z.ZodType<
7335
7635
  CreateDeploymentHasDeploymentsValue$Outbound,
7336
7636
  z.ZodTypeDef,
7337
7637
  CreateDeploymentHasDeploymentsValue
7338
- > = z.union([z.lazy(() => CreateDeploymentValue2$outboundSchema), z.string()]);
7638
+ > = z.union([z.string(), z.lazy(() => CreateDeploymentValue2$outboundSchema)]);
7339
7639
 
7340
7640
  /**
7341
7641
  * @internal
@@ -7382,8 +7682,8 @@ export const CreateDeploymentHas2$inboundSchema: z.ZodType<
7382
7682
  type: CreateDeploymentHasDeploymentsType$inboundSchema,
7383
7683
  key: z.string(),
7384
7684
  value: z.union([
7385
- z.lazy(() => CreateDeploymentValue2$inboundSchema),
7386
7685
  z.string(),
7686
+ z.lazy(() => CreateDeploymentValue2$inboundSchema),
7387
7687
  ]).optional(),
7388
7688
  });
7389
7689
 
@@ -7391,7 +7691,7 @@ export const CreateDeploymentHas2$inboundSchema: z.ZodType<
7391
7691
  export type CreateDeploymentHas2$Outbound = {
7392
7692
  type: string;
7393
7693
  key: string;
7394
- value?: CreateDeploymentValue2$Outbound | string | undefined;
7694
+ value?: string | CreateDeploymentValue2$Outbound | undefined;
7395
7695
  };
7396
7696
 
7397
7697
  /** @internal */
@@ -7403,8 +7703,8 @@ export const CreateDeploymentHas2$outboundSchema: z.ZodType<
7403
7703
  type: CreateDeploymentHasDeploymentsType$outboundSchema,
7404
7704
  key: z.string(),
7405
7705
  value: z.union([
7406
- z.lazy(() => CreateDeploymentValue2$outboundSchema),
7407
7706
  z.string(),
7707
+ z.lazy(() => CreateDeploymentValue2$outboundSchema),
7408
7708
  ]).optional(),
7409
7709
  });
7410
7710
 
@@ -7603,14 +7903,14 @@ export const CreateDeploymentHasValue$inboundSchema: z.ZodType<
7603
7903
  z.ZodTypeDef,
7604
7904
  unknown
7605
7905
  > = z.union([
7606
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7607
7906
  z.string(),
7907
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7608
7908
  ]);
7609
7909
 
7610
7910
  /** @internal */
7611
7911
  export type CreateDeploymentHasValue$Outbound =
7612
- | CreateDeploymentValueDeploymentsResponse2002$Outbound
7613
- | string;
7912
+ | string
7913
+ | CreateDeploymentValueDeploymentsResponse2002$Outbound;
7614
7914
 
7615
7915
  /** @internal */
7616
7916
  export const CreateDeploymentHasValue$outboundSchema: z.ZodType<
@@ -7618,8 +7918,8 @@ export const CreateDeploymentHasValue$outboundSchema: z.ZodType<
7618
7918
  z.ZodTypeDef,
7619
7919
  CreateDeploymentHasValue
7620
7920
  > = z.union([
7621
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7622
7921
  z.string(),
7922
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7623
7923
  ]);
7624
7924
 
7625
7925
  /**
@@ -7661,15 +7961,15 @@ export const CreateDeploymentHas1$inboundSchema: z.ZodType<
7661
7961
  > = z.object({
7662
7962
  type: CreateDeploymentHasType$inboundSchema,
7663
7963
  value: z.union([
7664
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7665
7964
  z.string(),
7965
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7666
7966
  ]),
7667
7967
  });
7668
7968
 
7669
7969
  /** @internal */
7670
7970
  export type CreateDeploymentHas1$Outbound = {
7671
7971
  type: string;
7672
- value: CreateDeploymentValueDeploymentsResponse2002$Outbound | string;
7972
+ value: string | CreateDeploymentValueDeploymentsResponse2002$Outbound;
7673
7973
  };
7674
7974
 
7675
7975
  /** @internal */
@@ -7680,8 +7980,8 @@ export const CreateDeploymentHas1$outboundSchema: z.ZodType<
7680
7980
  > = z.object({
7681
7981
  type: CreateDeploymentHasType$outboundSchema,
7682
7982
  value: z.union([
7683
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7684
7983
  z.string(),
7984
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7685
7985
  ]),
7686
7986
  });
7687
7987
 
@@ -7943,14 +8243,14 @@ export const CreateDeploymentMissingValue$inboundSchema: z.ZodType<
7943
8243
  z.ZodTypeDef,
7944
8244
  unknown
7945
8245
  > = z.union([
7946
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
7947
8246
  z.string(),
8247
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
7948
8248
  ]);
7949
8249
 
7950
8250
  /** @internal */
7951
8251
  export type CreateDeploymentMissingValue$Outbound =
7952
- | CreateDeploymentValueDeploymentsResponse2$Outbound
7953
- | string;
8252
+ | string
8253
+ | CreateDeploymentValueDeploymentsResponse2$Outbound;
7954
8254
 
7955
8255
  /** @internal */
7956
8256
  export const CreateDeploymentMissingValue$outboundSchema: z.ZodType<
@@ -7958,8 +8258,8 @@ export const CreateDeploymentMissingValue$outboundSchema: z.ZodType<
7958
8258
  z.ZodTypeDef,
7959
8259
  CreateDeploymentMissingValue
7960
8260
  > = z.union([
7961
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
7962
8261
  z.string(),
8262
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
7963
8263
  ]);
7964
8264
 
7965
8265
  /**
@@ -8004,8 +8304,8 @@ export const Missing2$inboundSchema: z.ZodType<
8004
8304
  type: CreateDeploymentMissingType$inboundSchema,
8005
8305
  key: z.string(),
8006
8306
  value: z.union([
8007
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
8008
8307
  z.string(),
8308
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
8009
8309
  ]).optional(),
8010
8310
  });
8011
8311
 
@@ -8014,8 +8314,8 @@ export type Missing2$Outbound = {
8014
8314
  type: string;
8015
8315
  key: string;
8016
8316
  value?:
8017
- | CreateDeploymentValueDeploymentsResponse2$Outbound
8018
8317
  | string
8318
+ | CreateDeploymentValueDeploymentsResponse2$Outbound
8019
8319
  | undefined;
8020
8320
  };
8021
8321
 
@@ -8028,8 +8328,8 @@ export const Missing2$outboundSchema: z.ZodType<
8028
8328
  type: CreateDeploymentMissingType$outboundSchema,
8029
8329
  key: z.string(),
8030
8330
  value: z.union([
8031
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
8032
8331
  z.string(),
8332
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
8033
8333
  ]).optional(),
8034
8334
  });
8035
8335
 
@@ -8220,14 +8520,14 @@ export const MissingValue$inboundSchema: z.ZodType<
8220
8520
  z.ZodTypeDef,
8221
8521
  unknown
8222
8522
  > = z.union([
8223
- z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
8224
8523
  z.string(),
8524
+ z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
8225
8525
  ]);
8226
8526
 
8227
8527
  /** @internal */
8228
8528
  export type MissingValue$Outbound =
8229
- | CreateDeploymentValueDeployments2$Outbound
8230
- | string;
8529
+ | string
8530
+ | CreateDeploymentValueDeployments2$Outbound;
8231
8531
 
8232
8532
  /** @internal */
8233
8533
  export const MissingValue$outboundSchema: z.ZodType<
@@ -8235,8 +8535,8 @@ export const MissingValue$outboundSchema: z.ZodType<
8235
8535
  z.ZodTypeDef,
8236
8536
  MissingValue
8237
8537
  > = z.union([
8238
- z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
8239
8538
  z.string(),
8539
+ z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
8240
8540
  ]);
8241
8541
 
8242
8542
  /**
@@ -8274,15 +8574,15 @@ export const Missing1$inboundSchema: z.ZodType<
8274
8574
  > = z.object({
8275
8575
  type: MissingType$inboundSchema,
8276
8576
  value: z.union([
8277
- z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
8278
8577
  z.string(),
8578
+ z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
8279
8579
  ]),
8280
8580
  });
8281
8581
 
8282
8582
  /** @internal */
8283
8583
  export type Missing1$Outbound = {
8284
8584
  type: string;
8285
- value: CreateDeploymentValueDeployments2$Outbound | string;
8585
+ value: string | CreateDeploymentValueDeployments2$Outbound;
8286
8586
  };
8287
8587
 
8288
8588
  /** @internal */
@@ -8293,8 +8593,8 @@ export const Missing1$outboundSchema: z.ZodType<
8293
8593
  > = z.object({
8294
8594
  type: MissingType$outboundSchema,
8295
8595
  value: z.union([
8296
- z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
8297
8596
  z.string(),
8597
+ z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
8298
8598
  ]),
8299
8599
  });
8300
8600
 
@@ -8598,17 +8898,17 @@ export const RoutesKey$inboundSchema: z.ZodType<
8598
8898
  RoutesKey,
8599
8899
  z.ZodTypeDef,
8600
8900
  unknown
8601
- > = z.union([z.lazy(() => Key2$inboundSchema), z.string()]);
8901
+ > = z.union([z.string(), z.lazy(() => Key2$inboundSchema)]);
8602
8902
 
8603
8903
  /** @internal */
8604
- export type RoutesKey$Outbound = Key2$Outbound | string;
8904
+ export type RoutesKey$Outbound = string | Key2$Outbound;
8605
8905
 
8606
8906
  /** @internal */
8607
8907
  export const RoutesKey$outboundSchema: z.ZodType<
8608
8908
  RoutesKey$Outbound,
8609
8909
  z.ZodTypeDef,
8610
8910
  RoutesKey
8611
- > = z.union([z.lazy(() => Key2$outboundSchema), z.string()]);
8911
+ > = z.union([z.string(), z.lazy(() => Key2$outboundSchema)]);
8612
8912
 
8613
8913
  /**
8614
8914
  * @internal
@@ -8643,12 +8943,12 @@ export const RoutesTarget$inboundSchema: z.ZodType<
8643
8943
  z.ZodTypeDef,
8644
8944
  unknown
8645
8945
  > = z.object({
8646
- key: z.union([z.lazy(() => Key2$inboundSchema), z.string()]),
8946
+ key: z.union([z.string(), z.lazy(() => Key2$inboundSchema)]),
8647
8947
  });
8648
8948
 
8649
8949
  /** @internal */
8650
8950
  export type RoutesTarget$Outbound = {
8651
- key: Key2$Outbound | string;
8951
+ key: string | Key2$Outbound;
8652
8952
  };
8653
8953
 
8654
8954
  /** @internal */
@@ -8657,7 +8957,7 @@ export const RoutesTarget$outboundSchema: z.ZodType<
8657
8957
  z.ZodTypeDef,
8658
8958
  RoutesTarget
8659
8959
  > = z.object({
8660
- key: z.union([z.lazy(() => Key2$outboundSchema), z.string()]),
8960
+ key: z.union([z.string(), z.lazy(() => Key2$outboundSchema)]),
8661
8961
  });
8662
8962
 
8663
8963
  /**
@@ -9313,6 +9613,7 @@ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
9313
9613
  defaultRoute: z.string().optional(),
9314
9614
  groupIds: z.array(z.string()),
9315
9615
  microfrontendsAlias2Enabled: z.boolean().optional(),
9616
+ microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
9316
9617
  });
9317
9618
 
9318
9619
  /** @internal */
@@ -9326,6 +9627,7 @@ export type CreateDeploymentMicrofrontends2$Outbound = {
9326
9627
  defaultRoute?: string | undefined;
9327
9628
  groupIds: Array<string>;
9328
9629
  microfrontendsAlias2Enabled?: boolean | undefined;
9630
+ microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
9329
9631
  };
9330
9632
 
9331
9633
  /** @internal */
@@ -9343,6 +9645,7 @@ export const CreateDeploymentMicrofrontends2$outboundSchema: z.ZodType<
9343
9645
  defaultRoute: z.string().optional(),
9344
9646
  groupIds: z.array(z.string()),
9345
9647
  microfrontendsAlias2Enabled: z.boolean().optional(),
9648
+ microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
9346
9649
  });
9347
9650
 
9348
9651
  /**
@@ -9389,6 +9692,7 @@ export const CreateDeploymentMicrofrontends1$inboundSchema: z.ZodType<
9389
9692
  defaultRoute: z.string().optional(),
9390
9693
  groupIds: z.array(z.string()),
9391
9694
  microfrontendsAlias2Enabled: z.boolean().optional(),
9695
+ microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
9392
9696
  });
9393
9697
 
9394
9698
  /** @internal */
@@ -9398,6 +9702,7 @@ export type CreateDeploymentMicrofrontends1$Outbound = {
9398
9702
  defaultRoute?: string | undefined;
9399
9703
  groupIds: Array<string>;
9400
9704
  microfrontendsAlias2Enabled?: boolean | undefined;
9705
+ microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
9401
9706
  };
9402
9707
 
9403
9708
  /** @internal */
@@ -9411,6 +9716,7 @@ export const CreateDeploymentMicrofrontends1$outboundSchema: z.ZodType<
9411
9716
  defaultRoute: z.string().optional(),
9412
9717
  groupIds: z.array(z.string()),
9413
9718
  microfrontendsAlias2Enabled: z.boolean().optional(),
9719
+ microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
9414
9720
  });
9415
9721
 
9416
9722
  /**
@@ -10199,8 +10505,6 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
10199
10505
  name: z.string(),
10200
10506
  createdAt: z.number(),
10201
10507
  type: CreateDeploymentType$inboundSchema,
10202
- deletedAt: z.nullable(z.number()).optional(),
10203
- version: z.number(),
10204
10508
  autoAssignCustomDomains: z.boolean().optional(),
10205
10509
  gitSource: z.union([
10206
10510
  z.lazy(() => CreateDeploymentGitSource12$inboundSchema),
@@ -10226,8 +10530,10 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
10226
10530
  source: CreateDeploymentSource$inboundSchema.optional(),
10227
10531
  target: z.nullable(CreateDeploymentTarget$inboundSchema).optional(),
10228
10532
  errorMessage: z.nullable(z.string()).optional(),
10533
+ deletedAt: z.nullable(z.number()).optional(),
10229
10534
  passiveRegions: z.array(z.string()).optional(),
10230
10535
  regions: z.array(z.string()),
10536
+ version: z.number(),
10231
10537
  aliasError: z.nullable(z.lazy(() => AliasError$inboundSchema)).optional(),
10232
10538
  aliasFinal: z.nullable(z.string()).optional(),
10233
10539
  aliasWarning: z.nullable(z.lazy(() => AliasWarning$inboundSchema)).optional(),
@@ -10247,8 +10553,8 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
10247
10553
  undeletedAt: z.number().optional(),
10248
10554
  url: z.string(),
10249
10555
  projectId: z.string(),
10250
- ownerId: z.string(),
10251
10556
  monorepoManager: z.nullable(z.string()).optional(),
10557
+ ownerId: z.string(),
10252
10558
  plan: CreateDeploymentPlan$inboundSchema,
10253
10559
  config: z.lazy(() => Config$inboundSchema).optional(),
10254
10560
  functions: z.nullable(z.record(z.lazy(() => Functions$inboundSchema)))
@@ -10326,8 +10632,6 @@ export type CreateDeploymentResponseBody$Outbound = {
10326
10632
  name: string;
10327
10633
  createdAt: number;
10328
10634
  type: string;
10329
- deletedAt?: number | null | undefined;
10330
- version: number;
10331
10635
  autoAssignCustomDomains?: boolean | undefined;
10332
10636
  gitSource?:
10333
10637
  | CreateDeploymentGitSource12$Outbound
@@ -10353,8 +10657,10 @@ export type CreateDeploymentResponseBody$Outbound = {
10353
10657
  source?: string | undefined;
10354
10658
  target?: string | null | undefined;
10355
10659
  errorMessage?: string | null | undefined;
10660
+ deletedAt?: number | null | undefined;
10356
10661
  passiveRegions?: Array<string> | undefined;
10357
10662
  regions: Array<string>;
10663
+ version: number;
10358
10664
  aliasError?: AliasError$Outbound | null | undefined;
10359
10665
  aliasFinal?: string | null | undefined;
10360
10666
  aliasWarning?: AliasWarning$Outbound | null | undefined;
@@ -10374,8 +10680,8 @@ export type CreateDeploymentResponseBody$Outbound = {
10374
10680
  undeletedAt?: number | undefined;
10375
10681
  url: string;
10376
10682
  projectId: string;
10377
- ownerId: string;
10378
10683
  monorepoManager?: string | null | undefined;
10684
+ ownerId: string;
10379
10685
  plan: string;
10380
10686
  config?: Config$Outbound | undefined;
10381
10687
  functions?: { [k: string]: Functions$Outbound } | null | undefined;
@@ -10444,8 +10750,6 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
10444
10750
  name: z.string(),
10445
10751
  createdAt: z.number(),
10446
10752
  type: CreateDeploymentType$outboundSchema,
10447
- deletedAt: z.nullable(z.number()).optional(),
10448
- version: z.number(),
10449
10753
  autoAssignCustomDomains: z.boolean().optional(),
10450
10754
  gitSource: z.union([
10451
10755
  z.lazy(() => CreateDeploymentGitSource12$outboundSchema),
@@ -10471,8 +10775,10 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
10471
10775
  source: CreateDeploymentSource$outboundSchema.optional(),
10472
10776
  target: z.nullable(CreateDeploymentTarget$outboundSchema).optional(),
10473
10777
  errorMessage: z.nullable(z.string()).optional(),
10778
+ deletedAt: z.nullable(z.number()).optional(),
10474
10779
  passiveRegions: z.array(z.string()).optional(),
10475
10780
  regions: z.array(z.string()),
10781
+ version: z.number(),
10476
10782
  aliasError: z.nullable(z.lazy(() => AliasError$outboundSchema)).optional(),
10477
10783
  aliasFinal: z.nullable(z.string()).optional(),
10478
10784
  aliasWarning: z.nullable(z.lazy(() => AliasWarning$outboundSchema))
@@ -10493,8 +10799,8 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
10493
10799
  undeletedAt: z.number().optional(),
10494
10800
  url: z.string(),
10495
10801
  projectId: z.string(),
10496
- ownerId: z.string(),
10497
10802
  monorepoManager: z.nullable(z.string()).optional(),
10803
+ ownerId: z.string(),
10498
10804
  plan: CreateDeploymentPlan$outboundSchema,
10499
10805
  config: z.lazy(() => Config$outboundSchema).optional(),
10500
10806
  functions: z.nullable(z.record(z.lazy(() => Functions$outboundSchema)))