@vercel/sdk 1.13.4 → 1.13.6

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 (402) hide show
  1. package/README.md +57 -53
  2. package/bin/mcp-server.js +1982 -2193
  3. package/bin/mcp-server.js.map +91 -88
  4. package/docs/sdks/connect/README.md +95 -0
  5. package/docs/sdks/domains/README.md +11 -11
  6. package/docs/sdks/domainsregistrar/README.md +55 -55
  7. package/docs/sdks/projects/README.md +2 -0
  8. package/esm/__tests__/accessgroups.test.js +6 -2
  9. package/esm/__tests__/accessgroups.test.js.map +1 -1
  10. package/esm/__tests__/connect.test.d.ts +2 -0
  11. package/esm/__tests__/connect.test.d.ts.map +1 -0
  12. package/esm/__tests__/connect.test.js +36 -0
  13. package/esm/__tests__/connect.test.js.map +1 -0
  14. package/esm/__tests__/domains.test.js +11 -4
  15. package/esm/__tests__/domains.test.js.map +1 -1
  16. package/esm/__tests__/domainsregistrar.test.js +1 -1
  17. package/esm/__tests__/domainsregistrar.test.js.map +1 -1
  18. package/esm/__tests__/edgeconfig.test.js +6 -6
  19. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  20. package/esm/__tests__/integrations.test.js +1 -1
  21. package/esm/__tests__/rollingrelease.test.js +2 -2
  22. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  23. package/esm/__tests__/security.test.js +11 -1
  24. package/esm/__tests__/security.test.js.map +1 -1
  25. package/esm/funcs/connectUpdateSharedConnectLinks.d.ts +17 -0
  26. package/esm/funcs/connectUpdateSharedConnectLinks.d.ts.map +1 -0
  27. package/esm/funcs/connectUpdateSharedConnectLinks.js +90 -0
  28. package/esm/funcs/connectUpdateSharedConnectLinks.js.map +1 -0
  29. package/esm/funcs/domainsBuyDomain.d.ts +2 -2
  30. package/esm/funcs/domainsBuyDomain.js +2 -2
  31. package/esm/funcs/domainsCheckDomainPrice.d.ts +2 -2
  32. package/esm/funcs/domainsCheckDomainPrice.js +2 -2
  33. package/esm/funcs/domainsCheckDomainStatus.d.ts +2 -2
  34. package/esm/funcs/domainsCheckDomainStatus.js +2 -2
  35. package/esm/funcs/domainsCreateOrTransferDomain.d.ts +2 -2
  36. package/esm/funcs/domainsCreateOrTransferDomain.js +2 -2
  37. package/esm/funcs/domainsGetDomainTransfer.d.ts +2 -2
  38. package/esm/funcs/domainsGetDomainTransfer.js +2 -2
  39. package/esm/funcs/domainsPatchDomain.d.ts +1 -1
  40. package/esm/funcs/domainsPatchDomain.js +1 -1
  41. package/esm/funcs/domainsRegistrarBuyDomains.d.ts +2 -2
  42. package/esm/funcs/domainsRegistrarBuyDomains.js +2 -2
  43. package/esm/funcs/domainsRegistrarGetBulkAvailability.d.ts +1 -1
  44. package/esm/funcs/domainsRegistrarGetBulkAvailability.js +1 -1
  45. package/esm/funcs/domainsRegistrarGetContactInfoSchema.d.ts +2 -2
  46. package/esm/funcs/domainsRegistrarGetContactInfoSchema.js +2 -2
  47. package/esm/funcs/domainsRegistrarGetDomainAuthCode.d.ts +1 -1
  48. package/esm/funcs/domainsRegistrarGetDomainAuthCode.js +1 -1
  49. package/esm/funcs/domainsRegistrarGetDomainAvailability.d.ts +2 -2
  50. package/esm/funcs/domainsRegistrarGetDomainAvailability.js +2 -2
  51. package/esm/funcs/domainsRegistrarGetDomainPrice.d.ts +1 -1
  52. package/esm/funcs/domainsRegistrarGetDomainPrice.js +1 -1
  53. package/esm/funcs/domainsRegistrarGetDomainTransferIn.d.ts +2 -2
  54. package/esm/funcs/domainsRegistrarGetDomainTransferIn.js +2 -2
  55. package/esm/funcs/domainsRegistrarGetOrder.d.ts +2 -2
  56. package/esm/funcs/domainsRegistrarGetOrder.js +2 -2
  57. package/esm/funcs/domainsRegistrarGetSupportedTlds.d.ts +2 -2
  58. package/esm/funcs/domainsRegistrarGetSupportedTlds.js +2 -2
  59. package/esm/funcs/domainsRegistrarGetTldPrice.d.ts +2 -2
  60. package/esm/funcs/domainsRegistrarGetTldPrice.js +2 -2
  61. package/esm/funcs/domainsRegistrarTransferInDomain.d.ts +2 -2
  62. package/esm/funcs/domainsRegistrarTransferInDomain.js +2 -2
  63. package/esm/funcs/domainsRegistrarUpdateDomainAutoRenew.d.ts +2 -2
  64. package/esm/funcs/domainsRegistrarUpdateDomainAutoRenew.js +2 -2
  65. package/esm/funcs/domainsRegistrarUpdateDomainNameservers.d.ts +2 -2
  66. package/esm/funcs/domainsRegistrarUpdateDomainNameservers.js +2 -2
  67. package/esm/funcs/projectsGetProjects.js +1 -0
  68. package/esm/funcs/projectsGetProjects.js.map +1 -1
  69. package/esm/funcs/projectsUploadProjectClientCert.js +2 -2
  70. package/esm/funcs/projectsUploadProjectClientCert.js.map +1 -1
  71. package/esm/lib/config.d.ts +3 -3
  72. package/esm/lib/config.js +3 -3
  73. package/esm/mcp-server/mcp-server.js +1 -1
  74. package/esm/mcp-server/server.d.ts.map +1 -1
  75. package/esm/mcp-server/server.js +3 -1
  76. package/esm/mcp-server/server.js.map +1 -1
  77. package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.d.ts +7 -0
  78. package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.d.ts.map +1 -0
  79. package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.js +28 -0
  80. package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.js.map +1 -0
  81. package/esm/mcp-server/tools/domainsBuyDomain.js +2 -2
  82. package/esm/mcp-server/tools/domainsBuyDomain.js.map +1 -1
  83. package/esm/mcp-server/tools/domainsCheckDomainPrice.js +2 -2
  84. package/esm/mcp-server/tools/domainsCheckDomainPrice.js.map +1 -1
  85. package/esm/mcp-server/tools/domainsCheckDomainStatus.js +2 -2
  86. package/esm/mcp-server/tools/domainsCheckDomainStatus.js.map +1 -1
  87. package/esm/mcp-server/tools/domainsCreateOrTransferDomain.js +2 -2
  88. package/esm/mcp-server/tools/domainsCreateOrTransferDomain.js.map +1 -1
  89. package/esm/mcp-server/tools/domainsGetDomainTransfer.js +2 -2
  90. package/esm/mcp-server/tools/domainsGetDomainTransfer.js.map +1 -1
  91. package/esm/mcp-server/tools/domainsPatchDomain.js +1 -1
  92. package/esm/mcp-server/tools/domainsPatchDomain.js.map +1 -1
  93. package/esm/mcp-server/tools/domainsRegistrarBuyDomains.js +2 -2
  94. package/esm/mcp-server/tools/domainsRegistrarBuyDomains.js.map +1 -1
  95. package/esm/mcp-server/tools/domainsRegistrarGetBulkAvailability.js +1 -1
  96. package/esm/mcp-server/tools/domainsRegistrarGetBulkAvailability.js.map +1 -1
  97. package/esm/mcp-server/tools/domainsRegistrarGetContactInfoSchema.d.ts.map +1 -1
  98. package/esm/mcp-server/tools/domainsRegistrarGetContactInfoSchema.js +2 -2
  99. package/esm/mcp-server/tools/domainsRegistrarGetContactInfoSchema.js.map +1 -1
  100. package/esm/mcp-server/tools/domainsRegistrarGetDomainAuthCode.js +1 -1
  101. package/esm/mcp-server/tools/domainsRegistrarGetDomainAuthCode.js.map +1 -1
  102. package/esm/mcp-server/tools/domainsRegistrarGetDomainAvailability.js +2 -2
  103. package/esm/mcp-server/tools/domainsRegistrarGetDomainAvailability.js.map +1 -1
  104. package/esm/mcp-server/tools/domainsRegistrarGetDomainPrice.js +1 -1
  105. package/esm/mcp-server/tools/domainsRegistrarGetDomainTransferIn.js +2 -2
  106. package/esm/mcp-server/tools/domainsRegistrarGetDomainTransferIn.js.map +1 -1
  107. package/esm/mcp-server/tools/domainsRegistrarGetOrder.js +2 -2
  108. package/esm/mcp-server/tools/domainsRegistrarGetOrder.js.map +1 -1
  109. package/esm/mcp-server/tools/domainsRegistrarGetSupportedTlds.js +2 -2
  110. package/esm/mcp-server/tools/domainsRegistrarGetSupportedTlds.js.map +1 -1
  111. package/esm/mcp-server/tools/domainsRegistrarGetTldPrice.js +2 -2
  112. package/esm/mcp-server/tools/domainsRegistrarGetTldPrice.js.map +1 -1
  113. package/esm/mcp-server/tools/domainsRegistrarTransferInDomain.js +2 -2
  114. package/esm/mcp-server/tools/domainsRegistrarTransferInDomain.js.map +1 -1
  115. package/esm/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.js +2 -2
  116. package/esm/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.js.map +1 -1
  117. package/esm/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.js +2 -2
  118. package/esm/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.js.map +1 -1
  119. package/esm/models/additionalcontactinforequired.d.ts +6 -25
  120. package/esm/models/additionalcontactinforequired.d.ts.map +1 -1
  121. package/esm/models/additionalcontactinforequired.js +4 -30
  122. package/esm/models/additionalcontactinforequired.js.map +1 -1
  123. package/esm/models/badrequest.d.ts +0 -25
  124. package/esm/models/badrequest.d.ts.map +1 -1
  125. package/esm/models/badrequest.js +1 -30
  126. package/esm/models/badrequest.js.map +1 -1
  127. package/esm/models/buydomainsop.d.ts +15 -3
  128. package/esm/models/buydomainsop.d.ts.map +1 -1
  129. package/esm/models/buydomainsop.js +16 -16
  130. package/esm/models/buydomainsop.js.map +1 -1
  131. package/esm/models/buysingledomainop.d.ts +15 -3
  132. package/esm/models/buysingledomainop.d.ts.map +1 -1
  133. package/esm/models/buysingledomainop.js +12 -12
  134. package/esm/models/buysingledomainop.js.map +1 -1
  135. package/esm/models/createintegrationstoredirectop.d.ts +291 -285
  136. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
  137. package/esm/models/createintegrationstoredirectop.js +353 -351
  138. package/esm/models/createintegrationstoredirectop.js.map +1 -1
  139. package/esm/models/createortransferdomainop.d.ts +5 -3
  140. package/esm/models/createortransferdomainop.d.ts.map +1 -1
  141. package/esm/models/createortransferdomainop.js.map +1 -1
  142. package/esm/models/domainalreadyrenewing.d.ts +6 -25
  143. package/esm/models/domainalreadyrenewing.d.ts.map +1 -1
  144. package/esm/models/domainalreadyrenewing.js +4 -30
  145. package/esm/models/domainalreadyrenewing.js.map +1 -1
  146. package/esm/models/domainnotavailable.d.ts +6 -25
  147. package/esm/models/domainnotavailable.d.ts.map +1 -1
  148. package/esm/models/domainnotavailable.js +4 -30
  149. package/esm/models/domainnotavailable.js.map +1 -1
  150. package/esm/models/domainnotfound.d.ts +6 -25
  151. package/esm/models/domainnotfound.d.ts.map +1 -1
  152. package/esm/models/domainnotfound.js +4 -30
  153. package/esm/models/domainnotfound.js.map +1 -1
  154. package/esm/models/domainnotregistered.d.ts +6 -25
  155. package/esm/models/domainnotregistered.d.ts.map +1 -1
  156. package/esm/models/domainnotregistered.js +4 -30
  157. package/esm/models/domainnotregistered.js.map +1 -1
  158. package/esm/models/domainnotrenewable.d.ts +6 -25
  159. package/esm/models/domainnotrenewable.d.ts.map +1 -1
  160. package/esm/models/domainnotrenewable.js +4 -30
  161. package/esm/models/domainnotrenewable.js.map +1 -1
  162. package/esm/models/duplicatedomains.d.ts +6 -25
  163. package/esm/models/duplicatedomains.d.ts.map +1 -1
  164. package/esm/models/duplicatedomains.js +4 -30
  165. package/esm/models/duplicatedomains.js.map +1 -1
  166. package/esm/models/expectedpricemismatch.d.ts +6 -25
  167. package/esm/models/expectedpricemismatch.d.ts.map +1 -1
  168. package/esm/models/expectedpricemismatch.js +4 -30
  169. package/esm/models/expectedpricemismatch.js.map +1 -1
  170. package/esm/models/forbidden.d.ts +0 -25
  171. package/esm/models/forbidden.d.ts.map +1 -1
  172. package/esm/models/forbidden.js +1 -30
  173. package/esm/models/forbidden.js.map +1 -1
  174. package/esm/models/getconfigurationproductsop.d.ts +375 -375
  175. package/esm/models/getconfigurationproductsop.js +465 -465
  176. package/esm/models/getcontactinfoschemaop.d.ts +2 -2
  177. package/esm/models/getcontactinfoschemaop.d.ts.map +1 -1
  178. package/esm/models/getcontactinfoschemaop.js +2 -2
  179. package/esm/models/getcontactinfoschemaop.js.map +1 -1
  180. package/esm/models/getdomainauthcodeop.d.ts +2 -2
  181. package/esm/models/getdomainauthcodeop.d.ts.map +1 -1
  182. package/esm/models/getdomainauthcodeop.js +2 -2
  183. package/esm/models/getdomainauthcodeop.js.map +1 -1
  184. package/esm/models/getdomainpriceop.d.ts +11 -11
  185. package/esm/models/getdomainpriceop.d.ts.map +1 -1
  186. package/esm/models/getdomainpriceop.js +10 -10
  187. package/esm/models/getdomainpriceop.js.map +1 -1
  188. package/esm/models/getintegrationresourceop.d.ts +3 -0
  189. package/esm/models/getintegrationresourceop.d.ts.map +1 -1
  190. package/esm/models/getintegrationresourceop.js +1 -0
  191. package/esm/models/getintegrationresourceop.js.map +1 -1
  192. package/esm/models/getintegrationresourcesop.d.ts +3 -0
  193. package/esm/models/getintegrationresourcesop.d.ts.map +1 -1
  194. package/esm/models/getintegrationresourcesop.js +1 -0
  195. package/esm/models/getintegrationresourcesop.js.map +1 -1
  196. package/esm/models/getorderop.d.ts +18 -9
  197. package/esm/models/getorderop.d.ts.map +1 -1
  198. package/esm/models/getorderop.js +6 -6
  199. package/esm/models/getorderop.js.map +1 -1
  200. package/esm/models/getprojectsop.d.ts +36 -0
  201. package/esm/models/getprojectsop.d.ts.map +1 -1
  202. package/esm/models/getprojectsop.js +24 -0
  203. package/esm/models/getprojectsop.js.map +1 -1
  204. package/esm/models/gettldpriceop.d.ts +14 -11
  205. package/esm/models/gettldpriceop.d.ts.map +1 -1
  206. package/esm/models/gettldpriceop.js +8 -8
  207. package/esm/models/gettldpriceop.js.map +1 -1
  208. package/esm/models/httpapidecodeerror.d.ts +0 -26
  209. package/esm/models/httpapidecodeerror.d.ts.map +1 -1
  210. package/esm/models/httpapidecodeerror.js +1 -30
  211. package/esm/models/httpapidecodeerror.js.map +1 -1
  212. package/esm/models/importresourceop.d.ts +3 -0
  213. package/esm/models/importresourceop.d.ts.map +1 -1
  214. package/esm/models/importresourceop.js +1 -0
  215. package/esm/models/importresourceop.js.map +1 -1
  216. package/esm/models/internalservererror.d.ts +0 -25
  217. package/esm/models/internalservererror.d.ts.map +1 -1
  218. package/esm/models/internalservererror.js +1 -30
  219. package/esm/models/internalservererror.js.map +1 -1
  220. package/esm/models/invalidadditionalcontactinfo.d.ts +6 -25
  221. package/esm/models/invalidadditionalcontactinfo.d.ts.map +1 -1
  222. package/esm/models/invalidadditionalcontactinfo.js +4 -30
  223. package/esm/models/invalidadditionalcontactinfo.js.map +1 -1
  224. package/esm/models/issue.d.ts +0 -55
  225. package/esm/models/issue.d.ts.map +1 -1
  226. package/esm/models/issue.js +0 -39
  227. package/esm/models/issue.js.map +1 -1
  228. package/esm/models/notauthorizedforscope.d.ts +0 -25
  229. package/esm/models/notauthorizedforscope.d.ts.map +1 -1
  230. package/esm/models/notauthorizedforscope.js +1 -30
  231. package/esm/models/notauthorizedforscope.js.map +1 -1
  232. package/esm/models/notfound.d.ts +0 -25
  233. package/esm/models/notfound.d.ts.map +1 -1
  234. package/esm/models/notfound.js +1 -31
  235. package/esm/models/notfound.js.map +1 -1
  236. package/esm/models/ordertooexpensive.d.ts +6 -25
  237. package/esm/models/ordertooexpensive.d.ts.map +1 -1
  238. package/esm/models/ordertooexpensive.js +4 -30
  239. package/esm/models/ordertooexpensive.js.map +1 -1
  240. package/esm/models/patchdomainop.d.ts +6 -2
  241. package/esm/models/patchdomainop.d.ts.map +1 -1
  242. package/esm/models/patchdomainop.js.map +1 -1
  243. package/esm/models/propertykey.d.ts +8 -8
  244. package/esm/models/propertykey.d.ts.map +1 -1
  245. package/esm/models/propertykey.js +12 -12
  246. package/esm/models/propertykey.js.map +1 -1
  247. package/esm/models/renewdomainop.d.ts +6 -3
  248. package/esm/models/renewdomainop.d.ts.map +1 -1
  249. package/esm/models/renewdomainop.js +10 -10
  250. package/esm/models/renewdomainop.js.map +1 -1
  251. package/esm/models/tldnotsupported.d.ts +6 -25
  252. package/esm/models/tldnotsupported.d.ts.map +1 -1
  253. package/esm/models/tldnotsupported.js +4 -30
  254. package/esm/models/tldnotsupported.js.map +1 -1
  255. package/esm/models/toomanydomains.d.ts +6 -25
  256. package/esm/models/toomanydomains.d.ts.map +1 -1
  257. package/esm/models/toomanydomains.js +4 -30
  258. package/esm/models/toomanydomains.js.map +1 -1
  259. package/esm/models/toomanyrequests.d.ts +0 -25
  260. package/esm/models/toomanyrequests.d.ts.map +1 -1
  261. package/esm/models/toomanyrequests.js +1 -30
  262. package/esm/models/toomanyrequests.js.map +1 -1
  263. package/esm/models/transferindomainop.d.ts +9 -3
  264. package/esm/models/transferindomainop.d.ts.map +1 -1
  265. package/esm/models/transferindomainop.js +8 -8
  266. package/esm/models/transferindomainop.js.map +1 -1
  267. package/esm/models/unauthorized.d.ts +0 -25
  268. package/esm/models/unauthorized.d.ts.map +1 -1
  269. package/esm/models/unauthorized.js +1 -30
  270. package/esm/models/unauthorized.js.map +1 -1
  271. package/esm/models/updatedomainautorenewop.d.ts +2 -2
  272. package/esm/models/updatedomainautorenewop.d.ts.map +1 -1
  273. package/esm/models/updatedomainautorenewop.js +6 -6
  274. package/esm/models/updatedomainautorenewop.js.map +1 -1
  275. package/esm/models/updatedomainnameserversop.d.ts +2 -2
  276. package/esm/models/updatedomainnameserversop.d.ts.map +1 -1
  277. package/esm/models/updatedomainnameserversop.js +2 -2
  278. package/esm/models/updatedomainnameserversop.js.map +1 -1
  279. package/esm/models/updateprojectop.d.ts +36 -0
  280. package/esm/models/updateprojectop.d.ts.map +1 -1
  281. package/esm/models/updateprojectop.js +27 -0
  282. package/esm/models/updateprojectop.js.map +1 -1
  283. package/esm/models/updatesharedconnectlinksop.d.ts +182 -0
  284. package/esm/models/updatesharedconnectlinksop.d.ts.map +1 -0
  285. package/esm/models/updatesharedconnectlinksop.js +179 -0
  286. package/esm/models/updatesharedconnectlinksop.js.map +1 -0
  287. package/esm/sdk/connect.d.ts +12 -0
  288. package/esm/sdk/connect.d.ts.map +1 -0
  289. package/esm/sdk/connect.js +18 -0
  290. package/esm/sdk/connect.js.map +1 -0
  291. package/esm/sdk/domains.d.ts +11 -11
  292. package/esm/sdk/domains.js +11 -11
  293. package/esm/sdk/domainsregistrar.d.ts +23 -23
  294. package/esm/sdk/domainsregistrar.js +23 -23
  295. package/esm/sdk/sdk.d.ts +3 -0
  296. package/esm/sdk/sdk.d.ts.map +1 -1
  297. package/esm/sdk/sdk.js +4 -0
  298. package/esm/sdk/sdk.js.map +1 -1
  299. package/examples/package-lock.json +1 -1
  300. package/jsr.json +1 -1
  301. package/package.json +1 -1
  302. package/src/__tests__/accessgroups.test.ts +6 -2
  303. package/src/__tests__/connect.test.ts +39 -0
  304. package/src/__tests__/domains.test.ts +11 -4
  305. package/src/__tests__/domainsregistrar.test.ts +1 -1
  306. package/src/__tests__/edgeconfig.test.ts +6 -6
  307. package/src/__tests__/integrations.test.ts +1 -1
  308. package/src/__tests__/rollingrelease.test.ts +2 -2
  309. package/src/__tests__/security.test.ts +11 -1
  310. package/src/funcs/connectUpdateSharedConnectLinks.ts +181 -0
  311. package/src/funcs/domainsBuyDomain.ts +2 -2
  312. package/src/funcs/domainsCheckDomainPrice.ts +2 -2
  313. package/src/funcs/domainsCheckDomainStatus.ts +2 -2
  314. package/src/funcs/domainsCreateOrTransferDomain.ts +2 -2
  315. package/src/funcs/domainsGetDomainTransfer.ts +2 -2
  316. package/src/funcs/domainsPatchDomain.ts +1 -1
  317. package/src/funcs/domainsRegistrarBuyDomains.ts +2 -2
  318. package/src/funcs/domainsRegistrarGetBulkAvailability.ts +1 -1
  319. package/src/funcs/domainsRegistrarGetContactInfoSchema.ts +2 -2
  320. package/src/funcs/domainsRegistrarGetDomainAuthCode.ts +1 -1
  321. package/src/funcs/domainsRegistrarGetDomainAvailability.ts +2 -2
  322. package/src/funcs/domainsRegistrarGetDomainPrice.ts +1 -1
  323. package/src/funcs/domainsRegistrarGetDomainTransferIn.ts +2 -2
  324. package/src/funcs/domainsRegistrarGetOrder.ts +2 -2
  325. package/src/funcs/domainsRegistrarGetSupportedTlds.ts +2 -2
  326. package/src/funcs/domainsRegistrarGetTldPrice.ts +2 -2
  327. package/src/funcs/domainsRegistrarTransferInDomain.ts +2 -2
  328. package/src/funcs/domainsRegistrarUpdateDomainAutoRenew.ts +2 -2
  329. package/src/funcs/domainsRegistrarUpdateDomainNameservers.ts +2 -2
  330. package/src/funcs/projectsGetProjects.ts +1 -0
  331. package/src/funcs/projectsUploadProjectClientCert.ts +2 -2
  332. package/src/lib/config.ts +3 -3
  333. package/src/mcp-server/mcp-server.ts +1 -1
  334. package/src/mcp-server/server.ts +3 -1
  335. package/src/mcp-server/tools/connectUpdateSharedConnectLinks.ts +38 -0
  336. package/src/mcp-server/tools/domainsBuyDomain.ts +2 -2
  337. package/src/mcp-server/tools/domainsCheckDomainPrice.ts +2 -2
  338. package/src/mcp-server/tools/domainsCheckDomainStatus.ts +2 -2
  339. package/src/mcp-server/tools/domainsCreateOrTransferDomain.ts +2 -2
  340. package/src/mcp-server/tools/domainsGetDomainTransfer.ts +2 -2
  341. package/src/mcp-server/tools/domainsPatchDomain.ts +1 -1
  342. package/src/mcp-server/tools/domainsRegistrarBuyDomains.ts +2 -2
  343. package/src/mcp-server/tools/domainsRegistrarGetBulkAvailability.ts +1 -1
  344. package/src/mcp-server/tools/domainsRegistrarGetContactInfoSchema.ts +2 -3
  345. package/src/mcp-server/tools/domainsRegistrarGetDomainAuthCode.ts +1 -1
  346. package/src/mcp-server/tools/domainsRegistrarGetDomainAvailability.ts +2 -2
  347. package/src/mcp-server/tools/domainsRegistrarGetDomainPrice.ts +1 -1
  348. package/src/mcp-server/tools/domainsRegistrarGetDomainTransferIn.ts +2 -2
  349. package/src/mcp-server/tools/domainsRegistrarGetOrder.ts +2 -2
  350. package/src/mcp-server/tools/domainsRegistrarGetSupportedTlds.ts +2 -2
  351. package/src/mcp-server/tools/domainsRegistrarGetTldPrice.ts +2 -2
  352. package/src/mcp-server/tools/domainsRegistrarTransferInDomain.ts +2 -2
  353. package/src/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.ts +2 -2
  354. package/src/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.ts +2 -2
  355. package/src/models/additionalcontactinforequired.ts +12 -51
  356. package/src/models/badrequest.ts +6 -49
  357. package/src/models/buydomainsop.ts +45 -33
  358. package/src/models/buysingledomainop.ts +37 -25
  359. package/src/models/createintegrationstoredirectop.ts +606 -604
  360. package/src/models/createortransferdomainop.ts +5 -3
  361. package/src/models/domainalreadyrenewing.ts +12 -51
  362. package/src/models/domainnotavailable.ts +12 -49
  363. package/src/models/domainnotfound.ts +12 -49
  364. package/src/models/domainnotregistered.ts +12 -49
  365. package/src/models/domainnotrenewable.ts +12 -49
  366. package/src/models/duplicatedomains.ts +12 -49
  367. package/src/models/expectedpricemismatch.ts +12 -51
  368. package/src/models/forbidden.ts +6 -47
  369. package/src/models/getconfigurationproductsop.ts +802 -802
  370. package/src/models/getcontactinfoschemaop.ts +6 -6
  371. package/src/models/getdomainauthcodeop.ts +6 -6
  372. package/src/models/getdomainpriceop.ts +23 -23
  373. package/src/models/getintegrationresourceop.ts +1 -0
  374. package/src/models/getintegrationresourcesop.ts +1 -0
  375. package/src/models/getorderop.ts +24 -15
  376. package/src/models/getprojectsop.ts +40 -0
  377. package/src/models/gettldpriceop.ts +24 -21
  378. package/src/models/httpapidecodeerror.ts +5 -49
  379. package/src/models/importresourceop.ts +1 -0
  380. package/src/models/internalservererror.ts +6 -49
  381. package/src/models/invalidadditionalcontactinfo.ts +12 -51
  382. package/src/models/issue.ts +0 -53
  383. package/src/models/notauthorizedforscope.ts +6 -51
  384. package/src/models/notfound.ts +6 -47
  385. package/src/models/ordertooexpensive.ts +12 -49
  386. package/src/models/patchdomainop.ts +6 -2
  387. package/src/models/propertykey.ts +13 -16
  388. package/src/models/renewdomainop.ts +24 -21
  389. package/src/models/tldnotsupported.ts +12 -49
  390. package/src/models/toomanydomains.ts +12 -49
  391. package/src/models/toomanyrequests.ts +8 -51
  392. package/src/models/transferindomainop.ts +23 -17
  393. package/src/models/unauthorized.ts +6 -49
  394. package/src/models/updatedomainautorenewop.ts +12 -12
  395. package/src/models/updatedomainnameserversop.ts +6 -6
  396. package/src/models/updateprojectop.ts +71 -0
  397. package/src/models/updatesharedconnectlinksop.ts +402 -0
  398. package/src/sdk/connect.ts +30 -0
  399. package/src/sdk/domains.ts +11 -11
  400. package/src/sdk/domainsregistrar.ts +23 -23
  401. package/src/sdk/sdk.ts +6 -0
  402. package/vercel-spec.json +497 -402
