@zeniai/client-epic-state 4.20.8 → 4.20.9-betaAK1

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 (229) hide show
  1. package/lib/common/aiCfo/aiCfoSuggestedQuestionsPageContext.d.ts +19 -0
  2. package/lib/common/aiCfo/aiCfoSuggestedQuestionsPageContext.js +2 -0
  3. package/lib/commonStateTypes/animations.d.ts +1 -1
  4. package/lib/commonStateTypes/animations.js +3 -0
  5. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
  6. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +1 -0
  7. package/lib/entity/account/accountPayload.d.ts +2 -0
  8. package/lib/entity/account/accountReducer.d.ts +5 -2
  9. package/lib/entity/account/accountReducer.js +7 -2
  10. package/lib/entity/account/accountState.d.ts +1 -1
  11. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  12. package/lib/entity/accountRecon/accountReconPayload.d.ts +1 -1
  13. package/lib/entity/accountRecon/accountReconPayload.js +4 -2
  14. package/lib/entity/aiCfo/aiCfoSelector.d.ts +1 -2
  15. package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +2 -2
  16. package/lib/entity/class/classReducer.d.ts +4 -4
  17. package/lib/entity/class/classState.d.ts +1 -1
  18. package/lib/entity/forecast/forecastState.d.ts +1 -1
  19. package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +38 -0
  20. package/lib/entity/jeSchedules/jeSchedulesPayload.js +78 -0
  21. package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +4 -1
  22. package/lib/entity/jeSchedules/jeSchedulesSelector.js +5 -1
  23. package/lib/entity/jeSchedules/jeSchedulesState.d.ts +37 -0
  24. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  25. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  26. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  27. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  28. package/lib/entity/snackbar/snackbarTypes.js +6 -0
  29. package/lib/entity/tenant/tenantPayload.d.ts +1 -0
  30. package/lib/entity/tenant/tenantReducer.d.ts +5 -2
  31. package/lib/entity/tenant/tenantReducer.js +9 -2
  32. package/lib/entity/tenant/tenantSelector.d.ts +1 -0
  33. package/lib/entity/tenant/tenantSelector.js +9 -1
  34. package/lib/entity/tenant/tenantState.d.ts +1 -0
  35. package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.d.ts +4 -1
  36. package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.js +1 -0
  37. package/lib/entity/transaction/payloadTypes/transactionPayload.d.ts +9 -0
  38. package/lib/entity/transaction/payloadTypes/transactionPayload.js +79 -1
  39. package/lib/entity/transaction/stateTypes/scheduleTransaction.d.ts +1 -0
  40. package/lib/entity/transaction/stateTypes/transaction.d.ts +11 -0
  41. package/lib/entity/transaction/stateTypes/transactionLine.d.ts +1 -1
  42. package/lib/epic.d.ts +11 -1
  43. package/lib/epic.js +11 -1
  44. package/lib/esm/common/aiCfo/aiCfoSuggestedQuestionsPageContext.js +1 -0
  45. package/lib/esm/commonStateTypes/animations.js +3 -0
  46. package/lib/esm/commonStateTypes/viewAndReport/viewAndReport.js +1 -0
  47. package/lib/esm/entity/account/accountReducer.js +6 -1
  48. package/lib/esm/entity/accountRecon/accountReconPayload.js +4 -2
  49. package/lib/esm/entity/jeSchedules/jeSchedulesPayload.js +78 -0
  50. package/lib/esm/entity/jeSchedules/jeSchedulesSelector.js +5 -1
  51. package/lib/esm/entity/snackbar/snackbarTypes.js +6 -0
  52. package/lib/esm/entity/tenant/tenantReducer.js +8 -1
  53. package/lib/esm/entity/tenant/tenantSelector.js +7 -0
  54. package/lib/esm/entity/transaction/payloadTypes/scheduleTransactionPayload.js +1 -0
  55. package/lib/esm/entity/transaction/payloadTypes/transactionPayload.js +79 -1
  56. package/lib/esm/epic.js +11 -1
  57. package/lib/esm/index.js +14 -11
  58. package/lib/esm/reducer.js +3 -0
  59. package/lib/esm/view/aiCfoView/aiCfoViewReducer.js +82 -1
  60. package/lib/esm/view/aiCfoView/aiCfoViewSelector.js +8 -2
  61. package/lib/esm/view/aiCfoView/epics/fetchSuggestedQuestionsEpic.js +29 -0
  62. package/lib/esm/view/classList/fetchClassListEpic.js +9 -2
  63. package/lib/esm/view/commonVendorView/vendorView/vendorViewSelector.js +18 -5
  64. package/lib/esm/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +6 -2
  65. package/lib/esm/view/companyView/companyViewReducer.js +26 -1
  66. package/lib/esm/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.js +61 -0
  67. package/lib/esm/view/companyView/types/companyPassport/companyPassportViewState.js +4 -0
  68. package/lib/esm/view/expenseAutomationView/epics/accountRecon/excludeAccountFromReconciliationEpic.js +44 -0
  69. package/lib/esm/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.js +4 -9
  70. package/lib/esm/view/expenseAutomationView/epics/accountRecon/includeAccountInReconciliationEpic.js +44 -0
  71. package/lib/esm/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +2 -2
  72. package/lib/esm/view/expenseAutomationView/epics/missingReceipts/bulkUploadReceiptsEpic.js +2 -2
  73. package/lib/esm/view/expenseAutomationView/epics/missingReceipts/watchBulkUploadBatchStatusEpic.js +2 -1
  74. package/lib/esm/view/expenseAutomationView/expenseAutomationViewSelector.js +0 -1
  75. package/lib/esm/view/expenseAutomationView/helpers/saveTransactionHelper.js +2 -2
  76. package/lib/esm/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +2 -2
  77. package/lib/esm/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +21 -1
  78. package/lib/esm/view/expenseAutomationView/reducers/reconciliationViewReducer.js +167 -3
  79. package/lib/esm/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.js +1 -2
  80. package/lib/esm/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.js +10 -2
  81. package/lib/esm/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +63 -6
  82. package/lib/esm/view/expenseAutomationView/selectors/missingReceiptsSelector.js +13 -4
  83. package/lib/esm/view/expenseAutomationView/selectors/reconciliationViewSelector.js +136 -9
  84. package/lib/esm/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +15 -5
  85. package/lib/esm/view/expenseAutomationView/types/jeSchedulesViewState.js +24 -1
  86. package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelector.js +3 -0
  87. package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesPayload.js +26 -0
  88. package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesReducer.js +199 -0
  89. package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesSelector.js +52 -0
  90. package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesState.js +1 -0
  91. package/lib/esm/view/spendManagement/autotransferRules/epics/createAutoTransferRuleEpic.js +100 -0
  92. package/lib/esm/view/spendManagement/autotransferRules/epics/deleteAutoTransferRuleEpic.js +48 -0
  93. package/lib/esm/view/spendManagement/autotransferRules/epics/fetchAutoTransferReviewDetailEpic.js +36 -0
  94. package/lib/esm/view/spendManagement/autotransferRules/epics/fetchAutoTransferRuleHistory.js +45 -0
  95. package/lib/esm/view/spendManagement/autotransferRules/epics/fetchAutoTransferRulesEpic.js +50 -0
  96. package/lib/esm/view/spendManagement/autotransferRules/epics/updateAutoTransferRuleEpic.js +69 -0
  97. package/lib/esm/view/spendManagement/billPay/billList/billListSelector.js +10 -0
  98. package/lib/esm/view/spendManagement/billPay/billList/billListState.js +1 -0
  99. package/lib/esm/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +7 -3
  100. package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelector.js +5 -5
  101. package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.js +7 -2
  102. package/lib/esm/view/spendManagement/billPay/editBillView/editBillViewSelector.js +13 -6
  103. package/lib/esm/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +1 -0
  104. package/lib/esm/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +2 -0
  105. package/lib/esm/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +7 -4
  106. package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListSelector.js +12 -0
  107. package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListState.js +1 -0
  108. package/lib/esm/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryDetailEpic.js +2 -2
  109. package/lib/esm/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js +2 -1
  110. package/lib/esm/view/taskManager/taskDetailView/taskDetailSelector.js +2 -2
  111. package/lib/esm/view/transactionDetail/epics/saveTransactionHelper.js +2 -2
  112. package/lib/esm/view/transactionDetail/transactionDetailLocalDataHelper.js +16 -14
  113. package/lib/esm/view/transactionDetail/transactionDetailSelector.js +9 -2
  114. package/lib/index.d.ts +23 -16
  115. package/lib/index.js +61 -32
  116. package/lib/reducer.d.ts +3 -0
  117. package/lib/reducer.js +3 -0
  118. package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
  119. package/lib/view/aiCfoView/aiCfoViewPayload.d.ts +7 -0
  120. package/lib/view/aiCfoView/aiCfoViewReducer.d.ts +15 -1
  121. package/lib/view/aiCfoView/aiCfoViewReducer.js +83 -2
  122. package/lib/view/aiCfoView/aiCfoViewSelector.d.ts +4 -1
  123. package/lib/view/aiCfoView/aiCfoViewSelector.js +9 -2
  124. package/lib/view/aiCfoView/aiCfoViewState.d.ts +15 -1
  125. package/lib/view/aiCfoView/epics/fetchSuggestedQuestionsEpic.d.ts +8 -0
  126. package/lib/view/aiCfoView/epics/fetchSuggestedQuestionsEpic.js +33 -0
  127. package/lib/view/auditReportView/auditReportViewState.d.ts +2 -2
  128. package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
  129. package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -1
  130. package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
  131. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
  132. package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
  133. package/lib/view/classList/fetchClassListEpic.d.ts +1 -1
  134. package/lib/view/classList/fetchClassListEpic.js +8 -1
  135. package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +1 -0
  136. package/lib/view/commonVendorView/vendorView/vendorViewSelector.js +18 -5
  137. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.d.ts +1 -0
  138. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +6 -2
  139. package/lib/view/companyView/companyViewReducer.d.ts +6 -1
  140. package/lib/view/companyView/companyViewReducer.js +28 -2
  141. package/lib/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.d.ts +10 -0
  142. package/lib/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.js +65 -0
  143. package/lib/view/companyView/types/companyPassport/companyPassportViewState.d.ts +1 -0
  144. package/lib/view/companyView/types/companyPassport/companyPassportViewState.js +4 -0
  145. package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
  146. package/lib/view/expenseAutomationView/epics/accountRecon/excludeAccountFromReconciliationEpic.d.ts +8 -0
  147. package/lib/view/expenseAutomationView/epics/accountRecon/excludeAccountFromReconciliationEpic.js +48 -0
  148. package/lib/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.js +4 -9
  149. package/lib/view/expenseAutomationView/epics/accountRecon/includeAccountInReconciliationEpic.d.ts +9 -0
  150. package/lib/view/expenseAutomationView/epics/accountRecon/includeAccountInReconciliationEpic.js +48 -0
  151. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +2 -2
  152. package/lib/view/expenseAutomationView/epics/missingReceipts/bulkUploadReceiptsEpic.js +1 -1
  153. package/lib/view/expenseAutomationView/epics/missingReceipts/watchBulkUploadBatchStatusEpic.js +2 -1
  154. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +0 -1
  155. package/lib/view/expenseAutomationView/helpers/saveTransactionHelper.js +2 -2
  156. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
  157. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +2 -2
  158. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.d.ts +1 -1
  159. package/lib/view/expenseAutomationView/payload/reconciliationPayload.d.ts +45 -0
  160. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +2 -2
  161. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +22 -2
  162. package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.d.ts +18 -4
  163. package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.js +168 -4
  164. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.d.ts +2 -0
  165. package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.d.ts +1 -0
  166. package/lib/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.d.ts +7 -2
  167. package/lib/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.js +2 -2
  168. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.js +10 -2
  169. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +63 -6
  170. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.js +13 -4
  171. package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.js +136 -9
  172. package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +13 -3
  173. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.d.ts +8 -0
  174. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.js +27 -0
  175. package/lib/view/expenseAutomationView/types/reconciliationViewState.d.ts +14 -0
  176. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  177. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
  178. package/lib/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.d.ts +1 -1
  179. package/lib/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelector.js +3 -0
  180. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
  181. package/lib/view/reportsResync/reportsResyncReducer.d.ts +2 -2
  182. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
  183. package/lib/view/spendManagement/autotransferRules/autoTransferRulesPayload.d.ts +75 -0
  184. package/lib/view/spendManagement/autotransferRules/autoTransferRulesPayload.js +30 -0
  185. package/lib/view/spendManagement/autotransferRules/autoTransferRulesReducer.d.ts +50 -0
  186. package/lib/view/spendManagement/autotransferRules/autoTransferRulesReducer.js +206 -0
  187. package/lib/view/spendManagement/autotransferRules/autoTransferRulesSelector.d.ts +24 -0
  188. package/lib/view/spendManagement/autotransferRules/autoTransferRulesSelector.js +61 -0
  189. package/lib/view/spendManagement/autotransferRules/autoTransferRulesState.d.ts +38 -0
  190. package/lib/view/spendManagement/autotransferRules/autoTransferRulesState.js +2 -0
  191. package/lib/view/spendManagement/autotransferRules/epics/createAutoTransferRuleEpic.d.ts +12 -0
  192. package/lib/view/spendManagement/autotransferRules/epics/createAutoTransferRuleEpic.js +106 -0
  193. package/lib/view/spendManagement/autotransferRules/epics/deleteAutoTransferRuleEpic.d.ts +8 -0
  194. package/lib/view/spendManagement/autotransferRules/epics/deleteAutoTransferRuleEpic.js +52 -0
  195. package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferReviewDetailEpic.d.ts +7 -0
  196. package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferReviewDetailEpic.js +40 -0
  197. package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRuleHistory.d.ts +7 -0
  198. package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRuleHistory.js +52 -0
  199. package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRulesEpic.d.ts +10 -0
  200. package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRulesEpic.js +54 -0
  201. package/lib/view/spendManagement/autotransferRules/epics/updateAutoTransferRuleEpic.d.ts +8 -0
  202. package/lib/view/spendManagement/autotransferRules/epics/updateAutoTransferRuleEpic.js +73 -0
  203. package/lib/view/spendManagement/billPay/billList/billListSelector.js +10 -0
  204. package/lib/view/spendManagement/billPay/billList/billListState.d.ts +1 -1
  205. package/lib/view/spendManagement/billPay/billList/billListState.js +1 -0
  206. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +7 -3
  207. package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelector.js +5 -5
  208. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.js +7 -2
  209. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +13 -6
  210. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +1 -1
  211. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +1 -1
  212. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +1 -0
  213. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +2 -0
  214. package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +6 -3
  215. package/lib/view/spendManagement/reimbursement/remiListView/remiListSelector.d.ts +1 -0
  216. package/lib/view/spendManagement/reimbursement/remiListView/remiListSelector.js +12 -0
  217. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +1 -1
  218. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.js +1 -0
  219. package/lib/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryDetailEpic.js +2 -2
  220. package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.d.ts +2 -1
  221. package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js +2 -1
  222. package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +2 -2
  223. package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
  224. package/lib/view/topEx/topExSelector.d.ts +1 -1
  225. package/lib/view/transactionDetail/epics/saveTransactionHelper.js +2 -2
  226. package/lib/view/transactionDetail/transactionDetailLocalDataHelper.js +16 -14
  227. package/lib/view/transactionDetail/transactionDetailSelector.d.ts +1 -0
  228. package/lib/view/transactionDetail/transactionDetailSelector.js +9 -2
  229. package/package.json +1 -1
