/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import * as components from "../components/index.js"; export type CreateProcessGlobals = { appId?: string | undefined; }; export type CreateProcessRequest = { appId?: string | undefined; region: components.Region; }; /** @internal */ export type CreateProcessRequest$Outbound = { appId?: string | undefined; region: string; }; /** @internal */ export const CreateProcessRequest$outboundSchema: z.ZodType< CreateProcessRequest$Outbound, z.ZodTypeDef, CreateProcessRequest > = z.object({ appId: z.string().optional(), region: components.Region$outboundSchema, }); export function createProcessRequestToJSON( createProcessRequest: CreateProcessRequest, ): string { return JSON.stringify( CreateProcessRequest$outboundSchema.parse(createProcessRequest), ); }