@zeniai/client-epic-state 4.13.15 → 4.13.17

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 (319) hide show
  1. package/lib/commonPayloadTypes/commonPayload.d.ts +7 -0
  2. package/lib/commonStateTypes/common.d.ts +2 -0
  3. package/lib/commonStateTypes/common.js +5 -1
  4. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.d.ts +1 -0
  5. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.js +2 -1
  6. package/lib/commonStateTypes/timePeriod.d.ts +16 -0
  7. package/lib/commonStateTypes/timePeriod.js +31 -1
  8. package/lib/commonStateTypes/viewAndReport/reportIDHelper.d.ts +1 -0
  9. package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +3 -1
  10. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
  11. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +2 -0
  12. package/lib/entity/account/accountState.d.ts +1 -1
  13. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  14. package/lib/entity/chargeCard/chargeCard.d.ts +16 -2
  15. package/lib/entity/chargeCard/chargeCard.js +18 -1
  16. package/lib/entity/chargeCard/chargeCardPayload.d.ts +14 -5
  17. package/lib/entity/chargeCard/chargeCardPayload.js +24 -7
  18. package/lib/entity/class/classReducer.d.ts +4 -4
  19. package/lib/entity/class/classState.d.ts +1 -1
  20. package/lib/entity/company/companyPayload.d.ts +4 -0
  21. package/lib/entity/company/companyPayload.js +6 -3
  22. package/lib/entity/company/companyReducer.d.ts +4 -1
  23. package/lib/entity/company/companyReducer.js +6 -2
  24. package/lib/entity/company/companyStateTypes.d.ts +5 -1
  25. package/lib/entity/file/fileState.d.ts +3 -3
  26. package/lib/entity/file/fileState.js +2 -0
  27. package/lib/entity/forecast/forecastState.d.ts +1 -1
  28. package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +1 -0
  29. package/lib/entity/jeSchedules/jeSchedulesPayload.js +7 -1
  30. package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +2 -2
  31. package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +3 -1
  32. package/lib/entity/jeSchedules/jeSchedulesSelector.js +2 -1
  33. package/lib/entity/jeSchedules/jeSchedulesState.d.ts +3 -1
  34. package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +2 -0
  35. package/lib/entity/jeSchedules/jeSchedulesTypes.js +12 -1
  36. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.d.ts +32 -0
  37. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js +60 -0
  38. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.d.ts +12 -0
  39. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +25 -0
  40. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksSelector.d.ts +7 -0
  41. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksSelector.js +36 -0
  42. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.d.ts +38 -0
  43. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.js +10 -0
  44. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  45. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  46. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  47. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  48. package/lib/entity/snackbar/snackbarTypes.js +5 -0
  49. package/lib/entity/tenant/clearAllEpic.d.ts +12 -2
  50. package/lib/entity/tenant/clearAllEpic.js +20 -0
  51. package/lib/entity/tenant/epic/fetchActiveTenantEpic.d.ts +2 -1
  52. package/lib/entity/tenant/epic/fetchActiveTenantEpic.js +9 -1
  53. package/lib/entity/tenant/epic/fetchAllTenantsEpic.d.ts +7 -1
  54. package/lib/entity/tenant/epic/fetchAllTenantsEpic.js +34 -2
  55. package/lib/entity/tenant/tenantPayload.d.ts +1 -0
  56. package/lib/entity/tenant/tenantReducer.js +3 -0
  57. package/lib/entity/tenant/tenantState.d.ts +1 -0
  58. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
  59. package/lib/entity/transaction/payloadTypes/attachmentPayload.d.ts +1 -1
  60. package/lib/entity/transaction/payloadTypes/attachmentPayload.js +3 -3
  61. package/lib/entity/transaction/stateTypes/transactionType.d.ts +2 -2
  62. package/lib/entity/transaction/transactionSelector.d.ts +1 -0
  63. package/lib/entity/transaction/transactionSelector.js +7 -1
  64. package/lib/entity/user/userPayload.d.ts +1 -0
  65. package/lib/entity/user/userReducer.js +9 -8
  66. package/lib/entity/user/userState.d.ts +1 -0
  67. package/lib/entity/vendor/__mocks__/vendorStateMocks.d.ts +1 -0
  68. package/lib/entity/vendor/__mocks__/vendorStateMocks.js +35 -1
  69. package/lib/entity/vendor/vendorPayload.js +3 -2
  70. package/lib/entity/vendor/vendorState.d.ts +3 -3
  71. package/lib/entity/vendor/vendorType.d.ts +0 -2
  72. package/lib/entity/vendor/vendorType.js +1 -4
  73. package/lib/entity/vendorExpense/vendorExpenseSelector.d.ts +2 -2
  74. package/lib/entity/vendorExpense/vendorExpenseSelector.js +1 -0
  75. package/lib/epic.d.ts +20 -2
  76. package/lib/epic.js +20 -2
  77. package/lib/index.d.ts +65 -21
  78. package/lib/index.js +104 -28
  79. package/lib/reducer.d.ts +31 -1
  80. package/lib/reducer.js +31 -1
  81. package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +7 -1
  82. package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +7 -1
  83. package/lib/view/addressView/addressViewState.d.ts +1 -1
  84. package/lib/view/addressView/toAddressViewLocalData.d.ts +2 -0
  85. package/lib/view/addressView/toAddressViewLocalData.js +9 -3
  86. package/lib/view/auditReportView/auditReportViewState.d.ts +2 -2
  87. package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
  88. package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -1
  89. package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.d.ts +1 -1
  90. package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.d.ts +1 -1
  91. package/lib/view/cardPayment/epic/createCardSetupIntentEpic.d.ts +1 -1
  92. package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.d.ts +1 -1
  93. package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
  94. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
  95. package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
  96. package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +1 -1
  97. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.d.ts +2 -2
  98. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.d.ts +10 -5
  99. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +10 -7
  100. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportTemplatesEpic.js +4 -4
  101. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js +4 -4
  102. package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.js +5 -3
  103. package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +3 -3
  104. package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +3 -3
  105. package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +1 -6
  106. package/lib/view/companyView/selectorHelpers/getCompanyView.js +4 -0
  107. package/lib/view/companyView/types/cockpitTypes.d.ts +2 -2
  108. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.d.ts +2 -0
  109. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.js +7 -1
  110. package/lib/view/companyView/types/companyView.d.ts +1 -0
  111. package/lib/view/countryList/countryListReducer.d.ts +17 -0
  112. package/lib/view/countryList/countryListReducer.js +58 -0
  113. package/lib/view/countryList/countryListSelector.d.ts +7 -0
  114. package/lib/view/countryList/countryListSelector.js +13 -0
  115. package/lib/view/countryList/countryListState.d.ts +12 -0
  116. package/lib/view/countryList/countryListState.js +2 -0
  117. package/lib/view/countryList/epics/fetchCountryListEpic.d.ts +6 -0
  118. package/lib/view/countryList/epics/fetchCountryListEpic.js +19 -0
  119. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.d.ts +7 -0
  120. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.js +38 -0
  121. package/lib/view/countryList/payloads/countryListPayload.d.ts +6 -0
  122. package/lib/view/countryList/payloads/countryListPayload.js +10 -0
  123. package/lib/view/countryList/payloads/nationalityCountryListPayload.d.ts +11 -0
  124. package/lib/view/countryList/payloads/nationalityCountryListPayload.js +2 -0
  125. package/lib/view/dashboard/dashboardEpic.d.ts +2 -1
  126. package/lib/view/dashboard/dashboardEpic.js +22 -2
  127. package/lib/view/dashboard/dashboardReducer.d.ts +3 -2
  128. package/lib/view/dashboard/dashboardReducer.js +2 -1
  129. package/lib/view/dashboard/dashboardSelector.d.ts +2 -0
  130. package/lib/view/dashboard/dashboardSelector.js +10 -2
  131. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.d.ts +10 -0
  132. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +73 -0
  133. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.d.ts +11 -0
  134. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +55 -0
  135. package/lib/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.d.ts +11 -0
  136. package/lib/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.js +72 -0
  137. package/lib/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.d.ts +12 -0
  138. package/lib/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.js +77 -0
  139. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.d.ts +7 -0
  140. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.js +22 -0
  141. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.d.ts +8 -0
  142. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +59 -0
  143. package/lib/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.d.ts +8 -0
  144. package/lib/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.js +78 -0
  145. package/lib/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.d.ts +6 -0
  146. package/lib/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.js +28 -0
  147. package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.d.ts +9 -0
  148. package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.js +78 -0
  149. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.d.ts +8 -0
  150. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.js +58 -0
  151. package/lib/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.d.ts +10 -0
  152. package/lib/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.js +12 -0
  153. package/lib/view/expenseAutomationView/expenseAutomationViewPayload.d.ts +3 -0
  154. package/lib/view/expenseAutomationView/expenseAutomationViewPayload.js +2 -0
  155. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.d.ts +17 -0
  156. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +66 -0
  157. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.d.ts +3 -0
  158. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +100 -0
  159. package/lib/view/expenseAutomationView/expenseAutomationViewState.d.ts +11 -0
  160. package/lib/view/expenseAutomationView/expenseAutomationViewState.js +14 -0
  161. package/lib/view/expenseAutomationView/helpers/helpers.d.ts +7 -0
  162. package/lib/view/expenseAutomationView/helpers/helpers.js +67 -0
  163. package/lib/view/expenseAutomationView/payload/fluxAnalysisPayload.d.ts +76 -0
  164. package/lib/view/expenseAutomationView/payload/fluxAnalysisPayload.js +9 -0
  165. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.d.ts +36 -0
  166. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.js +58 -0
  167. package/lib/view/expenseAutomationView/payload/missingReceiptsPayload.d.ts +16 -0
  168. package/lib/view/expenseAutomationView/payload/missingReceiptsPayload.js +2 -0
  169. package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.d.ts +47 -0
  170. package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +241 -0
  171. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +53 -0
  172. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +245 -0
  173. package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.d.ts +31 -0
  174. package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +130 -0
  175. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.d.ts +5 -0
  176. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +45 -0
  177. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.d.ts +34 -0
  178. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.js +44 -0
  179. package/lib/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.d.ts +32 -0
  180. package/lib/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.js +2 -0
  181. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.d.ts +28 -0
  182. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.js +2 -0
  183. package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.d.ts +11 -0
  184. package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.js +2 -0
  185. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.d.ts +3 -0
  186. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.js +89 -0
  187. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.d.ts +7 -0
  188. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +95 -0
  189. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.d.ts +3 -0
  190. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.js +61 -0
  191. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +54 -0
  192. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.js +5 -0
  193. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.d.ts +31 -0
  194. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.js +2 -0
  195. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.d.ts +20 -0
  196. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.js +13 -0
  197. package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +28 -0
  198. package/lib/view/expenseAutomationView/types/transactionsViewState.js +15 -0
  199. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  200. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
  201. package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.d.ts +8 -0
  202. package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.js +58 -0
  203. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.d.ts +3 -0
  204. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.js +2 -0
  205. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.d.ts +16 -0
  206. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +36 -0
  207. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.d.ts +10 -0
  208. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.js +27 -0
  209. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.d.ts +5 -0
  210. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.js +2 -0
  211. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.d.ts +8 -1
  212. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +3 -1
  213. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +5 -4
  214. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +2 -0
  215. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +6 -3
  216. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
  217. package/lib/view/people/deletePersonEpic.d.ts +1 -1
  218. package/lib/view/people/invitePeopleEpic.d.ts +1 -1
  219. package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
  220. package/lib/view/people/resendInviteEpic.d.ts +1 -1
  221. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
  222. package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +1 -1
  223. package/lib/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.d.ts +1 -1
  224. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +3 -2
  225. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +1 -1
  226. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +2 -2
  227. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +19 -5
  228. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +8 -3
  229. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +39 -57
  230. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +13 -8
  231. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +19 -12
  232. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +1 -0
  233. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +4 -3
  234. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.d.ts +2 -0
  235. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +1 -1
  236. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
  237. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
  238. package/lib/view/settingsView/epic/updateMyProfileEpic.js +6 -4
  239. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +1 -4
  240. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +2 -0
  241. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +3 -0
  242. package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +2 -2
  243. package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.d.ts +2 -1
  244. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.d.ts +7 -0
  245. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.js +36 -0
  246. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.d.ts +6 -0
  247. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.js +42 -0
  248. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.d.ts +9 -0
  249. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.js +67 -0
  250. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.d.ts +26 -0
  251. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.js +22 -0
  252. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.d.ts +22 -0
  253. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +89 -0
  254. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.d.ts +15 -0
  255. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.js +30 -0
  256. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.d.ts +20 -0
  257. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.js +2 -0
  258. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.d.ts +3 -1
  259. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +6 -2
  260. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.d.ts +2 -3
  261. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.js +3 -3
  262. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingState.d.ts +1 -3
  263. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.d.ts +1 -2
  264. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.js +1 -21
  265. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/saveCardOnboardingUserDetailsEpic.js +1 -3
  266. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +1 -0
  267. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js +4 -0
  268. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.d.ts +8 -1
  269. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +25 -2
  270. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.d.ts +1 -0
  271. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +8 -4
  272. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +2 -1
  273. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.d.ts +11 -0
  274. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.js +42 -0
  275. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +1 -14
  276. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +2 -13
  277. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.d.ts +3 -6
  278. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +2 -17
  279. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.d.ts +8 -2
  280. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +55 -15
  281. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.d.ts +9 -0
  282. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.js +44 -0
  283. package/lib/view/spendManagement/chargeCards/{chargeCardList → issueChargeCard}/issueChargeCardEpic.d.ts +3 -2
  284. package/lib/view/spendManagement/chargeCards/{chargeCardList → issueChargeCard}/issueChargeCardEpic.js +35 -18
  285. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.d.ts +15 -0
  286. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +65 -0
  287. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.d.ts +22 -0
  288. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +77 -0
  289. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.d.ts +28 -0
  290. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.js +23 -0
  291. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +1 -1
  292. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +31 -6
  293. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.d.ts +2 -2
  294. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +5 -2
  295. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +4 -1
  296. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +6 -2
  297. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +1 -0
  298. package/lib/view/spendManagement/commonSetup/types/businessVerification.d.ts +4 -0
  299. package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.js +2 -2
  300. package/lib/view/subscriptionView/types/subscriptionTypes.d.ts +1 -1
  301. package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
  302. package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
  303. package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
  304. package/lib/view/topEx/topExSelector.d.ts +1 -1
  305. package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.js +2 -2
  306. package/lib/view/transactionDetail/transactionDetailState.d.ts +2 -2
  307. package/lib/view/userListView/fetchUserListByTypeEpic.js +4 -1
  308. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListMock.js +1 -1
  309. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListSelectorMock.js +1 -1
  310. package/lib/view/vendorReviewView/common/state/commonTypes.d.ts +1 -1
  311. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +34 -3
  312. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.d.ts +1 -1
  313. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +2 -2
  314. package/lib/view/zeniAccStatementList/zeniAccStatementList.d.ts +2 -5
  315. package/package.json +2 -2
  316. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.d.ts +0 -0
  317. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.js +0 -1
  318. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.d.ts +0 -0
  319. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.js +0 -1