@@ -15,11 +15,12 @@ const accountSelector_1 = require("../../../entity/account/accountSelector");
15
15
  const accountReconSelector_1 = require("../../../entity/accountRecon/accountReconSelector");
16
16
  const tenantSelector_1 = require("../../../entity/tenant/tenantSelector");
17
17
  const vendorSelector_1 = require("../../../entity/vendor/vendorSelector");
18
+ const zeniDayJS_1 = require("../../../zeniDayJS");
18
19
  const accountListSelector_1 = require("../../accountList/accountListSelector");
19
20
  const classListSelector_1 = require("../../classList/classListSelector");
20
21
  const reconciliationViewReducer_1 = require("../reducers/reconciliationViewReducer");
21
22
  const expenseAutomationViewSelectorTypes_1 = require("../selectorTypes/expenseAutomationViewSelectorTypes");
22
- exports.getExpenseAutomationReconciliationView = (0, toolkit_1.createSelector)((state) => state, (state) => (0, tenantSelector_1.getCurrentTenant)(state), (state) => state.expenseAutomationReconciliationViewState, (state) => state.expenseAutomationViewState, (state) => state.plaidAccountViewState, (state) => state.accountListState, (state) => state.accountState, (state) => state.classListState, (state) => state.classState, (state) => state.monthEndCloseChecksState, (state) => state.vendorState, (state, currentTenant, reconciliationViewState, expenseAutomationViewState, plaidAccountViewState, accountListState, accountState, classListState, classState, monthEndCloseChecksState, vendorState) => {
23
+ exports.getExpenseAutomationReconciliationView = (0, toolkit_1.createSelector)((state) => state, (state) => (0, tenantSelector_1.getCurrentTenant)(state), (state) => state.expenseAutomationReconciliationViewState, (state) => state.expenseAutomationViewState, (state) => state.plaidAccountViewState, (state) => state.accountListState, (state) => state.accountState, (state) => state.classListState, (state) => state.classState, (state) => state.monthEndCloseChecksState, (state) => state.vendorState, (state) => state.monthEndCloseChecksViewState, (state, currentTenant, reconciliationViewState, expenseAutomationViewState, plaidAccountViewState, accountListState, accountState, classListState, classState, monthEndCloseChecksState, vendorState, monthEndCloseChecksViewState) => {
23
24
  const { selectedPeriodByTenantId } = expenseAutomationViewState;
24
25
  const reconcileTabUiState = reconciliationViewState.reconTabsState.reconcile.uiState;
25
26
  const reviewTabUiState = reconciliationViewState.reconTabsState.review.uiState;
@@ -41,6 +42,13 @@ exports.getExpenseAutomationReconciliationView = (0, toolkit_1.createSelector)((
41
42
  }
42
43
  return acc;
43
44
  }, []);
45
+ const monthYearPeriodId = selectedPeriod != null ? (0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod) : null;
46
+ const monthEndFetchState = monthYearPeriodId != null
47
+ ? (monthEndCloseChecksViewState.monthEndCloseChecksViewByTenantId[currentTenant.tenantId]?.[monthYearPeriodId] ?? {
48
+ fetchState: 'Not-Started',
49
+ error: undefined,
50
+ })
51
+ : { fetchState: 'Not-Started', error: undefined };
44
52
  if (accountReconForMonthYearPeriod == null) {
45
53
  return {
46
54
  bankAccounts: [],
@@ -50,10 +58,13 @@ exports.getExpenseAutomationReconciliationView = (0, toolkit_1.createSelector)((
50
58
  classListNestedAccountHierarchy: [],
51
59
  allAccountList: [],
52
60
  allClassList: [],
53
- fetchStatus: {
54
- fetchState: reconciliationViewState.fetchState,
55
- error: reconciliationViewState.error,
56
- },
61
+ fetchStatus: (0, reduceFetchState_1.reduceAnyFetchState)([
62
+ {
63
+ fetchState: reconciliationViewState.fetchState,
64
+ error: reconciliationViewState.error,
65
+ },
66
+ monthEndFetchState,
67
+ ]),
57
68
  plaidConnectionDetails: plaidAccountViewState['expense_automation_reconcile']
58
69
  .plaidConnectionDetails,
59
70
  completionStatus: 'incomplete',
@@ -86,6 +97,30 @@ exports.getExpenseAutomationReconciliationView = (0, toolkit_1.createSelector)((
86
97
  totalVariancePercentage: undefined,
87
98
  },
88
99
  },
100
+ excludedAccountReconciliationByAccountID: {},
101
+ excludedAccountReconciliationBySectionID: {
102
+ assets: {
103
+ sectionId: 'assets',
104
+ accountIDs: [],
105
+ totalBankBalance: undefined,
106
+ totalClearedBalance: undefined,
107
+ totalReconciledBalance: undefined,
108
+ totalVariance: undefined,
109
+ totalVariancePercentage: undefined,
110
+ },
111
+ liabilities: {
112
+ sectionId: 'liabilities',
113
+ accountIDs: [],
114
+ totalBankBalance: undefined,
115
+ totalClearedBalance: undefined,
116
+ totalReconciledBalance: undefined,
117
+ totalVariance: undefined,
118
+ totalVariancePercentage: undefined,
119
+ },
120
+ },
121
+ excludeAccountFetchState: reconciliationViewState.actionFetchState.excludeAccountFetch,
122
+ includeAccountFetchState: reconciliationViewState.actionFetchState.includeAccountFetch,
123
+ excludedAccountIDs: reconciliationViewState.excludedAccountIDs,
89
124
  };
90
125
  }
91
126
  const allAccountIDs = accountReconForMonthYearPeriod.accountIDs;
@@ -223,6 +258,8 @@ exports.getExpenseAutomationReconciliationView = (0, toolkit_1.createSelector)((
223
258
  .transactionFetchState,
224
259
  accountListState.byReportId.accountList,
225
260
  ]),
261
+ accountDetectionReason: accountReconForMonthYearPeriod.reconciliationByAccountID[accountID]
262
+ .accountDetectionReason,
226
263
  };
227
264
  });
228
265
  const accountReconciliationBySectionID = {
@@ -245,6 +282,88 @@ exports.getExpenseAutomationReconciliationView = (0, toolkit_1.createSelector)((
245
282
  totalVariancePercentage: liabilityTotals.variancePercentage,
246
283
  },
247
284
  };
285
+ const bankAccountIdSet = new Set(uniqueBankAccounts.map((a) => a.accountId));
286
+ const creditCardIdSet = new Set(uniqueCreditCards.map((a) => a.accountId));
287
+ const excludedAssetAccountIDs = [];
288
+ const excludedLiabilityAccountIDs = [];
289
+ reconciliationViewState.excludedAccountIDs.forEach((accountID) => {
290
+ const isAsset = bankAccountIdSet.has(accountID);
291
+ const isLiability = creditCardIdSet.has(accountID);
292
+ if (!isAsset && !isLiability) {
293
+ return;
294
+ }
295
+ if (isAsset) {
296
+ excludedAssetAccountIDs.push(accountID);
297
+ }
298
+ else {
299
+ excludedLiabilityAccountIDs.push(accountID);
300
+ }
301
+ });
302
+ const excludedAccountReconciliationBySectionID = {
303
+ assets: {
304
+ sectionId: 'assets',
305
+ accountIDs: excludedAssetAccountIDs,
306
+ },
307
+ liabilities: {
308
+ sectionId: 'liabilities',
309
+ accountIDs: excludedLiabilityAccountIDs,
310
+ },
311
+ };
312
+ const excludedAccountReconciliationByAccountID = {};
313
+ const accountsInState = Object.values(accountState.accountsByKey);
314
+ const accountsInStateMap = new Map(accountsInState.map((a) => [a.accountId, a]));
315
+ reconciliationViewState.excludedAccountIDs.forEach((excludedAccountID) => {
316
+ const account = accountsInStateMap.get(excludedAccountID);
317
+ const exclusionInfo = reconciliationViewState.excludedAccountExclusionInfo[excludedAccountID];
318
+ if (account != null) {
319
+ excludedAccountReconciliationByAccountID[excludedAccountID] = {
320
+ refreshStatus: { fetchState: 'Not-Started' },
321
+ statementUpdateStatus: { fetchState: 'Not-Started' },
322
+ statementUploadStatus: { fetchState: 'Not-Started' },
323
+ statementDeleteStatus: { fetchState: 'Not-Started' },
324
+ localData: {},
325
+ connectionInProgress: false,
326
+ statementParseInProgress: false,
327
+ accountConnectionStatus: 'not_connected',
328
+ transactionFetchState: { fetchState: 'Not-Started' },
329
+ accountReconEntity: {
330
+ account: {
331
+ accountId: account.accountId,
332
+ accountName: account.accountName,
333
+ accountType: account.accountType,
334
+ accountSubType: account.accountSubType,
335
+ accountDescription: account.accountDescription,
336
+ qboId: account.qboId,
337
+ coaId: account.coaId,
338
+ labels: account.labels,
339
+ },
340
+ currency: {
341
+ currencyCode: exclusionInfo?.bankBalance?.currencyCode ??
342
+ exclusionInfo?.clearedBalance?.currencyCode ??
343
+ 'USD',
344
+ currencySymbol: exclusionInfo?.bankBalance?.currencySymbol ??
345
+ exclusionInfo?.clearedBalance?.currencySymbol ??
346
+ '$',
347
+ },
348
+ startDate: (0, zeniDayJS_1.date)(new Date().toDateString()),
349
+ endDate: (0, zeniDayJS_1.date)(new Date().toDateString()),
350
+ statementStatus: { code: 'not_found', label: 'Not Found' },
351
+ transactionsToReconcile: [],
352
+ transactionsToReview: [],
353
+ balance: exclusionInfo?.bankBalance,
354
+ clearedBalance: exclusionInfo?.clearedBalance,
355
+ variance: exclusionInfo?.variance,
356
+ variancePercentage: exclusionInfo?.variance != null &&
357
+ exclusionInfo?.bankBalance != null &&
358
+ exclusionInfo?.bankBalance.amount !== 0
359
+ ? Math.abs((exclusionInfo.variance.amount /
360
+ exclusionInfo.bankBalance.amount) *
361
+ 100)
362
+ : undefined,
363
+ },
364
+ };
365
+ }
366
+ });
248
367
  const accountListNestedAccountHierarchy = (0, accountListSelector_1.getNestedAccountListHierarchy)(accountListState, 'accountList');
249
368
  const classListNestedAccountHierarchy = (0, classListSelector_1.getNestedClassListHierarchy)(classListState);
250
369
  const accountsList = (0, accountListSelector_1.getAccountList)(accountState, accountListState, 'accountList');
@@ -276,10 +395,13 @@ exports.getExpenseAutomationReconciliationView = (0, toolkit_1.createSelector)((
276
395
  bankAccounts: uniqueBankAccounts,
277
396
  creditCards: uniqueCreditCards,
278
397
  accountReconciliationsByAccountID: reconList,
279
- fetchStatus: {
280
- fetchState: reconciliationViewState.fetchState,
281
- error: reconciliationViewState.error,
282
- },
398
+ fetchStatus: (0, reduceFetchState_1.reduceAnyFetchState)([
399
+ {
400
+ fetchState: reconciliationViewState.fetchState,
401
+ error: reconciliationViewState.error,
402
+ },
403
+ monthEndFetchState,
404
+ ]),
283
405
  plaidConnectionDetails: plaidAccountViewState['expense_automation_reconcile']
284
406
  .plaidConnectionDetails,
285
407
  reconciliationTabsState: reconciliationViewState.reconTabsState,
@@ -302,6 +424,11 @@ exports.getExpenseAutomationReconciliationView = (0, toolkit_1.createSelector)((
302
424
  allClassList: allClasses,
303
425
  reviewTabSelectedVendorByTransactionId,
304
426
  reconListUIState: reconciliationViewState.reconListUIState,
427
+ excludedAccountReconciliationBySectionID,
428
+ excludedAccountReconciliationByAccountID,
429
+ excludeAccountFetchState: reconciliationViewState.actionFetchState.excludeAccountFetch,
430
+ includeAccountFetchState: reconciliationViewState.actionFetchState.includeAccountFetch,
431
+ excludedAccountIDs: reconciliationViewState.excludedAccountIDs,
305
432
  };
306
433
  });
307
434
  const isAccountReconReport = (reportId) => {
@@ -14,7 +14,7 @@ const accountListSelector_1 = require("../../accountList/accountListSelector");
14
14
  const classListSelector_1 = require("../../classList/classListSelector");
15
15
  const expenseAutomationViewSelectorTypes_1 = require("../selectorTypes/expenseAutomationViewSelectorTypes");
16
16
  function getExpenseAutomationTransactionView(state) {
17
- const { accountState, classState, classListState, accountListState, expenseAutomationTransactionsViewState, expenseAutomationViewState, transactionState, monthEndCloseChecksState, } = state;
17
+ const { accountState, classState, classListState, accountListState, expenseAutomationTransactionsViewState, expenseAutomationViewState, transactionState, monthEndCloseChecksState, monthEndCloseChecksViewState, } = state;
18
18
  const { selectedTransactionCategorizationTab } = expenseAutomationTransactionsViewState;
19
19
  const { uiState, refreshStatus, saveStatus, markAsNotMiscategorizedStatus, transactionIdsBySelectedPeriod, transactionReviewLocalDataById, selectedCheckBoxTransactionIds, transactionIdsWithUnsavedData, uploadReceiptStatusById, selectedTransactionId, selectedTransactionLineId, } = expenseAutomationTransactionsViewState.transactionCategorizationView[selectedTransactionCategorizationTab];
20
20
  const uncategorizedIncomeExpense = (0, accountListSelector_1.getUncategorizedAccounts)(accountState, accountListState, 'accountList');
@@ -47,10 +47,20 @@ function getExpenseAutomationTransactionView(state) {
47
47
  .filter((transaction) => transaction != null);
48
48
  const transactions = (0, transactionSelector_1.getSupportedTransactionsByIds)(transactionState, transactionIds);
49
49
  const transactionsWithCOT = transactions.map((transaction) => (0, transactionHelper_1.getTransactionWithCOT)(transaction));
50
- const fetchStatus = (0, reduceFetchState_1.reduceAllFetchState)([
50
+ const monthEndFetchState = monthYearPeriodId != null
51
+ ? (monthEndCloseChecksViewState.monthEndCloseChecksViewByTenantId[currentTenant.tenantId]?.[monthYearPeriodId] ?? { fetchState: 'Not-Started', error: undefined })
52
+ : { fetchState: 'Not-Started', error: undefined };
53
+ const isAccountingClassesEnabled = (0, tenantSelector_1.getIsAccountingClassesEnabled)(state);
54
+ const allFetchStateList = [
51
55
  accountList,
52
- classList,
53
56
  expenseAutomationTransactionsViewState.transactionCategorizationView[selectedTransactionCategorizationTab],
57
+ ];
58
+ if (isAccountingClassesEnabled) {
59
+ allFetchStateList.push(classList);
60
+ }
61
+ const fetchStatus = (0, reduceFetchState_1.reduceAnyFetchState)([
62
+ (0, reduceFetchState_1.reduceAllFetchState)(allFetchStateList),
63
+ monthEndFetchState,
54
64
  ]);
55
65
  const totalCountByReview = expenseAutomationTransactionsViewState.transactionCategorizationView.review
56
66
  .uiState.totalCount;
@@ -1,16 +1,24 @@
1
1
  import { NestedAccountHierarchyForReport } from '../../../commonStateTypes/accountView/nestedAccountID';
2
2
  import { FetchStateAndError, FetchedState, ID } from '../../../commonStateTypes/common';
3
3
  import { Recommendation } from '../../../commonStateTypes/recommendationBase';
4
+ import { SortOrder } from '../../../commonStateTypes/selectorTypes/sortOrderTypes';
4
5
  import { MonthYearPeriodId } from '../../../commonStateTypes/timePeriod';
5
6
  import { AccountBase } from '../../../entity/account/accountState';
6
7
  import { JEScheduleTransactionKey, ScheduleTypes } from '../../../entity/jeSchedules/jeSchedulesTypes';
7
8
  import { VendorBase } from '../../../entity/vendor/vendorState';
9
+ export declare const toJEScheduleSortKey: (v: string) => "vendor" | "type" | "category" | "class" | "memo" | "transactionDate" | "totalAmount" | "runningBalance" | "depCategory" | "scheduleCategory" | "startMonth" | "amortizationPeriod" | "jePostingDate" | "remainingMonths";
10
+ export type JEScheduleSortKey = ReturnType<typeof toJEScheduleSortKey>;
11
+ export declare const toJEScheduleMainTab: (v: string) => "completed" | "pending_review" | "ongoing";
12
+ export type JEScheduleMainTab = ReturnType<typeof toJEScheduleMainTab>;
8
13
  export interface JESchedulesViewUIState {
9
14
  scrollPosition: {
10
15
  scrollTop: number;
11
16
  scrollLeft?: number;
12
17
  } | undefined;
13
18
  searchString: string;
19
+ selectedMainTab: JEScheduleMainTab;
20
+ sortKey: JEScheduleSortKey;
21
+ sortOrder: SortOrder;
14
22
  totalCount: number;
15
23
  limit?: number;
16
24
  }
@@ -1,2 +1,29 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toJEScheduleMainTab = exports.toJEScheduleSortKey = void 0;
4
+ const stringToUnion_1 = require("../../../commonStateTypes/stringToUnion");
5
+ const JE_SCHEDULE_SORT_KEYS = [
6
+ 'vendor',
7
+ 'category',
8
+ 'class',
9
+ 'depCategory',
10
+ 'scheduleCategory',
11
+ 'startMonth',
12
+ 'type',
13
+ 'amortizationPeriod',
14
+ 'jePostingDate',
15
+ 'remainingMonths',
16
+ 'runningBalance',
17
+ 'totalAmount',
18
+ 'transactionDate',
19
+ 'memo',
20
+ ];
21
+ const toJEScheduleSortKey = (v) => (0, stringToUnion_1.stringToUnion)(v, JE_SCHEDULE_SORT_KEYS);
22
+ exports.toJEScheduleSortKey = toJEScheduleSortKey;
23
+ const JE_SCHEDULE_MAIN_TABS = [
24
+ 'pending_review',
25
+ 'ongoing',
26
+ 'completed',
27
+ ];
28
+ const toJEScheduleMainTab = (v) => (0, stringToUnion_1.stringToUnion)(v, JE_SCHEDULE_MAIN_TABS);
29
+ exports.toJEScheduleMainTab = toJEScheduleMainTab;
@@ -74,13 +74,24 @@ export interface ReconciliationReviewTabLocalData {
74
74
  matchedTransactionId?: ID;
75
75
  vendor?: VendorBase;
76
76
  }
77
+ export interface ExcludeAccountFromReconciliationPayload {
78
+ accountId: ID;
79
+ }
80
+ export interface ExclusionInfo {
81
+ bankBalance: Amount | undefined;
82
+ clearedBalance: Amount | undefined;
83
+ variance: Amount | undefined;
84
+ }
77
85
  export interface ActionFetchStates {
86
+ excludeAccountFetch: FetchStateAndError;
78
87
  excludeFetchById: Record<ID, FetchStateAndError>;
88
+ includeAccountFetch: FetchStateAndError;
79
89
  reconcileFetch: FetchStateAndError;
80
90
  saveForLaterFetch: FetchStateAndError;
81
91
  saveReconciliationReviewFetch: Record<ID, FetchStateAndError>;
82
92
  }
83
93
  export interface ReconListUIState {
94
+ nodeCollapseState: Record<ID, boolean>;
84
95
  scrollPosition: {
85
96
  scrollTop: number;
86
97
  scrollLeft?: number;
@@ -90,6 +101,8 @@ export interface ReconciliationViewState extends FetchStateAndError {
90
101
  accountConnectionStatusByAccountID: Record<ID, BankConnectionStatus>;
91
102
  accountReconciliationRecordsBySelectedPeriod: Record<MonthYearPeriodId, AccountReconciliationRecords>;
92
103
  actionFetchState: ActionFetchStates;
104
+ excludedAccountExclusionInfo: Record<ID, ExclusionInfo>;
105
+ excludedAccountIDs: ID[];
93
106
  reconListUIState: ReconListUIState;
94
107
  reconTabsState: ReconciliationTabsState;
95
108
  refreshStatus: FetchStateAndError;
@@ -119,6 +132,7 @@ export interface AccountReconciliationDataWithTransactionFetchState {
119
132
  statementUpdateStatus: FetchStateAndError;
120
133
  statementUploadStatus: FetchStateAndError;
121
134
  transactionFetchState: FetchStateAndError;
135
+ accountDetectionReason?: string;
122
136
  reconciliationId?: ID;
123
137
  }
124
138
  export {};
@@ -17,7 +17,7 @@ export declare const fetchFinanceStatement: import("@reduxjs/toolkit").ActionCre
17
17
  firstMonthOfFY: Month;
18
18
  maxNumOfPeriodsToHighlight: number;
19
19
  thisPeriod: TimeframeTick;
20
- }, "financeStatement/updateFinanceStatementThisPeriod">, updateCOABalancesRange: import("@reduxjs/toolkit").ActionCreatorWithPayload<COABalancesRange, "financeStatement/updateCOABalancesRange">, updateSelectedReportId: import("@reduxjs/toolkit").ActionCreatorWithPayload<"cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card", "financeStatement/updateSelectedReportId">, updateFinanceStatementAdditionalBalancesSelection: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
20
+ }, "financeStatement/updateFinanceStatementThisPeriod">, updateCOABalancesRange: import("@reduxjs/toolkit").ActionCreatorWithPayload<COABalancesRange, "financeStatement/updateCOABalancesRange">, updateSelectedReportId: import("@reduxjs/toolkit").ActionCreatorWithPayload<"cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation", "financeStatement/updateSelectedReportId">, updateFinanceStatementAdditionalBalancesSelection: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
21
21
  additionalBalances: COABalanceType[];
22
22
  coaBalances: COABalance[];
23
23
  firstMonthOfFY: Month;
@@ -3,9 +3,9 @@ import { ZeniAPIStatus } from '../../responsePayload';
3
3
  import { VendorReviewViewAllRecommendationsPayload } from '../vendorReviewView/common/payload/commonTypes';
4
4
  import { GlobalMerchantViewState, GlobalRecommendationFetchSource, NewGlobalMerchantCurrentSelection } from './globalMerchantViewState';
5
5
  export declare const initialState: GlobalMerchantViewState;
6
- export declare const createGlobalMerchant: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[merchantId?: string | undefined, context?: "cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | undefined], {
6
+ export declare const createGlobalMerchant: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[merchantId?: string | undefined, context?: "cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | undefined], {
7
7
  merchantId: string | undefined;
8
- context: "cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | undefined;
8
+ context: "cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | undefined;
9
9
  }, "globalMerchantView/createGlobalMerchant", never, never>, createGlobalMerchantSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
10
10
  merchantId: ID;
11
11
  }, "globalMerchantView/createGlobalMerchantSuccess">, createGlobalMerchantFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
@@ -3,7 +3,7 @@ import { CompanyWithSchema } from '../../../../entity/company/companySelector';
3
3
  import { OnboardingCustomerInfo } from '../../../../entity/onboardingCustomer/onboardingCustomerState';
4
4
  import { Tenant } from '../../../../entity/tenant/tenantState';
5
5
  import { CompanyDetailsLocalData, PrimaryContactLocalData } from '../../../spendManagement/commonSetup/setupViewState';
6
- declare const toProductGroupType: (v: string) => "other" | "bookkeeping" | "banking" | "spend_management" | "cards";
6
+ declare const toProductGroupType: (v: string) => "cards" | "other" | "bookkeeping" | "banking" | "spend_management";
7
7
  export type ProductGroupType = ReturnType<typeof toProductGroupType>;
8
8
  export declare const toProductType: (v: string) => "zeni_treasury" | "other" | "bookkeeping" | "zeni_checking" | "zeni_bill_pay" | "zeni_reimbursements" | "zeni_cards" | "zeni_payroll" | "zeni_cfo" | "zeni_tax";
9
9
  export declare const toProductTypeStrict: (v: string) => "zeni_treasury" | "other" | "bookkeeping" | "zeni_checking" | "zeni_bill_pay" | "zeni_reimbursements" | "zeni_cards" | "zeni_payroll" | "zeni_cfo" | "zeni_tax" | undefined;
@@ -6,6 +6,7 @@ const getSummationBalance_1 = require("../../commonStateTypes/coaBalance/additio
6
6
  const currencyHelper_1 = require("../../commonStateTypes/currencyHelper");
7
7
  const reduceFetchState_1 = require("../../commonStateTypes/reduceFetchState");
8
8
  const sectionClassesViewSelector_1 = require("../../entity/sectionClassesViewV2/sectionClassesViewSelector");
9
+ const profitAndLossClassesByClassHorizontalSelectorTypes_1 = require("./profitAndLossClassesByClassHorizontalSelectorTypes");
9
10
  const profitAndLossHorizontalEnrichment_1 = require("./profitAndLossHorizontalEnrichment");
10
11
  /** Standard class ID returned by the accounting platform for transactions without an assigned class. */
11
12
  exports.NOT_SPECIFIED_CLASS_ID = 'not_specified';
@@ -321,6 +322,7 @@ function buildHeaderBalances(classColumns, timeframe, selectedPeriod, currency)
321
322
  startDate,
322
323
  type: 'default',
323
324
  label: col.className,
325
+ id: col.classId,
324
326
  }));
325
327
  // Add a "Total" column
326
328
  balances.push({
@@ -330,6 +332,7 @@ function buildHeaderBalances(classColumns, timeframe, selectedPeriod, currency)
330
332
  startDate,
331
333
  type: 'default',
332
334
  label: 'Total',
335
+ id: profitAndLossClassesByClassHorizontalSelectorTypes_1.HORIZONTAL_CLASS_TOTAL_BALANCE_ID,
333
336
  });
334
337
  return balances;
335
338
  }
@@ -1,6 +1,6 @@
1
1
  import { RootState } from '../../reducer';
2
2
  export declare const getReimbursementCardReport: (state: RootState) => {
3
- reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card";
3
+ reportId: "cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation";
4
4
  reportTitle: string;
5
5
  version: string | number | undefined;
6
6
  fetchState: import("../..").FetchState;
@@ -2,8 +2,8 @@ import { ReportID } from '../../commonStateTypes/viewAndReport/viewAndReport';
2
2
  import { ZeniAPIStatus } from '../../responsePayload';
3
3
  import { ReportsResyncState } from './reportsResyncState';
4
4
  export declare const initialReportsResyncState: ReportsResyncState;
5
- export declare const initiateReportsResync: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[reportIdToResync: "cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card"], {
6
- reportIdToResync: "cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card";
5
+ export declare const initiateReportsResync: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[reportIdToResync: "cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation"], {
6
+ reportIdToResync: "cash_balance" | "card_balance" | "expense_automation_card" | "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" | "zeni_treasury" | "charge_cards" | "other_connection" | "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" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation";
7
7
  }, "initiateReportsResync/initiateReportsResync", never, never>, initiateReportsClassViewRefetching: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
8
8
  reportIdToResync: ReportID;
9
9
  }, "initiateReportsResync/initiateReportsClassViewRefetching">, reportsResyncSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
@@ -7,7 +7,7 @@ export declare const getScheduleListKey: (selectedCategory: ID, selectedTimefram
7
7
  export type ScheduleListKey = ReturnType<typeof getScheduleListKey>;
8
8
  export declare const toScheduleSubTabType: (v: string) => "completed" | "new" | "ongoing" | "all";
9
9
  export type ScheduleSubTabType = ReturnType<typeof toScheduleSubTabType>;
10
- declare const toScheduleSortKeyType: (v: string) => "months" | "amount" | "vendor" | "status" | "user" | "createTime" | "class" | "memo" | "balanceAsOfToday" | "transactionDate" | "transactionType" | "assetId" | "accruedExpenseCategory" | "scheduleCategory" | "expenseCategory" | "accumulatedDepreciationCategory" | "startMonth" | "endMonth";
10
+ declare const toScheduleSortKeyType: (v: string) => "months" | "amount" | "vendor" | "status" | "user" | "createTime" | "class" | "memo" | "balanceAsOfToday" | "transactionDate" | "transactionType" | "assetId" | "scheduleCategory" | "startMonth" | "accruedExpenseCategory" | "expenseCategory" | "accumulatedDepreciationCategory" | "endMonth";
11
11
  export declare type ScheduleListSortKey = ReturnType<typeof toScheduleSortKeyType>;
12
12
  export interface DownloadJEScheduleTabOptions {
13
13
  categoryId: ID;
@@ -0,0 +1,75 @@
1
+ import { Amount } from '../../../commonStateTypes/amount';
2
+ import { ZeniAPIResponse } from '../../../responsePayload';
3
+ import { ZeniDate } from '../../../zeniDayJS';
4
+ import { FundingAccount } from '../commonSetup/setupViewSelector';
5
+ import { TreasuryAccount } from '../treasury/treasuryTransferMoney/treasuryTransferMoneyState';
6
+ import { AutoTransferRule } from './autoTransferRulesState';
7
+ export type AutoTransferRuleType = 'minimum_balance' | 'recurring' | 'percentage_of_balance';
8
+ export type AutoTransferRuleFrequency = 'daily' | 'weekly' | 'monthly';
9
+ export interface DestinationBankAccountMetadataPayload {
10
+ account_id: string;
11
+ account_type: string;
12
+ percentage: number;
13
+ }
14
+ export interface AutoTransferRulePayload {
15
+ amount: number;
16
+ auto_transfer_rule_id: string;
17
+ create_time: string;
18
+ created_by_user_id: string;
19
+ currency_code: string;
20
+ currency_symbol: string;
21
+ destination_bank_account_id: string | null;
22
+ destination_bank_account_metadata: DestinationBankAccountMetadataPayload[] | null;
23
+ destination_bank_account_type: string;
24
+ frequency: AutoTransferRuleFrequency;
25
+ is_active: boolean;
26
+ is_deleted: boolean;
27
+ last_run_time: string | null;
28
+ last_run_transaction_metadata: unknown | null;
29
+ next_transfer_date: string;
30
+ rule_type: AutoTransferRuleType;
31
+ source_bank_account_id: string;
32
+ source_bank_account_type: string;
33
+ update_time: string;
34
+ }
35
+ interface AutoTransferRulesPayload {
36
+ auto_transfer_rules: AutoTransferRulePayload[];
37
+ }
38
+ export type FetchAutoTransferRulesResponse = ZeniAPIResponse<AutoTransferRulesPayload>;
39
+ export interface AutoTransferRuleRequestBody {
40
+ amount?: number;
41
+ currency_code?: string;
42
+ currency_symbol?: string;
43
+ destination_bank_account_id?: string;
44
+ destination_bank_account_metadata?: DestinationBankAccountMetadataPayload[];
45
+ destination_bank_account_type?: string;
46
+ first_transfer_date?: string;
47
+ frequency?: AutoTransferRuleFrequency;
48
+ is_active?: boolean;
49
+ next_transfer_date?: string;
50
+ rule_type?: AutoTransferRuleType;
51
+ source_bank_account_id?: string;
52
+ source_bank_account_type?: string;
53
+ }
54
+ export interface AutoTransferRuleLocalData {
55
+ amount?: Amount;
56
+ destinationAccount?: FundingAccount | TreasuryAccount;
57
+ destinationAccountWithPercentAllocation?: {
58
+ account: FundingAccount | TreasuryAccount;
59
+ percentage: number;
60
+ }[];
61
+ firstTransferDate?: ZeniDate;
62
+ frequency?: AutoTransferRuleFrequency;
63
+ ruleType?: AutoTransferRuleType;
64
+ sourceAccount?: FundingAccount | TreasuryAccount;
65
+ }
66
+ interface CreateAutoTransferRulesPayload {
67
+ auto_transfer_rule: AutoTransferRulePayload;
68
+ }
69
+ export type CreateAutoTransferRulesResponse = ZeniAPIResponse<CreateAutoTransferRulesPayload>;
70
+ interface DeleteAutoTransferRulePayload {
71
+ message: string;
72
+ }
73
+ export type DeleteAutoTransferRuleResponse = ZeniAPIResponse<DeleteAutoTransferRulePayload>;
74
+ export declare const mapPayloadToAutoTransferRule: (payload: AutoTransferRulePayload) => AutoTransferRule;
75
+ export {};
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.mapPayloadToAutoTransferRule = void 0;
4
+ const zeniDayJS_1 = require("../../../zeniDayJS");
5
+ const mapPayloadToAutoTransferRule = (payload) => ({
6
+ amount: payload.amount,
7
+ autoTransferRuleId: payload.auto_transfer_rule_id,
8
+ createTime: payload.create_time != null ? (0, zeniDayJS_1.date)(payload.create_time) : undefined,
9
+ currencyCode: payload.currency_code,
10
+ currencySymbol: payload.currency_symbol ?? '$',
11
+ destinationBankAccountId: payload.destination_bank_account_id,
12
+ destinationBankAccountMetadata: payload.destination_bank_account_metadata?.map((m) => ({
13
+ accountId: m.account_id,
14
+ accountType: m.account_type,
15
+ percentage: m.percentage,
16
+ })) ?? undefined,
17
+ destinationBankAccountType: payload.destination_bank_account_type ?? undefined,
18
+ frequency: payload.frequency,
19
+ isActive: payload.is_active,
20
+ isDeleted: payload.is_deleted,
21
+ lastRunTime: payload.last_run_time,
22
+ nextTransferDate: payload.next_transfer_date != null
23
+ ? (0, zeniDayJS_1.date)(payload.next_transfer_date)
24
+ : undefined,
25
+ ruleType: payload.rule_type,
26
+ sourceBankAccountId: payload.source_bank_account_id,
27
+ sourceBankAccountType: payload.source_bank_account_type,
28
+ updateTime: payload.update_time != null ? (0, zeniDayJS_1.date)(payload.update_time) : undefined,
29
+ });
30
+ exports.mapPayloadToAutoTransferRule = mapPayloadToAutoTransferRule;