@distilled.cloud/fly-io 0.26.1 → 0.28.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 (381) hide show
  1. package/lib/operations/AppCertificatesAcmeCreate.d.ts +53 -101
  2. package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +1 -1
  3. package/lib/operations/AppCertificatesAcmeCreate.js +0 -2
  4. package/lib/operations/AppCertificatesAcmeCreate.js.map +1 -1
  5. package/lib/operations/AppCertificatesAcmeDelete.d.ts +53 -101
  6. package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +1 -1
  7. package/lib/operations/AppCertificatesAcmeDelete.js +0 -2
  8. package/lib/operations/AppCertificatesAcmeDelete.js.map +1 -1
  9. package/lib/operations/AppCertificatesCheck.d.ts +62 -119
  10. package/lib/operations/AppCertificatesCheck.d.ts.map +1 -1
  11. package/lib/operations/AppCertificatesCheck.js +0 -2
  12. package/lib/operations/AppCertificatesCheck.js.map +1 -1
  13. package/lib/operations/AppCertificatesCustomCreate.d.ts +56 -105
  14. package/lib/operations/AppCertificatesCustomCreate.d.ts.map +1 -1
  15. package/lib/operations/AppCertificatesCustomCreate.js +1 -2
  16. package/lib/operations/AppCertificatesCustomCreate.js.map +1 -1
  17. package/lib/operations/AppCertificatesCustomDelete.d.ts +54 -103
  18. package/lib/operations/AppCertificatesCustomDelete.d.ts.map +1 -1
  19. package/lib/operations/AppCertificatesCustomDelete.js +0 -2
  20. package/lib/operations/AppCertificatesCustomDelete.js.map +1 -1
  21. package/lib/operations/AppCertificatesDelete.d.ts +8 -11
  22. package/lib/operations/AppCertificatesDelete.d.ts.map +1 -1
  23. package/lib/operations/AppCertificatesDelete.js +0 -2
  24. package/lib/operations/AppCertificatesDelete.js.map +1 -1
  25. package/lib/operations/AppCertificatesList.d.ts +28 -51
  26. package/lib/operations/AppCertificatesList.d.ts.map +1 -1
  27. package/lib/operations/AppCertificatesList.js +0 -2
  28. package/lib/operations/AppCertificatesList.js.map +1 -1
  29. package/lib/operations/AppCertificatesShow.d.ts +53 -101
  30. package/lib/operations/AppCertificatesShow.d.ts.map +1 -1
  31. package/lib/operations/AppCertificatesShow.js +0 -2
  32. package/lib/operations/AppCertificatesShow.js.map +1 -1
  33. package/lib/operations/AppCreateDeployToken.d.ts +10 -15
  34. package/lib/operations/AppCreateDeployToken.d.ts.map +1 -1
  35. package/lib/operations/AppCreateDeployToken.js +0 -2
  36. package/lib/operations/AppCreateDeployToken.js.map +1 -1
  37. package/lib/operations/AppIPAssignmentsCreate.d.ts +18 -31
  38. package/lib/operations/AppIPAssignmentsCreate.d.ts.map +1 -1
  39. package/lib/operations/AppIPAssignmentsCreate.js +0 -2
  40. package/lib/operations/AppIPAssignmentsCreate.js.map +1 -1
  41. package/lib/operations/AppIPAssignmentsDelete.d.ts +8 -11
  42. package/lib/operations/AppIPAssignmentsDelete.d.ts.map +1 -1
  43. package/lib/operations/AppIPAssignmentsDelete.js +0 -2
  44. package/lib/operations/AppIPAssignmentsDelete.js.map +1 -1
  45. package/lib/operations/AppIPAssignmentsList.d.ts +15 -25
  46. package/lib/operations/AppIPAssignmentsList.d.ts.map +1 -1
  47. package/lib/operations/AppIPAssignmentsList.js +0 -2
  48. package/lib/operations/AppIPAssignmentsList.js.map +1 -1
  49. package/lib/operations/AppsCreate.d.ts +10 -15
  50. package/lib/operations/AppsCreate.d.ts.map +1 -1
  51. package/lib/operations/AppsCreate.js +2 -3
  52. package/lib/operations/AppsCreate.js.map +1 -1
  53. package/lib/operations/AppsDelete.d.ts +7 -9
  54. package/lib/operations/AppsDelete.d.ts.map +1 -1
  55. package/lib/operations/AppsDelete.js +2 -3
  56. package/lib/operations/AppsDelete.js.map +1 -1
  57. package/lib/operations/AppsList.d.ts +24 -43
  58. package/lib/operations/AppsList.d.ts.map +1 -1
  59. package/lib/operations/AppsList.js +0 -2
  60. package/lib/operations/AppsList.js.map +1 -1
  61. package/lib/operations/AppsShow.d.ts +20 -35
  62. package/lib/operations/AppsShow.d.ts.map +1 -1
  63. package/lib/operations/AppsShow.js +0 -2
  64. package/lib/operations/AppsShow.js.map +1 -1
  65. package/lib/operations/CurrentTokenShow.d.ts +17 -27
  66. package/lib/operations/CurrentTokenShow.d.ts.map +1 -1
  67. package/lib/operations/CurrentTokenShow.js +2 -6
  68. package/lib/operations/CurrentTokenShow.js.map +1 -1
  69. package/lib/operations/MachinesCordon.d.ts +8 -11
  70. package/lib/operations/MachinesCordon.d.ts.map +1 -1
  71. package/lib/operations/MachinesCordon.js +2 -3
  72. package/lib/operations/MachinesCordon.js.map +1 -1
  73. package/lib/operations/MachinesCreate.d.ts +799 -1615
  74. package/lib/operations/MachinesCreate.d.ts.map +1 -1
  75. package/lib/operations/MachinesCreate.js +9 -3
  76. package/lib/operations/MachinesCreate.js.map +1 -1
  77. package/lib/operations/MachinesCreateLease.d.ts +16 -27
  78. package/lib/operations/MachinesCreateLease.d.ts.map +1 -1
  79. package/lib/operations/MachinesCreateLease.js +0 -2
  80. package/lib/operations/MachinesCreateLease.js.map +1 -1
  81. package/lib/operations/MachinesDelete.d.ts +9 -13
  82. package/lib/operations/MachinesDelete.d.ts.map +1 -1
  83. package/lib/operations/MachinesDelete.js +2 -3
  84. package/lib/operations/MachinesDelete.js.map +1 -1
  85. package/lib/operations/MachinesDeleteMetadata.d.ts +9 -13
  86. package/lib/operations/MachinesDeleteMetadata.d.ts.map +1 -1
  87. package/lib/operations/MachinesDeleteMetadata.js +0 -2
  88. package/lib/operations/MachinesDeleteMetadata.js.map +1 -1
  89. package/lib/operations/MachinesExec.d.ts +18 -31
  90. package/lib/operations/MachinesExec.d.ts.map +1 -1
  91. package/lib/operations/MachinesExec.js +0 -2
  92. package/lib/operations/MachinesExec.js.map +1 -1
  93. package/lib/operations/MachinesGetMemory.d.ts +11 -17
  94. package/lib/operations/MachinesGetMemory.d.ts.map +1 -1
  95. package/lib/operations/MachinesGetMemory.js +0 -2
  96. package/lib/operations/MachinesGetMemory.js.map +1 -1
  97. package/lib/operations/MachinesGetMetadataKey.d.ts +11 -17
  98. package/lib/operations/MachinesGetMetadataKey.d.ts.map +1 -1
  99. package/lib/operations/MachinesGetMetadataKey.js +0 -2
  100. package/lib/operations/MachinesGetMetadataKey.js.map +1 -1
  101. package/lib/operations/MachinesList.d.ts +545 -1099
  102. package/lib/operations/MachinesList.d.ts.map +1 -1
  103. package/lib/operations/MachinesList.js +6 -2
  104. package/lib/operations/MachinesList.js.map +1 -1
  105. package/lib/operations/MachinesListEvents.d.ts +16 -27
  106. package/lib/operations/MachinesListEvents.d.ts.map +1 -1
  107. package/lib/operations/MachinesListEvents.js +0 -2
  108. package/lib/operations/MachinesListEvents.js.map +1 -1
  109. package/lib/operations/MachinesListProcesses.d.ts +22 -39
  110. package/lib/operations/MachinesListProcesses.d.ts.map +1 -1
  111. package/lib/operations/MachinesListProcesses.js +0 -2
  112. package/lib/operations/MachinesListProcesses.js.map +1 -1
  113. package/lib/operations/MachinesListVersions.d.ts +261 -523
  114. package/lib/operations/MachinesListVersions.d.ts.map +1 -1
  115. package/lib/operations/MachinesListVersions.js +3 -2
  116. package/lib/operations/MachinesListVersions.js.map +1 -1
  117. package/lib/operations/MachinesOrgList.d.ts +47 -89
  118. package/lib/operations/MachinesOrgList.d.ts.map +1 -1
  119. package/lib/operations/MachinesOrgList.js +3 -5
  120. package/lib/operations/MachinesOrgList.js.map +1 -1
  121. package/lib/operations/MachinesReclaimMemory.d.ts +11 -17
  122. package/lib/operations/MachinesReclaimMemory.d.ts.map +1 -1
  123. package/lib/operations/MachinesReclaimMemory.js +0 -2
  124. package/lib/operations/MachinesReclaimMemory.js.map +1 -1
  125. package/lib/operations/MachinesReleaseLease.d.ts +8 -11
  126. package/lib/operations/MachinesReleaseLease.d.ts.map +1 -1
  127. package/lib/operations/MachinesReleaseLease.js +0 -2
  128. package/lib/operations/MachinesReleaseLease.js.map +1 -1
  129. package/lib/operations/MachinesRestart.d.ts +10 -15
  130. package/lib/operations/MachinesRestart.d.ts.map +1 -1
  131. package/lib/operations/MachinesRestart.js +2 -3
  132. package/lib/operations/MachinesRestart.js.map +1 -1
  133. package/lib/operations/MachinesSetMemoryLimit.d.ts +12 -19
  134. package/lib/operations/MachinesSetMemoryLimit.d.ts.map +1 -1
  135. package/lib/operations/MachinesSetMemoryLimit.js +0 -2
  136. package/lib/operations/MachinesSetMemoryLimit.js.map +1 -1
  137. package/lib/operations/MachinesShow.d.ts +542 -1093
  138. package/lib/operations/MachinesShow.d.ts.map +1 -1
  139. package/lib/operations/MachinesShow.js +6 -2
  140. package/lib/operations/MachinesShow.js.map +1 -1
  141. package/lib/operations/MachinesShowLease.d.ts +14 -23
  142. package/lib/operations/MachinesShowLease.d.ts.map +1 -1
  143. package/lib/operations/MachinesShowLease.js +0 -2
  144. package/lib/operations/MachinesShowLease.js.map +1 -1
  145. package/lib/operations/MachinesShowMetadata.d.ts +8 -13
  146. package/lib/operations/MachinesShowMetadata.d.ts.map +1 -1
  147. package/lib/operations/MachinesShowMetadata.js +0 -2
  148. package/lib/operations/MachinesShowMetadata.js.map +1 -1
  149. package/lib/operations/MachinesSignal.d.ts +9 -13
  150. package/lib/operations/MachinesSignal.d.ts.map +1 -1
  151. package/lib/operations/MachinesSignal.js +2 -3
  152. package/lib/operations/MachinesSignal.js.map +1 -1
  153. package/lib/operations/MachinesStart.d.ts +8 -11
  154. package/lib/operations/MachinesStart.d.ts.map +1 -1
  155. package/lib/operations/MachinesStart.js +2 -3
  156. package/lib/operations/MachinesStart.js.map +1 -1
  157. package/lib/operations/MachinesStop.d.ts +10 -15
  158. package/lib/operations/MachinesStop.d.ts.map +1 -1
  159. package/lib/operations/MachinesStop.js +2 -3
  160. package/lib/operations/MachinesStop.js.map +1 -1
  161. package/lib/operations/MachinesSuspend.d.ts +8 -11
  162. package/lib/operations/MachinesSuspend.d.ts.map +1 -1
  163. package/lib/operations/MachinesSuspend.js +2 -3
  164. package/lib/operations/MachinesSuspend.js.map +1 -1
  165. package/lib/operations/MachinesUncordon.d.ts +8 -11
  166. package/lib/operations/MachinesUncordon.d.ts.map +1 -1
  167. package/lib/operations/MachinesUncordon.js +2 -3
  168. package/lib/operations/MachinesUncordon.js.map +1 -1
  169. package/lib/operations/MachinesUpdate.d.ts +801 -1619
  170. package/lib/operations/MachinesUpdate.d.ts.map +1 -1
  171. package/lib/operations/MachinesUpdate.js +9 -3
  172. package/lib/operations/MachinesUpdate.js.map +1 -1
  173. package/lib/operations/MachinesUpdateMetadata.d.ts +12 -20
  174. package/lib/operations/MachinesUpdateMetadata.d.ts.map +1 -1
  175. package/lib/operations/MachinesUpdateMetadata.js +3 -5
  176. package/lib/operations/MachinesUpdateMetadata.js.map +1 -1
  177. package/lib/operations/MachinesUpsertMetadata.d.ts +11 -17
  178. package/lib/operations/MachinesUpsertMetadata.d.ts.map +1 -1
  179. package/lib/operations/MachinesUpsertMetadata.js +0 -2
  180. package/lib/operations/MachinesUpsertMetadata.js.map +1 -1
  181. package/lib/operations/MachinesWait.d.ts +18 -31
  182. package/lib/operations/MachinesWait.d.ts.map +1 -1
  183. package/lib/operations/MachinesWait.js +0 -2
  184. package/lib/operations/MachinesWait.js.map +1 -1
  185. package/lib/operations/PlatformPlacementsPost.d.ts +29 -55
  186. package/lib/operations/PlatformPlacementsPost.d.ts.map +1 -1
  187. package/lib/operations/PlatformPlacementsPost.js +0 -2
  188. package/lib/operations/PlatformPlacementsPost.js.map +1 -1
  189. package/lib/operations/PlatformRegionsGet.d.ts +18 -29
  190. package/lib/operations/PlatformRegionsGet.d.ts.map +1 -1
  191. package/lib/operations/PlatformRegionsGet.js +0 -2
  192. package/lib/operations/PlatformRegionsGet.js.map +1 -1
  193. package/lib/operations/SecretCreate.d.ts +17 -29
  194. package/lib/operations/SecretCreate.d.ts.map +1 -1
  195. package/lib/operations/SecretCreate.js +0 -2
  196. package/lib/operations/SecretCreate.js.map +1 -1
  197. package/lib/operations/SecretDelete.d.ts +11 -17
  198. package/lib/operations/SecretDelete.d.ts.map +1 -1
  199. package/lib/operations/SecretDelete.js +0 -2
  200. package/lib/operations/SecretDelete.js.map +1 -1
  201. package/lib/operations/SecretGet.d.ts +16 -27
  202. package/lib/operations/SecretGet.d.ts.map +1 -1
  203. package/lib/operations/SecretGet.js +0 -2
  204. package/lib/operations/SecretGet.js.map +1 -1
  205. package/lib/operations/SecretkeyDecrypt.d.ts +13 -21
  206. package/lib/operations/SecretkeyDecrypt.d.ts.map +1 -1
  207. package/lib/operations/SecretkeyDecrypt.js +0 -2
  208. package/lib/operations/SecretkeyDecrypt.js.map +1 -1
  209. package/lib/operations/SecretkeyDelete.d.ts +11 -17
  210. package/lib/operations/SecretkeyDelete.d.ts.map +1 -1
  211. package/lib/operations/SecretkeyDelete.js +0 -2
  212. package/lib/operations/SecretkeyDelete.js.map +1 -1
  213. package/lib/operations/SecretkeyEncrypt.d.ts +13 -21
  214. package/lib/operations/SecretkeyEncrypt.d.ts.map +1 -1
  215. package/lib/operations/SecretkeyEncrypt.js +0 -2
  216. package/lib/operations/SecretkeyEncrypt.js.map +1 -1
  217. package/lib/operations/SecretkeyGenerate.d.ts +18 -31
  218. package/lib/operations/SecretkeyGenerate.d.ts.map +1 -1
  219. package/lib/operations/SecretkeyGenerate.js +0 -2
  220. package/lib/operations/SecretkeyGenerate.js.map +1 -1
  221. package/lib/operations/SecretkeyGet.d.ts +15 -25
  222. package/lib/operations/SecretkeyGet.d.ts.map +1 -1
  223. package/lib/operations/SecretkeyGet.js +0 -2
  224. package/lib/operations/SecretkeyGet.js.map +1 -1
  225. package/lib/operations/SecretkeySet.d.ts +18 -31
  226. package/lib/operations/SecretkeySet.d.ts.map +1 -1
  227. package/lib/operations/SecretkeySet.js +0 -2
  228. package/lib/operations/SecretkeySet.js.map +1 -1
  229. package/lib/operations/SecretkeySign.d.ts +12 -19
  230. package/lib/operations/SecretkeySign.d.ts.map +1 -1
  231. package/lib/operations/SecretkeySign.js +0 -2
  232. package/lib/operations/SecretkeySign.js.map +1 -1
  233. package/lib/operations/SecretkeyVerify.d.ts +11 -17
  234. package/lib/operations/SecretkeyVerify.d.ts.map +1 -1
  235. package/lib/operations/SecretkeyVerify.js +2 -3
  236. package/lib/operations/SecretkeyVerify.js.map +1 -1
  237. package/lib/operations/SecretkeysList.d.ts +17 -29
  238. package/lib/operations/SecretkeysList.d.ts.map +1 -1
  239. package/lib/operations/SecretkeysList.js +0 -2
  240. package/lib/operations/SecretkeysList.js.map +1 -1
  241. package/lib/operations/SecretsList.d.ts +17 -29
  242. package/lib/operations/SecretsList.d.ts.map +1 -1
  243. package/lib/operations/SecretsList.js +0 -2
  244. package/lib/operations/SecretsList.js.map +1 -1
  245. package/lib/operations/SecretsUpdate.d.ts +18 -33
  246. package/lib/operations/SecretsUpdate.d.ts.map +1 -1
  247. package/lib/operations/SecretsUpdate.js +0 -2
  248. package/lib/operations/SecretsUpdate.js.map +1 -1
  249. package/lib/operations/TokensAuthenticate.d.ts +26 -0
  250. package/lib/operations/TokensAuthenticate.d.ts.map +1 -0
  251. package/lib/operations/TokensAuthenticate.js +33 -0
  252. package/lib/operations/TokensAuthenticate.js.map +1 -0
  253. package/lib/operations/TokensAuthorize.d.ts +59 -0
  254. package/lib/operations/TokensAuthorize.d.ts.map +1 -0
  255. package/lib/operations/TokensAuthorize.js +64 -0
  256. package/lib/operations/TokensAuthorize.js.map +1 -0
  257. package/lib/operations/TokensRequestKms.d.ts +6 -5
  258. package/lib/operations/TokensRequestKms.d.ts.map +1 -1
  259. package/lib/operations/TokensRequestKms.js +2 -3
  260. package/lib/operations/TokensRequestKms.js.map +1 -1
  261. package/lib/operations/TokensRequestOIDC.d.ts +8 -11
  262. package/lib/operations/TokensRequestOIDC.d.ts.map +1 -1
  263. package/lib/operations/TokensRequestOIDC.js +1 -3
  264. package/lib/operations/TokensRequestOIDC.js.map +1 -1
  265. package/lib/operations/VolumeDelete.d.ts +30 -55
  266. package/lib/operations/VolumeDelete.d.ts.map +1 -1
  267. package/lib/operations/VolumeDelete.js +0 -2
  268. package/lib/operations/VolumeDelete.js.map +1 -1
  269. package/lib/operations/VolumesCreate.d.ts +52 -99
  270. package/lib/operations/VolumesCreate.d.ts.map +1 -1
  271. package/lib/operations/VolumesCreate.js +0 -2
  272. package/lib/operations/VolumesCreate.js.map +1 -1
  273. package/lib/operations/VolumesExtend.d.ts +34 -63
  274. package/lib/operations/VolumesExtend.d.ts.map +1 -1
  275. package/lib/operations/VolumesExtend.js +0 -2
  276. package/lib/operations/VolumesExtend.js.map +1 -1
  277. package/lib/operations/VolumesGetById.d.ts +30 -55
  278. package/lib/operations/VolumesGetById.d.ts.map +1 -1
  279. package/lib/operations/VolumesGetById.js +0 -2
  280. package/lib/operations/VolumesGetById.js.map +1 -1
  281. package/lib/operations/VolumesList.d.ts +30 -55
  282. package/lib/operations/VolumesList.d.ts.map +1 -1
  283. package/lib/operations/VolumesList.js +0 -2
  284. package/lib/operations/VolumesList.js.map +1 -1
  285. package/lib/operations/VolumesListSnapshots.d.ts +16 -27
  286. package/lib/operations/VolumesListSnapshots.d.ts.map +1 -1
  287. package/lib/operations/VolumesListSnapshots.js +0 -2
  288. package/lib/operations/VolumesListSnapshots.js.map +1 -1
  289. package/lib/operations/VolumesOrgList.d.ts +43 -81
  290. package/lib/operations/VolumesOrgList.d.ts.map +1 -1
  291. package/lib/operations/VolumesOrgList.js +0 -2
  292. package/lib/operations/VolumesOrgList.js.map +1 -1
  293. package/lib/operations/VolumesUpdate.d.ts +32 -59
  294. package/lib/operations/VolumesUpdate.d.ts.map +1 -1
  295. package/lib/operations/VolumesUpdate.js +0 -2
  296. package/lib/operations/VolumesUpdate.js.map +1 -1
  297. package/lib/operations/createVolumeSnapshot.d.ts +8 -11
  298. package/lib/operations/createVolumeSnapshot.d.ts.map +1 -1
  299. package/lib/operations/createVolumeSnapshot.js +0 -2
  300. package/lib/operations/createVolumeSnapshot.js.map +1 -1
  301. package/lib/operations/index.d.ts +4 -1
  302. package/lib/operations/index.d.ts.map +1 -1
  303. package/lib/operations/index.js +4 -1
  304. package/lib/operations/index.js.map +1 -1
  305. package/package.json +2 -2
  306. package/src/operations/AppCertificatesAcmeCreate.ts +45 -6
  307. package/src/operations/AppCertificatesAcmeDelete.ts +45 -6
  308. package/src/operations/AppCertificatesCheck.ts +54 -4
  309. package/src/operations/AppCertificatesCustomCreate.ts +48 -6
  310. package/src/operations/AppCertificatesCustomDelete.ts +46 -6
  311. package/src/operations/AppCertificatesDelete.ts +7 -5
  312. package/src/operations/AppCertificatesList.ts +29 -4
  313. package/src/operations/AppCertificatesShow.ts +45 -4
  314. package/src/operations/AppCreateDeployToken.ts +11 -4
  315. package/src/operations/AppIPAssignmentsCreate.ts +19 -6
  316. package/src/operations/AppIPAssignmentsDelete.ts +7 -6
  317. package/src/operations/AppIPAssignmentsList.ts +16 -4
  318. package/src/operations/AppsCreate.ts +12 -4
  319. package/src/operations/AppsDelete.ts +9 -4
  320. package/src/operations/AppsList.ts +25 -4
  321. package/src/operations/AppsShow.ts +17 -4
  322. package/src/operations/CurrentTokenShow.ts +17 -7
  323. package/src/operations/MachinesCordon.ts +8 -4
  324. package/src/operations/MachinesCreate.ts +767 -5
  325. package/src/operations/MachinesCreateLease.ts +15 -4
  326. package/src/operations/MachinesDelete.ts +9 -4
  327. package/src/operations/MachinesDeleteMetadata.ts +8 -6
  328. package/src/operations/MachinesExec.ts +17 -4
  329. package/src/operations/MachinesGetMemory.ts +10 -4
  330. package/src/operations/MachinesGetMetadataKey.ts +10 -6
  331. package/src/operations/MachinesList.ts +524 -4
  332. package/src/operations/MachinesListEvents.ts +15 -4
  333. package/src/operations/MachinesListProcesses.ts +18 -5
  334. package/src/operations/MachinesListVersions.ts +249 -4
  335. package/src/operations/MachinesOrgList.ts +49 -7
  336. package/src/operations/MachinesReclaimMemory.ts +10 -5
  337. package/src/operations/MachinesReleaseLease.ts +7 -4
  338. package/src/operations/MachinesRestart.ts +17 -4
  339. package/src/operations/MachinesSetMemoryLimit.ts +11 -6
  340. package/src/operations/MachinesShow.ts +519 -4
  341. package/src/operations/MachinesShowLease.ts +13 -4
  342. package/src/operations/MachinesShowMetadata.ts +10 -4
  343. package/src/operations/MachinesSignal.ts +23 -4
  344. package/src/operations/MachinesStart.ts +8 -4
  345. package/src/operations/MachinesStop.ts +17 -4
  346. package/src/operations/MachinesSuspend.ts +8 -4
  347. package/src/operations/MachinesUncordon.ts +8 -4
  348. package/src/operations/MachinesUpdate.ts +767 -5
  349. package/src/operations/MachinesUpdateMetadata.ts +13 -9
  350. package/src/operations/MachinesUpsertMetadata.ts +10 -6
  351. package/src/operations/MachinesWait.ts +23 -4
  352. package/src/operations/PlatformPlacementsPost.ts +26 -6
  353. package/src/operations/PlatformRegionsGet.ts +16 -4
  354. package/src/operations/SecretCreate.ts +16 -4
  355. package/src/operations/SecretDelete.ts +10 -4
  356. package/src/operations/SecretGet.ts +15 -4
  357. package/src/operations/SecretkeyDecrypt.ts +12 -4
  358. package/src/operations/SecretkeyDelete.ts +10 -4
  359. package/src/operations/SecretkeyEncrypt.ts +12 -4
  360. package/src/operations/SecretkeyGenerate.ts +17 -4
  361. package/src/operations/SecretkeyGet.ts +14 -4
  362. package/src/operations/SecretkeySet.ts +17 -4
  363. package/src/operations/SecretkeySign.ts +11 -4
  364. package/src/operations/SecretkeyVerify.ts +11 -4
  365. package/src/operations/SecretkeysList.ts +18 -4
  366. package/src/operations/SecretsList.ts +18 -4
  367. package/src/operations/SecretsUpdate.ts +19 -4
  368. package/src/operations/TokensAuthenticate.ts +54 -0
  369. package/src/operations/TokensAuthorize.ts +122 -0
  370. package/src/operations/TokensRequestKms.ts +7 -4
  371. package/src/operations/TokensRequestOIDC.ts +9 -4
  372. package/src/operations/VolumeDelete.ts +29 -4
  373. package/src/operations/VolumesCreate.ts +53 -4
  374. package/src/operations/VolumesExtend.ts +33 -4
  375. package/src/operations/VolumesGetById.ts +29 -4
  376. package/src/operations/VolumesList.ts +31 -4
  377. package/src/operations/VolumesListSnapshots.ts +15 -4
  378. package/src/operations/VolumesOrgList.ts +44 -4
  379. package/src/operations/VolumesUpdate.ts +31 -4
  380. package/src/operations/createVolumeSnapshot.ts +7 -4
  381. package/src/operations/index.ts +4 -1
