@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
|
@@ -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: v1
|
|
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 Billing API
|
|
5
|
+
* Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
|
|
6
|
+
* OpenAPI spec version: v1
|
|
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 Billing API
|
|
5
|
+
* Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
|
|
6
|
+
* OpenAPI spec version: v1
|
|
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 Billing API
|
|
5
|
+
* Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
|
|
6
|
+
* OpenAPI spec version: v1
|
|
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>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Billing API
|
|
5
|
+
* Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
|
|
6
|
+
* OpenAPI spec version: v1
|
|
7
|
+
*/
|
|
8
|
+
import * as zod from "zod";
|
|
9
|
+
export const FieldViolation = zod.strictObject({
|
|
10
|
+
field: zod
|
|
11
|
+
.string()
|
|
12
|
+
.describe("The path to the rejected field in the request body, such as `items[2].price_id`."),
|
|
13
|
+
reason: zod
|
|
14
|
+
.string()
|
|
15
|
+
.optional()
|
|
16
|
+
.describe("Why the field was rejected, such as `REQUIRED` or `OUT_OF_RANGE`."),
|
|
17
|
+
});
|
|
@@ -184,22 +184,64 @@ export type InferenceErrorError = {
|
|
|
184
184
|
export interface InferenceError {
|
|
185
185
|
error: InferenceErrorError;
|
|
186
186
|
}
|
|
187
|
+
export interface FieldViolation {
|
|
188
|
+
/** The path to the rejected field in the request body, such as `items[2].price_id`. */
|
|
189
|
+
field: string;
|
|
190
|
+
/** Why the field was rejected, such as `REQUIRED` or `OUT_OF_RANGE`. */
|
|
191
|
+
reason?: string;
|
|
192
|
+
}
|
|
187
193
|
/**
|
|
188
|
-
*
|
|
189
|
-
* and
|
|
194
|
+
* Values that belong to `reason`, one set per reason. Clients use them to fill in
|
|
195
|
+
* localized text and never parse `message` to obtain them. Keys are documented per
|
|
196
|
+
* reason; a key that has appeared once keeps appearing.
|
|
190
197
|
*/
|
|
191
|
-
export type
|
|
192
|
-
[key: string]:
|
|
198
|
+
export type ErrorStatusMetadata = {
|
|
199
|
+
[key: string]: string;
|
|
193
200
|
};
|
|
194
|
-
export interface
|
|
195
|
-
code
|
|
201
|
+
export interface ErrorStatus {
|
|
202
|
+
/** The HTTP status code of the response. */
|
|
203
|
+
code: number;
|
|
204
|
+
/** The canonical name of the status, such as `INVALID_ARGUMENT` or `UNAVAILABLE`. */
|
|
205
|
+
status: string;
|
|
206
|
+
/**
|
|
207
|
+
* A description of the failure for developers. It is always English and is not meant
|
|
208
|
+
* to be shown to end users as is.
|
|
209
|
+
*/
|
|
196
210
|
message: string;
|
|
197
211
|
/**
|
|
198
|
-
*
|
|
199
|
-
* and
|
|
212
|
+
* A stable machine-readable code identifying the failure. Clients branch on this value
|
|
213
|
+
* and render their own text; it does not change once published.
|
|
214
|
+
*/
|
|
215
|
+
reason?: string;
|
|
216
|
+
/**
|
|
217
|
+
* Values that belong to `reason`, one set per reason. Clients use them to fill in
|
|
218
|
+
* localized text and never parse `message` to obtain them. Keys are documented per
|
|
219
|
+
* reason; a key that has appeared once keeps appearing.
|
|
220
|
+
*/
|
|
221
|
+
metadata?: ErrorStatusMetadata;
|
|
222
|
+
/**
|
|
223
|
+
* Request fields rejected by the request's constraints. Present on validation
|
|
224
|
+
* failures; one request may violate several fields.
|
|
225
|
+
*/
|
|
226
|
+
field_violations?: FieldViolation[];
|
|
227
|
+
/**
|
|
228
|
+
* How long the client should wait before retrying, as a duration string such as
|
|
229
|
+
* `30s`. Present only when waiting can succeed.
|
|
230
|
+
*/
|
|
231
|
+
retry_delay?: string;
|
|
232
|
+
/**
|
|
233
|
+
* The identifier of the request in the service's logs. Quote it when reporting a
|
|
234
|
+
* failure.
|
|
200
235
|
*/
|
|
201
|
-
|
|
202
|
-
|
|
236
|
+
request_id?: string;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* A failed request. The envelope follows the Google REST error format: `code` is the HTTP
|
|
240
|
+
* status, `status` is its canonical name, and `reason` is the stable machine-readable code
|
|
241
|
+
* that identifies the failure.
|
|
242
|
+
*/
|
|
243
|
+
export interface Error {
|
|
244
|
+
error: ErrorStatus;
|
|
203
245
|
}
|
|
204
246
|
export type APIKeyResourceStatus = (typeof APIKeyResourceStatus)[keyof typeof APIKeyResourceStatus];
|
|
205
247
|
export declare const APIKeyResourceStatus: {
|
|
@@ -40,10 +40,19 @@
|
|
|
40
40
|
*/
|
|
41
41
|
import * as zod from "zod";
|
|
42
42
|
export declare const Error: zod.ZodObject<{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
error: zod.ZodObject<{
|
|
44
|
+
code: zod.ZodInt;
|
|
45
|
+
status: zod.ZodString;
|
|
46
|
+
message: zod.ZodString;
|
|
47
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
48
|
+
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
49
|
+
field_violations: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
50
|
+
field: zod.ZodString;
|
|
51
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
52
|
+
}, zod.z.core.$strict>>>;
|
|
53
|
+
retry_delay: zod.ZodOptional<zod.ZodString>;
|
|
54
|
+
request_id: zod.ZodOptional<zod.ZodString>;
|
|
55
|
+
}, zod.z.core.$strict>;
|
|
47
56
|
}, zod.z.core.$strict>;
|
|
48
57
|
export type Error = zod.input<typeof Error>;
|
|
49
58
|
export type ErrorOutput = zod.output<typeof Error>;
|
|
@@ -39,12 +39,9 @@
|
|
|
39
39
|
* OpenAPI spec version: 1.0.0
|
|
40
40
|
*/
|
|
41
41
|
import * as zod from "zod";
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
.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."),
|
|
49
|
-
status: zod.int(),
|
|
50
|
-
});
|
|
42
|
+
import { ErrorStatus } from "./errorStatus.zod.js";
|
|
43
|
+
export const Error = zod
|
|
44
|
+
.strictObject({
|
|
45
|
+
error: ErrorStatus,
|
|
46
|
+
})
|
|
47
|
+
.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,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Canopy API
|
|
5
|
+
* Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
|
|
6
|
+
*
|
|
7
|
+
* Project inference is served on this host in each provider's own protocol:
|
|
8
|
+
*
|
|
9
|
+
* - OpenAI: `/v1/chat/completions`, `/v1/responses` and `/v1/embeddings`; use
|
|
10
|
+
* `https://canopy.leaflow.cloud/v1` as the OpenAI SDK base URL.
|
|
11
|
+
* - Anthropic: `/v1/messages`; use `https://canopy.leaflow.cloud` as the Anthropic SDK base URL.
|
|
12
|
+
* - Gemini: `/v1beta/models/{model}:generateContent` and `:streamGenerateContent`.
|
|
13
|
+
*
|
|
14
|
+
* Canopy does not convert between protocols. A request is accepted only for a model whose
|
|
15
|
+
* `supported_endpoints` lists the endpoint it was sent to, and it is forwarded unchanged except for
|
|
16
|
+
* the model name and the credentials. Reasoning settings such as `reasoning_effort` are passed
|
|
17
|
+
* through as written; a model's `capabilities` lists the values its upstream accepts.
|
|
18
|
+
*
|
|
19
|
+
* Management operations use `/api/v1`. The management model catalogue names how each model is billed in Billing;
|
|
20
|
+
* `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
|
|
21
|
+
*
|
|
22
|
+
* ## Authentication
|
|
23
|
+
*
|
|
24
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme.
|
|
25
|
+
*
|
|
26
|
+
* Management and project inference accept the same verified IAM scoped token. The token is the
|
|
27
|
+
* sole billing project authority; `OpenAI-Project` and historical identity headers cannot
|
|
28
|
+
* override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
|
|
29
|
+
* accepts Canopy API keys and serves the same endpoints.
|
|
30
|
+
*
|
|
31
|
+
* ## Conventions
|
|
32
|
+
*
|
|
33
|
+
* - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
|
|
34
|
+
* - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
|
|
35
|
+
* - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
|
|
36
|
+
* - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
|
|
37
|
+
* - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
|
|
38
|
+
* - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates Billing holds for each model's `billing`.
|
|
39
|
+
* OpenAPI spec version: 1.0.0
|
|
40
|
+
*/
|
|
41
|
+
import * as zod from "zod";
|
|
42
|
+
export declare const ErrorStatus: zod.ZodObject<{
|
|
43
|
+
code: zod.ZodInt;
|
|
44
|
+
status: zod.ZodString;
|
|
45
|
+
message: zod.ZodString;
|
|
46
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
47
|
+
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
48
|
+
field_violations: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
49
|
+
field: zod.ZodString;
|
|
50
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
51
|
+
}, zod.z.core.$strict>>>;
|
|
52
|
+
retry_delay: zod.ZodOptional<zod.ZodString>;
|
|
53
|
+
request_id: zod.ZodOptional<zod.ZodString>;
|
|
54
|
+
}, zod.z.core.$strict>;
|
|
55
|
+
export type ErrorStatus = zod.input<typeof ErrorStatus>;
|
|
56
|
+
export type ErrorStatusOutput = zod.output<typeof ErrorStatus>;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Canopy API
|
|
5
|
+
* Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
|
|
6
|
+
*
|
|
7
|
+
* Project inference is served on this host in each provider's own protocol:
|
|
8
|
+
*
|
|
9
|
+
* - OpenAI: `/v1/chat/completions`, `/v1/responses` and `/v1/embeddings`; use
|
|
10
|
+
* `https://canopy.leaflow.cloud/v1` as the OpenAI SDK base URL.
|
|
11
|
+
* - Anthropic: `/v1/messages`; use `https://canopy.leaflow.cloud` as the Anthropic SDK base URL.
|
|
12
|
+
* - Gemini: `/v1beta/models/{model}:generateContent` and `:streamGenerateContent`.
|
|
13
|
+
*
|
|
14
|
+
* Canopy does not convert between protocols. A request is accepted only for a model whose
|
|
15
|
+
* `supported_endpoints` lists the endpoint it was sent to, and it is forwarded unchanged except for
|
|
16
|
+
* the model name and the credentials. Reasoning settings such as `reasoning_effort` are passed
|
|
17
|
+
* through as written; a model's `capabilities` lists the values its upstream accepts.
|
|
18
|
+
*
|
|
19
|
+
* Management operations use `/api/v1`. The management model catalogue names how each model is billed in Billing;
|
|
20
|
+
* `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
|
|
21
|
+
*
|
|
22
|
+
* ## Authentication
|
|
23
|
+
*
|
|
24
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme.
|
|
25
|
+
*
|
|
26
|
+
* Management and project inference accept the same verified IAM scoped token. The token is the
|
|
27
|
+
* sole billing project authority; `OpenAI-Project` and historical identity headers cannot
|
|
28
|
+
* override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
|
|
29
|
+
* accepts Canopy API keys and serves the same endpoints.
|
|
30
|
+
*
|
|
31
|
+
* ## Conventions
|
|
32
|
+
*
|
|
33
|
+
* - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
|
|
34
|
+
* - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
|
|
35
|
+
* - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
|
|
36
|
+
* - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
|
|
37
|
+
* - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
|
|
38
|
+
* - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates Billing holds for each model's `billing`.
|
|
39
|
+
* OpenAPI spec version: 1.0.0
|
|
40
|
+
*/
|
|
41
|
+
import * as zod from "zod";
|
|
42
|
+
import { FieldViolation } from "./fieldViolation.zod.js";
|
|
43
|
+
export const ErrorStatus = zod.strictObject({
|
|
44
|
+
code: zod.int().describe("The HTTP status code of the response."),
|
|
45
|
+
status: zod
|
|
46
|
+
.string()
|
|
47
|
+
.describe("The canonical name of the status, such as `INVALID_ARGUMENT` or `UNAVAILABLE`."),
|
|
48
|
+
message: zod
|
|
49
|
+
.string()
|
|
50
|
+
.describe("A description of the failure for developers. It is always English and is not meant\nto be shown to end users as is."),
|
|
51
|
+
reason: zod
|
|
52
|
+
.string()
|
|
53
|
+
.optional()
|
|
54
|
+
.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."),
|
|
55
|
+
metadata: zod
|
|
56
|
+
.record(zod.string(), zod.string())
|
|
57
|
+
.optional()
|
|
58
|
+
.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."),
|
|
59
|
+
field_violations: zod
|
|
60
|
+
.array(FieldViolation)
|
|
61
|
+
.optional()
|
|
62
|
+
.describe("Request fields rejected by the request's constraints. Present on validation\nfailures; one request may violate several fields."),
|
|
63
|
+
retry_delay: zod
|
|
64
|
+
.string()
|
|
65
|
+
.optional()
|
|
66
|
+
.describe("How long the client should wait before retrying, as a duration string such as\n`30s`. Present only when waiting can succeed."),
|
|
67
|
+
request_id: zod
|
|
68
|
+
.string()
|
|
69
|
+
.optional()
|
|
70
|
+
.describe("The identifier of the request in the service's logs. Quote it when reporting a\nfailure."),
|
|
71
|
+
});
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Canopy API
|
|
5
|
+
* Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
|
|
6
|
+
*
|
|
7
|
+
* Project inference is served on this host in each provider's own protocol:
|
|
8
|
+
*
|
|
9
|
+
* - OpenAI: `/v1/chat/completions`, `/v1/responses` and `/v1/embeddings`; use
|
|
10
|
+
* `https://canopy.leaflow.cloud/v1` as the OpenAI SDK base URL.
|
|
11
|
+
* - Anthropic: `/v1/messages`; use `https://canopy.leaflow.cloud` as the Anthropic SDK base URL.
|
|
12
|
+
* - Gemini: `/v1beta/models/{model}:generateContent` and `:streamGenerateContent`.
|
|
13
|
+
*
|
|
14
|
+
* Canopy does not convert between protocols. A request is accepted only for a model whose
|
|
15
|
+
* `supported_endpoints` lists the endpoint it was sent to, and it is forwarded unchanged except for
|
|
16
|
+
* the model name and the credentials. Reasoning settings such as `reasoning_effort` are passed
|
|
17
|
+
* through as written; a model's `capabilities` lists the values its upstream accepts.
|
|
18
|
+
*
|
|
19
|
+
* Management operations use `/api/v1`. The management model catalogue names how each model is billed in Billing;
|
|
20
|
+
* `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
|
|
21
|
+
*
|
|
22
|
+
* ## Authentication
|
|
23
|
+
*
|
|
24
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme.
|
|
25
|
+
*
|
|
26
|
+
* Management and project inference accept the same verified IAM scoped token. The token is the
|
|
27
|
+
* sole billing project authority; `OpenAI-Project` and historical identity headers cannot
|
|
28
|
+
* override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
|
|
29
|
+
* accepts Canopy API keys and serves the same endpoints.
|
|
30
|
+
*
|
|
31
|
+
* ## Conventions
|
|
32
|
+
*
|
|
33
|
+
* - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
|
|
34
|
+
* - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
|
|
35
|
+
* - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
|
|
36
|
+
* - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
|
|
37
|
+
* - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
|
|
38
|
+
* - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates Billing holds for each model's `billing`.
|
|
39
|
+
* OpenAPI spec version: 1.0.0
|
|
40
|
+
*/
|
|
41
|
+
import * as zod from "zod";
|
|
42
|
+
export declare const FieldViolation: zod.ZodObject<{
|
|
43
|
+
field: zod.ZodString;
|
|
44
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
45
|
+
}, zod.z.core.$strict>;
|
|
46
|
+
export type FieldViolation = zod.input<typeof FieldViolation>;
|
|
47
|
+
export type FieldViolationOutput = zod.output<typeof FieldViolation>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Canopy API
|
|
5
|
+
* Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
|
|
6
|
+
*
|
|
7
|
+
* Project inference is served on this host in each provider's own protocol:
|
|
8
|
+
*
|
|
9
|
+
* - OpenAI: `/v1/chat/completions`, `/v1/responses` and `/v1/embeddings`; use
|
|
10
|
+
* `https://canopy.leaflow.cloud/v1` as the OpenAI SDK base URL.
|
|
11
|
+
* - Anthropic: `/v1/messages`; use `https://canopy.leaflow.cloud` as the Anthropic SDK base URL.
|
|
12
|
+
* - Gemini: `/v1beta/models/{model}:generateContent` and `:streamGenerateContent`.
|
|
13
|
+
*
|
|
14
|
+
* Canopy does not convert between protocols. A request is accepted only for a model whose
|
|
15
|
+
* `supported_endpoints` lists the endpoint it was sent to, and it is forwarded unchanged except for
|
|
16
|
+
* the model name and the credentials. Reasoning settings such as `reasoning_effort` are passed
|
|
17
|
+
* through as written; a model's `capabilities` lists the values its upstream accepts.
|
|
18
|
+
*
|
|
19
|
+
* Management operations use `/api/v1`. The management model catalogue names how each model is billed in Billing;
|
|
20
|
+
* `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
|
|
21
|
+
*
|
|
22
|
+
* ## Authentication
|
|
23
|
+
*
|
|
24
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme.
|
|
25
|
+
*
|
|
26
|
+
* Management and project inference accept the same verified IAM scoped token. The token is the
|
|
27
|
+
* sole billing project authority; `OpenAI-Project` and historical identity headers cannot
|
|
28
|
+
* override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
|
|
29
|
+
* accepts Canopy API keys and serves the same endpoints.
|
|
30
|
+
*
|
|
31
|
+
* ## Conventions
|
|
32
|
+
*
|
|
33
|
+
* - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
|
|
34
|
+
* - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
|
|
35
|
+
* - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
|
|
36
|
+
* - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
|
|
37
|
+
* - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
|
|
38
|
+
* - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates Billing holds for each model's `billing`.
|
|
39
|
+
* OpenAPI spec version: 1.0.0
|
|
40
|
+
*/
|
|
41
|
+
import * as zod from "zod";
|
|
42
|
+
export const FieldViolation = zod.strictObject({
|
|
43
|
+
field: zod
|
|
44
|
+
.string()
|
|
45
|
+
.describe("The path to the rejected field in the request body, such as `items[2].price_id`."),
|
|
46
|
+
reason: zod
|
|
47
|
+
.string()
|
|
48
|
+
.optional()
|
|
49
|
+
.describe("Why the field was rejected, such as `REQUIRED` or `OUT_OF_RANGE`."),
|
|
50
|
+
});
|