@distilled.cloud/fly-io 0.28.2 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeCreate.js +3 -3
- package/lib/operations/AppCertificatesAcmeCreate.js.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.js +3 -3
- package/lib/operations/AppCertificatesAcmeDelete.js.map +1 -1
- package/lib/operations/AppCertificatesCheck.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCheck.js +3 -3
- package/lib/operations/AppCertificatesCheck.js.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.js +3 -3
- package/lib/operations/AppCertificatesCustomCreate.js.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.js +3 -3
- package/lib/operations/AppCertificatesCustomDelete.js.map +1 -1
- package/lib/operations/AppCertificatesDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesDelete.js +3 -3
- package/lib/operations/AppCertificatesDelete.js.map +1 -1
- package/lib/operations/AppCertificatesList.js +3 -3
- package/lib/operations/AppCertificatesList.js.map +1 -1
- package/lib/operations/AppCertificatesShow.js +3 -3
- package/lib/operations/AppCertificatesShow.js.map +1 -1
- package/lib/operations/AppCreateDeployToken.d.ts.map +1 -1
- package/lib/operations/AppCreateDeployToken.js +3 -3
- package/lib/operations/AppCreateDeployToken.js.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.js +3 -3
- package/lib/operations/AppIPAssignmentsCreate.js.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.js +3 -3
- package/lib/operations/AppIPAssignmentsDelete.js.map +1 -1
- package/lib/operations/AppIPAssignmentsList.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsList.js +3 -3
- package/lib/operations/AppIPAssignmentsList.js.map +1 -1
- package/lib/operations/App_CertificatesAcmeCreate.d.ts.map +1 -1
- package/lib/operations/App_CertificatesAcmeCreate.js +3 -3
- package/lib/operations/App_CertificatesAcmeCreate.js.map +1 -1
- package/lib/operations/App_CertificatesAcmeDelete.d.ts +1 -1
- package/lib/operations/App_CertificatesAcmeDelete.d.ts.map +1 -1
- package/lib/operations/App_CertificatesAcmeDelete.js +3 -3
- package/lib/operations/App_CertificatesAcmeDelete.js.map +1 -1
- package/lib/operations/App_CertificatesCheck.d.ts +1 -1
- package/lib/operations/App_CertificatesCheck.d.ts.map +1 -1
- package/lib/operations/App_CertificatesCheck.js +3 -3
- package/lib/operations/App_CertificatesCheck.js.map +1 -1
- package/lib/operations/App_CertificatesCustomCreate.js +3 -3
- package/lib/operations/App_CertificatesCustomCreate.js.map +1 -1
- package/lib/operations/App_CertificatesCustomDelete.d.ts +1 -1
- package/lib/operations/App_CertificatesCustomDelete.js +3 -3
- package/lib/operations/App_CertificatesCustomDelete.js.map +1 -1
- package/lib/operations/App_CertificatesDelete.d.ts +1 -1
- package/lib/operations/App_CertificatesDelete.d.ts.map +1 -1
- package/lib/operations/App_CertificatesDelete.js +3 -4
- package/lib/operations/App_CertificatesDelete.js.map +1 -1
- package/lib/operations/App_CertificatesList.d.ts.map +1 -1
- package/lib/operations/App_CertificatesList.js +3 -3
- package/lib/operations/App_CertificatesList.js.map +1 -1
- package/lib/operations/App_CertificatesShow.d.ts +1 -1
- package/lib/operations/App_CertificatesShow.d.ts.map +1 -1
- package/lib/operations/App_CertificatesShow.js +3 -3
- package/lib/operations/App_CertificatesShow.js.map +1 -1
- package/lib/operations/App_IPAssignmentsCreate.d.ts.map +1 -1
- package/lib/operations/App_IPAssignmentsCreate.js +3 -3
- package/lib/operations/App_IPAssignmentsCreate.js.map +1 -1
- package/lib/operations/App_IPAssignmentsDelete.d.ts +1 -1
- package/lib/operations/App_IPAssignmentsDelete.d.ts.map +1 -1
- package/lib/operations/App_IPAssignmentsDelete.js +3 -4
- package/lib/operations/App_IPAssignmentsDelete.js.map +1 -1
- package/lib/operations/App_IPAssignmentsList.d.ts +1 -1
- package/lib/operations/App_IPAssignmentsList.d.ts.map +1 -1
- package/lib/operations/App_IPAssignmentsList.js +3 -3
- package/lib/operations/App_IPAssignmentsList.js.map +1 -1
- package/lib/operations/AppsCreate.d.ts.map +1 -1
- package/lib/operations/AppsCreate.js +3 -3
- package/lib/operations/AppsCreate.js.map +1 -1
- package/lib/operations/AppsDelete.d.ts.map +1 -1
- package/lib/operations/AppsDelete.js +3 -3
- package/lib/operations/AppsDelete.js.map +1 -1
- package/lib/operations/AppsList.js +3 -3
- package/lib/operations/AppsList.js.map +1 -1
- package/lib/operations/AppsShow.js +3 -3
- package/lib/operations/AppsShow.js.map +1 -1
- package/lib/operations/CurrentTokenShow.d.ts.map +1 -1
- package/lib/operations/CurrentTokenShow.js +3 -3
- package/lib/operations/CurrentTokenShow.js.map +1 -1
- package/lib/operations/MachinesCordon.d.ts.map +1 -1
- package/lib/operations/MachinesCordon.js +3 -3
- package/lib/operations/MachinesCordon.js.map +1 -1
- package/lib/operations/MachinesCreate.js +3 -3
- package/lib/operations/MachinesCreate.js.map +1 -1
- package/lib/operations/MachinesCreateLease.js +3 -3
- package/lib/operations/MachinesCreateLease.js.map +1 -1
- package/lib/operations/MachinesDelete.d.ts.map +1 -1
- package/lib/operations/MachinesDelete.js +3 -3
- package/lib/operations/MachinesDelete.js.map +1 -1
- package/lib/operations/MachinesDeleteMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesDeleteMetadata.js +3 -3
- package/lib/operations/MachinesDeleteMetadata.js.map +1 -1
- package/lib/operations/MachinesExec.js +3 -3
- package/lib/operations/MachinesExec.js.map +1 -1
- package/lib/operations/MachinesGetMemory.d.ts.map +1 -1
- package/lib/operations/MachinesGetMemory.js +3 -3
- package/lib/operations/MachinesGetMemory.js.map +1 -1
- package/lib/operations/MachinesGetMetadataKey.d.ts.map +1 -1
- package/lib/operations/MachinesGetMetadataKey.js +3 -3
- package/lib/operations/MachinesGetMetadataKey.js.map +1 -1
- package/lib/operations/MachinesList.js +3 -3
- package/lib/operations/MachinesList.js.map +1 -1
- package/lib/operations/MachinesListEvents.js +3 -3
- package/lib/operations/MachinesListEvents.js.map +1 -1
- package/lib/operations/MachinesListProcesses.d.ts.map +1 -1
- package/lib/operations/MachinesListProcesses.js +3 -3
- package/lib/operations/MachinesListProcesses.js.map +1 -1
- package/lib/operations/MachinesListVersions.d.ts.map +1 -1
- package/lib/operations/MachinesListVersions.js +3 -3
- package/lib/operations/MachinesListVersions.js.map +1 -1
- package/lib/operations/MachinesOrgList.js +3 -3
- package/lib/operations/MachinesOrgList.js.map +1 -1
- package/lib/operations/MachinesPatchMetadata.d.ts +4 -4
- package/lib/operations/MachinesPatchMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesPatchMetadata.js +3 -4
- package/lib/operations/MachinesPatchMetadata.js.map +1 -1
- package/lib/operations/MachinesReclaimMemory.d.ts.map +1 -1
- package/lib/operations/MachinesReclaimMemory.js +3 -3
- package/lib/operations/MachinesReclaimMemory.js.map +1 -1
- package/lib/operations/MachinesReleaseLease.d.ts.map +1 -1
- package/lib/operations/MachinesReleaseLease.js +3 -3
- package/lib/operations/MachinesReleaseLease.js.map +1 -1
- package/lib/operations/MachinesRestart.d.ts.map +1 -1
- package/lib/operations/MachinesRestart.js +3 -3
- package/lib/operations/MachinesRestart.js.map +1 -1
- package/lib/operations/MachinesSetMemoryLimit.d.ts.map +1 -1
- package/lib/operations/MachinesSetMemoryLimit.js +3 -3
- package/lib/operations/MachinesSetMemoryLimit.js.map +1 -1
- package/lib/operations/MachinesShow.js +3 -3
- package/lib/operations/MachinesShow.js.map +1 -1
- package/lib/operations/MachinesShowLease.d.ts.map +1 -1
- package/lib/operations/MachinesShowLease.js +3 -3
- package/lib/operations/MachinesShowLease.js.map +1 -1
- package/lib/operations/MachinesShowMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesShowMetadata.js +3 -3
- package/lib/operations/MachinesShowMetadata.js.map +1 -1
- package/lib/operations/MachinesSignal.d.ts.map +1 -1
- package/lib/operations/MachinesSignal.js +3 -3
- package/lib/operations/MachinesSignal.js.map +1 -1
- package/lib/operations/MachinesStart.d.ts.map +1 -1
- package/lib/operations/MachinesStart.js +3 -3
- package/lib/operations/MachinesStart.js.map +1 -1
- package/lib/operations/MachinesStop.d.ts.map +1 -1
- package/lib/operations/MachinesStop.js +3 -3
- package/lib/operations/MachinesStop.js.map +1 -1
- package/lib/operations/MachinesSuspend.d.ts.map +1 -1
- package/lib/operations/MachinesSuspend.js +3 -3
- package/lib/operations/MachinesSuspend.js.map +1 -1
- package/lib/operations/MachinesUncordon.d.ts.map +1 -1
- package/lib/operations/MachinesUncordon.js +3 -3
- package/lib/operations/MachinesUncordon.js.map +1 -1
- package/lib/operations/MachinesUpdate.js +3 -3
- package/lib/operations/MachinesUpdate.js.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.js +3 -3
- package/lib/operations/MachinesUpdateMetadata.js.map +1 -1
- package/lib/operations/MachinesUpsertMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesUpsertMetadata.js +3 -3
- package/lib/operations/MachinesUpsertMetadata.js.map +1 -1
- package/lib/operations/MachinesWait.js +3 -3
- package/lib/operations/MachinesWait.js.map +1 -1
- package/lib/operations/PlatformPlacementsPost.d.ts.map +1 -1
- package/lib/operations/PlatformPlacementsPost.js +3 -3
- package/lib/operations/PlatformPlacementsPost.js.map +1 -1
- package/lib/operations/PlatformRegionsGet.js +3 -3
- package/lib/operations/PlatformRegionsGet.js.map +1 -1
- package/lib/operations/SecretCreate.js +3 -3
- package/lib/operations/SecretCreate.js.map +1 -1
- package/lib/operations/SecretDelete.js +3 -3
- package/lib/operations/SecretDelete.js.map +1 -1
- package/lib/operations/SecretGet.js +3 -3
- package/lib/operations/SecretGet.js.map +1 -1
- package/lib/operations/SecretkeyDecrypt.d.ts.map +1 -1
- package/lib/operations/SecretkeyDecrypt.js +3 -3
- package/lib/operations/SecretkeyDecrypt.js.map +1 -1
- package/lib/operations/SecretkeyDelete.js +3 -3
- package/lib/operations/SecretkeyDelete.js.map +1 -1
- package/lib/operations/SecretkeyEncrypt.d.ts.map +1 -1
- package/lib/operations/SecretkeyEncrypt.js +3 -3
- package/lib/operations/SecretkeyEncrypt.js.map +1 -1
- package/lib/operations/SecretkeyGenerate.d.ts.map +1 -1
- package/lib/operations/SecretkeyGenerate.js +3 -3
- package/lib/operations/SecretkeyGenerate.js.map +1 -1
- package/lib/operations/SecretkeyGet.js +3 -3
- package/lib/operations/SecretkeyGet.js.map +1 -1
- package/lib/operations/SecretkeySet.js +3 -3
- package/lib/operations/SecretkeySet.js.map +1 -1
- package/lib/operations/SecretkeySign.js +3 -3
- package/lib/operations/SecretkeySign.js.map +1 -1
- package/lib/operations/SecretkeyVerify.d.ts.map +1 -1
- package/lib/operations/SecretkeyVerify.js +3 -3
- package/lib/operations/SecretkeyVerify.js.map +1 -1
- package/lib/operations/SecretkeysList.js +3 -3
- package/lib/operations/SecretkeysList.js.map +1 -1
- package/lib/operations/SecretsList.js +3 -3
- package/lib/operations/SecretsList.js.map +1 -1
- package/lib/operations/SecretsUpdate.js +3 -3
- package/lib/operations/SecretsUpdate.js.map +1 -1
- package/lib/operations/TokensAuthenticate.js +3 -3
- package/lib/operations/TokensAuthenticate.js.map +1 -1
- package/lib/operations/TokensAuthorize.js +3 -3
- package/lib/operations/TokensAuthorize.js.map +1 -1
- package/lib/operations/TokensRequestKms.d.ts.map +1 -1
- package/lib/operations/TokensRequestKms.js +3 -3
- package/lib/operations/TokensRequestKms.js.map +1 -1
- package/lib/operations/TokensRequestOIDC.d.ts.map +1 -1
- package/lib/operations/TokensRequestOIDC.js +3 -3
- package/lib/operations/TokensRequestOIDC.js.map +1 -1
- package/lib/operations/TokensRequest_Kms.d.ts +1 -1
- package/lib/operations/TokensRequest_Kms.d.ts.map +1 -1
- package/lib/operations/TokensRequest_Kms.js +3 -4
- package/lib/operations/TokensRequest_Kms.js.map +1 -1
- package/lib/operations/TokensRequest_OIDC.d.ts.map +1 -1
- package/lib/operations/TokensRequest_OIDC.js +3 -4
- package/lib/operations/TokensRequest_OIDC.js.map +1 -1
- package/lib/operations/VolumeDelete.js +3 -3
- package/lib/operations/VolumeDelete.js.map +1 -1
- package/lib/operations/VolumesCreate.js +3 -3
- package/lib/operations/VolumesCreate.js.map +1 -1
- package/lib/operations/VolumesExtend.js +3 -3
- package/lib/operations/VolumesExtend.js.map +1 -1
- package/lib/operations/VolumesGetById.js +3 -3
- package/lib/operations/VolumesGetById.js.map +1 -1
- package/lib/operations/VolumesList.js +3 -3
- package/lib/operations/VolumesList.js.map +1 -1
- package/lib/operations/VolumesListSnapshots.d.ts.map +1 -1
- package/lib/operations/VolumesListSnapshots.js +3 -3
- package/lib/operations/VolumesListSnapshots.js.map +1 -1
- package/lib/operations/VolumesOrgList.js +3 -3
- package/lib/operations/VolumesOrgList.js.map +1 -1
- package/lib/operations/VolumesUpdate.js +3 -3
- package/lib/operations/VolumesUpdate.js.map +1 -1
- package/lib/operations/createVolumeSnapshot.d.ts.map +1 -1
- package/lib/operations/createVolumeSnapshot.js +3 -3
- package/lib/operations/createVolumeSnapshot.js.map +1 -1
- package/package.json +7 -6
- package/src/operations/AppCertificatesAcmeCreate.ts +7 -9
- package/src/operations/AppCertificatesAcmeDelete.ts +7 -9
- package/src/operations/AppCertificatesCheck.ts +7 -9
- package/src/operations/AppCertificatesCustomCreate.ts +7 -9
- package/src/operations/AppCertificatesCustomDelete.ts +7 -9
- package/src/operations/AppCertificatesDelete.ts +7 -9
- package/src/operations/AppCertificatesList.ts +3 -3
- package/src/operations/AppCertificatesShow.ts +3 -3
- package/src/operations/AppCreateDeployToken.ts +7 -9
- package/src/operations/AppIPAssignmentsCreate.ts +7 -9
- package/src/operations/AppIPAssignmentsDelete.ts +7 -9
- package/src/operations/AppIPAssignmentsList.ts +7 -9
- package/src/operations/App_CertificatesAcmeCreate.ts +6 -8
- package/src/operations/App_CertificatesAcmeDelete.ts +6 -8
- package/src/operations/App_CertificatesCheck.ts +6 -8
- package/src/operations/App_CertificatesCustomCreate.ts +3 -3
- package/src/operations/App_CertificatesCustomDelete.ts +3 -3
- package/src/operations/App_CertificatesDelete.ts +6 -9
- package/src/operations/App_CertificatesList.ts +6 -8
- package/src/operations/App_CertificatesShow.ts +6 -8
- package/src/operations/App_IPAssignmentsCreate.ts +6 -8
- package/src/operations/App_IPAssignmentsDelete.ts +6 -9
- package/src/operations/App_IPAssignmentsList.ts +6 -8
- package/src/operations/AppsCreate.ts +3 -3
- package/src/operations/AppsDelete.ts +3 -3
- package/src/operations/AppsList.ts +3 -3
- package/src/operations/AppsShow.ts +3 -3
- package/src/operations/CurrentTokenShow.ts +16 -20
- package/src/operations/MachinesCordon.ts +3 -3
- package/src/operations/MachinesCreate.ts +3 -3
- package/src/operations/MachinesCreateLease.ts +3 -3
- package/src/operations/MachinesDelete.ts +3 -3
- package/src/operations/MachinesDeleteMetadata.ts +7 -9
- package/src/operations/MachinesExec.ts +3 -3
- package/src/operations/MachinesGetMemory.ts +6 -8
- package/src/operations/MachinesGetMetadataKey.ts +7 -9
- package/src/operations/MachinesList.ts +3 -3
- package/src/operations/MachinesListEvents.ts +3 -3
- package/src/operations/MachinesListProcesses.ts +7 -9
- package/src/operations/MachinesListVersions.ts +7 -9
- package/src/operations/MachinesOrgList.ts +3 -3
- package/src/operations/MachinesPatchMetadata.ts +7 -10
- package/src/operations/MachinesReclaimMemory.ts +7 -9
- package/src/operations/MachinesReleaseLease.ts +7 -9
- package/src/operations/MachinesRestart.ts +3 -3
- package/src/operations/MachinesSetMemoryLimit.ts +7 -9
- package/src/operations/MachinesShow.ts +3 -3
- package/src/operations/MachinesShowLease.ts +6 -8
- package/src/operations/MachinesShowMetadata.ts +7 -9
- package/src/operations/MachinesSignal.ts +3 -3
- package/src/operations/MachinesStart.ts +3 -3
- package/src/operations/MachinesStop.ts +3 -3
- package/src/operations/MachinesSuspend.ts +3 -3
- package/src/operations/MachinesUncordon.ts +3 -3
- package/src/operations/MachinesUpdate.ts +3 -3
- package/src/operations/MachinesUpdateMetadata.ts +7 -9
- package/src/operations/MachinesUpsertMetadata.ts +7 -9
- package/src/operations/MachinesWait.ts +3 -3
- package/src/operations/PlatformPlacementsPost.ts +7 -9
- package/src/operations/PlatformRegionsGet.ts +3 -3
- package/src/operations/SecretCreate.ts +3 -3
- package/src/operations/SecretDelete.ts +3 -3
- package/src/operations/SecretGet.ts +3 -3
- package/src/operations/SecretkeyDecrypt.ts +5 -7
- package/src/operations/SecretkeyDelete.ts +3 -3
- package/src/operations/SecretkeyEncrypt.ts +5 -7
- package/src/operations/SecretkeyGenerate.ts +8 -10
- package/src/operations/SecretkeyGet.ts +3 -3
- package/src/operations/SecretkeySet.ts +3 -3
- package/src/operations/SecretkeySign.ts +3 -3
- package/src/operations/SecretkeyVerify.ts +3 -3
- package/src/operations/SecretkeysList.ts +3 -3
- package/src/operations/SecretsList.ts +3 -3
- package/src/operations/SecretsUpdate.ts +3 -3
- package/src/operations/TokensAuthenticate.ts +3 -3
- package/src/operations/TokensAuthorize.ts +3 -3
- package/src/operations/TokensRequestKms.ts +3 -5
- package/src/operations/TokensRequestOIDC.ts +6 -8
- package/src/operations/TokensRequest_Kms.ts +5 -6
- package/src/operations/TokensRequest_OIDC.ts +3 -4
- package/src/operations/VolumeDelete.ts +3 -3
- package/src/operations/VolumesCreate.ts +3 -3
- package/src/operations/VolumesExtend.ts +3 -3
- package/src/operations/VolumesGetById.ts +3 -3
- package/src/operations/VolumesList.ts +3 -3
- package/src/operations/VolumesListSnapshots.ts +7 -9
- package/src/operations/VolumesOrgList.ts +3 -3
- package/src/operations/VolumesUpdate.ts +3 -3
- package/src/operations/createVolumeSnapshot.ts +7 -9
|
@@ -11,7 +11,7 @@ export interface SecretkeyEncryptInput {
|
|
|
11
11
|
associated_data?: number[];
|
|
12
12
|
plaintext?: number[];
|
|
13
13
|
}
|
|
14
|
-
export const SecretkeyEncryptInput = /*@__PURE__*/
|
|
14
|
+
export const SecretkeyEncryptInput = /*@__PURE__*/ Schema.Struct({
|
|
15
15
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
17
17
|
min_version: Schema.optional(Schema.String),
|
|
@@ -28,11 +28,9 @@ export const SecretkeyEncryptInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
28
28
|
export interface SecretkeyEncryptOutput {
|
|
29
29
|
ciphertext?: number[];
|
|
30
30
|
}
|
|
31
|
-
export const SecretkeyEncryptOutput = /*@__PURE__*/
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
) as unknown as Schema.Codec<SecretkeyEncryptOutput>;
|
|
31
|
+
export const SecretkeyEncryptOutput = /*@__PURE__*/ Schema.Struct({
|
|
32
|
+
ciphertext: Schema.optional(Schema.Array(Schema.Number)),
|
|
33
|
+
}) as unknown as Schema.Codec<SecretkeyEncryptOutput>;
|
|
36
34
|
|
|
37
35
|
// The operation
|
|
38
36
|
/**
|
|
@@ -42,7 +40,7 @@ export const SecretkeyEncryptOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
42
40
|
* @param secret_name - Secret key name
|
|
43
41
|
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
44
42
|
*/
|
|
45
|
-
export const SecretkeyEncrypt = /*@__PURE__*/
|
|
43
|
+
export const SecretkeyEncrypt = /*@__PURE__*/ API.make(() => ({
|
|
46
44
|
inputSchema: SecretkeyEncryptInput,
|
|
47
45
|
outputSchema: SecretkeyEncryptOutput,
|
|
48
46
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -10,14 +10,12 @@ export interface SecretkeyGenerateInput {
|
|
|
10
10
|
type?: string;
|
|
11
11
|
value?: number[];
|
|
12
12
|
}
|
|
13
|
-
export const SecretkeyGenerateInput = /*@__PURE__*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
).pipe(
|
|
13
|
+
export const SecretkeyGenerateInput = /*@__PURE__*/ Schema.Struct({
|
|
14
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
15
|
+
secret_name: Schema.String.pipe(T.PathParam()),
|
|
16
|
+
type: Schema.optional(Schema.String),
|
|
17
|
+
value: Schema.optional(Schema.Array(Schema.Number)),
|
|
18
|
+
}).pipe(
|
|
21
19
|
T.Http({
|
|
22
20
|
method: "POST",
|
|
23
21
|
path: "/apps/{app_name}/secretkeys/{secret_name}/generate",
|
|
@@ -35,7 +33,7 @@ export interface SecretkeyGenerateOutput {
|
|
|
35
33
|
version?: number;
|
|
36
34
|
}
|
|
37
35
|
export const SecretkeyGenerateOutput =
|
|
38
|
-
/*@__PURE__*/
|
|
36
|
+
/*@__PURE__*/ Schema.Struct({
|
|
39
37
|
Version: Schema.optional(Schema.Number),
|
|
40
38
|
created_at: Schema.optional(Schema.String),
|
|
41
39
|
name: Schema.optional(Schema.String),
|
|
@@ -52,7 +50,7 @@ export const SecretkeyGenerateOutput =
|
|
|
52
50
|
* @param app_name - Fly App Name
|
|
53
51
|
* @param secret_name - Secret key name
|
|
54
52
|
*/
|
|
55
|
-
export const SecretkeyGenerate = /*@__PURE__*/
|
|
53
|
+
export const SecretkeyGenerate = /*@__PURE__*/ API.make(() => ({
|
|
56
54
|
inputSchema: SecretkeyGenerateInput,
|
|
57
55
|
outputSchema: SecretkeyGenerateOutput,
|
|
58
56
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -9,7 +9,7 @@ export interface SecretkeyGetInput {
|
|
|
9
9
|
secret_name: string;
|
|
10
10
|
min_version?: string;
|
|
11
11
|
}
|
|
12
|
-
export const SecretkeyGetInput = /*@__PURE__*/
|
|
12
|
+
export const SecretkeyGetInput = /*@__PURE__*/ Schema.Struct({
|
|
13
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
min_version: Schema.optional(Schema.String),
|
|
@@ -25,7 +25,7 @@ export interface SecretkeyGetOutput {
|
|
|
25
25
|
type?: string;
|
|
26
26
|
updated_at?: string;
|
|
27
27
|
}
|
|
28
|
-
export const SecretkeyGetOutput = /*@__PURE__*/
|
|
28
|
+
export const SecretkeyGetOutput = /*@__PURE__*/ Schema.Struct({
|
|
29
29
|
created_at: Schema.optional(Schema.String),
|
|
30
30
|
name: Schema.optional(Schema.String),
|
|
31
31
|
public_key: Schema.optional(Schema.Array(Schema.Number)),
|
|
@@ -41,7 +41,7 @@ export const SecretkeyGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
41
41
|
* @param secret_name - Secret key name
|
|
42
42
|
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
43
43
|
*/
|
|
44
|
-
export const SecretkeyGet = /*@__PURE__*/
|
|
44
|
+
export const SecretkeyGet = /*@__PURE__*/ API.make(() => ({
|
|
45
45
|
inputSchema: SecretkeyGetInput,
|
|
46
46
|
outputSchema: SecretkeyGetOutput,
|
|
47
47
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -10,7 +10,7 @@ export interface SecretkeySetInput {
|
|
|
10
10
|
type?: string;
|
|
11
11
|
value?: number[];
|
|
12
12
|
}
|
|
13
|
-
export const SecretkeySetInput = /*@__PURE__*/
|
|
13
|
+
export const SecretkeySetInput = /*@__PURE__*/ Schema.Struct({
|
|
14
14
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
type: Schema.optional(Schema.String),
|
|
@@ -29,7 +29,7 @@ export interface SecretkeySetOutput {
|
|
|
29
29
|
updated_at?: string;
|
|
30
30
|
version?: number;
|
|
31
31
|
}
|
|
32
|
-
export const SecretkeySetOutput = /*@__PURE__*/
|
|
32
|
+
export const SecretkeySetOutput = /*@__PURE__*/ Schema.Struct({
|
|
33
33
|
Version: Schema.optional(Schema.Number),
|
|
34
34
|
created_at: Schema.optional(Schema.String),
|
|
35
35
|
name: Schema.optional(Schema.String),
|
|
@@ -46,7 +46,7 @@ export const SecretkeySetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
46
46
|
* @param app_name - Fly App Name
|
|
47
47
|
* @param secret_name - Secret key name
|
|
48
48
|
*/
|
|
49
|
-
export const SecretkeySet = /*@__PURE__*/
|
|
49
|
+
export const SecretkeySet = /*@__PURE__*/ API.make(() => ({
|
|
50
50
|
inputSchema: SecretkeySetInput,
|
|
51
51
|
outputSchema: SecretkeySetOutput,
|
|
52
52
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -10,7 +10,7 @@ export interface SecretkeySignInput {
|
|
|
10
10
|
min_version?: string;
|
|
11
11
|
plaintext?: number[];
|
|
12
12
|
}
|
|
13
|
-
export const SecretkeySignInput = /*@__PURE__*/
|
|
13
|
+
export const SecretkeySignInput = /*@__PURE__*/ Schema.Struct({
|
|
14
14
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
min_version: Schema.optional(Schema.String),
|
|
@@ -26,7 +26,7 @@ export const SecretkeySignInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
26
26
|
export interface SecretkeySignOutput {
|
|
27
27
|
signature?: number[];
|
|
28
28
|
}
|
|
29
|
-
export const SecretkeySignOutput = /*@__PURE__*/
|
|
29
|
+
export const SecretkeySignOutput = /*@__PURE__*/ Schema.Struct({
|
|
30
30
|
signature: Schema.optional(Schema.Array(Schema.Number)),
|
|
31
31
|
}) as unknown as Schema.Codec<SecretkeySignOutput>;
|
|
32
32
|
|
|
@@ -38,7 +38,7 @@ export const SecretkeySignOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
38
38
|
* @param secret_name - Secret key name
|
|
39
39
|
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
40
40
|
*/
|
|
41
|
-
export const SecretkeySign = /*@__PURE__*/
|
|
41
|
+
export const SecretkeySign = /*@__PURE__*/ API.make(() => ({
|
|
42
42
|
inputSchema: SecretkeySignInput,
|
|
43
43
|
outputSchema: SecretkeySignOutput,
|
|
44
44
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -11,7 +11,7 @@ export interface SecretkeyVerifyInput {
|
|
|
11
11
|
plaintext?: number[];
|
|
12
12
|
signature?: number[];
|
|
13
13
|
}
|
|
14
|
-
export const SecretkeyVerifyInput = /*@__PURE__*/
|
|
14
|
+
export const SecretkeyVerifyInput = /*@__PURE__*/ Schema.Struct({
|
|
15
15
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
17
17
|
min_version: Schema.optional(Schema.String),
|
|
@@ -27,7 +27,7 @@ export const SecretkeyVerifyInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
27
27
|
// Output Schema
|
|
28
28
|
export type SecretkeyVerifyOutput = void;
|
|
29
29
|
export const SecretkeyVerifyOutput =
|
|
30
|
-
/*@__PURE__*/
|
|
30
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<SecretkeyVerifyOutput>;
|
|
31
31
|
|
|
32
32
|
// The operation
|
|
33
33
|
/**
|
|
@@ -37,7 +37,7 @@ export const SecretkeyVerifyOutput =
|
|
|
37
37
|
* @param secret_name - Secret key name
|
|
38
38
|
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
39
39
|
*/
|
|
40
|
-
export const SecretkeyVerify = /*@__PURE__*/
|
|
40
|
+
export const SecretkeyVerify = /*@__PURE__*/ API.make(() => ({
|
|
41
41
|
inputSchema: SecretkeyVerifyInput,
|
|
42
42
|
outputSchema: SecretkeyVerifyOutput,
|
|
43
43
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -9,7 +9,7 @@ export interface SecretkeysListInput {
|
|
|
9
9
|
min_version?: string;
|
|
10
10
|
types?: string;
|
|
11
11
|
}
|
|
12
|
-
export const SecretkeysListInput = /*@__PURE__*/
|
|
12
|
+
export const SecretkeysListInput = /*@__PURE__*/ Schema.Struct({
|
|
13
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
min_version: Schema.optional(Schema.String),
|
|
15
15
|
types: Schema.optional(Schema.String),
|
|
@@ -27,7 +27,7 @@ export interface SecretkeysListOutput {
|
|
|
27
27
|
updated_at?: string;
|
|
28
28
|
}[];
|
|
29
29
|
}
|
|
30
|
-
export const SecretkeysListOutput = /*@__PURE__*/
|
|
30
|
+
export const SecretkeysListOutput = /*@__PURE__*/ Schema.Struct({
|
|
31
31
|
secret_keys: Schema.optional(
|
|
32
32
|
Schema.Array(
|
|
33
33
|
Schema.Struct({
|
|
@@ -49,7 +49,7 @@ export const SecretkeysListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
49
49
|
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
50
50
|
* @param types - Comma-seperated list of secret keys to list
|
|
51
51
|
*/
|
|
52
|
-
export const SecretkeysList = /*@__PURE__*/
|
|
52
|
+
export const SecretkeysList = /*@__PURE__*/ API.make(() => ({
|
|
53
53
|
inputSchema: SecretkeysListInput,
|
|
54
54
|
outputSchema: SecretkeysListOutput,
|
|
55
55
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -9,7 +9,7 @@ export interface SecretsListInput {
|
|
|
9
9
|
min_version?: string;
|
|
10
10
|
show_secrets?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export const SecretsListInput = /*@__PURE__*/
|
|
12
|
+
export const SecretsListInput = /*@__PURE__*/ Schema.Struct({
|
|
13
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
min_version: Schema.optional(Schema.String),
|
|
15
15
|
show_secrets: Schema.optional(Schema.Boolean),
|
|
@@ -27,7 +27,7 @@ export interface SecretsListOutput {
|
|
|
27
27
|
value?: string;
|
|
28
28
|
}[];
|
|
29
29
|
}
|
|
30
|
-
export const SecretsListOutput = /*@__PURE__*/
|
|
30
|
+
export const SecretsListOutput = /*@__PURE__*/ Schema.Struct({
|
|
31
31
|
secrets: Schema.optional(
|
|
32
32
|
Schema.Array(
|
|
33
33
|
Schema.Struct({
|
|
@@ -49,7 +49,7 @@ export const SecretsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
49
49
|
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
50
50
|
* @param show_secrets - Show the secret values.
|
|
51
51
|
*/
|
|
52
|
-
export const SecretsList = /*@__PURE__*/
|
|
52
|
+
export const SecretsList = /*@__PURE__*/ API.make(() => ({
|
|
53
53
|
inputSchema: SecretsListInput,
|
|
54
54
|
outputSchema: SecretsListOutput,
|
|
55
55
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -8,7 +8,7 @@ export interface SecretsUpdateInput {
|
|
|
8
8
|
app_name: string;
|
|
9
9
|
values?: Record<string, string>;
|
|
10
10
|
}
|
|
11
|
-
export const SecretsUpdateInput = /*@__PURE__*/
|
|
11
|
+
export const SecretsUpdateInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
values: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
14
14
|
}).pipe(
|
|
@@ -27,7 +27,7 @@ export interface SecretsUpdateOutput {
|
|
|
27
27
|
}[];
|
|
28
28
|
version?: number;
|
|
29
29
|
}
|
|
30
|
-
export const SecretsUpdateOutput = /*@__PURE__*/
|
|
30
|
+
export const SecretsUpdateOutput = /*@__PURE__*/ Schema.Struct({
|
|
31
31
|
Version: Schema.optional(Schema.Number),
|
|
32
32
|
secrets: Schema.optional(
|
|
33
33
|
Schema.Array(
|
|
@@ -49,7 +49,7 @@ export const SecretsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
49
49
|
*
|
|
50
50
|
* @param app_name - Fly App Name
|
|
51
51
|
*/
|
|
52
|
-
export const SecretsUpdate = /*@__PURE__*/
|
|
52
|
+
export const SecretsUpdate = /*@__PURE__*/ API.make(() => ({
|
|
53
53
|
inputSchema: SecretsUpdateInput,
|
|
54
54
|
outputSchema: SecretsUpdateOutput,
|
|
55
55
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -8,7 +8,7 @@ export interface TokensAuthenticateInput {
|
|
|
8
8
|
header?: string;
|
|
9
9
|
}
|
|
10
10
|
export const TokensAuthenticateInput =
|
|
11
|
-
/*@__PURE__*/
|
|
11
|
+
/*@__PURE__*/ Schema.Struct({
|
|
12
12
|
header: Schema.optional(Schema.String),
|
|
13
13
|
}).pipe(
|
|
14
14
|
T.Http({ method: "POST", path: "/tokens/authenticate" }),
|
|
@@ -22,7 +22,7 @@ export type TokensAuthenticateOutput = {
|
|
|
22
22
|
permission_token?: number[];
|
|
23
23
|
}[];
|
|
24
24
|
export const TokensAuthenticateOutput =
|
|
25
|
-
/*@__PURE__*/
|
|
25
|
+
/*@__PURE__*/ Schema.Array(
|
|
26
26
|
Schema.Struct({
|
|
27
27
|
caveats: Schema.optional(
|
|
28
28
|
Schema.Struct({
|
|
@@ -47,7 +47,7 @@ export const TokensAuthenticateOutput =
|
|
|
47
47
|
*
|
|
48
48
|
* Verify a token header without checking resource access.
|
|
49
49
|
*/
|
|
50
|
-
export const TokensAuthenticate = /*@__PURE__*/
|
|
50
|
+
export const TokensAuthenticate = /*@__PURE__*/ API.make(() => ({
|
|
51
51
|
inputSchema: TokensAuthenticateInput,
|
|
52
52
|
outputSchema: TokensAuthenticateOutput,
|
|
53
53
|
errors: [BadRequest] as const,
|
|
@@ -21,7 +21,7 @@ export interface TokensAuthorizeInput {
|
|
|
21
21
|
};
|
|
22
22
|
header?: string;
|
|
23
23
|
}
|
|
24
|
-
export const TokensAuthorizeInput = /*@__PURE__*/
|
|
24
|
+
export const TokensAuthorizeInput = /*@__PURE__*/ Schema.Struct({
|
|
25
25
|
access: Schema.optional(
|
|
26
26
|
Schema.Struct({
|
|
27
27
|
action: Schema.optional(Schema.Literals([1, 2, 4, 8, 16, 31, 0])),
|
|
@@ -69,7 +69,7 @@ export interface TokensAuthorizeOutput {
|
|
|
69
69
|
permission_token?: number[];
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
export const TokensAuthorizeOutput = /*@__PURE__*/
|
|
72
|
+
export const TokensAuthorizeOutput = /*@__PURE__*/ Schema.Struct({
|
|
73
73
|
access: Schema.optional(
|
|
74
74
|
Schema.Struct({
|
|
75
75
|
action: Schema.optional(Schema.Literals([1, 2, 4, 8, 16, 31, 0])),
|
|
@@ -115,7 +115,7 @@ export const TokensAuthorizeOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
115
115
|
*
|
|
116
116
|
* Verify a token header and validate it against a requested access scope.
|
|
117
117
|
*/
|
|
118
|
-
export const TokensAuthorize = /*@__PURE__*/
|
|
118
|
+
export const TokensAuthorize = /*@__PURE__*/ API.make(() => ({
|
|
119
119
|
inputSchema: TokensAuthorizeInput,
|
|
120
120
|
outputSchema: TokensAuthorizeOutput,
|
|
121
121
|
errors: [BadRequest] as const,
|
|
@@ -5,16 +5,14 @@ import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
7
|
export interface TokensRequestKmsInput {}
|
|
8
|
-
export const TokensRequestKmsInput = /*@__PURE__*/
|
|
9
|
-
{},
|
|
10
|
-
).pipe(
|
|
8
|
+
export const TokensRequestKmsInput = /*@__PURE__*/ Schema.Struct({}).pipe(
|
|
11
9
|
T.Http({ method: "POST", path: "/tokens/kms" }),
|
|
12
10
|
) as unknown as Schema.Codec<TokensRequestKmsInput>;
|
|
13
11
|
|
|
14
12
|
// Output Schema
|
|
15
13
|
export type TokensRequestKmsOutput = void;
|
|
16
14
|
export const TokensRequestKmsOutput =
|
|
17
|
-
/*@__PURE__*/
|
|
15
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<TokensRequestKmsOutput>;
|
|
18
16
|
|
|
19
17
|
// The operation
|
|
20
18
|
/**
|
|
@@ -22,7 +20,7 @@ export const TokensRequestKmsOutput =
|
|
|
22
20
|
*
|
|
23
21
|
* This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete [Machines API docs](https://fly.io/docs/machines/api/apps-resource/) for details about using the Apps resource.
|
|
24
22
|
*/
|
|
25
|
-
export const TokensRequestKms = /*@__PURE__*/
|
|
23
|
+
export const TokensRequestKms = /*@__PURE__*/ API.make(() => ({
|
|
26
24
|
inputSchema: TokensRequestKmsInput,
|
|
27
25
|
outputSchema: TokensRequestKmsOutput,
|
|
28
26
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -8,19 +8,17 @@ export interface TokensRequestOIDCInput {
|
|
|
8
8
|
aud?: string;
|
|
9
9
|
aws_principal_tags?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export const TokensRequestOIDCInput = /*@__PURE__*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
16
|
-
).pipe(
|
|
11
|
+
export const TokensRequestOIDCInput = /*@__PURE__*/ Schema.Struct({
|
|
12
|
+
aud: Schema.optional(Schema.String),
|
|
13
|
+
aws_principal_tags: Schema.optional(Schema.Boolean),
|
|
14
|
+
}).pipe(
|
|
17
15
|
T.Http({ method: "POST", path: "/tokens/oidc" }),
|
|
18
16
|
) as unknown as Schema.Codec<TokensRequestOIDCInput>;
|
|
19
17
|
|
|
20
18
|
// Output Schema
|
|
21
19
|
export type TokensRequestOIDCOutput = void;
|
|
22
20
|
export const TokensRequestOIDCOutput =
|
|
23
|
-
/*@__PURE__*/
|
|
21
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<TokensRequestOIDCOutput>;
|
|
24
22
|
|
|
25
23
|
// The operation
|
|
26
24
|
/**
|
|
@@ -28,7 +26,7 @@ export const TokensRequestOIDCOutput =
|
|
|
28
26
|
*
|
|
29
27
|
* Request an Open ID Connect token for your machine. Customize the audience claim with the `aud` parameter. This returns a JWT token. Learn more about [using OpenID Connect](/docs/reference/openid-connect/) on Fly.io.
|
|
30
28
|
*/
|
|
31
|
-
export const TokensRequestOIDC = /*@__PURE__*/
|
|
29
|
+
export const TokensRequestOIDC = /*@__PURE__*/ API.make(() => ({
|
|
32
30
|
inputSchema: TokensRequestOIDCInput,
|
|
33
31
|
outputSchema: TokensRequestOIDCOutput,
|
|
34
32
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -3,14 +3,13 @@ import { API } from "../client.ts";
|
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
4
|
|
|
5
5
|
// Input Schema
|
|
6
|
-
export const TokensRequest_KmsInput = /*@__PURE__*/
|
|
7
|
-
{},
|
|
8
|
-
)
|
|
6
|
+
export const TokensRequest_KmsInput = /*@__PURE__*/ Schema.Struct({}).pipe(
|
|
7
|
+
T.Http({ method: "POST", path: "/tokens/kms" }),
|
|
8
|
+
);
|
|
9
9
|
export type TokensRequest_KmsInput = typeof TokensRequest_KmsInput.Type;
|
|
10
10
|
|
|
11
11
|
// Output Schema
|
|
12
|
-
export const TokensRequest_KmsOutput =
|
|
13
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.String;
|
|
12
|
+
export const TokensRequest_KmsOutput = /*@__PURE__*/ Schema.String;
|
|
14
13
|
export type TokensRequest_KmsOutput = typeof TokensRequest_KmsOutput.Type;
|
|
15
14
|
|
|
16
15
|
// The operation
|
|
@@ -19,7 +18,7 @@ export type TokensRequest_KmsOutput = typeof TokensRequest_KmsOutput.Type;
|
|
|
19
18
|
*
|
|
20
19
|
* This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete [Machines API docs](https://fly.io/docs/machines/api/apps-resource/) for details about using the Apps resource.
|
|
21
20
|
*/
|
|
22
|
-
export const TokensRequest_Kms = /*@__PURE__*/
|
|
21
|
+
export const TokensRequest_Kms = /*@__PURE__*/ API.make(() => ({
|
|
23
22
|
inputSchema: TokensRequest_KmsInput,
|
|
24
23
|
outputSchema: TokensRequest_KmsOutput,
|
|
25
24
|
}));
|
|
@@ -4,15 +4,14 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
|
|
5
5
|
// Input Schema
|
|
6
6
|
export const TokensRequest_OIDCInput =
|
|
7
|
-
/*@__PURE__*/
|
|
7
|
+
/*@__PURE__*/ Schema.Struct({
|
|
8
8
|
aud: Schema.optional(Schema.String),
|
|
9
9
|
aws_principal_tags: Schema.optional(Schema.Boolean),
|
|
10
10
|
}).pipe(T.Http({ method: "POST", path: "/tokens/oidc" }));
|
|
11
11
|
export type TokensRequest_OIDCInput = typeof TokensRequest_OIDCInput.Type;
|
|
12
12
|
|
|
13
13
|
// Output Schema
|
|
14
|
-
export const TokensRequest_OIDCOutput =
|
|
15
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.String;
|
|
14
|
+
export const TokensRequest_OIDCOutput = /*@__PURE__*/ Schema.String;
|
|
16
15
|
export type TokensRequest_OIDCOutput = typeof TokensRequest_OIDCOutput.Type;
|
|
17
16
|
|
|
18
17
|
// The operation
|
|
@@ -21,7 +20,7 @@ export type TokensRequest_OIDCOutput = typeof TokensRequest_OIDCOutput.Type;
|
|
|
21
20
|
*
|
|
22
21
|
* Request an Open ID Connect token for your machine. Customize the audience claim with the `aud` parameter. This returns a JWT token. Learn more about [using OpenID Connect](/docs/reference/openid-connect/) on Fly.io.
|
|
23
22
|
*/
|
|
24
|
-
export const TokensRequest_OIDC = /*@__PURE__*/
|
|
23
|
+
export const TokensRequest_OIDC = /*@__PURE__*/ API.make(() => ({
|
|
25
24
|
inputSchema: TokensRequest_OIDCInput,
|
|
26
25
|
outputSchema: TokensRequest_OIDCOutput,
|
|
27
26
|
}));
|
|
@@ -8,7 +8,7 @@ export interface VolumeDeleteInput {
|
|
|
8
8
|
app_name: string;
|
|
9
9
|
volume_id: string;
|
|
10
10
|
}
|
|
11
|
-
export const VolumeDeleteInput = /*@__PURE__*/
|
|
11
|
+
export const VolumeDeleteInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
volume_id: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
}).pipe(
|
|
@@ -39,7 +39,7 @@ export interface VolumeDeleteOutput {
|
|
|
39
39
|
type?: "local" | "cache";
|
|
40
40
|
zone?: string;
|
|
41
41
|
}
|
|
42
|
-
export const VolumeDeleteOutput = /*@__PURE__*/
|
|
42
|
+
export const VolumeDeleteOutput = /*@__PURE__*/ Schema.Struct({
|
|
43
43
|
attached_alloc_id: Schema.optional(Schema.String),
|
|
44
44
|
attached_machine_id: Schema.optional(Schema.String),
|
|
45
45
|
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
@@ -74,7 +74,7 @@ export const VolumeDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
74
74
|
* @param app_name - Fly App Name
|
|
75
75
|
* @param volume_id - Volume ID
|
|
76
76
|
*/
|
|
77
|
-
export const VolumeDelete = /*@__PURE__*/
|
|
77
|
+
export const VolumeDelete = /*@__PURE__*/ API.make(() => ({
|
|
78
78
|
inputSchema: VolumeDeleteInput,
|
|
79
79
|
outputSchema: VolumeDeleteOutput,
|
|
80
80
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -30,7 +30,7 @@ export interface VolumesCreateInput {
|
|
|
30
30
|
source_volume_id?: string;
|
|
31
31
|
unique_zone_app_wide?: boolean;
|
|
32
32
|
}
|
|
33
|
-
export const VolumesCreateInput = /*@__PURE__*/
|
|
33
|
+
export const VolumesCreateInput = /*@__PURE__*/ Schema.Struct({
|
|
34
34
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
35
35
|
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
36
36
|
compute: Schema.optional(
|
|
@@ -87,7 +87,7 @@ export interface VolumesCreateOutput {
|
|
|
87
87
|
type?: "local" | "cache";
|
|
88
88
|
zone?: string;
|
|
89
89
|
}
|
|
90
|
-
export const VolumesCreateOutput = /*@__PURE__*/
|
|
90
|
+
export const VolumesCreateOutput = /*@__PURE__*/ Schema.Struct({
|
|
91
91
|
attached_alloc_id: Schema.optional(Schema.String),
|
|
92
92
|
attached_machine_id: Schema.optional(Schema.String),
|
|
93
93
|
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
@@ -121,7 +121,7 @@ export const VolumesCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
121
121
|
*
|
|
122
122
|
* @param app_name - Fly App Name
|
|
123
123
|
*/
|
|
124
|
-
export const VolumesCreate = /*@__PURE__*/
|
|
124
|
+
export const VolumesCreate = /*@__PURE__*/ API.make(() => ({
|
|
125
125
|
inputSchema: VolumesCreateInput,
|
|
126
126
|
outputSchema: VolumesCreateOutput,
|
|
127
127
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -9,7 +9,7 @@ export interface VolumesExtendInput {
|
|
|
9
9
|
volume_id: string;
|
|
10
10
|
size_gb?: number;
|
|
11
11
|
}
|
|
12
|
-
export const VolumesExtendInput = /*@__PURE__*/
|
|
12
|
+
export const VolumesExtendInput = /*@__PURE__*/ Schema.Struct({
|
|
13
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
volume_id: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
size_gb: Schema.optional(Schema.Number),
|
|
@@ -47,7 +47,7 @@ export interface VolumesExtendOutput {
|
|
|
47
47
|
zone?: string;
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
export const VolumesExtendOutput = /*@__PURE__*/
|
|
50
|
+
export const VolumesExtendOutput = /*@__PURE__*/ Schema.Struct({
|
|
51
51
|
needs_restart: Schema.optional(Schema.Boolean),
|
|
52
52
|
volume: Schema.optional(
|
|
53
53
|
Schema.Struct({
|
|
@@ -87,7 +87,7 @@ export const VolumesExtendOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
87
87
|
* @param app_name - Fly App Name
|
|
88
88
|
* @param volume_id - Volume ID
|
|
89
89
|
*/
|
|
90
|
-
export const VolumesExtend = /*@__PURE__*/
|
|
90
|
+
export const VolumesExtend = /*@__PURE__*/ API.make(() => ({
|
|
91
91
|
inputSchema: VolumesExtendInput,
|
|
92
92
|
outputSchema: VolumesExtendOutput,
|
|
93
93
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -8,7 +8,7 @@ export interface VolumesGetByIdInput {
|
|
|
8
8
|
app_name: string;
|
|
9
9
|
volume_id: string;
|
|
10
10
|
}
|
|
11
|
-
export const VolumesGetByIdInput = /*@__PURE__*/
|
|
11
|
+
export const VolumesGetByIdInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
volume_id: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
}).pipe(
|
|
@@ -39,7 +39,7 @@ export interface VolumesGetByIdOutput {
|
|
|
39
39
|
type?: "local" | "cache";
|
|
40
40
|
zone?: string;
|
|
41
41
|
}
|
|
42
|
-
export const VolumesGetByIdOutput = /*@__PURE__*/
|
|
42
|
+
export const VolumesGetByIdOutput = /*@__PURE__*/ Schema.Struct({
|
|
43
43
|
attached_alloc_id: Schema.optional(Schema.String),
|
|
44
44
|
attached_machine_id: Schema.optional(Schema.String),
|
|
45
45
|
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
@@ -74,7 +74,7 @@ export const VolumesGetByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
74
74
|
* @param app_name - Fly App Name
|
|
75
75
|
* @param volume_id - Volume ID
|
|
76
76
|
*/
|
|
77
|
-
export const VolumesGetById = /*@__PURE__*/
|
|
77
|
+
export const VolumesGetById = /*@__PURE__*/ API.make(() => ({
|
|
78
78
|
inputSchema: VolumesGetByIdInput,
|
|
79
79
|
outputSchema: VolumesGetByIdOutput,
|
|
80
80
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -8,7 +8,7 @@ export interface VolumesListInput {
|
|
|
8
8
|
app_name: string;
|
|
9
9
|
summary?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export const VolumesListInput = /*@__PURE__*/
|
|
11
|
+
export const VolumesListInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
summary: Schema.optional(Schema.Boolean),
|
|
14
14
|
}).pipe(
|
|
@@ -39,7 +39,7 @@ export type VolumesListOutput = {
|
|
|
39
39
|
type?: "local" | "cache";
|
|
40
40
|
zone?: string;
|
|
41
41
|
}[];
|
|
42
|
-
export const VolumesListOutput = /*@__PURE__*/
|
|
42
|
+
export const VolumesListOutput = /*@__PURE__*/ Schema.Array(
|
|
43
43
|
Schema.Struct({
|
|
44
44
|
attached_alloc_id: Schema.optional(Schema.String),
|
|
45
45
|
attached_machine_id: Schema.optional(Schema.String),
|
|
@@ -76,7 +76,7 @@ export const VolumesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
76
76
|
* @param app_name - Fly App Name
|
|
77
77
|
* @param summary - Only return summary info about volumes (omit blocks, block size, etc)
|
|
78
78
|
*/
|
|
79
|
-
export const VolumesList = /*@__PURE__*/
|
|
79
|
+
export const VolumesList = /*@__PURE__*/ API.make(() => ({
|
|
80
80
|
inputSchema: VolumesListInput,
|
|
81
81
|
outputSchema: VolumesListOutput,
|
|
82
82
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -9,7 +9,7 @@ export interface VolumesListSnapshotsInput {
|
|
|
9
9
|
volume_id: string;
|
|
10
10
|
}
|
|
11
11
|
export const VolumesListSnapshotsInput =
|
|
12
|
-
/*@__PURE__*/
|
|
12
|
+
/*@__PURE__*/ Schema.Struct({
|
|
13
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
volume_id: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
}).pipe(
|
|
@@ -30,7 +30,7 @@ export type VolumesListSnapshotsOutput = {
|
|
|
30
30
|
volume_size?: number;
|
|
31
31
|
}[];
|
|
32
32
|
export const VolumesListSnapshotsOutput =
|
|
33
|
-
/*@__PURE__*/
|
|
33
|
+
/*@__PURE__*/ Schema.Array(
|
|
34
34
|
Schema.Struct({
|
|
35
35
|
created_at: Schema.optional(Schema.String),
|
|
36
36
|
digest: Schema.optional(Schema.String),
|
|
@@ -51,10 +51,8 @@ export const VolumesListSnapshotsOutput =
|
|
|
51
51
|
* @param app_name - Fly App Name
|
|
52
52
|
* @param volume_id - Volume ID
|
|
53
53
|
*/
|
|
54
|
-
export const VolumesListSnapshots = /*@__PURE__*/
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}),
|
|
60
|
-
);
|
|
54
|
+
export const VolumesListSnapshots = /*@__PURE__*/ API.make(() => ({
|
|
55
|
+
inputSchema: VolumesListSnapshotsInput,
|
|
56
|
+
outputSchema: VolumesListSnapshotsOutput,
|
|
57
|
+
errors: [Forbidden, NotFound] as const,
|
|
58
|
+
}));
|
|
@@ -13,7 +13,7 @@ export interface VolumesOrgListInput {
|
|
|
13
13
|
cursor?: string;
|
|
14
14
|
limit?: number;
|
|
15
15
|
}
|
|
16
|
-
export const VolumesOrgListInput = /*@__PURE__*/
|
|
16
|
+
export const VolumesOrgListInput = /*@__PURE__*/ Schema.Struct({
|
|
17
17
|
org_slug: Schema.String.pipe(T.PathParam()),
|
|
18
18
|
include_deleted: Schema.optional(Schema.Boolean),
|
|
19
19
|
region: Schema.optional(Schema.String),
|
|
@@ -57,7 +57,7 @@ export interface VolumesOrgListOutput {
|
|
|
57
57
|
zone?: string;
|
|
58
58
|
}[];
|
|
59
59
|
}
|
|
60
|
-
export const VolumesOrgListOutput = /*@__PURE__*/
|
|
60
|
+
export const VolumesOrgListOutput = /*@__PURE__*/ Schema.Struct({
|
|
61
61
|
last_updated_at: Schema.optional(Schema.String),
|
|
62
62
|
last_volume_id: Schema.optional(Schema.String),
|
|
63
63
|
next_cursor: Schema.optional(Schema.String),
|
|
@@ -109,7 +109,7 @@ export const VolumesOrgListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
109
109
|
* @param cursor - Pagination cursor from previous response (takes precedence over updated_after)
|
|
110
110
|
* @param limit - The number of volumes to fetch (max of 1000). This limit is advisory. Responses may be shorter, even when more volumes remain. If omitted, the maximum is used
|
|
111
111
|
*/
|
|
112
|
-
export const VolumesOrgList = /*@__PURE__*/
|
|
112
|
+
export const VolumesOrgList = /*@__PURE__*/ API.make(() => ({
|
|
113
113
|
inputSchema: VolumesOrgListInput,
|
|
114
114
|
outputSchema: VolumesOrgListOutput,
|
|
115
115
|
}));
|