@distilled.cloud/fly-io 0.30.2 → 1.0.0-rc.1
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/credentials.d.ts.map +1 -1
- package/lib/credentials.js +8 -0
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +22 -4
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +11 -5
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +7 -10
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +7 -10
- package/lib/index.js.map +1 -1
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +41 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +4 -4
- package/lib/retry.js +4 -4
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +3 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/machines.d.ts +2236 -0
- package/lib/services/machines.d.ts.map +1 -0
- package/lib/services/machines.js +2461 -0
- package/lib/services/machines.js.map +1 -0
- package/lib/traits.d.ts +8 -2
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +8 -2
- package/lib/traits.js.map +1 -1
- package/package.json +31 -37
- package/src/credentials.ts +8 -0
- package/src/errors.ts +24 -6
- package/src/index.ts +11 -10
- package/src/protocol.ts +61 -0
- package/src/retry.ts +4 -4
- package/src/services/index.ts +2 -0
- package/src/services/machines.ts +5962 -0
- package/src/traits.ts +42 -2
- package/README.md +0 -69
- package/lib/category.d.ts +0 -5
- package/lib/category.d.ts.map +0 -1
- package/lib/category.js +0 -5
- package/lib/category.js.map +0 -1
- package/lib/client.d.ts +0 -11
- package/lib/client.d.ts.map +0 -1
- package/lib/client.js +0 -56
- package/lib/client.js.map +0 -1
- package/lib/operations/AppCertificatesAcmeCreate.d.ts +0 -61
- package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +0 -1
- package/lib/operations/AppCertificatesAcmeCreate.js +0 -72
- package/lib/operations/AppCertificatesAcmeCreate.js.map +0 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts +0 -62
- package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +0 -1
- package/lib/operations/AppCertificatesAcmeDelete.js +0 -76
- package/lib/operations/AppCertificatesAcmeDelete.js.map +0 -1
- package/lib/operations/AppCertificatesCheck.d.ts +0 -71
- package/lib/operations/AppCertificatesCheck.d.ts.map +0 -1
- package/lib/operations/AppCertificatesCheck.js +0 -85
- package/lib/operations/AppCertificatesCheck.js.map +0 -1
- package/lib/operations/AppCertificatesCustomCreate.d.ts +0 -64
- package/lib/operations/AppCertificatesCustomCreate.d.ts.map +0 -1
- package/lib/operations/AppCertificatesCustomCreate.js +0 -76
- package/lib/operations/AppCertificatesCustomCreate.js.map +0 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts +0 -63
- package/lib/operations/AppCertificatesCustomDelete.d.ts.map +0 -1
- package/lib/operations/AppCertificatesCustomDelete.js +0 -77
- package/lib/operations/AppCertificatesCustomDelete.js.map +0 -1
- package/lib/operations/AppCertificatesDelete.d.ts +0 -17
- package/lib/operations/AppCertificatesDelete.d.ts.map +0 -1
- package/lib/operations/AppCertificatesDelete.js +0 -27
- package/lib/operations/AppCertificatesDelete.js.map +0 -1
- package/lib/operations/AppCertificatesList.d.ts +0 -39
- package/lib/operations/AppCertificatesList.d.ts.map +0 -1
- package/lib/operations/AppCertificatesList.js +0 -46
- package/lib/operations/AppCertificatesList.js.map +0 -1
- package/lib/operations/AppCertificatesShow.d.ts +0 -62
- package/lib/operations/AppCertificatesShow.d.ts.map +0 -1
- package/lib/operations/AppCertificatesShow.js +0 -73
- package/lib/operations/AppCertificatesShow.js.map +0 -1
- package/lib/operations/AppCreateDeployToken.d.ts +0 -18
- package/lib/operations/AppCreateDeployToken.d.ts.map +0 -1
- package/lib/operations/AppCreateDeployToken.js +0 -25
- package/lib/operations/AppCreateDeployToken.js.map +0 -1
- package/lib/operations/AppIPAssignmentsCreate.d.ts +0 -26
- package/lib/operations/AppIPAssignmentsCreate.d.ts.map +0 -1
- package/lib/operations/AppIPAssignmentsCreate.js +0 -33
- package/lib/operations/AppIPAssignmentsCreate.js.map +0 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts +0 -17
- package/lib/operations/AppIPAssignmentsDelete.d.ts.map +0 -1
- package/lib/operations/AppIPAssignmentsDelete.js +0 -24
- package/lib/operations/AppIPAssignmentsDelete.js.map +0 -1
- package/lib/operations/AppIPAssignmentsList.d.ts +0 -23
- package/lib/operations/AppIPAssignmentsList.d.ts.map +0 -1
- package/lib/operations/AppIPAssignmentsList.js +0 -30
- package/lib/operations/AppIPAssignmentsList.js.map +0 -1
- package/lib/operations/App_CertificatesAcmeCreate.d.ts +0 -104
- package/lib/operations/App_CertificatesAcmeCreate.d.ts.map +0 -1
- package/lib/operations/App_CertificatesAcmeCreate.js +0 -69
- package/lib/operations/App_CertificatesAcmeCreate.js.map +0 -1
- package/lib/operations/App_CertificatesAcmeDelete.d.ts +0 -100
- package/lib/operations/App_CertificatesAcmeDelete.d.ts.map +0 -1
- package/lib/operations/App_CertificatesAcmeDelete.js +0 -70
- package/lib/operations/App_CertificatesAcmeDelete.js.map +0 -1
- package/lib/operations/App_CertificatesCheck.d.ts +0 -118
- package/lib/operations/App_CertificatesCheck.d.ts.map +0 -1
- package/lib/operations/App_CertificatesCheck.js +0 -79
- package/lib/operations/App_CertificatesCheck.js.map +0 -1
- package/lib/operations/App_CertificatesCustomCreate.d.ts +0 -108
- package/lib/operations/App_CertificatesCustomCreate.d.ts.map +0 -1
- package/lib/operations/App_CertificatesCustomCreate.js +0 -72
- package/lib/operations/App_CertificatesCustomCreate.js.map +0 -1
- package/lib/operations/App_CertificatesCustomDelete.d.ts +0 -102
- package/lib/operations/App_CertificatesCustomDelete.d.ts.map +0 -1
- package/lib/operations/App_CertificatesCustomDelete.js +0 -72
- package/lib/operations/App_CertificatesCustomDelete.js.map +0 -1
- package/lib/operations/App_CertificatesDelete.d.ts +0 -10
- package/lib/operations/App_CertificatesDelete.d.ts.map +0 -1
- package/lib/operations/App_CertificatesDelete.js +0 -20
- package/lib/operations/App_CertificatesDelete.js.map +0 -1
- package/lib/operations/App_CertificatesList.d.ts +0 -58
- package/lib/operations/App_CertificatesList.d.ts.map +0 -1
- package/lib/operations/App_CertificatesList.js +0 -44
- package/lib/operations/App_CertificatesList.js.map +0 -1
- package/lib/operations/App_CertificatesShow.d.ts +0 -100
- package/lib/operations/App_CertificatesShow.d.ts.map +0 -1
- package/lib/operations/App_CertificatesShow.js +0 -67
- package/lib/operations/App_CertificatesShow.js.map +0 -1
- package/lib/operations/App_IPAssignmentsCreate.d.ts +0 -34
- package/lib/operations/App_IPAssignmentsCreate.d.ts.map +0 -1
- package/lib/operations/App_IPAssignmentsCreate.js +0 -30
- package/lib/operations/App_IPAssignmentsCreate.js.map +0 -1
- package/lib/operations/App_IPAssignmentsDelete.d.ts +0 -10
- package/lib/operations/App_IPAssignmentsDelete.d.ts.map +0 -1
- package/lib/operations/App_IPAssignmentsDelete.js +0 -17
- package/lib/operations/App_IPAssignmentsDelete.js.map +0 -1
- package/lib/operations/App_IPAssignmentsList.d.ts +0 -26
- package/lib/operations/App_IPAssignmentsList.d.ts.map +0 -1
- package/lib/operations/App_IPAssignmentsList.js +0 -26
- package/lib/operations/App_IPAssignmentsList.js.map +0 -1
- package/lib/operations/AppsCreate.d.ts +0 -18
- package/lib/operations/AppsCreate.d.ts.map +0 -1
- package/lib/operations/AppsCreate.js +0 -24
- package/lib/operations/AppsCreate.js.map +0 -1
- package/lib/operations/AppsDelete.d.ts +0 -17
- package/lib/operations/AppsDelete.d.ts.map +0 -1
- package/lib/operations/AppsDelete.js +0 -23
- package/lib/operations/AppsDelete.js.map +0 -1
- package/lib/operations/AppsList.d.ts +0 -35
- package/lib/operations/AppsList.d.ts.map +0 -1
- package/lib/operations/AppsList.js +0 -40
- package/lib/operations/AppsList.js.map +0 -1
- package/lib/operations/AppsShow.d.ts +0 -30
- package/lib/operations/AppsShow.d.ts.map +0 -1
- package/lib/operations/AppsShow.js +0 -35
- package/lib/operations/AppsShow.js.map +0 -1
- package/lib/operations/CurrentTokenShow.d.ts +0 -23
- package/lib/operations/CurrentTokenShow.d.ts.map +0 -1
- package/lib/operations/CurrentTokenShow.js +0 -26
- package/lib/operations/CurrentTokenShow.js.map +0 -1
- package/lib/operations/MachinesCordon.d.ts +0 -19
- package/lib/operations/MachinesCordon.d.ts.map +0 -1
- package/lib/operations/MachinesCordon.js +0 -28
- package/lib/operations/MachinesCordon.js.map +0 -1
- package/lib/operations/MachinesCreate.d.ts +0 -810
- package/lib/operations/MachinesCreate.d.ts.map +0 -1
- package/lib/operations/MachinesCreate.js +0 -917
- package/lib/operations/MachinesCreate.js.map +0 -1
- package/lib/operations/MachinesCreateLease.d.ts +0 -28
- package/lib/operations/MachinesCreateLease.d.ts.map +0 -1
- package/lib/operations/MachinesCreateLease.js +0 -38
- package/lib/operations/MachinesCreateLease.js.map +0 -1
- package/lib/operations/MachinesDelete.d.ts +0 -21
- package/lib/operations/MachinesDelete.d.ts.map +0 -1
- package/lib/operations/MachinesDelete.js +0 -27
- package/lib/operations/MachinesDelete.js.map +0 -1
- package/lib/operations/MachinesDeleteMetadata.d.ts +0 -21
- package/lib/operations/MachinesDeleteMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesDeleteMetadata.js +0 -31
- package/lib/operations/MachinesDeleteMetadata.js.map +0 -1
- package/lib/operations/MachinesExec.d.ts +0 -29
- package/lib/operations/MachinesExec.d.ts.map +0 -1
- package/lib/operations/MachinesExec.js +0 -37
- package/lib/operations/MachinesExec.js.map +0 -1
- package/lib/operations/MachinesGetMemory.d.ts +0 -22
- package/lib/operations/MachinesGetMemory.d.ts.map +0 -1
- package/lib/operations/MachinesGetMemory.js +0 -31
- package/lib/operations/MachinesGetMemory.js.map +0 -1
- package/lib/operations/MachinesGetMetadataKey.d.ts +0 -23
- package/lib/operations/MachinesGetMetadataKey.d.ts.map +0 -1
- package/lib/operations/MachinesGetMetadataKey.js +0 -33
- package/lib/operations/MachinesGetMetadataKey.js.map +0 -1
- package/lib/operations/MachinesList.d.ts +0 -559
- package/lib/operations/MachinesList.d.ts.map +0 -1
- package/lib/operations/MachinesList.js +0 -642
- package/lib/operations/MachinesList.js.map +0 -1
- package/lib/operations/MachinesListEvents.d.ts +0 -28
- package/lib/operations/MachinesListEvents.d.ts.map +0 -1
- package/lib/operations/MachinesListEvents.js +0 -38
- package/lib/operations/MachinesListEvents.js.map +0 -1
- package/lib/operations/MachinesListProcesses.d.ts +0 -35
- package/lib/operations/MachinesListProcesses.d.ts.map +0 -1
- package/lib/operations/MachinesListProcesses.js +0 -45
- package/lib/operations/MachinesListProcesses.js.map +0 -1
- package/lib/operations/MachinesListVersions.d.ts +0 -272
- package/lib/operations/MachinesListVersions.d.ts.map +0 -1
- package/lib/operations/MachinesListVersions.js +0 -321
- package/lib/operations/MachinesListVersions.js.map +0 -1
- package/lib/operations/MachinesOrgList.d.ts +0 -63
- package/lib/operations/MachinesOrgList.d.ts.map +0 -1
- package/lib/operations/MachinesOrgList.js +0 -68
- package/lib/operations/MachinesOrgList.js.map +0 -1
- package/lib/operations/MachinesPatchMetadata.d.ts +0 -23
- package/lib/operations/MachinesPatchMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesPatchMetadata.js +0 -31
- package/lib/operations/MachinesPatchMetadata.js.map +0 -1
- package/lib/operations/MachinesReclaimMemory.d.ts +0 -22
- package/lib/operations/MachinesReclaimMemory.d.ts.map +0 -1
- package/lib/operations/MachinesReclaimMemory.js +0 -32
- package/lib/operations/MachinesReclaimMemory.js.map +0 -1
- package/lib/operations/MachinesReleaseLease.d.ts +0 -20
- package/lib/operations/MachinesReleaseLease.d.ts.map +0 -1
- package/lib/operations/MachinesReleaseLease.js +0 -30
- package/lib/operations/MachinesReleaseLease.js.map +0 -1
- package/lib/operations/MachinesRestart.d.ts +0 -23
- package/lib/operations/MachinesRestart.d.ts.map +0 -1
- package/lib/operations/MachinesRestart.js +0 -40
- package/lib/operations/MachinesRestart.js.map +0 -1
- package/lib/operations/MachinesSetMemoryLimit.d.ts +0 -23
- package/lib/operations/MachinesSetMemoryLimit.d.ts.map +0 -1
- package/lib/operations/MachinesSetMemoryLimit.js +0 -33
- package/lib/operations/MachinesSetMemoryLimit.js.map +0 -1
- package/lib/operations/MachinesShow.d.ts +0 -553
- package/lib/operations/MachinesShow.d.ts.map +0 -1
- package/lib/operations/MachinesShow.js +0 -626
- package/lib/operations/MachinesShow.js.map +0 -1
- package/lib/operations/MachinesShowLease.d.ts +0 -25
- package/lib/operations/MachinesShowLease.d.ts.map +0 -1
- package/lib/operations/MachinesShowLease.js +0 -34
- package/lib/operations/MachinesShowLease.js.map +0 -1
- package/lib/operations/MachinesShowMetadata.d.ts +0 -19
- package/lib/operations/MachinesShowMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesShowMetadata.js +0 -29
- package/lib/operations/MachinesShowMetadata.js.map +0 -1
- package/lib/operations/MachinesSignal.d.ts +0 -20
- package/lib/operations/MachinesSignal.d.ts.map +0 -1
- package/lib/operations/MachinesSignal.js +0 -44
- package/lib/operations/MachinesSignal.js.map +0 -1
- package/lib/operations/MachinesStart.d.ts +0 -19
- package/lib/operations/MachinesStart.d.ts.map +0 -1
- package/lib/operations/MachinesStart.js +0 -28
- package/lib/operations/MachinesStart.js.map +0 -1
- package/lib/operations/MachinesStop.d.ts +0 -21
- package/lib/operations/MachinesStop.d.ts.map +0 -1
- package/lib/operations/MachinesStop.js +0 -38
- package/lib/operations/MachinesStop.js.map +0 -1
- package/lib/operations/MachinesSuspend.d.ts +0 -19
- package/lib/operations/MachinesSuspend.d.ts.map +0 -1
- package/lib/operations/MachinesSuspend.js +0 -28
- package/lib/operations/MachinesSuspend.js.map +0 -1
- package/lib/operations/MachinesUncordon.d.ts +0 -19
- package/lib/operations/MachinesUncordon.d.ts.map +0 -1
- package/lib/operations/MachinesUncordon.js +0 -28
- package/lib/operations/MachinesUncordon.js.map +0 -1
- package/lib/operations/MachinesUpdate.d.ts +0 -812
- package/lib/operations/MachinesUpdate.d.ts.map +0 -1
- package/lib/operations/MachinesUpdate.js +0 -919
- package/lib/operations/MachinesUpdate.js.map +0 -1
- package/lib/operations/MachinesUpdateMetadata.d.ts +0 -23
- package/lib/operations/MachinesUpdateMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesUpdateMetadata.js +0 -33
- package/lib/operations/MachinesUpdateMetadata.js.map +0 -1
- package/lib/operations/MachinesUpsertMetadata.d.ts +0 -23
- package/lib/operations/MachinesUpsertMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesUpsertMetadata.js +0 -33
- package/lib/operations/MachinesUpsertMetadata.js.map +0 -1
- package/lib/operations/MachinesWait.d.ts +0 -35
- package/lib/operations/MachinesWait.d.ts.map +0 -1
- package/lib/operations/MachinesWait.js +0 -50
- package/lib/operations/MachinesWait.js.map +0 -1
- package/lib/operations/PlatformPlacementsPost.d.ts +0 -37
- package/lib/operations/PlatformPlacementsPost.d.ts.map +0 -1
- package/lib/operations/PlatformPlacementsPost.js +0 -44
- package/lib/operations/PlatformPlacementsPost.js.map +0 -1
- package/lib/operations/PlatformRegionsGet.d.ts +0 -26
- package/lib/operations/PlatformRegionsGet.d.ts.map +0 -1
- package/lib/operations/PlatformRegionsGet.js +0 -32
- package/lib/operations/PlatformRegionsGet.js.map +0 -1
- package/lib/operations/SecretCreate.d.ts +0 -26
- package/lib/operations/SecretCreate.d.ts.map +0 -1
- package/lib/operations/SecretCreate.js +0 -31
- package/lib/operations/SecretCreate.js.map +0 -1
- package/lib/operations/SecretDelete.d.ts +0 -20
- package/lib/operations/SecretDelete.d.ts.map +0 -1
- package/lib/operations/SecretDelete.js +0 -25
- package/lib/operations/SecretDelete.js.map +0 -1
- package/lib/operations/SecretGet.d.ts +0 -27
- package/lib/operations/SecretGet.d.ts.map +0 -1
- package/lib/operations/SecretGet.js +0 -32
- package/lib/operations/SecretGet.js.map +0 -1
- package/lib/operations/SecretkeyDecrypt.d.ts +0 -23
- package/lib/operations/SecretkeyDecrypt.d.ts.map +0 -1
- package/lib/operations/SecretkeyDecrypt.js +0 -31
- package/lib/operations/SecretkeyDecrypt.js.map +0 -1
- package/lib/operations/SecretkeyDelete.d.ts +0 -20
- package/lib/operations/SecretkeyDelete.d.ts.map +0 -1
- package/lib/operations/SecretkeyDelete.js +0 -28
- package/lib/operations/SecretkeyDelete.js.map +0 -1
- package/lib/operations/SecretkeyEncrypt.d.ts +0 -23
- package/lib/operations/SecretkeyEncrypt.d.ts.map +0 -1
- package/lib/operations/SecretkeyEncrypt.js +0 -31
- package/lib/operations/SecretkeyEncrypt.js.map +0 -1
- package/lib/operations/SecretkeyGenerate.d.ts +0 -27
- package/lib/operations/SecretkeyGenerate.d.ts.map +0 -1
- package/lib/operations/SecretkeyGenerate.js +0 -36
- package/lib/operations/SecretkeyGenerate.js.map +0 -1
- package/lib/operations/SecretkeyGet.d.ts +0 -25
- package/lib/operations/SecretkeyGet.d.ts.map +0 -1
- package/lib/operations/SecretkeyGet.js +0 -30
- package/lib/operations/SecretkeyGet.js.map +0 -1
- package/lib/operations/SecretkeySet.d.ts +0 -27
- package/lib/operations/SecretkeySet.d.ts.map +0 -1
- package/lib/operations/SecretkeySet.js +0 -32
- package/lib/operations/SecretkeySet.js.map +0 -1
- package/lib/operations/SecretkeySign.d.ts +0 -22
- package/lib/operations/SecretkeySign.d.ts.map +0 -1
- package/lib/operations/SecretkeySign.js +0 -30
- package/lib/operations/SecretkeySign.js.map +0 -1
- package/lib/operations/SecretkeyVerify.d.ts +0 -21
- package/lib/operations/SecretkeyVerify.d.ts.map +0 -1
- package/lib/operations/SecretkeyVerify.js +0 -30
- package/lib/operations/SecretkeyVerify.js.map +0 -1
- package/lib/operations/SecretkeysList.d.ts +0 -27
- package/lib/operations/SecretkeysList.d.ts.map +0 -1
- package/lib/operations/SecretkeysList.js +0 -32
- package/lib/operations/SecretkeysList.js.map +0 -1
- package/lib/operations/SecretsList.d.ts +0 -27
- package/lib/operations/SecretsList.d.ts.map +0 -1
- package/lib/operations/SecretsList.js +0 -32
- package/lib/operations/SecretsList.js.map +0 -1
- package/lib/operations/SecretsUpdate.d.ts +0 -26
- package/lib/operations/SecretsUpdate.d.ts.map +0 -1
- package/lib/operations/SecretsUpdate.js +0 -31
- package/lib/operations/SecretsUpdate.js.map +0 -1
- package/lib/operations/TokensAuthenticate.d.ts +0 -26
- package/lib/operations/TokensAuthenticate.d.ts.map +0 -1
- package/lib/operations/TokensAuthenticate.js +0 -33
- package/lib/operations/TokensAuthenticate.js.map +0 -1
- package/lib/operations/TokensAuthorize.d.ts +0 -59
- package/lib/operations/TokensAuthorize.d.ts.map +0 -1
- package/lib/operations/TokensAuthorize.js +0 -64
- package/lib/operations/TokensAuthorize.js.map +0 -1
- package/lib/operations/TokensRequestKms.d.ts +0 -14
- package/lib/operations/TokensRequestKms.d.ts.map +0 -1
- package/lib/operations/TokensRequestKms.js +0 -19
- package/lib/operations/TokensRequestKms.js.map +0 -1
- package/lib/operations/TokensRequestOIDC.d.ts +0 -16
- package/lib/operations/TokensRequestOIDC.d.ts.map +0 -1
- package/lib/operations/TokensRequestOIDC.js +0 -22
- package/lib/operations/TokensRequestOIDC.js.map +0 -1
- package/lib/operations/TokensRequest_Kms.d.ts +0 -12
- package/lib/operations/TokensRequest_Kms.d.ts.map +0 -1
- package/lib/operations/TokensRequest_Kms.js +0 -18
- package/lib/operations/TokensRequest_Kms.js.map +0 -1
- package/lib/operations/TokensRequest_OIDC.d.ts +0 -18
- package/lib/operations/TokensRequest_OIDC.d.ts.map +0 -1
- package/lib/operations/TokensRequest_OIDC.js +0 -22
- package/lib/operations/TokensRequest_OIDC.js.map +0 -1
- package/lib/operations/VolumeDelete.d.ts +0 -41
- package/lib/operations/VolumeDelete.d.ts.map +0 -1
- package/lib/operations/VolumeDelete.js +0 -46
- package/lib/operations/VolumeDelete.js.map +0 -1
- package/lib/operations/VolumesCreate.d.ts +0 -62
- package/lib/operations/VolumesCreate.d.ts.map +0 -1
- package/lib/operations/VolumesCreate.js +0 -67
- package/lib/operations/VolumesCreate.js.map +0 -1
- package/lib/operations/VolumesExtend.d.ts +0 -45
- package/lib/operations/VolumesExtend.d.ts.map +0 -1
- package/lib/operations/VolumesExtend.js +0 -53
- package/lib/operations/VolumesExtend.js.map +0 -1
- package/lib/operations/VolumesGetById.d.ts +0 -41
- package/lib/operations/VolumesGetById.d.ts.map +0 -1
- package/lib/operations/VolumesGetById.js +0 -46
- package/lib/operations/VolumesGetById.js.map +0 -1
- package/lib/operations/VolumesList.d.ts +0 -41
- package/lib/operations/VolumesList.d.ts.map +0 -1
- package/lib/operations/VolumesList.js +0 -46
- package/lib/operations/VolumesList.js.map +0 -1
- package/lib/operations/VolumesListSnapshots.d.ts +0 -27
- package/lib/operations/VolumesListSnapshots.d.ts.map +0 -1
- package/lib/operations/VolumesListSnapshots.js +0 -37
- package/lib/operations/VolumesListSnapshots.js.map +0 -1
- package/lib/operations/VolumesOrgList.d.ts +0 -59
- package/lib/operations/VolumesOrgList.d.ts.map +0 -1
- package/lib/operations/VolumesOrgList.js +0 -63
- package/lib/operations/VolumesOrgList.js.map +0 -1
- package/lib/operations/VolumesUpdate.d.ts +0 -43
- package/lib/operations/VolumesUpdate.d.ts.map +0 -1
- package/lib/operations/VolumesUpdate.js +0 -48
- package/lib/operations/VolumesUpdate.js.map +0 -1
- package/lib/operations/createVolumeSnapshot.d.ts +0 -19
- package/lib/operations/createVolumeSnapshot.d.ts.map +0 -1
- package/lib/operations/createVolumeSnapshot.js +0 -29
- package/lib/operations/createVolumeSnapshot.js.map +0 -1
- package/lib/operations/index.d.ts +0 -77
- package/lib/operations/index.d.ts.map +0 -1
- package/lib/operations/index.js +0 -77
- package/lib/operations/index.js.map +0 -1
- package/lib/sensitive.d.ts +0 -5
- package/lib/sensitive.d.ts.map +0 -1
- package/lib/sensitive.js +0 -5
- package/lib/sensitive.js.map +0 -1
- package/src/category.ts +0 -4
- package/src/client.ts +0 -71
- package/src/operations/AppCertificatesAcmeCreate.ts +0 -148
- package/src/operations/AppCertificatesAcmeDelete.ts +0 -147
- package/src/operations/AppCertificatesCheck.ts +0 -167
- package/src/operations/AppCertificatesCustomCreate.ts +0 -154
- package/src/operations/AppCertificatesCustomDelete.ts +0 -149
- package/src/operations/AppCertificatesDelete.ts +0 -38
- package/src/operations/AppCertificatesList.ts +0 -81
- package/src/operations/AppCertificatesShow.ts +0 -144
- package/src/operations/AppCreateDeployToken.ts +0 -38
- package/src/operations/AppIPAssignmentsCreate.ts +0 -54
- package/src/operations/AppIPAssignmentsDelete.ts +0 -35
- package/src/operations/AppIPAssignmentsList.ts +0 -52
- package/src/operations/App_CertificatesAcmeCreate.ts +0 -99
- package/src/operations/App_CertificatesAcmeDelete.ts +0 -100
- package/src/operations/App_CertificatesCheck.ts +0 -110
- package/src/operations/App_CertificatesCustomCreate.ts +0 -102
- package/src/operations/App_CertificatesCustomDelete.ts +0 -102
- package/src/operations/App_CertificatesDelete.ts +0 -28
- package/src/operations/App_CertificatesList.ts +0 -52
- package/src/operations/App_CertificatesShow.ts +0 -95
- package/src/operations/App_IPAssignmentsCreate.ts +0 -36
- package/src/operations/App_IPAssignmentsDelete.ts +0 -25
- package/src/operations/App_IPAssignmentsList.ts +0 -37
- package/src/operations/AppsCreate.ts +0 -37
- package/src/operations/AppsDelete.ts +0 -33
- package/src/operations/AppsList.ts +0 -73
- package/src/operations/AppsShow.ts +0 -56
- package/src/operations/CurrentTokenShow.ts +0 -48
- package/src/operations/MachinesCordon.ts +0 -39
- package/src/operations/MachinesCreate.ts +0 -2166
- package/src/operations/MachinesCreateLease.ts +0 -57
- package/src/operations/MachinesDelete.ts +0 -39
- package/src/operations/MachinesDeleteMetadata.ts +0 -43
- package/src/operations/MachinesExec.ts +0 -58
- package/src/operations/MachinesGetMemory.ts +0 -45
- package/src/operations/MachinesGetMetadataKey.ts +0 -47
- package/src/operations/MachinesList.ts +0 -1494
- package/src/operations/MachinesListEvents.ts +0 -59
- package/src/operations/MachinesListProcesses.ts +0 -73
- package/src/operations/MachinesListVersions.ts +0 -742
- package/src/operations/MachinesOrgList.ts +0 -128
- package/src/operations/MachinesPatchMetadata.ts +0 -38
- package/src/operations/MachinesReclaimMemory.ts +0 -46
- package/src/operations/MachinesReleaseLease.ts +0 -41
- package/src/operations/MachinesRestart.ts +0 -62
- package/src/operations/MachinesSetMemoryLimit.ts +0 -48
- package/src/operations/MachinesShow.ts +0 -1473
- package/src/operations/MachinesShowLease.ts +0 -51
- package/src/operations/MachinesShowMetadata.ts +0 -43
- package/src/operations/MachinesSignal.ts +0 -72
- package/src/operations/MachinesStart.ts +0 -39
- package/src/operations/MachinesStop.ts +0 -60
- package/src/operations/MachinesSuspend.ts +0 -39
- package/src/operations/MachinesUncordon.ts +0 -39
- package/src/operations/MachinesUpdate.ts +0 -2170
- package/src/operations/MachinesUpdateMetadata.ts +0 -47
- package/src/operations/MachinesUpsertMetadata.ts +0 -47
- package/src/operations/MachinesWait.ts +0 -79
- package/src/operations/PlatformPlacementsPost.ts +0 -80
- package/src/operations/PlatformRegionsGet.ts +0 -56
- package/src/operations/SecretCreate.ts +0 -51
- package/src/operations/SecretDelete.ts +0 -39
- package/src/operations/SecretGet.ts +0 -51
- package/src/operations/SecretkeyDecrypt.ts +0 -47
- package/src/operations/SecretkeyDelete.ts +0 -42
- package/src/operations/SecretkeyEncrypt.ts +0 -47
- package/src/operations/SecretkeyGenerate.ts +0 -57
- package/src/operations/SecretkeyGet.ts +0 -48
- package/src/operations/SecretkeySet.ts +0 -53
- package/src/operations/SecretkeySign.ts +0 -45
- package/src/operations/SecretkeyVerify.ts +0 -44
- package/src/operations/SecretkeysList.ts +0 -56
- package/src/operations/SecretsList.ts +0 -56
- package/src/operations/SecretsUpdate.ts +0 -56
- package/src/operations/TokensAuthenticate.ts +0 -54
- package/src/operations/TokensAuthorize.ts +0 -122
- package/src/operations/TokensRequestKms.ts +0 -27
- package/src/operations/TokensRequestOIDC.ts +0 -33
- package/src/operations/TokensRequest_Kms.ts +0 -24
- package/src/operations/TokensRequest_OIDC.ts +0 -26
- package/src/operations/VolumeDelete.ts +0 -81
- package/src/operations/VolumesCreate.ts +0 -128
- package/src/operations/VolumesExtend.ts +0 -94
- package/src/operations/VolumesGetById.ts +0 -81
- package/src/operations/VolumesList.ts +0 -83
- package/src/operations/VolumesListSnapshots.ts +0 -58
- package/src/operations/VolumesOrgList.ts +0 -115
- package/src/operations/VolumesUpdate.ts +0 -85
- package/src/operations/createVolumeSnapshot.ts +0 -40
- package/src/operations/index.ts +0 -76
- package/src/sensitive.ts +0 -4
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { BadRequest } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface MachinesUpdateMetadataInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
machine_version?: string;
|
|
11
|
-
metadata?: Record<string, string>;
|
|
12
|
-
updated_at?: string;
|
|
13
|
-
}
|
|
14
|
-
export const MachinesUpdateMetadataInput =
|
|
15
|
-
/*@__PURE__*/ Schema.Struct({
|
|
16
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
17
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
18
|
-
machine_version: Schema.optional(Schema.String),
|
|
19
|
-
metadata: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
20
|
-
updated_at: Schema.optional(Schema.String),
|
|
21
|
-
}).pipe(
|
|
22
|
-
T.Http({
|
|
23
|
-
method: "PATCH",
|
|
24
|
-
path: "/apps/{app_name}/machines/{machine_id}/metadata",
|
|
25
|
-
}),
|
|
26
|
-
) as unknown as Schema.Codec<MachinesUpdateMetadataInput>;
|
|
27
|
-
|
|
28
|
-
// Output Schema
|
|
29
|
-
export type MachinesUpdateMetadataOutput = void;
|
|
30
|
-
export const MachinesUpdateMetadataOutput =
|
|
31
|
-
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesUpdateMetadataOutput>;
|
|
32
|
-
|
|
33
|
-
// The operation
|
|
34
|
-
/**
|
|
35
|
-
* Update Metadata (set/remove multiple keys)
|
|
36
|
-
*
|
|
37
|
-
* Update multiple metadata keys at once. Null values and empty strings remove keys.
|
|
38
|
-
* + If `machine_version` is provided and no longer matches the current machine version, returns 412 Precondition Failed.
|
|
39
|
-
*
|
|
40
|
-
* @param app_name - Fly App Name
|
|
41
|
-
* @param machine_id - Machine ID
|
|
42
|
-
*/
|
|
43
|
-
export const MachinesUpdateMetadata = /*@__PURE__*/ API.make(() => ({
|
|
44
|
-
inputSchema: MachinesUpdateMetadataInput,
|
|
45
|
-
outputSchema: MachinesUpdateMetadataOutput,
|
|
46
|
-
errors: [BadRequest] as const,
|
|
47
|
-
}));
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface MachinesUpsertMetadataInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
key: string;
|
|
11
|
-
updated_at?: string;
|
|
12
|
-
value?: string;
|
|
13
|
-
}
|
|
14
|
-
export const MachinesUpsertMetadataInput =
|
|
15
|
-
/*@__PURE__*/ Schema.Struct({
|
|
16
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
17
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
18
|
-
key: Schema.String.pipe(T.PathParam()),
|
|
19
|
-
updated_at: Schema.optional(Schema.String),
|
|
20
|
-
value: Schema.optional(Schema.String),
|
|
21
|
-
}).pipe(
|
|
22
|
-
T.Http({
|
|
23
|
-
method: "POST",
|
|
24
|
-
path: "/apps/{app_name}/machines/{machine_id}/metadata/{key}",
|
|
25
|
-
}),
|
|
26
|
-
) as unknown as Schema.Codec<MachinesUpsertMetadataInput>;
|
|
27
|
-
|
|
28
|
-
// Output Schema
|
|
29
|
-
export type MachinesUpsertMetadataOutput = void;
|
|
30
|
-
export const MachinesUpsertMetadataOutput =
|
|
31
|
-
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesUpsertMetadataOutput>;
|
|
32
|
-
|
|
33
|
-
// The operation
|
|
34
|
-
/**
|
|
35
|
-
* Upsert Metadata Key
|
|
36
|
-
*
|
|
37
|
-
* Update metadata for a specific machine within an app by providing a metadata key.
|
|
38
|
-
*
|
|
39
|
-
* @param app_name - Fly App Name
|
|
40
|
-
* @param machine_id - Machine ID
|
|
41
|
-
* @param key - Metadata Key
|
|
42
|
-
*/
|
|
43
|
-
export const MachinesUpsertMetadata = /*@__PURE__*/ API.make(() => ({
|
|
44
|
-
inputSchema: MachinesUpsertMetadataInput,
|
|
45
|
-
outputSchema: MachinesUpsertMetadataOutput,
|
|
46
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
47
|
-
}));
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface MachinesWaitInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
version?: string;
|
|
11
|
-
instance_id?: string;
|
|
12
|
-
from_event_id?: string;
|
|
13
|
-
timeout?: number;
|
|
14
|
-
state?:
|
|
15
|
-
| "started"
|
|
16
|
-
| "stopped"
|
|
17
|
-
| "suspended"
|
|
18
|
-
| "destroyed"
|
|
19
|
-
| "failed"
|
|
20
|
-
| "settled";
|
|
21
|
-
}
|
|
22
|
-
export const MachinesWaitInput = /*@__PURE__*/ Schema.Struct({
|
|
23
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
24
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
25
|
-
version: Schema.optional(Schema.String),
|
|
26
|
-
instance_id: Schema.optional(Schema.String),
|
|
27
|
-
from_event_id: Schema.optional(Schema.String),
|
|
28
|
-
timeout: Schema.optional(Schema.Number),
|
|
29
|
-
state: Schema.optional(
|
|
30
|
-
Schema.Literals([
|
|
31
|
-
"started",
|
|
32
|
-
"stopped",
|
|
33
|
-
"suspended",
|
|
34
|
-
"destroyed",
|
|
35
|
-
"failed",
|
|
36
|
-
"settled",
|
|
37
|
-
]),
|
|
38
|
-
),
|
|
39
|
-
}).pipe(
|
|
40
|
-
T.Http({
|
|
41
|
-
method: "GET",
|
|
42
|
-
path: "/apps/{app_name}/machines/{machine_id}/wait",
|
|
43
|
-
}),
|
|
44
|
-
) as unknown as Schema.Codec<MachinesWaitInput>;
|
|
45
|
-
|
|
46
|
-
// Output Schema
|
|
47
|
-
export interface MachinesWaitOutput {
|
|
48
|
-
event_id?: string;
|
|
49
|
-
ok?: boolean;
|
|
50
|
-
state?: string;
|
|
51
|
-
version?: string;
|
|
52
|
-
}
|
|
53
|
-
export const MachinesWaitOutput = /*@__PURE__*/ Schema.Struct({
|
|
54
|
-
event_id: Schema.optional(Schema.String),
|
|
55
|
-
ok: Schema.optional(Schema.Boolean),
|
|
56
|
-
state: Schema.optional(Schema.String),
|
|
57
|
-
version: Schema.optional(Schema.String),
|
|
58
|
-
}) as unknown as Schema.Codec<MachinesWaitOutput>;
|
|
59
|
-
|
|
60
|
-
// The operation
|
|
61
|
-
/**
|
|
62
|
-
* Wait for State
|
|
63
|
-
*
|
|
64
|
-
* Wait for a Machine to reach a specific state. Specify the desired state with the state parameter. See the [Machine states table](https://fly.io/docs/machines/working-with-machines/#machine-states) for a list of possible states. The default for this parameter is `started`.
|
|
65
|
-
* This request will block for up to 60 seconds. Set a shorter timeout with the timeout parameter.
|
|
66
|
-
*
|
|
67
|
-
* @param app_name - Fly App Name
|
|
68
|
-
* @param machine_id - Machine ID
|
|
69
|
-
* @param version - 26-character Machine version ID
|
|
70
|
-
* @param instance_id - 26-character Machine version ID (deprecated; use version)
|
|
71
|
-
* @param from_event_id - 26-character Machine event ID to start waiting after
|
|
72
|
-
* @param timeout - wait timeout. default 60s
|
|
73
|
-
* @param state - desired state(s), supports repeated or comma-separated values
|
|
74
|
-
*/
|
|
75
|
-
export const MachinesWait = /*@__PURE__*/ API.make(() => ({
|
|
76
|
-
inputSchema: MachinesWaitInput,
|
|
77
|
-
outputSchema: MachinesWaitOutput,
|
|
78
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
79
|
-
}));
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { BadRequest, Forbidden } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface PlatformPlacementsPostInput {
|
|
8
|
-
compute?: {
|
|
9
|
-
cpu_kind?: string;
|
|
10
|
-
cpus?: number;
|
|
11
|
-
gpu_kind?: string;
|
|
12
|
-
gpus?: number;
|
|
13
|
-
host_dedication_id?: string;
|
|
14
|
-
kernel_args?: string[];
|
|
15
|
-
max_memory_mb?: number;
|
|
16
|
-
memory_mb?: number;
|
|
17
|
-
persist_rootfs?: "never" | "always" | "restart";
|
|
18
|
-
};
|
|
19
|
-
count?: number;
|
|
20
|
-
org_slug: string;
|
|
21
|
-
region?: string;
|
|
22
|
-
volume_name?: string;
|
|
23
|
-
volume_size_bytes?: number;
|
|
24
|
-
weights?: Record<string, number>;
|
|
25
|
-
}
|
|
26
|
-
export const PlatformPlacementsPostInput =
|
|
27
|
-
/*@__PURE__*/ Schema.Struct({
|
|
28
|
-
compute: Schema.optional(
|
|
29
|
-
Schema.Struct({
|
|
30
|
-
cpu_kind: Schema.optional(Schema.String),
|
|
31
|
-
cpus: Schema.optional(Schema.Number),
|
|
32
|
-
gpu_kind: Schema.optional(Schema.String),
|
|
33
|
-
gpus: Schema.optional(Schema.Number),
|
|
34
|
-
host_dedication_id: Schema.optional(Schema.String),
|
|
35
|
-
kernel_args: Schema.optional(Schema.Array(Schema.String)),
|
|
36
|
-
max_memory_mb: Schema.optional(Schema.Number),
|
|
37
|
-
memory_mb: Schema.optional(Schema.Number),
|
|
38
|
-
persist_rootfs: Schema.optional(
|
|
39
|
-
Schema.Literals(["never", "always", "restart"]),
|
|
40
|
-
),
|
|
41
|
-
}),
|
|
42
|
-
),
|
|
43
|
-
count: Schema.optional(Schema.Number),
|
|
44
|
-
org_slug: Schema.String,
|
|
45
|
-
region: Schema.optional(Schema.String),
|
|
46
|
-
volume_name: Schema.optional(Schema.String),
|
|
47
|
-
volume_size_bytes: Schema.optional(Schema.Number),
|
|
48
|
-
weights: Schema.optional(Schema.Record(Schema.String, Schema.Number)),
|
|
49
|
-
}).pipe(
|
|
50
|
-
T.Http({ method: "POST", path: "/platform/placements" }),
|
|
51
|
-
) as unknown as Schema.Codec<PlatformPlacementsPostInput>;
|
|
52
|
-
|
|
53
|
-
// Output Schema
|
|
54
|
-
export interface PlatformPlacementsPostOutput {
|
|
55
|
-
regions?: { concurrency?: number; count?: number; region?: string }[];
|
|
56
|
-
}
|
|
57
|
-
export const PlatformPlacementsPostOutput =
|
|
58
|
-
/*@__PURE__*/ Schema.Struct({
|
|
59
|
-
regions: Schema.optional(
|
|
60
|
-
Schema.Array(
|
|
61
|
-
Schema.Struct({
|
|
62
|
-
concurrency: Schema.optional(Schema.Number),
|
|
63
|
-
count: Schema.optional(Schema.Number),
|
|
64
|
-
region: Schema.optional(Schema.String),
|
|
65
|
-
}),
|
|
66
|
-
),
|
|
67
|
-
),
|
|
68
|
-
}) as unknown as Schema.Codec<PlatformPlacementsPostOutput>;
|
|
69
|
-
|
|
70
|
-
// The operation
|
|
71
|
-
/**
|
|
72
|
-
* Get Placements
|
|
73
|
-
*
|
|
74
|
-
* Simulates placing the specified number of machines into regions, depending on available capacity and limits.
|
|
75
|
-
*/
|
|
76
|
-
export const PlatformPlacementsPost = /*@__PURE__*/ API.make(() => ({
|
|
77
|
-
inputSchema: PlatformPlacementsPostInput,
|
|
78
|
-
outputSchema: PlatformPlacementsPostOutput,
|
|
79
|
-
errors: [BadRequest, Forbidden] as const,
|
|
80
|
-
}));
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { Forbidden } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface PlatformRegionsGetInput {}
|
|
8
|
-
export const PlatformRegionsGetInput =
|
|
9
|
-
/*@__PURE__*/ Schema.Struct({}).pipe(
|
|
10
|
-
T.Http({ method: "GET", path: "/platform/regions" }),
|
|
11
|
-
) as unknown as Schema.Codec<PlatformRegionsGetInput>;
|
|
12
|
-
|
|
13
|
-
// Output Schema
|
|
14
|
-
export interface PlatformRegionsGetOutput {
|
|
15
|
-
nearest?: string;
|
|
16
|
-
regions?: {
|
|
17
|
-
code?: string;
|
|
18
|
-
deprecated?: boolean;
|
|
19
|
-
gateway_available?: boolean;
|
|
20
|
-
geo_region?: string;
|
|
21
|
-
latitude?: number;
|
|
22
|
-
longitude?: number;
|
|
23
|
-
name?: string;
|
|
24
|
-
requires_paid_plan?: boolean;
|
|
25
|
-
}[];
|
|
26
|
-
}
|
|
27
|
-
export const PlatformRegionsGetOutput =
|
|
28
|
-
/*@__PURE__*/ Schema.Struct({
|
|
29
|
-
nearest: Schema.optional(Schema.String),
|
|
30
|
-
regions: Schema.optional(
|
|
31
|
-
Schema.Array(
|
|
32
|
-
Schema.Struct({
|
|
33
|
-
code: Schema.optional(Schema.String),
|
|
34
|
-
deprecated: Schema.optional(Schema.Boolean),
|
|
35
|
-
gateway_available: Schema.optional(Schema.Boolean),
|
|
36
|
-
geo_region: Schema.optional(Schema.String),
|
|
37
|
-
latitude: Schema.optional(Schema.Number),
|
|
38
|
-
longitude: Schema.optional(Schema.Number),
|
|
39
|
-
name: Schema.optional(Schema.String),
|
|
40
|
-
requires_paid_plan: Schema.optional(Schema.Boolean),
|
|
41
|
-
}),
|
|
42
|
-
),
|
|
43
|
-
),
|
|
44
|
-
}) as unknown as Schema.Codec<PlatformRegionsGetOutput>;
|
|
45
|
-
|
|
46
|
-
// The operation
|
|
47
|
-
/**
|
|
48
|
-
* Get Regions
|
|
49
|
-
*
|
|
50
|
-
* List all regions on the platform with their details.
|
|
51
|
-
*/
|
|
52
|
-
export const PlatformRegionsGet = /*@__PURE__*/ API.make(() => ({
|
|
53
|
-
inputSchema: PlatformRegionsGetInput,
|
|
54
|
-
outputSchema: PlatformRegionsGetOutput,
|
|
55
|
-
errors: [Forbidden] as const,
|
|
56
|
-
}));
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface SecretCreateInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
secret_name: string;
|
|
10
|
-
value?: string;
|
|
11
|
-
}
|
|
12
|
-
export const SecretCreateInput = /*@__PURE__*/ Schema.Struct({
|
|
13
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
|
-
secret_name: Schema.String.pipe(T.PathParam()),
|
|
15
|
-
value: Schema.optional(Schema.String),
|
|
16
|
-
}).pipe(
|
|
17
|
-
T.Http({ method: "POST", path: "/apps/{app_name}/secrets/{secret_name}" }),
|
|
18
|
-
) as unknown as Schema.Codec<SecretCreateInput>;
|
|
19
|
-
|
|
20
|
-
// Output Schema
|
|
21
|
-
export interface SecretCreateOutput {
|
|
22
|
-
Version?: number;
|
|
23
|
-
created_at?: string;
|
|
24
|
-
digest?: string;
|
|
25
|
-
name?: string;
|
|
26
|
-
updated_at?: string;
|
|
27
|
-
value?: string;
|
|
28
|
-
version?: number;
|
|
29
|
-
}
|
|
30
|
-
export const SecretCreateOutput = /*@__PURE__*/ Schema.Struct({
|
|
31
|
-
Version: Schema.optional(Schema.Number),
|
|
32
|
-
created_at: Schema.optional(Schema.String),
|
|
33
|
-
digest: Schema.optional(Schema.String),
|
|
34
|
-
name: Schema.optional(Schema.String),
|
|
35
|
-
updated_at: Schema.optional(Schema.String),
|
|
36
|
-
value: Schema.optional(Schema.String),
|
|
37
|
-
version: Schema.optional(Schema.Number),
|
|
38
|
-
}) as unknown as Schema.Codec<SecretCreateOutput>;
|
|
39
|
-
|
|
40
|
-
// The operation
|
|
41
|
-
/**
|
|
42
|
-
* Create or update Secret
|
|
43
|
-
*
|
|
44
|
-
* @param app_name - Fly App Name
|
|
45
|
-
* @param secret_name - App secret name
|
|
46
|
-
*/
|
|
47
|
-
export const SecretCreate = /*@__PURE__*/ API.make(() => ({
|
|
48
|
-
inputSchema: SecretCreateInput,
|
|
49
|
-
outputSchema: SecretCreateOutput,
|
|
50
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
51
|
-
}));
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface SecretDeleteInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
secret_name: string;
|
|
10
|
-
}
|
|
11
|
-
export const SecretDeleteInput = /*@__PURE__*/ Schema.Struct({
|
|
12
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
|
-
secret_name: Schema.String.pipe(T.PathParam()),
|
|
14
|
-
}).pipe(
|
|
15
|
-
T.Http({ method: "DELETE", path: "/apps/{app_name}/secrets/{secret_name}" }),
|
|
16
|
-
) as unknown as Schema.Codec<SecretDeleteInput>;
|
|
17
|
-
|
|
18
|
-
// Output Schema
|
|
19
|
-
export interface SecretDeleteOutput {
|
|
20
|
-
Version?: number;
|
|
21
|
-
version?: number;
|
|
22
|
-
}
|
|
23
|
-
export const SecretDeleteOutput = /*@__PURE__*/ Schema.Struct({
|
|
24
|
-
Version: Schema.optional(Schema.Number),
|
|
25
|
-
version: Schema.optional(Schema.Number),
|
|
26
|
-
}) as unknown as Schema.Codec<SecretDeleteOutput>;
|
|
27
|
-
|
|
28
|
-
// The operation
|
|
29
|
-
/**
|
|
30
|
-
* Delete an app secret
|
|
31
|
-
*
|
|
32
|
-
* @param app_name - Fly App Name
|
|
33
|
-
* @param secret_name - App secret name
|
|
34
|
-
*/
|
|
35
|
-
export const SecretDelete = /*@__PURE__*/ API.make(() => ({
|
|
36
|
-
inputSchema: SecretDeleteInput,
|
|
37
|
-
outputSchema: SecretDeleteOutput,
|
|
38
|
-
errors: [Forbidden, NotFound] as const,
|
|
39
|
-
}));
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface SecretGetInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
secret_name: string;
|
|
10
|
-
min_version?: string;
|
|
11
|
-
show_secrets?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export const SecretGetInput = /*@__PURE__*/ Schema.Struct({
|
|
14
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
15
|
-
secret_name: Schema.String.pipe(T.PathParam()),
|
|
16
|
-
min_version: Schema.optional(Schema.String),
|
|
17
|
-
show_secrets: Schema.optional(Schema.Boolean),
|
|
18
|
-
}).pipe(
|
|
19
|
-
T.Http({ method: "GET", path: "/apps/{app_name}/secrets/{secret_name}" }),
|
|
20
|
-
) as unknown as Schema.Codec<SecretGetInput>;
|
|
21
|
-
|
|
22
|
-
// Output Schema
|
|
23
|
-
export interface SecretGetOutput {
|
|
24
|
-
created_at?: string;
|
|
25
|
-
digest?: string;
|
|
26
|
-
name?: string;
|
|
27
|
-
updated_at?: string;
|
|
28
|
-
value?: string;
|
|
29
|
-
}
|
|
30
|
-
export const SecretGetOutput = /*@__PURE__*/ Schema.Struct({
|
|
31
|
-
created_at: Schema.optional(Schema.String),
|
|
32
|
-
digest: Schema.optional(Schema.String),
|
|
33
|
-
name: Schema.optional(Schema.String),
|
|
34
|
-
updated_at: Schema.optional(Schema.String),
|
|
35
|
-
value: Schema.optional(Schema.String),
|
|
36
|
-
}) as unknown as Schema.Codec<SecretGetOutput>;
|
|
37
|
-
|
|
38
|
-
// The operation
|
|
39
|
-
/**
|
|
40
|
-
* Get an app secret
|
|
41
|
-
*
|
|
42
|
-
* @param app_name - Fly App Name
|
|
43
|
-
* @param secret_name - App secret name
|
|
44
|
-
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
45
|
-
* @param show_secrets - Show the secret value.
|
|
46
|
-
*/
|
|
47
|
-
export const SecretGet = /*@__PURE__*/ API.make(() => ({
|
|
48
|
-
inputSchema: SecretGetInput,
|
|
49
|
-
outputSchema: SecretGetOutput,
|
|
50
|
-
errors: [Forbidden, NotFound] as const,
|
|
51
|
-
}));
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface SecretkeyDecryptInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
secret_name: string;
|
|
10
|
-
min_version?: string;
|
|
11
|
-
associated_data?: number[];
|
|
12
|
-
ciphertext?: number[];
|
|
13
|
-
}
|
|
14
|
-
export const SecretkeyDecryptInput = /*@__PURE__*/ Schema.Struct({
|
|
15
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
16
|
-
secret_name: Schema.String.pipe(T.PathParam()),
|
|
17
|
-
min_version: Schema.optional(Schema.String),
|
|
18
|
-
associated_data: Schema.optional(Schema.Array(Schema.Number)),
|
|
19
|
-
ciphertext: Schema.optional(Schema.Array(Schema.Number)),
|
|
20
|
-
}).pipe(
|
|
21
|
-
T.Http({
|
|
22
|
-
method: "POST",
|
|
23
|
-
path: "/apps/{app_name}/secretkeys/{secret_name}/decrypt",
|
|
24
|
-
}),
|
|
25
|
-
) as unknown as Schema.Codec<SecretkeyDecryptInput>;
|
|
26
|
-
|
|
27
|
-
// Output Schema
|
|
28
|
-
export interface SecretkeyDecryptOutput {
|
|
29
|
-
plaintext?: number[];
|
|
30
|
-
}
|
|
31
|
-
export const SecretkeyDecryptOutput = /*@__PURE__*/ Schema.Struct({
|
|
32
|
-
plaintext: Schema.optional(Schema.Array(Schema.Number)),
|
|
33
|
-
}) as unknown as Schema.Codec<SecretkeyDecryptOutput>;
|
|
34
|
-
|
|
35
|
-
// The operation
|
|
36
|
-
/**
|
|
37
|
-
* Decrypt with a secret key
|
|
38
|
-
*
|
|
39
|
-
* @param app_name - Fly App Name
|
|
40
|
-
* @param secret_name - Secret key name
|
|
41
|
-
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
42
|
-
*/
|
|
43
|
-
export const SecretkeyDecrypt = /*@__PURE__*/ API.make(() => ({
|
|
44
|
-
inputSchema: SecretkeyDecryptInput,
|
|
45
|
-
outputSchema: SecretkeyDecryptOutput,
|
|
46
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
47
|
-
}));
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface SecretkeyDeleteInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
secret_name: string;
|
|
10
|
-
}
|
|
11
|
-
export const SecretkeyDeleteInput = /*@__PURE__*/ Schema.Struct({
|
|
12
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
|
-
secret_name: Schema.String.pipe(T.PathParam()),
|
|
14
|
-
}).pipe(
|
|
15
|
-
T.Http({
|
|
16
|
-
method: "DELETE",
|
|
17
|
-
path: "/apps/{app_name}/secretkeys/{secret_name}",
|
|
18
|
-
}),
|
|
19
|
-
) as unknown as Schema.Codec<SecretkeyDeleteInput>;
|
|
20
|
-
|
|
21
|
-
// Output Schema
|
|
22
|
-
export interface SecretkeyDeleteOutput {
|
|
23
|
-
Version?: number;
|
|
24
|
-
version?: number;
|
|
25
|
-
}
|
|
26
|
-
export const SecretkeyDeleteOutput = /*@__PURE__*/ Schema.Struct({
|
|
27
|
-
Version: Schema.optional(Schema.Number),
|
|
28
|
-
version: Schema.optional(Schema.Number),
|
|
29
|
-
}) as unknown as Schema.Codec<SecretkeyDeleteOutput>;
|
|
30
|
-
|
|
31
|
-
// The operation
|
|
32
|
-
/**
|
|
33
|
-
* Delete an app's secret key
|
|
34
|
-
*
|
|
35
|
-
* @param app_name - Fly App Name
|
|
36
|
-
* @param secret_name - Secret key name
|
|
37
|
-
*/
|
|
38
|
-
export const SecretkeyDelete = /*@__PURE__*/ API.make(() => ({
|
|
39
|
-
inputSchema: SecretkeyDeleteInput,
|
|
40
|
-
outputSchema: SecretkeyDeleteOutput,
|
|
41
|
-
errors: [Forbidden, NotFound] as const,
|
|
42
|
-
}));
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface SecretkeyEncryptInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
secret_name: string;
|
|
10
|
-
min_version?: string;
|
|
11
|
-
associated_data?: number[];
|
|
12
|
-
plaintext?: number[];
|
|
13
|
-
}
|
|
14
|
-
export const SecretkeyEncryptInput = /*@__PURE__*/ Schema.Struct({
|
|
15
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
16
|
-
secret_name: Schema.String.pipe(T.PathParam()),
|
|
17
|
-
min_version: Schema.optional(Schema.String),
|
|
18
|
-
associated_data: Schema.optional(Schema.Array(Schema.Number)),
|
|
19
|
-
plaintext: Schema.optional(Schema.Array(Schema.Number)),
|
|
20
|
-
}).pipe(
|
|
21
|
-
T.Http({
|
|
22
|
-
method: "POST",
|
|
23
|
-
path: "/apps/{app_name}/secretkeys/{secret_name}/encrypt",
|
|
24
|
-
}),
|
|
25
|
-
) as unknown as Schema.Codec<SecretkeyEncryptInput>;
|
|
26
|
-
|
|
27
|
-
// Output Schema
|
|
28
|
-
export interface SecretkeyEncryptOutput {
|
|
29
|
-
ciphertext?: number[];
|
|
30
|
-
}
|
|
31
|
-
export const SecretkeyEncryptOutput = /*@__PURE__*/ Schema.Struct({
|
|
32
|
-
ciphertext: Schema.optional(Schema.Array(Schema.Number)),
|
|
33
|
-
}) as unknown as Schema.Codec<SecretkeyEncryptOutput>;
|
|
34
|
-
|
|
35
|
-
// The operation
|
|
36
|
-
/**
|
|
37
|
-
* Encrypt with a secret key
|
|
38
|
-
*
|
|
39
|
-
* @param app_name - Fly App Name
|
|
40
|
-
* @param secret_name - Secret key name
|
|
41
|
-
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
42
|
-
*/
|
|
43
|
-
export const SecretkeyEncrypt = /*@__PURE__*/ API.make(() => ({
|
|
44
|
-
inputSchema: SecretkeyEncryptInput,
|
|
45
|
-
outputSchema: SecretkeyEncryptOutput,
|
|
46
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
47
|
-
}));
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface SecretkeyGenerateInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
secret_name: string;
|
|
10
|
-
type?: string;
|
|
11
|
-
value?: number[];
|
|
12
|
-
}
|
|
13
|
-
export const SecretkeyGenerateInput = /*@__PURE__*/ Schema.Struct({
|
|
14
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
15
|
-
secret_name: Schema.String.pipe(T.PathParam()),
|
|
16
|
-
type: Schema.optional(Schema.String),
|
|
17
|
-
value: Schema.optional(Schema.Array(Schema.Number)),
|
|
18
|
-
}).pipe(
|
|
19
|
-
T.Http({
|
|
20
|
-
method: "POST",
|
|
21
|
-
path: "/apps/{app_name}/secretkeys/{secret_name}/generate",
|
|
22
|
-
}),
|
|
23
|
-
) as unknown as Schema.Codec<SecretkeyGenerateInput>;
|
|
24
|
-
|
|
25
|
-
// Output Schema
|
|
26
|
-
export interface SecretkeyGenerateOutput {
|
|
27
|
-
Version?: number;
|
|
28
|
-
created_at?: string;
|
|
29
|
-
name?: string;
|
|
30
|
-
public_key?: number[];
|
|
31
|
-
type?: string;
|
|
32
|
-
updated_at?: string;
|
|
33
|
-
version?: number;
|
|
34
|
-
}
|
|
35
|
-
export const SecretkeyGenerateOutput =
|
|
36
|
-
/*@__PURE__*/ Schema.Struct({
|
|
37
|
-
Version: Schema.optional(Schema.Number),
|
|
38
|
-
created_at: Schema.optional(Schema.String),
|
|
39
|
-
name: Schema.optional(Schema.String),
|
|
40
|
-
public_key: Schema.optional(Schema.Array(Schema.Number)),
|
|
41
|
-
type: Schema.optional(Schema.String),
|
|
42
|
-
updated_at: Schema.optional(Schema.String),
|
|
43
|
-
version: Schema.optional(Schema.Number),
|
|
44
|
-
}) as unknown as Schema.Codec<SecretkeyGenerateOutput>;
|
|
45
|
-
|
|
46
|
-
// The operation
|
|
47
|
-
/**
|
|
48
|
-
* Generate a random secret key
|
|
49
|
-
*
|
|
50
|
-
* @param app_name - Fly App Name
|
|
51
|
-
* @param secret_name - Secret key name
|
|
52
|
-
*/
|
|
53
|
-
export const SecretkeyGenerate = /*@__PURE__*/ API.make(() => ({
|
|
54
|
-
inputSchema: SecretkeyGenerateInput,
|
|
55
|
-
outputSchema: SecretkeyGenerateOutput,
|
|
56
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
57
|
-
}));
|