@zeniai/client-epic-state 4.11.98 → 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 (476) 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/animations.d.ts +2 -0
  14. package/lib/commonStateTypes/animations.js +32 -0
  15. package/lib/commonStateTypes/classesView/nestedClassID.d.ts +6 -8
  16. package/lib/commonStateTypes/classesView/nestedClassID.js +1 -10
  17. package/lib/commonStateTypes/coaBalance/additionalBalances/getSamePeriodLastYearBalance.d.ts +0 -1
  18. package/lib/commonStateTypes/coaBalance/additionalBalances/getSamePeriodLastYearBalance.js +1 -27
  19. package/lib/commonStateTypes/coaBalance/pickAndMergeForecast.d.ts +0 -2
  20. package/lib/commonStateTypes/coaBalance/pickAndMergeForecast.js +1 -2
  21. package/lib/commonStateTypes/customerView/nestedCustomerID.d.ts +6 -8
  22. package/lib/commonStateTypes/customerView/nestedCustomerID.js +0 -7
  23. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.d.ts +0 -3
  24. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.js +2 -5
  25. package/lib/commonStateTypes/reduceFetchState.d.ts +0 -18
  26. package/lib/commonStateTypes/reduceFetchState.js +7 -10
  27. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.d.ts +0 -2
  28. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.js +0 -12
  29. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.d.ts +0 -2
  30. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.js +0 -10
  31. package/lib/commonStateTypes/selectorTypes/sortOrderTypes.d.ts +2 -2
  32. package/lib/commonStateTypes/selectorTypes/sortOrderTypes.js +2 -4
  33. package/lib/commonStateTypes/timePeriod.d.ts +2 -3
  34. package/lib/commonStateTypes/timePeriod.js +1 -6
  35. package/lib/commonStateTypes/v2/viewAndReport.d.ts +0 -5
  36. package/lib/commonStateTypes/v2/viewAndReport.js +3 -0
  37. package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.d.ts +2 -2
  38. package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.js +3 -4
  39. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +0 -1
  40. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +3 -3
  41. package/lib/commonStateTypes/workingDayHelper.d.ts +0 -1
  42. package/lib/commonStateTypes/workingDayHelper.js +6 -6
  43. package/lib/entity/account/accountPayload.d.ts +1 -6
  44. package/lib/entity/account/accountPayload.js +3 -19
  45. package/lib/entity/account/accountReducer.d.ts +1 -3
  46. package/lib/entity/account/accountReducer.js +2 -3
  47. package/lib/entity/account/accountState.d.ts +2 -1
  48. package/lib/entity/account/accountState.js +1 -2
  49. package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +0 -6
  50. package/lib/entity/account/pickAndMergeForecastAccountReport.js +1 -2
  51. package/lib/entity/accountGroup/accountGroupSelector.d.ts +2 -1
  52. package/lib/entity/accountGroup/accountGroupSelector.js +2 -3
  53. package/lib/entity/address/addressReducer.d.ts +1 -2
  54. package/lib/entity/address/addressReducer.js +1 -2
  55. package/lib/entity/approvalRule/approvalRulePayload.d.ts +1 -3
  56. package/lib/entity/approvalRule/approvalRulePayload.js +3 -5
  57. package/lib/entity/approvalRule/approvalRuleState.d.ts +3 -7
  58. package/lib/entity/approvalRule/approvalRuleState.js +1 -13
  59. package/lib/entity/billPay/billTransaction/billTransactionPayload.d.ts +3 -5
  60. package/lib/entity/billPay/billTransaction/billTransactionPayload.js +4 -7
  61. package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +9 -8
  62. package/lib/entity/billPay/billTransaction/billTransactionState.js +1 -7
  63. package/lib/entity/billPay/recurringBills/recurringBillsPayload.d.ts +2 -4
  64. package/lib/entity/billPay/recurringBills/recurringBillsPayload.js +3 -5
  65. package/lib/entity/chargeCard/chargeCard.d.ts +6 -7
  66. package/lib/entity/chargeCard/chargeCard.js +2 -7
  67. package/lib/entity/chargeCardTransaction/chargeCardTransaction.d.ts +3 -3
  68. package/lib/entity/chargeCardTransaction/chargeCardTransaction.js +1 -3
  69. package/lib/entity/chargeCardTransaction/chargeCardTransactionPayload.d.ts +2 -1
  70. package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.d.ts +0 -1
  71. package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.js +1 -2
  72. package/lib/entity/class/classPayload.d.ts +0 -4
  73. package/lib/entity/class/classPayload.js +1 -16
  74. package/lib/entity/class/classSelectorV2.d.ts +1 -8
  75. package/lib/entity/class/classSelectorV2.js +1 -2
  76. package/lib/entity/company/companyHelper.d.ts +0 -2
  77. package/lib/entity/company/companyHelper.js +2 -7
  78. package/lib/entity/company/companyPayload.d.ts +17 -32
  79. package/lib/entity/company/companyPayload.js +9 -19
  80. package/lib/entity/company/companyStateTypes.d.ts +6 -9
  81. package/lib/entity/company/companyStateTypes.js +3 -6
  82. package/lib/entity/companyHealthMetric/companyHealthMetricPayload.d.ts +5 -6
  83. package/lib/entity/companyHealthMetric/companyHealthMetricPayload.js +3 -5
  84. package/lib/entity/currency/currencySelector.d.ts +0 -3
  85. package/lib/entity/currency/currencySelector.js +1 -3
  86. package/lib/entity/customer/customerSelector.d.ts +2 -3
  87. package/lib/entity/customer/customerSelector.js +1 -8
  88. package/lib/entity/customerSatisfaction/customerSatisfactionReducerHelpers.d.ts +2 -4
  89. package/lib/entity/customerSatisfaction/customerSatisfactionReducerHelpers.js +3 -5
  90. package/lib/entity/customerSatisfaction/customerSatisfactionState.d.ts +1 -1
  91. package/lib/entity/customerSatisfaction/customerSatisfactionState.js +1 -2
  92. package/lib/entity/depositAccount/depositAccount.d.ts +3 -4
  93. package/lib/entity/depositAccount/depositAccount.js +1 -5
  94. package/lib/entity/depositAccountTransaction/depositAccountTransaction.d.ts +2 -2
  95. package/lib/entity/depositAccountTransaction/depositAccountTransaction.js +3 -3
  96. package/lib/entity/depositAccountTransaction/depositAccountTransactionPayload.d.ts +2 -1
  97. package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.d.ts +0 -1
  98. package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.js +1 -2
  99. package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.d.ts +2 -6
  100. package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.js +3 -5
  101. package/lib/entity/entityApprovalStatus/entityApprovalStatusState.d.ts +3 -4
  102. package/lib/entity/entityApprovalStatus/entityApprovalStatusState.js +1 -6
  103. package/lib/entity/file/filePayload.d.ts +2 -1
  104. package/lib/entity/file/fileState.d.ts +7 -21
  105. package/lib/entity/file/fileState.js +15 -34
  106. package/lib/entity/genericEntity/entity.d.ts +2 -1
  107. package/lib/entity/globalMerchant/globalMerchantPayload.d.ts +1 -4
  108. package/lib/entity/globalMerchant/globalMerchantPayload.js +2 -32
  109. package/lib/entity/globalMerchant/globalMerchantState.d.ts +2 -1
  110. package/lib/entity/insights/insightReducer.d.ts +1 -2
  111. package/lib/entity/insights/insightReducer.js +2 -3
  112. package/lib/entity/insights/insightState.d.ts +2 -1
  113. package/lib/entity/insights/insightState.js +0 -2
  114. package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +1 -2
  115. package/lib/entity/jeSchedules/jeSchedulesPayload.js +1 -2
  116. package/lib/entity/notification/types/notificationSelectorTypes.d.ts +2 -1
  117. package/lib/entity/notification/types/notificationTypes.d.ts +2 -11
  118. package/lib/entity/notification/types/notificationTypes.js +15 -24
  119. package/lib/entity/paymentAccount/paymentAccountPayload.d.ts +3 -3
  120. package/lib/entity/paymentAccount/paymentAccountPayload.js +2 -3
  121. package/lib/entity/portfolio/accountingSummary/accountingSummaryPayload.d.ts +3 -2
  122. package/lib/entity/reimbursement/reimbursementPayload.d.ts +9 -22
  123. package/lib/entity/reimbursement/reimbursementPayload.js +16 -32
  124. package/lib/entity/reimbursement/reimbursementState.d.ts +2 -1
  125. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnSelector.d.ts +0 -1
  126. package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnSelector.js +1 -2
  127. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponSelector.d.ts +0 -1
  128. package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponSelector.js +1 -2
  129. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.d.ts +1 -5
  130. package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js +1 -2
  131. package/lib/entity/subscription/subscriptionSummary/subscriptionSummarySelector.d.ts +0 -1
  132. package/lib/entity/subscription/subscriptionSummary/subscriptionSummarySelector.js +1 -2
  133. package/lib/entity/task/taskState.d.ts +2 -5
  134. package/lib/entity/task/taskState.js +3 -10
  135. package/lib/entity/tenant/tenantSelector.d.ts +2 -2
  136. package/lib/entity/tenant/tenantSelector.js +1 -2
  137. package/lib/entity/toastNotification/toastNotificationState.d.ts +3 -6
  138. package/lib/entity/toastNotification/toastNotificationState.js +3 -3
  139. package/lib/entity/transaction/payloadTypes/transactionLinePayload.d.ts +11 -21
  140. package/lib/entity/transaction/payloadTypes/transactionLinePayload.js +10 -17
  141. package/lib/entity/transaction/stateTypes/attachment.d.ts +2 -1
  142. package/lib/entity/transaction/stateTypes/paymentType.d.ts +2 -1
  143. package/lib/entity/transaction/stateTypes/paymentType.js +1 -2
  144. package/lib/entity/transaction/stateTypes/transactionType.d.ts +6 -10
  145. package/lib/entity/transaction/stateTypes/transactionType.js +1 -14
  146. package/lib/entity/user/userReducer.d.ts +1 -3
  147. package/lib/entity/user/userReducer.js +2 -3
  148. package/lib/entity/user/userState.d.ts +2 -1
  149. package/lib/entity/userRole/userRoleState.d.ts +2 -2
  150. package/lib/entity/userRole/userRoleState.js +2 -4
  151. package/lib/entity/userRole/userRoleType.d.ts +0 -6
  152. package/lib/entity/userRole/userRoleType.js +9 -27
  153. package/lib/entity/vendor/vendorPayload.d.ts +2 -1
  154. package/lib/entity/vendorExpense/vendorExpenseReducer.d.ts +1 -2
  155. package/lib/entity/vendorExpense/vendorExpenseReducer.js +7 -7
  156. package/lib/entity/vendorExpense/vendorExpenseSelector.d.ts +2 -1
  157. package/lib/entity/vendorExpense/vendorExpenseSelector.js +1 -2
  158. package/lib/entity/vendorExpense/vendorExpenseTrend.d.ts +2 -1
  159. package/lib/index.d.ts +58 -56
  160. package/lib/index.js +9 -9
  161. package/lib/responsePayload.d.ts +2 -1
  162. package/lib/view/accountList/accountListPayload.d.ts +2 -1
  163. package/lib/view/accountMappingView/accountMappingPayload.d.ts +0 -3
  164. package/lib/view/accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload.d.ts +8 -7
  165. package/lib/view/addressView/addressViewPayload.d.ts +2 -1
  166. package/lib/view/apAgingView/apAgingDetail/apAgingDetailState.d.ts +2 -1
  167. package/lib/view/arAgingView/arAgingDetail/arAgingDetailState.d.ts +2 -1
  168. package/lib/view/arAgingView/arAgingReport/arAgingPayload.d.ts +1 -1
  169. package/lib/view/auditReportView/auditReportViewPayload.d.ts +2 -1
  170. package/lib/view/auditReportView/auditReportViewState.d.ts +3 -5
  171. package/lib/view/auditReportView/auditReportViewState.js +5 -6
  172. package/lib/view/autoComplete/entityAutoCompleteReducer.d.ts +1 -1
  173. package/lib/view/balanceSheet/balanceSheetPayload.d.ts +14 -17
  174. package/lib/view/balanceSheet/balanceSheetPayload.js +1 -13
  175. package/lib/view/balanceSheet/balanceSheetSelectorTypes.d.ts +19 -25
  176. package/lib/view/balanceSheet/balanceSheetSelectorTypes.js +27 -36
  177. package/lib/view/bankAccountView/bankAccountViewPayload.d.ts +5 -4
  178. package/lib/view/billPayCard/billPayCardPayload.d.ts +3 -3
  179. package/lib/view/billPayCard/billPayCardState.d.ts +3 -2
  180. package/lib/view/billPayCard/billPayCardState.js +0 -2
  181. package/lib/view/billPayCard/fetchBillPayCardEpic.js +1 -1
  182. package/lib/view/cardPayment/cardPaymentViewPayload.d.ts +3 -3
  183. package/lib/view/cardPayment/cardPaymentViewTypes.d.ts +2 -3
  184. package/lib/view/cardPayment/cardPaymentViewTypes.js +4 -6
  185. package/lib/view/cashFlow/cashFlowPayload.d.ts +7 -8
  186. package/lib/view/cashFlow/cashFlowPayload.js +5 -8
  187. package/lib/view/cashFlow/cashFlowSelectorTypes.d.ts +17 -23
  188. package/lib/view/cashFlow/cashFlowSelectorTypes.js +21 -28
  189. package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.d.ts +3 -4
  190. package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.js +3 -12
  191. package/lib/view/classList/classListPayload.d.ts +2 -1
  192. package/lib/view/common/recurringViewHelper.d.ts +2 -2
  193. package/lib/view/common/recurringViewHelper.js +1 -4
  194. package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.d.ts +2 -1
  195. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.d.ts +0 -1
  196. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +1 -3
  197. package/lib/view/companyConfigView/companyConfigPayload.d.ts +2 -1
  198. package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.d.ts +2 -1
  199. package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.d.ts +6 -11
  200. package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.js +8 -13
  201. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewPayload.d.ts +3 -2
  202. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.d.ts +0 -4
  203. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.js +2 -3
  204. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewState.d.ts +2 -2
  205. package/lib/view/companyView/companyViewPayload.d.ts +10 -9
  206. package/lib/view/companyView/helpers/cockpitHelpers.d.ts +0 -1
  207. package/lib/view/companyView/helpers/cockpitHelpers.js +3 -3
  208. package/lib/view/companyView/selector/companyManagementViewSelector.d.ts +0 -2
  209. package/lib/view/companyView/selector/companyManagementViewSelector.js +4 -5
  210. package/lib/view/companyView/types/cockpitTypes.d.ts +0 -7
  211. package/lib/view/companyView/types/cockpitTypes.js +11 -19
  212. package/lib/view/companyView/types/companyMetaDataViewState.d.ts +2 -1
  213. package/lib/view/companyView/types/companyPassportViewPayload.d.ts +6 -5
  214. package/lib/view/fileView/fileViewPayload.d.ts +2 -1
  215. package/lib/view/fileView/fileViewState.d.ts +2 -1
  216. package/lib/view/forecastList/forecastListPayload.d.ts +2 -1
  217. package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.d.ts +0 -7
  218. package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.js +2 -3
  219. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.d.ts +1 -1
  220. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState.d.ts +0 -1
  221. package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState.js +1 -3
  222. package/lib/view/globalMerchantView/globalMerchantViewPayload.d.ts +1 -1
  223. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelector.d.ts +0 -1
  224. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelector.js +1 -2
  225. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelectorTypes.d.ts +4 -6
  226. package/lib/view/netBurnOrIncome/netBurnOrIncomeSelectorTypes.js +1 -3
  227. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.d.ts +3 -3
  228. package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.js +4 -6
  229. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardPayload.d.ts +9 -11
  230. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardPayload.js +3 -4
  231. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes.d.ts +0 -1
  232. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes.js +1 -3
  233. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.d.ts +0 -2
  234. package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.js +1 -5
  235. package/lib/view/notificationView/notificationViewPayload.d.ts +3 -17
  236. package/lib/view/notificationView/notificationViewState.d.ts +3 -4
  237. package/lib/view/notificationView/notificationViewState.js +7 -9
  238. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewPayload.d.ts +1 -15
  239. package/lib/view/onboardingView/cockpitView/onboardingCockpitViewState.d.ts +2 -1
  240. package/lib/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.d.ts +2 -4
  241. package/lib/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.js +6 -9
  242. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.d.ts +0 -6
  243. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +2 -3
  244. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.d.ts +0 -8
  245. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +1 -2
  246. package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.d.ts +3 -2
  247. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +0 -6
  248. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +1 -4
  249. package/lib/view/onboardingView/customerView/onboardingCustomerViewState.d.ts +1 -2
  250. package/lib/view/onboardingView/customerView/onboardingCustomerViewState.js +5 -7
  251. package/lib/view/opEx/opExSelector.d.ts +0 -13
  252. package/lib/view/opEx/opExSelector.js +3 -4
  253. package/lib/view/opExByVendor/opExByVendorPayload.d.ts +4 -3
  254. package/lib/view/opExByVendor/opExByVendorState.d.ts +0 -1
  255. package/lib/view/opExByVendor/opExByVendorState.js +3 -3
  256. package/lib/view/opExClassesView/opExClassesViewSelectorTypes.d.ts +3 -3
  257. package/lib/view/opExClassesView/opExClassesViewSelectorTypes.js +4 -6
  258. package/lib/view/people/peopleTypes.d.ts +2 -2
  259. package/lib/view/people/peopleTypes.js +2 -4
  260. package/lib/view/profitAndLoss/profitAndLossSelector.d.ts +1 -1
  261. package/lib/view/profitAndLoss/profitAndLossSelector.js +2 -6
  262. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.d.ts +3 -2
  263. package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.js +1 -3
  264. package/lib/view/recommendation/recommendationPayload.d.ts +3 -2
  265. package/lib/view/referralView/referralPayload.d.ts +4 -3
  266. package/lib/view/referralView/referralState.d.ts +3 -4
  267. package/lib/view/referralView/referralState.js +5 -10
  268. package/lib/view/reimbursementCard/fetchReimbursementCardEpic.js +1 -1
  269. package/lib/view/reimbursementCard/reimbursementCardPayload.d.ts +4 -4
  270. package/lib/view/reimbursementCard/reimbursementCardState.d.ts +3 -2
  271. package/lib/view/reimbursementCard/reimbursementCardState.js +0 -2
  272. package/lib/view/revenue/revenueSelector.d.ts +0 -15
  273. package/lib/view/revenue/revenueSelector.js +1 -2
  274. package/lib/view/revenue/revenueSelectorTypes.d.ts +4 -6
  275. package/lib/view/revenue/revenueSelectorTypes.js +1 -3
  276. package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.d.ts +3 -3
  277. package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.js +4 -6
  278. package/lib/view/reviewCompanyView/reviewCompanyPayload.d.ts +2 -1
  279. package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +0 -1
  280. package/lib/view/reviewCompanyView/reviewCompanyViewState.js +3 -3
  281. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.d.ts +0 -1
  282. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +3 -3
  283. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +7 -14
  284. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +8 -13
  285. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailTypes.d.ts +2 -2
  286. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailTypes.js +2 -4
  287. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.d.ts +2 -28
  288. package/lib/view/scheduleView/scheduleListView/scheduleListHelper.js +4 -24
  289. package/lib/view/scheduleView/scheduleListView/scheduleListPayload.d.ts +2 -1
  290. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +2 -4
  291. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.js +7 -8
  292. package/lib/view/settingsView/epic/fetchMyProfileEpic.d.ts +0 -6
  293. package/lib/view/settingsView/epic/fetchMyProfileEpic.js +1 -3
  294. package/lib/view/settingsView/settingsViewPayload.d.ts +3 -2
  295. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewPayload.d.ts +2 -1
  296. package/lib/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.js +1 -1
  297. package/lib/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.js +1 -1
  298. package/lib/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.js +1 -1
  299. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +1 -1
  300. package/lib/view/spendManagement/billPay/billList/billListSelector.d.ts +3 -4
  301. package/lib/view/spendManagement/billPay/billList/billListSelector.js +3 -5
  302. package/lib/view/spendManagement/billPay/billList/billListState.d.ts +4 -4
  303. package/lib/view/spendManagement/billPay/billList/billListState.js +3 -6
  304. package/lib/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.js +1 -1
  305. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.d.ts +15 -35
  306. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.js +7 -13
  307. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigSelector.d.ts +2 -1
  308. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +10 -15
  309. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.js +15 -21
  310. package/lib/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.js +1 -1
  311. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.d.ts +3 -2
  312. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.d.ts +2 -1
  313. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.d.ts +2 -2
  314. package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.d.ts +3 -4
  315. package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.d.ts +2 -1
  316. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewPayload.d.ts +4 -3
  317. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewSelector.d.ts +2 -1
  318. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState.d.ts +0 -2
  319. package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState.js +5 -5
  320. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/approveOrRejectBillsBulkActionEpic.js +1 -1
  321. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/cancelOrDeleteBillsBulkActionEpic.js +1 -1
  322. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/reviewDraftBillsBulkActionEpic.ts.js +1 -1
  323. package/lib/view/spendManagement/billPay/billsBulkActionView/epics/submitDraftBillsBulkActionEpic.js +1 -1
  324. package/lib/view/spendManagement/billPay/editBillView/editBillViewPayload.d.ts +3 -30
  325. package/lib/view/spendManagement/billPay/editBillView/editBillViewPayload.js +1 -25
  326. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +0 -2
  327. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +2 -4
  328. package/lib/view/spendManagement/billPay/editBillView/editBillViewState.d.ts +2 -2
  329. package/lib/view/spendManagement/billPay/editBillView/editBillViewState.js +3 -4
  330. package/lib/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.js +1 -1
  331. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +0 -8
  332. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +4 -5
  333. package/lib/view/spendManagement/billPay/internationalWire/internationalWire.d.ts +2 -1
  334. package/lib/view/spendManagement/billPay/internationalWire/internationalWirePayload.d.ts +5 -10
  335. package/lib/view/spendManagement/billPay/internationalWire/internationalWirePayload.js +3 -5
  336. package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.js +1 -1
  337. package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.d.ts +7 -6
  338. package/lib/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.js +1 -1
  339. package/lib/view/spendManagement/billPay/previousBills/previousBillsState.d.ts +2 -1
  340. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailPayload.d.ts +2 -1
  341. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.d.ts +0 -11
  342. package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.js +3 -5
  343. package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigPayload.d.ts +3 -2
  344. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +3 -2
  345. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailPayload.d.ts +3 -2
  346. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +0 -2
  347. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +5 -5
  348. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListPayload.d.ts +2 -1
  349. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.d.ts +1 -2
  350. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +2 -3
  351. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.d.ts +2 -2
  352. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewState.d.ts +0 -2
  353. package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.d.ts +2 -1
  354. package/lib/view/spendManagement/commonHistoryView/commonHistory.d.ts +4 -3
  355. package/lib/view/spendManagement/commonHistoryView/commonHistoryPayload.d.ts +5 -5
  356. package/lib/view/spendManagement/commonHistoryView/commonHistoryPayload.js +2 -3
  357. package/lib/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.js +1 -1
  358. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +1 -5
  359. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +1 -13
  360. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +2 -5
  361. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +1 -2
  362. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +2 -3
  363. package/lib/view/spendManagement/commonSetup/setupViewState.js +2 -6
  364. package/lib/view/spendManagement/helpers.d.ts +1 -3
  365. package/lib/view/spendManagement/helpers.js +3 -5
  366. package/lib/view/spendManagement/merchantList/merchantListPayload.d.ts +2 -1
  367. package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updateMappedCashAccountEpic.js +1 -1
  368. package/lib/view/spendManagement/plaidAccount/types/plaidConnection.d.ts +2 -1
  369. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.d.ts +2 -1
  370. package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalState.d.ts +3 -2
  371. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewPayload.d.ts +2 -2
  372. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.d.ts +2 -3
  373. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +1 -22
  374. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewState.d.ts +2 -1
  375. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.js +1 -1
  376. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.d.ts +0 -6
  377. package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js +2 -12
  378. package/lib/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.js +2 -2
  379. package/lib/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.js +1 -1
  380. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigPayload.d.ts +2 -1
  381. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigSelector.d.ts +0 -1
  382. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigSelector.js +1 -8
  383. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.d.ts +2 -1
  384. package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.js +1 -2
  385. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.js +1 -1
  386. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.js +1 -1
  387. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.js +1 -1
  388. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.js +1 -1
  389. package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js +1 -1
  390. package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewPayload.d.ts +4 -3
  391. package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.js +1 -1
  392. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +2 -2
  393. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.js +3 -4
  394. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.d.ts +2 -1
  395. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.d.ts +0 -8
  396. package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.js +1 -2
  397. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.d.ts +3 -2
  398. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewState.d.ts +1 -2
  399. package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewState.js +1 -3
  400. package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.d.ts +3 -2
  401. package/lib/view/spendManagement/spendManagementFilterHelpers.d.ts +3 -7
  402. package/lib/view/spendManagement/spendManagementFilterHelpers.js +4 -7
  403. package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.js +1 -1
  404. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailPayload.d.ts +3 -2
  405. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.js +1 -1
  406. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.js +1 -1
  407. package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.js +1 -1
  408. package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.js +1 -1
  409. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.d.ts +3 -2
  410. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListState.d.ts +2 -1
  411. package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.js +1 -1
  412. package/lib/view/spendManagement/zeniAccounts/transferDetail/fetchReviewTransferDetailEpic.js +1 -1
  413. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.d.ts +3 -2
  414. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailState.d.ts +2 -1
  415. package/lib/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.js +1 -1
  416. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.js +1 -1
  417. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.d.ts +1 -4
  418. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.js +1 -5
  419. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListState.d.ts +2 -1
  420. package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListState.js +1 -2
  421. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.d.ts +2 -1
  422. package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.d.ts +2 -2
  423. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.js +1 -1
  424. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.d.ts +4 -4
  425. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.js +2 -3
  426. package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigState.d.ts +2 -1
  427. package/lib/view/subscriptionView/subscriptionEstmiatePayload.d.ts +1 -1
  428. package/lib/view/subscriptionView/subscriptionViewPayload.d.ts +9 -8
  429. package/lib/view/subscriptionView/subscriptionViewState.d.ts +3 -2
  430. package/lib/view/subscriptionView/types/subscriptionEstmiate.d.ts +4 -3
  431. package/lib/view/subscriptionView/types/subscriptionTypes.d.ts +2 -2
  432. package/lib/view/subscriptionView/types/subscriptionTypes.js +3 -4
  433. package/lib/view/tagView/tagViewPayload.d.ts +2 -2
  434. package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.d.ts +0 -7
  435. package/lib/view/taskManager/taskGroupView/taskGroupViewPayload.d.ts +2 -1
  436. package/lib/view/taskManager/taskListView/taskList.d.ts +2 -7
  437. package/lib/view/taskManager/taskListView/taskList.js +3 -4
  438. package/lib/view/taskManager/taskListView/taskListPayload.d.ts +2 -1
  439. package/lib/view/transactionDetail/transactionDetailPayload.d.ts +1 -1
  440. package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.d.ts +0 -8
  441. package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.js +1 -2
  442. package/lib/view/transactionList/transactionListByEntitySelector.d.ts +0 -2
  443. package/lib/view/transactionList/transactionListByEntitySelector.js +1 -2
  444. package/lib/view/transactionList/transactionListPayload.d.ts +5 -4
  445. package/lib/view/transactionList/transactionListState.d.ts +5 -4
  446. package/lib/view/trend/trendPayload.d.ts +4 -3
  447. package/lib/view/trendWithTransactions/trendWithTransactionsState.d.ts +2 -1
  448. package/lib/view/twoFactorAuthentication/twoFactorAuthenticationPayload.d.ts +3 -2
  449. package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.d.ts +0 -2
  450. package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.js +2 -3
  451. package/lib/view/userFinancialAccount/userFinancialAccountSelector.d.ts +0 -1
  452. package/lib/view/userFinancialAccount/userFinancialAccountSelector.js +2 -3
  453. package/lib/view/userListView/userListViewPayload.d.ts +2 -1
  454. package/lib/view/userRoleConfigView/userRoleConfigPayload.d.ts +2 -1
  455. package/lib/view/vendorList/vendorListPayload.d.ts +2 -5
  456. package/lib/view/vendorList/vendorListSelector.d.ts +0 -1
  457. package/lib/view/vendorList/vendorListSelector.js +1 -3
  458. package/lib/view/vendorReviewView/common/state/commonTypes.d.ts +3 -5
  459. package/lib/view/vendorReviewView/common/state/commonTypes.js +4 -26
  460. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewAttachmentsEpic.d.ts +0 -3
  461. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewPayload.d.ts +3 -3
  462. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.d.ts +2 -1
  463. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.d.ts +2 -2
  464. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.js +3 -3
  465. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.d.ts +2 -3
  466. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.js +3 -5
  467. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.d.ts +0 -2
  468. package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.js +3 -5
  469. package/lib/view/vendorTypeList/vendorTypeListPayload.d.ts +2 -1
  470. package/lib/view/vendorTypeList/vendorTypeSelector.d.ts +0 -12
  471. package/lib/view/vendorTypeList/vendorTypeSelector.js +0 -11
  472. package/lib/view/zeniAccStatementList/fetchZeniAccStatementListEpic.js +2 -2
  473. package/lib/view/zeniAccStatementList/zeniAccStatementListPayload.d.ts +2 -1
  474. package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.js +1 -1
  475. package/lib/zeniAPI.d.ts +2 -0
  476. package/package.json +5 -3
