@distilled.cloud/fly-io 0.26.1 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/lib/operations/AppCertificatesAcmeCreate.d.ts +53 -101
  2. package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +1 -1
  3. package/lib/operations/AppCertificatesAcmeCreate.js +0 -2
  4. package/lib/operations/AppCertificatesAcmeCreate.js.map +1 -1
  5. package/lib/operations/AppCertificatesAcmeDelete.d.ts +53 -101
  6. package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +1 -1
  7. package/lib/operations/AppCertificatesAcmeDelete.js +0 -2
  8. package/lib/operations/AppCertificatesAcmeDelete.js.map +1 -1
  9. package/lib/operations/AppCertificatesCheck.d.ts +62 -119
  10. package/lib/operations/AppCertificatesCheck.d.ts.map +1 -1
  11. package/lib/operations/AppCertificatesCheck.js +0 -2
  12. package/lib/operations/AppCertificatesCheck.js.map +1 -1
  13. package/lib/operations/AppCertificatesCustomCreate.d.ts +56 -105
  14. package/lib/operations/AppCertificatesCustomCreate.d.ts.map +1 -1
  15. package/lib/operations/AppCertificatesCustomCreate.js +1 -2
  16. package/lib/operations/AppCertificatesCustomCreate.js.map +1 -1
  17. package/lib/operations/AppCertificatesCustomDelete.d.ts +54 -103
  18. package/lib/operations/AppCertificatesCustomDelete.d.ts.map +1 -1
  19. package/lib/operations/AppCertificatesCustomDelete.js +0 -2
  20. package/lib/operations/AppCertificatesCustomDelete.js.map +1 -1
  21. package/lib/operations/AppCertificatesDelete.d.ts +8 -11
  22. package/lib/operations/AppCertificatesDelete.d.ts.map +1 -1
  23. package/lib/operations/AppCertificatesDelete.js +0 -2
  24. package/lib/operations/AppCertificatesDelete.js.map +1 -1
  25. package/lib/operations/AppCertificatesList.d.ts +28 -51
  26. package/lib/operations/AppCertificatesList.d.ts.map +1 -1
  27. package/lib/operations/AppCertificatesList.js +0 -2
  28. package/lib/operations/AppCertificatesList.js.map +1 -1
  29. package/lib/operations/AppCertificatesShow.d.ts +53 -101
  30. package/lib/operations/AppCertificatesShow.d.ts.map +1 -1
  31. package/lib/operations/AppCertificatesShow.js +0 -2
  32. package/lib/operations/AppCertificatesShow.js.map +1 -1
  33. package/lib/operations/AppCreateDeployToken.d.ts +10 -15
  34. package/lib/operations/AppCreateDeployToken.d.ts.map +1 -1
  35. package/lib/operations/AppCreateDeployToken.js +0 -2
  36. package/lib/operations/AppCreateDeployToken.js.map +1 -1
  37. package/lib/operations/AppIPAssignmentsCreate.d.ts +18 -31
  38. package/lib/operations/AppIPAssignmentsCreate.d.ts.map +1 -1
  39. package/lib/operations/AppIPAssignmentsCreate.js +0 -2
  40. package/lib/operations/AppIPAssignmentsCreate.js.map +1 -1
  41. package/lib/operations/AppIPAssignmentsDelete.d.ts +8 -11
  42. package/lib/operations/AppIPAssignmentsDelete.d.ts.map +1 -1
  43. package/lib/operations/AppIPAssignmentsDelete.js +0 -2
  44. package/lib/operations/AppIPAssignmentsDelete.js.map +1 -1
  45. package/lib/operations/AppIPAssignmentsList.d.ts +15 -25
  46. package/lib/operations/AppIPAssignmentsList.d.ts.map +1 -1
  47. package/lib/operations/AppIPAssignmentsList.js +0 -2
  48. package/lib/operations/AppIPAssignmentsList.js.map +1 -1
  49. package/lib/operations/AppsCreate.d.ts +10 -15
  50. package/lib/operations/AppsCreate.d.ts.map +1 -1
  51. package/lib/operations/AppsCreate.js +2 -3
  52. package/lib/operations/AppsCreate.js.map +1 -1
  53. package/lib/operations/AppsDelete.d.ts +7 -9
  54. package/lib/operations/AppsDelete.d.ts.map +1 -1
  55. package/lib/operations/AppsDelete.js +2 -3
  56. package/lib/operations/AppsDelete.js.map +1 -1
  57. package/lib/operations/AppsList.d.ts +24 -43
  58. package/lib/operations/AppsList.d.ts.map +1 -1
  59. package/lib/operations/AppsList.js +0 -2
  60. package/lib/operations/AppsList.js.map +1 -1
  61. package/lib/operations/AppsShow.d.ts +20 -35
  62. package/lib/operations/AppsShow.d.ts.map +1 -1
  63. package/lib/operations/AppsShow.js +0 -2
  64. package/lib/operations/AppsShow.js.map +1 -1
  65. package/lib/operations/CurrentTokenShow.d.ts +17 -27
  66. package/lib/operations/CurrentTokenShow.d.ts.map +1 -1
  67. package/lib/operations/CurrentTokenShow.js +2 -6
  68. package/lib/operations/CurrentTokenShow.js.map +1 -1
  69. package/lib/operations/MachinesCordon.d.ts +8 -11
  70. package/lib/operations/MachinesCordon.d.ts.map +1 -1
  71. package/lib/operations/MachinesCordon.js +2 -3
  72. package/lib/operations/MachinesCordon.js.map +1 -1
  73. package/lib/operations/MachinesCreate.d.ts +799 -1615
  74. package/lib/operations/MachinesCreate.d.ts.map +1 -1
  75. package/lib/operations/MachinesCreate.js +9 -3
  76. package/lib/operations/MachinesCreate.js.map +1 -1
  77. package/lib/operations/MachinesCreateLease.d.ts +16 -27
  78. package/lib/operations/MachinesCreateLease.d.ts.map +1 -1
  79. package/lib/operations/MachinesCreateLease.js +0 -2
  80. package/lib/operations/MachinesCreateLease.js.map +1 -1
  81. package/lib/operations/MachinesDelete.d.ts +9 -13
  82. package/lib/operations/MachinesDelete.d.ts.map +1 -1
  83. package/lib/operations/MachinesDelete.js +2 -3
  84. package/lib/operations/MachinesDelete.js.map +1 -1
  85. package/lib/operations/MachinesDeleteMetadata.d.ts +9 -13
  86. package/lib/operations/MachinesDeleteMetadata.d.ts.map +1 -1
  87. package/lib/operations/MachinesDeleteMetadata.js +0 -2
  88. package/lib/operations/MachinesDeleteMetadata.js.map +1 -1
  89. package/lib/operations/MachinesExec.d.ts +18 -31
  90. package/lib/operations/MachinesExec.d.ts.map +1 -1
  91. package/lib/operations/MachinesExec.js +0 -2
  92. package/lib/operations/MachinesExec.js.map +1 -1
  93. package/lib/operations/MachinesGetMemory.d.ts +11 -17
  94. package/lib/operations/MachinesGetMemory.d.ts.map +1 -1
  95. package/lib/operations/MachinesGetMemory.js +0 -2
  96. package/lib/operations/MachinesGetMemory.js.map +1 -1
  97. package/lib/operations/MachinesGetMetadataKey.d.ts +11 -17
  98. package/lib/operations/MachinesGetMetadataKey.d.ts.map +1 -1
  99. package/lib/operations/MachinesGetMetadataKey.js +0 -2
  100. package/lib/operations/MachinesGetMetadataKey.js.map +1 -1
  101. package/lib/operations/MachinesList.d.ts +545 -1099
  102. package/lib/operations/MachinesList.d.ts.map +1 -1
  103. package/lib/operations/MachinesList.js +6 -2
  104. package/lib/operations/MachinesList.js.map +1 -1
  105. package/lib/operations/MachinesListEvents.d.ts +16 -27
  106. package/lib/operations/MachinesListEvents.d.ts.map +1 -1
  107. package/lib/operations/MachinesListEvents.js +0 -2
  108. package/lib/operations/MachinesListEvents.js.map +1 -1
  109. package/lib/operations/MachinesListProcesses.d.ts +22 -39
  110. package/lib/operations/MachinesListProcesses.d.ts.map +1 -1
  111. package/lib/operations/MachinesListProcesses.js +0 -2
  112. package/lib/operations/MachinesListProcesses.js.map +1 -1
  113. package/lib/operations/MachinesListVersions.d.ts +261 -523
  114. package/lib/operations/MachinesListVersions.d.ts.map +1 -1
  115. package/lib/operations/MachinesListVersions.js +3 -2
  116. package/lib/operations/MachinesListVersions.js.map +1 -1
  117. package/lib/operations/MachinesOrgList.d.ts +47 -89
  118. package/lib/operations/MachinesOrgList.d.ts.map +1 -1
  119. package/lib/operations/MachinesOrgList.js +3 -5
  120. package/lib/operations/MachinesOrgList.js.map +1 -1
  121. package/lib/operations/MachinesReclaimMemory.d.ts +11 -17
  122. package/lib/operations/MachinesReclaimMemory.d.ts.map +1 -1
  123. package/lib/operations/MachinesReclaimMemory.js +0 -2
  124. package/lib/operations/MachinesReclaimMemory.js.map +1 -1
  125. package/lib/operations/MachinesReleaseLease.d.ts +8 -11
  126. package/lib/operations/MachinesReleaseLease.d.ts.map +1 -1
  127. package/lib/operations/MachinesReleaseLease.js +0 -2
  128. package/lib/operations/MachinesReleaseLease.js.map +1 -1
  129. package/lib/operations/MachinesRestart.d.ts +10 -15
  130. package/lib/operations/MachinesRestart.d.ts.map +1 -1
  131. package/lib/operations/MachinesRestart.js +2 -3
  132. package/lib/operations/MachinesRestart.js.map +1 -1
  133. package/lib/operations/MachinesSetMemoryLimit.d.ts +12 -19
  134. package/lib/operations/MachinesSetMemoryLimit.d.ts.map +1 -1
  135. package/lib/operations/MachinesSetMemoryLimit.js +0 -2
  136. package/lib/operations/MachinesSetMemoryLimit.js.map +1 -1
  137. package/lib/operations/MachinesShow.d.ts +542 -1093
  138. package/lib/operations/MachinesShow.d.ts.map +1 -1
  139. package/lib/operations/MachinesShow.js +6 -2
  140. package/lib/operations/MachinesShow.js.map +1 -1
  141. package/lib/operations/MachinesShowLease.d.ts +14 -23
  142. package/lib/operations/MachinesShowLease.d.ts.map +1 -1
  143. package/lib/operations/MachinesShowLease.js +0 -2
  144. package/lib/operations/MachinesShowLease.js.map +1 -1
  145. package/lib/operations/MachinesShowMetadata.d.ts +8 -13
  146. package/lib/operations/MachinesShowMetadata.d.ts.map +1 -1
  147. package/lib/operations/MachinesShowMetadata.js +0 -2
  148. package/lib/operations/MachinesShowMetadata.js.map +1 -1
  149. package/lib/operations/MachinesSignal.d.ts +9 -13
  150. package/lib/operations/MachinesSignal.d.ts.map +1 -1
  151. package/lib/operations/MachinesSignal.js +2 -3
  152. package/lib/operations/MachinesSignal.js.map +1 -1
  153. package/lib/operations/MachinesStart.d.ts +8 -11
  154. package/lib/operations/MachinesStart.d.ts.map +1 -1
  155. package/lib/operations/MachinesStart.js +2 -3
  156. package/lib/operations/MachinesStart.js.map +1 -1
  157. package/lib/operations/MachinesStop.d.ts +10 -15
  158. package/lib/operations/MachinesStop.d.ts.map +1 -1
  159. package/lib/operations/MachinesStop.js +2 -3
  160. package/lib/operations/MachinesStop.js.map +1 -1
  161. package/lib/operations/MachinesSuspend.d.ts +8 -11
  162. package/lib/operations/MachinesSuspend.d.ts.map +1 -1
  163. package/lib/operations/MachinesSuspend.js +2 -3
  164. package/lib/operations/MachinesSuspend.js.map +1 -1
  165. package/lib/operations/MachinesUncordon.d.ts +8 -11
  166. package/lib/operations/MachinesUncordon.d.ts.map +1 -1
  167. package/lib/operations/MachinesUncordon.js +2 -3
  168. package/lib/operations/MachinesUncordon.js.map +1 -1
  169. package/lib/operations/MachinesUpdate.d.ts +801 -1619
  170. package/lib/operations/MachinesUpdate.d.ts.map +1 -1
  171. package/lib/operations/MachinesUpdate.js +9 -3
  172. package/lib/operations/MachinesUpdate.js.map +1 -1
  173. package/lib/operations/MachinesUpdateMetadata.d.ts +12 -20
  174. package/lib/operations/MachinesUpdateMetadata.d.ts.map +1 -1
  175. package/lib/operations/MachinesUpdateMetadata.js +3 -5
  176. package/lib/operations/MachinesUpdateMetadata.js.map +1 -1
  177. package/lib/operations/MachinesUpsertMetadata.d.ts +11 -17
  178. package/lib/operations/MachinesUpsertMetadata.d.ts.map +1 -1
  179. package/lib/operations/MachinesUpsertMetadata.js +0 -2
  180. package/lib/operations/MachinesUpsertMetadata.js.map +1 -1
  181. package/lib/operations/MachinesWait.d.ts +18 -31
  182. package/lib/operations/MachinesWait.d.ts.map +1 -1
  183. package/lib/operations/MachinesWait.js +0 -2
  184. package/lib/operations/MachinesWait.js.map +1 -1
  185. package/lib/operations/PlatformPlacementsPost.d.ts +29 -55
  186. package/lib/operations/PlatformPlacementsPost.d.ts.map +1 -1
  187. package/lib/operations/PlatformPlacementsPost.js +0 -2
  188. package/lib/operations/PlatformPlacementsPost.js.map +1 -1
  189. package/lib/operations/PlatformRegionsGet.d.ts +18 -29
  190. package/lib/operations/PlatformRegionsGet.d.ts.map +1 -1
  191. package/lib/operations/PlatformRegionsGet.js +0 -2
  192. package/lib/operations/PlatformRegionsGet.js.map +1 -1
  193. package/lib/operations/SecretCreate.d.ts +17 -29
  194. package/lib/operations/SecretCreate.d.ts.map +1 -1
  195. package/lib/operations/SecretCreate.js +0 -2
  196. package/lib/operations/SecretCreate.js.map +1 -1
  197. package/lib/operations/SecretDelete.d.ts +11 -17
  198. package/lib/operations/SecretDelete.d.ts.map +1 -1
  199. package/lib/operations/SecretDelete.js +0 -2
  200. package/lib/operations/SecretDelete.js.map +1 -1
  201. package/lib/operations/SecretGet.d.ts +16 -27
  202. package/lib/operations/SecretGet.d.ts.map +1 -1
  203. package/lib/operations/SecretGet.js +0 -2
  204. package/lib/operations/SecretGet.js.map +1 -1
  205. package/lib/operations/SecretkeyDecrypt.d.ts +13 -21
  206. package/lib/operations/SecretkeyDecrypt.d.ts.map +1 -1
  207. package/lib/operations/SecretkeyDecrypt.js +0 -2
  208. package/lib/operations/SecretkeyDecrypt.js.map +1 -1
  209. package/lib/operations/SecretkeyDelete.d.ts +11 -17
  210. package/lib/operations/SecretkeyDelete.d.ts.map +1 -1
  211. package/lib/operations/SecretkeyDelete.js +0 -2
  212. package/lib/operations/SecretkeyDelete.js.map +1 -1
  213. package/lib/operations/SecretkeyEncrypt.d.ts +13 -21
  214. package/lib/operations/SecretkeyEncrypt.d.ts.map +1 -1
  215. package/lib/operations/SecretkeyEncrypt.js +0 -2
  216. package/lib/operations/SecretkeyEncrypt.js.map +1 -1
  217. package/lib/operations/SecretkeyGenerate.d.ts +18 -31
  218. package/lib/operations/SecretkeyGenerate.d.ts.map +1 -1
  219. package/lib/operations/SecretkeyGenerate.js +0 -2
  220. package/lib/operations/SecretkeyGenerate.js.map +1 -1
  221. package/lib/operations/SecretkeyGet.d.ts +15 -25
  222. package/lib/operations/SecretkeyGet.d.ts.map +1 -1
  223. package/lib/operations/SecretkeyGet.js +0 -2
  224. package/lib/operations/SecretkeyGet.js.map +1 -1
  225. package/lib/operations/SecretkeySet.d.ts +18 -31
  226. package/lib/operations/SecretkeySet.d.ts.map +1 -1
  227. package/lib/operations/SecretkeySet.js +0 -2
  228. package/lib/operations/SecretkeySet.js.map +1 -1
  229. package/lib/operations/SecretkeySign.d.ts +12 -19
  230. package/lib/operations/SecretkeySign.d.ts.map +1 -1
  231. package/lib/operations/SecretkeySign.js +0 -2
  232. package/lib/operations/SecretkeySign.js.map +1 -1
  233. package/lib/operations/SecretkeyVerify.d.ts +11 -17
  234. package/lib/operations/SecretkeyVerify.d.ts.map +1 -1
  235. package/lib/operations/SecretkeyVerify.js +2 -3
  236. package/lib/operations/SecretkeyVerify.js.map +1 -1
  237. package/lib/operations/SecretkeysList.d.ts +17 -29
  238. package/lib/operations/SecretkeysList.d.ts.map +1 -1
  239. package/lib/operations/SecretkeysList.js +0 -2
  240. package/lib/operations/SecretkeysList.js.map +1 -1
  241. package/lib/operations/SecretsList.d.ts +17 -29
  242. package/lib/operations/SecretsList.d.ts.map +1 -1
  243. package/lib/operations/SecretsList.js +0 -2
  244. package/lib/operations/SecretsList.js.map +1 -1
  245. package/lib/operations/SecretsUpdate.d.ts +18 -33
  246. package/lib/operations/SecretsUpdate.d.ts.map +1 -1
  247. package/lib/operations/SecretsUpdate.js +0 -2
  248. package/lib/operations/SecretsUpdate.js.map +1 -1
  249. package/lib/operations/TokensAuthenticate.d.ts +26 -0
  250. package/lib/operations/TokensAuthenticate.d.ts.map +1 -0
  251. package/lib/operations/TokensAuthenticate.js +33 -0
  252. package/lib/operations/TokensAuthenticate.js.map +1 -0
  253. package/lib/operations/TokensAuthorize.d.ts +59 -0
  254. package/lib/operations/TokensAuthorize.d.ts.map +1 -0
  255. package/lib/operations/TokensAuthorize.js +64 -0
  256. package/lib/operations/TokensAuthorize.js.map +1 -0
  257. package/lib/operations/TokensRequestKms.d.ts +6 -5
  258. package/lib/operations/TokensRequestKms.d.ts.map +1 -1
  259. package/lib/operations/TokensRequestKms.js +2 -3
  260. package/lib/operations/TokensRequestKms.js.map +1 -1
  261. package/lib/operations/TokensRequestOIDC.d.ts +8 -11
  262. package/lib/operations/TokensRequestOIDC.d.ts.map +1 -1
  263. package/lib/operations/TokensRequestOIDC.js +1 -3
  264. package/lib/operations/TokensRequestOIDC.js.map +1 -1
  265. package/lib/operations/VolumeDelete.d.ts +30 -55
  266. package/lib/operations/VolumeDelete.d.ts.map +1 -1
  267. package/lib/operations/VolumeDelete.js +0 -2
  268. package/lib/operations/VolumeDelete.js.map +1 -1
  269. package/lib/operations/VolumesCreate.d.ts +52 -99
  270. package/lib/operations/VolumesCreate.d.ts.map +1 -1
  271. package/lib/operations/VolumesCreate.js +0 -2
  272. package/lib/operations/VolumesCreate.js.map +1 -1
  273. package/lib/operations/VolumesExtend.d.ts +34 -63
  274. package/lib/operations/VolumesExtend.d.ts.map +1 -1
  275. package/lib/operations/VolumesExtend.js +0 -2
  276. package/lib/operations/VolumesExtend.js.map +1 -1
  277. package/lib/operations/VolumesGetById.d.ts +30 -55
  278. package/lib/operations/VolumesGetById.d.ts.map +1 -1
  279. package/lib/operations/VolumesGetById.js +0 -2
  280. package/lib/operations/VolumesGetById.js.map +1 -1
  281. package/lib/operations/VolumesList.d.ts +30 -55
  282. package/lib/operations/VolumesList.d.ts.map +1 -1
  283. package/lib/operations/VolumesList.js +0 -2
  284. package/lib/operations/VolumesList.js.map +1 -1
  285. package/lib/operations/VolumesListSnapshots.d.ts +16 -27
  286. package/lib/operations/VolumesListSnapshots.d.ts.map +1 -1
  287. package/lib/operations/VolumesListSnapshots.js +0 -2
  288. package/lib/operations/VolumesListSnapshots.js.map +1 -1
  289. package/lib/operations/VolumesOrgList.d.ts +43 -81
  290. package/lib/operations/VolumesOrgList.d.ts.map +1 -1
  291. package/lib/operations/VolumesOrgList.js +0 -2
  292. package/lib/operations/VolumesOrgList.js.map +1 -1
  293. package/lib/operations/VolumesUpdate.d.ts +32 -59
  294. package/lib/operations/VolumesUpdate.d.ts.map +1 -1
  295. package/lib/operations/VolumesUpdate.js +0 -2
  296. package/lib/operations/VolumesUpdate.js.map +1 -1
  297. package/lib/operations/createVolumeSnapshot.d.ts +8 -11
  298. package/lib/operations/createVolumeSnapshot.d.ts.map +1 -1
  299. package/lib/operations/createVolumeSnapshot.js +0 -2
  300. package/lib/operations/createVolumeSnapshot.js.map +1 -1
  301. package/lib/operations/index.d.ts +4 -1
  302. package/lib/operations/index.d.ts.map +1 -1
  303. package/lib/operations/index.js +4 -1
  304. package/lib/operations/index.js.map +1 -1
  305. package/package.json +2 -2
  306. package/src/operations/AppCertificatesAcmeCreate.ts +45 -6
  307. package/src/operations/AppCertificatesAcmeDelete.ts +45 -6
  308. package/src/operations/AppCertificatesCheck.ts +54 -4
  309. package/src/operations/AppCertificatesCustomCreate.ts +48 -6
  310. package/src/operations/AppCertificatesCustomDelete.ts +46 -6
  311. package/src/operations/AppCertificatesDelete.ts +7 -5
  312. package/src/operations/AppCertificatesList.ts +29 -4
  313. package/src/operations/AppCertificatesShow.ts +45 -4
  314. package/src/operations/AppCreateDeployToken.ts +11 -4
  315. package/src/operations/AppIPAssignmentsCreate.ts +19 -6
  316. package/src/operations/AppIPAssignmentsDelete.ts +7 -6
  317. package/src/operations/AppIPAssignmentsList.ts +16 -4
  318. package/src/operations/AppsCreate.ts +12 -4
  319. package/src/operations/AppsDelete.ts +9 -4
  320. package/src/operations/AppsList.ts +25 -4
  321. package/src/operations/AppsShow.ts +17 -4
  322. package/src/operations/CurrentTokenShow.ts +17 -7
  323. package/src/operations/MachinesCordon.ts +8 -4
  324. package/src/operations/MachinesCreate.ts +767 -5
  325. package/src/operations/MachinesCreateLease.ts +15 -4
  326. package/src/operations/MachinesDelete.ts +9 -4
  327. package/src/operations/MachinesDeleteMetadata.ts +8 -6
  328. package/src/operations/MachinesExec.ts +17 -4
  329. package/src/operations/MachinesGetMemory.ts +10 -4
  330. package/src/operations/MachinesGetMetadataKey.ts +10 -6
  331. package/src/operations/MachinesList.ts +524 -4
  332. package/src/operations/MachinesListEvents.ts +15 -4
  333. package/src/operations/MachinesListProcesses.ts +18 -5
  334. package/src/operations/MachinesListVersions.ts +249 -4
  335. package/src/operations/MachinesOrgList.ts +49 -7
  336. package/src/operations/MachinesReclaimMemory.ts +10 -5
  337. package/src/operations/MachinesReleaseLease.ts +7 -4
  338. package/src/operations/MachinesRestart.ts +17 -4
  339. package/src/operations/MachinesSetMemoryLimit.ts +11 -6
  340. package/src/operations/MachinesShow.ts +519 -4
  341. package/src/operations/MachinesShowLease.ts +13 -4
  342. package/src/operations/MachinesShowMetadata.ts +10 -4
  343. package/src/operations/MachinesSignal.ts +23 -4
  344. package/src/operations/MachinesStart.ts +8 -4
  345. package/src/operations/MachinesStop.ts +17 -4
  346. package/src/operations/MachinesSuspend.ts +8 -4
  347. package/src/operations/MachinesUncordon.ts +8 -4
  348. package/src/operations/MachinesUpdate.ts +767 -5
  349. package/src/operations/MachinesUpdateMetadata.ts +13 -9
  350. package/src/operations/MachinesUpsertMetadata.ts +10 -6
  351. package/src/operations/MachinesWait.ts +23 -4
  352. package/src/operations/PlatformPlacementsPost.ts +26 -6
  353. package/src/operations/PlatformRegionsGet.ts +16 -4
  354. package/src/operations/SecretCreate.ts +16 -4
  355. package/src/operations/SecretDelete.ts +10 -4
  356. package/src/operations/SecretGet.ts +15 -4
  357. package/src/operations/SecretkeyDecrypt.ts +12 -4
  358. package/src/operations/SecretkeyDelete.ts +10 -4
  359. package/src/operations/SecretkeyEncrypt.ts +12 -4
  360. package/src/operations/SecretkeyGenerate.ts +17 -4
  361. package/src/operations/SecretkeyGet.ts +14 -4
  362. package/src/operations/SecretkeySet.ts +17 -4
  363. package/src/operations/SecretkeySign.ts +11 -4
  364. package/src/operations/SecretkeyVerify.ts +11 -4
  365. package/src/operations/SecretkeysList.ts +18 -4
  366. package/src/operations/SecretsList.ts +18 -4
  367. package/src/operations/SecretsUpdate.ts +19 -4
  368. package/src/operations/TokensAuthenticate.ts +54 -0
  369. package/src/operations/TokensAuthorize.ts +122 -0
  370. package/src/operations/TokensRequestKms.ts +7 -4
  371. package/src/operations/TokensRequestOIDC.ts +9 -4
  372. package/src/operations/VolumeDelete.ts +29 -4
  373. package/src/operations/VolumesCreate.ts +53 -4
  374. package/src/operations/VolumesExtend.ts +33 -4
  375. package/src/operations/VolumesGetById.ts +29 -4
  376. package/src/operations/VolumesList.ts +31 -4
  377. package/src/operations/VolumesListSnapshots.ts +15 -4
  378. package/src/operations/VolumesOrgList.ts +44 -4
  379. package/src/operations/VolumesUpdate.ts +31 -4
  380. package/src/operations/createVolumeSnapshot.ts +7 -4
  381. package/src/operations/index.ts +4 -1
