/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: a49c6a61da8e
 */
import * as z from "zod";
import { ApiError$zodSchema } from "./apierror.js";
import { TextRequest$zodSchema } from "./textrequest.js";
import { TextResponse$zodSchema } from "./textresponse.js";
export const TextGlobals$zodSchema = z.object({
    cloud_name: z.string().describe("The cloud name of your product environment.")
        .optional(),
});
/**
 * The type of resource to create. Must be "image" for text generation.
 */
export const TextResourceType = {
    Image: "image",
};
export const TextResourceType$zodSchema = z.enum([
    "image",
]).describe("The type of resource to create. Must be \"image\" for text generation.");
export const TextRequestRequest$zodSchema = z
    .object({
    resource_type: TextResourceType$zodSchema.describe("The type of resource to create. Must be \"image\" for text generation."),
    text_request: TextRequest$zodSchema.describe("The text content and styling parameters for image generation."),
});
export const TextResponseResponse$zodSchema = z
    .union([
    ApiError$zodSchema,
    TextResponse$zodSchema,
]);
//# sourceMappingURL=textop.js.map