import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CashJournalsGetCashJournalRequest = { /** * The cashJournal id. */ cashJournalId: string; }; export type CashJournalsGetCashJournalResponse = { httpMeta: components.HTTPMetadata; /** * OK */ cashJournal?: components.CashJournal | undefined; /** * INVALID_ARGUMENT: The request has an invalid argument. */ status?: components.Status | undefined; }; /** @internal */ export declare const CashJournalsGetCashJournalRequest$inboundSchema: z.ZodType; /** @internal */ export type CashJournalsGetCashJournalRequest$Outbound = { cashJournal_id: string; }; /** @internal */ export declare const CashJournalsGetCashJournalRequest$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 CashJournalsGetCashJournalRequest$ { /** @deprecated use `CashJournalsGetCashJournalRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalsGetCashJournalRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalsGetCashJournalRequest$Outbound` instead. */ type Outbound = CashJournalsGetCashJournalRequest$Outbound; } export declare function cashJournalsGetCashJournalRequestToJSON(cashJournalsGetCashJournalRequest: CashJournalsGetCashJournalRequest): string; export declare function cashJournalsGetCashJournalRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CashJournalsGetCashJournalResponse$inboundSchema: z.ZodType; /** @internal */ export type CashJournalsGetCashJournalResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CashJournal?: components.CashJournal$Outbound | undefined; Status?: components.Status$Outbound | undefined; }; /** @internal */ export declare const CashJournalsGetCashJournalResponse$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 CashJournalsGetCashJournalResponse$ { /** @deprecated use `CashJournalsGetCashJournalResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CashJournalsGetCashJournalResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CashJournalsGetCashJournalResponse$Outbound` instead. */ type Outbound = CashJournalsGetCashJournalResponse$Outbound; } export declare function cashJournalsGetCashJournalResponseToJSON(cashJournalsGetCashJournalResponse: CashJournalsGetCashJournalResponse): string; export declare function cashJournalsGetCashJournalResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=cashjournalsgetcashjournal.d.ts.map