@zeniai/client-epic-state 4.13.10 → 4.13.12

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 (344) 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/accountPayload.d.ts +1 -1
  17. package/lib/entity/account/accountState.d.ts +1 -1
  18. package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
  19. package/lib/entity/chargeCard/chargeCard.d.ts +2 -16
  20. package/lib/entity/chargeCard/chargeCard.js +1 -18
  21. package/lib/entity/chargeCard/chargeCardPayload.d.ts +5 -14
  22. package/lib/entity/chargeCard/chargeCardPayload.js +7 -24
  23. package/lib/entity/class/classReducer.d.ts +4 -4
  24. package/lib/entity/class/classState.d.ts +1 -1
  25. package/lib/entity/company/companyPayload.d.ts +0 -4
  26. package/lib/entity/company/companyPayload.js +3 -6
  27. package/lib/entity/company/companyReducer.d.ts +1 -4
  28. package/lib/entity/company/companyReducer.js +2 -6
  29. package/lib/entity/company/companyStateTypes.d.ts +1 -5
  30. package/lib/entity/file/fileState.d.ts +3 -3
  31. package/lib/entity/file/fileState.js +0 -2
  32. package/lib/entity/forecast/forecastState.d.ts +1 -1
  33. package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +0 -1
  34. package/lib/entity/jeSchedules/jeSchedulesPayload.js +1 -7
  35. package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +2 -2
  36. package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +1 -3
  37. package/lib/entity/jeSchedules/jeSchedulesSelector.js +1 -2
  38. package/lib/entity/jeSchedules/jeSchedulesState.d.ts +1 -3
  39. package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +0 -2
  40. package/lib/entity/jeSchedules/jeSchedulesTypes.js +1 -12
  41. package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
  42. package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
  43. package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
  44. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  45. package/lib/entity/snackbar/snackbarTypes.js +0 -3
  46. package/lib/entity/tenant/clearAllEpic.d.ts +2 -14
  47. package/lib/entity/tenant/clearAllEpic.js +0 -24
  48. package/lib/entity/tenant/epic/fetchAllTenantsEpic.d.ts +1 -4
  49. package/lib/entity/tenant/epic/fetchAllTenantsEpic.js +2 -33
  50. package/lib/entity/tenant/tenantPayload.d.ts +0 -1
  51. package/lib/entity/tenant/tenantReducer.js +0 -3
  52. package/lib/entity/tenant/tenantState.d.ts +0 -1
  53. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
  54. package/lib/entity/transaction/payloadTypes/attachmentPayload.d.ts +1 -1
  55. package/lib/entity/transaction/payloadTypes/attachmentPayload.js +3 -3
  56. package/lib/entity/transaction/stateTypes/transactionType.d.ts +2 -2
  57. package/lib/entity/transaction/transactionSelector.d.ts +0 -1
  58. package/lib/entity/transaction/transactionSelector.js +1 -7
  59. package/lib/entity/user/userPayload.d.ts +0 -1
  60. package/lib/entity/user/userReducer.js +8 -9
  61. package/lib/entity/user/userState.d.ts +0 -1
  62. package/lib/entity/vendor/__mocks__/vendorMock.js +2 -0
  63. package/lib/entity/vendor/__mocks__/vendorStateMocks.d.ts +0 -2
  64. package/lib/entity/vendor/__mocks__/vendorStateMocks.js +4 -107
  65. package/lib/entity/vendor/vendorPayload.d.ts +1 -6
  66. package/lib/entity/vendor/vendorPayload.js +5 -6
  67. package/lib/entity/vendor/vendorState.d.ts +3 -10
  68. package/lib/entity/vendor/vendorType.d.ts +2 -2
  69. package/lib/entity/vendor/vendorType.js +4 -4
  70. package/lib/entity/vendorExpense/vendorExpenseSelector.d.ts +2 -2
  71. package/lib/entity/vendorExpense/vendorExpenseSelector.js +0 -1
  72. package/lib/epic.d.ts +2 -19
  73. package/lib/epic.js +2 -19
  74. package/lib/index.d.ts +21 -65
  75. package/lib/index.js +28 -102
  76. package/lib/reducer.d.ts +1 -34
  77. package/lib/reducer.js +1 -34
  78. package/lib/view/accountMappingView/accountMappingPayload.js +32 -75
  79. package/lib/view/accountMappingView/accountMappingReducer.js +10 -36
  80. package/lib/view/accountMappingView/accountMappingState.d.ts +1 -1
  81. package/lib/view/accountMappingView/accountMappingViewSelector.d.ts +0 -5
  82. package/lib/view/accountMappingView/accountMappingViewSelector.js +1 -11
  83. package/lib/view/accountMappingView/initializeAccountMappingViewEpic.d.ts +1 -2
  84. package/lib/view/accountMappingView/initializeAccountMappingViewEpic.js +0 -2
  85. package/lib/view/accountMappingView/saveAccountMappingViewEpic.js +1 -6
  86. package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +1 -7
  87. package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +1 -7
  88. package/lib/view/addressView/addressViewState.d.ts +1 -1
  89. package/lib/view/addressView/toAddressViewLocalData.d.ts +0 -2
  90. package/lib/view/addressView/toAddressViewLocalData.js +3 -9
  91. package/lib/view/auditReportView/auditReportViewState.d.ts +2 -2
  92. package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
  93. package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -1
  94. package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.d.ts +1 -1
  95. package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.d.ts +1 -1
  96. package/lib/view/cardPayment/epic/createCardSetupIntentEpic.d.ts +1 -1
  97. package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.d.ts +1 -1
  98. package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
  99. package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
  100. package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
  101. package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +1 -1
  102. package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.d.ts +2 -2
  103. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.d.ts +5 -10
  104. package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +7 -10
  105. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportTemplatesEpic.js +4 -4
  106. package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js +4 -4
  107. package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.js +3 -5
  108. package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +3 -3
  109. package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +3 -3
  110. package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +6 -1
  111. package/lib/view/companyView/selectorHelpers/getCompanyView.js +0 -4
  112. package/lib/view/companyView/types/cockpitTypes.d.ts +2 -2
  113. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.d.ts +0 -2
  114. package/lib/view/companyView/types/companyPassport/companyUsersLocalData.js +1 -7
  115. package/lib/view/companyView/types/companyView.d.ts +0 -1
  116. package/lib/view/dashboard/dashboardEpic.d.ts +1 -2
  117. package/lib/view/dashboard/dashboardEpic.js +2 -22
  118. package/lib/view/dashboard/dashboardReducer.d.ts +2 -3
  119. package/lib/view/dashboard/dashboardReducer.js +1 -2
  120. package/lib/view/dashboard/dashboardSelector.d.ts +0 -2
  121. package/lib/view/dashboard/dashboardSelector.js +2 -10
  122. package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
  123. package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
  124. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.d.ts +1 -8
  125. package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +1 -3
  126. package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +4 -5
  127. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +0 -2
  128. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +3 -6
  129. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
  130. package/lib/view/people/deletePersonEpic.d.ts +1 -1
  131. package/lib/view/people/invitePeopleEpic.d.ts +1 -1
  132. package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
  133. package/lib/view/people/resendInviteEpic.d.ts +1 -1
  134. package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
  135. package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +1 -1
  136. package/lib/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.d.ts +1 -1
  137. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +2 -3
  138. package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +1 -1
  139. package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +2 -2
  140. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +5 -19
  141. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +3 -8
  142. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +57 -39
  143. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +8 -13
  144. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +12 -19
  145. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +0 -1
  146. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +3 -4
  147. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.d.ts +0 -2
  148. package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
  149. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
  150. package/lib/view/settingsView/epic/updateMyProfileEpic.js +4 -6
  151. package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +4 -1
  152. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +0 -2
  153. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +0 -3
  154. package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +2 -2
  155. package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.d.ts +1 -2
  156. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.d.ts +1 -3
  157. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +2 -6
  158. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.d.ts +3 -2
  159. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.js +3 -3
  160. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingState.d.ts +3 -1
  161. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.d.ts +2 -1
  162. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.js +21 -1
  163. package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/saveCardOnboardingUserDetailsEpic.js +3 -1
  164. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +0 -1
  165. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js +0 -4
  166. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.d.ts +1 -8
  167. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +2 -25
  168. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.d.ts +0 -1
  169. package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +4 -8
  170. package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +1 -2
  171. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +14 -1
  172. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +13 -2
  173. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.d.ts +6 -3
  174. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +17 -2
  175. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.d.ts +2 -8
  176. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +15 -55
  177. package/lib/view/spendManagement/chargeCards/{issueChargeCard → chargeCardList}/issueChargeCardEpic.d.ts +2 -3
  178. package/lib/view/spendManagement/chargeCards/{issueChargeCard → chargeCardList}/issueChargeCardEpic.js +18 -35
  179. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +1 -1
  180. package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +6 -31
  181. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.d.ts +2 -2
  182. package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +2 -5
  183. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +1 -4
  184. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +2 -6
  185. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +0 -1
  186. package/lib/view/spendManagement/commonSetup/types/businessVerification.d.ts +0 -4
  187. package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.js +2 -2
  188. package/lib/view/subscriptionView/types/subscriptionTypes.d.ts +1 -1
  189. package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
  190. package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
  191. package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
  192. package/lib/view/topEx/topExSelector.d.ts +1 -1
  193. package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.js +2 -2
  194. package/lib/view/transactionDetail/transactionDetailState.d.ts +2 -2
  195. package/lib/view/userListView/fetchUserListByTypeEpic.js +1 -4
  196. package/lib/view/vendorFiling1099/__mock__/json/vendorFiling1099ListSuccess.json +1 -4
  197. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListMock.js +3 -12
  198. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListSelectorMock.js +4 -2
  199. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.d.ts +1 -4
  200. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.d.ts +2 -2
  201. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.js +7 -7
  202. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector.js +10 -21
  203. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.d.ts +1 -1
  204. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.js +0 -1
  205. package/lib/view/vendorReviewView/common/state/commonTypes.d.ts +1 -1
  206. package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +3 -34
  207. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.d.ts +1 -1
  208. package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +2 -2
  209. package/lib/view/zeniAccStatementList/zeniAccStatementList.d.ts +5 -2
  210. package/package.json +1 -1
  211. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.d.ts +0 -32
  212. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js +0 -60
  213. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.d.ts +0 -12
  214. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +0 -25
  215. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksSelector.d.ts +0 -7
  216. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksSelector.js +0 -36
  217. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.d.ts +0 -38
  218. package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.js +0 -10
  219. package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.d.ts +0 -11
  220. package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +0 -4607
  221. package/lib/view/countryList/countryListReducer.d.ts +0 -17
  222. package/lib/view/countryList/countryListReducer.js +0 -58
  223. package/lib/view/countryList/countryListSelector.d.ts +0 -7
  224. package/lib/view/countryList/countryListSelector.js +0 -13
  225. package/lib/view/countryList/countryListState.d.ts +0 -12
  226. package/lib/view/countryList/countryListState.js +0 -2
  227. package/lib/view/countryList/epics/fetchCountryListEpic.d.ts +0 -6
  228. package/lib/view/countryList/epics/fetchCountryListEpic.js +0 -19
  229. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.d.ts +0 -7
  230. package/lib/view/countryList/epics/fetchNationalityCountryListEpic.js +0 -38
  231. package/lib/view/countryList/payloads/countryListPayload.d.ts +0 -6
  232. package/lib/view/countryList/payloads/countryListPayload.js +0 -10
  233. package/lib/view/countryList/payloads/nationalityCountryListPayload.d.ts +0 -11
  234. package/lib/view/countryList/payloads/nationalityCountryListPayload.js +0 -2
  235. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.d.ts +0 -10
  236. package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +0 -72
  237. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.d.ts +0 -11
  238. package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +0 -53
  239. package/lib/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.d.ts +0 -11
  240. package/lib/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.js +0 -66
  241. package/lib/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.d.ts +0 -7
  242. package/lib/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.js +0 -39
  243. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.d.ts +0 -7
  244. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.js +0 -22
  245. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.d.ts +0 -8
  246. package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +0 -59
  247. package/lib/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.d.ts +0 -8
  248. package/lib/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.js +0 -78
  249. package/lib/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.d.ts +0 -6
  250. package/lib/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.js +0 -28
  251. package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.d.ts +0 -9
  252. package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.js +0 -78
  253. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.d.ts +0 -8
  254. package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.js +0 -58
  255. package/lib/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.d.ts +0 -10
  256. package/lib/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.js +0 -12
  257. package/lib/view/expenseAutomationView/expenseAutomationViewPayload.d.ts +0 -3
  258. package/lib/view/expenseAutomationView/expenseAutomationViewPayload.js +0 -2
  259. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.d.ts +0 -17
  260. package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +0 -66
  261. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.d.ts +0 -3
  262. package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +0 -97
  263. package/lib/view/expenseAutomationView/expenseAutomationViewState.d.ts +0 -11
  264. package/lib/view/expenseAutomationView/expenseAutomationViewState.js +0 -14
  265. package/lib/view/expenseAutomationView/helpers/helpers.d.ts +0 -7
  266. package/lib/view/expenseAutomationView/helpers/helpers.js +0 -67
  267. package/lib/view/expenseAutomationView/payload/fluxAnalysisPayload.d.ts +0 -76
  268. package/lib/view/expenseAutomationView/payload/fluxAnalysisPayload.js +0 -9
  269. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.d.ts +0 -36
  270. package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.js +0 -58
  271. package/lib/view/expenseAutomationView/payload/missingReceiptsPayload.d.ts +0 -16
  272. package/lib/view/expenseAutomationView/payload/missingReceiptsPayload.js +0 -2
  273. package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.d.ts +0 -34
  274. package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +0 -205
  275. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +0 -53
  276. package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +0 -245
  277. package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.d.ts +0 -31
  278. package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +0 -130
  279. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.d.ts +0 -5
  280. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +0 -45
  281. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.d.ts +0 -34
  282. package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.js +0 -44
  283. package/lib/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.d.ts +0 -32
  284. package/lib/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.js +0 -2
  285. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.d.ts +0 -28
  286. package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.js +0 -2
  287. package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.d.ts +0 -11
  288. package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.js +0 -2
  289. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.d.ts +0 -3
  290. package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.js +0 -55
  291. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.d.ts +0 -7
  292. package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +0 -95
  293. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.d.ts +0 -3
  294. package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.js +0 -61
  295. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +0 -53
  296. package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.js +0 -5
  297. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.d.ts +0 -31
  298. package/lib/view/expenseAutomationView/types/jeSchedulesViewState.js +0 -2
  299. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.d.ts +0 -20
  300. package/lib/view/expenseAutomationView/types/missingReceiptsViewState.js +0 -13
  301. package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +0 -28
  302. package/lib/view/expenseAutomationView/types/transactionsViewState.js +0 -15
  303. package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.d.ts +0 -8
  304. package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.js +0 -58
  305. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.d.ts +0 -3
  306. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.js +0 -2
  307. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.d.ts +0 -16
  308. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +0 -36
  309. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.d.ts +0 -10
  310. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.js +0 -27
  311. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.d.ts +0 -5
  312. package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.js +0 -2
  313. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.d.ts +0 -7
  314. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.js +0 -36
  315. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.d.ts +0 -6
  316. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.js +0 -42
  317. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.d.ts +0 -9
  318. package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.js +0 -67
  319. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.d.ts +0 -26
  320. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.js +0 -22
  321. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.d.ts +0 -22
  322. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +0 -89
  323. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.d.ts +0 -15
  324. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.js +0 -30
  325. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.d.ts +0 -20
  326. package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.js +0 -2
  327. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.d.ts +0 -11
  328. package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.js +0 -42
  329. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.d.ts +0 -9
  330. package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.js +0 -44
  331. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.d.ts +0 -15
  332. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +0 -65
  333. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.d.ts +0 -22
  334. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +0 -76
  335. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.d.ts +0 -28
  336. package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.js +0 -23
  337. package/lib/view/vendor1099TypeList/vendor1099TypeListEpic.d.ts +0 -7
  338. package/lib/view/vendor1099TypeList/vendor1099TypeListEpic.js +0 -23
  339. package/lib/view/vendor1099TypeList/vendor1099TypeListPayload.d.ts +0 -15
  340. package/lib/view/vendor1099TypeList/vendor1099TypeListPayload.js +0 -2
  341. package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.d.ts +0 -7
  342. package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.js +0 -52
  343. package/lib/view/vendor1099TypeList/vendor1099TypeListState.d.ts +0 -9
  344. package/lib/view/vendor1099TypeList/vendor1099TypeListState.js +0 -2
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.vendorStateMock8 = exports.vendorStateMock7 = exports.vendorStateMock6 = exports.vendorStateMock5 = exports.vendorStateMock4 = exports.vendorStateMock2 = exports.vendorStateMock1 = void 0;
3
+ exports.vendorStateMock6 = exports.vendorStateMock5 = exports.vendorStateMock4 = exports.vendorStateMock2 = exports.vendorStateMock1 = void 0;
4
4
  const zeniDayJS_1 = require("../../../zeniDayJS");
