@zeniai/client-epic-state 5.1.27-betaAK0 → 5.1.28
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/agingReportStateTypes.d.ts +1 -1
- package/lib/entity/task/taskState.d.ts +1 -1
- package/lib/entity/tenant/clearAllEpic.d.ts +2 -39
- package/lib/entity/tenant/clearAllEpic.js +8 -82
- package/lib/entity/tenant/tenantReducer.js +3 -3
- package/lib/epic.d.ts +1 -31
- package/lib/epic.js +1 -32
- package/lib/esm/entity/tenant/clearAllEpic.js +0 -74
- package/lib/esm/entity/tenant/tenantReducer.js +3 -3
- package/lib/esm/epic.js +1 -32
- package/lib/esm/index.js +0 -78
- package/lib/esm/reducer.js +0 -114
- package/lib/esm/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +4 -16
- package/lib/esm/view/onboardingView/cockpitView/onboardingCockpitViewPayload.js +2 -2
- package/lib/esm/view/referralView/epics/sendReferralInviteEpic.js +9 -1
- package/lib/index.d.ts +0 -97
- package/lib/index.js +1 -365
- package/lib/reducer.d.ts +0 -114
- package/lib/reducer.js +12 -126
- package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js +3 -15
- package/lib/view/onboardingView/cockpitView/onboardingCockpitViewPayload.js +2 -2
- package/lib/view/referralView/epics/sendReferralInviteEpic.js +9 -1
- package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billList/billListReducer.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billList/billListState.d.ts +1 -1
- package/lib/view/spendManagement/reimbursement/remiListView/remiListReducer.d.ts +1 -1
- package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +3 -3
- package/lib/zeniAPI.d.ts +0 -1
- package/package.json +1 -1
- package/lib/entity/invoicing/coupon/couponReducer.d.ts +0 -12
- package/lib/entity/invoicing/coupon/couponReducer.js +0 -33
- package/lib/entity/invoicing/creditNote/creditNoteReducer.d.ts +0 -12
- package/lib/entity/invoicing/creditNote/creditNoteReducer.js +0 -35
- package/lib/entity/invoicing/customer/customerReducer.d.ts +0 -12
- package/lib/entity/invoicing/customer/customerReducer.js +0 -33
- package/lib/entity/invoicing/dunningCase/dunningCaseReducer.d.ts +0 -12
- package/lib/entity/invoicing/dunningCase/dunningCaseReducer.js +0 -35
- package/lib/entity/invoicing/invoice/invoiceReducer.d.ts +0 -10
- package/lib/entity/invoicing/invoice/invoiceReducer.js +0 -36
- package/lib/entity/invoicing/invoice/invoiceSelector.d.ts +0 -5
- package/lib/entity/invoicing/invoice/invoiceSelector.js +0 -9
- package/lib/entity/invoicing/invoice/invoiceState.d.ts +0 -5
- package/lib/entity/invoicing/invoice/invoiceState.js +0 -2
- package/lib/entity/invoicing/invoicingTypes.d.ts +0 -766
- package/lib/entity/invoicing/invoicingTypes.js +0 -15
- package/lib/entity/invoicing/plan/planReducer.d.ts +0 -12
- package/lib/entity/invoicing/plan/planReducer.js +0 -33
- package/lib/entity/invoicing/product/productReducer.d.ts +0 -12
- package/lib/entity/invoicing/product/productReducer.js +0 -33
- package/lib/entity/invoicing/subscription/subscriptionReducer.d.ts +0 -12
- package/lib/entity/invoicing/subscription/subscriptionReducer.js +0 -35
- package/lib/entity/invoicing/transaction/transactionReducer.d.ts +0 -12
- package/lib/entity/invoicing/transaction/transactionReducer.js +0 -35
- package/lib/esm/entity/invoicing/coupon/couponReducer.js +0 -29
- package/lib/esm/entity/invoicing/creditNote/creditNoteReducer.js +0 -31
- package/lib/esm/entity/invoicing/customer/customerReducer.js +0 -29
- package/lib/esm/entity/invoicing/dunningCase/dunningCaseReducer.js +0 -31
- package/lib/esm/entity/invoicing/invoice/invoiceReducer.js +0 -32
- package/lib/esm/entity/invoicing/invoice/invoiceSelector.js +0 -4
- package/lib/esm/entity/invoicing/invoice/invoiceState.js +0 -1
- package/lib/esm/entity/invoicing/invoicingTypes.js +0 -14
- package/lib/esm/entity/invoicing/plan/planReducer.js +0 -29
- package/lib/esm/entity/invoicing/product/productReducer.js +0 -29
- package/lib/esm/entity/invoicing/subscription/subscriptionReducer.js +0 -31
- package/lib/esm/entity/invoicing/transaction/transactionReducer.js +0 -31
- package/lib/esm/view/invoicing/analyticsView/analyticsViewEpics.js +0 -42
- package/lib/esm/view/invoicing/analyticsView/analyticsViewReducer.js +0 -45
- package/lib/esm/view/invoicing/analyticsView/analyticsViewSelector.js +0 -10
- package/lib/esm/view/invoicing/approvalAction/approvalActionEpic.js +0 -28
- package/lib/esm/view/invoicing/approvalAction/approvalActionReducer.js +0 -36
- package/lib/esm/view/invoicing/approvalAction/approvalActionSelector.js +0 -5
- package/lib/esm/view/invoicing/approvalsView/approvalsViewEpics.js +0 -37
- package/lib/esm/view/invoicing/approvalsView/approvalsViewReducer.js +0 -62
- package/lib/esm/view/invoicing/approvalsView/approvalsViewSelector.js +0 -8
- package/lib/esm/view/invoicing/auditView/auditViewEpics.js +0 -46
- package/lib/esm/view/invoicing/auditView/auditViewReducer.js +0 -56
- package/lib/esm/view/invoicing/auditView/auditViewSelector.js +0 -8
- package/lib/esm/view/invoicing/catalogView/catalogViewEpics.js +0 -143
- package/lib/esm/view/invoicing/catalogView/catalogViewReducer.js +0 -162
- package/lib/esm/view/invoicing/catalogView/catalogViewSelector.js +0 -31
- package/lib/esm/view/invoicing/catalogWrite/catalogWriteEpic.js +0 -34
- package/lib/esm/view/invoicing/catalogWrite/catalogWriteReducer.js +0 -39
- package/lib/esm/view/invoicing/catalogWrite/catalogWriteSelector.js +0 -6
- package/lib/esm/view/invoicing/couponView/couponViewEpics.js +0 -83
- package/lib/esm/view/invoicing/couponView/couponViewReducer.js +0 -105
- package/lib/esm/view/invoicing/couponView/couponViewSelector.js +0 -18
- package/lib/esm/view/invoicing/couponWrite/couponWriteEpic.js +0 -29
- package/lib/esm/view/invoicing/couponWrite/couponWriteReducer.js +0 -36
- package/lib/esm/view/invoicing/couponWrite/couponWriteSelector.js +0 -5
- package/lib/esm/view/invoicing/createInvoice/createInvoiceEpic.js +0 -23
- package/lib/esm/view/invoicing/createInvoice/createInvoiceReducer.js +0 -36
- package/lib/esm/view/invoicing/createInvoice/createInvoiceSelector.js +0 -5
- package/lib/esm/view/invoicing/creditNoteView/creditNoteViewEpics.js +0 -87
- package/lib/esm/view/invoicing/creditNoteView/creditNoteViewReducer.js +0 -105
- package/lib/esm/view/invoicing/creditNoteView/creditNoteViewSelector.js +0 -20
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +0 -63
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +0 -84
- package/lib/esm/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +0 -7
- package/lib/esm/view/invoicing/customerView/customerViewEpics.js +0 -71
- package/lib/esm/view/invoicing/customerView/customerViewReducer.js +0 -90
- package/lib/esm/view/invoicing/customerView/customerViewSelector.js +0 -17
- package/lib/esm/view/invoicing/customerWrite/customerWriteEpic.js +0 -23
- package/lib/esm/view/invoicing/customerWrite/customerWriteReducer.js +0 -36
- package/lib/esm/view/invoicing/customerWrite/customerWriteSelector.js +0 -5
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionEpic.js +0 -41
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionReducer.js +0 -73
- package/lib/esm/view/invoicing/dataImportAction/dataImportActionSelector.js +0 -5
- package/lib/esm/view/invoicing/dataImportView/dataImportViewEpics.js +0 -41
- package/lib/esm/view/invoicing/dataImportView/dataImportViewReducer.js +0 -66
- package/lib/esm/view/invoicing/dataImportView/dataImportViewSelector.js +0 -6
- package/lib/esm/view/invoicing/dunningAction/dunningActionEpic.js +0 -28
- package/lib/esm/view/invoicing/dunningAction/dunningActionReducer.js +0 -36
- package/lib/esm/view/invoicing/dunningAction/dunningActionSelector.js +0 -5
- package/lib/esm/view/invoicing/dunningCaseView/dunningCaseViewEpics.js +0 -85
- package/lib/esm/view/invoicing/dunningCaseView/dunningCaseViewReducer.js +0 -105
- package/lib/esm/view/invoicing/dunningCaseView/dunningCaseViewSelector.js +0 -20
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionEpic.js +0 -50
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionReducer.js +0 -42
- package/lib/esm/view/invoicing/invoiceAction/invoiceActionSelector.js +0 -5
- package/lib/esm/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +0 -20
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailReducer.js +0 -34
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailSelector.js +0 -9
- package/lib/esm/view/invoicing/invoiceDetail/invoiceDetailState.js +0 -1
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +0 -32
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +0 -17
- package/lib/esm/view/invoicing/invoiceList/fetchInvoiceListEpic.js +0 -55
- package/lib/esm/view/invoicing/invoiceList/invoiceListReducer.js +0 -90
- package/lib/esm/view/invoicing/invoiceList/invoiceListSelector.js +0 -11
- package/lib/esm/view/invoicing/invoiceList/invoiceListState.js +0 -1
- package/lib/esm/view/invoicing/invoicePdf/invoicePdfEpic.js +0 -37
- package/lib/esm/view/invoicing/invoicePdf/invoicePdfReducer.js +0 -33
- package/lib/esm/view/invoicing/invoicePdf/invoicePdfSelector.js +0 -5
- package/lib/esm/view/invoicing/invoicingApiHelper.js +0 -38
- package/lib/esm/view/invoicing/paymentAction/paymentActionEpic.js +0 -28
- package/lib/esm/view/invoicing/paymentAction/paymentActionReducer.js +0 -36
- package/lib/esm/view/invoicing/paymentAction/paymentActionSelector.js +0 -5
- package/lib/esm/view/invoicing/recordPayment/recordPaymentEpic.js +0 -23
- package/lib/esm/view/invoicing/recordPayment/recordPaymentReducer.js +0 -36
- package/lib/esm/view/invoicing/recordPayment/recordPaymentSelector.js +0 -5
- package/lib/esm/view/invoicing/reportsView/reportsViewEpics.js +0 -28
- package/lib/esm/view/invoicing/reportsView/reportsViewReducer.js +0 -54
- package/lib/esm/view/invoicing/reportsView/reportsViewSelector.js +0 -13
- package/lib/esm/view/invoicing/settingsView/settingsViewEpics.js +0 -53
- package/lib/esm/view/invoicing/settingsView/settingsViewReducer.js +0 -69
- package/lib/esm/view/invoicing/settingsView/settingsViewSelector.js +0 -7
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionEpic.js +0 -28
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionReducer.js +0 -36
- package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionSelector.js +0 -5
- package/lib/esm/view/invoicing/subscriptionView/subscriptionViewEpics.js +0 -85
- package/lib/esm/view/invoicing/subscriptionView/subscriptionViewReducer.js +0 -90
- package/lib/esm/view/invoicing/subscriptionView/subscriptionViewSelector.js +0 -19
- package/lib/esm/view/invoicing/subscriptionWrite/subscriptionWriteEpic.js +0 -25
- package/lib/esm/view/invoicing/subscriptionWrite/subscriptionWriteReducer.js +0 -36
- package/lib/esm/view/invoicing/subscriptionWrite/subscriptionWriteSelector.js +0 -5
- package/lib/esm/view/invoicing/transactionView/transactionViewEpics.js +0 -76
- package/lib/esm/view/invoicing/transactionView/transactionViewReducer.js +0 -90
- package/lib/esm/view/invoicing/transactionView/transactionViewSelector.js +0 -19
- package/lib/view/invoicing/analyticsView/analyticsViewEpics.d.ts +0 -7
- package/lib/view/invoicing/analyticsView/analyticsViewEpics.js +0 -46
- package/lib/view/invoicing/analyticsView/analyticsViewReducer.d.ts +0 -22
- package/lib/view/invoicing/analyticsView/analyticsViewReducer.js +0 -49
- package/lib/view/invoicing/analyticsView/analyticsViewSelector.d.ts +0 -10
- package/lib/view/invoicing/analyticsView/analyticsViewSelector.js +0 -20
- package/lib/view/invoicing/approvalAction/approvalActionEpic.d.ts +0 -8
- package/lib/view/invoicing/approvalAction/approvalActionEpic.js +0 -32
- package/lib/view/invoicing/approvalAction/approvalActionReducer.d.ts +0 -20
- package/lib/view/invoicing/approvalAction/approvalActionReducer.js +0 -40
- package/lib/view/invoicing/approvalAction/approvalActionSelector.d.ts +0 -3
- package/lib/view/invoicing/approvalAction/approvalActionSelector.js +0 -9
- package/lib/view/invoicing/approvalsView/approvalsViewEpics.d.ts +0 -7
- package/lib/view/invoicing/approvalsView/approvalsViewEpics.js +0 -41
- package/lib/view/invoicing/approvalsView/approvalsViewReducer.d.ts +0 -33
- package/lib/view/invoicing/approvalsView/approvalsViewReducer.js +0 -66
- package/lib/view/invoicing/approvalsView/approvalsViewSelector.d.ts +0 -9
- package/lib/view/invoicing/approvalsView/approvalsViewSelector.js +0 -16
- package/lib/view/invoicing/auditView/auditViewEpics.d.ts +0 -7
- package/lib/view/invoicing/auditView/auditViewEpics.js +0 -50
- package/lib/view/invoicing/auditView/auditViewReducer.d.ts +0 -36
- package/lib/view/invoicing/auditView/auditViewReducer.js +0 -60
- package/lib/view/invoicing/auditView/auditViewSelector.d.ts +0 -9
- package/lib/view/invoicing/auditView/auditViewSelector.js +0 -16
- package/lib/view/invoicing/catalogView/catalogViewEpics.d.ts +0 -14
- package/lib/view/invoicing/catalogView/catalogViewEpics.js +0 -152
- package/lib/view/invoicing/catalogView/catalogViewReducer.d.ts +0 -76
- package/lib/view/invoicing/catalogView/catalogViewReducer.js +0 -166
- package/lib/view/invoicing/catalogView/catalogViewSelector.d.ts +0 -22
- package/lib/view/invoicing/catalogView/catalogViewSelector.js +0 -52
- package/lib/view/invoicing/catalogWrite/catalogWriteEpic.d.ts +0 -9
- package/lib/view/invoicing/catalogWrite/catalogWriteEpic.js +0 -38
- package/lib/view/invoicing/catalogWrite/catalogWriteReducer.d.ts +0 -21
- package/lib/view/invoicing/catalogWrite/catalogWriteReducer.js +0 -43
- package/lib/view/invoicing/catalogWrite/catalogWriteSelector.d.ts +0 -6
- package/lib/view/invoicing/catalogWrite/catalogWriteSelector.js +0 -12
- package/lib/view/invoicing/couponView/couponViewEpics.d.ts +0 -11
- package/lib/view/invoicing/couponView/couponViewEpics.js +0 -90
- package/lib/view/invoicing/couponView/couponViewReducer.d.ts +0 -42
- package/lib/view/invoicing/couponView/couponViewReducer.js +0 -109
- package/lib/view/invoicing/couponView/couponViewSelector.d.ts +0 -14
- package/lib/view/invoicing/couponView/couponViewSelector.js +0 -31
- package/lib/view/invoicing/couponWrite/couponWriteEpic.d.ts +0 -8
- package/lib/view/invoicing/couponWrite/couponWriteEpic.js +0 -33
- package/lib/view/invoicing/couponWrite/couponWriteReducer.d.ts +0 -17
- package/lib/view/invoicing/couponWrite/couponWriteReducer.js +0 -40
- package/lib/view/invoicing/couponWrite/couponWriteSelector.d.ts +0 -4
- package/lib/view/invoicing/couponWrite/couponWriteSelector.js +0 -10
- package/lib/view/invoicing/createInvoice/createInvoiceEpic.d.ts +0 -8
- package/lib/view/invoicing/createInvoice/createInvoiceEpic.js +0 -27
- package/lib/view/invoicing/createInvoice/createInvoiceReducer.d.ts +0 -34
- package/lib/view/invoicing/createInvoice/createInvoiceReducer.js +0 -40
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.d.ts +0 -4
- package/lib/view/invoicing/createInvoice/createInvoiceSelector.js +0 -10
- package/lib/view/invoicing/creditNoteView/creditNoteViewEpics.d.ts +0 -11
- package/lib/view/invoicing/creditNoteView/creditNoteViewEpics.js +0 -94
- package/lib/view/invoicing/creditNoteView/creditNoteViewReducer.d.ts +0 -43
- package/lib/view/invoicing/creditNoteView/creditNoteViewReducer.js +0 -109
- package/lib/view/invoicing/creditNoteView/creditNoteViewSelector.d.ts +0 -14
- package/lib/view/invoicing/creditNoteView/creditNoteViewSelector.js +0 -33
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.d.ts +0 -11
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodEpic.js +0 -70
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.d.ts +0 -42
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodReducer.js +0 -88
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.d.ts +0 -10
- package/lib/view/invoicing/customerPaymentMethod/customerPaymentMethodSelector.js +0 -17
- package/lib/view/invoicing/customerView/customerViewEpics.d.ts +0 -10
- package/lib/view/invoicing/customerView/customerViewEpics.js +0 -77
- package/lib/view/invoicing/customerView/customerViewReducer.d.ts +0 -41
- package/lib/view/invoicing/customerView/customerViewReducer.js +0 -94
- package/lib/view/invoicing/customerView/customerViewSelector.d.ts +0 -13
- package/lib/view/invoicing/customerView/customerViewSelector.js +0 -29
- package/lib/view/invoicing/customerWrite/customerWriteEpic.d.ts +0 -8
- package/lib/view/invoicing/customerWrite/customerWriteEpic.js +0 -27
- package/lib/view/invoicing/customerWrite/customerWriteReducer.d.ts +0 -17
- package/lib/view/invoicing/customerWrite/customerWriteReducer.js +0 -40
- package/lib/view/invoicing/customerWrite/customerWriteSelector.d.ts +0 -4
- package/lib/view/invoicing/customerWrite/customerWriteSelector.js +0 -10
- package/lib/view/invoicing/dataImportAction/dataImportActionEpic.d.ts +0 -7
- package/lib/view/invoicing/dataImportAction/dataImportActionEpic.js +0 -45
- package/lib/view/invoicing/dataImportAction/dataImportActionReducer.d.ts +0 -23
- package/lib/view/invoicing/dataImportAction/dataImportActionReducer.js +0 -77
- package/lib/view/invoicing/dataImportAction/dataImportActionSelector.d.ts +0 -4
- package/lib/view/invoicing/dataImportAction/dataImportActionSelector.js +0 -9
- package/lib/view/invoicing/dataImportView/dataImportViewEpics.d.ts +0 -9
- package/lib/view/invoicing/dataImportView/dataImportViewEpics.js +0 -47
- package/lib/view/invoicing/dataImportView/dataImportViewReducer.d.ts +0 -15
- package/lib/view/invoicing/dataImportView/dataImportViewReducer.js +0 -70
- package/lib/view/invoicing/dataImportView/dataImportViewSelector.d.ts +0 -9
- package/lib/view/invoicing/dataImportView/dataImportViewSelector.js +0 -15
- package/lib/view/invoicing/dunningAction/dunningActionEpic.d.ts +0 -8
- package/lib/view/invoicing/dunningAction/dunningActionEpic.js +0 -32
- package/lib/view/invoicing/dunningAction/dunningActionReducer.d.ts +0 -21
- package/lib/view/invoicing/dunningAction/dunningActionReducer.js +0 -40
- package/lib/view/invoicing/dunningAction/dunningActionSelector.d.ts +0 -3
- package/lib/view/invoicing/dunningAction/dunningActionSelector.js +0 -9
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewEpics.d.ts +0 -11
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewEpics.js +0 -92
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewReducer.d.ts +0 -42
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewReducer.js +0 -109
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewSelector.d.ts +0 -14
- package/lib/view/invoicing/dunningCaseView/dunningCaseViewSelector.js +0 -33
- package/lib/view/invoicing/invoiceAction/invoiceActionEpic.d.ts +0 -9
- package/lib/view/invoicing/invoiceAction/invoiceActionEpic.js +0 -55
- package/lib/view/invoicing/invoiceAction/invoiceActionReducer.d.ts +0 -26
- package/lib/view/invoicing/invoiceAction/invoiceActionReducer.js +0 -46
- package/lib/view/invoicing/invoiceAction/invoiceActionSelector.d.ts +0 -3
- package/lib/view/invoicing/invoiceAction/invoiceActionSelector.js +0 -9
- package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.d.ts +0 -8
- package/lib/view/invoicing/invoiceDetail/fetchInvoiceDetailEpic.js +0 -24
- package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.d.ts +0 -11
- package/lib/view/invoicing/invoiceDetail/invoiceDetailReducer.js +0 -38
- package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.d.ts +0 -5
- package/lib/view/invoicing/invoiceDetail/invoiceDetailSelector.js +0 -14
- package/lib/view/invoicing/invoiceDetail/invoiceDetailState.d.ts +0 -4
- package/lib/view/invoicing/invoiceDetail/invoiceDetailState.js +0 -2
- package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.d.ts +0 -7
- package/lib/view/invoicing/invoiceList/fetchInvoiceCountsEpic.js +0 -36
- package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.d.ts +0 -7
- package/lib/view/invoicing/invoiceList/fetchInvoiceKPIsEpic.js +0 -21
- package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.d.ts +0 -8
- package/lib/view/invoicing/invoiceList/fetchInvoiceListEpic.js +0 -59
- package/lib/view/invoicing/invoiceList/invoiceListReducer.d.ts +0 -22
- package/lib/view/invoicing/invoiceList/invoiceListReducer.js +0 -94
- package/lib/view/invoicing/invoiceList/invoiceListSelector.d.ts +0 -11
- package/lib/view/invoicing/invoiceList/invoiceListSelector.js +0 -21
- package/lib/view/invoicing/invoiceList/invoiceListState.d.ts +0 -25
- package/lib/view/invoicing/invoiceList/invoiceListState.js +0 -2
- package/lib/view/invoicing/invoicePdf/invoicePdfEpic.d.ts +0 -7
- package/lib/view/invoicing/invoicePdf/invoicePdfEpic.js +0 -41
- package/lib/view/invoicing/invoicePdf/invoicePdfReducer.d.ts +0 -20
- package/lib/view/invoicing/invoicePdf/invoicePdfReducer.js +0 -37
- package/lib/view/invoicing/invoicePdf/invoicePdfSelector.d.ts +0 -3
- package/lib/view/invoicing/invoicePdf/invoicePdfSelector.js +0 -9
- package/lib/view/invoicing/invoicingApiHelper.d.ts +0 -22
- package/lib/view/invoicing/invoicingApiHelper.js +0 -44
- package/lib/view/invoicing/paymentAction/paymentActionEpic.d.ts +0 -8
- package/lib/view/invoicing/paymentAction/paymentActionEpic.js +0 -32
- package/lib/view/invoicing/paymentAction/paymentActionReducer.d.ts +0 -21
- package/lib/view/invoicing/paymentAction/paymentActionReducer.js +0 -40
- package/lib/view/invoicing/paymentAction/paymentActionSelector.d.ts +0 -3
- package/lib/view/invoicing/paymentAction/paymentActionSelector.js +0 -9
- package/lib/view/invoicing/recordPayment/recordPaymentEpic.d.ts +0 -8
- package/lib/view/invoicing/recordPayment/recordPaymentEpic.js +0 -27
- package/lib/view/invoicing/recordPayment/recordPaymentReducer.d.ts +0 -32
- package/lib/view/invoicing/recordPayment/recordPaymentReducer.js +0 -40
- package/lib/view/invoicing/recordPayment/recordPaymentSelector.d.ts +0 -4
- package/lib/view/invoicing/recordPayment/recordPaymentSelector.js +0 -10
- package/lib/view/invoicing/reportsView/reportsViewEpics.d.ts +0 -7
- package/lib/view/invoicing/reportsView/reportsViewEpics.js +0 -32
- package/lib/view/invoicing/reportsView/reportsViewReducer.d.ts +0 -20
- package/lib/view/invoicing/reportsView/reportsViewReducer.js +0 -58
- package/lib/view/invoicing/reportsView/reportsViewSelector.d.ts +0 -12
- package/lib/view/invoicing/reportsView/reportsViewSelector.js +0 -24
- package/lib/view/invoicing/settingsView/settingsViewEpics.d.ts +0 -10
- package/lib/view/invoicing/settingsView/settingsViewEpics.js +0 -60
- package/lib/view/invoicing/settingsView/settingsViewReducer.d.ts +0 -12
- package/lib/view/invoicing/settingsView/settingsViewReducer.js +0 -73
- package/lib/view/invoicing/settingsView/settingsViewSelector.d.ts +0 -7
- package/lib/view/invoicing/settingsView/settingsViewSelector.js +0 -14
- package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.d.ts +0 -8
- package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.js +0 -32
- package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.d.ts +0 -21
- package/lib/view/invoicing/subscriptionAction/subscriptionActionReducer.js +0 -40
- package/lib/view/invoicing/subscriptionAction/subscriptionActionSelector.d.ts +0 -3
- package/lib/view/invoicing/subscriptionAction/subscriptionActionSelector.js +0 -9
- package/lib/view/invoicing/subscriptionView/subscriptionViewEpics.d.ts +0 -10
- package/lib/view/invoicing/subscriptionView/subscriptionViewEpics.js +0 -91
- package/lib/view/invoicing/subscriptionView/subscriptionViewReducer.d.ts +0 -44
- package/lib/view/invoicing/subscriptionView/subscriptionViewReducer.js +0 -94
- package/lib/view/invoicing/subscriptionView/subscriptionViewSelector.d.ts +0 -13
- package/lib/view/invoicing/subscriptionView/subscriptionViewSelector.js +0 -31
- package/lib/view/invoicing/subscriptionWrite/subscriptionWriteEpic.d.ts +0 -8
- package/lib/view/invoicing/subscriptionWrite/subscriptionWriteEpic.js +0 -29
- package/lib/view/invoicing/subscriptionWrite/subscriptionWriteReducer.d.ts +0 -17
- package/lib/view/invoicing/subscriptionWrite/subscriptionWriteReducer.js +0 -40
- package/lib/view/invoicing/subscriptionWrite/subscriptionWriteSelector.d.ts +0 -4
- package/lib/view/invoicing/subscriptionWrite/subscriptionWriteSelector.js +0 -10
- package/lib/view/invoicing/transactionView/transactionViewEpics.d.ts +0 -10
- package/lib/view/invoicing/transactionView/transactionViewEpics.js +0 -82
- package/lib/view/invoicing/transactionView/transactionViewReducer.d.ts +0 -43
- package/lib/view/invoicing/transactionView/transactionViewReducer.js +0 -94
- package/lib/view/invoicing/transactionView/transactionViewSelector.d.ts +0 -13
- package/lib/view/invoicing/transactionView/transactionViewSelector.js +0 -31
package/lib/reducer.d.ts
CHANGED
|
@@ -32,15 +32,6 @@ import { ForecastState } from './entity/forecast/forecastState';
|
|
|
32
32
|
import { EntityState } from './entity/genericEntity/entityState';
|
|
33
33
|
import { GlobalMerchantState } from './entity/globalMerchant/globalMerchantState';
|
|
34
34
|
import { InsightState } from './entity/insights/insightState';
|
|
35
|
-
import { InvoicingCouponState } from './entity/invoicing/coupon/couponReducer';
|
|
36
|
-
import { InvoicingCreditNoteState } from './entity/invoicing/creditNote/creditNoteReducer';
|
|
37
|
-
import { InvoicingCustomerState } from './entity/invoicing/customer/customerReducer';
|
|
38
|
-
import { InvoicingDunningCaseState } from './entity/invoicing/dunningCase/dunningCaseReducer';
|
|
39
|
-
import { InvoiceState as InvoicingInvoiceState } from './entity/invoicing/invoice/invoiceState';
|
|
40
|
-
import { InvoicingPlanState } from './entity/invoicing/plan/planReducer';
|
|
41
|
-
import { InvoicingProductState } from './entity/invoicing/product/productReducer';
|
|
42
|
-
import { InvoicingSubscriptionState } from './entity/invoicing/subscription/subscriptionReducer';
|
|
43
|
-
import { InvoicingTransactionState } from './entity/invoicing/transaction/transactionReducer';
|
|
44
35
|
import { JESchedulesState } from './entity/jeSchedules/jeSchedulesState';
|
|
45
36
|
import { MerchantState } from './entity/merchant/merchant';
|
|
46
37
|
import { MonthEndCloseChecksState } from './entity/monthEndCloseChecks/monthEndCloseChecksState';
|
|
@@ -124,35 +115,6 @@ import { ForecastListState } from './view/forecastList/forecastListState';
|
|
|
124
115
|
import { GlobalMerchantAutoCompleteState } from './view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState';
|
|
125
116
|
import { GlobalMerchantViewState } from './view/globalMerchantView/globalMerchantViewState';
|
|
126
117
|
import { InsightsCardState } from './view/insightsCard/insightsCardState';
|
|
127
|
-
import { InvoicingAnalyticsViewState } from './view/invoicing/analyticsView/analyticsViewReducer';
|
|
128
|
-
import { InvoicingApprovalActionState } from './view/invoicing/approvalAction/approvalActionReducer';
|
|
129
|
-
import { InvoicingApprovalsViewState } from './view/invoicing/approvalsView/approvalsViewReducer';
|
|
130
|
-
import { InvoicingAuditViewState } from './view/invoicing/auditView/auditViewReducer';
|
|
131
|
-
import { InvoicingCatalogViewState } from './view/invoicing/catalogView/catalogViewReducer';
|
|
132
|
-
import { InvoicingCatalogWriteState } from './view/invoicing/catalogWrite/catalogWriteReducer';
|
|
133
|
-
import { InvoicingCouponWriteState } from './view/invoicing/couponWrite/couponWriteReducer';
|
|
134
|
-
import { InvoicingCouponViewState } from './view/invoicing/couponView/couponViewReducer';
|
|
135
|
-
import { CreateInvoiceState as InvoicingCreateInvoiceState } from './view/invoicing/createInvoice/createInvoiceReducer';
|
|
136
|
-
import { InvoicingCreditNoteViewState } from './view/invoicing/creditNoteView/creditNoteViewReducer';
|
|
137
|
-
import { InvoicingCustomerPaymentMethodState } from './view/invoicing/customerPaymentMethod/customerPaymentMethodReducer';
|
|
138
|
-
import { InvoicingCustomerViewState } from './view/invoicing/customerView/customerViewReducer';
|
|
139
|
-
import { InvoicingCustomerWriteState } from './view/invoicing/customerWrite/customerWriteReducer';
|
|
140
|
-
import { InvoicingDataImportActionState } from './view/invoicing/dataImportAction/dataImportActionReducer';
|
|
141
|
-
import { InvoicingDataImportViewState } from './view/invoicing/dataImportView/dataImportViewReducer';
|
|
142
|
-
import { InvoicingDunningActionState } from './view/invoicing/dunningAction/dunningActionReducer';
|
|
143
|
-
import { InvoicingDunningCaseViewState } from './view/invoicing/dunningCaseView/dunningCaseViewReducer';
|
|
144
|
-
import { InvoicingInvoiceActionState } from './view/invoicing/invoiceAction/invoiceActionReducer';
|
|
145
|
-
import { InvoiceDetailState as InvoicingInvoiceDetailState } from './view/invoicing/invoiceDetail/invoiceDetailState';
|
|
146
|
-
import { InvoiceListState as InvoicingInvoiceListState } from './view/invoicing/invoiceList/invoiceListState';
|
|
147
|
-
import { InvoicingInvoicePdfState } from './view/invoicing/invoicePdf/invoicePdfReducer';
|
|
148
|
-
import { InvoicingPaymentActionState } from './view/invoicing/paymentAction/paymentActionReducer';
|
|
149
|
-
import { RecordPaymentState as InvoicingRecordPaymentState } from './view/invoicing/recordPayment/recordPaymentReducer';
|
|
150
|
-
import { InvoicingReportsViewState } from './view/invoicing/reportsView/reportsViewReducer';
|
|
151
|
-
import { InvoicingSettingsViewState } from './view/invoicing/settingsView/settingsViewReducer';
|
|
152
|
-
import { InvoicingSubscriptionActionState } from './view/invoicing/subscriptionAction/subscriptionActionReducer';
|
|
153
|
-
import { InvoicingSubscriptionViewState } from './view/invoicing/subscriptionView/subscriptionViewReducer';
|
|
154
|
-
import { InvoicingSubscriptionWriteState } from './view/invoicing/subscriptionWrite/subscriptionWriteReducer';
|
|
155
|
-
import { InvoicingTransactionViewState } from './view/invoicing/transactionView/transactionViewReducer';
|
|
156
118
|
import { MonthEndCloseChecksViewState } from './view/monthEndCloseChecksView/monthEndCloseChecksViewState';
|
|
157
119
|
import { NetBurnOrIncomeWithForecastState } from './view/netBurnOrIncome/netBurnOrIncomeState';
|
|
158
120
|
import { NetBurnOrIncomeClassesViewState } from './view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewState';
|
|
@@ -300,15 +262,6 @@ type EntitiesState = {
|
|
|
300
262
|
forecastState: ForecastState;
|
|
301
263
|
globalMerchantState: GlobalMerchantState;
|
|
302
264
|
insightState: InsightState;
|
|
303
|
-
invoicingCouponState: InvoicingCouponState;
|
|
304
|
-
invoicingCreditNoteState: InvoicingCreditNoteState;
|
|
305
|
-
invoicingCustomerState: InvoicingCustomerState;
|
|
306
|
-
invoicingDunningCaseState: InvoicingDunningCaseState;
|
|
307
|
-
invoicingInvoiceState: InvoicingInvoiceState;
|
|
308
|
-
invoicingPlanState: InvoicingPlanState;
|
|
309
|
-
invoicingProductState: InvoicingProductState;
|
|
310
|
-
invoicingSubscriptionState: InvoicingSubscriptionState;
|
|
311
|
-
invoicingTransactionState: InvoicingTransactionState;
|
|
312
265
|
jeSchedulesState: JESchedulesState;
|
|
313
266
|
merchantState: MerchantState;
|
|
314
267
|
monthEndCloseChecksState: MonthEndCloseChecksState;
|
|
@@ -428,35 +381,6 @@ type ViewsState = {
|
|
|
428
381
|
insightsCardState: InsightsCardState;
|
|
429
382
|
internationalWireState: InternationalWireState;
|
|
430
383
|
internationalWireVerificationState: InternationalWireVerificationState;
|
|
431
|
-
invoicingAnalyticsViewState: InvoicingAnalyticsViewState;
|
|
432
|
-
invoicingApprovalActionState: InvoicingApprovalActionState;
|
|
433
|
-
invoicingApprovalsViewState: InvoicingApprovalsViewState;
|
|
434
|
-
invoicingAuditViewState: InvoicingAuditViewState;
|
|
435
|
-
invoicingCatalogViewState: InvoicingCatalogViewState;
|
|
436
|
-
invoicingCatalogWriteState: InvoicingCatalogWriteState;
|
|
437
|
-
invoicingCouponViewState: InvoicingCouponViewState;
|
|
438
|
-
invoicingCouponWriteState: InvoicingCouponWriteState;
|
|
439
|
-
invoicingCreateInvoiceState: InvoicingCreateInvoiceState;
|
|
440
|
-
invoicingCreditNoteViewState: InvoicingCreditNoteViewState;
|
|
441
|
-
invoicingCustomerPaymentMethodState: InvoicingCustomerPaymentMethodState;
|
|
442
|
-
invoicingCustomerViewState: InvoicingCustomerViewState;
|
|
443
|
-
invoicingCustomerWriteState: InvoicingCustomerWriteState;
|
|
444
|
-
invoicingDataImportActionState: InvoicingDataImportActionState;
|
|
445
|
-
invoicingDataImportViewState: InvoicingDataImportViewState;
|
|
446
|
-
invoicingDunningActionState: InvoicingDunningActionState;
|
|
447
|
-
invoicingDunningCaseViewState: InvoicingDunningCaseViewState;
|
|
448
|
-
invoicingInvoiceActionState: InvoicingInvoiceActionState;
|
|
449
|
-
invoicingInvoiceDetailState: InvoicingInvoiceDetailState;
|
|
450
|
-
invoicingInvoiceListState: InvoicingInvoiceListState;
|
|
451
|
-
invoicingInvoicePdfState: InvoicingInvoicePdfState;
|
|
452
|
-
invoicingPaymentActionState: InvoicingPaymentActionState;
|
|
453
|
-
invoicingRecordPaymentState: InvoicingRecordPaymentState;
|
|
454
|
-
invoicingReportsViewState: InvoicingReportsViewState;
|
|
455
|
-
invoicingSettingsViewState: InvoicingSettingsViewState;
|
|
456
|
-
invoicingSubscriptionActionState: InvoicingSubscriptionActionState;
|
|
457
|
-
invoicingSubscriptionViewState: InvoicingSubscriptionViewState;
|
|
458
|
-
invoicingSubscriptionWriteState: InvoicingSubscriptionWriteState;
|
|
459
|
-
invoicingTransactionViewState: InvoicingTransactionViewState;
|
|
460
384
|
issueChargeCardState: IssueChargeCardState;
|
|
461
385
|
magicLinkViewState: MagicLinkViewState;
|
|
462
386
|
merchantListState: MerchantListState;
|
|
@@ -621,35 +545,6 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
621
545
|
globalMerchantAutoCompleteState: GlobalMerchantAutoCompleteState;
|
|
622
546
|
globalMerchantViewState: GlobalMerchantViewState;
|
|
623
547
|
insightsCardState: InsightsCardState;
|
|
624
|
-
invoicingAnalyticsViewState: InvoicingAnalyticsViewState;
|
|
625
|
-
invoicingApprovalActionState: InvoicingApprovalActionState;
|
|
626
|
-
invoicingApprovalsViewState: InvoicingApprovalsViewState;
|
|
627
|
-
invoicingAuditViewState: InvoicingAuditViewState;
|
|
628
|
-
invoicingCatalogViewState: InvoicingCatalogViewState;
|
|
629
|
-
invoicingCatalogWriteState: InvoicingCatalogWriteState;
|
|
630
|
-
invoicingCouponWriteState: InvoicingCouponWriteState;
|
|
631
|
-
invoicingCouponViewState: InvoicingCouponViewState;
|
|
632
|
-
invoicingCreditNoteViewState: InvoicingCreditNoteViewState;
|
|
633
|
-
invoicingCreateInvoiceState: InvoicingCreateInvoiceState;
|
|
634
|
-
invoicingRecordPaymentState: InvoicingRecordPaymentState;
|
|
635
|
-
invoicingCustomerPaymentMethodState: InvoicingCustomerPaymentMethodState;
|
|
636
|
-
invoicingCustomerViewState: InvoicingCustomerViewState;
|
|
637
|
-
invoicingCustomerWriteState: InvoicingCustomerWriteState;
|
|
638
|
-
invoicingDataImportActionState: InvoicingDataImportActionState;
|
|
639
|
-
invoicingDataImportViewState: InvoicingDataImportViewState;
|
|
640
|
-
invoicingDunningActionState: InvoicingDunningActionState;
|
|
641
|
-
invoicingDunningCaseViewState: InvoicingDunningCaseViewState;
|
|
642
|
-
invoicingInvoiceActionState: InvoicingInvoiceActionState;
|
|
643
|
-
invoicingInvoiceDetailState: InvoicingInvoiceDetailState;
|
|
644
|
-
invoicingInvoiceListState: InvoicingInvoiceListState;
|
|
645
|
-
invoicingInvoicePdfState: InvoicingInvoicePdfState;
|
|
646
|
-
invoicingPaymentActionState: InvoicingPaymentActionState;
|
|
647
|
-
invoicingReportsViewState: InvoicingReportsViewState;
|
|
648
|
-
invoicingSettingsViewState: InvoicingSettingsViewState;
|
|
649
|
-
invoicingSubscriptionActionState: InvoicingSubscriptionActionState;
|
|
650
|
-
invoicingSubscriptionViewState: InvoicingSubscriptionViewState;
|
|
651
|
-
invoicingSubscriptionWriteState: InvoicingSubscriptionWriteState;
|
|
652
|
-
invoicingTransactionViewState: InvoicingTransactionViewState;
|
|
653
548
|
internationalWireState: InternationalWireState;
|
|
654
549
|
issueChargeCardState: IssueChargeCardState;
|
|
655
550
|
internationalWireVerificationState: InternationalWireVerificationState;
|
|
@@ -771,15 +666,6 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
771
666
|
forecastState: ForecastState;
|
|
772
667
|
globalMerchantState: GlobalMerchantState;
|
|
773
668
|
insightState: InsightState;
|
|
774
|
-
invoicingCouponState: InvoicingCouponState;
|
|
775
|
-
invoicingCreditNoteState: InvoicingCreditNoteState;
|
|
776
|
-
invoicingCustomerState: InvoicingCustomerState;
|
|
777
|
-
invoicingDunningCaseState: InvoicingDunningCaseState;
|
|
778
|
-
invoicingInvoiceState: InvoicingInvoiceState;
|
|
779
|
-
invoicingPlanState: InvoicingPlanState;
|
|
780
|
-
invoicingProductState: InvoicingProductState;
|
|
781
|
-
invoicingSubscriptionState: InvoicingSubscriptionState;
|
|
782
|
-
invoicingTransactionState: InvoicingTransactionState;
|
|
783
669
|
jeSchedulesState: JESchedulesState;
|
|
784
670
|
merchantState: MerchantState;
|
|
785
671
|
monthEndCloseChecksState: MonthEndCloseChecksState;
|
package/lib/reducer.js
CHANGED
|
@@ -72,15 +72,6 @@ const forecastReducer_1 = __importStar(require("./entity/forecast/forecastReduce
|
|
|
72
72
|
const entityReducer_1 = __importStar(require("./entity/genericEntity/entityReducer"));
|
|
73
73
|
const globalMerchantReducer_1 = __importStar(require("./entity/globalMerchant/globalMerchantReducer"));
|
|
74
74
|
const insightReducer_1 = __importStar(require("./entity/insights/insightReducer"));
|
|
75
|
-
const couponReducer_1 = __importStar(require("./entity/invoicing/coupon/couponReducer"));
|
|
76
|
-
const creditNoteReducer_1 = __importStar(require("./entity/invoicing/creditNote/creditNoteReducer"));
|
|
77
|
-
const customerReducer_2 = __importStar(require("./entity/invoicing/customer/customerReducer"));
|
|
78
|
-
const dunningCaseReducer_1 = __importStar(require("./entity/invoicing/dunningCase/dunningCaseReducer"));
|
|
79
|
-
const invoiceReducer_1 = __importStar(require("./entity/invoicing/invoice/invoiceReducer"));
|
|
80
|
-
const planReducer_1 = __importStar(require("./entity/invoicing/plan/planReducer"));
|
|
81
|
-
const productReducer_1 = __importStar(require("./entity/invoicing/product/productReducer"));
|
|
82
|
-
const subscriptionReducer_1 = __importStar(require("./entity/invoicing/subscription/subscriptionReducer"));
|
|
83
|
-
const transactionReducer_1 = __importStar(require("./entity/invoicing/transaction/transactionReducer"));
|
|
84
75
|
const jeSchedulesReducer_1 = __importStar(require("./entity/jeSchedules/jeSchedulesReducer"));
|
|
85
76
|
const merchantReducer_1 = __importStar(require("./entity/merchant/merchantReducer"));
|
|
86
77
|
const monthEndCloseChecksReducer_1 = __importStar(require("./entity/monthEndCloseChecks/monthEndCloseChecksReducer"));
|
|
@@ -95,7 +86,7 @@ const sectionAccountsViewReducer_1 = __importStar(require("./entity/sectionAccou
|
|
|
95
86
|
const sectionClassesViewReducer_1 = __importStar(require("./entity/sectionClassesViewV2/sectionClassesViewReducer"));
|
|
96
87
|
const sectionProjectViewReducer_1 = __importStar(require("./entity/sectionProjectView/sectionProjectViewReducer"));
|
|
97
88
|
const snackbarReducer_1 = __importStar(require("./entity/snackbar/snackbarReducer"));
|
|
98
|
-
const
|
|
89
|
+
const subscriptionReducer_1 = __importStar(require("./entity/subscription/subscription/subscriptionReducer"));
|
|
99
90
|
const subscriptionAddOnReducer_1 = __importStar(require("./entity/subscription/subscriptionAddOn/subscriptionAddOnReducer"));
|
|
100
91
|
const subscriptionCouponReducer_1 = __importStar(require("./entity/subscription/subscriptionCoupon/subscriptionCouponReducer"));
|
|
101
92
|
const subscriptionPlanReducer_1 = __importStar(require("./entity/subscription/subscriptionPlan/subscriptionPlanReducer"));
|
|
@@ -108,7 +99,7 @@ const taskGroupTemplateReducer_1 = __importStar(require("./entity/taskGroupTempl
|
|
|
108
99
|
const taskSummaryReducer_1 = __importStar(require("./entity/taskSummary/taskSummaryReducer"));
|
|
109
100
|
const tenantReducer_1 = __importStar(require("./entity/tenant/tenantReducer"));
|
|
110
101
|
const toastNotificationReducer_1 = __importStar(require("./entity/toastNotification/toastNotificationReducer"));
|
|
111
|
-
const
|
|
102
|
+
const transactionReducer_1 = __importStar(require("./entity/transaction/transactionReducer"));
|
|
112
103
|
const transactionActivityLogReducer_1 = __importStar(require("./entity/transactionActivityLog/transactionActivityLogReducer"));
|
|
113
104
|
const userReducer_1 = __importStar(require("./entity/user/userReducer"));
|
|
114
105
|
const userGroupsReducer_1 = __importStar(require("./entity/userGroups/userGroupsReducer"));
|
|
@@ -165,35 +156,6 @@ const forecastListReducer_1 = __importStar(require("./view/forecastList/forecast
|
|
|
165
156
|
const globalMerchantAutoCompleteViewReducer_1 = __importStar(require("./view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer"));
|
|
166
157
|
const globalMerchantViewReducer_1 = __importStar(require("./view/globalMerchantView/globalMerchantViewReducer"));
|
|
167
158
|
const insightsCardReducer_1 = __importStar(require("./view/insightsCard/insightsCardReducer"));
|
|
168
|
-
const analyticsViewReducer_1 = __importStar(require("./view/invoicing/analyticsView/analyticsViewReducer"));
|
|
169
|
-
const approvalActionReducer_1 = __importStar(require("./view/invoicing/approvalAction/approvalActionReducer"));
|
|
170
|
-
const approvalsViewReducer_1 = __importStar(require("./view/invoicing/approvalsView/approvalsViewReducer"));
|
|
171
|
-
const auditViewReducer_1 = __importStar(require("./view/invoicing/auditView/auditViewReducer"));
|
|
172
|
-
const catalogViewReducer_1 = __importStar(require("./view/invoicing/catalogView/catalogViewReducer"));
|
|
173
|
-
const catalogWriteReducer_1 = __importStar(require("./view/invoicing/catalogWrite/catalogWriteReducer"));
|
|
174
|
-
const couponWriteReducer_1 = __importStar(require("./view/invoicing/couponWrite/couponWriteReducer"));
|
|
175
|
-
const couponViewReducer_1 = __importStar(require("./view/invoicing/couponView/couponViewReducer"));
|
|
176
|
-
const createInvoiceReducer_1 = __importStar(require("./view/invoicing/createInvoice/createInvoiceReducer"));
|
|
177
|
-
const creditNoteViewReducer_1 = __importStar(require("./view/invoicing/creditNoteView/creditNoteViewReducer"));
|
|
178
|
-
const customerPaymentMethodReducer_1 = __importStar(require("./view/invoicing/customerPaymentMethod/customerPaymentMethodReducer"));
|
|
179
|
-
const customerViewReducer_1 = __importStar(require("./view/invoicing/customerView/customerViewReducer"));
|
|
180
|
-
const customerWriteReducer_1 = __importStar(require("./view/invoicing/customerWrite/customerWriteReducer"));
|
|
181
|
-
const dataImportActionReducer_1 = __importStar(require("./view/invoicing/dataImportAction/dataImportActionReducer"));
|
|
182
|
-
const dataImportViewReducer_1 = __importStar(require("./view/invoicing/dataImportView/dataImportViewReducer"));
|
|
183
|
-
const dunningActionReducer_1 = __importStar(require("./view/invoicing/dunningAction/dunningActionReducer"));
|
|
184
|
-
const dunningCaseViewReducer_1 = __importStar(require("./view/invoicing/dunningCaseView/dunningCaseViewReducer"));
|
|
185
|
-
const invoiceActionReducer_1 = __importStar(require("./view/invoicing/invoiceAction/invoiceActionReducer"));
|
|
186
|
-
const invoiceDetailReducer_1 = __importStar(require("./view/invoicing/invoiceDetail/invoiceDetailReducer"));
|
|
187
|
-
const invoiceListReducer_1 = __importStar(require("./view/invoicing/invoiceList/invoiceListReducer"));
|
|
188
|
-
const invoicePdfReducer_1 = __importStar(require("./view/invoicing/invoicePdf/invoicePdfReducer"));
|
|
189
|
-
const paymentActionReducer_1 = __importStar(require("./view/invoicing/paymentAction/paymentActionReducer"));
|
|
190
|
-
const recordPaymentReducer_1 = __importStar(require("./view/invoicing/recordPayment/recordPaymentReducer"));
|
|
191
|
-
const reportsViewReducer_1 = __importStar(require("./view/invoicing/reportsView/reportsViewReducer"));
|
|
192
|
-
const settingsViewReducer_1 = __importStar(require("./view/invoicing/settingsView/settingsViewReducer"));
|
|
193
|
-
const subscriptionActionReducer_1 = __importStar(require("./view/invoicing/subscriptionAction/subscriptionActionReducer"));
|
|
194
|
-
const subscriptionViewReducer_1 = __importStar(require("./view/invoicing/subscriptionView/subscriptionViewReducer"));
|
|
195
|
-
const subscriptionWriteReducer_1 = __importStar(require("./view/invoicing/subscriptionWrite/subscriptionWriteReducer"));
|
|
196
|
-
const transactionViewReducer_1 = __importStar(require("./view/invoicing/transactionView/transactionViewReducer"));
|
|
197
159
|
const monthEndCloseChecksViewReducer_1 = __importStar(require("./view/monthEndCloseChecksView/monthEndCloseChecksViewReducer"));
|
|
198
160
|
const netBurnOrIncomeReducer_1 = __importStar(require("./view/netBurnOrIncome/netBurnOrIncomeReducer"));
|
|
199
161
|
const netBurnOrIncomeClassesViewReducer_1 = __importStar(require("./view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer"));
|
|
@@ -221,7 +183,7 @@ const reviewCompanyViewReducer_1 = __importStar(require("./view/reviewCompanyVie
|
|
|
221
183
|
const scheduleAccruedDetailReducer_1 = __importStar(require("./view/scheduleView/scheduleAccruedDetailView/scheduleAccruedDetailReducer"));
|
|
222
184
|
const scheduleDetailReducer_1 = __importStar(require("./view/scheduleView/scheduleDetailView/scheduleDetailReducer"));
|
|
223
185
|
const scheduleListReducer_1 = __importStar(require("./view/scheduleView/scheduleListView/scheduleListReducer"));
|
|
224
|
-
const
|
|
186
|
+
const settingsViewReducer_1 = __importStar(require("./view/settingsView/settingsViewReducer"));
|
|
225
187
|
const autoTransferRulesReducer_1 = __importStar(require("./view/spendManagement/autotransferRules/autoTransferRulesReducer"));
|
|
226
188
|
const billDetailViewReducer_1 = __importStar(require("./view/spendManagement/billPay/billDetailView/billDetailViewReducer"));
|
|
227
189
|
const billListReducer_1 = __importStar(require("./view/spendManagement/billPay/billList/billListReducer"));
|
|
@@ -278,7 +240,7 @@ const transferDetailReducer_1 = __importStar(require("./view/spendManagement/zen
|
|
|
278
240
|
const zeniAccountListReducer_1 = __importStar(require("./view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListReducer"));
|
|
279
241
|
const zeniAccountSetupViewReducer_1 = __importStar(require("./view/spendManagement/zeniAccounts/zeniAccountSetUp/zeniAccountSetupViewReducer"));
|
|
280
242
|
const zeniAccountsConfigReducer_1 = __importStar(require("./view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer"));
|
|
281
|
-
const
|
|
243
|
+
const subscriptionViewReducer_1 = __importStar(require("./view/subscriptionView/subscriptionViewReducer"));
|
|
282
244
|
const tagViewReducer_1 = __importStar(require("./view/tagView/tagViewReducer"));
|
|
283
245
|
const cannedResponsesReducer_1 = __importStar(require("./view/taskManager/cannedResponsesView/cannedResponsesReducer"));
|
|
284
246
|
const taskDetailReducer_1 = __importStar(require("./view/taskManager/taskDetailView/taskDetailReducer"));
|
|
@@ -343,15 +305,6 @@ const initialEntitiesState = {
|
|
|
343
305
|
forecastState: forecastReducer_1.initialState,
|
|
344
306
|
globalMerchantState: globalMerchantReducer_1.initialState,
|
|
345
307
|
insightState: insightReducer_1.initialState,
|
|
346
|
-
invoicingCouponState: couponReducer_1.initialState,
|
|
347
|
-
invoicingCreditNoteState: creditNoteReducer_1.initialState,
|
|
348
|
-
invoicingCustomerState: customerReducer_2.initialState,
|
|
349
|
-
invoicingDunningCaseState: dunningCaseReducer_1.initialState,
|
|
350
|
-
invoicingInvoiceState: invoiceReducer_1.initialState,
|
|
351
|
-
invoicingPlanState: planReducer_1.initialState,
|
|
352
|
-
invoicingProductState: productReducer_1.initialState,
|
|
353
|
-
invoicingSubscriptionState: subscriptionReducer_1.initialState,
|
|
354
|
-
invoicingTransactionState: transactionReducer_1.initialState,
|
|
355
308
|
jeSchedulesState: jeSchedulesReducer_1.initialState,
|
|
356
309
|
merchantState: merchantReducer_1.initialState,
|
|
357
310
|
monthEndCloseChecksState: monthEndCloseChecksReducer_1.initialState,
|
|
@@ -370,7 +323,7 @@ const initialEntitiesState = {
|
|
|
370
323
|
subscriptionCouponState: subscriptionCouponReducer_1.initialState,
|
|
371
324
|
subscriptionPaymentAccountState: subscriptionPaymentAccountReducer_1.initialState,
|
|
372
325
|
subscriptionPlanState: subscriptionPlanReducer_1.initialState,
|
|
373
|
-
subscriptionState:
|
|
326
|
+
subscriptionState: subscriptionReducer_1.initialState,
|
|
374
327
|
subscriptionSummaryState: subscriptionSummaryReducer_1.initialState,
|
|
375
328
|
tagState: tagReducer_1.initialState,
|
|
376
329
|
taskGroupState: taskGroupReducer_1.initialState,
|
|
@@ -380,7 +333,7 @@ const initialEntitiesState = {
|
|
|
380
333
|
tenantState: tenantReducer_1.initialState,
|
|
381
334
|
toastNotificationState: toastNotificationReducer_1.initialState,
|
|
382
335
|
transactionActivityLogState: transactionActivityLogReducer_1.initialState,
|
|
383
|
-
transactionState:
|
|
336
|
+
transactionState: transactionReducer_1.initialState,
|
|
384
337
|
userGroupsState: userGroupsReducer_1.initialState,
|
|
385
338
|
userRoleState: userRoleReducer_1.initialState,
|
|
386
339
|
userState: userReducer_1.initialState,
|
|
@@ -468,35 +421,6 @@ const initialViewsState = {
|
|
|
468
421
|
globalMerchantAutoCompleteState: globalMerchantAutoCompleteViewReducer_1.initialState,
|
|
469
422
|
globalMerchantViewState: globalMerchantViewReducer_1.initialState,
|
|
470
423
|
insightsCardState: insightsCardReducer_1.initialState,
|
|
471
|
-
invoicingAnalyticsViewState: analyticsViewReducer_1.initialState,
|
|
472
|
-
invoicingApprovalActionState: approvalActionReducer_1.initialState,
|
|
473
|
-
invoicingApprovalsViewState: approvalsViewReducer_1.initialState,
|
|
474
|
-
invoicingAuditViewState: auditViewReducer_1.initialState,
|
|
475
|
-
invoicingCatalogViewState: catalogViewReducer_1.initialState,
|
|
476
|
-
invoicingCatalogWriteState: catalogWriteReducer_1.initialState,
|
|
477
|
-
invoicingCouponWriteState: couponWriteReducer_1.initialState,
|
|
478
|
-
invoicingCouponViewState: couponViewReducer_1.initialState,
|
|
479
|
-
invoicingCreditNoteViewState: creditNoteViewReducer_1.initialState,
|
|
480
|
-
invoicingCreateInvoiceState: createInvoiceReducer_1.initialState,
|
|
481
|
-
invoicingRecordPaymentState: recordPaymentReducer_1.initialState,
|
|
482
|
-
invoicingCustomerPaymentMethodState: customerPaymentMethodReducer_1.initialState,
|
|
483
|
-
invoicingCustomerViewState: customerViewReducer_1.initialState,
|
|
484
|
-
invoicingCustomerWriteState: customerWriteReducer_1.initialState,
|
|
485
|
-
invoicingDataImportActionState: dataImportActionReducer_1.initialState,
|
|
486
|
-
invoicingDataImportViewState: dataImportViewReducer_1.initialState,
|
|
487
|
-
invoicingDunningActionState: dunningActionReducer_1.initialState,
|
|
488
|
-
invoicingDunningCaseViewState: dunningCaseViewReducer_1.initialState,
|
|
489
|
-
invoicingInvoiceActionState: invoiceActionReducer_1.initialState,
|
|
490
|
-
invoicingInvoiceDetailState: invoiceDetailReducer_1.initialState,
|
|
491
|
-
invoicingInvoiceListState: invoiceListReducer_1.initialState,
|
|
492
|
-
invoicingInvoicePdfState: invoicePdfReducer_1.initialState,
|
|
493
|
-
invoicingPaymentActionState: paymentActionReducer_1.initialState,
|
|
494
|
-
invoicingReportsViewState: reportsViewReducer_1.initialState,
|
|
495
|
-
invoicingSettingsViewState: settingsViewReducer_1.initialState,
|
|
496
|
-
invoicingSubscriptionActionState: subscriptionActionReducer_1.initialState,
|
|
497
|
-
invoicingSubscriptionViewState: subscriptionViewReducer_1.initialState,
|
|
498
|
-
invoicingSubscriptionWriteState: subscriptionWriteReducer_1.initialState,
|
|
499
|
-
invoicingTransactionViewState: transactionViewReducer_1.initialState,
|
|
500
424
|
internationalWireState: internationalWireReducer_1.initialState,
|
|
501
425
|
issueChargeCardState: issueChargeCardReducer_1.initialState,
|
|
502
426
|
internationalWireVerificationState: internationalWireVerificationReducer_1.initialState,
|
|
@@ -538,9 +462,9 @@ const initialViewsState = {
|
|
|
538
462
|
scheduleAccruedDetailState: scheduleAccruedDetailReducer_1.initialState,
|
|
539
463
|
scheduleDetailState: scheduleDetailReducer_1.initialState,
|
|
540
464
|
scheduleListState: scheduleListReducer_1.initialState,
|
|
541
|
-
settingsViewState:
|
|
465
|
+
settingsViewState: settingsViewReducer_1.initialState,
|
|
542
466
|
setupViewState: setupViewReducer_1.initialState,
|
|
543
|
-
subscriptionViewState:
|
|
467
|
+
subscriptionViewState: subscriptionViewReducer_1.initialState,
|
|
544
468
|
tagViewState: tagViewReducer_1.initialState,
|
|
545
469
|
cannedResponsesState: cannedResponsesReducer_1.initialState,
|
|
546
470
|
taskDetailState: taskDetailReducer_1.initialState,
|
|
@@ -624,15 +548,6 @@ const entityReducers = {
|
|
|
624
548
|
forecastState: forecastReducer_1.default,
|
|
625
549
|
globalMerchantState: globalMerchantReducer_1.default,
|
|
626
550
|
insightState: insightReducer_1.default,
|
|
627
|
-
invoicingCouponState: couponReducer_1.default,
|
|
628
|
-
invoicingCreditNoteState: creditNoteReducer_1.default,
|
|
629
|
-
invoicingCustomerState: customerReducer_2.default,
|
|
630
|
-
invoicingDunningCaseState: dunningCaseReducer_1.default,
|
|
631
|
-
invoicingInvoiceState: invoiceReducer_1.default,
|
|
632
|
-
invoicingPlanState: planReducer_1.default,
|
|
633
|
-
invoicingProductState: productReducer_1.default,
|
|
634
|
-
invoicingSubscriptionState: subscriptionReducer_1.default,
|
|
635
|
-
invoicingTransactionState: transactionReducer_1.default,
|
|
636
551
|
jeSchedulesState: jeSchedulesReducer_1.default,
|
|
637
552
|
merchantState: merchantReducer_1.default,
|
|
638
553
|
monthEndCloseChecksState: monthEndCloseChecksReducer_1.default,
|
|
@@ -651,7 +566,7 @@ const entityReducers = {
|
|
|
651
566
|
subscriptionCouponState: subscriptionCouponReducer_1.default,
|
|
652
567
|
subscriptionPaymentAccountState: subscriptionPaymentAccountReducer_1.default,
|
|
653
568
|
subscriptionPlanState: subscriptionPlanReducer_1.default,
|
|
654
|
-
subscriptionState:
|
|
569
|
+
subscriptionState: subscriptionReducer_1.default,
|
|
655
570
|
subscriptionSummaryState: subscriptionSummaryReducer_1.default,
|
|
656
571
|
tagState: tagReducer_1.default,
|
|
657
572
|
taskGroupState: taskGroupReducer_1.default,
|
|
@@ -661,7 +576,7 @@ const entityReducers = {
|
|
|
661
576
|
tenantState: tenantReducer_1.default,
|
|
662
577
|
toastNotificationState: toastNotificationReducer_1.default,
|
|
663
578
|
transactionActivityLogState: transactionActivityLogReducer_1.default,
|
|
664
|
-
transactionState:
|
|
579
|
+
transactionState: transactionReducer_1.default,
|
|
665
580
|
userGroupsState: userGroupsReducer_1.default,
|
|
666
581
|
userRoleState: userRoleReducer_1.default,
|
|
667
582
|
userState: userReducer_1.default,
|
|
@@ -748,35 +663,6 @@ const viewReducers = {
|
|
|
748
663
|
globalMerchantAutoCompleteState: globalMerchantAutoCompleteViewReducer_1.default,
|
|
749
664
|
globalMerchantViewState: globalMerchantViewReducer_1.default,
|
|
750
665
|
insightsCardState: insightsCardReducer_1.default,
|
|
751
|
-
invoicingAnalyticsViewState: analyticsViewReducer_1.default,
|
|
752
|
-
invoicingApprovalActionState: approvalActionReducer_1.default,
|
|
753
|
-
invoicingApprovalsViewState: approvalsViewReducer_1.default,
|
|
754
|
-
invoicingAuditViewState: auditViewReducer_1.default,
|
|
755
|
-
invoicingCatalogViewState: catalogViewReducer_1.default,
|
|
756
|
-
invoicingCatalogWriteState: catalogWriteReducer_1.default,
|
|
757
|
-
invoicingCouponWriteState: couponWriteReducer_1.default,
|
|
758
|
-
invoicingCouponViewState: couponViewReducer_1.default,
|
|
759
|
-
invoicingCreditNoteViewState: creditNoteViewReducer_1.default,
|
|
760
|
-
invoicingCreateInvoiceState: createInvoiceReducer_1.default,
|
|
761
|
-
invoicingRecordPaymentState: recordPaymentReducer_1.default,
|
|
762
|
-
invoicingCustomerPaymentMethodState: customerPaymentMethodReducer_1.default,
|
|
763
|
-
invoicingCustomerViewState: customerViewReducer_1.default,
|
|
764
|
-
invoicingCustomerWriteState: customerWriteReducer_1.default,
|
|
765
|
-
invoicingDataImportActionState: dataImportActionReducer_1.default,
|
|
766
|
-
invoicingDataImportViewState: dataImportViewReducer_1.default,
|
|
767
|
-
invoicingDunningActionState: dunningActionReducer_1.default,
|
|
768
|
-
invoicingDunningCaseViewState: dunningCaseViewReducer_1.default,
|
|
769
|
-
invoicingInvoiceActionState: invoiceActionReducer_1.default,
|
|
770
|
-
invoicingInvoiceDetailState: invoiceDetailReducer_1.default,
|
|
771
|
-
invoicingInvoiceListState: invoiceListReducer_1.default,
|
|
772
|
-
invoicingInvoicePdfState: invoicePdfReducer_1.default,
|
|
773
|
-
invoicingPaymentActionState: paymentActionReducer_1.default,
|
|
774
|
-
invoicingReportsViewState: reportsViewReducer_1.default,
|
|
775
|
-
invoicingSettingsViewState: settingsViewReducer_1.default,
|
|
776
|
-
invoicingSubscriptionActionState: subscriptionActionReducer_1.default,
|
|
777
|
-
invoicingSubscriptionViewState: subscriptionViewReducer_1.default,
|
|
778
|
-
invoicingSubscriptionWriteState: subscriptionWriteReducer_1.default,
|
|
779
|
-
invoicingTransactionViewState: transactionViewReducer_1.default,
|
|
780
666
|
internationalWireState: internationalWireReducer_1.default,
|
|
781
667
|
issueChargeCardState: issueChargeCardReducer_1.default,
|
|
782
668
|
internationalWireVerificationState: internationalWireVerificationReducer_1.default,
|
|
@@ -819,9 +705,9 @@ const viewReducers = {
|
|
|
819
705
|
scheduleAccruedDetailState: scheduleAccruedDetailReducer_1.default,
|
|
820
706
|
scheduleDetailState: scheduleDetailReducer_1.default,
|
|
821
707
|
scheduleListState: scheduleListReducer_1.default,
|
|
822
|
-
settingsViewState:
|
|
708
|
+
settingsViewState: settingsViewReducer_1.default,
|
|
823
709
|
setupViewState: setupViewReducer_1.default,
|
|
824
|
-
subscriptionViewState:
|
|
710
|
+
subscriptionViewState: subscriptionViewReducer_1.default,
|
|
825
711
|
cannedResponsesState: cannedResponsesReducer_1.default,
|
|
826
712
|
taskDetailState: taskDetailReducer_1.default,
|
|
827
713
|
taskGroupTemplateViewState: taskGroupTemplateViewReducer_1.default,
|
package/lib/view/onboardingView/cockpitView/epic/initializeOnboardingCustomerViewUpdateDataEpic.js
CHANGED
|
@@ -116,32 +116,20 @@ const getSelectedProducts = (isDebitCardFlagEnabled, tenant) => {
|
|
|
116
116
|
const isBookkeepingEnabled = (0, tenantSelector_1.isTenantBookkeepingEnabled)(tenant);
|
|
117
117
|
const isOtherProductsEnabled = (0, tenantSelector_1.isOtherProductsEnabledForTenant)(tenant);
|
|
118
118
|
const isCardsEnabled = (0, tenantSelector_1.isTenantCardsOnly)(tenant);
|
|
119
|
-
const isTreasuryEnabled = (0, tenantSelector_1.isTenantTreasuryEnabled)(tenant);
|
|
120
119
|
if (isCardsEnabled && isBankingOnly) {
|
|
121
|
-
|
|
122
|
-
if (isTreasuryEnabled) {
|
|
123
|
-
selectedProducts.push('zeni_treasury');
|
|
124
|
-
}
|
|
125
|
-
return selectedProducts;
|
|
120
|
+
return [];
|
|
126
121
|
}
|
|
127
122
|
else if (isBankingOnly) {
|
|
128
|
-
|
|
129
|
-
if (isTreasuryEnabled) {
|
|
130
|
-
selectedProducts.push('zeni_treasury');
|
|
131
|
-
}
|
|
132
|
-
return selectedProducts;
|
|
123
|
+
return [];
|
|
133
124
|
}
|
|
134
125
|
else if (isCardsEnabled) {
|
|
135
|
-
return [
|
|
126
|
+
return [];
|
|
136
127
|
}
|
|
137
128
|
else if (isBookkeepingEnabled) {
|
|
138
129
|
return [
|
|
139
130
|
'bookkeeping',
|
|
140
131
|
'zeni_bill_pay',
|
|
141
|
-
'zeni_checking',
|
|
142
132
|
'zeni_reimbursements',
|
|
143
|
-
'zeni_treasury',
|
|
144
|
-
'zeni_cards',
|
|
145
133
|
];
|
|
146
134
|
}
|
|
147
135
|
else if (isOtherProductsEnabled) {
|
|
@@ -51,9 +51,9 @@ const toOnboardingCustomerPayload = (onboardingCustomer, sendInvite, company, te
|
|
|
51
51
|
const isTreasury = selectedProducts.includes('zeni_treasury');
|
|
52
52
|
if (isBookkeeping) {
|
|
53
53
|
onboardingCustomerPayload.is_book_keeping_enabled = true;
|
|
54
|
-
onboardingCustomerPayload.is_banking_enabled =
|
|
54
|
+
onboardingCustomerPayload.is_banking_enabled = isChecking;
|
|
55
55
|
onboardingCustomerPayload.is_spend_management_enabled = true;
|
|
56
|
-
onboardingCustomerPayload.is_card_enabled =
|
|
56
|
+
onboardingCustomerPayload.is_card_enabled = isCards;
|
|
57
57
|
onboardingCustomerPayload.is_treasury_enabled = isTreasury;
|
|
58
58
|
}
|
|
59
59
|
else if (isChecking && isCards) {
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.sendReferralInviteEpic = void 0;
|
|
4
4
|
const rxjs_1 = require("rxjs");
|
|
5
5
|
const operators_1 = require("rxjs/operators");
|
|
6
|
+
const snackbarReducer_1 = require("../../../entity/snackbar/snackbarReducer");
|
|
6
7
|
const responsePayload_1 = require("../../../responsePayload");
|
|
7
8
|
const referralReducer_1 = require("../referralReducer");
|
|
8
9
|
const sendReferralInviteEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(referralReducer_1.sendReferralInvite.match), (0, operators_1.switchMap)(() => {
|
|
@@ -16,7 +17,14 @@ const sendReferralInviteEpic = (actions$, state$, zeniAPI) => actions$.pipe((0,
|
|
|
16
17
|
.postAndGetJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/company-referrals`, invitePayload)
|
|
17
18
|
.pipe((0, operators_1.mergeMap)((response) => {
|
|
18
19
|
if ((0, responsePayload_1.isSuccessStatus)(response)) {
|
|
19
|
-
const actions = [
|
|
20
|
+
const actions = [
|
|
21
|
+
(0, referralReducer_1.sendReferralInviteSuccess)(),
|
|
22
|
+
(0, snackbarReducer_1.openSnackbar)({
|
|
23
|
+
messageSection: 'referral_invite_sent',
|
|
24
|
+
messageText: 'success',
|
|
25
|
+
type: 'success',
|
|
26
|
+
}),
|
|
27
|
+
];
|
|
20
28
|
return actions;
|
|
21
29
|
}
|
|
22
30
|
else {
|
|
@@ -3,7 +3,7 @@ import { SortOrder } from '../../commonStateTypes/selectorTypes/sortOrderTypes';
|
|
|
3
3
|
import { OnboardingInfo } from '../../entity/company/companyStateTypes';
|
|
4
4
|
import { ZeniDate } from '../../zeniDayJS';
|
|
5
5
|
import { AuditSummaryPayload, ReviewCompanyPayload } from './reviewCompanyPayload';
|
|
6
|
-
export declare const toReviewColumnKeyType: (v: string) => "companyName" | "notes" | "uncategorized" | "
|
|
6
|
+
export declare const toReviewColumnKeyType: (v: string) => "companyName" | "notes" | "uncategorized" | "auditScore" | "miscategorized" | "warnings" | "vendorReview" | "reviewVendor";
|
|
7
7
|
export type ReviewCompanyColumnKey = ReturnType<typeof toReviewColumnKeyType>;
|
|
8
8
|
export type ReviewTransactionsType = 'income' | 'expense';
|
|
9
9
|
export interface AuditSummary {
|
|
@@ -21,7 +21,7 @@ export declare const fetchBillList: import("@reduxjs/toolkit").ActionCreatorWith
|
|
|
21
21
|
period: TimePeriod;
|
|
22
22
|
tab: "paid" | "pending_approval" | "scheduled" | "draft";
|
|
23
23
|
error: ZeniAPIStatus<Record<string, unknown>>;
|
|
24
|
-
}, "billList/updateBillListFailure", never, never>, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "billList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "
|
|
24
|
+
}, "billList/updateBillListFailure", never, never>, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "billList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "overdue" | "all" | "awaiting_approval" | "awaiting_my_approval" | "offline", "billList/updateSubTab">, updateSelectedBillId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "billList/updateSelectedBillId">, clearBillList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"billList/clearBillList">, updateBillDetailSaveBillCode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SaveBillStageCode, "billList/updateBillDetailSaveBillCode">, updateBillListUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
25
25
|
period: TimePeriod;
|
|
26
26
|
uiState: Partial<BillListUIState>;
|
|
27
27
|
}, "billList/updateBillListUIState">, updateSearchResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "billList/updateSearchResult">, updateFilterResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
@@ -35,7 +35,7 @@ export type SaveBillStageCode = 'draft' | 'pending_approval' | undefined;
|
|
|
35
35
|
export declare const ALL_BILL_TABS: readonly ["paid", "pending_approval", "scheduled", "draft"];
|
|
36
36
|
declare const toBillTabType: (v: string) => "paid" | "pending_approval" | "scheduled" | "draft";
|
|
37
37
|
export type BillTab = ReturnType<typeof toBillTabType>;
|
|
38
|
-
declare const toBillsSubTabType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "
|
|
38
|
+
declare const toBillsSubTabType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "overdue" | "all" | "awaiting_approval" | "awaiting_my_approval" | "offline";
|
|
39
39
|
export type BillsSubTabType = ReturnType<typeof toBillsSubTabType>;
|
|
40
40
|
declare const toBillPaySortKeyType: (v: string) => "amount" | "status" | "name" | "dueDate" | "paymentMethod" | "invoiceNumber" | "invoiceDate";
|
|
41
41
|
export declare type BillPayViewSortKey = ReturnType<typeof toBillPaySortKeyType>;
|
|
@@ -27,7 +27,7 @@ export declare const fetchRemiList: import("@reduxjs/toolkit").ActionCreatorWith
|
|
|
27
27
|
}, "remiList/updateRemiListFailure", never, never>, updateRemiListUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
28
28
|
period: TimePeriod;
|
|
29
29
|
uiState: Partial<RemiListUIState>;
|
|
30
|
-
}, "remiList/updateRemiListUIState">, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "remiList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "
|
|
30
|
+
}, "remiList/updateRemiListUIState">, updateTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"paid" | "pending_approval" | "scheduled" | "draft", "remiList/updateTab">, updateSubTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "overdue" | "all" | "myDrafts" | "awaitingApproval" | "awaitingMyApproval" | "awaitingAllApproval", "remiList/updateSubTab">, updateSelectedRemiId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "remiList/updateSelectedRemiId">, clearRemiList: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"remiList/clearRemiList">, updateRemiDetailSaveRemiCode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SaveRemiStageCode, "remiList/updateRemiDetailSaveRemiCode">, updateSearchResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "remiList/updateSearchResult">, updateFilterResult: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
31
31
|
filters: ReimbursementFilters;
|
|
32
32
|
}, "remiList/updateFilterResult">, updateRemiListDownloadUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
33
33
|
uiState: Partial<RemiListDownloadUIState>;
|
|
@@ -33,10 +33,10 @@ export declare const ALL_REMI_TABS: readonly ["paid", "pending_approval", "sched
|
|
|
33
33
|
export declare const toRemiTabType: (v: string) => "paid" | "pending_approval" | "scheduled" | "draft";
|
|
34
34
|
export declare const toRemiTabTypeStrict: (v: string) => "paid" | "pending_approval" | "scheduled" | "draft" | undefined;
|
|
35
35
|
export type RemiTabType = ReturnType<typeof toRemiTabType>;
|
|
36
|
-
export declare const toRemiSubTabType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "
|
|
37
|
-
export declare const toRemiSubTabTypeStrict: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "
|
|
36
|
+
export declare const toRemiSubTabType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "overdue" | "all" | "myDrafts" | "awaitingApproval" | "awaitingMyApproval" | "awaitingAllApproval";
|
|
37
|
+
export declare const toRemiSubTabTypeStrict: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "overdue" | "all" | "myDrafts" | "awaitingApproval" | "awaitingMyApproval" | "awaitingAllApproval" | undefined;
|
|
38
38
|
export type RemiSubTabType = ReturnType<typeof toRemiSubTabType>;
|
|
39
|
-
export declare const toRemiSubTabUnderScoreType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "
|
|
39
|
+
export declare const toRemiSubTabUnderScoreType: (v: string) => "failed" | "cancelled" | "rejected" | "ach" | "wire" | "deleted" | "overdue" | "all" | "awaiting_approval" | "awaiting_my_approval" | "my_drafts" | "awaiting_all_approval";
|
|
40
40
|
export type RemiSubTabUnderScoreType = ReturnType<typeof toRemiSubTabUnderScoreType>;
|
|
41
41
|
declare const toReimbursementSortKeyType: (v: string) => "amount" | "status" | "type" | "createdBy" | "submittedOn" | "reportName";
|
|
42
42
|
export type ReimbursementViewSortKey = ReturnType<typeof toReimbursementSortKeyType>;
|
package/lib/zeniAPI.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export interface RESTAPIEndpoints {
|
|
|
15
15
|
readonly documentAIMicroServiceBaseUrl: string;
|
|
16
16
|
readonly fileMicroServiceBaseUrl: string;
|
|
17
17
|
readonly insightsMicroServiceBaseUrl: string;
|
|
18
|
-
readonly invoicingMicroServiceBaseUrl: string;
|
|
19
18
|
readonly noAuthMicroServiceBaseUrl: string;
|
|
20
19
|
readonly notificationMicroServiceBaseUrl: string;
|
|
21
20
|
readonly payMicroServiceBaseUrl: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.28",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ID, UpdateType } from '../../../commonStateTypes/common';
|
|
2
|
-
import { InvoicingCoupon } from '../invoicingTypes';
|
|
3
|
-
export interface InvoicingCouponState {
|
|
4
|
-
couponByID: Record<ID, InvoicingCoupon>;
|
|
5
|
-
}
|
|
6
|
-
export declare const initialState: InvoicingCouponState;
|
|
7
|
-
export declare const updateInvoicingCoupons: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[items: InvoicingCoupon[], updateType?: UpdateType | undefined], {
|
|
8
|
-
items: InvoicingCoupon[];
|
|
9
|
-
updateType: UpdateType | undefined;
|
|
10
|
-
}, "invoicingCoupon/updateInvoicingCoupons", never, never>, removeInvoicingCoupon: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "invoicingCoupon/removeInvoicingCoupon">, clearAllInvoicingCoupons: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"invoicingCoupon/clearAllInvoicingCoupons">;
|
|
11
|
-
declare const _default: import("redux").Reducer<InvoicingCouponState>;
|
|
12
|
-
export default _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var _a;
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.clearAllInvoicingCoupons = exports.removeInvoicingCoupon = exports.updateInvoicingCoupons = exports.initialState = void 0;
|
|
5
|
-
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
-
exports.initialState = { couponByID: {} };
|
|
7
|
-
const coupon = (0, toolkit_1.createSlice)({
|
|
8
|
-
name: 'invoicingCoupon',
|
|
9
|
-
initialState: exports.initialState,
|
|
10
|
-
reducers: {
|
|
11
|
-
updateInvoicingCoupons: {
|
|
12
|
-
reducer(draft, action) {
|
|
13
|
-
if (action.payload.updateType === 'replace') {
|
|
14
|
-
draft.couponByID = {};
|
|
15
|
-
}
|
|
16
|
-
action.payload.items.forEach((item) => {
|
|
17
|
-
draft.couponByID[item.id] = item;
|
|
18
|
-
});
|
|
19
|
-
},
|
|
20
|
-
prepare(items, updateType) {
|
|
21
|
-
return { payload: { items, updateType } };
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
removeInvoicingCoupon(draft, action) {
|
|
25
|
-
delete draft.couponByID[action.payload];
|
|
26
|
-
},
|
|
27
|
-
clearAllInvoicingCoupons(draft) {
|
|
28
|
-
draft.couponByID = {};
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
});
|
|
32
|
-
_a = coupon.actions, exports.updateInvoicingCoupons = _a.updateInvoicingCoupons, exports.removeInvoicingCoupon = _a.removeInvoicingCoupon, exports.clearAllInvoicingCoupons = _a.clearAllInvoicingCoupons;
|
|
33
|
-
exports.default = coupon.reducer;
|