@distilled.cloud/fly-io 0.28.2 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeCreate.js +3 -3
- package/lib/operations/AppCertificatesAcmeCreate.js.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.js +3 -3
- package/lib/operations/AppCertificatesAcmeDelete.js.map +1 -1
- package/lib/operations/AppCertificatesCheck.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCheck.js +3 -3
- package/lib/operations/AppCertificatesCheck.js.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.js +3 -3
- package/lib/operations/AppCertificatesCustomCreate.js.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.js +3 -3
- package/lib/operations/AppCertificatesCustomDelete.js.map +1 -1
- package/lib/operations/AppCertificatesDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesDelete.js +3 -3
- package/lib/operations/AppCertificatesDelete.js.map +1 -1
- package/lib/operations/AppCertificatesList.js +3 -3
- package/lib/operations/AppCertificatesList.js.map +1 -1
- package/lib/operations/AppCertificatesShow.js +3 -3
- package/lib/operations/AppCertificatesShow.js.map +1 -1
- package/lib/operations/AppCreateDeployToken.d.ts.map +1 -1
- package/lib/operations/AppCreateDeployToken.js +3 -3
- package/lib/operations/AppCreateDeployToken.js.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.js +3 -3
- package/lib/operations/AppIPAssignmentsCreate.js.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.js +3 -3
- package/lib/operations/AppIPAssignmentsDelete.js.map +1 -1
- package/lib/operations/AppIPAssignmentsList.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsList.js +3 -3
- package/lib/operations/AppIPAssignmentsList.js.map +1 -1
- package/lib/operations/App_CertificatesAcmeCreate.d.ts.map +1 -1
- package/lib/operations/App_CertificatesAcmeCreate.js +3 -3
- package/lib/operations/App_CertificatesAcmeCreate.js.map +1 -1
- package/lib/operations/App_CertificatesAcmeDelete.d.ts +1 -1
- package/lib/operations/App_CertificatesAcmeDelete.d.ts.map +1 -1
- package/lib/operations/App_CertificatesAcmeDelete.js +3 -3
- package/lib/operations/App_CertificatesAcmeDelete.js.map +1 -1
- package/lib/operations/App_CertificatesCheck.d.ts +1 -1
- package/lib/operations/App_CertificatesCheck.d.ts.map +1 -1
- package/lib/operations/App_CertificatesCheck.js +3 -3
- package/lib/operations/App_CertificatesCheck.js.map +1 -1
- package/lib/operations/App_CertificatesCustomCreate.js +3 -3
- package/lib/operations/App_CertificatesCustomCreate.js.map +1 -1
- package/lib/operations/App_CertificatesCustomDelete.d.ts +1 -1
- package/lib/operations/App_CertificatesCustomDelete.js +3 -3
- package/lib/operations/App_CertificatesCustomDelete.js.map +1 -1
- package/lib/operations/App_CertificatesDelete.d.ts +1 -1
- package/lib/operations/App_CertificatesDelete.d.ts.map +1 -1
- package/lib/operations/App_CertificatesDelete.js +3 -4
- package/lib/operations/App_CertificatesDelete.js.map +1 -1
- package/lib/operations/App_CertificatesList.d.ts.map +1 -1
- package/lib/operations/App_CertificatesList.js +3 -3
- package/lib/operations/App_CertificatesList.js.map +1 -1
- package/lib/operations/App_CertificatesShow.d.ts +1 -1
- package/lib/operations/App_CertificatesShow.d.ts.map +1 -1
- package/lib/operations/App_CertificatesShow.js +3 -3
- package/lib/operations/App_CertificatesShow.js.map +1 -1
- package/lib/operations/App_IPAssignmentsCreate.d.ts.map +1 -1
- package/lib/operations/App_IPAssignmentsCreate.js +3 -3
- package/lib/operations/App_IPAssignmentsCreate.js.map +1 -1
- package/lib/operations/App_IPAssignmentsDelete.d.ts +1 -1
- package/lib/operations/App_IPAssignmentsDelete.d.ts.map +1 -1
- package/lib/operations/App_IPAssignmentsDelete.js +3 -4
- package/lib/operations/App_IPAssignmentsDelete.js.map +1 -1
- package/lib/operations/App_IPAssignmentsList.d.ts +1 -1
- package/lib/operations/App_IPAssignmentsList.d.ts.map +1 -1
- package/lib/operations/App_IPAssignmentsList.js +3 -3
- package/lib/operations/App_IPAssignmentsList.js.map +1 -1
- package/lib/operations/AppsCreate.d.ts.map +1 -1
- package/lib/operations/AppsCreate.js +3 -3
- package/lib/operations/AppsCreate.js.map +1 -1
- package/lib/operations/AppsDelete.d.ts.map +1 -1
- package/lib/operations/AppsDelete.js +3 -3
- package/lib/operations/AppsDelete.js.map +1 -1
- package/lib/operations/AppsList.js +3 -3
- package/lib/operations/AppsList.js.map +1 -1
- package/lib/operations/AppsShow.js +3 -3
- package/lib/operations/AppsShow.js.map +1 -1
- package/lib/operations/CurrentTokenShow.d.ts.map +1 -1
- package/lib/operations/CurrentTokenShow.js +3 -3
- package/lib/operations/CurrentTokenShow.js.map +1 -1
- package/lib/operations/MachinesCordon.d.ts.map +1 -1
- package/lib/operations/MachinesCordon.js +3 -3
- package/lib/operations/MachinesCordon.js.map +1 -1
- package/lib/operations/MachinesCreate.js +3 -3
- package/lib/operations/MachinesCreate.js.map +1 -1
- package/lib/operations/MachinesCreateLease.js +3 -3
- package/lib/operations/MachinesCreateLease.js.map +1 -1
- package/lib/operations/MachinesDelete.d.ts.map +1 -1
- package/lib/operations/MachinesDelete.js +3 -3
- package/lib/operations/MachinesDelete.js.map +1 -1
- package/lib/operations/MachinesDeleteMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesDeleteMetadata.js +3 -3
- package/lib/operations/MachinesDeleteMetadata.js.map +1 -1
- package/lib/operations/MachinesExec.js +3 -3
- package/lib/operations/MachinesExec.js.map +1 -1
- package/lib/operations/MachinesGetMemory.d.ts.map +1 -1
- package/lib/operations/MachinesGetMemory.js +3 -3
- package/lib/operations/MachinesGetMemory.js.map +1 -1
- package/lib/operations/MachinesGetMetadataKey.d.ts.map +1 -1
- package/lib/operations/MachinesGetMetadataKey.js +3 -3
- package/lib/operations/MachinesGetMetadataKey.js.map +1 -1
- package/lib/operations/MachinesList.js +3 -3
- package/lib/operations/MachinesList.js.map +1 -1
- package/lib/operations/MachinesListEvents.js +3 -3
- package/lib/operations/MachinesListEvents.js.map +1 -1
- package/lib/operations/MachinesListProcesses.d.ts.map +1 -1
- package/lib/operations/MachinesListProcesses.js +3 -3
- package/lib/operations/MachinesListProcesses.js.map +1 -1
- package/lib/operations/MachinesListVersions.d.ts.map +1 -1
- package/lib/operations/MachinesListVersions.js +3 -3
- package/lib/operations/MachinesListVersions.js.map +1 -1
- package/lib/operations/MachinesOrgList.js +3 -3
- package/lib/operations/MachinesOrgList.js.map +1 -1
- package/lib/operations/MachinesPatchMetadata.d.ts +4 -4
- package/lib/operations/MachinesPatchMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesPatchMetadata.js +3 -4
- package/lib/operations/MachinesPatchMetadata.js.map +1 -1
- package/lib/operations/MachinesReclaimMemory.d.ts.map +1 -1
- package/lib/operations/MachinesReclaimMemory.js +3 -3
- package/lib/operations/MachinesReclaimMemory.js.map +1 -1
- package/lib/operations/MachinesReleaseLease.d.ts.map +1 -1
- package/lib/operations/MachinesReleaseLease.js +3 -3
- package/lib/operations/MachinesReleaseLease.js.map +1 -1
- package/lib/operations/MachinesRestart.d.ts.map +1 -1
- package/lib/operations/MachinesRestart.js +3 -3
- package/lib/operations/MachinesRestart.js.map +1 -1
- package/lib/operations/MachinesSetMemoryLimit.d.ts.map +1 -1
- package/lib/operations/MachinesSetMemoryLimit.js +3 -3
- package/lib/operations/MachinesSetMemoryLimit.js.map +1 -1
- package/lib/operations/MachinesShow.js +3 -3
- package/lib/operations/MachinesShow.js.map +1 -1
- package/lib/operations/MachinesShowLease.d.ts.map +1 -1
- package/lib/operations/MachinesShowLease.js +3 -3
- package/lib/operations/MachinesShowLease.js.map +1 -1
- package/lib/operations/MachinesShowMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesShowMetadata.js +3 -3
- package/lib/operations/MachinesShowMetadata.js.map +1 -1
- package/lib/operations/MachinesSignal.d.ts.map +1 -1
- package/lib/operations/MachinesSignal.js +3 -3
- package/lib/operations/MachinesSignal.js.map +1 -1
- package/lib/operations/MachinesStart.d.ts.map +1 -1
- package/lib/operations/MachinesStart.js +3 -3
- package/lib/operations/MachinesStart.js.map +1 -1
- package/lib/operations/MachinesStop.d.ts.map +1 -1
- package/lib/operations/MachinesStop.js +3 -3
- package/lib/operations/MachinesStop.js.map +1 -1
- package/lib/operations/MachinesSuspend.d.ts.map +1 -1
- package/lib/operations/MachinesSuspend.js +3 -3
- package/lib/operations/MachinesSuspend.js.map +1 -1
- package/lib/operations/MachinesUncordon.d.ts.map +1 -1
- package/lib/operations/MachinesUncordon.js +3 -3
- package/lib/operations/MachinesUncordon.js.map +1 -1
- package/lib/operations/MachinesUpdate.js +3 -3
- package/lib/operations/MachinesUpdate.js.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.js +3 -3
- package/lib/operations/MachinesUpdateMetadata.js.map +1 -1
- package/lib/operations/MachinesUpsertMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesUpsertMetadata.js +3 -3
- package/lib/operations/MachinesUpsertMetadata.js.map +1 -1
- package/lib/operations/MachinesWait.js +3 -3
- package/lib/operations/MachinesWait.js.map +1 -1
- package/lib/operations/PlatformPlacementsPost.d.ts.map +1 -1
- package/lib/operations/PlatformPlacementsPost.js +3 -3
- package/lib/operations/PlatformPlacementsPost.js.map +1 -1
- package/lib/operations/PlatformRegionsGet.js +3 -3
- package/lib/operations/PlatformRegionsGet.js.map +1 -1
- package/lib/operations/SecretCreate.js +3 -3
- package/lib/operations/SecretCreate.js.map +1 -1
- package/lib/operations/SecretDelete.js +3 -3
- package/lib/operations/SecretDelete.js.map +1 -1
- package/lib/operations/SecretGet.js +3 -3
- package/lib/operations/SecretGet.js.map +1 -1
- package/lib/operations/SecretkeyDecrypt.d.ts.map +1 -1
- package/lib/operations/SecretkeyDecrypt.js +3 -3
- package/lib/operations/SecretkeyDecrypt.js.map +1 -1
- package/lib/operations/SecretkeyDelete.js +3 -3
- package/lib/operations/SecretkeyDelete.js.map +1 -1
- package/lib/operations/SecretkeyEncrypt.d.ts.map +1 -1
- package/lib/operations/SecretkeyEncrypt.js +3 -3
- package/lib/operations/SecretkeyEncrypt.js.map +1 -1
- package/lib/operations/SecretkeyGenerate.d.ts.map +1 -1
- package/lib/operations/SecretkeyGenerate.js +3 -3
- package/lib/operations/SecretkeyGenerate.js.map +1 -1
- package/lib/operations/SecretkeyGet.js +3 -3
- package/lib/operations/SecretkeyGet.js.map +1 -1
- package/lib/operations/SecretkeySet.js +3 -3
- package/lib/operations/SecretkeySet.js.map +1 -1
- package/lib/operations/SecretkeySign.js +3 -3
- package/lib/operations/SecretkeySign.js.map +1 -1
- package/lib/operations/SecretkeyVerify.d.ts.map +1 -1
- package/lib/operations/SecretkeyVerify.js +3 -3
- package/lib/operations/SecretkeyVerify.js.map +1 -1
- package/lib/operations/SecretkeysList.js +3 -3
- package/lib/operations/SecretkeysList.js.map +1 -1
- package/lib/operations/SecretsList.js +3 -3
- package/lib/operations/SecretsList.js.map +1 -1
- package/lib/operations/SecretsUpdate.js +3 -3
- package/lib/operations/SecretsUpdate.js.map +1 -1
- package/lib/operations/TokensAuthenticate.js +3 -3
- package/lib/operations/TokensAuthenticate.js.map +1 -1
- package/lib/operations/TokensAuthorize.js +3 -3
- package/lib/operations/TokensAuthorize.js.map +1 -1
- package/lib/operations/TokensRequestKms.d.ts.map +1 -1
- package/lib/operations/TokensRequestKms.js +3 -3
- package/lib/operations/TokensRequestKms.js.map +1 -1
- package/lib/operations/TokensRequestOIDC.d.ts.map +1 -1
- package/lib/operations/TokensRequestOIDC.js +3 -3
- package/lib/operations/TokensRequestOIDC.js.map +1 -1
- package/lib/operations/TokensRequest_Kms.d.ts +1 -1
- package/lib/operations/TokensRequest_Kms.d.ts.map +1 -1
- package/lib/operations/TokensRequest_Kms.js +3 -4
- package/lib/operations/TokensRequest_Kms.js.map +1 -1
- package/lib/operations/TokensRequest_OIDC.d.ts.map +1 -1
- package/lib/operations/TokensRequest_OIDC.js +3 -4
- package/lib/operations/TokensRequest_OIDC.js.map +1 -1
- package/lib/operations/VolumeDelete.js +3 -3
- package/lib/operations/VolumeDelete.js.map +1 -1
- package/lib/operations/VolumesCreate.js +3 -3
- package/lib/operations/VolumesCreate.js.map +1 -1
- package/lib/operations/VolumesExtend.js +3 -3
- package/lib/operations/VolumesExtend.js.map +1 -1
- package/lib/operations/VolumesGetById.js +3 -3
- package/lib/operations/VolumesGetById.js.map +1 -1
- package/lib/operations/VolumesList.js +3 -3
- package/lib/operations/VolumesList.js.map +1 -1
- package/lib/operations/VolumesListSnapshots.d.ts.map +1 -1
- package/lib/operations/VolumesListSnapshots.js +3 -3
- package/lib/operations/VolumesListSnapshots.js.map +1 -1
- package/lib/operations/VolumesOrgList.js +3 -3
- package/lib/operations/VolumesOrgList.js.map +1 -1
- package/lib/operations/VolumesUpdate.js +3 -3
- package/lib/operations/VolumesUpdate.js.map +1 -1
- package/lib/operations/createVolumeSnapshot.d.ts.map +1 -1
- package/lib/operations/createVolumeSnapshot.js +3 -3
- package/lib/operations/createVolumeSnapshot.js.map +1 -1
- package/package.json +7 -6
- package/src/operations/AppCertificatesAcmeCreate.ts +7 -9
- package/src/operations/AppCertificatesAcmeDelete.ts +7 -9
- package/src/operations/AppCertificatesCheck.ts +7 -9
- package/src/operations/AppCertificatesCustomCreate.ts +7 -9
- package/src/operations/AppCertificatesCustomDelete.ts +7 -9
- package/src/operations/AppCertificatesDelete.ts +7 -9
- package/src/operations/AppCertificatesList.ts +3 -3
- package/src/operations/AppCertificatesShow.ts +3 -3
- package/src/operations/AppCreateDeployToken.ts +7 -9
- package/src/operations/AppIPAssignmentsCreate.ts +7 -9
- package/src/operations/AppIPAssignmentsDelete.ts +7 -9
- package/src/operations/AppIPAssignmentsList.ts +7 -9
- package/src/operations/App_CertificatesAcmeCreate.ts +6 -8
- package/src/operations/App_CertificatesAcmeDelete.ts +6 -8
- package/src/operations/App_CertificatesCheck.ts +6 -8
- package/src/operations/App_CertificatesCustomCreate.ts +3 -3
- package/src/operations/App_CertificatesCustomDelete.ts +3 -3
- package/src/operations/App_CertificatesDelete.ts +6 -9
- package/src/operations/App_CertificatesList.ts +6 -8
- package/src/operations/App_CertificatesShow.ts +6 -8
- package/src/operations/App_IPAssignmentsCreate.ts +6 -8
- package/src/operations/App_IPAssignmentsDelete.ts +6 -9
- package/src/operations/App_IPAssignmentsList.ts +6 -8
- package/src/operations/AppsCreate.ts +3 -3
- package/src/operations/AppsDelete.ts +3 -3
- package/src/operations/AppsList.ts +3 -3
- package/src/operations/AppsShow.ts +3 -3
- package/src/operations/CurrentTokenShow.ts +16 -20
- package/src/operations/MachinesCordon.ts +3 -3
- package/src/operations/MachinesCreate.ts +3 -3
- package/src/operations/MachinesCreateLease.ts +3 -3
- package/src/operations/MachinesDelete.ts +3 -3
- package/src/operations/MachinesDeleteMetadata.ts +7 -9
- package/src/operations/MachinesExec.ts +3 -3
- package/src/operations/MachinesGetMemory.ts +6 -8
- package/src/operations/MachinesGetMetadataKey.ts +7 -9
- package/src/operations/MachinesList.ts +3 -3
- package/src/operations/MachinesListEvents.ts +3 -3
- package/src/operations/MachinesListProcesses.ts +7 -9
- package/src/operations/MachinesListVersions.ts +7 -9
- package/src/operations/MachinesOrgList.ts +3 -3
- package/src/operations/MachinesPatchMetadata.ts +7 -10
- package/src/operations/MachinesReclaimMemory.ts +7 -9
- package/src/operations/MachinesReleaseLease.ts +7 -9
- package/src/operations/MachinesRestart.ts +3 -3
- package/src/operations/MachinesSetMemoryLimit.ts +7 -9
- package/src/operations/MachinesShow.ts +3 -3
- package/src/operations/MachinesShowLease.ts +6 -8
- package/src/operations/MachinesShowMetadata.ts +7 -9
- package/src/operations/MachinesSignal.ts +3 -3
- package/src/operations/MachinesStart.ts +3 -3
- package/src/operations/MachinesStop.ts +3 -3
- package/src/operations/MachinesSuspend.ts +3 -3
- package/src/operations/MachinesUncordon.ts +3 -3
- package/src/operations/MachinesUpdate.ts +3 -3
- package/src/operations/MachinesUpdateMetadata.ts +7 -9
- package/src/operations/MachinesUpsertMetadata.ts +7 -9
- package/src/operations/MachinesWait.ts +3 -3
- package/src/operations/PlatformPlacementsPost.ts +7 -9
- package/src/operations/PlatformRegionsGet.ts +3 -3
- package/src/operations/SecretCreate.ts +3 -3
- package/src/operations/SecretDelete.ts +3 -3
- package/src/operations/SecretGet.ts +3 -3
- package/src/operations/SecretkeyDecrypt.ts +5 -7
- package/src/operations/SecretkeyDelete.ts +3 -3
- package/src/operations/SecretkeyEncrypt.ts +5 -7
- package/src/operations/SecretkeyGenerate.ts +8 -10
- package/src/operations/SecretkeyGet.ts +3 -3
- package/src/operations/SecretkeySet.ts +3 -3
- package/src/operations/SecretkeySign.ts +3 -3
- package/src/operations/SecretkeyVerify.ts +3 -3
- package/src/operations/SecretkeysList.ts +3 -3
- package/src/operations/SecretsList.ts +3 -3
- package/src/operations/SecretsUpdate.ts +3 -3
- package/src/operations/TokensAuthenticate.ts +3 -3
- package/src/operations/TokensAuthorize.ts +3 -3
- package/src/operations/TokensRequestKms.ts +3 -5
- package/src/operations/TokensRequestOIDC.ts +6 -8
- package/src/operations/TokensRequest_Kms.ts +5 -6
- package/src/operations/TokensRequest_OIDC.ts +3 -4
- package/src/operations/VolumeDelete.ts +3 -3
- package/src/operations/VolumesCreate.ts +3 -3
- package/src/operations/VolumesExtend.ts +3 -3
- package/src/operations/VolumesGetById.ts +3 -3
- package/src/operations/VolumesList.ts +3 -3
- package/src/operations/VolumesListSnapshots.ts +7 -9
- package/src/operations/VolumesOrgList.ts +3 -3
- package/src/operations/VolumesUpdate.ts +3 -3
- package/src/operations/createVolumeSnapshot.ts +7 -9
|
@@ -2,17 +2,16 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
// Input Schema
|
|
5
|
-
export const TokensRequest_KmsInput = /*@__PURE__*/
|
|
5
|
+
export const TokensRequest_KmsInput = /*@__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "POST", path: "/tokens/kms" }));
|
|
6
6
|
// Output Schema
|
|
7
|
-
export const TokensRequest_KmsOutput =
|
|
8
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.String;
|
|
7
|
+
export const TokensRequest_KmsOutput = /*@__PURE__*/ Schema.String;
|
|
9
8
|
// The operation
|
|
10
9
|
/**
|
|
11
10
|
* Request a Petsem token for accessing KMS
|
|
12
11
|
*
|
|
13
12
|
* This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete [Machines API docs](https://fly.io/docs/machines/api/apps-resource/) for details about using the Apps resource.
|
|
14
13
|
*/
|
|
15
|
-
export const TokensRequest_Kms = /*@__PURE__*/
|
|
14
|
+
export const TokensRequest_Kms = /*@__PURE__*/ API.make(() => ({
|
|
16
15
|
inputSchema: TokensRequest_KmsInput,
|
|
17
16
|
outputSchema: TokensRequest_KmsOutput,
|
|
18
17
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokensRequest_Kms.js","sourceRoot":"","sources":["../../src/operations/TokensRequest_Kms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"TokensRequest_Kms.js","sourceRoot":"","sources":["../../src/operations/TokensRequest_Kms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CACxE,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,CAChD,CAAC;AAGF,gBAAgB;AAChB,MAAM,CAAC,MAAM,uBAAuB,GAAG,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;AAGnE,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7D,WAAW,EAAE,sBAAsB;IACnC,YAAY,EAAE,uBAAuB;CACtC,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokensRequest_OIDC.d.ts","sourceRoot":"","sources":["../../src/operations/TokensRequest_OIDC.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,uBAAuB;;;EAIuB,CAAC;AAC5D,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"TokensRequest_OIDC.d.ts","sourceRoot":"","sources":["../../src/operations/TokensRequest_OIDC.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,uBAAuB;;;EAIuB,CAAC;AAC5D,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB,eAA8B,CAAC;AACpE,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;iEAG5B,CAAC"}
|
|
@@ -3,20 +3,19 @@ import { API } from "../client.js";
|
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
// Input Schema
|
|
5
5
|
export const TokensRequest_OIDCInput =
|
|
6
|
-
/*@__PURE__*/
|
|
6
|
+
/*@__PURE__*/ Schema.Struct({
|
|
7
7
|
aud: Schema.optional(Schema.String),
|
|
8
8
|
aws_principal_tags: Schema.optional(Schema.Boolean),
|
|
9
9
|
}).pipe(T.Http({ method: "POST", path: "/tokens/oidc" }));
|
|
10
10
|
// Output Schema
|
|
11
|
-
export const TokensRequest_OIDCOutput =
|
|
12
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.String;
|
|
11
|
+
export const TokensRequest_OIDCOutput = /*@__PURE__*/ Schema.String;
|
|
13
12
|
// The operation
|
|
14
13
|
/**
|
|
15
14
|
* Request an OIDC token
|
|
16
15
|
*
|
|
17
16
|
* Request an Open ID Connect token for your machine. Customize the audience claim with the `aud` parameter. This returns a JWT token. Learn more about [using OpenID Connect](/docs/reference/openid-connect/) on Fly.io.
|
|
18
17
|
*/
|
|
19
|
-
export const TokensRequest_OIDC = /*@__PURE__*/
|
|
18
|
+
export const TokensRequest_OIDC = /*@__PURE__*/ API.make(() => ({
|
|
20
19
|
inputSchema: TokensRequest_OIDCInput,
|
|
21
20
|
outputSchema: TokensRequest_OIDCOutput,
|
|
22
21
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokensRequest_OIDC.js","sourceRoot":"","sources":["../../src/operations/TokensRequest_OIDC.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,uBAAuB;AAClC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"TokensRequest_OIDC.js","sourceRoot":"","sources":["../../src/operations/TokensRequest_OIDC.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,uBAAuB;AAClC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1B,GAAG,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACnC,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;CACpD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC;AAG5D,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB,GAAG,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;AAGpE,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC9D,WAAW,EAAE,uBAAuB;IACpC,YAAY,EAAE,wBAAwB;CACvC,CAAC,CAAC,CAAC"}
|
|
@@ -2,11 +2,11 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.js";
|
|
5
|
-
export const VolumeDeleteInput = /*@__PURE__*/
|
|
5
|
+
export const VolumeDeleteInput = /*@__PURE__*/ Schema.Struct({
|
|
6
6
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
7
7
|
volume_id: Schema.String.pipe(T.PathParam()),
|
|
8
8
|
}).pipe(T.Http({ method: "DELETE", path: "/apps/{app_name}/volumes/{volume_id}" }));
|
|
9
|
-
export const VolumeDeleteOutput = /*@__PURE__*/
|
|
9
|
+
export const VolumeDeleteOutput = /*@__PURE__*/ Schema.Struct({
|
|
10
10
|
attached_alloc_id: Schema.optional(Schema.String),
|
|
11
11
|
attached_machine_id: Schema.optional(Schema.String),
|
|
12
12
|
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
@@ -38,7 +38,7 @@ export const VolumeDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
38
38
|
* @param app_name - Fly App Name
|
|
39
39
|
* @param volume_id - Volume ID
|
|
40
40
|
*/
|
|
41
|
-
export const VolumeDelete = /*@__PURE__*/
|
|
41
|
+
export const VolumeDelete = /*@__PURE__*/ API.make(() => ({
|
|
42
42
|
inputSchema: VolumeDeleteInput,
|
|
43
43
|
outputSchema: VolumeDeleteOutput,
|
|
44
44
|
errors: [Forbidden, NotFound],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumeDelete.js","sourceRoot":"","sources":["../../src/operations/VolumeDelete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAOnD,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"VolumeDelete.js","sourceRoot":"","sources":["../../src/operations/VolumeDelete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,M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equest, Forbidden, NotFound } from "../errors.js";
|
|
5
|
-
export const VolumesCreateInput = /*@__PURE__*/
|
|
5
|
+
export const VolumesCreateInput = /*@__PURE__*/ Schema.Struct({
|
|
6
6
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
7
7
|
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
8
8
|
compute: Schema.optional(Schema.Struct({
|
|
@@ -28,7 +28,7 @@ export const VolumesCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
28
28
|
source_volume_id: Schema.optional(Schema.String),
|
|
29
29
|
unique_zone_app_wide: Schema.optional(Schema.Boolean),
|
|
30
30
|
}).pipe(T.Http({ method: "POST", path: "/apps/{app_name}/volumes" }));
|
|
31
|
-
export const VolumesCreateOutput = /*@__PURE__*/
|
|
31
|
+
export const VolumesCreateOutput = /*@__PURE__*/ Schema.Struct({
|
|
32
32
|
attached_alloc_id: Schema.optional(Schema.String),
|
|
33
33
|
attached_machine_id: Schema.optional(Schema.String),
|
|
34
34
|
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
@@ -59,7 +59,7 @@ export const VolumesCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
59
59
|
*
|
|
60
60
|
* @param app_name - Fly App Name
|
|
61
61
|
*/
|
|
62
|
-
export const VolumesCreate = /*@__PURE__*/
|
|
62
|
+
export const VolumesCreate = /*@__PURE__*/ API.make(() => ({
|
|
63
63
|
inputSchema: VolumesCreateInput,
|
|
64
64
|
outputSchema: VolumesCreateOutput,
|
|
65
65
|
errors: [BadRequest, Forbidden, NotFound],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumesCreate.js","sourceRoot":"","sources":["../../src/operations/VolumesCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cA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D,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1D,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACrC,CAAiD,CAAC;AAEnD,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACzD,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,MAAM,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,CAAU;CACnD,CAAC,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.js";
|
|
5
|
-
export const VolumesExtendInput = /*@__PURE__*/
|
|
5
|
+
export const VolumesExtendInput = /*@__PURE__*/ Schema.Struct({
|
|
6
6
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
7
7
|
volume_id: Schema.String.pipe(T.PathParam()),
|
|
8
8
|
size_gb: Schema.optional(Schema.Number),
|
|
@@ -10,7 +10,7 @@ export const VolumesExtendInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10
10
|
method: "PUT",
|
|
11
11
|
path: "/apps/{app_name}/volumes/{volume_id}/extend",
|
|
12
12
|
}));
|
|
13
|
-
export const VolumesExtendOutput = /*@__PURE__*/
|
|
13
|
+
export const VolumesExtendOutput = /*@__PURE__*/ Schema.Struct({
|
|
14
14
|
needs_restart: Schema.optional(Schema.Boolean),
|
|
15
15
|
volume: Schema.optional(Schema.Struct({
|
|
16
16
|
attached_alloc_id: Schema.optional(Schema.String),
|
|
@@ -45,7 +45,7 @@ export const VolumesExtendOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
45
45
|
* @param app_name - Fly App Name
|
|
46
46
|
* @param volume_id - Volume ID
|
|
47
47
|
*/
|
|
48
|
-
export const VolumesExtend = /*@__PURE__*/
|
|
48
|
+
export const VolumesExtend = /*@__PURE__*/ API.make(() => ({
|
|
49
49
|
inputSchema: VolumesExtendInput,
|
|
50
50
|
outputSchema: VolumesExtendOutput,
|
|
51
51
|
errors: [BadRequest, Forbidden, NotFound],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumesExtend.js","sourceRoot":"","sources":["../../src/operations/VolumesExtend.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAQ/D,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"VolumesExtend.js","sourceRoot":"","sources":["../../src/operations/VolumesExtend.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAQ/D,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5D,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC,MAAM,CAA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M,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACtC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAC1B,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC,CAClD;QACD,EAAE,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAClC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACpC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACtC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACvC,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAClD,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACrC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;QAC1D,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACrC,CAAC,CACH;CACF,CAAiD,CAAC;AAEnD,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACzD,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,MAAM,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,CAAU;CACnD,CAAC,CAAC,CAAC"}
|
|
@@ -2,11 +2,11 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.js";
|
|
5
|
-
export const VolumesGetByIdInput = /*@__PURE__*/
|
|
5
|
+
export const VolumesGetByIdInput = /*@__PURE__*/ Schema.Struct({
|
|
6
6
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
7
7
|
volume_id: Schema.String.pipe(T.PathParam()),
|
|
8
8
|
}).pipe(T.Http({ method: "GET", path: "/apps/{app_name}/volumes/{volume_id}" }));
|
|
9
|
-
export const VolumesGetByIdOutput = /*@__PURE__*/
|
|
9
|
+
export const VolumesGetByIdOutput = /*@__PURE__*/ Schema.Struct({
|
|
10
10
|
attached_alloc_id: Schema.optional(Schema.String),
|
|
11
11
|
attached_machine_id: Schema.optional(Schema.String),
|
|
12
12
|
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
@@ -38,7 +38,7 @@ export const VolumesGetByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
38
38
|
* @param app_name - Fly App Name
|
|
39
39
|
* @param volume_id - Volume ID
|
|
40
40
|
*/
|
|
41
|
-
export const VolumesGetById = /*@__PURE__*/
|
|
41
|
+
export const VolumesGetById = /*@__PURE__*/ API.make(() => ({
|
|
42
42
|
inputSchema: VolumesGetByIdInput,
|
|
43
43
|
outputSchema: VolumesGetByIdOutput,
|
|
44
44
|
errors: [Forbidden, NotFound],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumesGetById.js","sourceRoot":"","sources":["../../src/operations/VolumesGetById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAOnD,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"VolumesGetById.js","sourceRoot":"","sources":["../../src/operations/VolumesGetById.ts"],"names":[],"mappings":"AAAA,OAAO,KAA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 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.js";
|
|
5
|
-
export const VolumesListInput = /*@__PURE__*/
|
|
5
|
+
export const VolumesListInput = /*@__PURE__*/ Schema.Struct({
|
|
6
6
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
7
7
|
summary: Schema.optional(Schema.Boolean),
|
|
8
8
|
}).pipe(T.Http({ method: "GET", path: "/apps/{app_name}/volumes" }));
|
|
9
|
-
export const VolumesListOutput = /*@__PURE__*/
|
|
9
|
+
export const VolumesListOutput = /*@__PURE__*/ Schema.Array(Schema.Struct({
|
|
10
10
|
attached_alloc_id: Schema.optional(Schema.String),
|
|
11
11
|
attached_machine_id: Schema.optional(Schema.String),
|
|
12
12
|
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
@@ -38,7 +38,7 @@ export const VolumesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(Schema
|
|
|
38
38
|
* @param app_name - Fly App Name
|
|
39
39
|
* @param summary - Only return summary info about volumes (omit blocks, block size, etc)
|
|
40
40
|
*/
|
|
41
|
-
export const VolumesList = /*@__PURE__*/
|
|
41
|
+
export const VolumesList = /*@__PURE__*/ API.make(() => ({
|
|
42
42
|
inputSchema: VolumesListInput,
|
|
43
43
|
outputSchema: VolumesListOutput,
|
|
44
44
|
errors: [Forbidden, NotFound],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumesList.js","sourceRoot":"","sources":["../../src/operations/VolumesList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAOnD,MAAM,CAAC,MAAM,gBAAg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BAAgB;IAC7B,YAAY,EAAE,iBAAiB;IAC/B,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumesListSnapshots.d.ts","sourceRoot":"","sources":["../../src/operations/VolumesListSnapshots.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,eAAO,MAAM,yBAAyB,EASpB,MAAM,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAG1D,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,EAAE,CAAC;AACJ,eAAO,MAAM,0BAA0B,EAWrB,MAAM,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;AAG3D;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"VolumesListSnapshots.d.ts","sourceRoot":"","sources":["../../src/operations/VolumesListSnapshots.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,eAAO,MAAM,yBAAyB,EASpB,MAAM,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAG1D,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,EAAE,CAAC;AACJ,eAAO,MAAM,0BAA0B,EAWrB,MAAM,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;AAG3D;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,qLAI9B,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { API } from "../client.js";
|
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.js";
|
|
5
5
|
export const VolumesListSnapshotsInput =
|
|
6
|
-
/*@__PURE__*/
|
|
6
|
+
/*@__PURE__*/ Schema.Struct({
|
|
7
7
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
8
|
volume_id: Schema.String.pipe(T.PathParam()),
|
|
9
9
|
}).pipe(T.Http({
|
|
@@ -11,7 +11,7 @@ export const VolumesListSnapshotsInput =
|
|
|
11
11
|
path: "/apps/{app_name}/volumes/{volume_id}/snapshots",
|
|
12
12
|
}));
|
|
13
13
|
export const VolumesListSnapshotsOutput =
|
|
14
|
-
/*@__PURE__*/
|
|
14
|
+
/*@__PURE__*/ Schema.Array(Schema.Struct({
|
|
15
15
|
created_at: Schema.optional(Schema.String),
|
|
16
16
|
digest: Schema.optional(Schema.String),
|
|
17
17
|
id: Schema.optional(Schema.String),
|
|
@@ -29,7 +29,7 @@ export const VolumesListSnapshotsOutput =
|
|
|
29
29
|
* @param app_name - Fly App Name
|
|
30
30
|
* @param volume_id - Volume ID
|
|
31
31
|
*/
|
|
32
|
-
export const VolumesListSnapshots = /*@__PURE__*/
|
|
32
|
+
export const VolumesListSnapshots = /*@__PURE__*/ API.make(() => ({
|
|
33
33
|
inputSchema: VolumesListSnapshotsInput,
|
|
34
34
|
outputSchema: VolumesListSnapshotsOutput,
|
|
35
35
|
errors: [Forbidden, NotFound],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumesListSnapshots.js","sourceRoot":"","sources":["../../src/operations/VolumesListSnapshots.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAOnD,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"VolumesListSnapshots.js","sourceRoot":"","sources":["../../src/operations/VolumesListSnapshots.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAOnD,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,gDAAgD;CACvD,CAAC,CACmD,CAAC;AAY1D,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,MAAM,CAAC,KAAK,CACxB,MAAM,CAAC,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,EAAE,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAClC,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC5C,CAAC,CACoD,CAAC;AAE3D,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChE,WAAW,EAAE,yBAAyB;IACtC,YAAY,EAAE,0BAA0B;IACxC,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
|
-
export const VolumesOrgListInput = /*@__PURE__*/
|
|
4
|
+
export const VolumesOrgListInput = /*@__PURE__*/ Schema.Struct({
|
|
5
5
|
org_slug: Schema.String.pipe(T.PathParam()),
|
|
6
6
|
include_deleted: Schema.optional(Schema.Boolean),
|
|
7
7
|
region: Schema.optional(Schema.String),
|
|
@@ -11,7 +11,7 @@ export const VolumesOrgListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11
11
|
cursor: Schema.optional(Schema.String),
|
|
12
12
|
limit: Schema.optional(Schema.Number),
|
|
13
13
|
}).pipe(T.Http({ method: "GET", path: "/orgs/{org_slug}/volumes" }));
|
|
14
|
-
export const VolumesOrgListOutput = /*@__PURE__*/
|
|
14
|
+
export const VolumesOrgListOutput = /*@__PURE__*/ Schema.Struct({
|
|
15
15
|
last_updated_at: Schema.optional(Schema.String),
|
|
16
16
|
last_volume_id: Schema.optional(Schema.String),
|
|
17
17
|
next_cursor: Schema.optional(Schema.String),
|
|
@@ -56,7 +56,7 @@ export const VolumesOrgListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
56
56
|
* @param cursor - Pagination cursor from previous response (takes precedence over updated_after)
|
|
57
57
|
* @param limit - The number of volumes to fetch (max of 1000). This limit is advisory. Responses may be shorter, even when more volumes remain. If omitted, the maximum is used
|
|
58
58
|
*/
|
|
59
|
-
export const VolumesOrgList = /*@__PURE__*/
|
|
59
|
+
export const VolumesOrgList = /*@__PURE__*/ API.make(() => ({
|
|
60
60
|
inputSchema: VolumesOrgListInput,
|
|
61
61
|
outputSchema: VolumesOrgListOutput,
|
|
62
62
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumesOrgList.js","sourceRoot":"","sources":["../../src/operations/VolumesOrgList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAalC,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"VolumesOrgList.js","sourceRoot":"","sources":["../../src/operations/VolumesOrgList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,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AAC,MAAM,CAAC,MAAM,CAAC;QACvC,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAClD,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACrC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;QAC1D,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC1C,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACrC,CAAC,CACH,CACF;CACF,CAAkD,CAAC;AAEpD,gBAAgB;AAChB;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1D,WAAW,EAAE,mBAAmB;IAChC,YAAY,EAAE,oBAAoB;CACnC,CAAC,CAAC,CAAC"}
|
|
@@ -2,13 +2,13 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.js";
|
|
5
|
-
export const VolumesUpdateInput = /*@__PURE__*/
|
|
5
|
+
export const VolumesUpdateInput = /*@__PURE__*/ Schema.Struct({
|
|
6
6
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
7
7
|
volume_id: Schema.String.pipe(T.PathParam()),
|
|
8
8
|
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
9
9
|
snapshot_retention: Schema.optional(Schema.Number),
|
|
10
10
|
}).pipe(T.Http({ method: "PUT", path: "/apps/{app_name}/volumes/{volume_id}" }));
|
|
11
|
-
export const VolumesUpdateOutput = /*@__PURE__*/
|
|
11
|
+
export const VolumesUpdateOutput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
attached_alloc_id: Schema.optional(Schema.String),
|
|
13
13
|
attached_machine_id: Schema.optional(Schema.String),
|
|
14
14
|
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
@@ -40,7 +40,7 @@ export const VolumesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
40
40
|
* @param app_name - Fly App Name
|
|
41
41
|
* @param volume_id - Volume ID
|
|
42
42
|
*/
|
|
43
|
-
export const VolumesUpdate = /*@__PURE__*/
|
|
43
|
+
export const VolumesUpdate = /*@__PURE__*/ API.make(() => ({
|
|
44
44
|
inputSchema: VolumesUpdateInput,
|
|
45
45
|
outputSchema: VolumesUpdateOutput,
|
|
46
46
|
errors: [BadRequest, Forbidden, NotFound],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumesUpdate.js","sourceRoot":"","sources":["../../src/operations/VolumesUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAS/D,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"VolumesUpdate.js","sourceRoot":"","sources":["../../src/operations/VolumesUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAS/D,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5D,QAAQ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AK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG/D,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,eAAO,MAAM,yBAAyB,EASpB,MAAM,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAG1D,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC;AAC9C,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"createVolumeSnapshot.d.ts","sourceRoot":"","sources":["../../src/operations/createVolumeSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG/D,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,eAAO,MAAM,yBAAyB,EASpB,MAAM,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAG1D,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC;AAC9C,eAAO,MAAM,0BAA0B,EACG,MAAM,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;AAGnF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,4KAI9B,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { API } from "../client.js";
|
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.js";
|
|
5
5
|
export const CreateVolumeSnapshotInput =
|
|
6
|
-
/*@__PURE__*/
|
|
6
|
+
/*@__PURE__*/ Schema.Struct({
|
|
7
7
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
8
|
volume_id: Schema.String.pipe(T.PathParam()),
|
|
9
9
|
}).pipe(T.Http({
|
|
@@ -11,7 +11,7 @@ export const CreateVolumeSnapshotInput =
|
|
|
11
11
|
path: "/apps/{app_name}/volumes/{volume_id}/snapshots",
|
|
12
12
|
}));
|
|
13
13
|
export const CreateVolumeSnapshotOutput =
|
|
14
|
-
/*@__PURE__*/
|
|
14
|
+
/*@__PURE__*/ Schema.Void;
|
|
15
15
|
// The operation
|
|
16
16
|
/**
|
|
17
17
|
* Create Snapshot
|
|
@@ -21,7 +21,7 @@ export const CreateVolumeSnapshotOutput =
|
|
|
21
21
|
* @param app_name - Fly App Name
|
|
22
22
|
* @param volume_id - Volume ID
|
|
23
23
|
*/
|
|
24
|
-
export const createVolumeSnapshot = /*@__PURE__*/
|
|
24
|
+
export const createVolumeSnapshot = /*@__PURE__*/ API.make(() => ({
|
|
25
25
|
inputSchema: CreateVolumeSnapshotInput,
|
|
26
26
|
outputSchema: CreateVolumeSnapshotOutput,
|
|
27
27
|
errors: [BadRequest, Forbidden, NotFound],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createVolumeSnapshot.js","sourceRoot":"","sources":["../../src/operations/createVolumeSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAO/D,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"createVolumeSnapshot.js","sourceRoot":"","sources":["../../src/operations/createVolumeSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAO/D,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,gDAAgD;CACvD,CAAC,CACmD,CAAC;AAI1D,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,MAAM,CAAC,IAA2D,CAAC;AAEnF,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChE,WAAW,EAAE,yBAAyB;IACtC,YAAY,EAAE,0BAA0B;IACxC,MAAM,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,CAAU;CACnD,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/fly-io",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/alchemy-run/distilled",
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
|
-
"typecheck": "
|
|
66
|
-
"build": "
|
|
65
|
+
"typecheck": "tsc",
|
|
66
|
+
"build": "tsc -b",
|
|
67
67
|
"fmt": "oxfmt --write src",
|
|
68
68
|
"lint": "oxlint --fix src",
|
|
69
|
-
"check": "
|
|
69
|
+
"check": "tsc && oxlint src && oxfmt --check src",
|
|
70
70
|
"nuke": "bun scripts/nuke.ts",
|
|
71
71
|
"test": "bunx vitest run test --exclude specs --passWithNoTests",
|
|
72
72
|
"publish:npm": "bun run build && bun publish --access public",
|
|
@@ -75,15 +75,16 @@
|
|
|
75
75
|
"specs:update": "git -C specs/distilled-spec-fly-io fetch && git -C specs/distilled-spec-fly-io checkout main && git -C specs/distilled-spec-fly-io pull"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@distilled.cloud/core": "0.
|
|
78
|
+
"@distilled.cloud/core": "0.29.1"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@types/bun": "^1.3.0",
|
|
82
82
|
"@types/node": "^25.3.5",
|
|
83
83
|
"dotenv": "^16.5.0",
|
|
84
|
+
"rolldown": "^1.2.0",
|
|
84
85
|
"vitest": "^3.2.3"
|
|
85
86
|
},
|
|
86
87
|
"peerDependencies": {
|
|
87
|
-
"effect": ">=4.0.0-beta.
|
|
88
|
+
"effect": ">=4.0.0-beta.97 || >=4.0.0"
|
|
88
89
|
}
|
|
89
90
|
}
|
|
@@ -14,7 +14,7 @@ export interface AppCertificatesAcmeCreateInput {
|
|
|
14
14
|
hostname?: string;
|
|
15
15
|
}
|
|
16
16
|
export const AppCertificatesAcmeCreateInput =
|
|
17
|
-
/*@__PURE__*/
|
|
17
|
+
/*@__PURE__*/ Schema.Struct({
|
|
18
18
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
19
19
|
hostname: Schema.optional(Schema.String),
|
|
20
20
|
}).pipe(
|
|
@@ -62,7 +62,7 @@ export interface AppCertificatesAcmeCreateOutput {
|
|
|
62
62
|
}[];
|
|
63
63
|
}
|
|
64
64
|
export const AppCertificatesAcmeCreateOutput =
|
|
65
|
-
/*@__PURE__*/
|
|
65
|
+
/*@__PURE__*/ Schema.Struct({
|
|
66
66
|
acme_requested: Schema.optional(Schema.Boolean),
|
|
67
67
|
certificates: Schema.optional(
|
|
68
68
|
Schema.Array(
|
|
@@ -141,10 +141,8 @@ export const AppCertificatesAcmeCreateOutput =
|
|
|
141
141
|
*
|
|
142
142
|
* @param app_name - Fly App Name
|
|
143
143
|
*/
|
|
144
|
-
export const AppCertificatesAcmeCreate = /*@__PURE__*/
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}),
|
|
150
|
-
);
|
|
144
|
+
export const AppCertificatesAcmeCreate = /*@__PURE__*/ API.make(() => ({
|
|
145
|
+
inputSchema: AppCertificatesAcmeCreateInput,
|
|
146
|
+
outputSchema: AppCertificatesAcmeCreateOutput,
|
|
147
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity] as const,
|
|
148
|
+
}));
|
|
@@ -9,7 +9,7 @@ export interface AppCertificatesAcmeDeleteInput {
|
|
|
9
9
|
hostname: string;
|
|
10
10
|
}
|
|
11
11
|
export const AppCertificatesAcmeDeleteInput =
|
|
12
|
-
/*@__PURE__*/
|
|
12
|
+
/*@__PURE__*/ Schema.Struct({
|
|
13
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
hostname: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
}).pipe(
|
|
@@ -60,7 +60,7 @@ export interface AppCertificatesAcmeDeleteOutput {
|
|
|
60
60
|
}[];
|
|
61
61
|
}
|
|
62
62
|
export const AppCertificatesAcmeDeleteOutput =
|
|
63
|
-
/*@__PURE__*/
|
|
63
|
+
/*@__PURE__*/ Schema.Struct({
|
|
64
64
|
acme_requested: Schema.optional(Schema.Boolean),
|
|
65
65
|
certificates: Schema.optional(
|
|
66
66
|
Schema.Array(
|
|
@@ -140,10 +140,8 @@ export const AppCertificatesAcmeDeleteOutput =
|
|
|
140
140
|
* @param app_name - Fly App Name
|
|
141
141
|
* @param hostname - Certificate Hostname
|
|
142
142
|
*/
|
|
143
|
-
export const AppCertificatesAcmeDelete = /*@__PURE__*/
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}),
|
|
149
|
-
);
|
|
143
|
+
export const AppCertificatesAcmeDelete = /*@__PURE__*/ API.make(() => ({
|
|
144
|
+
inputSchema: AppCertificatesAcmeDeleteInput,
|
|
145
|
+
outputSchema: AppCertificatesAcmeDeleteOutput,
|
|
146
|
+
errors: [Forbidden, NotFound] as const,
|
|
147
|
+
}));
|
|
@@ -9,7 +9,7 @@ export interface AppCertificatesCheckInput {
|
|
|
9
9
|
hostname: string;
|
|
10
10
|
}
|
|
11
11
|
export const AppCertificatesCheckInput =
|
|
12
|
-
/*@__PURE__*/
|
|
12
|
+
/*@__PURE__*/ Schema.Struct({
|
|
13
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
hostname: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
}).pipe(
|
|
@@ -69,7 +69,7 @@ export interface AppCertificatesCheckOutput {
|
|
|
69
69
|
}[];
|
|
70
70
|
}
|
|
71
71
|
export const AppCertificatesCheckOutput =
|
|
72
|
-
/*@__PURE__*/
|
|
72
|
+
/*@__PURE__*/ Schema.Struct({
|
|
73
73
|
acme_requested: Schema.optional(Schema.Boolean),
|
|
74
74
|
certificates: Schema.optional(
|
|
75
75
|
Schema.Array(
|
|
@@ -160,10 +160,8 @@ export const AppCertificatesCheckOutput =
|
|
|
160
160
|
* @param app_name - Fly App Name
|
|
161
161
|
* @param hostname - Certificate Hostname
|
|
162
162
|
*/
|
|
163
|
-
export const AppCertificatesCheck = /*@__PURE__*/
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
}),
|
|
169
|
-
);
|
|
163
|
+
export const AppCertificatesCheck = /*@__PURE__*/ API.make(() => ({
|
|
164
|
+
inputSchema: AppCertificatesCheckInput,
|
|
165
|
+
outputSchema: AppCertificatesCheckOutput,
|
|
166
|
+
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
167
|
+
}));
|