@leaflow/sdk 0.0.0-dev.407.g035f1ea → 0.0.0-dev.413.g2284e60
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/dist/compute/v2/generated/functions.d.ts +2819 -0
- package/dist/compute/v2/generated/functions.js +3040 -0
- package/dist/compute/v2/generated/models.d.ts +3550 -0
- package/dist/compute/v2/generated/models.js +438 -0
- package/dist/compute/v2/generated/schemas.zod.d.ts +2088 -0
- package/dist/compute/v2/generated/schemas.zod.js +2532 -0
- package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.js +40 -0
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/availabilityZoneID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/availabilityZoneID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +47 -0
- package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/billingCancellation.zod.js +46 -0
- package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +54 -0
- package/dist/compute/v2/generated/validators/billingChoice.zod.js +46 -0
- package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +64 -0
- package/dist/compute/v2/generated/validators/billingComponent.zod.js +49 -0
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +38 -0
- package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/billingMeter.zod.js +46 -0
- package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/billingPeriod.zod.js +40 -0
- package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +49 -0
- package/dist/compute/v2/generated/validators/billingQuantity.zod.js +42 -0
- package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +72 -0
- package/dist/compute/v2/generated/validators/bootVolume.zod.js +40 -0
- package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/cancellationMode.zod.js +38 -0
- package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/checkoutMode.zod.js +38 -0
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +53 -0
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +40 -0
- package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.d.ts +72 -0
- package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.js +53 -0
- package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.d.ts +138 -0
- package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +196 -0
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +81 -0
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +160 -0
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +57 -0
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +79 -0
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +87 -0
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +53 -0
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +120 -0
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +52 -0
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +62 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +47 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +51 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +112 -0
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +70 -0
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +54 -0
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +149 -0
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +111 -0
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/cursorPagination.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.d.ts +144 -0
- package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +164 -0
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +126 -0
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +118 -0
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +155 -0
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +117 -0
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/elasticIP.zod.d.ts +134 -0
- package/dist/compute/v2/generated/validators/elasticIP.zod.js +115 -0
- package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.js +50 -0
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/elasticIPID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIPID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/elasticIPLine.zod.d.ts +113 -0
- package/dist/compute/v2/generated/validators/elasticIPLine.zod.js +68 -0
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.d.ts +117 -0
- package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.d.ts +141 -0
- package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/elasticIPOperation.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/elasticIPOperation.zod.js +50 -0
- package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/error.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/error.zod.js +44 -0
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +46 -0
- package/dist/compute/v2/generated/validators/existingElasticIP.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/existingElasticIP.zod.js +40 -0
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +40 -0
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +39 -0
- package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/generatedPassword.zod.js +38 -0
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +45 -0
- package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.js +43 -0
- package/dist/compute/v2/generated/validators/imageID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/imageID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instance.zod.d.ts +157 -0
- package/dist/compute/v2/generated/validators/instance.zod.js +149 -0
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +41 -0
- package/dist/compute/v2/generated/validators/instanceElasticIP.zod.d.ts +70 -0
- package/dist/compute/v2/generated/validators/instanceElasticIP.zod.js +40 -0
- package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +57 -0
- package/dist/compute/v2/generated/validators/instanceFamily.zod.js +54 -0
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +38 -0
- package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceFamilyID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +64 -0
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +161 -0
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceOperation.zod.d.ts +61 -0
- package/dist/compute/v2/generated/validators/instanceOperation.zod.js +63 -0
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +49 -0
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +60 -0
- package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +80 -0
- package/dist/compute/v2/generated/validators/instanceType.zod.js +58 -0
- package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceTypeID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +87 -0
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceVolumeID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/internetChargeType.zod.js +38 -0
- package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/launchTemplate.zod.js +47 -0
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +48 -0
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +46 -0
- package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.js +45 -0
- package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/launchTemplateID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +54 -0
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +47 -0
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +46 -0
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +75 -0
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +57 -0
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +82 -0
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +55 -0
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +52 -0
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +55 -0
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +47 -0
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +57 -0
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +57 -0
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +47 -0
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +47 -0
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +55 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +55 -0
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/money.zod.d.ts +38 -0
- package/dist/compute/v2/generated/validators/money.zod.js +38 -0
- package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +100 -0
- package/dist/compute/v2/generated/validators/networkInterface.zod.js +62 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +54 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +49 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +58 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +51 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +65 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +107 -0
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.js +52 -0
- package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +67 -0
- package/dist/compute/v2/generated/validators/newBootVolume.zod.js +52 -0
- package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +57 -0
- package/dist/compute/v2/generated/validators/newCompute.zod.js +43 -0
- package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +63 -0
- package/dist/compute/v2/generated/validators/newDataVolume.zod.js +52 -0
- package/dist/compute/v2/generated/validators/newElasticIP.zod.d.ts +66 -0
- package/dist/compute/v2/generated/validators/newElasticIP.zod.js +52 -0
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +76 -0
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +62 -0
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +47 -0
- package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/offsetPagination.zod.js +43 -0
- package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/operationLogID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +65 -0
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +58 -0
- package/dist/compute/v2/generated/validators/operationLogResource.zod.js +68 -0
- package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/passwordChoice.zod.js +40 -0
- package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/performanceFormula.zod.js +43 -0
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +49 -0
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +40 -0
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +123 -0
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/privateImageOperation.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/privateImageOperation.zod.js +43 -0
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +117 -0
- package/dist/compute/v2/generated/validators/privateImageResource.zod.js +110 -0
- package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +63 -0
- package/dist/compute/v2/generated/validators/projectQuota.zod.js +48 -0
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +69 -0
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +61 -0
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +55 -0
- package/dist/compute/v2/generated/validators/publicImageResource.zod.js +65 -0
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +53 -0
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +53 -0
- package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/quotaSource.zod.js +38 -0
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +157 -0
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/regionID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/regionID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +131 -0
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +124 -0
- package/dist/compute/v2/generated/validators/regionResource.zod.js +52 -0
- package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +75 -0
- package/dist/compute/v2/generated/validators/releaseResource.zod.js +51 -0
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +78 -0
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +42 -0
- package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.js +44 -0
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +157 -0
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +40 -0
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +50 -0
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/securityGroup.zod.js +48 -0
- package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/securityGroupID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +39 -0
- package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.js +40 -0
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +53 -0
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +52 -0
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +56 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +36 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +59 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/subnetID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +45 -0
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +38 -0
- package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/trafficUsage.zod.js +44 -0
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +49 -0
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.d.ts +53 -0
- package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.d.ts +138 -0
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +55 -0
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +60 -0
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.d.ts +158 -0
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +52 -0
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +54 -0
- package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.d.ts +149 -0
- package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +60 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +56 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +39 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.js +40 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +67 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudOperation.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudOperation.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +73 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.js +43 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +66 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +62 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +57 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +54 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +38 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +54 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +55 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +63 -0
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +56 -0
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +70 -0
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumeBackupID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +115 -0
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeBackupOperation.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/volumeBackupOperation.zod.js +43 -0
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +108 -0
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +90 -0
- package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumeID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +152 -0
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeOperation.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/volumeOperation.zod.js +53 -0
- package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumePerformance.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +145 -0
- package/dist/compute/v2/generated/validators/volumeResource.zod.js +93 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +114 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotOperation.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotOperation.zod.js +43 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +107 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +87 -0
- package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumeTypeID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +103 -0
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +42 -0
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +96 -0
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +55 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/routes.d.ts +490 -236
- package/dist/routes.js +520 -236
- package/dist/swas-legacy/v1/generated/functions.d.ts +652 -0
- package/dist/swas-legacy/v1/generated/functions.js +438 -0
- package/dist/swas-legacy/v1/generated/models.d.ts +0 -0
- package/dist/swas-legacy/v1/generated/models.js +98 -0
- package/dist/swas-legacy/v1/generated/schemas.zod.d.ts +257 -0
- package/dist/swas-legacy/v1/generated/schemas.zod.js +288 -0
- package/dist/swas-legacy/v1/generated/validators/capabilities.zod.d.ts +16 -0
- package/dist/swas-legacy/v1/generated/validators/capabilities.zod.js +14 -0
- package/dist/swas-legacy/v1/generated/validators/console.zod.d.ts +16 -0
- package/dist/swas-legacy/v1/generated/validators/console.zod.js +16 -0
- package/dist/swas-legacy/v1/generated/validators/createInstanceConsoleHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/createInstanceConsoleHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/createInstanceFirewallRuleHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/createInstanceFirewallRuleHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/decimal.zod.d.ts +12 -0
- package/dist/swas-legacy/v1/generated/validators/decimal.zod.js +10 -0
- package/dist/swas-legacy/v1/generated/validators/deleteInstanceFirewallRuleHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/deleteInstanceFirewallRuleHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/error.zod.d.ts +21 -0
- package/dist/swas-legacy/v1/generated/validators/error.zod.js +19 -0
- package/dist/swas-legacy/v1/generated/validators/firewallRule.zod.d.ts +24 -0
- package/dist/swas-legacy/v1/generated/validators/firewallRule.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/firewallRuleList.zod.d.ts +29 -0
- package/dist/swas-legacy/v1/generated/validators/firewallRuleList.zod.js +14 -0
- package/dist/swas-legacy/v1/generated/validators/firewallWriteRequest.zod.d.ts +28 -0
- package/dist/swas-legacy/v1/generated/validators/firewallWriteRequest.zod.js +0 -0
- package/dist/swas-legacy/v1/generated/validators/generationRequest.zod.d.ts +13 -0
- package/dist/swas-legacy/v1/generated/validators/generationRequest.zod.js +11 -0
- package/dist/swas-legacy/v1/generated/validators/image.zod.d.ts +20 -0
- package/dist/swas-legacy/v1/generated/validators/image.zod.js +18 -0
- package/dist/swas-legacy/v1/generated/validators/imageList.zod.d.ts +24 -0
- package/dist/swas-legacy/v1/generated/validators/imageList.zod.js +14 -0
- package/dist/swas-legacy/v1/generated/validators/instance.zod.d.ts +82 -0
- package/dist/swas-legacy/v1/generated/validators/instance.zod.js +33 -0
- package/dist/swas-legacy/v1/generated/validators/instanceList.zod.d.ts +88 -0
- package/dist/swas-legacy/v1/generated/validators/instanceList.zod.js +14 -0
- package/dist/swas-legacy/v1/generated/validators/lastOperation.zod.d.ts +33 -0
- package/dist/swas-legacy/v1/generated/validators/lastOperation.zod.js +31 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceFirewallRulesParams.zod.d.ts +18 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceFirewallRulesParams.zod.js +24 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceMetricsParams.zod.d.ts +19 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceMetricsParams.zod.js +12 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceOperationsParams.zod.d.ts +18 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceOperationsParams.zod.js +24 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceReinstallImagesParams.zod.d.ts +18 -0
- package/dist/swas-legacy/v1/generated/validators/listInstanceReinstallImagesParams.zod.js +24 -0
- package/dist/swas-legacy/v1/generated/validators/listInstancesParams.zod.d.ts +18 -0
- package/dist/swas-legacy/v1/generated/validators/listInstancesParams.zod.js +20 -0
- package/dist/swas-legacy/v1/generated/validators/metricPoint.zod.d.ts +14 -0
- package/dist/swas-legacy/v1/generated/validators/metricPoint.zod.js +13 -0
- package/dist/swas-legacy/v1/generated/validators/metricSeries.zod.d.ts +30 -0
- package/dist/swas-legacy/v1/generated/validators/metricSeries.zod.js +23 -0
- package/dist/swas-legacy/v1/generated/validators/metrics.zod.d.ts +41 -0
- package/dist/swas-legacy/v1/generated/validators/metrics.zod.js +19 -0
- package/dist/swas-legacy/v1/generated/validators/operation.zod.d.ts +35 -0
- package/dist/swas-legacy/v1/generated/validators/operation.zod.js +33 -0
- package/dist/swas-legacy/v1/generated/validators/operationLogList.zod.d.ts +39 -0
- package/dist/swas-legacy/v1/generated/validators/operationLogList.zod.js +16 -0
- package/dist/swas-legacy/v1/generated/validators/pagination.zod.d.ts +18 -0
- package/dist/swas-legacy/v1/generated/validators/pagination.zod.js +18 -0
- package/dist/swas-legacy/v1/generated/validators/passwordRequest.zod.d.ts +17 -0
- package/dist/swas-legacy/v1/generated/validators/passwordRequest.zod.js +0 -0
- package/dist/swas-legacy/v1/generated/validators/rebootInstanceHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/rebootInstanceHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/reinstallInstanceHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/reinstallInstanceHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/reinstallRequest.zod.d.ts +17 -0
- package/dist/swas-legacy/v1/generated/validators/reinstallRequest.zod.js +19 -0
- package/dist/swas-legacy/v1/generated/validators/setInstancePasswordHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/setInstancePasswordHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/startInstanceHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/startInstanceHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/stopInstanceHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/stopInstanceHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/traffic.zod.d.ts +22 -0
- package/dist/swas-legacy/v1/generated/validators/traffic.zod.js +20 -0
- package/dist/swas-legacy/v1/generated/validators/updateInstanceFirewallRuleHeaders.zod.d.ts +15 -0
- package/dist/swas-legacy/v1/generated/validators/updateInstanceFirewallRuleHeaders.zod.js +17 -0
- package/dist/swas-legacy/v1/index.d.ts +3 -0
- package/dist/swas-legacy/v1/index.js +3 -0
- package/package.json +1 -1
- package/dist/compute/v1/generated/functions.d.ts +0 -2481
- package/dist/compute/v1/generated/functions.js +0 -2736
- package/dist/compute/v1/generated/models.d.ts +0 -2813
- package/dist/compute/v1/generated/models.js +0 -363
- package/dist/compute/v1/generated/schemas.zod.d.ts +0 -1501
- package/dist/compute/v1/generated/schemas.zod.js +0 -1390
- package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.d.ts +0 -59
- package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.js +0 -44
- package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +0 -99
- package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.js +0 -27
- package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.js +0 -27
- package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.js +0 -27
- package/dist/compute/v1/generated/validators/backupCapacityPack.zod.d.ts +0 -44
- package/dist/compute/v1/generated/validators/backupCapacityPack.zod.js +0 -58
- package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.d.ts +0 -51
- package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/backupListResponseBody.zod.d.ts +0 -61
- package/dist/compute/v1/generated/validators/backupListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/backupOperation.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/backupOperation.zod.js +0 -32
- package/dist/compute/v1/generated/validators/backupResource.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/backupResource.zod.js +0 -53
- package/dist/compute/v1/generated/validators/backupService.zod.d.ts +0 -46
- package/dist/compute/v1/generated/validators/backupService.zod.js +0 -68
- package/dist/compute/v1/generated/validators/billingChoice.zod.d.ts +0 -43
- package/dist/compute/v1/generated/validators/billingChoice.zod.js +0 -35
- package/dist/compute/v1/generated/validators/billingComponent.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/billingComponent.zod.js +0 -43
- package/dist/compute/v1/generated/validators/billingMeter.zod.d.ts +0 -36
- package/dist/compute/v1/generated/validators/billingMeter.zod.js +0 -34
- package/dist/compute/v1/generated/validators/billingPeriod.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/billingPeriod.zod.js +0 -29
- package/dist/compute/v1/generated/validators/billingQuantity.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/billingQuantity.zod.js +0 -27
- package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.js +0 -27
- package/dist/compute/v1/generated/validators/bootDisk.zod.d.ts +0 -58
- package/dist/compute/v1/generated/validators/bootDisk.zod.js +0 -29
- package/dist/compute/v1/generated/validators/cancellationMode.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/cancellationMode.zod.js +0 -27
- package/dist/compute/v1/generated/validators/checkoutMode.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/checkoutMode.zod.js +0 -27
- package/dist/compute/v1/generated/validators/checkoutOptions.zod.d.ts +0 -37
- package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +0 -42
- package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.js +0 -38
- package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.js +0 -29
- package/dist/compute/v1/generated/validators/consoleResponseBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/consoleResponseBody.zod.js +0 -29
- package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.js +0 -31
- package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +0 -48
- package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.js +0 -35
- package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.js +0 -29
- package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.d.ts +0 -36
- package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +0 -48
- package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.js +0 -35
- package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.d.ts +0 -59
- package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.js +0 -42
- package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +0 -109
- package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/createImageRequestBody.zod.d.ts +0 -56
- package/dist/compute/v1/generated/validators/createImageRequestBody.zod.js +0 -35
- package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +0 -94
- package/dist/compute/v1/generated/validators/createImageResponseBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.js +0 -31
- package/dist/compute/v1/generated/validators/createPortRequestBody.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/createPortRequestBody.zod.js +0 -40
- package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.js +0 -35
- package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.js +0 -40
- package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.js +0 -31
- package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.d.ts +0 -44
- package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.js +0 -50
- package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.js +0 -31
- package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.js +0 -34
- package/dist/compute/v1/generated/validators/cursorPagination.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/cursorPagination.zod.js +0 -30
- package/dist/compute/v1/generated/validators/deleteBackupCapacityPackParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/deleteBackupCapacityPackParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/deleteBackupServiceParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/deleteBackupServiceParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/deleteDiskParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/deleteDiskParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/deleteDiskResponseBody.zod.d.ts +0 -121
- package/dist/compute/v1/generated/validators/deleteDiskResponseBody.zod.js +0 -32
- package/dist/compute/v1/generated/validators/deleteImageParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/deleteImageParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/deleteImageResponseBody.zod.d.ts +0 -106
- package/dist/compute/v1/generated/validators/deleteImageResponseBody.zod.js +0 -32
- package/dist/compute/v1/generated/validators/deleteInstanceParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/deleteInstanceParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.d.ts +0 -135
- package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.js +0 -32
- package/dist/compute/v1/generated/validators/deleteSnapshotQuotaParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/deleteSnapshotQuotaParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/diskAttachment.zod.d.ts +0 -46
- package/dist/compute/v1/generated/validators/diskAttachment.zod.js +0 -36
- package/dist/compute/v1/generated/validators/diskAttachmentList.zod.d.ts +0 -53
- package/dist/compute/v1/generated/validators/diskAttachmentList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/diskListResponseBody.zod.d.ts +0 -112
- package/dist/compute/v1/generated/validators/diskListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/diskOperation.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/diskOperation.zod.js +0 -32
- package/dist/compute/v1/generated/validators/diskResource.zod.d.ts +0 -105
- package/dist/compute/v1/generated/validators/diskResource.zod.js +0 -100
- package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.d.ts +0 -83
- package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/diskTypePurpose.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/diskTypePurpose.zod.js +0 -27
- package/dist/compute/v1/generated/validators/diskTypeResource.zod.d.ts +0 -76
- package/dist/compute/v1/generated/validators/diskTypeResource.zod.js +0 -54
- package/dist/compute/v1/generated/validators/error.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/error.zod.js +0 -33
- package/dist/compute/v1/generated/validators/existingBootDisk.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/existingBootDisk.zod.js +0 -36
- package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +0 -102
- package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/floatingIPOperation.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/floatingIPOperation.zod.js +0 -30
- package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +0 -95
- package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +0 -93
- package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.js +0 -35
- package/dist/compute/v1/generated/validators/iPv4Binding.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/iPv4Binding.zod.js +0 -35
- package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.d.ts +0 -66
- package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.d.ts +0 -59
- package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.js +0 -31
- package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +0 -31
- package/dist/compute/v1/generated/validators/imageListResponseBody.zod.d.ts +0 -97
- package/dist/compute/v1/generated/validators/imageListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/imageOperation.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/imageOperation.zod.js +0 -32
- package/dist/compute/v1/generated/validators/imageResource.zod.d.ts +0 -91
- package/dist/compute/v1/generated/validators/imageResource.zod.js +0 -117
- package/dist/compute/v1/generated/validators/imageVisibility.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/imageVisibility.zod.js +0 -27
- package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.d.ts +0 -126
- package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/instanceOperation.zod.d.ts +0 -47
- package/dist/compute/v1/generated/validators/instanceOperation.zod.js +0 -49
- package/dist/compute/v1/generated/validators/instanceResource.zod.d.ts +0 -122
- package/dist/compute/v1/generated/validators/instanceResource.zod.js +0 -130
- package/dist/compute/v1/generated/validators/instanceRestriction.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/instanceRestriction.zod.js +0 -35
- package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.d.ts +0 -74
- package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/instanceTypeResource.zod.d.ts +0 -67
- package/dist/compute/v1/generated/validators/instanceTypeResource.zod.js +0 -47
- package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.d.ts +0 -121
- package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.js +0 -71
- package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +0 -125
- package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.js +0 -46
- package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.js +0 -40
- package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.js +0 -40
- package/dist/compute/v1/generated/validators/listBackupsParams.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/listBackupsParams.zod.js +0 -37
- package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.js +0 -39
- package/dist/compute/v1/generated/validators/listDisksParams.zod.d.ts +0 -36
- package/dist/compute/v1/generated/validators/listDisksParams.zod.js +0 -38
- package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.js +0 -40
- package/dist/compute/v1/generated/validators/listImagesParams.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/listImagesParams.zod.js +0 -39
- package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.js +0 -40
- package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.js +0 -40
- package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.js +0 -41
- package/dist/compute/v1/generated/validators/listInstancesParams.zod.d.ts +0 -36
- package/dist/compute/v1/generated/validators/listInstancesParams.zod.js +0 -42
- package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.js +0 -37
- package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.d.ts +0 -36
- package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.js +0 -46
- package/dist/compute/v1/generated/validators/listPeeringsParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listPeeringsParams.zod.js +0 -36
- package/dist/compute/v1/generated/validators/listPortsParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listPortsParams.zod.js +0 -36
- package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.js +0 -41
- package/dist/compute/v1/generated/validators/listRegionsParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listRegionsParams.zod.js +0 -36
- package/dist/compute/v1/generated/validators/listRoutesParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listRoutesParams.zod.js +0 -36
- package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.js +0 -40
- package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.d.ts +0 -36
- package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.js +0 -45
- package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.js +0 -37
- package/dist/compute/v1/generated/validators/listSubnetsParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listSubnetsParams.zod.js +0 -36
- package/dist/compute/v1/generated/validators/money.zod.d.ts +0 -27
- package/dist/compute/v1/generated/validators/money.zod.js +0 -27
- package/dist/compute/v1/generated/validators/newBootDisk.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/newBootDisk.zod.js +0 -42
- package/dist/compute/v1/generated/validators/newCompute.zod.d.ts +0 -47
- package/dist/compute/v1/generated/validators/newCompute.zod.js +0 -35
- package/dist/compute/v1/generated/validators/newFloatingIP.zod.d.ts +0 -48
- package/dist/compute/v1/generated/validators/newFloatingIP.zod.js +0 -33
- package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.js +0 -29
- package/dist/compute/v1/generated/validators/offsetPagination.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/offsetPagination.zod.js +0 -32
- package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.d.ts +0 -47
- package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/operationLogResource.zod.d.ts +0 -40
- package/dist/compute/v1/generated/validators/operationLogResource.zod.js +0 -48
- package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.d.ts +0 -59
- package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/peeringOperation.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/peeringOperation.zod.js +0 -32
- package/dist/compute/v1/generated/validators/peeringResource.zod.d.ts +0 -52
- package/dist/compute/v1/generated/validators/peeringResource.zod.js +0 -47
- package/dist/compute/v1/generated/validators/portAddress.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/portAddress.zod.js +0 -34
- package/dist/compute/v1/generated/validators/portAttachment.zod.d.ts +0 -45
- package/dist/compute/v1/generated/validators/portAttachment.zod.js +0 -35
- package/dist/compute/v1/generated/validators/portAttachmentList.zod.d.ts +0 -52
- package/dist/compute/v1/generated/validators/portAttachmentList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/portListResponseBody.zod.d.ts +0 -91
- package/dist/compute/v1/generated/validators/portListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/portOperation.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/portOperation.zod.js +0 -30
- package/dist/compute/v1/generated/validators/portResource.zod.d.ts +0 -84
- package/dist/compute/v1/generated/validators/portResource.zod.js +0 -47
- package/dist/compute/v1/generated/validators/powerRequest.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/powerRequest.zod.js +0 -27
- package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/privateNetworkResource.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/privateNetworkResource.zod.js +0 -32
- package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.js +0 -34
- package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.d.ts +0 -122
- package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.js +0 -29
- package/dist/compute/v1/generated/validators/regionListResponseBody.zod.d.ts +0 -151
- package/dist/compute/v1/generated/validators/regionListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/regionResource.zod.d.ts +0 -144
- package/dist/compute/v1/generated/validators/regionResource.zod.js +0 -45
- package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.d.ts +0 -111
- package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.js +0 -32
- package/dist/compute/v1/generated/validators/releaseFloatingIpParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/releaseFloatingIpParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/releaseResource.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/releaseResource.zod.js +0 -43
- package/dist/compute/v1/generated/validators/releaseSetItem.zod.d.ts +0 -42
- package/dist/compute/v1/generated/validators/releaseSetItem.zod.js +0 -31
- package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.js +0 -36
- package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.js +0 -29
- package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.js +0 -33
- package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +0 -109
- package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +0 -123
- package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/resourceCancellation.zod.d.ts +0 -40
- package/dist/compute/v1/generated/validators/resourceCancellation.zod.js +0 -39
- package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.d.ts +0 -59
- package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.js +0 -43
- package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.js +0 -27
- package/dist/compute/v1/generated/validators/routeListResponseBody.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/routeListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/routeResource.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/routeResource.zod.js +0 -38
- package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.js +0 -39
- package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/securityGroupResource.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/securityGroupResource.zod.js +0 -34
- package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.d.ts +0 -50
- package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/securityRuleResource.zod.d.ts +0 -43
- package/dist/compute/v1/generated/validators/securityRuleResource.zod.js +0 -41
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.js +0 -35
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +0 -99
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.js +0 -31
- package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.d.ts +0 -55
- package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.js +0 -38
- package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +0 -68
- package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.js +0 -35
- package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.d.ts +0 -61
- package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/snapshotOperation.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/snapshotOperation.zod.js +0 -32
- package/dist/compute/v1/generated/validators/snapshotQuota.zod.d.ts +0 -67
- package/dist/compute/v1/generated/validators/snapshotQuota.zod.js +0 -86
- package/dist/compute/v1/generated/validators/snapshotResource.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/snapshotResource.zod.js +0 -48
- package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/subnetResource.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/subnetResource.zod.js +0 -32
- package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.js +0 -34
- package/dist/compute/v1/generated/validators/terminationPolicy.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/terminationPolicy.zod.js +0 -27
- package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/zoneResource.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/zoneResource.zod.js +0 -33
- /package/dist/compute/{v1 → v2}/index.d.ts +0 -0
- /package/dist/compute/{v1 → v2}/index.js +0 -0
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
|
-
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export declare const BackupCapacityPackListResponseBody: zod.ZodObject<{
|
|
26
|
-
items: zod.ZodArray<zod.ZodObject<{
|
|
27
|
-
id: zod.ZodUUID;
|
|
28
|
-
region_id: zod.ZodUUID;
|
|
29
|
-
capacity_gib: zod.ZodInt;
|
|
30
|
-
status: zod.ZodEnum<{
|
|
31
|
-
active: "active";
|
|
32
|
-
failed: "failed";
|
|
33
|
-
pending: "pending";
|
|
34
|
-
provisioning: "provisioning";
|
|
35
|
-
ended: "ended";
|
|
36
|
-
}>;
|
|
37
|
-
failure_reason: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"checkout_expired">, zod.ZodLiteral<"order_declined">, zod.ZodLiteral<"order_canceled">, zod.ZodLiteral<"order_expired">, zod.ZodLiteral<"provisioning_failed">, zod.ZodLiteral<null>]>>;
|
|
38
|
-
checkout_session_id: zod.ZodNullable<zod.ZodUUID>;
|
|
39
|
-
order_id: zod.ZodNullable<zod.ZodUUID>;
|
|
40
|
-
subscription_id: zod.ZodNullable<zod.ZodUUID>;
|
|
41
|
-
release_subscription_ids: zod.ZodArray<zod.ZodUUID>;
|
|
42
|
-
created_at: zod.z.ZodISODateTime;
|
|
43
|
-
}, zod.z.core.$strict>>;
|
|
44
|
-
pagination: zod.ZodObject<{
|
|
45
|
-
page: zod.ZodInt;
|
|
46
|
-
page_size: zod.ZodInt;
|
|
47
|
-
total_count: zod.ZodOptional<zod.ZodInt>;
|
|
48
|
-
}, zod.z.core.$strict>;
|
|
49
|
-
}, zod.z.core.$strict>;
|
|
50
|
-
export type BackupCapacityPackListResponseBody = zod.input<typeof BackupCapacityPackListResponseBody>;
|
|
51
|
-
export type BackupCapacityPackListResponseBodyOutput = zod.output<typeof BackupCapacityPackListResponseBody>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
|
-
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
import { BackupCapacityPack } from "./backupCapacityPack.zod.js";
|
|
26
|
-
import { OffsetPagination } from "./offsetPagination.zod.js";
|
|
27
|
-
export const BackupCapacityPackListResponseBody = zod.strictObject({
|
|
28
|
-
items: zod.array(BackupCapacityPack),
|
|
29
|
-
pagination: OffsetPagination,
|
|
30
|
-
});
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
|
-
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export declare const BackupListResponseBody: zod.ZodObject<{
|
|
26
|
-
items: zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
27
|
-
created_at: zod.z.ZodISODateTime;
|
|
28
|
-
id: zod.ZodUUID;
|
|
29
|
-
name: zod.ZodString;
|
|
30
|
-
region_id: zod.ZodUUID;
|
|
31
|
-
size_gb: zod.ZodInt;
|
|
32
|
-
capacity_gib: zod.ZodInt;
|
|
33
|
-
source_disk_id: zod.ZodUUID;
|
|
34
|
-
status: zod.ZodEnum<{
|
|
35
|
-
deleted: "deleted";
|
|
36
|
-
available: "available";
|
|
37
|
-
error: "error";
|
|
38
|
-
failed: "failed";
|
|
39
|
-
provisioning: "provisioning";
|
|
40
|
-
missing: "missing";
|
|
41
|
-
}>;
|
|
42
|
-
operation: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
43
|
-
type: zod.ZodEnum<{
|
|
44
|
-
delete: "delete";
|
|
45
|
-
create: "create";
|
|
46
|
-
restore: "restore";
|
|
47
|
-
}>;
|
|
48
|
-
started_at: zod.z.ZodISODateTime;
|
|
49
|
-
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
50
|
-
generation: zod.ZodInt;
|
|
51
|
-
observed_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
52
|
-
source_availability_zone_id: zod.ZodUUID;
|
|
53
|
-
}, zod.z.core.$strict>>>;
|
|
54
|
-
pagination: zod.ZodObject<{
|
|
55
|
-
page: zod.ZodInt;
|
|
56
|
-
page_size: zod.ZodInt;
|
|
57
|
-
total_count: zod.ZodOptional<zod.ZodInt>;
|
|
58
|
-
}, zod.z.core.$strict>;
|
|
59
|
-
}, zod.z.core.$strict>;
|
|
60
|
-
export type BackupListResponseBody = zod.input<typeof BackupListResponseBody>;
|
|
61
|
-
export type BackupListResponseBodyOutput = zod.output<typeof BackupListResponseBody>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
|
-
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
import { BackupResource } from "./backupResource.zod.js";
|
|
26
|
-
import { OffsetPagination } from "./offsetPagination.zod.js";
|
|
27
|
-
export const BackupListResponseBody = zod.strictObject({
|
|
28
|
-
items: zod.array(BackupResource).nullable(),
|
|
29
|
-
pagination: OffsetPagination,
|
|
30
|
-
});
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
|
-
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export declare const BackupOperation: zod.ZodObject<{
|
|
26
|
-
type: zod.ZodEnum<{
|
|
27
|
-
delete: "delete";
|
|
28
|
-
create: "create";
|
|
29
|
-
restore: "restore";
|
|
30
|
-
}>;
|
|
31
|
-
started_at: zod.z.ZodISODateTime;
|
|
32
|
-
}, zod.z.core.$strict>;
|
|
33
|
-
export type BackupOperation = zod.input<typeof BackupOperation>;
|
|
34
|
-
export type BackupOperationOutput = zod.output<typeof BackupOperation>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
|
-
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export const BackupOperation = zod
|
|
26
|
-
.strictObject({
|
|
27
|
-
type: zod
|
|
28
|
-
.enum(["create", "restore", "delete"])
|
|
29
|
-
.describe("`restore`: a disk is being restored from this backup."),
|
|
30
|
-
started_at: zod.iso.datetime({ offset: true }),
|
|
31
|
-
})
|
|
32
|
-
.describe("An operation still running on this backup. It is not a separate resource; once it finishes, the backup's `operation` is null again and the backup shows the result.");
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
|
-
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export declare const BackupResource: zod.ZodObject<{
|
|
26
|
-
created_at: zod.z.ZodISODateTime;
|
|
27
|
-
id: zod.ZodUUID;
|
|
28
|
-
name: zod.ZodString;
|
|
29
|
-
region_id: zod.ZodUUID;
|
|
30
|
-
size_gb: zod.ZodInt;
|
|
31
|
-
capacity_gib: zod.ZodInt;
|
|
32
|
-
source_disk_id: zod.ZodUUID;
|
|
33
|
-
status: zod.ZodEnum<{
|
|
34
|
-
deleted: "deleted";
|
|
35
|
-
available: "available";
|
|
36
|
-
error: "error";
|
|
37
|
-
failed: "failed";
|
|
38
|
-
provisioning: "provisioning";
|
|
39
|
-
missing: "missing";
|
|
40
|
-
}>;
|
|
41
|
-
operation: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
42
|
-
type: zod.ZodEnum<{
|
|
43
|
-
delete: "delete";
|
|
44
|
-
create: "create";
|
|
45
|
-
restore: "restore";
|
|
46
|
-
}>;
|
|
47
|
-
started_at: zod.z.ZodISODateTime;
|
|
48
|
-
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
49
|
-
generation: zod.ZodInt;
|
|
50
|
-
observed_at: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
51
|
-
source_availability_zone_id: zod.ZodUUID;
|
|
52
|
-
}, zod.z.core.$strict>;
|
|
53
|
-
export type BackupResource = zod.input<typeof BackupResource>;
|
|
54
|
-
export type BackupResourceOutput = zod.output<typeof BackupResource>;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
|
-
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
import { BackupOperation } from "./backupOperation.zod.js";
|
|
26
|
-
export const BackupResource = zod
|
|
27
|
-
.strictObject({
|
|
28
|
-
created_at: zod.iso.datetime({ offset: true }),
|
|
29
|
-
id: zod.uuid(),
|
|
30
|
-
name: zod.string(),
|
|
31
|
-
region_id: zod.uuid(),
|
|
32
|
-
size_gb: zod
|
|
33
|
-
.int()
|
|
34
|
-
.describe("Capacity of the source disk when the backup was created. A restored disk cannot be smaller than this"),
|
|
35
|
-
capacity_gib: zod
|
|
36
|
-
.int()
|
|
37
|
-
.describe("The capacity metered for this backup, in GiB: the size of the source disk when the backup was taken. Usage is this capacity multiplied by the time the backup is retained."),
|
|
38
|
-
source_disk_id: zod
|
|
39
|
-
.uuid()
|
|
40
|
-
.describe("The disk this backup was taken from. The backup remains usable after that disk is deleted"),
|
|
41
|
-
status: zod
|
|
42
|
-
.enum(["provisioning", "available", "deleted", "failed", "error", "missing"])
|
|
43
|
-
.describe("`provisioning` while the backup is taken, then `available`. `failed` means the backup was not created. `missing` means the backup no longer exists in the cloud."),
|
|
44
|
-
operation: zod
|
|
45
|
-
.union([BackupOperation, zod.null()])
|
|
46
|
-
.describe("The operation in progress on this backup, or null when none is."),
|
|
47
|
-
generation: zod.int().min(1),
|
|
48
|
-
observed_at: zod.iso.datetime({ offset: true }).nullable(),
|
|
49
|
-
source_availability_zone_id: zod
|
|
50
|
-
.uuid()
|
|
51
|
-
.describe("Availability zone of the source disk. A restore may target another zone in the same region"),
|
|
52
|
-
})
|
|
53
|
-
.describe("A copy of a disk, metered on the backup service of its region by `capacity_gib` for as long as it is retained. It has no order or subscription of its own.");
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
|
-
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export declare const backupServiceRetainedCapacityGibMin = 0;
|
|
26
|
-
export declare const backupServicePackCapacityGibMin = 0;
|
|
27
|
-
export declare const BackupService: zod.ZodObject<{
|
|
28
|
-
region_id: zod.ZodUUID;
|
|
29
|
-
status: zod.ZodEnum<{
|
|
30
|
-
active: "active";
|
|
31
|
-
failed: "failed";
|
|
32
|
-
pending: "pending";
|
|
33
|
-
suspended: "suspended";
|
|
34
|
-
provisioning: "provisioning";
|
|
35
|
-
inactive: "inactive";
|
|
36
|
-
}>;
|
|
37
|
-
failure_reason: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"checkout_expired">, zod.ZodLiteral<"order_declined">, zod.ZodLiteral<"order_canceled">, zod.ZodLiteral<"order_expired">, zod.ZodLiteral<"provisioning_failed">, zod.ZodLiteral<null>]>>;
|
|
38
|
-
checkout_session_id: zod.ZodNullable<zod.ZodUUID>;
|
|
39
|
-
order_id: zod.ZodNullable<zod.ZodUUID>;
|
|
40
|
-
subscription_id: zod.ZodNullable<zod.ZodUUID>;
|
|
41
|
-
release_subscription_ids: zod.ZodArray<zod.ZodUUID>;
|
|
42
|
-
retained_capacity_gib: zod.ZodInt;
|
|
43
|
-
pack_capacity_gib: zod.ZodInt;
|
|
44
|
-
}, zod.z.core.$strict>;
|
|
45
|
-
export type BackupService = zod.input<typeof BackupService>;
|
|
46
|
-
export type BackupServiceOutput = zod.output<typeof BackupService>;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
|
-
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export const backupServiceRetainedCapacityGibMin = 0;
|
|
26
|
-
export const backupServicePackCapacityGibMin = 0;
|
|
27
|
-
export const BackupService = zod
|
|
28
|
-
.strictObject({
|
|
29
|
-
region_id: zod.uuid(),
|
|
30
|
-
status: zod
|
|
31
|
-
.enum(["inactive", "pending", "provisioning", "active", "suspended", "failed"])
|
|
32
|
-
.describe("`inactive` has never been activated or its subscription has ended; `pending` awaits acceptance of its order; `provisioning` is being activated; `active` accepts new backups; `suspended` refuses new backups and keeps existing ones; `failed` means the activation failed, as `failure_reason` states."),
|
|
33
|
-
failure_reason: zod
|
|
34
|
-
.union([
|
|
35
|
-
zod.literal("checkout_expired"),
|
|
36
|
-
zod.literal("order_declined"),
|
|
37
|
-
zod.literal("order_canceled"),
|
|
38
|
-
zod.literal("order_expired"),
|
|
39
|
-
zod.literal("provisioning_failed"),
|
|
40
|
-
zod.literal(null),
|
|
41
|
-
])
|
|
42
|
-
.nullable()
|
|
43
|
-
.describe("Why the purchase failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means it failed after the order was accepted, and its charge is refunded."),
|
|
44
|
-
checkout_session_id: zod
|
|
45
|
-
.uuid()
|
|
46
|
-
.nullable()
|
|
47
|
-
.describe("The Checkout Session of the activation; null before an activation is requested."),
|
|
48
|
-
order_id: zod
|
|
49
|
-
.uuid()
|
|
50
|
-
.nullable()
|
|
51
|
-
.describe("The order that activated the service; null until the activation's checkout completes."),
|
|
52
|
-
subscription_id: zod
|
|
53
|
-
.uuid()
|
|
54
|
-
.nullable()
|
|
55
|
-
.describe("The Billing subscription that backup usage is billed under; null until the activation's checkout completes."),
|
|
56
|
-
release_subscription_ids: zod
|
|
57
|
-
.array(zod.uuid())
|
|
58
|
-
.describe("The subscription a cancellation through Billing has to cover to release this backup service. A subscription that has ended is not listed, and the list is empty when no subscription pays for the service."),
|
|
59
|
-
retained_capacity_gib: zod
|
|
60
|
-
.int()
|
|
61
|
-
.min(backupServiceRetainedCapacityGibMin)
|
|
62
|
-
.describe("The total `capacity_gib` of the backups retained in this region."),
|
|
63
|
-
pack_capacity_gib: zod
|
|
64
|
-
.int()
|
|
65
|
-
.min(backupServicePackCapacityGibMin)
|
|
66
|
-
.describe("The total `capacity_gib` of the active capacity packs in this region; this much retained capacity is covered each hour."),
|
|
67
|
-
})
|
|
68
|
-
.describe("The backup service of a project in one region. Retained backup capacity beyond what active capacity packs cover is metered on it.");
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
|
-
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
export declare const BillingChoice: zod.ZodObject<{
|
|
26
|
-
usage_type: zod.ZodEnum<{
|
|
27
|
-
licensed: "licensed";
|
|
28
|
-
metered: "metered";
|
|
29
|
-
}>;
|
|
30
|
-
period: zod.ZodOptional<zod.ZodObject<{
|
|
31
|
-
unit: zod.ZodEnum<{
|
|
32
|
-
month: "month";
|
|
33
|
-
year: "year";
|
|
34
|
-
}>;
|
|
35
|
-
count: zod.ZodInt;
|
|
36
|
-
}, zod.z.core.$strict>>;
|
|
37
|
-
termination_policy: zod.ZodOptional<zod.ZodEnum<{
|
|
38
|
-
immediate: "immediate";
|
|
39
|
-
period_end: "period_end";
|
|
40
|
-
}>>;
|
|
41
|
-
}, zod.z.core.$strict>;
|
|
42
|
-
export type BillingChoice = zod.input<typeof BillingChoice>;
|
|
43
|
-
export type BillingChoiceOutput = zod.output<typeof BillingChoice>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Leaflow Compute API
|
|
5
|
-
* Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
|
|
6
|
-
*
|
|
7
|
-
* ## Authentication
|
|
8
|
-
*
|
|
9
|
-
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
|
|
10
|
-
*
|
|
11
|
-
* ## Conventions
|
|
12
|
-
*
|
|
13
|
-
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the Checkout Session and the order in Billing for checkout and payment progress.
|
|
14
|
-
* - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
|
|
15
|
-
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid.
|
|
16
|
-
* - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time.
|
|
17
|
-
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
|
|
18
|
-
* - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
|
|
19
|
-
* - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
|
|
20
|
-
* - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
|
|
21
|
-
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
22
|
-
* OpenAPI spec version: 1.0.0
|
|
23
|
-
*/
|
|
24
|
-
import * as zod from "zod";
|
|
25
|
-
import { BillingPeriod } from "./billingPeriod.zod.js";
|
|
26
|
-
import { TerminationPolicy } from "./terminationPolicy.zod.js";
|
|
27
|
-
export const BillingChoice = zod
|
|
28
|
-
.strictObject({
|
|
29
|
-
usage_type: zod
|
|
30
|
-
.enum(["licensed", "metered"])
|
|
31
|
-
.describe("`licensed` pays for a period in advance; `metered` bills usage until canceled."),
|
|
32
|
-
period: BillingPeriod.optional(),
|
|
33
|
-
termination_policy: TerminationPolicy.optional(),
|
|
34
|
-
})
|
|
35
|
-
.describe("The commercial terms for one newly purchased component. Licensed requires period and termination_policy; metered refuses both. Components in one instance order must use the same usage type and period, while their termination policies may differ.");
|