@zeniai/client-epic-state 4.7.99 → 4.8.0

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.
Files changed (139) hide show
  1. package/lib/commonPayloadTypes/statusPayload.d.ts +4 -0
  2. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.d.ts +3 -0
  3. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.js +4 -1
  4. package/lib/commonStateTypes/timePeriod.d.ts +9 -2
  5. package/lib/commonStateTypes/timePeriod.js +12 -1
  6. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +1 -1
  7. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +1 -0
  8. package/lib/entity/account/accountPayload.d.ts +1 -1
  9. package/lib/entity/account/accountSelector.d.ts +3 -3
  10. package/lib/entity/account/accountState.d.ts +4 -4
  11. package/lib/entity/account/accountState.js +1 -0
  12. package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +1 -1
  13. package/lib/entity/accountGroup/accountGroupSelector.d.ts +22 -22
  14. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  15. package/lib/entity/class/classReducer.d.ts +4 -4
  16. package/lib/entity/class/classState.d.ts +2 -2
  17. package/lib/entity/depositAccountTransaction/depositAccountTransaction.d.ts +1 -1
  18. package/lib/entity/forecast/forecastState.d.ts +1 -1
  19. package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +55 -0
  20. package/lib/entity/jeSchedules/jeSchedulesPayload.js +142 -0
  21. package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +11 -0
  22. package/lib/entity/jeSchedules/jeSchedulesReducer.js +91 -0
  23. package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +58 -0
  24. package/lib/entity/jeSchedules/jeSchedulesSelector.js +74 -0
  25. package/lib/entity/jeSchedules/jeSchedulesState.d.ts +61 -0
  26. package/lib/entity/jeSchedules/jeSchedulesState.js +2 -0
  27. package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +10 -0
  28. package/lib/entity/jeSchedules/jeSchedulesTypes.js +25 -0
  29. package/lib/entity/jeSchedules/updateJESchedulesEpic.d.ts +10 -0
  30. package/lib/entity/jeSchedules/updateJESchedulesEpic.js +65 -0
  31. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  32. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  33. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  34. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  35. package/lib/entity/snackbar/snackbarTypes.js +2 -0
  36. package/lib/entity/tenant/clearAllEpic.d.ts +3 -1
  37. package/lib/entity/tenant/clearAllEpic.js +4 -0
  38. package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.d.ts +12 -0
  39. package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.js +37 -0
  40. package/lib/entity/transaction/payloadTypes/transactionPayload.d.ts +3 -3
  41. package/lib/entity/transaction/payloadTypes/transactionPayload.js +1 -1
  42. package/lib/entity/transaction/stateTypes/scheduleTransaction.d.ts +11 -0
  43. package/lib/entity/transaction/stateTypes/scheduleTransaction.js +2 -0
  44. package/lib/entity/transaction/stateTypes/transaction.d.ts +10 -7
  45. package/lib/entity/transaction/stateTypes/transactionType.d.ts +4 -0
  46. package/lib/entity/transaction/stateTypes/transactionType.js +11 -3
  47. package/lib/entity/transaction/transactionReducer.d.ts +7 -0
  48. package/lib/entity/transaction/transactionReducer.js +39 -3
  49. package/lib/entity/transaction/transactionSelector.d.ts +6 -0
  50. package/lib/entity/transaction/transactionSelector.js +19 -0
  51. package/lib/entity/transaction/transactionState.d.ts +3 -0
  52. package/lib/epic.d.ts +77 -67
  53. package/lib/epic.js +11 -1
  54. package/lib/index.d.ts +19 -6
  55. package/lib/index.js +58 -17
  56. package/lib/reducer.d.ts +9 -0
  57. package/lib/reducer.js +9 -0
  58. package/lib/view/accountList/accountListReducer.js +2 -0
  59. package/lib/view/accountList/accountListSelector.d.ts +16 -1
  60. package/lib/view/accountList/accountListSelector.js +33 -4
  61. package/lib/view/accountList/accountListState.d.ts +1 -1
  62. package/lib/view/accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload.d.ts +1 -1
  63. package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
  64. package/lib/view/cardBalance/cardBalanceSelector.d.ts +2 -2
  65. package/lib/view/cashBalance/cashBalanceSelector.d.ts +2 -2
  66. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
  67. package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
  68. package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
  69. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  70. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
  71. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
  72. package/lib/view/people/deletePersonEpic.d.ts +1 -1
  73. package/lib/view/people/invitePeopleEpic.d.ts +1 -1
  74. package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
  75. package/lib/view/people/resendInviteEpic.d.ts +1 -1
  76. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
  77. package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +2 -2
  78. package/lib/view/reviewCompanyView/reviewCompanyViewState.js +1 -0
  79. package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.d.ts +6 -0
  80. package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +28 -0
  81. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.d.ts +8 -0
  82. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +51 -0
  83. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.d.ts +7 -0
  84. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +16 -0
  85. package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.d.ts +6 -0
  86. package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.js +32 -0
  87. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.d.ts +11 -0
  88. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +102 -0
  89. package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.d.ts +6 -0
  90. package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.js +29 -0
  91. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.d.ts +18 -0
  92. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +185 -0
  93. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +58 -0
  94. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +118 -0
  95. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +50 -0
  96. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +237 -0
  97. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +21 -0
  98. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +67 -0
  99. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.d.ts +47 -0
  100. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.js +5 -0
  101. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailTypes.d.ts +3 -0
  102. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailTypes.js +14 -0
  103. package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.d.ts +8 -0
  104. package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.js +52 -0
  105. package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.d.ts +27 -0
  106. package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.js +75 -0
  107. package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.d.ts +19 -0
  108. package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.js +37 -0
  109. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.d.ts +70 -0
  110. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.js +187 -0
  111. package/lib/view/scheduleView/scheduleListView/scheduleListPayload.d.ts +7 -0
  112. package/lib/view/scheduleView/scheduleListView/scheduleListPayload.js +2 -0
  113. package/lib/view/scheduleView/scheduleListView/scheduleListReducer.d.ts +55 -0
  114. package/lib/view/scheduleView/scheduleListView/scheduleListReducer.js +228 -0
  115. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.d.ts +38 -0
  116. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +193 -0
  117. package/lib/view/scheduleView/scheduleListView/scheduleListState.d.ts +29 -0
  118. package/lib/view/scheduleView/scheduleListView/scheduleListState.js +2 -0
  119. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +22 -0
  120. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.js +39 -0
  121. package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
  122. package/lib/view/topEx/topExSelector.d.ts +1 -1
  123. package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.js +2 -5
  124. package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.js +2 -1
  125. package/lib/view/transactionDetail/epics/transactionDetailEpic.js +3 -2
  126. package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +2 -1
  127. package/lib/view/transactionDetail/transactionDetailSelector.js +3 -2
  128. package/lib/view/transactionDetail/transactionDetailState.d.ts +1 -1
  129. package/lib/view/transactionDetail/transactionDetailState.js +3 -16
  130. package/lib/view/transactionList/transactionListByAccountSelector.js +2 -1
  131. package/lib/view/transactionList/transactionListByCategoryTypeSelector.js +2 -1
  132. package/lib/view/transactionList/transactionListByClassSelector.js +2 -1
  133. package/lib/view/transactionList/transactionListByEntitySelector.js +2 -1
  134. package/lib/view/vendorList/vendorListSelector.d.ts +3 -0
  135. package/lib/view/vendorList/vendorListSelector.js +11 -1
  136. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.d.ts +2 -2
  137. package/lib/zeniDayJS.d.ts +1 -0
  138. package/lib/zeniDayJS.js +7 -1
  139. package/package.json +1 -1
