@leaflow/sdk 0.172.0 → 0.174.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/account/v1/generated/models.d.ts +52 -10
- package/dist/account/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/account/v1/generated/validators/error.zod.js +6 -9
- package/dist/account/v1/generated/validators/errorStatus.zod.d.ts +41 -0
- package/dist/account/v1/generated/validators/errorStatus.zod.js +56 -0
- package/dist/account/v1/generated/validators/fieldViolation.zod.d.ts +32 -0
- package/dist/account/v1/generated/validators/fieldViolation.zod.js +35 -0
- package/dist/assistant/v1/generated/models.d.ts +52 -10
- package/dist/assistant/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/assistant/v1/generated/validators/error.zod.js +6 -9
- package/dist/assistant/v1/generated/validators/errorStatus.zod.d.ts +40 -0
- package/dist/assistant/v1/generated/validators/errorStatus.zod.js +55 -0
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.js +34 -0
- package/dist/billing/v1/generated/models.d.ts +52 -10
- package/dist/billing/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/billing/v1/generated/validators/error.zod.js +6 -9
- package/dist/billing/v1/generated/validators/errorStatus.zod.d.ts +23 -0
- package/dist/billing/v1/generated/validators/errorStatus.zod.js +38 -0
- package/dist/billing/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/fieldViolation.zod.js +17 -0
- package/dist/canopy/v1/generated/models.d.ts +52 -10
- package/dist/canopy/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/canopy/v1/generated/validators/error.zod.js +6 -9
- package/dist/canopy/v1/generated/validators/errorStatus.zod.d.ts +56 -0
- package/dist/canopy/v1/generated/validators/errorStatus.zod.js +71 -0
- package/dist/canopy/v1/generated/validators/fieldViolation.zod.d.ts +47 -0
- package/dist/canopy/v1/generated/validators/fieldViolation.zod.js +50 -0
- package/dist/compute/v2/generated/functions.d.ts +33 -33
- package/dist/compute/v2/generated/functions.js +31 -31
- package/dist/compute/v2/generated/models.d.ts +125 -227
- package/dist/compute/v2/generated/models.js +52 -78
- package/dist/compute/v2/generated/schemas.zod.d.ts +33 -33
- package/dist/compute/v2/generated/schemas.zod.js +33 -33
- package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingCancellation.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingChoice.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingComponent.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingMeter.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingPeriod.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingQuantity.zod.js +2 -2
- package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/bootVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/cancellationMode.zod.js +2 -2
- package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/checkoutMode.zod.js +2 -2
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +2 -2
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +5 -11
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +10 -16
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/cursorPagination.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +5 -11
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +10 -16
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIP.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/elasticIP.zod.js +17 -8
- package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPLine.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPLine.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/error.zod.d.ts +15 -6
- package/dist/compute/v2/generated/validators/error.zod.js +8 -11
- package/dist/compute/v2/generated/validators/{virtualPrivateCloudOperation.zod.d.ts → errorStatus.zod.d.ts} +16 -12
- package/dist/compute/v2/generated/validators/{elasticIPOperation.zod.d.ts → errorStatus.zod.js} +32 -17
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/existingElasticIP.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/existingElasticIP.zod.js +2 -2
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +2 -2
- package/dist/compute/v2/generated/validators/{volumeBackupOperation.zod.d.ts → fieldViolation.zod.d.ts} +7 -11
- package/dist/compute/v2/generated/validators/{volumeSnapshotOperation.zod.d.ts → fieldViolation.zod.js} +11 -12
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +2 -2
- package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/generatedPassword.zod.js +2 -2
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.js +2 -2
- package/dist/compute/v2/generated/validators/imageID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/imageID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instance.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/instance.zod.js +21 -7
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceElasticIP.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceElasticIP.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamily.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceType.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceTypeID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceVolumeID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/internetChargeType.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplate.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/money.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/money.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/networkInterface.zod.js +15 -8
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newBootVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newCompute.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newDataVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newElasticIP.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newElasticIP.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +2 -2
- package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/offsetPagination.zod.js +2 -2
- package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/operationLogID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/operationLogResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/passwordChoice.zod.js +2 -2
- package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/performanceFormula.zod.js +2 -2
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +2 -2
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +5 -11
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +5 -11
- package/dist/compute/v2/generated/validators/privateImageResource.zod.js +13 -8
- package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/projectQuota.zod.js +2 -2
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/publicImageResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +2 -2
- package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/quotaSource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/regionID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/regionID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/regionResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/releaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroup.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/subnetID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +2 -2
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +2 -2
- package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/trafficUsage.zod.js +2 -2
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.d.ts +10 -16
- package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +5 -11
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +4 -8
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +5 -11
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +4 -9
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +4 -9
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +4 -8
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +4 -8
- package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +10 -16
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumePerformance.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +10 -16
- package/dist/compute/v2/generated/validators/volumeResource.zod.js +19 -8
- package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +4 -8
- package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +2 -2
- package/dist/dns/v1/generated/models.d.ts +52 -10
- package/dist/dns/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/dns/v1/generated/validators/error.zod.js +6 -9
- package/dist/dns/v1/generated/validators/errorStatus.zod.d.ts +66 -0
- package/dist/dns/v1/generated/validators/errorStatus.zod.js +81 -0
- package/dist/dns/v1/generated/validators/fieldViolation.zod.d.ts +57 -0
- package/dist/dns/v1/generated/validators/fieldViolation.zod.js +60 -0
- package/dist/iam/v1/generated/models.d.ts +52 -10
- package/dist/iam/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/iam/v1/generated/validators/error.zod.js +6 -9
- package/dist/iam/v1/generated/validators/errorStatus.zod.d.ts +30 -0
- package/dist/iam/v1/generated/validators/errorStatus.zod.js +45 -0
- package/dist/iam/v1/generated/validators/fieldViolation.zod.d.ts +21 -0
- package/dist/iam/v1/generated/validators/fieldViolation.zod.js +24 -0
- package/dist/membership/v1/generated/models.d.ts +52 -10
- package/dist/membership/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/membership/v1/generated/validators/error.zod.js +6 -9
- package/dist/membership/v1/generated/validators/errorStatus.zod.d.ts +23 -0
- package/dist/membership/v1/generated/validators/errorStatus.zod.js +38 -0
- package/dist/membership/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
- package/dist/membership/v1/generated/validators/fieldViolation.zod.js +17 -0
- package/dist/monitoring/v1/generated/models.d.ts +52 -10
- package/dist/monitoring/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/monitoring/v1/generated/validators/error.zod.js +6 -9
- package/dist/monitoring/v1/generated/validators/errorStatus.zod.d.ts +36 -0
- package/dist/monitoring/v1/generated/validators/errorStatus.zod.js +51 -0
- package/dist/monitoring/v1/generated/validators/fieldViolation.zod.d.ts +27 -0
- package/dist/monitoring/v1/generated/validators/fieldViolation.zod.js +30 -0
- package/dist/notification/v1/generated/models.d.ts +52 -10
- package/dist/notification/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/notification/v1/generated/validators/error.zod.js +6 -9
- package/dist/notification/v1/generated/validators/errorStatus.zod.d.ts +77 -0
- package/dist/notification/v1/generated/validators/errorStatus.zod.js +92 -0
- package/dist/notification/v1/generated/validators/fieldViolation.zod.d.ts +68 -0
- package/dist/notification/v1/generated/validators/fieldViolation.zod.js +71 -0
- package/dist/support/v1/generated/models.d.ts +52 -10
- package/dist/support/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/support/v1/generated/validators/error.zod.js +6 -9
- package/dist/support/v1/generated/validators/errorStatus.zod.d.ts +66 -0
- package/dist/support/v1/generated/validators/errorStatus.zod.js +81 -0
- package/dist/support/v1/generated/validators/fieldViolation.zod.d.ts +57 -0
- package/dist/support/v1/generated/validators/fieldViolation.zod.js +60 -0
- package/dist/swas/v1/generated/models.d.ts +52 -10
- package/dist/swas/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/swas/v1/generated/validators/error.zod.js +6 -9
- package/dist/swas/v1/generated/validators/errorStatus.zod.d.ts +23 -0
- package/dist/swas/v1/generated/validators/errorStatus.zod.js +38 -0
- package/dist/swas/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/fieldViolation.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/instance.zod.d.ts +2 -2
- package/dist/swas-legacy/v1/generated/validators/instanceList.zod.d.ts +2 -2
- package/dist/swas-legacy/v1/generated/validators/lastOperation.zod.d.ts +1 -1
- package/dist/swas-legacy/v1/generated/validators/operation.zod.d.ts +1 -1
- package/dist/swas-legacy/v1/generated/validators/operationLogList.zod.d.ts +1 -1
- package/dist/type/error/v1/generated/models.d.ts +52 -10
- package/dist/type/error/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/type/error/v1/generated/validators/error.zod.js +6 -9
- package/dist/type/error/v1/generated/validators/errorStatus.zod.d.ts +24 -0
- package/dist/type/error/v1/generated/validators/errorStatus.zod.js +39 -0
- package/dist/type/error/v1/generated/validators/fieldViolation.zod.d.ts +15 -0
- package/dist/type/error/v1/generated/validators/fieldViolation.zod.js +18 -0
- package/dist/type/resource/v1/generated/validators/attachment.zod.d.ts +1 -1
- package/dist/type/resource/v1/generated/validators/attachmentList.zod.d.ts +1 -1
- package/package.json +1 -1
- package/dist/compute/v2/generated/validators/elasticIPOperation.zod.js +0 -50
- package/dist/compute/v2/generated/validators/instanceOperation.zod.d.ts +0 -61
- package/dist/compute/v2/generated/validators/instanceOperation.zod.js +0 -63
- package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.d.ts +0 -50
- package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.js +0 -52
- package/dist/compute/v2/generated/validators/privateImageOperation.zod.d.ts +0 -46
- package/dist/compute/v2/generated/validators/privateImageOperation.zod.js +0 -43
- package/dist/compute/v2/generated/validators/virtualPrivateCloudOperation.zod.js +0 -41
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.d.ts +0 -44
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.js +0 -43
- package/dist/compute/v2/generated/validators/volumeBackupOperation.zod.js +0 -43
- package/dist/compute/v2/generated/validators/volumeOperation.zod.d.ts +0 -51
- package/dist/compute/v2/generated/validators/volumeOperation.zod.js +0 -53
- package/dist/compute/v2/generated/validators/volumeSnapshotOperation.zod.js +0 -43
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Notification API
|
|
5
|
+
* Read the notifications this platform has sent you, and choose where each kind of notification
|
|
6
|
+
* is delivered.
|
|
7
|
+
*
|
|
8
|
+
* Every service on the platform reports events here rather than contacting you directly. This
|
|
9
|
+
* API is the single place where those events are read, and the single place where delivery is
|
|
10
|
+
* configured.
|
|
11
|
+
*
|
|
12
|
+
* ## Authentication
|
|
13
|
+
*
|
|
14
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme.
|
|
15
|
+
*
|
|
16
|
+
* **Neither the path nor the headers carry a `project_id`**: the current project is determined by
|
|
17
|
+
* the token. Listing operations return everything addressed to you across every project by
|
|
18
|
+
* default, because a notification is addressed to a person rather than to a project; pass
|
|
19
|
+
* `scope=current_project` to narrow the result to the project in the token.
|
|
20
|
+
*
|
|
21
|
+
* ## Conventions
|
|
22
|
+
*
|
|
23
|
+
* - **Notifications are typed, and the type determines who receives it.** A type such as
|
|
24
|
+
* `compute.instance.provisioned` is addressed to whoever created the instance, while
|
|
25
|
+
* `monitoring.alert.raised` is addressed to every member of the project. The full catalogue is
|
|
26
|
+
* available from `GET /api/v1/notification-types` and is stable: a type identifier is never
|
|
27
|
+
* reused for a different event.
|
|
28
|
+
* - **Text is rendered at read time from the language on your preferences.** Changing the
|
|
29
|
+
* language changes the text of everything already in the inbox. Messages already delivered by
|
|
30
|
+
* email or to an outbound channel are not rewritten, because they have already been sent.
|
|
31
|
+
* - **Times inside rendered text are stated in UTC and say so.** There is no time zone setting.
|
|
32
|
+
* Clients that can determine the reader's time zone should present `created_at`, `occurred_at`
|
|
33
|
+
* and the timestamps in `params` — all of which are RFC 3339 — in local time instead. Email
|
|
34
|
+
* cannot do this, which is why the text it carries is explicit about being UTC.
|
|
35
|
+
* - **Some types must reach you, and those cannot be muted or removed from email.** They are
|
|
36
|
+
* marked `mandatory` in the catalogue: types you would only find out about by signing in, when
|
|
37
|
+
* not finding out costs you something — a suspension, a deletion, a credential that expires.
|
|
38
|
+
* Everything else about them is still configurable, including adding channels of your own.
|
|
39
|
+
* - **Deleting a preference restores the default; it does not turn the type off.** To stop
|
|
40
|
+
* receiving a type, set `muted` on it.
|
|
41
|
+
* - **Outbound channels deliver nothing until they are verified.** Registering a channel does not
|
|
42
|
+
* contact it. Verification is a separate operation that sends one message, and only a channel
|
|
43
|
+
* that has acknowledged it receives anything afterwards.
|
|
44
|
+
* - **Channel endpoints are never returned.** No operation, including the one that registers
|
|
45
|
+
* them, returns the address that was submitted. A channel entered incorrectly must be deleted
|
|
46
|
+
* and registered again.
|
|
47
|
+
*
|
|
48
|
+
* ## Rate and volume
|
|
49
|
+
*
|
|
50
|
+
* Delivery to outbound channels is limited per channel, and bursts of alerts about one server are
|
|
51
|
+
* summarised rather than sent individually. Nothing is summarised in the inbox: it always holds
|
|
52
|
+
* every notification. A notification that was summarised or suppressed is still readable here.
|
|
53
|
+
*
|
|
54
|
+
* ## One-time credentials
|
|
55
|
+
*
|
|
56
|
+
* Some notifications carry a reference to a credential rather than the credential itself — the
|
|
57
|
+
* initial password of a newly created instance, for example. That credential is readable exactly
|
|
58
|
+
* once, expires on its own, and is destroyed as soon as it has been read. Requesting it a second
|
|
59
|
+
* time returns `CREDENTIAL_TICKET_CONSUMED`.
|
|
60
|
+
* OpenAPI spec version: 1.0.0
|
|
61
|
+
*/
|
|
62
|
+
import * as zod from "zod";
|
|
63
|
+
export const FieldViolation = zod.strictObject({
|
|
64
|
+
field: zod
|
|
65
|
+
.string()
|
|
66
|
+
.describe("The path to the rejected field in the request body, such as `items[2].price_id`."),
|
|
67
|
+
reason: zod
|
|
68
|
+
.string()
|
|
69
|
+
.optional()
|
|
70
|
+
.describe("Why the field was rejected, such as `REQUIRED` or `OUT_OF_RANGE`."),
|
|
71
|
+
});
|
|
@@ -48,22 +48,64 @@
|
|
|
48
48
|
* announcements are not part of this API; they are owned by the notification service.
|
|
49
49
|
* OpenAPI spec version: 1.0.0
|
|
50
50
|
*/
|
|
51
|
+
export interface FieldViolation {
|
|
52
|
+
/** The path to the rejected field in the request body, such as `items[2].price_id`. */
|
|
53
|
+
field: string;
|
|
54
|
+
/** Why the field was rejected, such as `REQUIRED` or `OUT_OF_RANGE`. */
|
|
55
|
+
reason?: string;
|
|
56
|
+
}
|
|
51
57
|
/**
|
|
52
|
-
*
|
|
53
|
-
* and
|
|
58
|
+
* Values that belong to `reason`, one set per reason. Clients use them to fill in
|
|
59
|
+
* localized text and never parse `message` to obtain them. Keys are documented per
|
|
60
|
+
* reason; a key that has appeared once keeps appearing.
|
|
54
61
|
*/
|
|
55
|
-
export type
|
|
56
|
-
[key: string]:
|
|
62
|
+
export type ErrorStatusMetadata = {
|
|
63
|
+
[key: string]: string;
|
|
57
64
|
};
|
|
58
|
-
export interface
|
|
59
|
-
code
|
|
65
|
+
export interface ErrorStatus {
|
|
66
|
+
/** The HTTP status code of the response. */
|
|
67
|
+
code: number;
|
|
68
|
+
/** The canonical name of the status, such as `INVALID_ARGUMENT` or `UNAVAILABLE`. */
|
|
69
|
+
status: string;
|
|
70
|
+
/**
|
|
71
|
+
* A description of the failure for developers. It is always English and is not meant
|
|
72
|
+
* to be shown to end users as is.
|
|
73
|
+
*/
|
|
60
74
|
message: string;
|
|
61
75
|
/**
|
|
62
|
-
*
|
|
63
|
-
* and
|
|
76
|
+
* A stable machine-readable code identifying the failure. Clients branch on this value
|
|
77
|
+
* and render their own text; it does not change once published.
|
|
78
|
+
*/
|
|
79
|
+
reason?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Values that belong to `reason`, one set per reason. Clients use them to fill in
|
|
82
|
+
* localized text and never parse `message` to obtain them. Keys are documented per
|
|
83
|
+
* reason; a key that has appeared once keeps appearing.
|
|
84
|
+
*/
|
|
85
|
+
metadata?: ErrorStatusMetadata;
|
|
86
|
+
/**
|
|
87
|
+
* Request fields rejected by the request's constraints. Present on validation
|
|
88
|
+
* failures; one request may violate several fields.
|
|
64
89
|
*/
|
|
65
|
-
|
|
66
|
-
|
|
90
|
+
field_violations?: FieldViolation[];
|
|
91
|
+
/**
|
|
92
|
+
* How long the client should wait before retrying, as a duration string such as
|
|
93
|
+
* `30s`. Present only when waiting can succeed.
|
|
94
|
+
*/
|
|
95
|
+
retry_delay?: string;
|
|
96
|
+
/**
|
|
97
|
+
* The identifier of the request in the service's logs. Quote it when reporting a
|
|
98
|
+
* failure.
|
|
99
|
+
*/
|
|
100
|
+
request_id?: string;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* A failed request. The envelope follows the Google REST error format: `code` is the HTTP
|
|
104
|
+
* status, `status` is its canonical name, and `reason` is the stable machine-readable code
|
|
105
|
+
* that identifies the failure.
|
|
106
|
+
*/
|
|
107
|
+
export interface Error {
|
|
108
|
+
error: ErrorStatus;
|
|
67
109
|
}
|
|
68
110
|
/**
|
|
69
111
|
* `OPEN` is waiting on us. `AWAITING_USER` is waiting on you. `CLOSED` is finished.
|
|
@@ -50,10 +50,19 @@
|
|
|
50
50
|
*/
|
|
51
51
|
import * as zod from "zod";
|
|
52
52
|
export declare const Error: zod.ZodObject<{
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
error: zod.ZodObject<{
|
|
54
|
+
code: zod.ZodInt;
|
|
55
|
+
status: zod.ZodString;
|
|
56
|
+
message: zod.ZodString;
|
|
57
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
58
|
+
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
59
|
+
field_violations: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
60
|
+
field: zod.ZodString;
|
|
61
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
62
|
+
}, zod.z.core.$strict>>>;
|
|
63
|
+
retry_delay: zod.ZodOptional<zod.ZodString>;
|
|
64
|
+
request_id: zod.ZodOptional<zod.ZodString>;
|
|
65
|
+
}, zod.z.core.$strict>;
|
|
57
66
|
}, zod.z.core.$strict>;
|
|
58
67
|
export type Error = zod.input<typeof Error>;
|
|
59
68
|
export type ErrorOutput = zod.output<typeof Error>;
|
|
@@ -49,12 +49,9 @@
|
|
|
49
49
|
* OpenAPI spec version: 1.0.0
|
|
50
50
|
*/
|
|
51
51
|
import * as zod from "zod";
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
.describe("What a given `code` carries alongside the message. The keys depend on the code,\nand a client that does not recognise one ignores it."),
|
|
59
|
-
status: zod.int(),
|
|
60
|
-
});
|
|
52
|
+
import { ErrorStatus } from "./errorStatus.zod.js";
|
|
53
|
+
export const Error = zod
|
|
54
|
+
.strictObject({
|
|
55
|
+
error: ErrorStatus,
|
|
56
|
+
})
|
|
57
|
+
.describe("A failed request. The envelope follows the Google REST error format: `code` is the HTTP\nstatus, `status` is its canonical name, and `reason` is the stable machine-readable code\nthat identifies the failure.");
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Support API
|
|
5
|
+
* Support tickets and scheduled maintenance notices.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme. The single
|
|
10
|
+
* exception is `GET /api/v1/notices`, which requires no credentials at all.
|
|
11
|
+
*
|
|
12
|
+
* **Neither the path nor the headers carry a `project_id`**: the current project is determined by
|
|
13
|
+
* the token.
|
|
14
|
+
*
|
|
15
|
+
* ## Tickets belong to the project
|
|
16
|
+
*
|
|
17
|
+
* A ticket is owned by the project it was opened in, not by the person who opened it. Every member
|
|
18
|
+
* of that project can read it, reply to it and close it. `created_by` records who opened it and is
|
|
19
|
+
* informational.
|
|
20
|
+
*
|
|
21
|
+
* A ticket is in one of three states:
|
|
22
|
+
*
|
|
23
|
+
* | State | Meaning |
|
|
24
|
+
* | --- | --- |
|
|
25
|
+
* | `OPEN` | Waiting on us |
|
|
26
|
+
* | `AWAITING_USER` | Waiting on you |
|
|
27
|
+
* | `CLOSED` | Finished |
|
|
28
|
+
*
|
|
29
|
+
* **The state follows whoever spoke last** and cannot be set directly. Posting a message moves the
|
|
30
|
+
* ticket to `OPEN`; a reply from support moves it to `AWAITING_USER`. Posting a message on a closed
|
|
31
|
+
* ticket reopens it as `OPEN`, so a follow-up question never lands on a ticket nobody reads.
|
|
32
|
+
*
|
|
33
|
+
* Tickets left in `AWAITING_USER` without activity are closed automatically after a period of
|
|
34
|
+
* inactivity. Tickets in `OPEN` are never closed automatically.
|
|
35
|
+
*
|
|
36
|
+
* ## Attachments are uploaded before they are referenced
|
|
37
|
+
*
|
|
38
|
+
* Upload a file to `POST /api/v1/attachments`, then pass the returned id in `attachment_ids` when
|
|
39
|
+
* opening a ticket or posting a message. An attachment that is never referenced is removed after a
|
|
40
|
+
* time, so upload and reference in the same session.
|
|
41
|
+
*
|
|
42
|
+
* The content type is determined from the content itself, not from the `Content-Type` header.
|
|
43
|
+
* Files whose determined type is not accepted are rejected with `TICKET_ATTACHMENT_TYPE_REJECTED`.
|
|
44
|
+
*
|
|
45
|
+
* ## Maintenance is read-only here
|
|
46
|
+
*
|
|
47
|
+
* Scheduled maintenance is published by platform operators and is read-only here. Platform
|
|
48
|
+
* announcements are not part of this API; they are owned by the notification service.
|
|
49
|
+
* OpenAPI spec version: 1.0.0
|
|
50
|
+
*/
|
|
51
|
+
import * as zod from "zod";
|
|
52
|
+
export declare const ErrorStatus: zod.ZodObject<{
|
|
53
|
+
code: zod.ZodInt;
|
|
54
|
+
status: zod.ZodString;
|
|
55
|
+
message: zod.ZodString;
|
|
56
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
57
|
+
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
58
|
+
field_violations: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
59
|
+
field: zod.ZodString;
|
|
60
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
61
|
+
}, zod.z.core.$strict>>>;
|
|
62
|
+
retry_delay: zod.ZodOptional<zod.ZodString>;
|
|
63
|
+
request_id: zod.ZodOptional<zod.ZodString>;
|
|
64
|
+
}, zod.z.core.$strict>;
|
|
65
|
+
export type ErrorStatus = zod.input<typeof ErrorStatus>;
|
|
66
|
+
export type ErrorStatusOutput = zod.output<typeof ErrorStatus>;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Support API
|
|
5
|
+
* Support tickets and scheduled maintenance notices.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme. The single
|
|
10
|
+
* exception is `GET /api/v1/notices`, which requires no credentials at all.
|
|
11
|
+
*
|
|
12
|
+
* **Neither the path nor the headers carry a `project_id`**: the current project is determined by
|
|
13
|
+
* the token.
|
|
14
|
+
*
|
|
15
|
+
* ## Tickets belong to the project
|
|
16
|
+
*
|
|
17
|
+
* A ticket is owned by the project it was opened in, not by the person who opened it. Every member
|
|
18
|
+
* of that project can read it, reply to it and close it. `created_by` records who opened it and is
|
|
19
|
+
* informational.
|
|
20
|
+
*
|
|
21
|
+
* A ticket is in one of three states:
|
|
22
|
+
*
|
|
23
|
+
* | State | Meaning |
|
|
24
|
+
* | --- | --- |
|
|
25
|
+
* | `OPEN` | Waiting on us |
|
|
26
|
+
* | `AWAITING_USER` | Waiting on you |
|
|
27
|
+
* | `CLOSED` | Finished |
|
|
28
|
+
*
|
|
29
|
+
* **The state follows whoever spoke last** and cannot be set directly. Posting a message moves the
|
|
30
|
+
* ticket to `OPEN`; a reply from support moves it to `AWAITING_USER`. Posting a message on a closed
|
|
31
|
+
* ticket reopens it as `OPEN`, so a follow-up question never lands on a ticket nobody reads.
|
|
32
|
+
*
|
|
33
|
+
* Tickets left in `AWAITING_USER` without activity are closed automatically after a period of
|
|
34
|
+
* inactivity. Tickets in `OPEN` are never closed automatically.
|
|
35
|
+
*
|
|
36
|
+
* ## Attachments are uploaded before they are referenced
|
|
37
|
+
*
|
|
38
|
+
* Upload a file to `POST /api/v1/attachments`, then pass the returned id in `attachment_ids` when
|
|
39
|
+
* opening a ticket or posting a message. An attachment that is never referenced is removed after a
|
|
40
|
+
* time, so upload and reference in the same session.
|
|
41
|
+
*
|
|
42
|
+
* The content type is determined from the content itself, not from the `Content-Type` header.
|
|
43
|
+
* Files whose determined type is not accepted are rejected with `TICKET_ATTACHMENT_TYPE_REJECTED`.
|
|
44
|
+
*
|
|
45
|
+
* ## Maintenance is read-only here
|
|
46
|
+
*
|
|
47
|
+
* Scheduled maintenance is published by platform operators and is read-only here. Platform
|
|
48
|
+
* announcements are not part of this API; they are owned by the notification service.
|
|
49
|
+
* OpenAPI spec version: 1.0.0
|
|
50
|
+
*/
|
|
51
|
+
import * as zod from "zod";
|
|
52
|
+
import { FieldViolation } from "./fieldViolation.zod.js";
|
|
53
|
+
export const ErrorStatus = zod.strictObject({
|
|
54
|
+
code: zod.int().describe("The HTTP status code of the response."),
|
|
55
|
+
status: zod
|
|
56
|
+
.string()
|
|
57
|
+
.describe("The canonical name of the status, such as `INVALID_ARGUMENT` or `UNAVAILABLE`."),
|
|
58
|
+
message: zod
|
|
59
|
+
.string()
|
|
60
|
+
.describe("A description of the failure for developers. It is always English and is not meant\nto be shown to end users as is."),
|
|
61
|
+
reason: zod
|
|
62
|
+
.string()
|
|
63
|
+
.optional()
|
|
64
|
+
.describe("A stable machine-readable code identifying the failure. Clients branch on this value\nand render their own text; it does not change once published."),
|
|
65
|
+
metadata: zod
|
|
66
|
+
.record(zod.string(), zod.string())
|
|
67
|
+
.optional()
|
|
68
|
+
.describe("Values that belong to `reason`, one set per reason. Clients use them to fill in\nlocalized text and never parse `message` to obtain them. Keys are documented per\nreason; a key that has appeared once keeps appearing."),
|
|
69
|
+
field_violations: zod
|
|
70
|
+
.array(FieldViolation)
|
|
71
|
+
.optional()
|
|
72
|
+
.describe("Request fields rejected by the request's constraints. Present on validation\nfailures; one request may violate several fields."),
|
|
73
|
+
retry_delay: zod
|
|
74
|
+
.string()
|
|
75
|
+
.optional()
|
|
76
|
+
.describe("How long the client should wait before retrying, as a duration string such as\n`30s`. Present only when waiting can succeed."),
|
|
77
|
+
request_id: zod
|
|
78
|
+
.string()
|
|
79
|
+
.optional()
|
|
80
|
+
.describe("The identifier of the request in the service's logs. Quote it when reporting a\nfailure."),
|
|
81
|
+
});
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Support API
|
|
5
|
+
* Support tickets and scheduled maintenance notices.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme. The single
|
|
10
|
+
* exception is `GET /api/v1/notices`, which requires no credentials at all.
|
|
11
|
+
*
|
|
12
|
+
* **Neither the path nor the headers carry a `project_id`**: the current project is determined by
|
|
13
|
+
* the token.
|
|
14
|
+
*
|
|
15
|
+
* ## Tickets belong to the project
|
|
16
|
+
*
|
|
17
|
+
* A ticket is owned by the project it was opened in, not by the person who opened it. Every member
|
|
18
|
+
* of that project can read it, reply to it and close it. `created_by` records who opened it and is
|
|
19
|
+
* informational.
|
|
20
|
+
*
|
|
21
|
+
* A ticket is in one of three states:
|
|
22
|
+
*
|
|
23
|
+
* | State | Meaning |
|
|
24
|
+
* | --- | --- |
|
|
25
|
+
* | `OPEN` | Waiting on us |
|
|
26
|
+
* | `AWAITING_USER` | Waiting on you |
|
|
27
|
+
* | `CLOSED` | Finished |
|
|
28
|
+
*
|
|
29
|
+
* **The state follows whoever spoke last** and cannot be set directly. Posting a message moves the
|
|
30
|
+
* ticket to `OPEN`; a reply from support moves it to `AWAITING_USER`. Posting a message on a closed
|
|
31
|
+
* ticket reopens it as `OPEN`, so a follow-up question never lands on a ticket nobody reads.
|
|
32
|
+
*
|
|
33
|
+
* Tickets left in `AWAITING_USER` without activity are closed automatically after a period of
|
|
34
|
+
* inactivity. Tickets in `OPEN` are never closed automatically.
|
|
35
|
+
*
|
|
36
|
+
* ## Attachments are uploaded before they are referenced
|
|
37
|
+
*
|
|
38
|
+
* Upload a file to `POST /api/v1/attachments`, then pass the returned id in `attachment_ids` when
|
|
39
|
+
* opening a ticket or posting a message. An attachment that is never referenced is removed after a
|
|
40
|
+
* time, so upload and reference in the same session.
|
|
41
|
+
*
|
|
42
|
+
* The content type is determined from the content itself, not from the `Content-Type` header.
|
|
43
|
+
* Files whose determined type is not accepted are rejected with `TICKET_ATTACHMENT_TYPE_REJECTED`.
|
|
44
|
+
*
|
|
45
|
+
* ## Maintenance is read-only here
|
|
46
|
+
*
|
|
47
|
+
* Scheduled maintenance is published by platform operators and is read-only here. Platform
|
|
48
|
+
* announcements are not part of this API; they are owned by the notification service.
|
|
49
|
+
* OpenAPI spec version: 1.0.0
|
|
50
|
+
*/
|
|
51
|
+
import * as zod from "zod";
|
|
52
|
+
export declare const FieldViolation: zod.ZodObject<{
|
|
53
|
+
field: zod.ZodString;
|
|
54
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
55
|
+
}, zod.z.core.$strict>;
|
|
56
|
+
export type FieldViolation = zod.input<typeof FieldViolation>;
|
|
57
|
+
export type FieldViolationOutput = zod.output<typeof FieldViolation>;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Support API
|
|
5
|
+
* Support tickets and scheduled maintenance notices.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme. The single
|
|
10
|
+
* exception is `GET /api/v1/notices`, which requires no credentials at all.
|
|
11
|
+
*
|
|
12
|
+
* **Neither the path nor the headers carry a `project_id`**: the current project is determined by
|
|
13
|
+
* the token.
|
|
14
|
+
*
|
|
15
|
+
* ## Tickets belong to the project
|
|
16
|
+
*
|
|
17
|
+
* A ticket is owned by the project it was opened in, not by the person who opened it. Every member
|
|
18
|
+
* of that project can read it, reply to it and close it. `created_by` records who opened it and is
|
|
19
|
+
* informational.
|
|
20
|
+
*
|
|
21
|
+
* A ticket is in one of three states:
|
|
22
|
+
*
|
|
23
|
+
* | State | Meaning |
|
|
24
|
+
* | --- | --- |
|
|
25
|
+
* | `OPEN` | Waiting on us |
|
|
26
|
+
* | `AWAITING_USER` | Waiting on you |
|
|
27
|
+
* | `CLOSED` | Finished |
|
|
28
|
+
*
|
|
29
|
+
* **The state follows whoever spoke last** and cannot be set directly. Posting a message moves the
|
|
30
|
+
* ticket to `OPEN`; a reply from support moves it to `AWAITING_USER`. Posting a message on a closed
|
|
31
|
+
* ticket reopens it as `OPEN`, so a follow-up question never lands on a ticket nobody reads.
|
|
32
|
+
*
|
|
33
|
+
* Tickets left in `AWAITING_USER` without activity are closed automatically after a period of
|
|
34
|
+
* inactivity. Tickets in `OPEN` are never closed automatically.
|
|
35
|
+
*
|
|
36
|
+
* ## Attachments are uploaded before they are referenced
|
|
37
|
+
*
|
|
38
|
+
* Upload a file to `POST /api/v1/attachments`, then pass the returned id in `attachment_ids` when
|
|
39
|
+
* opening a ticket or posting a message. An attachment that is never referenced is removed after a
|
|
40
|
+
* time, so upload and reference in the same session.
|
|
41
|
+
*
|
|
42
|
+
* The content type is determined from the content itself, not from the `Content-Type` header.
|
|
43
|
+
* Files whose determined type is not accepted are rejected with `TICKET_ATTACHMENT_TYPE_REJECTED`.
|
|
44
|
+
*
|
|
45
|
+
* ## Maintenance is read-only here
|
|
46
|
+
*
|
|
47
|
+
* Scheduled maintenance is published by platform operators and is read-only here. Platform
|
|
48
|
+
* announcements are not part of this API; they are owned by the notification service.
|
|
49
|
+
* OpenAPI spec version: 1.0.0
|
|
50
|
+
*/
|
|
51
|
+
import * as zod from "zod";
|
|
52
|
+
export const FieldViolation = zod.strictObject({
|
|
53
|
+
field: zod
|
|
54
|
+
.string()
|
|
55
|
+
.describe("The path to the rejected field in the request body, such as `items[2].price_id`."),
|
|
56
|
+
reason: zod
|
|
57
|
+
.string()
|
|
58
|
+
.optional()
|
|
59
|
+
.describe("Why the field was rejected, such as `REQUIRED` or `OUT_OF_RANGE`."),
|
|
60
|
+
});
|
|
@@ -127,22 +127,64 @@ export interface Catalog {
|
|
|
127
127
|
source_observed_at: string;
|
|
128
128
|
complete: boolean;
|
|
129
129
|
}
|
|
130
|
+
export interface FieldViolation {
|
|
131
|
+
/** The path to the rejected field in the request body, such as `items[2].price_id`. */
|
|
132
|
+
field: string;
|
|
133
|
+
/** Why the field was rejected, such as `REQUIRED` or `OUT_OF_RANGE`. */
|
|
134
|
+
reason?: string;
|
|
135
|
+
}
|
|
130
136
|
/**
|
|
131
|
-
*
|
|
132
|
-
* and
|
|
137
|
+
* Values that belong to `reason`, one set per reason. Clients use them to fill in
|
|
138
|
+
* localized text and never parse `message` to obtain them. Keys are documented per
|
|
139
|
+
* reason; a key that has appeared once keeps appearing.
|
|
133
140
|
*/
|
|
134
|
-
export type
|
|
135
|
-
[key: string]:
|
|
141
|
+
export type ErrorStatusMetadata = {
|
|
142
|
+
[key: string]: string;
|
|
136
143
|
};
|
|
137
|
-
export interface
|
|
138
|
-
code
|
|
144
|
+
export interface ErrorStatus {
|
|
145
|
+
/** The HTTP status code of the response. */
|
|
146
|
+
code: number;
|
|
147
|
+
/** The canonical name of the status, such as `INVALID_ARGUMENT` or `UNAVAILABLE`. */
|
|
148
|
+
status: string;
|
|
149
|
+
/**
|
|
150
|
+
* A description of the failure for developers. It is always English and is not meant
|
|
151
|
+
* to be shown to end users as is.
|
|
152
|
+
*/
|
|
139
153
|
message: string;
|
|
140
154
|
/**
|
|
141
|
-
*
|
|
142
|
-
* and
|
|
155
|
+
* A stable machine-readable code identifying the failure. Clients branch on this value
|
|
156
|
+
* and render their own text; it does not change once published.
|
|
157
|
+
*/
|
|
158
|
+
reason?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Values that belong to `reason`, one set per reason. Clients use them to fill in
|
|
161
|
+
* localized text and never parse `message` to obtain them. Keys are documented per
|
|
162
|
+
* reason; a key that has appeared once keeps appearing.
|
|
163
|
+
*/
|
|
164
|
+
metadata?: ErrorStatusMetadata;
|
|
165
|
+
/**
|
|
166
|
+
* Request fields rejected by the request's constraints. Present on validation
|
|
167
|
+
* failures; one request may violate several fields.
|
|
143
168
|
*/
|
|
144
|
-
|
|
145
|
-
|
|
169
|
+
field_violations?: FieldViolation[];
|
|
170
|
+
/**
|
|
171
|
+
* How long the client should wait before retrying, as a duration string such as
|
|
172
|
+
* `30s`. Present only when waiting can succeed.
|
|
173
|
+
*/
|
|
174
|
+
retry_delay?: string;
|
|
175
|
+
/**
|
|
176
|
+
* The identifier of the request in the service's logs. Quote it when reporting a
|
|
177
|
+
* failure.
|
|
178
|
+
*/
|
|
179
|
+
request_id?: string;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* A failed request. The envelope follows the Google REST error format: `code` is the HTTP
|
|
183
|
+
* status, `status` is its canonical name, and `reason` is the stable machine-readable code
|
|
184
|
+
* that identifies the failure.
|
|
185
|
+
*/
|
|
186
|
+
export interface Error {
|
|
187
|
+
error: ErrorStatus;
|
|
146
188
|
}
|
|
147
189
|
export type InstancePricePeriodMonths = (typeof InstancePricePeriodMonths)[keyof typeof InstancePricePeriodMonths];
|
|
148
190
|
export declare const InstancePricePeriodMonths: {
|
|
@@ -7,10 +7,19 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as zod from "zod";
|
|
9
9
|
export declare const Error: zod.ZodObject<{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
error: zod.ZodObject<{
|
|
11
|
+
code: zod.ZodInt;
|
|
12
|
+
status: zod.ZodString;
|
|
13
|
+
message: zod.ZodString;
|
|
14
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
15
|
+
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
16
|
+
field_violations: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
17
|
+
field: zod.ZodString;
|
|
18
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
19
|
+
}, zod.z.core.$strict>>>;
|
|
20
|
+
retry_delay: zod.ZodOptional<zod.ZodString>;
|
|
21
|
+
request_id: zod.ZodOptional<zod.ZodString>;
|
|
22
|
+
}, zod.z.core.$strict>;
|
|
14
23
|
}, zod.z.core.$strict>;
|
|
15
24
|
export type Error = zod.input<typeof Error>;
|
|
16
25
|
export type ErrorOutput = zod.output<typeof Error>;
|
|
@@ -6,12 +6,9 @@
|
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
8
|
import * as zod from "zod";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.describe("What a given `code` carries alongside the message. The keys depend on the code,\nand a client that does not recognise one ignores it."),
|
|
16
|
-
status: zod.int(),
|
|
17
|
-
});
|
|
9
|
+
import { ErrorStatus } from "./errorStatus.zod.js";
|
|
10
|
+
export const Error = zod
|
|
11
|
+
.strictObject({
|
|
12
|
+
error: ErrorStatus,
|
|
13
|
+
})
|
|
14
|
+
.describe("A failed request. The envelope follows the Google REST error format: `code` is the HTTP\nstatus, `status` is its canonical name, and `reason` is the stable machine-readable code\nthat identifies the failure.");
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow SWAS API
|
|
5
|
+
* Manage SWAS purchases and instances in the current project. Use an IAM scoped token for every request. Amounts are decimal strings in the stated currency; timestamps are UTC RFC 3339. Accepted requests may still be in progress. Read purchase, operation and refund progress separately.
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
import * as zod from "zod";
|
|
9
|
+
export declare const ErrorStatus: zod.ZodObject<{
|
|
10
|
+
code: zod.ZodInt;
|
|
11
|
+
status: zod.ZodString;
|
|
12
|
+
message: zod.ZodString;
|
|
13
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
14
|
+
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
15
|
+
field_violations: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
16
|
+
field: zod.ZodString;
|
|
17
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
18
|
+
}, zod.z.core.$strict>>>;
|
|
19
|
+
retry_delay: zod.ZodOptional<zod.ZodString>;
|
|
20
|
+
request_id: zod.ZodOptional<zod.ZodString>;
|
|
21
|
+
}, zod.z.core.$strict>;
|
|
22
|
+
export type ErrorStatus = zod.input<typeof ErrorStatus>;
|
|
23
|
+
export type ErrorStatusOutput = zod.output<typeof ErrorStatus>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow SWAS API
|
|
5
|
+
* Manage SWAS purchases and instances in the current project. Use an IAM scoped token for every request. Amounts are decimal strings in the stated currency; timestamps are UTC RFC 3339. Accepted requests may still be in progress. Read purchase, operation and refund progress separately.
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
import * as zod from "zod";
|
|
9
|
+
import { FieldViolation } from "./fieldViolation.zod.js";
|
|
10
|
+
export const ErrorStatus = zod.strictObject({
|
|
11
|
+
code: zod.int().describe("The HTTP status code of the response."),
|
|
12
|
+
status: zod
|
|
13
|
+
.string()
|
|
14
|
+
.describe("The canonical name of the status, such as `INVALID_ARGUMENT` or `UNAVAILABLE`."),
|
|
15
|
+
message: zod
|
|
16
|
+
.string()
|
|
17
|
+
.describe("A description of the failure for developers. It is always English and is not meant\nto be shown to end users as is."),
|
|
18
|
+
reason: zod
|
|
19
|
+
.string()
|
|
20
|
+
.optional()
|
|
21
|
+
.describe("A stable machine-readable code identifying the failure. Clients branch on this value\nand render their own text; it does not change once published."),
|
|
22
|
+
metadata: zod
|
|
23
|
+
.record(zod.string(), zod.string())
|
|
24
|
+
.optional()
|
|
25
|
+
.describe("Values that belong to `reason`, one set per reason. Clients use them to fill in\nlocalized text and never parse `message` to obtain them. Keys are documented per\nreason; a key that has appeared once keeps appearing."),
|
|
26
|
+
field_violations: zod
|
|
27
|
+
.array(FieldViolation)
|
|
28
|
+
.optional()
|
|
29
|
+
.describe("Request fields rejected by the request's constraints. Present on validation\nfailures; one request may violate several fields."),
|
|
30
|
+
retry_delay: zod
|
|
31
|
+
.string()
|
|
32
|
+
.optional()
|
|
33
|
+
.describe("How long the client should wait before retrying, as a duration string such as\n`30s`. Present only when waiting can succeed."),
|
|
34
|
+
request_id: zod
|
|
35
|
+
.string()
|
|
36
|
+
.optional()
|
|
37
|
+
.describe("The identifier of the request in the service's logs. Quote it when reporting a\nfailure."),
|
|
38
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow SWAS API
|
|
5
|
+
* Manage SWAS purchases and instances in the current project. Use an IAM scoped token for every request. Amounts are decimal strings in the stated currency; timestamps are UTC RFC 3339. Accepted requests may still be in progress. Read purchase, operation and refund progress separately.
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
import * as zod from "zod";
|
|
9
|
+
export declare const FieldViolation: zod.ZodObject<{
|
|
10
|
+
field: zod.ZodString;
|
|
11
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
12
|
+
}, zod.z.core.$strict>;
|
|
13
|
+
export type FieldViolation = zod.input<typeof FieldViolation>;
|
|
14
|
+
export type FieldViolationOutput = zod.output<typeof FieldViolation>;
|