import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { SweepConfigPaymentMethod, SweepConfigPaymentMethod$Outbound } from "./sweepconfigpaymentmethod.js"; import { SweepConfigStatus } from "./sweepconfigstatus.js"; export type SweepConfig = { sweepConfigID: string; walletID: string; status: SweepConfigStatus; /** * The payment method used to push or pull funds to a bank account. * * @remarks * The push payment method can only be ach-credit-standard, ach-credit-same-day, or rtp-credit. The pull payment method can only be ach-debit-fund. */ pushPaymentMethod: SweepConfigPaymentMethod; /** * The payment method used to push or pull funds to a bank account. * * @remarks * The push payment method can only be ach-credit-standard, ach-credit-same-day, or rtp-credit. The pull payment method can only be ach-debit-fund. */ pullPaymentMethod: SweepConfigPaymentMethod; /** * An optional field to specify an amount to maintain in the wallet. This is a decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99. If not supplied, the default is 0.00. */ minimumBalance?: string | undefined; /** * The text that appears on the banking statement. The default descriptor is a 10 character ID if an override is not set in the sweep configs statementDescriptor. */ statementDescriptor?: string | undefined; /** * An array of fields that are locked. To request updates, please contact Moov support. */ lockedFields?: Array | undefined; createdOn: Date; updatedOn: Date; }; /** @internal */ export declare const SweepConfig$inboundSchema: z.ZodType; /** @internal */ export type SweepConfig$Outbound = { sweepConfigID: string; walletID: string; status: string; pushPaymentMethod: SweepConfigPaymentMethod$Outbound; pullPaymentMethod: SweepConfigPaymentMethod$Outbound; minimumBalance?: string | undefined; statementDescriptor?: string | undefined; lockedFields?: Array | undefined; createdOn: string; updatedOn: string; }; /** @internal */ export declare const SweepConfig$outboundSchema: z.ZodType; export declare function sweepConfigToJSON(sweepConfig: SweepConfig): string; export declare function sweepConfigFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=sweepconfig.d.ts.map