@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
@@ -1,9 +1,16 @@
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 { BadRequest, Forbidden, NotFound } from "../errors.ts";
4
+ import { BadRequest } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface MachinesUpdateMetadataInput {
8
+ app_name: string;
9
+ machine_id: string;
10
+ machine_version?: string;
11
+ metadata?: Record<string, string>;
12
+ updated_at?: string;
13
+ }
7
14
  export const MachinesUpdateMetadataInput =
8
15
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9
16
  app_name: Schema.String.pipe(T.PathParam()),
@@ -13,18 +20,15 @@ export const MachinesUpdateMetadataInput =
13
20
  updated_at: Schema.optional(Schema.String),
14
21
  }).pipe(
15
22
  T.Http({
16
- method: "PUT",
23
+ method: "PATCH",
17
24
  path: "/apps/{app_name}/machines/{machine_id}/metadata",
18
25
  }),
19
- );
20
- export type MachinesUpdateMetadataInput =
21
- typeof MachinesUpdateMetadataInput.Type;
26
+ ) as unknown as Schema.Codec<MachinesUpdateMetadataInput>;
22
27
 
23
28
  // Output Schema
29
+ export type MachinesUpdateMetadataOutput = void;
24
30
  export const MachinesUpdateMetadataOutput =
25
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
26
- export type MachinesUpdateMetadataOutput =
27
- typeof MachinesUpdateMetadataOutput.Type;
31
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesUpdateMetadataOutput>;
28
32
 
29
33
  // The operation
30
34
  /**
@@ -40,6 +44,6 @@ export const MachinesUpdateMetadata = /*@__PURE__*/ /*#__PURE__*/ API.make(
40
44
  () => ({
41
45
  inputSchema: MachinesUpdateMetadataInput,
42
46
  outputSchema: MachinesUpdateMetadataOutput,
43
- errors: [BadRequest, Forbidden, NotFound] as const,
47
+ errors: [BadRequest] as const,
44
48
  }),
45
49
  );
@@ -4,6 +4,13 @@ import * as T from "../traits.ts";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface MachinesUpsertMetadataInput {
8
+ app_name: string;
9
+ machine_id: string;
10
+ key: string;
11
+ updated_at?: string;
12
+ value?: string;
13
+ }
7
14
  export const MachinesUpsertMetadataInput =
8
15
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9
16
  app_name: Schema.String.pipe(T.PathParam()),
@@ -16,15 +23,12 @@ export const MachinesUpsertMetadataInput =
16
23
  method: "POST",
17
24
  path: "/apps/{app_name}/machines/{machine_id}/metadata/{key}",
18
25
  }),
19
- );
20
- export type MachinesUpsertMetadataInput =
21
- typeof MachinesUpsertMetadataInput.Type;
26
+ ) as unknown as Schema.Codec<MachinesUpsertMetadataInput>;
22
27
 
23
28
  // Output Schema
29
+ export type MachinesUpsertMetadataOutput = void;
24
30
  export const MachinesUpsertMetadataOutput =
25
- /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
26
- export type MachinesUpsertMetadataOutput =
27
- typeof MachinesUpsertMetadataOutput.Type;
31
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesUpsertMetadataOutput>;
28
32
 
29
33
  // The operation
