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