@zeniai/client-epic-state 5.3.22-beta0KB → 5.3.23-beta0AN

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 (2300) hide show
  1. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  2. package/lib/epic.d.ts +2 -2
  3. package/lib/esm/entity/snackbar/snackbarTypes.js +0 -1
  4. package/lib/esm/epic.js +2 -2
  5. package/lib/esm/index.js +2 -2
  6. package/lib/esm/view/invoicing/createInvoice/createInvoiceSelector.js +2 -1
  7. package/lib/esm/view/invoicing/createInvoice/epics/fetchCreateInvoiceFormPageEpic.js +10 -3
  8. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +2 -1
  9. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.js +8 -1
  10. package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +15 -3
  11. package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +1 -0
  12. package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +2 -0
  13. package/lib/esm/view/transactionDetail/createTransaction/epics/createTransactionAttachmentUploadFailureEpic.js +19 -0
  14. package/lib/esm/view/transactionDetail/createTransaction/epics/createTransactionEpic.js +5 -1
  15. package/lib/esm/view/transactionDetail/transactionDetailReducer.js +3 -3
  16. package/lib/index.d.ts +2 -2
  17. package/lib/index.js +2 -2
  18. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
  19. package/lib/view/invoicing/createInvoice/createInvoiceSelector.d.ts +2 -0
  20. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.d.ts +2 -0
  21. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.d.ts +3 -0
  22. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.d.ts +2 -0
  23. package/lib/view/transactionDetail/createTransaction/epics/createTransactionAttachmentUploadFailureEpic.d.ts +10 -0
  24. package/lib/view/transactionDetail/transactionDetailReducer.d.ts +2 -2
  25. package/package.json +4 -2
  26. package/lib/common/aiCfo/aiCfoSuggestedQuestionsPageContext.js +0 -2
  27. package/lib/commonPayloadTypes/agingReportPayloadTypes.js +0 -27
  28. package/lib/commonPayloadTypes/balanceChangePayload.js +0 -24
  29. package/lib/commonPayloadTypes/classesView/reportByClassPayloadV2.js +0 -10
  30. package/lib/commonPayloadTypes/coaBalanceByAdditionalPeriodPayload.js +0 -14
  31. package/lib/commonPayloadTypes/coaBalancePayload.js +0 -64
  32. package/lib/commonPayloadTypes/commonPayload.js +0 -22
  33. package/lib/commonPayloadTypes/recommendationBasePayloadCore.js +0 -22
  34. package/lib/commonPayloadTypes/recommendationPayload.js +0 -128
  35. package/lib/commonPayloadTypes/sortOrderPayload.js +0 -11
  36. package/lib/commonPayloadTypes/statusPayload.js +0 -17
  37. package/lib/commonPayloadTypes/subAccountView/reportBySubAccountPayload.js +0 -2
  38. package/lib/commonPayloadTypes/subAccountView/subAccountPayloadHelper.js +0 -28
  39. package/lib/commonPayloadTypes/urlPayload.js +0 -8
  40. package/lib/commonPayloadTypes/v2/coaBalancePayload.js +0 -103
  41. package/lib/commonPayloadTypes/v2/viewAndReportPayloadv2.js +0 -30
  42. package/lib/commonPayloadTypes/vendorRecommendationPayload.js +0 -2
  43. package/lib/commonPayloadTypes/viewAndReportPayload.js +0 -27
  44. package/lib/commonStateTypes/accountView/accountMetadataRecords.js +0 -2
  45. package/lib/commonStateTypes/accountView/getNestedAccountIDHierarchyForReport.js +0 -115
  46. package/lib/commonStateTypes/accountView/nestedAccountID.js +0 -14
  47. package/lib/commonStateTypes/agingBalance/agingBalance.js +0 -16
  48. package/lib/commonStateTypes/allowedValue.js +0 -10
  49. package/lib/commonStateTypes/amount.js +0 -12
  50. package/lib/commonStateTypes/animations.js +0 -65
  51. package/lib/commonStateTypes/balance.js +0 -2
  52. package/lib/commonStateTypes/balanceTimeseries.js +0 -2
  53. package/lib/commonStateTypes/bookCloseDateHelper.js +0 -48
  54. package/lib/commonStateTypes/bulkOperationType.js +0 -2
  55. package/lib/commonStateTypes/cacheOverrideFetchReducer.js +0 -20
  56. package/lib/commonStateTypes/classesView/classMetadataRecords.js +0 -2
  57. package/lib/commonStateTypes/classesView/getNestedClassIDHierarchyForReport.js +0 -113
  58. package/lib/commonStateTypes/classesView/nestedClassID.js +0 -7
  59. package/lib/commonStateTypes/coaBalance/additionalBalances/getAdditionalBalances.js +0 -135
  60. package/lib/commonStateTypes/coaBalance/additionalBalances/getComparisionBalance.js +0 -151
  61. package/lib/commonStateTypes/coaBalance/additionalBalances/getSamePeriodLastYearBalance.js +0 -69
  62. package/lib/commonStateTypes/coaBalance/additionalBalances/getSummationBalance.js +0 -422
  63. package/lib/commonStateTypes/coaBalance/additionalBalances/sliceCOABalances.js +0 -52
  64. package/lib/commonStateTypes/coaBalance/classBalances/getDifferenceOfBalancesGroupedByPeriod.js +0 -61
  65. package/lib/commonStateTypes/coaBalance/classBalances/getSumOfBalancesGroupedByPeriod.js +0 -95
  66. package/lib/commonStateTypes/coaBalance/coaBalance.js +0 -32
  67. package/lib/commonStateTypes/coaBalance/coaBalanceByAdditionalPeriod.js +0 -2
  68. package/lib/commonStateTypes/coaBalance/coaBalanceType.js +0 -41
  69. package/lib/commonStateTypes/coaBalance/coaBalancesFilter.js +0 -65
  70. package/lib/commonStateTypes/coaBalance/coaBalancesFilterClassesView.js +0 -9
  71. package/lib/commonStateTypes/coaBalance/coaBalancesFilterProjectView.js +0 -9
  72. package/lib/commonStateTypes/coaBalance/getCOABalancesSlice.js +0 -107
  73. package/lib/commonStateTypes/coaBalance/pickAndMergeForecast.js +0 -65
  74. package/lib/commonStateTypes/coaBalance/sortBalancesByFreeRangeTotal.js +0 -41
  75. package/lib/commonStateTypes/coaBalance/sortBalancesByTotalAmounts.js +0 -43
  76. package/lib/commonStateTypes/common.js +0 -18
  77. package/lib/commonStateTypes/currencyHelper.js +0 -12
  78. package/lib/commonStateTypes/customerView/getNestedCustomerHierarchy.js +0 -45
  79. package/lib/commonStateTypes/customerView/nestedCustomerID.js +0 -2
  80. package/lib/commonStateTypes/dataAvailable.js +0 -53
  81. package/lib/commonStateTypes/fileType.js +0 -7
  82. package/lib/commonStateTypes/filterPrimitives.js +0 -21
  83. package/lib/commonStateTypes/fiscalYearHelpers/addSubtractPeriod.js +0 -31
  84. package/lib/commonStateTypes/fiscalYearHelpers/formatMinutesToFromHHMM.js +0 -26
  85. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.js +0 -48
  86. package/lib/commonStateTypes/fiscalYearHelpers/getActualPeriod.js +0 -37
  87. package/lib/commonStateTypes/fiscalYearHelpers/getFYMonths.js +0 -28
  88. package/lib/commonStateTypes/fiscalYearHelpers/getFYQuarterAndYear.js +0 -62
  89. package/lib/commonStateTypes/fiscalYearHelpers/getStartOfAndEndOfTimeframeFY.js +0 -91
  90. package/lib/commonStateTypes/fiscalYearHelpers/getVendorAllTransactionsDefaultTimePeriod.js +0 -17
  91. package/lib/commonStateTypes/numberToUnion.js +0 -38
  92. package/lib/commonStateTypes/projectView/projectViewParentID.js +0 -2
  93. package/lib/commonStateTypes/pusherActions.js +0 -6
  94. package/lib/commonStateTypes/recommendationBase.js +0 -59
  95. package/lib/commonStateTypes/recommendationBaseCore.js +0 -2
  96. package/lib/commonStateTypes/reduceFetchState.js +0 -192
  97. package/lib/commonStateTypes/reimbursementTypeCode.js +0 -5
  98. package/lib/commonStateTypes/selectorTypes/accountsViewSelectorReport.js +0 -2
  99. package/lib/commonStateTypes/selectorTypes/classesViewSelectorReport.js +0 -2
  100. package/lib/commonStateTypes/selectorTypes/entityOrder.js +0 -2
  101. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastCalculatedSection.js +0 -8
  102. package/lib/commonStateTypes/selectorTypes/selectorTypes.js +0 -2
  103. package/lib/commonStateTypes/selectorTypes/sortOrderTypes.js +0 -5
  104. package/lib/commonStateTypes/status.js +0 -2
  105. package/lib/commonStateTypes/stringToUnion.js +0 -37
  106. package/lib/commonStateTypes/systemInfo.js +0 -242
  107. package/lib/commonStateTypes/timePeriod.js +0 -92
  108. package/lib/commonStateTypes/timeframeTick.js +0 -23
  109. package/lib/commonStateTypes/v2/viewAndReport.js +0 -5
  110. package/lib/commonStateTypes/vendorRecommendation.js +0 -2
  111. package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.js +0 -15
  112. package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +0 -91
  113. package/lib/commonStateTypes/viewAndReport/reportUIState.js +0 -2
  114. package/lib/commonStateTypes/viewAndReport/thisPeriodHelpers.js +0 -108
  115. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +0 -80
  116. package/lib/commonStateTypes/workingDayHelper.js +0 -123
  117. package/lib/configureStore.js +0 -114
  118. package/lib/coreEpics.js +0 -93
  119. package/lib/entity/account/accountPayload.js +0 -109
  120. package/lib/entity/account/accountReducer.js +0 -183
  121. package/lib/entity/account/accountSelector.js +0 -253
  122. package/lib/entity/account/accountState.js +0 -81
  123. package/lib/entity/account/pickAndMergeForecastAccountReport.js +0 -110
  124. package/lib/entity/account/subAccountSelector.js +0 -63
  125. package/lib/entity/accountGroup/accountGroupPayload.js +0 -2
  126. package/lib/entity/accountGroup/accountGroupReducer.js +0 -140
  127. package/lib/entity/accountGroup/accountGroupSelector.js +0 -158
  128. package/lib/entity/accountGroup/accountGroupState.js +0 -26
  129. package/lib/entity/accountGroup/accountGroupV2Selector.js +0 -85
  130. package/lib/entity/accountGroup/pickAndMergeForecastAcGroupReport.js +0 -84
  131. package/lib/entity/accountRecon/accountReconPayload.js +0 -197
  132. package/lib/entity/accountRecon/accountReconReducer.js +0 -215
  133. package/lib/entity/accountRecon/accountReconSelector.js +0 -64
  134. package/lib/entity/accountRecon/accountReconState.js +0 -59
  135. package/lib/entity/actualMatching/actualMatchingPayload.js +0 -52
  136. package/lib/entity/actualMatching/actualMatchingReducer.js +0 -42
  137. package/lib/entity/actualMatching/actualMatchingSelector.js +0 -6
  138. package/lib/entity/actualMatching/actualMatchingState.js +0 -2
  139. package/lib/entity/actualMatching/actualMatchingTypes.js +0 -2
  140. package/lib/entity/address/addressPayload.js +0 -2
  141. package/lib/entity/address/addressReducer.js +0 -63
  142. package/lib/entity/address/addressSelector.js +0 -17
  143. package/lib/entity/address/addressState.js +0 -2
  144. package/lib/entity/aiAccountantCustomer/aiAccountantCustomerPayload.js +0 -68
  145. package/lib/entity/aiAccountantCustomer/aiAccountantCustomerReducer.js +0 -53
  146. package/lib/entity/aiAccountantCustomer/aiAccountantCustomerSelector.js +0 -66
  147. package/lib/entity/aiAccountantCustomer/aiAccountantCustomerState.js +0 -52
  148. package/lib/entity/aiCfo/aiCfoPayload.js +0 -2
  149. package/lib/entity/aiCfo/aiCfoReducer.js +0 -908
  150. package/lib/entity/aiCfo/aiCfoSelector.js +0 -60
  151. package/lib/entity/aiCfo/aiCfoState.js +0 -100
  152. package/lib/entity/approvalRule/approvalRuleConflict.js +0 -92
  153. package/lib/entity/approvalRule/approvalRulePayload.js +0 -186
  154. package/lib/entity/approvalRule/approvalRuleReducer.js +0 -31
  155. package/lib/entity/approvalRule/approvalRuleSelector.js +0 -53
  156. package/lib/entity/approvalRule/approvalRuleState.js +0 -27
  157. package/lib/entity/approvalRule/approvalStepTypes.js +0 -13
  158. package/lib/entity/bankAccount/bankAccount.js +0 -2
  159. package/lib/entity/bankAccount/bankAccountPayload.js +0 -26
  160. package/lib/entity/bankAccount/bankAccountReducer.js +0 -33
  161. package/lib/entity/bankAccount/bankAccountSelector.js +0 -15
  162. package/lib/entity/billPay/billTransaction/billTransactionPayload.js +0 -186
  163. package/lib/entity/billPay/billTransaction/billTransactionReducer.js +0 -89
  164. package/lib/entity/billPay/billTransaction/billTransactionState.js +0 -107
  165. package/lib/entity/billPay/billTransaction/internationalTransferFeeBearerPaymentMethod.js +0 -10
  166. package/lib/entity/billPay/contact/contact.js +0 -2
  167. package/lib/entity/billPay/contact/contactPayload.js +0 -22
  168. package/lib/entity/billPay/contact/contactReducer.js +0 -32
  169. package/lib/entity/billPay/contact/contactSelector.js +0 -17
  170. package/lib/entity/billPay/recurringBills/recurringBillsPayload.js +0 -58
  171. package/lib/entity/billPay/recurringBills/recurringBillsReducer.js +0 -42
  172. package/lib/entity/billPay/recurringBills/recurringBillsState.js +0 -14
  173. package/lib/entity/cardPayment/cardPaymentPayload.js +0 -15
  174. package/lib/entity/cardPayment/cardPaymentReducer.js +0 -53
  175. package/lib/entity/cardPayment/cardPaymentSelector.js +0 -16
  176. package/lib/entity/cardPayment/cardPaymentState.js +0 -2
  177. package/lib/entity/cardPolicy/cardPolicyPayload.js +0 -143
  178. package/lib/entity/cardPolicy/cardPolicyReducer.js +0 -178
  179. package/lib/entity/cardPolicy/cardPolicySelector.js +0 -99
  180. package/lib/entity/cardPolicy/cardPolicyState.js +0 -14
  181. package/lib/entity/cardPolicy/extractPolicyDocumentEpic.js +0 -68
  182. package/lib/entity/cardPolicy/fetchCardPolicyVendorOptionsEpic.js +0 -47
  183. package/lib/entity/cardPolicy/policyDocumentExtractionToRecommendationBridgeEpic.js +0 -39
  184. package/lib/entity/cardPolicy/policyRecommendationFromUploadEpic.js +0 -105
  185. package/lib/entity/chargeCard/chargeCard.js +0 -68
  186. package/lib/entity/chargeCard/chargeCardPayload.js +0 -104
  187. package/lib/entity/chargeCard/chargeCardReducer.js +0 -90
  188. package/lib/entity/chargeCard/chargeCardSelector.js +0 -21
  189. package/lib/entity/chargeCardRepayment/chargeCardRepayment.js +0 -17
  190. package/lib/entity/chargeCardRepayment/chargeCardRepaymentPayload.js +0 -34
  191. package/lib/entity/chargeCardRepayment/chargeCardRepaymentReducer.js +0 -44
  192. package/lib/entity/chargeCardRepayment/chargeCardRepaymentSelector.js +0 -17
  193. package/lib/entity/chargeCardTransaction/chargeCardTransaction.js +0 -20
  194. package/lib/entity/chargeCardTransaction/chargeCardTransactionPayload.js +0 -69
  195. package/lib/entity/chargeCardTransaction/chargeCardTransactionReducer.js +0 -94
  196. package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.js +0 -16
  197. package/lib/entity/class/classPayload.js +0 -110
  198. package/lib/entity/class/classReducer.js +0 -96
  199. package/lib/entity/class/classSelector.js +0 -110
  200. package/lib/entity/class/classSelectorTypes.js +0 -2
  201. package/lib/entity/class/classSelectorV2.js +0 -140
  202. package/lib/entity/class/classState.js +0 -14
  203. package/lib/entity/company/cardsVisibilityHelpers.js +0 -14
  204. package/lib/entity/company/companyHelper.js +0 -40
  205. package/lib/entity/company/companyPayload.js +0 -464
  206. package/lib/entity/company/companyReducer.js +0 -215
  207. package/lib/entity/company/companySelector.js +0 -104
  208. package/lib/entity/company/companyState.js +0 -2
  209. package/lib/entity/company/companyStateTypes.js +0 -33
  210. package/lib/entity/companyHealthMetric/companyHealthMetricPayload.js +0 -90
  211. package/lib/entity/companyHealthMetric/companyHealthMetricReducer.js +0 -36
  212. package/lib/entity/companyHealthMetric/companyHealthMetricSelector.js +0 -17
  213. package/lib/entity/companyHealthMetric/companyHealthMetricState.js +0 -2
  214. package/lib/entity/connectedAccount/connectedAccount.js +0 -10
  215. package/lib/entity/connectedAccount/connectedAccountPayload.js +0 -15
  216. package/lib/entity/connectedAccount/connectedAccountReducer.js +0 -30
  217. package/lib/entity/connectedAccount/connectedAccountSelector.js +0 -17
  218. package/lib/entity/countryList/countryListReducer.js +0 -34
  219. package/lib/entity/countryList/countryListSelector.js +0 -10
  220. package/lib/entity/countryList/countryListState.js +0 -2
  221. package/lib/entity/countryList/payloads/countryListPayload.js +0 -9
  222. package/lib/entity/countryList/payloads/nationalityCountryListPayload.js +0 -2
  223. package/lib/entity/creditAgent/creditAgentPayload.js +0 -40
  224. package/lib/entity/creditAgent/creditAgentReducer.js +0 -40
  225. package/lib/entity/creditAgent/creditAgentSelector.js +0 -10
  226. package/lib/entity/creditAgent/creditAgentState.js +0 -17
  227. package/lib/entity/currency/currency.js +0 -2
  228. package/lib/entity/currency/currencyPayload.js +0 -13
  229. package/lib/entity/currency/currencyReducer.js +0 -34
  230. package/lib/entity/currency/currencySelector.js +0 -20
  231. package/lib/entity/customer/customerPayload.js +0 -112
  232. package/lib/entity/customer/customerReducer.js +0 -47
  233. package/lib/entity/customer/customerSelector.js +0 -6
  234. package/lib/entity/customer/customerState.js +0 -2
  235. package/lib/entity/customerIncome/customerIncomeTrend.js +0 -150
  236. package/lib/entity/customerIncome/customerIncomeTrendKey.js +0 -6
  237. package/lib/entity/customerIncome/customerIncomeTrendReducer.js +0 -56
  238. package/lib/entity/customerIncome/customerIncomeTrendSelector.js +0 -23
  239. package/lib/entity/customerIncome/customerIncomeTrendState.js +0 -2
  240. package/lib/entity/customerSatisfaction/customerSatisfactionPayload.js +0 -2
  241. package/lib/entity/customerSatisfaction/customerSatisfactionReducer.js +0 -27
  242. package/lib/entity/customerSatisfaction/customerSatisfactionReducerHelpers.js +0 -38
  243. package/lib/entity/customerSatisfaction/customerSatisfactionSelector.js +0 -44
  244. package/lib/entity/customerSatisfaction/customerSatisfactionSelectorReducerTypes.js +0 -2
  245. package/lib/entity/customerSatisfaction/customerSatisfactionState.js +0 -32
  246. package/lib/entity/depositAccount/depositAccount.js +0 -17
  247. package/lib/entity/depositAccount/depositAccountPayload.js +0 -68
  248. package/lib/entity/depositAccount/depositAccountReducer.js +0 -40
  249. package/lib/entity/depositAccount/depositAccountSelector.js +0 -27
  250. package/lib/entity/depositAccountTransaction/depositAccountTransaction.js +0 -39
  251. package/lib/entity/depositAccountTransaction/depositAccountTransactionPayload.js +0 -30
  252. package/lib/entity/depositAccountTransaction/depositAccountTransactionReducer.js +0 -32
  253. package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.js +0 -16
  254. package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.js +0 -72
  255. package/lib/entity/entityApprovalStatus/entityApprovalStatusReducer.js +0 -30
  256. package/lib/entity/entityApprovalStatus/entityApprovalStatusSelector.js +0 -13
  257. package/lib/entity/entityApprovalStatus/entityApprovalStatusState.js +0 -36
  258. package/lib/entity/file/filePayload.js +0 -2
  259. package/lib/entity/file/fileReducer.js +0 -115
  260. package/lib/entity/file/fileSelector.js +0 -34
  261. package/lib/entity/file/fileState.js +0 -115
  262. package/lib/entity/forecast/forecastPayload.js +0 -21
  263. package/lib/entity/forecast/forecastReducer.js +0 -33
  264. package/lib/entity/forecast/forecastSelector.js +0 -13
  265. package/lib/entity/forecast/forecastState.js +0 -5
  266. package/lib/entity/genericEntity/customerWithSubCustomersId.js +0 -17
  267. package/lib/entity/genericEntity/entity.js +0 -10
  268. package/lib/entity/genericEntity/entityPayload.js +0 -20
  269. package/lib/entity/genericEntity/entityReducer.js +0 -38
  270. package/lib/entity/genericEntity/entitySelector.js +0 -8
  271. package/lib/entity/genericEntity/entityState.js +0 -2
  272. package/lib/entity/globalMerchant/globalMerchantPayload.js +0 -119
  273. package/lib/entity/globalMerchant/globalMerchantReducer.js +0 -93
  274. package/lib/entity/globalMerchant/globalMerchantSelector.js +0 -24
  275. package/lib/entity/globalMerchant/globalMerchantState.js +0 -6
  276. package/lib/entity/insights/insightPayload.js +0 -2
  277. package/lib/entity/insights/insightReducer.js +0 -64
  278. package/lib/entity/insights/insightSelector.js +0 -8
  279. package/lib/entity/insights/insightState.js +0 -17
  280. package/lib/entity/insights/insightSummary.js +0 -2
  281. package/lib/entity/insights/insightSummaryPayload.js +0 -15
  282. package/lib/entity/invoicing/coupon/couponPayload.js +0 -48
  283. package/lib/entity/invoicing/coupon/couponReducer.js +0 -50
  284. package/lib/entity/invoicing/coupon/couponSelector.js +0 -21
  285. package/lib/entity/invoicing/coupon/couponState.js +0 -2
  286. package/lib/entity/invoicing/coupon/couponTypes.js +0 -2
  287. package/lib/entity/invoicing/creditNote/creditNotePayload.js +0 -66
  288. package/lib/entity/invoicing/creditNote/creditNoteReducer.js +0 -52
  289. package/lib/entity/invoicing/creditNote/creditNoteSelector.js +0 -17
  290. package/lib/entity/invoicing/creditNote/creditNoteState.js +0 -2
  291. package/lib/entity/invoicing/creditNote/creditNoteTypes.js +0 -2
  292. package/lib/entity/invoicing/dunningCase/dunningCasePayload.js +0 -37
  293. package/lib/entity/invoicing/dunningCase/dunningCaseReducer.js +0 -52
  294. package/lib/entity/invoicing/dunningCase/dunningCaseSelector.js +0 -17
  295. package/lib/entity/invoicing/dunningCase/dunningCaseState.js +0 -2
  296. package/lib/entity/invoicing/dunningCase/dunningCaseTypes.js +0 -2
  297. package/lib/entity/invoicing/invoice/invoicePayload.js +0 -154
  298. package/lib/entity/invoicing/invoice/invoiceReducer.js +0 -52
  299. package/lib/entity/invoicing/invoice/invoiceSelector.js +0 -16
  300. package/lib/entity/invoicing/invoice/invoiceState.js +0 -2
  301. package/lib/entity/invoicing/invoice/invoiceTypes.js +0 -2
  302. package/lib/entity/invoicing/invoicingCatalog/invoicingCatalogPayload.js +0 -138
  303. package/lib/entity/invoicing/invoicingCatalog/invoicingCatalogReducer.js +0 -74
  304. package/lib/entity/invoicing/invoicingCatalog/invoicingCatalogSelector.js +0 -59
  305. package/lib/entity/invoicing/invoicingCatalog/invoicingCatalogState.js +0 -2
  306. package/lib/entity/invoicing/invoicingCommonPayload.js +0 -318
  307. package/lib/entity/invoicing/invoicingCommonState.js +0 -2
  308. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +0 -100
  309. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +0 -50
  310. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.js +0 -65
  311. package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.js +0 -2
  312. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +0 -118
  313. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +0 -52
  314. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.js +0 -17
  315. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +0 -2
  316. package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionTypes.js +0 -2
  317. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionPayload.js +0 -62
  318. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +0 -52
  319. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionSelector.js +0 -17
  320. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionState.js +0 -2
  321. package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionTypes.js +0 -2
  322. package/lib/entity/jeSchedules/jeScheduleHelper.js +0 -13
  323. package/lib/entity/jeSchedules/jeSchedulesPayload.js +0 -578
  324. package/lib/entity/jeSchedules/jeSchedulesReducer.js +0 -324
  325. package/lib/entity/jeSchedules/jeSchedulesSelector.js +0 -178
  326. package/lib/entity/jeSchedules/jeSchedulesState.js +0 -2
  327. package/lib/entity/jeSchedules/jeSchedulesTypes.js +0 -140
  328. package/lib/entity/jeSchedules/updateAccruedJESchedulesEpic.js +0 -41
  329. package/lib/entity/jeSchedules/updateJESchedulesEpic.js +0 -68
  330. package/lib/entity/merchant/merchant.js +0 -2
  331. package/lib/entity/merchant/merchantPayload.js +0 -30
  332. package/lib/entity/merchant/merchantReducer.js +0 -41
  333. package/lib/entity/merchant/merchantSelector.js +0 -17
  334. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js +0 -91
  335. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +0 -30
  336. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksSelector.js +0 -35
  337. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.js +0 -10
  338. package/lib/entity/notification/notificationPayload.js +0 -144
  339. package/lib/entity/notification/notificationReducer.js +0 -120
  340. package/lib/entity/notification/notificationSelector.js +0 -40
  341. package/lib/entity/notification/notificationState.js +0 -2
  342. package/lib/entity/notification/types/notificationSelectorTypes.js +0 -2
  343. package/lib/entity/notification/types/notificationStateTypes.js +0 -2
  344. package/lib/entity/notification/types/notificationTypes.js +0 -49
  345. package/lib/entity/notificationRegistry/notificationRegistryPayload.js +0 -31
  346. package/lib/entity/notificationRegistry/notificationRegistryReducer.js +0 -52
  347. package/lib/entity/notificationRegistry/notificationRegistrySelector.js +0 -10
  348. package/lib/entity/notificationRegistry/notificationRegistryState.js +0 -10
  349. package/lib/entity/onboardingCustomer/onboardingCustomerPayload.js +0 -27
  350. package/lib/entity/onboardingCustomer/onboardingCustomerReducer.js +0 -32
  351. package/lib/entity/onboardingCustomer/onboardingCustomerSelector.js +0 -16
  352. package/lib/entity/onboardingCustomer/onboardingCustomerState.js +0 -2
  353. package/lib/entity/paymentAccount/paymentAccountPayload.js +0 -57
  354. package/lib/entity/paymentAccount/paymentAccountReducer.js +0 -41
  355. package/lib/entity/paymentAccount/paymentAccountSelector.js +0 -39
  356. package/lib/entity/paymentAccount/paymentAccountState.js +0 -9
  357. package/lib/entity/paymentInstrument/paymentInstrument.js +0 -2
  358. package/lib/entity/paymentInstrument/paymentInstrumentPayload.js +0 -21
  359. package/lib/entity/paymentInstrument/paymentInstrumentReducer.js +0 -37
  360. package/lib/entity/paymentInstrument/paymentInstrumentSelector.js +0 -17
  361. package/lib/entity/portfolio/accountingSummary/accountingSummaryPayload.js +0 -2
  362. package/lib/entity/portfolio/accountingSummary/accountingSummaryReducer.js +0 -79
  363. package/lib/entity/portfolio/accountingSummary/accountingSummarySelector.js +0 -17
  364. package/lib/entity/portfolio/accountingSummary/accountingSummaryState.js +0 -2
  365. package/lib/entity/project/projectPayload.js +0 -44
  366. package/lib/entity/project/projectReducer.js +0 -33
  367. package/lib/entity/project/projectSelector.js +0 -12
  368. package/lib/entity/project/projectState.js +0 -2
  369. package/lib/entity/reconciliationReport/reconciliationReportPayload.js +0 -2
  370. package/lib/entity/reconciliationReport/reconciliationReportReducer.js +0 -152
  371. package/lib/entity/reconciliationReport/reconciliationReportSelector.js +0 -10
  372. package/lib/entity/reconciliationReport/reconciliationReportState.js +0 -18
  373. package/lib/entity/reimbursement/reimbursementPayload.js +0 -205
  374. package/lib/entity/reimbursement/reimbursementReducer.js +0 -75
  375. package/lib/entity/reimbursement/reimbursementState.js +0 -2
  376. package/lib/entity/reimbursement/reimbursementTypes.js +0 -7
  377. package/lib/entity/sectionAccountsView/getNestedAccountIDHierarchyForSection.js +0 -62
  378. package/lib/entity/sectionAccountsView/sectionAccountsView.js +0 -6
  379. package/lib/entity/sectionAccountsView/sectionAccountsViewEpic.js +0 -56
  380. package/lib/entity/sectionAccountsView/sectionAccountsViewHelper.js +0 -15
  381. package/lib/entity/sectionAccountsView/sectionAccountsViewReducer.js +0 -104
  382. package/lib/entity/sectionAccountsView/sectionAccountsViewSelector.js +0 -85
  383. package/lib/entity/sectionAccountsView/sectionAccountsViewState.js +0 -2
  384. package/lib/entity/sectionClassesViewV2/sectionClassesView.js +0 -6
  385. package/lib/entity/sectionClassesViewV2/sectionClassesViewEpic.js +0 -59
  386. package/lib/entity/sectionClassesViewV2/sectionClassesViewHelper.js +0 -14
  387. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.js +0 -57
  388. package/lib/entity/sectionClassesViewV2/sectionClassesViewSelector.js +0 -54
  389. package/lib/entity/sectionClassesViewV2/sectionClassesViewSelectorTypes.js +0 -2
  390. package/lib/entity/sectionClassesViewV2/sectionClassesViewState.js +0 -2
  391. package/lib/entity/sectionClassesViewV2/selectorHelpers/getNestedClassIDHierarchyForSection.js +0 -59
  392. package/lib/entity/sectionProjectView/sectionProjectView.js +0 -6
  393. package/lib/entity/sectionProjectView/sectionProjectViewEpic.js +0 -60
  394. package/lib/entity/sectionProjectView/sectionProjectViewHelper.js +0 -15
  395. package/lib/entity/sectionProjectView/sectionProjectViewReducer.js +0 -67
  396. package/lib/entity/sectionProjectView/sectionProjectViewSelector.js +0 -57
  397. package/lib/entity/sectionProjectView/sectionProjectViewSelectorTypes.js +0 -2
  398. package/lib/entity/sectionProjectView/sectionProjectViewState.js +0 -2
  399. package/lib/entity/snackbar/snackbarApiError.js +0 -15
  400. package/lib/entity/snackbar/snackbarReducer.js +0 -42
  401. package/lib/entity/snackbar/snackbarSelector.js +0 -12
  402. package/lib/entity/snackbar/snackbarState.js +0 -2
  403. package/lib/entity/snackbar/snackbarTypes.js +0 -289
  404. package/lib/entity/subscription/subscription/subscriptionPayload.js +0 -2
  405. package/lib/entity/subscription/subscription/subscriptionReducer.js +0 -83
  406. package/lib/entity/subscription/subscription/subscriptionSelector.js +0 -26
  407. package/lib/entity/subscription/subscription/subscriptionState.js +0 -2
  408. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnPayload.js +0 -2
  409. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnReducer.js +0 -65
  410. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnSelector.js +0 -25
  411. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnState.js +0 -2
  412. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponPayload.js +0 -2
  413. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponReducer.js +0 -59
  414. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponSelector.js +0 -25
  415. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponState.js +0 -2
  416. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanPayload.js +0 -2
  417. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js +0 -69
  418. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanSelector.js +0 -26
  419. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanState.js +0 -2
  420. package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryPayload.js +0 -2
  421. package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryReducer.js +0 -77
  422. package/lib/entity/subscription/subscriptionSummary/subscriptionSummarySelector.js +0 -38
  423. package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryState.js +0 -2
  424. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountPayload.js +0 -22
  425. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountReducer.js +0 -31
  426. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountSelector.js +0 -17
  427. package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountState.js +0 -2
  428. package/lib/entity/tag/tagPayload.js +0 -12
  429. package/lib/entity/tag/tagReducer.js +0 -52
  430. package/lib/entity/tag/tagSelector.js +0 -17
  431. package/lib/entity/tag/tagState.js +0 -2
  432. package/lib/entity/task/taskPayload.js +0 -81
  433. package/lib/entity/task/taskReducer.js +0 -61
  434. package/lib/entity/task/taskSelector.js +0 -17
  435. package/lib/entity/task/taskState.js +0 -32
  436. package/lib/entity/taskGroup/taskGroupPayload.js +0 -13
  437. package/lib/entity/taskGroup/taskGroupReducer.js +0 -36
  438. package/lib/entity/taskGroup/taskGroupSelector.js +0 -17
  439. package/lib/entity/taskGroup/taskGroupState.js +0 -2
  440. package/lib/entity/taskGroupTemplate/taskGroupTemplatePayload.js +0 -2
  441. package/lib/entity/taskGroupTemplate/taskGroupTemplateReducer.js +0 -34
  442. package/lib/entity/taskGroupTemplate/taskGroupTemplateSelector.js +0 -17
  443. package/lib/entity/taskGroupTemplate/taskGroupTemplateState.js +0 -2
  444. package/lib/entity/taskSummary/taskSummaryPayload.js +0 -2
  445. package/lib/entity/taskSummary/taskSummaryReducer.js +0 -35
  446. package/lib/entity/taskSummary/taskSummarySelector.js +0 -17
  447. package/lib/entity/taskSummary/taskSummaryState.js +0 -2
  448. package/lib/entity/tenant/SessionManager.js +0 -340
  449. package/lib/entity/tenant/epic/deleteConnectionEpic.js +0 -29
  450. package/lib/entity/tenant/epic/doMagicLinkSignInEpic.js +0 -46
  451. package/lib/entity/tenant/epic/fetchActiveTenantEpic.js +0 -48
  452. package/lib/entity/tenant/epic/fetchAllTenantsEpic.js +0 -117
  453. package/lib/entity/tenant/epic/fetchExcludedResourcesEpic.js +0 -19
  454. package/lib/entity/tenant/epic/fetchExternalConnectionsEpic.js +0 -19
  455. package/lib/entity/tenant/epic/fetchSubscriptionSummaryForTenantEpic.js +0 -16
  456. package/lib/entity/tenant/epic/initEmailConnectOAuthEpic.js +0 -59
  457. package/lib/entity/tenant/epic/resendVerifyDeviceOTPEpic.js +0 -39
  458. package/lib/entity/tenant/epic/saveAPIKeyConnectionEpic.js +0 -35
  459. package/lib/entity/tenant/epic/saveConnectorCredentialsEpic.js +0 -42
  460. package/lib/entity/tenant/epic/saveExternalConnectionEpic.js +0 -83
  461. package/lib/entity/tenant/epic/saveOAuthConnectionEpic.js +0 -37
  462. package/lib/entity/tenant/epic/sendEmailMagicLinkToUserEpic.js +0 -64
  463. package/lib/entity/tenant/epic/sessionHeartbeatEpic.js +0 -25
  464. package/lib/entity/tenant/epic/signInUserEpic.js +0 -37
  465. package/lib/entity/tenant/epic/signOutUserEpic.js +0 -21
  466. package/lib/entity/tenant/epic/verifyDeviceWithTwoFAEpic.js +0 -42
  467. package/lib/entity/tenant/sessionTypes.js +0 -12
  468. package/lib/entity/tenant/tenantPayload.js +0 -7
  469. package/lib/entity/tenant/tenantReducer.js +0 -1223
  470. package/lib/entity/tenant/tenantSelector.js +0 -377
  471. package/lib/entity/tenant/tenantState.js +0 -7
  472. package/lib/entity/tenant/tenantTypes.js +0 -15
  473. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.js +0 -41
  474. package/lib/entity/toastNotification/toastNotificationConstants.js +0 -7
  475. package/lib/entity/toastNotification/toastNotificationPayload.js +0 -45
  476. package/lib/entity/toastNotification/toastNotificationReducer.js +0 -47
  477. package/lib/entity/toastNotification/toastNotificationSelector.js +0 -11
  478. package/lib/entity/toastNotification/toastNotificationState.js +0 -78
  479. package/lib/entity/transaction/payloadTypes/attachmentPayload.js +0 -29
  480. package/lib/entity/transaction/payloadTypes/customerTransactionPayload.js +0 -35
  481. package/lib/entity/transaction/payloadTypes/otherTransactionPayload.js +0 -56
  482. package/lib/entity/transaction/payloadTypes/reconciliationTransactionPayloads.js +0 -83
  483. package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.js +0 -40
  484. package/lib/entity/transaction/payloadTypes/transactionIDPayload.js +0 -14
  485. package/lib/entity/transaction/payloadTypes/transactionLinePayload.js +0 -228
  486. package/lib/entity/transaction/payloadTypes/transactionPayload.js +0 -356
  487. package/lib/entity/transaction/payloadTypes/vendorTransactionPayload.js +0 -67
  488. package/lib/entity/transaction/stateTypes/attachment.js +0 -44
  489. package/lib/entity/transaction/stateTypes/customerTransaction.js +0 -6
  490. package/lib/entity/transaction/stateTypes/otherTransaction.js +0 -8
  491. package/lib/entity/transaction/stateTypes/paymentType.js +0 -17
  492. package/lib/entity/transaction/stateTypes/printStatus.js +0 -11
  493. package/lib/entity/transaction/stateTypes/reconciliationTransaction.js +0 -10
  494. package/lib/entity/transaction/stateTypes/scheduleTransaction.js +0 -2
  495. package/lib/entity/transaction/stateTypes/transaction.js +0 -2
  496. package/lib/entity/transaction/stateTypes/transactionID.js +0 -2
  497. package/lib/entity/transaction/stateTypes/transactionLine.js +0 -31
  498. package/lib/entity/transaction/stateTypes/transactionType.js +0 -72
  499. package/lib/entity/transaction/stateTypes/vendorTransaction.js +0 -10
  500. package/lib/entity/transaction/toSupportedTransaction.js +0 -26
  501. package/lib/entity/transaction/transactionHelper.js +0 -164
  502. package/lib/entity/transaction/transactionReducer.js +0 -191
  503. package/lib/entity/transaction/transactionSelector.js +0 -29
  504. package/lib/entity/transaction/transactionState.js +0 -2
  505. package/lib/entity/transactionActivityLog/transactionActivityLogPayload.js +0 -59
  506. package/lib/entity/transactionActivityLog/transactionActivityLogReducer.js +0 -29
  507. package/lib/entity/transactionActivityLog/transactionActivityLogSelector.js +0 -17
  508. package/lib/entity/transactionActivityLog/transactionActivityLogState.js +0 -20
  509. package/lib/entity/user/userPayload.js +0 -2
  510. package/lib/entity/user/userReducer.js +0 -89
  511. package/lib/entity/user/userSelector.js +0 -47
  512. package/lib/entity/user/userState.js +0 -2
  513. package/lib/entity/userGroups/userGroupsPayload.js +0 -10
  514. package/lib/entity/userGroups/userGroupsReducer.js +0 -32
  515. package/lib/entity/userGroups/userGroupsSelector.js +0 -12
  516. package/lib/entity/userGroups/userGroupsState.js +0 -2
  517. package/lib/entity/userRole/userRolePayload.js +0 -107
  518. package/lib/entity/userRole/userRoleReducer.js +0 -107
  519. package/lib/entity/userRole/userRoleSelector.js +0 -13
  520. package/lib/entity/userRole/userRoleState.js +0 -6
  521. package/lib/entity/userRole/userRoleTenantAccess.js +0 -102
  522. package/lib/entity/userRole/userRoleType.js +0 -450
  523. package/lib/entity/vendor/__mocks__/vendorMock.js +0 -311
  524. package/lib/entity/vendor/__mocks__/vendorStateMocks.js +0 -415
  525. package/lib/entity/vendor/vendorPayload.js +0 -123
  526. package/lib/entity/vendor/vendorReducer.js +0 -76
  527. package/lib/entity/vendor/vendorSelector.js +0 -27
  528. package/lib/entity/vendor/vendorState.js +0 -10
  529. package/lib/entity/vendor/vendorType.js +0 -10
  530. package/lib/entity/vendorExpense/vendorExpenseReducer.js +0 -80
  531. package/lib/entity/vendorExpense/vendorExpenseSelector.js +0 -20
  532. package/lib/entity/vendorExpense/vendorExpenseState.js +0 -2
  533. package/lib/entity/vendorExpense/vendorExpenseTrend.js +0 -139
  534. package/lib/entity/vendorExpense/vendorExpenseTrendKey.js +0 -6
  535. package/lib/entity/vendorExpense/vendorSpendTrendFilterTabType.js +0 -19
  536. package/lib/epic.js +0 -1605
  537. package/lib/epicManager.js +0 -26
  538. package/lib/esm/view/transactionDetail/createTransaction/epics/createTransactionCompletedEpic.js +0 -22
  539. package/lib/externalAPI.js +0 -2
  540. package/lib/init.js +0 -150
  541. package/lib/pusherClient.js +0 -151
  542. package/lib/reducer.js +0 -899
  543. package/lib/responsePayload.js +0 -10
  544. package/lib/rootActions.js +0 -21
  545. package/lib/rootStateTypes.js +0 -2
  546. package/lib/sessionEndpointsLoader.js +0 -11
  547. package/lib/view/accountList/accountListPayload.js +0 -2
  548. package/lib/view/accountList/accountListReducer.js +0 -114
  549. package/lib/view/accountList/accountListSelector.js +0 -83
  550. package/lib/view/accountList/accountListState.js +0 -2
  551. package/lib/view/accountList/fetchAccountListEpic.js +0 -55
  552. package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +0 -4659
  553. package/lib/view/accountMappingView/accountMappingPayload.js +0 -160
  554. package/lib/view/accountMappingView/accountMappingReducer.js +0 -336
  555. package/lib/view/accountMappingView/accountMappingState.js +0 -2
  556. package/lib/view/accountMappingView/accountMappingTypeHelper.js +0 -2
  557. package/lib/view/accountMappingView/accountMappingViewSelector.js +0 -130
  558. package/lib/view/accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload.js +0 -67
  559. package/lib/view/accountMappingView/accountTypeRecommendation/fetchRecommendationForAccountTypeEpic.js +0 -27
  560. package/lib/view/accountMappingView/fetchAccountListForAccountTypesEpic.js +0 -41
  561. package/lib/view/accountMappingView/initializeAccountMappingViewEpic.js +0 -15
  562. package/lib/view/accountMappingView/saveAccountMappingViewEpic.js +0 -52
  563. package/lib/view/addressView/__mocks__/addressViewMocks.js +0 -239
  564. package/lib/view/addressView/addressViewPayload.js +0 -23
  565. package/lib/view/addressView/addressViewReducer.js +0 -196
  566. package/lib/view/addressView/addressViewSelector.js +0 -38
  567. package/lib/view/addressView/addressViewState.js +0 -2
  568. package/lib/view/addressView/epic/createAddressEpic.js +0 -45
  569. package/lib/view/addressView/epic/createCompanyAddressEpic.js +0 -48
  570. package/lib/view/addressView/epic/createCompanyUserAddressEpic.js +0 -57
  571. package/lib/view/addressView/epic/fetchAddressEpic.js +0 -33
  572. package/lib/view/addressView/epic/saveNewAddressEpic.js +0 -33
  573. package/lib/view/addressView/epic/updateAddressEpic.js +0 -29
  574. package/lib/view/addressView/toAddressViewLocalData.js +0 -37
  575. package/lib/view/aiAccountantView/aiAccountantViewPayload.js +0 -8
  576. package/lib/view/aiAccountantView/aiAccountantViewReducer.js +0 -157
  577. package/lib/view/aiAccountantView/aiAccountantViewSelector.js +0 -83
  578. package/lib/view/aiAccountantView/aiAccountantViewState.js +0 -13
  579. package/lib/view/aiAccountantView/epics/cancelAiAccountantOnboardingEpic.js +0 -50
  580. package/lib/view/aiAccountantView/epics/fetchAiAccountantCustomersEpic.js +0 -28
  581. package/lib/view/aiAccountantView/epics/fetchAiAccountantJobsEpic.js +0 -48
  582. package/lib/view/aiAccountantView/epics/triggerAiAccountantJobEpic.js +0 -83
  583. package/lib/view/aiAgentPerformance/aggregatedReportEpic.js +0 -29
  584. package/lib/view/aiAgentPerformance/aggregatedReportPayload.js +0 -2
  585. package/lib/view/aiAgentPerformance/aggregatedReportViewReducer.js +0 -166
  586. package/lib/view/aiAgentPerformance/aggregatedReportViewSelector.js +0 -12
  587. package/lib/view/aiAgentPerformance/aggregatedReportViewState.js +0 -45
  588. package/lib/view/aiAgentPerformance/performanceHelper.js +0 -54
  589. package/lib/view/aiCfoView/aiCfoViewPayload.js +0 -2
  590. package/lib/view/aiCfoView/aiCfoViewReducer.js +0 -1254
  591. package/lib/view/aiCfoView/aiCfoViewSelector.js +0 -178
  592. package/lib/view/aiCfoView/aiCfoViewState.js +0 -2
  593. package/lib/view/aiCfoView/epics/acceptMasterTOSEpic.js +0 -28
  594. package/lib/view/aiCfoView/epics/createSessionAndSubmitEpic.js +0 -151
  595. package/lib/view/aiCfoView/epics/createSessionEpic.js +0 -38
  596. package/lib/view/aiCfoView/epics/deleteChatSessionEpic.js +0 -59
  597. package/lib/view/aiCfoView/epics/deleteRoutineEpic.js +0 -39
  598. package/lib/view/aiCfoView/epics/deleteSkillEpic.js +0 -27
  599. package/lib/view/aiCfoView/epics/fetchChatHistoryEpic.js +0 -47
  600. package/lib/view/aiCfoView/epics/fetchChatSessionsForUserEpic.js +0 -35
  601. package/lib/view/aiCfoView/epics/fetchRoutineRunsEpic.js +0 -39
  602. package/lib/view/aiCfoView/epics/fetchRoutinesEpic.js +0 -41
  603. package/lib/view/aiCfoView/epics/fetchSkillDetailEpic.js +0 -39
  604. package/lib/view/aiCfoView/epics/fetchSkillVersionBodyEpic.js +0 -49
  605. package/lib/view/aiCfoView/epics/fetchSkillVersionsEpic.js +0 -41
  606. package/lib/view/aiCfoView/epics/fetchSkillsEpic.js +0 -68
  607. package/lib/view/aiCfoView/epics/fetchSuggestedQuestionsEpic.js +0 -43
  608. package/lib/view/aiCfoView/epics/runRoutineEpic.js +0 -38
  609. package/lib/view/aiCfoView/epics/saveRoutineEpic.js +0 -69
  610. package/lib/view/aiCfoView/epics/saveSkillEpic.js +0 -76
  611. package/lib/view/aiCfoView/epics/setRoutineEnabledEpic.js +0 -32
  612. package/lib/view/aiCfoView/epics/setSkillVisibilityEpic.js +0 -36
  613. package/lib/view/aiCfoView/epics/stopSubmitEpic.js +0 -55
  614. package/lib/view/aiCfoView/epics/stopSubmitQuestionEpic.js +0 -41
  615. package/lib/view/aiCfoView/epics/submitFeedbackEpic.js +0 -43
  616. package/lib/view/aiCfoView/epics/submitQuestionEpic.js +0 -69
  617. package/lib/view/aiCfoView/epics/toRoutine.js +0 -69
  618. package/lib/view/aiCfoView/epics/toRoutineRun.js +0 -47
  619. package/lib/view/aiCfoView/epics/toSkillDetail.js +0 -110
  620. package/lib/view/aiCfoView/epics/transcribeAudioEpic.js +0 -64
  621. package/lib/view/apAgingView/apAgingDetail/apAgingDetailPayload.js +0 -47
  622. package/lib/view/apAgingView/apAgingDetail/apAgingDetailReducer.js +0 -105
  623. package/lib/view/apAgingView/apAgingDetail/apAgingDetailSelector.js +0 -83
  624. package/lib/view/apAgingView/apAgingDetail/apAgingDetailState.js +0 -2
  625. package/lib/view/apAgingView/apAgingDetail/fetchApAgingDetailEpic.js +0 -37
  626. package/lib/view/apAgingView/apAgingReport/apAgingPayload.js +0 -50
  627. package/lib/view/apAgingView/apAgingReport/apAgingReducer.js +0 -129
  628. package/lib/view/apAgingView/apAgingReport/apAgingSelector.js +0 -70
  629. package/lib/view/apAgingView/apAgingReport/apAgingState.js +0 -2
  630. package/lib/view/apAgingView/apAgingReport/fetchApAgingEpic.js +0 -47
  631. package/lib/view/arAgingView/arAgingDetail/arAgingDetailPayload.js +0 -47
  632. package/lib/view/arAgingView/arAgingDetail/arAgingDetailReducer.js +0 -105
  633. package/lib/view/arAgingView/arAgingDetail/arAgingDetailSelector.js +0 -56
  634. package/lib/view/arAgingView/arAgingDetail/arAgingDetailState.js +0 -2
  635. package/lib/view/arAgingView/arAgingDetail/fetchArAgingDetailEpic.js +0 -37
  636. package/lib/view/arAgingView/arAgingReport/arAgingPayload.js +0 -57
  637. package/lib/view/arAgingView/arAgingReport/arAgingReducer.js +0 -141
  638. package/lib/view/arAgingView/arAgingReport/arAgingSelector.js +0 -99
  639. package/lib/view/arAgingView/arAgingReport/arAgingState.js +0 -2
  640. package/lib/view/arAgingView/arAgingReport/fetchArAgingEpic.js +0 -45
  641. package/lib/view/auditReportView/auditReportViewHelper.js +0 -106
  642. package/lib/view/auditReportView/auditReportViewPayload.js +0 -2
  643. package/lib/view/auditReportView/auditReportViewReducer.js +0 -206
  644. package/lib/view/auditReportView/auditReportViewSelector.js +0 -49
  645. package/lib/view/auditReportView/auditReportViewState.js +0 -25
  646. package/lib/view/auditReportView/epics/fetchAuditReportGroupViewEpic.js +0 -54
  647. package/lib/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.js +0 -39
  648. package/lib/view/auditReportView/epics/saveReasonForAuditRuleEpic.js +0 -46
  649. package/lib/view/authenticationView/authenticationViewPayload.js +0 -2
  650. package/lib/view/authenticationView/authenticationViewReducer.js +0 -63
  651. package/lib/view/authenticationView/authenticationViewSelector.js +0 -11
  652. package/lib/view/authenticationView/authenticationViewState.js +0 -2
  653. package/lib/view/authenticationView/epics/fetchCollaborationAuthTokenEpic.js +0 -28
  654. package/lib/view/autoComplete/entityAutoCompletePayload.js +0 -2
  655. package/lib/view/autoComplete/entityAutoCompleteReducer.js +0 -62
  656. package/lib/view/autoComplete/entityAutoCompleteSelector.js +0 -25
  657. package/lib/view/autoComplete/entityAutoCompleteState.js +0 -2
  658. package/lib/view/autoComplete/fetchEntityAutoCompleteEpic.js +0 -50
  659. package/lib/view/balanceSheet/balanceSheetEpic.js +0 -35
  660. package/lib/view/balanceSheet/balanceSheetForTimeframeEpic.js +0 -86
  661. package/lib/view/balanceSheet/balanceSheetPayload.js +0 -76
  662. package/lib/view/balanceSheet/balanceSheetReducer.js +0 -123
  663. package/lib/view/balanceSheet/balanceSheetSelector.js +0 -95
  664. package/lib/view/balanceSheet/balanceSheetSelectorTypes.js +0 -115
  665. package/lib/view/balanceSheet/balanceSheetState.js +0 -2
  666. package/lib/view/balanceSheetClassesView/balanceSheetClassesViewEpic.js +0 -34
  667. package/lib/view/balanceSheetClassesView/balanceSheetClassesViewPayload.js +0 -2
  668. package/lib/view/balanceSheetClassesView/balanceSheetClassesViewReducer.js +0 -133
  669. package/lib/view/balanceSheetClassesView/balanceSheetClassesViewSelector.js +0 -94
  670. package/lib/view/balanceSheetClassesView/balanceSheetClassesViewSelectorTypes.js +0 -2
  671. package/lib/view/balanceSheetClassesView/balanceSheetClassesViewState.js +0 -2
  672. package/lib/view/balanceSheetClassesView/balanceSheetForTimeframeClassesViewEpic.js +0 -66
  673. package/lib/view/balanceSheetProjectView/balanceSheetForTimeframeProjectViewEpic.js +0 -68
  674. package/lib/view/balanceSheetProjectView/balanceSheetProjectViewEpic.js +0 -34
  675. package/lib/view/balanceSheetProjectView/balanceSheetProjectViewPayload.js +0 -2
  676. package/lib/view/balanceSheetProjectView/balanceSheetProjectViewReducer.js +0 -129
  677. package/lib/view/balanceSheetProjectView/balanceSheetProjectViewSelector.js +0 -94
  678. package/lib/view/balanceSheetProjectView/balanceSheetProjectViewSelectorTypes.js +0 -2
  679. package/lib/view/balanceSheetProjectView/balanceSheetProjectViewState.js +0 -2
  680. package/lib/view/bankAccountView/bankAccountViewPayload.js +0 -29
  681. package/lib/view/bankAccountView/bankAccountViewReducer.js +0 -353
  682. package/lib/view/bankAccountView/bankAccountViewSelector.js +0 -38
  683. package/lib/view/bankAccountView/bankAccountViewState.js +0 -2
  684. package/lib/view/bankAccountView/epic/createBankAccountEpic.js +0 -168
  685. package/lib/view/bankAccountView/epic/createInternationalBankAccountEpic.js +0 -124
  686. package/lib/view/bankAccountView/epic/createUserBankAccountEpic.js +0 -64
  687. package/lib/view/bankAccountView/epic/deleteBankAccountEpic.js +0 -59
  688. package/lib/view/bankAccountView/epic/deleteInternationalBankAccountEpic.js +0 -59
  689. package/lib/view/bankAccountView/epic/deleteUserBankAccountEpic.js +0 -63
  690. package/lib/view/bankAccountView/epic/fetchBankCountryNameByIbanEpic.js +0 -45
  691. package/lib/view/bankAccountView/epic/fetchBankNameByRoutingEpic.js +0 -43
  692. package/lib/view/bankAccountView/epic/fetchBankNameBySwiftEpic.js +0 -43
  693. package/lib/view/billPayCard/billPayCardPayload.js +0 -2
  694. package/lib/view/billPayCard/billPayCardReducer.js +0 -57
  695. package/lib/view/billPayCard/billPayCardSelector.js +0 -16
  696. package/lib/view/billPayCard/billPayCardState.js +0 -4
  697. package/lib/view/billPayCard/fetchBillPayCardEpic.js +0 -51
  698. package/lib/view/cardBalance/cardBalanceEpic.js +0 -21
  699. package/lib/view/cardBalance/cardBalancePayload.js +0 -2
  700. package/lib/view/cardBalance/cardBalanceReducer.js +0 -71
  701. package/lib/view/cardBalance/cardBalanceSelector.js +0 -19
  702. package/lib/view/cardBalance/cardBalanceState.js +0 -2
  703. package/lib/view/cardBalance/statementCloseDayEpic.js +0 -25
  704. package/lib/view/cardPayment/cardPaymentViewPayload.js +0 -2
  705. package/lib/view/cardPayment/cardPaymentViewReducer.js +0 -130
  706. package/lib/view/cardPayment/cardPaymentViewSelector.js +0 -24
  707. package/lib/view/cardPayment/cardPaymentViewState.js +0 -2
  708. package/lib/view/cardPayment/cardPaymentViewTypes.js +0 -9
  709. package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.js +0 -70
  710. package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.js +0 -44
  711. package/lib/view/cardPayment/epic/createCardSetupIntentEpic.js +0 -56
  712. package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.js +0 -48
  713. package/lib/view/cashBalance/cashBalanceEpic.js +0 -21
  714. package/lib/view/cashBalance/cashBalancePayload.js +0 -2
  715. package/lib/view/cashBalance/cashBalanceReducer.js +0 -58
  716. package/lib/view/cashBalance/cashBalanceSelector.js +0 -19
  717. package/lib/view/cashBalance/cashBalanceState.js +0 -2
  718. package/lib/view/cashFlow/cashFlowEpic.js +0 -35
  719. package/lib/view/cashFlow/cashFlowForTimeframeEpic.js +0 -63
  720. package/lib/view/cashFlow/cashFlowGroupedSectionOrder.js +0 -50
  721. package/lib/view/cashFlow/cashFlowPayload.js +0 -69
  722. package/lib/view/cashFlow/cashFlowReducer.js +0 -116
  723. package/lib/view/cashFlow/cashFlowSelector.js +0 -109
  724. package/lib/view/cashFlow/cashFlowSelectorTypes.js +0 -87
  725. package/lib/view/cashFlow/cashFlowState.js +0 -2
  726. package/lib/view/cashFlowClassesView/cashFlowClassesViewEpic.js +0 -34
  727. package/lib/view/cashFlowClassesView/cashFlowClassesViewPayload.js +0 -2
  728. package/lib/view/cashFlowClassesView/cashFlowClassesViewReducer.js +0 -133
  729. package/lib/view/cashFlowClassesView/cashFlowClassesViewSelector.js +0 -57
  730. package/lib/view/cashFlowClassesView/cashFlowClassesViewSelectorTypes.js +0 -2
  731. package/lib/view/cashFlowClassesView/cashFlowClassesViewState.js +0 -2
  732. package/lib/view/cashFlowClassesView/cashFlowForTimeframeClassesViewEpic.js +0 -60
  733. package/lib/view/cashFlowProjectView/cashFlowForTimeframeProjectViewEpic.js +0 -62
  734. package/lib/view/cashFlowProjectView/cashFlowProjectViewEpic.js +0 -34
  735. package/lib/view/cashFlowProjectView/cashFlowProjectViewPayload.js +0 -2
  736. package/lib/view/cashFlowProjectView/cashFlowProjectViewReducer.js +0 -129
  737. package/lib/view/cashFlowProjectView/cashFlowProjectViewSelector.js +0 -58
  738. package/lib/view/cashFlowProjectView/cashFlowProjectViewSelectorTypes.js +0 -2
  739. package/lib/view/cashFlowProjectView/cashFlowProjectViewState.js +0 -2
  740. package/lib/view/cashInCashOut/cashInCashOutEpic.js +0 -32
  741. package/lib/view/cashInCashOut/cashInCashOutPayload.js +0 -2
  742. package/lib/view/cashInCashOut/cashInCashOutReducer.js +0 -362
  743. package/lib/view/cashInCashOut/cashInCashOutSelector.js +0 -123
  744. package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.js +0 -8
  745. package/lib/view/cashInCashOut/cashInCashOutState.js +0 -2
  746. package/lib/view/cashPosition/cashPositionEpic.js +0 -31
  747. package/lib/view/cashPosition/cashPositionPayload.js +0 -2
  748. package/lib/view/cashPosition/cashPositionReducer.js +0 -377
  749. package/lib/view/cashPosition/cashPositionSelector.js +0 -93
  750. package/lib/view/cashPosition/cashPositionSelectorTypes.js +0 -2
  751. package/lib/view/cashPosition/cashPositionState.js +0 -2
  752. package/lib/view/classList/classListPayload.js +0 -2
  753. package/lib/view/classList/classListReducer.js +0 -52
  754. package/lib/view/classList/classListSelector.js +0 -22
  755. package/lib/view/classList/classListState.js +0 -2
  756. package/lib/view/classList/fetchClassListEpic.js +0 -35
  757. package/lib/view/coachmarkPreferences/coachmarkPreferencesPayload.js +0 -2
  758. package/lib/view/coachmarkPreferences/coachmarkPreferencesReducer.js +0 -66
  759. package/lib/view/coachmarkPreferences/coachmarkPreferencesSelector.js +0 -14
  760. package/lib/view/coachmarkPreferences/coachmarkPreferencesState.js +0 -2
  761. package/lib/view/coachmarkPreferences/epic/fetchCoachmarkPreferencesEpic.js +0 -22
  762. package/lib/view/coachmarkPreferences/epic/markCoachmarkDismissedEpic.js +0 -31
  763. package/lib/view/common/getSelectedAndHighlightedRanges.js +0 -302
  764. package/lib/view/common/recurringViewHelper.js +0 -88
  765. package/lib/view/common/reportsHelpers.js +0 -21
  766. package/lib/view/common/zeniClearingAccountHelper.js +0 -13
  767. package/lib/view/commonVendorView/commonVendorViewHelper.js +0 -104
  768. package/lib/view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic.js +0 -30
  769. package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js +0 -141
  770. package/lib/view/commonVendorView/transactionVendorView/transactionVendorLocalDataHelper.js +0 -13
  771. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.js +0 -50
  772. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.js +0 -146
  773. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.js +0 -63
  774. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewState.js +0 -2
  775. package/lib/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.js +0 -66
  776. package/lib/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.js +0 -62
  777. package/lib/view/commonVendorView/vendorView/epics/fetchVendorEpic.js +0 -69
  778. package/lib/view/commonVendorView/vendorView/epics/initializeVendorAddressEpic.js +0 -29
  779. package/lib/view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic.js +0 -30
  780. package/lib/view/commonVendorView/vendorView/epics/saveVendorEpic.js +0 -254
  781. package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/fetchUserDetailEpic.js +0 -25
  782. package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/verifyUserEpic.js +0 -31
  783. package/lib/view/commonVendorView/vendorView/epics/updateSelectedVendorForCreateFlowEpic.js +0 -24
  784. package/lib/view/commonVendorView/vendorView/epics/vendorDetailLocalDataHelpers.js +0 -88
  785. package/lib/view/commonVendorView/vendorView/vendorViewPayload.js +0 -92
  786. package/lib/view/commonVendorView/vendorView/vendorViewReducer.js +0 -656
  787. package/lib/view/commonVendorView/vendorView/vendorViewSelector.js +0 -257
  788. package/lib/view/commonVendorView/vendorView/vendorViewState.js +0 -2
  789. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.js +0 -34
  790. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic.js +0 -47
  791. package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.js +0 -64
  792. package/lib/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.js +0 -22
  793. package/lib/view/commonVendorView/vendorsTabVendorView/epics/saveVendorsTabVendorEpic.js +0 -56
  794. package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.js +0 -71
  795. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.js +0 -84
  796. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.js +0 -237
  797. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +0 -127
  798. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewState.js +0 -13
  799. package/lib/view/companyConfigView/companyConfigEpic.js +0 -23
  800. package/lib/view/companyConfigView/companyConfigPayload.js +0 -2
  801. package/lib/view/companyConfigView/companyConfigReducer.js +0 -40
  802. package/lib/view/companyConfigView/companyConfigSelector.js +0 -12
  803. package/lib/view/companyConfigView/companyConfigState.js +0 -2
  804. package/lib/view/companyHealthMetricView/companyHealthMetricConfigPayload.js +0 -2
  805. package/lib/view/companyHealthMetricView/companyHealthMetricConfigReducer.js +0 -44
  806. package/lib/view/companyHealthMetricView/companyHealthMetricConfigSelector.js +0 -9
  807. package/lib/view/companyHealthMetricView/companyHealthMetricView.js +0 -2
  808. package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.js +0 -2
  809. package/lib/view/companyHealthMetricView/companyHealthMetricViewReducer.js +0 -107
  810. package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.js +0 -566
  811. package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricConfigEpic.js +0 -23
  812. package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricViewEpic.js +0 -41
  813. package/lib/view/companyHealthMetricView/epic/initializeCompanyHealthMetricViewLocalData.js +0 -28
  814. package/lib/view/companyHealthMetricView/epic/saveCompanyHealthMetricByIdEpic.js +0 -57
  815. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewPayload.js +0 -2
  816. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +0 -366
  817. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.js +0 -121
  818. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewState.js +0 -50
  819. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.js +0 -66
  820. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.js +0 -54
  821. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportTemplatesEpic.js +0 -55
  822. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js +0 -52
  823. package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.js +0 -33
  824. package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +0 -84
  825. package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +0 -91
  826. package/lib/view/companyMonthEndReportView/monthEndTemplateData.js +0 -36
  827. package/lib/view/companyTaskManagerView/companyTaskManagerViewPayload.js +0 -2
  828. package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.js +0 -129
  829. package/lib/view/companyTaskManagerView/companyTaskManagerViewSelector.js +0 -51
  830. package/lib/view/companyTaskManagerView/companyTaskManagerViewState.js +0 -2
  831. package/lib/view/companyTaskManagerView/epics/fetchCockpitContextEpic.js +0 -42
  832. package/lib/view/companyTaskManagerView/epics/fetchCompanyTaskManagerViewEpic.js +0 -211
  833. package/lib/view/companyTaskManagerView/epics/fetchTaskManagerMetricsEpic.js +0 -27
  834. package/lib/view/companyTaskManagerView/epics/updateCompanyTaskManagerViewFiltersEpic.js +0 -20
  835. package/lib/view/companyView/companyViewPayload.js +0 -2
  836. package/lib/view/companyView/companyViewReducer.js +0 -813
  837. package/lib/view/companyView/companyViewState.js +0 -2
  838. package/lib/view/companyView/epic/companyManagementSavePendingUpdates.js +0 -18
  839. package/lib/view/companyView/epic/companyManagementSaveUpdatesEpic.js +0 -116
  840. package/lib/view/companyView/epic/companyPassport/createCompanyOfficersEpic.js +0 -90
  841. package/lib/view/companyView/epic/companyPassport/dismissCapitalizationOnboardingEpic.js +0 -30
  842. package/lib/view/companyView/epic/companyPassport/fetchCompanyPassportViewEpic.js +0 -65
  843. package/lib/view/companyView/epic/companyPassport/projects/disableAccountingProjectsEpic.js +0 -60
  844. package/lib/view/companyView/epic/companyPassport/projects/enableAccountingProjectsEpic.js +0 -41
  845. package/lib/view/companyView/epic/companyPassport/projects/resumeEnableAccountingProjectsEpic.js +0 -77
  846. package/lib/view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.js +0 -34
  847. package/lib/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.js +0 -66
  848. package/lib/view/companyView/epic/companyPassport/updateAutoReviewIncomeWithoutCustomerEpic.js +0 -70
  849. package/lib/view/companyView/epic/companyPassport/updateCapitalizationAccountThresholdEpic.js +0 -103
  850. package/lib/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.js +0 -58
  851. package/lib/view/companyView/epic/companyPassport/updateCompanyOfficerEpic.js +0 -52
  852. package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +0 -41
  853. package/lib/view/companyView/epic/companyPassport/updateCustomersTabSettingEpic.js +0 -51
  854. package/lib/view/companyView/epic/companyPassport/updatePrimaryContactEpic.js +0 -74
  855. package/lib/view/companyView/epic/fetchAllCockpitViewsEpic.js +0 -85
  856. package/lib/view/companyView/epic/fetchCompanyManagementViewEpic.js +0 -101
  857. package/lib/view/companyView/epic/fetchCompanyMetaDataEpic.js +0 -24
  858. package/lib/view/companyView/epic/fetchCompanyPortfolioViewEpic.js +0 -40
  859. package/lib/view/companyView/epic/fetchManagementViewEpic.js +0 -27
  860. package/lib/view/companyView/epic/fetchOnboardingViewEpic.js +0 -42
  861. package/lib/view/companyView/epic/fetchPortfolioViewEpic.js +0 -27
  862. package/lib/view/companyView/epic/fetchSubscriptionViewEpic.js +0 -29
  863. package/lib/view/companyView/epic/fetchZeniUsersEpic.js +0 -24
  864. package/lib/view/companyView/epic/getSubscriptionIDsByCompanyID.js +0 -19
  865. package/lib/view/companyView/epic/updateCompanyProductServicesEpic.js +0 -95
  866. package/lib/view/companyView/epic/updateCompanyQboRealmIdEpic.js +0 -62
  867. package/lib/view/companyView/helpers/cockpitHelpers.js +0 -177
  868. package/lib/view/companyView/parentSubsidiaryView/fetchParentSubsidiaryManagementViewEpic.js +0 -19
  869. package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewSelector.js +0 -16
  870. package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewState.js +0 -7
  871. package/lib/view/companyView/selector/companyManagementViewSelector.js +0 -547
  872. package/lib/view/companyView/selector/companyPassportViewSelector.js +0 -166
  873. package/lib/view/companyView/selector/companyPortfolioViewSelector.js +0 -245
  874. package/lib/view/companyView/selector/getAllCockpitTabsFilterView.js +0 -63
  875. package/lib/view/companyView/selectorHelpers/getCompanyView.js +0 -195
  876. package/lib/view/companyView/types/cockpitTabsID.js +0 -17
  877. package/lib/view/companyView/types/cockpitTypes.js +0 -108
  878. package/lib/view/companyView/types/commonState.js +0 -12
  879. package/lib/view/companyView/types/companyManagementViewState.js +0 -35
  880. package/lib/view/companyView/types/companyMetaDataViewState.js +0 -17
  881. package/lib/view/companyView/types/companyPassport/companyDetailsLocalData.js +0 -2
  882. package/lib/view/companyView/types/companyPassport/companyPassportLocalData.js +0 -83
  883. package/lib/view/companyView/types/companyPassport/companyPassportViewState.js +0 -117
  884. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.js +0 -10
  885. package/lib/view/companyView/types/companyPassport/officerType.js +0 -7
  886. package/lib/view/companyView/types/companyPassportViewPayload.js +0 -119
  887. package/lib/view/companyView/types/companyPortfolioViewState.js +0 -17
  888. package/lib/view/companyView/types/companyView.js +0 -2
  889. package/lib/view/companyView/types/userAndRole.js +0 -22
  890. package/lib/view/createTransferEntry/createTransferEntryReducer.js +0 -89
  891. package/lib/view/createTransferEntry/createTransferEntrySelector.js +0 -69
  892. package/lib/view/createTransferEntry/createTransferEntryState.js +0 -20
  893. package/lib/view/createTransferEntry/epics/createTransferEntryEpic.js +0 -140
  894. package/lib/view/createTransferEntry/epics/fetchTransferAccountsEpic.js +0 -40
  895. package/lib/view/creditAgentView/buildCreditReportCsv.js +0 -47
  896. package/lib/view/creditAgentView/creditAgentViewPayload.js +0 -7
  897. package/lib/view/creditAgentView/creditAgentViewReducer.js +0 -173
  898. package/lib/view/creditAgentView/creditAgentViewSelector.js +0 -93
  899. package/lib/view/creditAgentView/creditAgentViewState.js +0 -22
  900. package/lib/view/creditAgentView/epics/fetchCardProfilesEpic.js +0 -24
  901. package/lib/view/creditAgentView/epics/fetchCreditAgentMacroEpic.js +0 -23
  902. package/lib/view/creditAgentView/epics/saveCreditAgentMacroEpic.js +0 -62
  903. package/lib/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.js +0 -43
  904. package/lib/view/creditAgentView/epics/updateCardProfileEpic.js +0 -66
  905. package/lib/view/customerSummaryView/customerSummaryViewPayload.js +0 -2
  906. package/lib/view/customerSummaryView/customerSummaryViewReducer.js +0 -238
  907. package/lib/view/customerSummaryView/customerSummaryViewSelector.js +0 -76
  908. package/lib/view/customerSummaryView/customerSummaryViewState.js +0 -13
  909. package/lib/view/customerSummaryView/epic/fetchCustomerSummaryDetailEpic.js +0 -34
  910. package/lib/view/customerSummaryView/epic/fetchCustomerSummaryListEpic.js +0 -36
  911. package/lib/view/customerSummaryView/epic/saveCustomerSummaryDetailEpic.js +0 -48
  912. package/lib/view/dashboard/dashboardEpic.js +0 -189
  913. package/lib/view/dashboard/dashboardReducer.js +0 -39
  914. package/lib/view/dashboard/dashboardSelector.js +0 -231
  915. package/lib/view/dashboard/dashboardState.js +0 -2
  916. package/lib/view/dashboardLayout/dashboardLayoutPayload.js +0 -2
  917. package/lib/view/dashboardLayout/dashboardLayoutReducer.js +0 -92
  918. package/lib/view/dashboardLayout/dashboardLayoutSelector.js +0 -6
  919. package/lib/view/dashboardLayout/dashboardLayoutState.js +0 -2
  920. package/lib/view/dashboardLayout/fetchDashboardLayoutEpic.js +0 -52
  921. package/lib/view/dashboardLayout/updateDashboardLayoutEpic.js +0 -28
  922. package/lib/view/expenseAutomationView/epics/accountRecon/confirmStatementMappingEpic.js +0 -63
  923. package/lib/view/expenseAutomationView/epics/accountRecon/deleteAccountStatementEpic.js +0 -39
  924. package/lib/view/expenseAutomationView/epics/accountRecon/deleteCombinedStatementEpic.js +0 -58
  925. package/lib/view/expenseAutomationView/epics/accountRecon/excludeAccountFromReconciliationEpic.js +0 -67
  926. package/lib/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.js +0 -131
  927. package/lib/view/expenseAutomationView/epics/accountRecon/includeAccountInReconciliationEpic.js +0 -69
  928. package/lib/view/expenseAutomationView/epics/accountRecon/initialiseLocalDataForSelectedAccountIdEpic.js +0 -59
  929. package/lib/view/expenseAutomationView/epics/accountRecon/parseCombinedStatementEpic.js +0 -35
  930. package/lib/view/expenseAutomationView/epics/accountRecon/parseStatementEpic.js +0 -35
  931. package/lib/view/expenseAutomationView/epics/accountRecon/reparseStatementEpic.js +0 -35
  932. package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationDetailEpic.js +0 -250
  933. package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationReviewEpic.js +0 -232
  934. package/lib/view/expenseAutomationView/epics/accountRecon/updateCombinedStatementInfoEpic.js +0 -69
  935. package/lib/view/expenseAutomationView/epics/accountRecon/updateReconcileTabLocalDataEpic.js +0 -122
  936. package/lib/view/expenseAutomationView/epics/accountRecon/updateStatementInfoEpic.js +0 -63
  937. package/lib/view/expenseAutomationView/epics/accountRecon/uploadAccountStatementDocumentAIHelper.js +0 -53
  938. package/lib/view/expenseAutomationView/epics/accountRecon/uploadAccountStatementEpic.js +0 -63
  939. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +0 -110
  940. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +0 -72
  941. package/lib/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.js +0 -87
  942. package/lib/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.js +0 -84
  943. package/lib/view/expenseAutomationView/epics/jeSchedule/accountSettings/fetchAccountSettingsListForAccountTypesEpic.js +0 -41
  944. package/lib/view/expenseAutomationView/epics/jeSchedule/accountSettings/fetchRecommendationForAccountSettingsEpic.js +0 -27
  945. package/lib/view/expenseAutomationView/epics/jeSchedule/accountSettings/initializeAccountSettingsViewEpic.js +0 -13
  946. package/lib/view/expenseAutomationView/epics/jeSchedule/accountSettings/saveAccountSettingsViewEpic.js +0 -50
  947. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingEpic.js +0 -50
  948. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingMatchEpic.js +0 -42
  949. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingPageEpic.js +0 -11
  950. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/ignoreActualMatchingSuggestionEpic.js +0 -54
  951. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/matchAndReverseAccrualsEpic.js +0 -125
  952. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/refreshActualMatchingList.js +0 -19
  953. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchAccrualsEpic.js +0 -64
  954. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchTransactionsEpic.js +0 -57
  955. package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/undoReversalAccrualsEpic.js +0 -82
  956. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchFailedJePostingsEpic.js +0 -43
  957. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.js +0 -54
  958. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +0 -143
  959. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchOneTimeAccrualEpic.js +0 -49
  960. package/lib/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.js +0 -94
  961. package/lib/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.js +0 -53
  962. package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/createOneTimeAccrualEpic.js +0 -108
  963. package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/initializeNewScheduleEpic.js +0 -29
  964. package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/saveNewScheduleEpic.js +0 -142
  965. package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/searchTransactionsForNewScheduleEpic.js +0 -83
  966. package/lib/view/expenseAutomationView/epics/jeSchedule/oneTimeAccrualActionsEpic.js +0 -216
  967. package/lib/view/expenseAutomationView/epics/jeSchedule/prefetchOtherJeSchedulesTabEpic.js +0 -64
  968. package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.js +0 -98
  969. package/lib/view/expenseAutomationView/epics/jeSchedule/revertJeScheduleEpic.js +0 -115
  970. package/lib/view/expenseAutomationView/epics/jeSchedule/switchJESchedulesTabEpic.js +0 -43
  971. package/lib/view/expenseAutomationView/epics/missingReceipts/bulkUploadMatchResultToastEpic.js +0 -37
  972. package/lib/view/expenseAutomationView/epics/missingReceipts/bulkUploadReceiptsEpic.js +0 -33
  973. package/lib/view/expenseAutomationView/epics/missingReceipts/confirmBulkUploadMatchEpic.js +0 -53
  974. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchBulkUploadBatchDetailsEpic.js +0 -44
  975. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchBulkUploadBatchesEpic.js +0 -53
  976. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchCompletedTransactionsEpic.js +0 -85
  977. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.js +0 -58
  978. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMoreBatchDetailsEpic.js +0 -37
  979. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMultipleBatchDetailsEpic.js +0 -77
  980. package/lib/view/expenseAutomationView/epics/missingReceipts/refetchCompletedTransactionsOnBulkUploadSortEpic.js +0 -16
  981. package/lib/view/expenseAutomationView/epics/missingReceipts/refreshBatchDetailsForBatchIdEpic.js +0 -56
  982. package/lib/view/expenseAutomationView/epics/missingReceipts/restoreBulkUploadAutomatchingOnMountEpic.js +0 -104
  983. package/lib/view/expenseAutomationView/epics/missingReceipts/searchTransactionsForManualMatchEpic.js +0 -86
  984. package/lib/view/expenseAutomationView/epics/missingReceipts/syncTabsAfterAutomatchEpic.js +0 -60
  985. package/lib/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.js +0 -28
  986. package/lib/view/expenseAutomationView/epics/missingReceipts/watchBulkUploadBatchStatusEpic.js +0 -105
  987. package/lib/view/expenseAutomationView/epics/transactionCategorization/backgroundRefetchReviewTabEpic.js +0 -107
  988. package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +0 -137
  989. package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +0 -82
  990. package/lib/view/expenseAutomationView/epics/transactionCategorization/initializeTransactionCategorizationLocalDataEpic.js +0 -81
  991. package/lib/view/expenseAutomationView/epics/transactionCategorization/markTransactionAsNotMiscategorizedEpic.js +0 -141
  992. package/lib/view/expenseAutomationView/epics/transactionCategorization/saveTransactionCategorizationEpic.js +0 -31
  993. package/lib/view/expenseAutomationView/epics/transactionCategorization/triggerReviewTabRefetchEpic.js +0 -31
  994. package/lib/view/expenseAutomationView/epics/transactionCategorization/updateTransactionCategorizationEpic.js +0 -209
  995. package/lib/view/expenseAutomationView/epics/transactionCategorization/uploadTransactionReceiptSuccessEpic.js +0 -28
  996. package/lib/view/expenseAutomationView/expenseAutomationViewPayload.js +0 -2
  997. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +0 -83
  998. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +0 -219
  999. package/lib/view/expenseAutomationView/expenseAutomationViewState.js +0 -17
  1000. package/lib/view/expenseAutomationView/helpers/bulkUploadTiming.js +0 -19
  1001. package/lib/view/expenseAutomationView/helpers/helpers.js +0 -70
  1002. package/lib/view/expenseAutomationView/helpers/jeAccountSettingHelper.js +0 -50
  1003. package/lib/view/expenseAutomationView/helpers/mapStatementUpdateLocalDataToRequestBody.js +0 -50
  1004. package/lib/view/expenseAutomationView/helpers/newScheduleLocalDataHelper.js +0 -145
  1005. package/lib/view/expenseAutomationView/helpers/reconciliationHelpers.js +0 -58
  1006. package/lib/view/expenseAutomationView/helpers/rollingCalendarDateRangeInclusive.js +0 -16
  1007. package/lib/view/expenseAutomationView/helpers/saveTransactionHelper.js +0 -182
  1008. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +0 -777
  1009. package/lib/view/expenseAutomationView/payload/actualMatchingPayload.js +0 -79
  1010. package/lib/view/expenseAutomationView/payload/fluxAnalysisPayload.js +0 -10
  1011. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.js +0 -120
  1012. package/lib/view/expenseAutomationView/payload/missingReceiptsPayload.js +0 -213
  1013. package/lib/view/expenseAutomationView/payload/reconciliationPayload.js +0 -335
  1014. package/lib/view/expenseAutomationView/payload/transactionCategorizationPayload.js +0 -2
  1015. package/lib/view/expenseAutomationView/reducers/actualMatchingViewReducer.js +0 -517
  1016. package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +0 -388
  1017. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +0 -861
  1018. package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +0 -675
  1019. package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.js +0 -1231
  1020. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +0 -1141
  1021. package/lib/view/expenseAutomationView/selectorTypes/actualMatchingViewSelectorTypes.js +0 -2
  1022. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.js +0 -2
  1023. package/lib/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.js +0 -2
  1024. package/lib/view/expenseAutomationView/selectorTypes/jeAccountSettingsViewSelectorTypes.js +0 -2
  1025. package/lib/view/expenseAutomationView/selectorTypes/jeNewScheduleViewSelectorTypes.js +0 -2
  1026. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.js +0 -2
  1027. package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.js +0 -2
  1028. package/lib/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.js +0 -7
  1029. package/lib/view/expenseAutomationView/selectorTypes/transactionsViewSelectorTypes.js +0 -2
  1030. package/lib/view/expenseAutomationView/selectors/actualMatchingViewSelector.js +0 -454
  1031. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.js +0 -156
  1032. package/lib/view/expenseAutomationView/selectors/getAllStepsHelper.js +0 -43
  1033. package/lib/view/expenseAutomationView/selectors/jeAccountSettingsViewSelector.js +0 -42
  1034. package/lib/view/expenseAutomationView/selectors/jeNewScheduleViewSelector.js +0 -112
  1035. package/lib/view/expenseAutomationView/selectors/jeScheduledTransactionWithFailedEntries.js +0 -2
  1036. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +0 -525
  1037. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.js +0 -321
  1038. package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.js +0 -586
  1039. package/lib/view/expenseAutomationView/selectors/statementParseViewSelector.js +0 -120
  1040. package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +0 -272
  1041. package/lib/view/expenseAutomationView/transactionFilterHelpers.js +0 -342
  1042. package/lib/view/expenseAutomationView/transactionFilterTypes.js +0 -11
  1043. package/lib/view/expenseAutomationView/types/actualMatchingViewState.js +0 -63
  1044. package/lib/view/expenseAutomationView/types/completedSubTab.js +0 -21
  1045. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.js +0 -6
  1046. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.js +0 -36
  1047. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.js +0 -63
  1048. package/lib/view/expenseAutomationView/types/reconciliationViewState.js +0 -55
  1049. package/lib/view/expenseAutomationView/types/transactionGroup.js +0 -30
  1050. package/lib/view/expenseAutomationView/types/transactionsViewState.js +0 -33
  1051. package/lib/view/featureNotificationView/epics/fetchRegisteredInterestsEpic.js +0 -27
  1052. package/lib/view/featureNotificationView/epics/notifyMeForFeatureEpic.js +0 -29
  1053. package/lib/view/featureNotificationView/featureNotificationViewPayload.js +0 -15
  1054. package/lib/view/featureNotificationView/featureNotificationViewReducer.js +0 -113
  1055. package/lib/view/featureNotificationView/featureNotificationViewSelector.js +0 -11
  1056. package/lib/view/featureNotificationView/featureNotificationViewState.js +0 -2
  1057. package/lib/view/fileView/epic/deleteFileEpic.js +0 -31
  1058. package/lib/view/fileView/epic/deleteFileListEpic.js +0 -28
  1059. package/lib/view/fileView/epic/fetchFileEpic.js +0 -32
  1060. package/lib/view/fileView/epic/fetchFileListEpic.js +0 -30
  1061. package/lib/view/fileView/epic/updateFileNameEpic.js +0 -33
  1062. package/lib/view/fileView/epic/updateFilesMetadataEpic.js +0 -16
  1063. package/lib/view/fileView/fileDownloadHelpers.js +0 -31
  1064. package/lib/view/fileView/fileUploadHelpers.js +0 -89
  1065. package/lib/view/fileView/fileViewPayload.js +0 -2
  1066. package/lib/view/fileView/fileViewReducer.js +0 -169
  1067. package/lib/view/fileView/fileViewSelector.js +0 -36
  1068. package/lib/view/fileView/fileViewState.js +0 -15
  1069. package/lib/view/financeStatement/financeStatementCompareBalances.js +0 -27
  1070. package/lib/view/financeStatement/financeStatementEpic.js +0 -71
  1071. package/lib/view/financeStatement/financeStatementReducer.js +0 -128
  1072. package/lib/view/financeStatement/financeStatementSelector.js +0 -216
  1073. package/lib/view/financeStatement/financeStatementState.js +0 -2
  1074. package/lib/view/forecastList/fetchForecastListEpic.js +0 -19
  1075. package/lib/view/forecastList/forecastListPayload.js +0 -2
  1076. package/lib/view/forecastList/forecastListReducer.js +0 -41
  1077. package/lib/view/forecastList/forecastListSelector.js +0 -27
  1078. package/lib/view/forecastList/forecastListState.js +0 -2
  1079. package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.js +0 -101
  1080. package/lib/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.js +0 -64
  1081. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/fetchGlobalMerchantAutoCompleteViewEpic.js +0 -48
  1082. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewPayload.js +0 -2
  1083. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.js +0 -52
  1084. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewSelector.js +0 -14
  1085. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState.js +0 -7
  1086. package/lib/view/globalMerchantView/globalMerchantViewPayload.js +0 -2
  1087. package/lib/view/globalMerchantView/globalMerchantViewReducer.js +0 -127
  1088. package/lib/view/globalMerchantView/globalMerchantViewSelector.js +0 -20
  1089. package/lib/view/globalMerchantView/globalMerchantViewState.js +0 -2
  1090. package/lib/view/insightsCard/insightsCardEpic.js +0 -20
  1091. package/lib/view/insightsCard/insightsCardPayload.js +0 -2
  1092. package/lib/view/insightsCard/insightsCardReducer.js +0 -52
  1093. package/lib/view/insightsCard/insightsCardSelector.js +0 -18
  1094. package/lib/view/insightsCard/insightsCardSelectorTypes.js +0 -2
  1095. package/lib/view/insightsCard/insightsCardState.js +0 -2
  1096. package/lib/view/invoicing/auditView/auditViewEpics.js +0 -58
  1097. package/lib/view/invoicing/auditView/auditViewPayload.js +0 -78
  1098. package/lib/view/invoicing/auditView/auditViewReducer.js +0 -63
  1099. package/lib/view/invoicing/auditView/auditViewSelector.js +0 -25
  1100. package/lib/view/invoicing/auditView/auditViewState.js +0 -2
  1101. package/lib/view/invoicing/couponView/couponViewPayload.js +0 -2
  1102. package/lib/view/invoicing/couponView/couponViewReducer.js +0 -111
  1103. package/lib/view/invoicing/couponView/couponViewSelector.js +0 -67
  1104. package/lib/view/invoicing/couponView/couponViewState.js +0 -37
  1105. package/lib/view/invoicing/couponView/fetchInvoicingCouponCountsEpic.js +0 -33
  1106. package/lib/view/invoicing/couponView/fetchInvoicingCouponListEpic.js +0 -63
  1107. package/lib/view/invoicing/couponView/fetchInvoicingCouponListPageEpic.js +0 -40
  1108. package/lib/view/invoicing/createCreditNote/createCreditNoteEpic.js +0 -49
  1109. package/lib/view/invoicing/createCreditNote/createCreditNoteFormConfig.js +0 -16
  1110. package/lib/view/invoicing/createCreditNote/createCreditNotePayload.js +0 -34
  1111. package/lib/view/invoicing/createCreditNote/createCreditNoteReducer.js +0 -52
  1112. package/lib/view/invoicing/createCreditNote/createCreditNoteSelector.js +0 -27
  1113. package/lib/view/invoicing/createCreditNote/createCreditNoteState.js +0 -2
  1114. package/lib/view/invoicing/createInvoice/createInvoiceEpic.js +0 -64
  1115. package/lib/view/invoicing/createInvoice/createInvoiceFormConfig.js +0 -80
  1116. package/lib/view/invoicing/createInvoice/createInvoicePayload.js +0 -2
  1117. package/lib/view/invoicing/createInvoice/createInvoiceReducer.js +0 -65
  1118. package/lib/view/invoicing/createInvoice/createInvoiceSelector.js +0 -105
  1119. package/lib/view/invoicing/createInvoice/createInvoiceState.js +0 -2
  1120. package/lib/view/invoicing/createInvoice/epics/fetchCreateInvoiceFormPageEpic.js +0 -71
  1121. package/lib/view/invoicing/customerPaymentMethod/createInvoicingSetupIntentEpic.js +0 -21
  1122. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +0 -2
  1123. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +0 -97
  1124. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +0 -19
  1125. package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.js +0 -2
  1126. package/lib/view/invoicing/customerPaymentMethod/fetchInvoicingPlaidLinkTokenEpic.js +0 -19
  1127. package/lib/view/invoicing/customerPaymentMethod/saveInvoicingPaymentMethodEpic.js +0 -25
  1128. package/lib/view/invoicing/customerPaymentMethod/sendInvoicingPaymentLinkEpic.js +0 -30
  1129. package/lib/view/invoicing/dataImportView/dataImportViewPayload.js +0 -2
  1130. package/lib/view/invoicing/dataImportView/dataImportViewReducer.js +0 -172
  1131. package/lib/view/invoicing/dataImportView/dataImportViewSelector.js +0 -26
  1132. package/lib/view/invoicing/dataImportView/dataImportViewState.js +0 -2
  1133. package/lib/view/invoicing/dataImportView/fetchInvoicingDataImportStatusEpic.js +0 -18
  1134. package/lib/view/invoicing/dataImportView/fetchInvoicingMigrationDiagnosticsEpic.js +0 -48
  1135. package/lib/view/invoicing/dataImportView/fetchInvoicingMigrationSessionEpic.js +0 -18
  1136. package/lib/view/invoicing/dataImportView/fetchInvoicingMigrationSessionsEpic.js +0 -18
  1137. package/lib/view/invoicing/dataImportView/invoicingDataImportActionEpic.js +0 -39
  1138. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +0 -185
  1139. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +0 -159
  1140. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.js +0 -144
  1141. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.js +0 -2
  1142. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/fetchInvoicingCatalogItemDetailEpic.js +0 -29
  1143. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/fetchInvoicingCatalogItemDetailPageEpic.js +0 -53
  1144. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormHelper.js +0 -138
  1145. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/runInvoicingCatalogPlanActionEpic.js +0 -32
  1146. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/runInvoicingCatalogProductActionEpic.js +0 -39
  1147. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +0 -117
  1148. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/seedInvoicingCatalogItemFormDraftEpic.js +0 -49
  1149. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.js +0 -77
  1150. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +0 -146
  1151. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +0 -141
  1152. package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.js +0 -70
  1153. package/lib/view/invoicing/editInvoicingCouponDetailView/fetchInvoicingCouponDetailEpic.js +0 -26
  1154. package/lib/view/invoicing/editInvoicingCouponDetailView/fetchInvoicingCouponDetailPageEpic.js +0 -58
  1155. package/lib/view/invoicing/editInvoicingCouponDetailView/runInvoicingDiscountActionEpic.js +0 -59
  1156. package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +0 -90
  1157. package/lib/view/invoicing/editInvoicingCouponDetailView/seedInvoicingCouponFormDraftEpic.js +0 -49
  1158. package/lib/view/invoicing/editInvoicingCustomerDetailView/addPromotionalCreditsEpic.js +0 -29
  1159. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +0 -49
  1160. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +0 -210
  1161. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +0 -147
  1162. package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +0 -2
  1163. package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +0 -29
  1164. package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +0 -58
  1165. package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingPaymentLinkEmailPreviewEpic.js +0 -35
  1166. package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingPaymentLinkEmailPreviewPageEpic.js +0 -27
  1167. package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js +0 -65
  1168. package/lib/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.js +0 -42
  1169. package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +0 -79
  1170. package/lib/view/invoicing/editInvoicingCustomerDetailView/seedInvoicingCustomerFormDraftEpic.js +0 -49
  1171. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +0 -171
  1172. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +0 -200
  1173. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +0 -305
  1174. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.js +0 -2
  1175. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionDetailEpic.js +0 -32
  1176. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionDetailPageEpic.js +0 -68
  1177. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionEstimateEpic.js +0 -53
  1178. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.js +0 -37
  1179. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/initializeInvoicingSubscriptionAddressEpic.js +0 -66
  1180. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionDetailHelper.js +0 -6
  1181. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionFormConfig.js +0 -107
  1182. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/runInvoicingSubscriptionActionEpic.js +0 -70
  1183. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +0 -125
  1184. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/seedInvoicingSubscriptionFormDraftEpic.js +0 -47
  1185. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/syncInvoicingSubscriptionCouponsEpic.js +0 -86
  1186. package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +0 -29
  1187. package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailPageEpic.js +0 -37
  1188. package/lib/view/invoicing/invoiceDetail/invoiceDetailPayload.js +0 -2
  1189. package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.js +0 -85
  1190. package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.js +0 -43
  1191. package/lib/view/invoicing/invoiceDetail/invoiceDetailState.js +0 -2
  1192. package/lib/view/invoicing/invoiceDetail/runInvoicingInvoiceActionEpic.js +0 -62
  1193. package/lib/view/invoicing/invoiceDetail/updateInvoicingInvoiceEpic.js +0 -56
  1194. package/lib/view/invoicing/invoiceDetail/voidInvoiceHelper.js +0 -38
  1195. package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +0 -36
  1196. package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +0 -19
  1197. package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.js +0 -62
  1198. package/lib/view/invoicing/invoiceList/fetchInvoiceListPageEpic.js +0 -36
  1199. package/lib/view/invoicing/invoiceList/invoiceListPayload.js +0 -2
  1200. package/lib/view/invoicing/invoiceList/invoiceListReducer.js +0 -182
  1201. package/lib/view/invoicing/invoiceList/invoiceListSelector.js +0 -40
  1202. package/lib/view/invoicing/invoiceList/invoiceListState.js +0 -40
  1203. package/lib/view/invoicing/invoicingApiHelper.js +0 -19
  1204. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogCountsEpic.js +0 -24
  1205. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogListPageEpic.js +0 -39
  1206. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogPlanListEpic.js +0 -58
  1207. package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogProductListEpic.js +0 -58
  1208. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.js +0 -2
  1209. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +0 -161
  1210. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.js +0 -87
  1211. package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.js +0 -2
  1212. package/lib/view/invoicing/invoicingConfigView/epics/acceptInvoicingTermsEpic.js +0 -25
  1213. package/lib/view/invoicing/invoicingConfigView/epics/enableInvoicingEpic.js +0 -22
  1214. package/lib/view/invoicing/invoicingConfigView/epics/fetchInvoicingConfigEpic.js +0 -25
  1215. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewPayload.js +0 -21
  1216. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +0 -214
  1217. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.js +0 -34
  1218. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewState.js +0 -2
  1219. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewEpics.js +0 -23
  1220. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewPayload.js +0 -2
  1221. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +0 -38
  1222. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewSelector.js +0 -18
  1223. package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState.js +0 -2
  1224. package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteCountsEpic.js +0 -27
  1225. package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListEpic.js +0 -61
  1226. package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListPageEpic.js +0 -44
  1227. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewPayload.js +0 -2
  1228. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +0 -91
  1229. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.js +0 -37
  1230. package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.js +0 -35
  1231. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.js +0 -24
  1232. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +0 -62
  1233. package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +0 -45
  1234. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +0 -2
  1235. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +0 -107
  1236. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +0 -47
  1237. package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.js +0 -32
  1238. package/lib/view/invoicing/invoicingDunningCaseDetailView/fetchInvoicingDunningCaseDetailEpic.js +0 -23
  1239. package/lib/view/invoicing/invoicingDunningCaseDetailView/fetchInvoicingDunningCaseDetailPageEpic.js +0 -39
  1240. package/lib/view/invoicing/invoicingDunningCaseDetailView/fetchInvoicingDunningEmailPreviewEpic.js +0 -30
  1241. package/lib/view/invoicing/invoicingDunningCaseDetailView/fetchInvoicingDunningEmailPreviewPageEpic.js +0 -20
  1242. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewPayload.js +0 -13
  1243. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +0 -126
  1244. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewSelector.js +0 -41
  1245. package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewState.js +0 -2
  1246. package/lib/view/invoicing/invoicingDunningCaseDetailView/runInvoicingDunningActionEpic.js +0 -60
  1247. package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseCountsEpic.js +0 -24
  1248. package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListEpic.js +0 -58
  1249. package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListPageEpic.js +0 -51
  1250. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewPayload.js +0 -2
  1251. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +0 -91
  1252. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.js +0 -59
  1253. package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.js +0 -40
  1254. package/lib/view/invoicing/invoicingFormDraft.js +0 -86
  1255. package/lib/view/invoicing/invoicingListTabCache.js +0 -120
  1256. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.js +0 -21
  1257. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.js +0 -21
  1258. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.js +0 -56
  1259. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.js +0 -21
  1260. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.js +0 -21
  1261. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.js +0 -21
  1262. package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.js +0 -21
  1263. package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +0 -99
  1264. package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +0 -125
  1265. package/lib/view/invoicing/invoicingOverview/invoicingOverviewSelector.js +0 -73
  1266. package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.js +0 -2
  1267. package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingAccountingPickersEpic.js +0 -37
  1268. package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboConnectionEpic.js +0 -19
  1269. package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboSyncHealthEpic.js +0 -19
  1270. package/lib/view/invoicing/invoicingQboView/epics/invoicingQboViewActionType.js +0 -2
  1271. package/lib/view/invoicing/invoicingQboView/epics/retryInvoicingQboSyncTaskEpic.js +0 -51
  1272. package/lib/view/invoicing/invoicingQboView/epics/startInvoicingQboBackfillEpic.js +0 -47
  1273. package/lib/view/invoicing/invoicingQboView/invoicingQboViewPayload.js +0 -28
  1274. package/lib/view/invoicing/invoicingQboView/invoicingQboViewReducer.js +0 -98
  1275. package/lib/view/invoicing/invoicingQboView/invoicingQboViewSelector.js +0 -247
  1276. package/lib/view/invoicing/invoicingQboView/invoicingQboViewState.js +0 -2
  1277. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.js +0 -27
  1278. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +0 -72
  1279. package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +0 -44
  1280. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +0 -2
  1281. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +0 -104
  1282. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +0 -43
  1283. package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +0 -37
  1284. package/lib/view/invoicing/invoicingTabHelper.js +0 -30
  1285. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewEpics.js +0 -23
  1286. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewPayload.js +0 -2
  1287. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +0 -57
  1288. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewSelector.js +0 -17
  1289. package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState.js +0 -2
  1290. package/lib/view/invoicing/invoicingTransactionDetailView/runInvoicingPaymentActionEpic.js +0 -31
  1291. package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListEpic.js +0 -52
  1292. package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.js +0 -30
  1293. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewPayload.js +0 -2
  1294. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +0 -122
  1295. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.js +0 -34
  1296. package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.js +0 -59
  1297. package/lib/view/invoicing/issueCreditNote/issueCreditNoteEpic.js +0 -52
  1298. package/lib/view/invoicing/issueCreditNote/issueCreditNoteFormConfig.js +0 -10
  1299. package/lib/view/invoicing/issueCreditNote/issueCreditNotePayload.js +0 -69
  1300. package/lib/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +0 -58
  1301. package/lib/view/invoicing/issueCreditNote/issueCreditNoteSelector.js +0 -36
  1302. package/lib/view/invoicing/issueCreditNote/issueCreditNoteState.js +0 -2
  1303. package/lib/view/invoicing/recordPayment/recordPaymentEpic.js +0 -103
  1304. package/lib/view/invoicing/recordPayment/recordPaymentFormConfig.js +0 -13
  1305. package/lib/view/invoicing/recordPayment/recordPaymentPayload.js +0 -64
  1306. package/lib/view/invoicing/recordPayment/recordPaymentReducer.js +0 -71
  1307. package/lib/view/invoicing/recordPayment/recordPaymentSelector.js +0 -77
  1308. package/lib/view/invoicing/recordPayment/recordPaymentState.js +0 -2
  1309. package/lib/view/invoicing/runningInvoicingActionId.js +0 -10
  1310. package/lib/view/invoicing/settingsView/epics/connectInvoicingStripeEpic.js +0 -31
  1311. package/lib/view/invoicing/settingsView/epics/disconnectInvoicingStripeEpic.js +0 -23
  1312. package/lib/view/invoicing/settingsView/epics/fetchInvoicingSettingsEpic.js +0 -29
  1313. package/lib/view/invoicing/settingsView/epics/saveInvoicingSettingsEpic.js +0 -50
  1314. package/lib/view/invoicing/settingsView/epics/settingsViewActionType.js +0 -2
  1315. package/lib/view/invoicing/settingsView/epics/submitInvoicingQboSettingsEpic.js +0 -29
  1316. package/lib/view/invoicing/settingsView/initializeInvoicingBrandingAddressEpic.js +0 -31
  1317. package/lib/view/invoicing/settingsView/invoicingBrandingFormConfig.js +0 -57
  1318. package/lib/view/invoicing/settingsView/invoicingQboSettingsFormConfig.js +0 -58
  1319. package/lib/view/invoicing/settingsView/invoicingSettingsHelpers.js +0 -11
  1320. package/lib/view/invoicing/settingsView/settingsViewPayload.js +0 -2
  1321. package/lib/view/invoicing/settingsView/settingsViewReducer.js +0 -135
  1322. package/lib/view/invoicing/settingsView/settingsViewSelector.js +0 -198
  1323. package/lib/view/invoicing/settingsView/settingsViewState.js +0 -2
  1324. package/lib/view/invoicing/settingsView/submitInvoicingBrandingFormEpic.js +0 -64
  1325. package/lib/view/monthEndCloseChecksView/epics/fetchMonthClosePerformanceTrendEpic.js +0 -47
  1326. package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.js +0 -61
  1327. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.js +0 -2
  1328. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +0 -108
  1329. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.js +0 -93
  1330. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.js +0 -2
  1331. package/lib/view/netBurnOrIncome/fetchNetBurnOrIncomeWithForecastEpic.js +0 -113
  1332. package/lib/view/netBurnOrIncome/netBurnOrIncomeEpic.js +0 -35
  1333. package/lib/view/netBurnOrIncome/netBurnOrIncomeForTimeframeEpic.js +0 -73
  1334. package/lib/view/netBurnOrIncome/netBurnOrIncomeHelper.js +0 -37
  1335. package/lib/view/netBurnOrIncome/netBurnOrIncomePayload.js +0 -2
  1336. package/lib/view/netBurnOrIncome/netBurnOrIncomeReducer.js +0 -581
  1337. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelector.js +0 -201
  1338. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelectorTypes.js +0 -22
  1339. package/lib/view/netBurnOrIncome/netBurnOrIncomeState.js +0 -2
  1340. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewEpic.js +0 -34
  1341. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewPayload.js +0 -2
  1342. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +0 -120
  1343. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.js +0 -105
  1344. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.js +0 -21
  1345. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewState.js +0 -2
  1346. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeForTimeframeClassesViewEpic.js +0 -44
  1347. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeForTimeframeProjectViewEpic.js +0 -49
  1348. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewEpic.js +0 -34
  1349. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewPayload.js +0 -2
  1350. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.js +0 -118
  1351. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelector.js +0 -69
  1352. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelectorTypes.js +0 -2
  1353. package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewState.js +0 -2
  1354. package/lib/view/netBurnOrIncomeStoryCard/epic/fetchNetBurnOrIncomeStoryCardEpic.js +0 -29
  1355. package/lib/view/netBurnOrIncomeStoryCard/epic/updateNetBurnOrIncomeStoryCardSettingsEpic.js +0 -44
  1356. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardPayload.js +0 -49
  1357. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.js +0 -133
  1358. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelector.js +0 -85
  1359. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes.js +0 -7
  1360. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.js +0 -16
  1361. package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.js +0 -117
  1362. package/lib/view/notificationPreferencesView/notificationPreferencesEndpoint.js +0 -9
  1363. package/lib/view/notificationPreferencesView/notificationPreferencesViewPayload.js +0 -46
  1364. package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.js +0 -296
  1365. package/lib/view/notificationPreferencesView/notificationPreferencesViewSelector.js +0 -40
  1366. package/lib/view/notificationPreferencesView/notificationPreferencesViewState.js +0 -9
  1367. package/lib/view/notificationView/epics/fetchNotificationUnreadCountEpic.js +0 -39
  1368. package/lib/view/notificationView/epics/fetchNotificationViewEpic.js +0 -58
  1369. package/lib/view/notificationView/epics/updateNotificationViewAllNotificationsStatusEpic.js +0 -50
  1370. package/lib/view/notificationView/epics/updateNotificationViewNotificationStatusEpic.js +0 -86
  1371. package/lib/view/notificationView/notificationView.helpers.js +0 -11
  1372. package/lib/view/notificationView/notificationViewPayload.js +0 -2
  1373. package/lib/view/notificationView/notificationViewReducer.js +0 -384
  1374. package/lib/view/notificationView/notificationViewSelector.js +0 -99
  1375. package/lib/view/notificationView/notificationViewState.js +0 -19
  1376. package/lib/view/onboardingView/cockpitView/epic/fetchCompanyOnboardingViewEpic.js +0 -53
  1377. package/lib/view/onboardingView/cockpitView/epic/fetchOnboardingCompletedCompaniesEpic.js +0 -27
  1378. package/lib/view/onboardingView/cockpitView/epic/fetchQBOConnectionPoolEpic.js +0 -19
  1379. package/lib/view/onboardingView/cockpitView/epic/getOnboardingEmailGroupEpic.js +0 -27
  1380. package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +0 -147
  1381. package/lib/view/onboardingView/cockpitView/epic/retryBankAccountConnectionForOnboardingEpic.js +0 -88
  1382. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerCompletedStatusEpic.js +0 -37
  1383. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerNotesEpic.js +0 -36
  1384. package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerViewUpdatesEpic.js +0 -127
  1385. package/lib/view/onboardingView/cockpitView/epic/sendOnboardingCustomerViewInviteEpic.js +0 -120
  1386. package/lib/view/onboardingView/cockpitView/epic/updateQBOConnectionPoolExternalConnectionEpic.js +0 -31
  1387. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewPayload.js +0 -137
  1388. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewReducer.js +0 -600
  1389. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewSelector.js +0 -260
  1390. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewState.js +0 -2
  1391. package/lib/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.js +0 -29
  1392. package/lib/view/onboardingView/customerView/epic/aiAgentsActivation/fetchAiAgentsActivationStatusEpic.js +0 -44
  1393. package/lib/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiActivationViewedEpic.js +0 -33
  1394. package/lib/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiFinanceTeamEpic.js +0 -44
  1395. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerSetupViewEpic.js +0 -71
  1396. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +0 -27
  1397. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewCompleteStatusEpic.js +0 -53
  1398. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewDashboardLoadedEpic.js +0 -32
  1399. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +0 -209
  1400. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +0 -148
  1401. package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountLoginStatusEpic.js +0 -37
  1402. package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountStatusEpic.js +0 -37
  1403. package/lib/view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic.js +0 -45
  1404. package/lib/view/onboardingView/customerView/epic/plaidConnection/getOnboardingPlaidLinkTokenEpic.js +0 -31
  1405. package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.js +0 -2
  1406. package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.js +0 -777
  1407. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +0 -355
  1408. package/lib/view/onboardingView/customerView/onboardingCustomerViewState.js +0 -72
  1409. package/lib/view/onboardingView/customerView/types/paymentAccount.js +0 -2
  1410. package/lib/view/opEx/fetchOpExWithForecastEpic.js +0 -112
  1411. package/lib/view/opEx/opExEpic.js +0 -35
  1412. package/lib/view/opEx/opExForTimeFrameEpic.js +0 -68
  1413. package/lib/view/opEx/opExPayload.js +0 -2
  1414. package/lib/view/opEx/opExReducer.js +0 -544
  1415. package/lib/view/opEx/opExSelector.js +0 -189
  1416. package/lib/view/opEx/opExSelectorTypes.js +0 -2
  1417. package/lib/view/opEx/opExState.js +0 -2
  1418. package/lib/view/opExByVendor/fetchOpExByVendorReportEpic.js +0 -35
  1419. package/lib/view/opExByVendor/fetchOpExByVendorReportForTimeframeEpic.js +0 -83
  1420. package/lib/view/opExByVendor/fetchOpExByVendorReportSummaryEpic.js +0 -41
  1421. package/lib/view/opExByVendor/opExByVendorPayload.js +0 -2
  1422. package/lib/view/opExByVendor/opExByVendorReducer.js +0 -383
  1423. package/lib/view/opExByVendor/opExByVendorSelector.js +0 -182
  1424. package/lib/view/opExByVendor/opExByVendorState.js +0 -16
  1425. package/lib/view/opExByVendor/refreshOpExByVendorReportEpic.js +0 -25
  1426. package/lib/view/opExClassesView/opExClassesViewEpic.js +0 -34
  1427. package/lib/view/opExClassesView/opExClassesViewPayload.js +0 -2
  1428. package/lib/view/opExClassesView/opExClassesViewReducer.js +0 -121
  1429. package/lib/view/opExClassesView/opExClassesViewSelector.js +0 -90
  1430. package/lib/view/opExClassesView/opExClassesViewSelectorTypes.js +0 -14
  1431. package/lib/view/opExClassesView/opExClassesViewState.js +0 -2
  1432. package/lib/view/opExClassesView/opExForTimeframeClassesViewEpic.js +0 -42
  1433. package/lib/view/opExProjectView/opExForTimeframeProjectViewEpic.js +0 -47
  1434. package/lib/view/opExProjectView/opExProjectViewEpic.js +0 -34
  1435. package/lib/view/opExProjectView/opExProjectViewPayload.js +0 -2
  1436. package/lib/view/opExProjectView/opExProjectViewReducer.js +0 -118
  1437. package/lib/view/opExProjectView/opExProjectViewSelector.js +0 -56
  1438. package/lib/view/opExProjectView/opExProjectViewSelectorTypes.js +0 -2
  1439. package/lib/view/opExProjectView/opExProjectViewState.js +0 -2
  1440. package/lib/view/ownerList/fetchOwnerListEpic.js +0 -34
  1441. package/lib/view/ownerList/ownerListPayload.js +0 -2
  1442. package/lib/view/ownerList/ownerListReducer.js +0 -41
  1443. package/lib/view/ownerList/ownerListState.js +0 -2
  1444. package/lib/view/people/changeZeniPersonRolesEpic.js +0 -38
  1445. package/lib/view/people/deletePersonEpic.js +0 -24
  1446. package/lib/view/people/fetchAllPeopleRequiredViewsEpic.js +0 -23
  1447. package/lib/view/people/fetchPeopleEpic.js +0 -29
  1448. package/lib/view/people/helpers/updateManagersListOnRoleChange.js +0 -20
  1449. package/lib/view/people/initializeEditPersonEpic.js +0 -42
  1450. package/lib/view/people/invitePeopleEpic.js +0 -61
  1451. package/lib/view/people/inviteZeniPeopleEpic.js +0 -53
  1452. package/lib/view/people/peoplePageEpic.js +0 -23
  1453. package/lib/view/people/peoplePayload.js +0 -2
  1454. package/lib/view/people/peopleReducer.js +0 -257
  1455. package/lib/view/people/peopleSaveUpdatesEpic.js +0 -79
  1456. package/lib/view/people/peopleSelector.js +0 -148
  1457. package/lib/view/people/peopleSelectorTypes.js +0 -2
  1458. package/lib/view/people/peopleState.js +0 -2
  1459. package/lib/view/people/peopleTypes.js +0 -12
  1460. package/lib/view/people/resendInviteEpic.js +0 -25
  1461. package/lib/view/profitAndLoss/pAndLWithForecast/pAndLWithForecastSelector.js +0 -48
  1462. package/lib/view/profitAndLoss/profitAndLossEpic.js +0 -35
  1463. package/lib/view/profitAndLoss/profitAndLossForTimeframeEpic.js +0 -68
  1464. package/lib/view/profitAndLoss/profitAndLossPayload.js +0 -2
  1465. package/lib/view/profitAndLoss/profitAndLossReducer.js +0 -186
  1466. package/lib/view/profitAndLoss/profitAndLossSelector.js +0 -114
  1467. package/lib/view/profitAndLoss/profitAndLossState.js +0 -2
  1468. package/lib/view/profitAndLossClassesView/horizontalSectionEmptyBalancesSlice.js +0 -20
  1469. package/lib/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelector.js +0 -338
  1470. package/lib/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelectorTypes.js +0 -13
  1471. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewEpic.js +0 -34
  1472. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewPayload.js +0 -2
  1473. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +0 -130
  1474. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelector.js +0 -71
  1475. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.js +0 -26
  1476. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewState.js +0 -2
  1477. package/lib/view/profitAndLossClassesView/profitAndLossForTimeframeClassesViewEpic.js +0 -48
  1478. package/lib/view/profitAndLossClassesView/profitAndLossHorizontalEnrichment.js +0 -310
  1479. package/lib/view/profitAndLossProjectView/profitAndLossForTimeframeProjectViewEpic.js +0 -51
  1480. package/lib/view/profitAndLossProjectView/profitAndLossProjectViewEpic.js +0 -34
  1481. package/lib/view/profitAndLossProjectView/profitAndLossProjectViewPayload.js +0 -2
  1482. package/lib/view/profitAndLossProjectView/profitAndLossProjectViewReducer.js +0 -126
  1483. package/lib/view/profitAndLossProjectView/profitAndLossProjectViewSelector.js +0 -69
  1484. package/lib/view/profitAndLossProjectView/profitAndLossProjectViewSelectorTypes.js +0 -2
  1485. package/lib/view/profitAndLossProjectView/profitAndLossProjectViewState.js +0 -2
  1486. package/lib/view/projectList/fetchProjectListEpic.js +0 -42
  1487. package/lib/view/projectList/projectListPayload.js +0 -2
  1488. package/lib/view/projectList/projectListReducer.js +0 -46
  1489. package/lib/view/projectList/projectListSelector.js +0 -13
  1490. package/lib/view/projectList/projectListState.js +0 -2
  1491. package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.js +0 -84
  1492. package/lib/view/recommendation/fetchEntityRecommendationsForLineUpdateEpic.js +0 -109
  1493. package/lib/view/recommendation/fetchRecommendationByEntityIdEpic.js +0 -39
  1494. package/lib/view/recommendation/fetchRecommendationByEntityNameEpic.js +0 -38
  1495. package/lib/view/recommendation/recommendationHelper.js +0 -94
  1496. package/lib/view/recommendation/recommendationPayload.js +0 -7
  1497. package/lib/view/recommendation/recommendationReducer.js +0 -186
  1498. package/lib/view/recommendation/recommendationSelector.js +0 -19
  1499. package/lib/view/recommendation/recommendationState.js +0 -13
  1500. package/lib/view/recommendation/submitRecommendationFeedbackEpic.js +0 -68
  1501. package/lib/view/reconciliationReportView/epic/fetchReconciliationReportEpic.js +0 -33
  1502. package/lib/view/reconciliationReportView/reconciliationReportViewPayload.js +0 -2
  1503. package/lib/view/reconciliationReportView/reconciliationReportViewReducer.js +0 -48
  1504. package/lib/view/reconciliationReportView/reconciliationReportViewSelector.js +0 -13
  1505. package/lib/view/reconciliationReportView/reconciliationReportViewState.js +0 -2
  1506. package/lib/view/referralView/epics/fetchReferralsEpic.js +0 -30
  1507. package/lib/view/referralView/epics/fetchRewardsPlanEpic.js +0 -35
  1508. package/lib/view/referralView/epics/resendReferralInviteEpic.js +0 -33
  1509. package/lib/view/referralView/epics/sendReferralInviteEpic.js +0 -48
  1510. package/lib/view/referralView/epics/updateReferViewedEpic.js +0 -22
  1511. package/lib/view/referralView/referralPayload.js +0 -33
  1512. package/lib/view/referralView/referralReducer.js +0 -204
  1513. package/lib/view/referralView/referralSelector.js +0 -92
  1514. package/lib/view/referralView/referralState.js +0 -42
  1515. package/lib/view/reimbursementCard/fetchReimbursementCardEpic.js +0 -45
  1516. package/lib/view/reimbursementCard/reimbursementCardPayload.js +0 -2
  1517. package/lib/view/reimbursementCard/reimbursementCardReducer.js +0 -58
  1518. package/lib/view/reimbursementCard/reimbursementCardSelector.js +0 -16
  1519. package/lib/view/reimbursementCard/reimbursementCardState.js +0 -4
  1520. package/lib/view/reportUIOptions/reportUIOptionsReducer.js +0 -125
  1521. package/lib/view/reportUIOptions/reportUIOptionsState.js +0 -2
  1522. package/lib/view/reportUIOptions/toggleReportUIOptionForecastModeEpic.js +0 -40
  1523. package/lib/view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic.js +0 -76
  1524. package/lib/view/reportUIOptions/updateReportUIOptionCompareModeEpic.js +0 -51
  1525. package/lib/view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic.js +0 -64
  1526. package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.js +0 -30
  1527. package/lib/view/reportUIOptions/updateReportUIOptionTimeFrameEpic.js +0 -15
  1528. package/lib/view/reportsResync/reportsClassViewRefetchingEpic.js +0 -34
  1529. package/lib/view/reportsResync/reportsProjectViewRefetchingEpic.js +0 -34
  1530. package/lib/view/reportsResync/reportsResyncEpic.js +0 -56
  1531. package/lib/view/reportsResync/reportsResyncReducer.js +0 -64
  1532. package/lib/view/reportsResync/reportsResyncSelector.js +0 -10
  1533. package/lib/view/reportsResync/reportsResyncState.js +0 -2
  1534. package/lib/view/revenue/fetchRevenueWithForecastEpic.js +0 -111
  1535. package/lib/view/revenue/revenueEpic.js +0 -35
  1536. package/lib/view/revenue/revenueForTimeframeEpic.js +0 -70
  1537. package/lib/view/revenue/revenueHelper.js +0 -37
  1538. package/lib/view/revenue/revenuePayload.js +0 -2
  1539. package/lib/view/revenue/revenueReducer.js +0 -563
  1540. package/lib/view/revenue/revenueSelector.js +0 -228
  1541. package/lib/view/revenue/revenueSelectorTypes.js +0 -15
  1542. package/lib/view/revenue/revenueState.js +0 -2
  1543. package/lib/view/revenueClassesView/revenueClassesViewEpic.js +0 -34
  1544. package/lib/view/revenueClassesView/revenueClassesViewPayload.js +0 -2
  1545. package/lib/view/revenueClassesView/revenueClassesViewReducer.js +0 -121
  1546. package/lib/view/revenueClassesView/revenueClassesViewSelector.js +0 -94
  1547. package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.js +0 -16
  1548. package/lib/view/revenueClassesView/revenueClassesViewState.js +0 -2
  1549. package/lib/view/revenueClassesView/revenueForTimeframeClassesViewEpic.js +0 -34
  1550. package/lib/view/revenueProjectView/revenueForTimeframeProjectViewEpic.js +0 -39
  1551. package/lib/view/revenueProjectView/revenueProjectViewEpic.js +0 -34
  1552. package/lib/view/revenueProjectView/revenueProjectViewPayload.js +0 -2
  1553. package/lib/view/revenueProjectView/revenueProjectViewReducer.js +0 -118
  1554. package/lib/view/revenueProjectView/revenueProjectViewSelector.js +0 -62
  1555. package/lib/view/revenueProjectView/revenueProjectViewSelectorTypes.js +0 -2
  1556. package/lib/view/revenueProjectView/revenueProjectViewState.js +0 -2
  1557. package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.js +0 -47
  1558. package/lib/view/reviewCompanyView/retryBankAccountConnectionEpic.js +0 -79
  1559. package/lib/view/reviewCompanyView/reviewCompanyPayload.js +0 -2
  1560. package/lib/view/reviewCompanyView/reviewCompanyViewReducer.js +0 -134
  1561. package/lib/view/reviewCompanyView/reviewCompanyViewSelector.js +0 -155
  1562. package/lib/view/reviewCompanyView/reviewCompanyViewState.js +0 -62
  1563. package/lib/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.js +0 -13
  1564. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/cancelScheduleAccruedJournalEntryEpic.js +0 -82
  1565. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/createNewSchedulesAccruedEpic.js +0 -34
  1566. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/deleteScheduleAccruedDetailEpic.js +0 -81
  1567. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/fetchRecommendedTransactionRowIndexEpic.js +0 -72
  1568. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/fetchScheduleAccruedDetailsEpic.js +0 -52
  1569. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/fetchScheduleAccruedDetailsPageEpic.js +0 -28
  1570. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/initializeScheduleAccruedDetailLocalDataEpic.js +0 -42
  1571. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/saveScheduleAccruedDetailsEpic.js +0 -130
  1572. package/lib/view/scheduleView/scheduleAccruedDetailView/epics/updateAmountsInScheduleAccruedDetailEpic.js +0 -33
  1573. package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailLocalDataHelper.js +0 -123
  1574. package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailPayload.js +0 -320
  1575. package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailReducer.js +0 -397
  1576. package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailSelector.js +0 -144
  1577. package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailState.js +0 -2
  1578. package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +0 -37
  1579. package/lib/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.js +0 -81
  1580. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +0 -82
  1581. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +0 -28
  1582. package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.js +0 -40
  1583. package/lib/view/scheduleView/scheduleDetailView/epics/markAsCompleteScheduleDetailEpic.js +0 -76
  1584. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +0 -104
  1585. package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.js +0 -38
  1586. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +0 -269
  1587. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +0 -345
  1588. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +0 -383
  1589. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +0 -131
  1590. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.js +0 -2
  1591. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailTypes.js +0 -13
  1592. package/lib/view/scheduleView/scheduleListView/epics/fetchAccruedScheduleListEpic.js +0 -52
  1593. package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.js +0 -64
  1594. package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.js +0 -72
  1595. package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.js +0 -15
  1596. package/lib/view/scheduleView/scheduleListView/scheduleListBalanceTypes.js +0 -2
  1597. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.js +0 -403
  1598. package/lib/view/scheduleView/scheduleListView/scheduleListPayload.js +0 -2
  1599. package/lib/view/scheduleView/scheduleListView/scheduleListReducer.js +0 -439
  1600. package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +0 -393
  1601. package/lib/view/scheduleView/scheduleListView/scheduleListState.js +0 -2
  1602. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.js +0 -35
  1603. package/lib/view/settingsView/epic/fetchBankAccountsListEpic.js +0 -30
  1604. package/lib/view/settingsView/epic/fetchBankConnectionsViewEpic.js +0 -43
  1605. package/lib/view/settingsView/epic/fetchBillingAccountsViewEpic.js +0 -17
  1606. package/lib/view/settingsView/epic/fetchCompanyBillingAddressEpic.js +0 -57
  1607. package/lib/view/settingsView/epic/fetchMyProfileEpic.js +0 -56
  1608. package/lib/view/settingsView/epic/fetchMyProfileViewEpic.js +0 -20
  1609. package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.js +0 -60
  1610. package/lib/view/settingsView/epic/fetchNotificationSettingsViewEpic.js +0 -18
  1611. package/lib/view/settingsView/epic/initializeMyProfileLocalDataEpic.js +0 -49
  1612. package/lib/view/settingsView/epic/refreshIntegrationsDataEpic.js +0 -32
  1613. package/lib/view/settingsView/epic/saveCompanyBillingAddressEpic.js +0 -61
  1614. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.js +0 -92
  1615. package/lib/view/settingsView/epic/updateMyProfileEpic.js +0 -112
  1616. package/lib/view/settingsView/settingsViewHelpers.js +0 -177
  1617. package/lib/view/settingsView/settingsViewPayload.js +0 -2
  1618. package/lib/view/settingsView/settingsViewReducer.js +0 -437
  1619. package/lib/view/settingsView/settingsViewSelector.js +0 -292
  1620. package/lib/view/settingsView/settingsViewState.js +0 -19
  1621. package/lib/view/settingsView/types/settingsViewSelectorTypes.js +0 -2
  1622. package/lib/view/spendManagement/autotransferRules/autoTransferRuleTypes.js +0 -2
  1623. package/lib/view/spendManagement/autotransferRules/autoTransferRulesPayload.js +0 -30
  1624. package/lib/view/spendManagement/autotransferRules/autoTransferRulesReducer.js +0 -206
  1625. package/lib/view/spendManagement/autotransferRules/autoTransferRulesSelector.js +0 -61
  1626. package/lib/view/spendManagement/autotransferRules/autoTransferRulesState.js +0 -2
  1627. package/lib/view/spendManagement/autotransferRules/epics/createAutoTransferRuleEpic.js +0 -106
  1628. package/lib/view/spendManagement/autotransferRules/epics/deleteAutoTransferRuleEpic.js +0 -52
  1629. package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferReviewDetailEpic.js +0 -40
  1630. package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRuleHistory.js +0 -52
  1631. package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRulesEpic.js +0 -54
  1632. package/lib/view/spendManagement/autotransferRules/epics/updateAutoTransferRuleEpic.js +0 -73
  1633. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewPayload.js +0 -2
  1634. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js +0 -559
  1635. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +0 -414
  1636. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewState.js +0 -59
  1637. package/lib/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.js +0 -53
  1638. package/lib/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.js +0 -76
  1639. package/lib/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.js +0 -65
  1640. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +0 -172
  1641. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillRecommendationsEpic.js +0 -104
  1642. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchEligibleActionsForBillEpic.js +0 -43
  1643. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchRecommendationsForBill.js +0 -92
  1644. package/lib/view/spendManagement/billPay/billDetailView/epics/retryOrRefundBillEpic.js +0 -89
  1645. package/lib/view/spendManagement/billPay/billList/billListDownloadSelector.js +0 -66
  1646. package/lib/view/spendManagement/billPay/billList/billListFilterHelpers.js +0 -58
  1647. package/lib/view/spendManagement/billPay/billList/billListPayload.js +0 -2
  1648. package/lib/view/spendManagement/billPay/billList/billListReducer.js +0 -189
  1649. package/lib/view/spendManagement/billPay/billList/billListSelector.js +0 -730
  1650. package/lib/view/spendManagement/billPay/billList/billListState.js +0 -68
  1651. package/lib/view/spendManagement/billPay/billList/fetchBillListEpic.js +0 -64
  1652. package/lib/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.js +0 -44
  1653. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.js +0 -270
  1654. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +0 -140
  1655. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigSelector.js +0 -39
  1656. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.js +0 -105
  1657. package/lib/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.js +0 -32
  1658. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.js +0 -2
  1659. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewReducer.js +0 -115
  1660. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +0 -185
  1661. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewState.js +0 -11
  1662. package/lib/view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic.js +0 -53
  1663. package/lib/view/spendManagement/billPay/billPayReview/getDuplicateBills.js +0 -26
  1664. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.js +0 -2
  1665. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +0 -348
  1666. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelector.js +0 -129
  1667. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelectorTypes.js +0 -2
  1668. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewState.js +0 -2
  1669. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/deleteBillPayApprovalRuleEpic.js +0 -48
  1670. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.js +0 -34
  1671. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversListEpic.js +0 -40
  1672. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPaySetupApproverViewEpic.js +0 -62
  1673. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.js +0 -40
  1674. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/reorderBillPayApprovalRulesEpic.js +0 -58
  1675. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/saveBillPaySetupApproverViewUpdatesEpic.js +0 -78
  1676. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +0 -176
  1677. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonState.js +0 -2
  1678. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.js +0 -2
  1679. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewReducer.js +0 -109
  1680. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewSelector.js +0 -37
  1681. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewState.js +0 -2
  1682. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.js +0 -81
  1683. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayTermsEpic.js +0 -44
  1684. package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayUpdatedTermsEpic.js +0 -44
  1685. package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.js +0 -2
  1686. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewPayload.js +0 -2
  1687. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.js +0 -189
  1688. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewSelector.js +0 -76
  1689. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState.js +0 -26
  1690. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/approveOrRejectBillsBulkActionEpic.js +0 -79
  1691. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/cancelOrDeleteBillsBulkActionEpic.js +0 -80
  1692. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/submitDraftBillsBulkActionEpic.js +0 -88
  1693. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/validateBillsBulkActionEpic.ts.js +0 -32
  1694. package/lib/view/spendManagement/billPay/editBillView/editBillViewPayload.js +0 -19
  1695. package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.js +0 -528
  1696. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +0 -751
  1697. package/lib/view/spendManagement/billPay/editBillView/editBillViewState.js +0 -75
  1698. package/lib/view/spendManagement/billPay/editBillView/epics/applyBillRecommendationsToLocalStoreEpic.js +0 -102
  1699. package/lib/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.js +0 -90
  1700. package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.js +0 -56
  1701. package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js +0 -84
  1702. package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorAndUpdateBillLocalDataEpic.js +0 -175
  1703. package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorByNameAndParseInvoice.js +0 -41
  1704. package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.js +0 -249
  1705. package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +0 -492
  1706. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +0 -269
  1707. package/lib/view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic.js +0 -122
  1708. package/lib/view/spendManagement/billPay/internationalWire/epics/createInternationalPaymentInstrumentEpic.js +0 -121
  1709. package/lib/view/spendManagement/billPay/internationalWire/epics/deletePaymentInstrumentEpic.js +0 -59
  1710. package/lib/view/spendManagement/billPay/internationalWire/epics/fetchInternationalWireDynamicFormEpic.js +0 -54
  1711. package/lib/view/spendManagement/billPay/internationalWire/epics/initializeDynamicFormEpic.js +0 -43
  1712. package/lib/view/spendManagement/billPay/internationalWire/epics/initializeInternationalWireLocalDataEpic.js +0 -53
  1713. package/lib/view/spendManagement/billPay/internationalWire/internationalWire.js +0 -14
  1714. package/lib/view/spendManagement/billPay/internationalWire/internationalWirePayload.js +0 -55
  1715. package/lib/view/spendManagement/billPay/internationalWire/internationalWireReducer.js +0 -172
  1716. package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.js +0 -50
  1717. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.js +0 -36
  1718. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.js +0 -43
  1719. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.js +0 -66
  1720. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.js +0 -19
  1721. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +0 -94
  1722. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.js +0 -33
  1723. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.js +0 -2
  1724. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic.js +0 -42
  1725. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic.js +0 -42
  1726. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.js +0 -41
  1727. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic.js +0 -34
  1728. package/lib/view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic.js +0 -97
  1729. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.js +0 -2
  1730. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.js +0 -280
  1731. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewSelector.js +0 -58
  1732. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewState.js +0 -2
  1733. package/lib/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.js +0 -65
  1734. package/lib/view/spendManagement/billPay/previousBills/previousBillsPayload.js +0 -2
  1735. package/lib/view/spendManagement/billPay/previousBills/previousBillsReducer.js +0 -57
  1736. package/lib/view/spendManagement/billPay/previousBills/previousBillsSelector.js +0 -25
  1737. package/lib/view/spendManagement/billPay/previousBills/previousBillsState.js +0 -13
  1738. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic.js +0 -32
  1739. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectReducer.js +0 -42
  1740. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectSelector.js +0 -12
  1741. package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectState.js +0 -2
  1742. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailReducer.js +0 -59
  1743. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailSelector.js +0 -28
  1744. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailState.js +0 -2
  1745. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/fetchCardPolicyDetailEpic.js +0 -40
  1746. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/updateCardPolicyEpic.js +0 -43
  1747. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/archiveCardPolicyEpic.js +0 -38
  1748. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListReducer.js +0 -78
  1749. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListSelector.js +0 -27
  1750. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListState.js +0 -2
  1751. package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/fetchCardPolicyListEpic.js +0 -42
  1752. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyAiCardPolicyFormDraftUpdate.js +0 -294
  1753. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToAiCardPolicyDraft.js +0 -113
  1754. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToDraftEpic.js +0 -48
  1755. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToManualCardPolicyDraft.js +0 -115
  1756. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyUploadPlanToAiCardPolicyDraft.js +0 -29
  1757. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildAiCardPolicyFormDraftSeed.js +0 -369
  1758. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildManualCardPolicyFormDraftSeed.js +0 -40
  1759. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyChipIds.js +0 -26
  1760. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyFormDraftTypes.js +0 -10
  1761. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyRequestParts.js +0 -126
  1762. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.js +0 -164
  1763. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicySelector.js +0 -31
  1764. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyState.js +0 -2
  1765. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyTemplateEpic.js +0 -53
  1766. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/deriveAiPolicyReviewRowsFromInputs.js +0 -144
  1767. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/fetchCardPolicyMccCategoriesEpic.js +0 -24
  1768. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/seedAiCardPolicyFormDraftEpic.js +0 -104
  1769. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toBulkCardPolicyTemplateRequestsFromDraft.js +0 -100
  1770. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toCardPolicyTemplateRequestFromDraft.js +0 -63
  1771. package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toManualCardPolicyTemplateRequestFromDraft.js +0 -28
  1772. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +0 -101
  1773. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.js +0 -34
  1774. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingState.js +0 -2
  1775. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.js +0 -34
  1776. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/saveCardOnboardingUserDetailsEpic.js +0 -14
  1777. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailPayload.js +0 -2
  1778. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.js +0 -90
  1779. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailSelector.js +0 -55
  1780. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailState.js +0 -13
  1781. package/lib/view/spendManagement/chargeCards/cashbackDetail/fetchCashbackDetailEpic.js +0 -24
  1782. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigPayload.js +0 -22
  1783. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js +0 -74
  1784. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigState.js +0 -2
  1785. package/lib/view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic.js +0 -23
  1786. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js +0 -152
  1787. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailPayload.js +0 -2
  1788. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +0 -679
  1789. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +0 -339
  1790. package/lib/view/spendManagement/chargeCards/chargeCardDetail/closeChargeCardEpic.js +0 -71
  1791. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +0 -82
  1792. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailPageEpic.js +0 -67
  1793. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionAttachmentsEpic.js +0 -42
  1794. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.js +0 -47
  1795. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionStatisticsEpic.js +0 -39
  1796. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardsRecurringExpensesEpic.js +0 -44
  1797. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchDepositAccountLimitEpic.js +0 -40
  1798. package/lib/view/spendManagement/chargeCards/chargeCardDetail/lockChargeCardEpic.js +0 -77
  1799. package/lib/view/spendManagement/chargeCards/chargeCardDetail/unlockChargeCardEpic.js +0 -74
  1800. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardDetailEpic.js +0 -60
  1801. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardLimitEpic.js +0 -74
  1802. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardNameEpic.js +0 -82
  1803. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateDebitCardPinAttemptEpic.js +0 -42
  1804. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.js +0 -42
  1805. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +0 -93
  1806. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListPayload.js +0 -2
  1807. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +0 -375
  1808. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +0 -463
  1809. package/lib/view/spendManagement/chargeCards/chargeCardList/closeChargeCardsEpic.js +0 -69
  1810. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListEpic.js +0 -35
  1811. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.js +0 -107
  1812. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountEpic.js +0 -23
  1813. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountRepaymentEpic.js +0 -23
  1814. package/lib/view/spendManagement/chargeCards/chargeCardList/fetchDebitCardSummaryEpic.js +0 -23
  1815. package/lib/view/spendManagement/chargeCards/chargeCardList/lockChargeCardsEpic.js +0 -69
  1816. package/lib/view/spendManagement/chargeCards/chargeCardList/resendCardInviteEpic.js +0 -31
  1817. package/lib/view/spendManagement/chargeCards/chargeCardList/revokeCardInviteEpic.js +0 -29
  1818. package/lib/view/spendManagement/chargeCards/chargeCardList/revokeChargeCardsInviteEpic.js +0 -71
  1819. package/lib/view/spendManagement/chargeCards/chargeCardList/unlockChargeCardsEpic.js +0 -68
  1820. package/lib/view/spendManagement/chargeCards/chargeCardList/updateChargeCardsLimitEpic.js +0 -76
  1821. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistory.js +0 -35
  1822. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector.js +0 -26
  1823. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryHelpers.js +0 -106
  1824. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryPayload.js +0 -2
  1825. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer.js +0 -91
  1826. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector.js +0 -107
  1827. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentHistoryEpic.js +0 -35
  1828. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentPageEpic.js +0 -35
  1829. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer.js +0 -59
  1830. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector.js +0 -41
  1831. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailState.js +0 -2
  1832. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentPayload.js +0 -2
  1833. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/fetchChargeCardRepaymentDetailEpic.js +0 -25
  1834. package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic.js +0 -91
  1835. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.js +0 -2
  1836. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js +0 -165
  1837. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.js +0 -46
  1838. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewState.js +0 -2
  1839. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic.js +0 -80
  1840. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/enableChargeCardAutoPayEpic.js +0 -54
  1841. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/expressInterestChargeCardEpic.js +0 -48
  1842. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.js +0 -81
  1843. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.js +0 -2
  1844. package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementList.js +0 -2
  1845. package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListPayload.js +0 -2
  1846. package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer.js +0 -56
  1847. package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListSelector.js +0 -13
  1848. package/lib/view/spendManagement/chargeCards/chargeCardStatementList/fetchChargeCardStatementListEpic.js +0 -32
  1849. package/lib/view/spendManagement/chargeCards/issueChargeCard/aiCardCreationFormDraftTypes.js +0 -2
  1850. package/lib/view/spendManagement/chargeCards/issueChargeCard/applyAiCardCreationFormDraftUpdate.js +0 -38
  1851. package/lib/view/spendManagement/chargeCards/issueChargeCard/buildAiCardCreationFormDraftSeed.js +0 -61
  1852. package/lib/view/spendManagement/chargeCards/issueChargeCard/depositAccountWithLimitPayload.js +0 -2
  1853. package/lib/view/spendManagement/chargeCards/issueChargeCard/deriveAiCardRowsFromTeams.js +0 -39
  1854. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchDepositAccountListForCardsEpic.js +0 -30
  1855. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.js +0 -61
  1856. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardEpic.js +0 -148
  1857. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +0 -178
  1858. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +0 -140
  1859. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.js +0 -2
  1860. package/lib/view/spendManagement/chargeCards/issueChargeCard/seedAiCardCreationFormDraftEpic.js +0 -66
  1861. package/lib/view/spendManagement/chargeCards/issueChargeCard/toIssueChargeCardLocalDataFromDraft.js +0 -48
  1862. package/lib/view/spendManagement/commonHistoryView/commonHistory.js +0 -33
  1863. package/lib/view/spendManagement/commonHistoryView/commonHistoryPayload.js +0 -24
  1864. package/lib/view/spendManagement/commonHistoryView/commonHistoryReducer.js +0 -68
  1865. package/lib/view/spendManagement/commonHistoryView/commonHistorySelector.js +0 -19
  1866. package/lib/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.js +0 -63
  1867. package/lib/view/spendManagement/commonSetup/epic/setup/enableSetupEpic.js +0 -61
  1868. package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKybDocumentEpic.js +0 -62
  1869. package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKycDocumentEpic.js +0 -81
  1870. package/lib/view/spendManagement/commonSetup/epic/setup/resetKycKybEpic.js +0 -41
  1871. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +0 -344
  1872. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +0 -157
  1873. package/lib/view/spendManagement/commonSetup/kycKybAutofillActions.js +0 -17
  1874. package/lib/view/spendManagement/commonSetup/kycKybParseMapper.js +0 -229
  1875. package/lib/view/spendManagement/commonSetup/setupViewPayload.js +0 -2
  1876. package/lib/view/spendManagement/commonSetup/setupViewReducer.js +0 -387
  1877. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +0 -288
  1878. package/lib/view/spendManagement/commonSetup/setupViewState.js +0 -19
  1879. package/lib/view/spendManagement/commonSetup/types/businessVerification.js +0 -152
  1880. package/lib/view/spendManagement/commonSetup/types/kycKybAutofill.js +0 -46
  1881. package/lib/view/spendManagement/helpers.js +0 -417
  1882. package/lib/view/spendManagement/merchantList/fetchMerchantListEpic.js +0 -30
  1883. package/lib/view/spendManagement/merchantList/merchantListPayload.js +0 -2
  1884. package/lib/view/spendManagement/merchantList/merchantListReducer.js +0 -50
  1885. package/lib/view/spendManagement/merchantList/merchantListSelector.js +0 -13
  1886. package/lib/view/spendManagement/merchantList/merchantListState.js +0 -2
  1887. package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/getPaymentAccountsEpic.js +0 -41
  1888. package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updateMappedCashAccountEpic.js +0 -29
  1889. package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountEpic.js +0 -31
  1890. package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountLoginStatusEpic.js +0 -38
  1891. package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountStatusEpic.js +0 -37
  1892. package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePrimaryFundingAccountEpic.js +0 -93
  1893. package/lib/view/spendManagement/plaidAccount/epic/plaidConnection/establishPlaidConnectionEpic.js +0 -148
  1894. package/lib/view/spendManagement/plaidAccount/epic/plaidConnection/getPlaidLinkTokenEpic.js +0 -52
  1895. package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +0 -459
  1896. package/lib/view/spendManagement/plaidAccount/plaidAccountViewSelector.js +0 -6
  1897. package/lib/view/spendManagement/plaidAccount/plaidAccountViewState.js +0 -33
  1898. package/lib/view/spendManagement/plaidAccount/types/paymentAccount.js +0 -2
  1899. package/lib/view/spendManagement/plaidAccount/types/plaidConnection.js +0 -2
  1900. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.js +0 -2
  1901. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalReducer.js +0 -71
  1902. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalSelector.js +0 -19
  1903. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalState.js +0 -14
  1904. package/lib/view/spendManagement/realTimeApprovalView/saveRealTimeApprovalEpic.js +0 -126
  1905. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewPayload.js +0 -52
  1906. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js +0 -507
  1907. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +0 -203
  1908. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewState.js +0 -24
  1909. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.js +0 -63
  1910. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.js +0 -67
  1911. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.js +0 -122
  1912. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js +0 -58
  1913. package/lib/view/spendManagement/reimbursement/editRemiView/epics/initializeRemiToLocalStoreEpic.js +0 -110
  1914. package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.js +0 -195
  1915. package/lib/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.js +0 -120
  1916. package/lib/view/spendManagement/reimbursement/editRemiView/getRecommendedCategoryClass.js +0 -26
  1917. package/lib/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.js +0 -25
  1918. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigPayload.js +0 -19
  1919. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigReducer.js +0 -59
  1920. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigSelector.js +0 -14
  1921. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.js +0 -10
  1922. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.js +0 -56
  1923. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.js +0 -65
  1924. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.js +0 -55
  1925. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.js +0 -71
  1926. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js +0 -115
  1927. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewPayload.js +0 -2
  1928. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewReducer.js +0 -322
  1929. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.js +0 -320
  1930. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewState.js +0 -39
  1931. package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListEpic.js +0 -42
  1932. package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.js +0 -52
  1933. package/lib/view/spendManagement/reimbursement/remiListView/remiListDownloadSelector.js +0 -73
  1934. package/lib/view/spendManagement/reimbursement/remiListView/remiListFilterHelpers.js +0 -32
  1935. package/lib/view/spendManagement/reimbursement/remiListView/remiListPayload.js +0 -2
  1936. package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.js +0 -204
  1937. package/lib/view/spendManagement/reimbursement/remiListView/remiListSelector.js +0 -616
  1938. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.js +0 -86
  1939. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic.js +0 -48
  1940. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversDetailsEpic.js +0 -29
  1941. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversListEpic.js +0 -40
  1942. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiSetupApproverViewEpic.js +0 -64
  1943. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.js +0 -40
  1944. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/reorderRemiApprovalRulesEpic.js +0 -65
  1945. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/saveRemiSetupApproverViewUpdatesEpic.js +0 -78
  1946. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.js +0 -2
  1947. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.js +0 -342
  1948. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelector.js +0 -147
  1949. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelectorTypes.js +0 -2
  1950. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewState.js +0 -2
  1951. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/fetchRemiSetupViewEpic.js +0 -83
  1952. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateMileageDetailsEpic.js +0 -80
  1953. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.js +0 -39
  1954. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptEmployeeRemiTermsEpic.js +0 -38
  1955. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptRemiTermsEpic.js +0 -44
  1956. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.js +0 -2
  1957. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer.js +0 -167
  1958. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewSelector.js +0 -54
  1959. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewState.js +0 -7
  1960. package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.js +0 -2
  1961. package/lib/view/spendManagement/reimbursement/remisBulkActionView/epics/approveOrRejectRemisBulkActionEpic.js +0 -79
  1962. package/lib/view/spendManagement/reimbursement/remisBulkActionView/epics/cancelOrDeleteRemisBulkActionEpic.js +0 -80
  1963. package/lib/view/spendManagement/reimbursement/remisBulkActionView/epics/reviewDraftRemisBulkActionEpic.ts.js +0 -28
  1964. package/lib/view/spendManagement/reimbursement/remisBulkActionView/epics/submitDraftRemisBulkActionEpic.js +0 -73
  1965. package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewPayload.js +0 -2
  1966. package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer.js +0 -176
  1967. package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewSelector.js +0 -50
  1968. package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewState.js +0 -24
  1969. package/lib/view/spendManagement/spendManagementFilterHelpers.js +0 -147
  1970. package/lib/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryDetailEpic.js +0 -76
  1971. package/lib/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryHistoryEpic.js +0 -31
  1972. package/lib/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryTransactionListEpic.js +0 -39
  1973. package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailPayload.js +0 -15
  1974. package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js +0 -181
  1975. package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailSelector.js +0 -52
  1976. package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailState.js +0 -12
  1977. package/lib/view/spendManagement/treasury/treasurySetUp/epic/acceptTreasuryTermsEpic.js +0 -44
  1978. package/lib/view/spendManagement/treasury/treasurySetUp/epic/fetchPortfolioAllocationEpic.js +0 -21
  1979. package/lib/view/spendManagement/treasury/treasurySetUp/epic/fetchTreasuryFundsEpic.js +0 -28
  1980. package/lib/view/spendManagement/treasury/treasurySetUp/epic/fetchTreasurySetupViewEpic.js +0 -81
  1981. package/lib/view/spendManagement/treasury/treasurySetUp/epic/updatePortfolioAllocationEpic.js +0 -44
  1982. package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewPayload.js +0 -2
  1983. package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.js +0 -310
  1984. package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewSelector.js +0 -52
  1985. package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewState.js +0 -21
  1986. package/lib/view/spendManagement/treasury/treasuryStatementList/fetchTreasuryStatementListEpic.js +0 -42
  1987. package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementList.js +0 -11
  1988. package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListPayload.js +0 -2
  1989. package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListReducer.js +0 -60
  1990. package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListSelector.js +0 -17
  1991. package/lib/view/spendManagement/treasury/treasuryTaxLetterList/fetchTreasuryTaxLetterListEpic.js +0 -41
  1992. package/lib/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListReducer.js +0 -60
  1993. package/lib/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListSelector.js +0 -17
  1994. package/lib/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListState.js +0 -11
  1995. package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyEpic.js +0 -91
  1996. package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyPayload.js +0 -15
  1997. package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyReducer.js +0 -54
  1998. package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneySelector.js +0 -64
  1999. package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyState.js +0 -2
  2000. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.js +0 -48
  2001. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer.js +0 -49
  2002. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositSelector.js +0 -32
  2003. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositState.js +0 -2
  2004. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailPayload.js +0 -15
  2005. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer.js +0 -199
  2006. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.js +0 -86
  2007. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailState.js +0 -30
  2008. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.js +0 -58
  2009. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.js +0 -35
  2010. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.js +0 -38
  2011. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.js +0 -67
  2012. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountList.js +0 -2
  2013. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListPayload.js +0 -14
  2014. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListReducer.js +0 -45
  2015. package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListSelector.js +0 -13
  2016. package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.js +0 -38
  2017. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.js +0 -2
  2018. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer.js +0 -65
  2019. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector.js +0 -25
  2020. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListState.js +0 -9
  2021. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.js +0 -57
  2022. package/lib/view/spendManagement/zeniAccounts/expressPay/epics/fetchExpressPayInitialDetailsEpic.js +0 -39
  2023. package/lib/view/spendManagement/zeniAccounts/expressPay/epics/submitExpressPayEpic.js +0 -66
  2024. package/lib/view/spendManagement/zeniAccounts/expressPay/expressPayReducer.js +0 -64
  2025. package/lib/view/spendManagement/zeniAccounts/expressPay/expressPaySelector.js +0 -82
  2026. package/lib/view/spendManagement/zeniAccounts/expressPay/expressPayState.js +0 -2
  2027. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountBalanceEpic.js +0 -52
  2028. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.js +0 -41
  2029. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountList.js +0 -2
  2030. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListPayload.js +0 -2
  2031. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.js +0 -99
  2032. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListSelector.js +0 -20
  2033. package/lib/view/spendManagement/zeniAccounts/paymentAccountList/unlinkPaymentAccountEpic.js +0 -54
  2034. package/lib/view/spendManagement/zeniAccounts/transferDetail/fetchReviewTransferDetailEpic.js +0 -40
  2035. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.js +0 -19
  2036. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer.js +0 -117
  2037. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailSelector.js +0 -34
  2038. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailState.js +0 -2
  2039. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.js +0 -58
  2040. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.js +0 -68
  2041. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic.js +0 -40
  2042. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListPayload.js +0 -2
  2043. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListReducer.js +0 -87
  2044. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.js +0 -60
  2045. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListState.js +0 -2
  2046. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/acceptZeniAccountTermsEpic.js +0 -45
  2047. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.js +0 -81
  2048. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.js +0 -2
  2049. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.js +0 -2
  2050. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewReducer.js +0 -96
  2051. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector.js +0 -41
  2052. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewState.js +0 -2
  2053. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.js +0 -33
  2054. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.js +0 -99
  2055. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.js +0 -58
  2056. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.js +0 -24
  2057. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigState.js +0 -2
  2058. package/lib/view/subscriptionView/epic/fetchSubscriptionAddOnsEpic.js +0 -39
  2059. package/lib/view/subscriptionView/epic/fetchSubscriptionCouponsEpic.js +0 -39
  2060. package/lib/view/subscriptionView/epic/fetchSubscriptionCreateEstimateEpic.js +0 -49
  2061. package/lib/view/subscriptionView/epic/fetchSubscriptionDetailsEpic.js +0 -73
  2062. package/lib/view/subscriptionView/epic/fetchSubscriptionListEpic.js +0 -86
  2063. package/lib/view/subscriptionView/epic/fetchSubscriptionPlansEpic.js +0 -38
  2064. package/lib/view/subscriptionView/epic/fetchSubscriptionUpdateEstimateEpic.js +0 -52
  2065. package/lib/view/subscriptionView/epic/initializeSubscriptionLocalDataEpic.js +0 -44
  2066. package/lib/view/subscriptionView/epic/saveSubscriptionNotesUpdatesEpic.js +0 -36
  2067. package/lib/view/subscriptionView/epic/saveSubscriptionUpdatesEpic.js +0 -92
  2068. package/lib/view/subscriptionView/reduceSubscriptionViewFetchState.js +0 -49
  2069. package/lib/view/subscriptionView/selectorHelpers.js +0 -32
  2070. package/lib/view/subscriptionView/subscriptionEstmiatePayload.js +0 -44
  2071. package/lib/view/subscriptionView/subscriptionViewPayload.js +0 -42
  2072. package/lib/view/subscriptionView/subscriptionViewReducer.js +0 -365
  2073. package/lib/view/subscriptionView/subscriptionViewSelector.js +0 -430
  2074. package/lib/view/subscriptionView/subscriptionViewSelectorTypes.js +0 -2
  2075. package/lib/view/subscriptionView/subscriptionViewState.js +0 -2
  2076. package/lib/view/subscriptionView/types/subscriptionEstmiate.js +0 -2
  2077. package/lib/view/subscriptionView/types/subscriptionTypes.js +0 -29
  2078. package/lib/view/subscriptionView/types/subscriptionView.js +0 -2
  2079. package/lib/view/tagView/epics/createTagEpic.js +0 -69
  2080. package/lib/view/tagView/epics/deleteTagEpic.js +0 -53
  2081. package/lib/view/tagView/epics/fetchAllTagsEpic.js +0 -33
  2082. package/lib/view/tagView/tagViewPayload.js +0 -2
  2083. package/lib/view/tagView/tagViewReducer.js +0 -99
  2084. package/lib/view/tagView/tagViewSelector.js +0 -17
  2085. package/lib/view/tagView/tagViewState.js +0 -2
  2086. package/lib/view/taskManager/cannedResponsesView/cannedResponses.js +0 -2
  2087. package/lib/view/taskManager/cannedResponsesView/cannedResponsesPayload.js +0 -15
  2088. package/lib/view/taskManager/cannedResponsesView/cannedResponsesReducer.js +0 -69
  2089. package/lib/view/taskManager/cannedResponsesView/cannedResponsesSelector.js +0 -6
  2090. package/lib/view/taskManager/cannedResponsesView/epics/deleteCannedResponseEpic.js +0 -21
  2091. package/lib/view/taskManager/cannedResponsesView/epics/fetchCannedResponsesEpic.js +0 -25
  2092. package/lib/view/taskManager/cannedResponsesView/epics/saveCannedResponseEpic.js +0 -33
  2093. package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.js +0 -71
  2094. package/lib/view/taskManager/taskDetailView/epics/createSubTaskEpic.js +0 -100
  2095. package/lib/view/taskManager/taskDetailView/epics/deleteTaskEpic.js +0 -51
  2096. package/lib/view/taskManager/taskDetailView/epics/fetchSubTasksEpic.js +0 -57
  2097. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.js +0 -152
  2098. package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailPageEpic.js +0 -46
  2099. package/lib/view/taskManager/taskDetailView/epics/fetchTaskHistoryEpic.js +0 -62
  2100. package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +0 -28
  2101. package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +0 -170
  2102. package/lib/view/taskManager/taskDetailView/epics/snoozeTaskEpic.js +0 -70
  2103. package/lib/view/taskManager/taskDetailView/epics/unsnoozeTaskEpic.js +0 -61
  2104. package/lib/view/taskManager/taskDetailView/taskDetail.js +0 -43
  2105. package/lib/view/taskManager/taskDetailView/taskDetailLocalData.js +0 -51
  2106. package/lib/view/taskManager/taskDetailView/taskDetailReducer.js +0 -439
  2107. package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +0 -193
  2108. package/lib/view/taskManager/taskGroupTemplateView/epics/createTaskFromTaskGroupTemplateEpic.js +0 -54
  2109. package/lib/view/taskManager/taskGroupTemplateView/epics/fetchTaskGroupTemplatesEpic.js +0 -34
  2110. package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewPayload.js +0 -2
  2111. package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewReducer.js +0 -62
  2112. package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewSelector.js +0 -10
  2113. package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewState.js +0 -2
  2114. package/lib/view/taskManager/taskGroupView/epics/createNewTaskGroupEpic.js +0 -59
  2115. package/lib/view/taskManager/taskGroupView/epics/deleteTaskGroupEpic.js +0 -41
  2116. package/lib/view/taskManager/taskGroupView/epics/fetchAllTaskGroupsEpic.js +0 -33
  2117. package/lib/view/taskManager/taskGroupView/epics/updateTaskGroupNameEpic.js +0 -51
  2118. package/lib/view/taskManager/taskGroupView/taskGroupViewPayload.js +0 -2
  2119. package/lib/view/taskManager/taskGroupView/taskGroupViewReducer.js +0 -143
  2120. package/lib/view/taskManager/taskGroupView/taskGroupViewState.js +0 -2
  2121. package/lib/view/taskManager/taskListView/epics/bulkUpdateTaskListEpic.js +0 -136
  2122. package/lib/view/taskManager/taskListView/epics/dragNDropTasksEpic.js +0 -23
  2123. package/lib/view/taskManager/taskListView/epics/fetchTaskListEpic.js +0 -45
  2124. package/lib/view/taskManager/taskListView/epics/fetchTaskListPageEpic.js +0 -52
  2125. package/lib/view/taskManager/taskListView/epics/updateTaskFromListViewEpic.js +0 -37
  2126. package/lib/view/taskManager/taskListView/taskList.js +0 -69
  2127. package/lib/view/taskManager/taskListView/taskListFilterHelpers.js +0 -22
  2128. package/lib/view/taskManager/taskListView/taskListPayload.js +0 -2
  2129. package/lib/view/taskManager/taskListView/taskListReducer.js +0 -947
  2130. package/lib/view/taskManager/taskListView/taskListSelector.js +0 -421
  2131. package/lib/view/taskManager/taskListView/taskListViewHelpers.js +0 -114
  2132. package/lib/view/tasksCard/fetchTasksCardEpic.js +0 -18
  2133. package/lib/view/tasksCard/tasksCardPayload.js +0 -2
  2134. package/lib/view/tasksCard/tasksCardReducer.js +0 -67
  2135. package/lib/view/tasksCard/tasksCardSelector.js +0 -54
  2136. package/lib/view/tasksCard/tasksCardState.js +0 -2
  2137. package/lib/view/topEx/topExEpic.js +0 -20
  2138. package/lib/view/topEx/topExPayload.js +0 -2
  2139. package/lib/view/topEx/topExReducer.js +0 -87
  2140. package/lib/view/topEx/topExSelector.js +0 -68
  2141. package/lib/view/topEx/topExSelectorTypes.js +0 -2
  2142. package/lib/view/topEx/topExState.js +0 -17
  2143. package/lib/view/transactionActivityLogView/fetchTransactionActivityLogEpic.js +0 -47
  2144. package/lib/view/transactionActivityLogView/transactionActivityLogViewPayload.js +0 -2
  2145. package/lib/view/transactionActivityLogView/transactionActivityLogViewReducer.js +0 -54
  2146. package/lib/view/transactionActivityLogView/transactionActivityLogViewSelector.js +0 -37
  2147. package/lib/view/transactionActivityLogView/transactionActivityLogViewState.js +0 -2
  2148. package/lib/view/transactionDetail/createTransaction/createTransactionLocalDataHelper.js +0 -172
  2149. package/lib/view/transactionDetail/createTransaction/createTransactionPayload.js +0 -196
  2150. package/lib/view/transactionDetail/createTransaction/createTransactionSelector.js +0 -76
  2151. package/lib/view/transactionDetail/createTransaction/createTransactionState.js +0 -16
  2152. package/lib/view/transactionDetail/createTransaction/epics/createTransactionCompletedEpic.d.ts +0 -7
  2153. package/lib/view/transactionDetail/createTransaction/epics/createTransactionCompletedEpic.js +0 -26
  2154. package/lib/view/transactionDetail/createTransaction/epics/createTransactionEpic.js +0 -81
  2155. package/lib/view/transactionDetail/createTransaction/epics/fetchVendorRecommendationsForCreateTransactionEpic.js +0 -57
  2156. package/lib/view/transactionDetail/createTransaction/epics/initializeCreateTransactionLocalDataEpic.js +0 -14
  2157. package/lib/view/transactionDetail/epics/deleteTransactionAttachmentEpic.js +0 -45
  2158. package/lib/view/transactionDetail/epics/downloadAccountingProviderAttachmentEpic.js +0 -26
  2159. package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.js +0 -28
  2160. package/lib/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.js +0 -141
  2161. package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.js +0 -32
  2162. package/lib/view/transactionDetail/epics/saveTransactionHelper.js +0 -344
  2163. package/lib/view/transactionDetail/epics/transactionDetailEpic.js +0 -141
  2164. package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +0 -396
  2165. package/lib/view/transactionDetail/epics/uploadMissingAttachmentSuccessEpic.js +0 -20
  2166. package/lib/view/transactionDetail/filePayload.js +0 -2
  2167. package/lib/view/transactionDetail/getAccountingProviderAttachmentSelector.js +0 -12
  2168. package/lib/view/transactionDetail/journalEntryLinesViewModel.js +0 -220
  2169. package/lib/view/transactionDetail/transactionDetailLocalDataHelper.js +0 -1157
  2170. package/lib/view/transactionDetail/transactionDetailPayload.js +0 -2
  2171. package/lib/view/transactionDetail/transactionDetailReducer.js +0 -1084
  2172. package/lib/view/transactionDetail/transactionDetailSelector.js +0 -223
  2173. package/lib/view/transactionDetail/transactionDetailState.js +0 -77
  2174. package/lib/view/transactionDetail/transactionDetailTypes.js +0 -2
  2175. package/lib/view/transactionList/fetchTransactionListByAccountEpic.js +0 -58
  2176. package/lib/view/transactionList/fetchTransactionListByClassEpic.js +0 -53
  2177. package/lib/view/transactionList/fetchTransactionListByEntityEpic.js +0 -62
  2178. package/lib/view/transactionList/fetchTransactionListByProjectEpic.js +0 -52
  2179. package/lib/view/transactionList/fetchTransactionsListByCategoryTypeEpic.js +0 -71
  2180. package/lib/view/transactionList/filterTransactionsByTimePeriod.js +0 -22
  2181. package/lib/view/transactionList/parallelFetchAccountTransactionListEpic.js +0 -84
  2182. package/lib/view/transactionList/parallelFetchClassTransactionListEpic.js +0 -84
  2183. package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.js +0 -92
  2184. package/lib/view/transactionList/parallelFetchProjectTransactionListEpic.js +0 -36
  2185. package/lib/view/transactionList/parallelFetchTransactionListByCategoryTypeEpic.js +0 -36
  2186. package/lib/view/transactionList/reduceTransactionListFetchState.js +0 -56
  2187. package/lib/view/transactionList/transactionListByAccountSelector.js +0 -66
  2188. package/lib/view/transactionList/transactionListByCategoryTypeSelector.js +0 -55
  2189. package/lib/view/transactionList/transactionListByClassSelector.js +0 -67
  2190. package/lib/view/transactionList/transactionListByEntitySelector.js +0 -105
  2191. package/lib/view/transactionList/transactionListByProjectSelector.js +0 -67
  2192. package/lib/view/transactionList/transactionListPayload.js +0 -2
  2193. package/lib/view/transactionList/transactionListReducer.js +0 -489
  2194. package/lib/view/transactionList/transactionListState.js +0 -62
  2195. package/lib/view/trend/fetchExpenseTrendEpic.js +0 -58
  2196. package/lib/view/trend/fetchIncomeTrendEpic.js +0 -82
  2197. package/lib/view/trend/trendPayload.js +0 -2
  2198. package/lib/view/trend/trendReducer.js +0 -78
  2199. package/lib/view/trend/trendSelector.js +0 -139
  2200. package/lib/view/trend/trendState.js +0 -2
  2201. package/lib/view/trendWithTransactions/fetchTransactionsForEntityEpic.js +0 -18
  2202. package/lib/view/trendWithTransactions/fetchTrendForEntityEpic.js +0 -20
  2203. package/lib/view/trendWithTransactions/reduceTrendWithTransactionsState.js +0 -55
  2204. package/lib/view/trendWithTransactions/trendWithTransactionsReducer.js +0 -71
  2205. package/lib/view/trendWithTransactions/trendWithTransactionsSelector.js +0 -60
  2206. package/lib/view/trendWithTransactions/trendWithTransactionsState.js +0 -5
  2207. package/lib/view/twoFactorAuthentication/resendOtpEpic.js +0 -172
  2208. package/lib/view/twoFactorAuthentication/sendOtpEpic.js +0 -173
  2209. package/lib/view/twoFactorAuthentication/twoFactorAuthentication.js +0 -38
  2210. package/lib/view/twoFactorAuthentication/twoFactorAuthenticationPayload.js +0 -11
  2211. package/lib/view/twoFactorAuthentication/twoFactorAuthenticationReducer.js +0 -245
  2212. package/lib/view/twoFactorAuthentication/twoFactorAuthenticationSelector.js +0 -20
  2213. package/lib/view/twoFactorAuthentication/verifyOtpEpic.js +0 -157
  2214. package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.js +0 -52
  2215. package/lib/view/userFinancialAccount/userFinancialAccountPayload.js +0 -2
  2216. package/lib/view/userFinancialAccount/userFinancialAccountReducer.js +0 -96
  2217. package/lib/view/userFinancialAccount/userFinancialAccountSelector.js +0 -34
  2218. package/lib/view/userFinancialAccount/userFinancialAccountState.js +0 -2
  2219. package/lib/view/userGroupListView/userGroupListViewReducer.js +0 -72
  2220. package/lib/view/userGroupListView/userGroupListViewSelector.js +0 -25
  2221. package/lib/view/userGroupListView/userGroupListViewState.js +0 -2
  2222. package/lib/view/userListView/fetchUserListByTypeEpic.js +0 -91
  2223. package/lib/view/userListView/userListViewPayload.js +0 -2
  2224. package/lib/view/userListView/userListViewReducer.js +0 -85
  2225. package/lib/view/userListView/userListViewSelector.js +0 -38
  2226. package/lib/view/userListView/userListViewState.js +0 -2
  2227. package/lib/view/userRoleConfigView/userRoleConfigEpic.js +0 -36
  2228. package/lib/view/userRoleConfigView/userRoleConfigPayload.js +0 -2
  2229. package/lib/view/userRoleConfigView/userRoleConfigReducer.js +0 -47
  2230. package/lib/view/userRoleConfigView/userRoleConfigSelector.js +0 -12
  2231. package/lib/view/userRoleConfigView/userRoleConfigState.js +0 -2
  2232. package/lib/view/vendor1099TypeList/vendor1099TypeListEpic.js +0 -23
  2233. package/lib/view/vendor1099TypeList/vendor1099TypeListPayload.js +0 -2
  2234. package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.js +0 -54
  2235. package/lib/view/vendor1099TypeList/vendor1099TypeListState.js +0 -2
  2236. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099DownloadMock.js +0 -95
  2237. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListMock.js +0 -209
  2238. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListSelectorMock.js +0 -46
  2239. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.js +0 -158
  2240. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.js +0 -30
  2241. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099DownloadEpic.js +0 -49
  2242. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099ListEpic.js +0 -41
  2243. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListPayload.js +0 -2
  2244. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +0 -135
  2245. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector.js +0 -88
  2246. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.js +0 -13
  2247. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsPayload.js +0 -55
  2248. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +0 -219
  2249. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSaveEpic.js +0 -58
  2250. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSelector.js +0 -16
  2251. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsState.js +0 -2
  2252. package/lib/view/vendorList/fetchVendorsListEpic.js +0 -97
  2253. package/lib/view/vendorList/vendorListPayload.js +0 -2
  2254. package/lib/view/vendorList/vendorListReducer.js +0 -155
  2255. package/lib/view/vendorList/vendorListSelector.js +0 -91
  2256. package/lib/view/vendorList/vendorListState.js +0 -2
  2257. package/lib/view/vendorReviewView/common/payload/commonTypes.js +0 -94
  2258. package/lib/view/vendorReviewView/common/payload/commonTypesPayloadShapes.js +0 -2
  2259. package/lib/view/vendorReviewView/common/state/commonTypes.js +0 -90
  2260. package/lib/view/vendorReviewView/common/state/recommendedNonExistingGlobalMerchant.js +0 -2
  2261. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewAttachmentsEpic.js +0 -37
  2262. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewViewEpic.js +0 -94
  2263. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorDetailsViewEpic.js +0 -61
  2264. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +0 -254
  2265. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewPayload.js +0 -29
  2266. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +0 -346
  2267. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.js +0 -126
  2268. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.js +0 -15
  2269. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/approveVendorGlobalReviewEpic.js +0 -149
  2270. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic.js +0 -96
  2271. package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/rejectVendorGlobalReviewEpic.js +0 -94
  2272. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.js +0 -12
  2273. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.js +0 -266
  2274. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.js +0 -60
  2275. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.js +0 -12
  2276. package/lib/view/vendorTabView/fetchVendorTabViewEpic.js +0 -75
  2277. package/lib/view/vendorTabView/vendorTabViewReducer.js +0 -58
  2278. package/lib/view/vendorTabView/vendorTabViewSelector.js +0 -15
  2279. package/lib/view/vendorTabView/vendorTabViewState.js +0 -14
  2280. package/lib/view/vendorTypeList/vendorTypeListEpic.js +0 -23
  2281. package/lib/view/vendorTypeList/vendorTypeListPayload.js +0 -2
  2282. package/lib/view/vendorTypeList/vendorTypeListReducer.js +0 -40
  2283. package/lib/view/vendorTypeList/vendorTypeListState.js +0 -2
  2284. package/lib/view/vendorTypeList/vendorTypeSelector.js +0 -1
  2285. package/lib/view/zeniAccStatementList/fetchZeniAccStatementListEpic.js +0 -36
  2286. package/lib/view/zeniAccStatementList/fetchZeniAccStatementPageEpic.js +0 -37
  2287. package/lib/view/zeniAccStatementList/zeniAccStatementList.js +0 -11
  2288. package/lib/view/zeniAccStatementList/zeniAccStatementListPayload.js +0 -2
  2289. package/lib/view/zeniAccStatementList/zeniAccStatementListReducer.js +0 -85
  2290. package/lib/view/zeniAccStatementList/zeniAccStatementListSelector.js +0 -39
  2291. package/lib/view/zeniOAuthView/epics/approveOAuthConsentEpic.js +0 -69
  2292. package/lib/view/zeniOAuthView/zeniOAuthParamsParser.js +0 -44
  2293. package/lib/view/zeniOAuthView/zeniOAuthReducer.js +0 -57
  2294. package/lib/view/zeniOAuthView/zeniOAuthSelector.js +0 -9
  2295. package/lib/view/zeniOAuthView/zeniOAuthState.js +0 -2
  2296. package/lib/zeniAPI.js +0 -207
  2297. package/lib/zeniAPIClientState.js +0 -7
  2298. package/lib/zeniAPIStatus.js +0 -29
  2299. package/lib/zeniDayJS.js +0 -169
  2300. package/lib/zeniUrl.js +0 -19
