@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
|
@@ -4,9 +4,7 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
|
|
5
5
|
// Input Schema
|
|
6
6
|
export interface CurrentTokenShowInput {}
|
|
7
|
-
export const CurrentTokenShowInput = /*@__PURE__*/
|
|
8
|
-
{},
|
|
9
|
-
).pipe(
|
|
7
|
+
export const CurrentTokenShowInput = /*@__PURE__*/ Schema.Struct({}).pipe(
|
|
10
8
|
T.Http({ method: "GET", path: "/tokens/current" }),
|
|
11
9
|
) as unknown as Schema.Codec<CurrentTokenShowInput>;
|
|
12
10
|
|
|
@@ -22,23 +20,21 @@ export interface CurrentTokenShowOutput {
|
|
|
22
20
|
user?: string;
|
|
23
21
|
}[];
|
|
24
22
|
}
|
|
25
|
-
export const CurrentTokenShowOutput = /*@__PURE__*/
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
Schema.
|
|
29
|
-
Schema.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}),
|
|
38
|
-
),
|
|
23
|
+
export const CurrentTokenShowOutput = /*@__PURE__*/ Schema.Struct({
|
|
24
|
+
tokens: Schema.optional(
|
|
25
|
+
Schema.Array(
|
|
26
|
+
Schema.Struct({
|
|
27
|
+
apps: Schema.optional(Schema.Array(Schema.String)),
|
|
28
|
+
org_slug: Schema.optional(Schema.String),
|
|
29
|
+
organization: Schema.optional(Schema.String),
|
|
30
|
+
restricted_to_machine: Schema.optional(Schema.String),
|
|
31
|
+
source_machine_id: Schema.optional(Schema.String),
|
|
32
|
+
token_id: Schema.optional(Schema.String),
|
|
33
|
+
user: Schema.optional(Schema.String),
|
|
34
|
+
}),
|
|
39
35
|
),
|
|
40
|
-
|
|
41
|
-
) as unknown as Schema.Codec<CurrentTokenShowOutput>;
|
|
36
|
+
),
|
|
37
|
+
}) as unknown as Schema.Codec<CurrentTokenShowOutput>;
|
|
42
38
|
|
|
43
39
|
// The operation
|
|
44
40
|
/**
|
|
@@ -46,7 +42,7 @@ export const CurrentTokenShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
46
42
|
*
|
|
47
43
|
* Get information about the current macaroon token(s), including organizations, apps, user identity hashes, and machine restrictions
|
|
48
44
|
*/
|
|
49
|
-
export const CurrentTokenShow = /*@__PURE__*/
|
|
45
|
+
export const CurrentTokenShow = /*@__PURE__*/ API.make(() => ({
|
|
50
46
|
inputSchema: CurrentTokenShowInput,
|
|
51
47
|
outputSchema: CurrentTokenShowOutput,
|
|
52
48
|
}));
|
|
@@ -8,7 +8,7 @@ export interface MachinesCordonInput {
|
|
|
8
8
|
app_name: string;
|
|
9
9
|
machine_id: string;
|
|
10
10
|
}
|
|
11
|
-
export const MachinesCordonInput = /*@__PURE__*/
|
|
11
|
+
export const MachinesCordonInput = /*@__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 MachinesCordonInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
21
21
|
// Output Schema
|
|
22
22
|
export type MachinesCordonOutput = void;
|
|
23
23
|
export const MachinesCordonOutput =
|
|
24
|
-
/*@__PURE__*/
|
|
24
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesCordonOutput>;
|
|
25
25
|
|
|
26
26
|
// The operation
|
|
27
27
|
/**
|
|
@@ -32,7 +32,7 @@ export const MachinesCordonOutput =
|
|
|
32
32
|
* @param app_name - Fly App Name
|
|
33
33
|
* @param machine_id - Machine ID
|
|
34
34
|
*/
|
|
35
|
-
export const MachinesCordon = /*@__PURE__*/
|
|
35
|
+
export const MachinesCordon = /*@__PURE__*/ API.make(() => ({
|
|
36
36
|
inputSchema: MachinesCordonInput,
|
|
37
37
|
outputSchema: MachinesCordonOutput,
|
|
38
38
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -249,7 +249,7 @@ export interface MachinesCreateInput {
|
|
|
249
249
|
skip_secrets?: boolean;
|
|
250
250
|
skip_service_registration?: boolean;
|
|
251
251
|
}
|
|
252
|
-
export const MachinesCreateInput = /*@__PURE__*/
|
|
252
|
+
export const MachinesCreateInput = /*@__PURE__*/ Schema.Struct({
|
|
253
253
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
254
254
|
config: Schema.optional(
|
|
255
255
|
Schema.Struct({
|
|
@@ -1212,7 +1212,7 @@ export interface MachinesCreateOutput {
|
|
|
1212
1212
|
state?: string;
|
|
1213
1213
|
updated_at?: string;
|
|
1214
1214
|
}
|
|
1215
|
-
export const MachinesCreateOutput = /*@__PURE__*/
|
|
1215
|
+
export const MachinesCreateOutput = /*@__PURE__*/ Schema.Struct({
|
|
1216
1216
|
checks: Schema.optional(
|
|
1217
1217
|
Schema.Array(
|
|
1218
1218
|
Schema.Struct({
|
|
@@ -2159,7 +2159,7 @@ export const MachinesCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2159
2159
|
*
|
|
2160
2160
|
* @param app_name - Fly App Name
|
|
2161
2161
|
*/
|
|
2162
|
-
export const MachinesCreate = /*@__PURE__*/
|
|
2162
|
+
export const MachinesCreate = /*@__PURE__*/ API.make(() => ({
|
|
2163
2163
|
inputSchema: MachinesCreateInput,
|
|
2164
2164
|
outputSchema: MachinesCreateOutput,
|
|
2165
2165
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -11,7 +11,7 @@ export interface MachinesCreateLeaseInput {
|
|
|
11
11
|
ttl?: number;
|
|
12
12
|
}
|
|
13
13
|
export const MachinesCreateLeaseInput =
|
|
14
|
-
/*@__PURE__*/
|
|
14
|
+
/*@__PURE__*/ Schema.Struct({
|
|
15
15
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
17
17
|
description: Schema.optional(Schema.String),
|
|
@@ -32,7 +32,7 @@ export interface MachinesCreateLeaseOutput {
|
|
|
32
32
|
version?: string;
|
|
33
33
|
}
|
|
34
34
|
export const MachinesCreateLeaseOutput =
|
|
35
|
-
/*@__PURE__*/
|
|
35
|
+
/*@__PURE__*/ Schema.Struct({
|
|
36
36
|
description: Schema.optional(Schema.String),
|
|
37
37
|
expires_at: Schema.optional(Schema.Number),
|
|
38
38
|
nonce: Schema.optional(Schema.String),
|
|
@@ -50,7 +50,7 @@ export const MachinesCreateLeaseOutput =
|
|
|
50
50
|
* @param machine_id - Machine ID
|
|
51
51
|
* @param fly-machine-lease-nonce - Existing lease nonce to refresh by ttl, empty or non-existent to create a new lease
|
|
52
52
|
*/
|
|
53
|
-
export const MachinesCreateLease = /*@__PURE__*/
|
|
53
|
+
export const MachinesCreateLease = /*@__PURE__*/ API.make(() => ({
|
|
54
54
|
inputSchema: MachinesCreateLeaseInput,
|
|
55
55
|
outputSchema: MachinesCreateLeaseOutput,
|
|
56
56
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -9,7 +9,7 @@ export interface MachinesDeleteInput {
|
|
|
9
9
|
machine_id: string;
|
|
10
10
|
force?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export const MachinesDeleteInput = /*@__PURE__*/
|
|
12
|
+
export const MachinesDeleteInput = /*@__PURE__*/ Schema.Struct({
|
|
13
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
force: Schema.optional(Schema.Boolean),
|
|
@@ -20,7 +20,7 @@ export const MachinesDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
20
20
|
// Output Schema
|
|
21
21
|
export type MachinesDeleteOutput = void;
|
|
22
22
|
export const MachinesDeleteOutput =
|
|
23
|
-
/*@__PURE__*/
|
|
23
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesDeleteOutput>;
|
|
24
24
|
|
|
25
25
|
// The operation
|
|
26
26
|
/**
|
|
@@ -32,7 +32,7 @@ export const MachinesDeleteOutput =
|
|
|
32
32
|
* @param machine_id - Machine ID
|
|
33
33
|
* @param force - Force kill the machine if it's running
|
|
34
34
|
*/
|
|
35
|
-
export const MachinesDelete = /*@__PURE__*/
|
|
35
|
+
export const MachinesDelete = /*@__PURE__*/ API.make(() => ({
|
|
36
36
|
inputSchema: MachinesDeleteInput,
|
|
37
37
|
outputSchema: MachinesDeleteOutput,
|
|
38
38
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -10,7 +10,7 @@ export interface MachinesDeleteMetadataInput {
|
|
|
10
10
|
key: string;
|
|
11
11
|
}
|
|
12
12
|
export const MachinesDeleteMetadataInput =
|
|
13
|
-
/*@__PURE__*/
|
|
13
|
+
/*@__PURE__*/ Schema.Struct({
|
|
14
14
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
key: Schema.String.pipe(T.PathParam()),
|
|
@@ -24,7 +24,7 @@ export const MachinesDeleteMetadataInput =
|
|
|
24
24
|
// Output Schema
|
|
25
25
|
export type MachinesDeleteMetadataOutput = void;
|
|
26
26
|
export const MachinesDeleteMetadataOutput =
|
|
27
|
-
/*@__PURE__*/
|
|
27
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesDeleteMetadataOutput>;
|
|
28
28
|
|
|
29
29
|
// The operation
|
|
30
30
|
/**
|
|
@@ -36,10 +36,8 @@ export const MachinesDeleteMetadataOutput =
|
|
|
36
36
|
* @param machine_id - Machine ID
|
|
37
37
|
* @param key - Metadata Key
|
|
38
38
|
*/
|
|
39
|
-
export const MachinesDeleteMetadata = /*@__PURE__*/
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}),
|
|
45
|
-
);
|
|
39
|
+
export const MachinesDeleteMetadata = /*@__PURE__*/ API.make(() => ({
|
|
40
|
+
inputSchema: MachinesDeleteMetadataInput,
|
|
41
|
+
outputSchema: MachinesDeleteMetadataOutput,
|
|
42
|
+
errors: [Forbidden, NotFound] as const,
|
|
43
|
+
}));
|
|
@@ -13,7 +13,7 @@ export interface MachinesExecInput {
|
|
|
13
13
|
stdin?: string;
|
|
14
14
|
timeout?: number;
|
|
15
15
|
}
|
|
16
|
-
export const MachinesExecInput = /*@__PURE__*/
|
|
16
|
+
export const MachinesExecInput = /*@__PURE__*/ Schema.Struct({
|
|
17
17
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
18
18
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
19
19
|
cmd: Schema.optional(Schema.String),
|
|
@@ -35,7 +35,7 @@ export interface MachinesExecOutput {
|
|
|
35
35
|
stderr?: string;
|
|
36
36
|
stdout?: string;
|
|
37
37
|
}
|
|
38
|
-
export const MachinesExecOutput = /*@__PURE__*/
|
|
38
|
+
export const MachinesExecOutput = /*@__PURE__*/ Schema.Struct({
|
|
39
39
|
exit_code: Schema.optional(Schema.Number),
|
|
40
40
|
exit_signal: Schema.optional(Schema.Number),
|
|
41
41
|
stderr: Schema.optional(Schema.String),
|
|
@@ -51,7 +51,7 @@ export const MachinesExecOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
51
51
|
* @param app_name - Fly App Name
|
|
52
52
|
* @param machine_id - Machine ID
|
|
53
53
|
*/
|
|
54
|
-
export const MachinesExec = /*@__PURE__*/
|
|
54
|
+
export const MachinesExec = /*@__PURE__*/ API.make(() => ({
|
|
55
55
|
inputSchema: MachinesExecInput,
|
|
56
56
|
outputSchema: MachinesExecOutput,
|
|
57
57
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -8,12 +8,10 @@ export interface MachinesGetMemoryInput {
|
|
|
8
8
|
app_name: string;
|
|
9
9
|
machine_id: string;
|
|
10
10
|
}
|
|
11
|
-
export const MachinesGetMemoryInput = /*@__PURE__*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
16
|
-
).pipe(
|
|
11
|
+
export const MachinesGetMemoryInput = /*@__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}/memory",
|
|
@@ -26,7 +24,7 @@ export interface MachinesGetMemoryOutput {
|
|
|
26
24
|
limit_mb?: number;
|
|
27
25
|
}
|
|
28
26
|
export const MachinesGetMemoryOutput =
|
|
29
|
-
/*@__PURE__*/
|
|
27
|
+
/*@__PURE__*/ Schema.Struct({
|
|
30
28
|
available_mb: Schema.optional(Schema.Number),
|
|
31
29
|
limit_mb: Schema.optional(Schema.Number),
|
|
32
30
|
}) as unknown as Schema.Codec<MachinesGetMemoryOutput>;
|
|
@@ -40,7 +38,7 @@ export const MachinesGetMemoryOutput =
|
|
|
40
38
|
* @param app_name - Fly App Name
|
|
41
39
|
* @param machine_id - Machine ID
|
|
42
40
|
*/
|
|
43
|
-
export const MachinesGetMemory = /*@__PURE__*/
|
|
41
|
+
export const MachinesGetMemory = /*@__PURE__*/ API.make(() => ({
|
|
44
42
|
inputSchema: MachinesGetMemoryInput,
|
|
45
43
|
outputSchema: MachinesGetMemoryOutput,
|
|
46
44
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -10,7 +10,7 @@ export interface MachinesGetMetadataKeyInput {
|
|
|
10
10
|
key: string;
|
|
11
11
|
}
|
|
12
12
|
export const MachinesGetMetadataKeyInput =
|
|
13
|
-
/*@__PURE__*/
|
|
13
|
+
/*@__PURE__*/ Schema.Struct({
|
|
14
14
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
key: Schema.String.pipe(T.PathParam()),
|
|
@@ -26,7 +26,7 @@ export interface MachinesGetMetadataKeyOutput {
|
|
|
26
26
|
value?: string;
|
|
27
27
|
}
|
|
28
28
|
export const MachinesGetMetadataKeyOutput =
|
|
29
|
-
/*@__PURE__*/
|
|
29
|
+
/*@__PURE__*/ Schema.Struct({
|
|
30
30
|
value: Schema.optional(Schema.String),
|
|
31
31
|
}) as unknown as Schema.Codec<MachinesGetMetadataKeyOutput>;
|
|
32
32
|
|
|
@@ -40,10 +40,8 @@ export const MachinesGetMetadataKeyOutput =
|
|
|
40
40
|
* @param machine_id - Machine ID
|
|
41
41
|
* @param key - Metadata Key
|
|
42
42
|
*/
|
|
43
|
-
export const MachinesGetMetadataKey = /*@__PURE__*/
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}),
|
|
49
|
-
);
|
|
43
|
+
export const MachinesGetMetadataKey = /*@__PURE__*/ API.make(() => ({
|
|
44
|
+
inputSchema: MachinesGetMetadataKeyInput,
|
|
45
|
+
outputSchema: MachinesGetMetadataKeyOutput,
|
|
46
|
+
errors: [NotFound] as const,
|
|
47
|
+
}));
|
|
@@ -11,7 +11,7 @@ export interface MachinesListInput {
|
|
|
11
11
|
state?: string;
|
|
12
12
|
summary?: boolean;
|
|
13
13
|
}
|
|
14
|
-
export const MachinesListInput = /*@__PURE__*/
|
|
14
|
+
export const MachinesListInput = /*@__PURE__*/ Schema.Struct({
|
|
15
15
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
include_deleted: Schema.optional(Schema.Boolean),
|
|
17
17
|
region: Schema.optional(Schema.String),
|
|
@@ -525,7 +525,7 @@ export type MachinesListOutput = {
|
|
|
525
525
|
state?: string;
|
|
526
526
|
updated_at?: string;
|
|
527
527
|
}[];
|
|
528
|
-
export const MachinesListOutput = /*@__PURE__*/
|
|
528
|
+
export const MachinesListOutput = /*@__PURE__*/ Schema.Array(
|
|
529
529
|
Schema.Struct({
|
|
530
530
|
checks: Schema.optional(
|
|
531
531
|
Schema.Array(
|
|
@@ -1487,7 +1487,7 @@ export const MachinesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
1487
1487
|
* @param state - comma separated list of states to filter (created, started, stopped, suspended)
|
|
1488
1488
|
* @param summary - Only return summary info about machines (omit config, checks, events, host_status, nonce, etc.)
|
|
1489
1489
|
*/
|
|
1490
|
-
export const MachinesList = /*@__PURE__*/
|
|
1490
|
+
export const MachinesList = /*@__PURE__*/ API.make(() => ({
|
|
1491
1491
|
inputSchema: MachinesListInput,
|
|
1492
1492
|
outputSchema: MachinesListOutput,
|
|
1493
1493
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -10,7 +10,7 @@ export interface MachinesListEventsInput {
|
|
|
10
10
|
limit?: number;
|
|
11
11
|
}
|
|
12
12
|
export const MachinesListEventsInput =
|
|
13
|
-
/*@__PURE__*/
|
|
13
|
+
/*@__PURE__*/ Schema.Struct({
|
|
14
14
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
limit: Schema.optional(Schema.Number),
|
|
@@ -31,7 +31,7 @@ export type MachinesListEventsOutput = {
|
|
|
31
31
|
type?: string;
|
|
32
32
|
}[];
|
|
33
33
|
export const MachinesListEventsOutput =
|
|
34
|
-
/*@__PURE__*/
|
|
34
|
+
/*@__PURE__*/ Schema.Array(
|
|
35
35
|
Schema.Struct({
|
|
36
36
|
id: Schema.optional(Schema.String),
|
|
37
37
|
request: Schema.optional(Schema.Unknown),
|
|
@@ -52,7 +52,7 @@ export const MachinesListEventsOutput =
|
|
|
52
52
|
* @param machine_id - Machine ID
|
|
53
53
|
* @param limit - The number of events to fetch (max of 50). If omitted, this is set to 20 by default.
|
|
54
54
|
*/
|
|
55
|
-
export const MachinesListEvents = /*@__PURE__*/
|
|
55
|
+
export const MachinesListEvents = /*@__PURE__*/ API.make(() => ({
|
|
56
56
|
inputSchema: MachinesListEventsInput,
|
|
57
57
|
outputSchema: MachinesListEventsOutput,
|
|
58
58
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -11,7 +11,7 @@ export interface MachinesListProcessesInput {
|
|
|
11
11
|
order?: string;
|
|
12
12
|
}
|
|
13
13
|
export const MachinesListProcessesInput =
|
|
14
|
-
/*@__PURE__*/
|
|
14
|
+
/*@__PURE__*/ Schema.Struct({
|
|
15
15
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
17
17
|
sort_by: Schema.optional(Schema.String),
|
|
@@ -35,7 +35,7 @@ export type MachinesListProcessesOutput = {
|
|
|
35
35
|
stime?: number;
|
|
36
36
|
}[];
|
|
37
37
|
export const MachinesListProcessesOutput =
|
|
38
|
-
/*@__PURE__*/
|
|
38
|
+
/*@__PURE__*/ Schema.Array(
|
|
39
39
|
Schema.Struct({
|
|
40
40
|
command: Schema.optional(Schema.String),
|
|
41
41
|
cpu: Schema.optional(Schema.Number),
|
|
@@ -66,10 +66,8 @@ export const MachinesListProcessesOutput =
|
|
|
66
66
|
* @param sort_by - Sort by
|
|
67
67
|
* @param order - Order
|
|
68
68
|
*/
|
|
69
|
-
export const MachinesListProcesses = /*@__PURE__*/
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}),
|
|
75
|
-
);
|
|
69
|
+
export const MachinesListProcesses = /*@__PURE__*/ API.make(() => ({
|
|
70
|
+
inputSchema: MachinesListProcessesInput,
|
|
71
|
+
outputSchema: MachinesListProcessesOutput,
|
|
72
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
73
|
+
}));
|
|
@@ -9,7 +9,7 @@ export interface MachinesListVersionsInput {
|
|
|
9
9
|
machine_id: string;
|
|
10
10
|
}
|
|
11
11
|
export const MachinesListVersionsInput =
|
|
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(
|
|
@@ -259,7 +259,7 @@ export type MachinesListVersionsOutput = {
|
|
|
259
259
|
version?: string;
|
|
260
260
|
}[];
|
|
261
261
|
export const MachinesListVersionsOutput =
|
|
262
|
-
/*@__PURE__*/
|
|
262
|
+
/*@__PURE__*/ Schema.Array(
|
|
263
263
|
Schema.Struct({
|
|
264
264
|
user_config: Schema.optional(
|
|
265
265
|
Schema.Struct({
|
|
@@ -735,10 +735,8 @@ export const MachinesListVersionsOutput =
|
|
|
735
735
|
* @param app_name - Fly App Name
|
|
736
736
|
* @param machine_id - Machine ID
|
|
737
737
|
*/
|
|
738
|
-
export const MachinesListVersions = /*@__PURE__*/
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
}),
|
|
744
|
-
);
|
|
738
|
+
export const MachinesListVersions = /*@__PURE__*/ API.make(() => ({
|
|
739
|
+
inputSchema: MachinesListVersionsInput,
|
|
740
|
+
outputSchema: MachinesListVersionsOutput,
|
|
741
|
+
errors: [Forbidden, NotFound] as const,
|
|
742
|
+
}));
|
|
@@ -14,7 +14,7 @@ export interface MachinesOrgListInput {
|
|
|
14
14
|
cursor?: string;
|
|
15
15
|
limit?: number;
|
|
16
16
|
}
|
|
17
|
-
export const MachinesOrgListInput = /*@__PURE__*/
|
|
17
|
+
export const MachinesOrgListInput = /*@__PURE__*/ Schema.Struct({
|
|
18
18
|
org_slug: Schema.String.pipe(T.PathParam()),
|
|
19
19
|
include_deleted: Schema.optional(Schema.Boolean),
|
|
20
20
|
region: Schema.optional(Schema.String),
|
|
@@ -60,7 +60,7 @@ export interface MachinesOrgListOutput {
|
|
|
60
60
|
}[];
|
|
61
61
|
next_cursor?: string;
|
|
62
62
|
}
|
|
63
|
-
export const MachinesOrgListOutput = /*@__PURE__*/
|
|
63
|
+
export const MachinesOrgListOutput = /*@__PURE__*/ Schema.Struct({
|
|
64
64
|
error_regions: Schema.optional(Schema.Array(Schema.String)),
|
|
65
65
|
last_machine_id: Schema.optional(Schema.String),
|
|
66
66
|
last_updated_at: Schema.optional(Schema.String),
|
|
@@ -121,7 +121,7 @@ export const MachinesOrgListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
121
121
|
* @param cursor - Pagination cursor from previous response (takes precedence over updated_after). Note that there is no guarantee that all machines returned by this endpoint are sorted by their updated_at fields. Pagination may reveal machines older than the last updated_at.
|
|
122
122
|
* @param limit - The number of machines to fetch (max of 1000). This limit is advisory. Responses may be shorter, or even empty, even when more machines remain. If omitted, the maximum is used
|
|
123
123
|
*/
|
|
124
|
-
export const MachinesOrgList = /*@__PURE__*/
|
|
124
|
+
export const MachinesOrgList = /*@__PURE__*/ API.make(() => ({
|
|
125
125
|
inputSchema: MachinesOrgListInput,
|
|
126
126
|
outputSchema: MachinesOrgListOutput,
|
|
127
127
|
errors: [Forbidden, NotFound] as const,
|
|
@@ -5,7 +5,7 @@ import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
7
|
export const MachinesPatchMetadataInput =
|
|
8
|
-
/*@__PURE__*/
|
|
8
|
+
/*@__PURE__*/ Schema.Struct({
|
|
9
9
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
10
10
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
11
11
|
}).pipe(
|
|
@@ -17,8 +17,7 @@ export const MachinesPatchMetadataInput =
|
|
|
17
17
|
export type MachinesPatchMetadataInput = typeof MachinesPatchMetadataInput.Type;
|
|
18
18
|
|
|
19
19
|
// Output Schema
|
|
20
|
-
export const MachinesPatchMetadataOutput =
|
|
21
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
20
|
+
export const MachinesPatchMetadataOutput = /*@__PURE__*/ Schema.Void;
|
|
22
21
|
export type MachinesPatchMetadataOutput =
|
|
23
22
|
typeof MachinesPatchMetadataOutput.Type;
|
|
24
23
|
|
|
@@ -32,10 +31,8 @@ export type MachinesPatchMetadataOutput =
|
|
|
32
31
|
* @param app_name - Fly App Name
|
|
33
32
|
* @param machine_id - Machine ID
|
|
34
33
|
*/
|
|
35
|
-
export const MachinesPatchMetadata = /*@__PURE__*/
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}),
|
|
41
|
-
);
|
|
34
|
+
export const MachinesPatchMetadata = /*@__PURE__*/ API.make(() => ({
|
|
35
|
+
inputSchema: MachinesPatchMetadataInput,
|
|
36
|
+
outputSchema: MachinesPatchMetadataOutput,
|
|
37
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
38
|
+
}));
|
|
@@ -10,7 +10,7 @@ export interface MachinesReclaimMemoryInput {
|
|
|
10
10
|
amount_mb?: number;
|
|
11
11
|
}
|
|
12
12
|
export const MachinesReclaimMemoryInput =
|
|
13
|
-
/*@__PURE__*/
|
|
13
|
+
/*@__PURE__*/ Schema.Struct({
|
|
14
14
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
amount_mb: Schema.optional(Schema.Number),
|
|
@@ -26,7 +26,7 @@ export interface MachinesReclaimMemoryOutput {
|
|
|
26
26
|
actual_mb?: number;
|
|
27
27
|
}
|
|
28
28
|
export const MachinesReclaimMemoryOutput =
|
|
29
|
-
/*@__PURE__*/
|
|
29
|
+
/*@__PURE__*/ Schema.Struct({
|
|
30
30
|
actual_mb: Schema.optional(Schema.Number),
|
|
31
31
|
}) as unknown as Schema.Codec<MachinesReclaimMemoryOutput>;
|
|
32
32
|
|
|
@@ -39,10 +39,8 @@ export const MachinesReclaimMemoryOutput =
|
|
|
39
39
|
* @param app_name - Fly App Name
|
|
40
40
|
* @param machine_id - Machine ID
|
|
41
41
|
*/
|
|
42
|
-
export const MachinesReclaimMemory = /*@__PURE__*/
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}),
|
|
48
|
-
);
|
|
42
|
+
export const MachinesReclaimMemory = /*@__PURE__*/ API.make(() => ({
|
|
43
|
+
inputSchema: MachinesReclaimMemoryInput,
|
|
44
|
+
outputSchema: MachinesReclaimMemoryOutput,
|
|
45
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
46
|
+
}));
|
|
@@ -9,7 +9,7 @@ export interface MachinesReleaseLeaseInput {
|
|
|
9
9
|
machine_id: string;
|
|
10
10
|
}
|
|
11
11
|
export const MachinesReleaseLeaseInput =
|
|
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 MachinesReleaseLeaseInput =
|
|
|
22
22
|
// Output Schema
|
|
23
23
|
export type MachinesReleaseLeaseOutput = void;
|
|
24
24
|
export const MachinesReleaseLeaseOutput =
|
|
25
|
-
/*@__PURE__*/
|
|
25
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesReleaseLeaseOutput>;
|
|
26
26
|
|
|
27
27
|
// The operation
|
|
28
28
|
/**
|
|
@@ -34,10 +34,8 @@ export const MachinesReleaseLeaseOutput =
|
|
|
34
34
|
* @param machine_id - Machine ID
|
|
35
35
|
* @param fly-machine-lease-nonce - Existing lease nonce
|
|
36
36
|
*/
|
|
37
|
-
export const MachinesReleaseLease = /*@__PURE__*/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}),
|
|
43
|
-
);
|
|
37
|
+
export const MachinesReleaseLease = /*@__PURE__*/ API.make(() => ({
|
|
38
|
+
inputSchema: MachinesReleaseLeaseInput,
|
|
39
|
+
outputSchema: MachinesReleaseLeaseOutput,
|
|
40
|
+
errors: [Forbidden, NotFound] as const,
|
|
41
|
+
}));
|
|
@@ -17,7 +17,7 @@ export interface MachinesRestartInput {
|
|
|
17
17
|
| "SIGUSR2"
|
|
18
18
|
| "SIGTERM";
|
|
19
19
|
}
|
|
20
|
-
export const MachinesRestartInput = /*@__PURE__*/
|
|
20
|
+
export const MachinesRestartInput = /*@__PURE__*/ Schema.Struct({
|
|
21
21
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
22
22
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
23
23
|
timeout: Schema.optional(Schema.String),
|
|
@@ -42,7 +42,7 @@ export const MachinesRestartInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
42
42
|
// Output Schema
|
|
43
43
|
export type MachinesRestartOutput = void;
|
|
44
44
|
export const MachinesRestartOutput =
|
|
45
|
-
/*@__PURE__*/
|
|
45
|
+
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesRestartOutput>;
|
|
46
46
|
|
|
47
47
|
// The operation
|
|
48
48
|
/**
|
|
@@ -55,7 +55,7 @@ export const MachinesRestartOutput =
|
|
|
55
55
|
* @param timeout - Restart timeout as a Go duration string or number of seconds
|
|
56
56
|
* @param signal - Unix signal name
|
|
57
57
|
*/
|
|
58
|
-
export const MachinesRestart = /*@__PURE__*/
|
|
58
|
+
export const MachinesRestart = /*@__PURE__*/ API.make(() => ({
|
|
59
59
|
inputSchema: MachinesRestartInput,
|
|
60
60
|
outputSchema: MachinesRestartOutput,
|
|
61
61
|
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
@@ -10,7 +10,7 @@ export interface MachinesSetMemoryLimitInput {
|
|
|
10
10
|
limit_mb?: number;
|
|
11
11
|
}
|
|
12
12
|
export const MachinesSetMemoryLimitInput =
|
|
13
|
-
/*@__PURE__*/
|
|
13
|
+
/*@__PURE__*/ Schema.Struct({
|
|
14
14
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
limit_mb: Schema.optional(Schema.Number),
|
|
@@ -27,7 +27,7 @@ export interface MachinesSetMemoryLimitOutput {
|
|
|
27
27
|
limit_mb?: number;
|
|
28
28
|
}
|
|
29
29
|
export const MachinesSetMemoryLimitOutput =
|
|
30
|
-
/*@__PURE__*/
|
|
30
|
+
/*@__PURE__*/ Schema.Struct({
|
|
31
31
|
available_mb: Schema.optional(Schema.Number),
|
|
32
32
|
limit_mb: Schema.optional(Schema.Number),
|
|
33
33
|
}) as unknown as Schema.Codec<MachinesSetMemoryLimitOutput>;
|
|
@@ -41,10 +41,8 @@ export const MachinesSetMemoryLimitOutput =
|
|
|
41
41
|
* @param app_name - Fly App Name
|
|
42
42
|
* @param machine_id - Machine ID
|
|
43
43
|
*/
|
|
44
|
-
export const MachinesSetMemoryLimit = /*@__PURE__*/
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}),
|
|
50
|
-
);
|
|
44
|
+
export const MachinesSetMemoryLimit = /*@__PURE__*/ API.make(() => ({
|
|
45
|
+
inputSchema: MachinesSetMemoryLimitInput,
|
|
46
|
+
outputSchema: MachinesSetMemoryLimitOutput,
|
|
47
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
48
|
+
}));
|
|
@@ -8,7 +8,7 @@ export interface MachinesShowInput {
|
|
|
8
8
|
app_name: string;
|
|
9
9
|
machine_id: string;
|
|
10
10
|
}
|
|
11
|
-
export const MachinesShowInput = /*@__PURE__*/
|
|
11
|
+
export const MachinesShowInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
}).pipe(
|
|
@@ -519,7 +519,7 @@ export interface MachinesShowOutput {
|
|
|
519
519
|
state?: string;
|
|
520
520
|
updated_at?: string;
|
|
521
521
|
}
|
|
522
|
-
export const MachinesShowOutput = /*@__PURE__*/
|
|
522
|
+
export const MachinesShowOutput = /*@__PURE__*/ Schema.Struct({
|
|
523
523
|
checks: Schema.optional(
|
|
524
524
|
Schema.Array(
|
|
525
525
|
Schema.Struct({
|
|
@@ -1466,7 +1466,7 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1466
1466
|
* @param app_name - Fly App Name
|
|
1467
1467
|
* @param machine_id - Machine ID
|
|
1468
1468
|
*/
|
|
1469
|
-
export const MachinesShow = /*@__PURE__*/
|
|
1469
|
+
export const MachinesShow = /*@__PURE__*/ API.make(() => ({
|
|
1470
1470
|
inputSchema: MachinesShowInput,
|
|
1471
1471
|
outputSchema: MachinesShowOutput,
|
|
1472
1472
|
errors: [Forbidden, NotFound] as const,
|