@@ -4,17 +4,25 @@ import * as T from "../traits.ts";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface AppsCreateInput {
8
+ enable_subdomains?: boolean;
9
+ name?: string;
10
+ network?: string;
11
+ org_slug?: string;
12
+ }
7
13
  export const AppsCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
14
  enable_subdomains: Schema.optional(Schema.Boolean),
9
15
  name: Schema.optional(Schema.String),
10
16
  network: Schema.optional(Schema.String),
11
17
  org_slug: Schema.optional(Schema.String),
12
- }).pipe(T.Http({ method: "POST", path: "/apps" }));
13
- export type AppsCreateInput = typeof AppsCreateInput.Type;
18
+ }).pipe(
19
+ T.Http({ method: "POST", path: "/apps" }),
20
+ ) as unknown as Schema.Codec<AppsCreateInput>;
14
21
 
15
22
  // Output Schema
16
- export const AppsCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
17
- export type AppsCreateOutput = typeof AppsCreateOutput.Type;
23
+ export type AppsCreateOutput = void;
24
+ export const AppsCreateOutput =
25
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<AppsCreateOutput>;
18
26
 
19
27
  // The operation
20
28
  /**
@@ -4,14 +4,19 @@ import * as T from "../traits.ts";
4
4
  import { Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface AppsDeleteInput {
8
+ app_name: string;
9
+ }
7
10
  export const AppsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
11
  app_name: Schema.String.pipe(T.PathParam()),
9
- }).pipe(T.Http({ method: "DELETE", path: "/apps/{app_name}" }));
10
- export type AppsDeleteInput = typeof AppsDeleteInput.Type;
12
+ }).pipe(
13
+ T.Http({ method: "DELETE", path: "/apps/{app_name}" }),
14
+ ) as unknown as Schema.Codec<AppsDeleteInput>;
11
15
 
12
16
  // Output Schema
13
- export const AppsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
14
- export type AppsDeleteOutput = typeof AppsDeleteOutput.Type;
17
+ export type AppsDeleteOutput = void;
18
+ export const AppsDeleteOutput =
19
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<AppsDeleteOutput>;
15
20
 
16
21
  // The operation
17
22
  /**
@@ -4,13 +4,35 @@ import * as T from "../traits.ts";
4
4
  import { Forbidden } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface AppsListInput {
8
+ org_slug: string;
9
+ app_role?: string;
10
+ }
7
11
  export const AppsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
12
  org_slug: Schema.String,
9
13
  app_role: Schema.optional(Schema.String),
10
- }).pipe(T.Http({ method: "GET", path: "/apps" }));
11
- export type AppsListInput = typeof AppsListInput.Type;
14
+ }).pipe(
15
+ T.Http({ method: "GET", path: "/apps" }),
16
+ ) as unknown as Schema.Codec<AppsListInput>;
12
17
 
13
18
  // Output Schema
19
+ export interface AppsListOutput {
20
+ apps?: {
21
+ id?: string;
22
+ internal_numeric_id?: number;
23
+ machine_count?: number;
24
+ name?: string;
25
+ network?: string;
26
+ organization?: {
27
+ internal_numeric_id?: number;
28
+ name?: string;
29
+ slug?: string;
30
+ };
31
+ status?: string;
32
+ volume_count?: number;
33
+ }[];
34
+ total_apps?: number;
35
+ }
14
36
  export const AppsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
15
37
  apps: Schema.optional(
16
38
  Schema.Array(
@@ -33,8 +55,7 @@ export const AppsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
33
55
  ),
34
56
  ),
35
57
  total_apps: Schema.optional(Schema.Number),
36
- });
37
- export type AppsListOutput = typeof AppsListOutput.Type;
58
+ }) as unknown as Schema.Codec<AppsListOutput>;
38
59
 
39
60
  // The operation
40
61
  /**
@@ -4,12 +4,26 @@ import * as T from "../traits.ts";
4
4
  import { Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface AppsShowInput {
8
+ app_name: string;
9
+ }
7
10
  export const AppsShowInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
11
  app_name: Schema.String.pipe(T.PathParam()),
9
- }).pipe(T.Http({ method: "GET", path: "/apps/{app_name}" }));
10
- export type AppsShowInput = typeof AppsShowInput.Type;
12
+ }).pipe(
13
+ T.Http({ method: "GET", path: "/apps/{app_name}" }),
14
+ ) as unknown as Schema.Codec<AppsShowInput>;
11
15
 
12
16
  // Output Schema
17
+ export interface AppsShowOutput {
18
+ id?: string;
19
+ internal_numeric_id?: number;
20
+ machine_count?: number;
21
+ name?: string;
22
+ network?: string;
23
+ organization?: { internal_numeric_id?: number; name?: string; slug?: string };
24
+ status?: string;
25
+ volume_count?: number;
26
+ }
13
27
  export const AppsShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
14
28
  id: Schema.optional(Schema.String),
15
29
  internal_numeric_id: Schema.optional(Schema.Number),
@@ -25,8 +39,7 @@ export const AppsShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
25
39
  ),
26
40
  status: Schema.optional(Schema.String),
27
41
  volume_count: Schema.optional(Schema.Number),
28
- });
29
- export type AppsShowOutput = typeof AppsShowOutput.Type;
42
+ }) as unknown as Schema.Codec<AppsShowOutput>;
30
43
 
31
44
  // The operation
32
45
  /**
@@ -1,15 +1,27 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client.ts";
3
3
  import * as T from "../traits.ts";
4
- import { Forbidden } from "../errors.ts";
5
4
 
6
5
  // Input Schema
6
+ export interface CurrentTokenShowInput {}
7
7
  export const CurrentTokenShowInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
8
8
  {},
9
- ).pipe(T.Http({ method: "GET", path: "/v1/tokens/current" }));
10
- export type CurrentTokenShowInput = typeof CurrentTokenShowInput.Type;
9
+ ).pipe(
10
+ T.Http({ method: "GET", path: "/tokens/current" }),
11
+ ) as unknown as Schema.Codec<CurrentTokenShowInput>;
11
12
 
12
13
  // Output Schema
14
+ export interface CurrentTokenShowOutput {
15
+ tokens?: {
16
+ apps?: string[];
17
+ org_slug?: string;
18
+ organization?: string;
19
+ restricted_to_machine?: string;
20
+ source_machine_id?: string;
21
+ token_id?: string;
22
+ user?: string;
23
+ }[];
24
+ }
13
25
  export const CurrentTokenShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
14
26
  {
15
27
  tokens: Schema.optional(
@@ -26,17 +38,15 @@ export const CurrentTokenShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
26
38
  ),
27
39
  ),
28
40
  },
29
- );
30
- export type CurrentTokenShowOutput = typeof CurrentTokenShowOutput.Type;
41
+ ) as unknown as Schema.Codec<CurrentTokenShowOutput>;
31
42
 
32
43
  // The operation
33
44
  /**
34
45
  * Get Current Token Information
35
46
  *
36
- * Get information about the current macaroon token(s), including organizations, apps, and whether each token is from a user or machine
47
+ * Get information about the current macaroon token(s), including organizations, apps, user identity hashes, and machine restrictions
37
48
  */
