/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { ApiError$zodSchema } from "./apierror.js";
import { MetadataFieldDatasourceValuesArray$zodSchema, } from "./metadatafielddatasourcevaluesarray.js";
import { UpdateDatasourceRequest$zodSchema, } from "./updatedatasourcerequest.js";
export const UpdateMetadataFieldDatasourceGlobals$zodSchema = z.object({
    cloud_name: z.string().describe("The cloud name of your product environment.")
        .optional(),
});
export const UpdateMetadataFieldDatasourceRequest$zodSchema = z.object({
    external_id: z.string().describe("The external ID of the metadata field to update the datasource for."),
    update_datasource_request: UpdateDatasourceRequest$zodSchema.describe("The updated datasource values."),
});
export const UpdateMetadataFieldDatasourceResponse$zodSchema = z.union([
    ApiError$zodSchema,
    MetadataFieldDatasourceValuesArray$zodSchema,
]);
//# sourceMappingURL=updatemetadatafielddatasourceop.js.map