@zeniai/client-epic-state 4.11.97 → 4.11.99

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 (433) hide show
  1. package/lib/commonPayloadTypes/balanceChangePayload.d.ts +3 -3
  2. package/lib/commonPayloadTypes/balanceChangePayload.js +2 -3
  3. package/lib/commonPayloadTypes/classesView/reportByClassPayloadV2.d.ts +2 -3
  4. package/lib/commonPayloadTypes/classesView/reportByClassPayloadV2.js +1 -1
  5. package/lib/commonPayloadTypes/coaBalancePayload.d.ts +3 -9
  6. package/lib/commonPayloadTypes/coaBalancePayload.js +1 -29
  7. package/lib/commonPayloadTypes/subAccountView/reportBySubAccountPayload.d.ts +3 -2
  8. package/lib/commonPayloadTypes/v2/coaBalancePayload.d.ts +2 -1
  9. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.d.ts +0 -8
  10. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.js +0 -83
  11. package/lib/commonStateTypes/accountView/nestedAccountID.d.ts +9 -8
  12. package/lib/commonStateTypes/accountView/nestedAccountID.js +4 -10
  13. package/lib/commonStateTypes/classesView/nestedClassID.d.ts +6 -8
  14. package/lib/commonStateTypes/classesView/nestedClassID.js +1 -10
  15. package/lib/commonStateTypes/coaBalance/additionalBalances/getSamePeriodLastYearBalance.d.ts +0 -1
  16. package/lib/commonStateTypes/coaBalance/additionalBalances/getSamePeriodLastYearBalance.js +1 -27
  17. package/lib/commonStateTypes/coaBalance/pickAndMergeForecast.d.ts +0 -2
  18. package/lib/commonStateTypes/coaBalance/pickAndMergeForecast.js +1 -2
  19. package/lib/commonStateTypes/customerView/nestedCustomerID.d.ts +6 -8
  20. package/lib/commonStateTypes/customerView/nestedCustomerID.js +0 -7
  21. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.d.ts +0 -3
  22. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.js +2 -5
  23. package/lib/commonStateTypes/reduceFetchState.d.ts +0 -18
  24. package/lib/commonStateTypes/reduceFetchState.js +7 -10
  25. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.d.ts +0 -2
  26. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.js +0 -12
  27. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.d.ts +0 -2
  28. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.js +0 -10
  29. package/lib/commonStateTypes/selectorTypes/sortOrderTypes.d.ts +2 -2
  30. package/lib/commonStateTypes/selectorTypes/sortOrderTypes.js +2 -4
  31. package/lib/commonStateTypes/timePeriod.d.ts +2 -3
  32. package/lib/commonStateTypes/timePeriod.js +1 -6
  33. package/lib/commonStateTypes/v2/viewAndReport.d.ts +0 -5
  34. package/lib/commonStateTypes/v2/viewAndReport.js +3 -0
  35. package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.d.ts +2 -2
  36. package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.js +3 -4
  37. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +0 -1
  38. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +3 -3
  39. package/lib/commonStateTypes/workingDayHelper.d.ts +0 -1
  40. package/lib/commonStateTypes/workingDayHelper.js +6 -6
  41. package/lib/entity/account/accountPayload.d.ts +1 -6
  42. package/lib/entity/account/accountPayload.js +3 -19
  43. package/lib/entity/account/accountReducer.d.ts +1 -3
  44. package/lib/entity/account/accountReducer.js +2 -3
  45. package/lib/entity/account/accountState.d.ts +2 -1
  46. package/lib/entity/account/accountState.js +1 -2
  47. package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +0 -6
  48. package/lib/entity/account/pickAndMergeForecastAccountReport.js +1 -2
  49. package/lib/entity/accountGroup/accountGroupSelector.d.ts +2 -1
  50. package/lib/entity/accountGroup/accountGroupSelector.js +2 -3
  51. package/lib/entity/address/addressReducer.d.ts +1 -2
  52. package/lib/entity/address/addressReducer.js +1 -2
  53. package/lib/entity/approvalRule/approvalRulePayload.d.ts +1 -3
  54. package/lib/entity/approvalRule/approvalRulePayload.js +3 -5
  55. package/lib/entity/approvalRule/approvalRuleState.d.ts +3 -7
  56. package/lib/entity/approvalRule/approvalRuleState.js +1 -13
  57. package/lib/entity/billPay/billTransaction/billTransactionPayload.d.ts +3 -5
  58. package/lib/entity/billPay/billTransaction/billTransactionPayload.js +4 -7
  59. package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +9 -8
  60. package/lib/entity/billPay/billTransaction/billTransactionState.js +1 -7
  61. package/lib/entity/billPay/recurringBills/recurringBillsPayload.d.ts +2 -4
  62. package/lib/entity/billPay/recurringBills/recurringBillsPayload.js +3 -5
  63. package/lib/entity/chargeCard/chargeCard.d.ts +6 -7
  64. package/lib/entity/chargeCard/chargeCard.js +2 -7
  65. package/lib/entity/chargeCardTransaction/chargeCardTransaction.d.ts +3 -3
  66. package/lib/entity/chargeCardTransaction/chargeCardTransaction.js +1 -3
  67. package/lib/entity/chargeCardTransaction/chargeCardTransactionPayload.d.ts +2 -1
  68. package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.d.ts +0 -1
  69. package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.js +1 -2
  70. package/lib/entity/class/classPayload.d.ts +0 -4
  71. package/lib/entity/class/classPayload.js +1 -16
  72. package/lib/entity/class/classSelectorV2.d.ts +1 -8
  73. package/lib/entity/class/classSelectorV2.js +1 -2
  74. package/lib/entity/company/companyHelper.d.ts +0 -2
  75. package/lib/entity/company/companyHelper.js +2 -7
  76. package/lib/entity/company/companyPayload.d.ts +17 -24
  77. package/lib/entity/company/companyPayload.js +9 -17
  78. package/lib/entity/company/companyStateTypes.d.ts +6 -7
  79. package/lib/entity/company/companyStateTypes.js +3 -6
  80. package/lib/entity/companyHealthMetric/companyHealthMetricPayload.d.ts +5 -6
  81. package/lib/entity/companyHealthMetric/companyHealthMetricPayload.js +3 -5
  82. package/lib/entity/currency/currencySelector.d.ts +0 -3
  83. package/lib/entity/currency/currencySelector.js +1 -3
  84. package/lib/entity/customer/customerSelector.d.ts +2 -3
  85. package/lib/entity/customer/customerSelector.js +1 -8
  86. package/lib/entity/customerSatisfaction/customerSatisfactionReducerHelpers.d.ts +2 -4
  87. package/lib/entity/customerSatisfaction/customerSatisfactionReducerHelpers.js +3 -5
  88. package/lib/entity/customerSatisfaction/customerSatisfactionState.d.ts +1 -1
  89. package/lib/entity/customerSatisfaction/customerSatisfactionState.js +1 -2
  90. package/lib/entity/depositAccount/depositAccount.d.ts +3 -4
  91. package/lib/entity/depositAccount/depositAccount.js +1 -5
  92. package/lib/entity/depositAccountTransaction/depositAccountTransaction.d.ts +2 -2
  93. package/lib/entity/depositAccountTransaction/depositAccountTransaction.js +3 -3
  94. package/lib/entity/depositAccountTransaction/depositAccountTransactionPayload.d.ts +2 -1
  95. package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.d.ts +0 -1
  96. package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.js +1 -2
  97. package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.d.ts +2 -6
  98. package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.js +3 -5
  99. package/lib/entity/entityApprovalStatus/entityApprovalStatusState.d.ts +3 -4
  100. package/lib/entity/entityApprovalStatus/entityApprovalStatusState.js +1 -6
  101. package/lib/entity/file/filePayload.d.ts +2 -1
  102. package/lib/entity/file/fileState.d.ts +7 -21
  103. package/lib/entity/file/fileState.js +15 -34
  104. package/lib/entity/genericEntity/entity.d.ts +2 -1
  105. package/lib/entity/globalMerchant/globalMerchantPayload.d.ts +1 -4
  106. package/lib/entity/globalMerchant/globalMerchantPayload.js +2 -32
  107. package/lib/entity/globalMerchant/globalMerchantState.d.ts +2 -1
  108. package/lib/entity/insights/insightReducer.d.ts +1 -2
  109. package/lib/entity/insights/insightReducer.js +2 -3
  110. package/lib/entity/insights/insightState.d.ts +2 -1
  111. package/lib/entity/insights/insightState.js +0 -2
  112. package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +1 -2
  113. package/lib/entity/jeSchedules/jeSchedulesPayload.js +1 -2
  114. package/lib/entity/notification/types/notificationSelectorTypes.d.ts +2 -1
  115. package/lib/entity/notification/types/notificationTypes.d.ts +2 -11
  116. package/lib/entity/notification/types/notificationTypes.js +15 -24
  117. package/lib/entity/paymentAccount/paymentAccountPayload.d.ts +3 -3
  118. package/lib/entity/paymentAccount/paymentAccountPayload.js +2 -3
  119. package/lib/entity/portfolio/accountingSummary/accountingSummaryPayload.d.ts +3 -2
  120. package/lib/entity/reimbursement/reimbursementPayload.d.ts +9 -22
  121. package/lib/entity/reimbursement/reimbursementPayload.js +16 -32
  122. package/lib/entity/reimbursement/reimbursementState.d.ts +2 -1
  123. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnSelector.d.ts +0 -1
  124. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnSelector.js +1 -2
  125. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponSelector.d.ts +0 -1
  126. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponSelector.js +1 -2
  127. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.d.ts +1 -5
  128. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js +1 -2
  129. package/lib/entity/subscription/subscriptionSummary/subscriptionSummarySelector.d.ts +0 -1
  130. package/lib/entity/subscription/subscriptionSummary/subscriptionSummarySelector.js +1 -2
  131. package/lib/entity/task/taskState.d.ts +2 -5
  132. package/lib/entity/task/taskState.js +3 -10
  133. package/lib/entity/tenant/tenantSelector.d.ts +2 -2
  134. package/lib/entity/tenant/tenantSelector.js +1 -2
  135. package/lib/entity/toastNotification/toastNotificationState.d.ts +3 -6
  136. package/lib/entity/toastNotification/toastNotificationState.js +3 -3
  137. package/lib/entity/transaction/payloadTypes/transactionLinePayload.d.ts +11 -21
  138. package/lib/entity/transaction/payloadTypes/transactionLinePayload.js +10 -17
  139. package/lib/entity/transaction/stateTypes/attachment.d.ts +2 -1
  140. package/lib/entity/transaction/stateTypes/paymentType.d.ts +2 -1
  141. package/lib/entity/transaction/stateTypes/paymentType.js +1 -2
  142. package/lib/entity/transaction/stateTypes/transactionType.d.ts +6 -10
  143. package/lib/entity/transaction/stateTypes/transactionType.js +1 -14
  144. package/lib/entity/user/userReducer.d.ts +1 -3
  145. package/lib/entity/user/userReducer.js +2 -3
  146. package/lib/entity/user/userState.d.ts +2 -1
  147. package/lib/entity/userRole/userRoleState.d.ts +2 -2
  148. package/lib/entity/userRole/userRoleState.js +2 -4
  149. package/lib/entity/userRole/userRoleType.d.ts +0 -6
  150. package/lib/entity/userRole/userRoleType.js +9 -27
  151. package/lib/entity/vendor/vendorPayload.d.ts +2 -1
  152. package/lib/entity/vendorExpense/vendorExpenseReducer.d.ts +1 -2
  153. package/lib/entity/vendorExpense/vendorExpenseReducer.js +7 -7
  154. package/lib/entity/vendorExpense/vendorExpenseSelector.d.ts +2 -1
  155. package/lib/entity/vendorExpense/vendorExpenseSelector.js +1 -2
  156. package/lib/entity/vendorExpense/vendorExpenseTrend.d.ts +2 -1
  157. package/lib/index.d.ts +56 -56
  158. package/lib/index.js +9 -9
  159. package/lib/responsePayload.d.ts +2 -1
  160. package/lib/view/accountList/accountListPayload.d.ts +2 -1
  161. package/lib/view/accountMappingView/accountMappingPayload.d.ts +0 -3
  162. package/lib/view/accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload.d.ts +8 -7
  163. package/lib/view/addressView/addressViewPayload.d.ts +2 -1
  164. package/lib/view/apAgingView/apAgingDetail/apAgingDetailState.d.ts +2 -1
  165. package/lib/view/arAgingView/arAgingDetail/arAgingDetailState.d.ts +2 -1
  166. package/lib/view/arAgingView/arAgingReport/arAgingPayload.d.ts +1 -1
  167. package/lib/view/auditReportView/auditReportViewPayload.d.ts +2 -1
  168. package/lib/view/auditReportView/auditReportViewState.d.ts +3 -5
  169. package/lib/view/auditReportView/auditReportViewState.js +5 -6
  170. package/lib/view/autoComplete/entityAutoCompleteReducer.d.ts +1 -1
  171. package/lib/view/balanceSheet/balanceSheetPayload.d.ts +14 -17
  172. package/lib/view/balanceSheet/balanceSheetPayload.js +1 -13
  173. package/lib/view/balanceSheet/balanceSheetSelectorTypes.d.ts +19 -25
  174. package/lib/view/balanceSheet/balanceSheetSelectorTypes.js +27 -36
  175. package/lib/view/bankAccountView/bankAccountViewPayload.d.ts +5 -4
  176. package/lib/view/billPayCard/billPayCardPayload.d.ts +3 -3
  177. package/lib/view/billPayCard/billPayCardState.d.ts +3 -2
  178. package/lib/view/billPayCard/billPayCardState.js +0 -2
  179. package/lib/view/cardPayment/cardPaymentViewPayload.d.ts +3 -3
  180. package/lib/view/cardPayment/cardPaymentViewTypes.d.ts +2 -3
  181. package/lib/view/cardPayment/cardPaymentViewTypes.js +4 -6
  182. package/lib/view/cashFlow/cashFlowPayload.d.ts +7 -8
  183. package/lib/view/cashFlow/cashFlowPayload.js +5 -8
  184. package/lib/view/cashFlow/cashFlowSelectorTypes.d.ts +17 -23
  185. package/lib/view/cashFlow/cashFlowSelectorTypes.js +21 -28
  186. package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.d.ts +3 -4
  187. package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.js +3 -12
  188. package/lib/view/classList/classListPayload.d.ts +2 -1
  189. package/lib/view/common/recurringViewHelper.d.ts +2 -2
  190. package/lib/view/common/recurringViewHelper.js +1 -4
  191. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.d.ts +2 -1
  192. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.d.ts +0 -1
  193. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +1 -3
  194. package/lib/view/companyConfigView/companyConfigPayload.d.ts +2 -1
  195. package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.d.ts +2 -1
  196. package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.d.ts +6 -11
  197. package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.js +8 -13
  198. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewPayload.d.ts +3 -2
  199. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.d.ts +0 -4
  200. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.js +2 -3
  201. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewState.d.ts +2 -2
  202. package/lib/view/companyView/companyViewPayload.d.ts +10 -9
  203. package/lib/view/companyView/helpers/cockpitHelpers.d.ts +0 -1
  204. package/lib/view/companyView/helpers/cockpitHelpers.js +3 -3
  205. package/lib/view/companyView/selector/companyManagementViewSelector.d.ts +0 -2
  206. package/lib/view/companyView/selector/companyManagementViewSelector.js +4 -5
  207. package/lib/view/companyView/types/cockpitTypes.d.ts +0 -7
  208. package/lib/view/companyView/types/cockpitTypes.js +11 -19
  209. package/lib/view/companyView/types/companyMetaDataViewState.d.ts +2 -1
  210. package/lib/view/companyView/types/companyPassportViewPayload.d.ts +6 -5
  211. package/lib/view/fileView/fileViewPayload.d.ts +2 -1
  212. package/lib/view/fileView/fileViewState.d.ts +2 -1
  213. package/lib/view/forecastList/forecastListPayload.d.ts +2 -1
  214. package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.d.ts +0 -7
  215. package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.js +2 -3
  216. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.d.ts +1 -1
  217. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState.d.ts +0 -1
  218. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState.js +1 -3
  219. package/lib/view/globalMerchantView/globalMerchantViewPayload.d.ts +1 -1
  220. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelector.d.ts +0 -1
  221. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelector.js +1 -2
  222. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelectorTypes.d.ts +4 -6
  223. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelectorTypes.js +1 -3
  224. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.d.ts +3 -3
  225. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.js +4 -6
  226. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardPayload.d.ts +9 -11
  227. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardPayload.js +3 -4
  228. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes.d.ts +0 -1
  229. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes.js +1 -3
  230. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.d.ts +0 -2
  231. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.js +1 -5
  232. package/lib/view/notificationView/notificationViewPayload.d.ts +3 -17
  233. package/lib/view/notificationView/notificationViewState.d.ts +3 -4
  234. package/lib/view/notificationView/notificationViewState.js +7 -9
  235. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewPayload.d.ts +1 -15
  236. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewState.d.ts +2 -1
  237. package/lib/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.d.ts +2 -4
  238. package/lib/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.js +6 -9
  239. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.d.ts +0 -6
  240. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +2 -3
  241. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.d.ts +0 -8
  242. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +1 -2
  243. package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.d.ts +3 -2
  244. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +0 -6
  245. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +1 -4
  246. package/lib/view/onboardingView/customerView/onboardingCustomerViewState.d.ts +1 -2
  247. package/lib/view/onboardingView/customerView/onboardingCustomerViewState.js +5 -7
  248. package/lib/view/opEx/opExSelector.d.ts +0 -13
  249. package/lib/view/opEx/opExSelector.js +3 -4
  250. package/lib/view/opExByVendor/opExByVendorPayload.d.ts +4 -3
  251. package/lib/view/opExByVendor/opExByVendorState.d.ts +0 -1
  252. package/lib/view/opExByVendor/opExByVendorState.js +3 -3
  253. package/lib/view/opExClassesView/opExClassesViewSelectorTypes.d.ts +3 -3
  254. package/lib/view/opExClassesView/opExClassesViewSelectorTypes.js +4 -6
  255. package/lib/view/people/peopleTypes.d.ts +2 -2
  256. package/lib/view/people/peopleTypes.js +2 -4
  257. package/lib/view/profitAndLoss/profitAndLossSelector.d.ts +1 -1
  258. package/lib/view/profitAndLoss/profitAndLossSelector.js +2 -6
  259. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.d.ts +3 -2
  260. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.js +1 -3
  261. package/lib/view/recommendation/recommendationPayload.d.ts +3 -2
  262. package/lib/view/referralView/referralPayload.d.ts +4 -3
  263. package/lib/view/referralView/referralState.d.ts +3 -4
  264. package/lib/view/referralView/referralState.js +5 -10
  265. package/lib/view/reimbursementCard/reimbursementCardPayload.d.ts +4 -4
  266. package/lib/view/reimbursementCard/reimbursementCardState.d.ts +3 -2
  267. package/lib/view/reimbursementCard/reimbursementCardState.js +0 -2
  268. package/lib/view/revenue/revenueSelector.d.ts +0 -15
  269. package/lib/view/revenue/revenueSelector.js +1 -2
  270. package/lib/view/revenue/revenueSelectorTypes.d.ts +4 -6
  271. package/lib/view/revenue/revenueSelectorTypes.js +1 -3
  272. package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.d.ts +3 -3
  273. package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.js +4 -6
  274. package/lib/view/reviewCompanyView/reviewCompanyPayload.d.ts +2 -1
  275. package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +0 -1
  276. package/lib/view/reviewCompanyView/reviewCompanyViewState.js +3 -3
  277. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.d.ts +0 -1
  278. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +3 -3
  279. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +7 -14
  280. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +8 -13
  281. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailTypes.d.ts +2 -2
  282. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailTypes.js +2 -4
  283. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.d.ts +2 -28
  284. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.js +4 -24
  285. package/lib/view/scheduleView/scheduleListView/scheduleListPayload.d.ts +2 -1
  286. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +2 -4
  287. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.js +7 -8
  288. package/lib/view/settingsView/epic/fetchMyProfileEpic.d.ts +0 -6
  289. package/lib/view/settingsView/epic/fetchMyProfileEpic.js +1 -3
  290. package/lib/view/settingsView/settingsViewPayload.d.ts +3 -2
  291. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewPayload.d.ts +2 -1
  292. package/lib/view/spendManagement/billPay/billList/billListSelector.d.ts +3 -4
  293. package/lib/view/spendManagement/billPay/billList/billListSelector.js +3 -5
  294. package/lib/view/spendManagement/billPay/billList/billListState.d.ts +4 -4
  295. package/lib/view/spendManagement/billPay/billList/billListState.js +3 -6
  296. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.d.ts +15 -35
  297. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.js +7 -13
  298. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigSelector.d.ts +2 -1
  299. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +10 -15
  300. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.js +15 -21
  301. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.d.ts +3 -2
  302. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.d.ts +2 -1
  303. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.d.ts +2 -2
  304. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.d.ts +3 -4
  305. package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.d.ts +2 -1
  306. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewPayload.d.ts +4 -3
  307. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewSelector.d.ts +2 -1
  308. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState.d.ts +0 -2
  309. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState.js +5 -5
  310. package/lib/view/spendManagement/billPay/editBillView/editBillViewPayload.d.ts +3 -30
  311. package/lib/view/spendManagement/billPay/editBillView/editBillViewPayload.js +1 -25
  312. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +0 -2
  313. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +2 -4
  314. package/lib/view/spendManagement/billPay/editBillView/editBillViewState.d.ts +2 -2
  315. package/lib/view/spendManagement/billPay/editBillView/editBillViewState.js +3 -4
  316. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +0 -8
  317. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +3 -4
  318. package/lib/view/spendManagement/billPay/internationalWire/internationalWire.d.ts +2 -1
  319. package/lib/view/spendManagement/billPay/internationalWire/internationalWirePayload.d.ts +5 -10
  320. package/lib/view/spendManagement/billPay/internationalWire/internationalWirePayload.js +3 -5
  321. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.d.ts +7 -6
  322. package/lib/view/spendManagement/billPay/previousBills/previousBillsState.d.ts +2 -1
  323. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailPayload.d.ts +2 -1
  324. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.d.ts +0 -11
  325. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.js +3 -5
  326. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigPayload.d.ts +3 -2
  327. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +3 -2
  328. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailPayload.d.ts +3 -2
  329. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +0 -2
  330. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +5 -5
  331. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListPayload.d.ts +2 -1
  332. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.d.ts +1 -2
  333. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +2 -3
  334. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.d.ts +2 -2
  335. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewState.d.ts +0 -2
  336. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.d.ts +2 -1
  337. package/lib/view/spendManagement/commonHistoryView/commonHistory.d.ts +4 -3
  338. package/lib/view/spendManagement/commonHistoryView/commonHistoryPayload.d.ts +5 -5
  339. package/lib/view/spendManagement/commonHistoryView/commonHistoryPayload.js +2 -3
  340. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +1 -5
  341. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +1 -13
  342. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +2 -5
  343. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +1 -2
  344. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +2 -3
  345. package/lib/view/spendManagement/commonSetup/setupViewState.js +2 -6
  346. package/lib/view/spendManagement/helpers.d.ts +1 -3
  347. package/lib/view/spendManagement/helpers.js +3 -5
  348. package/lib/view/spendManagement/merchantList/merchantListPayload.d.ts +2 -1
  349. package/lib/view/spendManagement/plaidAccount/types/plaidConnection.d.ts +2 -1
  350. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.d.ts +2 -1
  351. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalState.d.ts +3 -2
  352. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewPayload.d.ts +2 -2
  353. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.d.ts +2 -3
  354. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +1 -22
  355. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewState.d.ts +2 -1
  356. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.d.ts +0 -6
  357. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js +2 -12
  358. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigPayload.d.ts +2 -1
  359. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigSelector.d.ts +0 -1
  360. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigSelector.js +1 -8
  361. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.d.ts +2 -1
  362. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.js +1 -2
  363. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewPayload.d.ts +4 -3
  364. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +2 -2
  365. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.js +3 -4
  366. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.d.ts +2 -1
  367. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.d.ts +0 -8
  368. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.js +1 -2
  369. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.d.ts +3 -2
  370. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewState.d.ts +1 -2
  371. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewState.js +1 -3
  372. package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.d.ts +3 -2
  373. package/lib/view/spendManagement/spendManagementFilterHelpers.d.ts +3 -7
  374. package/lib/view/spendManagement/spendManagementFilterHelpers.js +4 -7
  375. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailPayload.d.ts +3 -2
  376. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.d.ts +3 -2
  377. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListState.d.ts +2 -1
  378. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.d.ts +3 -2
  379. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailState.d.ts +2 -1
  380. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListState.d.ts +2 -1
  381. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListState.js +1 -2
  382. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.d.ts +2 -1
  383. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.d.ts +2 -2
  384. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.d.ts +4 -4
  385. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.js +2 -3
  386. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigState.d.ts +2 -1
  387. package/lib/view/subscriptionView/subscriptionEstmiatePayload.d.ts +1 -1
  388. package/lib/view/subscriptionView/subscriptionViewPayload.d.ts +9 -8
  389. package/lib/view/subscriptionView/subscriptionViewState.d.ts +3 -2
  390. package/lib/view/subscriptionView/types/subscriptionEstmiate.d.ts +4 -3
  391. package/lib/view/subscriptionView/types/subscriptionTypes.d.ts +2 -2
  392. package/lib/view/subscriptionView/types/subscriptionTypes.js +3 -4
  393. package/lib/view/tagView/tagViewPayload.d.ts +2 -2
  394. package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.d.ts +0 -7
  395. package/lib/view/taskManager/taskGroupView/taskGroupViewPayload.d.ts +2 -1
  396. package/lib/view/taskManager/taskListView/taskList.d.ts +2 -7
  397. package/lib/view/taskManager/taskListView/taskList.js +3 -4
  398. package/lib/view/taskManager/taskListView/taskListPayload.d.ts +2 -1
  399. package/lib/view/transactionDetail/transactionDetailPayload.d.ts +1 -1
  400. package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.d.ts +0 -8
  401. package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.js +1 -2
  402. package/lib/view/transactionList/transactionListByEntitySelector.d.ts +0 -2
  403. package/lib/view/transactionList/transactionListByEntitySelector.js +1 -2
  404. package/lib/view/transactionList/transactionListPayload.d.ts +5 -4
  405. package/lib/view/transactionList/transactionListState.d.ts +5 -4
  406. package/lib/view/trend/trendPayload.d.ts +4 -3
  407. package/lib/view/trendWithTransactions/trendWithTransactionsState.d.ts +2 -1
  408. package/lib/view/twoFactorAuthentication/twoFactorAuthenticationPayload.d.ts +3 -2
  409. package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.d.ts +0 -2
  410. package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.js +2 -3
  411. package/lib/view/userFinancialAccount/userFinancialAccountSelector.d.ts +0 -1
  412. package/lib/view/userFinancialAccount/userFinancialAccountSelector.js +2 -3
  413. package/lib/view/userListView/userListViewPayload.d.ts +2 -1
  414. package/lib/view/userRoleConfigView/userRoleConfigPayload.d.ts +2 -1
  415. package/lib/view/vendorList/vendorListPayload.d.ts +2 -5
  416. package/lib/view/vendorList/vendorListSelector.d.ts +0 -1
  417. package/lib/view/vendorList/vendorListSelector.js +1 -3
  418. package/lib/view/vendorReviewView/common/state/commonTypes.d.ts +3 -5
  419. package/lib/view/vendorReviewView/common/state/commonTypes.js +4 -26
  420. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewAttachmentsEpic.d.ts +0 -3
  421. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewPayload.d.ts +3 -3
  422. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.d.ts +2 -1
  423. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.d.ts +2 -2
  424. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.js +3 -3
  425. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.d.ts +2 -3
  426. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.js +3 -5
  427. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.d.ts +0 -2
  428. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.js +3 -5
  429. package/lib/view/vendorTypeList/vendorTypeListPayload.d.ts +2 -1
  430. package/lib/view/vendorTypeList/vendorTypeSelector.d.ts +0 -12
  431. package/lib/view/vendorTypeList/vendorTypeSelector.js +0 -11
  432. package/lib/view/zeniAccStatementList/zeniAccStatementListPayload.d.ts +2 -1
  433. package/package.json +5 -3
