@vercel/sdk 1.15.0 → 1.16.0

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 (323) hide show
  1. package/README.md +42 -25
  2. package/bin/mcp-server.js +3040 -1304
  3. package/bin/mcp-server.js.map +60 -42
  4. package/docs/sdks/connect/README.md +10 -10
  5. package/docs/sdks/environment/README.md +512 -0
  6. package/docs/sdks/staticips/README.md +95 -0
  7. package/esm/__tests__/accessgroups.test.js +1 -3
  8. package/esm/__tests__/accessgroups.test.js.map +1 -1
  9. package/esm/__tests__/checks.test.js +1 -1
  10. package/esm/__tests__/checks.test.js.map +1 -1
  11. package/esm/__tests__/connect.test.js +10 -7
  12. package/esm/__tests__/connect.test.js.map +1 -1
  13. package/esm/__tests__/domains.test.js +10 -3
  14. package/esm/__tests__/domains.test.js.map +1 -1
  15. package/esm/__tests__/edgeconfig.test.js +6 -6
  16. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  17. package/esm/__tests__/environment.test.js +164 -0
  18. package/esm/__tests__/environment.test.js.map +1 -1
  19. package/esm/__tests__/integrations.test.js +1 -1
  20. package/esm/__tests__/logdrains.test.js +1 -3
  21. package/esm/__tests__/logdrains.test.js.map +1 -1
  22. package/esm/__tests__/rollingrelease.test.js +2 -1
  23. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  24. package/esm/__tests__/security.test.js +11 -1
  25. package/esm/__tests__/security.test.js.map +1 -1
  26. package/esm/funcs/connectUpdateStaticIps.d.ts +17 -0
  27. package/esm/funcs/connectUpdateStaticIps.d.ts.map +1 -0
  28. package/esm/funcs/{connectUpdateSharedConnectLinks.js → connectUpdateStaticIps.js} +8 -8
  29. package/esm/funcs/connectUpdateStaticIps.js.map +1 -0
  30. package/esm/funcs/environmentCreateSharedEnvVariable.d.ts +17 -0
  31. package/esm/funcs/environmentCreateSharedEnvVariable.d.ts.map +1 -0
  32. package/esm/funcs/environmentCreateSharedEnvVariable.js +83 -0
  33. package/esm/funcs/environmentCreateSharedEnvVariable.js.map +1 -0
  34. package/esm/funcs/environmentDeleteSharedEnvVariable.d.ts +17 -0
  35. package/esm/funcs/environmentDeleteSharedEnvVariable.d.ts.map +1 -0
  36. package/esm/funcs/environmentDeleteSharedEnvVariable.js +83 -0
  37. package/esm/funcs/environmentDeleteSharedEnvVariable.js.map +1 -0
  38. package/esm/funcs/environmentGetSharedEnvVar.d.ts +17 -0
  39. package/esm/funcs/environmentGetSharedEnvVar.d.ts.map +1 -0
  40. package/esm/funcs/environmentGetSharedEnvVar.js +88 -0
  41. package/esm/funcs/environmentGetSharedEnvVar.js.map +1 -0
  42. package/esm/funcs/environmentListSharedEnvVariable.d.ts +17 -0
  43. package/esm/funcs/environmentListSharedEnvVariable.d.ts.map +1 -0
  44. package/esm/funcs/environmentListSharedEnvVariable.js +89 -0
  45. package/esm/funcs/environmentListSharedEnvVariable.js.map +1 -0
  46. package/esm/funcs/environmentUnlinkSharedEnvVariable.d.ts +17 -0
  47. package/esm/funcs/environmentUnlinkSharedEnvVariable.d.ts.map +1 -0
  48. package/esm/funcs/environmentUnlinkSharedEnvVariable.js +92 -0
  49. package/esm/funcs/environmentUnlinkSharedEnvVariable.js.map +1 -0
  50. package/esm/funcs/environmentUpdateSharedEnvVariable.d.ts +17 -0
  51. package/esm/funcs/environmentUpdateSharedEnvVariable.d.ts.map +1 -0
  52. package/esm/funcs/environmentUpdateSharedEnvVariable.js +83 -0
  53. package/esm/funcs/environmentUpdateSharedEnvVariable.js.map +1 -0
  54. package/esm/funcs/integrationsCreateIntegrationStoreDirect.js +13 -2
  55. package/esm/funcs/integrationsCreateIntegrationStoreDirect.js.map +1 -1
  56. package/esm/lib/config.d.ts +3 -3
  57. package/esm/lib/config.js +3 -3
  58. package/esm/mcp-server/mcp-server.js +1 -1
  59. package/esm/mcp-server/server.d.ts.map +1 -1
  60. package/esm/mcp-server/server.js +20 -8
  61. package/esm/mcp-server/server.js.map +1 -1
  62. package/esm/mcp-server/tools/connectUpdateStaticIps.d.ts +7 -0
  63. package/esm/mcp-server/tools/connectUpdateStaticIps.d.ts.map +1 -0
  64. package/esm/mcp-server/tools/connectUpdateStaticIps.js +28 -0
  65. package/esm/mcp-server/tools/connectUpdateStaticIps.js.map +1 -0
  66. package/esm/mcp-server/tools/environmentCreateSharedEnvVariable.d.ts +7 -0
  67. package/esm/mcp-server/tools/environmentCreateSharedEnvVariable.d.ts.map +1 -0
  68. package/esm/mcp-server/tools/environmentCreateSharedEnvVariable.js +28 -0
  69. package/esm/mcp-server/tools/environmentCreateSharedEnvVariable.js.map +1 -0
  70. package/esm/mcp-server/tools/environmentDeleteSharedEnvVariable.d.ts +7 -0
  71. package/esm/mcp-server/tools/environmentDeleteSharedEnvVariable.d.ts.map +1 -0
  72. package/esm/mcp-server/tools/environmentDeleteSharedEnvVariable.js +28 -0
  73. package/esm/mcp-server/tools/environmentDeleteSharedEnvVariable.js.map +1 -0
  74. package/esm/mcp-server/tools/environmentGetSharedEnvVar.d.ts +7 -0
  75. package/esm/mcp-server/tools/environmentGetSharedEnvVar.d.ts.map +1 -0
  76. package/esm/mcp-server/tools/environmentGetSharedEnvVar.js +28 -0
  77. package/esm/mcp-server/tools/environmentGetSharedEnvVar.js.map +1 -0
  78. package/esm/mcp-server/tools/environmentListSharedEnvVariable.d.ts +7 -0
  79. package/esm/mcp-server/tools/environmentListSharedEnvVariable.d.ts.map +1 -0
  80. package/esm/mcp-server/tools/environmentListSharedEnvVariable.js +28 -0
  81. package/esm/mcp-server/tools/environmentListSharedEnvVariable.js.map +1 -0
  82. package/esm/mcp-server/tools/environmentUnlinkSharedEnvVariable.d.ts +7 -0
  83. package/esm/mcp-server/tools/environmentUnlinkSharedEnvVariable.d.ts.map +1 -0
  84. package/esm/mcp-server/tools/environmentUnlinkSharedEnvVariable.js +28 -0
  85. package/esm/mcp-server/tools/environmentUnlinkSharedEnvVariable.js.map +1 -0
  86. package/esm/mcp-server/tools/environmentUpdateSharedEnvVariable.d.ts +7 -0
  87. package/esm/mcp-server/tools/environmentUpdateSharedEnvVariable.d.ts.map +1 -0
  88. package/esm/mcp-server/tools/environmentUpdateSharedEnvVariable.js +28 -0
  89. package/esm/mcp-server/tools/environmentUpdateSharedEnvVariable.js.map +1 -0
  90. package/esm/models/buydomainsop.d.ts +4 -4
  91. package/esm/models/buydomainsop.d.ts.map +1 -1
  92. package/esm/models/buysingledomainop.d.ts +4 -4
  93. package/esm/models/buysingledomainop.d.ts.map +1 -1
  94. package/esm/models/canceldeploymentop.d.ts +3 -0
  95. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  96. package/esm/models/canceldeploymentop.js +1 -0
  97. package/esm/models/canceldeploymentop.js.map +1 -1
  98. package/esm/models/createdeploymentop.d.ts +6 -0
  99. package/esm/models/createdeploymentop.d.ts.map +1 -1
  100. package/esm/models/createdeploymentop.js +2 -0
  101. package/esm/models/createdeploymentop.js.map +1 -1
  102. package/esm/models/createdrainop.d.ts +3 -0
  103. package/esm/models/createdrainop.d.ts.map +1 -1
  104. package/esm/models/createdrainop.js +1 -0
  105. package/esm/models/createdrainop.js.map +1 -1
  106. package/esm/models/createintegrationstoredirectop.d.ts +288 -285
  107. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
  108. package/esm/models/createintegrationstoredirectop.js +352 -351
  109. package/esm/models/createintegrationstoredirectop.js.map +1 -1
  110. package/esm/models/createprojectenvop.d.ts +37 -37
  111. package/esm/models/createprojectenvop.d.ts.map +1 -1
  112. package/esm/models/createprojectenvop.js +44 -44
  113. package/esm/models/createprojectenvop.js.map +1 -1
  114. package/esm/models/createprojectop.d.ts +6 -0
  115. package/esm/models/createprojectop.d.ts.map +1 -1
  116. package/esm/models/createprojectop.js +2 -0
  117. package/esm/models/createprojectop.js.map +1 -1
  118. package/esm/models/createsharedenvvariableop.d.ts +746 -0
  119. package/esm/models/createsharedenvvariableop.d.ts.map +1 -0
  120. package/esm/models/createsharedenvvariableop.js +609 -0
  121. package/esm/models/createsharedenvvariableop.js.map +1 -0
  122. package/esm/models/deletesharedenvvariableop.d.ts +291 -0
  123. package/esm/models/deletesharedenvvariableop.d.ts.map +1 -0
  124. package/esm/models/deletesharedenvvariableop.js +291 -0
  125. package/esm/models/deletesharedenvvariableop.js.map +1 -0
  126. package/esm/models/getalllogdrainsop.d.ts +6 -0
  127. package/esm/models/getalllogdrainsop.d.ts.map +1 -1
  128. package/esm/models/getalllogdrainsop.js +2 -0
  129. package/esm/models/getalllogdrainsop.js.map +1 -1
  130. package/esm/models/getconfigurablelogdrainop.d.ts +3 -0
  131. package/esm/models/getconfigurablelogdrainop.d.ts.map +1 -1
  132. package/esm/models/getconfigurablelogdrainop.js +1 -0
  133. package/esm/models/getconfigurablelogdrainop.js.map +1 -1
  134. package/esm/models/getconfigurationproductsop.d.ts +375 -375
  135. package/esm/models/getconfigurationproductsop.js +465 -465
  136. package/esm/models/getcontactinfoschemaop.d.ts +2 -2
  137. package/esm/models/getcontactinfoschemaop.d.ts.map +1 -1
  138. package/esm/models/getdeploymentop.d.ts +3 -0
  139. package/esm/models/getdeploymentop.d.ts.map +1 -1
  140. package/esm/models/getdeploymentop.js +1 -0
  141. package/esm/models/getdeploymentop.js.map +1 -1
  142. package/esm/models/getdeploymentsop.d.ts +3 -0
  143. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  144. package/esm/models/getdeploymentsop.js +1 -0
  145. package/esm/models/getdeploymentsop.js.map +1 -1
  146. package/esm/models/getdomainauthcodeop.d.ts +4 -4
  147. package/esm/models/getdomainauthcodeop.d.ts.map +1 -1
  148. package/esm/models/getdomainpriceop.d.ts +2 -2
  149. package/esm/models/getdomainpriceop.d.ts.map +1 -1
  150. package/esm/models/getdomaintransferinop.d.ts +2 -2
  151. package/esm/models/getdomaintransferinop.d.ts.map +1 -1
  152. package/esm/models/getdrainop.d.ts +3 -0
  153. package/esm/models/getdrainop.d.ts.map +1 -1
  154. package/esm/models/getdrainop.js +1 -0
  155. package/esm/models/getdrainop.js.map +1 -1
  156. package/esm/models/getdrainsop.d.ts +3 -0
  157. package/esm/models/getdrainsop.d.ts.map +1 -1
  158. package/esm/models/getdrainsop.js +1 -0
  159. package/esm/models/getdrainsop.js.map +1 -1
  160. package/esm/models/getinvoiceop.d.ts +3 -0
  161. package/esm/models/getinvoiceop.d.ts.map +1 -1
  162. package/esm/models/getinvoiceop.js +1 -0
  163. package/esm/models/getinvoiceop.js.map +1 -1
  164. package/esm/models/getorderop.d.ts +2 -2
  165. package/esm/models/getorderop.d.ts.map +1 -1
  166. package/esm/models/getprojectsop.d.ts +3 -0
  167. package/esm/models/getprojectsop.d.ts.map +1 -1
  168. package/esm/models/getprojectsop.js +1 -0
  169. package/esm/models/getprojectsop.js.map +1 -1
  170. package/esm/models/getsharedenvvarop.d.ts +227 -0
  171. package/esm/models/getsharedenvvarop.d.ts.map +1 -0
  172. package/esm/models/getsharedenvvarop.js +142 -0
  173. package/esm/models/getsharedenvvarop.js.map +1 -0
  174. package/esm/models/gettldpriceop.d.ts +2 -2
  175. package/esm/models/gettldpriceop.d.ts.map +1 -1
  176. package/esm/models/getwebhooksop.d.ts +3 -0
  177. package/esm/models/getwebhooksop.d.ts.map +1 -1
  178. package/esm/models/getwebhooksop.js +1 -0
  179. package/esm/models/getwebhooksop.js.map +1 -1
  180. package/esm/models/listsharedenvvariableop.d.ts +285 -0
  181. package/esm/models/listsharedenvvariableop.d.ts.map +1 -0
  182. package/esm/models/listsharedenvvariableop.js +198 -0
  183. package/esm/models/listsharedenvvariableop.js.map +1 -0
  184. package/esm/models/renewdomainop.d.ts +4 -4
  185. package/esm/models/renewdomainop.d.ts.map +1 -1
  186. package/esm/models/transferindomainop.d.ts +4 -4
  187. package/esm/models/transferindomainop.d.ts.map +1 -1
  188. package/esm/models/unlinksharedenvvariableop.d.ts +69 -0
  189. package/esm/models/unlinksharedenvvariableop.d.ts.map +1 -0
  190. package/esm/models/unlinksharedenvvariableop.js +62 -0
  191. package/esm/models/unlinksharedenvvariableop.js.map +1 -0
  192. package/esm/models/updatedomainautorenewop.d.ts +4 -4
  193. package/esm/models/updatedomainautorenewop.d.ts.map +1 -1
  194. package/esm/models/updatedomainnameserversop.d.ts +4 -4
  195. package/esm/models/updatedomainnameserversop.d.ts.map +1 -1
  196. package/esm/models/updatedrainop.d.ts +3 -0
  197. package/esm/models/updatedrainop.d.ts.map +1 -1
  198. package/esm/models/updatedrainop.js +1 -0
  199. package/esm/models/updatedrainop.js.map +1 -1
  200. package/esm/models/updateinstallationop.d.ts +32 -5
  201. package/esm/models/updateinstallationop.d.ts.map +1 -1
  202. package/esm/models/updateinstallationop.js +29 -4
  203. package/esm/models/updateinstallationop.js.map +1 -1
  204. package/esm/models/updateprojectdatacacheop.d.ts +3 -0
  205. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  206. package/esm/models/updateprojectdatacacheop.js +1 -0
  207. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  208. package/esm/models/updateprojectop.d.ts +6 -0
  209. package/esm/models/updateprojectop.d.ts.map +1 -1
  210. package/esm/models/updateprojectop.js +2 -0
  211. package/esm/models/updateprojectop.js.map +1 -1
  212. package/esm/models/updatesharedenvvariableop.d.ts +629 -0
  213. package/esm/models/updatesharedenvvariableop.d.ts.map +1 -0
  214. package/esm/models/updatesharedenvvariableop.js +507 -0
  215. package/esm/models/updatesharedenvvariableop.js.map +1 -0
  216. package/esm/models/updatestaticipsop.d.ts +238 -0
  217. package/esm/models/updatestaticipsop.d.ts.map +1 -0
  218. package/esm/models/updatestaticipsop.js +239 -0
  219. package/esm/models/updatestaticipsop.js.map +1 -0
  220. package/esm/sdk/connect.d.ts +4 -4
  221. package/esm/sdk/connect.d.ts.map +1 -1
  222. package/esm/sdk/connect.js +5 -5
  223. package/esm/sdk/connect.js.map +1 -1
  224. package/esm/sdk/environment.d.ts +48 -0
  225. package/esm/sdk/environment.d.ts.map +1 -1
  226. package/esm/sdk/environment.js +60 -0
  227. package/esm/sdk/environment.js.map +1 -1
  228. package/esm/sdk/sdk.d.ts +5 -2
  229. package/esm/sdk/sdk.d.ts.map +1 -1
  230. package/esm/sdk/sdk.js +6 -2
  231. package/esm/sdk/sdk.js.map +1 -1
  232. package/esm/sdk/staticips.d.ts +12 -0
  233. package/esm/sdk/staticips.d.ts.map +1 -0
  234. package/esm/sdk/staticips.js +18 -0
  235. package/esm/sdk/staticips.js.map +1 -0
  236. package/examples/package-lock.json +1 -1
  237. package/jsr.json +1 -1
  238. package/package.json +1 -1
  239. package/src/__tests__/accessgroups.test.ts +1 -3
  240. package/src/__tests__/checks.test.ts +1 -1
  241. package/src/__tests__/connect.test.ts +13 -7
  242. package/src/__tests__/domains.test.ts +10 -3
  243. package/src/__tests__/edgeconfig.test.ts +6 -6
  244. package/src/__tests__/environment.test.ts +184 -0
  245. package/src/__tests__/integrations.test.ts +1 -1
  246. package/src/__tests__/logdrains.test.ts +1 -3
  247. package/src/__tests__/rollingrelease.test.ts +2 -1
  248. package/src/__tests__/security.test.ts +11 -1
  249. package/src/funcs/{connectUpdateSharedConnectLinks.ts → connectUpdateStaticIps.ts} +16 -16
  250. package/src/funcs/environmentCreateSharedEnvVariable.ts +171 -0
  251. package/src/funcs/environmentDeleteSharedEnvVariable.ts +171 -0
  252. package/src/funcs/environmentGetSharedEnvVar.ts +177 -0
  253. package/src/funcs/environmentListSharedEnvVariable.ts +177 -0
  254. package/src/funcs/environmentUnlinkSharedEnvVariable.ts +181 -0
  255. package/src/funcs/environmentUpdateSharedEnvVariable.ts +171 -0
  256. package/src/funcs/integrationsCreateIntegrationStoreDirect.ts +13 -2
  257. package/src/lib/config.ts +3 -3
  258. package/src/mcp-server/mcp-server.ts +1 -1
  259. package/src/mcp-server/server.ts +20 -8
  260. package/src/mcp-server/tools/connectUpdateStaticIps.ts +37 -0
  261. package/src/mcp-server/tools/environmentCreateSharedEnvVariable.ts +39 -0
  262. package/src/mcp-server/tools/environmentDeleteSharedEnvVariable.ts +39 -0
  263. package/src/mcp-server/tools/environmentGetSharedEnvVar.ts +38 -0
  264. package/src/mcp-server/tools/environmentListSharedEnvVariable.ts +39 -0
  265. package/src/mcp-server/tools/environmentUnlinkSharedEnvVariable.ts +39 -0
  266. package/src/mcp-server/tools/environmentUpdateSharedEnvVariable.ts +39 -0
  267. package/src/models/buydomainsop.ts +2 -2
  268. package/src/models/buysingledomainop.ts +2 -2
  269. package/src/models/canceldeploymentop.ts +1 -0
  270. package/src/models/createdeploymentop.ts +2 -0
  271. package/src/models/createdrainop.ts +1 -0
  272. package/src/models/createintegrationstoredirectop.ts +605 -604
  273. package/src/models/createprojectenvop.ts +86 -66
  274. package/src/models/createprojectop.ts +2 -0
  275. package/src/models/createsharedenvvariableop.ts +1298 -0
  276. package/src/models/deletesharedenvvariableop.ts +608 -0
  277. package/src/models/getalllogdrainsop.ts +2 -0
  278. package/src/models/getconfigurablelogdrainop.ts +1 -0
  279. package/src/models/getconfigurationproductsop.ts +802 -802
  280. package/src/models/getcontactinfoschemaop.ts +1 -1
  281. package/src/models/getdeploymentop.ts +1 -0
  282. package/src/models/getdeploymentsop.ts +1 -0
  283. package/src/models/getdomainauthcodeop.ts +2 -2
  284. package/src/models/getdomainpriceop.ts +1 -1
  285. package/src/models/getdomaintransferinop.ts +1 -1
  286. package/src/models/getdrainop.ts +1 -0
  287. package/src/models/getdrainsop.ts +1 -0
  288. package/src/models/getinvoiceop.ts +1 -0
  289. package/src/models/getorderop.ts +1 -1
  290. package/src/models/getprojectsop.ts +1 -0
  291. package/src/models/getsharedenvvarop.ts +336 -0
  292. package/src/models/gettldpriceop.ts +1 -1
  293. package/src/models/getwebhooksop.ts +1 -0
  294. package/src/models/listsharedenvvariableop.ts +458 -0
  295. package/src/models/renewdomainop.ts +2 -2
  296. package/src/models/transferindomainop.ts +2 -2
  297. package/src/models/unlinksharedenvvariableop.ts +152 -0
  298. package/src/models/updatedomainautorenewop.ts +2 -2
  299. package/src/models/updatedomainnameserversop.ts +2 -2
  300. package/src/models/updatedrainop.ts +1 -0
  301. package/src/models/updateinstallationop.ts +67 -11
  302. package/src/models/updateprojectdatacacheop.ts +1 -0
  303. package/src/models/updateprojectop.ts +2 -0
  304. package/src/models/updatesharedenvvariableop.ts +1105 -0
  305. package/src/models/updatestaticipsop.ts +530 -0
  306. package/src/sdk/connect.ts +10 -10
  307. package/src/sdk/environment.ts +132 -0
  308. package/src/sdk/sdk.ts +9 -3
  309. package/src/sdk/staticips.ts +30 -0
  310. package/vercel-spec.json +1623 -121
  311. package/esm/funcs/connectUpdateSharedConnectLinks.d.ts +0 -17
  312. package/esm/funcs/connectUpdateSharedConnectLinks.d.ts.map +0 -1
  313. package/esm/funcs/connectUpdateSharedConnectLinks.js.map +0 -1
  314. package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.d.ts +0 -7
  315. package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.d.ts.map +0 -1
  316. package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.js +0 -28
  317. package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.js.map +0 -1
  318. package/esm/models/updatesharedconnectlinksop.d.ts +0 -182
  319. package/esm/models/updatesharedconnectlinksop.d.ts.map +0 -1
  320. package/esm/models/updatesharedconnectlinksop.js +0 -179
  321. package/esm/models/updatesharedconnectlinksop.js.map +0 -1
  322. package/src/mcp-server/tools/connectUpdateSharedConnectLinks.ts +0 -38
  323. package/src/models/updatesharedconnectlinksop.ts +0 -402
