/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 6de9a488458e */ import * as z from "zod/v4"; export type ApproveAgentSessionGlobals = { /** * 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 ApproveAgentSessionRequest = { id: string; }; /** @internal */ export type ApproveAgentSessionRequest$Outbound = { id: string; }; /** @internal */ export const ApproveAgentSessionRequest$outboundSchema: z.ZodType< ApproveAgentSessionRequest$Outbound, ApproveAgentSessionRequest > = z.object({ id: z.string(), }); export function approveAgentSessionRequestToJSON( approveAgentSessionRequest: ApproveAgentSessionRequest, ): string { return JSON.stringify( ApproveAgentSessionRequest$outboundSchema.parse(approveAgentSessionRequest), ); }