@zeniai/client-epic-state 4.13.11 → 4.13.13

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 (318) 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/accountState.d.ts +1 -1
  17. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  18. package/lib/entity/chargeCard/chargeCard.d.ts +2 -16
  19. package/lib/entity/chargeCard/chargeCard.js +1 -18
  20. package/lib/entity/chargeCard/chargeCardPayload.d.ts +5 -14
  21. package/lib/entity/chargeCard/chargeCardPayload.js +7 -24
  22. package/lib/entity/class/classReducer.d.ts +4 -4
  23. package/lib/entity/class/classState.d.ts +1 -1
  24. package/lib/entity/company/companyPayload.d.ts +0 -4
  25. package/lib/entity/company/companyPayload.js +3 -6
  26. package/lib/entity/company/companyReducer.d.ts +1 -4
  27. package/lib/entity/company/companyReducer.js +2 -6
  28. package/lib/entity/company/companyStateTypes.d.ts +1 -5
  29. package/lib/entity/file/fileState.d.ts +3 -3
  30. package/lib/entity/file/fileState.js +0 -2
  31. package/lib/entity/forecast/forecastState.d.ts +1 -1
  32. package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +0 -1
  33. package/lib/entity/jeSchedules/jeSchedulesPayload.js +1 -7
  34. package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +2 -2
  35. package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +1 -3
  36. package/lib/entity/jeSchedules/jeSchedulesSelector.js +1 -2
  37. package/lib/entity/jeSchedules/jeSchedulesState.d.ts +1 -3
  38. package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +0 -2
  39. package/lib/entity/jeSchedules/jeSchedulesTypes.js +1 -12
  40. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  41. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  42. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  43. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  44. package/lib/entity/snackbar/snackbarTypes.js +0 -3
  45. package/lib/entity/tenant/clearAllEpic.d.ts +2 -12
  46. package/lib/entity/tenant/clearAllEpic.js +0 -20
  47. package/lib/entity/tenant/epic/fetchActiveTenantEpic.d.ts +1 -2
  48. package/lib/entity/tenant/epic/fetchActiveTenantEpic.js +1 -9
  49. package/lib/entity/tenant/epic/fetchAllTenantsEpic.d.ts +1 -7
  50. package/lib/entity/tenant/epic/fetchAllTenantsEpic.js +2 -34
  51. package/lib/entity/tenant/tenantPayload.d.ts +0 -1
  52. package/lib/entity/tenant/tenantReducer.js +0 -3
  53. package/lib/entity/tenant/tenantState.d.ts +0 -1
  54. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
  55. package/lib/entity/transaction/payloadTypes/attachmentPayload.d.ts +1 -1
  56. package/lib/entity/transaction/payloadTypes/attachmentPayload.js +3 -3
  57. package/lib/entity/transaction/stateTypes/transactionType.d.ts +2 -2
  58. package/lib/entity/transaction/transactionSelector.d.ts +0 -1
  59. package/lib/entity/transaction/transactionSelector.js +1 -7
  60. package/lib/entity/user/userPayload.d.ts +0 -1
  61. package/lib/entity/user/userReducer.js +8 -9
  62. package/lib/entity/user/userState.d.ts +0 -1
  63. package/lib/entity/vendor/__mocks__/vendorStateMocks.d.ts +0 -1
  64. package/lib/entity/vendor/__mocks__/vendorStateMocks.js +1 -35
  65. package/lib/entity/vendor/vendorPayload.js +2 -3
  66. package/lib/entity/vendor/vendorState.d.ts +3 -3
  67. package/lib/entity/vendor/vendorType.d.ts +2 -0
  68. package/lib/entity/vendor/vendorType.js +4 -1
  69. package/lib/entity/vendorExpense/vendorExpenseSelector.d.ts +2 -2
  70. package/lib/entity/vendorExpense/vendorExpenseSelector.js +0 -1
  71. package/lib/epic.d.ts +2 -18
  72. package/lib/epic.js +2 -18
  73. package/lib/index.d.ts +21 -65
  74. package/lib/index.js +28 -102
  75. package/lib/reducer.d.ts +1 -31
  76. package/lib/reducer.js +1 -31
  77. package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +1 -7
  78. package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +1 -7
  79. package/lib/view/addressView/addressViewState.d.ts +1 -1
  80. package/lib/view/addressView/toAddressViewLocalData.d.ts +0 -2
  81. package/lib/view/addressView/toAddressViewLocalData.js +3 -9
  82. package/lib/view/auditReportView/auditReportViewState.d.ts +2 -2
  83. package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
  84. package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -1
  85. package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.d.ts +1 -1
  86. package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.d.ts +1 -1
  87. package/lib/view/cardPayment/epic/createCardSetupIntentEpic.d.ts +1 -1
  88. package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.d.ts +1 -1
  89. package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
  90. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
  91. package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
  92. package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +1 -1
  93. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.d.ts +2 -2
  94. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.d.ts +5 -10
  95. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +7 -10
  96. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportTemplatesEpic.js +4 -4
  97. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js +4 -4
  98. package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.js +3 -5
  99. package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +3 -3
  100. package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +3 -3
  101. package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +6 -1
  102. package/lib/view/companyView/selectorHelpers/getCompanyView.js +0 -4
  103. package/lib/view/companyView/types/cockpitTypes.d.ts +2 -2
  104. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.d.ts +0 -2
  105. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.js +1 -7
  106. package/lib/view/companyView/types/companyView.d.ts +0 -1
  107. package/lib/view/dashboard/dashboardEpic.d.ts +1 -2
  108. package/lib/view/dashboard/dashboardEpic.js +2 -22
  109. package/lib/view/dashboard/dashboardReducer.d.ts +2 -3
  110. package/lib/view/dashboard/dashboardReducer.js +1 -2
  111. package/lib/view/dashboard/dashboardSelector.d.ts +0 -2
  112. package/lib/view/dashboard/dashboardSelector.js +2 -10
  113. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  114. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
  115. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.d.ts +1 -8
  116. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +1 -3
  117. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +4 -5
  118. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +0 -2
  119. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +3 -6
  120. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
  121. package/lib/view/people/deletePersonEpic.d.ts +1 -1
  122. package/lib/view/people/invitePeopleEpic.d.ts +1 -1
  123. package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
  124. package/lib/view/people/resendInviteEpic.d.ts +1 -1
  125. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
  126. package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +1 -1
  127. package/lib/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.d.ts +1 -1
  128. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +2 -3
  129. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +1 -1
  130. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +2 -2
  131. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +5 -19
  132. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +3 -8
  133. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +57 -39
  134. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +8 -13
  135. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +12 -19
  136. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +0 -1
  137. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +3 -4
  138. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.d.ts +0 -2
  139. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
  140. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
  141. package/lib/view/settingsView/epic/updateMyProfileEpic.js +4 -6
  142. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +4 -1
  143. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +0 -2
  144. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +0 -3
  145. package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +2 -2
  146. package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.d.ts +1 -2
  147. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.d.ts +1 -3
  148. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +2 -6
  149. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.d.ts +3 -2
  150. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.js +3 -3
  151. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingState.d.ts +3 -1
  152. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.d.ts +2 -1
  153. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.js +21 -1
  154. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/saveCardOnboardingUserDetailsEpic.js +3 -1
  155. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +0 -1
  156. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js +0 -4
  157. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.d.ts +1 -8
  158. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +2 -25
  159. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.d.ts +0 -1
  160. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +4 -8
  161. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +1 -2
  162. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +14 -1
  163. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +13 -2
  164. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.d.ts +6 -3
  165. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +17 -2
  166. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.d.ts +2 -8
  167. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +15 -55
  168. package/lib/view/spendManagement/chargeCards/{issueChargeCard → chargeCardList}/issueChargeCardEpic.d.ts +2 -3
  169. package/lib/view/spendManagement/chargeCards/{issueChargeCard → chargeCardList}/issueChargeCardEpic.js +18 -35
  170. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +1 -1
  171. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +6 -31
  172. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.d.ts +2 -2
  173. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +2 -5
  174. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +1 -4
  175. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +2 -6
  176. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +0 -1
  177. package/lib/view/spendManagement/commonSetup/types/businessVerification.d.ts +0 -4
  178. package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.js +2 -2
  179. package/lib/view/subscriptionView/types/subscriptionTypes.d.ts +1 -1
  180. package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
  181. package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
  182. package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
  183. package/lib/view/topEx/topExSelector.d.ts +1 -1
  184. package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.js +2 -2
  185. package/lib/view/transactionDetail/transactionDetailState.d.ts +2 -2
  186. package/lib/view/userListView/fetchUserListByTypeEpic.js +1 -4
  187. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListMock.js +1 -1
  188. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListSelectorMock.js +1 -1
  189. package/lib/view/vendorReviewView/common/state/commonTypes.d.ts +1 -1
  190. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +3 -34
  191. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.d.ts +1 -1
  192. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +2 -2
  193. package/lib/view/zeniAccStatementList/zeniAccStatementList.d.ts +5 -2
  194. package/package.json +1 -1
  195. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.d.ts +0 -32
  196. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js +0 -60
  197. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.d.ts +0 -12
  198. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +0 -25
  199. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksSelector.d.ts +0 -7
  200. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksSelector.js +0 -36
  201. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.d.ts +0 -38
  202. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.js +0 -10
  203. package/lib/view/countryList/countryListReducer.d.ts +0 -17
  204. package/lib/view/countryList/countryListReducer.js +0 -58
  205. package/lib/view/countryList/countryListSelector.d.ts +0 -7
  206. package/lib/view/countryList/countryListSelector.js +0 -13
  207. package/lib/view/countryList/countryListState.d.ts +0 -12
  208. package/lib/view/countryList/countryListState.js +0 -2
  209. package/lib/view/countryList/epics/fetchCountryListEpic.d.ts +0 -6
  210. package/lib/view/countryList/epics/fetchCountryListEpic.js +0 -19
  211. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.d.ts +0 -7
  212. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.js +0 -38
  213. package/lib/view/countryList/payloads/countryListPayload.d.ts +0 -6
  214. package/lib/view/countryList/payloads/countryListPayload.js +0 -10
  215. package/lib/view/countryList/payloads/nationalityCountryListPayload.d.ts +0 -11
  216. package/lib/view/countryList/payloads/nationalityCountryListPayload.js +0 -2
  217. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.d.ts +0 -10
  218. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +0 -72
  219. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.d.ts +0 -11
  220. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +0 -53
  221. package/lib/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.d.ts +0 -11
  222. package/lib/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.js +0 -66
  223. package/lib/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.d.ts +0 -7
  224. package/lib/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.js +0 -39
  225. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.d.ts +0 -7
  226. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.js +0 -22
  227. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.d.ts +0 -8
  228. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +0 -59
  229. package/lib/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.d.ts +0 -8
  230. package/lib/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.js +0 -78
  231. package/lib/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.d.ts +0 -6
  232. package/lib/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.js +0 -28
  233. package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.d.ts +0 -9
  234. package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.js +0 -78
  235. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.d.ts +0 -8
  236. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.js +0 -58
  237. package/lib/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.d.ts +0 -10
  238. package/lib/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.js +0 -12
  239. package/lib/view/expenseAutomationView/expenseAutomationViewPayload.d.ts +0 -3
  240. package/lib/view/expenseAutomationView/expenseAutomationViewPayload.js +0 -2
  241. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.d.ts +0 -17
  242. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +0 -66
  243. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.d.ts +0 -3
  244. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +0 -97
  245. package/lib/view/expenseAutomationView/expenseAutomationViewState.d.ts +0 -11
  246. package/lib/view/expenseAutomationView/expenseAutomationViewState.js +0 -14
  247. package/lib/view/expenseAutomationView/helpers/helpers.d.ts +0 -7
  248. package/lib/view/expenseAutomationView/helpers/helpers.js +0 -67
  249. package/lib/view/expenseAutomationView/payload/fluxAnalysisPayload.d.ts +0 -76
  250. package/lib/view/expenseAutomationView/payload/fluxAnalysisPayload.js +0 -9
  251. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.d.ts +0 -36
  252. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.js +0 -58
  253. package/lib/view/expenseAutomationView/payload/missingReceiptsPayload.d.ts +0 -16
  254. package/lib/view/expenseAutomationView/payload/missingReceiptsPayload.js +0 -2
  255. package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.d.ts +0 -34
  256. package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +0 -205
  257. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +0 -53
  258. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +0 -245
  259. package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.d.ts +0 -31
  260. package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +0 -130
  261. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.d.ts +0 -5
  262. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +0 -45
  263. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.d.ts +0 -34
  264. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.js +0 -44
  265. package/lib/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.d.ts +0 -32
  266. package/lib/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.js +0 -2
  267. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.d.ts +0 -28
  268. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.js +0 -2
  269. package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.d.ts +0 -11
  270. package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.js +0 -2
  271. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.d.ts +0 -3
  272. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.js +0 -55
  273. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.d.ts +0 -7
  274. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +0 -95
  275. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.d.ts +0 -3
  276. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.js +0 -61
  277. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +0 -53
  278. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.js +0 -5
  279. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.d.ts +0 -31
  280. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.js +0 -2
  281. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.d.ts +0 -20
  282. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.js +0 -13
  283. package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +0 -28
  284. package/lib/view/expenseAutomationView/types/transactionsViewState.js +0 -15
  285. package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.d.ts +0 -8
  286. package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.js +0 -58
  287. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.d.ts +0 -3
  288. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.js +0 -2
  289. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.d.ts +0 -16
  290. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +0 -36
  291. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.d.ts +0 -10
  292. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.js +0 -27
  293. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.d.ts +0 -5
  294. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.js +0 -2
  295. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.d.ts +0 -7
  296. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.js +0 -36
  297. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.d.ts +0 -6
  298. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.js +0 -42
  299. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.d.ts +0 -9
  300. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.js +0 -67
  301. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.d.ts +0 -26
  302. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.js +0 -22
  303. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.d.ts +0 -22
  304. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +0 -89
  305. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.d.ts +0 -15
  306. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.js +0 -30
  307. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.d.ts +0 -20
  308. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.js +0 -2
  309. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.d.ts +0 -11
  310. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.js +0 -42
  311. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.d.ts +0 -9
  312. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.js +0 -44
  313. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.d.ts +0 -15
  314. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +0 -65
  315. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.d.ts +0 -22
  316. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +0 -76
  317. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.d.ts +0 -28
  318. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.js +0 -23
