import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ListDisputesGlobals = { /** * Specify an API version. * * @remarks * * API versioning follows the format `vYYYY.QQ.BB`, where * - `YYYY` is the year * - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10) * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. * - For example, `v2024.01.00` is the initial release of the first quarter of 2024. * * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release. * When no version is specified, the API defaults to `v2024.01.00`. */ xMoovVersion?: string | undefined; }; export type ListDisputesRequest = { accountID: string; skip?: number | undefined; count?: number | undefined; /** * Optional date-time parameter to filter all disputes created on and after the provided date and time. */ startDateTime?: Date | undefined; /** * Optional date-time parameter to filter all disputes created on and before the provided date and time. */ endDateTime?: Date | undefined; /** * Optional date-time which exclusively filters all disputes with respond by before this date-time. */ respondStartDateTime?: Date | undefined; /** * Optional date-time which exclusively filters all disputes with respond by before this date-time. */ respondEndDateTime?: Date | undefined; /** * Optional dispute status by which to filter the disputes. */ status?: components.DisputeStatus | undefined; /** * Optional parameter to filter by merchant account ID. */ merchantAccountID?: string | undefined; /** * Optional parameter to filter by cardholder account ID. */ cardholderAccountID?: string | undefined; /** * Optional parameter to filter by a comma separated list of dispute IDs. */ disputeIDs?: Array | undefined; /** * Optional parameter to filter by a comma separated list of transfer IDs. */ transferIDs?: Array | undefined; orderBy?: string | undefined; }; export type ListDisputesResponse = { headers: { [k: string]: Array; }; result: Array; }; /** @internal */ export declare const ListDisputesGlobals$inboundSchema: z.ZodType; /** @internal */ export type ListDisputesGlobals$Outbound = { "X-Moov-Version"?: string | undefined; }; /** @internal */ export declare const ListDisputesGlobals$outboundSchema: z.ZodType; export declare function listDisputesGlobalsToJSON(listDisputesGlobals: ListDisputesGlobals): string; export declare function listDisputesGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListDisputesRequest$inboundSchema: z.ZodType; /** @internal */ export type ListDisputesRequest$Outbound = { accountID: string; skip?: number | undefined; count?: number | undefined; startDateTime?: string | undefined; endDateTime?: string | undefined; respondStartDateTime?: string | undefined; respondEndDateTime?: string | undefined; status?: string | undefined; merchantAccountID?: string | undefined; cardholderAccountID?: string | undefined; disputeIDs?: Array | undefined; transferIDs?: Array | undefined; orderBy?: string | undefined; }; /** @internal */ export declare const ListDisputesRequest$outboundSchema: z.ZodType; export declare function listDisputesRequestToJSON(listDisputesRequest: ListDisputesRequest): string; export declare function listDisputesRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListDisputesResponse$inboundSchema: z.ZodType; /** @internal */ export type ListDisputesResponse$Outbound = { Headers: { [k: string]: Array; }; Result: Array; }; /** @internal */ export declare const ListDisputesResponse$outboundSchema: z.ZodType; export declare function listDisputesResponseToJSON(listDisputesResponse: ListDisputesResponse): string; export declare function listDisputesResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listdisputes.d.ts.map