@zeniai/client-epic-state 4.19.4-betaAS1 → 4.19.4-betaAS3
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.
|
@@ -14,6 +14,7 @@ const fetchRemiListEpic = (actions$, state$) => actions$.pipe((0, operators_1.fi
|
|
|
14
14
|
const fetchRemiListActions = [];
|
|
15
15
|
const state = state$.value;
|
|
16
16
|
const { period, cacheOverride, isShowDeletedReimbursementEnabled, isIncludeLineItems, isRefreshAccountAndAccountingClass, } = action.payload;
|
|
17
|
+
console.log('________ action.payload ________', action.payload);
|
|
17
18
|
const tabIds = [
|
|
18
19
|
'draft',
|
|
19
20
|
'pending_approval',
|
|
@@ -4,13 +4,13 @@ import { ZeniAPIStatus } from '../../../../responsePayload';
|
|
|
4
4
|
import { RemiListPayload } from './remiListPayload';
|
|
5
5
|
import { ReimbursementFilters, RemiListDownloadUIState, RemiListState, RemiListUIState, RemiTabType, SaveRemiStageCode } from './remiListState';
|
|
6
6
|
export declare const initialState: RemiListState;
|
|
7
|
-
export declare const fetchRemiList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[period: TimePeriod, cacheOverride: any, isShowDeletedReimbursementEnabled: boolean, isIncludeLineItems: boolean,
|
|
7
|
+
export declare const fetchRemiList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[period: TimePeriod, cacheOverride: any, isShowDeletedReimbursementEnabled: boolean, isIncludeLineItems: boolean, isRefreshAccountAndAccountingClass: boolean, isBulkActionCompleteRefresh?: any], {
|
|
8
8
|
period: TimePeriod;
|
|
9
9
|
cacheOverride: any;
|
|
10
10
|
isShowDeletedReimbursementEnabled: boolean;
|
|
11
11
|
isIncludeLineItems: boolean;
|
|
12
|
+
isRefreshAccountAndAccountingClass: boolean;
|
|
12
13
|
isBulkActionCompleteRefresh: any;
|
|
13
|
-
isRefreshAccountAndAccountingClass: any;
|
|
14
14
|
}, "remiList/fetchRemiList", never, never>, fetchRemiListPerTab: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[period: TimePeriod, tab: "paid" | "pending_approval" | "scheduled" | "draft", isShowDeletedReimbursementEnabled: boolean, isIncludeLineItems: boolean, isRefreshAccountAndAccountingClass?: any], {
|
|
15
15
|
period: TimePeriod;
|
|
16
16
|
tab: "paid" | "pending_approval" | "scheduled" | "draft";
|
|
@@ -35,6 +35,7 @@ const remiList = (0, toolkit_1.createSlice)({
|
|
|
35
35
|
//do nothing
|
|
36
36
|
},
|
|
37
37
|
prepare(period, tab, isShowDeletedReimbursementEnabled, isIncludeLineItems, isRefreshAccountAndAccountingClass = true) {
|
|
38
|
+
console.log('*************** fetchRemiListPerTab --- isRefreshAccountAndAccountingClass *****************', isRefreshAccountAndAccountingClass);
|
|
38
39
|
return {
|
|
39
40
|
payload: {
|
|
40
41
|
period,
|
|
@@ -70,15 +71,23 @@ const remiList = (0, toolkit_1.createSlice)({
|
|
|
70
71
|
: 'In-Progress', error: undefined });
|
|
71
72
|
});
|
|
72
73
|
},
|
|
73
|
-
prepare(period, cacheOverride = false, isShowDeletedReimbursementEnabled, isIncludeLineItems, isBulkActionCompleteRefresh = false
|
|
74
|
+
prepare(period, cacheOverride = false, isShowDeletedReimbursementEnabled, isIncludeLineItems, isRefreshAccountAndAccountingClass, isBulkActionCompleteRefresh = false) {
|
|
75
|
+
console.log('*************** fetchRemiList ---- ALL ARGUMENTS *****************', {
|
|
76
|
+
period,
|
|
77
|
+
cacheOverride,
|
|
78
|
+
isShowDeletedReimbursementEnabled,
|
|
79
|
+
isIncludeLineItems,
|
|
80
|
+
isRefreshAccountAndAccountingClass,
|
|
81
|
+
isBulkActionCompleteRefresh,
|
|
82
|
+
});
|
|
74
83
|
return {
|
|
75
84
|
payload: {
|
|
76
85
|
period,
|
|
77
86
|
cacheOverride,
|
|
78
87
|
isShowDeletedReimbursementEnabled,
|
|
79
88
|
isIncludeLineItems,
|
|
80
|
-
isBulkActionCompleteRefresh,
|
|
81
89
|
isRefreshAccountAndAccountingClass,
|
|
90
|
+
isBulkActionCompleteRefresh,
|
|
82
91
|
},
|
|
83
92
|
};
|
|
84
93
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.19.4-
|
|
3
|
+
"version": "4.19.4-betaAS3",
|
|
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",
|