/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 0ae4f942466c */ import * as z from "zod"; import { ApiError, ApiError$zodSchema } from "./apierror.js"; import { TriggerInfo, TriggerInfo$zodSchema } from "./triggerinfo.js"; export type CreateTriggerGlobals = { cloud_name?: string | undefined }; export const CreateTriggerGlobals$zodSchema: z.ZodType = z .object({ cloud_name: z.string().describe( "The cloud name of your product environment.", ).optional(), }); export type CreateTriggerResponse = TriggerInfo | ApiError; export const CreateTriggerResponse$zodSchema: z.ZodType = z.union([ TriggerInfo$zodSchema, ApiError$zodSchema, ]);