5
5
  const zeniUrl_1 = require("../../../zeniUrl");
6
6
  exports.vendorStateMock1 = {
@@ -59,9 +59,8 @@ exports.vendorStateMock1 = {
59
59
  type: 'ein',
60
60
  value: '550258131',
61
61
  },
62
+ filing1099Total: 2287,
62
63
  filing1099W9Files: undefined,
63
- filing1099Total: undefined,
64
- filing1099Type: undefined,
65
64
  w9DocumentIds: [],
66
65
  };
67
66
  exports.vendorStateMock2 = {
@@ -119,6 +118,7 @@ exports.vendorStateMock2 = {
119
118
  type: 'ein',
120
119
  value: '550258131',
121
120
  },
121
+ filing1099Total: 2287,
122
122
  w9DocumentIds: [],
123
123
  };
124
124
  exports.vendorStateMock4 = {
@@ -177,12 +177,7 @@ exports.vendorStateMock4 = {
177
177
  preferredInternationalTransferFeeBearerPaymentMethod: undefined,
178
178
  filing1099Status: undefined,
179
179
  filing1099Tin: undefined,
180
- isINTType: false,
181
- isMISCType: false,
182
- isNECType: false,
183
- filing1099INTTotal: undefined,
184
- filing1099MISCTotal: undefined,
185
- filing1099NECTotal: undefined,
180
+ filing1099Total: undefined,
186
181
  filing1099W9Files: [],
187
182
  filing1099TaxClassification: 'Individual',
188
183
  w9DocumentIds: [],
@@ -257,7 +252,6 @@ exports.vendorStateMock5 = {
257
252
  type: 'ein',
258
253
  value: '550258131',
259
254
  },
260
- filing1099Type: 'int',
261
255
  filing1099Total: 2287,
262
256
  w9DocumentIds: [],
263
257
  };
@@ -319,103 +313,6 @@ exports.vendorStateMock6 = {
319
313
  type: 'ein',
320
314
  value: '550258131',
321
315
  },
322
- filing1099Type: 'int',
323
316
  filing1099Total: 2287,
324
317
  w9DocumentIds: [],
325
318
  };
