@zeniai/client-epic-state 5.1.84-beta1ND → 5.1.84-beta2ND
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonStateTypes/viewAndReport/reportIDHelper.d.ts +1 -0
- package/lib/commonStateTypes/viewAndReport/reportIDHelper.js +13 -1
- package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
- package/lib/commonStateTypes/viewAndReport/viewAndReport.js +3 -0
- package/lib/coreEpics.js +3 -2
- package/lib/entity/account/accountState.d.ts +1 -1
- package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
- package/lib/entity/approvalRule/approvalRuleState.d.ts +1 -0
- package/lib/entity/chargeCard/chargeCard.d.ts +1 -1
- package/lib/entity/class/classReducer.d.ts +4 -4
- package/lib/entity/class/classState.d.ts +1 -1
- package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.d.ts +1 -0
- package/lib/entity/entityApprovalStatus/entityApprovalStatusPayload.js +1 -0
- package/lib/entity/entityApprovalStatus/entityApprovalStatusState.d.ts +1 -0
- package/lib/entity/forecast/forecastState.d.ts +1 -1
- package/lib/entity/invoicing/coupon/couponConstants.d.ts +11 -0
- package/lib/entity/invoicing/coupon/couponConstants.js +29 -0
- package/lib/entity/invoicing/coupon/couponPayload.d.ts +49 -0
- package/lib/entity/invoicing/coupon/couponPayload.js +40 -0
- package/lib/entity/invoicing/coupon/couponReducer.d.ts +9 -0
- package/lib/entity/invoicing/coupon/couponReducer.js +47 -0
- package/lib/entity/invoicing/coupon/couponSelector.d.ts +4 -0
- package/lib/entity/invoicing/coupon/couponSelector.js +16 -0
- package/lib/entity/invoicing/coupon/couponState.d.ts +33 -0
- package/lib/entity/invoicing/coupon/couponState.js +2 -0
- package/lib/entity/invoicing/creditNote/creditNotePayload.d.ts +49 -0
- package/lib/entity/invoicing/creditNote/creditNotePayload.js +62 -0
- package/lib/entity/invoicing/creditNote/creditNoteReducer.d.ts +9 -0
- package/lib/entity/invoicing/creditNote/creditNoteReducer.js +49 -0
- package/lib/entity/invoicing/creditNote/creditNoteSelector.d.ts +4 -0
- package/lib/entity/invoicing/creditNote/creditNoteSelector.js +17 -0
- package/lib/entity/invoicing/creditNote/creditNoteState.d.ts +49 -0
- package/lib/entity/invoicing/creditNote/creditNoteState.js +2 -0
- package/lib/entity/invoicing/dunningCase/dunningCasePayload.d.ts +26 -0
- package/lib/entity/invoicing/dunningCase/dunningCasePayload.js +36 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseReducer.d.ts +9 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseReducer.js +49 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseSelector.d.ts +4 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseSelector.js +17 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseState.d.ts +29 -0
- package/lib/entity/invoicing/dunningCase/dunningCaseState.js +2 -0
- package/lib/entity/invoicing/invoice/invoicePayload.d.ts +118 -0
- package/lib/entity/invoicing/invoice/invoicePayload.js +152 -0
- package/lib/entity/invoicing/invoice/invoiceReducer.d.ts +9 -0
- package/lib/entity/invoicing/invoice/invoiceReducer.js +49 -0
- package/lib/entity/invoicing/invoice/invoiceSelector.d.ts +4 -0
- package/lib/entity/invoicing/invoice/invoiceSelector.js +16 -0
- package/lib/entity/invoicing/invoice/invoiceState.d.ts +113 -0
- package/lib/entity/invoicing/invoice/invoiceState.js +2 -0
- package/lib/entity/invoicing/invoicingCommonPayload.d.ts +220 -0
- package/lib/entity/invoicing/invoicingCommonPayload.js +232 -0
- package/lib/entity/invoicing/invoicingCommonState.d.ts +40 -0
- package/lib/entity/invoicing/invoicingCommonState.js +2 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.d.ts +64 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +81 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.d.ts +9 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +47 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.d.ts +4 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.js +17 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.d.ts +50 -0
- package/lib/entity/invoicing/invoicingCustomer/invoicingCustomerState.js +2 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.d.ts +85 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +118 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.d.ts +9 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +49 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.d.ts +5 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.js +17 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.d.ts +77 -0
- package/lib/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +2 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionPayload.d.ts +52 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionPayload.js +62 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.d.ts +9 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +49 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionSelector.d.ts +4 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionSelector.js +17 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionState.d.ts +54 -0
- package/lib/entity/invoicing/invoicingTransaction/invoicingTransactionState.js +2 -0
- package/lib/entity/invoicing/plan/planPayload.d.ts +40 -0
- package/lib/entity/invoicing/plan/planPayload.js +51 -0
- package/lib/entity/invoicing/plan/planReducer.d.ts +14 -0
- package/lib/entity/invoicing/plan/planReducer.js +72 -0
- package/lib/entity/invoicing/plan/planSelector.d.ts +4 -0
- package/lib/entity/invoicing/plan/planSelector.js +17 -0
- package/lib/entity/invoicing/plan/planState.d.ts +43 -0
- package/lib/entity/invoicing/plan/planState.js +2 -0
- package/lib/entity/invoicing/product/productPayload.d.ts +66 -0
- package/lib/entity/invoicing/product/productPayload.js +79 -0
- package/lib/entity/invoicing/product/productReducer.d.ts +9 -0
- package/lib/entity/invoicing/product/productReducer.js +47 -0
- package/lib/entity/invoicing/product/productSelector.d.ts +4 -0
- package/lib/entity/invoicing/product/productSelector.js +17 -0
- package/lib/entity/invoicing/product/productState.d.ts +68 -0
- package/lib/entity/invoicing/product/productState.js +2 -0
- package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.d.ts +1 -0
- package/lib/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js +1 -0
- package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.d.ts +1 -0
- package/lib/entity/notificationRegistry/notificationRegistryPayload.d.ts +19 -0
- package/lib/entity/notificationRegistry/notificationRegistryPayload.js +31 -0
- package/lib/entity/notificationRegistry/notificationRegistryReducer.d.ts +10 -0
- package/lib/entity/notificationRegistry/notificationRegistryReducer.js +50 -0
- package/lib/entity/notificationRegistry/notificationRegistrySelector.d.ts +2 -0
- package/lib/entity/notificationRegistry/notificationRegistrySelector.js +10 -0
- package/lib/entity/notificationRegistry/notificationRegistryState.d.ts +33 -0
- package/lib/entity/notificationRegistry/notificationRegistryState.js +10 -0
- package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
- package/lib/entity/sectionProjectView/sectionProjectView.d.ts +1 -1
- package/lib/entity/sectionProjectView/sectionProjectViewReducer.d.ts +2 -2
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +34 -0
- package/lib/entity/tenant/clearAllEpic.d.ts +55 -2
- package/lib/entity/tenant/clearAllEpic.js +109 -2
- package/lib/entity/tenant/tenantReducer.d.ts +8 -1
- package/lib/entity/tenant/tenantReducer.js +25 -2
- package/lib/entity/tenant/tenantSelector.d.ts +1 -0
- package/lib/entity/tenant/tenantSelector.js +4 -0
- package/lib/entity/userRole/userRoleType.d.ts +1 -0
- package/lib/entity/userRole/userRoleType.js +15 -1
- package/lib/epic.d.ts +58 -2
- package/lib/epic.js +89 -2
- package/lib/esm/commonStateTypes/viewAndReport/reportIDHelper.js +11 -0
- package/lib/esm/commonStateTypes/viewAndReport/viewAndReport.js +3 -0
- package/lib/esm/coreEpics.js +3 -2
- package/lib/esm/entity/entityApprovalStatus/entityApprovalStatusPayload.js +1 -0
- package/lib/esm/entity/invoicing/coupon/couponConstants.js +26 -0
- package/lib/esm/entity/invoicing/coupon/couponPayload.js +36 -0
- package/lib/esm/entity/invoicing/coupon/couponReducer.js +40 -0
- package/lib/esm/entity/invoicing/coupon/couponSelector.js +9 -0
- package/lib/esm/entity/invoicing/coupon/couponState.js +1 -0
- package/lib/esm/entity/invoicing/creditNote/creditNotePayload.js +56 -0
- package/lib/esm/entity/invoicing/creditNote/creditNoteReducer.js +42 -0
- package/lib/esm/entity/invoicing/creditNote/creditNoteSelector.js +10 -0
- package/lib/esm/entity/invoicing/creditNote/creditNoteState.js +1 -0
- package/lib/esm/entity/invoicing/dunningCase/dunningCasePayload.js +32 -0
- package/lib/esm/entity/invoicing/dunningCase/dunningCaseReducer.js +42 -0
- package/lib/esm/entity/invoicing/dunningCase/dunningCaseSelector.js +10 -0
- package/lib/esm/entity/invoicing/dunningCase/dunningCaseState.js +1 -0
- package/lib/esm/entity/invoicing/invoice/invoicePayload.js +146 -0
- package/lib/esm/entity/invoicing/invoice/invoiceReducer.js +42 -0
- package/lib/esm/entity/invoicing/invoice/invoiceSelector.js +9 -0
- package/lib/esm/entity/invoicing/invoice/invoiceState.js +1 -0
- package/lib/esm/entity/invoicing/invoicingCommonPayload.js +211 -0
- package/lib/esm/entity/invoicing/invoicingCommonState.js +1 -0
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerPayload.js +76 -0
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerReducer.js +40 -0
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerSelector.js +10 -0
- package/lib/esm/entity/invoicing/invoicingCustomer/invoicingCustomerState.js +1 -0
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionPayload.js +110 -0
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionReducer.js +42 -0
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionSelector.js +10 -0
- package/lib/esm/entity/invoicing/invoicingSubscription/invoicingSubscriptionState.js +1 -0
- package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionPayload.js +58 -0
- package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionReducer.js +42 -0
- package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionSelector.js +10 -0
- package/lib/esm/entity/invoicing/invoicingTransaction/invoicingTransactionState.js +1 -0
- package/lib/esm/entity/invoicing/plan/planPayload.js +47 -0
- package/lib/esm/entity/invoicing/plan/planReducer.js +65 -0
- package/lib/esm/entity/invoicing/plan/planSelector.js +10 -0
- package/lib/esm/entity/invoicing/plan/planState.js +1 -0
- package/lib/esm/entity/invoicing/product/productPayload.js +74 -0
- package/lib/esm/entity/invoicing/product/productReducer.js +40 -0
- package/lib/esm/entity/invoicing/product/productSelector.js +10 -0
- package/lib/esm/entity/invoicing/product/productState.js +1 -0
- package/lib/esm/entity/monthEndCloseChecks/monthEndCloseChecksPayload.js +1 -0
- package/lib/esm/entity/notificationRegistry/notificationRegistryPayload.js +27 -0
- package/lib/esm/entity/notificationRegistry/notificationRegistryReducer.js +46 -0
- package/lib/esm/entity/notificationRegistry/notificationRegistrySelector.js +6 -0
- package/lib/esm/entity/notificationRegistry/notificationRegistryState.js +5 -0
- package/lib/esm/entity/snackbar/snackbarTypes.js +34 -0
- package/lib/esm/entity/tenant/clearAllEpic.js +107 -0
- package/lib/esm/entity/tenant/tenantReducer.js +24 -1
- package/lib/esm/entity/tenant/tenantSelector.js +3 -0
- package/lib/esm/entity/transactionActivityLog/transactionActivityLogPayload.js +1 -1
- package/lib/esm/entity/userRole/userRoleType.js +13 -0
- package/lib/esm/epic.js +89 -2
- package/lib/esm/index.js +153 -8
- package/lib/esm/reducer.js +159 -0
- package/lib/esm/view/companyView/companyViewReducer.js +122 -1
- package/lib/esm/view/companyView/epic/companyPassport/dismissCapitalizationOnboardingEpic.js +2 -1
- package/lib/esm/view/companyView/epic/companyPassport/projects/disableAccountingProjectsEpic.js +56 -0
- package/lib/esm/view/companyView/epic/companyPassport/projects/enableAccountingProjectsEpic.js +37 -0
- package/lib/esm/view/companyView/epic/companyPassport/projects/resumeEnableAccountingProjectsEpic.js +73 -0
- package/lib/esm/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.js +2 -1
- package/lib/esm/view/companyView/epic/companyPassport/updateCapitalizationAccountThresholdEpic.js +2 -1
- package/lib/esm/view/companyView/epic/companyPassport/updateCompanyProductServicesEpic.js +81 -0
- package/lib/esm/view/companyView/epic/updateCompanyQboRealmIdEpic.js +62 -0
- package/lib/esm/view/companyView/selector/companyManagementViewSelector.js +8 -0
- package/lib/esm/view/companyView/types/cockpitTypes.js +2 -0
- package/lib/esm/view/companyView/types/companyManagementViewState.js +7 -0
- package/lib/esm/view/companyView/types/companyPassport/companyPassportViewState.js +9 -0
- package/lib/esm/view/dashboard/dashboardSelector.js +14 -10
- package/lib/esm/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +1 -1
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +2 -1
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +4 -2
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/markTransactionAsNotMiscategorizedEpic.js +1 -1
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/saveTransactionCategorizationEpic.js +1 -1
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/triggerReviewTabRefetchEpic.js +1 -1
- package/lib/esm/view/expenseAutomationView/helpers/mapStatementUpdateLocalDataToRequestBody.js +1 -3
- package/lib/esm/view/expenseAutomationView/reducers/reconciliationViewReducer.js +30 -2
- package/lib/esm/view/expenseAutomationView/reducers/transactionsViewReducer.js +2 -3
- package/lib/esm/view/expenseAutomationView/selectors/reconciliationViewSelector.js +3 -2
- package/lib/esm/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +4 -18
- package/lib/esm/view/fileView/fileUploadHelpers.js +1 -2
- package/lib/esm/view/invoicing/auditView/auditViewEpics.js +54 -0
- package/lib/esm/view/invoicing/auditView/auditViewPayload.js +64 -0
- package/lib/esm/view/invoicing/auditView/auditViewReducer.js +56 -0
- package/lib/esm/view/invoicing/auditView/auditViewSelector.js +17 -0
- package/lib/esm/view/invoicing/auditView/auditViewState.js +1 -0
- package/lib/esm/view/invoicing/catalogAction/catalogActionEpic.js +56 -0
- package/lib/esm/view/invoicing/catalogAction/catalogActionPayload.js +1 -0
- package/lib/esm/view/invoicing/catalogAction/catalogActionReducer.js +55 -0
- package/lib/esm/view/invoicing/catalogAction/catalogActionSelector.js +5 -0
- package/lib/esm/view/invoicing/catalogAction/catalogActionState.js +1 -0
- package/lib/esm/view/invoicing/couponView/couponViewEpics.js +76 -0
- package/lib/esm/view/invoicing/couponView/couponViewPayload.js +1 -0
- package/lib/esm/view/invoicing/couponView/couponViewReducer.js +115 -0
- package/lib/esm/view/invoicing/couponView/couponViewSelector.js +47 -0
- package/lib/esm/view/invoicing/couponView/couponViewState.js +39 -0
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteEpic.js +43 -0
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteFormConfig.js +11 -0
- package/lib/esm/view/invoicing/createCreditNote/createCreditNotePayload.js +27 -0
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteReducer.js +42 -0
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteSelector.js +20 -0
- package/lib/esm/view/invoicing/createCreditNote/createCreditNoteState.js +1 -0
- package/lib/esm/view/invoicing/createInvoice/createInvoiceEpic.js +50 -0
- package/lib/esm/view/invoicing/createInvoice/createInvoiceFormConfig.js +65 -0
- package/lib/esm/view/invoicing/createInvoice/createInvoicePayload.js +1 -0
- package/lib/esm/view/invoicing/createInvoice/createInvoiceReducer.js +55 -0
- package/lib/esm/view/invoicing/createInvoice/createInvoiceSelector.js +57 -0
- package/lib/esm/view/invoicing/createInvoice/createInvoiceState.js +1 -0
- package/lib/esm/view/invoicing/createInvoice/epics/fetchCreateInvoiceFormPageEpic.js +50 -0
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +63 -0
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +1 -0
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +87 -0
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +8 -0
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodState.js +1 -0
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionEpic.js +35 -0
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionPayload.js +1 -0
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionReducer.js +68 -0
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionSelector.js +5 -0
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionState.js +1 -0
- package/lib/esm/view/invoicing/dataImportView/dataImportViewEpics.js +74 -0
- package/lib/esm/view/invoicing/dataImportView/dataImportViewPayload.js +1 -0
- package/lib/esm/view/invoicing/dataImportView/dataImportViewReducer.js +113 -0
- package/lib/esm/view/invoicing/dataImportView/dataImportViewSelector.js +19 -0
- package/lib/esm/view/invoicing/dataImportView/dataImportViewState.js +1 -0
- package/lib/esm/view/invoicing/discountAction/discountActionEpic.js +52 -0
- package/lib/esm/view/invoicing/discountAction/discountActionPayload.js +1 -0
- package/lib/esm/view/invoicing/discountAction/discountActionReducer.js +36 -0
- package/lib/esm/view/invoicing/discountAction/discountActionSelector.js +5 -0
- package/lib/esm/view/invoicing/discountAction/discountActionState.js +1 -0
- package/lib/esm/view/invoicing/dunningAction/dunningActionEpic.js +53 -0
- package/lib/esm/view/invoicing/dunningAction/dunningActionPayload.js +1 -0
- package/lib/esm/view/invoicing/dunningAction/dunningActionReducer.js +36 -0
- package/lib/esm/view/invoicing/dunningAction/dunningActionRequestPayload.js +2 -0
- package/lib/esm/view/invoicing/dunningAction/dunningActionSelector.js +5 -0
- package/lib/esm/view/invoicing/dunningAction/dunningActionState.js +1 -0
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/catalogDetailEditPayload.js +174 -0
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +130 -0
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +84 -0
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.js +70 -0
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormConfig.js +152 -0
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogSubFamilyEpics.js +39 -0
- package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +108 -0
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.js +58 -0
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +65 -0
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +43 -0
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.js +43 -0
- package/lib/esm/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +70 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +32 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +62 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +42 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js +35 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.js +55 -0
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +73 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +45 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +80 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +56 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.js +29 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/initializeInvoicingSubscriptionAddressEpic.js +36 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionFormConfig.js +73 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +104 -0
- package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/syncInvoicingSubscriptionCouponsEpic.js +82 -0
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionEpic.js +97 -0
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionPayload.js +1 -0
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionReducer.js +42 -0
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionRequestPayload.js +2 -0
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionSelector.js +5 -0
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionState.js +1 -0
- package/lib/esm/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +25 -0
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailPayload.js +1 -0
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailReducer.js +38 -0
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailSelector.js +21 -0
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailState.js +1 -0
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +32 -0
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +15 -0
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceListEpic.js +58 -0
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceListPageEpic.js +31 -0
- package/lib/esm/view/invoicing/invoiceList/invoiceListPayload.js +1 -0
- package/lib/esm/view/invoicing/invoiceList/invoiceListReducer.js +166 -0
- package/lib/esm/view/invoicing/invoiceList/invoiceListSelector.js +27 -0
- package/lib/esm/view/invoicing/invoiceList/invoiceListState.js +29 -0
- package/lib/esm/view/invoicing/invoicingApiHelper.js +14 -0
- package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewEpics.js +19 -0
- package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js +34 -0
- package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewSelector.js +10 -0
- package/lib/esm/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogCountsEpic.js +20 -0
- package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogListPageEpic.js +35 -0
- package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogPlanListEpic.js +43 -0
- package/lib/esm/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogProductListEpic.js +43 -0
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +152 -0
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.js +33 -0
- package/lib/esm/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.js +20 -0
- package/lib/esm/view/invoicing/invoicingConfigView/epics/acceptInvoicingTermsEpic.js +21 -0
- package/lib/esm/view/invoicing/invoicingConfigView/epics/enableInvoicingEpic.js +18 -0
- package/lib/esm/view/invoicing/invoicingConfigView/epics/fetchInvoicingConfigEpic.js +21 -0
- package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewPayload.js +17 -0
- package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +170 -0
- package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.js +10 -0
- package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingCouponDetailView/fetchInvoicingCouponDetailEpic.js +22 -0
- package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.js +38 -0
- package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewSelector.js +11 -0
- package/lib/esm/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewEpics.js +19 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +31 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewSelector.js +11 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteCountsEpic.js +23 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListEpic.js +40 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListPageEpic.js +27 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +95 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.js +31 -0
- package/lib/esm/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.js +39 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +25 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +46 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +51 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.js +30 -0
- package/lib/esm/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.js +20 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +40 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +27 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +111 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +34 -0
- package/lib/esm/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.js +34 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewEpics.js +19 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +31 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewSelector.js +13 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseCountsEpic.js +20 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListEpic.js +37 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListPageEpic.js +27 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +95 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.js +31 -0
- package/lib/esm/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.js +40 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.js +17 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.js +17 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.js +55 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.js +17 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.js +17 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.js +17 -0
- package/lib/esm/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.js +17 -0
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +88 -0
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +115 -0
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewSelector.js +65 -0
- package/lib/esm/view/invoicing/invoicingOverview/invoicingOverviewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingQboView/epics/fetchInvoicingQboAccountsEpic.js +25 -0
- package/lib/esm/view/invoicing/invoicingQboView/epics/fetchInvoicingQboClassesEpic.js +15 -0
- package/lib/esm/view/invoicing/invoicingQboView/epics/fetchInvoicingQboConnectionEpic.js +15 -0
- package/lib/esm/view/invoicing/invoicingQboView/epics/fetchInvoicingQboSyncHealthEpic.js +15 -0
- package/lib/esm/view/invoicing/invoicingQboView/epics/invoicingQboViewActionType.js +1 -0
- package/lib/esm/view/invoicing/invoicingQboView/epics/retryInvoicingQboSyncTaskEpic.js +45 -0
- package/lib/esm/view/invoicing/invoicingQboView/epics/startInvoicingQboBackfillEpic.js +41 -0
- package/lib/esm/view/invoicing/invoicingQboView/invoicingQboViewPayload.js +47 -0
- package/lib/esm/view/invoicing/invoicingQboView/invoicingQboViewReducer.js +128 -0
- package/lib/esm/view/invoicing/invoicingQboView/invoicingQboViewSelector.js +20 -0
- package/lib/esm/view/invoicing/invoicingQboView/invoicingQboViewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.js +22 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +31 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.js +13 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.js +23 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +49 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +27 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +109 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +32 -0
- package/lib/esm/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +43 -0
- package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewEpics.js +19 -0
- package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +31 -0
- package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewSelector.js +13 -0
- package/lib/esm/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState.js +1 -0
- package/lib/esm/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListEpic.js +48 -0
- package/lib/esm/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.js +25 -0
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewPayload.js +1 -0
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +115 -0
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.js +23 -0
- package/lib/esm/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.js +49 -0
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteEpic.js +46 -0
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteFormConfig.js +13 -0
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNotePayload.js +44 -0
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +48 -0
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteSelector.js +28 -0
- package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteState.js +1 -0
- package/lib/esm/view/invoicing/paymentAction/paymentActionEpic.js +27 -0
- package/lib/esm/view/invoicing/paymentAction/paymentActionPayload.js +1 -0
- package/lib/esm/view/invoicing/paymentAction/paymentActionReducer.js +36 -0
- package/lib/esm/view/invoicing/paymentAction/paymentActionRequestPayload.js +2 -0
- package/lib/esm/view/invoicing/paymentAction/paymentActionSelector.js +5 -0
- package/lib/esm/view/invoicing/paymentAction/paymentActionState.js +1 -0
- package/lib/esm/view/invoicing/promotionalCreditAction/promotionalCreditActionEpic.js +25 -0
- package/lib/esm/view/invoicing/promotionalCreditAction/promotionalCreditActionPayload.js +1 -0
- package/lib/esm/view/invoicing/promotionalCreditAction/promotionalCreditActionReducer.js +31 -0
- package/lib/esm/view/invoicing/promotionalCreditAction/promotionalCreditActionState.js +1 -0
- package/lib/esm/view/invoicing/recordPayment/recordPaymentEpic.js +96 -0
- package/lib/esm/view/invoicing/recordPayment/recordPaymentFormConfig.js +36 -0
- package/lib/esm/view/invoicing/recordPayment/recordPaymentPayload.js +58 -0
- package/lib/esm/view/invoicing/recordPayment/recordPaymentReducer.js +61 -0
- package/lib/esm/view/invoicing/recordPayment/recordPaymentSelector.js +50 -0
- package/lib/esm/view/invoicing/recordPayment/recordPaymentState.js +1 -0
- package/lib/esm/view/invoicing/settingsView/invoicingBrandingFormConfig.js +47 -0
- package/lib/esm/view/invoicing/settingsView/invoicingBrandingFormEpics.js +58 -0
- package/lib/esm/view/invoicing/settingsView/invoicingSettingsHelpers.js +7 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewEpics.js +89 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewPayload.js +1 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewReducer.js +86 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewSelector.js +53 -0
- package/lib/esm/view/invoicing/settingsView/settingsViewState.js +1 -0
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionEpic.js +63 -0
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionPayload.js +1 -0
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionReducer.js +36 -0
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionRequestPayload.js +2 -0
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionSelector.js +5 -0
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionState.js +1 -0
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeForTimeframeProjectViewEpic.js +45 -0
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewEpic.js +30 -0
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewPayload.js +1 -0
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.js +111 -0
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelector.js +65 -0
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelectorTypes.js +1 -0
- package/lib/esm/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewState.js +1 -0
- package/lib/esm/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.js +113 -0
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesEndpoint.js +5 -0
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewPayload.js +41 -0
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewReducer.js +267 -0
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewSelector.js +35 -0
- package/lib/esm/view/notificationPreferencesView/notificationPreferencesViewState.js +5 -0
- package/lib/esm/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +1 -5
- package/lib/esm/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +5 -4
- package/lib/esm/view/opExProjectView/opExForTimeframeProjectViewEpic.js +43 -0
- package/lib/esm/view/opExProjectView/opExProjectViewEpic.js +30 -0
- package/lib/esm/view/opExProjectView/opExProjectViewPayload.js +1 -0
- package/lib/esm/view/opExProjectView/opExProjectViewReducer.js +111 -0
- package/lib/esm/view/opExProjectView/opExProjectViewSelector.js +52 -0
- package/lib/esm/view/opExProjectView/opExProjectViewSelectorTypes.js +1 -0
- package/lib/esm/view/opExProjectView/opExProjectViewState.js +1 -0
- package/lib/esm/view/recommendation/fetchEntityRecommendationsForLineUpdateEpic.js +1 -1
- package/lib/esm/view/recommendation/recommendationReducer.js +1 -17
- package/lib/esm/view/reportsResync/reportsClassViewRefetchingEpic.js +0 -4
- package/lib/esm/view/reportsResync/reportsProjectViewRefetchingEpic.js +30 -0
- package/lib/esm/view/reportsResync/reportsResyncEpic.js +11 -3
- package/lib/esm/view/reportsResync/reportsResyncReducer.js +9 -1
- package/lib/esm/view/revenueProjectView/revenueForTimeframeProjectViewEpic.js +35 -0
- package/lib/esm/view/revenueProjectView/revenueProjectViewEpic.js +30 -0
- package/lib/esm/view/revenueProjectView/revenueProjectViewPayload.js +1 -0
- package/lib/esm/view/revenueProjectView/revenueProjectViewReducer.js +111 -0
- package/lib/esm/view/revenueProjectView/revenueProjectViewSelector.js +58 -0
- package/lib/esm/view/revenueProjectView/revenueProjectViewSelectorTypes.js +1 -0
- package/lib/esm/view/revenueProjectView/revenueProjectViewState.js +1 -0
- package/lib/esm/view/settingsView/epic/fetchNotificationSettingsEpic.js +34 -2
- package/lib/esm/view/settingsView/epic/saveNotificationSettingsEpic.js +2 -1
- package/lib/esm/view/settingsView/settingsViewHelpers.js +3 -2
- package/lib/esm/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +83 -38
- package/lib/esm/view/spendManagement/billPay/billList/billListSelector.js +14 -17
- package/lib/esm/view/spendManagement/billPay/editBillView/editBillViewSelector.js +1 -3
- package/lib/esm/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js +0 -14
- package/lib/esm/view/spendManagement/commonSetup/setupViewReducer.js +2 -1
- package/lib/esm/view/spendManagement/helpers.js +26 -0
- package/lib/esm/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.js +0 -12
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.js +45 -18
- package/lib/esm/view/spendManagement/reimbursement/remiListView/remiListSelector.js +14 -17
- package/lib/esm/view/transactionDetail/epics/saveTransactionDetailEpic.js +1 -1
- package/lib/esm/view/transactionDetail/epics/updateTransactionDetailEpic.js +1 -1
- package/lib/index.d.ts +249 -10
- package/lib/index.js +608 -41
- package/lib/reducer.d.ts +159 -0
- package/lib/reducer.js +162 -3
- package/lib/view/addressView/addressViewState.d.ts +1 -1
- package/lib/view/auditReportView/auditReportViewState.d.ts +1 -1
- package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
- package/lib/view/cardBalance/cardBalanceSelector.d.ts +1 -1
- package/lib/view/cashBalance/cashBalanceSelector.d.ts +1 -1
- package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
- package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
- package/lib/view/common/recurringViewHelper.d.ts +2 -2
- package/lib/view/companyView/companyViewReducer.d.ts +27 -1
- package/lib/view/companyView/companyViewReducer.js +124 -3
- package/lib/view/companyView/epic/companyPassport/dismissCapitalizationOnboardingEpic.js +2 -1
- package/lib/view/companyView/epic/companyPassport/projects/disableAccountingProjectsEpic.d.ts +10 -0
- package/lib/view/companyView/epic/companyPassport/projects/disableAccountingProjectsEpic.js +60 -0
- package/lib/view/companyView/epic/companyPassport/projects/enableAccountingProjectsEpic.d.ts +11 -0
- package/lib/view/companyView/epic/companyPassport/projects/enableAccountingProjectsEpic.js +41 -0
- package/lib/view/companyView/epic/companyPassport/projects/resumeEnableAccountingProjectsEpic.d.ts +13 -0
- package/lib/view/companyView/epic/companyPassport/projects/resumeEnableAccountingProjectsEpic.js +77 -0
- package/lib/view/companyView/epic/companyPassport/updateAccountingClassesEnabledEpic.js +2 -1
- package/lib/view/companyView/epic/companyPassport/updateCapitalizationAccountThresholdEpic.js +2 -1
- package/lib/view/companyView/epic/companyPassport/updateCompanyProductServicesEpic.d.ts +10 -0
- package/lib/view/companyView/epic/companyPassport/updateCompanyProductServicesEpic.js +85 -0
- package/lib/view/companyView/epic/updateCompanyQboRealmIdEpic.d.ts +8 -0
- package/lib/view/companyView/epic/updateCompanyQboRealmIdEpic.js +66 -0
- package/lib/view/companyView/selector/companyManagementViewSelector.js +8 -0
- package/lib/view/companyView/types/cockpitTypes.d.ts +2 -2
- package/lib/view/companyView/types/cockpitTypes.js +2 -0
- package/lib/view/companyView/types/companyManagementViewState.d.ts +2 -0
- package/lib/view/companyView/types/companyManagementViewState.js +8 -0
- package/lib/view/companyView/types/companyPassport/companyPassportViewState.d.ts +3 -0
- package/lib/view/companyView/types/companyPassport/companyPassportViewState.js +9 -0
- package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
- package/lib/view/dashboard/dashboardSelector.d.ts +2 -3
- package/lib/view/dashboard/dashboardSelector.js +13 -9
- package/lib/view/expenseAutomationView/epics/accountRecon/reparseStatementEpic.d.ts +1 -1
- package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +1 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationEpic.js +2 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/fetchTransactionCategorizationViewEpic.js +4 -2
- package/lib/view/expenseAutomationView/epics/transactionCategorization/markTransactionAsNotMiscategorizedEpic.js +1 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/saveTransactionCategorizationEpic.js +1 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/triggerReviewTabRefetchEpic.js +1 -1
- package/lib/view/expenseAutomationView/helpers/mapStatementUpdateLocalDataToRequestBody.js +1 -3
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
- package/lib/view/expenseAutomationView/reducers/reconciliationViewReducer.js +30 -2
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +2 -3
- package/lib/view/expenseAutomationView/selectors/reconciliationViewSelector.js +3 -2
- package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +3 -17
- package/lib/view/expenseAutomationView/types/fluxAnalysisViewState.d.ts +1 -1
- package/lib/view/fileView/fileUploadHelpers.js +1 -2
- package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
- package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
- package/lib/view/invoicing/auditView/auditViewEpics.d.ts +7 -0
- package/lib/view/invoicing/auditView/auditViewEpics.js +58 -0
- package/lib/view/invoicing/auditView/auditViewPayload.d.ts +86 -0
- package/lib/view/invoicing/auditView/auditViewPayload.js +67 -0
- package/lib/view/invoicing/auditView/auditViewReducer.d.ts +22 -0
- package/lib/view/invoicing/auditView/auditViewReducer.js +60 -0
- package/lib/view/invoicing/auditView/auditViewSelector.d.ts +16 -0
- package/lib/view/invoicing/auditView/auditViewSelector.js +21 -0
- package/lib/view/invoicing/auditView/auditViewState.d.ts +17 -0
- package/lib/view/invoicing/auditView/auditViewState.js +2 -0
- package/lib/view/invoicing/catalogAction/catalogActionEpic.d.ts +10 -0
- package/lib/view/invoicing/catalogAction/catalogActionEpic.js +61 -0
- package/lib/view/invoicing/catalogAction/catalogActionPayload.d.ts +5 -0
- package/lib/view/invoicing/catalogAction/catalogActionPayload.js +2 -0
- package/lib/view/invoicing/catalogAction/catalogActionReducer.d.ts +27 -0
- package/lib/view/invoicing/catalogAction/catalogActionReducer.js +59 -0
- package/lib/view/invoicing/catalogAction/catalogActionSelector.d.ts +3 -0
- package/lib/view/invoicing/catalogAction/catalogActionSelector.js +9 -0
- package/lib/view/invoicing/catalogAction/catalogActionState.d.ts +5 -0
- package/lib/view/invoicing/catalogAction/catalogActionState.js +2 -0
- package/lib/view/invoicing/couponView/couponViewEpics.d.ts +15 -0
- package/lib/view/invoicing/couponView/couponViewEpics.js +82 -0
- package/lib/view/invoicing/couponView/couponViewPayload.d.ts +5 -0
- package/lib/view/invoicing/couponView/couponViewPayload.js +2 -0
- package/lib/view/invoicing/couponView/couponViewReducer.d.ts +35 -0
- package/lib/view/invoicing/couponView/couponViewReducer.js +119 -0
- package/lib/view/invoicing/couponView/couponViewSelector.d.ts +31 -0
- package/lib/view/invoicing/couponView/couponViewSelector.js +56 -0
- package/lib/view/invoicing/couponView/couponViewState.d.ts +41 -0
- package/lib/view/invoicing/couponView/couponViewState.js +44 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteEpic.d.ts +9 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteEpic.js +47 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteFormConfig.d.ts +2 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteFormConfig.js +15 -0
- package/lib/view/invoicing/createCreditNote/createCreditNotePayload.d.ts +4 -0
- package/lib/view/invoicing/createCreditNote/createCreditNotePayload.js +31 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteReducer.d.ts +11 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteReducer.js +46 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteSelector.d.ts +13 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteSelector.js +25 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteState.d.ts +18 -0
- package/lib/view/invoicing/createCreditNote/createCreditNoteState.js +2 -0
- package/lib/view/invoicing/createInvoice/createInvoiceEpic.d.ts +11 -0
- package/lib/view/invoicing/createInvoice/createInvoiceEpic.js +54 -0
- package/lib/view/invoicing/createInvoice/createInvoiceFormConfig.d.ts +13 -0
- package/lib/view/invoicing/createInvoice/createInvoiceFormConfig.js +70 -0
- package/lib/view/invoicing/createInvoice/createInvoicePayload.d.ts +24 -0
- package/lib/view/invoicing/createInvoice/createInvoicePayload.js +2 -0
- package/lib/view/invoicing/createInvoice/createInvoiceReducer.d.ts +14 -0
- package/lib/view/invoicing/createInvoice/createInvoiceReducer.js +59 -0
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.d.ts +39 -0
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.js +61 -0
- package/lib/view/invoicing/createInvoice/createInvoiceState.d.ts +35 -0
- package/lib/view/invoicing/createInvoice/createInvoiceState.js +2 -0
- package/lib/view/invoicing/createInvoice/epics/fetchCreateInvoiceFormPageEpic.d.ts +15 -0
- package/lib/view/invoicing/createInvoice/epics/fetchCreateInvoiceFormPageEpic.js +54 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.d.ts +11 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +70 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.d.ts +18 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodPayload.js +2 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.d.ts +25 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +91 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.d.ts +11 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +19 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.d.ts +24 -0
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodState.js +2 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionEpic.d.ts +7 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionEpic.js +39 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionPayload.d.ts +3 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionPayload.js +2 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionReducer.d.ts +13 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionReducer.js +72 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionSelector.d.ts +4 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionSelector.js +9 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionState.d.ts +5 -0
- package/lib/view/invoicing/dataImportAction/dataImportActionState.js +2 -0
- package/lib/view/invoicing/dataImportView/dataImportViewEpics.d.ts +10 -0
- package/lib/view/invoicing/dataImportView/dataImportViewEpics.js +81 -0
- package/lib/view/invoicing/dataImportView/dataImportViewPayload.d.ts +84 -0
- package/lib/view/invoicing/dataImportView/dataImportViewPayload.js +2 -0
- package/lib/view/invoicing/dataImportView/dataImportViewReducer.d.ts +15 -0
- package/lib/view/invoicing/dataImportView/dataImportViewReducer.js +117 -0
- package/lib/view/invoicing/dataImportView/dataImportViewSelector.d.ts +21 -0
- package/lib/view/invoicing/dataImportView/dataImportViewSelector.js +23 -0
- package/lib/view/invoicing/dataImportView/dataImportViewState.d.ts +20 -0
- package/lib/view/invoicing/dataImportView/dataImportViewState.js +2 -0
- package/lib/view/invoicing/discountAction/discountActionEpic.d.ts +9 -0
- package/lib/view/invoicing/discountAction/discountActionEpic.js +56 -0
- package/lib/view/invoicing/discountAction/discountActionPayload.d.ts +3 -0
- package/lib/view/invoicing/discountAction/discountActionPayload.js +2 -0
- package/lib/view/invoicing/discountAction/discountActionReducer.d.ts +16 -0
- package/lib/view/invoicing/discountAction/discountActionReducer.js +40 -0
- package/lib/view/invoicing/discountAction/discountActionSelector.d.ts +3 -0
- package/lib/view/invoicing/discountAction/discountActionSelector.js +9 -0
- package/lib/view/invoicing/discountAction/discountActionState.d.ts +5 -0
- package/lib/view/invoicing/discountAction/discountActionState.js +2 -0
- package/lib/view/invoicing/dunningAction/dunningActionEpic.d.ts +9 -0
- package/lib/view/invoicing/dunningAction/dunningActionEpic.js +57 -0
- package/lib/view/invoicing/dunningAction/dunningActionPayload.d.ts +3 -0
- package/lib/view/invoicing/dunningAction/dunningActionPayload.js +2 -0
- package/lib/view/invoicing/dunningAction/dunningActionReducer.d.ts +20 -0
- package/lib/view/invoicing/dunningAction/dunningActionReducer.js +40 -0
- package/lib/view/invoicing/dunningAction/dunningActionRequestPayload.d.ts +24 -0
- package/lib/view/invoicing/dunningAction/dunningActionRequestPayload.js +3 -0
- package/lib/view/invoicing/dunningAction/dunningActionSelector.d.ts +3 -0
- package/lib/view/invoicing/dunningAction/dunningActionSelector.js +9 -0
- package/lib/view/invoicing/dunningAction/dunningActionState.d.ts +5 -0
- package/lib/view/invoicing/dunningAction/dunningActionState.js +2 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/catalogDetailEditPayload.d.ts +54 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/catalogDetailEditPayload.js +181 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.d.ts +9 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewPayload.js +134 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.d.ts +40 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewReducer.js +88 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.d.ts +46 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewSelector.js +77 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.d.ts +63 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/editInvoicingCatalogItemDetailViewState.js +2 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormConfig.d.ts +24 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogItemFormConfig.js +160 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogSubFamilyEpics.d.ts +9 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/invoicingCatalogSubFamilyEpics.js +44 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.d.ts +11 -0
- package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +112 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.d.ts +10 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewPayload.js +62 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.d.ts +27 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewReducer.js +69 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.d.ts +32 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewSelector.js +48 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.d.ts +36 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/editInvoicingCouponDetailViewState.js +47 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.d.ts +10 -0
- package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +74 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.d.ts +12 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewPayload.js +36 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.d.ts +22 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewReducer.js +66 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.d.ts +22 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +46 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.d.ts +28 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewState.js +2 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.d.ts +16 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/initializeInvoicingCustomerAddressEpic.js +39 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.d.ts +15 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/invoicingCustomerFormConfig.js +59 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.d.ts +12 -0
- package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +77 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.d.ts +11 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewPayload.js +49 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.d.ts +32 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewReducer.js +84 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.d.ts +40 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewSelector.js +61 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.d.ts +29 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/editInvoicingSubscriptionDetailViewState.js +2 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.d.ts +20 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/fetchInvoicingSubscriptionFormPageEpic.js +33 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/initializeInvoicingSubscriptionAddressEpic.d.ts +17 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/initializeInvoicingSubscriptionAddressEpic.js +40 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionFormConfig.d.ts +20 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/invoicingSubscriptionFormConfig.js +79 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.d.ts +12 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +108 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/syncInvoicingSubscriptionCouponsEpic.d.ts +18 -0
- package/lib/view/invoicing/editInvoicingSubscriptionDetailView/syncInvoicingSubscriptionCouponsEpic.js +86 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionEpic.d.ts +11 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionEpic.js +102 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionPayload.d.ts +3 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionPayload.js +2 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionReducer.d.ts +24 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionReducer.js +46 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionRequestPayload.d.ts +52 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionRequestPayload.js +3 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionSelector.d.ts +3 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionSelector.js +9 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionState.d.ts +5 -0
- package/lib/view/invoicing/invoiceAction/invoiceActionState.js +2 -0
- package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.d.ts +9 -0
- package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +29 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailPayload.d.ts +3 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailPayload.js +2 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.d.ts +16 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.js +43 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.d.ts +18 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.js +28 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailState.d.ts +7 -0
- package/lib/view/invoicing/invoiceDetail/invoiceDetailState.js +2 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.d.ts +7 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +36 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.d.ts +7 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +19 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.d.ts +9 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.js +62 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceListPageEpic.d.ts +11 -0
- package/lib/view/invoicing/invoiceList/fetchInvoiceListPageEpic.js +35 -0
- package/lib/view/invoicing/invoiceList/invoiceListPayload.d.ts +6 -0
- package/lib/view/invoicing/invoiceList/invoiceListPayload.js +2 -0
- package/lib/view/invoicing/invoiceList/invoiceListReducer.d.ts +49 -0
- package/lib/view/invoicing/invoiceList/invoiceListReducer.js +171 -0
- package/lib/view/invoicing/invoiceList/invoiceListSelector.d.ts +24 -0
- package/lib/view/invoicing/invoiceList/invoiceListSelector.js +30 -0
- package/lib/view/invoicing/invoiceList/invoiceListState.d.ts +49 -0
- package/lib/view/invoicing/invoiceList/invoiceListState.js +35 -0
- package/lib/view/invoicing/invoicingApiHelper.d.ts +15 -0
- package/lib/view/invoicing/invoicingApiHelper.js +19 -0
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewEpics.d.ts +8 -0
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewEpics.js +23 -0
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewPayload.d.ts +3 -0
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.d.ts +13 -0
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewReducer.js +38 -0
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewSelector.d.ts +14 -0
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewSelector.js +14 -0
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState.d.ts +6 -0
- package/lib/view/invoicing/invoicingCatalogItemDetailView/invoicingCatalogItemDetailViewState.js +2 -0
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogCountsEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogCountsEpic.js +24 -0
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogListPageEpic.d.ts +16 -0
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogListPageEpic.js +39 -0
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogPlanListEpic.d.ts +8 -0
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogPlanListEpic.js +47 -0
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogProductListEpic.d.ts +8 -0
- package/lib/view/invoicing/invoicingCatalogListView/epics/fetchInvoicingCatalogProductListEpic.js +47 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.d.ts +6 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.d.ts +52 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewReducer.js +156 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.d.ts +29 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewSelector.js +37 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.d.ts +48 -0
- package/lib/view/invoicing/invoicingCatalogListView/invoicingCatalogListViewState.js +24 -0
- package/lib/view/invoicing/invoicingConfigView/epics/acceptInvoicingTermsEpic.d.ts +8 -0
- package/lib/view/invoicing/invoicingConfigView/epics/acceptInvoicingTermsEpic.js +25 -0
- package/lib/view/invoicing/invoicingConfigView/epics/enableInvoicingEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingConfigView/epics/enableInvoicingEpic.js +22 -0
- package/lib/view/invoicing/invoicingConfigView/epics/fetchInvoicingConfigEpic.d.ts +12 -0
- package/lib/view/invoicing/invoicingConfigView/epics/fetchInvoicingConfigEpic.js +25 -0
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewPayload.d.ts +56 -0
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewPayload.js +21 -0
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.d.ts +12 -0
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +175 -0
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.d.ts +18 -0
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.js +14 -0
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewState.d.ts +46 -0
- package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewState.js +2 -0
- package/lib/view/invoicing/invoicingCouponDetailView/fetchInvoicingCouponDetailEpic.d.ts +8 -0
- package/lib/view/invoicing/invoicingCouponDetailView/fetchInvoicingCouponDetailEpic.js +26 -0
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewPayload.d.ts +3 -0
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.d.ts +16 -0
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewReducer.js +43 -0
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewSelector.d.ts +12 -0
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewSelector.js +18 -0
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewState.d.ts +7 -0
- package/lib/view/invoicing/invoicingCouponDetailView/invoicingCouponDetailViewState.js +2 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewEpics.d.ts +8 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewEpics.js +23 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewPayload.d.ts +3 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.d.ts +11 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewReducer.js +35 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewSelector.d.ts +14 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewSelector.js +16 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState.d.ts +4 -0
- package/lib/view/invoicing/invoicingCreditNoteDetailView/invoicingCreditNoteDetailViewState.js +2 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteCountsEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteCountsEpic.js +27 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListEpic.d.ts +8 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListEpic.js +44 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListPageEpic.d.ts +16 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/epics/fetchInvoicingCreditNoteListPageEpic.js +31 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewPayload.d.ts +5 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.d.ts +31 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewReducer.js +99 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.d.ts +23 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewSelector.js +34 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.d.ts +43 -0
- package/lib/view/invoicing/invoicingCreditNoteListView/invoicingCreditNoteListViewState.js +44 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.d.ts +9 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailEpic.js +29 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.d.ts +18 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/fetchInvoicingCustomerDetailPageEpic.js +50 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.d.ts +3 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.d.ts +22 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewReducer.js +56 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.d.ts +31 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewSelector.js +37 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.d.ts +7 -0
- package/lib/view/invoicing/invoicingCustomerDetailView/invoicingCustomerDetailViewState.js +2 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerCountsEpic.js +24 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.d.ts +9 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListEpic.js +44 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.d.ts +16 -0
- package/lib/view/invoicing/invoicingCustomerListView/epics/fetchInvoicingCustomerListPageEpic.js +31 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.d.ts +5 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.d.ts +34 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewReducer.js +115 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.d.ts +25 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewSelector.js +37 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.d.ts +42 -0
- package/lib/view/invoicing/invoicingCustomerListView/invoicingCustomerListViewState.js +39 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewEpics.d.ts +8 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewEpics.js +23 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewPayload.d.ts +3 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.d.ts +11 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewReducer.js +35 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewSelector.d.ts +15 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewSelector.js +18 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewState.d.ts +4 -0
- package/lib/view/invoicing/invoicingDunningCaseDetailView/invoicingDunningCaseDetailViewState.js +2 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseCountsEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseCountsEpic.js +24 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListEpic.d.ts +8 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListEpic.js +41 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListPageEpic.d.ts +16 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/epics/fetchInvoicingDunningCaseListPageEpic.js +31 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewPayload.d.ts +5 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.d.ts +31 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewReducer.js +99 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.d.ts +23 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewSelector.js +34 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.d.ts +42 -0
- package/lib/view/invoicing/invoicingDunningCaseListView/invoicingDunningCaseListViewState.js +45 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewChurnEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewDashboardSummaryEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.d.ts +14 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewEpic.js +59 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewKPIsEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewMRREpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewPlanRevenueEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingOverview/epics/fetchInvoicingOverviewRevenueEpic.js +21 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.d.ts +99 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewPayload.js +97 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.d.ts +10 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewReducer.js +119 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewSelector.d.ts +32 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewSelector.js +70 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.d.ts +111 -0
- package/lib/view/invoicing/invoicingOverview/invoicingOverviewState.js +2 -0
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboAccountsEpic.d.ts +6 -0
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboAccountsEpic.js +29 -0
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboClassesEpic.d.ts +6 -0
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboClassesEpic.js +19 -0
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboConnectionEpic.d.ts +6 -0
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboConnectionEpic.js +19 -0
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboSyncHealthEpic.d.ts +6 -0
- package/lib/view/invoicing/invoicingQboView/epics/fetchInvoicingQboSyncHealthEpic.js +19 -0
- package/lib/view/invoicing/invoicingQboView/epics/invoicingQboViewActionType.d.ts +3 -0
- package/lib/view/invoicing/invoicingQboView/epics/invoicingQboViewActionType.js +2 -0
- package/lib/view/invoicing/invoicingQboView/epics/retryInvoicingQboSyncTaskEpic.d.ts +6 -0
- package/lib/view/invoicing/invoicingQboView/epics/retryInvoicingQboSyncTaskEpic.js +49 -0
- package/lib/view/invoicing/invoicingQboView/epics/startInvoicingQboBackfillEpic.d.ts +6 -0
- package/lib/view/invoicing/invoicingQboView/epics/startInvoicingQboBackfillEpic.js +45 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewPayload.d.ts +79 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewPayload.js +52 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewReducer.d.ts +25 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewReducer.js +132 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewSelector.d.ts +21 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewSelector.js +24 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewState.d.ts +14 -0
- package/lib/view/invoicing/invoicingQboView/invoicingQboViewState.js +2 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.d.ts +9 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewEpics.js +26 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.d.ts +3 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.d.ts +11 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewReducer.js +35 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.d.ts +15 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewSelector.js +18 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.d.ts +4 -0
- package/lib/view/invoicing/invoicingSubscriptionDetailView/invoicingSubscriptionDetailViewState.js +2 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.d.ts +7 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionCountsEpic.js +27 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.d.ts +9 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListEpic.js +53 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.d.ts +16 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/epics/fetchInvoicingSubscriptionListPageEpic.js +31 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.d.ts +5 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.d.ts +35 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewReducer.js +113 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.d.ts +26 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewSelector.js +35 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.d.ts +46 -0
- package/lib/view/invoicing/invoicingSubscriptionListView/invoicingSubscriptionListViewState.js +48 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewEpics.d.ts +8 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewEpics.js +23 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewPayload.d.ts +3 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.d.ts +11 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewReducer.js +35 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewSelector.d.ts +16 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewSelector.js +18 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState.d.ts +4 -0
- package/lib/view/invoicing/invoicingTransactionDetailView/invoicingTransactionDetailViewState.js +2 -0
- package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListEpic.d.ts +8 -0
- package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListEpic.js +52 -0
- package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.d.ts +16 -0
- package/lib/view/invoicing/invoicingTransactionListView/epics/fetchInvoicingTransactionListPageEpic.js +29 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewPayload.d.ts +4 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewPayload.js +2 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.d.ts +30 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewReducer.js +119 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.d.ts +20 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewSelector.js +26 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.d.ts +54 -0
- package/lib/view/invoicing/invoicingTransactionListView/invoicingTransactionListViewState.js +56 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteEpic.d.ts +10 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteEpic.js +50 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteFormConfig.d.ts +4 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteFormConfig.js +17 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNotePayload.d.ts +30 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNotePayload.js +50 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteReducer.d.ts +13 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteReducer.js +52 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteSelector.d.ts +30 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteSelector.js +32 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteState.d.ts +20 -0
- package/lib/view/invoicing/issueCreditNote/issueCreditNoteState.js +2 -0
- package/lib/view/invoicing/paymentAction/paymentActionEpic.d.ts +8 -0
- package/lib/view/invoicing/paymentAction/paymentActionEpic.js +31 -0
- package/lib/view/invoicing/paymentAction/paymentActionPayload.d.ts +3 -0
- package/lib/view/invoicing/paymentAction/paymentActionPayload.js +2 -0
- package/lib/view/invoicing/paymentAction/paymentActionReducer.d.ts +19 -0
- package/lib/view/invoicing/paymentAction/paymentActionReducer.js +40 -0
- package/lib/view/invoicing/paymentAction/paymentActionRequestPayload.d.ts +7 -0
- package/lib/view/invoicing/paymentAction/paymentActionRequestPayload.js +3 -0
- package/lib/view/invoicing/paymentAction/paymentActionSelector.d.ts +3 -0
- package/lib/view/invoicing/paymentAction/paymentActionSelector.js +9 -0
- package/lib/view/invoicing/paymentAction/paymentActionState.d.ts +5 -0
- package/lib/view/invoicing/paymentAction/paymentActionState.js +2 -0
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionEpic.d.ts +8 -0
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionEpic.js +29 -0
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionPayload.d.ts +3 -0
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionPayload.js +2 -0
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionReducer.d.ts +13 -0
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionReducer.js +35 -0
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionState.d.ts +5 -0
- package/lib/view/invoicing/promotionalCreditAction/promotionalCreditActionState.js +2 -0
- package/lib/view/invoicing/recordPayment/recordPaymentEpic.d.ts +12 -0
- package/lib/view/invoicing/recordPayment/recordPaymentEpic.js +100 -0
- package/lib/view/invoicing/recordPayment/recordPaymentFormConfig.d.ts +8 -0
- package/lib/view/invoicing/recordPayment/recordPaymentFormConfig.js +39 -0
- package/lib/view/invoicing/recordPayment/recordPaymentPayload.d.ts +47 -0
- package/lib/view/invoicing/recordPayment/recordPaymentPayload.js +64 -0
- package/lib/view/invoicing/recordPayment/recordPaymentReducer.d.ts +17 -0
- package/lib/view/invoicing/recordPayment/recordPaymentReducer.js +65 -0
- package/lib/view/invoicing/recordPayment/recordPaymentSelector.d.ts +30 -0
- package/lib/view/invoicing/recordPayment/recordPaymentSelector.js +56 -0
- package/lib/view/invoicing/recordPayment/recordPaymentState.d.ts +27 -0
- package/lib/view/invoicing/recordPayment/recordPaymentState.js +2 -0
- package/lib/view/invoicing/settingsView/invoicingBrandingFormConfig.d.ts +32 -0
- package/lib/view/invoicing/settingsView/invoicingBrandingFormConfig.js +52 -0
- package/lib/view/invoicing/settingsView/invoicingBrandingFormEpics.d.ts +22 -0
- package/lib/view/invoicing/settingsView/invoicingBrandingFormEpics.js +63 -0
- package/lib/view/invoicing/settingsView/invoicingSettingsHelpers.d.ts +2 -0
- package/lib/view/invoicing/settingsView/invoicingSettingsHelpers.js +11 -0
- package/lib/view/invoicing/settingsView/settingsViewEpics.d.ts +12 -0
- package/lib/view/invoicing/settingsView/settingsViewEpics.js +96 -0
- package/lib/view/invoicing/settingsView/settingsViewPayload.d.ts +18 -0
- package/lib/view/invoicing/settingsView/settingsViewPayload.js +2 -0
- package/lib/view/invoicing/settingsView/settingsViewReducer.d.ts +24 -0
- package/lib/view/invoicing/settingsView/settingsViewReducer.js +90 -0
- package/lib/view/invoicing/settingsView/settingsViewSelector.d.ts +44 -0
- package/lib/view/invoicing/settingsView/settingsViewSelector.js +60 -0
- package/lib/view/invoicing/settingsView/settingsViewState.d.ts +9 -0
- package/lib/view/invoicing/settingsView/settingsViewState.js +2 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.d.ts +10 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.js +67 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionPayload.d.ts +3 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionPayload.js +2 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.d.ts +19 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.js +40 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionRequestPayload.d.ts +45 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionRequestPayload.js +3 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionSelector.d.ts +3 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionSelector.js +9 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionState.d.ts +5 -0
- package/lib/view/invoicing/subscriptionAction/subscriptionActionState.js +2 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeForTimeframeProjectViewEpic.d.ts +9 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeForTimeframeProjectViewEpic.js +49 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewEpic.d.ts +6 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewEpic.js +34 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewPayload.d.ts +11 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewPayload.js +2 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.d.ts +33 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewReducer.js +115 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelector.d.ts +13 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelector.js +69 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelectorTypes.d.ts +21 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewSelectorTypes.js +2 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewState.d.ts +20 -0
- package/lib/view/netBurnOrIncomeProjectView/netBurnOrIncomeProjectViewState.js +2 -0
- package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.d.ts +34 -0
- package/lib/view/notificationPreferencesView/epics/saveNotificationPreferencesEpic.js +117 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesEndpoint.d.ts +2 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesEndpoint.js +9 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewPayload.d.ts +8 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewPayload.js +46 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.d.ts +35 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewReducer.js +271 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewSelector.d.ts +7 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewSelector.js +40 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewState.d.ts +15 -0
- package/lib/view/notificationPreferencesView/notificationPreferencesViewState.js +9 -0
- package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +1 -5
- package/lib/view/onboardingView/customerView/epic/customerDetails/updateOnboardingCustomerViewLocalStoreDataEpic.js +5 -4
- package/lib/view/opExProjectView/opExForTimeframeProjectViewEpic.d.ts +9 -0
- package/lib/view/opExProjectView/opExForTimeframeProjectViewEpic.js +47 -0
- package/lib/view/opExProjectView/opExProjectViewEpic.d.ts +6 -0
- package/lib/view/opExProjectView/opExProjectViewEpic.js +34 -0
- package/lib/view/opExProjectView/opExProjectViewPayload.d.ts +6 -0
- package/lib/view/opExProjectView/opExProjectViewPayload.js +2 -0
- package/lib/view/opExProjectView/opExProjectViewReducer.d.ts +33 -0
- package/lib/view/opExProjectView/opExProjectViewReducer.js +115 -0
- package/lib/view/opExProjectView/opExProjectViewSelector.d.ts +12 -0
- package/lib/view/opExProjectView/opExProjectViewSelector.js +56 -0
- package/lib/view/opExProjectView/opExProjectViewSelectorTypes.d.ts +19 -0
- package/lib/view/opExProjectView/opExProjectViewSelectorTypes.js +2 -0
- package/lib/view/opExProjectView/opExProjectViewState.d.ts +20 -0
- package/lib/view/opExProjectView/opExProjectViewState.js +2 -0
- package/lib/view/recommendation/fetchEntityRecommendationsForLineUpdateEpic.js +1 -1
- package/lib/view/recommendation/recommendationPayload.d.ts +0 -34
- package/lib/view/recommendation/recommendationReducer.d.ts +1 -2
- package/lib/view/recommendation/recommendationReducer.js +2 -18
- package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
- package/lib/view/reportsResync/reportsClassViewRefetchingEpic.d.ts +1 -2
- package/lib/view/reportsResync/reportsClassViewRefetchingEpic.js +0 -4
- package/lib/view/reportsResync/reportsProjectViewRefetchingEpic.d.ts +10 -0
- package/lib/view/reportsResync/reportsProjectViewRefetchingEpic.js +34 -0
- package/lib/view/reportsResync/reportsResyncEpic.d.ts +2 -2
- package/lib/view/reportsResync/reportsResyncEpic.js +10 -2
- package/lib/view/reportsResync/reportsResyncReducer.d.ts +5 -3
- package/lib/view/reportsResync/reportsResyncReducer.js +10 -2
- package/lib/view/revenueProjectView/revenueForTimeframeProjectViewEpic.d.ts +9 -0
- package/lib/view/revenueProjectView/revenueForTimeframeProjectViewEpic.js +39 -0
- package/lib/view/revenueProjectView/revenueProjectViewEpic.d.ts +6 -0
- package/lib/view/revenueProjectView/revenueProjectViewEpic.js +34 -0
- package/lib/view/revenueProjectView/revenueProjectViewPayload.d.ts +9 -0
- package/lib/view/revenueProjectView/revenueProjectViewPayload.js +2 -0
- package/lib/view/revenueProjectView/revenueProjectViewReducer.d.ts +33 -0
- package/lib/view/revenueProjectView/revenueProjectViewReducer.js +115 -0
- package/lib/view/revenueProjectView/revenueProjectViewSelector.d.ts +12 -0
- package/lib/view/revenueProjectView/revenueProjectViewSelector.js +62 -0
- package/lib/view/revenueProjectView/revenueProjectViewSelectorTypes.d.ts +19 -0
- package/lib/view/revenueProjectView/revenueProjectViewSelectorTypes.js +2 -0
- package/lib/view/revenueProjectView/revenueProjectViewState.d.ts +20 -0
- package/lib/view/revenueProjectView/revenueProjectViewState.js +2 -0
- package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.d.ts +9 -1
- package/lib/view/settingsView/epic/fetchNotificationSettingsEpic.js +34 -2
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.js +2 -1
- package/lib/view/settingsView/settingsViewHelpers.d.ts +1 -1
- package/lib/view/settingsView/settingsViewHelpers.js +3 -2
- package/lib/view/settingsView/settingsViewPayload.d.ts +4 -0
- package/lib/view/settingsView/settingsViewState.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.d.ts +4 -0
- package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +82 -37
- package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billList/billListSelector.js +13 -16
- package/lib/view/spendManagement/billPay/billList/billListState.d.ts +1 -1
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +1 -3
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.d.ts +1 -2
- package/lib/view/spendManagement/billPay/editBillView/epics/fetchEditBillDetailPageEpic.js +0 -14
- package/lib/view/spendManagement/commonSetup/setupViewReducer.js +2 -1
- package/lib/view/spendManagement/helpers.d.ts +6 -1
- package/lib/view/spendManagement/helpers.js +31 -1
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.d.ts +1 -2
- package/lib/view/spendManagement/reimbursement/editRemiView/epics/fetchEditRemiDetailPageEpic.js +0 -12
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.d.ts +3 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewSelector.js +44 -17
- package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +1 -1
- package/lib/view/spendManagement/reimbursement/remiListView/remiListSelector.js +13 -16
- package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +3 -3
- package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
- package/lib/view/topEx/topExSelector.d.ts +1 -1
- package/lib/view/transactionDetail/epics/saveTransactionDetailEpic.js +1 -1
- package/lib/view/transactionDetail/epics/updateTransactionDetailEpic.js +1 -1
- package/lib/view/transactionDetail/transactionDetailState.d.ts +1 -1
- package/lib/zeniAPI.d.ts +1 -0
- package/package.json +1 -1
- package/lib/esm/view/recommendation/submitRecommendationFeedbackEpic.js +0 -52
- package/lib/view/recommendation/submitRecommendationFeedbackEpic.d.ts +0 -7
- package/lib/view/recommendation/submitRecommendationFeedbackEpic.js +0 -56
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateCompanyProductServicesEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const companyReducer_1 = require("../../../../entity/company/companyReducer");
|
|
7
|
+
const snackbarReducer_1 = require("../../../../entity/snackbar/snackbarReducer");
|
|
8
|
+
const tenantReducer_1 = require("../../../../entity/tenant/tenantReducer");
|
|
9
|
+
const responsePayload_1 = require("../../../../responsePayload");
|
|
10
|
+
const companyViewReducer_1 = require("../../companyViewReducer");
|
|
11
|
+
const updateCompanyProductServicesEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(companyViewReducer_1.updateCompanyProductServices.match), (0, operators_1.switchMap)((action) => {
|
|
12
|
+
const { companyId, services } = action.payload;
|
|
13
|
+
const { isBookkeepingEnabled, isBillPayEnabled, isReimbursementEnabled } = services;
|
|
14
|
+
const tenantId = Object.values(state$.value.tenantState.tenantsById).find((tenant) => tenant?.companyId === companyId)?.tenantId;
|
|
15
|
+
// Send only the service-enable fields so the backend routes this through
|
|
16
|
+
// its isolated "enable services" path. Bookkeeping is a Tenant product
|
|
17
|
+
// flag and implies spend management; bill pay / reimbursement are Company
|
|
18
|
+
// feature flags.
|
|
19
|
+
const requestBody = {};
|
|
20
|
+
if (isBookkeepingEnabled != null) {
|
|
21
|
+
requestBody.is_book_keeping_enabled = isBookkeepingEnabled;
|
|
22
|
+
requestBody.is_spend_management_enabled = isBookkeepingEnabled;
|
|
23
|
+
}
|
|
24
|
+
if (isBillPayEnabled != null) {
|
|
25
|
+
requestBody.is_bill_pay_feature_enabled = isBillPayEnabled;
|
|
26
|
+
}
|
|
27
|
+
if (isReimbursementEnabled != null) {
|
|
28
|
+
requestBody.is_reimbursement_feature_enabled = isReimbursementEnabled;
|
|
29
|
+
}
|
|
30
|
+
return zeniAPI
|
|
31
|
+
.putAndGetJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/companies/${companyId}`, requestBody)
|
|
32
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
33
|
+
if ((0, responsePayload_1.isSuccessResponse)(response)) {
|
|
34
|
+
const companies = response.data?.companies ?? [];
|
|
35
|
+
if (companies.length > 0) {
|
|
36
|
+
const actions = [
|
|
37
|
+
(0, companyReducer_1.updateCompanies)({
|
|
38
|
+
payload: companies,
|
|
39
|
+
schema: {},
|
|
40
|
+
}),
|
|
41
|
+
];
|
|
42
|
+
// The company response carries the company feature flags; the
|
|
43
|
+
// tenant product flags are not part of it, so merge them from
|
|
44
|
+
// the (now-succeeded) request values.
|
|
45
|
+
if (isBookkeepingEnabled != null && tenantId != null) {
|
|
46
|
+
actions.push((0, tenantReducer_1.updateTenantProductSettings)({
|
|
47
|
+
tenantId,
|
|
48
|
+
isBookkeepingEnabled,
|
|
49
|
+
isSpendManagementEnabled: isBookkeepingEnabled,
|
|
50
|
+
}));
|
|
51
|
+
}
|
|
52
|
+
actions.push((0, companyViewReducer_1.updateCompanyProductServicesSuccess)());
|
|
53
|
+
actions.push((0, snackbarReducer_1.openSnackbar)({
|
|
54
|
+
messageSection: 'product_services_update',
|
|
55
|
+
messageText: 'success',
|
|
56
|
+
type: 'success',
|
|
57
|
+
}));
|
|
58
|
+
return (0, rxjs_1.from)(actions);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return (0, rxjs_1.from)([
|
|
62
|
+
(0, companyViewReducer_1.updateCompanyProductServicesFailure)({
|
|
63
|
+
status: response.status,
|
|
64
|
+
}),
|
|
65
|
+
(0, snackbarReducer_1.openSnackbar)({
|
|
66
|
+
messageSection: 'product_services_update',
|
|
67
|
+
messageText: 'failed',
|
|
68
|
+
type: 'error',
|
|
69
|
+
}),
|
|
70
|
+
]);
|
|
71
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.from)([
|
|
72
|
+
(0, companyViewReducer_1.updateCompanyProductServicesFailure)({
|
|
73
|
+
status: (0, responsePayload_1.createZeniAPIStatus)('Unexpected error', 'Update Company Product Services errored out' +
|
|
74
|
+
(error instanceof Error
|
|
75
|
+
? error.message
|
|
76
|
+
: JSON.stringify(error))),
|
|
77
|
+
}),
|
|
78
|
+
(0, snackbarReducer_1.openSnackbar)({
|
|
79
|
+
messageSection: 'product_services_update',
|
|
80
|
+
messageText: 'failed',
|
|
81
|
+
type: 'error',
|
|
82
|
+
}),
|
|
83
|
+
])));
|
|
84
|
+
}));
|
|
85
|
+
exports.updateCompanyProductServicesEpic = updateCompanyProductServicesEpic;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { openSnackbar } from '../../../entity/snackbar/snackbarReducer';
|
|
4
|
+
import { RootState } from '../../../reducer';
|
|
5
|
+
import { ZeniAPI } from '../../../zeniAPI';
|
|
6
|
+
import { updateCompanyQboRealmId, updateCompanyQboRealmIdFailure, updateCompanyQboRealmIdSuccess } from '../companyViewReducer';
|
|
7
|
+
export type ActionType = ReturnType<typeof openSnackbar> | ReturnType<typeof updateCompanyQboRealmId> | ReturnType<typeof updateCompanyQboRealmIdSuccess> | ReturnType<typeof updateCompanyQboRealmIdFailure>;
|
|
8
|
+
export declare const updateCompanyQboRealmIdEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => Observable<ActionType>;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateCompanyQboRealmIdEpic = void 0;
|
|
4
|
+
const rxjs_1 = require("rxjs");
|
|
5
|
+
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const companySelector_1 = require("../../../entity/company/companySelector");
|
|
7
|
+
const snackbarReducer_1 = require("../../../entity/snackbar/snackbarReducer");
|
|
8
|
+
const responsePayload_1 = require("../../../responsePayload");
|
|
9
|
+
const companyViewReducer_1 = require("../companyViewReducer");
|
|
10
|
+
const updateCompanyQboRealmIdEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(companyViewReducer_1.updateCompanyQboRealmId.match),
|
|
11
|
+
// Per-row admin action: several rows can be in flight at once, so each
|
|
12
|
+
// trigger keeps its own request instead of cancelling the previous one.
|
|
13
|
+
(0, operators_1.mergeMap)((action) => {
|
|
14
|
+
const { companyId, qboRealmId } = action.payload;
|
|
15
|
+
// Cockpit populates companyState (with a companyId->tenantId mapping) but
|
|
16
|
+
// not tenantState, so resolve from company first and fall back to tenant.
|
|
17
|
+
const tenantId = (0, companySelector_1.getCompanyByCompanyId)(state$.value.companyState, companyId)?.company
|
|
18
|
+
.companyInfo.tenantId ??
|
|
19
|
+
Object.values(state$.value.tenantState.tenantsById).find((tenant) => tenant?.companyId === companyId)?.tenantId;
|
|
20
|
+
if (tenantId == null) {
|
|
21
|
+
return (0, rxjs_1.from)([
|
|
22
|
+
(0, companyViewReducer_1.updateCompanyQboRealmIdFailure)(companyId, (0, responsePayload_1.createZeniAPIStatus)('Unexpected error', `No tenant found for companyId: ${companyId}`)),
|
|
23
|
+
(0, snackbarReducer_1.openSnackbar)({
|
|
24
|
+
messageSection: 'qbo_realm_id_update',
|
|
25
|
+
messageText: 'failed',
|
|
26
|
+
type: 'error',
|
|
27
|
+
}),
|
|
28
|
+
]);
|
|
29
|
+
}
|
|
30
|
+
// The FE route reads the target tenant from the zeni-tenant-id header,
|
|
31
|
+
// which overrides the operator's ambient tenant for this request only.
|
|
32
|
+
// qboRealmId omitted -> null clears the pin; a value overwrites it.
|
|
33
|
+
return zeniAPI
|
|
34
|
+
.putAndGetJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/qbo-realm-id`, { qbo_realm_id: qboRealmId ?? null }, { 'zeni-tenant-id': tenantId })
|
|
35
|
+
.pipe((0, operators_1.mergeMap)((response) => {
|
|
36
|
+
if ((0, responsePayload_1.isSuccessResponse)(response)) {
|
|
37
|
+
return (0, rxjs_1.from)([
|
|
38
|
+
(0, companyViewReducer_1.updateCompanyQboRealmIdSuccess)({ companyId }),
|
|
39
|
+
(0, snackbarReducer_1.openSnackbar)({
|
|
40
|
+
messageSection: 'qbo_realm_id_update',
|
|
41
|
+
messageText: 'success',
|
|
42
|
+
type: 'success',
|
|
43
|
+
}),
|
|
44
|
+
]);
|
|
45
|
+
}
|
|
46
|
+
return (0, rxjs_1.from)([
|
|
47
|
+
(0, companyViewReducer_1.updateCompanyQboRealmIdFailure)(companyId, response.status),
|
|
48
|
+
(0, snackbarReducer_1.openSnackbar)({
|
|
49
|
+
messageSection: 'qbo_realm_id_update',
|
|
50
|
+
messageText: 'failed',
|
|
51
|
+
type: 'error',
|
|
52
|
+
}),
|
|
53
|
+
]);
|
|
54
|
+
}), (0, operators_1.catchError)((error) => (0, rxjs_1.from)([
|
|
55
|
+
(0, companyViewReducer_1.updateCompanyQboRealmIdFailure)(companyId, (0, responsePayload_1.createZeniAPIStatus)('Unexpected error', 'Update Company QBO realm id errored out' +
|
|
56
|
+
(error instanceof Error
|
|
57
|
+
? error.message
|
|
58
|
+
: JSON.stringify(error)))),
|
|
59
|
+
(0, snackbarReducer_1.openSnackbar)({
|
|
60
|
+
messageSection: 'qbo_realm_id_update',
|
|
61
|
+
messageText: 'failed',
|
|
62
|
+
type: 'error',
|
|
63
|
+
}),
|
|
64
|
+
])));
|
|
65
|
+
}));
|
|
66
|
+
exports.updateCompanyQboRealmIdEpic = updateCompanyQboRealmIdEpic;
|
|
@@ -201,6 +201,8 @@ const sortAndFilterCompanies = (sortKey, sortOrder, filterText, companies, userS
|
|
|
201
201
|
updatedCompanies.forEach((company) => {
|
|
202
202
|
switch (sortKey) {
|
|
203
203
|
case 'companyName':
|
|
204
|
+
case 'productVerticals':
|
|
205
|
+
case 'realmId':
|
|
204
206
|
companiesWithSortKeyValue.push(company);
|
|
205
207
|
break;
|
|
206
208
|
case 'status':
|
|
@@ -436,6 +438,12 @@ const sortAndFilterCompanies = (sortKey, sortOrder, filterText, companies, userS
|
|
|
436
438
|
primarySortValue = (company.company.company.companyInfo.bookCloseDate ??
|
|
437
439
|
(0, zeniDayJS_1.date)('1970-01-01T00:00:00.000Z')).valueOf();
|
|
438
440
|
break;
|
|
441
|
+
case 'productVerticals':
|
|
442
|
+
case 'realmId':
|
|
443
|
+
// Not a meaningful sort axis (both are cockpit action columns);
|
|
444
|
+
// keep stable order rather than falling through to the status/group
|
|
445
|
+
// default sort.
|
|
446
|
+
break;
|
|
439
447
|
case 'status':
|
|
440
448
|
default: {
|
|
441
449
|
isMultiSortApplicable = true;
|
|
@@ -4,9 +4,9 @@ import { SubscriptionViewSortKey } from '../../subscriptionView/types/subscripti
|
|
|
4
4
|
import { FilterCategoryValueType } from '../helpers/cockpitHelpers';
|
|
5
5
|
import { CockpitDownloadTabsID, CockpitTabsFileType } from './cockpitTabsID';
|
|
6
6
|
export declare const toPortfolioSortKeyType: (v: string) => "companyName" | "expenses" | "runway" | "cashBalance" | "revenues" | "netIncome";
|
|
7
|
-
export declare const toManagementSortKeyType: (v: string) => "status" | "bookCloseDate" | "companyName" | "group" | "controller" | "plans" | "monthlyRecurringRevenue" | "notes" | "taxStatus" | "preparer" | "reviewer" | "annualRecurringRevenue" | "task" | "customerSuccessManager" | "apAnalyst" | "reportSent" | "taxLead" | "satisfaction";
|
|
7
|
+
export declare const toManagementSortKeyType: (v: string) => "status" | "bookCloseDate" | "companyName" | "group" | "controller" | "plans" | "monthlyRecurringRevenue" | "notes" | "taxStatus" | "preparer" | "reviewer" | "annualRecurringRevenue" | "realmId" | "task" | "productVerticals" | "customerSuccessManager" | "apAnalyst" | "reportSent" | "taxLead" | "satisfaction";
|
|
8
8
|
export declare const toOnboardingSortKeyType: (v: string) => "companyName" | "notes" | "businessVerified" | "identityVerified" | "bankAccountLinked" | "customerCreated" | "groupCreated" | "qboLinked" | "enroller" | "invite" | "latestCreated";
|
|
9
|
-
export declare const toHealthSortKeyType: (v: string) => "companyName" | "group" | "controller" | "monthlyRecurringRevenue" | "runway" | "companyEngagementMetricsUpdatedAt" | "customerSatisfactionScore" | "externalProductServiceExposure" | "netPromoterScore" | "
|
|
9
|
+
export declare const toHealthSortKeyType: (v: string) => "companyName" | "group" | "controller" | "monthlyRecurringRevenue" | "runway" | "companyEngagementMetricsUpdatedAt" | "customerSatisfactionScore" | "externalProductServiceExposure" | "netPromoterScore" | "productVerticals" | "customerSuccessManager" | "issues" | "churnProbability" | "lastReportSent" | "subscriptionDate" | "renewalDate" | "dashboardLastSeen" | "lastEngagement";
|
|
10
10
|
export declare const toTaskManagerSortKeyType: (v: string) => "status" | "name" | "priority" | "tags" | "createdBy" | "dueDate" | "assignee" | "taskName";
|
|
11
11
|
export type PortfolioViewSortKey = ReturnType<typeof toPortfolioSortKeyType>;
|
|
12
12
|
export type ManagementViewSortKey = ReturnType<typeof toManagementSortKeyType>;
|
|
@@ -4,6 +4,7 @@ import { CompanyManagementInfo } from '../../../entity/company/companyStateTypes
|
|
|
4
4
|
import { CockpitFilters, ManagementViewSortKey } from './cockpitTypes';
|
|
5
5
|
import { CommonState } from './commonState';
|
|
6
6
|
export interface CompanyManagementViewState extends CommonState {
|
|
7
|
+
qboRealmIdUpdateStatusByCompanyId: Record<ID, FetchStateAndError>;
|
|
7
8
|
uiState: ManagementUIState;
|
|
8
9
|
updatesByCompanyId: Record<ID, CompanyManagementUpdateState>;
|
|
9
10
|
}
|
|
@@ -18,6 +19,7 @@ export interface CompanyManagementUpdateState {
|
|
|
18
19
|
}
|
|
19
20
|
export declare function getCompanyManagementUpdatesInProgress(state: CompanyManagementViewState, companyId: ID, includeCompletedUpdates?: boolean): CompanyManagementUpdatesInProgress | undefined;
|
|
20
21
|
export declare function getCompanyManagementPendingUpdates(companyId: ID, state: CompanyManagementViewState): Partial<CompanyManagementInfo> | undefined;
|
|
22
|
+
export declare function getCompanyQboRealmIdUpdateStatus(state: CompanyManagementViewState, companyId: ID): FetchStateAndError;
|
|
21
23
|
export interface ManagementUIState {
|
|
22
24
|
filters: CockpitFilters;
|
|
23
25
|
filterText: string;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.initialCompanyManagementView = void 0;
|
|
4
4
|
exports.getCompanyManagementUpdatesInProgress = getCompanyManagementUpdatesInProgress;
|
|
5
5
|
exports.getCompanyManagementPendingUpdates = getCompanyManagementPendingUpdates;
|
|
6
|
+
exports.getCompanyQboRealmIdUpdateStatus = getCompanyQboRealmIdUpdateStatus;
|
|
6
7
|
const commonState_1 = require("./commonState");
|
|
7
8
|
function getCompanyManagementUpdatesInProgress(state, companyId, includeCompletedUpdates = false) {
|
|
8
9
|
const updatesInProgress = state.updatesByCompanyId[companyId]?.updatesInProgress;
|
|
@@ -21,9 +22,16 @@ function getCompanyManagementUpdatesInProgress(state, companyId, includeComplete
|
|
|
21
22
|
function getCompanyManagementPendingUpdates(companyId, state) {
|
|
22
23
|
return state.updatesByCompanyId[companyId]?.pendingUpdates;
|
|
23
24
|
}
|
|
25
|
+
function getCompanyQboRealmIdUpdateStatus(state, companyId) {
|
|
26
|
+
return (state.qboRealmIdUpdateStatusByCompanyId[companyId] ?? {
|
|
27
|
+
fetchState: 'Not-Started',
|
|
28
|
+
error: undefined,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
24
31
|
exports.initialCompanyManagementView = {
|
|
25
32
|
...commonState_1.initialCommonState,
|
|
26
33
|
updatesByCompanyId: {},
|
|
34
|
+
qboRealmIdUpdateStatusByCompanyId: {},
|
|
27
35
|
uiState: {
|
|
28
36
|
sortKey: 'status',
|
|
29
37
|
sortOrder: 'ascending',
|
|
@@ -5,6 +5,7 @@ import { CompanyOfficerLocalData, CompanyOfficerType, PrimaryContactLocalData }
|
|
|
5
5
|
export type UpdateActionType = 'company_update' | 'user_create' | 'user_update';
|
|
6
6
|
export interface CompanyPassportViewState extends CommonState, FetchedState {
|
|
7
7
|
accountingClassesUpdateStatus: FetchStateAndError;
|
|
8
|
+
accountingProjectsUpdateStatus: FetchStateAndError;
|
|
8
9
|
capitalizationThresholdUpdateStatus: FetchStateAndError;
|
|
9
10
|
companyDetails: {
|
|
10
11
|
updateStatus: FetchStateAndError;
|
|
@@ -14,9 +15,11 @@ export interface CompanyPassportViewState extends CommonState, FetchedState {
|
|
|
14
15
|
updateStatus: FetchStateAndError;
|
|
15
16
|
localData?: CompanyOfficerLocalData;
|
|
16
17
|
}>;
|
|
18
|
+
needsQboProjectsReconnect: boolean;
|
|
17
19
|
primaryContact: {
|
|
18
20
|
updateStatus: FetchStateAndError;
|
|
19
21
|
localData?: PrimaryContactLocalData;
|
|
20
22
|
};
|
|
23
|
+
productServicesUpdateStatus: FetchStateAndError;
|
|
21
24
|
}
|
|
22
25
|
export declare const initialCompanyPassportView: CompanyPassportViewState;
|
|
@@ -8,10 +8,19 @@ exports.initialCompanyPassportView = {
|
|
|
8
8
|
fetchState: 'Not-Started',
|
|
9
9
|
error: undefined,
|
|
10
10
|
},
|
|
11
|
+
accountingProjectsUpdateStatus: {
|
|
12
|
+
fetchState: 'Not-Started',
|
|
13
|
+
error: undefined,
|
|
14
|
+
},
|
|
15
|
+
productServicesUpdateStatus: {
|
|
16
|
+
fetchState: 'Not-Started',
|
|
17
|
+
error: undefined,
|
|
18
|
+
},
|
|
11
19
|
capitalizationThresholdUpdateStatus: {
|
|
12
20
|
fetchState: 'Not-Started',
|
|
13
21
|
error: undefined,
|
|
14
22
|
},
|
|
23
|
+
needsQboProjectsReconnect: false,
|
|
15
24
|
companyDetails: {
|
|
16
25
|
localData: undefined,
|
|
17
26
|
updateStatus: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { DashboardState } from './dashboardState';
|
|
2
2
|
export declare const initialState: DashboardState;
|
|
3
|
-
export declare const fetchDashboard: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[userId: string, companyId: string, tenantId: string, fetchFullReport?: any, cacheOverride?: any, excludeResources?: ("cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts")[] | undefined], {
|
|
3
|
+
export declare const fetchDashboard: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[userId: string, companyId: string, tenantId: string, fetchFullReport?: any, cacheOverride?: any, excludeResources?: ("cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts")[] | undefined], {
|
|
4
4
|
userId: string;
|
|
5
5
|
companyId: string;
|
|
6
6
|
tenantId: string;
|
|
7
7
|
fetchFullReport: any;
|
|
8
8
|
cacheOverride: any;
|
|
9
|
-
excludeResources: ("cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "revenue" | "revenue_by_classes" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts")[];
|
|
9
|
+
excludeResources: ("cash_balance" | "card_balance" | "expense_automation_card" | "operating_expenses" | "operating_expenses_by_classes" | "operating_expenses_by_projects" | "revenue" | "revenue_by_classes" | "revenue_by_projects" | "net_burn_or_income" | "net_burn_or_income_story_card" | "net_burn_or_income_by_classes" | "net_burn_or_income_by_projects" | "cash_position" | "top_expenses" | "profit_and_loss" | "profit_and_loss_by_classes" | "profit_and_loss_by_projects" | "balance_sheet" | "cash_flow" | "dashboard" | "finance_statement" | "transaction_list_of_account" | "transaction_list_missing_receipt" | "transaction_list_of_account_by_class" | "transaction_list_of_account_by_project" | "transaction_detail" | "cash_in_cash_out" | "insights_dashboard" | "company_details" | "class_list" | "account_list" | "account_list_by_type" | "vendor" | "task_card" | "bill_pay" | "reimbursement" | "bill_pay_card" | "reimbursement_card" | "bill_pay_promo_card" | "zeni_accounts" | "zeni_accounts_promo_card" | "zeni_treasury" | "charge_cards" | "other_connection" | "reimbursement_promo_card" | "onboarding" | "operating_expenses_by_vendor" | "operating_expenses_by_vendor_summary" | "vendors_tab" | "accounts_payable_aging" | "accounts_receivable_aging" | "vendor_global_review" | "prepaid_expenses" | "fixed_assets" | "notification" | "rewards_card" | "billing" | "flux_analysis_operating_expense" | "account_reconciliation" | "zeni_credit_promo_card" | "treasury_promo_card" | "excluded_account_reconciliation" | "transfer_accounts" | "credit_card_transfer_accounts")[];
|
|
10
10
|
}, "dashboard/fetchDashboard", never, never>, updateTreasuryVideoClosed: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"dashboard/updateTreasuryVideoClosed">, clearDashboard: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"dashboard/clearDashboard">;
|
|
11
11
|
declare const _default: import("redux").Reducer<DashboardState>;
|
|
12
12
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReportID, SelectorReport, SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport';
|
|
2
2
|
import { TenantsOrdered } from '../../entity/tenant/tenantSelector';
|
|
3
|
-
import {
|
|
3
|
+
import { Tenant } from '../../entity/tenant/tenantState';
|
|
4
4
|
import { RootState } from '../../reducer';
|
|
5
5
|
import { CardType } from './dashboardState';
|
|
6
6
|
export interface DashboardReport extends SelectorReport {
|
|
@@ -11,5 +11,4 @@ export interface DashboardReport extends SelectorReport {
|
|
|
11
11
|
tenantsOrdered: TenantsOrdered;
|
|
12
12
|
currentTenant?: Tenant;
|
|
13
13
|
}
|
|
14
|
-
export declare const getDashboard: (state: RootState, additionalExcludedReports: ReportID[]
|
|
15
|
-
signedInUser: LoggedInUser | undefined, isExpenseAutomationFeatureEnabledV2: boolean, isExpenseAutomationFeatureEnabled: boolean) => DashboardReport;
|
|
14
|
+
export declare const getDashboard: (state: RootState, additionalExcludedReports: ReportID[]) => DashboardReport;
|
|
@@ -45,7 +45,7 @@ const tenantSelector = (0, toolkit_1.createSelector)(tenantSelector_1.getTenants
|
|
|
45
45
|
exports.getDashboard = (0, toolkit_1.createSelector)(tenantSelector, cardBalanceSelector_1.getCardBalance, cashBalanceSelector_1.getCashBalance, getOperatingExpensesForLast5Periods, getRevenueForLast4Periods, topExSelector_1.getTop6Expenses, getNetBurnOrIncomeForLast4Periods, getNetBurnOrIncomeStoryCard, getCashPositionLast5Periods, getCashInCashOutLast4Periods, insightsCardSelector_1.getInsights, companyPassportViewSelector_1.getCompanyPassportView, tasksCardSelector_1.getTasksCardReport, billPayCardSelector_1.getBillPayCardReport, reimbursementCardSelector_1.getReimbursementCardReport, apAgingSelector, arAgingSelector, zeniAccountsPromoCardSelector_1.getZeniAccountsPromoCard, referralSelector_1.getRewardsPlanCard, dashboardLayoutSelector_1.getDashboardCardsOrdered, (state) => {
|
|
46
46
|
const currentTenant = (0, tenantSelector_1.getCurrentTenant)(state);
|
|
47
47
|
return (0, monthEndCloseChecksViewSelector_1.getMonthEndCloseChecksViewByTenantId)(state, currentTenant.tenantId);
|
|
48
|
-
}, (state) => state.tenantState, (_state, additionalExcludedReports) => additionalExcludedReports, (
|
|
48
|
+
}, (state) => state.tenantState, (_state, additionalExcludedReports) => additionalExcludedReports, (state) => state.dashboardState.isTreasuryVideoClosed, (tenants, cardBalance, cashBalance, opEx, revenue, topEx, netBurnOrIncome, netBurnOrIncomeStoryCard, cashPosition, cashInCashOut, insightsView, companyPassportView, tasksCard, billPayCard, reimbursementCard, apAgingReport, arAgingReport, zeniAccountsPromoCard, rewardsPlanCard, cards, monthEndCloseChecksView, tenantState, additionalExcludedReports, isTreasuryVideoClosed) => {
|
|
49
49
|
const isReimbursementFeatureEnabled = tenants.currentTenant.company?.featuresActivationInfo
|
|
50
50
|
.isReimbursementFeatureEnabled;
|
|
51
51
|
const isBillPayFeatureEnabled = tenants.currentTenant.company?.featuresActivationInfo
|
|
@@ -75,20 +75,24 @@ exports.getDashboard = (0, toolkit_1.createSelector)(tenantSelector, cardBalance
|
|
|
75
75
|
if (connectionName === 'netsuite') {
|
|
76
76
|
cardsToRemove.add('cash_in_cash_out');
|
|
77
77
|
}
|
|
78
|
-
const { isUncategorizedExpenseAccountIdentified, isUncategorizedIncomeAccountIdentified, numOfBillsPendingApproval, numOfReimbursementsPendingApproval, } = tasksCard.tasks;
|
|
78
|
+
const { isUncategorizedExpenseAccountIdentified, isUncategorizedIncomeAccountIdentified, isUncategorizedExpensesTransactionsExist, isUncategorizedIncomeTransactionsExist, numOfBillsPendingApproval, numOfReimbursementsPendingApproval, } = tasksCard.tasks;
|
|
79
79
|
const showUncategorizedAccountMapping = isUncategorizedExpenseAccountIdentified === false ||
|
|
80
80
|
isUncategorizedIncomeAccountIdentified === false;
|
|
81
|
-
//
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
// Drop the card only when it would render no rows at all. This mirrors every
|
|
82
|
+
// row TasksCard can show; keep the two lists in step. Expense Automation
|
|
83
|
+
// tenants are no longer a special case — they see the uncategorized expense
|
|
84
|
+
// and income rows like everyone else, so those rows count towards emptiness.
|
|
85
|
+
// Only judge emptiness once the payload has arrived, so a pending fetch
|
|
86
|
+
// never hides the card.
|
|
87
|
+
const isTaskCardEmpty = tasksCard.fetchState === 'Completed' &&
|
|
88
|
+
showUncategorizedAccountMapping === false &&
|
|
86
89
|
numOfBillsPendingApproval === 0 &&
|
|
87
90
|
numOfReimbursementsPendingApproval === 0 &&
|
|
88
|
-
|
|
91
|
+
isUncategorizedExpensesTransactionsExist === false &&
|
|
92
|
+
isUncategorizedIncomeTransactionsExist === false;
|
|
89
93
|
if (tasksCard.showCard === false ||
|
|
90
94
|
hasTasksCardAccess === false ||
|
|
91
|
-
|
|
95
|
+
isTaskCardEmpty) {
|
|
92
96
|
cardsToRemove.add('task_card');
|
|
93
97
|
}
|
|
94
98
|
const isBankerOrInvestor = tenants.currentTenant?.userRole != null &&
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
|
-
import { RootState } from '../../../../reducer';
|
|
3
2
|
import { updateAccountReconReparseStatement } from '../../../../entity/accountRecon/accountReconReducer';
|
|
3
|
+
import { RootState } from '../../../../reducer';
|
|
4
4
|
import { ZeniAPI } from '../../../../zeniAPI';
|
|
5
5
|
import { reparseStatement, reparseStatementFailure, reparseStatementSuccess } from '../../reducers/reconciliationViewReducer';
|
|
6
6
|
export type ActionType = ReturnType<typeof reparseStatement> | ReturnType<typeof reparseStatementSuccess> | ReturnType<typeof reparseStatementFailure> | ReturnType<typeof updateAccountReconReparseStatement>;
|
|
@@ -12,7 +12,7 @@ const missingReceiptsViewReducer_1 = require("../../reducers/missingReceiptsView
|
|
|
12
12
|
const reconciliationViewReducer_1 = require("../../reducers/reconciliationViewReducer");
|
|
13
13
|
const transactionsViewReducer_1 = require("../../reducers/transactionsViewReducer");
|
|
14
14
|
const fetchAllExpenseAutomationTabsEpic = (actions$, state$) => actions$.pipe((0, operators_1.filter)(expenseAutomationViewReducer_1.fetchAllExpenseAutomationTabs.match), (0, operators_1.switchMap)((action) => {
|
|
15
|
-
const { cacheOverride, refreshViewInBackground
|
|
15
|
+
const { cacheOverride, refreshViewInBackground } = action.payload;
|
|
16
16
|
const state = state$.value;
|
|
17
17
|
const { monthEndCloseChecksState } = state;
|
|
18
18
|
const { monthEndCloseChecksByTenantId } = monthEndCloseChecksState;
|
|
@@ -17,7 +17,8 @@ const fetchTransactionCategorizationEpic = (actions$, state$, zeniAPI) => action
|
|
|
17
17
|
(0, operators_1.groupBy)((action) => action.payload.selectedTab), (0, operators_1.mergeMap)((group$) => group$.pipe((0, operators_1.switchMap)((action) => {
|
|
18
18
|
const { expenseAutomationViewState: { selectedPeriodByTenantId }, expenseAutomationTransactionsViewState, } = state$.value;
|
|
19
19
|
const { period, keepExistingListItems, selectedTab, refreshViewInBackground, } = action.payload;
|
|
20
|
-
const uiState = expenseAutomationTransactionsViewState
|
|
20
|
+
const uiState = expenseAutomationTransactionsViewState
|
|
21
|
+
.transactionCategorizationView[selectedTab].uiState;
|
|
21
22
|
const { pageToken, sortOrder, sortKey } = uiState;
|
|
22
23
|
const requestSearchString = uiState.searchString;
|
|
23
24
|
const currentTenant = (0, tenantSelector_1.getCurrentTenant)(state$.value);
|
|
@@ -56,7 +56,8 @@ const fetchTransactionCategorizationViewEpic = (actions$, state$) => actions$.pi
|
|
|
56
56
|
// fresh fetch on click. refreshViewInBackground=true keeps it silent.
|
|
57
57
|
if (searchString === undefined) {
|
|
58
58
|
transactionsViewState_1.TRANSACTIONS_TABS.filter((tab) => tab !== selectedTab).forEach((otherTab) => {
|
|
59
|
-
const otherTabFetchState = expenseAutomationTransactionsViewState
|
|
59
|
+
const otherTabFetchState = expenseAutomationTransactionsViewState
|
|
60
|
+
.transactionCategorizationView[otherTab].fetchState;
|
|
60
61
|
if (otherTabFetchState === 'Not-Started') {
|
|
61
62
|
updateActions.push((0, transactionsViewReducer_1.fetchTransactionCategorization)(otherTab, period, false, false, undefined, undefined, true, undefined));
|
|
62
63
|
}
|
|
@@ -69,7 +70,8 @@ const fetchTransactionCategorizationViewEpic = (actions$, state$) => actions$.pi
|
|
|
69
70
|
// if available; otherwise issue a background fetch.
|
|
70
71
|
if (searchString !== undefined) {
|
|
71
72
|
transactionsViewState_1.TRANSACTIONS_TABS.filter((tab) => tab !== selectedTab).forEach((otherTab) => {
|
|
72
|
-
const otherTabSearchString = expenseAutomationTransactionsViewState
|
|
73
|
+
const otherTabSearchString = expenseAutomationTransactionsViewState
|
|
74
|
+
.transactionCategorizationView[otherTab].uiState.searchString;
|
|
73
75
|
if (searchString !== otherTabSearchString) {
|
|
74
76
|
updateActions.push((0, transactionsViewReducer_1.fetchTransactionCategorization)(otherTab, period, true, keepExistingListItems, searchString, undefined, true, true));
|
|
75
77
|
}
|
|
@@ -13,7 +13,7 @@ const transactionCategorizationLocalDataHelper_1 = require("../../helpers/transa
|
|
|
13
13
|
const transactionsViewReducer_1 = require("../../reducers/transactionsViewReducer");
|
|
14
14
|
const markTransactionAsNotMiscategorizedEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(transactionsViewReducer_1.markTransactionAsNotMiscategorized.match), (0, operators_1.mergeMap)((action) => {
|
|
15
15
|
const { expenseAutomationViewState, expenseAutomationTransactionsViewState, } = state$.value;
|
|
16
|
-
const { transactionsInReview, selectedTab
|
|
16
|
+
const { transactionsInReview, selectedTab } = action.payload;
|
|
17
17
|
const transactionsSuccess = transactionsInReview.transactions_update_success;
|
|
18
18
|
const transactionsFailed = transactionsInReview.transactions_update_failed;
|
|
19
19
|
const currentTenant = (0, tenantSelector_1.getCurrentTenant)(state$.value);
|
|
@@ -12,7 +12,7 @@ const accountListSelector_1 = require("../../../accountList/accountListSelector"
|
|
|
12
12
|
const saveTransactionHelper_1 = require("../../helpers/saveTransactionHelper");
|
|
13
13
|
const transactionsViewReducer_1 = require("../../reducers/transactionsViewReducer");
|
|
14
14
|
const saveTransactionCategorizationEpic = (actions$, state$) => actions$.pipe((0, operators_1.filter)(transactionsViewReducer_1.saveTransactionCategorization.match), (0, operators_1.mergeMap)((action) => {
|
|
15
|
-
const { transactionIds, cotTrackingByTransactionId, selectedTab
|
|
15
|
+
const { transactionIds, cotTrackingByTransactionId, selectedTab } = action.payload;
|
|
16
16
|
const fetchActions = [];
|
|
17
17
|
const { transactionState, expenseAutomationTransactionsViewState } = state$.value;
|
|
18
18
|
const transactionSaveUpdates = [];
|
|
@@ -7,7 +7,7 @@ const timePeriod_1 = require("../../../../commonStateTypes/timePeriod");
|
|
|
7
7
|
const tenantSelector_1 = require("../../../../entity/tenant/tenantSelector");
|
|
8
8
|
const transactionsViewReducer_1 = require("../../reducers/transactionsViewReducer");
|
|
9
9
|
const triggerReviewTabRefetchEpic = (actions$, state$) => actions$.pipe((0, operators_1.filter)(transactionsViewReducer_1.syncTransactionCategorizationFromDetailSave.match), (0, operators_1.mergeMap)((action) => {
|
|
10
|
-
const { pendingReviewLineIds, transactionId
|
|
10
|
+
const { pendingReviewLineIds, transactionId } = action.payload;
|
|
11
11
|
if (pendingReviewLineIds.length === 0) {
|
|
12
12
|
return rxjs_1.EMPTY;
|
|
13
13
|
}
|
|
@@ -12,9 +12,7 @@ const prepareStatementUpdateLocalData = (localData, parsedStatementData) => {
|
|
|
12
12
|
!localDeletedIds.includes(transaction.statementTransactionId))
|
|
13
13
|
.map((transaction) => transaction.statementTransactionId));
|
|
14
14
|
const mergedDeletedIds = (0, statementParseViewSelector_1.mergeStatementParseDeletedTransactionIds)(statementTransactions, statementPeriod, currentTransactionIds);
|
|
15
|
-
const deletedIds = [
|
|
16
|
-
...new Set([...localDeletedIds, ...mergedDeletedIds]),
|
|
17
|
-
];
|
|
15
|
+
const deletedIds = [...new Set([...localDeletedIds, ...mergedDeletedIds])];
|
|
18
16
|
const localUpdated = localData.statementTransactions?.updated ?? [];
|
|
19
17
|
if (deletedIds.length === localDeletedIds.length &&
|
|
20
18
|
deletedIds.every((id) => localDeletedIds.includes(id))) {
|
package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare const getLineItemsByTransactionsIdsFromResponse: (transactions: S
|
|
|
39
39
|
export declare const getLineItemsByTransactionIdsFromLocalData: (transactionLocalData: TransactionReviewLocalDataSelectorView[], selectedTab: TransactionsTab) => Record<ID, string[]>;
|
|
40
40
|
export declare const mergeTabSpecificLineItems: (currentTabSpecificLineItems: TabSpecificLineItems, selectedTab: TransactionsTab, newLineItems: TabSpecificLineItems) => TabSpecificLineItems;
|
|
41
41
|
export declare const getSnackbarMessageForTransactionReview: (updatedCount: number, failedCount: number, categorizedCount: number) => {
|
|
42
|
-
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_approval_reorder" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_approval_reorder" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "bill_pay_marked_as_paid" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_setup" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "card_policy_created" | "card_policy_updated" | "card_policy_deleted" | "charge_card_update_limit" | "charge_cards_update_limit" | "close_charge_card" | "lock_charge_card" | "lock_charge_card_card_user" | "lock_charge_cards" | "unlock_charge_card" | "unlock_charge_card_card_user" | "unlock_charge_cards" | "close_charge_cards" | "revoke_invite_charge_cards" | "charge_card_express_interest" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "snooze_task" | "unsnooze_task" | "create_tag" | "delete_tag" | "update_charge_card" | "update_charge_card_name" | "update_charge_card_name_card_user" | "issue_charge_card" | "issue_charge_cards" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipt_match" | "receipts_upload" | "receipts_bulk_match" | "billing_address_view" | "express_pay_submit" | "exclude_transaction" | "reconcile" | "save_reconcile_for_later" | "recon_transaction_categorize" | "recon_transaction_match" | "update_debit_card_pin_attempt" | "set_debit_card_pin" | "ai_cfo_create_session_and_submit" | "ai_cfo_chat_session_deleted" | "charge_card_auto_pay_enable" | "charge_card_auto_pay_disable" | "treasury_setup" | "treasury_accept_term" | "treasury_transfer_money" | "treasury_transfer_money_failed" | "auto_transfer_rule_create" | "auto_transfer_rule_update" | "auto_transfer_rule_delete" | "auto_transfer_rule_pause" | "auto_transfer_rule_resume" | "treasury_update_portfolio_allocation" | "send_email_magic_link_to_user" | "complete_profile_done" | "create_transfer_entry" | "reports_resync" | "invalid_phone_number" | "transactions_categorized_updated_failed" | "transaction_categorized_updated_failed" | "transactionsCategorized_transactionsUpdated" | "transactionsCategorized_transactionUpdated" | "transactionCategorized_transactionsUpdated" | "transactionCategorized_transactionUpdated" | "transactionsCategorized_transactionsFailed" | "transactionsCategorized_transactionFailed" | "transactionCategorized_transactionsFailed" | "transactionCategorized_transactionFailed" | "transactionsUpdated_transactionsFailed" | "transactionsUpdated_transactionFailed" | "transactionUpdated_transactionsFailed" | "transactionUpdated_transactionFailed" | "transactionsCategorized_transactionsUpdated_transactionsFailed" | "transactionsCategorized_transactionsUpdated_transactionFailed" | "transactionsCategorized_transactionUpdated_transactionsFailed" | "transactionCategorized_transactionsUpdated_transactionsFailed" | "transactionsCategorized_transactionUpdated_transactionFailed" | "transactionCategorized_transactionsUpdated_transactionFailed" | "transactionCategorized_transactionUpdated_transactionsFailed" | "transactionCategorized_transactionUpdated_transactionFailed" | "accounting_classes_enabled_update" | "capitalization_threshold_update" | "account_excluded_from_reconciliation" | "account_included_in_reconciliation" | "statement_parsing_in_progress" | "statement_parsing_complete" | "ai_accountant_trigger_job" | "oauth_consent_approve" | "oauth_consent_invalid_request" | "credit_agent_update_profile" | "credit_agent_save_macro" | "credit_agent_schedule_cron" | "create_sub_task" | "qbo_connection_already_linked" | "qbo_connection_failed";
|
|
42
|
+
messageSection: "common" | "transactionDetails_updatingPastTransactions" | "transactionDetails_transactionUpdated" | "cockpit_month_end_email_sent" | "cockpit_month_end_email_save" | "cockpit_month_end_email_attachment_upload" | "je_bill_link" | "je_posted" | "audit_score_updated" | "people_invite_people" | "people_invite_multiple_people" | "people_delete_person" | "people_update_person" | "reimbursement_updated" | "reimbursement_deleted" | "reimbursement_cancelled_deleted" | "reimbursement_cancelled" | "reimbursement_approved" | "reimbursement_rejected" | "reimbursement_sent_for_approval" | "account_added" | "business_verification_save" | "business_verification_submit" | "business_verification_from_bills_submit" | "plaid_connection" | "unlink_deposit_account" | "reimbursement_setup" | "reimbursement_approval_create" | "reimbursement_duplicate_approval_create" | "reimbursement_approval_update" | "reimbursement_duplicate_approval_update" | "reimbursement_approval_delete" | "reimbursement_approval_reorder" | "reimbursement_create_mileage" | "reimbursement_update_mileage" | "reimbursement_accept_term" | "reimbursement_accept_employee_term" | "reimbursement_bulk_submit" | "reimbursement_bulk_processed" | "bill_pay_setup" | "zeni_accounts_setup" | "bill_pay_approval_create" | "bill_pay_duplicate_approval_create" | "bill_pay_approval_update" | "bill_pay_duplicate_approval_update" | "bill_pay_approval_delete" | "bill_pay_approval_reorder" | "bill_pay_updated" | "bill_pay_deleted" | "bill_pay_cancelled_deleted" | "bill_pay_cancelled" | "bill_pay_approved" | "real_time_approver_added" | "bill_pay_rejected" | "bill_pay_sent_for_approval" | "bill_pay_accept_term" | "bill_pay_bulk_submit" | "bill_pay_bulk_processed" | "bill_pay_refund" | "bill_pay_retry" | "bill_pay_marked_as_paid" | "zeni_account_accept_term" | "update_vendor" | "data_refresh_update" | "delete_bank_account" | "create_bank_account" | "create_bank_account_ach" | "create_bank_account_wire" | "create_bank_account_international" | "transfer_money" | "update_zeni_account_nickname" | "create_checking_account" | "deposit_check" | "create_vendor" | "onboarding_customer_view" | "onboarding_customer_view_complete" | "onboarding_customer_identity_verification_save" | "onboarding_customer_identity_verification_submit" | "onboarding_customer_business_verification_save" | "onboarding_customer_business_verification_submit" | "retry_bank_account_connection" | "dashboard_invite_sent" | "onboarding_info_saved" | "approve_original_merchant" | "approve_global_merchant" | "reject_global_merchant" | "create_global_merchant" | "fetch_global_merchant_no_recommendation" | "save_vendor_renamed" | "save_vendor_sent_for_review" | "save_vendor_marked_as_employee" | "save_vendor_marked_as_local_contractor" | "charge_card_setup" | "charge_card_accept_term" | "charge_card_receipt_upload" | "charge_card_resend_invite" | "charge_card_revoke_invite" | "card_policy_created" | "card_policy_updated" | "card_policy_deleted" | "charge_card_update_limit" | "charge_cards_update_limit" | "close_charge_card" | "lock_charge_card" | "lock_charge_card_card_user" | "lock_charge_cards" | "unlock_charge_card" | "unlock_charge_card_card_user" | "unlock_charge_cards" | "close_charge_cards" | "revoke_invite_charge_cards" | "charge_card_express_interest" | "create_schedule" | "save_schedule" | "delete_schedule" | "ignore_schedule" | "save_task_detail" | "fetch_task_detail" | "delete_task" | "archive_task" | "snooze_task" | "unsnooze_task" | "create_tag" | "delete_tag" | "update_charge_card" | "update_charge_card_name" | "update_charge_card_name_card_user" | "issue_charge_card" | "issue_charge_cards" | "notification_settings_saved" | "referral_invite_sent" | "notification_mark_as_read" | "mark_as_complete_schedule" | "cancel_journal_entry" | "settings_accounting_accounts_updated" | "create_card_setup" | "confirm_card_setup" | "add_card_payment_source" | "fetch_payment_sources" | "task_assigned_toast_notification" | "task_due_tomorrow_toast_notification" | "task_deleted_toast_notification" | "task_archived_toast_notification" | "task_overdue_toast_notification" | "task_overdue_toast_notification_creator" | "task_notification_count" | "task_activities_toast_notification" | "task_created_toast_notification" | "task_group_creation_success" | "task_group_deletion_success" | "task_group_update_success" | "primary_funding_account_updated" | "task_time_spent_validation" | "missing_receipts_attachment" | "flux_analysis_unreviewed" | "flux_analysis_reviewed" | "receipt_match" | "receipts_upload" | "receipts_bulk_match" | "billing_address_view" | "express_pay_submit" | "exclude_transaction" | "reconcile" | "save_reconcile_for_later" | "recon_transaction_categorize" | "recon_transaction_match" | "update_debit_card_pin_attempt" | "set_debit_card_pin" | "ai_cfo_create_session_and_submit" | "ai_cfo_chat_session_deleted" | "charge_card_auto_pay_enable" | "charge_card_auto_pay_disable" | "treasury_setup" | "treasury_accept_term" | "treasury_transfer_money" | "treasury_transfer_money_failed" | "auto_transfer_rule_create" | "auto_transfer_rule_update" | "auto_transfer_rule_delete" | "auto_transfer_rule_pause" | "auto_transfer_rule_resume" | "treasury_update_portfolio_allocation" | "send_email_magic_link_to_user" | "complete_profile_done" | "create_transfer_entry" | "reports_resync" | "invalid_phone_number" | "transactions_categorized_updated_failed" | "transaction_categorized_updated_failed" | "transactionsCategorized_transactionsUpdated" | "transactionsCategorized_transactionUpdated" | "transactionCategorized_transactionsUpdated" | "transactionCategorized_transactionUpdated" | "transactionsCategorized_transactionsFailed" | "transactionsCategorized_transactionFailed" | "transactionCategorized_transactionsFailed" | "transactionCategorized_transactionFailed" | "transactionsUpdated_transactionsFailed" | "transactionsUpdated_transactionFailed" | "transactionUpdated_transactionsFailed" | "transactionUpdated_transactionFailed" | "transactionsCategorized_transactionsUpdated_transactionsFailed" | "transactionsCategorized_transactionsUpdated_transactionFailed" | "transactionsCategorized_transactionUpdated_transactionsFailed" | "transactionCategorized_transactionsUpdated_transactionsFailed" | "transactionsCategorized_transactionUpdated_transactionFailed" | "transactionCategorized_transactionsUpdated_transactionFailed" | "transactionCategorized_transactionUpdated_transactionsFailed" | "transactionCategorized_transactionUpdated_transactionFailed" | "accounting_classes_enabled_update" | "accounting_projects_enabled_update" | "accounting_projects_qbo_not_enabled" | "capitalization_threshold_update" | "account_excluded_from_reconciliation" | "account_included_in_reconciliation" | "statement_parsing_in_progress" | "statement_parsing_complete" | "ai_accountant_trigger_job" | "oauth_consent_approve" | "oauth_consent_invalid_request" | "credit_agent_update_profile" | "credit_agent_save_macro" | "credit_agent_schedule_cron" | "create_sub_task" | "qbo_connection_already_linked" | "qbo_connection_failed" | "accounting_projects_qbo_reconnect_failed" | "product_services_update" | "qbo_realm_id_update" | "invoicing_dunning_case_resolved" | "invoicing_dunning_retry" | "invoicing_dunning_cancel" | "invoicing_dunning_settings_save" | "invoicing_qbo_backfill" | "invoicing_qbo_sync_health_retry" | "invoicing_qbo_settings_save" | "invoicing_branding_save" | "invoicing_discount_archive" | "invoicing_discount_unarchive" | "invoicing_discount_delete" | "invoicing_invoice_reminder_sent" | "invoicing_invoice_regenerated" | "invoicing_invoice_voided" | "invoicing_catalog_item_saved" | "invoicing_customer_saved" | "invoicing_subscription_saved" | "invoicing_coupon_saved" | "invoicing_invoice_saved" | "invoicing_credit_note_saved" | "invoicing_payment_recorded" | "invoicing_subscription_activated" | "invoicing_subscription_cancellation_removed" | "invoicing_subscription_cancelled" | "invoicing_subscription_non_renewing" | "invoicing_subscription_paused" | "invoicing_subscription_reactivated" | "invoicing_subscription_resumed" | "invoicing_subscription_term_end_changed";
|
|
43
43
|
messageText: "notification" | "failed" | "success";
|
|
44
44
|
type: "error" | "success" | "info";
|
|
45
45
|
variables: {
|
|
@@ -478,10 +478,16 @@ const expenseAutomationReconciliationView = (0, toolkit_1.createSlice)({
|
|
|
478
478
|
},
|
|
479
479
|
deleteAccountStatement: (draft, action) => {
|
|
480
480
|
const { accountId, selectedPeriod } = action.payload;
|
|
481
|
-
draft.accountReconciliationRecordsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)]
|
|
481
|
+
const accountRecon = draft.accountReconciliationRecordsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)]?.reconciliationByAccountID[accountId];
|
|
482
|
+
if (accountRecon == null) {
|
|
483
|
+
return;
|
|
484
|
+
}
|
|
485
|
+
accountRecon.statementDeleteStatus = {
|
|
482
486
|
fetchState: 'In-Progress',
|
|
483
487
|
error: undefined,
|
|
484
488
|
};
|
|
489
|
+
// Drop sticky parse latch on discard so the drawer shows empty upload UI.
|
|
490
|
+
accountRecon.statementParseInProgress = false;
|
|
485
491
|
},
|
|
486
492
|
deleteAccountStatementSuccess: (draft, action) => {
|
|
487
493
|
const { accountId, selectedPeriod } = action.payload;
|
|
@@ -492,6 +498,21 @@ const expenseAutomationReconciliationView = (0, toolkit_1.createSlice)({
|
|
|
492
498
|
error: undefined,
|
|
493
499
|
};
|
|
494
500
|
accountRecon.parsedStatementData = undefined;
|
|
501
|
+
accountRecon.statementParseInProgress = false;
|
|
502
|
+
// Reset in-flight parse/upload flags so the follow-up fetch cannot
|
|
503
|
+
// re-latch statementParseInProgress via In-Progress fetch states.
|
|
504
|
+
accountRecon.statementParseStatus = {
|
|
505
|
+
fetchState: 'Not-Started',
|
|
506
|
+
error: undefined,
|
|
507
|
+
};
|
|
508
|
+
accountRecon.reparseStatementStatus = {
|
|
509
|
+
fetchState: 'Not-Started',
|
|
510
|
+
error: undefined,
|
|
511
|
+
};
|
|
512
|
+
accountRecon.statementUploadStatus = {
|
|
513
|
+
fetchState: 'Not-Started',
|
|
514
|
+
error: undefined,
|
|
515
|
+
};
|
|
495
516
|
accountRecon.statementProcessingDismissedToBackground = false;
|
|
496
517
|
accountRecon.statementProcessingBackgroundCompletedSteps = 0;
|
|
497
518
|
accountRecon.statementProcessingStartedAtMs = undefined;
|
|
@@ -500,11 +521,18 @@ const expenseAutomationReconciliationView = (0, toolkit_1.createSlice)({
|
|
|
500
521
|
fetchState: 'Not-Started',
|
|
501
522
|
error: undefined,
|
|
502
523
|
};
|
|
524
|
+
if (accountRecon.localData != null) {
|
|
525
|
+
accountRecon.localData.statementUpdateLocalData = undefined;
|
|
526
|
+
}
|
|
503
527
|
}
|
|
504
528
|
},
|
|
505
529
|
deleteAccountStatementFailure: (draft, action) => {
|
|
506
530
|
const { accountId, selectedPeriod } = action.payload;
|
|
507
|
-
draft.accountReconciliationRecordsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)]
|
|
531
|
+
const accountRecon = draft.accountReconciliationRecordsBySelectedPeriod[(0, timePeriod_1.toMonthYearPeriodId)(selectedPeriod)]?.reconciliationByAccountID[accountId];
|
|
532
|
+
if (accountRecon == null) {
|
|
533
|
+
return;
|
|
534
|
+
}
|
|
535
|
+
accountRecon.statementDeleteStatus = {
|
|
508
536
|
fetchState: 'Error',
|
|
509
537
|
error: action.payload.error,
|
|
510
538
|
};
|