@@ -2,12 +2,10 @@ import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
4
  import { Forbidden, NotFound } from "../errors.js";
5
- // Input Schema
6
5
  export const VolumeDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
6
  app_name: Schema.String.pipe(T.PathParam()),
8
7
  volume_id: Schema.String.pipe(T.PathParam()),
9
8
  }).pipe(T.Http({ method: "DELETE", path: "/apps/{app_name}/volumes/{volume_id}" }));
10
- // Output Schema
11
9
  export const VolumeDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12
10
  attached_alloc_id: Schema.optional(Schema.String),
13
11
  attached_machine_id: Schema.optional(Schema.String),
@@ -1 +1 @@
1
- {"version":3,"file":"VolumeDelete.js","sourceRoot":"","sources":["../../src/operations/VolumeDelete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEnD,eAAe;AACf,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzE,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,sCAAsC,EAAE,CAAC,CAC3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AAC;IAClC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACvC,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAClD,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1D,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACrC,CAAgD,CAAC;AAElD,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACtE,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,kBAAkB;IAChC,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CAAC,CAAC"}
@@ -1,56 +1,56 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
3
- export declare const VolumesCreateInput: Schema.Struct<{
4
- readonly app_name: Schema.String;
5
- readonly auto_backup_enabled: Schema.optional<Schema.Boolean>;
6
- readonly compute: Schema.optional<Schema.Struct<{
7
- readonly cpu_kind: Schema.optional<Schema.String>;
8
- readonly cpus: Schema.optional<Schema.Number>;
9
- readonly gpu_kind: Schema.optional<Schema.String>;
10
- readonly gpus: Schema.optional<Schema.Number>;
11
- readonly host_dedication_id: Schema.optional<Schema.String>;
12
- readonly kernel_args: Schema.optional<Schema.$Array<Schema.String>>;
13
- readonly max_memory_mb: Schema.optional<Schema.Number>;
14
- readonly memory_mb: Schema.optional<Schema.Number>;
15
- readonly persist_rootfs: Schema.optional<Schema.Literals<readonly ["never", "always", "restart"]>>;
16
- }>>;
17
- readonly compute_image: Schema.optional<Schema.String>;
18
- readonly encrypted: Schema.optional<Schema.Boolean>;
19
- readonly fstype: Schema.optional<Schema.String>;
20
- readonly name: Schema.optional<Schema.String>;
21
- readonly region: Schema.optional<Schema.String>;
22
- readonly require_unique_zone: Schema.optional<Schema.Boolean>;
23
- readonly size_gb: Schema.optional<Schema.Number>;
24
- readonly snapshot_id: Schema.optional<Schema.String>;
25
- readonly snapshot_retention: Schema.optional<Schema.Number>;
26
- readonly source_volume_id: Schema.optional<Schema.String>;
27
- readonly unique_zone_app_wide: Schema.optional<Schema.Boolean>;
28
- }>;
29
- export type VolumesCreateInput = typeof VolumesCreateInput.Type;
30
- export declare const VolumesCreateOutput: Schema.Struct<{
31
- readonly attached_alloc_id: Schema.optional<Schema.String>;
32
- readonly attached_machine_id: Schema.optional<Schema.String>;
33
- readonly auto_backup_enabled: Schema.optional<Schema.Boolean>;
34
- readonly block_size: Schema.optional<Schema.Number>;
35
- readonly blocks: Schema.optional<Schema.Number>;
36
- readonly blocks_avail: Schema.optional<Schema.Number>;
37
- readonly blocks_free: Schema.optional<Schema.Number>;
38
- readonly bytes_total: Schema.optional<Schema.Number>;
39
- readonly bytes_used: Schema.optional<Schema.Number>;
40
- readonly created_at: Schema.optional<Schema.String>;
41
- readonly encrypted: Schema.optional<Schema.Boolean>;
42
- readonly fstype: Schema.optional<Schema.String>;
43
- readonly host_status: Schema.optional<Schema.Literals<readonly ["ok", "unknown", "unreachable"]>>;
44
- readonly id: Schema.optional<Schema.String>;
45
- readonly name: Schema.optional<Schema.String>;
46
- readonly region: Schema.optional<Schema.String>;
47
- readonly size_gb: Schema.optional<Schema.Number>;
48
- readonly snapshot_retention: Schema.optional<Schema.Number>;
49
- readonly state: Schema.optional<Schema.String>;
50
- readonly type: Schema.optional<Schema.Literals<readonly ["local", "cache"]>>;
51
- readonly zone: Schema.optional<Schema.String>;
52
- }>;
53
- export type VolumesCreateOutput = typeof VolumesCreateOutput.Type;
3
+ export interface VolumesCreateInput {
4
+ app_name: string;
5
+ auto_backup_enabled?: boolean;
6
+ compute?: {
7
+ cpu_kind?: string;
8
+ cpus?: number;
9
+ gpu_kind?: string;
10
+ gpus?: number;
11
+ host_dedication_id?: string;
12
+ kernel_args?: string[];
13
+ max_memory_mb?: number;
14
+ memory_mb?: number;
15
+ persist_rootfs?: "never" | "always" | "restart";
16
+ };
17
+ compute_image?: string;
18
+ encrypted?: boolean;
19
+ fstype?: string;
20
+ name?: string;
21
+ region?: string;
22
+ require_unique_zone?: boolean;
23
+ size_gb?: number;
24
+ snapshot_id?: string;
25
+ snapshot_retention?: number;
26
+ source_volume_id?: string;
27
+ unique_zone_app_wide?: boolean;
28
+ }
29
+ export declare const VolumesCreateInput: Schema.Codec<VolumesCreateInput>;
30
+ export interface VolumesCreateOutput {
31
+ attached_alloc_id?: string;
32
+ attached_machine_id?: string;
33
+ auto_backup_enabled?: boolean;
34
+ block_size?: number;
35
+ blocks?: number;
36
+ blocks_avail?: number;
37
+ blocks_free?: number;
38
+ bytes_total?: number;
39
+ bytes_used?: number;
40
+ created_at?: string;
41
+ encrypted?: boolean;
42
+ fstype?: string;
43
+ host_status?: "ok" | "unknown" | "unreachable";
44
+ id?: string;
45
+ name?: string;
46
+ region?: string;
47
+ size_gb?: number;
48
+ snapshot_retention?: number;
49
+ state?: string;
50
+ type?: "local" | "cache";
51
+ zone?: string;
52
+ }
53
+ export declare const VolumesCreateOutput: Schema.Codec<VolumesCreateOutput>;
54
54
  /**
55
55
  * Create Volume
56
56
  *
@@ -58,52 +58,5 @@ export type VolumesCreateOutput = typeof VolumesCreateOutput.Type;
58
58
  *
59
59
  * @param app_name - Fly App Name
60
60
  */
61
- export declare const VolumesCreate: import("@distilled.cloud/core/client").OperationMethod<{
62
- readonly app_name: string;
63
- readonly auto_backup_enabled?: boolean | undefined;
64
- readonly compute?: {
65
- readonly cpu_kind?: string | undefined;
66
- readonly cpus?: number | undefined;
67
- readonly gpu_kind?: string | undefined;
68
- readonly gpus?: number | undefined;
69
- readonly host_dedication_id?: string | undefined;
70
- readonly kernel_args?: readonly string[] | undefined;
71
- readonly max_memory_mb?: number | undefined;
72
- readonly memory_mb?: number | undefined;
73
- readonly persist_rootfs?: "always" | "never" | "restart" | undefined;
74
- } | undefined;
75
- readonly compute_image?: string | undefined;
76
- readonly encrypted?: boolean | undefined;
77
- readonly fstype?: string | undefined;
78
- readonly name?: string | undefined;
79
- readonly region?: string | undefined;
80
- readonly require_unique_zone?: boolean | undefined;
81
- readonly size_gb?: number | undefined;
82
- readonly snapshot_id?: string | undefined;
83
- readonly snapshot_retention?: number | undefined;
84
- readonly source_volume_id?: string | undefined;
85
- readonly unique_zone_app_wide?: boolean | undefined;
86
- }, {
87
- readonly attached_alloc_id?: string | undefined;
88
- readonly attached_machine_id?: string | undefined;
89
- readonly auto_backup_enabled?: boolean | undefined;
90
- readonly block_size?: number | undefined;
91
- readonly blocks?: number | undefined;
92
- readonly blocks_avail?: number | undefined;
93
- readonly blocks_free?: number | undefined;
94
- readonly bytes_total?: number | undefined;
95
- readonly bytes_used?: number | undefined;
96
- readonly created_at?: string | undefined;
97
- readonly encrypted?: boolean | undefined;
98
- readonly fstype?: string | undefined;
99
- readonly host_status?: "ok" | "unknown" | "unreachable" | undefined;
100
- readonly id?: string | undefined;
101
- readonly name?: string | undefined;
102
- readonly region?: string | undefined;
103
- readonly size_gb?: number | undefined;
104
- readonly snapshot_retention?: number | undefined;
105
- readonly state?: string | undefined;
106
- readonly type?: "cache" | "local" | undefined;
107
- readonly zone?: string | undefined;
108
- }, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
61
+ export declare const VolumesCreate: import("@distilled.cloud/core/client").OperationMethod<VolumesCreateInput, VolumesCreateOutput, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
109
62
  //# sourceMappingURL=VolumesCreate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VolumesCreate.d.ts","sourceRoot":"","sources":["../../src/operations/VolumesCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG/D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;EA6BsC,CAAC;AACtE,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;EAwB9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;;;GAMG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qFAIvB,CAAC"}
1
+ {"version":3,"file":"VolumesCreate.d.ts","sourceRoot":"","sources":["../../src/operations/VolumesCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG/D,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE;QACR,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAC5B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;QACvB,aAAa,CAAC,EAAE,M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C,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,eAAO,MAAM,mBAAmB,EAwBf,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAGnD;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,oLAIvB,CAAC"}
@@ -2,7 +2,6 @@ import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.js";
5
- // Input Schema
6
5
  export const VolumesCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
6
  app_name: Schema.String.pipe(T.PathParam()),
8
7
  auto_backup_enabled: Schema.optional(Schema.Boolean),
@@ -29,7 +28,6 @@ export const VolumesCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
29
28
  source_volume_id: Schema.optional(Schema.String),
30
29
  unique_zone_app_wide: Schema.optional(Schema.Boolean),
31
30
  }).pipe(T.Http({ method: "POST", path: "/apps/{app_name}/volumes" }));
