/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 967edbec7c53 */ import * as z from "zod/v4"; export type CreateWorkspaceRequest = { /** * Workspace name */ name: string; /** * Optional workspace logo URL */ logoUrl?: string | undefined; }; /** @internal */ export type CreateWorkspaceRequest$Outbound = { name: string; logoUrl?: string | undefined; }; /** @internal */ export const CreateWorkspaceRequest$outboundSchema: z.ZodType< CreateWorkspaceRequest$Outbound, CreateWorkspaceRequest > = z.object({ name: z.string(), logoUrl: z.string().optional(), }); export function createWorkspaceRequestToJSON( createWorkspaceRequest: CreateWorkspaceRequest, ): string { return JSON.stringify( CreateWorkspaceRequest$outboundSchema.parse(createWorkspaceRequest), ); }