@distilled.cloud/fly-io 0.0.0 → 0.2.5-alpha2
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/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 +17 -0
- package/lib/client.d.ts.map +1 -0
- package/lib/client.js +51 -0
- package/lib/client.js.map +1 -0
- package/lib/credentials.d.ts +14 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +17 -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 +81 -9
- package/src/category.ts +4 -0
- package/src/client.ts +62 -0
- package/src/credentials.ts +30 -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
- package/index.js +0 -2
|
@@ -0,0 +1,102 @@
|
|
|
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 App_CertificatesCustomCreateInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
fullchain: Schema.optional(Schema.String),
|
|
9
|
+
hostname: Schema.optional(Schema.String),
|
|
10
|
+
private_key: Schema.optional(Schema.String),
|
|
11
|
+
}).pipe(
|
|
12
|
+
T.Http({ method: "POST", path: "/apps/{app_name}/certificates/custom" }),
|
|
13
|
+
);
|
|
14
|
+
export type App_CertificatesCustomCreateInput =
|
|
15
|
+
typeof App_CertificatesCustomCreateInput.Type;
|
|
16
|
+
|
|
17
|
+
// Output Schema
|
|
18
|
+
export const App_CertificatesCustomCreateOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
20
|
+
acme_requested: Schema.optional(Schema.Boolean),
|
|
21
|
+
certificates: Schema.optional(
|
|
22
|
+
Schema.Array(
|
|
23
|
+
Schema.Struct({
|
|
24
|
+
created_at: Schema.optional(Schema.String),
|
|
25
|
+
expires_at: Schema.optional(Schema.String),
|
|
26
|
+
issued: Schema.optional(
|
|
27
|
+
Schema.Array(
|
|
28
|
+
Schema.Struct({
|
|
29
|
+
certificate_authority: Schema.optional(Schema.String),
|
|
30
|
+
expires_at: Schema.optional(Schema.String),
|
|
31
|
+
type: Schema.optional(Schema.Literals(["rsa", "ecdsa"])),
|
|
32
|
+
}),
|
|
33
|
+
),
|
|
34
|
+
),
|
|
35
|
+
issuer: Schema.optional(Schema.String),
|
|
36
|
+
source: Schema.optional(Schema.Literals(["custom", "fly"])),
|
|
37
|
+
status: Schema.optional(
|
|
38
|
+
Schema.Literals([
|
|
39
|
+
"active",
|
|
40
|
+
"pending_ownership",
|
|
41
|
+
"pending_validation",
|
|
42
|
+
]),
|
|
43
|
+
),
|
|
44
|
+
}),
|
|
45
|
+
),
|
|
46
|
+
),
|
|
47
|
+
configured: Schema.optional(Schema.Boolean),
|
|
48
|
+
dns_provider: Schema.optional(Schema.String),
|
|
49
|
+
dns_requirements: Schema.optional(
|
|
50
|
+
Schema.Struct({
|
|
51
|
+
a: Schema.optional(Schema.Array(Schema.String)),
|
|
52
|
+
aaaa: Schema.optional(Schema.Array(Schema.String)),
|
|
53
|
+
acme_challenge: Schema.optional(
|
|
54
|
+
Schema.Struct({
|
|
55
|
+
name: Schema.optional(Schema.String),
|
|
56
|
+
target: Schema.optional(Schema.String),
|
|
57
|
+
}),
|
|
58
|
+
),
|
|
59
|
+
cname: Schema.optional(Schema.String),
|
|
60
|
+
ownership: Schema.optional(
|
|
61
|
+
Schema.Struct({
|
|
62
|
+
app_value: Schema.optional(Schema.String),
|
|
63
|
+
name: Schema.optional(Schema.String),
|
|
64
|
+
org_value: Schema.optional(Schema.String),
|
|
65
|
+
}),
|
|
66
|
+
),
|
|
67
|
+
}),
|
|
68
|
+
),
|
|
69
|
+
hostname: Schema.optional(Schema.String),
|
|
70
|
+
rate_limited_until: Schema.optional(Schema.String),
|
|
71
|
+
status: Schema.optional(Schema.String),
|
|
72
|
+
validation: Schema.optional(
|
|
73
|
+
Schema.Struct({
|
|
74
|
+
alpn_configured: Schema.optional(Schema.Boolean),
|
|
75
|
+
dns_configured: Schema.optional(Schema.Boolean),
|
|
76
|
+
http_configured: Schema.optional(Schema.Boolean),
|
|
77
|
+
ownership_txt_configured: Schema.optional(Schema.Boolean),
|
|
78
|
+
}),
|
|
79
|
+
),
|
|
80
|
+
validation_errors: Schema.optional(
|
|
81
|
+
Schema.Array(
|
|
82
|
+
Schema.Struct({
|
|
83
|
+
code: Schema.optional(Schema.String),
|
|
84
|
+
message: Schema.optional(Schema.String),
|
|
85
|
+
remediation: Schema.optional(Schema.String),
|
|
86
|
+
timestamp: Schema.optional(Schema.String),
|
|
87
|
+
}),
|
|
88
|
+
),
|
|
89
|
+
),
|
|
90
|
+
});
|
|
91
|
+
export type App_CertificatesCustomCreateOutput =
|
|
92
|
+
typeof App_CertificatesCustomCreateOutput.Type;
|
|
93
|
+
|
|
94
|
+
// The operation
|
|
95
|
+
/**
|
|
96
|
+
* Upload custom certificate
|
|
97
|
+
*/
|
|
98
|
+
export const App_CertificatesCustomCreate =
|
|
99
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
100
|
+
inputSchema: App_CertificatesCustomCreateInput,
|
|
101
|
+
outputSchema: App_CertificatesCustomCreateOutput,
|
|
102
|
+
}));
|
|
@@ -0,0 +1,102 @@
|
|
|
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 App_CertificatesCustomDeleteInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
8
|
+
T.Http({
|
|
9
|
+
method: "DELETE",
|
|
10
|
+
path: "/apps/{app_name}/certificates/{hostname}/custom",
|
|
11
|
+
}),
|
|
12
|
+
);
|
|
13
|
+
export type App_CertificatesCustomDeleteInput =
|
|
14
|
+
typeof App_CertificatesCustomDeleteInput.Type;
|
|
15
|
+
|
|
16
|
+
// Output Schema
|
|
17
|
+
export const App_CertificatesCustomDeleteOutput =
|
|
18
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19
|
+
acme_requested: Schema.optional(Schema.Boolean),
|
|
20
|
+
certificates: Schema.optional(
|
|
21
|
+
Schema.Array(
|
|
22
|
+
Schema.Struct({
|
|
23
|
+
created_at: Schema.optional(Schema.String),
|
|
24
|
+
expires_at: Schema.optional(Schema.String),
|
|
25
|
+
issued: Schema.optional(
|
|
26
|
+
Schema.Array(
|
|
27
|
+
Schema.Struct({
|
|
28
|
+
certificate_authority: Schema.optional(Schema.String),
|
|
29
|
+
expires_at: Schema.optional(Schema.String),
|
|
30
|
+
type: Schema.optional(Schema.Literals(["rsa", "ecdsa"])),
|
|
31
|
+
}),
|
|
32
|
+
),
|
|
33
|
+
),
|
|
34
|
+
issuer: Schema.optional(Schema.String),
|
|
35
|
+
source: Schema.optional(Schema.Literals(["custom", "fly"])),
|
|
36
|
+
status: Schema.optional(
|
|
37
|
+
Schema.Literals([
|
|
38
|
+
"active",
|
|
39
|
+
"pending_ownership",
|
|
40
|
+
"pending_validation",
|
|
41
|
+
]),
|
|
42
|
+
),
|
|
43
|
+
}),
|
|
44
|
+
),
|
|
45
|
+
),
|
|
46
|
+
configured: Schema.optional(Schema.Boolean),
|
|
47
|
+
dns_provider: Schema.optional(Schema.String),
|
|
48
|
+
dns_requirements: Schema.optional(
|
|
49
|
+
Schema.Struct({
|
|
50
|
+
a: Schema.optional(Schema.Array(Schema.String)),
|
|
51
|
+
aaaa: Schema.optional(Schema.Array(Schema.String)),
|
|
52
|
+
acme_challenge: Schema.optional(
|
|
53
|
+
Schema.Struct({
|
|
54
|
+
name: Schema.optional(Schema.String),
|
|
55
|
+
target: Schema.optional(Schema.String),
|
|
56
|
+
}),
|
|
57
|
+
),
|
|
58
|
+
cname: Schema.optional(Schema.String),
|
|
59
|
+
ownership: Schema.optional(
|
|
60
|
+
Schema.Struct({
|
|
61
|
+
app_value: Schema.optional(Schema.String),
|
|
62
|
+
name: Schema.optional(Schema.String),
|
|
63
|
+
org_value: Schema.optional(Schema.String),
|
|
64
|
+
}),
|
|
65
|
+
),
|
|
66
|
+
}),
|
|
67
|
+
),
|
|
68
|
+
hostname: Schema.optional(Schema.String),
|
|
69
|
+
rate_limited_until: Schema.optional(Schema.String),
|
|
70
|
+
status: Schema.optional(Schema.String),
|
|
71
|
+
validation: Schema.optional(
|
|
72
|
+
Schema.Struct({
|
|
73
|
+
alpn_configured: Schema.optional(Schema.Boolean),
|
|
74
|
+
dns_configured: Schema.optional(Schema.Boolean),
|
|
75
|
+
http_configured: Schema.optional(Schema.Boolean),
|
|
76
|
+
ownership_txt_configured: Schema.optional(Schema.Boolean),
|
|
77
|
+
}),
|
|
78
|
+
),
|
|
79
|
+
validation_errors: Schema.optional(
|
|
80
|
+
Schema.Array(
|
|
81
|
+
Schema.Struct({
|
|
82
|
+
code: Schema.optional(Schema.String),
|
|
83
|
+
message: Schema.optional(Schema.String),
|
|
84
|
+
remediation: Schema.optional(Schema.String),
|
|
85
|
+
timestamp: Schema.optional(Schema.String),
|
|
86
|
+
}),
|
|
87
|
+
),
|
|
88
|
+
),
|
|
89
|
+
warning: Schema.optional(Schema.String),
|
|
90
|
+
});
|
|
91
|
+
export type App_CertificatesCustomDeleteOutput =
|
|
92
|
+
typeof App_CertificatesCustomDeleteOutput.Type;
|
|
93
|
+
|
|
94
|
+
// The operation
|
|
95
|
+
/**
|
|
96
|
+
* Remove custom certificate
|
|
97
|
+
*/
|
|
98
|
+
export const App_CertificatesCustomDelete =
|
|
99
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
100
|
+
inputSchema: App_CertificatesCustomDeleteInput,
|
|
101
|
+
outputSchema: App_CertificatesCustomDeleteOutput,
|
|
102
|
+
}));
|
|
@@ -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 App_CertificatesDeleteInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
8
|
+
T.Http({
|
|
9
|
+
method: "DELETE",
|
|
10
|
+
path: "/apps/{app_name}/certificates/{hostname}",
|
|
11
|
+
}),
|
|
12
|
+
);
|
|
13
|
+
export type App_CertificatesDeleteInput =
|
|
14
|
+
typeof App_CertificatesDeleteInput.Type;
|
|
15
|
+
|
|
16
|
+
// Output Schema
|
|
17
|
+
export const App_CertificatesDeleteOutput =
|
|
18
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
19
|
+
export type App_CertificatesDeleteOutput =
|
|
20
|
+
typeof App_CertificatesDeleteOutput.Type;
|
|
21
|
+
|
|
22
|
+
// The operation
|
|
23
|
+
/**
|
|
24
|
+
* Remove certificate
|
|
25
|
+
*/
|
|
26
|
+
export const App_CertificatesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
27
|
+
() => ({
|
|
28
|
+
inputSchema: App_CertificatesDeleteInput,
|
|
29
|
+
outputSchema: App_CertificatesDeleteOutput,
|
|
30
|
+
}),
|
|
31
|
+
);
|
|
@@ -0,0 +1,54 @@
|
|
|
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 App_CertificatesListInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
filter: Schema.optional(Schema.String),
|
|
9
|
+
cursor: Schema.optional(Schema.String),
|
|
10
|
+
limit: Schema.optional(Schema.Number),
|
|
11
|
+
}).pipe(T.Http({ method: "GET", path: "/apps/{app_name}/certificates" }));
|
|
12
|
+
export type App_CertificatesListInput = typeof App_CertificatesListInput.Type;
|
|
13
|
+
|
|
14
|
+
// Output Schema
|
|
15
|
+
export const App_CertificatesListOutput =
|
|
16
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
|
+
certificates: Schema.optional(
|
|
18
|
+
Schema.Array(
|
|
19
|
+
Schema.Struct({
|
|
20
|
+
acme_alpn_configured: Schema.optional(Schema.Boolean),
|
|
21
|
+
acme_dns_configured: Schema.optional(Schema.Boolean),
|
|
22
|
+
acme_http_configured: Schema.optional(Schema.Boolean),
|
|
23
|
+
acme_requested: Schema.optional(Schema.Boolean),
|
|
24
|
+
configured: Schema.optional(Schema.Boolean),
|
|
25
|
+
created_at: Schema.optional(Schema.String),
|
|
26
|
+
dns_provider: Schema.optional(Schema.String),
|
|
27
|
+
has_custom_certificate: Schema.optional(Schema.Boolean),
|
|
28
|
+
has_fly_certificate: Schema.optional(Schema.Boolean),
|
|
29
|
+
hostname: Schema.optional(Schema.String),
|
|
30
|
+
ownership_txt_configured: Schema.optional(Schema.Boolean),
|
|
31
|
+
status: Schema.optional(Schema.String),
|
|
32
|
+
updated_at: Schema.optional(Schema.String),
|
|
33
|
+
}),
|
|
34
|
+
),
|
|
35
|
+
),
|
|
36
|
+
next_cursor: Schema.optional(Schema.String),
|
|
37
|
+
total_count: Schema.optional(Schema.Number),
|
|
38
|
+
});
|
|
39
|
+
export type App_CertificatesListOutput = typeof App_CertificatesListOutput.Type;
|
|
40
|
+
|
|
41
|
+
// The operation
|
|
42
|
+
/**
|
|
43
|
+
* List certificates for app
|
|
44
|
+
*
|
|
45
|
+
* @param filter - Hostname filter (substring match)
|
|
46
|
+
* @param cursor - Pagination cursor from previous response
|
|
47
|
+
* @param limit - Number of results per page (default 25, max 500)
|
|
48
|
+
*/
|
|
49
|
+
export const App_CertificatesList = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
50
|
+
() => ({
|
|
51
|
+
inputSchema: App_CertificatesListInput,
|
|
52
|
+
outputSchema: App_CertificatesListOutput,
|
|
53
|
+
}),
|
|
54
|
+
);
|
|
@@ -0,0 +1,97 @@
|
|
|
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 App_CertificatesShowInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
8
|
+
T.Http({ method: "GET", path: "/apps/{app_name}/certificates/{hostname}" }),
|
|
9
|
+
);
|
|
10
|
+
export type App_CertificatesShowInput = typeof App_CertificatesShowInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const App_CertificatesShowOutput =
|
|
14
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
|
+
acme_requested: Schema.optional(Schema.Boolean),
|
|
16
|
+
certificates: Schema.optional(
|
|
17
|
+
Schema.Array(
|
|
18
|
+
Schema.Struct({
|
|
19
|
+
created_at: Schema.optional(Schema.String),
|
|
20
|
+
expires_at: Schema.optional(Schema.String),
|
|
21
|
+
issued: Schema.optional(
|
|
22
|
+
Schema.Array(
|
|
23
|
+
Schema.Struct({
|
|
24
|
+
certificate_authority: Schema.optional(Schema.String),
|
|
25
|
+
expires_at: Schema.optional(Schema.String),
|
|
26
|
+
type: Schema.optional(Schema.Literals(["rsa", "ecdsa"])),
|
|
27
|
+
}),
|
|
28
|
+
),
|
|
29
|
+
),
|
|
30
|
+
issuer: Schema.optional(Schema.String),
|
|
31
|
+
source: Schema.optional(Schema.Literals(["custom", "fly"])),
|
|
32
|
+
status: Schema.optional(
|
|
33
|
+
Schema.Literals([
|
|
34
|
+
"active",
|
|
35
|
+
"pending_ownership",
|
|
36
|
+
"pending_validation",
|
|
37
|
+
]),
|
|
38
|
+
),
|
|
39
|
+
}),
|
|
40
|
+
),
|
|
41
|
+
),
|
|
42
|
+
configured: Schema.optional(Schema.Boolean),
|
|
43
|
+
dns_provider: Schema.optional(Schema.String),
|
|
44
|
+
dns_requirements: Schema.optional(
|
|
45
|
+
Schema.Struct({
|
|
46
|
+
a: Schema.optional(Schema.Array(Schema.String)),
|
|
47
|
+
aaaa: Schema.optional(Schema.Array(Schema.String)),
|
|
48
|
+
acme_challenge: Schema.optional(
|
|
49
|
+
Schema.Struct({
|
|
50
|
+
name: Schema.optional(Schema.String),
|
|
51
|
+
target: Schema.optional(Schema.String),
|
|
52
|
+
}),
|
|
53
|
+
),
|
|
54
|
+
cname: Schema.optional(Schema.String),
|
|
55
|
+
ownership: Schema.optional(
|
|
56
|
+
Schema.Struct({
|
|
57
|
+
app_value: Schema.optional(Schema.String),
|
|
58
|
+
name: Schema.optional(Schema.String),
|
|
59
|
+
org_value: Schema.optional(Schema.String),
|
|
60
|
+
}),
|
|
61
|
+
),
|
|
62
|
+
}),
|
|
63
|
+
),
|
|
64
|
+
hostname: Schema.optional(Schema.String),
|
|
65
|
+
rate_limited_until: Schema.optional(Schema.String),
|
|
66
|
+
status: Schema.optional(Schema.String),
|
|
67
|
+
validation: Schema.optional(
|
|
68
|
+
Schema.Struct({
|
|
69
|
+
alpn_configured: Schema.optional(Schema.Boolean),
|
|
70
|
+
dns_configured: Schema.optional(Schema.Boolean),
|
|
71
|
+
http_configured: Schema.optional(Schema.Boolean),
|
|
72
|
+
ownership_txt_configured: Schema.optional(Schema.Boolean),
|
|
73
|
+
}),
|
|
74
|
+
),
|
|
75
|
+
validation_errors: Schema.optional(
|
|
76
|
+
Schema.Array(
|
|
77
|
+
Schema.Struct({
|
|
78
|
+
code: Schema.optional(Schema.String),
|
|
79
|
+
message: Schema.optional(Schema.String),
|
|
80
|
+
remediation: Schema.optional(Schema.String),
|
|
81
|
+
timestamp: Schema.optional(Schema.String),
|
|
82
|
+
}),
|
|
83
|
+
),
|
|
84
|
+
),
|
|
85
|
+
});
|
|
86
|
+
export type App_CertificatesShowOutput = typeof App_CertificatesShowOutput.Type;
|
|
87
|
+
|
|
88
|
+
// The operation
|
|
89
|
+
/**
|
|
90
|
+
* Get certificate details
|
|
91
|
+
*/
|
|
92
|
+
export const App_CertificatesShow = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
93
|
+
() => ({
|
|
94
|
+
inputSchema: App_CertificatesShowInput,
|
|
95
|
+
outputSchema: App_CertificatesShowOutput,
|
|
96
|
+
}),
|
|
97
|
+
);
|
|
@@ -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 App_IPAssignmentsCreateInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
network: Schema.optional(Schema.String),
|
|
9
|
+
org_slug: Schema.optional(Schema.String),
|
|
10
|
+
region: Schema.optional(Schema.String),
|
|
11
|
+
service_name: Schema.optional(Schema.String),
|
|
12
|
+
type: Schema.optional(Schema.String),
|
|
13
|
+
}).pipe(T.Http({ method: "POST", path: "/apps/{app_name}/ip_assignments" }));
|
|
14
|
+
export type App_IPAssignmentsCreateInput =
|
|
15
|
+
typeof App_IPAssignmentsCreateInput.Type;
|
|
16
|
+
|
|
17
|
+
// Output Schema
|
|
18
|
+
export const App_IPAssignmentsCreateOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
20
|
+
created_at: Schema.optional(Schema.String),
|
|
21
|
+
ip: Schema.optional(Schema.String),
|
|
22
|
+
region: Schema.optional(Schema.String),
|
|
23
|
+
service_name: Schema.optional(Schema.String),
|
|
24
|
+
shared: Schema.optional(Schema.Boolean),
|
|
25
|
+
});
|
|
26
|
+
export type App_IPAssignmentsCreateOutput =
|
|
27
|
+
typeof App_IPAssignmentsCreateOutput.Type;
|
|
28
|
+
|
|
29
|
+
// The operation
|
|
30
|
+
/**
|
|
31
|
+
* Assign new IP address to app
|
|
32
|
+
*/
|
|
33
|
+
export const App_IPAssignmentsCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
34
|
+
() => ({
|
|
35
|
+
inputSchema: App_IPAssignmentsCreateInput,
|
|
36
|
+
outputSchema: App_IPAssignmentsCreateOutput,
|
|
37
|
+
}),
|
|
38
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
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 App_IPAssignmentsDeleteInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
8
|
+
T.Http({ method: "DELETE", path: "/apps/{app_name}/ip_assignments/{ip}" }),
|
|
9
|
+
);
|
|
10
|
+
export type App_IPAssignmentsDeleteInput =
|
|
11
|
+
typeof App_IPAssignmentsDeleteInput.Type;
|
|
12
|
+
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const App_IPAssignmentsDeleteOutput =
|
|
15
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
16
|
+
export type App_IPAssignmentsDeleteOutput =
|
|
17
|
+
typeof App_IPAssignmentsDeleteOutput.Type;
|
|
18
|
+
|
|
19
|
+
// The operation
|
|
20
|
+
/**
|
|
21
|
+
* Remove IP assignment from app
|
|
22
|
+
*/
|
|
23
|
+
export const App_IPAssignmentsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
24
|
+
() => ({
|
|
25
|
+
inputSchema: App_IPAssignmentsDeleteInput,
|
|
26
|
+
outputSchema: App_IPAssignmentsDeleteOutput,
|
|
27
|
+
}),
|
|
28
|
+
);
|
|
@@ -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 App_IPAssignmentsListInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
8
|
+
T.Http({ method: "GET", path: "/apps/{app_name}/ip_assignments" }),
|
|
9
|
+
);
|
|
10
|
+
export type App_IPAssignmentsListInput = typeof App_IPAssignmentsListInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const App_IPAssignmentsListOutput =
|
|
14
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
|
+
ips: Schema.optional(
|
|
16
|
+
Schema.Array(
|
|
17
|
+
Schema.Struct({
|
|
18
|
+
created_at: Schema.optional(Schema.String),
|
|
19
|
+
ip: Schema.optional(Schema.String),
|
|
20
|
+
region: Schema.optional(Schema.String),
|
|
21
|
+
service_name: Schema.optional(Schema.String),
|
|
22
|
+
shared: Schema.optional(Schema.Boolean),
|
|
23
|
+
}),
|
|
24
|
+
),
|
|
25
|
+
),
|
|
26
|
+
});
|
|
27
|
+
export type App_IPAssignmentsListOutput =
|
|
28
|
+
typeof App_IPAssignmentsListOutput.Type;
|
|
29
|
+
|
|
30
|
+
// The operation
|
|
31
|
+
/**
|
|
32
|
+
* List IP assignments for app
|
|
33
|
+
*/
|
|
34
|
+
export const App_IPAssignmentsList = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
35
|
+
() => ({
|
|
36
|
+
inputSchema: App_IPAssignmentsListInput,
|
|
37
|
+
outputSchema: App_IPAssignmentsListOutput,
|
|
38
|
+
}),
|
|
39
|
+
);
|
|
@@ -0,0 +1,27 @@
|
|
|
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 AppsCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
enable_subdomains: Schema.optional(Schema.Boolean),
|
|
8
|
+
name: Schema.optional(Schema.String),
|
|
9
|
+
network: Schema.optional(Schema.String),
|
|
10
|
+
org_slug: Schema.optional(Schema.String),
|
|
11
|
+
}).pipe(T.Http({ method: "POST", path: "/apps" }));
|
|
12
|
+
export type AppsCreateInput = typeof AppsCreateInput.Type;
|
|
13
|
+
|
|
14
|
+
// Output Schema
|
|
15
|
+
export const AppsCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
16
|
+
export type AppsCreateOutput = typeof AppsCreateOutput.Type;
|
|
17
|
+
|
|
18
|
+
// The operation
|
|
19
|
+
/**
|
|
20
|
+
* Create App
|
|
21
|
+
*
|
|
22
|
+
* Create an app with the specified details in the request body.
|
|
23
|
+
*/
|
|
24
|
+
export const AppsCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
25
|
+
inputSchema: AppsCreateInput,
|
|
26
|
+
outputSchema: AppsCreateOutput,
|
|
27
|
+
}));
|
|
@@ -0,0 +1,26 @@
|
|
|
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 AppsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
}).pipe(T.Http({ method: "DELETE", path: "/apps/{app_name}" }));
|
|
9
|
+
export type AppsDeleteInput = typeof AppsDeleteInput.Type;
|
|
10
|
+
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const AppsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
13
|
+
export type AppsDeleteOutput = typeof AppsDeleteOutput.Type;
|
|
14
|
+
|
|
15
|
+
// The operation
|
|
16
|
+
/**
|
|
17
|
+
* Destroy App
|
|
18
|
+
*
|
|
19
|
+
* Delete an app by its name.
|
|
20
|
+
*
|
|
21
|
+
* @param app_name - Fly App Name
|
|
22
|
+
*/
|
|
23
|
+
export const AppsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
24
|
+
inputSchema: AppsDeleteInput,
|
|
25
|
+
outputSchema: AppsDeleteOutput,
|
|
26
|
+
}));
|
|
@@ -0,0 +1,50 @@
|
|
|
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 AppsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
org_slug: Schema.String,
|
|
8
|
+
app_role: Schema.optional(Schema.String),
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/apps" }));
|
|
10
|
+
export type AppsListInput = typeof AppsListInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const AppsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
apps: Schema.optional(
|
|
15
|
+
Schema.Array(
|
|
16
|
+
Schema.Struct({
|
|
17
|
+
id: Schema.optional(Schema.String),
|
|
18
|
+
internal_numeric_id: Schema.optional(Schema.Number),
|
|
19
|
+
machine_count: Schema.optional(Schema.Number),
|
|
20
|
+
name: Schema.optional(Schema.String),
|
|
21
|
+
network: Schema.optional(Schema.String),
|
|
22
|
+
organization: Schema.optional(
|
|
23
|
+
Schema.Struct({
|
|
24
|
+
internal_numeric_id: Schema.optional(Schema.Number),
|
|
25
|
+
name: Schema.optional(Schema.String),
|
|
26
|
+
slug: Schema.optional(Schema.String),
|
|
27
|
+
}),
|
|
28
|
+
),
|
|
29
|
+
status: Schema.optional(Schema.String),
|
|
30
|
+
volume_count: Schema.optional(Schema.Number),
|
|
31
|
+
}),
|
|
32
|
+
),
|
|
33
|
+
),
|
|
34
|
+
total_apps: Schema.optional(Schema.Number),
|
|
35
|
+
});
|
|
36
|
+
export type AppsListOutput = typeof AppsListOutput.Type;
|
|
37
|
+
|
|
38
|
+
// The operation
|
|
39
|
+
/**
|
|
40
|
+
* List Apps
|
|
41
|
+
*
|
|
42
|
+
* List all apps with the ability to filter by organization slug.
|
|
43
|
+
*
|
|
44
|
+
* @param org_slug - The org slug, or 'personal', to filter apps
|
|
45
|
+
* @param app_role - Filter apps by role
|
|
46
|
+
*/
|
|
47
|
+
export const AppsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
48
|
+
inputSchema: AppsListInput,
|
|
49
|
+
outputSchema: AppsListOutput,
|
|
50
|
+
}));
|
|
@@ -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 AppsShowInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
}).pipe(T.Http({ method: "GET", path: "/apps/{app_name}" }));
|
|
9
|
+
export type AppsShowInput = typeof AppsShowInput.Type;
|
|
10
|
+
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const AppsShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13
|
+
id: Schema.optional(Schema.String),
|
|
14
|
+
internal_numeric_id: Schema.optional(Schema.Number),
|
|
15
|
+
machine_count: Schema.optional(Schema.Number),
|
|
16
|
+
name: Schema.optional(Schema.String),
|
|
17
|
+
network: Schema.optional(Schema.String),
|
|
18
|
+
organization: Schema.optional(
|
|
19
|
+
Schema.Struct({
|
|
20
|
+
internal_numeric_id: Schema.optional(Schema.Number),
|
|
21
|
+
name: Schema.optional(Schema.String),
|
|
22
|
+
slug: Schema.optional(Schema.String),
|
|
23
|
+
}),
|
|
24
|
+
),
|
|
25
|
+
status: Schema.optional(Schema.String),
|
|
26
|
+
volume_count: Schema.optional(Schema.Number),
|
|
27
|
+
});
|
|
28
|
+
export type AppsShowOutput = typeof AppsShowOutput.Type;
|
|
29
|
+
|
|
30
|
+
// The operation
|
|
31
|
+
/**
|
|
32
|
+
* Get App
|
|
33
|
+
*
|
|
34
|
+
* Retrieve details about a specific app by its name.
|
|
35
|
+
*
|
|
36
|
+
* @param app_name - Fly App Name
|
|
37
|
+
*/
|
|
38
|
+
export const AppsShow = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
39
|
+
inputSchema: AppsShowInput,
|
|
40
|
+
outputSchema: AppsShowOutput,
|
|
41
|
+
}));
|
|
@@ -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 CurrentTokenShowInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
|
+
{},
|
|
8
|
+
).pipe(T.Http({ method: "GET", path: "/v1/tokens/current" }));
|
|
9
|
+
export type CurrentTokenShowInput = typeof CurrentTokenShowInput.Type;
|
|
10
|
+
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const CurrentTokenShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
13
|
+
{
|
|
14
|
+
tokens: Schema.optional(
|
|
15
|
+
Schema.Array(
|
|
16
|
+
Schema.Struct({
|
|
17
|
+
apps: Schema.optional(Schema.Array(Schema.String)),
|
|
18
|
+
org_slug: Schema.optional(Schema.String),
|
|
19
|
+
organization: Schema.optional(Schema.String),
|
|
20
|
+
restricted_to_machine: Schema.optional(Schema.String),
|
|
21
|
+
source_machine_id: Schema.optional(Schema.String),
|
|
22
|
+
token_id: Schema.optional(Schema.String),
|
|
23
|
+
user: Schema.optional(Schema.String),
|
|
24
|
+
}),
|
|
25
|
+
),
|
|
26
|
+
),
|
|
27
|
+
},
|
|
28
|
+
);
|
|
29
|
+
export type CurrentTokenShowOutput = typeof CurrentTokenShowOutput.Type;
|
|
30
|
+
|
|
31
|
+
// The operation
|
|
32
|
+
/**
|
|
33
|
+
* Get Current Token Information
|
|
34
|
+
*
|
|
35
|
+
* Get information about the current macaroon token(s), including organizations, apps, and whether each token is from a user or machine
|
|
36
|
+
*/
|
|
37
|
+
export const CurrentTokenShow = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
38
|
+
inputSchema: CurrentTokenShowInput,
|
|
39
|
+
outputSchema: CurrentTokenShowOutput,
|
|
40
|
+
}));
|