/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: f4ee2f045c1b */ import * as z from "zod/v4"; export type GetWorkspaceGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; export type GetWorkspaceRequest = { /** * Unique identifier for the workspace. */ id: string; }; /** @internal */ export type GetWorkspaceRequest$Outbound = { id: string; }; /** @internal */ export const GetWorkspaceRequest$outboundSchema: z.ZodType< GetWorkspaceRequest$Outbound, GetWorkspaceRequest > = z.object({ id: z.string(), }); export function getWorkspaceRequestToJSON( getWorkspaceRequest: GetWorkspaceRequest, ): string { return JSON.stringify( GetWorkspaceRequest$outboundSchema.parse(getWorkspaceRequest), ); }