@distilled.cloud/fly-io 0.29.0 → 0.30.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.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.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.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.js +3 -3
- package/lib/operations/App_CertificatesCustomDelete.js.map +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.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.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.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.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.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 +3 -2
- 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
|
@@ -8,12 +8,10 @@ export interface MachinesShowLeaseInput {
|
|
|
8
8
|
app_name: string;
|
|
9
9
|
machine_id: string;
|
|
10
10
|
}
|
|
11
|
-
export const MachinesShowLeaseInput = /*@__PURE__*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
16
|
-
).pipe(
|
|
11
|
+
export const MachinesShowLeaseInput = /*@__PURE__*/ Schema.Struct({
|
|
12
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
|
+
machine_id: Schema.String.pipe(T.PathParam()),
|
|
14
|
+
}).pipe(
|
|
17
15
|
T.Http({
|
|
18
16
|
method: "GET",
|
|
19
17
|
path: "/apps/{app_name}/machines/{machine_id}/lease",
|
|
@@ -29,7 +27,7 @@ export interface MachinesShowLeaseOutput {
|
|
|
29
27
|
version?: string;
|
|
30
28
|
}
|
|
31
29
|
export const MachinesShowLeaseOutput =
|
|
32
|
-
/*@__PURE__*/
|
|
30
|
+
/*@__PURE__*/ Schema.Struct({
|
|
33
31
|
description: Schema.optional(Schema.String),
|
|
34
32
|
expires_at: Schema.optional(Schema.Number),
|
|
35
33
|
nonce: Schema.optional(Schema.String),
|
|
@@ -46,7 +44,7 @@ export const MachinesShowLeaseOutput =
|
|
|
46
44
|
* @param app_name - Fly App Name
|
|
47
45
|
* @param machine_id - Machine ID
|
|
48
46
|
*/
|
|
49
|
-
export const MachinesShowLease = /*@__PURE__*/
|
|
47
|
+
export const MachinesShowLease = /*@__PURE__*/ API.make(() => ({
|
|
50
48
|
inputSchema: MachinesShowLeaseInput,
|
|
51
49
|
outputSchema: MachinesShowLeaseOutput,
|
|
52
50
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -9,7 +9,7 @@ export interface MachinesShowMetadataInput {
|
|
|
9
9
|
machine_id: string;
|
|
10
10
|
}
|
|
11
11
|
export const MachinesShowMetadataInput =
|
|
12
|
-
/*@__PURE__*/
|
|
12
|
+
/*@__PURE__*/ Schema.Struct({
|
|
13
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
}).pipe(
|
|
@@ -22,7 +22,7 @@ export const MachinesShowMetadataInput =
|
|
|
22
22
|
// Output Schema
|
|
23
23
|
export type MachinesShowMetadataOutput = Record<string, string>;
|
|
24
24
|
export const MachinesShowMetadataOutput =
|
|
25
|
-
/*@__PURE__*/
|
|
25
|
+
/*@__PURE__*/ Schema.Record(
|
|
26
26
|
Schema.String,
|
|
27
27
|
Schema.String,
|
|
28
28
|
) as unknown as Schema.Codec<MachinesShowMetadataOutput>;
|
|
@@ -36,10 +36,8 @@ export const MachinesShowMetadataOutput =
|
|
|
36
36
|
* @param app_name - Fly App Name
|
|
37
37
|
* @param machine_id - Machine ID
|
|
38
38
|
*/
|
|
39
|
-
export const MachinesShowMetadata = /*@__PURE__*/
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}),
|
|
45
|
-
);
|
|
39
|
+
export const MachinesShowMetadata = /*@__PURE__*/ API.make(() => ({
|
|
40
|
+
inputSchema: MachinesShowMetadataInput,
|
|
41
|
+
outputSchema: MachinesShowMetadataOutput,
|
|
42
|
+
errors: [Forbidden, NotFound] as const,
|
|
43
|
+
}));
|
|
@@ -23,7 +23,7 @@ export interface MachinesSignalInput {
|
|
|
23
23
|
| "SIGUSR1"
|
|
24
24
|
| "SIGUSR2";
|
|
25
25
|
}
|
|
26
|
-
export const MachinesSignalInput = /*@__PURE__*/
|
|
26
|
+
export const MachinesSignalInput = /*@__PURE__*/ Schema.Struct({
|
|
27
27
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
28
28
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
29
29
|
signal: Schema.optional(
|
|
@@ -54,7 +54,7 @@ export const MachinesSignalInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
54
54
|
// Output Schema
|
|
55
55
|
export type MachinesSignalOutput = void;
|
|
56
56
|
export const MachinesSignalOutput =
|
|
57
|
-
/*@__PURE__*/
|
|
57
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesSignalOutput>;
|
|
58
58
|
|
|
59
59
|
// The operation
|
|
60
60
|
/**
|
|
@@ -65,7 +65,7 @@ export const MachinesSignalOutput =
|
|
|
65
65
|
* @param app_name - Fly App Name
|
|
66
66
|
* @param machine_id - Machine ID
|
|
67
67
|
*/
|
|
68
|
-
export const MachinesSignal = /*@__PURE__*/
|
|
68
|
+
export const MachinesSignal = /*@__PURE__*/ API.make(() => ({
|
|
69
69
|
inputSchema: MachinesSignalInput,
|
|
70
70
|
outputSchema: MachinesSignalOutput,
|
|
71
71
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -8,7 +8,7 @@ export interface MachinesStartInput {
|
|
|
8
8
|
app_name: string;
|
|
9
9
|
machine_id: string;
|
|
10
10
|
}
|
|
11
|
-
export const MachinesStartInput = /*@__PURE__*/
|
|
11
|
+
export const MachinesStartInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
}).pipe(
|
|
@@ -21,7 +21,7 @@ export const MachinesStartInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
21
21
|
// Output Schema
|
|
22
22
|
export type MachinesStartOutput = void;
|
|
23
23
|
export const MachinesStartOutput =
|
|
24
|
-
/*@__PURE__*/
|
|
24
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesStartOutput>;
|
|
25
25
|
|
|
26
26
|
// The operation
|
|
27
27
|
/**
|
|
@@ -32,7 +32,7 @@ export const MachinesStartOutput =
|
|
|
32
32
|
* @param app_name - Fly App Name
|
|
33
33
|
* @param machine_id - Machine ID
|
|
34
34
|
*/
|
|
35
|
-
export const MachinesStart = /*@__PURE__*/
|
|
35
|
+
export const MachinesStart = /*@__PURE__*/ API.make(() => ({
|
|
36
36
|
inputSchema: MachinesStartInput,
|
|
37
37
|
outputSchema: MachinesStartOutput,
|
|
38
38
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -17,7 +17,7 @@ export interface MachinesStopInput {
|
|
|
17
17
|
| "SIGTERM";
|
|
18
18
|
timeout?: string;
|
|
19
19
|
}
|
|
20
|
-
export const MachinesStopInput = /*@__PURE__*/
|
|
20
|
+
export const MachinesStopInput = /*@__PURE__*/ Schema.Struct({
|
|
21
21
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
22
22
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
23
23
|
signal: Schema.optional(
|
|
@@ -42,7 +42,7 @@ export const MachinesStopInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
42
42
|
// Output Schema
|
|
43
43
|
export type MachinesStopOutput = void;
|
|
44
44
|
export const MachinesStopOutput =
|
|
45
|
-
/*@__PURE__*/
|
|
45
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesStopOutput>;
|
|
46
46
|
|
|
47
47
|
// The operation
|
|
48
48
|
/**
|
|
@@ -53,7 +53,7 @@ export const MachinesStopOutput =
|
|
|
53
53
|
* @param app_name - Fly App Name
|
|
54
54
|
* @param machine_id - Machine ID
|
|
55
55
|
*/
|
|
56
|
-
export const MachinesStop = /*@__PURE__*/
|
|
56
|
+
export const MachinesStop = /*@__PURE__*/ API.make(() => ({
|
|
57
57
|
inputSchema: MachinesStopInput,
|
|
58
58
|
outputSchema: MachinesStopOutput,
|
|
59
59
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -8,7 +8,7 @@ export interface MachinesSuspendInput {
|
|
|
8
8
|
app_name: string;
|
|
9
9
|
machine_id: string;
|
|
10
10
|
}
|
|
11
|
-
export const MachinesSuspendInput = /*@__PURE__*/
|
|
11
|
+
export const MachinesSuspendInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
}).pipe(
|
|
@@ -21,7 +21,7 @@ export const MachinesSuspendInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
21
21
|
// Output Schema
|
|
22
22
|
export type MachinesSuspendOutput = void;
|
|
23
23
|
export const MachinesSuspendOutput =
|
|
24
|
-
/*@__PURE__*/
|
|
24
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesSuspendOutput>;
|
|
25
25
|
|
|
26
26
|
// The operation
|
|
27
27
|
/**
|
|
@@ -32,7 +32,7 @@ export const MachinesSuspendOutput =
|
|
|
32
32
|
* @param app_name - Fly App Name
|
|
33
33
|
* @param machine_id - Machine ID
|
|
34
34
|
*/
|
|
35
|
-
export const MachinesSuspend = /*@__PURE__*/
|
|
35
|
+
export const MachinesSuspend = /*@__PURE__*/ API.make(() => ({
|
|
36
36
|
inputSchema: MachinesSuspendInput,
|
|
37
37
|
outputSchema: MachinesSuspendOutput,
|
|
38
38
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -8,7 +8,7 @@ export interface MachinesUncordonInput {
|
|
|
8
8
|
app_name: string;
|
|
9
9
|
machine_id: string;
|
|
10
10
|
}
|
|
11
|
-
export const MachinesUncordonInput = /*@__PURE__*/
|
|
11
|
+
export const MachinesUncordonInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
}).pipe(
|
|
@@ -21,7 +21,7 @@ export const MachinesUncordonInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
21
21
|
// Output Schema
|
|
22
22
|
export type MachinesUncordonOutput = void;
|
|
23
23
|
export const MachinesUncordonOutput =
|
|
24
|
-
/*@__PURE__*/
|
|
24
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesUncordonOutput>;
|
|
25
25
|
|
|
26
26
|
// The operation
|
|
27
27
|
/**
|
|
@@ -32,7 +32,7 @@ export const MachinesUncordonOutput =
|
|
|
32
32
|
* @param app_name - Fly App Name
|
|
33
33
|
* @param machine_id - Machine ID
|
|
34
34
|
*/
|
|
35
|
-
export const MachinesUncordon = /*@__PURE__*/
|
|
35
|
+
export const MachinesUncordon = /*@__PURE__*/ API.make(() => ({
|
|
36
36
|
inputSchema: MachinesUncordonInput,
|
|
37
37
|
outputSchema: MachinesUncordonOutput,
|
|
38
38
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -251,7 +251,7 @@ export interface MachinesUpdateInput {
|
|
|
251
251
|
skip_secrets?: boolean;
|
|
252
252
|
skip_service_registration?: boolean;
|
|
253
253
|
}
|
|
254
|
-
export const MachinesUpdateInput = /*@__PURE__*/
|
|
254
|
+
export const MachinesUpdateInput = /*@__PURE__*/ Schema.Struct({
|
|
255
255
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
256
256
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
257
257
|
config: Schema.optional(
|
|
@@ -1216,7 +1216,7 @@ export interface MachinesUpdateOutput {
|
|
|
1216
1216
|
state?: string;
|
|
1217
1217
|
updated_at?: string;
|
|
1218
1218
|
}
|
|
1219
|
-
export const MachinesUpdateOutput = /*@__PURE__*/
|
|
1219
|
+
export const MachinesUpdateOutput = /*@__PURE__*/ Schema.Struct({
|
|
1220
1220
|
checks: Schema.optional(
|
|
1221
1221
|
Schema.Array(
|
|
1222
1222
|
Schema.Struct({
|
|
@@ -2163,7 +2163,7 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2163
2163
|
* @param app_name - Fly App Name
|
|
2164
2164
|
* @param machine_id - Machine ID
|
|
2165
2165
|
*/
|
|
2166
|
-
export const MachinesUpdate = /*@__PURE__*/
|
|
2166
|
+
export const MachinesUpdate = /*@__PURE__*/ API.make(() => ({
|
|
2167
2167
|
inputSchema: MachinesUpdateInput,
|
|
2168
2168
|
outputSchema: MachinesUpdateOutput,
|
|
2169
2169
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -12,7 +12,7 @@ export interface MachinesUpdateMetadataInput {
|
|
|
12
12
|
updated_at?: string;
|
|
13
13
|
}
|
|
14
14
|
export const MachinesUpdateMetadataInput =
|
|
15
|
-
/*@__PURE__*/
|
|
15
|
+
/*@__PURE__*/ Schema.Struct({
|
|
16
16
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
17
17
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
18
18
|
machine_version: Schema.optional(Schema.String),
|
|
@@ -28,7 +28,7 @@ export const MachinesUpdateMetadataInput =
|
|
|
28
28
|
// Output Schema
|
|
29
29
|
export type MachinesUpdateMetadataOutput = void;
|
|
30
30
|
export const MachinesUpdateMetadataOutput =
|
|
31
|
-
/*@__PURE__*/
|
|
31
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesUpdateMetadataOutput>;
|
|
32
32
|
|
|
33
33
|
// The operation
|
|
34
34
|
/**
|
|
@@ -40,10 +40,8 @@ export const MachinesUpdateMetadataOutput =
|
|
|
40
40
|
* @param app_name - Fly App Name
|
|
41
41
|
* @param machine_id - Machine ID
|
|
42
42
|
*/
|
|
43
|
-
export const MachinesUpdateMetadata = /*@__PURE__*/
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}),
|
|
49
|
-
);
|
|
43
|
+
export const MachinesUpdateMetadata = /*@__PURE__*/ API.make(() => ({
|
|
44
|
+
inputSchema: MachinesUpdateMetadataInput,
|
|
45
|
+
outputSchema: MachinesUpdateMetadataOutput,
|
|
46
|
+
errors: [BadRequest] as const,
|
|
47
|
+
}));
|
|
@@ -12,7 +12,7 @@ export interface MachinesUpsertMetadataInput {
|
|
|
12
12
|
value?: string;
|
|
13
13
|
}
|
|
14
14
|
export const MachinesUpsertMetadataInput =
|
|
15
|
-
/*@__PURE__*/
|
|
15
|
+
/*@__PURE__*/ Schema.Struct({
|
|
16
16
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
17
17
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
18
18
|
key: Schema.String.pipe(T.PathParam()),
|
|
@@ -28,7 +28,7 @@ export const MachinesUpsertMetadataInput =
|
|
|
28
28
|
// Output Schema
|
|
29
29
|
export type MachinesUpsertMetadataOutput = void;
|
|
30
30
|
export const MachinesUpsertMetadataOutput =
|
|
31
|
-
/*@__PURE__*/
|
|
31
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesUpsertMetadataOutput>;
|
|
32
32
|
|
|
33
33
|
// The operation
|
|
34
34
|
/**
|
|
@@ -40,10 +40,8 @@ export const MachinesUpsertMetadataOutput =
|
|
|
40
40
|
* @param machine_id - Machine ID
|
|
41
41
|
* @param key - Metadata Key
|
|
42
42
|
*/
|
|
43
|
-
export const MachinesUpsertMetadata = /*@__PURE__*/
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}),
|
|
49
|
-
);
|
|
43
|
+
export const MachinesUpsertMetadata = /*@__PURE__*/ API.make(() => ({
|
|
44
|
+
inputSchema: MachinesUpsertMetadataInput,
|
|
45
|
+
outputSchema: MachinesUpsertMetadataOutput,
|
|
46
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
47
|
+
}));
|
|
@@ -19,7 +19,7 @@ export interface MachinesWaitInput {
|
|
|
19
19
|
| "failed"
|
|
20
20
|
| "settled";
|
|
21
21
|
}
|
|
22
|
-
export const MachinesWaitInput = /*@__PURE__*/
|
|
22
|
+
export const MachinesWaitInput = /*@__PURE__*/ Schema.Struct({
|
|
23
23
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
24
24
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
25
25
|
version: Schema.optional(Schema.String),
|
|
@@ -50,7 +50,7 @@ export interface MachinesWaitOutput {
|
|
|
50
50
|
state?: string;
|
|
51
51
|
version?: string;
|
|
52
52
|
}
|
|
53
|
-
export const MachinesWaitOutput = /*@__PURE__*/
|
|
53
|
+
export const MachinesWaitOutput = /*@__PURE__*/ Schema.Struct({
|
|
54
54
|
event_id: Schema.optional(Schema.String),
|
|
55
55
|
ok: Schema.optional(Schema.Boolean),
|
|
56
56
|
state: Schema.optional(Schema.String),
|
|
@@ -72,7 +72,7 @@ export const MachinesWaitOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
72
72
|
* @param timeout - wait timeout. default 60s
|
|
73
73
|
* @param state - desired state(s), supports repeated or comma-separated values
|
|
74
74
|
*/
|
|
75
|
-
export const MachinesWait = /*@__PURE__*/
|
|
75
|
+
export const MachinesWait = /*@__PURE__*/ API.make(() => ({
|
|
76
76
|
inputSchema: MachinesWaitInput,
|
|
77
77
|
outputSchema: MachinesWaitOutput,
|
|
78
78
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -24,7 +24,7 @@ export interface PlatformPlacementsPostInput {
|
|
|
24
24
|
weights?: Record<string, number>;
|
|
25
25
|
}
|
|
26
26
|
export const PlatformPlacementsPostInput =
|
|
27
|
-
/*@__PURE__*/
|
|
27
|
+
/*@__PURE__*/ Schema.Struct({
|
|
28
28
|
compute: Schema.optional(
|
|
29
29
|
Schema.Struct({
|
|
30
30
|
cpu_kind: Schema.optional(Schema.String),
|
|
@@ -55,7 +55,7 @@ export interface PlatformPlacementsPostOutput {
|
|
|
55
55
|
regions?: { concurrency?: number; count?: number; region?: string }[];
|
|
56
56
|
}
|
|
57
57
|
export const PlatformPlacementsPostOutput =
|
|
58
|
-
/*@__PURE__*/
|
|
58
|
+
/*@__PURE__*/ Schema.Struct({
|
|
59
59
|
regions: Schema.optional(
|
|
60
60
|
Schema.Array(
|
|
61
61
|
Schema.Struct({
|
|
@@ -73,10 +73,8 @@ export const PlatformPlacementsPostOutput =
|
|
|
73
73
|
*
|
|
74
74
|
* Simulates placing the specified number of machines into regions, depending on available capacity and limits.
|
|
75
75
|
*/
|
|
76
|
-
export const PlatformPlacementsPost = /*@__PURE__*/
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}),
|
|
82
|
-
);
|
|
76
|
+
export const PlatformPlacementsPost = /*@__PURE__*/ API.make(() => ({
|
|
77
|
+
inputSchema: PlatformPlacementsPostInput,
|
|
78
|
+
outputSchema: PlatformPlacementsPostOutput,
|
|
79
|
+
errors: [BadRequest, Forbidden] as const,
|
|
80
|
+
}));
|
|
@@ -6,7 +6,7 @@ import { Forbidden } from "../errors.ts";
|
|
|
6
6
|
// Input Schema
|
|
7
7
|
export interface PlatformRegionsGetInput {}
|
|
8
8
|
export const PlatformRegionsGetInput =
|
|
9
|
-
/*@__PURE__*/
|
|
9
|
+
/*@__PURE__*/ Schema.Struct({}).pipe(
|
|
10
10
|
T.Http({ method: "GET", path: "/platform/regions" }),
|
|
11
11
|
) as unknown as Schema.Codec<PlatformRegionsGetInput>;
|
|
12
12
|
|
|
@@ -25,7 +25,7 @@ export interface PlatformRegionsGetOutput {
|
|
|
25
25
|
}[];
|
|
26
26
|
}
|
|
27
27
|
export const PlatformRegionsGetOutput =
|
|
28
|
-
/*@__PURE__*/
|
|
28
|
+
/*@__PURE__*/ Schema.Struct({
|
|
29
29
|
nearest: Schema.optional(Schema.String),
|
|
30
30
|
regions: Schema.optional(
|
|
31
31
|
Schema.Array(
|
|
@@ -49,7 +49,7 @@ export const PlatformRegionsGetOutput =
|
|
|
49
49
|
*
|
|
50
50
|
* List all regions on the platform with their details.
|
|
51
51
|
*/
|
|
52
|
-
export const PlatformRegionsGet = /*@__PURE__*/
|
|
52
|
+
export const PlatformRegionsGet = /*@__PURE__*/ API.make(() => ({
|
|
53
53
|
inputSchema: PlatformRegionsGetInput,
|
|
54
54
|
outputSchema: PlatformRegionsGetOutput,
|
|
55
55
|
errors: [Forbidden] as const,
|
|
@@ -9,7 +9,7 @@ export interface SecretCreateInput {
|
|
|
9
9
|
secret_name: string;
|
|
10
10
|
value?: string;
|
|
11
11
|
}
|
|
12
|
-
export const SecretCreateInput = /*@__PURE__*/
|
|
12
|
+
export const SecretCreateInput = /*@__PURE__*/ Schema.Struct({
|
|
13
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
value: Schema.optional(Schema.String),
|
|
@@ -27,7 +27,7 @@ export interface SecretCreateOutput {
|
|
|
27
27
|
value?: string;
|
|
28
28
|
version?: number;
|
|
29
29
|
}
|
|
30
|
-
export const SecretCreateOutput = /*@__PURE__*/
|
|
30
|
+
export const SecretCreateOutput = /*@__PURE__*/ Schema.Struct({
|
|
31
31
|
Version: Schema.optional(Schema.Number),
|
|
32
32
|
created_at: Schema.optional(Schema.String),
|
|
33
33
|
digest: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ export const SecretCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
44
44
|
* @param app_name - Fly App Name
|
|
45
45
|
* @param secret_name - App secret name
|
|
46
46
|
*/
|
|
47
|
-
export const SecretCreate = /*@__PURE__*/
|
|
47
|
+
export const SecretCreate = /*@__PURE__*/ API.make(() => ({
|
|
48
48
|
inputSchema: SecretCreateInput,
|
|
49
49
|
outputSchema: SecretCreateOutput,
|
|
50
50
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -8,7 +8,7 @@ export interface SecretDeleteInput {
|
|
|
8
8
|
app_name: string;
|
|
9
9
|
secret_name: string;
|
|
10
10
|
}
|
|
11
|
-
export const SecretDeleteInput = /*@__PURE__*/
|
|
11
|
+
export const SecretDeleteInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
}).pipe(
|
|
@@ -20,7 +20,7 @@ export interface SecretDeleteOutput {
|
|
|
20
20
|
Version?: number;
|
|
21
21
|
version?: number;
|
|
22
22
|
}
|
|
23
|
-
export const SecretDeleteOutput = /*@__PURE__*/
|
|
23
|
+
export const SecretDeleteOutput = /*@__PURE__*/ Schema.Struct({
|
|
24
24
|
Version: Schema.optional(Schema.Number),
|
|
25
25
|
version: Schema.optional(Schema.Number),
|
|
26
26
|
}) as unknown as Schema.Codec<SecretDeleteOutput>;
|
|
@@ -32,7 +32,7 @@ export const SecretDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
32
32
|
* @param app_name - Fly App Name
|
|
33
33
|
* @param secret_name - App secret name
|
|
34
34
|
*/
|
|
35
|
-
export const SecretDelete = /*@__PURE__*/
|
|
35
|
+
export const SecretDelete = /*@__PURE__*/ API.make(() => ({
|
|
36
36
|
inputSchema: SecretDeleteInput,
|
|
37
37
|
outputSchema: SecretDeleteOutput,
|
|
38
38
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -10,7 +10,7 @@ export interface SecretGetInput {
|
|
|
10
10
|
min_version?: string;
|
|
11
11
|
show_secrets?: boolean;
|
|
12
12
|
}
|
|
13
|
-
export const SecretGetInput = /*@__PURE__*/
|
|
13
|
+
export const SecretGetInput = /*@__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),
|
|
@@ -27,7 +27,7 @@ export interface SecretGetOutput {
|
|
|
27
27
|
updated_at?: string;
|
|
28
28
|
value?: string;
|
|
29
29
|
}
|
|
30
|
-
export const SecretGetOutput = /*@__PURE__*/
|
|
30
|
+
export const SecretGetOutput = /*@__PURE__*/ Schema.Struct({
|
|
31
31
|
created_at: Schema.optional(Schema.String),
|
|
32
32
|
digest: Schema.optional(Schema.String),
|
|
33
33
|
name: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ export const SecretGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
44
44
|
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
45
45
|
* @param show_secrets - Show the secret value.
|
|
46
46
|
*/
|
|
47
|
-
export const SecretGet = /*@__PURE__*/
|
|
47
|
+
export const SecretGet = /*@__PURE__*/ API.make(() => ({
|
|
48
48
|
inputSchema: SecretGetInput,
|
|
49
49
|
outputSchema: SecretGetOutput,
|
|
50
50
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -11,7 +11,7 @@ export interface SecretkeyDecryptInput {
|
|
|
11
11
|
associated_data?: number[];
|
|
12
12
|
ciphertext?: number[];
|
|
13
13
|
}
|
|
14
|
-
export const SecretkeyDecryptInput = /*@__PURE__*/
|
|
14
|
+
export const SecretkeyDecryptInput = /*@__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 SecretkeyDecryptInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
28
28
|
export interface SecretkeyDecryptOutput {
|
|
29
29
|
plaintext?: number[];
|
|
30
30
|
}
|
|
31
|
-
export const SecretkeyDecryptOutput = /*@__PURE__*/
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
) as unknown as Schema.Codec<SecretkeyDecryptOutput>;
|
|
31
|
+
export const SecretkeyDecryptOutput = /*@__PURE__*/ Schema.Struct({
|
|
32
|
+
plaintext: Schema.optional(Schema.Array(Schema.Number)),
|
|
33
|
+
}) as unknown as Schema.Codec<SecretkeyDecryptOutput>;
|
|
36
34
|
|
|
37
35
|
// The operation
|
|
38
36
|
/**
|
|
@@ -42,7 +40,7 @@ export const SecretkeyDecryptOutput = /*@__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 SecretkeyDecrypt = /*@__PURE__*/
|
|
43
|
+
export const SecretkeyDecrypt = /*@__PURE__*/ API.make(() => ({
|
|
46
44
|
inputSchema: SecretkeyDecryptInput,
|
|
47
45
|
outputSchema: SecretkeyDecryptOutput,
|
|
48
46
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -8,7 +8,7 @@ export interface SecretkeyDeleteInput {
|
|
|
8
8
|
app_name: string;
|
|
9
9
|
secret_name: string;
|
|
10
10
|
}
|
|
11
|
-
export const SecretkeyDeleteInput = /*@__PURE__*/
|
|
11
|
+
export const SecretkeyDeleteInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
secret_name: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
}).pipe(
|
|
@@ -23,7 +23,7 @@ export interface SecretkeyDeleteOutput {
|
|
|
23
23
|
Version?: number;
|
|
24
24
|
version?: number;
|
|
25
25
|
}
|
|
26
|
-
export const SecretkeyDeleteOutput = /*@__PURE__*/
|
|
26
|
+
export const SecretkeyDeleteOutput = /*@__PURE__*/ Schema.Struct({
|
|
27
27
|
Version: Schema.optional(Schema.Number),
|
|
28
28
|
version: Schema.optional(Schema.Number),
|
|
29
29
|
}) as unknown as Schema.Codec<SecretkeyDeleteOutput>;
|
|
@@ -35,7 +35,7 @@ export const SecretkeyDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
35
35
|
* @param app_name - Fly App Name
|
|
36
36
|
* @param secret_name - Secret key name
|
|
37
37
|
*/
|
|
38
|
-
export const SecretkeyDelete = /*@__PURE__*/
|
|
38
|
+
export const SecretkeyDelete = /*@__PURE__*/ API.make(() => ({
|
|
39
39
|
inputSchema: SecretkeyDeleteInput,
|
|
40
40
|
outputSchema: SecretkeyDeleteOutput,
|
|
41
41
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -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,
|