import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { SweepStatus } from "./sweepstatus.js"; import { SweepSubtotal, SweepSubtotal$Outbound } from "./sweepsubtotal.js"; export type Sweep = { sweepID: string; status: SweepStatus; /** * The total net amount of wallet transactions accrued in the sweep. */ accruedAmount: string; /** * Amount remaining in the wallet after the sweep transfer completes. */ residualBalance?: string | undefined; /** * A 3-letter ISO 4217 currency code. */ currency: string; /** * The date-time the sweep began accruing transactions. */ accrualStartedOn: Date; /** * The date-time the sweep stopped accruing transactions. */ accrualEndedOn?: Date | undefined; /** * ID of the payment method. */ pushPaymentMethodID?: string | undefined; /** * ID of the payment method. */ pullPaymentMethodID?: string | undefined; transferID?: string | undefined; /** * Amount that is transferred. */ transferAmount?: 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; /** * The subtotal of each transaction type contributing to the sweep's accrued amount. */ subtotals?: Array | undefined; }; /** @internal */ export declare const Sweep$inboundSchema: z.ZodType; /** @internal */ export type Sweep$Outbound = { sweepID: string; status: string; accruedAmount: string; residualBalance?: string | undefined; currency: string; accrualStartedOn: string; accrualEndedOn?: string | undefined; pushPaymentMethodID?: string | undefined; pullPaymentMethodID?: string | undefined; transferID?: string | undefined; transferAmount?: string | undefined; statementDescriptor?: string | undefined; subtotals?: Array | undefined; }; /** @internal */ export declare const Sweep$outboundSchema: z.ZodType; export declare function sweepToJSON(sweep: Sweep): string; export declare function sweepFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=sweep.d.ts.map