@zeniai/client-epic-state 4.11.98 → 4.12.0

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
@@ -11,7 +11,7 @@ interface ArAgingCustomerPayload {
11
11
  customers: AgingBalancesByCustomerIdPayload;
12
12
  totals: AgingBalancePayload;
13
13
  }
14
- export declare type ArAgingPayloadByAgingPeriod = Record<AgingPeriod, ArAgingCustomerPayload>;
14
+ declare type ArAgingPayloadByAgingPeriod = Record<AgingPeriod, ArAgingCustomerPayload>;
15
15
  export interface ArAgingPayload extends ReportPayloadV2, ArAgingPayloadByAgingPeriod {
16
16
  aging_periods: string[];
17
17
  customers: CustomerPayload[];
@@ -2,7 +2,7 @@ import { StatusPayload } from '../../commonPayloadTypes/statusPayload';
2
2
  import { ID } from '../../commonStateTypes/common';
3
3
  import { ZeniAPIResponse } from '../../responsePayload';
4
4
  import { AuditSummaryPayload } from '../reviewCompanyView/reviewCompanyPayload';
5
- export interface AuditRuleGroupBasePayload {
5
+ interface AuditRuleGroupBasePayload {
6
6
  audit_rule_group_id: string;
7
7
  }
8
8
  export interface AuditRuleBypassReasonPayload {
@@ -85,3 +85,4 @@ export interface RuleResponsePayload {
85
85
  export declare type AuditReportGroupResponse = ZeniAPIResponse<AuditReportGroupPayload>;
86
86
  export declare type AuditRuleGroupsResponse = ZeniAPIResponse<AuditRuleGroupsPayload>;
87
87
  export declare type SaveReasonForAuditRuleResponse = ZeniAPIResponse<RuleResponsePayload>;
88
+ export {};
@@ -3,18 +3,16 @@ import { Status } from '../../commonStateTypes/status';
3
3
  import { View } from '../../commonStateTypes/viewAndReport/viewAndReport';
4
4
  import { ZeniDate } from '../../zeniDayJS';
5
5
  import { AuditSummary } from '../reviewCompanyView/reviewCompanyViewState';
6
- export declare const AUDIT_RULE_ENTITY_TYPES: readonly ["reports", "transactions", "dashboard"];
7
6
  export declare const toAuditRuleEntityType: (v: string) => "dashboard" | "transactions" | "reports";
8
7
  export declare type AuditRuleEntityType = ReturnType<typeof toAuditRuleEntityType>;
9
- export declare const AUDIT_RULE_ENTITY_IDS: readonly ["uncategorized-expense", "uncategorized-income", "cash_balance", "card_balance", "operating_expenses", "operating_expenses_by_classes", "revenue", "revenue_by_classes", "net_burn_or_income", "net_burn_or_income_story_card", "net_burn_or_income_by_classes", "cash_position", "top_expenses", "profit_and_loss", "profit_and_loss_by_classes", "balance_sheet", "cash_flow", "dashboard", "finance_statement", "transaction_list_of_account", "transaction_list_missing_receipt", "transaction_list_of_account_by_class", "transaction_detail", "cash_in_cash_out", "insights_dashboard", "company_details", "class_list", "account_list", "account_list_by_type", "vendor", "task_card", "bill_pay", "reimbursement", "bill_pay_card", "reimbursement_card", "bill_pay_promo_card", "zeni_accounts", "zeni_accounts_promo_card", "charge_cards", "reimbursement_promo_card", "onboarding", "operating_expenses_by_vendor", "operating_expenses_by_vendor_summary", "vendors_tab", "accounts_payable_aging", "accounts_receivable_aging", "vendor_global_review", "prepaid_expenses", "fixed_assets", "notification", "rewards_card", "billing"];
10
- export declare const toAuditRuleEntityIdType: (v: string) => "cash_balance" | "card_balance" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "uncategorized-expense" | "uncategorized-income";
8
+ declare const toAuditRuleEntityIdType: (v: string) => "cash_balance" | "card_balance" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "charge_cards" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "uncategorized-expense" | "uncategorized-income";
11
9
  export declare type AuditRuleEntityIdType = ReturnType<typeof toAuditRuleEntityIdType>;
12
10
  export declare const toAuditRuleTypeIdType: (v: string) => "accounting" | "business";
13
11
  declare type AuditRuleTypeIdType = ReturnType<typeof toAuditRuleTypeIdType>;
14
12
  export declare const AUDIT_REPORT_ACTION_TYPES: readonly ["generate", "view"];
15
13
  export declare const toAuditReportActionType: (v: string) => "view" | "generate";
16
14
  export declare type AuditReportActionType = ReturnType<typeof toAuditReportActionType>;
17
- export interface AuditRuleGroupBase {
15
+ interface AuditRuleGroupBase {
18
16
  auditRuleGroupId: ID;
19
17
  }
20
18
  export interface AuditRuleBase {
@@ -77,7 +75,7 @@ export interface AuditReportGroupView extends FetchedState {
77
75
  export interface AuditRuleGroupViewState extends FetchedState, View {
78
76
  auditRuleGroups: AuditRuleGroup[];
79
77
  }
80
- export interface AuditReportGroupViewState {
78
+ interface AuditReportGroupViewState {
81
79
  auditReportGroupViewByGroupId: Record<ID, AuditReportGroupView>;
82
80
  }
83
81
  export interface AuditReportViewState {
@@ -1,22 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toAuditReportActionType = exports.AUDIT_REPORT_ACTION_TYPES = exports.toAuditRuleTypeIdType = exports.toAuditRuleEntityIdType = exports.AUDIT_RULE_ENTITY_IDS = exports.toAuditRuleEntityType = exports.AUDIT_RULE_ENTITY_TYPES = void 0;
3
+ exports.toAuditReportActionType = exports.AUDIT_REPORT_ACTION_TYPES = exports.toAuditRuleTypeIdType = exports.toAuditRuleEntityType = void 0;
4
4
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
5
  const viewAndReport_1 = require("../../commonStateTypes/viewAndReport/viewAndReport");
6
- exports.AUDIT_RULE_ENTITY_TYPES = [
6
+ const AUDIT_RULE_ENTITY_TYPES = [
7
7
  'reports',
8
8
  'transactions',
9
9
  'dashboard',
10
10
  ];
11
- const toAuditRuleEntityType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.AUDIT_RULE_ENTITY_TYPES);
11
+ const toAuditRuleEntityType = (v) => (0, stringToUnion_1.stringToUnion)(v, AUDIT_RULE_ENTITY_TYPES);
12
12
  exports.toAuditRuleEntityType = toAuditRuleEntityType;
13
- exports.AUDIT_RULE_ENTITY_IDS = [
13
+ const AUDIT_RULE_ENTITY_IDS = [
14
14
  'uncategorized-expense',
15
15
  'uncategorized-income',
16
16
  ...viewAndReport_1.ALL_REPORT_IDS,
17
17
  ];
18
- const toAuditRuleEntityIdType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.AUDIT_RULE_ENTITY_IDS);
19
- exports.toAuditRuleEntityIdType = toAuditRuleEntityIdType;
18
+ const toAuditRuleEntityIdType = (v) => (0, stringToUnion_1.stringToUnion)(v, AUDIT_RULE_ENTITY_IDS);
20
19
  const AUDIT_RULE_TYPE_IDS = ['business', 'accounting'];
21
20
  const toAuditRuleTypeIdType = (v) => (0, stringToUnion_1.stringToUnion)(v, AUDIT_RULE_TYPE_IDS);
22
21
  exports.toAuditRuleTypeIdType = toAuditRuleTypeIdType;
@@ -2,7 +2,7 @@ import { Entity, EntityType } from '../../entity/genericEntity/entity';
2
2
  import { ZeniAPIStatus } from '../../responsePayload';
3
3
  import { EntityAutoCompleteResponsePayload } from './entityAutoCompletePayload';
4
4
  import { EntityAutoCompleteState } from './entityAutoCompleteState';
5
- export interface EntityAutoCompletePayload {
5
+ interface EntityAutoCompletePayload {
6
6
  searchString: string;
7
7
  entityType?: EntityType;
8
8
  selectedEntity?: Entity;
@@ -6,36 +6,32 @@ import { BalanceSheetReportViewID } from './balanceSheetSelectorTypes';
6
6
  export declare const ALL_LIABILITIES_SECTIONS: readonly ["current_liabilities", "long_term_liabilities"];
7
7
  /** Liability - Current liabilities sections */
8
8
  export declare const ALL_CURRENT_LIABILITIES_SECTIONS: readonly ["accounts_payable", "credit_cards", "other_current_liabilities"];
9
- export declare const toLiabilitySectionType: (v: string) => "long_term_liabilities" | "current_liabilities";
10
- export declare const toLiabilitySectionTypeStrict: (v: string) => "long_term_liabilities" | "current_liabilities" | undefined;
11
- export declare type LiabilitySectionType = ReturnType<typeof toLiabilitySectionType>;
12
- export declare const toCurrentLiabilitySectionType: (v: string) => "accounts_payable" | "other_current_liabilities" | "credit_cards";
13
- export declare const toCurrentLiabilitySectionTypeStrict: (v: string) => "accounts_payable" | "other_current_liabilities" | "credit_cards" | undefined;
14
- export declare type CurrentLiabilitySectionType = ReturnType<typeof toCurrentLiabilitySectionType>;
15
- export interface LiabilitySubSections {
9
+ declare const toLiabilitySectionType: (v: string) => "long_term_liabilities" | "current_liabilities";
10
+ declare type LiabilitySectionType = ReturnType<typeof toLiabilitySectionType>;
11
+ declare const toCurrentLiabilitySectionType: (v: string) => "accounts_payable" | "other_current_liabilities" | "credit_cards";
12
+ declare type CurrentLiabilitySectionType = ReturnType<typeof toCurrentLiabilitySectionType>;
13
+ interface LiabilitySubSections {
16
14
  current_liabilities: Record<CurrentLiabilitySectionType, SectionByAccountGroupCOABalanceGroupedPayload> & COABalanceGroupedByPeriodPayloadV2;
17
15
  long_term_liabilities: SectionByAccountGroupCOABalanceGroupedPayload;
18
16
  }
19
- export interface LiabilitySectionBySubSectionsGroupedPayloadByAccountId extends COABalanceGroupedByPeriodPayloadV2, LiabilitySubSections {
17
+ interface LiabilitySectionBySubSectionsGroupedPayloadByAccountId extends COABalanceGroupedByPeriodPayloadV2, LiabilitySubSections {
20
18
  }
21
19
  /** Asset sections */
22
20
  export declare const ALL_ASSETS_SECTIONS: readonly ["current_assets", "fixed_assets", "other_assets"];
23
21
  /** Asset - Current assets sections */
24
22
  export declare const ALL_CURRENT_ASSETS_SECTIONS: readonly ["cash_and_equivalents", "accounts_receivable", "other_current_assets"];
25
- export declare const toAssetSectionType: (v: string) => "fixed_assets" | "other_assets" | "current_assets";
26
- export declare const toAssetSectionTypeStrict: (v: string) => "fixed_assets" | "other_assets" | "current_assets" | undefined;
27
- export declare type AssetSectionType = ReturnType<typeof toAssetSectionType>;
28
- export declare const toCurrentAssetSectionType: (v: string) => "accounts_receivable" | "other_current_assets" | "cash_and_equivalents";
29
- export declare const toCurrentAssetSectionTypeStrict: (v: string) => "accounts_receivable" | "other_current_assets" | "cash_and_equivalents" | undefined;
30
- export declare type CurrentAssetSectionType = ReturnType<typeof toCurrentAssetSectionType>;
31
- export declare type BalanceSheetReportRootSectionType = 'assets' | 'liabilities' | 'liabilities_and_equity' | 'equity';
23
+ declare const toAssetSectionType: (v: string) => "fixed_assets" | "other_assets" | "current_assets";
24
+ declare type AssetSectionType = ReturnType<typeof toAssetSectionType>;
25
+ declare const toCurrentAssetSectionType: (v: string) => "accounts_receivable" | "other_current_assets" | "cash_and_equivalents";
26
+ declare type CurrentAssetSectionType = ReturnType<typeof toCurrentAssetSectionType>;
27
+ declare type BalanceSheetReportRootSectionType = 'assets' | 'liabilities' | 'liabilities_and_equity' | 'equity';
32
28
  export declare const toSectionId: (sectionId: AssetSectionType | CurrentAssetSectionType | LiabilitySectionType | CurrentLiabilitySectionType | BalanceSheetReportRootSectionType, calculatedSection?: boolean | undefined) => BalanceSheetReportViewID;
33
- export interface AssetSubSections {
29
+ interface AssetSubSections {
34
30
  current_assets: Record<CurrentAssetSectionType, SectionByAccountGroupCOABalanceGroupedPayload> & COABalanceGroupedByPeriodPayloadV2;
35
31
  fixed_assets: SectionByAccountGroupCOABalanceGroupedPayload;
36
32
  other_assets: SectionByAccountGroupCOABalanceGroupedPayload;
37
33
  }
38
- export interface AssetSectionBySubSectionsGroupedPayloadByAccountId extends COABalanceGroupedByPeriodPayloadV2, AssetSubSections {
34
+ interface AssetSectionBySubSectionsGroupedPayloadByAccountId extends COABalanceGroupedByPeriodPayloadV2, AssetSubSections {
39
35
  }
40
36
  export interface BalanceSheetReportPayload extends ReportByAccountMetadataPayload {
41
37
  assets: AssetSectionBySubSectionsGroupedPayloadByAccountId;
@@ -44,3 +40,4 @@ export interface BalanceSheetReportPayload extends ReportByAccountMetadataPayloa
44
40
  liabilities_and_equity: COABalanceGroupedByPeriodPayloadV2;
45
41
  }
46
42
  export declare type BalanceSheetReportResponse = ZeniReportResponse<BalanceSheetReportPayload>;
43
+ export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toSectionId = exports.toCurrentAssetSectionTypeStrict = exports.toCurrentAssetSectionType = exports.toAssetSectionTypeStrict = exports.toAssetSectionType = exports.ALL_CURRENT_ASSETS_SECTIONS = exports.ALL_ASSETS_SECTIONS = exports.toCurrentLiabilitySectionTypeStrict = exports.toCurrentLiabilitySectionType = exports.toLiabilitySectionTypeStrict = exports.toLiabilitySectionType = exports.ALL_CURRENT_LIABILITIES_SECTIONS = exports.ALL_LIABILITIES_SECTIONS = void 0;
3
+ exports.toSectionId = exports.ALL_CURRENT_ASSETS_SECTIONS = exports.ALL_ASSETS_SECTIONS = exports.ALL_CURRENT_LIABILITIES_SECTIONS = exports.ALL_LIABILITIES_SECTIONS = void 0;
4
4
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
5
  /** Liability sections */
6
6
  exports.ALL_LIABILITIES_SECTIONS = [
@@ -14,13 +14,7 @@ exports.ALL_CURRENT_LIABILITIES_SECTIONS = [
14
14
  'other_current_liabilities',
15
15
  ];
16
16
  const toLiabilitySectionType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_LIABILITIES_SECTIONS);
17
- exports.toLiabilitySectionType = toLiabilitySectionType;
18
- const toLiabilitySectionTypeStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v, exports.ALL_LIABILITIES_SECTIONS);
19
- exports.toLiabilitySectionTypeStrict = toLiabilitySectionTypeStrict;
20
17
  const toCurrentLiabilitySectionType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CURRENT_LIABILITIES_SECTIONS);
21
- exports.toCurrentLiabilitySectionType = toCurrentLiabilitySectionType;
22
- const toCurrentLiabilitySectionTypeStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v, exports.ALL_CURRENT_LIABILITIES_SECTIONS);
23
- exports.toCurrentLiabilitySectionTypeStrict = toCurrentLiabilitySectionTypeStrict;
24
18
  /** Asset sections */
25
19
  exports.ALL_ASSETS_SECTIONS = [
26
20
  'current_assets',
@@ -34,13 +28,7 @@ exports.ALL_CURRENT_ASSETS_SECTIONS = [
34
28
  'other_current_assets',
35
29
  ];
36
30
  const toAssetSectionType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_ASSETS_SECTIONS);
37
- exports.toAssetSectionType = toAssetSectionType;
38
- const toAssetSectionTypeStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v, exports.ALL_ASSETS_SECTIONS);
39
- exports.toAssetSectionTypeStrict = toAssetSectionTypeStrict;
40
31
  const toCurrentAssetSectionType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CURRENT_ASSETS_SECTIONS);
41
- exports.toCurrentAssetSectionType = toCurrentAssetSectionType;
42
- const toCurrentAssetSectionTypeStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v, exports.ALL_CURRENT_ASSETS_SECTIONS);
43
- exports.toCurrentAssetSectionTypeStrict = toCurrentAssetSectionTypeStrict;
44
32
  const toSectionId = (sectionId, calculatedSection) => {
45
33
  switch (sectionId) {
46
34
  case 'fixed_assets':
@@ -2,38 +2,31 @@ import { AccountsViewSelectorReport } from '../../commonStateTypes/selectorTypes
2
2
  import { BalanceSheetUIState } from './balanceSheetState';
3
3
  import { FetchStateByTimeframe } from '../../commonStateTypes/coaBalance/coaBalance';
4
4
  import { FetchStateAndError } from '../../commonStateTypes/common';
5
- export declare const ALL_BALANCE_SHEET_REPORT_VIEW_ROOT_SECTION_IDS: readonly ["equity", "assets", "liabilities"];
6
- export declare const toBalanceSheetReportViewRootSectionID: (v: string) => "equity" | "assets" | "liabilities";
5
+ declare const toBalanceSheetReportViewRootSectionID: (v: string) => "equity" | "assets" | "liabilities";
7
6
  export declare type BalanceSheetReportViewRootSectionID = ReturnType<typeof toBalanceSheetReportViewRootSectionID>;
8
- export declare const ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_SECTION_IDS: readonly ["cashAndEquivalents", "accountsReceiable", "otherCurrentAssets", "fixedAssets", "otherAssets"];
9
- export declare const toBalanceSheetReportViewAssetSectionID: (v: string) => "cashAndEquivalents" | "accountsReceiable" | "otherCurrentAssets" | "fixedAssets" | "otherAssets";
10
- export declare type BalanceSheetReportViewAssetSectionID = ReturnType<typeof toBalanceSheetReportViewAssetSectionID>;
11
- export declare const ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_SECTION_IDS: readonly ["accountsPayable", "creditCards", "otherCurrentLiabilities", "longTermLiabilities"];
12
- export declare const toBalanceSheetReportViewLiabilitySectionID: (v: string) => "accountsPayable" | "creditCards" | "otherCurrentLiabilities" | "longTermLiabilities";
13
- export declare type BalanceSheetReportViewLiabilitySectionID = ReturnType<typeof toBalanceSheetReportViewLiabilitySectionID>;
14
- export declare const ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_SECTION_IDS: readonly ["equity"];
15
- export declare const toBalanceSheetReportViewEquitySectionID: (v: string) => "equity";
16
- export declare type BalanceSheetReportViewEquitySectionID = ReturnType<typeof toBalanceSheetReportViewEquitySectionID>;
7
+ declare const toBalanceSheetReportViewAssetSectionID: (v: string) => "cashAndEquivalents" | "accountsReceiable" | "otherCurrentAssets" | "fixedAssets" | "otherAssets";
8
+ declare type BalanceSheetReportViewAssetSectionID = ReturnType<typeof toBalanceSheetReportViewAssetSectionID>;
9
+ declare const toBalanceSheetReportViewLiabilitySectionID: (v: string) => "accountsPayable" | "creditCards" | "otherCurrentLiabilities" | "longTermLiabilities";
10
+ declare type BalanceSheetReportViewLiabilitySectionID = ReturnType<typeof toBalanceSheetReportViewLiabilitySectionID>;
11
+ declare const toBalanceSheetReportViewEquitySectionID: (v: string) => "equity";
12
+ declare type BalanceSheetReportViewEquitySectionID = ReturnType<typeof toBalanceSheetReportViewEquitySectionID>;
17
13
  export declare const ALL_BALANCE_SHEET_REPORT_VIEW_SECTION_IDS: readonly ["cashAndEquivalents", "accountsReceiable", "otherCurrentAssets", "fixedAssets", "otherAssets", "accountsPayable", "creditCards", "otherCurrentLiabilities", "longTermLiabilities", "equity"];
18
- export declare const toBalanceSheetReportViewSectionID: (v: string) => "cashAndEquivalents" | "equity" | "accountsReceiable" | "otherCurrentAssets" | "fixedAssets" | "otherAssets" | "accountsPayable" | "creditCards" | "otherCurrentLiabilities" | "longTermLiabilities";
14
+ declare const toBalanceSheetReportViewSectionID: (v: string) => "cashAndEquivalents" | "equity" | "accountsReceiable" | "otherCurrentAssets" | "fixedAssets" | "otherAssets" | "accountsPayable" | "creditCards" | "otherCurrentLiabilities" | "longTermLiabilities";
19
15
  export declare type BalanceSheetReportViewSectionID = ReturnType<typeof toBalanceSheetReportViewSectionID>;
20
16
  export declare const isBalanceSheetReportViewSectionID: (id: string) => id is "cashAndEquivalents" | "equity" | "accountsReceiable" | "otherCurrentAssets" | "fixedAssets" | "otherAssets" | "accountsPayable" | "creditCards" | "otherCurrentLiabilities" | "longTermLiabilities";
21
- export declare const ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_CALCULATED_SECTION_IDS: readonly ["totalCurrentAssets", "totalAssets"];
22
- export declare const toBalanceSheetReportViewAssetCalculatedSectionID: (v: string) => "totalCurrentAssets" | "totalAssets";
23
- export declare type BalanceSheetReportViewAssetCalculatedSectionID = ReturnType<typeof toBalanceSheetReportViewAssetCalculatedSectionID>;
24
- export declare const ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_CALCULATED_SECTION_IDS: readonly ["totalCurrentLiabilities", "totalNonCurrentLiabilities", "totalLiabilities"];
25
- export declare const toBalanceSheetReportViewLiabilityCalculatedSectionID: (v: string) => "totalCurrentLiabilities" | "totalNonCurrentLiabilities" | "totalLiabilities";
26
- export declare type BalanceSheetReportViewLiabilityCalculatedSectionID = ReturnType<typeof toBalanceSheetReportViewLiabilityCalculatedSectionID>;
27
- export declare const ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_CALCULATED_SECTION_IDS: readonly ["totalEquity", "liabilitiesAndEquity"];
28
- export declare const toBalanceSheetReportViewEquityCalculatedSectionID: (v: string) => "totalEquity" | "liabilitiesAndEquity";
29
- export declare type BalanceSheetReportViewEquityCalculatedSectionID = ReturnType<typeof toBalanceSheetReportViewEquityCalculatedSectionID>;
17
+ declare const toBalanceSheetReportViewAssetCalculatedSectionID: (v: string) => "totalCurrentAssets" | "totalAssets";
18
+ declare type BalanceSheetReportViewAssetCalculatedSectionID = ReturnType<typeof toBalanceSheetReportViewAssetCalculatedSectionID>;
19
+ declare const toBalanceSheetReportViewLiabilityCalculatedSectionID: (v: string) => "totalCurrentLiabilities" | "totalNonCurrentLiabilities" | "totalLiabilities";
20
+ declare type BalanceSheetReportViewLiabilityCalculatedSectionID = ReturnType<typeof toBalanceSheetReportViewLiabilityCalculatedSectionID>;
21
+ declare const toBalanceSheetReportViewEquityCalculatedSectionID: (v: string) => "totalEquity" | "liabilitiesAndEquity";
22
+ declare type BalanceSheetReportViewEquityCalculatedSectionID = ReturnType<typeof toBalanceSheetReportViewEquityCalculatedSectionID>;
30
23
  export declare const ALL_BALANCE_SHEET_REPORT_VIEW_CALCULATED_SECTION_IDS: readonly ["totalCurrentAssets", "totalAssets", "totalCurrentLiabilities", "totalNonCurrentLiabilities", "totalLiabilities", "totalEquity", "liabilitiesAndEquity"];
31
- export declare const toBalanceSheetReportViewCalculatedSectionID: (v: string) => "totalCurrentAssets" | "totalAssets" | "totalCurrentLiabilities" | "totalNonCurrentLiabilities" | "totalLiabilities" | "totalEquity" | "liabilitiesAndEquity";
24
+ declare const toBalanceSheetReportViewCalculatedSectionID: (v: string) => "totalCurrentAssets" | "totalAssets" | "totalCurrentLiabilities" | "totalNonCurrentLiabilities" | "totalLiabilities" | "totalEquity" | "liabilitiesAndEquity";
32
25
  export declare type BalanceSheetReportViewCalculatedSectionID = ReturnType<typeof toBalanceSheetReportViewCalculatedSectionID>;
33
26
  export declare const isBalanceSheetReportViewCalculatedSectionID: (id: string) => id is "totalCurrentAssets" | "totalAssets" | "totalCurrentLiabilities" | "totalNonCurrentLiabilities" | "totalLiabilities" | "totalEquity" | "liabilitiesAndEquity";
34
- export declare type BalanceSheetReportViewAssetID = BalanceSheetReportViewAssetSectionID | BalanceSheetReportViewAssetCalculatedSectionID;
35
- export declare type BalanceSheetReportViewLiabilityID = BalanceSheetReportViewLiabilitySectionID | BalanceSheetReportViewLiabilityCalculatedSectionID;
36
- export declare type BalanceSheetReportViewEquityID = BalanceSheetReportViewEquitySectionID | BalanceSheetReportViewEquityCalculatedSectionID;
27
+ declare type BalanceSheetReportViewAssetID = BalanceSheetReportViewAssetSectionID | BalanceSheetReportViewAssetCalculatedSectionID;
28
+ declare type BalanceSheetReportViewLiabilityID = BalanceSheetReportViewLiabilitySectionID | BalanceSheetReportViewLiabilityCalculatedSectionID;
29
+ declare type BalanceSheetReportViewEquityID = BalanceSheetReportViewEquitySectionID | BalanceSheetReportViewEquityCalculatedSectionID;
37
30
  export declare const ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_IDS: BalanceSheetReportViewAssetID[];
38
31
  export declare const ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_IDS: BalanceSheetReportViewLiabilityID[];
39
32
  export declare const ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_IDS: BalanceSheetReportViewEquityID[];
@@ -52,3 +45,4 @@ export interface BalanceSheetReport extends AccountsViewSelectorReport<BalanceSh
52
45
  reducedAnyFetchState: FetchStateAndError;
53
46
  reducedAllFetchState: FetchStateAndError;
54
47
  }
48
+ export {};
@@ -1,84 +1,75 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.balanceSheetSectionIdsInOrder = exports.typeOfBalanceSheetRootSection = exports.ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_IDS = exports.ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_IDS = exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_IDS = exports.isBalanceSheetReportViewCalculatedSectionID = exports.toBalanceSheetReportViewCalculatedSectionID = exports.ALL_BALANCE_SHEET_REPORT_VIEW_CALCULATED_SECTION_IDS = exports.toBalanceSheetReportViewEquityCalculatedSectionID = exports.ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_CALCULATED_SECTION_IDS = exports.toBalanceSheetReportViewLiabilityCalculatedSectionID = exports.ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_CALCULATED_SECTION_IDS = exports.toBalanceSheetReportViewAssetCalculatedSectionID = exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_CALCULATED_SECTION_IDS = exports.isBalanceSheetReportViewSectionID = exports.toBalanceSheetReportViewSectionID = exports.ALL_BALANCE_SHEET_REPORT_VIEW_SECTION_IDS = exports.toBalanceSheetReportViewEquitySectionID = exports.ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_SECTION_IDS = exports.toBalanceSheetReportViewLiabilitySectionID = exports.ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_SECTION_IDS = exports.toBalanceSheetReportViewAssetSectionID = exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_SECTION_IDS = exports.toBalanceSheetReportViewRootSectionID = exports.ALL_BALANCE_SHEET_REPORT_VIEW_ROOT_SECTION_IDS = void 0;
3
+ exports.balanceSheetSectionIdsInOrder = exports.typeOfBalanceSheetRootSection = exports.ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_IDS = exports.ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_IDS = exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_IDS = exports.isBalanceSheetReportViewCalculatedSectionID = exports.ALL_BALANCE_SHEET_REPORT_VIEW_CALCULATED_SECTION_IDS = exports.isBalanceSheetReportViewSectionID = exports.ALL_BALANCE_SHEET_REPORT_VIEW_SECTION_IDS = void 0;
4
4
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
- exports.ALL_BALANCE_SHEET_REPORT_VIEW_ROOT_SECTION_IDS = [
5
+ const ALL_BALANCE_SHEET_REPORT_VIEW_ROOT_SECTION_IDS = [
6
6
  'equity',
7
7
  'assets',
8
8
  'liabilities',
9
9
  ];
10
- const toBalanceSheetReportViewRootSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_BALANCE_SHEET_REPORT_VIEW_ROOT_SECTION_IDS);
11
- exports.toBalanceSheetReportViewRootSectionID = toBalanceSheetReportViewRootSectionID;
12
- exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_SECTION_IDS = [
10
+ const toBalanceSheetReportViewRootSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_BALANCE_SHEET_REPORT_VIEW_ROOT_SECTION_IDS);
11
+ const ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_SECTION_IDS = [
13
12
  'cashAndEquivalents',
14
13
  'accountsReceiable',
15
14
  'otherCurrentAssets',
16
15
  'fixedAssets',
17
16
  'otherAssets',
18
17
  ];
19
- const toBalanceSheetReportViewAssetSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_SECTION_IDS);
20
- exports.toBalanceSheetReportViewAssetSectionID = toBalanceSheetReportViewAssetSectionID;
21
- exports.ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_SECTION_IDS = [
18
+ const toBalanceSheetReportViewAssetSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_SECTION_IDS);
19
+ const ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_SECTION_IDS = [
22
20
  'accountsPayable',
23
21
  'creditCards',
24
22
  'otherCurrentLiabilities',
25
23
  'longTermLiabilities',
26
24
  ];
27
- const toBalanceSheetReportViewLiabilitySectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_SECTION_IDS);
28
- exports.toBalanceSheetReportViewLiabilitySectionID = toBalanceSheetReportViewLiabilitySectionID;
29
- exports.ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_SECTION_IDS = [
25
+ const toBalanceSheetReportViewLiabilitySectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_SECTION_IDS);
26
+ const ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_SECTION_IDS = [
30
27
  'equity',
31
28
  ];
32
- const toBalanceSheetReportViewEquitySectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_SECTION_IDS);
33
- exports.toBalanceSheetReportViewEquitySectionID = toBalanceSheetReportViewEquitySectionID;
29
+ const toBalanceSheetReportViewEquitySectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_SECTION_IDS);
34
30
  exports.ALL_BALANCE_SHEET_REPORT_VIEW_SECTION_IDS = [
35
- ...exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_SECTION_IDS,
36
- ...exports.ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_SECTION_IDS,
37
- ...exports.ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_SECTION_IDS,
31
+ ...ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_SECTION_IDS,
32
+ ...ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_SECTION_IDS,
33
+ ...ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_SECTION_IDS,
38
34
  ];
39
35
  const toBalanceSheetReportViewSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_BALANCE_SHEET_REPORT_VIEW_SECTION_IDS);
40
- exports.toBalanceSheetReportViewSectionID = toBalanceSheetReportViewSectionID;
41
36
  const isBalanceSheetReportViewSectionID = (id) => exports.ALL_BALANCE_SHEET_REPORT_VIEW_SECTION_IDS.find((sectionId) => id === sectionId) != null;
42
37
  exports.isBalanceSheetReportViewSectionID = isBalanceSheetReportViewSectionID;
43
- exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_CALCULATED_SECTION_IDS = [
38
+ const ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_CALCULATED_SECTION_IDS = [
44
39
  'totalCurrentAssets',
45
40
  'totalAssets',
46
41
  ];
47
- const toBalanceSheetReportViewAssetCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_CALCULATED_SECTION_IDS);
48
- exports.toBalanceSheetReportViewAssetCalculatedSectionID = toBalanceSheetReportViewAssetCalculatedSectionID;
49
- exports.ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_CALCULATED_SECTION_IDS = [
42
+ const toBalanceSheetReportViewAssetCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_CALCULATED_SECTION_IDS);
43
+ const ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_CALCULATED_SECTION_IDS = [
50
44
  'totalCurrentLiabilities',
51
45
  'totalNonCurrentLiabilities',
52
46
  'totalLiabilities',
53
47
  ];
54
- const toBalanceSheetReportViewLiabilityCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_CALCULATED_SECTION_IDS);
55
- exports.toBalanceSheetReportViewLiabilityCalculatedSectionID = toBalanceSheetReportViewLiabilityCalculatedSectionID;
56
- exports.ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_CALCULATED_SECTION_IDS = [
48
+ const toBalanceSheetReportViewLiabilityCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_CALCULATED_SECTION_IDS);
49
+ const ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_CALCULATED_SECTION_IDS = [
57
50
  'totalEquity',
58
51
  'liabilitiesAndEquity',
59
52
  ];
60
- const toBalanceSheetReportViewEquityCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_CALCULATED_SECTION_IDS);
61
- exports.toBalanceSheetReportViewEquityCalculatedSectionID = toBalanceSheetReportViewEquityCalculatedSectionID;
53
+ const toBalanceSheetReportViewEquityCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_CALCULATED_SECTION_IDS);
62
54
  exports.ALL_BALANCE_SHEET_REPORT_VIEW_CALCULATED_SECTION_IDS = [
63
- ...exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_CALCULATED_SECTION_IDS,
64
- ...exports.ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_CALCULATED_SECTION_IDS,
65
- ...exports.ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_CALCULATED_SECTION_IDS,
55
+ ...ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_CALCULATED_SECTION_IDS,
56
+ ...ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_CALCULATED_SECTION_IDS,
57
+ ...ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_CALCULATED_SECTION_IDS,
66
58
  ];
67
59
  const toBalanceSheetReportViewCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_BALANCE_SHEET_REPORT_VIEW_CALCULATED_SECTION_IDS);
68
- exports.toBalanceSheetReportViewCalculatedSectionID = toBalanceSheetReportViewCalculatedSectionID;
69
60
  const isBalanceSheetReportViewCalculatedSectionID = (id) => exports.ALL_BALANCE_SHEET_REPORT_VIEW_CALCULATED_SECTION_IDS.find((calcId) => id === calcId) != null;
70
61
  exports.isBalanceSheetReportViewCalculatedSectionID = isBalanceSheetReportViewCalculatedSectionID;
71
62
  exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_IDS = [
72
- ...exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_SECTION_IDS,
73
- ...exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_CALCULATED_SECTION_IDS,
63
+ ...ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_SECTION_IDS,
64
+ ...ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_CALCULATED_SECTION_IDS,
74
65
  ];
75
66
  exports.ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_IDS = [
76
- ...exports.ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_SECTION_IDS,
77
- ...exports.ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_CALCULATED_SECTION_IDS,
67
+ ...ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_SECTION_IDS,
68
+ ...ALL_BALANCE_SHEET_REPORT_VIEW_LIABILITY_CALCULATED_SECTION_IDS,
78
69
  ];
79
70
  exports.ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_IDS = [
80
- ...exports.ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_SECTION_IDS,
81
- ...exports.ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_CALCULATED_SECTION_IDS,
71
+ ...ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_SECTION_IDS,
72
+ ...ALL_BALANCE_SHEET_REPORT_VIEW_EQUITY_CALCULATED_SECTION_IDS,
82
73
  ];
83
74
  const typeOfBalanceSheetRootSection = (id) => {
84
75
  if (exports.ALL_BALANCE_SHEET_REPORT_VIEW_ASSET_IDS.find((calcId) => id === calcId) != null) {
@@ -3,17 +3,17 @@ import { BankAccountPayload } from '../../entity/bankAccount/bankAccountPayload'
3
3
  import { BillPaymentConfigCodeType } from '../spendManagement/billPay/billPayConfig/billPayConfigState';
4
4
  import { ZeniAPIResponse } from '../../responsePayload';
5
5
  import { CreateBankAccountLocalData, CreateInternationalBankAccountLocalData } from './bankAccountViewState';
6
- export interface CreateBankAccountPayload {
6
+ interface CreateBankAccountPayload {
7
7
  bank_accounts: BankAccountPayload[];
8
8
  }
9
9
  export declare type CreateBankAccountResponse = ZeniAPIResponse<CreateBankAccountPayload>;
10
- export interface BanksByRoutingPayload {
10
+ interface BanksByRoutingPayload {
11
11
  institutions: BankNameByRoutingPayload[];
12
12
  }
13
- export interface BanksBySwiftPayload {
13
+ interface BanksBySwiftPayload {
14
14
  institutions: BankNameBySwiftPayload[];
15
15
  }
16
- export interface BankCountriesPayload {
16
+ interface BankCountriesPayload {
17
17
  institutions: BankCountryNamePayload[];
18
18
  }
19
19
  export interface BankNameByRoutingPayload {
@@ -36,3 +36,4 @@ export declare type FetchBankNameBySwiftResponse = ZeniAPIResponse<BanksBySwiftP
36
36
  export declare type FetchBankCountryNameByIbanResponse = ZeniAPIResponse<BankCountriesPayload>;
37
37
  export declare const toBankAccountPayload: (bankAccount: CreateBankAccountLocalData, paymentMethodType: BillPaymentConfigCodeType) => Partial<BankAccountPayload>;
38
38
  export declare const toInternationalBankAccountPayload: (bankAccount: CreateInternationalBankAccountLocalData) => Record<string, string>;
39
+ export {};
@@ -1,13 +1,13 @@
1
1
  import { ZeniAPIResponse } from '../../responsePayload';
2
- export interface BillsCountPayload {
2
+ interface BillsCountPayload {
3
3
  total_amount: number;
4
4
  count: number;
5
5
  currency_code: string;
6
6
  currency_symbol: string;
7
7
  }
8
- export declare type BillPaySubTabBasedCount = Record<string, BillsCountPayload>;
8
+ declare type BillPaySubTabBasedCount = Record<string, BillsCountPayload>;
9
9
  export declare type TransactionTotalPayload = Record<string, BillPaySubTabBasedCount>;
10
- export interface BillPayCardPayload {
10
+ interface BillPayCardPayload {
11
11
  query: BillPayCardQuery;
12
12
  transaction_count: number;
13
13
  transaction_totals: TransactionTotalPayload;
@@ -2,9 +2,10 @@ import { FetchedState } from '../../commonStateTypes/common';
2
2
  import { Amount } from '../../commonStateTypes/amount';
3
3
  import { BillsSubTabType, BillTab } from '../spendManagement/billPay/billList/billListState';
4
4
  import { Report } from '../../commonStateTypes/viewAndReport/viewAndReport';
5
- export declare const getBillPayAmountKey: (tab: BillTab, subTab: BillsSubTabType) => string;
6
- export declare type BillPayAmountKey = ReturnType<typeof getBillPayAmountKey>;
5
+ declare const getBillPayAmountKey: (tab: BillTab, subTab: BillsSubTabType) => string;
6
+ declare type BillPayAmountKey = ReturnType<typeof getBillPayAmountKey>;
7
7
  export interface BillPayCardState extends FetchedState, Report {
8
8
  transactionCount: number;
9
9
  billPayAmountByKey: Record<BillPayAmountKey, Amount>;
10
10
  }
11
+ export {};
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getBillPayAmountKey = void 0;
4
3
  const getBillPayAmountKey = (tab, subTab) => `bills-${tab}-${subTab}`;
5
- exports.getBillPayAmountKey = getBillPayAmountKey;
@@ -33,7 +33,7 @@ const fetchBillPayCardEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, o
33
33
  is_include_pending_approval_transaction_ids_for_user: true,
34
34
  };
35
35
  return zeniAPI
36
- .getJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/bill-pay-card?query=${encodeURIComponent(JSON.stringify(queryParam))}`)
36
+ .getJSON(`${zeniAPI.apiEndPoints.spendManagementMicroServiceBaseUrl}/1.0/bill-pay-card?query=${encodeURIComponent(JSON.stringify(queryParam))}`)
37
37
  .pipe((0, operators_1.mergeMap)((response) => {
38
38
  if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
39
39
  return (0, rxjs_1.of)((0, billPayCardReducer_1.updateBillPayCard)({
@@ -1,8 +1,7 @@
1
1
  import { CardPaymentPayload } from '../../entity/cardPayment/cardPaymentPayload';
2
- import { SubscriptionPaymentAccountPayload } from '../../entity/subscriptionPaymentAccount/subscriptionPaymentAccountPayload';
3
2
  import { ZeniAPIResponse } from '../../responsePayload';
4
- export declare type DeleteCardPaymentResponse = ZeniAPIResponse<FetchCardSetupIntentPayload>;
5
- export interface FetchCardSetupIntentPayload {
3
+ import { SubscriptionPaymentAccountPayload } from '../../entity/subscriptionPaymentAccount/subscriptionPaymentAccountPayload';
4
+ interface FetchCardSetupIntentPayload {
6
5
  client_secret: string;
7
6
  id: string;
8
7
  }
@@ -23,3 +22,4 @@ export interface AddCardPaymentSourceResponse {
23
22
  payment_sources: PaymentSourcesPayload;
24
23
  }
25
24
  export declare type FetchAddCardPaymentSourceResponse = ZeniAPIResponse<AddCardPaymentSourceResponse>;
25
+ export {};
@@ -1,4 +1,3 @@
1
- export declare const ALL_ADD_SOURCE_CARD_PAYMENT_TYPE: readonly ["card", "direct_debit"];
2
- export declare const ADD_SOURCE_CARD_PAYMENT_TYPE: readonly ["card", "direct_debit"];
3
- export declare const toAddSourceCardPaymentType: (v: string) => "card" | "direct_debit";
1
+ declare const toAddSourceCardPaymentType: (v: string) => "card" | "direct_debit";
4
2
  export declare type AddCardPaymentSourceType = ReturnType<typeof toAddSourceCardPaymentType>;
3
+ export {};
@@ -1,13 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toAddSourceCardPaymentType = exports.ADD_SOURCE_CARD_PAYMENT_TYPE = exports.ALL_ADD_SOURCE_CARD_PAYMENT_TYPE = void 0;
4
3
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
- exports.ALL_ADD_SOURCE_CARD_PAYMENT_TYPE = [
4
+ const ALL_ADD_SOURCE_CARD_PAYMENT_TYPE = [
6
5
  'card',
7
6
  'direct_debit',
8
7
  ];
9
- exports.ADD_SOURCE_CARD_PAYMENT_TYPE = [
10
- ...exports.ALL_ADD_SOURCE_CARD_PAYMENT_TYPE,
8
+ const ADD_SOURCE_CARD_PAYMENT_TYPE = [
9
+ ...ALL_ADD_SOURCE_CARD_PAYMENT_TYPE,
11
10
  ];
12
- const toAddSourceCardPaymentType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ADD_SOURCE_CARD_PAYMENT_TYPE);
13
- exports.toAddSourceCardPaymentType = toAddSourceCardPaymentType;
11
+ const toAddSourceCardPaymentType = (v) => (0, stringToUnion_1.stringToUnion)(v, ADD_SOURCE_CARD_PAYMENT_TYPE);
@@ -2,25 +2,23 @@ import { ZeniReportResponse } from '../../responsePayload';
2
2
  import { COABalanceGroupedByPeriodPayloadV2 } from '../../commonPayloadTypes/v2/coaBalancePayload';
3
3
  import { ReportByAccountMetadataPayload, SectionByAccountGroupCOABalanceGroupedPayload } from '../../commonPayloadTypes/subAccountView/reportBySubAccountPayload';
4
4
  export declare const ALL_CASHFLOW_REPORT_VIEW_SECTION_IDS: readonly ["investingActivities", "financingActivities", "operatingActivitiesAdjustments"];
5
- export declare const toCashFlowReportViewSectionID: (v: string) => "operatingActivitiesAdjustments" | "investingActivities" | "financingActivities";
5
+ declare const toCashFlowReportViewSectionID: (v: string) => "operatingActivitiesAdjustments" | "investingActivities" | "financingActivities";
6
6
  export declare type CashFlowReportViewSectionID = ReturnType<typeof toCashFlowReportViewSectionID>;
7
7
  export declare const isCashFlowReportViewSectionID: (id: string) => id is "operatingActivitiesAdjustments" | "investingActivities" | "financingActivities";
8
8
  export declare const ALL_CASHFLOW_REPORT_VIEW_CALCULATED_SECTION_IDS: readonly ["operatingActivitiesTotal", "cashAndEquivalentsOpeningBalance", "cashAndEquivalentsClosingBalance", "changeInCashAndEquivalents", "operatingActivitiesNetIncome", "investingActivitiesTotal", "financingActivitiesTotal"];
9
- export declare const toCashFlowReportViewCalculatedSectionID: (v: string) => "operatingActivitiesTotal" | "cashAndEquivalentsOpeningBalance" | "cashAndEquivalentsClosingBalance" | "changeInCashAndEquivalents" | "operatingActivitiesNetIncome" | "investingActivitiesTotal" | "financingActivitiesTotal";
9
+ declare const toCashFlowReportViewCalculatedSectionID: (v: string) => "operatingActivitiesTotal" | "cashAndEquivalentsOpeningBalance" | "cashAndEquivalentsClosingBalance" | "changeInCashAndEquivalents" | "operatingActivitiesNetIncome" | "investingActivitiesTotal" | "financingActivitiesTotal";
10
10
  export declare type CashFlowReportViewCalculatedSectionID = ReturnType<typeof toCashFlowReportViewCalculatedSectionID>;
11
- export declare const ALL_CASHFLOW_REPORT_VIEW_CALCULATED_SECTION_TYPE1_IDS: readonly ["cashAndEquivalentsOpeningBalance", "cashAndEquivalentsClosingBalance"];
12
11
  export declare const isCashFlowReportViewCalculatedSectionType1ID: (id: string) => id is "operatingActivitiesTotal" | "cashAndEquivalentsOpeningBalance" | "cashAndEquivalentsClosingBalance" | "changeInCashAndEquivalents" | "operatingActivitiesNetIncome" | "investingActivitiesTotal" | "financingActivitiesTotal";
13
12
  export declare const isCashFlowReportViewCalculatedSectionID: (id: string) => id is "operatingActivitiesTotal" | "cashAndEquivalentsOpeningBalance" | "cashAndEquivalentsClosingBalance" | "changeInCashAndEquivalents" | "operatingActivitiesNetIncome" | "investingActivitiesTotal" | "financingActivitiesTotal";
14
- export declare const ALL_CASHFLOW_PAYLOAD_SECTION_NAMES: readonly ["operating_activities", "adjustments", "net_income", "investing_activities", "financing_activities", "cash_and_equivalents_opening_balance", "cash_and_equivalents_closing_balance", "change_in_cash_and_equivalents"];
15
- export declare const toCashFlowPayloadSectionNames: (v: string) => "operating_activities" | "investing_activities" | "financing_activities" | "net_income" | "adjustments" | "cash_and_equivalents_opening_balance" | "cash_and_equivalents_closing_balance" | "change_in_cash_and_equivalents";
16
- export declare type CashFlowPayloadSectionNames = ReturnType<typeof toCashFlowPayloadSectionNames>;
13
+ declare const toCashFlowPayloadSectionNames: (v: string) => "operating_activities" | "investing_activities" | "financing_activities" | "net_income" | "adjustments" | "cash_and_equivalents_opening_balance" | "cash_and_equivalents_closing_balance" | "change_in_cash_and_equivalents";
14
+ declare type CashFlowPayloadSectionNames = ReturnType<typeof toCashFlowPayloadSectionNames>;
17
15
  export declare type CashFlowReportViewID = CashFlowReportViewSectionID | CashFlowReportViewCalculatedSectionID;
18
16
  export declare const toCashFlowReportViewID: (sectionId: CashFlowPayloadSectionNames, calculatedSection?: boolean) => CashFlowReportViewID;
19
- export interface OperatingActivitiesSubSections {
17
+ interface OperatingActivitiesSubSections {
20
18
  adjustments: SectionByAccountGroupCOABalanceGroupedPayload;
21
19
  net_income: COABalanceGroupedByPeriodPayloadV2;
22
20
  }
23
- export interface OperatingActivitiesSectionBySubSectionsGroupedPayloadByAccountId extends COABalanceGroupedByPeriodPayloadV2, OperatingActivitiesSubSections {
21
+ interface OperatingActivitiesSectionBySubSectionsGroupedPayloadByAccountId extends COABalanceGroupedByPeriodPayloadV2, OperatingActivitiesSubSections {
24
22
  }
25
23
  export interface CashFlowPayload extends ReportByAccountMetadataPayload {
26
24
  operating_activities: OperatingActivitiesSectionBySubSectionsGroupedPayloadByAccountId;
@@ -31,3 +29,4 @@ export interface CashFlowPayload extends ReportByAccountMetadataPayload {
31
29
  change_in_cash_and_equivalents: COABalanceGroupedByPeriodPayloadV2;
32
30
  }
33
31
  export declare type CashFlowReportResponse = ZeniReportResponse<CashFlowPayload>;
32
+ export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toCashFlowReportViewID = exports.toCashFlowPayloadSectionNames = exports.ALL_CASHFLOW_PAYLOAD_SECTION_NAMES = exports.isCashFlowReportViewCalculatedSectionID = exports.isCashFlowReportViewCalculatedSectionType1ID = exports.ALL_CASHFLOW_REPORT_VIEW_CALCULATED_SECTION_TYPE1_IDS = exports.toCashFlowReportViewCalculatedSectionID = exports.ALL_CASHFLOW_REPORT_VIEW_CALCULATED_SECTION_IDS = exports.isCashFlowReportViewSectionID = exports.toCashFlowReportViewSectionID = exports.ALL_CASHFLOW_REPORT_VIEW_SECTION_IDS = void 0;
3
+ exports.toCashFlowReportViewID = exports.isCashFlowReportViewCalculatedSectionID = exports.isCashFlowReportViewCalculatedSectionType1ID = exports.ALL_CASHFLOW_REPORT_VIEW_CALCULATED_SECTION_IDS = exports.isCashFlowReportViewSectionID = exports.ALL_CASHFLOW_REPORT_VIEW_SECTION_IDS = void 0;
4
4
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
5
  exports.ALL_CASHFLOW_REPORT_VIEW_SECTION_IDS = [
6
6
  'investingActivities',
@@ -8,7 +8,6 @@ exports.ALL_CASHFLOW_REPORT_VIEW_SECTION_IDS = [
8
8
  'operatingActivitiesAdjustments',
9
9
  ];
10
10
  const toCashFlowReportViewSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASHFLOW_REPORT_VIEW_SECTION_IDS);
11
- exports.toCashFlowReportViewSectionID = toCashFlowReportViewSectionID;
12
11
  const isCashFlowReportViewSectionID = (id) => exports.ALL_CASHFLOW_REPORT_VIEW_SECTION_IDS.find((sectionId) => id === sectionId) != null;
13
12
  exports.isCashFlowReportViewSectionID = isCashFlowReportViewSectionID;
14
13
  exports.ALL_CASHFLOW_REPORT_VIEW_CALCULATED_SECTION_IDS = [
@@ -21,16 +20,15 @@ exports.ALL_CASHFLOW_REPORT_VIEW_CALCULATED_SECTION_IDS = [
21
20
  'financingActivitiesTotal',
22
21
  ];
23
22
  const toCashFlowReportViewCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASHFLOW_REPORT_VIEW_CALCULATED_SECTION_IDS);
24
- exports.toCashFlowReportViewCalculatedSectionID = toCashFlowReportViewCalculatedSectionID;
25
- exports.ALL_CASHFLOW_REPORT_VIEW_CALCULATED_SECTION_TYPE1_IDS = [
23
+ const ALL_CASHFLOW_REPORT_VIEW_CALCULATED_SECTION_TYPE1_IDS = [
26
24
  'cashAndEquivalentsOpeningBalance',
27
25
  'cashAndEquivalentsClosingBalance',
28
26
  ];
29
- const isCashFlowReportViewCalculatedSectionType1ID = (id) => exports.ALL_CASHFLOW_REPORT_VIEW_CALCULATED_SECTION_TYPE1_IDS.find((sectionId) => id === sectionId) != null;
27
+ const isCashFlowReportViewCalculatedSectionType1ID = (id) => ALL_CASHFLOW_REPORT_VIEW_CALCULATED_SECTION_TYPE1_IDS.find((sectionId) => id === sectionId) != null;
30
28
  exports.isCashFlowReportViewCalculatedSectionType1ID = isCashFlowReportViewCalculatedSectionType1ID;
31
29
  const isCashFlowReportViewCalculatedSectionID = (id) => exports.ALL_CASHFLOW_REPORT_VIEW_CALCULATED_SECTION_IDS.find((calcId) => id === calcId) != null;
32
30
  exports.isCashFlowReportViewCalculatedSectionID = isCashFlowReportViewCalculatedSectionID;
33
- exports.ALL_CASHFLOW_PAYLOAD_SECTION_NAMES = [
31
+ const ALL_CASHFLOW_PAYLOAD_SECTION_NAMES = [
34
32
  'operating_activities',
35
33
  'adjustments',
36
34
  'net_income',
@@ -40,8 +38,7 @@ exports.ALL_CASHFLOW_PAYLOAD_SECTION_NAMES = [
40
38
  'cash_and_equivalents_closing_balance',
41
39
  'change_in_cash_and_equivalents',
42
40
  ];
43
- const toCashFlowPayloadSectionNames = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASHFLOW_PAYLOAD_SECTION_NAMES);
44
- exports.toCashFlowPayloadSectionNames = toCashFlowPayloadSectionNames;
41
+ const toCashFlowPayloadSectionNames = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_CASHFLOW_PAYLOAD_SECTION_NAMES);
45
42
  const toCashFlowReportViewID = (sectionId, calculatedSection = false) => {
46
43
  switch (sectionId) {
47
44
  case 'operating_activities':