@@ -0,0 +1,76 @@
1
+ import { AgingBalancePayload } from '../../../commonPayloadTypes/agingReportPayloadTypes';
2
+ import { CurrencyPayload } from '../../../commonPayloadTypes/v2/viewAndReportPayloadv2';
3
+ import { AccountBasePayload } from '../../../entity/account/accountPayload';
4
+ import { ClassBasePayload } from '../../../entity/class/classPayload';
5
+ import { UserPayload } from '../../../entity/user/userPayload';
6
+ import { VendorPayload } from '../../../entity/vendor/vendorPayload';
7
+ import { ZeniAPIResponse } from '../../../responsePayload';
8
+ declare const toFluxAnalysisQuerySortKey: (v: string) => "accounting_class_name" | "vendor_name" | "account_name";
9
+ export declare type FluxAnalysisQuerySortKey = ReturnType<typeof toFluxAnalysisQuerySortKey>;
10
+ export declare type FluxAnalysisActionQueryType = 'mark_as_reviewed' | 'mark_as_un_reviewed';
11
+ export interface PageMetadataPayload {
12
+ next_page_token: string;
13
+ is_more_data_to_load: boolean;
14
+ }
15
+ export interface FluxAnalysisQueryPayload {
16
+ month_and_year: string;
17
+ sort_order: string;
18
+ sort_by: string;
19
+ page_token: string | null;
20
+ }
21
+ export interface FluxAnalysisReviewPayload {
22
+ action: string;
23
+ flux_analysis_entity_ids: string[];
24
+ }
25
+ export interface MonthBalancePayload extends AgingBalancePayload {
26
+ end_date: string;
27
+ id: string;
28
+ label: string;
29
+ start_date: string;
30
+ }
31
+ export interface FluxAnalysisEntitiesPayload {
32
+ operating_expenses?: FluxAnalysisOperatingExpensePayload[];
33
+ }
34
+ export interface FluxAnalysisOperatingExpensePayload {
35
+ flux_analysis_entity_id: string;
36
+ vendor_id: string;
37
+ account_id: string | undefined;
38
+ accounting_class_id: string | undefined;
39
+ month_1: MonthBalancePayload;
40
+ month_2: MonthBalancePayload;
41
+ variance_amount: number;
42
+ variance_percentage: number;
43
+ anomaly_reason: string;
44
+ status: string;
45
+ reviewed_by_user_id: string | null;
46
+ reviewed_at: string | null;
47
+ updated_at: string | null;
48
+ is_reviewed: boolean | null;
49
+ }
50
+ export interface FluxAnalysisReportPayload {
51
+ vendors: VendorPayload[];
52
+ accounts: AccountBasePayload[];
53
+ accounting_class: ClassBasePayload[];
54
+ users: UserPayload[];
55
+ flux_analysis_entities?: FluxAnalysisEntitiesPayload;
56
+ page_metadata?: PageMetadataPayload;
57
+ currency: CurrencyPayload;
58
+ }
59
+ export interface FluxAnalysisResponsePayload extends FluxAnalysisReportPayload {
60
+ query: {
61
+ month_and_year: string;
62
+ page_token: string;
63
+ sort_by: string;
64
+ sort_order: string;
65
+ };
66
+ }
67
+ export interface ReviewFluxAnalysisResponsePayload extends FluxAnalysisReportPayload {
68
+ query: {
69
+ action: string;
70
+ month_and_year: string;
71
+ flux_analysis_entity_ids: string[];
72
+ };
73
+ }
74
+ export declare type FluxAnalysisViewResponse = ZeniAPIResponse<FluxAnalysisResponsePayload>;
75
+ export declare type ReviewFluxAnalysisViewResponse = ZeniAPIResponse<ReviewFluxAnalysisResponsePayload>;
76
+ export {};
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const stringToUnion_1 = require("../../../commonStateTypes/stringToUnion");
4
+ const FLUX_ANALYSIS_SORT_KEYS_QUERY = [
5
+ 'accounting_class_name',
6
+ 'account_name',
7
+ 'vendor_name',
8
+ ];
9
+ const toFluxAnalysisQuerySortKey = (v) => (0, stringToUnion_1.stringToUnion)(v, FLUX_ANALYSIS_SORT_KEYS_QUERY);
@@ -0,0 +1,36 @@
1
+ import { RootState } from '../../../reducer';
2
+ import { JEScheduledTransactionPayload, ScheduledJournalEntryPayload } from '../../../entity/jeSchedules/jeSchedulesPayload';
3
+ import { JEScheduledTransaction } from '../../../entity/jeSchedules/jeSchedulesSelector';
4
+ import { ScheduleTypes } from '../../../entity/jeSchedules/jeSchedulesTypes';
5
+ import { ZeniAPIResponse } from '../../../responsePayload';
6
+ import { JESchedulePayload, SaveJESchedulePayload } from '../../scheduleView/scheduleDetailView/scheduleDetailPayload';
7
+ import { JEScheduleLocalData } from '../types/jeSchedulesViewState';
8
+ export interface ExpenseAutomationJESchedulesQueryPayload {
9
+ start_date: string;
10
+ end_date: string;
11
+ }
12
+ interface ExpenseAutomationJESchedulesPayload {
13
+ draft_je_schedules: JEScheduledTransactionPayload[];
14
+ failed_je_postings: {
15
+ je_schedules: JEScheduledTransactionPayload[];
16
+ scheduled_journal_entries: ScheduledJournalEntryPayload[];
17
+ };
18
+ }
19
+ export declare type ExpenseAutomationJESchedulesResponse = ZeniAPIResponse<ExpenseAutomationJESchedulesPayload>;
20
+ export interface IgnoreDraftJESchedulePayload {
21
+ je_schedules: JEScheduledTransactionPayload[];
22
+ scheduled_journal_entries: SaveJESchedulePayload[];
23
+ }
24
+ export declare const prepareIgnoreSchedulePayload: (scheduleType: ScheduleTypes, jeScheduleTransaction: JEScheduledTransaction, state: RootState) => {
25
+ scheduled_journal_entries: never[];
26
+ je_schedules: JESchedulePayload[];
27
+ };
28
+ export declare const preparePayloadForRetryPosting: (jeSchedule: JEScheduleLocalData) => {
29
+ updated_debit_class_id?: string | undefined;
30
+ updated_credit_category_id?: string | undefined;
31
+ updated_debit_category_id?: string | undefined;
32
+ updated_vendor_id?: string | undefined;
33
+ scheduled_journal_entry_id: string;
34
+ je_schedule_id: string;
35
+ };
36
+ export {};
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.preparePayloadForRetryPosting = exports.prepareIgnoreSchedulePayload = void 0;
4
+ const scheduleDetailPayload_1 = require("../../scheduleView/scheduleDetailView/scheduleDetailPayload");
5
+ const formatZeniDateFY_1 = require("../../../commonStateTypes/fiscalYearHelpers/formatZeniDateFY");
6
+ const prepareIgnoreSchedulePayload = (scheduleType, jeScheduleTransaction, state) => {
7
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
8
+ const { vendorState } = state;
9
+ const { vendor, currencyCode, currencySymbol, baseTransaction, status, balanceAsOfToday, period, startDate, endDate, jeCredit, jeDebit, } = jeScheduleTransaction;
10
+ const vendorID = vendor.id;
11
+ const vendorDetails = vendorState.vendorByID[vendorID];
12
+ const jeSchedulePayload = {
13
+ status: status,
14
+ vendor: (0, scheduleDetailPayload_1.mapVendorToVendorPayload)(vendorDetails),
15
+ currency_code: currencyCode,
16
+ currency_symbol: currencySymbol,
17
+ period: period !== null && period !== void 0 ? period : null,
18
+ je_schedule_type: scheduleType,
19
+ posting_date: null,
20
+ balance: getBalanceAmountAsOfToday(baseTransaction, balanceAsOfToday),
21
+ start_date: (_a = startDate === null || startDate === void 0 ? void 0 : startDate.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)) !== null && _a !== void 0 ? _a : null,
22
+ end_date: (_b = endDate === null || endDate === void 0 ? void 0 : endDate.format(formatZeniDateFY_1.DEFAULT_DATE_FORMAT)) !== null && _b !== void 0 ? _b : null,
23
+ je_credit_accounting_class_id: (_d = (_c = jeCredit === null || jeCredit === void 0 ? void 0 : jeCredit.accountingClass) === null || _c === void 0 ? void 0 : _c.classId) !== null && _d !== void 0 ? _d : null,
24
+ je_credit_account_id: (_f = (_e = jeCredit === null || jeCredit === void 0 ? void 0 : jeCredit.account) === null || _e === void 0 ? void 0 : _e.accountId) !== null && _f !== void 0 ? _f : null,
25
+ je_debit_accounting_class_id: (_h = (_g = jeDebit === null || jeDebit === void 0 ? void 0 : jeDebit.accountingClass) === null || _g === void 0 ? void 0 : _g.classId) !== null && _h !== void 0 ? _h : null,
26
+ je_debit_account_id: (_k = (_j = jeDebit === null || jeDebit === void 0 ? void 0 : jeDebit.account) === null || _j === void 0 ? void 0 : _j.accountId) !== null && _k !== void 0 ? _k : null,
27
+ other_attributes: {},
28
+ base_transaction: (0, scheduleDetailPayload_1.mapScheduleTransactionToBaseScheduleTransactionPayload)(baseTransaction),
29
+ is_reviewed: true,
30
+ };
31
+ return {
32
+ scheduled_journal_entries: [],
33
+ je_schedules: [jeSchedulePayload],
34
+ };
35
+ };
36
+ exports.prepareIgnoreSchedulePayload = prepareIgnoreSchedulePayload;
37
+ const getBalanceAmountAsOfToday = (baseTransaction, balanceAsOfToday) => {
38
+ if (balanceAsOfToday != null) {
39
+ return balanceAsOfToday.amount;
40
+ }
41
+ return baseTransaction.amount.amount;
42
+ };
43
+ const preparePayloadForRetryPosting = (jeSchedule) => {
44
+ var _a;
45
+ return Object.assign(Object.assign(Object.assign(Object.assign({ scheduled_journal_entry_id: jeSchedule.scheduledJournalEntryID, je_schedule_id: jeSchedule.jeScheduleID }, (((_a = jeSchedule.updatedVendor) === null || _a === void 0 ? void 0 : _a.id) != null &&
46
+ jeSchedule.updatedVendor.id !== ''
47
+ ? { updated_vendor_id: jeSchedule.updatedVendor.id }
48
+ : {})), (jeSchedule.updatedCategoryId != null
49
+ ? { updated_debit_category_id: jeSchedule.updatedCategoryId }
50
+ : {})), (jeSchedule.updatedAccumulatedDepreciationCategoryID != null
51
+ ? {
52
+ updated_credit_category_id: jeSchedule.updatedAccumulatedDepreciationCategoryID,
53
+ }
54
+ : {})), (jeSchedule.updatedClassId != null
55
+ ? { updated_debit_class_id: jeSchedule.updatedClassId }
56
+ : {}));
57
+ };
58
+ exports.preparePayloadForRetryPosting = preparePayloadForRetryPosting;
@@ -0,0 +1,16 @@
1
+ import { TransactionPayload } from '../../../entity/transaction/payloadTypes/transactionPayload';
2
+ import { ZeniAPIResponse } from '../../../responsePayload';
3
+ export interface MissingReceiptsQueryPayload {
4
+ start_date: string;
5
+ end_date: string;
6
+ sort_by: string;
7
+ sort_order: string;
8
+ total_amount_min: number;
9
+ is_attachment_missing_only: boolean;
10
+ }
11
+ interface MissingReceiptsPayload {
12
+ transactions: TransactionPayload[];
13
+ query: MissingReceiptsQueryPayload;
14
+ }
15
+ export declare type MissingReceiptsResponse = ZeniAPIResponse<MissingReceiptsPayload>;
16
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,47 @@
1
+ import { FluxAnalysisActionType, FluxAnalysisOperatingExpense, FluxAnalysisViewState, FluxAnalysisViewUIState } from '../types/fluxAnalysisViewState';
2
+ import { MonthYearPeriod } from '../../../commonStateTypes/timePeriod';
3
+ import { ZeniAPIStatus } from '../../../responsePayload';
4
+ import { FluxAnalysisOperatingExpensePayload, PageMetadataPayload } from '../payload/fluxAnalysisPayload';
5
+ import { FetchStateAndError, ID } from '../../../commonStateTypes/common';
6
+ import { CurrencyPayload } from '../../../commonPayloadTypes/v2/viewAndReportPayloadv2';
7
+ import { PageToken } from '../../../commonStateTypes/viewAndReport/viewAndReport';
8
+ export declare const initialState: FluxAnalysisViewState;
9
+ export declare const toFluxAnalysisiOperatingExpensesById: (operatingExpenses: FluxAnalysisOperatingExpensePayload[], currency: CurrencyPayload) => Record<ID, FluxAnalysisOperatingExpense>;
10
+ export declare const toFluxAnalysisOperatingEexpenses: (operatingExpensesPayload: FluxAnalysisOperatingExpensePayload[], currency: CurrencyPayload) => FluxAnalysisOperatingExpense[];
11
+ export declare const toFluxAnalysisOperatingEexpense: (operatingExpensePayload: FluxAnalysisOperatingExpensePayload, currency: CurrencyPayload) => FluxAnalysisOperatingExpense;
12
+ export declare const toReviewStatusById: (operatingExpenses: FluxAnalysisOperatingExpensePayload[]) => Record<ID, FetchStateAndError>;
13
+ export declare const fetchFluxAnalysisView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[monthAndYear: MonthYearPeriod, cacheOverride: boolean, refreshViewInBackground: boolean, pageToken: PageToken, keepExistingListItems?: boolean | undefined], {
14
+ monthAndYear: MonthYearPeriod;
15
+ refreshViewInBackground: boolean;
16
+ cacheOverride: boolean;
17
+ pageToken: PageToken;
18
+ keepExistingListItems: boolean | undefined;
19
+ }, string, never, never>, fetchFluxAnalysisViewSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
20
+ expensesPayload: FluxAnalysisOperatingExpensePayload[];
21
+ selectedPeriod: MonthYearPeriod;
22
+ currency: CurrencyPayload;
23
+ keepExistingListItems?: boolean | undefined;
24
+ }, string>, fetchFluxAnalysisViewFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
25
+ status: ZeniAPIStatus;
26
+ selectedPeriod: MonthYearPeriod;
27
+ }, string>, clearExpenseAutomationFluxAnalysisView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, updateOperatingExpensesIdsForReview: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
28
+ operatingExpenseIds: ID[];
29
+ }, string>, reviewFluxAnalysisView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[actionType: FluxAnalysisActionType, operatingExpenseIds: string[], selectedPeriod: MonthYearPeriod, isBulk?: boolean | undefined], {
30
+ actionType: FluxAnalysisActionType;
31
+ operatingExpenseIds: string[];
32
+ selectedPeriod: MonthYearPeriod;
33
+ isBulk: boolean | undefined;
34
+ }, string, never, never>, reviewFluxAnalysisViewSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
35
+ expensesPayload: FluxAnalysisOperatingExpensePayload[];
36
+ currency: CurrencyPayload;
37
+ selectedPeriod: MonthYearPeriod;
38
+ isBulk?: boolean | undefined;
39
+ }, string>, reviewFluxAnalysisViewFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
40
+ operatingExpenseIds: ID[];
41
+ status: ZeniAPIStatus;
42
+ isBulk?: boolean | undefined;
43
+ }, string>, updateFluxAnalysisViewUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<FluxAnalysisViewUIState>, string>, updateFluxAnalysisViewPageMetaData: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
44
+ pageMetaData?: PageMetadataPayload | undefined;
45
+ }, string>;
46
+ declare const _default: import("@reduxjs/toolkit").Reducer<FluxAnalysisViewState, import("@reduxjs/toolkit").AnyAction>;
47
+ export default _default;
@@ -0,0 +1,241 @@
1
+ "use strict";
2
+ var _a;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.updateFluxAnalysisViewPageMetaData = exports.updateFluxAnalysisViewUIState = exports.reviewFluxAnalysisViewFailure = exports.reviewFluxAnalysisViewSuccess = exports.reviewFluxAnalysisView = exports.updateOperatingExpensesIdsForReview = exports.clearExpenseAutomationFluxAnalysisView = exports.fetchFluxAnalysisViewFailure = exports.fetchFluxAnalysisViewSuccess = exports.fetchFluxAnalysisView = exports.toReviewStatusById = exports.toFluxAnalysisOperatingEexpense = exports.toFluxAnalysisOperatingEexpenses = exports.toFluxAnalysisiOperatingExpensesById = exports.initialState = void 0;
5
+ const toolkit_1 = require("@reduxjs/toolkit");
6
+ const timePeriod_1 = require("../../../commonStateTypes/timePeriod");
7
+ const helpers_1 = require("../helpers/helpers");
8
+ exports.initialState = {
9
+ reviewStatusById: {},
10
+ operatingExpenseIdsBySelectedPeriod: {},
11
+ fluxAnalysisEntities: { operatingExpenses: [] },
12
+ uiState: {
13
+ scrollPosition: { scrollTop: 0, scrollLeft: undefined },
14
+ pageToken: null,
15
+ hasMore: true,
16
+ totalCount: 0,
17
+ limit: 10,
18
+ sortKey: 'vendor',
19
+ searchString: '',
20
+ sortOrder: 'ascending',
21
+ },
22
+ refreshStatus: {
23
+ fetchState: 'Not-Started',
24
+ error: undefined,
25
+ },
26
+ fetchState: 'Not-Started',
27
+ bulkReviewStatus: {
28
+ fetchState: 'Not-Started',
29
+ error: undefined,
30
+ },
31
+ error: undefined,
32
+ fluxAnalysisReportGenerated: false,
33
+ reviewOperatingExpensesIds: [],
34
+ hasValidState() {
35
+ return this.fetchState == 'Completed';
36
+ },
37
+ };
38
+ const expenseAutomationFluxAnalysisView = (0, toolkit_1.createSlice)({
39
+ name: 'expenseAutomationFluxAnalysisView',
40
+ initialState: exports.initialState,
41
+ reducers: {
42
+ fetchFluxAnalysisView: {
43
+ reducer(draft, action) {
44
+ const { refreshViewInBackground } = action.payload;
45
+ if (refreshViewInBackground) {
46
+ draft.refreshStatus = { fetchState: 'In-Progress', error: undefined };
47
+ }
48
+ else {
49
+ draft.fetchState = 'In-Progress';
50
+ draft.error = undefined;
51
+ }
52
+ },
53
+ prepare(monthAndYear, cacheOverride, refreshViewInBackground, pageToken, keepExistingListItems) {
54
+ return {
55
+ payload: {
56
+ monthAndYear,
57
+ refreshViewInBackground,
58
+ cacheOverride,
59
+ pageToken,
60
+ keepExistingListItems,
61
+ },
62
+ };
63
+ },
64
+ },
65
+ fetchFluxAnalysisViewSuccess(draft, action) {
66
+ const { expensesPayload, selectedPeriod, keepExistingListItems, currency } = action.payload;
67
+ if (draft.fetchState === 'In-Progress') {
68
+ draft.fetchState = 'Completed';
69
+ draft.error = undefined;
70
+ }
71
+ else {
72
+ draft.refreshStatus = { fetchState: 'Completed', error: undefined };
73
+ }
74
+ draft.reviewStatusById = Object.assign(Object.assign({}, draft.reviewStatusById), (0, exports.toReviewStatusById)(expensesPayload));
75
+ const fluxOpExEntityIds = expensesPayload.map((expense) => expense.flux_analysis_entity_id);
76
+ if (keepExistingListItems === true) {
77
+ const allFluxAnalysisEntities = {
78
+ operatingExpenses: [
79
+ ...draft.fluxAnalysisEntities.operatingExpenses,
80
+ ...(0, exports.toFluxAnalysisOperatingEexpenses)(expensesPayload, currency),
81
+ ],
82
+ };
83
+ const allOperatingExpenseIdsBySelectedPeriod = [
84
+ ...fluxOpExEntityIds,
85
+ ...draft.operatingExpenseIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)],
86
+ ];
87
+ draft.fluxAnalysisEntities = allFluxAnalysisEntities;
88
+ draft.operatingExpenseIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] = allOperatingExpenseIdsBySelectedPeriod;
89
+ }
90
+ else {
91
+ draft.operatingExpenseIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] = fluxOpExEntityIds;
92
+ draft.fluxAnalysisEntities = {
93
+ operatingExpenses: (0, exports.toFluxAnalysisOperatingEexpenses)(expensesPayload, currency),
94
+ };
95
+ }
96
+ },
97
+ updateFluxAnalysisViewPageMetaData(draft, action) {
98
+ var _a, _b, _c, _d;
99
+ draft.uiState = Object.assign(Object.assign({}, draft.uiState), { pageToken: (_b = (_a = action.payload.pageMetaData) === null || _a === void 0 ? void 0 : _a.next_page_token) !== null && _b !== void 0 ? _b : null, hasMore: (_d = (_c = action.payload.pageMetaData) === null || _c === void 0 ? void 0 : _c.is_more_data_to_load) !== null && _d !== void 0 ? _d : true });
100
+ },
101
+ fetchFluxAnalysisViewFailure(draft, action) {
102
+ const { status, selectedPeriod } = action.payload;
103
+ draft.operatingExpenseIdsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)] = [];
104
+ if (draft.fetchState === 'In-Progress') {
105
+ draft.fetchState = 'Error';
106
+ draft.error = status;
107
+ }
108
+ else {
109
+ draft.refreshStatus = { fetchState: 'Error', error: status };
110
+ }
111
+ },
112
+ updateOperatingExpensesIdsForReview(draft, action) {
113
+ const { operatingExpenseIds } = action.payload;
114
+ draft.reviewOperatingExpensesIds = operatingExpenseIds;
115
+ },
116
+ reviewFluxAnalysisView: {
117
+ reducer(draft, action) {
118
+ const { operatingExpenseIds, isBulk } = action.payload;
119
+ operatingExpenseIds.forEach((id) => {
120
+ draft.reviewStatusById[id] = {
121
+ fetchState: 'In-Progress',
122
+ };
123
+ });
124
+ if (isBulk === true) {
125
+ draft.bulkReviewStatus = {
126
+ fetchState: 'In-Progress',
127
+ };
128
+ }
129
+ },
130
+ prepare(actionType, operatingExpenseIds, selectedPeriod, isBulk) {
131
+ return {
132
+ payload: { actionType, operatingExpenseIds, selectedPeriod, isBulk },
133
+ };
134
+ },
135
+ },
136
+ reviewFluxAnalysisViewSuccess(draft, action) {
137
+ const { expensesPayload, currency, isBulk } = action.payload;
138
+ let updatedFluxEntities = draft.fluxAnalysisEntities.operatingExpenses;
139
+ expensesPayload.forEach((opExPayload) => {
140
+ draft.reviewStatusById[opExPayload.flux_analysis_entity_id] = {
141
+ fetchState: 'Completed',
142
+ };
143
+ const fluxEntity = (0, exports.toFluxAnalysisOperatingEexpense)(opExPayload, currency);
144
+ updatedFluxEntities = updatedFluxEntities.filter((fluxEntity) => fluxEntity.operatingExpenseId !==
145
+ opExPayload.flux_analysis_entity_id);
146
+ updatedFluxEntities.push(fluxEntity);
147
+ });
148
+ draft.fluxAnalysisEntities = {
149
+ operatingExpenses: updatedFluxEntities,
150
+ };
151
+ draft.reviewOperatingExpensesIds = [];
152
+ if (isBulk === true) {
153
+ draft.bulkReviewStatus = {
154
+ fetchState: 'Completed',
155
+ };
156
+ }
157
+ },
158
+ reviewFluxAnalysisViewFailure(draft, action) {
159
+ const { operatingExpenseIds, status, isBulk } = action.payload;
160
+ operatingExpenseIds.forEach((id) => {
161
+ if (draft.reviewStatusById[id].fetchState === 'In-Progress') {
162
+ draft.reviewStatusById[id].fetchState = 'Error';
163
+ draft.reviewStatusById[id].error = status;
164
+ }
165
+ });
166
+ if (isBulk === true) {
167
+ draft.bulkReviewStatus = {
168
+ fetchState: 'Error',
169
+ error: status,
170
+ };
171
+ }
172
+ },
173
+ updateFluxAnalysisViewUIState(draft, action) {
174
+ if (action.payload.sortKey != null) {
175
+ draft.uiState.sortKey = action.payload.sortKey;
176
+ }
177
+ if (action.payload.sortOrder != null) {
178
+ draft.uiState.sortOrder = action.payload.sortOrder;
179
+ }
180
+ if (action.payload.searchString != null) {
181
+ draft.uiState.searchString = action.payload.searchString;
182
+ }
183
+ if (action.payload.scrollPosition != null) {
184
+ draft.uiState.scrollPosition = action.payload.scrollPosition;
185
+ }
186
+ },
187
+ clearExpenseAutomationFluxAnalysisView(draft) {
188
+ Object.assign(draft, exports.initialState);
189
+ },
190
+ },
191
+ });
192
+ const toFluxAnalysisiOperatingExpensesById = (operatingExpenses, currency) => {
193
+ const balancesByVendorKey = {};
194
+ operatingExpenses.forEach((operatingExpense) => {
195
+ const vendorFluxKey = operatingExpense.flux_analysis_entity_id;
196
+ balancesByVendorKey[vendorFluxKey] = (0, exports.toFluxAnalysisOperatingEexpense)(operatingExpense, currency);
197
+ });
198
+ return balancesByVendorKey;
199
+ };
200
+ exports.toFluxAnalysisiOperatingExpensesById = toFluxAnalysisiOperatingExpensesById;
201
+ const toFluxAnalysisOperatingEexpenses = (operatingExpensesPayload, currency) => {
202
+ const operatingExpenses = [];
203
+ operatingExpensesPayload.forEach((operatingExpensePayload) => {
204
+ operatingExpenses.push((0, exports.toFluxAnalysisOperatingEexpense)(operatingExpensePayload, currency));
205
+ });
206
+ return operatingExpenses;
207
+ };
208
+ exports.toFluxAnalysisOperatingEexpenses = toFluxAnalysisOperatingEexpenses;
209
+ const toFluxAnalysisOperatingEexpense = (operatingExpensePayload, currency) => {
210
+ var _a;
211
+ return {
212
+ operatingExpenseId: operatingExpensePayload.flux_analysis_entity_id,
213
+ vendorId: operatingExpensePayload.vendor_id,
214
+ accountId: operatingExpensePayload.account_id,
215
+ classId: operatingExpensePayload.accounting_class_id,
216
+ userId: (_a = operatingExpensePayload.reviewed_by_user_id) !== null && _a !== void 0 ? _a : undefined,
217
+ varianceAmount: operatingExpensePayload.variance_amount,
218
+ variancePercentage: operatingExpensePayload.variance_percentage,
219
+ currency: {
220
+ currencyCode: currency.currency_code,
221
+ currencySymbol: currency.currency_symbol,
222
+ },
223
+ anomalyReason: operatingExpensePayload.anomaly_reason,
224
+ status: (0, helpers_1.toVendorFluxAnalysisStatusFromPayload)(operatingExpensePayload.status),
225
+ balancesByMonth: (0, helpers_1.toBalancesByMonthFromPayload)(operatingExpensePayload.month_1, operatingExpensePayload.month_2, currency),
226
+ };
227
+ };
228
+ exports.toFluxAnalysisOperatingEexpense = toFluxAnalysisOperatingEexpense;
229
+ const toReviewStatusById = (operatingExpenses) => {
230
+ const reviewStatusById = {};
231
+ operatingExpenses.forEach((operatingExpense) => {
232
+ reviewStatusById[operatingExpense.flux_analysis_entity_id] = {
233
+ fetchState: 'Not-Started',
234
+ error: undefined,
235
+ };
236
+ });
237
+ return reviewStatusById;
238
+ };
239
+ exports.toReviewStatusById = toReviewStatusById;
240
+ _a = expenseAutomationFluxAnalysisView.actions, exports.fetchFluxAnalysisView = _a.fetchFluxAnalysisView, exports.fetchFluxAnalysisViewSuccess = _a.fetchFluxAnalysisViewSuccess, exports.fetchFluxAnalysisViewFailure = _a.fetchFluxAnalysisViewFailure, exports.clearExpenseAutomationFluxAnalysisView = _a.clearExpenseAutomationFluxAnalysisView, exports.updateOperatingExpensesIdsForReview = _a.updateOperatingExpensesIdsForReview, exports.reviewFluxAnalysisView = _a.reviewFluxAnalysisView, exports.reviewFluxAnalysisViewSuccess = _a.reviewFluxAnalysisViewSuccess, exports.reviewFluxAnalysisViewFailure = _a.reviewFluxAnalysisViewFailure, exports.updateFluxAnalysisViewUIState = _a.updateFluxAnalysisViewUIState, exports.updateFluxAnalysisViewPageMetaData = _a.updateFluxAnalysisViewPageMetaData;
241
+ exports.default = expenseAutomationFluxAnalysisView.reducer;
@@ -0,0 +1,53 @@
1
+ import { ID } from '../../../commonStateTypes/common';
2
+ import { JEScheduleLocalData, JESchedulesViewState } from '../types/jeSchedulesViewState';
3
+ import { TimePeriod, MonthYearPeriod } from '../../../commonStateTypes/timePeriod';
4
+ import { JEScheduleTransactionKey } from '../../../entity/jeSchedules/jeSchedulesTypes';
5
+ import { ZeniAPIStatus } from '../../../responsePayload';
6
+ import { JEScheduledTransactionPayload } from '../../../entity/jeSchedules/jeSchedulesPayload';
7
+ export declare const initialState: JESchedulesViewState;
8
+ export declare const clearExpenseAutomationJESchedulesView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, fetchJeSchedules: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[period: TimePeriod, refreshViewInBackground?: any], {
9
+ period: TimePeriod;
10
+ refreshViewInBackground: any;
11
+ }, string, never, never>, fetchJeSchedulesFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
12
+ selectedPeriod: MonthYearPeriod;
13
+ status: ZeniAPIStatus;
14
+ }, string>, fetchJeSchedulesSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
15
+ jeSchedules: JEScheduledTransactionPayload[];
16
+ failedJeSchedules: JEScheduledTransactionPayload[];
17
+ selectedPeriod: MonthYearPeriod;
18
+ }, string>, fetchJeSchedulesPage: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[period: TimePeriod, refreshViewInBackground?: any], {
19
+ period: TimePeriod;
20
+ refreshViewInBackground: any;
21
+ }, string, never, never>, ignoreRecommendedJeSchedule: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[jeScheduleTransactionKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`, scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue"], {
22
+ jeScheduleTransactionKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
23
+ scheduleType: "prepaid_expenses" | "fixed_assets" | "accrued_expenses" | "deferred_revenue";
24
+ }, string, never, never>, ignoreRecommendedJeScheduleFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
25
+ jeScheduleTransactionKey: JEScheduleTransactionKey;
26
+ status: ZeniAPIStatus;
27
+ }, string>, ignoreRecommendedJeScheduleSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[jeScheduleTransactionKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`], {
28
+ jeScheduleTransactionKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
29
+ }, string, never, never>, initializeJeScheduleLocalData: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[jeSchedules: JEScheduledTransactionPayload[]], {
30
+ jeScheduleTransactionKeys: (`${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`)[];
31
+ }, string, never, never>, removeJeScheduleTransactionKey: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[jeScheduleKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`, selectedPeriod: MonthYearPeriod], {
32
+ jeScheduleKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
33
+ selectedPeriod: MonthYearPeriod;
34
+ }, string, never, never>, removeFailedJeScheduleTransactionKey: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[failedJeScheduleKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`, selectedPeriod: MonthYearPeriod], {
35
+ failedJeScheduleKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
36
+ selectedPeriod: MonthYearPeriod;
37
+ }, string, never, never>, retryJeSchedule: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
38
+ scheduledJournalEntryID: ID;
39
+ jeScheduleTransactionKey: JEScheduleTransactionKey;
40
+ }, string>, retryJeScheduleFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
41
+ scheduledJournalEntryID: ID;
42
+ status: ZeniAPIStatus;
43
+ }, string>, retryJeScheduleSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
44
+ scheduledJournalEntryID: ID;
45
+ }, string>, updateJeScheduleLocalDataById: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
46
+ scheduledJournalEntryID: ID;
47
+ localData: Partial<JEScheduleLocalData>;
48
+ }, string>, updateJeScheduleTransactionKeys: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[jeScheduleKeys: (`${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`)[], selectedPeriod: MonthYearPeriod], {
49
+ jeScheduleKeys: (`${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`)[];
50
+ selectedPeriod: MonthYearPeriod;
51
+ }, string, never, never>;
52
+ declare const _default: import("@reduxjs/toolkit").Reducer<JESchedulesViewState, import("@reduxjs/toolkit").AnyAction>;
53
+ export default _default;