@zeniai/client-epic-state 5.0.0-betaRD2 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonPayloadTypes/subAccountView/reportBySubAccountPayload.d.ts +0 -2
- package/lib/commonStateTypes/common.d.ts +1 -1
- package/lib/commonStateTypes/viewAndReport/reportIDHelper.d.ts +0 -1
- package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +1 -3
- package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
- package/lib/commonStateTypes/viewAndReport/viewAndReport.js +0 -1
- package/lib/entity/account/accountReducer.js +3 -5
- package/lib/entity/account/accountSelector.d.ts +0 -7
- package/lib/entity/account/accountSelector.js +2 -4
- package/lib/entity/account/accountState.d.ts +1 -3
- package/lib/entity/account/accountState.js +1 -4
- package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +0 -1
- package/lib/entity/account/subAccountSelector.d.ts +0 -2
- package/lib/entity/account/subAccountSelector.js +0 -2
- package/lib/entity/accountGroup/accountGroupSelector.d.ts +0 -22
- package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
- package/lib/entity/class/classReducer.d.ts +4 -4
- package/lib/entity/class/classState.d.ts +1 -1
- package/lib/entity/forecast/forecastState.d.ts +1 -1
- package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
- package/lib/entity/tenant/clearAllEpic.d.ts +2 -5
- package/lib/entity/tenant/clearAllEpic.js +0 -6
- package/lib/entity/tenant/tenantPayload.d.ts +0 -1
- package/lib/entity/tenant/tenantReducer.js +0 -1
- package/lib/entity/tenant/tenantSelector.d.ts +0 -1
- package/lib/entity/tenant/tenantSelector.js +1 -9
- package/lib/entity/tenant/tenantState.d.ts +0 -1
- package/lib/entity/transaction/payloadTypes/transactionPayload.js +21 -0
- package/lib/epic.d.ts +1 -4
- package/lib/epic.js +1 -4
- package/lib/esm/commonStateTypes/viewAndReport/reportIDHelper.js +0 -1
- package/lib/esm/commonStateTypes/viewAndReport/viewAndReport.js +0 -1
- package/lib/esm/entity/account/accountReducer.js +3 -5
- package/lib/esm/entity/account/accountSelector.js +2 -4
- package/lib/esm/entity/account/accountState.js +1 -4
- package/lib/esm/entity/account/subAccountSelector.js +0 -2
- package/lib/esm/entity/tenant/clearAllEpic.js +0 -6
- package/lib/esm/entity/tenant/tenantReducer.js +0 -1
- package/lib/esm/entity/tenant/tenantSelector.js +0 -7
- package/lib/esm/entity/transaction/payloadTypes/transactionPayload.js +21 -0
- package/lib/esm/epic.js +1 -4
- package/lib/esm/index.js +4 -7
- package/lib/esm/reducer.js +0 -9
- package/lib/esm/view/financeStatement/financeStatementSelector.js +1 -12
- package/lib/esm/view/reportsResync/reportsClassViewRefetchingEpic.js +0 -4
- package/lib/index.d.ts +4 -11
- package/lib/index.js +34 -46
- package/lib/reducer.d.ts +0 -9
- package/lib/reducer.js +0 -9
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/lib/view/auditReportView/auditReportViewState.d.ts +1 -1
- package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
- package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -2
- package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -2
- package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
- package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
- package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
- package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
- package/lib/view/financeStatement/financeStatementSelector.d.ts +0 -2
- package/lib/view/financeStatement/financeStatementSelector.js +1 -12
- package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
- package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
- package/lib/view/reportsResync/reportsClassViewRefetchingEpic.d.ts +1 -2
- package/lib/view/reportsResync/reportsClassViewRefetchingEpic.js +0 -4
- package/lib/view/reportsResync/reportsResyncReducer.d.ts +2 -2
- package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
- package/lib/view/topEx/topExSelector.d.ts +1 -1
- package/package.json +1 -1
- package/lib/commonStateTypes/coaBalance/coaBalancesFilterProjectView.d.ts +0 -13
- package/lib/commonStateTypes/coaBalance/coaBalancesFilterProjectView.js +0 -9
- package/lib/commonStateTypes/projectView/projectViewParentID.d.ts +0 -5
- package/lib/commonStateTypes/projectView/projectViewParentID.js +0 -2
- package/lib/entity/project/projectPayload.d.ts +0 -13
- package/lib/entity/project/projectPayload.js +0 -30
- package/lib/entity/project/projectReducer.d.ts +0 -10
- package/lib/entity/project/projectReducer.js +0 -31
- package/lib/entity/project/projectSelector.d.ts +0 -5
- package/lib/entity/project/projectSelector.js +0 -12
- package/lib/entity/project/projectState.d.ts +0 -13
- package/lib/entity/project/projectState.js +0 -2
- package/lib/entity/sectionProjectView/sectionProjectView.d.ts +0 -11
- package/lib/entity/sectionProjectView/sectionProjectView.js +0 -6
- package/lib/entity/sectionProjectView/sectionProjectViewEpic.d.ts +0 -6
- package/lib/entity/sectionProjectView/sectionProjectViewEpic.js +0 -56
- package/lib/entity/sectionProjectView/sectionProjectViewHelper.d.ts +0 -10
- package/lib/entity/sectionProjectView/sectionProjectViewHelper.js +0 -14
- package/lib/entity/sectionProjectView/sectionProjectViewReducer.d.ts +0 -15
- package/lib/entity/sectionProjectView/sectionProjectViewReducer.js +0 -56
- package/lib/entity/sectionProjectView/sectionProjectViewSelector.d.ts +0 -11
- package/lib/entity/sectionProjectView/sectionProjectViewSelector.js +0 -94
- package/lib/entity/sectionProjectView/sectionProjectViewSelectorTypes.d.ts +0 -16
- package/lib/entity/sectionProjectView/sectionProjectViewSelectorTypes.js +0 -2
- package/lib/entity/sectionProjectView/sectionProjectViewState.d.ts +0 -4
- package/lib/entity/sectionProjectView/sectionProjectViewState.js +0 -2
- package/lib/esm/commonStateTypes/coaBalance/coaBalancesFilterProjectView.js +0 -5
- package/lib/esm/commonStateTypes/projectView/projectViewParentID.js +0 -1
- package/lib/esm/entity/project/projectPayload.js +0 -26
- package/lib/esm/entity/project/projectReducer.js +0 -27
- package/lib/esm/entity/project/projectSelector.js +0 -8
- package/lib/esm/entity/project/projectState.js +0 -1
- package/lib/esm/entity/sectionProjectView/sectionProjectView.js +0 -3
- package/lib/esm/entity/sectionProjectView/sectionProjectViewEpic.js +0 -52
- package/lib/esm/entity/sectionProjectView/sectionProjectViewHelper.js +0 -10
- package/lib/esm/entity/sectionProjectView/sectionProjectViewReducer.js +0 -52
- package/lib/esm/entity/sectionProjectView/sectionProjectViewSelector.js +0 -87
- package/lib/esm/entity/sectionProjectView/sectionProjectViewSelectorTypes.js +0 -1
- package/lib/esm/entity/sectionProjectView/sectionProjectViewState.js +0 -1
- package/lib/esm/view/profitAndLossProjectView/profitAndLossForTimeframeProjectViewEpic.js +0 -47
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewEpic.js +0 -30
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewPayload.js +0 -1
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewReducer.js +0 -113
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewSelector.js +0 -67
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewSelectorTypes.js +0 -1
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewState.js +0 -1
- package/lib/view/profitAndLossProjectView/profitAndLossForTimeframeProjectViewEpic.d.ts +0 -9
- package/lib/view/profitAndLossProjectView/profitAndLossForTimeframeProjectViewEpic.js +0 -51
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewEpic.d.ts +0 -6
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewEpic.js +0 -34
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewPayload.d.ts +0 -33
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewPayload.js +0 -2
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewReducer.d.ts +0 -33
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewReducer.js +0 -117
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewSelector.d.ts +0 -9
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewSelector.js +0 -71
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewSelectorTypes.d.ts +0 -19
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewSelectorTypes.js +0 -2
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewState.d.ts +0 -22
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewState.js +0 -2
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AccountsViewParentID, NestedAccountIDHierarchy } from '../../commonStateTypes/accountView/nestedAccountID';
|
|
2
2
|
import { ClassesViewParentID } from '../../commonStateTypes/classesView/nestedClassID';
|
|
3
|
-
import { ProjectsViewParentID } from '../../commonStateTypes/projectView/projectViewParentID';
|
|
4
3
|
import { AccountMetadataPayload } from '../../entity/account/accountPayload';
|
|
5
4
|
import { AccountGroupMetadataPayload } from '../../entity/accountGroup/accountGroupPayload';
|
|
6
5
|
import { COABalanceGroupedByPeriodPayloadV2, COABalanceGroupedPayloadV2 } from '../v2/coaBalancePayload';
|
|
@@ -27,7 +26,6 @@ export interface AccountMetadataWithBalancesPayload {
|
|
|
27
26
|
accountMetadataPayload: AccountMetadataPayload;
|
|
28
27
|
accountsViewParentID?: AccountsViewParentID;
|
|
29
28
|
classesViewParentID?: ClassesViewParentID;
|
|
30
|
-
projectsViewParentID?: ProjectsViewParentID;
|
|
31
29
|
}
|
|
32
30
|
export interface AccountGroupMetadataWithBalancesPayload {
|
|
33
31
|
accountGroupBalances: COABalanceGroupedByPeriodPayloadV2;
|
|
@@ -23,7 +23,7 @@ export interface FetchedState extends FetchStateAndError {
|
|
|
23
23
|
hasValidState(): boolean;
|
|
24
24
|
}
|
|
25
25
|
export type Mode = 'forecast_mode' | 'compare_mode' | 'off';
|
|
26
|
-
export type AccountViewMode = 'classes' | 'account_group'
|
|
26
|
+
export type AccountViewMode = 'classes' | 'account_group';
|
|
27
27
|
export interface FullName {
|
|
28
28
|
firstName: string;
|
|
29
29
|
lastName: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ReportIDPlusForecastID } from './viewAndReport';
|
|
2
2
|
export declare const isPAndLReport: (reportId: ReportIDPlusForecastID) => boolean;
|
|
3
3
|
export declare const isPAndLClassesViewReport: (reportId: ReportIDPlusForecastID) => boolean;
|
|
4
|
-
export declare const isPAndLProjectViewReport: (reportId: ReportIDPlusForecastID) => boolean;
|
|
5
4
|
export declare const isDashboardReport: (reportId: ReportIDPlusForecastID) => boolean;
|
|
6
5
|
export declare const isDashboardClassesViewReport: (reportId: ReportIDPlusForecastID) => boolean;
|
|
7
6
|
export declare const isCashFlowOrBalanceSheetReport: (reportId: ReportIDPlusForecastID) => boolean;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isFluxAnalysisOpExReport = exports.isOpExByVendorReport = exports.isAgingReport = exports.isCashFlowOrBalanceSheetReport = exports.isDashboardClassesViewReport = exports.isDashboardReport = exports.
|
|
3
|
+
exports.isFluxAnalysisOpExReport = exports.isOpExByVendorReport = exports.isAgingReport = exports.isCashFlowOrBalanceSheetReport = exports.isDashboardClassesViewReport = exports.isDashboardReport = exports.isPAndLClassesViewReport = exports.isPAndLReport = void 0;
|
|
4
4
|
const isPAndLReport = (reportId) => reportId.startsWith('profit_and_loss');
|
|
5
5
|
exports.isPAndLReport = isPAndLReport;
|
|
6
6
|
const isPAndLClassesViewReport = (reportId) => reportId.startsWith('profit_and_loss_by_classes');
|
|
7
7
|
exports.isPAndLClassesViewReport = isPAndLClassesViewReport;
|
|
8
|
-
const isPAndLProjectViewReport = (reportId) => reportId.startsWith('profit_and_loss_by_projects');
|
|
9
|
-
exports.isPAndLProjectViewReport = isPAndLProjectViewReport;
|
|
10
8
|
const isDashboardReport = (reportId) => {
|
|
11
9
|
const ids = reportId.split('+');
|
|
12
10
|
const report = ids[0];
|
|
@@ -3,8 +3,8 @@ import { FetchStateAndError, ID } from '../common';
|
|
|
3
3
|
import { DataAvailable } from '../dataAvailable';
|
|
4
4
|
import { Status } from '../status';
|
|
5
5
|
import { Month } from '../timePeriod';
|
|
6
|
-
export declare const ALL_REPORT_IDS: readonly ["cash_balance", "card_balance", "expense_automation_card", "operating_expenses", "operating_expenses_by_classes", "revenue", "revenue_by_classes", "net_burn_or_income", "net_burn_or_income_story_card", "net_burn_or_income_by_classes", "cash_position", "top_expenses", "profit_and_loss", "profit_and_loss_by_classes", "
|
|
7
|
-
export declare const toReportID: (v: string) => "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "
|
|
6
|
+
export declare const ALL_REPORT_IDS: readonly ["cash_balance", "card_balance", "expense_automation_card", "operating_expenses", "operating_expenses_by_classes", "revenue", "revenue_by_classes", "net_burn_or_income", "net_burn_or_income_story_card", "net_burn_or_income_by_classes", "cash_position", "top_expenses", "profit_and_loss", "profit_and_loss_by_classes", "balance_sheet", "cash_flow", "dashboard", "finance_statement", "transaction_list_of_account", "transaction_list_missing_receipt", "transaction_list_of_account_by_class", "transaction_detail", "cash_in_cash_out", "insights_dashboard", "company_details", "class_list", "account_list", "account_list_by_type", "vendor", "task_card", "bill_pay", "reimbursement", "bill_pay_card", "reimbursement_card", "bill_pay_promo_card", "zeni_accounts", "zeni_accounts_promo_card", "zeni_treasury", "charge_cards", "other_connection", "reimbursement_promo_card", "onboarding", "operating_expenses_by_vendor", "operating_expenses_by_vendor_summary", "vendors_tab", "accounts_payable_aging", "accounts_receivable_aging", "vendor_global_review", "prepaid_expenses", "fixed_assets", "notification", "rewards_card", "billing", "flux_analysis_operating_expense", "account_reconciliation", "zeni_credit_promo_card", "treasury_promo_card", "excluded_account_reconciliation"];
|
|
7
|
+
export declare const toReportID: (v: string) => "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation";
|
|
8
8
|
export type ReportID = ReturnType<typeof toReportID>;
|
|
9
9
|
export type ReportIDPlusForecastID = ReportID | `${ReportID}+${ID}`;
|
|
10
10
|
/** Any view state should extend this interface */
|
|
@@ -90,12 +90,11 @@ function doUpdateSubAccountsWithBalances(draft, subAccountWithBalancesListPayloa
|
|
|
90
90
|
const accountBalancesPayload = subAccountWithBalancesListPayload[index].accountBalancesPayload;
|
|
91
91
|
const accountViewParentId = subAccountWithBalancesListPayload[index].accountsViewParentID;
|
|
92
92
|
const classesViewParentId = subAccountWithBalancesListPayload[index].classesViewParentID;
|
|
93
|
-
|
|
94
|
-
doUpdateAccountWithBalancesV2(draft, accountBasePayload, accountBalancesPayload, currencyPayload, reportId, timeframe, classesViewParentId, accountViewParentId, projectsViewParentId, updateType);
|
|
93
|
+
doUpdateAccountWithBalancesV2(draft, accountBasePayload, accountBalancesPayload, currencyPayload, reportId, timeframe, classesViewParentId, accountViewParentId, updateType);
|
|
95
94
|
}
|
|
96
95
|
}
|
|
97
|
-
function doUpdateAccountWithBalancesV2(draft, accountBasePayload, accountBalancesPayload, currencyPayload, reportId, timeframe, classesViewParentId, accountsViewParentId,
|
|
98
|
-
const key = (0, accountState_1.getAccountKey)(reportId, accountBasePayload.account_id, classesViewParentId, accountsViewParentId
|
|
96
|
+
function doUpdateAccountWithBalancesV2(draft, accountBasePayload, accountBalancesPayload, currencyPayload, reportId, timeframe, classesViewParentId, accountsViewParentId, updateType) {
|
|
97
|
+
const key = (0, accountState_1.getAccountKey)(reportId, accountBasePayload.account_id, classesViewParentId, accountsViewParentId);
|
|
99
98
|
const balancesByPeriod = (0, coaBalancePayload_2.mapCOABalanceGroupedByPeriodPayloadV2ToCOABalanceGroupedByPeriod)(accountBalancesPayload, currencyPayload, timeframe);
|
|
100
99
|
if (key in draft && updateType === 'merge') {
|
|
101
100
|
// only add balances
|
|
@@ -106,7 +105,6 @@ function doUpdateAccountWithBalancesV2(draft, accountBasePayload, accountBalance
|
|
|
106
105
|
...(0, accountPayload_1.mapAccountBasePayloadToAccountBase)(accountBasePayload),
|
|
107
106
|
key,
|
|
108
107
|
classesViewParentId,
|
|
109
|
-
projectsViewParentId,
|
|
110
108
|
};
|
|
111
109
|
latestAccount.balancesByPeriod = balancesByPeriod;
|
|
112
110
|
draft[latestAccount.key] = latestAccount;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AccountsViewParentID } from '../../commonStateTypes/accountView/nestedAccountID';
|
|
2
2
|
import { ClassesViewParentID } from '../../commonStateTypes/classesView/nestedClassID';
|
|
3
|
-
import { ProjectsViewParentID } from '../../commonStateTypes/projectView/projectViewParentID';
|
|
4
3
|
import { AdditionalBalancesOptions } from '../../commonStateTypes/coaBalance/additionalBalances/getAdditionalBalances';
|
|
5
4
|
import { COABalancesFilter } from '../../commonStateTypes/coaBalance/coaBalancesFilter';
|
|
6
5
|
import { ID } from '../../commonStateTypes/common';
|
|
@@ -13,7 +12,6 @@ export declare function getAccount(accountState: AccountState, id: {
|
|
|
13
12
|
reportId: ReportIDPlusForecastID;
|
|
14
13
|
accountsViewParentId?: AccountsViewParentID;
|
|
15
14
|
classesViewParentId?: ClassesViewParentID;
|
|
16
|
-
projectsViewParentId?: ProjectsViewParentID;
|
|
17
15
|
}, filter: COABalancesFilter, additionalBalancesOptions?: AdditionalBalancesOptions): {
|
|
18
16
|
filter: COABalancesFilter;
|
|
19
17
|
balancesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
@@ -44,7 +42,6 @@ export declare function getAccount(accountState: AccountState, id: {
|
|
|
44
42
|
qboId: string | undefined;
|
|
45
43
|
coaId: string | undefined;
|
|
46
44
|
classesViewParentId: ClassesViewParentID | undefined;
|
|
47
|
-
projectsViewParentId: ProjectsViewParentID | undefined;
|
|
48
45
|
accountsViewParentId: AccountsViewParentID | undefined;
|
|
49
46
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
50
47
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -55,7 +52,6 @@ export declare function getAccountWithBalance(accountState: AccountState, id: {
|
|
|
55
52
|
reportId: ReportIDPlusForecastID;
|
|
56
53
|
accountsViewParentId?: AccountsViewParentID;
|
|
57
54
|
classesViewParentId?: ClassesViewParentID;
|
|
58
|
-
projectsViewParentId?: ProjectsViewParentID;
|
|
59
55
|
}): {
|
|
60
56
|
accountId: string;
|
|
61
57
|
accountName: string;
|
|
@@ -70,7 +66,6 @@ export declare function getAccountWithBalance(accountState: AccountState, id: {
|
|
|
70
66
|
qboId: string | undefined;
|
|
71
67
|
coaId: string | undefined;
|
|
72
68
|
classesViewParentId: ClassesViewParentID | undefined;
|
|
73
|
-
projectsViewParentId: ProjectsViewParentID | undefined;
|
|
74
69
|
accountsViewParentId: AccountsViewParentID | undefined;
|
|
75
70
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
76
71
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -83,7 +78,6 @@ export declare const getAccountsOrdered: (filter: COABalancesFilter, accountStat
|
|
|
83
78
|
reportId: ReportIDPlusForecastID;
|
|
84
79
|
accountsViewParentId?: AccountsViewParentID;
|
|
85
80
|
classesViewParentId?: ClassesViewParentID;
|
|
86
|
-
projectsViewParentId?: ProjectsViewParentID;
|
|
87
81
|
}, orderBy: "balance" | "expenses" | "income" | "cogs" | "cashPosition" | "cashIn" | "cashOut" | "otherIncome" | "otherExpenses" | "equity" | "assets" | "liabilities" | "operating_activities" | "investing_activities" | "financing_activities", order?: EntityOrder) => {
|
|
88
82
|
filter: COABalancesFilter;
|
|
89
83
|
balancesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
@@ -114,7 +108,6 @@ export declare const getAccountsOrdered: (filter: COABalancesFilter, accountStat
|
|
|
114
108
|
qboId: string | undefined;
|
|
115
109
|
coaId: string | undefined;
|
|
116
110
|
classesViewParentId: ClassesViewParentID | undefined;
|
|
117
|
-
projectsViewParentId: ProjectsViewParentID | undefined;
|
|
118
111
|
accountsViewParentId: AccountsViewParentID | undefined;
|
|
119
112
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
120
113
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -11,7 +11,7 @@ const coaBalance_1 = require("../../commonStateTypes/coaBalance/coaBalance");
|
|
|
11
11
|
const sortBalancesByFreeRangeTotal_1 = require("../../commonStateTypes/coaBalance/sortBalancesByFreeRangeTotal");
|
|
12
12
|
const accountState_1 = require("./accountState");
|
|
13
13
|
function getCommonAccountFields(accountState, id) {
|
|
14
|
-
const key = (0, accountState_1.getAccountKey)(id.reportId, id.accountId, id.classesViewParentId, id.accountsViewParentId
|
|
14
|
+
const key = (0, accountState_1.getAccountKey)(id.reportId, id.accountId, id.classesViewParentId, id.accountsViewParentId);
|
|
15
15
|
const account = accountState.accountsByKey[key];
|
|
16
16
|
if (account == null) {
|
|
17
17
|
throw new Error(`Account with ${key} doesn't exists`);
|
|
@@ -30,7 +30,6 @@ function getCommonAccountFields(accountState, id) {
|
|
|
30
30
|
qboId: account.qboId,
|
|
31
31
|
coaId: account.coaId,
|
|
32
32
|
classesViewParentId: account.classesViewParentId,
|
|
33
|
-
projectsViewParentId: account.projectsViewParentId,
|
|
34
33
|
accountsViewParentId: account.accountsViewParentId,
|
|
35
34
|
labels: account.labels,
|
|
36
35
|
isBillEditableCoaAccountType: account.isBillEditableCoaAccountType ?? false,
|
|
@@ -60,7 +59,7 @@ const getAccountBase = (accountState, accountId, reportId) => {
|
|
|
60
59
|
};
|
|
61
60
|
exports.getAccountBase = getAccountBase;
|
|
62
61
|
function getAccount(accountState, id, filter, additionalBalancesOptions) {
|
|
63
|
-
const key = (0, accountState_1.getAccountKey)(id.reportId, id.accountId, id.classesViewParentId, id.accountsViewParentId
|
|
62
|
+
const key = (0, accountState_1.getAccountKey)(id.reportId, id.accountId, id.classesViewParentId, id.accountsViewParentId);
|
|
64
63
|
const account = accountState.accountsByKey[key];
|
|
65
64
|
if (account == null) {
|
|
66
65
|
throw new Error(`Account with ${key} doesn't exists`);
|
|
@@ -111,7 +110,6 @@ const getAccountsOrdered = (filter, accountState, id, orderBy, order = 'last_bal
|
|
|
111
110
|
reportId: id.reportId,
|
|
112
111
|
classesViewParentId: id.classesViewParentId,
|
|
113
112
|
accountsViewParentId: id.accountsViewParentId,
|
|
114
|
-
projectsViewParentId: id.projectsViewParentId,
|
|
115
113
|
}, filter))
|
|
116
114
|
.sort((a, b) => {
|
|
117
115
|
switch (orderBy) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AccountsViewParentID } from '../../commonStateTypes/accountView/nestedAccountID';
|
|
2
2
|
import { Balance } from '../../commonStateTypes/balance';
|
|
3
3
|
import { ClassesViewParentID } from '../../commonStateTypes/classesView/nestedClassID';
|
|
4
|
-
import { ProjectsViewParentID } from '../../commonStateTypes/projectView/projectViewParentID';
|
|
5
4
|
import { COABalanceGrouped, COABalanceGroupedByPeriod } from '../../commonStateTypes/coaBalance/coaBalance';
|
|
6
5
|
import { ID } from '../../commonStateTypes/common';
|
|
7
6
|
import { RecommendationBase } from '../../commonStateTypes/recommendationBase';
|
|
@@ -15,7 +14,7 @@ export type UncategorizedAccountTypes = 'expense' | 'income';
|
|
|
15
14
|
declare const toAccountLabel: (v: string) => "prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses";
|
|
16
15
|
export type AccountLabel = ReturnType<typeof toAccountLabel>;
|
|
17
16
|
export declare const toAccountLabelStrict: (v: string | null | undefined) => AccountLabel | undefined;
|
|
18
|
-
export declare function getAccountKey(reportIdUniqueKey: ReportIDPlusForecastID, accountId: ID, classesViewParentId?: ClassesViewParentID, accountsViewParentId?: AccountsViewParentID
|
|
17
|
+
export declare function getAccountKey(reportIdUniqueKey: ReportIDPlusForecastID, accountId: ID, classesViewParentId?: ClassesViewParentID, accountsViewParentId?: AccountsViewParentID): `${string}-cash_balance` | `${string}-card_balance` | `${string}-expense_automation_card` | `${string}-operating_expenses` | `${string}-operating_expenses_by_classes` | `${string}-revenue` | `${string}-revenue_by_classes` | `${string}-net_burn_or_income` | `${string}-net_burn_or_income_story_card` | `${string}-net_burn_or_income_by_classes` | `${string}-cash_position` | `${string}-top_expenses` | `${string}-profit_and_loss` | `${string}-profit_and_loss_by_classes` | `${string}-balance_sheet` | `${string}-cash_flow` | `${string}-dashboard` | `${string}-finance_statement` | `${string}-transaction_list_of_account` | `${string}-transaction_list_missing_receipt` | `${string}-transaction_list_of_account_by_class` | `${string}-transaction_detail` | `${string}-cash_in_cash_out` | `${string}-insights_dashboard` | `${string}-company_details` | `${string}-class_list` | `${string}-account_list` | `${string}-account_list_by_type` | `${string}-vendor` | `${string}-task_card` | `${string}-bill_pay` | `${string}-reimbursement` | `${string}-bill_pay_card` | `${string}-reimbursement_card` | `${string}-bill_pay_promo_card` | `${string}-zeni_accounts` | `${string}-zeni_accounts_promo_card` | `${string}-zeni_treasury` | `${string}-charge_cards` | `${string}-other_connection` | `${string}-reimbursement_promo_card` | `${string}-onboarding` | `${string}-operating_expenses_by_vendor` | `${string}-operating_expenses_by_vendor_summary` | `${string}-vendors_tab` | `${string}-accounts_payable_aging` | `${string}-accounts_receivable_aging` | `${string}-vendor_global_review` | `${string}-prepaid_expenses` | `${string}-fixed_assets` | `${string}-notification` | `${string}-rewards_card` | `${string}-billing` | `${string}-flux_analysis_operating_expense` | `${string}-account_reconciliation` | `${string}-zeni_credit_promo_card` | `${string}-treasury_promo_card` | `${string}-excluded_account_reconciliation` | `${string}-cash_balance+${string}` | `${string}-card_balance+${string}` | `${string}-expense_automation_card+${string}` | `${string}-operating_expenses+${string}` | `${string}-operating_expenses_by_classes+${string}` | `${string}-revenue+${string}` | `${string}-revenue_by_classes+${string}` | `${string}-net_burn_or_income+${string}` | `${string}-net_burn_or_income_story_card+${string}` | `${string}-net_burn_or_income_by_classes+${string}` | `${string}-cash_position+${string}` | `${string}-top_expenses+${string}` | `${string}-profit_and_loss+${string}` | `${string}-profit_and_loss_by_classes+${string}` | `${string}-balance_sheet+${string}` | `${string}-cash_flow+${string}` | `${string}-dashboard+${string}` | `${string}-finance_statement+${string}` | `${string}-transaction_list_of_account+${string}` | `${string}-transaction_list_missing_receipt+${string}` | `${string}-transaction_list_of_account_by_class+${string}` | `${string}-transaction_detail+${string}` | `${string}-cash_in_cash_out+${string}` | `${string}-insights_dashboard+${string}` | `${string}-company_details+${string}` | `${string}-class_list+${string}` | `${string}-account_list+${string}` | `${string}-account_list_by_type+${string}` | `${string}-vendor+${string}` | `${string}-task_card+${string}` | `${string}-bill_pay+${string}` | `${string}-reimbursement+${string}` | `${string}-bill_pay_card+${string}` | `${string}-reimbursement_card+${string}` | `${string}-bill_pay_promo_card+${string}` | `${string}-zeni_accounts+${string}` | `${string}-zeni_accounts_promo_card+${string}` | `${string}-zeni_treasury+${string}` | `${string}-charge_cards+${string}` | `${string}-other_connection+${string}` | `${string}-reimbursement_promo_card+${string}` | `${string}-onboarding+${string}` | `${string}-operating_expenses_by_vendor+${string}` | `${string}-operating_expenses_by_vendor_summary+${string}` | `${string}-vendors_tab+${string}` | `${string}-accounts_payable_aging+${string}` | `${string}-accounts_receivable_aging+${string}` | `${string}-vendor_global_review+${string}` | `${string}-prepaid_expenses+${string}` | `${string}-fixed_assets+${string}` | `${string}-notification+${string}` | `${string}-rewards_card+${string}` | `${string}-billing+${string}` | `${string}-flux_analysis_operating_expense+${string}` | `${string}-account_reconciliation+${string}` | `${string}-zeni_credit_promo_card+${string}` | `${string}-treasury_promo_card+${string}` | `${string}-excluded_account_reconciliation+${string}`;
|
|
19
18
|
export type AccountKey = ReturnType<typeof getAccountKey>;
|
|
20
19
|
export declare const toReconciliationAccountSource: (v: string) => "plaid" | "bank_statement";
|
|
21
20
|
export type ReconciliationAccountSourceType = ReturnType<typeof toReconciliationAccountSource>;
|
|
@@ -77,7 +76,6 @@ export interface Account extends AccountBase {
|
|
|
77
76
|
operatingActivities?: COABalanceGrouped;
|
|
78
77
|
otherExpenses?: COABalanceGrouped;
|
|
79
78
|
otherIncome?: COABalanceGrouped;
|
|
80
|
-
projectsViewParentId?: ProjectsViewParentID;
|
|
81
79
|
statementCloseDay?: StatementCloseDay;
|
|
82
80
|
status?: Status;
|
|
83
81
|
}
|
|
@@ -44,10 +44,7 @@ const ALL_ACCOUNT_LABELS = [
|
|
|
44
44
|
const toAccountLabel = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_ACCOUNT_LABELS);
|
|
45
45
|
const toAccountLabelStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v ?? '', ALL_ACCOUNT_LABELS);
|
|
46
46
|
exports.toAccountLabelStrict = toAccountLabelStrict;
|
|
47
|
-
function getAccountKey(reportIdUniqueKey, accountId, classesViewParentId, accountsViewParentId
|
|
48
|
-
if (projectsViewParentId != null) {
|
|
49
|
-
return `${projectsViewParentId.sectionId}-${projectsViewParentId.projectId}-${accountId}-${reportIdUniqueKey}`;
|
|
50
|
-
}
|
|
47
|
+
function getAccountKey(reportIdUniqueKey, accountId, classesViewParentId, accountsViewParentId) {
|
|
51
48
|
if (classesViewParentId != null && accountsViewParentId == null) {
|
|
52
49
|
return `${classesViewParentId.sectionId}-${classesViewParentId.parentClassId != null
|
|
53
50
|
? (0, nestedClassID_1.getNestedClassIDStr)(classesViewParentId.parentClassId)
|
|
@@ -34,7 +34,6 @@ export declare const cloneAccountsWithZeroBalance: (accounts: AccountReport[]) =
|
|
|
34
34
|
qboId: string | undefined;
|
|
35
35
|
coaId: string | undefined;
|
|
36
36
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
37
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
38
37
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
39
38
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
40
39
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AccountsViewParentID, NestedAccountID, NestedAccountIDHierarchy } from '../../commonStateTypes/accountView/nestedAccountID';
|
|
2
2
|
import { ClassesViewParentID } from '../../commonStateTypes/classesView/nestedClassID';
|
|
3
|
-
import { ProjectsViewParentID } from '../../commonStateTypes/projectView/projectViewParentID';
|
|
4
3
|
import { AdditionalBalancesOptions } from '../../commonStateTypes/coaBalance/additionalBalances/getAdditionalBalances';
|
|
5
4
|
import { COABalancesFilter } from '../../commonStateTypes/coaBalance/coaBalancesFilter';
|
|
6
5
|
import { EntityOrder } from '../../commonStateTypes/selectorTypes/selectorTypes';
|
|
@@ -23,6 +22,5 @@ export declare const getNestedAccountReportForAccount: (accountState: AccountSta
|
|
|
23
22
|
reportId: ReportIDPlusForecastID;
|
|
24
23
|
accountsViewParentId?: AccountsViewParentID;
|
|
25
24
|
classesViewParentId?: ClassesViewParentID;
|
|
26
|
-
projectsViewParentId?: ProjectsViewParentID;
|
|
27
25
|
}, filter: COABalancesFilter, accountHasSiblings: boolean, additionalBalancesOptions?: AdditionalBalancesOptions) => NestedAccountReport | undefined;
|
|
28
26
|
export declare const sortNestedAccounts: (accounts: NestedAccountReport[], filter: COABalancesFilter, order?: EntityOrder) => NestedAccountReport[];
|
|
@@ -19,7 +19,6 @@ const getNestedAccountReportForAccount = (accountState, id, filter, accountHasSi
|
|
|
19
19
|
reportId: id.reportId,
|
|
20
20
|
classesViewParentId: id.classesViewParentId,
|
|
21
21
|
accountsViewParentId: id.accountsViewParentId,
|
|
22
|
-
projectsViewParentId: id.projectsViewParentId,
|
|
23
22
|
}, newFilter, additionalBalancesOptions);
|
|
24
23
|
if (accountReport == null) {
|
|
25
24
|
return undefined;
|
|
@@ -30,7 +29,6 @@ const getNestedAccountReportForAccount = (accountState, id, filter, accountHasSi
|
|
|
30
29
|
reportId: id.reportId,
|
|
31
30
|
accountIdHierarchy: childAccount,
|
|
32
31
|
classesViewParentId: id.classesViewParentId,
|
|
33
|
-
projectsViewParentId: id.projectsViewParentId,
|
|
34
32
|
accountsViewParentId: id.accountsViewParentId != null
|
|
35
33
|
? {
|
|
36
34
|
parentAccountId: id.accountIdHierarchy.id,
|
|
@@ -40,7 +40,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
40
40
|
qboId: string | undefined;
|
|
41
41
|
coaId: string | undefined;
|
|
42
42
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
43
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
44
43
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
45
44
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
46
45
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -77,7 +76,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
77
76
|
qboId: string | undefined;
|
|
78
77
|
coaId: string | undefined;
|
|
79
78
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
80
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
81
79
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
82
80
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
83
81
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -114,7 +112,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
114
112
|
qboId: string | undefined;
|
|
115
113
|
coaId: string | undefined;
|
|
116
114
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
117
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
118
115
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
119
116
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
120
117
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -151,7 +148,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
151
148
|
qboId: string | undefined;
|
|
152
149
|
coaId: string | undefined;
|
|
153
150
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
154
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
155
151
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
156
152
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
157
153
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -188,7 +184,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
188
184
|
qboId: string | undefined;
|
|
189
185
|
coaId: string | undefined;
|
|
190
186
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
191
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
192
187
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
193
188
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
194
189
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -226,7 +221,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
226
221
|
qboId: string | undefined;
|
|
227
222
|
coaId: string | undefined;
|
|
228
223
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
229
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
230
224
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
231
225
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
232
226
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -263,7 +257,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
263
257
|
qboId: string | undefined;
|
|
264
258
|
coaId: string | undefined;
|
|
265
259
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
266
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
267
260
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
268
261
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
269
262
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -300,7 +293,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
300
293
|
qboId: string | undefined;
|
|
301
294
|
coaId: string | undefined;
|
|
302
295
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
303
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
304
296
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
305
297
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
306
298
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -337,7 +329,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
337
329
|
qboId: string | undefined;
|
|
338
330
|
coaId: string | undefined;
|
|
339
331
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
340
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
341
332
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
342
333
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
343
334
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -374,7 +365,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
374
365
|
qboId: string | undefined;
|
|
375
366
|
coaId: string | undefined;
|
|
376
367
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
377
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
378
368
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
379
369
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
380
370
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -411,7 +401,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
411
401
|
qboId: string | undefined;
|
|
412
402
|
coaId: string | undefined;
|
|
413
403
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
414
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
415
404
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
416
405
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
417
406
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -455,7 +444,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
455
444
|
qboId: string | undefined;
|
|
456
445
|
coaId: string | undefined;
|
|
457
446
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
458
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
459
447
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
460
448
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
461
449
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -492,7 +480,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
492
480
|
qboId: string | undefined;
|
|
493
481
|
coaId: string | undefined;
|
|
494
482
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
495
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
496
483
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
497
484
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
498
485
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -529,7 +516,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
529
516
|
qboId: string | undefined;
|
|
530
517
|
coaId: string | undefined;
|
|
531
518
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
532
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
533
519
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
534
520
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
535
521
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -566,7 +552,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
566
552
|
qboId: string | undefined;
|
|
567
553
|
coaId: string | undefined;
|
|
568
554
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
569
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
570
555
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
571
556
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
572
557
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -603,7 +588,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
603
588
|
qboId: string | undefined;
|
|
604
589
|
coaId: string | undefined;
|
|
605
590
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
606
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
607
591
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
608
592
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
609
593
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -641,7 +625,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
641
625
|
qboId: string | undefined;
|
|
642
626
|
coaId: string | undefined;
|
|
643
627
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
644
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
645
628
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
646
629
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
647
630
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -678,7 +661,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
678
661
|
qboId: string | undefined;
|
|
679
662
|
coaId: string | undefined;
|
|
680
663
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
681
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
682
664
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
683
665
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
684
666
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -715,7 +697,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
715
697
|
qboId: string | undefined;
|
|
716
698
|
coaId: string | undefined;
|
|
717
699
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
718
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
719
700
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
720
701
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
721
702
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -752,7 +733,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
752
733
|
qboId: string | undefined;
|
|
753
734
|
coaId: string | undefined;
|
|
754
735
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
755
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
756
736
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
757
737
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
758
738
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -789,7 +769,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
789
769
|
qboId: string | undefined;
|
|
790
770
|
coaId: string | undefined;
|
|
791
771
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
792
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
793
772
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
794
773
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
795
774
|
isBillEditableCoaAccountType: boolean;
|
|
@@ -826,7 +805,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
826
805
|
qboId: string | undefined;
|
|
827
806
|
coaId: string | undefined;
|
|
828
807
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
829
|
-
projectsViewParentId: import("../../commonStateTypes/projectView/projectViewParentID").ProjectsViewParentID | undefined;
|
|
830
808
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
831
809
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
832
810
|
isBillEditableCoaAccountType: boolean;
|