@distilled.cloud/fly-io 0.10.2 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +2 -2
- package/lib/client.d.ts.map +1 -1
- package/lib/client.js +4 -6
- package/lib/client.js.map +1 -1
- package/lib/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -1
- package/lib/credentials.js.map +1 -1
- package/lib/operations/AppCertificatesAcmeCreate.d.ts +50 -1
- package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeCreate.js +2 -0
- package/lib/operations/AppCertificatesAcmeCreate.js.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts +50 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.js +2 -0
- package/lib/operations/AppCertificatesAcmeDelete.js.map +1 -1
- package/lib/operations/AppCertificatesCheck.d.ts +59 -1
- package/lib/operations/AppCertificatesCheck.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCheck.js +2 -0
- package/lib/operations/AppCertificatesCheck.js.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.d.ts +52 -1
- package/lib/operations/AppCertificatesCustomCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.js +2 -0
- package/lib/operations/AppCertificatesCustomCreate.js.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts +51 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.js +2 -0
- package/lib/operations/AppCertificatesCustomDelete.js.map +1 -1
- package/lib/operations/AppCertificatesDelete.d.ts +5 -1
- package/lib/operations/AppCertificatesDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesDelete.js +2 -0
- package/lib/operations/AppCertificatesDelete.js.map +1 -1
- package/lib/operations/AppCertificatesList.d.ts +25 -1
- package/lib/operations/AppCertificatesList.d.ts.map +1 -1
- package/lib/operations/AppCertificatesList.js +2 -0
- package/lib/operations/AppCertificatesList.js.map +1 -1
- package/lib/operations/AppCertificatesShow.d.ts +50 -1
- package/lib/operations/AppCertificatesShow.d.ts.map +1 -1
- package/lib/operations/AppCertificatesShow.js +2 -0
- package/lib/operations/AppCertificatesShow.js.map +1 -1
- package/lib/operations/AppCreateDeployToken.d.ts +7 -1
- package/lib/operations/AppCreateDeployToken.d.ts.map +1 -1
- package/lib/operations/AppCreateDeployToken.js +2 -0
- package/lib/operations/AppCreateDeployToken.js.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.d.ts +15 -1
- package/lib/operations/AppIPAssignmentsCreate.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.js +2 -0
- package/lib/operations/AppIPAssignmentsCreate.js.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts +5 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.js +2 -0
- package/lib/operations/AppIPAssignmentsDelete.js.map +1 -1
- package/lib/operations/AppIPAssignmentsList.d.ts +12 -1
- package/lib/operations/AppIPAssignmentsList.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsList.js +2 -0
- package/lib/operations/AppIPAssignmentsList.js.map +1 -1
- package/lib/operations/App_CertificatesAcmeCreate.d.ts +48 -1
- package/lib/operations/App_CertificatesAcmeCreate.d.ts.map +1 -1
- package/lib/operations/App_CertificatesAcmeDelete.d.ts +46 -1
- package/lib/operations/App_CertificatesAcmeDelete.d.ts.map +1 -1
- package/lib/operations/App_CertificatesCheck.d.ts +55 -1
- package/lib/operations/App_CertificatesCheck.d.ts.map +1 -1
- package/lib/operations/App_CertificatesCustomCreate.d.ts +50 -1
- package/lib/operations/App_CertificatesCustomCreate.d.ts.map +1 -1
- package/lib/operations/App_CertificatesCustomDelete.d.ts +47 -1
- package/lib/operations/App_CertificatesCustomDelete.d.ts.map +1 -1
- package/lib/operations/App_CertificatesDelete.d.ts +1 -1
- package/lib/operations/App_CertificatesDelete.d.ts.map +1 -1
- package/lib/operations/App_CertificatesList.d.ts +23 -1
- package/lib/operations/App_CertificatesList.d.ts.map +1 -1
- package/lib/operations/App_CertificatesShow.d.ts +46 -1
- package/lib/operations/App_CertificatesShow.d.ts.map +1 -1
- package/lib/operations/App_IPAssignmentsCreate.d.ts +13 -1
- package/lib/operations/App_IPAssignmentsCreate.d.ts.map +1 -1
- package/lib/operations/App_IPAssignmentsDelete.d.ts +1 -1
- package/lib/operations/App_IPAssignmentsDelete.d.ts.map +1 -1
- package/lib/operations/App_IPAssignmentsList.d.ts +9 -1
- package/lib/operations/App_IPAssignmentsList.d.ts.map +1 -1
- package/lib/operations/AppsCreate.d.ts +7 -1
- package/lib/operations/AppsCreate.d.ts.map +1 -1
- package/lib/operations/AppsCreate.js +2 -0
- package/lib/operations/AppsCreate.js.map +1 -1
- package/lib/operations/AppsDelete.d.ts +4 -1
- package/lib/operations/AppsDelete.d.ts.map +1 -1
- package/lib/operations/AppsDelete.js +2 -0
- package/lib/operations/AppsDelete.js.map +1 -1
- package/lib/operations/AppsList.d.ts +21 -1
- package/lib/operations/AppsList.d.ts.map +1 -1
- package/lib/operations/AppsList.js +2 -0
- package/lib/operations/AppsList.js.map +1 -1
- package/lib/operations/AppsShow.d.ts +17 -1
- package/lib/operations/AppsShow.d.ts.map +1 -1
- package/lib/operations/AppsShow.js +2 -0
- package/lib/operations/AppsShow.js.map +1 -1
- package/lib/operations/CurrentTokenShow.d.ts +12 -1
- package/lib/operations/CurrentTokenShow.d.ts.map +1 -1
- package/lib/operations/CurrentTokenShow.js +2 -0
- package/lib/operations/CurrentTokenShow.js.map +1 -1
- package/lib/operations/MachinesCordon.d.ts +5 -1
- package/lib/operations/MachinesCordon.d.ts.map +1 -1
- package/lib/operations/MachinesCordon.js +2 -0
- package/lib/operations/MachinesCordon.js.map +1 -1
- package/lib/operations/MachinesCreate.d.ts +826 -1
- package/lib/operations/MachinesCreate.d.ts.map +1 -1
- package/lib/operations/MachinesCreate.js +2 -0
- package/lib/operations/MachinesCreate.js.map +1 -1
- package/lib/operations/MachinesCreateLease.d.ts +13 -1
- package/lib/operations/MachinesCreateLease.d.ts.map +1 -1
- package/lib/operations/MachinesCreateLease.js +2 -0
- package/lib/operations/MachinesCreateLease.js.map +1 -1
- package/lib/operations/MachinesDelete.d.ts +6 -1
- package/lib/operations/MachinesDelete.d.ts.map +1 -1
- package/lib/operations/MachinesDelete.js +2 -0
- package/lib/operations/MachinesDelete.js.map +1 -1
- package/lib/operations/MachinesDeleteMetadata.d.ts +6 -1
- package/lib/operations/MachinesDeleteMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesDeleteMetadata.js +2 -0
- package/lib/operations/MachinesDeleteMetadata.js.map +1 -1
- package/lib/operations/MachinesExec.d.ts +15 -1
- package/lib/operations/MachinesExec.d.ts.map +1 -1
- package/lib/operations/MachinesExec.js +2 -0
- package/lib/operations/MachinesExec.js.map +1 -1
- package/lib/operations/MachinesGetMemory.d.ts +8 -1
- package/lib/operations/MachinesGetMemory.d.ts.map +1 -1
- package/lib/operations/MachinesGetMemory.js +2 -0
- package/lib/operations/MachinesGetMemory.js.map +1 -1
- package/lib/operations/MachinesGetMetadataKey.d.ts +7 -1
- package/lib/operations/MachinesGetMetadataKey.d.ts.map +1 -1
- package/lib/operations/MachinesList.d.ts +562 -1
- package/lib/operations/MachinesList.d.ts.map +1 -1
- package/lib/operations/MachinesList.js +2 -0
- package/lib/operations/MachinesList.js.map +1 -1
- package/lib/operations/MachinesListEvents.d.ts +13 -1
- package/lib/operations/MachinesListEvents.d.ts.map +1 -1
- package/lib/operations/MachinesListEvents.js +2 -0
- package/lib/operations/MachinesListEvents.js.map +1 -1
- package/lib/operations/MachinesListProcesses.d.ts +19 -1
- package/lib/operations/MachinesListProcesses.d.ts.map +1 -1
- package/lib/operations/MachinesListProcesses.js +2 -0
- package/lib/operations/MachinesListProcesses.js.map +1 -1
- package/lib/operations/MachinesListVersions.d.ts +267 -1
- package/lib/operations/MachinesListVersions.d.ts.map +1 -1
- package/lib/operations/MachinesListVersions.js +2 -0
- package/lib/operations/MachinesListVersions.js.map +1 -1
- package/lib/operations/MachinesOrgList.d.ts +44 -1
- package/lib/operations/MachinesOrgList.d.ts.map +1 -1
- package/lib/operations/MachinesOrgList.js +2 -0
- package/lib/operations/MachinesOrgList.js.map +1 -1
- package/lib/operations/MachinesPatchMetadata.d.ts +5 -1
- package/lib/operations/MachinesPatchMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesPatchMetadata.js +2 -0
- package/lib/operations/MachinesPatchMetadata.js.map +1 -1
- package/lib/operations/MachinesReclaimMemory.d.ts +8 -1
- package/lib/operations/MachinesReclaimMemory.d.ts.map +1 -1
- package/lib/operations/MachinesReclaimMemory.js +2 -0
- package/lib/operations/MachinesReclaimMemory.js.map +1 -1
- package/lib/operations/MachinesReleaseLease.d.ts +5 -1
- package/lib/operations/MachinesReleaseLease.d.ts.map +1 -1
- package/lib/operations/MachinesReleaseLease.js +2 -0
- package/lib/operations/MachinesReleaseLease.js.map +1 -1
- package/lib/operations/MachinesRestart.d.ts +7 -1
- package/lib/operations/MachinesRestart.d.ts.map +1 -1
- package/lib/operations/MachinesRestart.js +2 -0
- package/lib/operations/MachinesRestart.js.map +1 -1
- package/lib/operations/MachinesSetMemoryLimit.d.ts +9 -1
- package/lib/operations/MachinesSetMemoryLimit.d.ts.map +1 -1
- package/lib/operations/MachinesSetMemoryLimit.js +2 -0
- package/lib/operations/MachinesSetMemoryLimit.js.map +1 -1
- package/lib/operations/MachinesShow.d.ts +559 -1
- package/lib/operations/MachinesShow.d.ts.map +1 -1
- package/lib/operations/MachinesShow.js +2 -0
- package/lib/operations/MachinesShow.js.map +1 -1
- package/lib/operations/MachinesShowLease.d.ts +11 -1
- package/lib/operations/MachinesShowLease.d.ts.map +1 -1
- package/lib/operations/MachinesShowLease.js +2 -0
- package/lib/operations/MachinesShowLease.js.map +1 -1
- package/lib/operations/MachinesShowMetadata.d.ts +7 -1
- package/lib/operations/MachinesShowMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesShowMetadata.js +2 -0
- package/lib/operations/MachinesShowMetadata.js.map +1 -1
- package/lib/operations/MachinesSignal.d.ts +6 -1
- package/lib/operations/MachinesSignal.d.ts.map +1 -1
- package/lib/operations/MachinesSignal.js +2 -0
- package/lib/operations/MachinesSignal.js.map +1 -1
- package/lib/operations/MachinesStart.d.ts +5 -1
- package/lib/operations/MachinesStart.d.ts.map +1 -1
- package/lib/operations/MachinesStart.js +2 -0
- package/lib/operations/MachinesStart.js.map +1 -1
- package/lib/operations/MachinesStop.d.ts +7 -1
- package/lib/operations/MachinesStop.d.ts.map +1 -1
- package/lib/operations/MachinesStop.js +2 -0
- package/lib/operations/MachinesStop.js.map +1 -1
- package/lib/operations/MachinesSuspend.d.ts +5 -1
- package/lib/operations/MachinesSuspend.d.ts.map +1 -1
- package/lib/operations/MachinesSuspend.js +2 -0
- package/lib/operations/MachinesSuspend.js.map +1 -1
- package/lib/operations/MachinesUncordon.d.ts +5 -1
- package/lib/operations/MachinesUncordon.d.ts.map +1 -1
- package/lib/operations/MachinesUncordon.js +2 -0
- package/lib/operations/MachinesUncordon.js.map +1 -1
- package/lib/operations/MachinesUpdate.d.ts +828 -1
- package/lib/operations/MachinesUpdate.d.ts.map +1 -1
- package/lib/operations/MachinesUpdate.js +2 -0
- package/lib/operations/MachinesUpdate.js.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.d.ts +10 -1
- package/lib/operations/MachinesUpdateMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.js +2 -0
- package/lib/operations/MachinesUpdateMetadata.js.map +1 -1
- package/lib/operations/MachinesUpsertMetadata.d.ts +7 -1
- package/lib/operations/MachinesUpsertMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesWait.d.ts +15 -1
- package/lib/operations/MachinesWait.d.ts.map +1 -1
- package/lib/operations/MachinesWait.js +2 -0
- package/lib/operations/MachinesWait.js.map +1 -1
- package/lib/operations/PlatformPlacementsPost.d.ts +26 -1
- package/lib/operations/PlatformPlacementsPost.d.ts.map +1 -1
- package/lib/operations/PlatformPlacementsPost.js +2 -0
- package/lib/operations/PlatformPlacementsPost.js.map +1 -1
- package/lib/operations/PlatformRegionsGet.d.ts +14 -1
- package/lib/operations/PlatformRegionsGet.d.ts.map +1 -1
- package/lib/operations/PlatformRegionsGet.js +2 -0
- package/lib/operations/PlatformRegionsGet.js.map +1 -1
- package/lib/operations/SecretCreate.d.ts +14 -1
- package/lib/operations/SecretCreate.d.ts.map +1 -1
- package/lib/operations/SecretCreate.js +2 -0
- package/lib/operations/SecretCreate.js.map +1 -1
- package/lib/operations/SecretDelete.d.ts +8 -1
- package/lib/operations/SecretDelete.d.ts.map +1 -1
- package/lib/operations/SecretDelete.js +2 -0
- package/lib/operations/SecretDelete.js.map +1 -1
- package/lib/operations/SecretGet.d.ts +13 -1
- package/lib/operations/SecretGet.d.ts.map +1 -1
- package/lib/operations/SecretGet.js +2 -0
- package/lib/operations/SecretGet.js.map +1 -1
- package/lib/operations/SecretkeyDecrypt.d.ts +10 -1
- package/lib/operations/SecretkeyDecrypt.d.ts.map +1 -1
- package/lib/operations/SecretkeyDecrypt.js +2 -0
- package/lib/operations/SecretkeyDecrypt.js.map +1 -1
- package/lib/operations/SecretkeyDelete.d.ts +8 -1
- package/lib/operations/SecretkeyDelete.d.ts.map +1 -1
- package/lib/operations/SecretkeyDelete.js +2 -0
- package/lib/operations/SecretkeyDelete.js.map +1 -1
- package/lib/operations/SecretkeyEncrypt.d.ts +10 -1
- package/lib/operations/SecretkeyEncrypt.d.ts.map +1 -1
- package/lib/operations/SecretkeyEncrypt.js +2 -0
- package/lib/operations/SecretkeyEncrypt.js.map +1 -1
- package/lib/operations/SecretkeyGenerate.d.ts +15 -1
- package/lib/operations/SecretkeyGenerate.d.ts.map +1 -1
- package/lib/operations/SecretkeyGenerate.js +2 -0
- package/lib/operations/SecretkeyGenerate.js.map +1 -1
- package/lib/operations/SecretkeyGet.d.ts +12 -1
- package/lib/operations/SecretkeyGet.d.ts.map +1 -1
- package/lib/operations/SecretkeyGet.js +2 -0
- package/lib/operations/SecretkeyGet.js.map +1 -1
- package/lib/operations/SecretkeySet.d.ts +15 -1
- package/lib/operations/SecretkeySet.d.ts.map +1 -1
- package/lib/operations/SecretkeySet.js +2 -0
- package/lib/operations/SecretkeySet.js.map +1 -1
- package/lib/operations/SecretkeySign.d.ts +9 -1
- package/lib/operations/SecretkeySign.d.ts.map +1 -1
- package/lib/operations/SecretkeySign.js +2 -0
- package/lib/operations/SecretkeySign.js.map +1 -1
- package/lib/operations/SecretkeyVerify.d.ts +8 -1
- package/lib/operations/SecretkeyVerify.d.ts.map +1 -1
- package/lib/operations/SecretkeyVerify.js +2 -0
- package/lib/operations/SecretkeyVerify.js.map +1 -1
- package/lib/operations/SecretkeysList.d.ts +14 -1
- package/lib/operations/SecretkeysList.d.ts.map +1 -1
- package/lib/operations/SecretkeysList.js +2 -0
- package/lib/operations/SecretkeysList.js.map +1 -1
- package/lib/operations/SecretsList.d.ts +14 -1
- package/lib/operations/SecretsList.d.ts.map +1 -1
- package/lib/operations/SecretsList.js +2 -0
- package/lib/operations/SecretsList.js.map +1 -1
- package/lib/operations/SecretsUpdate.d.ts +17 -1
- package/lib/operations/SecretsUpdate.d.ts.map +1 -1
- package/lib/operations/SecretsUpdate.js +2 -0
- package/lib/operations/SecretsUpdate.js.map +1 -1
- package/lib/operations/TokensRequestKms.d.ts +2 -1
- package/lib/operations/TokensRequestKms.d.ts.map +1 -1
- package/lib/operations/TokensRequestKms.js +2 -0
- package/lib/operations/TokensRequestKms.js.map +1 -1
- package/lib/operations/TokensRequestOIDC.d.ts +5 -1
- package/lib/operations/TokensRequestOIDC.d.ts.map +1 -1
- package/lib/operations/TokensRequestOIDC.js +2 -0
- package/lib/operations/TokensRequestOIDC.js.map +1 -1
- package/lib/operations/TokensRequest_Kms.d.ts +1 -1
- package/lib/operations/TokensRequest_Kms.d.ts.map +1 -1
- package/lib/operations/TokensRequest_OIDC.d.ts +4 -1
- package/lib/operations/TokensRequest_OIDC.d.ts.map +1 -1
- package/lib/operations/VolumeDelete.d.ts +27 -1
- package/lib/operations/VolumeDelete.d.ts.map +1 -1
- package/lib/operations/VolumeDelete.js +2 -0
- package/lib/operations/VolumeDelete.js.map +1 -1
- package/lib/operations/VolumesCreate.d.ts +49 -1
- package/lib/operations/VolumesCreate.d.ts.map +1 -1
- package/lib/operations/VolumesCreate.js +2 -0
- package/lib/operations/VolumesCreate.js.map +1 -1
- package/lib/operations/VolumesExtend.d.ts +31 -1
- package/lib/operations/VolumesExtend.d.ts.map +1 -1
- package/lib/operations/VolumesExtend.js +2 -0
- package/lib/operations/VolumesExtend.js.map +1 -1
- package/lib/operations/VolumesGetById.d.ts +27 -1
- package/lib/operations/VolumesGetById.d.ts.map +1 -1
- package/lib/operations/VolumesGetById.js +2 -0
- package/lib/operations/VolumesGetById.js.map +1 -1
- package/lib/operations/VolumesList.d.ts +27 -1
- package/lib/operations/VolumesList.d.ts.map +1 -1
- package/lib/operations/VolumesList.js +2 -0
- package/lib/operations/VolumesList.js.map +1 -1
- package/lib/operations/VolumesListSnapshots.d.ts +13 -1
- package/lib/operations/VolumesListSnapshots.d.ts.map +1 -1
- package/lib/operations/VolumesListSnapshots.js +2 -0
- package/lib/operations/VolumesListSnapshots.js.map +1 -1
- package/lib/operations/VolumesOrgList.d.ts +39 -1
- package/lib/operations/VolumesOrgList.d.ts.map +1 -1
- package/lib/operations/VolumesUpdate.d.ts +29 -1
- package/lib/operations/VolumesUpdate.d.ts.map +1 -1
- package/lib/operations/VolumesUpdate.js +2 -0
- package/lib/operations/VolumesUpdate.js.map +1 -1
- package/lib/operations/createVolumeSnapshot.d.ts +5 -1
- package/lib/operations/createVolumeSnapshot.d.ts.map +1 -1
- package/lib/operations/createVolumeSnapshot.js +2 -0
- package/lib/operations/createVolumeSnapshot.js.map +1 -1
- package/package.json +3 -2
- package/src/client.ts +4 -6
- package/src/credentials.ts +1 -1
- package/src/operations/AppCertificatesAcmeCreate.ts +7 -0
- package/src/operations/AppCertificatesAcmeDelete.ts +2 -0
- package/src/operations/AppCertificatesCheck.ts +2 -0
- package/src/operations/AppCertificatesCustomCreate.ts +7 -0
- package/src/operations/AppCertificatesCustomDelete.ts +2 -0
- package/src/operations/AppCertificatesDelete.ts +2 -0
- package/src/operations/AppCertificatesList.ts +2 -0
- package/src/operations/AppCertificatesShow.ts +2 -0
- package/src/operations/AppCreateDeployToken.ts +2 -0
- package/src/operations/AppIPAssignmentsCreate.ts +2 -0
- package/src/operations/AppIPAssignmentsDelete.ts +2 -0
- package/src/operations/AppIPAssignmentsList.ts +2 -0
- package/src/operations/AppsCreate.ts +2 -0
- package/src/operations/AppsDelete.ts +2 -0
- package/src/operations/AppsList.ts +2 -0
- package/src/operations/AppsShow.ts +2 -0
- package/src/operations/CurrentTokenShow.ts +2 -0
- package/src/operations/MachinesCordon.ts +2 -0
- package/src/operations/MachinesCreate.ts +2 -0
- package/src/operations/MachinesCreateLease.ts +2 -0
- package/src/operations/MachinesDelete.ts +2 -0
- package/src/operations/MachinesDeleteMetadata.ts +2 -0
- package/src/operations/MachinesExec.ts +2 -0
- package/src/operations/MachinesGetMemory.ts +2 -0
- package/src/operations/MachinesList.ts +2 -0
- package/src/operations/MachinesListEvents.ts +2 -0
- package/src/operations/MachinesListProcesses.ts +2 -0
- package/src/operations/MachinesListVersions.ts +2 -0
- package/src/operations/MachinesOrgList.ts +2 -0
- package/src/operations/MachinesPatchMetadata.ts +2 -0
- package/src/operations/MachinesReclaimMemory.ts +2 -0
- package/src/operations/MachinesReleaseLease.ts +2 -0
- package/src/operations/MachinesRestart.ts +2 -0
- package/src/operations/MachinesSetMemoryLimit.ts +2 -0
- package/src/operations/MachinesShow.ts +2 -0
- package/src/operations/MachinesShowLease.ts +2 -0
- package/src/operations/MachinesShowMetadata.ts +2 -0
- package/src/operations/MachinesSignal.ts +2 -0
- package/src/operations/MachinesStart.ts +2 -0
- package/src/operations/MachinesStop.ts +2 -0
- package/src/operations/MachinesSuspend.ts +2 -0
- package/src/operations/MachinesUncordon.ts +2 -0
- package/src/operations/MachinesUpdate.ts +2 -0
- package/src/operations/MachinesUpdateMetadata.ts +2 -0
- package/src/operations/MachinesWait.ts +2 -0
- package/src/operations/PlatformPlacementsPost.ts +2 -0
- package/src/operations/PlatformRegionsGet.ts +2 -0
- package/src/operations/SecretCreate.ts +2 -0
- package/src/operations/SecretDelete.ts +2 -0
- package/src/operations/SecretGet.ts +2 -0
- package/src/operations/SecretkeyDecrypt.ts +2 -0
- package/src/operations/SecretkeyDelete.ts +2 -0
- package/src/operations/SecretkeyEncrypt.ts +2 -0
- package/src/operations/SecretkeyGenerate.ts +2 -0
- package/src/operations/SecretkeyGet.ts +2 -0
- package/src/operations/SecretkeySet.ts +2 -0
- package/src/operations/SecretkeySign.ts +2 -0
- package/src/operations/SecretkeyVerify.ts +2 -0
- package/src/operations/SecretkeysList.ts +2 -0
- package/src/operations/SecretsList.ts +2 -0
- package/src/operations/SecretsUpdate.ts +2 -0
- package/src/operations/TokensRequestKms.ts +2 -0
- package/src/operations/TokensRequestOIDC.ts +2 -0
- package/src/operations/VolumeDelete.ts +2 -0
- package/src/operations/VolumesCreate.ts +2 -0
- package/src/operations/VolumesExtend.ts +2 -0
- package/src/operations/VolumesGetById.ts +2 -0
- package/src/operations/VolumesList.ts +2 -0
- package/src/operations/VolumesListSnapshots.ts +2 -0
- package/src/operations/VolumesUpdate.ts +2 -0
- package/src/operations/createVolumeSnapshot.ts +2 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
4
5
|
// Input Schema
|
|
5
6
|
export const VolumesListSnapshotsInput =
|
|
6
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -33,5 +34,6 @@ export const VolumesListSnapshotsOutput =
|
|
|
33
34
|
export const VolumesListSnapshots = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
34
35
|
inputSchema: VolumesListSnapshotsInput,
|
|
35
36
|
outputSchema: VolumesListSnapshotsOutput,
|
|
37
|
+
errors: [Forbidden, NotFound],
|
|
36
38
|
}));
|
|
37
39
|
//# sourceMappingURL=VolumesListSnapshots.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumesListSnapshots.js","sourceRoot":"","sources":["../../src/operations/VolumesListSnapshots.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"VolumesListSnapshots.js","sourceRoot":"","sources":["../../src/operations/VolumesListSnapshots.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAEhD,eAAe;AACf,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,gDAAgD;CACvD,CAAC,CACH,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CACtC,MAAM,CAAC,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,EAAE,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAClC,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC5C,CAAC,CACH,CAAC;AAGJ,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACtE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,yBAAyB;IACtC,YAAY,EAAE,0BAA0B;IACxC,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CACH,CAAC"}
|
|
@@ -55,5 +55,43 @@ export type VolumesOrgListOutput = typeof VolumesOrgListOutput.Type;
|
|
|
55
55
|
* @param cursor - Pagination cursor from previous response (takes precedence over updated_after)
|
|
56
56
|
* @param limit - The number of volumes to fetch (max of 1000). This limit is advisory. Responses may be shorter, even when more volumes remain. If omitted, the maximum is used
|
|
57
57
|
*/
|
|
58
|
-
export declare const VolumesOrgList:
|
|
58
|
+
export declare const VolumesOrgList: import("@distilled.cloud/core/client").OperationMethod<{
|
|
59
|
+
readonly cursor?: string | undefined;
|
|
60
|
+
readonly include_deleted?: boolean | undefined;
|
|
61
|
+
readonly limit?: number | undefined;
|
|
62
|
+
readonly org_slug: string;
|
|
63
|
+
readonly region?: string | undefined;
|
|
64
|
+
readonly state?: string | undefined;
|
|
65
|
+
readonly summary?: boolean | undefined;
|
|
66
|
+
readonly updated_after?: string | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
readonly last_updated_at?: string | undefined;
|
|
69
|
+
readonly last_volume_id?: string | undefined;
|
|
70
|
+
readonly next_cursor?: string | undefined;
|
|
71
|
+
readonly volumes?: readonly {
|
|
72
|
+
readonly app_name?: string | undefined;
|
|
73
|
+
readonly attached_alloc_id?: string | undefined;
|
|
74
|
+
readonly attached_machine_id?: string | undefined;
|
|
75
|
+
readonly auto_backup_enabled?: boolean | undefined;
|
|
76
|
+
readonly block_size?: number | undefined;
|
|
77
|
+
readonly blocks?: number | undefined;
|
|
78
|
+
readonly blocks_avail?: number | undefined;
|
|
79
|
+
readonly blocks_free?: number | undefined;
|
|
80
|
+
readonly bytes_total?: number | undefined;
|
|
81
|
+
readonly bytes_used?: number | undefined;
|
|
82
|
+
readonly created_at?: string | undefined;
|
|
83
|
+
readonly encrypted?: boolean | undefined;
|
|
84
|
+
readonly fstype?: string | undefined;
|
|
85
|
+
readonly host_status?: "ok" | "unknown" | "unreachable" | undefined;
|
|
86
|
+
readonly id?: string | undefined;
|
|
87
|
+
readonly name?: string | undefined;
|
|
88
|
+
readonly region?: string | undefined;
|
|
89
|
+
readonly size_gb?: number | undefined;
|
|
90
|
+
readonly snapshot_retention?: number | undefined;
|
|
91
|
+
readonly state?: string | undefined;
|
|
92
|
+
readonly type?: "cache" | "local" | undefined;
|
|
93
|
+
readonly updated_at?: string | undefined;
|
|
94
|
+
readonly zone?: string | undefined;
|
|
95
|
+
}[] | undefined;
|
|
96
|
+
}, never, any>;
|
|
59
97
|
//# sourceMappingURL=VolumesOrgList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumesOrgList.d.ts","sourceRoot":"","sources":["../../src/operations/VolumesOrgList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mBAAmB;;;;;;;;;EASoC,CAAC;AACrE,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmC/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"VolumesOrgList.d.ts","sourceRoot":"","sources":["../../src/operations/VolumesOrgList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mBAAmB;;;;;;;;;EASoC,CAAC;AACrE,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmC/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAGxB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { BadRequest, Forbidden, NotFound } from "../errors";
|
|
2
3
|
export declare const VolumesUpdateInput: Schema.Struct<{
|
|
3
4
|
readonly app_name: Schema.String;
|
|
4
5
|
readonly volume_id: Schema.String;
|
|
@@ -38,5 +39,32 @@ export type VolumesUpdateOutput = typeof VolumesUpdateOutput.Type;
|
|
|
38
39
|
* @param app_name - Fly App Name
|
|
39
40
|
* @param volume_id - Volume ID
|
|
40
41
|
*/
|
|
41
|
-
export declare const VolumesUpdate:
|
|
42
|
+
export declare const VolumesUpdate: import("@distilled.cloud/core/client").OperationMethod<{
|
|
43
|
+
readonly app_name: string;
|
|
44
|
+
readonly auto_backup_enabled?: boolean | undefined;
|
|
45
|
+
readonly snapshot_retention?: number | undefined;
|
|
46
|
+
readonly volume_id: string;
|
|
47
|
+
}, {
|
|
48
|
+
readonly attached_alloc_id?: string | undefined;
|
|
49
|
+
readonly attached_machine_id?: string | undefined;
|
|
50
|
+
readonly auto_backup_enabled?: boolean | undefined;
|
|
51
|
+
readonly block_size?: number | undefined;
|
|
52
|
+
readonly blocks?: number | undefined;
|
|
53
|
+
readonly blocks_avail?: number | undefined;
|
|
54
|
+
readonly blocks_free?: number | undefined;
|
|
55
|
+
readonly bytes_total?: number | undefined;
|
|
56
|
+
readonly bytes_used?: number | undefined;
|
|
57
|
+
readonly created_at?: string | undefined;
|
|
58
|
+
readonly encrypted?: boolean | undefined;
|
|
59
|
+
readonly fstype?: string | undefined;
|
|
60
|
+
readonly host_status?: "ok" | "unknown" | "unreachable" | undefined;
|
|
61
|
+
readonly id?: string | undefined;
|
|
62
|
+
readonly name?: string | undefined;
|
|
63
|
+
readonly region?: string | undefined;
|
|
64
|
+
readonly size_gb?: number | undefined;
|
|
65
|
+
readonly snapshot_retention?: number | undefined;
|
|
66
|
+
readonly state?: string | undefined;
|
|
67
|
+
readonly type?: "cache" | "local" | undefined;
|
|
68
|
+
readonly zone?: string | undefined;
|
|
69
|
+
}, BadRequest | Forbidden | NotFound, any>;
|
|
42
70
|
//# sourceMappingURL=VolumesUpdate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumesUpdate.d.ts","sourceRoot":"","sources":["../../src/operations/VolumesUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"VolumesUpdate.d.ts","sourceRoot":"","sources":["../../src/operations/VolumesUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAG5D,eAAO,MAAM,kBAAkB;;;;;EAO9B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;EAwB9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAIvB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { BadRequest, Forbidden, NotFound } from "../errors";
|
|
4
5
|
// Input Schema
|
|
5
6
|
export const VolumesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
7
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -44,5 +45,6 @@ export const VolumesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
44
45
|
export const VolumesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
45
46
|
inputSchema: VolumesUpdateInput,
|
|
46
47
|
outputSchema: VolumesUpdateOutput,
|
|
48
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
47
49
|
}));
|
|
48
50
|
//# sourceMappingURL=VolumesUpdate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumesUpdate.js","sourceRoot":"","sources":["../../src/operations/VolumesUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"VolumesUpdate.js","sourceRoot":"","sources":["../../src/operations/VolumesUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE5D,eAAe;AACf,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1E,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC5C,mBAAmB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IACpD,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACnD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,sCAAsC,EAAE,CAAC,CACxE,CAAC;AAGF,gBAAgB;AAChB,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3E,iBAAiB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACjD,mBAAmB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACnD,mBAAmB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IACpD,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5C,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1C,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1C,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IAC1C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAC1B,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC,CAClD;IACD,EAAE,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACvC,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAClD,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1D,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACrC,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACvE,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,MAAM,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,CAAU;CACnD,CAAC,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { BadRequest, Forbidden, NotFound } from "../errors";
|
|
2
3
|
export declare const CreateVolumeSnapshotInput: Schema.Struct<{
|
|
3
4
|
readonly app_name: Schema.String;
|
|
4
5
|
readonly volume_id: Schema.String;
|
|
@@ -14,5 +15,8 @@ export type CreateVolumeSnapshotOutput = typeof CreateVolumeSnapshotOutput.Type;
|
|
|
14
15
|
* @param app_name - Fly App Name
|
|
15
16
|
* @param volume_id - Volume ID
|
|
16
17
|
*/
|
|
17
|
-
export declare const createVolumeSnapshot:
|
|
18
|
+
export declare const createVolumeSnapshot: import("@distilled.cloud/core/client").OperationMethod<{
|
|
19
|
+
readonly app_name: string;
|
|
20
|
+
readonly volume_id: string;
|
|
21
|
+
}, void, BadRequest | Forbidden | NotFound, any>;
|
|
18
22
|
//# sourceMappingURL=createVolumeSnapshot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createVolumeSnapshot.d.ts","sourceRoot":"","sources":["../../src/operations/createVolumeSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"createVolumeSnapshot.d.ts","sourceRoot":"","sources":["../../src/operations/createVolumeSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAG5D,eAAO,MAAM,yBAAyB;;;EASnC,CAAC;AACJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B,aACE,CAAC;AAC1C,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB;;;gDAMhC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { BadRequest, Forbidden, NotFound } from "../errors";
|
|
4
5
|
// Input Schema
|
|
5
6
|
export const CreateVolumeSnapshotInput =
|
|
6
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -25,5 +26,6 @@ export const CreateVolumeSnapshotOutput =
|
|
|
25
26
|
export const createVolumeSnapshot = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
26
27
|
inputSchema: CreateVolumeSnapshotInput,
|
|
27
28
|
outputSchema: CreateVolumeSnapshotOutput,
|
|
29
|
+
errors: [BadRequest, Forbidden, NotFound],
|
|
28
30
|
}));
|
|
29
31
|
//# sourceMappingURL=createVolumeSnapshot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createVolumeSnapshot.js","sourceRoot":"","sources":["../../src/operations/createVolumeSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"createVolumeSnapshot.js","sourceRoot":"","sources":["../../src/operations/createVolumeSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE5D,eAAe;AACf,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,gDAAgD;CACvD,CAAC,CACH,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAG1C,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACtE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,yBAAyB;IACtC,YAAY,EAAE,0BAA0B;IACxC,MAAM,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,CAAU;CACnD,CAAC,CACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/fly-io",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/alchemy-run/distilled",
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"fmt": "oxfmt --write src",
|
|
67
67
|
"lint": "oxlint --fix src",
|
|
68
68
|
"check": "tsgo && oxlint src && oxfmt --check src",
|
|
69
|
+
"nuke": "bun scripts/nuke.ts",
|
|
69
70
|
"test": "bunx vitest run test --exclude specs",
|
|
70
71
|
"publish:npm": "bun run build && bun publish --access public",
|
|
71
72
|
"generate": "bun run scripts/generate.ts && oxlint --fix src && oxfmt --write src && oxfmt --write src",
|
|
@@ -73,7 +74,7 @@
|
|
|
73
74
|
"specs:update": "git -C specs/distilled-spec-fly-io fetch && git -C specs/distilled-spec-fly-io checkout main && git -C specs/distilled-spec-fly-io pull"
|
|
74
75
|
},
|
|
75
76
|
"dependencies": {
|
|
76
|
-
"@distilled.cloud/core": "0.
|
|
77
|
+
"@distilled.cloud/core": "0.11.0",
|
|
77
78
|
"effect": "4.0.0-beta.48"
|
|
78
79
|
},
|
|
79
80
|
"devDependencies": {
|
package/src/client.ts
CHANGED
|
@@ -18,10 +18,9 @@ import {
|
|
|
18
18
|
export { UnknownFlyIoError } from "./errors.ts";
|
|
19
19
|
import { Credentials } from "./credentials.ts";
|
|
20
20
|
|
|
21
|
-
// API Error Response Schema
|
|
21
|
+
// API Error Response Schema — Fly.io returns { "error": "..." }
|
|
22
22
|
const ApiErrorResponse = Schema.Struct({
|
|
23
|
-
|
|
24
|
-
message: Schema.String,
|
|
23
|
+
error: Schema.String,
|
|
25
24
|
});
|
|
26
25
|
|
|
27
26
|
/**
|
|
@@ -35,12 +34,11 @@ const matchError = (
|
|
|
35
34
|
const parsed = Schema.decodeUnknownSync(ApiErrorResponse)(errorBody);
|
|
36
35
|
const ErrorClass = (HTTP_STATUS_MAP as any)[status];
|
|
37
36
|
if (ErrorClass) {
|
|
38
|
-
return Effect.fail(new ErrorClass({ message: parsed.
|
|
37
|
+
return Effect.fail(new ErrorClass({ message: parsed.error }));
|
|
39
38
|
}
|
|
40
39
|
return Effect.fail(
|
|
41
40
|
new UnknownFlyIoError({
|
|
42
|
-
|
|
43
|
-
message: parsed.message,
|
|
41
|
+
message: parsed.error,
|
|
44
42
|
body: errorBody,
|
|
45
43
|
}),
|
|
46
44
|
);
|
package/src/credentials.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as Redacted from "effect/Redacted";
|
|
|
4
4
|
import * as Context from "effect/Context";
|
|
5
5
|
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
6
6
|
|
|
7
|
-
export const DEFAULT_API_BASE_URL = "https://api.
|
|
7
|
+
export const DEFAULT_API_BASE_URL = "https://api.machines.dev/v1";
|
|
8
8
|
|
|
9
9
|
export interface Config {
|
|
10
10
|
readonly apiKey: Redacted.Redacted<string>;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import {
|
|
5
|
+
BadRequest,
|
|
6
|
+
Forbidden,
|
|
7
|
+
NotFound,
|
|
8
|
+
UnprocessableEntity,
|
|
9
|
+
} from "../errors";
|
|
4
10
|
|
|
5
11
|
// Input Schema
|
|
6
12
|
export const AppCertificatesAcmeCreateInput =
|
|
@@ -100,5 +106,6 @@ export const AppCertificatesAcmeCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
100
106
|
() => ({
|
|
101
107
|
inputSchema: AppCertificatesAcmeCreateInput,
|
|
102
108
|
outputSchema: AppCertificatesAcmeCreateOutput,
|
|
109
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity] as const,
|
|
103
110
|
}),
|
|
104
111
|
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppCertificatesAcmeDeleteInput =
|
|
@@ -104,5 +105,6 @@ export const AppCertificatesAcmeDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
104
105
|
() => ({
|
|
105
106
|
inputSchema: AppCertificatesAcmeDeleteInput,
|
|
106
107
|
outputSchema: AppCertificatesAcmeDeleteOutput,
|
|
108
|
+
errors: [Forbidden, NotFound] as const,
|
|
107
109
|
}),
|
|
108
110
|
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { BadRequest, Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppCertificatesCheckInput =
|
|
@@ -113,5 +114,6 @@ export const AppCertificatesCheck = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
113
114
|
() => ({
|
|
114
115
|
inputSchema: AppCertificatesCheckInput,
|
|
115
116
|
outputSchema: AppCertificatesCheckOutput,
|
|
117
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
116
118
|
}),
|
|
117
119
|
);
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import {
|
|
5
|
+
BadRequest,
|
|
6
|
+
Forbidden,
|
|
7
|
+
NotFound,
|
|
8
|
+
UnprocessableEntity,
|
|
9
|
+
} from "../errors";
|
|
4
10
|
import { SensitiveString } from "../sensitive";
|
|
5
11
|
|
|
6
12
|
// Input Schema
|
|
@@ -103,5 +109,6 @@ export const AppCertificatesCustomCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
103
109
|
() => ({
|
|
104
110
|
inputSchema: AppCertificatesCustomCreateInput,
|
|
105
111
|
outputSchema: AppCertificatesCustomCreateOutput,
|
|
112
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity] as const,
|
|
106
113
|
}),
|
|
107
114
|
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppCertificatesCustomDeleteInput =
|
|
@@ -105,5 +106,6 @@ export const AppCertificatesCustomDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
105
106
|
() => ({
|
|
106
107
|
inputSchema: AppCertificatesCustomDeleteInput,
|
|
107
108
|
outputSchema: AppCertificatesCustomDeleteOutput,
|
|
109
|
+
errors: [Forbidden, NotFound] as const,
|
|
108
110
|
}),
|
|
109
111
|
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppCertificatesDeleteInput =
|
|
@@ -32,5 +33,6 @@ export const AppCertificatesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
32
33
|
() => ({
|
|
33
34
|
inputSchema: AppCertificatesDeleteInput,
|
|
34
35
|
outputSchema: AppCertificatesDeleteOutput,
|
|
36
|
+
errors: [Forbidden, NotFound] as const,
|
|
35
37
|
}),
|
|
36
38
|
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppCertificatesListInput =
|
|
@@ -51,4 +52,5 @@ export type AppCertificatesListOutput = typeof AppCertificatesListOutput.Type;
|
|
|
51
52
|
export const AppCertificatesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
52
53
|
inputSchema: AppCertificatesListInput,
|
|
53
54
|
outputSchema: AppCertificatesListOutput,
|
|
55
|
+
errors: [Forbidden, NotFound] as const,
|
|
54
56
|
}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppCertificatesShowInput =
|
|
@@ -98,4 +99,5 @@ export type AppCertificatesShowOutput = typeof AppCertificatesShowOutput.Type;
|
|
|
98
99
|
export const AppCertificatesShow = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
99
100
|
inputSchema: AppCertificatesShowInput,
|
|
100
101
|
outputSchema: AppCertificatesShowOutput,
|
|
102
|
+
errors: [Forbidden, NotFound] as const,
|
|
101
103
|
}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { BadRequest, Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppCreateDeployTokenInput =
|
|
@@ -27,5 +28,6 @@ export const AppCreateDeployToken = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
27
28
|
() => ({
|
|
28
29
|
inputSchema: AppCreateDeployTokenInput,
|
|
29
30
|
outputSchema: AppCreateDeployTokenOutput,
|
|
31
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
30
32
|
}),
|
|
31
33
|
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { BadRequest, Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppIPAssignmentsCreateInput =
|
|
@@ -37,5 +38,6 @@ export const AppIPAssignmentsCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
37
38
|
() => ({
|
|
38
39
|
inputSchema: AppIPAssignmentsCreateInput,
|
|
39
40
|
outputSchema: AppIPAssignmentsCreateOutput,
|
|
41
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
40
42
|
}),
|
|
41
43
|
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppIPAssignmentsDeleteInput =
|
|
@@ -30,5 +31,6 @@ export const AppIPAssignmentsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
30
31
|
() => ({
|
|
31
32
|
inputSchema: AppIPAssignmentsDeleteInput,
|
|
32
33
|
outputSchema: AppIPAssignmentsDeleteOutput,
|
|
34
|
+
errors: [Forbidden, NotFound] as const,
|
|
33
35
|
}),
|
|
34
36
|
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppIPAssignmentsListInput =
|
|
@@ -36,5 +37,6 @@ export const AppIPAssignmentsList = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
36
37
|
() => ({
|
|
37
38
|
inputSchema: AppIPAssignmentsListInput,
|
|
38
39
|
outputSchema: AppIPAssignmentsListOutput,
|
|
40
|
+
errors: [Forbidden, NotFound] as const,
|
|
39
41
|
}),
|
|
40
42
|
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { BadRequest, Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppsCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -24,4 +25,5 @@ export type AppsCreateOutput = typeof AppsCreateOutput.Type;
|
|
|
24
25
|
export const AppsCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
25
26
|
inputSchema: AppsCreateInput,
|
|
26
27
|
outputSchema: AppsCreateOutput,
|
|
28
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
27
29
|
}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -23,4 +24,5 @@ export type AppsDeleteOutput = typeof AppsDeleteOutput.Type;
|
|
|
23
24
|
export const AppsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
24
25
|
inputSchema: AppsDeleteInput,
|
|
25
26
|
outputSchema: AppsDeleteOutput,
|
|
27
|
+
errors: [Forbidden, NotFound] as const,
|
|
26
28
|
}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -47,4 +48,5 @@ export type AppsListOutput = typeof AppsListOutput.Type;
|
|
|
47
48
|
export const AppsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
48
49
|
inputSchema: AppsListInput,
|
|
49
50
|
outputSchema: AppsListOutput,
|
|
51
|
+
errors: [Forbidden] as const,
|
|
50
52
|
}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const AppsShowInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -38,4 +39,5 @@ export type AppsShowOutput = typeof AppsShowOutput.Type;
|
|
|
38
39
|
export const AppsShow = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
39
40
|
inputSchema: AppsShowInput,
|
|
40
41
|
outputSchema: AppsShowOutput,
|
|
42
|
+
errors: [Forbidden, NotFound] as const,
|
|
41
43
|
}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const CurrentTokenShowInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
@@ -37,4 +38,5 @@ export type CurrentTokenShowOutput = typeof CurrentTokenShowOutput.Type;
|
|
|
37
38
|
export const CurrentTokenShow = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
38
39
|
inputSchema: CurrentTokenShowInput,
|
|
39
40
|
outputSchema: CurrentTokenShowOutput,
|
|
41
|
+
errors: [Forbidden] as const,
|
|
40
42
|
}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { BadRequest, Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const MachinesCordonInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -30,4 +31,5 @@ export type MachinesCordonOutput = typeof MachinesCordonOutput.Type;
|
|
|
30
31
|
export const MachinesCordon = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
31
32
|
inputSchema: MachinesCordonInput,
|
|
32
33
|
outputSchema: MachinesCordonOutput,
|
|
34
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
33
35
|
}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { BadRequest, Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const MachinesCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -1369,4 +1370,5 @@ export type MachinesCreateOutput = typeof MachinesCreateOutput.Type;
|
|
|
1369
1370
|
export const MachinesCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1370
1371
|
inputSchema: MachinesCreateInput,
|
|
1371
1372
|
outputSchema: MachinesCreateOutput,
|
|
1373
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
1372
1374
|
}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { BadRequest, Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const MachinesCreateLeaseInput =
|
|
@@ -41,4 +42,5 @@ export type MachinesCreateLeaseOutput = typeof MachinesCreateLeaseOutput.Type;
|
|
|
41
42
|
export const MachinesCreateLease = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
42
43
|
inputSchema: MachinesCreateLeaseInput,
|
|
43
44
|
outputSchema: MachinesCreateLeaseOutput,
|
|
45
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
44
46
|
}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const MachinesDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -29,4 +30,5 @@ export type MachinesDeleteOutput = typeof MachinesDeleteOutput.Type;
|
|
|
29
30
|
export const MachinesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
30
31
|
inputSchema: MachinesDeleteInput,
|
|
31
32
|
outputSchema: MachinesDeleteOutput,
|
|
33
|
+
errors: [Forbidden, NotFound] as const,
|
|
32
34
|
}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const MachinesDeleteMetadataInput =
|
|
@@ -37,5 +38,6 @@ export const MachinesDeleteMetadata = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
37
38
|
() => ({
|
|
38
39
|
inputSchema: MachinesDeleteMetadataInput,
|
|
39
40
|
outputSchema: MachinesDeleteMetadataOutput,
|
|
41
|
+
errors: [Forbidden, NotFound] as const,
|
|
40
42
|
}),
|
|
41
43
|
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { BadRequest, Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const MachinesExecInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -40,4 +41,5 @@ export type MachinesExecOutput = typeof MachinesExecOutput.Type;
|
|
|
40
41
|
export const MachinesExec = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
41
42
|
inputSchema: MachinesExecInput,
|
|
42
43
|
outputSchema: MachinesExecOutput,
|
|
44
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
43
45
|
}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const MachinesGetMemoryInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
@@ -36,4 +37,5 @@ export type MachinesGetMemoryOutput = typeof MachinesGetMemoryOutput.Type;
|
|
|
36
37
|
export const MachinesGetMemory = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
37
38
|
inputSchema: MachinesGetMemoryInput,
|
|
38
39
|
outputSchema: MachinesGetMemoryOutput,
|
|
40
|
+
errors: [Forbidden, NotFound] as const,
|
|
39
41
|
}));
|