import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Request to cancel an existing cash journal */ export type CancelCashJournalRequestCreate = { /** * The name of the cash journal to cancel */ name: string; /** * The reason for canceling the cash journal Maximum of 100 characters are supported */ reason?: string | undefined; }; /** @internal */ export declare const CancelCashJournalRequestCreate$inboundSchema: z.ZodType; /** @internal */ export type CancelCashJournalRequestCreate$Outbound = { name: string; reason?: string | undefined; }; /** @internal */ export declare const CancelCashJournalRequestCreate$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CancelCashJournalRequestCreate$ { /** @deprecated use `CancelCashJournalRequestCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CancelCashJournalRequestCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CancelCashJournalRequestCreate$Outbound` instead. */ type Outbound = CancelCashJournalRequestCreate$Outbound; } export declare function cancelCashJournalRequestCreateToJSON(cancelCashJournalRequestCreate: CancelCashJournalRequestCreate): string; export declare function cancelCashJournalRequestCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=cancelcashjournalrequestcreate.d.ts.map