@zeniai/client-epic-state 4.13.11 → 4.13.12

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 (346) hide show
  1. package/lib/commonPayloadTypes/commonPayload.d.ts +0 -7
  2. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.d.ts +0 -0
  3. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.js +1 -0
  4. package/lib/commonStateTypes/common.d.ts +0 -2
  5. package/lib/commonStateTypes/common.js +1 -5
  6. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.d.ts +0 -1
  7. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.js +1 -2
  8. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.d.ts +0 -0
  9. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.js +1 -0
  10. package/lib/commonStateTypes/timePeriod.d.ts +0 -16
  11. package/lib/commonStateTypes/timePeriod.js +1 -31
  12. package/lib/commonStateTypes/viewAndReport/reportIDHelper.d.ts +0 -1
  13. package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +1 -3
  14. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
  15. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +0 -2
  16. package/lib/entity/account/accountPayload.d.ts +1 -1
  17. package/lib/entity/account/accountState.d.ts +1 -1
  18. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  19. package/lib/entity/chargeCard/chargeCard.d.ts +2 -16
  20. package/lib/entity/chargeCard/chargeCard.js +1 -18
  21. package/lib/entity/chargeCard/chargeCardPayload.d.ts +5 -14
  22. package/lib/entity/chargeCard/chargeCardPayload.js +7 -24
  23. package/lib/entity/class/classReducer.d.ts +4 -4
  24. package/lib/entity/class/classState.d.ts +1 -1
  25. package/lib/entity/company/companyPayload.d.ts +0 -4
  26. package/lib/entity/company/companyPayload.js +3 -6
  27. package/lib/entity/company/companyReducer.d.ts +1 -4
  28. package/lib/entity/company/companyReducer.js +2 -6
  29. package/lib/entity/company/companyStateTypes.d.ts +1 -5
  30. package/lib/entity/file/fileState.d.ts +3 -3
  31. package/lib/entity/file/fileState.js +0 -2
  32. package/lib/entity/forecast/forecastState.d.ts +1 -1
  33. package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +0 -1
  34. package/lib/entity/jeSchedules/jeSchedulesPayload.js +1 -7
  35. package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +2 -2
  36. package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +1 -3
  37. package/lib/entity/jeSchedules/jeSchedulesSelector.js +1 -2
  38. package/lib/entity/jeSchedules/jeSchedulesState.d.ts +1 -3
  39. package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +0 -2
  40. package/lib/entity/jeSchedules/jeSchedulesTypes.js +1 -12
  41. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  42. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  43. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  44. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  45. package/lib/entity/snackbar/snackbarTypes.js +0 -3
  46. package/lib/entity/tenant/clearAllEpic.d.ts +2 -14
  47. package/lib/entity/tenant/clearAllEpic.js +0 -24
  48. package/lib/entity/tenant/epic/fetchActiveTenantEpic.d.ts +1 -2
  49. package/lib/entity/tenant/epic/fetchActiveTenantEpic.js +1 -9
  50. package/lib/entity/tenant/epic/fetchAllTenantsEpic.d.ts +1 -7
  51. package/lib/entity/tenant/epic/fetchAllTenantsEpic.js +2 -34
  52. package/lib/entity/tenant/tenantPayload.d.ts +0 -1
  53. package/lib/entity/tenant/tenantReducer.js +0 -3
  54. package/lib/entity/tenant/tenantState.d.ts +0 -1
  55. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
  56. package/lib/entity/transaction/payloadTypes/attachmentPayload.d.ts +1 -1
  57. package/lib/entity/transaction/payloadTypes/attachmentPayload.js +3 -3
  58. package/lib/entity/transaction/stateTypes/transactionType.d.ts +2 -2
  59. package/lib/entity/transaction/transactionSelector.d.ts +0 -1
  60. package/lib/entity/transaction/transactionSelector.js +1 -7
  61. package/lib/entity/user/userPayload.d.ts +0 -1
  62. package/lib/entity/user/userReducer.js +8 -9
  63. package/lib/entity/user/userState.d.ts +0 -1
  64. package/lib/entity/vendor/__mocks__/vendorMock.js +2 -0
  65. package/lib/entity/vendor/__mocks__/vendorStateMocks.d.ts +0 -2
  66. package/lib/entity/vendor/__mocks__/vendorStateMocks.js +4 -107
  67. package/lib/entity/vendor/vendorPayload.d.ts +1 -6
  68. package/lib/entity/vendor/vendorPayload.js +5 -6
  69. package/lib/entity/vendor/vendorState.d.ts +3 -10
  70. package/lib/entity/vendor/vendorType.d.ts +2 -2
  71. package/lib/entity/vendor/vendorType.js +4 -4
  72. package/lib/entity/vendorExpense/vendorExpenseSelector.d.ts +2 -2
  73. package/lib/entity/vendorExpense/vendorExpenseSelector.js +0 -1
  74. package/lib/epic.d.ts +2 -19
  75. package/lib/epic.js +2 -19
  76. package/lib/index.d.ts +21 -65
  77. package/lib/index.js +28 -102
  78. package/lib/reducer.d.ts +1 -34
  79. package/lib/reducer.js +1 -34
  80. package/lib/view/accountMappingView/accountMappingPayload.js +32 -75
  81. package/lib/view/accountMappingView/accountMappingReducer.js +10 -36
  82. package/lib/view/accountMappingView/accountMappingState.d.ts +1 -1
  83. package/lib/view/accountMappingView/accountMappingViewSelector.d.ts +0 -5
  84. package/lib/view/accountMappingView/accountMappingViewSelector.js +1 -11
  85. package/lib/view/accountMappingView/initializeAccountMappingViewEpic.d.ts +1 -2
  86. package/lib/view/accountMappingView/initializeAccountMappingViewEpic.js +0 -2
  87. package/lib/view/accountMappingView/saveAccountMappingViewEpic.js +1 -6
  88. package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +1 -7
  89. package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +1 -7
  90. package/lib/view/addressView/addressViewState.d.ts +1 -1
  91. package/lib/view/addressView/toAddressViewLocalData.d.ts +0 -2
  92. package/lib/view/addressView/toAddressViewLocalData.js +3 -9
  93. package/lib/view/auditReportView/auditReportViewState.d.ts +2 -2
  94. package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
  95. package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -1
  96. package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.d.ts +1 -1
  97. package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.d.ts +1 -1
  98. package/lib/view/cardPayment/epic/createCardSetupIntentEpic.d.ts +1 -1
  99. package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.d.ts +1 -1
  100. package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
  101. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
  102. package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
  103. package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +1 -1
  104. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.d.ts +2 -2
  105. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.d.ts +5 -10
  106. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +7 -10
  107. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportTemplatesEpic.js +4 -4
  108. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js +4 -4
  109. package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.js +3 -5
  110. package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +3 -3
  111. package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +3 -3
  112. package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +6 -1
  113. package/lib/view/companyView/selectorHelpers/getCompanyView.js +0 -4
  114. package/lib/view/companyView/types/cockpitTypes.d.ts +2 -2
  115. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.d.ts +0 -2
  116. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.js +1 -7
  117. package/lib/view/companyView/types/companyView.d.ts +0 -1
  118. package/lib/view/dashboard/dashboardEpic.d.ts +1 -2
  119. package/lib/view/dashboard/dashboardEpic.js +2 -22
  120. package/lib/view/dashboard/dashboardReducer.d.ts +2 -3
  121. package/lib/view/dashboard/dashboardReducer.js +1 -2
  122. package/lib/view/dashboard/dashboardSelector.d.ts +0 -2
  123. package/lib/view/dashboard/dashboardSelector.js +2 -10
  124. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  125. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
  126. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.d.ts +1 -8
  127. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +1 -3
  128. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +4 -5
  129. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +0 -2
  130. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +3 -6
  131. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
  132. package/lib/view/people/deletePersonEpic.d.ts +1 -1
  133. package/lib/view/people/invitePeopleEpic.d.ts +1 -1
  134. package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
  135. package/lib/view/people/resendInviteEpic.d.ts +1 -1
  136. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
  137. package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +1 -1
  138. package/lib/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.d.ts +1 -1
  139. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +2 -3
  140. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +1 -1
  141. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +2 -2
  142. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +5 -19
  143. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +3 -8
  144. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +57 -39
  145. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +8 -13
  146. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +12 -19
  147. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +0 -1
  148. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +3 -4
  149. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.d.ts +0 -2
  150. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
  151. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
  152. package/lib/view/settingsView/epic/updateMyProfileEpic.js +4 -6
  153. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +4 -1
  154. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +0 -2
  155. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +0 -3
  156. package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +2 -2
  157. package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.d.ts +1 -2
  158. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.d.ts +1 -3
  159. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +2 -6
  160. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.d.ts +3 -2
  161. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.js +3 -3
  162. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingState.d.ts +3 -1
  163. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.d.ts +2 -1
  164. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.js +21 -1
  165. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/saveCardOnboardingUserDetailsEpic.js +3 -1
  166. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +0 -1
  167. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js +0 -4
  168. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.d.ts +1 -8
  169. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +2 -25
  170. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.d.ts +0 -1
  171. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +4 -8
  172. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +1 -2
  173. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +14 -1
  174. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +13 -2
  175. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.d.ts +6 -3
  176. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +17 -2
  177. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.d.ts +2 -8
  178. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +15 -55
  179. package/lib/view/spendManagement/chargeCards/{issueChargeCard → chargeCardList}/issueChargeCardEpic.d.ts +2 -3
  180. package/lib/view/spendManagement/chargeCards/{issueChargeCard → chargeCardList}/issueChargeCardEpic.js +18 -35
  181. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +1 -1
  182. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +6 -31
  183. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.d.ts +2 -2
  184. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +2 -5
  185. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +1 -4
  186. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +2 -6
  187. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +0 -1
  188. package/lib/view/spendManagement/commonSetup/types/businessVerification.d.ts +0 -4
  189. package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.js +2 -2
  190. package/lib/view/subscriptionView/types/subscriptionTypes.d.ts +1 -1
  191. package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
  192. package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
  193. package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
  194. package/lib/view/topEx/topExSelector.d.ts +1 -1
  195. package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.js +2 -2
  196. package/lib/view/transactionDetail/transactionDetailState.d.ts +2 -2
  197. package/lib/view/userListView/fetchUserListByTypeEpic.js +1 -4
  198. package/lib/view/vendorFiling1099/__mock__/json/vendorFiling1099ListSuccess.json +1 -4
  199. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListMock.js +3 -12
  200. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListSelectorMock.js +4 -2
  201. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.d.ts +1 -4
  202. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.d.ts +2 -2
  203. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.js +7 -7
  204. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector.js +10 -21
  205. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.d.ts +1 -1
  206. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.js +0 -1
  207. package/lib/view/vendorReviewView/common/state/commonTypes.d.ts +1 -1
  208. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +3 -34
  209. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.d.ts +1 -1
  210. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +2 -2
  211. package/lib/view/zeniAccStatementList/zeniAccStatementList.d.ts +5 -2
  212. package/package.json +1 -1
  213. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.d.ts +0 -32
  214. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js +0 -60
  215. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.d.ts +0 -12
  216. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +0 -25
  217. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksSelector.d.ts +0 -7
  218. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksSelector.js +0 -36
  219. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.d.ts +0 -38
  220. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.js +0 -10
  221. package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.d.ts +0 -11
  222. package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +0 -4607
  223. package/lib/view/countryList/countryListReducer.d.ts +0 -17
  224. package/lib/view/countryList/countryListReducer.js +0 -58
  225. package/lib/view/countryList/countryListSelector.d.ts +0 -7
  226. package/lib/view/countryList/countryListSelector.js +0 -13
  227. package/lib/view/countryList/countryListState.d.ts +0 -12
  228. package/lib/view/countryList/countryListState.js +0 -2
  229. package/lib/view/countryList/epics/fetchCountryListEpic.d.ts +0 -6
  230. package/lib/view/countryList/epics/fetchCountryListEpic.js +0 -19
  231. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.d.ts +0 -7
  232. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.js +0 -38
  233. package/lib/view/countryList/payloads/countryListPayload.d.ts +0 -6
  234. package/lib/view/countryList/payloads/countryListPayload.js +0 -10
  235. package/lib/view/countryList/payloads/nationalityCountryListPayload.d.ts +0 -11
  236. package/lib/view/countryList/payloads/nationalityCountryListPayload.js +0 -2
  237. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.d.ts +0 -10
  238. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +0 -72
  239. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.d.ts +0 -11
  240. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +0 -53
  241. package/lib/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.d.ts +0 -11
  242. package/lib/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.js +0 -66
  243. package/lib/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.d.ts +0 -7
  244. package/lib/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.js +0 -39
  245. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.d.ts +0 -7
  246. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.js +0 -22
  247. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.d.ts +0 -8
  248. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +0 -59
  249. package/lib/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.d.ts +0 -8
  250. package/lib/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.js +0 -78
  251. package/lib/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.d.ts +0 -6
  252. package/lib/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.js +0 -28
  253. package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.d.ts +0 -9
  254. package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.js +0 -78
  255. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.d.ts +0 -8
  256. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.js +0 -58
  257. package/lib/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.d.ts +0 -10
  258. package/lib/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.js +0 -12
  259. package/lib/view/expenseAutomationView/expenseAutomationViewPayload.d.ts +0 -3
  260. package/lib/view/expenseAutomationView/expenseAutomationViewPayload.js +0 -2
  261. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.d.ts +0 -17
  262. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +0 -66
  263. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.d.ts +0 -3
  264. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +0 -97
  265. package/lib/view/expenseAutomationView/expenseAutomationViewState.d.ts +0 -11
  266. package/lib/view/expenseAutomationView/expenseAutomationViewState.js +0 -14
  267. package/lib/view/expenseAutomationView/helpers/helpers.d.ts +0 -7
  268. package/lib/view/expenseAutomationView/helpers/helpers.js +0 -67
  269. package/lib/view/expenseAutomationView/payload/fluxAnalysisPayload.d.ts +0 -76
  270. package/lib/view/expenseAutomationView/payload/fluxAnalysisPayload.js +0 -9
  271. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.d.ts +0 -36
  272. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.js +0 -58
  273. package/lib/view/expenseAutomationView/payload/missingReceiptsPayload.d.ts +0 -16
  274. package/lib/view/expenseAutomationView/payload/missingReceiptsPayload.js +0 -2
  275. package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.d.ts +0 -34
  276. package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +0 -205
  277. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +0 -53
  278. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +0 -245
  279. package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.d.ts +0 -31
  280. package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +0 -130
  281. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.d.ts +0 -5
  282. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +0 -45
  283. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.d.ts +0 -34
  284. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.js +0 -44
  285. package/lib/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.d.ts +0 -32
  286. package/lib/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.js +0 -2
  287. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.d.ts +0 -28
  288. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.js +0 -2
  289. package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.d.ts +0 -11
  290. package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.js +0 -2
  291. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.d.ts +0 -3
  292. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.js +0 -55
  293. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.d.ts +0 -7
  294. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +0 -95
  295. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.d.ts +0 -3
  296. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.js +0 -61
  297. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +0 -53
  298. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.js +0 -5
  299. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.d.ts +0 -31
  300. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.js +0 -2
  301. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.d.ts +0 -20
  302. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.js +0 -13
  303. package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +0 -28
  304. package/lib/view/expenseAutomationView/types/transactionsViewState.js +0 -15
  305. package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.d.ts +0 -8
  306. package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.js +0 -58
  307. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.d.ts +0 -3
  308. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.js +0 -2
  309. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.d.ts +0 -16
  310. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +0 -36
  311. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.d.ts +0 -10
  312. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.js +0 -27
  313. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.d.ts +0 -5
  314. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.js +0 -2
  315. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.d.ts +0 -7
  316. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.js +0 -36
  317. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.d.ts +0 -6
  318. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.js +0 -42
  319. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.d.ts +0 -9
  320. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.js +0 -67
  321. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.d.ts +0 -26
  322. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.js +0 -22
  323. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.d.ts +0 -22
  324. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +0 -89
  325. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.d.ts +0 -15
  326. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.js +0 -30
  327. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.d.ts +0 -20
  328. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.js +0 -2
  329. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.d.ts +0 -11
  330. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.js +0 -42
  331. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.d.ts +0 -9
  332. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.js +0 -44
  333. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.d.ts +0 -15
  334. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +0 -65
  335. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.d.ts +0 -22
  336. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +0 -76
  337. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.d.ts +0 -28
  338. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.js +0 -23
  339. package/lib/view/vendor1099TypeList/vendor1099TypeListEpic.d.ts +0 -7
  340. package/lib/view/vendor1099TypeList/vendor1099TypeListEpic.js +0 -23
  341. package/lib/view/vendor1099TypeList/vendor1099TypeListPayload.d.ts +0 -15
  342. package/lib/view/vendor1099TypeList/vendor1099TypeListPayload.js +0 -2
  343. package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.d.ts +0 -7
  344. package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.js +0 -52
  345. package/lib/view/vendor1099TypeList/vendor1099TypeListState.d.ts +0 -9
  346. package/lib/view/vendor1099TypeList/vendor1099TypeListState.js +0 -2