@@ -0,0 +1,458 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../lib/primitives.js";
7
+ import { safeParse } from "../lib/schemas.js";
8
+ import { ClosedEnum } from "../types/enums.js";
9
+ import { Result as SafeParseResult } from "../types/fp.js";
10
+ import {
11
+ Pagination,
12
+ Pagination$inboundSchema,
13
+ Pagination$Outbound,
14
+ Pagination$outboundSchema,
15
+ } from "./pagination.js";
16
+ import { SDKValidationError } from "./sdkvalidationerror.js";
17
+
18
+ export type ListSharedEnvVariableRequest = {
19
+ search?: string | undefined;
20
+ /**
21
+ * Filter SharedEnvVariables that belong to a project
22
+ */
23
+ projectId?: string | undefined;
24
+ /**
25
+ * Filter SharedEnvVariables based on comma separated ids
26
+ */
27
+ ids?: string | undefined;
28
+ /**
29
+ * Filter SharedEnvVariables based on comma separated ids
30
+ */
31
+ excludeIdsQueryParameter?: string | undefined;
32
+ /**
33
+ * Filter SharedEnvVariables based on comma separated ids
34
+ */
35
+ excludeIdsQueryParameter1?: string | undefined;
36
+ /**
37
+ * Filter SharedEnvVariables that belong to a project
38
+ */
39
+ excludeProjectIdQueryParameter?: string | undefined;
40
+ /**
41
+ * Filter SharedEnvVariables that belong to a project
42
+ */
43
+ excludeProjectIdQueryParameter1?: string | undefined;
44
+ /**
45
+ * The Team identifier to perform the request on behalf of.
46
+ */
47
+ teamId?: string | undefined;
48
+ /**
49
+ * The Team slug to perform the request on behalf of.
50
+ */
51
+ slug?: string | undefined;
52
+ };
53
+
54
+ /**
55
+ * The type of this cosmos doc instance, if blank, assume secret.
56
+ */
57
+ export const ListSharedEnvVariableType = {
58
+ Encrypted: "encrypted",
59
+ Sensitive: "sensitive",
60
+ System: "system",
61
+ Plain: "plain",
62
+ } as const;
63
+ /**
64
+ * The type of this cosmos doc instance, if blank, assume secret.
65
+ */
66
+ export type ListSharedEnvVariableType = ClosedEnum<
67
+ typeof ListSharedEnvVariableType
68
+ >;
69
+
70
+ /**
71
+ * environments this env variable targets
72
+ */
73
+ export const ListSharedEnvVariableTarget = {
74
+ Production: "production",
75
+ Preview: "preview",
76
+ Development: "development",
77
+ } as const;
78
+ /**
79
+ * environments this env variable targets
80
+ */
81
+ export type ListSharedEnvVariableTarget = ClosedEnum<
82
+ typeof ListSharedEnvVariableTarget
83
+ >;
84
+
85
+ export type Data = {
86
+ /**
87
+ * The date when the Shared Env Var was created.
88
+ */
89
+ created?: Date | undefined;
90
+ /**
91
+ * The name of the Shared Env Var.
92
+ */
93
+ key?: string | undefined;
94
+ /**
95
+ * The unique identifier of the owner (team) the Shared Env Var was created for.
96
+ */
97
+ ownerId?: string | null | undefined;
98
+ /**
99
+ * The unique identifier of the Shared Env Var.
100
+ */
101
+ id?: string | undefined;
102
+ /**
103
+ * The unique identifier of the user who created the Shared Env Var.
104
+ */
105
+ createdBy?: string | null | undefined;
106
+ /**
107
+ * The unique identifier of the user who deleted the Shared Env Var.
108
+ */
109
+ deletedBy?: string | null | undefined;
110
+ /**
111
+ * The unique identifier of the user who last updated the Shared Env Var.
112
+ */
113
+ updatedBy?: string | null | undefined;
114
+ /**
115
+ * Timestamp for when the Shared Env Var was created.
116
+ */
117
+ createdAt?: number | undefined;
118
+ /**
119
+ * Timestamp for when the Shared Env Var was (soft) deleted.
120
+ */
121
+ deletedAt?: number | undefined;
122
+ /**
123
+ * Timestamp for when the Shared Env Var was last updated.
124
+ */
125
+ updatedAt?: number | undefined;
126
+ /**
127
+ * The value of the Shared Env Var.
128
+ */
129
+ value?: string | undefined;
130
+ /**
131
+ * The unique identifiers of the projects which the Shared Env Var is linked to.
132
+ */
133
+ projectId?: Array<string> | undefined;
134
+ /**
135
+ * The type of this cosmos doc instance, if blank, assume secret.
136
+ */
137
+ type?: ListSharedEnvVariableType | undefined;
138
+ /**
139
+ * environments this env variable targets
140
+ */
141
+ target?: Array<ListSharedEnvVariableTarget> | undefined;
142
+ /**
143
+ * whether or not this env varible applies to custom environments
144
+ */
145
+ applyToAllCustomEnvironments?: boolean | undefined;
146
+ /**
147
+ * whether or not this env variable is decrypted
148
+ */
149
+ decrypted?: boolean | undefined;
150
+ /**
151
+ * A user provided comment that describes what this Shared Env Var is for.
152
+ */
153
+ comment?: string | undefined;
154
+ /**
155
+ * The last editor full name or username.
156
+ */
157
+ lastEditedByDisplayName?: string | undefined;
158
+ };
159
+
160
+ export type ListSharedEnvVariableResponseBody = {
161
+ data: Array<Data>;
162
+ /**
163
+ * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data.
164
+ */
165
+ pagination: Pagination;
166
+ };
167
+
168
+ /** @internal */
169
+ export const ListSharedEnvVariableRequest$inboundSchema: z.ZodType<
170
+ ListSharedEnvVariableRequest,
171
+ z.ZodTypeDef,
172
+ unknown
173
+ > = z.object({
174
+ search: z.string().optional(),
175
+ projectId: z.string().optional(),
176
+ ids: z.string().optional(),
177
+ exclude_idsQueryParameter: z.string().optional(),
178
+ "exclude-idsQueryParameter1": z.string().optional(),
179
+ exclude_projectIdQueryParameter: z.string().optional(),
180
+ "exclude-projectIdQueryParameter1": z.string().optional(),
181
+ teamId: z.string().optional(),
182
+ slug: z.string().optional(),
183
+ }).transform((v) => {
184
+ return remap$(v, {
185
+ "exclude_idsQueryParameter": "excludeIdsQueryParameter",
186
+ "exclude-idsQueryParameter1": "excludeIdsQueryParameter1",
187
+ "exclude_projectIdQueryParameter": "excludeProjectIdQueryParameter",
188
+ "exclude-projectIdQueryParameter1": "excludeProjectIdQueryParameter1",
189
+ });
190
+ });
191
+
192
+ /** @internal */
193
+ export type ListSharedEnvVariableRequest$Outbound = {
194
+ search?: string | undefined;
195
+ projectId?: string | undefined;
196
+ ids?: string | undefined;
197
+ exclude_idsQueryParameter?: string | undefined;
198
+ "exclude-idsQueryParameter1"?: string | undefined;
199
+ exclude_projectIdQueryParameter?: string | undefined;
200
+ "exclude-projectIdQueryParameter1"?: string | undefined;
201
+ teamId?: string | undefined;
202
+ slug?: string | undefined;
203
+ };
204
+
205
+ /** @internal */
206
+ export const ListSharedEnvVariableRequest$outboundSchema: z.ZodType<
207
+ ListSharedEnvVariableRequest$Outbound,
208
+ z.ZodTypeDef,
209
+ ListSharedEnvVariableRequest
210
+ > = z.object({
211
+ search: z.string().optional(),
212
+ projectId: z.string().optional(),
213
+ ids: z.string().optional(),
214
+ excludeIdsQueryParameter: z.string().optional(),
215
+ excludeIdsQueryParameter1: z.string().optional(),
216
+ excludeProjectIdQueryParameter: z.string().optional(),
217
+ excludeProjectIdQueryParameter1: z.string().optional(),
218
+ teamId: z.string().optional(),
219
+ slug: z.string().optional(),
220
+ }).transform((v) => {
221
+ return remap$(v, {
222
+ excludeIdsQueryParameter: "exclude_idsQueryParameter",
223
+ excludeIdsQueryParameter1: "exclude-idsQueryParameter1",
224
+ excludeProjectIdQueryParameter: "exclude_projectIdQueryParameter",
225
+ excludeProjectIdQueryParameter1: "exclude-projectIdQueryParameter1",
226
+ });
227
+ });
228
+
229
+ /**
230
+ * @internal
231
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
232
+ */
233
+ export namespace ListSharedEnvVariableRequest$ {
234
+ /** @deprecated use `ListSharedEnvVariableRequest$inboundSchema` instead. */
235
+ export const inboundSchema = ListSharedEnvVariableRequest$inboundSchema;
236
+ /** @deprecated use `ListSharedEnvVariableRequest$outboundSchema` instead. */
237
+ export const outboundSchema = ListSharedEnvVariableRequest$outboundSchema;
238
+ /** @deprecated use `ListSharedEnvVariableRequest$Outbound` instead. */
239
+ export type Outbound = ListSharedEnvVariableRequest$Outbound;
240
+ }
241
+
242
+ export function listSharedEnvVariableRequestToJSON(
243
+ listSharedEnvVariableRequest: ListSharedEnvVariableRequest,
244
+ ): string {
245
+ return JSON.stringify(
246
+ ListSharedEnvVariableRequest$outboundSchema.parse(
247
+ listSharedEnvVariableRequest,
248
+ ),
249
+ );
250
+ }
251
+
252
+ export function listSharedEnvVariableRequestFromJSON(
253
+ jsonString: string,
254
+ ): SafeParseResult<ListSharedEnvVariableRequest, SDKValidationError> {
255
+ return safeParse(
256
+ jsonString,
257
+ (x) => ListSharedEnvVariableRequest$inboundSchema.parse(JSON.parse(x)),
258
+ `Failed to parse 'ListSharedEnvVariableRequest' from JSON`,
259
+ );
260
+ }
261
+
262
+ /** @internal */
263
+ export const ListSharedEnvVariableType$inboundSchema: z.ZodNativeEnum<
264
+ typeof ListSharedEnvVariableType
265
+ > = z.nativeEnum(ListSharedEnvVariableType);
266
+
267
+ /** @internal */
268
+ export const ListSharedEnvVariableType$outboundSchema: z.ZodNativeEnum<
269
+ typeof ListSharedEnvVariableType
270
+ > = ListSharedEnvVariableType$inboundSchema;
271
+
272
+ /**
273
+ * @internal
274
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
275
+ */
276
+ export namespace ListSharedEnvVariableType$ {
277
+ /** @deprecated use `ListSharedEnvVariableType$inboundSchema` instead. */
278
+ export const inboundSchema = ListSharedEnvVariableType$inboundSchema;
279
+ /** @deprecated use `ListSharedEnvVariableType$outboundSchema` instead. */
280
+ export const outboundSchema = ListSharedEnvVariableType$outboundSchema;
281
+ }
282
+
283
+ /** @internal */
284
+ export const ListSharedEnvVariableTarget$inboundSchema: z.ZodNativeEnum<
285
+ typeof ListSharedEnvVariableTarget
286
+ > = z.nativeEnum(ListSharedEnvVariableTarget);
287
+
288
+ /** @internal */
289
+ export const ListSharedEnvVariableTarget$outboundSchema: z.ZodNativeEnum<
290
+ typeof ListSharedEnvVariableTarget
291
+ > = ListSharedEnvVariableTarget$inboundSchema;
292
+
293
+ /**
294
+ * @internal
295
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
296
+ */
297
+ export namespace ListSharedEnvVariableTarget$ {
298
+ /** @deprecated use `ListSharedEnvVariableTarget$inboundSchema` instead. */
299
+ export const inboundSchema = ListSharedEnvVariableTarget$inboundSchema;
300
+ /** @deprecated use `ListSharedEnvVariableTarget$outboundSchema` instead. */
301
+ export const outboundSchema = ListSharedEnvVariableTarget$outboundSchema;
302
+ }
303
+
304
+ /** @internal */
305
+ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
306
+ .object({
307
+ created: z.string().datetime({ offset: true }).transform(v => new Date(v))
308
+ .optional(),
309
+ key: z.string().optional(),
310
+ ownerId: z.nullable(z.string()).optional(),
311
+ id: z.string().optional(),
312
+ createdBy: z.nullable(z.string()).optional(),
313
+ deletedBy: z.nullable(z.string()).optional(),
314
+ updatedBy: z.nullable(z.string()).optional(),
315
+ createdAt: z.number().optional(),
316
+ deletedAt: z.number().optional(),
317
+ updatedAt: z.number().optional(),
318
+ value: z.string().optional(),
319
+ projectId: z.array(z.string()).optional(),
320
+ type: ListSharedEnvVariableType$inboundSchema.optional(),
321
+ target: z.array(ListSharedEnvVariableTarget$inboundSchema).optional(),
322
+ applyToAllCustomEnvironments: z.boolean().optional(),
323
+ decrypted: z.boolean().optional(),
324
+ comment: z.string().optional(),
325
+ lastEditedByDisplayName: z.string().optional(),
326
+ });
327
+
328
+ /** @internal */
329
+ export type Data$Outbound = {
330
+ created?: string | undefined;
331
+ key?: string | undefined;
332
+ ownerId?: string | null | undefined;
333
+ id?: string | undefined;
334
+ createdBy?: string | null | undefined;
335
+ deletedBy?: string | null | undefined;
336
+ updatedBy?: string | null | undefined;
337
+ createdAt?: number | undefined;
338
+ deletedAt?: number | undefined;
339
+ updatedAt?: number | undefined;
340
+ value?: string | undefined;
341
+ projectId?: Array<string> | undefined;
342
+ type?: string | undefined;
343
+ target?: Array<string> | undefined;
344
+ applyToAllCustomEnvironments?: boolean | undefined;
345
+ decrypted?: boolean | undefined;
346
+ comment?: string | undefined;
347
+ lastEditedByDisplayName?: string | undefined;
348
+ };
349
+
350
+ /** @internal */
351
+ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
352
+ z.object({
353
+ created: z.date().transform(v => v.toISOString()).optional(),
354
+ key: z.string().optional(),
355
+ ownerId: z.nullable(z.string()).optional(),
356
+ id: z.string().optional(),
357
+ createdBy: z.nullable(z.string()).optional(),
358
+ deletedBy: z.nullable(z.string()).optional(),
359
+ updatedBy: z.nullable(z.string()).optional(),
360
+ createdAt: z.number().optional(),
361
+ deletedAt: z.number().optional(),
362
+ updatedAt: z.number().optional(),
363
+ value: z.string().optional(),
364
+ projectId: z.array(z.string()).optional(),
365
+ type: ListSharedEnvVariableType$outboundSchema.optional(),
366
+ target: z.array(ListSharedEnvVariableTarget$outboundSchema).optional(),
367
+ applyToAllCustomEnvironments: z.boolean().optional(),
368
+ decrypted: z.boolean().optional(),
369
+ comment: z.string().optional(),
370
+ lastEditedByDisplayName: z.string().optional(),
371
+ });
372
+
373
+ /**
374
+ * @internal
375
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
376
+ */
377
+ export namespace Data$ {
378
+ /** @deprecated use `Data$inboundSchema` instead. */
379
+ export const inboundSchema = Data$inboundSchema;
380
+ /** @deprecated use `Data$outboundSchema` instead. */
381
+ export const outboundSchema = Data$outboundSchema;
382
+ /** @deprecated use `Data$Outbound` instead. */
383
+ export type Outbound = Data$Outbound;
384
+ }
385
+
386
+ export function dataToJSON(data: Data): string {
387
+ return JSON.stringify(Data$outboundSchema.parse(data));
388
+ }
389
+
390
+ export function dataFromJSON(
391
+ jsonString: string,
392
+ ): SafeParseResult<Data, SDKValidationError> {
393
+ return safeParse(
394
+ jsonString,
395
+ (x) => Data$inboundSchema.parse(JSON.parse(x)),
396
+ `Failed to parse 'Data' from JSON`,
397
+ );
398
+ }
399
+
400
+ /** @internal */
401
+ export const ListSharedEnvVariableResponseBody$inboundSchema: z.ZodType<
402
+ ListSharedEnvVariableResponseBody,
403
+ z.ZodTypeDef,
404
+ unknown
405
+ > = z.object({
406
+ data: z.array(z.lazy(() => Data$inboundSchema)),
407
+ pagination: Pagination$inboundSchema,
408
+ });
409
+
410
+ /** @internal */
411
+ export type ListSharedEnvVariableResponseBody$Outbound = {
412
+ data: Array<Data$Outbound>;
413
+ pagination: Pagination$Outbound;
414
+ };
415
+
416
+ /** @internal */
417
+ export const ListSharedEnvVariableResponseBody$outboundSchema: z.ZodType<
418
+ ListSharedEnvVariableResponseBody$Outbound,
419
+ z.ZodTypeDef,
420
+ ListSharedEnvVariableResponseBody
421
+ > = z.object({
422
+ data: z.array(z.lazy(() => Data$outboundSchema)),
423
+ pagination: Pagination$outboundSchema,
424
+ });
425
+
426
+ /**
427
+ * @internal
428
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
429
+ */
430
+ export namespace ListSharedEnvVariableResponseBody$ {
431
+ /** @deprecated use `ListSharedEnvVariableResponseBody$inboundSchema` instead. */
432
+ export const inboundSchema = ListSharedEnvVariableResponseBody$inboundSchema;
433
+ /** @deprecated use `ListSharedEnvVariableResponseBody$outboundSchema` instead. */
434
+ export const outboundSchema =
435
+ ListSharedEnvVariableResponseBody$outboundSchema;
436
+ /** @deprecated use `ListSharedEnvVariableResponseBody$Outbound` instead. */
437
+ export type Outbound = ListSharedEnvVariableResponseBody$Outbound;
438
+ }
439
+
440
+ export function listSharedEnvVariableResponseBodyToJSON(
441
+ listSharedEnvVariableResponseBody: ListSharedEnvVariableResponseBody,
442
+ ): string {
443
+ return JSON.stringify(
444
+ ListSharedEnvVariableResponseBody$outboundSchema.parse(
445
+ listSharedEnvVariableResponseBody,
446
+ ),
447
+ );
448
+ }
449
+
450
+ export function listSharedEnvVariableResponseBodyFromJSON(
451
+ jsonString: string,
452
+ ): SafeParseResult<ListSharedEnvVariableResponseBody, SDKValidationError> {
453
+ return safeParse(
454
+ jsonString,
455
+ (x) => ListSharedEnvVariableResponseBody$inboundSchema.parse(JSON.parse(x)),
456
+ `Failed to parse 'ListSharedEnvVariableResponseBody' from JSON`,
457
+ );
458
+ }
@@ -410,7 +410,7 @@ export const RenewDomainDomainsRegistrarResponseResponseBody$outboundSchema:
410
410
  z.ZodType<
