/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import * as models from "../index.js"; /** * Production API gateway for agent plan approval decisions. */ export const ApprovalDecideServerComposeApi = "compose-api"; export const ApprovalDecideServerList = { [ApprovalDecideServerComposeApi]: "https://api.compose.market", }; export type ApprovalDecideRequest = { walletAddress: string; runId: string; body: models.AgentApprovalRequest; }; /** @internal */ export type ApprovalDecideRequest$Outbound = { walletAddress: string; runId: string; body: models.AgentApprovalRequest$Outbound; }; /** @internal */ export const ApprovalDecideRequest$outboundSchema: z.ZodMiniType< ApprovalDecideRequest$Outbound, ApprovalDecideRequest > = z.object({ walletAddress: z.string(), runId: z.string(), body: models.AgentApprovalRequest$outboundSchema, }); export function approvalDecideRequestToJSON( approvalDecideRequest: ApprovalDecideRequest, ): string { return JSON.stringify( ApprovalDecideRequest$outboundSchema.parse(approvalDecideRequest), ); }