@vercel/sdk 1.6.2 → 1.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/README.md +2 -10
  2. package/bin/mcp-server.js +4541 -3497
  3. package/bin/mcp-server.js.map +36 -48
  4. package/docs/sdks/edgeconfig/README.md +2 -6
  5. package/docs/sdks/integrations/README.md +0 -161
  6. package/docs/sdks/logdrains/README.md +0 -260
  7. package/docs/sdks/marketplace/README.md +2 -6
  8. package/docs/sdks/security/README.md +90 -0
  9. package/docs/sdks/webhooks/README.md +2 -6
  10. package/esm/__tests__/deployments.test.js +16 -1
  11. package/esm/__tests__/deployments.test.js.map +1 -1
  12. package/esm/__tests__/integrations.test.js +5 -40
  13. package/esm/__tests__/integrations.test.js.map +1 -1
  14. package/esm/__tests__/logdrains.test.js +7 -89
  15. package/esm/__tests__/logdrains.test.js.map +1 -1
  16. package/esm/__tests__/marketplace.test.js +7 -2
  17. package/esm/__tests__/marketplace.test.js.map +1 -1
  18. package/esm/__tests__/projects.test.js +4 -4
  19. package/esm/__tests__/projects.test.js.map +1 -1
  20. package/esm/__tests__/security.test.js +164 -17
  21. package/esm/__tests__/security.test.js.map +1 -1
  22. package/esm/funcs/securityPutFirewallConfig.d.ts +19 -0
  23. package/esm/funcs/securityPutFirewallConfig.d.ts.map +1 -0
  24. package/esm/funcs/{logDrainsCreateConfigurableLogDrain.js → securityPutFirewallConfig.js} +13 -11
  25. package/esm/funcs/securityPutFirewallConfig.js.map +1 -0
  26. package/esm/lib/config.d.ts +3 -3
  27. package/esm/lib/config.js +3 -3
  28. package/esm/lib/matchers.d.ts +3 -1
  29. package/esm/lib/matchers.d.ts.map +1 -1
  30. package/esm/lib/matchers.js +10 -0
  31. package/esm/lib/matchers.js.map +1 -1
  32. package/esm/lib/sdks.js +7 -2
  33. package/esm/lib/sdks.js.map +1 -1
  34. package/esm/mcp-server/mcp-server.js +1 -1
  35. package/esm/mcp-server/server.d.ts.map +1 -1
  36. package/esm/mcp-server/server.js +3 -11
  37. package/esm/mcp-server/server.js.map +1 -1
  38. package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts +7 -0
  39. package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts.map +1 -0
  40. package/esm/mcp-server/tools/securityPutFirewallConfig.js +28 -0
  41. package/esm/mcp-server/tools/{integrationsGitNamespaces.js.map → securityPutFirewallConfig.js.map} +1 -1
  42. package/esm/models/authtoken.d.ts +6 -0
  43. package/esm/models/authtoken.d.ts.map +1 -1
  44. package/esm/models/authtoken.js +2 -0
  45. package/esm/models/authtoken.js.map +1 -1
  46. package/esm/models/authuser.d.ts +87 -0
  47. package/esm/models/authuser.d.ts.map +1 -1
  48. package/esm/models/authuser.js +57 -0
  49. package/esm/models/authuser.js.map +1 -1
  50. package/esm/models/canceldeploymentop.d.ts +277 -76
  51. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  52. package/esm/models/canceldeploymentop.js +271 -73
  53. package/esm/models/canceldeploymentop.js.map +1 -1
  54. package/esm/models/createdeploymentop.d.ts +274 -73
  55. package/esm/models/createdeploymentop.d.ts.map +1 -1
  56. package/esm/models/createdeploymentop.js +270 -72
  57. package/esm/models/createdeploymentop.js.map +1 -1
  58. package/esm/models/createlogdrainop.d.ts +51 -51
  59. package/esm/models/createlogdrainop.d.ts.map +1 -1
  60. package/esm/models/createlogdrainop.js +74 -75
  61. package/esm/models/createlogdrainop.js.map +1 -1
  62. package/esm/models/createprojectenvop.d.ts +12 -18
  63. package/esm/models/createprojectenvop.d.ts.map +1 -1
  64. package/esm/models/createprojectenvop.js +12 -12
  65. package/esm/models/createprojectenvop.js.map +1 -1
  66. package/esm/models/createprojectop.d.ts +221 -29
  67. package/esm/models/createprojectop.d.ts.map +1 -1
  68. package/esm/models/createprojectop.js +174 -11
  69. package/esm/models/createprojectop.js.map +1 -1
  70. package/esm/models/editprojectenvop.d.ts +4 -7
  71. package/esm/models/editprojectenvop.d.ts.map +1 -1
  72. package/esm/models/editprojectenvop.js +4 -4
  73. package/esm/models/editprojectenvop.js.map +1 -1
  74. package/esm/models/exchangessotokenop.d.ts +34 -0
  75. package/esm/models/exchangessotokenop.d.ts.map +1 -1
  76. package/esm/models/exchangessotokenop.js +25 -0
  77. package/esm/models/exchangessotokenop.js.map +1 -1
  78. package/esm/models/filterprojectenvsop.d.ts +18 -27
  79. package/esm/models/filterprojectenvsop.d.ts.map +1 -1
  80. package/esm/models/filterprojectenvsop.js +18 -18
  81. package/esm/models/filterprojectenvsop.js.map +1 -1
  82. package/esm/models/getconfigurationsop.d.ts +19 -16
  83. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  84. package/esm/models/getconfigurationsop.js +25 -27
  85. package/esm/models/getconfigurationsop.js.map +1 -1
  86. package/esm/models/getcustomenvironmentop.d.ts +3 -0
  87. package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
  88. package/esm/models/getcustomenvironmentop.js.map +1 -1
  89. package/esm/models/getdeploymentop.d.ts +574 -172
  90. package/esm/models/getdeploymentop.d.ts.map +1 -1
  91. package/esm/models/getdeploymentop.js +567 -171
  92. package/esm/models/getdeploymentop.js.map +1 -1
  93. package/esm/models/getfirewallconfigop.d.ts +214 -214
  94. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  95. package/esm/models/getfirewallconfigop.js +210 -231
  96. package/esm/models/getfirewallconfigop.js.map +1 -1
  97. package/esm/models/getintegrationlogdrainsop.d.ts +11 -11
  98. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  99. package/esm/models/getintegrationlogdrainsop.js +14 -13
  100. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  101. package/esm/models/getprojectdomainsop.d.ts +198 -36
  102. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  103. package/esm/models/getprojectdomainsop.js +193 -32
  104. package/esm/models/getprojectdomainsop.js.map +1 -1
  105. package/esm/models/getprojectenvop.d.ts +10 -16
  106. package/esm/models/getprojectenvop.d.ts.map +1 -1
  107. package/esm/models/getprojectenvop.js +10 -10
  108. package/esm/models/getprojectenvop.js.map +1 -1
  109. package/esm/models/getprojectsop.d.ts +221 -29
  110. package/esm/models/getprojectsop.d.ts.map +1 -1
  111. package/esm/models/getprojectsop.js +173 -11
  112. package/esm/models/getprojectsop.js.map +1 -1
  113. package/esm/models/getteammembersop.d.ts +9 -9
  114. package/esm/models/getteammembersop.js +3 -3
  115. package/esm/models/getteammembersop.js.map +1 -1
  116. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -0
  117. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  118. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  119. package/esm/models/putfirewallconfigop.d.ts +2901 -0
  120. package/esm/models/putfirewallconfigop.d.ts.map +1 -0
  121. package/esm/models/putfirewallconfigop.js +2383 -0
  122. package/esm/models/putfirewallconfigop.js.map +1 -0
  123. package/esm/models/removeprojectenvop.d.ts +18 -27
  124. package/esm/models/removeprojectenvop.d.ts.map +1 -1
  125. package/esm/models/removeprojectenvop.js +18 -18
  126. package/esm/models/removeprojectenvop.js.map +1 -1
  127. package/esm/models/updatefirewallconfigop.d.ts +323 -323
  128. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  129. package/esm/models/updatefirewallconfigop.js +379 -357
  130. package/esm/models/updatefirewallconfigop.js.map +1 -1
  131. package/esm/models/updateprojectdatacacheop.d.ts +229 -37
  132. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  133. package/esm/models/updateprojectdatacacheop.js +189 -23
  134. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  135. package/esm/models/updateprojectop.d.ts +221 -29
  136. package/esm/models/updateprojectop.d.ts.map +1 -1
  137. package/esm/models/updateprojectop.js +174 -11
  138. package/esm/models/updateprojectop.js.map +1 -1
  139. package/esm/models/userevent.d.ts +608 -524
  140. package/esm/models/userevent.d.ts.map +1 -1
  141. package/esm/models/userevent.js +748 -666
  142. package/esm/models/userevent.js.map +1 -1
  143. package/esm/sdk/integrations.d.ts +0 -16
  144. package/esm/sdk/integrations.d.ts.map +1 -1
  145. package/esm/sdk/integrations.js +0 -20
  146. package/esm/sdk/integrations.js.map +1 -1
  147. package/esm/sdk/logdrains.d.ts +0 -24
  148. package/esm/sdk/logdrains.d.ts.map +1 -1
  149. package/esm/sdk/logdrains.js +0 -30
  150. package/esm/sdk/logdrains.js.map +1 -1
  151. package/esm/sdk/security.d.ts +8 -0
  152. package/esm/sdk/security.d.ts.map +1 -1
  153. package/esm/sdk/security.js +10 -0
  154. package/esm/sdk/security.js.map +1 -1
  155. package/jsr.json +1 -1
  156. package/package.json +3 -3
  157. package/src/__tests__/deployments.test.ts +16 -1
  158. package/src/__tests__/integrations.test.ts +9 -44
  159. package/src/__tests__/logdrains.test.ts +13 -95
  160. package/src/__tests__/marketplace.test.ts +7 -2
  161. package/src/__tests__/projects.test.ts +4 -4
  162. package/src/__tests__/security.test.ts +166 -19
  163. package/src/funcs/{logDrainsCreateConfigurableLogDrain.ts → securityPutFirewallConfig.ts} +31 -22
  164. package/src/lib/config.ts +3 -3
  165. package/src/lib/matchers.ts +20 -0
  166. package/src/lib/sdks.ts +8 -2
  167. package/src/mcp-server/mcp-server.ts +1 -1
  168. package/src/mcp-server/server.ts +3 -11
  169. package/src/mcp-server/tools/securityPutFirewallConfig.ts +37 -0
  170. package/src/models/authtoken.ts +2 -0
  171. package/src/models/authuser.ts +126 -0
  172. package/src/models/canceldeploymentop.ts +592 -149
  173. package/src/models/createdeploymentop.ts +616 -165
  174. package/src/models/createlogdrainop.ts +95 -112
  175. package/src/models/createprojectenvop.ts +24 -30
  176. package/src/models/createprojectop.ts +378 -21
  177. package/src/models/editprojectenvop.ts +8 -11
  178. package/src/models/exchangessotokenop.ts +44 -0
  179. package/src/models/filterprojectenvsop.ts +36 -45
  180. package/src/models/getconfigurationsop.ts +34 -39
  181. package/src/models/getcustomenvironmentop.ts +3 -0
  182. package/src/models/getdeploymentop.ts +1288 -353
  183. package/src/models/getfirewallconfigop.ts +555 -410
  184. package/src/models/getintegrationlogdrainsop.ts +15 -20
  185. package/src/models/getprojectdomainsop.ts +470 -63
  186. package/src/models/getprojectenvop.ts +20 -26
  187. package/src/models/getprojectsop.ts +380 -22
  188. package/src/models/getteammembersop.ts +3 -3
  189. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +3 -0
  190. package/src/models/putfirewallconfigop.ts +4932 -0
  191. package/src/models/removeprojectenvop.ts +36 -45
  192. package/src/models/updatefirewallconfigop.ts +820 -612
  193. package/src/models/updateprojectdatacacheop.ts +395 -40
  194. package/src/models/updateprojectop.ts +378 -21
  195. package/src/models/userevent.ts +1363 -1203
  196. package/src/sdk/integrations.ts +0 -44
  197. package/src/sdk/logdrains.ts +0 -66
  198. package/src/sdk/security.ts +22 -0
  199. package/vercel-spec.json +1780 -1622
  200. package/esm/funcs/integrationsGitNamespaces.d.ts +0 -18
  201. package/esm/funcs/integrationsGitNamespaces.d.ts.map +0 -1
  202. package/esm/funcs/integrationsGitNamespaces.js +0 -86
  203. package/esm/funcs/integrationsGitNamespaces.js.map +0 -1
  204. package/esm/funcs/integrationsSearchRepo.d.ts +0 -17
  205. package/esm/funcs/integrationsSearchRepo.d.ts.map +0 -1
  206. package/esm/funcs/integrationsSearchRepo.js +0 -89
  207. package/esm/funcs/integrationsSearchRepo.js.map +0 -1
  208. package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts +0 -18
  209. package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
  210. package/esm/funcs/logDrainsCreateConfigurableLogDrain.js.map +0 -1
  211. package/esm/funcs/logDrainsGetAllLogDrains.d.ts +0 -18
  212. package/esm/funcs/logDrainsGetAllLogDrains.d.ts.map +0 -1
  213. package/esm/funcs/logDrainsGetAllLogDrains.js +0 -88
  214. package/esm/funcs/logDrainsGetAllLogDrains.js.map +0 -1
  215. package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts +0 -19
  216. package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
  217. package/esm/funcs/logDrainsGetConfigurableLogDrain.js +0 -92
  218. package/esm/funcs/logDrainsGetConfigurableLogDrain.js.map +0 -1
  219. package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts +0 -7
  220. package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts.map +0 -1
  221. package/esm/mcp-server/tools/integrationsGitNamespaces.js +0 -28
  222. package/esm/mcp-server/tools/integrationsSearchRepo.d.ts +0 -7
  223. package/esm/mcp-server/tools/integrationsSearchRepo.d.ts.map +0 -1
  224. package/esm/mcp-server/tools/integrationsSearchRepo.js +0 -28
  225. package/esm/mcp-server/tools/integrationsSearchRepo.js.map +0 -1
  226. package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts +0 -7
  227. package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
  228. package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js +0 -28
  229. package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js.map +0 -1
  230. package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts +0 -7
  231. package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts.map +0 -1
  232. package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js +0 -28
  233. package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js.map +0 -1
  234. package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts +0 -7
  235. package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
  236. package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js +0 -28
  237. package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js.map +0 -1
  238. package/esm/models/createconfigurablelogdrainop.d.ts +0 -451
  239. package/esm/models/createconfigurablelogdrainop.d.ts.map +0 -1
  240. package/esm/models/createconfigurablelogdrainop.js +0 -348
  241. package/esm/models/createconfigurablelogdrainop.js.map +0 -1
  242. package/esm/models/getalllogdrainsop.d.ts +0 -294
  243. package/esm/models/getalllogdrainsop.d.ts.map +0 -1
  244. package/esm/models/getalllogdrainsop.js +0 -231
  245. package/esm/models/getalllogdrainsop.js.map +0 -1
  246. package/esm/models/getconfigurablelogdrainop.d.ts +0 -292
  247. package/esm/models/getconfigurablelogdrainop.d.ts.map +0 -1
  248. package/esm/models/getconfigurablelogdrainop.js +0 -230
  249. package/esm/models/getconfigurablelogdrainop.js.map +0 -1
  250. package/esm/models/gitnamespacesop.d.ts +0 -126
  251. package/esm/models/gitnamespacesop.d.ts.map +0 -1
  252. package/esm/models/gitnamespacesop.js +0 -115
  253. package/esm/models/gitnamespacesop.js.map +0 -1
  254. package/esm/models/searchrepoop.d.ts +0 -421
  255. package/esm/models/searchrepoop.d.ts.map +0 -1
  256. package/esm/models/searchrepoop.js +0 -385
  257. package/esm/models/searchrepoop.js.map +0 -1
  258. package/src/funcs/integrationsGitNamespaces.ts +0 -185
  259. package/src/funcs/integrationsSearchRepo.ts +0 -181
  260. package/src/funcs/logDrainsGetAllLogDrains.ts +0 -187
  261. package/src/funcs/logDrainsGetConfigurableLogDrain.ts +0 -199
  262. package/src/mcp-server/tools/integrationsGitNamespaces.ts +0 -37
  263. package/src/mcp-server/tools/integrationsSearchRepo.ts +0 -37
  264. package/src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts +0 -39
  265. package/src/mcp-server/tools/logDrainsGetAllLogDrains.ts +0 -37
  266. package/src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts +0 -39
  267. package/src/models/createconfigurablelogdrainop.ts +0 -652
  268. package/src/models/getalllogdrainsop.ts +0 -416
  269. package/src/models/getconfigurablelogdrainop.ts +0 -420
  270. package/src/models/gitnamespacesop.ts +0 -235
  271. package/src/models/searchrepoop.ts +0 -784
