@zeniai/client-epic-state 4.18.8 → 4.18.9
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/recommendationPayload.d.ts +19 -0
- package/lib/commonStateTypes/accountView/getNestedAccountIDHierarchyForReport.js +2 -0
- package/lib/commonStateTypes/accountView/nestedAccountID.d.ts +1 -0
- package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
- package/lib/commonStateTypes/viewAndReport/viewAndReport.js +1 -0
- package/lib/entity/account/accountPayload.d.ts +4 -2
- package/lib/entity/account/accountPayload.js +12 -2
- package/lib/entity/account/accountSelector.d.ts +3 -0
- package/lib/entity/account/accountSelector.js +2 -0
- package/lib/entity/account/accountState.d.ts +2 -1
- package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +1 -0
- package/lib/entity/accountGroup/accountGroupSelector.d.ts +22 -0
- package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
- package/lib/entity/class/classPayload.d.ts +3 -2
- package/lib/entity/class/classPayload.js +9 -0
- package/lib/entity/class/classReducer.d.ts +4 -4
- package/lib/entity/class/classState.d.ts +1 -1
- package/lib/entity/company/companyPayload.d.ts +1 -0
- package/lib/entity/company/companyPayload.js +5 -4
- package/lib/entity/company/companyStateTypes.d.ts +1 -0
- 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/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +1 -0
- package/lib/entity/transaction/payloadTypes/transactionPayload.d.ts +3 -2
- package/lib/entity/transaction/payloadTypes/transactionPayload.js +51 -1
- package/lib/entity/transaction/transactionHelper.d.ts +1 -0
- package/lib/entity/transaction/transactionHelper.js +13 -0
- package/lib/epic.d.ts +2 -1
- package/lib/epic.js +2 -1
- package/lib/index.d.ts +4 -3
- package/lib/index.js +11 -8
- package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +29 -0
- package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +1 -0
- package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +2 -0
- 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 +2 -1
- package/lib/view/cashBalance/cashBalanceSelector.d.ts +2 -1
- 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/dashboard/dashboardSelector.js +11 -8
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +3 -3
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.d.ts +2 -2
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +3 -3
- package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
- package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
- package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.js +11 -6
- package/lib/view/recommendation/recommendationHelper.d.ts +5 -3
- package/lib/view/recommendation/recommendationHelper.js +31 -1
- package/lib/view/recommendation/recommendationPayload.d.ts +5 -1
- package/lib/view/recommendation/recommendationReducer.d.ts +2 -1
- package/lib/view/recommendation/recommendationReducer.js +2 -1
- package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.d.ts +3 -1
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js +31 -2
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.d.ts +2 -1
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.js +3 -2
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewState.d.ts +1 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/expressInterestChargeCardEpic.d.ts +11 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/expressInterestChargeCardEpic.js +48 -0
- package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
- package/lib/view/topEx/topExSelector.d.ts +1 -1
- package/lib/view/transactionDetail/transactionDetailLocalDataHelper.d.ts +3 -3
- package/lib/view/transactionDetail/transactionDetailLocalDataHelper.js +1 -4
- package/lib/view/transactionDetail/transactionDetailReducer.d.ts +3 -3
- package/lib/view/transactionDetail/transactionDetailReducer.js +4 -4
- package/package.json +1 -1
|
@@ -10,12 +10,31 @@ export interface RecommendationBasePayload {
|
|
|
10
10
|
recommendation_hash?: string;
|
|
11
11
|
type?: string;
|
|
12
12
|
}
|
|
13
|
+
export interface AIReasoningPayload {
|
|
14
|
+
cot: string[];
|
|
15
|
+
reasoning: string;
|
|
16
|
+
}
|
|
13
17
|
export interface RecommendationPayload {
|
|
14
18
|
accounting_classes?: RecommendedClassBasePayload[];
|
|
15
19
|
accounts?: RecommendedAccountBasePayload[];
|
|
16
20
|
customers?: RecommendedVendorBasePayload[];
|
|
17
21
|
vendors?: RecommendedVendorBasePayload[];
|
|
18
22
|
}
|
|
23
|
+
export interface RecommendedAccountBasePayloadWithCOT extends RecommendedAccountBasePayload {
|
|
24
|
+
ai_reasoning?: AIReasoningPayload;
|
|
25
|
+
}
|
|
26
|
+
export interface RecommendedClassBasePayloadWithCOT extends RecommendedClassBasePayload {
|
|
27
|
+
ai_reasoning?: AIReasoningPayload;
|
|
28
|
+
}
|
|
29
|
+
export interface RecommendedVendorBasePayloadWithCOT extends RecommendedVendorBasePayload {
|
|
30
|
+
ai_reasoning?: AIReasoningPayload;
|
|
31
|
+
}
|
|
32
|
+
export interface RecommendationPayloadWithCOT {
|
|
33
|
+
accounting_classes?: RecommendedClassBasePayloadWithCOT[];
|
|
34
|
+
accounts?: RecommendedAccountBasePayloadWithCOT[];
|
|
35
|
+
customers?: RecommendedVendorBasePayloadWithCOT[];
|
|
36
|
+
vendors?: RecommendedVendorBasePayloadWithCOT[];
|
|
37
|
+
}
|
|
19
38
|
export interface EntityRecommendationPayload {
|
|
20
39
|
account?: RecommendedAccountBasePayload;
|
|
21
40
|
accounting_class?: RecommendedClassBasePayload;
|
|
@@ -28,6 +28,7 @@ function geNestedAccountIDHierarchyForReport(accountsMetadata) {
|
|
|
28
28
|
children: getNestedChildren([accountId], accountsMetadata),
|
|
29
29
|
hasSiblings: parentAccounts.length > 1,
|
|
30
30
|
coaId: parentAccount.coaId,
|
|
31
|
+
isDeleted: parentAccount.isDeleted,
|
|
31
32
|
};
|
|
32
33
|
});
|
|
33
34
|
return nestedParents;
|
|
@@ -44,6 +45,7 @@ const getNestedChildren = (parentAccount, allAccounts) => {
|
|
|
44
45
|
children: getNestedChildren(childId, allAccounts),
|
|
45
46
|
hasSiblings: children.length > 1,
|
|
46
47
|
coaId: child.coaId,
|
|
48
|
+
isDeleted: child.isDeleted,
|
|
47
49
|
};
|
|
48
50
|
});
|
|
49
51
|
return nestedChildren;
|
|
@@ -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", "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", "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"];
|
|
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" | "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";
|
|
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", "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"];
|
|
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" | "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";
|
|
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 */
|
|
@@ -57,6 +57,7 @@ exports.ALL_REPORT_IDS = [
|
|
|
57
57
|
'billing',
|
|
58
58
|
'flux_analysis_operating_expense',
|
|
59
59
|
'account_reconciliation',
|
|
60
|
+
'zeni_credit_promo_card',
|
|
60
61
|
];
|
|
61
62
|
const toReportID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_REPORT_IDS);
|
|
62
63
|
exports.toReportID = toReportID;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BalancePayload } from '../../commonPayloadTypes/balanceChangePayload';
|
|
2
2
|
import { COABalanceGroupedPayload } from '../../commonPayloadTypes/coaBalancePayload';
|
|
3
|
-
import { RecommendationBasePayload } from '../../commonPayloadTypes/recommendationPayload';
|
|
3
|
+
import { RecommendationBasePayload, RecommendedAccountBasePayloadWithCOT } from '../../commonPayloadTypes/recommendationPayload';
|
|
4
4
|
import { StatusPayload } from '../../commonPayloadTypes/statusPayload';
|
|
5
5
|
import { URLPayload } from '../../commonPayloadTypes/urlPayload';
|
|
6
|
-
import { AccountBase, AccountMetadata, RecommendedAccountBase, StatementCloseDay } from './accountState';
|
|
6
|
+
import { AccountBase, AccountMetadata, RecommendedAccountBase, RecommendedAccountBaseWithCOT, StatementCloseDay } from './accountState';
|
|
7
7
|
export interface AccountBasePayload {
|
|
8
8
|
account_id: string;
|
|
9
9
|
account_name: string;
|
|
@@ -12,6 +12,7 @@ export interface AccountBasePayload {
|
|
|
12
12
|
account_sub_type?: string | null;
|
|
13
13
|
account_type?: string | null;
|
|
14
14
|
coa_id?: string | null;
|
|
15
|
+
is_deleted?: boolean | null;
|
|
15
16
|
last_4_digits?: string | null;
|
|
16
17
|
logo?: URLPayload;
|
|
17
18
|
qbo_id?: string;
|
|
@@ -30,6 +31,7 @@ export interface RecommendedAccountBasePayload extends AccountBasePayload, Recom
|
|
|
30
31
|
}
|
|
31
32
|
export declare const mapAccountBasePayloadToAccountBase: (payload: AccountBasePayload) => AccountBase;
|
|
32
33
|
export declare const mapRecommendedAccountBasePayloadToRecommendedAccountBase: (payload: RecommendedAccountBasePayload) => RecommendedAccountBase | undefined;
|
|
34
|
+
export declare const mapRecommendedAccountBasePayloadWithCOTToRecommendedAccountBaseWithCOT: (payload: RecommendedAccountBasePayloadWithCOT) => RecommendedAccountBaseWithCOT | undefined;
|
|
33
35
|
export declare const mapStatementCloseDayPayloadToStatementCloseDay: (payload: string) => StatementCloseDay;
|
|
34
36
|
export interface AccountPayload extends AccountBasePayload {
|
|
35
37
|
assets?: COABalanceGroupedPayload;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mapAccountMetadataPayloadToAccountMetadata = exports.toRecommendedAccountBasePayload = exports.toAccountPayload = exports.mapStatementCloseDayPayloadToStatementCloseDay = exports.mapRecommendedAccountBasePayloadToRecommendedAccountBase = exports.mapAccountBasePayloadToAccountBase = void 0;
|
|
3
|
+
exports.mapAccountMetadataPayloadToAccountMetadata = exports.toRecommendedAccountBasePayload = exports.toAccountPayload = exports.mapStatementCloseDayPayloadToStatementCloseDay = exports.mapRecommendedAccountBasePayloadWithCOTToRecommendedAccountBaseWithCOT = exports.mapRecommendedAccountBasePayloadToRecommendedAccountBase = exports.mapAccountBasePayloadToAccountBase = void 0;
|
|
4
4
|
const recommendationPayload_1 = require("../../commonPayloadTypes/recommendationPayload");
|
|
5
5
|
const urlPayload_1 = require("../../commonPayloadTypes/urlPayload");
|
|
6
6
|
const accountState_1 = require("./accountState");
|
|
7
7
|
const mapAccountBasePayloadToAccountBase = (payload) => {
|
|
8
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
8
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
9
9
|
return ({
|
|
10
10
|
accountId: (_a = payload.account_id) !== null && _a !== void 0 ? _a : payload.account_name, // note:if account_id is null, use account_name as its ID.
|
|
11
11
|
accountName: payload.account_name,
|
|
@@ -21,6 +21,7 @@ const mapAccountBasePayloadToAccountBase = (payload) => {
|
|
|
21
21
|
reconciliationSource: payload.reconciliation_source == null
|
|
22
22
|
? undefined
|
|
23
23
|
: (0, accountState_1.toReconciliationAccountSource)(payload.reconciliation_source),
|
|
24
|
+
isDeleted: (_h = payload.is_deleted) !== null && _h !== void 0 ? _h : false,
|
|
24
25
|
});
|
|
25
26
|
};
|
|
26
27
|
exports.mapAccountBasePayloadToAccountBase = mapAccountBasePayloadToAccountBase;
|
|
@@ -30,6 +31,15 @@ const mapRecommendedAccountBasePayloadToRecommendedAccountBase = (payload) => {
|
|
|
30
31
|
? Object.assign({ accountId: (_a = payload.account_id) !== null && _a !== void 0 ? _a : payload.account_name, accountName: payload.account_name, accountType: (0, accountState_1.toAccountTypeStrict)(payload.account_type), accountSubType: (_b = payload.account_sub_type) !== null && _b !== void 0 ? _b : undefined, accountDescription: (_c = payload.account_description) !== null && _c !== void 0 ? _c : '', last4Digits: (_d = payload.last_4_digits) !== null && _d !== void 0 ? _d : undefined, logo: payload.logo == null ? undefined : (0, urlPayload_1.toURL)(payload.logo), qboId: (_e = payload.qbo_id) !== null && _e !== void 0 ? _e : undefined, coaId: (_f = payload.coa_id) !== null && _f !== void 0 ? _f : '', labels: toAccountLabelArray(payload.labels), accountNameConfidence: payload.account_name_confidence }, (0, recommendationPayload_1.toRecommendationBase)(payload)) : undefined;
|
|
31
32
|
};
|
|
32
33
|
exports.mapRecommendedAccountBasePayloadToRecommendedAccountBase = mapRecommendedAccountBasePayloadToRecommendedAccountBase;
|
|
34
|
+
const mapRecommendedAccountBasePayloadWithCOTToRecommendedAccountBaseWithCOT = (payload) => {
|
|
35
|
+
var _a, _b, _c, _d;
|
|
36
|
+
const base = (0, exports.mapRecommendedAccountBasePayloadToRecommendedAccountBase)(payload);
|
|
37
|
+
if (!base) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
return Object.assign(Object.assign({}, base), { cot: (_b = (_a = payload.ai_reasoning) === null || _a === void 0 ? void 0 : _a.cot) !== null && _b !== void 0 ? _b : [], reasoning: (_d = (_c = payload.ai_reasoning) === null || _c === void 0 ? void 0 : _c.reasoning) !== null && _d !== void 0 ? _d : '' });
|
|
41
|
+
};
|
|
42
|
+
exports.mapRecommendedAccountBasePayloadWithCOTToRecommendedAccountBaseWithCOT = mapRecommendedAccountBasePayloadWithCOTToRecommendedAccountBaseWithCOT;
|
|
33
43
|
const mapStatementCloseDayPayloadToStatementCloseDay = (payload) => {
|
|
34
44
|
return payload === 'LAST_DAY_OF_THE_MONTH'
|
|
35
45
|
? 'LAST_DAY_OF_THE_MONTH'
|
|
@@ -44,6 +44,7 @@ export declare function getAccount(accountState: AccountState, id: {
|
|
|
44
44
|
classesViewParentId: ClassesViewParentID | undefined;
|
|
45
45
|
accountsViewParentId: AccountsViewParentID | undefined;
|
|
46
46
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
47
|
+
isDeleted: boolean;
|
|
47
48
|
};
|
|
48
49
|
export declare function getAccountWithBalance(accountState: AccountState, id: {
|
|
49
50
|
accountId: ID;
|
|
@@ -66,6 +67,7 @@ export declare function getAccountWithBalance(accountState: AccountState, id: {
|
|
|
66
67
|
classesViewParentId: ClassesViewParentID | undefined;
|
|
67
68
|
accountsViewParentId: AccountsViewParentID | undefined;
|
|
68
69
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
70
|
+
isDeleted: boolean;
|
|
69
71
|
};
|
|
70
72
|
export type AccountReport = ReturnType<typeof getAccount>;
|
|
71
73
|
export type AccountWithBalanceReport = ReturnType<typeof getAccountWithBalance>;
|
|
@@ -106,6 +108,7 @@ export declare const getAccountsOrdered: (filter: COABalancesFilter, accountStat
|
|
|
106
108
|
classesViewParentId: ClassesViewParentID | undefined;
|
|
107
109
|
accountsViewParentId: AccountsViewParentID | undefined;
|
|
108
110
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
111
|
+
isDeleted: boolean;
|
|
109
112
|
}[];
|
|
110
113
|
export declare const getAccountsByType: (accountState: AccountState, accountTypes: AccountType[]) => Partial<Record<AccountType, Account[]>>;
|
|
111
114
|
export declare const getAccountIdsForTypes: (accountState: AccountState, accountTypes: AccountType[]) => ID[];
|
|
@@ -11,6 +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
|
+
var _a;
|
|
14
15
|
const key = (0, accountState_1.getAccountKey)(id.reportId, id.accountId, id.classesViewParentId, id.accountsViewParentId);
|
|
15
16
|
const account = accountState.accountsByKey[key];
|
|
16
17
|
if (account == null) {
|
|
@@ -32,6 +33,7 @@ function getCommonAccountFields(accountState, id) {
|
|
|
32
33
|
classesViewParentId: account.classesViewParentId,
|
|
33
34
|
accountsViewParentId: account.accountsViewParentId,
|
|
34
35
|
labels: account.labels,
|
|
36
|
+
isDeleted: (_a = account.isDeleted) !== null && _a !== void 0 ? _a : false,
|
|
35
37
|
};
|
|
36
38
|
}
|
|
37
39
|
const getAccountBase = (accountState, accountId, reportId) => {
|
|
@@ -13,7 +13,7 @@ export declare const toAccountTypeStrict: (v: string | null | undefined) => Acco
|
|
|
13
13
|
declare const toAccountLabel: (v: string) => "prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses";
|
|
14
14
|
export type AccountLabel = ReturnType<typeof toAccountLabel>;
|
|
15
15
|
export declare const toAccountLabelStrict: (v: string | null | undefined) => AccountLabel | undefined;
|
|
16
|
-
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}-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}-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}-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}`;
|
|
16
|
+
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}-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}-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}-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}`;
|
|
17
17
|
export type AccountKey = ReturnType<typeof getAccountKey>;
|
|
18
18
|
export declare const toReconciliationAccountSource: (v: string) => "plaid" | "bank_statement";
|
|
19
19
|
export type ReconciliationAccountSourceType = ReturnType<typeof toReconciliationAccountSource>;
|
|
@@ -37,6 +37,7 @@ export interface AccountBase {
|
|
|
37
37
|
accountSubType?: string;
|
|
38
38
|
accountType?: AccountType;
|
|
39
39
|
coaId?: ID;
|
|
40
|
+
isDeleted?: boolean;
|
|
40
41
|
isPreFilled?: boolean;
|
|
41
42
|
last4Digits?: string;
|
|
42
43
|
logo?: ZeniUrl;
|
|
@@ -36,4 +36,5 @@ export declare const cloneAccountsWithZeroBalance: (accounts: AccountReport[]) =
|
|
|
36
36
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
37
37
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
38
38
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
39
|
+
isDeleted: boolean;
|
|
39
40
|
}[];
|
|
@@ -42,6 +42,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
42
42
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
43
43
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
44
44
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
45
|
+
isDeleted: boolean;
|
|
45
46
|
}[];
|
|
46
47
|
expensesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
47
48
|
accountsWithIncomeOrdered: {
|
|
@@ -76,6 +77,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
76
77
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
77
78
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
78
79
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
80
|
+
isDeleted: boolean;
|
|
79
81
|
}[];
|
|
80
82
|
incomeInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
81
83
|
accountsWithCogsOrdered: {
|
|
@@ -110,6 +112,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
110
112
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
111
113
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
112
114
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
115
|
+
isDeleted: boolean;
|
|
113
116
|
}[];
|
|
114
117
|
cogsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
115
118
|
accountsWithCashInOrdered: {
|
|
@@ -144,6 +147,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
144
147
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
145
148
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
146
149
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
150
|
+
isDeleted: boolean;
|
|
147
151
|
}[];
|
|
148
152
|
cashInInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
149
153
|
accountsWithCashOutOrdered: {
|
|
@@ -178,6 +182,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
178
182
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
179
183
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
180
184
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
185
|
+
isDeleted: boolean;
|
|
181
186
|
}[];
|
|
182
187
|
cashOutInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
183
188
|
equityInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
@@ -213,6 +218,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
213
218
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
214
219
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
215
220
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
221
|
+
isDeleted: boolean;
|
|
216
222
|
}[];
|
|
217
223
|
assetsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
218
224
|
accountsWithAssetsOrdered: {
|
|
@@ -247,6 +253,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
247
253
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
248
254
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
249
255
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
256
|
+
isDeleted: boolean;
|
|
250
257
|
}[];
|
|
251
258
|
liabilitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
252
259
|
accountsWithLiabilitiesOrdered: {
|
|
@@ -281,6 +288,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
281
288
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
282
289
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
283
290
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
291
|
+
isDeleted: boolean;
|
|
284
292
|
}[];
|
|
285
293
|
operatingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
286
294
|
accountsWithOperatingActivitiesOrdered: {
|
|
@@ -315,6 +323,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
315
323
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
316
324
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
317
325
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
326
|
+
isDeleted: boolean;
|
|
318
327
|
}[];
|
|
319
328
|
investingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
320
329
|
accountsWithInvestingActivitiesOrdered: {
|
|
@@ -349,6 +358,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
349
358
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
350
359
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
351
360
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
361
|
+
isDeleted: boolean;
|
|
352
362
|
}[];
|
|
353
363
|
financingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
354
364
|
accountsWithFinancingActivitiesOrdered: {
|
|
@@ -383,6 +393,7 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
383
393
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
384
394
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
385
395
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
396
|
+
isDeleted: boolean;
|
|
386
397
|
}[];
|
|
387
398
|
};
|
|
388
399
|
export type AccountGroupReport = ReturnType<typeof getAccountGroup>;
|
|
@@ -424,6 +435,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
424
435
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
425
436
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
426
437
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
438
|
+
isDeleted: boolean;
|
|
427
439
|
}[];
|
|
428
440
|
expensesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
429
441
|
accountsWithIncomeOrdered: {
|
|
@@ -458,6 +470,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
458
470
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
459
471
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
460
472
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
473
|
+
isDeleted: boolean;
|
|
461
474
|
}[];
|
|
462
475
|
incomeInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
463
476
|
accountsWithCogsOrdered: {
|
|
@@ -492,6 +505,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
492
505
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
493
506
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
494
507
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
508
|
+
isDeleted: boolean;
|
|
495
509
|
}[];
|
|
496
510
|
cogsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
497
511
|
accountsWithCashInOrdered: {
|
|
@@ -526,6 +540,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
526
540
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
527
541
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
528
542
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
543
|
+
isDeleted: boolean;
|
|
529
544
|
}[];
|
|
530
545
|
cashInInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
531
546
|
accountsWithCashOutOrdered: {
|
|
@@ -560,6 +575,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
560
575
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
561
576
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
562
577
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
578
|
+
isDeleted: boolean;
|
|
563
579
|
}[];
|
|
564
580
|
cashOutInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
565
581
|
equityInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
@@ -595,6 +611,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
595
611
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
596
612
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
597
613
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
614
|
+
isDeleted: boolean;
|
|
598
615
|
}[];
|
|
599
616
|
assetsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
600
617
|
accountsWithAssetsOrdered: {
|
|
@@ -629,6 +646,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
629
646
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
630
647
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
631
648
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
649
|
+
isDeleted: boolean;
|
|
632
650
|
}[];
|
|
633
651
|
liabilitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
634
652
|
accountsWithLiabilitiesOrdered: {
|
|
@@ -663,6 +681,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
663
681
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
664
682
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
665
683
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
684
|
+
isDeleted: boolean;
|
|
666
685
|
}[];
|
|
667
686
|
operatingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
668
687
|
accountsWithOperatingActivitiesOrdered: {
|
|
@@ -697,6 +716,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
697
716
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
698
717
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
699
718
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
719
|
+
isDeleted: boolean;
|
|
700
720
|
}[];
|
|
701
721
|
investingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
702
722
|
accountsWithInvestingActivitiesOrdered: {
|
|
@@ -731,6 +751,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
731
751
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
732
752
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
733
753
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
754
|
+
isDeleted: boolean;
|
|
734
755
|
}[];
|
|
735
756
|
financingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
736
757
|
accountsWithFinancingActivitiesOrdered: {
|
|
@@ -765,6 +786,7 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
765
786
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
766
787
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
767
788
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
789
|
+
isDeleted: boolean;
|
|
768
790
|
}[];
|
|
769
791
|
}[];
|
|
770
792
|
export {};
|