@distilled.cloud/fly-io 0.30.3 → 1.0.0-rc.10

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 (526) hide show
  1. package/LICENSE +201 -0
  2. package/lib/credentials.d.ts +24 -1
  3. package/lib/credentials.d.ts.map +1 -1
  4. package/lib/credentials.js +51 -5
  5. package/lib/credentials.js.map +1 -1
  6. package/lib/errors.d.ts +54 -4
  7. package/lib/errors.d.ts.map +1 -1
  8. package/lib/errors.js +46 -7
  9. package/lib/errors.js.map +1 -1
  10. package/lib/index.d.ts +30 -8
  11. package/lib/index.d.ts.map +1 -1
  12. package/lib/index.js +30 -8
  13. package/lib/index.js.map +1 -1
  14. package/lib/pagination.d.ts +5 -0
  15. package/lib/pagination.d.ts.map +1 -0
  16. package/lib/pagination.js +5 -0
  17. package/lib/pagination.js.map +1 -0
  18. package/lib/protocol.d.ts +60 -0
  19. package/lib/protocol.d.ts.map +1 -0
  20. package/lib/protocol.js +541 -0
  21. package/lib/protocol.js.map +1 -0
  22. package/lib/retry.d.ts +4 -4
  23. package/lib/retry.js +4 -4
  24. package/lib/services/addons.d.ts +466 -0
  25. package/lib/services/addons.d.ts.map +1 -0
  26. package/lib/services/addons.js +613 -0
  27. package/lib/services/addons.js.map +1 -0
  28. package/lib/services/index.d.ts +5 -0
  29. package/lib/services/index.d.ts.map +1 -0
  30. package/lib/services/index.js +6 -0
  31. package/lib/services/index.js.map +1 -0
  32. package/lib/services/machines.d.ts +2763 -0
  33. package/lib/services/machines.d.ts.map +1 -0
  34. package/lib/services/machines.js +3087 -0
  35. package/lib/services/machines.js.map +1 -0
  36. package/lib/services/mpg.d.ts +376 -0
  37. package/lib/services/mpg.d.ts.map +1 -0
  38. package/lib/services/mpg.js +570 -0
  39. package/lib/services/mpg.js.map +1 -0
  40. package/lib/services/sprites.d.ts +321 -0
  41. package/lib/services/sprites.d.ts.map +1 -0
  42. package/lib/services/sprites.js +407 -0
  43. package/lib/services/sprites.js.map +1 -0
  44. package/lib/traits.d.ts +18 -2
  45. package/lib/traits.d.ts.map +1 -1
  46. package/lib/traits.js +18 -2
  47. package/lib/traits.js.map +1 -1
  48. package/package.json +61 -41
  49. package/src/credentials.ts +65 -5
  50. package/src/errors.ts +65 -8
  51. package/src/index.ts +40 -8
  52. package/src/pagination.ts +12 -0
  53. package/src/protocol.ts +774 -0
  54. package/src/retry.ts +4 -4
  55. package/src/services/addons.ts +1313 -0
  56. package/src/services/index.ts +5 -0
  57. package/src/services/machines.ts +7438 -0
  58. package/src/services/mpg.ts +1188 -0
  59. package/src/services/sprites.ts +917 -0
  60. package/src/traits.ts +76 -2
  61. package/README.md +0 -69
  62. package/lib/category.d.ts +0 -5
  63. package/lib/category.d.ts.map +0 -1
  64. package/lib/category.js +0 -5
  65. package/lib/category.js.map +0 -1
  66. package/lib/client.d.ts +0 -11
  67. package/lib/client.d.ts.map +0 -1
  68. package/lib/client.js +0 -56
  69. package/lib/client.js.map +0 -1
  70. package/lib/operations/AppCertificatesAcmeCreate.d.ts +0 -61
  71. package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +0 -1
  72. package/lib/operations/AppCertificatesAcmeCreate.js +0 -72
  73. package/lib/operations/AppCertificatesAcmeCreate.js.map +0 -1
  74. package/lib/operations/AppCertificatesAcmeDelete.d.ts +0 -62
  75. package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +0 -1
  76. package/lib/operations/AppCertificatesAcmeDelete.js +0 -76
  77. package/lib/operations/AppCertificatesAcmeDelete.js.map +0 -1
  78. package/lib/operations/AppCertificatesCheck.d.ts +0 -71
  79. package/lib/operations/AppCertificatesCheck.d.ts.map +0 -1
  80. package/lib/operations/AppCertificatesCheck.js +0 -85
  81. package/lib/operations/AppCertificatesCheck.js.map +0 -1
  82. package/lib/operations/AppCertificatesCustomCreate.d.ts +0 -64
  83. package/lib/operations/AppCertificatesCustomCreate.d.ts.map +0 -1
  84. package/lib/operations/AppCertificatesCustomCreate.js +0 -76
  85. package/lib/operations/AppCertificatesCustomCreate.js.map +0 -1
  86. package/lib/operations/AppCertificatesCustomDelete.d.ts +0 -63
  87. package/lib/operations/AppCertificatesCustomDelete.d.ts.map +0 -1
  88. package/lib/operations/AppCertificatesCustomDelete.js +0 -77
  89. package/lib/operations/AppCertificatesCustomDelete.js.map +0 -1
  90. package/lib/operations/AppCertificatesDelete.d.ts +0 -17
  91. package/lib/operations/AppCertificatesDelete.d.ts.map +0 -1
  92. package/lib/operations/AppCertificatesDelete.js +0 -27
  93. package/lib/operations/AppCertificatesDelete.js.map +0 -1
  94. package/lib/operations/AppCertificatesList.d.ts +0 -39
  95. package/lib/operations/AppCertificatesList.d.ts.map +0 -1
  96. package/lib/operations/AppCertificatesList.js +0 -46
  97. package/lib/operations/AppCertificatesList.js.map +0 -1
  98. package/lib/operations/AppCertificatesShow.d.ts +0 -62
  99. package/lib/operations/AppCertificatesShow.d.ts.map +0 -1
  100. package/lib/operations/AppCertificatesShow.js +0 -73
  101. package/lib/operations/AppCertificatesShow.js.map +0 -1
  102. package/lib/operations/AppCreateDeployToken.d.ts +0 -18
  103. package/lib/operations/AppCreateDeployToken.d.ts.map +0 -1
  104. package/lib/operations/AppCreateDeployToken.js +0 -25
  105. package/lib/operations/AppCreateDeployToken.js.map +0 -1
  106. package/lib/operations/AppIPAssignmentsCreate.d.ts +0 -26
  107. package/lib/operations/AppIPAssignmentsCreate.d.ts.map +0 -1
  108. package/lib/operations/AppIPAssignmentsCreate.js +0 -33
  109. package/lib/operations/AppIPAssignmentsCreate.js.map +0 -1
  110. package/lib/operations/AppIPAssignmentsDelete.d.ts +0 -17
  111. package/lib/operations/AppIPAssignmentsDelete.d.ts.map +0 -1
  112. package/lib/operations/AppIPAssignmentsDelete.js +0 -24
  113. package/lib/operations/AppIPAssignmentsDelete.js.map +0 -1
  114. package/lib/operations/AppIPAssignmentsList.d.ts +0 -23
  115. package/lib/operations/AppIPAssignmentsList.d.ts.map +0 -1
  116. package/lib/operations/AppIPAssignmentsList.js +0 -30
  117. package/lib/operations/AppIPAssignmentsList.js.map +0 -1
  118. package/lib/operations/App_CertificatesAcmeCreate.d.ts +0 -104
  119. package/lib/operations/App_CertificatesAcmeCreate.d.ts.map +0 -1
  120. package/lib/operations/App_CertificatesAcmeCreate.js +0 -69
  121. package/lib/operations/App_CertificatesAcmeCreate.js.map +0 -1
  122. package/lib/operations/App_CertificatesAcmeDelete.d.ts +0 -100
  123. package/lib/operations/App_CertificatesAcmeDelete.d.ts.map +0 -1
  124. package/lib/operations/App_CertificatesAcmeDelete.js +0 -70
  125. package/lib/operations/App_CertificatesAcmeDelete.js.map +0 -1
  126. package/lib/operations/App_CertificatesCheck.d.ts +0 -118
  127. package/lib/operations/App_CertificatesCheck.d.ts.map +0 -1
  128. package/lib/operations/App_CertificatesCheck.js +0 -79
  129. package/lib/operations/App_CertificatesCheck.js.map +0 -1
  130. package/lib/operations/App_CertificatesCustomCreate.d.ts +0 -108
  131. package/lib/operations/App_CertificatesCustomCreate.d.ts.map +0 -1
  132. package/lib/operations/App_CertificatesCustomCreate.js +0 -72
  133. package/lib/operations/App_CertificatesCustomCreate.js.map +0 -1
  134. package/lib/operations/App_CertificatesCustomDelete.d.ts +0 -102
  135. package/lib/operations/App_CertificatesCustomDelete.d.ts.map +0 -1
  136. package/lib/operations/App_CertificatesCustomDelete.js +0 -72
  137. package/lib/operations/App_CertificatesCustomDelete.js.map +0 -1
  138. package/lib/operations/App_CertificatesDelete.d.ts +0 -10
  139. package/lib/operations/App_CertificatesDelete.d.ts.map +0 -1
  140. package/lib/operations/App_CertificatesDelete.js +0 -20
  141. package/lib/operations/App_CertificatesDelete.js.map +0 -1
  142. package/lib/operations/App_CertificatesList.d.ts +0 -58
  143. package/lib/operations/App_CertificatesList.d.ts.map +0 -1
  144. package/lib/operations/App_CertificatesList.js +0 -44
  145. package/lib/operations/App_CertificatesList.js.map +0 -1
  146. package/lib/operations/App_CertificatesShow.d.ts +0 -100
  147. package/lib/operations/App_CertificatesShow.d.ts.map +0 -1
  148. package/lib/operations/App_CertificatesShow.js +0 -67
  149. package/lib/operations/App_CertificatesShow.js.map +0 -1
  150. package/lib/operations/App_IPAssignmentsCreate.d.ts +0 -34
  151. package/lib/operations/App_IPAssignmentsCreate.d.ts.map +0 -1
  152. package/lib/operations/App_IPAssignmentsCreate.js +0 -30
  153. package/lib/operations/App_IPAssignmentsCreate.js.map +0 -1
  154. package/lib/operations/App_IPAssignmentsDelete.d.ts +0 -10
  155. package/lib/operations/App_IPAssignmentsDelete.d.ts.map +0 -1
  156. package/lib/operations/App_IPAssignmentsDelete.js +0 -17
  157. package/lib/operations/App_IPAssignmentsDelete.js.map +0 -1
  158. package/lib/operations/App_IPAssignmentsList.d.ts +0 -26
  159. package/lib/operations/App_IPAssignmentsList.d.ts.map +0 -1
  160. package/lib/operations/App_IPAssignmentsList.js +0 -26
  161. package/lib/operations/App_IPAssignmentsList.js.map +0 -1
  162. package/lib/operations/AppsCreate.d.ts +0 -18
  163. package/lib/operations/AppsCreate.d.ts.map +0 -1
  164. package/lib/operations/AppsCreate.js +0 -24
  165. package/lib/operations/AppsCreate.js.map +0 -1
  166. package/lib/operations/AppsDelete.d.ts +0 -17
  167. package/lib/operations/AppsDelete.d.ts.map +0 -1
  168. package/lib/operations/AppsDelete.js +0 -23
  169. package/lib/operations/AppsDelete.js.map +0 -1
  170. package/lib/operations/AppsList.d.ts +0 -35
  171. package/lib/operations/AppsList.d.ts.map +0 -1
  172. package/lib/operations/AppsList.js +0 -40
  173. package/lib/operations/AppsList.js.map +0 -1
  174. package/lib/operations/AppsShow.d.ts +0 -30
  175. package/lib/operations/AppsShow.d.ts.map +0 -1
  176. package/lib/operations/AppsShow.js +0 -35
  177. package/lib/operations/AppsShow.js.map +0 -1
  178. package/lib/operations/CurrentTokenShow.d.ts +0 -23
  179. package/lib/operations/CurrentTokenShow.d.ts.map +0 -1
  180. package/lib/operations/CurrentTokenShow.js +0 -26
  181. package/lib/operations/CurrentTokenShow.js.map +0 -1
  182. package/lib/operations/MachinesCordon.d.ts +0 -19
  183. package/lib/operations/MachinesCordon.d.ts.map +0 -1
  184. package/lib/operations/MachinesCordon.js +0 -28
  185. package/lib/operations/MachinesCordon.js.map +0 -1
  186. package/lib/operations/MachinesCreate.d.ts +0 -810
  187. package/lib/operations/MachinesCreate.d.ts.map +0 -1
  188. package/lib/operations/MachinesCreate.js +0 -917
  189. package/lib/operations/MachinesCreate.js.map +0 -1
  190. package/lib/operations/MachinesCreateLease.d.ts +0 -28
  191. package/lib/operations/MachinesCreateLease.d.ts.map +0 -1
  192. package/lib/operations/MachinesCreateLease.js +0 -38
  193. package/lib/operations/MachinesCreateLease.js.map +0 -1
  194. package/lib/operations/MachinesDelete.d.ts +0 -21
  195. package/lib/operations/MachinesDelete.d.ts.map +0 -1
  196. package/lib/operations/MachinesDelete.js +0 -27
  197. package/lib/operations/MachinesDelete.js.map +0 -1
  198. package/lib/operations/MachinesDeleteMetadata.d.ts +0 -21
  199. package/lib/operations/MachinesDeleteMetadata.d.ts.map +0 -1
  200. package/lib/operations/MachinesDeleteMetadata.js +0 -31
  201. package/lib/operations/MachinesDeleteMetadata.js.map +0 -1
  202. package/lib/operations/MachinesExec.d.ts +0 -29
  203. package/lib/operations/MachinesExec.d.ts.map +0 -1
  204. package/lib/operations/MachinesExec.js +0 -37
  205. package/lib/operations/MachinesExec.js.map +0 -1
  206. package/lib/operations/MachinesGetMemory.d.ts +0 -22
  207. package/lib/operations/MachinesGetMemory.d.ts.map +0 -1
  208. package/lib/operations/MachinesGetMemory.js +0 -31
  209. package/lib/operations/MachinesGetMemory.js.map +0 -1
  210. package/lib/operations/MachinesGetMetadataKey.d.ts +0 -23
  211. package/lib/operations/MachinesGetMetadataKey.d.ts.map +0 -1
  212. package/lib/operations/MachinesGetMetadataKey.js +0 -33
  213. package/lib/operations/MachinesGetMetadataKey.js.map +0 -1
  214. package/lib/operations/MachinesList.d.ts +0 -559
  215. package/lib/operations/MachinesList.d.ts.map +0 -1
  216. package/lib/operations/MachinesList.js +0 -642
  217. package/lib/operations/MachinesList.js.map +0 -1
  218. package/lib/operations/MachinesListEvents.d.ts +0 -28
  219. package/lib/operations/MachinesListEvents.d.ts.map +0 -1
  220. package/lib/operations/MachinesListEvents.js +0 -38
  221. package/lib/operations/MachinesListEvents.js.map +0 -1
  222. package/lib/operations/MachinesListProcesses.d.ts +0 -35
  223. package/lib/operations/MachinesListProcesses.d.ts.map +0 -1
  224. package/lib/operations/MachinesListProcesses.js +0 -45
  225. package/lib/operations/MachinesListProcesses.js.map +0 -1
  226. package/lib/operations/MachinesListVersions.d.ts +0 -272
  227. package/lib/operations/MachinesListVersions.d.ts.map +0 -1
  228. package/lib/operations/MachinesListVersions.js +0 -321
  229. package/lib/operations/MachinesListVersions.js.map +0 -1
  230. package/lib/operations/MachinesOrgList.d.ts +0 -63
  231. package/lib/operations/MachinesOrgList.d.ts.map +0 -1
  232. package/lib/operations/MachinesOrgList.js +0 -68
  233. package/lib/operations/MachinesOrgList.js.map +0 -1
  234. package/lib/operations/MachinesPatchMetadata.d.ts +0 -23
  235. package/lib/operations/MachinesPatchMetadata.d.ts.map +0 -1
  236. package/lib/operations/MachinesPatchMetadata.js +0 -31
  237. package/lib/operations/MachinesPatchMetadata.js.map +0 -1
  238. package/lib/operations/MachinesReclaimMemory.d.ts +0 -22
  239. package/lib/operations/MachinesReclaimMemory.d.ts.map +0 -1
  240. package/lib/operations/MachinesReclaimMemory.js +0 -32
  241. package/lib/operations/MachinesReclaimMemory.js.map +0 -1
  242. package/lib/operations/MachinesReleaseLease.d.ts +0 -20
  243. package/lib/operations/MachinesReleaseLease.d.ts.map +0 -1
  244. package/lib/operations/MachinesReleaseLease.js +0 -30
  245. package/lib/operations/MachinesReleaseLease.js.map +0 -1
  246. package/lib/operations/MachinesRestart.d.ts +0 -23
  247. package/lib/operations/MachinesRestart.d.ts.map +0 -1
  248. package/lib/operations/MachinesRestart.js +0 -40
  249. package/lib/operations/MachinesRestart.js.map +0 -1
  250. package/lib/operations/MachinesSetMemoryLimit.d.ts +0 -23
  251. package/lib/operations/MachinesSetMemoryLimit.d.ts.map +0 -1
  252. package/lib/operations/MachinesSetMemoryLimit.js +0 -33
  253. package/lib/operations/MachinesSetMemoryLimit.js.map +0 -1
  254. package/lib/operations/MachinesShow.d.ts +0 -553
  255. package/lib/operations/MachinesShow.d.ts.map +0 -1
  256. package/lib/operations/MachinesShow.js +0 -626
  257. package/lib/operations/MachinesShow.js.map +0 -1
  258. package/lib/operations/MachinesShowLease.d.ts +0 -25
  259. package/lib/operations/MachinesShowLease.d.ts.map +0 -1
  260. package/lib/operations/MachinesShowLease.js +0 -34
  261. package/lib/operations/MachinesShowLease.js.map +0 -1
  262. package/lib/operations/MachinesShowMetadata.d.ts +0 -19
  263. package/lib/operations/MachinesShowMetadata.d.ts.map +0 -1
  264. package/lib/operations/MachinesShowMetadata.js +0 -29
  265. package/lib/operations/MachinesShowMetadata.js.map +0 -1
  266. package/lib/operations/MachinesSignal.d.ts +0 -20
  267. package/lib/operations/MachinesSignal.d.ts.map +0 -1
  268. package/lib/operations/MachinesSignal.js +0 -44
  269. package/lib/operations/MachinesSignal.js.map +0 -1
  270. package/lib/operations/MachinesStart.d.ts +0 -19
  271. package/lib/operations/MachinesStart.d.ts.map +0 -1
  272. package/lib/operations/MachinesStart.js +0 -28
  273. package/lib/operations/MachinesStart.js.map +0 -1
  274. package/lib/operations/MachinesStop.d.ts +0 -21
  275. package/lib/operations/MachinesStop.d.ts.map +0 -1
  276. package/lib/operations/MachinesStop.js +0 -38
  277. package/lib/operations/MachinesStop.js.map +0 -1
  278. package/lib/operations/MachinesSuspend.d.ts +0 -19
  279. package/lib/operations/MachinesSuspend.d.ts.map +0 -1
  280. package/lib/operations/MachinesSuspend.js +0 -28
  281. package/lib/operations/MachinesSuspend.js.map +0 -1
  282. package/lib/operations/MachinesUncordon.d.ts +0 -19
  283. package/lib/operations/MachinesUncordon.d.ts.map +0 -1
  284. package/lib/operations/MachinesUncordon.js +0 -28
  285. package/lib/operations/MachinesUncordon.js.map +0 -1
  286. package/lib/operations/MachinesUpdate.d.ts +0 -812
  287. package/lib/operations/MachinesUpdate.d.ts.map +0 -1
  288. package/lib/operations/MachinesUpdate.js +0 -919
  289. package/lib/operations/MachinesUpdate.js.map +0 -1
  290. package/lib/operations/MachinesUpdateMetadata.d.ts +0 -23
  291. package/lib/operations/MachinesUpdateMetadata.d.ts.map +0 -1
  292. package/lib/operations/MachinesUpdateMetadata.js +0 -33
  293. package/lib/operations/MachinesUpdateMetadata.js.map +0 -1
  294. package/lib/operations/MachinesUpsertMetadata.d.ts +0 -23
  295. package/lib/operations/MachinesUpsertMetadata.d.ts.map +0 -1
  296. package/lib/operations/MachinesUpsertMetadata.js +0 -33
  297. package/lib/operations/MachinesUpsertMetadata.js.map +0 -1
  298. package/lib/operations/MachinesWait.d.ts +0 -35
  299. package/lib/operations/MachinesWait.d.ts.map +0 -1
  300. package/lib/operations/MachinesWait.js +0 -50
  301. package/lib/operations/MachinesWait.js.map +0 -1
  302. package/lib/operations/PlatformPlacementsPost.d.ts +0 -37
  303. package/lib/operations/PlatformPlacementsPost.d.ts.map +0 -1
  304. package/lib/operations/PlatformPlacementsPost.js +0 -44
  305. package/lib/operations/PlatformPlacementsPost.js.map +0 -1
  306. package/lib/operations/PlatformRegionsGet.d.ts +0 -26
  307. package/lib/operations/PlatformRegionsGet.d.ts.map +0 -1
  308. package/lib/operations/PlatformRegionsGet.js +0 -32
  309. package/lib/operations/PlatformRegionsGet.js.map +0 -1
  310. package/lib/operations/SecretCreate.d.ts +0 -26
  311. package/lib/operations/SecretCreate.d.ts.map +0 -1
  312. package/lib/operations/SecretCreate.js +0 -31
  313. package/lib/operations/SecretCreate.js.map +0 -1
  314. package/lib/operations/SecretDelete.d.ts +0 -20
  315. package/lib/operations/SecretDelete.d.ts.map +0 -1
  316. package/lib/operations/SecretDelete.js +0 -25
  317. package/lib/operations/SecretDelete.js.map +0 -1
  318. package/lib/operations/SecretGet.d.ts +0 -27
  319. package/lib/operations/SecretGet.d.ts.map +0 -1
  320. package/lib/operations/SecretGet.js +0 -32
  321. package/lib/operations/SecretGet.js.map +0 -1
  322. package/lib/operations/SecretkeyDecrypt.d.ts +0 -23
  323. package/lib/operations/SecretkeyDecrypt.d.ts.map +0 -1
  324. package/lib/operations/SecretkeyDecrypt.js +0 -31
  325. package/lib/operations/SecretkeyDecrypt.js.map +0 -1
  326. package/lib/operations/SecretkeyDelete.d.ts +0 -20
  327. package/lib/operations/SecretkeyDelete.d.ts.map +0 -1
  328. package/lib/operations/SecretkeyDelete.js +0 -28
  329. package/lib/operations/SecretkeyDelete.js.map +0 -1
  330. package/lib/operations/SecretkeyEncrypt.d.ts +0 -23
  331. package/lib/operations/SecretkeyEncrypt.d.ts.map +0 -1
  332. package/lib/operations/SecretkeyEncrypt.js +0 -31
  333. package/lib/operations/SecretkeyEncrypt.js.map +0 -1
  334. package/lib/operations/SecretkeyGenerate.d.ts +0 -27
  335. package/lib/operations/SecretkeyGenerate.d.ts.map +0 -1
  336. package/lib/operations/SecretkeyGenerate.js +0 -36
  337. package/lib/operations/SecretkeyGenerate.js.map +0 -1
  338. package/lib/operations/SecretkeyGet.d.ts +0 -25
  339. package/lib/operations/SecretkeyGet.d.ts.map +0 -1
  340. package/lib/operations/SecretkeyGet.js +0 -30
  341. package/lib/operations/SecretkeyGet.js.map +0 -1
  342. package/lib/operations/SecretkeySet.d.ts +0 -27
  343. package/lib/operations/SecretkeySet.d.ts.map +0 -1
  344. package/lib/operations/SecretkeySet.js +0 -32
  345. package/lib/operations/SecretkeySet.js.map +0 -1
  346. package/lib/operations/SecretkeySign.d.ts +0 -22
  347. package/lib/operations/SecretkeySign.d.ts.map +0 -1
  348. package/lib/operations/SecretkeySign.js +0 -30
  349. package/lib/operations/SecretkeySign.js.map +0 -1
  350. package/lib/operations/SecretkeyVerify.d.ts +0 -21
  351. package/lib/operations/SecretkeyVerify.d.ts.map +0 -1
  352. package/lib/operations/SecretkeyVerify.js +0 -30
  353. package/lib/operations/SecretkeyVerify.js.map +0 -1
  354. package/lib/operations/SecretkeysList.d.ts +0 -27
  355. package/lib/operations/SecretkeysList.d.ts.map +0 -1
  356. package/lib/operations/SecretkeysList.js +0 -32
  357. package/lib/operations/SecretkeysList.js.map +0 -1
  358. package/lib/operations/SecretsList.d.ts +0 -27
  359. package/lib/operations/SecretsList.d.ts.map +0 -1
  360. package/lib/operations/SecretsList.js +0 -32
  361. package/lib/operations/SecretsList.js.map +0 -1
  362. package/lib/operations/SecretsUpdate.d.ts +0 -26
  363. package/lib/operations/SecretsUpdate.d.ts.map +0 -1
  364. package/lib/operations/SecretsUpdate.js +0 -31
  365. package/lib/operations/SecretsUpdate.js.map +0 -1
  366. package/lib/operations/TokensAuthenticate.d.ts +0 -26
  367. package/lib/operations/TokensAuthenticate.d.ts.map +0 -1
  368. package/lib/operations/TokensAuthenticate.js +0 -33
  369. package/lib/operations/TokensAuthenticate.js.map +0 -1
  370. package/lib/operations/TokensAuthorize.d.ts +0 -59
  371. package/lib/operations/TokensAuthorize.d.ts.map +0 -1
  372. package/lib/operations/TokensAuthorize.js +0 -64
  373. package/lib/operations/TokensAuthorize.js.map +0 -1
  374. package/lib/operations/TokensRequestKms.d.ts +0 -14
  375. package/lib/operations/TokensRequestKms.d.ts.map +0 -1
  376. package/lib/operations/TokensRequestKms.js +0 -19
  377. package/lib/operations/TokensRequestKms.js.map +0 -1
  378. package/lib/operations/TokensRequestOIDC.d.ts +0 -16
  379. package/lib/operations/TokensRequestOIDC.d.ts.map +0 -1
  380. package/lib/operations/TokensRequestOIDC.js +0 -22
  381. package/lib/operations/TokensRequestOIDC.js.map +0 -1
  382. package/lib/operations/TokensRequest_Kms.d.ts +0 -12
  383. package/lib/operations/TokensRequest_Kms.d.ts.map +0 -1
  384. package/lib/operations/TokensRequest_Kms.js +0 -18
  385. package/lib/operations/TokensRequest_Kms.js.map +0 -1
  386. package/lib/operations/TokensRequest_OIDC.d.ts +0 -18
  387. package/lib/operations/TokensRequest_OIDC.d.ts.map +0 -1
  388. package/lib/operations/TokensRequest_OIDC.js +0 -22
  389. package/lib/operations/TokensRequest_OIDC.js.map +0 -1
  390. package/lib/operations/VolumeDelete.d.ts +0 -41
  391. package/lib/operations/VolumeDelete.d.ts.map +0 -1
  392. package/lib/operations/VolumeDelete.js +0 -46
  393. package/lib/operations/VolumeDelete.js.map +0 -1
  394. package/lib/operations/VolumesCreate.d.ts +0 -62
  395. package/lib/operations/VolumesCreate.d.ts.map +0 -1
  396. package/lib/operations/VolumesCreate.js +0 -67
  397. package/lib/operations/VolumesCreate.js.map +0 -1
  398. package/lib/operations/VolumesExtend.d.ts +0 -45
  399. package/lib/operations/VolumesExtend.d.ts.map +0 -1
  400. package/lib/operations/VolumesExtend.js +0 -53
  401. package/lib/operations/VolumesExtend.js.map +0 -1
  402. package/lib/operations/VolumesGetById.d.ts +0 -41
  403. package/lib/operations/VolumesGetById.d.ts.map +0 -1
  404. package/lib/operations/VolumesGetById.js +0 -46
  405. package/lib/operations/VolumesGetById.js.map +0 -1
  406. package/lib/operations/VolumesList.d.ts +0 -41
  407. package/lib/operations/VolumesList.d.ts.map +0 -1
  408. package/lib/operations/VolumesList.js +0 -46
  409. package/lib/operations/VolumesList.js.map +0 -1
  410. package/lib/operations/VolumesListSnapshots.d.ts +0 -27
  411. package/lib/operations/VolumesListSnapshots.d.ts.map +0 -1
  412. package/lib/operations/VolumesListSnapshots.js +0 -37
  413. package/lib/operations/VolumesListSnapshots.js.map +0 -1
  414. package/lib/operations/VolumesOrgList.d.ts +0 -59
  415. package/lib/operations/VolumesOrgList.d.ts.map +0 -1
  416. package/lib/operations/VolumesOrgList.js +0 -63
  417. package/lib/operations/VolumesOrgList.js.map +0 -1
  418. package/lib/operations/VolumesUpdate.d.ts +0 -43
  419. package/lib/operations/VolumesUpdate.d.ts.map +0 -1
  420. package/lib/operations/VolumesUpdate.js +0 -48
  421. package/lib/operations/VolumesUpdate.js.map +0 -1
  422. package/lib/operations/createVolumeSnapshot.d.ts +0 -19
  423. package/lib/operations/createVolumeSnapshot.d.ts.map +0 -1
  424. package/lib/operations/createVolumeSnapshot.js +0 -29
  425. package/lib/operations/createVolumeSnapshot.js.map +0 -1
  426. package/lib/operations/index.d.ts +0 -77
  427. package/lib/operations/index.d.ts.map +0 -1
  428. package/lib/operations/index.js +0 -77
  429. package/lib/operations/index.js.map +0 -1
  430. package/lib/sensitive.d.ts +0 -5
  431. package/lib/sensitive.d.ts.map +0 -1
  432. package/lib/sensitive.js +0 -5
  433. package/lib/sensitive.js.map +0 -1
  434. package/src/category.ts +0 -4
  435. package/src/client.ts +0 -71
  436. package/src/operations/AppCertificatesAcmeCreate.ts +0 -148
  437. package/src/operations/AppCertificatesAcmeDelete.ts +0 -147
  438. package/src/operations/AppCertificatesCheck.ts +0 -167
  439. package/src/operations/AppCertificatesCustomCreate.ts +0 -154
  440. package/src/operations/AppCertificatesCustomDelete.ts +0 -149
  441. package/src/operations/AppCertificatesDelete.ts +0 -38
  442. package/src/operations/AppCertificatesList.ts +0 -81
  443. package/src/operations/AppCertificatesShow.ts +0 -144
  444. package/src/operations/AppCreateDeployToken.ts +0 -38
  445. package/src/operations/AppIPAssignmentsCreate.ts +0 -54
  446. package/src/operations/AppIPAssignmentsDelete.ts +0 -35
  447. package/src/operations/AppIPAssignmentsList.ts +0 -52
  448. package/src/operations/App_CertificatesAcmeCreate.ts +0 -99
  449. package/src/operations/App_CertificatesAcmeDelete.ts +0 -100
  450. package/src/operations/App_CertificatesCheck.ts +0 -110
  451. package/src/operations/App_CertificatesCustomCreate.ts +0 -102
  452. package/src/operations/App_CertificatesCustomDelete.ts +0 -102
  453. package/src/operations/App_CertificatesDelete.ts +0 -28
  454. package/src/operations/App_CertificatesList.ts +0 -52
  455. package/src/operations/App_CertificatesShow.ts +0 -95
  456. package/src/operations/App_IPAssignmentsCreate.ts +0 -36
  457. package/src/operations/App_IPAssignmentsDelete.ts +0 -25
  458. package/src/operations/App_IPAssignmentsList.ts +0 -37
  459. package/src/operations/AppsCreate.ts +0 -37
  460. package/src/operations/AppsDelete.ts +0 -33
  461. package/src/operations/AppsList.ts +0 -73
  462. package/src/operations/AppsShow.ts +0 -56
  463. package/src/operations/CurrentTokenShow.ts +0 -48
  464. package/src/operations/MachinesCordon.ts +0 -39
  465. package/src/operations/MachinesCreate.ts +0 -2166
  466. package/src/operations/MachinesCreateLease.ts +0 -57
  467. package/src/operations/MachinesDelete.ts +0 -39
  468. package/src/operations/MachinesDeleteMetadata.ts +0 -43
  469. package/src/operations/MachinesExec.ts +0 -58
  470. package/src/operations/MachinesGetMemory.ts +0 -45
  471. package/src/operations/MachinesGetMetadataKey.ts +0 -47
  472. package/src/operations/MachinesList.ts +0 -1494
  473. package/src/operations/MachinesListEvents.ts +0 -59
  474. package/src/operations/MachinesListProcesses.ts +0 -73
  475. package/src/operations/MachinesListVersions.ts +0 -742
  476. package/src/operations/MachinesOrgList.ts +0 -128
  477. package/src/operations/MachinesPatchMetadata.ts +0 -38
  478. package/src/operations/MachinesReclaimMemory.ts +0 -46
  479. package/src/operations/MachinesReleaseLease.ts +0 -41
  480. package/src/operations/MachinesRestart.ts +0 -62
  481. package/src/operations/MachinesSetMemoryLimit.ts +0 -48
  482. package/src/operations/MachinesShow.ts +0 -1473
  483. package/src/operations/MachinesShowLease.ts +0 -51
  484. package/src/operations/MachinesShowMetadata.ts +0 -43
  485. package/src/operations/MachinesSignal.ts +0 -72
  486. package/src/operations/MachinesStart.ts +0 -39
  487. package/src/operations/MachinesStop.ts +0 -60
  488. package/src/operations/MachinesSuspend.ts +0 -39
  489. package/src/operations/MachinesUncordon.ts +0 -39
  490. package/src/operations/MachinesUpdate.ts +0 -2170
  491. package/src/operations/MachinesUpdateMetadata.ts +0 -47
  492. package/src/operations/MachinesUpsertMetadata.ts +0 -47
  493. package/src/operations/MachinesWait.ts +0 -79
  494. package/src/operations/PlatformPlacementsPost.ts +0 -80
  495. package/src/operations/PlatformRegionsGet.ts +0 -56
  496. package/src/operations/SecretCreate.ts +0 -51
  497. package/src/operations/SecretDelete.ts +0 -39
  498. package/src/operations/SecretGet.ts +0 -51
  499. package/src/operations/SecretkeyDecrypt.ts +0 -47
  500. package/src/operations/SecretkeyDelete.ts +0 -42
  501. package/src/operations/SecretkeyEncrypt.ts +0 -47
  502. package/src/operations/SecretkeyGenerate.ts +0 -57
  503. package/src/operations/SecretkeyGet.ts +0 -48
  504. package/src/operations/SecretkeySet.ts +0 -53
  505. package/src/operations/SecretkeySign.ts +0 -45
  506. package/src/operations/SecretkeyVerify.ts +0 -44
  507. package/src/operations/SecretkeysList.ts +0 -56
  508. package/src/operations/SecretsList.ts +0 -56
  509. package/src/operations/SecretsUpdate.ts +0 -56
  510. package/src/operations/TokensAuthenticate.ts +0 -54
  511. package/src/operations/TokensAuthorize.ts +0 -122
  512. package/src/operations/TokensRequestKms.ts +0 -27
  513. package/src/operations/TokensRequestOIDC.ts +0 -33
  514. package/src/operations/TokensRequest_Kms.ts +0 -24
  515. package/src/operations/TokensRequest_OIDC.ts +0 -26
  516. package/src/operations/VolumeDelete.ts +0 -81
  517. package/src/operations/VolumesCreate.ts +0 -128
  518. package/src/operations/VolumesExtend.ts +0 -94
  519. package/src/operations/VolumesGetById.ts +0 -81
  520. package/src/operations/VolumesList.ts +0 -83
  521. package/src/operations/VolumesListSnapshots.ts +0 -58
  522. package/src/operations/VolumesOrgList.ts +0 -115
  523. package/src/operations/VolumesUpdate.ts +0 -85
  524. package/src/operations/createVolumeSnapshot.ts +0 -40
  525. package/src/operations/index.ts +0 -76
  526. package/src/sensitive.ts +0 -4
