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 ListWalletTransactionsGlobals = { /** * 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 ListWalletTransactionsRequest = { accountID: string; skip?: number | undefined; count?: number | undefined; walletID: string; /** * Optional parameter to filter by transaction type. */ transactionType?: components.WalletTransactionType | undefined; /** * Optional, comma-separated parameter to filter by transaction types. */ transactionTypes?: Array | undefined; /** * Optional parameter to filter by source type (i.e. transfer, dispute, issuing-transaction). */ sourceType?: components.WalletTransactionSourceType | undefined; /** * Optional parameter to filter by source ID. */ sourceID?: string | undefined; /** * Optional parameter to filter by status (`pending` or `completed`). */ status?: components.WalletTransactionStatus | undefined; /** * Optional date-time which inclusively filters all transactions created after this date-time. */ createdStartDateTime?: Date | undefined; /** * Optional date-time which exclusively filters all transactions created before this date-time. */ createdEndDateTime?: Date | undefined; /** * Optional date-time which inclusively filters all transactions completed after this date-time. */ completedStartDateTime?: Date | undefined; /** * Optional date-time which exclusively filters all transactions completed before this date-time. */ completedEndDateTime?: Date | undefined; /** * Optional ID to filter for transactions accrued in a sweep. */ sweepID?: string | undefined; }; export type ListWalletTransactionsResponse = { headers: { [k: string]: Array; }; result: Array; }; /** @internal */ export declare const ListWalletTransactionsGlobals$inboundSchema: z.ZodType; /** @internal */ export type ListWalletTransactionsGlobals$Outbound = { "X-Moov-Version"?: string | undefined; }; /** @internal */ export declare const ListWalletTransactionsGlobals$outboundSchema: z.ZodType; export declare function listWalletTransactionsGlobalsToJSON(listWalletTransactionsGlobals: ListWalletTransactionsGlobals): string; export declare function listWalletTransactionsGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListWalletTransactionsRequest$inboundSchema: z.ZodType; /** @internal */ export type ListWalletTransactionsRequest$Outbound = { accountID: string; skip?: number | undefined; count?: number | undefined; walletID: string; transactionType?: string | undefined; transactionTypes?: Array | undefined; sourceType?: string | undefined; sourceID?: string | undefined; status?: string | undefined; createdStartDateTime?: string | undefined; createdEndDateTime?: string | undefined; completedStartDateTime?: string | undefined; completedEndDateTime?: string | undefined; sweepID?: string | undefined; }; /** @internal */ export declare const ListWalletTransactionsRequest$outboundSchema: z.ZodType; export declare function listWalletTransactionsRequestToJSON(listWalletTransactionsRequest: ListWalletTransactionsRequest): string; export declare function listWalletTransactionsRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListWalletTransactionsResponse$inboundSchema: z.ZodType; /** @internal */ export type ListWalletTransactionsResponse$Outbound = { Headers: { [k: string]: Array; }; Result: Array; }; /** @internal */ export declare const ListWalletTransactionsResponse$outboundSchema: z.ZodType; export declare function listWalletTransactionsResponseToJSON(listWalletTransactionsResponse: ListWalletTransactionsResponse): string; export declare function listWalletTransactionsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listwallettransactions.d.ts.map