@zeniai/client-epic-state 4.18.66 → 4.18.67
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/commonStateTypes/accountView/getNestedAccountIDHierarchyForReport.js +4 -0
- package/lib/commonStateTypes/accountView/nestedAccountID.d.ts +2 -0
- package/lib/entity/account/accountPayload.d.ts +2 -0
- package/lib/entity/account/accountPayload.js +3 -1
- package/lib/entity/account/accountSelector.d.ts +6 -0
- package/lib/entity/account/accountSelector.js +3 -0
- package/lib/entity/account/accountState.d.ts +2 -0
- package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +2 -0
- package/lib/entity/accountGroup/accountGroupSelector.d.ts +44 -0
- package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +29 -0
- package/lib/view/cardBalance/cardBalanceSelector.d.ts +2 -0
- package/lib/view/cashBalance/cashBalanceSelector.d.ts +2 -0
- package/package.json +1 -1
|
@@ -28,6 +28,8 @@ function geNestedAccountIDHierarchyForReport(accountsMetadata) {
|
|
|
28
28
|
children: getNestedChildren([accountId], accountsMetadata),
|
|
29
29
|
hasSiblings: parentAccounts.length > 1,
|
|
30
30
|
coaId: parentAccount.coaId,
|
|
31
|
+
isBillEditableCoaAccountType: parentAccount.isBillEditableCoaAccountType,
|
|
32
|
+
isDeleted: parentAccount.isDeleted,
|
|
31
33
|
};
|
|
32
34
|
});
|
|
33
35
|
return nestedParents;
|
|
@@ -44,6 +46,8 @@ const getNestedChildren = (parentAccount, allAccounts) => {
|
|
|
44
46
|
children: getNestedChildren(childId, allAccounts),
|
|
45
47
|
hasSiblings: children.length > 1,
|
|
46
48
|
coaId: child.coaId,
|
|
49
|
+
isBillEditableCoaAccountType: child.isBillEditableCoaAccountType,
|
|
50
|
+
isDeleted: child.isDeleted,
|
|
47
51
|
};
|
|
48
52
|
});
|
|
49
53
|
return nestedChildren;
|
|
@@ -52,6 +52,8 @@ export interface NestedAccountHierarchyForReport {
|
|
|
52
52
|
hasSiblings: boolean;
|
|
53
53
|
qboId: ID | undefined;
|
|
54
54
|
coaId?: ID;
|
|
55
|
+
isBillEditableCoaAccountType?: boolean;
|
|
56
|
+
isDeleted?: boolean;
|
|
55
57
|
}
|
|
56
58
|
export type AccountMetadataRecordsByID = Record<ID, {
|
|
57
59
|
accountMetadata: AccountMetadata;
|
|
@@ -12,6 +12,8 @@ export interface AccountBasePayload {
|
|
|
12
12
|
account_sub_type?: string | null;
|
|
13
13
|
account_type?: string | null;
|
|
14
14
|
coa_id?: string | null;
|
|
15
|
+
is_bill_editable_coa_account_type?: boolean | null;
|
|
16
|
+
is_deleted?: boolean | null;
|
|
15
17
|
last_4_digits?: string | null;
|
|
16
18
|
logo?: URLPayload;
|
|
17
19
|
qbo_id?: string;
|
|
@@ -5,7 +5,7 @@ const recommendationPayload_1 = require("../../commonPayloadTypes/recommendation
|
|
|
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, _j;
|
|
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,8 @@ const mapAccountBasePayloadToAccountBase = (payload) => {
|
|
|
21
21
|
reconciliationSource: payload.reconciliation_source == null
|
|
22
22
|
? undefined
|
|
23
23
|
: (0, accountState_1.toReconciliationAccountSource)(payload.reconciliation_source),
|
|
24
|
+
isBillEditableCoaAccountType: (_h = payload.is_bill_editable_coa_account_type) !== null && _h !== void 0 ? _h : undefined,
|
|
25
|
+
isDeleted: (_j = payload.is_deleted) !== null && _j !== void 0 ? _j : false,
|
|
24
26
|
});
|
|
25
27
|
};
|
|
26
28
|
exports.mapAccountBasePayloadToAccountBase = mapAccountBasePayloadToAccountBase;
|
|
@@ -44,6 +44,8 @@ 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
|
+
isBillEditableCoaAccountType: boolean;
|
|
48
|
+
isDeleted: boolean;
|
|
47
49
|
};
|
|
48
50
|
export declare function getAccountWithBalance(accountState: AccountState, id: {
|
|
49
51
|
accountId: ID;
|
|
@@ -66,6 +68,8 @@ export declare function getAccountWithBalance(accountState: AccountState, id: {
|
|
|
66
68
|
classesViewParentId: ClassesViewParentID | undefined;
|
|
67
69
|
accountsViewParentId: AccountsViewParentID | undefined;
|
|
68
70
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
71
|
+
isBillEditableCoaAccountType: boolean;
|
|
72
|
+
isDeleted: boolean;
|
|
69
73
|
};
|
|
70
74
|
export type AccountReport = ReturnType<typeof getAccount>;
|
|
71
75
|
export type AccountWithBalanceReport = ReturnType<typeof getAccountWithBalance>;
|
|
@@ -106,6 +110,8 @@ export declare const getAccountsOrdered: (filter: COABalancesFilter, accountStat
|
|
|
106
110
|
classesViewParentId: ClassesViewParentID | undefined;
|
|
107
111
|
accountsViewParentId: AccountsViewParentID | undefined;
|
|
108
112
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
113
|
+
isBillEditableCoaAccountType: boolean;
|
|
114
|
+
isDeleted: boolean;
|
|
109
115
|
}[];
|
|
110
116
|
export declare const getAccountsByType: (accountState: AccountState, accountTypes: AccountType[]) => Partial<Record<AccountType, Account[]>>;
|
|
111
117
|
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, _b;
|
|
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,8 @@ function getCommonAccountFields(accountState, id) {
|
|
|
32
33
|
classesViewParentId: account.classesViewParentId,
|
|
33
34
|
accountsViewParentId: account.accountsViewParentId,
|
|
34
35
|
labels: account.labels,
|
|
36
|
+
isBillEditableCoaAccountType: (_a = account.isBillEditableCoaAccountType) !== null && _a !== void 0 ? _a : false,
|
|
37
|
+
isDeleted: (_b = account.isDeleted) !== null && _b !== void 0 ? _b : false,
|
|
35
38
|
};
|
|
36
39
|
}
|
|
37
40
|
const getAccountBase = (accountState, accountId, reportId) => {
|
|
@@ -36,4 +36,6 @@ 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
|
+
isBillEditableCoaAccountType: boolean;
|
|
40
|
+
isDeleted: boolean;
|
|
39
41
|
}[];
|
|
@@ -42,6 +42,8 @@ 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
|
+
isBillEditableCoaAccountType: boolean;
|
|
46
|
+
isDeleted: boolean;
|
|
45
47
|
}[];
|
|
46
48
|
expensesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
47
49
|
accountsWithIncomeOrdered: {
|
|
@@ -76,6 +78,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
76
78
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
77
79
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
78
80
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
81
|
+
isBillEditableCoaAccountType: boolean;
|
|
82
|
+
isDeleted: boolean;
|
|
79
83
|
}[];
|
|
80
84
|
incomeInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
81
85
|
accountsWithCogsOrdered: {
|
|
@@ -110,6 +114,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
110
114
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
111
115
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
112
116
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
117
|
+
isBillEditableCoaAccountType: boolean;
|
|
118
|
+
isDeleted: boolean;
|
|
113
119
|
}[];
|
|
114
120
|
cogsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
115
121
|
accountsWithCashInOrdered: {
|
|
@@ -144,6 +150,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
144
150
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
145
151
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
146
152
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
153
|
+
isBillEditableCoaAccountType: boolean;
|
|
154
|
+
isDeleted: boolean;
|
|
147
155
|
}[];
|
|
148
156
|
cashInInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
149
157
|
accountsWithCashOutOrdered: {
|
|
@@ -178,6 +186,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
178
186
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
179
187
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
180
188
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
189
|
+
isBillEditableCoaAccountType: boolean;
|
|
190
|
+
isDeleted: boolean;
|
|
181
191
|
}[];
|
|
182
192
|
cashOutInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
183
193
|
equityInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
@@ -213,6 +223,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
213
223
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
214
224
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
215
225
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
226
|
+
isBillEditableCoaAccountType: boolean;
|
|
227
|
+
isDeleted: boolean;
|
|
216
228
|
}[];
|
|
217
229
|
assetsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
218
230
|
accountsWithAssetsOrdered: {
|
|
@@ -247,6 +259,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
247
259
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
248
260
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
249
261
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
262
|
+
isBillEditableCoaAccountType: boolean;
|
|
263
|
+
isDeleted: boolean;
|
|
250
264
|
}[];
|
|
251
265
|
liabilitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
252
266
|
accountsWithLiabilitiesOrdered: {
|
|
@@ -281,6 +295,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
281
295
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
282
296
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
283
297
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
298
|
+
isBillEditableCoaAccountType: boolean;
|
|
299
|
+
isDeleted: boolean;
|
|
284
300
|
}[];
|
|
285
301
|
operatingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
286
302
|
accountsWithOperatingActivitiesOrdered: {
|
|
@@ -315,6 +331,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
315
331
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
316
332
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
317
333
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
334
|
+
isBillEditableCoaAccountType: boolean;
|
|
335
|
+
isDeleted: boolean;
|
|
318
336
|
}[];
|
|
319
337
|
investingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
320
338
|
accountsWithInvestingActivitiesOrdered: {
|
|
@@ -349,6 +367,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
349
367
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
350
368
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
351
369
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
370
|
+
isBillEditableCoaAccountType: boolean;
|
|
371
|
+
isDeleted: boolean;
|
|
352
372
|
}[];
|
|
353
373
|
financingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
354
374
|
accountsWithFinancingActivitiesOrdered: {
|
|
@@ -383,6 +403,8 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
383
403
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
384
404
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
385
405
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
406
|
+
isBillEditableCoaAccountType: boolean;
|
|
407
|
+
isDeleted: boolean;
|
|
386
408
|
}[];
|
|
387
409
|
};
|
|
388
410
|
export type AccountGroupReport = ReturnType<typeof getAccountGroup>;
|
|
@@ -424,6 +446,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
424
446
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
425
447
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
426
448
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
449
|
+
isBillEditableCoaAccountType: boolean;
|
|
450
|
+
isDeleted: boolean;
|
|
427
451
|
}[];
|
|
428
452
|
expensesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
429
453
|
accountsWithIncomeOrdered: {
|
|
@@ -458,6 +482,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
458
482
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
459
483
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
460
484
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
485
|
+
isBillEditableCoaAccountType: boolean;
|
|
486
|
+
isDeleted: boolean;
|
|
461
487
|
}[];
|
|
462
488
|
incomeInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
463
489
|
accountsWithCogsOrdered: {
|
|
@@ -492,6 +518,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
492
518
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
493
519
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
494
520
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
521
|
+
isBillEditableCoaAccountType: boolean;
|
|
522
|
+
isDeleted: boolean;
|
|
495
523
|
}[];
|
|
496
524
|
cogsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
497
525
|
accountsWithCashInOrdered: {
|
|
@@ -526,6 +554,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
526
554
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
527
555
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
528
556
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
557
|
+
isBillEditableCoaAccountType: boolean;
|
|
558
|
+
isDeleted: boolean;
|
|
529
559
|
}[];
|
|
530
560
|
cashInInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
531
561
|
accountsWithCashOutOrdered: {
|
|
@@ -560,6 +590,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
560
590
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
561
591
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
562
592
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
593
|
+
isBillEditableCoaAccountType: boolean;
|
|
594
|
+
isDeleted: boolean;
|
|
563
595
|
}[];
|
|
564
596
|
cashOutInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
565
597
|
equityInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
@@ -595,6 +627,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
595
627
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
596
628
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
597
629
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
630
|
+
isBillEditableCoaAccountType: boolean;
|
|
631
|
+
isDeleted: boolean;
|
|
598
632
|
}[];
|
|
599
633
|
assetsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
600
634
|
accountsWithAssetsOrdered: {
|
|
@@ -629,6 +663,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
629
663
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
630
664
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
631
665
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
666
|
+
isBillEditableCoaAccountType: boolean;
|
|
667
|
+
isDeleted: boolean;
|
|
632
668
|
}[];
|
|
633
669
|
liabilitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
634
670
|
accountsWithLiabilitiesOrdered: {
|
|
@@ -663,6 +699,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
663
699
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
664
700
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
665
701
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
702
|
+
isBillEditableCoaAccountType: boolean;
|
|
703
|
+
isDeleted: boolean;
|
|
666
704
|
}[];
|
|
667
705
|
operatingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
668
706
|
accountsWithOperatingActivitiesOrdered: {
|
|
@@ -697,6 +735,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
697
735
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
698
736
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
699
737
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
738
|
+
isBillEditableCoaAccountType: boolean;
|
|
739
|
+
isDeleted: boolean;
|
|
700
740
|
}[];
|
|
701
741
|
investingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
702
742
|
accountsWithInvestingActivitiesOrdered: {
|
|
@@ -731,6 +771,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
731
771
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
732
772
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
733
773
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
774
|
+
isBillEditableCoaAccountType: boolean;
|
|
775
|
+
isDeleted: boolean;
|
|
734
776
|
}[];
|
|
735
777
|
financingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
736
778
|
accountsWithFinancingActivitiesOrdered: {
|
|
@@ -765,6 +807,8 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
765
807
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
766
808
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
767
809
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
810
|
+
isBillEditableCoaAccountType: boolean;
|
|
811
|
+
isDeleted: boolean;
|
|
768
812
|
}[];
|
|
769
813
|
}[];
|
|
770
814
|
export {};
|
|
@@ -4203,6 +4203,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4203
4203
|
accountName: 'Utilities',
|
|
4204
4204
|
children: [],
|
|
4205
4205
|
coaId: undefined,
|
|
4206
|
+
isDeleted: false,
|
|
4206
4207
|
hasSiblings: true,
|
|
4207
4208
|
qboId: '24',
|
|
4208
4209
|
},
|
|
@@ -4211,6 +4212,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4211
4212
|
accountName: 'Uncategorized Expense',
|
|
4212
4213
|
children: [],
|
|
4213
4214
|
coaId: '69999',
|
|
4215
|
+
isDeleted: false,
|
|
4214
4216
|
hasSiblings: true,
|
|
4215
4217
|
qboId: '31',
|
|
4216
4218
|
},
|
|
@@ -4219,6 +4221,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4219
4221
|
accountName: 'Unapplied Cash Bill Payment Expense',
|
|
4220
4222
|
children: [],
|
|
4221
4223
|
coaId: undefined,
|
|
4224
|
+
isDeleted: false,
|
|
4222
4225
|
hasSiblings: true,
|
|
4223
4226
|
qboId: '88',
|
|
4224
4227
|
},
|
|
@@ -4234,6 +4237,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4234
4237
|
accountName: 'Uncategorized Income',
|
|
4235
4238
|
children: [],
|
|
4236
4239
|
coaId: '49999',
|
|
4240
|
+
isDeleted: false,
|
|
4237
4241
|
hasSiblings: true,
|
|
4238
4242
|
qboId: '30',
|
|
4239
4243
|
},
|
|
@@ -4242,6 +4246,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4242
4246
|
accountName: 'Unapplied Cash Payment Income',
|
|
4243
4247
|
children: [],
|
|
4244
4248
|
coaId: undefined,
|
|
4249
|
+
isDeleted: false,
|
|
4245
4250
|
hasSiblings: true,
|
|
4246
4251
|
qboId: '87',
|
|
4247
4252
|
},
|
|
@@ -4255,6 +4260,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4255
4260
|
accountName: 'Utilities',
|
|
4256
4261
|
children: [],
|
|
4257
4262
|
coaId: undefined,
|
|
4263
|
+
isDeleted: false,
|
|
4258
4264
|
hasSiblings: true,
|
|
4259
4265
|
qboId: '24',
|
|
4260
4266
|
},
|
|
@@ -4263,6 +4269,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4263
4269
|
accountName: 'Uncategorized Expense',
|
|
4264
4270
|
children: [],
|
|
4265
4271
|
coaId: '69999',
|
|
4272
|
+
isDeleted: false,
|
|
4266
4273
|
hasSiblings: true,
|
|
4267
4274
|
qboId: '31',
|
|
4268
4275
|
},
|
|
@@ -4271,6 +4278,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4271
4278
|
accountName: 'Unapplied Cash Bill Payment Expense',
|
|
4272
4279
|
children: [],
|
|
4273
4280
|
coaId: undefined,
|
|
4281
|
+
isDeleted: false,
|
|
4274
4282
|
hasSiblings: true,
|
|
4275
4283
|
qboId: '88',
|
|
4276
4284
|
},
|
|
@@ -4282,6 +4290,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4282
4290
|
accountName: 'Utilities',
|
|
4283
4291
|
children: [],
|
|
4284
4292
|
coaId: undefined,
|
|
4293
|
+
isDeleted: false,
|
|
4285
4294
|
hasSiblings: true,
|
|
4286
4295
|
qboId: '24',
|
|
4287
4296
|
},
|
|
@@ -4290,6 +4299,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4290
4299
|
accountName: 'Uncategorized Expense',
|
|
4291
4300
|
children: [],
|
|
4292
4301
|
coaId: '69999',
|
|
4302
|
+
isDeleted: false,
|
|
4293
4303
|
hasSiblings: true,
|
|
4294
4304
|
qboId: '31',
|
|
4295
4305
|
},
|
|
@@ -4298,6 +4308,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4298
4308
|
accountName: 'Unapplied Cash Bill Payment Expense',
|
|
4299
4309
|
children: [],
|
|
4300
4310
|
coaId: undefined,
|
|
4311
|
+
isDeleted: false,
|
|
4301
4312
|
hasSiblings: true,
|
|
4302
4313
|
qboId: '88',
|
|
4303
4314
|
},
|
|
@@ -4313,6 +4324,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4313
4324
|
accountName: 'Undeposited Funds',
|
|
4314
4325
|
children: [],
|
|
4315
4326
|
coaId: undefined,
|
|
4327
|
+
isDeleted: false,
|
|
4316
4328
|
hasSiblings: true,
|
|
4317
4329
|
qboId: '4',
|
|
4318
4330
|
},
|
|
@@ -4321,6 +4333,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4321
4333
|
accountName: 'Uncategorized Asset',
|
|
4322
4334
|
children: [],
|
|
4323
4335
|
coaId: undefined,
|
|
4336
|
+
isDeleted: false,
|
|
4324
4337
|
hasSiblings: true,
|
|
4325
4338
|
qboId: '32',
|
|
4326
4339
|
},
|
|
@@ -4333,6 +4346,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4333
4346
|
accountName: 'Truck',
|
|
4334
4347
|
children: [],
|
|
4335
4348
|
coaId: undefined,
|
|
4349
|
+
isDeleted: false,
|
|
4336
4350
|
hasSiblings: false,
|
|
4337
4351
|
qboId: '37',
|
|
4338
4352
|
},
|
|
@@ -4352,6 +4366,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4352
4366
|
accountName: 'Zeni Clearing Account',
|
|
4353
4367
|
children: [],
|
|
4354
4368
|
coaId: '11999',
|
|
4369
|
+
isDeleted: false,
|
|
4355
4370
|
hasSiblings: true,
|
|
4356
4371
|
qboId: '114',
|
|
4357
4372
|
},
|
|
@@ -4360,6 +4375,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4360
4375
|
accountName: 'Trust account',
|
|
4361
4376
|
children: [],
|
|
4362
4377
|
coaId: undefined,
|
|
4378
|
+
isDeleted: false,
|
|
4363
4379
|
hasSiblings: true,
|
|
4364
4380
|
qboId: '93',
|
|
4365
4381
|
},
|
|
@@ -4368,6 +4384,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4368
4384
|
accountName: 'Test Bank',
|
|
4369
4385
|
children: [],
|
|
4370
4386
|
coaId: undefined,
|
|
4387
|
+
isDeleted: false,
|
|
4371
4388
|
hasSiblings: true,
|
|
4372
4389
|
qboId: '112',
|
|
4373
4390
|
},
|
|
@@ -4392,6 +4409,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4392
4409
|
accountName: 'Zeni Clearing Account',
|
|
4393
4410
|
children: [],
|
|
4394
4411
|
coaId: '11999',
|
|
4412
|
+
isDeleted: false,
|
|
4395
4413
|
hasSiblings: true,
|
|
4396
4414
|
qboId: '114',
|
|
4397
4415
|
},
|
|
@@ -4400,6 +4418,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4400
4418
|
accountName: 'Visa',
|
|
4401
4419
|
children: [],
|
|
4402
4420
|
coaId: undefined,
|
|
4421
|
+
isDeleted: false,
|
|
4403
4422
|
hasSiblings: true,
|
|
4404
4423
|
qboId: '42',
|
|
4405
4424
|
},
|
|
@@ -4408,6 +4427,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4408
4427
|
accountName: 'Utilities',
|
|
4409
4428
|
children: [],
|
|
4410
4429
|
coaId: undefined,
|
|
4430
|
+
isDeleted: false,
|
|
4411
4431
|
hasSiblings: true,
|
|
4412
4432
|
qboId: '24',
|
|
4413
4433
|
},
|
|
@@ -4416,6 +4436,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4416
4436
|
accountName: 'Undeposited Funds',
|
|
4417
4437
|
children: [],
|
|
4418
4438
|
coaId: undefined,
|
|
4439
|
+
isDeleted: false,
|
|
4419
4440
|
hasSiblings: true,
|
|
4420
4441
|
qboId: '4',
|
|
4421
4442
|
},
|
|
@@ -4424,6 +4445,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4424
4445
|
accountName: 'Uncategorized Income',
|
|
4425
4446
|
children: [],
|
|
4426
4447
|
coaId: '49999',
|
|
4448
|
+
isDeleted: false,
|
|
4427
4449
|
hasSiblings: true,
|
|
4428
4450
|
qboId: '30',
|
|
4429
4451
|
},
|
|
@@ -4432,6 +4454,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4432
4454
|
accountName: 'Uncategorized Expense',
|
|
4433
4455
|
children: [],
|
|
4434
4456
|
coaId: '69999',
|
|
4457
|
+
isDeleted: false,
|
|
4435
4458
|
hasSiblings: true,
|
|
4436
4459
|
qboId: '31',
|
|
4437
4460
|
},
|
|
@@ -4440,6 +4463,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4440
4463
|
accountName: 'Uncategorized Asset',
|
|
4441
4464
|
children: [],
|
|
4442
4465
|
coaId: undefined,
|
|
4466
|
+
isDeleted: false,
|
|
4443
4467
|
hasSiblings: true,
|
|
4444
4468
|
qboId: '32',
|
|
4445
4469
|
},
|
|
@@ -4448,6 +4472,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4448
4472
|
accountName: 'Unapplied Cash Payment Income',
|
|
4449
4473
|
children: [],
|
|
4450
4474
|
coaId: undefined,
|
|
4475
|
+
isDeleted: false,
|
|
4451
4476
|
hasSiblings: true,
|
|
4452
4477
|
qboId: '87',
|
|
4453
4478
|
},
|
|
@@ -4456,6 +4481,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4456
4481
|
accountName: 'Unapplied Cash Bill Payment Expense',
|
|
4457
4482
|
children: [],
|
|
4458
4483
|
coaId: undefined,
|
|
4484
|
+
isDeleted: false,
|
|
4459
4485
|
hasSiblings: true,
|
|
4460
4486
|
qboId: '88',
|
|
4461
4487
|
},
|
|
@@ -4464,6 +4490,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4464
4490
|
accountName: 'Trust account',
|
|
4465
4491
|
children: [],
|
|
4466
4492
|
coaId: undefined,
|
|
4493
|
+
isDeleted: false,
|
|
4467
4494
|
hasSiblings: true,
|
|
4468
4495
|
qboId: '93',
|
|
4469
4496
|
},
|
|
@@ -4472,6 +4499,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4472
4499
|
accountName: 'Truck',
|
|
4473
4500
|
children: [],
|
|
4474
4501
|
coaId: undefined,
|
|
4502
|
+
isDeleted: false,
|
|
4475
4503
|
hasSiblings: true,
|
|
4476
4504
|
qboId: '37',
|
|
4477
4505
|
},
|
|
@@ -4480,6 +4508,7 @@ const accountMappingStateAccountListComplete = {
|
|
|
4480
4508
|
accountName: 'Test Bank',
|
|
4481
4509
|
children: [],
|
|
4482
4510
|
coaId: undefined,
|
|
4511
|
+
isDeleted: false,
|
|
4483
4512
|
hasSiblings: true,
|
|
4484
4513
|
qboId: '112',
|
|
4485
4514
|
},
|
|
@@ -21,6 +21,8 @@ export declare const getCardBalance: (state: RootState) => {
|
|
|
21
21
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
22
22
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
23
23
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
24
|
+
isBillEditableCoaAccountType: boolean;
|
|
25
|
+
isDeleted: boolean;
|
|
24
26
|
}[];
|
|
25
27
|
balance: import("../..").Balance | undefined;
|
|
26
28
|
firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
@@ -21,6 +21,8 @@ export declare const getCashBalance: (state: RootState) => {
|
|
|
21
21
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
22
22
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
23
23
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
24
|
+
isBillEditableCoaAccountType: boolean;
|
|
25
|
+
isDeleted: boolean;
|
|
24
26
|
}[];
|
|
25
27
|
balance: import("../..").Balance | undefined;
|
|
26
28
|
firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.67",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|