@@ -1,6 +1,7 @@
1
1
  import { ZeniAPIResponse } from '../../../../responsePayload';
2
- export interface PlaidLinkTokenPayload {
2
+ interface PlaidLinkTokenPayload {
3
3
  link_token: string;
4
4
  expiration: string;
5
5
  }
6
6
  export declare type PlaidLinkTokenResponse = ZeniAPIResponse<PlaidLinkTokenPayload>;
7
+ export {};
@@ -1,8 +1,9 @@
1
1
  import { EntityApprovalStatusPayload } from '../../../entity/entityApprovalStatus/entityApprovalStatusPayload';
2
2
  import { UserPayload } from '../../../entity/user/userPayload';
3
3
  import { ZeniAPIResponse } from '../../../responsePayload';
4
- export interface RealTimeApprovalPayload {
4
+ interface RealTimeApprovalPayload {
5
5
  entity_approval: EntityApprovalStatusPayload;
6
6
  attribute_users: UserPayload[];
7
7
  }
8
8
  export declare type RealTimeApprovalResponse = ZeniAPIResponse<RealTimeApprovalPayload>;
9
+ export {};
@@ -3,7 +3,7 @@ import { EntityType as SpendManagementEntityType } from '../../../entity/entityA
3
3
  import { Actor, ApprovalActionType, StepOperatorType } from '../../../entity/approvalRule/approvalRuleState';
4
4
  import { EntityType } from '../../../entity/entityApprovalStatus/entityApprovalStatusState';
5
5
  export declare const getEntityRealTimeApprovalDetailKey: (entityId: ID, entityType: SpendManagementEntityType) => string;
6
- export declare type EntityRealTimeApprovalDetailKey = ReturnType<typeof getEntityRealTimeApprovalDetailKey>;
6
+ declare type EntityRealTimeApprovalDetailKey = ReturnType<typeof getEntityRealTimeApprovalDetailKey>;
7
7
  export interface RealTimeStepsData {
8
8
  action: ApprovalActionType;
9
9
  operator: StepOperatorType;
@@ -17,10 +17,11 @@ export interface RealTimeApprovalDetailLocalData {
17
17
  description?: string;
18
18
  realTimeSteps: RealTimeStepsData[];
19
19
  }
20
- export interface RealTimeApprovalView extends FetchStateAndError {
20
+ interface RealTimeApprovalView extends FetchStateAndError {
21
21
  isEditMode: boolean;
22
22
  realTimeApproverIds: ID[];
23
23
  }
24
24
  export interface RealTimeApprovalState {
25
25
  realTimeApprovalById: Record<EntityRealTimeApprovalDetailKey, RealTimeApprovalView>;
26
26
  }
27
+ export {};
@@ -30,8 +30,7 @@ export interface ReceiptsProcessingPayload {
30
30
  merchants: MerchantPayload[];
31
31
  receipts: ReceiptPayload[];
32
32
  }
33
- export declare type ReceiptsProcessingResponse = ZeniAPIResponse<ReceiptsProcessingPayload>;
34
- export interface RemiSavePayload {
33
+ interface RemiSavePayload {
35
34
  transactions: ReimbursementPayload[];
36
35
  entity_approvals: EntityApprovalStatusPayload[];
37
36
  approval_rules: ApprovalRulePayload[];
@@ -44,3 +43,4 @@ export declare type CurrencyConversionResponse = ZeniAPIResponse<CurrencyConvers
44
43
  export declare type ReimbursementConfigResponse = ZeniAPIResponse<ReimbursementConfigPayload>;
45
44
  export declare const toReimbursementLineWithRecommendationFromMileage: (line: MilageReimbursementLine) => SegregatedReimbursementLineWithRecommendation;
46
45
  export declare const toReimbursementLineWithRecommendationFromOutOfPocket: (line: OutofPocketReimbursementLine) => SegregatedReimbursementLineWithRecommendation;
46
+ export {};
@@ -6,7 +6,6 @@ import { AccountListSelectorView } from '../../../accountList/accountListSelecto
6
6
  import { ClassListSelectorView } from '../../../classList/classListSelector';
7
7
  import { AutoFields, SegregatedReimbursementLineWithRecommendation, WhatForSection, SegregatedReimbursementLine } from './editRemiViewState';
8
8
  import { ReimbursementInfo, ReimbursementLine } from '../../../../entity/reimbursement/reimbursementState';
9
- import { File } from '../../../../entity/file/fileState';
10
9
  import { Attachment } from '../../../../entity/transaction/stateTypes/attachment';
11
10
  import { MerchantListSelectorView } from '../../merchantList/merchantListSelector';
12
11
  import { RemiActivity } from '../remiDetailView/remiDetailViewSelector';
@@ -54,7 +53,7 @@ export interface EditRemiDetailSelectorView extends BankAccountSelectorView, Sel
54
53
  latestApprovedDate?: ZeniDate;
55
54
  loggedInUserDepartmentId?: ID;
56
55
  }
57
- export interface EditRemiInitialDetails {
56
+ interface EditRemiInitialDetails {
58
57
  whatForSection?: WhatForSection;
59
58
  lineDetailSection: Record<ID, ReimbursementLineWithAttachment>;
60
59
  paymentTo?: ID;
@@ -69,5 +68,5 @@ export declare type ReimbursementLineWithAttachmentAndRecommendation = Segregate
69
68
  file?: Attachment;
70
69
  recommendationFetchState: FetchState;
71
70
  };
72
- export declare const mapFileToAttachment: (file: File | undefined) => Attachment | undefined;
73
71
  export declare const getEditRemiDetail: (state: RootState, reimbursementId?: string | undefined) => EditRemiDetailSelectorView;
72
+ export {};
@@ -3,12 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getEditRemiDetail = exports.mapFileToAttachment = void 0;
6
+ exports.getEditRemiDetail = void 0;
7
7
  const get_1 = __importDefault(require("lodash/get"));
8
8
  const reduceFetchState_1 = require("../../../../commonStateTypes/reduceFetchState");
9
9
  const accountListSelector_1 = require("../../../accountList/accountListSelector");
10
10
  const classListSelector_1 = require("../../../classList/classListSelector");
11
- const attachment_1 = require("../../../../entity/transaction/stateTypes/attachment");
12
11
  const merchantListSelector_1 = require("../../merchantList/merchantListSelector");
13
12
  const userSelector_1 = require("../../../../entity/user/userSelector");
14
13
  const remiDetailViewSelector_1 = require("../remiDetailView/remiDetailViewSelector");
@@ -22,26 +21,6 @@ const helpers_1 = require("../../helpers");
22
21
  const tenantSelector_1 = require("../../../../entity/tenant/tenantSelector");
23
22
  const reimbursementConfigSelector_1 = require("../reimbursementConfig/reimbursementConfigSelector");
24
23
  const reimbursementConfigState_1 = require("../reimbursementConfig/reimbursementConfigState");
25
- const mapFileToAttachment = (file) => {
26
- var _a;
27
- if (file != null) {
28
- return {
29
- id: file.fileId,
30
- contentType: (0, attachment_1.toContentType)(file.contentType),
31
- createTime: file.createTime,
32
- updateTime: (_a = file.updateTime) !== null && _a !== void 0 ? _a : file.createTime,
33
- fileName: file.fileName,
34
- fileSizeInBytes: file.fileSize,
35
- fileDownloadUrl: file.signedUrl,
36
- fileChecksum: file.checksum,
37
- fileId: file.fileId,
38
- };
39
- }
40
- else {
41
- return undefined;
42
- }
43
- };
44
- exports.mapFileToAttachment = mapFileToAttachment;
45
24
  const getEditRemiDetail = (state, reimbursementId) => {
46
25
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
47
26
  const { accountListState, accountState, remiDetailViewState, reimbursementState, currencyState, classListState, classState, editRemiDetailViewState, reimbursementConfigState, merchantListState, merchantState, userState, bankAccountState, commonHistoryState, } = state;
@@ -41,7 +41,7 @@ export interface OutofPocketLine extends ReimbursementBaseLineWithoutType {
41
41
  export interface MilageLine extends ReimbursementBaseLineWithoutType {
42
42
  distanceMileage: DistanceMilage;
43
43
  }
44
- export interface ReimbursementBaseLineWithoutType extends Amount {
44
+ interface ReimbursementBaseLineWithoutType extends Amount {
45
45
  lineDetail: LineDetail;
46
46
  transactionDate: ZeniDate;
47
47
  description: string;
@@ -62,3 +62,4 @@ export interface RemiDetailLocalData {
62
62
  paymentTo?: ID;
63
63
  }
64
64
  export declare type AutoFields = ('merchant' | 'transactionDate' | 'amount' | 'memo' | 'account' | 'class')[];
65
+ export {};
@@ -4,9 +4,3 @@ import { fetchRemiDetail, updateRemiDetail } from '../../remiDetailView/remiDeta
4
4
  import { fetchRemiAndInitializeLocalStore, initializeRemiToLocalStore, waitForRemiDetailThenInitializeLocalStore } from '../editRemiViewReducer';
5
5
  export declare type ActionType = ReturnType<typeof waitForRemiDetailThenInitializeLocalStore> | ReturnType<typeof fetchRemiDetail> | ReturnType<typeof updateRemiDetail> | ReturnType<typeof initializeRemiToLocalStore> | ReturnType<typeof fetchRemiAndInitializeLocalStore>;
6
6
  export declare const fetchRemiAndInitializeLocalStoreEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => import("rxjs").Observable<ActionType>;
7
- export declare const waitForRemiDetailThenInitializeLocalStoreEpic: (actions$: ActionsObservable<ActionType>, _: StateObservable<RootState>) => import("rxjs").Observable<{
8
- payload: {
9
- reimbursementId: string;
10
- };
11
- type: string;
12
- }>;
@@ -3,10 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.waitForRemiDetailThenInitializeLocalStoreEpic = exports.fetchRemiAndInitializeLocalStoreEpic = void 0;
6
+ exports.fetchRemiAndInitializeLocalStoreEpic = void 0;
7
+ const get_1 = __importDefault(require("lodash/get"));
7
8
  const rxjs_1 = require("rxjs");
8
9
  const operators_1 = require("rxjs/operators");
9
- const get_1 = __importDefault(require("lodash/get"));
10
10
  const remiDetailViewReducer_1 = require("../../remiDetailView/remiDetailViewReducer");
11
11
  const editRemiViewReducer_1 = require("../editRemiViewReducer");
12
12
  const fetchRemiAndInitializeLocalStoreEpic = (actions$,
@@ -44,13 +44,3 @@ state$) => actions$.pipe((0, operators_1.filter)(editRemiViewReducer_1.fetchRemi
44
44
  return (0, rxjs_1.from)(remiDetailActions);
45
45
  }));
46
46
  exports.fetchRemiAndInitializeLocalStoreEpic = fetchRemiAndInitializeLocalStoreEpic;
47
- const waitForRemiDetailThenInitializeLocalStoreEpic = (actions$,
48
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
49
- _) => actions$.pipe((0, operators_1.filter)(editRemiViewReducer_1.waitForRemiDetailThenInitializeLocalStore.match), (0, operators_1.switchMap)((action) => {
50
- const { reimbursementId } = action.payload;
51
- return actions$.pipe((0, operators_1.filter)((value) => editRemiViewReducer_1.indicateReadyToInitializeRemiLocalStore.match(value)), (0, operators_1.take)(1), // don't listen forever! IMPORTANT!
52
- (0, operators_1.mergeMap)(() => {
53
- return (0, rxjs_1.of)((0, editRemiViewReducer_1.initializeRemiToLocalStore)(reimbursementId));
54
- }));
55
- }));
56
- exports.waitForRemiDetailThenInitializeLocalStoreEpic = waitForRemiDetailThenInitializeLocalStoreEpic;
@@ -10,8 +10,9 @@ export interface ReimbursementConfigPayload {
10
10
  currency_country_map: CurrencyCountryPayload[];
11
11
  reimbursement_bot_email: string;
12
12
  }
13
- export interface ReimbursementConfigPaymentProcessorPayload {
13
+ interface ReimbursementConfigPaymentProcessorPayload {
14
14
  payment_timeline: Record<ReimbursementmentConfigCodeType, Record<ReimbursementmentSubConfigCodeType, ConfigTimelinePayload>>;
15
15
  }
16
16
  export declare const mapReimbursementConfigPayloadToReimbursementConfig: (payload: ReimbursementConfigPayload, code: ReimbursementmentConfigCodeType, subCode: ReimbursementmentSubConfigCodeType) => ReimbursementConfig;
17
17
  export declare type ReimbursementConfigResponse = ZeniAPIResponse<ReimbursementConfigPayload>;
18
+ export {};
@@ -1,4 +1,3 @@
1
1
  import { ReimbursementConfig, ReimbursementConfigKey, ReimbursementConfigState } from './reimbursementConfigState';
2
- export declare function getReimbursementConfigByKeys(reimbursementConfigState: ReimbursementConfigState, reimbursementConfigKeys: ReimbursementConfigKey[]): ReimbursementConfig[];
3
2
  export declare function getReimbursementConfigByKey(reimbursementConfigState: ReimbursementConfigState, reimbursementConfigKey: ReimbursementConfigKey): ReimbursementConfig | undefined;
4
3
  export declare function getReimbursementConfigBotEmail(reimbursementConfigState: ReimbursementConfigState): string;
@@ -3,15 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getReimbursementConfigBotEmail = exports.getReimbursementConfigByKey = exports.getReimbursementConfigByKeys = void 0;
6
+ exports.getReimbursementConfigBotEmail = exports.getReimbursementConfigByKey = void 0;
7
7
  const get_1 = __importDefault(require("lodash/get"));
8
- function getReimbursementConfigByKeys(reimbursementConfigState, reimbursementConfigKeys) {
9
- const reimbursementConfigs = reimbursementConfigKeys
10
- .map((id) => getReimbursementConfigByKey(reimbursementConfigState, id))
11
- .filter((value) => value != null);
12
- return reimbursementConfigs;
13
- }
14
- exports.getReimbursementConfigByKeys = getReimbursementConfigByKeys;
15
8
  function getReimbursementConfigByKey(reimbursementConfigState, reimbursementConfigKey) {
16
9
  return (0, get_1.default)(reimbursementConfigState.methodById, reimbursementConfigKey, undefined);
17
10
  }
@@ -12,7 +12,8 @@ export interface ReimbursementConfig {
12
12
  method: ReimbursementConfigKey;
13
13
  }
14
14
  export declare const REIMBURSEMENT_PAYMENT_METHOD_CODE: readonly ["ach"];
15
- export declare const toReimbursementmentMethodCodeType: (v: string) => "ach";
15
+ declare const toReimbursementmentMethodCodeType: (v: string) => "ach";
16
16
  export declare type ReimbursementmentConfigCodeType = ReturnType<typeof toReimbursementmentMethodCodeType>;
17
17
  export declare type ReimbursementmentSubConfigCodeType = PaymentAchSubConfigCodeType;
18
18
  export declare const REIMBURSEMENT_PAYMENT_NUMBER_OF_DAYS = 2;
19
+ export {};
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.REIMBURSEMENT_PAYMENT_NUMBER_OF_DAYS = exports.toReimbursementmentMethodCodeType = exports.REIMBURSEMENT_PAYMENT_METHOD_CODE = exports.getReimbursementConfigKey = void 0;
3
+ exports.REIMBURSEMENT_PAYMENT_NUMBER_OF_DAYS = exports.REIMBURSEMENT_PAYMENT_METHOD_CODE = exports.getReimbursementConfigKey = void 0;
4
4
  const stringToUnion_1 = require("../../../../commonStateTypes/stringToUnion");
5
5
  const getReimbursementConfigKey = (method, subMethod) => `reimbursement_${method}_${subMethod}`;
6
6
  exports.getReimbursementConfigKey = getReimbursementConfigKey;
7
7
  exports.REIMBURSEMENT_PAYMENT_METHOD_CODE = ['ach'];
8
8
  const toReimbursementmentMethodCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.REIMBURSEMENT_PAYMENT_METHOD_CODE);
9
- exports.toReimbursementmentMethodCodeType = toReimbursementmentMethodCodeType;
10
9
  exports.REIMBURSEMENT_PAYMENT_NUMBER_OF_DAYS = 2;
@@ -5,7 +5,7 @@ import { MerchantPayload } from '../../../../entity/merchant/merchantPayload';
5
5
  import { ReimbursementPayload } from '../../../../entity/reimbursement/reimbursementPayload';
6
6
  import { UserPayload } from '../../../../entity/user/userPayload';
7
7
  import { ZeniAPIResponse } from '../../../../responsePayload';
8
- export interface ApproveOrRejectRemiPayload {
8
+ interface ApproveOrRejectRemiPayload {
9
9
  approval_rules: ApprovalRulePayload[];
10
10
  users: UserPayload[];
11
11
  entity_approvals: EntityApprovalStatusPayload[];
@@ -20,7 +20,7 @@ export interface RemiDetailViewPayload {
20
20
  merchants: MerchantPayload[];
21
21
  reimbursee_bank_account: BankAccountPayload | null;
22
22
  }
23
- export interface RemiDetailQuery {
23
+ interface RemiDetailQuery {
24
24
  reimbursement_provider: string;
25
25
  is_include_approval_info: boolean;
26
26
  is_include_payment_accounts_info: boolean;
@@ -33,7 +33,8 @@ export interface DuplicateLinePayload {
33
33
  duplicate_transaction_id: string | null;
34
34
  }
35
35
  export declare type RemiDetailViewResponse = ZeniAPIResponse<RemiDetailViewPayload>;
36
- export interface DuplicateReimbursementPayload {
36
+ interface DuplicateReimbursementPayload {
37
37
  lines: DuplicateLinePayload[];
38
38
  }
39
39
  export declare type DuplicateReimbursementResponse = ZeniAPIResponse<DuplicateReimbursementPayload>;
40
+ export {};
@@ -38,8 +38,7 @@ export declare const toRemiSubTabTypeStrict: (v: string) => "all" | "failed" | "
38
38
  export declare type RemiSubTabType = ReturnType<typeof toRemiSubTabType>;
39
39
  export declare const toRemiSubTabUnderScoreType: (v: string) => "all" | "failed" | "rejected" | "ach" | "wire" | "cancelled" | "deleted" | "overdue" | "awaiting_approval" | "awaiting_my_approval" | "my_drafts" | "awaiting_all_approval";
40
40
  export declare type RemiSubTabUnderScoreType = ReturnType<typeof toRemiSubTabUnderScoreType>;
41
- export declare const ALL_REIMBURSEMENT_SORT_KEYS: readonly ["reportName", "submittedOn", "type", "status", "amount"];
42
- export declare const toReimbursementSortKeyType: (v: string) => "type" | "status" | "amount" | "submittedOn" | "reportName";
41
+ declare const toReimbursementSortKeyType: (v: string) => "type" | "status" | "amount" | "submittedOn" | "reportName";
43
42
  export declare type ReimbursementViewSortKey = ReturnType<typeof toReimbursementSortKeyType>;
44
43
  export interface ReimbursementFilters {
45
44
  categoryCombinationOperator: CategoryCombinationOperator;
@@ -54,3 +53,4 @@ export interface ReimbursementFilterCategory {
54
53
  export declare type RemiListViewFilterCategoryField = 'createdBy' | 'status' | 'amount' | 'receiptDate' | 'creationDate' | 'paymentMethod';
55
54
  export declare const REIMBURSEMENT_FILTER_CATEGORIES: ReimbursementFilterCategoryDropdownOption[];
56
55
  export declare const REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED: ReimbursementFilterCategoryDropdownOption[];
56
+ export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED = exports.REIMBURSEMENT_FILTER_CATEGORIES = exports.toReimbursementSortKeyType = exports.ALL_REIMBURSEMENT_SORT_KEYS = exports.toRemiSubTabUnderScoreType = exports.toRemiSubTabTypeStrict = exports.toRemiSubTabType = exports.toRemiTabTypeStrict = exports.toRemiTabType = exports.ALL_REMI_TABS = exports.remiListInitialState = exports.getRemiListKey = void 0;
3
+ exports.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED = exports.REIMBURSEMENT_FILTER_CATEGORIES = exports.toRemiSubTabUnderScoreType = exports.toRemiSubTabTypeStrict = exports.toRemiSubTabType = exports.toRemiTabTypeStrict = exports.toRemiTabType = exports.ALL_REMI_TABS = exports.remiListInitialState = exports.getRemiListKey = void 0;
4
4
  const stringToUnion_1 = require("../../../../commonStateTypes/stringToUnion");
5
5
  const getRemiListKey = (period, tab) => `remi-${tab}-${period.start.day}_${period.start.month}_${period.start.year}_${period.end.day}_${period.end.month}_${period.end.year}`;
6
6
  exports.getRemiListKey = getRemiListKey;
@@ -61,15 +61,14 @@ const REMI_SUB_TAB_UNDERSCORE = [
61
61
  ];
62
62
  const toRemiSubTabUnderScoreType = (v) => (0, stringToUnion_1.stringToUnion)(v, REMI_SUB_TAB_UNDERSCORE);
63
63
  exports.toRemiSubTabUnderScoreType = toRemiSubTabUnderScoreType;
64
- exports.ALL_REIMBURSEMENT_SORT_KEYS = [
64
+ const ALL_REIMBURSEMENT_SORT_KEYS = [
65
65
  'reportName',
66
66
  'submittedOn',
67
67
  'type',
68
68
  'status',
69
69
  'amount',
70
70
  ];
71
- const toReimbursementSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_REIMBURSEMENT_SORT_KEYS);
72
- exports.toReimbursementSortKeyType = toReimbursementSortKeyType;
71
+ const toReimbursementSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_REIMBURSEMENT_SORT_KEYS);
73
72
  exports.REIMBURSEMENT_FILTER_CATEGORIES = [
74
73
  {
75
74
  value: 'createdBy',
@@ -4,7 +4,7 @@ import { AttributeType } from '../../../../entity/approvalRule/approvalRuleState
4
4
  import { UserRolePayload } from '../../../../entity/userRole/userRolePayload';
5
5
  import { ApproverViewPayload } from '../../billPay/billPaySetupApproverView/types/commonPayload';
6
6
  import { ID } from '../../../../commonStateTypes/common';
7
- export interface RemiSetupApproversListPayload {
7
+ interface RemiSetupApproversListPayload {
8
8
  users: UserPayload[];
9
9
  attributes: AttributeType[];
10
10
  user_roles: UserRolePayload[];
@@ -12,3 +12,4 @@ export interface RemiSetupApproversListPayload {
12
12
  }
13
13
  export declare type RemiSetupApproverViewResponse = ZeniAPIResponse<ApproverViewPayload>;
14
14
  export declare type RemiSetupApproversListResponse = ZeniAPIResponse<RemiSetupApproversListPayload>;
15
+ export {};
@@ -1,13 +1,5 @@
1
1
  import { ActionsObservable, StateObservable } from 'redux-observable';
2
2
  import { RootState } from '../../../../../../reducer';
3
- import { Company } from '../../../../../../entity/company/companyStateTypes';
4
3
  import { updateRemiSetupViewLocalStoreData, clearRemiSetupViewDataInLocalStore, saveRemiSetupViewDataInLocalStore } from '../../remiSetupViewReducer';
5
- import { MileageDetailsLocalData } from '../../remiSetupViewState';
6
4
  export declare type ActionType = ReturnType<typeof updateRemiSetupViewLocalStoreData> | ReturnType<typeof saveRemiSetupViewDataInLocalStore> | ReturnType<typeof clearRemiSetupViewDataInLocalStore>;
7
5
  export declare const updateRemiSetupViewLocalStoreDataEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => import("rxjs").Observable<ActionType>;
8
- /**
9
- * Helpers
10
- */
11
- export declare function toMileageLocalData(company: Company): {
12
- mileageDetails: MileageDetailsLocalData;
13
- };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toMileageLocalData = exports.updateRemiSetupViewLocalStoreDataEpic = void 0;
3
+ exports.updateRemiSetupViewLocalStoreDataEpic = void 0;
4
4
  const rxjs_1 = require("rxjs");
5
5
  const operators_1 = require("rxjs/operators");
6
6
  const amount_1 = require("../../../../../../commonStateTypes/amount");
@@ -38,4 +38,3 @@ function toMileageLocalData(company) {
38
38
  };
39
39
  return { mileageDetails };
40
40
  }
41
- exports.toMileageLocalData = toMileageLocalData;
@@ -1,6 +1,7 @@
1
1
  import { ZeniAPIResponse } from '../../../../responsePayload';
2
2
  import { EnableSetupViewPayload, SetupViewPayload } from '../../commonSetup/setupViewPayload';
3
- export declare type EnableRemiSetupViewPayload = EnableSetupViewPayload;
4
- export declare type RemiSetupViewPayload = SetupViewPayload;
3
+ declare type EnableRemiSetupViewPayload = EnableSetupViewPayload;
4
+ declare type RemiSetupViewPayload = SetupViewPayload;
5
5
  export declare type RemiSetupViewResponse = ZeniAPIResponse<RemiSetupViewPayload>;
6
6
  export declare type EnableRemiSetupViewResponse = ZeniAPIResponse<EnableRemiSetupViewPayload>;
7
+ export {};
@@ -1,9 +1,8 @@
1
- import { FetchedState, FetchStateAndError } from '../../../../commonStateTypes/common';
2
1
  import { Amount } from '../../../../commonStateTypes/amount';
2
+ import { FetchedState, FetchStateAndError } from '../../../../commonStateTypes/common';
3
3
  import { SetupViewLocalData } from '../../commonSetup/setupViewState';
4
4
  export declare const toMileageDenominationType: (v: string) => "cents" | "dollars";
5
5
  export declare type MileageDenomination = ReturnType<typeof toMileageDenominationType>;
6
- export declare const toMileageDenominationTypeStrict: (v: string | null) => MileageDenomination | undefined;
7
6
  export interface MileageDetailsLocalData {
8
7
  mileageUnitAmount?: Amount;
9
8
  mileageUnit: string;
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toMileageDenominationTypeStrict = exports.toMileageDenominationType = void 0;
3
+ exports.toMileageDenominationType = void 0;
4
4
  const stringToUnion_1 = require("../../../../commonStateTypes/stringToUnion");
5
5
  const ALL_DENOMINATION_TYPES = ['cents', 'dollars'];
6
6
  const toMileageDenominationType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_DENOMINATION_TYPES);
7
7
  exports.toMileageDenominationType = toMileageDenominationType;
8
- const toMileageDenominationTypeStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v !== null && v !== void 0 ? v : '', ALL_DENOMINATION_TYPES);
9
- exports.toMileageDenominationTypeStrict = toMileageDenominationTypeStrict;
@@ -2,13 +2,14 @@ import { ZeniAPIResponse } from '../../../../../responsePayload';
2
2
  import { CompanyPayload } from '../../../../../entity/company/companyPayload';
3
3
  import { UserPayload } from '../../../../../entity/user/userPayload';
4
4
  import { UserRolePayload } from '../../../../../entity/userRole/userRolePayload';
5
- export interface AcceptRemiTermsPayload {
5
+ interface AcceptRemiTermsPayload {
6
6
  companies: CompanyPayload[];
7
7
  users: UserPayload[];
8
8
  user_roles: UserRolePayload[];
9
9
  }
10
10
  export declare type AcceptRemiTermsResponse = ZeniAPIResponse<AcceptRemiTermsPayload>;
11
- export interface AcceptEmployeeRemiTermsPayload {
11
+ interface AcceptEmployeeRemiTermsPayload {
12
12
  user_roles: UserRolePayload[];
13
13
  }
14
14
  export declare type AcceptEmployeeRemiTermsResponse = ZeniAPIResponse<AcceptEmployeeRemiTermsPayload>;
15
+ export {};
@@ -3,13 +3,12 @@ import { RootState } from '../../reducer';
3
3
  import { ZeniDate } from '../../zeniDayJS';
4
4
  import { UserRoleType } from '../../entity/userRole/userRoleType';
5
5
  import { BillTransactionView } from './billPay/billList/billListSelector';
6
- import { BillListViewFilterCategoryField, BillPayFilterCategory, BillPayFilters } from './billPay/billList/billListState';
6
+ import { BillListViewFilterCategoryField, BillPayFilters } from './billPay/billList/billListState';
7
7
  import { ReimbursementView } from './reimbursement/remiListView/remiListSelector';
8
- import { ReimbursementFilterCategory, ReimbursementFilters, RemiListViewFilterCategoryField } from './reimbursement/remiListView/remiListState';
9
- import { TaskFilterCategory, TaskListFilterCategoryField, TaskListFilters } from '../taskManager/taskListView/taskList';
8
+ import { ReimbursementFilters, RemiListViewFilterCategoryField } from './reimbursement/remiListView/remiListState';
9
+ import { TaskListFilterCategoryField, TaskListFilters } from '../taskManager/taskListView/taskList';
10
10
  import { TaskWithUserDetails } from '../taskManager/taskListView/taskListSelector';
11
11
  export declare type SpendManagementFiltersType = BillPayFilters | ReimbursementFilters | TaskListFilters;
12
- export declare type SpendManagementFilterCategory = BillPayFilterCategory | ReimbursementFilterCategory | TaskFilterCategory;
13
12
  export declare type SpendManagementFilterEntityType = 'bill_pay' | 'reimbursement' | 'task_management';
14
13
  export declare type FilterCategoryType = 'searchAutocomplete' | 'user' | 'dateRange' | 'numberRange' | 'dropdown';
15
14
  export interface MatchingOperatorDropdownOption {
@@ -34,9 +33,6 @@ export interface TaskFilterCategoryDropdownOption {
34
33
  }
35
34
  export declare type SpendManagementFilterCategoryDropdownOption = BillPayFilterCategoryDropdownOption | ReimbursementFilterCategoryDropdownOption | TaskFilterCategoryDropdownOption;
36
35
  export declare type FilterCategoryValueType = string | number | ZeniDate;
37
- export declare const filterItemOnCategoriesWithSingleValue: (categoryValue: FilterCategoryValueType, currentFilter: SpendManagementFilterCategory, rangeTypeFields: string[]) => boolean;
38
- export declare const filterItemOnCategoriesWithMultipleValues: (categoryValue: string[], currentFilter: SpendManagementFilterCategory) => boolean;
39
- export declare const removeDuplicatesFromList: (list: (BillTransactionView | ReimbursementView | TaskWithUserDetails)[]) => (BillTransactionView | ReimbursementView | TaskWithUserDetails)[];
40
36
  export declare const applyAdvancedFiltersOnList: (entity: SpendManagementFilterEntityType, allItems: BillTransactionView[] | ReimbursementView[] | TaskWithUserDetails[], filters?: BillPayFilters | ReimbursementFilters | TaskListFilters | undefined, filteredItems?: (BillTransactionView | ReimbursementView | TaskWithUserDetails)[], index?: number) => (BillTransactionView | ReimbursementView | TaskWithUserDetails)[];
41
37
  export declare const isBillListDownloadable: (state: RootState, currentTimePeriod: TimePeriod) => boolean;
42
38
  export declare const isRemiListDownloadable: (state: RootState, currentTimePeriod: TimePeriod) => boolean;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.hideCreatedByFilter = exports.isRemiListDownloadable = exports.isBillListDownloadable = exports.applyAdvancedFiltersOnList = exports.removeDuplicatesFromList = exports.filterItemOnCategoriesWithMultipleValues = exports.filterItemOnCategoriesWithSingleValue = void 0;
6
+ exports.hideCreatedByFilter = exports.isRemiListDownloadable = exports.isBillListDownloadable = exports.applyAdvancedFiltersOnList = void 0;
7
7
  const get_1 = __importDefault(require("lodash/get"));
8
8
  const zeniDayJS_1 = require("../../zeniDayJS");
9
9
  const userSelector_1 = require("../../entity/user/userSelector");
@@ -53,7 +53,6 @@ const filterItemOnCategoriesWithSingleValue = (categoryValue, currentFilter, ran
53
53
  }
54
54
  return currentFilter.values.indexOf(categoryValue.toString()) > -1;
55
55
  };
56
- exports.filterItemOnCategoriesWithSingleValue = filterItemOnCategoriesWithSingleValue;
57
56
  //filters items which have multiple values against a filter category. ex: status - ['scheduled','approved']
58
57
  const filterItemOnCategoriesWithMultipleValues = (categoryValue, currentFilter) => {
59
58
  // logic for multi valued columns - ex: billStatus
@@ -74,7 +73,6 @@ const filterItemOnCategoriesWithMultipleValues = (categoryValue, currentFilter)
74
73
  return true;
75
74
  }
76
75
  };
77
- exports.filterItemOnCategoriesWithMultipleValues = filterItemOnCategoriesWithMultipleValues;
78
76
  const removeDuplicatesFromList = (list) => {
79
77
  const foundIds = [];
80
78
  return list.filter((item) => {
@@ -86,7 +84,6 @@ const removeDuplicatesFromList = (list) => {
86
84
  return false;
87
85
  });
88
86
  };
89
- exports.removeDuplicatesFromList = removeDuplicatesFromList;
90
87
  //filters against all filter categories for the respective list (allItems) recursively
91
88
  const applyAdvancedFiltersOnList = (entity, allItems, filters, filteredItems = [], index = 0) => {
92
89
  // if there are no filters we will return allBills
@@ -124,10 +121,10 @@ const applyAdvancedFiltersOnList = (entity, allItems, filters, filteredItems = [
124
121
  else if ((currentFilter.field === 'status' ||
125
122
  currentFilter.field === 'assignee') &&
126
123
  Array.isArray(categoryValue)) {
127
- return (0, exports.filterItemOnCategoriesWithMultipleValues)(categoryValue, currentFilter);
124
+ return filterItemOnCategoriesWithMultipleValues(categoryValue, currentFilter);
128
125
  }
129
126
  else {
130
- return (0, exports.filterItemOnCategoriesWithSingleValue)(categoryValue, currentFilter, [
127
+ return filterItemOnCategoriesWithSingleValue(categoryValue, currentFilter, [
131
128
  'amount',
132
129
  'invoiceDate',
133
130
  'paymentDate',
@@ -139,7 +136,7 @@ const applyAdvancedFiltersOnList = (entity, allItems, filters, filteredItems = [
139
136
  });
140
137
  // if categoryCombinationOperator is OR we will union already filtered and the items which match current filter criteria
141
138
  if (filters.categoryCombinationOperator === 'OR') {
142
- filteredItems = (0, exports.removeDuplicatesFromList)([
139
+ filteredItems = removeDuplicatesFromList([
143
140
  ...itemsWithCurrentFilter,
144
141
  ...filteredItems,
145
142
  ]);
@@ -1,12 +1,13 @@
1
1
  import { BalancePayload } from '../../../../commonPayloadTypes/balanceChangePayload';
2
2
  import { ZeniAPIResponse } from '../../../../responsePayload';
3
3
  import { AccountHistoryWithBalance } from './depositAccountDetailState';
4
- export interface AccountHistoryPayload {
4
+ interface AccountHistoryPayload {
5
5
  date: string;
6
6
  balances: BalancePayload;
7
7
  }
8
- export interface FetchAccountHistoryPayload {
8
+ interface FetchAccountHistoryPayload {
9
9
  account_end_of_day_balances: AccountHistoryPayload[];
10
10
  }
11
11
  export declare type FetchAccountHistoryResponse = ZeniAPIResponse<FetchAccountHistoryPayload>;
12
12
  export declare const mapAccountHistoryPayloadToAccountHistory: (payload: AccountHistoryPayload) => AccountHistoryWithBalance;
13
+ export {};
@@ -1,11 +1,11 @@
1
1
  import { DepositAccountTransactionPayload } from '../../../../entity/depositAccountTransaction/depositAccountTransactionPayload';
2
2
  import { ZeniAPIResponse } from '../../../../responsePayload';
3
- export interface DepositAccountTransactionListPayload {
3
+ interface DepositAccountTransactionListPayload {
4
4
  query: DepositAccountTransactionListQueryparam;
5
5
  deposit_account: DepositAccTransactionListPayload;
6
6
  }
7
7
  export declare type FetchDepositAccountTransactionListResponse = ZeniAPIResponse<DepositAccountTransactionListPayload>;
8
- export interface DepositAccTransactionListPayload {
8
+ interface DepositAccTransactionListPayload {
9
9
  deposit_account_id: string;
10
10
  deposit_account_name: string;
11
11
  transactions: DepositAccountTransactionPayload[];
@@ -15,3 +15,4 @@ export interface DepositAccountTransactionListQueryparam {
15
15
  end_date: string;
16
16
  limit?: number;
17
17
  }
18
+ export {};
@@ -1,5 +1,5 @@
1
1
  import { FetchStateAndError, ID } from '../../../../commonStateTypes/common';
2
- export interface TransactionsByDepositId extends FetchStateAndError {
2
+ interface TransactionsByDepositId extends FetchStateAndError {
3
3
  transactions: ID[];
4
4
  depositAccountName: string;
5
5
  }
@@ -7,3 +7,4 @@ export interface DepositAccountTransactionListState {
7
7
  byDepositId: Record<ID, TransactionsByDepositId>;
8
8
  }
9
9
  export declare const initialTransactionsByDepositId: TransactionsByDepositId;
10
+ export {};
@@ -1,14 +1,14 @@
1
1
  import { AmountPayload } from '../../../../entity/reimbursement/reimbursementPayload';
2
2
  import { ZeniAPIResponse } from '../../../../responsePayload';
3
3
  import { ReviewTransferMoney } from './transferDetailState';
4
- export interface TransferMoneyPayload {
4
+ interface TransferMoneyPayload {
5
5
  transaction_id: string;
6
6
  amount: number;
7
7
  currency_code: string;
8
8
  currency_symbol: string;
9
9
  transaction_creation_time: string;
10
10
  }
11
- export interface TransferSchedulePayload {
11
+ interface TransferSchedulePayload {
12
12
  amount: number;
13
13
  currency_code: string;
14
14
  currency_symbol: string;
@@ -22,3 +22,4 @@ export interface ReviewTransferMoneyPayload {
22
22
  export declare const mapReviewTransferMoneyPayloadToReviewTransferMoney: (payload: ReviewTransferMoneyPayload) => ReviewTransferMoney;
23
23
  export declare type ReviewTransferMoneyResponse = ZeniAPIResponse<ReviewTransferMoneyPayload>;
24
24
  export declare type TransferMoneyResponse = ZeniAPIResponse<TransferMoneyPayload>;
25
+ export {};
@@ -19,6 +19,7 @@ export interface ReviewTransferMoney {
19
19
  dailyAchDebitLimit: Amount;
20
20
  transferSchedules: TransferSchedule[];
21
21
  }
22
- export interface TransferSchedule extends Amount {
22
+ interface TransferSchedule extends Amount {
23
23
  scheduleTime: ZeniDate;
24
24
  }
25
+ export {};
@@ -18,5 +18,6 @@ export interface ZeniAccountSummaryWithBalance {
18
18
  totalInterest: DepositBalance;
19
19
  }
20
20
  export declare const ZENI_ACCOUNTS_TAB: readonly ["zeniAccounts", "externalAccounts"];
21
- export declare const toZeniAccountsTab: (v: string) => "zeniAccounts" | "externalAccounts";
21
+ declare const toZeniAccountsTab: (v: string) => "zeniAccounts" | "externalAccounts";
22
22
  export declare type ZeniAccountsTab = ReturnType<typeof toZeniAccountsTab>;
23
+ export {};
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toZeniAccountsTab = exports.ZENI_ACCOUNTS_TAB = void 0;
3
+ exports.ZENI_ACCOUNTS_TAB = void 0;
4
4
  const stringToUnion_1 = require("../../../../commonStateTypes/stringToUnion");
5
5
  exports.ZENI_ACCOUNTS_TAB = ['zeniAccounts', 'externalAccounts'];
6
6
  const toZeniAccountsTab = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ZENI_ACCOUNTS_TAB);
7
- exports.toZeniAccountsTab = toZeniAccountsTab;
@@ -2,9 +2,10 @@ import { ZeniAPIResponse } from '../../../../../responsePayload';
2
2
  import { CompanyPayload } from '../../../../../entity/company/companyPayload';
3
3
  import { UserPayload } from '../../../../../entity/user/userPayload';
4
4
  import { UserRolePayload } from '../../../../../entity/userRole/userRolePayload';
5
- export interface AcceptZeniAccountTermsPayload {
5
+ interface AcceptZeniAccountTermsPayload {
6
6
  companies: CompanyPayload[];
7
7
  users: UserPayload[];
8
8
  user_roles: UserRolePayload[];
9
9
  }
10
10
  export declare type AcceptZeniAccountTermsResponse = ZeniAPIResponse<AcceptZeniAccountTermsPayload>;
11
+ export {};