@zeniai/client-epic-state 4.13.11 → 4.13.13

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 (318) hide show
  1. package/lib/commonPayloadTypes/commonPayload.d.ts +0 -7
  2. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.d.ts +0 -0
  3. package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.js +1 -0
  4. package/lib/commonStateTypes/common.d.ts +0 -2
  5. package/lib/commonStateTypes/common.js +1 -5
  6. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.d.ts +0 -1
  7. package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.js +1 -2
  8. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.d.ts +0 -0
  9. package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.js +1 -0
  10. package/lib/commonStateTypes/timePeriod.d.ts +0 -16
  11. package/lib/commonStateTypes/timePeriod.js +1 -31
  12. package/lib/commonStateTypes/viewAndReport/reportIDHelper.d.ts +0 -1
  13. package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +1 -3
  14. package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
  15. package/lib/commonStateTypes/viewAndReport/viewAndReport.js +0 -2
  16. package/lib/entity/account/accountState.d.ts +1 -1
  17. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  18. package/lib/entity/chargeCard/chargeCard.d.ts +2 -16
  19. package/lib/entity/chargeCard/chargeCard.js +1 -18
  20. package/lib/entity/chargeCard/chargeCardPayload.d.ts +5 -14
  21. package/lib/entity/chargeCard/chargeCardPayload.js +7 -24
  22. package/lib/entity/class/classReducer.d.ts +4 -4
  23. package/lib/entity/class/classState.d.ts +1 -1
  24. package/lib/entity/company/companyPayload.d.ts +0 -4
  25. package/lib/entity/company/companyPayload.js +3 -6
  26. package/lib/entity/company/companyReducer.d.ts +1 -4
  27. package/lib/entity/company/companyReducer.js +2 -6
  28. package/lib/entity/company/companyStateTypes.d.ts +1 -5
  29. package/lib/entity/file/fileState.d.ts +3 -3
  30. package/lib/entity/file/fileState.js +0 -2
  31. package/lib/entity/forecast/forecastState.d.ts +1 -1
  32. package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +0 -1
  33. package/lib/entity/jeSchedules/jeSchedulesPayload.js +1 -7
  34. package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +2 -2
  35. package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +1 -3
  36. package/lib/entity/jeSchedules/jeSchedulesSelector.js +1 -2
  37. package/lib/entity/jeSchedules/jeSchedulesState.d.ts +1 -3
  38. package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +0 -2
  39. package/lib/entity/jeSchedules/jeSchedulesTypes.js +1 -12
  40. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  41. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  42. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  43. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  44. package/lib/entity/snackbar/snackbarTypes.js +0 -3
  45. package/lib/entity/tenant/clearAllEpic.d.ts +2 -12
  46. package/lib/entity/tenant/clearAllEpic.js +0 -20
  47. package/lib/entity/tenant/epic/fetchActiveTenantEpic.d.ts +1 -2
  48. package/lib/entity/tenant/epic/fetchActiveTenantEpic.js +1 -9
  49. package/lib/entity/tenant/epic/fetchAllTenantsEpic.d.ts +1 -7
  50. package/lib/entity/tenant/epic/fetchAllTenantsEpic.js +2 -34
  51. package/lib/entity/tenant/tenantPayload.d.ts +0 -1
  52. package/lib/entity/tenant/tenantReducer.js +0 -3
  53. package/lib/entity/tenant/tenantState.d.ts +0 -1
  54. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
  55. package/lib/entity/transaction/payloadTypes/attachmentPayload.d.ts +1 -1
  56. package/lib/entity/transaction/payloadTypes/attachmentPayload.js +3 -3
  57. package/lib/entity/transaction/stateTypes/transactionType.d.ts +2 -2
  58. package/lib/entity/transaction/transactionSelector.d.ts +0 -1
  59. package/lib/entity/transaction/transactionSelector.js +1 -7
  60. package/lib/entity/user/userPayload.d.ts +0 -1
  61. package/lib/entity/user/userReducer.js +8 -9
  62. package/lib/entity/user/userState.d.ts +0 -1
  63. package/lib/entity/vendor/__mocks__/vendorStateMocks.d.ts +0 -1
  64. package/lib/entity/vendor/__mocks__/vendorStateMocks.js +1 -35
  65. package/lib/entity/vendor/vendorPayload.js +2 -3
  66. package/lib/entity/vendor/vendorState.d.ts +3 -3
  67. package/lib/entity/vendor/vendorType.d.ts +2 -0
  68. package/lib/entity/vendor/vendorType.js +4 -1
  69. package/lib/entity/vendorExpense/vendorExpenseSelector.d.ts +2 -2
  70. package/lib/entity/vendorExpense/vendorExpenseSelector.js +0 -1
  71. package/lib/epic.d.ts +2 -18
  72. package/lib/epic.js +2 -18
  73. package/lib/index.d.ts +21 -65
  74. package/lib/index.js +28 -102
  75. package/lib/reducer.d.ts +1 -31
  76. package/lib/reducer.js +1 -31
  77. package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +1 -7
  78. package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +1 -7
  79. package/lib/view/addressView/addressViewState.d.ts +1 -1
  80. package/lib/view/addressView/toAddressViewLocalData.d.ts +0 -2
  81. package/lib/view/addressView/toAddressViewLocalData.js +3 -9
  82. package/lib/view/auditReportView/auditReportViewState.d.ts +2 -2
  83. package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
  84. package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -1
  85. package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.d.ts +1 -1
  86. package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.d.ts +1 -1
  87. package/lib/view/cardPayment/epic/createCardSetupIntentEpic.d.ts +1 -1
  88. package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.d.ts +1 -1
  89. package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
  90. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
  91. package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
  92. package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +1 -1
  93. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.d.ts +2 -2
  94. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.d.ts +5 -10
  95. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +7 -10
  96. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportTemplatesEpic.js +4 -4
  97. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js +4 -4
  98. package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.js +3 -5
  99. package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +3 -3
  100. package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +3 -3
  101. package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +6 -1
  102. package/lib/view/companyView/selectorHelpers/getCompanyView.js +0 -4
  103. package/lib/view/companyView/types/cockpitTypes.d.ts +2 -2
  104. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.d.ts +0 -2
  105. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.js +1 -7
  106. package/lib/view/companyView/types/companyView.d.ts +0 -1
  107. package/lib/view/dashboard/dashboardEpic.d.ts +1 -2
  108. package/lib/view/dashboard/dashboardEpic.js +2 -22
  109. package/lib/view/dashboard/dashboardReducer.d.ts +2 -3
  110. package/lib/view/dashboard/dashboardReducer.js +1 -2
  111. package/lib/view/dashboard/dashboardSelector.d.ts +0 -2
  112. package/lib/view/dashboard/dashboardSelector.js +2 -10
  113. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  114. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
  115. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.d.ts +1 -8
  116. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +1 -3
  117. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +4 -5
  118. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +0 -2
  119. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +3 -6
  120. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
  121. package/lib/view/people/deletePersonEpic.d.ts +1 -1
  122. package/lib/view/people/invitePeopleEpic.d.ts +1 -1
  123. package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
  124. package/lib/view/people/resendInviteEpic.d.ts +1 -1
  125. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
  126. package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +1 -1
  127. package/lib/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.d.ts +1 -1
  128. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +2 -3
  129. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +1 -1
  130. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +2 -2
  131. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +5 -19
  132. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +3 -8
  133. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +57 -39
  134. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +8 -13
  135. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +12 -19
  136. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +0 -1
  137. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +3 -4
  138. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.d.ts +0 -2
  139. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
  140. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
  141. package/lib/view/settingsView/epic/updateMyProfileEpic.js +4 -6
  142. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +4 -1
  143. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +0 -2
  144. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +0 -3
  145. package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +2 -2
  146. package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.d.ts +1 -2
  147. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.d.ts +1 -3
  148. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +2 -6
  149. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.d.ts +3 -2
  150. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.js +3 -3
  151. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingState.d.ts +3 -1
  152. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.d.ts +2 -1
  153. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.js +21 -1
  154. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/saveCardOnboardingUserDetailsEpic.js +3 -1
  155. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +0 -1
  156. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js +0 -4
  157. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.d.ts +1 -8
  158. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +2 -25
  159. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.d.ts +0 -1
  160. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +4 -8
  161. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +1 -2
  162. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +14 -1
  163. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +13 -2
  164. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.d.ts +6 -3
  165. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +17 -2
  166. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.d.ts +2 -8
  167. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +15 -55
  168. package/lib/view/spendManagement/chargeCards/{issueChargeCard → chargeCardList}/issueChargeCardEpic.d.ts +2 -3
  169. package/lib/view/spendManagement/chargeCards/{issueChargeCard → chargeCardList}/issueChargeCardEpic.js +18 -35
  170. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +1 -1
  171. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +6 -31
  172. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.d.ts +2 -2
  173. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +2 -5
  174. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +1 -4
  175. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +2 -6
  176. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +0 -1
  177. package/lib/view/spendManagement/commonSetup/types/businessVerification.d.ts +0 -4
  178. package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.js +2 -2
  179. package/lib/view/subscriptionView/types/subscriptionTypes.d.ts +1 -1
  180. package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
  181. package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
  182. package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
  183. package/lib/view/topEx/topExSelector.d.ts +1 -1
  184. package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.js +2 -2
  185. package/lib/view/transactionDetail/transactionDetailState.d.ts +2 -2
  186. package/lib/view/userListView/fetchUserListByTypeEpic.js +1 -4
  187. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListMock.js +1 -1
  188. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListSelectorMock.js +1 -1
  189. package/lib/view/vendorReviewView/common/state/commonTypes.d.ts +1 -1
  190. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +3 -34
  191. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.d.ts +1 -1
  192. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +2 -2
  193. package/lib/view/zeniAccStatementList/zeniAccStatementList.d.ts +5 -2
  194. package/package.json +1 -1
  195. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.d.ts +0 -32
  196. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js +0 -60
  197. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.d.ts +0 -12
  198. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +0 -25
  199. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksSelector.d.ts +0 -7
  200. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksSelector.js +0 -36
  201. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.d.ts +0 -38
  202. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.js +0 -10
  203. package/lib/view/countryList/countryListReducer.d.ts +0 -17
  204. package/lib/view/countryList/countryListReducer.js +0 -58
  205. package/lib/view/countryList/countryListSelector.d.ts +0 -7
  206. package/lib/view/countryList/countryListSelector.js +0 -13
  207. package/lib/view/countryList/countryListState.d.ts +0 -12
  208. package/lib/view/countryList/countryListState.js +0 -2
  209. package/lib/view/countryList/epics/fetchCountryListEpic.d.ts +0 -6
  210. package/lib/view/countryList/epics/fetchCountryListEpic.js +0 -19
  211. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.d.ts +0 -7
  212. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.js +0 -38
  213. package/lib/view/countryList/payloads/countryListPayload.d.ts +0 -6
  214. package/lib/view/countryList/payloads/countryListPayload.js +0 -10
  215. package/lib/view/countryList/payloads/nationalityCountryListPayload.d.ts +0 -11
  216. package/lib/view/countryList/payloads/nationalityCountryListPayload.js +0 -2
  217. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.d.ts +0 -10
  218. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +0 -72
  219. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.d.ts +0 -11
  220. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +0 -53
  221. package/lib/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.d.ts +0 -11
  222. package/lib/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.js +0 -66
  223. package/lib/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.d.ts +0 -7
  224. package/lib/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.js +0 -39
  225. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.d.ts +0 -7
  226. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.js +0 -22
  227. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.d.ts +0 -8
  228. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +0 -59
  229. package/lib/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.d.ts +0 -8
  230. package/lib/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.js +0 -78
  231. package/lib/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.d.ts +0 -6
  232. package/lib/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.js +0 -28
  233. package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.d.ts +0 -9
  234. package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.js +0 -78
  235. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.d.ts +0 -8
  236. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.js +0 -58
  237. package/lib/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.d.ts +0 -10
  238. package/lib/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.js +0 -12
  239. package/lib/view/expenseAutomationView/expenseAutomationViewPayload.d.ts +0 -3
  240. package/lib/view/expenseAutomationView/expenseAutomationViewPayload.js +0 -2
  241. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.d.ts +0 -17
  242. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +0 -66
  243. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.d.ts +0 -3
  244. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +0 -97
  245. package/lib/view/expenseAutomationView/expenseAutomationViewState.d.ts +0 -11
  246. package/lib/view/expenseAutomationView/expenseAutomationViewState.js +0 -14
  247. package/lib/view/expenseAutomationView/helpers/helpers.d.ts +0 -7
  248. package/lib/view/expenseAutomationView/helpers/helpers.js +0 -67
  249. package/lib/view/expenseAutomationView/payload/fluxAnalysisPayload.d.ts +0 -76
  250. package/lib/view/expenseAutomationView/payload/fluxAnalysisPayload.js +0 -9
  251. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.d.ts +0 -36
  252. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.js +0 -58
  253. package/lib/view/expenseAutomationView/payload/missingReceiptsPayload.d.ts +0 -16
  254. package/lib/view/expenseAutomationView/payload/missingReceiptsPayload.js +0 -2
  255. package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.d.ts +0 -34
  256. package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +0 -205
  257. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +0 -53
  258. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +0 -245
  259. package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.d.ts +0 -31
  260. package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +0 -130
  261. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.d.ts +0 -5
  262. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +0 -45
  263. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.d.ts +0 -34
  264. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.js +0 -44
  265. package/lib/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.d.ts +0 -32
  266. package/lib/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.js +0 -2
  267. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.d.ts +0 -28
  268. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.js +0 -2
  269. package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.d.ts +0 -11
  270. package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.js +0 -2
  271. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.d.ts +0 -3
  272. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.js +0 -55
  273. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.d.ts +0 -7
  274. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +0 -95
  275. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.d.ts +0 -3
  276. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.js +0 -61
  277. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +0 -53
  278. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.js +0 -5
  279. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.d.ts +0 -31
  280. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.js +0 -2
  281. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.d.ts +0 -20
  282. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.js +0 -13
  283. package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +0 -28
  284. package/lib/view/expenseAutomationView/types/transactionsViewState.js +0 -15
  285. package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.d.ts +0 -8
  286. package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.js +0 -58
  287. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.d.ts +0 -3
  288. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.js +0 -2
  289. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.d.ts +0 -16
  290. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +0 -36
  291. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.d.ts +0 -10
  292. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.js +0 -27
  293. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.d.ts +0 -5
  294. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.js +0 -2
  295. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.d.ts +0 -7
  296. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.js +0 -36
  297. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.d.ts +0 -6
  298. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.js +0 -42
  299. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.d.ts +0 -9
  300. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.js +0 -67
  301. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.d.ts +0 -26
  302. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.js +0 -22
  303. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.d.ts +0 -22
  304. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +0 -89
  305. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.d.ts +0 -15
  306. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.js +0 -30
  307. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.d.ts +0 -20
  308. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.js +0 -2
  309. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.d.ts +0 -11
  310. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.js +0 -42
  311. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.d.ts +0 -9
  312. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.js +0 -44
  313. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.d.ts +0 -15
  314. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +0 -65
  315. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.d.ts +0 -22
  316. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +0 -76
  317. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.d.ts +0 -28
  318. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.js +0 -23
