@distilled.cloud/fly-io 0.0.0 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. package/lib/category.d.ts +5 -0
  2. package/lib/category.d.ts.map +1 -0
  3. package/lib/category.js +5 -0
  4. package/lib/category.js.map +1 -0
  5. package/lib/client.d.ts +17 -0
  6. package/lib/client.d.ts.map +1 -0
  7. package/lib/client.js +51 -0
  8. package/lib/client.js.map +1 -0
  9. package/lib/credentials.d.ts +14 -0
  10. package/lib/credentials.d.ts.map +1 -0
  11. package/lib/credentials.js +17 -0
  12. package/lib/credentials.js.map +1 -0
  13. package/lib/errors.d.ts +31 -0
  14. package/lib/errors.d.ts.map +1 -0
  15. package/lib/errors.js +23 -0
  16. package/lib/errors.js.map +1 -0
  17. package/lib/index.d.ts +16 -0
  18. package/lib/index.d.ts.map +1 -0
  19. package/lib/index.js +16 -0
  20. package/lib/index.js.map +1 -0
  21. package/lib/operations/AppCreateDeployToken.d.ts +17 -0
  22. package/lib/operations/AppCreateDeployToken.d.ts.map +1 -0
  23. package/lib/operations/AppCreateDeployToken.js +25 -0
  24. package/lib/operations/AppCreateDeployToken.js.map +1 -0
  25. package/lib/operations/App_CertificatesAcmeCreate.d.ts +57 -0
  26. package/lib/operations/App_CertificatesAcmeCreate.d.ts.map +1 -0
  27. package/lib/operations/App_CertificatesAcmeCreate.js +69 -0
  28. package/lib/operations/App_CertificatesAcmeCreate.js.map +1 -0
  29. package/lib/operations/App_CertificatesAcmeDelete.d.ts +55 -0
  30. package/lib/operations/App_CertificatesAcmeDelete.d.ts.map +1 -0
  31. package/lib/operations/App_CertificatesAcmeDelete.js +70 -0
  32. package/lib/operations/App_CertificatesAcmeDelete.js.map +1 -0
  33. package/lib/operations/App_CertificatesCheck.d.ts +64 -0
  34. package/lib/operations/App_CertificatesCheck.d.ts.map +1 -0
  35. package/lib/operations/App_CertificatesCheck.js +79 -0
  36. package/lib/operations/App_CertificatesCheck.js.map +1 -0
  37. package/lib/operations/App_CertificatesCustomCreate.d.ts +59 -0
  38. package/lib/operations/App_CertificatesCustomCreate.d.ts.map +1 -0
  39. package/lib/operations/App_CertificatesCustomCreate.js +72 -0
  40. package/lib/operations/App_CertificatesCustomCreate.js.map +1 -0
  41. package/lib/operations/App_CertificatesCustomDelete.d.ts +56 -0
  42. package/lib/operations/App_CertificatesCustomDelete.d.ts.map +1 -0
  43. package/lib/operations/App_CertificatesCustomDelete.js +72 -0
  44. package/lib/operations/App_CertificatesCustomDelete.js.map +1 -0
  45. package/lib/operations/App_CertificatesDelete.d.ts +10 -0
  46. package/lib/operations/App_CertificatesDelete.d.ts.map +1 -0
  47. package/lib/operations/App_CertificatesDelete.js +21 -0
  48. package/lib/operations/App_CertificatesDelete.js.map +1 -0
  49. package/lib/operations/App_CertificatesList.d.ts +36 -0
  50. package/lib/operations/App_CertificatesList.d.ts.map +1 -0
  51. package/lib/operations/App_CertificatesList.js +44 -0
  52. package/lib/operations/App_CertificatesList.js.map +1 -0
  53. package/lib/operations/App_CertificatesShow.d.ts +55 -0
  54. package/lib/operations/App_CertificatesShow.d.ts.map +1 -0
  55. package/lib/operations/App_CertificatesShow.js +67 -0
  56. package/lib/operations/App_CertificatesShow.js.map +1 -0
  57. package/lib/operations/App_IPAssignmentsCreate.d.ts +22 -0
  58. package/lib/operations/App_IPAssignmentsCreate.d.ts.map +1 -0
  59. package/lib/operations/App_IPAssignmentsCreate.js +30 -0
  60. package/lib/operations/App_IPAssignmentsCreate.js.map +1 -0
  61. package/lib/operations/App_IPAssignmentsDelete.d.ts +10 -0
  62. package/lib/operations/App_IPAssignmentsDelete.d.ts.map +1 -0
  63. package/lib/operations/App_IPAssignmentsDelete.js +18 -0
  64. package/lib/operations/App_IPAssignmentsDelete.js.map +1 -0
  65. package/lib/operations/App_IPAssignmentsList.d.ts +18 -0
  66. package/lib/operations/App_IPAssignmentsList.d.ts.map +1 -0
  67. package/lib/operations/App_IPAssignmentsList.js +26 -0
  68. package/lib/operations/App_IPAssignmentsList.js.map +1 -0
  69. package/lib/operations/AppsCreate.d.ts +17 -0
  70. package/lib/operations/AppsCreate.d.ts.map +1 -0
  71. package/lib/operations/AppsCreate.js +23 -0
  72. package/lib/operations/AppsCreate.js.map +1 -0
  73. package/lib/operations/AppsDelete.d.ts +16 -0
  74. package/lib/operations/AppsDelete.d.ts.map +1 -0
  75. package/lib/operations/AppsDelete.js +22 -0
  76. package/lib/operations/AppsDelete.js.map +1 -0
  77. package/lib/operations/AppsList.d.ts +34 -0
  78. package/lib/operations/AppsList.d.ts.map +1 -0
  79. package/lib/operations/AppsList.js +40 -0
  80. package/lib/operations/AppsList.js.map +1 -0
  81. package/lib/operations/AppsShow.d.ts +29 -0
  82. package/lib/operations/AppsShow.d.ts.map +1 -0
  83. package/lib/operations/AppsShow.js +35 -0
  84. package/lib/operations/AppsShow.js.map +1 -0
  85. package/lib/operations/CurrentTokenShow.d.ts +22 -0
  86. package/lib/operations/CurrentTokenShow.d.ts.map +1 -0
  87. package/lib/operations/CurrentTokenShow.js +28 -0
  88. package/lib/operations/CurrentTokenShow.js.map +1 -0
  89. package/lib/operations/MachinesCordon.d.ts +18 -0
  90. package/lib/operations/MachinesCordon.d.ts.map +1 -0
  91. package/lib/operations/MachinesCordon.js +27 -0
  92. package/lib/operations/MachinesCordon.js.map +1 -0
  93. package/lib/operations/MachinesCreate.d.ts +840 -0
  94. package/lib/operations/MachinesCreate.d.ts.map +1 -0
  95. package/lib/operations/MachinesCreate.js +888 -0
  96. package/lib/operations/MachinesCreate.js.map +1 -0
  97. package/lib/operations/MachinesCreateLease.d.ts +27 -0
  98. package/lib/operations/MachinesCreateLease.d.ts.map +1 -0
  99. package/lib/operations/MachinesCreateLease.js +38 -0
  100. package/lib/operations/MachinesCreateLease.js.map +1 -0
  101. package/lib/operations/MachinesDelete.d.ts +20 -0
  102. package/lib/operations/MachinesDelete.d.ts.map +1 -0
  103. package/lib/operations/MachinesDelete.js +26 -0
  104. package/lib/operations/MachinesDelete.js.map +1 -0
  105. package/lib/operations/MachinesDeleteMetadata.d.ts +20 -0
  106. package/lib/operations/MachinesDeleteMetadata.d.ts.map +1 -0
  107. package/lib/operations/MachinesDeleteMetadata.js +31 -0
  108. package/lib/operations/MachinesDeleteMetadata.js.map +1 -0
  109. package/lib/operations/MachinesExec.d.ts +28 -0
  110. package/lib/operations/MachinesExec.d.ts.map +1 -0
  111. package/lib/operations/MachinesExec.js +37 -0
  112. package/lib/operations/MachinesExec.js.map +1 -0
  113. package/lib/operations/MachinesGetMemory.d.ts +21 -0
  114. package/lib/operations/MachinesGetMemory.d.ts.map +1 -0
  115. package/lib/operations/MachinesGetMemory.js +31 -0
  116. package/lib/operations/MachinesGetMemory.js.map +1 -0
  117. package/lib/operations/MachinesList.d.ts +578 -0
  118. package/lib/operations/MachinesList.d.ts.map +1 -0
  119. package/lib/operations/MachinesList.js +622 -0
  120. package/lib/operations/MachinesList.js.map +1 -0
  121. package/lib/operations/MachinesListEvents.d.ts +27 -0
  122. package/lib/operations/MachinesListEvents.d.ts.map +1 -0
  123. package/lib/operations/MachinesListEvents.js +38 -0
  124. package/lib/operations/MachinesListEvents.js.map +1 -0
  125. package/lib/operations/MachinesListProcesses.d.ts +34 -0
  126. package/lib/operations/MachinesListProcesses.d.ts.map +1 -0
  127. package/lib/operations/MachinesListProcesses.js +45 -0
  128. package/lib/operations/MachinesListProcesses.js.map +1 -0
  129. package/lib/operations/MachinesListVersions.d.ts +281 -0
  130. package/lib/operations/MachinesListVersions.d.ts.map +1 -0
  131. package/lib/operations/MachinesListVersions.js +311 -0
  132. package/lib/operations/MachinesListVersions.js.map +1 -0
  133. package/lib/operations/MachinesOrgList.d.ts +45 -0
  134. package/lib/operations/MachinesOrgList.d.ts.map +1 -0
  135. package/lib/operations/MachinesOrgList.js +51 -0
  136. package/lib/operations/MachinesOrgList.js.map +1 -0
  137. package/lib/operations/MachinesPatchMetadata.d.ts +19 -0
  138. package/lib/operations/MachinesPatchMetadata.d.ts.map +1 -0
  139. package/lib/operations/MachinesPatchMetadata.js +30 -0
  140. package/lib/operations/MachinesPatchMetadata.js.map +1 -0
  141. package/lib/operations/MachinesReclaimMemory.d.ts +21 -0
  142. package/lib/operations/MachinesReclaimMemory.d.ts.map +1 -0
  143. package/lib/operations/MachinesReclaimMemory.js +32 -0
  144. package/lib/operations/MachinesReclaimMemory.js.map +1 -0
  145. package/lib/operations/MachinesReleaseLease.d.ts +19 -0
  146. package/lib/operations/MachinesReleaseLease.d.ts.map +1 -0
  147. package/lib/operations/MachinesReleaseLease.js +30 -0
  148. package/lib/operations/MachinesReleaseLease.js.map +1 -0
  149. package/lib/operations/MachinesRestart.d.ts +22 -0
  150. package/lib/operations/MachinesRestart.d.ts.map +1 -0
  151. package/lib/operations/MachinesRestart.js +31 -0
  152. package/lib/operations/MachinesRestart.js.map +1 -0
  153. package/lib/operations/MachinesSetMemoryLimit.d.ts +22 -0
  154. package/lib/operations/MachinesSetMemoryLimit.d.ts.map +1 -0
  155. package/lib/operations/MachinesSetMemoryLimit.js +33 -0
  156. package/lib/operations/MachinesSetMemoryLimit.js.map +1 -0
  157. package/lib/operations/MachinesShow.d.ts +572 -0
  158. package/lib/operations/MachinesShow.d.ts.map +1 -0
  159. package/lib/operations/MachinesShow.js +606 -0
  160. package/lib/operations/MachinesShow.js.map +1 -0
  161. package/lib/operations/MachinesShowLease.d.ts +24 -0
  162. package/lib/operations/MachinesShowLease.d.ts.map +1 -0
  163. package/lib/operations/MachinesShowLease.js +34 -0
  164. package/lib/operations/MachinesShowLease.js.map +1 -0
  165. package/lib/operations/MachinesShowMetadata.d.ts +18 -0
  166. package/lib/operations/MachinesShowMetadata.d.ts.map +1 -0
  167. package/lib/operations/MachinesShowMetadata.js +29 -0
  168. package/lib/operations/MachinesShowMetadata.js.map +1 -0
  169. package/lib/operations/MachinesSignal.d.ts +19 -0
  170. package/lib/operations/MachinesSignal.d.ts.map +1 -0
  171. package/lib/operations/MachinesSignal.js +42 -0
  172. package/lib/operations/MachinesSignal.js.map +1 -0
  173. package/lib/operations/MachinesStart.d.ts +18 -0
  174. package/lib/operations/MachinesStart.d.ts.map +1 -0
  175. package/lib/operations/MachinesStart.js +27 -0
  176. package/lib/operations/MachinesStart.js.map +1 -0
  177. package/lib/operations/MachinesStop.d.ts +22 -0
  178. package/lib/operations/MachinesStop.d.ts.map +1 -0
  179. package/lib/operations/MachinesStop.js +31 -0
  180. package/lib/operations/MachinesStop.js.map +1 -0
  181. package/lib/operations/MachinesSuspend.d.ts +18 -0
  182. package/lib/operations/MachinesSuspend.d.ts.map +1 -0
  183. package/lib/operations/MachinesSuspend.js +27 -0
  184. package/lib/operations/MachinesSuspend.js.map +1 -0
  185. package/lib/operations/MachinesUncordon.d.ts +18 -0
  186. package/lib/operations/MachinesUncordon.d.ts.map +1 -0
  187. package/lib/operations/MachinesUncordon.js +27 -0
  188. package/lib/operations/MachinesUncordon.js.map +1 -0
  189. package/lib/operations/MachinesUpdate.d.ts +842 -0
  190. package/lib/operations/MachinesUpdate.d.ts.map +1 -0
  191. package/lib/operations/MachinesUpdate.js +890 -0
  192. package/lib/operations/MachinesUpdate.js.map +1 -0
  193. package/lib/operations/MachinesUpdateMetadata.d.ts +20 -0
  194. package/lib/operations/MachinesUpdateMetadata.d.ts.map +1 -0
  195. package/lib/operations/MachinesUpdateMetadata.js +31 -0
  196. package/lib/operations/MachinesUpdateMetadata.js.map +1 -0
  197. package/lib/operations/MachinesWait.d.ts +28 -0
  198. package/lib/operations/MachinesWait.d.ts.map +1 -0
  199. package/lib/operations/MachinesWait.js +43 -0
  200. package/lib/operations/MachinesWait.js.map +1 -0
  201. package/lib/operations/PlatformPlacementsPost.d.ts +35 -0
  202. package/lib/operations/PlatformPlacementsPost.d.ts.map +1 -0
  203. package/lib/operations/PlatformPlacementsPost.js +43 -0
  204. package/lib/operations/PlatformPlacementsPost.js.map +1 -0
  205. package/lib/operations/PlatformRegionsGet.d.ts +39 -0
  206. package/lib/operations/PlatformRegionsGet.d.ts.map +1 -0
  207. package/lib/operations/PlatformRegionsGet.js +47 -0
  208. package/lib/operations/PlatformRegionsGet.js.map +1 -0
  209. package/lib/operations/SecretCreate.d.ts +25 -0
  210. package/lib/operations/SecretCreate.d.ts.map +1 -0
  211. package/lib/operations/SecretCreate.js +31 -0
  212. package/lib/operations/SecretCreate.js.map +1 -0
  213. package/lib/operations/SecretDelete.d.ts +19 -0
  214. package/lib/operations/SecretDelete.d.ts.map +1 -0
  215. package/lib/operations/SecretDelete.js +25 -0
  216. package/lib/operations/SecretDelete.js.map +1 -0
  217. package/lib/operations/SecretGet.d.ts +26 -0
  218. package/lib/operations/SecretGet.d.ts.map +1 -0
  219. package/lib/operations/SecretGet.js +32 -0
  220. package/lib/operations/SecretGet.js.map +1 -0
  221. package/lib/operations/SecretkeyDecrypt.d.ts +22 -0
  222. package/lib/operations/SecretkeyDecrypt.d.ts.map +1 -0
  223. package/lib/operations/SecretkeyDecrypt.js +31 -0
  224. package/lib/operations/SecretkeyDecrypt.js.map +1 -0
  225. package/lib/operations/SecretkeyDelete.d.ts +19 -0
  226. package/lib/operations/SecretkeyDelete.d.ts.map +1 -0
  227. package/lib/operations/SecretkeyDelete.js +28 -0
  228. package/lib/operations/SecretkeyDelete.js.map +1 -0
  229. package/lib/operations/SecretkeyEncrypt.d.ts +22 -0
  230. package/lib/operations/SecretkeyEncrypt.d.ts.map +1 -0
  231. package/lib/operations/SecretkeyEncrypt.js +31 -0
  232. package/lib/operations/SecretkeyEncrypt.js.map +1 -0
  233. package/lib/operations/SecretkeyGenerate.d.ts +26 -0
  234. package/lib/operations/SecretkeyGenerate.d.ts.map +1 -0
  235. package/lib/operations/SecretkeyGenerate.js +36 -0
  236. package/lib/operations/SecretkeyGenerate.js.map +1 -0
  237. package/lib/operations/SecretkeyGet.d.ts +24 -0
  238. package/lib/operations/SecretkeyGet.d.ts.map +1 -0
  239. package/lib/operations/SecretkeyGet.js +30 -0
  240. package/lib/operations/SecretkeyGet.js.map +1 -0
  241. package/lib/operations/SecretkeySet.d.ts +26 -0
  242. package/lib/operations/SecretkeySet.d.ts.map +1 -0
  243. package/lib/operations/SecretkeySet.js +32 -0
  244. package/lib/operations/SecretkeySet.js.map +1 -0
  245. package/lib/operations/SecretkeySign.d.ts +21 -0
  246. package/lib/operations/SecretkeySign.d.ts.map +1 -0
  247. package/lib/operations/SecretkeySign.js +30 -0
  248. package/lib/operations/SecretkeySign.js.map +1 -0
  249. package/lib/operations/SecretkeyVerify.d.ts +20 -0
  250. package/lib/operations/SecretkeyVerify.d.ts.map +1 -0
  251. package/lib/operations/SecretkeyVerify.js +29 -0
  252. package/lib/operations/SecretkeyVerify.js.map +1 -0
  253. package/lib/operations/SecretkeysList.d.ts +26 -0
  254. package/lib/operations/SecretkeysList.d.ts.map +1 -0
  255. package/lib/operations/SecretkeysList.js +32 -0
  256. package/lib/operations/SecretkeysList.js.map +1 -0
  257. package/lib/operations/SecretsList.d.ts +26 -0
  258. package/lib/operations/SecretsList.d.ts.map +1 -0
  259. package/lib/operations/SecretsList.js +32 -0
  260. package/lib/operations/SecretsList.js.map +1 -0
  261. package/lib/operations/SecretsUpdate.d.ts +25 -0
  262. package/lib/operations/SecretsUpdate.d.ts.map +1 -0
  263. package/lib/operations/SecretsUpdate.js +31 -0
  264. package/lib/operations/SecretsUpdate.js.map +1 -0
  265. package/lib/operations/TokensRequest_Kms.d.ts +12 -0
  266. package/lib/operations/TokensRequest_Kms.d.ts.map +1 -0
  267. package/lib/operations/TokensRequest_Kms.js +19 -0
  268. package/lib/operations/TokensRequest_Kms.js.map +1 -0
  269. package/lib/operations/TokensRequest_OIDC.d.ts +15 -0
  270. package/lib/operations/TokensRequest_OIDC.d.ts.map +1 -0
  271. package/lib/operations/TokensRequest_OIDC.js +23 -0
  272. package/lib/operations/TokensRequest_OIDC.js.map +1 -0
  273. package/lib/operations/VolumeDelete.d.ts +39 -0
  274. package/lib/operations/VolumeDelete.d.ts.map +1 -0
  275. package/lib/operations/VolumeDelete.js +45 -0
  276. package/lib/operations/VolumeDelete.js.map +1 -0
  277. package/lib/operations/VolumesCreate.d.ts +59 -0
  278. package/lib/operations/VolumesCreate.d.ts.map +1 -0
  279. package/lib/operations/VolumesCreate.js +65 -0
  280. package/lib/operations/VolumesCreate.js.map +1 -0
  281. package/lib/operations/VolumesExtend.d.ts +43 -0
  282. package/lib/operations/VolumesExtend.d.ts.map +1 -0
  283. package/lib/operations/VolumesExtend.js +52 -0
  284. package/lib/operations/VolumesExtend.js.map +1 -0
  285. package/lib/operations/VolumesGetById.d.ts +39 -0
  286. package/lib/operations/VolumesGetById.d.ts.map +1 -0
  287. package/lib/operations/VolumesGetById.js +45 -0
  288. package/lib/operations/VolumesGetById.js.map +1 -0
  289. package/lib/operations/VolumesList.d.ts +39 -0
  290. package/lib/operations/VolumesList.d.ts.map +1 -0
  291. package/lib/operations/VolumesList.js +45 -0
  292. package/lib/operations/VolumesList.js.map +1 -0
  293. package/lib/operations/VolumesListSnapshots.d.ts +26 -0
  294. package/lib/operations/VolumesListSnapshots.d.ts.map +1 -0
  295. package/lib/operations/VolumesListSnapshots.js +37 -0
  296. package/lib/operations/VolumesListSnapshots.js.map +1 -0
  297. package/lib/operations/VolumesUpdate.d.ts +41 -0
  298. package/lib/operations/VolumesUpdate.d.ts.map +1 -0
  299. package/lib/operations/VolumesUpdate.js +47 -0
  300. package/lib/operations/VolumesUpdate.js.map +1 -0
  301. package/lib/operations/createVolumeSnapshot.d.ts +18 -0
  302. package/lib/operations/createVolumeSnapshot.d.ts.map +1 -0
  303. package/lib/operations/createVolumeSnapshot.js +29 -0
  304. package/lib/operations/createVolumeSnapshot.js.map +1 -0
  305. package/lib/operations/index.d.ts +72 -0
  306. package/lib/operations/index.d.ts.map +1 -0
  307. package/lib/operations/index.js +72 -0
  308. package/lib/operations/index.js.map +1 -0
  309. package/lib/retry.d.ts +22 -0
  310. package/lib/retry.d.ts.map +1 -0
  311. package/lib/retry.js +21 -0
  312. package/lib/retry.js.map +1 -0
  313. package/lib/sensitive.d.ts +5 -0
  314. package/lib/sensitive.d.ts.map +1 -0
  315. package/lib/sensitive.js +5 -0
  316. package/lib/sensitive.js.map +1 -0
  317. package/lib/traits.d.ts +5 -0
  318. package/lib/traits.d.ts.map +1 -0
  319. package/lib/traits.js +5 -0
  320. package/lib/traits.js.map +1 -0
  321. package/package.json +81 -9
  322. package/src/category.ts +4 -0
  323. package/src/client.ts +62 -0
  324. package/src/credentials.ts +30 -0
  325. package/src/errors.ts +47 -0
  326. package/src/index.ts +15 -0
  327. package/src/operations/AppCreateDeployToken.ts +31 -0
  328. package/src/operations/App_CertificatesAcmeCreate.ts +101 -0
  329. package/src/operations/App_CertificatesAcmeDelete.ts +102 -0
  330. package/src/operations/App_CertificatesCheck.ts +112 -0
  331. package/src/operations/App_CertificatesCustomCreate.ts +102 -0
  332. package/src/operations/App_CertificatesCustomDelete.ts +102 -0
  333. package/src/operations/App_CertificatesDelete.ts +31 -0
  334. package/src/operations/App_CertificatesList.ts +54 -0
  335. package/src/operations/App_CertificatesShow.ts +97 -0
  336. package/src/operations/App_IPAssignmentsCreate.ts +38 -0
  337. package/src/operations/App_IPAssignmentsDelete.ts +28 -0
  338. package/src/operations/App_IPAssignmentsList.ts +39 -0
  339. package/src/operations/AppsCreate.ts +27 -0
  340. package/src/operations/AppsDelete.ts +26 -0
  341. package/src/operations/AppsList.ts +50 -0
  342. package/src/operations/AppsShow.ts +41 -0
  343. package/src/operations/CurrentTokenShow.ts +40 -0
  344. package/src/operations/MachinesCordon.ts +33 -0
  345. package/src/operations/MachinesCreate.ts +1393 -0
  346. package/src/operations/MachinesCreateLease.ts +44 -0
  347. package/src/operations/MachinesDelete.ts +32 -0
  348. package/src/operations/MachinesDeleteMetadata.ts +41 -0
  349. package/src/operations/MachinesExec.ts +43 -0
  350. package/src/operations/MachinesGetMemory.ts +39 -0
  351. package/src/operations/MachinesList.ts +966 -0
  352. package/src/operations/MachinesListEvents.ts +46 -0
  353. package/src/operations/MachinesListProcesses.ts +60 -0
  354. package/src/operations/MachinesListVersions.ts +494 -0
  355. package/src/operations/MachinesOrgList.ts +59 -0
  356. package/src/operations/MachinesPatchMetadata.ts +39 -0
  357. package/src/operations/MachinesReclaimMemory.ts +41 -0
  358. package/src/operations/MachinesReleaseLease.ts +38 -0
  359. package/src/operations/MachinesRestart.ts +37 -0
  360. package/src/operations/MachinesSetMemoryLimit.ts +43 -0
  361. package/src/operations/MachinesShow.ts +950 -0
  362. package/src/operations/MachinesShowLease.ts +42 -0
  363. package/src/operations/MachinesShowMetadata.ts +37 -0
  364. package/src/operations/MachinesSignal.ts +50 -0
  365. package/src/operations/MachinesStart.ts +33 -0
  366. package/src/operations/MachinesStop.ts +39 -0
  367. package/src/operations/MachinesSuspend.ts +33 -0
  368. package/src/operations/MachinesUncordon.ts +33 -0
  369. package/src/operations/MachinesUpdate.ts +1397 -0
  370. package/src/operations/MachinesUpdateMetadata.ts +41 -0
  371. package/src/operations/MachinesWait.ts +51 -0
  372. package/src/operations/PlatformPlacementsPost.ts +59 -0
  373. package/src/operations/PlatformRegionsGet.ts +55 -0
  374. package/src/operations/SecretCreate.ts +37 -0
  375. package/src/operations/SecretDelete.ts +31 -0
  376. package/src/operations/SecretGet.ts +38 -0
  377. package/src/operations/SecretkeyDecrypt.ts +39 -0
  378. package/src/operations/SecretkeyDelete.ts +34 -0
  379. package/src/operations/SecretkeyEncrypt.ts +39 -0
  380. package/src/operations/SecretkeyGenerate.ts +44 -0
  381. package/src/operations/SecretkeyGet.ts +36 -0
  382. package/src/operations/SecretkeySet.ts +38 -0
  383. package/src/operations/SecretkeySign.ts +36 -0
  384. package/src/operations/SecretkeyVerify.ts +35 -0
  385. package/src/operations/SecretkeysList.ts +40 -0
  386. package/src/operations/SecretsList.ts +40 -0
  387. package/src/operations/SecretsUpdate.ts +39 -0
  388. package/src/operations/TokensRequest_Kms.ts +25 -0
  389. package/src/operations/TokensRequest_OIDC.ts +27 -0
  390. package/src/operations/VolumeDelete.ts +53 -0
  391. package/src/operations/VolumesCreate.ts +75 -0
  392. package/src/operations/VolumesExtend.ts +62 -0
  393. package/src/operations/VolumesGetById.ts +53 -0
  394. package/src/operations/VolumesList.ts +53 -0
  395. package/src/operations/VolumesListSnapshots.ts +47 -0
  396. package/src/operations/VolumesUpdate.ts +55 -0
  397. package/src/operations/createVolumeSnapshot.ts +37 -0
  398. package/src/operations/index.ts +71 -0
  399. package/src/retry.ts +35 -0
  400. package/src/sensitive.ts +4 -0
  401. package/src/traits.ts +4 -0
  402. package/index.js +0 -2
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Re-export the shared category system from sdk-core.
3
+ */
4
+ export * from "@distilled.cloud/core/category";
5
+ //# sourceMappingURL=category.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../src/category.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,gCAAgC,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Re-export the shared category system from sdk-core.
3
+ */
4
+ export * from "@distilled.cloud/core/category";
5
+ //# sourceMappingURL=category.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"category.js","sourceRoot":"","sources":["../src/category.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,gCAAgC,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Fly-io API Client.
3
+ *
4
+ * Wraps the shared REST client from sdk-core with Fly-io-specific
5
+ * error matching and credential handling.
6
+ */
7
+ import * as Effect from "effect/Effect";
8
+ import * as Schema from "effect/Schema";
9
+ export { UnknownFlyIoError } from "./errors.ts";
10
+ /**
11
+ * Fly-io API client.
12
+ */
13
+ export declare const API: {
14
+ make: <I extends Schema.Top, O extends Schema.Top, const E extends readonly import("@distilled.cloud/core/client").ApiErrorClass[] = readonly []>(configFn: () => import("@distilled.cloud/core/client").OperationConfig<I, O, E>) => any;
15
+ makePaginated: <I extends Schema.Top, O extends Schema.Top, const E extends readonly import("@distilled.cloud/core/client").ApiErrorClass[] = readonly []>(configFn: () => import("@distilled.cloud/core/client").PaginatedOperationConfig<I, O, E>, paginateFn?: ((baseFn: (input: any) => Effect.Effect<any, any, any>, input: any, pagination: import("@distilled.cloud/core/pagination").PaginatedTrait) => import("effect/Stream").Stream<any, any, any>) | undefined) => any;
16
+ };
17
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AASxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAkChD;;GAEG;AACH,eAAO,MAAM,GAAG;;;CAQd,CAAC"}
package/lib/client.js ADDED
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Fly-io API Client.
3
+ *
4
+ * Wraps the shared REST client from sdk-core with Fly-io-specific
5
+ * error matching and credential handling.
6
+ */
7
+ import * as Effect from "effect/Effect";
8
+ import * as Schema from "effect/Schema";
9
+ import { makeAPI } from "@distilled.cloud/core/client";
10
+ import { HTTP_STATUS_MAP, UnknownFlyIoError, FlyIoParseError, } from "./errors.js";
11
+ // Re-export for backwards compatibility
12
+ export { UnknownFlyIoError } from "./errors.js";
13
+ import { Credentials } from "./credentials.js";
14
+ // API Error Response Schema
15
+ const ApiErrorResponse = Schema.Struct({
16
+ code: Schema.optional(Schema.String),
17
+ message: Schema.String,
18
+ });
19
+ /**
20
+ * Match a Fly-io API error response to the appropriate error class based on HTTP status.
21
+ */
22
+ const matchError = (status, errorBody) => {
23
+ try {
24
+ const parsed = Schema.decodeUnknownSync(ApiErrorResponse)(errorBody);
25
+ const ErrorClass = HTTP_STATUS_MAP[status];
26
+ if (ErrorClass) {
27
+ return Effect.fail(new ErrorClass({ message: parsed.message ?? "" }));
28
+ }
29
+ return Effect.fail(new UnknownFlyIoError({
30
+ code: parsed.code,
31
+ message: parsed.message,
32
+ body: errorBody,
33
+ }));
34
+ }
35
+ catch {
36
+ return Effect.fail(new UnknownFlyIoError({ body: errorBody }));
37
+ }
38
+ };
39
+ /**
40
+ * Fly-io API client.
41
+ */
42
+ export const API = makeAPI({
43
+ credentials: Credentials,
44
+ getBaseUrl: (creds) => creds.apiBaseUrl,
45
+ getAuthHeaders: (creds) => ({
46
+ Authorization: `Bearer ${creds.apiKey}`,
47
+ }),
48
+ matchError,
49
+ ParseError: FlyIoParseError,
50
+ });
51
+ //# sourceMappingURL=client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,eAAe,GAChB,MAAM,aAAa,CAAC;AAErB,wCAAwC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,4BAA4B;AAC5B,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC,MAAM;CACvB,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,UAAU,GAAG,CACjB,MAAc,EACd,SAAkB,EACa,EAAE;IACjC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC;QACrE,MAAM,UAAU,GAAI,eAAuB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,UAAU,EAAE,CAAC;YACf,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;QACxE,CAAC;QACD,OAAO,MAAM,CAAC,IAAI,CAChB,IAAI,iBAAiB,CAAC;YACpB,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,IAAI,EAAE,SAAS;SAChB,CAAC,CACH,CAAC;IACJ,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC;IACjE,CAAC;AACH,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,OAAO,CAAC;IACzB,WAAW,EAAE,WAAkB;IAC/B,UAAU,EAAE,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU;IAC5C,cAAc,EAAE,CAAC,KAAU,EAAE,EAAE,CAAC,CAAC;QAC/B,aAAa,EAAE,UAAU,KAAK,CAAC,MAAM,EAAE;KACxC,CAAC;IACF,UAAU;IACV,UAAU,EAAE,eAAsB;CACnC,CAAC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import * as Layer from "effect/Layer";
2
+ import * as ServiceMap from "effect/ServiceMap";
3
+ import { ConfigError } from "@distilled.cloud/core/errors";
4
+ export declare const DEFAULT_API_BASE_URL = "https://api.fly-io.com";
5
+ export interface Config {
6
+ readonly apiKey: string;
7
+ readonly apiBaseUrl: string;
8
+ }
9
+ declare const Credentials_base: ServiceMap.ServiceClass<Credentials, "Fly-ioCredentials", Config>;
10
+ export declare class Credentials extends Credentials_base {
11
+ }
12
+ export declare const CredentialsFromEnv: Layer.Layer<Credentials, ConfigError, never>;
13
+ export {};
14
+ //# sourceMappingURL=credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAE7D,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;;AAED,qBAAa,WAAY,SAAQ,gBAEhC;CAAG;AAEJ,eAAO,MAAM,kBAAkB,8CAa9B,CAAC"}
@@ -0,0 +1,17 @@
1
+ import * as Effect from "effect/Effect";
2
+ import * as Layer from "effect/Layer";
3
+ import * as ServiceMap from "effect/ServiceMap";
4
+ import { ConfigError } from "@distilled.cloud/core/errors";
5
+ export const DEFAULT_API_BASE_URL = "https://api.fly-io.com";
6
+ export class Credentials extends ServiceMap.Service()("Fly-ioCredentials") {
7
+ }
8
+ export const CredentialsFromEnv = Layer.effect(Credentials, Effect.gen(function* () {
9
+ const apiKey = process.env.FLY_IO_API_KEY;
10
+ if (!apiKey) {
11
+ return yield* new ConfigError({
12
+ message: "FLY_IO_API_KEY environment variable is required",
13
+ });
14
+ }
15
+ return { apiKey, apiBaseUrl: DEFAULT_API_BASE_URL };
16
+ }));
17
+ //# sourceMappingURL=credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,CAAC,MAAM,oBAAoB,GAAG,wBAAwB,CAAC;AAO7D,MAAM,OAAO,WAAY,SAAQ,UAAU,CAAC,OAAO,EAAuB,CACxE,mBAAmB,CACpB;CAAG;AAEJ,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAC5C,WAAW,EACX,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC;IAE1C,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,KAAK,CAAC,CAAC,IAAI,WAAW,CAAC;YAC5B,OAAO,EAAE,iDAAiD;SAC3D,CAAC,CAAC;IACL,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,oBAAoB,EAAE,CAAC;AACtD,CAAC,CAAC,CACH,CAAC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Fly-io-specific error types.
3
+ *
4
+ * Re-exports common HTTP errors from sdk-core and adds Fly-io-specific
5
+ * error matching and API error types.
6
+ */
7
+ export { BadGateway, BadRequest, Conflict, ConfigError, Forbidden, GatewayTimeout, InternalServerError, Locked, NotFound, ServiceUnavailable, TooManyRequests, Unauthorized, UnprocessableEntity, HTTP_STATUS_MAP, DEFAULT_ERRORS, API_ERRORS, } from "@distilled.cloud/core/errors";
8
+ export type { DefaultErrors } from "@distilled.cloud/core/errors";
9
+ import * as Schema from "effect/Schema";
10
+ declare const UnknownFlyIoError_base: Schema.ErrorClass<UnknownFlyIoError, Schema.TaggedStruct<"UnknownFlyIoError", {
11
+ readonly code: Schema.optional<Schema.String>;
12
+ readonly message: Schema.optional<Schema.String>;
13
+ readonly body: Schema.Unknown;
14
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
15
+ "@distilled.cloud/error/categories": {
16
+ ServerError: true;
17
+ };
18
+ });
19
+ export declare class UnknownFlyIoError extends UnknownFlyIoError_base {
20
+ }
21
+ declare const FlyIoParseError_base: Schema.ErrorClass<FlyIoParseError, Schema.TaggedStruct<"FlyIoParseError", {
22
+ readonly body: Schema.Unknown;
23
+ readonly cause: Schema.Unknown;
24
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
25
+ "@distilled.cloud/error/categories": {
26
+ ParseError: true;
27
+ };
28
+ });
29
+ export declare class FlyIoParseError extends FlyIoParseError_base {
30
+ }
31
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,GACX,MAAM,8BAA8B,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;;;;;;;;;;AAIxC,qBAAa,iBAAkB,SAAQ,sBAOP;CAAG;;;;;;;;;AAGnC,qBAAa,eAAgB,SAAQ,oBAMN;CAAG"}
package/lib/errors.js ADDED
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Fly-io-specific error types.
3
+ *
4
+ * Re-exports common HTTP errors from sdk-core and adds Fly-io-specific
5
+ * error matching and API error types.
6
+ */
7
+ export { BadGateway, BadRequest, Conflict, ConfigError, Forbidden, GatewayTimeout, InternalServerError, Locked, NotFound, ServiceUnavailable, TooManyRequests, Unauthorized, UnprocessableEntity, HTTP_STATUS_MAP, DEFAULT_ERRORS, API_ERRORS, } from "@distilled.cloud/core/errors";
8
+ import * as Schema from "effect/Schema";
9
+ import * as Category from "@distilled.cloud/core/category";
10
+ // Unknown Fly-io error - returned when an error code is not recognized
11
+ export class UnknownFlyIoError extends Schema.TaggedErrorClass()("UnknownFlyIoError", {
12
+ code: Schema.optional(Schema.String),
13
+ message: Schema.optional(Schema.String),
14
+ body: Schema.Unknown,
15
+ }).pipe(Category.withServerError) {
16
+ }
17
+ // Schema parse error wrapper
18
+ export class FlyIoParseError extends Schema.TaggedErrorClass()("FlyIoParseError", {
19
+ body: Schema.Unknown,
20
+ cause: Schema.Unknown,
21
+ }).pipe(Category.withParseError) {
22
+ }
23
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,GACX,MAAM,8BAA8B,CAAC;AAGtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,gCAAgC,CAAC;AAE3D,uEAAuE;AACvE,MAAM,OAAO,iBAAkB,SAAQ,MAAM,CAAC,gBAAgB,EAAqB,CACjF,mBAAmB,EACnB;IACE,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,OAAO;CACrB,CACF,CAAC,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC;CAAG;AAEnC,6BAA6B;AAC7B,MAAM,OAAO,eAAgB,SAAQ,MAAM,CAAC,gBAAgB,EAAmB,CAC7E,iBAAiB,EACjB;IACE,IAAI,EAAE,MAAM,CAAC,OAAO;IACpB,KAAK,EAAE,MAAM,CAAC,OAAO;CACtB,CACF,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC;CAAG"}
package/lib/index.d.ts ADDED
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Fly-io SDK for Effect
3
+ *
4
+ * @example
5
+ * ```ts
6
+ * import * as Fly-io from "@distilled.cloud/fly-io";
7
+ * ```
8
+ */
9
+ export * from "./credentials.ts";
10
+ export * as Category from "./category.ts";
11
+ export * as T from "./traits.ts";
12
+ export * as Retry from "./retry.ts";
13
+ export { API } from "./client.ts";
14
+ export * from "./errors.ts";
15
+ export { SensitiveString, SensitiveNullableString } from "./sensitive.ts";
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC"}
package/lib/index.js ADDED
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Fly-io SDK for Effect
3
+ *
4
+ * @example
5
+ * ```ts
6
+ * import * as Fly-io from "@distilled.cloud/fly-io";
7
+ * ```
8
+ */
9
+ export * from "./credentials.js";
10
+ export * as Category from "./category.js";
11
+ export * as T from "./traits.js";
12
+ export * as Retry from "./retry.js";
13
+ export { API } from "./client.js";
14
+ export * from "./errors.js";
15
+ export { SensitiveString, SensitiveNullableString } from "./sensitive.js";
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const AppCreateDeployTokenInput: Schema.Struct<{
3
+ readonly app_name: Schema.String;
4
+ readonly expiry: Schema.optional<Schema.String>;
5
+ }>;
6
+ export type AppCreateDeployTokenInput = typeof AppCreateDeployTokenInput.Type;
7
+ export declare const AppCreateDeployTokenOutput: Schema.Struct<{
8
+ readonly token: Schema.optional<Schema.String>;
9
+ }>;
10
+ export type AppCreateDeployTokenOutput = typeof AppCreateDeployTokenOutput.Type;
11
+ /**
12
+ * Create App deploy token
13
+ *
14
+ * @param app_name - Fly App Name
15
+ */
16
+ export declare const AppCreateDeployToken: any;
17
+ //# sourceMappingURL=AppCreateDeployToken.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppCreateDeployToken.d.ts","sourceRoot":"","sources":["../../src/operations/AppCreateDeployToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,yBAAyB;;;EAIsC,CAAC;AAC7E,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;EAGnC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,KAKhC,CAAC"}
@@ -0,0 +1,25 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const AppCreateDeployTokenInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ app_name: Schema.String.pipe(T.PathParam()),
8
+ expiry: Schema.optional(Schema.String),
9
+ }).pipe(T.Http({ method: "POST", path: "/apps/{app_name}/deploy_token" }));
10
+ // Output Schema
11
+ export const AppCreateDeployTokenOutput =
12
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13
+ token: Schema.optional(Schema.String),
14
+ });
15
+ // The operation
16
+ /**
17
+ * Create App deploy token
18
+ *
19
+ * @param app_name - Fly App Name
20
+ */
21
+ export const AppCreateDeployToken = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
22
+ inputSchema: AppCreateDeployTokenInput,
23
+ outputSchema: AppCreateDeployTokenOutput,
24
+ }));
25
+ //# sourceMappingURL=AppCreateDeployToken.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppCreateDeployToken.js","sourceRoot":"","sources":["../../src/operations/AppCreateDeployToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACvC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,+BAA+B,EAAE,CAAC,CAAC,CAAC;AAG7E,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACtC,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACtE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,yBAAyB;IACtC,YAAY,EAAE,0BAA0B;CACzC,CAAC,CACH,CAAC"}
@@ -0,0 +1,57 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const App_CertificatesAcmeCreateInput: Schema.Struct<{
3
+ readonly hostname: Schema.optional<Schema.String>;
4
+ }>;
5
+ export type App_CertificatesAcmeCreateInput = typeof App_CertificatesAcmeCreateInput.Type;
6
+ export declare const App_CertificatesAcmeCreateOutput: Schema.Struct<{
7
+ readonly acme_requested: Schema.optional<Schema.Boolean>;
8
+ readonly certificates: Schema.optional<Schema.$Array<Schema.Struct<{
9
+ readonly created_at: Schema.optional<Schema.String>;
10
+ readonly expires_at: Schema.optional<Schema.String>;
11
+ readonly issued: Schema.optional<Schema.$Array<Schema.Struct<{
12
+ readonly certificate_authority: Schema.optional<Schema.String>;
13
+ readonly expires_at: Schema.optional<Schema.String>;
14
+ readonly type: Schema.optional<Schema.Literals<readonly ["rsa", "ecdsa"]>>;
15
+ }>>>;
16
+ readonly issuer: Schema.optional<Schema.String>;
17
+ readonly source: Schema.optional<Schema.Literals<readonly ["custom", "fly"]>>;
18
+ readonly status: Schema.optional<Schema.Literals<readonly ["active", "pending_ownership", "pending_validation"]>>;
19
+ }>>>;
20
+ readonly configured: Schema.optional<Schema.Boolean>;
21
+ readonly dns_provider: Schema.optional<Schema.String>;
22
+ readonly dns_requirements: Schema.optional<Schema.Struct<{
23
+ readonly a: Schema.optional<Schema.$Array<Schema.String>>;
24
+ readonly aaaa: Schema.optional<Schema.$Array<Schema.String>>;
25
+ readonly acme_challenge: Schema.optional<Schema.Struct<{
26
+ readonly name: Schema.optional<Schema.String>;
27
+ readonly target: Schema.optional<Schema.String>;
28
+ }>>;
29
+ readonly cname: Schema.optional<Schema.String>;
30
+ readonly ownership: Schema.optional<Schema.Struct<{
31
+ readonly app_value: Schema.optional<Schema.String>;
32
+ readonly name: Schema.optional<Schema.String>;
33
+ readonly org_value: Schema.optional<Schema.String>;
34
+ }>>;
35
+ }>>;
36
+ readonly hostname: Schema.optional<Schema.String>;
37
+ readonly rate_limited_until: Schema.optional<Schema.String>;
38
+ readonly status: Schema.optional<Schema.String>;
39
+ readonly validation: Schema.optional<Schema.Struct<{
40
+ readonly alpn_configured: Schema.optional<Schema.Boolean>;
41
+ readonly dns_configured: Schema.optional<Schema.Boolean>;
42
+ readonly http_configured: Schema.optional<Schema.Boolean>;
43
+ readonly ownership_txt_configured: Schema.optional<Schema.Boolean>;
44
+ }>>;
45
+ readonly validation_errors: Schema.optional<Schema.$Array<Schema.Struct<{
46
+ readonly code: Schema.optional<Schema.String>;
47
+ readonly message: Schema.optional<Schema.String>;
48
+ readonly remediation: Schema.optional<Schema.String>;
49
+ readonly timestamp: Schema.optional<Schema.String>;
50
+ }>>>;
51
+ }>;
52
+ export type App_CertificatesAcmeCreateOutput = typeof App_CertificatesAcmeCreateOutput.Type;
53
+ /**
54
+ * Request ACME certificate
55
+ */
56
+ export declare const App_CertificatesAcmeCreate: any;
57
+ //# sourceMappingURL=App_CertificatesAcmeCreate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App_CertificatesAcmeCreate.d.ts","sourceRoot":"","sources":["../../src/operations/App_CertificatesAcmeCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,+BAA+B;;EAKzC,CAAC;AACJ,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwEzC,CAAC;AACL,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;GAEG;AACH,eAAO,MAAM,0BAA0B,KAKtC,CAAC"}
@@ -0,0 +1,69 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const App_CertificatesAcmeCreateInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ hostname: Schema.optional(Schema.String),
8
+ }).pipe(T.Http({ method: "POST", path: "/apps/{app_name}/certificates/acme" }));
9
+ // Output Schema
10
+ export const App_CertificatesAcmeCreateOutput =
11
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12
+ acme_requested: Schema.optional(Schema.Boolean),
13
+ certificates: Schema.optional(Schema.Array(Schema.Struct({
14
+ created_at: Schema.optional(Schema.String),
15
+ expires_at: Schema.optional(Schema.String),
16
+ issued: Schema.optional(Schema.Array(Schema.Struct({
17
+ certificate_authority: Schema.optional(Schema.String),
18
+ expires_at: Schema.optional(Schema.String),
19
+ type: Schema.optional(Schema.Literals(["rsa", "ecdsa"])),
20
+ }))),
21
+ issuer: Schema.optional(Schema.String),
22
+ source: Schema.optional(Schema.Literals(["custom", "fly"])),
23
+ status: Schema.optional(Schema.Literals([
24
+ "active",
25
+ "pending_ownership",
26
+ "pending_validation",
27
+ ])),
28
+ }))),
29
+ configured: Schema.optional(Schema.Boolean),
30
+ dns_provider: Schema.optional(Schema.String),
31
+ dns_requirements: Schema.optional(Schema.Struct({
32
+ a: Schema.optional(Schema.Array(Schema.String)),
33
+ aaaa: Schema.optional(Schema.Array(Schema.String)),
34
+ acme_challenge: Schema.optional(Schema.Struct({
35
+ name: Schema.optional(Schema.String),
36
+ target: Schema.optional(Schema.String),
37
+ })),
38
+ cname: Schema.optional(Schema.String),
39
+ ownership: Schema.optional(Schema.Struct({
40
+ app_value: Schema.optional(Schema.String),
41
+ name: Schema.optional(Schema.String),
42
+ org_value: Schema.optional(Schema.String),
43
+ })),
44
+ })),
45
+ hostname: Schema.optional(Schema.String),
46
+ rate_limited_until: Schema.optional(Schema.String),
47
+ status: Schema.optional(Schema.String),
48
+ validation: Schema.optional(Schema.Struct({
49
+ alpn_configured: Schema.optional(Schema.Boolean),
50
+ dns_configured: Schema.optional(Schema.Boolean),
51
+ http_configured: Schema.optional(Schema.Boolean),
52
+ ownership_txt_configured: Schema.optional(Schema.Boolean),
53
+ })),
54
+ validation_errors: Schema.optional(Schema.Array(Schema.Struct({
55
+ code: Schema.optional(Schema.String),
56
+ message: Schema.optional(Schema.String),
57
+ remediation: Schema.optional(Schema.String),
58
+ timestamp: Schema.optional(Schema.String),
59
+ }))),
60
+ });
61
+ // The operation
62
+ /**
63
+ * Request ACME certificate
64
+ */
65
+ export const App_CertificatesAcmeCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
66
+ inputSchema: App_CertificatesAcmeCreateInput,
67
+ outputSchema: App_CertificatesAcmeCreateOutput,
68
+ }));
69
+ //# sourceMappingURL=App_CertificatesAcmeCreate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App_CertificatesAcmeCreate.js","sourceRoot":"","sources":["../../src/operations/App_CertificatesAcmeCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,+BAA+B;AAC1C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACzC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,oCAAoC,EAAE,CAAC,CACvE,CAAC;AAIJ,gBAAgB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,CAAC;QAC/C,eAAe,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;QAChD,wBAAwB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;KAC1D,CAAC,CACH;IACD,iBAAiB,EAAE,MAAM,CAAC,QAAQ,CAChC,MAAM,CAAC,KAAK,CACV,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACpC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACvC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KAC1C,CAAC,CACH,CACF;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC5E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,+BAA+B;IAC5C,YAAY,EAAE,gCAAgC;CAC/C,CAAC,CACH,CAAC"}
@@ -0,0 +1,55 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const App_CertificatesAcmeDeleteInput: Schema.Struct<{}>;
3
+ export type App_CertificatesAcmeDeleteInput = typeof App_CertificatesAcmeDeleteInput.Type;
4
+ export declare const App_CertificatesAcmeDeleteOutput: Schema.Struct<{
5
+ readonly acme_requested: Schema.optional<Schema.Boolean>;
6
+ readonly certificates: Schema.optional<Schema.$Array<Schema.Struct<{
7
+ readonly created_at: Schema.optional<Schema.String>;
8
+ readonly expires_at: Schema.optional<Schema.String>;
9
+ readonly issued: Schema.optional<Schema.$Array<Schema.Struct<{
10
+ readonly certificate_authority: Schema.optional<Schema.String>;
11
+ readonly expires_at: Schema.optional<Schema.String>;
12
+ readonly type: Schema.optional<Schema.Literals<readonly ["rsa", "ecdsa"]>>;
13
+ }>>>;
14
+ readonly issuer: Schema.optional<Schema.String>;
15
+ readonly source: Schema.optional<Schema.Literals<readonly ["custom", "fly"]>>;
16
+ readonly status: Schema.optional<Schema.Literals<readonly ["active", "pending_ownership", "pending_validation"]>>;
17
+ }>>>;
18
+ readonly configured: Schema.optional<Schema.Boolean>;
19
+ readonly dns_provider: Schema.optional<Schema.String>;
20
+ readonly dns_requirements: Schema.optional<Schema.Struct<{
21
+ readonly a: Schema.optional<Schema.$Array<Schema.String>>;
22
+ readonly aaaa: Schema.optional<Schema.$Array<Schema.String>>;
23
+ readonly acme_challenge: Schema.optional<Schema.Struct<{
24
+ readonly name: Schema.optional<Schema.String>;
25
+ readonly target: Schema.optional<Schema.String>;
26
+ }>>;
27
+ readonly cname: Schema.optional<Schema.String>;
28
+ readonly ownership: Schema.optional<Schema.Struct<{
29
+ readonly app_value: Schema.optional<Schema.String>;
30
+ readonly name: Schema.optional<Schema.String>;
31
+ readonly org_value: Schema.optional<Schema.String>;
32
+ }>>;
33
+ }>>;
34
+ readonly hostname: Schema.optional<Schema.String>;
35
+ readonly rate_limited_until: Schema.optional<Schema.String>;
36
+ readonly status: Schema.optional<Schema.String>;
37
+ readonly validation: Schema.optional<Schema.Struct<{
38
+ readonly alpn_configured: Schema.optional<Schema.Boolean>;
39
+ readonly dns_configured: Schema.optional<Schema.Boolean>;
40
+ readonly http_configured: Schema.optional<Schema.Boolean>;
41
+ readonly ownership_txt_configured: Schema.optional<Schema.Boolean>;
42
+ }>>;
43
+ readonly validation_errors: Schema.optional<Schema.$Array<Schema.Struct<{
44
+ readonly code: Schema.optional<Schema.String>;
45
+ readonly message: Schema.optional<Schema.String>;
46
+ readonly remediation: Schema.optional<Schema.String>;
47
+ readonly timestamp: Schema.optional<Schema.String>;
48
+ }>>>;
49
+ }>;
50
+ export type App_CertificatesAcmeDeleteOutput = typeof App_CertificatesAcmeDeleteOutput.Type;
51
+ /**
52
+ * Remove ACME certificates
53
+ */
54
+ export declare const App_CertificatesAcmeDelete: any;
55
+ //# sourceMappingURL=App_CertificatesAcmeDelete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App_CertificatesAcmeDelete.d.ts","sourceRoot":"","sources":["../../src/operations/App_CertificatesAcmeDelete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,+BAA+B,mBAMzC,CAAC;AACJ,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwEzC,CAAC;AACL,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;GAEG;AACH,eAAO,MAAM,0BAA0B,KAKtC,CAAC"}
@@ -0,0 +1,70 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const App_CertificatesAcmeDeleteInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
7
+ method: "DELETE",
8
+ path: "/apps/{app_name}/certificates/{hostname}/acme",
9
+ }));
10
+ // Output Schema
11
+ export const App_CertificatesAcmeDeleteOutput =
12
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13
+ acme_requested: Schema.optional(Schema.Boolean),
14
+ certificates: Schema.optional(Schema.Array(Schema.Struct({
15
+ created_at: Schema.optional(Schema.String),
16
+ expires_at: Schema.optional(Schema.String),
17
+ issued: Schema.optional(Schema.Array(Schema.Struct({
18
+ certificate_authority: Schema.optional(Schema.String),
19
+ expires_at: Schema.optional(Schema.String),
20
+ type: Schema.optional(Schema.Literals(["rsa", "ecdsa"])),
21
+ }))),
22
+ issuer: Schema.optional(Schema.String),
23
+ source: Schema.optional(Schema.Literals(["custom", "fly"])),
24
+ status: Schema.optional(Schema.Literals([
25
+ "active",
26
+ "pending_ownership",
27
+ "pending_validation",
28
+ ])),
29
+ }))),
30
+ configured: Schema.optional(Schema.Boolean),
31
+ dns_provider: Schema.optional(Schema.String),
32
+ dns_requirements: Schema.optional(Schema.Struct({
33
+ a: Schema.optional(Schema.Array(Schema.String)),
34
+ aaaa: Schema.optional(Schema.Array(Schema.String)),
35
+ acme_challenge: Schema.optional(Schema.Struct({
36
+ name: Schema.optional(Schema.String),
37
+ target: Schema.optional(Schema.String),
38
+ })),
39
+ cname: Schema.optional(Schema.String),
40
+ ownership: Schema.optional(Schema.Struct({
41
+ app_value: Schema.optional(Schema.String),
42
+ name: Schema.optional(Schema.String),
43
+ org_value: Schema.optional(Schema.String),
44
+ })),
45
+ })),
46
+ hostname: Schema.optional(Schema.String),
47
+ rate_limited_until: Schema.optional(Schema.String),
48
+ status: Schema.optional(Schema.String),
49
+ validation: Schema.optional(Schema.Struct({
50
+ alpn_configured: Schema.optional(Schema.Boolean),
51
+ dns_configured: Schema.optional(Schema.Boolean),
52
+ http_configured: Schema.optional(Schema.Boolean),
53
+ ownership_txt_configured: Schema.optional(Schema.Boolean),
54
+ })),
55
+ validation_errors: Schema.optional(Schema.Array(Schema.Struct({
56
+ code: Schema.optional(Schema.String),
57
+ message: Schema.optional(Schema.String),
58
+ remediation: Schema.optional(Schema.String),
59
+ timestamp: Schema.optional(Schema.String),
60
+ }))),
61
+ });
62
+ // The operation
63
+ /**
64
+ * Remove ACME certificates
65
+ */
66
+ export const App_CertificatesAcmeDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
67
+ inputSchema: App_CertificatesAcmeDeleteInput,
68
+ outputSchema: App_CertificatesAcmeDeleteOutput,
69
+ }));
70
+ //# sourceMappingURL=App_CertificatesAcmeDelete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App_CertificatesAcmeDelete.js","sourceRoot":"","sources":["../../src/operations/App_CertificatesA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