@@ -0,0 +1,181 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { VercelCore } from "../core.js";
7
+ import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js";
8
+ import * as M from "../lib/matchers.js";
9
+ import { compactMap } from "../lib/primitives.js";
10
+ import { safeParse } from "../lib/schemas.js";
11
+ import { RequestOptions } from "../lib/sdks.js";
12
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../models/httpclienterrors.js";
21
+ import { ResponseValidationError } from "../models/responsevalidationerror.js";
22
+ import { SDKValidationError } from "../models/sdkvalidationerror.js";
23
+ import {
24
+ UpdateSharedConnectLinksRequest,
25
+ UpdateSharedConnectLinksRequest$outboundSchema,
26
+ UpdateSharedConnectLinksResponseBody,
27
+ UpdateSharedConnectLinksResponseBody$inboundSchema,
28
+ } from "../models/updatesharedconnectlinksop.js";
29
+ import { VercelError } from "../models/vercelerror.js";
30
+ import { APICall, APIPromise } from "../types/async.js";
31
+ import { Result } from "../types/fp.js";
32
+
33
+ /**
34
+ * Update project connections to shared Secure Compute networks
35
+ *
36
+ * @remarks
37
+ * Allows updating project connections to shared Secure Compute networks.
38
+ */
39
+ export function connectUpdateSharedConnectLinks(
40
+ client: VercelCore,
41
+ request: UpdateSharedConnectLinksRequest,
42
+ options?: RequestOptions,
43
+ ): APIPromise<
44
+ Result<
45
+ Array<UpdateSharedConnectLinksResponseBody>,
46
+ | VercelError
47
+ | ResponseValidationError
48
+ | ConnectionError
49
+ | RequestAbortedError
50
+ | RequestTimeoutError
51
+ | InvalidRequestError
52
+ | UnexpectedClientError
53
+ | SDKValidationError
54
+ >
55
+ > {
56
+ return new APIPromise($do(
57
+ client,
58
+ request,
59
+ options,
60
+ ));
61
+ }
62
+
63
+ async function $do(
64
+ client: VercelCore,
65
+ request: UpdateSharedConnectLinksRequest,
66
+ options?: RequestOptions,
67
+ ): Promise<
68
+ [
69
+ Result<
70
+ Array<UpdateSharedConnectLinksResponseBody>,
71
+ | VercelError
72
+ | ResponseValidationError
73
+ | ConnectionError
74
+ | RequestAbortedError
75
+ | RequestTimeoutError
76
+ | InvalidRequestError
77
+ | UnexpectedClientError
78
+ | SDKValidationError
79
+ >,
80
+ APICall,
81
+ ]
82
+ > {
83
+ const parsed = safeParse(
84
+ request,
85
+ (value) => UpdateSharedConnectLinksRequest$outboundSchema.parse(value),
86
+ "Input validation failed",
87
+ );
88
+ if (!parsed.ok) {
89
+ return [parsed, { status: "invalid" }];
90
+ }
91
+ const payload = parsed.value;
92
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
93
+
94
+ const pathParams = {
95
+ idOrName: encodeSimple("idOrName", payload.idOrName, {
96
+ explode: false,
97
+ charEncoding: "percent",
98
+ }),
99
+ };
100
+
101
+ const path = pathToFunc("/v1/projects/{idOrName}/shared-connect-links")(
102
+ pathParams,
103
+ );
104
+
105
+ const query = encodeFormQuery({
106
+ "slug": payload.slug,
107
+ "teamId": payload.teamId,
108
+ });
109
+
110
+ const headers = new Headers(compactMap({
111
+ "Content-Type": "application/json",
112
+ Accept: "application/json",
113
+ }));
114
+
115
+ const secConfig = await extractSecurity(client._options.bearerToken);
116
+ const securityInput = secConfig == null ? {} : { bearerToken: secConfig };
117
+ const requestSecurity = resolveGlobalSecurity(securityInput);
118
+
119
+ const context = {
120
+ options: client._options,
121
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
122
+ operationID: "updateSharedConnectLinks",
123
+ oAuth2Scopes: null,
124
+
125
+ resolvedSecurity: requestSecurity,
126
+
127
+ securitySource: client._options.bearerToken,
128
+ retryConfig: options?.retries
129
+ || client._options.retryConfig
130
+ || { strategy: "none" },
131
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
132
+ };
133
+
134
+ const requestRes = client._createRequest(context, {
135
+ security: requestSecurity,
136
+ method: "PATCH",
137
+ baseURL: options?.serverURL,
138
+ path: path,
139
+ headers: headers,
140
+ query: query,
141
+ body: body,
142
+ userAgent: client._options.userAgent,
143
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
144
+ }, options);
145
+ if (!requestRes.ok) {
146
+ return [requestRes, { status: "invalid" }];
147
+ }
148
+ const req = requestRes.value;
149
+
150
+ const doResult = await client._do(req, {
151
+ context,
152
+ errorCodes: ["400", "401", "402", "403", "404", "4XX", "500", "5XX"],
153
+ retryConfig: context.retryConfig,
154
+ retryCodes: context.retryCodes,
155
+ });
156
+ if (!doResult.ok) {
157
+ return [doResult, { status: "request-error", request: req }];
158
+ }
159
+ const response = doResult.value;
160
+
161
+ const [result] = await M.match<
162
+ Array<UpdateSharedConnectLinksResponseBody>,
163
+ | VercelError
164
+ | ResponseValidationError
165
+ | ConnectionError
166
+ | RequestAbortedError
167
+ | RequestTimeoutError
168
+ | InvalidRequestError
169
+ | UnexpectedClientError
170
+ | SDKValidationError
171
+ >(
172
+ M.json(200, z.array(UpdateSharedConnectLinksResponseBody$inboundSchema)),
173
+ M.fail([400, 401, 402, 403, 404, "4XX"]),
174
+ M.fail([500, "5XX"]),
175
+ )(response, req);
176
+ if (!result.ok) {
177
+ return [result, { status: "complete", request: req, response }];
178
+ }
179
+
180
+ return [result, { status: "complete", request: req, response }];
181
+ }
@@ -30,10 +30,10 @@ import { APICall, APIPromise } from "../types/async.js";
30
30
  import { Result } from "../types/fp.js";
