@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
@@ -432,9 +432,11 @@ export type GetProjectsEnv = {
432
432
  * This is used to identiy variables that have been migrated from type secret to sensitive.
433
433
  */
434
434
  sunsetSecretId?: string | undefined;
435
+ decrypted?: boolean | undefined;
436
+ value: string;
437
+ vsmValue?: string | undefined;
435
438
  id?: string | undefined;
436
439
  key: string;
437
- value: string;
438
440
  configurationId?: string | null | undefined;
439
441
  createdAt?: number | undefined;
440
442
  updatedAt?: number | undefined;
@@ -465,13 +467,8 @@ export type GetProjectsEnv = {
465
467
  * Similar to `contentHints`, but should not be exposed to the user.
466
468
  */
467
469
  internalContentHint?: GetProjectsInternalContentHint | null | undefined;
468
- /**
469
- * Whether `value` and `vsmValue` are decrypted.
470
- */
471
- decrypted?: boolean | undefined;
472
470
  comment?: string | undefined;
473
471
  customEnvironmentIds?: Array<string> | undefined;
474
- vsmValue?: string | undefined;
475
472
  };
476
473
 
477
474
  export type GetProjectsCustomEnvironments = {};
@@ -538,18 +535,30 @@ export type GetProjectsAliasError = {
538
535
  message: string;
539
536
  };
540
537
 
538
+ /**
539
+ * The type of matching to perform
540
+ */
541
541
  export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType = {
542
542
  EndsWith: "endsWith",
543
543
  StartsWith: "startsWith",
544
544
  Equals: "equals",
545
545
  } as const;
546
+ /**
547
+ * The type of matching to perform
548
+ */
546
549
  export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyType =
547
550
  ClosedEnum<
548
551
  typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType
549
552
  >;
550
553
 
551
554
  export type GetProjectsBranchMatcher = {
555
+ /**
556
+ * The type of matching to perform
557
+ */
552
558
  type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyType;
559
+ /**
560
+ * The pattern to match against branch names
561
+ */
553
562
  pattern: string;
554
563
  };
555
564
 
@@ -671,6 +680,39 @@ export type GetProjectsLatestDeployments = {
671
680
  withCache?: boolean | undefined;
672
681
  };
673
682
 
683
+ export const GetProjectsLinkProjectsResponse200Type = {
684
+ GithubCustomHost: "github-custom-host",
685
+ } as const;
686
+ export type GetProjectsLinkProjectsResponse200Type = ClosedEnum<
687
+ typeof GetProjectsLinkProjectsResponse200Type
688
+ >;
689
+
690
+ export type GetProjectsLinkProjectsResponse200DeployHooks = {
691
+ createdAt?: number | undefined;
692
+ id: string;
693
+ name: string;
694
+ ref: string;
695
+ url: string;
696
+ };
697
+
698
+ export type GetProjectsLink4 = {
699
+ org?: string | undefined;
700
+ /**
701
+ * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
702
+ */
703
+ repoOwnerId?: number | undefined;
704
+ repo?: string | undefined;
705
+ repoId?: number | undefined;
706
+ type?: GetProjectsLinkProjectsResponse200Type | undefined;
707
+ host?: string | undefined;
708
+ createdAt?: number | undefined;
709
+ deployHooks: Array<GetProjectsLinkProjectsResponse200DeployHooks>;
710
+ gitCredentialId?: string | undefined;
711
+ updatedAt?: number | undefined;
712
+ sourceless?: boolean | undefined;
713
+ productionBranch?: string | undefined;
714
+ };
715
+
674
716
  export const GetProjectsLinkProjectsResponseType = {
675
717
  Bitbucket: "bitbucket",
676
718
  } as const;
@@ -768,6 +810,7 @@ export type GetProjectsLink1 = {
768
810
  export type GetProjectsLink =
769
811
  | GetProjectsLink1
770
812
  | GetProjectsLink3
813
+ | GetProjectsLink4
771
814
  | GetProjectsLink2;
772
815
 
773
816
  export type GetProjectsMicrofrontends2 = {
@@ -794,7 +837,7 @@ export type GetProjectsMicrofrontends1 = {
794
837
  */
795
838
  isDefaultApp?: boolean | undefined;
796
839
  /**
797
- * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
840
+ * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`
798
841
  */
799
842
  defaultRoute?: string | undefined;
800
843
  /**
@@ -838,6 +881,13 @@ export type GetProjectsFunctionDefaultMemoryType = ClosedEnum<
838
881
  typeof GetProjectsFunctionDefaultMemoryType
839
882
  >;
840
883
 
884
+ export const GetProjectsBuildMachineType = {
885
+ Enhanced: "enhanced",
886
+ } as const;
887
+ export type GetProjectsBuildMachineType = ClosedEnum<
888
+ typeof GetProjectsBuildMachineType
889
+ >;
890
+
841
891
  export type GetProjectsResourceConfig = {
842
892
  fluid?: boolean | undefined;
843
893
  functionDefaultRegions: Array<string>;
@@ -845,6 +895,7 @@ export type GetProjectsResourceConfig = {
845
895
  functionDefaultMemoryType?: GetProjectsFunctionDefaultMemoryType | undefined;
846
896
  functionZeroConfigFailover?: boolean | undefined;
847
897
  elasticConcurrencyEnabled?: boolean | undefined;
898
+ buildMachineType?: GetProjectsBuildMachineType | undefined;
848
899
  };
849
900
 
850
901
  /**
@@ -855,6 +906,14 @@ export type GetProjectsStages = {
855
906
  * The percentage of traffic to serve to the new deployment
856
907
  */
857
908
  targetPercentage: number;
909
+ /**
910
+ * minutesToRelease is the total time to gradually shift percentages. This value overrides stages and instead creates a single smooth starting percentage to ending percentage stage. So once we have fetched the document with the update time, subtract from the current time, and divide by total minutesToRelease, to determine what percentage of traffic the new deployment should be serving.
911
+ */
912
+ minutesToRelease?: number | undefined;
913
+ /**
914
+ * Whether or not this stage requires approval to proceed.
915
+ */
916
+ requireApproval?: boolean | undefined;
858
917
  };
859
918
 
860
919
  export type GetProjectsRollingRelease = {
@@ -881,6 +940,13 @@ export type GetProjectsProjectsFunctionDefaultMemoryType = ClosedEnum<
881
940
  typeof GetProjectsProjectsFunctionDefaultMemoryType
882
941
  >;
883
942
 
943
+ export const GetProjectsProjectsBuildMachineType = {
944
+ Enhanced: "enhanced",
945
+ } as const;
946
+ export type GetProjectsProjectsBuildMachineType = ClosedEnum<
947
+ typeof GetProjectsProjectsBuildMachineType
948
+ >;
949
+
884
950
  export type GetProjectsDefaultResourceConfig = {
885
951
  fluid?: boolean | undefined;
886
952
  functionDefaultRegions: Array<string>;
@@ -890,11 +956,12 @@ export type GetProjectsDefaultResourceConfig = {
890
956
  | undefined;
891
957
  functionZeroConfigFailover?: boolean | undefined;
892
958
  elasticConcurrencyEnabled?: boolean | undefined;
959
+ buildMachineType?: GetProjectsProjectsBuildMachineType | undefined;
893
960
  };
894
961
 
895
962
  export const GetProjectsDeploymentType = {
896
- Preview: "preview",
897
963
  All: "all",
964
+ Preview: "preview",
898
965
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
899
966
  } as const;
900
967
  export type GetProjectsDeploymentType = ClosedEnum<
@@ -912,17 +979,29 @@ export type GetProjectsProjectsAliasError = {
912
979
  message: string;
913
980
  };
914
981
 
982
+ /**
983
+ * The type of matching to perform
984
+ */
915
985
  export const GetProjectsProjectsResponse200ApplicationJSONType = {
916
986
  EndsWith: "endsWith",
917
987
  StartsWith: "startsWith",
918
988
  Equals: "equals",
919
989
  } as const;
990
+ /**
991
+ * The type of matching to perform
992
+ */
920
993
  export type GetProjectsProjectsResponse200ApplicationJSONType = ClosedEnum<
921
994
  typeof GetProjectsProjectsResponse200ApplicationJSONType
922
995
  >;
923
996
 
924
997
  export type GetProjectsProjectsBranchMatcher = {
998
+ /**
999
+ * The type of matching to perform
1000
+ */
925
1001
  type: GetProjectsProjectsResponse200ApplicationJSONType;
1002
+ /**
1003
+ * The pattern to match against branch names
1004
+ */
926
1005
  pattern: string;
927
1006
  };
928
1007
 
@@ -1133,6 +1212,7 @@ export type GetProjectsPermissions = {
1133
1212
  notificationCustomerBudget?: Array<ACLAction> | undefined;
1134
1213
  notificationStatementOfReasons?: Array<ACLAction> | undefined;
1135
1214
  observabilityConfiguration?: Array<ACLAction> | undefined;
1215
+ observabilityNotebook?: Array<ACLAction> | undefined;
1136
1216
  openTelemetryEndpoint?: Array<ACLAction> | undefined;
1137
1217
  paymentMethod?: Array<ACLAction> | undefined;
1138
1218
  permissions?: Array<ACLAction> | undefined;
@@ -1166,6 +1246,7 @@ export type GetProjectsPermissions = {
1166
1246
  teamInvite?: Array<ACLAction> | undefined;
1167
1247
  teamInviteCode?: Array<ACLAction> | undefined;
1168
1248
  teamJoin?: Array<ACLAction> | undefined;
1249
+ teamMemberMfaStatus?: Array<ACLAction> | undefined;
1169
1250
  teamMicrofrontends?: Array<ACLAction> | undefined;
1170
1251
  teamOwnMembership?: Array<ACLAction> | undefined;
1171
1252
  teamOwnMembershipDisconnectSAML?: Array<ACLAction> | undefined;
@@ -1183,6 +1264,8 @@ export type GetProjectsPermissions = {
1183
1264
  endpointVerification?: Array<ACLAction> | undefined;
1184
1265
  projectTransferIn?: Array<ACLAction> | undefined;
1185
1266
  oauth2Application?: Array<ACLAction> | undefined;
1267
+ vercelRun?: Array<ACLAction> | undefined;
1268
+ vercelRunExec?: Array<ACLAction> | undefined;
1186
1269
  aliasProject?: Array<ACLAction> | undefined;
1187
1270
  aliasProtectionBypass?: Array<ACLAction> | undefined;
1188
1271
  productionAliasProtectionBypass?: Array<ACLAction> | undefined;
@@ -1282,10 +1365,10 @@ export type GetProjectsProtectionBypass = {
1282
1365
  };
1283
1366
 
1284
1367
  export const GetProjectsTrustedIpsProjectsDeploymentType = {
1285
- Production: "production",
1286
- Preview: "preview",
1287
1368
  All: "all",
1369
+ Preview: "preview",
1288
1370
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1371
+ Production: "production",
1289
1372
  } as const;
1290
1373
  export type GetProjectsTrustedIpsProjectsDeploymentType = ClosedEnum<
1291
1374
  typeof GetProjectsTrustedIpsProjectsDeploymentType
@@ -1296,10 +1379,10 @@ export type GetProjectsTrustedIps2 = {
1296
1379
  };
1297
1380
 
1298
1381
  export const GetProjectsTrustedIpsDeploymentType = {
1299
- Production: "production",
1300
- Preview: "preview",
1301
1382
  All: "all",
1383
+ Preview: "preview",
1302
1384
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1385
+ Production: "production",
1303
1386
  } as const;
1304
1387
  export type GetProjectsTrustedIpsDeploymentType = ClosedEnum<
1305
1388
  typeof GetProjectsTrustedIpsDeploymentType
@@ -1599,7 +1682,12 @@ export type GetProjectsProjects = {
1599
1682
  id: string;
1600
1683
  ipBuckets?: Array<GetProjectsIpBuckets> | undefined;
1601
1684
  latestDeployments?: Array<GetProjectsLatestDeployments> | undefined;
1602
- link?: GetProjectsLink1 | GetProjectsLink3 | GetProjectsLink2 | undefined;
1685
+ link?:
1686
+ | GetProjectsLink1
1687
+ | GetProjectsLink3
1688
+ | GetProjectsLink4
1689
+ | GetProjectsLink2
1690
+ | undefined;
1603
1691
  microfrontends?:
1604
1692
  | GetProjectsMicrofrontends2
1605
1693
  | GetProjectsMicrofrontends1
@@ -3766,9 +3854,11 @@ export const GetProjectsEnv$inboundSchema: z.ZodType<
3766
3854
  ]).optional(),
3767
3855
  type: GetProjectsType$inboundSchema,
3768
3856
  sunsetSecretId: z.string().optional(),
3857
+ decrypted: z.boolean().optional(),
3858
+ value: z.string(),
3859
+ vsmValue: z.string().optional(),
3769
3860
  id: z.string().optional(),
3770
3861
  key: z.string(),
3771
- value: z.string(),
3772
3862
  configurationId: z.nullable(z.string()).optional(),
3773
3863
  createdAt: z.number().optional(),
3774
3864
  updatedAt: z.number().optional(),
@@ -3799,10 +3889,8 @@ export const GetProjectsEnv$inboundSchema: z.ZodType<
3799
3889
  internalContentHint: z.nullable(
3800
3890
  z.lazy(() => GetProjectsInternalContentHint$inboundSchema),
3801
3891
  ).optional(),
3802
- decrypted: z.boolean().optional(),
3803
3892
  comment: z.string().optional(),
3804
3893
  customEnvironmentIds: z.array(z.string()).optional(),
3805
- vsmValue: z.string().optional(),
3806
3894
  });
3807
3895
 
3808
3896
  /** @internal */
@@ -3810,9 +3898,11 @@ export type GetProjectsEnv$Outbound = {
3810
3898
  target?: Array<string> | string | undefined;
3811
3899
  type: string;
3812
3900
  sunsetSecretId?: string | undefined;
3901
+ decrypted?: boolean | undefined;
3902
+ value: string;
3903
+ vsmValue?: string | undefined;
3813
3904
  id?: string | undefined;
3814
3905
  key: string;
3815
- value: string;
3816
3906
  configurationId?: string | null | undefined;
3817
3907
  createdAt?: number | undefined;
3818
3908
  updatedAt?: number | undefined;
@@ -3843,10 +3933,8 @@ export type GetProjectsEnv$Outbound = {
3843
3933
  | GetProjectsInternalContentHint$Outbound
3844
3934
  | null
3845
3935
  | undefined;
3846
- decrypted?: boolean | undefined;
3847
3936
  comment?: string | undefined;
3848
3937
  customEnvironmentIds?: Array<string> | undefined;
3849
- vsmValue?: string | undefined;
3850
3938
  };
3851
3939
 
3852
3940
  /** @internal */
@@ -3861,9 +3949,11 @@ export const GetProjectsEnv$outboundSchema: z.ZodType<
3861
3949
  ]).optional(),
3862
3950
  type: GetProjectsType$outboundSchema,
3863
3951
  sunsetSecretId: z.string().optional(),
3952
+ decrypted: z.boolean().optional(),
3953
+ value: z.string(),
3954
+ vsmValue: z.string().optional(),
3864
3955
  id: z.string().optional(),
3865
3956
  key: z.string(),
3866
- value: z.string(),
3867
3957
  configurationId: z.nullable(z.string()).optional(),
3868
3958
  createdAt: z.number().optional(),
3869
3959
  updatedAt: z.number().optional(),
@@ -3894,10 +3984,8 @@ export const GetProjectsEnv$outboundSchema: z.ZodType<
3894
3984
  internalContentHint: z.nullable(
3895
3985
  z.lazy(() => GetProjectsInternalContentHint$outboundSchema),
3896
3986
  ).optional(),
3897
- decrypted: z.boolean().optional(),
3898
3987
  comment: z.string().optional(),
3899
3988
  customEnvironmentIds: z.array(z.string()).optional(),
3900
- vsmValue: z.string().optional(),
3901
3989
  });
3902
3990
 
3903
3991
  /**
@@ -4754,6 +4842,200 @@ export function getProjectsLatestDeploymentsFromJSON(
4754
4842
  );
4755
4843
  }
4756
4844
 
4845
+ /** @internal */
4846
+ export const GetProjectsLinkProjectsResponse200Type$inboundSchema:
4847
+ z.ZodNativeEnum<typeof GetProjectsLinkProjectsResponse200Type> = z.nativeEnum(
4848
+ GetProjectsLinkProjectsResponse200Type,
4849
+ );
4850
+
4851
+ /** @internal */
4852
+ export const GetProjectsLinkProjectsResponse200Type$outboundSchema:
4853
+ z.ZodNativeEnum<typeof GetProjectsLinkProjectsResponse200Type> =
4854
+ GetProjectsLinkProjectsResponse200Type$inboundSchema;
4855
+
4856
+ /**
4857
+ * @internal
4858
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4859
+ */
4860
+ export namespace GetProjectsLinkProjectsResponse200Type$ {
4861
+ /** @deprecated use `GetProjectsLinkProjectsResponse200Type$inboundSchema` instead. */
4862
+ export const inboundSchema =
4863
+ GetProjectsLinkProjectsResponse200Type$inboundSchema;
4864
+ /** @deprecated use `GetProjectsLinkProjectsResponse200Type$outboundSchema` instead. */
4865
+ export const outboundSchema =
4866
+ GetProjectsLinkProjectsResponse200Type$outboundSchema;
4867
+ }
4868
+
4869
+ /** @internal */
4870
+ export const GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema:
4871
+ z.ZodType<
4872
+ GetProjectsLinkProjectsResponse200DeployHooks,
4873
+ z.ZodTypeDef,
4874
+ unknown
4875
+ > = z.object({
4876
+ createdAt: z.number().optional(),
4877
+ id: z.string(),
4878
+ name: z.string(),
4879
+ ref: z.string(),
4880
+ url: z.string(),
4881
+ });
4882
+
4883
+ /** @internal */
4884
+ export type GetProjectsLinkProjectsResponse200DeployHooks$Outbound = {
4885
+ createdAt?: number | undefined;
4886
+ id: string;
4887
+ name: string;
4888
+ ref: string;
4889
+ url: string;
4890
+ };
4891
+
4892
+ /** @internal */
4893
+ export const GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema:
4894
+ z.ZodType<
4895
+ GetProjectsLinkProjectsResponse200DeployHooks$Outbound,
4896
+ z.ZodTypeDef,
4897
+ GetProjectsLinkProjectsResponse200DeployHooks
4898
+ > = z.object({
4899
+ createdAt: z.number().optional(),
4900
+ id: z.string(),
4901
+ name: z.string(),
4902
+ ref: z.string(),
4903
+ url: z.string(),
4904
+ });
4905
+
4906
+ /**
4907
+ * @internal
4908
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4909
+ */
4910
+ export namespace GetProjectsLinkProjectsResponse200DeployHooks$ {
4911
+ /** @deprecated use `GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema` instead. */
4912
+ export const inboundSchema =
4913
+ GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema;
4914
+ /** @deprecated use `GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema` instead. */
4915
+ export const outboundSchema =
4916
+ GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema;
4917
+ /** @deprecated use `GetProjectsLinkProjectsResponse200DeployHooks$Outbound` instead. */
4918
+ export type Outbound = GetProjectsLinkProjectsResponse200DeployHooks$Outbound;
4919
+ }
4920
+
4921
+ export function getProjectsLinkProjectsResponse200DeployHooksToJSON(
4922
+ getProjectsLinkProjectsResponse200DeployHooks:
4923
+ GetProjectsLinkProjectsResponse200DeployHooks,
4924
+ ): string {
4925
+ return JSON.stringify(
4926
+ GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema.parse(
4927
+ getProjectsLinkProjectsResponse200DeployHooks,
4928
+ ),
4929
+ );
4930
+ }
4931
+
4932
+ export function getProjectsLinkProjectsResponse200DeployHooksFromJSON(
4933
+ jsonString: string,
4934
+ ): SafeParseResult<
4935
+ GetProjectsLinkProjectsResponse200DeployHooks,
4936
+ SDKValidationError
4937
+ > {
4938
+ return safeParse(
4939
+ jsonString,
4940
+ (x) =>
4941
+ GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema.parse(
4942
+ JSON.parse(x),
4943
+ ),
4944
+ `Failed to parse 'GetProjectsLinkProjectsResponse200DeployHooks' from JSON`,
4945
+ );
4946
+ }
4947
+
4948
+ /** @internal */
4949
+ export const GetProjectsLink4$inboundSchema: z.ZodType<
4950
+ GetProjectsLink4,
4951
+ z.ZodTypeDef,
4952
+ unknown
4953
+ > = z.object({
4954
+ org: z.string().optional(),
4955
+ repoOwnerId: z.number().optional(),
4956
+ repo: z.string().optional(),
4957
+ repoId: z.number().optional(),
4958
+ type: GetProjectsLinkProjectsResponse200Type$inboundSchema.optional(),
4959
+ host: z.string().optional(),
4960
+ createdAt: z.number().optional(),
4961
+ deployHooks: z.array(
4962
+ z.lazy(() => GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema),
4963
+ ),
4964
+ gitCredentialId: z.string().optional(),
4965
+ updatedAt: z.number().optional(),
4966
+ sourceless: z.boolean().optional(),
4967
+ productionBranch: z.string().optional(),
4968
+ });
4969
+
4970
+ /** @internal */
4971
+ export type GetProjectsLink4$Outbound = {
4972
+ org?: string | undefined;
4973
+ repoOwnerId?: number | undefined;
4974
+ repo?: string | undefined;
4975
+ repoId?: number | undefined;
4976
+ type?: string | undefined;
4977
+ host?: string | undefined;
4978
+ createdAt?: number | undefined;
4979
+ deployHooks: Array<GetProjectsLinkProjectsResponse200DeployHooks$Outbound>;
4980
+ gitCredentialId?: string | undefined;
4981
+ updatedAt?: number | undefined;
4982
+ sourceless?: boolean | undefined;
4983
+ productionBranch?: string | undefined;
4984
+ };
4985
+
4986
+ /** @internal */
4987
+ export const GetProjectsLink4$outboundSchema: z.ZodType<
4988
+ GetProjectsLink4$Outbound,
4989
+ z.ZodTypeDef,
4990
+ GetProjectsLink4
4991
+ > = z.object({
4992
+ org: z.string().optional(),
4993
+ repoOwnerId: z.number().optional(),
4994
+ repo: z.string().optional(),
4995
+ repoId: z.number().optional(),
4996
+ type: GetProjectsLinkProjectsResponse200Type$outboundSchema.optional(),
4997
+ host: z.string().optional(),
4998
+ createdAt: z.number().optional(),
4999
+ deployHooks: z.array(
5000
+ z.lazy(() => GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema),
5001
+ ),
5002
+ gitCredentialId: z.string().optional(),
5003
+ updatedAt: z.number().optional(),
5004
+ sourceless: z.boolean().optional(),
5005
+ productionBranch: z.string().optional(),
5006
+ });
5007
+
5008
+ /**
5009
+ * @internal
5010
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5011
+ */
5012
+ export namespace GetProjectsLink4$ {
5013
+ /** @deprecated use `GetProjectsLink4$inboundSchema` instead. */
5014
+ export const inboundSchema = GetProjectsLink4$inboundSchema;
5015
+ /** @deprecated use `GetProjectsLink4$outboundSchema` instead. */
5016
+ export const outboundSchema = GetProjectsLink4$outboundSchema;
5017
+ /** @deprecated use `GetProjectsLink4$Outbound` instead. */
5018
+ export type Outbound = GetProjectsLink4$Outbound;
5019
+ }
5020
+
5021
+ export function getProjectsLink4ToJSON(
5022
+ getProjectsLink4: GetProjectsLink4,
5023
+ ): string {
5024
+ return JSON.stringify(
5025
+ GetProjectsLink4$outboundSchema.parse(getProjectsLink4),
5026
+ );
5027
+ }
5028
+
5029
+ export function getProjectsLink4FromJSON(
5030
+ jsonString: string,
5031
+ ): SafeParseResult<GetProjectsLink4, SDKValidationError> {
5032
+ return safeParse(
5033
+ jsonString,
5034
+ (x) => GetProjectsLink4$inboundSchema.parse(JSON.parse(x)),
5035
+ `Failed to parse 'GetProjectsLink4' from JSON`,
5036
+ );
5037
+ }
5038
+
4757
5039
  /** @internal */
4758
5040
  export const GetProjectsLinkProjectsResponseType$inboundSchema: z.ZodNativeEnum<
4759
5041
  typeof GetProjectsLinkProjectsResponseType
@@ -5308,6 +5590,7 @@ export const GetProjectsLink$inboundSchema: z.ZodType<
5308
5590
  > = z.union([
5309
5591
  z.lazy(() => GetProjectsLink1$inboundSchema),
5310
5592
  z.lazy(() => GetProjectsLink3$inboundSchema),
5593
+ z.lazy(() => GetProjectsLink4$inboundSchema),
5311
5594
  z.lazy(() => GetProjectsLink2$inboundSchema),
5312
5595
  ]);
5313
5596
 
@@ -5315,6 +5598,7 @@ export const GetProjectsLink$inboundSchema: z.ZodType<
5315
5598
  export type GetProjectsLink$Outbound =
5316
5599
  | GetProjectsLink1$Outbound
5317
5600
  | GetProjectsLink3$Outbound
5601
+ | GetProjectsLink4$Outbound
5318
5602
  | GetProjectsLink2$Outbound;
5319
5603
 
5320
5604
  /** @internal */
@@ -5325,6 +5609,7 @@ export const GetProjectsLink$outboundSchema: z.ZodType<
5325
5609
  > = z.union([
5326
5610
  z.lazy(() => GetProjectsLink1$outboundSchema),
5327
5611
  z.lazy(() => GetProjectsLink3$outboundSchema),
5612
+ z.lazy(() => GetProjectsLink4$outboundSchema),
5328
5613
  z.lazy(() => GetProjectsLink2$outboundSchema),
5329
5614
  ]);
5330
5615
 
@@ -5747,6 +6032,27 @@ export namespace GetProjectsFunctionDefaultMemoryType$ {
5747
6032
  GetProjectsFunctionDefaultMemoryType$outboundSchema;
5748
6033
  }
5749
6034
 
6035
+ /** @internal */
6036
+ export const GetProjectsBuildMachineType$inboundSchema: z.ZodNativeEnum<
6037
+ typeof GetProjectsBuildMachineType
6038
+ > = z.nativeEnum(GetProjectsBuildMachineType);
6039
+
6040
+ /** @internal */
6041
+ export const GetProjectsBuildMachineType$outboundSchema: z.ZodNativeEnum<
6042
+ typeof GetProjectsBuildMachineType
6043
+ > = GetProjectsBuildMachineType$inboundSchema;
6044
+
6045
+ /**
6046
+ * @internal
6047
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6048
+ */
6049
+ export namespace GetProjectsBuildMachineType$ {
6050
+ /** @deprecated use `GetProjectsBuildMachineType$inboundSchema` instead. */
6051
+ export const inboundSchema = GetProjectsBuildMachineType$inboundSchema;
6052
+ /** @deprecated use `GetProjectsBuildMachineType$outboundSchema` instead. */
6053
+ export const outboundSchema = GetProjectsBuildMachineType$outboundSchema;
6054
+ }
6055
+
5750
6056
  /** @internal */
5751
6057
  export const GetProjectsResourceConfig$inboundSchema: z.ZodType<
5752
6058
  GetProjectsResourceConfig,
@@ -5760,6 +6066,7 @@ export const GetProjectsResourceConfig$inboundSchema: z.ZodType<
5760
6066
  .optional(),
5761
6067
  functionZeroConfigFailover: z.boolean().optional(),
5762
6068
  elasticConcurrencyEnabled: z.boolean().optional(),
6069
+ buildMachineType: GetProjectsBuildMachineType$inboundSchema.optional(),
5763
6070
  });
