/* * 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 CreateProcessV2DeprecatedGlobals = { appId?: string | undefined; }; export type CreateProcessV2DeprecatedRequest = { appId?: string | undefined; region: components.Region; }; /** @internal */ export type CreateProcessV2DeprecatedRequest$Outbound = { appId?: string | undefined; region: string; }; /** @internal */ export const CreateProcessV2DeprecatedRequest$outboundSchema: z.ZodType< CreateProcessV2DeprecatedRequest$Outbound, z.ZodTypeDef, CreateProcessV2DeprecatedRequest > = z.object({ appId: z.string().optional(), region: components.Region$outboundSchema, }); export function createProcessV2DeprecatedRequestToJSON( createProcessV2DeprecatedRequest: CreateProcessV2DeprecatedRequest, ): string { return JSON.stringify( CreateProcessV2DeprecatedRequest$outboundSchema.parse( createProcessV2DeprecatedRequest, ), ); }