@@ -8,5 +8,5 @@ export interface SectionClassesView {
8
8
  nestedClassesIds: NestedClassIDHierarchy[];
9
9
  balancesByPeriod?: COABalanceGroupedByPeriod;
10
10
  }
11
- export declare function getSectionClassesViewKey(sectionId: ID, reportId: ReportID): `${string}-cash_balance` | `${string}-card_balance` | `${string}-expense_automation_card` | `${string}-operating_expenses` | `${string}-operating_expenses_by_classes` | `${string}-revenue` | `${string}-revenue_by_classes` | `${string}-net_burn_or_income` | `${string}-net_burn_or_income_story_card` | `${string}-net_burn_or_income_by_classes` | `${string}-cash_position` | `${string}-top_expenses` | `${string}-profit_and_loss` | `${string}-profit_and_loss_by_classes` | `${string}-balance_sheet` | `${string}-cash_flow` | `${string}-dashboard` | `${string}-finance_statement` | `${string}-transaction_list_of_account` | `${string}-transaction_list_missing_receipt` | `${string}-transaction_list_of_account_by_class` | `${string}-transaction_detail` | `${string}-cash_in_cash_out` | `${string}-insights_dashboard` | `${string}-company_details` | `${string}-class_list` | `${string}-account_list` | `${string}-account_list_by_type` | `${string}-vendor` | `${string}-task_card` | `${string}-bill_pay` | `${string}-reimbursement` | `${string}-bill_pay_card` | `${string}-reimbursement_card` | `${string}-bill_pay_promo_card` | `${string}-zeni_accounts` | `${string}-zeni_accounts_promo_card` | `${string}-charge_cards` | `${string}-reimbursement_promo_card` | `${string}-onboarding` | `${string}-operating_expenses_by_vendor` | `${string}-operating_expenses_by_vendor_summary` | `${string}-vendors_tab` | `${string}-accounts_payable_aging` | `${string}-accounts_receivable_aging` | `${string}-vendor_global_review` | `${string}-prepaid_expenses` | `${string}-fixed_assets` | `${string}-notification` | `${string}-rewards_card` | `${string}-billing` | `${string}-flux_analysis_operating_expense`;
11
+ export declare function getSectionClassesViewKey(sectionId: ID, reportId: ReportID): `${string}-cash_balance` | `${string}-card_balance` | `${string}-operating_expenses` | `${string}-operating_expenses_by_classes` | `${string}-revenue` | `${string}-revenue_by_classes` | `${string}-net_burn_or_income` | `${string}-net_burn_or_income_story_card` | `${string}-net_burn_or_income_by_classes` | `${string}-cash_position` | `${string}-top_expenses` | `${string}-profit_and_loss` | `${string}-profit_and_loss_by_classes` | `${string}-balance_sheet` | `${string}-cash_flow` | `${string}-dashboard` | `${string}-finance_statement` | `${string}-transaction_list_of_account` | `${string}-transaction_list_missing_receipt` | `${string}-transaction_list_of_account_by_class` | `${string}-transaction_detail` | `${string}-cash_in_cash_out` | `${string}-insights_dashboard` | `${string}-company_details` | `${string}-class_list` | `${string}-account_list` | `${string}-account_list_by_type` | `${string}-vendor` | `${string}-task_card` | `${string}-bill_pay` | `${string}-reimbursement` | `${string}-bill_pay_card` | `${string}-reimbursement_card` | `${string}-bill_pay_promo_card` | `${string}-zeni_accounts` | `${string}-zeni_accounts_promo_card` | `${string}-charge_cards` | `${string}-reimbursement_promo_card` | `${string}-onboarding` | `${string}-operating_expenses_by_vendor` | `${string}-operating_expenses_by_vendor_summary` | `${string}-vendors_tab` | `${string}-accounts_payable_aging` | `${string}-accounts_receivable_aging` | `${string}-vendor_global_review` | `${string}-prepaid_expenses` | `${string}-fixed_assets` | `${string}-notification` | `${string}-rewards_card` | `${string}-billing`;
12
12
  export declare type SectionClassesKey = ReturnType<typeof getSectionClassesViewKey>;