32
- // Output Schema
33
31
  export const VolumesCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
34
32
  attached_alloc_id: Schema.optional(Schema.String),
35
33
  attached_machine_id: Schema.optional(Schema.String),
@@ -1 +1 @@
1
- {"version":3,"file":"VolumesCreate.js","sourceRoot":"","sources":["../../src/operations/VolumesCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,M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AAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAClD,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1D,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACrC,CAAiD,CAAC;AAEnD,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACvE,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,MAAM,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,CAAU;CACnD,CAAC,CAAC,CAAC"}
@@ -1,38 +1,38 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
3
- export declare const VolumesExtendInput: Schema.Struct<{
4
- readonly app_name: Schema.String;
5
- readonly volume_id: Schema.String;
6
- readonly size_gb: Schema.optional<Schema.Number>;
7
- }>;
8
- export type VolumesExtendInput = typeof VolumesExtendInput.Type;
9
- export declare const VolumesExtendOutput: Schema.Struct<{
10
- readonly needs_restart: Schema.optional<Schema.Boolean>;
11
- readonly volume: Schema.optional<Schema.Struct<{
12
- readonly attached_alloc_id: Schema.optional<Schema.String>;
13
- readonly attached_machine_id: Schema.optional<Schema.String>;
14
- readonly auto_backup_enabled: Schema.optional<Schema.Boolean>;
15
- readonly block_size: Schema.optional<Schema.Number>;
16
- readonly blocks: Schema.optional<Schema.Number>;
17
- readonly blocks_avail: Schema.optional<Schema.Number>;
18
- readonly blocks_free: Schema.optional<Schema.Number>;
19
- readonly bytes_total: Schema.optional<Schema.Number>;
20
- readonly bytes_used: Schema.optional<Schema.Number>;
21
- readonly created_at: Schema.optional<Schema.String>;
22
- readonly encrypted: Schema.optional<Schema.Boolean>;
23
- readonly fstype: Schema.optional<Schema.String>;
24
- readonly host_status: Schema.optional<Schema.Literals<readonly ["ok", "unknown", "unreachable"]>>;
25
- readonly id: Schema.optional<Schema.String>;
26
- readonly name: Schema.optional<Schema.String>;
27
- readonly region: Schema.optional<Schema.String>;
28
- readonly size_gb: Schema.optional<Schema.Number>;
29
- readonly snapshot_retention: Schema.optional<Schema.Number>;
30
- readonly state: Schema.optional<Schema.String>;
31
- readonly type: Schema.optional<Schema.Literals<readonly ["local", "cache"]>>;
32
- readonly zone: Schema.optional<Schema.String>;
33
- }>>;
34
- }>;
35
- export type VolumesExtendOutput = typeof VolumesExtendOutput.Type;
3
+ export interface VolumesExtendInput {
4
+ app_name: string;
5
+ volume_id: string;
6
+ size_gb?: number;
7
+ }
8
+ export declare const VolumesExtendInput: Schema.Codec<VolumesExtendInput>;
9
+ export interface VolumesExtendOutput {
10
+ needs_restart?: boolean;
11
+ volume?: {
12
+ attached_alloc_id?: string;
13
+ attached_machine_id?: string;
14
+ auto_backup_enabled?: boolean;
15
+ block_size?: number;
16
+ blocks?: number;
17
+ blocks_avail?: number;
18
+ blocks_free?: number;
19
+ bytes_total?: number;
20
+ bytes_used?: number;
21
+ created_at?: string;
22
+ encrypted?: boolean;
23
+ fstype?: string;
24
+ host_status?: "ok" | "unknown" | "unreachable";
25
+ id?: string;
26
+ name?: string;
27
+ region?: string;
28
+ size_gb?: number;
29
+ snapshot_retention?: number;
30
+ state?: string;
31
+ type?: "local" | "cache";
32
+ zone?: string;
33
+ };
34
+ }
35
+ export declare const VolumesExtendOutput: Schema.Codec<VolumesExtendOutput>;
36
36
  /**
37
37
  * Extend Volume
38
38
  *
@@ -41,34 +41,5 @@ export type VolumesExtendOutput = typeof VolumesExtendOutput.Type;
41
41
  * @param app_name - Fly App Name
42
42
  * @param volume_id - Volume ID
43
43
  */
44
- export declare const VolumesExtend: import("@distilled.cloud/core/client").OperationMethod<{
45
- readonly app_name: string;
46
- readonly volume_id: string;
47
- readonly size_gb?: number | undefined;
48
- }, {
49
- readonly needs_restart?: boolean | undefined;
50
- readonly volume?: {
51
- readonly attached_alloc_id?: string | undefined;
52
- readonly attached_machine_id?: string | undefined;
53
- readonly auto_backup_enabled?: boolean | undefined;
54
- readonly block_size?: number | undefined;
55
- readonly blocks?: number | undefined;
56
- readonly blocks_avail?: number | undefined;
57
- readonly blocks_free?: number | undefined;
58
- readonly bytes_total?: number | undefined;
59
- readonly bytes_used?: number | undefined;
60
- readonly created_at?: string | undefined;
61
- readonly encrypted?: boolean | undefined;
62
- readonly fstype?: string | undefined;
63
- readonly host_status?: "ok" | "unknown" | "unreachable" | undefined;
64
- readonly id?: string | undefined;
65
- readonly name?: string | undefined;
66
- readonly region?: string | undefined;
67
- readonly size_gb?: number | undefined;
68
- readonly snapshot_retention?: number | undefined;
69
- readonly state?: string | undefined;
70
- readonly type?: "cache" | "local" | undefined;
71
- readonly zone?: string | undefined;
72
- } | undefined;
73
- }, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
44
+ export declare const VolumesExtend: import("@distilled.cloud/core/client").OperationMethod<VolumesExtendInput, VolumesExtendOutput, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
74
45
  //# sourceMappingURL=VolumesExtend.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VolumesExtend.d.ts","sourceRoot":"","sources":["../../src/operations/VolumesExtend.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG/D,eAAO,MAAM,kBAAkB;;;;EAS9B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;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,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;QACzB,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AACD,eAAO,MAAM,mBAAmB,EA6Bf,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAGnD;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,oLAIvB,CAAC"}
@@ -2,7 +2,6 @@ import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.js";
5
- // Input Schema
6
5
  export const VolumesExtendInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
6
  app_name: Schema.String.pipe(T.PathParam()),
8
7
  volume_id: Schema.String.pipe(T.PathParam()),
@@ -11,7 +10,6 @@ export const VolumesExtendInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
11
10
  method: "PUT",
12
11
  path: "/apps/{app_name}/volumes/{volume_id}/extend",
13
12
  }));
