import { NestedAccountHierarchyForReport } from '../../commonStateTypes/accountView/nestedAccountID'; import { FetchStateAndError, ID } from '../../commonStateTypes/common'; import { Recommendation } from '../../commonStateTypes/recommendationBase'; import { AccountBase } from '../../entity/account/accountState'; export interface AccountMappingLocalData { isBillPayRecommendationChecked: boolean; isExpenseRecommendationChecked: boolean; isIncomeRecommendationChecked: boolean; isReimbursementsRecommendationChecked: boolean; previousAccruedExpensesAccount: AccountBase[]; previousBankAccounts1099FilingAccount: AccountBase[]; previousBillPayAccount: AccountBase | undefined; previousExpenseAccount: AccountBase | undefined; previousExpenseAccounts1099FilingAccount: ExpenseCategory1099Filing[]; previousFixedAssetsAccount: AccountBase[]; previousIncomeAccount: AccountBase | undefined; previousPrepaidExpensesAccount: AccountBase[]; previousReimbursementsAccount: AccountBase | undefined; selectedAccruedExpensesAccountIds: ID[]; selectedBankAccounts1099FilingAccountIds: ID[]; selectedBillPayAccountId: ID | undefined; selectedExpenseAccountId: ID | undefined; selectedExpenseAccounts1099FilingAccountIds: ExpenseCategory1099Filing[]; selectedFixedAssetsAccountIds: ID[]; selectedIncomeAccountId: ID | undefined; selectedPrepaidExpensesAccountIds: ID[]; selectedReimbursementsAccountId: ID | undefined; } export interface ExpenseCategory1099Filing { accountId: ID; boxType: string; expenseType: string; type1099: string; } export interface AccountMappingState { accountListFetchState: FetchStateAndError; accruedExpensesAccountIdList: ID[]; accruedExpensesNestedAccountListHierarchy: NestedAccountHierarchyForReport[]; accruedExpensesRecommendations: Recommendation[]; bankAccounts1099FilingAccountIdList: ID[]; bankAccounts1099FilingNestedAccountListHierarchy: NestedAccountHierarchyForReport[]; billPayNestedAccountListHierarchy: NestedAccountHierarchyForReport[]; billPayRecommendations: Recommendation[]; data: AccountMappingLocalData; expenseAccountIdList: ID[]; expenseAccounts1099FilingAccountIdList: ID[]; expenseAccounts1099FilingNestedAccountListHierarchy: NestedAccountHierarchyForReport[]; expenseNestedAccountListHierarchy: NestedAccountHierarchyForReport[]; expenseRecommendations: Recommendation[]; fixedAssetsAccountIdList: ID[]; fixedAssetsNestedAccountListHierarchy: NestedAccountHierarchyForReport[]; fixedAssetsRecommendations: Recommendation[]; incomeAccountIdList: ID[]; incomeNestedAccountListHierarchy: NestedAccountHierarchyForReport[]; incomeRecommendations: Recommendation[]; prepaidExpensesAccountIdList: ID[]; prepaidExpensesNestedAccountListHierarchy: NestedAccountHierarchyForReport[]; prepaidExpensesRecommendations: Recommendation[]; recommendationFetchState: FetchStateAndError; reimbursementsNestedAccountListHierarchy: NestedAccountHierarchyForReport[]; reimbursementsRecommendations: Recommendation[]; updateFetchState: FetchStateAndError; }