import * as z from "zod"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Whether the cash journal is considered first party or third party */ export declare enum CheckPartyTypeResponsePartyType { PartyTypeUnspecified = "PARTY_TYPE_UNSPECIFIED", FirstParty = "FIRST_PARTY", ThirdParty = "THIRD_PARTY" } /** * Whether the cash journal is considered first party or third party */ export type CheckPartyTypeResponsePartyTypeOpen = OpenEnum; /** * Returns whether a potential cash journal will be considered first party or third party */ export type CheckPartyTypeResponse = { /** * Whether the cash journal is considered first party or third party */ partyType?: CheckPartyTypeResponsePartyTypeOpen | undefined; /** * If cash journal is considered third party, reason for why it is considered third party */ reason?: string | undefined; }; /** @internal */ export declare const CheckPartyTypeResponsePartyType$inboundSchema: z.ZodType; /** @internal */ export declare const CheckPartyTypeResponsePartyType$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 CheckPartyTypeResponsePartyType$ { /** @deprecated use `CheckPartyTypeResponsePartyType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CheckPartyTypeResponsePartyType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const CheckPartyTypeResponse$inboundSchema: z.ZodType; /** @internal */ export type CheckPartyTypeResponse$Outbound = { party_type?: string | undefined; reason?: string | undefined; }; /** @internal */ export declare const CheckPartyTypeResponse$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 CheckPartyTypeResponse$ { /** @deprecated use `CheckPartyTypeResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CheckPartyTypeResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CheckPartyTypeResponse$Outbound` instead. */ type Outbound = CheckPartyTypeResponse$Outbound; } export declare function checkPartyTypeResponseToJSON(checkPartyTypeResponse: CheckPartyTypeResponse): string; export declare function checkPartyTypeResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=checkpartytyperesponse.d.ts.map