@@ -126,6 +126,9 @@ export const GetProjectsFramework = {
126
126
  Sanity: "sanity",
127
127
  Storybook: "storybook",
128
128
  };
129
+ /**
130
+ * The type of matching to perform
131
+ */
129
132
  export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType = {
130
133
  EndsWith: "endsWith",
131
134
  StartsWith: "startsWith",
@@ -163,6 +166,9 @@ export const GetProjectsReadySubstate = {
163
166
  export const GetProjectsProjectsType = {
164
167
  Lambdas: "LAMBDAS",
165
168
  };
169
+ export const GetProjectsLinkProjectsResponse200Type = {
170
+ GithubCustomHost: "github-custom-host",
171
+ };
166
172
  export const GetProjectsLinkProjectsResponseType = {
167
173
  Bitbucket: "bitbucket",
168
174
  };
@@ -187,16 +193,25 @@ export const GetProjectsFunctionDefaultMemoryType = {
187
193
  Standard: "standard",
188
194
  Performance: "performance",
189
195
  };
196
+ export const GetProjectsBuildMachineType = {
197
+ Enhanced: "enhanced",
198
+ };
190
199
  export const GetProjectsProjectsFunctionDefaultMemoryType = {
191
200
  StandardLegacy: "standard_legacy",
192
201
  Standard: "standard",
193
202
  Performance: "performance",
194
203
  };
204
+ export const GetProjectsProjectsBuildMachineType = {
205
+ Enhanced: "enhanced",
206
+ };
195
207
  export const GetProjectsDeploymentType = {
196
- Preview: "preview",
197
208
  All: "all",
209
+ Preview: "preview",
198
210
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
199
211
  };
212
+ /**
213
+ * The type of matching to perform
214
+ */
200
215
  export const GetProjectsProjectsResponse200ApplicationJSONType = {
201
216
  EndsWith: "endsWith",
202
217
  StartsWith: "startsWith",
@@ -249,16 +264,16 @@ export const GetProjectsScope = {
249
264
  AutomationBypass: "automation-bypass",
250
265
  };
251
266
  export const GetProjectsTrustedIpsProjectsDeploymentType = {
252
- Production: "production",
253
- Preview: "preview",
254
267
  All: "all",
268
+ Preview: "preview",
255
269
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
270
+ Production: "production",
256
271
  };
257
272
  export const GetProjectsTrustedIpsDeploymentType = {
258
- Production: "production",
259
- Preview: "preview",
260
273
  All: "all",
274
+ Preview: "preview",
261
275
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
276
+ Production: "production",
262
277
  };
263
278
  export const GetProjectsTrustedIpsProtectionMode = {
264
279
  Additional: "additional",
@@ -1405,9 +1420,11 @@ export const GetProjectsEnv$inboundSchema = z.object({
1405
1420
  ]).optional(),
1406
1421
  type: GetProjectsType$inboundSchema,
1407
1422
  sunsetSecretId: z.string().optional(),
1423
+ decrypted: z.boolean().optional(),
1424
+ value: z.string(),
1425
+ vsmValue: z.string().optional(),
1408
1426
  id: z.string().optional(),
1409
1427
  key: z.string(),
1410
- value: z.string(),
1411
1428
  configurationId: z.nullable(z.string()).optional(),
1412
1429
  createdAt: z.number().optional(),
1413
1430
  updatedAt: z.number().optional(),
@@ -1434,10 +1451,8 @@ export const GetProjectsEnv$inboundSchema = z.object({
1434
1451
  z.lazy(() => GetProjectsContentHint14$inboundSchema),
1435
1452
  ])).optional(),
1436
1453
  internalContentHint: z.nullable(z.lazy(() => GetProjectsInternalContentHint$inboundSchema)).optional(),
1437
- decrypted: z.boolean().optional(),
1438
1454
  comment: z.string().optional(),
1439
1455
  customEnvironmentIds: z.array(z.string()).optional(),
1440
- vsmValue: z.string().optional(),
1441
1456
  });
1442
1457
  /** @internal */
1443
1458
  export const GetProjectsEnv$outboundSchema = z.object({
@@ -1447,9 +1462,11 @@ export const GetProjectsEnv$outboundSchema = z.object({
1447
1462
  ]).optional(),
1448
1463
  type: GetProjectsType$outboundSchema,
1449
1464
  sunsetSecretId: z.string().optional(),
1465
+ decrypted: z.boolean().optional(),
1466
+ value: z.string(),
1467
+ vsmValue: z.string().optional(),
1450
1468
  id: z.string().optional(),
1451
1469
  key: z.string(),
1452
- value: z.string(),
1453
1470
  configurationId: z.nullable(z.string()).optional(),
1454
1471
  createdAt: z.number().optional(),
1455
1472
  updatedAt: z.number().optional(),
@@ -1476,10 +1493,8 @@ export const GetProjectsEnv$outboundSchema = z.object({
1476
1493
  z.lazy(() => GetProjectsContentHint14$outboundSchema),
1477
1494
  ])).optional(),
1478
1495
  internalContentHint: z.nullable(z.lazy(() => GetProjectsInternalContentHint$outboundSchema)).optional(),
1479
- decrypted: z.boolean().optional(),
1480
1496
  comment: z.string().optional(),
1481
1497
  customEnvironmentIds: z.array(z.string()).optional(),
1482
- vsmValue: z.string().optional(),
1483
1498
  });