5764
6071
 
5765
6072
  /** @internal */
@@ -5770,6 +6077,7 @@ export type GetProjectsResourceConfig$Outbound = {
5770
6077
  functionDefaultMemoryType?: string | undefined;
5771
6078
  functionZeroConfigFailover?: boolean | undefined;
5772
6079
  elasticConcurrencyEnabled?: boolean | undefined;
6080
+ buildMachineType?: string | undefined;
5773
6081
  };
5774
6082
 
5775
6083
  /** @internal */
@@ -5785,6 +6093,7 @@ export const GetProjectsResourceConfig$outboundSchema: z.ZodType<
5785
6093
  .optional(),
5786
6094
  functionZeroConfigFailover: z.boolean().optional(),
5787
6095
  elasticConcurrencyEnabled: z.boolean().optional(),
6096
+ buildMachineType: GetProjectsBuildMachineType$outboundSchema.optional(),
5788
6097
  });
5789
6098
 
5790
6099
  /**
@@ -5825,11 +6134,15 @@ export const GetProjectsStages$inboundSchema: z.ZodType<
5825
6134
  unknown
5826
6135
  > = z.object({
5827
6136
  targetPercentage: z.number(),
6137
+ minutesToRelease: z.number().optional(),
6138
+ requireApproval: z.boolean().optional(),
5828
6139
  });
5829
6140
 
5830
6141
  /** @internal */
