@distilled.cloud/fly-io 0.0.0-john
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.
- package/README.md +68 -0
- package/lib/category.d.ts +5 -0
- package/lib/category.d.ts.map +1 -0
- package/lib/category.js +5 -0
- package/lib/category.js.map +1 -0
- package/lib/client.d.ts +10 -0
- package/lib/client.d.ts.map +1 -0
- package/lib/client.js +52 -0
- package/lib/client.js.map +1 -0
- package/lib/credentials.d.ts +15 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +18 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +31 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +23 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +16 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +16 -0
- package/lib/index.js.map +1 -0
- package/lib/operations/AppCreateDeployToken.d.ts +17 -0
- package/lib/operations/AppCreateDeployToken.d.ts.map +1 -0
- package/lib/operations/AppCreateDeployToken.js +25 -0
- package/lib/operations/AppCreateDeployToken.js.map +1 -0
- package/lib/operations/App_CertificatesAcmeCreate.d.ts +57 -0
- package/lib/operations/App_CertificatesAcmeCreate.d.ts.map +1 -0
- package/lib/operations/App_CertificatesAcmeCreate.js +69 -0
- package/lib/operations/App_CertificatesAcmeCreate.js.map +1 -0
- package/lib/operations/App_CertificatesAcmeDelete.d.ts +55 -0
- package/lib/operations/App_CertificatesAcmeDelete.d.ts.map +1 -0
- package/lib/operations/App_CertificatesAcmeDelete.js +70 -0
- package/lib/operations/App_CertificatesAcmeDelete.js.map +1 -0
- package/lib/operations/App_CertificatesCheck.d.ts +64 -0
- package/lib/operations/App_CertificatesCheck.d.ts.map +1 -0
- package/lib/operations/App_CertificatesCheck.js +79 -0
- package/lib/operations/App_CertificatesCheck.js.map +1 -0
- package/lib/operations/App_CertificatesCustomCreate.d.ts +59 -0
- package/lib/operations/App_CertificatesCustomCreate.d.ts.map +1 -0
- package/lib/operations/App_CertificatesCustomCreate.js +72 -0
- package/lib/operations/App_CertificatesCustomCreate.js.map +1 -0
- package/lib/operations/App_CertificatesCustomDelete.d.ts +56 -0
- package/lib/operations/App_CertificatesCustomDelete.d.ts.map +1 -0
- package/lib/operations/App_CertificatesCustomDelete.js +72 -0
- package/lib/operations/App_CertificatesCustomDelete.js.map +1 -0
- package/lib/operations/App_CertificatesDelete.d.ts +10 -0
- package/lib/operations/App_CertificatesDelete.d.ts.map +1 -0
- package/lib/operations/App_CertificatesDelete.js +21 -0
- package/lib/operations/App_CertificatesDelete.js.map +1 -0
- package/lib/operations/App_CertificatesList.d.ts +36 -0
- package/lib/operations/App_CertificatesList.d.ts.map +1 -0
- package/lib/operations/App_CertificatesList.js +44 -0
- package/lib/operations/App_CertificatesList.js.map +1 -0
- package/lib/operations/App_CertificatesShow.d.ts +55 -0
- package/lib/operations/App_CertificatesShow.d.ts.map +1 -0
- package/lib/operations/App_CertificatesShow.js +67 -0
- package/lib/operations/App_CertificatesShow.js.map +1 -0
- package/lib/operations/App_IPAssignmentsCreate.d.ts +22 -0
- package/lib/operations/App_IPAssignmentsCreate.d.ts.map +1 -0
- package/lib/operations/App_IPAssignmentsCreate.js +30 -0
- package/lib/operations/App_IPAssignmentsCreate.js.map +1 -0
- package/lib/operations/App_IPAssignmentsDelete.d.ts +10 -0
- package/lib/operations/App_IPAssignmentsDelete.d.ts.map +1 -0
- package/lib/operations/App_IPAssignmentsDelete.js +18 -0
- package/lib/operations/App_IPAssignmentsDelete.js.map +1 -0
- package/lib/operations/App_IPAssignmentsList.d.ts +18 -0
- package/lib/operations/App_IPAssignmentsList.d.ts.map +1 -0
- package/lib/operations/App_IPAssignmentsList.js +26 -0
- package/lib/operations/App_IPAssignmentsList.js.map +1 -0
- package/lib/operations/AppsCreate.d.ts +17 -0
- package/lib/operations/AppsCreate.d.ts.map +1 -0
- package/lib/operations/AppsCreate.js +23 -0
- package/lib/operations/AppsCreate.js.map +1 -0
- package/lib/operations/AppsDelete.d.ts +16 -0
- package/lib/operations/AppsDelete.d.ts.map +1 -0
- package/lib/operations/AppsDelete.js +22 -0
- package/lib/operations/AppsDelete.js.map +1 -0
- package/lib/operations/AppsList.d.ts +34 -0
- package/lib/operations/AppsList.d.ts.map +1 -0
- package/lib/operations/AppsList.js +40 -0
- package/lib/operations/AppsList.js.map +1 -0
- package/lib/operations/AppsShow.d.ts +29 -0
- package/lib/operations/AppsShow.d.ts.map +1 -0
- package/lib/operations/AppsShow.js +35 -0
- package/lib/operations/AppsShow.js.map +1 -0
- package/lib/operations/CurrentTokenShow.d.ts +22 -0
- package/lib/operations/CurrentTokenShow.d.ts.map +1 -0
- package/lib/operations/CurrentTokenShow.js +28 -0
- package/lib/operations/CurrentTokenShow.js.map +1 -0
- package/lib/operations/MachinesCordon.d.ts +18 -0
- package/lib/operations/MachinesCordon.d.ts.map +1 -0
- package/lib/operations/MachinesCordon.js +27 -0
- package/lib/operations/MachinesCordon.js.map +1 -0
- package/lib/operations/MachinesCreate.d.ts +840 -0
- package/lib/operations/MachinesCreate.d.ts.map +1 -0
- package/lib/operations/MachinesCreate.js +888 -0
- package/lib/operations/MachinesCreate.js.map +1 -0
- package/lib/operations/MachinesCreateLease.d.ts +27 -0
- package/lib/operations/MachinesCreateLease.d.ts.map +1 -0
- package/lib/operations/MachinesCreateLease.js +38 -0
- package/lib/operations/MachinesCreateLease.js.map +1 -0
- package/lib/operations/MachinesDelete.d.ts +20 -0
- package/lib/operations/MachinesDelete.d.ts.map +1 -0
- package/lib/operations/MachinesDelete.js +26 -0
- package/lib/operations/MachinesDelete.js.map +1 -0
- package/lib/operations/MachinesDeleteMetadata.d.ts +20 -0
- package/lib/operations/MachinesDeleteMetadata.d.ts.map +1 -0
- package/lib/operations/MachinesDeleteMetadata.js +31 -0
- package/lib/operations/MachinesDeleteMetadata.js.map +1 -0
- package/lib/operations/MachinesExec.d.ts +28 -0
- package/lib/operations/MachinesExec.d.ts.map +1 -0
- package/lib/operations/MachinesExec.js +37 -0
- package/lib/operations/MachinesExec.js.map +1 -0
- package/lib/operations/MachinesGetMemory.d.ts +21 -0
- package/lib/operations/MachinesGetMemory.d.ts.map +1 -0
- package/lib/operations/MachinesGetMemory.js +31 -0
- package/lib/operations/MachinesGetMemory.js.map +1 -0
- package/lib/operations/MachinesList.d.ts +578 -0
- package/lib/operations/MachinesList.d.ts.map +1 -0
- package/lib/operations/MachinesList.js +622 -0
- package/lib/operations/MachinesList.js.map +1 -0
- package/lib/operations/MachinesListEvents.d.ts +27 -0
- package/lib/operations/MachinesListEvents.d.ts.map +1 -0
- package/lib/operations/MachinesListEvents.js +38 -0
- package/lib/operations/MachinesListEvents.js.map +1 -0
- package/lib/operations/MachinesListProcesses.d.ts +34 -0
- package/lib/operations/MachinesListProcesses.d.ts.map +1 -0
- package/lib/operations/MachinesListProcesses.js +45 -0
- package/lib/operations/MachinesListProcesses.js.map +1 -0
- package/lib/operations/MachinesListVersions.d.ts +281 -0
- package/lib/operations/MachinesListVersions.d.ts.map +1 -0
- package/lib/operations/MachinesListVersions.js +311 -0
- package/lib/operations/MachinesListVersions.js.map +1 -0
- package/lib/operations/MachinesOrgList.d.ts +45 -0
- package/lib/operations/MachinesOrgList.d.ts.map +1 -0
- package/lib/operations/MachinesOrgList.js +51 -0
- package/lib/operations/MachinesOrgList.js.map +1 -0
- package/lib/operations/MachinesPatchMetadata.d.ts +19 -0
- package/lib/operations/MachinesPatchMetadata.d.ts.map +1 -0
- package/lib/operations/MachinesPatchMetadata.js +30 -0
- package/lib/operations/MachinesPatchMetadata.js.map +1 -0
- package/lib/operations/MachinesReclaimMemory.d.ts +21 -0
- package/lib/operations/MachinesReclaimMemory.d.ts.map +1 -0
- package/lib/operations/MachinesReclaimMemory.js +32 -0
- package/lib/operations/MachinesReclaimMemory.js.map +1 -0
- package/lib/operations/MachinesReleaseLease.d.ts +19 -0
- package/lib/operations/MachinesReleaseLease.d.ts.map +1 -0
- package/lib/operations/MachinesReleaseLease.js +30 -0
- package/lib/operations/MachinesReleaseLease.js.map +1 -0
- package/lib/operations/MachinesRestart.d.ts +22 -0
- package/lib/operations/MachinesRestart.d.ts.map +1 -0
- package/lib/operations/MachinesRestart.js +31 -0
- package/lib/operations/MachinesRestart.js.map +1 -0
- package/lib/operations/MachinesSetMemoryLimit.d.ts +22 -0
- package/lib/operations/MachinesSetMemoryLimit.d.ts.map +1 -0
- package/lib/operations/MachinesSetMemoryLimit.js +33 -0
- package/lib/operations/MachinesSetMemoryLimit.js.map +1 -0
- package/lib/operations/MachinesShow.d.ts +572 -0
- package/lib/operations/MachinesShow.d.ts.map +1 -0
- package/lib/operations/MachinesShow.js +606 -0
- package/lib/operations/MachinesShow.js.map +1 -0
- package/lib/operations/MachinesShowLease.d.ts +24 -0
- package/lib/operations/MachinesShowLease.d.ts.map +1 -0
- package/lib/operations/MachinesShowLease.js +34 -0
- package/lib/operations/MachinesShowLease.js.map +1 -0
- package/lib/operations/MachinesShowMetadata.d.ts +18 -0
- package/lib/operations/MachinesShowMetadata.d.ts.map +1 -0
- package/lib/operations/MachinesShowMetadata.js +29 -0
- package/lib/operations/MachinesShowMetadata.js.map +1 -0
- package/lib/operations/MachinesSignal.d.ts +19 -0
- package/lib/operations/MachinesSignal.d.ts.map +1 -0
- package/lib/operations/MachinesSignal.js +42 -0
- package/lib/operations/MachinesSignal.js.map +1 -0
- package/lib/operations/MachinesStart.d.ts +18 -0
- package/lib/operations/MachinesStart.d.ts.map +1 -0
- package/lib/operations/MachinesStart.js +27 -0
- package/lib/operations/MachinesStart.js.map +1 -0
- package/lib/operations/MachinesStop.d.ts +22 -0
- package/lib/operations/MachinesStop.d.ts.map +1 -0
- package/lib/operations/MachinesStop.js +31 -0
- package/lib/operations/MachinesStop.js.map +1 -0
- package/lib/operations/MachinesSuspend.d.ts +18 -0
- package/lib/operations/MachinesSuspend.d.ts.map +1 -0
- package/lib/operations/MachinesSuspend.js +27 -0
- package/lib/operations/MachinesSuspend.js.map +1 -0
- package/lib/operations/MachinesUncordon.d.ts +18 -0
- package/lib/operations/MachinesUncordon.d.ts.map +1 -0
- package/lib/operations/MachinesUncordon.js +27 -0
- package/lib/operations/MachinesUncordon.js.map +1 -0
- package/lib/operations/MachinesUpdate.d.ts +842 -0
- package/lib/operations/MachinesUpdate.d.ts.map +1 -0
- package/lib/operations/MachinesUpdate.js +890 -0
- package/lib/operations/MachinesUpdate.js.map +1 -0
- package/lib/operations/MachinesUpdateMetadata.d.ts +20 -0
- package/lib/operations/MachinesUpdateMetadata.d.ts.map +1 -0
- package/lib/operations/MachinesUpdateMetadata.js +31 -0
- package/lib/operations/MachinesUpdateMetadata.js.map +1 -0
- package/lib/operations/MachinesWait.d.ts +28 -0
- package/lib/operations/MachinesWait.d.ts.map +1 -0
- package/lib/operations/MachinesWait.js +43 -0
- package/lib/operations/MachinesWait.js.map +1 -0
- package/lib/operations/PlatformPlacementsPost.d.ts +35 -0
- package/lib/operations/PlatformPlacementsPost.d.ts.map +1 -0
- package/lib/operations/PlatformPlacementsPost.js +43 -0
- package/lib/operations/PlatformPlacementsPost.js.map +1 -0
- package/lib/operations/PlatformRegionsGet.d.ts +39 -0
- package/lib/operations/PlatformRegionsGet.d.ts.map +1 -0
- package/lib/operations/PlatformRegionsGet.js +47 -0
- package/lib/operations/PlatformRegionsGet.js.map +1 -0
- package/lib/operations/SecretCreate.d.ts +25 -0
- package/lib/operations/SecretCreate.d.ts.map +1 -0
- package/lib/operations/SecretCreate.js +31 -0
- package/lib/operations/SecretCreate.js.map +1 -0
- package/lib/operations/SecretDelete.d.ts +19 -0
- package/lib/operations/SecretDelete.d.ts.map +1 -0
- package/lib/operations/SecretDelete.js +25 -0
- package/lib/operations/SecretDelete.js.map +1 -0
- package/lib/operations/SecretGet.d.ts +26 -0
- package/lib/operations/SecretGet.d.ts.map +1 -0
- package/lib/operations/SecretGet.js +32 -0
- package/lib/operations/SecretGet.js.map +1 -0
- package/lib/operations/SecretkeyDecrypt.d.ts +22 -0
- package/lib/operations/SecretkeyDecrypt.d.ts.map +1 -0
- package/lib/operations/SecretkeyDecrypt.js +31 -0
- package/lib/operations/SecretkeyDecrypt.js.map +1 -0
- package/lib/operations/SecretkeyDelete.d.ts +19 -0
- package/lib/operations/SecretkeyDelete.d.ts.map +1 -0
- package/lib/operations/SecretkeyDelete.js +28 -0
- package/lib/operations/SecretkeyDelete.js.map +1 -0
- package/lib/operations/SecretkeyEncrypt.d.ts +22 -0
- package/lib/operations/SecretkeyEncrypt.d.ts.map +1 -0
- package/lib/operations/SecretkeyEncrypt.js +31 -0
- package/lib/operations/SecretkeyEncrypt.js.map +1 -0
- package/lib/operations/SecretkeyGenerate.d.ts +26 -0
- package/lib/operations/SecretkeyGenerate.d.ts.map +1 -0
- package/lib/operations/SecretkeyGenerate.js +36 -0
- package/lib/operations/SecretkeyGenerate.js.map +1 -0
- package/lib/operations/SecretkeyGet.d.ts +24 -0
- package/lib/operations/SecretkeyGet.d.ts.map +1 -0
- package/lib/operations/SecretkeyGet.js +30 -0
- package/lib/operations/SecretkeyGet.js.map +1 -0
- package/lib/operations/SecretkeySet.d.ts +26 -0
- package/lib/operations/SecretkeySet.d.ts.map +1 -0
- package/lib/operations/SecretkeySet.js +32 -0
- package/lib/operations/SecretkeySet.js.map +1 -0
- package/lib/operations/SecretkeySign.d.ts +21 -0
- package/lib/operations/SecretkeySign.d.ts.map +1 -0
- package/lib/operations/SecretkeySign.js +30 -0
- package/lib/operations/SecretkeySign.js.map +1 -0
- package/lib/operations/SecretkeyVerify.d.ts +20 -0
- package/lib/operations/SecretkeyVerify.d.ts.map +1 -0
- package/lib/operations/SecretkeyVerify.js +29 -0
- package/lib/operations/SecretkeyVerify.js.map +1 -0
- package/lib/operations/SecretkeysList.d.ts +26 -0
- package/lib/operations/SecretkeysList.d.ts.map +1 -0
- package/lib/operations/SecretkeysList.js +32 -0
- package/lib/operations/SecretkeysList.js.map +1 -0
- package/lib/operations/SecretsList.d.ts +26 -0
- package/lib/operations/SecretsList.d.ts.map +1 -0
- package/lib/operations/SecretsList.js +32 -0
- package/lib/operations/SecretsList.js.map +1 -0
- package/lib/operations/SecretsUpdate.d.ts +25 -0
- package/lib/operations/SecretsUpdate.d.ts.map +1 -0
- package/lib/operations/SecretsUpdate.js +31 -0
- package/lib/operations/SecretsUpdate.js.map +1 -0
- package/lib/operations/TokensRequest_Kms.d.ts +12 -0
- package/lib/operations/TokensRequest_Kms.d.ts.map +1 -0
- package/lib/operations/TokensRequest_Kms.js +19 -0
- package/lib/operations/TokensRequest_Kms.js.map +1 -0
- package/lib/operations/TokensRequest_OIDC.d.ts +15 -0
- package/lib/operations/TokensRequest_OIDC.d.ts.map +1 -0
- package/lib/operations/TokensRequest_OIDC.js +23 -0
- package/lib/operations/TokensRequest_OIDC.js.map +1 -0
- package/lib/operations/VolumeDelete.d.ts +39 -0
- package/lib/operations/VolumeDelete.d.ts.map +1 -0
- package/lib/operations/VolumeDelete.js +45 -0
- package/lib/operations/VolumeDelete.js.map +1 -0
- package/lib/operations/VolumesCreate.d.ts +59 -0
- package/lib/operations/VolumesCreate.d.ts.map +1 -0
- package/lib/operations/VolumesCreate.js +65 -0
- package/lib/operations/VolumesCreate.js.map +1 -0
- package/lib/operations/VolumesExtend.d.ts +43 -0
- package/lib/operations/VolumesExtend.d.ts.map +1 -0
- package/lib/operations/VolumesExtend.js +52 -0
- package/lib/operations/VolumesExtend.js.map +1 -0
- package/lib/operations/VolumesGetById.d.ts +39 -0
- package/lib/operations/VolumesGetById.d.ts.map +1 -0
- package/lib/operations/VolumesGetById.js +45 -0
- package/lib/operations/VolumesGetById.js.map +1 -0
- package/lib/operations/VolumesList.d.ts +39 -0
- package/lib/operations/VolumesList.d.ts.map +1 -0
- package/lib/operations/VolumesList.js +45 -0
- package/lib/operations/VolumesList.js.map +1 -0
- package/lib/operations/VolumesListSnapshots.d.ts +26 -0
- package/lib/operations/VolumesListSnapshots.d.ts.map +1 -0
- package/lib/operations/VolumesListSnapshots.js +37 -0
- package/lib/operations/VolumesListSnapshots.js.map +1 -0
- package/lib/operations/VolumesUpdate.d.ts +41 -0
- package/lib/operations/VolumesUpdate.d.ts.map +1 -0
- package/lib/operations/VolumesUpdate.js +47 -0
- package/lib/operations/VolumesUpdate.js.map +1 -0
- package/lib/operations/createVolumeSnapshot.d.ts +18 -0
- package/lib/operations/createVolumeSnapshot.d.ts.map +1 -0
- package/lib/operations/createVolumeSnapshot.js +29 -0
- package/lib/operations/createVolumeSnapshot.js.map +1 -0
- package/lib/operations/index.d.ts +72 -0
- package/lib/operations/index.d.ts.map +1 -0
- package/lib/operations/index.js +72 -0
- package/lib/operations/index.js.map +1 -0
- package/lib/retry.d.ts +22 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +21 -0
- package/lib/retry.js.map +1 -0
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/traits.d.ts +5 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +5 -0
- package/lib/traits.js.map +1 -0
- package/package.json +88 -0
- package/src/category.ts +4 -0
- package/src/client.ts +63 -0
- package/src/credentials.ts +31 -0
- package/src/errors.ts +47 -0
- package/src/index.ts +15 -0
- package/src/operations/AppCreateDeployToken.ts +31 -0
- package/src/operations/App_CertificatesAcmeCreate.ts +101 -0
- package/src/operations/App_CertificatesAcmeDelete.ts +102 -0
- package/src/operations/App_CertificatesCheck.ts +112 -0
- package/src/operations/App_CertificatesCustomCreate.ts +102 -0
- package/src/operations/App_CertificatesCustomDelete.ts +102 -0
- package/src/operations/App_CertificatesDelete.ts +31 -0
- package/src/operations/App_CertificatesList.ts +54 -0
- package/src/operations/App_CertificatesShow.ts +97 -0
- package/src/operations/App_IPAssignmentsCreate.ts +38 -0
- package/src/operations/App_IPAssignmentsDelete.ts +28 -0
- package/src/operations/App_IPAssignmentsList.ts +39 -0
- package/src/operations/AppsCreate.ts +27 -0
- package/src/operations/AppsDelete.ts +26 -0
- package/src/operations/AppsList.ts +50 -0
- package/src/operations/AppsShow.ts +41 -0
- package/src/operations/CurrentTokenShow.ts +40 -0
- package/src/operations/MachinesCordon.ts +33 -0
- package/src/operations/MachinesCreate.ts +1393 -0
- package/src/operations/MachinesCreateLease.ts +44 -0
- package/src/operations/MachinesDelete.ts +32 -0
- package/src/operations/MachinesDeleteMetadata.ts +41 -0
- package/src/operations/MachinesExec.ts +43 -0
- package/src/operations/MachinesGetMemory.ts +39 -0
- package/src/operations/MachinesList.ts +966 -0
- package/src/operations/MachinesListEvents.ts +46 -0
- package/src/operations/MachinesListProcesses.ts +60 -0
- package/src/operations/MachinesListVersions.ts +494 -0
- package/src/operations/MachinesOrgList.ts +59 -0
- package/src/operations/MachinesPatchMetadata.ts +39 -0
- package/src/operations/MachinesReclaimMemory.ts +41 -0
- package/src/operations/MachinesReleaseLease.ts +38 -0
- package/src/operations/MachinesRestart.ts +37 -0
- package/src/operations/MachinesSetMemoryLimit.ts +43 -0
- package/src/operations/MachinesShow.ts +950 -0
- package/src/operations/MachinesShowLease.ts +42 -0
- package/src/operations/MachinesShowMetadata.ts +37 -0
- package/src/operations/MachinesSignal.ts +50 -0
- package/src/operations/MachinesStart.ts +33 -0
- package/src/operations/MachinesStop.ts +39 -0
- package/src/operations/MachinesSuspend.ts +33 -0
- package/src/operations/MachinesUncordon.ts +33 -0
- package/src/operations/MachinesUpdate.ts +1397 -0
- package/src/operations/MachinesUpdateMetadata.ts +41 -0
- package/src/operations/MachinesWait.ts +51 -0
- package/src/operations/PlatformPlacementsPost.ts +59 -0
- package/src/operations/PlatformRegionsGet.ts +55 -0
- package/src/operations/SecretCreate.ts +37 -0
- package/src/operations/SecretDelete.ts +31 -0
- package/src/operations/SecretGet.ts +38 -0
- package/src/operations/SecretkeyDecrypt.ts +39 -0
- package/src/operations/SecretkeyDelete.ts +34 -0
- package/src/operations/SecretkeyEncrypt.ts +39 -0
- package/src/operations/SecretkeyGenerate.ts +44 -0
- package/src/operations/SecretkeyGet.ts +36 -0
- package/src/operations/SecretkeySet.ts +38 -0
- package/src/operations/SecretkeySign.ts +36 -0
- package/src/operations/SecretkeyVerify.ts +35 -0
- package/src/operations/SecretkeysList.ts +40 -0
- package/src/operations/SecretsList.ts +40 -0
- package/src/operations/SecretsUpdate.ts +39 -0
- package/src/operations/TokensRequest_Kms.ts +25 -0
- package/src/operations/TokensRequest_OIDC.ts +27 -0
- package/src/operations/VolumeDelete.ts +53 -0
- package/src/operations/VolumesCreate.ts +75 -0
- package/src/operations/VolumesExtend.ts +62 -0
- package/src/operations/VolumesGetById.ts +53 -0
- package/src/operations/VolumesList.ts +53 -0
- package/src/operations/VolumesListSnapshots.ts +47 -0
- package/src/operations/VolumesUpdate.ts +55 -0
- package/src/operations/createVolumeSnapshot.ts +37 -0
- package/src/operations/index.ts +71 -0
- package/src/retry.ts +35 -0
- package/src/sensitive.ts +4 -0
- package/src/traits.ts +4 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const MachinesUpdateMetadataInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
machine_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
key: Schema.String.pipe(T.PathParam()),
|
|
11
|
+
}).pipe(
|
|
12
|
+
T.Http({
|
|
13
|
+
method: "POST",
|
|
14
|
+
path: "/apps/{app_name}/machines/{machine_id}/metadata/{key}",
|
|
15
|
+
}),
|
|
16
|
+
);
|
|
17
|
+
export type MachinesUpdateMetadataInput =
|
|
18
|
+
typeof MachinesUpdateMetadataInput.Type;
|
|
19
|
+
|
|
20
|
+
// Output Schema
|
|
21
|
+
export const MachinesUpdateMetadataOutput =
|
|
22
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
23
|
+
export type MachinesUpdateMetadataOutput =
|
|
24
|
+
typeof MachinesUpdateMetadataOutput.Type;
|
|
25
|
+
|
|
26
|
+
// The operation
|
|
27
|
+
/**
|
|
28
|
+
* Update Metadata
|
|
29
|
+
*
|
|
30
|
+
* Update metadata for a specific machine within an app by providing a metadata key.
|
|
31
|
+
*
|
|
32
|
+
* @param app_name - Fly App Name
|
|
33
|
+
* @param machine_id - Machine ID
|
|
34
|
+
* @param key - Metadata Key
|
|
35
|
+
*/
|
|
36
|
+
export const MachinesUpdateMetadata = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
37
|
+
() => ({
|
|
38
|
+
inputSchema: MachinesUpdateMetadataInput,
|
|
39
|
+
outputSchema: MachinesUpdateMetadataOutput,
|
|
40
|
+
}),
|
|
41
|
+
);
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const MachinesWaitInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
machine_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
instance_id: Schema.optional(Schema.String),
|
|
10
|
+
timeout: Schema.optional(Schema.Number),
|
|
11
|
+
state: Schema.optional(
|
|
12
|
+
Schema.Literals([
|
|
13
|
+
"started",
|
|
14
|
+
"stopped",
|
|
15
|
+
"suspended",
|
|
16
|
+
"destroyed",
|
|
17
|
+
"settled",
|
|
18
|
+
]),
|
|
19
|
+
),
|
|
20
|
+
}).pipe(
|
|
21
|
+
T.Http({
|
|
22
|
+
method: "GET",
|
|
23
|
+
path: "/apps/{app_name}/machines/{machine_id}/wait",
|
|
24
|
+
}),
|
|
25
|
+
);
|
|
26
|
+
export type MachinesWaitInput = typeof MachinesWaitInput.Type;
|
|
27
|
+
|
|
28
|
+
// Output Schema
|
|
29
|
+
export const MachinesWaitOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30
|
+
ok: Schema.optional(Schema.Boolean),
|
|
31
|
+
state: Schema.optional(Schema.String),
|
|
32
|
+
});
|
|
33
|
+
export type MachinesWaitOutput = typeof MachinesWaitOutput.Type;
|
|
34
|
+
|
|
35
|
+
// The operation
|
|
36
|
+
/**
|
|
37
|
+
* Wait for State
|
|
38
|
+
*
|
|
39
|
+
* Wait for a Machine to reach a specific state. Specify the desired state with the state parameter. See the [Machine states table](https://fly.io/docs/machines/working-with-machines/#machine-states) for a list of possible states. The default for this parameter is `started`.
|
|
40
|
+
* This request will block for up to 60 seconds. Set a shorter timeout with the timeout parameter.
|
|
41
|
+
*
|
|
42
|
+
* @param app_name - Fly App Name
|
|
43
|
+
* @param machine_id - Machine ID
|
|
44
|
+
* @param instance_id - 26-character Machine version ID
|
|
45
|
+
* @param timeout - wait timeout. default 60s
|
|
46
|
+
* @param state - desired state
|
|
47
|
+
*/
|
|
48
|
+
export const MachinesWait = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
49
|
+
inputSchema: MachinesWaitInput,
|
|
50
|
+
outputSchema: MachinesWaitOutput,
|
|
51
|
+
}));
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const PlatformPlacementsPostInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
compute: Schema.optional(
|
|
9
|
+
Schema.Struct({
|
|
10
|
+
cpu_kind: Schema.optional(Schema.String),
|
|
11
|
+
cpus: Schema.optional(Schema.Number),
|
|
12
|
+
gpu_kind: Schema.optional(Schema.String),
|
|
13
|
+
gpus: Schema.optional(Schema.Number),
|
|
14
|
+
host_dedication_id: Schema.optional(Schema.String),
|
|
15
|
+
kernel_args: Schema.optional(Schema.Array(Schema.String)),
|
|
16
|
+
memory_mb: Schema.optional(Schema.Number),
|
|
17
|
+
persist_rootfs: Schema.optional(
|
|
18
|
+
Schema.Literals(["never", "always", "restart"]),
|
|
19
|
+
),
|
|
20
|
+
}),
|
|
21
|
+
),
|
|
22
|
+
count: Schema.optional(Schema.Number),
|
|
23
|
+
org_slug: Schema.String,
|
|
24
|
+
region: Schema.optional(Schema.String),
|
|
25
|
+
volume_name: Schema.optional(Schema.String),
|
|
26
|
+
volume_size_bytes: Schema.optional(Schema.Number),
|
|
27
|
+
weights: Schema.optional(Schema.Struct({})),
|
|
28
|
+
}).pipe(T.Http({ method: "POST", path: "/platform/placements" }));
|
|
29
|
+
export type PlatformPlacementsPostInput =
|
|
30
|
+
typeof PlatformPlacementsPostInput.Type;
|
|
31
|
+
|
|
32
|
+
// Output Schema
|
|
33
|
+
export const PlatformPlacementsPostOutput =
|
|
34
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
35
|
+
regions: Schema.optional(
|
|
36
|
+
Schema.Array(
|
|
37
|
+
Schema.Struct({
|
|
38
|
+
concurrency: Schema.optional(Schema.Number),
|
|
39
|
+
count: Schema.optional(Schema.Number),
|
|
40
|
+
region: Schema.optional(Schema.String),
|
|
41
|
+
}),
|
|
42
|
+
),
|
|
43
|
+
),
|
|
44
|
+
});
|
|
45
|
+
export type PlatformPlacementsPostOutput =
|
|
46
|
+
typeof PlatformPlacementsPostOutput.Type;
|
|
47
|
+
|
|
48
|
+
// The operation
|
|
49
|
+
/**
|
|
50
|
+
* Get Placements
|
|
51
|
+
*
|
|
52
|
+
* Simulates placing the specified number of machines into regions, depending on available capacity and limits.
|
|
53
|
+
*/
|
|
54
|
+
export const PlatformPlacementsPost = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
55
|
+
() => ({
|
|
56
|
+
inputSchema: PlatformPlacementsPostInput,
|
|
57
|
+
outputSchema: PlatformPlacementsPostOutput,
|
|
58
|
+
}),
|
|
59
|
+
);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const PlatformRegionsGetInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
size: Schema.optional(Schema.String),
|
|
9
|
+
cpu_kind: Schema.optional(Schema.String),
|
|
10
|
+
memory_mb: Schema.optional(Schema.Number),
|
|
11
|
+
cpus: Schema.optional(Schema.Number),
|
|
12
|
+
gpus: Schema.optional(Schema.Number),
|
|
13
|
+
gpu_kind: Schema.optional(Schema.String),
|
|
14
|
+
}).pipe(T.Http({ method: "GET", path: "/platform/regions" }));
|
|
15
|
+
export type PlatformRegionsGetInput = typeof PlatformRegionsGetInput.Type;
|
|
16
|
+
|
|
17
|
+
// Output Schema
|
|
18
|
+
export const PlatformRegionsGetOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
20
|
+
nearest: Schema.optional(Schema.String),
|
|
21
|
+
regions: Schema.optional(
|
|
22
|
+
Schema.Array(
|
|
23
|
+
Schema.Struct({
|
|
24
|
+
capacity: Schema.optional(Schema.Number),
|
|
25
|
+
code: Schema.optional(Schema.String),
|
|
26
|
+
deprecated: Schema.optional(Schema.Boolean),
|
|
27
|
+
gateway_available: Schema.optional(Schema.Boolean),
|
|
28
|
+
geo_region: Schema.optional(Schema.String),
|
|
29
|
+
latitude: Schema.optional(Schema.Number),
|
|
30
|
+
longitude: Schema.optional(Schema.Number),
|
|
31
|
+
name: Schema.optional(Schema.String),
|
|
32
|
+
requires_paid_plan: Schema.optional(Schema.Boolean),
|
|
33
|
+
}),
|
|
34
|
+
),
|
|
35
|
+
),
|
|
36
|
+
});
|
|
37
|
+
export type PlatformRegionsGetOutput = typeof PlatformRegionsGetOutput.Type;
|
|
38
|
+
|
|
39
|
+
// The operation
|
|
40
|
+
/**
|
|
41
|
+
* Get Regions
|
|
42
|
+
*
|
|
43
|
+
* List all regions on the platform with their current Machine capacity.
|
|
44
|
+
*
|
|
45
|
+
* @param size - guest machine size preset. default performance-1x
|
|
46
|
+
* @param cpu_kind - guest CPU kind
|
|
47
|
+
* @param memory_mb - guest memory in megabytes
|
|
48
|
+
* @param cpus - guest CPU count
|
|
49
|
+
* @param gpus - guest GPU count
|
|
50
|
+
* @param gpu_kind - guest GPU kind
|
|
51
|
+
*/
|
|
52
|
+
export const PlatformRegionsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
53
|
+
inputSchema: PlatformRegionsGetInput,
|
|
54
|
+
outputSchema: PlatformRegionsGetOutput,
|
|
55
|
+
}));
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
secret_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
value: Schema.optional(Schema.String),
|
|
10
|
+
}).pipe(
|
|
11
|
+
T.Http({ method: "POST", path: "/apps/{app_name}/secrets/{secret_name}" }),
|
|
12
|
+
);
|
|
13
|
+
export type SecretCreateInput = typeof SecretCreateInput.Type;
|
|
14
|
+
|
|
15
|
+
// Output Schema
|
|
16
|
+
export const SecretCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
|
+
Version: Schema.optional(Schema.Number),
|
|
18
|
+
created_at: Schema.optional(Schema.String),
|
|
19
|
+
digest: Schema.optional(Schema.String),
|
|
20
|
+
name: Schema.optional(Schema.String),
|
|
21
|
+
updated_at: Schema.optional(Schema.String),
|
|
22
|
+
value: Schema.optional(Schema.String),
|
|
23
|
+
version: Schema.optional(Schema.Number),
|
|
24
|
+
});
|
|
25
|
+
export type SecretCreateOutput = typeof SecretCreateOutput.Type;
|
|
26
|
+
|
|
27
|
+
// The operation
|
|
28
|
+
/**
|
|
29
|
+
* Create or update Secret
|
|
30
|
+
*
|
|
31
|
+
* @param app_name - Fly App Name
|
|
32
|
+
* @param secret_name - App secret name
|
|
33
|
+
*/
|
|
34
|
+
export const SecretCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
35
|
+
inputSchema: SecretCreateInput,
|
|
36
|
+
outputSchema: SecretCreateOutput,
|
|
37
|
+
}));
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
secret_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(
|
|
10
|
+
T.Http({ method: "DELETE", path: "/apps/{app_name}/secrets/{secret_name}" }),
|
|
11
|
+
);
|
|
12
|
+
export type SecretDeleteInput = typeof SecretDeleteInput.Type;
|
|
13
|
+
|
|
14
|
+
// Output Schema
|
|
15
|
+
export const SecretDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16
|
+
Version: Schema.optional(Schema.Number),
|
|
17
|
+
version: Schema.optional(Schema.Number),
|
|
18
|
+
});
|
|
19
|
+
export type SecretDeleteOutput = typeof SecretDeleteOutput.Type;
|
|
20
|
+
|
|
21
|
+
// The operation
|
|
22
|
+
/**
|
|
23
|
+
* Delete an app secret
|
|
24
|
+
*
|
|
25
|
+
* @param app_name - Fly App Name
|
|
26
|
+
* @param secret_name - App secret name
|
|
27
|
+
*/
|
|
28
|
+
export const SecretDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
29
|
+
inputSchema: SecretDeleteInput,
|
|
30
|
+
outputSchema: SecretDeleteOutput,
|
|
31
|
+
}));
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
secret_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
min_version: Schema.optional(Schema.String),
|
|
10
|
+
show_secrets: Schema.optional(Schema.Boolean),
|
|
11
|
+
}).pipe(
|
|
12
|
+
T.Http({ method: "GET", path: "/apps/{app_name}/secrets/{secret_name}" }),
|
|
13
|
+
);
|
|
14
|
+
export type SecretGetInput = typeof SecretGetInput.Type;
|
|
15
|
+
|
|
16
|
+
// Output Schema
|
|
17
|
+
export const SecretGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18
|
+
created_at: Schema.optional(Schema.String),
|
|
19
|
+
digest: Schema.optional(Schema.String),
|
|
20
|
+
name: Schema.optional(Schema.String),
|
|
21
|
+
updated_at: Schema.optional(Schema.String),
|
|
22
|
+
value: Schema.optional(Schema.String),
|
|
23
|
+
});
|
|
24
|
+
export type SecretGetOutput = typeof SecretGetOutput.Type;
|
|
25
|
+
|
|
26
|
+
// The operation
|
|
27
|
+
/**
|
|
28
|
+
* Get an app secret
|
|
29
|
+
*
|
|
30
|
+
* @param app_name - Fly App Name
|
|
31
|
+
* @param secret_name - App secret name
|
|
32
|
+
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
33
|
+
* @param show_secrets - Show the secret value.
|
|
34
|
+
*/
|
|
35
|
+
export const SecretGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
36
|
+
inputSchema: SecretGetInput,
|
|
37
|
+
outputSchema: SecretGetOutput,
|
|
38
|
+
}));
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretkeyDecryptInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
secret_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
min_version: Schema.optional(Schema.String),
|
|
10
|
+
associated_data: Schema.optional(Schema.Array(Schema.Number)),
|
|
11
|
+
ciphertext: Schema.optional(Schema.Array(Schema.Number)),
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({
|
|
14
|
+
method: "POST",
|
|
15
|
+
path: "/apps/{app_name}/secretkeys/{secret_name}/decrypt",
|
|
16
|
+
}),
|
|
17
|
+
);
|
|
18
|
+
export type SecretkeyDecryptInput = typeof SecretkeyDecryptInput.Type;
|
|
19
|
+
|
|
20
|
+
// Output Schema
|
|
21
|
+
export const SecretkeyDecryptOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
22
|
+
{
|
|
23
|
+
plaintext: Schema.optional(Schema.Array(Schema.Number)),
|
|
24
|
+
},
|
|
25
|
+
);
|
|
26
|
+
export type SecretkeyDecryptOutput = typeof SecretkeyDecryptOutput.Type;
|
|
27
|
+
|
|
28
|
+
// The operation
|
|
29
|
+
/**
|
|
30
|
+
* Decrypt with a secret key
|
|
31
|
+
*
|
|
32
|
+
* @param app_name - Fly App Name
|
|
33
|
+
* @param secret_name - Secret key name
|
|
34
|
+
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
35
|
+
*/
|
|
36
|
+
export const SecretkeyDecrypt = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
37
|
+
inputSchema: SecretkeyDecryptInput,
|
|
38
|
+
outputSchema: SecretkeyDecryptOutput,
|
|
39
|
+
}));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretkeyDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
secret_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(
|
|
10
|
+
T.Http({
|
|
11
|
+
method: "DELETE",
|
|
12
|
+
path: "/apps/{app_name}/secretkeys/{secret_name}",
|
|
13
|
+
}),
|
|
14
|
+
);
|
|
15
|
+
export type SecretkeyDeleteInput = typeof SecretkeyDeleteInput.Type;
|
|
16
|
+
|
|
17
|
+
// Output Schema
|
|
18
|
+
export const SecretkeyDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19
|
+
Version: Schema.optional(Schema.Number),
|
|
20
|
+
version: Schema.optional(Schema.Number),
|
|
21
|
+
});
|
|
22
|
+
export type SecretkeyDeleteOutput = typeof SecretkeyDeleteOutput.Type;
|
|
23
|
+
|
|
24
|
+
// The operation
|
|
25
|
+
/**
|
|
26
|
+
* Delete an app's secret key
|
|
27
|
+
*
|
|
28
|
+
* @param app_name - Fly App Name
|
|
29
|
+
* @param secret_name - Secret key name
|
|
30
|
+
*/
|
|
31
|
+
export const SecretkeyDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
32
|
+
inputSchema: SecretkeyDeleteInput,
|
|
33
|
+
outputSchema: SecretkeyDeleteOutput,
|
|
34
|
+
}));
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretkeyEncryptInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
secret_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
min_version: Schema.optional(Schema.String),
|
|
10
|
+
associated_data: Schema.optional(Schema.Array(Schema.Number)),
|
|
11
|
+
plaintext: Schema.optional(Schema.Array(Schema.Number)),
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({
|
|
14
|
+
method: "POST",
|
|
15
|
+
path: "/apps/{app_name}/secretkeys/{secret_name}/encrypt",
|
|
16
|
+
}),
|
|
17
|
+
);
|
|
18
|
+
export type SecretkeyEncryptInput = typeof SecretkeyEncryptInput.Type;
|
|
19
|
+
|
|
20
|
+
// Output Schema
|
|
21
|
+
export const SecretkeyEncryptOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
22
|
+
{
|
|
23
|
+
ciphertext: Schema.optional(Schema.Array(Schema.Number)),
|
|
24
|
+
},
|
|
25
|
+
);
|
|
26
|
+
export type SecretkeyEncryptOutput = typeof SecretkeyEncryptOutput.Type;
|
|
27
|
+
|
|
28
|
+
// The operation
|
|
29
|
+
/**
|
|
30
|
+
* Encrypt with a secret key
|
|
31
|
+
*
|
|
32
|
+
* @param app_name - Fly App Name
|
|
33
|
+
* @param secret_name - Secret key name
|
|
34
|
+
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
35
|
+
*/
|
|
36
|
+
export const SecretkeyEncrypt = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
37
|
+
inputSchema: SecretkeyEncryptInput,
|
|
38
|
+
outputSchema: SecretkeyEncryptOutput,
|
|
39
|
+
}));
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretkeyGenerateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
|
+
{
|
|
8
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
secret_name: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
type: Schema.optional(Schema.String),
|
|
11
|
+
value: Schema.optional(Schema.Array(Schema.Number)),
|
|
12
|
+
},
|
|
13
|
+
).pipe(
|
|
14
|
+
T.Http({
|
|
15
|
+
method: "POST",
|
|
16
|
+
path: "/apps/{app_name}/secretkeys/{secret_name}/generate",
|
|
17
|
+
}),
|
|
18
|
+
);
|
|
19
|
+
export type SecretkeyGenerateInput = typeof SecretkeyGenerateInput.Type;
|
|
20
|
+
|
|
21
|
+
// Output Schema
|
|
22
|
+
export const SecretkeyGenerateOutput =
|
|
23
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
24
|
+
Version: Schema.optional(Schema.Number),
|
|
25
|
+
created_at: Schema.optional(Schema.String),
|
|
26
|
+
name: Schema.optional(Schema.String),
|
|
27
|
+
public_key: Schema.optional(Schema.Array(Schema.Number)),
|
|
28
|
+
type: Schema.optional(Schema.String),
|
|
29
|
+
updated_at: Schema.optional(Schema.String),
|
|
30
|
+
version: Schema.optional(Schema.Number),
|
|
31
|
+
});
|
|
32
|
+
export type SecretkeyGenerateOutput = typeof SecretkeyGenerateOutput.Type;
|
|
33
|
+
|
|
34
|
+
// The operation
|
|
35
|
+
/**
|
|
36
|
+
* Generate a random secret key
|
|
37
|
+
*
|
|
38
|
+
* @param app_name - Fly App Name
|
|
39
|
+
* @param secret_name - Secret key name
|
|
40
|
+
*/
|
|
41
|
+
export const SecretkeyGenerate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
42
|
+
inputSchema: SecretkeyGenerateInput,
|
|
43
|
+
outputSchema: SecretkeyGenerateOutput,
|
|
44
|
+
}));
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretkeyGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
secret_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
min_version: Schema.optional(Schema.String),
|
|
10
|
+
}).pipe(
|
|
11
|
+
T.Http({ method: "GET", path: "/apps/{app_name}/secretkeys/{secret_name}" }),
|
|
12
|
+
);
|
|
13
|
+
export type SecretkeyGetInput = typeof SecretkeyGetInput.Type;
|
|
14
|
+
|
|
15
|
+
// Output Schema
|
|
16
|
+
export const SecretkeyGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
|
+
created_at: Schema.optional(Schema.String),
|
|
18
|
+
name: Schema.optional(Schema.String),
|
|
19
|
+
public_key: Schema.optional(Schema.Array(Schema.Number)),
|
|
20
|
+
type: Schema.optional(Schema.String),
|
|
21
|
+
updated_at: Schema.optional(Schema.String),
|
|
22
|
+
});
|
|
23
|
+
export type SecretkeyGetOutput = typeof SecretkeyGetOutput.Type;
|
|
24
|
+
|
|
25
|
+
// The operation
|
|
26
|
+
/**
|
|
27
|
+
* Get an app's secret key
|
|
28
|
+
*
|
|
29
|
+
* @param app_name - Fly App Name
|
|
30
|
+
* @param secret_name - Secret key name
|
|
31
|
+
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
32
|
+
*/
|
|
33
|
+
export const SecretkeyGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
34
|
+
inputSchema: SecretkeyGetInput,
|
|
35
|
+
outputSchema: SecretkeyGetOutput,
|
|
36
|
+
}));
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretkeySetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
secret_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
type: Schema.optional(Schema.String),
|
|
10
|
+
value: Schema.optional(Schema.Array(Schema.Number)),
|
|
11
|
+
}).pipe(
|
|
12
|
+
T.Http({ method: "POST", path: "/apps/{app_name}/secretkeys/{secret_name}" }),
|
|
13
|
+
);
|
|
14
|
+
export type SecretkeySetInput = typeof SecretkeySetInput.Type;
|
|
15
|
+
|
|
16
|
+
// Output Schema
|
|
17
|
+
export const SecretkeySetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18
|
+
Version: Schema.optional(Schema.Number),
|
|
19
|
+
created_at: Schema.optional(Schema.String),
|
|
20
|
+
name: Schema.optional(Schema.String),
|
|
21
|
+
public_key: Schema.optional(Schema.Array(Schema.Number)),
|
|
22
|
+
type: Schema.optional(Schema.String),
|
|
23
|
+
updated_at: Schema.optional(Schema.String),
|
|
24
|
+
version: Schema.optional(Schema.Number),
|
|
25
|
+
});
|
|
26
|
+
export type SecretkeySetOutput = typeof SecretkeySetOutput.Type;
|
|
27
|
+
|
|
28
|
+
// The operation
|
|
29
|
+
/**
|
|
30
|
+
* Create or update a secret key
|
|
31
|
+
*
|
|
32
|
+
* @param app_name - Fly App Name
|
|
33
|
+
* @param secret_name - Secret key name
|
|
34
|
+
*/
|
|
35
|
+
export const SecretkeySet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
36
|
+
inputSchema: SecretkeySetInput,
|
|
37
|
+
outputSchema: SecretkeySetOutput,
|
|
38
|
+
}));
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretkeySignInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
secret_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
min_version: Schema.optional(Schema.String),
|
|
10
|
+
plaintext: Schema.optional(Schema.Array(Schema.Number)),
|
|
11
|
+
}).pipe(
|
|
12
|
+
T.Http({
|
|
13
|
+
method: "POST",
|
|
14
|
+
path: "/apps/{app_name}/secretkeys/{secret_name}/sign",
|
|
15
|
+
}),
|
|
16
|
+
);
|
|
17
|
+
export type SecretkeySignInput = typeof SecretkeySignInput.Type;
|
|
18
|
+
|
|
19
|
+
// Output Schema
|
|
20
|
+
export const SecretkeySignOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
21
|
+
signature: Schema.optional(Schema.Array(Schema.Number)),
|
|
22
|
+
});
|
|
23
|
+
export type SecretkeySignOutput = typeof SecretkeySignOutput.Type;
|
|
24
|
+
|
|
25
|
+
// The operation
|
|
26
|
+
/**
|
|
27
|
+
* Sign with a secret key
|
|
28
|
+
*
|
|
29
|
+
* @param app_name - Fly App Name
|
|
30
|
+
* @param secret_name - Secret key name
|
|
31
|
+
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
32
|
+
*/
|
|
33
|
+
export const SecretkeySign = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
34
|
+
inputSchema: SecretkeySignInput,
|
|
35
|
+
outputSchema: SecretkeySignOutput,
|
|
36
|
+
}));
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretkeyVerifyInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
secret_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
min_version: Schema.optional(Schema.String),
|
|
10
|
+
plaintext: Schema.optional(Schema.Array(Schema.Number)),
|
|
11
|
+
signature: Schema.optional(Schema.Array(Schema.Number)),
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({
|
|
14
|
+
method: "POST",
|
|
15
|
+
path: "/apps/{app_name}/secretkeys/{secret_name}/verify",
|
|
16
|
+
}),
|
|
17
|
+
);
|
|
18
|
+
export type SecretkeyVerifyInput = typeof SecretkeyVerifyInput.Type;
|
|
19
|
+
|
|
20
|
+
// Output Schema
|
|
21
|
+
export const SecretkeyVerifyOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
22
|
+
export type SecretkeyVerifyOutput = typeof SecretkeyVerifyOutput.Type;
|
|
23
|
+
|
|
24
|
+
// The operation
|
|
25
|
+
/**
|
|
26
|
+
* Verify with a secret key
|
|
27
|
+
*
|
|
28
|
+
* @param app_name - Fly App Name
|
|
29
|
+
* @param secret_name - Secret key name
|
|
30
|
+
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
31
|
+
*/
|
|
32
|
+
export const SecretkeyVerify = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
33
|
+
inputSchema: SecretkeyVerifyInput,
|
|
34
|
+
outputSchema: SecretkeyVerifyOutput,
|
|
35
|
+
}));
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretkeysListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
min_version: Schema.optional(Schema.String),
|
|
9
|
+
types: Schema.optional(Schema.String),
|
|
10
|
+
}).pipe(T.Http({ method: "GET", path: "/apps/{app_name}/secretkeys" }));
|
|
11
|
+
export type SecretkeysListInput = typeof SecretkeysListInput.Type;
|
|
12
|
+
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const SecretkeysListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
|
+
secret_keys: Schema.optional(
|
|
16
|
+
Schema.Array(
|
|
17
|
+
Schema.Struct({
|
|
18
|
+
created_at: Schema.optional(Schema.String),
|
|
19
|
+
name: Schema.optional(Schema.String),
|
|
20
|
+
public_key: Schema.optional(Schema.Array(Schema.Number)),
|
|
21
|
+
type: Schema.optional(Schema.String),
|
|
22
|
+
updated_at: Schema.optional(Schema.String),
|
|
23
|
+
}),
|
|
24
|
+
),
|
|
25
|
+
),
|
|
26
|
+
});
|
|
27
|
+
export type SecretkeysListOutput = typeof SecretkeysListOutput.Type;
|
|
28
|
+
|
|
29
|
+
// The operation
|
|
30
|
+
/**
|
|
31
|
+
* List secret keys belonging to an app
|
|
32
|
+
*
|
|
33
|
+
* @param app_name - Fly App Name
|
|
34
|
+
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
35
|
+
* @param types - Comma-seperated list of secret keys to list
|
|
36
|
+
*/
|
|
37
|
+
export const SecretkeysList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
38
|
+
inputSchema: SecretkeysListInput,
|
|
39
|
+
outputSchema: SecretkeysListOutput,
|
|
40
|
+
}));
|