/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { ApiError$zodSchema } from "./apierror.js";
import { MetadataRuleResponse$zodSchema, } from "./metadataruleresponse.js";
import { MetadataRuleUpdate$zodSchema, } from "./metadataruleupdate.js";
export const UpdateMetadataRuleGlobals$zodSchema = z.object({
    cloud_name: z.string().describe("The cloud name of your product environment.")
        .optional(),
});
export const UpdateMetadataRuleRequest$zodSchema = z.object({
    external_id: z.string().describe("The unique identifier of the metadata rule."),
    metadata_rule_update: MetadataRuleUpdate$zodSchema.describe("The updated metadata rule definition."),
});
export const UpdateMetadataRuleResponse$zodSchema = z.union([
    ApiError$zodSchema,
    MetadataRuleResponse$zodSchema,
]);
//# sourceMappingURL=updatemetadataruleop.js.map