@distilled.cloud/fly-io 0.27.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/operations/AppCertificatesAcmeCreate.d.ts +53 -101
- package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeCreate.js +0 -2
- package/lib/operations/AppCertificatesAcmeCreate.js.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts +53 -101
- package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.js +0 -2
- package/lib/operations/AppCertificatesAcmeDelete.js.map +1 -1
- package/lib/operations/AppCertificatesCheck.d.ts +62 -119
- package/lib/operations/AppCertificatesCheck.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCheck.js +0 -2
- package/lib/operations/AppCertificatesCheck.js.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.d.ts +56 -105
- package/lib/operations/AppCertificatesCustomCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.js +1 -2
- package/lib/operations/AppCertificatesCustomCreate.js.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts +54 -103
- package/lib/operations/AppCertificatesCustomDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.js +0 -2
- package/lib/operations/AppCertificatesCustomDelete.js.map +1 -1
- package/lib/operations/AppCertificatesDelete.d.ts +8 -11
- package/lib/operations/AppCertificatesDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesDelete.js +0 -2
- package/lib/operations/AppCertificatesDelete.js.map +1 -1
- package/lib/operations/AppCertificatesList.d.ts +28 -51
- package/lib/operations/AppCertificatesList.d.ts.map +1 -1
- package/lib/operations/AppCertificatesList.js +0 -2
- package/lib/operations/AppCertificatesList.js.map +1 -1
- package/lib/operations/AppCertificatesShow.d.ts +53 -101
- package/lib/operations/AppCertificatesShow.d.ts.map +1 -1
- package/lib/operations/AppCertificatesShow.js +0 -2
- package/lib/operations/AppCertificatesShow.js.map +1 -1
- package/lib/operations/AppCreateDeployToken.d.ts +10 -15
- package/lib/operations/AppCreateDeployToken.d.ts.map +1 -1
- package/lib/operations/AppCreateDeployToken.js +0 -2
- package/lib/operations/AppCreateDeployToken.js.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.d.ts +18 -31
- package/lib/operations/AppIPAssignmentsCreate.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.js +0 -2
- package/lib/operations/AppIPAssignmentsCreate.js.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts +8 -11
- package/lib/operations/AppIPAssignmentsDelete.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.js +0 -2
- package/lib/operations/AppIPAssignmentsDelete.js.map +1 -1
- package/lib/operations/AppIPAssignmentsList.d.ts +15 -25
- package/lib/operations/AppIPAssignmentsList.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsList.js +0 -2
- package/lib/operations/AppIPAssignmentsList.js.map +1 -1
- package/lib/operations/AppsCreate.d.ts +10 -15
- package/lib/operations/AppsCreate.d.ts.map +1 -1
- package/lib/operations/AppsCreate.js +2 -3
- package/lib/operations/AppsCreate.js.map +1 -1
- package/lib/operations/AppsDelete.d.ts +7 -9
- package/lib/operations/AppsDelete.d.ts.map +1 -1
- package/lib/operations/AppsDelete.js +2 -3
- package/lib/operations/AppsDelete.js.map +1 -1
- package/lib/operations/AppsList.d.ts +24 -43
- package/lib/operations/AppsList.d.ts.map +1 -1
- package/lib/operations/AppsList.js +0 -2
- package/lib/operations/AppsList.js.map +1 -1
- package/lib/operations/AppsShow.d.ts +20 -35
- package/lib/operations/AppsShow.d.ts.map +1 -1
- package/lib/operations/AppsShow.js +0 -2
- package/lib/operations/AppsShow.js.map +1 -1
- package/lib/operations/CurrentTokenShow.d.ts +17 -27
- package/lib/operations/CurrentTokenShow.d.ts.map +1 -1
- package/lib/operations/CurrentTokenShow.js +2 -6
- package/lib/operations/CurrentTokenShow.js.map +1 -1
- package/lib/operations/MachinesCordon.d.ts +8 -11
- package/lib/operations/MachinesCordon.d.ts.map +1 -1
- package/lib/operations/MachinesCordon.js +2 -3
- package/lib/operations/MachinesCordon.js.map +1 -1
- package/lib/operations/MachinesCreate.d.ts +799 -1615
- package/lib/operations/MachinesCreate.d.ts.map +1 -1
- package/lib/operations/MachinesCreate.js +9 -3
- package/lib/operations/MachinesCreate.js.map +1 -1
- package/lib/operations/MachinesCreateLease.d.ts +16 -27
- package/lib/operations/MachinesCreateLease.d.ts.map +1 -1
- package/lib/operations/MachinesCreateLease.js +0 -2
- package/lib/operations/MachinesCreateLease.js.map +1 -1
- package/lib/operations/MachinesDelete.d.ts +9 -13
- package/lib/operations/MachinesDelete.d.ts.map +1 -1
- package/lib/operations/MachinesDelete.js +2 -3
- package/lib/operations/MachinesDelete.js.map +1 -1
- package/lib/operations/MachinesDeleteMetadata.d.ts +9 -13
- package/lib/operations/MachinesDeleteMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesDeleteMetadata.js +0 -2
- package/lib/operations/MachinesDeleteMetadata.js.map +1 -1
- package/lib/operations/MachinesExec.d.ts +18 -31
- package/lib/operations/MachinesExec.d.ts.map +1 -1
- package/lib/operations/MachinesExec.js +0 -2
- package/lib/operations/MachinesExec.js.map +1 -1
- package/lib/operations/MachinesGetMemory.d.ts +11 -17
- package/lib/operations/MachinesGetMemory.d.ts.map +1 -1
- package/lib/operations/MachinesGetMemory.js +0 -2
- package/lib/operations/MachinesGetMemory.js.map +1 -1
- package/lib/operations/MachinesGetMetadataKey.d.ts +11 -17
- package/lib/operations/MachinesGetMetadataKey.d.ts.map +1 -1
- package/lib/operations/MachinesGetMetadataKey.js +0 -2
- package/lib/operations/MachinesGetMetadataKey.js.map +1 -1
- package/lib/operations/MachinesList.d.ts +545 -1099
- package/lib/operations/MachinesList.d.ts.map +1 -1
- package/lib/operations/MachinesList.js +6 -2
- package/lib/operations/MachinesList.js.map +1 -1
- package/lib/operations/MachinesListEvents.d.ts +16 -27
- package/lib/operations/MachinesListEvents.d.ts.map +1 -1
- package/lib/operations/MachinesListEvents.js +0 -2
- package/lib/operations/MachinesListEvents.js.map +1 -1
- package/lib/operations/MachinesListProcesses.d.ts +22 -39
- package/lib/operations/MachinesListProcesses.d.ts.map +1 -1
- package/lib/operations/MachinesListProcesses.js +0 -2
- package/lib/operations/MachinesListProcesses.js.map +1 -1
- package/lib/operations/MachinesListVersions.d.ts +261 -523
- package/lib/operations/MachinesListVersions.d.ts.map +1 -1
- package/lib/operations/MachinesListVersions.js +3 -2
- package/lib/operations/MachinesListVersions.js.map +1 -1
- package/lib/operations/MachinesOrgList.d.ts +47 -89
- package/lib/operations/MachinesOrgList.d.ts.map +1 -1
- package/lib/operations/MachinesOrgList.js +3 -5
- package/lib/operations/MachinesOrgList.js.map +1 -1
- package/lib/operations/MachinesReclaimMemory.d.ts +11 -17
- package/lib/operations/MachinesReclaimMemory.d.ts.map +1 -1
- package/lib/operations/MachinesReclaimMemory.js +0 -2
- package/lib/operations/MachinesReclaimMemory.js.map +1 -1
- package/lib/operations/MachinesReleaseLease.d.ts +8 -11
- package/lib/operations/MachinesReleaseLease.d.ts.map +1 -1
- package/lib/operations/MachinesReleaseLease.js +0 -2
- package/lib/operations/MachinesReleaseLease.js.map +1 -1
- package/lib/operations/MachinesRestart.d.ts +10 -15
- package/lib/operations/MachinesRestart.d.ts.map +1 -1
- package/lib/operations/MachinesRestart.js +2 -3
- package/lib/operations/MachinesRestart.js.map +1 -1
- package/lib/operations/MachinesSetMemoryLimit.d.ts +12 -19
- package/lib/operations/MachinesSetMemoryLimit.d.ts.map +1 -1
- package/lib/operations/MachinesSetMemoryLimit.js +0 -2
- package/lib/operations/MachinesSetMemoryLimit.js.map +1 -1
- package/lib/operations/MachinesShow.d.ts +542 -1093
- package/lib/operations/MachinesShow.d.ts.map +1 -1
- package/lib/operations/MachinesShow.js +6 -2
- package/lib/operations/MachinesShow.js.map +1 -1
- package/lib/operations/MachinesShowLease.d.ts +14 -23
- package/lib/operations/MachinesShowLease.d.ts.map +1 -1
- package/lib/operations/MachinesShowLease.js +0 -2
- package/lib/operations/MachinesShowLease.js.map +1 -1
- package/lib/operations/MachinesShowMetadata.d.ts +8 -13
- package/lib/operations/MachinesShowMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesShowMetadata.js +0 -2
- package/lib/operations/MachinesShowMetadata.js.map +1 -1
- package/lib/operations/MachinesSignal.d.ts +9 -13
- package/lib/operations/MachinesSignal.d.ts.map +1 -1
- package/lib/operations/MachinesSignal.js +2 -3
- package/lib/operations/MachinesSignal.js.map +1 -1
- package/lib/operations/MachinesStart.d.ts +8 -11
- package/lib/operations/MachinesStart.d.ts.map +1 -1
- package/lib/operations/MachinesStart.js +2 -3
- package/lib/operations/MachinesStart.js.map +1 -1
- package/lib/operations/MachinesStop.d.ts +10 -15
- package/lib/operations/MachinesStop.d.ts.map +1 -1
- package/lib/operations/MachinesStop.js +2 -3
- package/lib/operations/MachinesStop.js.map +1 -1
- package/lib/operations/MachinesSuspend.d.ts +8 -11
- package/lib/operations/MachinesSuspend.d.ts.map +1 -1
- package/lib/operations/MachinesSuspend.js +2 -3
- package/lib/operations/MachinesSuspend.js.map +1 -1
- package/lib/operations/MachinesUncordon.d.ts +8 -11
- package/lib/operations/MachinesUncordon.d.ts.map +1 -1
- package/lib/operations/MachinesUncordon.js +2 -3
- package/lib/operations/MachinesUncordon.js.map +1 -1
- package/lib/operations/MachinesUpdate.d.ts +801 -1619
- package/lib/operations/MachinesUpdate.d.ts.map +1 -1
- package/lib/operations/MachinesUpdate.js +9 -3
- package/lib/operations/MachinesUpdate.js.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.d.ts +12 -20
- package/lib/operations/MachinesUpdateMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.js +3 -5
- package/lib/operations/MachinesUpdateMetadata.js.map +1 -1
- package/lib/operations/MachinesUpsertMetadata.d.ts +11 -17
- package/lib/operations/MachinesUpsertMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesUpsertMetadata.js +0 -2
- package/lib/operations/MachinesUpsertMetadata.js.map +1 -1
- package/lib/operations/MachinesWait.d.ts +18 -31
- package/lib/operations/MachinesWait.d.ts.map +1 -1
- package/lib/operations/MachinesWait.js +0 -2
- package/lib/operations/MachinesWait.js.map +1 -1
- package/lib/operations/PlatformPlacementsPost.d.ts +29 -55
- package/lib/operations/PlatformPlacementsPost.d.ts.map +1 -1
- package/lib/operations/PlatformPlacementsPost.js +0 -2
- package/lib/operations/PlatformPlacementsPost.js.map +1 -1
- package/lib/operations/PlatformRegionsGet.d.ts +18 -29
- package/lib/operations/PlatformRegionsGet.d.ts.map +1 -1
- package/lib/operations/PlatformRegionsGet.js +0 -2
- package/lib/operations/PlatformRegionsGet.js.map +1 -1
- package/lib/operations/SecretCreate.d.ts +17 -29
- package/lib/operations/SecretCreate.d.ts.map +1 -1
- package/lib/operations/SecretCreate.js +0 -2
- package/lib/operations/SecretCreate.js.map +1 -1
- package/lib/operations/SecretDelete.d.ts +11 -17
- package/lib/operations/SecretDelete.d.ts.map +1 -1
- package/lib/operations/SecretDelete.js +0 -2
- package/lib/operations/SecretDelete.js.map +1 -1
- package/lib/operations/SecretGet.d.ts +16 -27
- package/lib/operations/SecretGet.d.ts.map +1 -1
- package/lib/operations/SecretGet.js +0 -2
- package/lib/operations/SecretGet.js.map +1 -1
- package/lib/operations/SecretkeyDecrypt.d.ts +13 -21
- package/lib/operations/SecretkeyDecrypt.d.ts.map +1 -1
- package/lib/operations/SecretkeyDecrypt.js +0 -2
- package/lib/operations/SecretkeyDecrypt.js.map +1 -1
- package/lib/operations/SecretkeyDelete.d.ts +11 -17
- package/lib/operations/SecretkeyDelete.d.ts.map +1 -1
- package/lib/operations/SecretkeyDelete.js +0 -2
- package/lib/operations/SecretkeyDelete.js.map +1 -1
- package/lib/operations/SecretkeyEncrypt.d.ts +13 -21
- package/lib/operations/SecretkeyEncrypt.d.ts.map +1 -1
- package/lib/operations/SecretkeyEncrypt.js +0 -2
- package/lib/operations/SecretkeyEncrypt.js.map +1 -1
- package/lib/operations/SecretkeyGenerate.d.ts +18 -31
- package/lib/operations/SecretkeyGenerate.d.ts.map +1 -1
- package/lib/operations/SecretkeyGenerate.js +0 -2
- package/lib/operations/SecretkeyGenerate.js.map +1 -1
- package/lib/operations/SecretkeyGet.d.ts +15 -25
- package/lib/operations/SecretkeyGet.d.ts.map +1 -1
- package/lib/operations/SecretkeyGet.js +0 -2
- package/lib/operations/SecretkeyGet.js.map +1 -1
- package/lib/operations/SecretkeySet.d.ts +18 -31
- package/lib/operations/SecretkeySet.d.ts.map +1 -1
- package/lib/operations/SecretkeySet.js +0 -2
- package/lib/operations/SecretkeySet.js.map +1 -1
- package/lib/operations/SecretkeySign.d.ts +12 -19
- package/lib/operations/SecretkeySign.d.ts.map +1 -1
- package/lib/operations/SecretkeySign.js +0 -2
- package/lib/operations/SecretkeySign.js.map +1 -1
- package/lib/operations/SecretkeyVerify.d.ts +11 -17
- package/lib/operations/SecretkeyVerify.d.ts.map +1 -1
- package/lib/operations/SecretkeyVerify.js +2 -3
- package/lib/operations/SecretkeyVerify.js.map +1 -1
- package/lib/operations/SecretkeysList.d.ts +17 -29
- package/lib/operations/SecretkeysList.d.ts.map +1 -1
- package/lib/operations/SecretkeysList.js +0 -2
- package/lib/operations/SecretkeysList.js.map +1 -1
- package/lib/operations/SecretsList.d.ts +17 -29
- package/lib/operations/SecretsList.d.ts.map +1 -1
- package/lib/operations/SecretsList.js +0 -2
- package/lib/operations/SecretsList.js.map +1 -1
- package/lib/operations/SecretsUpdate.d.ts +18 -33
- package/lib/operations/SecretsUpdate.d.ts.map +1 -1
- package/lib/operations/SecretsUpdate.js +0 -2
- package/lib/operations/SecretsUpdate.js.map +1 -1
- package/lib/operations/TokensAuthenticate.d.ts +26 -0
- package/lib/operations/TokensAuthenticate.d.ts.map +1 -0
- package/lib/operations/TokensAuthenticate.js +33 -0
- package/lib/operations/TokensAuthenticate.js.map +1 -0
- package/lib/operations/TokensAuthorize.d.ts +59 -0
- package/lib/operations/TokensAuthorize.d.ts.map +1 -0
- package/lib/operations/TokensAuthorize.js +64 -0
- package/lib/operations/TokensAuthorize.js.map +1 -0
- package/lib/operations/TokensRequestKms.d.ts +6 -5
- package/lib/operations/TokensRequestKms.d.ts.map +1 -1
- package/lib/operations/TokensRequestKms.js +2 -3
- package/lib/operations/TokensRequestKms.js.map +1 -1
- package/lib/operations/TokensRequestOIDC.d.ts +8 -11
- package/lib/operations/TokensRequestOIDC.d.ts.map +1 -1
- package/lib/operations/TokensRequestOIDC.js +1 -3
- package/lib/operations/TokensRequestOIDC.js.map +1 -1
- package/lib/operations/VolumeDelete.d.ts +30 -55
- package/lib/operations/VolumeDelete.d.ts.map +1 -1
- package/lib/operations/VolumeDelete.js +0 -2
- package/lib/operations/VolumeDelete.js.map +1 -1
- package/lib/operations/VolumesCreate.d.ts +52 -99
- package/lib/operations/VolumesCreate.d.ts.map +1 -1
- package/lib/operations/VolumesCreate.js +0 -2
- package/lib/operations/VolumesCreate.js.map +1 -1
- package/lib/operations/VolumesExtend.d.ts +34 -63
- package/lib/operations/VolumesExtend.d.ts.map +1 -1
- package/lib/operations/VolumesExtend.js +0 -2
- package/lib/operations/VolumesExtend.js.map +1 -1
- package/lib/operations/VolumesGetById.d.ts +30 -55
- package/lib/operations/VolumesGetById.d.ts.map +1 -1
- package/lib/operations/VolumesGetById.js +0 -2
- package/lib/operations/VolumesGetById.js.map +1 -1
- package/lib/operations/VolumesList.d.ts +30 -55
- package/lib/operations/VolumesList.d.ts.map +1 -1
- package/lib/operations/VolumesList.js +0 -2
- package/lib/operations/VolumesList.js.map +1 -1
- package/lib/operations/VolumesListSnapshots.d.ts +16 -27
- package/lib/operations/VolumesListSnapshots.d.ts.map +1 -1
- package/lib/operations/VolumesListSnapshots.js +0 -2
- package/lib/operations/VolumesListSnapshots.js.map +1 -1
- package/lib/operations/VolumesOrgList.d.ts +43 -81
- package/lib/operations/VolumesOrgList.d.ts.map +1 -1
- package/lib/operations/VolumesOrgList.js +0 -2
- package/lib/operations/VolumesOrgList.js.map +1 -1
- package/lib/operations/VolumesUpdate.d.ts +32 -59
- package/lib/operations/VolumesUpdate.d.ts.map +1 -1
- package/lib/operations/VolumesUpdate.js +0 -2
- package/lib/operations/VolumesUpdate.js.map +1 -1
- package/lib/operations/createVolumeSnapshot.d.ts +8 -11
- package/lib/operations/createVolumeSnapshot.d.ts.map +1 -1
- package/lib/operations/createVolumeSnapshot.js +0 -2
- package/lib/operations/createVolumeSnapshot.js.map +1 -1
- package/lib/operations/index.d.ts +4 -1
- package/lib/operations/index.d.ts.map +1 -1
- package/lib/operations/index.js +4 -1
- package/lib/operations/index.js.map +1 -1
- package/package.json +2 -2
- package/src/operations/AppCertificatesAcmeCreate.ts +45 -6
- package/src/operations/AppCertificatesAcmeDelete.ts +45 -6
- package/src/operations/AppCertificatesCheck.ts +54 -4
- package/src/operations/AppCertificatesCustomCreate.ts +48 -6
- package/src/operations/AppCertificatesCustomDelete.ts +46 -6
- package/src/operations/AppCertificatesDelete.ts +7 -5
- package/src/operations/AppCertificatesList.ts +29 -4
- package/src/operations/AppCertificatesShow.ts +45 -4
- package/src/operations/AppCreateDeployToken.ts +11 -4
- package/src/operations/AppIPAssignmentsCreate.ts +19 -6
- package/src/operations/AppIPAssignmentsDelete.ts +7 -6
- package/src/operations/AppIPAssignmentsList.ts +16 -4
- package/src/operations/AppsCreate.ts +12 -4
- package/src/operations/AppsDelete.ts +9 -4
- package/src/operations/AppsList.ts +25 -4
- package/src/operations/AppsShow.ts +17 -4
- package/src/operations/CurrentTokenShow.ts +17 -7
- package/src/operations/MachinesCordon.ts +8 -4
- package/src/operations/MachinesCreate.ts +767 -5
- package/src/operations/MachinesCreateLease.ts +15 -4
- package/src/operations/MachinesDelete.ts +9 -4
- package/src/operations/MachinesDeleteMetadata.ts +8 -6
- package/src/operations/MachinesExec.ts +17 -4
- package/src/operations/MachinesGetMemory.ts +10 -4
- package/src/operations/MachinesGetMetadataKey.ts +10 -6
- package/src/operations/MachinesList.ts +524 -4
- package/src/operations/MachinesListEvents.ts +15 -4
- package/src/operations/MachinesListProcesses.ts +18 -5
- package/src/operations/MachinesListVersions.ts +249 -4
- package/src/operations/MachinesOrgList.ts +49 -7
- package/src/operations/MachinesReclaimMemory.ts +10 -5
- package/src/operations/MachinesReleaseLease.ts +7 -4
- package/src/operations/MachinesRestart.ts +17 -4
- package/src/operations/MachinesSetMemoryLimit.ts +11 -6
- package/src/operations/MachinesShow.ts +519 -4
- package/src/operations/MachinesShowLease.ts +13 -4
- package/src/operations/MachinesShowMetadata.ts +10 -4
- package/src/operations/MachinesSignal.ts +23 -4
- package/src/operations/MachinesStart.ts +8 -4
- package/src/operations/MachinesStop.ts +17 -4
- package/src/operations/MachinesSuspend.ts +8 -4
- package/src/operations/MachinesUncordon.ts +8 -4
- package/src/operations/MachinesUpdate.ts +767 -5
- package/src/operations/MachinesUpdateMetadata.ts +13 -9
- package/src/operations/MachinesUpsertMetadata.ts +10 -6
- package/src/operations/MachinesWait.ts +23 -4
- package/src/operations/PlatformPlacementsPost.ts +26 -6
- package/src/operations/PlatformRegionsGet.ts +16 -4
- package/src/operations/SecretCreate.ts +16 -4
- package/src/operations/SecretDelete.ts +10 -4
- package/src/operations/SecretGet.ts +15 -4
- package/src/operations/SecretkeyDecrypt.ts +12 -4
- package/src/operations/SecretkeyDelete.ts +10 -4
- package/src/operations/SecretkeyEncrypt.ts +12 -4
- package/src/operations/SecretkeyGenerate.ts +17 -4
- package/src/operations/SecretkeyGet.ts +14 -4
- package/src/operations/SecretkeySet.ts +17 -4
- package/src/operations/SecretkeySign.ts +11 -4
- package/src/operations/SecretkeyVerify.ts +11 -4
- package/src/operations/SecretkeysList.ts +18 -4
- package/src/operations/SecretsList.ts +18 -4
- package/src/operations/SecretsUpdate.ts +19 -4
- package/src/operations/TokensAuthenticate.ts +54 -0
- package/src/operations/TokensAuthorize.ts +122 -0
- package/src/operations/TokensRequestKms.ts +7 -4
- package/src/operations/TokensRequestOIDC.ts +9 -4
- package/src/operations/VolumeDelete.ts +29 -4
- package/src/operations/VolumesCreate.ts +53 -4
- package/src/operations/VolumesExtend.ts +33 -4
- package/src/operations/VolumesGetById.ts +29 -4
- package/src/operations/VolumesList.ts +31 -4
- package/src/operations/VolumesListSnapshots.ts +15 -4
- package/src/operations/VolumesOrgList.ts +44 -4
- package/src/operations/VolumesUpdate.ts +31 -4
- package/src/operations/createVolumeSnapshot.ts +7 -4
- package/src/operations/index.ts +4 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export
|
|
3
|
+
export interface SecretsListInput {
|
|
4
|
+
app_name: string;
|
|
5
|
+
min_version?: string;
|
|
6
|
+
show_secrets?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const SecretsListInput: Schema.Codec<SecretsListInput>;
|
|
9
|
+
export interface SecretsListOutput {
|
|
10
|
+
secrets?: {
|
|
11
|
+
created_at?: string;
|
|
12
|
+
digest?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
updated_at?: string;
|
|
15
|
+
value?: string;
|
|
16
|
+
}[];
|
|
17
|
+
}
|
|
18
|
+
export declare const SecretsListOutput: Schema.Codec<SecretsListOutput>;
|
|
19
19
|
/**
|
|
20
20
|
* List app secrets belonging to an app
|
|
21
21
|
*
|
|
@@ -23,17 +23,5 @@ export type SecretsListOutput = typeof SecretsListOutput.Type;
|
|
|
23
23
|
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
24
24
|
* @param show_secrets - Show the secret values.
|
|
25
25
|
*/
|
|
26
|
-
export declare const SecretsList: import("@distilled.cloud/core/client").OperationMethod<
|
|
27
|
-
readonly app_name: string;
|
|
28
|
-
readonly min_version?: string | undefined;
|
|
29
|
-
readonly show_secrets?: boolean | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
readonly secrets?: readonly {
|
|
32
|
-
readonly created_at?: string | undefined;
|
|
33
|
-
readonly digest?: string | undefined;
|
|
34
|
-
readonly name?: string | undefined;
|
|
35
|
-
readonly updated_at?: string | undefined;
|
|
36
|
-
readonly value?: string | undefined;
|
|
37
|
-
}[] | undefined;
|
|
38
|
-
}, Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
|
|
26
|
+
export declare const SecretsList: import("@distilled.cloud/core/client").OperationMethod<SecretsListInput, SecretsListOutput, Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
|
|
39
27
|
//# sourceMappingURL=SecretsList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecretsList.d.ts","sourceRoot":"","sources":["../../src/operations/SecretsList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,
|
|
1
|
+
{"version":3,"file":"SecretsList.d.ts","sourceRoot":"","sources":["../../src/operations/SecretsList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AACD,eAAO,MAAM,gBAAgB,EAMb,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;AAG/C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE;QACR,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;CACL;AACD,eAAO,MAAM,iBAAiB,EAYb,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAGjD;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,mKAIrB,CAAC"}
|
|
@@ -2,13 +2,11 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.js";
|
|
5
|
-
// Input Schema
|
|
6
5
|
export const SecretsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
6
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
7
|
min_version: Schema.optional(Schema.String),
|
|
9
8
|
show_secrets: Schema.optional(Schema.Boolean),
|
|
10
9
|
}).pipe(T.Http({ method: "GET", path: "/apps/{app_name}/secrets" }));
|
|
11
|
-
// Output Schema
|
|
12
10
|
export const SecretsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13
11
|
secrets: Schema.optional(Schema.Array(Schema.Struct({
|
|
14
12
|
created_at: Schema.optional(Schema.String),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecretsList.js","sourceRoot":"","sources":["../../src/operations/SecretsList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QA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CAAC,MAAM,CAAC,MAAM,CAAC;KACtC,CAAC,CACH,CACF;CACF,CAA+C,CAAC;AAEjD,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACrE,WAAW,EAAE,gBAAgB;IAC7B,YAAY,EAAE,iBAAiB;IAC/B,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CAAC,CAAC"}
|
|
@@ -1,41 +1,26 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
export
|
|
3
|
+
export interface SecretsUpdateInput {
|
|
4
|
+
app_name: string;
|
|
5
|
+
values?: Record<string, string>;
|
|
6
|
+
}
|
|
7
|
+
export declare const SecretsUpdateInput: Schema.Codec<SecretsUpdateInput>;
|
|
8
|
+
export interface SecretsUpdateOutput {
|
|
9
|
+
Version?: number;
|
|
10
|
+
secrets?: {
|
|
11
|
+
created_at?: string;
|
|
12
|
+
digest?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
updated_at?: string;
|
|
15
|
+
value?: string;
|
|
16
|
+
}[];
|
|
17
|
+
version?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare const SecretsUpdateOutput: Schema.Codec<SecretsUpdateOutput>;
|
|
20
20
|
/**
|
|
21
21
|
* Update app secrets belonging to an app
|
|
22
22
|
*
|
|
23
23
|
* @param app_name - Fly App Name
|
|
24
24
|
*/
|
|
25
|
-
export declare const SecretsUpdate: import("@distilled.cloud/core/client").OperationMethod<
|
|
26
|
-
readonly app_name: string;
|
|
27
|
-
readonly values?: {
|
|
28
|
-
readonly [x: string]: string;
|
|
29
|
-
} | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
readonly Version?: number | undefined;
|
|
32
|
-
readonly secrets?: readonly {
|
|
33
|
-
readonly created_at?: string | undefined;
|
|
34
|
-
readonly digest?: string | undefined;
|
|
35
|
-
readonly name?: string | undefined;
|
|
36
|
-
readonly updated_at?: string | undefined;
|
|
37
|
-
readonly value?: string | undefined;
|
|
38
|
-
}[] | undefined;
|
|
39
|
-
readonly version?: number | undefined;
|
|
40
|
-
}, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
|
|
25
|
+
export declare const SecretsUpdate: import("@distilled.cloud/core/client").OperationMethod<SecretsUpdateInput, SecretsUpdateOutput, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
|
|
41
26
|
//# sourceMappingURL=SecretsUpdate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecretsUpdate.d.ts","sourceRoot":"","sources":["../../src/operations/SecretsUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG/D,
|
|
1
|
+
{"version":3,"file":"SecretsUpdate.d.ts","sourceRoot":"","sources":["../../src/operations/SecretsUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG/D,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC;AACD,eAAO,MAAM,kBAAkB,EAKf,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;AAGjD,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE;QACR,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IACJ,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AACD,eAAO,MAAM,mBAAmB,EAcf,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAGnD;;;;GAIG;AACH,eAAO,MAAM,aAAa,oLAIvB,CAAC"}
|
|
@@ -2,12 +2,10 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.js";
|
|
5
|
-
// Input Schema
|
|
6
5
|
export const SecretsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
6
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
7
|
values: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
9
8
|
}).pipe(T.Http({ method: "POST", path: "/apps/{app_name}/secrets" }));
|
|
10
|
-
// Output Schema
|
|
11
9
|
export const SecretsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
12
10
|
Version: Schema.optional(Schema.Number),
|
|
13
11
|
secrets: Schema.optional(Schema.Array(Schema.Struct({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecretsUpdate.js","sourceRoot":"","sources":["../../src/operations/SecretsUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,c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tC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACpC,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC1C,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACtC,CAAC,CACH,CACF;IACD,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACxC,CAAiD,CAAC;AAEnD,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACvE,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,MAAM,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,CAAU;CACnD,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { BadRequest } from "../errors.ts";
|
|
3
|
+
export interface TokensAuthenticateInput {
|
|
4
|
+
header?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const TokensAuthenticateInput: Schema.Codec<TokensAuthenticateInput>;
|
|
7
|
+
export type TokensAuthenticateOutput = {
|
|
8
|
+
caveats?: {
|
|
9
|
+
caveats?: unknown[];
|
|
10
|
+
};
|
|
11
|
+
header?: string;
|
|
12
|
+
nonce?: {
|
|
13
|
+
kid?: number[];
|
|
14
|
+
proof?: boolean;
|
|
15
|
+
rnd?: number[];
|
|
16
|
+
};
|
|
17
|
+
permission_token?: number[];
|
|
18
|
+
}[];
|
|
19
|
+
export declare const TokensAuthenticateOutput: Schema.Codec<TokensAuthenticateOutput>;
|
|
20
|
+
/**
|
|
21
|
+
* Authenticate token header
|
|
22
|
+
*
|
|
23
|
+
* Verify a token header without checking resource access.
|
|
24
|
+
*/
|
|
25
|
+
export declare const TokensAuthenticate: import("@distilled.cloud/core/client").OperationMethod<TokensAuthenticateInput, TokensAuthenticateOutput, BadRequest, import("../credentials.ts").Credentials, never>;
|
|
26
|
+
//# sourceMappingURL=TokensAuthenticate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokensAuthenticate.d.ts","sourceRoot":"","sources":["../../src/operations/TokensAuthenticate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,WAAW,uBAAuB;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,eAAO,MAAM,uBAAuB,EAKlB,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;AAGxD,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,OAAO,EAAE,CAAA;KAAE,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;QAAC,KAAK,CAAC,EAAE,OAAO,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;IAC5D,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B,EAAE,CAAC;AACJ,eAAO,MAAM,wBAAwB,EAkBnB,MAAM,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;AAGzD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,uKAI5B,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client.js";
|
|
3
|
+
import * as T from "../traits.js";
|
|
4
|
+
import { BadRequest } from "../errors.js";
|
|
5
|
+
export const TokensAuthenticateInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
header: Schema.optional(Schema.String),
|
|
8
|
+
}).pipe(T.Http({ method: "POST", path: "/tokens/authenticate" }));
|
|
9
|
+
export const TokensAuthenticateOutput =
|
|
10
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Array(Schema.Struct({
|
|
11
|
+
caveats: Schema.optional(Schema.Struct({
|
|
12
|
+
caveats: Schema.optional(Schema.Array(Schema.Unknown)),
|
|
13
|
+
})),
|
|
14
|
+
header: Schema.optional(Schema.String),
|
|
15
|
+
nonce: Schema.optional(Schema.Struct({
|
|
16
|
+
kid: Schema.optional(Schema.Array(Schema.Number)),
|
|
17
|
+
proof: Schema.optional(Schema.Boolean),
|
|
18
|
+
rnd: Schema.optional(Schema.Array(Schema.Number)),
|
|
19
|
+
})),
|
|
20
|
+
permission_token: Schema.optional(Schema.Array(Schema.Number)),
|
|
21
|
+
}));
|
|
22
|
+
// The operation
|
|
23
|
+
/**
|
|
24
|
+
* Authenticate token header
|
|
25
|
+
*
|
|
26
|
+
* Verify a token header without checking resource access.
|
|
27
|
+
*/
|
|
28
|
+
export const TokensAuthenticate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
29
|
+
inputSchema: TokensAuthenticateInput,
|
|
30
|
+
outputSchema: TokensAuthenticateOutput,
|
|
31
|
+
errors: [BadRequest],
|
|
32
|
+
}));
|
|
33
|
+
//# sourceMappingURL=TokensAuthenticate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokensAuthenticate.js","sourceRoot":"","sources":["../../src/operations/TokensAuthenticate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAM1C,MAAM,CAAC,MAAM,uBAAuB;AAClC,aAAa,CAAC,aAAa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Y,EAAE,wBAAwB;IACtC,MAAM,EAAE,CAAC,UAAU,CAAU;CAC9B,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { BadRequest } from "../errors.ts";
|
|
3
|
+
export interface TokensAuthorizeInput {
|
|
4
|
+
access?: {
|
|
5
|
+
action?: 1 | 2 | 4 | 8 | 16 | 31 | 0;
|
|
6
|
+
app_feature?: string;
|
|
7
|
+
app_name?: string;
|
|
8
|
+
command?: string[];
|
|
9
|
+
machine_feature?: string;
|
|
10
|
+
machine_id?: string;
|
|
11
|
+
mutation?: string;
|
|
12
|
+
org_feature?: string;
|
|
13
|
+
org_slug?: string;
|
|
14
|
+
source_machine?: string;
|
|
15
|
+
storage_object?: string;
|
|
16
|
+
volume_id?: string;
|
|
17
|
+
};
|
|
18
|
+
header?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const TokensAuthorizeInput: Schema.Codec<TokensAuthorizeInput>;
|
|
21
|
+
export interface TokensAuthorizeOutput {
|
|
22
|
+
access?: {
|
|
23
|
+
action?: 1 | 2 | 4 | 8 | 16 | 31 | 0;
|
|
24
|
+
app_feature?: string;
|
|
25
|
+
appid?: number;
|
|
26
|
+
cluster?: string;
|
|
27
|
+
command?: string[];
|
|
28
|
+
feature?: string;
|
|
29
|
+
machine?: string;
|
|
30
|
+
machine_feature?: string;
|
|
31
|
+
mutation?: string;
|
|
32
|
+
orgid?: number;
|
|
33
|
+
sourceApp?: string;
|
|
34
|
+
sourceMachine?: string;
|
|
35
|
+
sourceOrganization?: string;
|
|
36
|
+
storage_object?: string;
|
|
37
|
+
volume?: string;
|
|
38
|
+
};
|
|
39
|
+
verified_token?: {
|
|
40
|
+
caveats?: {
|
|
41
|
+
caveats?: unknown[];
|
|
42
|
+
};
|
|
43
|
+
header?: string;
|
|
44
|
+
nonce?: {
|
|
45
|
+
kid?: number[];
|
|
46
|
+
proof?: boolean;
|
|
47
|
+
rnd?: number[];
|
|
48
|
+
};
|
|
49
|
+
permission_token?: number[];
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export declare const TokensAuthorizeOutput: Schema.Codec<TokensAuthorizeOutput>;
|
|
53
|
+
/**
|
|
54
|
+
* Authorize token for resource access
|
|
55
|
+
*
|
|
56
|
+
* Verify a token header and validate it against a requested access scope.
|
|
57
|
+
*/
|
|
58
|
+
export declare const TokensAuthorize: import("@distilled.cloud/core/client").OperationMethod<TokensAuthorizeInput, TokensAuthorizeOutput, BadRequest, import("../credentials.ts").Credentials, never>;
|
|
59
|
+
//# sourceMappingURL=TokensAuthorize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokensAuthorize.d.ts","sourceRoot":"","sources":["../../src/operations/TokensAuthorize.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE;QACP,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QACrC,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAC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e,iKAIzB,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client.js";
|
|
3
|
+
import * as T from "../traits.js";
|
|
4
|
+
import { BadRequest } from "../errors.js";
|
|
5
|
+
export const TokensAuthorizeInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
|
+
access: Schema.optional(Schema.Struct({
|
|
7
|
+
action: Schema.optional(Schema.Literals([1, 2, 4, 8, 16, 31, 0])),
|
|
8
|
+
app_feature: Schema.optional(Schema.String),
|
|
9
|
+
app_name: Schema.optional(Schema.String),
|
|
10
|
+
command: Schema.optional(Schema.Array(Schema.String)),
|
|
11
|
+
machine_feature: Schema.optional(Schema.String),
|
|
12
|
+
machine_id: Schema.optional(Schema.String),
|
|
13
|
+
mutation: Schema.optional(Schema.String),
|
|
14
|
+
org_feature: Schema.optional(Schema.String),
|
|
15
|
+
org_slug: Schema.optional(Schema.String),
|
|
16
|
+
source_machine: Schema.optional(Schema.String),
|
|
17
|
+
storage_object: Schema.optional(Schema.String),
|
|
18
|
+
volume_id: Schema.optional(Schema.String),
|
|
19
|
+
})),
|
|
20
|
+
header: Schema.optional(Schema.String),
|
|
21
|
+
}).pipe(T.Http({ method: "POST", path: "/tokens/authorize" }));
|
|
22
|
+
export const TokensAuthorizeOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
23
|
+
access: Schema.optional(Schema.Struct({
|
|
24
|
+
action: Schema.optional(Schema.Literals([1, 2, 4, 8, 16, 31, 0])),
|
|
25
|
+
app_feature: Schema.optional(Schema.String),
|
|
26
|
+
appid: Schema.optional(Schema.Number),
|
|
27
|
+
cluster: Schema.optional(Schema.String),
|
|
28
|
+
command: Schema.optional(Schema.Array(Schema.String)),
|
|
29
|
+
feature: Schema.optional(Schema.String),
|
|
30
|
+
machine: Schema.optional(Schema.String),
|
|
31
|
+
machine_feature: Schema.optional(Schema.String),
|
|
32
|
+
mutation: Schema.optional(Schema.String),
|
|
33
|
+
orgid: Schema.optional(Schema.Number),
|
|
34
|
+
sourceApp: Schema.optional(Schema.String),
|
|
35
|
+
sourceMachine: Schema.optional(Schema.String),
|
|
36
|
+
sourceOrganization: Schema.optional(Schema.String),
|
|
37
|
+
storage_object: Schema.optional(Schema.String),
|
|
38
|
+
volume: Schema.optional(Schema.String),
|
|
39
|
+
})),
|
|
40
|
+
verified_token: Schema.optional(Schema.Struct({
|
|
41
|
+
caveats: Schema.optional(Schema.Struct({
|
|
42
|
+
caveats: Schema.optional(Schema.Array(Schema.Unknown)),
|
|
43
|
+
})),
|
|
44
|
+
header: Schema.optional(Schema.String),
|
|
45
|
+
nonce: Schema.optional(Schema.Struct({
|
|
46
|
+
kid: Schema.optional(Schema.Array(Schema.Number)),
|
|
47
|
+
proof: Schema.optional(Schema.Boolean),
|
|
48
|
+
rnd: Schema.optional(Schema.Array(Schema.Number)),
|
|
49
|
+
})),
|
|
50
|
+
permission_token: Schema.optional(Schema.Array(Schema.Number)),
|
|
51
|
+
})),
|
|
52
|
+
});
|
|
53
|
+
// The operation
|
|
54
|
+
/**
|
|
55
|
+
* Authorize token for resource access
|
|
56
|
+
*
|
|
57
|
+
* Verify a token header and validate it against a requested access scope.
|
|
58
|
+
*/
|
|
59
|
+
export const TokensAuthorize = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
60
|
+
inputSchema: TokensAuthorizeInput,
|
|
61
|
+
outputSchema: TokensAuthorizeOutput,
|
|
62
|
+
errors: [BadRequest],
|
|
63
|
+
}));
|
|
64
|
+
//# sourceMappingURL=TokensAuthorize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokensAuthorize.js","sourceRoot":"","sources":["../../src/operations/TokensAuthorize.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC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AAqB;IACnC,MAAM,EAAE,CAAC,UAAU,CAAU;CAC9B,CAAC,CAAC,CAAC"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
6
|
-
export type TokensRequestKmsOutput =
|
|
3
|
+
export interface TokensRequestKmsInput {
|
|
4
|
+
}
|
|
5
|
+
export declare const TokensRequestKmsInput: Schema.Codec<TokensRequestKmsInput>;
|
|
6
|
+
export type TokensRequestKmsOutput = void;
|
|
7
|
+
export declare const TokensRequestKmsOutput: Schema.Codec<TokensRequestKmsOutput>;
|
|
7
8
|
/**
|
|
8
9
|
* Request a Petsem token for accessing KMS
|
|
9
10
|
*
|
|
10
11
|
* 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.
|
|
11
12
|
*/
|
|
12
|
-
export declare const TokensRequestKms: import("@distilled.cloud/core/client").OperationMethod<
|
|
13
|
+
export declare const TokensRequestKms: import("@distilled.cloud/core/client").OperationMethod<TokensRequestKmsInput, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
|
|
13
14
|
//# sourceMappingURL=TokensRequestKms.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokensRequestKms.d.ts","sourceRoot":"","sources":["../../src/operations/TokensRequestKms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG/D,
|
|
1
|
+
{"version":3,"file":"TokensRequestKms.d.ts","sourceRoot":"","sources":["../../src/operations/TokensRequestKms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG/D,MAAM,WAAW,qBAAqB;CAAG;AACzC,eAAO,MAAM,qBAAqB,EAIlB,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;AAGpD,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC;AAC1C,eAAO,MAAM,sBAAsB,EACqB,MAAM,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;AAG7F;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,wKAI1B,CAAC"}
|
|
@@ -2,10 +2,9 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.js";
|
|
5
|
-
// Input Schema
|
|
6
5
|
export const TokensRequestKmsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "POST", path: "/tokens/kms" }));
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
export const TokensRequestKmsOutput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
9
8
|
// The operation
|
|
10
9
|
/**
|
|
11
10
|
* Request a Petsem token for accessing KMS
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokensRequestKms.js","sourceRoot":"","sources":["../../src/operations/TokensRequestKms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"TokensRequestKms.js","sourceRoot":"","sources":["../../src/operations/TokensRequestKms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI/D,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC5E,EAAE,CACH,CAAC,IAAI,CACJ,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,CACE,CAAC;AAIpD,MAAM,CAAC,MAAM,sBAAsB;AACjC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAuD,CAAC;AAE7F,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1E,WAAW,EAAE,qBAAqB;IAClC,YAAY,EAAE,sBAAsB;IACpC,MAAM,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,CAAU;CACnD,CAAC,CAAC,CAAC"}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
3
|
+
export interface TokensRequestOIDCInput {
|
|
4
|
+
aud?: string;
|
|
5
|
+
aws_principal_tags?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const TokensRequestOIDCInput: Schema.Codec<TokensRequestOIDCInput>;
|
|
8
|
+
export type TokensRequestOIDCOutput = void;
|
|
9
|
+
export declare const TokensRequestOIDCOutput: Schema.Codec<TokensRequestOIDCOutput>;
|
|
10
10
|
/**
|
|
11
11
|
* Request an OIDC token
|
|
12
12
|
*
|
|
13
13
|
* 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.
|
|
14
14
|
*/
|
|
15
|
-
export declare const TokensRequestOIDC: import("@distilled.cloud/core/client").OperationMethod<
|
|
16
|
-
readonly aud?: string | undefined;
|
|
17
|
-
readonly aws_principal_tags?: boolean | undefined;
|
|
18
|
-
}, string, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
|
|
15
|
+
export declare const TokensRequestOIDC: import("@distilled.cloud/core/client").OperationMethod<TokensRequestOIDCInput, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
|
|
19
16
|
//# sourceMappingURL=TokensRequestOIDC.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokensRequestOIDC.d.ts","sourceRoot":"","sources":["../../src/operations/TokensRequestOIDC.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG/D,
|
|
1
|
+
{"version":3,"file":"TokensRequestOIDC.d.ts","sourceRoot":"","sources":["../../src/operations/TokensRequestOIDC.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG/D,MAAM,WAAW,sBAAsB;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AACD,eAAO,MAAM,sBAAsB,EAOnB,MAAM,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;AAGrD,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAC3C,eAAO,MAAM,uBAAuB,EACoB,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;AAG9F;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,yKAI3B,CAAC"}
|
|
@@ -2,14 +2,12 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.js";
|
|
5
|
-
// Input Schema
|
|
6
5
|
export const TokensRequestOIDCInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
6
|
aud: Schema.optional(Schema.String),
|
|
8
7
|
aws_principal_tags: Schema.optional(Schema.Boolean),
|
|
9
8
|
}).pipe(T.Http({ method: "POST", path: "/tokens/oidc" }));
|
|
10
|
-
// Output Schema
|
|
11
9
|
export const TokensRequestOIDCOutput =
|
|
12
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
10
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
13
11
|
// The operation
|
|
14
12
|
/**
|
|
15
13
|
* Request an OIDC token
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokensRequestOIDC.js","sourceRoot":"","sources":["../../src/operations/TokensRequestOIDC.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"TokensRequestOIDC.js","sourceRoot":"","sources":["../../src/operations/TokensRequestOIDC.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC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30
|
-
}
|
|
31
|
-
export
|
|
3
|
+
export interface VolumeDeleteInput {
|
|
4
|
+
app_name: string;
|
|
5
|
+
volume_id: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const VolumeDeleteInput: Schema.Codec<VolumeDeleteInput>;
|
|
8
|
+
export interface VolumeDeleteOutput {
|
|
9
|
+
attached_alloc_id?: string;
|
|
10
|
+
attached_machine_id?: string;
|
|
11
|
+
auto_backup_enabled?: boolean;
|
|
12
|
+
block_size?: number;
|
|
13
|
+
blocks?: number;
|
|
14
|
+
blocks_avail?: number;
|
|
15
|
+
blocks_free?: number;
|
|
16
|
+
bytes_total?: number;
|
|
17
|
+
bytes_used?: number;
|
|
18
|
+
created_at?: string;
|
|
19
|
+
encrypted?: boolean;
|
|
20
|
+
fstype?: string;
|
|
21
|
+
host_status?: "ok" | "unknown" | "unreachable";
|
|
22
|
+
id?: string;
|
|
23
|
+
name?: string;
|
|
24
|
+
region?: string;
|
|
25
|
+
size_gb?: number;
|
|
26
|
+
snapshot_retention?: number;
|
|
27
|
+
state?: string;
|
|
28
|
+
type?: "local" | "cache";
|
|
29
|
+
zone?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare const VolumeDeleteOutput: Schema.Codec<VolumeDeleteOutput>;
|
|
32
32
|
/**
|
|
33
33
|
* Destroy Volume
|
|
34
34
|
*
|
|
@@ -37,30 +37,5 @@ export type VolumeDeleteOutput = typeof VolumeDeleteOutput.Type;
|
|
|
37
37
|
* @param app_name - Fly App Name
|
|
38
38
|
* @param volume_id - Volume ID
|
|
39
39
|
*/
|
|
40
|
-
export declare const VolumeDelete: import("@distilled.cloud/core/client").OperationMethod<
|
|
41
|
-
readonly app_name: string;
|
|
42
|
-
readonly volume_id: string;
|
|
43
|
-
}, {
|
|
44
|
-
readonly attached_alloc_id?: string | undefined;
|
|
45
|
-
readonly attached_machine_id?: string | undefined;
|
|
46
|
-
readonly auto_backup_enabled?: boolean | undefined;
|
|
47
|
-
readonly block_size?: number | undefined;
|
|
48
|
-
readonly blocks?: number | undefined;
|
|
49
|
-
readonly blocks_avail?: number | undefined;
|
|
50
|
-
readonly blocks_free?: number | undefined;
|
|
51
|
-
readonly bytes_total?: number | undefined;
|
|
52
|
-
readonly bytes_used?: number | undefined;
|
|
53
|
-
readonly created_at?: string | undefined;
|
|
54
|
-
readonly encrypted?: boolean | undefined;
|
|
55
|
-
readonly fstype?: string | undefined;
|
|
56
|
-
readonly host_status?: "ok" | "unknown" | "unreachable" | undefined;
|
|
57
|
-
readonly id?: string | undefined;
|
|
58
|
-
readonly name?: string | undefined;
|
|
59
|
-
readonly region?: string | undefined;
|
|
60
|
-
readonly size_gb?: number | undefined;
|
|
61
|
-
readonly snapshot_retention?: number | undefined;
|
|
62
|
-
readonly state?: string | undefined;
|
|
63
|
-
readonly type?: "cache" | "local" | undefined;
|
|
64
|
-
readonly zone?: string | undefined;
|
|
65
|
-
}, Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
|
|
40
|
+
export declare const VolumeDelete: import("@distilled.cloud/core/client").OperationMethod<VolumeDeleteInput, VolumeDeleteOutput, Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
|
|
66
41
|
//# sourceMappingURL=VolumeDelete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumeDelete.d.ts","sourceRoot":"","sources":["../../src/operations/VolumeDelete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"VolumeDelete.d.ts","sourceRoot":"","sources":["../../src/operations/VolumeDelete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,MAAM,WAAW,iBAAiB;IAChC,Q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