31
31
 
32
32
  /**
33
- * Purchase a domain
33
+ * Purchase a domain (deprecated)
34
34
  *
35
35
  * @remarks
36
- * Allows to purchase the specified domain.
36
+ * This endpoint is deprecated and replaced with the endpoint [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain). Purchases the specified domain.
37
37
  */
38
38
  export function domainsBuyDomain(
39
39
  client: VercelCore,
@@ -30,10 +30,10 @@ import { APICall, APIPromise } from "../types/async.js";
30
30
  import { Result } from "../types/fp.js";
31
31
 
32
32
  /**
33
- * Check the price for a domain
33
+ * Check the price for a domain (deprecated)
34
34
  *
35
35
  * @remarks
36
- * Check the price to purchase a domain and how long a single purchase period is.
36
+ * This endpoint is deprecated and replaced with the endpoint [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain). Check the price to purchase a domain and how long a single purchase period is.
37
37
  */
38
38
  export function domainsCheckDomainPrice(
39
39
  client: VercelCore,
@@ -30,10 +30,10 @@ import { APICall, APIPromise } from "../types/async.js";
30
30
  import { Result } from "../types/fp.js";
31
31
 
32
32
  /**
33
- * Check a Domain Availability
33
+ * Check a Domain Availability (deprecated)
34
34
  *
35
35
  * @remarks
36
- * Check if a domain name is available for purchase.
36
+ * This endpoint is deprecated and replaced with the endpoint [Get availability for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-availability-for-a-domain). Check if a domain name is available for purchase.
37
37
  */
38
38
  export function domainsCheckDomainStatus(
39
39
  client: VercelCore,
@@ -30,10 +30,10 @@ import { APICall, APIPromise } from "../types/async.js";
30
30
  import { Result } from "../types/fp.js";
31
31
 
32
32
  /**
33
- * Register or transfer-in a new Domain
33
+ * Add an existing domain to the Vercel platform
34
34
  *
35
35
  * @remarks
36
- * This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel.
36
+ * This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Note: This endpoint is no longer used for initiating domain transfers from external registrars to Vercel. For this, please use the endpoint [Transfer-in a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/transfer-in-a-domain).
37
37
  */
38
38
  export function domainsCreateOrTransferDomain(
39
39
  client: VercelCore,
@@ -30,10 +30,10 @@ import { APICall, APIPromise } from "../types/async.js";
30
30
  import { Result } from "../types/fp.js";
31
31
 
32
32
  /**
33
- * Get domain transfer info.
33
+ * Get domain transfer info (deprecated)
34
34
  *
35
35
  * @remarks
36
- * Fetch domain transfer availability or transfer status if a transfer is in progress.
36
+ * This endpoint is deprecated and replaced with the endpoint [Get a domain's transfer status](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-a-domain-s-transfer-status). Fetch domain transfer availability or transfer status if a transfer is in progress.
37
37
  */
38
38
  export function domainsGetDomainTransfer(
39
39
  client: VercelCore,
@@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
33
33
  * Update or move apex domain
34
34
  *
35
35
  * @remarks
36
- * Update or move apex domain.
36
+ * Update or move apex domain. Note: This endpoint is no longer used for updating auto-renew or nameservers. For this, please use the endpoints [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) and [Update nameservers for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-nameservers-for-a-domain).
37
37
  */
38
38
  export function domainsPatchDomain(
39
39
  client: VercelCore,
@@ -46,10 +46,10 @@ import { APICall, APIPromise } from "../types/async.js";
46
46
  import { Result } from "../types/fp.js";
47
47
 
48
48
  /**
49
- * Buy multiple domains at once
49
+ * Buy multiple domains
50
50
  *
51
51
  * @remarks
52
- * Buy multiple domains
52
+ * Buy multiple domains at once
53
53
  */
54
54
  export function domainsRegistrarBuyDomains(
55
55
  client: VercelCore,
@@ -53,7 +53,7 @@ import { Result } from "../types/fp.js";
53
53
  * Get availability for multiple domains
54
54
  *
55
55
  * @remarks
56
- * Get availability for multiple domains
56
+ * Get availability for multiple domains. If the domains are available, they can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint.
57
57
  */
58
58
  export function domainsRegistrarGetBulkAvailability(
59
59
  client: VercelCore,
@@ -48,10 +48,10 @@ import { APICall, APIPromise } from "../types/async.js";
48
48
  import { Result } from "../types/fp.js";
49
49
 
50
50
  /**
51
- * Get the schema for the tld-specific contact information for a domain
51
+ * Get contact info schema
52
52
  *
53
53
  * @remarks
54
- * Get contact info schema
54
+ * Some TLDs require additional contact information. Use this endpoint to get the schema for the tld-specific contact information for a domain.
55
55
  */
56
56
  export function domainsRegistrarGetContactInfoSchema(
57
57
  client: VercelCore,
@@ -53,7 +53,7 @@ import { Result } from "../types/fp.js";
53
53
  * Get the auth code for a domain
54
54
  *
55
55
  * @remarks
56
- * Get the auth code for a domain
56
+ * Get the auth code for a domain. This is required to transfer a domain from Vercel to another registrar.
57
57
  */
58
58
  export function domainsRegistrarGetDomainAuthCode(
59
59
  client: VercelCore,
@@ -51,10 +51,10 @@ import { APICall, APIPromise } from "../types/async.js";
51
51
  import { Result } from "../types/fp.js";
52
52
 
53
53
  /**
54
- * Get availability for a specific domain
54
+ * Get availability for a domain
55
55
  *
56
56
  * @remarks
57
- * Get availability for a specific domain
57
+ * Get availability for a specific domain. If the domain is available, it can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint.
58
58
  */
59
59
  export function domainsRegistrarGetDomainAvailability(
60
60
  client: VercelCore,
@@ -48,7 +48,7 @@ import { APICall, APIPromise } from "../types/async.js";
48
48
  import { Result } from "../types/fp.js";
49
49
 
50
50
  /**
51
- * Get price data for a specific domain
51
+ * Get price data for a domain
52
52
  *
53
53
  * @remarks
54
54
  * Get price data for a specific domain
@@ -49,10 +49,10 @@ import { APICall, APIPromise } from "../types/async.js";
49
49
  import { Result } from "../types/fp.js";
50
50
 
51
51
  /**
52
- * Get the transfer status for a domain
52
+ * Get a domain's transfer status
53
53
  *
54
54
  * @remarks
55
- * Get a domain's transfer status
55
+ * Get the transfer status for a domain
56
56
  */
57
57
  export function domainsRegistrarGetDomainTransferIn(
58
58
  client: VercelCore,
@@ -49,10 +49,10 @@ import { APICall, APIPromise } from "../types/async.js";
49
49
  import { Result } from "../types/fp.js";
50
50
 
51
51
  /**
52
- * Get information about a domain order by its ID
52
+ * Get a domain order
53
53
  *
54
54
  * @remarks
55
- * Get a domain order
55
+ * Get information about a domain order by its ID
56
56
  */
57
57
  export function domainsRegistrarGetOrder(
58
58
  client: VercelCore,
@@ -43,10 +43,10 @@ import { APICall, APIPromise } from "../types/async.js";
43
43
  import { Result } from "../types/fp.js";
44
44
 
45
45
  /**
46
- * Get a list of TLDs supported by Vercel
46
+ * Get supported TLDs
47
47
  *
48
48
  * @remarks
49
- * Get supported TLDs
49
+ * Get a list of TLDs supported by Vercel
50
50
  */
51
51
  export function domainsRegistrarGetSupportedTlds(
52
52
  client: VercelCore,
@@ -48,10 +48,10 @@ import { APICall, APIPromise } from "../types/async.js";
48
48
  import { Result } from "../types/fp.js";
49
49
 
50
50
  /**
51
- * Get price data for a specific TLD
51
+ * Get TLD price data
52
52
  *
53
53
  * @remarks
54
- * Get TLD price data
54
+ * Get price data for a specific TLD. This only reflects base prices for the given TLD. Premium domains may have different prices. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to get the price data for a specific domain.
55
55
  */
56
56
  export function domainsRegistrarGetTldPrice(
57
57
  client: VercelCore,
@@ -46,10 +46,10 @@ import { APICall, APIPromise } from "../types/async.js";
46
46
  import { Result } from "../types/fp.js";
47
47
 
48
48
  /**
49
- * Transfer a domain in from another registrar
49
+ * Transfer-in a domain
50
50
  *
51
51
  * @remarks
52
- * Transfer-in a domain
52
+ * Transfer a domain in from another registrar
53
53
  */
54
54
  export function domainsRegistrarTransferInDomain(
55
55
  client: VercelCore,
@@ -49,10 +49,10 @@ import { APICall, APIPromise } from "../types/async.js";
49
49
  import { Result } from "../types/fp.js";
50
50
 
51
51
  /**
52
- * Update the auto-renew setting for a domain
52
+ * Update auto-renew for a domain
53
53
  *
54
54
  * @remarks
55
- * Update auto-renew for a domain
55
+ * Update the auto-renew setting for a domain
56
56
  */
57
57
  export function domainsRegistrarUpdateDomainAutoRenew(
58
58
  client: VercelCore,
@@ -49,10 +49,10 @@ import { APICall, APIPromise } from "../types/async.js";
49
49
  import { Result } from "../types/fp.js";
50
50
 
51
51
  /**
52
- * Update the nameservers for a domain
52
+ * Update nameservers for a domain
53
53
  *
54
54
  * @remarks
55
- * Update nameservers for a domain
55
+ * Update the nameservers for a domain. Pass an empty array to use Vercel's default nameservers.
56
56
  */
57
57
  export function domainsRegistrarUpdateDomainNameservers(
58
58
  client: VercelCore,
@@ -106,6 +106,7 @@ async function $do(
106
106
  "repoUrl": payload.repoUrl,
107
107
  "search": payload.search,
108
108
  "slug": payload.slug,
109
+ "staticIpsEnabled": payload.staticIpsEnabled,
109
110
  "teamId": payload.teamId,
110
111
  });
111
112
 
@@ -146,7 +146,7 @@ async function $do(
146
146
 
147
147
  const doResult = await client._do(req, {
148
148
  context,
149
- errorCodes: ["400", "401", "402", "403", "409", "4XX", "500", "5XX"],
149
+ errorCodes: ["400", "401", "402", "403", "404", "409", "4XX", "500", "5XX"],
150
150
  retryConfig: context.retryConfig,
151
151
  retryCodes: context.retryCodes,
152
152
  });
@@ -167,7 +167,7 @@ async function $do(
167
167
  | SDKValidationError
168
168
  >(
169
169
  M.json(200, UploadProjectClientCertResponseBody$inboundSchema),
170
- M.fail([400, 401, 402, 403, 409, "4XX"]),
170
+ M.fail([400, 401, 402, 403, 404, 409, "4XX"]),
171
171
  M.fail([500, "5XX"]),
172
172
  )(response, req);
173
173
  if (!result.ok) {
package/src/lib/config.ts CHANGED
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
61
61
  export const SDK_METADATA = {
62
62
  language: "typescript",
63
63
  openapiDocVersion: "0.0.1",
64
- sdkVersion: "1.13.4",
65
- genVersion: "2.723.2",
66
- userAgent: "speakeasy-sdk/typescript 1.13.4 2.723.2 0.0.1 @vercel/sdk",
64
+ sdkVersion: "1.13.6",
65
+ genVersion: "2.723.8",
66
+ userAgent: "speakeasy-sdk/typescript 1.13.6 2.723.8 0.0.1 @vercel/sdk",
67
67
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "1.13.4",
22
+ currentVersion: "1.13.6",
23
23
  },
24
24
  });
25
25
 
@@ -49,6 +49,7 @@ import { tool$checksGetAllChecks } from "./tools/checksGetAllChecks.js";
49
49
  import { tool$checksGetCheck } from "./tools/checksGetCheck.js";
50
50
  import { tool$checksRerequestCheck } from "./tools/checksRerequestCheck.js";
51
51
  import { tool$checksUpdateCheck } from "./tools/checksUpdateCheck.js";
52
+ import { tool$connectUpdateSharedConnectLinks } from "./tools/connectUpdateSharedConnectLinks.js";
52
53
  import { tool$deploymentsCancelDeployment } from "./tools/deploymentsCancelDeployment.js";
53
54
  import { tool$deploymentsCreateDeployment } from "./tools/deploymentsCreateDeployment.js";
54
55
  import { tool$deploymentsDeleteDeployment } from "./tools/deploymentsDeleteDeployment.js";
@@ -218,7 +219,7 @@ export function createMCPServer(deps: {
218
219
  }) {
219
220
  const server = new McpServer({
220
221
  name: "Vercel",
221
- version: "1.13.4",
222
+ version: "1.13.6",
222
223
  });
223
224
 
224
225
  const client = new VercelCore({
@@ -395,6 +396,7 @@ export function createMCPServer(deps: {
395
396
  tool(tool$projectMembersGetProjectMembers);
396
397
  tool(tool$projectMembersAddProjectMember);
397
398
  tool(tool$projectMembersRemoveProjectMember);
399
+ tool(tool$connectUpdateSharedConnectLinks);
398
400
  tool(tool$environmentCreateCustomEnvironment);
399
401
  tool(tool$environmentGetV9ProjectsIdOrNameCustomEnvironments);
400
402
  tool(tool$environmentGetCustomEnvironment);
@@ -0,0 +1,38 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { connectUpdateSharedConnectLinks } from "../../funcs/connectUpdateSharedConnectLinks.js";
6
+ import { UpdateSharedConnectLinksRequest$inboundSchema } from "../../models/updatesharedconnectlinksop.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: UpdateSharedConnectLinksRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$connectUpdateSharedConnectLinks: ToolDefinition<typeof args> =
14
+ {
15
+ name: "connect-update-shared-connect-links",
16
+ description: `Update project connections to shared Secure Compute networks
17
+
18
+ Allows updating project connections to shared Secure Compute networks.`,
19
+ args,
20
+ tool: async (client, args, ctx) => {
21
+ const [result, apiCall] = await connectUpdateSharedConnectLinks(
22
+ client,
23
+ args.request,
24
+ { fetchOptions: { signal: ctx.signal } },
25
+ ).$inspect();
26
+
27
+ if (!result.ok) {
28
+ return {
29
+ content: [{ type: "text", text: result.error.message }],
30
+ isError: true,
31
+ };
32
+ }
33
+
34
+ const value = result.value;
35
+
36
+ return formatResult(value, apiCall);
37
+ },
38
+ };
@@ -12,9 +12,9 @@ const args = {
12
12
 
13
13
  export const tool$domainsBuyDomain: ToolDefinition<typeof args> = {
14
14
  name: "domains-buy-domain",
15
- description: `Purchase a domain
15
+ description: `Purchase a domain (deprecated)
16
16
 
17
- Allows to purchase the specified domain.`,
17
+ This endpoint is deprecated and replaced with the endpoint [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain). Purchases the specified domain.`,
18
18
  args,
19
19
  tool: async (client, args, ctx) => {
20
20
  const [result, apiCall] = await domainsBuyDomain(
@@ -12,9 +12,9 @@ const args = {
12
12
 
13
13
  export const tool$domainsCheckDomainPrice: ToolDefinition<typeof args> = {
14
14
  name: "domains-check-domain-price",
15
- description: `Check the price for a domain
15
+ description: `Check the price for a domain (deprecated)
16
16
 
17
- Check the price to purchase a domain and how long a single purchase period is.`,
17
+ This endpoint is deprecated and replaced with the endpoint [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain). Check the price to purchase a domain and how long a single purchase period is.`,
18
18
  args,
19
19
  tool: async (client, args, ctx) => {
20
20
  const [result, apiCall] = await domainsCheckDomainPrice(
@@ -12,9 +12,9 @@ const args = {
12
12
 
13
13
  export const tool$domainsCheckDomainStatus: ToolDefinition<typeof args> = {
14
14
  name: "domains-check-domain-status",
15
- description: `Check a Domain Availability
15
+ description: `Check a Domain Availability (deprecated)
16
16
 
17
- Check if a domain name is available for purchase.`,
17
+ This endpoint is deprecated and replaced with the endpoint [Get availability for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-availability-for-a-domain). Check if a domain name is available for purchase.`,
18
18
  args,
19
19
  tool: async (client, args, ctx) => {
20
20
  const [result, apiCall] = await domainsCheckDomainStatus(
@@ -12,9 +12,9 @@ const args = {
12
12
 
13
13
  export const tool$domainsCreateOrTransferDomain: ToolDefinition<typeof args> = {
14
14
  name: "domains-create-or-transfer-domain",
15
- description: `Register or transfer-in a new Domain
15
+ description: `Add an existing domain to the Vercel platform
16
16
 
17
- This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel.`,
17
+ This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Note: This endpoint is no longer used for initiating domain transfers from external registrars to Vercel. For this, please use the endpoint [Transfer-in a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/transfer-in-a-domain).`,
18
18
  args,
19
19
  tool: async (client, args, ctx) => {
20
20
  const [result, apiCall] = await domainsCreateOrTransferDomain(
@@ -12,9 +12,9 @@ const args = {
12
12
 
13
13
  export const tool$domainsGetDomainTransfer: ToolDefinition<typeof args> = {
14
14
  name: "domains-get-domain-transfer",
15
- description: `Get domain transfer info.
15
+ description: `Get domain transfer info (deprecated)
16
16
 
17
- Fetch domain transfer availability or transfer status if a transfer is in progress.`,
17
+ This endpoint is deprecated and replaced with the endpoint [Get a domain's transfer status](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-a-domain-s-transfer-status). Fetch domain transfer availability or transfer status if a transfer is in progress.`,
18
18
  args,
19
19
  tool: async (client, args, ctx) => {
20
20
  const [result, apiCall] = await domainsGetDomainTransfer(
@@ -14,7 +14,7 @@ export const tool$domainsPatchDomain: ToolDefinition<typeof args> = {
14
14
  name: "domains-patch-domain",
15
15
  description: `Update or move apex domain
16
16
 
17
- Update or move apex domain.`,
17
+ Update or move apex domain. Note: This endpoint is no longer used for updating auto-renew or nameservers. For this, please use the endpoints [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) and [Update nameservers for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-nameservers-for-a-domain).`,
18
18
  args,
19
19
  tool: async (client, args, ctx) => {
20
20
  const [result, apiCall] = await domainsPatchDomain(
@@ -12,9 +12,9 @@ const args = {
12
12
 
13
13
  export const tool$domainsRegistrarBuyDomains: ToolDefinition<typeof args> = {
14
14
  name: "domains-registrar-buy-domains",
15
- description: `Buy multiple domains at once
15
+ description: `Buy multiple domains
16
16
 
17
- Buy multiple domains`,
17
+ Buy multiple domains at once`,
18
18
  args,
19
19
  tool: async (client, args, ctx) => {
20
20
  const [result, apiCall] = await domainsRegistrarBuyDomains(
@@ -16,7 +16,7 @@ export const tool$domainsRegistrarGetBulkAvailability: ToolDefinition<
16
16
  name: "domains-registrar-get-bulk-availability",
17
17
  description: `Get availability for multiple domains
18
18
 
19
- Get availability for multiple domains`,
19
+ Get availability for multiple domains. If the domains are available, they can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint.`,
20
20
  args,
21
21
  tool: async (client, args, ctx) => {
22
22
  const [result, apiCall] = await domainsRegistrarGetBulkAvailability(