@leaflow/sdk 0.168.0 → 0.170.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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,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
|
-
export declare const CheckoutMode: zod.ZodEnum<{
|
|
26
|
-
automatic: "automatic";
|
|
27
|
-
deferred: "deferred";
|
|
28
|
-
}>;
|
|
29
|
-
export type CheckoutMode = zod.input<typeof CheckoutMode>;
|
|
30
|
-
export type CheckoutModeOutput = zod.output<typeof CheckoutMode>;
|
|
@@ -1,27 +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 CheckoutMode = zod
|
|
26
|
-
.enum(["automatic", "deferred"])
|
|
27
|
-
.describe("automatic completes checkout with the purchase: the best applicable account discount is applied, and the\norder is created with its invoice issued and paid from eligible credit grants and available balance.\nInsufficient funds fail the purchase with HTTP 422 BILLING_INSUFFICIENT_FUNDS; no Billing order, charge or\ndiscount redemption is committed.\ndeferred creates an open Billing Checkout Session and charges nothing, even for a zero total. The customer\ncompletes it through Billing, where a promotion code can be applied, and then pays the issued invoice; a\nsession not completed by its deadline expires.");
|
|
@@ -1,37 +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 checkoutOptionsModeDefault = "automatic";
|
|
26
|
-
export declare const checkoutOptionsExpectedAmountTwoRegExp: RegExp;
|
|
27
|
-
export declare const checkoutOptionsReturnUrlMax = 2048;
|
|
28
|
-
export declare const CheckoutOptions: zod.ZodObject<{
|
|
29
|
-
mode: zod.ZodDefault<zod.ZodEnum<{
|
|
30
|
-
automatic: "automatic";
|
|
31
|
-
deferred: "deferred";
|
|
32
|
-
}>>;
|
|
33
|
-
expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
|
|
34
|
-
return_url: zod.ZodOptional<zod.ZodURL>;
|
|
35
|
-
}, zod.z.core.$strict>;
|
|
36
|
-
export type CheckoutOptions = zod.input<typeof CheckoutOptions>;
|
|
37
|
-
export type CheckoutOptionsOutput = zod.output<typeof CheckoutOptions>;
|
|
@@ -1,42 +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 { CheckoutMode } from "./checkoutMode.zod.js";
|
|
26
|
-
import { Money } from "./money.zod.js";
|
|
27
|
-
export const checkoutOptionsModeDefault = `automatic`;
|
|
28
|
-
export const checkoutOptionsExpectedAmountTwoRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
|
|
29
|
-
export const checkoutOptionsReturnUrlMax = 2048;
|
|
30
|
-
export const CheckoutOptions = zod
|
|
31
|
-
.strictObject({
|
|
32
|
-
mode: CheckoutMode.default(checkoutOptionsModeDefault),
|
|
33
|
-
expected_amount: Money.and(zod.string().regex(checkoutOptionsExpectedAmountTwoRegExp))
|
|
34
|
-
.optional()
|
|
35
|
-
.describe("Expected invoice total after discounts and tax, before applying credit grants or balance.\nA different total fails with BILLING_AMOUNT_CHANGED without charging or reserving a discount.\nAccepted only in automatic mode; with deferred it is refused with HTTP 400. For deferred\ncheckout, give the expected amount when completing it through Billing."),
|
|
36
|
-
return_url: zod
|
|
37
|
-
.url()
|
|
38
|
-
.max(checkoutOptionsReturnUrlMax)
|
|
39
|
-
.optional()
|
|
40
|
-
.describe("Where the client goes after the customer finishes a deferred checkout. Any absolute URI with a\nscheme, including mobile and desktop application schemes. Billing stores it without checking the\ntarget; each client validates its own."),
|
|
41
|
-
})
|
|
42
|
-
.describe("Shared checkout choices for a product purchase. The service may set them or forward its client's\nchoices unchanged; it does not need to read them, and Billing validates them. Omitting this object or\nmode selects automatic checkout. Each purchase creates its own Checkout Session. Promotion codes are supplied\nonly to Billing. A service may retain a failed creation record when Billing refuses a purchase; no\ninfrastructure is created for that refusal.");
|
|
@@ -1,33 +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 CommandResultResponseBody: zod.ZodObject<{
|
|
26
|
-
exit_code: zod.ZodNullable<zod.ZodInt>;
|
|
27
|
-
stderr: zod.ZodString;
|
|
28
|
-
stdout: zod.ZodString;
|
|
29
|
-
timed_out: zod.ZodBoolean;
|
|
30
|
-
truncated: zod.ZodBoolean;
|
|
31
|
-
}, zod.z.core.$strict>;
|
|
32
|
-
export type CommandResultResponseBody = zod.input<typeof CommandResultResponseBody>;
|
|
33
|
-
export type CommandResultResponseBodyOutput = zod.output<typeof CommandResultResponseBody>;
|
|
@@ -1,38 +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 CommandResultResponseBody = zod.strictObject({
|
|
26
|
-
exit_code: zod
|
|
27
|
-
.int()
|
|
28
|
-
.nullable()
|
|
29
|
-
.describe("What the command exited with, 0 being success. Any other value is the command's own verdict and still arrives as a 200. Null when it was killed rather than exiting on its own, which includes the timeout — null is the absence of a verdict, not a successful one"),
|
|
30
|
-
stderr: zod.string(),
|
|
31
|
-
stdout: zod.string(),
|
|
32
|
-
timed_out: zod
|
|
33
|
-
.boolean()
|
|
34
|
-
.describe("True when the command was still running at the timeout and was killed"),
|
|
35
|
-
truncated: zod
|
|
36
|
-
.boolean()
|
|
37
|
-
.describe("True when either stream hit the 1 MiB cap and the rest was discarded"),
|
|
38
|
-
});
|
|
@@ -1,29 +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 ConsoleOutputResponseBody: zod.ZodObject<{
|
|
26
|
-
output: zod.ZodString;
|
|
27
|
-
}, zod.z.core.$strict>;
|
|
28
|
-
export type ConsoleOutputResponseBody = zod.input<typeof ConsoleOutputResponseBody>;
|
|
29
|
-
export type ConsoleOutputResponseBodyOutput = zod.output<typeof ConsoleOutputResponseBody>;
|
|
@@ -1,29 +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 ConsoleOutputResponseBody = zod.strictObject({
|
|
26
|
-
output: zod
|
|
27
|
-
.string()
|
|
28
|
-
.describe("Raw text of the console output, in the same line order as inside the instance"),
|
|
29
|
-
});
|
|
@@ -1,29 +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 ConsoleResponseBody: zod.ZodObject<{
|
|
26
|
-
console_url: zod.ZodString;
|
|
27
|
-
}, zod.z.core.$strict>;
|
|
28
|
-
export type ConsoleResponseBody = zod.input<typeof ConsoleResponseBody>;
|
|
29
|
-
export type ConsoleResponseBodyOutput = zod.output<typeof ConsoleResponseBody>;
|
|
@@ -1,29 +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 ConsoleResponseBody = zod.strictObject({
|
|
26
|
-
console_url: zod
|
|
27
|
-
.string()
|
|
28
|
-
.describe("Connection address of the remote console; single-use and expires within minutes"),
|
|
29
|
-
});
|
|
@@ -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 CreateBackupCapacityPackRequestBody: zod.ZodObject<{
|
|
26
|
-
capacity_gib: zod.ZodInt;
|
|
27
|
-
billing: zod.ZodObject<{
|
|
28
|
-
usage_type: zod.ZodEnum<{
|
|
29
|
-
licensed: "licensed";
|
|
30
|
-
metered: "metered";
|
|
31
|
-
}>;
|
|
32
|
-
period: zod.ZodOptional<zod.ZodObject<{
|
|
33
|
-
unit: zod.ZodEnum<{
|
|
34
|
-
month: "month";
|
|
35
|
-
year: "year";
|
|
36
|
-
}>;
|
|
37
|
-
count: zod.ZodInt;
|
|
38
|
-
}, zod.z.core.$strict>>;
|
|
39
|
-
termination_policy: zod.ZodOptional<zod.ZodEnum<{
|
|
40
|
-
immediate: "immediate";
|
|
41
|
-
period_end: "period_end";
|
|
42
|
-
}>>;
|
|
43
|
-
}, zod.z.core.$strict>;
|
|
44
|
-
checkout: zod.ZodOptional<zod.ZodObject<{
|
|
45
|
-
mode: zod.ZodDefault<zod.ZodEnum<{
|
|
46
|
-
automatic: "automatic";
|
|
47
|
-
deferred: "deferred";
|
|
48
|
-
}>>;
|
|
49
|
-
expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
|
|
50
|
-
return_url: zod.ZodOptional<zod.ZodURL>;
|
|
51
|
-
}, zod.z.core.$strict>>;
|
|
52
|
-
}, zod.z.core.$strict>;
|
|
53
|
-
export type CreateBackupCapacityPackRequestBody = zod.input<typeof CreateBackupCapacityPackRequestBody>;
|
|
54
|
-
export type CreateBackupCapacityPackRequestBodyOutput = zod.output<typeof CreateBackupCapacityPackRequestBody>;
|
|
@@ -1,31 +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 { BillingChoice } from "./billingChoice.zod.js";
|
|
26
|
-
import { CheckoutOptions } from "./checkoutOptions.zod.js";
|
|
27
|
-
export const CreateBackupCapacityPackRequestBody = zod.strictObject({
|
|
28
|
-
capacity_gib: zod.int().min(1),
|
|
29
|
-
billing: BillingChoice,
|
|
30
|
-
checkout: CheckoutOptions.optional(),
|
|
31
|
-
});
|
|
@@ -1,48 +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 CreateBackupCapacityPackResponseBody: zod.ZodObject<{
|
|
26
|
-
backup_capacity_pack: 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
|
-
checkout_session_id: zod.ZodUUID;
|
|
45
|
-
order_id: zod.ZodNullable<zod.ZodUUID>;
|
|
46
|
-
}, zod.z.core.$strict>;
|
|
47
|
-
export type CreateBackupCapacityPackResponseBody = zod.input<typeof CreateBackupCapacityPackResponseBody>;
|
|
48
|
-
export type CreateBackupCapacityPackResponseBodyOutput = zod.output<typeof CreateBackupCapacityPackResponseBody>;
|
|
@@ -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 { BackupCapacityPack } from "./backupCapacityPack.zod.js";
|
|
26
|
-
export const CreateBackupCapacityPackResponseBody = zod.strictObject({
|
|
27
|
-
backup_capacity_pack: BackupCapacityPack,
|
|
28
|
-
checkout_session_id: zod
|
|
29
|
-
.uuid()
|
|
30
|
-
.describe("The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing."),
|
|
31
|
-
order_id: zod
|
|
32
|
-
.uuid()
|
|
33
|
-
.nullable()
|
|
34
|
-
.describe("The order created when checkout completes, at once for automatic checkout; null until then."),
|
|
35
|
-
});
|