326
- exports.vendorStateMock7 = {
327
- id: 'vendor_7fd58fd7-2916-4fae-ba14-3c0f6e277743',
328
- name: 'Hall Properties',
329
- title: '',
330
- suffix: '',
331
- firstName: '',
332
- middleName: '',
333
- lastName: '',
334
- vendorType: '',
335
- isDeleted: false,
336
- createTime: (0, zeniDayJS_1.date)('2024-02-19T12:38:08.740Z'),
337
- updateTime: (0, zeniDayJS_1.date)('2024-02-19T12:38:08.740Z'),
338
- currencyCode: 'USD',
339
- currencySymbol: '$',
340
- vendorCurrencyCode: 'USD',
341
- vendorCurrencySymbol: '$',
342
- qboId: '',
343
- syncToken: '',
344
- email: '',
345
- phone: '',
346
- websiteUrl: '',
347
- contactIds: [],
348
- bankAccountIds: [],
349
- paymentInstrumentIds: [],
350
- balance: 0,
351
- matchScore: 0,
352
- isVendor1099: false,
353
- documentIds: [],
354
- last30DaysSpend: 0,
355
- last90DaysSpend: 0,
356
- yearToDateSpend: 0,
357
- recommendations: [],
358
- transactionAttachments: [],
359
- };
360
- exports.vendorStateMock8 = {
361
- recommendations: [],
362
- transactionAttachments: [],
363
- id: 'vendor_j12jh1g2g12jg3jh12:12',
364
- name: 'Sample Vendor 1',
365
- legalName: 'Sample Vendor 1',
366
- qboId: '12',
367
- title: '',
368
- suffix: '',
369
- firstName: 'Sample',
370
- middleName: '',
371
- lastName: 'Vendor',
372
- vendorType: 'individual',
373
- isDeleted: false,
374
- yearToDateSpend: undefined,
375
- last30DaysSpend: undefined,
376
- last90DaysSpend: undefined,
377
- lastMonthSpend: 0,
378
- last6MonthsSpend: 0,
379
- last3MonthsSpend: 0,
380
- last12MonthsSpend: 0,
381
- previousYearSpend: 0,
382
- createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
383
- updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
384
- syncToken: '1',
385
- email: '',
386
- phone: '',
387
- websiteUrl: '',
388
- currencyCode: 'USD',
389
- currencySymbol: '$',
390
- countryCode: 'US',
391
- balance: 0,
392
- accountId: 'Travel Meals',
393
- classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
394
- billingAddressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
395
- addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
396
- bankAccountIds: [
397
- 'bank_adg67-asnds-a6sad-sdfgf8',
398
- 'bank_asghj-hags23-hgfjh-g3asfas',
399
- ],
400
- contactIds: [
401
- 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
402
- 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
403
- ],
404
- matchScore: 0,
405
- isVendor1099: false,
406
- documentIds: [],
407
- vendorCurrencySymbol: '$',
408
- vendorCurrencyCode: 'USD',
409
- paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
410
- preferredInternationalTransferFeeBearerPaymentMethod: undefined,
411
- filing1099Status: 'incomplete',
412
- filing1099Tin: {
413
- type: 'ein',
414
- value: '550258131',
415
- },
416
- isINTType: true,
417
- filing1099W9Files: undefined,
418
- filing1099Total: undefined,
419
- filing1099Type: 'int',
420
- w9DocumentIds: [],
421
- };
@@ -76,12 +76,7 @@ export interface VendorPayload extends VendorBasePayload, SpendPayload {
76
76
  w9_document_ids?: ID[];
77
77
  vendor_1099_status?: string;
78
78
  tin?: Filing1099TinTypePayload;
79
- is_type_int?: boolean;
80
- is_type_misc?: boolean;
81
- is_type_nec?: boolean;
82
- vendor_1099_ytd_total_int?: number;
83
- vendor_1099_ytd_total_misc?: number;
84
- vendor_1099_ytd_total_nec?: number;
79
+ vendor_1099_ytd_total?: number;
85
80
  legal_name?: string;
86
81
  }
