import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Amount, Amount$Outbound } from "./amount.js"; import { DisputePhase } from "./disputephase.js"; import { DisputeStatus } from "./disputestatus.js"; import { DisputeTransferDetails, DisputeTransferDetails$Outbound } from "./disputetransferdetails.js"; /** * Details of a card transaction dispute. */ export type Dispute = { disputeID: string; merchantAccountID: string; amount: Amount; /** * Indicates the card network's category for the dispute. * * @remarks * * These codes may differ between card brands. You can find more information on the code from the networkReasonDescription field. */ networkReasonCode: string; /** * Provides detail on the card network's categorization of the dispute. */ networkReasonDescription?: string | undefined; transfer: DisputeTransferDetails; respondBy: Date; /** * The status of a particular dispute. * * @remarks * * Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/#dispute-statuses) to learn what each status means. */ status: DisputeStatus; /** * The phase of a dispute within the dispute lifecycle. */ phase: DisputePhase; createdOn: Date; submittedOn?: Date | undefined; }; /** @internal */ export declare const Dispute$inboundSchema: z.ZodType; /** @internal */ export type Dispute$Outbound = { disputeID: string; merchantAccountID: string; amount: Amount$Outbound; networkReasonCode: string; networkReasonDescription?: string | undefined; transfer: DisputeTransferDetails$Outbound; respondBy: string; status: string; phase: string; createdOn: string; submittedOn?: string | undefined; }; /** @internal */ export declare const Dispute$outboundSchema: z.ZodType; export declare function disputeToJSON(dispute: Dispute): string; export declare function disputeFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=dispute.d.ts.map