@distilled.cloud/fly-io 0.27.0 → 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
@@ -4,6 +4,253 @@ import * as T from "../traits.ts";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface MachinesUpdateInput {
8
+ app_name: string;
9
+ machine_id: string;
10
+ config?: {
11
+ auto_destroy?: boolean;
12
+ cache_drive?: { size_mb?: number };
13
+ checks?: Record<
14
+ string,
15
+ {
16
+ grace_period?: string;
17
+ headers?: { name?: string; values?: string[] }[];
18
+ interval?: string;
19
+ kind?: "informational" | "readiness";
20
+ method?: string;
21
+ path?: string;
22
+ port?: number;
23
+ protocol?: string;
24
+ timeout?: string;
25
+ tls_server_name?: string;
26
+ tls_skip_verify?: boolean;
27
+ type?: string;
28
+ }
29
+ >;
30
+ containers?: {
31
+ cmd?: string[];
32
+ depends_on?: {
33
+ condition?: "exited_successfully" | "healthy" | "started";
34
+ name?: string;
35
+ }[];
36
+ entrypoint?: string[];
37
+ env?: Record<string, string>;
38
+ env_from?: {
39
+ env_var?: string;
40
+ field_ref?:
41
+ | "id"
42
+ | "version"
43
+ | "app_name"
44
+ | "private_ip"
45
+ | "region"
46
+ | "image";
47
+ }[];
48
+ exec?: string[];
49
+ files?: {
50
+ guest_path?: string;
51
+ image_config?: string;
52
+ mode?: number;
53
+ raw_value?: string;
54
+ secret_name?: string;
55
+ }[];
56
+ healthchecks?: {
57
+ exec?: { command?: string[] };
58
+ failure_threshold?: number;
59
+ grace_period?: number;
60
+ http?: {
61
+ headers?: { name?: string; values?: string[] }[];
62
+ method?: string;
63
+ path?: string;
64
+ port?: number;
65
+ scheme?: "http" | "https";
66
+ tls_server_name?: string;
67
+ tls_skip_verify?: boolean;
68
+ };
69
+ interval?: number;
70
+ kind?: "readiness" | "liveness";
71
+ name?: string;
72
+ success_threshold?: number;
73
+ tcp?: { port?: number };
74
+ timeout?: number;
75
+ unhealthy?: "stop";
76
+ }[];
77
+ image?: string;
78
+ name?: string;
79
+ restart?: {
80
+ gpu_bid_price?: number;
81
+ max_retries?: number;
82
+ policy?: "no" | "always" | "on-failure" | "spot-price";
83
+ };
84
+ secrets?: { env_var?: string; name?: string }[];
85
+ stop?: {
86
+ signal?:
87
+ | "SIGHUP"
88
+ | "SIGINT"
89
+ | "SIGQUIT"
90
+ | "SIGKILL"
91
+ | "SIGUSR1"
92
+ | "SIGUSR2"
93
+ | "SIGTERM";
94
+ timeout?: string;
95
+ };
96
+ user?: string;
97
+ }[];
98
+ disable_machine_autostart?: boolean;
99
+ dns?: {
100
+ dns_forward_rules?: { addr?: string; basename?: string }[];
101
+ hostname?: string;
102
+ hostname_fqdn?: string;
103
+ nameservers?: string[];
104
+ options?: { name?: string; value?: string }[];
105
+ searches?: string[];
106
+ skip_registration?: boolean;
107
+ };
108
+ env?: Record<string, string>;
109
+ files?: {
110
+ guest_path?: string;
111
+ image_config?: string;
112
+ mode?: number;
113
+ raw_value?: string;
114
+ secret_name?: string;
115
+ }[];
116
+ guest?: {
117
+ cpu_kind?: string;
118
+ cpus?: number;
119
+ gpu_kind?: string;
120
+ gpus?: number;
121
+ host_dedication_id?: string;
122
+ kernel_args?: string[];
123
+ max_memory_mb?: number;
124
+ memory_mb?: number;
125
+ persist_rootfs?: "never" | "always" | "restart";
126
+ };
127
+ image?: string;
128
+ init?: {
129
+ cmd?: string[];
130
+ entrypoint?: string[];
131
+ exec?: string[];
132
+ kernel_args?: string[];
133
+ swap_size_mb?: number;
134
+ tty?: boolean;
135
+ };
136
+ metadata?: Record<string, string>;
137
+ metrics?: { https?: boolean; path?: string; port?: number };
138
+ mounts?: {
139
+ add_size_gb?: number;
140
+ encrypted?: boolean;
141
+ extend_threshold_percent?: number;
142
+ name?: string;
143
+ path?: string;
144
+ size_gb?: number;
145
+ size_gb_limit?: number;
146
+ volume?: string;
147
+ }[];
148
+ processes?: {
149
+ cmd?: string[];
150
+ entrypoint?: string[];
151
+ env?: Record<string, string>;
152
+ env_from?: {
153
+ env_var?: string;
154
+ field_ref?:
155
+ | "id"
156
+ | "version"
157
+ | "app_name"
158
+ | "private_ip"
159
+ | "region"
160
+ | "image";
161
+ }[];
162
+ exec?: string[];
163
+ ignore_app_secrets?: boolean;
164
+ secrets?: { env_var?: string; name?: string }[];
165
+ user?: string;
166
+ }[];
167
+ restart?: {
168
+ gpu_bid_price?: number;
169
+ max_retries?: number;
170
+ policy?: "no" | "always" | "on-failure" | "spot-price";
171
+ };
172
+ rootfs?: { persist?: "never" | "always" | "restart"; size_gb?: number };
173
+ schedule?: string;
174
+ services?: {
175
+ autostart?: boolean;
176
+ autostop?: "off" | "stop" | "suspend";
177
+ checks?: {
178
+ grace_period?: string;
179
+ headers?: { name?: string; values?: string[] }[];
180
+ interval?: string;
181
+ method?: string;
182
+ path?: string;
183
+ port?: number;
184
+ protocol?: string;
185
+ timeout?: string;
186
+ tls_server_name?: string;
187
+ tls_skip_verify?: boolean;
188
+ type?: string;
189
+ }[];
190
+ concurrency?: { hard_limit?: number; soft_limit?: number; type?: string };
191
+ force_instance_description?: string;
192
+ force_instance_key?: string;
193
+ internal_port?: number;
194
+ min_machines_running?: number;
195
+ ports?: {
196
+ end_port?: number;
197
+ force_https?: boolean;
198
+ handlers?: string[];
199
+ http_options?: {
200
+ compress?: boolean;
201
+ h2_backend?: boolean;
202
+ headers_read_timeout?: number;
203
+ idle_timeout?: number;
204
+ replay_cache?: {
205
+ allow_bypass?: boolean;
206
+ name?: string;
207
+ path_prefix?: string;
208
+ ttl_seconds?: number;
209
+ type?: "cookie" | "header";
210
+ }[];
211
+ response?: { headers?: Record<string, unknown>; pristine?: boolean };
212
+ };
213
+ port?: number;
214
+ proxy_proto_options?: { version?: string };
215
+ start_port?: number;
216
+ tls_options?: {
217
+ alpn?: string[];
218
+ default_self_signed?: boolean;
219
+ versions?: string[];
220
+ };
221
+ }[];
222
+ protocol?: string;
223
+ }[];
224
+ size?: string;
225
+ spot?: { max_price_fraction?: number };
226
+ standbys?: string[];
227
+ statics?: {
228
+ guest_path: string;
229
+ index_document?: string;
230
+ tigris_bucket?: string;
231
+ url_prefix: string;
232
+ }[];
233
+ stop_config?: {
234
+ signal?:
235
+ | "SIGHUP"
236
+ | "SIGINT"
237
+ | "SIGQUIT"
238
+ | "SIGKILL"
239
+ | "SIGUSR1"
240
+ | "SIGUSR2"
241
+ | "SIGTERM";
242
+ timeout?: string;
243
+ };
244
+ };
245
+ current_version?: string;
246
+ lease_ttl?: number;
247
+ min_secrets_version?: number;
248
+ name?: string;
249
+ region?: string;
250
+ skip_launch?: boolean;
251
+ skip_secrets?: boolean;
252
+ skip_service_registration?: boolean;
253
+ }
7
254
  export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