@@ -20,22 +20,12 @@ export interface ChargeCard {
20
20
  cardCreaterUserId: ID;
21
21
  status: CardStatus;
22
22
  billingAddressId: ID;
23
- cardActivationAttemptHistory: CardActivationAttemptHistory[];
24
23
  mailingAddressId?: ID;
25
24
  cardColorCode?: string;
26
25
  createTime?: ZeniDate;
27
26
  updateTime?: ZeniDate;
28
27
  inviteUpdateTime?: ZeniDate;
29
- shippingAddressId?: ID;
30
- shippingAddressType?: ShippingAddressType;
31
28
  }
32
- export interface CardActivationAttemptHistory {
33
- user_id: ID;
34
- timestamp: ZeniDate;
35
- status_code: CardActivationEventCodeType;
36
- }
37
- export declare const toCardActivationEventCodeType: (v: string) => "failed" | "success";
38
- export declare type CardActivationEventCodeType = ReturnType<typeof toCardActivationEventCodeType>;
39
29
  export interface ChargeCardState {
40
30
  chargeCardByID: Record<ID, ChargeCard>;
41
31
  }
@@ -50,20 +40,16 @@ interface CardStatus {
50
40
  name: string;
51
41
  }
52
42
  export declare const toCardStatusCodeType: (v: string) => "frozen" | "active" | "inactive" | "pending" | "stolen" | "lost" | "closed_by_customer" | "suspected_fraud" | "request_on_hold";
53
- export declare type CardStatusCodeType = ReturnType<typeof toCardStatusCodeType>;
43
+ declare type CardStatusCodeType = ReturnType<typeof toCardStatusCodeType>;
54
44
  export interface ValidThru {
55
45
  month: number;
56
46
  year: number;
57
47
  }
58
48
  declare const toCardCodeType: (v: string) => "business_physical_credit_card" | "business_virtual_credit_card";
