@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
@@ -392,9 +392,11 @@ export type Env = {
392
392
  * This is used to identiy variables that have been migrated from type secret to sensitive.
393
393
  */
394
394
  sunsetSecretId?: string | undefined;
395
+ decrypted?: boolean | undefined;
396
+ value: string;
397
+ vsmValue?: string | undefined;
395
398
  id?: string | undefined;
396
399
  key: string;
397
- value: string;
398
400
  configurationId?: string | null | undefined;
399
401
  createdAt?: number | undefined;
400
402
  updatedAt?: number | undefined;
@@ -425,13 +427,8 @@ export type Env = {
425
427
  * Similar to `contentHints`, but should not be exposed to the user.
426
428
  */
427
429
  internalContentHint?: InternalContentHint | null | undefined;
428
- /**
429
- * Whether `value` and `vsmValue` are decrypted.
430
- */
431
- decrypted?: boolean | undefined;
432
430
  comment?: string | undefined;
433
431
  customEnvironmentIds?: Array<string> | undefined;
434
- vsmValue?: string | undefined;
435
432
  };
436
433
 
437
434
  export type CustomEnvironments = {};
@@ -500,18 +497,30 @@ export type UpdateProjectDataCacheProjectsAliasError = {
500
497
  message: string;
501
498
  };
502
499
 
500
+ /**
501
+ * The type of matching to perform
502
+ */
503
503
  export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType = {
504
504
  EndsWith: "endsWith",
505
505
  StartsWith: "startsWith",
506
506
  Equals: "equals",
507
507
  } as const;
508
+ /**
509
+ * The type of matching to perform
510
+ */
508
511
  export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONType =
509
512
  ClosedEnum<
510
513
  typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType
511
514
  >;
512
515
 
513
516
  export type UpdateProjectDataCacheProjectsBranchMatcher = {
517
+ /**
518
+ * The type of matching to perform
519
+ */
514
520
  type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONType;
521
+ /**
522
+ * The pattern to match against branch names
523
+ */
515
524
  pattern: string;
516
525
  };
517
526
 
@@ -639,6 +648,39 @@ export type LatestDeployments = {
639
648
  withCache?: boolean | undefined;
640
649
  };
641
650
 
651
+ export const UpdateProjectDataCacheLinkProjectsResponseType = {
652
+ GithubCustomHost: "github-custom-host",
653
+ } as const;
654
+ export type UpdateProjectDataCacheLinkProjectsResponseType = ClosedEnum<
655
+ typeof UpdateProjectDataCacheLinkProjectsResponseType
656
+ >;
657
+
658
+ export type UpdateProjectDataCacheLinkProjectsDeployHooks = {
659
+ createdAt?: number | undefined;
660
+ id: string;
661
+ name: string;
662
+ ref: string;
663
+ url: string;
664
+ };
665
+
666
+ export type Link4 = {
667
+ org?: string | undefined;
668
+ /**
669
+ * 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.
670
+ */
671
+ repoOwnerId?: number | undefined;
672
+ repo?: string | undefined;
673
+ repoId?: number | undefined;
674
+ type?: UpdateProjectDataCacheLinkProjectsResponseType | undefined;
675
+ host?: string | undefined;
676
+ createdAt?: number | undefined;
677
+ deployHooks: Array<UpdateProjectDataCacheLinkProjectsDeployHooks>;
678
+ gitCredentialId?: string | undefined;
679
+ updatedAt?: number | undefined;
680
+ sourceless?: boolean | undefined;
681
+ productionBranch?: string | undefined;
682
+ };
683
+
642
684
  export const UpdateProjectDataCacheLinkProjectsType = {
643
685
  Bitbucket: "bitbucket",
644
686
  } as const;
@@ -733,7 +775,7 @@ export type Link1 = {
733
775
  productionBranch?: string | undefined;
734
776
  };
735
777
 
736
- export type Link = Link1 | Link3 | Link2;
778
+ export type Link = Link1 | Link3 | Link4 | Link2;
737
779
 
738
780
  export type UpdateProjectDataCacheMicrofrontends2 = {
739
781
  updatedAt: number;
@@ -759,7 +801,7 @@ export type UpdateProjectDataCacheMicrofrontends1 = {
759
801
  */
760
802
  isDefaultApp?: boolean | undefined;
761
803
  /**
762
- * 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.
804
+ * 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`
763
805
  */
764
806
  defaultRoute?: string | undefined;
765
807
  /**
@@ -805,6 +847,11 @@ export type FunctionDefaultMemoryType = ClosedEnum<
805
847
  typeof FunctionDefaultMemoryType
806
848
  >;
807
849
 
850
+ export const BuildMachineType = {
851
+ Enhanced: "enhanced",
852
+ } as const;
853
+ export type BuildMachineType = ClosedEnum<typeof BuildMachineType>;
854
+
808
855
  export type UpdateProjectDataCacheResourceConfig = {
809
856
  fluid?: boolean | undefined;
810
857
  functionDefaultRegions: Array<string>;
@@ -812,6 +859,7 @@ export type UpdateProjectDataCacheResourceConfig = {
812
859
  functionDefaultMemoryType?: FunctionDefaultMemoryType | undefined;
813
860
  functionZeroConfigFailover?: boolean | undefined;
814
861
  elasticConcurrencyEnabled?: boolean | undefined;
862
+ buildMachineType?: BuildMachineType | undefined;
815
863
  };
816
864
 
817
865
  /**
@@ -822,6 +870,14 @@ export type Stages = {
822
870
  * The percentage of traffic to serve to the new deployment
823
871
  */
824
872
  targetPercentage: number;
873
+ /**
874
+ * 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.
875
+ */
876
+ minutesToRelease?: number | undefined;
877
+ /**
878
+ * Whether or not this stage requires approval to proceed.
879
+ */
880
+ requireApproval?: boolean | undefined;
825
881
  };
826
882
 
827
883
  export type RollingRelease = {
@@ -848,6 +904,13 @@ export type UpdateProjectDataCacheFunctionDefaultMemoryType = ClosedEnum<
848
904
  typeof UpdateProjectDataCacheFunctionDefaultMemoryType
849
905
  >;
850
906
 
907
+ export const UpdateProjectDataCacheBuildMachineType = {
908
+ Enhanced: "enhanced",
909
+ } as const;
910
+ export type UpdateProjectDataCacheBuildMachineType = ClosedEnum<
911
+ typeof UpdateProjectDataCacheBuildMachineType
912
+ >;
913
+
851
914
  export type DefaultResourceConfig = {
852
915
  fluid?: boolean | undefined;
853
916
  functionDefaultRegions: Array<string>;
@@ -857,11 +920,12 @@ export type DefaultResourceConfig = {
857
920
  | undefined;
858
921
  functionZeroConfigFailover?: boolean | undefined;
859
922
  elasticConcurrencyEnabled?: boolean | undefined;
923
+ buildMachineType?: UpdateProjectDataCacheBuildMachineType | undefined;
860
924
  };
861
925
 
862
926
  export const UpdateProjectDataCacheDeploymentType = {
863
- Preview: "preview",
864
927
  All: "all",
928
+ Preview: "preview",
865
929
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
866
930
  } as const;
867
931
  export type UpdateProjectDataCacheDeploymentType = ClosedEnum<
@@ -879,20 +943,32 @@ export type UpdateProjectDataCacheAliasError = {
879
943
  message: string;
880
944
  };
881
945
 
946
+ /**
947
+ * The type of matching to perform
948
+ */
882
949
  export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType =
883
950
  {
884
951
  EndsWith: "endsWith",
885
952
  StartsWith: "startsWith",
886
953
  Equals: "equals",
887
954
  } as const;
955
+ /**
956
+ * The type of matching to perform
957
+ */
888
958
  export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType =
889
959
  ClosedEnum<
890
960
  typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType
891
961
  >;
892
962
 
893
963
  export type UpdateProjectDataCacheBranchMatcher = {
964
+ /**
965
+ * The type of matching to perform
966
+ */
894
967
  type:
895
968
  UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType;
969
+ /**
970
+ * The pattern to match against branch names
971
+ */
896
972
  pattern: string;
897
973
  };
898
974
 
@@ -1103,6 +1179,7 @@ export type Permissions = {
1103
1179
  notificationCustomerBudget?: Array<ACLAction> | undefined;
1104
1180
  notificationStatementOfReasons?: Array<ACLAction> | undefined;
1105
1181
  observabilityConfiguration?: Array<ACLAction> | undefined;
1182
+ observabilityNotebook?: Array<ACLAction> | undefined;
1106
1183
  openTelemetryEndpoint?: Array<ACLAction> | undefined;
1107
1184
  paymentMethod?: Array<ACLAction> | undefined;
1108
1185
  permissions?: Array<ACLAction> | undefined;
@@ -1136,6 +1213,7 @@ export type Permissions = {
1136
1213
  teamInvite?: Array<ACLAction> | undefined;
1137
1214
  teamInviteCode?: Array<ACLAction> | undefined;
1138
1215
  teamJoin?: Array<ACLAction> | undefined;
1216
+ teamMemberMfaStatus?: Array<ACLAction> | undefined;
1139
1217
  teamMicrofrontends?: Array<ACLAction> | undefined;
1140
1218
  teamOwnMembership?: Array<ACLAction> | undefined;
1141
1219
  teamOwnMembershipDisconnectSAML?: Array<ACLAction> | undefined;
@@ -1153,6 +1231,8 @@ export type Permissions = {
1153
1231
  endpointVerification?: Array<ACLAction> | undefined;
1154
1232
  projectTransferIn?: Array<ACLAction> | undefined;
1155
1233
  oauth2Application?: Array<ACLAction> | undefined;
1234
+ vercelRun?: Array<ACLAction> | undefined;
1235
+ vercelRunExec?: Array<ACLAction> | undefined;
1156
1236
  aliasProject?: Array<ACLAction> | undefined;
1157
1237
  aliasProtectionBypass?: Array<ACLAction> | undefined;
1158
1238
  productionAliasProtectionBypass?: Array<ACLAction> | undefined;
@@ -1252,10 +1332,10 @@ export type ProtectionBypass = {
1252
1332
  };
1253
1333
 
1254
1334
  export const UpdateProjectDataCacheTrustedIpsDeploymentType = {
1255
- Production: "production",
1256
- Preview: "preview",
1257
1335
  All: "all",
1336
+ Preview: "preview",
1258
1337
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1338
+ Production: "production",
1259
1339
  } as const;
1260
1340
  export type UpdateProjectDataCacheTrustedIpsDeploymentType = ClosedEnum<
1261
1341
  typeof UpdateProjectDataCacheTrustedIpsDeploymentType
@@ -1266,10 +1346,10 @@ export type TrustedIps2 = {
1266
1346
  };
1267
1347
 
1268
1348
  export const TrustedIpsDeploymentType = {
1269
- Production: "production",
1270
- Preview: "preview",
1271
1349
  All: "all",
1350
+ Preview: "preview",
1272
1351
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1352
+ Production: "production",
1273
1353
  } as const;
1274
1354
  export type TrustedIpsDeploymentType = ClosedEnum<
1275
1355
  typeof TrustedIpsDeploymentType
@@ -1456,14 +1536,16 @@ export type UpdateProjectDataCacheProjectsAction = ClosedEnum<
1456
1536
  typeof UpdateProjectDataCacheProjectsAction
1457
1537
  >;
1458
1538
 
1459
- export const Algo = {
1539
+ export const UpdateProjectDataCacheAlgo = {
1460
1540
  FixedWindow: "fixed_window",
1461
1541
  TokenBucket: "token_bucket",
1462
1542
  } as const;
1463
- export type Algo = ClosedEnum<typeof Algo>;
1543
+ export type UpdateProjectDataCacheAlgo = ClosedEnum<
1544
+ typeof UpdateProjectDataCacheAlgo
1545
+ >;
1464
1546
 
1465
1547
  export type Erl = {
1466
- algo: Algo;
1548
+ algo: UpdateProjectDataCacheAlgo;
1467
1549
  window: number;
1468
1550
  limit: number;
1469
1551
  keys: Array<string>;
@@ -1576,7 +1658,7 @@ export type UpdateProjectDataCacheResponseBody = {
1576
1658
  id: string;
1577
1659
  ipBuckets?: Array<IpBuckets> | undefined;
1578
1660
  latestDeployments?: Array<LatestDeployments> | undefined;
1579
- link?: Link1 | Link3 | Link2 | undefined;
1661
+ link?: Link1 | Link3 | Link4 | Link2 | undefined;
1580
1662
  microfrontends?:
1581
1663
  | UpdateProjectDataCacheMicrofrontends2
1582
1664
  | UpdateProjectDataCacheMicrofrontends1
@@ -3665,9 +3747,11 @@ export const Env$inboundSchema: z.ZodType<Env, z.ZodTypeDef, unknown> = z
3665
3747
  ]).optional(),
3666
3748
  type: UpdateProjectDataCacheProjectsResponse200Type$inboundSchema,
3667
3749
  sunsetSecretId: z.string().optional(),
3750
+ decrypted: z.boolean().optional(),
3751
+ value: z.string(),
3752
+ vsmValue: z.string().optional(),
3668
3753
  id: z.string().optional(),
3669
3754
  key: z.string(),
3670
- value: z.string(),
3671
3755
  configurationId: z.nullable(z.string()).optional(),
3672
3756
  createdAt: z.number().optional(),
3673
3757
  updatedAt: z.number().optional(),
@@ -3698,10 +3782,8 @@ export const Env$inboundSchema: z.ZodType<Env, z.ZodTypeDef, unknown> = z
3698
3782
  internalContentHint: z.nullable(
3699
3783
  z.lazy(() => InternalContentHint$inboundSchema),
3700
3784
  ).optional(),
3701
- decrypted: z.boolean().optional(),
3702
3785
  comment: z.string().optional(),
3703
3786
  customEnvironmentIds: z.array(z.string()).optional(),
3704
- vsmValue: z.string().optional(),
3705
3787
  });
3706
3788
 
3707
3789
  /** @internal */
@@ -3709,9 +3791,11 @@ export type Env$Outbound = {
3709
3791
  target?: Array<string> | string | undefined;
3710
3792
  type: string;
3711
3793
  sunsetSecretId?: string | undefined;
3794
+ decrypted?: boolean | undefined;
3795
+ value: string;
3796
+ vsmValue?: string | undefined;
3712
3797
  id?: string | undefined;
3713
3798
  key: string;
3714
- value: string;
3715
3799
  configurationId?: string | null | undefined;
3716
3800
  createdAt?: number | undefined;
3717
3801
  updatedAt?: number | undefined;
@@ -3739,10 +3823,8 @@ export type Env$Outbound = {
3739
3823
  | null
3740
3824
  | undefined;
3741
3825
  internalContentHint?: InternalContentHint$Outbound | null | undefined;
3742
- decrypted?: boolean | undefined;
3743
3826
  comment?: string | undefined;
3744
3827
  customEnvironmentIds?: Array<string> | undefined;
3745
- vsmValue?: string | undefined;
3746
3828
  };
3747
3829
 
3748
3830
  /** @internal */
@@ -3754,9 +3836,11 @@ export const Env$outboundSchema: z.ZodType<Env$Outbound, z.ZodTypeDef, Env> = z
3754
3836
  ]).optional(),
3755
3837
  type: UpdateProjectDataCacheProjectsResponse200Type$outboundSchema,
3756
3838
  sunsetSecretId: z.string().optional(),
3839
+ decrypted: z.boolean().optional(),
3840
+ value: z.string(),
3841
+ vsmValue: z.string().optional(),
3757
3842
  id: z.string().optional(),
3758
3843
  key: z.string(),
3759
- value: z.string(),
3760
3844
  configurationId: z.nullable(z.string()).optional(),
3761
3845
  createdAt: z.number().optional(),
3762
3846
  updatedAt: z.number().optional(),
@@ -3787,10 +3871,8 @@ export const Env$outboundSchema: z.ZodType<Env$Outbound, z.ZodTypeDef, Env> = z
3787
3871
  internalContentHint: z.nullable(
3788
3872
  z.lazy(() => InternalContentHint$outboundSchema),
3789
3873
  ).optional(),
3790
- decrypted: z.boolean().optional(),
3791
3874
  comment: z.string().optional(),
3792
3875
  customEnvironmentIds: z.array(z.string()).optional(),
3793
- vsmValue: z.string().optional(),
3794
3876
  });
3795
3877
 
3796
3878
  /**
@@ -4718,6 +4800,194 @@ export function latestDeploymentsFromJSON(
4718
4800
  );
4719
4801
  }
4720
4802
 
4803
+ /** @internal */
4804
+ export const UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema:
4805
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheLinkProjectsResponseType> = z
4806
+ .nativeEnum(UpdateProjectDataCacheLinkProjectsResponseType);
4807
+
4808
+ /** @internal */
4809
+ export const UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema:
4810
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheLinkProjectsResponseType> =
4811
+ UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema;
4812
+
4813
+ /**
4814
+ * @internal
4815
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4816
+ */
4817
+ export namespace UpdateProjectDataCacheLinkProjectsResponseType$ {
4818
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema` instead. */
4819
+ export const inboundSchema =
4820
+ UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema;
4821
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema` instead. */
4822
+ export const outboundSchema =
4823
+ UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema;
4824
+ }
4825
+
4826
+ /** @internal */
4827
+ export const UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema:
4828
+ z.ZodType<
4829
+ UpdateProjectDataCacheLinkProjectsDeployHooks,
4830
+ z.ZodTypeDef,
4831
+ unknown
4832
+ > = z.object({
4833
+ createdAt: z.number().optional(),
4834
+ id: z.string(),
4835
+ name: z.string(),
4836
+ ref: z.string(),
4837
+ url: z.string(),
4838
+ });
4839
+
4840
+ /** @internal */
4841
+ export type UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound = {
4842
+ createdAt?: number | undefined;
4843
+ id: string;
4844
+ name: string;
4845
+ ref: string;
4846
+ url: string;
4847
+ };
4848
+
4849
+ /** @internal */
4850
+ export const UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema:
4851
+ z.ZodType<
4852
+ UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound,
4853
+ z.ZodTypeDef,
4854
+ UpdateProjectDataCacheLinkProjectsDeployHooks
4855
+ > = z.object({
4856
+ createdAt: z.number().optional(),
4857
+ id: z.string(),
4858
+ name: z.string(),
4859
+ ref: z.string(),
4860
+ url: z.string(),
4861
+ });
4862
+
4863
+ /**
4864
+ * @internal
4865
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4866
+ */
4867
+ export namespace UpdateProjectDataCacheLinkProjectsDeployHooks$ {
4868
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema` instead. */
4869
+ export const inboundSchema =
4870
+ UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema;
4871
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema` instead. */
4872
+ export const outboundSchema =
4873
+ UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema;
4874
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound` instead. */
4875
+ export type Outbound = UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound;
4876
+ }
4877
+
4878
+ export function updateProjectDataCacheLinkProjectsDeployHooksToJSON(
4879
+ updateProjectDataCacheLinkProjectsDeployHooks:
4880
+ UpdateProjectDataCacheLinkProjectsDeployHooks,
4881
+ ): string {
4882
+ return JSON.stringify(
4883
+ UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema.parse(
4884
+ updateProjectDataCacheLinkProjectsDeployHooks,
4885
+ ),
4886
+ );
4887
+ }
4888
+
4889
+ export function updateProjectDataCacheLinkProjectsDeployHooksFromJSON(
4890
+ jsonString: string,
4891
+ ): SafeParseResult<
4892
+ UpdateProjectDataCacheLinkProjectsDeployHooks,
4893
+ SDKValidationError
4894
+ > {
4895
+ return safeParse(
4896
+ jsonString,
4897
+ (x) =>
4898
+ UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema.parse(
4899
+ JSON.parse(x),
4900
+ ),
4901
+ `Failed to parse 'UpdateProjectDataCacheLinkProjectsDeployHooks' from JSON`,
4902
+ );
4903
+ }
4904
+
4905
+ /** @internal */
4906
+ export const Link4$inboundSchema: z.ZodType<Link4, z.ZodTypeDef, unknown> = z
4907
+ .object({
4908
+ org: z.string().optional(),
4909
+ repoOwnerId: z.number().optional(),
4910
+ repo: z.string().optional(),
4911
+ repoId: z.number().optional(),
4912
+ type: UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema
4913
+ .optional(),
4914
+ host: z.string().optional(),
4915
+ createdAt: z.number().optional(),
4916
+ deployHooks: z.array(
4917
+ z.lazy(() => UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema),
4918
+ ),
4919
+ gitCredentialId: z.string().optional(),
4920
+ updatedAt: z.number().optional(),
4921
+ sourceless: z.boolean().optional(),
4922
+ productionBranch: z.string().optional(),
4923
+ });
4924
+
4925
+ /** @internal */
4926
+ export type Link4$Outbound = {
4927
+ org?: string | undefined;
4928
+ repoOwnerId?: number | undefined;
4929
+ repo?: string | undefined;
4930
+ repoId?: number | undefined;
4931
+ type?: string | undefined;
4932
+ host?: string | undefined;
4933
+ createdAt?: number | undefined;
4934
+ deployHooks: Array<UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound>;
4935
+ gitCredentialId?: string | undefined;
4936
+ updatedAt?: number | undefined;
4937
+ sourceless?: boolean | undefined;
4938
+ productionBranch?: string | undefined;
4939
+ };
4940
+
4941
+ /** @internal */
4942
+ export const Link4$outboundSchema: z.ZodType<
4943
+ Link4$Outbound,
4944
+ z.ZodTypeDef,
4945
+ Link4
4946
+ > = z.object({
4947
+ org: z.string().optional(),
4948
+ repoOwnerId: z.number().optional(),
4949
+ repo: z.string().optional(),
4950
+ repoId: z.number().optional(),
4951
+ type: UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema
4952
+ .optional(),
4953
+ host: z.string().optional(),
4954
+ createdAt: z.number().optional(),
4955
+ deployHooks: z.array(
4956
+ z.lazy(() => UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema),
4957
+ ),
4958
+ gitCredentialId: z.string().optional(),
4959
+ updatedAt: z.number().optional(),
4960
+ sourceless: z.boolean().optional(),
4961
+ productionBranch: z.string().optional(),
4962
+ });
4963
+
4964
+ /**
4965
+ * @internal
4966
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4967
+ */
4968
+ export namespace Link4$ {
4969
+ /** @deprecated use `Link4$inboundSchema` instead. */
4970
+ export const inboundSchema = Link4$inboundSchema;
4971
+ /** @deprecated use `Link4$outboundSchema` instead. */
4972
+ export const outboundSchema = Link4$outboundSchema;
4973
+ /** @deprecated use `Link4$Outbound` instead. */
4974
+ export type Outbound = Link4$Outbound;
4975
+ }
4976
+
4977
+ export function link4ToJSON(link4: Link4): string {
4978
+ return JSON.stringify(Link4$outboundSchema.parse(link4));
4979
+ }
4980
+
4981
+ export function link4FromJSON(
4982
+ jsonString: string,
4983
+ ): SafeParseResult<Link4, SDKValidationError> {
4984
+ return safeParse(
4985
+ jsonString,
4986
+ (x) => Link4$inboundSchema.parse(JSON.parse(x)),
4987
+ `Failed to parse 'Link4' from JSON`,
4988
+ );
4989
+ }
4990
+
4721
4991
  /** @internal */
4722
4992
  export const UpdateProjectDataCacheLinkProjectsType$inboundSchema:
4723
4993
  z.ZodNativeEnum<typeof UpdateProjectDataCacheLinkProjectsType> = z.nativeEnum(
@@ -5228,17 +5498,23 @@ export const Link$inboundSchema: z.ZodType<Link, z.ZodTypeDef, unknown> = z
5228
5498
  .union([
5229
5499
  z.lazy(() => Link1$inboundSchema),
5230
5500
  z.lazy(() => Link3$inboundSchema),
5501
+ z.lazy(() => Link4$inboundSchema),
5231
5502
  z.lazy(() => Link2$inboundSchema),
5232
5503
  ]);
5233
5504
 
5234
5505
  /** @internal */
5235
- export type Link$Outbound = Link1$Outbound | Link3$Outbound | Link2$Outbound;
5506
+ export type Link$Outbound =
5507
+ | Link1$Outbound
5508
+ | Link3$Outbound
5509
+ | Link4$Outbound
5510
+ | Link2$Outbound;
5236
5511
 
5237
5512
  /** @internal */
5238
5513
  export const Link$outboundSchema: z.ZodType<Link$Outbound, z.ZodTypeDef, Link> =
5239
5514
  z.union([
5240
5515
  z.lazy(() => Link1$outboundSchema),
5241
5516
  z.lazy(() => Link3$outboundSchema),
5517
+ z.lazy(() => Link4$outboundSchema),
5242
5518
  z.lazy(() => Link2$outboundSchema),
5243
5519
  ]);
5244
5520
 
@@ -5687,6 +5963,27 @@ export namespace FunctionDefaultMemoryType$ {
5687
5963
  export const outboundSchema = FunctionDefaultMemoryType$outboundSchema;
5688
5964
  }
5689
5965
 
5966
+ /** @internal */
5967
+ export const BuildMachineType$inboundSchema: z.ZodNativeEnum<
5968
+ typeof BuildMachineType
5969
+ > = z.nativeEnum(BuildMachineType);
5970
+
5971
+ /** @internal */
5972
+ export const BuildMachineType$outboundSchema: z.ZodNativeEnum<
5973
+ typeof BuildMachineType
5974
+ > = BuildMachineType$inboundSchema;
5975
+
5976
+ /**
5977
+ * @internal
5978
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5979
+ */
5980
+ export namespace BuildMachineType$ {
5981
+ /** @deprecated use `BuildMachineType$inboundSchema` instead. */
5982
+ export const inboundSchema = BuildMachineType$inboundSchema;
5983
+ /** @deprecated use `BuildMachineType$outboundSchema` instead. */
5984
+ export const outboundSchema = BuildMachineType$outboundSchema;
5985
+ }
5986
+
5690
5987
  /** @internal */
5691
5988
  export const UpdateProjectDataCacheResourceConfig$inboundSchema: z.ZodType<
5692
5989
  UpdateProjectDataCacheResourceConfig,
@@ -5699,6 +5996,7 @@ export const UpdateProjectDataCacheResourceConfig$inboundSchema: z.ZodType<
5699
5996
  functionDefaultMemoryType: FunctionDefaultMemoryType$inboundSchema.optional(),
5700
5997
  functionZeroConfigFailover: z.boolean().optional(),
5701
5998
  elasticConcurrencyEnabled: z.boolean().optional(),
5999
+ buildMachineType: BuildMachineType$inboundSchema.optional(),
5702
6000
  });
5703
6001
 
5704
6002
  /** @internal */
@@ -5709,6 +6007,7 @@ export type UpdateProjectDataCacheResourceConfig$Outbound = {
5709
6007
  functionDefaultMemoryType?: string | undefined;
5710
6008
  functionZeroConfigFailover?: boolean | undefined;
5711
6009
  elasticConcurrencyEnabled?: boolean | undefined;
6010
+ buildMachineType?: string | undefined;
5712
6011
  };
5713
6012
 
5714
6013
  /** @internal */
@@ -5724,6 +6023,7 @@ export const UpdateProjectDataCacheResourceConfig$outboundSchema: z.ZodType<
5724
6023
  .optional(),
5725
6024
  functionZeroConfigFailover: z.boolean().optional(),
5726
6025
  elasticConcurrencyEnabled: z.boolean().optional(),
6026
+ buildMachineType: BuildMachineType$outboundSchema.optional(),
5727
6027
  });
5728
6028
 
5729
6029
  /**
@@ -5766,11 +6066,15 @@ export function updateProjectDataCacheResourceConfigFromJSON(
5766
6066
  export const Stages$inboundSchema: z.ZodType<Stages, z.ZodTypeDef, unknown> = z
5767
6067
  .object({
5768
6068
  targetPercentage: z.number(),
6069
+ minutesToRelease: z.number().optional(),
6070
+ requireApproval: z.boolean().optional(),
5769
6071
  });
5770
6072
 
5771
6073
  /** @internal */
5772
6074
  export type Stages$Outbound = {
5773
6075
  targetPercentage: number;
6076
+ minutesToRelease?: number | undefined;
6077
+ requireApproval?: boolean | undefined;
5774
6078
  };
5775
6079
 
5776
6080
  /** @internal */
@@ -5780,6 +6084,8 @@ export const Stages$outboundSchema: z.ZodType<
5780
6084
  Stages
5781
6085
  > = z.object({
5782
6086
  targetPercentage: z.number(),
6087
+ minutesToRelease: z.number().optional(),
6088
+ requireApproval: z.boolean().optional(),
5783
6089
  });
5784
6090
 
5785
6091
  /**
@@ -5888,6 +6194,30 @@ export namespace UpdateProjectDataCacheFunctionDefaultMemoryType$ {
5888
6194
  UpdateProjectDataCacheFunctionDefaultMemoryType$outboundSchema;
5889
6195
  }
5890
6196
 
6197
+ /** @internal */
6198
+ export const UpdateProjectDataCacheBuildMachineType$inboundSchema:
6199
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheBuildMachineType> = z.nativeEnum(
6200
+ UpdateProjectDataCacheBuildMachineType,
6201
+ );
6202
+
6203
+ /** @internal */
6204
+ export const UpdateProjectDataCacheBuildMachineType$outboundSchema:
6205
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheBuildMachineType> =
6206
+ UpdateProjectDataCacheBuildMachineType$inboundSchema;
6207
+
6208
+ /**
6209
+ * @internal
6210
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6211
+ */
6212
+ export namespace UpdateProjectDataCacheBuildMachineType$ {
6213
+ /** @deprecated use `UpdateProjectDataCacheBuildMachineType$inboundSchema` instead. */
6214
+ export const inboundSchema =
6215
+ UpdateProjectDataCacheBuildMachineType$inboundSchema;
6216
+ /** @deprecated use `UpdateProjectDataCacheBuildMachineType$outboundSchema` instead. */
6217
+ export const outboundSchema =
6218
+ UpdateProjectDataCacheBuildMachineType$outboundSchema;
6219
+ }
6220
+
5891
6221
  /** @internal */
5892
6222
  export const DefaultResourceConfig$inboundSchema: z.ZodType<
5893
6223
  DefaultResourceConfig,
@@ -5901,6 +6231,8 @@ export const DefaultResourceConfig$inboundSchema: z.ZodType<
5901
6231
  UpdateProjectDataCacheFunctionDefaultMemoryType$inboundSchema.optional(),
5902
6232
  functionZeroConfigFailover: z.boolean().optional(),
5903
6233
  elasticConcurrencyEnabled: z.boolean().optional(),
6234
+ buildMachineType: UpdateProjectDataCacheBuildMachineType$inboundSchema
6235
+ .optional(),
5904
6236
  });
5905
6237
 
5906
6238
  /** @internal */
@@ -5911,6 +6243,7 @@ export type DefaultResourceConfig$Outbound = {
5911
6243
  functionDefaultMemoryType?: string | undefined;
5912
6244
  functionZeroConfigFailover?: boolean | undefined;
5913
6245
  elasticConcurrencyEnabled?: boolean | undefined;
6246
+ buildMachineType?: string | undefined;
5914
6247
  };
5915
6248
 
5916
6249
  /** @internal */
@@ -5926,6 +6259,8 @@ export const DefaultResourceConfig$outboundSchema: z.ZodType<
5926
6259
  UpdateProjectDataCacheFunctionDefaultMemoryType$outboundSchema.optional(),
5927
6260
  functionZeroConfigFailover: z.boolean().optional(),
5928
6261
  elasticConcurrencyEnabled: z.boolean().optional(),
6262
+ buildMachineType: UpdateProjectDataCacheBuildMachineType$outboundSchema
6263
+ .optional(),
5929
6264
  });
5930
6265
 
5931
6266
  /**
@@ -6865,6 +7200,7 @@ export const Permissions$inboundSchema: z.ZodType<
6865
7200
  notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
6866
7201
  notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
6867
7202
  observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
7203
+ observabilityNotebook: z.array(ACLAction$inboundSchema).optional(),
6868
7204
  openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(),
6869
7205
  paymentMethod: z.array(ACLAction$inboundSchema).optional(),
6870
7206
  permissions: z.array(ACLAction$inboundSchema).optional(),
@@ -6898,6 +7234,7 @@ export const Permissions$inboundSchema: z.ZodType<
6898
7234
  teamInvite: z.array(ACLAction$inboundSchema).optional(),
6899
7235
  teamInviteCode: z.array(ACLAction$inboundSchema).optional(),
6900
7236
  teamJoin: z.array(ACLAction$inboundSchema).optional(),
7237
+ teamMemberMfaStatus: z.array(ACLAction$inboundSchema).optional(),
6901
7238
  teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(),
6902
7239
  teamOwnMembership: z.array(ACLAction$inboundSchema).optional(),
6903
7240
  teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(),
@@ -6915,6 +7252,8 @@ export const Permissions$inboundSchema: z.ZodType<
6915
7252
  endpointVerification: z.array(ACLAction$inboundSchema).optional(),
6916
7253
  projectTransferIn: z.array(ACLAction$inboundSchema).optional(),
6917
7254
  oauth2Application: z.array(ACLAction$inboundSchema).optional(),
7255
+ vercelRun: z.array(ACLAction$inboundSchema).optional(),
7256
+ vercelRunExec: z.array(ACLAction$inboundSchema).optional(),
6918
7257
  aliasProject: z.array(ACLAction$inboundSchema).optional(),
6919
7258
  aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
6920
7259
  productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
@@ -7067,6 +7406,7 @@ export type Permissions$Outbound = {
7067
7406
  notificationCustomerBudget?: Array<string> | undefined;
7068
7407
  notificationStatementOfReasons?: Array<string> | undefined;
7069
7408
  observabilityConfiguration?: Array<string> | undefined;
7409
+ observabilityNotebook?: Array<string> | undefined;
7070
7410
  openTelemetryEndpoint?: Array<string> | undefined;
7071
7411
  paymentMethod?: Array<string> | undefined;
7072
7412
  permissions?: Array<string> | undefined;
@@ -7100,6 +7440,7 @@ export type Permissions$Outbound = {
7100
7440
  teamInvite?: Array<string> | undefined;
7101
7441
  teamInviteCode?: Array<string> | undefined;
7102
7442
  teamJoin?: Array<string> | undefined;
7443
+ teamMemberMfaStatus?: Array<string> | undefined;
7103
7444
  teamMicrofrontends?: Array<string> | undefined;
7104
7445
  teamOwnMembership?: Array<string> | undefined;
7105
7446
  teamOwnMembershipDisconnectSAML?: Array<string> | undefined;
@@ -7117,6 +7458,8 @@ export type Permissions$Outbound = {
7117
7458
  endpointVerification?: Array<string> | undefined;
7118
7459
  projectTransferIn?: Array<string> | undefined;
7119
7460
  oauth2Application?: Array<string> | undefined;
7461
+ vercelRun?: Array<string> | undefined;
7462
+ vercelRunExec?: Array<string> | undefined;
7120
7463
  aliasProject?: Array<string> | undefined;
7121
7464
  aliasProtectionBypass?: Array<string> | undefined;
7122
7465
  productionAliasProtectionBypass?: Array<string> | undefined;
@@ -7270,6 +7613,7 @@ export const Permissions$outboundSchema: z.ZodType<
7270
7613
  notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
7271
7614
  notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
7272
7615
  observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
7616
+ observabilityNotebook: z.array(ACLAction$outboundSchema).optional(),
7273
7617
  openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(),
7274
7618
  paymentMethod: z.array(ACLAction$outboundSchema).optional(),
7275
7619
  permissions: z.array(ACLAction$outboundSchema).optional(),
@@ -7303,6 +7647,7 @@ export const Permissions$outboundSchema: z.ZodType<
7303
7647
  teamInvite: z.array(ACLAction$outboundSchema).optional(),
7304
7648
  teamInviteCode: z.array(ACLAction$outboundSchema).optional(),
7305
7649
  teamJoin: z.array(ACLAction$outboundSchema).optional(),
7650
+ teamMemberMfaStatus: z.array(ACLAction$outboundSchema).optional(),
7306
7651
  teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(),
7307
7652
  teamOwnMembership: z.array(ACLAction$outboundSchema).optional(),
7308
7653
  teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(),
@@ -7320,6 +7665,8 @@ export const Permissions$outboundSchema: z.ZodType<
7320
7665
  endpointVerification: z.array(ACLAction$outboundSchema).optional(),
7321
7666
  projectTransferIn: z.array(ACLAction$outboundSchema).optional(),
7322
7667
  oauth2Application: z.array(ACLAction$outboundSchema).optional(),
7668
+ vercelRun: z.array(ACLAction$outboundSchema).optional(),
7669
+ vercelRunExec: z.array(ACLAction$outboundSchema).optional(),
7323
7670
  aliasProject: z.array(ACLAction$outboundSchema).optional(),
7324
7671
  aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
7325
7672
  productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
@@ -8779,29 +9126,30 @@ export namespace UpdateProjectDataCacheProjectsAction$ {
8779
9126
  }
8780
9127
 
8781
9128
  /** @internal */
8782
- export const Algo$inboundSchema: z.ZodNativeEnum<typeof Algo> = z.nativeEnum(
8783
- Algo,
8784
- );
9129
+ export const UpdateProjectDataCacheAlgo$inboundSchema: z.ZodNativeEnum<
9130
+ typeof UpdateProjectDataCacheAlgo
9131
+ > = z.nativeEnum(UpdateProjectDataCacheAlgo);
8785
9132
 
8786
9133
  /** @internal */
8787
- export const Algo$outboundSchema: z.ZodNativeEnum<typeof Algo> =
8788
- Algo$inboundSchema;
9134
+ export const UpdateProjectDataCacheAlgo$outboundSchema: z.ZodNativeEnum<
9135
+ typeof UpdateProjectDataCacheAlgo
9136
+ > = UpdateProjectDataCacheAlgo$inboundSchema;
8789
9137
 
8790
9138
  /**
8791
9139
  * @internal
8792
9140
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8793
9141
  */
8794
- export namespace Algo$ {
8795
- /** @deprecated use `Algo$inboundSchema` instead. */
8796
- export const inboundSchema = Algo$inboundSchema;
8797
- /** @deprecated use `Algo$outboundSchema` instead. */
8798
- export const outboundSchema = Algo$outboundSchema;
9142
+ export namespace UpdateProjectDataCacheAlgo$ {
9143
+ /** @deprecated use `UpdateProjectDataCacheAlgo$inboundSchema` instead. */
9144
+ export const inboundSchema = UpdateProjectDataCacheAlgo$inboundSchema;
9145
+ /** @deprecated use `UpdateProjectDataCacheAlgo$outboundSchema` instead. */
9146
+ export const outboundSchema = UpdateProjectDataCacheAlgo$outboundSchema;
8799
9147
  }
8800
9148
 
8801
9149
  /** @internal */
8802
9150
  export const Erl$inboundSchema: z.ZodType<Erl, z.ZodTypeDef, unknown> = z
8803
9151
  .object({
8804
- algo: Algo$inboundSchema,
9152
+ algo: UpdateProjectDataCacheAlgo$inboundSchema,
8805
9153
  window: z.number(),
8806
9154
  limit: z.number(),
8807
9155
  keys: z.array(z.string()),
@@ -8818,7 +9166,7 @@ export type Erl$Outbound = {
8818
9166
  /** @internal */
8819
9167
  export const Erl$outboundSchema: z.ZodType<Erl$Outbound, z.ZodTypeDef, Erl> = z
8820
9168
  .object({
8821
- algo: Algo$outboundSchema,
9169
+ algo: UpdateProjectDataCacheAlgo$outboundSchema,
8822
9170
  window: z.number(),
8823
9171
  limit: z.number(),
8824
9172
  keys: z.array(z.string()),
@@ -9319,6 +9667,7 @@ export const UpdateProjectDataCacheResponseBody$inboundSchema: z.ZodType<
9319
9667
  link: z.union([
9320
9668
  z.lazy(() => Link1$inboundSchema),
9321
9669
  z.lazy(() => Link3$inboundSchema),
9670
+ z.lazy(() => Link4$inboundSchema),
9322
9671
  z.lazy(() => Link2$inboundSchema),
9323
9672
  ]).optional(),
9324
9673
  microfrontends: z.union([
@@ -9419,7 +9768,12 @@ export type UpdateProjectDataCacheResponseBody$Outbound = {
9419
9768
  id: string;
9420
9769
  ipBuckets?: Array<IpBuckets$Outbound> | undefined;
9421
9770
  latestDeployments?: Array<LatestDeployments$Outbound> | undefined;
9422
- link?: Link1$Outbound | Link3$Outbound | Link2$Outbound | undefined;
9771
+ link?:
9772
+ | Link1$Outbound
9773
+ | Link3$Outbound
9774
+ | Link4$Outbound
9775
+ | Link2$Outbound
9776
+ | undefined;
9423
9777
  microfrontends?:
9424
9778
  | UpdateProjectDataCacheMicrofrontends2$Outbound
9425
9779
  | UpdateProjectDataCacheMicrofrontends1$Outbound
@@ -9519,6 +9873,7 @@ export const UpdateProjectDataCacheResponseBody$outboundSchema: z.ZodType<
9519
9873
  link: z.union([
9520
9874
  z.lazy(() => Link1$outboundSchema),
9521
9875
  z.lazy(() => Link3$outboundSchema),
9876
+ z.lazy(() => Link4$outboundSchema),
9522
9877
  z.lazy(() => Link2$outboundSchema),
9523
9878
  ]).optional(),
9524
9879
  microfrontends: z.union([