87
82
  interface Filing1099TinTypePayload {
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.mapVendorPayloadToVendor = exports.toVendorBasePayload = exports.mapVendorBasePayloadToVendorBase = void 0;
4
4
  const urlPayload_1 = require("../../commonPayloadTypes/urlPayload");
5
5
  const zeniDayJS_1 = require("../../zeniDayJS");
6
- const common_1 = require("../../commonStateTypes/common");
7
6
  const transactionPayload_1 = require("../transaction/payloadTypes/transactionPayload");
8
7
  const billTransactionState_1 = require("../billPay/billTransaction/billTransactionState");
9
8
  const attachmentPayload_1 = require("../transaction/payloadTypes/attachmentPayload");
@@ -30,7 +29,7 @@ const toVendorBasePayload = (tranVendor, vendorUpdates) => {
30
29
  };
31
30
  exports.toVendorBasePayload = toVendorBasePayload;
32
31
  const mapVendorPayloadToVendor = (payload) => {
33
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17;
32
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14;
34
33
  return Object.assign(Object.assign({}, (0, exports.mapVendorBasePayloadToVendorBase)(payload)), { legalName: payload.legal_name, qboId: payload.qbo_id, title: (_a = payload.title) !== null && _a !== void 0 ? _a : '', suffix: (_b = payload.suffix) !== null && _b !== void 0 ? _b : '', firstName: (_d = (_c = payload.first_name) === null || _c === void 0 ? void 0 : _c.trim()) !== null && _d !== void 0 ? _d : '', middleName: (_f = (_e = payload.middle_name) === null || _e === void 0 ? void 0 : _e.trim()) !== null && _f !== void 0 ? _f : '', lastName: (_h = (_g = payload.last_name) === null || _g === void 0 ? void 0 : _g.trim()) !== null && _h !== void 0 ? _h : '', vendorType: (_j = payload.vendor_type) !== null && _j !== void 0 ? _j : '', isDeleted: (_k = payload.is_deleted) !== null && _k !== void 0 ? _k : false, createTime: payload.create_time != null ? (0, zeniDayJS_1.date)(payload.create_time) : (0, zeniDayJS_1.dateNow)(), updateTime: payload.update_time != null ? (0, zeniDayJS_1.date)(payload.update_time) : (0, zeniDayJS_1.dateNow)(), syncToken: (_l = payload.sync_token) !== null && _l !== void 0 ? _l : '', email: (_o = (_m = payload.email) === null || _m === void 0 ? void 0 : _m.trim()) !== null && _o !== void 0 ? _o : '', phone: (_p = payload.phone) !== null && _p !== void 0 ? _p : '', websiteUrl: (_q = payload.website_url) !== null && _q !== void 0 ? _q : '', currencyCode: payload.currency_code, currencySymbol: payload.currency_symbol, vendorCurrencyCode: (_r = payload.vendor_currency_code) !== null && _r !== void 0 ? _r : payload.currency_code, vendorCurrencySymbol: (_s = payload.vendor_currency_symbol) !== null && _s !== void 0 ? _s : payload.currency_symbol, countryCode: (_t = payload.country_code) !== null && _t !== void 0 ? _t : undefined, accountId: (_v = (_u = payload.account) === null || _u === void 0 ? void 0 : _u.account_id) !== null && _v !== void 0 ? _v : undefined, classId: (_x = (_w = payload.accounting_class) === null || _w === void 0 ? void 0 : _w.accounting_class_id) !== null && _x !== void 0 ? _x : undefined, contactIds: (_z = (_y = payload.contacts) === null || _y === void 0 ? void 0 : _y.map((contact) => contact.contact_id)) !== null && _z !== void 0 ? _z : [], billingAddressId: payload.billing_address != null
35
34
  ? payload.billing_address.address_id
36
35
  : undefined, addressId: payload.address != null ? payload.address.address_id : undefined, shippingAddressId: payload.shipping_address != null
@@ -43,14 +42,14 @@ const mapVendorPayloadToVendor = (payload) => {
43
42
  payload.transaction_attachments.length > 0
44
43
  ? payload.transaction_attachments.map((attachmentPayload) => (0, attachmentPayload_1.toAttachment)(attachmentPayload))
45
44
  : [], filing1099Status: payload.vendor_1099_status != null
46
- ? (0, common_1.toCompletionStatusType)(payload.vendor_1099_status)
45
+ ? (0, vendorType_1.toStatusType)(payload.vendor_1099_status)
47
46
  : undefined, filing1099Tin: payload.tin != null
48
47
  ? {
49
48
  type: payload.tin.type != null ? (0, vendorType_1.toTinType)(payload.tin.type) : null,
50
49
  value: (_13 = (_12 = payload.tin) === null || _12 === void 0 ? void 0 : _12.value) !== null && _13 !== void 0 ? _13 : null,
51
50
  }
52
- : undefined, isINTType: (_14 = payload.is_type_int) !== null && _14 !== void 0 ? _14 : false, isMISCType: (_15 = payload.is_type_misc) !== null && _15 !== void 0 ? _15 : false, isNECType: (_16 = payload.is_type_nec) !== null && _16 !== void 0 ? _16 : false, filing1099INTTotal: payload.vendor_1099_ytd_total_int, filing1099MISCTotal: payload.vendor_1099_ytd_total_misc, filing1099NECTotal: payload.vendor_1099_ytd_total_nec, filing1099W9Files: payload.w9_documents != null
53
- ? payload.w9_documents.map((filePayload) => (0, attachmentPayload_1.mapFileToAttachment)(filePayload))
54
- : [], filing1099TaxClassification: (_17 = payload.vendor_type) !== null && _17 !== void 0 ? _17 : '' });
51
+ : undefined, filing1099Total: payload.vendor_1099_ytd_total, filing1099W9Files: payload.w9_documents != null
52
+ ? payload.w9_documents.map((filePayload) => (0, attachmentPayload_1.mapFiletoAttachment)(filePayload))
53
+ : [], filing1099TaxClassification: (_14 = payload.vendor_type) !== null && _14 !== void 0 ? _14 : '' });
55
54
  };
