@zeniai/client-epic-state 4.19.81-beta1ND → 4.19.81-beta4ND
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.
Potentially problematic release.
This version of @zeniai/client-epic-state might be problematic. Click here for more details.
- package/lib/entity/account/accountPayload.d.ts +2 -2
- package/lib/entity/account/accountPayload.js +2 -2
- package/lib/entity/account/accountState.d.ts +2 -2
- package/lib/esm/entity/account/accountPayload.js +2 -2
- package/lib/esm/view/expenseAutomationView/types/transactionsViewState.js +1 -1
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +1 -1
- package/lib/view/expenseAutomationView/types/transactionsViewState.js +1 -1
- package/package.json +1 -1
|
@@ -16,8 +16,8 @@ export interface AccountBasePayload {
|
|
|
16
16
|
is_deleted?: boolean | null;
|
|
17
17
|
last_4_digits?: string | null;
|
|
18
18
|
logo?: URLPayload;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
payment_type?: string | null;
|
|
20
|
+
payment_type_name?: string | null;
|
|
21
21
|
qbo_id?: string;
|
|
22
22
|
reconciliation_source?: string | null;
|
|
23
23
|
tax_1099_config?: Tax1099ConfigPayload | null;
|
|
@@ -13,8 +13,8 @@ const mapAccountBasePayloadToAccountBase = (payload) => ({
|
|
|
13
13
|
accountDescription: payload.account_description ?? '',
|
|
14
14
|
last4Digits: payload.last_4_digits ?? undefined,
|
|
15
15
|
logo: payload.logo == null ? undefined : (0, urlPayload_1.toURL)(payload.logo),
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
paymentType: payload.payment_type ?? undefined,
|
|
17
|
+
paymentTypeName: payload.payment_type_name ?? undefined,
|
|
18
18
|
qboId: payload.qbo_id ?? undefined,
|
|
19
19
|
coaId: payload.coa_id ?? undefined,
|
|
20
20
|
labels: toAccountLabelArray(payload.labels ?? []),
|
|
@@ -43,8 +43,8 @@ export interface AccountBase {
|
|
|
43
43
|
isPreFilled?: boolean;
|
|
44
44
|
last4Digits?: string;
|
|
45
45
|
logo?: ZeniUrl;
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
paymentType?: string;
|
|
47
|
+
paymentTypeName?: string;
|
|
48
48
|
qboId?: ID;
|
|
49
49
|
reconciliationSource?: ReconciliationAccountSourceType;
|
|
50
50
|
tax1099Config?: Tax1099Config;
|
|
@@ -10,8 +10,8 @@ export const mapAccountBasePayloadToAccountBase = (payload) => ({
|
|
|
10
10
|
accountDescription: payload.account_description ?? '',
|
|
11
11
|
last4Digits: payload.last_4_digits ?? undefined,
|
|
12
12
|
logo: payload.logo == null ? undefined : toURL(payload.logo),
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
paymentType: payload.payment_type ?? undefined,
|
|
14
|
+
paymentTypeName: payload.payment_type_name ?? undefined,
|
|
15
15
|
qboId: payload.qbo_id ?? undefined,
|
|
16
16
|
coaId: payload.coa_id ?? undefined,
|
|
17
17
|
labels: toAccountLabelArray(payload.labels ?? []),
|
|
@@ -8,7 +8,7 @@ const TRANSACTIONS_SORT_KEYS = [
|
|
|
8
8
|
'date',
|
|
9
9
|
'category',
|
|
10
10
|
'class',
|
|
11
|
-
'
|
|
11
|
+
'memo_and_receipt',
|
|
12
12
|
];
|
|
13
13
|
export const toTransactionsSortKey = (v) => stringToUnion(v, TRANSACTIONS_SORT_KEYS);
|
|
14
14
|
export const TRANSACTIONS_TABS = ['review', 'autoCategorized'];
|