411
411
  RenewDomainDomainsRegistrarResponseResponseBody$Outbound,
412
412
  z.ZodTypeDef,
413
- RenewDomainDomainsRegistrarResponseResponseBody
413
+ unknown
414
414
  > = z.union([NotAuthorizedForScope$outboundSchema, Forbidden$outboundSchema]);
415
415
 
416
416
  /**
@@ -485,7 +485,7 @@ export type RenewDomainDomainsRegistrarResponseBody$Outbound =
485
485
  export const RenewDomainDomainsRegistrarResponseBody$outboundSchema: z.ZodType<
486
486
  RenewDomainDomainsRegistrarResponseBody$Outbound,
487
487
  z.ZodTypeDef,
488
- RenewDomainDomainsRegistrarResponseBody
488
+ unknown
489
489
  > = z.union([
490
490
  BadRequest$outboundSchema,
491
491
  DomainTooShort$outboundSchema,
@@ -434,7 +434,7 @@ export const TransferInDomainDomainsRegistrarResponseResponseBody$outboundSchema
434
434
  z.ZodType<
435
435
  TransferInDomainDomainsRegistrarResponseResponseBody$Outbound,
436
436
  z.ZodTypeDef,
437
- TransferInDomainDomainsRegistrarResponseResponseBody
437
+ unknown
438
438
  > = z.union([NotAuthorizedForScope$outboundSchema, Forbidden$outboundSchema]);
439
439
 
440
440
  /**
@@ -513,7 +513,7 @@ export const TransferInDomainDomainsRegistrarResponseBody$outboundSchema:
513
513
  z.ZodType<
514
514
  TransferInDomainDomainsRegistrarResponseBody$Outbound,
515
515
  z.ZodTypeDef,
516
- TransferInDomainDomainsRegistrarResponseBody
516
+ unknown
517
517
  > = z.union([
518
518
  BadRequest$outboundSchema,
519
519
  DomainAlreadyOwned$outboundSchema,
@@ -0,0 +1,152 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../types/fp.js";
8
+ import { SDKValidationError } from "./sdkvalidationerror.js";
9
+
10
+ export type UnlinkSharedEnvVariableRequest = {
11
+ /**
12
+ * The unique ID for the Shared Environment Variable to unlink from the project.
13
+ */
14
+ id: string;
15
+ projectId: string;
16
+ /**
17
+ * The Team identifier to perform the request on behalf of.
18
+ */
19
+ teamId?: string | undefined;
20
+ /**
21
+ * The Team slug to perform the request on behalf of.
22
+ */
23
+ slug?: string | undefined;
24
+ };
25
+
26
+ export type UnlinkSharedEnvVariableResponseBody = {
27
+ id: string;
28
+ };
29
+
30
+ /** @internal */
31
+ export const UnlinkSharedEnvVariableRequest$inboundSchema: z.ZodType<
32
+ UnlinkSharedEnvVariableRequest,
33
+ z.ZodTypeDef,
34
+ unknown
35
+ > = z.object({
36
+ id: z.string(),
37
+ projectId: z.string(),
38
+ teamId: z.string().optional(),
39
+ slug: z.string().optional(),
40
+ });
41
+
42
+ /** @internal */
43
+ export type UnlinkSharedEnvVariableRequest$Outbound = {
44
+ id: string;
45
+ projectId: string;
46
+ teamId?: string | undefined;
47
+ slug?: string | undefined;
48
+ };
49
+
50
+ /** @internal */
51
+ export const UnlinkSharedEnvVariableRequest$outboundSchema: z.ZodType<
52
+ UnlinkSharedEnvVariableRequest$Outbound,
53
+ z.ZodTypeDef,
54
+ UnlinkSharedEnvVariableRequest
55
+ > = z.object({
56
+ id: z.string(),
57
+ projectId: z.string(),
58
+ teamId: z.string().optional(),
59
+ slug: z.string().optional(),
60
+ });
61
+
62
+ /**
63
+ * @internal
64
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
+ */
66
+ export namespace UnlinkSharedEnvVariableRequest$ {
67
+ /** @deprecated use `UnlinkSharedEnvVariableRequest$inboundSchema` instead. */
68
+ export const inboundSchema = UnlinkSharedEnvVariableRequest$inboundSchema;
69
+ /** @deprecated use `UnlinkSharedEnvVariableRequest$outboundSchema` instead. */
70
+ export const outboundSchema = UnlinkSharedEnvVariableRequest$outboundSchema;
71
+ /** @deprecated use `UnlinkSharedEnvVariableRequest$Outbound` instead. */
72
+ export type Outbound = UnlinkSharedEnvVariableRequest$Outbound;
73
+ }
74
+
75
+ export function unlinkSharedEnvVariableRequestToJSON(
76
+ unlinkSharedEnvVariableRequest: UnlinkSharedEnvVariableRequest,
77
+ ): string {
78
+ return JSON.stringify(
79
+ UnlinkSharedEnvVariableRequest$outboundSchema.parse(
80
+ unlinkSharedEnvVariableRequest,
81
+ ),
82
+ );
83
+ }
84
+
85
+ export function unlinkSharedEnvVariableRequestFromJSON(
86
+ jsonString: string,
87
+ ): SafeParseResult<UnlinkSharedEnvVariableRequest, SDKValidationError> {
88
+ return safeParse(
89
+ jsonString,
90
+ (x) => UnlinkSharedEnvVariableRequest$inboundSchema.parse(JSON.parse(x)),
91
+ `Failed to parse 'UnlinkSharedEnvVariableRequest' from JSON`,
92
+ );
93
+ }
94
+
95
+ /** @internal */
96
+ export const UnlinkSharedEnvVariableResponseBody$inboundSchema: z.ZodType<
97
+ UnlinkSharedEnvVariableResponseBody,
98
+ z.ZodTypeDef,
99
+ unknown
100
+ > = z.object({
101
+ id: z.string(),
102
+ });
103
+
104
+ /** @internal */
105
+ export type UnlinkSharedEnvVariableResponseBody$Outbound = {
106
+ id: string;
107
+ };
108
+
109
+ /** @internal */
110
+ export const UnlinkSharedEnvVariableResponseBody$outboundSchema: z.ZodType<
111
+ UnlinkSharedEnvVariableResponseBody$Outbound,
112
+ z.ZodTypeDef,
113
+ UnlinkSharedEnvVariableResponseBody
114
+ > = z.object({
115
+ id: z.string(),
116
+ });
117
+
118
+ /**
119
+ * @internal
120
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
121
+ */
122
+ export namespace UnlinkSharedEnvVariableResponseBody$ {
123
+ /** @deprecated use `UnlinkSharedEnvVariableResponseBody$inboundSchema` instead. */
124
+ export const inboundSchema =
125
+ UnlinkSharedEnvVariableResponseBody$inboundSchema;
126
+ /** @deprecated use `UnlinkSharedEnvVariableResponseBody$outboundSchema` instead. */
127
+ export const outboundSchema =
128
+ UnlinkSharedEnvVariableResponseBody$outboundSchema;
129
+ /** @deprecated use `UnlinkSharedEnvVariableResponseBody$Outbound` instead. */
130
+ export type Outbound = UnlinkSharedEnvVariableResponseBody$Outbound;
131
+ }
132
+
133
+ export function unlinkSharedEnvVariableResponseBodyToJSON(
134
+ unlinkSharedEnvVariableResponseBody: UnlinkSharedEnvVariableResponseBody,
135
+ ): string {
136
+ return JSON.stringify(
137
+ UnlinkSharedEnvVariableResponseBody$outboundSchema.parse(
138
+ unlinkSharedEnvVariableResponseBody,
139
+ ),
140
+ );
141
+ }
142
+
143
+ export function unlinkSharedEnvVariableResponseBodyFromJSON(
144
+ jsonString: string,
145
+ ): SafeParseResult<UnlinkSharedEnvVariableResponseBody, SDKValidationError> {
146
+ return safeParse(
147
+ jsonString,
148
+ (x) =>
149
+ UnlinkSharedEnvVariableResponseBody$inboundSchema.parse(JSON.parse(x)),
150
+ `Failed to parse 'UnlinkSharedEnvVariableResponseBody' from JSON`,
151
+ );
152
+ }
@@ -214,7 +214,7 @@ export const UpdateDomainAutoRenewDomainsRegistrarResponseBody$outboundSchema:
214
214
  z.ZodType<
