@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,6 @@
1
1
  import { ZeniAPIResponse } from '../../../../responsePayload';
2
2
  import { EnableSetupViewPayload, SetupViewPayload } from '../../commonSetup/setupViewPayload';
3
3
  export declare type EnableZeniAccountSetupViewPayload = EnableSetupViewPayload;
4
- export declare type ZeniAccountSetupViewPayload = SetupViewPayload;
4
+ declare type ZeniAccountSetupViewPayload = SetupViewPayload;
5
5
  export declare type ZeniAccountSetupViewResponse = ZeniAPIResponse<ZeniAccountSetupViewPayload>;
6
- export declare type EnableZeniAccountSetupViewResponse = ZeniAPIResponse<EnableZeniAccountSetupViewPayload>;
6
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { AddressPayload } from '../../../../entity/address/addressPayload';
2
2
  import { ZeniAPIResponse } from '../../../../responsePayload';
3
- import { ZeniAccountsConfig, DepositProductConfig } from './zeniAccountsConfigState';
3
+ import { ZeniAccountsConfig } from './zeniAccountsConfigState';
4
4
  export interface ZeniAccountsConfigPayload {
5
5
  apy: string | null;
6
6
  bank_name: string;
@@ -9,12 +9,12 @@ export interface ZeniAccountsConfigPayload {
9
9
  bank_address: AddressPayload;
10
10
  }
11
11
  export declare const mapZeniAccountsConfigPayloadToZeniAccountsConfigState: (payload: ZeniAccountsConfigPayload) => ZeniAccountsConfig;
12
- export declare const mapDepositProductConfigPayloadToDepositProductConfig: (payload: DepositProductConfigPayload) => DepositProductConfig;
13
- export interface DepositProductConfigPayload {
12
+ interface DepositProductConfigPayload {
14
13
  deposit_products: DepositProductsPayload[];
15
14
  }
16
- export interface DepositProductsPayload {
15
+ interface DepositProductsPayload {
17
16
  apy: number;
18
17
  range: (number | null)[];
19
18
  }
20
19
  export declare type FetchZeniAccountsConfigResponse = ZeniAPIResponse<ZeniAccountsConfigPayload>;
20
+ export {};
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.mapDepositProductConfigPayloadToDepositProductConfig = exports.mapZeniAccountsConfigPayloadToZeniAccountsConfigState = void 0;
3
+ exports.mapZeniAccountsConfigPayloadToZeniAccountsConfigState = void 0;
4
4
  const mapZeniAccountsConfigPayloadToZeniAccountsConfigState = (payload) => ({
5
5
  annualPercentageYield: payload.apy != null ? payload.apy : '',
6
6
  bankName: payload.bank_name,
7
7
  mailingAddressId: payload.mailing_address.address_id,
8
8
  bankAddressId: payload.bank_address.address_id,
9
- depositProductConfig: (0, exports.mapDepositProductConfigPayloadToDepositProductConfig)(payload.deposit_product_config),
9
+ depositProductConfig: mapDepositProductConfigPayloadToDepositProductConfig(payload.deposit_product_config),
10
10
  });
11
11
  exports.mapZeniAccountsConfigPayloadToZeniAccountsConfigState = mapZeniAccountsConfigPayloadToZeniAccountsConfigState;
12
12
  const mapDepositProductConfigPayloadToDepositProductConfig = (payload) => {
@@ -20,4 +20,3 @@ const mapDepositProductConfigPayloadToDepositProductConfig = (payload) => {
20
20
  depositProducts: array,
21
21
  };
22
22
  };
23
- exports.mapDepositProductConfigPayloadToDepositProductConfig = mapDepositProductConfigPayloadToDepositProductConfig;
@@ -12,7 +12,8 @@ export interface ZeniAccountsConfig {
12
12
  export interface DepositProductConfig {
13
13
  depositProducts: DepositProduct[];
14
14
  }
15
- export interface DepositProduct {
15
+ interface DepositProduct {
16
16
  annualPercentageYield: number;
17
17
  range: (number | null)[];
18
18
  }
19
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { AllowedValueWithCode } from '../../commonStateTypes/allowedValue';
2
2
  import { ZeniAPIResponse } from '../../responsePayload';
3
3
  import { SubscriptionEstimateWithSchema } from './types/subscriptionEstmiate';
4
- export interface CommonEstimatePayload {
4
+ interface CommonEstimatePayload {
5
5
  change_status: string;
6
6
  amount: number;
7
7
  description: string;
@@ -10,28 +10,28 @@ import { UserRolePayload } from '../../entity/userRole/userRolePayload';
10
10
  import { ZeniAPIResponse } from '../../responsePayload';
11
11
  import { CompanyViewSchemaPayload } from '../companyView/companyViewPayload';
12
12
  import { SubscriptionUpdateData, SubscriptionCreateData } from './subscriptionViewState';
13
- export interface SubscriptionPlansDataPayload {
13
+ interface SubscriptionPlansDataPayload {
14
14
  subscription_plans: SubscriptionPlanPayload[];
15
15
  schema: {
16
16
  subscription_plan: SubscriptionPlanSchemaPayload;
17
17
  };
18
18
  }
19
19
  export declare type SubscriptionPlansResponse = ZeniAPIResponse<SubscriptionPlansDataPayload>;
20
- export interface SubscriptionAddOnsDataPayload {
20
+ interface SubscriptionAddOnsDataPayload {
21
21
  subscription_addons: SubscriptionAddOnPayload[];
22
22
  schema: {
23
23
  subscription_addon: Partial<SubscriptionAddOnSchemaPayload>;
24
24
  };
25
25
  }
26
26
  export declare type SubscriptionAddOnsResponse = ZeniAPIResponse<SubscriptionAddOnsDataPayload>;
27
- export interface SubscriptionCouponsDataPayload {
27
+ interface SubscriptionCouponsDataPayload {
28
28
  subscription_coupons: SubscriptionCouponPayload[];
29
29
  schema: {
30
30
  subscription_coupon: SubscriptionCouponSchemaPayload;
31
31
  };
32
32
  }
33
33
  export declare type SubscriptionCouponsResponse = ZeniAPIResponse<SubscriptionCouponsDataPayload>;
34
- export interface SubscriptionEstimateInfoPayload {
34
+ interface SubscriptionEstimateInfoPayload {
35
35
  tenant_id: ID;
36
36
  subscription_id: ID;
37
37
  subscription_plan_id: ID;
@@ -42,11 +42,11 @@ export interface SubscriptionEstimateInfoPayload {
42
42
  should_prorate: boolean;
43
43
  apply_end_of_term: boolean;
44
44
  }
45
- export declare type SubscriptionUpdatableInfoPayload = SubscriptionEstimateInfoPayload;
46
- export interface SubscriptionCreatableInfoPayload extends Omit<SubscriptionEstimateInfoPayload, 'subscription_id'> {
45
+ declare type SubscriptionUpdatableInfoPayload = SubscriptionEstimateInfoPayload;
46
+ interface SubscriptionCreatableInfoPayload extends Omit<SubscriptionEstimateInfoPayload, 'subscription_id'> {
47
47
  start_date: string | null;
48
48
  }
49
- export interface SubscriptionDetailsPayloadWithSchema extends SubscriptionPlansDataPayload, SubscriptionAddOnsDataPayload, SubscriptionCouponsDataPayload {
49
+ interface SubscriptionDetailsPayloadWithSchema extends SubscriptionPlansDataPayload, SubscriptionAddOnsDataPayload, SubscriptionCouponsDataPayload {
50
50
  subscriptions: SubscriptionPayload[];
51
51
  subscription_summaries: SubscriptionSummaryPayload[];
52
52
  schema: {
@@ -58,7 +58,7 @@ export interface SubscriptionDetailsPayloadWithSchema extends SubscriptionPlansD
58
58
  };
59
59
  }
60
60
  export declare type SubscriptionDetailsWithSchemaResponse = ZeniAPIResponse<SubscriptionDetailsPayloadWithSchema>;
61
- export interface SubscriptionListPayload {
61
+ interface SubscriptionListPayload {
62
62
  users?: UserPayload[];
63
63
  user_roles: UserRolePayload[];
64
64
  companies: CompanyPayload[];
@@ -76,3 +76,4 @@ export declare type SubscriptionListResponse = ZeniAPIResponse<SubscriptionListP
76
76
  export declare const toSubscriptionUpdatableInfoPayload: (info: SubscriptionUpdateData, tenantId: ID, isEstimate?: boolean) => Partial<SubscriptionUpdatableInfoPayload>;
77
77
  export declare const toSubscriptionCreatableInfoPayload: (info: SubscriptionCreateData, tenantId: ID, isEstimate?: boolean) => Partial<SubscriptionCreatableInfoPayload>;
78
78
  export declare type SubscriptionSummaryNotesResponse = ZeniAPIResponse<SubscriptionSummaryPayload>;
79
+ export {};
@@ -21,7 +21,7 @@ export interface SubscriptionViewState {
21
21
  subscriptionDetailsByCompanyId: Record<ID, SubscriptionDetailsState>;
22
22
  subscriptionUpdateViewDataByTenantId: Record<ID, SubscriptionUpdateViewData>;
23
23
  }
24
- export interface SubscriptionListViewState extends FetchedState {
24
+ interface SubscriptionListViewState extends FetchedState {
25
25
  uiState: SubscriptionListUIState;
26
26
  companyIds: ID[];
27
27
  }
@@ -38,7 +38,7 @@ export interface SubscriptionDetailsState {
38
38
  subscriptionIds: ID[];
39
39
  }
40
40
  export declare type SubscriptionActionType = 'subscription_create' | 'subscription_update';
41
- export interface SubscriptionUpdateViewData {
41
+ interface SubscriptionUpdateViewData {
42
42
  estimateStatus: FetchStateAndError;
43
43
  updateStatus: FetchStateAndError;
44
44
  type: SubscriptionActionType;
@@ -62,3 +62,4 @@ export interface SubscriptionUpdateData {
62
62
  applyEndOfTerm: boolean;
63
63
  shouldProrate: boolean;
64
64
  }
65
+ export {};
@@ -1,15 +1,15 @@
1
1
  import { AllowedValue } from '../../../commonStateTypes/allowedValue';
2
2
  import { Amount } from '../../../commonStateTypes/amount';
3
3
  import { ID } from '../../../commonStateTypes/common';
4
- export interface CommonEstimate {
4
+ interface CommonEstimate {
5
5
  amount: Amount;
6
6
  description: string;
7
7
  changeStatus: string;
8
8
  }
9
- export interface PlanEstimate extends CommonEstimate {
9
+ interface PlanEstimate extends CommonEstimate {
10
10
  detailDescription: string;
11
11
  }
12
- export declare type CouponEstimate = CommonEstimate;
12
+ declare type CouponEstimate = CommonEstimate;
13
13
  export interface AddOnEstimate extends CommonEstimate {
14
14
  detailDescription: string;
15
15
  chargeType: string;
@@ -30,3 +30,4 @@ export interface SubscriptionEstimateWithSchema {
30
30
  addOnsEstimate: AddOnEstimate[];
31
31
  schema: Record<SchemaKeys, AllowedValue[]>;
32
32
  }
33
+ export {};
@@ -1,6 +1,6 @@
1
- export declare const ALL_SUBSCRIPTION_SORT_KEYS: readonly ["companyName", "status", "controller", "plans", "planLowerLimit", "planHigherLimit", "avg2MonthExpenses", "addons", "upgradeStatus", "monthlyRecurringRevenue", "notes"];
2
1
  export declare const toSubscriptionSortKeyType: (v: string) => "status" | "controller" | "companyName" | "monthlyRecurringRevenue" | "avg2MonthExpenses" | "plans" | "planLowerLimit" | "planHigherLimit" | "addons" | "upgradeStatus" | "notes";
3
2
  export declare type SubscriptionViewSortKey = ReturnType<typeof toSubscriptionSortKeyType>;
4
3
  export declare const SUBSCRIPTION_STATUS_CODES: string[];
5
- export declare const toSubscriptionStatusCodeType: (v: string) => string;
4
+ declare const toSubscriptionStatusCodeType: (v: string) => string;
6
5
  export declare type SubscriptionStatusCodeType = ReturnType<typeof toSubscriptionStatusCodeType>;
6
+ export {};
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toSubscriptionStatusCodeType = exports.SUBSCRIPTION_STATUS_CODES = exports.toSubscriptionSortKeyType = exports.ALL_SUBSCRIPTION_SORT_KEYS = void 0;
3
+ exports.SUBSCRIPTION_STATUS_CODES = exports.toSubscriptionSortKeyType = void 0;
4
4
  const stringToUnion_1 = require("../../../commonStateTypes/stringToUnion");
5
- exports.ALL_SUBSCRIPTION_SORT_KEYS = [
5
+ const ALL_SUBSCRIPTION_SORT_KEYS = [
6
6
  'companyName',
7
7
  'status',
8
8
  'controller',
@@ -15,7 +15,7 @@ exports.ALL_SUBSCRIPTION_SORT_KEYS = [
15
15
  'monthlyRecurringRevenue',
16
16
  'notes',
17
17
  ];
18
- const toSubscriptionSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_SUBSCRIPTION_SORT_KEYS);
18
+ const toSubscriptionSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_SUBSCRIPTION_SORT_KEYS);
19
19
  exports.toSubscriptionSortKeyType = toSubscriptionSortKeyType;
20
20
  exports.SUBSCRIPTION_STATUS_CODES = [
21
21
  'active',
@@ -26,4 +26,3 @@ exports.SUBSCRIPTION_STATUS_CODES = [
26
26
  'cancelled',
27
27
  ];
28
28
  const toSubscriptionStatusCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.SUBSCRIPTION_STATUS_CODES);
29
- exports.toSubscriptionStatusCodeType = toSubscriptionStatusCodeType;
@@ -1,7 +1,7 @@
1
1
  import { TagPayload } from '../../entity/tag/tagPayload';
2
2
  import { ZeniAPIResponse } from '../../responsePayload';
3
- export declare type DeleteTagResponse = ZeniAPIResponse<FetchTagListPayload>;
4
- export interface FetchTagListPayload {
3
+ interface FetchTagListPayload {
5
4
  tags: TagPayload[];
6
5
  }
7
6
  export declare type FetchTagListResponse = ZeniAPIResponse<FetchTagListPayload>;
7
+ export {};
@@ -6,10 +6,3 @@ import { openSnackbar } from '../../../../entity/snackbar/snackbarReducer';
6
6
  import { archiveTask, archiveTaskSuccessOrFailure } from '../taskDetailReducer';
7
7
  export declare type ActionType = ReturnType<typeof archiveTask> | ReturnType<typeof updateTasks> | ReturnType<typeof openSnackbar> | ReturnType<typeof archiveTaskSuccessOrFailure>;
8
8
  export declare const archiveTaskEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<ActionType>;
9
- /**
10
- * Interface
11
- */
12
- export interface ArchiveTaskQueryPayload {
13
- sync_token: string;
14
- is_archived: boolean;
15
- }
@@ -1,6 +1,7 @@
1
1
  import { TaskGroupPayload } from '../../../entity/taskGroup/taskGroupPayload';
2
2
  import { ZeniAPIResponse } from '../../../responsePayload';
3
- export interface FetchTaskGroupsPayload {
3
+ interface FetchTaskGroupsPayload {
4
4
  task_groups: TaskGroupPayload[];
5
5
  }
6
6
  export declare type FetchTaskGroupsResponse = ZeniAPIResponse<FetchTaskGroupsPayload>;
7
+ export {};
@@ -3,10 +3,6 @@ import { PriorityCodeType, TaskStatusCodeType } from '../../../entity/task/taskS
3
3
  import { ZeniDate } from '../../../zeniDayJS';
4
4
  import { SpendManagementUIState } from '../../spendManagement/billPay/billList/billListState';
5
5
  import { CategoryCombinationOperator, FilterCategoryType } from '../../spendManagement/spendManagementFilterHelpers';
6
- export interface NewTaskGroupLocalData {
7
- taskIds: ID[];
8
- groupName: string;
9
- }
10
6
  export interface TaskListLocalData {
11
7
  newTaskGroupName: string;
12
8
  selectedTaskIds: ID[];
@@ -49,11 +45,10 @@ export interface TaskListUIState extends SpendManagementUIState {
49
45
  searchText: string;
50
46
  groupByKey: TaskGroupKey;
51
47
  }
52
- export declare const ALL_TASK_LIST_SORT_KEYS: readonly ["name", "dueDate", "assignee", "creationDate", "tag", "status", "priority"];
53
- export declare const toTaskListSortKeyType: (v: string) => "priority" | "name" | "status" | "dueDate" | "assignee" | "creationDate" | "tag";
48
+ declare const toTaskListSortKeyType: (v: string) => "priority" | "name" | "status" | "dueDate" | "assignee" | "creationDate" | "tag";
54
49
  export declare type TaskListViewSortKey = ReturnType<typeof toTaskListSortKeyType>;
55
50
  export declare const TASK_LIST_FILTER_CATEGORIES: TaskListFilterCategoryOption[];
56
- export interface TaskListFilterCategoryOption {
51
+ interface TaskListFilterCategoryOption {
57
52
  value: TaskListFilterCategoryField;
58
53
  multiple?: boolean;
59
54
  type?: FilterCategoryType;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TASK_LIST_GROUP_BY_CATEGORIES = exports.TASK_LIST_FILTER_CATEGORIES = exports.toTaskListSortKeyType = exports.ALL_TASK_LIST_SORT_KEYS = exports.toTaskListGroupByKeyTypeStrict = exports.toTaskListGroupByKeyType = exports.TASK_LIST_GROUP_BY_KEYS = exports.toDueDateGroupKeyType = exports.DUE_DATE_GROUP_KEYS = void 0;
3
+ exports.TASK_LIST_GROUP_BY_CATEGORIES = exports.TASK_LIST_FILTER_CATEGORIES = exports.toTaskListGroupByKeyTypeStrict = exports.toTaskListGroupByKeyType = exports.TASK_LIST_GROUP_BY_KEYS = exports.toDueDateGroupKeyType = exports.DUE_DATE_GROUP_KEYS = void 0;
4
4
  const stringToUnion_1 = require("../../../commonStateTypes/stringToUnion");
5
5
  exports.DUE_DATE_GROUP_KEYS = [
6
6
  'overdue',
@@ -23,7 +23,7 @@ const toTaskListGroupByKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, ex
23
23
  exports.toTaskListGroupByKeyType = toTaskListGroupByKeyType;
24
24
  const toTaskListGroupByKeyTypeStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v, exports.TASK_LIST_GROUP_BY_KEYS);
25
25
  exports.toTaskListGroupByKeyTypeStrict = toTaskListGroupByKeyTypeStrict;
26
- exports.ALL_TASK_LIST_SORT_KEYS = [
26
+ const ALL_TASK_LIST_SORT_KEYS = [
27
27
  'name',
28
28
  'dueDate',
29
29
  'assignee',
@@ -32,8 +32,7 @@ exports.ALL_TASK_LIST_SORT_KEYS = [
32
32
  'status',
33
33
  'priority',
34
34
  ];
35
- const toTaskListSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_TASK_LIST_SORT_KEYS);
36
- exports.toTaskListSortKeyType = toTaskListSortKeyType;
35
+ const toTaskListSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_TASK_LIST_SORT_KEYS);
37
36
  exports.TASK_LIST_FILTER_CATEGORIES = [
38
37
  { value: 'status', multiple: true, type: 'dropdown' },
39
38
  { value: 'priority', type: 'dropdown', multiple: true },
@@ -1,6 +1,7 @@
1
1
  import { TaskPayload } from '../../../entity/task/taskPayload';
2
2
  import { ZeniAPIResponse } from '../../../responsePayload';
3
- export interface FetchTaskListPayload {
3
+ interface FetchTaskListPayload {
4
4
  tasks: TaskPayload[];
5
5
  }
6
6
  export declare type FetchTaskListResponse = ZeniAPIResponse<FetchTaskListPayload>;
7
+ export {};
@@ -3,7 +3,7 @@ import { TransactionPayload } from '../../entity/transaction/payloadTypes/transa
3
3
  import { SupportedTransactionPayload } from '../../entity/transaction/transactionState';
4
4
  import { VendorPayload } from '../../entity/vendor/vendorPayload';
5
5
  import { ZeniAPIResponse } from '../../responsePayload';
6
- export interface TransactionDetailPayload {
6
+ interface TransactionDetailPayload {
7
7
  transaction: SupportedTransactionPayload;
8
8
  query: {
9
9
  transaction_id: string;
@@ -1,14 +1,6 @@
1
1
  import { ActionsObservable, StateObservable } from 'redux-observable';
2
2
  import { Observable } from 'rxjs';
3
- import { TimePeriod } from '../../commonStateTypes/timePeriod';
4
3
  import { RootState } from '../../reducer';
5
4
  import { parallelFetchEntityTransactionList, fetchEntityTransactionList } from './transactionListReducer';
6
5
  export declare type ActionType = ReturnType<typeof parallelFetchEntityTransactionList> | ReturnType<typeof fetchEntityTransactionList>;
7
6
  export declare const parallelFetchEntityTransactionListEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => Observable<ActionType>;
8
- /**
9
- * Splits given period into month wise periods. Returns only the last quarter
10
- * Last four months in the given period. If the period is less than 4 months
11
- * it will return all
12
- * @param period
13
- */
14
- export declare function splitPeriodLastQuarter(period: TimePeriod): TimePeriod[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.splitPeriodLastQuarter = exports.parallelFetchEntityTransactionListEpic = void 0;
3
+ exports.parallelFetchEntityTransactionListEpic = void 0;
4
4
  const rxjs_1 = require("rxjs");
5
5
  const operators_1 = require("rxjs/operators");
6
6
  const timePeriod_1 = require("../../commonStateTypes/timePeriod");
@@ -87,4 +87,3 @@ function splitPeriodLastQuarter(period) {
87
87
  }
88
88
  return result;
89
89
  }
90
- exports.splitPeriodLastQuarter = splitPeriodLastQuarter;
@@ -4,7 +4,6 @@ import { SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport
4
4
  import { Entity } from '../../entity/genericEntity/entity';
5
5
  import { SupportedTransaction, TransactionState } from '../../entity/transaction/transactionState';
6
6
  import { TransactionListSelectorView, TransactionListState } from './transactionListState';
7
- import { Month, TimePeriod } from '../../commonStateTypes/timePeriod';
8
7
  import { RootState } from '../../reducer';
9
8
  export interface TransactionListByEntityView extends SelectorView, TransactionListSelectorView {
10
9
  transactionOrder: EntityOrder;
@@ -13,4 +12,3 @@ export interface TransactionListByEntityView extends SelectorView, TransactionLi
13
12
  }
14
13
  export declare const getTransactionListByEntity: (transactionState: TransactionState, transactionListState: TransactionListState, filterByTimePeriod: TimeframeTick, entity: Entity) => TransactionListByEntityView;
15
14
  export declare const getTransactionListByEntityForSinglePeriod: (state: RootState, entity: Entity, numberOfQuartersFetched: number) => TransactionListByEntityView;
16
- export declare function splitPeriodIntoQuarters(numberOfQuartersFetched: number, firstMonthOfFY: Month): TimePeriod[];
@@ -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.splitPeriodIntoQuarters = exports.getTransactionListByEntityForSinglePeriod = exports.getTransactionListByEntity = void 0;
6
+ exports.getTransactionListByEntityForSinglePeriod = exports.getTransactionListByEntity = void 0;
7
7
  const flatMap_1 = __importDefault(require("lodash/flatMap"));
8
8
  const get_1 = __importDefault(require("lodash/get"));
9
9
  const orderBy_1 = __importDefault(require("lodash/orderBy"));
@@ -106,4 +106,3 @@ function splitPeriodIntoQuarters(numberOfQuartersFetched, firstMonthOfFY) {
106
106
  }
107
107
  return result;
108
108
  }
109
- exports.splitPeriodIntoQuarters = splitPeriodIntoQuarters;
@@ -2,7 +2,7 @@ import { AccountBasePayload } from '../../entity/account/accountPayload';
2
2
  import { TransactionPayload } from '../../entity/transaction/payloadTypes/transactionPayload';
3
3
  import { ZeniAPIResponse } from '../../responsePayload';
4
4
  import { ID } from '../../commonStateTypes/common';
5
- export interface TransactionListPayload extends AccountBasePayload {
5
+ interface TransactionListPayload extends AccountBasePayload {
6
6
  transactions: TransactionPayload[];
7
7
  transactions_count: number;
8
8
  }
@@ -21,7 +21,7 @@ export interface QueryEntityMetaDataPayload {
21
21
  start_date: string;
22
22
  end_date: string;
23
23
  }
24
- export interface QueryTransactionByCategoryTypeMetaDataPayload {
24
+ interface QueryTransactionByCategoryTypeMetaDataPayload {
25
25
  start_date: string;
26
26
  end_date: string;
27
27
  total_amount_min: number;
@@ -33,7 +33,7 @@ export interface TransactionListByEntityPayload {
33
33
  transactions: TransactionPayload[];
34
34
  query: QueryEntityMetaDataPayload;
35
35
  }
36
- export interface QueryClassMetaDataPayload {
36
+ interface QueryClassMetaDataPayload {
37
37
  account_type: string;
38
38
  account_id: string;
39
39
  start_date: string;
@@ -51,8 +51,9 @@ export interface TransactionListByClassPayload {
51
51
  export declare type TransactionListByAccountResponse = ZeniAPIResponse<TransactionListByAccountPayload>;
52
52
  export declare type TransactionListByEntityResponse = ZeniAPIResponse<TransactionListByEntityPayload>;
53
53
  export declare type TransactionListByClassResponse = ZeniAPIResponse<TransactionListByClassPayload>;
54
- export interface TransactionsByCategoryTypePayload {
54
+ interface TransactionsByCategoryTypePayload {
55
55
  transactions: TransactionPayload[];
56
56
  query: QueryTransactionByCategoryTypeMetaDataPayload;
57
57
  }
58
58
  export declare type TransactionsByCategoryTypeResponse = ZeniAPIResponse<TransactionsByCategoryTypePayload>;
59
+ export {};
@@ -7,7 +7,7 @@ import { TransactionID } from '../../entity/transaction/stateTypes/transaction';
7
7
  export declare const getAcTranKey: (accountId: ID, accountType: AccountType, period: TimePeriod) => string;
8
8
  export declare type AcTranKey = ReturnType<typeof getAcTranKey>;
9
9
  export declare const getAcKey: (accountId: ID, accountType: AccountType) => string;
10
- export declare type AcKey = ReturnType<typeof getAcKey>;
10
+ declare type AcKey = ReturnType<typeof getAcKey>;
11
11
  export interface TransactionListUIState {
12
12
  dateRange?: TimeframeTick;
13
13
  scrollYOffset?: number;
@@ -22,7 +22,7 @@ export interface TransactionListByAccountState {
22
22
  transactionListUIStateByAccountKey: Record<AcKey, TransactionListUIState>;
23
23
  }
24
24
  export declare const getEntityTranKey: (entity: Entity, period: TimePeriod) => string;
25
- export declare type EntityTranKey = ReturnType<typeof getEntityTranKey>;
25
+ declare type EntityTranKey = ReturnType<typeof getEntityTranKey>;
26
26
  export interface EntityTransactions extends FetchedState {
27
27
  entity?: Entity;
28
28
  transactionIDs: ID[];
@@ -34,7 +34,7 @@ export interface TransactionListByEntityState {
34
34
  export declare const getClassAcTranKey: (accountId: ID, accountType: AccountType, classId: ID, period: TimePeriod) => string;
35
35
  export declare type ClassAcTranKey = ReturnType<typeof getClassAcTranKey>;
36
36
  export declare const getClassAcKey: (accountId: ID, accountType: AccountType, classId: ID) => string;
37
- export declare type ClassAcKey = ReturnType<typeof getClassAcKey>;
37
+ declare type ClassAcKey = ReturnType<typeof getClassAcKey>;
38
38
  export interface ClassAccountTransactions extends FetchedState {
39
39
  account?: AccountBase;
40
40
  classId?: ID;
@@ -47,7 +47,7 @@ export interface TransactionListByClassState {
47
47
  export declare const initialClassTransactionState: ClassAccountTransactions;
48
48
  export declare type TransactionCategoryType = 'missingReceipts' | 'miscategorizedExpense' | 'miscategorizedIncome' | 'uncategorizedIncome' | 'uncategorizedExpense';
49
49
  export declare const getCategoryTypeTranKey: (categoryType: TransactionCategoryType, period: TimePeriod) => string;
50
- export declare type CategoryTypeTranKey = ReturnType<typeof getCategoryTypeTranKey>;
50
+ declare type CategoryTypeTranKey = ReturnType<typeof getCategoryTypeTranKey>;
51
51
  export interface CategoryTypeTransactions extends FetchedState {
52
52
  transactionIDs: ID[];
53
53
  }
@@ -66,3 +66,4 @@ export interface TransactionListSelectorView {
66
66
  latestTransactionId?: TransactionID;
67
67
  }
68
68
  export declare const initialTransactionsStateByCategoryType: CategoryTypeTransactions;
69
+ export {};
@@ -3,11 +3,11 @@ import { COABalanceGroupedPayload } from '../../commonPayloadTypes/coaBalancePay
3
3
  import { ReportPayload } from '../../commonPayloadTypes/viewAndReportPayload';
4
4
  import { InsightPayload } from '../../entity/insights/insightPayload';
5
5
  import { ZeniReportResponse } from '../../responsePayload';
6
- export interface IncomeTrendPayload extends ReportPayload {
6
+ interface IncomeTrendPayload extends ReportPayload {
7
7
  income: COABalanceGroupedPayload;
8
8
  insights: InsightPayload[];
9
9
  }
10
- export interface VendorSpendPayload {
10
+ interface VendorSpendPayload {
11
11
  currency_code?: string;
12
12
  currency_symbol?: string;
13
13
  last_30_days_spend?: number;
@@ -22,8 +22,9 @@ export interface VendorSpendPayload {
22
22
  export interface COABalanceGroupedPayloadWithSpendTrend extends COABalanceByAdditionalPeriodGroupedPayload, VendorSpendPayload {
23
23
  }
24
24
  export declare type IncomeTrendReportResponse = ZeniReportResponse<IncomeTrendPayload>;
25
- export interface ExpenseTrendPayload extends ReportPayload {
25
+ interface ExpenseTrendPayload extends ReportPayload {
26
26
  expense: COABalanceGroupedPayloadWithSpendTrend;
27
27
  insights: InsightPayload[];
28
28
  }
29
29
  export declare type ExpenseTrendReportResponse = ZeniReportResponse<ExpenseTrendPayload>;
30
+ export {};
@@ -8,7 +8,8 @@ export interface TrendWithTransactionsUIState {
8
8
  }
9
9
  export declare type DetailScreenType = 'TransactionDetail' | 'EntityDetail';
10
10
  export declare const getEntityKey: (entity: Entity, screen: DetailScreenType) => string;
11
- export declare type EntityKey = ReturnType<typeof getEntityKey>;
11
+ declare type EntityKey = ReturnType<typeof getEntityKey>;
12
12
  export interface TrendWithTransactionsState {
13
13
  uiStateByEntityKey: Record<EntityKey, TrendWithTransactionsUIState>;
14
14
  }
15
+ export {};
@@ -1,10 +1,10 @@
1
1
  import { ZeniAPIResponse } from '../../responsePayload';
2
2
  import { CustomerToken } from './twoFactorAuthentication';
3
- export interface SendOtpPayload {
3
+ interface SendOtpPayload {
4
4
  otp_challenge: string;
5
5
  }
6
6
  export declare type SendOtpResponse = ZeniAPIResponse<SendOtpPayload>;
7
- export interface VerifyOtpPayload {
7
+ interface VerifyOtpPayload {
8
8
  is_verified: boolean;
9
9
  message: string;
10
10
  customer_token_info?: CustomerTokenPayload;
@@ -17,3 +17,4 @@ export interface CustomerTokenPayload {
17
17
  }
18
18
  export declare type VerifyOtpResponse = ZeniAPIResponse<VerifyOtpPayload>;
19
19
  export declare const toCustomerToken: (payload: CustomerTokenPayload) => CustomerToken;
20
+ export {};
@@ -6,7 +6,5 @@ import { fetchUserFinancialAccount, updateUserFinancialAccount, updateUserFinanc
6
6
  import { updateBankAccounts } from '../../entity/bankAccount/bankAccountReducer';
7
7
  import { updatePaymentAccounts } from '../../entity/paymentAccount/paymentAccountReducer';
8
8
  import { updatesPaymentToInLocalStore } from '../spendManagement/reimbursement/editRemiView/editRemiViewReducer';
9
- import { BankAccountPayload } from '../../entity/bankAccount/bankAccountPayload';
10
9
  export declare type ActionType = ReturnType<typeof fetchUserFinancialAccount> | ReturnType<typeof updateBankAccounts> | ReturnType<typeof updateUserFinancialAccount> | ReturnType<typeof updatesPaymentToInLocalStore> | ReturnType<typeof updatePaymentAccounts> | ReturnType<typeof updateUserFinancialAccountFailure>;
11
10
  export declare const fetchUserFinancialAccountEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
12
- export declare const getLatestCreatedUserBankAccountFromBankAccountPayload: (bankAccounts: BankAccountPayload[]) => BankAccountPayload | undefined;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getLatestCreatedUserBankAccountFromBankAccountPayload = exports.fetchUserFinancialAccountEpic = void 0;
3
+ exports.fetchUserFinancialAccountEpic = void 0;
4
4
  const rxjs_1 = require("rxjs");
5
5
  const operators_1 = require("rxjs/operators");
6
6
  const responsePayload_1 = require("../../responsePayload");
@@ -18,7 +18,7 @@ const fetchUserFinancialAccountEpic = (actions$, _state$, zeniAPI) => actions$.p
18
18
  if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
19
19
  const userFinancialAccountActions = [];
20
20
  //get latest created bank account Id
21
- const latestCreatedBankAccountId = (_a = (0, exports.getLatestCreatedUserBankAccountFromBankAccountPayload)(response.data.bank_accounts)) === null || _a === void 0 ? void 0 : _a.bank_account_id;
21
+ const latestCreatedBankAccountId = (_a = getLatestCreatedUserBankAccountFromBankAccountPayload(response.data.bank_accounts)) === null || _a === void 0 ? void 0 : _a.bank_account_id;
22
22
  userFinancialAccountActions.push((0, bankAccountReducer_1.updateBankAccounts)(response.data.bank_accounts), (0, userFinancialAccountReducer_1.updateUserFinancialAccount)({
23
23
  userFinancialAccount: response.data,
24
24
  }), (0, paymentAccountReducer_1.updatePaymentAccounts)(response.data.payment_accounts));
@@ -52,4 +52,3 @@ const getLatestCreatedUserBankAccountFromBankAccountPayload = (bankAccounts) =>
52
52
  ? 1
53
53
  : -1)) === null || _a === void 0 ? void 0 : _a[0];
54
54
  };
55
- exports.getLatestCreatedUserBankAccountFromBankAccountPayload = getLatestCreatedUserBankAccountFromBankAccountPayload;
@@ -10,5 +10,4 @@ export interface UserFinancialAccountSelectorView extends SelectorView {
10
10
  bankNameByRouting: Record<string, BankNameByRoutingState>;
11
11
  }
12
12
  export declare const getUserFinancialAccount: (state: RootState, userId: ID) => UserFinancialAccountSelectorView;
13
- export declare const getLatestCreatedUserBankAccountFromBankAccountList: (bankAccounts: BankAccount[]) => BankAccount | undefined;
14
13
  export declare const getLatestCreatedUserBankAccount: (state: RootState, userId: ID) => ID | undefined;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getLatestCreatedUserBankAccount = exports.getLatestCreatedUserBankAccountFromBankAccountList = exports.getUserFinancialAccount = void 0;
3
+ exports.getLatestCreatedUserBankAccount = exports.getUserFinancialAccount = void 0;
4
4
  const bankAccountSelector_1 = require("../../entity/bankAccount/bankAccountSelector");
5
5
  const zeniDayJS_1 = require("../../zeniDayJS");
6
6
  const getUserFinancialAccount = (state, userId) => {
@@ -24,12 +24,11 @@ const getLatestCreatedUserBankAccountFromBankAccountList = (bankAccounts) => {
24
24
  ? 1
25
25
  : -1)) === null || _a === void 0 ? void 0 : _a[0];
26
26
  };
27
- exports.getLatestCreatedUserBankAccountFromBankAccountList = getLatestCreatedUserBankAccountFromBankAccountList;
28
27
  const getLatestCreatedUserBankAccount = (state, userId) => {
29
28
  var _a, _b, _c;
30
29
  const { userFinancialAccountState, bankAccountState } = state;
31
30
  const bankAccounts = (0, bankAccountSelector_1.getBankAccountsByBankAccountIds)(bankAccountState, (_b = (_a = userFinancialAccountState.financialAccountByUserId[userId]) === null || _a === void 0 ? void 0 : _a.bankAccountIds) !== null && _b !== void 0 ? _b : []);
32
- const latestCreatedBankAccountId = (_c = (0, exports.getLatestCreatedUserBankAccountFromBankAccountList)(bankAccounts)) === null || _c === void 0 ? void 0 : _c.bankAccountId;
31
+ const latestCreatedBankAccountId = (_c = getLatestCreatedUserBankAccountFromBankAccountList(bankAccounts)) === null || _c === void 0 ? void 0 : _c.bankAccountId;
33
32
  return latestCreatedBankAccountId;
34
33
  };
35
34
  exports.getLatestCreatedUserBankAccount = getLatestCreatedUserBankAccount;
@@ -1,8 +1,9 @@
1
1
  import { UserPayload } from '../../entity/user/userPayload';
2
2
  import { UserRolePayload } from '../../entity/userRole/userRolePayload';
3
3
  import { ZeniAPIResponse } from '../../responsePayload';
4
- export interface UserListResponsePayload {
4
+ interface UserListResponsePayload {
5
5
  users: UserPayload[];
6
6
  user_roles: UserRolePayload[];
7
7
  }
8
8
  export declare type UserListResponse = ZeniAPIResponse<UserListResponsePayload>;
9
+ export {};
@@ -1,6 +1,7 @@
1
1
  import { AllowedValueWithCode } from '../../commonStateTypes/allowedValue';
2
2
  import { ZeniAPIResponse } from '../../responsePayload';
3
- export interface UserRoleConfigPayload {
3
+ interface UserRoleConfigPayload {
4
4
  title_at_company_types: AllowedValueWithCode[];
5
5
  }
6
6
  export declare type UserRoleConfigResponse = ZeniAPIResponse<UserRoleConfigPayload>;
7
+ export {};