@vercel/sdk 1.5.0 → 1.6.1

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 (274) hide show
  1. package/README.md +40 -12
  2. package/bin/mcp-server.js +9527 -2360
  3. package/bin/mcp-server.js.map +60 -62
  4. package/docs/sdks/marketplace/README.md +0 -6
  5. package/docs/sdks/security/README.md +8 -2
  6. package/docs/sdks/teams/README.md +0 -2
  7. package/esm/__tests__/apiexperimentation.test.js +3 -15
  8. package/esm/__tests__/apiexperimentation.test.js.map +1 -1
  9. package/esm/__tests__/marketplace.test.js +6 -3
  10. package/esm/__tests__/marketplace.test.js.map +1 -1
  11. package/esm/__tests__/projects.test.js +13 -15
  12. package/esm/__tests__/projects.test.js.map +1 -1
  13. package/esm/__tests__/security.test.js +0 -10
  14. package/esm/__tests__/security.test.js.map +1 -1
  15. package/esm/__tests__/teams.test.js +3 -48
  16. package/esm/__tests__/teams.test.js.map +1 -1
  17. package/esm/funcs/deploymentsGetDeployments.js +2 -0
  18. package/esm/funcs/deploymentsGetDeployments.js.map +1 -1
  19. package/esm/funcs/deploymentsUploadFile.js +2 -1
  20. package/esm/funcs/deploymentsUploadFile.js.map +1 -1
  21. package/esm/funcs/projectsCreateProjectTransferRequest.js +3 -2
  22. package/esm/funcs/projectsCreateProjectTransferRequest.js.map +1 -1
  23. package/esm/funcs/teamsGetTeamMembers.js +2 -8
  24. package/esm/funcs/teamsGetTeamMembers.js.map +1 -1
  25. package/esm/hooks/types.d.ts +1 -1
  26. package/esm/hooks/types.d.ts.map +1 -1
  27. package/esm/lib/config.d.ts +3 -3
  28. package/esm/lib/config.js +3 -3
  29. package/esm/lib/security.d.ts +4 -3
  30. package/esm/lib/security.d.ts.map +1 -1
  31. package/esm/lib/security.js +6 -1
  32. package/esm/lib/security.js.map +1 -1
  33. package/esm/mcp-server/extensions.d.ts +2 -0
  34. package/esm/mcp-server/extensions.d.ts.map +1 -1
  35. package/esm/mcp-server/mcp-server.js +1 -1
  36. package/esm/mcp-server/prompts.d.ts +26 -0
  37. package/esm/mcp-server/prompts.d.ts.map +1 -0
  38. package/esm/mcp-server/prompts.js +47 -0
  39. package/esm/mcp-server/prompts.js.map +1 -0
  40. package/esm/mcp-server/resources.d.ts.map +1 -1
  41. package/esm/mcp-server/resources.js +11 -2
  42. package/esm/mcp-server/resources.js.map +1 -1
  43. package/esm/mcp-server/server.d.ts.map +1 -1
  44. package/esm/mcp-server/server.js +5 -6
  45. package/esm/mcp-server/server.js.map +1 -1
  46. package/esm/mcp-server/tools.d.ts.map +1 -1
  47. package/esm/mcp-server/tools.js +5 -3
  48. package/esm/mcp-server/tools.js.map +1 -1
  49. package/esm/models/addbypassipop.d.ts +2 -0
  50. package/esm/models/addbypassipop.d.ts.map +1 -1
  51. package/esm/models/addbypassipop.js +4 -0
  52. package/esm/models/addbypassipop.js.map +1 -1
  53. package/esm/models/authtoken.d.ts +46 -46
  54. package/esm/models/authtoken.d.ts.map +1 -1
  55. package/esm/models/authtoken.js +63 -61
  56. package/esm/models/authtoken.js.map +1 -1
  57. package/esm/models/authuser.d.ts +22 -66
  58. package/esm/models/authuser.d.ts.map +1 -1
  59. package/esm/models/authuser.js +12 -74
  60. package/esm/models/authuser.js.map +1 -1
  61. package/esm/models/canceldeploymentop.d.ts +20 -5
  62. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  63. package/esm/models/canceldeploymentop.js +12 -3
  64. package/esm/models/canceldeploymentop.js.map +1 -1
  65. package/esm/models/createconfigurablelogdrainop.d.ts +62 -59
  66. package/esm/models/createconfigurablelogdrainop.d.ts.map +1 -1
  67. package/esm/models/createconfigurablelogdrainop.js +49 -48
  68. package/esm/models/createconfigurablelogdrainop.js.map +1 -1
  69. package/esm/models/createdeploymentop.d.ts +169 -154
  70. package/esm/models/createdeploymentop.d.ts.map +1 -1
  71. package/esm/models/createdeploymentop.js +167 -162
  72. package/esm/models/createdeploymentop.js.map +1 -1
  73. package/esm/models/createlogdrainop.d.ts +3 -0
  74. package/esm/models/createlogdrainop.d.ts.map +1 -1
  75. package/esm/models/createlogdrainop.js +1 -0
  76. package/esm/models/createlogdrainop.js.map +1 -1
  77. package/esm/models/createprojectop.d.ts +102 -96
  78. package/esm/models/createprojectop.d.ts.map +1 -1
  79. package/esm/models/createprojectop.js +117 -116
  80. package/esm/models/createprojectop.js.map +1 -1
  81. package/esm/models/createprojecttransferrequestop.d.ts +35 -0
  82. package/esm/models/createprojecttransferrequestop.d.ts.map +1 -1
  83. package/esm/models/createprojecttransferrequestop.js +38 -0
  84. package/esm/models/createprojecttransferrequestop.js.map +1 -1
  85. package/esm/models/createrecordop.d.ts +69 -69
  86. package/esm/models/createrecordop.d.ts.map +1 -1
  87. package/esm/models/createrecordop.js +85 -92
  88. package/esm/models/createrecordop.js.map +1 -1
  89. package/esm/models/deleteteamop.d.ts +15 -15
  90. package/esm/models/deleteteamop.d.ts.map +1 -1
  91. package/esm/models/deleteteamop.js +15 -15
  92. package/esm/models/deleteteamop.js.map +1 -1
  93. package/esm/models/getaliasop.d.ts +15 -15
  94. package/esm/models/getaliasop.d.ts.map +1 -1
  95. package/esm/models/getaliasop.js +15 -15
  96. package/esm/models/getaliasop.js.map +1 -1
  97. package/esm/models/getalllogdrainsop.d.ts +62 -59
  98. package/esm/models/getalllogdrainsop.d.ts.map +1 -1
  99. package/esm/models/getalllogdrainsop.js +46 -45
  100. package/esm/models/getalllogdrainsop.js.map +1 -1
  101. package/esm/models/getauthuserop.d.ts +13 -13
  102. package/esm/models/getauthuserop.d.ts.map +1 -1
  103. package/esm/models/getauthuserop.js +13 -14
  104. package/esm/models/getauthuserop.js.map +1 -1
  105. package/esm/models/getconfigurablelogdrainop.d.ts +62 -59
  106. package/esm/models/getconfigurablelogdrainop.d.ts.map +1 -1
  107. package/esm/models/getconfigurablelogdrainop.js +46 -45
  108. package/esm/models/getconfigurablelogdrainop.js.map +1 -1
  109. package/esm/models/getconfigurationop.d.ts +312 -0
  110. package/esm/models/getconfigurationop.d.ts.map +1 -1
  111. package/esm/models/getconfigurationop.js +298 -0
  112. package/esm/models/getconfigurationop.js.map +1 -1
  113. package/esm/models/getconfigurationsop.d.ts +6 -0
  114. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  115. package/esm/models/getconfigurationsop.js +2 -0
  116. package/esm/models/getconfigurationsop.js.map +1 -1
  117. package/esm/models/getdeploymentop.d.ts +26 -8
  118. package/esm/models/getdeploymentop.d.ts.map +1 -1
  119. package/esm/models/getdeploymentop.js +14 -4
  120. package/esm/models/getdeploymentop.js.map +1 -1
  121. package/esm/models/getdeploymentsop.d.ts +16 -3
  122. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  123. package/esm/models/getdeploymentsop.js +6 -1
  124. package/esm/models/getdeploymentsop.js.map +1 -1
  125. package/esm/models/getdomainconfigop.d.ts +7 -0
  126. package/esm/models/getdomainconfigop.d.ts.map +1 -1
  127. package/esm/models/getdomainconfigop.js +4 -0
  128. package/esm/models/getdomainconfigop.js.map +1 -1
  129. package/esm/models/getfirewallconfigop.d.ts +15 -15
  130. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  131. package/esm/models/getfirewallconfigop.js +15 -16
  132. package/esm/models/getfirewallconfigop.js.map +1 -1
  133. package/esm/models/getintegrationlogdrainsop.d.ts +3 -0
  134. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  135. package/esm/models/getintegrationlogdrainsop.js +1 -0
  136. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  137. package/esm/models/getinvoiceop.d.ts +159 -48
  138. package/esm/models/getinvoiceop.d.ts.map +1 -1
  139. package/esm/models/getinvoiceop.js +26 -23
  140. package/esm/models/getinvoiceop.js.map +1 -1
  141. package/esm/models/getprojectenvop.d.ts +0 -2
  142. package/esm/models/getprojectenvop.d.ts.map +1 -1
  143. package/esm/models/getprojectenvop.js +0 -2
  144. package/esm/models/getprojectenvop.js.map +1 -1
  145. package/esm/models/getprojectsop.d.ts +6 -0
  146. package/esm/models/getprojectsop.d.ts.map +1 -1
  147. package/esm/models/getprojectsop.js +2 -0
  148. package/esm/models/getprojectsop.js.map +1 -1
  149. package/esm/models/getteammembersop.d.ts +0 -5
  150. package/esm/models/getteammembersop.d.ts.map +1 -1
  151. package/esm/models/getteammembersop.js +0 -2
  152. package/esm/models/getteammembersop.js.map +1 -1
  153. package/esm/models/getteamsop.d.ts +13 -13
  154. package/esm/models/getteamsop.d.ts.map +1 -1
  155. package/esm/models/getteamsop.js +13 -14
  156. package/esm/models/getteamsop.js.map +1 -1
  157. package/esm/models/importresourceop.d.ts +64 -0
  158. package/esm/models/importresourceop.d.ts.map +1 -1
  159. package/esm/models/importresourceop.js +64 -0
  160. package/esm/models/importresourceop.js.map +1 -1
  161. package/esm/models/inviteusertoteamop.d.ts +32 -32
  162. package/esm/models/inviteusertoteamop.d.ts.map +1 -1
  163. package/esm/models/inviteusertoteamop.js +49 -49
  164. package/esm/models/inviteusertoteamop.js.map +1 -1
  165. package/esm/models/submitinvoiceop.d.ts +9 -0
  166. package/esm/models/submitinvoiceop.d.ts.map +1 -1
  167. package/esm/models/submitinvoiceop.js.map +1 -1
  168. package/esm/models/updatefirewallconfigop.d.ts +95 -95
  169. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  170. package/esm/models/updatefirewallconfigop.js +119 -121
  171. package/esm/models/updatefirewallconfigop.js.map +1 -1
  172. package/esm/models/updateinvoiceop.d.ts +8 -8
  173. package/esm/models/updateinvoiceop.d.ts.map +1 -1
  174. package/esm/models/updateinvoiceop.js +12 -13
  175. package/esm/models/updateinvoiceop.js.map +1 -1
  176. package/esm/models/updateprojectdatacacheop.d.ts +124 -118
  177. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  178. package/esm/models/updateprojectdatacacheop.js +146 -144
  179. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  180. package/esm/models/updateprojectop.d.ts +179 -173
  181. package/esm/models/updateprojectop.d.ts.map +1 -1
  182. package/esm/models/updateprojectop.js +191 -192
  183. package/esm/models/updateprojectop.js.map +1 -1
  184. package/esm/models/uploadfileop.d.ts +2 -0
  185. package/esm/models/uploadfileop.d.ts.map +1 -1
  186. package/esm/models/uploadfileop.js +14 -0
  187. package/esm/models/uploadfileop.js.map +1 -1
  188. package/esm/models/userevent.d.ts +14408 -2
  189. package/esm/models/userevent.d.ts.map +1 -1
  190. package/esm/models/userevent.js +13247 -2
  191. package/esm/models/userevent.js.map +1 -1
  192. package/esm/sdk/sdk.d.ts +0 -3
  193. package/esm/sdk/sdk.d.ts.map +1 -1
  194. package/esm/sdk/sdk.js +0 -4
  195. package/esm/sdk/sdk.js.map +1 -1
  196. package/jsr.json +1 -1
  197. package/package.json +1 -1
  198. package/src/__tests__/apiexperimentation.test.ts +5 -17
  199. package/src/__tests__/marketplace.test.ts +9 -3
  200. package/src/__tests__/projects.test.ts +13 -15
  201. package/src/__tests__/security.test.ts +0 -10
  202. package/src/__tests__/teams.test.ts +5 -50
  203. package/src/funcs/deploymentsGetDeployments.ts +2 -0
  204. package/src/funcs/deploymentsUploadFile.ts +2 -1
  205. package/src/funcs/projectsCreateProjectTransferRequest.ts +3 -2
  206. package/src/funcs/teamsGetTeamMembers.ts +2 -9
  207. package/src/hooks/types.ts +1 -1
  208. package/src/lib/config.ts +3 -3
  209. package/src/lib/security.ts +11 -3
  210. package/src/mcp-server/extensions.ts +4 -0
  211. package/src/mcp-server/mcp-server.ts +1 -1
  212. package/src/mcp-server/prompts.ts +117 -0
  213. package/src/mcp-server/resources.ts +17 -2
  214. package/src/mcp-server/server.ts +6 -6
  215. package/src/mcp-server/tools.ts +7 -3
  216. package/src/models/addbypassipop.ts +6 -0
  217. package/src/models/authtoken.ts +100 -88
  218. package/src/models/authuser.ts +36 -166
  219. package/src/models/canceldeploymentop.ts +24 -7
  220. package/src/models/createconfigurablelogdrainop.ts +76 -75
  221. package/src/models/createdeploymentop.ts +362 -289
  222. package/src/models/createlogdrainop.ts +1 -0
  223. package/src/models/createprojectop.ts +217 -186
  224. package/src/models/createprojecttransferrequestop.ts +96 -0
  225. package/src/models/createrecordop.ts +207 -183
  226. package/src/models/deleteteamop.ts +34 -27
  227. package/src/models/getaliasop.ts +28 -24
  228. package/src/models/getalllogdrainsop.ts +72 -71
  229. package/src/models/getauthuserop.ts +29 -19
  230. package/src/models/getconfigurablelogdrainop.ts +70 -69
  231. package/src/models/getconfigurationop.ts +581 -0
  232. package/src/models/getconfigurationsop.ts +2 -0
  233. package/src/models/getdeploymentop.ts +28 -10
  234. package/src/models/getdeploymentsop.ts +18 -3
  235. package/src/models/getdomainconfigop.ts +11 -0
  236. package/src/models/getfirewallconfigop.ts +40 -33
  237. package/src/models/getintegrationlogdrainsop.ts +1 -0
  238. package/src/models/getinvoiceop.ts +158 -47
  239. package/src/models/getprojectenvop.ts +0 -4
  240. package/src/models/getprojectsop.ts +2 -0
  241. package/src/models/getteammembersop.ts +0 -7
  242. package/src/models/getteamsop.ts +25 -20
  243. package/src/models/importresourceop.ts +141 -0
  244. package/src/models/inviteusertoteamop.ts +79 -79
  245. package/src/models/submitinvoiceop.ts +9 -0
  246. package/src/models/updatefirewallconfigop.ts +246 -210
  247. package/src/models/updateinvoiceop.ts +16 -14
  248. package/src/models/updateprojectdatacacheop.ts +270 -252
  249. package/src/models/updateprojectop.ts +371 -305
  250. package/src/models/uploadfileop.ts +26 -0
  251. package/src/models/userevent.ts +28245 -4
  252. package/src/sdk/sdk.ts +0 -6
  253. package/vercel-spec.json +8586 -925
  254. package/docs/sdks/apiexperimentation/README.md +0 -82
  255. package/esm/funcs/apiExperimentationGetV1ExperimentationItems.d.ts +0 -15
  256. package/esm/funcs/apiExperimentationGetV1ExperimentationItems.d.ts.map +0 -1
  257. package/esm/funcs/apiExperimentationGetV1ExperimentationItems.js +0 -81
  258. package/esm/funcs/apiExperimentationGetV1ExperimentationItems.js.map +0 -1
  259. package/esm/mcp-server/tools/apiExperimentationGetV1ExperimentationItems.d.ts +0 -7
  260. package/esm/mcp-server/tools/apiExperimentationGetV1ExperimentationItems.d.ts.map +0 -1
  261. package/esm/mcp-server/tools/apiExperimentationGetV1ExperimentationItems.js +0 -26
  262. package/esm/mcp-server/tools/apiExperimentationGetV1ExperimentationItems.js.map +0 -1
  263. package/esm/models/getv1experimentationitemsop.d.ts +0 -148
  264. package/esm/models/getv1experimentationitemsop.d.ts.map +0 -1
  265. package/esm/models/getv1experimentationitemsop.js +0 -125
  266. package/esm/models/getv1experimentationitemsop.js.map +0 -1
  267. package/esm/sdk/apiexperimentation.d.ts +0 -9
  268. package/esm/sdk/apiexperimentation.d.ts.map +0 -1
  269. package/esm/sdk/apiexperimentation.js +0 -15
  270. package/esm/sdk/apiexperimentation.js.map +0 -1
  271. package/src/funcs/apiExperimentationGetV1ExperimentationItems.ts +0 -180
  272. package/src/mcp-server/tools/apiExperimentationGetV1ExperimentationItems.ts +0 -37
  273. package/src/models/getv1experimentationitemsop.ts +0 -287
  274. package/src/sdk/apiexperimentation.ts +0 -27
