@zeniai/client-epic-state 5.0.88-betaAS2 → 5.0.89-beta0ND
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/commonStateTypes/animations.d.ts +1 -1
- package/lib/commonStateTypes/animations.js +1 -0
- package/lib/entity/company/companyPayload.d.ts +4 -0
- package/lib/entity/company/companyPayload.js +4 -0
- package/lib/entity/company/companyStateTypes.d.ts +4 -0
- package/lib/entity/paymentAccount/paymentAccountSelector.d.ts +1 -0
- package/lib/entity/paymentAccount/paymentAccountSelector.js +4 -0
- package/lib/entity/tenant/epic/deleteConnectionEpic.d.ts +1 -1
- package/lib/entity/tenant/epic/initEmailConnectOAuthEpic.d.ts +21 -0
- package/lib/entity/tenant/epic/initEmailConnectOAuthEpic.js +54 -0
- package/lib/entity/tenant/epic/saveAPIKeyConnectionEpic.d.ts +1 -1
- package/lib/entity/tenant/epic/saveConnectorCredentialsEpic.d.ts +3 -3
- package/lib/entity/tenant/epic/saveOAuthConnectionEpic.d.ts +1 -1
- package/lib/entity/tenant/tenantPayload.d.ts +1 -0
- package/lib/entity/tenant/tenantReducer.d.ts +38 -25
- package/lib/entity/tenant/tenantReducer.js +65 -5
- package/lib/entity/tenant/tenantState.d.ts +1 -0
- package/lib/entity/transaction/stateTypes/transactionLine.d.ts +2 -1
- package/lib/entity/transaction/stateTypes/transactionLine.js +2 -1
- package/lib/epic.d.ts +8 -3
- package/lib/epic.js +9 -3
- package/lib/esm/common/aiCfo/aiCfoSuggestedQuestionsPageContext.js.map +1 -0
- package/lib/esm/commonPayloadTypes/agingReportPayloadTypes.js.map +1 -0
- package/lib/esm/commonPayloadTypes/balanceChangePayload.js.map +1 -0
- package/lib/esm/commonPayloadTypes/classesView/reportByClassPayloadV2.js.map +1 -0
- package/lib/esm/commonPayloadTypes/coaBalanceByAdditionalPeriodPayload.js.map +1 -0
- package/lib/esm/commonPayloadTypes/coaBalancePayload.js.map +1 -0
- package/lib/esm/commonPayloadTypes/commonPayload.js.map +1 -0
- package/lib/esm/commonPayloadTypes/recommendationPayload.js.map +1 -0
- package/lib/esm/commonPayloadTypes/sortOrderPayload.js.map +1 -0
- package/lib/esm/commonPayloadTypes/statusPayload.js.map +1 -0
- package/lib/esm/commonPayloadTypes/subAccountView/reportBySubAccountPayload.js.map +1 -0
- package/lib/esm/commonPayloadTypes/subAccountView/subAccountPayloadHelper.js.map +1 -0
- package/lib/esm/commonPayloadTypes/urlPayload.js.map +1 -0
- package/lib/esm/commonPayloadTypes/v2/coaBalancePayload.js.map +1 -0
- package/lib/esm/commonPayloadTypes/v2/viewAndReportPayloadv2.js.map +1 -0
- package/lib/esm/commonPayloadTypes/vendorRecommendationPayload.js.map +1 -0
- package/lib/esm/commonPayloadTypes/viewAndReportPayload.js.map +1 -0
- package/lib/esm/commonStateTypes/accountView/getNestedAccountIDHierarchyForReport.js.map +1 -0
- package/lib/esm/commonStateTypes/accountView/nestedAccountID.js.map +1 -0
- package/lib/esm/commonStateTypes/agingBalance/agingBalance.js.map +1 -0
- package/lib/esm/commonStateTypes/allowedValue.js.map +1 -0
- package/lib/esm/commonStateTypes/amount.js.map +1 -0
- package/lib/esm/commonStateTypes/animations.js +1 -0
- package/lib/esm/commonStateTypes/animations.js.map +1 -0
- package/lib/esm/commonStateTypes/balance.js.map +1 -0
- package/lib/esm/commonStateTypes/balanceTimeseries.js.map +1 -0
- package/lib/esm/commonStateTypes/bookCloseDateHelper.js.map +1 -0
- package/lib/esm/commonStateTypes/cacheOverrideFetchReducer.js.map +1 -0
- package/lib/esm/commonStateTypes/classesView/getNestedClassIDHierarchyForReport.js.map +1 -0
- package/lib/esm/commonStateTypes/classesView/nestedClassID.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/additionalBalances/getAdditionalBalances.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/additionalBalances/getComparisionBalance.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/additionalBalances/getSamePeriodLastYearBalance.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/additionalBalances/getSummationBalance.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/additionalBalances/sliceCOABalances.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/classBalances/getDifferenceOfBalancesGroupedByPeriod.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/classBalances/getSumOfBalancesGroupedByPeriod.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/coaBalance.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/coaBalanceByAdditionalPeriod.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/coaBalanceType.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/coaBalancesFilter.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/coaBalancesFilterClassesView.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/coaBalancesFilterProjectView.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/pickAndMergeForecast.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/sortBalancesByFreeRangeTotal.js.map +1 -0
- package/lib/esm/commonStateTypes/coaBalance/sortBalancesByTotalAmounts.js.map +1 -0
- package/lib/esm/commonStateTypes/common.js.map +1 -0
- package/lib/esm/commonStateTypes/currencyHelper.js.map +1 -0
- package/lib/esm/commonStateTypes/customerView/getNestedCustomerHierarchy.js.map +1 -0
- package/lib/esm/commonStateTypes/customerView/nestedCustomerID.js.map +1 -0
- package/lib/esm/commonStateTypes/dataAvailable.js.map +1 -0
- package/lib/esm/commonStateTypes/fileType.js.map +1 -0
- package/lib/esm/commonStateTypes/filterPrimitives.js.map +1 -0
- package/lib/esm/commonStateTypes/fiscalYearHelpers/addSubtractPeriod.js.map +1 -0
- package/lib/esm/commonStateTypes/fiscalYearHelpers/formatMinutesToFromHHMM.js.map +1 -0
- package/lib/esm/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.js.map +1 -0
- package/lib/esm/commonStateTypes/fiscalYearHelpers/getActualPeriod.js.map +1 -0
- package/lib/esm/commonStateTypes/fiscalYearHelpers/getFYMonths.js.map +1 -0
- package/lib/esm/commonStateTypes/fiscalYearHelpers/getFYQuarterAndYear.js.map +1 -0
- package/lib/esm/commonStateTypes/fiscalYearHelpers/getStartOfAndEndOfTimeframeFY.js.map +1 -0
- package/lib/esm/commonStateTypes/numberToUnion.js.map +1 -0
- package/lib/esm/commonStateTypes/projectView/projectViewParentID.js.map +1 -0
- package/lib/esm/commonStateTypes/pusherActions.js.map +1 -0
- package/lib/esm/commonStateTypes/recommendationBase.js.map +1 -0
- package/lib/esm/commonStateTypes/reduceFetchState.js.map +1 -0
- package/lib/esm/commonStateTypes/reimbursementTypeCode.js.map +1 -0
- package/lib/esm/commonStateTypes/selectorTypes/accountsViewSelectorReport.js.map +1 -0
- package/lib/esm/commonStateTypes/selectorTypes/classesViewSelectorReport.js.map +1 -0
- package/lib/esm/commonStateTypes/selectorTypes/pickAndMergeForecastCalculatedSection.js.map +1 -0
- package/lib/esm/commonStateTypes/selectorTypes/pickAndMergeForecastSection.js.map +1 -0
- package/lib/esm/commonStateTypes/selectorTypes/selectorTypes.js.map +1 -0
- package/lib/esm/commonStateTypes/selectorTypes/sortOrderTypes.js.map +1 -0
- package/lib/esm/commonStateTypes/status.js.map +1 -0
- package/lib/esm/commonStateTypes/stringToUnion.js.map +1 -0
- package/lib/esm/commonStateTypes/systemInfo.js.map +1 -0
- package/lib/esm/commonStateTypes/timePeriod.js.map +1 -0
- package/lib/esm/commonStateTypes/timeframeTick.js.map +1 -0
- package/lib/esm/commonStateTypes/v2/viewAndReport.js.map +1 -0
- package/lib/esm/commonStateTypes/vendorRecommendation.js.map +1 -0
- package/lib/esm/commonStateTypes/viewAndReport/agingReportStateTypes.js.map +1 -0
- package/lib/esm/commonStateTypes/viewAndReport/reportIDHelper.js.map +1 -0
- package/lib/esm/commonStateTypes/viewAndReport/reportUIState.js.map +1 -0
- package/lib/esm/commonStateTypes/viewAndReport/thisPeriodHelpers.js.map +1 -0
- package/lib/esm/commonStateTypes/viewAndReport/viewAndReport.js.map +1 -0
- package/lib/esm/commonStateTypes/workingDayHelper.js.map +1 -0
- package/lib/esm/configureStore.js.map +1 -0
- package/lib/esm/coreEpics.js.map +1 -0
- package/lib/esm/entity/account/accountPayload.js.map +1 -0
- package/lib/esm/entity/account/accountReducer.js.map +1 -0
- package/lib/esm/entity/account/accountSelector.js.map +1 -0
- package/lib/esm/entity/account/accountState.js.map +1 -0
- package/lib/esm/entity/account/pickAndMergeForecastAccountReport.js.map +1 -0
- package/lib/esm/entity/account/subAccountSelector.js.map +1 -0
- package/lib/esm/entity/accountGroup/accountGroupPayload.js.map +1 -0
- package/lib/esm/entity/accountGroup/accountGroupReducer.js.map +1 -0
- package/lib/esm/entity/accountGroup/accountGroupSelector.js.map +1 -0
- package/lib/esm/entity/accountGroup/accountGroupState.js.map +1 -0
- package/lib/esm/entity/accountGroup/accountGroupV2Selector.js.map +1 -0
- package/lib/esm/entity/accountGroup/pickAndMergeForecastAcGroupReport.js.map +1 -0
- package/lib/esm/entity/accountRecon/accountReconPayload.js.map +1 -0
- package/lib/esm/entity/accountRecon/accountReconReducer.js.map +1 -0
- package/lib/esm/entity/accountRecon/accountReconSelector.js.map +1 -0
- package/lib/esm/entity/accountRecon/accountReconState.js.map +1 -0
- package/lib/esm/entity/address/addressPayload.js.map +1 -0
- package/lib/esm/entity/address/addressReducer.js.map +1 -0
- package/lib/esm/entity/address/addressSelector.js.map +1 -0
- package/lib/esm/entity/address/addressState.js.map +1 -0
- package/lib/esm/entity/aiAccountantCustomer/aiAccountantCustomerPayload.js.map +1 -0
- package/lib/esm/entity/aiAccountantCustomer/aiAccountantCustomerReducer.js.map +1 -0
- package/lib/esm/entity/aiAccountantCustomer/aiAccountantCustomerSelector.js.map +1 -0
- package/lib/esm/entity/aiAccountantCustomer/aiAccountantCustomerState.js.map +1 -0
- package/lib/esm/entity/aiCfo/aiCfoPayload.js.map +1 -0
- package/lib/esm/entity/aiCfo/aiCfoReducer.js.map +1 -0
- package/lib/esm/entity/aiCfo/aiCfoSelector.js.map +1 -0
- package/lib/esm/entity/aiCfo/aiCfoState.js.map +1 -0
- package/lib/esm/entity/approvalRule/approvalRulePayload.js.map +1 -0
- package/lib/esm/entity/approvalRule/approvalRuleReducer.js.map +1 -0
- package/lib/esm/entity/approvalRule/approvalRuleSelector.js.map +1 -0
- package/lib/esm/entity/approvalRule/approvalRuleState.js.map +1 -0
- package/lib/esm/entity/bankAccount/bankAccount.js.map +1 -0
- package/lib/esm/entity/bankAccount/bankAccountPayload.js.map +1 -0
- package/lib/esm/entity/bankAccount/bankAccountReducer.js.map +1 -0
- package/lib/esm/entity/bankAccount/bankAccountSelector.js.map +1 -0
- package/lib/esm/entity/billPay/billTransaction/billTransactionPayload.js.map +1 -0
- package/lib/esm/entity/billPay/billTransaction/billTransactionReducer.js.map +1 -0
- package/lib/esm/entity/billPay/billTransaction/billTransactionState.js.map +1 -0
- package/lib/esm/entity/billPay/contact/contact.js.map +1 -0
- package/lib/esm/entity/billPay/contact/contactPayload.js.map +1 -0
- package/lib/esm/entity/billPay/contact/contactReducer.js.map +1 -0
- package/lib/esm/entity/billPay/contact/contactSelector.js.map +1 -0
- package/lib/esm/entity/billPay/recurringBills/recurringBillsPayload.js.map +1 -0
- package/lib/esm/entity/billPay/recurringBills/recurringBillsReducer.js.map +1 -0
- package/lib/esm/entity/billPay/recurringBills/recurringBillsState.js.map +1 -0
- package/lib/esm/entity/cardPayment/cardPaymentPayload.js.map +1 -0
- package/lib/esm/entity/cardPayment/cardPaymentReducer.js.map +1 -0
- package/lib/esm/entity/cardPayment/cardPaymentSelector.js.map +1 -0
- package/lib/esm/entity/cardPayment/cardPaymentState.js.map +1 -0
- package/lib/esm/entity/chargeCard/chargeCard.js.map +1 -0
- package/lib/esm/entity/chargeCard/chargeCardPayload.js.map +1 -0
- package/lib/esm/entity/chargeCard/chargeCardReducer.js.map +1 -0
- package/lib/esm/entity/chargeCard/chargeCardSelector.js.map +1 -0
- package/lib/esm/entity/chargeCardRepayment/chargeCardRepayment.js.map +1 -0
- package/lib/esm/entity/chargeCardRepayment/chargeCardRepaymentPayload.js.map +1 -0
- package/lib/esm/entity/chargeCardRepayment/chargeCardRepaymentReducer.js.map +1 -0
- package/lib/esm/entity/chargeCardRepayment/chargeCardRepaymentSelector.js.map +1 -0
- package/lib/esm/entity/chargeCardTransaction/chargeCardTransaction.js.map +1 -0
- package/lib/esm/entity/chargeCardTransaction/chargeCardTransactionPayload.js.map +1 -0
- package/lib/esm/entity/chargeCardTransaction/chargeCardTransactionReducer.js.map +1 -0
- package/lib/esm/entity/chargeCardTransaction/chargeCardTransactionSelector.js.map +1 -0
- package/lib/esm/entity/class/classPayload.js.map +1 -0
- package/lib/esm/entity/class/classReducer.js.map +1 -0
- package/lib/esm/entity/class/classSelector.js.map +1 -0
- package/lib/esm/entity/class/classSelectorTypes.js.map +1 -0
- package/lib/esm/entity/class/classSelectorV2.js.map +1 -0
- package/lib/esm/entity/class/classState.js.map +1 -0
- package/lib/esm/entity/company/companyHelper.js.map +1 -0
- package/lib/esm/entity/company/companyPayload.js +4 -0
- package/lib/esm/entity/company/companyPayload.js.map +1 -0
- package/lib/esm/entity/company/companyReducer.js.map +1 -0
- package/lib/esm/entity/company/companySelector.js.map +1 -0
- package/lib/esm/entity/company/companyState.js.map +1 -0
- package/lib/esm/entity/company/companyStateTypes.js.map +1 -0
- package/lib/esm/entity/companyHealthMetric/companyHealthMetricPayload.js.map +1 -0
- package/lib/esm/entity/companyHealthMetric/companyHealthMetricReducer.js.map +1 -0
- package/lib/esm/entity/companyHealthMetric/companyHealthMetricSelector.js.map +1 -0
- package/lib/esm/entity/companyHealthMetric/companyHealthMetricState.js.map +1 -0
- package/lib/esm/entity/connectedAccount/connectedAccount.js.map +1 -0
- package/lib/esm/entity/connectedAccount/connectedAccountPayload.js.map +1 -0
- package/lib/esm/entity/connectedAccount/connectedAccountReducer.js.map +1 -0
- package/lib/esm/entity/connectedAccount/connectedAccountSelector.js.map +1 -0
- package/lib/esm/entity/countryList/countryListReducer.js.map +1 -0
- package/lib/esm/entity/countryList/countryListSelector.js.map +1 -0
- package/lib/esm/entity/countryList/countryListState.js.map +1 -0
- package/lib/esm/entity/countryList/payloads/countryListPayload.js.map +1 -0
- package/lib/esm/entity/countryList/payloads/nationalityCountryListPayload.js.map +1 -0
- package/lib/esm/entity/creditAgent/creditAgentPayload.js.map +1 -0
- package/lib/esm/entity/creditAgent/creditAgentReducer.js.map +1 -0
- package/lib/esm/entity/creditAgent/creditAgentSelector.js.map +1 -0
- package/lib/esm/entity/creditAgent/creditAgentState.js.map +1 -0
- package/lib/esm/entity/currency/currency.js.map +1 -0
- package/lib/esm/entity/currency/currencyPayload.js.map +1 -0
- package/lib/esm/entity/currency/currencyReducer.js.map +1 -0
- package/lib/esm/entity/currency/currencySelector.js.map +1 -0
- package/lib/esm/entity/customer/customerPayload.js.map +1 -0
- package/lib/esm/entity/customer/customerReducer.js.map +1 -0
- package/lib/esm/entity/customer/customerSelector.js.map +1 -0
- package/lib/esm/entity/customer/customerState.js.map +1 -0
- package/lib/esm/entity/customerIncome/customerIncomeTrend.js.map +1 -0
- package/lib/esm/entity/customerIncome/customerIncomeTrendReducer.js.map +1 -0
- package/lib/esm/entity/customerIncome/customerIncomeTrendSelector.js.map +1 -0
- package/lib/esm/entity/customerIncome/customerIncomeTrendState.js.map +1 -0
- package/lib/esm/entity/customerSatisfaction/customerSatisfactionPayload.js.map +1 -0
- package/lib/esm/entity/customerSatisfaction/customerSatisfactionReducer.js.map +1 -0
- package/lib/esm/entity/customerSatisfaction/customerSatisfactionReducerHelpers.js.map +1 -0
- package/lib/esm/entity/customerSatisfaction/customerSatisfactionSelector.js.map +1 -0
- package/lib/esm/entity/customerSatisfaction/customerSatisfactionSelectorReducerTypes.js.map +1 -0
- package/lib/esm/entity/customerSatisfaction/customerSatisfactionState.js.map +1 -0
- package/lib/esm/entity/depositAccount/depositAccount.js.map +1 -0
- package/lib/esm/entity/depositAccount/depositAccountPayload.js.map +1 -0
- package/lib/esm/entity/depositAccount/depositAccountReducer.js.map +1 -0
- package/lib/esm/entity/depositAccount/depositAccountSelector.js.map +1 -0
- package/lib/esm/entity/depositAccountTransaction/depositAccountTransaction.js.map +1 -0
- package/lib/esm/entity/depositAccountTransaction/depositAccountTransactionPayload.js.map +1 -0
- package/lib/esm/entity/depositAccountTransaction/depositAccountTransactionReducer.js.map +1 -0
- package/lib/esm/entity/depositAccountTransaction/depositAccountTransactionSelector.js.map +1 -0
- package/lib/esm/entity/entityApprovalStatus/entityApprovalStatusPayload.js.map +1 -0
- package/lib/esm/entity/entityApprovalStatus/entityApprovalStatusReducer.js.map +1 -0
- package/lib/esm/entity/entityApprovalStatus/entityApprovalStatusSelector.js.map +1 -0
- package/lib/esm/entity/entityApprovalStatus/entityApprovalStatusState.js.map +1 -0
- package/lib/esm/entity/file/filePayload.js.map +1 -0
- package/lib/esm/entity/file/fileReducer.js.map +1 -0
- package/lib/esm/entity/file/fileSelector.js.map +1 -0
- package/lib/esm/entity/file/fileState.js.map +1 -0
- package/lib/esm/entity/forecast/forecastPayload.js.map +1 -0
- package/lib/esm/entity/forecast/forecastReducer.js.map +1 -0
- package/lib/esm/entity/forecast/forecastSelector.js.map +1 -0
- package/lib/esm/entity/forecast/forecastState.js.map +1 -0
- package/lib/esm/entity/genericEntity/entity.js.map +1 -0
- package/lib/esm/entity/genericEntity/entityPayload.js.map +1 -0
- package/lib/esm/entity/genericEntity/entityReducer.js.map +1 -0
- package/lib/esm/entity/genericEntity/entitySelector.js.map +1 -0
- package/lib/esm/entity/genericEntity/entityState.js.map +1 -0
- package/lib/esm/entity/globalMerchant/globalMerchantPayload.js.map +1 -0
- package/lib/esm/entity/globalMerchant/globalMerchantReducer.js.map +1 -0
- package/lib/esm/entity/globalMerchant/globalMerchantSelector.js.map +1 -0
- package/lib/esm/entity/globalMerchant/globalMerchantState.js.map +1 -0
- package/lib/esm/entity/insights/insightPayload.js.map +1 -0
- package/lib/esm/entity/insights/insightReducer.js.map +1 -0
- package/lib/esm/entity/insights/insightSelector.js.map +1 -0
- package/lib/esm/entity/insights/insightState.js.map +1 -0
- package/lib/esm/entity/insights/insightSummary.js.map +1 -0
- package/lib/esm/entity/insights/insightSummaryPayload.js.map +1 -0
- package/lib/esm/entity/jeSchedules/jeScheduleHelper.js.map +1 -0
- package/lib/esm/entity/jeSchedules/jeSchedulesPayload.js.map +1 -0
- package/lib/esm/entity/jeSchedules/jeSchedulesReducer.js.map +1 -0
- package/lib/esm/entity/jeSchedules/jeSchedulesSelector.js.map +1 -0
- package/lib/esm/entity/jeSchedules/jeSchedulesState.js.map +1 -0
- package/lib/esm/entity/jeSchedules/jeSchedulesTypes.js.map +1 -0
- package/lib/esm/entity/jeSchedules/updateAccruedJESchedulesEpic.js.map +1 -0
- package/lib/esm/entity/jeSchedules/updateJESchedulesEpic.js.map +1 -0
- package/lib/esm/entity/merchant/merchant.js.map +1 -0
- package/lib/esm/entity/merchant/merchantPayload.js.map +1 -0
- package/lib/esm/entity/merchant/merchantReducer.js.map +1 -0
- package/lib/esm/entity/merchant/merchantSelector.js.map +1 -0
- package/lib/esm/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js.map +1 -0
- package/lib/esm/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js.map +1 -0
- package/lib/esm/entity/monthEndCloseChecks/monthEndCloseChecksSelector.js.map +1 -0
- package/lib/esm/entity/monthEndCloseChecks/monthEndCloseChecksState.js.map +1 -0
- package/lib/esm/entity/notification/notificationPayload.js.map +1 -0
- package/lib/esm/entity/notification/notificationReducer.js.map +1 -0
- package/lib/esm/entity/notification/notificationSelector.js.map +1 -0
- package/lib/esm/entity/notification/notificationState.js.map +1 -0
- package/lib/esm/entity/notification/types/notificationSelectorTypes.js.map +1 -0
- package/lib/esm/entity/notification/types/notificationStateTypes.js.map +1 -0
- package/lib/esm/entity/notification/types/notificationTypes.js.map +1 -0
- package/lib/esm/entity/onboardingCustomer/onboardingCustomerPayload.js.map +1 -0
- package/lib/esm/entity/onboardingCustomer/onboardingCustomerReducer.js.map +1 -0
- package/lib/esm/entity/onboardingCustomer/onboardingCustomerSelector.js.map +1 -0
- package/lib/esm/entity/onboardingCustomer/onboardingCustomerState.js.map +1 -0
- package/lib/esm/entity/paymentAccount/paymentAccountPayload.js.map +1 -0
- package/lib/esm/entity/paymentAccount/paymentAccountReducer.js.map +1 -0
- package/lib/esm/entity/paymentAccount/paymentAccountSelector.js +3 -0
- package/lib/esm/entity/paymentAccount/paymentAccountSelector.js.map +1 -0
- package/lib/esm/entity/paymentAccount/paymentAccountState.js.map +1 -0
- package/lib/esm/entity/paymentInstrument/paymentInstrument.js.map +1 -0
- package/lib/esm/entity/paymentInstrument/paymentInstrumentPayload.js.map +1 -0
- package/lib/esm/entity/paymentInstrument/paymentInstrumentReducer.js.map +1 -0
- package/lib/esm/entity/paymentInstrument/paymentInstrumentSelector.js.map +1 -0
- package/lib/esm/entity/portfolio/accountingSummary/accountingSummaryPayload.js.map +1 -0
- package/lib/esm/entity/portfolio/accountingSummary/accountingSummaryReducer.js.map +1 -0
- package/lib/esm/entity/portfolio/accountingSummary/accountingSummarySelector.js.map +1 -0
- package/lib/esm/entity/portfolio/accountingSummary/accountingSummaryState.js.map +1 -0
- package/lib/esm/entity/project/projectPayload.js.map +1 -0
- package/lib/esm/entity/project/projectReducer.js.map +1 -0
- package/lib/esm/entity/project/projectSelector.js.map +1 -0
- package/lib/esm/entity/project/projectState.js.map +1 -0
- package/lib/esm/entity/reimbursement/reimbursementPayload.js.map +1 -0
- package/lib/esm/entity/reimbursement/reimbursementReducer.js.map +1 -0
- package/lib/esm/entity/reimbursement/reimbursementState.js.map +1 -0
- package/lib/esm/entity/sectionAccountsView/getNestedAccountIDHierarchyForSection.js.map +1 -0
- package/lib/esm/entity/sectionAccountsView/sectionAccountsView.js.map +1 -0
- package/lib/esm/entity/sectionAccountsView/sectionAccountsViewEpic.js.map +1 -0
- package/lib/esm/entity/sectionAccountsView/sectionAccountsViewHelper.js.map +1 -0
- package/lib/esm/entity/sectionAccountsView/sectionAccountsViewReducer.js.map +1 -0
- package/lib/esm/entity/sectionAccountsView/sectionAccountsViewSelector.js.map +1 -0
- package/lib/esm/entity/sectionAccountsView/sectionAccountsViewState.js.map +1 -0
- package/lib/esm/entity/sectionClassesViewV2/sectionClassesView.js.map +1 -0
- package/lib/esm/entity/sectionClassesViewV2/sectionClassesViewEpic.js.map +1 -0
- package/lib/esm/entity/sectionClassesViewV2/sectionClassesViewHelper.js.map +1 -0
- package/lib/esm/entity/sectionClassesViewV2/sectionClassesViewReducer.js.map +1 -0
- package/lib/esm/entity/sectionClassesViewV2/sectionClassesViewSelector.js.map +1 -0
- package/lib/esm/entity/sectionClassesViewV2/sectionClassesViewSelectorTypes.js.map +1 -0
- package/lib/esm/entity/sectionClassesViewV2/sectionClassesViewState.js.map +1 -0
- package/lib/esm/entity/sectionClassesViewV2/selectorHelpers/getNestedClassIDHierarchyForSection.js.map +1 -0
- package/lib/esm/entity/sectionProjectView/sectionProjectView.js.map +1 -0
- package/lib/esm/entity/sectionProjectView/sectionProjectViewEpic.js.map +1 -0
- package/lib/esm/entity/sectionProjectView/sectionProjectViewHelper.js.map +1 -0
- package/lib/esm/entity/sectionProjectView/sectionProjectViewReducer.js.map +1 -0
- package/lib/esm/entity/sectionProjectView/sectionProjectViewSelector.js.map +1 -0
- package/lib/esm/entity/sectionProjectView/sectionProjectViewSelectorTypes.js.map +1 -0
- package/lib/esm/entity/sectionProjectView/sectionProjectViewState.js.map +1 -0
- package/lib/esm/entity/snackbar/snackbarReducer.js.map +1 -0
- package/lib/esm/entity/snackbar/snackbarSelector.js.map +1 -0
- package/lib/esm/entity/snackbar/snackbarState.js.map +1 -0
- package/lib/esm/entity/snackbar/snackbarTypes.js.map +1 -0
- package/lib/esm/entity/subscription/subscription/subscriptionPayload.js.map +1 -0
- package/lib/esm/entity/subscription/subscription/subscriptionReducer.js.map +1 -0
- package/lib/esm/entity/subscription/subscription/subscriptionSelector.js.map +1 -0
- package/lib/esm/entity/subscription/subscription/subscriptionState.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionAddOn/subscriptionAddOnPayload.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionAddOn/subscriptionAddOnReducer.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionAddOn/subscriptionAddOnSelector.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionAddOn/subscriptionAddOnState.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionCoupon/subscriptionCouponPayload.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionCoupon/subscriptionCouponReducer.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionCoupon/subscriptionCouponSelector.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionCoupon/subscriptionCouponState.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionPlan/subscriptionPlanPayload.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionPlan/subscriptionPlanSelector.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionPlan/subscriptionPlanState.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionSummary/subscriptionSummaryPayload.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionSummary/subscriptionSummaryReducer.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionSummary/subscriptionSummarySelector.js.map +1 -0
- package/lib/esm/entity/subscription/subscriptionSummary/subscriptionSummaryState.js.map +1 -0
- package/lib/esm/entity/subscriptionPaymentAccount/subscriptionPaymentAccountPayload.js.map +1 -0
- package/lib/esm/entity/subscriptionPaymentAccount/subscriptionPaymentAccountReducer.js.map +1 -0
- package/lib/esm/entity/subscriptionPaymentAccount/subscriptionPaymentAccountSelector.js.map +1 -0
- package/lib/esm/entity/subscriptionPaymentAccount/subscriptionPaymentAccountState.js.map +1 -0
- package/lib/esm/entity/tag/tagPayload.js.map +1 -0
- package/lib/esm/entity/tag/tagReducer.js.map +1 -0
- package/lib/esm/entity/tag/tagSelector.js.map +1 -0
- package/lib/esm/entity/tag/tagState.js.map +1 -0
- package/lib/esm/entity/task/taskPayload.js.map +1 -0
- package/lib/esm/entity/task/taskReducer.js.map +1 -0
- package/lib/esm/entity/task/taskSelector.js.map +1 -0
- package/lib/esm/entity/task/taskState.js.map +1 -0
- package/lib/esm/entity/taskGroup/taskGroupPayload.js.map +1 -0
- package/lib/esm/entity/taskGroup/taskGroupReducer.js.map +1 -0
- package/lib/esm/entity/taskGroup/taskGroupSelector.js.map +1 -0
- package/lib/esm/entity/taskGroup/taskGroupState.js.map +1 -0
- package/lib/esm/entity/taskGroupTemplate/taskGroupTemplatePayload.js.map +1 -0
- package/lib/esm/entity/taskGroupTemplate/taskGroupTemplateReducer.js.map +1 -0
- package/lib/esm/entity/taskGroupTemplate/taskGroupTemplateSelector.js.map +1 -0
- package/lib/esm/entity/taskGroupTemplate/taskGroupTemplateState.js.map +1 -0
- package/lib/esm/entity/taskSummary/taskSummaryPayload.js.map +1 -0
- package/lib/esm/entity/taskSummary/taskSummaryReducer.js.map +1 -0
- package/lib/esm/entity/taskSummary/taskSummarySelector.js.map +1 -0
- package/lib/esm/entity/taskSummary/taskSummaryState.js.map +1 -0
- package/lib/esm/entity/tenant/SessionManager.js.map +1 -0
- package/lib/esm/entity/tenant/clearAllEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/deleteConnectionEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/doMagicLinkSignInEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/fetchActiveTenantEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/fetchAllTenantsEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/fetchExcludedResourcesEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/fetchExternalConnectionsEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/fetchSubscriptionSummaryForTenantEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/initEmailConnectOAuthEpic.js +50 -0
- package/lib/esm/entity/tenant/epic/initEmailConnectOAuthEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/resendVerifyDeviceOTPEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/saveAPIKeyConnectionEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/saveConnectorCredentialsEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/saveExternalConnectionEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/saveOAuthConnectionEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/sendEmailMagicLinkToUserEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/sessionHeartbeatEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/signInUserEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/signOutUserEpic.js.map +1 -0
- package/lib/esm/entity/tenant/epic/verifyDeviceWithTwoFAEpic.js.map +1 -0
- package/lib/esm/entity/tenant/sessionTypes.js.map +1 -0
- package/lib/esm/entity/tenant/tenantPayload.js.map +1 -0
- package/lib/esm/entity/tenant/tenantReducer.js +63 -3
- package/lib/esm/entity/tenant/tenantReducer.js.map +1 -0
- package/lib/esm/entity/tenant/tenantSelector.js.map +1 -0
- package/lib/esm/entity/tenant/tenantState.js.map +1 -0
- package/lib/esm/entity/toastNotification/epic/pushToastNotificationEpic.js.map +1 -0
- package/lib/esm/entity/toastNotification/toastNotificationConstants.js.map +1 -0
- package/lib/esm/entity/toastNotification/toastNotificationPayload.js.map +1 -0
- package/lib/esm/entity/toastNotification/toastNotificationReducer.js.map +1 -0
- package/lib/esm/entity/toastNotification/toastNotificationSelector.js.map +1 -0
- package/lib/esm/entity/toastNotification/toastNotificationState.js.map +1 -0
- package/lib/esm/entity/transaction/payloadTypes/attachmentPayload.js.map +1 -0
- package/lib/esm/entity/transaction/payloadTypes/customerTransactionPayload.js.map +1 -0
- package/lib/esm/entity/transaction/payloadTypes/otherTransactionPayload.js.map +1 -0
- package/lib/esm/entity/transaction/payloadTypes/reconciliationTransactionPayloads.js.map +1 -0
- package/lib/esm/entity/transaction/payloadTypes/scheduleTransactionPayload.js.map +1 -0
- package/lib/esm/entity/transaction/payloadTypes/transactionIDPayload.js.map +1 -0
- package/lib/esm/entity/transaction/payloadTypes/transactionLinePayload.js.map +1 -0
- package/lib/esm/entity/transaction/payloadTypes/transactionPayload.js.map +1 -0
- package/lib/esm/entity/transaction/payloadTypes/vendorTransactionPayload.js.map +1 -0
- package/lib/esm/entity/transaction/stateTypes/attachment.js.map +1 -0
- package/lib/esm/entity/transaction/stateTypes/customerTransaction.js.map +1 -0
- package/lib/esm/entity/transaction/stateTypes/otherTransaction.js.map +1 -0
- package/lib/esm/entity/transaction/stateTypes/paymentType.js.map +1 -0
- package/lib/esm/entity/transaction/stateTypes/reconciliationTransaction.js.map +1 -0
- package/lib/esm/entity/transaction/stateTypes/scheduleTransaction.js.map +1 -0
- package/lib/esm/entity/transaction/stateTypes/transaction.js.map +1 -0
- package/lib/esm/entity/transaction/stateTypes/transactionLine.js +1 -0
- package/lib/esm/entity/transaction/stateTypes/transactionLine.js.map +1 -0
- package/lib/esm/entity/transaction/stateTypes/transactionType.js.map +1 -0
- package/lib/esm/entity/transaction/stateTypes/vendorTransaction.js.map +1 -0
- package/lib/esm/entity/transaction/toSupportedTransaction.js.map +1 -0
- package/lib/esm/entity/transaction/transactionHelper.js.map +1 -0
- package/lib/esm/entity/transaction/transactionReducer.js.map +1 -0
- package/lib/esm/entity/transaction/transactionSelector.js.map +1 -0
- package/lib/esm/entity/transaction/transactionState.js.map +1 -0
- package/lib/esm/entity/transactionActivityLog/transactionActivityLogPayload.js.map +1 -0
- package/lib/esm/entity/transactionActivityLog/transactionActivityLogReducer.js.map +1 -0
- package/lib/esm/entity/transactionActivityLog/transactionActivityLogSelector.js.map +1 -0
- package/lib/esm/entity/transactionActivityLog/transactionActivityLogState.js.map +1 -0
- package/lib/esm/entity/user/userPayload.js.map +1 -0
- package/lib/esm/entity/user/userReducer.js.map +1 -0
- package/lib/esm/entity/user/userSelector.js.map +1 -0
- package/lib/esm/entity/user/userState.js.map +1 -0
- package/lib/esm/entity/userGroups/userGroupsPayload.js.map +1 -0
- package/lib/esm/entity/userGroups/userGroupsReducer.js.map +1 -0
- package/lib/esm/entity/userGroups/userGroupsSelector.js.map +1 -0
- package/lib/esm/entity/userGroups/userGroupsState.js.map +1 -0
- package/lib/esm/entity/userRole/userRolePayload.js.map +1 -0
- package/lib/esm/entity/userRole/userRoleReducer.js.map +1 -0
- package/lib/esm/entity/userRole/userRoleSelector.js.map +1 -0
- package/lib/esm/entity/userRole/userRoleState.js.map +1 -0
- package/lib/esm/entity/userRole/userRoleType.js.map +1 -0
- package/lib/esm/entity/vendor/__mocks__/vendorMock.js.map +1 -0
- package/lib/esm/entity/vendor/__mocks__/vendorStateMocks.js.map +1 -0
- package/lib/esm/entity/vendor/vendorPayload.js.map +1 -0
- package/lib/esm/entity/vendor/vendorReducer.js.map +1 -0
- package/lib/esm/entity/vendor/vendorSelector.js.map +1 -0
- package/lib/esm/entity/vendor/vendorState.js.map +1 -0
- package/lib/esm/entity/vendor/vendorType.js.map +1 -0
- package/lib/esm/entity/vendorExpense/vendorExpenseReducer.js.map +1 -0
- package/lib/esm/entity/vendorExpense/vendorExpenseSelector.js.map +1 -0
- package/lib/esm/entity/vendorExpense/vendorExpenseState.js.map +1 -0
- package/lib/esm/entity/vendorExpense/vendorExpenseTrend.js.map +1 -0
- package/lib/esm/epic.js +9 -3
- package/lib/esm/epic.js.map +1 -0
- package/lib/esm/epicManager.js.map +1 -0
- package/lib/esm/externalAPI.js.map +1 -0
- package/lib/esm/index.js +11 -6
- package/lib/esm/index.js.map +1 -0
- package/lib/esm/init.js.map +1 -0
- package/lib/esm/reducer.js.map +1 -0
- package/lib/esm/responsePayload.js.map +1 -0
- package/lib/esm/view/accountList/accountListPayload.js.map +1 -0
- package/lib/esm/view/accountList/accountListReducer.js.map +1 -0
- package/lib/esm/view/accountList/accountListSelector.js.map +1 -0
- package/lib/esm/view/accountList/accountListState.js.map +1 -0
- package/lib/esm/view/accountList/fetchAccountListEpic.js.map +1 -0
- package/lib/esm/view/accountMappingView/__mocks__/accountMappingSelectorMock.js.map +1 -0
- package/lib/esm/view/accountMappingView/accountMappingPayload.js.map +1 -0
- package/lib/esm/view/accountMappingView/accountMappingReducer.js.map +1 -0
- package/lib/esm/view/accountMappingView/accountMappingState.js.map +1 -0
- package/lib/esm/view/accountMappingView/accountMappingTypeHelper.js.map +1 -0
- package/lib/esm/view/accountMappingView/accountMappingViewSelector.js.map +1 -0
- package/lib/esm/view/accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload.js.map +1 -0
- package/lib/esm/view/accountMappingView/accountTypeRecommendation/fetchRecommendationForAccountTypeEpic.js.map +1 -0
- package/lib/esm/view/accountMappingView/fetchAccountListForAccountTypesEpic.js.map +1 -0
- package/lib/esm/view/accountMappingView/initializeAccountMappingViewEpic.js.map +1 -0
- package/lib/esm/view/accountMappingView/saveAccountMappingViewEpic.js.map +1 -0
- package/lib/esm/view/addressView/__mocks__/addressViewMocks.js.map +1 -0
- package/lib/esm/view/addressView/addressViewPayload.js.map +1 -0
- package/lib/esm/view/addressView/addressViewReducer.js.map +1 -0
- package/lib/esm/view/addressView/addressViewSelector.js.map +1 -0
- package/lib/esm/view/addressView/addressViewState.js.map +1 -0
- package/lib/esm/view/addressView/epic/createAddressEpic.js.map +1 -0
- package/lib/esm/view/addressView/epic/createCompanyAddressEpic.js.map +1 -0
- package/lib/esm/view/addressView/epic/createCompanyUserAddressEpic.js.map +1 -0
- package/lib/esm/view/addressView/epic/fetchAddressEpic.js.map +1 -0
- package/lib/esm/view/addressView/epic/saveNewAddressEpic.js.map +1 -0
- package/lib/esm/view/addressView/epic/updateAddressEpic.js.map +1 -0
- package/lib/esm/view/addressView/toAddressViewLocalData.js.map +1 -0
- package/lib/esm/view/aiAccountantView/aiAccountantViewPayload.js.map +1 -0
- package/lib/esm/view/aiAccountantView/aiAccountantViewReducer.js.map +1 -0
- package/lib/esm/view/aiAccountantView/aiAccountantViewSelector.js.map +1 -0
- package/lib/esm/view/aiAccountantView/aiAccountantViewState.js.map +1 -0
- package/lib/esm/view/aiAccountantView/epics/cancelAiAccountantOnboardingEpic.js.map +1 -0
- package/lib/esm/view/aiAccountantView/epics/fetchAiAccountantCustomersEpic.js.map +1 -0
- package/lib/esm/view/aiAccountantView/epics/fetchAiAccountantJobsEpic.js.map +1 -0
- package/lib/esm/view/aiAccountantView/epics/triggerAiAccountantJobEpic.js.map +1 -0
- package/lib/esm/view/aiAgentPerformance/aggregatedReportEpic.js.map +1 -0
- package/lib/esm/view/aiAgentPerformance/aggregatedReportPayload.js.map +1 -0
- package/lib/esm/view/aiAgentPerformance/aggregatedReportViewReducer.js.map +1 -0
- package/lib/esm/view/aiAgentPerformance/aggregatedReportViewSelector.js.map +1 -0
- package/lib/esm/view/aiAgentPerformance/aggregatedReportViewState.js.map +1 -0
- package/lib/esm/view/aiAgentPerformance/performanceHelper.js.map +1 -0
- package/lib/esm/view/aiCfoView/aiCfoViewPayload.js.map +1 -0
- package/lib/esm/view/aiCfoView/aiCfoViewReducer.js.map +1 -0
- package/lib/esm/view/aiCfoView/aiCfoViewSelector.js.map +1 -0
- package/lib/esm/view/aiCfoView/aiCfoViewState.js.map +1 -0
- package/lib/esm/view/aiCfoView/epics/acceptMasterTOSEpic.js.map +1 -0
- package/lib/esm/view/aiCfoView/epics/createSessionAndSubmitEpic.js.map +1 -0
- package/lib/esm/view/aiCfoView/epics/createSessionEpic.js.map +1 -0
- package/lib/esm/view/aiCfoView/epics/deleteChatSessionEpic.js.map +1 -0
- package/lib/esm/view/aiCfoView/epics/fetchChatHistoryEpic.js.map +1 -0
- package/lib/esm/view/aiCfoView/epics/fetchChatSessionsForUserEpic.js.map +1 -0
- package/lib/esm/view/aiCfoView/epics/fetchSuggestedQuestionsEpic.js.map +1 -0
- package/lib/esm/view/aiCfoView/epics/stopSubmitEpic.js.map +1 -0
- package/lib/esm/view/aiCfoView/epics/stopSubmitQuestionEpic.js.map +1 -0
- package/lib/esm/view/aiCfoView/epics/submitQuestionEpic.js.map +1 -0
- package/lib/esm/view/apAgingView/apAgingDetail/apAgingDetailPayload.js.map +1 -0
- package/lib/esm/view/apAgingView/apAgingDetail/apAgingDetailReducer.js.map +1 -0
- package/lib/esm/view/apAgingView/apAgingDetail/apAgingDetailSelector.js.map +1 -0
- package/lib/esm/view/apAgingView/apAgingDetail/apAgingDetailState.js.map +1 -0
- package/lib/esm/view/apAgingView/apAgingDetail/fetchApAgingDetailEpic.js.map +1 -0
- package/lib/esm/view/apAgingView/apAgingReport/apAgingPayload.js.map +1 -0
- package/lib/esm/view/apAgingView/apAgingReport/apAgingReducer.js.map +1 -0
- package/lib/esm/view/apAgingView/apAgingReport/apAgingSelector.js.map +1 -0
- package/lib/esm/view/apAgingView/apAgingReport/apAgingState.js.map +1 -0
- package/lib/esm/view/apAgingView/apAgingReport/fetchApAgingEpic.js.map +1 -0
- package/lib/esm/view/arAgingView/arAgingDetail/arAgingDetailPayload.js.map +1 -0
- package/lib/esm/view/arAgingView/arAgingDetail/arAgingDetailReducer.js.map +1 -0
- package/lib/esm/view/arAgingView/arAgingDetail/arAgingDetailSelector.js.map +1 -0
- package/lib/esm/view/arAgingView/arAgingDetail/arAgingDetailState.js.map +1 -0
- package/lib/esm/view/arAgingView/arAgingDetail/fetchArAgingDetailEpic.js.map +1 -0
- package/lib/esm/view/arAgingView/arAgingReport/arAgingPayload.js.map +1 -0
- package/lib/esm/view/arAgingView/arAgingReport/arAgingReducer.js.map +1 -0
- package/lib/esm/view/arAgingView/arAgingReport/arAgingSelector.js.map +1 -0
- package/lib/esm/view/arAgingView/arAgingReport/arAgingState.js.map +1 -0
- package/lib/esm/view/arAgingView/arAgingReport/fetchArAgingEpic.js.map +1 -0
- package/lib/esm/view/auditReportView/auditReportViewHelper.js.map +1 -0
- package/lib/esm/view/auditReportView/auditReportViewPayload.js.map +1 -0
- package/lib/esm/view/auditReportView/auditReportViewReducer.js.map +1 -0
- package/lib/esm/view/auditReportView/auditReportViewSelector.js.map +1 -0
- package/lib/esm/view/auditReportView/auditReportViewState.js.map +1 -0
- package/lib/esm/view/auditReportView/epics/fetchAuditReportGroupViewEpic.js.map +1 -0
- package/lib/esm/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.js.map +1 -0
- package/lib/esm/view/auditReportView/epics/saveReasonForAuditRuleEpic.js.map +1 -0
- package/lib/esm/view/authenticationView/authenticationViewPayload.js.map +1 -0
- package/lib/esm/view/authenticationView/authenticationViewReducer.js.map +1 -0
- package/lib/esm/view/authenticationView/authenticationViewSelector.js.map +1 -0
- package/lib/esm/view/authenticationView/authenticationViewState.js.map +1 -0
- package/lib/esm/view/authenticationView/epics/fetchCollaborationAuthTokenEpic.js.map +1 -0
- package/lib/esm/view/autoComplete/entityAutoCompletePayload.js.map +1 -0
- package/lib/esm/view/autoComplete/entityAutoCompleteReducer.js.map +1 -0
- package/lib/esm/view/autoComplete/entityAutoCompleteSelector.js.map +1 -0
- package/lib/esm/view/autoComplete/entityAutoCompleteState.js.map +1 -0
- package/lib/esm/view/autoComplete/fetchEntityAutoCompleteEpic.js.map +1 -0
- package/lib/esm/view/balanceSheet/balanceSheetEpic.js.map +1 -0
- package/lib/esm/view/balanceSheet/balanceSheetForTimeframeEpic.js.map +1 -0
- package/lib/esm/view/balanceSheet/balanceSheetPayload.js.map +1 -0
- package/lib/esm/view/balanceSheet/balanceSheetReducer.js.map +1 -0
- package/lib/esm/view/balanceSheet/balanceSheetSelector.js.map +1 -0
- package/lib/esm/view/balanceSheet/balanceSheetSelectorTypes.js.map +1 -0
- package/lib/esm/view/balanceSheet/balanceSheetState.js.map +1 -0
- package/lib/esm/view/bankAccountView/bankAccountViewPayload.js.map +1 -0
- package/lib/esm/view/bankAccountView/bankAccountViewReducer.js.map +1 -0
- package/lib/esm/view/bankAccountView/bankAccountViewSelector.js.map +1 -0
- package/lib/esm/view/bankAccountView/bankAccountViewState.js.map +1 -0
- package/lib/esm/view/bankAccountView/epic/createBankAccountEpic.js.map +1 -0
- package/lib/esm/view/bankAccountView/epic/createInternationalBankAccountEpic.js.map +1 -0
- package/lib/esm/view/bankAccountView/epic/createUserBankAccountEpic.js.map +1 -0
- package/lib/esm/view/bankAccountView/epic/deleteBankAccountEpic.js.map +1 -0
- package/lib/esm/view/bankAccountView/epic/deleteInternationalBankAccountEpic.js.map +1 -0
- package/lib/esm/view/bankAccountView/epic/deleteUserBankAccountEpic.js.map +1 -0
- package/lib/esm/view/bankAccountView/epic/fetchBankCountryNameByIbanEpic.js.map +1 -0
- package/lib/esm/view/bankAccountView/epic/fetchBankNameByRoutingEpic.js.map +1 -0
- package/lib/esm/view/bankAccountView/epic/fetchBankNameBySwiftEpic.js.map +1 -0
- package/lib/esm/view/billPayCard/billPayCardPayload.js.map +1 -0
- package/lib/esm/view/billPayCard/billPayCardReducer.js.map +1 -0
- package/lib/esm/view/billPayCard/billPayCardSelector.js.map +1 -0
- package/lib/esm/view/billPayCard/billPayCardState.js.map +1 -0
- package/lib/esm/view/billPayCard/fetchBillPayCardEpic.js.map +1 -0
- package/lib/esm/view/cardBalance/cardBalanceEpic.js.map +1 -0
- package/lib/esm/view/cardBalance/cardBalancePayload.js.map +1 -0
- package/lib/esm/view/cardBalance/cardBalanceReducer.js.map +1 -0
- package/lib/esm/view/cardBalance/cardBalanceSelector.js.map +1 -0
- package/lib/esm/view/cardBalance/cardBalanceState.js.map +1 -0
- package/lib/esm/view/cardBalance/statementCloseDayEpic.js.map +1 -0
- package/lib/esm/view/cardPayment/cardPaymentViewPayload.js.map +1 -0
- package/lib/esm/view/cardPayment/cardPaymentViewReducer.js.map +1 -0
- package/lib/esm/view/cardPayment/cardPaymentViewSelector.js.map +1 -0
- package/lib/esm/view/cardPayment/cardPaymentViewState.js.map +1 -0
- package/lib/esm/view/cardPayment/cardPaymentViewTypes.js.map +1 -0
- package/lib/esm/view/cardPayment/epic/addCardPaymentSourceEpic.js.map +1 -0
- package/lib/esm/view/cardPayment/epic/confirmCardSetupIntentEpic.js.map +1 -0
- package/lib/esm/view/cardPayment/epic/createCardSetupIntentEpic.js.map +1 -0
- package/lib/esm/view/cardPayment/epic/fetchPaymentSourcesEpic.js.map +1 -0
- package/lib/esm/view/cashBalance/cashBalanceEpic.js.map +1 -0
- package/lib/esm/view/cashBalance/cashBalancePayload.js.map +1 -0
- package/lib/esm/view/cashBalance/cashBalanceReducer.js.map +1 -0
- package/lib/esm/view/cashBalance/cashBalanceSelector.js.map +1 -0
- package/lib/esm/view/cashBalance/cashBalanceState.js.map +1 -0
- package/lib/esm/view/cashFlow/cashFlowEpic.js.map +1 -0
- package/lib/esm/view/cashFlow/cashFlowForTimeframeEpic.js.map +1 -0
- package/lib/esm/view/cashFlow/cashFlowPayload.js.map +1 -0
- package/lib/esm/view/cashFlow/cashFlowReducer.js.map +1 -0
- package/lib/esm/view/cashFlow/cashFlowSelector.js.map +1 -0
- package/lib/esm/view/cashFlow/cashFlowSelectorTypes.js.map +1 -0
- package/lib/esm/view/cashFlow/cashFlowState.js.map +1 -0
- package/lib/esm/view/cashInCashOut/cashInCashOutEpic.js.map +1 -0
- package/lib/esm/view/cashInCashOut/cashInCashOutPayload.js.map +1 -0
- package/lib/esm/view/cashInCashOut/cashInCashOutReducer.js.map +1 -0
- package/lib/esm/view/cashInCashOut/cashInCashOutSelector.js.map +1 -0
- package/lib/esm/view/cashInCashOut/cashInCashOutSelectorTypes.js.map +1 -0
- package/lib/esm/view/cashInCashOut/cashInCashOutState.js.map +1 -0
- package/lib/esm/view/cashPosition/cashPositionEpic.js.map +1 -0
- package/lib/esm/view/cashPosition/cashPositionPayload.js.map +1 -0
- package/lib/esm/view/cashPosition/cashPositionReducer.js.map +1 -0
- package/lib/esm/view/cashPosition/cashPositionSelector.js.map +1 -0
- package/lib/esm/view/cashPosition/cashPositionSelectorTypes.js.map +1 -0
- package/lib/esm/view/cashPosition/cashPositionState.js.map +1 -0
- package/lib/esm/view/classList/classListPayload.js.map +1 -0
- package/lib/esm/view/classList/classListReducer.js.map +1 -0
- package/lib/esm/view/classList/classListSelector.js.map +1 -0
- package/lib/esm/view/classList/classListState.js.map +1 -0
- package/lib/esm/view/classList/fetchClassListEpic.js.map +1 -0
- package/lib/esm/view/common/getSelectedAndHighlightedRanges.js.map +1 -0
- package/lib/esm/view/common/recurringViewHelper.js.map +1 -0
- package/lib/esm/view/common/reportsHelpers.js.map +1 -0
- package/lib/esm/view/common/zeniClearingAccountHelper.js.map +1 -0
- package/lib/esm/view/commonVendorView/commonVendorViewHelper.js.map +1 -0
- package/lib/esm/view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/transactionVendorView/transactionVendorLocalDataHelper.js.map +1 -0
- package/lib/esm/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.js.map +1 -0
- package/lib/esm/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.js.map +1 -0
- package/lib/esm/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.js.map +1 -0
- package/lib/esm/view/commonVendorView/transactionVendorView/transactionVendorViewState.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/epics/fetchVendorEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/epics/initializeVendorAddressEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/epics/saveVendorEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/epics/twoFactorAuth/fetchUserDetailEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/epics/twoFactorAuth/verifyUserEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/epics/updateSelectedVendorForCreateFlowEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/epics/vendorDetailLocalDataHelpers.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/vendorViewPayload.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/vendorViewReducer.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/vendorViewSelector.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorView/vendorViewState.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorsTabVendorView/epics/saveVendorsTabVendorEpic.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js.map +1 -0
- package/lib/esm/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewState.js.map +1 -0
- package/lib/esm/view/companyConfigView/companyConfigEpic.js.map +1 -0
- package/lib/esm/view/companyConfigView/companyConfigPayload.js.map +1 -0
- package/lib/esm/view/companyConfigView/companyConfigReducer.js.map +1 -0
- package/lib/esm/view/companyConfigView/companyConfigSelector.js.map +1 -0
- package/lib/esm/view/companyConfigView/companyConfigState.js.map +1 -0
- package/lib/esm/view/companyHealthMetricView/companyHealthMetricConfigPayload.js.map +1 -0
- package/lib/esm/view/companyHealthMetricView/companyHealthMetricConfigReducer.js.map +1 -0
- package/lib/esm/view/companyHealthMetricView/companyHealthMetricConfigSelector.js.map +1 -0
- package/lib/esm/view/companyHealthMetricView/companyHealthMetricView.js.map +1 -0
- package/lib/esm/view/companyHealthMetricView/companyHealthMetricViewPayload.js.map +1 -0
- package/lib/esm/view/companyHealthMetricView/companyHealthMetricViewReducer.js.map +1 -0
- package/lib/esm/view/companyHealthMetricView/companyHealthMetricViewSelector.js.map +1 -0
- package/lib/esm/view/companyHealthMetricView/epic/fetchCompanyHealthMetricConfigEpic.js.map +1 -0
- package/lib/esm/view/companyHealthMetricView/epic/fetchCompanyHealthMetricViewEpic.js.map +1 -0
- package/lib/esm/view/companyHealthMetricView/epic/initializeCompanyHealthMetricViewLocalData.js.map +1 -0
- package/lib/esm/view/companyHealthMetricView/epic/saveCompanyHealthMetricByIdEpic.js.map +1 -0
- package/lib/esm/view/companyMonthEndReportView/companyMonthEndReportViewPayload.js.map +1 -0
- package/lib/esm/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js.map +1 -0
- package/lib/esm/view/companyMonthEndReportView/companyMonthEndReportViewSelector.js.map +1 -0
- package/lib/esm/view/companyMonthEndReportView/companyMonthEndReportViewState.js.map +1 -0
- package/lib/esm/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.js.map +1 -0
- package/lib/esm/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.js.map +1 -0
- package/lib/esm/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportTemplatesEpic.js.map +1 -0
- package/lib/esm/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js.map +1 -0
- package/lib/esm/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.js.map +1 -0
- package/lib/esm/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js.map +1 -0
- package/lib/esm/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js.map +1 -0
- package/lib/esm/view/companyTaskManagerView/companyTaskManagerViewPayload.js.map +1 -0
- package/lib/esm/view/companyTaskManagerView/companyTaskManagerViewReducer.js.map +1 -0
- package/lib/esm/view/companyTaskManagerView/companyTaskManagerViewSelector.js.map +1 -0
- package/lib/esm/view/companyTaskManagerView/companyTaskManagerViewState.js.map +1 -0
- package/lib/esm/view/companyTaskManagerView/epics/fetchCompanyTaskManagerViewEpic.js.map +1 -0
- package/lib/esm/view/companyTaskManagerView/epics/fetchTaskManagerMetricsEpic.js.map +1 -0
- package/lib/esm/view/companyView/companyViewPayload.js.map +1 -0
- package/lib/esm/view/companyView/companyViewReducer.js.map +1 -0
- package/lib/esm/view/companyView/companyViewState.js.map +1 -0
- package/lib/esm/view/companyView/epic/companyManagementSavePendingUpdates.js.map +1 -0
- package/lib/esm/view/companyView/epic/companyManagementSaveUpdatesEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/companyPassport/createCompanyOfficersEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/companyPassport/dismissCapitalizationOnboardingEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/companyPassport/fetchCompanyPassportViewEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/companyPassport/updateCapitalizationThresholdEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/companyPassport/updateCompanyOfficerEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/companyPassport/updatePrimaryContactEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/fetchAllCockpitViewsEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/fetchCompanyManagementViewEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/fetchCompanyMetaDataEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/fetchCompanyPortfolioViewEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/fetchManagementViewEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/fetchOnboardingViewEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/fetchPortfolioViewEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/fetchSubscriptionViewEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/fetchZeniUsersEpic.js.map +1 -0
- package/lib/esm/view/companyView/epic/getSubscriptionIDsByCompanyID.js.map +1 -0
- package/lib/esm/view/companyView/helpers/cockpitHelpers.js.map +1 -0
- package/lib/esm/view/companyView/parentSubsidiaryView/fetchParentSubsidiaryManagementViewEpic.js.map +1 -0
- package/lib/esm/view/companyView/parentSubsidiaryView/parentSubsidiaryViewSelector.js.map +1 -0
- package/lib/esm/view/companyView/parentSubsidiaryView/parentSubsidiaryViewState.js.map +1 -0
- package/lib/esm/view/companyView/selector/companyManagementViewSelector.js.map +1 -0
- package/lib/esm/view/companyView/selector/companyPassportViewSelector.js.map +1 -0
- package/lib/esm/view/companyView/selector/companyPortfolioViewSelector.js.map +1 -0
- package/lib/esm/view/companyView/selector/getAllCockpitTabsFilterView.js.map +1 -0
- package/lib/esm/view/companyView/selectorHelpers/getCompanyView.js.map +1 -0
- package/lib/esm/view/companyView/types/cockpitTabsID.js.map +1 -0
- package/lib/esm/view/companyView/types/cockpitTypes.js.map +1 -0
- package/lib/esm/view/companyView/types/commonState.js.map +1 -0
- package/lib/esm/view/companyView/types/companyManagementViewState.js.map +1 -0
- package/lib/esm/view/companyView/types/companyMetaDataViewState.js.map +1 -0
- package/lib/esm/view/companyView/types/companyPassport/companyDetailsLocalData.js.map +1 -0
- package/lib/esm/view/companyView/types/companyPassport/companyPassportLocalData.js.map +1 -0
- package/lib/esm/view/companyView/types/companyPassport/companyPassportViewState.js.map +1 -0
- package/lib/esm/view/companyView/types/companyPassport/companyUsersLocalData.js.map +1 -0
- package/lib/esm/view/companyView/types/companyPassportViewPayload.js.map +1 -0
- package/lib/esm/view/companyView/types/companyPortfolioViewState.js.map +1 -0
- package/lib/esm/view/companyView/types/companyView.js.map +1 -0
- package/lib/esm/view/companyView/types/userAndRole.js.map +1 -0
- package/lib/esm/view/createTransferEntry/createTransferEntryReducer.js.map +1 -0
- package/lib/esm/view/createTransferEntry/createTransferEntrySelector.js.map +1 -0
- package/lib/esm/view/createTransferEntry/createTransferEntryState.js.map +1 -0
- package/lib/esm/view/createTransferEntry/epics/createTransferEntryEpic.js.map +1 -0
- package/lib/esm/view/createTransferEntry/epics/fetchTransferAccountsEpic.js.map +1 -0
- package/lib/esm/view/creditAgentView/buildCreditReportCsv.js.map +1 -0
- package/lib/esm/view/creditAgentView/creditAgentViewPayload.js.map +1 -0
- package/lib/esm/view/creditAgentView/creditAgentViewReducer.js.map +1 -0
- package/lib/esm/view/creditAgentView/creditAgentViewSelector.js.map +1 -0
- package/lib/esm/view/creditAgentView/creditAgentViewState.js.map +1 -0
- package/lib/esm/view/creditAgentView/epics/fetchCardProfilesEpic.js.map +1 -0
- package/lib/esm/view/creditAgentView/epics/fetchCreditAgentMacroEpic.js.map +1 -0
- package/lib/esm/view/creditAgentView/epics/saveCreditAgentMacroEpic.js.map +1 -0
- package/lib/esm/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.js.map +1 -0
- package/lib/esm/view/creditAgentView/epics/updateCardProfileEpic.js.map +1 -0
- package/lib/esm/view/dashboard/dashboardEpic.js.map +1 -0
- package/lib/esm/view/dashboard/dashboardReducer.js.map +1 -0
- package/lib/esm/view/dashboard/dashboardSelector.js.map +1 -0
- package/lib/esm/view/dashboard/dashboardState.js.map +1 -0
- package/lib/esm/view/dashboardLayout/dashboardLayoutPayload.js.map +1 -0
- package/lib/esm/view/dashboardLayout/dashboardLayoutReducer.js.map +1 -0
- package/lib/esm/view/dashboardLayout/dashboardLayoutSelector.js.map +1 -0
- package/lib/esm/view/dashboardLayout/dashboardLayoutState.js.map +1 -0
- package/lib/esm/view/dashboardLayout/fetchDashboardLayoutEpic.js.map +1 -0
- package/lib/esm/view/dashboardLayout/updateDashboardLayoutEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/accountRecon/deleteAccountStatementEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/accountRecon/excludeAccountFromReconciliationEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/accountRecon/includeAccountInReconciliationEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/accountRecon/initialiseLocalDataForSelectedAccountIdEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/accountRecon/saveReconciliationDetailEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/accountRecon/saveReconciliationReviewEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/accountRecon/updateReconcileTabLocalDataEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/accountRecon/uploadAccountStatementDocumentAIHelper.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/accountRecon/uploadAccountStatementEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/accountSettings/fetchAccountSettingsListForAccountTypesEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/accountSettings/fetchRecommendationForAccountSettingsEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/accountSettings/initializeAccountSettingsViewEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/accountSettings/saveAccountSettingsViewEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/bulkUploadMatchResultToastEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/bulkUploadReceiptsEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/confirmBulkUploadMatchEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/fetchBulkUploadBatchDetailsEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/fetchBulkUploadBatchesEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/fetchCompletedTransactionsEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/fetchMoreBatchDetailsEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/fetchMultipleBatchDetailsEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/refetchCompletedTransactionsOnBulkUploadSortEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/refreshBatchDetailsForBatchIdEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/restoreBulkUploadAutomatchingOnMountEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/searchTransactionsForManualMatchEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/syncTabsAfterAutomatchEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/missingReceipts/watchBulkUploadBatchStatusEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/backgroundRefetchReviewTabEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/initializeTransactionCategorizationLocalDataEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/markTransactionAsNotMiscategorizedEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/saveTransactionCategorizationEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/triggerReviewTabRefetchEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/updateTransactionCategorizationEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/uploadTransactionReceiptSuccessEpic.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/expenseAutomationViewPayload.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/expenseAutomationViewReducer.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/expenseAutomationViewSelector.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/expenseAutomationViewState.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/helpers/bulkUploadTiming.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/helpers/helpers.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/helpers/jeAccountSettingHelper.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/helpers/reconciliationHelpers.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/helpers/rollingCalendarDateRangeInclusive.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/helpers/saveTransactionHelper.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/payload/fluxAnalysisPayload.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/payload/jeSchedulesPayload.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/payload/missingReceiptsPayload.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/payload/reconciliationPayload.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/payload/transactionCategorizationPayload.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/reducers/reconciliationViewReducer.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/reducers/transactionsViewReducer.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/selectorTypes/jeAccountSettingsViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/selectorTypes/transactionsViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/selectors/jeAccountSettingsViewSelector.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/selectors/missingReceiptsSelector.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/selectors/reconciliationViewSelector.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/selectors/transactionCategorizationSelector.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/transactionFilterHelpers.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/types/completedSubTab.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/types/fluxAnalysisViewState.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/types/jeSchedulesViewState.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/types/missingReceiptsViewState.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/types/reconciliationViewState.js.map +1 -0
- package/lib/esm/view/expenseAutomationView/types/transactionsViewState.js.map +1 -0
- package/lib/esm/view/featureNotificationView/epics/fetchRegisteredInterestsEpic.js.map +1 -0
- package/lib/esm/view/featureNotificationView/epics/notifyMeForFeatureEpic.js.map +1 -0
- package/lib/esm/view/featureNotificationView/featureNotificationViewPayload.js.map +1 -0
- package/lib/esm/view/featureNotificationView/featureNotificationViewReducer.js.map +1 -0
- package/lib/esm/view/featureNotificationView/featureNotificationViewSelector.js.map +1 -0
- package/lib/esm/view/featureNotificationView/featureNotificationViewState.js.map +1 -0
- package/lib/esm/view/fileView/epic/deleteFileEpic.js +2 -2
- package/lib/esm/view/fileView/epic/deleteFileEpic.js.map +1 -0
- package/lib/esm/view/fileView/epic/deleteFileListEpic.js +2 -2
- package/lib/esm/view/fileView/epic/deleteFileListEpic.js.map +1 -0
- package/lib/esm/view/fileView/epic/fetchFileEpic.js.map +1 -0
- package/lib/esm/view/fileView/epic/fetchFileListEpic.js.map +1 -0
- package/lib/esm/view/fileView/epic/updateFileNameEpic.js +2 -2
- package/lib/esm/view/fileView/epic/updateFileNameEpic.js.map +1 -0
- package/lib/esm/view/fileView/epic/updateFilesMetadataEpic.js.map +1 -0
- package/lib/esm/view/fileView/fileDownloadHelpers.js.map +1 -0
- package/lib/esm/view/fileView/fileUploadHelpers.js.map +1 -0
- package/lib/esm/view/fileView/fileViewPayload.js.map +1 -0
- package/lib/esm/view/fileView/fileViewReducer.js.map +1 -0
- package/lib/esm/view/fileView/fileViewSelector.js.map +1 -0
- package/lib/esm/view/fileView/fileViewState.js.map +1 -0
- package/lib/esm/view/financeStatement/financeStatementEpic.js.map +1 -0
- package/lib/esm/view/financeStatement/financeStatementReducer.js.map +1 -0
- package/lib/esm/view/financeStatement/financeStatementSelector.js.map +1 -0
- package/lib/esm/view/financeStatement/financeStatementState.js.map +1 -0
- package/lib/esm/view/forecastList/fetchForecastListEpic.js.map +1 -0
- package/lib/esm/view/forecastList/forecastListPayload.js.map +1 -0
- package/lib/esm/view/forecastList/forecastListReducer.js.map +1 -0
- package/lib/esm/view/forecastList/forecastListSelector.js.map +1 -0
- package/lib/esm/view/forecastList/forecastListState.js.map +1 -0
- package/lib/esm/view/globalMerchantView/epics/createGlobalMerchantEpic.js.map +1 -0
- package/lib/esm/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.js.map +1 -0
- package/lib/esm/view/globalMerchantView/globalMerchantAutoCompleteView/fetchGlobalMerchantAutoCompleteViewEpic.js.map +1 -0
- package/lib/esm/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewPayload.js.map +1 -0
- package/lib/esm/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.js.map +1 -0
- package/lib/esm/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewSelector.js.map +1 -0
- package/lib/esm/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState.js.map +1 -0
- package/lib/esm/view/globalMerchantView/globalMerchantViewPayload.js.map +1 -0
- package/lib/esm/view/globalMerchantView/globalMerchantViewReducer.js.map +1 -0
- package/lib/esm/view/globalMerchantView/globalMerchantViewSelector.js.map +1 -0
- package/lib/esm/view/globalMerchantView/globalMerchantViewState.js.map +1 -0
- package/lib/esm/view/insightsCard/insightsCardEpic.js.map +1 -0
- package/lib/esm/view/insightsCard/insightsCardPayload.js.map +1 -0
- package/lib/esm/view/insightsCard/insightsCardReducer.js.map +1 -0
- package/lib/esm/view/insightsCard/insightsCardSelector.js.map +1 -0
- package/lib/esm/view/insightsCard/insightsCardSelectorTypes.js.map +1 -0
- package/lib/esm/view/insightsCard/insightsCardState.js.map +1 -0
- package/lib/esm/view/monthEndCloseChecksView/epics/fetchMonthClosePerformanceTrendEpic.js.map +1 -0
- package/lib/esm/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.js.map +1 -0
- package/lib/esm/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.js.map +1 -0
- package/lib/esm/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js.map +1 -0
- package/lib/esm/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.js.map +1 -0
- package/lib/esm/view/monthEndCloseChecksView/monthEndCloseChecksViewState.js.map +1 -0
- package/lib/esm/view/netBurnOrIncome/fetchNetBurnOrIncomeWithForecastEpic.js.map +1 -0
- package/lib/esm/view/netBurnOrIncome/netBurnOrIncomeEpic.js.map +1 -0
- package/lib/esm/view/netBurnOrIncome/netBurnOrIncomeForTimeframeEpic.js.map +1 -0
- package/lib/esm/view/netBurnOrIncome/netBurnOrIncomeHelper.js.map +1 -0
- package/lib/esm/view/netBurnOrIncome/netBurnOrIncomePayload.js.map +1 -0
- package/lib/esm/view/netBurnOrIncome/netBurnOrIncomeReducer.js.map +1 -0
- package/lib/esm/view/netBurnOrIncome/netBurnOrIncomeSelector.js.map +1 -0
- package/lib/esm/view/netBurnOrIncome/netBurnOrIncomeSelectorTypes.js.map +1 -0
- package/lib/esm/view/netBurnOrIncome/netBurnOrIncomeState.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewEpic.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewPayload.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewState.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeClassesView/netBurnOrIncomeForTimeframeClassesViewEpic.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeStoryCard/epic/fetchNetBurnOrIncomeStoryCardEpic.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeStoryCard/epic/updateNetBurnOrIncomeStoryCardSettingsEpic.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardPayload.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelector.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes.js.map +1 -0
- package/lib/esm/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.js.map +1 -0
- package/lib/esm/view/notificationView/epics/fetchNotificationUnreadCountEpic.js.map +1 -0
- package/lib/esm/view/notificationView/epics/fetchNotificationViewEpic.js.map +1 -0
- package/lib/esm/view/notificationView/epics/updateNotificationViewAllNotificationsStatusEpic.js.map +1 -0
- package/lib/esm/view/notificationView/epics/updateNotificationViewNotificationStatusEpic.js.map +1 -0
- package/lib/esm/view/notificationView/notificationView.helpers.js.map +1 -0
- package/lib/esm/view/notificationView/notificationViewPayload.js.map +1 -0
- package/lib/esm/view/notificationView/notificationViewReducer.js.map +1 -0
- package/lib/esm/view/notificationView/notificationViewSelector.js.map +1 -0
- package/lib/esm/view/notificationView/notificationViewState.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/epic/fetchCompanyOnboardingViewEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/epic/fetchOnboardingCompletedCompaniesEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/epic/fetchQBOConnectionPoolEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/epic/getOnboardingEmailGroupEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/epic/retryBankAccountConnectionForOnboardingEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/epic/saveOnboardingCustomerCompletedStatusEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/epic/saveOnboardingCustomerNotesEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/epic/saveOnboardingCustomerViewUpdatesEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/epic/sendOnboardingCustomerViewInviteEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/epic/updateQBOConnectionPoolExternalConnectionEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/onboardingCockpitViewPayload.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/onboardingCockpitViewReducer.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/onboardingCockpitViewSelector.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/onboardingCockpitViewState.js.map +1 -0
- package/lib/esm/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/epic/aiAgentsActivation/fetchAiAgentsActivationStatusEpic.js +42 -0
- package/lib/esm/view/onboardingView/customerView/epic/aiAgentsActivation/fetchAiAgentsActivationStatusEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiActivationViewedEpic.js +29 -0
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiActivationViewedEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiFinanceTeamEpic.js +40 -0
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiFinanceTeamEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerSetupViewEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewCompleteStatusEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewDashboardLoadedEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountLoginStatusEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountStatusEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/epic/plaidConnection/getOnboardingPlaidLinkTokenEpic.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewPayload.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewReducer.js +217 -50
- package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewReducer.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewSelector.js +7 -1
- package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewSelector.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewState.js +12 -0
- package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewState.js.map +1 -0
- package/lib/esm/view/onboardingView/customerView/types/paymentAccount.js.map +1 -0
- package/lib/esm/view/opEx/fetchOpExWithForecastEpic.js.map +1 -0
- package/lib/esm/view/opEx/opExEpic.js.map +1 -0
- package/lib/esm/view/opEx/opExForTimeFrameEpic.js.map +1 -0
- package/lib/esm/view/opEx/opExPayload.js.map +1 -0
- package/lib/esm/view/opEx/opExReducer.js.map +1 -0
- package/lib/esm/view/opEx/opExSelector.js.map +1 -0
- package/lib/esm/view/opEx/opExSelectorTypes.js.map +1 -0
- package/lib/esm/view/opEx/opExState.js.map +1 -0
- package/lib/esm/view/opExByVendor/fetchOpExByVendorReportEpic.js.map +1 -0
- package/lib/esm/view/opExByVendor/fetchOpExByVendorReportForTimeframeEpic.js.map +1 -0
- package/lib/esm/view/opExByVendor/fetchOpExByVendorReportSummaryEpic.js.map +1 -0
- package/lib/esm/view/opExByVendor/opExByVendorPayload.js.map +1 -0
- package/lib/esm/view/opExByVendor/opExByVendorReducer.js.map +1 -0
- package/lib/esm/view/opExByVendor/opExByVendorSelector.js.map +1 -0
- package/lib/esm/view/opExByVendor/opExByVendorState.js.map +1 -0
- package/lib/esm/view/opExClassesView/opExClassesViewEpic.js.map +1 -0
- package/lib/esm/view/opExClassesView/opExClassesViewPayload.js.map +1 -0
- package/lib/esm/view/opExClassesView/opExClassesViewReducer.js.map +1 -0
- package/lib/esm/view/opExClassesView/opExClassesViewSelector.js.map +1 -0
- package/lib/esm/view/opExClassesView/opExClassesViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/opExClassesView/opExClassesViewState.js.map +1 -0
- package/lib/esm/view/opExClassesView/opExForTimeframeClassesViewEpic.js.map +1 -0
- package/lib/esm/view/ownerList/fetchOwnerListEpic.js.map +1 -0
- package/lib/esm/view/ownerList/ownerListPayload.js.map +1 -0
- package/lib/esm/view/ownerList/ownerListReducer.js.map +1 -0
- package/lib/esm/view/ownerList/ownerListState.js.map +1 -0
- package/lib/esm/view/people/changeZeniPersonRolesEpic.js.map +1 -0
- package/lib/esm/view/people/deletePersonEpic.js.map +1 -0
- package/lib/esm/view/people/fetchAllPeopleRequiredViewsEpic.js.map +1 -0
- package/lib/esm/view/people/fetchPeopleEpic.js.map +1 -0
- package/lib/esm/view/people/helpers/updateManagersListOnRoleChange.js.map +1 -0
- package/lib/esm/view/people/initializeEditPersonEpic.js.map +1 -0
- package/lib/esm/view/people/invitePeopleEpic.js.map +1 -0
- package/lib/esm/view/people/inviteZeniPeopleEpic.js.map +1 -0
- package/lib/esm/view/people/peoplePageEpic.js.map +1 -0
- package/lib/esm/view/people/peoplePayload.js.map +1 -0
- package/lib/esm/view/people/peopleReducer.js.map +1 -0
- package/lib/esm/view/people/peopleSaveUpdatesEpic.js.map +1 -0
- package/lib/esm/view/people/peopleSelector.js.map +1 -0
- package/lib/esm/view/people/peopleSelectorTypes.js.map +1 -0
- package/lib/esm/view/people/peopleState.js.map +1 -0
- package/lib/esm/view/people/peopleTypes.js.map +1 -0
- package/lib/esm/view/people/resendInviteEpic.js.map +1 -0
- package/lib/esm/view/profitAndLoss/pAndLWithForecast/pAndLWithForecastSelector.js.map +1 -0
- package/lib/esm/view/profitAndLoss/profitAndLossEpic.js.map +1 -0
- package/lib/esm/view/profitAndLoss/profitAndLossForTimeframeEpic.js.map +1 -0
- package/lib/esm/view/profitAndLoss/profitAndLossPayload.js.map +1 -0
- package/lib/esm/view/profitAndLoss/profitAndLossReducer.js.map +1 -0
- package/lib/esm/view/profitAndLoss/profitAndLossSelector.js.map +1 -0
- package/lib/esm/view/profitAndLoss/profitAndLossState.js.map +1 -0
- package/lib/esm/view/profitAndLossClassesView/horizontalSectionEmptyBalancesSlice.js.map +1 -0
- package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelector.js.map +1 -0
- package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelectorTypes.js.map +1 -0
- package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesViewEpic.js.map +1 -0
- package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesViewPayload.js.map +1 -0
- package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js.map +1 -0
- package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesViewSelector.js.map +1 -0
- package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/profitAndLossClassesView/profitAndLossClassesViewState.js.map +1 -0
- package/lib/esm/view/profitAndLossClassesView/profitAndLossForTimeframeClassesViewEpic.js.map +1 -0
- package/lib/esm/view/profitAndLossClassesView/profitAndLossHorizontalEnrichment.js.map +1 -0
- package/lib/esm/view/profitAndLossProjectView/profitAndLossForTimeframeProjectViewEpic.js.map +1 -0
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewEpic.js.map +1 -0
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewPayload.js.map +1 -0
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewReducer.js.map +1 -0
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewSelector.js.map +1 -0
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/profitAndLossProjectView/profitAndLossProjectViewState.js.map +1 -0
- package/lib/esm/view/projectList/fetchProjectListEpic.js.map +1 -0
- package/lib/esm/view/projectList/projectListPayload.js.map +1 -0
- package/lib/esm/view/projectList/projectListReducer.js.map +1 -0
- package/lib/esm/view/projectList/projectListSelector.js.map +1 -0
- package/lib/esm/view/projectList/projectListState.js.map +1 -0
- package/lib/esm/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.js.map +1 -0
- package/lib/esm/view/recommendation/fetchEntityRecommendationsForLineUpdateEpic.js.map +1 -0
- package/lib/esm/view/recommendation/fetchRecommendationByEntityIdEpic.js.map +1 -0
- package/lib/esm/view/recommendation/fetchRecommendationByEntityNameEpic.js.map +1 -0
- package/lib/esm/view/recommendation/recommendationHelper.js.map +1 -0
- package/lib/esm/view/recommendation/recommendationPayload.js.map +1 -0
- package/lib/esm/view/recommendation/recommendationReducer.js.map +1 -0
- package/lib/esm/view/recommendation/recommendationSelector.js.map +1 -0
- package/lib/esm/view/recommendation/recommendationState.js.map +1 -0
- package/lib/esm/view/referralView/epics/fetchReferralsEpic.js.map +1 -0
- package/lib/esm/view/referralView/epics/fetchRewardsPlanEpic.js.map +1 -0
- package/lib/esm/view/referralView/epics/resendReferralInviteEpic.js.map +1 -0
- package/lib/esm/view/referralView/epics/sendReferralInviteEpic.js.map +1 -0
- package/lib/esm/view/referralView/epics/updateReferViewedEpic.js.map +1 -0
- package/lib/esm/view/referralView/referralPayload.js.map +1 -0
- package/lib/esm/view/referralView/referralReducer.js.map +1 -0
- package/lib/esm/view/referralView/referralSelector.js.map +1 -0
- package/lib/esm/view/referralView/referralState.js.map +1 -0
- package/lib/esm/view/reimbursementCard/fetchReimbursementCardEpic.js.map +1 -0
- package/lib/esm/view/reimbursementCard/reimbursementCardPayload.js.map +1 -0
- package/lib/esm/view/reimbursementCard/reimbursementCardReducer.js.map +1 -0
- package/lib/esm/view/reimbursementCard/reimbursementCardSelector.js.map +1 -0
- package/lib/esm/view/reimbursementCard/reimbursementCardState.js.map +1 -0
- package/lib/esm/view/reportUIOptions/reportUIOptionsReducer.js.map +1 -0
- package/lib/esm/view/reportUIOptions/reportUIOptionsState.js.map +1 -0
- package/lib/esm/view/reportUIOptions/toggleReportUIOptionForecastModeEpic.js.map +1 -0
- package/lib/esm/view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic.js.map +1 -0
- package/lib/esm/view/reportUIOptions/updateReportUIOptionCompareModeEpic.js.map +1 -0
- package/lib/esm/view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic.js.map +1 -0
- package/lib/esm/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.js.map +1 -0
- package/lib/esm/view/reportUIOptions/updateReportUIOptionTimeFrameEpic.js.map +1 -0
- package/lib/esm/view/reportsResync/reportsClassViewRefetchingEpic.js.map +1 -0
- package/lib/esm/view/reportsResync/reportsResyncEpic.js.map +1 -0
- package/lib/esm/view/reportsResync/reportsResyncReducer.js.map +1 -0
- package/lib/esm/view/reportsResync/reportsResyncSelector.js.map +1 -0
- package/lib/esm/view/reportsResync/reportsResyncState.js.map +1 -0
- package/lib/esm/view/revenue/fetchRevenueWithForecastEpic.js.map +1 -0
- package/lib/esm/view/revenue/revenueEpic.js.map +1 -0
- package/lib/esm/view/revenue/revenueForTimeframeEpic.js.map +1 -0
- package/lib/esm/view/revenue/revenueHelper.js.map +1 -0
- package/lib/esm/view/revenue/revenuePayload.js.map +1 -0
- package/lib/esm/view/revenue/revenueReducer.js.map +1 -0
- package/lib/esm/view/revenue/revenueSelector.js.map +1 -0
- package/lib/esm/view/revenue/revenueSelectorTypes.js.map +1 -0
- package/lib/esm/view/revenue/revenueState.js.map +1 -0
- package/lib/esm/view/revenueClassesView/revenueClassesViewEpic.js.map +1 -0
- package/lib/esm/view/revenueClassesView/revenueClassesViewPayload.js.map +1 -0
- package/lib/esm/view/revenueClassesView/revenueClassesViewReducer.js.map +1 -0
- package/lib/esm/view/revenueClassesView/revenueClassesViewSelector.js.map +1 -0
- package/lib/esm/view/revenueClassesView/revenueClassesViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/revenueClassesView/revenueClassesViewState.js.map +1 -0
- package/lib/esm/view/revenueClassesView/revenueForTimeframeClassesViewEpic.js.map +1 -0
- package/lib/esm/view/reviewCompanyView/fetchReviewCompanyViewEpic.js.map +1 -0
- package/lib/esm/view/reviewCompanyView/retryBankAccountConnectionEpic.js.map +1 -0
- package/lib/esm/view/reviewCompanyView/reviewCompanyPayload.js.map +1 -0
- package/lib/esm/view/reviewCompanyView/reviewCompanyViewReducer.js.map +1 -0
- package/lib/esm/view/reviewCompanyView/reviewCompanyViewSelector.js.map +1 -0
- package/lib/esm/view/reviewCompanyView/reviewCompanyViewState.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/epics/cancelScheduleAccruedJournalEntryEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/epics/createNewSchedulesAccruedEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/epics/deleteScheduleAccruedDetailEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/epics/fetchRecommendedTransactionRowIndexEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/epics/fetchScheduleAccruedDetailsEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/epics/fetchScheduleAccruedDetailsPageEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/epics/initializeScheduleAccruedDetailLocalDataEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/epics/saveScheduleAccruedDetailsEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/epics/updateAmountsInScheduleAccruedDetailEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailLocalDataHelper.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailPayload.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailReducer.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailSelector.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailState.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/markAsCompleteScheduleDetailEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/scheduleDetailState.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleDetailView/scheduleDetailTypes.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleListView/epics/fetchAccruedScheduleListEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleListView/scheduleListHelper.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleListView/scheduleListPayload.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleListView/scheduleListReducer.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleListView/scheduleListSelector.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleListView/scheduleListState.js.map +1 -0
- package/lib/esm/view/scheduleView/scheduleListView/scheduleListTypes.js.map +1 -0
- package/lib/esm/view/settingsView/epic/fetchBankAccountsListEpic.js.map +1 -0
- package/lib/esm/view/settingsView/epic/fetchBankConnectionsViewEpic.js.map +1 -0
- package/lib/esm/view/settingsView/epic/fetchBillingAccountsViewEpic.js.map +1 -0
- package/lib/esm/view/settingsView/epic/fetchCompanyBillingAddressEpic.js.map +1 -0
- package/lib/esm/view/settingsView/epic/fetchMyProfileEpic.js.map +1 -0
- package/lib/esm/view/settingsView/epic/fetchMyProfileViewEpic.js.map +1 -0
- package/lib/esm/view/settingsView/epic/fetchNotificationSettingsEpic.js.map +1 -0
- package/lib/esm/view/settingsView/epic/fetchNotificationSettingsViewEpic.js.map +1 -0
- package/lib/esm/view/settingsView/epic/initializeMyProfileLocalDataEpic.js.map +1 -0
- package/lib/esm/view/settingsView/epic/refreshIntegrationsDataEpic.js.map +1 -0
- package/lib/esm/view/settingsView/epic/saveCompanyBillingAddressEpic.js.map +1 -0
- package/lib/esm/view/settingsView/epic/saveNotificationSettingsEpic.js.map +1 -0
- package/lib/esm/view/settingsView/epic/updateMyProfileEpic.js.map +1 -0
- package/lib/esm/view/settingsView/settingsViewHelpers.js.map +1 -0
- package/lib/esm/view/settingsView/settingsViewPayload.js.map +1 -0
- package/lib/esm/view/settingsView/settingsViewReducer.js.map +1 -0
- package/lib/esm/view/settingsView/settingsViewSelector.js.map +1 -0
- package/lib/esm/view/settingsView/settingsViewState.js.map +1 -0
- package/lib/esm/view/settingsView/types/settingsViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/autotransferRules/autoTransferRulesState.js.map +1 -0
- package/lib/esm/view/spendManagement/autotransferRules/epics/createAutoTransferRuleEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/autotransferRules/epics/deleteAutoTransferRuleEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/autotransferRules/epics/fetchAutoTransferReviewDetailEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/autotransferRules/epics/fetchAutoTransferRuleHistory.js.map +1 -0
- package/lib/esm/view/spendManagement/autotransferRules/epics/fetchAutoTransferRulesEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/autotransferRules/epics/updateAutoTransferRuleEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billDetailView/billDetailViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billDetailView/billDetailViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billDetailView/epics/fetchEligibleActionsForBillEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billDetailView/epics/retryOrRefundBillEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billList/billListDownloadSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billList/billListPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billList/billListReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billList/billListSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billList/billListState.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billList/fetchBillListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPayConfig/billPayConfigSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPayConfig/billPayConfigState.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPayReview/billPayReviewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPayReview/billPayReviewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPayReview/billPayReviewState.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/epic/deleteBillPayApprovalRuleEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPaySetupApproverViewEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/epic/saveBillPaySetupApproverViewUpdatesEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/types/commonState.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupView/billPaySetupViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupView/billPaySetupViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupView/billPaySetupViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayTermsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayUpdatedTermsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billsBulkActionView/epics/approveOrRejectBillsBulkActionEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billsBulkActionView/epics/cancelOrDeleteBillsBulkActionEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billsBulkActionView/epics/submitDraftBillsBulkActionEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/billsBulkActionView/epics/validateBillsBulkActionEpic.ts.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/editBillViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/editBillViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/editBillViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/editBillViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/epics/fetchVendorAndUpdateBillLocalDataEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/epics/fetchVendorByNameAndParseInvoice.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWire/epics/createInternationalPaymentInstrumentEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWire/epics/deletePaymentInstrumentEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWire/epics/fetchInternationalWireDynamicFormEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWire/epics/initializeDynamicFormEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWire/epics/initializeInternationalWireLocalDataEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWire/internationalWire.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWire/internationalWirePayload.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWire/internationalWireReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWire/internationalWireSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/magicLinkView/magicLinkViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/magicLinkView/magicLinkViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/previousBills/previousBillsPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/previousBills/previousBillsReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/previousBills/previousBillsSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/previousBills/previousBillsState.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/wiseRedirectView/wiseRedirectReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/wiseRedirectView/wiseRedirectSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/billPay/wiseRedirectView/wiseRedirectState.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingState.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/cardUserOnboarding/epics/saveCardOnboardingUserDetailsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailState.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/cashbackDetail/fetchCashbackDetailEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigState.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/closeChargeCardEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailPageEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionAttachmentsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionStatisticsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardsRecurringExpensesEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/fetchDepositAccountLimitEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/lockChargeCardEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/unlockChargeCardEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardDetailEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardLimitEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardNameEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/updateDebitCardPinAttemptEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/chargeCardListPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/closeChargeCardsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountRepaymentEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/fetchDebitCardSummaryEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/lockChargeCardsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/resendCardInviteEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/revokeCardInviteEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/revokeChargeCardsInviteEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/unlockChargeCardsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/updateChargeCardsLimitEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistory.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryHelpers.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentHistoryEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentPageEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailState.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/fetchChargeCardRepaymentDetailEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/epic/enableChargeCardAutoPayEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/epic/expressInterestChargeCardEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementList.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/chargeCardStatementList/fetchChargeCardStatementListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/depositAccountWithLimitPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/fetchDepositAccountListForCardsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.js.map +1 -0
- package/lib/esm/view/spendManagement/commonHistoryView/commonHistory.js.map +1 -0
- package/lib/esm/view/spendManagement/commonHistoryView/commonHistoryPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/commonHistoryView/commonHistoryReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/commonHistoryView/commonHistorySelector.js.map +1 -0
- package/lib/esm/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/commonSetup/epic/setup/enableSetupEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/commonSetup/epic/setup/parseUploadedKybDocumentEpic.js +52 -0
- package/lib/esm/view/spendManagement/commonSetup/epic/setup/parseUploadedKybDocumentEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/commonSetup/epic/setup/parseUploadedKycDocumentEpic.js +59 -0
- package/lib/esm/view/spendManagement/commonSetup/epic/setup/parseUploadedKycDocumentEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/commonSetup/kycKybAutofillActions.js +14 -0
- package/lib/esm/view/spendManagement/commonSetup/kycKybAutofillActions.js.map +1 -0
- package/lib/esm/view/spendManagement/commonSetup/kycKybParseMapper.js +205 -0
- package/lib/esm/view/spendManagement/commonSetup/kycKybParseMapper.js.map +1 -0
- package/lib/esm/view/spendManagement/commonSetup/setupViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/commonSetup/setupViewReducer.js +105 -52
- package/lib/esm/view/spendManagement/commonSetup/setupViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/commonSetup/setupViewSelector.js +6 -1
- package/lib/esm/view/spendManagement/commonSetup/setupViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/commonSetup/setupViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/commonSetup/types/businessVerification.js.map +1 -0
- package/lib/esm/view/spendManagement/commonSetup/types/kycKybAutofill.js +28 -0
- package/lib/esm/view/spendManagement/commonSetup/types/kycKybAutofill.js.map +1 -0
- package/lib/esm/view/spendManagement/helpers.js.map +1 -0
- package/lib/esm/view/spendManagement/merchantList/fetchMerchantListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/merchantList/merchantListPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/merchantList/merchantListReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/merchantList/merchantListSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/merchantList/merchantListState.js.map +1 -0
- package/lib/esm/view/spendManagement/plaidAccount/epic/paymentAccounts/getPaymentAccountsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/plaidAccount/epic/paymentAccounts/updateMappedCashAccountEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountLoginStatusEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountStatusEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePrimaryFundingAccountEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/plaidAccount/epic/plaidConnection/establishPlaidConnectionEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/plaidAccount/epic/plaidConnection/getPlaidLinkTokenEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/plaidAccount/plaidAccountViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/plaidAccount/plaidAccountViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/plaidAccount/plaidAccountViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/plaidAccount/types/paymentAccount.js.map +1 -0
- package/lib/esm/view/spendManagement/plaidAccount/types/plaidConnection.js.map +1 -0
- package/lib/esm/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/realTimeApprovalView/realTimeApprovalReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/realTimeApprovalView/realTimeApprovalSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/realTimeApprovalView/realTimeApprovalState.js.map +1 -0
- package/lib/esm/view/spendManagement/realTimeApprovalView/saveRealTimeApprovalEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/editRemiViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/editRemiViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/epics/initializeRemiToLocalStoreEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/remiDetailViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/remiDetailViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/remiDetailViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiListView/fetchRemiListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListDownloadSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListState.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversDetailsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiSetupApproverViewEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/epic/saveRemiSetupApproverViewUpdatesEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/fetchRemiSetupViewEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateMileageDetailsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptEmployeeRemiTermsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptRemiTermsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupView/remiSetupViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupView/remiSetupViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remisBulkActionView/epics/approveOrRejectRemisBulkActionEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remisBulkActionView/epics/cancelOrDeleteRemisBulkActionEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remisBulkActionView/epics/reviewDraftRemisBulkActionEpic.ts.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remisBulkActionView/epics/submitDraftRemisBulkActionEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/spendManagementFilterHelpers.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryDetailEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryHistoryEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryTransactionListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryList/treasuryDetailPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryList/treasuryDetailSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryList/treasuryDetailState.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/epic/acceptTreasuryTermsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/epic/fetchPortfolioAllocationEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/epic/fetchTreasuryFundsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/epic/fetchTreasurySetupViewEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/epic/updatePortfolioAllocationEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryPromoIntroClosedByOutsideClickEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryPromoRemindMeLaterClickedEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/epic/updateTreasuryVideoViewedEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/treasurySetupViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/treasurySetupViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasurySetUp/treasurySetupViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryStatementList/fetchTreasuryStatementListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryStatementList/treasuryStatementList.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryTaxLetterList/fetchTreasuryTaxLetterListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListState.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneySelector.js.map +1 -0
- package/lib/esm/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyState.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/checkDeposit/checkDepositSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/checkDeposit/checkDepositState.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailState.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountList/depositAccountList.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListState.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/expressPay/epics/fetchExpressPayInitialDetailsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/expressPay/epics/submitExpressPayEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/expressPay/expressPayReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/expressPay/expressPaySelector.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/expressPay/expressPayState.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountBalanceEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountList.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/paymentAccountList/unlinkPaymentAccountEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/transferDetail/fetchReviewTransferDetailEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/transferDetail/transferDetailSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/transferDetail/transferDetailState.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListState.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/acceptZeniAccountTermsEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewState.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.js.map +1 -0
- package/lib/esm/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigState.js.map +1 -0
- package/lib/esm/view/subscriptionView/epic/fetchSubscriptionAddOnsEpic.js.map +1 -0
- package/lib/esm/view/subscriptionView/epic/fetchSubscriptionCouponsEpic.js.map +1 -0
- package/lib/esm/view/subscriptionView/epic/fetchSubscriptionCreateEstimateEpic.js.map +1 -0
- package/lib/esm/view/subscriptionView/epic/fetchSubscriptionDetailsEpic.js.map +1 -0
- package/lib/esm/view/subscriptionView/epic/fetchSubscriptionListEpic.js.map +1 -0
- package/lib/esm/view/subscriptionView/epic/fetchSubscriptionPlansEpic.js.map +1 -0
- package/lib/esm/view/subscriptionView/epic/fetchSubscriptionUpdateEstimateEpic.js.map +1 -0
- package/lib/esm/view/subscriptionView/epic/initializeSubscriptionLocalDataEpic.js.map +1 -0
- package/lib/esm/view/subscriptionView/epic/saveSubscriptionNotesUpdatesEpic.js.map +1 -0
- package/lib/esm/view/subscriptionView/epic/saveSubscriptionUpdatesEpic.js.map +1 -0
- package/lib/esm/view/subscriptionView/reduceSubscriptionViewFetchState.js.map +1 -0
- package/lib/esm/view/subscriptionView/selectorHelpers.js.map +1 -0
- package/lib/esm/view/subscriptionView/subscriptionEstmiatePayload.js.map +1 -0
- package/lib/esm/view/subscriptionView/subscriptionViewPayload.js.map +1 -0
- package/lib/esm/view/subscriptionView/subscriptionViewReducer.js.map +1 -0
- package/lib/esm/view/subscriptionView/subscriptionViewSelector.js.map +1 -0
- package/lib/esm/view/subscriptionView/subscriptionViewSelectorTypes.js.map +1 -0
- package/lib/esm/view/subscriptionView/subscriptionViewState.js.map +1 -0
- package/lib/esm/view/subscriptionView/types/subscriptionEstmiate.js.map +1 -0
- package/lib/esm/view/subscriptionView/types/subscriptionTypes.js.map +1 -0
- package/lib/esm/view/subscriptionView/types/subscriptionView.js.map +1 -0
- package/lib/esm/view/tagView/epics/createTagEpic.js.map +1 -0
- package/lib/esm/view/tagView/epics/deleteTagEpic.js.map +1 -0
- package/lib/esm/view/tagView/epics/fetchAllTagsEpic.js.map +1 -0
- package/lib/esm/view/tagView/tagViewPayload.js.map +1 -0
- package/lib/esm/view/tagView/tagViewReducer.js.map +1 -0
- package/lib/esm/view/tagView/tagViewSelector.js.map +1 -0
- package/lib/esm/view/tagView/tagViewState.js.map +1 -0
- package/lib/esm/view/taskManager/cannedResponsesView/cannedResponses.js.map +1 -0
- package/lib/esm/view/taskManager/cannedResponsesView/cannedResponsesPayload.js.map +1 -0
- package/lib/esm/view/taskManager/cannedResponsesView/cannedResponsesReducer.js.map +1 -0
- package/lib/esm/view/taskManager/cannedResponsesView/cannedResponsesSelector.js.map +1 -0
- package/lib/esm/view/taskManager/cannedResponsesView/epics/deleteCannedResponseEpic.js.map +1 -0
- package/lib/esm/view/taskManager/cannedResponsesView/epics/fetchCannedResponsesEpic.js.map +1 -0
- package/lib/esm/view/taskManager/cannedResponsesView/epics/saveCannedResponseEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskDetailView/epics/archiveTaskEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskDetailView/epics/deleteTaskEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskDetailView/epics/fetchTaskDetailPageEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskDetailView/epics/fetchTaskHistoryEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskDetailView/epics/snoozeTaskEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskDetailView/epics/unsnoozeTaskEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskDetailView/taskDetail.js.map +1 -0
- package/lib/esm/view/taskManager/taskDetailView/taskDetailReducer.js.map +1 -0
- package/lib/esm/view/taskManager/taskDetailView/taskDetailSelector.js.map +1 -0
- package/lib/esm/view/taskManager/taskGroupTemplateView/epics/createTaskFromTaskGroupTemplateEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskGroupTemplateView/epics/fetchTaskGroupTemplatesEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewPayload.js.map +1 -0
- package/lib/esm/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewReducer.js.map +1 -0
- package/lib/esm/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewSelector.js.map +1 -0
- package/lib/esm/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewState.js.map +1 -0
- package/lib/esm/view/taskManager/taskGroupView/epics/createNewTaskGroupEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskGroupView/epics/deleteTaskGroupEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskGroupView/epics/fetchAllTaskGroupsEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskGroupView/epics/updateTaskGroupNameEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskGroupView/taskGroupViewPayload.js.map +1 -0
- package/lib/esm/view/taskManager/taskGroupView/taskGroupViewReducer.js.map +1 -0
- package/lib/esm/view/taskManager/taskGroupView/taskGroupViewState.js.map +1 -0
- package/lib/esm/view/taskManager/taskListView/epics/bulkUpdateTaskListEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskListView/epics/dragNDropTasksEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskListView/epics/fetchTaskListEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskListView/epics/fetchTaskListPageEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskListView/epics/updateTaskFromListViewEpic.js.map +1 -0
- package/lib/esm/view/taskManager/taskListView/taskList.js.map +1 -0
- package/lib/esm/view/taskManager/taskListView/taskListPayload.js.map +1 -0
- package/lib/esm/view/taskManager/taskListView/taskListReducer.js.map +1 -0
- package/lib/esm/view/taskManager/taskListView/taskListSelector.js.map +1 -0
- package/lib/esm/view/taskManager/taskListView/taskListViewHelpers.js.map +1 -0
- package/lib/esm/view/tasksCard/fetchTasksCardEpic.js.map +1 -0
- package/lib/esm/view/tasksCard/tasksCardPayload.js.map +1 -0
- package/lib/esm/view/tasksCard/tasksCardReducer.js.map +1 -0
- package/lib/esm/view/tasksCard/tasksCardSelector.js.map +1 -0
- package/lib/esm/view/tasksCard/tasksCardState.js.map +1 -0
- package/lib/esm/view/topEx/topExEpic.js.map +1 -0
- package/lib/esm/view/topEx/topExPayload.js.map +1 -0
- package/lib/esm/view/topEx/topExReducer.js.map +1 -0
- package/lib/esm/view/topEx/topExSelector.js.map +1 -0
- package/lib/esm/view/topEx/topExSelectorTypes.js.map +1 -0
- package/lib/esm/view/topEx/topExState.js.map +1 -0
- package/lib/esm/view/transactionActivityLogView/fetchTransactionActivityLogEpic.js.map +1 -0
- package/lib/esm/view/transactionActivityLogView/transactionActivityLogViewPayload.js.map +1 -0
- package/lib/esm/view/transactionActivityLogView/transactionActivityLogViewReducer.js.map +1 -0
- package/lib/esm/view/transactionActivityLogView/transactionActivityLogViewSelector.js.map +1 -0
- package/lib/esm/view/transactionActivityLogView/transactionActivityLogViewState.js.map +1 -0
- package/lib/esm/view/transactionDetail/epics/deleteTransactionAttachmentEpic.js.map +1 -0
- package/lib/esm/view/transactionDetail/epics/downloadAccountingProviderAttachmentEpic.js.map +1 -0
- package/lib/esm/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.js.map +1 -0
- package/lib/esm/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.js.map +1 -0
- package/lib/esm/view/transactionDetail/epics/saveTransactionDetailEpic.js.map +1 -0
- package/lib/esm/view/transactionDetail/epics/saveTransactionHelper.js.map +1 -0
- package/lib/esm/view/transactionDetail/epics/transactionDetailEpic.js.map +1 -0
- package/lib/esm/view/transactionDetail/epics/updateTransactionDetailEpic.js.map +1 -0
- package/lib/esm/view/transactionDetail/epics/uploadMissingAttachmentSuccessEpic.js.map +1 -0
- package/lib/esm/view/transactionDetail/filePayload.js.map +1 -0
- package/lib/esm/view/transactionDetail/getAccountingProviderAttachmentSelector.js.map +1 -0
- package/lib/esm/view/transactionDetail/journalEntryLinesViewModel.js +149 -0
- package/lib/esm/view/transactionDetail/journalEntryLinesViewModel.js.map +1 -0
- package/lib/esm/view/transactionDetail/transactionDetailLocalDataHelper.js.map +1 -0
- package/lib/esm/view/transactionDetail/transactionDetailPayload.js.map +1 -0
- package/lib/esm/view/transactionDetail/transactionDetailReducer.js.map +1 -0
- package/lib/esm/view/transactionDetail/transactionDetailSelector.js.map +1 -0
- package/lib/esm/view/transactionDetail/transactionDetailState.js.map +1 -0
- package/lib/esm/view/transactionDetail/transactionDetailTypes.js.map +1 -0
- package/lib/esm/view/transactionList/fetchTransactionListByAccountEpic.js.map +1 -0
- package/lib/esm/view/transactionList/fetchTransactionListByClassEpic.js.map +1 -0
- package/lib/esm/view/transactionList/fetchTransactionListByEntityEpic.js.map +1 -0
- package/lib/esm/view/transactionList/fetchTransactionListByProjectEpic.js.map +1 -0
- package/lib/esm/view/transactionList/fetchTransactionsListByCategoryTypeEpic.js.map +1 -0
- package/lib/esm/view/transactionList/parallelFetchAccountTransactionListEpic.js.map +1 -0
- package/lib/esm/view/transactionList/parallelFetchClassTransactionListEpic.js.map +1 -0
- package/lib/esm/view/transactionList/parallelFetchEntityTransactionListEpic.js.map +1 -0
- package/lib/esm/view/transactionList/parallelFetchProjectTransactionListEpic.js.map +1 -0
- package/lib/esm/view/transactionList/parallelFetchTransactionListByCategoryTypeEpic.js.map +1 -0
- package/lib/esm/view/transactionList/reduceTransactionListFetchState.js.map +1 -0
- package/lib/esm/view/transactionList/transactionListByAccountSelector.js.map +1 -0
- package/lib/esm/view/transactionList/transactionListByCategoryTypeSelector.js.map +1 -0
- package/lib/esm/view/transactionList/transactionListByClassSelector.js.map +1 -0
- package/lib/esm/view/transactionList/transactionListByEntitySelector.js.map +1 -0
- package/lib/esm/view/transactionList/transactionListByProjectSelector.js.map +1 -0
- package/lib/esm/view/transactionList/transactionListPayload.js.map +1 -0
- package/lib/esm/view/transactionList/transactionListReducer.js.map +1 -0
- package/lib/esm/view/transactionList/transactionListState.js.map +1 -0
- package/lib/esm/view/trend/fetchExpenseTrendEpic.js.map +1 -0
- package/lib/esm/view/trend/fetchIncomeTrendEpic.js.map +1 -0
- package/lib/esm/view/trend/trendPayload.js.map +1 -0
- package/lib/esm/view/trend/trendReducer.js.map +1 -0
- package/lib/esm/view/trend/trendSelector.js.map +1 -0
- package/lib/esm/view/trend/trendState.js.map +1 -0
- package/lib/esm/view/trendWithTransactions/fetchTransactionsForEntityEpic.js.map +1 -0
- package/lib/esm/view/trendWithTransactions/fetchTrendForEntityEpic.js.map +1 -0
- package/lib/esm/view/trendWithTransactions/reduceTrendWithTransactionsState.js.map +1 -0
- package/lib/esm/view/trendWithTransactions/trendWithTransactionsReducer.js.map +1 -0
- package/lib/esm/view/trendWithTransactions/trendWithTransactionsSelector.js.map +1 -0
- package/lib/esm/view/trendWithTransactions/trendWithTransactionsState.js.map +1 -0
- package/lib/esm/view/twoFactorAuthentication/resendOtpEpic.js.map +1 -0
- package/lib/esm/view/twoFactorAuthentication/sendOtpEpic.js.map +1 -0
- package/lib/esm/view/twoFactorAuthentication/twoFactorAuthentication.js.map +1 -0
- package/lib/esm/view/twoFactorAuthentication/twoFactorAuthenticationPayload.js.map +1 -0
- package/lib/esm/view/twoFactorAuthentication/twoFactorAuthenticationReducer.js.map +1 -0
- package/lib/esm/view/twoFactorAuthentication/twoFactorAuthenticationSelector.js.map +1 -0
- package/lib/esm/view/twoFactorAuthentication/verifyOtpEpic.js.map +1 -0
- package/lib/esm/view/userFinancialAccount/fetchUserFinancialAccountEpic.js.map +1 -0
- package/lib/esm/view/userFinancialAccount/userFinancialAccountPayload.js.map +1 -0
- package/lib/esm/view/userFinancialAccount/userFinancialAccountReducer.js.map +1 -0
- package/lib/esm/view/userFinancialAccount/userFinancialAccountSelector.js.map +1 -0
- package/lib/esm/view/userFinancialAccount/userFinancialAccountState.js.map +1 -0
- package/lib/esm/view/userGroupListView/userGroupListViewReducer.js.map +1 -0
- package/lib/esm/view/userGroupListView/userGroupListViewSelector.js.map +1 -0
- package/lib/esm/view/userGroupListView/userGroupListViewState.js.map +1 -0
- package/lib/esm/view/userListView/fetchUserListByTypeEpic.js.map +1 -0
- package/lib/esm/view/userListView/userListViewPayload.js.map +1 -0
- package/lib/esm/view/userListView/userListViewReducer.js.map +1 -0
- package/lib/esm/view/userListView/userListViewSelector.js.map +1 -0
- package/lib/esm/view/userListView/userListViewState.js.map +1 -0
- package/lib/esm/view/userRoleConfigView/userRoleConfigEpic.js.map +1 -0
- package/lib/esm/view/userRoleConfigView/userRoleConfigPayload.js.map +1 -0
- package/lib/esm/view/userRoleConfigView/userRoleConfigReducer.js.map +1 -0
- package/lib/esm/view/userRoleConfigView/userRoleConfigSelector.js.map +1 -0
- package/lib/esm/view/userRoleConfigView/userRoleConfigState.js.map +1 -0
- package/lib/esm/view/vendor1099TypeList/vendor1099TypeListEpic.js.map +1 -0
- package/lib/esm/view/vendor1099TypeList/vendor1099TypeListPayload.js.map +1 -0
- package/lib/esm/view/vendor1099TypeList/vendor1099TypeListReducer.js.map +1 -0
- package/lib/esm/view/vendor1099TypeList/vendor1099TypeListState.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/__mock__/vendorFiling1099DownloadMock.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/__mock__/vendorFiling1099ListMock.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/__mock__/vendorFiling1099ListSelectorMock.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099DownloadEpic.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099ListEpic.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListPayload.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsPayload.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSaveEpic.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSelector.js.map +1 -0
- package/lib/esm/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsState.js.map +1 -0
- package/lib/esm/view/vendorList/fetchVendorsListEpic.js.map +1 -0
- package/lib/esm/view/vendorList/vendorListPayload.js.map +1 -0
- package/lib/esm/view/vendorList/vendorListReducer.js.map +1 -0
- package/lib/esm/view/vendorList/vendorListSelector.js.map +1 -0
- package/lib/esm/view/vendorList/vendorListState.js.map +1 -0
- package/lib/esm/view/vendorReviewView/common/payload/commonTypes.js.map +1 -0
- package/lib/esm/view/vendorReviewView/common/state/commonTypes.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewAttachmentsEpic.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewViewEpic.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorDetailsViewEpic.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewPayload.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorGlobalReviewView/epics/approveVendorGlobalReviewEpic.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorGlobalReviewView/epics/rejectVendorGlobalReviewEpic.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.js.map +1 -0
- package/lib/esm/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.js.map +1 -0
- package/lib/esm/view/vendorTabView/fetchVendorTabViewEpic.js.map +1 -0
- package/lib/esm/view/vendorTabView/vendorTabViewReducer.js.map +1 -0
- package/lib/esm/view/vendorTabView/vendorTabViewSelector.js.map +1 -0
- package/lib/esm/view/vendorTabView/vendorTabViewState.js.map +1 -0
- package/lib/esm/view/vendorTypeList/vendorTypeListEpic.js.map +1 -0
- package/lib/esm/view/vendorTypeList/vendorTypeListPayload.js.map +1 -0
- package/lib/esm/view/vendorTypeList/vendorTypeListReducer.js.map +1 -0
- package/lib/esm/view/vendorTypeList/vendorTypeListState.js.map +1 -0
- package/lib/esm/view/vendorTypeList/vendorTypeSelector.js.map +1 -0
- package/lib/esm/view/zeniAccStatementList/fetchZeniAccStatementListEpic.js.map +1 -0
- package/lib/esm/view/zeniAccStatementList/fetchZeniAccStatementPageEpic.js.map +1 -0
- package/lib/esm/view/zeniAccStatementList/zeniAccStatementList.js.map +1 -0
- package/lib/esm/view/zeniAccStatementList/zeniAccStatementListPayload.js.map +1 -0
- package/lib/esm/view/zeniAccStatementList/zeniAccStatementListReducer.js.map +1 -0
- package/lib/esm/view/zeniAccStatementList/zeniAccStatementListSelector.js.map +1 -0
- package/lib/esm/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.js.map +1 -0
- package/lib/esm/view/zeniAccountsPromoCard/zeniAccountsPromoCardPayload.js.map +1 -0
- package/lib/esm/view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer.js.map +1 -0
- package/lib/esm/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.js.map +1 -0
- package/lib/esm/view/zeniAccountsPromoCard/zeniAccountsPromoCardState.js.map +1 -0
- package/lib/esm/view/zeniOAuthView/epics/approveOAuthConsentEpic.js.map +1 -0
- package/lib/esm/view/zeniOAuthView/zeniOAuthParamsParser.js.map +1 -0
- package/lib/esm/view/zeniOAuthView/zeniOAuthReducer.js.map +1 -0
- package/lib/esm/view/zeniOAuthView/zeniOAuthSelector.js.map +1 -0
- package/lib/esm/view/zeniOAuthView/zeniOAuthState.js.map +1 -0
- package/lib/esm/zeniAPI.js.map +1 -0
- package/lib/esm/zeniDayJS.js.map +1 -0
- package/lib/esm/zeniUrl.js.map +1 -0
- package/lib/index.d.ts +14 -7
- package/lib/index.js +59 -31
- package/lib/view/fileView/epic/deleteFileEpic.js +1 -1
- package/lib/view/fileView/epic/deleteFileListEpic.js +1 -1
- package/lib/view/fileView/epic/updateFileNameEpic.js +1 -1
- package/lib/view/onboardingView/customerView/epic/aiAgentsActivation/fetchAiAgentsActivationStatusEpic.d.ts +7 -0
- package/lib/view/onboardingView/customerView/epic/aiAgentsActivation/fetchAiAgentsActivationStatusEpic.js +46 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiActivationViewedEpic.d.ts +8 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiActivationViewedEpic.js +33 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiFinanceTeamEpic.d.ts +9 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiFinanceTeamEpic.js +44 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.d.ts +3 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.d.ts +41 -4
- package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.js +219 -51
- package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +5 -1
- package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +11 -2
- package/lib/view/onboardingView/customerView/onboardingCustomerViewState.d.ts +40 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewState.js +13 -1
- package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKybDocumentEpic.d.ts +28 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKybDocumentEpic.js +56 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKycDocumentEpic.d.ts +30 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKycDocumentEpic.js +63 -0
- package/lib/view/spendManagement/commonSetup/kycKybAutofillActions.d.ts +33 -0
- package/lib/view/spendManagement/commonSetup/kycKybAutofillActions.js +17 -0
- package/lib/view/spendManagement/commonSetup/kycKybParseMapper.d.ts +24 -0
- package/lib/view/spendManagement/commonSetup/kycKybParseMapper.js +213 -0
- package/lib/view/spendManagement/commonSetup/setupViewReducer.d.ts +28 -2
- package/lib/view/spendManagement/commonSetup/setupViewReducer.js +106 -53
- package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +7 -2
- package/lib/view/spendManagement/commonSetup/setupViewSelector.js +6 -1
- package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +19 -0
- package/lib/view/spendManagement/commonSetup/types/kycKybAutofill.d.ts +125 -0
- package/lib/view/spendManagement/commonSetup/types/kycKybAutofill.js +32 -0
- package/lib/view/transactionDetail/journalEntryLinesViewModel.d.ts +102 -0
- package/lib/view/transactionDetail/journalEntryLinesViewModel.js +160 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transactionListReducer.js","sourceRoot":"","sources":["../../../../src/view/transactionList/transactionListReducer.ts"],"names":[],"mapp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,CAAC,QAAQ,CAAE,CAAC;IAEnD,MAAM,GAAG,GAAG,mBAAmB,CAC7B,OAAO,CAAC,SAAS,EACjB,OAAO,CAAC,WAAY,EACpB,SAAS,EACT;QACE,KAAK;QACL,GAAG;KACJ,CACF,CAAC;IACF,KAAK,CAAC,GAAG,CAAC,GAAG;QACX,GAAG,8BAA8B;QACjC,UAAU,EAAE,WAAW;QACvB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,OAAO;QAChB,SAAS,EAAE,SAAS;QACpB,cAAc;KACf,CAAC;AACJ,CAAC","sourcesContent":["import {PayloadAction, createSlice} from '@reduxjs/toolkit';\n\nimport {Amount} from '../../commonStateTypes/amount';\nimport {ID} from '../../commonStateTypes/common';\nimport {TimePeriod, toAbsoluteDay} from '../../commonStateTypes/timePeriod';\nimport {mapAccountBasePayloadToAccountBase} from '../../entity/account/accountPayload';\nimport {AccountType} from '../../entity/account/accountState';\nimport {Entity, toEntityType} from '../../entity/genericEntity/entity';\nimport {TransactionPayload} from '../../entity/transaction/payloadTypes/transactionPayload';\nimport {TransactionID} from '../../entity/transaction/stateTypes/transaction';\nimport {ZeniAPIStatus} from '../../responsePayload';\nimport {\n QueryEntityMetaDataPayload,\n TransactionListByAccountPayload,\n TransactionListByClassPayload,\n TransactionListByEntityPayload,\n TransactionListByProjectPayload,\n} from './transactionListPayload';\nimport {\n AcTranKey,\n AccountTransactions,\n ClassAcTranKey,\n ClassAccountTransactions,\n ProjectAcTranKey,\n ProjectAccountTransactions,\n TransactionCategoryType,\n TransactionListState,\n TransactionListUIState,\n accountTransactionsInitialState,\n getAcKey,\n getAcTranKey,\n getCategoryTypeTranKey,\n getClassAcKey,\n getClassAcTranKey,\n getEntityTranKey,\n getProjectAcKey,\n getProjectAcTranKey,\n initialClassTransactionState,\n initialEntityTransactionState,\n initialProjectTransactionState,\n initialTransactionsStateByCategoryType,\n} from './transactionListState';\n\nexport const initialState: TransactionListState = {\n byAccount: {\n transactionListByAccountKey: {},\n transactionListUIStateByAccountKey: {},\n },\n byEntity: {\n transactionListByEntityKey: {},\n },\n byType: {\n missingReceipts: {\n transactionListByCategoryType: {},\n transactionListUIState: {},\n },\n miscategorizedIncome: {\n transactionListByCategoryType: {},\n transactionListUIState: {},\n },\n miscategorizedExpense: {\n transactionListByCategoryType: {},\n transactionListUIState: {},\n },\n uncategorizedIncome: {\n transactionListByCategoryType: {},\n transactionListUIState: {},\n },\n uncategorizedExpense: {\n transactionListByCategoryType: {},\n transactionListUIState: {},\n },\n },\n byClass: {\n transactionListByClassKey: {},\n transactionListUIStateByClassKey: {},\n },\n byProject: {\n transactionListByProjectKey: {},\n transactionListUIStateByProjectKey: {},\n },\n};\n\nconst transactionList = createSlice({\n name: 'transactionList',\n initialState: initialState,\n reducers: {\n /**\n * split the time period into multiple months, and\n * fetch the transactions falling in those months in\n * parallel.\n */\n parallelFetchAccountTransactionList: {\n reducer() {\n // Do nothing..\n },\n prepare(\n accountId: ID,\n accountType: AccountType,\n period: TimePeriod,\n accountName?: string,\n cacheOverride = false,\n includeSubAccountTransactions = true\n ) {\n return {\n payload: {\n accountId,\n accountType,\n period,\n accountName,\n cacheOverride,\n includeSubAccountTransactions,\n },\n };\n },\n },\n fetchAccountTransactionList: {\n reducer(\n draft,\n action: PayloadAction<{\n accountId: ID;\n accountType: AccountType;\n cacheOverride: boolean;\n includeSubAccountTransactions: boolean;\n period: TimePeriod;\n accountName?: string;\n }>\n ) {\n const key = getAcTranKey(\n action.payload.accountId,\n action.payload.accountType,\n action.payload.period\n );\n\n if (\n action.payload.cacheOverride === true ||\n draft.byAccount.transactionListByAccountKey[key] == null ||\n (draft.byAccount.transactionListByAccountKey[key]?.hasValidState() ===\n false &&\n draft.byAccount.transactionListByAccountKey[key]?.fetchState !=\n 'In-Progress')\n ) {\n const existingTransactions =\n draft.byAccount.transactionListByAccountKey[key]?.transactionIDs ??\n [];\n const updatableInitalState = {\n ...accountTransactionsInitialState,\n ...{\n transactionIDs: existingTransactions,\n },\n };\n draft.byAccount.transactionListByAccountKey[key] = {\n ...updatableInitalState,\n fetchState:\n updatableInitalState.transactionIDs.length > 0\n ? 'Completed'\n : 'In-Progress',\n error: undefined,\n };\n }\n },\n prepare(\n accountId: ID,\n accountType: AccountType,\n period: TimePeriod,\n includeSubAccountTransactions: boolean,\n accountName?: string,\n cacheOverride = false\n ) {\n return {\n payload: {\n accountId,\n accountType,\n period,\n accountName,\n includeSubAccountTransactions,\n cacheOverride,\n },\n };\n },\n },\n\n updateTransactionListByAccount(\n draft,\n action: PayloadAction<TransactionListByAccountPayload>\n ) {\n doUpdateTransactionListByAccount(\n draft.byAccount.transactionListByAccountKey,\n action.payload\n );\n },\n\n updateTransactionListByAccountUIState(\n draft,\n action: PayloadAction<{\n accountId: ID;\n accountType: AccountType;\n uiState: TransactionListUIState;\n }>\n ) {\n const key = getAcKey(\n action.payload.accountId,\n action.payload.accountType\n );\n draft.byAccount.transactionListUIStateByAccountKey[key] = Object.assign(\n {},\n draft.byAccount.transactionListUIStateByAccountKey[key],\n action.payload.uiState\n );\n },\n\n updateTransactionListByAccountFailure: {\n reducer(\n draft,\n action: PayloadAction<{\n accountId: ID;\n accountType: AccountType;\n error: ZeniAPIStatus;\n period: TimePeriod;\n }>\n ) {\n const key = getAcTranKey(\n action.payload.accountId,\n action.payload.accountType,\n action.payload.period\n );\n draft.byAccount.transactionListByAccountKey[key] = {\n ...accountTransactionsInitialState,\n fetchState: 'Error',\n error: action.payload.error,\n };\n },\n prepare(\n accountId: ID,\n accountType: AccountType,\n period: TimePeriod,\n error: ZeniAPIStatus\n ) {\n return {payload: {accountId, accountType, period, error}};\n },\n },\n\n // Entity related transaction list Actions\n\n /**\n * split the time period into multiple months, and\n * fetch the transactions falling in those months in\n * parallel.\n */\n parallelFetchEntityTransactionList: {\n reducer() {\n // Do nothing..\n },\n prepare(\n entity: Entity,\n period: TimePeriod,\n cacheOverride = false,\n fiscalYearStartMonth = 1\n ) {\n return {payload: {entity, period, cacheOverride, fiscalYearStartMonth}};\n },\n },\n\n fetchEntityTransactionList: {\n reducer(\n draft,\n action: PayloadAction<{\n cacheOverride: boolean;\n entity: Entity;\n isFetchAllTransactions: boolean;\n period: TimePeriod;\n }>\n ) {\n const key = getEntityTranKey(\n action.payload.entity,\n action.payload.period\n );\n if (\n action.payload.cacheOverride === true ||\n draft.byEntity.transactionListByEntityKey[key] == null ||\n (draft.byEntity.transactionListByEntityKey[key]?.hasValidState() ===\n false &&\n draft.byEntity.transactionListByEntityKey[key]?.fetchState !=\n 'In-Progress')\n ) {\n draft.byEntity.transactionListByEntityKey[key] = {\n ...initialEntityTransactionState,\n fetchState: 'In-Progress',\n error: undefined,\n };\n }\n },\n prepare(\n entity: Entity,\n period: TimePeriod,\n cacheOverride = false,\n isFetchAllTransactions = false\n ) {\n return {\n payload: {entity, period, cacheOverride, isFetchAllTransactions},\n };\n },\n },\n\n updateTransactionListByEntity(\n draft,\n action: PayloadAction<TransactionListByEntityPayload>\n ) {\n const transactionIDs = action.payload.transactions.map(\n (transactionPayload) => transactionPayload.transaction_id\n );\n /* eslint-disable @typescript-eslint/no-non-null-assertion */\n const entity = mapTransactionQueryMetaDataToEntity(action.payload.query);\n\n const key = getEntityTranKey(entity, {\n start: toAbsoluteDay(action.payload.query.start_date)!,\n end: toAbsoluteDay(action.payload.query.end_date)!,\n });\n draft.byEntity.transactionListByEntityKey[key] = {\n ...initialEntityTransactionState,\n fetchState: 'Completed',\n error: undefined,\n entity: entity,\n transactionIDs,\n };\n },\n\n updateTransactionListByEntityFailure: {\n reducer(\n draft,\n action: PayloadAction<{\n entity: Entity;\n error: ZeniAPIStatus;\n period: TimePeriod;\n }>\n ) {\n const key = getEntityTranKey(\n action.payload.entity,\n action.payload.period\n );\n draft.byEntity.transactionListByEntityKey[key] = {\n ...initialEntityTransactionState,\n fetchState: 'Error',\n error: action.payload.error,\n };\n },\n prepare(entity: Entity, period: TimePeriod, error: ZeniAPIStatus) {\n return {payload: {entity, period, error}};\n },\n },\n\n // Transaction list by class related reducers\n\n /**\n * split the time period into multiple months, and\n * fetch the transactions falling in those months in\n * parallel.\n */\n parallelFetchClassTransactionList: {\n reducer() {\n // Do nothing..\n },\n prepare(\n accountId: ID,\n accountType: AccountType,\n classId: ID,\n period: TimePeriod,\n cacheOverride = false\n ) {\n return {\n payload: {accountId, accountType, classId, period, cacheOverride},\n };\n },\n },\n\n fetchClassTransactionList: {\n reducer(\n draft,\n action: PayloadAction<{\n accountId: ID;\n accountType: AccountType;\n cacheOverride: boolean;\n classId: ID;\n period: TimePeriod;\n }>\n ) {\n const key = getClassAcTranKey(\n action.payload.accountId,\n action.payload.accountType,\n action.payload.classId,\n action.payload.period\n );\n\n if (\n action.payload.cacheOverride === true ||\n draft.byClass.transactionListByClassKey[key] == null ||\n (draft.byClass.transactionListByClassKey[key]?.hasValidState() ===\n false &&\n draft.byClass.transactionListByClassKey[key]?.fetchState !=\n 'In-Progress')\n ) {\n draft.byClass.transactionListByClassKey[key] = {\n ...initialClassTransactionState,\n fetchState: 'In-Progress',\n error: undefined,\n };\n }\n },\n prepare(\n accountId: ID,\n accountType: AccountType,\n classId: ID,\n period: TimePeriod,\n cacheOverride = false\n ) {\n return {\n payload: {accountId, accountType, classId, period, cacheOverride},\n };\n },\n },\n\n updateTransactionListByClass(\n draft,\n action: PayloadAction<TransactionListByClassPayload>\n ) {\n doUpdateTransactionListByClass(\n draft.byClass.transactionListByClassKey,\n action.payload\n );\n },\n\n updateTransactionListByClassUIState(\n draft,\n action: PayloadAction<{\n accountId: ID;\n accountType: AccountType;\n classId: ID;\n uiState: TransactionListUIState;\n }>\n ) {\n const key = getClassAcKey(\n action.payload.accountId,\n action.payload.accountType,\n action.payload.classId\n );\n draft.byClass.transactionListUIStateByClassKey[key] = Object.assign(\n {},\n draft.byClass.transactionListUIStateByClassKey[key],\n action.payload.uiState\n );\n },\n\n updateTransactionListByClassFailure: {\n reducer(\n draft,\n action: PayloadAction<{\n accountId: ID;\n accountType: AccountType;\n classId: ID;\n error: ZeniAPIStatus;\n period: TimePeriod;\n }>\n ) {\n const key = getClassAcTranKey(\n action.payload.accountId,\n action.payload.accountType,\n action.payload.classId,\n action.payload.period\n );\n draft.byClass.transactionListByClassKey[key] = {\n ...initialClassTransactionState,\n fetchState: 'Error',\n error: action.payload.error,\n };\n },\n prepare(\n accountId: ID,\n accountType: AccountType,\n classId: ID,\n period: TimePeriod,\n error: ZeniAPIStatus\n ) {\n return {payload: {accountId, accountType, classId, period, error}};\n },\n },\n\n // Transaction list by project related reducers\n //\n // Mirrors the by-class set; the only behavioural difference is that the\n // server query param is `accounting_project_id` and there's no equivalent\n // of `include_sub_class_transactions` — projects don't have a sub-project\n // hierarchy in this layout yet.\n parallelFetchProjectTransactionList: {\n reducer() {\n // Do nothing..\n },\n prepare(\n accountId: ID,\n accountType: AccountType,\n projectId: ID,\n period: TimePeriod,\n cacheOverride = false\n ) {\n return {\n payload: {accountId, accountType, projectId, period, cacheOverride},\n };\n },\n },\n\n fetchProjectTransactionList: {\n reducer(\n draft,\n action: PayloadAction<{\n accountId: ID;\n accountType: AccountType;\n cacheOverride: boolean;\n period: TimePeriod;\n projectId: ID;\n }>\n ) {\n const key = getProjectAcTranKey(\n action.payload.accountId,\n action.payload.accountType,\n action.payload.projectId,\n action.payload.period\n );\n\n if (\n action.payload.cacheOverride === true ||\n draft.byProject.transactionListByProjectKey[key] == null ||\n (draft.byProject.transactionListByProjectKey[key]?.hasValidState() ===\n false &&\n draft.byProject.transactionListByProjectKey[key]?.fetchState !=\n 'In-Progress')\n ) {\n draft.byProject.transactionListByProjectKey[key] = {\n ...initialProjectTransactionState,\n fetchState: 'In-Progress',\n error: undefined,\n };\n }\n },\n prepare(\n accountId: ID,\n accountType: AccountType,\n projectId: ID,\n period: TimePeriod,\n cacheOverride = false\n ) {\n return {\n payload: {accountId, accountType, projectId, period, cacheOverride},\n };\n },\n },\n\n updateTransactionListByProject(\n draft,\n action: PayloadAction<TransactionListByProjectPayload>\n ) {\n doUpdateTransactionListByProject(\n draft.byProject.transactionListByProjectKey,\n action.payload\n );\n },\n\n updateTransactionListByProjectUIState(\n draft,\n action: PayloadAction<{\n accountId: ID;\n accountType: AccountType;\n projectId: ID;\n uiState: TransactionListUIState;\n }>\n ) {\n const key = getProjectAcKey(\n action.payload.accountId,\n action.payload.accountType,\n action.payload.projectId\n );\n draft.byProject.transactionListUIStateByProjectKey[key] = Object.assign(\n {},\n draft.byProject.transactionListUIStateByProjectKey[key],\n action.payload.uiState\n );\n },\n\n updateTransactionListByProjectFailure: {\n reducer(\n draft,\n action: PayloadAction<{\n accountId: ID;\n accountType: AccountType;\n error: ZeniAPIStatus;\n period: TimePeriod;\n projectId: ID;\n }>\n ) {\n const key = getProjectAcTranKey(\n action.payload.accountId,\n action.payload.accountType,\n action.payload.projectId,\n action.payload.period\n );\n draft.byProject.transactionListByProjectKey[key] = {\n ...initialProjectTransactionState,\n fetchState: 'Error',\n error: action.payload.error,\n };\n },\n prepare(\n accountId: ID,\n accountType: AccountType,\n projectId: ID,\n period: TimePeriod,\n error: ZeniAPIStatus\n ) {\n return {payload: {accountId, accountType, projectId, period, error}};\n },\n },\n\n parallelFetchTransactionListByCategoryType: {\n reducer() {\n // Do nothing..\n },\n prepare(\n transactionCategoryType: TransactionCategoryType,\n period: TimePeriod,\n cacheOverride = false,\n minimumTransactionAmount?: Amount\n ) {\n return {\n payload: {\n transactionCategoryType,\n period,\n minimumTransactionAmount,\n cacheOverride,\n },\n };\n },\n },\n\n fetchTransactionsListByCategoryType: {\n reducer(\n draft,\n action: PayloadAction<{\n cacheOverride: boolean;\n period: TimePeriod;\n transactionCategoryType: TransactionCategoryType;\n minimumTransactionAmount?: Amount;\n }>\n ) {\n const {transactionCategoryType} = action.payload;\n const key = getCategoryTypeTranKey(\n transactionCategoryType,\n action.payload.period\n );\n\n if (\n action.payload.cacheOverride === true ||\n draft.byType[transactionCategoryType].transactionListByCategoryType[\n key\n ] == null ||\n (draft.byType[transactionCategoryType].transactionListByCategoryType[\n key\n ]?.hasValidState() === false &&\n draft.byType[transactionCategoryType].transactionListByCategoryType[\n key\n ]?.fetchState !== 'In-Progress')\n ) {\n const existingTransactions =\n draft.byType[transactionCategoryType].transactionListByCategoryType[\n key\n ]?.transactionIDs ?? [];\n const updatableInitalState = {\n ...initialTransactionsStateByCategoryType,\n ...{\n transactionIDs: existingTransactions,\n },\n };\n draft.byType[transactionCategoryType].transactionListByCategoryType[\n key\n ] = {\n ...updatableInitalState,\n fetchState:\n updatableInitalState.transactionIDs.length > 0\n ? 'Completed'\n : 'In-Progress',\n error: undefined,\n };\n }\n },\n prepare(\n cacheOverride = false,\n transactionCategoryType: TransactionCategoryType,\n period: TimePeriod,\n minimumTransactionAmount?: Amount\n ) {\n return {\n payload: {\n period,\n minimumTransactionAmount,\n cacheOverride,\n transactionCategoryType,\n },\n };\n },\n },\n\n updateTransactionListByCategoryType: {\n prepare(\n transactionCategoryType: TransactionCategoryType,\n period: TimePeriod,\n transactions: TransactionPayload[]\n ) {\n return {payload: {transactionCategoryType, period, transactions}};\n },\n reducer(\n draft,\n action: PayloadAction<{\n period: TimePeriod;\n transactionCategoryType: TransactionCategoryType;\n transactions: TransactionPayload[];\n }>\n ) {\n const {transactionCategoryType} = action.payload;\n\n const transactionIDs = action.payload.transactions.map(\n (transactionPayload) => transactionPayload.transaction_id\n );\n\n const key = getCategoryTypeTranKey(\n transactionCategoryType,\n action.payload.period\n );\n\n draft.byType[transactionCategoryType].transactionListByCategoryType[\n key\n ] = {\n ...initialTransactionsStateByCategoryType,\n fetchState: 'Completed',\n error: undefined,\n transactionIDs,\n };\n },\n },\n\n updateTransactionsListByCategoryTypeFailure: {\n reducer(\n draft,\n action: PayloadAction<{\n error: ZeniAPIStatus;\n period: TimePeriod;\n transactionCategoryType: TransactionCategoryType;\n }>\n ) {\n const {transactionCategoryType} = action.payload;\n\n const key = getCategoryTypeTranKey(\n transactionCategoryType,\n action.payload.period\n );\n draft.byType[transactionCategoryType].transactionListByCategoryType[\n key\n ] = {\n ...initialTransactionsStateByCategoryType,\n fetchState: 'Error',\n error: action.payload.error,\n };\n },\n prepare(\n transactionCategoryType: TransactionCategoryType,\n period: TimePeriod,\n error: ZeniAPIStatus\n ) {\n return {payload: {transactionCategoryType, period, error}};\n },\n },\n\n updateTransactionListUIStateByCategoryType(\n draft,\n action: PayloadAction<{\n type: TransactionCategoryType;\n uiState: TransactionListUIState;\n }>\n ) {\n draft.byType[action.payload.type].transactionListUIState = {\n ...draft.byType[action.payload.type].transactionListUIState,\n ...action.payload.uiState,\n };\n },\n\n updateLatestTransactionId(\n draft,\n action: PayloadAction<TransactionID | undefined>\n ) {\n draft.latestTransactionId = action.payload;\n },\n\n clearTransactionList(draft) {\n Object.assign(draft, initialState);\n },\n },\n});\n\nexport const {\n parallelFetchAccountTransactionList,\n fetchAccountTransactionList,\n updateTransactionListByAccount,\n updateTransactionListByAccountFailure,\n parallelFetchEntityTransactionList,\n fetchEntityTransactionList,\n updateTransactionListByEntity,\n updateTransactionListByEntityFailure,\n updateTransactionListByAccountUIState,\n parallelFetchClassTransactionList,\n fetchClassTransactionList,\n updateTransactionListByClass,\n updateTransactionListByClassUIState,\n updateTransactionListByClassFailure,\n parallelFetchProjectTransactionList,\n fetchProjectTransactionList,\n updateTransactionListByProject,\n updateTransactionListByProjectUIState,\n updateTransactionListByProjectFailure,\n parallelFetchTransactionListByCategoryType,\n fetchTransactionsListByCategoryType,\n updateTransactionListByCategoryType,\n updateTransactionsListByCategoryTypeFailure,\n updateTransactionListUIStateByCategoryType,\n clearTransactionList,\n updateLatestTransactionId,\n} = transactionList.actions;\n\nexport default transactionList.reducer;\n\n/**\n * Helper functions\n */\n\nfunction doUpdateTransactionListByAccount(\n draft: Record<AcTranKey, AccountTransactions>,\n payload: TransactionListByAccountPayload\n) {\n const transactionIDs = payload.account.transactions.map(\n (transactionPaylod) => transactionPaylod.transaction_id\n );\n const account = mapAccountBasePayloadToAccountBase(payload.account);\n const start = toAbsoluteDay(payload.query.start_date)!;\n const end = toAbsoluteDay(payload.query.end_date)!;\n\n const key = getAcTranKey(account.accountId, account.accountType!, {\n start,\n end,\n });\n draft[key] = {\n ...accountTransactionsInitialState,\n fetchState: 'Completed',\n error: undefined,\n account: account,\n transactionIDs,\n };\n}\n\nconst mapTransactionQueryMetaDataToEntity = (\n payload: QueryEntityMetaDataPayload\n): Entity => {\n return {\n id: payload.entity_id,\n name: payload.entity_name,\n type: toEntityType(payload.entity_type),\n zeniId: payload.entity_id,\n qboId: payload.entity_id,\n };\n};\n\nfunction doUpdateTransactionListByClass(\n draft: Record<ClassAcTranKey, ClassAccountTransactions>,\n payload: TransactionListByClassPayload\n) {\n const transactionIDs = payload.account.transactions.map(\n (transactionPaylod) => transactionPaylod.transaction_id\n );\n const account = mapAccountBasePayloadToAccountBase(payload.account);\n const classId = payload.query.accounting_class_id;\n const start = toAbsoluteDay(payload.query.start_date)!;\n const end = toAbsoluteDay(payload.query.end_date)!;\n\n const key = getClassAcTranKey(\n account.accountId,\n account.accountType!,\n classId,\n {\n start,\n end,\n }\n );\n draft[key] = {\n ...initialClassTransactionState,\n fetchState: 'Completed',\n error: undefined,\n account: account,\n classId: classId,\n transactionIDs,\n };\n}\n\nfunction doUpdateTransactionListByProject(\n draft: Record<ProjectAcTranKey, ProjectAccountTransactions>,\n payload: TransactionListByProjectPayload\n) {\n const transactionIDs = payload.account.transactions.map(\n (transactionPaylod) => transactionPaylod.transaction_id\n );\n const account = mapAccountBasePayloadToAccountBase(payload.account);\n const projectId = payload.query.accounting_project_id;\n const start = toAbsoluteDay(payload.query.start_date)!;\n const end = toAbsoluteDay(payload.query.end_date)!;\n\n const key = getProjectAcTranKey(\n account.accountId,\n account.accountType!,\n projectId,\n {\n start,\n end,\n }\n );\n draft[key] = {\n ...initialProjectTransactionState,\n fetchState: 'Completed',\n error: undefined,\n account: account,\n projectId: projectId,\n transactionIDs,\n };\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transactionList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,WAAwB,EACxB,SAAa,EACb,EAAE,CAAC,GAAG,SAAS,IAAI,WAAW,IAAI,SAAS,EAAE,CAAC;AAoBhD,MAAM,CAAC,MAAM,8BAA8B,GAA+B;IACxE,cAAc,EAAE,EAAE;IAClB,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,SAAS;IAChB,aAAa;QACX,OAAO,IAAI,CAAC,UAAU,IAAI,WAAW,CAAC;IACxC,CAAC;CACF,CAAC;AAWF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,YAAqC,EACrC,MAAkB,EAClB,EAAE,CACF,GAAG,YAAY,IAAI,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,MAAM,CAAC,KAAK,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,IAAI,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,MAAM,CAAC,GAAG,CAAC,KAAK,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;AA2B5I,MAAM,CAAC,MAAM,sCAAsC,GACjD;IACE,cAAc,EAAE,EAAE;IAClB,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,SAAS;IAChB,aAAa;QACX,OAAO,IAAI,CAAC,UAAU,IAAI,WAAW,CAAC;IACxC,CAAC;CACF,CAAC","sourcesContent":["import {FetchedState, ID} from '../../commonStateTypes/common';\nimport {TimePeriod} from '../../commonStateTypes/timePeriod';\nimport {TimeframeTick} from '../../commonStateTypes/timeframeTick';\nimport {AccountBase, AccountType} from '../../entity/account/accountState';\nimport {Entity} from '../../entity/genericEntity/entity';\nimport {TransactionID} from '../../entity/transaction/stateTypes/transaction';\n\nexport const getAcTranKey = (\n accountId: ID,\n accountType: AccountType,\n period: TimePeriod\n) =>\n `${accountId}-${accountType}-${period.start.day}_${period.start.month}_${period.start.year}_${period.end.day}_${period.end.month}_${period.end.year}`;\nexport type AcTranKey = ReturnType<typeof getAcTranKey>;\n\nexport const getAcKey = (accountId: ID, accountType: AccountType) =>\n `${accountId}-${accountType}`;\ntype AcKey = ReturnType<typeof getAcKey>;\n\nexport interface TransactionListUIState {\n dateRange?: TimeframeTick;\n scrollYOffset?: number;\n}\n\nexport interface AccountTransactions extends FetchedState {\n transactionIDs: ID[];\n account?: AccountBase;\n}\n\nexport const accountTransactionsInitialState: AccountTransactions = {\n fetchState: 'Not-Started',\n error: undefined,\n account: undefined,\n transactionIDs: [],\n\n hasValidState() {\n return this.fetchState === 'Completed';\n },\n};\n\nexport interface TransactionListByAccountState {\n transactionListByAccountKey: Record<AcTranKey, AccountTransactions>;\n transactionListUIStateByAccountKey: Record<AcKey, TransactionListUIState>;\n}\n\n// Transactions By Entity (customer/vendor)\n\nexport const getEntityTranKey = (entity: Entity, period: TimePeriod) =>\n `${entity.type}-${entity.id}-${period.start.day}_${period.start.month}_${period.start.year}_${period.end.day}_${period.end.month}_${period.end.year}`;\ntype EntityTranKey = ReturnType<typeof getEntityTranKey>;\n\nexport interface EntityTransactions extends FetchedState {\n transactionIDs: ID[];\n entity?: Entity;\n}\n\nexport const initialEntityTransactionState: EntityTransactions = {\n fetchState: 'Not-Started',\n error: undefined,\n entity: undefined,\n transactionIDs: [],\n\n hasValidState() {\n return this.fetchState === 'Completed';\n },\n};\n\nexport interface TransactionListByEntityState {\n transactionListByEntityKey: Record<EntityTranKey, EntityTransactions>;\n}\n\nexport const getClassAcTranKey = (\n accountId: ID,\n accountType: AccountType,\n classId: ID,\n period: TimePeriod\n) =>\n `${accountId}-${accountType}-${classId}-${period.start.day}_${period.start.month}_${period.start.year}_${period.end.day}_${period.end.month}_${period.end.year}`;\nexport type ClassAcTranKey = ReturnType<typeof getClassAcTranKey>;\n\nexport const getClassAcKey = (\n accountId: ID,\n accountType: AccountType,\n classId: ID\n) => `${accountId}-${accountType}-${classId}`;\ntype ClassAcKey = ReturnType<typeof getClassAcKey>;\n\nexport interface ClassAccountTransactions extends FetchedState {\n transactionIDs: ID[];\n account?: AccountBase;\n classId?: ID;\n}\n\nexport interface TransactionListByClassState {\n transactionListByClassKey: Record<ClassAcTranKey, ClassAccountTransactions>;\n transactionListUIStateByClassKey: Record<ClassAcKey, TransactionListUIState>;\n}\n\nexport const initialClassTransactionState: ClassAccountTransactions = {\n transactionIDs: [],\n fetchState: 'Not-Started',\n error: undefined,\n hasValidState() {\n return this.fetchState == 'Completed';\n },\n};\n\nexport const getProjectAcTranKey = (\n accountId: ID,\n accountType: AccountType,\n projectId: ID,\n period: TimePeriod\n) =>\n `${accountId}-${accountType}-${projectId}-${period.start.day}_${period.start.month}_${period.start.year}_${period.end.day}_${period.end.month}_${period.end.year}`;\nexport type ProjectAcTranKey = ReturnType<typeof getProjectAcTranKey>;\n\nexport const getProjectAcKey = (\n accountId: ID,\n accountType: AccountType,\n projectId: ID\n) => `${accountId}-${accountType}-${projectId}`;\ntype ProjectAcKey = ReturnType<typeof getProjectAcKey>;\n\nexport interface ProjectAccountTransactions extends FetchedState {\n transactionIDs: ID[];\n account?: AccountBase;\n projectId?: ID;\n}\n\nexport interface TransactionListByProjectState {\n transactionListByProjectKey: Record<\n ProjectAcTranKey,\n ProjectAccountTransactions\n >;\n transactionListUIStateByProjectKey: Record<\n ProjectAcKey,\n TransactionListUIState\n >;\n}\n\nexport const initialProjectTransactionState: ProjectAccountTransactions = {\n transactionIDs: [],\n fetchState: 'Not-Started',\n error: undefined,\n hasValidState() {\n return this.fetchState == 'Completed';\n },\n};\n\n// Transactions for miscatgorized transactions\n\nexport type TransactionCategoryType =\n | 'missingReceipts'\n | 'miscategorizedExpense'\n | 'miscategorizedIncome'\n | 'uncategorizedIncome'\n | 'uncategorizedExpense';\n\nexport const getCategoryTypeTranKey = (\n categoryType: TransactionCategoryType,\n period: TimePeriod\n) =>\n `${categoryType}_${period.start.day}_${period.start.month}_${period.start.year}_${period.end.day}_${period.end.month}_${period.end.year}`;\ntype CategoryTypeTranKey = ReturnType<typeof getCategoryTypeTranKey>;\n\nexport interface CategoryTypeTransactions extends FetchedState {\n transactionIDs: ID[];\n}\n\nexport interface TransactionListByCategoryState {\n transactionListByCategoryType: Record<\n CategoryTypeTranKey,\n CategoryTypeTransactions\n >;\n transactionListUIState: TransactionListUIState;\n}\n\nexport interface TransactionListState {\n byAccount: TransactionListByAccountState;\n byClass: TransactionListByClassState;\n byEntity: TransactionListByEntityState;\n byProject: TransactionListByProjectState;\n byType: Record<TransactionCategoryType, TransactionListByCategoryState>;\n latestTransactionId?: TransactionID;\n}\nexport interface TransactionListSelectorView {\n latestTransactionId?: TransactionID;\n}\n\nexport const initialTransactionsStateByCategoryType: CategoryTypeTransactions =\n {\n transactionIDs: [],\n fetchState: 'Not-Started',\n error: undefined,\n hasValidState() {\n return this.fetchState == 'Completed';\n },\n };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchExpenseTrendEpic.js","sourceRoot":"","sources":["../../../../src/view/trend/fetchExpenseTrendEpic.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,EAAE,EAAC,MAAM,MAAM,CAAC;AACtC,OAAO,EAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAG5D,OAAO,EAAC,sBAAsB,EAAC,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAC,wBAAwB,EAAC,MAAM,iDAAiD,CAAC;AAEzF,OAAO,EAAC,mBAAmB,EAAE,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AAE7E,OAAO,EAAC,IAAI,IAAI,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;AASxB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,QAAuC,EACvC,CAA6B,EAC7B,OAAgB,EAChB,EAAE,CACF,QAAQ,CAAC,IAAI,CACX,MAAM,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAC/B,QAAQ,CAAC,CAAC,MA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AAE;IAChB,MAAM,aAAa,GAAiB,EAAE,CAAC;IAEvC,6DAA6D;IAC7D,2EAA2E;IAC3E,MAAM,WAAW,GAAG;QAClB,SAAS,EAAE,QAAQ,CACjB,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,yBAA0B,CACxD;QACD,OAAO,EAAE,QAAQ,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,uBAAwB,CAAC;KACzE,CAAC;IACF,4DAA4D;IAC5D,0EAA0E;IAE1E,aAAa,CAAC,IAAI,CAChB,sBAAsB,CAAC,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,CAC5E,CAAC;IAEF,aAAa,CAAC,IAAI,CAChB,wBAAwB,CACtB,EAAC,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAC,EAClC,WAAW,EACX,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,OAAO,EACpC,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,QAAQ,CACtC,CACF,CAAC;IACF,aAAa,CAAC,IAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC,CAAC;IACpD,OAAO,aAAa,CAAC;AACvB,CAAC,CAAC","sourcesContent":["import {ActionsObservable, StateObservable} from 'redux-observable';\nimport {concat, from, of} from 'rxjs';\nimport {catchError, filter, mergeMap} from 'rxjs/operators';\n\nimport {ID} from '../../commonStateTypes/common';\nimport {updateVendorSpendTrend} from '../../entity/vendor/vendorReducer';\nimport {updateVendorExpenseTrend} from '../../entity/vendorExpense/vendorExpenseReducer';\nimport {RootState} from '../../reducer';\nimport {createZeniAPIStatus, isSuccessResponse} from '../../responsePayload';\nimport {ZeniAPI} from '../../zeniAPI';\nimport {date as zeniDate} from '../../zeniDayJS';\nimport {ExpenseTrendReportResponse} from './trendPayload';\nimport {\n fetchExpenseTrend,\n updateTrendFailure,\n updateTrendSuccess,\n} from './trendReducer';\n\nexport type ActionType =\n | ReturnType<typeof fetchExpenseTrend>\n | ReturnType<typeof updateVendorExpenseTrend>\n | ReturnType<typeof updateTrendSuccess>\n | ReturnType<typeof updateVendorSpendTrend>\n | ReturnType<typeof updateTrendFailure>;\n\nexport const fetchExpenseTrendEpic = (\n actions$: ActionsObservable<ActionType>,\n _: StateObservable<RootState>,\n zeniAPI: ZeniAPI\n) =>\n actions$.pipe(\n filter(fetchExpenseTrend.match),\n mergeMap((action) => {\n const {vendorId, vendorName, vendorZeniId} = action.payload;\n\n const query = {\n entity_id: vendorId,\n entity_type: 'vendor',\n vendor_id: vendorId,\n vendor_name: vendorName,\n };\n const getExpenseTrend$ = zeniAPI\n .getJSON<ExpenseTrendReportResponse>(\n `${\n zeniAPI.apiEndPoints.accountMicroServiceBaseUrl\n }/1.0/reports/spend_trend?query=${encodeURIComponent(\n JSON.stringify(query)\n )}`\n )\n .pipe(\n mergeMap((response: ExpenseTrendReportResponse) => {\n if (isSuccessResponse(response)) {\n const vendor = {\n id: vendorId,\n name: vendorName,\n zeniId: vendorZeniId,\n };\n\n return from(updateTrendActions(vendor, response));\n } else {\n return of(\n updateTrendFailure(action.payload.vendorId, response.status)\n );\n }\n }),\n catchError((error) =>\n of(\n updateTrendFailure(\n action.payload.vendorId,\n createZeniAPIStatus(\n 'Unexpected Error',\n 'Spend Trend REST API call errored out' +\n JSON.stringify(error)\n )\n )\n )\n )\n );\n return concat(getExpenseTrend$);\n })\n );\n\n/**\n *\n * @param vendor\n * @param expenseResponse\n * @returns actions for updating the trend\n */\nconst updateTrendActions = (\n vendor: {id: ID; name: string; zeniId: string},\n expenseResponse: ExpenseTrendReportResponse\n): ActionType[] => {\n const updateActions: ActionType[] = [];\n\n /* eslint-disable @typescript-eslint/no-non-null-assertion */\n /* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */\n const trendPeriod = {\n startDate: zeniDate(\n expenseResponse.data?.report.data_available_start_date!\n ),\n endDate: zeniDate(expenseResponse.data?.report.data_available_end_date!),\n };\n /* eslint-enable @typescript-eslint/no-non-null-assertion */\n /* eslint-enable @typescript-eslint/no-non-null-asserted-optional-chain */\n\n updateActions.push(\n updateVendorSpendTrend(vendor.zeniId, expenseResponse.data?.report.expense)\n );\n\n updateActions.push(\n updateVendorExpenseTrend(\n {id: vendor.id, name: vendor.name},\n trendPeriod,\n expenseResponse.data?.report.expense,\n expenseResponse.data?.report.insights\n )\n );\n updateActions.push(updateTrendSuccess(trendPeriod));\n return updateActions;\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchIncomeTrendEpic.js","sourceRoot":"","sources":["../../../../src/view/trend/fetchIncomeTrendEpic.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,EAAE,EAAC,MAAM,MAAM,CAAC;AACtC,OAAO,EAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAG5D,OAAO,EAAC,yBAAyB,EAAC,MAAM,wDAAwD,CAAC;AAEjG,OAAO,EAAC,mBAAmB,EAAE,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AAE7E,OAAO,EAAC,IAAI,IAAI,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;AAQxB,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,QAAuC,EACvC,CAA6B,EAC7B,OAAgB,EAChB,EAAE,CACF,QAAQ,CAAC,IAAI,CACX,MAAM,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAC9B,QAAQ,CAAC,CAAC,MAAM,EAAE,EAAE;IAClB,MAAM,EAAC,UAAU,EAAE,YAAY,EAAC,GAAG,MAAM,CAAC,OAAO,CAAC;IAClD,MAAM,KAAK,GAAG;QACZ,SAAS,EAAE,UAAU;QACrB,WAAW,EAAE,UAAU;QACvB,WAAW,EAAE,UAAU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AE,MAAM,CAAC,uBAAwB,CAAC;KACxE,CAAC;IACF,4DAA4D;IAC5D,0EAA0E;IAC1E,aAAa,CAAC,IAAI,CAChB,yBAAyB,CACvB,QAAQ,EACR,WAAW,EACX,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAClC,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC,QAAQ,CACrC,CACF,CAAC;IACF,aAAa,CAAC,IAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC,CAAC;IAEpD,OAAO,aAAa,CAAC;AACvB,CAAC,CAAC","sourcesContent":["import {ActionsObservable, StateObservable} from 'redux-observable';\nimport {concat, from, of} from 'rxjs';\nimport {catchError, filter, mergeMap} from 'rxjs/operators';\n\nimport {ID} from '../../commonStateTypes/common';\nimport {updateCustomerIncomeTrend} from '../../entity/customerIncome/customerIncomeTrendReducer';\nimport {RootState} from '../../reducer';\nimport {createZeniAPIStatus, isSuccessResponse} from '../../responsePayload';\nimport {ZeniAPI} from '../../zeniAPI';\nimport {date as zeniDate} from '../../zeniDayJS';\nimport {IncomeTrendReportResponse} from './trendPayload';\nimport {\n fetchIncomeTrend,\n updateTrendFailure,\n updateTrendSuccess,\n} from './trendReducer';\n\nexport type ActionType =\n | ReturnType<typeof fetchIncomeTrend>\n | ReturnType<typeof updateTrendSuccess>\n | ReturnType<typeof updateCustomerIncomeTrend>\n | ReturnType<typeof updateTrendFailure>;\n\nexport const fetchIncomeTrendEpic = (\n actions$: ActionsObservable<ActionType>,\n _: StateObservable<RootState>,\n zeniAPI: ZeniAPI\n) =>\n actions$.pipe(\n filter(fetchIncomeTrend.match),\n mergeMap((action) => {\n const {customerId, customerName} = action.payload;\n const query = {\n entity_id: customerId,\n entity_type: 'customer',\n customer_id: customerId,\n customer_name: customerName,\n };\n\n const getIncomeTrend$ = zeniAPI\n .getJSON<IncomeTrendReportResponse>(\n `${\n zeniAPI.apiEndPoints.accountMicroServiceBaseUrl\n }/1.0/reports/income_trend?query=${encodeURIComponent(\n JSON.stringify(query)\n )}`\n )\n .pipe(\n mergeMap((response: IncomeTrendReportResponse) => {\n if (isSuccessResponse(response)) {\n const customer = {\n id: customerId,\n name: customerName,\n };\n return from(updateTrendActions(customer, response));\n } else {\n return of(\n updateTrendFailure(action.payload.customerId, response.status)\n );\n }\n }),\n catchError((error) =>\n of(\n updateTrendFailure(\n action.payload.customerId,\n createZeniAPIStatus(\n 'Unexpected Error',\n 'Income Trend REST API call errored out' +\n JSON.stringify(error)\n )\n )\n )\n )\n );\n return concat(getIncomeTrend$);\n })\n );\n\n/**\n *\n * @param customer\n * @param incomeResponse\n * @returns actions for updating the trend\n */\nconst updateTrendActions = (\n customer: {id: ID; name: string},\n incomeResponse: IncomeTrendReportResponse\n): ActionType[] => {\n const updateActions: ActionType[] = [];\n /* eslint-disable @typescript-eslint/no-non-null-assertion */\n /* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */\n const trendPeriod = {\n startDate: zeniDate(incomeResponse.data?.report.data_available_start_date!),\n endDate: zeniDate(incomeResponse.data?.report.data_available_end_date!),\n };\n /* eslint-enable @typescript-eslint/no-non-null-assertion */\n /* eslint-enable @typescript-eslint/no-non-null-asserted-optional-chain */\n updateActions.push(\n updateCustomerIncomeTrend(\n customer,\n trendPeriod,\n incomeResponse.data?.report.income,\n incomeResponse.data?.report.insights\n )\n );\n updateActions.push(updateTrendSuccess(trendPeriod));\n\n return updateActions;\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trendPayload.js","sourceRoot":"","sources":["../../../../src/view/trend/trendPayload.ts"],"names":[],"mappings":"","sourcesContent":["import {COABalanceByAdditionalPeriodGroupedPayload} from '../../commonPayloadTypes/coaBalanceByAdditionalPeriodPayload';\nimport {COABalanceGroupedPayload} from '../../commonPayloadTypes/coaBalancePayload';\nimport {ReportPayload} from '../../commonPayloadTypes/viewAndReportPayload';\nimport {InsightPayload} from '../../entity/insights/insightPayload';\nimport {ZeniReportResponse} from '../../responsePayload';\n\ninterface IncomeTrendPayload extends ReportPayload {\n income: COABalanceGroupedPayload;\n insights: InsightPayload[];\n}\n\ninterface VendorSpendPayload {\n currency_code?: string;\n currency_symbol?: string;\n last_3_months_spend?: number;\n last_6_months_spend?: number;\n last_12_months_spend?: number;\n last_30_days_spend?: number;\n last_90_days_spend?: number;\n last_month_spend?: number;\n previous_year_spend?: number;\n year_to_date_spend?: number;\n}\nexport interface COABalanceGroupedPayloadWithSpendTrend\n extends COABalanceByAdditionalPeriodGroupedPayload, VendorSpendPayload {}\n\nexport type IncomeTrendReportResponse = ZeniReportResponse<IncomeTrendPayload>;\n\ninterface ExpenseTrendPayload extends ReportPayload {\n expense: COABalanceGroupedPayloadWithSpendTrend;\n insights: InsightPayload[];\n}\n\nexport type ExpenseTrendReportResponse =\n ZeniReportResponse<ExpenseTrendPayload>;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trendReducer.js","sourceRoot":"","sources":["../../../../src/view/trend/trendReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAI5D,OAAO,EAAC,YAAY,EAAC,MAAM,mCAAmC,CAAC;AAI/D,MAAM,CAAC,MAAM,iBAAiB,GAAe;IAC3C,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,SAAS;IAChB,aAAa;QACX,OAAO,IAAI,CAAC,UAAU,KAAK,WAAW,CAAC;IACzC,CAAC;IACD,gBAAgB,EAAE,SAAS;CAC5B,CAAC;AAEF,MAAM,KAAK,GAAG,WAAW,CAAC;IACxB,IAAI,EAAE,OAAO;IACb,YAAY,EAAE,iBAAiB;IAC/B,QAAQ,EAAE;QACR,gBAAgB,EAAE;YAChB,OAAO,CAAC,UAAc,EAAE,YAAoB;gBAC1C,OAAO,EAAC,OAAO,EAAE,EAAC,UAAU,EAAE,YAAY,EAAC,EAAC,CAAC;YAC/C,CAAC;YACD,OAAO,CACL,KAAK,EACL,MA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AAK,EACL,MAGE;gBAEF,KAAK,CAAC,UAAU,GAAG,OAAO,CAAC;gBAC3B,KAAK,CAAC,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC;YACrC,CAAC;SACF;QACD,kBAAkB,CAAC,KAAK,EAAE,MAAoC;YAC5D,KAAK,CAAC,gBAAgB,GAAG,MAAM,CAAC,OAAO,CAAC;YACxC,KAAK,CAAC,UAAU,GAAG,WAAW,CAAC;QACjC,CAAC;QACD,cAAc,CAAC,KAAK;YAClB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC;QAC1C,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EACX,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,GACf,GAAG,KAAK,CAAC,OAAO,CAAC;AAClB,eAAe,KAAK,CAAC,OAAO,CAAC","sourcesContent":["import {PayloadAction, createSlice} from '@reduxjs/toolkit';\n\nimport {ID} from '../../commonStateTypes/common';\nimport {TimeframeTick} from '../../commonStateTypes/timeframeTick';\nimport {toEntityType} from '../../entity/genericEntity/entity';\nimport {ZeniAPIStatus} from '../../responsePayload';\nimport {TrendState} from './trendState';\n\nexport const initialTrendState: TrendState = {\n fetchState: 'Not-Started',\n error: undefined,\n hasValidState() {\n return this.fetchState === 'Completed';\n },\n trendsTimePeriod: undefined,\n};\n\nconst trend = createSlice({\n name: 'trend',\n initialState: initialTrendState,\n reducers: {\n fetchIncomeTrend: {\n prepare(customerId: ID, customerName: string) {\n return {payload: {customerId, customerName}};\n },\n reducer(\n draft,\n action: PayloadAction<{\n customerId: ID;\n customerName: string;\n }>\n ) {\n draft.selectedEntity = Object.assign(\n {},\n {\n id: action.payload.customerId,\n name: action.payload.customerName,\n type: toEntityType('customer'),\n zeniId: action.payload.customerId,\n qboId: action.payload.customerId,\n }\n );\n draft.fetchState = 'In-Progress';\n draft.error = undefined;\n },\n },\n fetchExpenseTrend: {\n prepare(vendorId: ID, vendorName: string, vendorZeniId: string) {\n return {payload: {vendorId, vendorName, vendorZeniId}};\n },\n reducer(\n draft,\n action: PayloadAction<{\n vendorId: ID; //qbo id\n vendorName: string;\n vendorZeniId: ID; // vendor id in zeni db\n }>\n ) {\n draft.selectedEntity = Object.assign(\n {},\n {\n id: action.payload.vendorId,\n name: action.payload.vendorName,\n type: toEntityType('vendor'),\n zeniId: action.payload.vendorId,\n qboId: action.payload.vendorId,\n }\n );\n draft.fetchState = 'In-Progress';\n draft.error = undefined;\n },\n },\n updateTrendFailure: {\n prepare(id: ID, error: ZeniAPIStatus) {\n return {payload: {id, error}};\n },\n reducer(\n draft,\n action: PayloadAction<{\n error: ZeniAPIStatus;\n id: ID;\n }>\n ) {\n draft.fetchState = 'Error';\n draft.error = action.payload.error;\n },\n },\n updateTrendSuccess(draft, action: PayloadAction<TimeframeTick>) {\n draft.trendsTimePeriod = action.payload;\n draft.fetchState = 'Completed';\n },\n clearTrendData(draft) {\n Object.assign(draft, initialTrendState);\n },\n },\n});\n\nexport const {\n fetchExpenseTrend,\n fetchIncomeTrend,\n updateTrendSuccess,\n updateTrendFailure,\n clearTrendData,\n} = trend.actions;\nexport default trend.reducer;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trendSelector.js","sourceRoot":"","sources":["../../../../src/view/trend/trendSelector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAKhD,OAAO,EAAC,yBAAyB,EAAC,MAAM,8DAA8D,CAAC;AAEvG,OAAO,EAEL,4BAA4B,GAC7B,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAC,WAAW,EAAC,MAAM,yDAAyD,CAAC;AAGpF,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAC,SAAS,EAAC,MAAM,kDAAkD,CAAC;AAG3E,OAAO,EAAW,OAAO,EAAC,MAAM,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I,IAAI,IAAI,OAAO,IAAI,IAAI;QACzC,CAAC,CAAC;YACE,SAAS;YACT,OAAO;SACR;QACH,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC,CAAC;AAEF,MAAM,UAAU,gCAAgC,CAC9C,oBAA2B,EAC3B,UAAoB,OAAO,EAAE;IAE7B,MAAM,yBAAyB,GAAG,yBAAyB,CACzD,OAAO,EACP,oBAAoB,CACrB,CAAC;IAEF,MAAM,IAAI,GAAG,4BAA4B,CAAC;QACxC,KAAK,EAAE;YACL,GAAG,EAAE,CAAC;YACN,KAAK,EAAE,CAAC,yBAAyB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAU;YACvD,IAAI,EAAE,yBAAyB,CAAC,IAAI,EAAE;SACvC;QACD,GAAG,EAAE;YACH,GAAG,EAAE,OAAO,CAAC,IAAI,EAAS;YAC1B,KAAK,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAU;YACrC,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE;SACrB;KACF,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["import {createSelector} from '@reduxjs/toolkit';\n\nimport {TrendTimeseries} from '../../commonStateTypes/balanceTimeseries';\nimport {COABalance} from '../../commonStateTypes/coaBalance/coaBalance';\nimport {DataAvailable} from '../../commonStateTypes/dataAvailable';\nimport {getFiscalQuarterStartDate} from '../../commonStateTypes/fiscalYearHelpers/getFYQuarterAndYear';\nimport {Day, Month} from '../../commonStateTypes/timePeriod';\nimport {\n TimeframeTick,\n mapTimePeriodtoTimeframeTick,\n} from '../../commonStateTypes/timeframeTick';\nimport {SelectorView} from '../../commonStateTypes/viewAndReport/viewAndReport';\nimport {getCustomer} from '../../entity/customerIncome/customerIncomeTrendSelector';\nimport {CustomerIncomeState} from '../../entity/customerIncome/customerIncomeTrendState';\nimport {Entity} from '../../entity/genericEntity/entity';\nimport {getCurrentTenant} from '../../entity/tenant/tenantSelector';\nimport {getVendor} from '../../entity/vendorExpense/vendorExpenseSelector';\nimport {VendorExpenseState} from '../../entity/vendorExpense/vendorExpenseState';\nimport {RootState} from '../../reducer';\nimport {ZeniDate, dateNow} from '../../zeniDayJS';\nimport {TrendState} from './trendState';\n\nexport interface TrendView extends SelectorView {\n dataAvailable?: DataAvailable;\n entity?: Entity;\n trendReport?: TrendTimeseries;\n trendsTimePeriod?: TimeframeTick;\n}\n/**\n *\n * @param rootState,\n * @param customerState\n * @param vendorState\n * @param trendState\n * @param entity\n * @returns The trend for this entity\n */\nexport const getTrendForEntity: (state: RootState) => TrendView =\n createSelector(\n (state: RootState) => state,\n (state): TrendView => {\n const {\n customerIncomeState,\n vendorExpenseState,\n trendState,\n vendorsTabVendorViewState,\n } = state;\n let trend = undefined;\n const entity = trendState.selectedEntity;\n const filter = vendorsTabVendorViewState.vendorSpendTrendFilterTabValue;\n const currentTenant = getCurrentTenant(state);\n const firstMonthOfFY =\n currentTenant.company?.companyInfo.firstMonthOfFY ?? 1;\n if (entity != null) {\n if (entity.type === 'customer') {\n trend = getCustomer(\n customerIncomeState,\n entity.id,\n trendState.trendsTimePeriod\n );\n }\n if (entity.type === 'vendor') {\n trend = getVendor(\n vendorExpenseState,\n entity.id,\n trendState.trendsTimePeriod,\n firstMonthOfFY,\n filter\n );\n }\n }\n\n return {\n fetchState: trendState.fetchState,\n error: trendState.error,\n version: '1.0',\n trendReport: trend,\n trendsTimePeriod: trendState.trendsTimePeriod,\n entity: entity,\n dataAvailable: getDataAvailableDateRange(trend),\n };\n }\n );\n/**\n *\n * @param customerState\n * @param vendorState\n * @param trendState\n * @param entity\n * @returns The last quarter with transactions for this entity. If there arent any transactions\n * then this function will return the latest quarter\n */\n\nexport const getLatestTimeFrameWithTransactions = (\n customerState: CustomerIncomeState,\n vendorExpenseState: VendorExpenseState,\n trendState: TrendState,\n entity: Entity,\n timeFrame: 'month' | 'quarter'\n): TimeframeTick | undefined => {\n let timePeriod = undefined;\n\n let trend = undefined;\n if (entity.type === 'customer') {\n trend = getCustomer(customerState, entity.id, trendState.trendsTimePeriod);\n }\n if (entity.type === 'vendor') {\n trend = getVendor(\n vendorExpenseState,\n entity.id,\n trendState.trendsTimePeriod\n );\n }\n\n timePeriod = findLatestQuarterWithTransactions(\n trend?.monthly ?? [],\n trendState.trendsTimePeriod,\n timeFrame\n );\n return timePeriod;\n};\n\n/**\n * @param coaBalances\n * @returns Timeframe of a quarter with balances which are non zero\n */\n\nconst findLatestQuarterWithTransactions = (\n coaBalances: COABalance[],\n defaultQuarter: TimeframeTick | undefined,\n timeFrame: 'month' | 'quarter'\n): TimeframeTick | undefined => {\n const allBalancesInTimeframe = coaBalances;\n // find the latest month with a balance > 0\n if (allBalancesInTimeframe.length > 0) {\n const lastDateInBalance =\n allBalancesInTimeframe[allBalancesInTimeframe.length - 1].endDate;\n const latestNonZeroBalance = [...coaBalances] // reverse changes the array - not allowed on a frozen object\n .reverse()\n .find((balance) => balance.balance.amount !== 0);\n\n if (latestNonZeroBalance != null) {\n // If the end of the quarter is after the last date in this set of balances, then\n // assign the period to be the last date of the current balances\n // else end of the quarter date.\n const timePeriod: TimeframeTick = {\n startDate: latestNonZeroBalance.endDate.startOf(timeFrame),\n endDate: latestNonZeroBalance.endDate\n .endOf(timeFrame)\n .isAfter(lastDateInBalance)\n ? lastDateInBalance\n : latestNonZeroBalance.endDate.endOf(timeFrame),\n };\n return timePeriod;\n }\n }\n if (defaultQuarter != null) {\n return {\n startDate: defaultQuarter.endDate.startOf(timeFrame),\n endDate: defaultQuarter.endDate,\n };\n }\n return undefined;\n};\n\nconst getDataAvailableDateRange = (\n trend: TrendTimeseries | undefined\n): DataAvailable | undefined => {\n let startDate: ZeniDate | undefined = undefined;\n let endDate: ZeniDate | undefined = undefined;\n\n if (trend != null && trend.monthly != null && trend.monthly.length != 0) {\n const coaBalancesForTimeperiod = trend.monthly;\n\n coaBalancesForTimeperiod.forEach((balance) => {\n if (balance.balance.amount !== 0) {\n if (startDate == null) {\n startDate = balance.startDate;\n }\n endDate = balance.endDate;\n }\n });\n }\n return startDate != null && endDate != null\n ? {\n startDate,\n endDate,\n }\n : undefined;\n};\n\nexport function getCurrentFiscalQuarterDateRange(\n fiscalYearStartMonth: Month,\n forDate: ZeniDate = dateNow()\n): TimeframeTick {\n const currentFiscalQuarterStart = getFiscalQuarterStartDate(\n forDate,\n fiscalYearStartMonth\n );\n\n const date = mapTimePeriodtoTimeframeTick({\n start: {\n day: 1,\n month: (currentFiscalQuarterStart.month() + 1) as Month,\n year: currentFiscalQuarterStart.year(),\n },\n end: {\n day: forDate.date() as Day,\n month: (forDate.month() + 1) as Month,\n year: forDate.year(),\n },\n });\n\n return date;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trendState.js","sourceRoot":"","sources":["../../../../src/view/trend/trendState.ts"],"names":[],"mappings":"","sourcesContent":["import {FetchedState} from '../../commonStateTypes/common';\nimport {TimeframeTick} from '../../commonStateTypes/timeframeTick';\nimport {Entity} from '../../entity/genericEntity/entity';\n\nexport interface TrendState extends FetchedState {\n selectedEntity?: Entity;\n trendsTimePeriod?: TimeframeTick;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchTransactionsForEntityEpic.js","sourceRoot":"","sources":["../../../../src/view/trendWithTransactions/fetchTransactionsForEntityEpic.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,IAAI,EAAC,MAAM,MAAM,CAAC;AACtC,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAC,YAAY,EAAC,MAAM,sCAAsC,CAAC;AAElE,OAAO,EAAC,kCAAkC,EAAC,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,GACzB,MAAM,gCAAgC,CAAC;AAOxC,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAC5C,QAAuC;AACvC,6DAA6D;AAC7D,OAAmC,EACX,EAAE,CAC1B,QAAQ,CAAC,IAAI,CACX,MAAM,CAAC,0BAA0B,CAAC,KAAK,CAAC,EACxC,QAAQ,CAAC,CAAC,MAAM,EAAE,EAAE;IAClB,MAAM,EAAC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,oBAAoB,EAAC,GAC1D,MAAM,CAAC,OAAO,CAAC;IAEjB,MAAM,aAAa,GAAiB,EAAE,CAAC;IAEvC,aAAa,CAAC,IAAI,CAChB,kCAAkC,CAChC,MAAM,EACN,YAAY,CAAC,cAAc,CAAC,UAAU,CAAC,EACvC,KAAK,EACL,oBAAoB,CACrB,CACF,CAAC;IACF,aAAa,CAAC,IAAI,CAChB,wBAAwB,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,CAAC,CACzD,CAAC;IAEF,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;AAC7B,CAAC,CAAC,CACH,CAAC","sourcesContent":["import {ActionsObservable, StateObservable} from 'redux-observable';\nimport {Observable, from} from 'rxjs';\nimport {filter, mergeMap} from 'rxjs/operators';\n\nimport {toTimePeriod} from '../../commonStateTypes/timeframeTick';\nimport {RootState} from '../../reducer';\nimport {parallelFetchEntityTransactionList} from '../transactionList/transactionListReducer';\nimport {\n fetchTransactionsForEntity,\n updateSelectedTimeperiod,\n} from './trendWithTransactionsReducer';\n\nexport type ActionType =\n | ReturnType<typeof fetchTransactionsForEntity>\n | ReturnType<typeof parallelFetchEntityTransactionList>\n | ReturnType<typeof updateSelectedTimeperiod>;\n\nexport const fetchTransactionsForEntityEpic = (\n actions$: ActionsObservable<ActionType>,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _state$: StateObservable<RootState>\n): Observable<ActionType> =>\n actions$.pipe(\n filter(fetchTransactionsForEntity.match),\n mergeMap((action) => {\n const {entity, screen, selectedPeriod, fiscalYearStartMonth} =\n action.payload;\n\n const updateActions: ActionType[] = [];\n\n updateActions.push(\n parallelFetchEntityTransactionList(\n entity,\n toTimePeriod(selectedPeriod.timePeriod),\n false,\n fiscalYearStartMonth\n )\n );\n updateActions.push(\n updateSelectedTimeperiod(entity, screen, selectedPeriod)\n );\n\n return from(updateActions);\n })\n );\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchTrendForEntityEpic.js","sourceRoot":"","sources":["../../../../src/view/trendWithTransactions/fetchTrendForEntityEpic.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,IAAI,EAAE,EAAE,EAAC,MAAM,MAAM,CAAC;AAC1C,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAC,iBAAiB,EAAE,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gCAAgC,CAAC;AAOnE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACrC,QAAuC;AACvC,6DAA6D;AAC7D,OAAmC,EACX,EAAE,CAC1B,QAAQ,CAAC,IAAI,CACX,MAAM,CAAC,mBAAmB,CAAC,KAAK,CAAC,EACjC,QAAQ,CAAC,CAAC,MAAM,EAAE,EAAE;IAClB,MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,CAAC,OAAO,CAAC;IAEhC,IAAI,MAAM,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;QAC/B,OAAO,EAAE,CAAC,gBAAgB,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IACtD,CAAC;IACD,IAAI,MAAM,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,OAAO,EAAE,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IACtE,CAAC;IACD,OAAO,IAAI,CAAC,EAAkB,CAAC,CAAC;AAClC,CAAC,CAAC,CACH,CAAC","sourcesContent":["import {ActionsObservable, StateObservable} from 'redux-observable';\nimport {Observable, from, of} from 'rxjs';\nimport {filter, mergeMap} from 'rxjs/operators';\n\nimport {RootState} from '../../reducer';\nimport {fetchExpenseTrend, fetchIncomeTrend} from '../trend/trendReducer';\nimport {fetchTrendForEntity} from './trendWithTransactionsReducer';\n\nexport type ActionType =\n | ReturnType<typeof fetchTrendForEntity>\n | ReturnType<typeof fetchIncomeTrend>\n | ReturnType<typeof fetchExpenseTrend>;\n\nexport const fetchTrendForEntityEpic = (\n actions$: ActionsObservable<ActionType>,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _state$: StateObservable<RootState>\n): Observable<ActionType> =>\n actions$.pipe(\n filter(fetchTrendForEntity.match),\n mergeMap((action) => {\n const {entity} = action.payload;\n\n if (entity.type === 'customer') {\n return of(fetchIncomeTrend(entity.id, entity.name));\n }\n if (entity.type === 'vendor') {\n return of(fetchExpenseTrend(entity.id, entity.name, entity.zeniId));\n }\n return from([] as ActionType[]);\n })\n );\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reduceTrendWithTransactionsState.js","sourceRoot":"","sources":["../../../../src/view/trendWithTransactions/reduceTrendWithTransactionsState.ts"],"names":[],"mappings":"AAKA,MAAM,mBAAmB,GAAG,CAAC,cAAoC,EAAW,EAAE,CAC5E,cAAc,CAAC,MAAM,CACnB,CAAC,SAAkB,EAAE,YAAgC,EAAE,EAAE;IACvD,OAAO,SAAS,KAAK,IAAI,IAAI,YAAY,CAAC,UAAU,KAAK,WAAW,CAAC;AACvE,CAAC,EACD,KAAK,CACN,CAAC;AAEJ,MAAM,oBAAoB,GAAG,CAAC,cAAoC,EAAW,EAAE,CAC7E,cAAc,CAAC,MAAM,CACnB,CAAC,SAAkB,EAAE,YAAgC,EAAE,EAAE;IACvD,OAAO,SAAS,KAAK,IAAI,IAAI,YAAY,CAAC,UAAU,KAAK,aAAa,CAAC;AACzE,CAAC,EACD,KAAK,CACN,CAAC;AAEJ,MAAM,kBAAkB,GAAG,CAAC,cAAoC,E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;AACnE,CAAC,CAAC","sourcesContent":["import {FetchStateAndError} from '../../commonStateTypes/common';\nimport {ZeniAPIStatus} from '../../responsePayload';\nimport {TransactionListByEntityView} from '../transactionList/transactionListByEntitySelector';\nimport {TrendState} from '../trend/trendState';\n\nconst isAnyFetchCompleted = (fetchStateList: FetchStateAndError[]): boolean =>\n fetchStateList.reduce(\n (prevValue: boolean, currentValue: FetchStateAndError) => {\n return prevValue === true || currentValue.fetchState === 'Completed';\n },\n false\n );\n\nconst isAnyFetchInProgress = (fetchStateList: FetchStateAndError[]): boolean =>\n fetchStateList.reduce(\n (prevValue: boolean, currentValue: FetchStateAndError) => {\n return prevValue === true || currentValue.fetchState === 'In-Progress';\n },\n false\n );\n\nconst isAllFetchErredOut = (fetchStateList: FetchStateAndError[]): boolean =>\n fetchStateList.reduce(\n (prevValue: boolean, currentValue: FetchStateAndError) => {\n return prevValue === true && currentValue.fetchState === 'Error';\n },\n true\n );\n\nconst reduceFetchStateBase = (\n fetchStateList: FetchStateAndError[]\n): FetchStateAndError => {\n if (isAllFetchErredOut(fetchStateList)) {\n const error = fetchStateList.reduce(\n (\n prevValue: ZeniAPIStatus | undefined,\n currentValue: FetchStateAndError\n ) => {\n return prevValue ?? currentValue.error;\n },\n undefined\n );\n return {\n fetchState: 'Error',\n error,\n };\n } else if (isAnyFetchCompleted(fetchStateList)) {\n return {\n fetchState: 'Completed',\n error: undefined,\n };\n } else if (isAnyFetchInProgress(fetchStateList)) {\n return {\n fetchState: 'In-Progress',\n error: undefined,\n };\n } else {\n return {\n fetchState: 'Not-Started',\n error: undefined,\n };\n }\n};\n\n/**\n *\n * @param trendState\n * @param transactionView\n * @returns If any of them are completed, then the fetch state comes back as completed.\n */\nexport const reduceFetchState = (\n trendState: TrendState,\n transactionView: TransactionListByEntityView | undefined\n): FetchStateAndError => {\n const transactionFetchState: FetchStateAndError =\n transactionView == null\n ? {fetchState: 'Not-Started', error: undefined}\n : // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n transactionView!;\n return reduceFetchStateBase([trendState, transactionFetchState]);\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trendWithTransactionsReducer.js","sourceRoot":"","sources":["../../../../src/view/trendWithTransactions/trendWithTransactionsReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAI5D,OAAO,EAGL,YAAY,GACb,MAAM,8BAA8B,CAAC;AAEtC,MAAM,CAAC,MAAM,iCAAiC,GAA+B;IAC3E,kBAAkB,EAAE,EAAE;CACvB,CAAC;AAEF,MAAM,qBAAqB,GAAG,WAAW,CAAC;IACxC,IAAI,EAAE,uBAAuB;IAC7B,YAAY,EAAE,iCAAiC;IAC/C,QAAQ,EAAE;QACR,mBAAmB,EAAE;YACnB,OAAO,CAAC,MAAc;gBACpB,OAAO,EAAC,OAAO,EAAE,EAAC,MAAM,EAAC,EAAC,CAAC;YAC7B,CAAC;YACD,OAAO;YACL,6DAA6D;YAC7D,MAAM;YACN,6DAA6D;YAC7D,OAEE;gBAEF,qBAAqB;YACvB,CAAC;SACF;QACD,0BAA0B,EAAE;YAC1B,OAAO,CACL,MAAc,EACd,MAAwB,EACxB,cAGC,EACD,oBAAoB,GAAG,CAAC;gBAExB,OAAO;oBACL,OAAO,EAAE,EAAC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,oBAAoB,EAAC;iBAChE,CAAC;YACJ,CAAC;YACD,OAAO;YACL,6DAA6D;YAC7D,MAAM;YACN,6DAA6D;YAC7D,OAOE;gBAEF,qBAAqB;YACvB,CAAC;SACF;QACD,wBAAwB,EAAE;YACxB,OAAO,CACL,MAAc,EACd,MAAwB,EACxB,cAGC;gBAED,OAAO,EAAC,OAAO,EAAE,EAAC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAC,EAAC,CAAC;YACrD,CAAC;YACD,OAAO,CACL,KAAK,EACL,MAOE;gBAEF,MAAM,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;gBACvE,MAAM,OAAO,GAAG;oBACd,cAAc,EAAE,MAAM,CAAC,OAAO,CAAC,cAAc;iBAC9C,CAAC;gBACF,KAAK,CAAC,kBAAkB,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC;YAC1C,CAAC;SACF;QACD,0BAA0B,EAAE;YAC1B,OAAO,CAAC,cAAuB,IAAI;gBACjC,OAAO,EAAC,OAAO,EAAE,EAAC,WAAW,EAAC,EAAC,CAAC;YAClC,CAAC;YACD,OAAO,CAAC,KAAK,EAAE,MAA6C;gBAC1D,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;oBAChC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,iCAAiC,CAAC,CAAC;gBAC1D,CAAC;YACH,CAAC;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EACX,mBAAmB,EACnB,0BAA0B,EAC1B,0BAA0B,EAC1B,wBAAwB,GACzB,GAAG,qBAAqB,CAAC,OAAO,CAAC;AAClC,eAAe,qBAAqB,CAAC,OAAO,CAAC","sourcesContent":["import {PayloadAction, createSlice} from '@reduxjs/toolkit';\n\nimport {TimeframeTick} from '../../commonStateTypes/timeframeTick';\nimport {Entity} from '../../entity/genericEntity/entity';\nimport {\n DetailScreenType,\n TrendWithTransactionsState,\n getEntityKey,\n} from './trendWithTransactionsState';\n\nexport const initialTrendWithTransactionsState: TrendWithTransactionsState = {\n uiStateByEntityKey: {},\n};\n\nconst trendWithTransactions = createSlice({\n name: 'trendWithTransactions',\n initialState: initialTrendWithTransactionsState,\n reducers: {\n fetchTrendForEntity: {\n prepare(entity: Entity) {\n return {payload: {entity}};\n },\n reducer(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _draft,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _action: PayloadAction<{\n entity: Entity;\n }>\n ) {\n // nothing to do here\n },\n },\n fetchTransactionsForEntity: {\n prepare(\n entity: Entity,\n screen: DetailScreenType,\n selectedPeriod: {\n timeframe: 'month' | 'quarter' | 'year';\n timePeriod: TimeframeTick;\n },\n fiscalYearStartMonth = 1\n ) {\n return {\n payload: {entity, screen, selectedPeriod, fiscalYearStartMonth},\n };\n },\n reducer(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _draft,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _action: PayloadAction<{\n entity: Entity;\n screen: DetailScreenType;\n selectedPeriod: {\n timeframe: 'month' | 'quarter' | 'year';\n timePeriod: TimeframeTick;\n };\n }>\n ) {\n // nothing to do here\n },\n },\n updateSelectedTimeperiod: {\n prepare(\n entity: Entity,\n screen: DetailScreenType,\n selectedPeriod?: {\n timeframe: 'month' | 'quarter' | 'year';\n timePeriod: TimeframeTick;\n }\n ) {\n return {payload: {entity, screen, selectedPeriod}};\n },\n reducer(\n draft,\n action: PayloadAction<{\n entity: Entity;\n screen: DetailScreenType;\n selectedPeriod?: {\n timeframe: 'month' | 'quarter' | 'year';\n timePeriod: TimeframeTick;\n };\n }>\n ) {\n const key = getEntityKey(action.payload.entity, action.payload.screen);\n const uiState = {\n selectedPeriod: action.payload.selectedPeriod,\n };\n draft.uiStateByEntityKey[key] = uiState;\n },\n },\n clearTrendWithTransactions: {\n prepare(keepUiState: boolean = true) {\n return {payload: {keepUiState}};\n },\n reducer(draft, action: PayloadAction<{keepUiState: boolean}>) {\n if (!action.payload.keepUiState) {\n Object.assign(draft, initialTrendWithTransactionsState);\n }\n },\n },\n },\n});\n\nexport const {\n fetchTrendForEntity,\n fetchTransactionsForEntity,\n clearTrendWithTransactions,\n updateSelectedTimeperiod,\n} = trendWithTransactions.actions;\nexport default trendWithTransactions.reducer;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trendWithTransactionsSelector.js","sourceRoot":"","sources":["../../../../src/view/trendWithTransactions/trendWith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AC,UAAU,EACzB,MAAM,CACP;gBACH,CAAC,CAAC,SAAS,CAAC;QAChB,+CAA+C;QAC/C,qBAAqB,GAAG,kCAAkC,CACxD,aAAa,EACb,WAAW,EACX,UAAU,EACV,MAAM,EACN,SAAS,CACV,CAAC;IACJ,CAAC;IAED,MAAM,UAAU,GAAG,gBAAgB,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;IACjE,OAAO;QACL,WAAW,EAAE,KAAK;QAClB,eAAe,EAAE,eAAe;QAChC,qBAAqB,EAAE,qBAAqB;QAC5C,cAAc,EAAE,cAAc;QAC9B,UAAU,EAAE,UAAU,CAAC,UAAU;QACjC,KAAK,EAAE,UAAU,CAAC,KAAK;QACvB,gBAAgB,EAAE,UAAU,CAAC,gBAAgB;QAC7C,OAAO,EAAE,KAAK;KACf,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,2CAA2C,GAAG,CACzD,aAAkC,EAClC,kBAAsC,EACtC,UAAsB,EACtB,MAAc,EACd,SAA8B,EACH,EAAE;IAC7B,OAAO,MAAM,IAAI,IAAI;QACnB,CAAC,CAAC,kCAAkC,CAChC,aAAa,EACb,kBAAkB,EAClB,UAAU,EACV,MAAM,EACN,SAAS,CACV;QACH,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAC5C,0BAAsD,EACtD,MAAc,EACd,MAAwB,EACkB,EAAE;IAC5C,MAAM,GAAG,GAAG,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,OAAO,SAAS,CACd,0BAA0B,CAAC,kBAAkB,EAC7C,GAAG,EACH,SAAS,CACV,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import recordGet from 'lodash/get';\n\nimport {TimeframeTick} from '../../commonStateTypes/timeframeTick';\nimport {SelectorView} from '../../commonStateTypes/viewAndReport/viewAndReport';\nimport {CustomerIncomeState} from '../../entity/customerIncome/customerIncomeTrendState';\nimport {Entity} from '../../entity/genericEntity/entity';\nimport {VendorExpenseState} from '../../entity/vendorExpense/vendorExpenseState';\nimport {RootState} from '../../reducer';\nimport {\n TransactionListByEntityView,\n getTransactionListByEntity,\n} from '../transactionList/transactionListByEntitySelector';\nimport {\n TrendView,\n getLatestTimeFrameWithTransactions,\n getTrendForEntity,\n} from '../trend/trendSelector';\nimport {TrendState} from '../trend/trendState';\nimport {reduceFetchState} from './reduceTrendWithTransactionsState';\nimport {\n DetailScreenType,\n TrendWithTransactionsState,\n TrendWithTransactionsUIState,\n getEntityKey,\n} from './trendWithTransactionsState';\n\nexport interface TrendWithTransactionsView extends SelectorView {\n selectedPeriod?: {\n timeframe: 'month' | 'quarter' | 'year';\n timePeriod: TimeframeTick;\n };\n transactionTimePeriod?: TimeframeTick;\n transactionView?: TransactionListByEntityView;\n trendReport?: TrendView;\n trendsTimePeriod?: TimeframeTick;\n}\n\nexport const getTrendWithTransactions = (\n state: RootState,\n entity: Entity,\n screen: DetailScreenType\n): TrendWithTransactionsView => {\n const trendWithTransactionsState = state.trendWithTransactionsState;\n const transactionState = state.transactionState;\n const transactionListState = state.transactionListState;\n const customerState = state.customerIncomeState;\n const vendorState = state.vendorExpenseState;\n const trendState = state.trendState;\n let trend = undefined;\n let transactionView = undefined;\n let transactionTimePeriod = undefined;\n let selectedPeriod = undefined;\n if (entity != null && screen != null) {\n trend = getTrendForEntity(state);\n\n const key = getEntityKey(entity, screen);\n // Fetch Transactions based on the selected time period\n selectedPeriod =\n trendWithTransactionsState.uiStateByEntityKey[key]?.selectedPeriod ??\n undefined;\n transactionView =\n selectedPeriod != null\n ? getTransactionListByEntity(\n transactionState,\n transactionListState,\n selectedPeriod.timePeriod,\n entity\n )\n : undefined;\n // Find out the default transaction time period\n transactionTimePeriod = getLatestTimeFrameWithTransactions(\n customerState,\n vendorState,\n trendState,\n entity,\n 'quarter'\n );\n }\n\n const fetchState = reduceFetchState(trendState, transactionView);\n return {\n trendReport: trend,\n transactionView: transactionView,\n transactionTimePeriod: transactionTimePeriod,\n selectedPeriod: selectedPeriod,\n fetchState: fetchState.fetchState,\n error: fetchState.error,\n trendsTimePeriod: trendState.trendsTimePeriod,\n version: '1.0',\n };\n};\n\nexport const getLatestTimeFrameWithTransactionsForEntity = (\n customerState: CustomerIncomeState,\n vendorExpenseState: VendorExpenseState,\n trendState: TrendState,\n entity: Entity,\n timeframe: 'month' | 'quarter'\n): TimeframeTick | undefined => {\n return entity != null\n ? getLatestTimeFrameWithTransactions(\n customerState,\n vendorExpenseState,\n trendState,\n entity,\n timeframe\n )\n : undefined;\n};\n\nexport const getEntityDetailUIStateByEntity = (\n trendWithTransactionsState: TrendWithTransactionsState,\n entity: Entity,\n screen: DetailScreenType\n): TrendWithTransactionsUIState | undefined => {\n const key = getEntityKey(entity, screen);\n return recordGet(\n trendWithTransactionsState.uiStateByEntityKey,\n key,\n undefined\n );\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trendWithTransactionsState.js","sourceRoot":"","sources":["../../../../src/view/trendWithTransactions/trendWithTransactionsState.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,MAAc,EAAE,MAAwB,EAAE,EAAE,CACvE,GAAG,MAAM,CAAC,EAAE,IAAI,MAAM,CAAC,IAAI,IAAI,MAAM,EAAE,CAAC","sourcesContent":["import {TimeframeTick} from '../../commonStateTypes/timeframeTick';\nimport {Entity} from '../../entity/genericEntity/entity';\n\nexport interface TrendWithTransactionsUIState {\n selectedPeriod?: {\n timeframe: 'month' | 'quarter' | 'year';\n timePeriod: TimeframeTick;\n };\n}\nexport type DetailScreenType = 'TransactionDetail' | 'EntityDetail';\n\nexport const getEntityKey = (entity: Entity, screen: DetailScreenType) =>\n `${entity.id}_${entity.type}_${screen}`;\ntype EntityKey = ReturnType<typeof getEntityKey>;\n\nexport interface TrendWithTransactionsState {\n uiStateByEntityKey: Record<EntityKey, TrendWithTransactionsUIState>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resendOtpEpic.js","sourceRoot":"","sources":["../../../../src/view/twoFactorAuthentication/resendOtpEpic.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,MAAM,EAAE,IAAI,EAAC,MAAM,MAAM,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAI5D,OAAO,EAAC,mBAAmB,EAAE,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AAE7E,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,0BAA0B,EAC1B,+BAA+B,EAC/B,+BAA+B,GAChC,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,2BAA2B,EAC3B,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,6EAA6E,CAAC;AACrF,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,yEAAyE,CAAC;AACjF,OAAO,EACL,6BAA6B,EAC7B,kCAAkC,EAClC,kCAAkC,GACnC,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EACL,SAAS,EACT,cAAc,EACd,cAAc,GACf,MAAM,kCAAkC,CAAC;AAyB1C,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,QAAuC,EACvC,MAAkC,EAClC,OAAgB,EACQ,EAAE,CAC1B,QAAQ,CAAC,IAAI,CACX,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,EACvB,QAAQ,CAAC,CAAC,MAAM,EAAE,EAAE;IAClB,MAAM,gBAAgB,GAAiB,EAAE,CAAC;IAC1C,MAAM,EAAC,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAC,GAAG,MAAM,CAAC,OAAO,CAAC;IAC7D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BAAkB,EAClB,4BAA4B,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CACrD,CAAC;QACF,MAAM,aAAa,GAAiB;YAClC,cAAc,CAAC;gBACb,KAAK,EAAE,aAAa;gBACpB,WAAW;gBACX,QAAQ;aACT,CAAC;SACH,CAAC;QACF,QAAQ,WAAW,EAAE,CAAC;YACpB,KAAK,sBAAsB;gBACzB,aAAa,CAAC,IAAI,CAChB,kCAAkC,CAAC,aAAa,CAAC,CAClD,CAAC;gBACF,MAAM;YACR,KAAK,eAAe;gBAClB,aAAa,CAAC,IAAI,CAAC,wBAAwB,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC5D,MAAM;YACR,KAAK,oBAAoB;gBACvB,aAAa,CAAC,IAAI,CAChB,+BAA+B,CAAC,aAAa,CAAC,CAC/C,CAAC;gBACF,MAAM;YACR,KAAK,WAAW;gBACd,aAAa,CAAC,IAAI,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC3D,MAAM;YACR,KAAK,oBAAoB;gBACvB,aAAa,CAAC,IAAI,CAChB,gCAAgC,CAAC,aAAa,CAAC,CAChD,CAAC;gBACF,MAAM;YACR,KAAK,kBAAkB;gBACrB,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;oBACrB,aAAa,CAAC,IAAI,CAChB,wBAAwB,CAAC;wBACvB,KAAK,EAAE,aAAa;wBACpB,YAAY,EAAE,QAAQ;qBACvB,CAAC,CACH,CAAC;gBACJ,CAAC;gBACD,MAAM;QACV,CAAC;QACD,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC7B,CAAC,CAAC,CACH,CAAC;IACJ,OAAO,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE,UAAU,CAAC,CAAC;AACpD,CAAC,CAAC,CACH,CAAC","sourcesContent":["import {ActionsObservable, StateObservable} from 'redux-observable';\nimport {Observable, concat, from} from 'rxjs';\nimport {catchError, filter, mergeMap} from 'rxjs/operators';\n\nimport {ID} from '../../commonStateTypes/common';\nimport {RootState} from '../../reducer';\nimport {createZeniAPIStatus, isSuccessResponse} from '../../responsePayload';\nimport {ZeniAPI} from '../../zeniAPI';\nimport {\n resendOtpVendorView,\n sendOtpVendorViewFailure,\n sendOtpVendorViewSuccess,\n} from '../commonVendorView/vendorView/vendorViewReducer';\nimport {\n resendOnboardingOfficerOtp,\n sendOnboardingOfficerOtpFailure,\n sendOnboardingOfficerOtpSuccess,\n} from '../onboardingView/customerView/onboardingCustomerViewReducer';\nimport {\n resendOtpMyProfile,\n sendOtpMyProfileFailure,\n sendOtpMyProfileSuccess,\n} from '../settingsView/settingsViewReducer';\nimport {\n resendOtpCardUserOnboarding,\n sendOtpCardUserOnboardingFailure,\n sendOtpCardUserOnboardingSuccess,\n} from '../spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer';\nimport {\n resendOtpCardHolder,\n sendOtpCardHolderFailure,\n sendOtpCardHolderSuccess,\n} from '../spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer';\nimport {\n resendOtpSpendManagementSetUp,\n sendOtpFailureSpendManagementSetUp,\n sendOtpSuccessSpendManagementSetUp,\n} from '../spendManagement/commonSetup/setupViewReducer';\nimport {SendOtpResponse} from './twoFactorAuthenticationPayload';\nimport {\n resendOtp,\n sendOtpFailure,\n sendOtpSuccess,\n} from './twoFactorAuthenticationReducer';\n\nexport type ActionType =\n | ReturnType<typeof resendOtp>\n | ReturnType<typeof sendOtpSuccess>\n | ReturnType<typeof sendOtpFailure>\n | ReturnType<typeof resendOtpSpendManagementSetUp>\n | ReturnType<typeof sendOtpSuccessSpendManagementSetUp>\n | ReturnType<typeof sendOtpFailureSpendManagementSetUp>\n | ReturnType<typeof resendOtpVendorView>\n | ReturnType<typeof sendOtpVendorViewSuccess>\n | ReturnType<typeof sendOtpVendorViewFailure>\n | ReturnType<typeof resendOnboardingOfficerOtp>\n | ReturnType<typeof sendOnboardingOfficerOtpSuccess>\n | ReturnType<typeof sendOnboardingOfficerOtpFailure>\n | ReturnType<typeof resendOtpCardUserOnboarding>\n | ReturnType<typeof sendOtpCardUserOnboardingSuccess>\n | ReturnType<typeof sendOtpCardUserOnboardingFailure>\n | ReturnType<typeof resendOtpMyProfile>\n | ReturnType<typeof resendOtpCardHolder>\n | ReturnType<typeof sendOtpCardHolderSuccess>\n | ReturnType<typeof sendOtpCardHolderFailure>\n | ReturnType<typeof sendOtpMyProfileFailure>\n | ReturnType<typeof sendOtpMyProfileSuccess>;\n\nexport const resendOtpEpic = (\n actions$: ActionsObservable<ActionType>,\n state$: StateObservable<RootState>,\n zeniAPI: ZeniAPI\n): Observable<ActionType> =>\n actions$.pipe(\n filter(resendOtp.match),\n mergeMap((action) => {\n const resendOtpActions: ActionType[] = [];\n const {otpChallenge, twoFASource, entityId} = action.payload;\n const chargeCard =\n twoFASource === 'ChargeCardHolder' && entityId != null\n ? state$.value.chargeCardState.chargeCardByID[entityId]\n : null;\n const payload: {\n otp_challenge: string;\n is_for_charge_cards?: boolean;\n provider_card_id?: ID;\n } = {\n otp_challenge: otpChallenge,\n ...(chargeCard != null\n ? {\n provider_card_id: chargeCard.cardProviderID,\n is_for_charge_cards: true,\n }\n : {}),\n };\n switch (twoFASource) {\n case 'SpendManagementSetup':\n resendOtpActions.push(resendOtpSpendManagementSetUp());\n break;\n case 'BillPayVendor':\n resendOtpActions.push(resendOtpVendorView());\n break;\n case 'CustomerOnboarding':\n resendOtpActions.push(resendOnboardingOfficerOtp());\n break;\n case 'MyProfile':\n resendOtpActions.push(resendOtpMyProfile());\n break;\n case 'CardUserOnboarding':\n resendOtpActions.push(resendOtpCardUserOnboarding());\n break;\n case 'ChargeCardHolder':\n if (entityId != null) {\n resendOtpActions.push(\n resendOtpCardHolder({chargeCardId: entityId})\n );\n }\n break;\n }\n const resendOtp$ = zeniAPI\n .putAndGetJSON<SendOtpResponse>(\n `${zeniAPI.apiEndPoints.authMicroServiceBaseUrl}/1.0/otp/resend`,\n payload\n )\n .pipe(\n mergeMap((response) => {\n if (isSuccessResponse(response) && response.data != null) {\n const updateActions: ActionType[] = [\n sendOtpSuccess({\n otpChallenge: response.data.otp_challenge,\n twoFASource,\n entityId,\n }),\n ];\n switch (twoFASource) {\n case 'SpendManagementSetup':\n updateActions.push(\n sendOtpSuccessSpendManagementSetUp({\n otpChallenge: response.data.otp_challenge,\n })\n );\n break;\n case 'BillPayVendor':\n updateActions.push(\n sendOtpVendorViewSuccess({\n otpChallenge: response.data.otp_challenge,\n })\n );\n break;\n case 'CustomerOnboarding':\n updateActions.push(\n sendOnboardingOfficerOtpSuccess({\n otpChallenge: response.data.otp_challenge,\n })\n );\n break;\n case 'MyProfile':\n updateActions.push(\n sendOtpMyProfileSuccess({\n otpChallenge: response.data.otp_challenge,\n })\n );\n break;\n case 'CardUserOnboarding':\n updateActions.push(\n sendOtpCardUserOnboardingSuccess({\n otpChallenge: response.data.otp_challenge,\n })\n );\n break;\n case 'ChargeCardHolder':\n if (entityId != null) {\n updateActions.push(\n sendOtpCardHolderSuccess({\n otpChallenge: response.data.otp_challenge,\n chargeCardId: entityId,\n })\n );\n }\n break;\n }\n return from(updateActions);\n } else {\n const updateActions: ActionType[] = [\n sendOtpFailure({\n error: response.status,\n twoFASource,\n entityId,\n }),\n ];\n switch (twoFASource) {\n case 'SpendManagementSetup':\n updateActions.push(\n sendOtpFailureSpendManagementSetUp(response.status)\n );\n break;\n case 'BillPayVendor':\n updateActions.push(sendOtpVendorViewFailure(response.status));\n break;\n case 'CustomerOnboarding':\n updateActions.push(\n sendOnboardingOfficerOtpFailure(response.status)\n );\n break;\n case 'MyProfile':\n updateActions.push(sendOtpMyProfileFailure(response.status));\n break;\n case 'CardUserOnboarding':\n updateActions.push(\n sendOtpCardUserOnboardingFailure(response.status)\n );\n break;\n case 'ChargeCardHolder':\n if (entityId != null) {\n updateActions.push(\n sendOtpCardHolderFailure({\n error: response.status,\n chargeCardId: entityId,\n })\n );\n }\n break;\n }\n return from(updateActions);\n }\n }),\n catchError((error) => {\n const zeniAPIStatus = createZeniAPIStatus(\n 'Unexpected Error',\n 'Resend otp api errored out' + JSON.stringify(error)\n );\n const updateActions: ActionType[] = [\n sendOtpFailure({\n error: zeniAPIStatus,\n twoFASource,\n entityId,\n }),\n ];\n switch (twoFASource) {\n case 'SpendManagementSetup':\n updateActions.push(\n sendOtpFailureSpendManagementSetUp(zeniAPIStatus)\n );\n break;\n case 'BillPayVendor':\n updateActions.push(sendOtpVendorViewFailure(zeniAPIStatus));\n break;\n case 'CustomerOnboarding':\n updateActions.push(\n sendOnboardingOfficerOtpFailure(zeniAPIStatus)\n );\n break;\n case 'MyProfile':\n updateActions.push(sendOtpMyProfileFailure(zeniAPIStatus));\n break;\n case 'CardUserOnboarding':\n updateActions.push(\n sendOtpCardUserOnboardingFailure(zeniAPIStatus)\n );\n break;\n case 'ChargeCardHolder':\n if (entityId != null) {\n updateActions.push(\n sendOtpCardHolderFailure({\n error: zeniAPIStatus,\n chargeCardId: entityId,\n })\n );\n }\n break;\n }\n return from(updateActions);\n })\n );\n return concat(from(resendOtpActions), resendOtp$);\n })\n );\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendOtpEpic.js","sourceRoot":"","sources":["../../../../src/view/twoFactorAuthentication/sendOtpEpic.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,MAAM,EAAE,IAAI,EAAC,MAAM,MAAM,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAG5D,OAAO,EAAC,YAAY,EAAC,MAAM,uCAAuC,CAAC;AAEnE,OAAO,EAAC,mBAAmB,EAAE,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AAE7E,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,wBAAwB,EACxB,+BAA+B,EAC/B,+BAA+B,GAChC,MAAM,8DAA8D,CAAC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C;QACF,QAAQ,WAAW,EAAE,CAAC;YACpB,KAAK,sBAAsB;gBACzB,aAAa,CAAC,IAAI,CAChB,kCAAkC,CAAC,aAAa,CAAC,CAClD,CAAC;gBACF,MAAM;YACR,KAAK,eAAe;gBAClB,aAAa,CAAC,IAAI,CAAC,wBAAwB,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC5D,MAAM;YACR,KAAK,oBAAoB;gBACvB,aAAa,CAAC,IAAI,CAChB,+BAA+B,CAAC,aAAa,CAAC,CAC/C,CAAC;gBACF,MAAM;YACR,KAAK,WAAW;gBACd,aAAa,CAAC,IAAI,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC,CAAC;gBAC3D,MAAM;YACR,KAAK,oBAAoB;gBACvB,aAAa,CAAC,IAAI,CAChB,gCAAgC,CAAC,aAAa,CAAC,CAChD,CAAC;gBACF,MAAM;YACR,KAAK,kBAAkB;gBACrB,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;oBACrB,aAAa,CAAC,IAAI,CAChB,wBAAwB,CAAC;wBACvB,KAAK,EAAE,aAAa;wBACpB,YAAY,EAAE,QAAQ;qBACvB,CAAC,CACH,CAAC;gBACJ,CAAC;gBACD,MAAM;QACV,CAAC;QACD,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC7B,CAAC,CAAC,CACH,CAAC;IACJ,OAAO,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC,CACH,CAAC","sourcesContent":["import {ActionsObservable, StateObservable} from 'redux-observable';\nimport {Observable, concat, from} from 'rxjs';\nimport {catchError, filter, mergeMap} from 'rxjs/operators';\n\nimport {ID} from '../../commonStateTypes/common';\nimport {openSnackbar} from '../../entity/snackbar/snackbarReducer';\nimport {RootState} from '../../reducer';\nimport {createZeniAPIStatus, isSuccessResponse} from '../../responsePayload';\nimport {ZeniAPI} from '../../zeniAPI';\nimport {\n sendOtpVendorView,\n sendOtpVendorViewFailure,\n sendOtpVendorViewSuccess,\n} from '../commonVendorView/vendorView/vendorViewReducer';\nimport {\n sendOnboardingOfficerOtp,\n sendOnboardingOfficerOtpFailure,\n sendOnboardingOfficerOtpSuccess,\n} from '../onboardingView/customerView/onboardingCustomerViewReducer';\nimport {\n sendOtpMyProfile,\n sendOtpMyProfileFailure,\n sendOtpMyProfileSuccess,\n} from '../settingsView/settingsViewReducer';\nimport {\n sendOtpCardUserOnboarding,\n sendOtpCardUserOnboardingFailure,\n sendOtpCardUserOnboardingSuccess,\n} from '../spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer';\nimport {\n sendOtpCardHolder,\n sendOtpCardHolderFailure,\n sendOtpCardHolderSuccess,\n} from '../spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer';\nimport {\n sendOtpFailureSpendManagementSetUp,\n sendOtpSpendManagementSetUp,\n sendOtpSuccessSpendManagementSetUp,\n} from '../spendManagement/commonSetup/setupViewReducer';\nimport {SendOtpResponse} from './twoFactorAuthenticationPayload';\nimport {\n sendOtp,\n sendOtpFailure,\n sendOtpSuccess,\n} from './twoFactorAuthenticationReducer';\n\nexport type ActionType =\n | ReturnType<typeof sendOtp>\n | ReturnType<typeof sendOtpSuccess>\n | ReturnType<typeof sendOtpFailure>\n | ReturnType<typeof sendOtpSpendManagementSetUp>\n | ReturnType<typeof sendOtpSuccessSpendManagementSetUp>\n | ReturnType<typeof sendOtpFailureSpendManagementSetUp>\n | ReturnType<typeof sendOtpVendorView>\n | ReturnType<typeof sendOtpVendorViewSuccess>\n | ReturnType<typeof sendOtpVendorViewFailure>\n | ReturnType<typeof sendOnboardingOfficerOtp>\n | ReturnType<typeof sendOnboardingOfficerOtpSuccess>\n | ReturnType<typeof sendOnboardingOfficerOtpFailure>\n | ReturnType<typeof sendOtpCardUserOnboarding>\n | ReturnType<typeof sendOtpCardUserOnboardingSuccess>\n | ReturnType<typeof sendOtpCardUserOnboardingFailure>\n | ReturnType<typeof sendOtpMyProfile>\n | ReturnType<typeof sendOtpCardHolder>\n | ReturnType<typeof sendOtpCardHolderSuccess>\n | ReturnType<typeof sendOtpCardHolderFailure>\n | ReturnType<typeof sendOtpMyProfileFailure>\n | ReturnType<typeof openSnackbar>\n | ReturnType<typeof sendOtpMyProfileSuccess>;\n\nexport const sendOtpEpic = (\n actions$: ActionsObservable<ActionType>,\n state$: StateObservable<RootState>,\n zeniAPI: ZeniAPI\n): Observable<ActionType> =>\n actions$.pipe(\n filter(sendOtp.match),\n mergeMap((action) => {\n const sendOtpActions: ActionType[] = [];\n const {phoneNumber, twoFASource, entityId} = action.payload;\n const queryPayload: {\n channel_info: {phone_number: string};\n channel_type: string;\n is_for_charge_cards?: boolean;\n provider_card_id?: ID;\n } = {\n channel_type: 'phone',\n channel_info: {\n phone_number: phoneNumber,\n },\n };\n if (twoFASource === 'ChargeCardHolder' && entityId != null) {\n const chargeCardProviderId =\n state$.value.chargeCardState.chargeCardByID[entityId].cardProviderID;\n queryPayload.provider_card_id = chargeCardProviderId;\n queryPayload.is_for_charge_cards = true;\n }\n switch (twoFASource) {\n case 'SpendManagementSetup':\n sendOtpActions.push(sendOtpSpendManagementSetUp());\n break;\n case 'BillPayVendor':\n sendOtpActions.push(sendOtpVendorView({phoneNumber}));\n break;\n case 'CustomerOnboarding':\n sendOtpActions.push(sendOnboardingOfficerOtp());\n break;\n case 'MyProfile':\n sendOtpActions.push(sendOtpMyProfile());\n break;\n case 'CardUserOnboarding':\n sendOtpActions.push(sendOtpCardUserOnboarding());\n break;\n case 'ChargeCardHolder':\n if (entityId != null) {\n sendOtpActions.push(\n sendOtpCardHolder({phone: phoneNumber, chargeCardId: entityId})\n );\n }\n break;\n }\n const setOtp$ = zeniAPI\n .postAndGetJSON<SendOtpResponse>(\n `${zeniAPI.apiEndPoints.authMicroServiceBaseUrl}/1.0/otp/send`,\n queryPayload\n )\n .pipe(\n mergeMap((response) => {\n if (isSuccessResponse(response) && response.data != null) {\n const updateActions: ActionType[] = [\n sendOtpSuccess({\n otpChallenge: response.data.otp_challenge,\n twoFASource,\n entityId,\n }),\n ];\n switch (twoFASource) {\n case 'SpendManagementSetup':\n updateActions.push(\n sendOtpSuccessSpendManagementSetUp({\n otpChallenge: response.data.otp_challenge,\n })\n );\n break;\n case 'BillPayVendor':\n updateActions.push(\n sendOtpVendorViewSuccess({\n otpChallenge: response.data.otp_challenge,\n })\n );\n break;\n case 'CustomerOnboarding':\n updateActions.push(\n sendOnboardingOfficerOtpSuccess({\n otpChallenge: response.data.otp_challenge,\n })\n );\n break;\n case 'MyProfile':\n updateActions.push(\n sendOtpMyProfileSuccess({\n otpChallenge: response.data.otp_challenge,\n })\n );\n break;\n case 'CardUserOnboarding':\n updateActions.push(\n sendOtpCardUserOnboardingSuccess({\n otpChallenge: response.data.otp_challenge,\n })\n );\n break;\n case 'ChargeCardHolder':\n if (entityId != null) {\n updateActions.push(\n sendOtpCardHolderSuccess({\n otpChallenge: response.data.otp_challenge,\n chargeCardId: entityId,\n })\n );\n }\n break;\n }\n return from(updateActions);\n } else {\n const updateActions: ActionType[] = [\n sendOtpFailure({error: response.status, twoFASource, entityId}),\n ];\n switch (twoFASource) {\n case 'SpendManagementSetup':\n updateActions.push(\n sendOtpFailureSpendManagementSetUp(response.status)\n );\n break;\n case 'BillPayVendor':\n updateActions.push(sendOtpVendorViewFailure(response.status));\n break;\n case 'CustomerOnboarding':\n updateActions.push(\n sendOnboardingOfficerOtpFailure(response.status)\n );\n // this is a temporary fix to show a snackbar when the phone number is invalid\n if (\n response.status.code === 500 &&\n response.status.message === 'Invalid phone number'\n ) {\n updateActions.push(\n openSnackbar({\n messageSection: 'invalid_phone_number',\n messageText: 'failed',\n type: 'error',\n })\n );\n }\n break;\n case 'MyProfile':\n updateActions.push(sendOtpMyProfileFailure(response.status));\n break;\n case 'CardUserOnboarding':\n updateActions.push(\n sendOtpCardUserOnboardingFailure(response.status)\n );\n break;\n case 'ChargeCardHolder':\n if (entityId != null) {\n updateActions.push(\n sendOtpCardHolderFailure({\n error: response.status,\n chargeCardId: entityId,\n })\n );\n }\n break;\n }\n return from(updateActions);\n }\n }),\n catchError((error) => {\n const zeniAPIStatus = createZeniAPIStatus(\n 'Unexpected Error',\n 'Send otp api errored out' + JSON.stringify(error)\n );\n const updateActions: ActionType[] = [\n sendOtpFailure({error: zeniAPIStatus, twoFASource, entityId}),\n ];\n switch (twoFASource) {\n case 'SpendManagementSetup':\n updateActions.push(\n sendOtpFailureSpendManagementSetUp(zeniAPIStatus)\n );\n break;\n case 'BillPayVendor':\n updateActions.push(sendOtpVendorViewFailure(zeniAPIStatus));\n break;\n case 'CustomerOnboarding':\n updateActions.push(\n sendOnboardingOfficerOtpFailure(zeniAPIStatus)\n );\n break;\n case 'MyProfile':\n updateActions.push(sendOtpMyProfileFailure(zeniAPIStatus));\n break;\n case 'CardUserOnboarding':\n updateActions.push(\n sendOtpCardUserOnboardingFailure(zeniAPIStatus)\n );\n break;\n case 'ChargeCardHolder':\n if (entityId != null) {\n updateActions.push(\n sendOtpCardHolderFailure({\n error: zeniAPIStatus,\n chargeCardId: entityId,\n })\n );\n }\n break;\n }\n return from(updateActions);\n })\n );\n return concat(from(sendOtpActions), setOtp$);\n })\n );\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"twoFactorAuthentication.js","sourceRoot":"","sources":["../../../../src/view/twoFactorAuthentication/twoFactorAuthentication.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,sCAAsC,CAAC;AAcnE,MAAM,CAAC,MAAM,mCAAmC,GAA4B;IAC1E,aAAa,EAAE;QACb,UAAU,EAAE,aAAa;QACzB,KAAK,EAAE,SAAS;KACjB;IACD,qBAAqB,EAAE;QACrB,UAAU,EAAE,aAAa;QACzB,KAAK,EAAE,SAAS;KACjB;CACF,CAAC;AAOF,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,eAAe;IACf,sBAAsB;IACtB,WAAW;IACX,oBAAoB;CACZ,CAAC;AAEX,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAS,EAAE,EAAE,CAC/C,aAAa,CAAC,CAAC,EAAE,oBAAoB,CAAC,CAAC;AAczC,MAAM,CAAC,MAAM,0CAA0C,GACrD;IACE,aAAa,EAAE;QACb,UAAU,EAAE,aAAa;QACzB,KAAK,EAAE,SAAS;KACjB;IACD,qBAAqB,EAAE;QACrB,UAAU,EAAE,aAAa;QACzB,KAAK,EAAE,SAAS;KACjB;IACD,KAAK,EAAE,SAAS;IAChB,YAAY,EAAE,SAAS;CACxB,CAAC;AAEJ,MAAM,CAAC,MAAM,8BAA8B,GAA4B;IACrE,GAAG,0CAA0C;IAC7C,KAAK,EAAE,SAAS;CACjB,CAAC","sourcesContent":["import {FetchStateAndError, ID} from '../../commonStateTypes/common';\nimport {stringToUnion} from '../../commonStateTypes/stringToUnion';\nimport {ZeniDate} from '../../zeniDayJS';\n\nexport interface TwoFactorAuthentication {\n otpVerificationStatus: FetchStateAndError;\n sendOtpStatus: FetchStateAndError;\n otpChallenge?: string;\n phone?: string;\n token?: Token;\n}\nexport type TwoFactorAuthenticationWithoutToken = Omit<\n TwoFactorAuthentication,\n 'token'\n>;\nexport const defaultTwoFactorAuthenticationState: TwoFactorAuthentication = {\n sendOtpStatus: {\n fetchState: 'Not-Started',\n error: undefined,\n },\n otpVerificationStatus: {\n fetchState: 'Not-Started',\n error: undefined,\n },\n};\nexport interface TwoFactorAuthenticationState {\n cardUserOnboarding: TwoFactorAuthenticationWithoutToken; //done through Twilio, it won't give any token\n chargeCardHolder: Record<ID, TwoFactorAuthentication>; // here the ID is chargeCardId\n common: TwoFactorAuthentication;\n}\n\nexport const COMMON_TWO_FA_SOURCE = [\n 'BillPayVendor',\n 'SpendManagementSetup',\n 'MyProfile',\n 'CustomerOnboarding',\n] as const;\n\nexport const toCommonTwoFASource = (v: string) =>\n stringToUnion(v, COMMON_TWO_FA_SOURCE);\n\nexport type CommonTwoFASource = ReturnType<typeof toCommonTwoFASource>;\nexport type TwoFASourceView =\n | CommonTwoFASource\n | 'ChargeCardHolder'\n | 'CardUserOnboarding';\nexport interface Token {\n expiry: ZeniDate;\n message: string;\n provider: string;\n token: string;\n}\n\nexport const initialTwoFactorAuthenticationWithoutToken: TwoFactorAuthenticationWithoutToken =\n {\n sendOtpStatus: {\n fetchState: 'Not-Started',\n error: undefined,\n },\n otpVerificationStatus: {\n fetchState: 'Not-Started',\n error: undefined,\n },\n phone: undefined,\n otpChallenge: undefined,\n };\n\nexport const initialTwoFactorAuthentication: TwoFactorAuthentication = {\n ...initialTwoFactorAuthenticationWithoutToken,\n token: undefined,\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"twoFactorAuthenticationPayload.js","sourceRoot":"","sources":["../../../../src/view/twoFactorAuthentication/twoFactorAuthenticationPayload.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAwBrC,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,OAAqB,EAAS,EAAE,CAAC,CAAC;IACxD,QAAQ,EAAE,OAAO,CAAC,cAAc;IAChC,KAAK,EAAE,OAAO,CAAC,KAAK;IACpB,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,qBAAqB,CAAC;IAC3C,OAAO,EAAE,OAAO,CAAC,OAAO;CACzB,CAAC,CAAC","sourcesContent":["import {ZeniAPIResponse} from '../../responsePayload';\nimport {date} from '../../zeniDayJS';\nimport {Token} from './twoFactorAuthentication';\n\ninterface SendOtpPayload {\n otp_challenge: string;\n}\n\nexport type SendOtpResponse = ZeniAPIResponse<SendOtpPayload>;\n\ninterface VerifyOtpPayload {\n is_verified: boolean;\n message: string;\n token_info?: TokenPayload;\n}\n\nexport interface TokenPayload {\n message: string;\n token: string;\n token_expiration_time: string;\n token_provider: string;\n}\n\nexport type VerifyOtpResponse = ZeniAPIResponse<VerifyOtpPayload>;\n\nexport const toToken = (payload: TokenPayload): Token => ({\n provider: payload.token_provider,\n token: payload.token,\n expiry: date(payload.token_expiration_time),\n message: payload.message,\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"twoFactorAuthenticationReducer.js","sourceRoot":"","sources":["../../../../src/view/twoFactorAuthentication/twoFactorAuthenticationReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAI5D,OAAO,EAGL,8BAA8B,EAC9B,0CAA0C,GAC3C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAe,OAAO,EAAC,MAAM,kCAAkC,CAAC;AAEvE,MAAM,CAAC,MAAM,YAAY,GAAiC;IACxD,MAAM,EAAE,8BAA8B;IACtC,gBAAgB,EAAE,EAAE;IACpB,kBAAkB,EAAE,0CAA0C;CAC/D,CAAC;AAEF,MAAM,uBAAuB,GAAG,WAAW,CAAC;IAC1C,IAAI,EAAE,yBAAyB;IAC/B,YAAY;IACZ,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,CACL,KAAK,EACL,MAIE;gBAEF,MAAM,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAC,GAAG,MAAM,CAAC,OAAO,CAAC;gBAC5D,IAAI,WAAW,KAAK,oBAAoB,EAAE,CAAC;oBACzC,KAAK,CAAC,kBAAkB,CAAC,KAAK,GAAG,WAAW,CAAC;oBAC7C,KAAK,CAAC,kBAAkB,CAAC,aAAa,GAAG;wBACvC,UAAU,EAAE,aAAa;wBACzB,KAAK,EAAE,SAAS;qBACjB,CAAC;oBACF,KAAK,CAAC,kBAAkB,CAAC,qBAAqB,GAAG;wBAC/C,UAAU,EAAE,aAAa;wBACzB,KAAK,EAAE,SAAS;qBACjB,CAAC;gBACJ,CAAC;qBAAM,IAAI,WAAW,KAAK,kBAAkB,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;oBAClE,KAAK,CAAC,gBAAgB,CAAC,QAAQ,CAAC,GAAG;wBACjC,GAAG,KAAK,CA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ChB,gBAAgB,EAChB,4BAA4B,GAC7B,GAAG,uBAAuB,CAAC,OAAO,CAAC;AACpC,eAAe,uBAAuB,CAAC,OAAO,CAAC","sourcesContent":["import {PayloadAction, createSlice} from '@reduxjs/toolkit';\n\nimport {ID} from '../../commonStateTypes/common';\nimport {ZeniAPIStatus} from '../../responsePayload';\nimport {\n TwoFASourceView,\n TwoFactorAuthenticationState,\n initialTwoFactorAuthentication,\n initialTwoFactorAuthenticationWithoutToken,\n} from './twoFactorAuthentication';\nimport {TokenPayload, toToken} from './twoFactorAuthenticationPayload';\n\nexport const initialState: TwoFactorAuthenticationState = {\n common: initialTwoFactorAuthentication,\n chargeCardHolder: {},\n cardUserOnboarding: initialTwoFactorAuthenticationWithoutToken,\n};\n\nconst twoFactorAuthentication = createSlice({\n name: 'twoFactorAuthentication',\n initialState,\n reducers: {\n sendOtp: {\n reducer(\n draft,\n action: PayloadAction<{\n phoneNumber: string;\n twoFASource: TwoFASourceView;\n entityId?: ID;\n }>\n ) {\n const {phoneNumber, twoFASource, entityId} = action.payload;\n if (twoFASource === 'CardUserOnboarding') {\n draft.cardUserOnboarding.phone = phoneNumber;\n draft.cardUserOnboarding.sendOtpStatus = {\n fetchState: 'In-Progress',\n error: undefined,\n };\n draft.cardUserOnboarding.otpVerificationStatus = {\n fetchState: 'Not-Started',\n error: undefined,\n };\n } else if (twoFASource === 'ChargeCardHolder' && entityId != null) {\n draft.chargeCardHolder[entityId] = {\n ...draft.chargeCardHolder[entityId],\n phone: phoneNumber,\n sendOtpStatus: {\n fetchState: 'In-Progress',\n error: undefined,\n },\n otpVerificationStatus: {\n fetchState: 'Not-Started',\n error: undefined,\n },\n };\n } else {\n draft.common.phone = phoneNumber;\n draft.common.sendOtpStatus = {\n fetchState: 'In-Progress',\n error: undefined,\n };\n draft.common.otpVerificationStatus = {\n fetchState: 'Not-Started',\n error: undefined,\n };\n }\n },\n prepare(\n phoneNumber: string,\n twoFASource: TwoFASourceView,\n entityId?: ID\n ) {\n return {payload: {phoneNumber, twoFASource, entityId}};\n },\n },\n\n resendOtp: {\n reducer(\n draft,\n action: PayloadAction<{twoFASource: TwoFASourceView; entityId?: ID}>\n ) {\n const {twoFASource, entityId} = action.payload;\n if (twoFASource === 'CardUserOnboarding') {\n draft.cardUserOnboarding.sendOtpStatus = {\n fetchState: 'In-Progress',\n error: undefined,\n };\n draft.cardUserOnboarding.otpVerificationStatus = {\n fetchState: 'Not-Started',\n error: undefined,\n };\n } else if (twoFASource === 'ChargeCardHolder' && entityId != null) {\n draft.chargeCardHolder[entityId] = {\n ...draft.chargeCardHolder[entityId],\n sendOtpStatus: {\n fetchState: 'In-Progress',\n error: undefined,\n },\n otpVerificationStatus: {\n fetchState: 'Not-Started',\n error: undefined,\n },\n };\n } else {\n draft.common.sendOtpStatus = {\n fetchState: 'In-Progress',\n error: undefined,\n };\n draft.common.otpVerificationStatus = {\n fetchState: 'Not-Started',\n error: undefined,\n };\n }\n },\n prepare(\n otpChallenge: string,\n twoFASource: TwoFASourceView,\n entityId?: ID\n ) {\n return {payload: {otpChallenge, twoFASource, entityId}};\n },\n },\n\n sendOtpSuccess(\n draft,\n action: PayloadAction<{\n otpChallenge: string;\n twoFASource: TwoFASourceView;\n entityId?: ID;\n }>\n ) {\n const {otpChallenge, twoFASource, entityId} = action.payload;\n if (twoFASource === 'CardUserOnboarding') {\n draft.cardUserOnboarding.otpChallenge = otpChallenge;\n draft.cardUserOnboarding.sendOtpStatus = {\n fetchState: 'Completed',\n error: undefined,\n };\n } else if (twoFASource === 'ChargeCardHolder' && entityId != null) {\n draft.chargeCardHolder[entityId] = {\n ...draft.chargeCardHolder[entityId],\n otpChallenge: otpChallenge,\n sendOtpStatus: {\n fetchState: 'Completed',\n error: undefined,\n },\n };\n } else {\n draft.common.otpChallenge = otpChallenge;\n draft.common.sendOtpStatus = {\n fetchState: 'Completed',\n error: undefined,\n };\n }\n },\n sendOtpFailure(\n draft,\n action: PayloadAction<{\n error: ZeniAPIStatus;\n twoFASource: TwoFASourceView;\n entityId?: ID;\n }>\n ) {\n const {error, twoFASource, entityId} = action.payload;\n if (twoFASource === 'CardUserOnboarding') {\n draft.cardUserOnboarding.sendOtpStatus = {\n fetchState: 'Error',\n error,\n };\n } else if (twoFASource === 'ChargeCardHolder' && entityId != null) {\n draft.chargeCardHolder[entityId] = {\n ...draft.chargeCardHolder[entityId],\n sendOtpStatus: {\n fetchState: 'Error',\n error,\n },\n };\n } else {\n draft.common.sendOtpStatus = {\n fetchState: 'Error',\n error,\n };\n }\n },\n\n verifyOtp: {\n reducer(\n draft,\n action: PayloadAction<{\n otpChallenge: string;\n otpCode: string;\n twoFASource: TwoFASourceView;\n entityId?: ID;\n }>\n ) {\n const {twoFASource, entityId} = action.payload;\n if (twoFASource === 'CardUserOnboarding') {\n draft.cardUserOnboarding.otpVerificationStatus = {\n fetchState: 'In-Progress',\n error: undefined,\n };\n } else if (twoFASource === 'ChargeCardHolder' && entityId != null) {\n draft.chargeCardHolder[entityId] = {\n ...draft.chargeCardHolder[entityId],\n otpVerificationStatus: {\n fetchState: 'In-Progress',\n error: undefined,\n },\n };\n } else {\n draft.common.otpVerificationStatus = {\n fetchState: 'In-Progress',\n error: undefined,\n };\n }\n },\n\n prepare(\n otpCode: string,\n otpChallenge: string,\n twoFASource: TwoFASourceView,\n entityId?: ID\n ) {\n return {payload: {otpCode, otpChallenge, twoFASource, entityId}};\n },\n },\n\n verifyOtpSuccess(\n draft,\n action: PayloadAction<{\n tokenPayload: TokenPayload | undefined;\n twoFASource: TwoFASourceView;\n entityId?: ID;\n }>\n ) {\n const {twoFASource, tokenPayload, entityId} = action.payload;\n if (twoFASource === 'CardUserOnboarding') {\n draft.cardUserOnboarding.otpVerificationStatus = {\n fetchState: 'Completed',\n error: undefined,\n };\n } else if (twoFASource === 'ChargeCardHolder' && entityId != null) {\n draft.chargeCardHolder[entityId] = {\n ...draft.chargeCardHolder[entityId],\n otpVerificationStatus: {\n fetchState: 'Completed',\n error: undefined,\n },\n };\n if (tokenPayload != null) {\n draft.chargeCardHolder[entityId].token = toToken(tokenPayload);\n }\n } else {\n draft.common.otpVerificationStatus = {\n fetchState: 'Completed',\n error: undefined,\n };\n if (tokenPayload != null) {\n draft.common.token = toToken(tokenPayload);\n }\n }\n },\n\n verifyOtpFailure(\n draft,\n action: PayloadAction<{\n error: ZeniAPIStatus;\n twoFASource: TwoFASourceView;\n entityId?: ID;\n }>\n ) {\n const {error, twoFASource, entityId} = action.payload;\n if (twoFASource === 'CardUserOnboarding') {\n draft.cardUserOnboarding.otpVerificationStatus = {\n fetchState: 'Error',\n error,\n };\n } else if (twoFASource === 'ChargeCardHolder' && entityId != null) {\n draft.chargeCardHolder[entityId] = {\n ...draft.chargeCardHolder[entityId],\n otpVerificationStatus: {\n fetchState: 'Error',\n error,\n },\n };\n } else {\n draft.common.otpVerificationStatus = {\n fetchState: 'Error',\n error,\n };\n }\n },\n\n clearTwoFactorAuthentication(draft) {\n Object.assign(draft, initialState);\n },\n },\n});\n\nexport const {\n sendOtp,\n resendOtp,\n sendOtpSuccess,\n sendOtpFailure,\n verifyOtp,\n verifyOtpSuccess,\n verifyOtpFailure,\n clearTwoFactorAuthentication,\n} = twoFactorAuthentication.actions;\nexport default twoFactorAuthentication.reducer;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"twoFactorAuthenticationSelector.js","sourceRoot":"","sources":["../../../../src/view/twoFactorAuthentication/twoFactorAuthenticationSelector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAKhD,OAAO,EAKL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AAUnC,MAAM,CAAC,MAAM,8BAA8B,GAER,cAAc,CAC/C,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,4BAA4B,EACxD,CAAC,UAAwC,EAAE,EAAE;IAC3C,OAAO;QACL,GAAG,UAAU,CAAC,MAAM;KACrB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iDAAiD,GAG/B,cAAc,CAC3C,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,4BAA4B,EACxD,CAAC,MAAiB,EAAE,QAAY,EAAE,EAAE,CAAC,QAAQ,EAC7C,CACE,UAAwC,EACxC,QAAY,EACa,EAAE;IAC3B,MAAM,KAAK,GAAG,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,8BAA8B,CAAC;AACxC,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mDAAmD,GAET,cAAc,CACnE,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,4BAA4B,EACxD,CAAC,UAAwC,EAAE,EAAE;IAC3C,OAAO,UAAU,CAAC,kBAAkB,CAAC;AACvC,CAAC,CACF,CAAC","sourcesContent":["import {createSelector} from '@reduxjs/toolkit';\n\nimport {FetchStateAndError, ID} from '../../commonStateTypes/common';\nimport {View} from '../../commonStateTypes/viewAndReport/viewAndReport';\nimport {RootState} from '../../reducer';\nimport {\n Token,\n TwoFactorAuthentication,\n TwoFactorAuthenticationState,\n TwoFactorAuthenticationWithoutToken,\n initialTwoFactorAuthentication,\n} from './twoFactorAuthentication';\n\nexport interface TwoFactorAuthenticationView extends View {\n otpVerificationStatus: FetchStateAndError;\n sendOtpStatus: FetchStateAndError;\n otpChallenge?: string;\n phone?: string;\n token?: Token;\n}\n\nexport const getTwoFactorAuthenticationView: (\n state: RootState\n) => TwoFactorAuthenticationView = createSelector(\n (state: RootState) => state.twoFactorAuthenticationState,\n (twoFAState: TwoFactorAuthenticationState) => {\n return {\n ...twoFAState.common,\n };\n }\n);\n\nexport const getTwoFactorAuthenticationViewForChargeCardHolder: (\n state: RootState,\n entityId: ID\n) => TwoFactorAuthentication = createSelector(\n (state: RootState) => state.twoFactorAuthenticationState,\n (_state: RootState, entityId: ID) => entityId,\n (\n twoFAState: TwoFactorAuthenticationState,\n entityId: ID\n ): TwoFactorAuthentication => {\n const twoFA = twoFAState.chargeCardHolder[entityId];\n if (twoFA != null) {\n return twoFA;\n }\n return initialTwoFactorAuthentication;\n }\n);\n\nexport const getTwoFactorAuthenticationViewForCardUserOnboarding: (\n state: RootState\n) => TwoFactorAuthenticationWithoutToken | undefined = createSelector(\n (state: RootState) => state.twoFactorAuthenticationState,\n (twoFAState: TwoFactorAuthenticationState) => {\n return twoFAState.cardUserOnboarding;\n }\n);\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verifyOtpEpic.js","sourceRoot":"","sources":["../../../../src/view/twoFactorAuthentication/verifyOtpEpic.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,MAAM,EAAE,IAAI,EAAC,MAAM,MAAM,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAI5D,OAAO,EAAC,mBAAmB,EAAE,eAAe,EAAC,MAAM,uBAAuB,CAAC;AAE3E,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,0BAA0B,EAC1B,iCAAiC,EACjC,iCAAiC,GAClC,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,2BAA2B,EAC3B,kCAAkC,EAClC,kCAAkC,GACnC,MAAM,6EAA6E,CAAC;AACrF,OAAO,EAAC,0BAA0B,EAAC,MAAM,yEAAyE,CAAC;AACnH,OAAO,EAAC,0BAA0B,EAAC,MAAM,yEAAyE,CAAC;AACnH,OAAO,EAAC,mBAAmB,EAAC,MAAM,yEAAyE,CAAC;AAC5G,OAAO,EACL,oCAAoC,EACpC,6BAA6B,E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ux-observable';\nimport {Observable, concat, from} from 'rxjs';\nimport {catchError, filter, mergeMap} from 'rxjs/operators';\n\nimport {ID} from '../../commonStateTypes/common';\nimport {RootState} from '../../reducer';\nimport {createZeniAPIStatus, isSuccessStatus} from '../../responsePayload';\nimport {ZeniAPI} from '../../zeniAPI';\nimport {\n verifyOtpVendorView,\n verifyOtpVendorViewFailure,\n verifyOtpVendorViewSuccess,\n} from '../commonVendorView/vendorView/vendorViewReducer';\nimport {\n verifyOnboardingOfficerOtp,\n verifyOnboardingOfficerOtpFailure,\n verifyOnboardingOfficerOtpSuccess,\n} from '../onboardingView/customerView/onboardingCustomerViewReducer';\nimport {\n verifyOtpMyProfile,\n verifyOtpMyProfileFailure,\n verifyOtpMyProfileSuccess,\n} from '../settingsView/settingsViewReducer';\nimport {\n verifyOtpCardUserOnboarding,\n verifyOtpCardUserOnboardingFailure,\n verifyOtpCardUserOnboardingSuccess,\n} from '../spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer';\nimport {verifyOtpCardHolderFailure} from '../spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer';\nimport {verifyOtpCardHolderSuccess} from '../spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer';\nimport {verifyOtpCardHolder} from '../spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer';\nimport {\n verifyOtpFailureSpendManagementSetUp,\n verifyOtpSpendManagementSetUp,\n verifyOtpSuccessSpendManagementSetUp,\n} from '../spendManagement/commonSetup/setupViewReducer';\nimport {VerifyOtpResponse} from './twoFactorAuthenticationPayload';\nimport {\n verifyOtp,\n verifyOtpFailure,\n verifyOtpSuccess,\n} from './twoFactorAuthenticationReducer';\n\nexport type ActionType =\n | ReturnType<typeof verifyOtp>\n | ReturnType<typeof verifyOtpSuccess>\n | ReturnType<typeof verifyOtpFailure>\n | ReturnType<typeof verifyOtpSpendManagementSetUp>\n | ReturnType<typeof verifyOtpSuccessSpendManagementSetUp>\n | ReturnType<typeof verifyOtpFailureSpendManagementSetUp>\n | ReturnType<typeof verifyOtpVendorView>\n | ReturnType<typeof verifyOtpVendorViewSuccess>\n | ReturnType<typeof verifyOtpVendorViewFailure>\n | ReturnType<typeof verifyOnboardingOfficerOtp>\n | ReturnType<typeof verifyOnboardingOfficerOtpSuccess>\n | ReturnType<typeof verifyOnboardingOfficerOtpFailure>\n | ReturnType<typeof verifyOtpCardUserOnboarding>\n | ReturnType<typeof verifyOtpCardUserOnboardingSuccess>\n | ReturnType<typeof verifyOtpCardUserOnboardingFailure>\n | ReturnType<typeof verifyOtpMyProfile>\n | ReturnType<typeof verifyOtpMyProfileFailure>\n | ReturnType<typeof verifyOtpMyProfileSuccess>\n | ReturnType<typeof verifyOtpCardHolder>\n | ReturnType<typeof verifyOtpCardHolderSuccess>\n | ReturnType<typeof verifyOtpCardHolderFailure>;\n\nexport const verifyOtpEpic = (\n actions$: ActionsObservable<ActionType>,\n state$: StateObservable<RootState>,\n zeniAPI: ZeniAPI\n): Observable<ActionType> =>\n actions$.pipe(\n filter(verifyOtp.match),\n mergeMap((action) => {\n const verifyOtpActions: ActionType[] = [];\n const {otpCode, otpChallenge, twoFASource, entityId} = action.payload;\n const payload: {\n otp_challenge: string;\n otp_code: string;\n provider_card_id?: ID;\n } = {\n otp_code: otpCode,\n otp_challenge: otpChallenge,\n };\n if (twoFASource === 'ChargeCardHolder' && entityId != null) {\n const chargeCardProviderId =\n state$.value.chargeCardState.chargeCardByID[entityId].cardProviderID;\n payload.provider_card_id = chargeCardProviderId;\n }\n\n switch (twoFASource) {\n case 'SpendManagementSetup':\n verifyOtpActions.push(verifyOtpSpendManagementSetUp());\n break;\n case 'BillPayVendor':\n verifyOtpActions.push(verifyOtpVendorView());\n break;\n case 'CustomerOnboarding':\n verifyOtpActions.push(verifyOnboardingOfficerOtp());\n break;\n case 'MyProfile':\n verifyOtpActions.push(verifyOtpMyProfile());\n break;\n case 'CardUserOnboarding':\n verifyOtpActions.push(verifyOtpCardUserOnboarding());\n break;\n case 'ChargeCardHolder':\n if (entityId != null) {\n verifyOtpActions.push(\n verifyOtpCardHolder({chargeCardId: entityId})\n );\n }\n break;\n }\n const verifyOtp$ = zeniAPI\n .postAndGetJSON<VerifyOtpResponse>(\n `${zeniAPI.apiEndPoints.authMicroServiceBaseUrl}/1.0/otp/verify`,\n payload\n )\n .pipe(\n mergeMap((response) => {\n if (\n isSuccessStatus(response) &&\n response.data != null &&\n response.data.is_verified === true\n ) {\n const updateActions: ActionType[] = [\n verifyOtpSuccess({\n twoFASource,\n tokenPayload: response.data.token_info,\n entityId,\n }),\n ];\n switch (twoFASource) {\n case 'SpendManagementSetup':\n updateActions.push(verifyOtpSuccessSpendManagementSetUp());\n break;\n case 'BillPayVendor':\n updateActions.push(verifyOtpVendorViewSuccess());\n break;\n case 'CustomerOnboarding':\n updateActions.push(verifyOnboardingOfficerOtpSuccess());\n break;\n case 'MyProfile':\n updateActions.push(verifyOtpMyProfileSuccess());\n break;\n case 'CardUserOnboarding':\n updateActions.push(verifyOtpCardUserOnboardingSuccess());\n break;\n case 'ChargeCardHolder':\n if (entityId != null) {\n updateActions.push(\n verifyOtpCardHolderSuccess({\n chargeCardId: entityId,\n })\n );\n }\n break;\n }\n return from(updateActions);\n } else {\n const updateActions: ActionType[] = [\n verifyOtpFailure({\n error: response.status,\n twoFASource,\n entityId,\n }),\n ];\n switch (twoFASource) {\n case 'SpendManagementSetup':\n updateActions.push(\n verifyOtpFailureSpendManagementSetUp(response.status)\n );\n break;\n case 'BillPayVendor':\n updateActions.push(\n verifyOtpVendorViewFailure(response.status)\n );\n break;\n case 'CustomerOnboarding':\n updateActions.push(\n verifyOnboardingOfficerOtpFailure(response.status)\n );\n break;\n case 'MyProfile':\n updateActions.push(\n verifyOtpMyProfileFailure(response.status)\n );\n break;\n case 'CardUserOnboarding':\n updateActions.push(\n verifyOtpCardUserOnboardingFailure(response.status)\n );\n break;\n case 'ChargeCardHolder':\n if (entityId != null) {\n updateActions.push(\n verifyOtpCardHolderFailure({\n error: response.status,\n chargeCardId: entityId,\n })\n );\n }\n break;\n }\n return from(updateActions);\n }\n }),\n catchError((error) => {\n const zeniAPIStatus = createZeniAPIStatus(\n 'Unexpected Error',\n 'Verify otp api errored out' + JSON.stringify(error)\n );\n const updateActions: ActionType[] = [\n verifyOtpFailure({error: zeniAPIStatus, twoFASource, entityId}),\n ];\n\n switch (twoFASource) {\n case 'SpendManagementSetup':\n updateActions.push(\n verifyOtpFailureSpendManagementSetUp(zeniAPIStatus)\n );\n break;\n case 'BillPayVendor':\n updateActions.push(verifyOtpVendorViewFailure(zeniAPIStatus));\n break;\n case 'CustomerOnboarding':\n updateActions.push(\n verifyOnboardingOfficerOtpFailure(zeniAPIStatus)\n );\n break;\n case 'MyProfile':\n updateActions.push(verifyOtpMyProfileFailure(zeniAPIStatus));\n break;\n case 'CardUserOnboarding':\n updateActions.push(\n verifyOtpCardUserOnboardingFailure(zeniAPIStatus)\n );\n break;\n case 'ChargeCardHolder':\n if (entityId != null) {\n updateActions.push(\n verifyOtpCardHolderFailure({\n error: zeniAPIStatus,\n chargeCardId: entityId,\n })\n );\n }\n break;\n }\n return from(updateActions);\n })\n );\n return concat(from(verifyOtpActions), verifyOtp$);\n })\n );\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchUserFinancialAccountEpic.js","sourceRoot":"","sources":["../../../../src/view/userFinancialAccount/fetchUserFinancialAccountEpic.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,IAAI,EAAE,EAAE,EAAC,MAAM,MAAM,CAAC;AAC1C,OAAO,EAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAGvE,OAAO,EAAC,kBAAkB,EAAC,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAC,qBAAqB,EAAC,MAAM,mDAAmD,CAAC;AAExF,OAAO,EAAC,mBAAmB,EAAE,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AAE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0B;oBACzC,mCAAmC,EAAE,KAAK;iBAC3C,CAAC,CACH,CAAC;YACJ,CAAC;YACD,OAAO,IAAI,CAAC,2BAA2B,CAAC,CAAC;QAC3C,CAAC;aAAM,CAAC;YACN,OAAO,EAAE,CACP,iCAAiC,CAAC;gBAChC,MAAM,EAAE,QAAQ,CAAC,MAAM;gBACvB,MAAM;aACP,CAAC,CACH,CAAC;QACJ,CAAC;IACH,CAAC,CAAC,EACF,UAAU,CAAC,CAAC,KAAK,EAAE,EAAE;QACnB,OAAO,EAAE,CACP,iCAAiC,CAAC;YAChC,MAAM;YACN,MAAM,EAAE,mBAAmB,CACzB,kBAAkB,EAClB,wDAAwD;gBACtD,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CACxB;SACF,CAAC,CACH,CAAC;IACJ,CAAC,CAAC,CACH,CAAC;AACN,CAAC,CAAC,CACH,CAAC;AAEJ,MAAM,qDAAqD,GAAG,CAC5D,YAAkC,EACF,EAAE;IAClC,OAAO,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACrC,CAAC,CAAC,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAChE,CAAC,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CACxD;QACC,CAAC,CAAC,CAAC;QACH,CAAC,CAAC,CAAC,CAAC,CACP,EAAE,CAAC,CAAC,CAAC,CAAC;AACT,CAAC,CAAC","sourcesContent":["import {ActionsObservable, StateObservable} from 'redux-observable';\nimport {Observable, from, of} from 'rxjs';\nimport {catchError, filter, mergeMap, switchMap} from 'rxjs/operators';\n\nimport {BankAccountPayload} from '../../entity/bankAccount/bankAccountPayload';\nimport {updateBankAccounts} from '../../entity/bankAccount/bankAccountReducer';\nimport {updatePaymentAccounts} from '../../entity/paymentAccount/paymentAccountReducer';\nimport {RootState} from '../../reducer';\nimport {createZeniAPIStatus, isSuccessResponse} from '../../responsePayload';\nimport {ZeniAPI} from '../../zeniAPI';\nimport {date, dateNow} from '../../zeniDayJS';\nimport {updatesPaymentToInLocalStore} from '../spendManagement/reimbursement/editRemiView/editRemiViewReducer';\nimport {UserFinancialAccountResponse} from './userFinancialAccountPayload';\nimport {\n fetchUserFinancialAccount,\n updateUserFinancialAccount,\n updateUserFinancialAccountFailure,\n} from './userFinancialAccountReducer';\n\nexport type ActionType =\n | ReturnType<typeof fetchUserFinancialAccount>\n | ReturnType<typeof updateBankAccounts>\n | ReturnType<typeof updateUserFinancialAccount>\n | ReturnType<typeof updatesPaymentToInLocalStore>\n | ReturnType<typeof updatePaymentAccounts>\n | ReturnType<typeof updateUserFinancialAccountFailure>;\n\nexport const fetchUserFinancialAccountEpic = (\n actions$: ActionsObservable<ActionType>,\n _state$: StateObservable<RootState>,\n zeniAPI: ZeniAPI\n): Observable<ActionType> =>\n actions$.pipe(\n filter(fetchUserFinancialAccount.match),\n switchMap((action) => {\n const {userId, reimbursementId} = action.payload;\n return zeniAPI\n .getJSON<UserFinancialAccountResponse>(\n `${zeniAPI.apiEndPoints.payMicroServiceBaseUrl}/1.0/users/${userId}/financial-accounts`\n )\n .pipe(\n mergeMap((response) => {\n if (isSuccessResponse(response) && response.data != null) {\n const userFinancialAccountActions: ActionType[] = [];\n //get latest created bank account Id\n const latestCreatedBankAccountId =\n getLatestCreatedUserBankAccountFromBankAccountPayload(\n response.data.bank_accounts\n )?.bank_account_id;\n userFinancialAccountActions.push(\n updateBankAccounts(response.data.bank_accounts),\n updateUserFinancialAccount({\n userFinancialAccount: response.data,\n }),\n updatePaymentAccounts(response.data.payment_accounts)\n );\n //case of new reimbursement, we have to pre populate the bank account field\n if (reimbursementId == null) {\n userFinancialAccountActions.push(\n updatesPaymentToInLocalStore({\n bankAccountId: latestCreatedBankAccountId,\n shouldOverWriteCurrentBankAccountId: false,\n })\n );\n }\n return from(userFinancialAccountActions);\n } else {\n return of(\n updateUserFinancialAccountFailure({\n status: response.status,\n userId,\n })\n );\n }\n }),\n catchError((error) => {\n return of(\n updateUserFinancialAccountFailure({\n userId,\n status: createZeniAPIStatus(\n 'Unexpected Error',\n 'Fetch User Financial Account REST API call errored out' +\n JSON.stringify(error)\n ),\n })\n );\n })\n );\n })\n );\n\nconst getLatestCreatedUserBankAccountFromBankAccountPayload = (\n bankAccounts: BankAccountPayload[]\n): BankAccountPayload | undefined => {\n return [...bankAccounts].sort((a, b) =>\n (a.create_time != null ? date(a.create_time) : dateNow()).isBefore(\n b.create_time != null ? date(b.create_time) : dateNow()\n )\n ? 1\n : -1\n )?.[0];\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userFinancialAccountPayload.js","sourceRoot":"","sources":["../../../../src/view/userFinancialAccount/userFinancialAccountPayload.ts"],"names":[],"mappings":"","sourcesContent":["import {BankAccountPayload} from '../../entity/bankAccount/bankAccountPayload';\nimport {PaymentAccountPayload} from '../../entity/paymentAccount/paymentAccountPayload';\nimport {ZeniAPIResponse} from '../../responsePayload';\n\nexport interface UserFinancialAccountPayload {\n bank_accounts: BankAccountPayload[];\n payment_accounts: PaymentAccountPayload[];\n reimbursement_account_id: string | null;\n reimbursement_account_type: string | null;\n user_financial_account_id: string;\n user_id: string;\n}\n\nexport type UserFinancialAccountResponse =\n ZeniAPIResponse<UserFinancialAccountPayload>;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userFinancialAccountReducer.js","sourceRoot":"","sources":["../../../../src/view/userFinancialAccount/userFinancialAccountReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAO5D,MAAM,CAAC,MAAM,YAAY,GAA8B;IACrD,wBAAwB,EAAE,EAAE;CAC7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GAAG,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC;gBACzC,UAAU,EAAE,OAAO;gBACnB,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM;gBAC5B,aAAa;oBACX,OAAO,IAAI,CAAC,UAAU,IAAI,WAAW,CAAC;gBACxC,CAAC;aACF,CAAC;QACJ,CAAC;QAED,yBAAyB,CAAC,KAAK;YAC7B,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;QACrC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EACX,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC1B,iCAAiC,EACjC,yBAAyB,GAC1B,GAAG,oBAAoB,CAAC,OAAO,CAAC;AACjC,eAAe,oBAAoB,CAAC,OAAO,CAAC","sourcesContent":["import {PayloadAction, createSlice} from '@reduxjs/toolkit';\n\nimport {ID} from '../../commonStateTypes/common';\nimport {ZeniAPIStatus} from '../../responsePayload';\nimport {UserFinancialAccountPayload} from './userFinancialAccountPayload';\nimport {UserFinancialAccountState} from './userFinancialAccountState';\n\nexport const initialState: UserFinancialAccountState = {\n financialAccountByUserId: {},\n};\n\nconst userFinancialAccount = createSlice({\n name: 'userFinancialAccount',\n initialState,\n reducers: {\n fetchUserFinancialAccount: {\n reducer(\n draft,\n\n action: PayloadAction<{\n userId: ID;\n }>\n ) {\n const {userId} = action.payload;\n draft.financialAccountByUserId[userId] = {\n hasValidState() {\n return this.fetchState == 'Completed';\n },\n userId: userId,\n userFinancialAccountId: '',\n paymentAccountIds: [],\n bankAccountIds: [],\n fetchState: 'In-Progress',\n error: undefined,\n };\n },\n prepare(userId: ID, reimbursementId?: ID) {\n return {\n payload: {\n userId,\n reimbursementId,\n },\n };\n },\n },\n\n updateUserFinancialAccount(\n draft,\n action: PayloadAction<{\n userFinancialAccount: UserFinancialAccountPayload;\n }>\n ) {\n const {userFinancialAccount} = action.payload;\n draft.financialAccountByUserId[userFinancialAccount.user_id] = {\n userId: userFinancialAccount.user_id,\n userFinancialAccountId: userFinancialAccount.user_financial_account_id,\n paymentAccountIds: userFinancialAccount.payment_accounts.map(\n (payment_account) => payment_account.payment_account_id\n ),\n bankAccountIds: userFinancialAccount.bank_accounts.map(\n (bank_account) => bank_account.bank_account_id\n ),\n reimbursementAccountType:\n userFinancialAccount.reimbursement_account_type != null\n ? userFinancialAccount.reimbursement_account_type\n : undefined,\n reimbursementAccountId:\n userFinancialAccount.reimbursement_account_id != null\n ? userFinancialAccount.reimbursement_account_id\n : undefined,\n fetchState: 'Completed',\n error: undefined,\n hasValidState() {\n return this.fetchState == 'Completed';\n },\n };\n },\n updateUserBankAccount(\n draft,\n action: PayloadAction<{\n bankAccountIds: string[];\n userId: ID;\n }>\n ) {\n const {bankAccountIds, userId} = action.payload;\n draft.financialAccountByUserId[userId] = {\n ...draft.financialAccountByUserId[userId],\n bankAccountIds: [\n ...new Set([\n ...draft.financialAccountByUserId[userId].bankAccountIds,\n ...bankAccountIds,\n ]),\n ],\n };\n },\n\n removeUserBankAccount(\n draft,\n action: PayloadAction<{\n bankAccountId: string;\n userId: ID;\n }>\n ) {\n const {bankAccountId: bankAccountIdToRemove, userId} = action.payload;\n draft.financialAccountByUserId[userId] = {\n ...draft.financialAccountByUserId[userId],\n bankAccountIds: draft.financialAccountByUserId[\n userId\n ].bankAccountIds.filter(\n (bankAccountId) => bankAccountId !== bankAccountIdToRemove\n ),\n };\n },\n\n updateUserFinancialAccountFailure(\n draft,\n action: PayloadAction<{\n status: ZeniAPIStatus;\n userId: ID;\n }>\n ) {\n const userId = action.payload.userId;\n draft.financialAccountByUserId[userId] = {\n ...draft.financialAccountByUserId[userId],\n fetchState: 'Error',\n error: action.payload.status,\n hasValidState() {\n return this.fetchState == 'Completed';\n },\n };\n },\n\n clearUserFinancialAccount(draft) {\n Object.assign(draft, initialState);\n },\n },\n});\n\nexport const {\n fetchUserFinancialAccount,\n updateUserBankAccount,\n removeUserBankAccount,\n updateUserFinancialAccount,\n updateUserFinancialAccountFailure,\n clearUserFinancialAccount,\n} = userFinancialAccount.actions;\nexport default userFinancialAccount.reducer;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userFinancialAccountSelector.js","sourceRoot":"","sources":["../../../../src/view/userFinancialAccount/userFinancialAccountSelector.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,+BAA+B,EAAC,MAAM,8CAA8C,CAAC;AAE7F,OAAO,EAAC,OAAO,EAAC,MAAM,iBAAiB,CAAC;AAUxC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACrC,KAAgB,EAChB,MAAU,EACwB,EAAE;IACpC,MAAM,EAAC,yBAAyB,EAAE,gBAAgB,EAAE,oBAAoB,EAAC,GACvE,KAAK,CAAC;IACR,MAAM,YAAY,GAAG,+BAA+B,CAClD,gBAAgB,EAChB,yBAAyB,CAAC,wBAAwB,CAAC,MAAM,CAAC;QACxD,EAAE,cAAc,IAAI,EAAE,CACzB,CAAC;IACF,OAAO;QACL,YAAY;QACZ,wBAAwB,EACtB,oBAAoB,CAAC,wBAAwB,CAAC,YAAY;QAC5D,wBAAwB,EAAE,oBAAoB,CAAC,wBAAwB;QACvE,iBAAiB,EAAE,oBAAoB,CAAC,iBAAiB;QACzD,UAAU,EACR,yBAAyB,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,UAAU;YACtE,aAAa;QACf,KAAK,EAAE,yBAAyB,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,KAAK;QACxE,OAAO,EAAE,CAAC;KACX,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,kDAAkD,GAAG,CACzD,YAA2B,EACF,EAAE;IAC3B,OAAO,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACrC,CAAC,CAAC,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,CACxD,CAAC,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,EAAE,CAChD;QACC,CAAC,CAAC,CAAC;QACH,CAAC,CAAC,CAAC,CAAC,CACP,EAAE,CAAC,CAAC,CAAC,CAAC;AACT,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAC7C,KAAgB,EAChB,MAAU,EACM,EAAE;IAClB,MAAM,EAAC,yBAAyB,EAAE,gBAAgB,EAAC,GAAG,KAAK,CAAC;IAC5D,MAAM,YAAY,GAAG,+BAA+B,CAClD,gBAAgB,EAChB,yBAAyB,CAAC,wBAAwB,CAAC,MAAM,CAAC;QACxD,EAAE,cAAc,IAAI,EAAE,CACzB,CAAC;IAEF,MAAM,0BAA0B,GAC9B,kDAAkD,CAChD,YAAY,CACb,EAAE,aAAa,CAAC;IACnB,OAAO,0BAA0B,CAAC;AACpC,CAAC,CAAC","sourcesContent":["import {FetchStateAndError, ID} from '../../commonStateTypes/common';\nimport {SelectorView} from '../../commonStateTypes/viewAndReport/viewAndReport';\nimport {BankAccount} from '../../entity/bankAccount/bankAccount';\nimport {getBankAccountsByBankAccountIds} from '../../entity/bankAccount/bankAccountSelector';\nimport {RootState} from '../../reducer';\nimport {dateNow} from '../../zeniDayJS';\nimport {BankNameByRoutingState} from '../bankAccountView/bankAccountViewState';\n\nexport interface UserFinancialAccountSelectorView extends SelectorView {\n bankAccountCreationState: FetchStateAndError;\n bankAccountDeletionState: Record<string, FetchStateAndError>;\n bankAccounts: BankAccount[];\n bankNameByRouting: Record<string, BankNameByRoutingState>;\n}\n\nexport const getUserFinancialAccount = (\n state: RootState,\n userId: ID\n): UserFinancialAccountSelectorView => {\n const {userFinancialAccountState, bankAccountState, bankAccountViewState} =\n state;\n const bankAccounts = getBankAccountsByBankAccountIds(\n bankAccountState,\n userFinancialAccountState.financialAccountByUserId[userId]\n ?.bankAccountIds ?? []\n );\n return {\n bankAccounts,\n bankAccountCreationState:\n bankAccountViewState.createBankAccountDetails.createStatus,\n bankAccountDeletionState: bankAccountViewState.bankAccountDeletionState,\n bankNameByRouting: bankAccountViewState.bankNameByRouting,\n fetchState:\n userFinancialAccountState.financialAccountByUserId[userId]?.fetchState ??\n 'Not-Started',\n error: userFinancialAccountState.financialAccountByUserId[userId]?.error,\n version: 0,\n };\n};\n\nconst getLatestCreatedUserBankAccountFromBankAccountList = (\n bankAccounts: BankAccount[]\n): BankAccount | undefined => {\n return [...bankAccounts].sort((a, b) =>\n (a.createTime != null ? a.createTime : dateNow()).isBefore(\n b.createTime != null ? b.createTime : dateNow()\n )\n ? 1\n : -1\n )?.[0];\n};\n\nexport const getLatestCreatedUserBankAccount = (\n state: RootState,\n userId: ID\n): ID | undefined => {\n const {userFinancialAccountState, bankAccountState} = state;\n const bankAccounts = getBankAccountsByBankAccountIds(\n bankAccountState,\n userFinancialAccountState.financialAccountByUserId[userId]\n ?.bankAccountIds ?? []\n );\n\n const latestCreatedBankAccountId =\n getLatestCreatedUserBankAccountFromBankAccountList(\n bankAccounts\n )?.bankAccountId;\n return latestCreatedBankAccountId;\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userFinancialAccountState.js","sourceRoot":"","sources":["../../../../src/view/userFinancialAccount/userFinancialAccountState.ts"],"names":[],"mappings":"","sourcesContent":["import {FetchedState, ID} from '../../commonStateTypes/common';\n\nexport interface UserFinancialAccountState {\n financialAccountByUserId: Record<ID, UserFinancialAccount>;\n}\n\nexport interface UserFinancialAccount extends FetchedState {\n bankAccountIds: ID[];\n paymentAccountIds: ID[];\n userFinancialAccountId: string;\n userId: ID;\n reimbursementAccountId?: string;\n reimbursementAccountType?: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userGroupListViewReducer.js","sourceRoot":"","sources":["../../../../src/view/userGroupListView/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AAC,CAAC;AAEH,MAAM,CAAC,MAAM,EACX,wBAAwB,EACxB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,+BAA+B,EAC/B,sBAAsB,GACvB,GAAG,iBAAiB,CAAC,OAAO,CAAC;AAE9B,eAAe,iBAAiB,CAAC,OAAO,CAAC","sourcesContent":["import {PayloadAction, createSlice} from '@reduxjs/toolkit';\n\nimport {ID} from '../../commonStateTypes/common';\nimport {UserGroupPayload} from '../../entity/userGroups/userGroupsPayload';\nimport {ZeniAPIStatus} from '../../responsePayload';\nimport {\n UserGroupIdsByType,\n UserGroupListType,\n UserGroupListViewState,\n} from './userGroupListViewState';\n\nconst initialUserGroupList: UserGroupIdsByType = {\n ids: [],\n fetchState: 'Not-Started',\n error: undefined,\n hasValidState() {\n return this.fetchState == 'Completed';\n },\n};\n\nexport const initialState: UserGroupListViewState = {\n userGroupListByType: {\n taskManagerCandidate: initialUserGroupList,\n },\n};\n\nconst userGroupListView = createSlice({\n name: 'userGroupListView',\n initialState,\n reducers: {\n fetchUserGroupListByType: {\n reducer(\n draft,\n action: PayloadAction<{\n userGroupType: UserGroupListType;\n cacheOverride?: boolean;\n }>\n ) {\n const {userGroupType} = action.payload;\n draft.userGroupListByType[userGroupType].fetchState = 'In-Progress';\n draft.userGroupListByType[userGroupType].error = undefined;\n },\n prepare(userGroupType: UserGroupListType, cacheOverride = false) {\n return {\n payload: {\n userGroupType,\n cacheOverride,\n },\n };\n },\n },\n\n updateUserGroupIds(\n draft,\n action: PayloadAction<{\n userGroupsPayload: UserGroupPayload[];\n userGroupType: UserGroupListType;\n }>\n ) {\n const {userGroupType, userGroupsPayload} = action.payload;\n draft.userGroupListByType[userGroupType].fetchState = 'Completed';\n draft.userGroupListByType[userGroupType].error = undefined;\n draft.userGroupListByType[userGroupType].ids = userGroupsPayload.map(\n (userGroup) => userGroup.id\n );\n },\n\n addUserGroupId(\n draft,\n action: PayloadAction<{\n id: ID;\n userGroupType: UserGroupListType;\n }>\n ) {\n const {userGroupType, id} = action.payload;\n const index = draft.userGroupListByType[userGroupType].ids.indexOf(id);\n if (index < 0) {\n draft.userGroupListByType[userGroupType].ids.push(id);\n }\n },\n\n removeUserGroupId(\n draft,\n action: PayloadAction<{\n id: ID;\n userGroupType: UserGroupListType;\n }>\n ) {\n const {userGroupType, id} = action.payload;\n const index = draft.userGroupListByType[userGroupType].ids.indexOf(id);\n if (index > -1) {\n draft.userGroupListByType[userGroupType].ids.splice(index, 1);\n }\n },\n\n updateUserGroupListFetchFailure(\n draft,\n action: PayloadAction<{\n status: ZeniAPIStatus;\n userGroupType: UserGroupListType;\n }>\n ) {\n const {userGroupType, status} = action.payload;\n draft.userGroupListByType[userGroupType].fetchState = 'Error';\n draft.userGroupListByType[userGroupType].error = status;\n },\n\n clearUserGroupListView(draft) {\n Object.assign(draft, initialState);\n },\n },\n});\n\nexport const {\n fetchUserGroupListByType,\n updateUserGroupIds,\n addUserGroupId,\n removeUserGroupId,\n updateUserGroupListFetchFailure,\n clearUserGroupListView,\n} = userGroupListView.actions;\n\nexport default userGroupListView.reducer;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userGroupListViewSelector.js","sourceRoot":"","sources":["../../../../src/view/userGroupListView/userGroupListViewSelector.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,yBAAyB,EAAC,MAAM,4CAA4C,CAAC;AAcrF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,eAAgC,EAChC,sBAA8C,EAC9C,aAAgC,EACL,EAAE;IAC7B,MAAM,SAAS,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC;IAC5E,OAAO;QACL,UAAU,EAAE,qBAAqB,CAC/B,eAAe,EACf,sBAAsB,EACtB,aAAa,CACd;QACD,UAAU,EAAE,SAAS,EAAE,UAAU;QACjC,KAAK,EAAE,SAAS,EAAE,KAAK;QACvB,OAAO,EAAE,CAAC;KACX,CAAC;AACJ,CAAC,CAAC;AAEF,SAAS,qBAAqB,CAC5B,eAAgC,EAChC,sBAA8C,EAC9C,IAAuB;IAEvB,MAAM,YAAY,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;IAC1E,OAAO,YAAY;SAChB,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,yBAAyB,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC;SAC3D,MAAM,CAAC,CAAC,KAAK,EAAsB,EAAE,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC;AAC1D,CAAC","sourcesContent":["import {SelectorView} from '../../commonStateTypes/viewAndReport/viewAndReport';\nimport {getUserGroupByUserGroupId} from '../../entity/userGroups/userGroupsSelector';\nimport {\n UserGroup,\n UserGroupsState,\n} from '../../entity/userGroups/userGroupsState';\nimport {\n UserGroupListType,\n UserGroupListViewState,\n} from './userGroupListViewState';\n\nexport interface UserGroupListSelectorView extends SelectorView {\n userGroups: UserGroup[];\n}\n\nexport const getUserGroupList = (\n userGroupsState: UserGroupsState,\n userGroupListViewState: UserGroupListViewState,\n userGroupType: UserGroupListType\n): UserGroupListSelectorView => {\n const listState = userGroupListViewState.userGroupListByType[userGroupType];\n return {\n userGroups: getUserGroupListByIds(\n userGroupsState,\n userGroupListViewState,\n userGroupType\n ),\n fetchState: listState?.fetchState,\n error: listState?.error,\n version: 0,\n };\n};\n\nfunction getUserGroupListByIds(\n userGroupsState: UserGroupsState,\n userGroupListViewState: UserGroupListViewState,\n type: UserGroupListType\n): UserGroup[] {\n const userGroupIds = userGroupListViewState.userGroupListByType[type].ids;\n return userGroupIds\n .map((id) => getUserGroupByUserGroupId(userGroupsState, id))\n .filter((value): value is UserGroup => value != null);\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userGroupListViewState.js","sourceRoot":"","sources":["../../../../src/view/userGroupListView/userGroupListViewState.ts"],"names":[],"mappings":"","sourcesContent":["import {FetchedState, ID} from '../../commonStateTypes/common';\n\nexport type UserGroupListType = 'taskManagerCandidate';\n\nexport interface UserGroupIdsByType extends FetchedState {\n ids: ID[];\n}\n\nexport interface UserGroupListViewState {\n userGroupListByType: Record<UserGroupListType, UserGroupIdsByType>;\n}\n"]}
|