@zeniai/client-epic-state 4.18.4 → 4.18.6
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 +0 -2
- package/lib/commonStateTypes/accountView/nestedAccountID.d.ts +0 -1
- package/lib/entity/account/accountPayload.d.ts +0 -1
- package/lib/entity/account/accountPayload.js +1 -2
- package/lib/entity/account/accountSelector.d.ts +0 -3
- package/lib/entity/account/accountSelector.js +0 -2
- package/lib/entity/account/accountState.d.ts +0 -1
- package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +0 -1
- package/lib/entity/accountGroup/accountGroupSelector.d.ts +0 -22
- package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +0 -29
- package/lib/view/cardBalance/cardBalanceSelector.d.ts +0 -1
- package/lib/view/cashBalance/cashBalanceSelector.d.ts +0 -1
- package/package.json +1 -1
|
@@ -28,7 +28,6 @@ function geNestedAccountIDHierarchyForReport(accountsMetadata) {
|
|
|
28
28
|
children: getNestedChildren([accountId], accountsMetadata),
|
|
29
29
|
hasSiblings: parentAccounts.length > 1,
|
|
30
30
|
coaId: parentAccount.coaId,
|
|
31
|
-
isDeleted: parentAccount.isDeleted,
|
|
32
31
|
};
|
|
33
32
|
});
|
|
34
33
|
return nestedParents;
|
|
@@ -45,7 +44,6 @@ const getNestedChildren = (parentAccount, allAccounts) => {
|
|
|
45
44
|
children: getNestedChildren(childId, allAccounts),
|
|
46
45
|
hasSiblings: children.length > 1,
|
|
47
46
|
coaId: child.coaId,
|
|
48
|
-
isDeleted: child.isDeleted,
|
|
49
47
|
};
|
|
50
48
|
});
|
|
51
49
|
return nestedChildren;
|
|
@@ -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;
|
|
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,7 +21,6 @@ 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,
|
|
25
24
|
});
|
|
26
25
|
};
|
|
27
26
|
exports.mapAccountBasePayloadToAccountBase = mapAccountBasePayloadToAccountBase;
|
|
@@ -44,7 +44,6 @@ 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;
|
|
48
47
|
};
|
|
49
48
|
export declare function getAccountWithBalance(accountState: AccountState, id: {
|
|
50
49
|
accountId: ID;
|
|
@@ -67,7 +66,6 @@ export declare function getAccountWithBalance(accountState: AccountState, id: {
|
|
|
67
66
|
classesViewParentId: ClassesViewParentID | undefined;
|
|
68
67
|
accountsViewParentId: AccountsViewParentID | undefined;
|
|
69
68
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
70
|
-
isDeleted: boolean;
|
|
71
69
|
};
|
|
72
70
|
export type AccountReport = ReturnType<typeof getAccount>;
|
|
73
71
|
export type AccountWithBalanceReport = ReturnType<typeof getAccountWithBalance>;
|
|
@@ -108,7 +106,6 @@ export declare const getAccountsOrdered: (filter: COABalancesFilter, accountStat
|
|
|
108
106
|
classesViewParentId: ClassesViewParentID | undefined;
|
|
109
107
|
accountsViewParentId: AccountsViewParentID | undefined;
|
|
110
108
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
111
|
-
isDeleted: boolean;
|
|
112
109
|
}[];
|
|
113
110
|
export declare const getAccountsByType: (accountState: AccountState, accountTypes: AccountType[]) => Partial<Record<AccountType, Account[]>>;
|
|
114
111
|
export declare const getAccountIdsForTypes: (accountState: AccountState, accountTypes: AccountType[]) => ID[];
|
|
@@ -11,7 +11,6 @@ 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;
|
|
15
14
|
const key = (0, accountState_1.getAccountKey)(id.reportId, id.accountId, id.classesViewParentId, id.accountsViewParentId);
|
|
16
15
|
const account = accountState.accountsByKey[key];
|
|
17
16
|
if (account == null) {
|
|
@@ -33,7 +32,6 @@ function getCommonAccountFields(accountState, id) {
|
|
|
33
32
|
classesViewParentId: account.classesViewParentId,
|
|
34
33
|
accountsViewParentId: account.accountsViewParentId,
|
|
35
34
|
labels: account.labels,
|
|
36
|
-
isDeleted: (_a = account.isDeleted) !== null && _a !== void 0 ? _a : false,
|
|
37
35
|
};
|
|
38
36
|
}
|
|
39
37
|
const getAccountBase = (accountState, accountId, reportId) => {
|
|
@@ -36,5 +36,4 @@ 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;
|
|
40
39
|
}[];
|
|
@@ -42,7 +42,6 @@ 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;
|
|
46
45
|
}[];
|
|
47
46
|
expensesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
48
47
|
accountsWithIncomeOrdered: {
|
|
@@ -77,7 +76,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
77
76
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
78
77
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
79
78
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
80
|
-
isDeleted: boolean;
|
|
81
79
|
}[];
|
|
82
80
|
incomeInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
83
81
|
accountsWithCogsOrdered: {
|
|
@@ -112,7 +110,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
112
110
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
113
111
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
114
112
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
115
|
-
isDeleted: boolean;
|
|
116
113
|
}[];
|
|
117
114
|
cogsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
118
115
|
accountsWithCashInOrdered: {
|
|
@@ -147,7 +144,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
147
144
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
148
145
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
149
146
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
150
|
-
isDeleted: boolean;
|
|
151
147
|
}[];
|
|
152
148
|
cashInInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
153
149
|
accountsWithCashOutOrdered: {
|
|
@@ -182,7 +178,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
182
178
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
183
179
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
184
180
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
185
|
-
isDeleted: boolean;
|
|
186
181
|
}[];
|
|
187
182
|
cashOutInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
188
183
|
equityInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
@@ -218,7 +213,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
218
213
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
219
214
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
220
215
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
221
|
-
isDeleted: boolean;
|
|
222
216
|
}[];
|
|
223
217
|
assetsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
224
218
|
accountsWithAssetsOrdered: {
|
|
@@ -253,7 +247,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
253
247
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
254
248
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
255
249
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
256
|
-
isDeleted: boolean;
|
|
257
250
|
}[];
|
|
258
251
|
liabilitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
259
252
|
accountsWithLiabilitiesOrdered: {
|
|
@@ -288,7 +281,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
288
281
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
289
282
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
290
283
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
291
|
-
isDeleted: boolean;
|
|
292
284
|
}[];
|
|
293
285
|
operatingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
294
286
|
accountsWithOperatingActivitiesOrdered: {
|
|
@@ -323,7 +315,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
323
315
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
324
316
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
325
317
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
326
|
-
isDeleted: boolean;
|
|
327
318
|
}[];
|
|
328
319
|
investingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
329
320
|
accountsWithInvestingActivitiesOrdered: {
|
|
@@ -358,7 +349,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
358
349
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
359
350
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
360
351
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
361
|
-
isDeleted: boolean;
|
|
362
352
|
}[];
|
|
363
353
|
financingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
364
354
|
accountsWithFinancingActivitiesOrdered: {
|
|
@@ -393,7 +383,6 @@ declare const getAccountGroup: (accountGroupState: AccountGroupState, accountSta
|
|
|
393
383
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
394
384
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
395
385
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
396
|
-
isDeleted: boolean;
|
|
397
386
|
}[];
|
|
398
387
|
};
|
|
399
388
|
export type AccountGroupReport = ReturnType<typeof getAccountGroup>;
|
|
@@ -435,7 +424,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
435
424
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
436
425
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
437
426
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
438
|
-
isDeleted: boolean;
|
|
439
427
|
}[];
|
|
440
428
|
expensesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
441
429
|
accountsWithIncomeOrdered: {
|
|
@@ -470,7 +458,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
470
458
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
471
459
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
472
460
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
473
|
-
isDeleted: boolean;
|
|
474
461
|
}[];
|
|
475
462
|
incomeInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
476
463
|
accountsWithCogsOrdered: {
|
|
@@ -505,7 +492,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
505
492
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
506
493
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
507
494
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
508
|
-
isDeleted: boolean;
|
|
509
495
|
}[];
|
|
510
496
|
cogsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
511
497
|
accountsWithCashInOrdered: {
|
|
@@ -540,7 +526,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
540
526
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
541
527
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
542
528
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
543
|
-
isDeleted: boolean;
|
|
544
529
|
}[];
|
|
545
530
|
cashInInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
546
531
|
accountsWithCashOutOrdered: {
|
|
@@ -575,7 +560,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
575
560
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
576
561
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
577
562
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
578
|
-
isDeleted: boolean;
|
|
579
563
|
}[];
|
|
580
564
|
cashOutInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
581
565
|
equityInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
@@ -611,7 +595,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
611
595
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
612
596
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
613
597
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
614
|
-
isDeleted: boolean;
|
|
615
598
|
}[];
|
|
616
599
|
assetsInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
617
600
|
accountsWithAssetsOrdered: {
|
|
@@ -646,7 +629,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
646
629
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
647
630
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
648
631
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
649
|
-
isDeleted: boolean;
|
|
650
632
|
}[];
|
|
651
633
|
liabilitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
652
634
|
accountsWithLiabilitiesOrdered: {
|
|
@@ -681,7 +663,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
681
663
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | 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
|
-
isDeleted: boolean;
|
|
685
666
|
}[];
|
|
686
667
|
operatingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
687
668
|
accountsWithOperatingActivitiesOrdered: {
|
|
@@ -716,7 +697,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
716
697
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
717
698
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
718
699
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
719
|
-
isDeleted: boolean;
|
|
720
700
|
}[];
|
|
721
701
|
investingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
722
702
|
accountsWithInvestingActivitiesOrdered: {
|
|
@@ -751,7 +731,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
751
731
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
752
732
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
753
733
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
754
|
-
isDeleted: boolean;
|
|
755
734
|
}[];
|
|
756
735
|
financingActivitiesInTimeframe: import("../../commonStateTypes/coaBalance/coaBalancesFilter").COABalancesSlice;
|
|
757
736
|
accountsWithFinancingActivitiesOrdered: {
|
|
@@ -786,7 +765,6 @@ export declare const getAccountGroupsOrdered: (filter: COABalancesFilter, accoun
|
|
|
786
765
|
classesViewParentId: import("../../commonStateTypes/classesView/nestedClassID").ClassesViewParentID | undefined;
|
|
787
766
|
accountsViewParentId: import("../../commonStateTypes/accountView/nestedAccountID").AccountsViewParentID | undefined;
|
|
788
767
|
labels: ("prepaid_expenses" | "fixed_assets" | "uncategorized_income" | "uncategorized_expense" | "bank_charges_and_fees" | "travel_transportation" | "accrued_expenses")[];
|
|
789
|
-
isDeleted: boolean;
|
|
790
768
|
}[];
|
|
791
769
|
}[];
|
|
792
770
|
export {};
|
|
@@ -4203,7 +4203,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4203
4203
|
accountName: 'Utilities',
|
|
4204
4204
|
children: [],
|
|
4205
4205
|
coaId: undefined,
|
|
4206
|
-
isDeleted: false,
|
|
4207
4206
|
hasSiblings: true,
|
|
4208
4207
|
qboId: '24',
|
|
4209
4208
|
},
|
|
@@ -4212,7 +4211,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4212
4211
|
accountName: 'Uncategorized Expense',
|
|
4213
4212
|
children: [],
|
|
4214
4213
|
coaId: '69999',
|
|
4215
|
-
isDeleted: false,
|
|
4216
4214
|
hasSiblings: true,
|
|
4217
4215
|
qboId: '31',
|
|
4218
4216
|
},
|
|
@@ -4221,7 +4219,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4221
4219
|
accountName: 'Unapplied Cash Bill Payment Expense',
|
|
4222
4220
|
children: [],
|
|
4223
4221
|
coaId: undefined,
|
|
4224
|
-
isDeleted: false,
|
|
4225
4222
|
hasSiblings: true,
|
|
4226
4223
|
qboId: '88',
|
|
4227
4224
|
},
|
|
@@ -4237,7 +4234,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4237
4234
|
accountName: 'Uncategorized Income',
|
|
4238
4235
|
children: [],
|
|
4239
4236
|
coaId: '49999',
|
|
4240
|
-
isDeleted: false,
|
|
4241
4237
|
hasSiblings: true,
|
|
4242
4238
|
qboId: '30',
|
|
4243
4239
|
},
|
|
@@ -4246,7 +4242,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4246
4242
|
accountName: 'Unapplied Cash Payment Income',
|
|
4247
4243
|
children: [],
|
|
4248
4244
|
coaId: undefined,
|
|
4249
|
-
isDeleted: false,
|
|
4250
4245
|
hasSiblings: true,
|
|
4251
4246
|
qboId: '87',
|
|
4252
4247
|
},
|
|
@@ -4260,7 +4255,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4260
4255
|
accountName: 'Utilities',
|
|
4261
4256
|
children: [],
|
|
4262
4257
|
coaId: undefined,
|
|
4263
|
-
isDeleted: false,
|
|
4264
4258
|
hasSiblings: true,
|
|
4265
4259
|
qboId: '24',
|
|
4266
4260
|
},
|
|
@@ -4269,7 +4263,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4269
4263
|
accountName: 'Uncategorized Expense',
|
|
4270
4264
|
children: [],
|
|
4271
4265
|
coaId: '69999',
|
|
4272
|
-
isDeleted: false,
|
|
4273
4266
|
hasSiblings: true,
|
|
4274
4267
|
qboId: '31',
|
|
4275
4268
|
},
|
|
@@ -4278,7 +4271,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4278
4271
|
accountName: 'Unapplied Cash Bill Payment Expense',
|
|
4279
4272
|
children: [],
|
|
4280
4273
|
coaId: undefined,
|
|
4281
|
-
isDeleted: false,
|
|
4282
4274
|
hasSiblings: true,
|
|
4283
4275
|
qboId: '88',
|
|
4284
4276
|
},
|
|
@@ -4290,7 +4282,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4290
4282
|
accountName: 'Utilities',
|
|
4291
4283
|
children: [],
|
|
4292
4284
|
coaId: undefined,
|
|
4293
|
-
isDeleted: false,
|
|
4294
4285
|
hasSiblings: true,
|
|
4295
4286
|
qboId: '24',
|
|
4296
4287
|
},
|
|
@@ -4299,7 +4290,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4299
4290
|
accountName: 'Uncategorized Expense',
|
|
4300
4291
|
children: [],
|
|
4301
4292
|
coaId: '69999',
|
|
4302
|
-
isDeleted: false,
|
|
4303
4293
|
hasSiblings: true,
|
|
4304
4294
|
qboId: '31',
|
|
4305
4295
|
},
|
|
@@ -4308,7 +4298,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4308
4298
|
accountName: 'Unapplied Cash Bill Payment Expense',
|
|
4309
4299
|
children: [],
|
|
4310
4300
|
coaId: undefined,
|
|
4311
|
-
isDeleted: false,
|
|
4312
4301
|
hasSiblings: true,
|
|
4313
4302
|
qboId: '88',
|
|
4314
4303
|
},
|
|
@@ -4324,7 +4313,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4324
4313
|
accountName: 'Undeposited Funds',
|
|
4325
4314
|
children: [],
|
|
4326
4315
|
coaId: undefined,
|
|
4327
|
-
isDeleted: false,
|
|
4328
4316
|
hasSiblings: true,
|
|
4329
4317
|
qboId: '4',
|
|
4330
4318
|
},
|
|
@@ -4333,7 +4321,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4333
4321
|
accountName: 'Uncategorized Asset',
|
|
4334
4322
|
children: [],
|
|
4335
4323
|
coaId: undefined,
|
|
4336
|
-
isDeleted: false,
|
|
4337
4324
|
hasSiblings: true,
|
|
4338
4325
|
qboId: '32',
|
|
4339
4326
|
},
|
|
@@ -4346,7 +4333,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4346
4333
|
accountName: 'Truck',
|
|
4347
4334
|
children: [],
|
|
4348
4335
|
coaId: undefined,
|
|
4349
|
-
isDeleted: false,
|
|
4350
4336
|
hasSiblings: false,
|
|
4351
4337
|
qboId: '37',
|
|
4352
4338
|
},
|
|
@@ -4366,7 +4352,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4366
4352
|
accountName: 'Zeni Clearing Account',
|
|
4367
4353
|
children: [],
|
|
4368
4354
|
coaId: '11999',
|
|
4369
|
-
isDeleted: false,
|
|
4370
4355
|
hasSiblings: true,
|
|
4371
4356
|
qboId: '114',
|
|
4372
4357
|
},
|
|
@@ -4375,7 +4360,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4375
4360
|
accountName: 'Trust account',
|
|
4376
4361
|
children: [],
|
|
4377
4362
|
coaId: undefined,
|
|
4378
|
-
isDeleted: false,
|
|
4379
4363
|
hasSiblings: true,
|
|
4380
4364
|
qboId: '93',
|
|
4381
4365
|
},
|
|
@@ -4384,7 +4368,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4384
4368
|
accountName: 'Test Bank',
|
|
4385
4369
|
children: [],
|
|
4386
4370
|
coaId: undefined,
|
|
4387
|
-
isDeleted: false,
|
|
4388
4371
|
hasSiblings: true,
|
|
4389
4372
|
qboId: '112',
|
|
4390
4373
|
},
|
|
@@ -4409,7 +4392,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4409
4392
|
accountName: 'Zeni Clearing Account',
|
|
4410
4393
|
children: [],
|
|
4411
4394
|
coaId: '11999',
|
|
4412
|
-
isDeleted: false,
|
|
4413
4395
|
hasSiblings: true,
|
|
4414
4396
|
qboId: '114',
|
|
4415
4397
|
},
|
|
@@ -4418,7 +4400,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4418
4400
|
accountName: 'Visa',
|
|
4419
4401
|
children: [],
|
|
4420
4402
|
coaId: undefined,
|
|
4421
|
-
isDeleted: false,
|
|
4422
4403
|
hasSiblings: true,
|
|
4423
4404
|
qboId: '42',
|
|
4424
4405
|
},
|
|
@@ -4427,7 +4408,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4427
4408
|
accountName: 'Utilities',
|
|
4428
4409
|
children: [],
|
|
4429
4410
|
coaId: undefined,
|
|
4430
|
-
isDeleted: false,
|
|
4431
4411
|
hasSiblings: true,
|
|
4432
4412
|
qboId: '24',
|
|
4433
4413
|
},
|
|
@@ -4436,7 +4416,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4436
4416
|
accountName: 'Undeposited Funds',
|
|
4437
4417
|
children: [],
|
|
4438
4418
|
coaId: undefined,
|
|
4439
|
-
isDeleted: false,
|
|
4440
4419
|
hasSiblings: true,
|
|
4441
4420
|
qboId: '4',
|
|
4442
4421
|
},
|
|
@@ -4445,7 +4424,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4445
4424
|
accountName: 'Uncategorized Income',
|
|
4446
4425
|
children: [],
|
|
4447
4426
|
coaId: '49999',
|
|
4448
|
-
isDeleted: false,
|
|
4449
4427
|
hasSiblings: true,
|
|
4450
4428
|
qboId: '30',
|
|
4451
4429
|
},
|
|
@@ -4454,7 +4432,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4454
4432
|
accountName: 'Uncategorized Expense',
|
|
4455
4433
|
children: [],
|
|
4456
4434
|
coaId: '69999',
|
|
4457
|
-
isDeleted: false,
|
|
4458
4435
|
hasSiblings: true,
|
|
4459
4436
|
qboId: '31',
|
|
4460
4437
|
},
|
|
@@ -4463,7 +4440,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4463
4440
|
accountName: 'Uncategorized Asset',
|
|
4464
4441
|
children: [],
|
|
4465
4442
|
coaId: undefined,
|
|
4466
|
-
isDeleted: false,
|
|
4467
4443
|
hasSiblings: true,
|
|
4468
4444
|
qboId: '32',
|
|
4469
4445
|
},
|
|
@@ -4472,7 +4448,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4472
4448
|
accountName: 'Unapplied Cash Payment Income',
|
|
4473
4449
|
children: [],
|
|
4474
4450
|
coaId: undefined,
|
|
4475
|
-
isDeleted: false,
|
|
4476
4451
|
hasSiblings: true,
|
|
4477
4452
|
qboId: '87',
|
|
4478
4453
|
},
|
|
@@ -4481,7 +4456,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4481
4456
|
accountName: 'Unapplied Cash Bill Payment Expense',
|
|
4482
4457
|
children: [],
|
|
4483
4458
|
coaId: undefined,
|
|
4484
|
-
isDeleted: false,
|
|
4485
4459
|
hasSiblings: true,
|
|
4486
4460
|
qboId: '88',
|
|
4487
4461
|
},
|
|
@@ -4490,7 +4464,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4490
4464
|
accountName: 'Trust account',
|
|
4491
4465
|
children: [],
|
|
4492
4466
|
coaId: undefined,
|
|
4493
|
-
isDeleted: false,
|
|
4494
4467
|
hasSiblings: true,
|
|
4495
4468
|
qboId: '93',
|
|
4496
4469
|
},
|
|
@@ -4499,7 +4472,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4499
4472
|
accountName: 'Truck',
|
|
4500
4473
|
children: [],
|
|
4501
4474
|
coaId: undefined,
|
|
4502
|
-
isDeleted: false,
|
|
4503
4475
|
hasSiblings: true,
|
|
4504
4476
|
qboId: '37',
|
|
4505
4477
|
},
|
|
@@ -4508,7 +4480,6 @@ const accountMappingStateAccountListComplete = {
|
|
|
4508
4480
|
accountName: 'Test Bank',
|
|
4509
4481
|
children: [],
|
|
4510
4482
|
coaId: undefined,
|
|
4511
|
-
isDeleted: false,
|
|
4512
4483
|
hasSiblings: true,
|
|
4513
4484
|
qboId: '112',
|
|
4514
4485
|
},
|
|
@@ -21,7 +21,6 @@ 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
|
-
isDeleted: boolean;
|
|
25
24
|
}[];
|
|
26
25
|
balance: import("../..").Balance | undefined;
|
|
27
26
|
firstMonthOfFY: 1 | 3 | 12 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
@@ -21,7 +21,6 @@ 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
|
-
isDeleted: boolean;
|
|
25
24
|
}[];
|
|
26
25
|
balance: import("../..").Balance | undefined;
|
|
27
26
|
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.6",
|
|
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",
|