@@ -128,7 +128,7 @@ export type CreateDeploymentGitSourceDeploymentsRequestType = ClosedEnum<
128
128
  typeof CreateDeploymentGitSourceDeploymentsRequestType
129
129
  >;
130
130
 
131
- export type Five = {
131
+ export type GitSource5 = {
132
132
  owner: string;
133
133
  ref: string;
134
134
  sha?: string | undefined;
@@ -143,7 +143,7 @@ export type CreateDeploymentGitSourceDeploymentsType = ClosedEnum<
143
143
  typeof CreateDeploymentGitSourceDeploymentsType
144
144
  >;
145
145
 
146
- export type Four = {
146
+ export type GitSource4 = {
147
147
  ref: string;
148
148
  repoUuid: string;
149
149
  sha?: string | undefined;
@@ -160,7 +160,7 @@ export type CreateDeploymentGitSourceType = ClosedEnum<
160
160
  typeof CreateDeploymentGitSourceType
161
161
  >;
162
162
 
163
- export type Three = {
163
+ export type GitSource3 = {
164
164
  projectId: number | string;
165
165
  ref: string;
166
166
  sha?: string | undefined;
@@ -198,7 +198,12 @@ export type GitSource1 = {
198
198
  /**
199
199
  * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
200
200
  */
201
- export type GitSource = GitSource1 | Three | GitSource2 | Four | Five;
201
+ export type GitSource =
202
+ | GitSource1
203
+ | GitSource3
204
+ | GitSource2
205
+ | GitSource4
206
+ | GitSource5;
202
207
 
203
208
  /**
204
209
  * The framework that is being used for this project. When `null` is used no framework is selected
@@ -343,7 +348,13 @@ export type CreateDeploymentRequestBody = {
343
348
  /**
344
349
  * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
345
350
  */
346
- gitSource?: GitSource1 | Three | GitSource2 | Four | Five | undefined;
351
+ gitSource?:
352
+ | GitSource1
353
+ | GitSource3
354
+ | GitSource2
355
+ | GitSource4
356
+ | GitSource5
357
+ | undefined;
347
358
  /**
348
359
  * An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment
349
360
  */
@@ -400,7 +411,11 @@ export type Build = {
400
411
  env: Array<string>;
401
412
  };
402
413
 
403
- export type Builds = {};
414
+ export type Builds = {
415
+ use: string;
416
+ src?: string | undefined;
417
+ config?: { [k: string]: any } | undefined;
418
+ };
404
419
 
405
420
  export const CreateDeploymentFramework = {
406
421
  Blitzjs: "blitzjs",
@@ -579,8 +594,8 @@ export type Creator = {
579
594
  };
580
595
 
581
596
  export const CreateDeploymentReadyState = {
582
- Error: "ERROR",
583
597
  Building: "BUILDING",
598
+ Error: "ERROR",
584
599
  Initializing: "INITIALIZING",
585
600
  Ready: "READY",
586
601
  } as const;
@@ -597,10 +612,10 @@ export type CreateDeploymentOutput = {
597
612
  * A partial representation of a Build used by the deployment endpoint.
598
613
  */
599
614
  export type Lambdas = {
600
- createdAt?: number | undefined;
601
615
  id?: string | undefined;
602
- readyState?: CreateDeploymentReadyState | undefined;
616
+ createdAt?: number | undefined;
603
617
  entrypoint?: string | null | undefined;
618
+ readyState?: CreateDeploymentReadyState | undefined;
604
619
  readyStateAt?: number | undefined;
605
620
  output: Array<CreateDeploymentOutput>;
606
621
  };
@@ -615,7 +630,7 @@ export const CreateDeploymentStatus = {
615
630
  } as const;
616
631
  export type CreateDeploymentStatus = ClosedEnum<typeof CreateDeploymentStatus>;
617
632
 
618
- export type Team = {
633
+ export type CreateDeploymentTeam = {
619
634
  name: string;
620
635
  id: string;
621
636
  slug: string;
@@ -720,7 +735,7 @@ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespon
720
735
  typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type
721
736
  >;
722
737
 
723
- export type GitSource5 = {
738
+ export type CreateDeploymentGitSource5 = {
724
739
  type:
725
740
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type;
726
741
  owner: string;
@@ -739,7 +754,7 @@ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespon
739
754
  typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType
740
755
  >;
741
756
 
742
- export type GitSource4 = {
757
+ export type CreateDeploymentGitSource4 = {
743
758
  type:
744
759
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType;
745
760
  workspaceUuid?: string | undefined;
@@ -760,7 +775,7 @@ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType =
760
775
 
761
776
  export type GitSourceProjectId = string | number;
762
777
 
763
- export type GitSource3 = {
778
+ export type CreateDeploymentGitSource3 = {
764
779
  type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType;
765
780
  projectId: string | number;
766
781
  ref?: string | null | undefined;
@@ -805,14 +820,14 @@ export type CreateDeploymentGitSource =
805
820
  | CreateDeploymentGitSource6
806
821
  | CreateDeploymentGitSource8
807
822
  | CreateDeploymentGitSource1
808
- | GitSource3
823
+ | CreateDeploymentGitSource3
809
824
  | CreateDeploymentGitSource2
810
- | GitSource4
811
- | GitSource5
825
+ | CreateDeploymentGitSource4
826
+ | CreateDeploymentGitSource5
812
827
  | CreateDeploymentGitSource7
813
828
  | CreateDeploymentGitSource9;
814
829
 
815
- export type Project = {
830
+ export type CreateDeploymentProject = {
816
831
  id: string;
817
832
  name: string;
818
833
  framework?: string | null | undefined;
@@ -874,14 +889,15 @@ export const ChecksConclusion = {
874
889
  export type ChecksConclusion = ClosedEnum<typeof ChecksConclusion>;
875
890
 
876
891
  /**
877
- * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic
892
+ * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
878
893
  */
879
894
  export const ReadySubstate = {
880
895
  Staged: "STAGED",
896
+ Rolling: "ROLLING",
881
897
  Promoted: "PROMOTED",
882
898
  } as const;
883
899
  /**
884
- * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic
900
+ * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
885
901
  */
886
902
  export type ReadySubstate = ClosedEnum<typeof ReadySubstate>;
887
903
 
@@ -897,12 +913,12 @@ export type OidcTokenClaims = {
897
913
  environment: string;
898
914
  };
899
915
 
900
- export const Plan = {
916
+ export const CreateDeploymentPlan = {
901
917
  Pro: "pro",
902
918
  Enterprise: "enterprise",
903
919
  Hobby: "hobby",
904
920
  } as const;
905
- export type Plan = ClosedEnum<typeof Plan>;
921
+ export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
906
922
 
907
923
  /**
908
924
  * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
@@ -955,14 +971,14 @@ export type CreateDeploymentMicrofrontends =
955
971
  | CreateDeploymentMicrofrontends2;
956
972
 
957
973
  export const FunctionType = {
958
- Standard: "standard",
959
974
  Fluid: "fluid",
975
+ Standard: "standard",
960
976
  } as const;
961
977
  export type FunctionType = ClosedEnum<typeof FunctionType>;
962
978
 
963
979
  export const FunctionMemoryType = {
964
- StandardLegacy: "standard_legacy",
965
980
  Standard: "standard",
981
+ StandardLegacy: "standard_legacy",
966
982
  Performance: "performance",
967
983
  } as const;
968
984
  export type FunctionMemoryType = ClosedEnum<typeof FunctionMemoryType>;
@@ -998,8 +1014,8 @@ export const RoutesHandle = {
998
1014
  Filesystem: "filesystem",
999
1015
  Hit: "hit",
1000
1016
  Miss: "miss",
1001
- Resource: "resource",
1002
1017
  Rewrite: "rewrite",
1018
+ Resource: "resource",
1003
1019
  } as const;
1004
1020
  export type RoutesHandle = ClosedEnum<typeof RoutesHandle>;
1005
1021
 
@@ -1112,8 +1128,8 @@ export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum<
1112
1128
  >;
1113
1129
 
1114
1130
  export const CreateDeploymentGitRepoOwnerType = {
1115
- User: "user",
1116
1131
  Team: "team",
1132
+ User: "user",
1117
1133
  } as const;
1118
1134
  export type CreateDeploymentGitRepoOwnerType = ClosedEnum<
1119
1135
  typeof CreateDeploymentGitRepoOwnerType
@@ -1140,8 +1156,8 @@ export type CreateDeploymentGitRepoType = ClosedEnum<
1140
1156
  >;
1141
1157
 
1142
1158
  export const GitRepoOwnerType = {
1143
- User: "user",
1144
1159
  Team: "team",
1160
+ User: "user",
1145
1161
  } as const;
1146
1162
  export type GitRepoOwnerType = ClosedEnum<typeof GitRepoOwnerType>;
1147
1163
 
@@ -1164,8 +1180,8 @@ export const GitRepoType = {
1164
1180
  export type GitRepoType = ClosedEnum<typeof GitRepoType>;
1165
1181
 
1166
1182
  export const OwnerType = {
1167
- User: "user",
1168
1183
  Team: "team",
1184
+ User: "user",
1169
1185
  } as const;
1170
1186
  export type OwnerType = ClosedEnum<typeof OwnerType>;
1171
1187
 
@@ -1237,7 +1253,7 @@ export type CreateDeploymentResponseBody = {
1237
1253
  public: boolean;
1238
1254
  ready?: number | undefined;
1239
1255
  status: CreateDeploymentStatus;
1240
- team?: Team | undefined;
1256
+ team?: CreateDeploymentTeam | undefined;
1241
1257
  userAliases?: Array<string> | undefined;
1242
1258
  previewCommentsEnabled?: boolean | undefined;
1243
1259
  ttyBuildLogs?: boolean | undefined;
@@ -1256,15 +1272,15 @@ export type CreateDeploymentResponseBody = {
1256
1272
  | CreateDeploymentGitSource6
1257
1273
  | CreateDeploymentGitSource8
1258
1274
  | CreateDeploymentGitSource1
1259
- | GitSource3
1275
+ | CreateDeploymentGitSource3
1260
1276
  | CreateDeploymentGitSource2
1261
- | GitSource4
1262
- | GitSource5
1277
+ | CreateDeploymentGitSource4
1278
+ | CreateDeploymentGitSource5
1263
1279
  | CreateDeploymentGitSource7
1264
1280
  | CreateDeploymentGitSource9
1265
1281
  | undefined;
1266
1282
  meta: { [k: string]: string };
1267
- project?: Project | undefined;
1283
+ project?: CreateDeploymentProject | undefined;
1268
1284
  readyState: ReadyState;
1269
1285
  source?: CreateDeploymentSource | undefined;
1270
1286
  target?: CreateDeploymentTarget | null | undefined;
@@ -1291,14 +1307,14 @@ export type CreateDeploymentResponseBody = {
1291
1307
  errorStep?: string | undefined;
1292
1308
  originCacheRegion?: string | undefined;
1293
1309
  /**
1294
- * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic
1310
+ * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
1295
1311
  */
1296
1312
  readySubstate?: ReadySubstate | undefined;
1297
1313
  softDeletedByRetention?: boolean | undefined;
1298
1314
  undeletedAt?: number | undefined;
1299
1315
  url: string;
1300
1316
  oidcTokenClaims?: OidcTokenClaims | undefined;
1301
- plan: Plan;
1317
+ plan: CreateDeploymentPlan;
1302
1318
  projectId: string;
1303
1319
  ownerId: string;
1304
1320
  microfrontends?:
@@ -1631,17 +1647,20 @@ export namespace CreateDeploymentGitSourceDeploymentsRequestType$ {
1631
1647
  }
1632
1648
 
1633
1649
  /** @internal */
1634
- export const Five$inboundSchema: z.ZodType<Five, z.ZodTypeDef, unknown> = z
1635
- .object({
1636
- owner: z.string(),
1637
- ref: z.string(),
1638
- sha: z.string().optional(),
1639
- slug: z.string(),
1640
- type: CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema,
1641
- });
1650
+ export const GitSource5$inboundSchema: z.ZodType<
1651
+ GitSource5,
1652
+ z.ZodTypeDef,
1653
+ unknown
1654
+ > = z.object({
1655
+ owner: z.string(),
1656
+ ref: z.string(),
1657
+ sha: z.string().optional(),
1658
+ slug: z.string(),
1659
+ type: CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema,
1660
+ });
1642
1661
 
1643
1662
  /** @internal */
1644
- export type Five$Outbound = {
1663
+ export type GitSource5$Outbound = {
1645
1664
  owner: string;
1646
1665
  ref: string;
1647
1666
  sha?: string | undefined;
@@ -1650,39 +1669,42 @@ export type Five$Outbound = {
1650
1669
  };
1651
1670
 
1652
1671
  /** @internal */
1653
- export const Five$outboundSchema: z.ZodType<Five$Outbound, z.ZodTypeDef, Five> =
1654
- z.object({
1655
- owner: z.string(),
1656
- ref: z.string(),
1657
- sha: z.string().optional(),
1658
- slug: z.string(),
1659
- type: CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema,
1660
- });
1672
+ export const GitSource5$outboundSchema: z.ZodType<
1673
+ GitSource5$Outbound,
1674
+ z.ZodTypeDef,
1675
+ GitSource5
1676
+ > = z.object({
1677
+ owner: z.string(),
1678
+ ref: z.string(),
1679
+ sha: z.string().optional(),
1680
+ slug: z.string(),
1681
+ type: CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema,
1682
+ });
1661
1683
 
1662
1684
  /**
1663
1685
  * @internal
1664
1686
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1665
1687
  */
1666
- export namespace Five$ {
1667
- /** @deprecated use `Five$inboundSchema` instead. */
1668
- export const inboundSchema = Five$inboundSchema;
1669
- /** @deprecated use `Five$outboundSchema` instead. */
1670
- export const outboundSchema = Five$outboundSchema;
1671
- /** @deprecated use `Five$Outbound` instead. */
1672
- export type Outbound = Five$Outbound;
1688
+ export namespace GitSource5$ {
1689
+ /** @deprecated use `GitSource5$inboundSchema` instead. */
1690
+ export const inboundSchema = GitSource5$inboundSchema;
1691
+ /** @deprecated use `GitSource5$outboundSchema` instead. */
1692
+ export const outboundSchema = GitSource5$outboundSchema;
1693
+ /** @deprecated use `GitSource5$Outbound` instead. */
1694
+ export type Outbound = GitSource5$Outbound;
1673
1695
  }
1674
1696
 
1675
- export function fiveToJSON(five: Five): string {
1676
- return JSON.stringify(Five$outboundSchema.parse(five));
1697
+ export function gitSource5ToJSON(gitSource5: GitSource5): string {
1698
+ return JSON.stringify(GitSource5$outboundSchema.parse(gitSource5));
1677
1699
  }
1678
1700
 
1679
- export function fiveFromJSON(
1701
+ export function gitSource5FromJSON(
1680
1702
  jsonString: string,
1681
- ): SafeParseResult<Five, SDKValidationError> {
1703
+ ): SafeParseResult<GitSource5, SDKValidationError> {
1682
1704
  return safeParse(
1683
1705
  jsonString,
1684
- (x) => Five$inboundSchema.parse(JSON.parse(x)),
1685
- `Failed to parse 'Five' from JSON`,
1706
+ (x) => GitSource5$inboundSchema.parse(JSON.parse(x)),
1707
+ `Failed to parse 'GitSource5' from JSON`,
1686
1708
  );
1687
1709
  }
1688
1710
 
@@ -1710,17 +1732,20 @@ export namespace CreateDeploymentGitSourceDeploymentsType$ {
1710
1732
  }
1711
1733
 
1712
1734
  /** @internal */
1713
- export const Four$inboundSchema: z.ZodType<Four, z.ZodTypeDef, unknown> = z
1714
- .object({
1715
- ref: z.string(),
1716
- repoUuid: z.string(),
1717
- sha: z.string().optional(),
1718
- type: CreateDeploymentGitSourceDeploymentsType$inboundSchema,
1719
- workspaceUuid: z.string().optional(),
1720
- });
1735
+ export const GitSource4$inboundSchema: z.ZodType<
1736
+ GitSource4,
1737
+ z.ZodTypeDef,
1738
+ unknown
1739
+ > = z.object({
1740
+ ref: z.string(),
1741
+ repoUuid: z.string(),
1742
+ sha: z.string().optional(),
1743
+ type: CreateDeploymentGitSourceDeploymentsType$inboundSchema,
1744
+ workspaceUuid: z.string().optional(),
1745
+ });
1721
1746
 
1722
1747
  /** @internal */
1723
- export type Four$Outbound = {
1748
+ export type GitSource4$Outbound = {
1724
1749
  ref: string;
1725
1750
  repoUuid: string;
1726
1751
  sha?: string | undefined;
@@ -1729,39 +1754,42 @@ export type Four$Outbound = {
1729
1754
  };
1730
1755
 
1731
1756
  /** @internal */
1732
- export const Four$outboundSchema: z.ZodType<Four$Outbound, z.ZodTypeDef, Four> =
1733
- z.object({
1734
- ref: z.string(),
1735
- repoUuid: z.string(),
1736
- sha: z.string().optional(),
1737
- type: CreateDeploymentGitSourceDeploymentsType$outboundSchema,
1738
- workspaceUuid: z.string().optional(),
1739
- });
1757
+ export const GitSource4$outboundSchema: z.ZodType<
1758
+ GitSource4$Outbound,
1759
+ z.ZodTypeDef,
1760
+ GitSource4
1761
+ > = z.object({
1762
+ ref: z.string(),
1763
+ repoUuid: z.string(),
1764
+ sha: z.string().optional(),
1765
+ type: CreateDeploymentGitSourceDeploymentsType$outboundSchema,
1766
+ workspaceUuid: z.string().optional(),
1767
+ });
1740
1768
 
1741
1769
  /**
1742
1770
  * @internal
1743
1771
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1744
1772
  */
1745
- export namespace Four$ {
1746
- /** @deprecated use `Four$inboundSchema` instead. */
1747
- export const inboundSchema = Four$inboundSchema;
1748
- /** @deprecated use `Four$outboundSchema` instead. */
1749
- export const outboundSchema = Four$outboundSchema;
1750
- /** @deprecated use `Four$Outbound` instead. */
1751
- export type Outbound = Four$Outbound;
1773
+ export namespace GitSource4$ {
1774
+ /** @deprecated use `GitSource4$inboundSchema` instead. */
1775
+ export const inboundSchema = GitSource4$inboundSchema;
1776
+ /** @deprecated use `GitSource4$outboundSchema` instead. */
1777
+ export const outboundSchema = GitSource4$outboundSchema;
1778
+ /** @deprecated use `GitSource4$Outbound` instead. */
1779
+ export type Outbound = GitSource4$Outbound;
1752
1780
  }
1753
1781
 
1754
- export function fourToJSON(four: Four): string {
1755
- return JSON.stringify(Four$outboundSchema.parse(four));
1782
+ export function gitSource4ToJSON(gitSource4: GitSource4): string {
1783
+ return JSON.stringify(GitSource4$outboundSchema.parse(gitSource4));
1756
1784
  }
1757
1785
 
1758
- export function fourFromJSON(
1786
+ export function gitSource4FromJSON(
1759
1787
  jsonString: string,
1760
- ): SafeParseResult<Four, SDKValidationError> {
1788
+ ): SafeParseResult<GitSource4, SDKValidationError> {
1761
1789
  return safeParse(
1762
1790
  jsonString,
1763
- (x) => Four$inboundSchema.parse(JSON.parse(x)),
1764
- `Failed to parse 'Four' from JSON`,
1791
+ (x) => GitSource4$inboundSchema.parse(JSON.parse(x)),
1792
+ `Failed to parse 'GitSource4' from JSON`,
1765
1793
  );
1766
1794
  }
1767
1795
 
@@ -1831,16 +1859,19 @@ export namespace CreateDeploymentGitSourceType$ {
1831
1859
  }
1832
1860
 
1833
1861
  /** @internal */
1834
- export const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown> = z
1835
- .object({
1836
- projectId: z.union([z.number(), z.string()]),
1837
- ref: z.string(),
1838
- sha: z.string().optional(),
1839
- type: CreateDeploymentGitSourceType$inboundSchema,
1840
- });
1862
+ export const GitSource3$inboundSchema: z.ZodType<
1863
+ GitSource3,
1864
+ z.ZodTypeDef,
1865
+ unknown
1866
+ > = z.object({
1867
+ projectId: z.union([z.number(), z.string()]),
1868
+ ref: z.string(),
1869
+ sha: z.string().optional(),
1870
+ type: CreateDeploymentGitSourceType$inboundSchema,
1871
+ });
1841
1872
 
1842
1873
  /** @internal */
1843
- export type Three$Outbound = {
1874
+ export type GitSource3$Outbound = {
1844
1875
  projectId: number | string;
1845
1876
  ref: string;
1846
1877
  sha?: string | undefined;
@@ -1848,10 +1879,10 @@ export type Three$Outbound = {
1848
1879
  };
1849
1880
 
1850
1881
  /** @internal */
1851
- export const Three$outboundSchema: z.ZodType<
1852
- Three$Outbound,
1882
+ export const GitSource3$outboundSchema: z.ZodType<
1883
+ GitSource3$Outbound,
1853
1884
  z.ZodTypeDef,
1854
- Three
1885
+ GitSource3
1855
1886
  > = z.object({
1856
1887
  projectId: z.union([z.number(), z.string()]),
1857
1888
  ref: z.string(),
@@ -1863,26 +1894,26 @@ export const Three$outboundSchema: z.ZodType<
1863
1894
  * @internal
1864
1895
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1865
1896
  */
1866
- export namespace Three$ {
1867
- /** @deprecated use `Three$inboundSchema` instead. */
1868
- export const inboundSchema = Three$inboundSchema;
1869
- /** @deprecated use `Three$outboundSchema` instead. */
1870
- export const outboundSchema = Three$outboundSchema;
1871
- /** @deprecated use `Three$Outbound` instead. */
1872
- export type Outbound = Three$Outbound;
1897
+ export namespace GitSource3$ {
1898
+ /** @deprecated use `GitSource3$inboundSchema` instead. */
1899
+ export const inboundSchema = GitSource3$inboundSchema;
1900
+ /** @deprecated use `GitSource3$outboundSchema` instead. */
1901
+ export const outboundSchema = GitSource3$outboundSchema;
1902
+ /** @deprecated use `GitSource3$Outbound` instead. */
1903
+ export type Outbound = GitSource3$Outbound;
1873
1904
  }
1874
1905
 
1875
- export function threeToJSON(three: Three): string {
1876
- return JSON.stringify(Three$outboundSchema.parse(three));
1906
+ export function gitSource3ToJSON(gitSource3: GitSource3): string {
1907
+ return JSON.stringify(GitSource3$outboundSchema.parse(gitSource3));
1877
1908
  }
1878
1909
 
1879
- export function threeFromJSON(
1910
+ export function gitSource3FromJSON(
1880
1911
  jsonString: string,
1881
- ): SafeParseResult<Three, SDKValidationError> {
1912
+ ): SafeParseResult<GitSource3, SDKValidationError> {
1882
1913
  return safeParse(
1883
1914
  jsonString,
1884
- (x) => Three$inboundSchema.parse(JSON.parse(x)),
1885
- `Failed to parse 'Three' from JSON`,
1915
+ (x) => GitSource3$inboundSchema.parse(JSON.parse(x)),
1916
+ `Failed to parse 'GitSource3' from JSON`,
1886
1917
  );
1887
1918
  }
1888
1919
 
@@ -2103,19 +2134,19 @@ export const GitSource$inboundSchema: z.ZodType<
2103
2134
  unknown
2104
2135
  > = z.union([
2105
2136
  z.lazy(() => GitSource1$inboundSchema),
2106
- z.lazy(() => Three$inboundSchema),
2137
+ z.lazy(() => GitSource3$inboundSchema),
2107
2138
  z.lazy(() => GitSource2$inboundSchema),
2108
- z.lazy(() => Four$inboundSchema),
2109
- z.lazy(() => Five$inboundSchema),
2139
+ z.lazy(() => GitSource4$inboundSchema),
2140
+ z.lazy(() => GitSource5$inboundSchema),
2110
2141
  ]);
2111
2142
 
2112
2143
  /** @internal */
2113
2144
  export type GitSource$Outbound =
2114
2145
  | GitSource1$Outbound
2115
- | Three$Outbound
2146
+ | GitSource3$Outbound
2116
2147
  | GitSource2$Outbound
2117
- | Four$Outbound
2118
- | Five$Outbound;
2148
+ | GitSource4$Outbound
2149
+ | GitSource5$Outbound;
2119
2150
 
2120
2151
  /** @internal */
2121
2152
  export const GitSource$outboundSchema: z.ZodType<
@@ -2124,10 +2155,10 @@ export const GitSource$outboundSchema: z.ZodType<
2124
2155
  GitSource
2125
2156
  > = z.union([
2126
2157
  z.lazy(() => GitSource1$outboundSchema),
2127
- z.lazy(() => Three$outboundSchema),
2158
+ z.lazy(() => GitSource3$outboundSchema),
2128
2159
  z.lazy(() => GitSource2$outboundSchema),
2129
- z.lazy(() => Four$outboundSchema),
2130
- z.lazy(() => Five$outboundSchema),
2160
+ z.lazy(() => GitSource4$outboundSchema),
2161
+ z.lazy(() => GitSource5$outboundSchema),
2131
2162
  ]);
2132
2163
 
2133
2164
  /**
@@ -2294,10 +2325,10 @@ export const CreateDeploymentRequestBody$inboundSchema: z.ZodType<
2294
2325
  gitMetadata: z.lazy(() => GitMetadata$inboundSchema).optional(),
2295
2326
  gitSource: z.union([
2296
2327
  z.lazy(() => GitSource1$inboundSchema),
2297
- z.lazy(() => Three$inboundSchema),
2328
+ z.lazy(() => GitSource3$inboundSchema),
2298
2329
  z.lazy(() => GitSource2$inboundSchema),
2299
- z.lazy(() => Four$inboundSchema),
2300
- z.lazy(() => Five$inboundSchema),
2330
+ z.lazy(() => GitSource4$inboundSchema),
2331
+ z.lazy(() => GitSource5$inboundSchema),
2301
2332
  ]).optional(),
2302
2333
  meta: z.record(z.string()).optional(),
2303
2334
  monorepoManager: z.nullable(z.string()).optional(),
@@ -2316,10 +2347,10 @@ export type CreateDeploymentRequestBody$Outbound = {
2316
2347
  gitMetadata?: GitMetadata$Outbound | undefined;
2317
2348
  gitSource?:
2318
2349
  | GitSource1$Outbound
2319
- | Three$Outbound
2350
+ | GitSource3$Outbound
2320
2351
  | GitSource2$Outbound
2321
- | Four$Outbound
2322
- | Five$Outbound
2352
+ | GitSource4$Outbound
2353
+ | GitSource5$Outbound
2323
2354
  | undefined;
2324
2355
  meta?: { [k: string]: string } | undefined;
2325
2356
  monorepoManager?: string | null | undefined;
@@ -2347,10 +2378,10 @@ export const CreateDeploymentRequestBody$outboundSchema: z.ZodType<
2347
2378
  gitMetadata: z.lazy(() => GitMetadata$outboundSchema).optional(),
2348
2379
  gitSource: z.union([
2349
2380
  z.lazy(() => GitSource1$outboundSchema),
2350
- z.lazy(() => Three$outboundSchema),
2381
+ z.lazy(() => GitSource3$outboundSchema),
2351
2382
  z.lazy(() => GitSource2$outboundSchema),
2352
- z.lazy(() => Four$outboundSchema),
2353
- z.lazy(() => Five$outboundSchema),
2383
+ z.lazy(() => GitSource4$outboundSchema),
2384
+ z.lazy(() => GitSource5$outboundSchema),
2354
2385
  ]).optional(),
2355
2386
  meta: z.record(z.string()).optional(),
2356
2387
  monorepoManager: z.nullable(z.string()).optional(),
@@ -2565,17 +2596,29 @@ export function buildFromJSON(
2565
2596
 
2566
2597
  /** @internal */
2567
2598
  export const Builds$inboundSchema: z.ZodType<Builds, z.ZodTypeDef, unknown> = z
2568
- .object({});
2599
+ .object({
2600
+ use: z.string(),
2601
+ src: z.string().optional(),
2602
+ config: z.record(z.any()).optional(),
2603
+ });
2569
2604
 
2570
2605
  /** @internal */
2571
- export type Builds$Outbound = {};
2606
+ export type Builds$Outbound = {
2607
+ use: string;
2608
+ src?: string | undefined;
2609
+ config?: { [k: string]: any } | undefined;
2610
+ };
2572
2611
 
2573
2612
  /** @internal */
2574
2613
  export const Builds$outboundSchema: z.ZodType<
2575
2614
  Builds$Outbound,
2576
2615
  z.ZodTypeDef,
2577
2616
  Builds
2578
- > = z.object({});
2617
+ > = z.object({
2618
+ use: z.string(),
2619
+ src: z.string().optional(),
2620
+ config: z.record(z.any()).optional(),
2621
+ });
2579
2622
 
2580
2623
  /**
2581
2624
  * @internal
@@ -3314,20 +3357,20 @@ export function createDeploymentOutputFromJSON(
3314
3357
  /** @internal */
3315
3358
  export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
3316
3359
  z.object({
3317
- createdAt: z.number().optional(),
3318
3360
  id: z.string().optional(),
3319
- readyState: CreateDeploymentReadyState$inboundSchema.optional(),
3361
+ createdAt: z.number().optional(),
3320
3362
  entrypoint: z.nullable(z.string()).optional(),
3363
+ readyState: CreateDeploymentReadyState$inboundSchema.optional(),
3321
3364
  readyStateAt: z.number().optional(),
3322
3365
  output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)),
3323
3366
  });
3324
3367
 
3325
3368
  /** @internal */
3326
3369
  export type Lambdas$Outbound = {
3327
- createdAt?: number | undefined;
3328
3370
  id?: string | undefined;
3329
- readyState?: string | undefined;
3371
+ createdAt?: number | undefined;
3330
3372
  entrypoint?: string | null | undefined;
3373
+ readyState?: string | undefined;
3331
3374
  readyStateAt?: number | undefined;
3332
3375
  output: Array<CreateDeploymentOutput$Outbound>;
3333
3376
  };
@@ -3338,10 +3381,10 @@ export const Lambdas$outboundSchema: z.ZodType<
3338
3381
  z.ZodTypeDef,
3339
3382
  Lambdas
3340
3383
  > = z.object({
3341
- createdAt: z.number().optional(),
3342
3384
  id: z.string().optional(),
3343
- readyState: CreateDeploymentReadyState$outboundSchema.optional(),
3385
+ createdAt: z.number().optional(),
3344
3386
  entrypoint: z.nullable(z.string()).optional(),
3387
+ readyState: CreateDeploymentReadyState$outboundSchema.optional(),
3345
3388
  readyStateAt: z.number().optional(),
3346
3389
  output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)),
3347
3390
  });
@@ -3395,16 +3438,19 @@ export namespace CreateDeploymentStatus$ {
3395
3438
  }
3396
3439
 
3397
3440
  /** @internal */
3398
- export const Team$inboundSchema: z.ZodType<Team, z.ZodTypeDef, unknown> = z
3399
- .object({
3400
- name: z.string(),
3401
- id: z.string(),
3402
- slug: z.string(),
3403
- avatar: z.string().optional(),
3404
- });
3441
+ export const CreateDeploymentTeam$inboundSchema: z.ZodType<
3442
+ CreateDeploymentTeam,
3443
+ z.ZodTypeDef,
3444
+ unknown
3445
+ > = z.object({
3446
+ name: z.string(),
3447
+ id: z.string(),
3448
+ slug: z.string(),
3449
+ avatar: z.string().optional(),
3450
+ });
3405
3451
 
3406
3452
  /** @internal */
3407
- export type Team$Outbound = {
3453
+ export type CreateDeploymentTeam$Outbound = {
3408
3454
  name: string;
3409
3455
  id: string;
3410
3456
  slug: string;
@@ -3412,38 +3458,45 @@ export type Team$Outbound = {
3412
3458
  };
3413
3459
 
3414
3460
  /** @internal */
3415
- export const Team$outboundSchema: z.ZodType<Team$Outbound, z.ZodTypeDef, Team> =
3416
- z.object({
3417
- name: z.string(),
3418
- id: z.string(),
3419
- slug: z.string(),
3420
- avatar: z.string().optional(),
3421
- });
3461
+ export const CreateDeploymentTeam$outboundSchema: z.ZodType<
3462
+ CreateDeploymentTeam$Outbound,
3463
+ z.ZodTypeDef,
3464
+ CreateDeploymentTeam
3465
+ > = z.object({
3466
+ name: z.string(),
3467
+ id: z.string(),
3468
+ slug: z.string(),
3469
+ avatar: z.string().optional(),
3470
+ });
3422
3471
 
3423
3472
  /**
3424
3473
  * @internal
3425
3474
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3426
3475
  */
3427
- export namespace Team$ {
3428
- /** @deprecated use `Team$inboundSchema` instead. */
3429
- export const inboundSchema = Team$inboundSchema;
3430
- /** @deprecated use `Team$outboundSchema` instead. */
3431
- export const outboundSchema = Team$outboundSchema;
3432
- /** @deprecated use `Team$Outbound` instead. */
3433
- export type Outbound = Team$Outbound;
3476
+ export namespace CreateDeploymentTeam$ {
3477
+ /** @deprecated use `CreateDeploymentTeam$inboundSchema` instead. */
3478
+ export const inboundSchema = CreateDeploymentTeam$inboundSchema;
3479
+ /** @deprecated use `CreateDeploymentTeam$outboundSchema` instead. */
3480
+ export const outboundSchema = CreateDeploymentTeam$outboundSchema;
3481
+ /** @deprecated use `CreateDeploymentTeam$Outbound` instead. */
3482
+ export type Outbound = CreateDeploymentTeam$Outbound;
3434
3483
  }
3435
3484
 
3436
- export function teamToJSON(team: Team): string {
3437
- return JSON.stringify(Team$outboundSchema.parse(team));
3485
+ export function createDeploymentTeamToJSON(
3486
+ createDeploymentTeam: CreateDeploymentTeam,
3487
+ ): string {
3488
+ return JSON.stringify(
3489
+ CreateDeploymentTeam$outboundSchema.parse(createDeploymentTeam),
3490
+ );
3438
3491
  }
3439
3492
 
3440
- export function teamFromJSON(
3493
+ export function createDeploymentTeamFromJSON(
3441
3494
  jsonString: string,
3442
- ): SafeParseResult<Team, SDKValidationError> {
3495
+ ): SafeParseResult<CreateDeploymentTeam, SDKValidationError> {
3443
3496
  return safeParse(
3444
3497
  jsonString,
3445
- (x) => Team$inboundSchema.parse(JSON.parse(x)),
3446
- `Failed to parse 'Team' from JSON`,
3498
+ (x) => CreateDeploymentTeam$inboundSchema.parse(JSON.parse(x)),
3499
+ `Failed to parse 'CreateDeploymentTeam' from JSON`,
3447
3500
  );
3448
3501
  }
3449
3502
 
@@ -4042,8 +4095,8 @@ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONR
4042
4095
  }
4043
4096
 
4044
4097
  /** @internal */
4045
- export const GitSource5$inboundSchema: z.ZodType<
4046
- GitSource5,
4098
+ export const CreateDeploymentGitSource5$inboundSchema: z.ZodType<
4099
+ CreateDeploymentGitSource5,
4047
4100
  z.ZodTypeDef,
4048
4101
  unknown
4049
4102
  > = z.object({
@@ -4057,7 +4110,7 @@ export const GitSource5$inboundSchema: z.ZodType<
4057
4110
  });
4058
4111
 
4059
4112
  /** @internal */
4060
- export type GitSource5$Outbound = {
4113
+ export type CreateDeploymentGitSource5$Outbound = {
4061
4114
  type: string;
4062
4115
  owner: string;
4063
4116
  slug: string;
@@ -4067,10 +4120,10 @@ export type GitSource5$Outbound = {
4067
4120
  };
4068
4121
 
4069
4122
  /** @internal */
4070
- export const GitSource5$outboundSchema: z.ZodType<
4071
- GitSource5$Outbound,
4123
+ export const CreateDeploymentGitSource5$outboundSchema: z.ZodType<
4124
+ CreateDeploymentGitSource5$Outbound,
4072
4125
  z.ZodTypeDef,
4073
- GitSource5
4126
+ CreateDeploymentGitSource5
4074
4127
  > = z.object({
4075
4128
  type:
4076
4129
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$outboundSchema,
@@ -4085,26 +4138,30 @@ export const GitSource5$outboundSchema: z.ZodType<
4085
4138
  * @internal
4086
4139
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4087
4140
  */
4088
- export namespace GitSource5$ {
4089
- /** @deprecated use `GitSource5$inboundSchema` instead. */
4090
- export const inboundSchema = GitSource5$inboundSchema;
4091
- /** @deprecated use `GitSource5$outboundSchema` instead. */
4092
- export const outboundSchema = GitSource5$outboundSchema;
4093
- /** @deprecated use `GitSource5$Outbound` instead. */
4094
- export type Outbound = GitSource5$Outbound;
4141
+ export namespace CreateDeploymentGitSource5$ {
4142
+ /** @deprecated use `CreateDeploymentGitSource5$inboundSchema` instead. */
4143
+ export const inboundSchema = CreateDeploymentGitSource5$inboundSchema;
4144
+ /** @deprecated use `CreateDeploymentGitSource5$outboundSchema` instead. */
4145
+ export const outboundSchema = CreateDeploymentGitSource5$outboundSchema;
4146
+ /** @deprecated use `CreateDeploymentGitSource5$Outbound` instead. */
4147
+ export type Outbound = CreateDeploymentGitSource5$Outbound;
4095
4148
  }
4096
4149
 
4097
- export function gitSource5ToJSON(gitSource5: GitSource5): string {
4098
- return JSON.stringify(GitSource5$outboundSchema.parse(gitSource5));
4150
+ export function createDeploymentGitSource5ToJSON(
4151
+ createDeploymentGitSource5: CreateDeploymentGitSource5,
4152
+ ): string {
4153
+ return JSON.stringify(
4154
+ CreateDeploymentGitSource5$outboundSchema.parse(createDeploymentGitSource5),
4155
+ );
4099
4156
  }
4100
4157
 
4101
- export function gitSource5FromJSON(
4158
+ export function createDeploymentGitSource5FromJSON(
4102
4159
  jsonString: string,
4103
- ): SafeParseResult<GitSource5, SDKValidationError> {
4160
+ ): SafeParseResult<CreateDeploymentGitSource5, SDKValidationError> {
4104
4161
  return safeParse(
4105
4162
  jsonString,
4106
- (x) => GitSource5$inboundSchema.parse(JSON.parse(x)),
4107
- `Failed to parse 'GitSource5' from JSON`,
4163
+ (x) => CreateDeploymentGitSource5$inboundSchema.parse(JSON.parse(x)),
4164
+ `Failed to parse 'CreateDeploymentGitSource5' from JSON`,
4108
4165
  );
4109
4166
  }
4110
4167
 
@@ -4137,8 +4194,8 @@ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONR
4137
4194
  }
4138
4195
 
4139
4196
  /** @internal */
4140
- export const GitSource4$inboundSchema: z.ZodType<
4141
- GitSource4,
4197
+ export const CreateDeploymentGitSource4$inboundSchema: z.ZodType<
4198
+ CreateDeploymentGitSource4,
4142
4199
  z.ZodTypeDef,
4143
4200
  unknown
4144
4201
  > = z.object({
@@ -4152,7 +4209,7 @@ export const GitSource4$inboundSchema: z.ZodType<
4152
4209
  });
4153
4210
 
4154
4211
  /** @internal */
4155
- export type GitSource4$Outbound = {
4212
+ export type CreateDeploymentGitSource4$Outbound = {
4156
4213
  type: string;
4157
4214
  workspaceUuid?: string | undefined;
4158
4215
  repoUuid: string;
@@ -4162,10 +4219,10 @@ export type GitSource4$Outbound = {
4162
4219
  };
4163
4220
 
4164
4221
  /** @internal */
4165
- export const GitSource4$outboundSchema: z.ZodType<
4166
- GitSource4$Outbound,
4222
+ export const CreateDeploymentGitSource4$outboundSchema: z.ZodType<
4223
+ CreateDeploymentGitSource4$Outbound,
4167
4224
  z.ZodTypeDef,
4168
- GitSource4
4225
+ CreateDeploymentGitSource4
4169
4226
  > = z.object({
4170
4227
  type:
4171
4228
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema,
@@ -4180,26 +4237,30 @@ export const GitSource4$outboundSchema: z.ZodType<
4180
4237
  * @internal
4181
4238
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4182
4239
  */
4183
- export namespace GitSource4$ {
4184
- /** @deprecated use `GitSource4$inboundSchema` instead. */
4185
- export const inboundSchema = GitSource4$inboundSchema;
4186
- /** @deprecated use `GitSource4$outboundSchema` instead. */
4187
- export const outboundSchema = GitSource4$outboundSchema;
4188
- /** @deprecated use `GitSource4$Outbound` instead. */
4189
- export type Outbound = GitSource4$Outbound;
4240
+ export namespace CreateDeploymentGitSource4$ {
4241
+ /** @deprecated use `CreateDeploymentGitSource4$inboundSchema` instead. */
4242
+ export const inboundSchema = CreateDeploymentGitSource4$inboundSchema;
4243
+ /** @deprecated use `CreateDeploymentGitSource4$outboundSchema` instead. */
4244
+ export const outboundSchema = CreateDeploymentGitSource4$outboundSchema;
4245
+ /** @deprecated use `CreateDeploymentGitSource4$Outbound` instead. */
4246
+ export type Outbound = CreateDeploymentGitSource4$Outbound;
4190
4247
  }
4191
4248
 
4192
- export function gitSource4ToJSON(gitSource4: GitSource4): string {
4193
- return JSON.stringify(GitSource4$outboundSchema.parse(gitSource4));
4249
+ export function createDeploymentGitSource4ToJSON(
4250
+ createDeploymentGitSource4: CreateDeploymentGitSource4,
4251
+ ): string {
4252
+ return JSON.stringify(
4253
+ CreateDeploymentGitSource4$outboundSchema.parse(createDeploymentGitSource4),
4254
+ );
4194
4255
  }
4195
4256
 
4196
- export function gitSource4FromJSON(
4257
+ export function createDeploymentGitSource4FromJSON(
4197
4258
  jsonString: string,
4198
- ): SafeParseResult<GitSource4, SDKValidationError> {
4259
+ ): SafeParseResult<CreateDeploymentGitSource4, SDKValidationError> {
4199
4260
  return safeParse(
4200
4261
  jsonString,
4201
- (x) => GitSource4$inboundSchema.parse(JSON.parse(x)),
4202
- `Failed to parse 'GitSource4' from JSON`,
4262
+ (x) => CreateDeploymentGitSource4$inboundSchema.parse(JSON.parse(x)),
4263
+ `Failed to parse 'CreateDeploymentGitSource4' from JSON`,
4203
4264
  );
4204
4265
  }
4205
4266
 
@@ -4280,8 +4341,8 @@ export function gitSourceProjectIdFromJSON(
4280
4341
  }
4281
4342
 
4282
4343
  /** @internal */
4283
- export const GitSource3$inboundSchema: z.ZodType<
4284
- GitSource3,
4344
+ export const CreateDeploymentGitSource3$inboundSchema: z.ZodType<
4345
+ CreateDeploymentGitSource3,
4285
4346
  z.ZodTypeDef,
4286
4347
  unknown
4287
4348
  > = z.object({
@@ -4294,7 +4355,7 @@ export const GitSource3$inboundSchema: z.ZodType<
4294
4355
  });
4295
4356
 
4296
4357
  /** @internal */
4297
- export type GitSource3$Outbound = {
4358
+ export type CreateDeploymentGitSource3$Outbound = {
4298
4359
  type: string;
4299
4360
  projectId: string | number;
4300
4361
  ref?: string | null | undefined;
@@ -4303,10 +4364,10 @@ export type GitSource3$Outbound = {
4303
4364
  };
4304
4365
 
4305
4366
  /** @internal */
4306
- export const GitSource3$outboundSchema: z.ZodType<
4307
- GitSource3$Outbound,
4367
+ export const CreateDeploymentGitSource3$outboundSchema: z.ZodType<
4368
+ CreateDeploymentGitSource3$Outbound,
4308
4369
  z.ZodTypeDef,
4309
- GitSource3
4370
+ CreateDeploymentGitSource3
4310
4371
  > = z.object({
4311
4372
  type:
4312
4373
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema,
@@ -4320,26 +4381,30 @@ export const GitSource3$outboundSchema: z.ZodType<
4320
4381
  * @internal
4321
4382
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4322
4383
  */
4323
- export namespace GitSource3$ {
4324
- /** @deprecated use `GitSource3$inboundSchema` instead. */
4325
- export const inboundSchema = GitSource3$inboundSchema;
4326
- /** @deprecated use `GitSource3$outboundSchema` instead. */
4327
- export const outboundSchema = GitSource3$outboundSchema;
4328
- /** @deprecated use `GitSource3$Outbound` instead. */
4329
- export type Outbound = GitSource3$Outbound;
4384
+ export namespace CreateDeploymentGitSource3$ {
4385
+ /** @deprecated use `CreateDeploymentGitSource3$inboundSchema` instead. */
4386
+ export const inboundSchema = CreateDeploymentGitSource3$inboundSchema;
4387
+ /** @deprecated use `CreateDeploymentGitSource3$outboundSchema` instead. */
4388
+ export const outboundSchema = CreateDeploymentGitSource3$outboundSchema;
4389
+ /** @deprecated use `CreateDeploymentGitSource3$Outbound` instead. */
4390
+ export type Outbound = CreateDeploymentGitSource3$Outbound;
4330
4391
  }
4331
4392
 
4332
- export function gitSource3ToJSON(gitSource3: GitSource3): string {
4333
- return JSON.stringify(GitSource3$outboundSchema.parse(gitSource3));
4393
+ export function createDeploymentGitSource3ToJSON(
4394
+ createDeploymentGitSource3: CreateDeploymentGitSource3,
4395
+ ): string {
4396
+ return JSON.stringify(
4397
+ CreateDeploymentGitSource3$outboundSchema.parse(createDeploymentGitSource3),
4398
+ );
4334
4399
  }
4335
4400
 
4336
- export function gitSource3FromJSON(
4401
+ export function createDeploymentGitSource3FromJSON(
4337
4402
  jsonString: string,
4338
- ): SafeParseResult<GitSource3, SDKValidationError> {
4403
+ ): SafeParseResult<CreateDeploymentGitSource3, SDKValidationError> {
4339
4404
  return safeParse(
4340
4405
  jsonString,
4341
- (x) => GitSource3$inboundSchema.parse(JSON.parse(x)),
4342
- `Failed to parse 'GitSource3' from JSON`,
4406
+ (x) => CreateDeploymentGitSource3$inboundSchema.parse(JSON.parse(x)),
4407
+ `Failed to parse 'CreateDeploymentGitSource3' from JSON`,
4343
4408
  );
4344
4409
  }
4345
4410
 
@@ -4579,10 +4644,10 @@ export const CreateDeploymentGitSource$inboundSchema: z.ZodType<
4579
4644
  z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
4580
4645
  z.lazy(() => CreateDeploymentGitSource8$inboundSchema),
4581
4646
  z.lazy(() => CreateDeploymentGitSource1$inboundSchema),
4582
- z.lazy(() => GitSource3$inboundSchema),
4647
+ z.lazy(() => CreateDeploymentGitSource3$inboundSchema),
4583
4648
  z.lazy(() => CreateDeploymentGitSource2$inboundSchema),
4584
- z.lazy(() => GitSource4$inboundSchema),
4585
- z.lazy(() => GitSource5$inboundSchema),
4649
+ z.lazy(() => CreateDeploymentGitSource4$inboundSchema),
4650
+ z.lazy(() => CreateDeploymentGitSource5$inboundSchema),
4586
4651
  z.lazy(() => CreateDeploymentGitSource7$inboundSchema),
4587
4652
  z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
4588
4653
  ]);
@@ -4592,10 +4657,10 @@ export type CreateDeploymentGitSource$Outbound =
4592
4657
  | CreateDeploymentGitSource6$Outbound
4593
4658
  | CreateDeploymentGitSource8$Outbound
4594
4659
  | CreateDeploymentGitSource1$Outbound
4595
- | GitSource3$Outbound
4660
+ | CreateDeploymentGitSource3$Outbound
4596
4661
  | CreateDeploymentGitSource2$Outbound
4597
- | GitSource4$Outbound
4598
- | GitSource5$Outbound
4662
+ | CreateDeploymentGitSource4$Outbound
4663
+ | CreateDeploymentGitSource5$Outbound
4599
4664
  | CreateDeploymentGitSource7$Outbound
4600
4665
  | CreateDeploymentGitSource9$Outbound;
4601
4666
 
@@ -4608,10 +4673,10 @@ export const CreateDeploymentGitSource$outboundSchema: z.ZodType<
4608
4673
  z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
4609
4674
  z.lazy(() => CreateDeploymentGitSource8$outboundSchema),
4610
4675
  z.lazy(() => CreateDeploymentGitSource1$outboundSchema),
4611
- z.lazy(() => GitSource3$outboundSchema),
4676
+ z.lazy(() => CreateDeploymentGitSource3$outboundSchema),
4612
4677
  z.lazy(() => CreateDeploymentGitSource2$outboundSchema),
4613
- z.lazy(() => GitSource4$outboundSchema),
4614
- z.lazy(() => GitSource5$outboundSchema),
4678
+ z.lazy(() => CreateDeploymentGitSource4$outboundSchema),
4679
+ z.lazy(() => CreateDeploymentGitSource5$outboundSchema),
4615
4680
  z.lazy(() => CreateDeploymentGitSource7$outboundSchema),
4616
4681
  z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
4617
4682
  ]);
@@ -4648,25 +4713,28 @@ export function createDeploymentGitSourceFromJSON(
4648
4713
  }
4649
4714
 
4650
4715
  /** @internal */
4651
- export const Project$inboundSchema: z.ZodType<Project, z.ZodTypeDef, unknown> =
4652
- z.object({
4653
- id: z.string(),
4654
- name: z.string(),
4655
- framework: z.nullable(z.string()).optional(),
4656
- });
4716
+ export const CreateDeploymentProject$inboundSchema: z.ZodType<
4717
+ CreateDeploymentProject,
4718
+ z.ZodTypeDef,
4719
+ unknown
4720
+ > = z.object({
4721
+ id: z.string(),
4722
+ name: z.string(),
4723
+ framework: z.nullable(z.string()).optional(),
4724
+ });
4657
4725
 
4658
4726
  /** @internal */
4659
- export type Project$Outbound = {
4727
+ export type CreateDeploymentProject$Outbound = {
4660
4728
  id: string;
4661
4729
  name: string;
4662
4730
  framework?: string | null | undefined;
4663
4731
  };
4664
4732
 
4665
4733
  /** @internal */
4666
- export const Project$outboundSchema: z.ZodType<
4667
- Project$Outbound,
4734
+ export const CreateDeploymentProject$outboundSchema: z.ZodType<
4735
+ CreateDeploymentProject$Outbound,
4668
4736
  z.ZodTypeDef,
4669
- Project
4737
+ CreateDeploymentProject
4670
4738
  > = z.object({
4671
4739
  id: z.string(),
4672
4740
  name: z.string(),
@@ -4677,26 +4745,30 @@ export const Project$outboundSchema: z.ZodType<
4677
4745
  * @internal
4678
4746
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4679
4747
  */
4680
- export namespace Project$ {
4681
- /** @deprecated use `Project$inboundSchema` instead. */
4682
- export const inboundSchema = Project$inboundSchema;
4683
- /** @deprecated use `Project$outboundSchema` instead. */
4684
- export const outboundSchema = Project$outboundSchema;
4685
- /** @deprecated use `Project$Outbound` instead. */
4686
- export type Outbound = Project$Outbound;
4748
+ export namespace CreateDeploymentProject$ {
4749
+ /** @deprecated use `CreateDeploymentProject$inboundSchema` instead. */
4750
+ export const inboundSchema = CreateDeploymentProject$inboundSchema;
4751
+ /** @deprecated use `CreateDeploymentProject$outboundSchema` instead. */
4752
+ export const outboundSchema = CreateDeploymentProject$outboundSchema;
4753
+ /** @deprecated use `CreateDeploymentProject$Outbound` instead. */
4754
+ export type Outbound = CreateDeploymentProject$Outbound;
4687
4755
  }
4688
4756
 
4689
- export function projectToJSON(project: Project): string {
4690
- return JSON.stringify(Project$outboundSchema.parse(project));
4757
+ export function createDeploymentProjectToJSON(
4758
+ createDeploymentProject: CreateDeploymentProject,
4759
+ ): string {
4760
+ return JSON.stringify(
4761
+ CreateDeploymentProject$outboundSchema.parse(createDeploymentProject),
4762
+ );
4691
4763
  }
4692
4764
 
4693
- export function projectFromJSON(
4765
+ export function createDeploymentProjectFromJSON(
4694
4766
  jsonString: string,
4695
- ): SafeParseResult<Project, SDKValidationError> {
4767
+ ): SafeParseResult<CreateDeploymentProject, SDKValidationError> {
4696
4768
  return safeParse(
4697
4769
  jsonString,
4698
- (x) => Project$inboundSchema.parse(JSON.parse(x)),
4699
- `Failed to parse 'Project' from JSON`,
4770
+ (x) => CreateDeploymentProject$inboundSchema.parse(JSON.parse(x)),
4771
+ `Failed to parse 'CreateDeploymentProject' from JSON`,
4700
4772
  );
4701
4773
  }
4702
4774
 
@@ -5021,23 +5093,24 @@ export function oidcTokenClaimsFromJSON(
5021
5093
  }
5022
5094
 
5023
5095
  /** @internal */
5024
- export const Plan$inboundSchema: z.ZodNativeEnum<typeof Plan> = z.nativeEnum(
5025
- Plan,
5026
- );
5096
+ export const CreateDeploymentPlan$inboundSchema: z.ZodNativeEnum<
5097
+ typeof CreateDeploymentPlan
5098
+ > = z.nativeEnum(CreateDeploymentPlan);
5027
5099
 
5028
5100
  /** @internal */
5029
- export const Plan$outboundSchema: z.ZodNativeEnum<typeof Plan> =
5030
- Plan$inboundSchema;
5101
+ export const CreateDeploymentPlan$outboundSchema: z.ZodNativeEnum<
5102
+ typeof CreateDeploymentPlan
5103
+ > = CreateDeploymentPlan$inboundSchema;
5031
5104
 
5032
5105
  /**
5033
5106
  * @internal
5034
5107
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5035
5108
  */
5036
- export namespace Plan$ {
5037
- /** @deprecated use `Plan$inboundSchema` instead. */
5038
- export const inboundSchema = Plan$inboundSchema;
5039
- /** @deprecated use `Plan$outboundSchema` instead. */
5040
- export const outboundSchema = Plan$outboundSchema;
5109
+ export namespace CreateDeploymentPlan$ {
5110
+ /** @deprecated use `CreateDeploymentPlan$inboundSchema` instead. */
5111
+ export const inboundSchema = CreateDeploymentPlan$inboundSchema;
5112
+ /** @deprecated use `CreateDeploymentPlan$outboundSchema` instead. */
5113
+ export const outboundSchema = CreateDeploymentPlan$outboundSchema;
5041
5114
  }
5042
5115
 
5043
5116
  /** @internal */
@@ -6911,7 +6984,7 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
6911
6984
  public: z.boolean(),
6912
6985
  ready: z.number().optional(),
6913
6986
  status: CreateDeploymentStatus$inboundSchema,
6914
- team: z.lazy(() => Team$inboundSchema).optional(),
6987
+ team: z.lazy(() => CreateDeploymentTeam$inboundSchema).optional(),
6915
6988
  userAliases: z.array(z.string()).optional(),
6916
6989
  previewCommentsEnabled: z.boolean().optional(),
6917
6990
  ttyBuildLogs: z.boolean().optional(),
@@ -6930,15 +7003,15 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
6930
7003
  z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
6931
7004
  z.lazy(() => CreateDeploymentGitSource8$inboundSchema),
6932
7005
  z.lazy(() => CreateDeploymentGitSource1$inboundSchema),
6933
- z.lazy(() => GitSource3$inboundSchema),
7006
+ z.lazy(() => CreateDeploymentGitSource3$inboundSchema),
6934
7007
  z.lazy(() => CreateDeploymentGitSource2$inboundSchema),
6935
- z.lazy(() => GitSource4$inboundSchema),
6936
- z.lazy(() => GitSource5$inboundSchema),
7008
+ z.lazy(() => CreateDeploymentGitSource4$inboundSchema),
7009
+ z.lazy(() => CreateDeploymentGitSource5$inboundSchema),
6937
7010
  z.lazy(() => CreateDeploymentGitSource7$inboundSchema),
6938
7011
  z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
6939
7012
  ]).optional(),
6940
7013
  meta: z.record(z.string()),
6941
- project: z.lazy(() => Project$inboundSchema).optional(),
7014
+ project: z.lazy(() => CreateDeploymentProject$inboundSchema).optional(),
6942
7015
  readyState: ReadyState$inboundSchema,
6943
7016
  source: CreateDeploymentSource$inboundSchema.optional(),
6944
7017
  target: z.nullable(CreateDeploymentTarget$inboundSchema).optional(),
@@ -6963,7 +7036,7 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
6963
7036
  undeletedAt: z.number().optional(),
6964
7037
  url: z.string(),
6965
7038
  oidcTokenClaims: z.lazy(() => OidcTokenClaims$inboundSchema).optional(),
6966
- plan: Plan$inboundSchema,
7039
+ plan: CreateDeploymentPlan$inboundSchema,
6967
7040
  projectId: z.string(),
6968
7041
  ownerId: z.string(),
6969
7042
  microfrontends: z.union([
@@ -7028,7 +7101,7 @@ export type CreateDeploymentResponseBody$Outbound = {
7028
7101
  public: boolean;
7029
7102
  ready?: number | undefined;
7030
7103
  status: string;
7031
- team?: Team$Outbound | undefined;
7104
+ team?: CreateDeploymentTeam$Outbound | undefined;
7032
7105
  userAliases?: Array<string> | undefined;
7033
7106
  previewCommentsEnabled?: boolean | undefined;
7034
7107
  ttyBuildLogs?: boolean | undefined;
@@ -7047,15 +7120,15 @@ export type CreateDeploymentResponseBody$Outbound = {
7047
7120
  | CreateDeploymentGitSource6$Outbound
7048
7121
  | CreateDeploymentGitSource8$Outbound
7049
7122
  | CreateDeploymentGitSource1$Outbound
7050
- | GitSource3$Outbound
7123
+ | CreateDeploymentGitSource3$Outbound
7051
7124
  | CreateDeploymentGitSource2$Outbound
7052
- | GitSource4$Outbound
7053
- | GitSource5$Outbound
7125
+ | CreateDeploymentGitSource4$Outbound
7126
+ | CreateDeploymentGitSource5$Outbound
7054
7127
  | CreateDeploymentGitSource7$Outbound
7055
7128
  | CreateDeploymentGitSource9$Outbound
7056
7129
  | undefined;
7057
7130
  meta: { [k: string]: string };
7058
- project?: Project$Outbound | undefined;
7131
+ project?: CreateDeploymentProject$Outbound | undefined;
7059
7132
  readyState: string;
7060
7133
  source?: string | undefined;
7061
7134
  target?: string | null | undefined;
@@ -7136,7 +7209,7 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
7136
7209
  public: z.boolean(),
7137
7210
  ready: z.number().optional(),
7138
7211
  status: CreateDeploymentStatus$outboundSchema,
7139
- team: z.lazy(() => Team$outboundSchema).optional(),
7212
+ team: z.lazy(() => CreateDeploymentTeam$outboundSchema).optional(),
7140
7213
  userAliases: z.array(z.string()).optional(),
7141
7214
  previewCommentsEnabled: z.boolean().optional(),
7142
7215
  ttyBuildLogs: z.boolean().optional(),
@@ -7155,15 +7228,15 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
7155
7228
  z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
7156
7229
  z.lazy(() => CreateDeploymentGitSource8$outboundSchema),
7157
7230
  z.lazy(() => CreateDeploymentGitSource1$outboundSchema),
7158
- z.lazy(() => GitSource3$outboundSchema),
7231
+ z.lazy(() => CreateDeploymentGitSource3$outboundSchema),
7159
7232
  z.lazy(() => CreateDeploymentGitSource2$outboundSchema),
7160
- z.lazy(() => GitSource4$outboundSchema),
7161
- z.lazy(() => GitSource5$outboundSchema),
7233
+ z.lazy(() => CreateDeploymentGitSource4$outboundSchema),
7234
+ z.lazy(() => CreateDeploymentGitSource5$outboundSchema),
7162
7235
  z.lazy(() => CreateDeploymentGitSource7$outboundSchema),
7163
7236
  z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
7164
7237
  ]).optional(),
7165
7238
  meta: z.record(z.string()),
7166
- project: z.lazy(() => Project$outboundSchema).optional(),
7239
+ project: z.lazy(() => CreateDeploymentProject$outboundSchema).optional(),
7167
7240
  readyState: ReadyState$outboundSchema,
7168
7241
  source: CreateDeploymentSource$outboundSchema.optional(),
7169
7242
  target: z.nullable(CreateDeploymentTarget$outboundSchema).optional(),
@@ -7189,7 +7262,7 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
7189
7262
  undeletedAt: z.number().optional(),
7190
7263
  url: z.string(),
7191
7264
  oidcTokenClaims: z.lazy(() => OidcTokenClaims$outboundSchema).optional(),
7192
- plan: Plan$outboundSchema,
7265
+ plan: CreateDeploymentPlan$outboundSchema,
7193
7266
  projectId: z.string(),
7194
7267
  ownerId: z.string(),
7195
7268
  microfrontends: z.union([