30
34
  /**
@@ -4,6 +4,21 @@ import * as T from "../traits.ts";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface MachinesWaitInput {
8
+ app_name: string;
9
+ machine_id: string;
10
+ version?: string;
11
+ instance_id?: string;
12
+ from_event_id?: string;
13
+ timeout?: number;
14
+ state?:
15
+ | "started"
16
+ | "stopped"
17
+ | "suspended"
18
+ | "destroyed"
19
+ | "failed"
20
+ | "settled";
21
+ }
7
22
  export const MachinesWaitInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
23
  app_name: Schema.String.pipe(T.PathParam()),
9
24
  machine_id: Schema.String.pipe(T.PathParam()),
@@ -26,17 +41,21 @@ export const MachinesWaitInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
26
41
  method: "GET",
27
42
  path: "/apps/{app_name}/machines/{machine_id}/wait",
28
43
  }),
29
- );
30
- export type MachinesWaitInput = typeof MachinesWaitInput.Type;
44
+ ) as unknown as Schema.Codec<MachinesWaitInput>;
31
45
 
32
46
  // Output Schema
47
+ export interface MachinesWaitOutput {
48
+ event_id?: string;
49
+ ok?: boolean;
50
+ state?: string;
51
+ version?: string;
52
+ }
33
53
  export const MachinesWaitOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
34
54
  event_id: Schema.optional(Schema.String),
35
55
  ok: Schema.optional(Schema.Boolean),
36
56
  state: Schema.optional(Schema.String),
37
57
  version: Schema.optional(Schema.String),
38
- });
39
- export type MachinesWaitOutput = typeof MachinesWaitOutput.Type;
58
+ }) as unknown as Schema.Codec<MachinesWaitOutput>;
40
59
 
41
60
  // The operation
42
61
  /**
@@ -4,6 +4,25 @@ import * as T from "../traits.ts";
4
4
  import { BadRequest, Forbidden } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface PlatformPlacementsPostInput {
8
+ compute?: {
9
+ cpu_kind?: string;
10
+ cpus?: number;
11
+ gpu_kind?: string;
12
+ gpus?: number;
13
+ host_dedication_id?: string;
14
+ kernel_args?: string[];
15
+ max_memory_mb?: number;
16
+ memory_mb?: number;
17
+ persist_rootfs?: "never" | "always" | "restart";
18
+ };
19
+ count?: number;
20
+ org_slug: string;
21
+ region?: string;
22
+ volume_name?: string;
23
+ volume_size_bytes?: number;
24
+ weights?: Record<string, number>;
25
+ }
7
26
  export const PlatformPlacementsPostInput =
8
27
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9
28
  compute: Schema.optional(
@@ -27,11 +46,14 @@ export const PlatformPlacementsPostInput =
27
46
  volume_name: Schema.optional(Schema.String),
28
47
  volume_size_bytes: Schema.optional(Schema.Number),
29
48
  weights: Schema.optional(Schema.Record(Schema.String, Schema.Number)),
30
- }).pipe(T.Http({ method: "POST", path: "/platform/placements" }));
31
- export type PlatformPlacementsPostInput =
32
- typeof PlatformPlacementsPostInput.Type;
49
+ }).pipe(
50
+ T.Http({ method: "POST", path: "/platform/placements" }),
51
+ ) as unknown as Schema.Codec<PlatformPlacementsPostInput>;
33
52
 
34
53
  // Output Schema
54
+ export interface PlatformPlacementsPostOutput {
55
+ regions?: { concurrency?: number; count?: number; region?: string }[];
56
+ }
35
57
  export const PlatformPlacementsPostOutput =
36
58
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
37
59
  regions: Schema.optional(
@@ -43,9 +65,7 @@ export const PlatformPlacementsPostOutput =
43
65
  }),
44
66
  ),
45
67
  ),
46
- });
47
- export type PlatformPlacementsPostOutput =
48
- typeof PlatformPlacementsPostOutput.Type;
68
+ }) as unknown as Schema.Codec<PlatformPlacementsPostOutput>;
49
69
 
50
70
  // The operation
51
71
  /**
@@ -4,13 +4,26 @@ import * as T from "../traits.ts";
4
4
  import { Forbidden } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface PlatformRegionsGetInput {}
7
8
  export const PlatformRegionsGetInput =
8
9
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
9
10
  T.Http({ method: "GET", path: "/platform/regions" }),
10
- );
11
- export type PlatformRegionsGetInput = typeof PlatformRegionsGetInput.Type;
11
+ ) as unknown as Schema.Codec<PlatformRegionsGetInput>;
12
12
 
13
13
  // Output Schema
14
+ export interface PlatformRegionsGetOutput {
15
+ nearest?: string;
16
+ regions?: {
17
+ code?: string;
18
+ deprecated?: boolean;
19
+ gateway_available?: boolean;
20
+ geo_region?: string;
21
+ latitude?: number;
22
+ longitude?: number;
23
+ name?: string;
24
+ requires_paid_plan?: boolean;
25
+ }[];
26
+ }
14
27
  export const PlatformRegionsGetOutput =
15
28
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
16
29
  nearest: Schema.optional(Schema.String),
@@ -28,8 +41,7 @@ export const PlatformRegionsGetOutput =
28
41
  }),
29
42
  ),
30
43
  ),
31
- });
32
- export type PlatformRegionsGetOutput = typeof PlatformRegionsGetOutput.Type;
44
+ }) as unknown as Schema.Codec<PlatformRegionsGetOutput>;
33
45
 
34
46
  // The operation
35
47
  /**
@@ -4,16 +4,29 @@ import * as T from "../traits.ts";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface SecretCreateInput {
8
+ app_name: string;
9
+ secret_name: string;
10
+ value?: string;
11
+ }
7
12
  export const SecretCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
13
  app_name: Schema.String.pipe(T.PathParam()),
9
14
  secret_name: Schema.String.pipe(T.PathParam()),
10
15
  value: Schema.optional(Schema.String),
11
16
  }).pipe(
12
17
  T.Http({ method: "POST", path: "/apps/{app_name}/secrets/{secret_name}" }),
13
- );
14
- export type SecretCreateInput = typeof SecretCreateInput.Type;
18
+ ) as unknown as Schema.Codec<SecretCreateInput>;
15
19
 
16
20
  // Output Schema
21
+ export interface SecretCreateOutput {
22
+ Version?: number;
23
+ created_at?: string;
24
+ digest?: string;
25
+ name?: string;
26
+ updated_at?: string;
27
+ value?: string;
28
+ version?: number;
29
+ }
17
30
  export const SecretCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
18
31
  Version: Schema.optional(Schema.Number),
19
32
  created_at: Schema.optional(Schema.String),
@@ -22,8 +35,7 @@ export const SecretCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
22
35
  updated_at: Schema.optional(Schema.String),
23
36
  value: Schema.optional(Schema.String),
24
37
  version: Schema.optional(Schema.Number),
25
- });
26
- export type SecretCreateOutput = typeof SecretCreateOutput.Type;
38
+ }) as unknown as Schema.Codec<SecretCreateOutput>;
27
39
 
28
40
  // The operation
29
41
  /**
@@ -4,20 +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 SecretDeleteInput {
8
+ app_name: string;
9
+ secret_name: string;
10
+ }
7
11
  export const SecretDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
12
  app_name: Schema.String.pipe(T.PathParam()),
9
13
  secret_name: Schema.String.pipe(T.PathParam()),
10
14
  }).pipe(
11
15
  T.Http({ method: "DELETE", path: "/apps/{app_name}/secrets/{secret_name}" }),
12
- );
13
- export type SecretDeleteInput = typeof SecretDeleteInput.Type;
16
+ ) as unknown as Schema.Codec<SecretDeleteInput>;
14
17
 
15
18
  // Output Schema
19
+ export interface SecretDeleteOutput {
20
+ Version?: number;
21
+ version?: number;
22
+ }
16
23
  export const SecretDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
17
24
  Version: Schema.optional(Schema.Number),
18
25
  version: Schema.optional(Schema.Number),
19
- });
20
- export type SecretDeleteOutput = typeof SecretDeleteOutput.Type;
26
+ }) as unknown as Schema.Codec<SecretDeleteOutput>;
21
27
 
22
28
  // The operation
23
29
  /**
@@ -4,6 +4,12 @@ import * as T from "../traits.ts";
4
4
  import { Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface SecretGetInput {
8
+ app_name: string;
9
+ secret_name: string;
10
+ min_version?: string;
11
+ show_secrets?: boolean;
12
+ }
7
13
  export const SecretGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
14
  app_name: Schema.String.pipe(T.PathParam()),
9
15
  secret_name: Schema.String.pipe(T.PathParam()),
@@ -11,18 +17,23 @@ export const SecretGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
11
17
  show_secrets: Schema.optional(Schema.Boolean),
12
18
  }).pipe(
13
19
  T.Http({ method: "GET", path: "/apps/{app_name}/secrets/{secret_name}" }),
14
- );
15
- export type SecretGetInput = typeof SecretGetInput.Type;
20
+ ) as unknown as Schema.Codec<SecretGetInput>;
16
21
 
17
22
  // Output Schema
23
+ export interface SecretGetOutput {
24
+ created_at?: string;
25
+ digest?: string;
26
+ name?: string;
27
+ updated_at?: string;
28
+ value?: string;
29
+ }
18
30
  export const SecretGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
19
31
  created_at: Schema.optional(Schema.String),
20
32
  digest: Schema.optional(Schema.String),
21
33
  name: Schema.optional(Schema.String),
22
34
  updated_at: Schema.optional(Schema.String),
23
35
  value: Schema.optional(Schema.String),
24
- });
25
- export type SecretGetOutput = typeof SecretGetOutput.Type;
36
+ }) as unknown as Schema.Codec<SecretGetOutput>;
26
37
 
27
38
  // The operation
28
39
  /**
@@ -4,6 +4,13 @@ import * as T from "../traits.ts";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface SecretkeyDecryptInput {
8
+ app_name: string;
9
+ secret_name: string;
10
+ min_version?: string;
11
+ associated_data?: number[];
12
+ ciphertext?: number[];
13
+ }
7
14
  export const SecretkeyDecryptInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
15
  app_name: Schema.String.pipe(T.PathParam()),
9
16
  secret_name: Schema.String.pipe(T.PathParam()),
@@ -15,16 +22,17 @@ export const SecretkeyDecryptInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
15
22
  method: "POST",
16
23
  path: "/apps/{app_name}/secretkeys/{secret_name}/decrypt",
17
24
  }),
18
- );
19
- export type SecretkeyDecryptInput = typeof SecretkeyDecryptInput.Type;
25
+ ) as unknown as Schema.Codec<SecretkeyDecryptInput>;
20
26
 
21
27
  // Output Schema
28
+ export interface SecretkeyDecryptOutput {
29
+ plaintext?: number[];
30
+ }
22
31
  export const SecretkeyDecryptOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
23
32
  {
24
33
  plaintext: Schema.optional(Schema.Array(Schema.Number)),
25
34
  },
26
- );
27
- export type SecretkeyDecryptOutput = typeof SecretkeyDecryptOutput.Type;
35
+ ) as unknown as Schema.Codec<SecretkeyDecryptOutput>;
28
36
 
29
37
  // The operation
30
38
  /**
@@ -4,6 +4,10 @@ import * as T from "../traits.ts";
4
4
  import { Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface SecretkeyDeleteInput {
8
+ app_name: string;
9
+ secret_name: string;
10
+ }
7
11
  export const SecretkeyDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
12
  app_name: Schema.String.pipe(T.PathParam()),
9
13
  secret_name: Schema.String.pipe(T.PathParam()),
@@ -12,15 +16,17 @@ export const SecretkeyDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12
16
  method: "DELETE",
13
17
  path: "/apps/{app_name}/secretkeys/{secret_name}",
14
18
  }),
15
- );
16
- export type SecretkeyDeleteInput = typeof SecretkeyDeleteInput.Type;
19
+ ) as unknown as Schema.Codec<SecretkeyDeleteInput>;
17
20
 
18
21
  // Output Schema
22
+ export interface SecretkeyDeleteOutput {
23
+ Version?: number;
24
+ version?: number;
25
+ }
19
26
  export const SecretkeyDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
20
27
  Version: Schema.optional(Schema.Number),
21
28
  version: Schema.optional(Schema.Number),
22
- });
23
- export type SecretkeyDeleteOutput = typeof SecretkeyDeleteOutput.Type;
29
+ }) as unknown as Schema.Codec<SecretkeyDeleteOutput>;
24
30
 
25
31
  // The operation
26
32
  /**
@@ -4,6 +4,13 @@ import * as T from "../traits.ts";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface SecretkeyEncryptInput {
8
+ app_name: string;
9
+ secret_name: string;
10
+ min_version?: string;
11
+ associated_data?: number[];
12
+ plaintext?: number[];
13
+ }
7
14
  export const SecretkeyEncryptInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
15
  app_name: Schema.String.pipe(T.PathParam()),
9
16
  secret_name: Schema.String.pipe(T.PathParam()),
@@ -15,16 +22,17 @@ export const SecretkeyEncryptInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
15
22
  method: "POST",
16
23
  path: "/apps/{app_name}/secretkeys/{secret_name}/encrypt",
17
24
  }),
18
- );
19
- export type SecretkeyEncryptInput = typeof SecretkeyEncryptInput.Type;
25
+ ) as unknown as Schema.Codec<SecretkeyEncryptInput>;
20
26
 
21
27
  // Output Schema
28
+ export interface SecretkeyEncryptOutput {
29
+ ciphertext?: number[];
30
+ }
22
31
  export const SecretkeyEncryptOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
23
32
  {
24
33
  ciphertext: Schema.optional(Schema.Array(Schema.Number)),
25
34
  },
26
- );
27
- export type SecretkeyEncryptOutput = typeof SecretkeyEncryptOutput.Type;
35
+ ) as unknown as Schema.Codec<SecretkeyEncryptOutput>;
28
36
 
29
37
  // The operation
30
38
  /**
@@ -4,6 +4,12 @@ import * as T from "../traits.ts";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface SecretkeyGenerateInput {
8
+ app_name: string;
9
+ secret_name: string;
10
+ type?: string;
11
+ value?: number[];
12
+ }
7
13
  export const SecretkeyGenerateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
8
14
  {
9
15
  app_name: Schema.String.pipe(T.PathParam()),
@@ -16,10 +22,18 @@ export const SecretkeyGenerateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
16
22
  method: "POST",
17
23
  path: "/apps/{app_name}/secretkeys/{secret_name}/generate",
18
24
  }),
19
- );
20
- export type SecretkeyGenerateInput = typeof SecretkeyGenerateInput.Type;
25
+ ) as unknown as Schema.Codec<SecretkeyGenerateInput>;
21
26
 
22
27
  // Output Schema
28
+ export interface SecretkeyGenerateOutput {
29
+ Version?: number;
30
+ created_at?: string;
31
+ name?: string;
32
+ public_key?: number[];
33
+ type?: string;
34
+ updated_at?: string;
35
+ version?: number;
36
+ }
23
37
  export const SecretkeyGenerateOutput =
24
38
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
25
39
  Version: Schema.optional(Schema.Number),
@@ -29,8 +43,7 @@ export const SecretkeyGenerateOutput =
29
43
  type: Schema.optional(Schema.String),
30
44
  updated_at: Schema.optional(Schema.String),
31
45
  version: Schema.optional(Schema.Number),
32
- });
33
- export type SecretkeyGenerateOutput = typeof SecretkeyGenerateOutput.Type;
46
+ }) as unknown as Schema.Codec<SecretkeyGenerateOutput>;
34
47
 
35
48
  // The operation
36
49
  /**
@@ -4,24 +4,34 @@ import * as T from "../traits.ts";
4
4
  import { Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface SecretkeyGetInput {
8
+ app_name: string;
9
+ secret_name: string;
10
+ min_version?: string;
11
+ }
7
12
  export const SecretkeyGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
13
  app_name: Schema.String.pipe(T.PathParam()),
9
14
  secret_name: Schema.String.pipe(T.PathParam()),
10
15
  min_version: Schema.optional(Schema.String),
11
16
  }).pipe(
12
17
  T.Http({ method: "GET", path: "/apps/{app_name}/secretkeys/{secret_name}" }),
13
- );
14
- export type SecretkeyGetInput = typeof SecretkeyGetInput.Type;
18
+ ) as unknown as Schema.Codec<SecretkeyGetInput>;
15
19
 
16
20
  // Output Schema
21
+ export interface SecretkeyGetOutput {
22
+ created_at?: string;
23
+ name?: string;
24
+ public_key?: number[];
25
+ type?: string;
26
+ updated_at?: string;
27
+ }
17
28
  export const SecretkeyGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
18
29
  created_at: Schema.optional(Schema.String),
19
30
  name: Schema.optional(Schema.String),
20
31
  public_key: Schema.optional(Schema.Array(Schema.Number)),
21
32
  type: Schema.optional(Schema.String),
22
33
  updated_at: Schema.optional(Schema.String),
23
- });
24
- export type SecretkeyGetOutput = typeof SecretkeyGetOutput.Type;
34
+ }) as unknown as Schema.Codec<SecretkeyGetOutput>;
25
35
 
26
36
  // The operation
27
37
  /**
@@ -4,6 +4,12 @@ import * as T from "../traits.ts";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface SecretkeySetInput {
8
+ app_name: string;
9
+ secret_name: string;
10
+ type?: string;
11
+ value?: number[];
12
+ }
7
13
  export const SecretkeySetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
14
  app_name: Schema.String.pipe(T.PathParam()),
9
15
  secret_name: Schema.String.pipe(T.PathParam()),
@@ -11,10 +17,18 @@ export const SecretkeySetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
11
17
  value: Schema.optional(Schema.Array(Schema.Number)),
12
18
  }).pipe(
13
19
  T.Http({ method: "POST", path: "/apps/{app_name}/secretkeys/{secret_name}" }),
14
- );
15
- export type SecretkeySetInput = typeof SecretkeySetInput.Type;
20
+ ) as unknown as Schema.Codec<SecretkeySetInput>;
16
21
 
17
22
  // Output Schema
23
+ export interface SecretkeySetOutput {
24
+ Version?: number;
25
+ created_at?: string;
26
+ name?: string;
27
+ public_key?: number[];
28
+ type?: string;
29
+ updated_at?: string;
30
+ version?: number;
31
+ }
18
32
  export const SecretkeySetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
19
33
  Version: Schema.optional(Schema.Number),
20
34
  created_at: Schema.optional(Schema.String),
@@ -23,8 +37,7 @@ export const SecretkeySetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
23
37
  type: Schema.optional(Schema.String),
24
38
  updated_at: Schema.optional(Schema.String),
25
39
  version: Schema.optional(Schema.Number),
26
- });
27
- export type SecretkeySetOutput = typeof SecretkeySetOutput.Type;
40
+ }) as unknown as Schema.Codec<SecretkeySetOutput>;
28
41
 
29
42
  // The operation
30
43
  /**
@@ -4,6 +4,12 @@ import * as T from "../traits.ts";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface SecretkeySignInput {
8
+ app_name: string;
9
+ secret_name: string;
10
+ min_version?: string;
11
+ plaintext?: number[];
12
+ }
7
13
  export const SecretkeySignInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
14
  app_name: Schema.String.pipe(T.PathParam()),
9
15
  secret_name: Schema.String.pipe(T.PathParam()),
@@ -14,14 +20,15 @@ export const SecretkeySignInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
14
20
  method: "POST",
15
21
  path: "/apps/{app_name}/secretkeys/{secret_name}/sign",
16
22
  }),
17
- );
18
- export type SecretkeySignInput = typeof SecretkeySignInput.Type;
23
+ ) as unknown as Schema.Codec<SecretkeySignInput>;
19
24
 
20
25
  // Output Schema
26
+ export interface SecretkeySignOutput {
27
+ signature?: number[];
28
+ }
21
29
  export const SecretkeySignOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
22
30
  signature: Schema.optional(Schema.Array(Schema.Number)),
23
- });
24
- export type SecretkeySignOutput = typeof SecretkeySignOutput.Type;
31
+ }) as unknown as Schema.Codec<SecretkeySignOutput>;
25
32
 
26
33
  // The operation
27
34
  /**
@@ -4,6 +4,13 @@ import * as T from "../traits.ts";
4
4
  import { BadRequest, Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface SecretkeyVerifyInput {
8
+ app_name: string;
9
+ secret_name: string;
10
+ min_version?: string;
11
+ plaintext?: number[];
12
+ signature?: number[];
13
+ }
7
14
  export const SecretkeyVerifyInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
15
  app_name: Schema.String.pipe(T.PathParam()),
9
16
  secret_name: Schema.String.pipe(T.PathParam()),
@@ -15,12 +22,12 @@ export const SecretkeyVerifyInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
15
22
  method: "POST",
16
23
  path: "/apps/{app_name}/secretkeys/{secret_name}/verify",
17
24
  }),
18
- );
19
- export type SecretkeyVerifyInput = typeof SecretkeyVerifyInput.Type;
25
+ ) as unknown as Schema.Codec<SecretkeyVerifyInput>;
20
26
 
21
27
  // Output Schema
22
- export const SecretkeyVerifyOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
23
- export type SecretkeyVerifyOutput = typeof SecretkeyVerifyOutput.Type;
28
+ export type SecretkeyVerifyOutput = void;
29
+ export const SecretkeyVerifyOutput =
30
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<SecretkeyVerifyOutput>;
24
31
 
25
32
  // The operation
26
33
  /**
@@ -4,14 +4,29 @@ import * as T from "../traits.ts";
4
4
  import { Forbidden, NotFound } from "../errors.ts";
5
5
 
6
6
  // Input Schema
7
+ export interface SecretkeysListInput {
8
+ app_name: string;
9
+ min_version?: string;
10
+ types?: string;
11
+ }
7
12
  export const SecretkeysListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
13
  app_name: Schema.String.pipe(T.PathParam()),
9
14
  min_version: Schema.optional(Schema.String),
10
15
  types: Schema.optional(Schema.String),
11
- }).pipe(T.Http({ method: "GET", path: "/apps/{app_name}/secretkeys" }));
12
- export type SecretkeysListInput = typeof SecretkeysListInput.Type;
16
+ }).pipe(
17
+ T.Http({ method: "GET", path: "/apps/{app_name}/secretkeys" }),
18
+ ) as unknown as Schema.Codec<SecretkeysListInput>;
13
19
 
14
20
  // Output Schema
21
+ export interface SecretkeysListOutput {
22
+ secret_keys?: {
23
+ created_at?: string;
24
+ name?: string;
25
+ public_key?: number[];
26
+ type?: string;
27
+ updated_at?: string;
28
+ }[];
29
+ }
15
30
  export const SecretkeysListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
16
31
  secret_keys: Schema.optional(
17
32
  Schema.Array(
@@ -24,8 +39,7 @@ export const SecretkeysListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
24
39
  }),
25
40
  ),
26
41
  ),
27
- });
28
- export type SecretkeysListOutput = typeof SecretkeysListOutput.Type;
42
+ }) as unknown as Schema.Codec<SecretkeysListOutput>;
29
43
 
30
44
  // The operation
31
45
  /**