@zeniai/client-epic-state 5.3.23-beta0AN → 5.3.23-beta1AN
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/common/aiCfo/aiCfoSuggestedQuestionsPageContext.js +2 -0
- package/lib/commonPayloadTypes/agingReportPayloadTypes.js +27 -0
- package/lib/commonPayloadTypes/balanceChangePayload.js +24 -0
- package/lib/commonPayloadTypes/classesView/reportByClassPayloadV2.js +10 -0
- package/lib/commonPayloadTypes/coaBalanceByAdditionalPeriodPayload.js +14 -0
- package/lib/commonPayloadTypes/coaBalancePayload.js +64 -0
- package/lib/commonPayloadTypes/commonPayload.js +22 -0
- package/lib/commonPayloadTypes/recommendationBasePayloadCore.js +22 -0
- package/lib/commonPayloadTypes/recommendationPayload.js +128 -0
- package/lib/commonPayloadTypes/sortOrderPayload.js +11 -0
- package/lib/commonPayloadTypes/statusPayload.js +17 -0
- package/lib/commonPayloadTypes/subAccountView/reportBySubAccountPayload.js +2 -0
- package/lib/commonPayloadTypes/subAccountView/subAccountPayloadHelper.js +28 -0
- package/lib/commonPayloadTypes/urlPayload.js +8 -0
- package/lib/commonPayloadTypes/v2/coaBalancePayload.js +103 -0
- package/lib/commonPayloadTypes/v2/viewAndReportPayloadv2.js +30 -0
- package/lib/commonPayloadTypes/vendorRecommendationPayload.js +2 -0
- package/lib/commonPayloadTypes/viewAndReportPayload.js +27 -0
- package/lib/commonStateTypes/accountView/accountMetadataRecords.js +2 -0
- package/lib/commonStateTypes/accountView/getNestedAccountIDHierarchyForReport.js +115 -0
- package/lib/commonStateTypes/accountView/nestedAccountID.js +14 -0
- package/lib/commonStateTypes/agingBalance/agingBalance.js +16 -0
- package/lib/commonStateTypes/allowedValue.js +10 -0
- package/lib/commonStateTypes/amount.js +12 -0
- package/lib/commonStateTypes/animations.js +65 -0
- package/lib/commonStateTypes/balance.js +2 -0
- package/lib/commonStateTypes/balanceTimeseries.js +2 -0
- package/lib/commonStateTypes/bookCloseDateHelper.js +48 -0
- package/lib/commonStateTypes/bulkOperationType.js +2 -0
- package/lib/commonStateTypes/cacheOverrideFetchReducer.js +20 -0
- package/lib/commonStateTypes/classesView/classMetadataRecords.js +2 -0
- package/lib/commonStateTypes/classesView/getNestedClassIDHierarchyForReport.js +113 -0
- package/lib/commonStateTypes/classesView/nestedClassID.js +7 -0
- package/lib/commonStateTypes/coaBalance/additionalBalances/getAdditionalBalances.js +135 -0
- package/lib/commonStateTypes/coaBalance/additionalBalances/getComparisionBalance.js +151 -0
- package/lib/commonStateTypes/coaBalance/additionalBalances/getSamePeriodLastYearBalance.js +69 -0
- package/lib/commonStateTypes/coaBalance/additionalBalances/getSummationBalance.js +422 -0
- package/lib/commonStateTypes/coaBalance/additionalBalances/sliceCOABalances.js +52 -0
- package/lib/commonStateTypes/coaBalance/classBalances/getDifferenceOfBalancesGroupedByPeriod.js +61 -0
- package/lib/commonStateTypes/coaBalance/classBalances/getSumOfBalancesGroupedByPeriod.js +95 -0
- package/lib/commonStateTypes/coaBalance/coaBalance.js +32 -0
- package/lib/commonStateTypes/coaBalance/coaBalanceByAdditionalPeriod.js +2 -0
- package/lib/commonStateTypes/coaBalance/coaBalanceType.js +41 -0
- package/lib/commonStateTypes/coaBalance/coaBalancesFilter.js +65 -0
- package/lib/commonStateTypes/coaBalance/coaBalancesFilterClassesView.js +9 -0
- package/lib/commonStateTypes/coaBalance/coaBalancesFilterProjectView.js +9 -0
- package/lib/commonStateTypes/coaBalance/getCOABalancesSlice.js +107 -0
- package/lib/commonStateTypes/coaBalance/pickAndMergeForecast.js +65 -0
- package/lib/commonStateTypes/coaBalance/sortBalancesByFreeRangeTotal.js +41 -0
- package/lib/commonStateTypes/coaBalance/sortBalancesByTotalAmounts.js +43 -0
- package/lib/commonStateTypes/common.js +18 -0
- package/lib/commonStateTypes/currencyHelper.js +12 -0
- package/lib/commonStateTypes/customerView/getNestedCustomerHierarchy.js +45 -0
- package/lib/commonStateTypes/customerView/nestedCustomerID.js +2 -0
- package/lib/commonStateTypes/dataAvailable.js +53 -0
- package/lib/commonStateTypes/fileType.js +7 -0
- package/lib/commonStateTypes/filterPrimitives.js +21 -0
- package/lib/commonStateTypes/fiscalYearHelpers/addSubtractPeriod.js +31 -0
- package/lib/commonStateTypes/fiscalYearHelpers/formatMinutesToFromHHMM.js +26 -0
- package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.js +48 -0
- package/lib/commonStateTypes/fiscalYearHelpers/getActualPeriod.js +37 -0
- package/lib/commonStateTypes/fiscalYearHelpers/getFYMonths.js +28 -0
- package/lib/commonStateTypes/fiscalYearHelpers/getFYQuarterAndYear.js +62 -0
- package/lib/commonStateTypes/fiscalYearHelpers/getStartOfAndEndOfTimeframeFY.js +91 -0
- package/lib/commonStateTypes/fiscalYearHelpers/getVendorAllTransactionsDefaultTimePeriod.js +17 -0
- package/lib/commonStateTypes/numberToUnion.js +38 -0
- package/lib/commonStateTypes/projectView/projectViewParentID.js +2 -0
- package/lib/commonStateTypes/pusherActions.js +6 -0
- package/lib/commonStateTypes/recommendationBase.js +59 -0
- package/lib/commonStateTypes/recommendationBaseCore.js +2 -0
- package/lib/commonStateTypes/reduceFetchState.js +192 -0
- package/lib/commonStateTypes/reimbursementTypeCode.js +5 -0
- package/lib/commonStateTypes/selectorTypes/accountsViewSelectorReport.js +2 -0
- package/lib/commonStateTypes/selectorTypes/classesViewSelectorReport.js +2 -0
- package/lib/commonStateTypes/selectorTypes/entityOrder.js +2 -0
- package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastCalculatedSection.js +8 -0
- package/lib/commonStateTypes/selectorTypes/selectorTypes.js +2 -0
- package/lib/commonStateTypes/selectorTypes/sortOrderTypes.js +5 -0
- package/lib/commonStateTypes/status.js +2 -0
- package/lib/commonStateTypes/stringToUnion.js +37 -0
- package/lib/commonStateTypes/systemInfo.js +242 -0
- package/lib/commonStateTypes/timePeriod.js +92 -0
- package/lib/commonStateTypes/timeframeTick.js +23 -0
- package/lib/commonStateTypes/v2/viewAndReport.js +5 -0
- package/lib/commonStateTypes/vendorRecommendation.js +2 -0
- package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.js +15 -0
- package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +91 -0
- package/lib/commonStateTypes/viewAndReport/reportUIState.js +2 -0
- package/lib/commonStateTypes/viewAndReport/thisPeriodHelpers.js +108 -0
- package/lib/commonStateTypes/viewAndReport/viewAndReport.js +80 -0
- package/lib/commonStateTypes/workingDayHelper.js +123 -0
- package/lib/configureStore.js +114 -0
- package/lib/coreEpics.js +93 -0
- package/lib/entity/account/accountPayload.js +109 -0
- package/lib/entity/account/accountReducer.js +183 -0
- package/lib/entity/account/accountSelector.js +253 -0
- package/lib/entity/account/accountState.js +81 -0
- package/lib/entity/account/pickAndMergeForecastAccountReport.js +110 -0
- package/lib/entity/account/subAccountSelector.js +63 -0
- package/lib/entity/accountGroup/accountGroupPayload.js +2 -0
- package/lib/entity/accountGroup/accountGroupReducer.js +140 -0
- package/lib/entity/accountGroup/accountGroupSelector.js +158 -0
- package/lib/entity/accountGroup/accountGroupState.js +26 -0
- package/lib/entity/accountGroup/accountGroupV2Selector.js +85 -0
- package/lib/entity/accountGroup/pickAndMergeForecastAcGroupReport.js +84 -0
- package/lib/entity/accountRecon/accountReconPayload.js +197 -0
- package/lib/entity/accountRecon/accountReconReducer.js +215 -0
- package/lib/entity/accountRecon/accountReconSelector.js +64 -0
- package/lib/entity/accountRecon/accountReconState.js +59 -0
- package/lib/entity/actualMatching/actualMatchingPayload.js +52 -0
- package/lib/entity/actualMatching/actualMatchingReducer.js +42 -0
- package/lib/entity/actualMatching/actualMatchingSelector.js +6 -0
- package/lib/entity/actualMatching/actualMatchingState.js +2 -0
- package/lib/entity/actualMatching/actualMatchingTypes.js +2 -0
- package/lib/entity/address/addressPayload.js +2 -0
- package/lib/entity/address/addressReducer.js +63 -0
- package/lib/entity/address/addressSelector.js +17 -0
- package/lib/entity/address/addressState.js +2 -0
- package/lib/entity/aiAccountantCustomer/aiAccountantCustomerPayload.js +68 -0
- package/lib/entity/aiAccountantCustomer/aiAccountantCustomerReducer.js +53 -0
- package/lib/entity/aiAccountantCustomer/aiAccountantCustomerSelector.js +66 -0
- package/lib/entity/aiAccountantCustomer/aiAccountantCustomerState.js +52 -0
- package/lib/entity/aiCfo/aiCfoPayload.js +2 -0
- package/lib/entity/aiCfo/aiCfoReducer.js +908 -0
- package/lib/entity/aiCfo/aiCfoSelector.js +60 -0
- package/lib/entity/aiCfo/aiCfoState.js +100 -0
- package/lib/entity/approvalRule/approvalRuleConflict.js +92 -0
- package/lib/entity/approvalRule/approvalRulePayload.js +186 -0
- package/lib/entity/approvalRule/approvalRuleReducer.js +31 -0
- package/lib/entity/approvalRule/approvalRuleSelector.js +53 -0
- package/lib/entity/approvalRule/approvalRuleState.js +27 -0
- package/lib/entity/approvalRule/approvalStepTypes.js +13 -0
- package/lib/entity/bankAccount/bankAccount.js +2 -0
- package/lib/entity/bankAccount/bankAccountPayload.js +26 -0
- package/lib/entity/bankAccount/bankAccountReducer.js +33 -0
- package/lib/entity/bankAccount/bankAccountSelector.js +15 -0
- package/lib/entity/billPay/billTransaction/billTransactionPayload.js +186 -0
- package/lib/entity/billPay/billTransaction/billTransactionReducer.js +89 -0
- package/lib/entity/billPay/billTransaction/billTransactionState.js +107 -0
- package/lib/entity/billPay/billTransaction/internationalTransferFeeBearerPaymentMethod.js +10 -0
- package/lib/entity/billPay/contact/contact.js +2 -0
- package/lib/entity/billPay/contact/contactPayload.js +22 -0
- package/lib/entity/billPay/contact/contactReducer.js +32 -0
- package/lib/entity/billPay/contact/contactSelector.js +17 -0
- package/lib/entity/billPay/recurringBills/recurringBillsPayload.js +58 -0
- package/lib/entity/billPay/recurringBills/recurringBillsReducer.js +42 -0
- package/lib/entity/billPay/recurringBills/recurringBillsState.js +14 -0
- package/lib/entity/cardPayment/cardPaymentPayload.js +15 -0
- package/lib/entity/cardPayment/cardPaymentReducer.js +53 -0
- package/lib/entity/cardPayment/cardPaymentSelector.js +16 -0
- package/lib/entity/cardPayment/cardPaymentState.js +2 -0
- package/lib/entity/cardPolicy/cardPolicyPayload.js +143 -0
- package/lib/entity/cardPolicy/cardPolicyReducer.js +178 -0
- package/lib/entity/cardPolicy/cardPolicySelector.js +99 -0
- package/lib/entity/cardPolicy/cardPolicyState.js +14 -0
- package/lib/entity/cardPolicy/extractPolicyDocumentEpic.js +68 -0
- package/lib/entity/cardPolicy/fetchCardPolicyVendorOptionsEpic.js +47 -0
- package/lib/entity/cardPolicy/policyDocumentExtractionToRecommendationBridgeEpic.js +39 -0
- package/lib/entity/cardPolicy/policyRecommendationFromUploadEpic.js +105 -0
- package/lib/entity/chargeCard/chargeCard.js +68 -0
- package/lib/entity/chargeCard/chargeCardPayload.js +104 -0
- package/lib/entity/chargeCard/chargeCardReducer.js +90 -0
- package/lib/entity/chargeCard/chargeCardSelector.js +21 -0
- package/lib/entity/chargeCardRepayment/chargeCardRepayment.js +17 -0
- package/lib/entity/chargeCardRepayment/chargeCardRepaymentPayload.js +34 -0
- package/lib/entity/chargeCardRepayment/chargeCardRepaymentReducer.js +44 -0
- package/lib/entity/chargeCardRepayment/chargeCardRepaymentSelector.js +17 -0
- package/lib/entity/chargeCardTransaction/chargeCardTransaction.js +20 -0
- package/lib/entity/chargeCardTransaction/chargeCardTransactionPayload.js +69 -0
- package/lib/entity/chargeCardTransaction/chargeCardTransactionReducer.js +94 -0
- package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.js +16 -0
- package/lib/entity/class/classPayload.js +110 -0
- package/lib/entity/class/classReducer.js +96 -0
- package/lib/entity/class/classSelector.js +110 -0
- package/lib/entity/class/classSelectorTypes.js +2 -0
- package/lib/entity/class/classSelectorV2.js +140 -0
- package/lib/entity/class/classState.js +14 -0
- package/lib/entity/company/cardsVisibilityHelpers.js +14 -0
- package/lib/entity/company/companyHelper.js +40 -0
- package/lib/entity/company/companyPayload.js +464 -0
- package/lib/entity/company/companyReducer.js +215 -0
- package/lib/entity/company/companySelector.js +104 -0
- package/lib/entity/company/companyState.js +2 -0
- package/lib/entity/company/companyStateTypes.js +33 -0
- package/lib/entity/companyHealthMetric/companyHealthMetricPayload.js +90 -0
- package/lib/entity/companyHealthMetric/companyHealthMetricReducer.js +36 -0
- package/lib/entity/companyHealthMetric/companyHealthMetricSelector.js +17 -0
- package/lib/entity/companyHealthMetric/companyHealthMetricState.js +2 -0
- package/lib/entity/connectedAccount/connectedAccount.js +10 -0
- package/lib/entity/connectedAccount/connectedAccountPayload.js +15 -0
- package/lib/entity/connectedAccount/connectedAccountReducer.js +30 -0
- package/lib/entity/connectedAccount/connectedAccountSelector.js +17 -0
- package/lib/entity/countryList/countryListReducer.js +34 -0
- package/lib/entity/countryList/countryListSelector.js +10 -0
- package/lib/entity/countryList/countryListState.js +2 -0
- package/lib/entity/countryList/payloads/countryListPayload.js +9 -0
- package/lib/entity/countryList/payloads/nationalityCountryListPayload.js +2 -0
- package/lib/entity/creditAgent/creditAgentPayload.js +40 -0
- package/lib/entity/creditAgent/creditAgentReducer.js +40 -0
- package/lib/entity/creditAgent/creditAgentSelector.js +10 -0
- package/lib/entity/creditAgent/creditAgentState.js +17 -0
- package/lib/entity/currency/currency.js +2 -0
- package/lib/entity/currency/currencyPayload.js +13 -0
- package/lib/entity/currency/currencyReducer.js +34 -0
- package/lib/entity/currency/currencySelector.js +20 -0
- package/lib/entity/customer/customerPayload.js +112 -0
- package/lib/entity/customer/customerReducer.js +47 -0
- package/lib/entity/customer/customerSelector.js +6 -0
- package/lib/entity/customer/customerState.js +2 -0
- package/lib/entity/customerIncome/customerIncomeTrend.js +150 -0
- package/lib/entity/customerIncome/customerIncomeTrendKey.js +6 -0
- package/lib/entity/customerIncome/customerIncomeTrendReducer.js +56 -0
- package/lib/entity/customerIncome/customerIncomeTrendSelector.js +23 -0
- package/lib/entity/customerIncome/customerIncomeTrendState.js +2 -0
- package/lib/entity/customerSatisfaction/customerSatisfactionPayload.js +2 -0
- package/lib/entity/customerSatisfaction/customerSatisfactionReducer.js +27 -0
- package/lib/entity/customerSatisfaction/customerSatisfactionReducerHelpers.js +38 -0
- package/lib/entity/customerSatisfaction/customerSatisfactionSelector.js +44 -0
- package/lib/entity/customerSatisfaction/customerSatisfactionSelectorReducerTypes.js +2 -0
- package/lib/entity/customerSatisfaction/customerSatisfactionState.js +32 -0
- package/lib/entity/depositAccount/depositAccount.js +17 -0
- package/lib/entity/depositAccount/depositAccountPayload.js +68 -0
- package/lib/entity/depositAccount/depositAccountReducer.js +40 -0
- package/lib/entity/depositAccount/depositAccountSelector.js +27 -0
- package/lib/entity/depositAccountTransaction/depositAccountTransaction.js +39 -0
- package/lib/entity/depositAccountTransaction/depositAccountTransactionPayload.js +30 -0
- package/lib/entity/depositAccountTransaction/depositAccountTransactionReducer.js +32 -0
- package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.js +16 -0
- package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.js +72 -0
- package/lib/entity/entityApprovalStatus/entityApprovalStatusReducer.js +30 -0
- package/lib/entity/entityApprovalStatus/entityApprovalStatusSelector.js +13 -0
- package/lib/entity/entityApprovalStatus/entityApprovalStatusState.js +36 -0
- package/lib/entity/file/filePayload.js +2 -0
- package/lib/entity/file/fileReducer.js +115 -0
- package/lib/entity/file/fileSelector.js +34 -0
- package/lib/entity/file/fileState.js +115 -0
- package/lib/entity/forecast/forecastPayload.js +21 -0
- package/lib/entity/forecast/forecastReducer.js +33 -0
- package/lib/entity/forecast/forecastSelector.js +13 -0
- package/lib/entity/forecast/forecastState.js +5 -0
- package/lib/entity/genericEntity/customerWithSubCustomersId.js +17 -0
- package/lib/entity/genericEntity/entity.js +10 -0
- package/lib/entity/genericEntity/entityPayload.js +20 -0
- package/lib/entity/genericEntity/entityReducer.js +38 -0
- package/lib/entity/genericEntity/entitySelector.js +8 -0
- package/lib/entity/genericEntity/entityState.js +2 -0
- package/lib/entity/globalMerchant/globalMerchantPayload.js +119 -0
- package/lib/entity/globalMerchant/globalMerchantReducer.js +93 -0
- package/lib/entity/globalMerchant/globalMerchantSelector.js +24 -0
- package/lib/entity/globalMerchant/globalMerchantState.js +6 -0
- package/lib/entity/insights/insightPayload.js +2 -0
- package/lib/entity/insights/insightReducer.js +64 -0
- package/lib/entity/insights/insightSelector.js +8 -0
- package/lib/entity/insights/insightState.js +17 -0
- package/lib/entity/insights/insightSummary.js +2 -0
- package/lib/entity/insights/insightSummaryPayload.js +15 -0
- package/lib/entity/invoicing/coupon/couponPayload.js +48 -0
- package/lib/entity/invoicing/coupon/couponReducer.js +50 -0
- package/lib/entity/invoicing/coupon/couponSelector.js +21 -0
- package/lib/entity/invoicing/coupon/couponState.js +2 -0
- package/lib/entity/invoicing/coupon/couponTypes.js +2 -0
- package/lib/entity/invoicing/creditNote/creditNotePayload.js +66 -0
- package/lib/entity/invoicing/creditNote/creditNoteReducer.js +52 -0
- package/lib/entity/invoicing/creditNote/creditNoteSelector.js +17 -0
- package/lib/entity/invoicing/creditNote/creditNoteState.js +2 -0
- package/lib/entity/invoicing/creditNote/creditNoteTypes.js +2 -0
- package/lib/entity/invoicing/dunningCase/dunningCasePayload.js +37 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseReducer.js +52 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseSelector.js +17 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseState.js +2 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseTypes.js +2 -0
- package/lib/entity/invoicing/invoice/invoicePayload.js +154 -0
- package/lib/entity/invoicing/invoice/invoiceReducer.js +52 -0
- package/lib/entity/invoicing/invoice/invoiceSelector.js +16 -0
- package/lib/entity/invoicing/invoice/invoiceState.js +2 -0
- package/lib/entity/invoicing/invoice/invoiceTypes.js +2 -0
- package/lib/entity/invoicing/invoicingCatalog/invoicingCatalogPayload.js +138 -0
- package/lib/entity/invoicing/invoicingCatalog/invoicingCatalogReducer.js +74 -0
- package/lib/entity/invoicing/invoicingCatalog/invoicingCatalogSelector.js +59 -0
- package/lib/entity/invoicing/invoicingCatalog/invoicingCatalogState.js +2 -0
- package/lib/entity/invoicing/invoicingCommonPayload.js +318 -0
- package/lib/entity/invoicing/invoicingCommonState.js +2 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +100 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +50 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.js +65 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.js +2 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +118 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +52 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.js +17 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +2 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionTypes.js +2 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionPayload.js +62 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +52 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionSelector.js +17 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionState.js +2 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionTypes.js +2 -0
- package/lib/entity/jeSchedules/jeScheduleHelper.js +13 -0
- package/lib/entity/jeSchedules/jeSchedulesPayload.js +578 -0
- package/lib/entity/jeSchedules/jeSchedulesReducer.js +324 -0
- package/lib/entity/jeSchedules/jeSchedulesSelector.js +178 -0
- package/lib/entity/jeSchedules/jeSchedulesState.js +2 -0
- package/lib/entity/jeSchedules/jeSchedulesTypes.js +140 -0
- package/lib/entity/jeSchedules/updateAccruedJESchedulesEpic.js +41 -0
- package/lib/entity/jeSchedules/updateJESchedulesEpic.js +68 -0
- package/lib/entity/merchant/merchant.js +2 -0
- package/lib/entity/merchant/merchantPayload.js +30 -0
- package/lib/entity/merchant/merchantReducer.js +41 -0
- package/lib/entity/merchant/merchantSelector.js +17 -0
- package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js +91 -0
- package/lib/entity/monthEndCloseChecks/monthEndCloseChecksReducer.js +30 -0
- package/lib/entity/monthEndCloseChecks/monthEndCloseChecksSelector.js +35 -0
- package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.js +10 -0
- package/lib/entity/notification/notificationPayload.js +144 -0
- package/lib/entity/notification/notificationReducer.js +120 -0
- package/lib/entity/notification/notificationSelector.js +40 -0
- package/lib/entity/notification/notificationState.js +2 -0
- package/lib/entity/notification/types/notificationSelectorTypes.js +2 -0
- package/lib/entity/notification/types/notificationStateTypes.js +2 -0
- package/lib/entity/notification/types/notificationTypes.js +49 -0
- package/lib/entity/notificationRegistry/notificationRegistryPayload.js +31 -0
- package/lib/entity/notificationRegistry/notificationRegistryReducer.js +52 -0
- package/lib/entity/notificationRegistry/notificationRegistrySelector.js +10 -0
- package/lib/entity/notificationRegistry/notificationRegistryState.js +10 -0
- package/lib/entity/onboardingCustomer/onboardingCustomerPayload.js +27 -0
- package/lib/entity/onboardingCustomer/onboardingCustomerReducer.js +32 -0
- package/lib/entity/onboardingCustomer/onboardingCustomerSelector.js +16 -0
- package/lib/entity/onboardingCustomer/onboardingCustomerState.js +2 -0
- package/lib/entity/paymentAccount/paymentAccountPayload.js +57 -0
- package/lib/entity/paymentAccount/paymentAccountReducer.js +41 -0
- package/lib/entity/paymentAccount/paymentAccountSelector.js +39 -0
- package/lib/entity/paymentAccount/paymentAccountState.js +9 -0
- package/lib/entity/paymentInstrument/paymentInstrument.js +2 -0
- package/lib/entity/paymentInstrument/paymentInstrumentPayload.js +21 -0
- package/lib/entity/paymentInstrument/paymentInstrumentReducer.js +37 -0
- package/lib/entity/paymentInstrument/paymentInstrumentSelector.js +17 -0
- package/lib/entity/portfolio/accountingSummary/accountingSummaryPayload.js +2 -0
- package/lib/entity/portfolio/accountingSummary/accountingSummaryReducer.js +79 -0
- package/lib/entity/portfolio/accountingSummary/accountingSummarySelector.js +17 -0
- package/lib/entity/portfolio/accountingSummary/accountingSummaryState.js +2 -0
- package/lib/entity/project/projectPayload.js +44 -0
- package/lib/entity/project/projectReducer.js +33 -0
- package/lib/entity/project/projectSelector.js +12 -0
- package/lib/entity/project/projectState.js +2 -0
- package/lib/entity/reconciliationReport/reconciliationReportPayload.js +2 -0
- package/lib/entity/reconciliationReport/reconciliationReportReducer.js +152 -0
- package/lib/entity/reconciliationReport/reconciliationReportSelector.js +10 -0
- package/lib/entity/reconciliationReport/reconciliationReportState.js +18 -0
- package/lib/entity/reimbursement/reimbursementPayload.js +205 -0
- package/lib/entity/reimbursement/reimbursementReducer.js +75 -0
- package/lib/entity/reimbursement/reimbursementState.js +2 -0
- package/lib/entity/reimbursement/reimbursementTypes.js +7 -0
- package/lib/entity/sectionAccountsView/getNestedAccountIDHierarchyForSection.js +62 -0
- package/lib/entity/sectionAccountsView/sectionAccountsView.js +6 -0
- package/lib/entity/sectionAccountsView/sectionAccountsViewEpic.js +56 -0
- package/lib/entity/sectionAccountsView/sectionAccountsViewHelper.js +15 -0
- package/lib/entity/sectionAccountsView/sectionAccountsViewReducer.js +104 -0
- package/lib/entity/sectionAccountsView/sectionAccountsViewSelector.js +85 -0
- package/lib/entity/sectionAccountsView/sectionAccountsViewState.js +2 -0
- package/lib/entity/sectionClassesViewV2/sectionClassesView.js +6 -0
- package/lib/entity/sectionClassesViewV2/sectionClassesViewEpic.js +59 -0
- package/lib/entity/sectionClassesViewV2/sectionClassesViewHelper.js +14 -0
- package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.js +57 -0
- package/lib/entity/sectionClassesViewV2/sectionClassesViewSelector.js +54 -0
- package/lib/entity/sectionClassesViewV2/sectionClassesViewSelectorTypes.js +2 -0
- package/lib/entity/sectionClassesViewV2/sectionClassesViewState.js +2 -0
- package/lib/entity/sectionClassesViewV2/selectorHelpers/getNestedClassIDHierarchyForSection.js +59 -0
- package/lib/entity/sectionProjectView/sectionProjectView.js +6 -0
- package/lib/entity/sectionProjectView/sectionProjectViewEpic.js +60 -0
- package/lib/entity/sectionProjectView/sectionProjectViewHelper.js +15 -0
- package/lib/entity/sectionProjectView/sectionProjectViewReducer.js +67 -0
- package/lib/entity/sectionProjectView/sectionProjectViewSelector.js +57 -0
- package/lib/entity/sectionProjectView/sectionProjectViewSelectorTypes.js +2 -0
- package/lib/entity/sectionProjectView/sectionProjectViewState.js +2 -0
- package/lib/entity/snackbar/snackbarApiError.js +15 -0
- package/lib/entity/snackbar/snackbarReducer.js +42 -0
- package/lib/entity/snackbar/snackbarSelector.js +12 -0
- package/lib/entity/snackbar/snackbarState.js +2 -0
- package/lib/entity/snackbar/snackbarTypes.js +288 -0
- package/lib/entity/subscription/subscription/subscriptionPayload.js +2 -0
- package/lib/entity/subscription/subscription/subscriptionReducer.js +83 -0
- package/lib/entity/subscription/subscription/subscriptionSelector.js +26 -0
- package/lib/entity/subscription/subscription/subscriptionState.js +2 -0
- package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnPayload.js +2 -0
- package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnReducer.js +65 -0
- package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnSelector.js +25 -0
- package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnState.js +2 -0
- package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponPayload.js +2 -0
- package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponReducer.js +59 -0
- package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponSelector.js +25 -0
- package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponState.js +2 -0
- package/lib/entity/subscription/subscriptionPlan/subscriptionPlanPayload.js +2 -0
- package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js +69 -0
- package/lib/entity/subscription/subscriptionPlan/subscriptionPlanSelector.js +26 -0
- package/lib/entity/subscription/subscriptionPlan/subscriptionPlanState.js +2 -0
- package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryPayload.js +2 -0
- package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryReducer.js +77 -0
- package/lib/entity/subscription/subscriptionSummary/subscriptionSummarySelector.js +38 -0
- package/lib/entity/subscription/subscriptionSummary/subscriptionSummaryState.js +2 -0
- package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountPayload.js +22 -0
- package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountReducer.js +31 -0
- package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountSelector.js +17 -0
- package/lib/entity/subscriptionPaymentAccount/subscriptionPaymentAccountState.js +2 -0
- package/lib/entity/tag/tagPayload.js +12 -0
- package/lib/entity/tag/tagReducer.js +52 -0
- package/lib/entity/tag/tagSelector.js +17 -0
- package/lib/entity/tag/tagState.js +2 -0
- package/lib/entity/task/taskPayload.js +81 -0
- package/lib/entity/task/taskReducer.js +61 -0
- package/lib/entity/task/taskSelector.js +17 -0
- package/lib/entity/task/taskState.js +32 -0
- package/lib/entity/taskGroup/taskGroupPayload.js +13 -0
- package/lib/entity/taskGroup/taskGroupReducer.js +36 -0
- package/lib/entity/taskGroup/taskGroupSelector.js +17 -0
- package/lib/entity/taskGroup/taskGroupState.js +2 -0
- package/lib/entity/taskGroupTemplate/taskGroupTemplatePayload.js +2 -0
- package/lib/entity/taskGroupTemplate/taskGroupTemplateReducer.js +34 -0
- package/lib/entity/taskGroupTemplate/taskGroupTemplateSelector.js +17 -0
- package/lib/entity/taskGroupTemplate/taskGroupTemplateState.js +2 -0
- package/lib/entity/taskSummary/taskSummaryPayload.js +2 -0
- package/lib/entity/taskSummary/taskSummaryReducer.js +35 -0
- package/lib/entity/taskSummary/taskSummarySelector.js +17 -0
- package/lib/entity/taskSummary/taskSummaryState.js +2 -0
- package/lib/entity/tenant/SessionManager.js +340 -0
- package/lib/entity/tenant/epic/deleteConnectionEpic.js +29 -0
- package/lib/entity/tenant/epic/doMagicLinkSignInEpic.js +46 -0
- package/lib/entity/tenant/epic/fetchActiveTenantEpic.js +48 -0
- package/lib/entity/tenant/epic/fetchAllTenantsEpic.js +117 -0
- package/lib/entity/tenant/epic/fetchExcludedResourcesEpic.js +19 -0
- package/lib/entity/tenant/epic/fetchExternalConnectionsEpic.js +19 -0
- package/lib/entity/tenant/epic/fetchSubscriptionSummaryForTenantEpic.js +16 -0
- package/lib/entity/tenant/epic/initEmailConnectOAuthEpic.js +59 -0
- package/lib/entity/tenant/epic/resendVerifyDeviceOTPEpic.js +39 -0
- package/lib/entity/tenant/epic/saveAPIKeyConnectionEpic.js +35 -0
- package/lib/entity/tenant/epic/saveConnectorCredentialsEpic.js +42 -0
- package/lib/entity/tenant/epic/saveExternalConnectionEpic.js +83 -0
- package/lib/entity/tenant/epic/saveOAuthConnectionEpic.js +37 -0
- package/lib/entity/tenant/epic/sendEmailMagicLinkToUserEpic.js +64 -0
- package/lib/entity/tenant/epic/sessionHeartbeatEpic.js +25 -0
- package/lib/entity/tenant/epic/signInUserEpic.js +37 -0
- package/lib/entity/tenant/epic/signOutUserEpic.js +21 -0
- package/lib/entity/tenant/epic/verifyDeviceWithTwoFAEpic.js +42 -0
- package/lib/entity/tenant/sessionTypes.js +12 -0
- package/lib/entity/tenant/tenantPayload.js +7 -0
- package/lib/entity/tenant/tenantReducer.js +1223 -0
- package/lib/entity/tenant/tenantSelector.js +377 -0
- package/lib/entity/tenant/tenantState.js +7 -0
- package/lib/entity/tenant/tenantTypes.js +15 -0
- package/lib/entity/toastNotification/epic/pushToastNotificationEpic.js +41 -0
- package/lib/entity/toastNotification/toastNotificationConstants.js +7 -0
- package/lib/entity/toastNotification/toastNotificationPayload.js +45 -0
- package/lib/entity/toastNotification/toastNotificationReducer.js +47 -0
- package/lib/entity/toastNotification/toastNotificationSelector.js +11 -0
- package/lib/entity/toastNotification/toastNotificationState.js +78 -0
- package/lib/entity/transaction/payloadTypes/attachmentPayload.js +29 -0
- package/lib/entity/transaction/payloadTypes/customerTransactionPayload.js +35 -0
- package/lib/entity/transaction/payloadTypes/otherTransactionPayload.js +56 -0
- package/lib/entity/transaction/payloadTypes/reconciliationTransactionPayloads.js +83 -0
- package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.js +40 -0
- package/lib/entity/transaction/payloadTypes/transactionIDPayload.js +14 -0
- package/lib/entity/transaction/payloadTypes/transactionLinePayload.js +228 -0
- package/lib/entity/transaction/payloadTypes/transactionPayload.js +356 -0
- package/lib/entity/transaction/payloadTypes/vendorTransactionPayload.js +67 -0
- package/lib/entity/transaction/stateTypes/attachment.js +44 -0
- package/lib/entity/transaction/stateTypes/customerTransaction.js +6 -0
- package/lib/entity/transaction/stateTypes/otherTransaction.js +8 -0
- package/lib/entity/transaction/stateTypes/paymentType.js +17 -0
- package/lib/entity/transaction/stateTypes/printStatus.js +11 -0
- package/lib/entity/transaction/stateTypes/reconciliationTransaction.js +10 -0
- package/lib/entity/transaction/stateTypes/scheduleTransaction.js +2 -0
- package/lib/entity/transaction/stateTypes/transaction.js +2 -0
- package/lib/entity/transaction/stateTypes/transactionID.js +2 -0
- package/lib/entity/transaction/stateTypes/transactionLine.js +31 -0
- package/lib/entity/transaction/stateTypes/transactionType.js +72 -0
- package/lib/entity/transaction/stateTypes/vendorTransaction.js +10 -0
- package/lib/entity/transaction/toSupportedTransaction.js +26 -0
- package/lib/entity/transaction/transactionHelper.js +164 -0
- package/lib/entity/transaction/transactionReducer.js +191 -0
- package/lib/entity/transaction/transactionSelector.js +29 -0
- package/lib/entity/transaction/transactionState.js +2 -0
- package/lib/entity/transactionActivityLog/transactionActivityLogPayload.js +59 -0
- package/lib/entity/transactionActivityLog/transactionActivityLogReducer.js +29 -0
- package/lib/entity/transactionActivityLog/transactionActivityLogSelector.js +17 -0
- package/lib/entity/transactionActivityLog/transactionActivityLogState.js +20 -0
- package/lib/entity/user/userPayload.js +2 -0
- package/lib/entity/user/userReducer.js +89 -0
- package/lib/entity/user/userSelector.js +47 -0
- package/lib/entity/user/userState.js +2 -0
- package/lib/entity/userGroups/userGroupsPayload.js +10 -0
- package/lib/entity/userGroups/userGroupsReducer.js +32 -0
- package/lib/entity/userGroups/userGroupsSelector.js +12 -0
- package/lib/entity/userGroups/userGroupsState.js +2 -0
- package/lib/entity/userRole/userRolePayload.js +107 -0
- package/lib/entity/userRole/userRoleReducer.js +107 -0
- package/lib/entity/userRole/userRoleSelector.js +13 -0
- package/lib/entity/userRole/userRoleState.js +6 -0
- package/lib/entity/userRole/userRoleTenantAccess.js +102 -0
- package/lib/entity/userRole/userRoleType.js +450 -0
- package/lib/entity/vendor/__mocks__/vendorMock.js +311 -0
- package/lib/entity/vendor/__mocks__/vendorStateMocks.js +415 -0
- package/lib/entity/vendor/vendorPayload.js +123 -0
- package/lib/entity/vendor/vendorReducer.js +76 -0
- package/lib/entity/vendor/vendorSelector.js +27 -0
- package/lib/entity/vendor/vendorState.js +10 -0
- package/lib/entity/vendor/vendorType.js +10 -0
- package/lib/entity/vendorExpense/vendorExpenseReducer.js +80 -0
- package/lib/entity/vendorExpense/vendorExpenseSelector.js +20 -0
- package/lib/entity/vendorExpense/vendorExpenseState.js +2 -0
- package/lib/entity/vendorExpense/vendorExpenseTrend.js +139 -0
- package/lib/entity/vendorExpense/vendorExpenseTrendKey.js +6 -0
- package/lib/entity/vendorExpense/vendorSpendTrendFilterTabType.js +19 -0
- package/lib/epic.js +1605 -0
- package/lib/epicManager.js +26 -0
- package/lib/externalAPI.js +2 -0
- package/lib/init.js +150 -0
- package/lib/pusherClient.js +151 -0
- package/lib/reducer.js +899 -0
- package/lib/responsePayload.js +10 -0
- package/lib/rootActions.js +21 -0
- package/lib/rootStateTypes.js +2 -0
- package/lib/sessionEndpointsLoader.js +11 -0
- package/lib/view/accountList/accountListPayload.js +2 -0
- package/lib/view/accountList/accountListReducer.js +114 -0
- package/lib/view/accountList/accountListSelector.js +83 -0
- package/lib/view/accountList/accountListState.js +2 -0
- package/lib/view/accountList/fetchAccountListEpic.js +55 -0
- package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +4659 -0
- package/lib/view/accountMappingView/accountMappingPayload.js +160 -0
- package/lib/view/accountMappingView/accountMappingReducer.js +336 -0
- package/lib/view/accountMappingView/accountMappingState.js +2 -0
- package/lib/view/accountMappingView/accountMappingTypeHelper.js +2 -0
- package/lib/view/accountMappingView/accountMappingViewSelector.js +130 -0
- package/lib/view/accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload.js +67 -0
- package/lib/view/accountMappingView/accountTypeRecommendation/fetchRecommendationForAccountTypeEpic.js +27 -0
- package/lib/view/accountMappingView/fetchAccountListForAccountTypesEpic.js +41 -0
- package/lib/view/accountMappingView/initializeAccountMappingViewEpic.js +15 -0
- package/lib/view/accountMappingView/saveAccountMappingViewEpic.js +52 -0
- package/lib/view/addressView/__mocks__/addressViewMocks.js +239 -0
- package/lib/view/addressView/addressViewPayload.js +23 -0
- package/lib/view/addressView/addressViewReducer.js +196 -0
- package/lib/view/addressView/addressViewSelector.js +38 -0
- package/lib/view/addressView/addressViewState.js +2 -0
- package/lib/view/addressView/epic/createAddressEpic.js +45 -0
- package/lib/view/addressView/epic/createCompanyAddressEpic.js +48 -0
- package/lib/view/addressView/epic/createCompanyUserAddressEpic.js +57 -0
- package/lib/view/addressView/epic/fetchAddressEpic.js +33 -0
- package/lib/view/addressView/epic/saveNewAddressEpic.js +33 -0
- package/lib/view/addressView/epic/updateAddressEpic.js +29 -0
- package/lib/view/addressView/toAddressViewLocalData.js +37 -0
- package/lib/view/aiAccountantView/aiAccountantViewPayload.js +8 -0
- package/lib/view/aiAccountantView/aiAccountantViewReducer.js +157 -0
- package/lib/view/aiAccountantView/aiAccountantViewSelector.js +83 -0
- package/lib/view/aiAccountantView/aiAccountantViewState.js +13 -0
- package/lib/view/aiAccountantView/epics/cancelAiAccountantOnboardingEpic.js +50 -0
- package/lib/view/aiAccountantView/epics/fetchAiAccountantCustomersEpic.js +28 -0
- package/lib/view/aiAccountantView/epics/fetchAiAccountantJobsEpic.js +48 -0
- package/lib/view/aiAccountantView/epics/triggerAiAccountantJobEpic.js +83 -0
- package/lib/view/aiAgentPerformance/aggregatedReportEpic.js +29 -0
- package/lib/view/aiAgentPerformance/aggregatedReportPayload.js +2 -0
- package/lib/view/aiAgentPerformance/aggregatedReportViewReducer.js +166 -0
- package/lib/view/aiAgentPerformance/aggregatedReportViewSelector.js +12 -0
- package/lib/view/aiAgentPerformance/aggregatedReportViewState.js +45 -0
- package/lib/view/aiAgentPerformance/performanceHelper.js +54 -0
- package/lib/view/aiCfoView/aiCfoViewPayload.js +2 -0
- package/lib/view/aiCfoView/aiCfoViewReducer.js +1254 -0
- package/lib/view/aiCfoView/aiCfoViewSelector.js +178 -0
- package/lib/view/aiCfoView/aiCfoViewState.js +2 -0
- package/lib/view/aiCfoView/epics/acceptMasterTOSEpic.js +28 -0
- package/lib/view/aiCfoView/epics/createSessionAndSubmitEpic.js +151 -0
- package/lib/view/aiCfoView/epics/createSessionEpic.js +38 -0
- package/lib/view/aiCfoView/epics/deleteChatSessionEpic.js +59 -0
- package/lib/view/aiCfoView/epics/deleteRoutineEpic.js +39 -0
- package/lib/view/aiCfoView/epics/deleteSkillEpic.js +27 -0
- package/lib/view/aiCfoView/epics/fetchChatHistoryEpic.js +47 -0
- package/lib/view/aiCfoView/epics/fetchChatSessionsForUserEpic.js +35 -0
- package/lib/view/aiCfoView/epics/fetchRoutineRunsEpic.js +39 -0
- package/lib/view/aiCfoView/epics/fetchRoutinesEpic.js +41 -0
- package/lib/view/aiCfoView/epics/fetchSkillDetailEpic.js +39 -0
- package/lib/view/aiCfoView/epics/fetchSkillVersionBodyEpic.js +49 -0
- package/lib/view/aiCfoView/epics/fetchSkillVersionsEpic.js +41 -0
- package/lib/view/aiCfoView/epics/fetchSkillsEpic.js +68 -0
- package/lib/view/aiCfoView/epics/fetchSuggestedQuestionsEpic.js +43 -0
- package/lib/view/aiCfoView/epics/runRoutineEpic.js +38 -0
- package/lib/view/aiCfoView/epics/saveRoutineEpic.js +69 -0
- package/lib/view/aiCfoView/epics/saveSkillEpic.js +76 -0
- package/lib/view/aiCfoView/epics/setRoutineEnabledEpic.js +32 -0
- package/lib/view/aiCfoView/epics/setSkillVisibilityEpic.js +36 -0
- package/lib/view/aiCfoView/epics/stopSubmitEpic.js +55 -0
- package/lib/view/aiCfoView/epics/stopSubmitQuestionEpic.js +41 -0
- package/lib/view/aiCfoView/epics/submitFeedbackEpic.js +43 -0
- package/lib/view/aiCfoView/epics/submitQuestionEpic.js +69 -0
- package/lib/view/aiCfoView/epics/toRoutine.js +69 -0
- package/lib/view/aiCfoView/epics/toRoutineRun.js +47 -0
- package/lib/view/aiCfoView/epics/toSkillDetail.js +110 -0
- package/lib/view/aiCfoView/epics/transcribeAudioEpic.js +64 -0
- package/lib/view/apAgingView/apAgingDetail/apAgingDetailPayload.js +47 -0
- package/lib/view/apAgingView/apAgingDetail/apAgingDetailReducer.js +105 -0
- package/lib/view/apAgingView/apAgingDetail/apAgingDetailSelector.js +83 -0
- package/lib/view/apAgingView/apAgingDetail/apAgingDetailState.js +2 -0
- package/lib/view/apAgingView/apAgingDetail/fetchApAgingDetailEpic.js +37 -0
- package/lib/view/apAgingView/apAgingReport/apAgingPayload.js +50 -0
- package/lib/view/apAgingView/apAgingReport/apAgingReducer.js +129 -0
- package/lib/view/apAgingView/apAgingReport/apAgingSelector.js +70 -0
- package/lib/view/apAgingView/apAgingReport/apAgingState.js +2 -0
- package/lib/view/apAgingView/apAgingReport/fetchApAgingEpic.js +47 -0
- package/lib/view/arAgingView/arAgingDetail/arAgingDetailPayload.js +47 -0
- package/lib/view/arAgingView/arAgingDetail/arAgingDetailReducer.js +105 -0
- package/lib/view/arAgingView/arAgingDetail/arAgingDetailSelector.js +56 -0
- package/lib/view/arAgingView/arAgingDetail/arAgingDetailState.js +2 -0
- package/lib/view/arAgingView/arAgingDetail/fetchArAgingDetailEpic.js +37 -0
- package/lib/view/arAgingView/arAgingReport/arAgingPayload.js +57 -0
- package/lib/view/arAgingView/arAgingReport/arAgingReducer.js +141 -0
- package/lib/view/arAgingView/arAgingReport/arAgingSelector.js +99 -0
- package/lib/view/arAgingView/arAgingReport/arAgingState.js +2 -0
- package/lib/view/arAgingView/arAgingReport/fetchArAgingEpic.js +45 -0
- package/lib/view/auditReportView/auditReportViewHelper.js +106 -0
- package/lib/view/auditReportView/auditReportViewPayload.js +2 -0
- package/lib/view/auditReportView/auditReportViewReducer.js +206 -0
- package/lib/view/auditReportView/auditReportViewSelector.js +49 -0
- package/lib/view/auditReportView/auditReportViewState.js +25 -0
- package/lib/view/auditReportView/epics/fetchAuditReportGroupViewEpic.js +54 -0
- package/lib/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.js +39 -0
- package/lib/view/auditReportView/epics/saveReasonForAuditRuleEpic.js +46 -0
- package/lib/view/authenticationView/authenticationViewPayload.js +2 -0
- package/lib/view/authenticationView/authenticationViewReducer.js +63 -0
- package/lib/view/authenticationView/authenticationViewSelector.js +11 -0
- package/lib/view/authenticationView/authenticationViewState.js +2 -0
- package/lib/view/authenticationView/epics/fetchCollaborationAuthTokenEpic.js +28 -0
- package/lib/view/autoComplete/entityAutoCompletePayload.js +2 -0
- package/lib/view/autoComplete/entityAutoCompleteReducer.js +62 -0
- package/lib/view/autoComplete/entityAutoCompleteSelector.js +25 -0
- package/lib/view/autoComplete/entityAutoCompleteState.js +2 -0
- package/lib/view/autoComplete/fetchEntityAutoCompleteEpic.js +50 -0
- package/lib/view/balanceSheet/balanceSheetEpic.js +35 -0
- package/lib/view/balanceSheet/balanceSheetForTimeframeEpic.js +86 -0
- package/lib/view/balanceSheet/balanceSheetPayload.js +76 -0
- package/lib/view/balanceSheet/balanceSheetReducer.js +123 -0
- package/lib/view/balanceSheet/balanceSheetSelector.js +95 -0
- package/lib/view/balanceSheet/balanceSheetSelectorTypes.js +115 -0
- package/lib/view/balanceSheet/balanceSheetState.js +2 -0
- package/lib/view/balanceSheetClassesView/balanceSheetClassesViewEpic.js +34 -0
- package/lib/view/balanceSheetClassesView/balanceSheetClassesViewPayload.js +2 -0
- package/lib/view/balanceSheetClassesView/balanceSheetClassesViewReducer.js +133 -0
- package/lib/view/balanceSheetClassesView/balanceSheetClassesViewSelector.js +94 -0
- package/lib/view/balanceSheetClassesView/balanceSheetClassesViewSelectorTypes.js +2 -0
- package/lib/view/balanceSheetClassesView/balanceSheetClassesViewState.js +2 -0
- package/lib/view/balanceSheetClassesView/balanceSheetForTimeframeClassesViewEpic.js +66 -0
- package/lib/view/balanceSheetProjectView/balanceSheetForTimeframeProjectViewEpic.js +68 -0
- package/lib/view/balanceSheetProjectView/balanceSheetProjectViewEpic.js +34 -0
- package/lib/view/balanceSheetProjectView/balanceSheetProjectViewPayload.js +2 -0
- package/lib/view/balanceSheetProjectView/balanceSheetProjectViewReducer.js +129 -0
- package/lib/view/balanceSheetProjectView/balanceSheetProjectViewSelector.js +94 -0
- package/lib/view/balanceSheetProjectView/balanceSheetProjectViewSelectorTypes.js +2 -0
- package/lib/view/balanceSheetProjectView/balanceSheetProjectViewState.js +2 -0
- package/lib/view/bankAccountView/bankAccountViewPayload.js +29 -0
- package/lib/view/bankAccountView/bankAccountViewReducer.js +353 -0
- package/lib/view/bankAccountView/bankAccountViewSelector.js +38 -0
- package/lib/view/bankAccountView/bankAccountViewState.js +2 -0
- package/lib/view/bankAccountView/epic/createBankAccountEpic.js +168 -0
- package/lib/view/bankAccountView/epic/createInternationalBankAccountEpic.js +124 -0
- package/lib/view/bankAccountView/epic/createUserBankAccountEpic.js +64 -0
- package/lib/view/bankAccountView/epic/deleteBankAccountEpic.js +59 -0
- package/lib/view/bankAccountView/epic/deleteInternationalBankAccountEpic.js +59 -0
- package/lib/view/bankAccountView/epic/deleteUserBankAccountEpic.js +63 -0
- package/lib/view/bankAccountView/epic/fetchBankCountryNameByIbanEpic.js +45 -0
- package/lib/view/bankAccountView/epic/fetchBankNameByRoutingEpic.js +43 -0
- package/lib/view/bankAccountView/epic/fetchBankNameBySwiftEpic.js +43 -0
- package/lib/view/billPayCard/billPayCardPayload.js +2 -0
- package/lib/view/billPayCard/billPayCardReducer.js +57 -0
- package/lib/view/billPayCard/billPayCardSelector.js +16 -0
- package/lib/view/billPayCard/billPayCardState.js +4 -0
- package/lib/view/billPayCard/fetchBillPayCardEpic.js +51 -0
- package/lib/view/cardBalance/cardBalanceEpic.js +21 -0
- package/lib/view/cardBalance/cardBalancePayload.js +2 -0
- package/lib/view/cardBalance/cardBalanceReducer.js +71 -0
- package/lib/view/cardBalance/cardBalanceSelector.js +19 -0
- package/lib/view/cardBalance/cardBalanceState.js +2 -0
- package/lib/view/cardBalance/statementCloseDayEpic.js +25 -0
- package/lib/view/cardPayment/cardPaymentViewPayload.js +2 -0
- package/lib/view/cardPayment/cardPaymentViewReducer.js +130 -0
- package/lib/view/cardPayment/cardPaymentViewSelector.js +24 -0
- package/lib/view/cardPayment/cardPaymentViewState.js +2 -0
- package/lib/view/cardPayment/cardPaymentViewTypes.js +9 -0
- package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.js +70 -0
- package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.js +44 -0
- package/lib/view/cardPayment/epic/createCardSetupIntentEpic.js +56 -0
- package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.js +48 -0
- package/lib/view/cashBalance/cashBalanceEpic.js +21 -0
- package/lib/view/cashBalance/cashBalancePayload.js +2 -0
- package/lib/view/cashBalance/cashBalanceReducer.js +58 -0
- package/lib/view/cashBalance/cashBalanceSelector.js +19 -0
- package/lib/view/cashBalance/cashBalanceState.js +2 -0
- package/lib/view/cashFlow/cashFlowEpic.js +35 -0
- package/lib/view/cashFlow/cashFlowForTimeframeEpic.js +63 -0
- package/lib/view/cashFlow/cashFlowGroupedSectionOrder.js +50 -0
- package/lib/view/cashFlow/cashFlowPayload.js +69 -0
- package/lib/view/cashFlow/cashFlowReducer.js +116 -0
- package/lib/view/cashFlow/cashFlowSelector.js +109 -0
- package/lib/view/cashFlow/cashFlowSelectorTypes.js +87 -0
- package/lib/view/cashFlow/cashFlowState.js +2 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewEpic.js +34 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewPayload.js +2 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewReducer.js +133 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewSelector.js +57 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewSelectorTypes.js +2 -0
- package/lib/view/cashFlowClassesView/cashFlowClassesViewState.js +2 -0
- package/lib/view/cashFlowClassesView/cashFlowForTimeframeClassesViewEpic.js +60 -0
- package/lib/view/cashFlowProjectView/cashFlowForTimeframeProjectViewEpic.js +62 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewEpic.js +34 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewPayload.js +2 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewReducer.js +129 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewSelector.js +58 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewSelectorTypes.js +2 -0
- package/lib/view/cashFlowProjectView/cashFlowProjectViewState.js +2 -0
- package/lib/view/cashInCashOut/cashInCashOutEpic.js +32 -0
- package/lib/view/cashInCashOut/cashInCashOutPayload.js +2 -0
- package/lib/view/cashInCashOut/cashInCashOutReducer.js +362 -0
- package/lib/view/cashInCashOut/cashInCashOutSelector.js +123 -0
- package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.js +8 -0
- package/lib/view/cashInCashOut/cashInCashOutState.js +2 -0
- package/lib/view/cashPosition/cashPositionEpic.js +31 -0
- package/lib/view/cashPosition/cashPositionPayload.js +2 -0
- package/lib/view/cashPosition/cashPositionReducer.js +377 -0
- package/lib/view/cashPosition/cashPositionSelector.js +93 -0
- package/lib/view/cashPosition/cashPositionSelectorTypes.js +2 -0
- package/lib/view/cashPosition/cashPositionState.js +2 -0
- package/lib/view/classList/classListPayload.js +2 -0
- package/lib/view/classList/classListReducer.js +52 -0
- package/lib/view/classList/classListSelector.js +22 -0
- package/lib/view/classList/classListState.js +2 -0
- package/lib/view/classList/fetchClassListEpic.js +35 -0
- package/lib/view/coachmarkPreferences/coachmarkPreferencesPayload.js +2 -0
- package/lib/view/coachmarkPreferences/coachmarkPreferencesReducer.js +66 -0
- package/lib/view/coachmarkPreferences/coachmarkPreferencesSelector.js +14 -0
- package/lib/view/coachmarkPreferences/coachmarkPreferencesState.js +2 -0
- package/lib/view/coachmarkPreferences/epic/fetchCoachmarkPreferencesEpic.js +22 -0
- package/lib/view/coachmarkPreferences/epic/markCoachmarkDismissedEpic.js +31 -0
- package/lib/view/common/getSelectedAndHighlightedRanges.js +302 -0
- package/lib/view/common/recurringViewHelper.js +88 -0
- package/lib/view/common/reportsHelpers.js +21 -0
- package/lib/view/common/zeniClearingAccountHelper.js +13 -0
- package/lib/view/commonVendorView/commonVendorViewHelper.js +104 -0
- package/lib/view/commonVendorView/transactionVendorView/epics/resetTransactionVendorLocalDataEpic.js +30 -0
- package/lib/view/commonVendorView/transactionVendorView/epics/saveTransactionVendorEpic.js +141 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorLocalDataHelper.js +13 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.js +50 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewReducer.js +146 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.js +63 -0
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewState.js +2 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchAndUpdateVendorRecommendationsEpic.js +66 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchVendorDetailsEpic.js +62 -0
- package/lib/view/commonVendorView/vendorView/epics/fetchVendorEpic.js +69 -0
- package/lib/view/commonVendorView/vendorView/epics/initializeVendorAddressEpic.js +29 -0
- package/lib/view/commonVendorView/vendorView/epics/resetVendorDetailLocalDataEpic.js +30 -0
- package/lib/view/commonVendorView/vendorView/epics/saveVendorEpic.js +254 -0
- package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/fetchUserDetailEpic.js +25 -0
- package/lib/view/commonVendorView/vendorView/epics/twoFactorAuth/verifyUserEpic.js +31 -0
- package/lib/view/commonVendorView/vendorView/epics/updateSelectedVendorForCreateFlowEpic.js +24 -0
- package/lib/view/commonVendorView/vendorView/epics/vendorDetailLocalDataHelpers.js +88 -0
- package/lib/view/commonVendorView/vendorView/vendorViewPayload.js +92 -0
- package/lib/view/commonVendorView/vendorView/vendorViewReducer.js +656 -0
- package/lib/view/commonVendorView/vendorView/vendorViewSelector.js +257 -0
- package/lib/view/commonVendorView/vendorView/vendorViewState.js +2 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailPageViewEpic.js +34 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorDetailsEpic.js +47 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/fetchVendorsTabVendorEpic.js +64 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/resetVendorsTabVendorDetailLocalDataEpic.js +22 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/saveVendorsTabVendorEpic.js +56 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/epics/vendorsTabVendorDetailLocalDataHelpers.js +71 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewPayload.js +84 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer.js +237 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +127 -0
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewState.js +13 -0
- package/lib/view/companyConfigView/companyConfigEpic.js +23 -0
- package/lib/view/companyConfigView/companyConfigPayload.js +2 -0
- package/lib/view/companyConfigView/companyConfigReducer.js +40 -0
- package/lib/view/companyConfigView/companyConfigSelector.js +12 -0
- package/lib/view/companyConfigView/companyConfigState.js +2 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricConfigPayload.js +2 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricConfigReducer.js +44 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricConfigSelector.js +9 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricView.js +2 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.js +2 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricViewReducer.js +107 -0
- package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.js +566 -0
- package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricConfigEpic.js +23 -0
- package/lib/view/companyHealthMetricView/epic/fetchCompanyHealthMetricViewEpic.js +41 -0
- package/lib/view/companyHealthMetricView/epic/initializeCompanyHealthMetricViewLocalData.js +28 -0
- package/lib/view/companyHealthMetricView/epic/saveCompanyHealthMetricByIdEpic.js +57 -0
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewPayload.js +2 -0
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewReducer.js +366 -0
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.js +121 -0
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewState.js +50 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDataEpic.js +66 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportHistoricDatesEpic.js +54 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportTemplatesEpic.js +55 -0
- package/lib/view/companyMonthEndReportView/epics/fetchCompanyMonthEndReportViewEpic.js +52 -0
- package/lib/view/companyMonthEndReportView/epics/improveUsingZeniGPTEpic.js +33 -0
- package/lib/view/companyMonthEndReportView/epics/saveCompanyMonthEndReportEpic.js +84 -0
- package/lib/view/companyMonthEndReportView/epics/sendCompanyMonthEndReportEpic.js +91 -0
- package/lib/view/companyMonthEndReportView/monthEndTemplateData.js +36 -0
- package/lib/view/companyTaskManagerView/companyTaskManagerViewPayload.js +2 -0
- package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.js +129 -0
- package/lib/view/companyTaskManagerView/companyTaskManagerViewSelector.js +51 -0
- package/lib/view/companyTaskManagerView/companyTaskManagerViewState.js +2 -0
- package/lib/view/companyTaskManagerView/epics/fetchCockpitContextEpic.js +42 -0
- package/lib/view/companyTaskManagerView/epics/fetchCompanyTaskManagerViewEpic.js +211 -0
- package/lib/view/companyTaskManagerView/epics/fetchTaskManagerMetricsEpic.js +27 -0
- package/lib/view/companyTaskManagerView/epics/updateCompanyTaskManagerViewFiltersEpic.js +20 -0
- package/lib/view/companyView/companyViewPayload.js +2 -0
- package/lib/view/companyView/companyViewReducer.js +813 -0
- package/lib/view/companyView/companyViewState.js +2 -0
- package/lib/view/companyView/epic/companyManagementSavePendingUpdates.js +18 -0
- package/lib/view/companyView/epic/companyManagementSaveUpdatesEpic.js +116 -0
- package/lib/view/companyView/epic/companyPassport/createCompanyOfficersEpic.js +90 -0
- package/lib/view/companyView/epic/companyPassport/dismissCapitalizationOnboardingEpic.js +30 -0
- package/lib/view/companyView/epic/companyPassport/fetchCompanyPassportViewEpic.js +65 -0
- package/lib/view/companyView/epic/companyPassport/projects/disableAccountingProjectsEpic.js +60 -0
- package/lib/view/companyView/epic/companyPassport/projects/enableAccountingProjectsEpic.js +41 -0
- package/lib/view/companyView/epic/companyPassport/projects/resumeEnableAccountingProjectsEpic.js +77 -0
- package/lib/view/companyView/epic/companyPassport/saveCompanyPassportDetailsEpic.js +34 -0
- package/lib/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.js +66 -0
- package/lib/view/companyView/epic/companyPassport/updateAutoReviewIncomeWithoutCustomerEpic.js +70 -0
- package/lib/view/companyView/epic/companyPassport/updateCapitalizationAccountThresholdEpic.js +103 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.js +58 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyOfficerEpic.js +52 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyPassportLocalStoreDataEpic.js +41 -0
- package/lib/view/companyView/epic/companyPassport/updateCustomersTabSettingEpic.js +51 -0
- package/lib/view/companyView/epic/companyPassport/updatePrimaryContactEpic.js +74 -0
- package/lib/view/companyView/epic/fetchAllCockpitViewsEpic.js +85 -0
- package/lib/view/companyView/epic/fetchCompanyManagementViewEpic.js +101 -0
- package/lib/view/companyView/epic/fetchCompanyMetaDataEpic.js +24 -0
- package/lib/view/companyView/epic/fetchCompanyPortfolioViewEpic.js +40 -0
- package/lib/view/companyView/epic/fetchManagementViewEpic.js +27 -0
- package/lib/view/companyView/epic/fetchOnboardingViewEpic.js +42 -0
- package/lib/view/companyView/epic/fetchPortfolioViewEpic.js +27 -0
- package/lib/view/companyView/epic/fetchSubscriptionViewEpic.js +29 -0
- package/lib/view/companyView/epic/fetchZeniUsersEpic.js +24 -0
- package/lib/view/companyView/epic/getSubscriptionIDsByCompanyID.js +19 -0
- package/lib/view/companyView/epic/updateCompanyProductServicesEpic.js +95 -0
- package/lib/view/companyView/epic/updateCompanyQboRealmIdEpic.js +62 -0
- package/lib/view/companyView/helpers/cockpitHelpers.js +177 -0
- package/lib/view/companyView/parentSubsidiaryView/fetchParentSubsidiaryManagementViewEpic.js +19 -0
- package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewSelector.js +16 -0
- package/lib/view/companyView/parentSubsidiaryView/parentSubsidiaryViewState.js +7 -0
- package/lib/view/companyView/selector/companyManagementViewSelector.js +547 -0
- package/lib/view/companyView/selector/companyPassportViewSelector.js +166 -0
- package/lib/view/companyView/selector/companyPortfolioViewSelector.js +245 -0
- package/lib/view/companyView/selector/getAllCockpitTabsFilterView.js +63 -0
- package/lib/view/companyView/selectorHelpers/getCompanyView.js +195 -0
- package/lib/view/companyView/types/cockpitTabsID.js +17 -0
- package/lib/view/companyView/types/cockpitTypes.js +108 -0
- package/lib/view/companyView/types/commonState.js +12 -0
- package/lib/view/companyView/types/companyManagementViewState.js +35 -0
- package/lib/view/companyView/types/companyMetaDataViewState.js +17 -0
- package/lib/view/companyView/types/companyPassport/companyDetailsLocalData.js +2 -0
- package/lib/view/companyView/types/companyPassport/companyPassportLocalData.js +83 -0
- package/lib/view/companyView/types/companyPassport/companyPassportViewState.js +117 -0
- package/lib/view/companyView/types/companyPassport/companyUsersLocalData.js +10 -0
- package/lib/view/companyView/types/companyPassport/officerType.js +7 -0
- package/lib/view/companyView/types/companyPassportViewPayload.js +119 -0
- package/lib/view/companyView/types/companyPortfolioViewState.js +17 -0
- package/lib/view/companyView/types/companyView.js +2 -0
- package/lib/view/companyView/types/userAndRole.js +22 -0
- package/lib/view/createTransferEntry/createTransferEntryReducer.js +89 -0
- package/lib/view/createTransferEntry/createTransferEntrySelector.js +69 -0
- package/lib/view/createTransferEntry/createTransferEntryState.js +20 -0
- package/lib/view/createTransferEntry/epics/createTransferEntryEpic.js +140 -0
- package/lib/view/createTransferEntry/epics/fetchTransferAccountsEpic.js +40 -0
- package/lib/view/creditAgentView/buildCreditReportCsv.js +47 -0
- package/lib/view/creditAgentView/creditAgentViewPayload.js +7 -0
- package/lib/view/creditAgentView/creditAgentViewReducer.js +173 -0
- package/lib/view/creditAgentView/creditAgentViewSelector.js +93 -0
- package/lib/view/creditAgentView/creditAgentViewState.js +22 -0
- package/lib/view/creditAgentView/epics/fetchCardProfilesEpic.js +24 -0
- package/lib/view/creditAgentView/epics/fetchCreditAgentMacroEpic.js +23 -0
- package/lib/view/creditAgentView/epics/saveCreditAgentMacroEpic.js +62 -0
- package/lib/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.js +43 -0
- package/lib/view/creditAgentView/epics/updateCardProfileEpic.js +66 -0
- package/lib/view/customerSummaryView/customerSummaryViewPayload.js +2 -0
- package/lib/view/customerSummaryView/customerSummaryViewReducer.js +238 -0
- package/lib/view/customerSummaryView/customerSummaryViewSelector.js +76 -0
- package/lib/view/customerSummaryView/customerSummaryViewState.js +13 -0
- package/lib/view/customerSummaryView/epic/fetchCustomerSummaryDetailEpic.js +34 -0
- package/lib/view/customerSummaryView/epic/fetchCustomerSummaryListEpic.js +36 -0
- package/lib/view/customerSummaryView/epic/saveCustomerSummaryDetailEpic.js +48 -0
- package/lib/view/dashboard/dashboardEpic.js +189 -0
- package/lib/view/dashboard/dashboardReducer.js +39 -0
- package/lib/view/dashboard/dashboardSelector.js +231 -0
- package/lib/view/dashboard/dashboardState.js +2 -0
- package/lib/view/dashboardLayout/dashboardLayoutPayload.js +2 -0
- package/lib/view/dashboardLayout/dashboardLayoutReducer.js +92 -0
- package/lib/view/dashboardLayout/dashboardLayoutSelector.js +6 -0
- package/lib/view/dashboardLayout/dashboardLayoutState.js +2 -0
- package/lib/view/dashboardLayout/fetchDashboardLayoutEpic.js +52 -0
- package/lib/view/dashboardLayout/updateDashboardLayoutEpic.js +28 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/confirmStatementMappingEpic.js +63 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/deleteAccountStatementEpic.js +39 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/deleteCombinedStatementEpic.js +58 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/excludeAccountFromReconciliationEpic.js +67 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/fetchReconciliationViewEpic.js +131 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/includeAccountInReconciliationEpic.js +69 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/initialiseLocalDataForSelectedAccountIdEpic.js +59 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/parseCombinedStatementEpic.js +35 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/parseStatementEpic.js +35 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/reparseStatementEpic.js +35 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationDetailEpic.js +250 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/saveReconciliationReviewEpic.js +232 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/updateCombinedStatementInfoEpic.js +69 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/updateReconcileTabLocalDataEpic.js +122 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/updateStatementInfoEpic.js +63 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/uploadAccountStatementDocumentAIHelper.js +53 -0
- package/lib/view/expenseAutomationView/epics/accountRecon/uploadAccountStatementEpic.js +63 -0
- package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +110 -0
- package/lib/view/expenseAutomationView/epics/common/refreshExpenseAutomationCurrentTabEpic.js +72 -0
- package/lib/view/expenseAutomationView/epics/fluxAnalysis/fetchFluxAnalysisViewEpic.js +87 -0
- package/lib/view/expenseAutomationView/epics/fluxAnalysis/reviewFluxAnalysisEpic.js +84 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/accountSettings/fetchAccountSettingsListForAccountTypesEpic.js +41 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/accountSettings/fetchRecommendationForAccountSettingsEpic.js +27 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/accountSettings/initializeAccountSettingsViewEpic.js +13 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/accountSettings/saveAccountSettingsViewEpic.js +50 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingEpic.js +50 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingMatchEpic.js +42 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingPageEpic.js +11 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/ignoreActualMatchingSuggestionEpic.js +54 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/matchAndReverseAccrualsEpic.js +125 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/refreshActualMatchingList.js +19 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchAccrualsEpic.js +64 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchTransactionsEpic.js +57 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/undoReversalAccrualsEpic.js +82 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/fetchFailedJePostingsEpic.js +43 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.js +54 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulesEpic.js +143 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/fetchOneTimeAccrualEpic.js +49 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/ignoreRecommendedJeScheduleEpic.js +94 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic.js +53 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/createOneTimeAccrualEpic.js +108 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/initializeNewScheduleEpic.js +29 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/saveNewScheduleEpic.js +142 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/newSchedule/searchTransactionsForNewScheduleEpic.js +83 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/oneTimeAccrualActionsEpic.js +216 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/prefetchOtherJeSchedulesTabEpic.js +64 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic.js +98 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/revertJeScheduleEpic.js +115 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/switchJESchedulesTabEpic.js +43 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/bulkUploadMatchResultToastEpic.js +37 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/bulkUploadReceiptsEpic.js +33 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/confirmBulkUploadMatchEpic.js +53 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/fetchBulkUploadBatchDetailsEpic.js +44 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/fetchBulkUploadBatchesEpic.js +53 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/fetchCompletedTransactionsEpic.js +85 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMissingReceiptsEpic.js +58 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMoreBatchDetailsEpic.js +37 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/fetchMultipleBatchDetailsEpic.js +77 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/refetchCompletedTransactionsOnBulkUploadSortEpic.js +16 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/refreshBatchDetailsForBatchIdEpic.js +56 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/restoreBulkUploadAutomatchingOnMountEpic.js +104 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/searchTransactionsForManualMatchEpic.js +86 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/syncTabsAfterAutomatchEpic.js +60 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic.js +28 -0
- package/lib/view/expenseAutomationView/epics/missingReceipts/watchBulkUploadBatchStatusEpic.js +105 -0
- package/lib/view/expenseAutomationView/epics/transactionCategorization/backgroundRefetchReviewTabEpic.js +107 -0
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +137 -0
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +82 -0
- package/lib/view/expenseAutomationView/epics/transactionCategorization/initializeTransactionCategorizationLocalDataEpic.js +81 -0
- package/lib/view/expenseAutomationView/epics/transactionCategorization/markTransactionAsNotMiscategorizedEpic.js +141 -0
- package/lib/view/expenseAutomationView/epics/transactionCategorization/saveTransactionCategorizationEpic.js +31 -0
- package/lib/view/expenseAutomationView/epics/transactionCategorization/triggerReviewTabRefetchEpic.js +31 -0
- package/lib/view/expenseAutomationView/epics/transactionCategorization/updateTransactionCategorizationEpic.js +209 -0
- package/lib/view/expenseAutomationView/epics/transactionCategorization/uploadTransactionReceiptSuccessEpic.js +28 -0
- package/lib/view/expenseAutomationView/expenseAutomationViewPayload.js +2 -0
- package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +83 -0
- package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +219 -0
- package/lib/view/expenseAutomationView/expenseAutomationViewState.js +17 -0
- package/lib/view/expenseAutomationView/helpers/bulkUploadTiming.js +19 -0
- package/lib/view/expenseAutomationView/helpers/helpers.js +70 -0
- package/lib/view/expenseAutomationView/helpers/jeAccountSettingHelper.js +50 -0
- package/lib/view/expenseAutomationView/helpers/mapStatementUpdateLocalDataToRequestBody.js +50 -0
- package/lib/view/expenseAutomationView/helpers/newScheduleLocalDataHelper.js +145 -0
- package/lib/view/expenseAutomationView/helpers/reconciliationHelpers.js +58 -0
- package/lib/view/expenseAutomationView/helpers/rollingCalendarDateRangeInclusive.js +16 -0
- package/lib/view/expenseAutomationView/helpers/saveTransactionHelper.js +182 -0
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +777 -0
- package/lib/view/expenseAutomationView/payload/actualMatchingPayload.js +79 -0
- package/lib/view/expenseAutomationView/payload/fluxAnalysisPayload.js +10 -0
- package/lib/view/expenseAutomationView/payload/jeSchedulesPayload.js +120 -0
- package/lib/view/expenseAutomationView/payload/missingReceiptsPayload.js +213 -0
- package/lib/view/expenseAutomationView/payload/reconciliationPayload.js +335 -0
- package/lib/view/expenseAutomationView/payload/transactionCategorizationPayload.js +2 -0
- package/lib/view/expenseAutomationView/reducers/actualMatchingViewReducer.js +517 -0
- package/lib/view/expenseAutomationView/reducers/fluxAnalysisViewReducer.js +388 -0
- package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +861 -0
- package/lib/view/expenseAutomationView/reducers/missingReceiptsViewReducer.js +675 -0
- package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.js +1231 -0
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +1141 -0
- package/lib/view/expenseAutomationView/selectorTypes/actualMatchingViewSelectorTypes.js +2 -0
- package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.js +2 -0
- package/lib/view/expenseAutomationView/selectorTypes/fluxAnalysisViewSelectorTypes.js +2 -0
- package/lib/view/expenseAutomationView/selectorTypes/jeAccountSettingsViewSelectorTypes.js +2 -0
- package/lib/view/expenseAutomationView/selectorTypes/jeNewScheduleViewSelectorTypes.js +2 -0
- package/lib/view/expenseAutomationView/selectorTypes/jeSchedulesSelectorTypes.js +2 -0
- package/lib/view/expenseAutomationView/selectorTypes/missingReceiptsSelectorTypes.js +2 -0
- package/lib/view/expenseAutomationView/selectorTypes/reconciliationViewSelectorTypes.js +7 -0
- package/lib/view/expenseAutomationView/selectorTypes/transactionsViewSelectorTypes.js +2 -0
- package/lib/view/expenseAutomationView/selectors/actualMatchingViewSelector.js +454 -0
- package/lib/view/expenseAutomationView/selectors/fluxAnalysisViewSelector.js +156 -0
- package/lib/view/expenseAutomationView/selectors/getAllStepsHelper.js +43 -0
- package/lib/view/expenseAutomationView/selectors/jeAccountSettingsViewSelector.js +42 -0
- package/lib/view/expenseAutomationView/selectors/jeNewScheduleViewSelector.js +112 -0
- package/lib/view/expenseAutomationView/selectors/jeScheduledTransactionWithFailedEntries.js +2 -0
- package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +525 -0
- package/lib/view/expenseAutomationView/selectors/missingReceiptsSelector.js +321 -0
- package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.js +586 -0
- package/lib/view/expenseAutomationView/selectors/statementParseViewSelector.js +120 -0
- package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +272 -0
- package/lib/view/expenseAutomationView/transactionFilterHelpers.js +342 -0
- package/lib/view/expenseAutomationView/transactionFilterTypes.js +11 -0
- package/lib/view/expenseAutomationView/types/actualMatchingViewState.js +63 -0
- package/lib/view/expenseAutomationView/types/completedSubTab.js +21 -0
- package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.js +6 -0
- package/lib/view/expenseAutomationView/types/jeSchedulesViewState.js +36 -0
- package/lib/view/expenseAutomationView/types/missingReceiptsViewState.js +63 -0
- package/lib/view/expenseAutomationView/types/reconciliationViewState.js +55 -0
- package/lib/view/expenseAutomationView/types/transactionGroup.js +30 -0
- package/lib/view/expenseAutomationView/types/transactionsViewState.js +33 -0
- package/lib/view/featureNotificationView/epics/fetchRegisteredInterestsEpic.js +27 -0
- package/lib/view/featureNotificationView/epics/notifyMeForFeatureEpic.js +29 -0
- package/lib/view/featureNotificationView/featureNotificationViewPayload.js +15 -0
- package/lib/view/featureNotificationView/featureNotificationViewReducer.js +113 -0
- package/lib/view/featureNotificationView/featureNotificationViewSelector.js +11 -0
- package/lib/view/featureNotificationView/featureNotificationViewState.js +2 -0
- package/lib/view/fileView/epic/deleteFileEpic.js +31 -0
- package/lib/view/fileView/epic/deleteFileListEpic.js +28 -0
- package/lib/view/fileView/epic/fetchFileEpic.js +32 -0
- package/lib/view/fileView/epic/fetchFileListEpic.js +30 -0
- package/lib/view/fileView/epic/updateFileNameEpic.js +33 -0
- package/lib/view/fileView/epic/updateFilesMetadataEpic.js +16 -0
- package/lib/view/fileView/fileDownloadHelpers.js +31 -0
- package/lib/view/fileView/fileUploadHelpers.js +89 -0
- package/lib/view/fileView/fileViewPayload.js +2 -0
- package/lib/view/fileView/fileViewReducer.js +169 -0
- package/lib/view/fileView/fileViewSelector.js +36 -0
- package/lib/view/fileView/fileViewState.js +15 -0
- package/lib/view/financeStatement/financeStatementCompareBalances.js +27 -0
- package/lib/view/financeStatement/financeStatementEpic.js +71 -0
- package/lib/view/financeStatement/financeStatementReducer.js +128 -0
- package/lib/view/financeStatement/financeStatementSelector.js +216 -0
- package/lib/view/financeStatement/financeStatementState.js +2 -0
- package/lib/view/forecastList/fetchForecastListEpic.js +19 -0
- package/lib/view/forecastList/forecastListPayload.js +2 -0
- package/lib/view/forecastList/forecastListReducer.js +41 -0
- package/lib/view/forecastList/forecastListSelector.js +27 -0
- package/lib/view/forecastList/forecastListState.js +2 -0
- package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.js +101 -0
- package/lib/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.js +64 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/fetchGlobalMerchantAutoCompleteViewEpic.js +48 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewPayload.js +2 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.js +52 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewSelector.js +14 -0
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState.js +7 -0
- package/lib/view/globalMerchantView/globalMerchantViewPayload.js +2 -0
- package/lib/view/globalMerchantView/globalMerchantViewReducer.js +127 -0
- package/lib/view/globalMerchantView/globalMerchantViewSelector.js +20 -0
- package/lib/view/globalMerchantView/globalMerchantViewState.js +2 -0
- package/lib/view/insightsCard/insightsCardEpic.js +20 -0
- package/lib/view/insightsCard/insightsCardPayload.js +2 -0
- package/lib/view/insightsCard/insightsCardReducer.js +52 -0
- package/lib/view/insightsCard/insightsCardSelector.js +18 -0
- package/lib/view/insightsCard/insightsCardSelectorTypes.js +2 -0
- package/lib/view/insightsCard/insightsCardState.js +2 -0
- package/lib/view/invoicing/auditView/auditViewEpics.js +58 -0
- package/lib/view/invoicing/auditView/auditViewPayload.js +78 -0
- package/lib/view/invoicing/auditView/auditViewReducer.js +63 -0
- package/lib/view/invoicing/auditView/auditViewSelector.js +25 -0
- package/lib/view/invoicing/auditView/auditViewState.js +2 -0
- package/lib/view/invoicing/couponView/couponViewPayload.js +2 -0
- package/lib/view/invoicing/couponView/couponViewReducer.js +111 -0
- package/lib/view/invoicing/couponView/couponViewSelector.js +67 -0
- package/lib/view/invoicing/couponView/couponViewState.js +37 -0
- package/lib/view/invoicing/couponView/fetchInvoicingCouponCountsEpic.js +33 -0
- package/lib/view/invoicing/couponView/fetchInvoicingCouponListEpic.js +63 -0
- package/lib/view/invoicing/couponView/fetchInvoicingCouponListPageEpic.js +40 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteEpic.js +49 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteFormConfig.js +16 -0
- package/lib/view/invoicing/createCreditNote/createCreditNotePayload.js +34 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteReducer.js +52 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteSelector.js +27 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteState.js +2 -0
- package/lib/view/invoicing/createInvoice/createInvoiceEpic.js +64 -0
- package/lib/view/invoicing/createInvoice/createInvoiceFormConfig.js +80 -0
- package/lib/view/invoicing/createInvoice/createInvoicePayload.js +2 -0
- package/lib/view/invoicing/createInvoice/createInvoiceReducer.js +65 -0
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.js +106 -0
- package/lib/view/invoicing/createInvoice/createInvoiceState.js +2 -0
- package/lib/view/invoicing/createInvoice/epics/fetchCreateInvoiceFormPageEpic.js +78 -0
- package/lib/view/invoicing/customerPaymentMethod/createInvoicingSetupIntentEpic.js +21 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +2 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +97 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +19 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.js +2 -0
- package/lib/view/invoicing/customerPaymentMethod/fetchInvoicingPlaidLinkTokenEpic.js +19 -0
- package/lib/view/invoicing/customerPaymentMethod/saveInvoicingPaymentMethodEpic.js +25 -0
- package/lib/view/invoicing/customerPaymentMethod/sendInvoicingPaymentLinkEpic.js +30 -0
- package/lib/view/invoicing/dataImportView/dataImportViewPayload.js +2 -0
- package/lib/view/invoicing/dataImportView/dataImportViewReducer.js +172 -0
- package/lib/view/invoicing/dataImportView/dataImportViewSelector.js +26 -0
- package/lib/view/invoicing/dataImportView/dataImportViewState.js +2 -0
- package/lib/view/invoicing/dataImportView/fetchInvoicingDataImportStatusEpic.js +18 -0
- package/lib/view/invoicing/dataImportView/fetchInvoicingMigrationDiagnosticsEpic.js +48 -0
- package/lib/view/invoicing/dataImportView/fetchInvoicingMigrationSessionEpic.js +18 -0
- package/lib/view/invoicing/dataImportView/fetchInvoicingMigrationSessionsEpic.js +18 -0
- package/lib/view/invoicing/dataImportView/invoicingDataImportActionEpic.js +39 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +185 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +159 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.js +144 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.js +2 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/fetchInvoicingCatalogItemDetailEpic.js +29 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/fetchInvoicingCatalogItemDetailPageEpic.js +53 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormHelper.js +138 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/runInvoicingCatalogPlanActionEpic.js +32 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/runInvoicingCatalogProductActionEpic.js +39 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +117 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/seedInvoicingCatalogItemFormDraftEpic.js +49 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.js +77 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +146 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +141 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.js +70 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/fetchInvoicingCouponDetailEpic.js +26 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/fetchInvoicingCouponDetailPageEpic.js +58 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/runInvoicingDiscountActionEpic.js +59 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +90 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/seedInvoicingCouponFormDraftEpic.js +49 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/addPromotionalCreditsEpic.js +29 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +49 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +210 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +147 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +2 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +29 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +58 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingPaymentLinkEmailPreviewEpic.js +35 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/fetchInvoicingPaymentLinkEmailPreviewPageEpic.js +27 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js +65 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.js +42 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +79 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/seedInvoicingCustomerFormDraftEpic.js +49 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +171 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +200 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +306 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.js +2 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionDetailEpic.js +32 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionDetailPageEpic.js +68 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionEstimateEpic.js +53 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.js +44 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/initializeInvoicingSubscriptionAddressEpic.js +66 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionDetailHelper.js +6 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionFormConfig.js +107 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/runInvoicingSubscriptionActionEpic.js +70 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +125 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/seedInvoicingSubscriptionFormDraftEpic.js +47 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/syncInvoicingSubscriptionCouponsEpic.js +86 -0
- package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +29 -0
- package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailPageEpic.js +37 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailPayload.js +2 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.js +85 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.js +43 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailState.js +2 -0
- package/lib/view/invoicing/invoiceDetail/runInvoicingInvoiceActionEpic.js +62 -0
- package/lib/view/invoicing/invoiceDetail/updateInvoicingInvoiceEpic.js +56 -0
- package/lib/view/invoicing/invoiceDetail/voidInvoiceHelper.js +38 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +36 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +19 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.js +62 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceListPageEpic.js +36 -0
- package/lib/view/invoicing/invoiceList/invoiceListPayload.js +2 -0
- package/lib/view/invoicing/invoiceList/invoiceListReducer.js +182 -0
- package/lib/view/invoicing/invoiceList/invoiceListSelector.js +40 -0
- package/lib/view/invoicing/invoiceList/invoiceListState.js +40 -0
- package/lib/view/invoicing/invoicingApiHelper.js +19 -0
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogCountsEpic.js +24 -0
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogListPageEpic.js +39 -0
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogPlanListEpic.js +58 -0
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogProductListEpic.js +58 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +161 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.js +87 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.js +2 -0
- package/lib/view/invoicing/invoicingConfigView/epics/acceptInvoicingTermsEpic.js +25 -0
- package/lib/view/invoicing/invoicingConfigView/epics/enableInvoicingEpic.js +22 -0
- package/lib/view/invoicing/invoicingConfigView/epics/fetchInvoicingConfigEpic.js +25 -0
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewPayload.js +21 -0
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +214 -0
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.js +34 -0
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewState.js +2 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewEpics.js +23 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +38 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewSelector.js +18 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState.js +2 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteCountsEpic.js +27 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListEpic.js +61 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListPageEpic.js +44 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +91 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.js +37 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.js +35 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.js +24 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +74 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +45 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +108 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +50 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.js +32 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/fetchInvoicingDunningCaseDetailEpic.js +23 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/fetchInvoicingDunningCaseDetailPageEpic.js +39 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/fetchInvoicingDunningEmailPreviewEpic.js +30 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/fetchInvoicingDunningEmailPreviewPageEpic.js +20 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewPayload.js +13 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +126 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewSelector.js +41 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewState.js +2 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/runInvoicingDunningActionEpic.js +60 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseCountsEpic.js +24 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListEpic.js +58 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListPageEpic.js +51 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +91 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.js +59 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.js +40 -0
- package/lib/view/invoicing/invoicingFormDraft.js +86 -0
- package/lib/view/invoicing/invoicingListTabCache.js +120 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.js +56 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +99 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +125 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewSelector.js +73 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.js +2 -0
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingAccountingPickersEpic.js +37 -0
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboConnectionEpic.js +19 -0
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboSyncHealthEpic.js +19 -0
- package/lib/view/invoicing/invoicingQboView/epics/invoicingQboViewActionType.js +2 -0
- package/lib/view/invoicing/invoicingQboView/epics/retryInvoicingQboSyncTaskEpic.js +51 -0
- package/lib/view/invoicing/invoicingQboView/epics/startInvoicingQboBackfillEpic.js +47 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewPayload.js +28 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewReducer.js +98 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewSelector.js +247 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewState.js +2 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.js +27 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +72 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +44 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +104 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +43 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +37 -0
- package/lib/view/invoicing/invoicingTabHelper.js +30 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewEpics.js +23 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +57 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewSelector.js +17 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState.js +2 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/runInvoicingPaymentActionEpic.js +31 -0
- package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListEpic.js +52 -0
- package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.js +30 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +122 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.js +34 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.js +59 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteEpic.js +52 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteFormConfig.js +10 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNotePayload.js +69 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +58 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteSelector.js +36 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteState.js +2 -0
- package/lib/view/invoicing/recordPayment/recordPaymentEpic.js +103 -0
- package/lib/view/invoicing/recordPayment/recordPaymentFormConfig.js +13 -0
- package/lib/view/invoicing/recordPayment/recordPaymentPayload.js +64 -0
- package/lib/view/invoicing/recordPayment/recordPaymentReducer.js +71 -0
- package/lib/view/invoicing/recordPayment/recordPaymentSelector.js +77 -0
- package/lib/view/invoicing/recordPayment/recordPaymentState.js +2 -0
- package/lib/view/invoicing/runningInvoicingActionId.js +10 -0
- package/lib/view/invoicing/settingsView/epics/connectInvoicingStripeEpic.js +31 -0
- package/lib/view/invoicing/settingsView/epics/disconnectInvoicingStripeEpic.js +23 -0
- package/lib/view/invoicing/settingsView/epics/fetchInvoicingSettingsEpic.js +29 -0
- package/lib/view/invoicing/settingsView/epics/saveInvoicingSettingsEpic.js +50 -0
- package/lib/view/invoicing/settingsView/epics/settingsViewActionType.js +2 -0
- package/lib/view/invoicing/settingsView/epics/submitInvoicingQboSettingsEpic.js +29 -0
- package/lib/view/invoicing/settingsView/initializeInvoicingBrandingAddressEpic.js +31 -0
- package/lib/view/invoicing/settingsView/invoicingBrandingFormConfig.js +57 -0
- package/lib/view/invoicing/settingsView/invoicingQboSettingsFormConfig.js +58 -0
- package/lib/view/invoicing/settingsView/invoicingSettingsHelpers.js +11 -0
- package/lib/view/invoicing/settingsView/settingsViewPayload.js +2 -0
- package/lib/view/invoicing/settingsView/settingsViewReducer.js +135 -0
- package/lib/view/invoicing/settingsView/settingsViewSelector.js +198 -0
- package/lib/view/invoicing/settingsView/settingsViewState.js +2 -0
- package/lib/view/invoicing/settingsView/submitInvoicingBrandingFormEpic.js +64 -0
- package/lib/view/monthEndCloseChecksView/epics/fetchMonthClosePerformanceTrendEpic.js +47 -0
- package/lib/view/monthEndCloseChecksView/epics/fetchMonthEndCloseChecksEpic.js +61 -0
- package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewPayload.js +2 -0
- package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewReducer.js +108 -0
- package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewSelector.js +93 -0
- package/lib/view/monthEndCloseChecksView/monthEndCloseChecksViewState.js +2 -0
- package/lib/view/netBurnOrIncome/fetchNetBurnOrIncomeWithForecastEpic.js +113 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomeEpic.js +35 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomeForTimeframeEpic.js +73 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomeHelper.js +37 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomePayload.js +2 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomeReducer.js +581 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomeSelector.js +201 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomeSelectorTypes.js +22 -0
- package/lib/view/netBurnOrIncome/netBurnOrIncomeState.js +2 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewEpic.js +34 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewPayload.js +2 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +120 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.js +105 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.js +21 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewState.js +2 -0
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeForTimeframeClassesViewEpic.js +44 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeForTimeframeProjectViewEpic.js +49 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewEpic.js +34 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewPayload.js +2 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.js +118 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelector.js +69 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelectorTypes.js +2 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewState.js +2 -0
- package/lib/view/netBurnOrIncomeStoryCard/epic/fetchNetBurnOrIncomeStoryCardEpic.js +29 -0
- package/lib/view/netBurnOrIncomeStoryCard/epic/updateNetBurnOrIncomeStoryCardSettingsEpic.js +44 -0
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardPayload.js +49 -0
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardReducer.js +133 -0
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelector.js +85 -0
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes.js +7 -0
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.js +16 -0
- package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.js +117 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesEndpoint.js +9 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewPayload.js +46 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.js +296 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewSelector.js +40 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewState.js +9 -0
- package/lib/view/notificationView/epics/fetchNotificationUnreadCountEpic.js +39 -0
- package/lib/view/notificationView/epics/fetchNotificationViewEpic.js +58 -0
- package/lib/view/notificationView/epics/updateNotificationViewAllNotificationsStatusEpic.js +50 -0
- package/lib/view/notificationView/epics/updateNotificationViewNotificationStatusEpic.js +86 -0
- package/lib/view/notificationView/notificationView.helpers.js +11 -0
- package/lib/view/notificationView/notificationViewPayload.js +2 -0
- package/lib/view/notificationView/notificationViewReducer.js +384 -0
- package/lib/view/notificationView/notificationViewSelector.js +99 -0
- package/lib/view/notificationView/notificationViewState.js +19 -0
- package/lib/view/onboardingView/cockpitView/epic/fetchCompanyOnboardingViewEpic.js +53 -0
- package/lib/view/onboardingView/cockpitView/epic/fetchOnboardingCompletedCompaniesEpic.js +27 -0
- package/lib/view/onboardingView/cockpitView/epic/fetchQBOConnectionPoolEpic.js +19 -0
- package/lib/view/onboardingView/cockpitView/epic/getOnboardingEmailGroupEpic.js +27 -0
- package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +147 -0
- package/lib/view/onboardingView/cockpitView/epic/retryBankAccountConnectionForOnboardingEpic.js +88 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerCompletedStatusEpic.js +37 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerNotesEpic.js +36 -0
- package/lib/view/onboardingView/cockpitView/epic/saveOnboardingCustomerViewUpdatesEpic.js +127 -0
- package/lib/view/onboardingView/cockpitView/epic/sendOnboardingCustomerViewInviteEpic.js +120 -0
- package/lib/view/onboardingView/cockpitView/epic/updateQBOConnectionPoolExternalConnectionEpic.js +31 -0
- package/lib/view/onboardingView/cockpitView/onboardingCockpitViewPayload.js +137 -0
- package/lib/view/onboardingView/cockpitView/onboardingCockpitViewReducer.js +600 -0
- package/lib/view/onboardingView/cockpitView/onboardingCockpitViewSelector.js +260 -0
- package/lib/view/onboardingView/cockpitView/onboardingCockpitViewState.js +2 -0
- package/lib/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.js +29 -0
- package/lib/view/onboardingView/customerView/epic/aiAgentsActivation/fetchAiAgentsActivationStatusEpic.js +44 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiActivationViewedEpic.js +33 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiFinanceTeamEpic.js +44 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerSetupViewEpic.js +71 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/fetchOnboardingCustomerViewEpic.js +27 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewCompleteStatusEpic.js +53 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewDashboardLoadedEpic.js +32 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +209 -0
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +148 -0
- package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountLoginStatusEpic.js +37 -0
- package/lib/view/onboardingView/customerView/epic/paymentAccounts/updateOnboardingPaymentAccountStatusEpic.js +37 -0
- package/lib/view/onboardingView/customerView/epic/plaidConnection/establishOnboardingPlaidConnectionEpic.js +45 -0
- package/lib/view/onboardingView/customerView/epic/plaidConnection/getOnboardingPlaidLinkTokenEpic.js +31 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.js +2 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.js +777 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +355 -0
- package/lib/view/onboardingView/customerView/onboardingCustomerViewState.js +72 -0
- package/lib/view/onboardingView/customerView/types/paymentAccount.js +2 -0
- package/lib/view/opEx/fetchOpExWithForecastEpic.js +112 -0
- package/lib/view/opEx/opExEpic.js +35 -0
- package/lib/view/opEx/opExForTimeFrameEpic.js +68 -0
- package/lib/view/opEx/opExPayload.js +2 -0
- package/lib/view/opEx/opExReducer.js +544 -0
- package/lib/view/opEx/opExSelector.js +189 -0
- package/lib/view/opEx/opExSelectorTypes.js +2 -0
- package/lib/view/opEx/opExState.js +2 -0
- package/lib/view/opExByVendor/fetchOpExByVendorReportEpic.js +35 -0
- package/lib/view/opExByVendor/fetchOpExByVendorReportForTimeframeEpic.js +83 -0
- package/lib/view/opExByVendor/fetchOpExByVendorReportSummaryEpic.js +41 -0
- package/lib/view/opExByVendor/opExByVendorPayload.js +2 -0
- package/lib/view/opExByVendor/opExByVendorReducer.js +383 -0
- package/lib/view/opExByVendor/opExByVendorSelector.js +182 -0
- package/lib/view/opExByVendor/opExByVendorState.js +16 -0
- package/lib/view/opExByVendor/refreshOpExByVendorReportEpic.js +25 -0
- package/lib/view/opExClassesView/opExClassesViewEpic.js +34 -0
- package/lib/view/opExClassesView/opExClassesViewPayload.js +2 -0
- package/lib/view/opExClassesView/opExClassesViewReducer.js +121 -0
- package/lib/view/opExClassesView/opExClassesViewSelector.js +90 -0
- package/lib/view/opExClassesView/opExClassesViewSelectorTypes.js +14 -0
- package/lib/view/opExClassesView/opExClassesViewState.js +2 -0
- package/lib/view/opExClassesView/opExForTimeframeClassesViewEpic.js +42 -0
- package/lib/view/opExProjectView/opExForTimeframeProjectViewEpic.js +47 -0
- package/lib/view/opExProjectView/opExProjectViewEpic.js +34 -0
- package/lib/view/opExProjectView/opExProjectViewPayload.js +2 -0
- package/lib/view/opExProjectView/opExProjectViewReducer.js +118 -0
- package/lib/view/opExProjectView/opExProjectViewSelector.js +56 -0
- package/lib/view/opExProjectView/opExProjectViewSelectorTypes.js +2 -0
- package/lib/view/opExProjectView/opExProjectViewState.js +2 -0
- package/lib/view/ownerList/fetchOwnerListEpic.js +34 -0
- package/lib/view/ownerList/ownerListPayload.js +2 -0
- package/lib/view/ownerList/ownerListReducer.js +41 -0
- package/lib/view/ownerList/ownerListState.js +2 -0
- package/lib/view/people/changeZeniPersonRolesEpic.js +38 -0
- package/lib/view/people/deletePersonEpic.js +24 -0
- package/lib/view/people/fetchAllPeopleRequiredViewsEpic.js +23 -0
- package/lib/view/people/fetchPeopleEpic.js +29 -0
- package/lib/view/people/helpers/updateManagersListOnRoleChange.js +20 -0
- package/lib/view/people/initializeEditPersonEpic.js +42 -0
- package/lib/view/people/invitePeopleEpic.js +61 -0
- package/lib/view/people/inviteZeniPeopleEpic.js +53 -0
- package/lib/view/people/peoplePageEpic.js +23 -0
- package/lib/view/people/peoplePayload.js +2 -0
- package/lib/view/people/peopleReducer.js +257 -0
- package/lib/view/people/peopleSaveUpdatesEpic.js +79 -0
- package/lib/view/people/peopleSelector.js +148 -0
- package/lib/view/people/peopleSelectorTypes.js +2 -0
- package/lib/view/people/peopleState.js +2 -0
- package/lib/view/people/peopleTypes.js +12 -0
- package/lib/view/people/resendInviteEpic.js +25 -0
- package/lib/view/profitAndLoss/pAndLWithForecast/pAndLWithForecastSelector.js +48 -0
- package/lib/view/profitAndLoss/profitAndLossEpic.js +35 -0
- package/lib/view/profitAndLoss/profitAndLossForTimeframeEpic.js +68 -0
- package/lib/view/profitAndLoss/profitAndLossPayload.js +2 -0
- package/lib/view/profitAndLoss/profitAndLossReducer.js +186 -0
- package/lib/view/profitAndLoss/profitAndLossSelector.js +114 -0
- package/lib/view/profitAndLoss/profitAndLossState.js +2 -0
- package/lib/view/profitAndLossClassesView/horizontalSectionEmptyBalancesSlice.js +20 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelector.js +338 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesByClassHorizontalSelectorTypes.js +13 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewEpic.js +34 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewPayload.js +2 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +130 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelector.js +71 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.js +26 -0
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewState.js +2 -0
- package/lib/view/profitAndLossClassesView/profitAndLossForTimeframeClassesViewEpic.js +48 -0
- package/lib/view/profitAndLossClassesView/profitAndLossHorizontalEnrichment.js +310 -0
- package/lib/view/profitAndLossProjectView/profitAndLossForTimeframeProjectViewEpic.js +51 -0
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewEpic.js +34 -0
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewPayload.js +2 -0
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewReducer.js +126 -0
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewSelector.js +69 -0
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewSelectorTypes.js +2 -0
- package/lib/view/profitAndLossProjectView/profitAndLossProjectViewState.js +2 -0
- package/lib/view/projectList/fetchProjectListEpic.js +42 -0
- package/lib/view/projectList/projectListPayload.js +2 -0
- package/lib/view/projectList/projectListReducer.js +46 -0
- package/lib/view/projectList/projectListSelector.js +13 -0
- package/lib/view/projectList/projectListState.js +2 -0
- package/lib/view/recommendation/fetchEntityRecommendationsByTransactionIdEpic.js +84 -0
- package/lib/view/recommendation/fetchEntityRecommendationsForLineUpdateEpic.js +109 -0
- package/lib/view/recommendation/fetchRecommendationByEntityIdEpic.js +39 -0
- package/lib/view/recommendation/fetchRecommendationByEntityNameEpic.js +38 -0
- package/lib/view/recommendation/recommendationHelper.js +94 -0
- package/lib/view/recommendation/recommendationPayload.js +7 -0
- package/lib/view/recommendation/recommendationReducer.js +186 -0
- package/lib/view/recommendation/recommendationSelector.js +19 -0
- package/lib/view/recommendation/recommendationState.js +13 -0
- package/lib/view/recommendation/submitRecommendationFeedbackEpic.js +68 -0
- package/lib/view/reconciliationReportView/epic/fetchReconciliationReportEpic.js +33 -0
- package/lib/view/reconciliationReportView/reconciliationReportViewPayload.js +2 -0
- package/lib/view/reconciliationReportView/reconciliationReportViewReducer.js +48 -0
- package/lib/view/reconciliationReportView/reconciliationReportViewSelector.js +13 -0
- package/lib/view/reconciliationReportView/reconciliationReportViewState.js +2 -0
- package/lib/view/referralView/epics/fetchReferralsEpic.js +30 -0
- package/lib/view/referralView/epics/fetchRewardsPlanEpic.js +35 -0
- package/lib/view/referralView/epics/resendReferralInviteEpic.js +33 -0
- package/lib/view/referralView/epics/sendReferralInviteEpic.js +48 -0
- package/lib/view/referralView/epics/updateReferViewedEpic.js +22 -0
- package/lib/view/referralView/referralPayload.js +33 -0
- package/lib/view/referralView/referralReducer.js +204 -0
- package/lib/view/referralView/referralSelector.js +92 -0
- package/lib/view/referralView/referralState.js +42 -0
- package/lib/view/reimbursementCard/fetchReimbursementCardEpic.js +45 -0
- package/lib/view/reimbursementCard/reimbursementCardPayload.js +2 -0
- package/lib/view/reimbursementCard/reimbursementCardReducer.js +58 -0
- package/lib/view/reimbursementCard/reimbursementCardSelector.js +16 -0
- package/lib/view/reimbursementCard/reimbursementCardState.js +4 -0
- package/lib/view/reportUIOptions/reportUIOptionsReducer.js +125 -0
- package/lib/view/reportUIOptions/reportUIOptionsState.js +2 -0
- package/lib/view/reportUIOptions/toggleReportUIOptionForecastModeEpic.js +40 -0
- package/lib/view/reportUIOptions/updateReportUIOptionCOABalancesRangeEpic.js +76 -0
- package/lib/view/reportUIOptions/updateReportUIOptionCompareModeEpic.js +51 -0
- package/lib/view/reportUIOptions/updateReportUIOptionIsCompareModeOnEpic.js +64 -0
- package/lib/view/reportUIOptions/updateReportUIOptionThisPeriodEpic.js +30 -0
- package/lib/view/reportUIOptions/updateReportUIOptionTimeFrameEpic.js +15 -0
- package/lib/view/reportsResync/reportsClassViewRefetchingEpic.js +34 -0
- package/lib/view/reportsResync/reportsProjectViewRefetchingEpic.js +34 -0
- package/lib/view/reportsResync/reportsResyncEpic.js +56 -0
- package/lib/view/reportsResync/reportsResyncReducer.js +64 -0
- package/lib/view/reportsResync/reportsResyncSelector.js +10 -0
- package/lib/view/reportsResync/reportsResyncState.js +2 -0
- package/lib/view/revenue/fetchRevenueWithForecastEpic.js +111 -0
- package/lib/view/revenue/revenueEpic.js +35 -0
- package/lib/view/revenue/revenueForTimeframeEpic.js +70 -0
- package/lib/view/revenue/revenueHelper.js +37 -0
- package/lib/view/revenue/revenuePayload.js +2 -0
- package/lib/view/revenue/revenueReducer.js +563 -0
- package/lib/view/revenue/revenueSelector.js +228 -0
- package/lib/view/revenue/revenueSelectorTypes.js +15 -0
- package/lib/view/revenue/revenueState.js +2 -0
- package/lib/view/revenueClassesView/revenueClassesViewEpic.js +34 -0
- package/lib/view/revenueClassesView/revenueClassesViewPayload.js +2 -0
- package/lib/view/revenueClassesView/revenueClassesViewReducer.js +121 -0
- package/lib/view/revenueClassesView/revenueClassesViewSelector.js +94 -0
- package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.js +16 -0
- package/lib/view/revenueClassesView/revenueClassesViewState.js +2 -0
- package/lib/view/revenueClassesView/revenueForTimeframeClassesViewEpic.js +34 -0
- package/lib/view/revenueProjectView/revenueForTimeframeProjectViewEpic.js +39 -0
- package/lib/view/revenueProjectView/revenueProjectViewEpic.js +34 -0
- package/lib/view/revenueProjectView/revenueProjectViewPayload.js +2 -0
- package/lib/view/revenueProjectView/revenueProjectViewReducer.js +118 -0
- package/lib/view/revenueProjectView/revenueProjectViewSelector.js +62 -0
- package/lib/view/revenueProjectView/revenueProjectViewSelectorTypes.js +2 -0
- package/lib/view/revenueProjectView/revenueProjectViewState.js +2 -0
- package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.js +47 -0
- package/lib/view/reviewCompanyView/retryBankAccountConnectionEpic.js +79 -0
- package/lib/view/reviewCompanyView/reviewCompanyPayload.js +2 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewReducer.js +134 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewSelector.js +155 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewState.js +62 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/LinkBillExpenseView/linkBillExpense.js +13 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/epics/cancelScheduleAccruedJournalEntryEpic.js +82 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/epics/createNewSchedulesAccruedEpic.js +34 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/epics/deleteScheduleAccruedDetailEpic.js +81 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/epics/fetchRecommendedTransactionRowIndexEpic.js +72 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/epics/fetchScheduleAccruedDetailsEpic.js +52 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/epics/fetchScheduleAccruedDetailsPageEpic.js +28 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/epics/initializeScheduleAccruedDetailLocalDataEpic.js +42 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/epics/saveScheduleAccruedDetailsEpic.js +130 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/epics/updateAmountsInScheduleAccruedDetailEpic.js +33 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailLocalDataHelper.js +123 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailPayload.js +320 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailReducer.js +397 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailSelector.js +144 -0
- package/lib/view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailState.js +2 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +37 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/deleteScheduleDetailEpic.js +81 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +82 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +28 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.js +40 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/markAsCompleteScheduleDetailEpic.js +76 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +104 -0
- package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.js +38 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +269 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +345 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +383 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +131 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.js +2 -0
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailTypes.js +13 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchAccruedScheduleListEpic.js +52 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.js +64 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.js +72 -0
- package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.js +15 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListBalanceTypes.js +2 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListHelper.js +403 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListPayload.js +2 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListReducer.js +439 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +393 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListState.js +2 -0
- package/lib/view/scheduleView/scheduleListView/scheduleListTypes.js +35 -0
- package/lib/view/settingsView/epic/fetchBankAccountsListEpic.js +30 -0
- package/lib/view/settingsView/epic/fetchBankConnectionsViewEpic.js +43 -0
- package/lib/view/settingsView/epic/fetchBillingAccountsViewEpic.js +17 -0
- package/lib/view/settingsView/epic/fetchCompanyBillingAddressEpic.js +57 -0
- package/lib/view/settingsView/epic/fetchMyProfileEpic.js +56 -0
- package/lib/view/settingsView/epic/fetchMyProfileViewEpic.js +20 -0
- package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.js +60 -0
- package/lib/view/settingsView/epic/fetchNotificationSettingsViewEpic.js +18 -0
- package/lib/view/settingsView/epic/initializeMyProfileLocalDataEpic.js +49 -0
- package/lib/view/settingsView/epic/refreshIntegrationsDataEpic.js +32 -0
- package/lib/view/settingsView/epic/saveCompanyBillingAddressEpic.js +61 -0
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.js +92 -0
- package/lib/view/settingsView/epic/updateMyProfileEpic.js +112 -0
- package/lib/view/settingsView/settingsViewHelpers.js +177 -0
- package/lib/view/settingsView/settingsViewPayload.js +2 -0
- package/lib/view/settingsView/settingsViewReducer.js +437 -0
- package/lib/view/settingsView/settingsViewSelector.js +292 -0
- package/lib/view/settingsView/settingsViewState.js +19 -0
- package/lib/view/settingsView/types/settingsViewSelectorTypes.js +2 -0
- package/lib/view/spendManagement/autotransferRules/autoTransferRuleTypes.js +2 -0
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesPayload.js +30 -0
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesReducer.js +206 -0
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesSelector.js +61 -0
- package/lib/view/spendManagement/autotransferRules/autoTransferRulesState.js +2 -0
- package/lib/view/spendManagement/autotransferRules/epics/createAutoTransferRuleEpic.js +106 -0
- package/lib/view/spendManagement/autotransferRules/epics/deleteAutoTransferRuleEpic.js +52 -0
- package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferReviewDetailEpic.js +40 -0
- package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRuleHistory.js +52 -0
- package/lib/view/spendManagement/autotransferRules/epics/fetchAutoTransferRulesEpic.js +54 -0
- package/lib/view/spendManagement/autotransferRules/epics/updateAutoTransferRuleEpic.js +73 -0
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js +559 -0
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +414 -0
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewState.js +59 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.js +53 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.js +76 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.js +65 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +172 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillRecommendationsEpic.js +104 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/fetchEligibleActionsForBillEpic.js +43 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/fetchRecommendationsForBill.js +92 -0
- package/lib/view/spendManagement/billPay/billDetailView/epics/retryOrRefundBillEpic.js +89 -0
- package/lib/view/spendManagement/billPay/billList/billListDownloadSelector.js +66 -0
- package/lib/view/spendManagement/billPay/billList/billListFilterHelpers.js +58 -0
- package/lib/view/spendManagement/billPay/billList/billListPayload.js +2 -0
- package/lib/view/spendManagement/billPay/billList/billListReducer.js +189 -0
- package/lib/view/spendManagement/billPay/billList/billListSelector.js +730 -0
- package/lib/view/spendManagement/billPay/billList/billListState.js +68 -0
- package/lib/view/spendManagement/billPay/billList/fetchBillListEpic.js +64 -0
- package/lib/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.js +44 -0
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.js +270 -0
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +140 -0
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigSelector.js +39 -0
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.js +105 -0
- package/lib/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.js +32 -0
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewReducer.js +115 -0
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +185 -0
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewState.js +11 -0
- package/lib/view/spendManagement/billPay/billPayReview/fetchDuplicateBillEpic.js +53 -0
- package/lib/view/spendManagement/billPay/billPayReview/getDuplicateBills.js +26 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +348 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelector.js +129 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewSelectorTypes.js +2 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewState.js +2 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/deleteBillPayApprovalRuleEpic.js +48 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversDetailsEpic.js +34 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPayApproversListEpic.js +40 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/fetchBillPaySetupApproverViewEpic.js +62 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.js +40 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/reorderBillPayApprovalRulesEpic.js +58 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/saveBillPaySetupApproverViewUpdatesEpic.js +78 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +176 -0
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonState.js +2 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewReducer.js +109 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewSelector.js +37 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewState.js +2 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPaySetup/fetchBillPaySetupViewEpic.js +81 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayTermsEpic.js +44 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/epic/billPayTerms/acceptBillPayUpdatedTermsEpic.js +44 -0
- package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.js +2 -0
- package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewReducer.js +189 -0
- package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewSelector.js +76 -0
- package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState.js +26 -0
- package/lib/view/spendManagement/billPay/billsBulkActionView/epics/approveOrRejectBillsBulkActionEpic.js +79 -0
- package/lib/view/spendManagement/billPay/billsBulkActionView/epics/cancelOrDeleteBillsBulkActionEpic.js +80 -0
- package/lib/view/spendManagement/billPay/billsBulkActionView/epics/submitDraftBillsBulkActionEpic.js +88 -0
- package/lib/view/spendManagement/billPay/billsBulkActionView/epics/validateBillsBulkActionEpic.ts.js +32 -0
- package/lib/view/spendManagement/billPay/editBillView/editBillViewPayload.js +19 -0
- package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.js +528 -0
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +751 -0
- package/lib/view/spendManagement/billPay/editBillView/editBillViewState.js +75 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/applyBillRecommendationsToLocalStoreEpic.js +102 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.js +90 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchBillAndInitializeLocalStoreEpic.js +56 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js +84 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorAndUpdateBillLocalDataEpic.js +175 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchVendorByNameAndParseInvoice.js +41 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.js +249 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +492 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +269 -0
- package/lib/view/spendManagement/billPay/editBillView/epics/updateVendorContactEpic.js +122 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/createInternationalPaymentInstrumentEpic.js +121 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/deletePaymentInstrumentEpic.js +59 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/fetchInternationalWireDynamicFormEpic.js +54 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/initializeDynamicFormEpic.js +43 -0
- package/lib/view/spendManagement/billPay/internationalWire/epics/initializeInternationalWireLocalDataEpic.js +53 -0
- package/lib/view/spendManagement/billPay/internationalWire/internationalWire.js +14 -0
- package/lib/view/spendManagement/billPay/internationalWire/internationalWirePayload.js +55 -0
- package/lib/view/spendManagement/billPay/internationalWire/internationalWireReducer.js +172 -0
- package/lib/view/spendManagement/billPay/internationalWire/internationalWireSelector.js +50 -0
- package/lib/view/spendManagement/billPay/internationalWireVerification/epics/fetchIntlVerificationFormEpic.js +36 -0
- package/lib/view/spendManagement/billPay/internationalWireVerification/epics/initializeIntlVerificationFormEpic.js +43 -0
- package/lib/view/spendManagement/billPay/internationalWireVerification/epics/submitIntlVerificationEpic.js +66 -0
- package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationPayload.js +19 -0
- package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer.js +94 -0
- package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationSelector.js +33 -0
- package/lib/view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationState.js +2 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameByRoutingEpic.js +42 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBankNameBySwiftEpic.js +42 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.js +41 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkTenantEpic.js +34 -0
- package/lib/view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic.js +97 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.js +2 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewReducer.js +280 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewSelector.js +58 -0
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewState.js +2 -0
- package/lib/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.js +65 -0
- package/lib/view/spendManagement/billPay/previousBills/previousBillsPayload.js +2 -0
- package/lib/view/spendManagement/billPay/previousBills/previousBillsReducer.js +57 -0
- package/lib/view/spendManagement/billPay/previousBills/previousBillsSelector.js +25 -0
- package/lib/view/spendManagement/billPay/previousBills/previousBillsState.js +13 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic.js +32 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectReducer.js +42 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectSelector.js +12 -0
- package/lib/view/spendManagement/billPay/wiseRedirectView/wiseRedirectState.js +2 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailReducer.js +59 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailSelector.js +28 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailState.js +2 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/fetchCardPolicyDetailEpic.js +40 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/updateCardPolicyEpic.js +43 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/archiveCardPolicyEpic.js +38 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListReducer.js +78 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListSelector.js +27 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListState.js +2 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/fetchCardPolicyListEpic.js +42 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyAiCardPolicyFormDraftUpdate.js +294 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToAiCardPolicyDraft.js +113 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToDraftEpic.js +48 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToManualCardPolicyDraft.js +115 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyUploadPlanToAiCardPolicyDraft.js +29 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildAiCardPolicyFormDraftSeed.js +369 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildManualCardPolicyFormDraftSeed.js +40 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyChipIds.js +26 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyFormDraftTypes.js +10 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyRequestParts.js +126 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.js +164 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicySelector.js +31 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyState.js +2 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyTemplateEpic.js +53 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/deriveAiPolicyReviewRowsFromInputs.js +144 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/fetchCardPolicyMccCategoriesEpic.js +24 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/seedAiCardPolicyFormDraftEpic.js +104 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toBulkCardPolicyTemplateRequestsFromDraft.js +100 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toCardPolicyTemplateRequestFromDraft.js +63 -0
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toManualCardPolicyTemplateRequestFromDraft.js +28 -0
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +101 -0
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.js +34 -0
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingState.js +2 -0
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.js +34 -0
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/saveCardOnboardingUserDetailsEpic.js +14 -0
- package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailPayload.js +2 -0
- package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.js +90 -0
- package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailSelector.js +55 -0
- package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailState.js +13 -0
- package/lib/view/spendManagement/chargeCards/cashbackDetail/fetchCashbackDetailEpic.js +24 -0
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigPayload.js +22 -0
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js +74 -0
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigState.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic.js +23 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js +152 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailPayload.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +679 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +339 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/closeChargeCardEpic.js +71 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +82 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailPageEpic.js +67 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionAttachmentsEpic.js +42 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.js +47 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionStatisticsEpic.js +39 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardsRecurringExpensesEpic.js +44 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchDepositAccountLimitEpic.js +40 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/lockChargeCardEpic.js +77 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/unlockChargeCardEpic.js +74 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardDetailEpic.js +60 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardLimitEpic.js +74 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardNameEpic.js +82 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateDebitCardPinAttemptEpic.js +42 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.js +42 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +93 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListPayload.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +375 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +463 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/closeChargeCardsEpic.js +69 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListEpic.js +35 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.js +107 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountEpic.js +23 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchCreditAccountRepaymentEpic.js +23 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchDebitCardSummaryEpic.js +23 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/lockChargeCardsEpic.js +69 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/resendCardInviteEpic.js +31 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/revokeCardInviteEpic.js +29 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/revokeChargeCardsInviteEpic.js +71 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/unlockChargeCardsEpic.js +68 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/updateChargeCardsLimitEpic.js +76 -0
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistory.js +35 -0
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector.js +26 -0
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryHelpers.js +106 -0
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryPayload.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer.js +91 -0
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector.js +107 -0
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentHistoryEpic.js +35 -0
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/fetchChargeCardPaymentPageEpic.js +35 -0
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer.js +59 -0
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector.js +41 -0
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailState.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentPayload.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/fetchChargeCardRepaymentDetailEpic.js +25 -0
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic.js +91 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js +165 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.js +46 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewState.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic.js +80 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/enableChargeCardAutoPayEpic.js +54 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/expressInterestChargeCardEpic.js +48 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/fetchChargeCardSetupViewEpic.js +81 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementList.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListPayload.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer.js +56 -0
- package/lib/view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListSelector.js +13 -0
- package/lib/view/spendManagement/chargeCards/chargeCardStatementList/fetchChargeCardStatementListEpic.js +32 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/aiCardCreationFormDraftTypes.js +2 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/applyAiCardCreationFormDraftUpdate.js +38 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/buildAiCardCreationFormDraftSeed.js +61 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/depositAccountWithLimitPayload.js +2 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/deriveAiCardRowsFromTeams.js +39 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchDepositAccountListForCardsEpic.js +30 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.js +61 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardEpic.js +148 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +178 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +140 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.js +2 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/seedAiCardCreationFormDraftEpic.js +66 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/toIssueChargeCardLocalDataFromDraft.js +48 -0
- package/lib/view/spendManagement/commonHistoryView/commonHistory.js +33 -0
- package/lib/view/spendManagement/commonHistoryView/commonHistoryPayload.js +24 -0
- package/lib/view/spendManagement/commonHistoryView/commonHistoryReducer.js +68 -0
- package/lib/view/spendManagement/commonHistoryView/commonHistorySelector.js +19 -0
- package/lib/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.js +63 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/enableSetupEpic.js +61 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKybDocumentEpic.js +62 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKycDocumentEpic.js +81 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/resetKycKybEpic.js +41 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +344 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +157 -0
- package/lib/view/spendManagement/commonSetup/kycKybAutofillActions.js +17 -0
- package/lib/view/spendManagement/commonSetup/kycKybParseMapper.js +229 -0
- package/lib/view/spendManagement/commonSetup/setupViewPayload.js +2 -0
- package/lib/view/spendManagement/commonSetup/setupViewReducer.js +387 -0
- package/lib/view/spendManagement/commonSetup/setupViewSelector.js +288 -0
- package/lib/view/spendManagement/commonSetup/setupViewState.js +19 -0
- package/lib/view/spendManagement/commonSetup/types/businessVerification.js +152 -0
- package/lib/view/spendManagement/commonSetup/types/kycKybAutofill.js +46 -0
- package/lib/view/spendManagement/helpers.js +417 -0
- package/lib/view/spendManagement/merchantList/fetchMerchantListEpic.js +30 -0
- package/lib/view/spendManagement/merchantList/merchantListPayload.js +2 -0
- package/lib/view/spendManagement/merchantList/merchantListReducer.js +50 -0
- package/lib/view/spendManagement/merchantList/merchantListSelector.js +13 -0
- package/lib/view/spendManagement/merchantList/merchantListState.js +2 -0
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/getPaymentAccountsEpic.js +41 -0
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updateMappedCashAccountEpic.js +29 -0
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountEpic.js +31 -0
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountLoginStatusEpic.js +38 -0
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountStatusEpic.js +37 -0
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePrimaryFundingAccountEpic.js +93 -0
- package/lib/view/spendManagement/plaidAccount/epic/plaidConnection/establishPlaidConnectionEpic.js +148 -0
- package/lib/view/spendManagement/plaidAccount/epic/plaidConnection/getPlaidLinkTokenEpic.js +52 -0
- package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.js +459 -0
- package/lib/view/spendManagement/plaidAccount/plaidAccountViewSelector.js +6 -0
- package/lib/view/spendManagement/plaidAccount/plaidAccountViewState.js +33 -0
- package/lib/view/spendManagement/plaidAccount/types/paymentAccount.js +2 -0
- package/lib/view/spendManagement/plaidAccount/types/plaidConnection.js +2 -0
- package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.js +2 -0
- package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalReducer.js +71 -0
- package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalSelector.js +19 -0
- package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalState.js +14 -0
- package/lib/view/spendManagement/realTimeApprovalView/saveRealTimeApprovalEpic.js +126 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewPayload.js +52 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js +507 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +203 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewState.js +24 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.js +63 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.js +67 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRecommendationsAndUpdateMerchantRecommendationsEpic.js +122 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js +58 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/initializeRemiToLocalStoreEpic.js +110 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/parseReceiptsToRemiEpic.js +195 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.js +120 -0
- package/lib/view/spendManagement/reimbursement/editRemiView/getRecommendedCategoryClass.js +26 -0
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.js +25 -0
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigPayload.js +19 -0
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigReducer.js +59 -0
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigSelector.js +14 -0
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.js +10 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.js +56 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.js +65 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.js +55 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.js +71 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js +115 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewPayload.js +2 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewReducer.js +322 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.js +320 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewState.js +39 -0
- package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListEpic.js +42 -0
- package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.js +52 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListDownloadSelector.js +73 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListFilterHelpers.js +32 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListPayload.js +2 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.js +204 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListSelector.js +616 -0
- package/lib/view/spendManagement/reimbursement/remiListView/remiListState.js +86 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/deleteRemiApprovalRuleEpic.js +48 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversDetailsEpic.js +29 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiApproversListEpic.js +40 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/fetchRemiSetupApproverViewEpic.js +64 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.js +40 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/reorderRemiApprovalRulesEpic.js +65 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/saveRemiSetupApproverViewUpdatesEpic.js +78 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.js +2 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewReducer.js +342 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelector.js +147 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewSelectorTypes.js +2 -0
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewState.js +2 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/fetchRemiSetupViewEpic.js +83 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateMileageDetailsEpic.js +80 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.js +39 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptEmployeeRemiTermsEpic.js +38 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiTerms/acceptRemiTermsEpic.js +44 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.js +2 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewReducer.js +167 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewSelector.js +54 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewState.js +7 -0
- package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.js +2 -0
- package/lib/view/spendManagement/reimbursement/remisBulkActionView/epics/approveOrRejectRemisBulkActionEpic.js +79 -0
- package/lib/view/spendManagement/reimbursement/remisBulkActionView/epics/cancelOrDeleteRemisBulkActionEpic.js +80 -0
- package/lib/view/spendManagement/reimbursement/remisBulkActionView/epics/reviewDraftRemisBulkActionEpic.ts.js +28 -0
- package/lib/view/spendManagement/reimbursement/remisBulkActionView/epics/submitDraftRemisBulkActionEpic.js +73 -0
- package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewPayload.js +2 -0
- package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewReducer.js +176 -0
- package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewSelector.js +50 -0
- package/lib/view/spendManagement/reimbursement/remisBulkActionView/remisBulkActionViewState.js +24 -0
- package/lib/view/spendManagement/spendManagementFilterHelpers.js +147 -0
- package/lib/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryDetailEpic.js +76 -0
- package/lib/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryHistoryEpic.js +31 -0
- package/lib/view/spendManagement/treasury/treasuryList/epics/fetchTreasuryTransactionListEpic.js +39 -0
- package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailPayload.js +15 -0
- package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailReducer.js +181 -0
- package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailSelector.js +52 -0
- package/lib/view/spendManagement/treasury/treasuryList/treasuryDetailState.js +12 -0
- package/lib/view/spendManagement/treasury/treasurySetUp/epic/acceptTreasuryTermsEpic.js +44 -0
- package/lib/view/spendManagement/treasury/treasurySetUp/epic/fetchPortfolioAllocationEpic.js +21 -0
- package/lib/view/spendManagement/treasury/treasurySetUp/epic/fetchTreasuryFundsEpic.js +28 -0
- package/lib/view/spendManagement/treasury/treasurySetUp/epic/fetchTreasurySetupViewEpic.js +81 -0
- package/lib/view/spendManagement/treasury/treasurySetUp/epic/updatePortfolioAllocationEpic.js +44 -0
- package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewPayload.js +2 -0
- package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewReducer.js +310 -0
- package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewSelector.js +52 -0
- package/lib/view/spendManagement/treasury/treasurySetUp/treasurySetupViewState.js +21 -0
- package/lib/view/spendManagement/treasury/treasuryStatementList/fetchTreasuryStatementListEpic.js +42 -0
- package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementList.js +11 -0
- package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListPayload.js +2 -0
- package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListReducer.js +60 -0
- package/lib/view/spendManagement/treasury/treasuryStatementList/treasuryStatementListSelector.js +17 -0
- package/lib/view/spendManagement/treasury/treasuryTaxLetterList/fetchTreasuryTaxLetterListEpic.js +41 -0
- package/lib/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListReducer.js +60 -0
- package/lib/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListSelector.js +17 -0
- package/lib/view/spendManagement/treasury/treasuryTaxLetterList/treasuryTaxLetterListState.js +11 -0
- package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyEpic.js +91 -0
- package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyPayload.js +15 -0
- package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyReducer.js +54 -0
- package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneySelector.js +64 -0
- package/lib/view/spendManagement/treasury/treasuryTransferMoney/treasuryTransferMoneyState.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.js +48 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer.js +49 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositSelector.js +32 -0
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositState.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailPayload.js +15 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer.js +199 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector.js +86 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailState.js +30 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountDetailEpic.js +58 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.js +35 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.js +38 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.js +67 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountList.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListPayload.js +14 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListReducer.js +45 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListSelector.js +13 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.js +38 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer.js +65 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector.js +25 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListState.js +9 -0
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.js +57 -0
- package/lib/view/spendManagement/zeniAccounts/expressPay/epics/fetchExpressPayInitialDetailsEpic.js +39 -0
- package/lib/view/spendManagement/zeniAccounts/expressPay/epics/submitExpressPayEpic.js +66 -0
- package/lib/view/spendManagement/zeniAccounts/expressPay/expressPayReducer.js +64 -0
- package/lib/view/spendManagement/zeniAccounts/expressPay/expressPaySelector.js +82 -0
- package/lib/view/spendManagement/zeniAccounts/expressPay/expressPayState.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountBalanceEpic.js +52 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/fetchPaymentAccountListEpic.js +41 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountList.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListPayload.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer.js +99 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListSelector.js +20 -0
- package/lib/view/spendManagement/zeniAccounts/paymentAccountList/unlinkPaymentAccountEpic.js +54 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/fetchReviewTransferDetailEpic.js +40 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.js +19 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer.js +117 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailSelector.js +34 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailState.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.js +58 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.js +68 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/fetchZeniAccountListPageEpic.js +40 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListPayload.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListReducer.js +87 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.js +60 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListState.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/acceptZeniAccountTermsEpic.js +45 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/epic/fetchZeniAccountSetupViewEpic.js +81 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewReducer.js +96 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewSelector.js +41 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewState.js +2 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.js +33 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.js +99 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer.js +58 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigSelector.js +24 -0
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigState.js +2 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionAddOnsEpic.js +39 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionCouponsEpic.js +39 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionCreateEstimateEpic.js +49 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionDetailsEpic.js +73 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionListEpic.js +86 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionPlansEpic.js +38 -0
- package/lib/view/subscriptionView/epic/fetchSubscriptionUpdateEstimateEpic.js +52 -0
- package/lib/view/subscriptionView/epic/initializeSubscriptionLocalDataEpic.js +44 -0
- package/lib/view/subscriptionView/epic/saveSubscriptionNotesUpdatesEpic.js +36 -0
- package/lib/view/subscriptionView/epic/saveSubscriptionUpdatesEpic.js +92 -0
- package/lib/view/subscriptionView/reduceSubscriptionViewFetchState.js +49 -0
- package/lib/view/subscriptionView/selectorHelpers.js +32 -0
- package/lib/view/subscriptionView/subscriptionEstmiatePayload.js +44 -0
- package/lib/view/subscriptionView/subscriptionViewPayload.js +42 -0
- package/lib/view/subscriptionView/subscriptionViewReducer.js +365 -0
- package/lib/view/subscriptionView/subscriptionViewSelector.js +430 -0
- package/lib/view/subscriptionView/subscriptionViewSelectorTypes.js +2 -0
- package/lib/view/subscriptionView/subscriptionViewState.js +2 -0
- package/lib/view/subscriptionView/types/subscriptionEstmiate.js +2 -0
- package/lib/view/subscriptionView/types/subscriptionTypes.js +29 -0
- package/lib/view/subscriptionView/types/subscriptionView.js +2 -0
- package/lib/view/tagView/epics/createTagEpic.js +69 -0
- package/lib/view/tagView/epics/deleteTagEpic.js +53 -0
- package/lib/view/tagView/epics/fetchAllTagsEpic.js +33 -0
- package/lib/view/tagView/tagViewPayload.js +2 -0
- package/lib/view/tagView/tagViewReducer.js +99 -0
- package/lib/view/tagView/tagViewSelector.js +17 -0
- package/lib/view/tagView/tagViewState.js +2 -0
- package/lib/view/taskManager/cannedResponsesView/cannedResponses.js +2 -0
- package/lib/view/taskManager/cannedResponsesView/cannedResponsesPayload.js +15 -0
- package/lib/view/taskManager/cannedResponsesView/cannedResponsesReducer.js +69 -0
- package/lib/view/taskManager/cannedResponsesView/cannedResponsesSelector.js +6 -0
- package/lib/view/taskManager/cannedResponsesView/epics/deleteCannedResponseEpic.js +21 -0
- package/lib/view/taskManager/cannedResponsesView/epics/fetchCannedResponsesEpic.js +25 -0
- package/lib/view/taskManager/cannedResponsesView/epics/saveCannedResponseEpic.js +33 -0
- package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.js +71 -0
- package/lib/view/taskManager/taskDetailView/epics/createSubTaskEpic.js +100 -0
- package/lib/view/taskManager/taskDetailView/epics/deleteTaskEpic.js +51 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchSubTasksEpic.js +57 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.js +152 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailPageEpic.js +46 -0
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskHistoryEpic.js +62 -0
- package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +28 -0
- package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +170 -0
- package/lib/view/taskManager/taskDetailView/epics/snoozeTaskEpic.js +70 -0
- package/lib/view/taskManager/taskDetailView/epics/unsnoozeTaskEpic.js +61 -0
- package/lib/view/taskManager/taskDetailView/taskDetail.js +43 -0
- package/lib/view/taskManager/taskDetailView/taskDetailLocalData.js +51 -0
- package/lib/view/taskManager/taskDetailView/taskDetailReducer.js +439 -0
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +193 -0
- package/lib/view/taskManager/taskGroupTemplateView/epics/createTaskFromTaskGroupTemplateEpic.js +54 -0
- package/lib/view/taskManager/taskGroupTemplateView/epics/fetchTaskGroupTemplatesEpic.js +34 -0
- package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewPayload.js +2 -0
- package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewReducer.js +62 -0
- package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewSelector.js +10 -0
- package/lib/view/taskManager/taskGroupTemplateView/taskGroupTemplateViewState.js +2 -0
- package/lib/view/taskManager/taskGroupView/epics/createNewTaskGroupEpic.js +59 -0
- package/lib/view/taskManager/taskGroupView/epics/deleteTaskGroupEpic.js +41 -0
- package/lib/view/taskManager/taskGroupView/epics/fetchAllTaskGroupsEpic.js +33 -0
- package/lib/view/taskManager/taskGroupView/epics/updateTaskGroupNameEpic.js +51 -0
- package/lib/view/taskManager/taskGroupView/taskGroupViewPayload.js +2 -0
- package/lib/view/taskManager/taskGroupView/taskGroupViewReducer.js +143 -0
- package/lib/view/taskManager/taskGroupView/taskGroupViewState.js +2 -0
- package/lib/view/taskManager/taskListView/epics/bulkUpdateTaskListEpic.js +136 -0
- package/lib/view/taskManager/taskListView/epics/dragNDropTasksEpic.js +23 -0
- package/lib/view/taskManager/taskListView/epics/fetchTaskListEpic.js +45 -0
- package/lib/view/taskManager/taskListView/epics/fetchTaskListPageEpic.js +52 -0
- package/lib/view/taskManager/taskListView/epics/updateTaskFromListViewEpic.js +37 -0
- package/lib/view/taskManager/taskListView/taskList.js +69 -0
- package/lib/view/taskManager/taskListView/taskListFilterHelpers.js +22 -0
- package/lib/view/taskManager/taskListView/taskListPayload.js +2 -0
- package/lib/view/taskManager/taskListView/taskListReducer.js +947 -0
- package/lib/view/taskManager/taskListView/taskListSelector.js +421 -0
- package/lib/view/taskManager/taskListView/taskListViewHelpers.js +114 -0
- package/lib/view/tasksCard/fetchTasksCardEpic.js +18 -0
- package/lib/view/tasksCard/tasksCardPayload.js +2 -0
- package/lib/view/tasksCard/tasksCardReducer.js +67 -0
- package/lib/view/tasksCard/tasksCardSelector.js +54 -0
- package/lib/view/tasksCard/tasksCardState.js +2 -0
- package/lib/view/topEx/topExEpic.js +20 -0
- package/lib/view/topEx/topExPayload.js +2 -0
- package/lib/view/topEx/topExReducer.js +87 -0
- package/lib/view/topEx/topExSelector.js +68 -0
- package/lib/view/topEx/topExSelectorTypes.js +2 -0
- package/lib/view/topEx/topExState.js +17 -0
- package/lib/view/transactionActivityLogView/fetchTransactionActivityLogEpic.js +47 -0
- package/lib/view/transactionActivityLogView/transactionActivityLogViewPayload.js +2 -0
- package/lib/view/transactionActivityLogView/transactionActivityLogViewReducer.js +54 -0
- package/lib/view/transactionActivityLogView/transactionActivityLogViewSelector.js +37 -0
- package/lib/view/transactionActivityLogView/transactionActivityLogViewState.js +2 -0
- package/lib/view/transactionDetail/createTransaction/createTransactionLocalDataHelper.js +172 -0
- package/lib/view/transactionDetail/createTransaction/createTransactionPayload.js +196 -0
- package/lib/view/transactionDetail/createTransaction/createTransactionSelector.js +76 -0
- package/lib/view/transactionDetail/createTransaction/createTransactionState.js +16 -0
- package/lib/view/transactionDetail/createTransaction/epics/createTransactionAttachmentUploadFailureEpic.js +23 -0
- package/lib/view/transactionDetail/createTransaction/epics/createTransactionEpic.js +85 -0
- package/lib/view/transactionDetail/createTransaction/epics/fetchVendorRecommendationsForCreateTransactionEpic.js +57 -0
- package/lib/view/transactionDetail/createTransaction/epics/initializeCreateTransactionLocalDataEpic.js +14 -0
- package/lib/view/transactionDetail/epics/deleteTransactionAttachmentEpic.js +45 -0
- package/lib/view/transactionDetail/epics/downloadAccountingProviderAttachmentEpic.js +26 -0
- package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.js +28 -0
- package/lib/view/transactionDetail/epics/markTransactionAsNotMiscategorizedEpic.js +141 -0
- package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.js +32 -0
- package/lib/view/transactionDetail/epics/saveTransactionHelper.js +344 -0
- package/lib/view/transactionDetail/epics/transactionDetailEpic.js +141 -0
- package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +396 -0
- package/lib/view/transactionDetail/epics/uploadMissingAttachmentSuccessEpic.js +20 -0
- package/lib/view/transactionDetail/filePayload.js +2 -0
- package/lib/view/transactionDetail/getAccountingProviderAttachmentSelector.js +12 -0
- package/lib/view/transactionDetail/journalEntryLinesViewModel.js +220 -0
- package/lib/view/transactionDetail/transactionDetailLocalDataHelper.js +1157 -0
- package/lib/view/transactionDetail/transactionDetailPayload.js +2 -0
- package/lib/view/transactionDetail/transactionDetailReducer.js +1084 -0
- package/lib/view/transactionDetail/transactionDetailSelector.js +223 -0
- package/lib/view/transactionDetail/transactionDetailState.js +77 -0
- package/lib/view/transactionDetail/transactionDetailTypes.js +2 -0
- package/lib/view/transactionList/fetchTransactionListByAccountEpic.js +58 -0
- package/lib/view/transactionList/fetchTransactionListByClassEpic.js +53 -0
- package/lib/view/transactionList/fetchTransactionListByEntityEpic.js +62 -0
- package/lib/view/transactionList/fetchTransactionListByProjectEpic.js +52 -0
- package/lib/view/transactionList/fetchTransactionsListByCategoryTypeEpic.js +71 -0
- package/lib/view/transactionList/filterTransactionsByTimePeriod.js +22 -0
- package/lib/view/transactionList/parallelFetchAccountTransactionListEpic.js +84 -0
- package/lib/view/transactionList/parallelFetchClassTransactionListEpic.js +84 -0
- package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.js +92 -0
- package/lib/view/transactionList/parallelFetchProjectTransactionListEpic.js +36 -0
- package/lib/view/transactionList/parallelFetchTransactionListByCategoryTypeEpic.js +36 -0
- package/lib/view/transactionList/reduceTransactionListFetchState.js +56 -0
- package/lib/view/transactionList/transactionListByAccountSelector.js +66 -0
- package/lib/view/transactionList/transactionListByCategoryTypeSelector.js +55 -0
- package/lib/view/transactionList/transactionListByClassSelector.js +67 -0
- package/lib/view/transactionList/transactionListByEntitySelector.js +105 -0
- package/lib/view/transactionList/transactionListByProjectSelector.js +67 -0
- package/lib/view/transactionList/transactionListPayload.js +2 -0
- package/lib/view/transactionList/transactionListReducer.js +489 -0
- package/lib/view/transactionList/transactionListState.js +62 -0
- package/lib/view/trend/fetchExpenseTrendEpic.js +58 -0
- package/lib/view/trend/fetchIncomeTrendEpic.js +82 -0
- package/lib/view/trend/trendPayload.js +2 -0
- package/lib/view/trend/trendReducer.js +78 -0
- package/lib/view/trend/trendSelector.js +139 -0
- package/lib/view/trend/trendState.js +2 -0
- package/lib/view/trendWithTransactions/fetchTransactionsForEntityEpic.js +18 -0
- package/lib/view/trendWithTransactions/fetchTrendForEntityEpic.js +20 -0
- package/lib/view/trendWithTransactions/reduceTrendWithTransactionsState.js +55 -0
- package/lib/view/trendWithTransactions/trendWithTransactionsReducer.js +71 -0
- package/lib/view/trendWithTransactions/trendWithTransactionsSelector.js +60 -0
- package/lib/view/trendWithTransactions/trendWithTransactionsState.js +5 -0
- package/lib/view/twoFactorAuthentication/resendOtpEpic.js +172 -0
- package/lib/view/twoFactorAuthentication/sendOtpEpic.js +173 -0
- package/lib/view/twoFactorAuthentication/twoFactorAuthentication.js +38 -0
- package/lib/view/twoFactorAuthentication/twoFactorAuthenticationPayload.js +11 -0
- package/lib/view/twoFactorAuthentication/twoFactorAuthenticationReducer.js +245 -0
- package/lib/view/twoFactorAuthentication/twoFactorAuthenticationSelector.js +20 -0
- package/lib/view/twoFactorAuthentication/verifyOtpEpic.js +157 -0
- package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.js +52 -0
- package/lib/view/userFinancialAccount/userFinancialAccountPayload.js +2 -0
- package/lib/view/userFinancialAccount/userFinancialAccountReducer.js +96 -0
- package/lib/view/userFinancialAccount/userFinancialAccountSelector.js +34 -0
- package/lib/view/userFinancialAccount/userFinancialAccountState.js +2 -0
- package/lib/view/userGroupListView/userGroupListViewReducer.js +72 -0
- package/lib/view/userGroupListView/userGroupListViewSelector.js +25 -0
- package/lib/view/userGroupListView/userGroupListViewState.js +2 -0
- package/lib/view/userListView/fetchUserListByTypeEpic.js +91 -0
- package/lib/view/userListView/userListViewPayload.js +2 -0
- package/lib/view/userListView/userListViewReducer.js +85 -0
- package/lib/view/userListView/userListViewSelector.js +38 -0
- package/lib/view/userListView/userListViewState.js +2 -0
- package/lib/view/userRoleConfigView/userRoleConfigEpic.js +36 -0
- package/lib/view/userRoleConfigView/userRoleConfigPayload.js +2 -0
- package/lib/view/userRoleConfigView/userRoleConfigReducer.js +47 -0
- package/lib/view/userRoleConfigView/userRoleConfigSelector.js +12 -0
- package/lib/view/userRoleConfigView/userRoleConfigState.js +2 -0
- package/lib/view/vendor1099TypeList/vendor1099TypeListEpic.js +23 -0
- package/lib/view/vendor1099TypeList/vendor1099TypeListPayload.js +2 -0
- package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.js +54 -0
- package/lib/view/vendor1099TypeList/vendor1099TypeListState.js +2 -0
- package/lib/view/vendorFiling1099/__mock__/vendorFiling1099DownloadMock.js +95 -0
- package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListMock.js +209 -0
- package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListSelectorMock.js +46 -0
- package/lib/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.js +158 -0
- package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.js +30 -0
- package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099DownloadEpic.js +49 -0
- package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099ListEpic.js +41 -0
- package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListPayload.js +2 -0
- package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer.js +135 -0
- package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector.js +88 -0
- package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.js +13 -0
- package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsPayload.js +55 -0
- package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +219 -0
- package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSaveEpic.js +58 -0
- package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSelector.js +16 -0
- package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsState.js +2 -0
- package/lib/view/vendorList/fetchVendorsListEpic.js +97 -0
- package/lib/view/vendorList/vendorListPayload.js +2 -0
- package/lib/view/vendorList/vendorListReducer.js +155 -0
- package/lib/view/vendorList/vendorListSelector.js +91 -0
- package/lib/view/vendorList/vendorListState.js +2 -0
- package/lib/view/vendorReviewView/common/payload/commonTypes.js +94 -0
- package/lib/view/vendorReviewView/common/payload/commonTypesPayloadShapes.js +2 -0
- package/lib/view/vendorReviewView/common/state/commonTypes.js +90 -0
- package/lib/view/vendorReviewView/common/state/recommendedNonExistingGlobalMerchant.js +2 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewAttachmentsEpic.js +37 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewViewEpic.js +94 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorDetailsViewEpic.js +61 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +254 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewPayload.js +29 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +346 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.js +126 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.js +15 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/approveVendorGlobalReviewEpic.js +149 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic.js +96 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/rejectVendorGlobalReviewEpic.js +94 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.js +12 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.js +266 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.js +60 -0
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.js +12 -0
- package/lib/view/vendorTabView/fetchVendorTabViewEpic.js +75 -0
- package/lib/view/vendorTabView/vendorTabViewReducer.js +58 -0
- package/lib/view/vendorTabView/vendorTabViewSelector.js +15 -0
- package/lib/view/vendorTabView/vendorTabViewState.js +14 -0
- package/lib/view/vendorTypeList/vendorTypeListEpic.js +23 -0
- package/lib/view/vendorTypeList/vendorTypeListPayload.js +2 -0
- package/lib/view/vendorTypeList/vendorTypeListReducer.js +40 -0
- package/lib/view/vendorTypeList/vendorTypeListState.js +2 -0
- package/lib/view/vendorTypeList/vendorTypeSelector.js +1 -0
- package/lib/view/zeniAccStatementList/fetchZeniAccStatementListEpic.js +36 -0
- package/lib/view/zeniAccStatementList/fetchZeniAccStatementPageEpic.js +37 -0
- package/lib/view/zeniAccStatementList/zeniAccStatementList.js +11 -0
- package/lib/view/zeniAccStatementList/zeniAccStatementListPayload.js +2 -0
- package/lib/view/zeniAccStatementList/zeniAccStatementListReducer.js +85 -0
- package/lib/view/zeniAccStatementList/zeniAccStatementListSelector.js +39 -0
- package/lib/view/zeniOAuthView/epics/approveOAuthConsentEpic.js +69 -0
- package/lib/view/zeniOAuthView/zeniOAuthParamsParser.js +44 -0
- package/lib/view/zeniOAuthView/zeniOAuthReducer.js +57 -0
- package/lib/view/zeniOAuthView/zeniOAuthSelector.js +9 -0
- package/lib/view/zeniOAuthView/zeniOAuthState.js +2 -0
- package/lib/zeniAPI.js +207 -0
- package/lib/zeniAPIClientState.js +7 -0
- package/lib/zeniAPIStatus.js +29 -0
- package/lib/zeniDayJS.js +169 -0
- package/lib/zeniUrl.js +19 -0
- package/package.json +2 -4
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllAccountMetadataRecordsByID = exports.getParentAccountId = void 0;
|
|
4
|
+
exports.geNestedAccountIDHierarchyForReport = geNestedAccountIDHierarchyForReport;
|
|
5
|
+
exports.getNestedAccountIDForAccount = getNestedAccountIDForAccount;
|
|
6
|
+
const accountPayload_1 = require("../../entity/account/accountPayload");
|
|
7
|
+
/**
|
|
8
|
+
* This function builds the hierarchy which is used to display all accounts
|
|
9
|
+
* in the selection view
|
|
10
|
+
* @param accountsMetadata
|
|
11
|
+
* @returns
|
|
12
|
+
*/
|
|
13
|
+
function geNestedAccountIDHierarchyForReport(accountsMetadata) {
|
|
14
|
+
const parentAccounts = [];
|
|
15
|
+
accountsMetadata.forEach((accountMeta) => {
|
|
16
|
+
if (accountMeta.isSubAccount === false ||
|
|
17
|
+
// look for its parent in the entire metadata. If not found, then push this also as a rootNode
|
|
18
|
+
accountsMetadata.find((eachAccount) => eachAccount.accountId === accountMeta.parentAccountId) == null) {
|
|
19
|
+
parentAccounts.push(accountMeta);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
const nestedParents = parentAccounts.map((parentAccount) => {
|
|
23
|
+
const accountId = parentAccount.accountId;
|
|
24
|
+
return {
|
|
25
|
+
accountId: [accountId],
|
|
26
|
+
accountName: parentAccount.accountName,
|
|
27
|
+
qboId: parentAccount.qboId,
|
|
28
|
+
children: getNestedChildren([accountId], accountsMetadata),
|
|
29
|
+
hasSiblings: parentAccounts.length > 1,
|
|
30
|
+
coaId: parentAccount.coaId,
|
|
31
|
+
isBillEditableCoaAccountType: parentAccount.isBillEditableCoaAccountType,
|
|
32
|
+
isDeleted: parentAccount.isDeleted,
|
|
33
|
+
};
|
|
34
|
+
});
|
|
35
|
+
return nestedParents;
|
|
36
|
+
}
|
|
37
|
+
const getNestedChildren = (parentAccount, allAccounts) => {
|
|
38
|
+
const parentId = parentAccount[0];
|
|
39
|
+
const children = allAccounts.filter((eachAccount) => eachAccount.parentAccountId === parentId);
|
|
40
|
+
const nestedChildren = children.map((child) => {
|
|
41
|
+
const childId = [child.accountId, ...parentAccount];
|
|
42
|
+
return {
|
|
43
|
+
accountId: childId,
|
|
44
|
+
accountName: child.accountName,
|
|
45
|
+
qboId: child.qboId,
|
|
46
|
+
children: getNestedChildren(childId, allAccounts),
|
|
47
|
+
hasSiblings: children.length > 1,
|
|
48
|
+
coaId: child.coaId,
|
|
49
|
+
isBillEditableCoaAccountType: child.isBillEditableCoaAccountType,
|
|
50
|
+
isDeleted: child.isDeleted,
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
return nestedChildren;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Modified this function to remove recursion. The accounts metadata will ALWAYS be sorted such that all
|
|
57
|
+
* parent accounts of any will appear before any child account.
|
|
58
|
+
* @param accountId
|
|
59
|
+
* @param accountsMetadata
|
|
60
|
+
* @returns
|
|
61
|
+
*/
|
|
62
|
+
function getNestedAccountIDForAccount(accountId, accountsMetadata) {
|
|
63
|
+
let nestedAccountId = undefined;
|
|
64
|
+
let toFindAccountId = accountId;
|
|
65
|
+
let toFindParentAccountId = undefined;
|
|
66
|
+
for (let index = accountsMetadata.length - 1; index >= 0; index--) {
|
|
67
|
+
if (accountsMetadata[index].accountId === toFindAccountId) {
|
|
68
|
+
nestedAccountId =
|
|
69
|
+
nestedAccountId == null
|
|
70
|
+
? [toFindAccountId]
|
|
71
|
+
: [...nestedAccountId, toFindAccountId];
|
|
72
|
+
toFindParentAccountId = accountsMetadata[index].parentAccountId;
|
|
73
|
+
if (toFindParentAccountId == null) {
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
toFindAccountId = toFindParentAccountId;
|
|
78
|
+
toFindParentAccountId = undefined;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
if (nestedAccountId == null) {
|
|
83
|
+
throw Error(`Cannot find accountId ${accountId} in account metadata`);
|
|
84
|
+
}
|
|
85
|
+
return nestedAccountId;
|
|
86
|
+
}
|
|
87
|
+
const getParentAccountId = (accountId) => {
|
|
88
|
+
return accountId.length > 1
|
|
89
|
+
? accountId.slice(1)
|
|
90
|
+
: undefined;
|
|
91
|
+
};
|
|
92
|
+
exports.getParentAccountId = getParentAccountId;
|
|
93
|
+
const getAllAccountMetadataRecordsByID = (accountsMetadataPayload) => {
|
|
94
|
+
const accountMetadataRecords = {};
|
|
95
|
+
const accountMetadataRecordsPartial = {};
|
|
96
|
+
const accountsMetadata = accountsMetadataPayload != null
|
|
97
|
+
? accountsMetadataPayload.map((accountPayload) => {
|
|
98
|
+
const accountMeta = (0, accountPayload_1.mapAccountMetadataPayloadToAccountMetadata)(accountPayload);
|
|
99
|
+
accountMetadataRecordsPartial[accountMeta.accountId] = Object.assign({}, {
|
|
100
|
+
payload: accountPayload,
|
|
101
|
+
meta: accountMeta,
|
|
102
|
+
});
|
|
103
|
+
return accountMeta;
|
|
104
|
+
})
|
|
105
|
+
: [];
|
|
106
|
+
accountsMetadata.forEach((accountMeta) => {
|
|
107
|
+
accountMetadataRecords[accountMeta.accountId] = Object.assign({}, {
|
|
108
|
+
nestedAccountId: getNestedAccountIDForAccount(accountMeta.accountId, accountsMetadata),
|
|
109
|
+
accountMetadata: accountMetadataRecordsPartial[accountMeta.accountId].meta,
|
|
110
|
+
accountMetadataPayload: accountMetadataRecordsPartial[accountMeta.accountId].payload,
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
return accountMetadataRecords;
|
|
114
|
+
};
|
|
115
|
+
exports.getAllAccountMetadataRecordsByID = getAllAccountMetadataRecordsByID;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isEqualNestedAccountId = void 0;
|
|
4
|
+
exports.getNestedAccountIDStr = getNestedAccountIDStr;
|
|
5
|
+
function getNestedAccountIDStr(nestedAccountId) {
|
|
6
|
+
const [accountId, parentAccountId, greatParentAccountId, greatGreatParentAccountId, greatGreatGreatParentAccountId,] = nestedAccountId;
|
|
7
|
+
return `${accountId}-${parentAccountId ?? ''}-${greatParentAccountId ?? ''}-${greatGreatParentAccountId ?? ''}-${greatGreatGreatParentAccountId ?? ''}`;
|
|
8
|
+
}
|
|
9
|
+
const isEqualNestedAccountId = (nestedAccountIdA, nestedAccountIdB) => {
|
|
10
|
+
const nestedStringA = getNestedAccountIDStr(nestedAccountIdA);
|
|
11
|
+
const nestedStringB = getNestedAccountIDStr(nestedAccountIdB);
|
|
12
|
+
return nestedStringA === nestedStringB;
|
|
13
|
+
};
|
|
14
|
+
exports.isEqualNestedAccountId = isEqualNestedAccountId;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAgingBalancesKey = exports.toAgingPeriod = exports.AGING_PERIODS = void 0;
|
|
4
|
+
const stringToUnion_1 = require("../stringToUnion");
|
|
5
|
+
const timePeriod_1 = require("../timePeriod");
|
|
6
|
+
exports.AGING_PERIODS = [
|
|
7
|
+
'current_due',
|
|
8
|
+
'due_1-30_days',
|
|
9
|
+
'due_31-60_days',
|
|
10
|
+
'due_61-90_days',
|
|
11
|
+
'due_over_90_days',
|
|
12
|
+
];
|
|
13
|
+
const toAgingPeriod = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.AGING_PERIODS);
|
|
14
|
+
exports.toAgingPeriod = toAgingPeriod;
|
|
15
|
+
const getAgingBalancesKey = (reportDate) => `${reportDate.format(timePeriod_1.DEFAULT_DATE_FORMAT)}`;
|
|
16
|
+
exports.getAgingBalancesKey = getAgingBalancesKey;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isAllowedValueWithCode = isAllowedValueWithCode;
|
|
4
|
+
exports.isAllowedValueWithID = isAllowedValueWithID;
|
|
5
|
+
function isAllowedValueWithCode(allowedValue) {
|
|
6
|
+
return allowedValue.code !== undefined;
|
|
7
|
+
}
|
|
8
|
+
function isAllowedValueWithID(allowedValue) {
|
|
9
|
+
return allowedValue.id !== undefined;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toAmountWC = exports.toAmount = void 0;
|
|
4
|
+
const toAmount = (amount, currency_code, currency_symbol) => ({
|
|
5
|
+
amount: amount,
|
|
6
|
+
currencyCode: currency_code,
|
|
7
|
+
currencySymbol: currency_symbol,
|
|
8
|
+
});
|
|
9
|
+
exports.toAmount = toAmount;
|
|
10
|
+
/* to amount with currency */
|
|
11
|
+
const toAmountWC = (amount, currency) => (0, exports.toAmount)(amount, currency.currencyCode, currency.currencySymbol);
|
|
12
|
+
exports.toAmountWC = toAmountWC;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toAnimationsFileName = void 0;
|
|
4
|
+
const stringToUnion_1 = require("./stringToUnion");
|
|
5
|
+
const ALL_ANIMATIONS_FILE_NAMES = [
|
|
6
|
+
'AiAgent',
|
|
7
|
+
'AiIconEntry',
|
|
8
|
+
'AiIconExit',
|
|
9
|
+
'AiIconLoop',
|
|
10
|
+
'AiStar',
|
|
11
|
+
'AiStarIcon',
|
|
12
|
+
'AiStarPlain',
|
|
13
|
+
'AIPoweredInvoiceDark',
|
|
14
|
+
'AIPoweredInvoiceLight',
|
|
15
|
+
'Angry',
|
|
16
|
+
'AutoTransfer',
|
|
17
|
+
'CloseCard',
|
|
18
|
+
'Confetti',
|
|
19
|
+
'ConfettiSuccess',
|
|
20
|
+
'DashboardChristmasSnow',
|
|
21
|
+
'DashboardHalloweenBats',
|
|
22
|
+
'DashboardNewYearShow',
|
|
23
|
+
'DashboardSidebarBottomChristmas',
|
|
24
|
+
'DashboardSidebarBottomNewYear',
|
|
25
|
+
'DashboardSidebarBottomThanksgiving',
|
|
26
|
+
'DashboardSidebarTopChristmas',
|
|
27
|
+
'DashboardSidebarTopNewYear',
|
|
28
|
+
'DashboardSidebarTopThanksgiving',
|
|
29
|
+
'Distribution',
|
|
30
|
+
'DistributionDark',
|
|
31
|
+
'EarnYield',
|
|
32
|
+
'FastestWayDark',
|
|
33
|
+
'FastestWayLight',
|
|
34
|
+
'FinanceTeamDark',
|
|
35
|
+
'FinanceTeamLight',
|
|
36
|
+
'Happy',
|
|
37
|
+
'Liquidity',
|
|
38
|
+
'LockCard',
|
|
39
|
+
'MoneyTransferSuccess',
|
|
40
|
+
'MultiLevelApprovalDark',
|
|
41
|
+
'MultiLevelApprovalLight',
|
|
42
|
+
'NotHappy',
|
|
43
|
+
'Protection',
|
|
44
|
+
'ReceiptDark',
|
|
45
|
+
'ReceiptLight',
|
|
46
|
+
'Recurring',
|
|
47
|
+
'RecurringDark',
|
|
48
|
+
'ReimburseDark',
|
|
49
|
+
'ReimburseLight',
|
|
50
|
+
'RewardsDark',
|
|
51
|
+
'RewardsDarkHover',
|
|
52
|
+
'RewardsLight',
|
|
53
|
+
'RewardsLightHover',
|
|
54
|
+
'Ripple',
|
|
55
|
+
'Secure',
|
|
56
|
+
'Success',
|
|
57
|
+
'Target',
|
|
58
|
+
'TargetDark',
|
|
59
|
+
'UnlockCard',
|
|
60
|
+
'VeryHappy',
|
|
61
|
+
'Welcome',
|
|
62
|
+
'ZeniAssist',
|
|
63
|
+
];
|
|
64
|
+
const toAnimationsFileName = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_ANIMATIONS_FILE_NAMES);
|
|
65
|
+
exports.toAnimationsFileName = toAnimationsFileName;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isIncompleteMonthPresentInTimeframeTick = exports.getTimeframeTickTag = void 0;
|
|
4
|
+
const zeniDayJS_1 = require("../zeniDayJS");
|
|
5
|
+
const getFYQuarterAndYear_1 = require("./fiscalYearHelpers/getFYQuarterAndYear");
|
|
6
|
+
const getTimeframeTickTag = (timeframe, firstMonthOfFY, timeframeTick, bookCloseDate, dataAvailable) => {
|
|
7
|
+
const bookCloseDateQtr = (0, getFYQuarterAndYear_1.getFYQuarterAndYear)(bookCloseDate, firstMonthOfFY);
|
|
8
|
+
const periodQtrYear = (0, getFYQuarterAndYear_1.getFYQuarterAndYear)(timeframeTick.startDate, firstMonthOfFY);
|
|
9
|
+
const lastDayOfEndDateMonth = (0, zeniDayJS_1.date)(new Date(timeframeTick.endDate.year(), timeframeTick.endDate.month() + 1, 0).toDateString());
|
|
10
|
+
/*
|
|
11
|
+
timeframe: year
|
|
12
|
+
Book close date : 31st Dec 2022, Timeframe tick: Start date- 5th Jan 2023 End date - 31st Dec 2023, Data avaialble till 5th Jan
|
|
13
|
+
lastDayOfEndDateMonth: 31st Dec 2023
|
|
14
|
+
In this case incomplete tag needs to be shown for 2023 year
|
|
15
|
+
*/
|
|
16
|
+
if (lastDayOfEndDateMonth.isSame(timeframeTick.endDate, 'day') === false ||
|
|
17
|
+
dataAvailable.endDate.isSameOrBefore(timeframeTick.endDate, 'day')) {
|
|
18
|
+
return 'incomplete';
|
|
19
|
+
}
|
|
20
|
+
switch (timeframe) {
|
|
21
|
+
case 'month':
|
|
22
|
+
return timeframeTick.startDate.isAfter(bookCloseDate, 'day')
|
|
23
|
+
? 'under_review'
|
|
24
|
+
: undefined;
|
|
25
|
+
case 'quarter':
|
|
26
|
+
return timeframeTick.endDate.isAfter(bookCloseDate, 'day')
|
|
27
|
+
? 'under_review'
|
|
28
|
+
: undefined;
|
|
29
|
+
case 'year': {
|
|
30
|
+
return timeframeTick.endDate.isAfter(bookCloseDate, 'day') &&
|
|
31
|
+
periodQtrYear.fyYear >= bookCloseDateQtr.fyYear &&
|
|
32
|
+
dataAvailable.endDate.isAfter(bookCloseDate)
|
|
33
|
+
? 'under_review'
|
|
34
|
+
: undefined;
|
|
35
|
+
}
|
|
36
|
+
default:
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
exports.getTimeframeTickTag = getTimeframeTickTag;
|
|
41
|
+
const isIncompleteMonthPresentInTimeframeTick = (timeframeTick) => {
|
|
42
|
+
const lastDayOfEndDateMonth = (0, zeniDayJS_1.date)(new Date(timeframeTick.endDate.year(), timeframeTick.endDate.month() + 1, 0).toDateString());
|
|
43
|
+
if (lastDayOfEndDateMonth.isSame(timeframeTick.endDate, 'day') === false) {
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
return false;
|
|
47
|
+
};
|
|
48
|
+
exports.isIncompleteMonthPresentInTimeframeTick = isIncompleteMonthPresentInTimeframeTick;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createCacheOverrideFetchReducer = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Factory for `fetchXxx` reducers that support Pusher-driven silent refresh.
|
|
6
|
+
* When `cacheOverride=true`, fetchState and error are left untouched so the
|
|
7
|
+
* UI doesn't flash a skeleton. When `false`, `applyTo` runs the normal
|
|
8
|
+
* 'In-Progress' transition.
|
|
9
|
+
*/
|
|
10
|
+
const createCacheOverrideFetchReducer = (applyTo) => ({
|
|
11
|
+
reducer(draft, action) {
|
|
12
|
+
if (action.payload.cacheOverride !== true) {
|
|
13
|
+
applyTo(draft);
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
prepare(cacheOverride = false) {
|
|
17
|
+
return { payload: { cacheOverride } };
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
exports.createCacheOverrideFetchReducer = createCacheOverrideFetchReducer;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllClassMetadataRecordsByID = exports.getParentClassId = void 0;
|
|
4
|
+
exports.geNestedClassIDHierarchyForReport = geNestedClassIDHierarchyForReport;
|
|
5
|
+
exports.getNestedClassIDForClass = getNestedClassIDForClass;
|
|
6
|
+
const classPayload_1 = require("../../entity/class/classPayload");
|
|
7
|
+
/**
|
|
8
|
+
* This function builds the hierarchy which is used to display all classes
|
|
9
|
+
* in the selection view
|
|
10
|
+
* @param classesMetadata
|
|
11
|
+
* @returns
|
|
12
|
+
*/
|
|
13
|
+
function geNestedClassIDHierarchyForReport(classesMetadata) {
|
|
14
|
+
const parentClasses = [];
|
|
15
|
+
classesMetadata.forEach((classMeta) => {
|
|
16
|
+
if (classMeta.isSubclass === false ||
|
|
17
|
+
// look for its parent in the entire metadata. If not found, then push this also as a rootNode
|
|
18
|
+
classesMetadata.find((eachClass) => eachClass.classId === classMeta.parentClassId) == null) {
|
|
19
|
+
parentClasses.push(classMeta);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
const nestedParents = parentClasses.map((parentClass) => {
|
|
23
|
+
const classId = parentClass.classId;
|
|
24
|
+
return {
|
|
25
|
+
classId: [classId],
|
|
26
|
+
className: parentClass.className,
|
|
27
|
+
isDeleted: parentClass.isDeleted,
|
|
28
|
+
qboId: parentClass.qboId,
|
|
29
|
+
fullyQualifiedAccountingClassName: parentClass.fullyQualifiedAccountingClassName,
|
|
30
|
+
accountingClassNumber: parentClass.accountingClassNumber,
|
|
31
|
+
children: getNestedChildren([classId], classesMetadata),
|
|
32
|
+
hasSiblings: parentClasses.length > 1,
|
|
33
|
+
};
|
|
34
|
+
});
|
|
35
|
+
return nestedParents;
|
|
36
|
+
}
|
|
37
|
+
const getNestedChildren = (parentClass, allClasses) => {
|
|
38
|
+
const parentId = parentClass[0];
|
|
39
|
+
const children = allClasses.filter((eachClass) => eachClass.parentClassId === parentId);
|
|
40
|
+
const nestedChildren = children.map((child) => {
|
|
41
|
+
const childId = [child.classId, ...parentClass];
|
|
42
|
+
return {
|
|
43
|
+
classId: childId,
|
|
44
|
+
className: child.className,
|
|
45
|
+
isDeleted: child.isDeleted,
|
|
46
|
+
qboId: child.qboId,
|
|
47
|
+
fullyQualifiedAccountingClassName: child.fullyQualifiedAccountingClassName,
|
|
48
|
+
accountingClassNumber: child.accountingClassNumber,
|
|
49
|
+
children: getNestedChildren(childId, allClasses),
|
|
50
|
+
hasSiblings: children.length > 1,
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
return nestedChildren;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Modified this function to remove recursion. The classes metadata will ALWAYS be sorted such that all
|
|
57
|
+
* parent classes of any will appear before any child class.
|
|
58
|
+
* @param classId
|
|
59
|
+
* @param classesMetadata
|
|
60
|
+
* @returns
|
|
61
|
+
*/
|
|
62
|
+
function getNestedClassIDForClass(classId, classesMetadata) {
|
|
63
|
+
let nestedClassId = undefined;
|
|
64
|
+
let toFindClassId = classId;
|
|
65
|
+
let toFindParentClassId = undefined;
|
|
66
|
+
for (let index = classesMetadata.length - 1; index >= 0; index--) {
|
|
67
|
+
if (classesMetadata[index].classId === toFindClassId) {
|
|
68
|
+
nestedClassId =
|
|
69
|
+
nestedClassId == null
|
|
70
|
+
? [toFindClassId]
|
|
71
|
+
: [...nestedClassId, toFindClassId];
|
|
72
|
+
toFindParentClassId = classesMetadata[index].parentClassId;
|
|
73
|
+
if (toFindParentClassId == null) {
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
toFindClassId = toFindParentClassId;
|
|
78
|
+
toFindParentClassId = undefined;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
if (nestedClassId == null) {
|
|
83
|
+
throw Error(`Cannot find classId ${classId} in class metadata`);
|
|
84
|
+
}
|
|
85
|
+
return nestedClassId;
|
|
86
|
+
}
|
|
87
|
+
const getParentClassId = (classId) => {
|
|
88
|
+
return classId.length > 1 ? classId.slice(1) : undefined;
|
|
89
|
+
};
|
|
90
|
+
exports.getParentClassId = getParentClassId;
|
|
91
|
+
const getAllClassMetadataRecordsByID = (classesMetadataPayload) => {
|
|
92
|
+
const classMetadataRecords = {};
|
|
93
|
+
const classMetadataRecordsPartial = {};
|
|
94
|
+
const classesMetadata = classesMetadataPayload != null
|
|
95
|
+
? classesMetadataPayload.map((classPayload) => {
|
|
96
|
+
const classMeta = (0, classPayload_1.toClassMetadata)(classPayload);
|
|
97
|
+
classMetadataRecordsPartial[classMeta.classId] = Object.assign({}, {
|
|
98
|
+
payload: classPayload,
|
|
99
|
+
meta: classMeta,
|
|
100
|
+
});
|
|
101
|
+
return classMeta;
|
|
102
|
+
})
|
|
103
|
+
: [];
|
|
104
|
+
classesMetadata.forEach((classMeta) => {
|
|
105
|
+
classMetadataRecords[classMeta.classId] = Object.assign({}, {
|
|
106
|
+
nestedClassId: getNestedClassIDForClass(classMeta.classId, classesMetadata),
|
|
107
|
+
classMetadata: classMetadataRecordsPartial[classMeta.classId].meta,
|
|
108
|
+
classMetadataPayload: classMetadataRecordsPartial[classMeta.classId].payload,
|
|
109
|
+
});
|
|
110
|
+
});
|
|
111
|
+
return classMetadataRecords;
|
|
112
|
+
};
|
|
113
|
+
exports.getAllClassMetadataRecordsByID = getAllClassMetadataRecordsByID;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getNestedClassIDStr = getNestedClassIDStr;
|
|
4
|
+
function getNestedClassIDStr(nestedClassId) {
|
|
5
|
+
const [classId, parentClassId, greatParentClassId, greatGreatParentClassId, greatGreatGreatParentClassId,] = nestedClassId;
|
|
6
|
+
return `${classId}-${parentClassId ?? ''}-${greatParentClassId ?? ''}-${greatGreatParentClassId ?? ''}-${greatGreatGreatParentClassId ?? ''}`;
|
|
7
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.newAdditionalBalancesOptions = newAdditionalBalancesOptions;
|
|
7
|
+
exports.getAdditionalBalance = getAdditionalBalance;
|
|
8
|
+
const cloneDeep_1 = __importDefault(require("lodash/cloneDeep"));
|
|
9
|
+
const getComparisionBalance_1 = require("./getComparisionBalance");
|
|
10
|
+
const getSamePeriodLastYearBalance_1 = require("./getSamePeriodLastYearBalance");
|
|
11
|
+
const getSummationBalance_1 = require("./getSummationBalance");
|
|
12
|
+
const sliceCOABalances_1 = require("./sliceCOABalances");
|
|
13
|
+
/**
|
|
14
|
+
* Instantiate a new Additional balances option.
|
|
15
|
+
* @param isBalanceSheetBalances is balance sheet balances
|
|
16
|
+
* @param isCashFlowCashAndEquivalents is cash flow CashAndEquivalent balances. one of `opening_balance, closing_balance, closing_minus_opening_balance`
|
|
17
|
+
* @param cashAndEquivalents set only when `isCashFlowCashAndEquivalents === closing_minus_opening_balance`
|
|
18
|
+
* @returns
|
|
19
|
+
*/
|
|
20
|
+
function newAdditionalBalancesOptions(isBalanceSheetBalances, isCashFlowCashAndEquivalents = undefined, cashAndEquivalents = undefined) {
|
|
21
|
+
return {
|
|
22
|
+
isBalanceSheetBalances,
|
|
23
|
+
isCashFlowCashAndEquivalents,
|
|
24
|
+
cashAndEquivalents,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Get additional balance of given balance type
|
|
29
|
+
* @param balanceType balance type
|
|
30
|
+
* @param resultSlice result slice where the last element represents `thisMonth`
|
|
31
|
+
* @param resultBalancesOrder order of balances in the result slice.
|
|
32
|
+
* @param allBalancesOrderedAsc all balances ordered
|
|
33
|
+
* @param allMonthlyBalancesOrderedAsc all balances ordered in monthly timeframe
|
|
34
|
+
* @param options other options to generate additional balances.
|
|
35
|
+
*/
|
|
36
|
+
function getAdditionalBalance(firstMonthOfFY, balanceType, resultSlice, resultFilter, allBalancesOrderedAsc, allMonthlyBalancesOrderedAsc, options) {
|
|
37
|
+
const resultBalancesOrder = resultFilter.balancesRange.orderBy;
|
|
38
|
+
switch (balanceType) {
|
|
39
|
+
case 'same_period_last_year':
|
|
40
|
+
return (0, getSamePeriodLastYearBalance_1.getSamePeriodLastYearBalance)(resultFilter.timeframe, resultSlice, resultBalancesOrder, allBalancesOrderedAsc);
|
|
41
|
+
case 'this_period_vs_last_period':
|
|
42
|
+
case 'this_period_vs_last_period_percent':
|
|
43
|
+
case 'this_period_vs_same_period_last_year':
|
|
44
|
+
case 'this_period_vs_same_period_last_year_percent':
|
|
45
|
+
return (0, getComparisionBalance_1.getComparisionBalance)(balanceType, resultFilter.timeframe, resultSlice, resultBalancesOrder, allBalancesOrderedAsc);
|
|
46
|
+
case 'year_to_date_total':
|
|
47
|
+
case 'year_to_date_last_year_total':
|
|
48
|
+
case 'rolling_12_months':
|
|
49
|
+
case 'rolling_12_months_average':
|
|
50
|
+
return (0, getSummationBalance_1.getSummationBalance)(balanceType, firstMonthOfFY, resultFilter.timeframe, resultSlice, resultBalancesOrder, allMonthlyBalancesOrderedAsc, options?.isBalanceSheetBalances ?? false, options?.isCashFlowCashAndEquivalents, {
|
|
51
|
+
allOpeningMonthlyBalanceOrderedAsc: options?.cashAndEquivalents?.openingBalanceGrouped?.months ?? [],
|
|
52
|
+
allClosingMonthlyBalanceOrderedAsc: options?.cashAndEquivalents?.closingBalanceGrouped?.months ?? [],
|
|
53
|
+
});
|
|
54
|
+
case 'free_range_total':
|
|
55
|
+
if (options == null ||
|
|
56
|
+
(options.isBalanceSheetBalances === false &&
|
|
57
|
+
options.isBalanceSheetBalances == null)) {
|
|
58
|
+
return (0, getSummationBalance_1.getSummationFreeRangeTotalBalance)(resultSlice);
|
|
59
|
+
}
|
|
60
|
+
else if (options.isBalanceSheetBalances === true) {
|
|
61
|
+
// Note: for balanceSheet balances, the sum is nothing but the latest balance.
|
|
62
|
+
let latestBalance = undefined;
|
|
63
|
+
if (resultSlice.length > 0) {
|
|
64
|
+
latestBalance =
|
|
65
|
+
resultBalancesOrder === 'ascending_date'
|
|
66
|
+
? resultSlice[resultSlice.length - 1]
|
|
67
|
+
: resultSlice[0];
|
|
68
|
+
}
|
|
69
|
+
return Object.assign({}, latestBalance, { type: 'free_range_total' });
|
|
70
|
+
}
|
|
71
|
+
else if (options.isCashFlowCashAndEquivalents != null) {
|
|
72
|
+
return cashAndEquivalentsFreeRangeBalances(resultSlice, resultFilter, options.isCashFlowCashAndEquivalents, options.cashAndEquivalents);
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
console.error('Invalid request for free range total');
|
|
76
|
+
return undefined;
|
|
77
|
+
}
|
|
78
|
+
case 'period_total':
|
|
79
|
+
case 'default':
|
|
80
|
+
case 'default_with_percent':
|
|
81
|
+
case 'default_with_null_balance':
|
|
82
|
+
return undefined;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function cashAndEquivalentsFreeRangeBalances(resultSlice, resultFilter, isCashFlowCashAndEquivalents,
|
|
86
|
+
// This `cashAndEquivalents` is set only when isCashFlowCashAndEquivalents === 'closing_minus_opening_balance'
|
|
87
|
+
cashAndEquivalents) {
|
|
88
|
+
const resultBalancesOrder = resultFilter.balancesRange.orderBy;
|
|
89
|
+
switch (isCashFlowCashAndEquivalents) {
|
|
90
|
+
case 'closing_balance':
|
|
91
|
+
return (0, getSummationBalance_1.getFreeRangeCashAndEquivalentsClosingBalance)(resultSlice, resultBalancesOrder);
|
|
92
|
+
case 'opening_balance':
|
|
93
|
+
return (0, getSummationBalance_1.getFreeRangeCashAndEquivalentsOpeningBalance)(resultSlice, resultBalancesOrder);
|
|
94
|
+
case 'closing_minus_opening_balance': {
|
|
95
|
+
if (cashAndEquivalents == null) {
|
|
96
|
+
console.error("Can't calculate closing_minus_opening_balance without opening & closing balances");
|
|
97
|
+
return undefined;
|
|
98
|
+
}
|
|
99
|
+
const openingBalance = (0, getSummationBalance_1.getFreeRangeCashAndEquivalentsOpeningBalance)(getCOABalancesInTimeframe(cashAndEquivalents.openingBalanceGrouped, resultFilter), resultBalancesOrder);
|
|
100
|
+
const closingBalance = (0, getSummationBalance_1.getFreeRangeCashAndEquivalentsClosingBalance)(getCOABalancesInTimeframe(cashAndEquivalents.closingBalanceGrouped, resultFilter), resultBalancesOrder);
|
|
101
|
+
let result = undefined;
|
|
102
|
+
if (openingBalance != null && closingBalance != null) {
|
|
103
|
+
result = (0, cloneDeep_1.default)(closingBalance);
|
|
104
|
+
result.balance.amount =
|
|
105
|
+
closingBalance.balance.amount - openingBalance.balance.amount;
|
|
106
|
+
}
|
|
107
|
+
return result;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function getCOABalancesInTimeframe(coaBalanceGrouped, filter) {
|
|
112
|
+
if (coaBalanceGrouped == null) {
|
|
113
|
+
return [];
|
|
114
|
+
}
|
|
115
|
+
let allBalancesInTimeframe = [];
|
|
116
|
+
switch (filter.timeframe) {
|
|
117
|
+
case 'week':
|
|
118
|
+
allBalancesInTimeframe = coaBalanceGrouped.weeks ?? [];
|
|
119
|
+
break;
|
|
120
|
+
case 'month':
|
|
121
|
+
allBalancesInTimeframe = coaBalanceGrouped.months ?? [];
|
|
122
|
+
break;
|
|
123
|
+
case 'quarter':
|
|
124
|
+
allBalancesInTimeframe = coaBalanceGrouped.quarters ?? [];
|
|
125
|
+
break;
|
|
126
|
+
case 'year':
|
|
127
|
+
allBalancesInTimeframe = coaBalanceGrouped.years ?? [];
|
|
128
|
+
break;
|
|
129
|
+
case 'free_range':
|
|
130
|
+
console.error('Querying by free_range is not supported!');
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
const resultBalances = (0, sliceCOABalances_1.sliceCOABalances)(allBalancesInTimeframe, filter.balancesRange);
|
|
134
|
+
return resultBalances;
|
|
135
|
+
}
|