@zeniai/client-epic-state 4.9.30 → 4.9.31

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 (946) hide show
  1. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.d.ts +8 -0
  2. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.js +84 -0
  3. package/lib/commonStateTypes/bookCloseDateHelper.d.ts +8 -0
  4. package/lib/commonStateTypes/bookCloseDateHelper.js +48 -0
  5. package/lib/commonStateTypes/coaBalance/classBalances/getDifferenceOfBalancesGroupedByPeriod.d.ts +8 -0
  6. package/lib/commonStateTypes/coaBalance/classBalances/getDifferenceOfBalancesGroupedByPeriod.js +62 -0
  7. package/lib/commonStateTypes/currencyHelper.d.ts +1 -0
  8. package/lib/commonStateTypes/currencyHelper.js +7 -0
  9. package/lib/commonStateTypes/fileType.d.ts +3 -0
  10. package/lib/commonStateTypes/fileType.js +7 -0
  11. package/lib/commonStateTypes/fiscalYearHelpers/getActualPeriod.d.ts +4 -0
  12. package/lib/commonStateTypes/fiscalYearHelpers/getActualPeriod.js +38 -0
  13. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.d.ts +2 -0
  14. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.js +13 -0
  15. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.d.ts +2 -0
  16. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.js +11 -0
  17. package/lib/commonStateTypes/viewAndReport/reportIDHelper.d.ts +8 -0
  18. package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +43 -0
  19. package/lib/configureStore.d.ts +9 -0
  20. package/lib/configureStore.js +24 -0
  21. package/lib/entity/accountGroup/pickAndMergeForecastAcGroupReport.d.ts +3 -0
  22. package/lib/entity/accountGroup/pickAndMergeForecastAcGroupReport.js +85 -0
  23. package/lib/entity/chargeCard/chargeCardSelector.d.ts +4 -0
  24. package/lib/entity/chargeCard/chargeCardSelector.js +18 -0
  25. package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.d.ts +4 -0
  26. package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.js +18 -0
  27. package/lib/entity/company/companyHelper.d.ts +5 -0
  28. package/lib/entity/company/companyHelper.js +26 -0
  29. package/lib/entity/companyHealthMetric/companyHealthMetricSelector.d.ts +4 -0
  30. package/lib/entity/companyHealthMetric/companyHealthMetricSelector.js +18 -0
  31. package/lib/entity/customer/customerSelector.d.ts +4 -0
  32. package/lib/entity/customer/customerSelector.js +15 -0
  33. package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.d.ts +4 -0
  34. package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.js +18 -0
  35. package/lib/entity/genericEntity/entitySelector.d.ts +3 -0
  36. package/lib/entity/genericEntity/entitySelector.js +9 -0
  37. package/lib/entity/globalMerchant/globalMerchantSelector.d.ts +6 -0
  38. package/lib/entity/globalMerchant/globalMerchantSelector.js +27 -0
  39. package/lib/entity/insights/insightSelector.d.ts +3 -0
  40. package/lib/entity/insights/insightSelector.js +9 -0
  41. package/lib/entity/jeSchedules/updateJESchedulesEpic.d.ts +10 -0
  42. package/lib/entity/jeSchedules/updateJESchedulesEpic.js +68 -0
  43. package/lib/entity/onboardingCustomer/onboardingCustomerSelector.d.ts +3 -0
  44. package/lib/entity/onboardingCustomer/onboardingCustomerSelector.js +17 -0
  45. package/lib/entity/snackbar/snackbarSelector.d.ts +16 -0
  46. package/lib/entity/snackbar/snackbarSelector.js +12 -0
  47. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountSelector.d.ts +4 -0
  48. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountSelector.js +18 -0
  49. package/lib/entity/tenant/epic/fetchSubscriptionSummaryForTenantEpic.d.ts +18 -0
  50. package/lib/entity/tenant/epic/fetchSubscriptionSummaryForTenantEpic.js +16 -0
  51. package/lib/epic.d.ts +349 -0
  52. package/lib/epic.js +359 -0
  53. package/lib/index.d.ts +653 -0
  54. package/lib/index.js +1361 -0
  55. package/lib/init.d.ts +53 -0
  56. package/lib/init.js +136 -0
  57. package/lib/view/accountList/fetchAccountListEpic.d.ts +8 -0
  58. package/lib/view/accountList/fetchAccountListEpic.js +55 -0
  59. package/lib/view/accountMappingView/accountMappingPayload.d.ts +8 -0
  60. package/lib/view/accountMappingView/accountMappingPayload.js +20 -0
  61. package/lib/view/accountMappingView/accountMappingViewSelector.d.ts +18 -0
  62. package/lib/view/accountMappingView/accountMappingViewSelector.js +48 -0
  63. package/lib/view/accountMappingView/accountTypeRecommendation/fetchRecommendationForAccountTypeEpic.d.ts +7 -0
  64. package/lib/view/accountMappingView/accountTypeRecommendation/fetchRecommendationForAccountTypeEpic.js +27 -0
  65. package/lib/view/accountMappingView/fetchAccountListForAccountTypesEpic.d.ts +8 -0
  66. package/lib/view/accountMappingView/fetchAccountListForAccountTypesEpic.js +45 -0
  67. package/lib/view/accountMappingView/initializeAccountMappingViewEpic.d.ts +7 -0
  68. package/lib/view/accountMappingView/initializeAccountMappingViewEpic.js +13 -0
  69. package/lib/view/accountMappingView/saveAccountMappingViewEpic.d.ts +7 -0
  70. package/lib/view/accountMappingView/saveAccountMappingViewEpic.js +38 -0
  71. package/lib/view/addressView/addressViewSelector.d.ts +13 -0
  72. package/lib/view/addressView/addressViewSelector.js +42 -0
  73. package/lib/view/addressView/epic/createAddressEpic.d.ts +7 -0
  74. package/lib/view/addressView/epic/createAddressEpic.js +43 -0
  75. package/lib/view/addressView/epic/createCompanyAddressEpic.d.ts +8 -0
  76. package/lib/view/addressView/epic/createCompanyAddressEpic.js +49 -0
  77. package/lib/view/addressView/epic/createCompanyUserAddressEpic.d.ts +10 -0
  78. package/lib/view/addressView/epic/createCompanyUserAddressEpic.js +56 -0
  79. package/lib/view/addressView/epic/fetchAddressEpic.d.ts +19 -0
  80. package/lib/view/addressView/epic/fetchAddressEpic.js +34 -0
  81. package/lib/view/addressView/epic/saveNewAddressEpic.d.ts +10 -0
  82. package/lib/view/addressView/epic/saveNewAddressEpic.js +32 -0
  83. package/lib/view/addressView/epic/updateAddressEpic.d.ts +19 -0
  84. package/lib/view/addressView/epic/updateAddressEpic.js +30 -0
  85. package/lib/view/addressView/toAddressViewLocalData.d.ts +3 -0
  86. package/lib/view/addressView/toAddressViewLocalData.js +42 -0
  87. package/lib/view/apAgingView/apAgingDetail/apAgingDetailSelector.d.ts +17 -0
  88. package/lib/view/apAgingView/apAgingDetail/apAgingDetailSelector.js +81 -0
  89. package/lib/view/apAgingView/apAgingDetail/fetchApAgingDetailEpic.d.ts +8 -0
  90. package/lib/view/apAgingView/apAgingDetail/fetchApAgingDetailEpic.js +37 -0
  91. package/lib/view/apAgingView/apAgingReport/apAgingSelector.d.ts +18 -0
  92. package/lib/view/apAgingView/apAgingReport/apAgingSelector.js +58 -0
  93. package/lib/view/apAgingView/apAgingReport/fetchApAgingEpic.d.ts +8 -0
  94. package/lib/view/apAgingView/apAgingReport/fetchApAgingEpic.js +43 -0
  95. package/lib/view/arAgingView/arAgingDetail/arAgingDetailSelector.d.ts +15 -0
  96. package/lib/view/arAgingView/arAgingDetail/arAgingDetailSelector.js +54 -0
  97. package/lib/view/arAgingView/arAgingDetail/fetchArAgingDetailEpic.d.ts +8 -0
  98. package/lib/view/arAgingView/arAgingDetail/fetchArAgingDetailEpic.js +37 -0
  99. package/lib/view/arAgingView/arAgingReport/arAgingSelector.d.ts +18 -0
  100. package/lib/view/arAgingView/arAgingReport/arAgingSelector.js +61 -0
  101. package/lib/view/arAgingView/arAgingReport/fetchArAgingEpic.d.ts +8 -0
  102. package/lib/view/arAgingView/arAgingReport/fetchArAgingEpic.js +42 -0
  103. package/lib/view/auditReportView/auditReportViewSelector.d.ts +22 -0
  104. package/lib/view/auditReportView/auditReportViewSelector.js +34 -0
  105. package/lib/view/auditReportView/epics/fetchAuditReportGroupViewEpic.d.ts +7 -0
  106. package/lib/view/auditReportView/epics/fetchAuditReportGroupViewEpic.js +54 -0
  107. package/lib/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.d.ts +7 -0
  108. package/lib/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.js +39 -0
  109. package/lib/view/authenticationView/authenticationViewSelector.d.ts +7 -0
  110. package/lib/view/authenticationView/authenticationViewSelector.js +11 -0
  111. package/lib/view/authenticationView/epics/fetchCollaborationAuthTokenEpic.d.ts +8 -0
  112. package/lib/view/authenticationView/epics/fetchCollaborationAuthTokenEpic.js +28 -0
  113. package/lib/view/autoComplete/entityAutoCompleteSelector.d.ts +8 -0
  114. package/lib/view/autoComplete/entityAutoCompleteSelector.js +25 -0
  115. package/lib/view/autoComplete/fetchEntityAutoCompleteEpic.d.ts +8 -0
  116. package/lib/view/autoComplete/fetchEntityAutoCompleteEpic.js +41 -0
  117. package/lib/view/balanceSheet/balanceSheetEpic.d.ts +6 -0
  118. package/lib/view/balanceSheet/balanceSheetEpic.js +35 -0
  119. package/lib/view/balanceSheet/balanceSheetForTimeframeEpic.d.ts +9 -0
  120. package/lib/view/balanceSheet/balanceSheetForTimeframeEpic.js +77 -0
  121. package/lib/view/balanceSheet/balanceSheetSelector.d.ts +17 -0
  122. package/lib/view/balanceSheet/balanceSheetSelector.js +77 -0
  123. package/lib/view/bankAccountView/epic/createBankAccountEpic.d.ts +10 -0
  124. package/lib/view/bankAccountView/epic/createBankAccountEpic.js +147 -0
  125. package/lib/view/bankAccountView/epic/createUserBankAccountEpic.d.ts +11 -0
  126. package/lib/view/bankAccountView/epic/createUserBankAccountEpic.js +65 -0
  127. package/lib/view/bankAccountView/epic/deleteBankAccountEpic.d.ts +9 -0
  128. package/lib/view/bankAccountView/epic/deleteBankAccountEpic.js +59 -0
  129. package/lib/view/bankAccountView/epic/deleteUserBankAccountEpic.d.ts +9 -0
  130. package/lib/view/bankAccountView/epic/deleteUserBankAccountEpic.js +63 -0
  131. package/lib/view/bankAccountView/epic/fetchBankCountryNameByIbanEpic.d.ts +7 -0
  132. package/lib/view/bankAccountView/epic/fetchBankCountryNameByIbanEpic.js +46 -0
  133. package/lib/view/bankAccountView/epic/fetchBankNameByRoutingEpic.d.ts +7 -0
  134. package/lib/view/bankAccountView/epic/fetchBankNameByRoutingEpic.js +45 -0
  135. package/lib/view/bankAccountView/epic/fetchBankNameBySwiftEpic.d.ts +7 -0
  136. package/lib/view/bankAccountView/epic/fetchBankNameBySwiftEpic.js +45 -0
  137. package/lib/view/billPayCard/billPayCardSelector.d.ts +12 -0
  138. package/lib/view/billPayCard/billPayCardSelector.js +16 -0
  139. package/lib/view/billPayCard/fetchBillPayCardEpic.d.ts +9 -0
  140. package/lib/view/billPayCard/fetchBillPayCardEpic.js +50 -0
  141. package/lib/view/cardBalance/cardBalanceSelector.d.ts +31 -0
  142. package/lib/view/cardBalance/cardBalanceSelector.js +19 -0
  143. package/lib/view/cashBalance/cashBalanceSelector.d.ts +31 -0
  144. package/lib/view/cashBalance/cashBalanceSelector.js +19 -0
  145. package/lib/view/cashFlow/cashFlowEpic.d.ts +6 -0
  146. package/lib/view/cashFlow/cashFlowEpic.js +35 -0
  147. package/lib/view/cashFlow/cashFlowForTimeframeEpic.d.ts +9 -0
  148. package/lib/view/cashFlow/cashFlowForTimeframeEpic.js +53 -0
  149. package/lib/view/cashFlow/cashFlowSelector.d.ts +9 -0
  150. package/lib/view/cashFlow/cashFlowSelector.js +94 -0
  151. package/lib/view/cashFlow/cashFlowSelectorTypes.d.ts +41 -0
  152. package/lib/view/cashFlow/cashFlowSelectorTypes.js +87 -0
  153. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +29 -0
  154. package/lib/view/cashInCashOut/cashInCashOutSelector.js +87 -0
  155. package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.d.ts +26 -0
  156. package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.js +15 -0
  157. package/lib/view/cashPosition/cashPositionSelector.d.ts +26 -0
  158. package/lib/view/cashPosition/cashPositionSelector.js +71 -0
  159. package/lib/view/cashPosition/cashPositionSelectorTypes.d.ts +18 -0
  160. package/lib/view/cashPosition/cashPositionSelectorTypes.js +2 -0
  161. package/lib/view/classList/fetchClassListEpic.d.ts +8 -0
  162. package/lib/view/classList/fetchClassListEpic.js +25 -0
  163. package/lib/view/common/zeniClearingAccountHelper.d.ts +4 -0
  164. package/lib/view/common/zeniClearingAccountHelper.js +13 -0
  165. package/lib/view/commonVendorView/commonVendorViewHelper.d.ts +20 -0
  166. package/lib/view/commonVendorView/commonVendorViewHelper.js +109 -0
  167. package/lib/view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic.d.ts +7 -0
  168. package/lib/view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic.js +30 -0
  169. package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.d.ts +9 -0
  170. package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js +92 -0
  171. package/lib/view/commonVendorView/transactionVendorView/transactionVendorLocalDataHelper.d.ts +3 -0
  172. package/lib/view/commonVendorView/transactionVendorView/transactionVendorLocalDataHelper.js +13 -0
  173. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.d.ts +17 -0
  174. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.js +50 -0
  175. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.d.ts +25 -0
  176. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.js +53 -0
  177. package/lib/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.d.ts +7 -0
  178. package/lib/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.js +68 -0
  179. package/lib/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.d.ts +11 -0
  180. package/lib/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.js +62 -0
  181. package/lib/view/commonVendorView/vendorView/epics/fetchVendorEpic.d.ts +16 -0
  182. package/lib/view/commonVendorView/vendorView/epics/fetchVendorEpic.js +70 -0
  183. package/lib/view/commonVendorView/vendorView/epics/initializeVendorAddressEpic.d.ts +7 -0
  184. package/lib/view/commonVendorView/vendorView/epics/initializeVendorAddressEpic.js +29 -0
  185. package/lib/view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic.d.ts +7 -0
  186. package/lib/view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic.js +30 -0
  187. package/lib/view/commonVendorView/vendorView/epics/saveVendorEpic.d.ts +14 -0
  188. package/lib/view/commonVendorView/vendorView/epics/saveVendorEpic.js +192 -0
  189. package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/fetchUserDetailEpic.d.ts +8 -0
  190. package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/fetchUserDetailEpic.js +25 -0
  191. package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/verifyUserEpic.d.ts +8 -0
  192. package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/verifyUserEpic.js +31 -0
  193. package/lib/view/commonVendorView/vendorView/epics/updateSelectedVendorForCreateFlowEpic.d.ts +7 -0
  194. package/lib/view/commonVendorView/vendorView/epics/updateSelectedVendorForCreateFlowEpic.js +24 -0
  195. package/lib/view/commonVendorView/vendorView/epics/vendorDetailLocalDataHelpers.d.ts +21 -0
  196. package/lib/view/commonVendorView/vendorView/epics/vendorDetailLocalDataHelpers.js +90 -0
  197. package/lib/view/commonVendorView/vendorView/vendorViewPayload.d.ts +30 -0
  198. package/lib/view/commonVendorView/vendorView/vendorViewPayload.js +93 -0
  199. package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +72 -0
  200. package/lib/view/commonVendorView/vendorView/vendorViewSelector.js +218 -0
  201. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.d.ts +7 -0
  202. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.js +29 -0
  203. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic.d.ts +11 -0
  204. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic.js +47 -0
  205. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.d.ts +15 -0
  206. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.js +63 -0
  207. package/lib/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.d.ts +7 -0
  208. package/lib/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.js +22 -0
  209. package/lib/view/commonVendorView/vendorsTabVendorView/epics/saveVendorsTabVendorEpic.d.ts +11 -0
  210. package/lib/view/commonVendorView/vendorsTabVendorView/epics/saveVendorsTabVendorEpic.js +57 -0
  211. package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.d.ts +19 -0
  212. package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.js +60 -0
  213. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.d.ts +29 -0
  214. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.js +48 -0
  215. package/lib/view/companyConfigView/companyConfigEpic.d.ts +7 -0
  216. package/lib/view/companyConfigView/companyConfigEpic.js +23 -0
  217. package/lib/view/companyConfigView/companyConfigSelector.d.ts +12 -0
  218. package/lib/view/companyConfigView/companyConfigSelector.js +12 -0
  219. package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.d.ts +8 -0
  220. package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.js +2 -0
  221. package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.d.ts +41 -0
  222. package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.js +240 -0
  223. package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricViewEpic.d.ts +9 -0
  224. package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricViewEpic.js +41 -0
  225. package/lib/view/companyHealthMetricView/epic/initializeCompanyHealthMetricViewLocalData.d.ts +6 -0
  226. package/lib/view/companyHealthMetricView/epic/initializeCompanyHealthMetricViewLocalData.js +27 -0
  227. package/lib/view/companyHealthMetricView/epic/saveCompanyHealthMetricByIdEpic.d.ts +9 -0
  228. package/lib/view/companyHealthMetricView/epic/saveCompanyHealthMetricByIdEpic.js +49 -0
  229. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.d.ts +24 -0
  230. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.js +59 -0
  231. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.d.ts +8 -0
  232. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.js +67 -0
  233. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.d.ts +7 -0
  234. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.js +54 -0
  235. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.d.ts +8 -0
  236. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js +46 -0
  237. package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.d.ts +7 -0
  238. package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.js +30 -0
  239. package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.d.ts +9 -0
  240. package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +77 -0
  241. package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.d.ts +9 -0
  242. package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +79 -0
  243. package/lib/view/companyView/companyViewPayload.d.ts +84 -0
  244. package/lib/view/companyView/companyViewPayload.js +2 -0
  245. package/lib/view/companyView/epic/companyManagementSavePendingUpdates.d.ts +7 -0
  246. package/lib/view/companyView/epic/companyManagementSavePendingUpdates.js +18 -0
  247. package/lib/view/companyView/epic/companyManagementSaveUpdatesEpic.d.ts +10 -0
  248. package/lib/view/companyView/epic/companyManagementSaveUpdatesEpic.js +116 -0
  249. package/lib/view/companyView/epic/companyPassport/createCompanyOfficersEpic.d.ts +10 -0
  250. package/lib/view/companyView/epic/companyPassport/createCompanyOfficersEpic.js +87 -0
  251. package/lib/view/companyView/epic/companyPassport/fetchCompanyPassportViewEpic.d.ts +17 -0
  252. package/lib/view/companyView/epic/companyPassport/fetchCompanyPassportViewEpic.js +65 -0
  253. package/lib/view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.d.ts +24 -0
  254. package/lib/view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.js +37 -0
  255. package/lib/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.d.ts +9 -0
  256. package/lib/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.js +49 -0
  257. package/lib/view/companyView/epic/companyPassport/updateCompanyOfficerEpic.d.ts +10 -0
  258. package/lib/view/companyView/epic/companyPassport/updateCompanyOfficerEpic.js +54 -0
  259. package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.d.ts +6 -0
  260. package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +39 -0
  261. package/lib/view/companyView/epic/companyPassport/updatePrimaryContactEpic.d.ts +20 -0
  262. package/lib/view/companyView/epic/companyPassport/updatePrimaryContactEpic.js +68 -0
  263. package/lib/view/companyView/epic/fetchAllCockpitViewsEpic.d.ts +9 -0
  264. package/lib/view/companyView/epic/fetchAllCockpitViewsEpic.js +65 -0
  265. package/lib/view/companyView/epic/fetchCompanyManagementViewEpic.d.ts +16 -0
  266. package/lib/view/companyView/epic/fetchCompanyManagementViewEpic.js +101 -0
  267. package/lib/view/companyView/epic/fetchCompanyPortfolioViewEpic.d.ts +11 -0
  268. package/lib/view/companyView/epic/fetchCompanyPortfolioViewEpic.js +40 -0
  269. package/lib/view/companyView/epic/fetchManagementViewEpic.d.ts +6 -0
  270. package/lib/view/companyView/epic/fetchManagementViewEpic.js +27 -0
  271. package/lib/view/companyView/epic/fetchOnboardingViewEpic.d.ts +7 -0
  272. package/lib/view/companyView/epic/fetchOnboardingViewEpic.js +36 -0
  273. package/lib/view/companyView/epic/fetchPortfolioViewEpic.d.ts +6 -0
  274. package/lib/view/companyView/epic/fetchPortfolioViewEpic.js +27 -0
  275. package/lib/view/companyView/epic/fetchSubscriptionViewEpic.d.ts +7 -0
  276. package/lib/view/companyView/epic/fetchSubscriptionViewEpic.js +29 -0
  277. package/lib/view/companyView/epic/fetchZeniUsersEpic.d.ts +8 -0
  278. package/lib/view/companyView/epic/fetchZeniUsersEpic.js +24 -0
  279. package/lib/view/companyView/epic/getSubscriptionIDsByCompanyID.d.ts +2 -0
  280. package/lib/view/companyView/epic/getSubscriptionIDsByCompanyID.js +20 -0
  281. package/lib/view/companyView/helpers/cockpitHelpers.d.ts +16 -0
  282. package/lib/view/companyView/helpers/cockpitHelpers.js +144 -0
  283. package/lib/view/companyView/parentSubsidiaryView/fetchParentSubsidiaryManagementViewEpic.d.ts +6 -0
  284. package/lib/view/companyView/parentSubsidiaryView/fetchParentSubsidiaryManagementViewEpic.js +19 -0
  285. package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewSelector.d.ts +4 -0
  286. package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewSelector.js +16 -0
  287. package/lib/view/companyView/selector/companyManagementViewSelector.d.ts +41 -0
  288. package/lib/view/companyView/selector/companyManagementViewSelector.js +406 -0
  289. package/lib/view/companyView/selector/companyPassportViewSelector.d.ts +36 -0
  290. package/lib/view/companyView/selector/companyPassportViewSelector.js +163 -0
  291. package/lib/view/companyView/selector/companyPortfolioViewSelector.d.ts +15 -0
  292. package/lib/view/companyView/selector/companyPortfolioViewSelector.js +245 -0
  293. package/lib/view/companyView/selector/getAllCockpitTabsFilterView.d.ts +8 -0
  294. package/lib/view/companyView/selector/getAllCockpitTabsFilterView.js +55 -0
  295. package/lib/view/companyView/types/companyPassportViewPayload.d.ts +25 -0
  296. package/lib/view/companyView/types/companyPassportViewPayload.js +76 -0
  297. package/lib/view/dashboard/dashboardSelector.d.ts +40 -0
  298. package/lib/view/dashboard/dashboardSelector.js +105 -0
  299. package/lib/view/fileView/epic/deleteFileEpic.d.ts +8 -0
  300. package/lib/view/fileView/epic/deleteFileEpic.js +31 -0
  301. package/lib/view/fileView/epic/deleteFileListEpic.d.ts +8 -0
  302. package/lib/view/fileView/epic/deleteFileListEpic.js +28 -0
  303. package/lib/view/fileView/epic/fetchFileEpic.d.ts +8 -0
  304. package/lib/view/fileView/epic/fetchFileEpic.js +33 -0
  305. package/lib/view/fileView/epic/fetchFileListEpic.d.ts +8 -0
  306. package/lib/view/fileView/epic/fetchFileListEpic.js +31 -0
  307. package/lib/view/fileView/epic/updateFileNameEpic.d.ts +8 -0
  308. package/lib/view/fileView/epic/updateFileNameEpic.js +34 -0
  309. package/lib/view/fileView/epic/updateFilesMetadataEpic.d.ts +6 -0
  310. package/lib/view/fileView/epic/updateFilesMetadataEpic.js +16 -0
  311. package/lib/view/fileView/fileDownloadHelpers.d.ts +3 -0
  312. package/lib/view/fileView/fileDownloadHelpers.js +42 -0
  313. package/lib/view/fileView/fileViewPayload.d.ts +6 -0
  314. package/lib/view/fileView/fileViewPayload.js +2 -0
  315. package/lib/view/financeStatement/financeStatementEpic.d.ts +32 -0
  316. package/lib/view/financeStatement/financeStatementEpic.js +44 -0
  317. package/lib/view/financeStatement/financeStatementSelector.d.ts +27 -0
  318. package/lib/view/financeStatement/financeStatementSelector.js +96 -0
  319. package/lib/view/forecastList/fetchForecastListEpic.d.ts +8 -0
  320. package/lib/view/forecastList/fetchForecastListEpic.js +20 -0
  321. package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.d.ts +16 -0
  322. package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.js +101 -0
  323. package/lib/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.d.ts +10 -0
  324. package/lib/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.js +59 -0
  325. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/fetchGlobalMerchantAutoCompleteViewEpic.d.ts +8 -0
  326. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/fetchGlobalMerchantAutoCompleteViewEpic.js +48 -0
  327. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewSelector.d.ts +7 -0
  328. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewSelector.js +14 -0
  329. package/lib/view/globalMerchantView/globalMerchantViewPayload.d.ts +24 -0
  330. package/lib/view/globalMerchantView/globalMerchantViewPayload.js +2 -0
  331. package/lib/view/globalMerchantView/globalMerchantViewSelector.d.ts +9 -0
  332. package/lib/view/globalMerchantView/globalMerchantViewSelector.js +19 -0
  333. package/lib/view/insightsCard/insightsCardEpic.d.ts +15 -0
  334. package/lib/view/insightsCard/insightsCardEpic.js +21 -0
  335. package/lib/view/insightsCard/insightsCardSelector.d.ts +3 -0
  336. package/lib/view/insightsCard/insightsCardSelector.js +18 -0
  337. package/lib/view/insightsCard/insightsCardSelectorTypes.d.ts +8 -0
  338. package/lib/view/insightsCard/insightsCardSelectorTypes.js +2 -0
  339. package/lib/view/netBurnOrIncome/netBurnOrIncomeEpic.d.ts +5 -0
  340. package/lib/view/netBurnOrIncome/netBurnOrIncomeEpic.js +35 -0
  341. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.d.ts +11 -0
  342. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.js +105 -0
  343. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.d.ts +17 -0
  344. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.js +21 -0
  345. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelector.d.ts +3 -0
  346. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelector.js +86 -0
  347. package/lib/view/onboardingView/cockpitView/epic/fetchCompanyOnboardingViewEpic.d.ts +13 -0
  348. package/lib/view/onboardingView/cockpitView/epic/fetchCompanyOnboardingViewEpic.js +54 -0
  349. package/lib/view/onboardingView/cockpitView/epic/fetchOnboardingCompletedCompaniesEpic.d.ts +8 -0
  350. package/lib/view/onboardingView/cockpitView/epic/fetchOnboardingCompletedCompaniesEpic.js +27 -0
  351. package/lib/view/onboardingView/cockpitView/epic/getOnboardingEmailGroupEpic.d.ts +7 -0
  352. package/lib/view/onboardingView/cockpitView/epic/getOnboardingEmailGroupEpic.js +27 -0
  353. package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.d.ts +6 -0
  354. package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +105 -0
  355. package/lib/view/onboardingView/cockpitView/epic/retryBankAccountConnectionForOnboardingEpic.d.ts +8 -0
  356. package/lib/view/onboardingView/cockpitView/epic/retryBankAccountConnectionForOnboardingEpic.js +86 -0
  357. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerCompletedStatusEpic.d.ts +10 -0
  358. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerCompletedStatusEpic.js +37 -0
  359. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerNotesEpic.d.ts +8 -0
  360. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerNotesEpic.js +36 -0
  361. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerViewUpdatesEpic.d.ts +14 -0
  362. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerViewUpdatesEpic.js +128 -0
  363. package/lib/view/onboardingView/cockpitView/epic/sendOnboardingCustomerViewInviteEpic.d.ts +17 -0
  364. package/lib/view/onboardingView/cockpitView/epic/sendOnboardingCustomerViewInviteEpic.js +114 -0
  365. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewSelector.d.ts +55 -0
  366. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewSelector.js +185 -0
  367. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerSetupViewEpic.d.ts +16 -0
  368. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerSetupViewEpic.js +72 -0
  369. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.d.ts +16 -0
  370. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +27 -0
  371. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewCompleteStatusEpic.d.ts +9 -0
  372. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewCompleteStatusEpic.js +41 -0
  373. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.d.ts +21 -0
  374. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +128 -0
  375. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.d.ts +14 -0
  376. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +116 -0
  377. package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountLoginStatusEpic.d.ts +10 -0
  378. package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountLoginStatusEpic.js +37 -0
  379. package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountStatusEpic.d.ts +10 -0
  380. package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountStatusEpic.js +37 -0
  381. package/lib/view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic.d.ts +10 -0
  382. package/lib/view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic.js +42 -0
  383. package/lib/view/onboardingView/customerView/epic/plaidConnection/getOnboardingPlaidLinkTokenEpic.d.ts +8 -0
  384. package/lib/view/onboardingView/customerView/epic/plaidConnection/getOnboardingPlaidLinkTokenEpic.js +31 -0
  385. package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.d.ts +26 -0
  386. package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.js +2 -0
  387. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +53 -0
  388. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +261 -0
  389. package/lib/view/onboardingView/customerView/types/paymentAccount.d.ts +8 -0
  390. package/lib/view/onboardingView/customerView/types/paymentAccount.js +2 -0
  391. package/lib/view/opExByVendor/opExByVendorSelector.d.ts +42 -0
  392. package/lib/view/opExByVendor/opExByVendorSelector.js +168 -0
  393. package/lib/view/ownerList/fetchOwnerListEpic.d.ts +8 -0
  394. package/lib/view/ownerList/fetchOwnerListEpic.js +35 -0
  395. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +44 -0
  396. package/lib/view/people/changeZeniPersonRolesEpic.js +39 -0
  397. package/lib/view/people/deletePersonEpic.d.ts +31 -0
  398. package/lib/view/people/deletePersonEpic.js +24 -0
  399. package/lib/view/people/fetchAllPeopleRequiredViewsEpic.d.ts +8 -0
  400. package/lib/view/people/fetchAllPeopleRequiredViewsEpic.js +20 -0
  401. package/lib/view/people/helpers/updateManagersListOnRoleChange.d.ts +11 -0
  402. package/lib/view/people/helpers/updateManagersListOnRoleChange.js +16 -0
  403. package/lib/view/people/initializeEditPersonEpic.d.ts +5 -0
  404. package/lib/view/people/initializeEditPersonEpic.js +39 -0
  405. package/lib/view/people/invitePeopleEpic.d.ts +48 -0
  406. package/lib/view/people/invitePeopleEpic.js +53 -0
  407. package/lib/view/people/inviteZeniPeopleEpic.d.ts +50 -0
  408. package/lib/view/people/inviteZeniPeopleEpic.js +52 -0
  409. package/lib/view/people/peopleSaveUpdatesEpic.d.ts +6 -0
  410. package/lib/view/people/peopleSaveUpdatesEpic.js +83 -0
  411. package/lib/view/people/peopleSelector.d.ts +7 -0
  412. package/lib/view/people/peopleSelector.js +149 -0
  413. package/lib/view/people/resendInviteEpic.d.ts +26 -0
  414. package/lib/view/people/resendInviteEpic.js +25 -0
  415. package/lib/view/profitAndLoss/pAndLWithForecast/pAndLWithForecastSelector.d.ts +17 -0
  416. package/lib/view/profitAndLoss/pAndLWithForecast/pAndLWithForecastSelector.js +49 -0
  417. package/lib/view/profitAndLoss/profitAndLossSelector.d.ts +40 -0
  418. package/lib/view/profitAndLoss/profitAndLossSelector.js +104 -0
  419. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelector.d.ts +8 -0
  420. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelector.js +98 -0
  421. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.d.ts +13 -0
  422. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.js +26 -0
  423. package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.d.ts +10 -0
  424. package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.js +56 -0
  425. package/lib/view/recommendation/fetchRecommendationByEntityIdEpic.d.ts +7 -0
  426. package/lib/view/recommendation/fetchRecommendationByEntityIdEpic.js +39 -0
  427. package/lib/view/recommendation/fetchRecommendationByEntityNameEpic.d.ts +7 -0
  428. package/lib/view/recommendation/fetchRecommendationByEntityNameEpic.js +38 -0
  429. package/lib/view/recommendation/recommendationHelper.d.ts +6 -0
  430. package/lib/view/recommendation/recommendationHelper.js +58 -0
  431. package/lib/view/recommendation/recommendationPayload.d.ts +10 -0
  432. package/lib/view/recommendation/recommendationPayload.js +2 -0
  433. package/lib/view/referralView/epics/fetchReferralsEpic.d.ts +7 -0
  434. package/lib/view/referralView/epics/fetchReferralsEpic.js +36 -0
  435. package/lib/view/referralView/epics/fetchRewardsPlanEpic.d.ts +7 -0
  436. package/lib/view/referralView/epics/fetchRewardsPlanEpic.js +35 -0
  437. package/lib/view/referralView/epics/resendReferralInviteEpic.d.ts +8 -0
  438. package/lib/view/referralView/epics/resendReferralInviteEpic.js +33 -0
  439. package/lib/view/referralView/epics/sendReferralInviteEpic.d.ts +8 -0
  440. package/lib/view/referralView/epics/sendReferralInviteEpic.js +38 -0
  441. package/lib/view/referralView/referralSelector.d.ts +25 -0
  442. package/lib/view/referralView/referralSelector.js +90 -0
  443. package/lib/view/reimbursementCard/fetchReimbursementCardEpic.d.ts +8 -0
  444. package/lib/view/reimbursementCard/fetchReimbursementCardEpic.js +45 -0
  445. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +12 -0
  446. package/lib/view/reimbursementCard/reimbursementCardSelector.js +16 -0
  447. package/lib/view/reportUIOptions/toggleReportUIOptionForecastModeEpic.d.ts +11 -0
  448. package/lib/view/reportUIOptions/toggleReportUIOptionForecastModeEpic.js +40 -0
  449. package/lib/view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic.d.ts +43 -0
  450. package/lib/view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic.js +74 -0
  451. package/lib/view/reportUIOptions/updateReportUIOptionCompareModeEpic.d.ts +17 -0
  452. package/lib/view/reportUIOptions/updateReportUIOptionCompareModeEpic.js +54 -0
  453. package/lib/view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic.d.ts +10 -0
  454. package/lib/view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic.js +68 -0
  455. package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.d.ts +14 -0
  456. package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.js +32 -0
  457. package/lib/view/reportUIOptions/updateReportUIOptionTimeFrameEpic.d.ts +11 -0
  458. package/lib/view/reportUIOptions/updateReportUIOptionTimeFrameEpic.js +15 -0
  459. package/lib/view/revenueClassesView/revenueClassesViewSelector.d.ts +12 -0
  460. package/lib/view/revenueClassesView/revenueClassesViewSelector.js +94 -0
  461. package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.d.ts +15 -0
  462. package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.js +16 -0
  463. package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.d.ts +7 -0
  464. package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.js +39 -0
  465. package/lib/view/reviewCompanyView/retryBankAccountConnectionEpic.d.ts +8 -0
  466. package/lib/view/reviewCompanyView/retryBankAccountConnectionEpic.js +77 -0
  467. package/lib/view/reviewCompanyView/reviewCompanyViewSelector.d.ts +15 -0
  468. package/lib/view/reviewCompanyView/reviewCompanyViewSelector.js +87 -0
  469. package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.d.ts +6 -0
  470. package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +35 -0
  471. package/lib/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.d.ts +8 -0
  472. package/lib/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.js +80 -0
  473. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.d.ts +8 -0
  474. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +58 -0
  475. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.d.ts +8 -0
  476. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +26 -0
  477. package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.d.ts +6 -0
  478. package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.js +35 -0
  479. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.d.ts +11 -0
  480. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +101 -0
  481. package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.d.ts +6 -0
  482. package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.js +36 -0
  483. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +64 -0
  484. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +171 -0
  485. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +33 -0
  486. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +99 -0
  487. package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.d.ts +8 -0
  488. package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.js +53 -0
  489. package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.d.ts +17 -0
  490. package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.js +66 -0
  491. package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.d.ts +6 -0
  492. package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.js +15 -0
  493. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.d.ts +97 -0
  494. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.js +269 -0
  495. package/lib/view/scheduleView/scheduleListView/scheduleListPayload.d.ts +7 -0
  496. package/lib/view/scheduleView/scheduleListView/scheduleListPayload.js +2 -0
  497. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.d.ts +36 -0
  498. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +210 -0
  499. package/lib/view/settingsView/epic/fetchBankAccountsListEpic.d.ts +22 -0
  500. package/lib/view/settingsView/epic/fetchBankAccountsListEpic.js +30 -0
  501. package/lib/view/settingsView/epic/fetchBankConnectionsViewEpic.d.ts +6 -0
  502. package/lib/view/settingsView/epic/fetchBankConnectionsViewEpic.js +14 -0
  503. package/lib/view/settingsView/epic/fetchMyProfileEpic.d.ts +43 -0
  504. package/lib/view/settingsView/epic/fetchMyProfileViewEpic.d.ts +7 -0
  505. package/lib/view/settingsView/epic/fetchMyProfileViewEpic.js +17 -0
  506. package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.d.ts +17 -0
  507. package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.js +23 -0
  508. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +31 -0
  509. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.js +70 -0
  510. package/lib/view/settingsView/settingsViewHelpers.d.ts +12 -0
  511. package/lib/view/settingsView/settingsViewHelpers.js +116 -0
  512. package/lib/view/settingsView/settingsViewSelector.d.ts +16 -0
  513. package/lib/view/settingsView/settingsViewSelector.js +122 -0
  514. package/lib/view/settingsView/types/settingsViewSelectorTypes.d.ts +29 -0
  515. package/lib/view/settingsView/types/settingsViewSelectorTypes.js +2 -0
  516. package/lib/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.d.ts +11 -0
  517. package/lib/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.js +54 -0
  518. package/lib/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.d.ts +13 -0
  519. package/lib/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.js +78 -0
  520. package/lib/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.d.ts +10 -0
  521. package/lib/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.js +66 -0
  522. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.d.ts +41 -0
  523. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +161 -0
  524. package/lib/view/spendManagement/billPay/billList/billListDownloadSelector.d.ts +12 -0
  525. package/lib/view/spendManagement/billPay/billList/billListDownloadSelector.js +69 -0
  526. package/lib/view/spendManagement/billPay/billList/fetchBillListEpic.d.ts +7 -0
  527. package/lib/view/spendManagement/billPay/billList/fetchBillListEpic.js +42 -0
  528. package/lib/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.d.ts +11 -0
  529. package/lib/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.js +49 -0
  530. package/lib/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.d.ts +7 -0
  531. package/lib/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.js +29 -0
  532. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.d.ts +18 -0
  533. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.js +2 -0
  534. package/lib/view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic.d.ts +8 -0
  535. package/lib/view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic.js +42 -0
  536. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.d.ts +12 -0
  537. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.js +2 -0
  538. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/deleteBillPayApprovalRuleEpic.d.ts +10 -0
  539. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/deleteBillPayApprovalRuleEpic.js +40 -0
  540. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.d.ts +7 -0
  541. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.js +29 -0
  542. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversListEpic.d.ts +9 -0
  543. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversListEpic.js +40 -0
  544. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPaySetupApproverViewEpic.d.ts +9 -0
  545. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPaySetupApproverViewEpic.js +42 -0
  546. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.d.ts +5 -0
  547. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.js +37 -0
  548. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/saveBillPaySetupApproverViewUpdatesEpic.d.ts +10 -0
  549. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/saveBillPaySetupApproverViewUpdatesEpic.js +67 -0
  550. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.d.ts +19 -0
  551. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +50 -0
  552. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.d.ts +6 -0
  553. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.js +2 -0
  554. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewSelector.d.ts +16 -0
  555. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewSelector.js +29 -0
  556. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.d.ts +16 -0
  557. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.js +70 -0
  558. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayTermsEpic.d.ts +11 -0
  559. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayTermsEpic.js +44 -0
  560. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayUpdatedTermsEpic.d.ts +11 -0
  561. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayUpdatedTermsEpic.js +44 -0
  562. package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.d.ts +10 -0
  563. package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.js +2 -0
  564. package/lib/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.d.ts +7 -0
  565. package/lib/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.js +88 -0
  566. package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.d.ts +13 -0
  567. package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.js +58 -0
  568. package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.d.ts +14 -0
  569. package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js +94 -0
  570. package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorByNameAndParseInvoice.d.ts +14 -0
  571. package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorByNameAndParseInvoice.js +39 -0
  572. package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.d.ts +15 -0
  573. package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.js +214 -0
  574. package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.d.ts +14 -0
  575. package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +406 -0
  576. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +17 -0
  577. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +255 -0
  578. package/lib/view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic.d.ts +11 -0
  579. package/lib/view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic.js +116 -0
  580. package/lib/view/spendManagement/billPay/internationalWire/epics/createInternationalPaymentInstrumentEpic.d.ts +10 -0
  581. package/lib/view/spendManagement/billPay/internationalWire/epics/createInternationalPaymentInstrumentEpic.js +117 -0
  582. package/lib/view/spendManagement/billPay/internationalWire/epics/deletePaymentInstrumentEpic.d.ts +9 -0
  583. package/lib/view/spendManagement/billPay/internationalWire/epics/deletePaymentInstrumentEpic.js +59 -0
  584. package/lib/view/spendManagement/billPay/internationalWire/epics/fetchInternationalWireDynamicFormEpic.d.ts +7 -0
  585. package/lib/view/spendManagement/billPay/internationalWire/epics/fetchInternationalWireDynamicFormEpic.js +54 -0
  586. package/lib/view/spendManagement/billPay/internationalWire/epics/initializeDynamicFormEpic.d.ts +8 -0
  587. package/lib/view/spendManagement/billPay/internationalWire/epics/initializeDynamicFormEpic.js +41 -0
  588. package/lib/view/spendManagement/billPay/internationalWire/epics/initializeInternationalWireLocalDataEpic.d.ts +6 -0
  589. package/lib/view/spendManagement/billPay/internationalWire/epics/initializeInternationalWireLocalDataEpic.js +49 -0
  590. package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.d.ts +12 -0
  591. package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.js +49 -0
  592. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic.d.ts +7 -0
  593. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic.js +44 -0
  594. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic.d.ts +7 -0
  595. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic.js +44 -0
  596. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.d.ts +7 -0
  597. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.js +42 -0
  598. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic.d.ts +7 -0
  599. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic.js +35 -0
  600. package/lib/view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic.d.ts +8 -0
  601. package/lib/view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic.js +97 -0
  602. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.d.ts +41 -0
  603. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.js +2 -0
  604. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewSelector.d.ts +15 -0
  605. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewSelector.js +57 -0
  606. package/lib/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.d.ts +8 -0
  607. package/lib/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.js +66 -0
  608. package/lib/view/spendManagement/billPay/previousBills/previousBillsPayload.d.ts +24 -0
  609. package/lib/view/spendManagement/billPay/previousBills/previousBillsPayload.js +2 -0
  610. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic.d.ts +7 -0
  611. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic.js +32 -0
  612. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectSelector.d.ts +3 -0
  613. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectSelector.js +12 -0
  614. package/lib/view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic.d.ts +7 -0
  615. package/lib/view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic.js +23 -0
  616. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.d.ts +18 -0
  617. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +73 -0
  618. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.d.ts +11 -0
  619. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +58 -0
  620. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailPageEpic.d.ts +7 -0
  621. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailPageEpic.js +45 -0
  622. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.d.ts +8 -0
  623. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.js +44 -0
  624. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardDetailEpic.d.ts +11 -0
  625. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardDetailEpic.js +60 -0
  626. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.d.ts +31 -0
  627. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +92 -0
  628. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListEpic.d.ts +10 -0
  629. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListEpic.js +26 -0
  630. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.d.ts +9 -0
  631. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.js +51 -0
  632. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountEpic.d.ts +7 -0
  633. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountEpic.js +23 -0
  634. package/lib/view/spendManagement/chargeCards/chargeCardList/issueChargeCardEpic.d.ts +11 -0
  635. package/lib/view/spendManagement/chargeCards/chargeCardList/issueChargeCardEpic.js +65 -0
  636. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.d.ts +6 -0
  637. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.js +2 -0
  638. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.d.ts +18 -0
  639. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.js +33 -0
  640. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic.d.ts +11 -0
  641. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic.js +44 -0
  642. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.d.ts +16 -0
  643. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.js +70 -0
  644. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.d.ts +10 -0
  645. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.js +2 -0
  646. package/lib/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.d.ts +7 -0
  647. package/lib/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.js +61 -0
  648. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/getPaymentAccountsEpic.d.ts +9 -0
  649. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/getPaymentAccountsEpic.js +33 -0
  650. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountEpic.d.ts +9 -0
  651. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountEpic.js +31 -0
  652. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountLoginStatusEpic.d.ts +10 -0
  653. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountLoginStatusEpic.js +37 -0
  654. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountStatusEpic.d.ts +10 -0
  655. package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountStatusEpic.js +37 -0
  656. package/lib/view/spendManagement/commonSetup/epic/plaidConnection/establishPlaidConnectionEpic.d.ts +13 -0
  657. package/lib/view/spendManagement/commonSetup/epic/plaidConnection/establishPlaidConnectionEpic.js +70 -0
  658. package/lib/view/spendManagement/commonSetup/epic/plaidConnection/getPlaidLinkTokenEpic.d.ts +15 -0
  659. package/lib/view/spendManagement/commonSetup/epic/plaidConnection/getPlaidLinkTokenEpic.js +52 -0
  660. package/lib/view/spendManagement/commonSetup/epic/setup/enableSetupEpic.d.ts +10 -0
  661. package/lib/view/spendManagement/commonSetup/epic/setup/enableSetupEpic.js +52 -0
  662. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +25 -0
  663. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +248 -0
  664. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.d.ts +14 -0
  665. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +135 -0
  666. package/lib/view/spendManagement/commonSetup/setupViewPayload.d.ts +21 -0
  667. package/lib/view/spendManagement/commonSetup/setupViewPayload.js +2 -0
  668. package/lib/view/spendManagement/commonSetup/types/paymentAccount.d.ts +10 -0
  669. package/lib/view/spendManagement/commonSetup/types/paymentAccount.js +2 -0
  670. package/lib/view/spendManagement/commonSetup/types/plaidConnection.d.ts +6 -0
  671. package/lib/view/spendManagement/commonSetup/types/plaidConnection.js +2 -0
  672. package/lib/view/spendManagement/merchantList/fetchMerchantListEpic.d.ts +10 -0
  673. package/lib/view/spendManagement/merchantList/fetchMerchantListEpic.js +31 -0
  674. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.d.ts +8 -0
  675. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.js +2 -0
  676. package/lib/view/spendManagement/realTimeApprovalView/saveRealTimeApprovalEpic.d.ts +11 -0
  677. package/lib/view/spendManagement/realTimeApprovalView/saveRealTimeApprovalEpic.js +127 -0
  678. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.d.ts +7 -0
  679. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.js +63 -0
  680. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.d.ts +13 -0
  681. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.js +78 -0
  682. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.d.ts +16 -0
  683. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.js +127 -0
  684. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.d.ts +12 -0
  685. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js +56 -0
  686. package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.d.ts +10 -0
  687. package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.js +165 -0
  688. package/lib/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.d.ts +15 -0
  689. package/lib/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.js +123 -0
  690. package/lib/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.d.ts +8 -0
  691. package/lib/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.js +25 -0
  692. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.d.ts +11 -0
  693. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.js +57 -0
  694. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.d.ts +9 -0
  695. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.js +66 -0
  696. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.d.ts +9 -0
  697. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.js +55 -0
  698. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.d.ts +7 -0
  699. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.js +66 -0
  700. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.d.ts +19 -0
  701. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js +116 -0
  702. package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListEpic.d.ts +7 -0
  703. package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListEpic.js +42 -0
  704. package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.d.ts +10 -0
  705. package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.js +51 -0
  706. package/lib/view/spendManagement/reimbursement/remiListView/remiListDownloadSelector.d.ts +14 -0
  707. package/lib/view/spendManagement/reimbursement/remiListView/remiListDownloadSelector.js +75 -0
  708. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic.d.ts +10 -0
  709. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic.js +40 -0
  710. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversDetailsEpic.d.ts +7 -0
  711. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversDetailsEpic.js +29 -0
  712. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversListEpic.d.ts +10 -0
  713. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversListEpic.js +40 -0
  714. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiSetupApproverViewEpic.d.ts +9 -0
  715. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiSetupApproverViewEpic.js +42 -0
  716. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.d.ts +5 -0
  717. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.js +37 -0
  718. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/saveRemiSetupApproverViewUpdatesEpic.d.ts +10 -0
  719. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/saveRemiSetupApproverViewUpdatesEpic.js +67 -0
  720. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.d.ts +14 -0
  721. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.js +2 -0
  722. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/fetchRemiSetupViewEpic.d.ts +16 -0
  723. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/fetchRemiSetupViewEpic.js +72 -0
  724. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateMileageDetailsEpic.d.ts +16 -0
  725. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateMileageDetailsEpic.js +80 -0
  726. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.d.ts +13 -0
  727. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.js +41 -0
  728. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptEmployeeRemiTermsEpic.d.ts +9 -0
  729. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptEmployeeRemiTermsEpic.js +38 -0
  730. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptRemiTermsEpic.d.ts +11 -0
  731. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptRemiTermsEpic.js +44 -0
  732. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.d.ts +6 -0
  733. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.js +2 -0
  734. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewSelector.d.ts +26 -0
  735. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewSelector.js +44 -0
  736. package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.d.ts +14 -0
  737. package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.js +2 -0
  738. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.d.ts +8 -0
  739. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.js +49 -0
  740. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositSelector.d.ts +15 -0
  741. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositSelector.js +32 -0
  742. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.d.ts +26 -0
  743. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.js +87 -0
  744. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.d.ts +11 -0
  745. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.js +53 -0
  746. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.d.ts +8 -0
  747. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.js +36 -0
  748. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.d.ts +7 -0
  749. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.js +38 -0
  750. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.d.ts +9 -0
  751. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.js +68 -0
  752. package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.d.ts +9 -0
  753. package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.js +38 -0
  754. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.d.ts +17 -0
  755. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.js +2 -0
  756. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector.d.ts +9 -0
  757. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector.js +26 -0
  758. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.d.ts +8 -0
  759. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.js +58 -0
  760. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.d.ts +9 -0
  761. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.js +35 -0
  762. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListPayload.d.ts +3 -0
  763. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListPayload.js +2 -0
  764. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/unlinkPaymentAccountEpic.d.ts +8 -0
  765. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/unlinkPaymentAccountEpic.js +54 -0
  766. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.d.ts +9 -0
  767. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.js +2 -0
  768. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.d.ts +9 -0
  769. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.js +58 -0
  770. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.d.ts +10 -0
  771. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.js +69 -0
  772. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic.d.ts +9 -0
  773. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic.js +38 -0
  774. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.d.ts +22 -0
  775. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.js +59 -0
  776. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/acceptZeniAccountTermsEpic.d.ts +11 -0
  777. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/acceptZeniAccountTermsEpic.js +45 -0
  778. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.d.ts +16 -0
  779. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.js +71 -0
  780. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.d.ts +10 -0
  781. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.js +2 -0
  782. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.d.ts +6 -0
  783. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.js +2 -0
  784. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector.d.ts +18 -0
  785. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector.js +33 -0
  786. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.d.ts +8 -0
  787. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.js +33 -0
  788. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.d.ts +14 -0
  789. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.js +23 -0
  790. package/lib/view/subscriptionView/epic/fetchSubscriptionAddOnsEpic.d.ts +8 -0
  791. package/lib/view/subscriptionView/epic/fetchSubscriptionAddOnsEpic.js +39 -0
  792. package/lib/view/subscriptionView/epic/fetchSubscriptionCouponsEpic.d.ts +8 -0
  793. package/lib/view/subscriptionView/epic/fetchSubscriptionCouponsEpic.js +39 -0
  794. package/lib/view/subscriptionView/epic/fetchSubscriptionCreateEstimateEpic.d.ts +7 -0
  795. package/lib/view/subscriptionView/epic/fetchSubscriptionCreateEstimateEpic.js +49 -0
  796. package/lib/view/subscriptionView/epic/fetchSubscriptionDetailsEpic.d.ts +12 -0
  797. package/lib/view/subscriptionView/epic/fetchSubscriptionDetailsEpic.js +73 -0
  798. package/lib/view/subscriptionView/epic/fetchSubscriptionListEpic.d.ts +22 -0
  799. package/lib/view/subscriptionView/epic/fetchSubscriptionListEpic.js +87 -0
  800. package/lib/view/subscriptionView/epic/fetchSubscriptionPlansEpic.d.ts +8 -0
  801. package/lib/view/subscriptionView/epic/fetchSubscriptionPlansEpic.js +38 -0
  802. package/lib/view/subscriptionView/epic/fetchSubscriptionUpdateEstimateEpic.d.ts +7 -0
  803. package/lib/view/subscriptionView/epic/fetchSubscriptionUpdateEstimateEpic.js +52 -0
  804. package/lib/view/subscriptionView/epic/initializeSubscriptionLocalDataEpic.d.ts +5 -0
  805. package/lib/view/subscriptionView/epic/initializeSubscriptionLocalDataEpic.js +44 -0
  806. package/lib/view/subscriptionView/epic/saveSubscriptionNotesUpdatesEpic.d.ts +7 -0
  807. package/lib/view/subscriptionView/epic/saveSubscriptionNotesUpdatesEpic.js +36 -0
  808. package/lib/view/subscriptionView/epic/saveSubscriptionUpdatesEpic.d.ts +11 -0
  809. package/lib/view/subscriptionView/epic/saveSubscriptionUpdatesEpic.js +92 -0
  810. package/lib/view/subscriptionView/reduceSubscriptionViewFetchState.d.ts +3 -0
  811. package/lib/view/subscriptionView/reduceSubscriptionViewFetchState.js +49 -0
  812. package/lib/view/subscriptionView/selectorHelpers.d.ts +4 -0
  813. package/lib/view/subscriptionView/selectorHelpers.js +33 -0
  814. package/lib/view/subscriptionView/subscriptionViewPayload.d.ts +78 -0
  815. package/lib/view/subscriptionView/subscriptionViewPayload.js +42 -0
  816. package/lib/view/subscriptionView/subscriptionViewSelector.d.ts +7 -0
  817. package/lib/view/subscriptionView/subscriptionViewSelector.js +416 -0
  818. package/lib/view/subscriptionView/subscriptionViewSelectorTypes.d.ts +56 -0
  819. package/lib/view/subscriptionView/subscriptionViewSelectorTypes.js +2 -0
  820. package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.d.ts +15 -0
  821. package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.js +69 -0
  822. package/lib/view/taskManager/taskDetailView/epics/deleteTaskEpic.d.ts +7 -0
  823. package/lib/view/taskManager/taskDetailView/epics/deleteTaskEpic.js +46 -0
  824. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.d.ts +9 -0
  825. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.js +66 -0
  826. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailPageEpic.d.ts +8 -0
  827. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailPageEpic.js +38 -0
  828. package/lib/view/taskManager/taskDetailView/epics/fetchTaskHistoryEpic.d.ts +7 -0
  829. package/lib/view/taskManager/taskDetailView/epics/fetchTaskHistoryEpic.js +54 -0
  830. package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.d.ts +6 -0
  831. package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +36 -0
  832. package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.d.ts +8 -0
  833. package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +79 -0
  834. package/lib/view/taskManager/taskDetailView/taskDetailSelector.d.ts +25 -0
  835. package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +182 -0
  836. package/lib/view/taskManager/taskListView/fetchTaskListEpic.d.ts +8 -0
  837. package/lib/view/taskManager/taskListView/fetchTaskListEpic.js +33 -0
  838. package/lib/view/taskManager/taskListView/fetchTaskListPageEpic.d.ts +8 -0
  839. package/lib/view/taskManager/taskListView/fetchTaskListPageEpic.js +32 -0
  840. package/lib/view/taskManager/taskListView/taskListPayload.d.ts +6 -0
  841. package/lib/view/taskManager/taskListView/taskListPayload.js +2 -0
  842. package/lib/view/tasksCard/fetchTasksCardEpic.d.ts +14 -0
  843. package/lib/view/tasksCard/fetchTasksCardEpic.js +19 -0
  844. package/lib/view/tasksCard/tasksCardSelector.d.ts +20 -0
  845. package/lib/view/tasksCard/tasksCardSelector.js +53 -0
  846. package/lib/view/topEx/topExSelector.d.ts +38 -0
  847. package/lib/view/topEx/topExSelector.js +69 -0
  848. package/lib/view/topEx/topExSelectorTypes.d.ts +35 -0
  849. package/lib/view/topEx/topExSelectorTypes.js +2 -0
  850. package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.d.ts +5 -0
  851. package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.js +28 -0
  852. package/lib/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.d.ts +8 -0
  853. package/lib/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.js +52 -0
  854. package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.d.ts +5 -0
  855. package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.js +32 -0
  856. package/lib/view/transactionDetail/epics/saveTransactionHelper.d.ts +21 -0
  857. package/lib/view/transactionDetail/epics/saveTransactionHelper.js +288 -0
  858. package/lib/view/transactionDetail/epics/transactionDetailEpic.d.ts +14 -0
  859. package/lib/view/transactionDetail/epics/transactionDetailEpic.js +130 -0
  860. package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.d.ts +9 -0
  861. package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +214 -0
  862. package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.d.ts +10 -0
  863. package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.js +15 -0
  864. package/lib/view/transactionDetail/transactionDetailPayload.d.ts +34 -0
  865. package/lib/view/transactionDetail/transactionDetailPayload.js +2 -0
  866. package/lib/view/transactionDetail/transactionDetailSelector.d.ts +34 -0
  867. package/lib/view/transactionDetail/transactionDetailSelector.js +168 -0
  868. package/lib/view/transactionList/fetchTransactionListByAccountEpic.d.ts +8 -0
  869. package/lib/view/transactionList/fetchTransactionListByAccountEpic.js +58 -0
  870. package/lib/view/transactionList/fetchTransactionListByClassEpic.d.ts +8 -0
  871. package/lib/view/transactionList/fetchTransactionListByClassEpic.js +53 -0
  872. package/lib/view/transactionList/fetchTransactionListByEntityEpic.d.ts +8 -0
  873. package/lib/view/transactionList/fetchTransactionListByEntityEpic.js +53 -0
  874. package/lib/view/transactionList/fetchTransactionsListByCategoryTypeEpic.d.ts +8 -0
  875. package/lib/view/transactionList/fetchTransactionsListByCategoryTypeEpic.js +71 -0
  876. package/lib/view/transactionList/parallelFetchClassTransactionListEpic.d.ts +12 -0
  877. package/lib/view/transactionList/parallelFetchClassTransactionListEpic.js +84 -0
  878. package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.d.ts +14 -0
  879. package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.js +90 -0
  880. package/lib/view/transactionList/parallelFetchTransactionListByCategoryTypeEpic.d.ts +6 -0
  881. package/lib/view/transactionList/parallelFetchTransactionListByCategoryTypeEpic.js +36 -0
  882. package/lib/view/transactionList/transactionListByAccountSelector.d.ts +21 -0
  883. package/lib/view/transactionList/transactionListByAccountSelector.js +65 -0
  884. package/lib/view/transactionList/transactionListByCategoryTypeSelector.d.ts +15 -0
  885. package/lib/view/transactionList/transactionListByCategoryTypeSelector.js +54 -0
  886. package/lib/view/transactionList/transactionListByClassSelector.d.ts +22 -0
  887. package/lib/view/transactionList/transactionListByClassSelector.js +66 -0
  888. package/lib/view/trend/fetchExpenseTrendEpic.d.ts +8 -0
  889. package/lib/view/trend/fetchExpenseTrendEpic.js +59 -0
  890. package/lib/view/trend/fetchIncomeTrendEpic.d.ts +7 -0
  891. package/lib/view/trend/fetchIncomeTrendEpic.js +56 -0
  892. package/lib/view/trendWithTransactions/fetchTransactionsForEntityEpic.d.ts +7 -0
  893. package/lib/view/trendWithTransactions/fetchTransactionsForEntityEpic.js +18 -0
  894. package/lib/view/trendWithTransactions/fetchTrendForEntityEpic.d.ts +7 -0
  895. package/lib/view/trendWithTransactions/fetchTrendForEntityEpic.js +20 -0
  896. package/lib/view/twoFactorAuthentication/resendOtpEpic.d.ts +10 -0
  897. package/lib/view/twoFactorAuthentication/resendOtpEpic.js +90 -0
  898. package/lib/view/twoFactorAuthentication/sendOtpEpic.d.ts +10 -0
  899. package/lib/view/twoFactorAuthentication/sendOtpEpic.js +93 -0
  900. package/lib/view/twoFactorAuthentication/verifyOtpEpic.d.ts +10 -0
  901. package/lib/view/twoFactorAuthentication/verifyOtpEpic.js +90 -0
  902. package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.d.ts +12 -0
  903. package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.js +55 -0
  904. package/lib/view/userFinancialAccount/userFinancialAccountSelector.d.ts +14 -0
  905. package/lib/view/userFinancialAccount/userFinancialAccountSelector.js +35 -0
  906. package/lib/view/userListView/fetchUserListByTypeEpic.d.ts +30 -0
  907. package/lib/view/userListView/fetchUserListByTypeEpic.js +55 -0
  908. package/lib/view/userListView/userListViewPayload.d.ts +8 -0
  909. package/lib/view/userListView/userListViewPayload.js +2 -0
  910. package/lib/view/userRoleConfigView/userRoleConfigEpic.d.ts +7 -0
  911. package/lib/view/userRoleConfigView/userRoleConfigEpic.js +29 -0
  912. package/lib/view/userRoleConfigView/userRoleConfigSelector.d.ts +12 -0
  913. package/lib/view/userRoleConfigView/userRoleConfigSelector.js +12 -0
  914. package/lib/view/vendorList/fetchVendorsListEpic.d.ts +17 -0
  915. package/lib/view/vendorList/fetchVendorsListEpic.js +95 -0
  916. package/lib/view/vendorList/vendorListSelector.d.ts +29 -0
  917. package/lib/view/vendorList/vendorListSelector.js +78 -0
  918. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewViewEpic.d.ts +17 -0
  919. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewViewEpic.js +94 -0
  920. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.d.ts +10 -0
  921. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +201 -0
  922. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.d.ts +39 -0
  923. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.js +97 -0
  924. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/approveVendorGlobalReviewEpic.d.ts +7 -0
  925. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/approveVendorGlobalReviewEpic.js +119 -0
  926. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic.d.ts +17 -0
  927. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic.js +96 -0
  928. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/rejectVendorGlobalReviewEpic.d.ts +7 -0
  929. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/rejectVendorGlobalReviewEpic.js +92 -0
  930. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.d.ts +22 -0
  931. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.js +58 -0
  932. package/lib/view/vendorTypeList/vendorTypeListEpic.d.ts +7 -0
  933. package/lib/view/vendorTypeList/vendorTypeListEpic.js +23 -0
  934. package/lib/view/vendorTypeList/vendorTypeSelector.d.ts +12 -0
  935. package/lib/view/vendorTypeList/vendorTypeSelector.js +12 -0
  936. package/lib/view/zeniAccStatementList/fetchZeniAccStatementListEpic.d.ts +7 -0
  937. package/lib/view/zeniAccStatementList/fetchZeniAccStatementListEpic.js +37 -0
  938. package/lib/view/zeniAccStatementList/fetchZeniAccStatementPageEpic.d.ts +7 -0
  939. package/lib/view/zeniAccStatementList/fetchZeniAccStatementPageEpic.js +37 -0
  940. package/lib/view/zeniAccStatementList/zeniAccStatementListSelector.d.ts +10 -0
  941. package/lib/view/zeniAccStatementList/zeniAccStatementListSelector.js +40 -0
  942. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.d.ts +13 -0
  943. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.js +20 -0
  944. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.d.ts +14 -0
  945. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.js +18 -0
  946. package/package.json +1 -1
