@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,746 @@
1
+ import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../types/enums.js";
3
+ import { Result as SafeParseResult } from "../types/fp.js";
4
+ import { SDKValidationError } from "./sdkvalidationerror.js";
5
+ export type RequestBodyEvs = {
6
+ /**
7
+ * The name of the Shared Environment Variable
8
+ */
9
+ key: string;
10
+ /**
11
+ * The value of the Shared Environment Variable
12
+ */
13
+ value: string;
14
+ /**
15
+ * A comment to add context on what this Shared Environment Variable is for
16
+ */
17
+ comment?: string | undefined;
18
+ };
19
+ /**
20
+ * The type of environment variable
21
+ */
22
+ export declare const CreateSharedEnvVariableRequestBodyEnvironmentType: {
23
+ readonly Encrypted: "encrypted";
24
+ readonly Sensitive: "sensitive";
25
+ };
26
+ /**
27
+ * The type of environment variable
28
+ */
29
+ export type CreateSharedEnvVariableRequestBodyEnvironmentType = ClosedEnum<typeof CreateSharedEnvVariableRequestBodyEnvironmentType>;
30
+ export declare const CreateSharedEnvVariableRequestBodyTarget: {
31
+ readonly Production: "production";
32
+ readonly Preview: "preview";
33
+ readonly Development: "development";
34
+ };
35
+ export type CreateSharedEnvVariableRequestBodyTarget = ClosedEnum<typeof CreateSharedEnvVariableRequestBodyTarget>;
36
+ export type CreateSharedEnvVariableRequestBody2 = {
37
+ evs: Array<RequestBodyEvs>;
38
+ /**
39
+ * The type of environment variable
40
+ */
41
+ type?: CreateSharedEnvVariableRequestBodyEnvironmentType | undefined;
42
+ /**
43
+ * The target environment of the Shared Environment Variable
44
+ */
45
+ target?: Array<CreateSharedEnvVariableRequestBodyTarget> | undefined;
46
+ /**
47
+ * Associate a Shared Environment Variable to projects.
48
+ *
49
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
50
+ */
51
+ projectId?: Array<string> | undefined;
52
+ };
53
+ export type Evs = {
54
+ /**
55
+ * The name of the Shared Environment Variable
56
+ */
57
+ key: string;
58
+ /**
59
+ * The value of the Shared Environment Variable
60
+ */
61
+ value: string;
62
+ /**
63
+ * A comment to add context on what this Shared Environment Variable is for
64
+ */
65
+ comment?: string | undefined;
66
+ };
67
+ /**
68
+ * The type of environment variable
69
+ */
70
+ export declare const CreateSharedEnvVariableRequestBodyType: {
71
+ readonly Encrypted: "encrypted";
72
+ readonly Sensitive: "sensitive";
73
+ };
74
+ /**
75
+ * The type of environment variable
76
+ */
77
+ export type CreateSharedEnvVariableRequestBodyType = ClosedEnum<typeof CreateSharedEnvVariableRequestBodyType>;
78
+ export declare const RequestBodyTarget: {
79
+ readonly Production: "production";
80
+ readonly Preview: "preview";
81
+ readonly Development: "development";
82
+ };
83
+ export type RequestBodyTarget = ClosedEnum<typeof RequestBodyTarget>;
84
+ export type CreateSharedEnvVariableRequestBody1 = {
85
+ evs: Array<Evs>;
86
+ /**
87
+ * The type of environment variable
88
+ */
89
+ type?: CreateSharedEnvVariableRequestBodyType | undefined;
90
+ /**
91
+ * The target environment of the Shared Environment Variable
92
+ */
93
+ target: Array<RequestBodyTarget>;
94
+ /**
95
+ * Associate a Shared Environment Variable to projects.
96
+ *
97
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
98
+ */
99
+ projectId?: Array<string> | undefined;
100
+ };
101
+ export type CreateSharedEnvVariableRequestBody = CreateSharedEnvVariableRequestBody1 | CreateSharedEnvVariableRequestBody2;
102
+ export type CreateSharedEnvVariableRequest = {
103
+ /**
104
+ * The Team identifier to perform the request on behalf of.
105
+ */
106
+ teamId?: string | undefined;
107
+ /**
108
+ * The Team slug to perform the request on behalf of.
109
+ */
110
+ slug?: string | undefined;
111
+ requestBody?: CreateSharedEnvVariableRequestBody1 | CreateSharedEnvVariableRequestBody2 | undefined;
112
+ };
113
+ /**
114
+ * The type of this cosmos doc instance, if blank, assume secret.
115
+ */
116
+ export declare const CreateSharedEnvVariableType: {
117
+ readonly Encrypted: "encrypted";
118
+ readonly Sensitive: "sensitive";
119
+ readonly System: "system";
120
+ readonly Plain: "plain";
121
+ };
122
+ /**
123
+ * The type of this cosmos doc instance, if blank, assume secret.
124
+ */
125
+ export type CreateSharedEnvVariableType = ClosedEnum<typeof CreateSharedEnvVariableType>;
126
+ /**
127
+ * environments this env variable targets
128
+ */
129
+ export declare const CreateSharedEnvVariableTarget: {
130
+ readonly Production: "production";
131
+ readonly Preview: "preview";
132
+ readonly Development: "development";
133
+ };
134
+ /**
135
+ * environments this env variable targets
136
+ */
137
+ export type CreateSharedEnvVariableTarget = ClosedEnum<typeof CreateSharedEnvVariableTarget>;
138
+ export type Created = {
139
+ /**
140
+ * The date when the Shared Env Var was created.
141
+ */
142
+ created?: Date | undefined;
143
+ /**
144
+ * The name of the Shared Env Var.
145
+ */
146
+ key?: string | undefined;
147
+ /**
148
+ * The unique identifier of the owner (team) the Shared Env Var was created for.
149
+ */
150
+ ownerId?: string | null | undefined;
151
+ /**
152
+ * The unique identifier of the Shared Env Var.
153
+ */
154
+ id?: string | undefined;
155
+ /**
156
+ * The unique identifier of the user who created the Shared Env Var.
157
+ */
158
+ createdBy?: string | null | undefined;
159
+ /**
160
+ * The unique identifier of the user who deleted the Shared Env Var.
161
+ */
162
+ deletedBy?: string | null | undefined;
163
+ /**
164
+ * The unique identifier of the user who last updated the Shared Env Var.
165
+ */
166
+ updatedBy?: string | null | undefined;
167
+ /**
168
+ * Timestamp for when the Shared Env Var was created.
169
+ */
170
+ createdAt?: number | undefined;
171
+ /**
172
+ * Timestamp for when the Shared Env Var was (soft) deleted.
173
+ */
174
+ deletedAt?: number | undefined;
175
+ /**
176
+ * Timestamp for when the Shared Env Var was last updated.
177
+ */
178
+ updatedAt?: number | undefined;
179
+ /**
180
+ * The value of the Shared Env Var.
181
+ */
182
+ value?: string | undefined;
183
+ /**
184
+ * The unique identifiers of the projects which the Shared Env Var is linked to.
185
+ */
186
+ projectId?: Array<string> | undefined;
187
+ /**
188
+ * The type of this cosmos doc instance, if blank, assume secret.
189
+ */
190
+ type?: CreateSharedEnvVariableType | undefined;
191
+ /**
192
+ * environments this env variable targets
193
+ */
194
+ target?: Array<CreateSharedEnvVariableTarget> | undefined;
195
+ /**
196
+ * whether or not this env varible applies to custom environments
197
+ */
198
+ applyToAllCustomEnvironments?: boolean | undefined;
199
+ /**
200
+ * whether or not this env variable is decrypted
201
+ */
202
+ decrypted?: boolean | undefined;
203
+ /**
204
+ * A user provided comment that describes what this Shared Env Var is for.
205
+ */
206
+ comment?: string | undefined;
207
+ /**
208
+ * The last editor full name or username.
209
+ */
210
+ lastEditedByDisplayName?: string | undefined;
211
+ };
212
+ export declare const Value2: {
213
+ readonly Production: "production";
214
+ readonly Preview: "preview";
215
+ readonly Development: "development";
216
+ };
217
+ export type Value2 = ClosedEnum<typeof Value2>;
218
+ export type CreateSharedEnvVariableValue = string | Array<Value2>;
219
+ export declare const CreateSharedEnvVariableTarget2: {
220
+ readonly Production: "production";
221
+ readonly Preview: "preview";
222
+ readonly Development: "development";
223
+ };
224
+ export type CreateSharedEnvVariableTarget2 = ClosedEnum<typeof CreateSharedEnvVariableTarget2>;
225
+ export declare const CreateSharedEnvVariableTarget1: {
226
+ readonly Production: "production";
227
+ readonly Preview: "preview";
228
+ readonly Development: "development";
229
+ };
230
+ export type CreateSharedEnvVariableTarget1 = ClosedEnum<typeof CreateSharedEnvVariableTarget1>;
231
+ export type CreateSharedEnvVariableEnvironmentTarget = Array<CreateSharedEnvVariableTarget1> | CreateSharedEnvVariableTarget2;
232
+ export type CreateSharedEnvVariableError = {
233
+ code: string;
234
+ message: string;
235
+ key?: string | undefined;
236
+ envVarId?: string | undefined;
237
+ envVarKey?: string | undefined;
238
+ action?: string | undefined;
239
+ link?: string | undefined;
240
+ value?: string | Array<Value2> | undefined;
241
+ gitBranch?: string | undefined;
242
+ target?: Array<CreateSharedEnvVariableTarget1> | CreateSharedEnvVariableTarget2 | undefined;
243
+ project?: string | undefined;
244
+ };
245
+ export type Failed = {
246
+ error: CreateSharedEnvVariableError;
247
+ };
248
+ export type CreateSharedEnvVariableResponseBody = {
249
+ created: Array<Created>;
250
+ failed: Array<Failed>;
251
+ };
252
+ /** @internal */
253
+ export declare const RequestBodyEvs$inboundSchema: z.ZodType<RequestBodyEvs, z.ZodTypeDef, unknown>;
254
+ /** @internal */
255
+ export type RequestBodyEvs$Outbound = {
256
+ key: string;
257
+ value: string;
258
+ comment?: string | undefined;
259
+ };
260
+ /** @internal */
261
+ export declare const RequestBodyEvs$outboundSchema: z.ZodType<RequestBodyEvs$Outbound, z.ZodTypeDef, RequestBodyEvs>;
262
+ /**
263
+ * @internal
264
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
265
+ */
266
+ export declare namespace RequestBodyEvs$ {
267
+ /** @deprecated use `RequestBodyEvs$inboundSchema` instead. */
268
+ const inboundSchema: z.ZodType<RequestBodyEvs, z.ZodTypeDef, unknown>;
269
+ /** @deprecated use `RequestBodyEvs$outboundSchema` instead. */
270
+ const outboundSchema: z.ZodType<RequestBodyEvs$Outbound, z.ZodTypeDef, RequestBodyEvs>;
271
+ /** @deprecated use `RequestBodyEvs$Outbound` instead. */
272
+ type Outbound = RequestBodyEvs$Outbound;
273
+ }
274
+ export declare function requestBodyEvsToJSON(requestBodyEvs: RequestBodyEvs): string;
275
+ export declare function requestBodyEvsFromJSON(jsonString: string): SafeParseResult<RequestBodyEvs, SDKValidationError>;
276
+ /** @internal */
277
+ export declare const CreateSharedEnvVariableRequestBodyEnvironmentType$inboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableRequestBodyEnvironmentType>;
278
+ /** @internal */
279
+ export declare const CreateSharedEnvVariableRequestBodyEnvironmentType$outboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableRequestBodyEnvironmentType>;
280
+ /**
281
+ * @internal
282
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
283
+ */
284
+ export declare namespace CreateSharedEnvVariableRequestBodyEnvironmentType$ {
285
+ /** @deprecated use `CreateSharedEnvVariableRequestBodyEnvironmentType$inboundSchema` instead. */
286
+ const inboundSchema: z.ZodNativeEnum<{
287
+ readonly Encrypted: "encrypted";
288
+ readonly Sensitive: "sensitive";
289
+ }>;
290
+ /** @deprecated use `CreateSharedEnvVariableRequestBodyEnvironmentType$outboundSchema` instead. */
291
+ const outboundSchema: z.ZodNativeEnum<{
292
+ readonly Encrypted: "encrypted";
293
+ readonly Sensitive: "sensitive";
294
+ }>;
295
+ }
296
+ /** @internal */
297
+ export declare const CreateSharedEnvVariableRequestBodyTarget$inboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableRequestBodyTarget>;
298
+ /** @internal */
299
+ export declare const CreateSharedEnvVariableRequestBodyTarget$outboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableRequestBodyTarget>;
300
+ /**
301
+ * @internal
302
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
303
+ */
304
+ export declare namespace CreateSharedEnvVariableRequestBodyTarget$ {
305
+ /** @deprecated use `CreateSharedEnvVariableRequestBodyTarget$inboundSchema` instead. */
306
+ const inboundSchema: z.ZodNativeEnum<{
307
+ readonly Production: "production";
308
+ readonly Preview: "preview";
309
+ readonly Development: "development";
310
+ }>;
311
+ /** @deprecated use `CreateSharedEnvVariableRequestBodyTarget$outboundSchema` instead. */
312
+ const outboundSchema: z.ZodNativeEnum<{
313
+ readonly Production: "production";
314
+ readonly Preview: "preview";
315
+ readonly Development: "development";
316
+ }>;
317
+ }
318
+ /** @internal */
319
+ export declare const CreateSharedEnvVariableRequestBody2$inboundSchema: z.ZodType<CreateSharedEnvVariableRequestBody2, z.ZodTypeDef, unknown>;
320
+ /** @internal */
321
+ export type CreateSharedEnvVariableRequestBody2$Outbound = {
322
+ evs: Array<RequestBodyEvs$Outbound>;
323
+ type?: string | undefined;
324
+ target?: Array<string> | undefined;
325
+ projectId?: Array<string> | undefined;
326
+ };
327
+ /** @internal */
328
+ export declare const CreateSharedEnvVariableRequestBody2$outboundSchema: z.ZodType<CreateSharedEnvVariableRequestBody2$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequestBody2>;
329
+ /**
330
+ * @internal
331
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
332
+ */
333
+ export declare namespace CreateSharedEnvVariableRequestBody2$ {
334
+ /** @deprecated use `CreateSharedEnvVariableRequestBody2$inboundSchema` instead. */
335
+ const inboundSchema: z.ZodType<CreateSharedEnvVariableRequestBody2, z.ZodTypeDef, unknown>;
336
+ /** @deprecated use `CreateSharedEnvVariableRequestBody2$outboundSchema` instead. */
337
+ const outboundSchema: z.ZodType<CreateSharedEnvVariableRequestBody2$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequestBody2>;
338
+ /** @deprecated use `CreateSharedEnvVariableRequestBody2$Outbound` instead. */
339
+ type Outbound = CreateSharedEnvVariableRequestBody2$Outbound;
340
+ }
341
+ export declare function createSharedEnvVariableRequestBody2ToJSON(createSharedEnvVariableRequestBody2: CreateSharedEnvVariableRequestBody2): string;
342
+ export declare function createSharedEnvVariableRequestBody2FromJSON(jsonString: string): SafeParseResult<CreateSharedEnvVariableRequestBody2, SDKValidationError>;
343
+ /** @internal */
344
+ export declare const Evs$inboundSchema: z.ZodType<Evs, z.ZodTypeDef, unknown>;
345
+ /** @internal */
346
+ export type Evs$Outbound = {
347
+ key: string;
348
+ value: string;
349
+ comment?: string | undefined;
350
+ };
351
+ /** @internal */
352
+ export declare const Evs$outboundSchema: z.ZodType<Evs$Outbound, z.ZodTypeDef, Evs>;
353
+ /**
354
+ * @internal
355
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
356
+ */
357
+ export declare namespace Evs$ {
358
+ /** @deprecated use `Evs$inboundSchema` instead. */
359
+ const inboundSchema: z.ZodType<Evs, z.ZodTypeDef, unknown>;
360
+ /** @deprecated use `Evs$outboundSchema` instead. */
361
+ const outboundSchema: z.ZodType<Evs$Outbound, z.ZodTypeDef, Evs>;
362
+ /** @deprecated use `Evs$Outbound` instead. */
363
+ type Outbound = Evs$Outbound;
364
+ }
365
+ export declare function evsToJSON(evs: Evs): string;
366
+ export declare function evsFromJSON(jsonString: string): SafeParseResult<Evs, SDKValidationError>;
367
+ /** @internal */
368
+ export declare const CreateSharedEnvVariableRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableRequestBodyType>;
369
+ /** @internal */
370
+ export declare const CreateSharedEnvVariableRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableRequestBodyType>;
371
+ /**
372
+ * @internal
373
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
374
+ */
375
+ export declare namespace CreateSharedEnvVariableRequestBodyType$ {
376
+ /** @deprecated use `CreateSharedEnvVariableRequestBodyType$inboundSchema` instead. */
377
+ const inboundSchema: z.ZodNativeEnum<{
378
+ readonly Encrypted: "encrypted";
379
+ readonly Sensitive: "sensitive";
380
+ }>;
381
+ /** @deprecated use `CreateSharedEnvVariableRequestBodyType$outboundSchema` instead. */
382
+ const outboundSchema: z.ZodNativeEnum<{
383
+ readonly Encrypted: "encrypted";
384
+ readonly Sensitive: "sensitive";
385
+ }>;
386
+ }
387
+ /** @internal */
388
+ export declare const RequestBodyTarget$inboundSchema: z.ZodNativeEnum<typeof RequestBodyTarget>;
389
+ /** @internal */
390
+ export declare const RequestBodyTarget$outboundSchema: z.ZodNativeEnum<typeof RequestBodyTarget>;
391
+ /**
392
+ * @internal
393
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
394
+ */
395
+ export declare namespace RequestBodyTarget$ {
396
+ /** @deprecated use `RequestBodyTarget$inboundSchema` instead. */
397
+ const inboundSchema: z.ZodNativeEnum<{
398
+ readonly Production: "production";
399
+ readonly Preview: "preview";
400
+ readonly Development: "development";
401
+ }>;
402
+ /** @deprecated use `RequestBodyTarget$outboundSchema` instead. */
403
+ const outboundSchema: z.ZodNativeEnum<{
404
+ readonly Production: "production";
405
+ readonly Preview: "preview";
406
+ readonly Development: "development";
407
+ }>;
408
+ }
409
+ /** @internal */
410
+ export declare const CreateSharedEnvVariableRequestBody1$inboundSchema: z.ZodType<CreateSharedEnvVariableRequestBody1, z.ZodTypeDef, unknown>;
411
+ /** @internal */
412
+ export type CreateSharedEnvVariableRequestBody1$Outbound = {
413
+ evs: Array<Evs$Outbound>;
414
+ type?: string | undefined;
415
+ target: Array<string>;
416
+ projectId?: Array<string> | undefined;
417
+ };
418
+ /** @internal */
419
+ export declare const CreateSharedEnvVariableRequestBody1$outboundSchema: z.ZodType<CreateSharedEnvVariableRequestBody1$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequestBody1>;
420
+ /**
421
+ * @internal
422
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
423
+ */
424
+ export declare namespace CreateSharedEnvVariableRequestBody1$ {
425
+ /** @deprecated use `CreateSharedEnvVariableRequestBody1$inboundSchema` instead. */
426
+ const inboundSchema: z.ZodType<CreateSharedEnvVariableRequestBody1, z.ZodTypeDef, unknown>;
427
+ /** @deprecated use `CreateSharedEnvVariableRequestBody1$outboundSchema` instead. */
428
+ const outboundSchema: z.ZodType<CreateSharedEnvVariableRequestBody1$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequestBody1>;
429
+ /** @deprecated use `CreateSharedEnvVariableRequestBody1$Outbound` instead. */
430
+ type Outbound = CreateSharedEnvVariableRequestBody1$Outbound;
431
+ }
432
+ export declare function createSharedEnvVariableRequestBody1ToJSON(createSharedEnvVariableRequestBody1: CreateSharedEnvVariableRequestBody1): string;
433
+ export declare function createSharedEnvVariableRequestBody1FromJSON(jsonString: string): SafeParseResult<CreateSharedEnvVariableRequestBody1, SDKValidationError>;
434
+ /** @internal */
435
+ export declare const CreateSharedEnvVariableRequestBody$inboundSchema: z.ZodType<CreateSharedEnvVariableRequestBody, z.ZodTypeDef, unknown>;
436
+ /** @internal */
437
+ export type CreateSharedEnvVariableRequestBody$Outbound = CreateSharedEnvVariableRequestBody1$Outbound | CreateSharedEnvVariableRequestBody2$Outbound;
438
+ /** @internal */
439
+ export declare const CreateSharedEnvVariableRequestBody$outboundSchema: z.ZodType<CreateSharedEnvVariableRequestBody$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequestBody>;
440
+ /**
441
+ * @internal
442
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
443
+ */
444
+ export declare namespace CreateSharedEnvVariableRequestBody$ {
445
+ /** @deprecated use `CreateSharedEnvVariableRequestBody$inboundSchema` instead. */
446
+ const inboundSchema: z.ZodType<CreateSharedEnvVariableRequestBody, z.ZodTypeDef, unknown>;
447
+ /** @deprecated use `CreateSharedEnvVariableRequestBody$outboundSchema` instead. */
448
+ const outboundSchema: z.ZodType<CreateSharedEnvVariableRequestBody$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequestBody>;
449
+ /** @deprecated use `CreateSharedEnvVariableRequestBody$Outbound` instead. */
450
+ type Outbound = CreateSharedEnvVariableRequestBody$Outbound;
451
+ }
452
+ export declare function createSharedEnvVariableRequestBodyToJSON(createSharedEnvVariableRequestBody: CreateSharedEnvVariableRequestBody): string;
453
+ export declare function createSharedEnvVariableRequestBodyFromJSON(jsonString: string): SafeParseResult<CreateSharedEnvVariableRequestBody, SDKValidationError>;
454
+ /** @internal */
455
+ export declare const CreateSharedEnvVariableRequest$inboundSchema: z.ZodType<CreateSharedEnvVariableRequest, z.ZodTypeDef, unknown>;
456
+ /** @internal */
457
+ export type CreateSharedEnvVariableRequest$Outbound = {
458
+ teamId?: string | undefined;
459
+ slug?: string | undefined;
460
+ RequestBody?: CreateSharedEnvVariableRequestBody1$Outbound | CreateSharedEnvVariableRequestBody2$Outbound | undefined;
461
+ };
462
+ /** @internal */
463
+ export declare const CreateSharedEnvVariableRequest$outboundSchema: z.ZodType<CreateSharedEnvVariableRequest$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequest>;
464
+ /**
465
+ * @internal
466
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
467
+ */
468
+ export declare namespace CreateSharedEnvVariableRequest$ {
469
+ /** @deprecated use `CreateSharedEnvVariableRequest$inboundSchema` instead. */
470
+ const inboundSchema: z.ZodType<CreateSharedEnvVariableRequest, z.ZodTypeDef, unknown>;
471
+ /** @deprecated use `CreateSharedEnvVariableRequest$outboundSchema` instead. */
472
+ const outboundSchema: z.ZodType<CreateSharedEnvVariableRequest$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequest>;
473
+ /** @deprecated use `CreateSharedEnvVariableRequest$Outbound` instead. */
474
+ type Outbound = CreateSharedEnvVariableRequest$Outbound;
475
+ }
476
+ export declare function createSharedEnvVariableRequestToJSON(createSharedEnvVariableRequest: CreateSharedEnvVariableRequest): string;
477
+ export declare function createSharedEnvVariableRequestFromJSON(jsonString: string): SafeParseResult<CreateSharedEnvVariableRequest, SDKValidationError>;
478
+ /** @internal */
479
+ export declare const CreateSharedEnvVariableType$inboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableType>;
480
+ /** @internal */
481
+ export declare const CreateSharedEnvVariableType$outboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableType>;
482
+ /**
483
+ * @internal
484
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
485
+ */
486
+ export declare namespace CreateSharedEnvVariableType$ {
487
+ /** @deprecated use `CreateSharedEnvVariableType$inboundSchema` instead. */
488
+ const inboundSchema: z.ZodNativeEnum<{
489
+ readonly Encrypted: "encrypted";
490
+ readonly Sensitive: "sensitive";
491
+ readonly System: "system";
492
+ readonly Plain: "plain";
493
+ }>;
494
+ /** @deprecated use `CreateSharedEnvVariableType$outboundSchema` instead. */
495
+ const outboundSchema: z.ZodNativeEnum<{
496
+ readonly Encrypted: "encrypted";
497
+ readonly Sensitive: "sensitive";
498
+ readonly System: "system";
499
+ readonly Plain: "plain";
500
+ }>;
501
+ }
502
+ /** @internal */
503
+ export declare const CreateSharedEnvVariableTarget$inboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableTarget>;
504
+ /** @internal */
505
+ export declare const CreateSharedEnvVariableTarget$outboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableTarget>;
506
+ /**
507
+ * @internal
508
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
509
+ */
510
+ export declare namespace CreateSharedEnvVariableTarget$ {
511
+ /** @deprecated use `CreateSharedEnvVariableTarget$inboundSchema` instead. */
512
+ const inboundSchema: z.ZodNativeEnum<{
513
+ readonly Production: "production";
514
+ readonly Preview: "preview";
515
+ readonly Development: "development";
516
+ }>;
517
+ /** @deprecated use `CreateSharedEnvVariableTarget$outboundSchema` instead. */
518
+ const outboundSchema: z.ZodNativeEnum<{
519
+ readonly Production: "production";
520
+ readonly Preview: "preview";
521
+ readonly Development: "development";
522
+ }>;
523
+ }
524
+ /** @internal */
525
+ export declare const Created$inboundSchema: z.ZodType<Created, z.ZodTypeDef, unknown>;
526
+ /** @internal */
527
+ export type Created$Outbound = {
528
+ created?: string | undefined;
529
+ key?: string | undefined;
530
+ ownerId?: string | null | undefined;
531
+ id?: string | undefined;
532
+ createdBy?: string | null | undefined;
533
+ deletedBy?: string | null | undefined;
534
+ updatedBy?: string | null | undefined;
535
+ createdAt?: number | undefined;
536
+ deletedAt?: number | undefined;
537
+ updatedAt?: number | undefined;
538
+ value?: string | undefined;
539
+ projectId?: Array<string> | undefined;
540
+ type?: string | undefined;
541
+ target?: Array<string> | undefined;
542
+ applyToAllCustomEnvironments?: boolean | undefined;
543
+ decrypted?: boolean | undefined;
544
+ comment?: string | undefined;
545
+ lastEditedByDisplayName?: string | undefined;
546
+ };
547
+ /** @internal */
548
+ export declare const Created$outboundSchema: z.ZodType<Created$Outbound, z.ZodTypeDef, Created>;
549
+ /**
550
+ * @internal
551
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
552
+ */
553
+ export declare namespace Created$ {
554
+ /** @deprecated use `Created$inboundSchema` instead. */
555
+ const inboundSchema: z.ZodType<Created, z.ZodTypeDef, unknown>;
556
+ /** @deprecated use `Created$outboundSchema` instead. */
557
+ const outboundSchema: z.ZodType<Created$Outbound, z.ZodTypeDef, Created>;
558
+ /** @deprecated use `Created$Outbound` instead. */
559
+ type Outbound = Created$Outbound;
560
+ }
561
+ export declare function createdToJSON(created: Created): string;
562
+ export declare function createdFromJSON(jsonString: string): SafeParseResult<Created, SDKValidationError>;
563
+ /** @internal */
564
+ export declare const Value2$inboundSchema: z.ZodNativeEnum<typeof Value2>;
565
+ /** @internal */
566
+ export declare const Value2$outboundSchema: z.ZodNativeEnum<typeof Value2>;
567
+ /**
568
+ * @internal
569
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
570
+ */
571
+ export declare namespace Value2$ {
572
+ /** @deprecated use `Value2$inboundSchema` instead. */
573
+ const inboundSchema: z.ZodNativeEnum<{
574
+ readonly Production: "production";
575
+ readonly Preview: "preview";
576
+ readonly Development: "development";
577
+ }>;
578
+ /** @deprecated use `Value2$outboundSchema` instead. */
579
+ const outboundSchema: z.ZodNativeEnum<{
580
+ readonly Production: "production";
581
+ readonly Preview: "preview";
582
+ readonly Development: "development";
583
+ }>;
584
+ }
585
+ /** @internal */
586
+ export declare const CreateSharedEnvVariableValue$inboundSchema: z.ZodType<CreateSharedEnvVariableValue, z.ZodTypeDef, unknown>;
587
+ /** @internal */
588
+ export type CreateSharedEnvVariableValue$Outbound = string | Array<string>;
589
+ /** @internal */
590
+ export declare const CreateSharedEnvVariableValue$outboundSchema: z.ZodType<CreateSharedEnvVariableValue$Outbound, z.ZodTypeDef, CreateSharedEnvVariableValue>;
591
+ /**
592
+ * @internal
593
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
594
+ */
595
+ export declare namespace CreateSharedEnvVariableValue$ {
596
+ /** @deprecated use `CreateSharedEnvVariableValue$inboundSchema` instead. */
597
+ const inboundSchema: z.ZodType<CreateSharedEnvVariableValue, z.ZodTypeDef, unknown>;
598
+ /** @deprecated use `CreateSharedEnvVariableValue$outboundSchema` instead. */
599
+ const outboundSchema: z.ZodType<CreateSharedEnvVariableValue$Outbound, z.ZodTypeDef, CreateSharedEnvVariableValue>;
600
+ /** @deprecated use `CreateSharedEnvVariableValue$Outbound` instead. */
601
+ type Outbound = CreateSharedEnvVariableValue$Outbound;
602
+ }
603
+ export declare function createSharedEnvVariableValueToJSON(createSharedEnvVariableValue: CreateSharedEnvVariableValue): string;
604
+ export declare function createSharedEnvVariableValueFromJSON(jsonString: string): SafeParseResult<CreateSharedEnvVariableValue, SDKValidationError>;
605
+ /** @internal */
606
+ export declare const CreateSharedEnvVariableTarget2$inboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableTarget2>;
607
+ /** @internal */
608
+ export declare const CreateSharedEnvVariableTarget2$outboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableTarget2>;
609
+ /**
610
+ * @internal
611
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
612
+ */
613
+ export declare namespace CreateSharedEnvVariableTarget2$ {
614
+ /** @deprecated use `CreateSharedEnvVariableTarget2$inboundSchema` instead. */
615
+ const inboundSchema: z.ZodNativeEnum<{
616
+ readonly Production: "production";
617
+ readonly Preview: "preview";
618
+ readonly Development: "development";
619
+ }>;
620
+ /** @deprecated use `CreateSharedEnvVariableTarget2$outboundSchema` instead. */
621
+ const outboundSchema: z.ZodNativeEnum<{
622
+ readonly Production: "production";
623
+ readonly Preview: "preview";
624
+ readonly Development: "development";
625
+ }>;
626
+ }
627
+ /** @internal */
628
+ export declare const CreateSharedEnvVariableTarget1$inboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableTarget1>;
629
+ /** @internal */
630
+ export declare const CreateSharedEnvVariableTarget1$outboundSchema: z.ZodNativeEnum<typeof CreateSharedEnvVariableTarget1>;
631
+ /**
632
+ * @internal
633
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
634
+ */
635
+ export declare namespace CreateSharedEnvVariableTarget1$ {
636
+ /** @deprecated use `CreateSharedEnvVariableTarget1$inboundSchema` instead. */
637
+ const inboundSchema: z.ZodNativeEnum<{
638
+ readonly Production: "production";
639
+ readonly Preview: "preview";
640
+ readonly Development: "development";
641
+ }>;
642
+ /** @deprecated use `CreateSharedEnvVariableTarget1$outboundSchema` instead. */
643
+ const outboundSchema: z.ZodNativeEnum<{
644
+ readonly Production: "production";
645
+ readonly Preview: "preview";
646
+ readonly Development: "development";
647
+ }>;
648
+ }
649
+ /** @internal */
650
+ export declare const CreateSharedEnvVariableEnvironmentTarget$inboundSchema: z.ZodType<CreateSharedEnvVariableEnvironmentTarget, z.ZodTypeDef, unknown>;
651
+ /** @internal */
652
+ export type CreateSharedEnvVariableEnvironmentTarget$Outbound = Array<string> | string;
653
+ /** @internal */
654
+ export declare const CreateSharedEnvVariableEnvironmentTarget$outboundSchema: z.ZodType<CreateSharedEnvVariableEnvironmentTarget$Outbound, z.ZodTypeDef, CreateSharedEnvVariableEnvironmentTarget>;
655
+ /**
656
+ * @internal
657
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
658
+ */
659
+ export declare namespace CreateSharedEnvVariableEnvironmentTarget$ {
660
+ /** @deprecated use `CreateSharedEnvVariableEnvironmentTarget$inboundSchema` instead. */
661
+ const inboundSchema: z.ZodType<CreateSharedEnvVariableEnvironmentTarget, z.ZodTypeDef, unknown>;
662
+ /** @deprecated use `CreateSharedEnvVariableEnvironmentTarget$outboundSchema` instead. */
663
+ const outboundSchema: z.ZodType<CreateSharedEnvVariableEnvironmentTarget$Outbound, z.ZodTypeDef, CreateSharedEnvVariableEnvironmentTarget>;
664
+ /** @deprecated use `CreateSharedEnvVariableEnvironmentTarget$Outbound` instead. */
665
+ type Outbound = CreateSharedEnvVariableEnvironmentTarget$Outbound;
666
+ }
667
+ export declare function createSharedEnvVariableEnvironmentTargetToJSON(createSharedEnvVariableEnvironmentTarget: CreateSharedEnvVariableEnvironmentTarget): string;
668
+ export declare function createSharedEnvVariableEnvironmentTargetFromJSON(jsonString: string): SafeParseResult<CreateSharedEnvVariableEnvironmentTarget, SDKValidationError>;
669
+ /** @internal */
670
+ export declare const CreateSharedEnvVariableError$inboundSchema: z.ZodType<CreateSharedEnvVariableError, z.ZodTypeDef, unknown>;
671
+ /** @internal */
672
+ export type CreateSharedEnvVariableError$Outbound = {
673
+ code: string;
674
+ message: string;
675
+ key?: string | undefined;
676
+ envVarId?: string | undefined;
677
+ envVarKey?: string | undefined;
678
+ action?: string | undefined;
679
+ link?: string | undefined;
680
+ value?: string | Array<string> | undefined;
681
+ gitBranch?: string | undefined;
682
+ target?: Array<string> | string | undefined;
683
+ project?: string | undefined;
684
+ };
685
+ /** @internal */
686
+ export declare const CreateSharedEnvVariableError$outboundSchema: z.ZodType<CreateSharedEnvVariableError$Outbound, z.ZodTypeDef, CreateSharedEnvVariableError>;
687
+ /**
688
+ * @internal
689
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
690
+ */
691
+ export declare namespace CreateSharedEnvVariableError$ {
692
+ /** @deprecated use `CreateSharedEnvVariableError$inboundSchema` instead. */
693
+ const inboundSchema: z.ZodType<CreateSharedEnvVariableError, z.ZodTypeDef, unknown>;
694
+ /** @deprecated use `CreateSharedEnvVariableError$outboundSchema` instead. */
695
+ const outboundSchema: z.ZodType<CreateSharedEnvVariableError$Outbound, z.ZodTypeDef, CreateSharedEnvVariableError>;
696
+ /** @deprecated use `CreateSharedEnvVariableError$Outbound` instead. */
697
+ type Outbound = CreateSharedEnvVariableError$Outbound;
698
+ }
699
+ export declare function createSharedEnvVariableErrorToJSON(createSharedEnvVariableError: CreateSharedEnvVariableError): string;
700
+ export declare function createSharedEnvVariableErrorFromJSON(jsonString: string): SafeParseResult<CreateSharedEnvVariableError, SDKValidationError>;
701
+ /** @internal */
702
+ export declare const Failed$inboundSchema: z.ZodType<Failed, z.ZodTypeDef, unknown>;
703
+ /** @internal */
704
+ export type Failed$Outbound = {
705
+ error: CreateSharedEnvVariableError$Outbound;
706
+ };
707
+ /** @internal */
708
+ export declare const Failed$outboundSchema: z.ZodType<Failed$Outbound, z.ZodTypeDef, Failed>;
709
+ /**
710
+ * @internal
711
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
712
+ */
713
+ export declare namespace Failed$ {
714
+ /** @deprecated use `Failed$inboundSchema` instead. */
715
+ const inboundSchema: z.ZodType<Failed, z.ZodTypeDef, unknown>;
716
+ /** @deprecated use `Failed$outboundSchema` instead. */
717
+ const outboundSchema: z.ZodType<Failed$Outbound, z.ZodTypeDef, Failed>;
718
+ /** @deprecated use `Failed$Outbound` instead. */
719
+ type Outbound = Failed$Outbound;
720
+ }
721
+ export declare function failedToJSON(failed: Failed): string;
722
+ export declare function failedFromJSON(jsonString: string): SafeParseResult<Failed, SDKValidationError>;
723
+ /** @internal */
724
+ export declare const CreateSharedEnvVariableResponseBody$inboundSchema: z.ZodType<CreateSharedEnvVariableResponseBody, z.ZodTypeDef, unknown>;
725
+ /** @internal */
726
+ export type CreateSharedEnvVariableResponseBody$Outbound = {
727
+ created: Array<Created$Outbound>;
728
+ failed: Array<Failed$Outbound>;
729
+ };
730
+ /** @internal */
731
+ export declare const CreateSharedEnvVariableResponseBody$outboundSchema: z.ZodType<CreateSharedEnvVariableResponseBody$Outbound, z.ZodTypeDef, CreateSharedEnvVariableResponseBody>;
732
+ /**
733
+ * @internal
734
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
735
+ */
736
+ export declare namespace CreateSharedEnvVariableResponseBody$ {
737
+ /** @deprecated use `CreateSharedEnvVariableResponseBody$inboundSchema` instead. */
738
+ const inboundSchema: z.ZodType<CreateSharedEnvVariableResponseBody, z.ZodTypeDef, unknown>;
739
+ /** @deprecated use `CreateSharedEnvVariableResponseBody$outboundSchema` instead. */
740
+ const outboundSchema: z.ZodType<CreateSharedEnvVariableResponseBody$Outbound, z.ZodTypeDef, CreateSharedEnvVariableResponseBody>;
741
+ /** @deprecated use `CreateSharedEnvVariableResponseBody$Outbound` instead. */
742
+ type Outbound = CreateSharedEnvVariableResponseBody$Outbound;
743
+ }
744
+ export declare function createSharedEnvVariableResponseBodyToJSON(createSharedEnvVariableResponseBody: CreateSharedEnvVariableResponseBody): string;
745
+ export declare function createSharedEnvVariableResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateSharedEnvVariableResponseBody, SDKValidationError>;
746
+ //# sourceMappingURL=createsharedenvvariableop.d.ts.map