59
- export declare type CardCodeType = ReturnType<typeof toCardCodeType>;
60
- export declare const toShippingAddressType: (v: string) => "company_address" | "card_holder_personal_address" | "custom_address";
61
- export declare type ShippingAddressType = ReturnType<typeof toShippingAddressType>;
49
+ declare type CardCodeType = ReturnType<typeof toCardCodeType>;
62
50
  interface CardType {
63
51
  code: CardCodeType;
64
52
  name: string;
65
53
  }
66
54
  export declare const toCardType: (payload: CardTypePayload) => CardType;
67
- export declare const toCardAddressType: (v: string) => "company_address" | "custom_address" | "personal_address";
68
- export declare type CardAddressType = ReturnType<typeof toCardAddressType>;
69
55
  export {};
@@ -1,10 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toCardAddressType = exports.toCardType = exports.toShippingAddressType = exports.toCardStatusCodeType = exports.toCreditLimitFrequencyCodeType = exports.toCardActivationEventCodeType = void 0;
3
+ exports.toCardType = exports.toCardStatusCodeType = exports.toCreditLimitFrequencyCodeType = void 0;
4
4
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
- const ALL_CARD_ACTIVATION_EVENT_CODE = ['failed', 'success'];
6
- const toCardActivationEventCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_CARD_ACTIVATION_EVENT_CODE);
7
- exports.toCardActivationEventCodeType = toCardActivationEventCodeType;
8
5
  const ALL_CREDIT_LIMIT_FREQUENCY_TYPE_CODE = [
9
6
  'monthly',
10
7
  'daily',
@@ -32,22 +29,8 @@ const CARD_TYPE_CODE = [
32
29
  'business_virtual_credit_card',
33
30
  ];
34
31
  const toCardCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, CARD_TYPE_CODE);
35
- const SHIPPING_ADDRESS_TYPE = [
36
- 'card_holder_personal_address',
37
- 'company_address',
38
- 'custom_address',
39
- ];
40
- const toShippingAddressType = (v) => (0, stringToUnion_1.stringToUnion)(v, SHIPPING_ADDRESS_TYPE);
41
- exports.toShippingAddressType = toShippingAddressType;
42
32
  const toCardType = (payload) => ({
43
33
  code: toCardCodeType(payload.code),
44
34
  name: payload.name,
45
35
  });
46
36
  exports.toCardType = toCardType;
47
- const ADDRESS_TYPE = [
48
- 'personal_address',
49
- 'company_address',
50
- 'custom_address',
51
- ];
52
- const toCardAddressType = (v) => (0, stringToUnion_1.stringToUnion)(v, ADDRESS_TYPE);
53
- exports.toCardAddressType = toCardAddressType;
@@ -16,27 +16,18 @@ export interface ChargeCardPayload {
16
16
  currency_code: string;
17
17
  currency_symbol: string;
18
18
  credit_limit_frequency: AllowedValueWithCode;
19
+ card_provider: string;
20
+ provider_card_id: string;
21
+ provider_card_type: string;
22
+ last_4_digits: string;
23
+ expiration_date: string;
19
24
  holder_user_id: string;
20
25
  status: AllowedValueWithCode;
21
26
  created_by_user_id: string;
22
- card_provider: string | null;
23
- provider_card_id: string | null;
24
- provider_card_type: string | null;
25
- last_4_digits: string | null;
26
- expiration_date: string | null;
27
27
  mailing_address_id: string | null;
28
- shipping_address_id?: string | null;
29
- shipping_address_type?: string | null;
30
28
  card_color_code?: string | null;
31
29
  create_time: string | null;
32
30
  update_time: string | null;
33
31
  invite_update_time?: string | null;
34
- card_activation_attempt_history?: CardActivationAttemptHistoryPayload[];
35
- }
36
- interface CardActivationAttemptHistoryPayload {
37
- user_id: string;
38
- timestamp: string;
39
- status_code: string;
40
32
  }
41
33
  export declare const mapChargeCardPayloadToChargeCard: (payload: ChargeCardPayload) => ChargeCard;
42
- export {};
@@ -6,7 +6,7 @@ const timePeriod_1 = require("../../commonStateTypes/timePeriod");
6
6
  const zeniDayJS_1 = require("../../zeniDayJS");
7
7
  const chargeCard_1 = require("./chargeCard");