255
  app_name: Schema.String.pipe(T.PathParam()),
9
256
  machine_id: Schema.String.pipe(T.PathParam()),
@@ -419,6 +666,11 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
419
666
  ),
420
667
  ),
421
668
  size: Schema.optional(Schema.String),
669
+ spot: Schema.optional(
670
+ Schema.Struct({
671
+ max_price_fraction: Schema.optional(Schema.Number),
672
+ }),
673
+ ),
422
674
  standbys: Schema.optional(Schema.Array(Schema.String)),
423
675
  statics: Schema.optional(
424
676
  Schema.Array(
@@ -450,7 +702,6 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
450
702
  ),
451
703
  current_version: Schema.optional(Schema.String),
452
704
  lease_ttl: Schema.optional(Schema.Number),
453
- lsvd: Schema.optional(Schema.Boolean),
454
705
  min_secrets_version: Schema.optional(Schema.Number),
455
706
  name: Schema.optional(Schema.String),
456
707
  region: Schema.optional(Schema.String),
@@ -459,10 +710,512 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
459
710
  skip_service_registration: Schema.optional(Schema.Boolean),
460
711
  }).pipe(
461
712
  T.Http({ method: "POST", path: "/apps/{app_name}/machines/{machine_id}" }),
462
- );
463
- export type MachinesUpdateInput = typeof MachinesUpdateInput.Type;
713
+ ) as unknown as Schema.Codec<MachinesUpdateInput>;
464
714
 