@@ -1,128 +0,0 @@
1
- import * as Schema from "effect/Schema";
2
- import { API } from "../client.ts";
3
- import * as T from "../traits.ts";
4
- import { Forbidden, NotFound } from "../errors.ts";
5
-
6
- // Input Schema
7
- export interface MachinesOrgListInput {
8
- org_slug: string;
9
- include_deleted?: boolean;
10
- region?: string;
11
- state?: string;
12
- summary?: boolean;
13
- updated_after?: string;
14
- cursor?: string;
15
- limit?: number;
16
- }
17
- export const MachinesOrgListInput = /*@__PURE__*/ Schema.Struct({
18
- org_slug: Schema.String.pipe(T.PathParam()),
19
- include_deleted: Schema.optional(Schema.Boolean),
20
- region: Schema.optional(Schema.String),
21
- state: Schema.optional(Schema.String),
22
- summary: Schema.optional(Schema.Boolean),
23
- updated_after: Schema.optional(Schema.String),
24
- cursor: Schema.optional(Schema.String),
25
- limit: Schema.optional(Schema.Number),
26
- }).pipe(
27
- T.Http({ method: "GET", path: "/orgs/{org_slug}/machines" }),
28
- ) as unknown as Schema.Codec<MachinesOrgListInput>;
29
-
30
- // Output Schema
31
- export interface MachinesOrgListOutput {
32
- error_regions?: string[];
33
- last_machine_id?: string;
34
- last_updated_at?: string;
35
- machines?: {
36
- app_name?: string;
37
- config?: {
38
- guest?: {
39
- cpu_kind?: string;
40
- cpus?: number;
41
- gpu_kind?: string;
42
- gpus?: number;
43
- host_dedication_id?: string;
44
- kernel_args?: string[];
45
- max_memory_mb?: number;
46
- memory_mb?: number;
47
- persist_rootfs?: "never" | "always" | "restart";
48
- };
49
- image?: string;
50
- metadata?: Record<string, string>;
51
- };
52
- created_at?: string;
53
- id?: string;
54
- name?: string;
55
- private_ip?: string;
56
- region?: string;
57
- state?: string;
58
- updated_at?: string;
59
- version?: string;
60
- }[];
61
- next_cursor?: string;
62
- }
63
- export const MachinesOrgListOutput = /*@__PURE__*/ Schema.Struct({
64
- error_regions: Schema.optional(Schema.Array(Schema.String)),
65
- last_machine_id: Schema.optional(Schema.String),
66
- last_updated_at: Schema.optional(Schema.String),
67
- machines: Schema.optional(
68
- Schema.Array(
69
- Schema.Struct({
70
- app_name: Schema.optional(Schema.String),
71
- config: Schema.optional(
72
- Schema.Struct({
73
- guest: Schema.optional(
74
- Schema.Struct({
75
- cpu_kind: Schema.optional(Schema.String),
76
- cpus: Schema.optional(Schema.Number),
77
- gpu_kind: Schema.optional(Schema.String),
78
- gpus: Schema.optional(Schema.Number),
79
- host_dedication_id: Schema.optional(Schema.String),
80
- kernel_args: Schema.optional(Schema.Array(Schema.String)),
81
- max_memory_mb: Schema.optional(Schema.Number),
82
- memory_mb: Schema.optional(Schema.Number),
83
- persist_rootfs: Schema.optional(
84
- Schema.Literals(["never", "always", "restart"]),
85
- ),
86
- }),
87
- ),
88
- image: Schema.optional(Schema.String),
89
- metadata: Schema.optional(
90
- Schema.Record(Schema.String, Schema.String),
91
- ),
92
- }),
93
- ),
94
- created_at: Schema.optional(Schema.String),
95
- id: Schema.optional(Schema.String),
96
- name: Schema.optional(Schema.String),
97
- private_ip: Schema.optional(Schema.String),
98
- region: Schema.optional(Schema.String),
99
- state: Schema.optional(Schema.String),
100
- updated_at: Schema.optional(Schema.String),
101
- version: Schema.optional(Schema.String),
102
- }),
103
- ),
104
- ),
105
- next_cursor: Schema.optional(Schema.String),
106
- }) as unknown as Schema.Codec<MachinesOrgListOutput>;
107
-
108
- // The operation
109
- /**
110
- * List All Machines
111
- *
112
- * List all Machines associated with a specific organization. Machines are sorted by their `updated_at` timestamps, oldest to newest.
113
- * This API call represents "a point in time". Recent machine changes, including creations and destructions, may take time to propagate. When polling with `updated_after`, offset your timestamps to catch late-arriving events.
114
- *
115
- * @param org_slug - Fly Organization Slug
116
- * @param include_deleted - Include deleted machines
117
- * @param region - Region filter
118
- * @param state - Comma separated list of states to filter (created, started, stopped, suspended)
119
- * @param summary - Omit config from responses
120
- * @param updated_after - Only return machines updated after this time. Timestamp must be in the RFC 3339 format
121
- * @param cursor - Pagination cursor from previous response (takes precedence over updated_after). Note that there is no guarantee that all machines returned by this endpoint are sorted by their updated_at fields. Pagination may reveal machines older than the last updated_at.
122
- * @param limit - The number of machines to fetch (max of 1000). This limit is advisory. Responses may be shorter, or even empty, even when more machines remain. If omitted, the maximum is used
123
- */
124
- export const MachinesOrgList = /*@__PURE__*/ API.make(() => ({
125
- inputSchema: MachinesOrgListInput,
126
- outputSchema: MachinesOrgListOutput,
127
- errors: [Forbidden, NotFound] as const,
128
- }));
@@ -1,38 +0,0 @@
1
- import * as Schema from "effect/Schema";
2
- import { API } from "../client.ts";
3
- import * as T from "../traits.ts";
4
- import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
-
6
- // Input Schema
7
- export const MachinesPatchMetadataInput =
8
- /*@__PURE__*/ Schema.Struct({
9
- app_name: Schema.String.pipe(T.PathParam()),
10
- machine_id: Schema.String.pipe(T.PathParam()),
11
- }).pipe(
12
- T.Http({
13
- method: "PATCH",
14
- path: "/apps/{app_name}/machines/{machine_id}/metadata",
15
- }),
16
- );
17
- export type MachinesPatchMetadataInput = typeof MachinesPatchMetadataInput.Type;
18
-
19
- // Output Schema
20
- export const MachinesPatchMetadataOutput = /*@__PURE__*/ Schema.Void;
21
- export type MachinesPatchMetadataOutput =
22
- typeof MachinesPatchMetadataOutput.Type;
23
-
24
- // The operation
25
- /**
26
- * Patch Metadata (set/remove multiple keys)
27
- *
28
- * Update multiple metadata keys at once. Null values and empty strings remove keys.
29
- * + If `machine_version` is provided and no longer matches the current machine version, returns 412 Precondition Failed.
30
- *
31
- * @param app_name - Fly App Name
32
- * @param machine_id - Machine ID
33
- */
34
- export const MachinesPatchMetadata = /*@__PURE__*/ API.make(() => ({
35
- inputSchema: MachinesPatchMetadataInput,
36
- outputSchema: MachinesPatchMetadataOutput,
37
- errors: [BadRequest, Forbidden, NotFound] as const,
38
- }));
@@ -1,46 +0,0 @@
1
- import * as Schema from "effect/Schema";
2
- import { API } from "../client.ts";
3
- import * as T from "../traits.ts";
4
- import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
-
6
- // Input Schema
7
- export interface MachinesReclaimMemoryInput {
8
- app_name: string;
9
- machine_id: string;
10
- amount_mb?: number;
11
- }
12
- export const MachinesReclaimMemoryInput =
13
- /*@__PURE__*/ Schema.Struct({
14
- app_name: Schema.String.pipe(T.PathParam()),
15
- machine_id: Schema.String.pipe(T.PathParam()),
16
- amount_mb: Schema.optional(Schema.Number),
17
- }).pipe(
18
- T.Http({
19
- method: "POST",
20
- path: "/apps/{app_name}/machines/{machine_id}/memory/reclaim",
21
- }),
22
- ) as unknown as Schema.Codec<MachinesReclaimMemoryInput>;
23
-
24
- // Output Schema
25
- export interface MachinesReclaimMemoryOutput {
26
- actual_mb?: number;
27
- }
28
- export const MachinesReclaimMemoryOutput =
29
- /*@__PURE__*/ Schema.Struct({
30
- actual_mb: Schema.optional(Schema.Number),
31
- }) as unknown as Schema.Codec<MachinesReclaimMemoryOutput>;
32
-
33
- // The operation
34
- /**
35
- * Reclaim Machine Memory
36
- *
37
- * Trigger the balloon device to reclaim memory from a machine
38
- *
39
- * @param app_name - Fly App Name
40
- * @param machine_id - Machine ID
41
- */
42
- export const MachinesReclaimMemory = /*@__PURE__*/ API.make(() => ({
43
- inputSchema: MachinesReclaimMemoryInput,
44
- outputSchema: MachinesReclaimMemoryOutput,
45
- errors: [BadRequest, Forbidden, NotFound] as const,
46
- }));
@@ -1,41 +0,0 @@
1
- import * as Schema from "effect/Schema";
2
- import { API } from "../client.ts";
3
- import * as T from "../traits.ts";
4
- import { Forbidden, NotFound } from "../errors.ts";
5
-
6
- // Input Schema
7
- export interface MachinesReleaseLeaseInput {
8
- app_name: string;
9
- machine_id: string;
10
- }
11
- export const MachinesReleaseLeaseInput =
12
- /*@__PURE__*/ Schema.Struct({
13
- app_name: Schema.String.pipe(T.PathParam()),
14
- machine_id: Schema.String.pipe(T.PathParam()),
15
- }).pipe(
16
- T.Http({
17
- method: "DELETE",
18
- path: "/apps/{app_name}/machines/{machine_id}/lease",
19
- }),
20
- ) as unknown as Schema.Codec<MachinesReleaseLeaseInput>;
21
-
22
- // Output Schema
23
- export type MachinesReleaseLeaseOutput = void;
24
- export const MachinesReleaseLeaseOutput =
25
- /*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesReleaseLeaseOutput>;
26
-
27
- // The operation
28
- /**
29
- * Release Lease
30
- *
31
- * Release the lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine.
32
- *
33
- * @param app_name - Fly App Name
34
- * @param machine_id - Machine ID
35
- * @param fly-machine-lease-nonce - Existing lease nonce
36
- */
37
- export const MachinesReleaseLease = /*@__PURE__*/ API.make(() => ({
38
- inputSchema: MachinesReleaseLeaseInput,
39
- outputSchema: MachinesReleaseLeaseOutput,
40
- errors: [Forbidden, NotFound] as const,
41
- }));
@@ -1,62 +0,0 @@
1
- import * as Schema from "effect/Schema";
2
- import { API } from "../client.ts";
3
- import * as T from "../traits.ts";
4
- import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
-
6
- // Input Schema
7
- export interface MachinesRestartInput {
8
- app_name: string;
9
- machine_id: string;
10
- timeout?: string;
11
- signal?:
12
- | "SIGHUP"
13
- | "SIGINT"
14
- | "SIGQUIT"
15
- | "SIGKILL"
16
- | "SIGUSR1"
17
- | "SIGUSR2"
18
- | "SIGTERM";
19
- }
20
- export const MachinesRestartInput = /*@__PURE__*/ Schema.Struct({
21
- app_name: Schema.String.pipe(T.PathParam()),
22
- machine_id: Schema.String.pipe(T.PathParam()),
23
- timeout: Schema.optional(Schema.String),
24
- signal: Schema.optional(
25
- Schema.Literals([
26
- "SIGHUP",
27
- "SIGINT",
28
- "SIGQUIT",
29
- "SIGKILL",
30
- "SIGUSR1",
31
- "SIGUSR2",
32
- "SIGTERM",
33
- ]),
34
- ),
35
- }).pipe(
36
- T.Http({
37
- method: "POST",
38
- path: "/apps/{app_name}/machines/{machine_id}/restart",
39
- }),
40
- ) as unknown as Schema.Codec<MachinesRestartInput>;
41
-
42
- // Output Schema
43
- export type MachinesRestartOutput = void;
44
- export const MachinesRestartOutput =
45
- /*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesRestartOutput>;
46
-
47
- // The operation
48
- /**
49
- * Restart Machine
50
- *
51
- * Restart a specific Machine within an app, with an optional timeout parameter.
52
- *
53
- * @param app_name - Fly App Name
54
- * @param machine_id - Machine ID
55
- * @param timeout - Restart timeout as a Go duration string or number of seconds
56
- * @param signal - Unix signal name
57
- */
58
- export const MachinesRestart = /*@__PURE__*/ API.make(() => ({
59
- inputSchema: MachinesRestartInput,
60
- outputSchema: MachinesRestartOutput,
61
- errors: [BadRequest, Forbidden, NotFound] as const,
62
- }));
@@ -1,48 +0,0 @@
1
- import * as Schema from "effect/Schema";
2
- import { API } from "../client.ts";
3
- import * as T from "../traits.ts";
4
- import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
-
6
- // Input Schema
7
- export interface MachinesSetMemoryLimitInput {
8
- app_name: string;
9
- machine_id: string;
10
- limit_mb?: number;
11
- }
12
- export const MachinesSetMemoryLimitInput =
13
- /*@__PURE__*/ Schema.Struct({
14
- app_name: Schema.String.pipe(T.PathParam()),
15
- machine_id: Schema.String.pipe(T.PathParam()),
16
- limit_mb: Schema.optional(Schema.Number),
17
- }).pipe(
18
- T.Http({
19
- method: "PUT",
20
- path: "/apps/{app_name}/machines/{machine_id}/memory",
21
- }),
22
- ) as unknown as Schema.Codec<MachinesSetMemoryLimitInput>;
23
-
24
- // Output Schema
25
- export interface MachinesSetMemoryLimitOutput {
26
- available_mb?: number;
27
- limit_mb?: number;
28
- }
29
- export const MachinesSetMemoryLimitOutput =
30
- /*@__PURE__*/ Schema.Struct({
31
- available_mb: Schema.optional(Schema.Number),
32
- limit_mb: Schema.optional(Schema.Number),
33
- }) as unknown as Schema.Codec<MachinesSetMemoryLimitOutput>;
34
-
35
- // The operation
36
- /**
37
- * Set Machine Memory Limit
38
- *
39
- * Set the memory limit for a machine using the balloon device
40
- *
41
- * @param app_name - Fly App Name
42
- * @param machine_id - Machine ID
43
- */
44
- export const MachinesSetMemoryLimit = /*@__PURE__*/ API.make(() => ({
45
- inputSchema: MachinesSetMemoryLimitInput,
46
- outputSchema: MachinesSetMemoryLimitOutput,
47
- errors: [BadRequest, Forbidden, NotFound] as const,
48
- }));