@distilled.cloud/fly-io 0.30.3 → 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,48 +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 SecretkeyGetInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
secret_name: string;
|
|
10
|
-
min_version?: string;
|
|
11
|
-
}
|
|
12
|
-
export const SecretkeyGetInput = /*@__PURE__*/ Schema.Struct({
|
|
13
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
|
-
secret_name: Schema.String.pipe(T.PathParam()),
|
|
15
|
-
min_version: Schema.optional(Schema.String),
|
|
16
|
-
}).pipe(
|
|
17
|
-
T.Http({ method: "GET", path: "/apps/{app_name}/secretkeys/{secret_name}" }),
|
|
18
|
-
) as unknown as Schema.Codec<SecretkeyGetInput>;
|
|
19
|
-
|
|
20
|
-
// Output Schema
|
|
21
|
-
export interface SecretkeyGetOutput {
|
|
22
|
-
created_at?: string;
|
|
23
|
-
name?: string;
|
|
24
|
-
public_key?: number[];
|
|
25
|
-
type?: string;
|
|
26
|
-
updated_at?: string;
|
|
27
|
-
}
|
|
28
|
-
export const SecretkeyGetOutput = /*@__PURE__*/ Schema.Struct({
|
|
29
|
-
created_at: Schema.optional(Schema.String),
|
|
30
|
-
name: Schema.optional(Schema.String),
|
|
31
|
-
public_key: Schema.optional(Schema.Array(Schema.Number)),
|
|
32
|
-
type: Schema.optional(Schema.String),
|
|
33
|
-
updated_at: Schema.optional(Schema.String),
|
|
34
|
-
}) as unknown as Schema.Codec<SecretkeyGetOutput>;
|
|
35
|
-
|
|
36
|
-
// The operation
|
|
37
|
-
/**
|
|
38
|
-
* Get an app's secret key
|
|
39
|
-
*
|
|
40
|
-
* @param app_name - Fly App Name
|
|
41
|
-
* @param secret_name - Secret key name
|
|
42
|
-
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
43
|
-
*/
|
|
44
|
-
export const SecretkeyGet = /*@__PURE__*/ API.make(() => ({
|
|
45
|
-
inputSchema: SecretkeyGetInput,
|
|
46
|
-
outputSchema: SecretkeyGetOutput,
|
|
47
|
-
errors: [Forbidden, NotFound] as const,
|
|
48
|
-
}));
|
|
@@ -1,53 +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 SecretkeySetInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
secret_name: string;
|
|
10
|
-
type?: string;
|
|
11
|
-
value?: number[];
|
|
12
|
-
}
|
|
13
|
-
export const SecretkeySetInput = /*@__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({ method: "POST", path: "/apps/{app_name}/secretkeys/{secret_name}" }),
|
|
20
|
-
) as unknown as Schema.Codec<SecretkeySetInput>;
|
|
21
|
-
|
|
22
|
-
// Output Schema
|
|
23
|
-
export interface SecretkeySetOutput {
|
|
24
|
-
Version?: number;
|
|
25
|
-
created_at?: string;
|
|
26
|
-
name?: string;
|
|
27
|
-
public_key?: number[];
|
|
28
|
-
type?: string;
|
|
29
|
-
updated_at?: string;
|
|
30
|
-
version?: number;
|
|
31
|
-
}
|
|
32
|
-
export const SecretkeySetOutput = /*@__PURE__*/ Schema.Struct({
|
|
33
|
-
Version: Schema.optional(Schema.Number),
|
|
34
|
-
created_at: Schema.optional(Schema.String),
|
|
35
|
-
name: Schema.optional(Schema.String),
|
|
36
|
-
public_key: Schema.optional(Schema.Array(Schema.Number)),
|
|
37
|
-
type: Schema.optional(Schema.String),
|
|
38
|
-
updated_at: Schema.optional(Schema.String),
|
|
39
|
-
version: Schema.optional(Schema.Number),
|
|
40
|
-
}) as unknown as Schema.Codec<SecretkeySetOutput>;
|
|
41
|
-
|
|
42
|
-
// The operation
|
|
43
|
-
/**
|
|
44
|
-
* Create or update a secret key
|
|
45
|
-
*
|
|
46
|
-
* @param app_name - Fly App Name
|
|
47
|
-
* @param secret_name - Secret key name
|
|
48
|
-
*/
|
|
49
|
-
export const SecretkeySet = /*@__PURE__*/ API.make(() => ({
|
|
50
|
-
inputSchema: SecretkeySetInput,
|
|
51
|
-
outputSchema: SecretkeySetOutput,
|
|
52
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
53
|
-
}));
|
|
@@ -1,45 +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 SecretkeySignInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
secret_name: string;
|
|
10
|
-
min_version?: string;
|
|
11
|
-
plaintext?: number[];
|
|
12
|
-
}
|
|
13
|
-
export const SecretkeySignInput = /*@__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
|
-
plaintext: Schema.optional(Schema.Array(Schema.Number)),
|
|
18
|
-
}).pipe(
|
|
19
|
-
T.Http({
|
|
20
|
-
method: "POST",
|
|
21
|
-
path: "/apps/{app_name}/secretkeys/{secret_name}/sign",
|
|
22
|
-
}),
|
|
23
|
-
) as unknown as Schema.Codec<SecretkeySignInput>;
|
|
24
|
-
|
|
25
|
-
// Output Schema
|
|
26
|
-
export interface SecretkeySignOutput {
|
|
27
|
-
signature?: number[];
|
|
28
|
-
}
|
|
29
|
-
export const SecretkeySignOutput = /*@__PURE__*/ Schema.Struct({
|
|
30
|
-
signature: Schema.optional(Schema.Array(Schema.Number)),
|
|
31
|
-
}) as unknown as Schema.Codec<SecretkeySignOutput>;
|
|
32
|
-
|
|
33
|
-
// The operation
|
|
34
|
-
/**
|
|
35
|
-
* Sign with a secret key
|
|
36
|
-
*
|
|
37
|
-
* @param app_name - Fly App Name
|
|
38
|
-
* @param secret_name - Secret key name
|
|
39
|
-
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
40
|
-
*/
|
|
41
|
-
export const SecretkeySign = /*@__PURE__*/ API.make(() => ({
|
|
42
|
-
inputSchema: SecretkeySignInput,
|
|
43
|
-
outputSchema: SecretkeySignOutput,
|
|
44
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
45
|
-
}));
|
|
@@ -1,44 +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 SecretkeyVerifyInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
secret_name: string;
|
|
10
|
-
min_version?: string;
|
|
11
|
-
plaintext?: number[];
|
|
12
|
-
signature?: number[];
|
|
13
|
-
}
|
|
14
|
-
export const SecretkeyVerifyInput = /*@__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
|
-
plaintext: Schema.optional(Schema.Array(Schema.Number)),
|
|
19
|
-
signature: Schema.optional(Schema.Array(Schema.Number)),
|
|
20
|
-
}).pipe(
|
|
21
|
-
T.Http({
|
|
22
|
-
method: "POST",
|
|
23
|
-
path: "/apps/{app_name}/secretkeys/{secret_name}/verify",
|
|
24
|
-
}),
|
|
25
|
-
) as unknown as Schema.Codec<SecretkeyVerifyInput>;
|
|
26
|
-
|
|
27
|
-
// Output Schema
|
|
28
|
-
export type SecretkeyVerifyOutput = void;
|
|
29
|
-
export const SecretkeyVerifyOutput =
|
|
30
|
-
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<SecretkeyVerifyOutput>;
|
|
31
|
-
|
|
32
|
-
// The operation
|
|
33
|
-
/**
|
|
34
|
-
* Verify with a secret key
|
|
35
|
-
*
|
|
36
|
-
* @param app_name - Fly App Name
|
|
37
|
-
* @param secret_name - Secret key name
|
|
38
|
-
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
39
|
-
*/
|
|
40
|
-
export const SecretkeyVerify = /*@__PURE__*/ API.make(() => ({
|
|
41
|
-
inputSchema: SecretkeyVerifyInput,
|
|
42
|
-
outputSchema: SecretkeyVerifyOutput,
|
|
43
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
44
|
-
}));
|
|
@@ -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, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface SecretkeysListInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
min_version?: string;
|
|
10
|
-
types?: string;
|
|
11
|
-
}
|
|
12
|
-
export const SecretkeysListInput = /*@__PURE__*/ Schema.Struct({
|
|
13
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
|
-
min_version: Schema.optional(Schema.String),
|
|
15
|
-
types: Schema.optional(Schema.String),
|
|
16
|
-
}).pipe(
|
|
17
|
-
T.Http({ method: "GET", path: "/apps/{app_name}/secretkeys" }),
|
|
18
|
-
) as unknown as Schema.Codec<SecretkeysListInput>;
|
|
19
|
-
|
|
20
|
-
// Output Schema
|
|
21
|
-
export interface SecretkeysListOutput {
|
|
22
|
-
secret_keys?: {
|
|
23
|
-
created_at?: string;
|
|
24
|
-
name?: string;
|
|
25
|
-
public_key?: number[];
|
|
26
|
-
type?: string;
|
|
27
|
-
updated_at?: string;
|
|
28
|
-
}[];
|
|
29
|
-
}
|
|
30
|
-
export const SecretkeysListOutput = /*@__PURE__*/ Schema.Struct({
|
|
31
|
-
secret_keys: Schema.optional(
|
|
32
|
-
Schema.Array(
|
|
33
|
-
Schema.Struct({
|
|
34
|
-
created_at: Schema.optional(Schema.String),
|
|
35
|
-
name: Schema.optional(Schema.String),
|
|
36
|
-
public_key: Schema.optional(Schema.Array(Schema.Number)),
|
|
37
|
-
type: Schema.optional(Schema.String),
|
|
38
|
-
updated_at: Schema.optional(Schema.String),
|
|
39
|
-
}),
|
|
40
|
-
),
|
|
41
|
-
),
|
|
42
|
-
}) as unknown as Schema.Codec<SecretkeysListOutput>;
|
|
43
|
-
|
|
44
|
-
// The operation
|
|
45
|
-
/**
|
|
46
|
-
* List secret keys belonging to an app
|
|
47
|
-
*
|
|
48
|
-
* @param app_name - Fly App Name
|
|
49
|
-
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
50
|
-
* @param types - Comma-seperated list of secret keys to list
|
|
51
|
-
*/
|
|
52
|
-
export const SecretkeysList = /*@__PURE__*/ API.make(() => ({
|
|
53
|
-
inputSchema: SecretkeysListInput,
|
|
54
|
-
outputSchema: SecretkeysListOutput,
|
|
55
|
-
errors: [Forbidden, NotFound] as const,
|
|
56
|
-
}));
|
|
@@ -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, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface SecretsListInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
min_version?: string;
|
|
10
|
-
show_secrets?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export const SecretsListInput = /*@__PURE__*/ Schema.Struct({
|
|
13
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
|
-
min_version: Schema.optional(Schema.String),
|
|
15
|
-
show_secrets: Schema.optional(Schema.Boolean),
|
|
16
|
-
}).pipe(
|
|
17
|
-
T.Http({ method: "GET", path: "/apps/{app_name}/secrets" }),
|
|
18
|
-
) as unknown as Schema.Codec<SecretsListInput>;
|
|
19
|
-
|
|
20
|
-
// Output Schema
|
|
21
|
-
export interface SecretsListOutput {
|
|
22
|
-
secrets?: {
|
|
23
|
-
created_at?: string;
|
|
24
|
-
digest?: string;
|
|
25
|
-
name?: string;
|
|
26
|
-
updated_at?: string;
|
|
27
|
-
value?: string;
|
|
28
|
-
}[];
|
|
29
|
-
}
|
|
30
|
-
export const SecretsListOutput = /*@__PURE__*/ Schema.Struct({
|
|
31
|
-
secrets: Schema.optional(
|
|
32
|
-
Schema.Array(
|
|
33
|
-
Schema.Struct({
|
|
34
|
-
created_at: Schema.optional(Schema.String),
|
|
35
|
-
digest: Schema.optional(Schema.String),
|
|
36
|
-
name: Schema.optional(Schema.String),
|
|
37
|
-
updated_at: Schema.optional(Schema.String),
|
|
38
|
-
value: Schema.optional(Schema.String),
|
|
39
|
-
}),
|
|
40
|
-
),
|
|
41
|
-
),
|
|
42
|
-
}) as unknown as Schema.Codec<SecretsListOutput>;
|
|
43
|
-
|
|
44
|
-
// The operation
|
|
45
|
-
/**
|
|
46
|
-
* List app secrets belonging to an app
|
|
47
|
-
*
|
|
48
|
-
* @param app_name - Fly App Name
|
|
49
|
-
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
50
|
-
* @param show_secrets - Show the secret values.
|
|
51
|
-
*/
|
|
52
|
-
export const SecretsList = /*@__PURE__*/ API.make(() => ({
|
|
53
|
-
inputSchema: SecretsListInput,
|
|
54
|
-
outputSchema: SecretsListOutput,
|
|
55
|
-
errors: [Forbidden, NotFound] as const,
|
|
56
|
-
}));
|
|
@@ -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 { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface SecretsUpdateInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
values?: Record<string, string>;
|
|
10
|
-
}
|
|
11
|
-
export const SecretsUpdateInput = /*@__PURE__*/ Schema.Struct({
|
|
12
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
|
-
values: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
14
|
-
}).pipe(
|
|
15
|
-
T.Http({ method: "POST", path: "/apps/{app_name}/secrets" }),
|
|
16
|
-
) as unknown as Schema.Codec<SecretsUpdateInput>;
|
|
17
|
-
|
|
18
|
-
// Output Schema
|
|
19
|
-
export interface SecretsUpdateOutput {
|
|
20
|
-
Version?: number;
|
|
21
|
-
secrets?: {
|
|
22
|
-
created_at?: string;
|
|
23
|
-
digest?: string;
|
|
24
|
-
name?: string;
|
|
25
|
-
updated_at?: string;
|
|
26
|
-
value?: string;
|
|
27
|
-
}[];
|
|
28
|
-
version?: number;
|
|
29
|
-
}
|
|
30
|
-
export const SecretsUpdateOutput = /*@__PURE__*/ Schema.Struct({
|
|
31
|
-
Version: Schema.optional(Schema.Number),
|
|
32
|
-
secrets: Schema.optional(
|
|
33
|
-
Schema.Array(
|
|
34
|
-
Schema.Struct({
|
|
35
|
-
created_at: Schema.optional(Schema.String),
|
|
36
|
-
digest: Schema.optional(Schema.String),
|
|
37
|
-
name: Schema.optional(Schema.String),
|
|
38
|
-
updated_at: Schema.optional(Schema.String),
|
|
39
|
-
value: Schema.optional(Schema.String),
|
|
40
|
-
}),
|
|
41
|
-
),
|
|
42
|
-
),
|
|
43
|
-
version: Schema.optional(Schema.Number),
|
|
44
|
-
}) as unknown as Schema.Codec<SecretsUpdateOutput>;
|
|
45
|
-
|
|
46
|
-
// The operation
|
|
47
|
-
/**
|
|
48
|
-
* Update app secrets belonging to an app
|
|
49
|
-
*
|
|
50
|
-
* @param app_name - Fly App Name
|
|
51
|
-
*/
|
|
52
|
-
export const SecretsUpdate = /*@__PURE__*/ API.make(() => ({
|
|
53
|
-
inputSchema: SecretsUpdateInput,
|
|
54
|
-
outputSchema: SecretsUpdateOutput,
|
|
55
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
56
|
-
}));
|
|
@@ -1,54 +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 TokensAuthenticateInput {
|
|
8
|
-
header?: string;
|
|
9
|
-
}
|
|
10
|
-
export const TokensAuthenticateInput =
|
|
11
|
-
/*@__PURE__*/ Schema.Struct({
|
|
12
|
-
header: Schema.optional(Schema.String),
|
|
13
|
-
}).pipe(
|
|
14
|
-
T.Http({ method: "POST", path: "/tokens/authenticate" }),
|
|
15
|
-
) as unknown as Schema.Codec<TokensAuthenticateInput>;
|
|
16
|
-
|
|
17
|
-
// Output Schema
|
|
18
|
-
export type TokensAuthenticateOutput = {
|
|
19
|
-
caveats?: { caveats?: unknown[] };
|
|
20
|
-
header?: string;
|
|
21
|
-
nonce?: { kid?: number[]; proof?: boolean; rnd?: number[] };
|
|
22
|
-
permission_token?: number[];
|
|
23
|
-
}[];
|
|
24
|
-
export const TokensAuthenticateOutput =
|
|
25
|
-
/*@__PURE__*/ Schema.Array(
|
|
26
|
-
Schema.Struct({
|
|
27
|
-
caveats: Schema.optional(
|
|
28
|
-
Schema.Struct({
|
|
29
|
-
caveats: Schema.optional(Schema.Array(Schema.Unknown)),
|
|
30
|
-
}),
|
|
31
|
-
),
|
|
32
|
-
header: Schema.optional(Schema.String),
|
|
33
|
-
nonce: Schema.optional(
|
|
34
|
-
Schema.Struct({
|
|
35
|
-
kid: Schema.optional(Schema.Array(Schema.Number)),
|
|
36
|
-
proof: Schema.optional(Schema.Boolean),
|
|
37
|
-
rnd: Schema.optional(Schema.Array(Schema.Number)),
|
|
38
|
-
}),
|
|
39
|
-
),
|
|
40
|
-
permission_token: Schema.optional(Schema.Array(Schema.Number)),
|
|
41
|
-
}),
|
|
42
|
-
) as unknown as Schema.Codec<TokensAuthenticateOutput>;
|
|
43
|
-
|
|
44
|
-
// The operation
|
|
45
|
-
/**
|
|
46
|
-
* Authenticate token header
|
|
47
|
-
*
|
|
48
|
-
* Verify a token header without checking resource access.
|
|
49
|
-
*/
|
|
50
|
-
export const TokensAuthenticate = /*@__PURE__*/ API.make(() => ({
|
|
51
|
-
inputSchema: TokensAuthenticateInput,
|
|
52
|
-
outputSchema: TokensAuthenticateOutput,
|
|
53
|
-
errors: [BadRequest] as const,
|
|
54
|
-
}));
|
|
@@ -1,122 +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 TokensAuthorizeInput {
|
|
8
|
-
access?: {
|
|
9
|
-
action?: 1 | 2 | 4 | 8 | 16 | 31 | 0;
|
|
10
|
-
app_feature?: string;
|
|
11
|
-
app_name?: string;
|
|
12
|
-
command?: string[];
|
|
13
|
-
machine_feature?: string;
|
|
14
|
-
machine_id?: string;
|
|
15
|
-
mutation?: string;
|
|
16
|
-
org_feature?: string;
|
|
17
|
-
org_slug?: string;
|
|
18
|
-
source_machine?: string;
|
|
19
|
-
storage_object?: string;
|
|
20
|
-
volume_id?: string;
|
|
21
|
-
};
|
|
22
|
-
header?: string;
|
|
23
|
-
}
|
|
24
|
-
export const TokensAuthorizeInput = /*@__PURE__*/ Schema.Struct({
|
|
25
|
-
access: Schema.optional(
|
|
26
|
-
Schema.Struct({
|
|
27
|
-
action: Schema.optional(Schema.Literals([1, 2, 4, 8, 16, 31, 0])),
|
|
28
|
-
app_feature: Schema.optional(Schema.String),
|
|
29
|
-
app_name: Schema.optional(Schema.String),
|
|
30
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
31
|
-
machine_feature: Schema.optional(Schema.String),
|
|
32
|
-
machine_id: Schema.optional(Schema.String),
|
|
33
|
-
mutation: Schema.optional(Schema.String),
|
|
34
|
-
org_feature: Schema.optional(Schema.String),
|
|
35
|
-
org_slug: Schema.optional(Schema.String),
|
|
36
|
-
source_machine: Schema.optional(Schema.String),
|
|
37
|
-
storage_object: Schema.optional(Schema.String),
|
|
38
|
-
volume_id: Schema.optional(Schema.String),
|
|
39
|
-
}),
|
|
40
|
-
),
|
|
41
|
-
header: Schema.optional(Schema.String),
|
|
42
|
-
}).pipe(
|
|
43
|
-
T.Http({ method: "POST", path: "/tokens/authorize" }),
|
|
44
|
-
) as unknown as Schema.Codec<TokensAuthorizeInput>;
|
|
45
|
-
|
|
46
|
-
// Output Schema
|
|
47
|
-
export interface TokensAuthorizeOutput {
|
|
48
|
-
access?: {
|
|
49
|
-
action?: 1 | 2 | 4 | 8 | 16 | 31 | 0;
|
|
50
|
-
app_feature?: string;
|
|
51
|
-
appid?: number;
|
|
52
|
-
cluster?: string;
|
|
53
|
-
command?: string[];
|
|
54
|
-
feature?: string;
|
|
55
|
-
machine?: string;
|
|
56
|
-
machine_feature?: string;
|
|
57
|
-
mutation?: string;
|
|
58
|
-
orgid?: number;
|
|
59
|
-
sourceApp?: string;
|
|
60
|
-
sourceMachine?: string;
|
|
61
|
-
sourceOrganization?: string;
|
|
62
|
-
storage_object?: string;
|
|
63
|
-
volume?: string;
|
|
64
|
-
};
|
|
65
|
-
verified_token?: {
|
|
66
|
-
caveats?: { caveats?: unknown[] };
|
|
67
|
-
header?: string;
|
|
68
|
-
nonce?: { kid?: number[]; proof?: boolean; rnd?: number[] };
|
|
69
|
-
permission_token?: number[];
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
export const TokensAuthorizeOutput = /*@__PURE__*/ Schema.Struct({
|
|
73
|
-
access: Schema.optional(
|
|
74
|
-
Schema.Struct({
|
|
75
|
-
action: Schema.optional(Schema.Literals([1, 2, 4, 8, 16, 31, 0])),
|
|
76
|
-
app_feature: Schema.optional(Schema.String),
|
|
77
|
-
appid: Schema.optional(Schema.Number),
|
|
78
|
-
cluster: Schema.optional(Schema.String),
|
|
79
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
80
|
-
feature: Schema.optional(Schema.String),
|
|
81
|
-
machine: Schema.optional(Schema.String),
|
|
82
|
-
machine_feature: Schema.optional(Schema.String),
|
|
83
|
-
mutation: Schema.optional(Schema.String),
|
|
84
|
-
orgid: Schema.optional(Schema.Number),
|
|
85
|
-
sourceApp: Schema.optional(Schema.String),
|
|
86
|
-
sourceMachine: Schema.optional(Schema.String),
|
|
87
|
-
sourceOrganization: Schema.optional(Schema.String),
|
|
88
|
-
storage_object: Schema.optional(Schema.String),
|
|
89
|
-
volume: Schema.optional(Schema.String),
|
|
90
|
-
}),
|
|
91
|
-
),
|
|
92
|
-
verified_token: Schema.optional(
|
|
93
|
-
Schema.Struct({
|
|
94
|
-
caveats: Schema.optional(
|
|
95
|
-
Schema.Struct({
|
|
96
|
-
caveats: Schema.optional(Schema.Array(Schema.Unknown)),
|
|
97
|
-
}),
|
|
98
|
-
),
|
|
99
|
-
header: Schema.optional(Schema.String),
|
|
100
|
-
nonce: Schema.optional(
|
|
101
|
-
Schema.Struct({
|
|
102
|
-
kid: Schema.optional(Schema.Array(Schema.Number)),
|
|
103
|
-
proof: Schema.optional(Schema.Boolean),
|
|
104
|
-
rnd: Schema.optional(Schema.Array(Schema.Number)),
|
|
105
|
-
}),
|
|
106
|
-
),
|
|
107
|
-
permission_token: Schema.optional(Schema.Array(Schema.Number)),
|
|
108
|
-
}),
|
|
109
|
-
),
|
|
110
|
-
}) as unknown as Schema.Codec<TokensAuthorizeOutput>;
|
|
111
|
-
|
|
112
|
-
// The operation
|
|
113
|
-
/**
|
|
114
|
-
* Authorize token for resource access
|
|
115
|
-
*
|
|
116
|
-
* Verify a token header and validate it against a requested access scope.
|
|
117
|
-
*/
|
|
118
|
-
export const TokensAuthorize = /*@__PURE__*/ API.make(() => ({
|
|
119
|
-
inputSchema: TokensAuthorizeInput,
|
|
120
|
-
outputSchema: TokensAuthorizeOutput,
|
|
121
|
-
errors: [BadRequest] as const,
|
|
122
|
-
}));
|
|
@@ -1,27 +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 TokensRequestKmsInput {}
|
|
8
|
-
export const TokensRequestKmsInput = /*@__PURE__*/ Schema.Struct({}).pipe(
|
|
9
|
-
T.Http({ method: "POST", path: "/tokens/kms" }),
|
|
10
|
-
) as unknown as Schema.Codec<TokensRequestKmsInput>;
|
|
11
|
-
|
|
12
|
-
// Output Schema
|
|
13
|
-
export type TokensRequestKmsOutput = void;
|
|
14
|
-
export const TokensRequestKmsOutput =
|
|
15
|
-
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<TokensRequestKmsOutput>;
|
|
16
|
-
|
|
17
|
-
// The operation
|
|
18
|
-
/**
|
|
19
|
-
* Request a Petsem token for accessing KMS
|
|
20
|
-
*
|
|
21
|
-
* This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete [Machines API docs](https://fly.io/docs/machines/api/apps-resource/) for details about using the Apps resource.
|
|
22
|
-
*/
|
|
23
|
-
export const TokensRequestKms = /*@__PURE__*/ API.make(() => ({
|
|
24
|
-
inputSchema: TokensRequestKmsInput,
|
|
25
|
-
outputSchema: TokensRequestKmsOutput,
|
|
26
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
27
|
-
}));
|
|
@@ -1,33 +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 TokensRequestOIDCInput {
|
|
8
|
-
aud?: string;
|
|
9
|
-
aws_principal_tags?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export const TokensRequestOIDCInput = /*@__PURE__*/ Schema.Struct({
|
|
12
|
-
aud: Schema.optional(Schema.String),
|
|
13
|
-
aws_principal_tags: Schema.optional(Schema.Boolean),
|
|
14
|
-
}).pipe(
|
|
15
|
-
T.Http({ method: "POST", path: "/tokens/oidc" }),
|
|
16
|
-
) as unknown as Schema.Codec<TokensRequestOIDCInput>;
|
|
17
|
-
|
|
18
|
-
// Output Schema
|
|
19
|
-
export type TokensRequestOIDCOutput = void;
|
|
20
|
-
export const TokensRequestOIDCOutput =
|
|
21
|
-
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<TokensRequestOIDCOutput>;
|
|
22
|
-
|
|
23
|
-
// The operation
|
|
24
|
-
/**
|
|
25
|
-
* Request an OIDC token
|
|
26
|
-
*
|
|
27
|
-
* Request an Open ID Connect token for your machine. Customize the audience claim with the `aud` parameter. This returns a JWT token. Learn more about [using OpenID Connect](/docs/reference/openid-connect/) on Fly.io.
|
|
28
|
-
*/
|
|
29
|
-
export const TokensRequestOIDC = /*@__PURE__*/ API.make(() => ({
|
|
30
|
-
inputSchema: TokensRequestOIDCInput,
|
|
31
|
-
outputSchema: TokensRequestOIDCOutput,
|
|
32
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
33
|
-
}));
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
|
|
5
|
-
// Input Schema
|
|
6
|
-
export const TokensRequest_KmsInput = /*@__PURE__*/ Schema.Struct({}).pipe(
|
|
7
|
-
T.Http({ method: "POST", path: "/tokens/kms" }),
|
|
8
|
-
);
|
|
9
|
-
export type TokensRequest_KmsInput = typeof TokensRequest_KmsInput.Type;
|
|
10
|
-
|
|
11
|
-
// Output Schema
|
|
12
|
-
export const TokensRequest_KmsOutput = /*@__PURE__*/ Schema.String;
|
|
13
|
-
export type TokensRequest_KmsOutput = typeof TokensRequest_KmsOutput.Type;
|
|
14
|
-
|
|
15
|
-
// The operation
|
|
16
|
-
/**
|
|
17
|
-
* Request a Petsem token for accessing KMS
|
|
18
|
-
*
|
|
19
|
-
* This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete [Machines API docs](https://fly.io/docs/machines/api/apps-resource/) for details about using the Apps resource.
|
|
20
|
-
*/
|
|
21
|
-
export const TokensRequest_Kms = /*@__PURE__*/ API.make(() => ({
|
|
22
|
-
inputSchema: TokensRequest_KmsInput,
|
|
23
|
-
outputSchema: TokensRequest_KmsOutput,
|
|
24
|
-
}));
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
|
|
5
|
-
// Input Schema
|
|
6
|
-
export const TokensRequest_OIDCInput =
|
|
7
|
-
/*@__PURE__*/ Schema.Struct({
|
|
8
|
-
aud: Schema.optional(Schema.String),
|
|
9
|
-
aws_principal_tags: Schema.optional(Schema.Boolean),
|
|
10
|
-
}).pipe(T.Http({ method: "POST", path: "/tokens/oidc" }));
|
|
11
|
-
export type TokensRequest_OIDCInput = typeof TokensRequest_OIDCInput.Type;
|
|
12
|
-
|
|
13
|
-
// Output Schema
|
|
14
|
-
export const TokensRequest_OIDCOutput = /*@__PURE__*/ Schema.String;
|
|
15
|
-
export type TokensRequest_OIDCOutput = typeof TokensRequest_OIDCOutput.Type;
|
|
16
|
-
|
|
17
|
-
// The operation
|
|
18
|
-
/**
|
|
19
|
-
* Request an OIDC token
|
|
20
|
-
*
|
|
21
|
-
* Request an Open ID Connect token for your machine. Customize the audience claim with the `aud` parameter. This returns a JWT token. Learn more about [using OpenID Connect](/docs/reference/openid-connect/) on Fly.io.
|
|
22
|
-
*/
|
|
23
|
-
export const TokensRequest_OIDC = /*@__PURE__*/ API.make(() => ({
|
|
24
|
-
inputSchema: TokensRequest_OIDCInput,
|
|
25
|
-
outputSchema: TokensRequest_OIDCOutput,
|
|
26
|
-
}));
|