@zeniai/client-epic-state 4.9.30 → 4.9.31
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.
- package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.d.ts +8 -0
- package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.js +84 -0
- package/lib/commonStateTypes/bookCloseDateHelper.d.ts +8 -0
- package/lib/commonStateTypes/bookCloseDateHelper.js +48 -0
- package/lib/commonStateTypes/coaBalance/classBalances/getDifferenceOfBalancesGroupedByPeriod.d.ts +8 -0
- package/lib/commonStateTypes/coaBalance/classBalances/getDifferenceOfBalancesGroupedByPeriod.js +62 -0
- package/lib/commonStateTypes/currencyHelper.d.ts +1 -0
- package/lib/commonStateTypes/currencyHelper.js +7 -0
- package/lib/commonStateTypes/fileType.d.ts +3 -0
- package/lib/commonStateTypes/fileType.js +7 -0
- package/lib/commonStateTypes/fiscalYearHelpers/getActualPeriod.d.ts +4 -0
- package/lib/commonStateTypes/fiscalYearHelpers/getActualPeriod.js +38 -0
- package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.d.ts +2 -0
- package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.js +13 -0
- package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.d.ts +2 -0
- package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.js +11 -0
- package/lib/commonStateTypes/viewAndReport/reportIDHelper.d.ts +8 -0
- package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +43 -0
- package/lib/configureStore.d.ts +9 -0
- package/lib/configureStore.js +24 -0
- package/lib/entity/accountGroup/pickAndMergeForecastAcGroupReport.d.ts +3 -0
- package/lib/entity/accountGroup/pickAndMergeForecastAcGroupReport.js +85 -0
- package/lib/entity/chargeCard/chargeCardSelector.d.ts +4 -0
- package/lib/entity/chargeCard/chargeCardSelector.js +18 -0
- package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.d.ts +4 -0
- package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.js +18 -0
- package/lib/entity/company/companyHelper.d.ts +5 -0
- package/lib/entity/company/companyHelper.js +26 -0
- package/lib/entity/companyHealthMetric/companyHealthMetricSelector.d.ts +4 -0
- package/lib/entity/companyHealthMetric/companyHealthMetricSelector.js +18 -0
- package/lib/entity/customer/customerSelector.d.ts +4 -0
- package/lib/entity/customer/customerSelector.js +15 -0
- package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.d.ts +4 -0
- package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.js +18 -0
- package/lib/entity/genericEntity/entitySelector.d.ts +3 -0
- package/lib/entity/genericEntity/entitySelector.js +9 -0
- package/lib/entity/globalMerchant/globalMerchantSelector.d.ts +6 -0
- package/lib/entity/globalMerchant/globalMerchantSelector.js +27 -0
- package/lib/entity/insights/insightSelector.d.ts +3 -0
- package/lib/entity/insights/insightSelector.js +9 -0
- package/lib/entity/jeSchedules/updateJESchedulesEpic.d.ts +10 -0
- package/lib/entity/jeSchedules/updateJESchedulesEpic.js +68 -0
- package/lib/entity/onboardingCustomer/onboardingCustomerSelector.d.ts +3 -0
- package/lib/entity/onboardingCustomer/onboardingCustomerSelector.js +17 -0
- package/lib/entity/snackbar/snackbarSelector.d.ts +16 -0
- package/lib/entity/snackbar/snackbarSelector.js +12 -0
- package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountSelector.d.ts +4 -0
- package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountSelector.js +18 -0
- package/lib/entity/tenant/epic/fetchSubscriptionSummaryForTenantEpic.d.ts +18 -0
- package/lib/entity/tenant/epic/fetchSubscriptionSummaryForTenantEpic.js +16 -0
- package/lib/epic.d.ts +349 -0
- package/lib/epic.js +359 -0
- package/lib/index.d.ts +653 -0
- package/lib/index.js +1361 -0
- package/lib/init.d.ts +53 -0
- package/lib/init.js +136 -0
- package/lib/view/accountList/fetchAccountListEpic.d.ts +8 -0
- package/lib/view/accountList/fetchAccountListEpic.js +55 -0
- package/lib/view/accountMappingView/accountMappingPayload.d.ts +8 -0
- package/lib/view/accountMappingView/accountMappingPayload.js +20 -0
- package/lib/view/accountMappingView/accountMappingViewSelector.d.ts +18 -0
- package/lib/view/accountMappingView/accountMappingViewSelector.js +48 -0
- package/lib/view/accountMappingView/accountTypeRecommendation/fetchRecommendationForAccountTypeEpic.d.ts +7 -0
- package/lib/view/accountMappingView/accountTypeRecommendation/fetchRecommendationForAccountTypeEpic.js +27 -0
- package/lib/view/accountMappingView/fetchAccountListForAccountTypesEpic.d.ts +8 -0
- package/lib/view/accountMappingView/fetchAccountListForAccountTypesEpic.js +45 -0
- package/lib/view/accountMappingView/initializeAccountMappingViewEpic.d.ts +7 -0
- package/lib/view/accountMappingView/initializeAccountMappingViewEpic.js +13 -0
- package/lib/view/accountMappingView/saveAccountMappingViewEpic.d.ts +7 -0
- package/lib/view/accountMappingView/saveAccountMappingViewEpic.js +38 -0
- package/lib/view/addressView/addressViewSelector.d.ts +13 -0
- package/lib/view/addressView/addressViewSelector.js +42 -0
- package/lib/view/addressView/epic/createAddressEpic.d.ts +7 -0
- package/lib/view/addressView/epic/createAddressEpic.js +43 -0
- package/lib/view/addressView/epic/createCompanyAddressEpic.d.ts +8 -0
- package/lib/view/addressView/epic/createCompanyAddressEpic.js +49 -0
- package/lib/view/addressView/epic/createCompanyUserAddressEpic.d.ts +10 -0
- package/lib/view/addressView/epic/createCompanyUserAddressEpic.js +56 -0
- package/lib/view/addressView/epic/fetchAddressEpic.d.ts +19 -0
- package/lib/view/addressView/epic/fetchAddressEpic.js +34 -0
- package/lib/view/addressView/epic/saveNewAddressEpic.d.ts +10 -0
- package/lib/view/addressView/epic/saveNewAddressEpic.js +32 -0
- package/lib/view/addressView/epic/updateAddressEpic.d.ts +19 -0
- package/lib/view/addressView/epic/updateAddressEpic.js +30 -0
- package/lib/view/addressView/toAddressViewLocalData.d.ts +3 -0
- package/lib/view/addressView/toAddressViewLocalData.js +42 -0
- package/lib/view/apAgingView/apAgingDetail/apAgingDetailSelector.d.ts +17 -0
- package/lib/view/apAgingView/apAgingDetail/apAgingDetailSelector.js +81 -0
- package/lib/view/apAgingView/apAgingDetail/fetchApAgingDetailEpic.d.ts +8 -0
- package/lib/view/apAgingView/apAgingDetail/fetchApAgingDetailEpic.js +37 -0
- package/lib/view/apAgingView/apAgingReport/apAgingSelector.d.ts +18 -0
- package/lib/view/apAgingView/apAgingReport/apAgingSelector.js +58 -0
- package/lib/view/apAgingView/apAgingReport/fetchApAgingEpic.d.ts +8 -0
- package/lib/view/apAgingView/apAgingReport/fetchApAgingEpic.js +43 -0
- package/lib/view/arAgingView/arAgingDetail/arAgingDetailSelector.d.ts +15 -0
- package/lib/view/arAgingView/arAgingDetail/arAgingDetailSelector.js +54 -0
- package/lib/view/arAgingView/arAgingDetail/fetchArAgingDetailEpic.d.ts +8 -0
- package/lib/view/arAgingView/arAgingDetail/fetchArAgingDetailEpic.js +37 -0
- package/lib/view/arAgingView/arAgingReport/arAgingSelector.d.ts +18 -0
- package/lib/view/arAgingView/arAgingReport/arAgingSelector.js +61 -0
- package/lib/view/arAgingView/arAgingReport/fetchArAgingEpic.d.ts +8 -0
- package/lib/view/arAgingView/arAgingReport/fetchArAgingEpic.js +42 -0
- package/lib/view/auditReportView/auditReportViewSelector.d.ts +22 -0
- package/lib/view/auditReportView/auditReportViewSelector.js +34 -0
- package/lib/view/auditReportView/epics/fetchAuditReportGroupViewEpic.d.ts +7 -0
- package/lib/view/auditReportView/epics/fetchAuditReportGroupViewEpic.js +54 -0
- package/lib/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.d.ts +7 -0
- package/lib/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.js +39 -0
- package/lib/view/authenticationView/authenticationViewSelector.d.ts +7 -0
- package/lib/view/authenticationView/authenticationViewSelector.js +11 -0
- package/lib/view/authenticationView/epics/fetchCollaborationAuthTokenEpic.d.ts +8 -0
- package/lib/view/authenticationView/epics/fetchCollaborationAuthTokenEpic.js +28 -0
- package/lib/view/autoComplete/entityAutoCompleteSelector.d.ts +8 -0
- package/lib/view/autoComplete/entityAutoCompleteSelector.js +25 -0
- package/lib/view/autoComplete/fetchEntityAutoCompleteEpic.d.ts +8 -0
- package/lib/view/autoComplete/fetchEntityAutoCompleteEpic.js +41 -0
- package/lib/view/balanceSheet/balanceSheetEpic.d.ts +6 -0
- package/lib/view/balanceSheet/balanceSheetEpic.js +35 -0
- package/lib/view/balanceSheet/balanceSheetForTimeframeEpic.d.ts +9 -0
- package/lib/view/balanceSheet/balanceSheetForTimeframeEpic.js +77 -0
- package/lib/view/balanceSheet/balanceSheetSelector.d.ts +17 -0
- package/lib/view/balanceSheet/balanceSheetSelector.js +77 -0
- package/lib/view/bankAccountView/epic/createBankAccountEpic.d.ts +10 -0
- package/lib/view/bankAccountView/epic/createBankAccountEpic.js +147 -0
- package/lib/view/bankAccountView/epic/createUserBankAccountEpic.d.ts +11 -0
- package/lib/view/bankAccountView/epic/createUserBankAccountEpic.js +65 -0
- package/lib/view/bankAccountView/epic/deleteBankAccountEpic.d.ts +9 -0
- package/lib/view/bankAccountView/epic/deleteBankAccountEpic.js +59 -0
- package/lib/view/bankAccountView/epic/deleteUserBankAccountEpic.d.ts +9 -0
- package/lib/view/bankAccountView/epic/deleteUserBankAccountEpic.js +63 -0
- package/lib/view/bankAccountView/epic/fetchBankCountryNameByIbanEpic.d.ts +7 -0
- package/lib/view/bankAccountView/epic/fetchBankCountryNameByIbanEpic.js +46 -0
- package/lib/view/bankAccountView/epic/fetchBankNameByRoutingEpic.d.ts +7 -0
- package/lib/view/bankAccountView/epic/fetchBankNameByRoutingEpic.js +45 -0
- package/lib/view/bankAccountView/epic/fetchBankNameBySwiftEpic.d.ts +7 -0
- package/lib/view/bankAccountView/epic/fetchBankNameBySwiftEpic.js +45 -0
- package/lib/view/billPayCard/billPayCardSelector.d.ts +12 -0
- package/lib/view/billPayCard/billPayCardSelector.js +16 -0
- package/lib/view/billPayCard/fetchBillPayCardEpic.d.ts +9 -0
- package/lib/view/billPayCard/fetchBillPayCardEpic.js +50 -0
- package/lib/view/cardBalance/cardBalanceSelector.d.ts +31 -0
- package/lib/view/cardBalance/cardBalanceSelector.js +19 -0
- package/lib/view/cashBalance/cashBalanceSelector.d.ts +31 -0
- package/lib/view/cashBalance/cashBalanceSelector.js +19 -0
- package/lib/view/cashFlow/cashFlowEpic.d.ts +6 -0
- package/lib/view/cashFlow/cashFlowEpic.js +35 -0
- package/lib/view/cashFlow/cashFlowForTimeframeEpic.d.ts +9 -0
- package/lib/view/cashFlow/cashFlowForTimeframeEpic.js +53 -0
- package/lib/view/cashFlow/cashFlowSelector.d.ts +9 -0
- package/lib/view/cashFlow/cashFlowSelector.js +94 -0
- package/lib/view/cashFlow/cashFlowSelectorTypes.d.ts +41 -0
- package/lib/view/cashFlow/cashFlowSelectorTypes.js +87 -0
- package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +29 -0
- package/lib/view/cashInCashOut/cashInCashOutSelector.js +87 -0
- package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.d.ts +26 -0
- package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.js +15 -0
- package/lib/view/cashPosition/cashPositionSelector.d.ts +26 -0
- package/lib/view/cashPosition/cashPositionSelector.js +71 -0
- package/lib/view/cashPosition/cashPositionSelectorTypes.d.ts +18 -0
- package/lib/view/cashPosition/cashPositionSelectorTypes.js +2 -0
- package/lib/view/classList/fetchClassListEpic.d.ts +8 -0
- package/lib/view/classList/fetchClassListEpic.js +25 -0
- package/lib/view/common/zeniClearingAccountHelper.d.ts +4 -0
- package/lib/view/common/zeniClearingAccountHelper.js +13 -0
- package/lib/view/commonVendorView/commonVendorViewHelper.d.ts +20 -0
- package/lib/view/commonVendorView/commonVendorViewHelper.js +109 -0
- package/lib/view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic.d.ts +7 -0
- package/lib/view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic.js +30 -0
- package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.d.ts +9 -0
- package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js +92 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorLocalDataHelper.d.ts +3 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorLocalDataHelper.js +13 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.d.ts +17 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.js +50 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.d.ts +25 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.js +53 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.d.ts +7 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.js +68 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.d.ts +11 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.js +62 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchVendorEpic.d.ts +16 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchVendorEpic.js +70 -0
- package/lib/view/commonVendorView/vendorView/epics/initializeVendorAddressEpic.d.ts +7 -0
- package/lib/view/commonVendorView/vendorView/epics/initializeVendorAddressEpic.js +29 -0
- package/lib/view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic.d.ts +7 -0
- package/lib/view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic.js +30 -0
- package/lib/view/commonVendorView/vendorView/epics/saveVendorEpic.d.ts +14 -0
- package/lib/view/commonVendorView/vendorView/epics/saveVendorEpic.js +192 -0
- package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/fetchUserDetailEpic.d.ts +8 -0
- package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/fetchUserDetailEpic.js +25 -0
- package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/verifyUserEpic.d.ts +8 -0
- package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/verifyUserEpic.js +31 -0
- package/lib/view/commonVendorView/vendorView/epics/updateSelectedVendorForCreateFlowEpic.d.ts +7 -0
- package/lib/view/commonVendorView/vendorView/epics/updateSelectedVendorForCreateFlowEpic.js +24 -0
- package/lib/view/commonVendorView/vendorView/epics/vendorDetailLocalDataHelpers.d.ts +21 -0
- package/lib/view/commonVendorView/vendorView/epics/vendorDetailLocalDataHelpers.js +90 -0
- package/lib/view/commonVendorView/vendorView/vendorViewPayload.d.ts +30 -0
- package/lib/view/commonVendorView/vendorView/vendorViewPayload.js +93 -0
- package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +72 -0
- package/lib/view/commonVendorView/vendorView/vendorViewSelector.js +218 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.d.ts +7 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.js +29 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic.d.ts +11 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic.js +47 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.d.ts +15 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.js +63 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.d.ts +7 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.js +22 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/saveVendorsTabVendorEpic.d.ts +11 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/saveVendorsTabVendorEpic.js +57 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.d.ts +19 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.js +60 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.d.ts +29 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.js +48 -0
- package/lib/view/companyConfigView/companyConfigEpic.d.ts +7 -0
- package/lib/view/companyConfigView/companyConfigEpic.js +23 -0
- package/lib/view/companyConfigView/companyConfigSelector.d.ts +12 -0
- package/lib/view/companyConfigView/companyConfigSelector.js +12 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.d.ts +8 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.js +2 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.d.ts +41 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.js +240 -0
- package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricViewEpic.d.ts +9 -0
- package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricViewEpic.js +41 -0
- package/lib/view/companyHealthMetricView/epic/initializeCompanyHealthMetricViewLocalData.d.ts +6 -0
- package/lib/view/companyHealthMetricView/epic/initializeCompanyHealthMetricViewLocalData.js +27 -0
- package/lib/view/companyHealthMetricView/epic/saveCompanyHealthMetricByIdEpic.d.ts +9 -0
- package/lib/view/companyHealthMetricView/epic/saveCompanyHealthMetricByIdEpic.js +49 -0
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.d.ts +24 -0
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.js +59 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.d.ts +8 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.js +67 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.d.ts +7 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.js +54 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.d.ts +8 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js +46 -0
- package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.d.ts +7 -0
- package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.js +30 -0
- package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.d.ts +9 -0
- package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +77 -0
- package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.d.ts +9 -0
- package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +79 -0
- package/lib/view/companyView/companyViewPayload.d.ts +84 -0
- package/lib/view/companyView/companyViewPayload.js +2 -0
- package/lib/view/companyView/epic/companyManagementSavePendingUpdates.d.ts +7 -0
- package/lib/view/companyView/epic/companyManagementSavePendingUpdates.js +18 -0
- package/lib/view/companyView/epic/companyManagementSaveUpdatesEpic.d.ts +10 -0
- package/lib/view/companyView/epic/companyManagementSaveUpdatesEpic.js +116 -0
- package/lib/view/companyView/epic/companyPassport/createCompanyOfficersEpic.d.ts +10 -0
- package/lib/view/companyView/epic/companyPassport/createCompanyOfficersEpic.js +87 -0
- package/lib/view/companyView/epic/companyPassport/fetchCompanyPassportViewEpic.d.ts +17 -0
- package/lib/view/companyView/epic/companyPassport/fetchCompanyPassportViewEpic.js +65 -0
- package/lib/view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.d.ts +24 -0
- package/lib/view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.js +37 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.d.ts +9 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.js +49 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyOfficerEpic.d.ts +10 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyOfficerEpic.js +54 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.d.ts +6 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +39 -0
- package/lib/view/companyView/epic/companyPassport/updatePrimaryContactEpic.d.ts +20 -0
- package/lib/view/companyView/epic/companyPassport/updatePrimaryContactEpic.js +68 -0
- package/lib/view/companyView/epic/fetchAllCockpitViewsEpic.d.ts +9 -0
- package/lib/view/companyView/epic/fetchAllCockpitViewsEpic.js +65 -0
- package/lib/view/companyView/epic/fetchCompanyManagementViewEpic.d.ts +16 -0
- package/lib/view/companyView/epic/fetchCompanyManagementViewEpic.js +101 -0
- package/lib/view/companyView/epic/fetchCompanyPortfolioViewEpic.d.ts +11 -0
- package/lib/view/companyView/epic/fetchCompanyPortfolioViewEpic.js +40 -0
- package/lib/view/companyView/epic/fetchManagementViewEpic.d.ts +6 -0
- package/lib/view/companyView/epic/fetchManagementViewEpic.js +27 -0
- package/lib/view/companyView/epic/fetchOnboardingViewEpic.d.ts +7 -0
- package/lib/view/companyView/epic/fetchOnboardingViewEpic.js +36 -0
- package/lib/view/companyView/epic/fetchPortfolioViewEpic.d.ts +6 -0
- package/lib/view/companyView/epic/fetchPortfolioViewEpic.js +27 -0
- package/lib/view/companyView/epic/fetchSubscriptionViewEpic.d.ts +7 -0
- package/lib/view/companyView/epic/fetchSubscriptionViewEpic.js +29 -0
- package/lib/view/companyView/epic/fetchZeniUsersEpic.d.ts +8 -0
- package/lib/view/companyView/epic/fetchZeniUsersEpic.js +24 -0
- package/lib/view/companyView/epic/getSubscriptionIDsByCompanyID.d.ts +2 -0
- package/lib/view/companyView/epic/getSubscriptionIDsByCompanyID.js +20 -0
- package/lib/view/companyView/helpers/cockpitHelpers.d.ts +16 -0
- package/lib/view/companyView/helpers/cockpitHelpers.js +144 -0
- package/lib/view/companyView/parentSubsidiaryView/fetchParentSubsidiaryManagementViewEpic.d.ts +6 -0
- package/lib/view/companyView/parentSubsidiaryView/fetchParentSubsidiaryManagementViewEpic.js +19 -0
- package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewSelector.d.ts +4 -0
- package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewSelector.js +16 -0
- package/lib/view/companyView/selector/companyManagementViewSelector.d.ts +41 -0
- package/lib/view/companyView/selector/companyManagementViewSelector.js +406 -0
- package/lib/view/companyView/selector/companyPassportViewSelector.d.ts +36 -0
- package/lib/view/companyView/selector/companyPassportViewSelector.js +163 -0
- package/lib/view/companyView/selector/companyPortfolioViewSelector.d.ts +15 -0
- package/lib/view/companyView/selector/companyPortfolioViewSelector.js +245 -0
- package/lib/view/companyView/selector/getAllCockpitTabsFilterView.d.ts +8 -0
- package/lib/view/companyView/selector/getAllCockpitTabsFilterView.js +55 -0
- package/lib/view/companyView/types/companyPassportViewPayload.d.ts +25 -0
- package/lib/view/companyView/types/companyPassportViewPayload.js +76 -0
- package/lib/view/dashboard/dashboardSelector.d.ts +40 -0
- package/lib/view/dashboard/dashboardSelector.js +105 -0
- package/lib/view/fileView/epic/deleteFileEpic.d.ts +8 -0
- package/lib/view/fileView/epic/deleteFileEpic.js +31 -0
- package/lib/view/fileView/epic/deleteFileListEpic.d.ts +8 -0
- package/lib/view/fileView/epic/deleteFileListEpic.js +28 -0
- package/lib/view/fileView/epic/fetchFileEpic.d.ts +8 -0
- package/lib/view/fileView/epic/fetchFileEpic.js +33 -0
- package/lib/view/fileView/epic/fetchFileListEpic.d.ts +8 -0
- package/lib/view/fileView/epic/fetchFileListEpic.js +31 -0
- package/lib/view/fileView/epic/updateFileNameEpic.d.ts +8 -0
- package/lib/view/fileView/epic/updateFileNameEpic.js +34 -0
- package/lib/view/fileView/epic/updateFilesMetadataEpic.d.ts +6 -0
- package/lib/view/fileView/epic/updateFilesMetadataEpic.js +16 -0
- package/lib/view/fileView/fileDownloadHelpers.d.ts +3 -0
- package/lib/view/fileView/fileDownloadHelpers.js +42 -0
- package/lib/view/fileView/fileViewPayload.d.ts +6 -0
- package/lib/view/fileView/fileViewPayload.js +2 -0
- package/lib/view/financeStatement/financeStatementEpic.d.ts +32 -0
- package/lib/view/financeStatement/financeStatementEpic.js +44 -0
- package/lib/view/financeStatement/financeStatementSelector.d.ts +27 -0
- package/lib/view/financeStatement/financeStatementSelector.js +96 -0
- package/lib/view/forecastList/fetchForecastListEpic.d.ts +8 -0
- package/lib/view/forecastList/fetchForecastListEpic.js +20 -0
- package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.d.ts +16 -0
- package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.js +101 -0
- package/lib/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.d.ts +10 -0
- package/lib/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.js +59 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/fetchGlobalMerchantAutoCompleteViewEpic.d.ts +8 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/fetchGlobalMerchantAutoCompleteViewEpic.js +48 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewSelector.d.ts +7 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewSelector.js +14 -0
- package/lib/view/globalMerchantView/globalMerchantViewPayload.d.ts +24 -0
- package/lib/view/globalMerchantView/globalMerchantViewPayload.js +2 -0
- package/lib/view/globalMerchantView/globalMerchantViewSelector.d.ts +9 -0
- package/lib/view/globalMerchantView/globalMerchantViewSelector.js +19 -0
- package/lib/view/insightsCard/insightsCardEpic.d.ts +15 -0
- package/lib/view/insightsCard/insightsCardEpic.js +21 -0
- package/lib/view/insightsCard/insightsCardSelector.d.ts +3 -0
- package/lib/view/insightsCard/insightsCardSelector.js +18 -0
- package/lib/view/insightsCard/insightsCardSelectorTypes.d.ts +8 -0
- package/lib/view/insightsCard/insightsCardSelectorTypes.js +2 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomeEpic.d.ts +5 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomeEpic.js +35 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.d.ts +11 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.js +105 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.d.ts +17 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.js +21 -0
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelector.d.ts +3 -0
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelector.js +86 -0
- package/lib/view/onboardingView/cockpitView/epic/fetchCompanyOnboardingViewEpic.d.ts +13 -0
- package/lib/view/onboardingView/cockpitView/epic/fetchCompanyOnboardingViewEpic.js +54 -0
- package/lib/view/onboardingView/cockpitView/epic/fetchOnboardingCompletedCompaniesEpic.d.ts +8 -0
- package/lib/view/onboardingView/cockpitView/epic/fetchOnboardingCompletedCompaniesEpic.js +27 -0
- package/lib/view/onboardingView/cockpitView/epic/getOnboardingEmailGroupEpic.d.ts +7 -0
- package/lib/view/onboardingView/cockpitView/epic/getOnboardingEmailGroupEpic.js +27 -0
- package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.d.ts +6 -0
- package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +105 -0
- package/lib/view/onboardingView/cockpitView/epic/retryBankAccountConnectionForOnboardingEpic.d.ts +8 -0
- package/lib/view/onboardingView/cockpitView/epic/retryBankAccountConnectionForOnboardingEpic.js +86 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerCompletedStatusEpic.d.ts +10 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerCompletedStatusEpic.js +37 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerNotesEpic.d.ts +8 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerNotesEpic.js +36 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerViewUpdatesEpic.d.ts +14 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerViewUpdatesEpic.js +128 -0
- package/lib/view/onboardingView/cockpitView/epic/sendOnboardingCustomerViewInviteEpic.d.ts +17 -0
- package/lib/view/onboardingView/cockpitView/epic/sendOnboardingCustomerViewInviteEpic.js +114 -0
- package/lib/view/onboardingView/cockpitView/onboardingCockpitViewSelector.d.ts +55 -0
- package/lib/view/onboardingView/cockpitView/onboardingCockpitViewSelector.js +185 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerSetupViewEpic.d.ts +16 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerSetupViewEpic.js +72 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.d.ts +16 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +27 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewCompleteStatusEpic.d.ts +9 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewCompleteStatusEpic.js +41 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.d.ts +21 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +128 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.d.ts +14 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +116 -0
- package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountLoginStatusEpic.d.ts +10 -0
- package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountLoginStatusEpic.js +37 -0
- package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountStatusEpic.d.ts +10 -0
- package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountStatusEpic.js +37 -0
- package/lib/view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic.d.ts +10 -0
- package/lib/view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic.js +42 -0
- package/lib/view/onboardingView/customerView/epic/plaidConnection/getOnboardingPlaidLinkTokenEpic.d.ts +8 -0
- package/lib/view/onboardingView/customerView/epic/plaidConnection/getOnboardingPlaidLinkTokenEpic.js +31 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.d.ts +26 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.js +2 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +53 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +261 -0
- package/lib/view/onboardingView/customerView/types/paymentAccount.d.ts +8 -0
- package/lib/view/onboardingView/customerView/types/paymentAccount.js +2 -0
- package/lib/view/opExByVendor/opExByVendorSelector.d.ts +42 -0
- package/lib/view/opExByVendor/opExByVendorSelector.js +168 -0
- package/lib/view/ownerList/fetchOwnerListEpic.d.ts +8 -0
- package/lib/view/ownerList/fetchOwnerListEpic.js +35 -0
- package/lib/view/people/changeZeniPersonRolesEpic.d.ts +44 -0
- package/lib/view/people/changeZeniPersonRolesEpic.js +39 -0
- package/lib/view/people/deletePersonEpic.d.ts +31 -0
- package/lib/view/people/deletePersonEpic.js +24 -0
- package/lib/view/people/fetchAllPeopleRequiredViewsEpic.d.ts +8 -0
- package/lib/view/people/fetchAllPeopleRequiredViewsEpic.js +20 -0
- package/lib/view/people/helpers/updateManagersListOnRoleChange.d.ts +11 -0
- package/lib/view/people/helpers/updateManagersListOnRoleChange.js +16 -0
- package/lib/view/people/initializeEditPersonEpic.d.ts +5 -0
- package/lib/view/people/initializeEditPersonEpic.js +39 -0
- package/lib/view/people/invitePeopleEpic.d.ts +48 -0
- package/lib/view/people/invitePeopleEpic.js +53 -0
- package/lib/view/people/inviteZeniPeopleEpic.d.ts +50 -0
- package/lib/view/people/inviteZeniPeopleEpic.js +52 -0
- package/lib/view/people/peopleSaveUpdatesEpic.d.ts +6 -0
- package/lib/view/people/peopleSaveUpdatesEpic.js +83 -0
- package/lib/view/people/peopleSelector.d.ts +7 -0
- package/lib/view/people/peopleSelector.js +149 -0
- package/lib/view/people/resendInviteEpic.d.ts +26 -0
- package/lib/view/people/resendInviteEpic.js +25 -0
- package/lib/view/profitAndLoss/pAndLWithForecast/pAndLWithForecastSelector.d.ts +17 -0
- package/lib/view/profitAndLoss/pAndLWithForecast/pAndLWithForecastSelector.js +49 -0
- package/lib/view/profitAndLoss/profitAndLossSelector.d.ts +40 -0
- package/lib/view/profitAndLoss/profitAndLossSelector.js +104 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelector.d.ts +8 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelector.js +98 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.d.ts +13 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.js +26 -0
- package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.d.ts +10 -0
- package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.js +56 -0
- package/lib/view/recommendation/fetchRecommendationByEntityIdEpic.d.ts +7 -0
- package/lib/view/recommendation/fetchRecommendationByEntityIdEpic.js +39 -0
- package/lib/view/recommendation/fetchRecommendationByEntityNameEpic.d.ts +7 -0
- package/lib/view/recommendation/fetchRecommendationByEntityNameEpic.js +38 -0
- package/lib/view/recommendation/recommendationHelper.d.ts +6 -0
- package/lib/view/recommendation/recommendationHelper.js +58 -0
- package/lib/view/recommendation/recommendationPayload.d.ts +10 -0
- package/lib/view/recommendation/recommendationPayload.js +2 -0
- package/lib/view/referralView/epics/fetchReferralsEpic.d.ts +7 -0
- package/lib/view/referralView/epics/fetchReferralsEpic.js +36 -0
- package/lib/view/referralView/epics/fetchRewardsPlanEpic.d.ts +7 -0
- package/lib/view/referralView/epics/fetchRewardsPlanEpic.js +35 -0
- package/lib/view/referralView/epics/resendReferralInviteEpic.d.ts +8 -0
- package/lib/view/referralView/epics/resendReferralInviteEpic.js +33 -0
- package/lib/view/referralView/epics/sendReferralInviteEpic.d.ts +8 -0
- package/lib/view/referralView/epics/sendReferralInviteEpic.js +38 -0
- package/lib/view/referralView/referralSelector.d.ts +25 -0
- package/lib/view/referralView/referralSelector.js +90 -0
- package/lib/view/reimbursementCard/fetchReimbursementCardEpic.d.ts +8 -0
- package/lib/view/reimbursementCard/fetchReimbursementCardEpic.js +45 -0
- package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +12 -0
- package/lib/view/reimbursementCard/reimbursementCardSelector.js +16 -0
- package/lib/view/reportUIOptions/toggleReportUIOptionForecastModeEpic.d.ts +11 -0
- package/lib/view/reportUIOptions/toggleReportUIOptionForecastModeEpic.js +40 -0
- package/lib/view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic.d.ts +43 -0
- package/lib/view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic.js +74 -0
- package/lib/view/reportUIOptions/updateReportUIOptionCompareModeEpic.d.ts +17 -0
- package/lib/view/reportUIOptions/updateReportUIOptionCompareModeEpic.js +54 -0
- package/lib/view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic.d.ts +10 -0
- package/lib/view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic.js +68 -0
- package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.d.ts +14 -0
- package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.js +32 -0
- package/lib/view/reportUIOptions/updateReportUIOptionTimeFrameEpic.d.ts +11 -0
- package/lib/view/reportUIOptions/updateReportUIOptionTimeFrameEpic.js +15 -0
- package/lib/view/revenueClassesView/revenueClassesViewSelector.d.ts +12 -0
- package/lib/view/revenueClassesView/revenueClassesViewSelector.js +94 -0
- package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.d.ts +15 -0
- package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.js +16 -0
- package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.d.ts +7 -0
- package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.js +39 -0
- package/lib/view/reviewCompanyView/retryBankAccountConnectionEpic.d.ts +8 -0
- package/lib/view/reviewCompanyView/retryBankAccountConnectionEpic.js +77 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewSelector.d.ts +15 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewSelector.js +87 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.d.ts +6 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +35 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.d.ts +8 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.js +80 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.d.ts +8 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +58 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.d.ts +8 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +26 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.d.ts +6 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.js +35 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.d.ts +11 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +101 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.d.ts +6 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.js +36 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +64 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +171 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +33 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +99 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.d.ts +8 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.js +53 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.d.ts +17 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.js +66 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.d.ts +6 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.js +15 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListHelper.d.ts +97 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListHelper.js +269 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListPayload.d.ts +7 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListPayload.js +2 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListSelector.d.ts +36 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +210 -0
- package/lib/view/settingsView/epic/fetchBankAccountsListEpic.d.ts +22 -0
- package/lib/view/settingsView/epic/fetchBankAccountsListEpic.js +30 -0
- package/lib/view/settingsView/epic/fetchBankConnectionsViewEpic.d.ts +6 -0
- package/lib/view/settingsView/epic/fetchBankConnectionsViewEpic.js +14 -0
- package/lib/view/settingsView/epic/fetchMyProfileEpic.d.ts +43 -0
- package/lib/view/settingsView/epic/fetchMyProfileViewEpic.d.ts +7 -0
- package/lib/view/settingsView/epic/fetchMyProfileViewEpic.js +17 -0
- package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.d.ts +17 -0
- package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.js +23 -0
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +31 -0
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.js +70 -0
- package/lib/view/settingsView/settingsViewHelpers.d.ts +12 -0
- package/lib/view/settingsView/settingsViewHelpers.js +116 -0
- package/lib/view/settingsView/settingsViewSelector.d.ts +16 -0
- package/lib/view/settingsView/settingsViewSelector.js +122 -0
- package/lib/view/settingsView/types/settingsViewSelectorTypes.d.ts +29 -0
- package/lib/view/settingsView/types/settingsViewSelectorTypes.js +2 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.d.ts +11 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.js +54 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.d.ts +13 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.js +78 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.d.ts +10 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.js +66 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.d.ts +41 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +161 -0
- package/lib/view/spendManagement/billPay/billList/billListDownloadSelector.d.ts +12 -0
- package/lib/view/spendManagement/billPay/billList/billListDownloadSelector.js +69 -0
- package/lib/view/spendManagement/billPay/billList/fetchBillListEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/billList/fetchBillListEpic.js +42 -0
- package/lib/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.d.ts +11 -0
- package/lib/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.js +49 -0
- package/lib/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.js +29 -0
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.d.ts +18 -0
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic.d.ts +8 -0
- package/lib/view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic.js +42 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.d.ts +12 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/deleteBillPayApprovalRuleEpic.d.ts +10 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/deleteBillPayApprovalRuleEpic.js +40 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.js +29 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversListEpic.d.ts +9 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversListEpic.js +40 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPaySetupApproverViewEpic.d.ts +9 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPaySetupApproverViewEpic.js +42 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.d.ts +5 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.js +37 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/saveBillPaySetupApproverViewUpdatesEpic.d.ts +10 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/saveBillPaySetupApproverViewUpdatesEpic.js +67 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.d.ts +19 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +50 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.d.ts +6 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewSelector.d.ts +16 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewSelector.js +29 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.d.ts +16 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.js +70 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayTermsEpic.d.ts +11 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayTermsEpic.js +44 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayUpdatedTermsEpic.d.ts +11 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayUpdatedTermsEpic.js +44 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.d.ts +10 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.js +2 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.js +88 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.d.ts +13 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.js +58 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.d.ts +14 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js +94 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorByNameAndParseInvoice.d.ts +14 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorByNameAndParseInvoice.js +39 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.d.ts +15 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.js +214 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.d.ts +14 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +406 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +17 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +255 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic.d.ts +11 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic.js +116 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/createInternationalPaymentInstrumentEpic.d.ts +10 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/createInternationalPaymentInstrumentEpic.js +117 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/deletePaymentInstrumentEpic.d.ts +9 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/deletePaymentInstrumentEpic.js +59 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/fetchInternationalWireDynamicFormEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/fetchInternationalWireDynamicFormEpic.js +54 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/initializeDynamicFormEpic.d.ts +8 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/initializeDynamicFormEpic.js +41 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/initializeInternationalWireLocalDataEpic.d.ts +6 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/initializeInternationalWireLocalDataEpic.js +49 -0
- package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.d.ts +12 -0
- package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.js +49 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic.js +44 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic.js +44 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.js +42 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic.js +35 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic.d.ts +8 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic.js +97 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.d.ts +41 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewSelector.d.ts +15 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewSelector.js +57 -0
- package/lib/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.d.ts +8 -0
- package/lib/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.js +66 -0
- package/lib/view/spendManagement/billPay/previousBills/previousBillsPayload.d.ts +24 -0
- package/lib/view/spendManagement/billPay/previousBills/previousBillsPayload.js +2 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic.d.ts +7 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic.js +32 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectSelector.d.ts +3 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectSelector.js +12 -0
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic.d.ts +7 -0
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic.js +23 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.d.ts +18 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +73 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.d.ts +11 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +58 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailPageEpic.d.ts +7 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailPageEpic.js +45 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.d.ts +8 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.js +44 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardDetailEpic.d.ts +11 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardDetailEpic.js +60 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.d.ts +31 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +92 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListEpic.d.ts +10 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListEpic.js +26 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.d.ts +9 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.js +51 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountEpic.d.ts +7 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountEpic.js +23 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/issueChargeCardEpic.d.ts +11 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/issueChargeCardEpic.js +65 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.d.ts +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.d.ts +18 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.js +33 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic.d.ts +11 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic.js +44 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.d.ts +16 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.js +70 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.d.ts +10 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.js +2 -0
- package/lib/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.d.ts +7 -0
- package/lib/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.js +61 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/getPaymentAccountsEpic.d.ts +9 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/getPaymentAccountsEpic.js +33 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountEpic.d.ts +9 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountEpic.js +31 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountLoginStatusEpic.d.ts +10 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountLoginStatusEpic.js +37 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountStatusEpic.d.ts +10 -0
- package/lib/view/spendManagement/commonSetup/epic/paymentAccounts/updatePaymentAccountStatusEpic.js +37 -0
- package/lib/view/spendManagement/commonSetup/epic/plaidConnection/establishPlaidConnectionEpic.d.ts +13 -0
- package/lib/view/spendManagement/commonSetup/epic/plaidConnection/establishPlaidConnectionEpic.js +70 -0
- package/lib/view/spendManagement/commonSetup/epic/plaidConnection/getPlaidLinkTokenEpic.d.ts +15 -0
- package/lib/view/spendManagement/commonSetup/epic/plaidConnection/getPlaidLinkTokenEpic.js +52 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/enableSetupEpic.d.ts +10 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/enableSetupEpic.js +52 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +25 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +248 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.d.ts +14 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +135 -0
- package/lib/view/spendManagement/commonSetup/setupViewPayload.d.ts +21 -0
- package/lib/view/spendManagement/commonSetup/setupViewPayload.js +2 -0
- package/lib/view/spendManagement/commonSetup/types/paymentAccount.d.ts +10 -0
- package/lib/view/spendManagement/commonSetup/types/paymentAccount.js +2 -0
- package/lib/view/spendManagement/commonSetup/types/plaidConnection.d.ts +6 -0
- package/lib/view/spendManagement/commonSetup/types/plaidConnection.js +2 -0
- package/lib/view/spendManagement/merchantList/fetchMerchantListEpic.d.ts +10 -0
- package/lib/view/spendManagement/merchantList/fetchMerchantListEpic.js +31 -0
- package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.d.ts +8 -0
- package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.js +2 -0
- package/lib/view/spendManagement/realTimeApprovalView/saveRealTimeApprovalEpic.d.ts +11 -0
- package/lib/view/spendManagement/realTimeApprovalView/saveRealTimeApprovalEpic.js +127 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.d.ts +7 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.js +63 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.d.ts +13 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.js +78 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.d.ts +16 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.js +127 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.d.ts +12 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js +56 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.d.ts +10 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.js +165 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.d.ts +15 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.js +123 -0
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.d.ts +8 -0
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.js +25 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.d.ts +11 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.js +57 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.d.ts +9 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.js +66 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.d.ts +9 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.js +55 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.d.ts +7 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.js +66 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.d.ts +19 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js +116 -0
- package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListEpic.d.ts +7 -0
- package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListEpic.js +42 -0
- package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.d.ts +10 -0
- package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.js +51 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListDownloadSelector.d.ts +14 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListDownloadSelector.js +75 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic.d.ts +10 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic.js +40 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversDetailsEpic.d.ts +7 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversDetailsEpic.js +29 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversListEpic.d.ts +10 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversListEpic.js +40 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiSetupApproverViewEpic.d.ts +9 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiSetupApproverViewEpic.js +42 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.d.ts +5 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.js +37 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/saveRemiSetupApproverViewUpdatesEpic.d.ts +10 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/saveRemiSetupApproverViewUpdatesEpic.js +67 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.d.ts +14 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.js +2 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/fetchRemiSetupViewEpic.d.ts +16 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/fetchRemiSetupViewEpic.js +72 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateMileageDetailsEpic.d.ts +16 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateMileageDetailsEpic.js +80 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.d.ts +13 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.js +41 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptEmployeeRemiTermsEpic.d.ts +9 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptEmployeeRemiTermsEpic.js +38 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptRemiTermsEpic.d.ts +11 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptRemiTermsEpic.js +44 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.d.ts +6 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.js +2 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewSelector.d.ts +26 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewSelector.js +44 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.d.ts +14 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.d.ts +8 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.js +49 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositSelector.d.ts +15 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositSelector.js +32 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.d.ts +26 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.js +87 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.d.ts +11 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.js +53 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.d.ts +8 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.js +36 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.d.ts +7 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.js +38 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.js +68 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.js +38 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.d.ts +17 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector.js +26 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.d.ts +8 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.js +58 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.js +35 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListPayload.d.ts +3 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListPayload.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/unlinkPaymentAccountEpic.d.ts +8 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/unlinkPaymentAccountEpic.js +54 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.js +58 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.d.ts +10 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.js +69 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic.d.ts +9 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic.js +38 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.d.ts +22 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.js +59 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/acceptZeniAccountTermsEpic.d.ts +11 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/acceptZeniAccountTermsEpic.js +45 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.d.ts +16 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.js +71 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.d.ts +10 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.d.ts +6 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector.d.ts +18 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector.js +33 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.d.ts +8 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.js +33 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.d.ts +14 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.js +23 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionAddOnsEpic.d.ts +8 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionAddOnsEpic.js +39 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionCouponsEpic.d.ts +8 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionCouponsEpic.js +39 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionCreateEstimateEpic.d.ts +7 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionCreateEstimateEpic.js +49 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionDetailsEpic.d.ts +12 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionDetailsEpic.js +73 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionListEpic.d.ts +22 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionListEpic.js +87 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionPlansEpic.d.ts +8 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionPlansEpic.js +38 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionUpdateEstimateEpic.d.ts +7 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionUpdateEstimateEpic.js +52 -0
- package/lib/view/subscriptionView/epic/initializeSubscriptionLocalDataEpic.d.ts +5 -0
- package/lib/view/subscriptionView/epic/initializeSubscriptionLocalDataEpic.js +44 -0
- package/lib/view/subscriptionView/epic/saveSubscriptionNotesUpdatesEpic.d.ts +7 -0
- package/lib/view/subscriptionView/epic/saveSubscriptionNotesUpdatesEpic.js +36 -0
- package/lib/view/subscriptionView/epic/saveSubscriptionUpdatesEpic.d.ts +11 -0
- package/lib/view/subscriptionView/epic/saveSubscriptionUpdatesEpic.js +92 -0
- package/lib/view/subscriptionView/reduceSubscriptionViewFetchState.d.ts +3 -0
- package/lib/view/subscriptionView/reduceSubscriptionViewFetchState.js +49 -0
- package/lib/view/subscriptionView/selectorHelpers.d.ts +4 -0
- package/lib/view/subscriptionView/selectorHelpers.js +33 -0
- package/lib/view/subscriptionView/subscriptionViewPayload.d.ts +78 -0
- package/lib/view/subscriptionView/subscriptionViewPayload.js +42 -0
- package/lib/view/subscriptionView/subscriptionViewSelector.d.ts +7 -0
- package/lib/view/subscriptionView/subscriptionViewSelector.js +416 -0
- package/lib/view/subscriptionView/subscriptionViewSelectorTypes.d.ts +56 -0
- package/lib/view/subscriptionView/subscriptionViewSelectorTypes.js +2 -0
- package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.d.ts +15 -0
- package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.js +69 -0
- package/lib/view/taskManager/taskDetailView/epics/deleteTaskEpic.d.ts +7 -0
- package/lib/view/taskManager/taskDetailView/epics/deleteTaskEpic.js +46 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.d.ts +9 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.js +66 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailPageEpic.d.ts +8 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailPageEpic.js +38 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskHistoryEpic.d.ts +7 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskHistoryEpic.js +54 -0
- package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.d.ts +6 -0
- package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +36 -0
- package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.d.ts +8 -0
- package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +79 -0
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.d.ts +25 -0
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +182 -0
- package/lib/view/taskManager/taskListView/fetchTaskListEpic.d.ts +8 -0
- package/lib/view/taskManager/taskListView/fetchTaskListEpic.js +33 -0
- package/lib/view/taskManager/taskListView/fetchTaskListPageEpic.d.ts +8 -0
- package/lib/view/taskManager/taskListView/fetchTaskListPageEpic.js +32 -0
- package/lib/view/taskManager/taskListView/taskListPayload.d.ts +6 -0
- package/lib/view/taskManager/taskListView/taskListPayload.js +2 -0
- package/lib/view/tasksCard/fetchTasksCardEpic.d.ts +14 -0
- package/lib/view/tasksCard/fetchTasksCardEpic.js +19 -0
- package/lib/view/tasksCard/tasksCardSelector.d.ts +20 -0
- package/lib/view/tasksCard/tasksCardSelector.js +53 -0
- package/lib/view/topEx/topExSelector.d.ts +38 -0
- package/lib/view/topEx/topExSelector.js +69 -0
- package/lib/view/topEx/topExSelectorTypes.d.ts +35 -0
- package/lib/view/topEx/topExSelectorTypes.js +2 -0
- package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.d.ts +5 -0
- package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.js +28 -0
- package/lib/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.d.ts +8 -0
- package/lib/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.js +52 -0
- package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.d.ts +5 -0
- package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.js +32 -0
- package/lib/view/transactionDetail/epics/saveTransactionHelper.d.ts +21 -0
- package/lib/view/transactionDetail/epics/saveTransactionHelper.js +288 -0
- package/lib/view/transactionDetail/epics/transactionDetailEpic.d.ts +14 -0
- package/lib/view/transactionDetail/epics/transactionDetailEpic.js +130 -0
- package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.d.ts +9 -0
- package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +214 -0
- package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.d.ts +10 -0
- package/lib/view/transactionDetail/epics/uploadMissingReceiptSuccessEpic.js +15 -0
- package/lib/view/transactionDetail/transactionDetailPayload.d.ts +34 -0
- package/lib/view/transactionDetail/transactionDetailPayload.js +2 -0
- package/lib/view/transactionDetail/transactionDetailSelector.d.ts +34 -0
- package/lib/view/transactionDetail/transactionDetailSelector.js +168 -0
- package/lib/view/transactionList/fetchTransactionListByAccountEpic.d.ts +8 -0
- package/lib/view/transactionList/fetchTransactionListByAccountEpic.js +58 -0
- package/lib/view/transactionList/fetchTransactionListByClassEpic.d.ts +8 -0
- package/lib/view/transactionList/fetchTransactionListByClassEpic.js +53 -0
- package/lib/view/transactionList/fetchTransactionListByEntityEpic.d.ts +8 -0
- package/lib/view/transactionList/fetchTransactionListByEntityEpic.js +53 -0
- package/lib/view/transactionList/fetchTransactionsListByCategoryTypeEpic.d.ts +8 -0
- package/lib/view/transactionList/fetchTransactionsListByCategoryTypeEpic.js +71 -0
- package/lib/view/transactionList/parallelFetchClassTransactionListEpic.d.ts +12 -0
- package/lib/view/transactionList/parallelFetchClassTransactionListEpic.js +84 -0
- package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.d.ts +14 -0
- package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.js +90 -0
- package/lib/view/transactionList/parallelFetchTransactionListByCategoryTypeEpic.d.ts +6 -0
- package/lib/view/transactionList/parallelFetchTransactionListByCategoryTypeEpic.js +36 -0
- package/lib/view/transactionList/transactionListByAccountSelector.d.ts +21 -0
- package/lib/view/transactionList/transactionListByAccountSelector.js +65 -0
- package/lib/view/transactionList/transactionListByCategoryTypeSelector.d.ts +15 -0
- package/lib/view/transactionList/transactionListByCategoryTypeSelector.js +54 -0
- package/lib/view/transactionList/transactionListByClassSelector.d.ts +22 -0
- package/lib/view/transactionList/transactionListByClassSelector.js +66 -0
- package/lib/view/trend/fetchExpenseTrendEpic.d.ts +8 -0
- package/lib/view/trend/fetchExpenseTrendEpic.js +59 -0
- package/lib/view/trend/fetchIncomeTrendEpic.d.ts +7 -0
- package/lib/view/trend/fetchIncomeTrendEpic.js +56 -0
- package/lib/view/trendWithTransactions/fetchTransactionsForEntityEpic.d.ts +7 -0
- package/lib/view/trendWithTransactions/fetchTransactionsForEntityEpic.js +18 -0
- package/lib/view/trendWithTransactions/fetchTrendForEntityEpic.d.ts +7 -0
- package/lib/view/trendWithTransactions/fetchTrendForEntityEpic.js +20 -0
- package/lib/view/twoFactorAuthentication/resendOtpEpic.d.ts +10 -0
- package/lib/view/twoFactorAuthentication/resendOtpEpic.js +90 -0
- package/lib/view/twoFactorAuthentication/sendOtpEpic.d.ts +10 -0
- package/lib/view/twoFactorAuthentication/sendOtpEpic.js +93 -0
- package/lib/view/twoFactorAuthentication/verifyOtpEpic.d.ts +10 -0
- package/lib/view/twoFactorAuthentication/verifyOtpEpic.js +90 -0
- package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.d.ts +12 -0
- package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.js +55 -0
- package/lib/view/userFinancialAccount/userFinancialAccountSelector.d.ts +14 -0
- package/lib/view/userFinancialAccount/userFinancialAccountSelector.js +35 -0
- package/lib/view/userListView/fetchUserListByTypeEpic.d.ts +30 -0
- package/lib/view/userListView/fetchUserListByTypeEpic.js +55 -0
- package/lib/view/userListView/userListViewPayload.d.ts +8 -0
- package/lib/view/userListView/userListViewPayload.js +2 -0
- package/lib/view/userRoleConfigView/userRoleConfigEpic.d.ts +7 -0
- package/lib/view/userRoleConfigView/userRoleConfigEpic.js +29 -0
- package/lib/view/userRoleConfigView/userRoleConfigSelector.d.ts +12 -0
- package/lib/view/userRoleConfigView/userRoleConfigSelector.js +12 -0
- package/lib/view/vendorList/fetchVendorsListEpic.d.ts +17 -0
- package/lib/view/vendorList/fetchVendorsListEpic.js +95 -0
- package/lib/view/vendorList/vendorListSelector.d.ts +29 -0
- package/lib/view/vendorList/vendorListSelector.js +78 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewViewEpic.d.ts +17 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewViewEpic.js +94 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.d.ts +10 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +201 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.d.ts +39 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.js +97 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/approveVendorGlobalReviewEpic.d.ts +7 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/approveVendorGlobalReviewEpic.js +119 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic.d.ts +17 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic.js +96 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/rejectVendorGlobalReviewEpic.d.ts +7 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/rejectVendorGlobalReviewEpic.js +92 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.d.ts +22 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.js +58 -0
- package/lib/view/vendorTypeList/vendorTypeListEpic.d.ts +7 -0
- package/lib/view/vendorTypeList/vendorTypeListEpic.js +23 -0
- package/lib/view/vendorTypeList/vendorTypeSelector.d.ts +12 -0
- package/lib/view/vendorTypeList/vendorTypeSelector.js +12 -0
- package/lib/view/zeniAccStatementList/fetchZeniAccStatementListEpic.d.ts +7 -0
- package/lib/view/zeniAccStatementList/fetchZeniAccStatementListEpic.js +37 -0
- package/lib/view/zeniAccStatementList/fetchZeniAccStatementPageEpic.d.ts +7 -0
- package/lib/view/zeniAccStatementList/fetchZeniAccStatementPageEpic.js +37 -0
- package/lib/view/zeniAccStatementList/zeniAccStatementListSelector.d.ts +10 -0
- package/lib/view/zeniAccStatementList/zeniAccStatementListSelector.js +40 -0
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.d.ts +13 -0
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.js +20 -0
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.d.ts +14 -0
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.js +18 -0
- package/package.json +1 -1
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.saveVendorEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const responsePayload_1 = require("../../../../responsePayload");
|
|
7
|
+
const vendorViewPayload_1 = require("../vendorViewPayload");
|
|
8
|
+
const vendorViewReducer_1 = require("../vendorViewReducer");
|
|
9
|
+
const vendorReducer_1 = require("../../../../entity/vendor/vendorReducer");
|
|
10
|
+
const vendorPayload_1 = require("../../../../entity/vendor/vendorPayload");
|
|
11
|
+
const addressReducer_1 = require("../../../../entity/address/addressReducer");
|
|
12
|
+
const editBillViewReducer_1 = require("../../../spendManagement/billPay/editBillView/editBillViewReducer");
|
|
13
|
+
const billDetailViewState_1 = require("../../../spendManagement/billPay/billDetailView/billDetailViewState");
|
|
14
|
+
const previousBillsReducer_1 = require("../../../spendManagement/billPay/previousBills/previousBillsReducer");
|
|
15
|
+
const accountSelector_1 = require("../../../../entity/account/accountSelector");
|
|
16
|
+
const contactReducer_1 = require("../../../../entity/billPay/contact/contactReducer");
|
|
17
|
+
const bankAccountReducer_1 = require("../../../../entity/bankAccount/bankAccountReducer");
|
|
18
|
+
const commonVendorViewHelper_1 = require("../../commonVendorViewHelper");
|
|
19
|
+
const snackbarReducer_1 = require("../../../../entity/snackbar/snackbarReducer");
|
|
20
|
+
const paymentInstrumentReducer_1 = require("../../../../entity/paymentInstrument/paymentInstrumentReducer");
|
|
21
|
+
const classSelectorV2_1 = require("../../../../entity/class/classSelectorV2");
|
|
22
|
+
const editBillViewState_1 = require("../../../spendManagement/billPay/editBillView/editBillViewState");
|
|
23
|
+
const currencyHelper_1 = require("../../../../commonStateTypes/currencyHelper");
|
|
24
|
+
const zeniDayJS_1 = require("../../../../zeniDayJS");
|
|
25
|
+
const workingDayHelper_1 = require("../../../../commonStateTypes/workingDayHelper");
|
|
26
|
+
const companySelector_1 = require("../../../../entity/company/companySelector");
|
|
27
|
+
const saveVendorEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(vendorViewReducer_1.saveVendor.match), (0, operators_1.mergeMap)((action) => {
|
|
28
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
29
|
+
const state = state$.value;
|
|
30
|
+
const newlySelectedVendor = (_b = (_a = state.vendorViewState.newVendorState) === null || _a === void 0 ? void 0 : _a.vendorDetailLocalData) === null || _b === void 0 ? void 0 : _b.vendorId;
|
|
31
|
+
const vendorDetailsUpdated = action.payload.vendorId != null
|
|
32
|
+
? state.vendorViewState.editVendorStateById[action.payload.vendorId]
|
|
33
|
+
.vendorDetailLocalData
|
|
34
|
+
: state.vendorViewState.newVendorState.vendorDetailLocalData;
|
|
35
|
+
const effectiveVendorId = (_c = action.payload.vendorId) !== null && _c !== void 0 ? _c : newlySelectedVendor;
|
|
36
|
+
const payload = (0, vendorViewPayload_1.prepareEditVendorPayload)(state, vendorDetailsUpdated !== null && vendorDetailsUpdated !== void 0 ? vendorDetailsUpdated : vendorViewReducer_1.initialVendorDetailLocalData, effectiveVendorId);
|
|
37
|
+
let billInLocalStore = state.editBillDetailViewState.newBillState;
|
|
38
|
+
const { tenantState, companyState } = state;
|
|
39
|
+
const { currentTenantId } = tenantState;
|
|
40
|
+
const companyId = currentTenantId != null
|
|
41
|
+
? (_e = (_d = tenantState.tenantsById) === null || _d === void 0 ? void 0 : _d[currentTenantId]) === null || _e === void 0 ? void 0 : _e.companyId
|
|
42
|
+
: undefined;
|
|
43
|
+
const currentCompany = (0, companySelector_1.getCompanyByCompanyId)(companyState, companyId !== null && companyId !== void 0 ? companyId : '');
|
|
44
|
+
const payNowCutOffTime = currentCompany === null || currentCompany === void 0 ? void 0 : currentCompany.company.companyBillPayInfo.payNowCutOffTimeByMethod.ach;
|
|
45
|
+
const isPayNowEnabled = payNowCutOffTime != null
|
|
46
|
+
? (0, zeniDayJS_1.dateNow)().isSameOrBefore(payNowCutOffTime)
|
|
47
|
+
: false;
|
|
48
|
+
if (action.payload.billId != null) {
|
|
49
|
+
const billDetailKey = (0, billDetailViewState_1.getBillTransactionDetailKey)(action.payload.billId);
|
|
50
|
+
billInLocalStore =
|
|
51
|
+
state.editBillDetailViewState.editBillStateById[billDetailKey];
|
|
52
|
+
}
|
|
53
|
+
const isCancelled = billInLocalStore.billDetailLocalData.isCancelled;
|
|
54
|
+
const lines = billInLocalStore.billDetailLocalData.updatesByLineId;
|
|
55
|
+
const saveVendorApi = effectiveVendorId != null
|
|
56
|
+
? zeniAPI.putAndGetJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/vendors/${effectiveVendorId}`, payload)
|
|
57
|
+
: zeniAPI.postAndGetJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/vendors`, payload);
|
|
58
|
+
const userId = (_g = (_f = state.tenantState.loggedInUser) === null || _f === void 0 ? void 0 : _f.userId) !== null && _g !== void 0 ? _g : '';
|
|
59
|
+
return saveVendorApi.pipe((0, operators_1.mergeMap)((response) => {
|
|
60
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
|
|
61
|
+
if ((0, responsePayload_1.isSuccessResponse)(response)) {
|
|
62
|
+
const updatedVendor = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.vendors[0]) != null
|
|
63
|
+
? (0, vendorPayload_1.mapVendorPayloadToVendor)((_b = response.data) === null || _b === void 0 ? void 0 : _b.vendors[0])
|
|
64
|
+
: undefined;
|
|
65
|
+
const updatedLines = Object.assign({}, lines);
|
|
66
|
+
if (updatedVendor != null) {
|
|
67
|
+
const vendorCategory = updatedVendor.accountId != null
|
|
68
|
+
? (0, accountSelector_1.getAccountBase)(state.accountState, updatedVendor.accountId, 'account_list')
|
|
69
|
+
: undefined;
|
|
70
|
+
const vendorClass = updatedVendor.classId != null
|
|
71
|
+
? (0, classSelectorV2_1.getClassById)(state.classState, {
|
|
72
|
+
classId: updatedVendor.classId,
|
|
73
|
+
reportId: 'class_list',
|
|
74
|
+
})
|
|
75
|
+
: undefined;
|
|
76
|
+
const vendorCurrencyCode = updatedVendor.vendorCurrencyCode;
|
|
77
|
+
const vendorCurrencySymbol = updatedVendor.vendorCurrencySymbol;
|
|
78
|
+
Object.keys(updatedLines).forEach((lineId) => {
|
|
79
|
+
var _a, _b;
|
|
80
|
+
const line = lines[lineId];
|
|
81
|
+
updatedLines[lineId] = Object.assign(Object.assign({}, line), { account: Boolean((_a = line.account) === null || _a === void 0 ? void 0 : _a.accountId) === false &&
|
|
82
|
+
vendorCategory != null
|
|
83
|
+
? vendorCategory
|
|
84
|
+
: line.account, class: Boolean((_b = line.class) === null || _b === void 0 ? void 0 : _b.classId) === false &&
|
|
85
|
+
vendorClass != null
|
|
86
|
+
? vendorClass
|
|
87
|
+
: line.class });
|
|
88
|
+
});
|
|
89
|
+
//when it's a new bill and it doesn't have any line item, we want to default the account and class to vendor's account and class
|
|
90
|
+
if (Object.keys(updatedLines).length === 0) {
|
|
91
|
+
updatedLines['1'] = Object.assign({ account: vendorCategory, class: vendorClass, amount: {
|
|
92
|
+
amount: 0,
|
|
93
|
+
currencyCode: vendorCurrencyCode,
|
|
94
|
+
currencySymbol: vendorCurrencySymbol,
|
|
95
|
+
}, id: '1', lineDescription: '', platformLineDetailType: 'account_based_expense_line_detail', type: 'transaction_with_account_and_class_line', billable: 'not_billable', isCategoryMiscategorized: false, isClassMiscategorized: false }, editBillViewState_1.defaultRecommendationStateObj);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
const flattenededAddresses = (0, commonVendorViewHelper_1.getFlattenedAddress)((_d = (_c = response.data) === null || _c === void 0 ? void 0 : _c.vendors) !== null && _d !== void 0 ? _d : []);
|
|
99
|
+
const actions = [
|
|
100
|
+
(0, vendorReducer_1.updateVendors)((_f = (_e = response.data) === null || _e === void 0 ? void 0 : _e.vendors) !== null && _f !== void 0 ? _f : []),
|
|
101
|
+
(0, contactReducer_1.updateContacts)((_h = (_g = response.data) === null || _g === void 0 ? void 0 : _g.vendors[0].contacts) !== null && _h !== void 0 ? _h : []),
|
|
102
|
+
(0, addressReducer_1.updateAddresses)(flattenededAddresses),
|
|
103
|
+
(0, bankAccountReducer_1.updateBankAccounts)((_k = (_j = response.data) === null || _j === void 0 ? void 0 : _j.vendors[0].bank_accounts) !== null && _k !== void 0 ? _k : []),
|
|
104
|
+
(0, paymentInstrumentReducer_1.updatePaymentInstruments)((_m = (_l = response.data) === null || _l === void 0 ? void 0 : _l.vendors[0].payment_instruments) !== null && _m !== void 0 ? _m : []),
|
|
105
|
+
];
|
|
106
|
+
if (action.payload.view !== 'vendorsTab') {
|
|
107
|
+
if ((updatedVendor === null || updatedVendor === void 0 ? void 0 : updatedVendor.vendorCurrencyCode) != null &&
|
|
108
|
+
!(0, currencyHelper_1.isUsdCurrency)(updatedVendor.vendorCurrencyCode)) {
|
|
109
|
+
actions.push((0, editBillViewReducer_1.convertAmountToHomeCurrency)(true, {
|
|
110
|
+
amount: (_p = (_o = billInLocalStore.billDetailLocalData.totalAmount) === null || _o === void 0 ? void 0 : _o.amount) !== null && _p !== void 0 ? _p : 0,
|
|
111
|
+
currencyCode: (_q = updatedVendor.vendorCurrencyCode) !== null && _q !== void 0 ? _q : 'USD',
|
|
112
|
+
currencySymbol: (_r = updatedVendor.vendorCurrencySymbol) !== null && _r !== void 0 ? _r : '$',
|
|
113
|
+
}, 'USD', action.payload.billId));
|
|
114
|
+
}
|
|
115
|
+
const originalShowVendorGptRecommendationText = billInLocalStore.billDetailLocalData
|
|
116
|
+
.showVendorGptRecommendationText;
|
|
117
|
+
const recommendedVendorId = billInLocalStore.billDetailLocalData.recommendedVendorId;
|
|
118
|
+
const vendorId = (_s = billInLocalStore.billDetailLocalData.vendor) === null || _s === void 0 ? void 0 : _s.id;
|
|
119
|
+
const tentativeVendorName = billInLocalStore.addBillAutoFields.tentativeVendorName;
|
|
120
|
+
let showVendorGptRecommendationText;
|
|
121
|
+
// recommended vendor is same as updated Vendor
|
|
122
|
+
if (recommendedVendorId != null &&
|
|
123
|
+
recommendedVendorId === (updatedVendor === null || updatedVendor === void 0 ? void 0 : updatedVendor.id)) {
|
|
124
|
+
showVendorGptRecommendationText = true;
|
|
125
|
+
}
|
|
126
|
+
// updated vendor is not same as current vendor in bill
|
|
127
|
+
else if (vendorId != null &&
|
|
128
|
+
(updatedVendor === null || updatedVendor === void 0 ? void 0 : updatedVendor.id) != null &&
|
|
129
|
+
vendorId !== updatedVendor.id) {
|
|
130
|
+
showVendorGptRecommendationText = false;
|
|
131
|
+
}
|
|
132
|
+
//updated vendor name is not same as tentativeVendorName in case of setup vendor
|
|
133
|
+
else if (Boolean(tentativeVendorName) === true &&
|
|
134
|
+
tentativeVendorName === (updatedVendor === null || updatedVendor === void 0 ? void 0 : updatedVendor.name)) {
|
|
135
|
+
showVendorGptRecommendationText = true;
|
|
136
|
+
}
|
|
137
|
+
else {
|
|
138
|
+
showVendorGptRecommendationText =
|
|
139
|
+
originalShowVendorGptRecommendationText;
|
|
140
|
+
}
|
|
141
|
+
actions.push((0, editBillViewReducer_1.saveBillUpdatesToLocalStore)({
|
|
142
|
+
billDetailLocalData: {
|
|
143
|
+
showVendorGptRecommendationText,
|
|
144
|
+
vendor: updatedVendor,
|
|
145
|
+
isCancelled: isCancelled,
|
|
146
|
+
updatesByLineId: updatedLines,
|
|
147
|
+
whatForSection: Object.assign(Object.assign({}, billInLocalStore.billDetailLocalData.whatForSection), { currencyCode: updatedVendor === null || updatedVendor === void 0 ? void 0 : updatedVendor.vendorCurrencyCode }),
|
|
148
|
+
paymentDetailsSection: Object.assign(Object.assign({}, billInLocalStore.billDetailLocalData
|
|
149
|
+
.paymentDetailsSection), { paymentTo: undefined, internationalTransferFeeBearerPaymentMethod: updatedVendor === null || updatedVendor === void 0 ? void 0 : updatedVendor.preferredInternationalTransferFeeBearerPaymentMethod, paymentDate: (_u = (_t = billInLocalStore.billDetailLocalData
|
|
150
|
+
.paymentDetailsSection) === null || _t === void 0 ? void 0 : _t.paymentDate) !== null && _u !== void 0 ? _u :
|
|
151
|
+
//in case paymentDate is not present in the billDetailLocalData, then today/next working date will be considered.
|
|
152
|
+
//this is done beacuse we are doing similar calcualtion in getDefaultValues of editBillDetailPage.
|
|
153
|
+
(0, zeniDayJS_1.date)((0, workingDayHelper_1.getNextNthWorkingDay)((0, zeniDayJS_1.dateNow)().toDate(), [0, 6], isPayNowEnabled ? 0 : 1).toISOString()) }),
|
|
154
|
+
isCollectToAccountInfoFromVendorContact: false,
|
|
155
|
+
isRecurring: false,
|
|
156
|
+
},
|
|
157
|
+
billId: action.payload.billId,
|
|
158
|
+
}), (0, editBillViewReducer_1.updateRecommendedVendorId)());
|
|
159
|
+
if ((updatedVendor === null || updatedVendor === void 0 ? void 0 : updatedVendor.qboId) != null) {
|
|
160
|
+
actions.push((0, previousBillsReducer_1.fetchPreviousBills)(updatedVendor.qboId, false));
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
actions.push((0, vendorViewReducer_1.resetVendorDetailLocalData)(action.payload.vendorId));
|
|
164
|
+
actions.push((0, vendorViewReducer_1.saveVendorSuccessOrFailure)('Completed', action.payload.vendorId));
|
|
165
|
+
if (action.payload.view === 'vendorsTab') {
|
|
166
|
+
actions.push((0, snackbarReducer_1.openSnackbar)({
|
|
167
|
+
messageSection: 'update_vendor',
|
|
168
|
+
messageText: 'success',
|
|
169
|
+
type: 'success',
|
|
170
|
+
}));
|
|
171
|
+
}
|
|
172
|
+
return (0, rxjs_1.from)(actions);
|
|
173
|
+
}
|
|
174
|
+
else {
|
|
175
|
+
if (((_v = response.data) === null || _v === void 0 ? void 0 : _v.error_code) === 1001) {
|
|
176
|
+
return (0, rxjs_1.of)((0, vendorViewReducer_1.saveVendorSuccessOrFailure)('Error', action.payload.vendorId, response.status, true), (0, vendorViewReducer_1.fetchUserDetails)({ userId: userId }));
|
|
177
|
+
}
|
|
178
|
+
return (0, rxjs_1.of)((0, vendorViewReducer_1.saveVendorSuccessOrFailure)('Error', action.payload.vendorId, response.status), (0, snackbarReducer_1.openSnackbar)({
|
|
179
|
+
messageSection: 'update_vendor',
|
|
180
|
+
messageText: 'failed',
|
|
181
|
+
type: 'error',
|
|
182
|
+
variables: [
|
|
183
|
+
{
|
|
184
|
+
variableName: '_api-error_',
|
|
185
|
+
variableValue: response.status.message,
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
}));
|
|
189
|
+
}
|
|
190
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, vendorViewReducer_1.saveVendorSuccessOrFailure)('Error', action.payload.vendorId, (0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', `REST API call errored out ${JSON.stringify(error)}`)))));
|
|
191
|
+
}));
|
|
192
|
+
exports.saveVendorEpic = saveVendorEpic;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { fetchUserDetails, fetchUserDetailsFailure, fetchUserDetailsSuccess } from '../../vendorViewReducer';
|
|
4
|
+
import { RootState } from '../../../../../reducer';
|
|
5
|
+
import { ZeniAPI } from '../../../../../zeniAPI';
|
|
6
|
+
import { updateAllUsers } from '../../../../../entity/user/userReducer';
|
|
7
|
+
export declare type ActionType = ReturnType<typeof updateAllUsers> | ReturnType<typeof fetchUserDetails> | ReturnType<typeof fetchUserDetailsFailure> | ReturnType<typeof fetchUserDetailsSuccess>;
|
|
8
|
+
export declare const fetchUserDetailEpic: (actions$: ActionsObservable<ActionType>, _: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchUserDetailEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const vendorViewReducer_1 = require("../../vendorViewReducer");
|
|
7
|
+
const responsePayload_1 = require("../../../../../responsePayload");
|
|
8
|
+
const userReducer_1 = require("../../../../../entity/user/userReducer");
|
|
9
|
+
const fetchUserDetailEpic = (actions$, _, zeniAPI) => actions$.pipe((0, operators_1.filter)(vendorViewReducer_1.fetchUserDetails.match), (0, operators_1.switchMap)(() => {
|
|
10
|
+
return zeniAPI
|
|
11
|
+
.getJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/user/self`)
|
|
12
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
13
|
+
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
14
|
+
const actions = [(0, vendorViewReducer_1.fetchUserDetailsSuccess)()];
|
|
15
|
+
if (response.data.users.length > 0) {
|
|
16
|
+
actions.push((0, userReducer_1.updateAllUsers)({ users: response.data.users }));
|
|
17
|
+
}
|
|
18
|
+
return (0, rxjs_1.from)(actions);
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
return (0, rxjs_1.of)((0, vendorViewReducer_1.fetchUserDetailsFailure)(response.status));
|
|
22
|
+
}
|
|
23
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, vendorViewReducer_1.fetchUserDetailsFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected error', 'Unable to fetch user details' + JSON.stringify(error))))));
|
|
24
|
+
}));
|
|
25
|
+
exports.fetchUserDetailEpic = fetchUserDetailEpic;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RootState } from '../../../../../reducer';
|
|
4
|
+
import { ZeniAPI } from '../../../../../zeniAPI';
|
|
5
|
+
import { verifyUser, verifyUserSuccess, verifyOtpVendorViewFailure } from '../../vendorViewReducer';
|
|
6
|
+
import { updateAllUsers } from '../../../../../entity/user/userReducer';
|
|
7
|
+
export declare type ActionType = ReturnType<typeof verifyUser> | ReturnType<typeof verifyUserSuccess> | ReturnType<typeof verifyOtpVendorViewFailure> | ReturnType<typeof updateAllUsers>;
|
|
8
|
+
export declare const verifyUserEpic: (actions$: ActionsObservable<ActionType>, _state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.verifyUserEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const responsePayload_1 = require("../../../../../responsePayload");
|
|
7
|
+
const vendorViewReducer_1 = require("../../vendorViewReducer");
|
|
8
|
+
const userReducer_1 = require("../../../../../entity/user/userReducer");
|
|
9
|
+
const verifyUserEpic = (actions$, _state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(vendorViewReducer_1.verifyUser.match), (0, operators_1.mergeMap)((action) => {
|
|
10
|
+
const payload = {
|
|
11
|
+
phone: action.payload.phone,
|
|
12
|
+
phone_verification: {
|
|
13
|
+
otp_challenge: action.payload.otpChallenge,
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
return zeniAPI
|
|
17
|
+
.putAndGetJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/user/self`, payload)
|
|
18
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
19
|
+
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
20
|
+
const actions = [
|
|
21
|
+
(0, vendorViewReducer_1.verifyUserSuccess)(),
|
|
22
|
+
(0, userReducer_1.updateAllUsers)({ users: response.data.users }),
|
|
23
|
+
];
|
|
24
|
+
return (0, rxjs_1.from)(actions);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
return (0, rxjs_1.of)((0, vendorViewReducer_1.verifyOtpVendorViewFailure)(response.status));
|
|
28
|
+
}
|
|
29
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, vendorViewReducer_1.verifyOtpVendorViewFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Verify user api errored out' + JSON.stringify(error))))));
|
|
30
|
+
}));
|
|
31
|
+
exports.verifyUserEpic = verifyUserEpic;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ZeniAPI } from '../../../../zeniAPI';
|
|
4
|
+
import { RootState } from '../../../../reducer';
|
|
5
|
+
import { updateVendorSaveStatus, updateSelectedVendorForCreateFlow, initializeVendorAddress, updateVendorDetailLocalData } from '../vendorViewReducer';
|
|
6
|
+
export declare type ActionType = ReturnType<typeof updateSelectedVendorForCreateFlow> | ReturnType<typeof updateVendorSaveStatus> | ReturnType<typeof initializeVendorAddress> | ReturnType<typeof updateVendorDetailLocalData>;
|
|
7
|
+
export declare const updateSelectedVendorForCreateFlowEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, _zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateSelectedVendorForCreateFlowEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const vendorSelector_1 = require("../../../../entity/vendor/vendorSelector");
|
|
7
|
+
const vendorViewReducer_1 = require("../vendorViewReducer");
|
|
8
|
+
const vendorDetailLocalDataHelpers_1 = require("./vendorDetailLocalDataHelpers");
|
|
9
|
+
const updateSelectedVendorForCreateFlowEpic = (actions$, state$,
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11
|
+
_zeniAPI) => actions$.pipe((0, operators_1.filter)(vendorViewReducer_1.updateSelectedVendorForCreateFlow.match), (0, operators_1.mergeMap)((action) => {
|
|
12
|
+
const newVendorStateData = (0, vendorSelector_1.getVendorByVendorId)(state$.value.vendorState, action.payload);
|
|
13
|
+
const actions = [
|
|
14
|
+
(0, vendorViewReducer_1.updateVendorSaveStatus)({ vendorId: undefined }),
|
|
15
|
+
(0, vendorViewReducer_1.initializeVendorAddress)(action.payload),
|
|
16
|
+
];
|
|
17
|
+
if (newVendorStateData != null) {
|
|
18
|
+
actions.push((0, vendorViewReducer_1.updateVendorDetailLocalData)({
|
|
19
|
+
localData: (0, vendorDetailLocalDataHelpers_1.getInitializedVendorDetailLocalData)(newVendorStateData, state$.value),
|
|
20
|
+
}));
|
|
21
|
+
}
|
|
22
|
+
return (0, rxjs_1.from)(actions);
|
|
23
|
+
}));
|
|
24
|
+
exports.updateSelectedVendorForCreateFlowEpic = updateSelectedVendorForCreateFlowEpic;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { User } from '../../../../entity/user/userState';
|
|
2
|
+
import { Vendor } from '../../../../entity/vendor/vendorState';
|
|
3
|
+
import { VendorPayload } from '../../../../entity/vendor/vendorPayload';
|
|
4
|
+
import { VendorDetailLocalData } from '../vendorViewState';
|
|
5
|
+
import { RootState } from '../../../../reducer';
|
|
6
|
+
import { VendorViewSelectorView } from '../vendorViewSelector';
|
|
7
|
+
export declare const getInitializedVendorDetailLocalData: (vendorData: Vendor, state: RootState, vendorPayload?: VendorPayload | undefined) => VendorDetailLocalData;
|
|
8
|
+
export declare const getAnalyticsDataOnVendorSave: (vendorViewDetails: VendorViewSelectorView, ownerList: User[]) => {
|
|
9
|
+
vendorId: string | undefined;
|
|
10
|
+
vendorName: string | undefined;
|
|
11
|
+
existingCategory: string | undefined;
|
|
12
|
+
existingClass: string | undefined;
|
|
13
|
+
existingOwner: string | undefined;
|
|
14
|
+
selectedCategory: string | undefined;
|
|
15
|
+
selectedClass: string | undefined;
|
|
16
|
+
selectedOwner: string | undefined;
|
|
17
|
+
isRecommendedCategorySelected: boolean;
|
|
18
|
+
isRecommendedClassSelected: boolean;
|
|
19
|
+
categoryRecommendationTypeSelected: string | undefined;
|
|
20
|
+
classRecommendationTypeSelected: string | undefined;
|
|
21
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAnalyticsDataOnVendorSave = exports.getInitializedVendorDetailLocalData = void 0;
|
|
4
|
+
const contactPayload_1 = require("../../../../entity/billPay/contact/contactPayload");
|
|
5
|
+
const contactSelector_1 = require("../../../../entity/billPay/contact/contactSelector");
|
|
6
|
+
const fileViewSelector_1 = require("../../../fileView/fileViewSelector");
|
|
7
|
+
const commonVendorViewHelper_1 = require("../../commonVendorViewHelper");
|
|
8
|
+
const getInitializedVendorDetailLocalData = (vendorData, state, vendorPayload) => {
|
|
9
|
+
var _a, _b;
|
|
10
|
+
const { contactState } = state;
|
|
11
|
+
const deleteFileStatusById = {};
|
|
12
|
+
const updateFileStatusById = {};
|
|
13
|
+
const { documentIds } = vendorData;
|
|
14
|
+
documentIds.forEach((fileId) => {
|
|
15
|
+
deleteFileStatusById[fileId] = (0, fileViewSelector_1.getFileDeleteStatusById)(state, fileId);
|
|
16
|
+
});
|
|
17
|
+
documentIds.forEach((fileId) => {
|
|
18
|
+
updateFileStatusById[fileId] = (0, fileViewSelector_1.getFileUpdateNameStatusById)(state, fileId);
|
|
19
|
+
});
|
|
20
|
+
const { recommendedAccount, recommendedClass } = (0, commonVendorViewHelper_1.getRecommendedCategoryClass)(vendorData.recommendations, vendorData.accountId, vendorData.classId);
|
|
21
|
+
return {
|
|
22
|
+
vendorName: vendorData.name,
|
|
23
|
+
bankAccountIds: (_a = vendorData.bankAccountIds) !== null && _a !== void 0 ? _a : [],
|
|
24
|
+
paymentInstrumentIds: vendorData.paymentInstrumentIds,
|
|
25
|
+
vendorCategory: vendorData.accountId,
|
|
26
|
+
vendorClass: vendorData.classId,
|
|
27
|
+
vendorType: vendorData.vendorType,
|
|
28
|
+
vendorOwner: vendorData.ownerId,
|
|
29
|
+
vendorId: vendorData.id,
|
|
30
|
+
isVendor1099: vendorData.isVendor1099,
|
|
31
|
+
documentIds: vendorData.documentIds,
|
|
32
|
+
deleteFileStatusById,
|
|
33
|
+
updateFileStatusById,
|
|
34
|
+
countryCode: vendorData.countryCode,
|
|
35
|
+
currencyCode: vendorData.vendorCurrencyCode,
|
|
36
|
+
currencySymbol: vendorData.vendorCurrencySymbol,
|
|
37
|
+
contacts: (vendorPayload === null || vendorPayload === void 0 ? void 0 : vendorPayload.contacts) != null
|
|
38
|
+
? vendorPayload.contacts.map((contact) => (0, contactPayload_1.toContact)(contact))
|
|
39
|
+
: (0, contactSelector_1.getContactsByIds)(contactState, (_b = vendorData.contactIds) !== null && _b !== void 0 ? _b : []),
|
|
40
|
+
recommendations: vendorData.recommendations,
|
|
41
|
+
fileIdsToBeDeleted: [],
|
|
42
|
+
recommendedCategory: recommendedAccount,
|
|
43
|
+
recommendedClass,
|
|
44
|
+
isCategoryUpdateSelected: false,
|
|
45
|
+
isClassUpdateSelected: false,
|
|
46
|
+
isCategoryRecommendationPrefilled: (recommendedAccount === null || recommendedAccount === void 0 ? void 0 : recommendedAccount.accountId) === vendorData.accountId,
|
|
47
|
+
isClassRecommendationPrefilled: (recommendedClass === null || recommendedClass === void 0 ? void 0 : recommendedClass.classId) === vendorData.classId,
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
exports.getInitializedVendorDetailLocalData = getInitializedVendorDetailLocalData;
|
|
51
|
+
const getAnalyticsDataOnVendorSave = (vendorViewDetails, ownerList) => {
|
|
52
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
53
|
+
const vendorBasic = (_a = vendorViewDetails.editVendorState) === null || _a === void 0 ? void 0 : _a.vendorBasic;
|
|
54
|
+
const localData = (_b = vendorViewDetails.editVendorState) === null || _b === void 0 ? void 0 : _b.vendorDetailLocalData;
|
|
55
|
+
const vendorName = (_d = (_c = vendorViewDetails.editVendorState) === null || _c === void 0 ? void 0 : _c.vendorBasic) === null || _d === void 0 ? void 0 : _d.name;
|
|
56
|
+
const accountList = vendorViewDetails.accountList;
|
|
57
|
+
const classList = vendorViewDetails.classList;
|
|
58
|
+
const vendorId = vendorBasic === null || vendorBasic === void 0 ? void 0 : vendorBasic.id;
|
|
59
|
+
const selectedCategory = (localData === null || localData === void 0 ? void 0 : localData.vendorCategory) != null
|
|
60
|
+
? (_e = accountList.accounts.find((account) => account.accountId === localData.vendorCategory)) === null || _e === void 0 ? void 0 : _e.accountName
|
|
61
|
+
: undefined;
|
|
62
|
+
const selectedClass = (localData === null || localData === void 0 ? void 0 : localData.vendorClass) != null
|
|
63
|
+
? (_f = classList.classes.find((classData) => classData.classId === localData.vendorClass)) === null || _f === void 0 ? void 0 : _f.className
|
|
64
|
+
: undefined;
|
|
65
|
+
const selectedOwner = (localData === null || localData === void 0 ? void 0 : localData.vendorOwner) != null
|
|
66
|
+
? (_g = ownerList.find((owner) => owner.userId === localData.vendorOwner)) === null || _g === void 0 ? void 0 : _g.email
|
|
67
|
+
: undefined;
|
|
68
|
+
const existingCategory = (_h = vendorBasic === null || vendorBasic === void 0 ? void 0 : vendorBasic.account) === null || _h === void 0 ? void 0 : _h.accountName;
|
|
69
|
+
const existingClass = (_j = vendorBasic === null || vendorBasic === void 0 ? void 0 : vendorBasic.class) === null || _j === void 0 ? void 0 : _j.className;
|
|
70
|
+
const existingOwner = (_k = vendorBasic === null || vendorBasic === void 0 ? void 0 : vendorBasic.owner) === null || _k === void 0 ? void 0 : _k.email;
|
|
71
|
+
const isRecommendedCategorySelected = (0, commonVendorViewHelper_1.recommendedCategorySelected)(localData === null || localData === void 0 ? void 0 : localData.vendorCategory, localData === null || localData === void 0 ? void 0 : localData.recommendations);
|
|
72
|
+
const isRecommendedClassSelected = (0, commonVendorViewHelper_1.recommendedClassSelected)(localData === null || localData === void 0 ? void 0 : localData.vendorClass, localData === null || localData === void 0 ? void 0 : localData.recommendations);
|
|
73
|
+
const categoryRecommendationTypeSelected = (_o = (_m = (_l = localData === null || localData === void 0 ? void 0 : localData.recommendations) === null || _l === void 0 ? void 0 : _l.find((rec) => { var _a; return ((_a = rec.account) === null || _a === void 0 ? void 0 : _a.accountId) === localData.vendorCategory; })) === null || _m === void 0 ? void 0 : _m.account) === null || _o === void 0 ? void 0 : _o.reason;
|
|
74
|
+
const classRecommendationTypeSelected = (_r = (_q = (_p = localData === null || localData === void 0 ? void 0 : localData.recommendations) === null || _p === void 0 ? void 0 : _p.find((rec) => { var _a; return ((_a = rec.class) === null || _a === void 0 ? void 0 : _a.classId) === localData.vendorClass; })) === null || _q === void 0 ? void 0 : _q.class) === null || _r === void 0 ? void 0 : _r.reason;
|
|
75
|
+
return {
|
|
76
|
+
vendorId,
|
|
77
|
+
vendorName,
|
|
78
|
+
existingCategory,
|
|
79
|
+
existingClass,
|
|
80
|
+
existingOwner,
|
|
81
|
+
selectedCategory,
|
|
82
|
+
selectedClass,
|
|
83
|
+
selectedOwner,
|
|
84
|
+
isRecommendedCategorySelected,
|
|
85
|
+
isRecommendedClassSelected,
|
|
86
|
+
categoryRecommendationTypeSelected,
|
|
87
|
+
classRecommendationTypeSelected,
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
exports.getAnalyticsDataOnVendorSave = getAnalyticsDataOnVendorSave;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { RootState } from '../../../reducer';
|
|
2
|
+
import { ID } from '../../../commonStateTypes/common';
|
|
3
|
+
import { AccountBasePayload } from '../../../entity/account/accountPayload';
|
|
4
|
+
import { ClassBasePayload } from '../../../entity/class/classPayload';
|
|
5
|
+
import { ContactPayload } from '../../../entity/billPay/contact/contactPayload';
|
|
6
|
+
import { ZeniAPIResponse } from '../../../responsePayload';
|
|
7
|
+
import { VendorDetailLocalData } from './vendorViewState';
|
|
8
|
+
import { AddressUpdatableInfoPayload } from '../../addressView/addressViewPayload';
|
|
9
|
+
import { FetchAllVendorsPayload } from '../../vendorList/vendorListPayload';
|
|
10
|
+
export declare type VendorCreationResponse = ZeniAPIResponse<FetchAllVendorsPayload>;
|
|
11
|
+
export interface VendorUpdatePayload {
|
|
12
|
+
qbo_id: string;
|
|
13
|
+
vendor_name: string;
|
|
14
|
+
vendor_type: string;
|
|
15
|
+
account: AccountBasePayload | null;
|
|
16
|
+
accounting_class: ClassBasePayload | null;
|
|
17
|
+
contacts: ContactPayload[];
|
|
18
|
+
bank_account_ids: string[];
|
|
19
|
+
payment_instrument_ids: string[];
|
|
20
|
+
country_code?: string;
|
|
21
|
+
vendor_currency_code: string;
|
|
22
|
+
vendor_currency_symbol: string;
|
|
23
|
+
sync_token: string;
|
|
24
|
+
address?: AddressUpdatableInfoPayload;
|
|
25
|
+
is_vendor_1099?: boolean;
|
|
26
|
+
document_ids?: ID[];
|
|
27
|
+
owner_id: ID | null;
|
|
28
|
+
is_two_factor_verification_required?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare const prepareEditVendorPayload: (state: RootState, vendorDetailLocalData: VendorDetailLocalData, vendorId: ID | undefined) => Partial<VendorUpdatePayload>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.prepareEditVendorPayload = void 0;
|
|
4
|
+
const accountPayload_1 = require("../../../entity/account/accountPayload");
|
|
5
|
+
const accountSelector_1 = require("../../../entity/account/accountSelector");
|
|
6
|
+
const classPayload_1 = require("../../../entity/class/classPayload");
|
|
7
|
+
const classSelector_1 = require("../../../entity/class/classSelector");
|
|
8
|
+
const contactPayload_1 = require("../../../entity/billPay/contact/contactPayload");
|
|
9
|
+
const addressViewPayload_1 = require("../../addressView/addressViewPayload");
|
|
10
|
+
const prepareEditVendorPayload = (state, vendorDetailLocalData, vendorId) => {
|
|
11
|
+
var _a, _b;
|
|
12
|
+
const { accountState, classState, addressViewState, vendorState } = state;
|
|
13
|
+
const payload = {};
|
|
14
|
+
if (vendorDetailLocalData != null) {
|
|
15
|
+
payload.vendor_name = vendorDetailLocalData.vendorName;
|
|
16
|
+
if (vendorDetailLocalData.vendorCategory != null) {
|
|
17
|
+
const accountBase = (0, accountSelector_1.getAccountBase)(accountState, vendorDetailLocalData.vendorCategory, 'account_list');
|
|
18
|
+
if (accountBase != null) {
|
|
19
|
+
payload.account = (0, accountPayload_1.toAccountPayload)(accountBase);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
payload.account = null;
|
|
24
|
+
}
|
|
25
|
+
if (vendorDetailLocalData.vendorClass != null) {
|
|
26
|
+
const latestClass = (0, classSelector_1.getClassById)(classState, {
|
|
27
|
+
classId: vendorDetailLocalData.vendorClass,
|
|
28
|
+
reportId: 'class_list',
|
|
29
|
+
});
|
|
30
|
+
if (latestClass != null) {
|
|
31
|
+
payload.accounting_class = (0, classPayload_1.toClassBasePayload)(latestClass);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
payload.accounting_class = null;
|
|
36
|
+
}
|
|
37
|
+
if (vendorDetailLocalData.vendorType != null) {
|
|
38
|
+
payload.vendor_type = vendorDetailLocalData.vendorType;
|
|
39
|
+
}
|
|
40
|
+
if (vendorDetailLocalData.vendorOwner != null) {
|
|
41
|
+
payload.owner_id = vendorDetailLocalData.vendorOwner;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
payload.owner_id = null;
|
|
45
|
+
}
|
|
46
|
+
if (vendorDetailLocalData.isVendor1099 != null) {
|
|
47
|
+
payload.is_vendor_1099 = vendorDetailLocalData.isVendor1099;
|
|
48
|
+
}
|
|
49
|
+
if (vendorDetailLocalData.documentIds != null) {
|
|
50
|
+
payload.document_ids = vendorDetailLocalData.documentIds;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
const contacts = (_a = vendorDetailLocalData.contacts) !== null && _a !== void 0 ? _a : [];
|
|
54
|
+
payload.contacts = contacts
|
|
55
|
+
.filter((contact) => contact.email.length > 0 || contact.fullName.length > 0)
|
|
56
|
+
.map((contact) => {
|
|
57
|
+
return (0, contactPayload_1.toContactPayload)(contact);
|
|
58
|
+
});
|
|
59
|
+
if (vendorId != null) {
|
|
60
|
+
const syncToken = vendorState.vendorByID[vendorId].syncToken;
|
|
61
|
+
payload.bank_account_ids = [
|
|
62
|
+
...new Set(vendorDetailLocalData.bankAccountIds),
|
|
63
|
+
];
|
|
64
|
+
payload.payment_instrument_ids = [
|
|
65
|
+
...new Set(vendorDetailLocalData.paymentInstrumentIds),
|
|
66
|
+
];
|
|
67
|
+
payload.sync_token = syncToken;
|
|
68
|
+
payload.qbo_id = vendorState.vendorByID[vendorId].qboId;
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
payload.bank_account_ids = vendorDetailLocalData.bankAccountIds;
|
|
72
|
+
payload.payment_instrument_ids = vendorDetailLocalData.paymentInstrumentIds;
|
|
73
|
+
}
|
|
74
|
+
const vendorAddressToCreate = (_b = addressViewState.newAddressState) === null || _b === void 0 ? void 0 : _b['vendor_address'].addressToCreate;
|
|
75
|
+
const vendorAddressPayload = vendorAddressToCreate != null
|
|
76
|
+
? (0, addressViewPayload_1.toAddressUpdatableInfoPayload)(vendorAddressToCreate)
|
|
77
|
+
: undefined;
|
|
78
|
+
if (vendorAddressPayload != null) {
|
|
79
|
+
payload['address'] = vendorAddressPayload;
|
|
80
|
+
}
|
|
81
|
+
if (vendorDetailLocalData.countryCode != null) {
|
|
82
|
+
payload['country_code'] = vendorDetailLocalData.countryCode;
|
|
83
|
+
}
|
|
84
|
+
if (vendorDetailLocalData.currencyCode != null) {
|
|
85
|
+
payload['vendor_currency_code'] = vendorDetailLocalData.currencyCode;
|
|
86
|
+
}
|
|
87
|
+
if (vendorDetailLocalData.currencySymbol != null) {
|
|
88
|
+
payload['vendor_currency_symbol'] = vendorDetailLocalData.currencySymbol;
|
|
89
|
+
}
|
|
90
|
+
payload['is_two_factor_verification_required'] = true;
|
|
91
|
+
return payload;
|
|
92
|
+
};
|
|
93
|
+
exports.prepareEditVendorPayload = prepareEditVendorPayload;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { SelectorView } from '../../../commonStateTypes/viewAndReport/viewAndReport';
|
|
2
|
+
import { FetchStateAndError, ID } from '../../../commonStateTypes/common';
|
|
3
|
+
import { RootState } from '../../../reducer';
|
|
4
|
+
import { UserVerificationState, VendorDetailLocalData } from './vendorViewState';
|
|
5
|
+
import { AccountListSelectorView } from '../../accountList/accountListSelector';
|
|
6
|
+
import { ClassListSelectorView } from '../../classList/classListSelector';
|
|
7
|
+
import { AccountBase } from '../../../entity/account/accountState';
|
|
8
|
+
import { ClassBase } from '../../../entity/class/classState';
|
|
9
|
+
import { BankAccount } from '../../../entity/bankAccount/bankAccount';
|
|
10
|
+
import { Contact } from '../../../entity/billPay/contact/contact';
|
|
11
|
+
import { Address } from '../../../entity/address/addressState';
|
|
12
|
+
import { Country } from '../../spendManagement/billPay/billPayConfig/billPayConfigState';
|
|
13
|
+
import { NewAddressData } from '../../addressView/addressViewState';
|
|
14
|
+
import { BankAccountSelectorView } from '../../bankAccountView/bankAccountViewSelector';
|
|
15
|
+
import { TrendWithTransactionsView } from '../../trendWithTransactions/trendWithTransactionsSelector';
|
|
16
|
+
import { User } from '../../../entity/user/userState';
|
|
17
|
+
import { VendorSpend } from '../../../entity/vendorExpense/vendorExpenseState';
|
|
18
|
+
import { Entity } from '../../../entity/genericEntity/entity';
|
|
19
|
+
import { File } from '../../../entity/file/fileState';
|
|
20
|
+
import { VendorType } from '../../vendorTypeList/vendorTypeListPayload';
|
|
21
|
+
import { NestedAccountHeirarchyForReport } from '../../../commonStateTypes/accountView/nestedAccountID';
|
|
22
|
+
import { NestedClassHeirarchyForReport } from '../../../commonStateTypes/classesView/nestedClassID';
|
|
23
|
+
import { PaymentInstrument } from '../../../entity/paymentInstrument/paymentInstrument';
|
|
24
|
+
export interface VendorDetails {
|
|
25
|
+
vendorBasic: VendorBasic | undefined;
|
|
26
|
+
bankAccountsUpdated: BankAccount[];
|
|
27
|
+
paymentInstrumentsUpdated: PaymentInstrument[];
|
|
28
|
+
saveStatus: FetchStateAndError;
|
|
29
|
+
vendorDetailLocalData?: VendorDetailLocalData;
|
|
30
|
+
vendorNewAddressStatus?: NewAddressData;
|
|
31
|
+
vendorAddress?: Address;
|
|
32
|
+
supportedCountries: Country[];
|
|
33
|
+
}
|
|
34
|
+
export interface VendorBasic {
|
|
35
|
+
name: string;
|
|
36
|
+
account?: AccountBase;
|
|
37
|
+
class?: ClassBase;
|
|
38
|
+
owner?: User;
|
|
39
|
+
vendorType?: VendorType;
|
|
40
|
+
isVendor1099?: boolean;
|
|
41
|
+
bankAccounts?: BankAccount[];
|
|
42
|
+
paymentInstruments?: PaymentInstrument[];
|
|
43
|
+
contacts?: Contact[];
|
|
44
|
+
vendorDocuments?: File[];
|
|
45
|
+
countryCode?: string;
|
|
46
|
+
currencyCode?: string;
|
|
47
|
+
currencySymbol?: string;
|
|
48
|
+
id?: ID;
|
|
49
|
+
}
|
|
50
|
+
export interface VendorViewSelectorView extends BankAccountSelectorView, SelectorView {
|
|
51
|
+
accountList: AccountListSelectorView;
|
|
52
|
+
classList: ClassListSelectorView;
|
|
53
|
+
accountsHeirarchyList: NestedAccountHeirarchyForReport[];
|
|
54
|
+
classHeirarchyList: NestedClassHeirarchyForReport[];
|
|
55
|
+
vendorTypeList: VendorType[];
|
|
56
|
+
ownerList: User[];
|
|
57
|
+
editVendorState?: VendorDetails;
|
|
58
|
+
newVendorState?: VendorDetails;
|
|
59
|
+
bankAccountCreationState: FetchStateAndError;
|
|
60
|
+
hasWireTransfer: boolean;
|
|
61
|
+
hasInternationalWireTransfer: boolean;
|
|
62
|
+
deleteFileStatusById: Record<ID, FetchStateAndError | undefined>;
|
|
63
|
+
updateFileStatusById: Record<ID, FetchStateAndError | undefined>;
|
|
64
|
+
loggedInUserVerification: UserVerificationState;
|
|
65
|
+
}
|
|
66
|
+
export interface VendorDetailPageView extends SelectorView {
|
|
67
|
+
vendorViewDetails: VendorViewSelectorView;
|
|
68
|
+
trendWithTransactions: TrendWithTransactionsView;
|
|
69
|
+
vendorSpend: VendorSpend;
|
|
70
|
+
}
|
|
71
|
+
export declare const getVendorView: (state: RootState, vendorIdFromUrl?: string | undefined) => VendorViewSelectorView;
|
|
72
|
+
export declare const getVendorDetailPageView: (state: RootState, vendorId: ID, entity: Entity) => VendorDetailPageView;
|