@@ -4,9 +4,9 @@ import { SectionClassesViewStateV2 } from './sectionClassesViewState';
4
4
  import { CurrencyPayload } from '../../commonPayloadTypes/v2/viewAndReportPayloadv2';
5
5
  import { SectionByClassCOABalanceGroupedPayloadV2 } from '../../commonPayloadTypes/classesView/reportByClassPayloadV2';
6
6
  export declare const initialState: SectionClassesViewStateV2;
7
- export declare const updateSectionClassesView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[timeframe: "month" | "year" | "quarter", sectionId: string, reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense", sectionPayload: SectionByClassCOABalanceGroupedPayloadV2, classesMetadataPayload: ClassMetadataPayload[], accountsMetadataPayload: AccountMetadataPayload[], currencyPayload: CurrencyPayload], {
7
+ export declare const updateSectionClassesView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[timeframe: "month" | "year" | "quarter", sectionId: string, reportId: "cash_balance" | "card_balance" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing", sectionPayload: SectionByClassCOABalanceGroupedPayloadV2, classesMetadataPayload: ClassMetadataPayload[], accountsMetadataPayload: AccountMetadataPayload[], currencyPayload: CurrencyPayload], {
8
8
  timeframe: "month" | "year" | "quarter";
9
- reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense";
9
+ reportId: "cash_balance" | "card_balance" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing";
10
10
  sectionId: string;
11
11
  sectionPayload: SectionByClassCOABalanceGroupedPayloadV2;
12
12
  classesMetadataPayload: ClassMetadataPayload[];
@@ -1,4 +1,4 @@
1
- export declare const toSnackbarMessageSection: (v: string) => "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "missing_receipts_attachment";
1
+ export declare const toSnackbarMessageSection: (v: string) => "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation";
2
2
  export declare type SnackbarMessageSections = ReturnType<typeof toSnackbarMessageSection>;
3
3
  export declare const toSnackbarMessageSectionTexts: (v: string) => "failed" | "success" | "notification";
4
4
  export declare type SnackbarMessageSectionTexts = ReturnType<typeof toSnackbarMessageSectionTexts>;
@@ -10,7 +10,6 @@ const ALL_SNACKBAR_MESSAGE_SECTIONS = [
10
10
  'cockpit_month_end_email_save',
11
11
  'cockpit_month_end_email_attachment_upload',
12
12
  'je_bill_link',
13
- 'je_posted',
14
13
  'audit_score_updated',
15
14
  'people_invite_people',
16
15
  'people_invite_multiple_people',
@@ -100,7 +99,6 @@ const ALL_SNACKBAR_MESSAGE_SECTIONS = [
100
99
  'create_schedule',
101
100
  'save_schedule',
102
101
  'delete_schedule',
103
- 'ignore_schedule',
104
102
  'save_task_detail',
105
103
  'fetch_task_detail',
106
104
  'delete_task',
@@ -133,7 +131,6 @@ const ALL_SNACKBAR_MESSAGE_SECTIONS = [
133
131
  'task_group_update_success',
134
132
  'primary_funding_account_updated',
135
133
  'task_time_spent_validation',
136
- 'missing_receipts_attachment',
137
134
  ];
138
135
  const toSnackbarMessageSection = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_SNACKBAR_MESSAGE_SECTIONS);
139
136
  exports.toSnackbarMessageSection = toSnackbarMessageSection;
@@ -166,20 +166,10 @@ import { clearBillPayBulkActionView } from '../../view/spendManagement/billPay/b
166
166
  import { clearVendorsFiling1099List } from '../../view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer';
167
167
  import { clearCardUserOnboarding } from '../../view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer';
168
168
  import { clearRemiBulkActionView } from '../../view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer';
169
- import { clearCountryList } from '../../view/countryList/countryListReducer';
170
- import { clearInternationalVerificationView } from '../../view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer';
171
- import { clearIssueChargeCard } from '../../view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer';
172
- import { clearAllMonthEndCloseChecks } from '../../entity/monthEndCloseChecks/monthEndCloseChecksReducer';
173
- import { clearAllMonthEndCloseChecksView } from '../../view/monthEndCloseChecksView/monthEndCloseChecksViewReducer';
174
- import { clearExpenseAutomationView } from '../../view/expenseAutomationView/expenseAutomationViewReducer';
175
- import { clearExpenseAutomationMissingReceiptsView } from '../../view/expenseAutomationView/reducers/missingReceiptsViewReducer';
176
- import { clearExpenseAutomationJESchedulesView } from '../../view/expenseAutomationView/reducers/jeSchedulesViewReducer';
177
- import { clearExpenseAutomationTransactionsView } from '../../view/expenseAutomationView/reducers/transactionsViewReducer';
178
- import { clearExpenseAutomationFluxAnalysisView } from '../../view/expenseAutomationView/reducers/fluxAnalysisViewReducer';
179
169
  import { clearVendorTypeList } from '../../view/vendorTypeList/vendorTypeListReducer';
180
170
  import { clearVendor1099TypeList } from '../../view/vendor1099TypeList/vendor1099TypeListReducer';
181
- declare type clearActionTypeForViews = ReturnType<typeof clearAccountList> | ReturnType<typeof clearAccountMappingView> | ReturnType<typeof clearActivityHistory> | ReturnType<typeof clearActivityRealTimeApproval> | ReturnType<typeof clearAddressView> | ReturnType<typeof clearAllClasses> | ReturnType<typeof clearAllMonthEndCloseChecksView> | ReturnType<typeof clearApAging> | ReturnType<typeof clearApAgingDetail> | ReturnType<typeof clearArAging> | ReturnType<typeof clearArAgingDetail> | ReturnType<typeof clearAuthenticationView> | ReturnType<typeof clearBalanceSheet> | ReturnType<typeof clearBankAccountView> | ReturnType<typeof clearBillDetailView> | ReturnType<typeof clearBillList> | ReturnType<typeof clearBillPayBulkActionView> | ReturnType<typeof clearBillPayCard> | ReturnType<typeof clearBillPayConfig> | ReturnType<typeof clearBillPayReview> | ReturnType<typeof clearBillPaySetupApproverView> | ReturnType<typeof clearBillPaySetupView> | ReturnType<typeof clearCardBalance> | ReturnType<typeof clearCardPaymentView> | ReturnType<typeof clearCardUserOnboarding> | ReturnType<typeof clearCashbackDetail> | ReturnType<typeof clearCashBalance> | ReturnType<typeof clearCashFlow> | ReturnType<typeof clearCashInCashOut> | ReturnType<typeof clearCashPosition> | ReturnType<typeof clearChargeCardConfig> | ReturnType<typeof clearChargeCardDetail> | ReturnType<typeof clearChargeCardList> | ReturnType<typeof clearChargeCardSetupView> | ReturnType<typeof clearChargeCardStatementList> | ReturnType<typeof clearCheckDeposit> | ReturnType<typeof clearCompanyConfigView> | ReturnType<typeof clearCompanyHealthMetric> | ReturnType<typeof clearCompanyHealthMetricView> | ReturnType<typeof clearCompanyMonthEndReportView> | ReturnType<typeof clearCompanyTaskManagerView> | ReturnType<typeof clearCompanyView> | ReturnType<typeof clearCountryList> | ReturnType<typeof clearDashboard> | ReturnType<typeof clearDepositAccountDetail> | ReturnType<typeof clearDepositAccountList> | ReturnType<typeof clearDepositAccountTransactionList> | ReturnType<typeof clearEditBillViewDetail> | ReturnType<typeof clearEditRemiViewDetail> | ReturnType<typeof clearEntityAutoCompleteResults> | ReturnType<typeof clearExpenseAutomationFluxAnalysisView> | ReturnType<typeof clearExpenseAutomationJESchedulesView> | ReturnType<typeof clearExpenseAutomationMissingReceiptsView> | ReturnType<typeof clearExpenseAutomationTransactionsView> | ReturnType<typeof clearExpenseAutomationView> | ReturnType<typeof clearFileViewList> | ReturnType<typeof clearFinanceStatement> | ReturnType<typeof clearForecastList> | ReturnType<typeof clearGlobalMerchantView> | ReturnType<typeof clearInsightsCard> | ReturnType<typeof clearInternationalWire> | ReturnType<typeof clearInternationalVerificationView> | ReturnType<typeof clearIssueChargeCard> | ReturnType<typeof clearMerchantList> | ReturnType<typeof clearNetBurnOrIncome> | ReturnType<typeof clearNetBurnOrIncomeClassesView> | ReturnType<typeof clearNetBurnOrIncomeStoryCard> | ReturnType<typeof clearNotificationView> | ReturnType<typeof clearOnboardingCockpitView> | ReturnType<typeof clearOnboardingCustomerView> | ReturnType<typeof clearOpEx> | ReturnType<typeof clearOpExByVendor> | ReturnType<typeof clearOpExClassesView> | ReturnType<typeof clearOwnerList> | ReturnType<typeof clearPaymentAccountList> | ReturnType<typeof clearPeople> | ReturnType<typeof clearPreviousBills> | ReturnType<typeof clearProfitAndLoss> | ReturnType<typeof clearProfitAndLossClassesView> | ReturnType<typeof clearRecommendation> | ReturnType<typeof clearReferrals> | ReturnType<typeof clearReimbursementCard> | ReturnType<typeof clearReimbursementConfig> | ReturnType<typeof clearRemiBulkActionView> | ReturnType<typeof clearRemiDetailView> | ReturnType<typeof clearRemiList> | ReturnType<typeof clearRemiSetupApproverView> | ReturnType<typeof clearRemiSetupView> | ReturnType<typeof clearReportUIOption> | ReturnType<typeof clearRevenue> | ReturnType<typeof clearRevenueClassesView> | ReturnType<typeof clearReviewCompany> | ReturnType<typeof clearScheduleDetailView> | ReturnType<typeof clearScheduleAccruedDetailView> | ReturnType<typeof clearScheduleList> | ReturnType<typeof clearSettingsView> | ReturnType<typeof clearSetupView> | ReturnType<typeof clearPlaidAccountView> | ReturnType<typeof clearSubscriptionView> | ReturnType<typeof clearTagView> | ReturnType<typeof clearTaskDetail> | ReturnType<typeof clearTaskGroupView> | ReturnType<typeof clearTaskList> | ReturnType<typeof clearTasksCard> | ReturnType<typeof clearTopEx> | ReturnType<typeof clearTransactionDetail> | ReturnType<typeof clearTransactionList> | ReturnType<typeof clearTransferDetail> | ReturnType<typeof clearTrendData> | ReturnType<typeof clearTrendWithTransactions> | ReturnType<typeof clearTwoFactorAuthentication> | ReturnType<typeof clearUserFinancialAccount> | ReturnType<typeof clearUserListView> | ReturnType<typeof clearUserRoleConfigView> | ReturnType<typeof clearVendorGlobalReviewView> | ReturnType<typeof clearVendor1099TypeList> | ReturnType<typeof clearVendorTypeList> | ReturnType<typeof clearVendorView> | ReturnType<typeof clearVendorsFiling1099List> | ReturnType<typeof clearVendorsList> | ReturnType<typeof clearVendorsTabVendorView> | ReturnType<typeof clearWiseRedirectStatus> | ReturnType<typeof clearZeniAccStatementList> | ReturnType<typeof clearZeniAccountList> | ReturnType<typeof clearZeniAccountSetupView> | ReturnType<typeof clearZeniAccountsConfig> | ReturnType<typeof clearZeniAccountsPromoCard>;
182
- declare type clearActionTypeForEntities = ReturnType<typeof clearAllAccountGroups> | ReturnType<typeof clearAllAccountingSummary> | ReturnType<typeof clearAllAccounts> | ReturnType<typeof clearAllAddresses> | ReturnType<typeof clearAllApprovalRules> | ReturnType<typeof clearAllBankAccounts> | ReturnType<typeof clearAllBillTransactions> | ReturnType<typeof clearAllCardPayments> | ReturnType<typeof clearAllChargeCardTransactions> | ReturnType<typeof clearAllChargeCards> | ReturnType<typeof clearAllCompanies> | ReturnType<typeof clearAllCurrencies> | ReturnType<typeof clearAllCustomerIncomeTrend> | ReturnType<typeof clearAllCustomers> | ReturnType<typeof clearAllDepositAccounts> | ReturnType<typeof clearAllEntities> | ReturnType<typeof clearAllEntityApprovalStatus> | ReturnType<typeof clearAllFiles> | ReturnType<typeof clearAllForecasts> | ReturnType<typeof clearAllGlobalMerchants> | ReturnType<typeof clearAllInsights> | ReturnType<typeof clearAllAccruedJESchedules> | ReturnType<typeof clearAllJEScheduleTransactions> | ReturnType<typeof clearAllMerchants> | ReturnType<typeof clearAllMonthEndCloseChecks> | ReturnType<typeof clearAllNotifications> | ReturnType<typeof clearAllOnboardingCustomersInfo> | ReturnType<typeof clearAllPaymentAccounts> | ReturnType<typeof clearAllPaymentInstruments> | ReturnType<typeof clearAllRecurringBills> | ReturnType<typeof clearAllReimbursements> | ReturnType<typeof clearAllSectionsAccountsView> | ReturnType<typeof clearAllSectionsClassesViewV2> | ReturnType<typeof clearAllSubscriptionAddOns> | ReturnType<typeof clearAllSubscriptionCoupons> | ReturnType<typeof clearAllSubscriptionPlans> | ReturnType<typeof clearAllSubscriptionSummary> | ReturnType<typeof clearAllSubscriptions> | ReturnType<typeof clearAllTags> | ReturnType<typeof clearAllTaskGroups> | ReturnType<typeof clearAllTaskSummary> | ReturnType<typeof clearAllTasks> | ReturnType<typeof clearAllToastNotifications> | ReturnType<typeof clearAllTransactions> | ReturnType<typeof clearAllUserRoles> | ReturnType<typeof clearAllUsers> | ReturnType<typeof clearAllVendorExpenseTrends> | ReturnType<typeof clearAllVendors> | ReturnType<typeof clearClassList> | ReturnType<typeof clearContacts> | ReturnType<typeof clearDepositAccountTransaction> | ReturnType<typeof clearSnackbar>;
171
+ declare type clearActionTypeForViews = ReturnType<typeof clearAccountList> | ReturnType<typeof clearAccountMappingView> | ReturnType<typeof clearActivityHistory> | ReturnType<typeof clearActivityRealTimeApproval> | ReturnType<typeof clearAddressView> | ReturnType<typeof clearAllClasses> | ReturnType<typeof clearApAging> | ReturnType<typeof clearApAgingDetail> | ReturnType<typeof clearArAging> | ReturnType<typeof clearArAgingDetail> | ReturnType<typeof clearAuthenticationView> | ReturnType<typeof clearBalanceSheet> | ReturnType<typeof clearBankAccountView> | ReturnType<typeof clearBillDetailView> | ReturnType<typeof clearBillList> | ReturnType<typeof clearBillPayBulkActionView> | ReturnType<typeof clearBillPayCard> | ReturnType<typeof clearBillPayConfig> | ReturnType<typeof clearBillPayReview> | ReturnType<typeof clearBillPaySetupApproverView> | ReturnType<typeof clearBillPaySetupView> | ReturnType<typeof clearCardBalance> | ReturnType<typeof clearCardPaymentView> | ReturnType<typeof clearCardUserOnboarding> | ReturnType<typeof clearCashbackDetail> | ReturnType<typeof clearCashBalance> | ReturnType<typeof clearCashFlow> | ReturnType<typeof clearCashInCashOut> | ReturnType<typeof clearCashPosition> | ReturnType<typeof clearChargeCardConfig> | ReturnType<typeof clearChargeCardDetail> | ReturnType<typeof clearChargeCardList> | ReturnType<typeof clearChargeCardSetupView> | ReturnType<typeof clearChargeCardStatementList> | ReturnType<typeof clearCheckDeposit> | ReturnType<typeof clearCompanyConfigView> | ReturnType<typeof clearCompanyHealthMetric> | ReturnType<typeof clearCompanyHealthMetricView> | ReturnType<typeof clearCompanyMonthEndReportView> | ReturnType<typeof clearCompanyTaskManagerView> | ReturnType<typeof clearCompanyView> | ReturnType<typeof clearDashboard> | ReturnType<typeof clearDepositAccountDetail> | ReturnType<typeof clearDepositAccountList> | ReturnType<typeof clearDepositAccountTransactionList> | ReturnType<typeof clearEditBillViewDetail> | ReturnType<typeof clearEditRemiViewDetail> | ReturnType<typeof clearEntityAutoCompleteResults> | ReturnType<typeof clearFileViewList> | ReturnType<typeof clearFinanceStatement> | ReturnType<typeof clearForecastList> | ReturnType<typeof clearGlobalMerchantView> | ReturnType<typeof clearInsightsCard> | ReturnType<typeof clearInternationalWire> | ReturnType<typeof clearMerchantList> | ReturnType<typeof clearNetBurnOrIncome> | ReturnType<typeof clearNetBurnOrIncomeClassesView> | ReturnType<typeof clearNetBurnOrIncomeStoryCard> | ReturnType<typeof clearNotificationView> | ReturnType<typeof clearOnboardingCockpitView> | ReturnType<typeof clearOnboardingCustomerView> | ReturnType<typeof clearOpEx> | ReturnType<typeof clearOpExByVendor> | ReturnType<typeof clearOpExClassesView> | ReturnType<typeof clearOwnerList> | ReturnType<typeof clearPaymentAccountList> | ReturnType<typeof clearPeople> | ReturnType<typeof clearPreviousBills> | ReturnType<typeof clearProfitAndLoss> | ReturnType<typeof clearProfitAndLossClassesView> | ReturnType<typeof clearRecommendation> | ReturnType<typeof clearReferrals> | ReturnType<typeof clearReimbursementCard> | ReturnType<typeof clearReimbursementConfig> | ReturnType<typeof clearRemiBulkActionView> | ReturnType<typeof clearRemiDetailView> | ReturnType<typeof clearRemiList> | ReturnType<typeof clearRemiSetupApproverView> | ReturnType<typeof clearRemiSetupView> | ReturnType<typeof clearReportUIOption> | ReturnType<typeof clearRevenue> | ReturnType<typeof clearRevenueClassesView> | ReturnType<typeof clearReviewCompany> | ReturnType<typeof clearScheduleDetailView> | ReturnType<typeof clearScheduleAccruedDetailView> | ReturnType<typeof clearScheduleList> | ReturnType<typeof clearSettingsView> | ReturnType<typeof clearSetupView> | ReturnType<typeof clearPlaidAccountView> | ReturnType<typeof clearSubscriptionView> | ReturnType<typeof clearTagView> | ReturnType<typeof clearTaskDetail> | ReturnType<typeof clearTaskGroupView> | ReturnType<typeof clearTaskList> | ReturnType<typeof clearTasksCard> | ReturnType<typeof clearTopEx> | ReturnType<typeof clearTransactionDetail> | ReturnType<typeof clearTransactionList> | ReturnType<typeof clearTransferDetail> | ReturnType<typeof clearTrendData> | ReturnType<typeof clearTrendWithTransactions> | ReturnType<typeof clearTwoFactorAuthentication> | ReturnType<typeof clearUserFinancialAccount> | ReturnType<typeof clearUserListView> | ReturnType<typeof clearUserRoleConfigView> | ReturnType<typeof clearVendorGlobalReviewView> | ReturnType<typeof clearVendor1099TypeList> | ReturnType<typeof clearVendorTypeList> | ReturnType<typeof clearVendorView> | ReturnType<typeof clearVendorsFiling1099List> | ReturnType<typeof clearVendorsList> | ReturnType<typeof clearVendorsTabVendorView> | ReturnType<typeof clearWiseRedirectStatus> | ReturnType<typeof clearZeniAccStatementList> | ReturnType<typeof clearZeniAccountList> | ReturnType<typeof clearZeniAccountSetupView> | ReturnType<typeof clearZeniAccountsConfig> | ReturnType<typeof clearZeniAccountsPromoCard>;
172
+ declare type clearActionTypeForEntities = ReturnType<typeof clearAllAccountGroups> | ReturnType<typeof clearAllAccountingSummary> | ReturnType<typeof clearAllAccounts> | ReturnType<typeof clearAllAddresses> | ReturnType<typeof clearAllApprovalRules> | ReturnType<typeof clearAllBankAccounts> | ReturnType<typeof clearAllBillTransactions> | ReturnType<typeof clearAllCardPayments> | ReturnType<typeof clearAllChargeCardTransactions> | ReturnType<typeof clearAllChargeCards> | ReturnType<typeof clearAllCompanies> | ReturnType<typeof clearAllCurrencies> | ReturnType<typeof clearAllCustomerIncomeTrend> | ReturnType<typeof clearAllCustomers> | ReturnType<typeof clearAllDepositAccounts> | ReturnType<typeof clearAllEntities> | ReturnType<typeof clearAllEntityApprovalStatus> | ReturnType<typeof clearAllFiles> | ReturnType<typeof clearAllForecasts> | ReturnType<typeof clearAllGlobalMerchants> | ReturnType<typeof clearAllInsights> | ReturnType<typeof clearAllAccruedJESchedules> | ReturnType<typeof clearAllJEScheduleTransactions> | ReturnType<typeof clearAllMerchants> | ReturnType<typeof clearAllNotifications> | ReturnType<typeof clearAllOnboardingCustomersInfo> | ReturnType<typeof clearAllPaymentAccounts> | ReturnType<typeof clearAllPaymentInstruments> | ReturnType<typeof clearAllRecurringBills> | ReturnType<typeof clearAllReimbursements> | ReturnType<typeof clearAllSectionsAccountsView> | ReturnType<typeof clearAllSectionsClassesViewV2> | ReturnType<typeof clearAllSubscriptionAddOns> | ReturnType<typeof clearAllSubscriptionCoupons> | ReturnType<typeof clearAllSubscriptionPlans> | ReturnType<typeof clearAllSubscriptionSummary> | ReturnType<typeof clearAllSubscriptions> | ReturnType<typeof clearAllTags> | ReturnType<typeof clearAllTaskGroups> | ReturnType<typeof clearAllTaskSummary> | ReturnType<typeof clearAllTasks> | ReturnType<typeof clearAllToastNotifications> | ReturnType<typeof clearAllTransactions> | ReturnType<typeof clearAllUserRoles> | ReturnType<typeof clearAllUsers> | ReturnType<typeof clearAllVendorExpenseTrends> | ReturnType<typeof clearAllVendors> | ReturnType<typeof clearClassList> | ReturnType<typeof clearContacts> | ReturnType<typeof clearDepositAccountTransaction> | ReturnType<typeof clearSnackbar>;
183
173
  export declare type ActionType = clearActionTypeForViews | clearActionTypeForEntities | ReturnType<typeof clearAll>;
184
174
  export declare const clearAllEpic: (actions$: ActionsObservable<ActionType>) => import("rxjs").Observable<ActionType>;
185
175
  export {};
@@ -172,16 +172,6 @@ const billsBulkActionViewReducer_1 = require("../../view/spendManagement/billPay
172
172
  const vendorFiling1099ListReducer_1 = require("../../view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer");
173
173
  const cardUserOnboardingReducer_1 = require("../../view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer");
174
174
  const remisBulkActionViewReducer_1 = require("../../view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer");
175
- const countryListReducer_1 = require("../../view/countryList/countryListReducer");
176
- const internationalWireVerificationReducer_1 = require("../../view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer");
177
- const issueChargeCardReducer_1 = require("../../view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer");
178
- const monthEndCloseChecksReducer_1 = require("../../entity/monthEndCloseChecks/monthEndCloseChecksReducer");
179
- const monthEndCloseChecksViewReducer_1 = require("../../view/monthEndCloseChecksView/monthEndCloseChecksViewReducer");
180
- const expenseAutomationViewReducer_1 = require("../../view/expenseAutomationView/expenseAutomationViewReducer");
181
- const missingReceiptsViewReducer_1 = require("../../view/expenseAutomationView/reducers/missingReceiptsViewReducer");
182
- const jeSchedulesViewReducer_1 = require("../../view/expenseAutomationView/reducers/jeSchedulesViewReducer");
183
- const transactionsViewReducer_1 = require("../../view/expenseAutomationView/reducers/transactionsViewReducer");
184
- const fluxAnalysisViewReducer_1 = require("../../view/expenseAutomationView/reducers/fluxAnalysisViewReducer");
185
175
  const vendorTypeListReducer_1 = require("../../view/vendorTypeList/vendorTypeListReducer");
186
176
  const vendor1099TypeListReducer_1 = require("../../view/vendor1099TypeList/vendor1099TypeListReducer");
187
177
  const clearAllEpic = (actions$) => actions$.pipe((0, operators_1.filter)(tenantReducer_1.clearAll.match), (0, operators_1.mergeMap)((action) => {
@@ -194,7 +184,6 @@ const clearAllEpic = (actions$) => actions$.pipe((0, operators_1.filter)(tenantR
194
184
  (0, realTimeApprovalReducer_1.clearActivityRealTimeApproval)(),
195
185
  (0, addressViewReducer_1.clearAddressView)(),
196
186
  (0, classReducer_1.clearAllClasses)(),
197
- (0, monthEndCloseChecksViewReducer_1.clearAllMonthEndCloseChecksView)(),
198
187
  (0, apAgingReducer_1.clearApAging)(),
199
188
  (0, apAgingDetailReducer_1.clearApAgingDetail)(),
200
189
  (0, arAgingReducer_1.clearArAging)(),
@@ -230,7 +219,6 @@ const clearAllEpic = (actions$) => actions$.pipe((0, operators_1.filter)(tenantR
230
219
  (0, companyMonthEndReportViewReducer_1.clearCompanyMonthEndReportView)(),
231
220
  (0, companyTaskManagerViewReducer_1.clearCompanyTaskManagerView)(),
232
221
  (0, companyViewReducer_1.clearCompanyView)(),
233
- (0, countryListReducer_1.clearCountryList)(),
234
222
  (0, dashboardReducer_1.clearDashboard)(),
235
223
  (0, depositAccountDetailReducer_1.clearDepositAccountDetail)(),
236
224
  (0, depositAccountListReducer_1.clearDepositAccountList)(),
@@ -238,11 +226,6 @@ const clearAllEpic = (actions$) => actions$.pipe((0, operators_1.filter)(tenantR
238
226
  (0, editBillViewReducer_1.clearEditBillViewDetail)(),
239
227
  (0, editRemiViewReducer_1.clearEditRemiViewDetail)(),
240
228
  (0, entityAutoCompleteReducer_1.clearEntityAutoCompleteResults)(),
241
- (0, fluxAnalysisViewReducer_1.clearExpenseAutomationFluxAnalysisView)(),
242
- (0, jeSchedulesViewReducer_1.clearExpenseAutomationJESchedulesView)(),
243
- (0, missingReceiptsViewReducer_1.clearExpenseAutomationMissingReceiptsView)(),
244
- (0, transactionsViewReducer_1.clearExpenseAutomationTransactionsView)(),
245
- (0, expenseAutomationViewReducer_1.clearExpenseAutomationView)(),
246
229
  (0, fileViewReducer_1.clearFileViewList)(),
247
230
  (0, financeStatementReducer_1.clearFinanceStatement)(),
248
231
  (0, forecastListReducer_1.clearForecastList)(),
@@ -250,8 +233,6 @@ const clearAllEpic = (actions$) => actions$.pipe((0, operators_1.filter)(tenantR
250
233
  (0, globalMerchantViewReducer_1.clearGlobalMerchantView)(),
251
234
  (0, insightsCardReducer_1.clearInsightsCard)(),
252
235
  (0, internationalWireReducer_1.clearInternationalWire)(),
253
- (0, internationalWireVerificationReducer_1.clearInternationalVerificationView)(),
254
- (0, issueChargeCardReducer_1.clearIssueChargeCard)(),
255
236
  (0, merchantListReducer_1.clearMerchantList)(),
256
237
  (0, netBurnOrIncomeReducer_1.clearNetBurnOrIncome)(),
257
238
  (0, netBurnOrIncomeClassesViewReducer_1.clearNetBurnOrIncomeClassesView)(),
@@ -344,7 +325,6 @@ const clearAllEpic = (actions$) => actions$.pipe((0, operators_1.filter)(tenantR
344
325
  (0, insightReducer_1.clearAllInsights)(),
345
326
  (0, jeSchedulesReducer_1.clearAllJEScheduleTransactions)(),
346
327
  (0, merchantReducer_1.clearAllMerchants)(),
347
- (0, monthEndCloseChecksReducer_1.clearAllMonthEndCloseChecks)(),
348
328
  (0, notificationReducer_1.clearAllNotifications)(),
349
329
  (0, onboardingCustomerReducer_1.clearAllOnboardingCustomersInfo)(),
350
330
  (0, paymentAccountReducer_1.clearAllPaymentAccounts)(),
@@ -4,6 +4,5 @@ import { updateTenantFailure, updateTenantSuccess, fetchActiveTenant } from '../
4
4
  import { updateCompanies } from '../../company/companyReducer';
5
5
  import { ZeniAPI } from '../../../zeniAPI';
6
6
  import { RootState } from '../../../reducer';
7
- import { initializeSelectedPeriodForTenants } from '../../../view/expenseAutomationView/expenseAutomationViewReducer';
8
- export declare type ActionType = ReturnType<typeof fetchActiveTenant> | ReturnType<typeof updateTenantSuccess> | ReturnType<typeof updateCompanies> | ReturnType<typeof initializeSelectedPeriodForTenants> | ReturnType<typeof updateTenantFailure>;
7
+ export declare type ActionType = ReturnType<typeof fetchActiveTenant> | ReturnType<typeof updateTenantSuccess> | ReturnType<typeof updateCompanies> | ReturnType<typeof updateTenantFailure>;
9
8
  export declare const fetchActiveTenantEpic: (actions$: ActionsObservable<ActionType>, _: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
@@ -6,8 +6,6 @@ const operators_1 = require("rxjs/operators");
6
6
  const tenantReducer_1 = require("../tenantReducer");
7
7
  const companyReducer_1 = require("../../company/companyReducer");
8
8
  const responsePayload_1 = require("../../../responsePayload");
9
- const fetchAllTenantsEpic_1 = require("./fetchAllTenantsEpic");
10
- const expenseAutomationViewReducer_1 = require("../../../view/expenseAutomationView/expenseAutomationViewReducer");
11
9
  const fetchActiveTenantEpic = (actions$, _, zeniAPI) => actions$.pipe((0, operators_1.filter)(tenantReducer_1.fetchActiveTenant.match), (0, operators_1.switchMap)((action) => {
12
10
  const { userId, tenantId, zeniSessionId } = action.payload;
13
11
  const headers = {
@@ -21,13 +19,7 @@ const fetchActiveTenantEpic = (actions$, _, zeniAPI) => actions$.pipe((0, operat
21
19
  .getJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/users/${action.payload.userId}/tenants`, headers)
22
20
  .pipe((0, operators_1.mergeMap)((response) => {
23
21
  if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
24
- const defaultSelectedPeriodsForTenants = (0, fetchAllTenantsEpic_1.getDefaultSelectedPeriodsForTenants)(response.data);
25
- let actions = [
26
- (0, tenantReducer_1.updateTenantSuccess)(response.data),
27
- (0, expenseAutomationViewReducer_1.initializeSelectedPeriodForTenants)({
28
- selectedPeriodByTenantId: defaultSelectedPeriodsForTenants,
29
- }),
30
- ];
22
+ let actions = [(0, tenantReducer_1.updateTenantSuccess)(response.data)];
31
23
  if (response.data.companies != null) {
32
24
  actions = [
33
25
  (0, companyReducer_1.updateCompanies)({
@@ -1,14 +1,8 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { ActionsObservable, StateObservable } from 'redux-observable';
3
3
  import { fetchAllTenants, updateTenantsSuccess, updateTenantsFailure } from '../tenantReducer';
4
- import { TenantsData } from '../tenantPayload';
5
4
  import { ZeniAPI } from '../../../zeniAPI';
6
5
  import { RootState } from '../../../reducer';
7
6
  import { updateCompanies } from '../../company/companyReducer';
8
- import { initializeSelectedPeriodForTenants } from '../../../view/expenseAutomationView/expenseAutomationViewReducer';
9
- import { MonthYearPeriod } from '../../../commonStateTypes/timePeriod';
10
- import { ID } from '../../../commonStateTypes/common';
11
- export declare type ActionType = ReturnType<typeof fetchAllTenants> | ReturnType<typeof updateCompanies> | ReturnType<typeof updateTenantsSuccess> | ReturnType<typeof initializeSelectedPeriodForTenants> | ReturnType<typeof updateTenantsFailure>;
7
+ export declare type ActionType = ReturnType<typeof fetchAllTenants> | ReturnType<typeof updateCompanies> | ReturnType<typeof updateTenantsSuccess> | ReturnType<typeof updateTenantsFailure>;
12
8
  export declare const fetchAllTenantsEpic: (actions$: ActionsObservable<ActionType>, state: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
13
- export declare const getDefaultSelectedPeriodsForTenants: (tenantsData: TenantsData) => Record<ID, MonthYearPeriod>;
14
- export declare const getMonthYearPeriodFromBookCloseDate: (zeniBookCloseDate?: import("dayjs").Dayjs | undefined) => MonthYearPeriod;
@@ -1,14 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getMonthYearPeriodFromBookCloseDate = exports.getDefaultSelectedPeriodsForTenants = exports.fetchAllTenantsEpic = void 0;
3
+ exports.fetchAllTenantsEpic = void 0;
4
4
  const rxjs_1 = require("rxjs");
5
5
  const operators_1 = require("rxjs/operators");
6
6
  const tenantReducer_1 = require("../tenantReducer");
7
7
  const responsePayload_1 = require("../../../responsePayload");
8
8
  const companyReducer_1 = require("../../company/companyReducer");
9
- const expenseAutomationViewReducer_1 = require("../../../view/expenseAutomationView/expenseAutomationViewReducer");
10
- const zeniDayJS_1 = require("../../../zeniDayJS");
11
- const timePeriod_1 = require("../../../commonStateTypes/timePeriod");
12
9
  const fetchAllTenantsEpic = (actions$, state, zeniAPI) => actions$.pipe((0, operators_1.filter)(tenantReducer_1.fetchAllTenants.match), (0, operators_1.switchMap)((action) => zeniAPI
13
10
  .getJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/users/${action.payload.userId}/tenants`, Object.assign({ 'zeni-user-id': action.payload.userId }, { 'zeni-tenant-id': '' }, action.payload.zeniSessionId != null
14
11
  ? { 'zeni-session-id': action.payload.zeniSessionId }
@@ -16,13 +13,7 @@ const fetchAllTenantsEpic = (actions$, state, zeniAPI) => actions$.pipe((0, oper
16
13
  .pipe((0, operators_1.mergeMap)((response) => {
17
14
  const currentTenantId = state.value.tenantState.currentTenantId;
18
15
  if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
19
- const defaultSelectedPeriodsForTenants = (0, exports.getDefaultSelectedPeriodsForTenants)(response.data);
20
- let actions = [
21
- (0, tenantReducer_1.updateTenantsSuccess)(response.data),
22
- (0, expenseAutomationViewReducer_1.initializeSelectedPeriodForTenants)({
23
- selectedPeriodByTenantId: defaultSelectedPeriodsForTenants,
24
- }),
25
- ];
16
+ let actions = [(0, tenantReducer_1.updateTenantsSuccess)(response.data)];
26
17
  if (response.data.companies != null) {
27
18
  let companiesPayload = response.data.companies;
28
19
  if (currentTenantId != null) {
@@ -52,26 +43,3 @@ const fetchAllTenantsEpic = (actions$, state, zeniAPI) => actions$.pipe((0, oper
52
43
  }), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, tenantReducer_1.updateTenantsFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected error', 'Fetch All Tenants REST API call errored out' +
53
44
  JSON.stringify(error))))))));
54
45
  exports.fetchAllTenantsEpic = fetchAllTenantsEpic;
55
- const defaultMonthYearPeriod = {
56
- month: (0, timePeriod_1.toMonth)((0, zeniDayJS_1.dateNow)().get('month') + 1),
57
- year: (0, zeniDayJS_1.dateNow)().get('year'),
58
- };
59
- const getDefaultSelectedPeriodsForTenants = (tenantsData) => {
60
- const defaultSelectedPeriodsForTenants = tenantsData.tenants.reduce((prev, currentTenant) => {
61
- const monthYearPeriod = currentTenant.zeni_book_close_date != null
62
- ? (0, exports.getMonthYearPeriodFromBookCloseDate)((0, zeniDayJS_1.date)(currentTenant.zeni_book_close_date))
63
- : defaultMonthYearPeriod;
64
- return Object.assign(Object.assign({}, prev), { [currentTenant.tenant_id]: monthYearPeriod });
65
- }, {});
66
- return defaultSelectedPeriodsForTenants;
67
- };
68
- exports.getDefaultSelectedPeriodsForTenants = getDefaultSelectedPeriodsForTenants;
69
- const getMonthYearPeriodFromBookCloseDate = (zeniBookCloseDate) => {
70
- return zeniBookCloseDate != null
71
- ? {
72
- month: (0, timePeriod_1.toMonth)(zeniBookCloseDate.add(1, 'month').get('month') + 1),
73
- year: zeniBookCloseDate.add(1, 'month').get('year'),
74
- }
75
- : defaultMonthYearPeriod;
76
- };
77
- exports.getMonthYearPeriodFromBookCloseDate = getMonthYearPeriodFromBookCloseDate;
@@ -75,7 +75,6 @@ interface TenantPayload {
75
75
  manager_user_id: string | null;
76
76
  accounting_class_ids: string[];
77
77
  reimbursement_info?: UserReimbursementInfoDataPayload;
78
- zeni_book_close_date?: string;
79
78
  }
80
79
  interface LoggedInUserPayload {
81
80
  user_id: ID;
@@ -400,9 +400,6 @@ function mapTenantPayloadToTenant(payload, userTenantPayload) {
400
400
  rewardsLastViewedTime: (userTenantPayload === null || userTenantPayload === void 0 ? void 0 : userTenantPayload.rewards_feature_last_viewed_time) != null
401
401
  ? (0, zeniDayJS_1.date)(userTenantPayload.rewards_feature_last_viewed_time)
402
402
  : undefined,
403
- zeniBookCloseDate: payload.zeni_book_close_date != null
404
- ? (0, zeniDayJS_1.date)(payload.zeni_book_close_date)
405
- : undefined,
406
403
  };
407
404
  return tenant;
408
405
  }
@@ -70,7 +70,6 @@ export interface Tenant {
70
70
  bookCloseDate?: ZeniDate;
71
71
  userReimbursementInfo?: UserReimbursementInfo;
72
72
  rewardsLastViewedTime?: ZeniDate;
73
- zeniBookCloseDate?: ZeniDate;
74
73
  }
75
74
  export interface LoggedInUser {
76
75
  userId: ID;
@@ -5,7 +5,7 @@ import { openSnackbar } from '../../../entity/snackbar/snackbarReducer';
5
5
  export declare type ActionType = ReturnType<typeof pushToastNotification> | ReturnType<typeof openSnackbar>;
6
6
  export declare const pushToastNotificationEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => import("rxjs").Observable<{
7
7
  payload: {
8
- messageSection: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "missing_receipts_attachment";
8
+ messageSection: "bill_pay_setup" | "reimbursement_setup" | "charge_card_setup" | "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "create_schedule" | "save_schedule" | "delete_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "create_tag" | "delete_tag" | "update_charge_card" | "issue_charge_card" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation";
9
9
  messageText: "failed" | "success" | "notification";
10
10
  type: import("../../..").SnackbarMessageType;
11
11
  showStatusIcon?: boolean | undefined;
@@ -12,4 +12,4 @@ export interface AttachmentPayload {
12
12
  file_id?: string;
13
13
  }
14
14
  export declare const toAttachment: (payload: AttachmentPayload) => Attachment;
15
- export declare const mapFileToAttachment: (payload: FilePayload) => Attachment;
15
+ export declare const mapFiletoAttachment: (payload: FilePayload) => Attachment;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.mapFileToAttachment = exports.toAttachment = void 0;
3
+ exports.mapFiletoAttachment = exports.toAttachment = void 0;
4
4
  const zeniDayJS_1 = require("../../../zeniDayJS");
5
5
  const zeniUrl_1 = require("../../../zeniUrl");
6
6
  const attachment_1 = require("../stateTypes/attachment");
@@ -19,7 +19,7 @@ const toAttachment = (payload) => {
19
19
  });
20
20
  };
21
21
  exports.toAttachment = toAttachment;
22
- const mapFileToAttachment = (payload) => {
22
+ const mapFiletoAttachment = (payload) => {
23
23
  var _a;
24
24
  return ({
25
25
  id: payload.file_id,
@@ -32,4 +32,4 @@ const mapFileToAttachment = (payload) => {
32
32
  fileId: payload.file_id,
33
33
  });
34
34
  };
35
- exports.mapFileToAttachment = mapFileToAttachment;
35
+ exports.mapFiletoAttachment = mapFiletoAttachment;
@@ -1,7 +1,7 @@
1
1
  export declare const toTypeOfTransaction: (v: string) => "schedule" | "supported";
2
2
  export declare type TypeOfTransactionType = ReturnType<typeof toTypeOfTransaction>;
3
- declare const toCustomerTransactionType: (v: string) => "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge" | "refund";
4
- export declare const toCustomerTransactionTypeStrict: (v?: string | undefined) => "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge" | "refund" | undefined;
3
+ declare const toCustomerTransactionType: (v: string) => "refund" | "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge";
4
+ export declare const toCustomerTransactionTypeStrict: (v?: string | undefined) => "refund" | "invoice" | "payment" | "credit_memo" | "sales_receipt" | "delayed_credit" | "delayed_charge" | undefined;
5
5
  export declare type CustomerTransactionType = ReturnType<typeof toCustomerTransactionType>;
6
6
  declare const toVendorTransactionType: (v: string) => "expense" | "check" | "bill" | "bill_payment" | "bill_payment_check" | "bill_payment_credit_card" | "vendor_credit" | "credit_card_credit";
7
7
  export declare const toVendorTransactionTypeStrict: (v?: string | undefined) => "expense" | "check" | "bill" | "bill_payment" | "bill_payment_check" | "bill_payment_credit_card" | "vendor_credit" | "credit_card_credit" | undefined;
@@ -4,4 +4,3 @@ import { ScheduleTransaction } from './stateTypes/scheduleTransaction';
4
4
  import { SupportedTransaction, TransactionState } from './transactionState';
5
5
  export declare function getScheduleTransactionById(transactionState: TransactionState, transactionId: TransactionDetailKey): ScheduleTransaction | undefined;
6
6
  export declare function getSupportedTransactionById(transactionState: TransactionState, transactionId: ID): SupportedTransaction | undefined;
7
- export declare function getSupportedTransactionsByIds(transactionState: TransactionState, transactionIds: ID[]): SupportedTransaction[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getSupportedTransactionsByIds = exports.getSupportedTransactionById = exports.getScheduleTransactionById = void 0;
3
+ exports.getSupportedTransactionById = exports.getScheduleTransactionById = void 0;
4
4
  function getScheduleTransactionById(transactionState, transactionId) {
5
5
  const transaction = transactionState.scheduleTransactionById[transactionId];
6
6
  return transaction;
@@ -14,12 +14,6 @@ function getSupportedTransactionById(transactionState, transactionId) {
14
14
  return undefined;
15
15
  }
16
16
  exports.getSupportedTransactionById = getSupportedTransactionById;
17
- function getSupportedTransactionsByIds(transactionState, transactionIds) {
18
- return transactionIds
19
- .map((transactionId) => getSupportedTransactionById(transactionState, transactionId))
20
- .filter((transaction) => transaction != null);
21
- }
22
- exports.getSupportedTransactionsByIds = getSupportedTransactionsByIds;
23
17
  function isSupportedTransaction(transaction) {
24
18
  return (transaction.typeOfTransaction === 'supported');
25
19
  }
@@ -7,7 +7,6 @@ export interface UserPayload extends UserBasePayload {
7
7
  email: string;
8
8
  middle_name?: string | null;
9
9
  birthday?: string | null;
10
- nationality_country_code?: string | null;
11
10
  country_code?: string | null;
12
11
  phone?: string | null;
13
12
  ssn?: string | null;
@@ -50,7 +50,7 @@ exports.default = user.reducer;
50
50
  * Helper functions.
51
51
  */
52
52
  function mapUserPayloadToUser(payload) {
53
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
53
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
54
54
  return {
55
55
  userId: payload.user_id,
56
56
  email: payload.email,
@@ -59,9 +59,8 @@ function mapUserPayloadToUser(payload) {
59
59
  middleName: (_f = (_e = payload.middle_name) === null || _e === void 0 ? void 0 : _e.trim()) !== null && _f !== void 0 ? _f : '',
60
60
  birthday: payload.birthday != null ? (0, zeniDayJS_1.date)(payload.birthday) : undefined,
61
61
  countryCode: (_g = payload.country_code) !== null && _g !== void 0 ? _g : undefined,
62
- nationalityCountryCode: (_h = payload.nationality_country_code) !== null && _h !== void 0 ? _h : undefined,
63
- phone: (_j = payload.phone) !== null && _j !== void 0 ? _j : undefined,
64
- ssn: (_k = payload.ssn) !== null && _k !== void 0 ? _k : undefined,
62
+ phone: (_h = payload.phone) !== null && _h !== void 0 ? _h : undefined,
63
+ ssn: (_j = payload.ssn) !== null && _j !== void 0 ? _j : undefined,
65
64
  photo: payload.photo != null ? toPhotoURL(payload.photo) : undefined,
66
65
  lastSeenTime: payload.last_seen_time != null ? (0, zeniDayJS_1.date)(payload.last_seen_time) : undefined,
67
66
  createTime: payload.create_time != null ? (0, zeniDayJS_1.date)(payload.create_time) : undefined,
@@ -71,13 +70,13 @@ function mapUserPayloadToUser(payload) {
71
70
  * it should be a calculated from createTime or updateTime.
72
71
  * Lets do it when we enable support in platform.
73
72
  */
74
- syncToken: (_l = payload.sync_token) !== null && _l !== void 0 ? _l : undefined,
75
- roleAtCompany: (_m = payload.role_at_company) !== null && _m !== void 0 ? _m : undefined,
76
- gender: (_o = payload.gender) !== null && _o !== void 0 ? _o : undefined,
73
+ syncToken: (_k = payload.sync_token) !== null && _k !== void 0 ? _k : undefined,
74
+ roleAtCompany: (_l = payload.role_at_company) !== null && _l !== void 0 ? _l : undefined,
75
+ gender: (_m = payload.gender) !== null && _m !== void 0 ? _m : undefined,
77
76
  isPotentialFraud: payload.is_potential_fraud,
78
77
  isDeleted: payload.is_deleted,
79
- addressId: (_p = payload.address_id) !== null && _p !== void 0 ? _p : undefined,
80
- companyId: (_q = payload.company_id) !== null && _q !== void 0 ? _q : undefined,
78
+ addressId: (_o = payload.address_id) !== null && _o !== void 0 ? _o : undefined,
79
+ companyId: (_p = payload.company_id) !== null && _p !== void 0 ? _p : undefined,
81
80
  isPhoneVerified: payload.is_phone_verified,
82
81
  };
83
82
  }
@@ -11,7 +11,6 @@ export interface User extends UserBase {
11
11
  middleName: string;
12
12
  birthday?: ZeniDate;
13
13
  countryCode?: string;
14
- nationalityCountryCode?: string;
15
14
  phone?: string;
16
15
  ssn?: string;
17
16
  photo?: ZeniUrl;
@@ -5,4 +5,3 @@ export declare const vendorStateMock4: Vendor;
5
5
  export declare const vendorStateMock5: Vendor;
6
6
  export declare const vendorStateMock6: Vendor;
7
7
  export declare const vendorStateMock7: Vendor;
8
- export declare const vendorStateMock8: Vendor;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.vendorStateMock8 = exports.vendorStateMock7 = exports.vendorStateMock6 = exports.vendorStateMock5 = exports.vendorStateMock4 = exports.vendorStateMock2 = exports.vendorStateMock1 = void 0;
3
+ exports.vendorStateMock7 = exports.vendorStateMock6 = exports.vendorStateMock5 = exports.vendorStateMock4 = exports.vendorStateMock2 = exports.vendorStateMock1 = void 0;
4
4
  const zeniDayJS_1 = require("../../../zeniDayJS");
5
5
  const zeniUrl_1 = require("../../../zeniUrl");
6
6
  exports.vendorStateMock1 = {
@@ -324,40 +324,6 @@ exports.vendorStateMock6 = {
324
324
  w9DocumentIds: [],
325
325
  };
326
326
  exports.vendorStateMock7 = {
327
- id: 'vendor_7fd58fd7-2916-4fae-ba14-3c0f6e277743',
328
- name: 'Hall Properties',
329
- title: '',
330
- suffix: '',
331
- firstName: '',
332
- middleName: '',
333
- lastName: '',
334
- vendorType: '',
335
- isDeleted: false,
336
- createTime: (0, zeniDayJS_1.date)('2024-02-19T12:38:08.740Z'),
337
- updateTime: (0, zeniDayJS_1.date)('2024-02-19T12:38:08.740Z'),
338
- currencyCode: 'USD',
339
- currencySymbol: '$',
340
- vendorCurrencyCode: 'USD',
341
- vendorCurrencySymbol: '$',
342
- qboId: '',
343
- syncToken: '',
344
- email: '',
345
- phone: '',
346
- websiteUrl: '',
347
- contactIds: [],
348
- bankAccountIds: [],
349
- paymentInstrumentIds: [],
350
- balance: 0,
351
- matchScore: 0,
352
- isVendor1099: false,
353
- documentIds: [],
354
- last30DaysSpend: 0,
355
- last90DaysSpend: 0,
356
- yearToDateSpend: 0,
357
- recommendations: [],
358
- transactionAttachments: [],
359
- };
360
- exports.vendorStateMock8 = {
361
327
  recommendations: [],
362
328
  transactionAttachments: [],
363
329
  id: 'vendor_j12jh1g2g12jg3jh12:12',
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.mapVendorPayloadToVendor = exports.toVendorBasePayload = exports.mapVendorBasePayloadToVendorBase = void 0;
4
4
  const urlPayload_1 = require("../../commonPayloadTypes/urlPayload");
5
5
  const zeniDayJS_1 = require("../../zeniDayJS");
6
- const common_1 = require("../../commonStateTypes/common");
7
6
  const transactionPayload_1 = require("../transaction/payloadTypes/transactionPayload");
8
7
  const billTransactionState_1 = require("../billPay/billTransaction/billTransactionState");
9
8
  const attachmentPayload_1 = require("../transaction/payloadTypes/attachmentPayload");
@@ -43,14 +42,14 @@ const mapVendorPayloadToVendor = (payload) => {
43
42
  payload.transaction_attachments.length > 0
44
43
  ? payload.transaction_attachments.map((attachmentPayload) => (0, attachmentPayload_1.toAttachment)(attachmentPayload))
45
44
  : [], filing1099Status: payload.vendor_1099_status != null
46
- ? (0, common_1.toCompletionStatusType)(payload.vendor_1099_status)
45
+ ? (0, vendorType_1.toStatusType)(payload.vendor_1099_status)
47
46
  : undefined, filing1099Tin: payload.tin != null
48
47
  ? {
49
48
  type: payload.tin.type != null ? (0, vendorType_1.toTinType)(payload.tin.type) : null,
50
49
  value: (_13 = (_12 = payload.tin) === null || _12 === void 0 ? void 0 : _12.value) !== null && _13 !== void 0 ? _13 : null,
51
50
  }
52
51
  : undefined, isINTType: (_14 = payload.is_type_int) !== null && _14 !== void 0 ? _14 : false, isMISCType: (_15 = payload.is_type_misc) !== null && _15 !== void 0 ? _15 : false, isNECType: (_16 = payload.is_type_nec) !== null && _16 !== void 0 ? _16 : false, filing1099INTTotal: payload.vendor_1099_ytd_total_int, filing1099MISCTotal: payload.vendor_1099_ytd_total_misc, filing1099NECTotal: payload.vendor_1099_ytd_total_nec, filing1099W9Files: payload.w9_documents != null
53
- ? payload.w9_documents.map((filePayload) => (0, attachmentPayload_1.mapFileToAttachment)(filePayload))
52
+ ? payload.w9_documents.map((filePayload) => (0, attachmentPayload_1.mapFiletoAttachment)(filePayload))
54
53
  : [], filing1099TaxClassification: (_17 = payload.vendor_type) !== null && _17 !== void 0 ? _17 : '' });
55
54
  };
56
55
  exports.mapVendorPayloadToVendor = mapVendorPayloadToVendor;