@@ -0,0 +1,17 @@
1
+ import { ActionsObservable, StateObservable } from 'redux-observable';
2
+ import { ZeniAPI } from '../../../../../zeniAPI';
3
+ import { RootState } from '../../../../../reducer';
4
+ import { saveBillDetail, saveBillSuccessOrFailure } from '../editBillViewReducer';
5
+ import { updateBillTransaction } from '../../../../../entity/billPay/billTransaction/billTransactionReducer';
6
+ import { RecurringBillInstance } from '../editBillViewState';
7
+ import { updateRecurringBillConfigs, updateRecurringBills } from '../../../../../entity/billPay/recurringBills/recurringBillsReducer';
8
+ import { openSnackbar } from '../../../../../entity/snackbar/snackbarReducer';
9
+ export declare type ActionType = ReturnType<typeof saveBillDetail> | ReturnType<typeof updateBillTransaction> | ReturnType<typeof openSnackbar> | ReturnType<typeof saveBillSuccessOrFailure> | ReturnType<typeof updateRecurringBillConfigs> | ReturnType<typeof updateRecurringBills>;
10
+ export declare const saveBillDetailEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<ActionType>;
11
+ export interface RecurringBillInstancePayload {
12
+ instance: number;
13
+ payment_date: string;
14
+ vendor_receive_date: string;
15
+ vendor_receive_date_notes: string;
16
+ }
17
+ export declare const toRecurringBillInstancePayload: (recurringBillInstance: RecurringBillInstance, maxPaymentProcessingDays: number) => RecurringBillInstancePayload;
@@ -0,0 +1,255 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.toRecurringBillInstancePayload = exports.saveBillDetailEpic = void 0;
7
+ const rxjs_1 = require("rxjs");
8
+ const operators_1 = require("rxjs/operators");
9
+ const get_1 = __importDefault(require("lodash/get"));
10
+ const zeniDayJS_1 = require("../../../../../zeniDayJS");
11
+ const responsePayload_1 = require("../../../../../responsePayload");
12
+ const editBillViewReducer_1 = require("../editBillViewReducer");
13
+ const billTransactionReducer_1 = require("../../../../../entity/billPay/billTransaction/billTransactionReducer");
14
+ const editBillViewPayload_1 = require("../editBillViewPayload");
15
+ const transactionLinePayload_1 = require("../../../../../entity/transaction/payloadTypes/transactionLinePayload");
16
+ const accountSelector_1 = require("../../../../../entity/account/accountSelector");
17
+ const paymentAccountSelector_1 = require("../../../../../entity/paymentAccount/paymentAccountSelector");
18
+ const recurringBillsReducer_1 = require("../../../../../entity/billPay/recurringBills/recurringBillsReducer");
19
+ const billDetailViewState_1 = require("../../billDetailView/billDetailViewState");
20
+ const billPayConfigState_1 = require("../../billPayConfig/billPayConfigState");
21
+ const snackbarReducer_1 = require("../../../../../entity/snackbar/snackbarReducer");
22
+ const billPayConfigPayload_1 = require("../../billPayConfig/billPayConfigPayload");
23
+ const vendorSelector_1 = require("../../../../../entity/vendor/vendorSelector");
24
+ const recurringBillsPayload_1 = require("../../../../../entity/billPay/recurringBills/recurringBillsPayload");
25
+ const workingDayHelper_1 = require("../../../../../commonStateTypes/workingDayHelper");
26
+ const helpers_1 = require("../../../helpers");
27
+ const saveBillDetailEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(editBillViewReducer_1.saveBillDetail.match), (0, operators_1.mergeMap)((action) => {
28
+ const state = state$.value;
29
+ const { billStageCode, billId, isLocalCurrencyEnabled, isVendorRecommendationEnabled, } = action.payload;
30
+ const key = (0, billDetailViewState_1.getBillTransactionDetailKey)(billId !== null && billId !== void 0 ? billId : '');
31
+ const billDetail = billId != null
32
+ ? state.editBillDetailViewState.editBillStateById[key]
33
+ : state.editBillDetailViewState.newBillState;
34
+ const payload = prepareSaveBillPayload(state.accountState, state.billTransactionState, state.paymentAccountState, state.vendorState, state.recurringBillState, billDetail, billStageCode, isVendorRecommendationEnabled, isLocalCurrencyEnabled);
35
+ const isRecurringBill = billDetail.billDetailLocalData.isRecurring;
36
+ const saveBillBaseURL = `${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/bills/transactions`;
37
+ const saveBillApi = billId != null
38
+ ? zeniAPI.putAndGetJSON(getSaveBillApiURL(saveBillBaseURL, isRecurringBill, billId, state.billTransactionState), payload)
39
+ : zeniAPI.postAndGetJSON(getSaveBillApiURL(saveBillBaseURL, isRecurringBill), payload);
40
+ return saveBillApi.pipe((0, operators_1.mergeMap)((response) => {
41
+ var _a, _b, _c, _d;
42
+ if ((0, responsePayload_1.isSuccessResponse)(response) &&
43
+ ((_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.transactions[0]) === null || _b === void 0 ? void 0 : _b.transaction_id) != null) {
44
+ const actions = [
45
+ (0, billTransactionReducer_1.updateBillTransaction)(response.data.transactions[0]),
46
+ ];
47
+ if (isRecurringBill) {
48
+ actions.push((0, recurringBillsReducer_1.updateRecurringBillConfigs)((_c = response.data.recurring_bill_configs) !== null && _c !== void 0 ? _c : []), (0, recurringBillsReducer_1.updateRecurringBills)((_d = response.data.recurring_bill_instances) !== null && _d !== void 0 ? _d : []));
49
+ }
50
+ actions.push((0, editBillViewReducer_1.saveBillSuccessOrFailure)('Completed', action.payload.billId), (0, snackbarReducer_1.openSnackbar)({
51
+ messageSection: billStageCode === 'pending_approval'
52
+ ? 'bill_pay_sent_for_approval'
53
+ : 'bill_pay_updated',
54
+ messageText: 'success',
55
+ type: 'success',
56
+ }));
57
+ return (0, rxjs_1.from)(actions);
58
+ }
59
+ else {
60
+ return (0, rxjs_1.of)((0, editBillViewReducer_1.saveBillSuccessOrFailure)('Error', action.payload.billId, response.status), (0, snackbarReducer_1.openSnackbar)({
61
+ messageSection: 'bill_pay_updated',
62
+ messageText: 'failed',
63
+ type: 'error',
64
+ variables: [
65
+ {
66
+ variableName: '_api-error_',
67
+ variableValue: response.status.message,
68
+ },
69
+ ],
70
+ }));
71
+ }
72
+ }), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, editBillViewReducer_1.saveBillSuccessOrFailure)('Error', action.payload.billId, (0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', `REST API call errored out ${JSON.stringify(error)}`)))));
73
+ }));
74
+ exports.saveBillDetailEpic = saveBillDetailEpic;
75
+ const getSaveBillApiURL = (saveBillBaseURL, isRecurring, billId, billTransactionState) => {
76
+ if (billId != null) {
77
+ const originalBillDetail = (0, get_1.default)(billTransactionState === null || billTransactionState === void 0 ? void 0 : billTransactionState.transactionById, billId);
78
+ return isRecurring || (originalBillDetail === null || originalBillDetail === void 0 ? void 0 : originalBillDetail.isRecurring) === true //platform needs this to clear old Recurring details
79
+ ? `${saveBillBaseURL}/${billId}/recurring`
80
+ : `${saveBillBaseURL}/${billId}`;
81
+ }
82
+ else {
83
+ return isRecurring ? `${saveBillBaseURL}/recurring` : `${saveBillBaseURL}`;
84
+ }
85
+ };
86
+ function prepareSaveBillPayload(accountState, billTransactionState, paymentAccountState, vendorState, recurringBillState, billDetail, billStageCode, isVendorRecommendationEnabled, isLocalCurrencyEnabled) {
87
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22;
88
+ const billId = billDetail.billId;
89
+ let detail;
90
+ const withdrawFromAccount = (_a = billDetail.billDetailLocalData.paymentDetailsSection) === null || _a === void 0 ? void 0 : _a.withdrawFrom;
91
+ // In case if withdraw from account is a payment account we need a connected zeni account id
92
+ const zeniAccountId = (_c = (0, paymentAccountSelector_1.getPaymentAccountByPaymentAccountId)(paymentAccountState, (_b = withdrawFromAccount === null || withdrawFromAccount === void 0 ? void 0 : withdrawFromAccount.id) !== null && _b !== void 0 ? _b : '')) === null || _c === void 0 ? void 0 : _c.zeniAccountId;
93
+ const recommendedVendor = billDetail.billDetailLocalData.recommendedVendorId != null
94
+ ? (0, vendorSelector_1.getVendorByVendorId)(vendorState, billDetail.billDetailLocalData.recommendedVendorId)
95
+ : undefined;
96
+ const isRecommendedVendor = isVendorRecommendationEnabled &&
97
+ recommendedVendor != null &&
98
+ billDetail.addBillAutoFields.tentativeVendorName != null;
99
+ const isRecurring = Boolean(billDetail.billDetailLocalData.isRecurring) === true;
100
+ const payload = {
101
+ vendor_id: isRecommendedVendor
102
+ ? recommendedVendor.qboId
103
+ : (_d = billDetail.billDetailLocalData.vendor) === null || _d === void 0 ? void 0 : _d.qboId,
104
+ vendor_name: isRecommendedVendor
105
+ ? recommendedVendor.name
106
+ : (_e = billDetail.billDetailLocalData.vendor) === null || _e === void 0 ? void 0 : _e.name,
107
+ //pass candidate_vendor_name only when we are not adding vendor(recommended or actual) to the bill
108
+ candidate_vendor_name: isRecommendedVendor ||
109
+ ((_f = billDetail.billDetailLocalData.vendor) === null || _f === void 0 ? void 0 : _f.qboId) != null
110
+ ? undefined
111
+ : (_g = billDetail.addBillAutoFields.tentativeVendorName) !== null && _g !== void 0 ? _g : billDetail.billDetailLocalData.candidateVendorname,
112
+ ocr_parsed_vendor_term: Boolean(billDetail.addBillAutoFields.tentativeVendorName) === true
113
+ ? billDetail.addBillAutoFields.tentativeVendorName
114
+ : null,
115
+ transaction_type: 'bill',
116
+ bill_pay_provider: 'zeni',
117
+ account_id: zeniAccountId != null
118
+ ? (_h = (0, accountSelector_1.getAccountBase)(accountState, zeniAccountId, 'bill_pay')) === null || _h === void 0 ? void 0 : _h.qboId
119
+ : '',
120
+ file_id: (_j = billDetail.billDetailLocalData.file) === null || _j === void 0 ? void 0 : _j.fileId,
121
+ transaction_date: (_m = (_l = (_k = billDetail.billDetailLocalData.whatForSection) === null || _k === void 0 ? void 0 : _k.invoiceDate) === null || _l === void 0 ? void 0 : _l.format('YYYY-MM-DD')) !== null && _m !== void 0 ? _m : (0, zeniDayJS_1.dateNow)().format('YYYY-MM-DD'),
122
+ due_date: (_q = (_p = (_o = billDetail.billDetailLocalData.whatForSection) === null || _o === void 0 ? void 0 : _o.billDueDate) === null || _p === void 0 ? void 0 : _p.format('YYYY-MM-DD')) !== null && _q !== void 0 ? _q : null,
123
+ total_amount: (_s = (_r = billDetail.billDetailLocalData.totalAmount) === null || _r === void 0 ? void 0 : _r.amount) !== null && _s !== void 0 ? _s : 0,
124
+ bill_pay_info: {
125
+ stage: {
126
+ code: billStageCode,
127
+ },
128
+ payment_date: (_v = (_u = (_t = billDetail.billDetailLocalData.paymentDetailsSection) === null || _t === void 0 ? void 0 : _t.paymentDate) === null || _u === void 0 ? void 0 : _u.format('YYYY-MM-DD')) !== null && _v !== void 0 ? _v : null,
129
+ from_account: {
130
+ account_id: (_y = (_x = (_w = billDetail.billDetailLocalData.paymentDetailsSection) === null || _w === void 0 ? void 0 : _w.withdrawFrom) === null || _x === void 0 ? void 0 : _x.id) !== null && _y !== void 0 ? _y : '',
131
+ account_type: (_1 = (0, helpers_1.accountTypeSubConfigCodeToAccType)((_0 = (_z = billDetail.billDetailLocalData.paymentDetailsSection) === null || _z === void 0 ? void 0 : _z.withdrawFrom) === null || _0 === void 0 ? void 0 : _0.accType)) !== null && _1 !== void 0 ? _1 : '',
132
+ },
133
+ to_account: Object.assign({}, (isLocalCurrencyEnabled === true &&
134
+ ((_3 = (_2 = billDetail.billDetailLocalData.paymentDetailsSection) === null || _2 === void 0 ? void 0 : _2.paymentType) === null || _3 === void 0 ? void 0 : _3.method.includes('international')) === true
135
+ ? {
136
+ payment_instrument_id: Boolean(billDetail.billDetailLocalData
137
+ .isCollectToAccountInfoFromVendorContact) === false
138
+ ? (_5 = (_4 = billDetail.billDetailLocalData.paymentDetailsSection) === null || _4 === void 0 ? void 0 : _4.paymentTo) !== null && _5 !== void 0 ? _5 : null
139
+ : null,
140
+ }
141
+ : {
142
+ account_id: Boolean(billDetail.billDetailLocalData
143
+ .isCollectToAccountInfoFromVendorContact) === false
144
+ ? (_7 = (_6 = billDetail.billDetailLocalData.paymentDetailsSection) === null || _6 === void 0 ? void 0 : _6.paymentTo) !== null && _7 !== void 0 ? _7 : null
145
+ : null,
146
+ })),
147
+ to_account_vendor_email: (_8 = billDetail.billDetailLocalData.toAccountVendorEmail) !== null && _8 !== void 0 ? _8 : null,
148
+ is_collect_to_account_info_from_vendor_contact: billDetail.billDetailLocalData.isCollectToAccountInfoFromVendorContact,
149
+ is_cancelled: false,
150
+ bill_payment_method_type: getBillPaymentMethodTypePayload((_9 = billDetail.billDetailLocalData.paymentDetailsSection) === null || _9 === void 0 ? void 0 : _9.paymentType),
151
+ international_transfer_fee_bearer_payment_method: ((_11 = (_10 = billDetail.billDetailLocalData.paymentDetailsSection) === null || _10 === void 0 ? void 0 : _10.paymentType) === null || _11 === void 0 ? void 0 : _11.method.includes('international')) === true &&
152
+ ((_12 = billDetail.billDetailLocalData.vendor) === null || _12 === void 0 ? void 0 : _12.vendorCurrencyCode) === 'USD'
153
+ ? (_13 = billDetail.billDetailLocalData.paymentDetailsSection
154
+ .internationalTransferFeeBearerPaymentMethod) !== null && _13 !== void 0 ? _13 : 'swift_our' //default value for international method and USD currency
155
+ : null,
156
+ },
157
+ document_id: (_14 = billDetail.billDetailLocalData.whatForSection) === null || _14 === void 0 ? void 0 : _14.invoiceNumber,
158
+ transaction_memo: (_15 = billDetail.billDetailLocalData.whatForSection) === null || _15 === void 0 ? void 0 : _15.memo,
159
+ currency_code: (_17 = (_16 = billDetail.billDetailLocalData.whatForSection) === null || _16 === void 0 ? void 0 : _16.currencyCode) !== null && _17 !== void 0 ? _17 : 'USD',
160
+ lines: Object.keys(billDetail.billDetailLocalData.updatesByLineId).map((lineId) => {
161
+ const line = billDetail.billDetailLocalData.updatesByLineId[lineId];
162
+ const lineAsTransactionLinePayload = (0, editBillViewPayload_1.fromLineLocalDataToTransactionLinePayload)(line);
163
+ return (0, transactionLinePayload_1.toAccountAndClassLinePayload)(lineAsTransactionLinePayload);
164
+ }),
165
+ };
166
+ if (!isRecurring) {
167
+ payload.vendor_name = (_19 = (_18 = billDetail.billDetailLocalData.vendor) === null || _18 === void 0 ? void 0 : _18.name) !== null && _19 !== void 0 ? _19 : '';
168
+ }
169
+ if (billId != null) {
170
+ detail = (0, get_1.default)(billTransactionState.transactionById, billId, undefined);
171
+ payload.sync_token = (_20 = detail === null || detail === void 0 ? void 0 : detail.syncToken) !== null && _20 !== void 0 ? _20 : null;
172
+ payload.update_time = (_21 = detail === null || detail === void 0 ? void 0 : detail.updateTime.format('YYYY-MM-DD')) !== null && _21 !== void 0 ? _21 : null;
173
+ //required by platform to clear old recurring details
174
+ if ((detail === null || detail === void 0 ? void 0 : detail.isRecurring) === true &&
175
+ Boolean(billDetail.billDetailLocalData.isRecurring) === false) {
176
+ payload.is_recurring = false;
177
+ }
178
+ }
179
+ else {
180
+ payload.are_approvals_serialized = true;
181
+ }
182
+ if (billStageCode === 'pending_approval' &&
183
+ ((_22 = billDetail.billDetailLocalData.paymentDetailsSection) === null || _22 === void 0 ? void 0 : _22.conversionRate) != null) {
184
+ // required by platform
185
+ payload.exchange_rate =
186
+ 1 / billDetail.billDetailLocalData.paymentDetailsSection.conversionRate;
187
+ }
188
+ if (Boolean(billDetail.billDetailLocalData.isRecurring) === true) {
189
+ payload.is_recurring = true;
190
+ const recurringConfig = billDetail.billDetailLocalData.recurringConfig;
191
+ const recurringBillInstances = billDetail.billDetailLocalData.recurringBillInstances;
192
+ if (recurringConfig != null) {
193
+ payload.recurring_bill_config = (0, recurringBillsPayload_1.toRecurringConfigPayload)(recurringConfig);
194
+ }
195
+ if ((recurringConfig === null || recurringConfig === void 0 ? void 0 : recurringConfig.id) != null) {
196
+ const originalRecurringDetail = (0, get_1.default)(recurringBillState.recurringBillDetailByConfigId, recurringConfig.id);
197
+ const isConfigChangedForExistingBill = (0, helpers_1.isRecurringConfigChanged)(recurringConfig, originalRecurringDetail.recurringBillConfig, true);
198
+ payload.is_update_recurring_bill_config = isConfigChangedForExistingBill;
199
+ payload.is_update_future_recurring_bills =
200
+ recurringConfig.updateRecurringBills === 'all';
201
+ if ((isConfigChangedForExistingBill ||
202
+ recurringConfig.updateRecurringBills === 'all') &&
203
+ payload.recurring_bill_config != null) {
204
+ payload.recurring_bill_config.sync_token =
205
+ originalRecurringDetail.recurringBillConfig.syncToken;
206
+ }
207
+ if (recurringBillInstances != null) {
208
+ const futureRecurringBills = recurringBillInstances
209
+ .filter((instance) => Boolean(instance.readonly) === false)
210
+ .slice(1)
211
+ .map((instance) => {
212
+ var _a, _b, _c, _d;
213
+ return (0, exports.toRecurringBillInstancePayload)(instance, (_d = (_c = (_b = (_a = billDetail.billDetailLocalData.paymentDetailsSection) === null || _a === void 0 ? void 0 : _a.paymentType) === null || _b === void 0 ? void 0 : _b.maxPeriod) === null || _c === void 0 ? void 0 : _c.value) !== null && _d !== void 0 ? _d : workingDayHelper_1.PAYMENT_BUSINESS_DAYS);
214
+ });
215
+ payload.future_recurring_bill_instances = futureRecurringBills;
216
+ if (payload.recurring_bill_config != null) {
217
+ payload.recurring_bill_config.future_total_payment_cycles =
218
+ futureRecurringBills === null || futureRecurringBills === void 0 ? void 0 : futureRecurringBills.length;
219
+ delete payload.recurring_bill_config.total_payment_cycles;
220
+ }
221
+ }
222
+ }
223
+ else {
224
+ payload.recurring_bill_instances = recurringBillInstances === null || recurringBillInstances === void 0 ? void 0 : recurringBillInstances.map((instance) => {
225
+ var _a, _b, _c, _d;
226
+ return (0, exports.toRecurringBillInstancePayload)(instance, (_d = (_c = (_b = (_a = billDetail.billDetailLocalData.paymentDetailsSection) === null || _a === void 0 ? void 0 : _a.paymentType) === null || _b === void 0 ? void 0 : _b.maxPeriod) === null || _c === void 0 ? void 0 : _c.value) !== null && _d !== void 0 ? _d : workingDayHelper_1.PAYMENT_BUSINESS_DAYS);
227
+ });
228
+ }
229
+ }
230
+ return payload;
231
+ }
232
+ const getBillPaymentMethodTypePayload = (paymentType) => {
233
+ var _a;
234
+ const code = paymentType === null || paymentType === void 0 ? void 0 : paymentType.method.split('_')[1];
235
+ const subCode = paymentType === null || paymentType === void 0 ? void 0 : paymentType.method.split('_')[2];
236
+ return {
237
+ code: Boolean(code) === true
238
+ ? (0, billPayConfigState_1.toBillPaymentMethodCodeType)(code)
239
+ : null,
240
+ name: (_a = paymentType === null || paymentType === void 0 ? void 0 : paymentType.method.replace(/(_depositAccount|_paymentAccount)/g, '')) !== null && _a !== void 0 ? _a : '',
241
+ sub_code: Boolean(subCode) === true
242
+ ? (0, billPayConfigPayload_1.getSubCodePayload)((0, billPayConfigState_1.toBillPaymentSubConfigCodeKeyType)(subCode))
243
+ : null,
244
+ };
245
+ };
246
+ const toRecurringBillInstancePayload = (recurringBillInstance, maxPaymentProcessingDays) => {
247
+ const calculatedPaymentDate = (0, helpers_1.getPaymentDateFromVendorReceiveDate)(recurringBillInstance.vendorReceiveDate, maxPaymentProcessingDays);
248
+ return {
249
+ instance: recurringBillInstance.instance,
250
+ payment_date: calculatedPaymentDate.format('YYYY-MM-DD'),
251
+ vendor_receive_date: recurringBillInstance.vendorReceiveDate.format('YYYY-MM-DD'),
252
+ vendor_receive_date_notes: recurringBillInstance.vendorReceiveDateNotes,
253
+ };
254
+ };
255
+ exports.toRecurringBillInstancePayload = toRecurringBillInstancePayload;
@@ -0,0 +1,11 @@
1
+ import { ActionsObservable, StateObservable } from 'redux-observable';
2
+ import { ZeniAPI } from '../../../../../zeniAPI';
3
+ import { RootState } from '../../../../../reducer';
4
+ import { updateVendors } from '../../../../../entity/vendor/vendorReducer';
5
+ import { saveBillUpdatesToLocalStore, updateVendorContact, updateVendorContactSuccessOrFailure } from '../editBillViewReducer';
6
+ import { updateContacts } from '../../../../../entity/billPay/contact/contactReducer';
7
+ import { updateBankAccounts } from '../../../../../entity/bankAccount/bankAccountReducer';
8
+ import { openSnackbar } from '../../../../../entity/snackbar/snackbarReducer';
9
+ import { updateAddresses } from '../../../../../entity/address/addressReducer';
10
+ export declare type ActionType = ReturnType<typeof updateVendors> | ReturnType<typeof updateVendorContact> | ReturnType<typeof updateContacts> | ReturnType<typeof updateBankAccounts> | ReturnType<typeof saveBillUpdatesToLocalStore> | ReturnType<typeof openSnackbar> | ReturnType<typeof updateAddresses> | ReturnType<typeof updateVendorContactSuccessOrFailure>;
11
+ export declare const updateVendorContactEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<ActionType>;
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateVendorContactEpic = void 0;
4
+ const rxjs_1 = require("rxjs");
5
+ const operators_1 = require("rxjs/operators");
6
+ const responsePayload_1 = require("../../../../../responsePayload");
7
+ const vendorReducer_1 = require("../../../../../entity/vendor/vendorReducer");
8
+ const vendorPayload_1 = require("../../../../../entity/vendor/vendorPayload");
9
+ const editBillViewReducer_1 = require("../editBillViewReducer");
10
+ const billDetailViewState_1 = require("../../billDetailView/billDetailViewState");
11
+ const contactReducer_1 = require("../../../../../entity/billPay/contact/contactReducer");
12
+ const bankAccountReducer_1 = require("../../../../../entity/bankAccount/bankAccountReducer");
13
+ const snackbarReducer_1 = require("../../../../../entity/snackbar/snackbarReducer");
14
+ const vendorState_1 = require("../../../../../entity/vendor/vendorState");
15
+ const contactSelector_1 = require("../../../../../entity/billPay/contact/contactSelector");
16
+ const contactPayload_1 = require("../../../../../entity/billPay/contact/contactPayload");
17
+ const accountSelector_1 = require("../../../../../entity/account/accountSelector");
18
+ const accountPayload_1 = require("../../../../../entity/account/accountPayload");
19
+ const classSelectorV2_1 = require("../../../../../entity/class/classSelectorV2");
20
+ const classPayload_1 = require("../../../../../entity/class/classPayload");
21
+ const commonVendorViewHelper_1 = require("../../../../commonVendorView/commonVendorViewHelper");
22
+ const addressReducer_1 = require("../../../../../entity/address/addressReducer");
23
+ const updateVendorContactEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(editBillViewReducer_1.updateVendorContact.match), (0, operators_1.mergeMap)((action) => {
24
+ var _a, _b;
25
+ const state = state$.value;
26
+ const { emailId, vendorId, billId } = action.payload;
27
+ const latestVendorDetails = (_b = (_a = state.vendorState) === null || _a === void 0 ? void 0 : _a.vendorByID) === null || _b === void 0 ? void 0 : _b[vendorId];
28
+ const payload = prepareUpdateVendorContactPayload(state, latestVendorDetails, emailId);
29
+ let billInLocalStore = state.editBillDetailViewState.newBillState;
30
+ if (billId != null) {
31
+ const billDetailKey = (0, billDetailViewState_1.getBillTransactionDetailKey)(billId);
32
+ billInLocalStore =
33
+ state.editBillDetailViewState.editBillStateById[billDetailKey];
34
+ }
35
+ const updateVendorApi = zeniAPI.putAndGetJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/vendors/${vendorId}`, payload);
36
+ return updateVendorApi.pipe((0, operators_1.mergeMap)((response) => {
37
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
38
+ if ((0, responsePayload_1.isSuccessResponse)(response)) {
39
+ const updatedVendor = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.vendors[0]) != null
40
+ ? (0, vendorPayload_1.mapVendorPayloadToVendor)((_b = response.data) === null || _b === void 0 ? void 0 : _b.vendors[0])
41
+ : undefined;
42
+ const flattenededAddresses = (0, commonVendorViewHelper_1.getFlattenedAddress)((_d = (_c = response.data) === null || _c === void 0 ? void 0 : _c.vendors) !== null && _d !== void 0 ? _d : []);
43
+ const actions = [
44
+ (0, vendorReducer_1.updateVendors)((_f = (_e = response.data) === null || _e === void 0 ? void 0 : _e.vendors) !== null && _f !== void 0 ? _f : []),
45
+ (0, contactReducer_1.updateContacts)((_h = (_g = response.data) === null || _g === void 0 ? void 0 : _g.vendors[0].contacts) !== null && _h !== void 0 ? _h : []),
46
+ (0, addressReducer_1.updateAddresses)(flattenededAddresses),
47
+ (0, bankAccountReducer_1.updateBankAccounts)((_k = (_j = response.data) === null || _j === void 0 ? void 0 : _j.vendors[0].bank_accounts) !== null && _k !== void 0 ? _k : []),
48
+ ];
49
+ actions.push((0, editBillViewReducer_1.saveBillUpdatesToLocalStore)({
50
+ billDetailLocalData: Object.assign(Object.assign({}, billInLocalStore.billDetailLocalData), { vendor: updatedVendor, paymentDetailsSection: Object.assign(Object.assign({}, billInLocalStore.billDetailLocalData
51
+ .paymentDetailsSection), { paymentTo: undefined }), isCollectToAccountInfoFromVendorContact: true, toAccountVendorEmail: emailId }),
52
+ billId,
53
+ }));
54
+ actions.push((0, editBillViewReducer_1.updateVendorContactSuccessOrFailure)('Completed'));
55
+ actions.push((0, snackbarReducer_1.openSnackbar)({
56
+ messageSection: 'update_vendor',
57
+ messageText: 'success',
58
+ type: 'success',
59
+ }));
60
+ return (0, rxjs_1.from)(actions);
61
+ }
62
+ else {
63
+ return (0, rxjs_1.of)((0, editBillViewReducer_1.updateVendorContactSuccessOrFailure)('Error', response.status), (0, snackbarReducer_1.openSnackbar)({
64
+ messageSection: 'update_vendor',
65
+ messageText: 'failed',
66
+ type: 'error',
67
+ variables: [
68
+ {
69
+ variableName: '_api-error_',
70
+ variableValue: response.status.message,
71
+ },
72
+ ],
73
+ }));
74
+ }
75
+ }), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, editBillViewReducer_1.updateVendorContactSuccessOrFailure)('Error', (0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', `REST API call errored out ${JSON.stringify(error)}`)))));
76
+ }));
77
+ exports.updateVendorContactEpic = updateVendorContactEpic;
78
+ function prepareUpdateVendorContactPayload(state, vendor, email) {
79
+ var _a, _b, _c, _d;
80
+ const payload = {};
81
+ payload.vendor_name = vendor.name;
82
+ payload.account = null;
83
+ if (vendor.accountId != null) {
84
+ const accountBase = (0, accountSelector_1.getAccountBase)(state.accountState, vendor.accountId, 'account_list');
85
+ if (accountBase != null) {
86
+ payload.account = (0, accountPayload_1.toAccountPayload)(accountBase);
87
+ }
88
+ }
89
+ payload.accounting_class = null;
90
+ if (vendor.classId != null) {
91
+ const latestClass = (0, classSelectorV2_1.getClassById)(state.classState, {
92
+ classId: vendor.classId,
93
+ reportId: 'class_list',
94
+ });
95
+ if (latestClass != null) {
96
+ payload.accounting_class = (0, classPayload_1.toClassBasePayload)(latestClass);
97
+ }
98
+ }
99
+ payload.vendor_type = vendor.vendorType;
100
+ payload.owner_id = (_a = vendor.ownerId) !== null && _a !== void 0 ? _a : null;
101
+ payload.is_vendor_1099 = vendor.isVendor1099;
102
+ payload.document_ids = vendor.documentIds;
103
+ payload.bank_account_ids = vendor.bankAccountIds;
104
+ payload.sync_token = vendor.syncToken;
105
+ payload.qbo_id = vendor.qboId;
106
+ payload['country_code'] = vendor.countryCode;
107
+ payload['vendor_currency_code'] =
108
+ (_b = vendor.vendorCurrencyCode) !== null && _b !== void 0 ? _b : vendorState_1.defaultVendorCurrency.currencyCode;
109
+ payload['vendor_currency_symbol'] =
110
+ (_c = vendor.vendorCurrencySymbol) !== null && _c !== void 0 ? _c : vendorState_1.defaultVendorCurrency.currencySymbol;
111
+ const contacts = (0, contactSelector_1.getContactsByIds)(state.contactState, vendor.contactIds);
112
+ payload.contacts = contacts.map((contact) => (0, contactPayload_1.toContactPayload)(contact));
113
+ const newContactPayload = (0, contactPayload_1.toContactPayload)({ fullName: '', email, phone: '' });
114
+ (_d = payload.contacts) === null || _d === void 0 ? void 0 : _d.push(newContactPayload);
115
+ return payload;
116
+ }
@@ -0,0 +1,10 @@
1
+ import { ActionsObservable, StateObservable } from 'redux-observable';
2
+ import { Observable } from 'rxjs';
3
+ import { ZeniAPI } from '../../../../../zeniAPI';
4
+ import { RootState } from '../../../../../reducer';
5
+ import { saveVendor, updatePaymentInstrumentsInVendorView, updateCountryCurrencyInVendorView } from '../../../../commonVendorView/vendorView/vendorViewReducer';
6
+ import { openSnackbar } from '../../../../../entity/snackbar/snackbarReducer';
7
+ import { createPaymentInstrument, createPaymentInstrumentUpdateStatus } from '../internationalWireReducer';
8
+ import { updatePaymentInstruments } from '../../../../../entity/paymentInstrument/paymentInstrumentReducer';
9
+ export declare type ActionType = ReturnType<typeof createPaymentInstrument> | ReturnType<typeof updatePaymentInstruments> | ReturnType<typeof updatePaymentInstrumentsInVendorView> | ReturnType<typeof updateCountryCurrencyInVendorView> | ReturnType<typeof saveVendor> | ReturnType<typeof openSnackbar> | ReturnType<typeof createPaymentInstrumentUpdateStatus>;
10
+ export declare const createPaymentInstrumentEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
@@ -0,0 +1,117 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createPaymentInstrumentEpic = void 0;
4
+ const rxjs_1 = require("rxjs");
5
+ const operators_1 = require("rxjs/operators");
6
+ const responsePayload_1 = require("../../../../../responsePayload");
7
+ const vendorViewReducer_1 = require("../../../../commonVendorView/vendorView/vendorViewReducer");
8
+ const snackbarReducer_1 = require("../../../../../entity/snackbar/snackbarReducer");
9
+ const internationalWireReducer_1 = require("../internationalWireReducer");
10
+ const internationalWirePayload_1 = require("../internationalWirePayload");
11
+ const paymentInstrumentReducer_1 = require("../../../../../entity/paymentInstrument/paymentInstrumentReducer");
12
+ const createPaymentInstrumentEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(internationalWireReducer_1.createPaymentInstrument.match), (0, operators_1.switchMap)((action) => {
13
+ const { internationalWireState } = state$.value;
14
+ const { bankAccountContext, vendorId } = action.payload;
15
+ const paymentInstrumentLocalData = internationalWireState.createInternationalWireDetails.localData;
16
+ if (paymentInstrumentLocalData != null) {
17
+ return zeniAPI
18
+ .postAndGetJSON(`${zeniAPI.apiEndPoints.payMicroServiceBaseUrl}/1.0/payment-instruments`, (0, internationalWirePayload_1.toPaymentInstrumentPayload)(paymentInstrumentLocalData))
19
+ .pipe((0, operators_1.mergeMap)((response) => {
20
+ var _a, _b, _c, _d, _e, _f, _g, _h;
21
+ const bankAccountActions = [];
22
+ if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
23
+ bankAccountActions.push((0, paymentInstrumentReducer_1.updatePaymentInstruments)((_a = response.data.payment_instruments) !== null && _a !== void 0 ? _a : []), (0, internationalWireReducer_1.createPaymentInstrumentUpdateStatus)({
24
+ fetchState: 'Completed',
25
+ }));
26
+ if (bankAccountContext === 'vendor' ||
27
+ bankAccountContext === 'billDetail') {
28
+ bankAccountActions.push((0, vendorViewReducer_1.updatePaymentInstrumentsInVendorView)({
29
+ paymentInstrumentIds: [
30
+ (_b = response.data.payment_instruments[0]
31
+ .zeni_payment_instrument_id) !== null && _b !== void 0 ? _b : '',
32
+ ],
33
+ vendorId: vendorId,
34
+ }));
35
+ bankAccountActions.push((0, vendorViewReducer_1.updateCountryCurrencyInVendorView)({
36
+ countryCode: (_d = (_c = internationalWireState.createInternationalWireDetails) === null || _c === void 0 ? void 0 : _c.localData) === null || _d === void 0 ? void 0 : _d.countryCode,
37
+ currencyCode: (_f = (_e = internationalWireState.createInternationalWireDetails) === null || _e === void 0 ? void 0 : _e.localData) === null || _f === void 0 ? void 0 : _f.currencyCode,
38
+ vendorId: vendorId,
39
+ }));
40
+ if (bankAccountContext === 'billDetail') {
41
+ // if you are adding bank detail directly not vendor page, you have to link it to vendor
42
+ bankAccountActions.push((0, vendorViewReducer_1.saveVendor)(vendorId));
43
+ }
44
+ }
45
+ bankAccountActions.push((0, snackbarReducer_1.openSnackbar)({
46
+ messageSection: 'create_bank_account_international',
47
+ messageText: 'success',
48
+ type: 'success',
49
+ variables: [
50
+ {
51
+ variableName: '_wire-type_',
52
+ variableValue: 'International',
53
+ },
54
+ ],
55
+ }));
56
+ }
57
+ else if (response.status.code === 409) {
58
+ bankAccountActions.push((0, internationalWireReducer_1.createPaymentInstrumentUpdateStatus)({
59
+ fetchState: 'Error',
60
+ error: response.status,
61
+ }));
62
+ bankAccountActions.push((0, snackbarReducer_1.openSnackbar)({
63
+ messageSection: 'create_bank_account',
64
+ messageText: 'failed',
65
+ type: 'error',
66
+ variables: [
67
+ {
68
+ variableName: '_api-error_',
69
+ variableValue: response.status.message,
70
+ },
71
+ ],
72
+ }));
73
+ if (bankAccountContext === 'vendor' ||
74
+ bankAccountContext === 'billDetail') {
75
+ bankAccountActions.push((0, vendorViewReducer_1.updatePaymentInstrumentsInVendorView)({
76
+ paymentInstrumentIds: [
77
+ (_h = (_g = response.data) === null || _g === void 0 ? void 0 : _g.payment_instruments[0].zeni_payment_instrument_id) !== null && _h !== void 0 ? _h : '',
78
+ ],
79
+ vendorId: vendorId,
80
+ }));
81
+ if (bankAccountContext === 'billDetail') {
82
+ // if you are adding PI directly from bill page, you have to link it to vendor
83
+ bankAccountActions.push((0, vendorViewReducer_1.saveVendor)(vendorId));
84
+ }
85
+ }
86
+ }
87
+ else {
88
+ bankAccountActions.push((0, internationalWireReducer_1.createPaymentInstrumentUpdateStatus)({
89
+ fetchState: 'Error',
90
+ error: response.status,
91
+ }));
92
+ bankAccountActions.push((0, snackbarReducer_1.openSnackbar)({
93
+ messageSection: 'create_bank_account',
94
+ messageText: 'failed',
95
+ type: 'error',
96
+ variables: [
97
+ {
98
+ variableName: '_api-error_',
99
+ variableValue: response.status.message,
100
+ },
101
+ ],
102
+ }));
103
+ }
104
+ return (0, rxjs_1.from)(bankAccountActions);
105
+ }), (0, operators_1.catchError)((error) => {
106
+ return (0, rxjs_1.of)((0, internationalWireReducer_1.createPaymentInstrumentUpdateStatus)({
107
+ fetchState: 'Error',
108
+ error: (0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Payment Instrument Creation REST API call errored out' +
109
+ JSON.stringify(error)),
110
+ }));
111
+ }));
112
+ }
113
+ else {
114
+ return (0, rxjs_1.from)([]);
115
+ }
116
+ }));
117
+ exports.createPaymentInstrumentEpic = createPaymentInstrumentEpic;
@@ -0,0 +1,9 @@
1
+ import { ActionsObservable, StateObservable } from 'redux-observable';
2
+ import { Observable } from 'rxjs';
3
+ import { ZeniAPI } from '../../../../../zeniAPI';
4
+ import { RootState } from '../../../../../reducer';
5
+ import { removePaymentInstrumentsInVendorView } from '../../../../commonVendorView/vendorView/vendorViewReducer';
6
+ import { openSnackbar } from '../../../../../entity/snackbar/snackbarReducer';
7
+ import { deletePaymentInstrument, deletePaymentInstrumentUpdateStatus } from '../internationalWireReducer';
8
+ export declare type ActionType = ReturnType<typeof deletePaymentInstrument> | ReturnType<typeof removePaymentInstrumentsInVendorView> | ReturnType<typeof openSnackbar> | ReturnType<typeof deletePaymentInstrumentUpdateStatus>;
9
+ export declare const deletePaymentInstrumentEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deletePaymentInstrumentEpic = void 0;
4
+ const rxjs_1 = require("rxjs");
5
+ const operators_1 = require("rxjs/operators");
6
+ const responsePayload_1 = require("../../../../../responsePayload");
7
+ const vendorViewReducer_1 = require("../../../../commonVendorView/vendorView/vendorViewReducer");
8
+ const snackbarReducer_1 = require("../../../../../entity/snackbar/snackbarReducer");
9
+ const internationalWireReducer_1 = require("../internationalWireReducer");
10
+ const deletePaymentInstrumentEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(internationalWireReducer_1.deletePaymentInstrument.match), (0, operators_1.switchMap)((action) => {
11
+ return zeniAPI
12
+ .deleteAndGetJSON(`${zeniAPI.apiEndPoints.payMicroServiceBaseUrl}/1.0/payment-instruments/${action.payload.paymentInstrumentId}`)
13
+ .pipe((0, operators_1.mergeMap)((response) => {
14
+ if ((0, responsePayload_1.isSuccessResponse)(response)) {
15
+ const actions = [];
16
+ actions.push((0, internationalWireReducer_1.deletePaymentInstrumentUpdateStatus)({
17
+ paymentInstrumentId: action.payload.paymentInstrumentId,
18
+ fetchState: 'Completed',
19
+ }));
20
+ if (action.payload.bankAccountContext === 'vendor') {
21
+ actions.push((0, vendorViewReducer_1.removePaymentInstrumentsInVendorView)({
22
+ paymentInstrumentId: action.payload.paymentInstrumentId,
23
+ vendorId: action.payload.vendorId,
24
+ }));
25
+ }
26
+ actions.push((0, snackbarReducer_1.openSnackbar)({
27
+ messageSection: 'delete_bank_account',
28
+ messageText: 'success',
29
+ type: 'success',
30
+ }));
31
+ return (0, rxjs_1.from)(actions);
32
+ }
33
+ else {
34
+ return (0, rxjs_1.of)((0, internationalWireReducer_1.deletePaymentInstrumentUpdateStatus)({
35
+ paymentInstrumentId: action.payload.paymentInstrumentId,
36
+ fetchState: 'Error',
37
+ error: response.status,
38
+ }), (0, snackbarReducer_1.openSnackbar)({
39
+ messageSection: 'delete_bank_account',
40
+ messageText: 'failed',
41
+ type: 'error',
42
+ variables: [
43
+ {
44
+ variableName: '_api-error_',
45
+ variableValue: response.status.message,
46
+ },
47
+ ],
48
+ }));
49
+ }
50
+ }), (0, operators_1.catchError)((error) => {
51
+ return (0, rxjs_1.of)((0, internationalWireReducer_1.deletePaymentInstrumentUpdateStatus)({
52
+ paymentInstrumentId: action.payload.paymentInstrumentId,
53
+ fetchState: 'Error',
54
+ error: (0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Payment Instrument Deletion REST API call errored out' +
55
+ JSON.stringify(error)),
56
+ }));
57
+ }));
58
+ }));
59
+ exports.deletePaymentInstrumentEpic = deletePaymentInstrumentEpic;
@@ -0,0 +1,7 @@
1
+ import { ActionsObservable, StateObservable } from 'redux-observable';
2
+ import { Observable } from 'rxjs';
3
+ import { ZeniAPI } from '../../../../../zeniAPI';
4
+ import { RootState } from '../../../../../reducer';
5
+ import { fetchInternationalWireDynamicForm, initializeDynamicForm, updateInternationalWireDynamicForm, updateInternationalWireDynamicFormFailure } from '../internationalWireReducer';
6
+ export declare type ActionType = ReturnType<typeof fetchInternationalWireDynamicForm> | ReturnType<typeof updateInternationalWireDynamicForm> | ReturnType<typeof updateInternationalWireDynamicFormFailure> | ReturnType<typeof initializeDynamicForm>;
7
+ export declare const fetchInternationalWireDynamicFormEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;