@zeniai/client-epic-state 4.10.6 → 4.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonPayloadTypes/agingReportPayloadTypes.d.ts +1 -0
- package/lib/commonPayloadTypes/commonPayload.d.ts +8 -0
- package/lib/commonPayloadTypes/commonPayload.js +20 -0
- package/lib/commonPayloadTypes/subAccountView/subAccountPayloadHelper.js +2 -2
- package/lib/commonStateTypes/accountView/{getNestedAccountIDHeirarchyForReport.d.ts → getNestedAccountIDHierarchyForReport.d.ts} +2 -2
- package/lib/commonStateTypes/accountView/nestedAccountID.d.ts +2 -2
- package/lib/commonStateTypes/agingBalance/agingBalance.d.ts +4 -0
- package/lib/commonStateTypes/agingBalance/agingBalance.js +4 -1
- package/lib/commonStateTypes/classesView/getNestedClassIDHierarchyForReport.d.ts +2 -2
- package/lib/commonStateTypes/classesView/nestedClassID.d.ts +2 -2
- package/lib/commonStateTypes/customerView/getNestedCustomerHierarchy.d.ts +9 -0
- package/lib/commonStateTypes/customerView/getNestedCustomerHierarchy.js +46 -0
- package/lib/commonStateTypes/customerView/nestedCustomerID.d.ts +42 -0
- package/lib/commonStateTypes/customerView/nestedCustomerID.js +9 -0
- package/lib/commonStateTypes/selectorTypes/classesViewSelectorReport.d.ts +2 -2
- package/lib/commonStateTypes/viewAndReport/agingReportStateTypes.d.ts +4 -7
- package/lib/commonStateTypes/viewAndReport/viewAndReport.d.ts +2 -2
- package/lib/commonStateTypes/viewAndReport/viewAndReport.js +1 -0
- package/lib/entity/account/accountState.d.ts +1 -1
- package/lib/entity/account/subAccountSelector.d.ts +1 -1
- package/lib/entity/account/subAccountSelector.js +7 -7
- package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
- package/lib/entity/accountGroup/accountGroupV2Selector.js +3 -3
- package/lib/entity/class/classReducer.d.ts +4 -4
- package/lib/entity/class/classSelectorV2.d.ts +1 -1
- package/lib/entity/class/classSelectorV2.js +10 -10
- package/lib/entity/class/classState.d.ts +1 -1
- package/lib/entity/customer/customerPayload.d.ts +1 -1
- package/lib/entity/customer/customerPayload.js +1 -1
- package/lib/entity/customer/customerReducer.d.ts +1 -1
- package/lib/entity/customer/customerSelector.d.ts +1 -1
- package/lib/entity/customerIncome/customerIncomeTrend.d.ts +1 -1
- package/lib/entity/customerIncome/customerIncomeTrendReducer.d.ts +1 -1
- package/lib/entity/forecast/forecastState.d.ts +1 -1
- package/lib/entity/notification/notificationPayload.d.ts +46 -0
- package/lib/entity/notification/notificationPayload.js +144 -0
- package/lib/entity/notification/notificationReducer.d.ts +20 -0
- package/lib/entity/notification/notificationReducer.js +118 -0
- package/lib/entity/notification/notificationSelector.d.ts +9 -0
- package/lib/entity/notification/notificationSelector.js +36 -0
- package/lib/entity/notification/notificationState.d.ts +7 -0
- package/lib/entity/notification/notificationState.js +2 -0
- package/lib/entity/notification/types/notificationSelectorTypes.d.ts +8 -0
- package/lib/entity/notification/types/notificationSelectorTypes.js +2 -0
- package/lib/entity/notification/types/notificationStateTypes.d.ts +50 -0
- package/lib/entity/notification/types/notificationStateTypes.js +2 -0
- package/lib/entity/notification/types/notificationTypes.d.ts +24 -0
- package/lib/entity/notification/types/notificationTypes.js +58 -0
- package/lib/entity/sectionAccountsView/getNestedAccountIDHierarchyForSection.js +9 -9
- package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
- package/lib/entity/sectionAccountsView/sectionAccountsViewEpic.js +2 -2
- package/lib/entity/sectionAccountsView/sectionAccountsViewSelector.js +3 -3
- package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesViewEpic.js +2 -2
- package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
- package/lib/entity/sectionClassesViewV2/sectionClassesViewSelector.js +7 -7
- package/lib/entity/sectionClassesViewV2/selectorHelpers/getNestedClassIDHierarchyForSection.js +7 -7
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +1 -0
- package/lib/entity/tenant/clearAllEpic.d.ts +4 -2
- package/lib/entity/tenant/clearAllEpic.js +5 -1
- package/lib/entity/transaction/stateTypes/customerTransaction.d.ts +1 -1
- package/lib/entity/transaction/stateTypes/transactionLine.d.ts +1 -1
- package/lib/epic.d.ts +7 -3
- package/lib/epic.js +5 -1
- package/lib/index.d.ts +24 -14
- package/lib/index.js +35 -13
- package/lib/reducer.d.ts +7 -1
- package/lib/reducer.js +6 -0
- package/lib/view/accountList/accountListReducer.js +2 -2
- package/lib/view/accountList/accountListSelector.d.ts +3 -3
- package/lib/view/accountList/accountListSelector.js +3 -3
- package/lib/view/accountList/accountListState.d.ts +2 -2
- package/lib/view/accountMappingView/accountMappingReducer.js +19 -19
- package/lib/view/accountMappingView/accountMappingState.d.ts +8 -8
- package/lib/view/accountMappingView/accountMappingViewSelector.d.ts +8 -8
- package/lib/view/accountMappingView/accountMappingViewSelector.js +7 -7
- package/lib/view/apAgingView/apAgingReport/apAgingReducer.d.ts +7 -5
- package/lib/view/apAgingView/apAgingReport/apAgingReducer.js +34 -15
- package/lib/view/apAgingView/apAgingReport/apAgingSelector.d.ts +1 -1
- package/lib/view/apAgingView/apAgingReport/apAgingSelector.js +29 -16
- package/lib/view/apAgingView/apAgingReport/apAgingState.d.ts +6 -3
- package/lib/view/apAgingView/apAgingReport/fetchApAgingEpic.js +11 -7
- package/lib/view/arAgingView/arAgingDetail/arAgingDetailSelector.d.ts +1 -1
- package/lib/view/arAgingView/arAgingReport/arAgingPayload.js +8 -1
- package/lib/view/arAgingView/arAgingReport/arAgingReducer.d.ts +13 -7
- package/lib/view/arAgingView/arAgingReport/arAgingReducer.js +49 -15
- package/lib/view/arAgingView/arAgingReport/arAgingSelector.d.ts +12 -6
- package/lib/view/arAgingView/arAgingReport/arAgingSelector.js +68 -35
- package/lib/view/arAgingView/arAgingReport/arAgingState.d.ts +12 -4
- package/lib/view/arAgingView/arAgingReport/fetchArAgingEpic.js +10 -7
- package/lib/view/auditReportView/auditReportViewState.d.ts +2 -2
- 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/classList/classListSelector.d.ts +3 -3
- package/lib/view/classList/classListSelector.js +3 -3
- package/lib/view/classList/classListState.d.ts +2 -2
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.d.ts +4 -4
- package/lib/view/commonVendorView/transactionVendorView/transactionVendorViewSelector.js +4 -4
- package/lib/view/commonVendorView/vendorView/vendorViewSelector.d.ts +4 -4
- package/lib/view/commonVendorView/vendorView/vendorViewSelector.js +4 -4
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.d.ts +4 -4
- package/lib/view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewSelector.js +4 -4
- package/lib/view/dashboard/dashboardEpic.js +6 -4
- package/lib/view/dashboard/dashboardReducer.d.ts +2 -2
- package/lib/view/financeStatement/financeStatementReducer.d.ts +1 -1
- package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +2 -2
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewReducer.js +3 -3
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewSelector.js +3 -3
- package/lib/view/netBurnOrIncomeClassesView/netBurnOrIncomeClassesViewState.d.ts +2 -2
- package/lib/view/notificationView/epics/fetchNotificationUnreadCountEpic.d.ts +10 -0
- package/lib/view/notificationView/epics/fetchNotificationUnreadCountEpic.js +39 -0
- package/lib/view/notificationView/epics/fetchNotificationViewEpic.d.ts +9 -0
- package/lib/view/notificationView/epics/fetchNotificationViewEpic.js +56 -0
- package/lib/view/notificationView/epics/updateNotificationViewAllNotificationsStatusEpic.d.ts +9 -0
- package/lib/view/notificationView/epics/updateNotificationViewAllNotificationsStatusEpic.js +50 -0
- package/lib/view/notificationView/epics/updateNotificationViewNotificationStatusEpic.d.ts +9 -0
- package/lib/view/notificationView/epics/updateNotificationViewNotificationStatusEpic.js +86 -0
- package/lib/view/notificationView/notificationView.helpers.d.ts +2 -0
- package/lib/view/notificationView/notificationView.helpers.js +11 -0
- package/lib/view/notificationView/notificationViewPayload.d.ts +48 -0
- package/lib/view/notificationView/notificationViewPayload.js +2 -0
- package/lib/view/notificationView/notificationViewReducer.d.ts +64 -0
- package/lib/view/notificationView/notificationViewReducer.js +372 -0
- package/lib/view/notificationView/notificationViewSelector.d.ts +29 -0
- package/lib/view/notificationView/notificationViewSelector.js +89 -0
- package/lib/view/notificationView/notificationViewState.d.ts +31 -0
- package/lib/view/notificationView/notificationViewState.js +19 -0
- package/lib/view/opExClassesView/opExClassesViewReducer.js +3 -3
- package/lib/view/opExClassesView/opExClassesViewSelector.js +3 -3
- package/lib/view/opExClassesView/opExClassesViewState.d.ts +2 -2
- package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
- package/lib/view/people/deletePersonEpic.d.ts +1 -1
- package/lib/view/people/invitePeopleEpic.d.ts +1 -1
- package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
- package/lib/view/people/resendInviteEpic.d.ts +1 -1
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewReducer.js +3 -3
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewSelector.js +2 -2
- package/lib/view/profitAndLossClassesView/profitAndLossClassesViewState.d.ts +2 -2
- package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
- package/lib/view/revenueClassesView/revenueClassesViewReducer.js +3 -3
- package/lib/view/revenueClassesView/revenueClassesViewSelector.js +3 -3
- package/lib/view/revenueClassesView/revenueClassesViewState.d.ts +2 -2
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +5 -5
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +5 -5
- package/lib/view/scheduleView/scheduleListView/scheduleListHelper.d.ts +2 -2
- package/lib/view/scheduleView/scheduleListView/scheduleListSelector.d.ts +2 -2
- package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +1 -1
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +4 -4
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +4 -4
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.d.ts +4 -4
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewSelector.js +4 -4
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.d.ts +2 -1
- package/lib/view/taskManager/taskDetailView/epics/fetchTaskDetailEpic.js +37 -5
- package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
- package/lib/view/topEx/topExSelector.d.ts +1 -1
- package/lib/view/transactionDetail/transactionDetailSelector.d.ts +4 -4
- package/lib/view/transactionDetail/transactionDetailSelector.js +4 -4
- package/lib/view/transactionDetail/transactionDetailState.d.ts +1 -1
- package/lib/view/transactionDetail/transactionDetailTypes.d.ts +1 -1
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.d.ts +1 -1
- package/lib/zeniAPI.d.ts +2 -0
- package/lib/zeniAPI.js +8 -0
- package/package.json +2 -1
- package/lib/commonStateTypes/accountView/{getNestedAccountIDHeirarchyForReport.js → getNestedAccountIDHierarchyForReport.js} +0 -0
- package/lib/entity/customer/{customer.d.ts → customerState.d.ts} +4 -4
- /package/lib/entity/customer/{customer.js → customerState.js} +0 -0
package/lib/index.d.ts
CHANGED
|
@@ -20,10 +20,12 @@ export { Amount, toAmount, Currency };
|
|
|
20
20
|
import { View, SelectorView, Report, ReportID, toReportID, ReportIDPlusForecastID, SelectorReport, PageToken, ReportFormat, toReportFormatStrict } from './commonStateTypes/viewAndReport/viewAndReport';
|
|
21
21
|
import { isPAndLReport, isPAndLClassesViewReport, isCashFlowOrBalanceSheetReport, isDashboardReport, isDashboardClassesViewReport, isAgingReport, isOpExByVendorReport } from './commonStateTypes/viewAndReport/reportIDHelper';
|
|
22
22
|
export { View, SelectorView, Report, ReportID, toReportID, ReportIDPlusForecastID, SelectorReport, ReportFormat, toReportFormatStrict, isCashFlowOrBalanceSheetReport, isDashboardReport, isDashboardClassesViewReport, isPAndLReport, isPAndLClassesViewReport, isAgingReport, isOpExByVendorReport, PageToken, };
|
|
23
|
-
import { NestedClassIDHierarchy, NestedClassID,
|
|
24
|
-
export { NestedClassIDHierarchy, NestedClassID,
|
|
25
|
-
import {
|
|
26
|
-
export {
|
|
23
|
+
import { NestedClassIDHierarchy, NestedClassID, NestedClassHierarchyForReport } from './commonStateTypes/classesView/nestedClassID';
|
|
24
|
+
export { NestedClassIDHierarchy, NestedClassID, NestedClassHierarchyForReport };
|
|
25
|
+
import { NestedAccountHierarchyForReport, NestedAccountID, NestedAccountIDHierarchy } from './commonStateTypes/accountView/nestedAccountID';
|
|
26
|
+
export { NestedAccountHierarchyForReport, NestedAccountID, NestedAccountIDHierarchy, };
|
|
27
|
+
import { NestedCustomerID, NestedCustomerHierarchy } from './commonStateTypes/customerView/nestedCustomerID';
|
|
28
|
+
export { NestedCustomerID, NestedCustomerHierarchy };
|
|
27
29
|
import { Status } from './commonStateTypes/status';
|
|
28
30
|
export { Status };
|
|
29
31
|
import { BalanceChange, Balance } from './commonStateTypes/balance';
|
|
@@ -186,7 +188,7 @@ export { FinanceStatementReport, getFinanceStatement, fetchFinanceStatement, upd
|
|
|
186
188
|
import { Attachment, ContentType, toContentTypeStrict, toContentType, mapFileEntityToAttachment } from './entity/transaction/stateTypes/attachment';
|
|
187
189
|
export { Attachment, ContentType, toContentTypeStrict, toContentType, mapFileEntityToAttachment, };
|
|
188
190
|
export { AttachmentPayload, toAttachment, } from './entity/transaction/payloadTypes/attachmentPayload';
|
|
189
|
-
import { CustomerBase, Customer, defaultCustomerCurrency } from './entity/customer/
|
|
191
|
+
import { CustomerBase, Customer, defaultCustomerCurrency } from './entity/customer/customerState';
|
|
190
192
|
export { CustomerBase, Customer, defaultCustomerCurrency };
|
|
191
193
|
import { CustomerTransaction, isCustomerTransaction } from './entity/transaction/stateTypes/customerTransaction';
|
|
192
194
|
export { CustomerTransaction, isCustomerTransaction };
|
|
@@ -314,8 +316,8 @@ import { CompanyDetailsLocalData, CompanyInfoLocalData, IncInfoLocalData, TaxDet
|
|
|
314
316
|
import { CompanyOfficerLocalData, PrimaryContactLocalData, CompanyOfficerType } from './view/companyView/types/companyPassport/companyUsersLocalData';
|
|
315
317
|
import { CompanyPassportLocalData, toCompanyPassportLocalData } from './view/companyView/types/companyPassport/companyPassportLocalData';
|
|
316
318
|
export { CompanyInfoLocalData, IncInfoLocalData, TaxDetailsLocalData, CompanyDetailsLocalData, PrimaryContactLocalData, CompanyOfficerLocalData, CompanyOfficerType, CompanyPassportLocalData, toCompanyPassportLocalData, };
|
|
317
|
-
import { AccountListSelectorView, getUncategorizedAccounts,
|
|
318
|
-
export { getUncategorizedAccounts, UncategorizedAccounts,
|
|
319
|
+
import { AccountListSelectorView, getUncategorizedAccounts, getNestedAccountListHierarchy, UncategorizedAccounts } from './view/accountList/accountListSelector';
|
|
320
|
+
export { getUncategorizedAccounts, UncategorizedAccounts, getNestedAccountListHierarchy, };
|
|
319
321
|
import { getBankAccount, BankAccountSelectorView } from './view/bankAccountView/bankAccountViewSelector';
|
|
320
322
|
export { getBankAccount, BankAccountSelectorView };
|
|
321
323
|
import { SubscriptionListUIState, SubscriptionUpdateData, SubscriptionCreateData, SubscriptionActionType } from './view/subscriptionView/subscriptionViewState';
|
|
@@ -499,7 +501,6 @@ import { createCheckingAccount, fetchZeniAccountList, updateSubTab as updateZeni
|
|
|
499
501
|
import { DepositAccount } from './entity/depositAccount/depositAccount';
|
|
500
502
|
import { getDepositAccountDetail, DepositAccountDetailSelectorView, getDepositAccountDetailForPDF, DepositAccountDetailForPDF } from './view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector';
|
|
501
503
|
import { DepositAccountListSelectorView, getAllDepostAccounts } from './view/spendManagement/zeniAccounts/depositAccountList/depositAccountListSelector';
|
|
502
|
-
import { fetchDepositAccount } from './view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer';
|
|
503
504
|
import { fetchZeniAccountsConfig } from './view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer';
|
|
504
505
|
import { AccountHistoryWithBalances, DepositAccountUpdateType } from './view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailState';
|
|
505
506
|
import { TransferDetailLocalData, TransferMoneyParty, ReviewTransferDetail } from './view/spendManagement/zeniAccounts/transferDetail/transferDetailState';
|
|
@@ -507,7 +508,7 @@ import { clearTransferDetail, clearReviewTransferDetail, fetchReviewTransferDeta
|
|
|
507
508
|
import { CheckDepositLocalData } from './view/spendManagement/zeniAccounts/checkDeposit/checkDepositState';
|
|
508
509
|
import { depositCheck, updateLocalStore as updateCheckDepositLocalData, clearCheckDeposit, updateDepositToLocalData } from './view/spendManagement/zeniAccounts/checkDeposit/checkDepositReducer';
|
|
509
510
|
import { getTransferDetail, TransferDetailSelectorView } from './view/spendManagement/zeniAccounts/transferDetail/transferDetailSelector';
|
|
510
|
-
import { fetchDepositAccountDetail, updateDepositAccount, fetchDepositAccountHistorySuccess, fetchDepositAccountHistoryFailure } from './view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer';
|
|
511
|
+
import { fetchDepositAccountDetail, updateDepositAccount, fetchDepositAccountHistorySuccess, fetchDepositAccountHistoryFailure, fetchDepositAccount } from './view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer';
|
|
511
512
|
import { DepositAccountTransaction, DepositTransactionStatusCode, DepositTransactionStatus } from './entity/depositAccountTransaction/depositAccountTransaction';
|
|
512
513
|
import { fetchPaymentAccountList, unlinkPaymentAccount } from './view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer';
|
|
513
514
|
import { ZENI_ACCOUNTS_TAB, ZeniAccountsTab, ZeniAccountsTabWithIndex, ZeniAccountSummaryWithBalance } from './view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListState';
|
|
@@ -585,8 +586,8 @@ export { ProductServices, ProductServiceKey, isCompanyRunwayInfinite, getCompany
|
|
|
585
586
|
import { AgingBalance, AgingPeriod } from './commonStateTypes/agingBalance/agingBalance';
|
|
586
587
|
import { fetchApAging, updateApAgingUIState } from './view/apAgingView/apAgingReport/apAgingReducer';
|
|
587
588
|
import { ApAgingReport, getApAgingReport, AgingBalancesByVendor } from './view/apAgingView/apAgingReport/apAgingSelector';
|
|
588
|
-
import { AgingReportId,
|
|
589
|
-
export { fetchApAging, getApAgingReport, updateApAgingUIState, AgingReportId,
|
|
589
|
+
import { AgingReportId, AgingDateSelectionType, AgingReportSortKey, AgingReportInvoice, AgingReportUIState, AgingDetailReportUIState, AgingDetailReportInvoice } from './commonStateTypes/viewAndReport/agingReportStateTypes';
|
|
590
|
+
export { fetchApAging, getApAgingReport, updateApAgingUIState, AgingReportId, ApAgingReport, AgingBalance, AgingPeriod, AgingReportSortKey, AgingBalancesByVendor, AgingReportUIState, AgingDetailReportUIState, AgingDetailReportInvoice, AgingDateSelectionType, };
|
|
590
591
|
import { fetchApAgingDetail, updateApAgingDetailUIState } from './view/apAgingView/apAgingDetail/apAgingDetailReducer';
|
|
591
592
|
import { ApAgingDetail, getApAgingDetailForVendor } from './view/apAgingView/apAgingDetail/apAgingDetailSelector';
|
|
592
593
|
export { fetchApAgingDetail, AgingReportInvoice, ApAgingDetail, getApAgingDetailForVendor, updateApAgingDetailUIState, };
|
|
@@ -622,11 +623,11 @@ import { approveVendorGlobalReview, rejectVendorGlobalReview, fetchVendorGlobalR
|
|
|
622
623
|
import { VendorGlobalReviewViewState, VendorGlobalReviewViewUIState, VendorGlobalReviewViewLocalData, toVendorGlobalReviewColumnSortKeyType, VendorGlobalReviewViewColumnSortKey } from './view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState';
|
|
623
624
|
import { VendorGlobalReview, getVendorGlobalReviewView, getTenantMerchantByMerchantId, VendorGlobalReviewViewSelectorView } from './view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector';
|
|
624
625
|
export { approveVendorGlobalReview, rejectVendorGlobalReview, fetchVendorGlobalReviewView, updateSelectedGlobalMerchant, updateVendorGlobalReviewViewUIState, getVendorGlobalReviewView, getTenantMerchantByMerchantId, toVendorGlobalReviewColumnSortKeyType, VendorGlobalReview, VendorGlobalReviewViewUIState, VendorGlobalReviewViewColumnSortKey, VendorGlobalReviewViewSelectorView, VendorGlobalReviewViewState, VendorGlobalReviewViewLocalData, };
|
|
625
|
-
import { fetchArAging, updateArAgingUIState } from './view/arAgingView/arAgingReport/arAgingReducer';
|
|
626
|
-
import { ArAgingReport, getArAgingReport,
|
|
626
|
+
import { fetchArAging, updateArAgingUIState, updateArAgingNodeCollapseState } from './view/arAgingView/arAgingReport/arAgingReducer';
|
|
627
|
+
import { ArAgingReport, getArAgingReport, NestedAgingBalancesByCustomer } from './view/arAgingView/arAgingReport/arAgingSelector';
|
|
627
628
|
import { fetchArAgingDetail, updateArAgingDetailUIState } from './view/arAgingView/arAgingDetail/arAgingDetailReducer';
|
|
628
629
|
import { ArAgingDetail, getArAgingDetailForCustomer } from './view/arAgingView/arAgingDetail/arAgingDetailSelector';
|
|
629
|
-
export { fetchArAging, updateArAgingUIState, fetchArAgingDetail, updateArAgingDetailUIState, ArAgingReport, ArAgingDetail,
|
|
630
|
+
export { fetchArAging, updateArAgingUIState, fetchArAgingDetail, updateArAgingDetailUIState, ArAgingReport, ArAgingDetail, NestedAgingBalancesByCustomer, getArAgingReport, getArAgingDetailForCustomer, updateArAgingNodeCollapseState, };
|
|
630
631
|
import { toRecurringBillFrequency, toRecurringBillFrequencyStrict, RecurringBillFrequency, RecurringBillDetail, RecurringBillConfig, RecurringBillStatus, RecurringBillPaymentStatus } from './entity/billPay/recurringBills/recurringBillsState';
|
|
631
632
|
export { toRecurringBillFrequency, toRecurringBillFrequencyStrict, RecurringBillFrequency, RecurringBillDetail, RecurringBillConfig, RecurringBillStatus, RecurringBillPaymentStatus, };
|
|
632
633
|
import { Task, TaskStatusCodeType, PriorityCodeType, TaskTagCodeType, TaskTag, TaskStatus, TaskPriority, TaskCodeType, TaskType } from './entity/task/taskState';
|
|
@@ -649,6 +650,15 @@ import { ZeniAccountsPromoCardState } from './view/zeniAccountsPromoCard/zeniAcc
|
|
|
649
650
|
import { getZeniAccountsPromoCard, ZeniAccountsPromoCardReport } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector';
|
|
650
651
|
import { fetchZeniAccountsPromoCard } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer';
|
|
651
652
|
export { ZeniAccountsPromoCardState, getZeniAccountsPromoCard, ZeniAccountsPromoCardReport, fetchZeniAccountsPromoCard, };
|
|
653
|
+
import { NotificationGroup, NotificationActivityType, NotificationIdentifierType, NotificationUpdateValue, NotificationMode, NotificationStatus, toNotificationModeStrict } from './entity/notification/types/notificationTypes';
|
|
654
|
+
import { Notification, NotificationMetaData, NotificationEventData, NotificationActivity, NotificationUpdates, NotificationValueFormat } from './entity/notification/types/notificationStateTypes';
|
|
655
|
+
import { NotificationWithAuthors } from './entity/notification/types/notificationSelectorTypes';
|
|
656
|
+
import { updateCommentsNotifications, updateCommentsNotificationsStatuses } from './entity/notification/notificationReducer';
|
|
657
|
+
export { NotificationGroup, NotificationActivityType, NotificationIdentifierType, NotificationUpdateValue, NotificationMode, NotificationStatus, Notification, NotificationWithAuthors, NotificationMetaData, NotificationEventData, NotificationActivity, NotificationUpdates, NotificationValueFormat, toNotificationModeStrict, updateCommentsNotifications, updateCommentsNotificationsStatuses, };
|
|
658
|
+
import { fetchNotificationView, fetchNotificationUnreadCount, fetchNotificationUnreadCountSuccess, updateNotificationViewAllNotificationsStatus, updateNotificationViewNotificationStatus, updateNotificationViewTabState, updateNotificationViewCurrentTabAndSubTab, updateNotificationViewSubTab, updateNotificationViewUIState } from './view/notificationView/notificationViewReducer';
|
|
659
|
+
import { NotificationViewUIState, NotificationTabState, NotificationTabType, NotificationSubTabType, toNotificationSubTabTypeStrict, toNotificationTabTypeStrict } from './view/notificationView/notificationViewState';
|
|
660
|
+
import { NotificationView, getNotificationView, getExternalNotificationsForSelectedSubTab, getNotificationsForSelectedSubTab } from './view/notificationView/notificationViewSelector';
|
|
661
|
+
export { NotificationView, NotificationViewUIState, NotificationTabState, NotificationTabType, NotificationSubTabType, toNotificationSubTabTypeStrict, toNotificationTabTypeStrict, fetchNotificationView, fetchNotificationUnreadCount, fetchNotificationUnreadCountSuccess, updateNotificationViewAllNotificationsStatus, updateNotificationViewNotificationStatus, updateNotificationViewTabState, updateNotificationViewCurrentTabAndSubTab, updateNotificationViewSubTab, updateNotificationViewUIState, getNotificationView, getExternalNotificationsForSelectedSubTab, getNotificationsForSelectedSubTab, };
|
|
652
662
|
import { getReferralListView, ReferralListSelectorView, getInviteFormView } from './view/referralView/referralSelector';
|
|
653
663
|
import { ReferralViewState, InviteCompanyLocalData, ReferralInvitation, ReferralListViewSortKey, ReferralViewUIState, StatusTypes, AmountStatusTypes, toReferralListViewSortKeyType, ReferralStatus, ReferralAmountStatus } from './view/referralView/referralState';
|
|
654
664
|
import { fetchReferrals, sendReferralInvite, clearReferrals, saveReferralFormDataInLocalStore, resendReferralInvite, updateReferralListSortUiState, fetchRewardsPlan } from './view/referralView/referralReducer';
|
package/lib/index.js
CHANGED
|
@@ -35,7 +35,7 @@ exports.isBalanceSheetReportViewCalculatedSectionID = exports.isBalanceSheetRepo
|
|
|
35
35
|
exports.saveTransactionDetailLocalData = exports.updateTransactionListByEntity = exports.fetchEntityTransactionList = exports.getTransactionListUIStateByAccountKey = exports.getTransactionListByAccount = exports.parallelFetchTransactionListByCategoryType = exports.updateTransactionListUIStateByCategoryType = exports.updateTransactionListByClass = exports.updateTransactionListByClassUIState = exports.parallelFetchClassTransactionList = exports.updateTransactionListByAccountUIState = exports.updateTransactionListByAccountFailure = exports.updateTransactionListByAccount = exports.fetchAccountTransactionList = exports.parallelFetchEntityTransactionList = exports.parallelFetchAccountTransactionList = exports.updateLatestTransactionId = exports.clearTransactionList = exports.isTransferTransaction = exports.isVendorTransaction = exports.updateVendors = exports.defaultVendorCurrency = exports.toTransactionCategory = exports.toTransactionTypeStrict = exports.toTransactionType = exports.toPlatformLineDetailType = exports.toTransactionID = exports.isCustomerTransaction = exports.defaultCustomerCurrency = exports.toAttachment = exports.mapFileEntityToAttachment = exports.toContentType = exports.toContentTypeStrict = exports.updateFinanceStatementFormat = exports.updateFinanceStatementDisplayOrder = exports.updateFinanceStatementAdditionalBalancesSelection = exports.updateDownloadState = exports.updateSelectedReportId = exports.updateCOABalancesRange = exports.fetchFinanceStatement = exports.getFinanceStatement = exports.isCashFlowReportViewCalculatedSectionType1ID = exports.isCashFlowReportViewSectionID = exports.isCashFlowReportViewCalculatedSectionID = exports.typeOfCashFlowRootSection = exports.updateCashFlowUIState = exports.resetCashFlowNodeCollapseState = exports.getCashFlowReportFetchState = exports.getCashFlow = exports.fetchCashFlow = void 0;
|
|
36
36
|
exports.fetchEntityAutoCompleteEpic = exports.toEntityType = exports.VendorExpenseTrend = exports.CustomerIncomeTrend = exports.getTrendForEntity = exports.clearTrendData = exports.fetchExpenseTrend = exports.fetchIncomeTrend = exports.getEntityDetailUIStateByEntity = exports.getLatestTimeFrameWithTransactionsForEntity = exports.getTrendWithTransactions = exports.trendWithTransactionsUpdateSelectedTimeperiod = exports.clearTrendWithTransactions = exports.fetchTransactionsForEntity = exports.fetchTrendForEntity = exports.updateReportUIOptionCOABalancesRange = exports.updateReportUIOptionThisPeriod = exports.toggleReportUIOptionForecastMode = exports.updateReportUIOptionIsCompareModeOn = exports.updateReportUIOptionCompareMode = exports.updateReportUIOptionIsForecastVsActualOn = exports.updateReportUIOptionSelectedForecast = exports.updateReportUIOptionTimeframe = exports.getForecastList = exports.fetchForecastList = exports.updateSelectedInsightIndex = exports.fetchInsightsCard = exports.getInsights = exports.getUpdatablePeriodsForTransactionRecommendations = exports.getTransactionDetailForTransaction = exports.getTransactionDetail = exports.getTransactionListByEntityForSinglePeriod = exports.getTransactionListUIStateByClassKey = exports.getTransactionListByClass = exports.getTransactionListByEntity = exports.getThirdPartyIdFromTransactionId = exports.uploadMissingReceiptSuccess = exports.updateTransactionDetail = exports.fetchTransactionDetail = exports.updateLocalDataWithTransactionsUpdateWithVendorCheckbox = exports.resetVendor = exports.updateSelectedVendor = exports.removeEntityRecommendationForLineIdForTransactionDetail = exports.initializeTransactionDetailLocalData = exports.setAllLineItemsLocalDataIsUpdateAllChecked = exports.saveTransactionDetail = exports.setAllLineItemsToCategoryClassInLocalData = exports.resetLineItemsCategoryClassInLocalData = exports.updateTransactionListByEntityFailure = exports.clearTransactionDetailSaveStatus = void 0;
|
|
37
37
|
exports.getAddress = exports.newAddressInLocalStore = exports.getCompanyMonthEndReportHistoricData = exports.fetchCompanyMonthEndReportTemplates = exports.fetchCompanyMonthEndReportHistoricData = exports.fetchCompanyMonthEndReportHistoricDates = exports.getCompanyMonthEndReportSelectorView = exports.resetCompanyMonthEndReportFetchStatus = exports.saveCompanyMonthEndReport = exports.sendCompanyMonthEndReport = exports.fetchCompanyMonthEndReportView = exports.fetchImproveUsingZeniGPT = exports.getAllCockpitTabsFilterView = exports.isInfiniteRunway = exports.getCompanyPortfolioView = exports.getAuditWarningsCount = exports.retryBankAccountConnection = exports.getReviewCompanyListCount = exports.getReviewCompanySelectorView = exports.updateReviewCompanyListUIState = exports.fetchReviewCompanyView = exports.updateCompanyDownloadState = exports.fetchZeniUsers = exports.fetchSubscriptionView = exports.fetchPortfolioView = exports.fetchManagementView = exports.fetchOnboardingView = exports.fetchParentSubsidiaryManagementView = exports.updateCompanyManagementUIState = exports.updateCompanyPortfolioUIState = exports.fetchCompanyPortfolioView = exports.fetchCompanyManagementView = exports.fetchAllCockpitViews = exports.companyManagementSaveUpdates = exports.getParentSubsidiaryManagementView = exports.getAddonListZeniSku = exports.getPlanListZeniSku = exports.getCompanyManagementView = exports.getControllersName = exports.getFirstControllerId = exports.getFirstControllerEmail = exports.getControllersForCompany = exports.getCompanyByCompanyId = exports.ALL_ACCOUNTING_CONNECTION_CREATION_MODES = exports.getEntityByEntityIDs = exports.clearAllEntities = exports.updateEntities = exports.getEntityAutoCompleteResults = exports.fetchEntityAutoCompleteResults = exports.clearEntityAutoCompleteResults = void 0;
|
|
38
|
-
exports.getSubscriptionEstimationData = exports.getSubscriptionLocalStoreDataView = exports.getSubscriptionsDetailView = exports.clearSubscriptionLocalData = exports.clearSubscriptionUpdateViewDataByTenantId = exports.saveSubscriptionLocalData = exports.initializeSubscriptionLocalData = exports.clearSubscriptionView = exports.fetchSubscriptionUpdateEstimate = exports.fetchSubscriptionCreateEstimate = exports.saveSubscriptionNotesUpdates = exports.saveSubscriptionUpdates = exports.fetchSubscriptionDetails = exports.fetchSubscriptionCoupons = exports.fetchSubscriptionAddOns = exports.fetchSubscriptionPlans = exports.fetchSubscriptionList = exports.updateCompanySubscriptionUIState = exports.getCompanySubscriptionView = exports.toSubscriptionSortKeyType = exports.getBankAccount = exports.
|
|
38
|
+
exports.getSubscriptionEstimationData = exports.getSubscriptionLocalStoreDataView = exports.getSubscriptionsDetailView = exports.clearSubscriptionLocalData = exports.clearSubscriptionUpdateViewDataByTenantId = exports.saveSubscriptionLocalData = exports.initializeSubscriptionLocalData = exports.clearSubscriptionView = exports.fetchSubscriptionUpdateEstimate = exports.fetchSubscriptionCreateEstimate = exports.saveSubscriptionNotesUpdates = exports.saveSubscriptionUpdates = exports.fetchSubscriptionDetails = exports.fetchSubscriptionCoupons = exports.fetchSubscriptionAddOns = exports.fetchSubscriptionPlans = exports.fetchSubscriptionList = exports.updateCompanySubscriptionUIState = exports.getCompanySubscriptionView = exports.toSubscriptionSortKeyType = exports.getBankAccount = exports.getNestedAccountListHierarchy = exports.getUncategorizedAccounts = exports.toCompanyPassportLocalData = exports.clearCompanyView = exports.saveCompanyPassportDetails = exports.updateCompanyPassportLocalStoreData = exports.companyPassportClearDataInLocalStore = exports.deleteCompanyOfficerInLocalStore = exports.saveIndustryAndIncDateInCompanyPassportLocalStore = exports.companyPassportSaveDataInLocalStore = exports.isCompanyPassportDataToBeSaved = exports.getCompanyPassportLocalStoreData = exports.getCompanyPassportView = exports.fetchCompanyPassportView = exports.isAllowedValueWithID = exports.isAllowedValueWithCode = exports.toCockpitTabsFileTypeStrict = exports.toCockpitTabsIDStrict = exports.ALL_COCKPIT_TABS_IDS = exports.ALL_COCKPIT_TABS_FILE_TYPES = exports.toHealthSortKeyType = exports.toPortfolioSortKeyType = exports.toOnboardingSortKeyType = exports.toManagementSortKeyType = exports.clearAddressView = exports.fetchAddress = exports.getFormattedAddress = exports.getAllNewAddresses = exports.getNewAddress = void 0;
|
|
39
39
|
exports.updateScrollYOffset = exports.fetchVendorsList = exports.vendorsTabResetVendorDetailLocalData = exports.vendorsTabUpdateVendorDetailLocalData = exports.vendorsTabSaveVendorSuccessOrFailure = exports.vendorsTabSaveVendor = exports.getVendorsTabDetailPageView = exports.toVendorDetailTabsType = exports.getVendorAllTransactionsDefaultTimePeriod = exports.resetVendorsTabVendorAllTransactionsTabData = exports.resetSelectedTabType = exports.updateVendorsTabVendorAllTransactionsTabData = exports.updateSelectedTabType = exports.fetchVendorsTabVendorDetailPageView = exports.getVendorDetailPageView = exports.getVendorView = exports.getAnalyticsDataOnVendorSave = exports.fetchTasksCard = exports.downloadFile = exports.getAttachmentFileIdByFileName = exports.mapAttachmentFileToAttachmentFilePayload = exports.mapAttachmentFilePayloadToFile = exports.mapFilePayloadToFile = exports.uploadFile = exports.getFileDeleteStatusById = exports.getFileUpdateNameStatusById = exports.getDeleteFileListWithStatus = exports.getFileListWithStatus = exports.clearFileViewList = exports.deleteFileSuccess = exports.deleteFileFailure = exports.deleteFile = exports.deleteFileListSuccess = exports.deleteFileListFailure = exports.deleteFileList = exports.updateFilesMetadata = exports.updateFileNameSuccess = exports.updateFileNameFailure = exports.updateFileName = exports.fetchFile = exports.fetchFileListSuccess = exports.fetchFileListFailure = exports.fetchFileList = exports.toSupportedAttachmentFileType = exports.toSupportedAttachmentFileFormatType = exports.toSupportedFileTypeStrict = exports.removeAttachmentFiles = exports.updateAttachmentFiles = exports.updateFiles = exports.SUPPORTED_ATTACHMENT_FILE_TYPES = void 0;
|
|
40
40
|
exports.saveBillDetail = exports.discardBillUpdatesInLocalStore = exports.saveBillUpdatesToLocalStore = exports.fetchVendorByNameAndParseInvoice = exports.updateBillDetailSaveBillCode = exports.updateSelectedBillId = exports.updateSubTab = exports.updateTab = exports.fetchBillListPerTab = exports.fetchBillList = exports.getClassList = exports.updateBillListDownloadUIState = exports.updateRemiListDownloadUIState = exports.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED = exports.REIMBURSEMENT_FILTER_CATEGORIES = exports.updateRemiListFilterResult = exports.updateBillListFilterResult = exports.updateRemiListSearchResult = exports.updateRemiListUIState = exports.updateRemiDetailSaveRemiCode = exports.updateRemiListSubTab = exports.updateRemiListTab = exports.fetchRemiListPerTab = exports.fetchRemiList = exports.getRemiDownloadList = exports.getRemiList = exports.toRemiTabTypeStrict = exports.toRemiTabType = exports.toRemiSubTabTypeStrict = exports.toRemiSubTabType = exports.deleteUserBankAccount = exports.createUserBankAccount = exports.resetCreateBankAccountDetails = exports.createInternationalBankAccount = exports.createBankAccount = exports.deleteBankAccount = exports.fetchBankCountryNameByIban = exports.fetchBankNameBySwift = exports.fetchBankNameByRouting = exports.fetchVendorDetailPageView = exports.fetchVendorDetails = exports.updateStatusForCreateBankAccountFlow = exports.clearBankAccountView = exports.updateInternationalBankAccountViewLocalStoreData = exports.updateBankAccountViewLocalStoreData = exports.initializeVendorAddress = exports.updateSelectedVendorForCreateFlow = exports.removeBankAccountsInVendorView = exports.saveVendor = exports.fetchVendor = void 0;
|
|
41
41
|
exports.saveCompnayOfficerPhoneInLocalStore = exports.saveSetupViewDataInLocalStore = exports.acceptBillPayUpdatedTerms = exports.acceptZeniAccountTerms = exports.acceptBillPayTerms = exports.establishPlaidConnection = exports.updatePaymentAccountStatus = exports.updatePaymentAccountLoginStatus = exports.updatePaymentAccount = exports.updateBusinessVerificationDetails = exports.updateSetupViewLocalStoreData = exports.updateSelectedCompanyOfficer = exports.getPlaidLinkToken = exports.getPaymentAccounts = exports.enableSetup = exports.fetchZeniAccountSetupView = exports.fetchBillPaySetupView = exports.hideCreatedByFilter = exports.fetchVendorAndUpdateBillLocalData = exports.convertAmountToHomeCurrency = exports.toPaymentToOption = exports.updateVendorContact = exports.verifyUser = exports.fetchUserDetails = exports.updateBillListSearchResult = exports.updateBillUploadFetchState = exports.updateContactsInVendorDetailLocalData = exports.resetVendorDetailLocalData = exports.updateVendorDetailLocalData = exports.BILL_PAY_FILTER_CATEGORIES = exports.updateBillListUIState = exports.saveVendorSuccessOrFailure = exports.updateShowAutofill = exports.fetchBillAndInitializeLocalStore = exports.getReviewPageBillDetail = exports.getEditBillDetail = exports.clearBillPayReview = exports.fetchDuplicateBill = exports.fetchAndUpdateVendorRecommendations = exports.fetchEditBillDetailPage = exports.fetchBillDetail = exports.getBillTransactionDetailKey = exports.checkApproveRejectBtnShowForBill = exports.getBillDetailView = exports.getBillDownloadList = exports.getBillList = exports.cancelAndDeleteBill = exports.deleteBill = exports.updateApprovalStatusOnSuccess = exports.approveOrRejectBill = void 0;
|
|
@@ -45,8 +45,8 @@ exports.fetchPaymentAccountList = exports.createCheckingAccount = exports.update
|
|
|
45
45
|
exports.updateOnboardingCustomerViewUIState = exports.updateCurrentStep = exports.updateOnboardingCustomerViewLocalStoreData = exports.updateOnboardingCustomerView = exports.updateOnboardingPaymentAccountStatus = exports.updateOnboardingPaymentAccountLoginStatus = exports.updateOnboardingCustomerViewCompleteStatus = exports.updateOnboardingCustomerViewAccountDetails = exports.establishOnboardingPlaidConnection = exports.getOnboardingPlaidLinkToken = exports.fetchOnboardingCustomerSetupView = exports.fetchOnboardingCustomerView = exports.isZeniClearingAccount = exports.ZENI_CLEARING_ACCOUNT = exports.isZeniClearingAccountReport = exports.getCompanyConfig = exports.fetchCompanyConfig = exports.clearTransactionVendorSaveStatus = exports.resetTransactionVendorLocalData = exports.updateTransactionVendorLocalData = exports.saveTransactionVendorSuccessOrFailure = exports.saveTransactionVendor = exports.getTransactionVendorView = exports.getZeniAccStatements = exports.fetchZeniAccStatementPage = exports.getDepositAccountTransactionList = exports.fetchDepositAccountTransactionList = exports.fetchDepositAccountHistoryFailure = exports.fetchDepositAccountHistorySuccess = exports.updateDepositAccount = exports.getCheckDepositDetail = exports.clearCheckDeposit = exports.updateCheckDepositLocalData = exports.depositCheck = exports.ZENI_ACCOUNTS_TAB = exports.fetchDepositAccountDetail = exports.fetchReviewTransferDetail = exports.clearReviewTransferDetail = exports.clearTransferDetail = exports.getTransferDetail = exports.transferMoney = exports.updateDepositToLocalData = exports.updateTransferToLocalData = exports.updateTransferMoneyLocalData = exports.fetchZeniAccountsConfig = exports.fetchDepositAccount = exports.getDepositAccountDetailForPDF = exports.getAllDepostAccounts = exports.getDepositAccountDetail = exports.unlinkPaymentAccount = void 0;
|
|
46
46
|
exports.getChargeCardBusinessVerificationDetails = exports.companyHealthMetricDropDownOptions = exports.hasCompanyHealthMetricFormFieldChanged = exports.getCompanyHealthMetricView = exports.isCompanyRunwayInfinite = exports.updateCompanyHealthViewUIState = exports.updateCompanyHealthMetricViewSuccessStatus = exports.updateCompanyHealthMetricViewErrorStatus = exports.updateCompanyHealthMetricLocalStore = exports.saveCompanyHealthMetricById = exports.removeSelectedCompanyId = exports.initializeCompanyHealthMetricViewLocalData = exports.fetchCompanyHealthMetricView = exports.clearCompanyHealthMetricView = exports.updateCompanyHealth = exports.updateCompaniesHealth = exports.getUserRoleConfig = exports.fetchUserRoleConfig = exports.clearInternationalWire = exports.deletePaymentInstrument = exports.createPaymentInstrumentUpdateStatus = exports.createPaymentInstrument = exports.fetchInternationalWireDynamicForm = exports.initializeDynamicForm = exports.updateInternationalWireLocalStoreData = exports.initializeInternationalWireLocalData = exports.getInternationalWireView = exports.fetchWiseRedirectStatus = exports.getWiseRedirect = exports.saveMagicLinkAddressInLocalStore = exports.fetchMagicLinkBankNameBySwift = exports.fetchMagicLinkBankNameByRouting = exports.updateMagicLinkInternationalBankAccountLocalStoreData = exports.updateMagicLinkBankAccountLocalStoreData = exports.saveBankAccount = exports.fetchBillAttachment = exports.fetchMagicLinkTenant = exports.getMagicLinkCurrentAddressState = exports.getMagicLinkBankAccountView = exports.getMagicLinkView = exports.initializeAccountMappingView = exports.getAccountMappingView = exports.clearAccountMappingLocalData = exports.saveAccountMappingLocalData = exports.saveAccountMapping = exports.getOnboardingCustomerView = exports.clearOnboardingCustomerViewDataInLocalStore = exports.clearOnboardingCustomerView = exports.saveOnboardingCustomerViewDataInLocalStore = exports.saveOnboardingCompnayOfficerPhoneInLocalStore = void 0;
|
|
47
47
|
exports.updatedJELinkInLocalData = exports.getThirdPartyIDFromQBOURL = exports.getQBOUrlForLink = exports.updatedSelectedJELinkRowIndex = exports.updateScheduleListDownloadState = exports.updateScheduleDetailsLocalData = exports.createNewSchedules = exports.deleteScheduleDetail = exports.saveScheduleDetails = exports.fetchScheduleDetailsPage = exports.getScheduleDetailsView = exports.fetchScheduleDetails = exports.updateSelectedJEScheduleKey = exports.updateScheduleListSortState = exports.updateScheduleListScrollState = exports.updateScheduleListSearchText = exports.updateScheduleListSubTab = exports.toScheduleSubTabType = exports.toScheduleListTabsFileTypeStrict = exports.toScheduleTypesTypeStrict = exports.toScheduleTypesType = exports.getFetchStateForScheduleAccountList = exports.updateScheduleListLocalData = exports.fetchSchedulesAccount = exports.fetchDownloadSchedules = exports.fetchScheduleList = exports.getScheduleListReport = exports.ALL_SCHEDULES_TYPES = exports.updateApAgingDetailUIState = exports.getApAgingDetailForVendor = exports.fetchApAgingDetail = exports.updateApAgingUIState = exports.getApAgingReport = exports.fetchApAging = exports.updateChargeCardDetail = exports.updateChargeCardListUIState = exports.updateChargeCardListSearchText = exports.resetIssueChargeCardForm = exports.updateChargeCardLocalStore = exports.issueChargeCard = exports.acceptChargeCardTerms = exports.fetchChargeCardSetupView = exports.getChargeCardSetupViewDetails = exports.toCreditLimitFrequencyCodeType = exports.toChargeCardSortKeyType = exports.fetchChargeCardTransactionList = exports.getChargeCardDetailView = exports.fetchChargeCardDetailPage = exports.getChargeCardListView = exports.fetchChargeCardListPage = void 0;
|
|
48
|
-
exports.
|
|
49
|
-
exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = exports.fetchRewardsPlan = exports.resendReferralInvite = exports.updateReferralListSortUiState = exports.saveReferralFormDataInLocalStore = exports.clearReferrals = exports.sendReferralInvite = exports.fetchReferrals = exports.AmountStatusTypes = exports.StatusTypes = exports.toReferralListViewSortKeyType = exports.getInviteFormView = exports.getReferralListView = exports.fetchZeniAccountsPromoCard = exports.getZeniAccountsPromoCard = exports.getAuthenticationView = exports.fetchCollaborationAuthToken = exports.clearAuditReportGroupViewByCompanyId = exports.fetchAuditReportGroupView = exports.fetchAuditRuleGroupView = exports.getAuditRuleGroupViewSelectorView = exports.getAuditReportGroupViewSelectorView = exports.discardTaskUpdatesInLocalStore = exports.deleteTask = exports.TASK_LIST_FILTER_CATEGORIES = exports.updateTaskFilters = exports.allTaskPriority = void 0;
|
|
48
|
+
exports.allTaskTags = exports.updateTaskListUIState = exports.updateTaskListSearchText = exports.archiveTask = exports.saveTaskDetail = exports.saveTaskUpdatesToLocalStore = exports.fetchTaskDetailPage = exports.getTaskDetail = exports.fetchTaskListPage = exports.getAllTasks = exports.toRecurringBillFrequencyStrict = exports.toRecurringBillFrequency = exports.updateArAgingNodeCollapseState = exports.getArAgingDetailForCustomer = exports.getArAgingReport = exports.updateArAgingDetailUIState = exports.fetchArAgingDetail = exports.updateArAgingUIState = exports.fetchArAging = exports.toVendorGlobalReviewColumnSortKeyType = exports.getTenantMerchantByMerchantId = exports.getVendorGlobalReviewView = exports.updateVendorGlobalReviewViewUIState = exports.updateSelectedGlobalMerchant = exports.fetchVendorGlobalReviewView = exports.rejectVendorGlobalReview = exports.approveVendorGlobalReview = exports.getGlobalMerchantView = exports.clearGlobalMerchantView = exports.updateCreateGlobalMerchantLocalData = exports.createGlobalMerchant = exports.fetchGlobalMerchantRecommendation = exports.clearGlobalMerchantAutoCompleteResults = exports.fetchGlobalMerchantAutoCompleteView = exports.updateVendorFirstReviewSortUiState = exports.updateVendorFirstReviewViewLocalData = exports.saveVendorFirstReviewView = exports.clearRecentlySavedErroredVendorData = exports.updateVendorFirstReviewViewPageToken = exports.resetVendorFirstReviewLocalData = exports.updateVendorFirstReviewViewScrollYOffset = exports.fetchVendorFirstReviewView = exports.getVendorFirstReviewView = exports.getGlobalMerchantAutoCompleteResults = exports.toVendorFirstReviewViewColumnKeyType = exports.getDefaultSelectedTimeframeForScheduleType = exports.getFetchStateForScheduleListByType = exports.updatedJELinkWithRecommendedLocalData = exports.resetJELinkInLocalData = exports.updateAmountsInScheduleDetail = void 0;
|
|
49
|
+
exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = exports.fetchRewardsPlan = exports.resendReferralInvite = exports.updateReferralListSortUiState = exports.saveReferralFormDataInLocalStore = exports.clearReferrals = exports.sendReferralInvite = exports.fetchReferrals = exports.AmountStatusTypes = exports.StatusTypes = exports.toReferralListViewSortKeyType = exports.getInviteFormView = exports.getReferralListView = exports.getNotificationsForSelectedSubTab = exports.getExternalNotificationsForSelectedSubTab = exports.getNotificationView = exports.updateNotificationViewUIState = exports.updateNotificationViewSubTab = exports.updateNotificationViewCurrentTabAndSubTab = exports.updateNotificationViewTabState = exports.updateNotificationViewNotificationStatus = exports.updateNotificationViewAllNotificationsStatus = exports.fetchNotificationUnreadCountSuccess = exports.fetchNotificationUnreadCount = exports.fetchNotificationView = exports.toNotificationTabTypeStrict = exports.toNotificationSubTabTypeStrict = exports.updateCommentsNotificationsStatuses = exports.updateCommentsNotifications = exports.toNotificationModeStrict = exports.fetchZeniAccountsPromoCard = exports.getZeniAccountsPromoCard = exports.getAuthenticationView = exports.fetchCollaborationAuthToken = exports.clearAuditReportGroupViewByCompanyId = exports.fetchAuditReportGroupView = exports.fetchAuditRuleGroupView = exports.getAuditRuleGroupViewSelectorView = exports.getAuditReportGroupViewSelectorView = exports.discardTaskUpdatesInLocalStore = exports.deleteTask = exports.TASK_LIST_FILTER_CATEGORIES = exports.updateTaskFilters = exports.allTaskPriority = exports.allTaskStatus = void 0;
|
|
50
50
|
const zeniDayJS_1 = require("./zeniDayJS");
|
|
51
51
|
Object.defineProperty(exports, "Dayjs", { enumerable: true, get: function () { return zeniDayJS_1.Dayjs; } });
|
|
52
52
|
Object.defineProperty(exports, "updateZeniDateLocaleID", { enumerable: true, get: function () { return zeniDayJS_1.updateZeniDateLocaleID; } });
|
|
@@ -465,8 +465,8 @@ Object.defineProperty(exports, "toContentType", { enumerable: true, get: functio
|
|
|
465
465
|
Object.defineProperty(exports, "mapFileEntityToAttachment", { enumerable: true, get: function () { return attachment_1.mapFileEntityToAttachment; } });
|
|
466
466
|
var attachmentPayload_1 = require("./entity/transaction/payloadTypes/attachmentPayload");
|
|
467
467
|
Object.defineProperty(exports, "toAttachment", { enumerable: true, get: function () { return attachmentPayload_1.toAttachment; } });
|
|
468
|
-
const
|
|
469
|
-
Object.defineProperty(exports, "defaultCustomerCurrency", { enumerable: true, get: function () { return
|
|
468
|
+
const customerState_1 = require("./entity/customer/customerState");
|
|
469
|
+
Object.defineProperty(exports, "defaultCustomerCurrency", { enumerable: true, get: function () { return customerState_1.defaultCustomerCurrency; } });
|
|
470
470
|
const customerTransaction_1 = require("./entity/transaction/stateTypes/customerTransaction");
|
|
471
471
|
Object.defineProperty(exports, "isCustomerTransaction", { enumerable: true, get: function () { return customerTransaction_1.isCustomerTransaction; } });
|
|
472
472
|
var transactionIDPayload_1 = require("./entity/transaction/payloadTypes/transactionIDPayload");
|
|
@@ -675,7 +675,7 @@ const companyPassportLocalData_1 = require("./view/companyView/types/companyPass
|
|
|
675
675
|
Object.defineProperty(exports, "toCompanyPassportLocalData", { enumerable: true, get: function () { return companyPassportLocalData_1.toCompanyPassportLocalData; } });
|
|
676
676
|
const accountListSelector_1 = require("./view/accountList/accountListSelector");
|
|
677
677
|
Object.defineProperty(exports, "getUncategorizedAccounts", { enumerable: true, get: function () { return accountListSelector_1.getUncategorizedAccounts; } });
|
|
678
|
-
Object.defineProperty(exports, "
|
|
678
|
+
Object.defineProperty(exports, "getNestedAccountListHierarchy", { enumerable: true, get: function () { return accountListSelector_1.getNestedAccountListHierarchy; } });
|
|
679
679
|
const bankAccountViewSelector_1 = require("./view/bankAccountView/bankAccountViewSelector");
|
|
680
680
|
Object.defineProperty(exports, "getBankAccount", { enumerable: true, get: function () { return bankAccountViewSelector_1.getBankAccount; } });
|
|
681
681
|
const subscriptionViewReducer_1 = require("./view/subscriptionView/subscriptionViewReducer");
|
|
@@ -1071,8 +1071,6 @@ Object.defineProperty(exports, "getDepositAccountDetail", { enumerable: true, ge
|
|
|
1071
1071
|
Object.defineProperty(exports, "getDepositAccountDetailForPDF", { enumerable: true, get: function () { return depositAccountDetailSelector_1.getDepositAccountDetailForPDF; } });
|
|
1072
1072
|
const depositAccountListSelector_1 = require("./view/spendManagement/zeniAccounts/depositAccountList/depositAccountListSelector");
|
|
1073
1073
|
Object.defineProperty(exports, "getAllDepostAccounts", { enumerable: true, get: function () { return depositAccountListSelector_1.getAllDepostAccounts; } });
|
|
1074
|
-
const depositAccountDetailReducer_1 = require("./view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer");
|
|
1075
|
-
Object.defineProperty(exports, "fetchDepositAccount", { enumerable: true, get: function () { return depositAccountDetailReducer_1.fetchDepositAccount; } });
|
|
1076
1074
|
const zeniAccountsConfigReducer_1 = require("./view/spendManagement/zeniAccounts/zeniAccountsConfig/zeniAccountsConfigReducer");
|
|
1077
1075
|
Object.defineProperty(exports, "fetchZeniAccountsConfig", { enumerable: true, get: function () { return zeniAccountsConfigReducer_1.fetchZeniAccountsConfig; } });
|
|
1078
1076
|
const transferDetailReducer_1 = require("./view/spendManagement/zeniAccounts/transferDetail/transferDetailReducer");
|
|
@@ -1089,11 +1087,12 @@ Object.defineProperty(exports, "clearCheckDeposit", { enumerable: true, get: fun
|
|
|
1089
1087
|
Object.defineProperty(exports, "updateDepositToLocalData", { enumerable: true, get: function () { return checkDepositReducer_1.updateDepositToLocalData; } });
|
|
1090
1088
|
const transferDetailSelector_1 = require("./view/spendManagement/zeniAccounts/transferDetail/transferDetailSelector");
|
|
1091
1089
|
Object.defineProperty(exports, "getTransferDetail", { enumerable: true, get: function () { return transferDetailSelector_1.getTransferDetail; } });
|
|
1092
|
-
const
|
|
1093
|
-
Object.defineProperty(exports, "fetchDepositAccountDetail", { enumerable: true, get: function () { return
|
|
1094
|
-
Object.defineProperty(exports, "updateDepositAccount", { enumerable: true, get: function () { return
|
|
1095
|
-
Object.defineProperty(exports, "fetchDepositAccountHistorySuccess", { enumerable: true, get: function () { return
|
|
1096
|
-
Object.defineProperty(exports, "fetchDepositAccountHistoryFailure", { enumerable: true, get: function () { return
|
|
1090
|
+
const depositAccountDetailReducer_1 = require("./view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer");
|
|
1091
|
+
Object.defineProperty(exports, "fetchDepositAccountDetail", { enumerable: true, get: function () { return depositAccountDetailReducer_1.fetchDepositAccountDetail; } });
|
|
1092
|
+
Object.defineProperty(exports, "updateDepositAccount", { enumerable: true, get: function () { return depositAccountDetailReducer_1.updateDepositAccount; } });
|
|
1093
|
+
Object.defineProperty(exports, "fetchDepositAccountHistorySuccess", { enumerable: true, get: function () { return depositAccountDetailReducer_1.fetchDepositAccountHistorySuccess; } });
|
|
1094
|
+
Object.defineProperty(exports, "fetchDepositAccountHistoryFailure", { enumerable: true, get: function () { return depositAccountDetailReducer_1.fetchDepositAccountHistoryFailure; } });
|
|
1095
|
+
Object.defineProperty(exports, "fetchDepositAccount", { enumerable: true, get: function () { return depositAccountDetailReducer_1.fetchDepositAccount; } });
|
|
1097
1096
|
const paymentAccountListReducer_1 = require("./view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer");
|
|
1098
1097
|
Object.defineProperty(exports, "fetchPaymentAccountList", { enumerable: true, get: function () { return paymentAccountListReducer_1.fetchPaymentAccountList; } });
|
|
1099
1098
|
Object.defineProperty(exports, "unlinkPaymentAccount", { enumerable: true, get: function () { return paymentAccountListReducer_1.unlinkPaymentAccount; } });
|
|
@@ -1318,6 +1317,7 @@ Object.defineProperty(exports, "getTenantMerchantByMerchantId", { enumerable: tr
|
|
|
1318
1317
|
const arAgingReducer_1 = require("./view/arAgingView/arAgingReport/arAgingReducer");
|
|
1319
1318
|
Object.defineProperty(exports, "fetchArAging", { enumerable: true, get: function () { return arAgingReducer_1.fetchArAging; } });
|
|
1320
1319
|
Object.defineProperty(exports, "updateArAgingUIState", { enumerable: true, get: function () { return arAgingReducer_1.updateArAgingUIState; } });
|
|
1320
|
+
Object.defineProperty(exports, "updateArAgingNodeCollapseState", { enumerable: true, get: function () { return arAgingReducer_1.updateArAgingNodeCollapseState; } });
|
|
1321
1321
|
const arAgingSelector_1 = require("./view/arAgingView/arAgingReport/arAgingSelector");
|
|
1322
1322
|
Object.defineProperty(exports, "getArAgingReport", { enumerable: true, get: function () { return arAgingSelector_1.getArAgingReport; } });
|
|
1323
1323
|
const arAgingDetailReducer_1 = require("./view/arAgingView/arAgingDetail/arAgingDetailReducer");
|
|
@@ -1364,6 +1364,28 @@ const zeniAccountsPromoCardSelector_1 = require("./view/zeniAccountsPromoCard/ze
|
|
|
1364
1364
|
Object.defineProperty(exports, "getZeniAccountsPromoCard", { enumerable: true, get: function () { return zeniAccountsPromoCardSelector_1.getZeniAccountsPromoCard; } });
|
|
1365
1365
|
const zeniAccountsPromoCardReducer_1 = require("./view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer");
|
|
1366
1366
|
Object.defineProperty(exports, "fetchZeniAccountsPromoCard", { enumerable: true, get: function () { return zeniAccountsPromoCardReducer_1.fetchZeniAccountsPromoCard; } });
|
|
1367
|
+
const notificationTypes_1 = require("./entity/notification/types/notificationTypes");
|
|
1368
|
+
Object.defineProperty(exports, "toNotificationModeStrict", { enumerable: true, get: function () { return notificationTypes_1.toNotificationModeStrict; } });
|
|
1369
|
+
const notificationReducer_1 = require("./entity/notification/notificationReducer");
|
|
1370
|
+
Object.defineProperty(exports, "updateCommentsNotifications", { enumerable: true, get: function () { return notificationReducer_1.updateCommentsNotifications; } });
|
|
1371
|
+
Object.defineProperty(exports, "updateCommentsNotificationsStatuses", { enumerable: true, get: function () { return notificationReducer_1.updateCommentsNotificationsStatuses; } });
|
|
1372
|
+
const notificationViewReducer_1 = require("./view/notificationView/notificationViewReducer");
|
|
1373
|
+
Object.defineProperty(exports, "fetchNotificationView", { enumerable: true, get: function () { return notificationViewReducer_1.fetchNotificationView; } });
|
|
1374
|
+
Object.defineProperty(exports, "fetchNotificationUnreadCount", { enumerable: true, get: function () { return notificationViewReducer_1.fetchNotificationUnreadCount; } });
|
|
1375
|
+
Object.defineProperty(exports, "fetchNotificationUnreadCountSuccess", { enumerable: true, get: function () { return notificationViewReducer_1.fetchNotificationUnreadCountSuccess; } });
|
|
1376
|
+
Object.defineProperty(exports, "updateNotificationViewAllNotificationsStatus", { enumerable: true, get: function () { return notificationViewReducer_1.updateNotificationViewAllNotificationsStatus; } });
|
|
1377
|
+
Object.defineProperty(exports, "updateNotificationViewNotificationStatus", { enumerable: true, get: function () { return notificationViewReducer_1.updateNotificationViewNotificationStatus; } });
|
|
1378
|
+
Object.defineProperty(exports, "updateNotificationViewTabState", { enumerable: true, get: function () { return notificationViewReducer_1.updateNotificationViewTabState; } });
|
|
1379
|
+
Object.defineProperty(exports, "updateNotificationViewCurrentTabAndSubTab", { enumerable: true, get: function () { return notificationViewReducer_1.updateNotificationViewCurrentTabAndSubTab; } });
|
|
1380
|
+
Object.defineProperty(exports, "updateNotificationViewSubTab", { enumerable: true, get: function () { return notificationViewReducer_1.updateNotificationViewSubTab; } });
|
|
1381
|
+
Object.defineProperty(exports, "updateNotificationViewUIState", { enumerable: true, get: function () { return notificationViewReducer_1.updateNotificationViewUIState; } });
|
|
1382
|
+
const notificationViewState_1 = require("./view/notificationView/notificationViewState");
|
|
1383
|
+
Object.defineProperty(exports, "toNotificationSubTabTypeStrict", { enumerable: true, get: function () { return notificationViewState_1.toNotificationSubTabTypeStrict; } });
|
|
1384
|
+
Object.defineProperty(exports, "toNotificationTabTypeStrict", { enumerable: true, get: function () { return notificationViewState_1.toNotificationTabTypeStrict; } });
|
|
1385
|
+
const notificationViewSelector_1 = require("./view/notificationView/notificationViewSelector");
|
|
1386
|
+
Object.defineProperty(exports, "getNotificationView", { enumerable: true, get: function () { return notificationViewSelector_1.getNotificationView; } });
|
|
1387
|
+
Object.defineProperty(exports, "getExternalNotificationsForSelectedSubTab", { enumerable: true, get: function () { return notificationViewSelector_1.getExternalNotificationsForSelectedSubTab; } });
|
|
1388
|
+
Object.defineProperty(exports, "getNotificationsForSelectedSubTab", { enumerable: true, get: function () { return notificationViewSelector_1.getNotificationsForSelectedSubTab; } });
|
|
1367
1389
|
const referralSelector_1 = require("./view/referralView/referralSelector");
|
|
1368
1390
|
Object.defineProperty(exports, "getReferralListView", { enumerable: true, get: function () { return referralSelector_1.getReferralListView; } });
|
|
1369
1391
|
Object.defineProperty(exports, "getInviteFormView", { enumerable: true, get: function () { return referralSelector_1.getInviteFormView; } });
|
package/lib/reducer.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ import { EditRemiDetailViewState } from './view/spendManagement/reimbursement/ed
|
|
|
83
83
|
import { EditBillDetailViewState } from './view/spendManagement/billPay/editBillView/editBillViewState';
|
|
84
84
|
import { PreviousBillsState } from './view/spendManagement/billPay/previousBills/previousBillsState';
|
|
85
85
|
import { BillPayReviewState } from './view/spendManagement/billPay/billPayReview/billPayReviewState';
|
|
86
|
-
import { CustomerState } from './entity/customer/
|
|
86
|
+
import { CustomerState } from './entity/customer/customerState';
|
|
87
87
|
import { PaymentAccountState } from './entity/paymentAccount/paymentAccountState';
|
|
88
88
|
import { SubscriptionPaymentAccountState } from './entity/subscriptionPaymentAccount/subscriptionPaymentAccountState';
|
|
89
89
|
import { BillPaySetupViewState } from './view/spendManagement/billPay/billPaySetupView/billPaySetupViewState';
|
|
@@ -155,6 +155,8 @@ import { AuthenticationViewState } from './view/authenticationView/authenticatio
|
|
|
155
155
|
import { TwoFactorAuthenticationState } from './view/twoFactorAuthentication/twoFactorAuthentication';
|
|
156
156
|
import { ZeniAccountsPromoCardState } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardState';
|
|
157
157
|
import { ReferralViewState } from './view/referralView/referralState';
|
|
158
|
+
import { NotificationState } from './entity/notification/notificationState';
|
|
159
|
+
import { NotificationViewState } from './view/notificationView/notificationViewState';
|
|
158
160
|
declare type EntitiesState = {
|
|
159
161
|
accountGroupState: AccountGroupState;
|
|
160
162
|
accountingSummaryState: AccountingSummaryState;
|
|
@@ -183,6 +185,7 @@ declare type EntitiesState = {
|
|
|
183
185
|
insightState: InsightState;
|
|
184
186
|
jeSchedulesState: JESchedulesState;
|
|
185
187
|
merchantState: MerchantState;
|
|
188
|
+
notificationState: NotificationState;
|
|
186
189
|
onboardingCustomerState: OnboardingCustomerState;
|
|
187
190
|
paymentAccountState: PaymentAccountState;
|
|
188
191
|
paymentInstrumentState: PaymentInstrumentState;
|
|
@@ -262,6 +265,7 @@ declare type ViewsState = {
|
|
|
262
265
|
netBurnOrIncomeClassesViewState: NetBurnOrIncomeClassesViewState;
|
|
263
266
|
netBurnOrIncomeState: NetBurnOrIncomeWithForecastState;
|
|
264
267
|
netBurnOrIncomeStoryCardState: NetBurnOrIncomeStoryCardState;
|
|
268
|
+
notificationViewState: NotificationViewState;
|
|
265
269
|
onboardingCockpitViewState: OnboardingCockpitViewState;
|
|
266
270
|
onboardingCustomerViewState: OnboardingCustomerViewState;
|
|
267
271
|
opExByVendorState: OpExByVendorState;
|
|
@@ -372,6 +376,7 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
372
376
|
netBurnOrIncomeClassesViewState: NetBurnOrIncomeClassesViewState;
|
|
373
377
|
netBurnOrIncomeState: NetBurnOrIncomeWithForecastState;
|
|
374
378
|
netBurnOrIncomeStoryCardState: NetBurnOrIncomeStoryCardState;
|
|
379
|
+
notificationViewState: NotificationViewState;
|
|
375
380
|
onboardingCockpitViewState: OnboardingCockpitViewState;
|
|
376
381
|
onboardingCustomerViewState: OnboardingCustomerViewState;
|
|
377
382
|
opExByVendorState: OpExByVendorState;
|
|
@@ -455,6 +460,7 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
455
460
|
insightState: InsightState;
|
|
456
461
|
jeSchedulesState: JESchedulesState;
|
|
457
462
|
merchantState: MerchantState;
|
|
463
|
+
notificationState: NotificationState;
|
|
458
464
|
onboardingCustomerState: OnboardingCustomerState;
|
|
459
465
|
paymentInstrumentState: PaymentInstrumentState;
|
|
460
466
|
recurringBillState: RecurringBillState;
|
package/lib/reducer.js
CHANGED
|
@@ -186,6 +186,8 @@ const authenticationViewReducer_1 = __importStar(require("./view/authenticationV
|
|
|
186
186
|
const twoFactorAuthenticationReducer_1 = __importStar(require("./view/twoFactorAuthentication/twoFactorAuthenticationReducer"));
|
|
187
187
|
const zeniAccountsPromoCardReducer_1 = __importStar(require("./view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer"));
|
|
188
188
|
const referralReducer_1 = __importStar(require("./view/referralView/referralReducer"));
|
|
189
|
+
const notificationReducer_1 = __importStar(require("./entity/notification/notificationReducer"));
|
|
190
|
+
const notificationViewReducer_1 = __importStar(require("./view/notificationView/notificationViewReducer"));
|
|
189
191
|
// Note: Please maintain strict alphabetical order
|
|
190
192
|
const initialEntitiesState = {
|
|
191
193
|
accountGroupState: accountGroupReducer_1.initialState,
|
|
@@ -215,6 +217,7 @@ const initialEntitiesState = {
|
|
|
215
217
|
insightState: insightReducer_1.initialState,
|
|
216
218
|
jeSchedulesState: jeSchedulesReducer_1.initialState,
|
|
217
219
|
merchantState: merchantReducer_1.initialState,
|
|
220
|
+
notificationState: notificationReducer_1.initialState,
|
|
218
221
|
onboardingCustomerState: onboardingCustomerReducer_1.initialState,
|
|
219
222
|
paymentAccountState: paymentAccountReducer_1.initialState,
|
|
220
223
|
paymentInstrumentState: paymentInstrumentReducer_1.initialState,
|
|
@@ -295,6 +298,7 @@ const initialViewsState = {
|
|
|
295
298
|
netBurnOrIncomeClassesViewState: netBurnOrIncomeClassesViewReducer_1.initialState,
|
|
296
299
|
netBurnOrIncomeState: netBurnOrIncomeReducer_1.initialState,
|
|
297
300
|
netBurnOrIncomeStoryCardState: netBurnOrIncomeStoryCardReducer_1.initialState,
|
|
301
|
+
notificationViewState: notificationViewReducer_1.initialState,
|
|
298
302
|
onboardingCockpitViewState: onboardingCockpitViewReducer_1.initialState,
|
|
299
303
|
onboardingCustomerViewState: onboardingCustomerViewReducer_1.initialState,
|
|
300
304
|
opExByVendorState: opExByVendorReducer_1.initialState,
|
|
@@ -381,6 +385,7 @@ const entityReducers = {
|
|
|
381
385
|
insightState: insightReducer_1.default,
|
|
382
386
|
jeSchedulesState: jeSchedulesReducer_1.default,
|
|
383
387
|
merchantState: merchantReducer_1.default,
|
|
388
|
+
notificationState: notificationReducer_1.default,
|
|
384
389
|
onboardingCustomerState: onboardingCustomerReducer_1.default,
|
|
385
390
|
paymentAccountState: paymentAccountReducer_1.default,
|
|
386
391
|
paymentInstrumentState: paymentInstrumentReducer_1.default,
|
|
@@ -460,6 +465,7 @@ const viewReducers = {
|
|
|
460
465
|
netBurnOrIncomeClassesViewState: netBurnOrIncomeClassesViewReducer_1.default,
|
|
461
466
|
netBurnOrIncomeState: netBurnOrIncomeReducer_1.default,
|
|
462
467
|
netBurnOrIncomeStoryCardState: netBurnOrIncomeStoryCardReducer_1.default,
|
|
468
|
+
notificationViewState: notificationViewReducer_1.default,
|
|
463
469
|
onboardingCockpitViewState: onboardingCockpitViewReducer_1.default,
|
|
464
470
|
onboardingCustomerViewState: onboardingCustomerViewReducer_1.default,
|
|
465
471
|
opExByVendorState: opExByVendorReducer_1.default,
|
|
@@ -9,7 +9,7 @@ const toolkit_1 = require("@reduxjs/toolkit");
|
|
|
9
9
|
const get_1 = __importDefault(require("lodash/get"));
|
|
10
10
|
const accountPayload_1 = require("../../entity/account/accountPayload");
|
|
11
11
|
const accountState_1 = require("../../entity/account/accountState");
|
|
12
|
-
const
|
|
12
|
+
const getNestedAccountIDHierarchyForReport_1 = require("../../commonStateTypes/accountView/getNestedAccountIDHierarchyForReport");
|
|
13
13
|
exports.initialAccountList = {
|
|
14
14
|
fetchState: 'Not-Started',
|
|
15
15
|
error: undefined,
|
|
@@ -64,7 +64,7 @@ const accountList = (0, toolkit_1.createSlice)({
|
|
|
64
64
|
var _a, _b, _c, _d, _e, _f;
|
|
65
65
|
const exisitngData = draft.byReportId[action.payload.accountListKey];
|
|
66
66
|
const accountMetadata = (_b = (_a = action.payload.accountListResponse.data) === null || _a === void 0 ? void 0 : _a.accounts.map((acc) => (0, accountPayload_1.mapAccountMetadataPayloadToAccountMetadata)(acc))) !== null && _b !== void 0 ? _b : [];
|
|
67
|
-
draft.byReportId[action.payload.accountListKey] = Object.assign(Object.assign({}, exisitngData), { fetchState: 'Completed', error: undefined, accountIds: (_d = (_c = action.payload.accountListResponse.data) === null || _c === void 0 ? void 0 : _c.accounts.map((acc) => acc.account_id)) !== null && _d !== void 0 ? _d : [], nestedAccountHierarchy: (0,
|
|
67
|
+
draft.byReportId[action.payload.accountListKey] = Object.assign(Object.assign({}, exisitngData), { fetchState: 'Completed', error: undefined, accountIds: (_d = (_c = action.payload.accountListResponse.data) === null || _c === void 0 ? void 0 : _c.accounts.map((acc) => acc.account_id)) !== null && _d !== void 0 ? _d : [], nestedAccountHierarchy: (0, getNestedAccountIDHierarchyForReport_1.geNestedAccountIDHierarchyForReport)(accountMetadata) });
|
|
68
68
|
doUpdateAccountListByLabel(draft.byReportId[action.payload.accountListKey].accountIdsByLabel, (_f = (_e = action.payload.accountListResponse.data) === null || _e === void 0 ? void 0 : _e.accounts) !== null && _f !== void 0 ? _f : []);
|
|
69
69
|
},
|
|
70
70
|
updateAccountListFailure(draft, action) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NestedAccountHierarchyForReport } from '../../commonStateTypes/accountView/nestedAccountID';
|
|
2
2
|
import { FetchState, ID } from '../../commonStateTypes/common';
|
|
3
3
|
import { SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport';
|
|
4
4
|
import { AccountBase, AccountLabel, AccountState } from '../../entity/account/accountState';
|
|
@@ -13,7 +13,7 @@ export interface UncategorizedAccounts {
|
|
|
13
13
|
export declare const getAccountList: (accountState: AccountState, accountListState: AccountListState, accountListKey: AccountListKeyType) => AccountListSelectorView;
|
|
14
14
|
export declare const getAccountListFetchState: (accountListState: AccountListState, accountListKey: AccountListKeyType) => FetchState;
|
|
15
15
|
export declare const getUncategorizedAccounts: (accountState: AccountState, accountListState: AccountListState, accountListKey: AccountListKeyType) => UncategorizedAccounts;
|
|
16
|
-
export declare const
|
|
16
|
+
export declare const getNestedAccountListHierarchy: (accountListState: AccountListState, accountListKey: AccountListKeyType) => NestedAccountHierarchyForReport[];
|
|
17
17
|
/**
|
|
18
18
|
* This function gets the list for given label and will filter out the accounts and
|
|
19
19
|
* nested accounts based on this label
|
|
@@ -25,6 +25,6 @@ export declare const getNestedAccountListHeirarchy: (accountListState: AccountLi
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const getFilteredNestedAndAccountListsForLabel: (accountState: AccountState, accountListState: AccountListState, accountListKey: AccountListKeyType, accountLabel: AccountLabel) => {
|
|
27
27
|
accountList: AccountBase[];
|
|
28
|
-
nestedAccountList:
|
|
28
|
+
nestedAccountList: NestedAccountHierarchyForReport[];
|
|
29
29
|
};
|
|
30
30
|
export declare const getAccountIdsForLabel: (accountListState: AccountListState, accountListKey: AccountListKeyType, accountLabel: AccountLabel) => ID[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getAccountIdsForLabel = exports.getFilteredNestedAndAccountListsForLabel = exports.
|
|
3
|
+
exports.getAccountIdsForLabel = exports.getFilteredNestedAndAccountListsForLabel = exports.getNestedAccountListHierarchy = exports.getUncategorizedAccounts = exports.getAccountListFetchState = exports.getAccountList = void 0;
|
|
4
4
|
const accountSelector_1 = require("../../entity/account/accountSelector");
|
|
5
5
|
const getAccountList = (accountState, accountListState, accountListKey) => {
|
|
6
6
|
const accListState = accountListState.byReportId[accountListKey];
|
|
@@ -44,10 +44,10 @@ const getUncategorizedAccounts = (accountState, accountListState, accountListKey
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
exports.getUncategorizedAccounts = getUncategorizedAccounts;
|
|
47
|
-
const
|
|
47
|
+
const getNestedAccountListHierarchy = (accountListState, accountListKey) => {
|
|
48
48
|
return accountListState.byReportId[accountListKey].nestedAccountHierarchy;
|
|
49
49
|
};
|
|
50
|
-
exports.
|
|
50
|
+
exports.getNestedAccountListHierarchy = getNestedAccountListHierarchy;
|
|
51
51
|
/**
|
|
52
52
|
* This function gets the list for given label and will filter out the accounts and
|
|
53
53
|
* nested accounts based on this label
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NestedAccountHierarchyForReport } from '../../commonStateTypes/accountView/nestedAccountID';
|
|
2
2
|
import { FetchedState, ID } from '../../commonStateTypes/common';
|
|
3
3
|
import { AccountLabel } from '../../entity/account/accountState';
|
|
4
4
|
export declare type AccountListKeyType = 'accountList' | 'reimbursementAccountList' | 'schedulesAccountList' | 'billPayAccountList';
|
|
5
5
|
export interface AccountList extends FetchedState {
|
|
6
6
|
accountIds: ID[];
|
|
7
7
|
accountIdsByLabel: Record<AccountLabel, ID[]>;
|
|
8
|
-
nestedAccountHierarchy:
|
|
8
|
+
nestedAccountHierarchy: NestedAccountHierarchyForReport[];
|
|
9
9
|
}
|
|
10
10
|
export interface AccountListState {
|
|
11
11
|
byReportId: Record<AccountListKeyType, AccountList>;
|
|
@@ -5,7 +5,7 @@ exports.clearAccountMappingView = exports.saveAccountMappingSuccess = exports.sa
|
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
6
|
const accountTypeRecommendationPayload_1 = require("./accountTypeRecommendation/accountTypeRecommendationPayload");
|
|
7
7
|
const accountPayload_1 = require("../../entity/account/accountPayload");
|
|
8
|
-
const
|
|
8
|
+
const getNestedAccountIDHierarchyForReport_1 = require("../../commonStateTypes/accountView/getNestedAccountIDHierarchyForReport");
|
|
9
9
|
exports.initialState = {
|
|
10
10
|
data: {
|
|
11
11
|
isExpenseRecommendationChecked: false,
|
|
@@ -40,23 +40,23 @@ exports.initialState = {
|
|
|
40
40
|
fetchState: 'Not-Started',
|
|
41
41
|
},
|
|
42
42
|
incomeAccountIdList: [],
|
|
43
|
-
|
|
43
|
+
incomeNestedAccountListHierarchy: [],
|
|
44
44
|
incomeRecommendations: [],
|
|
45
45
|
expenseAccountIdList: [],
|
|
46
|
-
|
|
46
|
+
expenseNestedAccountListHierarchy: [],
|
|
47
47
|
expenseRecommendations: [],
|
|
48
|
-
|
|
48
|
+
billPayNestedAccountListHierarchy: [],
|
|
49
49
|
billPayRecommendations: [],
|
|
50
|
-
|
|
50
|
+
reimbursementsNestedAccountListHierarchy: [],
|
|
51
51
|
reimbursementsRecommendations: [],
|
|
52
52
|
prepaidExpensesAccountIdList: [],
|
|
53
|
-
|
|
53
|
+
prepaidExpensesNestedAccountListHierarchy: [],
|
|
54
54
|
prepaidExpensesRecommendations: [],
|
|
55
55
|
fixedAssetsAccountIdList: [],
|
|
56
|
-
|
|
56
|
+
fixedAssetsNestedAccountListHierarchy: [],
|
|
57
57
|
fixedAssetsRecommendations: [],
|
|
58
58
|
accruedExpensesAccountIdList: [],
|
|
59
|
-
|
|
59
|
+
accruedExpensesNestedAccountListHierarchy: [],
|
|
60
60
|
accruedExpensesRecommendations: [],
|
|
61
61
|
};
|
|
62
62
|
const accountMapping = (0, toolkit_1.createSlice)({
|
|
@@ -180,49 +180,49 @@ const doUpdateAccountListForAccountTypes = (draft, accountPayloadList) => {
|
|
|
180
180
|
if (incomeAccountIdentified != null) {
|
|
181
181
|
draft.data = Object.assign(Object.assign({}, draft.data), { selectedIncomeAccountId: incomeAccountIdentified.accountId, previousIncomeAccount: incomeAccountIdentified });
|
|
182
182
|
}
|
|
183
|
-
draft.
|
|
183
|
+
draft.incomeNestedAccountListHierarchy = (0, getNestedAccountIDHierarchyForReport_1.geNestedAccountIDHierarchyForReport)(incomeAccountMetadata);
|
|
184
184
|
const expenseAccountMetadata = expenseList.map((acc) => (0, accountPayload_1.mapAccountMetadataPayloadToAccountMetadata)(acc));
|
|
185
185
|
const expenseAccountBase = expenseList.map((acc) => (0, accountPayload_1.mapAccountBasePayloadToAccountBase)(acc));
|
|
186
186
|
const expenseAccountIdentified = expenseAccountBase.find((account) => account.labels.includes('uncategorized_expense'));
|
|
187
187
|
if (expenseAccountIdentified != null) {
|
|
188
188
|
draft.data = Object.assign(Object.assign({}, draft.data), { selectedExpenseAccountId: expenseAccountIdentified.accountId, previousExpenseAccount: expenseAccountIdentified });
|
|
189
189
|
}
|
|
190
|
-
draft.
|
|
190
|
+
draft.expenseNestedAccountListHierarchy = (0, getNestedAccountIDHierarchyForReport_1.geNestedAccountIDHierarchyForReport)(expenseAccountMetadata);
|
|
191
191
|
const billPayAccountIdentified = expenseAccountBase.find((account) => account.labels.includes('bank_charges_and_fees'));
|
|
192
192
|
if (billPayAccountIdentified != null) {
|
|
193
193
|
draft.data = Object.assign(Object.assign({}, draft.data), { selectedBillPayAccountId: billPayAccountIdentified.accountId, previousBillPayAccount: billPayAccountIdentified });
|
|
194
194
|
}
|
|
195
|
-
draft.
|
|
195
|
+
draft.billPayNestedAccountListHierarchy = (0, getNestedAccountIDHierarchyForReport_1.geNestedAccountIDHierarchyForReport)(expenseAccountMetadata);
|
|
196
196
|
const reimbursementsAccountIdentified = expenseAccountBase.find((account) => account.labels.includes('travel_transportation'));
|
|
197
197
|
if (reimbursementsAccountIdentified != null) {
|
|
198
198
|
draft.data = Object.assign(Object.assign({}, draft.data), { selectedReimbursementsAccountId: reimbursementsAccountIdentified.accountId, previousReimbursementsAccount: reimbursementsAccountIdentified });
|
|
199
199
|
}
|
|
200
|
-
draft.
|
|
201
|
-
(0,
|
|
200
|
+
draft.reimbursementsNestedAccountListHierarchy =
|
|
201
|
+
(0, getNestedAccountIDHierarchyForReport_1.geNestedAccountIDHierarchyForReport)(expenseAccountMetadata);
|
|
202
202
|
const prepaidExpensesAccountMetadata = prepaidExpensesList.map((acc) => (0, accountPayload_1.mapAccountMetadataPayloadToAccountMetadata)(acc));
|
|
203
203
|
const prepaidExpensesAccountBase = prepaidExpensesList.map((acc) => (0, accountPayload_1.mapAccountBasePayloadToAccountBase)(acc));
|
|
204
204
|
const prepaidExpensesAccountsIdentified = prepaidExpensesAccountBase.filter((account) => account.labels.includes('prepaid_expenses'));
|
|
205
205
|
if (prepaidExpensesAccountsIdentified != null) {
|
|
206
206
|
draft.data = Object.assign(Object.assign({}, draft.data), { selectedPrepaidExpensesAccountIds: prepaidExpensesAccountsIdentified.map((account) => account.accountId), previousPrepaidExpensesAccount: prepaidExpensesAccountsIdentified });
|
|
207
207
|
}
|
|
208
|
-
draft.
|
|
209
|
-
(0,
|
|
208
|
+
draft.prepaidExpensesNestedAccountListHierarchy =
|
|
209
|
+
(0, getNestedAccountIDHierarchyForReport_1.geNestedAccountIDHierarchyForReport)(prepaidExpensesAccountMetadata);
|
|
210
210
|
const fixedAssetsAccountMetadata = fixedAssetsList.map((acc) => (0, accountPayload_1.mapAccountMetadataPayloadToAccountMetadata)(acc));
|
|
211
211
|
const fixedAssetsAccountBase = fixedAssetsList.map((acc) => (0, accountPayload_1.mapAccountBasePayloadToAccountBase)(acc));
|
|
212
212
|
const fixedAssetsAccountsIdentified = fixedAssetsAccountBase.filter((account) => account.labels.includes('fixed_assets'));
|
|
213
213
|
if (fixedAssetsAccountsIdentified != null) {
|
|
214
214
|
draft.data = Object.assign(Object.assign({}, draft.data), { selectedFixedAssetsAccountIds: fixedAssetsAccountsIdentified.map((account) => account.accountId), previousFixedAssetsAccount: fixedAssetsAccountsIdentified });
|
|
215
215
|
}
|
|
216
|
-
draft.
|
|
217
|
-
(0,
|
|
216
|
+
draft.fixedAssetsNestedAccountListHierarchy =
|
|
217
|
+
(0, getNestedAccountIDHierarchyForReport_1.geNestedAccountIDHierarchyForReport)(fixedAssetsAccountMetadata);
|
|
218
218
|
const accruedExpensesAccountMetadata = accruedExpensesList.map((acc) => (0, accountPayload_1.mapAccountMetadataPayloadToAccountMetadata)(acc));
|
|
219
219
|
const accruedExpensesAccountBase = accruedExpensesList.map((acc) => (0, accountPayload_1.mapAccountBasePayloadToAccountBase)(acc));
|
|
220
220
|
const accruedExpensesAccountsIdentified = accruedExpensesAccountBase.filter((account) => account.labels.includes('accrued_expenses'));
|
|
221
221
|
if (accruedExpensesAccountsIdentified != null) {
|
|
222
222
|
draft.data = Object.assign(Object.assign({}, draft.data), { selectedAccruedExpensesAccountIds: accruedExpensesAccountsIdentified.map((account) => account.accountId), previousAccruedExpensesAccount: accruedExpensesAccountsIdentified });
|
|
223
223
|
}
|
|
224
|
-
draft.
|
|
225
|
-
(0,
|
|
224
|
+
draft.accruedExpensesNestedAccountListHierarchy =
|
|
225
|
+
(0, getNestedAccountIDHierarchyForReport_1.geNestedAccountIDHierarchyForReport)(accruedExpensesAccountMetadata);
|
|
226
226
|
draft.accountListFetchState = {
|
|
227
227
|
error: undefined,
|
|
228
228
|
fetchState: 'Completed',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NestedAccountHierarchyForReport } from '../../commonStateTypes/accountView/nestedAccountID';
|
|
2
2
|
import { FetchStateAndError, ID } from '../../commonStateTypes/common';
|
|
3
3
|
import { Recommendation } from '../../commonStateTypes/recommendationBase';
|
|
4
4
|
import { AccountBase } from '../../entity/account/accountState';
|
|
@@ -28,22 +28,22 @@ export interface AccountMappingState {
|
|
|
28
28
|
recommendationFetchState: FetchStateAndError;
|
|
29
29
|
updateFetchState: FetchStateAndError;
|
|
30
30
|
incomeAccountIdList: ID[];
|
|
31
|
-
|
|
31
|
+
incomeNestedAccountListHierarchy: NestedAccountHierarchyForReport[];
|
|
32
32
|
incomeRecommendations: Recommendation[];
|
|
33
33
|
expenseAccountIdList: ID[];
|
|
34
|
-
|
|
34
|
+
expenseNestedAccountListHierarchy: NestedAccountHierarchyForReport[];
|
|
35
35
|
expenseRecommendations: Recommendation[];
|
|
36
|
-
|
|
36
|
+
billPayNestedAccountListHierarchy: NestedAccountHierarchyForReport[];
|
|
37
37
|
billPayRecommendations: Recommendation[];
|
|
38
|
-
|
|
38
|
+
reimbursementsNestedAccountListHierarchy: NestedAccountHierarchyForReport[];
|
|
39
39
|
reimbursementsRecommendations: Recommendation[];
|
|
40
40
|
prepaidExpensesAccountIdList: ID[];
|
|
41
|
-
|
|
41
|
+
prepaidExpensesNestedAccountListHierarchy: NestedAccountHierarchyForReport[];
|
|
42
42
|
prepaidExpensesRecommendations: Recommendation[];
|
|
43
43
|
fixedAssetsAccountIdList: ID[];
|
|
44
|
-
|
|
44
|
+
fixedAssetsNestedAccountListHierarchy: NestedAccountHierarchyForReport[];
|
|
45
45
|
fixedAssetsRecommendations: Recommendation[];
|
|
46
46
|
accruedExpensesAccountIdList: ID[];
|
|
47
|
-
|
|
47
|
+
accruedExpensesNestedAccountListHierarchy: NestedAccountHierarchyForReport[];
|
|
48
48
|
accruedExpensesRecommendations: Recommendation[];
|
|
49
49
|
}
|