8
8
  const mapChargeCardPayloadToChargeCard = (payload) => {
9
- var _a, _b, _c, _d, _e, _f, _g;
9
+ var _a, _b;
10
10
  return ({
11
11
  id: payload.card_id,
12
12
  type: (0, chargeCard_1.toCardType)(payload.card_type),
@@ -19,24 +19,20 @@ const mapChargeCardPayloadToChargeCard = (payload) => {
19
19
  code: (0, chargeCard_1.toCreditLimitFrequencyCodeType)(payload.credit_limit_frequency.code),
20
20
  name: payload.credit_limit_frequency.name,
21
21
  },
22
- cardProvider: (_a = payload.card_provider) !== null && _a !== void 0 ? _a : '',
23
- cardProviderID: (_b = payload.provider_card_id) !== null && _b !== void 0 ? _b : '',
24
- accountLast4: (_c = payload.last_4_digits) !== null && _c !== void 0 ? _c : '',
22
+ cardProvider: payload.card_provider,
23
+ cardProviderID: payload.provider_card_id,
24
+ accountLast4: payload.last_4_digits,
25
25
  validThru: toValidThru(payload.expiration_date),
26
26
  cardHolderUserId: payload.holder_user_id,
27
27
  cardCreaterUserId: payload.created_by_user_id,
28
- cardProviderType: (_d = payload.provider_card_type) !== null && _d !== void 0 ? _d : '',
28
+ cardProviderType: payload.provider_card_type,
29
29
  status: {
30
30
  code: (0, chargeCard_1.toCardStatusCodeType)(payload.status.code),
31
31
  name: payload.status.name,
32
32
  },
33
33
  billingAddressId: payload.billing_address_id,
34
- mailingAddressId: (_e = payload.mailing_address_id) !== null && _e !== void 0 ? _e : undefined,
35
- shippingAddressId: (_f = payload.shipping_address_id) !== null && _f !== void 0 ? _f : undefined,
36
- shippingAddressType: payload.shipping_address_id != null
37
- ? (0, chargeCard_1.toShippingAddressType)(payload.shipping_address_id)
38
- : undefined,
39
- cardColorCode: (_g = payload.card_color_code) !== null && _g !== void 0 ? _g : undefined,
34
+ mailingAddressId: (_a = payload.mailing_address_id) !== null && _a !== void 0 ? _a : undefined,
35
+ cardColorCode: (_b = payload.card_color_code) !== null && _b !== void 0 ? _b : undefined,
40
36
  createTime: payload.create_time != null ? (0, zeniDayJS_1.date)(payload.create_time) : undefined,
41
37
  updateTime: payload.update_time != null ? (0, zeniDayJS_1.date)(payload.update_time) : undefined,
42
38
  inviteUpdateTime: payload.invite_update_time != null
@@ -44,22 +40,9 @@ const mapChargeCardPayloadToChargeCard = (payload) => {
44
40
  : payload.create_time != null
45
41
  ? (0, zeniDayJS_1.date)(payload.create_time)
46
42
  : undefined,
47
- cardActivationAttemptHistory: toCardActivationAttemptHistory(payload.card_activation_attempt_history),
48
43
  });
49
44
  };
50
45
  exports.mapChargeCardPayloadToChargeCard = mapChargeCardPayloadToChargeCard;
51
- const toCardActivationAttemptHistory = (cardActivationAttemptHistoryPayload) => {
52
- if (cardActivationAttemptHistoryPayload != null) {
53
- return cardActivationAttemptHistoryPayload.map((cardActivationAttemptPayload) => ({
54
- user_id: cardActivationAttemptPayload.user_id,
55
- timestamp: (0, zeniDayJS_1.date)(cardActivationAttemptPayload.timestamp),
56
- status_code: (0, chargeCard_1.toCardActivationEventCodeType)(cardActivationAttemptPayload.status_code),
57
- }));
58
- }
59
- else {
60
- return [];
61
- }
62
- };
63
46
  const toValidThru = (expirationDate) => {
64
47
  if (expirationDate == null) {
65
48
  // Handle the case where expirationDate is null or undefined
@@ -5,15 +5,15 @@ import { UpdateType } from '../../commonStateTypes/common';
5
5
  import { ClassMetadataWithBalancesPayloadV2 } from '../../commonPayloadTypes/classesView/reportByClassPayloadV2';
6
6
  import { CurrencyPayload } from '../../commonPayloadTypes/v2/viewAndReportPayloadv2';
7
7
  export declare const initialState: ClassState;
8
- export declare const updateClasses: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[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" | "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" | "flux_analysis_operating_expense", payload: ClassBasePayload[], classesViewParentId?: ClassesViewParentID | undefined, updateType?: UpdateType | undefined], ClassBasePayload[], string, never, {
9
- 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" | "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" | "flux_analysis_operating_expense";
8
+ export declare const updateClasses: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[reportId: "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", payload: ClassBasePayload[], classesViewParentId?: ClassesViewParentID | undefined, updateType?: UpdateType | undefined], ClassBasePayload[], string, never, {
9
+ reportId: "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
10
  classesViewParentId: ClassesViewParentID | undefined;
11
11
  updateType: UpdateType;
12
- }>, updateClassesWithBalancesV2: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[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" | "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" | "flux_analysis_operating_expense", timeframe: "month" | "year" | "quarter", sectionId: string, classMetadataWithBalancesPayloads: ClassMetadataWithBalancesPayloadV2[], currencyPayload: CurrencyPayload], {
12
+ }>, updateClassesWithBalancesV2: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[reportId: "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", timeframe: "month" | "year" | "quarter", sectionId: string, classMetadataWithBalancesPayloads: ClassMetadataWithBalancesPayloadV2[], currencyPayload: CurrencyPayload], {
13
13
  classMetadataWithBalancesPayloads: ClassMetadataWithBalancesPayloadV2[];
14
14
  currencyPayload: CurrencyPayload;
15
15
  }, string, never, {
16
- 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" | "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" | "flux_analysis_operating_expense";
16
+ reportId: "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";
17
17
  sectionId: string;
18
18
  timeframe: "month" | "year" | "quarter";
19
19
  }>, clearAllClasses: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
@@ -25,7 +25,7 @@ export interface Class extends ClassBase {
25
25
  balancesByPeriod?: COABalanceGroupedByPeriod;
26
26
  nestedAccountIds?: NestedAccountIDHierarchy[];
27
27
  }
28
- export declare function getClassKey(reportId: ReportID, classId: ID, parentId?: ClassesViewParentID): `${string}-cash_balance` | `${string}-card_balance` | `${string}-expense_automation_card` | `${string}-operating_expenses` | `${string}-operating_expenses_by_classes` | `${string}-revenue` | `${string}-revenue_by_classes` | `${string}-net_burn_or_income` | `${string}-net_burn_or_income_story_card` | `${string}-net_burn_or_income_by_classes` | `${string}-cash_position` | `${string}-top_expenses` | `${string}-profit_and_loss` | `${string}-profit_and_loss_by_classes` | `${string}-balance_sheet` | `${string}-cash_flow` | `${string}-dashboard` | `${string}-finance_statement` | `${string}-transaction_list_of_account` | `${string}-transaction_list_missing_receipt` | `${string}-transaction_list_of_account_by_class` | `${string}-transaction_detail` | `${string}-cash_in_cash_out` | `${string}-insights_dashboard` | `${string}-company_details` | `${string}-class_list` | `${string}-account_list` | `${string}-account_list_by_type` | `${string}-vendor` | `${string}-task_card` | `${string}-bill_pay` | `${string}-reimbursement` | `${string}-bill_pay_card` | `${string}-reimbursement_card` | `${string}-bill_pay_promo_card` | `${string}-zeni_accounts` | `${string}-zeni_accounts_promo_card` | `${string}-charge_cards` | `${string}-reimbursement_promo_card` | `${string}-onboarding` | `${string}-operating_expenses_by_vendor` | `${string}-operating_expenses_by_vendor_summary` | `${string}-vendors_tab` | `${string}-accounts_payable_aging` | `${string}-accounts_receivable_aging` | `${string}-vendor_global_review` | `${string}-prepaid_expenses` | `${string}-fixed_assets` | `${string}-notification` | `${string}-rewards_card` | `${string}-billing` | `${string}-flux_analysis_operating_expense`;
28
+ export declare function getClassKey(reportId: ReportID, classId: ID, parentId?: ClassesViewParentID): `${string}-cash_balance` | `${string}-card_balance` | `${string}-operating_expenses` | `${string}-operating_expenses_by_classes` | `${string}-revenue` | `${string}-revenue_by_classes` | `${string}-net_burn_or_income` | `${string}-net_burn_or_income_story_card` | `${string}-net_burn_or_income_by_classes` | `${string}-cash_position` | `${string}-top_expenses` | `${string}-profit_and_loss` | `${string}-profit_and_loss_by_classes` | `${string}-balance_sheet` | `${string}-cash_flow` | `${string}-dashboard` | `${string}-finance_statement` | `${string}-transaction_list_of_account` | `${string}-transaction_list_missing_receipt` | `${string}-transaction_list_of_account_by_class` | `${string}-transaction_detail` | `${string}-cash_in_cash_out` | `${string}-insights_dashboard` | `${string}-company_details` | `${string}-class_list` | `${string}-account_list` | `${string}-account_list_by_type` | `${string}-vendor` | `${string}-task_card` | `${string}-bill_pay` | `${string}-reimbursement` | `${string}-bill_pay_card` | `${string}-reimbursement_card` | `${string}-bill_pay_promo_card` | `${string}-zeni_accounts` | `${string}-zeni_accounts_promo_card` | `${string}-charge_cards` | `${string}-reimbursement_promo_card` | `${string}-onboarding` | `${string}-operating_expenses_by_vendor` | `${string}-operating_expenses_by_vendor_summary` | `${string}-vendors_tab` | `${string}-accounts_payable_aging` | `${string}-accounts_receivable_aging` | `${string}-vendor_global_review` | `${string}-prepaid_expenses` | `${string}-fixed_assets` | `${string}-notification` | `${string}-rewards_card` | `${string}-billing`;
29
29
  export declare type ClassKey = ReturnType<typeof getClassKey>;
30
30
  export interface ClassState {
31
31
  classesByKey: Record<ClassKey, Class>;
@@ -2,7 +2,6 @@ import { AllowedValueWithCode, AllowedValueWithID } from '../../commonStateTypes
2
2
  import { ID } from '../../commonStateTypes/common';
3
3
  import { Company, ParentSubsidiaryInfo, OnboardingInfo } from './companyStateTypes';
4
4
  import { CustomerRatingCodeType, TeamRatingCodeType } from '../customerSatisfaction/customerSatisfactionState';
5
- import { LabelValueCodesPayload } from '../../commonPayloadTypes/commonPayload';
6
5
  export declare const defaultParentSubsidiaryObject: ParentSubsidiaryInfo;
7
6
  export interface CompanyInfoPayload {
8
7
  book_close_date: string | null;
@@ -95,8 +94,6 @@ interface CompanyBillPayInfoDataPayload {
95
94
  account_id: string | null;
96
95
  account_type: string | null;
97
96
  };
98
- international_wire_onboarding_status: AllowedValueWithCode;
99
- international_wire_onboarding_details: Record<string, LabelValueCodesPayload>;
100
97
  }
101
98
  export interface UserReimbursementInfoDataPayload {
102
99
  reimbursement_tos_acceptance_user_agent: string | null;
@@ -216,7 +213,6 @@ export interface CompanyManagementInfoPayload {
216
213
  note_last_update_time: string | null;
217
214
  note: string | null;
218
215
  company_address_id: string | null;
219
- registered_address_id: string | null;
220
216
  primary_contact_user_id: string | null;
221
217
  company_officer_user_ids: string[];
222
218
  company_contact_user_id?: string | null;
@@ -150,8 +150,6 @@ const toCompanyBillPayInfo = (payload) => {
150
150
  accountType: (0, billPayConfigPayload_1.getAccountTypeSubConfigCodeKey)((0, billPayConfigState_1.toAccType)(payload.primary_funding_account.account_type)),
151
151
  }
152
152
  : undefined,
153
- internationalWireOnboardingStatus: (0, exports.toAllowedValueWithCode)(payload.international_wire_onboarding_status),
154
- internationalWireOnboardingDetails: payload.international_wire_onboarding_details,
155
153
  });
156
154
  };
157
155
  const toCompanyReimbursementInfo = (payload) => {
@@ -294,7 +292,7 @@ const toCompanyOnboardingInfo = (payload) => ({
294
292
  isOnboardingCompleted: payload.is_onboarding_completed,
295
293
  });
296
294
  const toCompanyManagementInfo = (payload) => {
297
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
295
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
298
296
  return ({
299
297
  statusCode: (_b = (_a = payload.status) === null || _a === void 0 ? void 0 : _a.code) !== null && _b !== void 0 ? _b : undefined,
300
298
  companyGroupId: (_d = (_c = payload.company_group) === null || _c === void 0 ? void 0 : _c.id) !== null && _d !== void 0 ? _d : undefined,
@@ -311,10 +309,9 @@ const toCompanyManagementInfo = (payload) => {
311
309
  : undefined,
312
310
  note: (_h = payload.note) !== null && _h !== void 0 ? _h : undefined,
313
311
  companyAddressId: (_j = payload.company_address_id) !== null && _j !== void 0 ? _j : undefined,
314
- registeredAddressId: (_k = payload.registered_address_id) !== null && _k !== void 0 ? _k : undefined,
315
- primaryContactUserId: (_l = payload.primary_contact_user_id) !== null && _l !== void 0 ? _l : undefined,
312
+ primaryContactUserId: (_k = payload.primary_contact_user_id) !== null && _k !== void 0 ? _k : undefined,
316
313
  companyOfficerUserIds: payload.company_officer_user_ids,
317
- companyContactUserId: (_m = payload.company_contact_user_id) !== null && _m !== void 0 ? _m : undefined,
314
+ companyContactUserId: (_l = payload.company_contact_user_id) !== null && _l !== void 0 ? _l : undefined,
318
315
  controllerUserIds: payload.controller_user_ids,
319
316
  taxLeadUserIds: payload.tax_lead_user_ids,
320
317
  reviewerUserIds: payload.reviewer_user_ids,
@@ -2,7 +2,7 @@ import { ID } from '../../commonStateTypes/common';
2
2
  import { CompanyPayload, CompanySchemaPayload, OnboardingInfoPayload } from './companyPayload';
3
3
  import { CompanyState } from './companyState';
4
4
  import { OnboardingInviteStatusPayload } from '../../view/onboardingView/cockpitView/onboardingCockpitViewPayload';
5
- import { AllowedValueWithCode, SpendManagementEntityType } from '../..';
5
+ import { SpendManagementEntityType } from '../..';
6
6
  import { AccountTypeSubConfigCodeKeyType } from '../../view/spendManagement/billPay/billPayConfig/billPayConfigState';
7
7
  export declare const initialState: CompanyState;
8
8
  export declare const updateCompanies: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
@@ -39,9 +39,6 @@ export declare const updateCompanies: import("@reduxjs/toolkit").ActionCreatorWi
39
39
  primaryFundingAccountId: ID;
40
40
  accountType: AccountTypeSubConfigCodeKeyType;
41
41
  productType: SpendManagementEntityType;
42
- }, string>, updateInternationalWireOnboardingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
43
- companyId: ID;
44
- status: AllowedValueWithCode;
45
42
  }, string>;
46
43
  declare const _default: import("@reduxjs/toolkit").Reducer<CompanyState, import("@reduxjs/toolkit").AnyAction>;
47
44
  export default _default;
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  var _a;
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.updateInternationalWireOnboardingStatus = exports.updateCompanyPrimaryAccount = exports.updateOnboardingInfoOnRetryBankAccountConnectionSuccess = exports.updateQBOConnectionStatusForCompany = exports.toggleCompanyMonthEndReportDraftFlag = exports.removeOnboardingCompletedCompany = exports.removeOnboardingCompany = exports.updateOnboardingCompletedCompanies = exports.updateOnboardingCompanies = exports.clearAllCompanies = exports.removeCompany = exports.updateCompanyMonthEndReportSentDate = exports.updateCompanies = exports.initialState = void 0;
7
+ exports.updateCompanyPrimaryAccount = exports.updateOnboardingInfoOnRetryBankAccountConnectionSuccess = exports.updateQBOConnectionStatusForCompany = exports.toggleCompanyMonthEndReportDraftFlag = exports.removeOnboardingCompletedCompany = exports.removeOnboardingCompany = exports.updateOnboardingCompletedCompanies = exports.updateOnboardingCompanies = exports.clearAllCompanies = exports.removeCompany = exports.updateCompanyMonthEndReportSentDate = exports.updateCompanies = exports.initialState = void 0;
8
8
  const toolkit_1 = require("@reduxjs/toolkit");
9
9
  const isEqual_1 = __importDefault(require("lodash/isEqual"));
10
10
  const isEmpty_1 = __importDefault(require("lodash/isEmpty"));
@@ -180,10 +180,6 @@ const company = (0, toolkit_1.createSlice)({
180
180
  accountType: accountType,
181
181
  };
182
182
  },
183
- updateInternationalWireOnboardingStatus(draft, action) {
184
- const { companyId, status } = action.payload;
185
- draft.companiesById[companyId].companyBillPayInfo.internationalWireOnboardingStatus = status;
186
- },
187
183
  clearAllCompanies: {
188
184
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
189
185
  prepare(keepCompanyState) {
@@ -197,5 +193,5 @@ const company = (0, toolkit_1.createSlice)({
197
193
  },
198
194
  },
199
195
  });
200
- _a = company.actions, exports.updateCompanies = _a.updateCompanies, exports.updateCompanyMonthEndReportSentDate = _a.updateCompanyMonthEndReportSentDate, exports.removeCompany = _a.removeCompany, exports.clearAllCompanies = _a.clearAllCompanies, exports.updateOnboardingCompanies = _a.updateOnboardingCompanies, exports.updateOnboardingCompletedCompanies = _a.updateOnboardingCompletedCompanies, exports.removeOnboardingCompany = _a.removeOnboardingCompany, exports.removeOnboardingCompletedCompany = _a.removeOnboardingCompletedCompany, exports.toggleCompanyMonthEndReportDraftFlag = _a.toggleCompanyMonthEndReportDraftFlag, exports.updateQBOConnectionStatusForCompany = _a.updateQBOConnectionStatusForCompany, exports.updateOnboardingInfoOnRetryBankAccountConnectionSuccess = _a.updateOnboardingInfoOnRetryBankAccountConnectionSuccess, exports.updateCompanyPrimaryAccount = _a.updateCompanyPrimaryAccount, exports.updateInternationalWireOnboardingStatus = _a.updateInternationalWireOnboardingStatus;
196
+ _a = company.actions, exports.updateCompanies = _a.updateCompanies, exports.updateCompanyMonthEndReportSentDate = _a.updateCompanyMonthEndReportSentDate, exports.removeCompany = _a.removeCompany, exports.clearAllCompanies = _a.clearAllCompanies, exports.updateOnboardingCompanies = _a.updateOnboardingCompanies, exports.updateOnboardingCompletedCompanies = _a.updateOnboardingCompletedCompanies, exports.removeOnboardingCompany = _a.removeOnboardingCompany, exports.removeOnboardingCompletedCompany = _a.removeOnboardingCompletedCompany, exports.toggleCompanyMonthEndReportDraftFlag = _a.toggleCompanyMonthEndReportDraftFlag, exports.updateQBOConnectionStatusForCompany = _a.updateQBOConnectionStatusForCompany, exports.updateOnboardingInfoOnRetryBankAccountConnectionSuccess = _a.updateOnboardingInfoOnRetryBankAccountConnectionSuccess, exports.updateCompanyPrimaryAccount = _a.updateCompanyPrimaryAccount;
201
197
  exports.default = company.reducer;
@@ -9,8 +9,7 @@ import { CustomerSatisfactionInfo } from '../customerSatisfaction/customerSatisf
9
9
  import { MileageDenomination } from '../../view/spendManagement/reimbursement/remiSetupView/remiSetupViewState';
10
10
  import { OnboardingStepErrorDetails } from './companyPayload';
11
11
  import { AccountTypeSubConfigCodeKeyType } from '../../view/spendManagement/billPay/billPayConfig/billPayConfigState';
12
- import { LabelValueCodesPayload } from '../../commonPayloadTypes/commonPayload';
13
- export declare const toOnboardingIdentityVerificationStatus: (v: string) => "Error" | "Pending Review" | "Not Initiated" | "Complete" | "Incomplete";
12
+ export declare const toOnboardingIdentityVerificationStatus: (v: string) => "Error" | "Not Initiated" | "Complete" | "Incomplete" | "Pending Review";
14
13
  export declare type OnboardingIdentityVerficationStatus = NonNullable<ReturnType<typeof toOnboardingIdentityVerificationStatus>>;
15
14
  export declare const ALL_ACCOUNTING_CONNECTION_CREATION_MODES: readonly ["zeni_user", "customer"];
16
15
  declare const toAccountingConnectionCreationMode: (v: string) => "customer" | "zeni_user";
@@ -96,7 +95,6 @@ export interface CompanyManagementInfo {
96
95
  note?: string;
97
96
  receiverEmails: string[];
98
97
  companyAddressId?: ID;
99
- registeredAddressId?: ID;
100
98
  primaryContactUserId?: ID;
101
99
  companyOfficerUserIds: ID[];
102
100
  companyContactUserId?: ID;
@@ -169,8 +167,6 @@ export interface CompanyBillPayInfo {
169
167
  accountId: ID;
170
168
  accountType: AccountTypeSubConfigCodeKeyType;
171
169
  };
172
- internationalWireOnboardingStatus?: AllowedValueWithCode;
173
- internationalWireOnboardingDetails: Record<string, LabelValueCodesPayload>;
174
170
  }
175
171
  export interface UserReimbursementInfo {
176
172
  isReimbursementTOSAccepted: boolean;
@@ -53,10 +53,10 @@ export declare const toSupportedAttachmentFileType: (v: string) => "application/
53
53
  export declare type SupportedAttachmentFileType = ReturnType<typeof toSupportedAttachmentFileType>;
54
54
  export declare const toSupportedAttachmentFileFormatType: (v: string) => ".pdf" | ".jpeg" | ".jpg" | ".png" | ".txt" | ".xls" | ".xlsx";
55
55
  declare type SupportedAttachmentFileFormatType = ReturnType<typeof toSupportedAttachmentFileFormatType>;
56
- export declare const toAllowedDocumentType: (v: string) => "bill_pay" | "check" | "others" | "1099_C" | "address_verification" | "certificate_of_incorporation" | "contract" | "driving_license" | "employer_identification_number_confirmation" | "id_document" | "passport" | "purchase_order" | "social_security_card" | "tax_ein" | "w4" | "w9" | "certificate_of_good_standing";
57
- export declare const toAllowedDocumentTypeStrict: (v: string) => "bill_pay" | "check" | "others" | "1099_C" | "address_verification" | "certificate_of_incorporation" | "contract" | "driving_license" | "employer_identification_number_confirmation" | "id_document" | "passport" | "purchase_order" | "social_security_card" | "tax_ein" | "w4" | "w9" | "certificate_of_good_standing" | undefined;
56
+ export declare const toAllowedDocumentType: (v: string) => "bill_pay" | "check" | "others" | "1099_C" | "address_verification" | "certificate_of_incorporation" | "contract" | "driving_license" | "employer_identification_number_confirmation" | "id_document" | "passport" | "purchase_order" | "social_security_card" | "tax_ein" | "w4" | "w9";
57
+ export declare const toAllowedDocumentTypeStrict: (v: string) => "bill_pay" | "check" | "others" | "1099_C" | "address_verification" | "certificate_of_incorporation" | "contract" | "driving_license" | "employer_identification_number_confirmation" | "id_document" | "passport" | "purchase_order" | "social_security_card" | "tax_ein" | "w4" | "w9" | undefined;
58
58
  export declare type AllowedDocumentType = ReturnType<typeof toAllowedDocumentType>;
59
- declare const toAllowedPurposeIdType: (v: string) => "bill_pay" | "personal_identity" | "business_verification" | "personal_identity_others" | "business_verification_others" | "international_wire_business_verification" | "others";
59
+ declare const toAllowedPurposeIdType: (v: string) => "bill_pay" | "personal_identity" | "business_verification" | "personal_identity_others" | "business_verification_others" | "others";
60
60
  export declare type AllowedPurposeIdType = ReturnType<typeof toAllowedPurposeIdType>;
61
61
  declare const toAllowedDocumentSideType: (v: string) => "front" | "back";
62
62
  export declare type AllowedDocumentSideType = ReturnType<typeof toAllowedDocumentSideType>;
@@ -66,7 +66,6 @@ const ALLOWED_DOCUMENT_TYPES = [
66
66
  'tax_ein',
67
67
  'w4',
68
68
  'w9',
69
- 'certificate_of_good_standing',
70
69
  ];
71
70
  const toAllowedDocumentType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALLOWED_DOCUMENT_TYPES);
72
71
  exports.toAllowedDocumentType = toAllowedDocumentType;
@@ -78,7 +77,6 @@ const ALLOWED_PURPOSE_IDS = [
78
77
  'personal_identity_others',
79
78
  'business_verification_others',
80
79
  'bill_pay',
81
- 'international_wire_business_verification',
82
80
  'others',
83
81
  ];
84
82
  const toAllowedPurposeIdType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALLOWED_PURPOSE_IDS);
@@ -3,7 +3,7 @@ import { TimeframeTick } from '../../commonStateTypes/timeframeTick';
3
3
  import { ReportID } from '../../commonStateTypes/viewAndReport/viewAndReport';
4
4
  import { ZeniDate } from '../../zeniDayJS';
5
5
  export declare type ForecastType = ReportID;
6
- export declare const toForecastType: (v: string) => "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" | "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" | "flux_analysis_operating_expense";
6
+ export declare const toForecastType: (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";
7
7
  export interface Forecast {
8
8
  id: ID;
9
9
  type: ForecastType;
@@ -63,7 +63,6 @@ export interface ScheduledJournalEntryPayload {
63
63
  amount?: number | null;
64
64
  balance?: number | null;
65
65
  is_platform_generated?: boolean | null;
66
- errors?: string[] | null;
67
66
  update_time: string | null;
68
67
  create_time: string | null;
69
68
  }
@@ -40,9 +40,7 @@ function toScheduledJournalEntryState(payload, currency_code, currency_symbol) {
40
40
  ? (0, amount_1.toAmount)(payload.amount, currency_code, currency_symbol)
41
41
  : (0, amount_1.toAmount)(0, currency_code, currency_symbol), runningBalance: payload.balance != null
42
42
  ? (0, amount_1.toAmount)(payload.balance, currency_code, currency_symbol)
43
- : (0, amount_1.toAmount)(0, currency_code, currency_symbol), scheduledJournalEntryID: (_d = payload.scheduled_journal_entry_id) !== null && _d !== void 0 ? _d : '', jeScheduleId: (_e = payload.je_schedule_id) !== null && _e !== void 0 ? _e : '', isPlatformGenerated: (_f = payload.is_platform_generated) !== null && _f !== void 0 ? _f : undefined, createTime: payload.create_time != null ? (0, zeniDayJS_1.date)(payload.create_time) : undefined, updateTime: payload.update_time != null ? (0, zeniDayJS_1.date)(payload.update_time) : undefined, syncToken: payload.update_time != null ? payload.update_time : undefined, currencyCode: currency_code, currencySymbol: currency_symbol, error: payload.errors != null && payload.errors.length > 0
44
- ? payload.errors.map((error) => (0, jeSchedulesTypes_1.toJournalEntryErrorCodeType)(error))
45
- : [] });
43
+ : (0, amount_1.toAmount)(0, currency_code, currency_symbol), scheduledJournalEntryID: (_d = payload.scheduled_journal_entry_id) !== null && _d !== void 0 ? _d : '', jeScheduleId: (_e = payload.je_schedule_id) !== null && _e !== void 0 ? _e : '', isPlatformGenerated: (_f = payload.is_platform_generated) !== null && _f !== void 0 ? _f : undefined, createTime: payload.create_time != null ? (0, zeniDayJS_1.date)(payload.create_time) : undefined, updateTime: payload.update_time != null ? (0, zeniDayJS_1.date)(payload.update_time) : undefined, syncToken: payload.update_time != null ? payload.update_time : undefined, currencyCode: currency_code, currencySymbol: currency_symbol });
46
44
  }
47
45
  exports.toScheduledJournalEntryState = toScheduledJournalEntryState;
48
46
  function toJEAccountPayload(payload, type) {
@@ -128,9 +126,6 @@ function toJEScheduledTransaction(payload) {
128
126
  var _a, _b, _c, _d, _e, _f;
129
127
  return {
130
128
  jeScheduleId: (_a = payload.je_schedule_id) !== null && _a !== void 0 ? _a : undefined,
131
- jeScheduleType: payload.je_schedule_type != null
132
- ? (0, jeSchedulesTypes_1.toScheduleTypesTypeStrict)(payload.je_schedule_type)
133
- : undefined,
134
129
  status: {
135
130
  code: (0, jeSchedulesTypes_1.toScheduleStatusCodeType)(payload.status.code),
136
131
  label: payload.status.label,
@@ -220,7 +215,6 @@ function toJEAccruedScheduledTransaction(payload) {
220
215
  : undefined,
221
216
  scheduledJournalEntry: [],
222
217
  createTime: (0, zeniDayJS_1.date)(payload.create_time),
223
- jeScheduleType: (0, jeSchedulesTypes_1.toScheduleTypesTypeStrict)(payload.je_schedule_type),
224
218
  };
225
219
  }
226
220
  exports.toJEAccruedScheduledTransaction = toJEAccruedScheduledTransaction;
@@ -18,8 +18,8 @@ export declare const updateJESchedules: import("@reduxjs/toolkit").ActionCreator
18
18
  jeSchedulesPayload: JEAccruedScheduledTransactionPayload[];
19
19
  scheduledJEntriesPayload: ScheduledJournalEntryPayload[] | undefined;
20
20
  updateType: UpdateType;
21
- }, string, never, never>, deleteJESchedulesDetails: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[jeScheduleTransactionKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`], {
22
- jeScheduleTransactionKey: `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_refund` | `${string}_expense` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
21
+ }, string, never, never>, deleteJESchedulesDetails: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[jeScheduleTransactionKey: `${string}_expense` | `${string}_refund` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`], {
22
+ jeScheduleTransactionKey: `${string}_expense` | `${string}_refund` | `${string}_invoice` | `${string}_payment` | `${string}_credit_memo` | `${string}_sales_receipt` | `${string}_delayed_credit` | `${string}_delayed_charge` | `${string}_check` | `${string}_bill` | `${string}_bill_payment` | `${string}_bill_payment_check` | `${string}_bill_payment_credit_card` | `${string}_vendor_credit` | `${string}_credit_card_credit` | `${string}_transfer` | `${string}_credit_card_payment` | `${string}_deposit` | `${string}_journal_entry`;
23
23
  }, string, never, never>, deleteAccruedJESchedulesDetails: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[JEScheduleKey: `${string}_${string}`], {
24
24
  JEScheduleKey: `${string}_${string}`;
25
25
  }, string, never, never>, clearAllAccruedJESchedules: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, clearAllJEScheduleTransactions: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
@@ -8,7 +8,7 @@ import { JEScheduleOtherAttributes, ScheduleJournalStatusCode, ScheduleStatus }
8
8
  import { ScheduleTransaction } from '../transaction/stateTypes/scheduleTransaction';
9
9
  import { User } from '../user/userState';
10
10
  import { RootState } from '../../reducer';
11
- import { JEScheduleKey, JEScheduleTransactionKey, JournalEntryErrorCodeType, ScheduleTypes } from './jeSchedulesTypes';
11
+ import { JEScheduleKey, JEScheduleTransactionKey } from './jeSchedulesTypes';
12
12
  import { TransactionID } from '../transaction/stateTypes/transaction';
13
13
  import { ScheduleDaysOfMonth } from '../../commonStateTypes/timePeriod';
14
14
  export interface ScheduledJournalEntry {
@@ -32,7 +32,6 @@ export interface ScheduledJournalEntry {
32
32
  updateTime?: ZeniDate;
33
33
  currencyCode?: string;
34
34
  currencySymbol?: string;
35
- error: JournalEntryErrorCodeType[];
36
35
  }
37
36
  export interface JEAccruedSchedule extends Omit<JEScheduledTransaction, 'baseTransaction' | 'jeScheduleId' | 'jeScheduleTransactionKey'> {
38
37
  jeAccruedScheduleKey: JEScheduleKey;
@@ -60,7 +59,6 @@ export interface JEScheduledTransaction {
60
59
  otherAttributes: JEScheduleOtherAttributes;
61
60
  dayOfPostingDate?: ScheduleDaysOfMonth;
62
61
  lastDayOfMonth?: boolean;
63
- jeScheduleType?: ScheduleTypes;
64
62
  jeScheduleId?: ID;
65
63
  startDate?: ZeniDate;
66
64
  period?: number;
@@ -77,7 +77,7 @@ exports.getJEAccruedScheduleByJEScheduleKey = getJEAccruedScheduleByJEScheduleKe
77
77
  const getJEScheduledTransactionByJEScheduleTransactionKey = (jeScheduleTransactionKey, state) => {
78
78
  const { jeSchedulesState, vendorState, accountState, userState, classState, transactionState, } = state;
79
79
  const jeScheduleTransactionState = (0, get_1.default)(jeSchedulesState.schedulesByTransactionKey, jeScheduleTransactionKey);
80
- const { period, updatedByUserID: updatedBy, vendorId, jeCredit, jeDebit, currencyCode, currencySymbol, balanceAsOfToday, baseTransaction, startDate, endDate, status, updatedAt, jeScheduleId, scheduledJournalEntry, dayOfPostingDate: postingDate, lastDayOfMonth, otherAttributes, jeScheduleType, } = jeScheduleTransactionState;
80
+ const { period, updatedByUserID: updatedBy, vendorId, jeCredit, jeDebit, currencyCode, currencySymbol, balanceAsOfToday, baseTransaction, startDate, endDate, status, updatedAt, jeScheduleId, scheduledJournalEntry, dayOfPostingDate: postingDate, lastDayOfMonth, otherAttributes, } = jeScheduleTransactionState;
81
81
  const vendorDetails = (0, vendorSelector_1.getVendorByVendorId)(vendorState, vendorId);
82
82
  if (vendorDetails == null) {
83
83
  throw new Error(`Vendor with ${vendorId} doesn't exist`);
@@ -107,7 +107,6 @@ const getJEScheduledTransactionByJEScheduleTransactionKey = (jeScheduleTransacti
107
107
  : undefined;
108
108
  return {
109
109
  jeScheduleId,
110
- jeScheduleType,
111
110
  jeScheduleTransactionKey: jeScheduleTransactionKey,
112
111
  vendor: vendorDetails,
113
112
  updatedByUser: userDetails,
@@ -4,7 +4,7 @@ import { ScheduleDaysOfMonth } from '../../commonStateTypes/timePeriod';
4
4
  import { TransactionDetailKey } from '../../view/transactionDetail/transactionDetailState';
5
5
  import { ZeniDate } from '../../zeniDayJS';
6
6
  import { TransactionID } from '../transaction/stateTypes/transaction';
7
- import { ScheduleStatusCodeType, JEScheduleTransactionKey, ScheduleJournalEntryStatusCodeType, JEScheduleKey, ScheduleTypes, JournalEntryErrorCodeType } from './jeSchedulesTypes';
7
+ import { ScheduleStatusCodeType, JEScheduleTransactionKey, ScheduleJournalEntryStatusCodeType, JEScheduleKey } from './jeSchedulesTypes';
8
8
  export interface ScheduleStatus {
9
9
  code: ScheduleStatusCodeType;
10
10
  label: string;
@@ -39,11 +39,9 @@ export interface ScheduledJournalEntryState {
39
39
  syncToken?: string;
40
40
  currencyCode?: string;
41
41
  currencySymbol?: string;
42
- error: JournalEntryErrorCodeType[];
43
42
  }
44
43
  export interface JEScheduledTransactionState {
45
44
  jeScheduleId?: ID;
46
- jeScheduleType?: ScheduleTypes;
47
45
  status: ScheduleStatus;
48
46
  vendorId: ID;
49
47
  baseTransaction: TransactionDetailKey;
@@ -10,5 +10,3 @@ export declare const toScheduleJournalEntryStatusCodeType: (v: string) => "cance
10
10
  export declare type ScheduleJournalEntryStatusCodeType = ReturnType<typeof toScheduleJournalEntryStatusCodeType>;
11
11
  export declare const toScheduleStatusCodeType: (v: string) => "new" | "completed" | "draft" | "ongoing" | "marked_as_completed";
12
12
  export declare type ScheduleStatusCodeType = ReturnType<typeof toScheduleStatusCodeType>;
13
- export declare const toJournalEntryErrorCodeType: (v: string) => "vendor_deleted" | "debit_category_deleted" | "credit_category_deleted" | "qbo_error" | "qbo_authorization_error" | "qbo_invalid_company_status_error" | "qbo_book_close_date_error";
14
- export declare type JournalEntryErrorCodeType = ReturnType<typeof toJournalEntryErrorCodeType>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toJournalEntryErrorCodeType = exports.toScheduleStatusCodeType = exports.toScheduleJournalEntryStatusCodeType = exports.toScheduleTypesTypeStrict = exports.toScheduleTypesType = exports.ALL_SCHEDULES_TYPES = void 0;
3
+ exports.toScheduleStatusCodeType = exports.toScheduleJournalEntryStatusCodeType = exports.toScheduleTypesTypeStrict = exports.toScheduleTypesType = exports.ALL_SCHEDULES_TYPES = void 0;
4
4
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
5
  exports.ALL_SCHEDULES_TYPES = [
6
6
  'prepaid_expenses',
@@ -30,14 +30,3 @@ const SCHEDULE_STATUS_CODE = [
30
30
  ];
31
31
  const toScheduleStatusCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, SCHEDULE_STATUS_CODE);
32
32
  exports.toScheduleStatusCodeType = toScheduleStatusCodeType;
33
- const JOURNAL_ENTRY_ERROR_CODE = [
34
- 'vendor_deleted',
35
- 'debit_category_deleted',
36
- 'credit_category_deleted',
37
- 'qbo_error',
38
- 'qbo_authorization_error',
39
- 'qbo_invalid_company_status_error',
40
- 'qbo_book_close_date_error',
41
- ];
42
- const toJournalEntryErrorCodeType = (v) => (0, stringToUnion_1.stringToUnion)(v, JOURNAL_ENTRY_ERROR_CODE);
43
- exports.toJournalEntryErrorCodeType = toJournalEntryErrorCodeType;
@@ -10,5 +10,5 @@ export interface SectionAccountsView {
10
10
  nestedAccountIds: NestedAccountIDHierarchy[];
11
11
  accountGroupKeys: AccountGroupKey[];
12
12
  }
13
- export declare function getSectionAccountViewKey(sectionId: ID, reportId: ReportIDPlusForecastID): `${string}-cash_balance` | `${string}-card_balance` | `${string}-expense_automation_card` | `${string}-operating_expenses` | `${string}-operating_expenses_by_classes` | `${string}-revenue` | `${string}-revenue_by_classes` | `${string}-net_burn_or_income` | `${string}-net_burn_or_income_story_card` | `${string}-net_burn_or_income_by_classes` | `${string}-cash_position` | `${string}-top_expenses` | `${string}-profit_and_loss` | `${string}-profit_and_loss_by_classes` | `${string}-balance_sheet` | `${string}-cash_flow` | `${string}-dashboard` | `${string}-finance_statement` | `${string}-transaction_list_of_account` | `${string}-transaction_list_missing_receipt` | `${string}-transaction_list_of_account_by_class` | `${string}-transaction_detail` | `${string}-cash_in_cash_out` | `${string}-insights_dashboard` | `${string}-company_details` | `${string}-class_list` | `${string}-account_list` | `${string}-account_list_by_type` | `${string}-vendor` | `${string}-task_card` | `${string}-bill_pay` | `${string}-reimbursement` | `${string}-bill_pay_card` | `${string}-reimbursement_card` | `${string}-bill_pay_promo_card` | `${string}-zeni_accounts` | `${string}-zeni_accounts_promo_card` | `${string}-charge_cards` | `${string}-reimbursement_promo_card` | `${string}-onboarding` | `${string}-operating_expenses_by_vendor` | `${string}-operating_expenses_by_vendor_summary` | `${string}-vendors_tab` | `${string}-accounts_payable_aging` | `${string}-accounts_receivable_aging` | `${string}-vendor_global_review` | `${string}-prepaid_expenses` | `${string}-fixed_assets` | `${string}-notification` | `${string}-rewards_card` | `${string}-billing` | `${string}-flux_analysis_operating_expense` | `${string}-cash_balance+${string}` | `${string}-card_balance+${string}` | `${string}-expense_automation_card+${string}` | `${string}-operating_expenses+${string}` | `${string}-operating_expenses_by_classes+${string}` | `${string}-revenue+${string}` | `${string}-revenue_by_classes+${string}` | `${string}-net_burn_or_income+${string}` | `${string}-net_burn_or_income_story_card+${string}` | `${string}-net_burn_or_income_by_classes+${string}` | `${string}-cash_position+${string}` | `${string}-top_expenses+${string}` | `${string}-profit_and_loss+${string}` | `${string}-profit_and_loss_by_classes+${string}` | `${string}-balance_sheet+${string}` | `${string}-cash_flow+${string}` | `${string}-dashboard+${string}` | `${string}-finance_statement+${string}` | `${string}-transaction_list_of_account+${string}` | `${string}-transaction_list_missing_receipt+${string}` | `${string}-transaction_list_of_account_by_class+${string}` | `${string}-transaction_detail+${string}` | `${string}-cash_in_cash_out+${string}` | `${string}-insights_dashboard+${string}` | `${string}-company_details+${string}` | `${string}-class_list+${string}` | `${string}-account_list+${string}` | `${string}-account_list_by_type+${string}` | `${string}-vendor+${string}` | `${string}-task_card+${string}` | `${string}-bill_pay+${string}` | `${string}-reimbursement+${string}` | `${string}-bill_pay_card+${string}` | `${string}-reimbursement_card+${string}` | `${string}-bill_pay_promo_card+${string}` | `${string}-zeni_accounts+${string}` | `${string}-zeni_accounts_promo_card+${string}` | `${string}-charge_cards+${string}` | `${string}-reimbursement_promo_card+${string}` | `${string}-onboarding+${string}` | `${string}-operating_expenses_by_vendor+${string}` | `${string}-operating_expenses_by_vendor_summary+${string}` | `${string}-vendors_tab+${string}` | `${string}-accounts_payable_aging+${string}` | `${string}-accounts_receivable_aging+${string}` | `${string}-vendor_global_review+${string}` | `${string}-prepaid_expenses+${string}` | `${string}-fixed_assets+${string}` | `${string}-notification+${string}` | `${string}-rewards_card+${string}` | `${string}-billing+${string}` | `${string}-flux_analysis_operating_expense+${string}`;
13
+ export declare function getSectionAccountViewKey(sectionId: ID, reportId: ReportIDPlusForecastID): `${string}-cash_balance` | `${string}-card_balance` | `${string}-operating_expenses` | `${string}-operating_expenses_by_classes` | `${string}-revenue` | `${string}-revenue_by_classes` | `${string}-net_burn_or_income` | `${string}-net_burn_or_income_story_card` | `${string}-net_burn_or_income_by_classes` | `${string}-cash_position` | `${string}-top_expenses` | `${string}-profit_and_loss` | `${string}-profit_and_loss_by_classes` | `${string}-balance_sheet` | `${string}-cash_flow` | `${string}-dashboard` | `${string}-finance_statement` | `${string}-transaction_list_of_account` | `${string}-transaction_list_missing_receipt` | `${string}-transaction_list_of_account_by_class` | `${string}-transaction_detail` | `${string}-cash_in_cash_out` | `${string}-insights_dashboard` | `${string}-company_details` | `${string}-class_list` | `${string}-account_list` | `${string}-account_list_by_type` | `${string}-vendor` | `${string}-task_card` | `${string}-bill_pay` | `${string}-reimbursement` | `${string}-bill_pay_card` | `${string}-reimbursement_card` | `${string}-bill_pay_promo_card` | `${string}-zeni_accounts` | `${string}-zeni_accounts_promo_card` | `${string}-charge_cards` | `${string}-reimbursement_promo_card` | `${string}-onboarding` | `${string}-operating_expenses_by_vendor` | `${string}-operating_expenses_by_vendor_summary` | `${string}-vendors_tab` | `${string}-accounts_payable_aging` | `${string}-accounts_receivable_aging` | `${string}-vendor_global_review` | `${string}-prepaid_expenses` | `${string}-fixed_assets` | `${string}-notification` | `${string}-rewards_card` | `${string}-billing` | `${string}-cash_balance+${string}` | `${string}-card_balance+${string}` | `${string}-operating_expenses+${string}` | `${string}-operating_expenses_by_classes+${string}` | `${string}-revenue+${string}` | `${string}-revenue_by_classes+${string}` | `${string}-net_burn_or_income+${string}` | `${string}-net_burn_or_income_story_card+${string}` | `${string}-net_burn_or_income_by_classes+${string}` | `${string}-cash_position+${string}` | `${string}-top_expenses+${string}` | `${string}-profit_and_loss+${string}` | `${string}-profit_and_loss_by_classes+${string}` | `${string}-balance_sheet+${string}` | `${string}-cash_flow+${string}` | `${string}-dashboard+${string}` | `${string}-finance_statement+${string}` | `${string}-transaction_list_of_account+${string}` | `${string}-transaction_list_missing_receipt+${string}` | `${string}-transaction_list_of_account_by_class+${string}` | `${string}-transaction_detail+${string}` | `${string}-cash_in_cash_out+${string}` | `${string}-insights_dashboard+${string}` | `${string}-company_details+${string}` | `${string}-class_list+${string}` | `${string}-account_list+${string}` | `${string}-account_list_by_type+${string}` | `${string}-vendor+${string}` | `${string}-task_card+${string}` | `${string}-bill_pay+${string}` | `${string}-reimbursement+${string}` | `${string}-bill_pay_card+${string}` | `${string}-reimbursement_card+${string}` | `${string}-bill_pay_promo_card+${string}` | `${string}-zeni_accounts+${string}` | `${string}-zeni_accounts_promo_card+${string}` | `${string}-charge_cards+${string}` | `${string}-reimbursement_promo_card+${string}` | `${string}-onboarding+${string}` | `${string}-operating_expenses_by_vendor+${string}` | `${string}-operating_expenses_by_vendor_summary+${string}` | `${string}-vendors_tab+${string}` | `${string}-accounts_payable_aging+${string}` | `${string}-accounts_receivable_aging+${string}` | `${string}-vendor_global_review+${string}` | `${string}-prepaid_expenses+${string}` | `${string}-fixed_assets+${string}` | `${string}-notification+${string}` | `${string}-rewards_card+${string}` | `${string}-billing+${string}`;
14
14
  export declare type SectionAccountKey = ReturnType<typeof getSectionAccountViewKey>;