14
- // Output Schema
15
13
  export const VolumesExtendOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
16
14
  needs_restart: Schema.optional(Schema.Boolean),
17
15
  volume: Schema.optional(Schema.Struct({
@@ -1 +1 @@
1
- {"version":3,"file":"VolumesExtend.js","sourceRoot":"","sources":["../../src/operations/VolumesExtend.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,C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AAC,QAAQ,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;QAC1D,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACrC,CAAC,CACH;CACF,CAAiD,CAAC;AAEnD,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACvE,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,MAAM,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,CAAU;CACnD,CAAC,CAAC,CAAC"}
@@ -1,34 +1,34 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { Forbidden, NotFound } from "../errors.ts";
3
- export declare const VolumesGetByIdInput: Schema.Struct<{
4
- readonly app_name: Schema.String;
5
- readonly volume_id: Schema.String;
6
- }>;
7
- export type VolumesGetByIdInput = typeof VolumesGetByIdInput.Type;
8
- export declare const VolumesGetByIdOutput: Schema.Struct<{
9
- readonly attached_alloc_id: Schema.optional<Schema.String>;
10
- readonly attached_machine_id: Schema.optional<Schema.String>;
11
- readonly auto_backup_enabled: Schema.optional<Schema.Boolean>;
12
- readonly block_size: Schema.optional<Schema.Number>;
13
- readonly blocks: Schema.optional<Schema.Number>;
14
- readonly blocks_avail: Schema.optional<Schema.Number>;
15
- readonly blocks_free: Schema.optional<Schema.Number>;
16
- readonly bytes_total: Schema.optional<Schema.Number>;
17
- readonly bytes_used: Schema.optional<Schema.Number>;
18
- readonly created_at: Schema.optional<Schema.String>;
19
- readonly encrypted: Schema.optional<Schema.Boolean>;
20
- readonly fstype: Schema.optional<Schema.String>;
21
- readonly host_status: Schema.optional<Schema.Literals<readonly ["ok", "unknown", "unreachable"]>>;
22
- readonly id: Schema.optional<Schema.String>;
23
- readonly name: Schema.optional<Schema.String>;
24
- readonly region: Schema.optional<Schema.String>;
25
- readonly size_gb: Schema.optional<Schema.Number>;
26
- readonly snapshot_retention: Schema.optional<Schema.Number>;
27
- readonly state: Schema.optional<Schema.String>;
28
- readonly type: Schema.optional<Schema.Literals<readonly ["local", "cache"]>>;
29
- readonly zone: Schema.optional<Schema.String>;
30
- }>;
31
- export type VolumesGetByIdOutput = typeof VolumesGetByIdOutput.Type;
3
+ export interface VolumesGetByIdInput {
4
+ app_name: string;
5
+ volume_id: string;
6
+ }
7
+ export declare const VolumesGetByIdInput: Schema.Codec<VolumesGetByIdInput>;
8
+ export interface VolumesGetByIdOutput {
9
+ attached_alloc_id?: string;
10
+ attached_machine_id?: string;
11
+ auto_backup_enabled?: boolean;
12
+ block_size?: number;
13
+ blocks?: number;
14
+ blocks_avail?: number;
15
+ blocks_free?: number;
16
+ bytes_total?: number;
17
+ bytes_used?: number;
18
+ created_at?: string;
19
+ encrypted?: boolean;
20
+ fstype?: string;
21
+ host_status?: "ok" | "unknown" | "unreachable";
22
+ id?: string;
23
+ name?: string;
24
+ region?: string;
25
+ size_gb?: number;
26
+ snapshot_retention?: number;
27
+ state?: string;
28
+ type?: "local" | "cache";
29
+ zone?: string;
30
+ }
31
+ export declare const VolumesGetByIdOutput: Schema.Codec<VolumesGetByIdOutput>;
32
32
  /**
33
33
  * Get Volume
34
34
  *
@@ -37,30 +37,5 @@ export type VolumesGetByIdOutput = typeof VolumesGetByIdOutput.Type;
37
37
  * @param app_name - Fly App Name
38
38
  * @param volume_id - Volume ID
39
39
  */
40
- export declare const VolumesGetById: import("@distilled.cloud/core/client").OperationMethod<{
41
- readonly app_name: string;
42
- readonly volume_id: string;
43
- }, {
44
- readonly attached_alloc_id?: string | undefined;
45
- readonly attached_machine_id?: string | undefined;
46
- readonly auto_backup_enabled?: boolean | undefined;
47
- readonly block_size?: number | undefined;
48
- readonly blocks?: number | undefined;
49
- readonly blocks_avail?: number | undefined;
50
- readonly blocks_free?: number | undefined;
51
- readonly bytes_total?: number | undefined;
52
- readonly bytes_used?: number | undefined;
53
- readonly created_at?: string | undefined;
54
- readonly encrypted?: boolean | undefined;
55
- readonly fstype?: string | undefined;
56
- readonly host_status?: "ok" | "unknown" | "unreachable" | undefined;
57
- readonly id?: string | undefined;
58
- readonly name?: string | undefined;
59
- readonly region?: string | undefined;
60
- readonly size_gb?: number | undefined;
61
- readonly snapshot_retention?: number | undefined;
62
- readonly state?: string | undefined;
63
- readonly type?: "cache" | "local" | undefined;
64
- readonly zone?: string | undefined;
65
- }, Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
40
+ export declare const VolumesGetById: import("@distilled.cloud/core/client").OperationMethod<VolumesGetByIdInput, VolumesGetByIdOutput, Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
66
41
  //# sourceMappingURL=VolumesGetById.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VolumesGetById.d.ts","sourceRoot":"","sources":["../../src/operations/VolumesGetById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,eAAO,MAAM,mBAAmB;;;EAK/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;EAwB/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;wEAIxB,CAAC"}
1
+ {"version":3,"file":"VolumesGetById.d.ts","sourceRoot":"","sources":["../../src/operations/VolumesGetById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,eAAO,MAAM,mBAAmB,EAKhB,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAGlD,MAAM,WAAW,oBAAoB;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,aAAa,CAAC;IAC/C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,eAAO,MAAM,oBAAoB,EAwBhB,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;AAGpD;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,yKAIxB,CAAC"}
@@ -2,12 +2,10 @@ import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.js";
3
3
  import * as T from "../traits.js";
4
4
  import { Forbidden, NotFound } from "../errors.js";
5
- // Input Schema
6
5
  export const VolumesGetByIdInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
6
  app_name: Schema.String.pipe(T.PathParam()),
8
7
  volume_id: Schema.String.pipe(T.PathParam()),
9
8
  }).pipe(T.Http({ method: "GET", path: "/apps/{app_name}/volumes/{volume_id}" }));
10
- // Output Schema
11
9
  export const VolumesGetByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12
10
  attached_alloc_id: Schema.optional(Schema.String),
13
11
  attached_machine_id: Schema.optional(Schema.String),
@@ -1 +1 @@
1
- {"version":3,"file":"VolumesGetById.js","sourceRoot":"","sources":["../../src/operations/VolumesGetById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEnD,eAAe;AACf,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3E,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,sCAAsC,EAAE,CAAC,CACxE,CAAC;AAGF,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5E,iBAAiB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACjD,mBAAmB,EAAE,MAAM,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vC,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAClD,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1D,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACrC,CAAkD,CAAC;AAEpD,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACxE,WAAW,EAAE,mBAAmB;IAChC,YAAY,EAAE,oBAAoB;IAClC,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CAAC,CAAC"}
@@ -1,34 +1,34 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { Forbidden, NotFound } from "../errors.ts";
3
- export declare const VolumesListInput: Schema.Struct<{
4
- readonly app_name: Schema.String;
5
- readonly summary: Schema.optional<Schema.Boolean>;
6
- }>;
7
- export type VolumesListInput = typeof VolumesListInput.Type;
8
- export declare const VolumesListOutput: Schema.$Array<Schema.Struct<{
9
- readonly attached_alloc_id: Schema.optional<Schema.String>;
10
- readonly attached_machine_id: Schema.optional<Schema.String>;
11
- readonly auto_backup_enabled: Schema.optional<Schema.Boolean>;
12
- readonly block_size: Schema.optional<Schema.Number>;
13
- readonly blocks: Schema.optional<Schema.Number>;
14
- readonly blocks_avail: Schema.optional<Schema.Number>;
15
- readonly blocks_free: Schema.optional<Schema.Number>;
16
- readonly bytes_total: Schema.optional<Schema.Number>;
17
- readonly bytes_used: Schema.optional<Schema.Number>;
18
- readonly created_at: Schema.optional<Schema.String>;
19
- readonly encrypted: Schema.optional<Schema.Boolean>;
20
- readonly fstype: Schema.optional<Schema.String>;
21
- readonly host_status: Schema.optional<Schema.Literals<readonly ["ok", "unknown", "unreachable"]>>;
22
- readonly id: Schema.optional<Schema.String>;
23
- readonly name: Schema.optional<Schema.String>;
24
- readonly region: Schema.optional<Schema.String>;
25
- readonly size_gb: Schema.optional<Schema.Number>;
26
- readonly snapshot_retention: Schema.optional<Schema.Number>;
27
- readonly state: Schema.optional<Schema.String>;
28
- readonly type: Schema.optional<Schema.Literals<readonly ["local", "cache"]>>;
29
- readonly zone: Schema.optional<Schema.String>;
30
- }>>;
31
- export type VolumesListOutput = typeof VolumesListOutput.Type;
3
+ export interface VolumesListInput {
4
+ app_name: string;
5
+ summary?: boolean;
6
+ }
7
+ export declare const VolumesListInput: Schema.Codec<VolumesListInput>;
8
+ export type VolumesListOutput = {
9
+ attached_alloc_id?: string;
10
+ attached_machine_id?: string;
11
+ auto_backup_enabled?: boolean;
12
+ block_size?: number;
13
+ blocks?: number;
14
+ blocks_avail?: number;
15
+ blocks_free?: number;
16
+ bytes_total?: number;
17
+ bytes_used?: number;
18
+ created_at?: string;
19
+ encrypted?: boolean;
20
+ fstype?: string;
21
+ host_status?: "ok" | "unknown" | "unreachable";
22
+ id?: string;
23
+ name?: string;
24
+ region?: string;
25
+ size_gb?: number;
26
+ snapshot_retention?: number;
27
+ state?: string;
28
+ type?: "local" | "cache";
29
+ zone?: string;
30
+ }[];
31
+ export declare const VolumesListOutput: Schema.Codec<VolumesListOutput>;
32
32
  /**
33
33
  * List Volumes
34
34
  *
@@ -37,30 +37,5 @@ export type VolumesListOutput = typeof VolumesListOutput.Type;
37
37
  * @param app_name - Fly App Name
38
38
  * @param summary - Only return summary info about volumes (omit blocks, block size, etc)
39
39
  */
40
- export declare const VolumesList: import("@distilled.cloud/core/client").OperationMethod<{
41
- readonly app_name: string;
42
- readonly summary?: boolean | undefined;
43
- }, readonly {
44
- readonly attached_alloc_id?: string | undefined;
45
- readonly attached_machine_id?: string | undefined;
46
- readonly auto_backup_enabled?: boolean | undefined;
47
- readonly block_size?: number | undefined;
48
- readonly blocks?: number | undefined;
49
- readonly blocks_avail?: number | undefined;
50
- readonly blocks_free?: number | undefined;
51
- readonly bytes_total?: number | undefined;
52
- readonly bytes_used?: number | undefined;
53
- readonly created_at?: string | undefined;
54
- readonly encrypted?: boolean | undefined;
55
- readonly fstype?: string | undefined;
56
- readonly host_status?: "ok" | "unknown" | "unreachable" | undefined;
57
- readonly id?: string | undefined;
58
- readonly name?: string | undefined;
59
- readonly region?: string | undefined;
60
- readonly size_gb?: number | undefined;
61
- readonly snapshot_retention?: number | undefined;
62
- readonly state?: string | undefined;
63
- readonly type?: "cache" | "local" | undefined;
64
- readonly zone?: string | undefined;
65
- }[], Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
40
+ export declare const VolumesList: import("@distilled.cloud/core/client").OperationMethod<VolumesListInput, VolumesListOutput, Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
66
41
  //# sourceMappingURL=VolumesList.d.ts.map