465
715
  // Output Schema
716
+ export interface MachinesUpdateOutput {
717
+ checks?: {
718
+ name?: string;
719
+ output?: string;
720
+ status?: string;
721
+ updated_at?: string;
722
+ }[];
723
+ config?: {
724
+ auto_destroy?: boolean;
725
+ cache_drive?: { size_mb?: number };
726
+ checks?: Record<
727
+ string,
728
+ {
729
+ grace_period?: string;
730
+ headers?: { name?: string; values?: string[] }[];
731
+ interval?: string;
732
+ kind?: "informational" | "readiness";
733
+ method?: string;
734
+ path?: string;
735
+ port?: number;
736
+ protocol?: string;
737
+ timeout?: string;
738
+ tls_server_name?: string;
739
+ tls_skip_verify?: boolean;
740
+ type?: string;
741
+ }
742
+ >;
743
+ containers?: {
744
+ cmd?: string[];
745
+ depends_on?: {
746
+ condition?: "exited_successfully" | "healthy" | "started";
747
+ name?: string;
748
+ }[];
749
+ entrypoint?: string[];
750
+ env?: Record<string, string>;
751
+ env_from?: {
752
+ env_var?: string;
753
+ field_ref?:
754
+ | "id"
755
+ | "version"
756
+ | "app_name"
757
+ | "private_ip"
758
+ | "region"
759
+ | "image";
760
+ }[];
761
+ exec?: string[];
762
+ files?: {
763
+ guest_path?: string;
764
+ image_config?: string;
765
+ mode?: number;
766
+ raw_value?: string;
767
+ secret_name?: string;
768
+ }[];
769
+ healthchecks?: {
770
+ exec?: { command?: string[] };
771
+ failure_threshold?: number;
772
+ grace_period?: number;
773
+ http?: {
774
+ headers?: { name?: string; values?: string[] }[];
775
+ method?: string;
776
+ path?: string;
777
+ port?: number;
778
+ scheme?: "http" | "https";
779
+ tls_server_name?: string;
780
+ tls_skip_verify?: boolean;
781
+ };
782
+ interval?: number;
783
+ kind?: "readiness" | "liveness";
784
+ name?: string;
785
+ success_threshold?: number;
786
+ tcp?: { port?: number };
787
+ timeout?: number;
788
+ unhealthy?: "stop";
789
+ }[];
790
+ image?: string;
791
+ name?: string;
792
+ restart?: {
793
+ gpu_bid_price?: number;
794
+ max_retries?: number;
795
+ policy?: "no" | "always" | "on-failure" | "spot-price";
796
+ };
797
+ secrets?: { env_var?: string; name?: string }[];
798
+ stop?: {
799
+ signal?:
800
+ | "SIGHUP"
801
+ | "SIGINT"
802
+ | "SIGQUIT"
803
+ | "SIGKILL"
804
+ | "SIGUSR1"
805
+ | "SIGUSR2"
806
+ | "SIGTERM";
807
+ timeout?: string;
808
+ };
809
+ user?: string;
810
+ }[];
811
+ disable_machine_autostart?: boolean;
812
+ dns?: {
813
+ dns_forward_rules?: { addr?: string; basename?: string }[];
814
+ hostname?: string;
815
+ hostname_fqdn?: string;
816
+ nameservers?: string[];
817
+ options?: { name?: string; value?: string }[];
818
+ searches?: string[];
819
+ skip_registration?: boolean;
820
+ };
821
+ env?: Record<string, string>;
822
+ files?: {
823
+ guest_path?: string;
824
+ image_config?: string;
825
+ mode?: number;
826
+ raw_value?: string;
827
+ secret_name?: string;
828
+ }[];
829
+ guest?: {
830
+ cpu_kind?: string;
831
+ cpus?: number;
832
+ gpu_kind?: string;
833
+ gpus?: number;
834
+ host_dedication_id?: string;
835
+ kernel_args?: string[];
836
+ max_memory_mb?: number;
837
+ memory_mb?: number;
838
+ persist_rootfs?: "never" | "always" | "restart";
839
+ };
840
+ image?: string;
841
+ init?: {
842
+ cmd?: string[];
843
+ entrypoint?: string[];
844
+ exec?: string[];
845
+ kernel_args?: string[];
846
+ swap_size_mb?: number;
847
+ tty?: boolean;
848
+ };
849
+ metadata?: Record<string, string>;
850
+ metrics?: { https?: boolean; path?: string; port?: number };
851
+ mounts?: {
852
+ add_size_gb?: number;
853
+ encrypted?: boolean;
854
+ extend_threshold_percent?: number;
855
+ name?: string;
856
+ path?: string;
857
+ size_gb?: number;
858
+ size_gb_limit?: number;
859
+ volume?: string;
860
+ }[];
861
+ processes?: {
862
+ cmd?: string[];
863
+ entrypoint?: string[];
864
+ env?: Record<string, string>;
865
+ env_from?: {
866
+ env_var?: string;
867
+ field_ref?:
868
+ | "id"
869
+ | "version"
870
+ | "app_name"
871
+ | "private_ip"
872
+ | "region"
873
+ | "image";
874
+ }[];
875
+ exec?: string[];
876
+ ignore_app_secrets?: boolean;
877
+ secrets?: { env_var?: string; name?: string }[];
878
+ user?: string;
879
+ }[];
880
+ restart?: {
881
+ gpu_bid_price?: number;
882
+ max_retries?: number;
883
+ policy?: "no" | "always" | "on-failure" | "spot-price";
884
+ };
885
+ rootfs?: { persist?: "never" | "always" | "restart"; size_gb?: number };
886
+ schedule?: string;
887
+ services?: {
888
+ autostart?: boolean;
889
+ autostop?: "off" | "stop" | "suspend";
890
+ checks?: {
891
+ grace_period?: string;
892
+ headers?: { name?: string; values?: string[] }[];
893
+ interval?: string;
894
+ method?: string;
895
+ path?: string;
896
+ port?: number;
897
+ protocol?: string;
898
+ timeout?: string;
899
+ tls_server_name?: string;
900
+ tls_skip_verify?: boolean;
901
+ type?: string;
902
+ }[];
903
+ concurrency?: { hard_limit?: number; soft_limit?: number; type?: string };
904
+ force_instance_description?: string;
905
+ force_instance_key?: string;
906
+ internal_port?: number;
907
+ min_machines_running?: number;
908
+ ports?: {
909
+ end_port?: number;
910
+ force_https?: boolean;
911
+ handlers?: string[];
912
+ http_options?: {
913
+ compress?: boolean;
914
+ h2_backend?: boolean;
915
+ headers_read_timeout?: number;
916
+ idle_timeout?: number;
917
+ replay_cache?: {
918
+ allow_bypass?: boolean;
919
+ name?: string;
920
+ path_prefix?: string;
921
+ ttl_seconds?: number;
922
+ type?: "cookie" | "header";
923
+ }[];
924
+ response?: { headers?: Record<string, unknown>; pristine?: boolean };
925
+ };
926
+ port?: number;
927
+ proxy_proto_options?: { version?: string };
928
+ start_port?: number;
929
+ tls_options?: {
930
+ alpn?: string[];
931
+ default_self_signed?: boolean;
932
+ versions?: string[];
933
+ };
934
+ }[];
935
+ protocol?: string;
936
+ }[];
937
+ size?: string;
938
+ spot?: { max_price_fraction?: number };
939
+ standbys?: string[];
940
+ statics?: {
941
+ guest_path: string;
942
+ index_document?: string;
943
+ tigris_bucket?: string;
944
+ url_prefix: string;
945
+ }[];
946
+ stop_config?: {
947
+ signal?:
948
+ | "SIGHUP"
949
+ | "SIGINT"
950
+ | "SIGQUIT"
951
+ | "SIGKILL"
952
+ | "SIGUSR1"
953
+ | "SIGUSR2"
954
+ | "SIGTERM";
955
+ timeout?: string;
956
+ };
957
+ };
958
+ created_at?: string;
959
+ events?: {
960
+ id?: string;
961
+ request?: unknown;
962
+ source?: string;
963
+ status?: string;
964
+ timestamp?: number;
965
+ type?: string;
966
+ }[];
967
+ host_status?: "ok" | "unknown" | "unreachable";
968
+ id?: string;
969
+ image_ref?: {
970
+ digest?: string;
971
+ labels?: Record<string, string>;
972
+ registry?: string;
973
+ repository?: string;
974
+ tag?: string;
975
+ };
976
+ incomplete_config?: {
977
+ auto_destroy?: boolean;
978
+ cache_drive?: { size_mb?: number };
979
+ checks?: Record<
980
+ string,
981
+ {
982
+ grace_period?: string;
983
+ headers?: { name?: string; values?: string[] }[];
984
+ interval?: string;
985
+ kind?: "informational" | "readiness";
986
+ method?: string;
987
+ path?: string;
988
+ port?: number;
989
+ protocol?: string;
990
+ timeout?: string;
991
+ tls_server_name?: string;
992
+ tls_skip_verify?: boolean;
993
+ type?: string;
994
+ }
995
+ >;
996
+ containers?: {
997
+ cmd?: string[];
998
+ depends_on?: {
999
+ condition?: "exited_successfully" | "healthy" | "started";
1000
+ name?: string;
1001
+ }[];
1002
+ entrypoint?: string[];
1003
+ env?: Record<string, string>;
1004
+ env_from?: {
1005
+ env_var?: string;
1006
+ field_ref?:
1007
+ | "id"
1008
+ | "version"
1009
+ | "app_name"
1010
+ | "private_ip"
1011
+ | "region"
1012
+ | "image";
1013
+ }[];
1014
+ exec?: string[];
1015
+ files?: {
1016
+ guest_path?: string;
1017
+ image_config?: string;
1018
+ mode?: number;
1019
+ raw_value?: string;
1020
+ secret_name?: string;
1021
+ }[];
1022
+ healthchecks?: {
1023
+ exec?: { command?: string[] };
1024
+ failure_threshold?: number;
1025
+ grace_period?: number;
1026
+ http?: {
1027
+ headers?: { name?: string; values?: string[] }[];
1028
+ method?: string;
1029
+ path?: string;
1030
+ port?: number;
1031
+ scheme?: "http" | "https";
1032
+ tls_server_name?: string;
1033
+ tls_skip_verify?: boolean;
1034
+ };
1035
+ interval?: number;
1036
+ kind?: "readiness" | "liveness";
1037
+ name?: string;
1038
+ success_threshold?: number;
1039
+ tcp?: { port?: number };
1040
+ timeout?: number;
1041
+ unhealthy?: "stop";
1042
+ }[];
1043
+ image?: string;
1044
+ name?: string;
1045
+ restart?: {
1046
+ gpu_bid_price?: number;
1047
+ max_retries?: number;
1048
+ policy?: "no" | "always" | "on-failure" | "spot-price";
1049
+ };
1050
+ secrets?: { env_var?: string; name?: string }[];
1051
+ stop?: {
1052
+ signal?:
1053
+ | "SIGHUP"
1054
+ | "SIGINT"
1055
+ | "SIGQUIT"
1056
+ | "SIGKILL"
1057
+ | "SIGUSR1"
1058
+ | "SIGUSR2"
1059
+ | "SIGTERM";
1060
+ timeout?: string;
1061
+ };
1062
+ user?: string;
1063
+ }[];
1064
+ disable_machine_autostart?: boolean;
1065
+ dns?: {
1066
+ dns_forward_rules?: { addr?: string; basename?: string }[];
1067
+ hostname?: string;
1068
+ hostname_fqdn?: string;
1069
+ nameservers?: string[];
1070
+ options?: { name?: string; value?: string }[];
1071
+ searches?: string[];
1072
+ skip_registration?: boolean;
1073
+ };
1074
+ env?: Record<string, string>;
1075
+ files?: {
1076
+ guest_path?: string;
1077
+ image_config?: string;
1078
+ mode?: number;
1079
+ raw_value?: string;
1080
+ secret_name?: string;
1081
+ }[];
1082
+ guest?: {
1083
+ cpu_kind?: string;
1084
+ cpus?: number;
1085
+ gpu_kind?: string;
1086
+ gpus?: number;
1087
+ host_dedication_id?: string;
1088
+ kernel_args?: string[];
1089
+ max_memory_mb?: number;
1090
+ memory_mb?: number;
1091
+ persist_rootfs?: "never" | "always" | "restart";
1092
+ };
1093
+ image?: string;
1094
+ init?: {
1095
+ cmd?: string[];
1096
+ entrypoint?: string[];
1097
+ exec?: string[];
1098
+ kernel_args?: string[];
1099
+ swap_size_mb?: number;
1100
+ tty?: boolean;
1101
+ };
1102
+ metadata?: Record<string, string>;
1103
+ metrics?: { https?: boolean; path?: string; port?: number };
1104
+ mounts?: {
1105
+ add_size_gb?: number;
1106
+ encrypted?: boolean;
1107
+ extend_threshold_percent?: number;
1108
+ name?: string;
1109
+ path?: string;
1110
+ size_gb?: number;
1111
+ size_gb_limit?: number;
1112
+ volume?: string;
1113
+ }[];
1114
+ processes?: {
1115
+ cmd?: string[];
1116
+ entrypoint?: string[];
1117
+ env?: Record<string, string>;
1118
+ env_from?: {
1119
+ env_var?: string;
1120
+ field_ref?:
1121
+ | "id"
1122
+ | "version"
1123
+ | "app_name"
1124
+ | "private_ip"
1125
+ | "region"
1126
+ | "image";
1127
+ }[];
1128
+ exec?: string[];
1129
+ ignore_app_secrets?: boolean;
1130
+ secrets?: { env_var?: string; name?: string }[];
1131
+ user?: string;
1132
+ }[];
1133
+ restart?: {
1134
+ gpu_bid_price?: number;
1135
+ max_retries?: number;
1136
+ policy?: "no" | "always" | "on-failure" | "spot-price";
1137
+ };
1138
+ rootfs?: { persist?: "never" | "always" | "restart"; size_gb?: number };
1139
+ schedule?: string;
1140
+ services?: {
1141
+ autostart?: boolean;
1142
+ autostop?: "off" | "stop" | "suspend";
1143
+ checks?: {
1144
+ grace_period?: string;
1145
+ headers?: { name?: string; values?: string[] }[];
1146
+ interval?: string;
1147
+ method?: string;
1148
+ path?: string;
1149
+ port?: number;
1150
+ protocol?: string;
1151
+ timeout?: string;
1152
+ tls_server_name?: string;
1153
+ tls_skip_verify?: boolean;
1154
+ type?: string;
1155
+ }[];
1156
+ concurrency?: { hard_limit?: number; soft_limit?: number; type?: string };
1157
+ force_instance_description?: string;
1158
+ force_instance_key?: string;
1159
+ internal_port?: number;
1160
+ min_machines_running?: number;
1161
+ ports?: {
1162
+ end_port?: number;
1163
+ force_https?: boolean;
1164
+ handlers?: string[];
1165
+ http_options?: {
1166
+ compress?: boolean;
1167
+ h2_backend?: boolean;
1168
+ headers_read_timeout?: number;
1169
+ idle_timeout?: number;
1170
+ replay_cache?: {
1171
+ allow_bypass?: boolean;
1172
+ name?: string;
1173
+ path_prefix?: string;
1174
+ ttl_seconds?: number;
1175
+ type?: "cookie" | "header";
1176
+ }[];
1177
+ response?: { headers?: Record<string, unknown>; pristine?: boolean };
1178
+ };
1179
+ port?: number;
1180
+ proxy_proto_options?: { version?: string };
1181
+ start_port?: number;
1182
+ tls_options?: {
1183
+ alpn?: string[];
1184
+ default_self_signed?: boolean;
1185
+ versions?: string[];
1186
+ };
1187
+ }[];
1188
+ protocol?: string;
1189
+ }[];
1190
+ size?: string;
1191
+ spot?: { max_price_fraction?: number };
1192
+ standbys?: string[];
1193
+ statics?: {
1194
+ guest_path: string;
1195
+ index_document?: string;
1196
+ tigris_bucket?: string;
1197
+ url_prefix: string;
1198
+ }[];
1199
+ stop_config?: {
1200
+ signal?:
1201
+ | "SIGHUP"
1202
+ | "SIGINT"
1203
+ | "SIGQUIT"
1204
+ | "SIGKILL"
1205
+ | "SIGUSR1"
1206
+ | "SIGUSR2"
1207
+ | "SIGTERM";
1208
+ timeout?: string;
1209
+ };
1210
+ };
1211
+ instance_id?: string;
1212
+ name?: string;
1213
+ nonce?: string;
1214
+ private_ip?: string;
1215
+ region?: string;
1216
+ state?: string;
1217
+ updated_at?: string;
1218
+ }
466
1219
  export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
