@zeniai/client-epic-state 4.11.98 → 4.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonPayloadTypes/balanceChangePayload.d.ts +3 -3
- package/lib/commonPayloadTypes/balanceChangePayload.js +2 -3
- package/lib/commonPayloadTypes/classesView/reportByClassPayloadV2.d.ts +2 -3
- package/lib/commonPayloadTypes/classesView/reportByClassPayloadV2.js +1 -1
- package/lib/commonPayloadTypes/coaBalancePayload.d.ts +3 -9
- package/lib/commonPayloadTypes/coaBalancePayload.js +1 -29
- package/lib/commonPayloadTypes/subAccountView/reportBySubAccountPayload.d.ts +3 -2
- package/lib/commonPayloadTypes/v2/coaBalancePayload.d.ts +2 -1
- package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.d.ts +0 -8
- package/lib/commonPayloadTypes/v2/getSumOfBalancesGroupedByPeriod.js +0 -83
- package/lib/commonStateTypes/accountView/nestedAccountID.d.ts +9 -8
- package/lib/commonStateTypes/accountView/nestedAccountID.js +4 -10
- package/lib/commonStateTypes/animations.d.ts +2 -0
- package/lib/commonStateTypes/animations.js +32 -0
- package/lib/commonStateTypes/classesView/nestedClassID.d.ts +6 -8
- package/lib/commonStateTypes/classesView/nestedClassID.js +1 -10
- package/lib/commonStateTypes/coaBalance/additionalBalances/getSamePeriodLastYearBalance.d.ts +0 -1
- package/lib/commonStateTypes/coaBalance/additionalBalances/getSamePeriodLastYearBalance.js +1 -27
- package/lib/commonStateTypes/coaBalance/pickAndMergeForecast.d.ts +0 -2
- package/lib/commonStateTypes/coaBalance/pickAndMergeForecast.js +1 -2
- package/lib/commonStateTypes/customerView/nestedCustomerID.d.ts +6 -8
- package/lib/commonStateTypes/customerView/nestedCustomerID.js +0 -7
- package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.d.ts +0 -3
- package/lib/commonStateTypes/fiscalYearHelpers/formatZeniDateFY.js +2 -5
- package/lib/commonStateTypes/reduceFetchState.d.ts +0 -18
- package/lib/commonStateTypes/reduceFetchState.js +7 -10
- package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.d.ts +0 -2
- package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSection.js +0 -12
- package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.d.ts +0 -2
- package/lib/commonStateTypes/selectorTypes/pickAndMergeForecastSectionWithAcOnly.js +0 -10
- package/lib/commonStateTypes/selectorTypes/sortOrderTypes.d.ts +2 -2
- package/lib/commonStateTypes/selectorTypes/sortOrderTypes.js +2 -4
- package/lib/commonStateTypes/timePeriod.d.ts +2 -3
- package/lib/commonStateTypes/timePeriod.js +1 -6
- package/lib/commonStateTypes/v2/viewAndReport.d.ts +0 -5
- package/lib/commonStateTypes/v2/viewAndReport.js +3 -0
- package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.d.ts +2 -2
- package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.js +3 -4
- package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +0 -1
- package/lib/commonStateTypes/viewAndReport/viewAndReport.js +3 -3
- package/lib/commonStateTypes/workingDayHelper.d.ts +0 -1
- package/lib/commonStateTypes/workingDayHelper.js +6 -6
- package/lib/entity/account/accountPayload.d.ts +1 -6
- package/lib/entity/account/accountPayload.js +3 -19
- package/lib/entity/account/accountReducer.d.ts +1 -3
- package/lib/entity/account/accountReducer.js +2 -3
- package/lib/entity/account/accountState.d.ts +2 -1
- package/lib/entity/account/accountState.js +1 -2
- package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +0 -6
- package/lib/entity/account/pickAndMergeForecastAccountReport.js +1 -2
- package/lib/entity/accountGroup/accountGroupSelector.d.ts +2 -1
- package/lib/entity/accountGroup/accountGroupSelector.js +2 -3
- package/lib/entity/address/addressReducer.d.ts +1 -2
- package/lib/entity/address/addressReducer.js +1 -2
- package/lib/entity/approvalRule/approvalRulePayload.d.ts +1 -3
- package/lib/entity/approvalRule/approvalRulePayload.js +3 -5
- package/lib/entity/approvalRule/approvalRuleState.d.ts +3 -7
- package/lib/entity/approvalRule/approvalRuleState.js +1 -13
- package/lib/entity/billPay/billTransaction/billTransactionPayload.d.ts +3 -5
- package/lib/entity/billPay/billTransaction/billTransactionPayload.js +4 -7
- package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +9 -8
- package/lib/entity/billPay/billTransaction/billTransactionState.js +1 -7
- package/lib/entity/billPay/recurringBills/recurringBillsPayload.d.ts +2 -4
- package/lib/entity/billPay/recurringBills/recurringBillsPayload.js +3 -5
- package/lib/entity/chargeCard/chargeCard.d.ts +6 -7
- package/lib/entity/chargeCard/chargeCard.js +2 -7
- package/lib/entity/chargeCardTransaction/chargeCardTransaction.d.ts +3 -3
- package/lib/entity/chargeCardTransaction/chargeCardTransaction.js +1 -3
- package/lib/entity/chargeCardTransaction/chargeCardTransactionPayload.d.ts +2 -1
- package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.d.ts +0 -1
- package/lib/entity/chargeCardTransaction/chargeCardTransactionSelector.js +1 -2
- package/lib/entity/class/classPayload.d.ts +0 -4
- package/lib/entity/class/classPayload.js +1 -16
- package/lib/entity/class/classSelectorV2.d.ts +1 -8
- package/lib/entity/class/classSelectorV2.js +1 -2
- package/lib/entity/company/companyHelper.d.ts +0 -2
- package/lib/entity/company/companyHelper.js +2 -7
- package/lib/entity/company/companyPayload.d.ts +17 -32
- package/lib/entity/company/companyPayload.js +9 -19
- package/lib/entity/company/companyStateTypes.d.ts +6 -9
- package/lib/entity/company/companyStateTypes.js +3 -6
- package/lib/entity/companyHealthMetric/companyHealthMetricPayload.d.ts +5 -6
- package/lib/entity/companyHealthMetric/companyHealthMetricPayload.js +3 -5
- package/lib/entity/currency/currencySelector.d.ts +0 -3
- package/lib/entity/currency/currencySelector.js +1 -3
- package/lib/entity/customer/customerSelector.d.ts +2 -3
- package/lib/entity/customer/customerSelector.js +1 -8
- package/lib/entity/customerSatisfaction/customerSatisfactionReducerHelpers.d.ts +2 -4
- package/lib/entity/customerSatisfaction/customerSatisfactionReducerHelpers.js +3 -5
- package/lib/entity/customerSatisfaction/customerSatisfactionState.d.ts +1 -1
- package/lib/entity/customerSatisfaction/customerSatisfactionState.js +1 -2
- package/lib/entity/depositAccount/depositAccount.d.ts +3 -4
- package/lib/entity/depositAccount/depositAccount.js +1 -5
- package/lib/entity/depositAccountTransaction/depositAccountTransaction.d.ts +2 -2
- package/lib/entity/depositAccountTransaction/depositAccountTransaction.js +3 -3
- package/lib/entity/depositAccountTransaction/depositAccountTransactionPayload.d.ts +2 -1
- package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.d.ts +0 -1
- package/lib/entity/depositAccountTransaction/depositAccountTransactionSelector.js +1 -2
- package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.d.ts +2 -6
- package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.js +3 -5
- package/lib/entity/entityApprovalStatus/entityApprovalStatusState.d.ts +3 -4
- package/lib/entity/entityApprovalStatus/entityApprovalStatusState.js +1 -6
- package/lib/entity/file/filePayload.d.ts +2 -1
- package/lib/entity/file/fileState.d.ts +7 -21
- package/lib/entity/file/fileState.js +15 -34
- package/lib/entity/genericEntity/entity.d.ts +2 -1
- package/lib/entity/globalMerchant/globalMerchantPayload.d.ts +1 -4
- package/lib/entity/globalMerchant/globalMerchantPayload.js +2 -32
- package/lib/entity/globalMerchant/globalMerchantState.d.ts +2 -1
- package/lib/entity/insights/insightReducer.d.ts +1 -2
- package/lib/entity/insights/insightReducer.js +2 -3
- package/lib/entity/insights/insightState.d.ts +2 -1
- package/lib/entity/insights/insightState.js +0 -2
- package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +1 -2
- package/lib/entity/jeSchedules/jeSchedulesPayload.js +1 -2
- package/lib/entity/notification/types/notificationSelectorTypes.d.ts +2 -1
- package/lib/entity/notification/types/notificationTypes.d.ts +2 -11
- package/lib/entity/notification/types/notificationTypes.js +15 -24
- package/lib/entity/paymentAccount/paymentAccountPayload.d.ts +3 -3
- package/lib/entity/paymentAccount/paymentAccountPayload.js +2 -3
- package/lib/entity/portfolio/accountingSummary/accountingSummaryPayload.d.ts +3 -2
- package/lib/entity/reimbursement/reimbursementPayload.d.ts +9 -22
- package/lib/entity/reimbursement/reimbursementPayload.js +16 -32
- package/lib/entity/reimbursement/reimbursementState.d.ts +2 -1
- package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnSelector.d.ts +0 -1
- package/lib/entity/subscription/subscriptionAddOn/subscriptionAddOnSelector.js +1 -2
- package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponSelector.d.ts +0 -1
- package/lib/entity/subscription/subscriptionCoupon/subscriptionCouponSelector.js +1 -2
- package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.d.ts +1 -5
- package/lib/entity/subscription/subscriptionPlan/subscriptionPlanReducer.js +1 -2
- package/lib/entity/subscription/subscriptionSummary/subscriptionSummarySelector.d.ts +0 -1
- package/lib/entity/subscription/subscriptionSummary/subscriptionSummarySelector.js +1 -2
- package/lib/entity/task/taskState.d.ts +2 -5
- package/lib/entity/task/taskState.js +3 -10
- package/lib/entity/tenant/tenantSelector.d.ts +2 -2
- package/lib/entity/tenant/tenantSelector.js +1 -2
- package/lib/entity/toastNotification/toastNotificationState.d.ts +3 -6
- package/lib/entity/toastNotification/toastNotificationState.js +3 -3
- package/lib/entity/transaction/payloadTypes/transactionLinePayload.d.ts +11 -21
- package/lib/entity/transaction/payloadTypes/transactionLinePayload.js +10 -17
- package/lib/entity/transaction/stateTypes/attachment.d.ts +2 -1
- package/lib/entity/transaction/stateTypes/paymentType.d.ts +2 -1
- package/lib/entity/transaction/stateTypes/paymentType.js +1 -2
- package/lib/entity/transaction/stateTypes/transactionType.d.ts +6 -10
- package/lib/entity/transaction/stateTypes/transactionType.js +1 -14
- package/lib/entity/user/userReducer.d.ts +1 -3
- package/lib/entity/user/userReducer.js +2 -3
- package/lib/entity/user/userState.d.ts +2 -1
- package/lib/entity/userRole/userRoleState.d.ts +2 -2
- package/lib/entity/userRole/userRoleState.js +2 -4
- package/lib/entity/userRole/userRoleType.d.ts +0 -6
- package/lib/entity/userRole/userRoleType.js +9 -27
- package/lib/entity/vendor/vendorPayload.d.ts +2 -1
- package/lib/entity/vendorExpense/vendorExpenseReducer.d.ts +1 -2
- package/lib/entity/vendorExpense/vendorExpenseReducer.js +7 -7
- package/lib/entity/vendorExpense/vendorExpenseSelector.d.ts +2 -1
- package/lib/entity/vendorExpense/vendorExpenseSelector.js +1 -2
- package/lib/entity/vendorExpense/vendorExpenseTrend.d.ts +2 -1
- package/lib/index.d.ts +58 -56
- package/lib/index.js +9 -9
- package/lib/responsePayload.d.ts +2 -1
- package/lib/view/accountList/accountListPayload.d.ts +2 -1
- package/lib/view/accountMappingView/accountMappingPayload.d.ts +0 -3
- package/lib/view/accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload.d.ts +8 -7
- package/lib/view/addressView/addressViewPayload.d.ts +2 -1
- package/lib/view/apAgingView/apAgingDetail/apAgingDetailState.d.ts +2 -1
- package/lib/view/arAgingView/arAgingDetail/arAgingDetailState.d.ts +2 -1
- package/lib/view/arAgingView/arAgingReport/arAgingPayload.d.ts +1 -1
- package/lib/view/auditReportView/auditReportViewPayload.d.ts +2 -1
- package/lib/view/auditReportView/auditReportViewState.d.ts +3 -5
- package/lib/view/auditReportView/auditReportViewState.js +5 -6
- package/lib/view/autoComplete/entityAutoCompleteReducer.d.ts +1 -1
- package/lib/view/balanceSheet/balanceSheetPayload.d.ts +14 -17
- package/lib/view/balanceSheet/balanceSheetPayload.js +1 -13
- package/lib/view/balanceSheet/balanceSheetSelectorTypes.d.ts +19 -25
- package/lib/view/balanceSheet/balanceSheetSelectorTypes.js +27 -36
- package/lib/view/bankAccountView/bankAccountViewPayload.d.ts +5 -4
- package/lib/view/billPayCard/billPayCardPayload.d.ts +3 -3
- package/lib/view/billPayCard/billPayCardState.d.ts +3 -2
- package/lib/view/billPayCard/billPayCardState.js +0 -2
- package/lib/view/billPayCard/fetchBillPayCardEpic.js +1 -1
- package/lib/view/cardPayment/cardPaymentViewPayload.d.ts +3 -3
- package/lib/view/cardPayment/cardPaymentViewTypes.d.ts +2 -3
- package/lib/view/cardPayment/cardPaymentViewTypes.js +4 -6
- package/lib/view/cashFlow/cashFlowPayload.d.ts +7 -8
- package/lib/view/cashFlow/cashFlowPayload.js +5 -8
- package/lib/view/cashFlow/cashFlowSelectorTypes.d.ts +17 -23
- package/lib/view/cashFlow/cashFlowSelectorTypes.js +21 -28
- package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.d.ts +3 -4
- package/lib/view/cashInCashOut/cashInCashOutSelectorTypes.js +3 -12
- package/lib/view/classList/classListPayload.d.ts +2 -1
- package/lib/view/common/recurringViewHelper.d.ts +2 -2
- package/lib/view/common/recurringViewHelper.js +1 -4
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewPayload.d.ts +2 -1
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.d.ts +0 -1
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +1 -3
- package/lib/view/companyConfigView/companyConfigPayload.d.ts +2 -1
- package/lib/view/companyHealthMetricView/companyHealthMetricViewPayload.d.ts +2 -1
- package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.d.ts +6 -11
- package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.js +8 -13
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewPayload.d.ts +3 -2
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.d.ts +0 -4
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewSelector.js +2 -3
- package/lib/view/companyMonthEndReportView/companyMonthEndReportViewState.d.ts +2 -2
- package/lib/view/companyView/companyViewPayload.d.ts +10 -9
- package/lib/view/companyView/helpers/cockpitHelpers.d.ts +0 -1
- package/lib/view/companyView/helpers/cockpitHelpers.js +3 -3
- package/lib/view/companyView/selector/companyManagementViewSelector.d.ts +0 -2
- package/lib/view/companyView/selector/companyManagementViewSelector.js +4 -5
- package/lib/view/companyView/types/cockpitTypes.d.ts +0 -7
- package/lib/view/companyView/types/cockpitTypes.js +11 -19
- package/lib/view/companyView/types/companyMetaDataViewState.d.ts +2 -1
- package/lib/view/companyView/types/companyPassportViewPayload.d.ts +6 -5
- package/lib/view/fileView/fileViewPayload.d.ts +2 -1
- package/lib/view/fileView/fileViewState.d.ts +2 -1
- package/lib/view/forecastList/forecastListPayload.d.ts +2 -1
- package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.d.ts +0 -7
- package/lib/view/globalMerchantView/epics/createGlobalMerchantEpic.js +2 -3
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer.d.ts +1 -1
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState.d.ts +0 -1
- package/lib/view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState.js +1 -3
- package/lib/view/globalMerchantView/globalMerchantViewPayload.d.ts +1 -1
- package/lib/view/netBurnOrIncome/netBurnOrIncomeSelector.d.ts +0 -1
- package/lib/view/netBurnOrIncome/netBurnOrIncomeSelector.js +1 -2
- package/lib/view/netBurnOrIncome/netBurnOrIncomeSelectorTypes.d.ts +4 -6
- package/lib/view/netBurnOrIncome/netBurnOrIncomeSelectorTypes.js +1 -3
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.d.ts +3 -3
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelectorTypes.js +4 -6
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardPayload.d.ts +9 -11
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardPayload.js +3 -4
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes.d.ts +0 -1
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardSelectorTypes.js +1 -3
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.d.ts +0 -2
- package/lib/view/netBurnOrIncomeStoryCard/netBurnOrIncomeStoryCardState.js +1 -5
- package/lib/view/notificationView/notificationViewPayload.d.ts +3 -17
- package/lib/view/notificationView/notificationViewState.d.ts +3 -4
- package/lib/view/notificationView/notificationViewState.js +7 -9
- package/lib/view/onboardingView/cockpitView/onboardingCockpitViewPayload.d.ts +1 -15
- package/lib/view/onboardingView/cockpitView/onboardingCockpitViewState.d.ts +2 -1
- package/lib/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.d.ts +2 -4
- package/lib/view/onboardingView/cockpitView/types/onboardingCockpitViewTypes.js +6 -9
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.d.ts +0 -6
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewEpic.js +2 -3
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.d.ts +0 -8
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +1 -2
- package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.d.ts +3 -2
- package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +0 -6
- package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +1 -4
- package/lib/view/onboardingView/customerView/onboardingCustomerViewState.d.ts +1 -2
- package/lib/view/onboardingView/customerView/onboardingCustomerViewState.js +5 -7
- package/lib/view/opEx/opExSelector.d.ts +0 -13
- package/lib/view/opEx/opExSelector.js +3 -4
- package/lib/view/opExByVendor/opExByVendorPayload.d.ts +4 -3
- package/lib/view/opExByVendor/opExByVendorState.d.ts +0 -1
- package/lib/view/opExByVendor/opExByVendorState.js +3 -3
- package/lib/view/opExClassesView/opExClassesViewSelectorTypes.d.ts +3 -3
- package/lib/view/opExClassesView/opExClassesViewSelectorTypes.js +4 -6
- package/lib/view/people/peopleTypes.d.ts +2 -2
- package/lib/view/people/peopleTypes.js +2 -4
- package/lib/view/profitAndLoss/profitAndLossSelector.d.ts +1 -1
- package/lib/view/profitAndLoss/profitAndLossSelector.js +2 -6
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.d.ts +3 -2
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes.js +1 -3
- package/lib/view/recommendation/recommendationPayload.d.ts +3 -2
- package/lib/view/referralView/referralPayload.d.ts +4 -3
- package/lib/view/referralView/referralState.d.ts +3 -4
- package/lib/view/referralView/referralState.js +5 -10
- package/lib/view/reimbursementCard/fetchReimbursementCardEpic.js +1 -1
- package/lib/view/reimbursementCard/reimbursementCardPayload.d.ts +4 -4
- package/lib/view/reimbursementCard/reimbursementCardState.d.ts +3 -2
- package/lib/view/reimbursementCard/reimbursementCardState.js +0 -2
- package/lib/view/revenue/revenueSelector.d.ts +0 -15
- package/lib/view/revenue/revenueSelector.js +1 -2
- package/lib/view/revenue/revenueSelectorTypes.d.ts +4 -6
- package/lib/view/revenue/revenueSelectorTypes.js +1 -3
- package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.d.ts +3 -3
- package/lib/view/revenueClassesView/revenueClassesViewSelectorTypes.js +4 -6
- package/lib/view/reviewCompanyView/reviewCompanyPayload.d.ts +2 -1
- package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +0 -1
- package/lib/view/reviewCompanyView/reviewCompanyViewState.js +3 -3
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.d.ts +0 -1
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +3 -3
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +7 -14
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +8 -13
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailTypes.d.ts +2 -2
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailTypes.js +2 -4
- package/lib/view/scheduleView/scheduleListView/scheduleListHelper.d.ts +2 -28
- package/lib/view/scheduleView/scheduleListView/scheduleListHelper.js +4 -24
- package/lib/view/scheduleView/scheduleListView/scheduleListPayload.d.ts +2 -1
- package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +2 -4
- package/lib/view/scheduleView/scheduleListView/scheduleListTypes.js +7 -8
- package/lib/view/settingsView/epic/fetchMyProfileEpic.d.ts +0 -6
- package/lib/view/settingsView/epic/fetchMyProfileEpic.js +1 -3
- package/lib/view/settingsView/settingsViewPayload.d.ts +3 -2
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewPayload.d.ts +2 -1
- package/lib/view/spendManagement/billPay/billDetailView/epics/approveOrRejectBillEpic.js +1 -1
- package/lib/view/spendManagement/billPay/billDetailView/epics/cancelAndDeleteBillEpic.js +1 -1
- package/lib/view/spendManagement/billPay/billDetailView/epics/deleteBillEpic.js +1 -1
- package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +1 -1
- package/lib/view/spendManagement/billPay/billList/billListSelector.d.ts +3 -4
- package/lib/view/spendManagement/billPay/billList/billListSelector.js +3 -5
- package/lib/view/spendManagement/billPay/billList/billListState.d.ts +4 -4
- package/lib/view/spendManagement/billPay/billList/billListState.js +3 -6
- package/lib/view/spendManagement/billPay/billList/fetchBillListPerTabEpic.js +1 -1
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.d.ts +15 -35
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.js +7 -13
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigSelector.d.ts +2 -1
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +10 -15
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.js +15 -21
- package/lib/view/spendManagement/billPay/billPayConfig/fetchBillPayConfigEpic.js +1 -1
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewPayload.d.ts +3 -2
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewPayload.d.ts +2 -1
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.d.ts +2 -2
- package/lib/view/spendManagement/billPay/billPaySetupView/billPaySetupViewPayload.d.ts +3 -4
- package/lib/view/spendManagement/billPay/billPaySetupView/types/billPayTerms.d.ts +2 -1
- package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewPayload.d.ts +4 -3
- package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewSelector.d.ts +2 -1
- package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState.d.ts +0 -2
- package/lib/view/spendManagement/billPay/billsBulkActionView/billsBulkActionViewState.js +5 -5
- package/lib/view/spendManagement/billPay/billsBulkActionView/epics/approveOrRejectBillsBulkActionEpic.js +1 -1
- package/lib/view/spendManagement/billPay/billsBulkActionView/epics/cancelOrDeleteBillsBulkActionEpic.js +1 -1
- package/lib/view/spendManagement/billPay/billsBulkActionView/epics/reviewDraftBillsBulkActionEpic.ts.js +1 -1
- package/lib/view/spendManagement/billPay/billsBulkActionView/epics/submitDraftBillsBulkActionEpic.js +1 -1
- package/lib/view/spendManagement/billPay/editBillView/editBillViewPayload.d.ts +3 -30
- package/lib/view/spendManagement/billPay/editBillView/editBillViewPayload.js +1 -25
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +0 -2
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +2 -4
- package/lib/view/spendManagement/billPay/editBillView/editBillViewState.d.ts +2 -2
- package/lib/view/spendManagement/billPay/editBillView/editBillViewState.js +3 -4
- package/lib/view/spendManagement/billPay/editBillView/epics/convertAmountToHomeCurrencyEpic.js +1 -1
- package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +0 -8
- package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +4 -5
- package/lib/view/spendManagement/billPay/internationalWire/internationalWire.d.ts +2 -1
- package/lib/view/spendManagement/billPay/internationalWire/internationalWirePayload.d.ts +5 -10
- package/lib/view/spendManagement/billPay/internationalWire/internationalWirePayload.js +3 -5
- package/lib/view/spendManagement/billPay/magicLinkView/epics/fetchMagicLinkBillEpic.js +1 -1
- package/lib/view/spendManagement/billPay/magicLinkView/magicLinkViewPayload.d.ts +7 -6
- package/lib/view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic.js +1 -1
- package/lib/view/spendManagement/billPay/previousBills/previousBillsState.d.ts +2 -1
- package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailPayload.d.ts +2 -1
- package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.d.ts +0 -11
- package/lib/view/spendManagement/chargeCards/cashbackDetail/cashbackDetailReducer.js +3 -5
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigPayload.d.ts +3 -2
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +3 -2
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailPayload.d.ts +3 -2
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +0 -2
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +5 -5
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListPayload.d.ts +2 -1
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.d.ts +1 -2
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +2 -3
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewPayload.d.ts +2 -2
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewState.d.ts +0 -2
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/types/chargeCardTerms.d.ts +2 -1
- package/lib/view/spendManagement/commonHistoryView/commonHistory.d.ts +4 -3
- package/lib/view/spendManagement/commonHistoryView/commonHistoryPayload.d.ts +5 -5
- package/lib/view/spendManagement/commonHistoryView/commonHistoryPayload.js +2 -3
- package/lib/view/spendManagement/commonHistoryView/fetchEntityHistoryEpic.js +1 -1
- package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.d.ts +1 -5
- package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +1 -13
- package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +2 -5
- package/lib/view/spendManagement/commonSetup/setupViewSelector.js +1 -2
- package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +2 -3
- package/lib/view/spendManagement/commonSetup/setupViewState.js +2 -6
- package/lib/view/spendManagement/helpers.d.ts +1 -3
- package/lib/view/spendManagement/helpers.js +3 -5
- package/lib/view/spendManagement/merchantList/merchantListPayload.d.ts +2 -1
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updateMappedCashAccountEpic.js +1 -1
- package/lib/view/spendManagement/plaidAccount/types/plaidConnection.d.ts +2 -1
- package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalPayload.d.ts +2 -1
- package/lib/view/spendManagement/realTimeApprovalView/realTimeApprovalState.d.ts +3 -2
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewPayload.d.ts +2 -2
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.d.ts +2 -3
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +1 -22
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewState.d.ts +2 -1
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchCurrencyConversionValueEpic.js +1 -1
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.d.ts +0 -6
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchRemiAndInitializeLocalStoreEpic.js +2 -12
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/saveRemiDetailEpic.js +2 -2
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/fetchReimbursementConfigEpic.js +1 -1
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigPayload.d.ts +2 -1
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigSelector.d.ts +0 -1
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigSelector.js +1 -8
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.d.ts +2 -1
- package/lib/view/spendManagement/reimbursement/reimbursementConfig/reimbursementConfigState.js +1 -2
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/approveOrRejectRemiEpic.js +1 -1
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/cancelAndDeleteRemiEpic.js +1 -1
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/deleteRemiEpic.js +1 -1
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchDuplicateReimbursementEpic.js +1 -1
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js +1 -1
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewPayload.d.ts +4 -3
- package/lib/view/spendManagement/reimbursement/remiListView/fetchRemiListPerTabEpic.js +1 -1
- package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +2 -2
- package/lib/view/spendManagement/reimbursement/remiListView/remiListState.js +3 -4
- package/lib/view/spendManagement/reimbursement/remiSetupApproverView/remiSetupApproverViewPayload.d.ts +2 -1
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.d.ts +0 -8
- package/lib/view/spendManagement/reimbursement/remiSetupView/epic/remiSetup/updateRemiSetupViewLocalStoreDataEpic.js +1 -2
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewPayload.d.ts +3 -2
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewState.d.ts +1 -2
- package/lib/view/spendManagement/reimbursement/remiSetupView/remiSetupViewState.js +1 -3
- package/lib/view/spendManagement/reimbursement/remiSetupView/types/remiTerms.d.ts +3 -2
- package/lib/view/spendManagement/spendManagementFilterHelpers.d.ts +3 -7
- package/lib/view/spendManagement/spendManagementFilterHelpers.js +4 -7
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositEpic.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailPayload.d.ts +3 -2
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountEpic.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/fetchDepositAccountHistoryEpic.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/depositAccountDetail/updateDepositAccountEpic.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/fetchDepositAccountListEpic.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListPayload.d.ts +3 -2
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListState.d.ts +2 -1
- package/lib/view/spendManagement/zeniAccounts/depositAccountTransactionList/fetchDepositAccountTransactionListEpic.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/transferDetail/fetchReviewTransferDetailEpic.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailPayload.d.ts +3 -2
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailState.d.ts +2 -1
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferMoneyEpic.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/createCheckingAccountEpic.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.d.ts +1 -4
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.js +1 -5
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListState.d.ts +2 -1
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListState.js +1 -2
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/types/zeniAccountTerms.d.ts +2 -1
- package/lib/view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewPayload.d.ts +2 -2
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/fetchZeniAccountsConfigEpic.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.d.ts +4 -4
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigPayload.js +2 -3
- package/lib/view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigState.d.ts +2 -1
- package/lib/view/subscriptionView/subscriptionEstmiatePayload.d.ts +1 -1
- package/lib/view/subscriptionView/subscriptionViewPayload.d.ts +9 -8
- package/lib/view/subscriptionView/subscriptionViewState.d.ts +3 -2
- package/lib/view/subscriptionView/types/subscriptionEstmiate.d.ts +4 -3
- package/lib/view/subscriptionView/types/subscriptionTypes.d.ts +2 -2
- package/lib/view/subscriptionView/types/subscriptionTypes.js +3 -4
- package/lib/view/tagView/tagViewPayload.d.ts +2 -2
- package/lib/view/taskManager/taskDetailView/epics/archiveTaskEpic.d.ts +0 -7
- package/lib/view/taskManager/taskGroupView/taskGroupViewPayload.d.ts +2 -1
- package/lib/view/taskManager/taskListView/taskList.d.ts +2 -7
- package/lib/view/taskManager/taskListView/taskList.js +3 -4
- package/lib/view/taskManager/taskListView/taskListPayload.d.ts +2 -1
- package/lib/view/transactionDetail/transactionDetailPayload.d.ts +1 -1
- package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.d.ts +0 -8
- package/lib/view/transactionList/parallelFetchEntityTransactionListEpic.js +1 -2
- package/lib/view/transactionList/transactionListByEntitySelector.d.ts +0 -2
- package/lib/view/transactionList/transactionListByEntitySelector.js +1 -2
- package/lib/view/transactionList/transactionListPayload.d.ts +5 -4
- package/lib/view/transactionList/transactionListState.d.ts +5 -4
- package/lib/view/trend/trendPayload.d.ts +4 -3
- package/lib/view/trendWithTransactions/trendWithTransactionsState.d.ts +2 -1
- package/lib/view/twoFactorAuthentication/twoFactorAuthenticationPayload.d.ts +3 -2
- package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.d.ts +0 -2
- package/lib/view/userFinancialAccount/fetchUserFinancialAccountEpic.js +2 -3
- package/lib/view/userFinancialAccount/userFinancialAccountSelector.d.ts +0 -1
- package/lib/view/userFinancialAccount/userFinancialAccountSelector.js +2 -3
- package/lib/view/userListView/userListViewPayload.d.ts +2 -1
- package/lib/view/userRoleConfigView/userRoleConfigPayload.d.ts +2 -1
- package/lib/view/vendorList/vendorListPayload.d.ts +2 -5
- package/lib/view/vendorList/vendorListSelector.d.ts +0 -1
- package/lib/view/vendorList/vendorListSelector.js +1 -3
- package/lib/view/vendorReviewView/common/state/commonTypes.d.ts +3 -5
- package/lib/view/vendorReviewView/common/state/commonTypes.js +4 -26
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/fetchVendorFirstReviewAttachmentsEpic.d.ts +0 -3
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewPayload.d.ts +3 -3
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.d.ts +2 -1
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.d.ts +2 -2
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.js +3 -3
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.d.ts +2 -3
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.js +3 -5
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.d.ts +0 -2
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.js +3 -5
- package/lib/view/vendorTypeList/vendorTypeListPayload.d.ts +2 -1
- package/lib/view/vendorTypeList/vendorTypeSelector.d.ts +0 -12
- package/lib/view/vendorTypeList/vendorTypeSelector.js +0 -11
- package/lib/view/zeniAccStatementList/fetchZeniAccStatementListEpic.js +2 -2
- package/lib/view/zeniAccStatementList/zeniAccStatementListPayload.d.ts +2 -1
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic.js +1 -1
- package/lib/zeniAPI.d.ts +2 -0
- package/package.json +5 -3
|
@@ -3,33 +3,26 @@ import { CashFlowReportViewCalculatedSectionID, CashFlowReportViewID, CashFlowRe
|
|
|
3
3
|
import { AccountsViewSelectorReport } from '../../commonStateTypes/selectorTypes/accountsViewSelectorReport';
|
|
4
4
|
import { FetchStateByTimeframe } from '../../commonStateTypes/coaBalance/coaBalance';
|
|
5
5
|
import { FetchStateAndError } from '../../commonStateTypes/common';
|
|
6
|
-
|
|
7
|
-
export declare const toCashFlowReportViewRootSectionID: (v: string) => "operatingActivities" | "investingActivities" | "financingActivities";
|
|
6
|
+
declare const toCashFlowReportViewRootSectionID: (v: string) => "operatingActivities" | "investingActivities" | "financingActivities";
|
|
8
7
|
export declare type CashFlowReportViewRootSectionID = ReturnType<typeof toCashFlowReportViewRootSectionID>;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export declare const toCashFlowOperatingActivitiesCalculatedSectionID: (v: string) => "operatingActivitiesTotal" | "operatingActivitiesNetIncome";
|
|
14
|
-
export declare type CashFlowOperatingActivitiesCalculatedSectionID = ReturnType<typeof toCashFlowOperatingActivitiesCalculatedSectionID>;
|
|
8
|
+
declare const toCashFlowOperatingActivitiesSectionID: (v: string) => "operatingActivitiesAdjustments";
|
|
9
|
+
declare type CashFlowOperatingActivitiesSectionID = ReturnType<typeof toCashFlowOperatingActivitiesSectionID>;
|
|
10
|
+
declare const toCashFlowOperatingActivitiesCalculatedSectionID: (v: string) => "operatingActivitiesTotal" | "operatingActivitiesNetIncome";
|
|
11
|
+
declare type CashFlowOperatingActivitiesCalculatedSectionID = ReturnType<typeof toCashFlowOperatingActivitiesCalculatedSectionID>;
|
|
15
12
|
export declare const ALL_CASHFLOW_OPERATING_ACTIVITIES_IDS: ("operatingActivitiesAdjustments" | "operatingActivitiesTotal" | "operatingActivitiesNetIncome")[];
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export declare const toCashFlowInvestingActivitiesCalculatedSectionID: (v: string) => "investingActivitiesTotal";
|
|
22
|
-
export declare type CashFlowInvestingActivitiesCalculatedSectionID = ReturnType<typeof toCashFlowInvestingActivitiesCalculatedSectionID>;
|
|
13
|
+
declare type CashFlowReportViewOperatingActivitiesID = CashFlowOperatingActivitiesCalculatedSectionID | CashFlowOperatingActivitiesSectionID;
|
|
14
|
+
declare const toCashFlowInvestingActivitiesSectionID: (v: string) => "investingActivities";
|
|
15
|
+
declare type CashFlowInvestingActivitiesSectionID = ReturnType<typeof toCashFlowInvestingActivitiesSectionID>;
|
|
16
|
+
declare const toCashFlowInvestingActivitiesCalculatedSectionID: (v: string) => "investingActivitiesTotal";
|
|
17
|
+
declare type CashFlowInvestingActivitiesCalculatedSectionID = ReturnType<typeof toCashFlowInvestingActivitiesCalculatedSectionID>;
|
|
23
18
|
export declare const ALL_CASHFLOW_INVESTING_ACTIVITIES_IDS: ("investingActivities" | "investingActivitiesTotal")[];
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export declare const toCashFlowFinancingActivitiesCalculatedSectionID: (v: string) => "cashAndEquivalentsOpeningBalance" | "cashAndEquivalentsClosingBalance" | "changeInCashAndEquivalents" | "financingActivitiesTotal";
|
|
30
|
-
export declare type CashFlowFinancingActivitiesCalculatedSectionID = ReturnType<typeof toCashFlowFinancingActivitiesCalculatedSectionID>;
|
|
19
|
+
declare type CashFlowReportViewInvestingActivitiesID = CashFlowInvestingActivitiesCalculatedSectionID | CashFlowInvestingActivitiesSectionID;
|
|
20
|
+
declare const toCashFlowFinancingActivitiesSectionID: (v: string) => "financingActivities";
|
|
21
|
+
declare type CashFlowFinancingActivitiesSectionID = ReturnType<typeof toCashFlowFinancingActivitiesSectionID>;
|
|
22
|
+
declare const toCashFlowFinancingActivitiesCalculatedSectionID: (v: string) => "cashAndEquivalentsOpeningBalance" | "cashAndEquivalentsClosingBalance" | "changeInCashAndEquivalents" | "financingActivitiesTotal";
|
|
23
|
+
declare type CashFlowFinancingActivitiesCalculatedSectionID = ReturnType<typeof toCashFlowFinancingActivitiesCalculatedSectionID>;
|
|
31
24
|
export declare const ALL_CASHFLOW_FINANCING_ACTIVITIES_IDS: ("financingActivities" | "cashAndEquivalentsOpeningBalance" | "cashAndEquivalentsClosingBalance" | "changeInCashAndEquivalents" | "financingActivitiesTotal")[];
|
|
32
|
-
|
|
25
|
+
declare type CashFlowReportViewFinancingActivitiesID = CashFlowFinancingActivitiesCalculatedSectionID | CashFlowFinancingActivitiesSectionID;
|
|
33
26
|
export declare const typeOfCashFlowRootSection: (id: string) => CashFlowReportViewRootSectionID;
|
|
34
27
|
export declare const cashFlowSectionIdsInOrder: CashFlowReportViewID[];
|
|
35
28
|
export interface SectionIdsWithSubSectionIds {
|
|
@@ -44,3 +37,4 @@ export interface CashFlowReport extends AccountsViewSelectorReport<CashFlowRepor
|
|
|
44
37
|
reducedAnyFetchState: FetchStateAndError;
|
|
45
38
|
reducedAllFetchState: FetchStateAndError;
|
|
46
39
|
}
|
|
40
|
+
export {};
|
|
@@ -1,61 +1,54 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cashFlowSectionIdsInOrder = exports.typeOfCashFlowRootSection = exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_IDS = exports.
|
|
3
|
+
exports.cashFlowSectionIdsInOrder = exports.typeOfCashFlowRootSection = exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_IDS = exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_IDS = exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_IDS = void 0;
|
|
4
4
|
const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
|
|
5
|
-
|
|
5
|
+
const ALL_CASH_FLOW_REPORT_VIEW_ROOT_SECTION_IDS = [
|
|
6
6
|
'operatingActivities',
|
|
7
7
|
'financingActivities',
|
|
8
8
|
'investingActivities',
|
|
9
9
|
];
|
|
10
|
-
const toCashFlowReportViewRootSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v,
|
|
11
|
-
|
|
12
|
-
exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_SECTION_IDS = [
|
|
10
|
+
const toCashFlowReportViewRootSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_CASH_FLOW_REPORT_VIEW_ROOT_SECTION_IDS);
|
|
11
|
+
const ALL_CASHFLOW_OPERATING_ACTIVITIES_SECTION_IDS = [
|
|
13
12
|
'operatingActivitiesAdjustments',
|
|
14
13
|
];
|
|
15
|
-
const toCashFlowOperatingActivitiesSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v,
|
|
16
|
-
|
|
17
|
-
exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_CALCULATED_SECTION_IDS = [
|
|
14
|
+
const toCashFlowOperatingActivitiesSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_CASHFLOW_OPERATING_ACTIVITIES_SECTION_IDS);
|
|
15
|
+
const ALL_CASHFLOW_OPERATING_ACTIVITIES_CALCULATED_SECTION_IDS = [
|
|
18
16
|
'operatingActivitiesNetIncome',
|
|
19
17
|
'operatingActivitiesTotal',
|
|
20
18
|
];
|
|
21
|
-
const toCashFlowOperatingActivitiesCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v,
|
|
22
|
-
exports.toCashFlowOperatingActivitiesCalculatedSectionID = toCashFlowOperatingActivitiesCalculatedSectionID;
|
|
19
|
+
const toCashFlowOperatingActivitiesCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_CASHFLOW_OPERATING_ACTIVITIES_CALCULATED_SECTION_IDS);
|
|
23
20
|
exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_IDS = [
|
|
24
|
-
...
|
|
25
|
-
...
|
|
21
|
+
...ALL_CASHFLOW_OPERATING_ACTIVITIES_SECTION_IDS,
|
|
22
|
+
...ALL_CASHFLOW_OPERATING_ACTIVITIES_CALCULATED_SECTION_IDS,
|
|
26
23
|
];
|
|
27
24
|
// For investing activities
|
|
28
|
-
|
|
25
|
+
const ALL_CASHFLOW_INVESTING_ACTIVITIES_SECTION_IDS = [
|
|
29
26
|
'investingActivities',
|
|
30
27
|
];
|
|
31
|
-
const toCashFlowInvestingActivitiesSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v,
|
|
32
|
-
|
|
33
|
-
exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_CALCULATED_SECTION_IDS = [
|
|
28
|
+
const toCashFlowInvestingActivitiesSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_CASHFLOW_INVESTING_ACTIVITIES_SECTION_IDS);
|
|
29
|
+
const ALL_CASHFLOW_INVESTING_ACTIVITIES_CALCULATED_SECTION_IDS = [
|
|
34
30
|
'investingActivitiesTotal',
|
|
35
31
|
];
|
|
36
|
-
const toCashFlowInvestingActivitiesCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v,
|
|
37
|
-
exports.toCashFlowInvestingActivitiesCalculatedSectionID = toCashFlowInvestingActivitiesCalculatedSectionID;
|
|
32
|
+
const toCashFlowInvestingActivitiesCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_CASHFLOW_INVESTING_ACTIVITIES_CALCULATED_SECTION_IDS);
|
|
38
33
|
exports.ALL_CASHFLOW_INVESTING_ACTIVITIES_IDS = [
|
|
39
|
-
...
|
|
40
|
-
...
|
|
34
|
+
...ALL_CASHFLOW_INVESTING_ACTIVITIES_SECTION_IDS,
|
|
35
|
+
...ALL_CASHFLOW_INVESTING_ACTIVITIES_CALCULATED_SECTION_IDS,
|
|
41
36
|
];
|
|
42
37
|
// For financing activities
|
|
43
|
-
|
|
38
|
+
const ALL_CASHFLOW_FINANCING_ACTIVITIES_SECTION_IDS = [
|
|
44
39
|
'financingActivities',
|
|
45
40
|
];
|
|
46
|
-
const toCashFlowFinancingActivitiesSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v,
|
|
47
|
-
|
|
48
|
-
exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_CALCULATED_SECTION_IDS = [
|
|
41
|
+
const toCashFlowFinancingActivitiesSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_CASHFLOW_FINANCING_ACTIVITIES_SECTION_IDS);
|
|
42
|
+
const ALL_CASHFLOW_FINANCING_ACTIVITIES_CALCULATED_SECTION_IDS = [
|
|
49
43
|
'financingActivitiesTotal',
|
|
50
44
|
'changeInCashAndEquivalents',
|
|
51
45
|
'cashAndEquivalentsOpeningBalance',
|
|
52
46
|
'cashAndEquivalentsClosingBalance',
|
|
53
47
|
];
|
|
54
|
-
const toCashFlowFinancingActivitiesCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v,
|
|
55
|
-
exports.toCashFlowFinancingActivitiesCalculatedSectionID = toCashFlowFinancingActivitiesCalculatedSectionID;
|
|
48
|
+
const toCashFlowFinancingActivitiesCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_CASHFLOW_FINANCING_ACTIVITIES_CALCULATED_SECTION_IDS);
|
|
56
49
|
exports.ALL_CASHFLOW_FINANCING_ACTIVITIES_IDS = [
|
|
57
|
-
...
|
|
58
|
-
...
|
|
50
|
+
...ALL_CASHFLOW_FINANCING_ACTIVITIES_SECTION_IDS,
|
|
51
|
+
...ALL_CASHFLOW_FINANCING_ACTIVITIES_CALCULATED_SECTION_IDS,
|
|
59
52
|
];
|
|
60
53
|
const typeOfCashFlowRootSection = (id) => {
|
|
61
54
|
if (exports.ALL_CASHFLOW_OPERATING_ACTIVITIES_IDS.find((calcId) => id === calcId) != null) {
|
|
@@ -6,11 +6,9 @@ import { Mode } from '../../commonStateTypes/common';
|
|
|
6
6
|
import { COABalancesFilter } from '../../commonStateTypes/coaBalance/coaBalancesFilter';
|
|
7
7
|
import { InsightSummary } from '../../entity/insights/insightSummary';
|
|
8
8
|
import { CashInCashOutUIState } from './cashInCashOutState';
|
|
9
|
-
|
|
10
|
-
export declare const toCashInCashOutSectionID: (v: string) => "cash_in" | "cash_out";
|
|
9
|
+
declare const toCashInCashOutSectionID: (v: string) => "cash_in" | "cash_out";
|
|
11
10
|
export declare type CashInCashOutSectionID = ReturnType<typeof toCashInCashOutSectionID>;
|
|
12
|
-
|
|
13
|
-
export declare const toCashInCashOutCalculatedSectionID: (v: string) => "cash_in" | "cash_out";
|
|
11
|
+
declare const toCashInCashOutCalculatedSectionID: (v: string) => "cash_in" | "cash_out";
|
|
14
12
|
export declare type CashInCashOutCalculatedSectionID = ReturnType<typeof toCashInCashOutCalculatedSectionID>;
|
|
15
13
|
export interface CashInCashOutReport extends SelectorReport {
|
|
16
14
|
allTimeframeTicks: TimeframeTickWithMetaData[];
|
|
@@ -24,3 +22,4 @@ export interface CashInCashOutReport extends SelectorReport {
|
|
|
24
22
|
export interface CashInCashOutUIStateSelectorView extends SelectorView, CashInCashOutUIState {
|
|
25
23
|
mode: Mode;
|
|
26
24
|
}
|
|
25
|
+
export {};
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toCashInCashOutCalculatedSectionID = exports.ALL_CASH_IN_CASH_OUT_CALCULATED_SECTION_IDS = exports.toCashInCashOutSectionID = exports.ALL_CASH_IN_CASH_OUT_SECTION_IDS = void 0;
|
|
4
3
|
const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
];
|
|
9
|
-
const toCashInCashOutSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASH_IN_CASH_OUT_SECTION_IDS);
|
|
10
|
-
exports.toCashInCashOutSectionID = toCashInCashOutSectionID;
|
|
11
|
-
exports.ALL_CASH_IN_CASH_OUT_CALCULATED_SECTION_IDS = [
|
|
12
|
-
'net_cash_flow',
|
|
13
|
-
];
|
|
14
|
-
const toCashInCashOutCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_CASH_IN_CASH_OUT_SECTION_IDS);
|
|
15
|
-
exports.toCashInCashOutCalculatedSectionID = toCashInCashOutCalculatedSectionID;
|
|
4
|
+
const ALL_CASH_IN_CASH_OUT_SECTION_IDS = ['cash_in', 'cash_out'];
|
|
5
|
+
const toCashInCashOutSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_CASH_IN_CASH_OUT_SECTION_IDS);
|
|
6
|
+
const toCashInCashOutCalculatedSectionID = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_CASH_IN_CASH_OUT_SECTION_IDS);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ClassMetadataPayload } from '../../entity/class/classPayload';
|
|
2
2
|
import { ZeniAPIResponse } from '../../responsePayload';
|
|
3
|
-
|
|
3
|
+
interface ClassPayload {
|
|
4
4
|
accounting_classes: ClassMetadataPayload[];
|
|
5
5
|
}
|
|
6
6
|
export declare type ClassListResponse = ZeniAPIResponse<ClassPayload>;
|
|
7
|
+
export {};
|
|
@@ -2,9 +2,9 @@ import { ZeniDate } from '../../zeniDayJS';
|
|
|
2
2
|
export declare const toRecurringFrequency: (v: string) => "daily" | "weekly" | "monthly" | "biweekly" | "quarterly";
|
|
3
3
|
export declare const toRecurringFrequencyStrict: (v?: string | undefined) => "daily" | "weekly" | "monthly" | "biweekly" | "quarterly" | undefined;
|
|
4
4
|
export declare type RecurringFrequencyType = NonNullable<ReturnType<typeof toRecurringFrequency>>;
|
|
5
|
-
|
|
6
|
-
export declare const toRecurringDatePickerOptionsStrict: (v?: string | undefined) => "date" | "recurringCount" | undefined;
|
|
5
|
+
declare const toRecurringDatePickerOptions: (v: string) => "date" | "recurringCount";
|
|
7
6
|
export declare type RecurringDatePickerOptions = NonNullable<ReturnType<typeof toRecurringDatePickerOptions>>;
|
|
8
7
|
export declare const getRecurringFrequencyInDays: (frequency: RecurringFrequencyType) => number;
|
|
9
8
|
export declare const getRecurringEndDateFromCount: (startDate: ZeniDate, frequency: RecurringFrequencyType, recurringCount: number) => ZeniDate;
|
|
10
9
|
export declare const getMinAllowedEndDate: (frequency: RecurringFrequencyType, startDate?: import("dayjs").Dayjs | undefined) => ZeniDate | undefined;
|
|
10
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getMinAllowedEndDate = exports.getRecurringEndDateFromCount = exports.getRecurringFrequencyInDays = exports.
|
|
3
|
+
exports.getMinAllowedEndDate = exports.getRecurringEndDateFromCount = exports.getRecurringFrequencyInDays = exports.toRecurringFrequencyStrict = exports.toRecurringFrequency = void 0;
|
|
4
4
|
const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
|
|
5
5
|
const ALL_RECURRING_FREQUENCY = [
|
|
6
6
|
'daily',
|
|
@@ -15,9 +15,6 @@ const toRecurringFrequencyStrict = (v) => (0, stringToUnion_1.stringToUnionStric
|
|
|
15
15
|
exports.toRecurringFrequencyStrict = toRecurringFrequencyStrict;
|
|
16
16
|
const ALL_RECURRING_DATE_PICKER_OPTIONS = ['date', 'recurringCount'];
|
|
17
17
|
const toRecurringDatePickerOptions = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_RECURRING_DATE_PICKER_OPTIONS);
|
|
18
|
-
exports.toRecurringDatePickerOptions = toRecurringDatePickerOptions;
|
|
19
|
-
const toRecurringDatePickerOptionsStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v !== null && v !== void 0 ? v : '', ALL_RECURRING_DATE_PICKER_OPTIONS);
|
|
20
|
-
exports.toRecurringDatePickerOptionsStrict = toRecurringDatePickerOptionsStrict;
|
|
21
18
|
const getRecurringFrequencyInDays = (frequency) => {
|
|
22
19
|
switch (frequency) {
|
|
23
20
|
case 'daily':
|
|
@@ -6,7 +6,7 @@ import { FetchAllVendorsPayload } from '../../vendorList/vendorListPayload';
|
|
|
6
6
|
import { AccountBasePayload } from '../../../entity/account/accountPayload';
|
|
7
7
|
import { ClassBasePayload } from '../../../entity/class/classPayload';
|
|
8
8
|
export declare type VendorCreationResponse = ZeniAPIResponse<FetchAllVendorsPayload>;
|
|
9
|
-
|
|
9
|
+
interface VendorNameUpdatePayload {
|
|
10
10
|
qbo_id: string;
|
|
11
11
|
vendor_name: string;
|
|
12
12
|
account: AccountBasePayload | null;
|
|
@@ -15,3 +15,4 @@ export interface VendorNameUpdatePayload {
|
|
|
15
15
|
owner_id: ID | null;
|
|
16
16
|
}
|
|
17
17
|
export declare const prepareVendorPayload: (state: RootState, vendorDetailLocalData: TransactionVendorLocalData, vendorId: ID | undefined) => Partial<VendorNameUpdatePayload>;
|
|
18
|
+
export {};
|
|
@@ -18,7 +18,6 @@ import { TimePeriod } from '../../../commonStateTypes/timePeriod';
|
|
|
18
18
|
import { Month } from '../../../commonStateTypes/timePeriod';
|
|
19
19
|
import { TimeframeTick } from '../../../commonStateTypes/timeframeTick';
|
|
20
20
|
export declare const toVendorDetailTabsType: (v: string) => "spend_transactions" | "all_transactions";
|
|
21
|
-
export declare const toVendorDetailTabsTypeStrict: (v?: string | undefined) => "spend_transactions" | "all_transactions" | undefined;
|
|
22
21
|
export declare type VendorDetailTabsType = ReturnType<typeof toVendorDetailTabsType>;
|
|
23
22
|
export interface VendorsTabVendorDetails {
|
|
24
23
|
vendorBasic: VendorsTabVendorBasic;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getVendorAllTransactionsDefaultTimePeriod = exports.getVendorsTabDetailPageView = exports.getVendorsTabVendorView = exports.
|
|
3
|
+
exports.getVendorAllTransactionsDefaultTimePeriod = exports.getVendorsTabDetailPageView = exports.getVendorsTabVendorView = exports.toVendorDetailTabsType = void 0;
|
|
4
4
|
const vendorSelector_1 = require("../../../entity/vendor/vendorSelector");
|
|
5
5
|
const accountListSelector_1 = require("../../accountList/accountListSelector");
|
|
6
6
|
const classListSelector_1 = require("../../classList/classListSelector");
|
|
@@ -20,8 +20,6 @@ const ALL_VENDOR_DETAIL_TABS_TYPES = [
|
|
|
20
20
|
];
|
|
21
21
|
const toVendorDetailTabsType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_VENDOR_DETAIL_TABS_TYPES);
|
|
22
22
|
exports.toVendorDetailTabsType = toVendorDetailTabsType;
|
|
23
|
-
const toVendorDetailTabsTypeStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v !== null && v !== void 0 ? v : '', ALL_VENDOR_DETAIL_TABS_TYPES);
|
|
24
|
-
exports.toVendorDetailTabsTypeStrict = toVendorDetailTabsTypeStrict;
|
|
25
23
|
const getVendorsTabVendorView = (state, vendorIdFromUrl) => {
|
|
26
24
|
var _a, _b, _c, _d, _e;
|
|
27
25
|
const { accountListState, accountState, classListState, classState, vendorState, userState, vendorsTabVendorViewState, } = state;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AllowedValueWithCode } from '../../commonStateTypes/allowedValue';
|
|
2
2
|
import { ZeniAPIResponse } from '../../responsePayload';
|
|
3
|
-
|
|
3
|
+
interface CompanyConfigPayload {
|
|
4
4
|
industry_types: AllowedValueWithCode[];
|
|
5
5
|
}
|
|
6
6
|
export declare type CompanyConfigResponse = ZeniAPIResponse<CompanyConfigPayload>;
|
|
7
|
+
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ZeniAPIResponse } from '../../responsePayload';
|
|
2
2
|
import { CompanyPayload } from '../../entity/company/companyPayload';
|
|
3
3
|
import { CompanyHealthMetricPayload } from '../../entity/companyHealthMetric/companyHealthMetricPayload';
|
|
4
|
-
|
|
4
|
+
interface CompanyHealthMetricViewPayload {
|
|
5
5
|
companies: CompanyPayload[];
|
|
6
6
|
company_health_metrics: CompanyHealthMetricPayload[];
|
|
7
7
|
}
|
|
8
8
|
export declare type CompanyHealthMetricViewResponse = ZeniAPIResponse<CompanyHealthMetricViewPayload>;
|
|
9
|
+
export {};
|
|
@@ -9,17 +9,12 @@ import { ZeniAPIStatus } from '../../responsePayload';
|
|
|
9
9
|
import { Amount } from '../../commonStateTypes/amount';
|
|
10
10
|
import { AllowedValueWithID } from '../../commonStateTypes/allowedValue';
|
|
11
11
|
export declare const ALL_FREQUENCY_LABEL_TYPE: readonly ["Low", "Very Low", "Mid", "High", "Very High"];
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export declare const ALL_PRODUCT_SERVICE: readonly ["reimbursement", "billpay", "cards", "accounts", "zeni_tax_plan", "cfo_plan", "payroll_manager_service_plan"];
|
|
18
|
-
export declare const toProductServiceKeyType: (v: string) => "reimbursement" | "accounts" | "cards" | "billpay" | "zeni_tax_plan" | "cfo_plan" | "payroll_manager_service_plan";
|
|
12
|
+
declare const toFrequencyLabelType: (v: string) => "High" | "Low" | "Very Low" | "Mid" | "Very High";
|
|
13
|
+
declare type FrequencyLabelType = ReturnType<typeof toFrequencyLabelType>;
|
|
14
|
+
declare const toFrequencyValueType: (v: string) => "high" | "low" | "very_low" | "mid" | "very_high";
|
|
15
|
+
declare type FrequencyValueType = ReturnType<typeof toFrequencyValueType>;
|
|
16
|
+
declare const toProductServiceKeyType: (v: string) => "reimbursement" | "accounts" | "cards" | "billpay" | "zeni_tax_plan" | "cfo_plan" | "payroll_manager_service_plan";
|
|
19
17
|
export declare type ProductServiceKey = ReturnType<typeof toProductServiceKeyType>;
|
|
20
|
-
export declare const ALL_HEALTH_METRIC_KEYS: readonly ["finOpsEngagementFrequency", "externalProductServiceExposure", "netPromoterScore", "customerSatisfactionScore"];
|
|
21
|
-
export declare const toHealthMetricKeyType: (v: string) => "netPromoterScore" | "customerSatisfactionScore" | "externalProductServiceExposure" | "finOpsEngagementFrequency";
|
|
22
|
-
export declare type CompanyHealthMetricsDataKey = ReturnType<typeof toHealthMetricKeyType>;
|
|
23
18
|
export declare type CompanyHealthMetricDropDownOption = {
|
|
24
19
|
label: FrequencyLabelType;
|
|
25
20
|
value: FrequencyValueType;
|
|
@@ -53,4 +48,4 @@ export declare const companyHealthMetricDropDownOptions: CompanyHealthMetricDrop
|
|
|
53
48
|
export declare const getCompanyHealthMetricView: (state: RootState) => CompanyHealthMetricViewSelector;
|
|
54
49
|
export declare const hasCompanyHealthMetricFormFieldChanged: (entityData?: CompanyHealthMetric | undefined, formData?: CompanyHealthMetricsLocalData | undefined) => boolean;
|
|
55
50
|
export declare const isCompanyRunwayInfinite: (runway: CompanyRunway | undefined) => boolean;
|
|
56
|
-
export
|
|
51
|
+
export {};
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.isCompanyRunwayInfinite = exports.hasCompanyHealthMetricFormFieldChanged = exports.getCompanyHealthMetricView = exports.companyHealthMetricDropDownOptions = exports.ALL_FREQUENCY_LABEL_TYPE = void 0;
|
|
7
7
|
const orderBy_1 = __importDefault(require("lodash/orderBy"));
|
|
8
8
|
const zeniDayJS_1 = require("../../zeniDayJS");
|
|
9
9
|
const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
|
|
@@ -24,17 +24,15 @@ exports.ALL_FREQUENCY_LABEL_TYPE = [
|
|
|
24
24
|
'Very High',
|
|
25
25
|
];
|
|
26
26
|
const toFrequencyLabelType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_FREQUENCY_LABEL_TYPE);
|
|
27
|
-
|
|
28
|
-
exports.ALL_FREQUENCY_VALUE_TYPE = [
|
|
27
|
+
const ALL_FREQUENCY_VALUE_TYPE = [
|
|
29
28
|
'very_low',
|
|
30
29
|
'low',
|
|
31
30
|
'mid',
|
|
32
31
|
'high',
|
|
33
32
|
'very_high',
|
|
34
33
|
];
|
|
35
|
-
const toFrequencyValueType = (v) => (0, stringToUnion_1.stringToUnion)(v,
|
|
36
|
-
|
|
37
|
-
exports.ALL_PRODUCT_SERVICE = [
|
|
34
|
+
const toFrequencyValueType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_FREQUENCY_VALUE_TYPE);
|
|
35
|
+
const ALL_PRODUCT_SERVICE = [
|
|
38
36
|
'reimbursement',
|
|
39
37
|
'billpay',
|
|
40
38
|
'cards',
|
|
@@ -43,16 +41,14 @@ exports.ALL_PRODUCT_SERVICE = [
|
|
|
43
41
|
'cfo_plan',
|
|
44
42
|
'payroll_manager_service_plan',
|
|
45
43
|
];
|
|
46
|
-
const toProductServiceKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v,
|
|
47
|
-
|
|
48
|
-
exports.ALL_HEALTH_METRIC_KEYS = [
|
|
44
|
+
const toProductServiceKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_PRODUCT_SERVICE);
|
|
45
|
+
const ALL_HEALTH_METRIC_KEYS = [
|
|
49
46
|
'finOpsEngagementFrequency',
|
|
50
47
|
'externalProductServiceExposure',
|
|
51
48
|
'netPromoterScore',
|
|
52
49
|
'customerSatisfactionScore',
|
|
53
50
|
];
|
|
54
|
-
const toHealthMetricKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v,
|
|
55
|
-
exports.toHealthMetricKeyType = toHealthMetricKeyType;
|
|
51
|
+
const toHealthMetricKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_HEALTH_METRIC_KEYS);
|
|
56
52
|
const toCompanyHealthMetricEntityType = (key) => {
|
|
57
53
|
if (key === 'finOpsEngagementFrequency' ||
|
|
58
54
|
key === 'externalProductServiceExposure') {
|
|
@@ -207,7 +203,7 @@ const getCategoryValueForCompany = (key, company) => {
|
|
|
207
203
|
var _a, _b, _c, _d;
|
|
208
204
|
const firstControllerId = (0, companyHelper_1.getFirstControllerIdFromControllers)(company.controllers);
|
|
209
205
|
const customerSuccessManagerIds = (0, companyHelper_1.getFirstControllerId)(company.managegmentInfo.customerSuccessManagerUserIds);
|
|
210
|
-
const runway =
|
|
206
|
+
const runway = getRunwayInfinity(company.companyHealthMetric.runway);
|
|
211
207
|
switch (key) {
|
|
212
208
|
case 'controller':
|
|
213
209
|
return firstControllerId;
|
|
@@ -536,7 +532,6 @@ const getRunwayInfinity = (runway) => {
|
|
|
536
532
|
? runway.runwayMonths.toString()
|
|
537
533
|
: undefined;
|
|
538
534
|
};
|
|
539
|
-
exports.getRunwayInfinity = getRunwayInfinity;
|
|
540
535
|
const getSortOrderForFrequency = (value) => {
|
|
541
536
|
switch (value) {
|
|
542
537
|
case 'low':
|
|
@@ -13,7 +13,7 @@ export interface CompanyMonthEndReportViewPayload {
|
|
|
13
13
|
draft_user_id?: string;
|
|
14
14
|
zeni_requests_data: string[];
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
interface MonthEndHistoricReportPayload {
|
|
17
17
|
email_history_html: string;
|
|
18
18
|
recipient_email_list: string[];
|
|
19
19
|
subject: string;
|
|
@@ -25,7 +25,7 @@ export interface MonthEndHistoricReportPayload {
|
|
|
25
25
|
export interface CompanyMonthEndHistoricReportPayload {
|
|
26
26
|
history: MonthEndHistoricReportPayload[];
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
interface ImproveUsingZeniGPTPayload {
|
|
29
29
|
text: string;
|
|
30
30
|
}
|
|
31
31
|
export interface CompanyMonthEndReportHistoricDatesPayload {
|
|
@@ -43,3 +43,4 @@ export declare type ImproveUsingZeniGPTResponse = ZeniAPIResponse<ImproveUsingZe
|
|
|
43
43
|
export declare type CompanyMonthEndReportHistoricDatesResponse = ZeniAPIResponse<CompanyMonthEndReportHistoricDatesPayload>;
|
|
44
44
|
export declare type CompanyMonthEndReportTemplatesResponse = ZeniAPIResponse<CompanyMonthEndReportTemplatesPayload>;
|
|
45
45
|
export declare type CompanyMonthEndHistoricReportResponse = ZeniAPIResponse<CompanyMonthEndHistoricReportPayload>;
|
|
46
|
+
export {};
|
|
@@ -5,9 +5,6 @@ import { RootState } from '../../reducer';
|
|
|
5
5
|
import { CompanyMonthEndReportData, CompanyMonthEndReportHistoricData, CompanyMonthReportTemplates, AuditSummaryData } from './companyMonthEndReportViewState';
|
|
6
6
|
import { ZeniDate } from '../../zeniDayJS';
|
|
7
7
|
import { Month } from '../../commonStateTypes/timePeriod';
|
|
8
|
-
import { ReviewCompanyViewState } from '../reviewCompanyView/reviewCompanyViewState';
|
|
9
|
-
import { AuditRuleGroupViewState } from '../auditReportView/auditReportViewState';
|
|
10
|
-
import { CompanyManagementView } from '../companyView/selector/companyManagementViewSelector';
|
|
11
8
|
import { LoggedInUser } from '../../entity/tenant/tenantState';
|
|
12
9
|
export interface CompanyMonthEndReportSelectorView extends SelectorView, CompanyMonthEndReportData {
|
|
13
10
|
reportLastSavedByUser?: User;
|
|
@@ -28,4 +25,3 @@ export interface CompanyMonthEndReportHistoricDataSelectorView extends CompanyMo
|
|
|
28
25
|
}
|
|
29
26
|
export declare const getCompanyMonthEndReportSelectorView: (state: RootState, companyId: ID, loggedInUser: LoggedInUser | undefined) => CompanyMonthEndReportSelectorView;
|
|
30
27
|
export declare const getCompanyMonthEndReportHistoricData: (state: RootState, companyId: ID, reportSentDate: ZeniDate) => CompanyMonthEndReportHistoricDataSelectorView;
|
|
31
|
-
export declare const getAuditSummaryData: (companyId: ID, loggedInUser: LoggedInUser | undefined, managementView: CompanyManagementView, reviewState: ReviewCompanyViewState, auditRuleGroupViewState: AuditRuleGroupViewState) => AuditSummaryData;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getCompanyMonthEndReportHistoricData = exports.getCompanyMonthEndReportSelectorView = void 0;
|
|
4
4
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
5
5
|
const userSelector_1 = require("../../entity/user/userSelector");
|
|
6
6
|
const companyMonthEndReportViewState_1 = require("./companyMonthEndReportViewState");
|
|
@@ -15,7 +15,7 @@ exports.getCompanyMonthEndReportSelectorView = (0, toolkit_1.createSelector)([
|
|
|
15
15
|
var _a, _b, _c, _d;
|
|
16
16
|
const companyMonthEndReport = rootState.companyMonthEndReportViewState.monthEndReportDataByCompanyId[companyId];
|
|
17
17
|
const managementView = (0, companyManagementViewSelector_1.getCompanyManagementView)(rootState);
|
|
18
|
-
const auditSummaryData =
|
|
18
|
+
const auditSummaryData = getAuditSummaryData(companyId, loggedInUser, managementView, rootState.reviewCompanyViewState, rootState.auditReportViewState.auditRuleGroupView);
|
|
19
19
|
const companyName = (_a = rootState.companyState.companiesById[companyId]) === null || _a === void 0 ? void 0 : _a.companyInfo.name;
|
|
20
20
|
const draftUserId = companyMonthEndReport === null || companyMonthEndReport === void 0 ? void 0 : companyMonthEndReport.companyMonthEndReportData.draftUserId;
|
|
21
21
|
return Object.assign(Object.assign({}, companyMonthEndReport === null || companyMonthEndReport === void 0 ? void 0 : companyMonthEndReport.companyMonthEndReportData), { auditSummaryData: auditSummaryData, companyMonthEndReportTemplatesData: {
|
|
@@ -105,4 +105,3 @@ const getAuditSummaryData = (companyId, loggedInUser, managementView, reviewStat
|
|
|
105
105
|
return companyMonthEndReportViewReducer_1.initialAuditSummaryData;
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
|
-
exports.getAuditSummaryData = getAuditSummaryData;
|
|
@@ -17,7 +17,7 @@ export interface CompanyMonthEndReportData {
|
|
|
17
17
|
reportSentDate?: ZeniDate;
|
|
18
18
|
zeniRequestsData?: string[];
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
interface CompanyMonthEndReport extends FetchStateAndError {
|
|
21
21
|
companyMonthEndReportData: CompanyMonthEndReportData;
|
|
22
22
|
auditSummaryData: AuditSummaryData;
|
|
23
23
|
companyMonthEndReportTemplatesData: CompanyMonthReportTemplates;
|
|
@@ -31,7 +31,7 @@ export interface AuditSummaryData extends FetchStateAndError {
|
|
|
31
31
|
isControllerOrReviewer: boolean;
|
|
32
32
|
}
|
|
33
33
|
export declare const getMonthEndReportHistoricDataKey: (companyId: ID, reportDate: ZeniDate) => `${string}_${string}`;
|
|
34
|
-
|
|
34
|
+
declare type CompanyMonthEndReportHistoricDataKey = ReturnType<typeof getMonthEndReportHistoricDataKey>;
|
|
35
35
|
interface HistoricDatesList extends FetchStateAndError {
|
|
36
36
|
reportSentDates: ZeniDate[];
|
|
37
37
|
}
|
|
@@ -34,7 +34,7 @@ export interface CompanyViewPassportDataPayload {
|
|
|
34
34
|
schema: CompanyViewSchemaPayload;
|
|
35
35
|
}
|
|
36
36
|
export declare type CompanyViewPassportResponse = ZeniAPIResponse<CompanyViewPassportDataPayload>;
|
|
37
|
-
|
|
37
|
+
interface CompanyViewManagementDataPayload {
|
|
38
38
|
user_roles: UserRolePayload[];
|
|
39
39
|
users?: UserPayload[];
|
|
40
40
|
companies: CompanyPayload[];
|
|
@@ -47,7 +47,7 @@ export interface CompanyViewManagementDataPayload {
|
|
|
47
47
|
tasks: CountPayload[];
|
|
48
48
|
}
|
|
49
49
|
export declare type CompanyViewManagementResponse = ZeniAPIResponse<CompanyViewManagementDataPayload>;
|
|
50
|
-
|
|
50
|
+
interface CompanyViewPortfolioDataPayload {
|
|
51
51
|
user_roles: UserRolePayload[];
|
|
52
52
|
users?: UserPayload[];
|
|
53
53
|
companies: CompanyPayload[];
|
|
@@ -55,34 +55,34 @@ export interface CompanyViewPortfolioDataPayload {
|
|
|
55
55
|
accounting_summaries: AccountingSummaryPayload[];
|
|
56
56
|
}
|
|
57
57
|
export declare type CompanyViewPortfolioResponse = ZeniAPIResponse<CompanyViewPortfolioDataPayload>;
|
|
58
|
-
|
|
58
|
+
interface CompanyUpdateDataPayload {
|
|
59
59
|
companies: CompanyPayload[];
|
|
60
60
|
customer_satisfactions?: CustomerSatisfactionPayload[];
|
|
61
61
|
}
|
|
62
62
|
export declare type CompanyUpdateResponse = ZeniAPIResponse<CompanyUpdateDataPayload>;
|
|
63
|
-
|
|
63
|
+
interface AddressCreateDataPayload {
|
|
64
64
|
addresses: AddressPayload[];
|
|
65
65
|
}
|
|
66
66
|
export declare type AddressCreateResponse = ZeniAPIResponse<AddressCreateDataPayload>;
|
|
67
|
-
|
|
67
|
+
interface CompanyAddressCreateDataPayload extends AddressCreateDataPayload {
|
|
68
68
|
companies?: CompanyPayload[];
|
|
69
69
|
}
|
|
70
70
|
export declare type CompanyAddressCreateResponse = ZeniAPIResponse<CompanyAddressCreateDataPayload>;
|
|
71
|
-
|
|
71
|
+
interface ZeniUsersDataPayload {
|
|
72
72
|
users: UserPayload[];
|
|
73
73
|
}
|
|
74
74
|
export declare type ZeniUsersResponse = ZeniAPIResponse<ZeniUsersDataPayload>;
|
|
75
|
-
|
|
75
|
+
interface CompanyUserUpdateDataPayload extends ZeniUsersDataPayload {
|
|
76
76
|
user_roles?: UserRolePayload[];
|
|
77
77
|
companies?: CompanyPayload[];
|
|
78
78
|
}
|
|
79
79
|
export declare type CompanyUserUpdateResponse = ZeniAPIResponse<CompanyUserUpdateDataPayload>;
|
|
80
|
-
|
|
80
|
+
interface CompanyUserAddressCreateDataPayload extends CompanyAddressCreateDataPayload {
|
|
81
81
|
users?: UserPayload[];
|
|
82
82
|
user_roles?: UserRolePayload[];
|
|
83
83
|
}
|
|
84
84
|
export declare type CompanyUserAddressCreateResponse = ZeniAPIResponse<CompanyUserAddressCreateDataPayload>;
|
|
85
|
-
|
|
85
|
+
interface CompanyMetaDataPayload {
|
|
86
86
|
company_id: string;
|
|
87
87
|
has_month_end_email_history: boolean;
|
|
88
88
|
}
|
|
@@ -90,3 +90,4 @@ export interface CompanyMetaDataViewPayload {
|
|
|
90
90
|
cockpit_companies_view: CompanyMetaDataPayload[];
|
|
91
91
|
}
|
|
92
92
|
export declare type CompanyMetaDataResponse = ZeniAPIResponse<CompanyMetaDataViewPayload>;
|
|
93
|
+
export {};
|
|
@@ -8,7 +8,6 @@ import { CompanyWithUpdateStatusView } from '../selector/companyManagementViewSe
|
|
|
8
8
|
import { CockpitFilterCategory } from '../types/cockpitTypes';
|
|
9
9
|
import { CompanyView } from '../types/companyView';
|
|
10
10
|
export declare const INFINITY = "Infinity";
|
|
11
|
-
export declare const MAX_RUNWAY = 1000000;
|
|
12
11
|
export declare type FilterCategoryValueType = string | ZeniDate;
|
|
13
12
|
export declare const filterCompanyOnCategoriesWithSingleValue: (categoryValue: FilterCategoryValueType, currentFilter: CockpitFilterCategory, rangeTypeFields: string[]) => boolean;
|
|
14
13
|
export declare const filterCompanyOnCategoriesWithMultipleValues: (categoryValue: string[], currentFilter: CockpitFilterCategory) => boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.extractUniqueZeniSKUs = exports.shouldEnableCalendarPickerForLastReportSent = exports.canSendMonthEndEmailReport = exports.getCompanyIdTenantIdMappingFromTenantsList = exports.getCompanyIdTenantIdMapping = exports.removeDuplicatesFromCompaniesArray = exports.filterCompanyOnCategoriesWithMultipleValues = exports.filterCompanyOnCategoriesWithSingleValue = exports.
|
|
3
|
+
exports.extractUniqueZeniSKUs = exports.shouldEnableCalendarPickerForLastReportSent = exports.canSendMonthEndEmailReport = exports.getCompanyIdTenantIdMappingFromTenantsList = exports.getCompanyIdTenantIdMapping = exports.removeDuplicatesFromCompaniesArray = exports.filterCompanyOnCategoriesWithMultipleValues = exports.filterCompanyOnCategoriesWithSingleValue = exports.INFINITY = void 0;
|
|
4
4
|
const zeniDayJS_1 = require("../../../zeniDayJS");
|
|
5
5
|
exports.INFINITY = 'Infinity';
|
|
6
|
-
|
|
6
|
+
const MAX_RUNWAY = 1000000;
|
|
7
7
|
const ALL_DROPDOWN_RANGE_FILTER_FIELDS = [
|
|
8
8
|
'customerSatisfactionScore',
|
|
9
9
|
'netPromoterScore',
|
|
@@ -23,7 +23,7 @@ const filterCompanyOnRangeCategoryType = (categoryValue, currentFilter) => {
|
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
25
|
for (const filterValue of currentFilter.values) {
|
|
26
|
-
const revenue = categoryValue === exports.INFINITY ?
|
|
26
|
+
const revenue = categoryValue === exports.INFINITY ? MAX_RUNWAY : parseInt(categoryValue);
|
|
27
27
|
const lowerValue = parseInt(filterValue.toString().split('<->')[0]);
|
|
28
28
|
const higherValue = parseInt(filterValue.toString().split('<->')[1]);
|
|
29
29
|
if (revenue >= lowerValue && revenue <= higherValue) {
|
|
@@ -6,7 +6,6 @@ import { User } from '../../../entity/user/userState';
|
|
|
6
6
|
import { ZeniAPIStatus } from '../../../responsePayload';
|
|
7
7
|
import { Amount } from '../../../commonStateTypes/amount';
|
|
8
8
|
import { ManagementUIState } from '../types/companyManagementViewState';
|
|
9
|
-
import { SubscriptionPlan } from '../../../entity/subscription/subscriptionPlan/subscriptionPlanState';
|
|
10
9
|
export interface CompanyWithUpdateStatusView extends CompanyView {
|
|
11
10
|
updateStatus: FetchStateAndError;
|
|
12
11
|
hasMonthEndEmailHistory: boolean;
|
|
@@ -25,7 +24,6 @@ export interface CompanyManagementView extends SelectorView {
|
|
|
25
24
|
}
|
|
26
25
|
export declare const getManagementViewFromCompanyIds: (rootState: RootState, companyIds: ID[], fetchState: FetchState) => CompanyManagementView;
|
|
27
26
|
export declare const getCompanyManagementView: (state: RootState) => CompanyManagementView;
|
|
28
|
-
export declare const getPlanList: (sampleCompany: CompanyView) => SubscriptionPlan[];
|
|
29
27
|
export declare const getPlanListZeniSku: (companyViewData: CompanyWithUpdateStatusView) => string[];
|
|
30
28
|
export declare const getAddonListZeniSku: (companyViewData: CompanyWithUpdateStatusView) => string[];
|
|
31
29
|
export declare const getTotalRecurringRevenue: (companies: CompanyView[]) => {
|