@distilled.cloud/fly-io 0.26.1 → 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,9 +1,16 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client.ts";
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
|
-
import { BadRequest
|
|
4
|
+
import { BadRequest } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface MachinesUpdateMetadataInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
machine_id: string;
|
|
10
|
+
machine_version?: string;
|
|
11
|
+
metadata?: Record<string, string>;
|
|
12
|
+
updated_at?: string;
|
|
13
|
+
}
|
|
7
14
|
export const MachinesUpdateMetadataInput =
|
|
8
15
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
16
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -13,18 +20,15 @@ export const MachinesUpdateMetadataInput =
|
|
|
13
20
|
updated_at: Schema.optional(Schema.String),
|
|
14
21
|
}).pipe(
|
|
15
22
|
T.Http({
|
|
16
|
-
method: "
|
|
23
|
+
method: "PATCH",
|
|
17
24
|
path: "/apps/{app_name}/machines/{machine_id}/metadata",
|
|
18
25
|
}),
|
|
19
|
-
)
|
|
20
|
-
export type MachinesUpdateMetadataInput =
|
|
21
|
-
typeof MachinesUpdateMetadataInput.Type;
|
|
26
|
+
) as unknown as Schema.Codec<MachinesUpdateMetadataInput>;
|
|
22
27
|
|
|
23
28
|
// Output Schema
|
|
29
|
+
export type MachinesUpdateMetadataOutput = void;
|
|
24
30
|
export const MachinesUpdateMetadataOutput =
|
|
25
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Void
|
|
26
|
-
export type MachinesUpdateMetadataOutput =
|
|
27
|
-
typeof MachinesUpdateMetadataOutput.Type;
|
|
31
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesUpdateMetadataOutput>;
|
|
28
32
|
|
|
29
33
|
// The operation
|
|
30
34
|
/**
|
|
@@ -40,6 +44,6 @@ export const MachinesUpdateMetadata = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
40
44
|
() => ({
|
|
41
45
|
inputSchema: MachinesUpdateMetadataInput,
|
|
42
46
|
outputSchema: MachinesUpdateMetadataOutput,
|
|
43
|
-
errors: [BadRequest
|
|
47
|
+
errors: [BadRequest] as const,
|
|
44
48
|
}),
|
|
45
49
|
);
|
|
@@ -4,6 +4,13 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface MachinesUpsertMetadataInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
machine_id: string;
|
|
10
|
+
key: string;
|
|
11
|
+
updated_at?: string;
|
|
12
|
+
value?: string;
|
|
13
|
+
}
|
|
7
14
|
export const MachinesUpsertMetadataInput =
|
|
8
15
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
16
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -16,15 +23,12 @@ export const MachinesUpsertMetadataInput =
|
|
|
16
23
|
method: "POST",
|
|
17
24
|
path: "/apps/{app_name}/machines/{machine_id}/metadata/{key}",
|
|
18
25
|
}),
|
|
19
|
-
)
|
|
20
|
-
export type MachinesUpsertMetadataInput =
|
|
21
|
-
typeof MachinesUpsertMetadataInput.Type;
|
|
26
|
+
) as unknown as Schema.Codec<MachinesUpsertMetadataInput>;
|
|
22
27
|
|
|
23
28
|
// Output Schema
|
|
29
|
+
export type MachinesUpsertMetadataOutput = void;
|
|
24
30
|
export const MachinesUpsertMetadataOutput =
|
|
25
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Void
|
|
26
|
-
export type MachinesUpsertMetadataOutput =
|
|
27
|
-
typeof MachinesUpsertMetadataOutput.Type;
|
|
31
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesUpsertMetadataOutput>;
|
|
28
32
|
|
|
29
33
|
// The operation
|
|
30
34
|
/**
|
|
@@ -4,6 +4,21 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface MachinesWaitInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
machine_id: string;
|
|
10
|
+
version?: string;
|
|
11
|
+
instance_id?: string;
|
|
12
|
+
from_event_id?: string;
|
|
13
|
+
timeout?: number;
|
|
14
|
+
state?:
|
|
15
|
+
| "started"
|
|
16
|
+
| "stopped"
|
|
17
|
+
| "suspended"
|
|
18
|
+
| "destroyed"
|
|
19
|
+
| "failed"
|
|
20
|
+
| "settled";
|
|
21
|
+
}
|
|
7
22
|
export const MachinesWaitInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
23
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
24
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
@@ -26,17 +41,21 @@ export const MachinesWaitInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
26
41
|
method: "GET",
|
|
27
42
|
path: "/apps/{app_name}/machines/{machine_id}/wait",
|
|
28
43
|
}),
|
|
29
|
-
)
|
|
30
|
-
export type MachinesWaitInput = typeof MachinesWaitInput.Type;
|
|
44
|
+
) as unknown as Schema.Codec<MachinesWaitInput>;
|
|
31
45
|
|
|
32
46
|
// Output Schema
|
|
47
|
+
export interface MachinesWaitOutput {
|
|
48
|
+
event_id?: string;
|
|
49
|
+
ok?: boolean;
|
|
50
|
+
state?: string;
|
|
51
|
+
version?: string;
|
|
52
|
+
}
|
|
33
53
|
export const MachinesWaitOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
34
54
|
event_id: Schema.optional(Schema.String),
|
|
35
55
|
ok: Schema.optional(Schema.Boolean),
|
|
36
56
|
state: Schema.optional(Schema.String),
|
|
37
57
|
version: Schema.optional(Schema.String),
|
|
38
|
-
})
|
|
39
|
-
export type MachinesWaitOutput = typeof MachinesWaitOutput.Type;
|
|
58
|
+
}) as unknown as Schema.Codec<MachinesWaitOutput>;
|
|
40
59
|
|
|
41
60
|
// The operation
|
|
42
61
|
/**
|
|
@@ -4,6 +4,25 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface PlatformPlacementsPostInput {
|
|
8
|
+
compute?: {
|
|
9
|
+
cpu_kind?: string;
|
|
10
|
+
cpus?: number;
|
|
11
|
+
gpu_kind?: string;
|
|
12
|
+
gpus?: number;
|
|
13
|
+
host_dedication_id?: string;
|
|
14
|
+
kernel_args?: string[];
|
|
15
|
+
max_memory_mb?: number;
|
|
16
|
+
memory_mb?: number;
|
|
17
|
+
persist_rootfs?: "never" | "always" | "restart";
|
|
18
|
+
};
|
|
19
|
+
count?: number;
|
|
20
|
+
org_slug: string;
|
|
21
|
+
region?: string;
|
|
22
|
+
volume_name?: string;
|
|
23
|
+
volume_size_bytes?: number;
|
|
24
|
+
weights?: Record<string, number>;
|
|
25
|
+
}
|
|
7
26
|
export const PlatformPlacementsPostInput =
|
|
8
27
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
28
|
compute: Schema.optional(
|
|
@@ -27,11 +46,14 @@ export const PlatformPlacementsPostInput =
|
|
|
27
46
|
volume_name: Schema.optional(Schema.String),
|
|
28
47
|
volume_size_bytes: Schema.optional(Schema.Number),
|
|
29
48
|
weights: Schema.optional(Schema.Record(Schema.String, Schema.Number)),
|
|
30
|
-
}).pipe(
|
|
31
|
-
|
|
32
|
-
|
|
49
|
+
}).pipe(
|
|
50
|
+
T.Http({ method: "POST", path: "/platform/placements" }),
|
|
51
|
+
) as unknown as Schema.Codec<PlatformPlacementsPostInput>;
|
|
33
52
|
|
|
34
53
|
// Output Schema
|
|
54
|
+
export interface PlatformPlacementsPostOutput {
|
|
55
|
+
regions?: { concurrency?: number; count?: number; region?: string }[];
|
|
56
|
+
}
|
|
35
57
|
export const PlatformPlacementsPostOutput =
|
|
36
58
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
37
59
|
regions: Schema.optional(
|
|
@@ -43,9 +65,7 @@ export const PlatformPlacementsPostOutput =
|
|
|
43
65
|
}),
|
|
44
66
|
),
|
|
45
67
|
),
|
|
46
|
-
})
|
|
47
|
-
export type PlatformPlacementsPostOutput =
|
|
48
|
-
typeof PlatformPlacementsPostOutput.Type;
|
|
68
|
+
}) as unknown as Schema.Codec<PlatformPlacementsPostOutput>;
|
|
49
69
|
|
|
50
70
|
// The operation
|
|
51
71
|
/**
|
|
@@ -4,13 +4,26 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { Forbidden } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface PlatformRegionsGetInput {}
|
|
7
8
|
export const PlatformRegionsGetInput =
|
|
8
9
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
9
10
|
T.Http({ method: "GET", path: "/platform/regions" }),
|
|
10
|
-
)
|
|
11
|
-
export type PlatformRegionsGetInput = typeof PlatformRegionsGetInput.Type;
|
|
11
|
+
) as unknown as Schema.Codec<PlatformRegionsGetInput>;
|
|
12
12
|
|
|
13
13
|
// Output Schema
|
|
14
|
+
export interface PlatformRegionsGetOutput {
|
|
15
|
+
nearest?: string;
|
|
16
|
+
regions?: {
|
|
17
|
+
code?: string;
|
|
18
|
+
deprecated?: boolean;
|
|
19
|
+
gateway_available?: boolean;
|
|
20
|
+
geo_region?: string;
|
|
21
|
+
latitude?: number;
|
|
22
|
+
longitude?: number;
|
|
23
|
+
name?: string;
|
|
24
|
+
requires_paid_plan?: boolean;
|
|
25
|
+
}[];
|
|
26
|
+
}
|
|
14
27
|
export const PlatformRegionsGetOutput =
|
|
15
28
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16
29
|
nearest: Schema.optional(Schema.String),
|
|
@@ -28,8 +41,7 @@ export const PlatformRegionsGetOutput =
|
|
|
28
41
|
}),
|
|
29
42
|
),
|
|
30
43
|
),
|
|
31
|
-
})
|
|
32
|
-
export type PlatformRegionsGetOutput = typeof PlatformRegionsGetOutput.Type;
|
|
44
|
+
}) as unknown as Schema.Codec<PlatformRegionsGetOutput>;
|
|
33
45
|
|
|
34
46
|
// The operation
|
|
35
47
|
/**
|
|
@@ -4,16 +4,29 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface SecretCreateInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
secret_name: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
}
|
|
7
12
|
export const SecretCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
14
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
10
15
|
value: Schema.optional(Schema.String),
|
|
11
16
|
}).pipe(
|
|
12
17
|
T.Http({ method: "POST", path: "/apps/{app_name}/secrets/{secret_name}" }),
|
|
13
|
-
)
|
|
14
|
-
export type SecretCreateInput = typeof SecretCreateInput.Type;
|
|
18
|
+
) as unknown as Schema.Codec<SecretCreateInput>;
|
|
15
19
|
|
|
16
20
|
// Output Schema
|
|
21
|
+
export interface SecretCreateOutput {
|
|
22
|
+
Version?: number;
|
|
23
|
+
created_at?: string;
|
|
24
|
+
digest?: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
updated_at?: string;
|
|
27
|
+
value?: string;
|
|
28
|
+
version?: number;
|
|
29
|
+
}
|
|
17
30
|
export const SecretCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18
31
|
Version: Schema.optional(Schema.Number),
|
|
19
32
|
created_at: Schema.optional(Schema.String),
|
|
@@ -22,8 +35,7 @@ export const SecretCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
22
35
|
updated_at: Schema.optional(Schema.String),
|
|
23
36
|
value: Schema.optional(Schema.String),
|
|
24
37
|
version: Schema.optional(Schema.Number),
|
|
25
|
-
})
|
|
26
|
-
export type SecretCreateOutput = typeof SecretCreateOutput.Type;
|
|
38
|
+
}) as unknown as Schema.Codec<SecretCreateOutput>;
|
|
27
39
|
|
|
28
40
|
// The operation
|
|
29
41
|
/**
|
|
@@ -4,20 +4,26 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface SecretDeleteInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
secret_name: string;
|
|
10
|
+
}
|
|
7
11
|
export const SecretDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
13
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
10
14
|
}).pipe(
|
|
11
15
|
T.Http({ method: "DELETE", path: "/apps/{app_name}/secrets/{secret_name}" }),
|
|
12
|
-
)
|
|
13
|
-
export type SecretDeleteInput = typeof SecretDeleteInput.Type;
|
|
16
|
+
) as unknown as Schema.Codec<SecretDeleteInput>;
|
|
14
17
|
|
|
15
18
|
// Output Schema
|
|
19
|
+
export interface SecretDeleteOutput {
|
|
20
|
+
Version?: number;
|
|
21
|
+
version?: number;
|
|
22
|
+
}
|
|
16
23
|
export const SecretDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
24
|
Version: Schema.optional(Schema.Number),
|
|
18
25
|
version: Schema.optional(Schema.Number),
|
|
19
|
-
})
|
|
20
|
-
export type SecretDeleteOutput = typeof SecretDeleteOutput.Type;
|
|
26
|
+
}) as unknown as Schema.Codec<SecretDeleteOutput>;
|
|
21
27
|
|
|
22
28
|
// The operation
|
|
23
29
|
/**
|
|
@@ -4,6 +4,12 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface SecretGetInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
secret_name: string;
|
|
10
|
+
min_version?: string;
|
|
11
|
+
show_secrets?: boolean;
|
|
12
|
+
}
|
|
7
13
|
export const SecretGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
14
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
15
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -11,18 +17,23 @@ export const SecretGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11
17
|
show_secrets: Schema.optional(Schema.Boolean),
|
|
12
18
|
}).pipe(
|
|
13
19
|
T.Http({ method: "GET", path: "/apps/{app_name}/secrets/{secret_name}" }),
|
|
14
|
-
)
|
|
15
|
-
export type SecretGetInput = typeof SecretGetInput.Type;
|
|
20
|
+
) as unknown as Schema.Codec<SecretGetInput>;
|
|
16
21
|
|
|
17
22
|
// Output Schema
|
|
23
|
+
export interface SecretGetOutput {
|
|
24
|
+
created_at?: string;
|
|
25
|
+
digest?: string;
|
|
26
|
+
name?: string;
|
|
27
|
+
updated_at?: string;
|
|
28
|
+
value?: string;
|
|
29
|
+
}
|
|
18
30
|
export const SecretGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19
31
|
created_at: Schema.optional(Schema.String),
|
|
20
32
|
digest: Schema.optional(Schema.String),
|
|
21
33
|
name: Schema.optional(Schema.String),
|
|
22
34
|
updated_at: Schema.optional(Schema.String),
|
|
23
35
|
value: Schema.optional(Schema.String),
|
|
24
|
-
})
|
|
25
|
-
export type SecretGetOutput = typeof SecretGetOutput.Type;
|
|
36
|
+
}) as unknown as Schema.Codec<SecretGetOutput>;
|
|
26
37
|
|
|
27
38
|
// The operation
|
|
28
39
|
/**
|
|
@@ -4,6 +4,13 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface SecretkeyDecryptInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
secret_name: string;
|
|
10
|
+
min_version?: string;
|
|
11
|
+
associated_data?: number[];
|
|
12
|
+
ciphertext?: number[];
|
|
13
|
+
}
|
|
7
14
|
export const SecretkeyDecryptInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
15
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
16
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -15,16 +22,17 @@ export const SecretkeyDecryptInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
15
22
|
method: "POST",
|
|
16
23
|
path: "/apps/{app_name}/secretkeys/{secret_name}/decrypt",
|
|
17
24
|
}),
|
|
18
|
-
)
|
|
19
|
-
export type SecretkeyDecryptInput = typeof SecretkeyDecryptInput.Type;
|
|
25
|
+
) as unknown as Schema.Codec<SecretkeyDecryptInput>;
|
|
20
26
|
|
|
21
27
|
// Output Schema
|
|
28
|
+
export interface SecretkeyDecryptOutput {
|
|
29
|
+
plaintext?: number[];
|
|
30
|
+
}
|
|
22
31
|
export const SecretkeyDecryptOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
23
32
|
{
|
|
24
33
|
plaintext: Schema.optional(Schema.Array(Schema.Number)),
|
|
25
34
|
},
|
|
26
|
-
)
|
|
27
|
-
export type SecretkeyDecryptOutput = typeof SecretkeyDecryptOutput.Type;
|
|
35
|
+
) as unknown as Schema.Codec<SecretkeyDecryptOutput>;
|
|
28
36
|
|
|
29
37
|
// The operation
|
|
30
38
|
/**
|
|
@@ -4,6 +4,10 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface SecretkeyDeleteInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
secret_name: string;
|
|
10
|
+
}
|
|
7
11
|
export const SecretkeyDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
13
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -12,15 +16,17 @@ export const SecretkeyDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12
16
|
method: "DELETE",
|
|
13
17
|
path: "/apps/{app_name}/secretkeys/{secret_name}",
|
|
14
18
|
}),
|
|
15
|
-
)
|
|
16
|
-
export type SecretkeyDeleteInput = typeof SecretkeyDeleteInput.Type;
|
|
19
|
+
) as unknown as Schema.Codec<SecretkeyDeleteInput>;
|
|
17
20
|
|
|
18
21
|
// Output Schema
|
|
22
|
+
export interface SecretkeyDeleteOutput {
|
|
23
|
+
Version?: number;
|
|
24
|
+
version?: number;
|
|
25
|
+
}
|
|
19
26
|
export const SecretkeyDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
20
27
|
Version: Schema.optional(Schema.Number),
|
|
21
28
|
version: Schema.optional(Schema.Number),
|
|
22
|
-
})
|
|
23
|
-
export type SecretkeyDeleteOutput = typeof SecretkeyDeleteOutput.Type;
|
|
29
|
+
}) as unknown as Schema.Codec<SecretkeyDeleteOutput>;
|
|
24
30
|
|
|
25
31
|
// The operation
|
|
26
32
|
/**
|
|
@@ -4,6 +4,13 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface SecretkeyEncryptInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
secret_name: string;
|
|
10
|
+
min_version?: string;
|
|
11
|
+
associated_data?: number[];
|
|
12
|
+
plaintext?: number[];
|
|
13
|
+
}
|
|
7
14
|
export const SecretkeyEncryptInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
15
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
16
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -15,16 +22,17 @@ export const SecretkeyEncryptInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
15
22
|
method: "POST",
|
|
16
23
|
path: "/apps/{app_name}/secretkeys/{secret_name}/encrypt",
|
|
17
24
|
}),
|
|
18
|
-
)
|
|
19
|
-
export type SecretkeyEncryptInput = typeof SecretkeyEncryptInput.Type;
|
|
25
|
+
) as unknown as Schema.Codec<SecretkeyEncryptInput>;
|
|
20
26
|
|
|
21
27
|
// Output Schema
|
|
28
|
+
export interface SecretkeyEncryptOutput {
|
|
29
|
+
ciphertext?: number[];
|
|
30
|
+
}
|
|
22
31
|
export const SecretkeyEncryptOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
23
32
|
{
|
|
24
33
|
ciphertext: Schema.optional(Schema.Array(Schema.Number)),
|
|
25
34
|
},
|
|
26
|
-
)
|
|
27
|
-
export type SecretkeyEncryptOutput = typeof SecretkeyEncryptOutput.Type;
|
|
35
|
+
) as unknown as Schema.Codec<SecretkeyEncryptOutput>;
|
|
28
36
|
|
|
29
37
|
// The operation
|
|
30
38
|
/**
|
|
@@ -4,6 +4,12 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface SecretkeyGenerateInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
secret_name: string;
|
|
10
|
+
type?: string;
|
|
11
|
+
value?: number[];
|
|
12
|
+
}
|
|
7
13
|
export const SecretkeyGenerateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
8
14
|
{
|
|
9
15
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -16,10 +22,18 @@ export const SecretkeyGenerateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
16
22
|
method: "POST",
|
|
17
23
|
path: "/apps/{app_name}/secretkeys/{secret_name}/generate",
|
|
18
24
|
}),
|
|
19
|
-
)
|
|
20
|
-
export type SecretkeyGenerateInput = typeof SecretkeyGenerateInput.Type;
|
|
25
|
+
) as unknown as Schema.Codec<SecretkeyGenerateInput>;
|
|
21
26
|
|
|
22
27
|
// Output Schema
|
|
28
|
+
export interface SecretkeyGenerateOutput {
|
|
29
|
+
Version?: number;
|
|
30
|
+
created_at?: string;
|
|
31
|
+
name?: string;
|
|
32
|
+
public_key?: number[];
|
|
33
|
+
type?: string;
|
|
34
|
+
updated_at?: string;
|
|
35
|
+
version?: number;
|
|
36
|
+
}
|
|
23
37
|
export const SecretkeyGenerateOutput =
|
|
24
38
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
25
39
|
Version: Schema.optional(Schema.Number),
|
|
@@ -29,8 +43,7 @@ export const SecretkeyGenerateOutput =
|
|
|
29
43
|
type: Schema.optional(Schema.String),
|
|
30
44
|
updated_at: Schema.optional(Schema.String),
|
|
31
45
|
version: Schema.optional(Schema.Number),
|
|
32
|
-
})
|
|
33
|
-
export type SecretkeyGenerateOutput = typeof SecretkeyGenerateOutput.Type;
|
|
46
|
+
}) as unknown as Schema.Codec<SecretkeyGenerateOutput>;
|
|
34
47
|
|
|
35
48
|
// The operation
|
|
36
49
|
/**
|
|
@@ -4,24 +4,34 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface SecretkeyGetInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
secret_name: string;
|
|
10
|
+
min_version?: string;
|
|
11
|
+
}
|
|
7
12
|
export const SecretkeyGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
14
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
10
15
|
min_version: Schema.optional(Schema.String),
|
|
11
16
|
}).pipe(
|
|
12
17
|
T.Http({ method: "GET", path: "/apps/{app_name}/secretkeys/{secret_name}" }),
|
|
13
|
-
)
|
|
14
|
-
export type SecretkeyGetInput = typeof SecretkeyGetInput.Type;
|
|
18
|
+
) as unknown as Schema.Codec<SecretkeyGetInput>;
|
|
15
19
|
|
|
16
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
|
+
}
|
|
17
28
|
export const SecretkeyGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18
29
|
created_at: Schema.optional(Schema.String),
|
|
19
30
|
name: Schema.optional(Schema.String),
|
|
20
31
|
public_key: Schema.optional(Schema.Array(Schema.Number)),
|
|
21
32
|
type: Schema.optional(Schema.String),
|
|
22
33
|
updated_at: Schema.optional(Schema.String),
|
|
23
|
-
})
|
|
24
|
-
export type SecretkeyGetOutput = typeof SecretkeyGetOutput.Type;
|
|
34
|
+
}) as unknown as Schema.Codec<SecretkeyGetOutput>;
|
|
25
35
|
|
|
26
36
|
// The operation
|
|
27
37
|
/**
|
|
@@ -4,6 +4,12 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface SecretkeySetInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
secret_name: string;
|
|
10
|
+
type?: string;
|
|
11
|
+
value?: number[];
|
|
12
|
+
}
|
|
7
13
|
export const SecretkeySetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
14
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
15
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -11,10 +17,18 @@ export const SecretkeySetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11
17
|
value: Schema.optional(Schema.Array(Schema.Number)),
|
|
12
18
|
}).pipe(
|
|
13
19
|
T.Http({ method: "POST", path: "/apps/{app_name}/secretkeys/{secret_name}" }),
|
|
14
|
-
)
|
|
15
|
-
export type SecretkeySetInput = typeof SecretkeySetInput.Type;
|
|
20
|
+
) as unknown as Schema.Codec<SecretkeySetInput>;
|
|
16
21
|
|
|
17
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
|
+
}
|
|
18
32
|
export const SecretkeySetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19
33
|
Version: Schema.optional(Schema.Number),
|
|
20
34
|
created_at: Schema.optional(Schema.String),
|
|
@@ -23,8 +37,7 @@ export const SecretkeySetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
23
37
|
type: Schema.optional(Schema.String),
|
|
24
38
|
updated_at: Schema.optional(Schema.String),
|
|
25
39
|
version: Schema.optional(Schema.Number),
|
|
26
|
-
})
|
|
27
|
-
export type SecretkeySetOutput = typeof SecretkeySetOutput.Type;
|
|
40
|
+
}) as unknown as Schema.Codec<SecretkeySetOutput>;
|
|
28
41
|
|
|
29
42
|
// The operation
|
|
30
43
|
/**
|
|
@@ -4,6 +4,12 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface SecretkeySignInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
secret_name: string;
|
|
10
|
+
min_version?: string;
|
|
11
|
+
plaintext?: number[];
|
|
12
|
+
}
|
|
7
13
|
export const SecretkeySignInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
14
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
15
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -14,14 +20,15 @@ export const SecretkeySignInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
14
20
|
method: "POST",
|
|
15
21
|
path: "/apps/{app_name}/secretkeys/{secret_name}/sign",
|
|
16
22
|
}),
|
|
17
|
-
)
|
|
18
|
-
export type SecretkeySignInput = typeof SecretkeySignInput.Type;
|
|
23
|
+
) as unknown as Schema.Codec<SecretkeySignInput>;
|
|
19
24
|
|
|
20
25
|
// Output Schema
|
|
26
|
+
export interface SecretkeySignOutput {
|
|
27
|
+
signature?: number[];
|
|
28
|
+
}
|
|
21
29
|
export const SecretkeySignOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22
30
|
signature: Schema.optional(Schema.Array(Schema.Number)),
|
|
23
|
-
})
|
|
24
|
-
export type SecretkeySignOutput = typeof SecretkeySignOutput.Type;
|
|
31
|
+
}) as unknown as Schema.Codec<SecretkeySignOutput>;
|
|
25
32
|
|
|
26
33
|
// The operation
|
|
27
34
|
/**
|
|
@@ -4,6 +4,13 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
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
|
+
}
|
|
7
14
|
export const SecretkeyVerifyInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
15
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
16
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -15,12 +22,12 @@ export const SecretkeyVerifyInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
15
22
|
method: "POST",
|
|
16
23
|
path: "/apps/{app_name}/secretkeys/{secret_name}/verify",
|
|
17
24
|
}),
|
|
18
|
-
)
|
|
19
|
-
export type SecretkeyVerifyInput = typeof SecretkeyVerifyInput.Type;
|
|
25
|
+
) as unknown as Schema.Codec<SecretkeyVerifyInput>;
|
|
20
26
|
|
|
21
27
|
// Output Schema
|
|
22
|
-
export
|
|
23
|
-
export
|
|
28
|
+
export type SecretkeyVerifyOutput = void;
|
|
29
|
+
export const SecretkeyVerifyOutput =
|
|
30
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<SecretkeyVerifyOutput>;
|
|
24
31
|
|
|
25
32
|
// The operation
|
|
26
33
|
/**
|
|
@@ -4,14 +4,29 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface SecretkeysListInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
min_version?: string;
|
|
10
|
+
types?: string;
|
|
11
|
+
}
|
|
7
12
|
export const SecretkeysListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
14
|
min_version: Schema.optional(Schema.String),
|
|
10
15
|
types: Schema.optional(Schema.String),
|
|
11
|
-
}).pipe(
|
|
12
|
-
|
|
16
|
+
}).pipe(
|
|
17
|
+
T.Http({ method: "GET", path: "/apps/{app_name}/secretkeys" }),
|
|
18
|
+
) as unknown as Schema.Codec<SecretkeysListInput>;
|
|
13
19
|
|
|
14
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
|
+
}
|
|
15
30
|
export const SecretkeysListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16
31
|
secret_keys: Schema.optional(
|
|
17
32
|
Schema.Array(
|
|
@@ -24,8 +39,7 @@ export const SecretkeysListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
24
39
|
}),
|
|
25
40
|
),
|
|
26
41
|
),
|
|
27
|
-
})
|
|
28
|
-
export type SecretkeysListOutput = typeof SecretkeysListOutput.Type;
|
|
42
|
+
}) as unknown as Schema.Codec<SecretkeysListOutput>;
|
|
29
43
|
|
|
30
44
|
// The operation
|
|
31
45
|
/**
|