@@ -7,13 +7,13 @@ import { AccountBasePayload } from '../../account/accountPayload';
7
7
  import { RecommendationPayload } from '../../../commonPayloadTypes/recommendationPayload';
8
8
  import { Recommendation } from '../../../commonStateTypes/recommendationBase';
9
9
  export interface TransactionPayload extends TransactionIDPayload, AccountBasePayload {
10
+ transaction_date: string;
11
+ currency_code: string;
12
+ currency_symbol: string;
10
13
  sync_token?: string;
11
14
  transaction_type_name?: string;
12
15
  transaction_create_time: string;
13
16
  transaction_update_time?: string;
14
- transaction_date: string;
15
- currency_code: string;
16
- currency_symbol: string;
17
17
  amount?: number;
18
18
  total_amount?: number;
19
19
  transaction_memo: string;
@@ -24,7 +24,7 @@ const getTransactionPayloadAmount = (payload) => {
24
24
  const toTransaction = (payload) => {
25
25
  var _a, _b, _c, _d, _e, _f, _g, _h;
26
26
  const amount = getTransactionPayloadAmount(payload);
27
- return Object.assign(Object.assign({}, (0, transactionIDPayload_1.toTransactionID)(payload)), { typeName: payload.transaction_type_name, createTime: (0, zeniDayJS_1.date)(payload.transaction_create_time), updateTime: payload.transaction_update_time != null
27
+ return Object.assign(Object.assign({}, (0, transactionIDPayload_1.toTransactionID)(payload)), { typeOfTransaction: 'supported', typeName: payload.transaction_type_name, createTime: (0, zeniDayJS_1.date)(payload.transaction_create_time), updateTime: payload.transaction_update_time != null
28
28
  ? (0, zeniDayJS_1.date)(payload.transaction_update_time)
29
29
  : undefined, date: (0, zeniDayJS_1.date)(payload.transaction_date), amount: amount, memo: payload.transaction_memo, description: payload.transaction_description, documentId: payload.document_id, logo: (0, urlPayload_1.toURL)(payload.logo), attachments: (_a = payload.attachments) === null || _a === void 0 ? void 0 : _a.map((attachmentPayload) => (0, attachmentPayload_1.toAttachment)(attachmentPayload)), linkedTransactions: (_b = payload.linked_transactions) === null || _b === void 0 ? void 0 : _b.map((transactionIDPayload) => (0, transactionIDPayload_1.toTransactionID)(transactionIDPayload)), lines: (_c = payload === null || payload === void 0 ? void 0 : payload.lines) === null || _c === void 0 ? void 0 : _c.map((linePayload) => (0, transactionLinePayload_1.toLine)(linePayload, amount)), account: payloadHasAccountInfo(payload)
30
30
  ? (0, accountPayload_1.mapAccountBasePayloadToAccountBase)(payload)
@@ -0,0 +1,11 @@
1
+ import { Currency } from '../../../commonStateTypes/amount';
2
+ import { ID } from '../../../commonStateTypes/common';
3
+ import { AccountBase } from '../../account/accountState';
4
+ import { ClassBase } from '../../class/classState';
5
+ import { BaseTransaction } from './transaction';
6
+ export interface ScheduleTransaction extends BaseTransaction {
7
+ currency: Currency;
8
+ account: AccountBase;
9
+ thirdPartyTransactionId: ID;
10
+ classBase?: ClassBase;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import { TransactionType } from './transactionType';
1
+ import { TransactionType, TypeOfTransactionType } from './transactionType';
2
2
  import { Amount } from '../../../commonStateTypes/amount';
3
3
  import { ZeniDate } from '../../../zeniDayJS';
4
4
  import { ZeniUrl as Url } from '../../../zeniUrl';
@@ -12,15 +12,19 @@ export interface TransactionID {
12
12
  type: TransactionType;
13
13
  }
14
14
  export declare type RecommendationByLineId = Record<ID, Recommendation[]>;
15
- export interface Transaction extends TransactionID {
16
- typeName?: string;
17
- createTime: ZeniDate;
18
- updateTime?: ZeniDate;
15
+ export interface BaseTransaction extends TransactionID {
19
16
  date: ZeniDate;
20
- account?: AccountBase;
21
17
  amount: Amount;
22
18
  memo: string;
19
+ typeName?: string;
20
+ account?: AccountBase;
21
+ typeOfTransaction: TypeOfTransactionType;
22
+ }
23
+ export interface Transaction extends BaseTransaction {
23
24
  description: string;
25
+ isUpdatingTransaction: boolean;
26
+ createTime: ZeniDate;
27
+ updateTime?: ZeniDate;
24
28
  documentId?: string;
25
29
  logo?: Url;
26
30
  attachments?: Attachment[];
@@ -30,7 +34,6 @@ export interface Transaction extends TransactionID {
30
34
  paymentType?: string;
31
35
  paymentTypeName?: string;
32
36
  recommendations?: RecommendationByLineId;
33
- isUpdatingTransaction: boolean;
34
37
  bookCloseDate?: ZeniDate;
35
38
  companyIncDate?: ZeniDate;
36
39
  }
@@ -1,3 +1,6 @@
1
+ export declare const toTypeOfTransaction: (v: string) => "schedule" | "supported";
2
+ export declare const toTypeOfTransactionStrict: (v?: string | undefined) => "schedule" | "supported" | undefined;
3
+ export declare type TypeOfTransactionType = ReturnType<typeof toTypeOfTransaction>;
1
4
  export declare const toCustomerTransactionType: (v: string) => "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge" | "refund";
2
5
  export declare const toCustomerTransactionTypeStrict: (v?: string | undefined) => "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge" | "refund" | undefined;
3
6
  export declare type CustomerTransactionType = ReturnType<typeof toCustomerTransactionType>;
@@ -16,5 +19,6 @@ export declare type OtherTransactionType = ReturnType<typeof toOtherTransactionT
16
19
  export declare type TransactionType = CustomerTransactionType | VendorTransactionType | EmployeeTransactionType | OtherTransactionType;
17
20
  export declare const toTransactionType: (v: string) => TransactionType;
18
21
  export declare const toTransactionTypeStrict: (v?: string | undefined) => TransactionType | undefined;
22
+ export declare const ALL_TRANSACTION_CATEGORY: readonly ["credit", "debit"];
19
23
  export declare const toTransactionCategory: (v: string) => "credit" | "debit";
20
24
  export declare type TransactionCategory = ReturnType<typeof toTransactionCategory>;
@@ -1,7 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toTransactionCategory = exports.toTransactionTypeStrict = exports.toTransactionType = exports.toOtherTransactionTypeStrict = exports.toOtherTransactionType = exports.toTransferTransactionTypeStrict = exports.toTransferTransactionType = exports.toEmployeeTransactionTypeStrict = exports.toEmployeeTransactionType = exports.toVendorTransactionTypeStrict = exports.toVendorTransactionType = exports.toCustomerTransactionTypeStrict = exports.toCustomerTransactionType = void 0;
3
+ exports.toTransactionCategory = exports.ALL_TRANSACTION_CATEGORY = exports.toTransactionTypeStrict = exports.toTransactionType = exports.toOtherTransactionTypeStrict = exports.toOtherTransactionType = exports.toTransferTransactionTypeStrict = exports.toTransferTransactionType = exports.toEmployeeTransactionTypeStrict = exports.toEmployeeTransactionType = exports.toVendorTransactionTypeStrict = exports.toVendorTransactionType = exports.toCustomerTransactionTypeStrict = exports.toCustomerTransactionType = exports.toTypeOfTransactionStrict = exports.toTypeOfTransaction = void 0;
4
4
  const stringToUnion_1 = require("../../../commonStateTypes/stringToUnion");
5
+ const ALL_TYPES_OF_TRANSACTIONS = [
6
+ 'schedule',
7
+ 'supported', // supported is like a superset at this point
8
+ ];
9
+ const toTypeOfTransaction = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_TYPES_OF_TRANSACTIONS);
10
+ exports.toTypeOfTransaction = toTypeOfTransaction;
11
+ const toTypeOfTransactionStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v !== null && v !== void 0 ? v : '', ALL_TYPES_OF_TRANSACTIONS);
12
+ exports.toTypeOfTransactionStrict = toTypeOfTransactionStrict;
5
13
  const ALL_CUSTOMER_TRANSACTION_TYPE = [
6
14
  'invoice',
7
15
  'payment',
@@ -61,6 +69,6 @@ const toTransactionType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_TRANS
61
69
  exports.toTransactionType = toTransactionType;
62
70
  const toTransactionTypeStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v !== null && v !== void 0 ? v : '', ALL_TRANSACTION_TYPE);
63
71
  exports.toTransactionTypeStrict = toTransactionTypeStrict;
64
- const ALL_TRANSACTION_CATEGORY = ['credit', 'debit'];
65
- const toTransactionCategory = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_TRANSACTION_CATEGORY);
72
+ exports.ALL_TRANSACTION_CATEGORY = ['credit', 'debit'];
73
+ const toTransactionCategory = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_TRANSACTION_CATEGORY);
66
74
  exports.toTransactionCategory = toTransactionCategory;
@@ -1,6 +1,7 @@
1
1
  import { ID, UpdateType } from '../../commonStateTypes/common';
2
2
  import { TransactionDetailKey } from '../../view/transactionDetail/transactionDetailState';
3
3
  import { SupportedTransactionPayload, TransactionState } from './transactionState';
4
+ import { ScheduleTransactionPayload } from './payloadTypes/scheduleTransactionPayload';
4
5
  export declare const initialState: TransactionState;
5
6
  export declare const updateTransactions: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[transactionsPayload: SupportedTransactionPayload[], getTransactionId: (transactionPayload: SupportedTransactionPayload) => ID | TransactionDetailKey, updateType?: UpdateType | undefined], {
6
7
  transactionsPayload: SupportedTransactionPayload[];
@@ -12,6 +13,12 @@ export declare const updateTransactions: import("@reduxjs/toolkit").ActionCreato
12
13
  payload: SupportedTransactionPayload;
13
14
  }, string, never, {
14
15
  updateType: UpdateType;
16
+ }>, updateScheduleTransactions: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[transactionsPayload: ScheduleTransactionPayload[], currencyCode: string, currencySymbol: string, updateType?: UpdateType | undefined], {
17
+ transactionsPayload: ScheduleTransactionPayload[];
18
+ currencyCode: string;
19
+ currencySymbol: string;
20
+ }, string, never, {
21
+ updateType: UpdateType;
15
22
  }>, removeTransaction: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, updateTransactionIsMiscategorized: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[id: string, isMiscategorized: boolean], {
16
23
  id: string;
17
24
  isMiscategorized: boolean;
@@ -4,12 +4,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  var _a;
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.clearAllTransactions = exports.updateTransactionIsMiscategorized = exports.removeTransaction = exports.updateTransaction = exports.updateTransactions = exports.initialState = void 0;
7
+ exports.clearAllTransactions = exports.updateTransactionIsMiscategorized = exports.removeTransaction = exports.updateScheduleTransactions = exports.updateTransaction = exports.updateTransactions = exports.initialState = void 0;
8
8
  const toolkit_1 = require("@reduxjs/toolkit");
9
9
  const assignWith_1 = __importDefault(require("lodash/assignWith"));
10
+ const transactionDetailState_1 = require("../../view/transactionDetail/transactionDetailState");
10
11
  const toSupportedTransaction_1 = __importDefault(require("./toSupportedTransaction"));
12
+ const scheduleTransactionPayload_1 = require("./payloadTypes/scheduleTransactionPayload");
13
+ const transactionType_1 = require("./stateTypes/transactionType");
11
14
  exports.initialState = {
12
15
  transactionById: {},
16
+ scheduleTransactionById: {},
13
17
  };
14
18
  const transaction = (0, toolkit_1.createSlice)({
15
19
  name: 'transaction',
@@ -48,12 +52,34 @@ const transaction = (0, toolkit_1.createSlice)({
48
52
  removeTransaction(draft, action) {
49
53
  draft.transactionById[action.payload] = undefined;
50
54
  },
55
+ updateScheduleTransactions: {
56
+ reducer(draft, action) {
57
+ action.payload.transactionsPayload.forEach((value) => {
58
+ const id = (0, transactionDetailState_1.getTransactionDetailKey)({
59
+ id: value.transaction_id,
60
+ type: (0, transactionType_1.toTransactionType)(value.transaction_type),
61
+ });
62
+ doUpdateScheduleTransaction(draft.scheduleTransactionById, id, value, action.payload.currencyCode, action.payload.currencySymbol, action.meta.updateType);
63
+ });
64
+ },
65
+ prepare(transactionsPayload, currencyCode, currencySymbol, updateType = 'merge') {
66
+ return {
67
+ payload: {
68
+ transactionsPayload,
69
+ currencyCode,
70
+ currencySymbol,
71
+ },
72
+ meta: { updateType },
73
+ };
74
+ },
75
+ },
51
76
  clearAllTransactions(draft) {
52
77
  draft.transactionById = {};
78
+ draft.scheduleTransactionById = {};
53
79
  },
54
80
  },
55
81
  });
56
- _a = transaction.actions, exports.updateTransactions = _a.updateTransactions, exports.updateTransaction = _a.updateTransaction, exports.removeTransaction = _a.removeTransaction, exports.updateTransactionIsMiscategorized = _a.updateTransactionIsMiscategorized, exports.clearAllTransactions = _a.clearAllTransactions;
82
+ _a = transaction.actions, exports.updateTransactions = _a.updateTransactions, exports.updateTransaction = _a.updateTransaction, exports.updateScheduleTransactions = _a.updateScheduleTransactions, exports.removeTransaction = _a.removeTransaction, exports.updateTransactionIsMiscategorized = _a.updateTransactionIsMiscategorized, exports.clearAllTransactions = _a.clearAllTransactions;
57
83
  exports.default = transaction.reducer;
58
84
  /**
59
85
  * Helper functions
@@ -62,7 +88,17 @@ function doUpdateTransaction(draft, id, payload, updateType) {
62
88
  const transaction = (0, toSupportedTransaction_1.default)(payload);
63
89
  const existingTransaction = draft[id];
64
90
  if (existingTransaction != null && updateType === 'merge') {
65
- (0, assignWith_1.default)(draft[id], transaction, (objValue, srcValue) => srcValue == null ? objValue : srcValue); // IMPORTANT: replace the value only when source has valid value. Otherwise keep the existing value!
91
+ (0, assignWith_1.default)(draft[id], transaction, (objValue, srcValue) => srcValue !== null && srcValue !== void 0 ? srcValue : objValue); // IMPORTANT: replace the value only when source has valid value. Otherwise keep the existing value!
92
+ }
93
+ else {
94
+ draft[id] = transaction;
95
+ }
96
+ }
97
+ function doUpdateScheduleTransaction(draft, id, payload, currencyCode, currencySymbol, updateType) {
98
+ const transaction = (0, scheduleTransactionPayload_1.toScheduleTransaction)(payload, currencyCode, currencySymbol);
99
+ const existingTransaction = draft[id];
100
+ if (existingTransaction != null && updateType === 'merge') {
101
+ (0, assignWith_1.default)(draft[id], transaction, (objValue, srcValue) => srcValue !== null && srcValue !== void 0 ? srcValue : objValue); // IMPORTANT: replace the value only when source has valid value. Otherwise keep the existing value!
66
102
  }
67
103
  else {
68
104
  draft[id] = transaction;
@@ -0,0 +1,6 @@
1
+ import { ID } from '../../commonStateTypes/common';
2
+ import { TransactionDetailKey } from '../../view/transactionDetail/transactionDetailState';
3
+ import { ScheduleTransaction } from './stateTypes/scheduleTransaction';
4
+ import { SupportedTransaction, TransactionState } from './transactionState';
5
+ export declare function getScheduleTransactionById(transactionState: TransactionState, transactionId: TransactionDetailKey): ScheduleTransaction | undefined;
6
+ export declare function getSupportedTransactionById(transactionState: TransactionState, transactionId: ID): SupportedTransaction | undefined;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getSupportedTransactionById = exports.getScheduleTransactionById = void 0;
4
+ function getScheduleTransactionById(transactionState, transactionId) {
5
+ const transaction = transactionState.scheduleTransactionById[transactionId];
6
+ return transaction;
7
+ }
8
+ exports.getScheduleTransactionById = getScheduleTransactionById;
9
+ function getSupportedTransactionById(transactionState, transactionId) {
10
+ if (transactionState.transactionById[transactionId] != null &&
11
+ isSupportedTransaction(transactionState.transactionById[transactionId])) {
12
+ return transactionState.transactionById[transactionId];
13
+ }
14
+ return undefined;
15
+ }
16
+ exports.getSupportedTransactionById = getSupportedTransactionById;
17
+ function isSupportedTransaction(transaction) {
18
+ return (transaction.typeOfTransaction === 'supported');
19
+ }
@@ -4,10 +4,13 @@ import { CustomerTransactionPayload } from './payloadTypes/customerTransactionPa
4
4
  import { TransactionPayload } from './payloadTypes/transactionPayload';
5
5
  import { VendorTransactionPayload } from './payloadTypes/vendorTransactionPayload';
6
6
  import { CustomerTransaction } from './stateTypes/customerTransaction';
7
+ import { ScheduleTransaction } from './stateTypes/scheduleTransaction';
7
8
  import { Transaction } from './stateTypes/transaction';
8
9
  import { VendorTransaction } from './stateTypes/vendorTransaction';
9
10
  export declare type SupportedTransaction = Transaction | CustomerTransaction | VendorTransaction;
10
11
  export declare type SupportedTransactionPayload = TransactionPayload | CustomerTransactionPayload | VendorTransactionPayload;
12
+ export declare type AllSupportedTransactions = SupportedTransaction | undefined;
11
13
  export interface TransactionState {
12
14
  transactionById: Record<ID | TransactionDetailKey, SupportedTransaction | undefined>;
15
+ scheduleTransactionById: Record<TransactionDetailKey, ScheduleTransaction>;
13
16
  }
package/lib/epic.d.ts CHANGED
@@ -70,23 +70,23 @@ import { ActionType as FetchEntityAutoCompleteActionType } from './view/autoComp
70
70
  import { ActionType as FetchTransactionsForEntityActionType } from './view/trendWithTransactions/fetchTransactionsForEntityEpic';
71
71
  import { ActionType as UpdateReportUIOptionTimeFrameActionType } from './view/reportUIOptions/updateReportUIOptionTimeFrameEpic';
72
72
  import { ActionType as UpdateReportUIOptionThisPeriodActionType } from './view/reportUIOptions/updateReportUIOptionThisPeriodEpic';
73
- import { ActionType as UpdateReportUIOptionCOABalancesRangeEpicActionType } from './view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic';
74
- import { ActionType as UpdateReportUIOptionIsCompareModeOnEpicActionType } from './view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic';
75
- import { ActionType as UpdateReportUIOptionIsCompareModeEpicActionType } from './view/reportUIOptions/updateReportUIOptionCompareModeEpic';
73
+ import { ActionType as UpdateReportUIOptionCOABalancesRangeActionType } from './view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic';
74
+ import { ActionType as UpdateReportUIOptionIsCompareModeOnActionType } from './view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic';
75
+ import { ActionType as UpdateReportUIOptionIsCompareModeActionType } from './view/reportUIOptions/updateReportUIOptionCompareModeEpic';
76
76
  import { ActionType as FetchCompanyPassportViewActionType } from './view/companyView/epic/companyPassport/fetchCompanyPassportViewEpic';
77
77
  import { ActionType as UpdateCompanyDetailsActionType } from './view/companyView/epic/companyPassport/updateCompanyDetailsEpic';
78
78
  import { ActionType as UpdatePrimaryContactActionType } from './view/companyView/epic/companyPassport/updatePrimaryContactEpic';
79
79
  import { ActionType as UpdateCompanyOfficerActionType } from './view/companyView/epic/companyPassport/updateCompanyOfficerEpic';
80
- import { ActionType as CreateCompanyOfficersEpicActionType } from './view/companyView/epic/companyPassport/createCompanyOfficersEpic';
80
+ import { ActionType as CreateCompanyOfficersActionType } from './view/companyView/epic/companyPassport/createCompanyOfficersEpic';
81
81
  import { ActionType as UpdateCompanyPassportLocalStoreDataActionType } from './view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic';
82
82
  import { ActionType as SaveCompanyPassportDetailsActionType } from './view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic';
83
- import { ActionType as ToggleReportUIOptionForecastModeEpicActionType } from './view/reportUIOptions/toggleReportUIOptionForecastModeEpic';
83
+ import { ActionType as ToggleReportUIOptionForecastModeActionType } from './view/reportUIOptions/toggleReportUIOptionForecastModeEpic';
84
84
  import { ActionType as FetchSubscriptionListActionType } from './view/subscriptionView/epic/fetchSubscriptionListEpic';
85
85
  import { ActionType as FetchSubscriptionSummaryForTenantActionType } from './entity/tenant/epic/fetchSubscriptionSummaryForTenantEpic';
86
86
  import { ActionType as FetchCompanyHealthMetricViewEpicActionType } from './view/companyHealthMetricView/epic/fetchCompanyHealthMetricViewEpic';
87
87
  import { ActionType as initializeCompanyHealthMetricViewLocalDataEpicActionType } from './view/companyHealthMetricView/epic/initializeCompanyHealthMetricViewLocalData';
88
88
  import { ActionType as SaveCompanyHealthMetricByIdEpicActionType } from './view/companyHealthMetricView/epic/saveCompanyHealthMetricByIdEpic';
89
- import { ActionType as FetchAllCockpitViewsEpicActionType } from './view/companyView/epic/fetchAllCockpitViewsEpic';
89
+ import { ActionType as FetchAllCockpitViewsActionType } from './view/companyView/epic/fetchAllCockpitViewsEpic';
90
90
  import { ActionType as FetchCompanyManagementActionType } from './view/companyView/epic/fetchCompanyManagementViewEpic';
91
91
  import { ActionType as FetchAddressActionType } from './view/addressView/epic/fetchAddressEpic';
92
92
  import { ActionType as SaveAddressActionType } from './view/addressView/epic/saveNewAddressEpic';
@@ -100,22 +100,22 @@ import { ActionType as CompanyManagementSaveUpdatesActionType } from './view/com
100
100
  import { ActionType as CompanyManagementSavePendingUpdatesActionType } from './view/companyView/epic/companyManagementSavePendingUpdates';
101
101
  import { ActionType as FetchAccountListActionType } from './view/accountList/fetchAccountListEpic';
102
102
  import { ActionType as FetchClassListActionType } from './view/classList/fetchClassListEpic';
103
- import { ActionType as FetchMerchantListEpicActionType } from './view/spendManagement/merchantList/fetchMerchantListEpic';
103
+ import { ActionType as FetchMerchantListActionType } from './view/spendManagement/merchantList/fetchMerchantListEpic';
104
104
  import { PeopleSaveUpdatesActionType, InvitePeopleActionType, ChangeZeniPersonRolesActionType, InviteZeniPeopleActionType } from './view/people/helpers/updateManagersListOnRoleChange';
105
105
  import { ActionType as UpdateTransactionOnUploadSuccessActionType } from './view/transactionDetail/epics/uploadMissingReceiptSuccessEpic';
106
106
  import { ActionType as FetchSubscriptionDetailsActionType } from './view/subscriptionView/epic/fetchSubscriptionDetailsEpic';
107
107
  import { ActionType as SaveSubscriptionUpdatesActionType } from './view/subscriptionView/epic/saveSubscriptionUpdatesEpic';
108
- import { ActionType as FetchSubscriptionAddOnsEpicActionType } from './view/subscriptionView/epic/fetchSubscriptionAddOnsEpic';
108
+ import { ActionType as FetchSubscriptionAddOnsActionType } from './view/subscriptionView/epic/fetchSubscriptionAddOnsEpic';
109
109
  import { ActionType as FetchSubscriptionCouponsActionType } from './view/subscriptionView/epic/fetchSubscriptionCouponsEpic';
110
110
  import { ActionType as FetchSubscriptionPlansActionType } from './view/subscriptionView/epic/fetchSubscriptionPlansEpic';
111
111
  import { ActionType as FetchSubscriptionUpdateEstimateActionType } from './view/subscriptionView/epic/fetchSubscriptionUpdateEstimateEpic';
112
112
  import { ActionType as FetchSubscriptionCreateEstimateActionType } from './view/subscriptionView/epic/fetchSubscriptionCreateEstimateEpic';
113
113
  import { ActionType as InitializeSubscriptionLocalDataActionType } from './view/subscriptionView/epic/initializeSubscriptionLocalDataEpic';
114
- import { ActionType as DeleteFileListEpicActionType } from './view/fileView/epic/deleteFileListEpic';
115
- import { ActionType as DeleteFileEpicActionType } from './view/fileView/epic/deleteFileEpic';
116
- import { ActionType as FetchFileListEpicActionType } from './view/fileView/epic/fetchFileListEpic';
117
- import { ActionType as UpdateFileNameEpicActionType } from './view/fileView/epic/updateFileNameEpic';
118
- import { ActionType as UpdateFilesMetadataEpicActionType } from './view/fileView/epic/updateFilesMetadataEpic';
114
+ import { ActionType as DeleteFileListActionType } from './view/fileView/epic/deleteFileListEpic';
115
+ import { ActionType as DeleteFileActionType } from './view/fileView/epic/deleteFileEpic';
116
+ import { ActionType as FetchFileListActionType } from './view/fileView/epic/fetchFileListEpic';
117
+ import { ActionType as UpdateFileNameActionType } from './view/fileView/epic/updateFileNameEpic';
118
+ import { ActionType as UpdateFilesMetadataActionType } from './view/fileView/epic/updateFilesMetadataEpic';
119
119
  import { ActionType as FetchTasksCardActionType } from './view/tasksCard/fetchTasksCardEpic';
120
120
  import { ActionType as FetchVendorsActionType } from './view/vendorList/fetchVendorsListEpic';
121
121
  import { ActionType as UpdateSelectedVendorForCreateFlowActionType } from './view/commonVendorView/vendorView/epics/updateSelectedVendorForCreateFlowEpic';
@@ -130,43 +130,43 @@ import { ActionType as DeleteUserBankAccountActionType } from './view/bankAccoun
130
130
  import { ActionType as CreateUserBankAccountActionType } from './view/bankAccountView/epic/createUserBankAccountEpic';
131
131
  import { ActionType as FetchVendorActionType } from './view/commonVendorView/vendorView/epics/fetchVendorEpic';
132
132
  import { ActionType as VendorsTabFetchVendorActionType } from './view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic';
133
- import { ActionType as FetchVendorDetailsEpicActionType } from './view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic';
134
- import { ActionType as VendorsTabFetchVendorDetailsEpicActionType } from './view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic';
135
- import { ActionType as VendorsTabFetchVendorDetailPageViewEpicActionType } from './view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic';
136
- import { ActionType as ResetVendorDetailLocalDataEpicActionType } from './view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic';
137
- import { ActionType as VendorsTabResetVendorDetailLocalDataEpicActionType } from './view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic';
138
- import { ActionType as FetchBankNameByRoutingEpicActionType } from './view/bankAccountView/epic/fetchBankNameByRoutingEpic';
139
- import { ActionType as FetchBankNameBySwiftEpicActionType } from './view/bankAccountView/epic/fetchBankNameBySwiftEpic';
140
- import { ActionType as FetchBankCountryNameByIbanEpicActionType } from './view/bankAccountView/epic/fetchBankCountryNameByIbanEpic';
141
- import { ActionType as FetchBillListEpicActionType } from './view/spendManagement/billPay/billList/fetchBillListEpic';
142
- import { ActionType as FetchDuplicateBillEpicActionType } from './view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic';
143
- import { ActionType as FetchBillPayCardEpicActionType } from './view/billPayCard/fetchBillPayCardEpic';
144
- import { ActionType as FetchReimbursementCardEpicActionType } from './view/reimbursementCard/fetchReimbursementCardEpic';
145
- import { ActionType as FetchBillListPerTabEpicActionType } from './view/spendManagement/billPay/billList/fetchBillListPerTabEpic';
146
- import { ActionType as FetchBillDetailEpicActionType } from './view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic';
147
- import { ActionType as FetchRemiDetailEpicActionType } from './view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic';
133
+ import { ActionType as FetchVendorDetailsActionType } from './view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic';
134
+ import { ActionType as VendorsTabFetchVendorDetailsActionType } from './view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic';
135
+ import { ActionType as VendorsTabFetchVendorDetailPageViewActionType } from './view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic';
136
+ import { ActionType as ResetVendorDetailLocalDataActionType } from './view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic';
137
+ import { ActionType as VendorsTabResetVendorDetailLocalDataActionType } from './view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic';
138
+ import { ActionType as FetchBankNameByRoutingActionType } from './view/bankAccountView/epic/fetchBankNameByRoutingEpic';
139
+ import { ActionType as FetchBankNameBySwiftActionType } from './view/bankAccountView/epic/fetchBankNameBySwiftEpic';
140
+ import { ActionType as FetchBankCountryNameByIbanActionType } from './view/bankAccountView/epic/fetchBankCountryNameByIbanEpic';
141
+ import { ActionType as FetchBillListActionType } from './view/spendManagement/billPay/billList/fetchBillListEpic';
142
+ import { ActionType as FetchDuplicateBillActionType } from './view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic';
143
+ import { ActionType as FetchBillPayCardActionType } from './view/billPayCard/fetchBillPayCardEpic';
144
+ import { ActionType as FetchReimbursementCardActionType } from './view/reimbursementCard/fetchReimbursementCardEpic';
145
+ import { ActionType as FetchBillListPerTabActionType } from './view/spendManagement/billPay/billList/fetchBillListPerTabEpic';
146
+ import { ActionType as FetchBillDetailActionType } from './view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic';
147
+ import { ActionType as FetchRemiDetailActionType } from './view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic';
148
148
  import { ActionType as FetchDuplicateReimbursementEpicActionType } from './view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic';
149
- import { ActionType as ApproveOrRejectRemiEpicActionType } from './view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic';
150
- import { ActionType as DeleteRemiEpicActionType } from './view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic';
151
- import { ActionType as CancelAndDeleteRemiEpicActionType } from './view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic';
152
- import { ActionType as FetchEditRemiDetailPageEpicActionType } from './view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic';
153
- import { ActionType as FetchReimbursementConfigEpicActionType } from './view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic';
154
- import { ActionType as FetchRemiAndInitializeLocalStoreEpicActionType } from './view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic';
155
- import { ActionType as InitializeRemiToLocalStoreEpicActionType } from './view/spendManagement/reimbursement/editRemiView/epics/initializeRemiToLocalStoreEpic';
156
- import { ActionType as FetchCurrencyConversionValueEpicActionType } from './view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic';
157
- import { ActionType as FetchRecommendationsAndUpdateMerchantRecommendationsEpicActionType } from './view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic';
158
- import { ActionType as FetchRecommendationsAndUpdateVendorRecommendationsEpicActionType } from './view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic';
159
- import { ActionType as ParseReceiptsToRemiEpicActionType } from './view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic';
160
- import { ActionType as SaveRemiDetailEpicActionType } from './view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic';
161
- import { ActionType as DeleteBillEpicActionType } from './view/spendManagement/billPay/billDetailView/epics/deleteBillEpic';
162
- import { ActionType as CancelAndDeleteBillEpicActionType } from './view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic';
163
- import { ActionType as InitializeBillToLocalStoreEpicActionType } from './view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic';
164
- import { ActionType as FetchEditBillDetailPageEpicActionType } from './view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic';
149
+ import { ActionType as ApproveOrRejectRemiActionType } from './view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic';
150
+ import { ActionType as DeleteRemiActionType } from './view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic';
151
+ import { ActionType as CancelAndDeleteRemiActionType } from './view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic';
152
+ import { ActionType as FetchEditRemiDetailPageActionType } from './view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic';
153
+ import { ActionType as FetchReimbursementConfigActionType } from './view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic';
154
+ import { ActionType as FetchRemiAndInitializeLocalStoreActionType } from './view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic';
155
+ import { ActionType as InitializeRemiToLocalStoreActionType } from './view/spendManagement/reimbursement/editRemiView/epics/initializeRemiToLocalStoreEpic';
156
+ import { ActionType as FetchCurrencyConversionValueActionType } from './view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic';
157
+ import { ActionType as FetchRecommendationsAndUpdateMerchantRecommendationsActionType } from './view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic';
158
+ import { ActionType as FetchRecommendationsAndUpdateVendorRecommendationsActionType } from './view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic';
159
+ import { ActionType as ParseReceiptsToRemiActionType } from './view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic';
160
+ import { ActionType as SaveRemiDetailActionType } from './view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic';
161
+ import { ActionType as DeleteBillActionType } from './view/spendManagement/billPay/billDetailView/epics/deleteBillEpic';
162
+ import { ActionType as CancelAndDeleteBillActionType } from './view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic';
163
+ import { ActionType as InitializeBillToLocalStoreActionType } from './view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic';
164
+ import { ActionType as FetchEditBillDetailPageActionType } from './view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic';
165
165
  import { ActionType as FetchBillPayConfigActionType } from './view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic';
166
- import { ActionType as SaveBillDetailEpicActionType } from './view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic';
167
- import { ActionType as ParseInvoiceToBillEpicActionType } from './view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic';
168
- import { ActionType as CurrencyConversionEpicActionType } from './view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic';
169
- import { ActionType as FetchPreviousBillsEpicActionType } from './view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic';
166
+ import { ActionType as SaveBillDetailActionType } from './view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic';
167
+ import { ActionType as ParseInvoiceToBillActionType } from './view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic';
168
+ import { ActionType as CurrencyConversionActionType } from './view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic';
169
+ import { ActionType as FetchPreviousBillsActionType } from './view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic';
170
170
  import { ActionType as SaveSubscriptionNotesUpdatesActionType } from './view/subscriptionView/epic/saveSubscriptionNotesUpdatesEpic';
171
171
  import { ActionType as EnableSetupActionType } from './view/spendManagement/commonSetup/epic/setup/enableSetupEpic';
172
172
  import { ActionType as FetchBillPaySetupViewActionType } from './view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic';
@@ -205,8 +205,8 @@ import { ActionType as FetchOnboardingActionType } from './view/companyView/epic
205
205
  import { ActionType as FetchManagementActionType } from './view/companyView/epic/fetchManagementViewEpic';
206
206
  import { ActionType as FetchSubscriptionActionType } from './view/companyView/epic/fetchSubscriptionViewEpic';
207
207
  import { ActionType as FetchPortfolioActionType } from './view/companyView/epic/fetchPortfolioViewEpic';
208
- import { ActionType as FetchRemiListEpicActionType } from './view/spendManagement/reimbursement/remiListView/fetchRemiListEpic';
209
- import { ActionType as FetchRemiListPerTabEpicActionType } from './view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic';
208
+ import { ActionType as FetchRemiListActionType } from './view/spendManagement/reimbursement/remiListView/fetchRemiListEpic';
209
+ import { ActionType as FetchRemiListPerTabActionType } from './view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic';
210
210
  import { ActionType as FetchUserListByTypeActionType } from './view/userListView/fetchUserListByTypeEpic';
211
211
  import { ActionType as FetchReviewCompanyActionType } from './view/reviewCompanyView/fetchReviewCompanyViewEpic';
212
212
  import { ActionType as RetryBankAccountConnectionActionType } from './view/reviewCompanyView/retryBankAccountConnectionEpic';
@@ -225,8 +225,8 @@ import { ActionType as FetchRemiApproversListActionType } from './view/spendMana
225
225
  import { ActionType as InitializeRemiSetupApproverViewUpdateDataActionType } from './view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic';
226
226
  import { ActionType as SaveRemiSetupApproverViewUpdatesActionType } from './view/spendManagement/reimbursement/remiSetupApproverView/epic/saveRemiSetupApproverViewUpdatesEpic';
227
227
  import { ActionType as DeleteRemiApprovalRuleActionType } from './view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic';
228
- import { ActionType as ParallelFetchTransactionListByCategoryTypeEpicActionType } from './view/transactionList/parallelFetchTransactionListByCategoryTypeEpic';
229
- import { ActionType as FetchTransactionsListByCategoryTypeEpicActionType } from './view/transactionList/fetchTransactionsListByCategoryTypeEpic';
228
+ import { ActionType as ParallelFetchTransactionListByCategoryTypeActionType } from './view/transactionList/parallelFetchTransactionListByCategoryTypeEpic';
229
+ import { ActionType as FetchTransactionsListByCategoryTypeActionType } from './view/transactionList/fetchTransactionsListByCategoryTypeEpic';
230
230
  import { ActionType as FetchRecommendationByEntityQboIdActionType } from './view/recommendation/fetchRecommendationByEntityQboIdEpic';
231
231
  import { ActionType as FetchRecommendationByEntityNameActionType } from './view/recommendation/fetchRecommendationByEntityNameEpic';
232
232
  import { ActionType as FetchRecommendationByEntityIdActionType } from './view/recommendation/fetchRecommendationByEntityIdEpic';
@@ -243,26 +243,26 @@ import { ActionType as FetchDepositAccountListActionType } from './view/spendMan
243
243
  import { ActionType as FetchDepositAccountActionType } from './view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic';
244
244
  import { ActionType as FetchPaymentAccountListActionType } from './view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic';
245
245
  import { ActionType as UnlinkPaymentAccountActionType } from './view/spendManagement/zeniAccounts/paymentAccountList/unlinkPaymentAccountEpic';
246
- import { ActionType as CreateCheckingAccountEpicActionType } from './view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic';
246
+ import { ActionType as CreateCheckingAccountActionType } from './view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic';
247
247
  import { ActionType as FetchAccountHistoryActionType } from './view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic';
248
248
  import { ActionType as UpdateDepositAccountActionType } from './view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic';
249
- import { ActionType as FetchDepositAccountDetailEpicActionType } from './view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic';
250
- import { ActionType as TransferMoneyEpicActionType } from './view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic';
251
- import { ActionType as CheckDepositEpicActionType } from './view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic';
252
- import { ActionType as DepositAccountTransactionListEpicActionType } from './view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic';
249
+ import { ActionType as FetchDepositAccountDetailActionType } from './view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic';
250
+ import { ActionType as TransferMoneyActionType } from './view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic';
251
+ import { ActionType as CheckDepositActionType } from './view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic';
252
+ import { ActionType as DepositAccountTransactionListActionType } from './view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic';
253
253
  import { ActionType as FetchEntityHistoryActionType } from './view/spendManagement/commonHistoryView/fetchEntityHistoryEpic';
254
254
  import { ActionType as SaveRealTimeApprovalActionType } from './view/spendManagement/realTimeApprovalView/saveRealTimeApprovalEpic';
255
255
  import { ActionType as FetchDepositAccStatementListActionType } from './view/zeniAccStatementList/fetchZeniAccStatementListEpic';
256
256
  import { ActionType as FetchZeniAccStatePageActionType } from './view/zeniAccStatementList/fetchZeniAccStatementPageEpic';
257
257
  import { ActionType as SaveTranactionVendorActionType } from './view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic';
258
- import { ActionType as ResetTransactionVendorLocalDataEpicActionType } from './view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic';
259
- import { ActionType as FetchVendorTypeListEpicActionType } from './view/vendorTypeList/vendorTypeListEpic';
260
- import { ActionType as FetchMagicLinkTenantEpicActionType } from './view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic';
261
- import { ActionType as FetchMagicLinkBillEpicActionType } from './view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic';
262
- import { ActionType as SaveMagicLinkBankAccountEpicActionType } from './view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic';
263
- import { ActionType as FetchMagicLinkBankNameByRoutingEpicActionType } from './view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic';
264
- import { ActionType as FetchMagicLinkBankNameBySwiftEpicActionType } from './view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic';
265
- import { ActionType as UpdateVendorContactEpicActionType } from './view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic';
258
+ import { ActionType as ResetTransactionVendorLocalDataActionType } from './view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic';
259
+ import { ActionType as FetchVendorTypeListActionType } from './view/vendorTypeList/vendorTypeListEpic';
260
+ import { ActionType as FetchMagicLinkTenantActionType } from './view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic';
261
+ import { ActionType as FetchMagicLinkBillActionType } from './view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic';
262
+ import { ActionType as SaveMagicLinkBankAccountActionType } from './view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic';
263
+ import { ActionType as FetchMagicLinkBankNameByRoutingActionType } from './view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic';
264
+ import { ActionType as FetchMagicLinkBankNameBySwiftActionType } from './view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic';
265
+ import { ActionType as UpdateVendorContactActionType } from './view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic';
266
266
  import { ActionType as NetBurnOrIncomeActionType } from './view/netBurnOrIncome/netBurnOrIncomeEpic';
267
267
  import { ActionType as NetBurnOrIncomeForTimeframeActionType } from './view/netBurnOrIncome/netBurnOrIncomeForTimeframeEpic';
268
268
  import { ActionType as FetchOnboardingCustomerSetupViewActionType } from './view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerSetupViewEpic';
@@ -275,7 +275,7 @@ import { ActionType as UpdateOnboardingPaymentAccountLoginStatusActionType } fro
275
275
  import { ActionType as GetOnboardingPlaidLinkTokenActionType } from './view/onboardingView/customerView/epic/plaidConnection/getOnboardingPlaidLinkTokenEpic';
276
276
  import { ActionType as EstablishOnboardingPlaidConnectionActionType } from './view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic';
277
277
  import { ActionType as FetchCompanyConfigActionType } from './view/companyConfigView/companyConfigEpic';
278
- import { ActionType as WiseRedirectEpicActionType } from './view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic';
278
+ import { ActionType as WiseRedirectActionType } from './view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic';
279
279
  import { ActionType as RecommendationForAccountTypeActionType } from './view/accountMappingView/accountTypeRecommendation/fetchRecommendationForAccountTypeEpic';
280
280
  import { ActionType as FetchAccountListForAccountTypesActionType } from './view/accountMappingView/fetchAccountListForAccountTypesEpic';
281
281
  import { ActionType as InitializeAccountMappingViewActionType } from './view/accountMappingView/initializeAccountMappingViewEpic';
@@ -301,6 +301,16 @@ import { ActionType as FetchChargeCardTransactionListActionType } from './view/s
301
301
  import { ActionType as FetchApAgingActionType } from './view/apAgingView/apAgingReport/fetchApAgingEpic';
302
302
  import { ActionType as FetchApAgingDetailActionType } from './view/apAgingView/apAgingDetail/fetchApAgingDetailEpic';
303
303
  import { ActionType as FetchZeniAccountsConfigActionType } from './view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic';
304
+ import { ActionType as UpdateJESchedulesActionType } from './entity/jeSchedules/updateJESchedulesEpic';
305
+ import { ActionType as FetchSchedulesListActionType } from './view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic';
306
+ import { ActionType as FetchScheduleListActionType } from './view/scheduleView/scheduleListView/epics/fetchScheduleListEpic';
307
+ import { ActionType as FetchDownloadSchedulesActionType } from './view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic';
308
+ import { ActionType as FetchScheduleDetailsActionType } from './view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic';
309
+ import { ActionType as InitializeScheduleDetailLocalDataActionType } from './view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic';
310
+ import { ActionType as FetchScheduleDetailsPageActionType } from './view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic';
311
+ import { ActionType as UpdateAmountsInScheduleDetailActionType } from './view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic';
312
+ import { ActionType as CreateNewSchedulesActionType } from './view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic';
313
+ import { ActionType as SaveScheduleDetailsActionType } from './view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic';
304
314
  import { ActionType as FetchVendorGlobalReviewViewActionType } from './view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic';
305
315
  import { ActionType as ApproveVendorGlobalReviewActionType } from './view/vendorReviewView/vendorGlobalReviewView/epics/approveVendorGlobalReviewEpic';
306
316
  import { ActionType as CreateGlobalMerchantActionType } from './view/globalMerchantView/epics/createGlobalMerchantEpic';
@@ -320,6 +330,6 @@ import { ActionType as InitializeTaskToLocalStoreActionType } from './view/taskM
320
330
  import { ActionType as FetchTaskHistoryActionType } from './view/taskManager/taskDetailView/epics/fetchTaskHistoryEpic';
321
331
  import { ActionType as FetchCollaborationAuthTokenActionType } from './view/authenticationView/epics/fetchCollaborationAuthTokenEpic';
322
332
  /** Root action type is union of all the epic action type */
323
- export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | ApproveOrRejectBillActionType | ApproveOrRejectRemiEpicActionType | ApproveVendorGlobalReviewActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | CancelAndDeleteBillEpicActionType | CancelAndDeleteRemiEpicActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositEpicActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCheckingAccountEpicActionType | CreateCompanyAddressActionType | CreateCompanyOfficersEpicActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreatePaymentInstrumentActionType | CreateUserBankAccountActionType | CurrencyConversionEpicActionType | DeleteBankAccountActionType | DeleteBillEpicActionType | DeleteBillPayApprovalRuleActionType | DeleteFileEpicActionType | DeleteFileListEpicActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiApprovalRuleActionType | DeleteRemiEpicActionType | DeleteTaskActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListEpicActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsEpicActionType | FetchAllPeopleRequiredActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchBankAccountsListEpic | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanEpicActionType | FetchBankNameByRoutingEpicActionType | FetchBankNameBySwiftEpicActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailEpicActionType | FetchBillListEpicActionType | FetchBillListPerTabEpicActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardEpicActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueEpicActionType | FetchDashboardActionType | FetchDepositAccountActionType | FetchDepositAccountDetailEpicActionType | FetchDepositAccountListActionType | FetchDepositAccStatementListActionType | FetchDuplicateBillEpicActionType | FetchDuplicateReimbursementEpicActionType | FetchEditBillDetailPageEpicActionType | FetchEditRemiDetailPageEpicActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchExcludedResourcesActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListEpicActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchMagicLinkBankNameByRoutingEpicActionType | FetchMagicLinkBankNameBySwiftEpicActionType | FetchMagicLinkBillEpicActionType | FetchMagicLinkTenantEpicActionType | FetchManagementActionType | FetchMerchantListEpicActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountListActionType | FetchPortfolioActionType | FetchPreviousBillsEpicActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationByEntityQboIdActionType | FetchRecommendationsAndUpdateMerchantRecommendationsEpicActionType | FetchRecommendationsAndUpdateVendorRecommendationsEpicActionType | FetchReimbursementCardEpicActionType | FetchReimbursementConfigEpicActionType | FetchRemiAndInitializeLocalStoreEpicActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailEpicActionType | FetchRemiListEpicActionType | FetchRemiListPerTabEpicActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsEpicActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTaskHistoryActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeEpicActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendorActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsEpicActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorsActionType | FetchVendorTypeListEpicActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreEpicActionType | initializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreEpicActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeEpicActionType | ParseInvoiceToBillEpicActionType | ParseReceiptsToRemiEpicActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | RecommendationForAccountTypeActionType | ResendInviteActionType | ResendOtpActionType | ResetTransactionVendorLocalDataEpicActionType | ResetVendorDetailLocalDataEpicActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailEpicActionType | SaveBillPaySetupApproverViewUpdatesActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveRemiDetailEpicActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | ToggleReportUIOptionForecastModeEpicActionType | TopExActionType | TransferMoneyEpicActionType | UnlinkPaymentAccountActionType | UpdateAddressActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameEpicActionType | UpdateFilesMetadataEpicActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeEpicActionType | UpdateReportUIOptionIsCompareModeEpicActionType | UpdateReportUIOptionIsCompareModeOnEpicActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactEpicActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewEpicActionType | VendorsTabFetchVendorDetailsEpicActionType | VendorsTabResetVendorDetailLocalDataEpicActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectEpicActionType;
333
+ export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | ApproveOrRejectBillActionType | ApproveOrRejectRemiActionType | ApproveVendorGlobalReviewActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateNewSchedulesActionType | CreatePaymentInstrumentActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteFileActionType | DeleteFileListActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiApprovalRuleActionType | DeleteRemiActionType | DeleteTaskActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllPeopleRequiredActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchBankAccountsListEpic | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountListActionType | FetchDepositAccStatementListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchDuplicateReimbursementEpicActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchExcludedResourcesActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountListActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationByEntityQboIdActionType | FetchRecommendationsAndUpdateMerchantRecommendationsActionType | FetchRecommendationsAndUpdateVendorRecommendationsActionType | FetchReimbursementCardActionType | FetchReimbursementConfigActionType | FetchRemiAndInitializeLocalStoreActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailActionType | FetchRemiListActionType | FetchRemiListPerTabActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchScheduleDetailsActionType | FetchScheduleDetailsPageActionType | FetchScheduleListActionType | FetchSchedulesListActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTaskHistoryActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendorActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorTypeListActionType | FetchVendorsActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | initializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeActionType | ParseInvoiceToBillActionType | ParseReceiptsToRemiActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | RecommendationForAccountTypeActionType | ResendInviteActionType | ResendOtpActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | UnlinkPaymentAccountActionType | UpdateAddressActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMileageDetailsActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
324
334
  declare const rootEpic: Epic<RootActionType>;
325
335
  export default rootEpic;