467
1220
  checks: Schema.optional(
468
1221
  Schema.Array(
@@ -886,6 +1639,11 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
886
1639
  ),
887
1640
  ),
888
1641
  size: Schema.optional(Schema.String),
1642
+ spot: Schema.optional(
1643
+ Schema.Struct({
1644
+ max_price_fraction: Schema.optional(Schema.Number),
1645
+ }),
1646
+ ),
889
1647
  standbys: Schema.optional(Schema.Array(Schema.String)),
890
1648
  statics: Schema.optional(
891
1649
  Schema.Array(
@@ -1353,6 +2111,11 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1353
2111
  ),
1354
2112
  ),
1355
2113
  size: Schema.optional(Schema.String),
2114
+ spot: Schema.optional(
2115
+ Schema.Struct({
2116
+ max_price_fraction: Schema.optional(Schema.Number),
2117
+ }),
2118
+ ),
1356
2119
  standbys: Schema.optional(Schema.Array(Schema.String)),
1357
2120
  statics: Schema.optional(
1358
2121
  Schema.Array(
@@ -1389,8 +2152,7 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1389
2152
  region: Schema.optional(Schema.String),
1390
2153
  state: Schema.optional(Schema.String),
1391
2154
  updated_at: Schema.optional(Schema.String),
1392
- });
1393
- export type MachinesUpdateOutput = typeof MachinesUpdateOutput.Type;
2155
+ }) as unknown as Schema.Codec<MachinesUpdateOutput>;
1394
2156
 
1395
2157
  // The operation
1396
2158
  /**