@zeniai/client-epic-state 4.15.26 → 4.15.27
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/timePeriod.d.ts +1 -1
- package/lib/commonStateTypes/timePeriod.js +2 -2
- package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
- package/lib/commonStateTypes/viewAndReport/viewAndReport.js +1 -0
- package/lib/configureStore.js +2 -1
- package/lib/entity/account/accountState.d.ts +1 -1
- package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
- package/lib/entity/accountRecon/accountReconPayload.d.ts +70 -0
- package/lib/entity/accountRecon/accountReconPayload.js +125 -0
- package/lib/entity/accountRecon/accountReconReducer.d.ts +16 -0
- package/lib/entity/accountRecon/accountReconReducer.js +71 -0
- package/lib/entity/accountRecon/accountReconSelector.d.ts +28 -0
- package/lib/entity/accountRecon/accountReconSelector.js +44 -0
- package/lib/entity/accountRecon/accountReconState.d.ts +70 -0
- package/lib/entity/accountRecon/accountReconState.js +28 -0
- package/lib/entity/class/classReducer.d.ts +4 -4
- package/lib/entity/class/classState.d.ts +1 -1
- package/lib/entity/customer/customerPayload.d.ts +1 -1
- package/lib/entity/customer/customerPayload.js +16 -6
- 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 +4 -0
- package/lib/entity/task/taskState.d.ts +1 -1
- package/lib/entity/tenant/clearAllEpic.d.ts +4 -2
- package/lib/entity/tenant/clearAllEpic.js +4 -0
- package/lib/entity/tenant/tenantReducer.d.ts +1 -1
- package/lib/entity/tenant/tenantReducer.js +7 -2
- package/lib/entity/transaction/payloadTypes/customerTransactionPayload.d.ts +1 -1
- package/lib/entity/transaction/payloadTypes/customerTransactionPayload.js +1 -2
- package/lib/entity/transaction/payloadTypes/reconciliationTransactionPayloads.d.ts +35 -0
- package/lib/entity/transaction/payloadTypes/reconciliationTransactionPayloads.js +53 -0
- package/lib/entity/transaction/payloadTypes/transactionPayload.d.ts +2 -0
- package/lib/entity/transaction/payloadTypes/transactionPayload.js +7 -3
- package/lib/entity/transaction/payloadTypes/vendorTransactionPayload.d.ts +9 -1
- package/lib/entity/transaction/payloadTypes/vendorTransactionPayload.js +23 -2
- package/lib/entity/transaction/stateTypes/reconciliationTransaction.d.ts +32 -0
- package/lib/entity/transaction/stateTypes/reconciliationTransaction.js +10 -0
- package/lib/entity/transaction/stateTypes/transaction.d.ts +3 -1
- package/lib/entity/transaction/stateTypes/transactionType.d.ts +1 -1
- package/lib/entity/transaction/stateTypes/transactionType.js +1 -0
- package/lib/entity/transaction/stateTypes/vendorTransaction.d.ts +5 -0
- package/lib/entity/transaction/stateTypes/vendorTransaction.js +5 -1
- package/lib/entity/transaction/toSupportedTransaction.js +6 -1
- package/lib/entity/transaction/transactionReducer.d.ts +17 -0
- package/lib/entity/transaction/transactionReducer.js +47 -2
- package/lib/entity/transaction/transactionSelector.d.ts +2 -0
- package/lib/entity/transaction/transactionSelector.js +5 -0
- package/lib/entity/transaction/transactionState.d.ts +6 -4
- package/lib/entity/vendorExpense/vendorExpenseSelector.d.ts +2 -2
- package/lib/epic.d.ts +6 -1
- package/lib/epic.js +6 -1
- package/lib/index.d.ts +14 -6
- package/lib/index.js +52 -27
- package/lib/reducer.d.ts +7 -1
- package/lib/reducer.js +6 -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 +1 -1
- package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
- package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
- package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.d.ts +2 -2
- package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
- package/lib/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.d.ts +15 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.js +118 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/initialiseLocalDataForSelectedAccountIdEpic.d.ts +10 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/initialiseLocalDataForSelectedAccountIdEpic.js +49 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationDetailEpic.d.ts +14 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationDetailEpic.js +169 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationReviewEpic.d.ts +9 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationReviewEpic.js +154 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/updateReconcileTabLocalDataEpic.d.ts +6 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/updateReconcileTabLocalDataEpic.js +110 -0
- package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.d.ts +2 -1
- package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +24 -10
- package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.d.ts +2 -1
- package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +14 -0
- package/lib/view/expenseAutomationView/epics/transactionCategorization/updateTransactionCategorizationEpic.js +20 -4
- package/lib/view/expenseAutomationView/expenseAutomationViewReducer.d.ts +2 -2
- package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +17 -2
- package/lib/view/expenseAutomationView/expenseAutomationViewState.d.ts +2 -2
- package/lib/view/expenseAutomationView/expenseAutomationViewState.js +1 -1
- package/lib/view/expenseAutomationView/helpers/reconciliationHelpers.d.ts +7 -0
- package/lib/view/expenseAutomationView/helpers/reconciliationHelpers.js +18 -0
- package/lib/view/expenseAutomationView/helpers/saveTransactionHelper.js +81 -30
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +54 -10
- package/lib/view/expenseAutomationView/payload/reconciliationPayload.d.ts +28 -0
- package/lib/view/expenseAutomationView/payload/reconciliationPayload.js +51 -0
- package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.d.ts +66 -0
- package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.js +384 -0
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.d.ts +2 -1
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +5 -4
- package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.d.ts +2 -0
- package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.js +1 -1
- package/lib/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.d.ts +51 -0
- package/lib/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.js +7 -0
- package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.d.ts +5 -0
- package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.js +250 -0
- package/lib/view/expenseAutomationView/types/reconciliationViewState.d.ts +103 -0
- package/lib/view/expenseAutomationView/types/reconciliationViewState.js +38 -0
- package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +8 -0
- package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
- package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
- package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
- package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billsBulkActionView/epics/validateBillsBulkActionEpic.ts.js +4 -3
- package/lib/view/spendManagement/plaidAccount/epic/plaidConnection/establishPlaidConnectionEpic.js +11 -3
- package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.d.ts +2 -1
- package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +3 -1
- package/lib/view/spendManagement/plaidAccount/plaidAccountViewState.d.ts +1 -1
- package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
- package/lib/view/topEx/topExSelector.d.ts +1 -1
- package/lib/view/transactionDetail/epics/saveTransactionHelper.js +13 -4
- package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +16 -3
- package/lib/view/transactionDetail/transactionDetailLocalDataHelper.js +22 -5
- package/lib/view/transactionDetail/transactionDetailState.d.ts +1 -0
- package/lib/view/transactionDetail/transactionDetailTypes.d.ts +6 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.d.ts +1 -1
- package/lib/zeniAPI.d.ts +1 -0
- package/package.json +2 -1
|
@@ -25,7 +25,7 @@ const recommendationState_1 = require("../../recommendation/recommendationState"
|
|
|
25
25
|
* additionally fire “Mark as not miscat” for every point above.
|
|
26
26
|
*/
|
|
27
27
|
const toTransactionUpdatesFromTransactionDetailLocalData = (transactionDetailLocalData, transaction, isExpenseAutomationEnabled) => {
|
|
28
|
-
var _a, _b, _c;
|
|
28
|
+
var _a, _b, _c, _d;
|
|
29
29
|
const updates = {
|
|
30
30
|
updatesByLineId: {},
|
|
31
31
|
};
|
|
@@ -39,15 +39,16 @@ const toTransactionUpdatesFromTransactionDetailLocalData = (transactionDetailLoc
|
|
|
39
39
|
: undefined;
|
|
40
40
|
if ((0, vendorTransaction_1.isVendorTransaction)(transaction)) {
|
|
41
41
|
updates.vendorId = (_b = transactionDetailLocalData.vendorUpdates) === null || _b === void 0 ? void 0 : _b.id;
|
|
42
|
+
updates.customerId = (_c = transactionDetailLocalData.customerUpdates) === null || _c === void 0 ? void 0 : _c.id;
|
|
42
43
|
}
|
|
43
44
|
let isBulkUpdate = false;
|
|
44
45
|
const entity = getEntityFromTransaction(transaction);
|
|
45
46
|
let lastUpdatedCategory;
|
|
46
47
|
let lastUpdatedClass;
|
|
47
48
|
// single recommendation to just pick the last recommendation in the list of lines
|
|
48
|
-
(
|
|
49
|
+
(_d = transaction.lines) === null || _d === void 0 ? void 0 : _d.forEach((line) => {
|
|
49
50
|
var _a, _b, _c, _d, _e, _f;
|
|
50
|
-
const entityDetails = getEntityDetails(entity, transactionDetailLocalData.lineItemById[line.id], transactionDetailLocalData.vendorUpdates);
|
|
51
|
+
const entityDetails = getEntityDetails(entity, transactionDetailLocalData.lineItemById[line.id], transactionDetailLocalData.vendorUpdates, transactionDetailLocalData.customerUpdates);
|
|
51
52
|
if (line.type === 'transaction_with_account_and_class_line' ||
|
|
52
53
|
line.type === 'transaction_with_product_or_service_line' ||
|
|
53
54
|
line.type === 'journal_entry_transaction_line') {
|
|
@@ -229,7 +230,7 @@ const getEntityFromTransaction = (transaction) => {
|
|
|
229
230
|
}
|
|
230
231
|
return entity;
|
|
231
232
|
};
|
|
232
|
-
const getEntityDetails = (entity, lineItemLocalData, vendorUpdates) => {
|
|
233
|
+
const getEntityDetails = (entity, lineItemLocalData, vendorUpdates, customerUpdates) => {
|
|
233
234
|
var _a, _b, _c, _d;
|
|
234
235
|
if (entity != null) {
|
|
235
236
|
return {
|
|
@@ -243,6 +244,14 @@ const getEntityDetails = (entity, lineItemLocalData, vendorUpdates) => {
|
|
|
243
244
|
entityType: lineItemLocalData.vendor != null ? 'vendor' : 'customer',
|
|
244
245
|
};
|
|
245
246
|
}
|
|
247
|
+
if (customerUpdates != null &&
|
|
248
|
+
Boolean(customerUpdates.id) === true &&
|
|
249
|
+
customerUpdates.id != null) {
|
|
250
|
+
return {
|
|
251
|
+
entityId: customerUpdates.id,
|
|
252
|
+
entityType: 'customer',
|
|
253
|
+
};
|
|
254
|
+
}
|
|
246
255
|
if (vendorUpdates != null && vendorUpdates.id != null) {
|
|
247
256
|
return {
|
|
248
257
|
entityId: vendorUpdates.id,
|
|
@@ -126,6 +126,7 @@ function preparePayload(transactionState, vendorState, transactionDetailState, t
|
|
|
126
126
|
const detail = (0, transactionSelector_1.getSupportedTransactionById)(transactionState, transactionDetailKey);
|
|
127
127
|
const tranDetail = (0, get_1.default)(transactionDetailState.transactionDetailById, transactionDetailKey, undefined);
|
|
128
128
|
const tranVendorUpdates = tranDetail === null || tranDetail === void 0 ? void 0 : tranDetail.transactionDetailLocalData.vendorUpdates;
|
|
129
|
+
const tranCustomerUpdates = tranDetail === null || tranDetail === void 0 ? void 0 : tranDetail.transactionDetailLocalData.customerUpdates;
|
|
129
130
|
let vendorUpdates = undefined;
|
|
130
131
|
if ((tranVendorUpdates === null || tranVendorUpdates === void 0 ? void 0 : tranVendorUpdates.qboId) != null) {
|
|
131
132
|
const vendor = (0, vendorSelector_1.getVendorByVendorId)(vendorState, tranVendorUpdates.qboId);
|
|
@@ -142,8 +143,15 @@ function preparePayload(transactionState, vendorState, transactionDetailState, t
|
|
|
142
143
|
};
|
|
143
144
|
}
|
|
144
145
|
}
|
|
146
|
+
let customerUpdates = undefined;
|
|
147
|
+
if ((tranCustomerUpdates === null || tranCustomerUpdates === void 0 ? void 0 : tranCustomerUpdates.qboId) != null) {
|
|
148
|
+
customerUpdates = {
|
|
149
|
+
id: tranCustomerUpdates.qboId,
|
|
150
|
+
name: tranCustomerUpdates.name,
|
|
151
|
+
};
|
|
152
|
+
}
|
|
145
153
|
if (detail != null) {
|
|
146
|
-
const transUpdates = toTransactionUpdatePayload(saveUpdates.updates, detail, vendorUpdates);
|
|
154
|
+
const transUpdates = toTransactionUpdatePayload(saveUpdates.updates, detail, vendorUpdates, customerUpdates);
|
|
147
155
|
const entityUpdates = toEntityUpdatePayload(saveUpdates.entityRelatedUpdates);
|
|
148
156
|
return {
|
|
149
157
|
entity_related_updates: entityUpdates,
|
|
@@ -153,7 +161,7 @@ function preparePayload(transactionState, vendorState, transactionDetailState, t
|
|
|
153
161
|
}
|
|
154
162
|
return undefined;
|
|
155
163
|
}
|
|
156
|
-
const toTransactionUpdatePayload = (updates, detail, vendorUpdates) => {
|
|
164
|
+
const toTransactionUpdatePayload = (updates, detail, vendorUpdates, customerUpdates) => {
|
|
157
165
|
var _a, _b;
|
|
158
166
|
const transaction = Object.assign({}, detail);
|
|
159
167
|
transaction.memo = (_a = updates.memo) !== null && _a !== void 0 ? _a : '';
|
|
@@ -197,7 +205,12 @@ const toTransactionUpdatePayload = (updates, detail, vendorUpdates) => {
|
|
|
197
205
|
return (0, customerTransactionPayload_1.toCustomerTransactionPayload)(transaction);
|
|
198
206
|
}
|
|
199
207
|
else if ((0, vendorTransaction_1.isVendorTransaction)(transaction)) {
|
|
200
|
-
|
|
208
|
+
if ((0, vendorTransaction_1.isVendorTransactionWithCustomer)(transaction)) {
|
|
209
|
+
return (0, vendorTransactionPayload_1.toVendorTransactionWithCustomerPayload)(transaction, vendorUpdates, customerUpdates);
|
|
210
|
+
}
|
|
211
|
+
else {
|
|
212
|
+
return (0, vendorTransactionPayload_1.toVendorTransactionPayload)(transaction, vendorUpdates);
|
|
213
|
+
}
|
|
201
214
|
}
|
|
202
215
|
else if ((0, otherTransaction_1.isTransferTransaction)(transaction)) {
|
|
203
216
|
return (0, otherTransactionPayload_1.toTransferTransactionPayload)(transaction);
|
|
@@ -6,8 +6,9 @@ const customerTransaction_1 = require("../../entity/transaction/stateTypes/custo
|
|
|
6
6
|
const vendorTransaction_1 = require("../../entity/transaction/stateTypes/vendorTransaction");
|
|
7
7
|
const transactionDetailState_1 = require("./transactionDetailState");
|
|
8
8
|
const toTransactionDetailLocalData = (transaction, vendorId, uncategorizedIncomeExpense) => {
|
|
9
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
9
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
10
10
|
const transactionLocal = Object.assign({}, transactionDetailState_1.initialSupportedTransactionDetail.transactionDetailLocalData);
|
|
11
|
+
const customerId = transaction.customerId;
|
|
11
12
|
transactionLocal.memo = transaction.memo;
|
|
12
13
|
transactionLocal.vendorUpdates =
|
|
13
14
|
(0, vendorTransaction_1.isVendorTransaction)(transaction) && vendorId != null
|
|
@@ -17,12 +18,28 @@ const toTransactionDetailLocalData = (transaction, vendorId, uncategorizedIncome
|
|
|
17
18
|
qboId: (_c = transaction.vendor) === null || _c === void 0 ? void 0 : _c.id,
|
|
18
19
|
}
|
|
19
20
|
: undefined;
|
|
21
|
+
transactionLocal.customerUpdates =
|
|
22
|
+
(0, customerTransaction_1.isCustomerTransaction)(transaction) && customerId != null
|
|
23
|
+
? {
|
|
24
|
+
id: customerId,
|
|
25
|
+
name: (_e = (_d = transaction.customer) === null || _d === void 0 ? void 0 : _d.name) !== null && _e !== void 0 ? _e : '',
|
|
26
|
+
qboId: (_g = (_f = transaction.customer) === null || _f === void 0 ? void 0 : _f.id) !== null && _g !== void 0 ? _g : '',
|
|
27
|
+
}
|
|
28
|
+
: undefined;
|
|
20
29
|
transactionLocal.vendorDetails =
|
|
21
30
|
(0, vendorTransaction_1.isVendorTransaction)(transaction) && vendorId != null
|
|
22
31
|
? {
|
|
23
32
|
id: vendorId,
|
|
24
|
-
qboId: (
|
|
25
|
-
name: (
|
|
33
|
+
qboId: (_j = (_h = transaction.vendor) === null || _h === void 0 ? void 0 : _h.id) !== null && _j !== void 0 ? _j : '',
|
|
34
|
+
name: (_l = (_k = transaction.vendor) === null || _k === void 0 ? void 0 : _k.name) !== null && _l !== void 0 ? _l : '',
|
|
35
|
+
}
|
|
36
|
+
: undefined;
|
|
37
|
+
transactionLocal.customerDetails =
|
|
38
|
+
(0, customerTransaction_1.isCustomerTransaction)(transaction) && customerId != null
|
|
39
|
+
? {
|
|
40
|
+
id: customerId,
|
|
41
|
+
qboId: (_o = (_m = transaction.customer) === null || _m === void 0 ? void 0 : _m.id) !== null && _o !== void 0 ? _o : '',
|
|
42
|
+
name: (_q = (_p = transaction.customer) === null || _p === void 0 ? void 0 : _p.name) !== null && _q !== void 0 ? _q : '',
|
|
26
43
|
}
|
|
27
44
|
: undefined;
|
|
28
45
|
transactionLocal.lineItemById =
|
|
@@ -661,12 +678,12 @@ const toSetAllLineItemsToVendor = (transaction, transactionDetailLocalData, enti
|
|
|
661
678
|
? toVendorBaseFromLineEntity(entity)
|
|
662
679
|
: undefined;
|
|
663
680
|
if (line.type === 'transaction_with_product_or_service_line') {
|
|
664
|
-
const lineRecord = Object.assign(Object.assign({}, transactionDetailLocalData.lineItemById[lineId]), { vendor: record.vendor });
|
|
681
|
+
const lineRecord = Object.assign(Object.assign({}, transactionDetailLocalData.lineItemById[lineId]), { vendor: record.vendor, customer: record.customer });
|
|
665
682
|
record.item = lineRecord.item;
|
|
666
683
|
record.lineDetailType = lineRecord.lineDetailType;
|
|
667
684
|
}
|
|
668
685
|
if (line.type === 'journal_entry_transaction_line') {
|
|
669
|
-
const lineRecord = Object.assign(Object.assign({}, transactionDetailLocalData.lineItemById[lineId]), { vendor: record.vendor });
|
|
686
|
+
const lineRecord = Object.assign(Object.assign({}, transactionDetailLocalData.lineItemById[lineId]), { vendor: record.vendor, customer: record.customer });
|
|
670
687
|
record.lineTransactionType = lineRecord.lineTransactionType;
|
|
671
688
|
record.postingType = lineRecord.postingType;
|
|
672
689
|
record.postingTypeName = lineRecord.postingTypeName;
|
|
@@ -44,6 +44,12 @@ export interface TransactionDetailLocalData {
|
|
|
44
44
|
name: string;
|
|
45
45
|
qboId: ID;
|
|
46
46
|
};
|
|
47
|
+
customerDetails?: {
|
|
48
|
+
id: ID;
|
|
49
|
+
name: string;
|
|
50
|
+
qboId: ID;
|
|
51
|
+
};
|
|
52
|
+
customerUpdates?: TransactionVendorUpdates;
|
|
47
53
|
vendorUpdates?: TransactionVendorUpdates;
|
|
48
54
|
updatePreviousTransactionsWithUpdatedVendor?: boolean;
|
|
49
55
|
isVendorUpdateAllChecked: boolean;
|
|
@@ -3,7 +3,7 @@ import { SortOrder } from '../../../commonStateTypes/selectorTypes/sortOrderType
|
|
|
3
3
|
import { PageToken } from '../../../commonStateTypes/viewAndReport/viewAndReport';
|
|
4
4
|
import { GlobalVendorReviewRowCurrentSelection } from '../common/state/commonTypes';
|
|
5
5
|
import { RecommendedNonExistingGlobalMerchant } from '../vendorFirstReviewView/vendorFirstReviewViewState';
|
|
6
|
-
export declare const toVendorGlobalReviewColumnSortKeyType: (v: string) => "tenants" | "
|
|
6
|
+
export declare const toVendorGlobalReviewColumnSortKeyType: (v: string) => "tenants" | "recommended" | "originalVendor" | "requestedVendor";
|
|
7
7
|
export type VendorGlobalReviewViewColumnSortKey = ReturnType<typeof toVendorGlobalReviewColumnSortKeyType>;
|
|
8
8
|
export interface GlobalReviewPageCurrentSelectionByColumn {
|
|
9
9
|
requested: boolean;
|
package/lib/zeniAPI.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export interface RESTAPIEndpoints {
|
|
|
18
18
|
readonly cardMicroServiceBaseUrl: string;
|
|
19
19
|
readonly taskMicroServiceBaseUrl: string;
|
|
20
20
|
readonly notificationMicroServiceBaseUrl: string;
|
|
21
|
+
readonly reconciliationMicroServiceBaseUrl: string;
|
|
21
22
|
}
|
|
22
23
|
export interface ZeniAPI<ResponseType = FetchResponse> {
|
|
23
24
|
readonly apiEndPoints: RESTAPIEndpoints;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.15.
|
|
3
|
+
"version": "4.15.27",
|
|
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",
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
|
|
86
86
|
"find-dead-code": "ts-prune | grep -v '(used in module)'",
|
|
87
87
|
"find-unused-exports": "ts-unused-exports ./tsconfig.json",
|
|
88
|
+
"circular-dependency": "npx madge --circular --extensions ts ./src",
|
|
88
89
|
"build": "concurrently --kill-others-on-fail \"eslint . --ext .js,.jsx,.ts,.tsx\" \"tsc\" \"jest --config jest.config.json\" && rimraf \"lib/**/__mocks__\" \"lib/**/__testHelpers__\"",
|
|
89
90
|
"only-build": "concurrently --kill-others-on-fail \"eslint . --ext .js,.jsx,.ts,.tsx\" \"tsc\" && rimraf \"lib/**/__mocks__\" \"lib/**/__testHelpers__\"",
|
|
90
91
|
"format": "prettier --write --ignore-unknown \"src/**/*\"",
|