5831
6142
  export type GetProjectsStages$Outbound = {
5832
6143
  targetPercentage: number;
6144
+ minutesToRelease?: number | undefined;
6145
+ requireApproval?: boolean | undefined;
5833
6146
  };
5834
6147
 
5835
6148
  /** @internal */
@@ -5839,6 +6152,8 @@ export const GetProjectsStages$outboundSchema: z.ZodType<
5839
6152
  GetProjectsStages
5840
6153
  > = z.object({
5841
6154
  targetPercentage: z.number(),
6155
+ minutesToRelease: z.number().optional(),
6156
+ requireApproval: z.boolean().optional(),
5842
6157
  });
5843
6158
 
5844
6159
  /**
@@ -5957,6 +6272,29 @@ export namespace GetProjectsProjectsFunctionDefaultMemoryType$ {
5957
6272
  GetProjectsProjectsFunctionDefaultMemoryType$outboundSchema;
5958
6273
  }
5959
6274
 
6275
+ /** @internal */
6276
+ export const GetProjectsProjectsBuildMachineType$inboundSchema: z.ZodNativeEnum<
6277
+ typeof GetProjectsProjectsBuildMachineType
6278
+ > = z.nativeEnum(GetProjectsProjectsBuildMachineType);
6279
+
6280
+ /** @internal */
6281
+ export const GetProjectsProjectsBuildMachineType$outboundSchema:
6282
+ z.ZodNativeEnum<typeof GetProjectsProjectsBuildMachineType> =
6283
+ GetProjectsProjectsBuildMachineType$inboundSchema;
6284
+
6285
+ /**
6286
+ * @internal
6287
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6288
+ */
6289
+ export namespace GetProjectsProjectsBuildMachineType$ {
6290
+ /** @deprecated use `GetProjectsProjectsBuildMachineType$inboundSchema` instead. */
6291
+ export const inboundSchema =
6292
+ GetProjectsProjectsBuildMachineType$inboundSchema;
6293
+ /** @deprecated use `GetProjectsProjectsBuildMachineType$outboundSchema` instead. */
6294
+ export const outboundSchema =
6295
+ GetProjectsProjectsBuildMachineType$outboundSchema;
6296
+ }
6297
+
5960
6298
  /** @internal */
