import { AllowedValueWithCode } from '../../commonStateTypes/allowedValue'; import { Amount } from '../../commonStateTypes/amount'; import { ID } from '../../commonStateTypes/common'; import { ZeniDate } from '../../zeniDayJS'; import ZeniUrl from '../../zeniUrl'; export interface InstitutionDetails { institutionName: string; providerInstitutionId: ID; zeniInstitutionId: string; logo?: Logo; } export interface PaymentAccount { accountLast4Digits: string; accountName: string; createTime: ZeniDate; institutionDetails: InstitutionDetails; isLoginRequired: boolean; isPrimaryForBillPay: boolean; isPrimaryForChargeCards: boolean; isPrimaryForDepositAccounts: boolean; isPrimaryForOnboarding: boolean; isPrimaryForReimbursement: boolean; maskedAccountNumber: string; paymentAccountId: ID; provider: string; providerAccountId: ID; updateTime: ZeniDate; zeniAccountId: ID; accountSubType?: AllowedValueWithCode; accountType?: AllowedValueWithCode; balances?: { available?: Amount; current?: Amount; lastRefreshTime?: ZeniDate; }; bankAccountId?: ID; providerVerificationStatus?: AllowedValueWithCode; verificationStatus?: AllowedValueWithCode; } export declare const VERIFIED_PAYMENT_ACCOUNT_PROVIDER_VERIFICATION_STATUS: readonly ["manually_verified", "verified", "automatically_verified", "database_matched"]; export interface PaymentAccountState { paymentAccountByID: Record; } export interface Logo { base64?: string; url?: ZeniUrl; }