1484
1499
  /**
1485
1500
  * @internal
@@ -1956,6 +1971,101 @@ export function getProjectsLatestDeploymentsFromJSON(jsonString) {
1956
1971
  return safeParse(jsonString, (x) => GetProjectsLatestDeployments$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProjectsLatestDeployments' from JSON`);
1957
1972
  }
1958
1973
  /** @internal */
1974
+ export const GetProjectsLinkProjectsResponse200Type$inboundSchema = z.nativeEnum(GetProjectsLinkProjectsResponse200Type);
1975
+ /** @internal */
1976
+ export const GetProjectsLinkProjectsResponse200Type$outboundSchema = GetProjectsLinkProjectsResponse200Type$inboundSchema;
1977
+ /**
1978
+ * @internal
1979
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1980
+ */
1981
+ export var GetProjectsLinkProjectsResponse200Type$;
1982
+ (function (GetProjectsLinkProjectsResponse200Type$) {
1983
+ /** @deprecated use `GetProjectsLinkProjectsResponse200Type$inboundSchema` instead. */
1984
+ GetProjectsLinkProjectsResponse200Type$.inboundSchema = GetProjectsLinkProjectsResponse200Type$inboundSchema;
1985
+ /** @deprecated use `GetProjectsLinkProjectsResponse200Type$outboundSchema` instead. */
1986
+ GetProjectsLinkProjectsResponse200Type$.outboundSchema = GetProjectsLinkProjectsResponse200Type$outboundSchema;
1987
+ })(GetProjectsLinkProjectsResponse200Type$ || (GetProjectsLinkProjectsResponse200Type$ = {}));
1988
+ /** @internal */
1989
+ export const GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema = z.object({
1990
+ createdAt: z.number().optional(),
1991
+ id: z.string(),
1992
+ name: z.string(),
1993
+ ref: z.string(),
1994
+ url: z.string(),
1995
+ });
1996
+ /** @internal */
1997
+ export const GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema = z.object({
1998
+ createdAt: z.number().optional(),
1999
+ id: z.string(),
2000
+ name: z.string(),
2001
+ ref: z.string(),
2002
+ url: z.string(),
2003
+ });
2004
+ /**
2005
+ * @internal
2006
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2007
+ */
2008
+ export var GetProjectsLinkProjectsResponse200DeployHooks$;
2009
+ (function (GetProjectsLinkProjectsResponse200DeployHooks$) {
2010
+ /** @deprecated use `GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema` instead. */
2011
+ GetProjectsLinkProjectsResponse200DeployHooks$.inboundSchema = GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema;
2012
+ /** @deprecated use `GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema` instead. */
2013
+ GetProjectsLinkProjectsResponse200DeployHooks$.outboundSchema = GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema;
2014
+ })(GetProjectsLinkProjectsResponse200DeployHooks$ || (GetProjectsLinkProjectsResponse200DeployHooks$ = {}));
2015
+ export function getProjectsLinkProjectsResponse200DeployHooksToJSON(getProjectsLinkProjectsResponse200DeployHooks) {
2016
+ return JSON.stringify(GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema.parse(getProjectsLinkProjectsResponse200DeployHooks));
2017
+ }
2018
+ export function getProjectsLinkProjectsResponse200DeployHooksFromJSON(jsonString) {
2019
+ return safeParse(jsonString, (x) => GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProjectsLinkProjectsResponse200DeployHooks' from JSON`);
2020
+ }
2021
+ /** @internal */
2022
+ export const GetProjectsLink4$inboundSchema = z.object({
2023
+ org: z.string().optional(),
2024
+ repoOwnerId: z.number().optional(),
2025
+ repo: z.string().optional(),
2026
+ repoId: z.number().optional(),
2027
+ type: GetProjectsLinkProjectsResponse200Type$inboundSchema.optional(),
2028
+ host: z.string().optional(),
2029
+ createdAt: z.number().optional(),
2030
+ deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema)),
2031
+ gitCredentialId: z.string().optional(),
2032
+ updatedAt: z.number().optional(),
2033
+ sourceless: z.boolean().optional(),
2034
+ productionBranch: z.string().optional(),
2035
+ });
2036
+ /** @internal */
2037
+ export const GetProjectsLink4$outboundSchema = z.object({
2038
+ org: z.string().optional(),
2039
+ repoOwnerId: z.number().optional(),
2040
+ repo: z.string().optional(),
2041
+ repoId: z.number().optional(),
2042
+ type: GetProjectsLinkProjectsResponse200Type$outboundSchema.optional(),
2043
+ host: z.string().optional(),
2044
+ createdAt: z.number().optional(),
2045
+ deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema)),
2046
+ gitCredentialId: z.string().optional(),
2047
+ updatedAt: z.number().optional(),
2048
+ sourceless: z.boolean().optional(),
2049
+ productionBranch: z.string().optional(),
2050
+ });
2051
+ /**
2052
+ * @internal
2053
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2054
+ */
2055
+ export var GetProjectsLink4$;
2056
+ (function (GetProjectsLink4$) {
2057
+ /** @deprecated use `GetProjectsLink4$inboundSchema` instead. */
2058
+ GetProjectsLink4$.inboundSchema = GetProjectsLink4$inboundSchema;
2059
+ /** @deprecated use `GetProjectsLink4$outboundSchema` instead. */
2060
+ GetProjectsLink4$.outboundSchema = GetProjectsLink4$outboundSchema;
2061
+ })(GetProjectsLink4$ || (GetProjectsLink4$ = {}));
2062
+ export function getProjectsLink4ToJSON(getProjectsLink4) {
2063
+ return JSON.stringify(GetProjectsLink4$outboundSchema.parse(getProjectsLink4));
2064
+ }
2065
+ export function getProjectsLink4FromJSON(jsonString) {
2066
+ return safeParse(jsonString, (x) => GetProjectsLink4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProjectsLink4' from JSON`);
2067
+ }
2068
+ /** @internal */
1959
2069
  export const GetProjectsLinkProjectsResponseType$inboundSchema = z.nativeEnum(GetProjectsLinkProjectsResponseType);
1960
2070
  /** @internal */
1961
2071
  export const GetProjectsLinkProjectsResponseType$outboundSchema = GetProjectsLinkProjectsResponseType$inboundSchema;
@@ -2244,12 +2354,14 @@ export function getProjectsLink1FromJSON(jsonString) {
2244
2354
  export const GetProjectsLink$inboundSchema = z.union([
2245
2355
  z.lazy(() => GetProjectsLink1$inboundSchema),
2246
2356
  z.lazy(() => GetProjectsLink3$inboundSchema),
2357
+ z.lazy(() => GetProjectsLink4$inboundSchema),
2247
2358
  z.lazy(() => GetProjectsLink2$inboundSchema),
2248
2359
  ]);
2249
2360
  /** @internal */
2250
2361
  export const GetProjectsLink$outboundSchema = z.union([
2251
2362
  z.lazy(() => GetProjectsLink1$outboundSchema),
2252
2363
  z.lazy(() => GetProjectsLink3$outboundSchema),
2364
+ z.lazy(() => GetProjectsLink4$outboundSchema),
2253
2365
  z.lazy(() => GetProjectsLink2$outboundSchema),
2254
2366
  ]);
2255
2367
  /**
@@ -2462,6 +2574,21 @@ export var GetProjectsFunctionDefaultMemoryType$;
2462
2574
  GetProjectsFunctionDefaultMemoryType$.outboundSchema = GetProjectsFunctionDefaultMemoryType$outboundSchema;
2463
2575
  })(GetProjectsFunctionDefaultMemoryType$ || (GetProjectsFunctionDefaultMemoryType$ = {}));
2464
2576
  /** @internal */
2577
+ export const GetProjectsBuildMachineType$inboundSchema = z.nativeEnum(GetProjectsBuildMachineType);
2578
+ /** @internal */
2579
+ export const GetProjectsBuildMachineType$outboundSchema = GetProjectsBuildMachineType$inboundSchema;
2580
+ /**
2581
+ * @internal
2582
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2583
+ */
2584
+ export var GetProjectsBuildMachineType$;
2585
+ (function (GetProjectsBuildMachineType$) {
2586
+ /** @deprecated use `GetProjectsBuildMachineType$inboundSchema` instead. */
2587
+ GetProjectsBuildMachineType$.inboundSchema = GetProjectsBuildMachineType$inboundSchema;
2588
+ /** @deprecated use `GetProjectsBuildMachineType$outboundSchema` instead. */
2589
+ GetProjectsBuildMachineType$.outboundSchema = GetProjectsBuildMachineType$outboundSchema;
2590
+ })(GetProjectsBuildMachineType$ || (GetProjectsBuildMachineType$ = {}));
2591
+ /** @internal */
2465
2592
  export const GetProjectsResourceConfig$inboundSchema = z.object({
2466
2593
  fluid: z.boolean().optional(),
2467
2594
  functionDefaultRegions: z.array(z.string()),
@@ -2470,6 +2597,7 @@ export const GetProjectsResourceConfig$inboundSchema = z.object({
2470
2597
  .optional(),
2471
2598
  functionZeroConfigFailover: z.boolean().optional(),
2472
2599
  elasticConcurrencyEnabled: z.boolean().optional(),
2600
+ buildMachineType: GetProjectsBuildMachineType$inboundSchema.optional(),
2473
2601
  });
2474
2602
  /** @internal */
2475
2603
  export const GetProjectsResourceConfig$outboundSchema = z.object({
@@ -2480,6 +2608,7 @@ export const GetProjectsResourceConfig$outboundSchema = z.object({
2480
2608
  .optional(),
2481
2609
  functionZeroConfigFailover: z.boolean().optional(),
2482
2610
  elasticConcurrencyEnabled: z.boolean().optional(),
2611
+ buildMachineType: GetProjectsBuildMachineType$outboundSchema.optional(),
2483
2612
  });
2484
2613
  /**
2485
2614
  * @internal
@@ -2501,10 +2630,14 @@ export function getProjectsResourceConfigFromJSON(jsonString) {
2501
2630
  /** @internal */
2502
2631
  export const GetProjectsStages$inboundSchema = z.object({
2503
2632
  targetPercentage: z.number(),
2633
+ minutesToRelease: z.number().optional(),
2634
+ requireApproval: z.boolean().optional(),
2504
2635
  });
2505
2636
  /** @internal */
2506
2637
  export const GetProjectsStages$outboundSchema = z.object({
2507
2638
  targetPercentage: z.number(),
2639
+ minutesToRelease: z.number().optional(),
2640
+ requireApproval: z.boolean().optional(),
2508
2641
  });
2509
2642
  /**
2510
2643
  * @internal
@@ -2571,6 +2704,21 @@ export var GetProjectsProjectsFunctionDefaultMemoryType$;
2571
2704
  GetProjectsProjectsFunctionDefaultMemoryType$.outboundSchema = GetProjectsProjectsFunctionDefaultMemoryType$outboundSchema;
2572
2705
  })(GetProjectsProjectsFunctionDefaultMemoryType$ || (GetProjectsProjectsFunctionDefaultMemoryType$ = {}));
2573
2706
  /** @internal */
2707
+ export const GetProjectsProjectsBuildMachineType$inboundSchema = z.nativeEnum(GetProjectsProjectsBuildMachineType);
2708
+ /** @internal */
2709
+ export const GetProjectsProjectsBuildMachineType$outboundSchema = GetProjectsProjectsBuildMachineType$inboundSchema;
2710
+ /**
2711
+ * @internal
2712
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2713
+ */
2714
+ export var GetProjectsProjectsBuildMachineType$;
2715
+ (function (GetProjectsProjectsBuildMachineType$) {
2716
+ /** @deprecated use `GetProjectsProjectsBuildMachineType$inboundSchema` instead. */
2717
+ GetProjectsProjectsBuildMachineType$.inboundSchema = GetProjectsProjectsBuildMachineType$inboundSchema;
2718
+ /** @deprecated use `GetProjectsProjectsBuildMachineType$outboundSchema` instead. */
2719
+ GetProjectsProjectsBuildMachineType$.outboundSchema = GetProjectsProjectsBuildMachineType$outboundSchema;
2720
+ })(GetProjectsProjectsBuildMachineType$ || (GetProjectsProjectsBuildMachineType$ = {}));
2721
+ /** @internal */
2574
2722
  export const GetProjectsDefaultResourceConfig$inboundSchema = z.object({
2575
2723
  fluid: z.boolean().optional(),
2576
2724
  functionDefaultRegions: z.array(z.string()),
@@ -2578,6 +2726,8 @@ export const GetProjectsDefaultResourceConfig$inboundSchema = z.object({
2578
2726
  functionDefaultMemoryType: GetProjectsProjectsFunctionDefaultMemoryType$inboundSchema.optional(),
2579
2727
  functionZeroConfigFailover: z.boolean().optional(),
2580
2728
  elasticConcurrencyEnabled: z.boolean().optional(),
2729
+ buildMachineType: GetProjectsProjectsBuildMachineType$inboundSchema
2730
+ .optional(),
2581
2731
  });
2582
2732
  /** @internal */
2583
2733
  export const GetProjectsDefaultResourceConfig$outboundSchema = z.object({
@@ -2587,6 +2737,8 @@ export const GetProjectsDefaultResourceConfig$outboundSchema = z.object({
2587
2737
  functionDefaultMemoryType: GetProjectsProjectsFunctionDefaultMemoryType$outboundSchema.optional(),
2588
2738
  functionZeroConfigFailover: z.boolean().optional(),
2589
2739
  elasticConcurrencyEnabled: z.boolean().optional(),
2740
+ buildMachineType: GetProjectsProjectsBuildMachineType$outboundSchema
2741
+ .optional(),
2590
2742
  });
2591
2743
  /**
2592
2744
  * @internal
@@ -3127,6 +3279,7 @@ export const GetProjectsPermissions$inboundSchema = z.object({
3127
3279
  notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
3128
3280
  notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
3129
3281
  observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
3282
+ observabilityNotebook: z.array(ACLAction$inboundSchema).optional(),
3130
3283
  openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(),
3131
3284
  paymentMethod: z.array(ACLAction$inboundSchema).optional(),
3132
3285
  permissions: z.array(ACLAction$inboundSchema).optional(),
@@ -3160,6 +3313,7 @@ export const GetProjectsPermissions$inboundSchema = z.object({
3160
3313
  teamInvite: z.array(ACLAction$inboundSchema).optional(),
3161
3314
  teamInviteCode: z.array(ACLAction$inboundSchema).optional(),
3162
3315
  teamJoin: z.array(ACLAction$inboundSchema).optional(),
3316
+ teamMemberMfaStatus: z.array(ACLAction$inboundSchema).optional(),
3163
3317
  teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(),
3164
3318
  teamOwnMembership: z.array(ACLAction$inboundSchema).optional(),
3165
3319
  teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(),
@@ -3177,6 +3331,8 @@ export const GetProjectsPermissions$inboundSchema = z.object({
3177
3331
  endpointVerification: z.array(ACLAction$inboundSchema).optional(),
3178
3332
  projectTransferIn: z.array(ACLAction$inboundSchema).optional(),
3179
3333
  oauth2Application: z.array(ACLAction$inboundSchema).optional(),
3334
+ vercelRun: z.array(ACLAction$inboundSchema).optional(),
3335
+ vercelRunExec: z.array(ACLAction$inboundSchema).optional(),
3180
3336
  aliasProject: z.array(ACLAction$inboundSchema).optional(),
3181
3337
  aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
3182
3338
  productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
@@ -3333,6 +3489,7 @@ export const GetProjectsPermissions$outboundSchema = z.object({
3333
3489
  notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
3334
3490
  notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
3335
3491
  observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
3492
+ observabilityNotebook: z.array(ACLAction$outboundSchema).optional(),
3336
3493
  openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(),
3337
3494
  paymentMethod: z.array(ACLAction$outboundSchema).optional(),
3338
3495
  permissions: z.array(ACLAction$outboundSchema).optional(),
@@ -3366,6 +3523,7 @@ export const GetProjectsPermissions$outboundSchema = z.object({
3366
3523
  teamInvite: z.array(ACLAction$outboundSchema).optional(),
3367
3524
  teamInviteCode: z.array(ACLAction$outboundSchema).optional(),
3368
3525
  teamJoin: z.array(ACLAction$outboundSchema).optional(),
3526
+ teamMemberMfaStatus: z.array(ACLAction$outboundSchema).optional(),
3369
3527
  teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(),
3370
3528
  teamOwnMembership: z.array(ACLAction$outboundSchema).optional(),
3371
3529
  teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(),
@@ -3383,6 +3541,8 @@ export const GetProjectsPermissions$outboundSchema = z.object({
3383
3541
  endpointVerification: z.array(ACLAction$outboundSchema).optional(),
3384
3542
  projectTransferIn: z.array(ACLAction$outboundSchema).optional(),
3385
3543
  oauth2Application: z.array(ACLAction$outboundSchema).optional(),
3544
+ vercelRun: z.array(ACLAction$outboundSchema).optional(),
3545
+ vercelRunExec: z.array(ACLAction$outboundSchema).optional(),
3386
3546
  aliasProject: z.array(ACLAction$outboundSchema).optional(),
3387
3547
  aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
3388
3548
  productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
@@ -4483,6 +4643,7 @@ export const GetProjectsProjects$inboundSchema = z.object({
4483
4643
  link: z.union([
4484
4644
  z.lazy(() => GetProjectsLink1$inboundSchema),
4485
4645
  z.lazy(() => GetProjectsLink3$inboundSchema),
4646
+ z.lazy(() => GetProjectsLink4$inboundSchema),
4486
4647
  z.lazy(() => GetProjectsLink2$inboundSchema),
4487
4648
  ]).optional(),
4488
4649
  microfrontends: z.union([
@@ -4572,6 +4733,7 @@ export const GetProjectsProjects$outboundSchema = z.object({
4572
4733
  link: z.union([
4573
4734
  z.lazy(() => GetProjectsLink1$outboundSchema),
4574
4735
  z.lazy(() => GetProjectsLink3$outboundSchema),
4736
+ z.lazy(() => GetProjectsLink4$outboundSchema),
4575
4737
  z.lazy(() => GetProjectsLink2$outboundSchema),
4576
4738
  ]).optional(),
4577
4739
  microfrontends: z.union([