5961
6299
  export const GetProjectsDefaultResourceConfig$inboundSchema: z.ZodType<
5962
6300
  GetProjectsDefaultResourceConfig,
@@ -5970,6 +6308,8 @@ export const GetProjectsDefaultResourceConfig$inboundSchema: z.ZodType<
5970
6308
  GetProjectsProjectsFunctionDefaultMemoryType$inboundSchema.optional(),
5971
6309
  functionZeroConfigFailover: z.boolean().optional(),
5972
6310
  elasticConcurrencyEnabled: z.boolean().optional(),
6311
+ buildMachineType: GetProjectsProjectsBuildMachineType$inboundSchema
6312
+ .optional(),
5973
6313
  });
5974
6314
 
5975
6315
  /** @internal */
@@ -5980,6 +6320,7 @@ export type GetProjectsDefaultResourceConfig$Outbound = {
5980
6320
  functionDefaultMemoryType?: string | undefined;
5981
6321
  functionZeroConfigFailover?: boolean | undefined;
5982
6322
  elasticConcurrencyEnabled?: boolean | undefined;
6323
+ buildMachineType?: string | undefined;
5983
6324
  };
5984
6325
 
5985
6326
  /** @internal */
@@ -5995,6 +6336,8 @@ export const GetProjectsDefaultResourceConfig$outboundSchema: z.ZodType<
5995
6336
  GetProjectsProjectsFunctionDefaultMemoryType$outboundSchema.optional(),