38
49
  export const CurrentTokenShow = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
39
50
  inputSchema: CurrentTokenShowInput,
40
51
  outputSchema: CurrentTokenShowOutput,
41
- errors: [Forbidden] as const,
42
52
  }));
@@ -4,6 +4,10 @@ import * as T from "../traits.ts";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface MachinesCordonInput {
8
+ app_name: string;
9
+ machine_id: string;
10
+ }
7
11
  export const MachinesCordonInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
12
  app_name: Schema.String.pipe(T.PathParam()),
9
13
  machine_id: Schema.String.pipe(T.PathParam()),
@@ -12,12 +16,12 @@ export const MachinesCordonInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12
16
  method: "POST",
13
17
  path: "/apps/{app_name}/machines/{machine_id}/cordon",
14
18
  }),
15
- );
16
- export type MachinesCordonInput = typeof MachinesCordonInput.Type;
19
+ ) as unknown as Schema.Codec<MachinesCordonInput>;
17
20
 
18
21
  // Output Schema
19
- export const MachinesCordonOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
20
- export type MachinesCordonOutput = typeof MachinesCordonOutput.Type;
22
+ export type MachinesCordonOutput = void;
23
+ export const MachinesCordonOutput =
24
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesCordonOutput>;
21
25
 
22
26
  // The operation
23
27
  /**