@@ -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.getTotalRecurringRevenue = exports.getAddonListZeniSku = exports.getPlanListZeniSku = exports.getPlanList = exports.getCompanyManagementView = exports.getManagementViewFromCompanyIds = void 0;
6
+ exports.getTotalRecurringRevenue = exports.getAddonListZeniSku = exports.getPlanListZeniSku = exports.getCompanyManagementView = exports.getManagementViewFromCompanyIds = void 0;
7
7
  const toolkit_1 = require("@reduxjs/toolkit");
8
8
  const get_1 = __importDefault(require("lodash/get"));
9
9
  const getCompanyView_1 = require("../selectorHelpers/getCompanyView");
@@ -69,7 +69,6 @@ const getPlanList = (sampleCompany) => {
69
69
  });
70
70
  return planList;
71
71
  };
72
- exports.getPlanList = getPlanList;
73
72
  const removeDuplicatesFromCompaniesArray = (companies) => {
74
73
  const foundIds = [];
75
74
  return companies.filter((company) => {
@@ -210,7 +209,7 @@ const sortAndFilterCompanies = (sortKey, sortOrder, filterText, companies, userS
210
209
  }
211
210
  break;
212
211
  case 'plans':
213
- if (((_b = (0, exports.getPlanList)(company)[0]) === null || _b === void 0 ? void 0 : _b.label) != null) {
212
+ if (((_b = getPlanList(company)[0]) === null || _b === void 0 ? void 0 : _b.label) != null) {
214
213
  companiesWithSortKeyValue.push(company);
215
214
  }
216
215
  else {
@@ -341,7 +340,7 @@ const sortAndFilterCompanies = (sortKey, sortOrder, filterText, companies, userS
341
340
  let maxPlansCount = 0;
342
341
  companiesWithSortKeyValue.forEach((company) => {
343
342
  var _a;
344
- maxPlansCount = Math.max(maxPlansCount, (_a = (0, exports.getPlanList)(company)) === null || _a === void 0 ? void 0 : _a.length);
343
+ maxPlansCount = Math.max(maxPlansCount, (_a = getPlanList(company)) === null || _a === void 0 ? void 0 : _a.length);
345
344
  });
346
345
  for (let i = 0; i < maxPlansCount; i++) {
347
346
  sortOrderKeys.push(sortOrderKey);
@@ -367,7 +366,7 @@ const sortAndFilterCompanies = (sortKey, sortOrder, filterText, companies, userS
367
366
  break;
368
367
  case 'plans':
369
368
  isMultiSortApplicable = true;
370
- multiSortValues = (0, exports.getPlanList)(company).map((plan) => plan === null || plan === void 0 ? void 0 : plan.zeniSku);
369
+ multiSortValues = getPlanList(company).map((plan) => plan === null || plan === void 0 ? void 0 : plan.zeniSku);
371
370
  break;
372
371
  case 'task':
373
372
  primarySortValue = (_b = company.taskSummary) === null || _b === void 0 ? void 0 : _b.count;
@@ -3,11 +3,6 @@ import { ZeniDate } from '../../../zeniDayJS';
3
3
  import { SubscriptionViewSortKey } from '../../subscriptionView/types/subscriptionTypes';
4
4
  import { FilterCategoryValueType } from '../helpers/cockpitHelpers';
5
5
  import { CockpitDownloadTabsID, CockpitTabsFileType } from './cockpitTabsID';
6
- export declare const ALL_PORTFOLIO_SORT_KEYS: readonly ["companyName", "cashBalance", "runway", "expenses", "revenues", "netIncome"];
7
- export declare const ALL_MANAGEMENT_SORT_KEYS: readonly ["companyName", "task", "status", "group", "plans", "controller", "customerSuccessManager", "reviewer", "preparer", "apAnalyst", "reportSent", "taxStatus", "taxLead", "monthlyRecurringRevenue", "annualRecurringRevenue", "notes", "satisfaction", "bookCloseDate"];
8
- export declare const ALL_ONBOARDING_SORT_KEYS: readonly ["companyName", "bankAccountLinked", "qboLinked", "identityVerified", "businessVerified", "groupCreated", "customerCreated", "enroller", "notes", "invite"];
9
- export declare const ALL_HEALTH_SORT_KEYS: readonly ["companyName", "issues", "group", "externalProductServiceExposure", "finOpsEngagementFrequency", "companyEngagementMetricsUpdatedAt", "monthlyRecurringRevenue", "productVerticals", "runway", "churnProbability", "netPromoterScore", "customerSatisfactionScore", "controller", "customerSuccessManager", "lastReportSent", "subscriptionDate", "renewalDate"];
10
- export declare const ALL_TASK_MANAGER_SORT_KEYS: readonly ["name", "taskName", "status", "priority", "dueDate", "assignee", "tags", "createdBy"];
11
6
  export declare const toPortfolioSortKeyType: (v: string) => "expenses" | "runway" | "cashBalance" | "netIncome" | "companyName" | "revenues";
12
7
  export declare const toManagementSortKeyType: (v: string) => "status" | "group" | "bookCloseDate" | "controller" | "preparer" | "reviewer" | "companyName" | "monthlyRecurringRevenue" | "annualRecurringRevenue" | "taxStatus" | "plans" | "notes" | "task" | "customerSuccessManager" | "apAnalyst" | "reportSent" | "taxLead" | "satisfaction";
13
8
  export declare const toOnboardingSortKeyType: (v: string) => "companyName" | "notes" | "bankAccountLinked" | "qboLinked" | "identityVerified" | "businessVerified" | "groupCreated" | "customerCreated" | "enroller" | "invite";
@@ -47,6 +42,4 @@ export interface DownloadCockpitTabOptions {
47
42
  tabs: CockpitDownloadTabsID[];
48
43
  filterByTabs: Record<CockpitDownloadTabsID, FilterCombinationsByTabs>;
49
44
  }
50
- export declare const ALL_ONBOARDING_STEP_KEYS: readonly ["bankAccountLinked", "qboLinked", "identityVerified", "businessVerified"];
51
- export declare const toOnboardingStepKeyType: (v: string) => "bankAccountLinked" | "qboLinked" | "identityVerified" | "businessVerified";
52
45
  export declare type CategoryValueForCompanyType = string | string[] | ZeniDate | undefined;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toOnboardingStepKeyType = exports.ALL_ONBOARDING_STEP_KEYS = exports.toManagementStatusCodeType = exports.MANAGEMENT_STATUS_CODES = exports.toTaskManagerSortKeyType = exports.toHealthSortKeyType = exports.toOnboardingSortKeyType = exports.toManagementSortKeyType = exports.toPortfolioSortKeyType = exports.ALL_TASK_MANAGER_SORT_KEYS = exports.ALL_HEALTH_SORT_KEYS = exports.ALL_ONBOARDING_SORT_KEYS = exports.ALL_MANAGEMENT_SORT_KEYS = exports.ALL_PORTFOLIO_SORT_KEYS = void 0;
3
+ exports.toManagementStatusCodeType = exports.MANAGEMENT_STATUS_CODES = exports.toTaskManagerSortKeyType = exports.toHealthSortKeyType = exports.toOnboardingSortKeyType = exports.toManagementSortKeyType = exports.toPortfolioSortKeyType = void 0;
4
4
  const stringToUnion_1 = require("../../../commonStateTypes/stringToUnion");
5
- exports.ALL_PORTFOLIO_SORT_KEYS = [
5
+ const ALL_PORTFOLIO_SORT_KEYS = [
6
6
  'companyName',
7
7
  'cashBalance',
8
8
  'runway',
@@ -10,7 +10,7 @@ exports.ALL_PORTFOLIO_SORT_KEYS = [
10
10
  'revenues',
11
11
  'netIncome',
12
12
  ];
13
- exports.ALL_MANAGEMENT_SORT_KEYS = [
13
+ const ALL_MANAGEMENT_SORT_KEYS = [
14
14
  'companyName',
15
15
  'task',
16
16
  'status',
@@ -30,7 +30,7 @@ exports.ALL_MANAGEMENT_SORT_KEYS = [
30
30
  'satisfaction',
31
31
  'bookCloseDate',
32
32
  ];
33
- exports.ALL_ONBOARDING_SORT_KEYS = [
33
+ const ALL_ONBOARDING_SORT_KEYS = [
34
34
  'companyName',
35
35
  'bankAccountLinked',
36
36
  'qboLinked',
@@ -42,7 +42,7 @@ exports.ALL_ONBOARDING_SORT_KEYS = [
42
42
  'notes',
43
43
  'invite',
44
44
  ];
45
- exports.ALL_HEALTH_SORT_KEYS = [
45
+ const ALL_HEALTH_SORT_KEYS = [
46
46
  'companyName',
47
47
  'issues',
48
48
  'group',
@@ -61,7 +61,7 @@ exports.ALL_HEALTH_SORT_KEYS = [
61
61
  'subscriptionDate',
62
62
  'renewalDate',
63
63
  ];
64
- exports.ALL_TASK_MANAGER_SORT_KEYS = [
64
+ const ALL_TASK_MANAGER_SORT_KEYS = [
65
65
  'name',
66
66
  'taskName',
67
67
  'status',
@@ -71,15 +71,15 @@ exports.ALL_TASK_MANAGER_SORT_KEYS = [
71
71
  'tags',
72
72
  'createdBy',
73
73
  ];
74
- const toPortfolioSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_PORTFOLIO_SORT_KEYS);
74
+ const toPortfolioSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_PORTFOLIO_SORT_KEYS);
75
75
  exports.toPortfolioSortKeyType = toPortfolioSortKeyType;
76
- const toManagementSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_MANAGEMENT_SORT_KEYS);
76
+ const toManagementSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_MANAGEMENT_SORT_KEYS);
77
77
  exports.toManagementSortKeyType = toManagementSortKeyType;
78
- const toOnboardingSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_ONBOARDING_SORT_KEYS);
78
+ const toOnboardingSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_ONBOARDING_SORT_KEYS);
79
79
  exports.toOnboardingSortKeyType = toOnboardingSortKeyType;
80
- const toHealthSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_HEALTH_SORT_KEYS);
80
+ const toHealthSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_HEALTH_SORT_KEYS);
81
81
  exports.toHealthSortKeyType = toHealthSortKeyType;
82
- const toTaskManagerSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_TASK_MANAGER_SORT_KEYS);
82
+ const toTaskManagerSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_TASK_MANAGER_SORT_KEYS);
83
83
  exports.toTaskManagerSortKeyType = toTaskManagerSortKeyType;
84
84
  exports.MANAGEMENT_STATUS_CODES = [
85
85
  'live',
@@ -90,11 +90,3 @@ exports.MANAGEMENT_STATUS_CODES = [
90
90
  ];
91
91
  const toManagementStatusCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.MANAGEMENT_STATUS_CODES);
92
92
  exports.toManagementStatusCodeType = toManagementStatusCodeType;
93
- exports.ALL_ONBOARDING_STEP_KEYS = [
94
- 'bankAccountLinked',
95
- 'qboLinked',
96
- 'identityVerified',
97
- 'businessVerified',
98
- ];
99
- const toOnboardingStepKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_ONBOARDING_STEP_KEYS);
100
- exports.toOnboardingStepKeyType = toOnboardingStepKeyType;
@@ -1,6 +1,6 @@
1
1
  import { FetchedState, ID } from '../../../commonStateTypes/common';
2
2
  import { CompanyMetaDataViewPayload } from '../companyViewPayload';
3
- export interface CompanyMetaData {
3
+ interface CompanyMetaData {
4
4
  hasMonthEndEmailHistory: boolean;
5
5
  }
6
6
  export interface CompanyMetaDataViewState extends FetchedState {
@@ -10,3 +10,4 @@ export interface CompanyMetaDataViewState extends FetchedState {
10
10
  * Helpers
11
11
  */
12
12
  export declare const getMetaDataByCompanyIds: (data: CompanyMetaDataViewPayload) => Record<ID, CompanyMetaData>;
13
+ export {};
@@ -2,14 +2,14 @@ import { ID } from '../../../commonStateTypes/common';
2
2
  import { CompanyInfoPayload, CompanyQuestionairePayload, CompanyIncInfoPayload, CompanyTaxInfoPayload, CompanyConfigInfoPayload } from '../../../entity/company/companyPayload';
3
3
  import { UserUpdatableInfo } from '../epic/companyPassport/updatePrimaryContactEpic';
4
4
  import { CompanyInfoLocalData, IncInfoLocalData, TaxDetailsLocalData } from './companyPassport/companyDetailsLocalData';
5
- export interface CompanyInfoUpdatableInfoPayload extends Pick<CompanyInfoPayload, 'name' | 'company_url' | 'meeting_url' | 'company_legal_name' | 'phone'>, Pick<CompanyQuestionairePayload, 'company_industry' | 'company_business_model'>, Pick<CompanyConfigInfoPayload, 'is_new_company_industry_verified'> {
5
+ interface CompanyInfoUpdatableInfoPayload extends Pick<CompanyInfoPayload, 'name' | 'company_url' | 'meeting_url' | 'company_legal_name' | 'phone'>, Pick<CompanyQuestionairePayload, 'company_industry' | 'company_business_model'>, Pick<CompanyConfigInfoPayload, 'is_new_company_industry_verified'> {
6
6
  }
7
- export declare type CompanyIncUpdatableInfoPayload = Pick<CompanyIncInfoPayload, 'company_inc_type' | 'company_inc_state' | 'company_inc_date'>;
8
- export declare type CompanyTaxUpdatableInfoPayload = Omit<CompanyTaxInfoPayload, 'taxes_filed_date' | 'taxes_due_date'>;
9
- export declare type CompanyFileInfoPayload = {
7
+ declare type CompanyIncUpdatableInfoPayload = Pick<CompanyIncInfoPayload, 'company_inc_type' | 'company_inc_state' | 'company_inc_date'>;
8
+ declare type CompanyTaxUpdatableInfoPayload = Omit<CompanyTaxInfoPayload, 'taxes_filed_date' | 'taxes_due_date'>;
9
+ declare type CompanyFileInfoPayload = {
10
10
  file_ids: ID[];
11
11
  };
12
- export interface UserUpdatableInfoPayload {
12
+ interface UserUpdatableInfoPayload {
13
13
  first_name?: string | null;
14
14
  last_name?: string | null;
15
15
  email: string;
@@ -23,3 +23,4 @@ export declare const toCompanyIncInfoUpdatableInfoPayload: (info: IncInfoLocalDa
23
23
  export declare const toCompanyTaxInfoUpdatableInfoPayload: (info: TaxDetailsLocalData) => CompanyTaxUpdatableInfoPayload;
24
24
  export declare const toCompanyFileInfoPayload: (incInfo: IncInfoLocalData, taxIinfo: TaxDetailsLocalData) => CompanyFileInfoPayload;
25
25
  export declare const toUserUpdatableInfoPayload: (info: Partial<UserUpdatableInfo>) => Partial<UserUpdatableInfoPayload>;
26
+ export {};
@@ -1,6 +1,7 @@
1
1
  import { FilePayload } from '../../entity/file/filePayload';
2
2
  import { ZeniAPIResponse } from '../../responsePayload';
3
- export interface FilesPayload {
3
+ interface FilesPayload {
4
4
  files: FilePayload[];
5
5
  }
6
6
  export declare type FileListResponse = ZeniAPIResponse<FilesPayload>;
7
+ export {};
@@ -5,7 +5,8 @@ export interface FileViewState {
5
5
  fileNameUpdateStatusById: Record<ID, FetchStateAndError>;
6
6
  fileDeleteStatusById: Record<ID, FetchStateAndError>;
7
7
  }
8
- export interface FilesFetchStateAndError extends FetchStateAndError {
8
+ interface FilesFetchStateAndError extends FetchStateAndError {
9
9
  fileIDs: ID[];
10
10
  }
11
11
  export declare const initialFileViewState: FileViewState;
12
+ export {};
@@ -1,6 +1,7 @@
1
1
  import { ForecastPayload } from '../../entity/forecast/forecastPayload';
2
2
  import { ZeniAPIResponse } from '../../responsePayload';
3
- export interface ForecastListPayload {
3
+ interface ForecastListPayload {
4
4
  forecasts: ForecastPayload[];
5
5
  }
6
6
  export declare type ForecastListResponse = ZeniAPIResponse<ForecastListPayload>;
7
+ export {};
@@ -3,14 +3,7 @@ import { RootState } from '../../../reducer';
3
3
  import { ZeniAPI } from '../../../zeniAPI';
4
4
  import { updateGlobalMerchantsBase } from '../../../entity/globalMerchant/globalMerchantReducer';
5
5
  import { createGlobalMerchant, createGlobalMerchantSuccess, createGlobalMerchantFailure } from '../globalMerchantViewReducer';
6
- import { NewGlobalMerchantData } from '../globalMerchantViewState';
7
- import { CreatableGlobalMerchantInfoPayload } from '../globalMerchantViewPayload';
8
6
  import { updateSelectedGlobalMerchant } from '../../vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer';
9
7
  import { openSnackbar } from '../../../entity/snackbar/snackbarReducer';
10
- import { VendorReviewViewAllRecommendationsPayload } from '../../vendorReviewView/common/payload/commonTypes';
11
8
  export declare type ActionType = ReturnType<typeof updateGlobalMerchantsBase> | ReturnType<typeof createGlobalMerchant> | ReturnType<typeof updateSelectedGlobalMerchant> | ReturnType<typeof openSnackbar> | ReturnType<typeof createGlobalMerchantSuccess> | ReturnType<typeof createGlobalMerchantFailure>;
12
9
  export declare const createGlobalMerchantEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<ActionType>;
13
- /**
14
- * Helpers
15
- */
16
- export declare const toCreatableGlobalMerchantInfoPayload: (globalMerchantData: NewGlobalMerchantData, allRecommendations: VendorReviewViewAllRecommendationsPayload) => CreatableGlobalMerchantInfoPayload;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toCreatableGlobalMerchantInfoPayload = exports.createGlobalMerchantEpic = void 0;
3
+ exports.createGlobalMerchantEpic = void 0;
4
4
  const rxjs_1 = require("rxjs");
5
5
  const operators_1 = require("rxjs/operators");
6
6
  const responsePayload_1 = require("../../../responsePayload");
@@ -21,7 +21,7 @@ const createGlobalMerchantEpic = (actions$, state$, zeniAPI) => actions$.pipe((0
21
21
  });
22
22
  const allRecommendations = (0, commonTypes_1.toVendorReviewViewRecommendationPayload)(recommendations, nonExistingRecommendations);
23
23
  if (newGlobalMerchantData != null) {
24
- const payload = Object.assign({}, (0, exports.toCreatableGlobalMerchantInfoPayload)(newGlobalMerchantData, allRecommendations));
24
+ const payload = Object.assign({}, toCreatableGlobalMerchantInfoPayload(newGlobalMerchantData, allRecommendations));
25
25
  return zeniAPI
26
26
  .postAndGetJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/global-merchants`, payload)
27
27
  .pipe((0, operators_1.mergeMap)((response) => {
@@ -98,4 +98,3 @@ const toCreatableGlobalMerchantInfoPayload = (globalMerchantData, allRecommendat
98
98
  }
99
99
  return payload;
100
100
  };
101
- exports.toCreatableGlobalMerchantInfoPayload = toCreatableGlobalMerchantInfoPayload;
@@ -1,7 +1,7 @@
1
1
  import { ZeniAPIStatus } from '../../../responsePayload';
2
2
  import { GlobalMerchantAutoCompleteResponsePayload } from './globalMerchantAutoCompleteViewPayload';
3
3
  import { GlobalMerchantAutoCompleteState, GlobalMerchantType } from './globalMerchantAutoCompleteViewState';
4
- export interface GlobalMerchantAutoCompletePayload {
4
+ interface GlobalMerchantAutoCompletePayload {
5
5
  searchString: string;
6
6
  globalMerchantType: GlobalMerchantType;
7
7
  }
@@ -1,7 +1,6 @@
1
1
  import { FetchedState, ID } from '../../../commonStateTypes/common';
2
2
  import { View } from '../../../commonStateTypes/viewAndReport/viewAndReport';
3
3
  export declare const toGlobalMerchantType: (v: string) => "vendor";
4
- export declare const toGlobalMerchantTypeStrict: (v?: string | undefined) => "vendor" | undefined;
5
4
  export declare type GlobalMerchantType = NonNullable<ReturnType<typeof toGlobalMerchantType>>;
6
5
  export interface GlobalMerchantAutoCompleteState extends FetchedState, View {
7
6
  merchantIds: ID[];
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toGlobalMerchantTypeStrict = exports.toGlobalMerchantType = void 0;
3
+ exports.toGlobalMerchantType = void 0;
4
4
  const stringToUnion_1 = require("../../../commonStateTypes/stringToUnion");
5
5
  const ALL_GLOBAL_MERCHANT_TYPES = ['vendor'];
6
6
  const toGlobalMerchantType = (v) => (0, stringToUnion_1.stringToUnion)(v.toLocaleLowerCase(), ALL_GLOBAL_MERCHANT_TYPES);
7
7
  exports.toGlobalMerchantType = toGlobalMerchantType;
8
- const toGlobalMerchantTypeStrict = (v) => { var _a; return (0, stringToUnion_1.stringToUnionStrict)((_a = v === null || v === void 0 ? void 0 : v.toLocaleLowerCase()) !== null && _a !== void 0 ? _a : '', ALL_GLOBAL_MERCHANT_TYPES); };
9
- exports.toGlobalMerchantTypeStrict = toGlobalMerchantTypeStrict;
@@ -10,7 +10,7 @@ export interface CreatableGlobalMerchantInfoPayload {
10
10
  third_party_merchant_id?: string | null;
11
11
  recommendations: VendorReviewViewAllRecommendationsPayload;
12
12
  }
13
- export interface CreateGlobalMerchantPayload {
13
+ interface CreateGlobalMerchantPayload {
14
14
  global_merchants: GlobalMerchantBasePayload[];
15
15
  }
16
16
  export declare type CreateGlobalMerchantResponse = ZeniAPIResponse<CreateGlobalMerchantPayload>;
@@ -13,4 +13,3 @@ export declare const getNetBurnOrIncomeReport: (accountState: AccountState, acco
13
13
  export declare const getNetBurnOrIncomeForSelectedRange: (state: RootState) => NetBurnOrIncomeReport;
14
14
  export declare const getNetBurnOrIncomeForHighlightedRange: (state: RootState) => NetBurnOrIncomeReport;
15
15
  export declare const getNetBurnOrIncomeReportFetchState: (forecastId: ID | undefined, netBurnOrIncomeState: NetBurnOrIncomeWithForecastState) => FetchStateAndError;
16
- export declare function getNetBurnOrIncomeWithForecastOnDataAvailableDateRange(filter: COABalancesFilter, selectedforecastId: ID | undefined, accountState: AccountState, accountGroupState: AccountGroupState, sectionsState: SectionAccountsViewState, forecastListState: ForecastListState, netBurnOrIncomeWithForecaststate: NetBurnOrIncomeWithForecastState, forecastState: ForecastState): NetBurnOrIncomeReport;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getNetBurnOrIncomeWithForecastOnDataAvailableDateRange = exports.getNetBurnOrIncomeReportFetchState = exports.getNetBurnOrIncomeForHighlightedRange = exports.getNetBurnOrIncomeForSelectedRange = exports.getNetBurnOrIncomeReport = exports.getNetBurnOrIncomeUIState = void 0;
3
+ exports.getNetBurnOrIncomeReportFetchState = exports.getNetBurnOrIncomeForHighlightedRange = exports.getNetBurnOrIncomeForSelectedRange = exports.getNetBurnOrIncomeReport = exports.getNetBurnOrIncomeUIState = void 0;
4
4
  const reduceFetchState_1 = require("../../commonStateTypes/reduceFetchState");
5
5
  const coaBalancesFilter_1 = require("../../commonStateTypes/coaBalance/coaBalancesFilter");
6
6
  const netBurnOrIncomeReducer_1 = require("./netBurnOrIncomeReducer");
@@ -182,4 +182,3 @@ function getNetBurnOrIncomeWithForecastOnDataAvailableDateRange(filter, selected
182
182
  });
183
183
  return reportF;
184
184
  }
185
- exports.getNetBurnOrIncomeWithForecastOnDataAvailableDateRange = getNetBurnOrIncomeWithForecastOnDataAvailableDateRange;
@@ -2,15 +2,15 @@ import { SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport
2
2
  import { TimeframeTickWithMetaData } from '../../commonStateTypes/timeframeTick';
3
3
  import { InsightSummary } from '../../entity/insights/insightSummary';
4
4
  import { NetBurnOrIncomeUIState, RunwayAndAverages } from './netBurnOrIncomeState';
5
- import { ID, Mode } from '../../commonStateTypes/common';
5
+ import { Mode } from '../../commonStateTypes/common';
6
6
  import { AccountsViewSelectorReport } from '../../commonStateTypes/selectorTypes/accountsViewSelectorReport';
7
7
  import { ForecastListSelectorView } from '../forecastList/forecastListSelector';
8
8
  export declare const ALL_NETBURN_OR_INCOME_SECTION_IDS: readonly ["cogs", "expenses", "income"];
9
- export declare const toNetBurnOrIncomeSectionID: (v: string) => "expenses" | "cogs" | "income";
9
+ declare const toNetBurnOrIncomeSectionID: (v: string) => "expenses" | "cogs" | "income";
10
10
  export declare type NetBurnOrIncomeSectionID = ReturnType<typeof toNetBurnOrIncomeSectionID>;
11
11
  export declare const isNetBurnOrIncomeReportViewSectionID: (id: string) => id is "expenses" | "cogs" | "income";
12
12
  export declare const ALL_NETBURN_OR_INCOME_CALCULATED_SECTION_IDS: readonly ["grossBurn", "netBurnOrIncome"];
13
- export declare const toNetBurnOrIncomeCalculatedSectionID: (v: string) => "netBurnOrIncome" | "grossBurn";
13
+ declare const toNetBurnOrIncomeCalculatedSectionID: (v: string) => "netBurnOrIncome" | "grossBurn";
14
14
  export declare type NetBurnOrIncomeCalculatedSectionID = ReturnType<typeof toNetBurnOrIncomeCalculatedSectionID>;
15
15
  export declare const isNetBurnOrIncomeReportViewCalculatedSectionID: (id: string) => id is "netBurnOrIncome" | "grossBurn";
16
16
  export interface NetBurnOrIncomeReport extends AccountsViewSelectorReport<NetBurnOrIncomeSectionID, NetBurnOrIncomeCalculatedSectionID> {
@@ -19,10 +19,8 @@ export interface NetBurnOrIncomeReport extends AccountsViewSelectorReport<NetBur
19
19
  runwayAndAverages: RunwayAndAverages;
20
20
  forecastList: ForecastListSelectorView;
21
21
  }
22
- export interface NetBurnOrIncomeReportWithForecast extends NetBurnOrIncomeReport {
23
- forecastId: ID;
24
- }
25
22
  export interface NetBurnOrIncomeUIStateSelectorView extends SelectorView, NetBurnOrIncomeUIState {
26
23
  mode: Mode;
27
24
  }
28
25
  export declare const netBurnOrIncomeIdsInOrder: (NetBurnOrIncomeSectionID | NetBurnOrIncomeCalculatedSectionID)[];
26
+ export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.netBurnOrIncomeIdsInOrder = exports.isNetBurnOrIncomeReportViewCalculatedSectionID = exports.toNetBurnOrIncomeCalculatedSectionID = exports.ALL_NETBURN_OR_INCOME_CALCULATED_SECTION_IDS = exports.isNetBurnOrIncomeReportViewSectionID = exports.toNetBurnOrIncomeSectionID = exports.ALL_NETBURN_OR_INCOME_SECTION_IDS = void 0;
3
+ exports.netBurnOrIncomeIdsInOrder = exports.isNetBurnOrIncomeReportViewCalculatedSectionID = exports.ALL_NETBURN_OR_INCOME_CALCULATED_SECTION_IDS = exports.isNetBurnOrIncomeReportViewSectionID = exports.ALL_NETBURN_OR_INCOME_SECTION_IDS = void 0;
4
4
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
5
  exports.ALL_NETBURN_OR_INCOME_SECTION_IDS = [
6
6
  'cogs',
@@ -8,7 +8,6 @@ exports.ALL_NETBURN_OR_INCOME_SECTION_IDS = [
8
8
  'income',
9
9
  ];
10
10
  const toNetBurnOrIncomeSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_NETBURN_OR_INCOME_SECTION_IDS);
11
- exports.toNetBurnOrIncomeSectionID = toNetBurnOrIncomeSectionID;
12
11
  const isNetBurnOrIncomeReportViewSectionID = (id) => exports.ALL_NETBURN_OR_INCOME_SECTION_IDS.find((sectionId) => id === sectionId) != null;
13
12
  exports.isNetBurnOrIncomeReportViewSectionID = isNetBurnOrIncomeReportViewSectionID;
14
13
  exports.ALL_NETBURN_OR_INCOME_CALCULATED_SECTION_IDS = [
@@ -16,7 +15,6 @@ exports.ALL_NETBURN_OR_INCOME_CALCULATED_SECTION_IDS = [
16
15
  'netBurnOrIncome',
17
16
  ];
18
17
  const toNetBurnOrIncomeCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_NETBURN_OR_INCOME_CALCULATED_SECTION_IDS);
19
- exports.toNetBurnOrIncomeCalculatedSectionID = toNetBurnOrIncomeCalculatedSectionID;
20
18
  const isNetBurnOrIncomeReportViewCalculatedSectionID = (id) => exports.ALL_NETBURN_OR_INCOME_CALCULATED_SECTION_IDS.find((calcId) => id === calcId) != null;
21
19
  exports.isNetBurnOrIncomeReportViewCalculatedSectionID = isNetBurnOrIncomeReportViewCalculatedSectionID;
22
20
  exports.netBurnOrIncomeIdsInOrder = ['income', 'cogs', 'expenses', 'grossBurn', 'netBurnOrIncome'];
@@ -3,11 +3,10 @@ import { InsightSummary } from '../../entity/insights/insightSummary';
3
3
  import { NetBurnOrIncomeClassesViewUIState } from './netBurnOrIncomeClassesViewState';
4
4
  import { RunwayAndAverages } from '../netBurnOrIncome/netBurnOrIncomeState';
5
5
  export declare const ALL_NETBURN_OR_INCOME_CLASSES_VIEW_SECTION_IDS: readonly ["cogs", "expenses", "income"];
6
- export declare const toNetBurnOrIncomeClassesViewSectionID: (v: string) => "expenses" | "cogs" | "income";
6
+ declare const toNetBurnOrIncomeClassesViewSectionID: (v: string) => "expenses" | "cogs" | "income";
7
7
  export declare type NetBurnOrIncomeClassesViewSectionID = ReturnType<typeof toNetBurnOrIncomeClassesViewSectionID>;
8
8
  export declare const isNetBurnOrIncomeClassesViewSectionID: (id: string) => id is "expenses" | "cogs" | "income";
9
- export declare const ALL_NETBURN_OR_INCOME_CLASSES_VIEW_CALCULATED_SECTION_IDS: readonly ["grossBurn", "netBurnOrIncome"];
10
- export declare const toNetBurnOrIncomeClassesViewCalculatedSectionID: (v: string) => "netBurnOrIncome" | "grossBurn";
9
+ declare const toNetBurnOrIncomeClassesViewCalculatedSectionID: (v: string) => "netBurnOrIncome" | "grossBurn";
11
10
  export declare type NetBurnOrIncomeClassesViewCalculatedSectionID = ReturnType<typeof toNetBurnOrIncomeClassesViewCalculatedSectionID>;
12
11
  export declare const isNetBurnOrIncomeClassesViewCalculatedSectionID: (id: string) => id is "netBurnOrIncome" | "grossBurn";
13
12
  export interface NetBurnOrIncomeClassesViewReport extends ClassesViewSelectorReportV2<NetBurnOrIncomeClassesViewSectionID, NetBurnOrIncomeClassesViewCalculatedSectionID> {
@@ -15,3 +14,4 @@ export interface NetBurnOrIncomeClassesViewReport extends ClassesViewSelectorRep
15
14
  insights: InsightSummary[];
16
15
  runwayAndAverages: RunwayAndAverages;
17
16
  }
17
+ export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isNetBurnOrIncomeClassesViewCalculatedSectionID = exports.toNetBurnOrIncomeClassesViewCalculatedSectionID = exports.ALL_NETBURN_OR_INCOME_CLASSES_VIEW_CALCULATED_SECTION_IDS = exports.isNetBurnOrIncomeClassesViewSectionID = exports.toNetBurnOrIncomeClassesViewSectionID = exports.ALL_NETBURN_OR_INCOME_CLASSES_VIEW_SECTION_IDS = void 0;
3
+ exports.isNetBurnOrIncomeClassesViewCalculatedSectionID = exports.isNetBurnOrIncomeClassesViewSectionID = exports.ALL_NETBURN_OR_INCOME_CLASSES_VIEW_SECTION_IDS = void 0;
4
4
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
5
  exports.ALL_NETBURN_OR_INCOME_CLASSES_VIEW_SECTION_IDS = [
6
6
  'cogs',
@@ -8,14 +8,12 @@ exports.ALL_NETBURN_OR_INCOME_CLASSES_VIEW_SECTION_IDS = [
8
8
  'income',
9
9
  ];
10
10
  const toNetBurnOrIncomeClassesViewSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_NETBURN_OR_INCOME_CLASSES_VIEW_SECTION_IDS);
11
- exports.toNetBurnOrIncomeClassesViewSectionID = toNetBurnOrIncomeClassesViewSectionID;
12
11
  const isNetBurnOrIncomeClassesViewSectionID = (id) => exports.ALL_NETBURN_OR_INCOME_CLASSES_VIEW_SECTION_IDS.find((sectionId) => id === sectionId) != null;
13
12
  exports.isNetBurnOrIncomeClassesViewSectionID = isNetBurnOrIncomeClassesViewSectionID;
14
- exports.ALL_NETBURN_OR_INCOME_CLASSES_VIEW_CALCULATED_SECTION_IDS = [
13
+ const ALL_NETBURN_OR_INCOME_CLASSES_VIEW_CALCULATED_SECTION_IDS = [
15
14
  'grossBurn',
16
15
  'netBurnOrIncome',
17
16
  ];
18
- const toNetBurnOrIncomeClassesViewCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_NETBURN_OR_INCOME_CLASSES_VIEW_CALCULATED_SECTION_IDS);
19
- exports.toNetBurnOrIncomeClassesViewCalculatedSectionID = toNetBurnOrIncomeClassesViewCalculatedSectionID;
20
- const isNetBurnOrIncomeClassesViewCalculatedSectionID = (id) => exports.ALL_NETBURN_OR_INCOME_CLASSES_VIEW_CALCULATED_SECTION_IDS.find((calcId) => id === calcId) != null;
17
+ const toNetBurnOrIncomeClassesViewCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_NETBURN_OR_INCOME_CLASSES_VIEW_CALCULATED_SECTION_IDS);
18
+ const isNetBurnOrIncomeClassesViewCalculatedSectionID = (id) => ALL_NETBURN_OR_INCOME_CLASSES_VIEW_CALCULATED_SECTION_IDS.find((calcId) => id === calcId) != null;
21
19
  exports.isNetBurnOrIncomeClassesViewCalculatedSectionID = isNetBurnOrIncomeClassesViewCalculatedSectionID;
@@ -1,21 +1,19 @@
1
+ /**
2
+ * Helpers
3
+ */
1
4
  import { ReportPayload } from '../../commonPayloadTypes/viewAndReportPayload';
2
- import { COABalanceGroupedPayload, COABalancePayload } from '../../commonPayloadTypes/coaBalancePayload';
3
- import { ID } from '../../commonStateTypes/common';
5
+ import { COABalancePayload } from '../../commonPayloadTypes/coaBalancePayload';
4
6
  import { ZeniAPIResponse, ZeniReportResponse } from '../../responsePayload';
5
- import { NetBurnOrIncomeAveragesCOABalance, NetBurnOrIncomeCOABalanceWithAveragesGrouped, NetBurnOrIncomeRunway } from './netBurnOrIncomeStoryCardState';
6
7
  import { TenantPayload } from '../../entity/tenant/tenantPayload';
7
- export interface NetBurnOrIncomeBalanceGroupedPayload extends COABalanceGroupedPayload {
8
- account_group_ids: ID[];
9
- account_ids: ID[];
10
- }
11
- export interface NetBurnOrIncomeAveragesCOABalancePayload extends COABalancePayload {
8
+ import { NetBurnOrIncomeCOABalanceWithAveragesGrouped, NetBurnOrIncomeRunway } from './netBurnOrIncomeStoryCardState';
9
+ interface NetBurnOrIncomeAveragesCOABalancePayload extends COABalancePayload {
12
10
  report_title: string;
13
11
  report_status: string | null;
14
12
  report_subtitle: string;
15
13
  considered_months_for_average: number;
16
14
  id: string;
17
15
  }
18
- export interface NetBurnOrIncomeCOABalanceWithAveragesPayload {
16
+ interface NetBurnOrIncomeCOABalanceWithAveragesPayload {
19
17
  months?: COABalancePayload[];
20
18
  averages?: {
21
19
  months: NetBurnOrIncomeAveragesCOABalancePayload[];
@@ -40,7 +38,7 @@ export interface NetBurnOrIncomeStoryCardPayload extends ReportPayload {
40
38
  runway_net_income: RunwayPayload[];
41
39
  }
42
40
  export declare type NetBurnOrIncomeStoryCardResponse = ZeniReportResponse<NetBurnOrIncomeStoryCardPayload>;
43
- export interface TenantsPayload {
41
+ interface TenantsPayload {
44
42
  tenants: TenantPayload[];
45
43
  }
46
44
  export declare type UpdateNetBurnSettingsResponse = ZeniAPIResponse<TenantsPayload>;
@@ -48,5 +46,5 @@ export declare type UpdateNetBurnSettingsResponse = ZeniAPIResponse<TenantsPaylo
48
46
  * Helpers
49
47
  */
50
48
  export declare const toNetBurnOrIncomeCOABalanceWithAveragesGrouped: (payload: NetBurnOrIncomeCOABalanceWithAveragesPayload) => NetBurnOrIncomeCOABalanceWithAveragesGrouped;
51
- export declare const toNetBurnOrIncomeAveragesCOABalance: (payload: NetBurnOrIncomeAveragesCOABalancePayload) => NetBurnOrIncomeAveragesCOABalance;
52
49
  export declare const toNetBurnOrIncomeRunway: (payload: RunwayPayload) => NetBurnOrIncomeRunway;
50
+ export {};
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toNetBurnOrIncomeRunway = exports.toNetBurnOrIncomeAveragesCOABalance = exports.toNetBurnOrIncomeCOABalanceWithAveragesGrouped = void 0;
4
- const zeniDayJS_1 = require("../../zeniDayJS");
3
+ exports.toNetBurnOrIncomeRunway = exports.toNetBurnOrIncomeCOABalanceWithAveragesGrouped = void 0;
5
4
  const coaBalancePayload_1 = require("../../commonPayloadTypes/coaBalancePayload");
6
5
  const netBurnOrIncomeStoryCardState_1 = require("./netBurnOrIncomeStoryCardState");
6
+ const zeniDayJS_1 = require("../../zeniDayJS");
7
7
  /**
8
8
  * Helpers
9
9
  */
@@ -13,7 +13,7 @@ const toNetBurnOrIncomeCOABalanceWithAveragesGrouped = (payload) => {
13
13
  months: (_b = (_a = payload.months) === null || _a === void 0 ? void 0 : _a.map((monthPayload) => (0, coaBalancePayload_1.mapCOABalancePayloadToCOABalance)(monthPayload, 'month'))) !== null && _b !== void 0 ? _b : [],
14
14
  averages: {
15
15
  months: (_f = (_e = (_d = (_c = payload.averages) === null || _c === void 0 ? void 0 : _c.months) === null || _d === void 0 ? void 0 : _d.filter((monthPayload) => Object.keys(monthPayload).length > 0) // Filtering out empty months averages - https://github.com/zeni-ai/client-epic-state/pull/730
16
- ) === null || _e === void 0 ? void 0 : _e.map((monthPayload) => (0, exports.toNetBurnOrIncomeAveragesCOABalance)(monthPayload))) !== null && _f !== void 0 ? _f : [],
16
+ ) === null || _e === void 0 ? void 0 : _e.map((monthPayload) => toNetBurnOrIncomeAveragesCOABalance(monthPayload))) !== null && _f !== void 0 ? _f : [],
17
17
  },
18
18
  };
19
19
  };
@@ -22,7 +22,6 @@ const toNetBurnOrIncomeAveragesCOABalance = (payload) => {
22
22
  var _a;
23
23
  return Object.assign(Object.assign({}, (0, coaBalancePayload_1.mapCOABalancePayloadToCOABalance)(payload, 'month')), { cardTitle: payload.report_title, cardSubtitle: payload.report_subtitle, monthStatus: (_a = payload.report_status) !== null && _a !== void 0 ? _a : undefined, timeSpanIdForAverage: (0, netBurnOrIncomeStoryCardState_1.toTimeSpanIdForAverage)(payload.id), numberOfMonthsForAverage: (0, netBurnOrIncomeStoryCardState_1.toNumberOfMonthForAverage)(payload.considered_months_for_average) });
24
24
  };
25
- exports.toNetBurnOrIncomeAveragesCOABalance = toNetBurnOrIncomeAveragesCOABalance;
26
25
  const toNetBurnOrIncomeRunway = (payload) => {
27
26
  var _a;
28
27
  return {
@@ -5,7 +5,6 @@ import { TimeSpanIdForAverage, NetBurnOrIncomeAveragesCOABalance, NetBurnOrIncom
5
5
  import { FetchStateAndError } from '../../commonStateTypes/common';
6
6
  export declare const ALL_ACCOUNTING_METHODS: readonly ["cash", "ebitda", "net_income"];
7
7
  export declare const toAccountingMethod: (v: string) => "cash" | "ebitda" | "net_income";
8
- export declare const toAccountingMethodStrict: (v: string) => "cash" | "ebitda" | "net_income" | undefined;
9
8
  export declare type AccountingMethod = NonNullable<ReturnType<typeof toAccountingMethod>>;
10
9
  export interface NetBurnOrIncomeStoryCardReport extends SelectorReport {
11
10
  filter: COABalancesFilter;
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toAccountingMethodStrict = exports.toAccountingMethod = exports.ALL_ACCOUNTING_METHODS = void 0;
3
+ exports.toAccountingMethod = exports.ALL_ACCOUNTING_METHODS = void 0;
4
4
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
5
  exports.ALL_ACCOUNTING_METHODS = ['cash', 'ebitda', 'net_income'];
6
6
  const toAccountingMethod = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_ACCOUNTING_METHODS);
7
7
  exports.toAccountingMethod = toAccountingMethod;
8
- const toAccountingMethodStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v, exports.ALL_ACCOUNTING_METHODS);
9
- exports.toAccountingMethodStrict = toAccountingMethodStrict;
@@ -4,10 +4,8 @@ import { COABalance } from '../../commonStateTypes/coaBalance/coaBalance';
4
4
  import { ZeniDate } from '../../zeniDayJS';
5
5
  export declare const ALL_TIME_SPAN_IDS_FOR_AVERAGE: readonly ["last_month", "last_completed_month", "average_of_last_2_months", "average_of_last_3_months"];
6
6
  export declare const toTimeSpanIdForAverage: (v: string) => "last_month" | "last_completed_month" | "average_of_last_2_months" | "average_of_last_3_months";
7
- export declare const toTimeSpanIdForAverageStrict: (v: string | null) => "last_month" | "last_completed_month" | "average_of_last_2_months" | "average_of_last_3_months" | undefined;
8
7
  export declare type TimeSpanIdForAverage = ReturnType<typeof toTimeSpanIdForAverage>;
9
8
  export declare const toNumberOfMonthForAverage: (n: number) => 2 | 1 | 3;
10
- export declare const toNumberOfMonthForAverageStrict: (n: number | null) => 2 | 1 | 3 | undefined;
11
9
  export declare type AverageMonthsCount = ReturnType<typeof toNumberOfMonthForAverage>;
12
10
  export interface NetBurnOrIncomeRunway {
13
11
  cashZeroDate: ZeniDate;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toNumberOfMonthForAverageStrict = exports.toNumberOfMonthForAverage = exports.toTimeSpanIdForAverageStrict = exports.toTimeSpanIdForAverage = exports.ALL_TIME_SPAN_IDS_FOR_AVERAGE = void 0;
3
+ exports.toNumberOfMonthForAverage = exports.toTimeSpanIdForAverage = exports.ALL_TIME_SPAN_IDS_FOR_AVERAGE = void 0;
4
4
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
5
  const numberToUnion_1 = require("../../commonStateTypes/numberToUnion");
6
6
  exports.ALL_TIME_SPAN_IDS_FOR_AVERAGE = [
@@ -11,10 +11,6 @@ exports.ALL_TIME_SPAN_IDS_FOR_AVERAGE = [
11
11
  ];
12
12
  const toTimeSpanIdForAverage = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_TIME_SPAN_IDS_FOR_AVERAGE);
13
13
  exports.toTimeSpanIdForAverage = toTimeSpanIdForAverage;
14
- const toTimeSpanIdForAverageStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v !== null && v !== void 0 ? v : '', exports.ALL_TIME_SPAN_IDS_FOR_AVERAGE);
15
- exports.toTimeSpanIdForAverageStrict = toTimeSpanIdForAverageStrict;
16
14
  const ALL_NUMBER_OF_MONTHS_FOR_AVERAGE = [1, 2, 3];
17
15
  const toNumberOfMonthForAverage = (n) => (0, numberToUnion_1.numberToUnion)(n, ALL_NUMBER_OF_MONTHS_FOR_AVERAGE);
18
16
  exports.toNumberOfMonthForAverage = toNumberOfMonthForAverage;
19
- const toNumberOfMonthForAverageStrict = (n) => (0, numberToUnion_1.numberToUnionStrict)(n !== null && n !== void 0 ? n : 1, ALL_NUMBER_OF_MONTHS_FOR_AVERAGE);
20
- exports.toNumberOfMonthForAverageStrict = toNumberOfMonthForAverageStrict;
@@ -8,26 +8,19 @@ export interface NotificationViewQueryPayload {
8
8
  page_token: string | null;
9
9
  limit: number;
10
10
  }
11
- export interface NotificationViewPayload {
11
+ interface NotificationViewPayload {
12
12
  notifications: NotificationPayload[];
13
13
  query: NotificationViewQueryPayload;
14
14
  total_count: number;
15
15
  next_page_token: string | null;
16
16
  }
17
17
  export declare type NotificationViewResponse = ZeniAPIResponse<NotificationViewPayload>;
18
- export interface UpdateNotificationStatusQueryPayload {
19
- notification_group: string;
20
- is_paginated: boolean;
21
- }
22
- export interface UpdateAllNotificationStatusQueryPayload {
23
- mark_all_as_read: boolean;
24
- }
25
18
  export interface FetchNotificationCountQueryPayload {
26
19
  fetch_unread_notification_count: boolean;
27
20
  notification_group: string;
28
21
  mode: string;
29
22
  }
30
- export interface FetchNotificationCountPayload {
23
+ interface FetchNotificationCountPayload {
31
24
  notification_group: string;
32
25
  mode: string;
33
26
  query: FetchNotificationCountQueryPayload;
@@ -38,11 +31,4 @@ export interface FetchNotificationCountPayload {
38
31
  export declare type UpdateNotificationStatusResponse = ZeniAPIResponse;
39
32
  export declare type UpdateAllNotificationsStatusResponse = ZeniAPIResponse;
40
33
  export declare type FetchNotificationCountResponse = ZeniAPIResponse<FetchNotificationCountPayload>;
41
- export interface PushNotificationPayload {
42
- notification_group: string;
43
- mode: string;
44
- data: {
45
- unread: number;
46
- };
47
- timestamp: string;
48
- }
34
+ export {};
@@ -1,11 +1,9 @@
1
1
  import { FetchedState, FetchStateAndError, ID } from '../../commonStateTypes/common';
2
2
  import { PageToken } from '../../commonStateTypes/viewAndReport/viewAndReport';
3
- export declare const ALL_NOTIFICATION_TABS: readonly ["tasks", "comments"];
4
- export declare const toNotificationTabType: (v: string) => "tasks" | "comments";
3
+ declare const toNotificationTabType: (v: string) => "tasks" | "comments";
5
4
  export declare const toNotificationTabTypeStrict: (v: string) => "tasks" | "comments" | undefined;
6
5
  export declare type NotificationTabType = ReturnType<typeof toNotificationTabType>;
7
- export declare const ALL_NOTIFICATION_SUB_TABS: readonly ["all", "read", "unread", "mentions"];
8
- export declare const toNotificationSubTabType: (v: string) => "all" | "read" | "unread" | "mentions";
6
+ declare const toNotificationSubTabType: (v: string) => "all" | "read" | "unread" | "mentions";
9
7
  export declare const toNotificationSubTabTypeStrict: (v: string) => "all" | "read" | "unread" | "mentions" | undefined;
10
8
  export declare type NotificationSubTabType = ReturnType<typeof toNotificationSubTabType>;
11
9
  export interface NotificationViewUIState {
@@ -29,3 +27,4 @@ export interface NotificationViewState {
29
27
  currentSubTab: NotificationSubTabType;
30
28
  stateByTab: Record<NotificationTabType, NotificationTabState>;
31
29
  }
30
+ export {};