5996
6337
  functionZeroConfigFailover: z.boolean().optional(),
5997
6338
  elasticConcurrencyEnabled: z.boolean().optional(),
6339
+ buildMachineType: GetProjectsProjectsBuildMachineType$outboundSchema
6340
+ .optional(),
5998
6341
  });
5999
6342
 
6000
6343
  /**
@@ -6906,6 +7249,7 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType<
6906
7249
  notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
6907
7250
  notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
6908
7251
  observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
7252
+ observabilityNotebook: z.array(ACLAction$inboundSchema).optional(),
6909
7253
  openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(),
6910
7254
  paymentMethod: z.array(ACLAction$inboundSchema).optional(),
6911
7255
  permissions: z.array(ACLAction$inboundSchema).optional(),
@@ -6939,6 +7283,7 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType<
6939
7283
  teamInvite: z.array(ACLAction$inboundSchema).optional(),
6940
7284
  teamInviteCode: z.array(ACLAction$inboundSchema).optional(),
6941
7285
  teamJoin: z.array(ACLAction$inboundSchema).optional(),
7286
+ teamMemberMfaStatus: z.array(ACLAction$inboundSchema).optional(),
6942
7287
  teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(),
6943
7288
  teamOwnMembership: z.array(ACLAction$inboundSchema).optional(),
6944
7289
  teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(),
@@ -6956,6 +7301,8 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType<
6956
7301
  endpointVerification: z.array(ACLAction$inboundSchema).optional(),
6957
7302
  projectTransferIn: z.array(ACLAction$inboundSchema).optional(),
6958
7303
  oauth2Application: z.array(ACLAction$inboundSchema).optional(),
7304
+ vercelRun: z.array(ACLAction$inboundSchema).optional(),
7305
+ vercelRunExec: z.array(ACLAction$inboundSchema).optional(),
6959
7306
  aliasProject: z.array(ACLAction$inboundSchema).optional(),
6960
7307
  aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
6961
7308
  productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
@@ -7108,6 +7455,7 @@ export type GetProjectsPermissions$Outbound = {
7108
7455
  notificationCustomerBudget?: Array<string> | undefined;
7109
7456
  notificationStatementOfReasons?: Array<string> | undefined;
7110
7457
  observabilityConfiguration?: Array<string> | undefined;
7458
+ observabilityNotebook?: Array<string> | undefined;
7111
7459
  openTelemetryEndpoint?: Array<string> | undefined;
7112
7460
  paymentMethod?: Array<string> | undefined;
7113
7461
  permissions?: Array<string> | undefined;
@@ -7141,6 +7489,7 @@ export type GetProjectsPermissions$Outbound = {
7141
7489
  teamInvite?: Array<string> | undefined;
7142
7490
  teamInviteCode?: Array<string> | undefined;
7143
7491
  teamJoin?: Array<string> | undefined;
7492
+ teamMemberMfaStatus?: Array<string> | undefined;
7144
7493
  teamMicrofrontends?: Array<string> | undefined;
7145
7494
  teamOwnMembership?: Array<string> | undefined;
7146
7495
  teamOwnMembershipDisconnectSAML?: Array<string> | undefined;
@@ -7158,6 +7507,8 @@ export type GetProjectsPermissions$Outbound = {
7158
7507
  endpointVerification?: Array<string> | undefined;
7159
7508
  projectTransferIn?: Array<string> | undefined;
7160
7509
  oauth2Application?: Array<string> | undefined;
7510
+ vercelRun?: Array<string> | undefined;
7511
+ vercelRunExec?: Array<string> | undefined;
7161
7512
  aliasProject?: Array<string> | undefined;
7162
7513
  aliasProtectionBypass?: Array<string> | undefined;
7163
7514
  productionAliasProtectionBypass?: Array<string> | undefined;
@@ -7311,6 +7662,7 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType<
7311
7662
  notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
7312
7663
  notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
7313
7664
  observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
7665
+ observabilityNotebook: z.array(ACLAction$outboundSchema).optional(),
7314
7666
  openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(),
7315
7667
  paymentMethod: z.array(ACLAction$outboundSchema).optional(),
7316
7668
  permissions: z.array(ACLAction$outboundSchema).optional(),
@@ -7344,6 +7696,7 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType<
7344
7696
  teamInvite: z.array(ACLAction$outboundSchema).optional(),
7345
7697
  teamInviteCode: z.array(ACLAction$outboundSchema).optional(),
7346
7698
  teamJoin: z.array(ACLAction$outboundSchema).optional(),
7699
+ teamMemberMfaStatus: z.array(ACLAction$outboundSchema).optional(),
7347
7700
  teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(),
7348
7701
  teamOwnMembership: z.array(ACLAction$outboundSchema).optional(),
7349
7702
  teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(),
@@ -7361,6 +7714,8 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType<
7361
7714
  endpointVerification: z.array(ACLAction$outboundSchema).optional(),
7362
7715
  projectTransferIn: z.array(ACLAction$outboundSchema).optional(),
7363
7716
  oauth2Application: z.array(ACLAction$outboundSchema).optional(),
7717
+ vercelRun: z.array(ACLAction$outboundSchema).optional(),
7718
+ vercelRunExec: z.array(ACLAction$outboundSchema).optional(),
7364
7719
  aliasProject: z.array(ACLAction$outboundSchema).optional(),
7365
7720
  aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
7366
7721
  productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
@@ -9372,6 +9727,7 @@ export const GetProjectsProjects$inboundSchema: z.ZodType<
9372
9727
  link: z.union([
9373
9728
  z.lazy(() => GetProjectsLink1$inboundSchema),
9374
9729
  z.lazy(() => GetProjectsLink3$inboundSchema),
9730
+ z.lazy(() => GetProjectsLink4$inboundSchema),
9375
9731
  z.lazy(() => GetProjectsLink2$inboundSchema),
9376
9732
  ]).optional(),
9377
9733
  microfrontends: z.union([
@@ -9483,6 +9839,7 @@ export type GetProjectsProjects$Outbound = {
9483
9839
  link?:
9484
9840
  | GetProjectsLink1$Outbound
9485
9841
  | GetProjectsLink3$Outbound
9842
+ | GetProjectsLink4$Outbound
9486
9843
  | GetProjectsLink2$Outbound
9487
9844
  | undefined;
9488
9845
  microfrontends?:
@@ -9589,6 +9946,7 @@ export const GetProjectsProjects$outboundSchema: z.ZodType<
9589
9946
  link: z.union([
9590
9947
  z.lazy(() => GetProjectsLink1$outboundSchema),
9591
9948
  z.lazy(() => GetProjectsLink3$outboundSchema),
9949
+ z.lazy(() => GetProjectsLink4$outboundSchema),
9592
9950
  z.lazy(() => GetProjectsLink2$outboundSchema),
9593
9951
  ]).optional(),
9594
9952
  microfrontends: z.union([