56
55
  exports.mapVendorPayloadToVendor = mapVendorPayloadToVendor;
@@ -1,11 +1,11 @@
1
1
  import { Currency } from '../../commonStateTypes/amount';
2
- import { CompletionStatusType, ID } from '../../commonStateTypes/common';
2
+ import { ID } from '../../commonStateTypes/common';
3
3
  import { Recommendation } from '../../commonStateTypes/recommendationBase';
4
4
  import { ZeniDate } from '../../zeniDayJS';
5
5
  import { ZeniUrl as Url } from '../../zeniUrl';
6
6
  import { InternationalTransferFeeBearerPaymentMethod } from '../billPay/billTransaction/billTransactionState';
7
7
  import { Attachment } from '../transaction/stateTypes/attachment';
8
- import { Filing1099TinType, Filing1099Type } from './vendorType';
8
+ import { Filing1099TinType, StatusType } from './vendorType';
9
9
  export interface VendorBase {
10
10
  id: ID;
11
11
  name: string;
@@ -60,17 +60,10 @@ export interface Vendor extends VendorBase {
60
60
  last12MonthsSpend?: number;
61
61
  previousYearSpend?: number;
62
62
  transactionAttachments: Attachment[];
63
- filing1099Status?: CompletionStatusType;
63
+ filing1099Status?: StatusType;
64
64
  filing1099Tin?: Filing1099TinType;
65
65
  filing1099W9Files?: Attachment[];
66
- filing1099Type?: Filing1099Type;
67
66
  filing1099Total?: number;
68
- isINTType?: boolean;
69
- isMISCType?: boolean;
70
- isNECType?: boolean;
71
- filing1099INTTotal?: number;
72
- filing1099MISCTotal?: number;
73
- filing1099NECTotal?: number;
74
67
  filing1099TaxClassification?: string;
75
68
  w9DocumentIds?: ID[];
76
69
  legalName?: string;
@@ -1,9 +1,9 @@
1
1
  export declare const toTinType: (v: string) => "ein" | "ssn";
2
2
  declare type TinType = ReturnType<typeof toTinType>;
3
- export declare const toFiling1099Type: (v: string) => "int" | "misc" | "nec";
4
- export declare type Filing1099Type = ReturnType<typeof toFiling1099Type>;
5
3
  export interface Filing1099TinType {
6
4
  type: TinType | null;
7
5
  value: string | null;
8
6
  }
7
+ export declare const toStatusType: (v: string) => "complete" | "incomplete";
8
+ export declare type StatusType = ReturnType<typeof toStatusType>;
9
9
  export {};
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toFiling1099Type = exports.toTinType = void 0;
3
+ exports.toStatusType = exports.toTinType = void 0;
4
4
  const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
5
5
  const TIN_TYPES = ['ein', 'ssn'];
6
6
  const toTinType = (v) => (0, stringToUnion_1.stringToUnion)(v, TIN_TYPES);
7
7
  exports.toTinType = toTinType;
8
- const FILING_1099_TYPES = ['int', 'misc', 'nec'];
9
- const toFiling1099Type = (v) => (0, stringToUnion_1.stringToUnion)(v, FILING_1099_TYPES);
10
- exports.toFiling1099Type = toFiling1099Type;
8
+ const STATUS_TYPES = ['incomplete', 'complete'];
9
+ const toStatusType = (v) => (0, stringToUnion_1.stringToUnion)(v, STATUS_TYPES);
10
+ exports.toStatusType = toStatusType;
@@ -4,7 +4,7 @@ import { VendorExpenseTrend } from './vendorExpenseTrend';
4
4
  import { TimeframeTick } from '../../commonStateTypes/timeframeTick';
5
5
  import { Month } from '../../commonStateTypes/timePeriod';
6
6
  export declare function getVendor(vendorExpenseState: VendorExpenseState, vendorId: ID, timePeriod: TimeframeTick | undefined, firstMonthOfFY?: Month, filter?: VendorSpendTrendFilterTabType): VendorExpenseTrend | undefined;
7
- declare const toVendorSpendTrendFilterTabsType: (v: string) => "last_month" | "last_30_days" | "variance" | "last_90_days" | "YTD_spend" | "last_3_months" | "last_6_months" | "last_12_months" | "last_year";
8
- export declare const toVendorSpendTrendFilterTabsTypeStrict: (v: string) => "last_month" | "last_30_days" | "variance" | "last_90_days" | "YTD_spend" | "last_3_months" | "last_6_months" | "last_12_months" | "last_year" | undefined;
7
+ declare const toVendorSpendTrendFilterTabsType: (v: string) => "last_month" | "last_30_days" | "last_90_days" | "YTD_spend" | "last_3_months" | "last_6_months" | "last_12_months" | "last_year";
8
+ export declare const toVendorSpendTrendFilterTabsTypeStrict: (v: string) => "last_month" | "last_30_days" | "last_90_days" | "YTD_spend" | "last_3_months" | "last_6_months" | "last_12_months" | "last_year" | undefined;
9
9
  export declare type VendorSpendTrendFilterTabType = ReturnType<typeof toVendorSpendTrendFilterTabsType>;
10
10
  export {};
@@ -22,7 +22,6 @@ function getVendor(vendorExpenseState, vendorId, timePeriod, firstMonthOfFY, fil
22
22
  exports.getVendor = getVendor;
23
23
  const VENDOR_SPEND_TREND_FILTER_TABS_TYPES = [
24
24
  'last_30_days',
25
- 'variance',
26
25
  'last_90_days',
27
26
  'YTD_spend',
28
27
  'last_month',
package/lib/epic.d.ts CHANGED
@@ -108,8 +108,6 @@ import { ActionType as FetchZeniUsersActionType } from './view/companyView/epic/
108
108
  import { ActionType as CompanyManagementSaveUpdatesActionType } from './view/companyView/epic/companyManagementSaveUpdatesEpic';
109
109
  import { ActionType as CompanyManagementSavePendingUpdatesActionType } from './view/companyView/epic/companyManagementSavePendingUpdates';
110
110
  import { ActionType as FetchAccountListActionType } from './view/accountList/fetchAccountListEpic';
111
- import { ActionType as FetchNationalityCountryListActionType } from './view/countryList/epics/fetchNationalityCountryListEpic';
112
- import { ActionType as FetchCountryListActionType } from './view/countryList/epics/fetchCountryListEpic';
113
111
  import { ActionType as FetchClassListActionType } from './view/classList/fetchClassListEpic';
114
112
  import { ActionType as FetchMerchantListActionType } from './view/spendManagement/merchantList/fetchMerchantListEpic';
115
113
  import { PeopleSaveUpdatesActionType, InvitePeopleActionType, ChangeZeniPersonRolesActionType, InviteZeniPeopleActionType } from './view/people/helpers/updateManagersListOnRoleChange';
@@ -284,7 +282,6 @@ import { ActionType as FetchZeniAccStatePageActionType } from './view/zeniAccSta
284
282
  import { ActionType as SaveTranactionVendorActionType } from './view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic';
285
283
  import { ActionType as ResetTransactionVendorLocalDataActionType } from './view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic';
286
284
  import { ActionType as FetchVendorTypeListActionType } from './view/vendorTypeList/vendorTypeListEpic';
287
- import { ActionType as FetchVendor1099TypeListActionType } from './view/vendor1099TypeList/vendor1099TypeListEpic';
288
285
  import { ActionType as FetchMagicLinkTenantActionType } from './view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic';
289
286
  import { ActionType as FetchMagicLinkBillActionType } from './view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic';
290
287
  import { ActionType as SaveMagicLinkBankAccountActionType } from './view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic';
@@ -321,14 +318,12 @@ import { ActionType as RevokeCardInviteActionType } from './view/spendManagement
321
318
  import { ActionType as FetchCashbackDetailActionType } from './view/spendManagement/chargeCards/cashbackDetail/fetchCashbackDetailEpic';
322
319
  import { ActionType as FetchCreditAccountActionType } from './view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountEpic';
323
320
  import { ActionType as FetchChargeCardListPageActionType } from './view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic';
324
- import { ActionType as IssueChargeCardActionType } from './view/spendManagement/chargeCards/issueChargeCard/issueChargeCardEpic';
325
- import { ActionType as FetchIssueCardPageActionType } from './view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic';
321
+ import { ActionType as IssueChargeCardActionType } from './view/spendManagement/chargeCards/chargeCardList/issueChargeCardEpic';
326
322
  import { ActionType as FetchChargeCardConfigActionType } from './view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic';
327
323
  import { ActionType as AcceptChargeCardTermsActionType } from './view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic';
328
324
  import { ActionType as FetchChargeCardSetupViewActionType } from './view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic';
329
325
  import { ActionType as FetchChargeCardDetailActionType } from './view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic';
330
326
  import { ActionType as UpdateChargeCardDetailActionType } from './view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardDetailEpic';
331
- import { ActionType as UpdatePhysicalChargeCardAttemptActionType } from './view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic';
332
327
  import { ActionType as FetchChargeCardTransactionAttachmentsActionType } from './view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionAttachmentsEpic';
333
328
  import { ActionType as FetchChargeCardDetailPageActionType } from './view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailPageEpic';
334
329
  import { ActionType as FetchChargeCardTransactionListActionType } from './view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic';
@@ -355,11 +350,6 @@ import { ActionType as UpdateAmountsInScheduleAccruedDetailActionType } from './
355
350
  import { ActionType as CreateNewSchedulesActionType } from './view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic';
356
351
  import { ActionType as CreateNewSchedulesAccruedActionType } from './view/scheduleView/scheduleAccruedDetailView/epics/createNewSchedulesAccruedEpic';
357
352
  import { ActionType as SaveScheduleDetailsActionType } from './view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic';
358
- import { ActionType as FetchJEScheduleActionType } from './view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic';
359
- import { ActionType as FetchExpenseAutomationJESchedulePageActionType } from './view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic';
360
- import { ActionType as RetryExpenseAutomationJEScheduleActionType } from './view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic';
361
- import { ActionType as IgnoreExpenseAutomationJEScheduleActionType } from './view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic';
362
- import { ActionType as InitializeJeScheduleLocalDataActionType } from './view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic';
363
353
  import { ActionType as SaveScheduleAccruedDetailsActionType } from './view/scheduleView/scheduleAccruedDetailView/epics/saveScheduleAccruedDetailsEpic';
364
354
  import { ActionType as DeleteScheduleDetailActionType } from './view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic';
365
355
  import { ActionType as DeleteScheduleAccruedDetailActionType } from './view/scheduleView/scheduleAccruedDetailView/epics/deleteScheduleAccruedDetailEpic';
@@ -421,18 +411,11 @@ import { ActionType as AddCardPaymentSourceActionType } from './view/cardPayment
421
411
  import { ActionType as FetchPaymentSourcesActionType } from './view/cardPayment/epic/fetchPaymentSourcesEpic';
422
412
  import { ActionType as CreateCardSetupIntentActionType } from './view/cardPayment/epic/createCardSetupIntentEpic';
423
413
  import { ActionType as FetchBillingAccountsListActionType } from './view/settingsView/epic/fetchBillingAccountsViewEpic';
424
- import { ActionType as FetchMonthEndCloseChecksActionType } from './view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic';
425
- import { ActionType as FetchAllExpenseAutomationTabsActionType } from './view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic';
426
- import { ActionType as RefreshExpenseAutomationCurrentTabActionType } from './view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic';
427
- import { ActionType as FetchExpenseAutomationMissingReceiptsActionType } from './view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic';
428
414
  import { ActionType as ApproveOrRejectRemisBulkActionActionType } from './view/spendManagement/reimbursement/remisBulkActionView/epics/approveOrRejectRemisBulkActionEpic';
429
415
  import { ActionType as CancelOrDeleteRemisBulkActionActionType } from './view/spendManagement/reimbursement/remisBulkActionView/epics/cancelOrDeleteRemisBulkActionEpic';
430
416
  import { ActionType as ReviewDraftRemisBulkActionActionTye } from './view/spendManagement/reimbursement/remisBulkActionView/epics/reviewDraftRemisBulkActionEpic.ts';
431
417
  import { ActionType as SubmitDraftRemisBulkActionActionType } from './view/spendManagement/reimbursement/remisBulkActionView/epics/submitDraftRemisBulkActionEpic';
432
- import { ActionType as FetchIntlVerificationFormActionType } from './view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic';
433
- import { ActionType as SubmitIntlVerificationActionType } from './view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic';
434
- import { ActionType as InitializeIntlVerificationFormEpicActionType } from './view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic';
435
418
  /** Root action type is union of all the epic action type */
436
- export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | AddCardPaymentSourceActionType | ApproveOrRejectBillActionType | ApproveOrRejectBillsBulkActionActionType | ApproveOrRejectRemiActionType | ApproveOrRejectRemisBulkActionActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | BulkUpdateTasksListActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CancelOrDeleteBillsBulkActionActionType | CancelOrDeleteRemisBulkActionActionType | CancelScheduleAccruedJournalEntryActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | ConfirmCardSetupIntentActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCardSetupIntentActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesAccruedActionType | CreateNewSchedulesActionType | CreateNewTaskGroupActionType | CreatePaymentInstrumentActionType | CreateTagActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleAccruedDetailActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | DeleteTaskGroupActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListActionType | DragNDropTasksActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchAccruedScheduleListActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllExpenseAutomationTabsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTaskGroupsActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListActionType | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillingAccountsListActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchCashbackDetailActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardStatementListActionType | FetchChargeCardTransactionAttachmentsActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMetaDataActionType | FetchCompanyMonthEndReportHistoricDataActionType | FetchCompanyMonthEndReportHistoricDatesActionType | FetchCompanyMonthEndReportTemplatesActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCompanyTaskManagerViewActionType | FetchCountryListActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountListActionType | FetchDepositAccStatementListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchDuplicateReimbursementEpicActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchEligibleActionsForBillActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchEntityRecommendationsByTransactionIdActionType | FetchExcludedResourcesActionType | FetchExpenseAutomationJESchedulePageActionType | FetchExpenseAutomationMissingReceiptsActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchIntlVerificationFormActionType | FetchIssueCardPageActionType | FetchJEScheduleActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMonthEndCloseChecksActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNationalityCountryListActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchNotificationSettingsViewActionType | FetchNotificationUnreadCountActionType | FetchNotificationViewActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountBalanceActionType | FetchPaymentAccountListActionType | FetchPaymentSourcesActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationsAndUpdateMerchantRecommendationsActionType | FetchRecommendationsAndUpdateVendorRecommendationsActionType | FetchRecommendedBillExpenseActionType | FetchReferralsActionType | FetchReimbursementCardActionType | FetchReimbursementConfigActionType | FetchRemiAndInitializeLocalStoreActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailActionType | FetchRemiListActionType | FetchRemiListPerTabActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchReviewTransferDetailActionType | FetchRewardsPlanActionType | FetchScheduleAccruedDetailsActionType | FetchScheduleAccruedDetailsPageActionType | FetchScheduleDetailsActionType | FetchScheduleDetailsPageActionType | FetchScheduleListActionType | FetchSchedulesListActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskHistoryActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendor1099TypeListActionType | FetchVendorActionType | FetchVendorAndUpdateBillLocalDataActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewAttachmentsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorsActionType | FetchVendorsFiling1099ActionType | FetchVendorsFiling1099AllActionType | FetchVendorsFiling1099DownloadActionType | FetchVendorTabViewActionType | FetchVendorTypeListActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccountsPromoCardActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | IgnoreExpenseAutomationJEScheduleActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | InitializeCardUserOnboardingLocalDataActionType | InitializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeIntlVerificationFormEpicActionType | InitializeJeScheduleLocalDataActionType | InitializeMyProfileLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleAccruedDetailLocalDataActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkAsCompleteScheduleDetailActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeActionType | ParseInvoiceToBillActionType | ParseReceiptsToRemiActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | PushToastNotificationActionType | RecommendationForAccountTypeActionType | RefreshExpenseAutomationCurrentTabActionType | RefreshIntegrationsDataActionType | RejectVendorGlobalReviewActionType | ResendCardInviteActionType | ResendInviteActionType | ResendOtpActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RetryExpenseAutomationJEScheduleActionType | RetryOrRefundBillActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | ReviewDraftBillsBulkActionActionTye | ReviewDraftRemisBulkActionActionTye | RevokeCardInviteActionType | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | saveCardOnboardingUserDetailsActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveReasonForAuditRuleActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleAccruedDetailsActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorDetailsViewActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | SubmitDraftBillsBulkActionActionType | SubmitDraftRemisBulkActionActionType | SubmitIntlVerificationActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | UnlinkPaymentAccountActionType | UpdateAccruedJESchedulesActionType | UpdateAddressActionType | UpdateAmountsInScheduleAccruedDetailActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMappedCashAccountActionType | UpdateMileageDetailsActionType | UpdateMyProfileActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePhysicalChargeCardAttemptActionType | UpdatePrimaryContactActionType | UpdatePrimaryFundingAccountActionType | UpdateReferViewedActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTaskFromListViewActionType | UpdateTaskGroupNameActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactActionType | VendorFiling1099UploadDetailsSaveActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
419
+ export declare type RootActionType = AcceptBillPayTermsActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptRemiTermsActionType | AcceptZeniAccountTermsActionType | AddCardPaymentSourceActionType | ApproveOrRejectBillActionType | ApproveOrRejectBillsBulkActionActionType | ApproveOrRejectRemisBulkActionActionType | ApproveOrRejectRemiActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | BulkUpdateTasksListActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CancelOrDeleteBillsBulkActionActionType | CancelScheduleAccruedJournalEntryActionType | CancelOrDeleteRemisBulkActionActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CombinedStatementActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | ConfirmCardSetupIntentActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCardSetupIntentActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesAccruedActionType | CreateNewSchedulesActionType | CreateNewTaskGroupActionType | CreatePaymentInstrumentActionType | CreateTagActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleAccruedDetailActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | DeleteTaskGroupActionType | DeleteUserBankAccountActionType | DepositAccountTransactionListActionType | DragNDropTasksActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchAccruedScheduleListActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAllCockpitViewsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTaskGroupsActionType | FetchAllTenantsActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListActionType | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillingAccountsListActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | FetchCashbackDetailActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardSetupViewActionType | FetchChargeCardStatementListActionType | FetchChargeCardTransactionAttachmentsActionType | FetchChargeCardTransactionListActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMetaDataActionType | FetchCompanyMonthEndReportHistoricDataActionType | FetchCompanyMonthEndReportHistoricDatesActionType | FetchCompanyMonthEndReportTemplatesActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCompanyTaskManagerViewActionType | FetchCreditAccountActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountListActionType | FetchDepositAccStatementListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchDuplicateReimbursementEpicActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchEligibleActionsForBillActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchEntityRecommendationsByTransactionIdActionType | FetchExcludedResourcesActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchNotificationSettingsViewActionType | FetchNotificationUnreadCountActionType | FetchNotificationViewActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountBalanceActionType | FetchPaymentAccountListActionType | FetchPaymentSourcesActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationsAndUpdateMerchantRecommendationsActionType | FetchRecommendationsAndUpdateVendorRecommendationsActionType | FetchRecommendedBillExpenseActionType | FetchReferralsActionType | FetchReimbursementCardActionType | FetchReimbursementConfigActionType | FetchRemiAndInitializeLocalStoreActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailActionType | FetchRemiListActionType | FetchRemiListPerTabActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchReviewTransferDetailActionType | FetchRewardsPlanActionType | FetchScheduleAccruedDetailsActionType | FetchScheduleAccruedDetailsPageActionType | FetchScheduleDetailsActionType | FetchScheduleDetailsPageActionType | FetchScheduleListActionType | FetchSchedulesListActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskHistoryActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendorActionType | FetchVendorAndUpdateBillLocalDataActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewAttachmentsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorsActionType | FetchVendorsFiling1099ActionType | FetchVendorsFiling1099AllActionType | FetchVendorsFiling1099DownloadActionType | FetchVendorTabViewActionType | FetchVendorTypeListActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccountsPromoCardActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | ImproveUsingZeniGPTActionType | InitializeAccountMappingViewActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | InitializeCardUserOnboardingLocalDataActionType | InitializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeInternationalWireLocalDataActionType | InitializeMyProfileLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleAccruedDetailLocalDataActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | MarkAsCompleteScheduleDetailActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeActionType | ParseInvoiceToBillActionType | ParseReceiptsToRemiActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | PushToastNotificationActionType | RecommendationForAccountTypeActionType | RefreshIntegrationsDataActionType | RejectVendorGlobalReviewActionType | ResendCardInviteActionType | ResendInviteActionType | ResendOtpActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RetryOrRefundBillActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | ReviewDraftBillsBulkActionActionTye | ReviewDraftRemisBulkActionActionTye | RevokeCardInviteActionType | SaveAccountMappingViewActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | saveCardOnboardingUserDetailsActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveReasonForAuditRuleActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleAccruedDetailsActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorDetailsViewActionType | SaveVendorFirstReviewViewActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SignInActionType | SignOutActionType | StatementCloseDayActionType | SubmitDraftBillsBulkActionActionType | SubmitDraftRemisBulkActionActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | UnlinkPaymentAccountActionType | UpdateAccruedJESchedulesActionType | UpdateAddressActionType | UpdateAmountsInScheduleAccruedDetailActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateChargeCardDetailActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMappedCashAccountActionType | UpdateMileageDetailsActionType | UpdateMyProfileActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePrimaryContactActionType | UpdatePrimaryFundingAccountActionType | UpdateReferViewedActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTaskFromListViewActionType | UpdateTaskGroupNameActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateVendorContactActionType | VendorFiling1099UploadDetailsSaveActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
437
420
  declare const rootEpic: Epic<RootActionType>;
438
421
  export default rootEpic;