@@ -1,36 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getMonthEndCloseChecksByTenantId = exports.getMonthEndCloseChecksByTenantIds = exports.getMonthEndCloseChecksForATenantForSelectedPeriod = exports.getAllMonthEndCloseChecksForATenant = void 0;
7
- const get_1 = __importDefault(require("lodash/get"));
8
- const timePeriod_1 = require("../../commonStateTypes/timePeriod");
9
- function getAllMonthEndCloseChecksForATenant(monthEndCloseChecksState, tenantId) {
10
- const allMonthEndCloseChecksForATenant = (0, get_1.default)(monthEndCloseChecksState.monthEndCloseChecksByTenantId, tenantId, undefined);
11
- if (allMonthEndCloseChecksForATenant != null) {
12
- return Object.values(allMonthEndCloseChecksForATenant);
13
- }
14
- return [];
15
- }
16
- exports.getAllMonthEndCloseChecksForATenant = getAllMonthEndCloseChecksForATenant;
17
- function getMonthEndCloseChecksForATenantForSelectedPeriod(monthEndCloseChecksState, tenantId, monthYearPeriod) {
18
- const monthYearPeriodId = (0, timePeriod_1.toMonthYearPeriodId)(monthYearPeriod);
19
- const allMonthEndCloseChecksForATenant = (0, get_1.default)(monthEndCloseChecksState.monthEndCloseChecksByTenantId, tenantId, undefined);
20
- if (allMonthEndCloseChecksForATenant != null) {
21
- return allMonthEndCloseChecksForATenant[monthYearPeriodId];
22
- }
23
- return undefined;
24
- }
25
- exports.getMonthEndCloseChecksForATenantForSelectedPeriod = getMonthEndCloseChecksForATenantForSelectedPeriod;
26
- function getMonthEndCloseChecksByTenantIds(monthEndCloseChecksState, tenantIds, monthEndCloseChecksId) {
27
- const monthEndCloseChecks = tenantIds
28
- .map((tenantId) => getMonthEndCloseChecksByTenantId(monthEndCloseChecksState, tenantId, monthEndCloseChecksId))
29
- .filter((value) => value != null);
30
- return monthEndCloseChecks;
31
- }
32
- exports.getMonthEndCloseChecksByTenantIds = getMonthEndCloseChecksByTenantIds;
33
- function getMonthEndCloseChecksByTenantId(monthEndCloseChecksState, tenantId, monthEndCloseChecksId) {
34
- return (0, get_1.default)((0, get_1.default)(monthEndCloseChecksState.monthEndCloseChecksByTenantId, tenantId, undefined), monthEndCloseChecksId, undefined);
35
- }
36
- exports.getMonthEndCloseChecksByTenantId = getMonthEndCloseChecksByTenantId;
@@ -1,38 +0,0 @@
1
- import { ID } from '../../commonStateTypes/common';
2
- import { MonthYearPeriod, MonthYearPeriodId } from '../../commonStateTypes/timePeriod';
3
- import { ExpenseAutomationViewType } from '../../view/expenseAutomationView/expenseAutomationViewState';
4
- import { ZeniDate } from '../../zeniDayJS';
5
- export declare const ALL_MONTH_END_CLOSE_CHECKS_FREQUENCY: readonly ["Weekly", "Monthly"];
6
- export declare const toMonthEndCloseCheckFrequency: (v?: string | undefined) => "Weekly" | "Monthly";
7
- export declare type MonthEndCloseCheckFrequency = NonNullable<ReturnType<typeof toMonthEndCloseCheckFrequency>>;
8
- export interface MonthEndCloseCheck {
9
- id: ExpenseAutomationViewType;
10
- title: string;
11
- description: string;
12
- progress: number;
13
- frequency: MonthEndCloseCheckFrequency;
14
- sequence: number;
15
- }
16
- export interface MonthEndInsights {
17
- transactionsAutoCategorized: number;
18
- vendorsWithFluctuations: number;
19
- savedHours: number;
20
- savedAmount: number;
21
- efficiencyPercentage: number;
22
- efficiency: number;
23
- }
24
- export interface MonthEndAuditSummary {
25
- auditScorePercentage: number;
26
- auditReportLastGeneratedDate: ZeniDate | null;
27
- }
28
- export interface MonthEndCloseChecksInfo {
29
- insights: MonthEndInsights;
30
- auditSummary: MonthEndAuditSummary;
31
- monthEndCloseCheckList: MonthEndCloseCheck[];
32
- id: MonthYearPeriodId;
33
- zeniBookCloseDate: ZeniDate;
34
- historicMonthYear: MonthYearPeriod[];
35
- }
36
- export interface MonthEndCloseChecksState {
37
- monthEndCloseChecksByTenantId: Record<ID, Record<MonthYearPeriodId, MonthEndCloseChecksInfo>>;
38
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toMonthEndCloseCheckFrequency = exports.ALL_MONTH_END_CLOSE_CHECKS_FREQUENCY = void 0;
4
- const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
- exports.ALL_MONTH_END_CLOSE_CHECKS_FREQUENCY = [
6
- 'Weekly',
7
- 'Monthly',
8
- ];
9
- const toMonthEndCloseCheckFrequency = (v) => (0, stringToUnion_1.stringToUnion)(v !== null && v !== void 0 ? v : '', exports.ALL_MONTH_END_CLOSE_CHECKS_FREQUENCY);
10
- exports.toMonthEndCloseCheckFrequency = toMonthEndCloseCheckFrequency;
@@ -1,11 +0,0 @@
1
- import { AccountState } from '../../../entity/account/accountState';
2
- import { AccountMappingState } from '../accountMappingState';
3
- import { AccountMappingView } from '../accountMappingViewSelector';
4
- declare const accountMappingState: AccountMappingState;
5
- declare const accountMappingViewMock: AccountMappingView;
6
- declare const accountStateForMapping: AccountState;
7
- declare const accountMappingStateRecommendationInProgress: AccountMappingState;
8
- declare const accountMappingStateAccountListInProgress: AccountMappingState;
9
- declare const accountMappingStateAccountListComplete: AccountMappingState;
10
- declare const accountMappingStateRecommendationComplete: AccountMappingState;
11
- export { accountMappingViewMock, accountMappingState, accountStateForMapping, accountMappingStateRecommendationInProgress, accountMappingStateAccountListInProgress, accountMappingStateRecommendationComplete, accountMappingStateAccountListComplete, };