215
215
  UpdateDomainAutoRenewDomainsRegistrarResponseBody$Outbound,
216
216
  z.ZodTypeDef,
217
- UpdateDomainAutoRenewDomainsRegistrarResponseBody
217
+ unknown
218
218
  > = z.union([NotAuthorizedForScope$outboundSchema, Forbidden$outboundSchema]);
219
219
 
220
220
  /**
@@ -283,7 +283,7 @@ export type UpdateDomainAutoRenewResponseBody$Outbound =
283
283
  export const UpdateDomainAutoRenewResponseBody$outboundSchema: z.ZodType<
284
284
  UpdateDomainAutoRenewResponseBody$Outbound,
285
285
  z.ZodTypeDef,
286
- UpdateDomainAutoRenewResponseBody
286
+ unknown
287
287
  > = z.union([
288
288
  DomainAlreadyRenewing$outboundSchema,
289
289
  DomainNotRenewable$outboundSchema,
@@ -202,7 +202,7 @@ export const UpdateDomainNameserversDomainsRegistrarResponseBody$outboundSchema:
202
202
  z.ZodType<
203
203
  UpdateDomainNameserversDomainsRegistrarResponseBody$Outbound,
204
204
  z.ZodTypeDef,
205
- UpdateDomainNameserversDomainsRegistrarResponseBody
205
+ unknown
206
206
  > = z.union([NotAuthorizedForScope$outboundSchema, Forbidden$outboundSchema]);
207
207
 
208
208
  /**
@@ -267,7 +267,7 @@ export type UpdateDomainNameserversResponseBody$Outbound =
267
267
  export const UpdateDomainNameserversResponseBody$outboundSchema: z.ZodType<
268
268
  UpdateDomainNameserversResponseBody$Outbound,
269
269
  z.ZodTypeDef,
270
- UpdateDomainNameserversResponseBody
270
+ unknown
271
271
  > = z.union([
272
272
  DomainNotRegistered$outboundSchema,
273
273
  HttpApiDecodeError$outboundSchema,
@@ -553,6 +553,7 @@ export const UpdateDrainResponseBodyFramework = {
553
553
  Express: "express",
554
554
  H3: "h3",
555
555
  Nestjs: "nestjs",
556
+ Fastify: "fastify",
556
557
  Xmcp: "xmcp",
557
558
  } as const;
558
559
  export type UpdateDrainResponseBodyFramework = ClosedEnum<