/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: b52cfcc7e7b1
 */
import * as z from "zod";
import { ApiError$zodSchema } from "./apierror.js";
import { AssetRelationsResponse$zodSchema, } from "./assetrelationsresponse.js";
import { DeliveryType$zodSchema } from "./deliverytype.js";
import { RelateAssetsByPublicIdRequest$zodSchema, } from "./relateassetsbypublicidrequest.js";
import { ResourceType$zodSchema } from "./resourcetype.js";
export const CreateAssetRelationsByPublicIdGlobals$zodSchema = z.object({
    cloud_name: z.string().describe("The cloud name of your product environment.")
        .optional(),
});
export const CreateAssetRelationsByPublicIdRequest$zodSchema = z.object({
    public_id: z.string().describe("The public ID of the asset."),
    relate_assets_by_public_id_request: RelateAssetsByPublicIdRequest$zodSchema
        .describe("The assets to relate by public ID."),
    resource_type: ResourceType$zodSchema.describe("The type of resource (image, video, or raw)."),
    type: DeliveryType$zodSchema.default("upload").describe("The delivery type of the asset."),
});
export const CreateAssetRelationsByPublicIdResponse$zodSchema = z.union([
    ApiError$zodSchema,
    AssetRelationsResponse$zodSchema,
]);
//# sourceMappingURL=createassetrelationsbypublicidop.js.map