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

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 (504) hide show
  1. package/lib/credentials.d.ts.map +1 -1
  2. package/lib/credentials.js +8 -0
  3. package/lib/credentials.js.map +1 -1
  4. package/lib/errors.d.ts +22 -4
  5. package/lib/errors.d.ts.map +1 -1
  6. package/lib/errors.js +11 -5
  7. package/lib/errors.js.map +1 -1
  8. package/lib/index.d.ts +7 -10
  9. package/lib/index.d.ts.map +1 -1
  10. package/lib/index.js +7 -10
  11. package/lib/index.js.map +1 -1
  12. package/lib/protocol.d.ts +18 -0
  13. package/lib/protocol.d.ts.map +1 -0
  14. package/lib/protocol.js +41 -0
  15. package/lib/protocol.js.map +1 -0
  16. package/lib/retry.d.ts +4 -4
  17. package/lib/retry.js +4 -4
  18. package/lib/services/index.d.ts +2 -0
  19. package/lib/services/index.d.ts.map +1 -0
  20. package/lib/services/index.js +3 -0
  21. package/lib/services/index.js.map +1 -0
  22. package/lib/services/machines.d.ts +2236 -0
  23. package/lib/services/machines.d.ts.map +1 -0
  24. package/lib/services/machines.js +2461 -0
  25. package/lib/services/machines.js.map +1 -0
  26. package/lib/traits.d.ts +8 -2
  27. package/lib/traits.d.ts.map +1 -1
  28. package/lib/traits.js +8 -2
  29. package/lib/traits.js.map +1 -1
  30. package/package.json +31 -37
  31. package/src/credentials.ts +8 -0
  32. package/src/errors.ts +24 -6
  33. package/src/index.ts +11 -10
  34. package/src/protocol.ts +61 -0
  35. package/src/retry.ts +4 -4
  36. package/src/services/index.ts +2 -0
  37. package/src/services/machines.ts +5962 -0
  38. package/src/traits.ts +42 -2
  39. package/README.md +0 -69
  40. package/lib/category.d.ts +0 -5
  41. package/lib/category.d.ts.map +0 -1
  42. package/lib/category.js +0 -5
  43. package/lib/category.js.map +0 -1
  44. package/lib/client.d.ts +0 -11
  45. package/lib/client.d.ts.map +0 -1
  46. package/lib/client.js +0 -56
  47. package/lib/client.js.map +0 -1
  48. package/lib/operations/AppCertificatesAcmeCreate.d.ts +0 -61
  49. package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +0 -1
  50. package/lib/operations/AppCertificatesAcmeCreate.js +0 -72
  51. package/lib/operations/AppCertificatesAcmeCreate.js.map +0 -1
  52. package/lib/operations/AppCertificatesAcmeDelete.d.ts +0 -62
  53. package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +0 -1
  54. package/lib/operations/AppCertificatesAcmeDelete.js +0 -76
  55. package/lib/operations/AppCertificatesAcmeDelete.js.map +0 -1
  56. package/lib/operations/AppCertificatesCheck.d.ts +0 -71
  57. package/lib/operations/AppCertificatesCheck.d.ts.map +0 -1
  58. package/lib/operations/AppCertificatesCheck.js +0 -85
  59. package/lib/operations/AppCertificatesCheck.js.map +0 -1
  60. package/lib/operations/AppCertificatesCustomCreate.d.ts +0 -64
  61. package/lib/operations/AppCertificatesCustomCreate.d.ts.map +0 -1
  62. package/lib/operations/AppCertificatesCustomCreate.js +0 -76
  63. package/lib/operations/AppCertificatesCustomCreate.js.map +0 -1
  64. package/lib/operations/AppCertificatesCustomDelete.d.ts +0 -63
  65. package/lib/operations/AppCertificatesCustomDelete.d.ts.map +0 -1
  66. package/lib/operations/AppCertificatesCustomDelete.js +0 -77
  67. package/lib/operations/AppCertificatesCustomDelete.js.map +0 -1
  68. package/lib/operations/AppCertificatesDelete.d.ts +0 -17
  69. package/lib/operations/AppCertificatesDelete.d.ts.map +0 -1
  70. package/lib/operations/AppCertificatesDelete.js +0 -27
  71. package/lib/operations/AppCertificatesDelete.js.map +0 -1
  72. package/lib/operations/AppCertificatesList.d.ts +0 -39
  73. package/lib/operations/AppCertificatesList.d.ts.map +0 -1
  74. package/lib/operations/AppCertificatesList.js +0 -46
  75. package/lib/operations/AppCertificatesList.js.map +0 -1
  76. package/lib/operations/AppCertificatesShow.d.ts +0 -62
  77. package/lib/operations/AppCertificatesShow.d.ts.map +0 -1
  78. package/lib/operations/AppCertificatesShow.js +0 -73
  79. package/lib/operations/AppCertificatesShow.js.map +0 -1
  80. package/lib/operations/AppCreateDeployToken.d.ts +0 -18
  81. package/lib/operations/AppCreateDeployToken.d.ts.map +0 -1
  82. package/lib/operations/AppCreateDeployToken.js +0 -25
  83. package/lib/operations/AppCreateDeployToken.js.map +0 -1
  84. package/lib/operations/AppIPAssignmentsCreate.d.ts +0 -26
  85. package/lib/operations/AppIPAssignmentsCreate.d.ts.map +0 -1
  86. package/lib/operations/AppIPAssignmentsCreate.js +0 -33
  87. package/lib/operations/AppIPAssignmentsCreate.js.map +0 -1
  88. package/lib/operations/AppIPAssignmentsDelete.d.ts +0 -17
  89. package/lib/operations/AppIPAssignmentsDelete.d.ts.map +0 -1
  90. package/lib/operations/AppIPAssignmentsDelete.js +0 -24
  91. package/lib/operations/AppIPAssignmentsDelete.js.map +0 -1
  92. package/lib/operations/AppIPAssignmentsList.d.ts +0 -23
  93. package/lib/operations/AppIPAssignmentsList.d.ts.map +0 -1
  94. package/lib/operations/AppIPAssignmentsList.js +0 -30
  95. package/lib/operations/AppIPAssignmentsList.js.map +0 -1
  96. package/lib/operations/App_CertificatesAcmeCreate.d.ts +0 -104
  97. package/lib/operations/App_CertificatesAcmeCreate.d.ts.map +0 -1
  98. package/lib/operations/App_CertificatesAcmeCreate.js +0 -69
  99. package/lib/operations/App_CertificatesAcmeCreate.js.map +0 -1
  100. package/lib/operations/App_CertificatesAcmeDelete.d.ts +0 -100
  101. package/lib/operations/App_CertificatesAcmeDelete.d.ts.map +0 -1
  102. package/lib/operations/App_CertificatesAcmeDelete.js +0 -70
  103. package/lib/operations/App_CertificatesAcmeDelete.js.map +0 -1
  104. package/lib/operations/App_CertificatesCheck.d.ts +0 -118
  105. package/lib/operations/App_CertificatesCheck.d.ts.map +0 -1
  106. package/lib/operations/App_CertificatesCheck.js +0 -79
  107. package/lib/operations/App_CertificatesCheck.js.map +0 -1
  108. package/lib/operations/App_CertificatesCustomCreate.d.ts +0 -108
  109. package/lib/operations/App_CertificatesCustomCreate.d.ts.map +0 -1
  110. package/lib/operations/App_CertificatesCustomCreate.js +0 -72
  111. package/lib/operations/App_CertificatesCustomCreate.js.map +0 -1
  112. package/lib/operations/App_CertificatesCustomDelete.d.ts +0 -102
  113. package/lib/operations/App_CertificatesCustomDelete.d.ts.map +0 -1
  114. package/lib/operations/App_CertificatesCustomDelete.js +0 -72
  115. package/lib/operations/App_CertificatesCustomDelete.js.map +0 -1
  116. package/lib/operations/App_CertificatesDelete.d.ts +0 -10
  117. package/lib/operations/App_CertificatesDelete.d.ts.map +0 -1
  118. package/lib/operations/App_CertificatesDelete.js +0 -20
  119. package/lib/operations/App_CertificatesDelete.js.map +0 -1
  120. package/lib/operations/App_CertificatesList.d.ts +0 -58
  121. package/lib/operations/App_CertificatesList.d.ts.map +0 -1
  122. package/lib/operations/App_CertificatesList.js +0 -44
  123. package/lib/operations/App_CertificatesList.js.map +0 -1
  124. package/lib/operations/App_CertificatesShow.d.ts +0 -100
  125. package/lib/operations/App_CertificatesShow.d.ts.map +0 -1
  126. package/lib/operations/App_CertificatesShow.js +0 -67
  127. package/lib/operations/App_CertificatesShow.js.map +0 -1
  128. package/lib/operations/App_IPAssignmentsCreate.d.ts +0 -34
  129. package/lib/operations/App_IPAssignmentsCreate.d.ts.map +0 -1
  130. package/lib/operations/App_IPAssignmentsCreate.js +0 -30
  131. package/lib/operations/App_IPAssignmentsCreate.js.map +0 -1
  132. package/lib/operations/App_IPAssignmentsDelete.d.ts +0 -10
  133. package/lib/operations/App_IPAssignmentsDelete.d.ts.map +0 -1
  134. package/lib/operations/App_IPAssignmentsDelete.js +0 -17
  135. package/lib/operations/App_IPAssignmentsDelete.js.map +0 -1
  136. package/lib/operations/App_IPAssignmentsList.d.ts +0 -26
  137. package/lib/operations/App_IPAssignmentsList.d.ts.map +0 -1
  138. package/lib/operations/App_IPAssignmentsList.js +0 -26
  139. package/lib/operations/App_IPAssignmentsList.js.map +0 -1
  140. package/lib/operations/AppsCreate.d.ts +0 -18
  141. package/lib/operations/AppsCreate.d.ts.map +0 -1
  142. package/lib/operations/AppsCreate.js +0 -24
  143. package/lib/operations/AppsCreate.js.map +0 -1
  144. package/lib/operations/AppsDelete.d.ts +0 -17
  145. package/lib/operations/AppsDelete.d.ts.map +0 -1
  146. package/lib/operations/AppsDelete.js +0 -23
  147. package/lib/operations/AppsDelete.js.map +0 -1
  148. package/lib/operations/AppsList.d.ts +0 -35
  149. package/lib/operations/AppsList.d.ts.map +0 -1
  150. package/lib/operations/AppsList.js +0 -40
  151. package/lib/operations/AppsList.js.map +0 -1
  152. package/lib/operations/AppsShow.d.ts +0 -30
  153. package/lib/operations/AppsShow.d.ts.map +0 -1
  154. package/lib/operations/AppsShow.js +0 -35
  155. package/lib/operations/AppsShow.js.map +0 -1
  156. package/lib/operations/CurrentTokenShow.d.ts +0 -23
  157. package/lib/operations/CurrentTokenShow.d.ts.map +0 -1
  158. package/lib/operations/CurrentTokenShow.js +0 -26
  159. package/lib/operations/CurrentTokenShow.js.map +0 -1
  160. package/lib/operations/MachinesCordon.d.ts +0 -19
  161. package/lib/operations/MachinesCordon.d.ts.map +0 -1
  162. package/lib/operations/MachinesCordon.js +0 -28
  163. package/lib/operations/MachinesCordon.js.map +0 -1
  164. package/lib/operations/MachinesCreate.d.ts +0 -810
  165. package/lib/operations/MachinesCreate.d.ts.map +0 -1
  166. package/lib/operations/MachinesCreate.js +0 -917
  167. package/lib/operations/MachinesCreate.js.map +0 -1
  168. package/lib/operations/MachinesCreateLease.d.ts +0 -28
  169. package/lib/operations/MachinesCreateLease.d.ts.map +0 -1
  170. package/lib/operations/MachinesCreateLease.js +0 -38
  171. package/lib/operations/MachinesCreateLease.js.map +0 -1
  172. package/lib/operations/MachinesDelete.d.ts +0 -21
  173. package/lib/operations/MachinesDelete.d.ts.map +0 -1
  174. package/lib/operations/MachinesDelete.js +0 -27
  175. package/lib/operations/MachinesDelete.js.map +0 -1
  176. package/lib/operations/MachinesDeleteMetadata.d.ts +0 -21
  177. package/lib/operations/MachinesDeleteMetadata.d.ts.map +0 -1
  178. package/lib/operations/MachinesDeleteMetadata.js +0 -31
  179. package/lib/operations/MachinesDeleteMetadata.js.map +0 -1
  180. package/lib/operations/MachinesExec.d.ts +0 -29
  181. package/lib/operations/MachinesExec.d.ts.map +0 -1
  182. package/lib/operations/MachinesExec.js +0 -37
  183. package/lib/operations/MachinesExec.js.map +0 -1
  184. package/lib/operations/MachinesGetMemory.d.ts +0 -22
  185. package/lib/operations/MachinesGetMemory.d.ts.map +0 -1
  186. package/lib/operations/MachinesGetMemory.js +0 -31
  187. package/lib/operations/MachinesGetMemory.js.map +0 -1
  188. package/lib/operations/MachinesGetMetadataKey.d.ts +0 -23
  189. package/lib/operations/MachinesGetMetadataKey.d.ts.map +0 -1
  190. package/lib/operations/MachinesGetMetadataKey.js +0 -33
  191. package/lib/operations/MachinesGetMetadataKey.js.map +0 -1
  192. package/lib/operations/MachinesList.d.ts +0 -559
  193. package/lib/operations/MachinesList.d.ts.map +0 -1
  194. package/lib/operations/MachinesList.js +0 -642
  195. package/lib/operations/MachinesList.js.map +0 -1
  196. package/lib/operations/MachinesListEvents.d.ts +0 -28
  197. package/lib/operations/MachinesListEvents.d.ts.map +0 -1
  198. package/lib/operations/MachinesListEvents.js +0 -38
  199. package/lib/operations/MachinesListEvents.js.map +0 -1
  200. package/lib/operations/MachinesListProcesses.d.ts +0 -35
  201. package/lib/operations/MachinesListProcesses.d.ts.map +0 -1
  202. package/lib/operations/MachinesListProcesses.js +0 -45
  203. package/lib/operations/MachinesListProcesses.js.map +0 -1
  204. package/lib/operations/MachinesListVersions.d.ts +0 -272
  205. package/lib/operations/MachinesListVersions.d.ts.map +0 -1
  206. package/lib/operations/MachinesListVersions.js +0 -321
  207. package/lib/operations/MachinesListVersions.js.map +0 -1
  208. package/lib/operations/MachinesOrgList.d.ts +0 -63
  209. package/lib/operations/MachinesOrgList.d.ts.map +0 -1
  210. package/lib/operations/MachinesOrgList.js +0 -68
  211. package/lib/operations/MachinesOrgList.js.map +0 -1
  212. package/lib/operations/MachinesPatchMetadata.d.ts +0 -23
  213. package/lib/operations/MachinesPatchMetadata.d.ts.map +0 -1
  214. package/lib/operations/MachinesPatchMetadata.js +0 -31
  215. package/lib/operations/MachinesPatchMetadata.js.map +0 -1
  216. package/lib/operations/MachinesReclaimMemory.d.ts +0 -22
  217. package/lib/operations/MachinesReclaimMemory.d.ts.map +0 -1
  218. package/lib/operations/MachinesReclaimMemory.js +0 -32
  219. package/lib/operations/MachinesReclaimMemory.js.map +0 -1
  220. package/lib/operations/MachinesReleaseLease.d.ts +0 -20
  221. package/lib/operations/MachinesReleaseLease.d.ts.map +0 -1
  222. package/lib/operations/MachinesReleaseLease.js +0 -30
  223. package/lib/operations/MachinesReleaseLease.js.map +0 -1
  224. package/lib/operations/MachinesRestart.d.ts +0 -23
  225. package/lib/operations/MachinesRestart.d.ts.map +0 -1
  226. package/lib/operations/MachinesRestart.js +0 -40
  227. package/lib/operations/MachinesRestart.js.map +0 -1
  228. package/lib/operations/MachinesSetMemoryLimit.d.ts +0 -23
  229. package/lib/operations/MachinesSetMemoryLimit.d.ts.map +0 -1
  230. package/lib/operations/MachinesSetMemoryLimit.js +0 -33
  231. package/lib/operations/MachinesSetMemoryLimit.js.map +0 -1
  232. package/lib/operations/MachinesShow.d.ts +0 -553
  233. package/lib/operations/MachinesShow.d.ts.map +0 -1
  234. package/lib/operations/MachinesShow.js +0 -626
  235. package/lib/operations/MachinesShow.js.map +0 -1
  236. package/lib/operations/MachinesShowLease.d.ts +0 -25
  237. package/lib/operations/MachinesShowLease.d.ts.map +0 -1
  238. package/lib/operations/MachinesShowLease.js +0 -34
  239. package/lib/operations/MachinesShowLease.js.map +0 -1
  240. package/lib/operations/MachinesShowMetadata.d.ts +0 -19
  241. package/lib/operations/MachinesShowMetadata.d.ts.map +0 -1
  242. package/lib/operations/MachinesShowMetadata.js +0 -29
  243. package/lib/operations/MachinesShowMetadata.js.map +0 -1
  244. package/lib/operations/MachinesSignal.d.ts +0 -20
  245. package/lib/operations/MachinesSignal.d.ts.map +0 -1
  246. package/lib/operations/MachinesSignal.js +0 -44
  247. package/lib/operations/MachinesSignal.js.map +0 -1
  248. package/lib/operations/MachinesStart.d.ts +0 -19
  249. package/lib/operations/MachinesStart.d.ts.map +0 -1
  250. package/lib/operations/MachinesStart.js +0 -28
  251. package/lib/operations/MachinesStart.js.map +0 -1
  252. package/lib/operations/MachinesStop.d.ts +0 -21
  253. package/lib/operations/MachinesStop.d.ts.map +0 -1
  254. package/lib/operations/MachinesStop.js +0 -38
  255. package/lib/operations/MachinesStop.js.map +0 -1
  256. package/lib/operations/MachinesSuspend.d.ts +0 -19
  257. package/lib/operations/MachinesSuspend.d.ts.map +0 -1
  258. package/lib/operations/MachinesSuspend.js +0 -28
  259. package/lib/operations/MachinesSuspend.js.map +0 -1
  260. package/lib/operations/MachinesUncordon.d.ts +0 -19
  261. package/lib/operations/MachinesUncordon.d.ts.map +0 -1
  262. package/lib/operations/MachinesUncordon.js +0 -28
  263. package/lib/operations/MachinesUncordon.js.map +0 -1
  264. package/lib/operations/MachinesUpdate.d.ts +0 -812
  265. package/lib/operations/MachinesUpdate.d.ts.map +0 -1
  266. package/lib/operations/MachinesUpdate.js +0 -919
  267. package/lib/operations/MachinesUpdate.js.map +0 -1
  268. package/lib/operations/MachinesUpdateMetadata.d.ts +0 -23
  269. package/lib/operations/MachinesUpdateMetadata.d.ts.map +0 -1
  270. package/lib/operations/MachinesUpdateMetadata.js +0 -33
  271. package/lib/operations/MachinesUpdateMetadata.js.map +0 -1
  272. package/lib/operations/MachinesUpsertMetadata.d.ts +0 -23
  273. package/lib/operations/MachinesUpsertMetadata.d.ts.map +0 -1
  274. package/lib/operations/MachinesUpsertMetadata.js +0 -33
  275. package/lib/operations/MachinesUpsertMetadata.js.map +0 -1
  276. package/lib/operations/MachinesWait.d.ts +0 -35
  277. package/lib/operations/MachinesWait.d.ts.map +0 -1
  278. package/lib/operations/MachinesWait.js +0 -50
  279. package/lib/operations/MachinesWait.js.map +0 -1
  280. package/lib/operations/PlatformPlacementsPost.d.ts +0 -37
  281. package/lib/operations/PlatformPlacementsPost.d.ts.map +0 -1
  282. package/lib/operations/PlatformPlacementsPost.js +0 -44
  283. package/lib/operations/PlatformPlacementsPost.js.map +0 -1
  284. package/lib/operations/PlatformRegionsGet.d.ts +0 -26
  285. package/lib/operations/PlatformRegionsGet.d.ts.map +0 -1
  286. package/lib/operations/PlatformRegionsGet.js +0 -32
  287. package/lib/operations/PlatformRegionsGet.js.map +0 -1
  288. package/lib/operations/SecretCreate.d.ts +0 -26
  289. package/lib/operations/SecretCreate.d.ts.map +0 -1
  290. package/lib/operations/SecretCreate.js +0 -31
  291. package/lib/operations/SecretCreate.js.map +0 -1
  292. package/lib/operations/SecretDelete.d.ts +0 -20
  293. package/lib/operations/SecretDelete.d.ts.map +0 -1
  294. package/lib/operations/SecretDelete.js +0 -25
  295. package/lib/operations/SecretDelete.js.map +0 -1
  296. package/lib/operations/SecretGet.d.ts +0 -27
  297. package/lib/operations/SecretGet.d.ts.map +0 -1
  298. package/lib/operations/SecretGet.js +0 -32
  299. package/lib/operations/SecretGet.js.map +0 -1
  300. package/lib/operations/SecretkeyDecrypt.d.ts +0 -23
  301. package/lib/operations/SecretkeyDecrypt.d.ts.map +0 -1
  302. package/lib/operations/SecretkeyDecrypt.js +0 -31
  303. package/lib/operations/SecretkeyDecrypt.js.map +0 -1
  304. package/lib/operations/SecretkeyDelete.d.ts +0 -20
  305. package/lib/operations/SecretkeyDelete.d.ts.map +0 -1
  306. package/lib/operations/SecretkeyDelete.js +0 -28
  307. package/lib/operations/SecretkeyDelete.js.map +0 -1
  308. package/lib/operations/SecretkeyEncrypt.d.ts +0 -23
  309. package/lib/operations/SecretkeyEncrypt.d.ts.map +0 -1
  310. package/lib/operations/SecretkeyEncrypt.js +0 -31
  311. package/lib/operations/SecretkeyEncrypt.js.map +0 -1
  312. package/lib/operations/SecretkeyGenerate.d.ts +0 -27
  313. package/lib/operations/SecretkeyGenerate.d.ts.map +0 -1
  314. package/lib/operations/SecretkeyGenerate.js +0 -36
  315. package/lib/operations/SecretkeyGenerate.js.map +0 -1
  316. package/lib/operations/SecretkeyGet.d.ts +0 -25
  317. package/lib/operations/SecretkeyGet.d.ts.map +0 -1
  318. package/lib/operations/SecretkeyGet.js +0 -30
  319. package/lib/operations/SecretkeyGet.js.map +0 -1
  320. package/lib/operations/SecretkeySet.d.ts +0 -27
  321. package/lib/operations/SecretkeySet.d.ts.map +0 -1
  322. package/lib/operations/SecretkeySet.js +0 -32
  323. package/lib/operations/SecretkeySet.js.map +0 -1
  324. package/lib/operations/SecretkeySign.d.ts +0 -22
  325. package/lib/operations/SecretkeySign.d.ts.map +0 -1
  326. package/lib/operations/SecretkeySign.js +0 -30
  327. package/lib/operations/SecretkeySign.js.map +0 -1
  328. package/lib/operations/SecretkeyVerify.d.ts +0 -21
  329. package/lib/operations/SecretkeyVerify.d.ts.map +0 -1
  330. package/lib/operations/SecretkeyVerify.js +0 -30
  331. package/lib/operations/SecretkeyVerify.js.map +0 -1
  332. package/lib/operations/SecretkeysList.d.ts +0 -27
  333. package/lib/operations/SecretkeysList.d.ts.map +0 -1
  334. package/lib/operations/SecretkeysList.js +0 -32
  335. package/lib/operations/SecretkeysList.js.map +0 -1
  336. package/lib/operations/SecretsList.d.ts +0 -27
  337. package/lib/operations/SecretsList.d.ts.map +0 -1
  338. package/lib/operations/SecretsList.js +0 -32
  339. package/lib/operations/SecretsList.js.map +0 -1
  340. package/lib/operations/SecretsUpdate.d.ts +0 -26
  341. package/lib/operations/SecretsUpdate.d.ts.map +0 -1
  342. package/lib/operations/SecretsUpdate.js +0 -31
  343. package/lib/operations/SecretsUpdate.js.map +0 -1
  344. package/lib/operations/TokensAuthenticate.d.ts +0 -26
  345. package/lib/operations/TokensAuthenticate.d.ts.map +0 -1
  346. package/lib/operations/TokensAuthenticate.js +0 -33
  347. package/lib/operations/TokensAuthenticate.js.map +0 -1
  348. package/lib/operations/TokensAuthorize.d.ts +0 -59
  349. package/lib/operations/TokensAuthorize.d.ts.map +0 -1
  350. package/lib/operations/TokensAuthorize.js +0 -64
  351. package/lib/operations/TokensAuthorize.js.map +0 -1
  352. package/lib/operations/TokensRequestKms.d.ts +0 -14
  353. package/lib/operations/TokensRequestKms.d.ts.map +0 -1
  354. package/lib/operations/TokensRequestKms.js +0 -19
  355. package/lib/operations/TokensRequestKms.js.map +0 -1
  356. package/lib/operations/TokensRequestOIDC.d.ts +0 -16
  357. package/lib/operations/TokensRequestOIDC.d.ts.map +0 -1
  358. package/lib/operations/TokensRequestOIDC.js +0 -22
  359. package/lib/operations/TokensRequestOIDC.js.map +0 -1
  360. package/lib/operations/TokensRequest_Kms.d.ts +0 -12
  361. package/lib/operations/TokensRequest_Kms.d.ts.map +0 -1
  362. package/lib/operations/TokensRequest_Kms.js +0 -18
  363. package/lib/operations/TokensRequest_Kms.js.map +0 -1
  364. package/lib/operations/TokensRequest_OIDC.d.ts +0 -18
  365. package/lib/operations/TokensRequest_OIDC.d.ts.map +0 -1
  366. package/lib/operations/TokensRequest_OIDC.js +0 -22
  367. package/lib/operations/TokensRequest_OIDC.js.map +0 -1
  368. package/lib/operations/VolumeDelete.d.ts +0 -41
  369. package/lib/operations/VolumeDelete.d.ts.map +0 -1
  370. package/lib/operations/VolumeDelete.js +0 -46
  371. package/lib/operations/VolumeDelete.js.map +0 -1
  372. package/lib/operations/VolumesCreate.d.ts +0 -62
  373. package/lib/operations/VolumesCreate.d.ts.map +0 -1
  374. package/lib/operations/VolumesCreate.js +0 -67
  375. package/lib/operations/VolumesCreate.js.map +0 -1
  376. package/lib/operations/VolumesExtend.d.ts +0 -45
  377. package/lib/operations/VolumesExtend.d.ts.map +0 -1
  378. package/lib/operations/VolumesExtend.js +0 -53
  379. package/lib/operations/VolumesExtend.js.map +0 -1
  380. package/lib/operations/VolumesGetById.d.ts +0 -41
  381. package/lib/operations/VolumesGetById.d.ts.map +0 -1
  382. package/lib/operations/VolumesGetById.js +0 -46
  383. package/lib/operations/VolumesGetById.js.map +0 -1
  384. package/lib/operations/VolumesList.d.ts +0 -41
  385. package/lib/operations/VolumesList.d.ts.map +0 -1
  386. package/lib/operations/VolumesList.js +0 -46
  387. package/lib/operations/VolumesList.js.map +0 -1
  388. package/lib/operations/VolumesListSnapshots.d.ts +0 -27
  389. package/lib/operations/VolumesListSnapshots.d.ts.map +0 -1
  390. package/lib/operations/VolumesListSnapshots.js +0 -37
  391. package/lib/operations/VolumesListSnapshots.js.map +0 -1
  392. package/lib/operations/VolumesOrgList.d.ts +0 -59
  393. package/lib/operations/VolumesOrgList.d.ts.map +0 -1
  394. package/lib/operations/VolumesOrgList.js +0 -63
  395. package/lib/operations/VolumesOrgList.js.map +0 -1
  396. package/lib/operations/VolumesUpdate.d.ts +0 -43
  397. package/lib/operations/VolumesUpdate.d.ts.map +0 -1
  398. package/lib/operations/VolumesUpdate.js +0 -48
  399. package/lib/operations/VolumesUpdate.js.map +0 -1
  400. package/lib/operations/createVolumeSnapshot.d.ts +0 -19
  401. package/lib/operations/createVolumeSnapshot.d.ts.map +0 -1
  402. package/lib/operations/createVolumeSnapshot.js +0 -29
  403. package/lib/operations/createVolumeSnapshot.js.map +0 -1
  404. package/lib/operations/index.d.ts +0 -77
  405. package/lib/operations/index.d.ts.map +0 -1
  406. package/lib/operations/index.js +0 -77
  407. package/lib/operations/index.js.map +0 -1
  408. package/lib/sensitive.d.ts +0 -5
  409. package/lib/sensitive.d.ts.map +0 -1
  410. package/lib/sensitive.js +0 -5
  411. package/lib/sensitive.js.map +0 -1
  412. package/src/category.ts +0 -4
  413. package/src/client.ts +0 -71
  414. package/src/operations/AppCertificatesAcmeCreate.ts +0 -148
  415. package/src/operations/AppCertificatesAcmeDelete.ts +0 -147
  416. package/src/operations/AppCertificatesCheck.ts +0 -167
  417. package/src/operations/AppCertificatesCustomCreate.ts +0 -154
  418. package/src/operations/AppCertificatesCustomDelete.ts +0 -149
  419. package/src/operations/AppCertificatesDelete.ts +0 -38
  420. package/src/operations/AppCertificatesList.ts +0 -81
  421. package/src/operations/AppCertificatesShow.ts +0 -144
  422. package/src/operations/AppCreateDeployToken.ts +0 -38
  423. package/src/operations/AppIPAssignmentsCreate.ts +0 -54
  424. package/src/operations/AppIPAssignmentsDelete.ts +0 -35
  425. package/src/operations/AppIPAssignmentsList.ts +0 -52
  426. package/src/operations/App_CertificatesAcmeCreate.ts +0 -99
  427. package/src/operations/App_CertificatesAcmeDelete.ts +0 -100
  428. package/src/operations/App_CertificatesCheck.ts +0 -110
  429. package/src/operations/App_CertificatesCustomCreate.ts +0 -102
  430. package/src/operations/App_CertificatesCustomDelete.ts +0 -102
  431. package/src/operations/App_CertificatesDelete.ts +0 -28
  432. package/src/operations/App_CertificatesList.ts +0 -52
  433. package/src/operations/App_CertificatesShow.ts +0 -95
  434. package/src/operations/App_IPAssignmentsCreate.ts +0 -36
  435. package/src/operations/App_IPAssignmentsDelete.ts +0 -25
  436. package/src/operations/App_IPAssignmentsList.ts +0 -37
  437. package/src/operations/AppsCreate.ts +0 -37
  438. package/src/operations/AppsDelete.ts +0 -33
  439. package/src/operations/AppsList.ts +0 -73
  440. package/src/operations/AppsShow.ts +0 -56
  441. package/src/operations/CurrentTokenShow.ts +0 -48
  442. package/src/operations/MachinesCordon.ts +0 -39
  443. package/src/operations/MachinesCreate.ts +0 -2166
  444. package/src/operations/MachinesCreateLease.ts +0 -57
  445. package/src/operations/MachinesDelete.ts +0 -39
  446. package/src/operations/MachinesDeleteMetadata.ts +0 -43
  447. package/src/operations/MachinesExec.ts +0 -58
  448. package/src/operations/MachinesGetMemory.ts +0 -45
  449. package/src/operations/MachinesGetMetadataKey.ts +0 -47
  450. package/src/operations/MachinesList.ts +0 -1494
  451. package/src/operations/MachinesListEvents.ts +0 -59
  452. package/src/operations/MachinesListProcesses.ts +0 -73
  453. package/src/operations/MachinesListVersions.ts +0 -742
  454. package/src/operations/MachinesOrgList.ts +0 -128
  455. package/src/operations/MachinesPatchMetadata.ts +0 -38
  456. package/src/operations/MachinesReclaimMemory.ts +0 -46
  457. package/src/operations/MachinesReleaseLease.ts +0 -41
  458. package/src/operations/MachinesRestart.ts +0 -62
  459. package/src/operations/MachinesSetMemoryLimit.ts +0 -48
  460. package/src/operations/MachinesShow.ts +0 -1473
  461. package/src/operations/MachinesShowLease.ts +0 -51
  462. package/src/operations/MachinesShowMetadata.ts +0 -43
  463. package/src/operations/MachinesSignal.ts +0 -72
  464. package/src/operations/MachinesStart.ts +0 -39
  465. package/src/operations/MachinesStop.ts +0 -60
  466. package/src/operations/MachinesSuspend.ts +0 -39
  467. package/src/operations/MachinesUncordon.ts +0 -39
  468. package/src/operations/MachinesUpdate.ts +0 -2170
  469. package/src/operations/MachinesUpdateMetadata.ts +0 -47
  470. package/src/operations/MachinesUpsertMetadata.ts +0 -47
  471. package/src/operations/MachinesWait.ts +0 -79
  472. package/src/operations/PlatformPlacementsPost.ts +0 -80
  473. package/src/operations/PlatformRegionsGet.ts +0 -56
  474. package/src/operations/SecretCreate.ts +0 -51
  475. package/src/operations/SecretDelete.ts +0 -39
  476. package/src/operations/SecretGet.ts +0 -51
  477. package/src/operations/SecretkeyDecrypt.ts +0 -47
  478. package/src/operations/SecretkeyDelete.ts +0 -42
  479. package/src/operations/SecretkeyEncrypt.ts +0 -47
  480. package/src/operations/SecretkeyGenerate.ts +0 -57
  481. package/src/operations/SecretkeyGet.ts +0 -48
  482. package/src/operations/SecretkeySet.ts +0 -53
  483. package/src/operations/SecretkeySign.ts +0 -45
  484. package/src/operations/SecretkeyVerify.ts +0 -44
  485. package/src/operations/SecretkeysList.ts +0 -56
  486. package/src/operations/SecretsList.ts +0 -56
  487. package/src/operations/SecretsUpdate.ts +0 -56
  488. package/src/operations/TokensAuthenticate.ts +0 -54
  489. package/src/operations/TokensAuthorize.ts +0 -122
  490. package/src/operations/TokensRequestKms.ts +0 -27
  491. package/src/operations/TokensRequestOIDC.ts +0 -33
  492. package/src/operations/TokensRequest_Kms.ts +0 -24
  493. package/src/operations/TokensRequest_OIDC.ts +0 -26
  494. package/src/operations/VolumeDelete.ts +0 -81
  495. package/src/operations/VolumesCreate.ts +0 -128
  496. package/src/operations/VolumesExtend.ts +0 -94
  497. package/src/operations/VolumesGetById.ts +0 -81
  498. package/src/operations/VolumesList.ts +0 -83
  499. package/src/operations/VolumesListSnapshots.ts +0 -58
  500. package/src/operations/VolumesOrgList.ts +0 -115
  501. package/src/operations/VolumesUpdate.ts +0 -85
  502. package/src/operations/createVolumeSnapshot.ts +0 -40
  503. package/src/operations/index.ts +0 -76
  504. 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
- }));