import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { WalletAvailableBalance, WalletAvailableBalance$Outbound } from "./walletavailablebalance.js"; import { WalletStatus } from "./walletstatus.js"; import { WalletType } from "./wallettype.js"; /** * A Moov wallet to store funds for transfers. */ export type Wallet = { walletID: string; availableBalance: WalletAvailableBalance; partnerAccountID: string; /** * Name of the wallet */ name: string; /** * Status of a wallet. * * @remarks * - `active`: The wallet is available for use and has an enabled payment method. * - `closed`: The wallet is no longer active and the corresponding payment method has been disabled. */ status: WalletStatus; /** * Type of a wallet. * * @remarks * - `default`: The system-generated wallet automatically created when an account is granted the wallet capability. * - `general`: An additional, user-defined wallet created via API or Dashboard. */ walletType: WalletType; /** * Description of the wallet */ description: string; /** * Free-form key-value pair list. Useful for storing information that is not captured elsewhere. */ metadata?: { [k: string]: string; } | undefined; createdOn: Date; closedOn?: Date | undefined; }; /** @internal */ export declare const Wallet$inboundSchema: z.ZodType; /** @internal */ export type Wallet$Outbound = { walletID: string; availableBalance: WalletAvailableBalance$Outbound; partnerAccountID: string; name: string; status: string; walletType: string; description: string; metadata?: { [k: string]: string; } | undefined; createdOn: string; closedOn?: string | undefined; }; /** @internal */ export declare const Wallet$outboundSchema: z.ZodType; export declare function walletToJSON(wallet: Wallet): string; export declare function walletFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=wallet.d.ts.map