@@ -1,1223 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- var _a;
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.fetchSubscriptionSummaryForTenant = exports.deleteConnectionFailure = exports.deleteConnectionSuccess = exports.deleteConnection = exports.initEmailConnectOAuthFailure = exports.initEmailConnectOAuthSuccess = exports.initEmailConnectOAuth = exports.saveConnectorCredentialsFailure = exports.saveConnectorCredentialsSuccess = exports.saveConnectorCredentials = exports.saveOAuthConnectionFailure = exports.saveOAuthConnectionSuccess = exports.saveOAuthConnection = exports.saveAPIKeyConnectionFailure = exports.saveAPIKeyConnectionSuccess = exports.saveAPIKeyConnection = exports.fetchExternalConnectionsSuccess = exports.fetchExternalConnectionsFailure = exports.saveExternalConnectionFailure = exports.saveExternalConnectionSuccess = exports.saveExternalConnection = exports.fetchExternalConnections = exports.updateLoggedInUser = exports.sessionHeartbeatFailure = exports.sessionHeartbeatSuccess = exports.sendSessionHeartbeat = exports.signOutSuccess = exports.doSignOut = exports.updateSignInState = exports.sendEmailMagicLinkToUserFailure = exports.sendEmailMagicLinkToUserSuccess = exports.sendEmailMagicLinkToUser = exports.magicLinkSignInFailure = exports.magicLinkSignInSuccess = exports.doMagicLinkSignIn = exports.doSignIn = exports.updateExcludedResourcesFailure = exports.updateExcludedResourcesSuccess = exports.fetchExcludedResources = exports.updateCurrentTenant = exports.updateTenantFailure = exports.updateTenantSuccess = exports.fetchActiveTenant = exports.updateTenantsFailure = exports.seedTenantSummary = exports.updateTenantSummariesSuccess = exports.fetchAllTenants = exports.updateTenants = exports.initialState = exports.toExternalIntegrationType = void 0;
8
- exports.toConnection = exports.toRoleResource = exports.resendVerifyDeviceOTPFailure = exports.resendVerifyDeviceOTPSuccess = exports.resendVerifyDeviceOTP = exports.updateTreasuryPromoIntroClosedByOutsideClickForLoggedInUser = exports.updateTreasuryPromoRemindMeLaterClickedForLoggedInUser = exports.updateTreasuryVideoViewedForLoggedInUser = exports.verifyDeviceWithTwoFAFailure = exports.verifyDeviceWithTwoFASuccess = exports.verifyDeviceWithTwoFA = exports.updateTenantMasterTOSInfo = exports.updateTenantCapitalizationAccountOverride = exports.updateTenantCapitalizationOnboardingDismissed = exports.updateTenantProductSettings = exports.updateTenantCustomersTabSetting = exports.updateTenantAutoReviewIncomeWithoutCustomer = exports.updateTenantAccountingProjectsEnabled = exports.updateTenantAccountingClassesEnabled = exports.trigger2FA = exports.resetSignInState = exports.updateReferViewedForLoggedInUser = exports.updateTenantReimbursementInfo = exports.removeOnboardingTenant = exports.updateOnboardingTenants = exports.updateSubscriptionSummaryForTenantFailure = exports.updateSubscriptionSummaryForTenantSuccess = void 0;
9
- exports.mapCapitalizableAccountsPayload = mapCapitalizableAccountsPayload;
10
- exports.mapConnectionsPayloadToState = mapConnectionsPayloadToState;
11
- const toolkit_1 = require("@reduxjs/toolkit");
12
- const js_base64_1 = require("js-base64");
13
- const assignWith_1 = __importDefault(require("lodash/assignWith"));
14
- const urlPayload_1 = require("../../commonPayloadTypes/urlPayload");
15
- const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
16
- const timePeriod_1 = require("../../commonStateTypes/timePeriod");
17
- const rootActions_1 = require("../../rootActions");
18
- const netBurnOrIncomeStoryCardSelectorTypes_1 = require("../../view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes");
19
- const netBurnOrIncomeStoryCardState_1 = require("../../view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState");
20
- const zeniDayJS_1 = require("../../zeniDayJS");
21
- const subscriptionSummaryReducer_1 = require("../subscription/subscriptionSummary/subscriptionSummaryReducer");
22
- const userRolePayload_1 = require("../userRole/userRolePayload");
23
- const EXTERNAL_INTEGRATION_TYPES = ['revenue', 'payments', 'email'];
24
- const toExternalIntegrationType = (v) => (0, stringToUnion_1.stringToUnion)(v, EXTERNAL_INTEGRATION_TYPES);
25
- exports.toExternalIntegrationType = toExternalIntegrationType;
26
- exports.initialState = {
27
- fetchState: 'Not-Started',
28
- error: undefined,
29
- accountLocked: false,
30
- tenantsById: {},
31
- tenantSummariesById: {},
32
- onboardingTenantsById: {},
33
- tenantIds: [],
34
- signInState: 'Not-Started',
35
- loggedInUser: undefined,
36
- currentTenantId: undefined,
37
- excludedResourcesByTenant: {},
38
- externalConnectionsByTenant: {},
39
- subscriptionSummaryByTenant: {},
40
- activeTenantFetchState: {
41
- fetchState: 'Not-Started',
42
- error: undefined,
43
- },
44
- sendEmailMagicLinkFetchState: {
45
- fetchState: 'Not-Started',
46
- error: undefined,
47
- },
48
- magicLinkSignInFetchState: {
49
- fetchState: 'Not-Started',
50
- error: undefined,
51
- },
52
- verifyDeviceFetchState: {
53
- fetchState: 'Not-Started',
54
- error: undefined,
55
- },
56
- resendVerifyDeviceOTPFetchState: {
57
- fetchState: 'Not-Started',
58
- error: undefined,
59
- },
60
- magicLinkEmail: undefined,
61
- magicLinkCodeVerifier: undefined,
62
- otpChallenge: undefined,
63
- twoFAPhoneNumber: undefined,
64
- accountLockTime: undefined,
65
- accountUnlockTime: undefined,
66
- hasValidState() {
67
- return this.fetchState == 'Completed' && this.tenantIds.length > 0;
68
- },
69
- };
70
- const tenant = (0, toolkit_1.createSlice)({
71
- name: 'tenant',
72
- initialState: exports.initialState,
73
- reducers: {
74
- updateTenants: {
75
- prepare(tenants, userTenantPayload, tenantUpdated = false) {
76
- return { payload: { tenants, userTenantPayload, tenantUpdated } };
77
- },
78
- reducer(draft, action) {
79
- action.payload.tenants.forEach((tenantPayload) => {
80
- const tenantInStore = draft.tenantsById[tenantPayload.tenant_id];
81
- const newTenant = mapTenantPayloadToTenant(tenantPayload, action.payload.userTenantPayload);
82
- if (tenantInStore == null ||
83
- (newTenant != null && action.payload.tenantUpdated)) {
84
- // Note: If tenant data already exists, save it if the new data is the latest one.
85
- // we dont want to overwrite the user related data since that has not come in the output
86
- const merged = applyTreasuryPromoUserFieldsFromPayload(tenantInStore, {
87
- ...newTenant,
88
- rewardsLastViewedTime: tenantInStore?.rewardsLastViewedTime,
89
- }, action.payload.userTenantPayload ?? {
90
- rewards_feature_last_viewed_time: null,
91
- });
92
- draft.tenantsById[tenantPayload.tenant_id] = {
93
- ...merged,
94
- capitalizableAccountOverrides: merged.capitalizableAccountOverrides ??
95
- tenantInStore?.capitalizableAccountOverrides ??
96
- null,
97
- capitalizationOnboardingDismissedAccounts: merged.capitalizationOnboardingDismissedAccounts ??
98
- tenantInStore?.capitalizationOnboardingDismissedAccounts ??
99
- null,
100
- };
101
- }
102
- });
103
- },
104
- },
105
- updateOnboardingTenants: {
106
- prepare(tenants, tenantUpdated = false) {
107
- return { payload: { tenants, tenantUpdated } };
108
- },
109
- reducer(draft, action) {
110
- action.payload.tenants.forEach((tenantPayload) => {
111
- const tenantInStore = draft.onboardingTenantsById[tenantPayload.tenant_id];
112
- const newTenant = mapTenantPayloadToTenant(tenantPayload);
113
- if (tenantInStore == null ||
114
- (newTenant != null && action.payload.tenantUpdated)) {
115
- // Note: If tenant data already exists, save it if the new data is the latest one.
116
- // we dont want to overwrite the user related data since that has not come in the output
117
- draft.onboardingTenantsById[tenantPayload.tenant_id] = newTenant;
118
- }
119
- });
120
- },
121
- },
122
- updateTenantSummariesSuccess(draft, action) {
123
- draft.fetchState = 'Completed';
124
- draft.error = undefined;
125
- const tenantSummariesById = {};
126
- action.payload.forEach((payload) => {
127
- tenantSummariesById[payload.tenant_id] =
128
- mapTenantSummaryPayloadToTenantSummary(payload);
129
- });
130
- draft.tenantIds = Object.keys(tenantSummariesById);
131
- // A tenant missing from the list is no longer accessible to the user,
132
- // except the open one: the list hides companies by status, and the
133
- // selected tenant's record was loaded for it on its own. Its summary
134
- // stays too (outside `tenantIds`, so not in the switcher), so its ids
135
- // are still known while its record loads.
136
- const { currentTenantId } = draft;
137
- const currentTenantSummary = currentTenantId != null
138
- ? draft.tenantSummariesById[currentTenantId]
139
- : undefined;
140
- if (currentTenantId != null &&
141
- currentTenantSummary != null &&
142
- tenantSummariesById[currentTenantId] == null) {
143
- tenantSummariesById[currentTenantId] = currentTenantSummary;
144
- }
145
- draft.tenantSummariesById = tenantSummariesById;
146
- const accessibleTenantsById = {};
147
- Object.values(draft.tenantsById).forEach((tenant) => {
148
- if (tenantSummariesById[tenant.tenantId] != null ||
149
- tenant.tenantId === draft.currentTenantId) {
150
- accessibleTenantsById[tenant.tenantId] = tenant;
151
- }
152
- });
153
- draft.tenantsById = accessibleTenantsById;
154
- },
155
- updateTenantsFailure(draft, action) {
156
- draft.fetchState = 'Error';
157
- draft.signInState = 'Error';
158
- draft.error = action.payload;
159
- draft.tenantIds = [];
160
- draft.tenantsById = {};
161
- draft.tenantSummariesById = {};
162
- },
163
- updateTenantSuccess(draft, action) {
164
- const { tenants, user } = action.payload;
165
- draft.activeTenantFetchState.fetchState = 'Completed';
166
- draft.activeTenantFetchState.error = undefined;
167
- const [tenantsbyId, tenantIds, firstUser] = mapTenantsPayloadToState(tenants, user);
168
- tenantIds.forEach((tenantId) => {
169
- const existingTenant = draft.tenantsById[tenantId];
170
- if (existingTenant != null) {
171
- tenantsbyId[tenantId].capitalizableAccountOverrides =
172
- tenantsbyId[tenantId].capitalizableAccountOverrides ??
173
- existingTenant.capitalizableAccountOverrides;
174
- tenantsbyId[tenantId].capitalizationOnboardingDismissedAccounts =
175
- tenantsbyId[tenantId].capitalizationOnboardingDismissedAccounts ??
176
- existingTenant.capitalizationOnboardingDismissedAccounts;
177
- }
178
- });
179
- draft.tenantsById = { ...draft.tenantsById, ...tenantsbyId };
180
- draft.tenantIds = [...new Set([...draft.tenantIds, ...tenantIds])];
181
- draft.loggedInUser = (0, assignWith_1.default)(draft.loggedInUser ?? {}, firstUser, (objValue, srcValue) => srcValue ?? objValue);
182
- },
183
- updateTenantAccountingClassesEnabled(draft, action) {
184
- const { tenantId, enabled } = action.payload;
185
- if (draft.tenantsById[tenantId] != null) {
186
- draft.tenantsById[tenantId].isAccountingClassesEnabled = enabled;
187
- }
188
- },
189
- updateTenantAccountingProjectsEnabled(draft, action) {
190
- const { tenantId, enabled } = action.payload;
191
- if (draft.tenantsById[tenantId] != null) {
192
- draft.tenantsById[tenantId].isAccountingProjectsEnabled = enabled;
193
- }
194
- },
195
- updateTenantAutoReviewIncomeWithoutCustomer(draft, action) {
196
- const { tenantId, enabled } = action.payload;
197
- if (draft.tenantsById[tenantId] != null) {
198
- draft.tenantsById[tenantId].isAutoReviewIncomeWithoutCustomerEnabled =
199
- enabled;
200
- }
201
- },
202
- updateTenantCustomersTabSetting(draft, action) {
203
- const { tenantId, setting, enabled } = action.payload;
204
- const tenant = draft.tenantsById[tenantId];
205
- if (tenant != null) {
206
- tenant.customersTabSettings[setting] = enabled;
207
- }
208
- },
209
- // Optimistic per-key merge of the product-family flags after a cockpit
210
- // "enable services" write succeeds. Only the provided keys are applied so
211
- // other product settings are preserved.
212
- // Bookkeeping/spend only — bill pay & reimbursement are Company feature flags, not tenant product settings.
213
- updateTenantProductSettings(draft, action) {
214
- const { tenantId, isBookkeepingEnabled, isSpendManagementEnabled } = action.payload;
215
- const tenant = draft.tenantsById[tenantId];
216
- // No-op when productSettings isn't loaded (partial cockpit projection); UI relies on the next tenant fetch.
217
- if (tenant == null || tenant.productSettings == null) {
218
- return;
219
- }
220
- if (isBookkeepingEnabled != null) {
221
- tenant.productSettings.isBookkeepingEnabled = isBookkeepingEnabled;
222
- }
223
- if (isSpendManagementEnabled != null) {
224
- tenant.productSettings.isSpendManagementEnabled =
225
- isSpendManagementEnabled;
226
- }
227
- },
228
- // Optimistic per-key merge: assumes the backend PATCH merges
229
- // capitalizable_account_overrides by key rather than replacing the whole field.
230
- updateTenantCapitalizationAccountOverride(draft, action) {
231
- const { tenantId, accountId, threshold, allOverrides } = action.payload;
232
- if (draft.tenantsById[tenantId] != null) {
233
- if (allOverrides !== undefined) {
234
- draft.tenantsById[tenantId].capitalizableAccountOverrides =
235
- allOverrides != null && Object.keys(allOverrides).length > 0
236
- ? allOverrides
237
- : null;
238
- }
239
- else {
240
- const currentOverrides = draft.tenantsById[tenantId].capitalizableAccountOverrides ?? {};
241
- if (threshold === null) {
242
- delete currentOverrides[accountId];
243
- }
244
- else {
245
- currentOverrides[accountId] = threshold;
246
- }
247
- draft.tenantsById[tenantId].capitalizableAccountOverrides =
248
- Object.keys(currentOverrides).length > 0 ? currentOverrides : null;
249
- }
250
- }
251
- },
252
- updateTenantCapitalizationOnboardingDismissed(draft, action) {
253
- const { tenantId, accountId } = action.payload;
254
- if (draft.tenantsById[tenantId] != null) {
255
- const existing = draft.tenantsById[tenantId]
256
- .capitalizationOnboardingDismissedAccounts ?? {};
257
- existing[accountId] = true;
258
- draft.tenantsById[tenantId].capitalizationOnboardingDismissedAccounts =
259
- existing;
260
- }
261
- },
262
- updateTenantMasterTOSInfo(draft, action) {
263
- const { tenant_id, user_role_id, master_tos_info } = action.payload;
264
- if (draft.tenantsById[tenant_id] != null &&
265
- user_role_id != null &&
266
- master_tos_info != null) {
267
- draft.tenantsById[tenant_id].masterTOSInfo =
268
- (0, userRolePayload_1.toMasterTOSInfo)(master_tos_info);
269
- }
270
- },
271
- updateTenantFailure(draft, action) {
272
- draft.activeTenantFetchState.fetchState = 'Error';
273
- draft.activeTenantFetchState.error = action.payload;
274
- draft.signInState = 'Error';
275
- draft.tenantIds = [];
276
- draft.tenantsById = {};
277
- draft.tenantSummariesById = {};
278
- },
279
- updateTenantReimbursementInfo(draft, action) {
280
- const { tenant_id, reimbursement_info } = action.payload;
281
- if (draft.tenantsById[tenant_id] != null && reimbursement_info != null) {
282
- draft.tenantsById[tenant_id].userReimbursementInfo =
283
- (0, userRolePayload_1.toUserReimbursementInfo)(reimbursement_info);
284
- }
285
- },
286
- fetchAllTenants: {
287
- prepare(userId, zeniSessionId) {
288
- return { payload: { userId, zeniSessionId } };
289
- },
290
- reducer(draft) {
291
- draft.fetchState = 'In-Progress';
292
- draft.error = undefined;
293
- },
294
- },
295
- fetchActiveTenant: {
296
- prepare(userId, tenantId, zeniSessionId) {
297
- return { payload: { userId, tenantId, zeniSessionId } };
298
- },
299
- reducer(draft) {
300
- draft.activeTenantFetchState.fetchState = 'In-Progress';
301
- draft.activeTenantFetchState.error = undefined;
302
- },
303
- },
304
- updateCurrentTenant(draft, action) {
305
- draft.currentTenantId = action.payload;
306
- },
307
- /**
308
- * Records a tenant's ids known before the tenants list loads (the app's
309
- * cached tenant list), so `getCurrentTenantIds` has them from the first
310
- * render. The list is not changed and its own entries win.
311
- */
312
- seedTenantSummary(draft, action) {
313
- const { companyId, tenantEmailDomain, tenantId, tenantName } = action.payload;
314
- if (draft.tenantSummariesById[tenantId] == null) {
315
- draft.tenantSummariesById[tenantId] = {
316
- companyId,
317
- companyName: tenantName ?? '',
318
- tenantEmailDomain,
319
- tenantId,
320
- // Not in `tenantIds`, so it is never ordered or listed.
321
- userLastCheckInTime: (0, zeniDayJS_1.date)('1970-01-01'),
322
- };
323
- }
324
- },
325
- fetchExcludedResources: {
326
- prepare(userId, tenantId) {
327
- return { payload: { userId, tenantId } };
328
- },
329
- reducer(draft, action) {
330
- draft.excludedResourcesByTenant[action.payload.tenantId] = {
331
- fetchState: 'In-Progress',
332
- resources: [],
333
- error: undefined,
334
- };
335
- },
336
- },
337
- updateExcludedResourcesSuccess: {
338
- prepare(tenantId, excludedResources) {
339
- return { payload: { tenantId, excludedResources } };
340
- },
341
- reducer(draft, action) {
342
- draft.excludedResourcesByTenant[action.payload.tenantId] = {
343
- fetchState: 'Completed',
344
- resources: action.payload.excludedResources.map((payload) => (0, exports.toRoleResource)(payload)),
345
- error: undefined,
346
- };
347
- },
348
- },
349
- updateExcludedResourcesFailure: {
350
- prepare(tenantId, status) {
351
- return { payload: { tenantId, status } };
352
- },
353
- reducer(draft, action) {
354
- const { tenantId, status } = action.payload;
355
- draft.excludedResourcesByTenant[tenantId] = {
356
- fetchState: 'Error',
357
- resources: [],
358
- error: status,
359
- };
360
- },
361
- },
362
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
363
- doSignIn(draft, _) {
364
- draft.fetchState = 'In-Progress';
365
- draft.signInState = 'In-Progress';
366
- draft.error = undefined;
367
- },
368
- sendEmailMagicLinkToUser: {
369
- prepare(email, deviceId) {
370
- return { payload: { email, deviceId } };
371
- },
372
- reducer(draft, action) {
373
- draft.sendEmailMagicLinkFetchState.fetchState = 'In-Progress';
374
- draft.sendEmailMagicLinkFetchState.error = undefined;
375
- draft.magicLinkEmail = action.payload.email;
376
- },
377
- },
378
- sendEmailMagicLinkToUserSuccess: {
379
- prepare(codeVerifier) {
380
- return { payload: { codeVerifier } };
381
- },
382
- reducer(draft, action) {
383
- const { codeVerifier } = action.payload;
384
- draft.sendEmailMagicLinkFetchState.fetchState = 'Completed';
385
- draft.sendEmailMagicLinkFetchState.error = undefined;
386
- draft.magicLinkCodeVerifier = codeVerifier;
387
- },
388
- },
389
- // accept account lock time and unlock time in the payload in sendEmailMagicLinkToUserFailure function
390
- sendEmailMagicLinkToUserFailure(draft, action) {
391
- const { error, accountLockTime, accountUnlockTime, isAccountLocked } = action.payload;
392
- draft.sendEmailMagicLinkFetchState.fetchState = 'Error';
393
- draft.sendEmailMagicLinkFetchState.error = error;
394
- draft.accountLockTime =
395
- accountLockTime != null ? (0, zeniDayJS_1.date)(accountLockTime) : undefined;
396
- draft.accountUnlockTime =
397
- accountUnlockTime != null ? (0, zeniDayJS_1.date)(accountUnlockTime) : undefined;
398
- draft.accountLocked = isAccountLocked ?? false;
399
- },
400
- doMagicLinkSignIn: {
401
- prepare(token, deviceId, magicLinkCodeVerifier) {
402
- return {
403
- payload: { token, deviceId, magicLinkCodeVerifier },
404
- };
405
- },
406
- reducer(draft) {
407
- draft.magicLinkSignInFetchState.fetchState = 'In-Progress';
408
- draft.magicLinkSignInFetchState.error = undefined;
409
- draft.signInState = 'In-Progress';
410
- },
411
- },
412
- magicLinkSignInSuccess: {
413
- prepare(userId, sessionId) {
414
- return { payload: { userId, sessionId } };
415
- },
416
- reducer(draft, action) {
417
- const { userId, sessionId } = action.payload;
418
- draft.fetchState = 'In-Progress'; // Why in progress ? Sign in is complete only after tenants are retrieved successfully.
419
- draft.error = undefined;
420
- draft.magicLinkSignInFetchState.fetchState = 'Completed';
421
- draft.magicLinkSignInFetchState.error = undefined;
422
- draft.loggedInUser = (0, assignWith_1.default)(draft.loggedInUser ?? {}, {
423
- userId: userId,
424
- zeniSessionId: sessionId,
425
- }, (objValue, srcValue) => srcValue ?? objValue);
426
- },
427
- },
428
- magicLinkSignInFailure(draft, action) {
429
- draft.magicLinkSignInFetchState.fetchState = 'Error';
430
- draft.magicLinkSignInFetchState.error = action.payload;
431
- draft.signInState = 'Error';
432
- },
433
- resendVerifyDeviceOTP: {
434
- prepare(deviceId, magicLinkEmail, otpChallenge) {
435
- return { payload: { deviceId, magicLinkEmail, otpChallenge } };
436
- },
437
- reducer(draft) {
438
- draft.resendVerifyDeviceOTPFetchState.fetchState = 'In-Progress';
439
- draft.resendVerifyDeviceOTPFetchState.error = undefined;
440
- },
441
- },
442
- resendVerifyDeviceOTPSuccess: {
443
- prepare(otpChallenge, userEmail, twoFAPhoneNumber) {
444
- return { payload: { otpChallenge, userEmail, twoFAPhoneNumber } };
445
- },
446
- reducer(draft, action) {
447
- const { otpChallenge, userEmail, twoFAPhoneNumber } = action.payload;
448
- draft.resendVerifyDeviceOTPFetchState.fetchState = 'Completed';
449
- draft.resendVerifyDeviceOTPFetchState.error = undefined;
450
- draft.otpChallenge = otpChallenge;
451
- draft.twoFAPhoneNumber = twoFAPhoneNumber;
452
- draft.magicLinkEmail = userEmail;
453
- },
454
- },
455
- resendVerifyDeviceOTPFailure(draft, action) {
456
- draft.resendVerifyDeviceOTPFetchState.fetchState = 'Error';
457
- draft.resendVerifyDeviceOTPFetchState.error = action.payload;
458
- },
459
- updateSignInState(draft, action) {
460
- draft.signInState = action.payload;
461
- },
462
- updateLoggedInUser: {
463
- prepare(userPayload, zeniSessionId, authProvider) {
464
- return { payload: { userPayload, zeniSessionId, authProvider } };
465
- },
466
- reducer(draft, action) {
467
- draft.fetchState = 'In-Progress'; // Why in progress ? Sign in is complete only after tenants are retrieved successfully.
468
- draft.error = undefined;
469
- const user = mapLoggedInUserPayloadToLoggedInUser(action.payload.userPayload, action.payload.zeniSessionId, action.payload.authProvider);
470
- draft.loggedInUser = (0, assignWith_1.default)(draft.loggedInUser ?? {}, user, (objValue, srcValue) => srcValue ?? objValue);
471
- },
472
- },
473
- fetchExternalConnections: {
474
- prepare(userId, tenantId) {
475
- return { payload: { userId, tenantId } };
476
- },
477
- reducer(draft, action) {
478
- draft.externalConnectionsByTenant[action.payload.tenantId] = {
479
- fetchState: 'In-Progress',
480
- accounting: [],
481
- email: [],
482
- payments: [],
483
- revenue: [],
484
- saveConnectionState: 'Not-Started',
485
- saveAPIKeyConnectionState: 'Not-Started',
486
- saveConnectorCredentialsStateBySlug: {},
487
- saveConnectorCredentialsErrorBySlug: {},
488
- saveOAuthConnectionState: 'Not-Started',
489
- deleteConnectionState: 'Not-Started',
490
- error: undefined,
491
- };
492
- },
493
- },
494
- fetchExternalConnectionsSuccess: {
495
- prepare(tenantId, externalConnections) {
496
- return { payload: { tenantId, externalConnections } };
497
- },
498
- reducer(draft, action) {
499
- const { accounting, email, payments, revenue } = mapConnectionsPayloadToState(action.payload.externalConnections);
500
- draft.externalConnectionsByTenant[action.payload.tenantId] = {
501
- fetchState: 'Completed',
502
- accounting,
503
- email,
504
- payments,
505
- revenue,
506
- saveConnectionState: 'Completed',
507
- saveAPIKeyConnectionState: 'Not-Started',
508
- saveConnectorCredentialsStateBySlug: {},
509
- saveConnectorCredentialsErrorBySlug: {},
510
- saveOAuthConnectionState: 'Not-Started',
511
- deleteConnectionState: 'Not-Started',
512
- error: undefined,
513
- };
514
- },
515
- },
516
- fetchExternalConnectionsFailure: {
517
- prepare(tenantId, status) {
518
- return { payload: { tenantId, status } };
519
- },
520
- reducer(draft, action) {
521
- const { tenantId, status } = action.payload;
522
- draft.externalConnectionsByTenant[tenantId] = {
523
- fetchState: 'Error',
524
- accounting: [],
525
- email: [],
526
- payments: [],
527
- revenue: [],
528
- saveConnectionState: 'Error',
529
- saveAPIKeyConnectionState: 'Not-Started',
530
- saveConnectorCredentialsStateBySlug: {},
531
- saveConnectorCredentialsErrorBySlug: {},
532
- saveOAuthConnectionState: 'Not-Started',
533
- deleteConnectionState: 'Not-Started',
534
- error: status,
535
- };
536
- },
537
- },
538
- saveExternalConnection: {
539
- prepare(tenantId, connectionMeta, redirectUri, companyId, userId) {
540
- return {
541
- payload: { tenantId, connectionMeta, redirectUri, companyId, userId },
542
- };
543
- },
544
- reducer(draft, action) {
545
- if (draft.externalConnectionsByTenant[action.payload.tenantId] != null) {
546
- draft.externalConnectionsByTenant[action.payload.tenantId] =
547
- Object.assign({}, draft.externalConnectionsByTenant[action.payload.tenantId], { saveConnectionState: 'In-Progress' });
548
- }
549
- },
550
- },
551
- saveExternalConnectionSuccess: {
552
- prepare(tenantId, connectionPayload) {
553
- return { payload: { tenantId, connectionPayload } };
554
- },
555
- reducer(draft, action) {
556
- draft.externalConnectionsByTenant[action.payload.tenantId] =
557
- Object.assign({}, draft.externalConnectionsByTenant[action.payload.tenantId], {
558
- fetchState: 'Completed',
559
- accounting: [(0, exports.toConnection)(action.payload.connectionPayload)],
560
- saveConnectionState: 'Completed',
561
- error: undefined,
562
- });
563
- },
564
- },
565
- saveExternalConnectionFailure: {
566
- prepare(tenantId, status) {
567
- return { payload: { tenantId, status } };
568
- },
569
- reducer(draft, action) {
570
- const { tenantId, status } = action.payload;
571
- draft.externalConnectionsByTenant[tenantId] = Object.assign({}, draft.externalConnectionsByTenant[tenantId], {
572
- fetchState: 'Error',
573
- accounting: [],
574
- saveConnectionState: 'Error',
575
- error: status,
576
- });
577
- },
578
- },
579
- saveAPIKeyConnection: {
580
- prepare(tenantId, connectionId, connectionType, connectionName, credentials) {
581
- return {
582
- payload: {
583
- tenantId,
584
- connectionId,
585
- connectionType,
586
- connectionName,
587
- credentials,
588
- },
589
- };
590
- },
591
- reducer(draft, action) {
592
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
593
- if (existing != null) {
594
- existing.saveAPIKeyConnectionState = 'In-Progress';
595
- existing.saveAPIKeyConnectionError = undefined;
596
- }
597
- },
598
- },
599
- saveAPIKeyConnectionSuccess: {
600
- prepare(tenantId, connectionType, connectionPayload) {
601
- return { payload: { tenantId, connectionType, connectionPayload } };
602
- },
603
- reducer(draft, action) {
604
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
605
- if (existing != null) {
606
- existing.saveAPIKeyConnectionState = 'Completed';
607
- // Upsert by connection_name — replacing the whole array would wipe
608
- // sibling connectors in the same bucket (e.g. saving ChargeBee under
609
- // 'revenue' must not drop the HubSpot row that lives there too).
610
- // Lazily initialize the bucket if a save lands before
611
- // fetchExternalConnections{,Success} hydrated it (or after a
612
- // rehydration with a stale shape).
613
- if (existing[action.payload.connectionType] == null) {
614
- existing[action.payload.connectionType] = [];
615
- }
616
- replaceOrAppendConnectionByName(existing[action.payload.connectionType], (0, exports.toConnection)(action.payload.connectionPayload));
617
- existing.saveAPIKeyConnectionError = undefined;
618
- }
619
- },
620
- },
621
- saveAPIKeyConnectionFailure: {
622
- prepare(tenantId, status) {
623
- return { payload: { tenantId, status } };
624
- },
625
- reducer(draft, action) {
626
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
627
- if (existing != null) {
628
- existing.saveAPIKeyConnectionState = 'Error';
629
- existing.saveAPIKeyConnectionError = action.payload.status;
630
- }
631
- },
632
- },
633
- saveOAuthConnection: {
634
- prepare(tenantId, connectionId, connectionType, connectionName, credentials) {
635
- return {
636
- payload: {
637
- tenantId,
638
- connectionId,
639
- connectionType,
640
- connectionName,
641
- credentials,
642
- },
643
- };
644
- },
645
- reducer(draft, action) {
646
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
647
- if (existing != null) {
648
- existing.saveOAuthConnectionState = 'In-Progress';
649
- existing.saveOAuthConnectionError = undefined;
650
- }
651
- },
652
- },
653
- saveOAuthConnectionSuccess: {
654
- prepare(tenantId, connectionType, connectionPayload) {
655
- return { payload: { tenantId, connectionType, connectionPayload } };
656
- },
657
- reducer(draft, action) {
658
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
659
- if (existing != null) {
660
- existing.saveOAuthConnectionState = 'Completed';
661
- // See saveAPIKeyConnectionSuccess — upsert, do not replace, and
662
- // lazy-init the bucket in case it isn't hydrated yet.
663
- if (existing[action.payload.connectionType] == null) {
664
- existing[action.payload.connectionType] = [];
665
- }
666
- replaceOrAppendConnectionByName(existing[action.payload.connectionType], (0, exports.toConnection)(action.payload.connectionPayload));
667
- existing.saveOAuthConnectionError = undefined;
668
- }
669
- },
670
- },
671
- saveOAuthConnectionFailure: {
672
- prepare(tenantId, status) {
673
- return { payload: { tenantId, status } };
674
- },
675
- reducer(draft, action) {
676
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
677
- if (existing != null) {
678
- existing.saveOAuthConnectionState = 'Error';
679
- existing.saveOAuthConnectionError = action.payload.status;
680
- }
681
- },
682
- },
683
- // saveConnectorCredentials — generic save action backing the new
684
- // POST /1.0/connectors/<slug>/credentials endpoint. Used by Phase 1
685
- // connectors (Stripe + Mercury api_key, PayPal client_credentials).
686
- // ChargeBee + HubSpot continue using the legacy saveAPIKeyConnection /
687
- // saveOAuthConnection actions that POST to /1.0/connections/<id>.
688
- saveConnectorCredentials: {
689
- prepare(tenantId, connectionType, args) {
690
- return {
691
- payload: { tenantId, connectionType, ...args },
692
- };
693
- },
694
- reducer(draft, action) {
695
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
696
- if (existing != null) {
697
- existing.saveConnectorCredentialsStateBySlug[action.payload.connectionName] = 'In-Progress';
698
- delete existing.saveConnectorCredentialsErrorBySlug[action.payload.connectionName];
699
- }
700
- },
701
- },
702
- saveConnectorCredentialsSuccess: {
703
- prepare(tenantId, connectionType, connectionName, connectionPayload) {
704
- return {
705
- payload: {
706
- tenantId,
707
- connectionType,
708
- connectionName,
709
- connectionPayload,
710
- },
711
- };
712
- },
713
- reducer(draft, action) {
714
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
715
- if (existing != null) {
716
- existing.saveConnectorCredentialsStateBySlug[action.payload.connectionName] = 'Completed';
717
- // Upsert by connection_name — see saveAPIKeyConnectionSuccess for
718
- // the rationale on lazy bucket init + replace-or-append.
719
- if (existing[action.payload.connectionType] == null) {
720
- existing[action.payload.connectionType] = [];
721
- }
722
- replaceOrAppendConnectionByName(existing[action.payload.connectionType], (0, exports.toConnection)(action.payload.connectionPayload));
723
- delete existing.saveConnectorCredentialsErrorBySlug[action.payload.connectionName];
724
- }
725
- },
726
- },
727
- saveConnectorCredentialsFailure: {
728
- prepare(tenantId, connectionName, status) {
729
- return { payload: { tenantId, connectionName, status } };
730
- },
731
- reducer(draft, action) {
732
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
733
- if (existing != null) {
734
- existing.saveConnectorCredentialsStateBySlug[action.payload.connectionName] = 'Error';
735
- existing.saveConnectorCredentialsErrorBySlug[action.payload.connectionName] = action.payload.status;
736
- }
737
- },
738
- },
739
- // Email-connect (Gmail / Outlook) OAuth init. Distinct from the other
740
- // connector saves because the FE never sees the access_token — the
741
- // user-facing redirect lands on the auth service's callback, auth
742
- // exchanges code → tokens and posts them to tenant, then redirects the
743
- // browser back to ``redirectAfterUrl`` with ``?email_connect_result=...``.
744
- // The success action carries the provider's authorization_url so the
745
- // epic can drive a full-page redirect, mirroring the legacy HubSpot
746
- // flow in zeni-web-app-ui/IntegrationsScreen.
747
- initEmailConnectOAuth: {
748
- prepare(tenantId, provider, redirectAfterUrl) {
749
- return { payload: { tenantId, provider, redirectAfterUrl } };
750
- },
751
- reducer(draft, action) {
752
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
753
- if (existing != null) {
754
- // Reuse the per-slug saveConnectorCredentialsStateBySlug bucket so
755
- // the IntegrationsSettingsPage shows the same loading affordance
756
- // it already uses for Stripe/Mercury/PayPal connect flows.
757
- existing.saveConnectorCredentialsStateBySlug[action.payload.provider] = 'In-Progress';
758
- delete existing.saveConnectorCredentialsErrorBySlug[action.payload.provider];
759
- }
760
- },
761
- },
762
- initEmailConnectOAuthSuccess: {
763
- prepare(tenantId, provider, authorizationUrl) {
764
- return { payload: { tenantId, provider, authorizationUrl } };
765
- },
766
- reducer(draft, action) {
767
- // Intentionally leave state as 'In-Progress' — the epic is about to
768
- // do a full-page redirect, so any UI state we set here would be
769
- // overwritten by the navigation anyway. Setting Completed would
770
- // briefly flash a success state before the redirect, which reads
771
- // wrong because the connection isn't actually saved yet at this
772
- // point (it lands after the OAuth round-trip).
773
- void draft;
774
- void action;
775
- },
776
- },
777
- initEmailConnectOAuthFailure: {
778
- prepare(tenantId, provider, status) {
779
- return { payload: { tenantId, provider, status } };
780
- },
781
- reducer(draft, action) {
782
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
783
- if (existing != null) {
784
- existing.saveConnectorCredentialsStateBySlug[action.payload.provider] = 'Error';
785
- existing.saveConnectorCredentialsErrorBySlug[action.payload.provider] = action.payload.status;
786
- }
787
- },
788
- },
789
- deleteConnection: {
790
- prepare(tenantId, connectionId, connectionType) {
791
- return { payload: { tenantId, connectionId, connectionType } };
792
- },
793
- reducer(draft, action) {
794
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
795
- if (existing != null) {
796
- existing.deleteConnectionState = 'In-Progress';
797
- existing.deleteConnectionError = undefined;
798
- }
799
- },
800
- },
801
- deleteConnectionSuccess: {
802
- prepare(tenantId, connectionId, connectionType) {
803
- return { payload: { tenantId, connectionId, connectionType } };
804
- },
805
- reducer(draft, action) {
806
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
807
- if (existing != null) {
808
- existing.deleteConnectionState = 'Completed';
809
- existing.deleteConnectionError = undefined;
810
- const arr = existing[action.payload.connectionType];
811
- const idx = arr.findIndex((c) => c.connectionId === action.payload.connectionId);
812
- if (idx !== -1) {
813
- arr[idx] = { ...arr[idx], isValid: false };
814
- }
815
- }
816
- },
817
- },
818
- deleteConnectionFailure: {
819
- prepare(tenantId, status) {
820
- return { payload: { tenantId, status } };
821
- },
822
- reducer(draft, action) {
823
- const existing = draft.externalConnectionsByTenant[action.payload.tenantId];
824
- if (existing != null) {
825
- existing.deleteConnectionState = 'Error';
826
- existing.deleteConnectionError = action.payload.status;
827
- }
828
- },
829
- },
830
- doSignOut(draft) {
831
- draft.fetchState = 'Not-Started';
832
- draft.signInState = 'Not-Started';
833
- draft.error = undefined;
834
- },
835
- resetSignInState(draft) {
836
- draft.fetchState = 'Not-Started';
837
- draft.signInState = 'Not-Started';
838
- draft.sendEmailMagicLinkFetchState.fetchState = 'Not-Started';
839
- draft.sendEmailMagicLinkFetchState.error = undefined;
840
- draft.magicLinkSignInFetchState.fetchState = 'Not-Started';
841
- draft.magicLinkSignInFetchState.error = undefined;
842
- draft.accountLocked = false;
843
- draft.accountLockTime = undefined;
844
- draft.accountUnlockTime = undefined;
845
- draft.error = undefined;
846
- },
847
- signOutSuccess(draft) {
848
- draft.loggedInUser = undefined;
849
- draft.currentTenantId = undefined;
850
- draft.sessionExpiresAt = undefined;
851
- },
852
- sendSessionHeartbeat() {
853
- // No state change needed — epic handles the API call
854
- },
855
- sessionHeartbeatSuccess: {
856
- prepare(expiresAt) {
857
- return { payload: { expiresAt } };
858
- },
859
- reducer(draft, action) {
860
- draft.sessionExpiresAt = action.payload.expiresAt;
861
- },
862
- },
863
- sessionHeartbeatFailure: {
864
- prepare(error) {
865
- return { payload: { error } };
866
- },
867
- reducer(draft, action) {
868
- draft.error = action.payload.error;
869
- },
870
- },
871
- fetchSubscriptionSummaryForTenant: {
872
- prepare(tenantId) {
873
- return { payload: { tenantId } };
874
- },
875
- reducer(draft, action) {
876
- draft.subscriptionSummaryByTenant[action.payload.tenantId] = {
877
- fetchState: 'In-Progress',
878
- summary: undefined,
879
- };
880
- },
881
- },
882
- updateSubscriptionSummaryForTenantSuccess: {
883
- prepare(tenantId, subscriptionSummary) {
884
- return { payload: { tenantId, subscriptionSummary } };
885
- },
886
- reducer(draft, action) {
887
- draft.subscriptionSummaryByTenant[action.payload.tenantId] = {
888
- fetchState: 'Completed',
889
- summary: (0, subscriptionSummaryReducer_1.toSubscriptionSummary)(action.payload.subscriptionSummary),
890
- };
891
- },
892
- },
893
- updateSubscriptionSummaryForTenantFailure: {
894
- prepare(tenantId, status) {
895
- return { payload: { tenantId, status } };
896
- },
897
- reducer(draft, action) {
898
- draft.subscriptionSummaryByTenant[action.payload.tenantId] = {
899
- fetchState: 'Error',
900
- summary: undefined,
901
- };
902
- },
903
- },
904
- removeOnboardingTenant(draft, action) {
905
- delete draft.onboardingTenantsById[action.payload];
906
- },
907
- updateReferViewedForLoggedInUser(draft) {
908
- if (draft.currentTenantId != null) {
909
- draft.tenantsById[draft.currentTenantId].rewardsLastViewedTime =
910
- (0, zeniDayJS_1.dateNow)();
911
- }
912
- },
913
- updateTreasuryVideoViewedForLoggedInUser(draft) {
914
- if (draft.currentTenantId != null) {
915
- draft.tenantsById[draft.currentTenantId].isTreasuryPromoVideoPlayed =
916
- true;
917
- }
918
- },
919
- updateTreasuryPromoRemindMeLaterClickedForLoggedInUser(draft) {
920
- if (draft.currentTenantId != null) {
921
- draft.tenantsById[draft.currentTenantId].isTreasuryPromoVideoRemindMeLaterClicked = true;
922
- }
923
- },
924
- updateTreasuryPromoIntroClosedByOutsideClickForLoggedInUser(draft) {
925
- if (draft.currentTenantId != null) {
926
- draft.tenantsById[draft.currentTenantId].isTreasuryPromoIntroClosedByOutsideClick = true;
927
- }
928
- },
929
- trigger2FA: {
930
- prepare(otpChallenge, userEmail, twoFAPhoneNumber) {
931
- return { payload: { otpChallenge, userEmail, twoFAPhoneNumber } };
932
- },
933
- reducer(draft, action) {
934
- const { otpChallenge, userEmail, twoFAPhoneNumber } = action.payload;
935
- draft.magicLinkEmail = userEmail;
936
- draft.otpChallenge = otpChallenge;
937
- draft.twoFAPhoneNumber = twoFAPhoneNumber;
938
- draft.magicLinkSignInFetchState.fetchState = 'Completed';
939
- draft.magicLinkSignInFetchState.error = undefined;
940
- },
941
- },
942
- verifyDeviceWithTwoFA: {
943
- prepare(otp, deviceId, userEmail, otpChallenge) {
944
- return { payload: { otp, deviceId, userEmail, otpChallenge } };
945
- },
946
- reducer(draft) {
947
- draft.verifyDeviceFetchState.fetchState = 'In-Progress';
948
- draft.verifyDeviceFetchState.error = undefined;
949
- draft.signInState = 'In-Progress';
950
- },
951
- },
952
- verifyDeviceWithTwoFASuccess: {
953
- prepare(userId, sessionId) {
954
- return { payload: { userId, sessionId } };
955
- },
956
- reducer(draft, action) {
957
- const { userId, sessionId } = action.payload;
958
- draft.fetchState = 'In-Progress'; // Why in progress ? Sign in is complete only after tenants are retrieved successfully.
959
- draft.error = undefined;
960
- draft.verifyDeviceFetchState.fetchState = 'Completed';
961
- draft.verifyDeviceFetchState.error = undefined;
962
- draft.otpChallenge = undefined;
963
- draft.twoFAPhoneNumber = undefined;
964
- draft.magicLinkEmail = undefined;
965
- draft.loggedInUser = (0, assignWith_1.default)(draft.loggedInUser ?? {}, {
966
- userId: userId,
967
- zeniSessionId: sessionId,
968
- }, (objValue, srcValue) => srcValue ?? objValue);
969
- },
970
- },
971
- verifyDeviceWithTwoFAFailure(draft, action) {
972
- draft.verifyDeviceFetchState.fetchState = 'Error';
973
- draft.verifyDeviceFetchState.error = action.payload;
974
- draft.signInState = 'Error';
975
- },
976
- },
977
- extraReducers: (builder) => {
978
- builder.addCase(rootActions_1.clearAll, (draft, action) => {
979
- // `=== false` rather than `!`: the flag is required at the type level, but an
980
- // untyped or stale-build caller doing `clearAll()` would send `undefined`,
981
- // and defaulting that to "wipe" is the dangerous direction. Keep is safe.
982
- if (action.payload.keepTenantCompanyState === false) {
983
- Object.assign(draft, exports.initialState);
984
- }
985
- });
986
- },
987
- });
988
- _a = tenant.actions, exports.updateTenants = _a.updateTenants, exports.fetchAllTenants = _a.fetchAllTenants, exports.updateTenantSummariesSuccess = _a.updateTenantSummariesSuccess, exports.seedTenantSummary = _a.seedTenantSummary, exports.updateTenantsFailure = _a.updateTenantsFailure, exports.fetchActiveTenant = _a.fetchActiveTenant, exports.updateTenantSuccess = _a.updateTenantSuccess, exports.updateTenantFailure = _a.updateTenantFailure, exports.updateCurrentTenant = _a.updateCurrentTenant, exports.fetchExcludedResources = _a.fetchExcludedResources, exports.updateExcludedResourcesSuccess = _a.updateExcludedResourcesSuccess, exports.updateExcludedResourcesFailure = _a.updateExcludedResourcesFailure, exports.doSignIn = _a.doSignIn, exports.doMagicLinkSignIn = _a.doMagicLinkSignIn, exports.magicLinkSignInSuccess = _a.magicLinkSignInSuccess, exports.magicLinkSignInFailure = _a.magicLinkSignInFailure, exports.sendEmailMagicLinkToUser = _a.sendEmailMagicLinkToUser, exports.sendEmailMagicLinkToUserSuccess = _a.sendEmailMagicLinkToUserSuccess, exports.sendEmailMagicLinkToUserFailure = _a.sendEmailMagicLinkToUserFailure, exports.updateSignInState = _a.updateSignInState, exports.doSignOut = _a.doSignOut, exports.signOutSuccess = _a.signOutSuccess, exports.sendSessionHeartbeat = _a.sendSessionHeartbeat, exports.sessionHeartbeatSuccess = _a.sessionHeartbeatSuccess, exports.sessionHeartbeatFailure = _a.sessionHeartbeatFailure, exports.updateLoggedInUser = _a.updateLoggedInUser, exports.fetchExternalConnections = _a.fetchExternalConnections, exports.saveExternalConnection = _a.saveExternalConnection, exports.saveExternalConnectionSuccess = _a.saveExternalConnectionSuccess, exports.saveExternalConnectionFailure = _a.saveExternalConnectionFailure, exports.fetchExternalConnectionsFailure = _a.fetchExternalConnectionsFailure, exports.fetchExternalConnectionsSuccess = _a.fetchExternalConnectionsSuccess, exports.saveAPIKeyConnection = _a.saveAPIKeyConnection, exports.saveAPIKeyConnectionSuccess = _a.saveAPIKeyConnectionSuccess, exports.saveAPIKeyConnectionFailure = _a.saveAPIKeyConnectionFailure, exports.saveOAuthConnection = _a.saveOAuthConnection, exports.saveOAuthConnectionSuccess = _a.saveOAuthConnectionSuccess, exports.saveOAuthConnectionFailure = _a.saveOAuthConnectionFailure, exports.saveConnectorCredentials = _a.saveConnectorCredentials, exports.saveConnectorCredentialsSuccess = _a.saveConnectorCredentialsSuccess, exports.saveConnectorCredentialsFailure = _a.saveConnectorCredentialsFailure, exports.initEmailConnectOAuth = _a.initEmailConnectOAuth, exports.initEmailConnectOAuthSuccess = _a.initEmailConnectOAuthSuccess, exports.initEmailConnectOAuthFailure = _a.initEmailConnectOAuthFailure, exports.deleteConnection = _a.deleteConnection, exports.deleteConnectionSuccess = _a.deleteConnectionSuccess, exports.deleteConnectionFailure = _a.deleteConnectionFailure, exports.fetchSubscriptionSummaryForTenant = _a.fetchSubscriptionSummaryForTenant, exports.updateSubscriptionSummaryForTenantSuccess = _a.updateSubscriptionSummaryForTenantSuccess, exports.updateSubscriptionSummaryForTenantFailure = _a.updateSubscriptionSummaryForTenantFailure, exports.updateOnboardingTenants = _a.updateOnboardingTenants, exports.removeOnboardingTenant = _a.removeOnboardingTenant, exports.updateTenantReimbursementInfo = _a.updateTenantReimbursementInfo, exports.updateReferViewedForLoggedInUser = _a.updateReferViewedForLoggedInUser, exports.resetSignInState = _a.resetSignInState, exports.trigger2FA = _a.trigger2FA, exports.updateTenantAccountingClassesEnabled = _a.updateTenantAccountingClassesEnabled, exports.updateTenantAccountingProjectsEnabled = _a.updateTenantAccountingProjectsEnabled, exports.updateTenantAutoReviewIncomeWithoutCustomer = _a.updateTenantAutoReviewIncomeWithoutCustomer, exports.updateTenantCustomersTabSetting = _a.updateTenantCustomersTabSetting, exports.updateTenantProductSettings = _a.updateTenantProductSettings, exports.updateTenantCapitalizationOnboardingDismissed = _a.updateTenantCapitalizationOnboardingDismissed, exports.updateTenantCapitalizationAccountOverride = _a.updateTenantCapitalizationAccountOverride, exports.updateTenantMasterTOSInfo = _a.updateTenantMasterTOSInfo, exports.verifyDeviceWithTwoFA = _a.verifyDeviceWithTwoFA, exports.verifyDeviceWithTwoFASuccess = _a.verifyDeviceWithTwoFASuccess, exports.verifyDeviceWithTwoFAFailure = _a.verifyDeviceWithTwoFAFailure, exports.updateTreasuryVideoViewedForLoggedInUser = _a.updateTreasuryVideoViewedForLoggedInUser, exports.updateTreasuryPromoRemindMeLaterClickedForLoggedInUser = _a.updateTreasuryPromoRemindMeLaterClickedForLoggedInUser, exports.updateTreasuryPromoIntroClosedByOutsideClickForLoggedInUser = _a.updateTreasuryPromoIntroClosedByOutsideClickForLoggedInUser, exports.resendVerifyDeviceOTP = _a.resendVerifyDeviceOTP, exports.resendVerifyDeviceOTPSuccess = _a.resendVerifyDeviceOTPSuccess, exports.resendVerifyDeviceOTPFailure = _a.resendVerifyDeviceOTPFailure;
989
- exports.default = tenant.reducer;
990
- /**
991
- * Applies treasury promo user fields from the tenants API user block when present.
992
- * When a field is omitted from the payload, keeps the existing tenant value so a
993
- * later fetch-all-tenants call does not reset values already loaded by fetch-active-tenant.
994
- */
995
- function applyTreasuryPromoUserFieldsFromPayload(existingTenant, mappedTenant, userTenantPayload) {
996
- if (existingTenant == null) {
997
- return mappedTenant;
998
- }
999
- return {
1000
- ...mappedTenant,
1001
- isTreasuryPromoVideoPlayed: userTenantPayload.is_treasury_promo_video_played ??
1002
- existingTenant.isTreasuryPromoVideoPlayed,
1003
- isTreasuryPromoVideoRemindMeLaterClicked: userTenantPayload.is_treasury_promo_video_remind_me_later_clicked ??
1004
- existingTenant.isTreasuryPromoVideoRemindMeLaterClicked,
1005
- loginCounterForTreasuryPromoVideo: userTenantPayload.login_counter_for_treasury_promo_video ??
1006
- existingTenant.loginCounterForTreasuryPromoVideo,
1007
- isTreasuryPromoIntroClosedByOutsideClick: userTenantPayload.is_treasury_promo_intro_closed_by_outside_click ??
1008
- existingTenant.isTreasuryPromoIntroClosedByOutsideClick,
1009
- };
1010
- }
1011
- /**
1012
- * Converts tenants payload to Tenant and User State
1013
- * @param payload tenants payload as received from backend API response
1014
- * @returns returns tuple [tenantsById: Record<tenantId, Tenant>, tenantIds: ID{}, firstUser: LoggedInUser]
1015
- */
1016
- function mapTenantsPayloadToState(tenantsPayload, userTenantPayload) {
1017
- if (tenantsPayload.length == 0) {
1018
- throw new Error('Empty list of tenants ? ');
1019
- }
1020
- const tenantsById = {};
1021
- const tenantIds = [];
1022
- tenantsPayload.forEach((tenantsPayload) => {
1023
- const tenant = mapTenantPayloadToTenant(tenantsPayload, userTenantPayload);
1024
- tenantsById[tenant.tenantId] = tenant;
1025
- tenantIds.push(tenant.tenantId);
1026
- });
1027
- const firstUser = mapTenantPayloadToUser(tenantsPayload[0]);
1028
- return [tenantsById, tenantIds, firstUser];
1029
- }
1030
- function mapTenantSummaryPayloadToTenantSummary(payload) {
1031
- return {
1032
- companyId: payload.company_id,
1033
- companyName: payload.company_name,
1034
- tenantEmailDomain: payload.tenant_email_domain,
1035
- tenantId: payload.tenant_id,
1036
- // A tenant never opened sorts last, as in `mapTenantPayloadToTenant`.
1037
- userLastCheckInTime: (0, zeniDayJS_1.date)(payload.user_last_check_in_time_into_tenant ?? '1970-01-01'),
1038
- };
1039
- }
1040
- function mapTenantPayloadToTenant(payload, userTenantPayload) {
1041
- const tenant = {
1042
- accountingClassIDs: payload.accounting_class_ids,
1043
- isAccountingClassesEnabled: payload.is_accounting_classes_enabled ?? true,
1044
- isAccountingProjectsEnabled: payload.is_accounting_projects_enabled ?? false,
1045
- isAutoReviewIncomeWithoutCustomerEnabled: payload.accounting_config?.customers
1046
- ?.auto_review_income_without_customer ?? false,
1047
- customersTabSettings: {
1048
- includeSubCustomersInTotals: payload.accounting_config?.customers?.include_sub_customers_in_totals ??
1049
- false,
1050
- listTopLevelCustomersOnly: payload.accounting_config?.customers?.list_top_level_customers_only ??
1051
- false,
1052
- },
1053
- bookCloseDate: payload.book_close_date != null
1054
- ? (0, zeniDayJS_1.date)(payload.book_close_date)
1055
- : undefined,
1056
- tenantId: payload.tenant_id,
1057
- companyId: payload.company_id,
1058
- companyName: payload.company_name,
1059
- createTime: (0, zeniDayJS_1.date)(payload.create_time),
1060
- inviteAcceptTime: (0, zeniDayJS_1.date)(payload.invite_accept_time),
1061
- inviteCreateTime: (0, zeniDayJS_1.date)(payload.invite_create_time),
1062
- inviterEmail: payload.inviter_email,
1063
- inviterUserId: payload.inviter_id,
1064
- userRole: (0, userRolePayload_1.getUserRoles)(payload),
1065
- userRoleId: payload.user_role_id,
1066
- isZeni: payload.is_zeni,
1067
- invitationStatus: (0, userRolePayload_1.getInvitationStatus)(payload),
1068
- tenantEmailDomain: payload.tenant_email_domain,
1069
- updateTime: (0, zeniDayJS_1.date)(payload.update_time),
1070
- productSettings: {
1071
- isBankingEnabled: payload.is_banking_enabled,
1072
- isTreasuryEnabled: payload.is_treasury_enabled,
1073
- isSpendManagementEnabled: payload.is_spend_management_enabled,
1074
- isBookkeepingEnabled: payload.is_book_keeping_enabled,
1075
- isOtherProductsEnabled: payload.is_other_products_enabled,
1076
- isCardsEnabled: payload.is_card_enabled,
1077
- isPayrollEnabled: payload.is_payroll_enabled,
1078
- isCfoEnabled: payload.is_cfo_enabled,
1079
- isTaxEnabled: payload.is_tax_enabled,
1080
- },
1081
- userLastCheckInTime: payload.user_last_check_in_time_into_tenant != null
1082
- ? (0, zeniDayJS_1.date)(payload.user_last_check_in_time_into_tenant)
1083
- : (0, zeniDayJS_1.date)('1970-01-01'), // if the user_last_check_in_time_into_tenant is null consider the last check-in time as start of unix epoch.
1084
- netBurnSettings: {
1085
- accountingMethod: (0, netBurnOrIncomeStoryCardSelectorTypes_1.toAccountingMethod)(payload.accounting_method_for_avg_net_burn),
1086
- numberOfMonthsForAverage: (0, netBurnOrIncomeStoryCardState_1.toNumberOfMonthForAverage)(payload.no_completed_months_used_for_avg_net_burn),
1087
- timeSpanIdForAverage: (0, netBurnOrIncomeStoryCardState_1.toTimeSpanIdForAverage)(payload.time_span_id_for_avg_net_burn),
1088
- },
1089
- chargebeeId: payload.chargebee_customer_id,
1090
- hubSpotId: payload.hubspot_id ?? undefined,
1091
- isOnboardingCompleted: true,
1092
- qboRealmId: payload.qbo_realm_id,
1093
- unitConnectedAccountApplicationId: payload.unit_connected_account_application_id ?? undefined,
1094
- isCustomerCreated: payload.is_customer_created,
1095
- isEmailGroupCreated: payload.is_email_group_created,
1096
- userReimbursementInfo: payload.reimbursement_info != null
1097
- ? (0, userRolePayload_1.toUserReimbursementInfo)(payload.reimbursement_info)
1098
- : undefined,
1099
- masterTOSInfo: payload.master_tos_info != null
1100
- ? (0, userRolePayload_1.toMasterTOSInfo)(payload.master_tos_info)
1101
- : undefined,
1102
- receiptsEmail: payload.receipts_email ?? undefined,
1103
- rewardsLastViewedTime: userTenantPayload?.rewards_feature_last_viewed_time != null
1104
- ? (0, zeniDayJS_1.date)(userTenantPayload.rewards_feature_last_viewed_time)
1105
- : undefined,
1106
- isTreasuryPromoVideoPlayed: userTenantPayload?.is_treasury_promo_video_played ?? false,
1107
- isTreasuryPromoVideoRemindMeLaterClicked: userTenantPayload?.is_treasury_promo_video_remind_me_later_clicked ??
1108
- false,
1109
- loginCounterForTreasuryPromoVideo: userTenantPayload?.login_counter_for_treasury_promo_video ?? 0,
1110
- isTreasuryPromoIntroClosedByOutsideClick: userTenantPayload?.is_treasury_promo_intro_closed_by_outside_click ??
1111
- false,
1112
- zeniBookCloseDate: payload.zeni_book_close_date != null
1113
- ? (0, zeniDayJS_1.date)(payload.zeni_book_close_date)
1114
- : undefined,
1115
- zeniBookCloseMonthAndYear: payload.zeni_book_close_month_and_year != null
1116
- ? (0, timePeriod_1.toMonthYearPeriod)(payload.zeni_book_close_month_and_year)
1117
- : undefined,
1118
- capitalizableAccountOverrides: payload.capitalizable_account_overrides ?? null,
1119
- capitalizableAccounts: payload.capitalizable_accounts != null
1120
- ? mapCapitalizableAccountsPayload(payload.capitalizable_accounts)
1121
- : null,
1122
- capitalizationOnboardingDismissedAccounts: payload.capitalization_onboarding_dismissed_accounts ?? null,
1123
- capitalizationOnboardingShownForPrepaid: payload.capitalization_onboarding_shown_for_prepaid ?? false,
1124
- capitalizationOnboardingShownForFixedAsset: payload.capitalization_onboarding_shown_for_fixed_asset ?? false,
1125
- };
1126
- return tenant;
1127
- }
1128
- // Exported for unit testing — the snake→camel + date() transform here is the
1129
- // only place the wire format is reshaped, and Nikunj called out we need
1130
- // coverage for the populated + null-accounts cases on this mapper specifically.
1131
- function mapCapitalizableAccountsPayload(payload) {
1132
- return {
1133
- computedAt: (0, zeniDayJS_1.date)(payload.computed_at),
1134
- // Defensive `?? []` because the API has historically been generous with
1135
- // `null` on nested fields; without this an `{accounts: null}` response
1136
- // throws on `.map`.
1137
- accounts: (payload.accounts ?? []).map((acc) => ({
1138
- accountId: acc.account_id,
1139
- classificationType: acc.classification_type,
1140
- matchPattern: acc.match_pattern,
1141
- thresholdValue: acc.threshold_value,
1142
- thresholdSource: acc.threshold_source,
1143
- sampleCount: acc.sample_count,
1144
- })),
1145
- };
1146
- }
1147
- function mapTenantPayloadToUser(payload) {
1148
- const user = {
1149
- userId: payload.user_id,
1150
- userEmail: payload.user_email,
1151
- userEmailDomain: payload.user_email_domain,
1152
- };
1153
- return user;
1154
- }
1155
- function mapLoggedInUserPayloadToLoggedInUser(payload, zeniSessionId, authProvider) {
1156
- return {
1157
- userId: payload.user_id,
1158
- zeniSessionId: zeniSessionId,
1159
- firstName: payload.first_name?.trim(),
1160
- lastName: payload.last_name?.trim(),
1161
- photo: (0, urlPayload_1.toURL)(payload.photo),
1162
- authProvider: authProvider,
1163
- phoneNumber: payload.phone_number ?? undefined,
1164
- };
1165
- }
1166
- const toRoleResource = (payload) => ({
1167
- roleResourceId: payload.role_resource_id,
1168
- resource: (0, js_base64_1.fromBase64)(payload.resource),
1169
- resourceVersion: payload.resource_version,
1170
- isExclude: payload.is_exclude,
1171
- isZeni: payload.is_zeni,
1172
- createTime: (0, zeniDayJS_1.date)(payload.create_time),
1173
- updateTime: (0, zeniDayJS_1.date)(payload.update_time),
1174
- });
1175
- exports.toRoleResource = toRoleResource;
1176
- /**
1177
- * Converts Connections payload to Connection State
1178
- * @param payload Connections payload as received from backend API response
1179
- * @returns returns Connection[] list
1180
- */
1181
- function mapConnectionsPayloadToState(connectionsPayload) {
1182
- if (Object.keys(connectionsPayload).length == 0) {
1183
- throw new Error('No connections ? ');
1184
- }
1185
- const { connections } = connectionsPayload;
1186
- return {
1187
- accounting: connections.accounting.map((payload) => (0, exports.toConnection)(payload)),
1188
- // Tenant materializes gmail/outlook under the `email` bucket via
1189
- // _THIRD_PARTY_CONNECTORS_TO_MATERIALIZE when their slugs are enabled in
1190
- // third_party_enabled_connectors Statsig config. Default to [] so older
1191
- // tenant deploys (or disabled-everywhere envs) don't blow up here.
1192
- email: (connections.email ?? []).map((payload) => (0, exports.toConnection)(payload)),
1193
- payments: connections.payments.map((payload) => (0, exports.toConnection)(payload)),
1194
- revenue: (connections.revenue ?? []).map((payload) => (0, exports.toConnection)(payload)),
1195
- };
1196
- }
1197
- const toConnection = (payload) => ({
1198
- authorizationCode: payload.authorization_code ?? undefined,
1199
- companyId: payload.company_id ?? '',
1200
- connectionId: payload.connection_id,
1201
- connectionName: payload.connection_name,
1202
- connectionDisplayName: payload.connection_name_for_display,
1203
- connectionType: payload.connection_type,
1204
- connectionDisplayType: payload.connection_type_for_display,
1205
- createTime: (0, zeniDayJS_1.date)(payload.create_time),
1206
- isValid: payload.is_valid,
1207
- realmId: payload.realm_id ?? undefined,
1208
- updateTime: (0, zeniDayJS_1.date)(payload.update_time),
1209
- userId: payload.user_id,
1210
- });
1211
- exports.toConnection = toConnection;
1212
- // Replace a Connection in a same-bucket array (e.g. revenue: [chargebee, hubspot])
1213
- // matching by connectionName, or append if no match. Mutates the array — safe
1214
- // inside an Immer draft, which is the only place this is called from.
1215
- function replaceOrAppendConnectionByName(connections, incomingConnection) {
1216
- const existingIndex = connections.findIndex((existingConnection) => existingConnection.connectionName === incomingConnection.connectionName);
1217
- if (existingIndex === -1) {
1218
- connections.push(incomingConnection);
1219
- }
1220
- else {
1221
- connections[existingIndex] = incomingConnection;
1222
- }
1223
- }