@zeniai/client-epic-state 4.8.86 → 4.8.87
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/viewAndReport.d.ts +2 -1
- package/lib/commonStateTypes/viewAndReport/viewAndReport.js +4 -3
- package/lib/entity/account/accountSelector.d.ts +6 -6
- package/lib/entity/account/accountState.d.ts +3 -3
- package/lib/entity/account/accountState.js +1 -0
- package/lib/entity/account/pickAndMergeForecastAccountReport.d.ts +2 -2
- package/lib/entity/accountGroup/accountGroupSelector.d.ts +44 -44
- package/lib/entity/accountGroup/accountGroupState.d.ts +1 -1
- package/lib/entity/class/classReducer.d.ts +4 -4
- package/lib/entity/class/classState.d.ts +1 -1
- package/lib/entity/depositAccountTransaction/depositAccountTransaction.d.ts +1 -1
- package/lib/entity/forecast/forecastState.d.ts +1 -1
- package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +6 -1
- package/lib/entity/jeSchedules/jeSchedulesPayload.js +11 -1
- package/lib/entity/jeSchedules/jeSchedulesSelector.d.ts +2 -1
- package/lib/entity/jeSchedules/jeSchedulesSelector.js +2 -1
- package/lib/entity/jeSchedules/jeSchedulesState.d.ts +5 -1
- package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +4 -4
- package/lib/entity/jeSchedules/jeSchedulesTypes.js +1 -1
- package/lib/entity/sectionAccountsView/sectionAccountsView.d.ts +1 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesView.d.ts +1 -1
- package/lib/entity/sectionClassesViewV2/sectionClassesViewReducer.d.ts +2 -2
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +1 -0
- package/lib/entity/tenant/clearAllEpic.d.ts +2 -1
- package/lib/entity/tenant/clearAllEpic.js +2 -0
- package/lib/entity/tenant/tenantSelector.d.ts +12 -4
- package/lib/entity/tenant/tenantSelector.js +95 -31
- package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.d.ts +1 -0
- package/lib/entity/transaction/payloadTypes/scheduleTransactionPayload.js +1 -0
- package/lib/entity/transaction/stateTypes/scheduleTransaction.d.ts +1 -0
- package/lib/epic.d.ts +7 -1
- package/lib/epic.js +7 -1
- package/lib/index.d.ts +21 -13
- package/lib/index.js +48 -20
- package/lib/init.js +1 -1
- package/lib/reducer.d.ts +6 -0
- package/lib/reducer.js +6 -0
- package/lib/view/accountList/accountListReducer.d.ts +2 -2
- package/lib/view/accountList/accountListReducer.js +2 -1
- package/lib/view/accountList/accountListState.d.ts +1 -1
- package/lib/view/accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload.d.ts +1 -1
- package/lib/view/auditReportView/auditReportViewHelper.d.ts +12 -0
- package/lib/view/auditReportView/auditReportViewHelper.js +79 -0
- package/lib/view/auditReportView/auditReportViewPayload.d.ts +53 -0
- package/lib/view/auditReportView/auditReportViewPayload.js +2 -0
- package/lib/view/auditReportView/auditReportViewReducer.d.ts +27 -0
- package/lib/view/auditReportView/auditReportViewReducer.js +121 -0
- package/lib/view/auditReportView/auditReportViewSelector.d.ts +22 -0
- package/lib/view/auditReportView/auditReportViewSelector.js +34 -0
- package/lib/view/auditReportView/auditReportViewState.d.ts +71 -0
- package/lib/view/auditReportView/auditReportViewState.js +22 -0
- package/lib/view/auditReportView/epics/fetchAuditReportGroupViewEpic.d.ts +7 -0
- package/lib/view/auditReportView/epics/fetchAuditReportGroupViewEpic.js +54 -0
- package/lib/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.d.ts +7 -0
- package/lib/view/auditReportView/epics/fetchAuditRuleGroupViewEpic.js +39 -0
- package/lib/view/billPayCard/billPayCardSelector.d.ts +1 -1
- package/lib/view/cardBalance/cardBalanceSelector.d.ts +3 -3
- package/lib/view/cashBalance/cashBalanceSelector.d.ts +3 -3
- package/lib/view/cashInCashOut/cashInCashOutSelector.d.ts +1 -1
- package/lib/view/cashPosition/cashPositionSelector.d.ts +1 -1
- package/lib/view/companyView/types/cockpitTypes.d.ts +4 -2
- package/lib/view/companyView/types/cockpitTypes.js +10 -1
- 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/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/referralView/epics/fetchReferralsEpic.d.ts +7 -0
- package/lib/view/referralView/epics/fetchReferralsEpic.js +36 -0
- package/lib/view/referralView/epics/fetchRewardsPlanEpic.d.ts +7 -0
- package/lib/view/referralView/epics/fetchRewardsPlanEpic.js +41 -0
- package/lib/view/referralView/epics/resendReferralInviteEpic.d.ts +8 -0
- package/lib/view/referralView/epics/resendReferralInviteEpic.js +39 -0
- package/lib/view/referralView/epics/sendReferralInviteEpic.d.ts +8 -0
- package/lib/view/referralView/epics/sendReferralInviteEpic.js +44 -0
- package/lib/view/referralView/referralPayload.d.ts +43 -0
- package/lib/view/referralView/referralPayload.js +33 -0
- package/lib/view/referralView/referralReducer.d.ts +23 -0
- package/lib/view/referralView/referralReducer.js +167 -0
- package/lib/view/referralView/referralSelector.d.ts +23 -0
- package/lib/view/referralView/referralSelector.js +88 -0
- package/lib/view/referralView/referralState.d.ts +55 -0
- package/lib/view/referralView/referralState.js +40 -0
- package/lib/view/reimbursementCard/reimbursementCardSelector.d.ts +1 -1
- package/lib/view/reviewCompanyView/fetchReviewCompanyViewEpic.js +1 -1
- package/lib/view/reviewCompanyView/reviewCompanyPayload.d.ts +25 -1
- package/lib/view/reviewCompanyView/reviewCompanyViewSelector.d.ts +1 -0
- package/lib/view/reviewCompanyView/reviewCompanyViewSelector.js +31 -8
- package/lib/view/reviewCompanyView/reviewCompanyViewState.d.ts +12 -4
- package/lib/view/reviewCompanyView/reviewCompanyViewState.js +15 -5
- package/lib/view/scheduleView/scheduleDetailView/epics/createNewSchedulesEpic.js +9 -2
- package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsEpic.js +6 -6
- package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.d.ts +3 -2
- package/lib/view/scheduleView/scheduleDetailView/epics/fetchScheduleDetailsPageEpic.js +13 -5
- package/lib/view/scheduleView/scheduleDetailView/epics/initializeScheduleDetailLocalDataEpic.js +11 -8
- package/lib/view/scheduleView/scheduleDetailView/epics/saveScheduleDetailsEpic.js +4 -4
- package/lib/view/scheduleView/scheduleDetailView/epics/updateAmountsInScheduleDetailEpic.js +8 -6
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.d.ts +7 -5
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper.js +37 -6
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.d.ts +8 -4
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailPayload.js +53 -4
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +21 -11
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.js +66 -35
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.d.ts +12 -3
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailSelector.js +31 -14
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.d.ts +19 -5
- package/lib/view/scheduleView/scheduleDetailView/scheduleDetailState.js +0 -3
- package/lib/view/scheduleView/scheduleListView/epics/fetchDownloadSchedulesEpic.js +4 -3
- package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.d.ts +0 -10
- package/lib/view/scheduleView/scheduleListView/epics/fetchScheduleListEpic.js +7 -24
- package/lib/view/scheduleView/scheduleListView/epics/fetchSchedulesAccountEpic.js +2 -5
- package/lib/view/scheduleView/scheduleListView/scheduleListHelper.d.ts +7 -5
- package/lib/view/scheduleView/scheduleListView/scheduleListHelper.js +37 -28
- package/lib/view/scheduleView/scheduleListView/scheduleListReducer.d.ts +27 -18
- package/lib/view/scheduleView/scheduleListView/scheduleListReducer.js +109 -76
- package/lib/view/scheduleView/scheduleListView/scheduleListSelector.d.ts +4 -8
- package/lib/view/scheduleView/scheduleListView/scheduleListSelector.js +42 -40
- package/lib/view/scheduleView/scheduleListView/scheduleListState.d.ts +16 -13
- package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +5 -5
- package/lib/view/scheduleView/scheduleListView/scheduleListTypes.js +3 -1
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
- package/lib/view/tasksCard/tasksCardSelector.d.ts +1 -1
- package/lib/view/topEx/topExSelector.d.ts +2 -2
- package/lib/view/transactionList/transactionListReducer.d.ts +12 -12
- package/lib/view/vendorList/vendorListSelector.d.ts +2 -2
- package/lib/view/vendorList/vendorListSelector.js +1 -0
- package/lib/view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector.d.ts +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -57,9 +57,9 @@ export { getNumberOfPeriods };
|
|
|
57
57
|
import { SCHEDULE_DAYS_OF_MONTH, ScheduleDaysOfMonth, toScheduleDaysOfMonth, Day, Month, toMonth, toMonthStrict, AbsoluteDay, TimePeriod, Quarter, toQuarter, toQuarterStrict } from './commonStateTypes/timePeriod';
|
|
58
58
|
export { SCHEDULE_DAYS_OF_MONTH, ScheduleDaysOfMonth, toScheduleDaysOfMonth, Day, Month, toMonth, toMonthStrict, Quarter, toQuarter, toQuarterStrict, AbsoluteDay, TimePeriod, };
|
|
59
59
|
import { Tenant, LoggedInUser, RoleResource, Connection } from './entity/tenant/tenantState';
|
|
60
|
-
import { TenantView, getCurrentTenant, CurrentTenant, getTenantsByCheckInDateSelector, getTenantsBaseByCheckInDateSelector, TenantsBaseOrdered, TenantsOrdered, getTenantBaseById, TenantBaseView, getTenantBaseViewForTenantView, isZeniDomainTenant, isTenantUsingZeniCOA } from './entity/tenant/tenantSelector';
|
|
60
|
+
import { TenantView, getCurrentTenant, CurrentTenant, getTenantsByCheckInDateSelector, getTenantsBaseByCheckInDateSelector, getTenantsCoreDetailsByCheckInDateSelector, toTenantCoreDetailsView, TenantsBaseOrdered, TenantsOrdered, TenantCoreDetailsView, getTenantBaseById, TenantBaseView, getTenantBaseViewForTenantView, getTenantBaseViewForTenantId, isZeniDomainTenant, isTenantUsingZeniCOA } from './entity/tenant/tenantSelector';
|
|
61
61
|
import { fetchActiveTenant, fetchAllTenants, updateCurrentTenant, clearAll, doSignIn, updateSignInState, DoSignInPayload, doSignOut, fetchExcludedResources as fetchExcludedResourcesForTenant, fetchExternalConnections as fetchExternalConnectionsForTenant, saveExternalConnection as saveExternalConnectionForTeanant, fetchSubscriptionSummaryForTenant } from './entity/tenant/tenantReducer';
|
|
62
|
-
export { Tenant, TenantView, LoggedInUser, TenantBaseView, CurrentTenant, getTenantBaseById, getCurrentTenant, getTenantsByCheckInDateSelector, getTenantsBaseByCheckInDateSelector, getTenantBaseViewForTenantView, isZeniDomainTenant, isTenantUsingZeniCOA, TenantsBaseOrdered, TenantsOrdered, fetchActiveTenant, fetchAllTenants, updateCurrentTenant, clearAll, doSignIn, updateSignInState, DoSignInPayload, doSignOut, RoleResource, Connection, fetchExcludedResourcesForTenant, fetchExternalConnectionsForTenant, saveExternalConnectionForTeanant, fetchSubscriptionSummaryForTenant, };
|
|
62
|
+
export { Tenant, TenantView, LoggedInUser, TenantBaseView, CurrentTenant, getTenantBaseById, getCurrentTenant, getTenantsByCheckInDateSelector, getTenantsBaseByCheckInDateSelector, getTenantsCoreDetailsByCheckInDateSelector, toTenantCoreDetailsView, getTenantBaseViewForTenantView, getTenantBaseViewForTenantId, isZeniDomainTenant, isTenantUsingZeniCOA, TenantsBaseOrdered, TenantsOrdered, TenantCoreDetailsView, fetchActiveTenant, fetchAllTenants, updateCurrentTenant, clearAll, doSignIn, updateSignInState, DoSignInPayload, doSignOut, RoleResource, Connection, fetchExcludedResourcesForTenant, fetchExternalConnectionsForTenant, saveExternalConnectionForTeanant, fetchSubscriptionSummaryForTenant, };
|
|
63
63
|
import { Account, AccountType, toAccountType, AccountBase, StatementCloseDay, RecommendedAccountBase } from './entity/account/accountState';
|
|
64
64
|
import { NestedAccountReport } from './entity/account/subAccountSelector';
|
|
65
65
|
import { AccountReport, AccountWithBalanceReport } from './entity/account/accountSelector';
|
|
@@ -265,10 +265,10 @@ import { SubscriptionPlan, SchemaKeys as SubscriptionPlanSchemaKeys } from './en
|
|
|
265
265
|
export { SubscriptionPlan, SubscriptionPlanSchemaKeys };
|
|
266
266
|
import { SubscriptionSummary, SchemaKeys as SubscriptionSummarySchemaKeys } from './entity/subscription/subscriptionSummary/subscriptionSummaryState';
|
|
267
267
|
export { SubscriptionSummary, SubscriptionSummarySchemaKeys };
|
|
268
|
-
import { CompanyInfo, CompanyLocaleInfo, CompanyIncInfo, CompanyTaxInfo, CompanyQuestionaire, CompanyManagementInfo, CompanyManagementUserRole, Company, ParentSubsidiaryInfo, CompanyConfigInfo, CompanyReimbursementInfo, CompanyZeniAccountInfo, CompanyBillPayInfo, CompanyFeaturesActivationInfo, CompanyMileageConfigInfo, UserReimbursementInfo, OnboardingInfo, OnboardingStepsInfo, OnboardingStepInfo, AccountingConnectionCreationMode, ALL_ACCOUNTING_CONNECTION_CREATION_MODES } from './entity/company/companyStateTypes';
|
|
269
|
-
export { CompanyInfo, CompanyLocaleInfo, CompanyIncInfo, CompanyTaxInfo, CompanyQuestionaire, CompanyManagementInfo, CompanyManagementUserRole, Company, ParentSubsidiaryInfo, CompanyConfigInfo, CompanyReimbursementInfo, CompanyZeniAccountInfo, CompanyBillPayInfo, CompanyFeaturesActivationInfo, CompanyMileageConfigInfo, UserReimbursementInfo, OnboardingInfo, OnboardingStepsInfo, OnboardingStepInfo, AccountingConnectionCreationMode, ALL_ACCOUNTING_CONNECTION_CREATION_MODES, };
|
|
270
|
-
import { getCompanyByCompanyId } from './entity/company/companySelector';
|
|
271
|
-
export { getCompanyByCompanyId };
|
|
268
|
+
import { CompanyInfo, CompanyLocaleInfo, CompanyIncInfo, CompanyTaxInfo, CompanyQuestionaire, CompanyManagementInfo, CompanyManagementUserRole, Company, ParentSubsidiaryInfo, CompanyConfigInfo, CompanyReimbursementInfo, CompanyZeniAccountInfo, CompanyBillPayInfo, CompanyFeaturesActivationInfo, CompanyMileageConfigInfo, UserReimbursementInfo, OnboardingInfo, OnboardingStepsInfo, OnboardingStepInfo, AccountingConnectionCreationMode, ALL_ACCOUNTING_CONNECTION_CREATION_MODES, OnboardingIdentityVerficationStatus, IdentityVerificationStatus } from './entity/company/companyStateTypes';
|
|
269
|
+
export { CompanyInfo, CompanyLocaleInfo, CompanyIncInfo, CompanyTaxInfo, CompanyQuestionaire, CompanyManagementInfo, CompanyManagementUserRole, Company, ParentSubsidiaryInfo, CompanyConfigInfo, CompanyReimbursementInfo, CompanyZeniAccountInfo, CompanyBillPayInfo, CompanyFeaturesActivationInfo, CompanyMileageConfigInfo, UserReimbursementInfo, OnboardingInfo, OnboardingStepsInfo, OnboardingStepInfo, AccountingConnectionCreationMode, ALL_ACCOUNTING_CONNECTION_CREATION_MODES, OnboardingIdentityVerficationStatus, IdentityVerificationStatus, };
|
|
270
|
+
import { getCompanyByCompanyId, CompanyWithSchema } from './entity/company/companySelector';
|
|
271
|
+
export { getCompanyByCompanyId, CompanyWithSchema };
|
|
272
272
|
import { CompanyView } from './view/companyView/types/companyView';
|
|
273
273
|
export { CompanyView };
|
|
274
274
|
import { UserAndRole } from './view/companyView/types/userAndRole';
|
|
@@ -280,9 +280,9 @@ export { getParentSubsidiaryManagementView };
|
|
|
280
280
|
import { companyManagementSaveUpdates, fetchAllCockpitViews, fetchCompanyManagementView, fetchCompanyPortfolioView, updateCompanyPortfolioUIState, updateCompanyManagementUIState, fetchCompanyPassportView, companyPassportSaveDataInLocalStore, saveIndustryAndIncDateInCompanyPassportLocalStore, deleteCompanyOfficerInLocalStore, companyPassportClearDataInLocalStore, updateCompanyPassportLocalStoreData, saveCompanyPassportDetails, clearCompanyView, fetchParentSubsidiaryManagementView, fetchOnboardingView, fetchManagementView, fetchPortfolioView, fetchSubscriptionView, fetchZeniUsers, updateCompanyDownloadState } from './view/companyView/companyViewReducer';
|
|
281
281
|
export { companyManagementSaveUpdates, fetchAllCockpitViews, fetchCompanyManagementView, fetchCompanyPortfolioView, updateCompanyPortfolioUIState, updateCompanyManagementUIState, fetchParentSubsidiaryManagementView, fetchOnboardingView, fetchManagementView, fetchPortfolioView, fetchSubscriptionView, fetchZeniUsers, updateCompanyDownloadState, };
|
|
282
282
|
import { fetchReviewCompanyView, updateReviewCompanyListUIState, retryBankAccountConnection } from './view/reviewCompanyView/reviewCompanyViewReducer';
|
|
283
|
-
import { ReviewCompanySelectorView, getReviewCompanySelectorView, getReviewCompanyListCount, ReviewCompanyView } from './view/reviewCompanyView/reviewCompanyViewSelector';
|
|
284
|
-
import { ReviewCompanyColumnKey, ReviewTransactionsType, ReviewCompanyListUIState } from './view/reviewCompanyView/reviewCompanyViewState';
|
|
285
|
-
export { fetchReviewCompanyView, updateReviewCompanyListUIState, ReviewCompanyListUIState, ReviewCompanyView, ReviewCompanyColumnKey, ReviewTransactionsType, ReviewCompanySelectorView, getReviewCompanySelectorView, getReviewCompanyListCount, retryBankAccountConnection, };
|
|
283
|
+
import { ReviewCompanySelectorView, getReviewCompanySelectorView, getReviewCompanyListCount, ReviewCompanyView, getAuditWarningsCount } from './view/reviewCompanyView/reviewCompanyViewSelector';
|
|
284
|
+
import { ReviewCompanyColumnKey, ReviewTransactionsType, AuditSummary, ReviewCompanyListUIState } from './view/reviewCompanyView/reviewCompanyViewState';
|
|
285
|
+
export { fetchReviewCompanyView, updateReviewCompanyListUIState, ReviewCompanyListUIState, ReviewCompanyView, ReviewCompanyColumnKey, ReviewTransactionsType, ReviewCompanySelectorView, getReviewCompanySelectorView, getReviewCompanyListCount, retryBankAccountConnection, AuditSummary, getAuditWarningsCount, };
|
|
286
286
|
import { CompanyPortfolioView, getCompanyPortfolioView, isInfiniteRunway } from './view/companyView/selector/companyPortfolioViewSelector';
|
|
287
287
|
export { CompanyPortfolioView, getCompanyPortfolioView, isInfiniteRunway };
|
|
288
288
|
import { AllCockpitTabsView, getAllCockpitTabsFilterView } from './view/companyView/selector/getAllCockpitTabsFilterView';
|
|
@@ -589,18 +589,18 @@ import { fetchApAgingDetail, updateApAgingDetailUIState } from './view/apAgingVi
|
|
|
589
589
|
import { ApAgingDetail, getApAgingDetailForVendor } from './view/apAgingView/apAgingDetail/apAgingDetailSelector';
|
|
590
590
|
export { fetchApAgingDetail, AgingReportInvoice, ApAgingDetail, getApAgingDetailForVendor, updateApAgingDetailUIState, };
|
|
591
591
|
import { JEScheduledTransaction, ScheduledJournalEntry } from './entity/jeSchedules/jeSchedulesSelector';
|
|
592
|
-
import {
|
|
592
|
+
import { ScheduleTypes, ScheduleJournalEntryStatusCodeType, toScheduleTypesType, toScheduleTypesTypeStrict, ScheduleStatusCodeType, JEScheduleKey, ALL_SCHEDULES_TYPES } from './entity/jeSchedules/jeSchedulesTypes';
|
|
593
593
|
import { ScheduleTransaction } from './entity/transaction/stateTypes/scheduleTransaction';
|
|
594
594
|
import { ScheduleListLocalData } from './view/scheduleView/scheduleListView/scheduleListState';
|
|
595
595
|
import { ScheduleSubTabType, ScheduleListSortKey, toScheduleSubTabType, DownloadJEScheduleTabOptions, ScheduleListTabsFileType, toScheduleListTabsFileTypeStrict } from './view/scheduleView/scheduleListView/scheduleListTypes';
|
|
596
|
-
import { fetchScheduleList, fetchSchedulesAccount, updateScheduleListLocalData, updateScheduleListSearchText, updateScheduleListSubTab, updateScheduleListTab,
|
|
596
|
+
import { fetchScheduleList, fetchSchedulesAccount, updateScheduleListLocalData, updateScheduleListSearchText, updateScheduleListSubTab, updateScheduleListTab, updateScheduleListScrollState, updateScheduleListSortState, updateScheduleListDownloadState, fetchDownloadSchedules } from './view/scheduleView/scheduleListView/scheduleListReducer';
|
|
597
597
|
import { ScheduleListReport, getScheduleListReport, getFetchStateForScheduleAccountList, JEScheduledTransactionWithBalance } from './view/scheduleView/scheduleListView/scheduleListSelector';
|
|
598
598
|
import { ScheduleDetailsView, getScheduleDetailsView } from './view/scheduleView/scheduleDetailView/scheduleDetailSelector';
|
|
599
|
-
import { JELinkType, JEScheduleDetailsLocalData, JETransactionLink, ScheduleDetailsLocalData, ScheduleDetailUIState } from './view/scheduleView/scheduleDetailView/scheduleDetailState';
|
|
599
|
+
import { JELinkType, JEScheduleDetailsLocalData, JETransactionLink, ScheduleDetailsLocalData, ScheduleDetailUIState, ScheduleDetailsLocalDataFixedAssets } from './view/scheduleView/scheduleDetailView/scheduleDetailState';
|
|
600
600
|
import { ScheduleDetailSortKey } from './view/scheduleView/scheduleDetailView/scheduleDetailTypes';
|
|
601
601
|
import { createNewSchedules, fetchScheduleDetails, fetchScheduleDetailsPage, saveScheduleDetails, updateSelectedJEScheduleKey, updateScheduleDetailsLocalData, updatedSelectedJELinkRowIndex, updatedJELinkInLocalData, updateAmountsInScheduleDetail, resetJELinkInLocalData, updatedJELinkWithRecommendedLocalData } from './view/scheduleView/scheduleDetailView/scheduleDetailReducer';
|
|
602
602
|
import { getQBOUrlForLink, getThirdPartyIDFromQBOURL } from './view/scheduleView/scheduleDetailView/scheduleDetailLocalDataHelper';
|
|
603
|
-
export { JEScheduleKey, ALL_SCHEDULES_TYPES, JEScheduledTransaction,
|
|
603
|
+
export { JEScheduleKey, ALL_SCHEDULES_TYPES, JEScheduledTransaction, ScheduleTypes, ScheduleJournalEntryStatusCodeType, ScheduleListReport, getScheduleListReport, ScheduleSubTabType, ScheduleListSortKey, fetchScheduleList, fetchDownloadSchedules, fetchSchedulesAccount, updateScheduleListLocalData, getFetchStateForScheduleAccountList, toScheduleTypesType, toScheduleTypesTypeStrict, toScheduleListTabsFileTypeStrict, ScheduleListLocalData, ScheduleDetailsLocalDataFixedAssets, ScheduleDetailsView, JEScheduleDetailsLocalData, ScheduleDetailsLocalData, toScheduleSubTabType, ScheduleStatusCodeType, ScheduleTransaction, updateScheduleListTab, updateScheduleListSubTab, updateScheduleListSearchText, updateScheduleListScrollState, updateScheduleListSortState, ScheduleDetailSortKey, ScheduledJournalEntry, updateSelectedJEScheduleKey, fetchScheduleDetails, getScheduleDetailsView, fetchScheduleDetailsPage, saveScheduleDetails, createNewSchedules, updateScheduleDetailsLocalData, JETransactionLink, updateScheduleListDownloadState, DownloadJEScheduleTabOptions, updatedSelectedJELinkRowIndex, ScheduleListTabsFileType, getQBOUrlForLink, getThirdPartyIDFromQBOURL, updatedJELinkInLocalData, updateAmountsInScheduleDetail, ScheduleDetailUIState, resetJELinkInLocalData, JEScheduledTransactionWithBalance, JELinkType, updatedJELinkWithRecommendedLocalData, };
|
|
604
604
|
import { GlobalMerchant, GlobalMerchantBase, TenantMerchant } from './entity/globalMerchant/globalMerchantState';
|
|
605
605
|
export { GlobalMerchant, GlobalMerchantBase, TenantMerchant };
|
|
606
606
|
import { ReviewStatus, VendorReviewRecommendationViewState, VendorReviewRowCurrentSelection } from './view/vendorReviewView/common/state/commonTypes';
|
|
@@ -634,6 +634,10 @@ import { EditTaskLocalData } from './view/taskManager/taskDetailView/taskDetail'
|
|
|
634
634
|
import { fetchTaskListPage, updateTaskFilters, updateTaskListSearchText, updateTaskListUIState } from './view/taskManager/taskListView/taskListReducer';
|
|
635
635
|
import { deleteTask, discardTaskUpdatesInLocalStore, fetchTaskDetailPage, saveTaskDetail, saveTaskUpdatesToLocalStore } from './view/taskManager/taskDetailView/taskDetailReducer';
|
|
636
636
|
export { Task, TaskListSelectorView, TaskWithUserDetails, TaskListViewSortKey, TaskListUIState, TaskDetailSelectorView, EditTaskLocalData, TaskStatusCodeType, PriorityCodeType, TaskTagCodeType, TaskTag, TaskStatus, TaskPriority, getAllTasks, fetchTaskListPage, getTaskDetail, fetchTaskDetailPage, saveTaskUpdatesToLocalStore, saveTaskDetail, updateTaskListSearchText, updateTaskListUIState, allTaskTags, allTaskStatus, allTaskPriority, TaskListFilters, updateTaskFilters, TASK_LIST_FILTER_CATEGORIES, TaskListFilterCategoryField, deleteTask, discardTaskUpdatesInLocalStore, TaskFilterCategory, };
|
|
637
|
+
import { getAuditReportGroupViewSelectorView, getAuditRuleGroupViewSelectorView, AuditReportGroupSelectorView, AuditReportGroupViewSelectorView, AuditRuleGroupViewSelectorView } from './view/auditReportView/auditReportViewSelector';
|
|
638
|
+
import { fetchAuditRuleGroupView, fetchAuditReportGroupView, clearAuditReportGroupViewByCompanyId } from './view/auditReportView/auditReportViewReducer';
|
|
639
|
+
import { AuditRuleGroup, AuditReportRule, AuditRuleGroupReport, AuditRuleEntityType, AuditRuleEntityIdType } from './view/auditReportView/auditReportViewState';
|
|
640
|
+
export { getAuditReportGroupViewSelectorView, getAuditRuleGroupViewSelectorView, AuditReportGroupSelectorView, AuditReportGroupViewSelectorView, AuditRuleGroupViewSelectorView, fetchAuditRuleGroupView, fetchAuditReportGroupView, AuditRuleGroup, AuditRuleGroupReport, AuditReportRule, AuditRuleEntityType, AuditRuleEntityIdType, clearAuditReportGroupViewByCompanyId, };
|
|
637
641
|
import { AuthenticationFeatureType, AuthenticationDetails, AuthenticationViewState } from './view/authenticationView/authenticationViewState';
|
|
638
642
|
import { fetchCollaborationAuthToken } from './view/authenticationView/authenticationViewReducer';
|
|
639
643
|
import { getAuthenticationView } from './view/authenticationView/authenticationViewSelector';
|
|
@@ -642,3 +646,7 @@ import { ZeniAccountsPromoCardState } from './view/zeniAccountsPromoCard/zeniAcc
|
|
|
642
646
|
import { getZeniAccountsPromoCard, ZeniAccountsPromoCardReport } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector';
|
|
643
647
|
import { fetchZeniAccountsPromoCard } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer';
|
|
644
648
|
export { ZeniAccountsPromoCardState, getZeniAccountsPromoCard, ZeniAccountsPromoCardReport, fetchZeniAccountsPromoCard, };
|
|
649
|
+
import { getReferralListView, ReferralListSelectorView, getInviteFormView } from './view/referralView/referralSelector';
|
|
650
|
+
import { ReferralViewState, InviteCompanyLocalData, ReferralInvitation, ReferralListViewSortKey, ReferralViewUIState, StatusTypes, AmountStatusTypes, toReferralListViewSortKeyType, ReferralStatus, ReferralAmountStatus } from './view/referralView/referralState';
|
|
651
|
+
import { fetchReferrals, sendReferralInvite, clearReferrals, saveReferralFormDataInLocalStore, resendReferralInvite, updateReferralListSortUiState, fetchRewardsPlan, closeReferralInviteConfirmationPopup } from './view/referralView/referralReducer';
|
|
652
|
+
export { getReferralListView, getInviteFormView, ReferralListSelectorView, ReferralViewState, InviteCompanyLocalData, ReferralInvitation, ReferralListViewSortKey, ReferralViewUIState, toReferralListViewSortKeyType, ReferralStatus, ReferralAmountStatus, StatusTypes, AmountStatusTypes, fetchReferrals, sendReferralInvite, closeReferralInviteConfirmationPopup, clearReferrals, saveReferralFormDataInLocalStore, updateReferralListSortUiState, resendReferralInvite, fetchRewardsPlan, };
|
package/lib/index.js
CHANGED
|
@@ -27,25 +27,25 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.mapTimePeriodtoTimeframeTick = exports.toTimeframeTick = exports.TOP_EX_TIME_PERIODS = exports.stringToUnionStrict = exports.stringToUnion = exports.isCalculatedBalanceType = exports.toCOABlanaceType = exports.toCOABalanceTypeStrict = exports.newBalancesFilterClassesView = exports.newBalancesFilterForDateRange = exports.newBalancesFilter = exports.toCOABalancesOrderStrict = exports.toCOABalanceTimeframe = exports.isOpExByVendorReport = exports.isAgingReport = exports.isPAndLClassesViewReport = exports.isPAndLReport = exports.isDashboardClassesViewReport = exports.isDashboardReport = exports.isCashFlowOrBalanceSheetReport = exports.toReportFormatStrict = exports.toReportID = exports.toAmount = exports.getLastMonthOfFYYear = exports.getLastMonthOfFYQuarter = exports.isIncompleteMonthPresentInTimeframeTick = exports.getTimeframeTickTag = exports.initializeWithNewStore = exports.zeniAPIClientConfig = exports.updateZeniAPIClientConfig = exports.toZeniUrlWithoutBaseURL = exports.toZeniUrl = exports.updateZeniDateLocaleID = exports.setLocalTimezone = exports.subtractPeriod = exports.addPeriod = exports.getLocalTimezone = exports.getActualPeriodOfFY = exports.getActualPeriodOfFYQtr = exports.getStartOfAndEndOfTimeframeForFY = exports.getFYQuarterAndYear = exports.getFYMonths = exports.formatZeniDate = exports.getBusinessDayOfDate = exports.dateNow = exports.dateLocal = exports.zeniDate = exports.zeniDateInLocal = exports.Dayjs = exports.initializePusher = void 0;
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.fetchZeniAccountsPromoCard = exports.getZeniAccountsPromoCard = exports.getAuthenticationView = exports.fetchCollaborationAuthToken = exports.discardTaskUpdatesInLocalStore = exports.deleteTask = void 0;
|
|
30
|
+
exports.hasOnlyZeniAccountsAccess = exports.hasOnlyChargeCardAccess = exports.hasOnlyReimbursementAccess = exports.hasRemiFallbackAdminLevelAccess = exports.hasBillPayFallbackAdminLevelAccess = exports.hasSuperAdminLevelAccess = exports.hasZeniRoleOrCompanyOfficerAccess = exports.hasOnlyBillPayAccess = exports.getUserRoleMap = exports.hasInvestorBankerLevelAccess = exports.isNonZeniRole = exports.hasLiteLevelAccess = exports.hasFullLevelAccess = exports.hasEmployeeLevelAccess = exports.hasAdminLevelAccess = exports.isFinOpsUserRoleType = exports.toUserRoleType = exports.getForecast = exports.getAccountGroupKey = exports.toAccountGroupType = exports.toAccountType = exports.fetchSubscriptionSummaryForTenant = exports.saveExternalConnectionForTeanant = exports.fetchExternalConnectionsForTenant = exports.fetchExcludedResourcesForTenant = exports.doSignOut = exports.updateSignInState = exports.doSignIn = exports.clearAll = exports.updateCurrentTenant = exports.fetchAllTenants = exports.fetchActiveTenant = exports.isTenantUsingZeniCOA = exports.isZeniDomainTenant = exports.getTenantBaseViewForTenantId = exports.getTenantBaseViewForTenantView = exports.toTenantCoreDetailsView = exports.getTenantsCoreDetailsByCheckInDateSelector = exports.getTenantsBaseByCheckInDateSelector = exports.getTenantsByCheckInDateSelector = exports.getCurrentTenant = exports.getTenantBaseById = exports.toQuarterStrict = exports.toQuarter = exports.toMonthStrict = exports.toMonth = exports.toScheduleDaysOfMonth = exports.SCHEDULE_DAYS_OF_MONTH = exports.getNumberOfPeriods = exports.toTimePeriod = void 0;
|
|
31
|
+
exports.updateOpExClassesToFilterOut = exports.updateOpExAccountViewMode = exports.fetchOpExClassesView = exports.isOpexByVendorIDNotSpecifiedVendor = exports.getOpexVendorTimeframeKey = exports.toOpexByVendorSortKeyType = exports.updateOpExByVendorPageLimit = exports.clearOpExByVendorSearch = exports.updateOpExByVendorDownloadState = exports.updateOpExByVendorSortOrSearchInProgress = exports.updateOpExByVendorPageFetchInProgress = exports.updateOpExByVendorSort = exports.updateOpExByVendorAdditionalBalancesSelection = exports.getOpExByVendorUIState = exports.getOpExByVendorReport = exports.updateOpExByVendorUIState = exports.updateOpExByVendorTimeFrame = exports.fetchOpExByVendorReportForTimeframe = exports.fetchOpExByVendor = exports.fetchOpExWithForecast = exports.getOperatingExpensesForHighlightedRange = exports.getOperatingExpensesForSelectedRange = exports.getOperatingExpensesUIState = exports.getOperatingExpensesReport = exports.getOperatingExpensesReportFetchState = exports.updateOpExUIState = exports.updateOpExDownloadState = exports.updateOpExCOABalancesRange = exports.fetchOpEx = exports.fetchReimbursementCard = exports.fetchBillPayCard = exports.fetchCashBalance = exports.getCashBalance = exports.updateStatementCloseDay = exports.fetchCardBalance = exports.getCardBalance = exports.hasAnyFinOpRole = exports.hasAnyCompanyRole = exports.hasZeniAccountsAdminLevelAccess = exports.hasSpendManagementAccess = exports.hasChargeCardAdminLevelAccess = exports.hasBillPayAdminLevelAccess = exports.hasReimbursementAdminLevelAccess = exports.hasReimbursementAccess = exports.hasBillPayAccess = exports.hasZeniAccountsAccess = exports.hasChargeCardAccess = exports.getUserRoleByUserIds = exports.getUserRoleByUserId = exports.isZeniSignedInUser = void 0;
|
|
32
|
+
exports.getRevenueClassesViewForSelectedRange = exports.getRevenueClassesViewForHighlightedRange = exports.getRevenueClassesView = exports.updateRevenueClassesViewUIState = exports.updateRevenueClassesToFilterOut = exports.updateRevenueAccountViewMode = exports.fetchRevenueClassesView = exports.isRevenueSectionID = exports.isRevenueCalculatedSectionID = exports.updateRevenueUIState = exports.updateRevenueDownloadState = exports.updateRevenueCOABalancesRange = exports.getRevenueForHighlightedRange = exports.getRevenueForSelectedRange = exports.getRevenueUIState = exports.getRevenueReportFetchState = exports.getRevenueReport = exports.fetchRevenueWithForecast = exports.fetchRevenue = exports.toAverageMonthsCount = exports.getNetBurnOrIncomeStoryCardReport = exports.updateNetBurnOrIncomeStoryCardSettings = exports.fetchNetBurnOrIncomeStoryCard = exports.isNetBurnOrIncomeReportViewSectionID = exports.isNetBurnOrIncomeReportViewCalculatedSectionID = exports.getNetBurnOrIncomeReportFetchState = exports.getNetBurnOrIncomeUIState = exports.getNetBurnOrIncomeForHighlightedRange = exports.getNetBurnOrIncomeForSelectedRange = exports.getNetBurnOrIncomeReport = exports.updateNetBurnOrIncomeDownloadState = exports.updateNetBurnOrIncomeCOABalancesRange = exports.fetchNetBurnOrIncomeWithForecast = exports.updateNetBurnOrIncomeUIState = exports.fetchNetBurnOrIncome = exports.isNetBurnOrIncomeClassesViewCalculatedSectionID = exports.isNetBurnOrIncomeClassesViewSectionID = exports.getNetBurnOrIncomeClassesViewForSelectedRange = exports.getNetBurnOrIncomeClassesViewForHighlightedRange = exports.getNetBurnOrIncomeClassesView = exports.updateNetBurnOrIncomeClassesViewUIState = exports.updateNetBurnOrIncomeClassesToFilterOut = exports.updateNetBurnOrIncomeAccountViewMode = exports.fetchNetBurnOrIncomeClassesView = exports.isOpExClassesViewCalculatedSectionID = exports.isOpExClassesViewSectionID = exports.getOpExClassesViewForSelectedRange = exports.getOpExClassesViewForHighlightedRange = exports.getOpExClassesView = exports.updateOpExClassesViewUIState = void 0;
|
|
33
|
+
exports.inviteZeniPeople = exports.invitePeople = exports.changeZeniPersonRoles = exports.resendInvite = exports.deletePerson = exports.fetchPeople = exports.fetchPeoplePage = exports.fetchAllPeopleRequiredViews = exports.getUserList = exports.fetchUserListByType = exports.isPandLReportViewSectionID = exports.isPandLReportViewCalculatedSectionID = exports.getProfitAndLossClassesView = exports.updateProfitAndLossAccountViewMode = exports.updateProfitAndLossClassesViewUIState = exports.resetProfitAndLossClassesNodeCollapseState = exports.updateProfitAndLossClassesToFilterOut = exports.fetchProfitAndLossClassesView = exports.getPandLReportFetchState = exports.getProfitAndLossReport = exports.updateProfitAndLossUIState = exports.resetProfitAndLossNodeCollapseState = exports.fetchProfitAndLoss = exports.getPandLWithForecast = exports.getDashboard = exports.fetchDashboard = exports.getAllTopExpenses = exports.getTop6Expenses = exports.getTopExpenses = exports.updateTopExDownloadState = exports.updateTopExTimeFrame = exports.fetchTopEx = exports.updateCashInCashOutUIState = exports.updateCashInCashOutDownloadState = exports.updateCashInCashOutCOABalancesRange = exports.getCashInCashOutForHighlightedRange = exports.getCashInCashOutForSelectedRange = exports.getCashInCashOutUIState = exports.getCashInCashOut = exports.fetchCashInCashOut = exports.getCashPositionForHighlightedRange = exports.getCashPositionForSelectedRange = exports.getCashPositionUIState = exports.getCashPosition = exports.updateCashPositionUIState = exports.updateCashPositionDownloadState = exports.updateCashPositionCOABalancesRange = exports.fetchCashPosition = exports.isRevenueClassesViewCalculatedSectionID = exports.isRevenueClassesViewSectionID = void 0;
|
|
34
|
+
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 = exports.isBalanceSheetReportViewCalculatedSectionID = exports.isBalanceSheetReportViewSectionID = exports.typeOfBalanceSheetRootSection = exports.updateBalanceSheetUIState = exports.resetBalanceSheetNodeCollapseState = exports.getBalanceSheetForFullDataAvailableRange = exports.getBalanceSheetFetchState = exports.getBalanceSheet = exports.fetchBalanceSheet = exports.isNotificationsTabVisible = exports.resetNotificationSettingsLocalData = exports.updateNotificationSettingsLocalData = exports.saveNotificationSettings = exports.getNotificationSettingsView = exports.fetchNotificationSettings = exports.fetchBankConnectionsView = exports.getMyBankConnectionsDetails = exports.getMyProfileView = exports.fetchMyProfileView = exports.clearSettingsView = exports.initializeEditPerson = exports.getPeopleLocalData = exports.getPeople = exports.peopleClearDataInLocalStore = exports.peopleSaveDataInLocalStore = exports.resetUpdateErrorMessage = exports.peopleSaveUpdates = exports.updatePeopleUIState = void 0;
|
|
35
|
+
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 = 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 = void 0;
|
|
36
|
+
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.getCompanyByCompanyId = exports.ALL_ACCOUNTING_CONNECTION_CREATION_MODES = exports.getEntityByEntityIDs = exports.clearAllEntities = exports.updateEntities = exports.getEntityAutoCompleteResults = exports.fetchEntityAutoCompleteResults = exports.clearEntityAutoCompleteResults = 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 = void 0;
|
|
37
|
+
exports.toSubscriptionSortKeyType = exports.getBankAccount = exports.getNestedAccountListHeirarchy = 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.toPortfolioSortKeyType = exports.toOnboardingSortKeyType = exports.toManagementSortKeyType = exports.clearAddressView = exports.fetchAddress = exports.getFormattedAddress = exports.getAllNewAddresses = exports.getNewAddress = exports.getAddress = exports.newAddressInLocalStore = 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 = void 0;
|
|
38
|
+
exports.updateVendorsTabVendorAllTransactionsTabData = exports.updateSelectedTabType = exports.fetchVendorsTabVendorDetailPageView = exports.getVendorDetailPageView = exports.getVendorView = exports.getAnalyticsDataOnVendorSave = exports.fetchTasksCard = exports.downloadFile = 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.toSupportedFileTypeStrict = exports.updateFiles = 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 = void 0;
|
|
39
|
+
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.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 = exports.updateScrollYOffset = exports.fetchVendorsList = exports.vendorsTabResetVendorDetailLocalData = exports.vendorsTabUpdateVendorDetailLocalData = exports.vendorsTabSaveVendorSuccessOrFailure = exports.vendorsTabSaveVendor = exports.getVendorsTabDetailPageView = exports.toVendorDetailTabsType = exports.getVendorAllTransactionsDefaultTimePeriod = exports.resetVendorsTabVendorAllTransactionsTabData = exports.resetSelectedTabType = void 0;
|
|
40
|
+
exports.updateBusinessVerificationDetails = exports.updateSetupViewLocalStoreData = exports.updateSelectedCompanyOfficer = exports.getPlaidLinkToken = exports.getPaymentAccounts = exports.enableSetup = exports.fetchZeniAccountSetupView = exports.fetchBillPaySetupView = exports.hideCreatedByFilter = 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 = exports.saveBillDetail = exports.discardBillUpdatesInLocalStore = exports.saveBillUpdatesToLocalStore = exports.fetchVendorByNameAndParseInvoice = exports.updateBillDetailSaveBillCode = exports.updateSelectedBillId = exports.updateSubTab = exports.updateTab = exports.fetchBillListPerTab = exports.fetchBillList = void 0;
|
|
41
|
+
exports.clearBillPaySetupApproverViewUpdateData = exports.initializeBillPaySetupApproverViewUpdateData = exports.saveBillPaySetupApproverViewUpdates = exports.saveBillPaySetupApproverViewUpdateData = exports.deleteBillPayApprovalRule = exports.fetchBillPayApproversList = exports.fetchBillPayApproversDetails = exports.fetchBillPaySetupApproverView = exports.getBillPaySetupApproverUpdateDataView = exports.getBillPaySetupApproverView = exports.toRoleTypeStrict = exports.toAttributeOrRoleTypeStrict = exports.toAttributeTypeStrict = exports.isSuccessResponse = exports.getRemiBusinessVerificationDetails = exports.getRemiSetupViewDetails = exports.clearRemiSetupView = exports.acceptEmployeeRemiTerms = exports.acceptRemiTerms = exports.saveRemiSetupViewDataInLocalStore = exports.updateMileageDetails = exports.fetchRemiSetupView = exports.getUserFinancialAccount = exports.fetchUserFinancialAccount = exports.getIntegrationsView = exports.getBankConnectionsSetupViewDetails = exports.getApprovalRuleViewDetails = exports.getCommonSetupViewDetails = exports.getZeniAccountBusinessVerificationDetails = exports.getBillPayBusinessVerificationDetails = exports.getBusinessVerificationDetails = exports.getZeniAccountSetupViewDetails = exports.getBillPaySetupViewDetails = exports.verifyOtp = exports.resendOtp = exports.sendOtp = exports.clearZeniAccountSetupView = exports.clearBillPaySetupView = exports.clearSetupViewDataInLocalStore = exports.saveIndustryAndIncDateInLocalStore = exports.saveCompnayOfficerAdditionalDocumentsInLocalStore = exports.saveCompnayOfficerPhoneInLocalStore = exports.saveSetupViewDataInLocalStore = exports.acceptBillPayUpdatedTerms = exports.acceptZeniAccountTerms = exports.acceptBillPayTerms = exports.establishPlaidConnection = exports.updatePaymentAccountStatus = exports.updatePaymentAccountLoginStatus = exports.updatePaymentAccount = void 0;
|
|
42
|
+
exports.isHolidayToday = exports.getPreviousNthWorkingDay = exports.getNextNthWorkingDay = exports.toFileTypeStrict = exports.ALL_FILE_TYPES = exports.reduceAllFetchState = exports.reduceAnyFetchState = exports.reduceFetchState = exports.clearAddRemiAutoFields = exports.clearTentativeMerchantName = exports.updateTentativeMerchantNames = exports.updateUploadFetchState = exports.updateAddRemiAutoFields = exports.clearEditRemiViewDetail = exports.parseReceiptsToRemi = exports.saveRemiSuccessOrFailure = exports.saveRemiDetail = exports.removeFileFromRemiUpdatesInLocalStore = exports.discardRemiUpdatesInLocalStore = exports.fetchCurrencyConversionValue = exports.saveRemiUpdatesToLocalStore = exports.initializeRemiToLocalStore = exports.fetchRemiAndInitializeLocalStore = exports.fetchRecommendationsAndUpdateMerchantRecommendations = exports.fetchEditRemiDetailPage = exports.getEditRemiDetail = exports.removeDuplicateReimbursementByLineId = exports.clearDuplicateReimbursementDetail = exports.fetchDuplicateReimbursement = exports.clearRemiDetailView = exports.approveOrRejectRemi = exports.cancelAndDeleteRemi = exports.fetchRemiDetail = exports.deleteRemi = exports.updateIsEditModeRealTimeApprovals = exports.saveRealTimeApproval = exports.checkApproveRejectBtnShowForRemi = exports.getRemiDetailView = exports.clearRemiSetupApproverView = exports.clearRemiSetupApproverViewUpdateData = exports.initializeRemiSetupApproverViewUpdateData = exports.saveRemiSetupApproverViewUpdates = exports.saveRemiSetupApproverViewUpdateData = exports.deleteRemiApprovalRule = exports.fetchRemiApproversDetails = exports.fetchRemiApproversList = exports.fetchRemiSetupApproverView = exports.getRemiSetupApproverUpdateDataView = exports.getRemiSetupApproverView = exports.clearBillPaySetupApproverView = void 0;
|
|
43
|
+
exports.fetchRecommendationByEntityId = exports.fetchRecommendationByEntityQboId = exports.toVendorReportIDType = exports.isVendorsTabVisible = exports.isColumnYTDSpend = exports.updateYTDSelectionUIState = exports.updatePageToken = exports.updateSortUiState = exports.getVendorList = exports.LOCAL_CURRENCY_INTERNATIONAL_METHOD_SUBTEXT = exports.SWIFT_OUR_INTERNATIONAL_METHOD_SUBTEXT = exports.NEW_INTERNATIONAL_METHOD_SUBTEXT = exports.BILL_NEW_PAYMENT_METHODS = exports.getInternationalSubConfigCodeKey = exports.shouldEnableCalendarPickerForLastReportSent = exports.canSendMonthEndEmailReport = exports.showReimbursementPromoPage = exports.showBillPayPromoPage = exports.getSelectedCompanyOfficer = exports.getSpendManagementEffectiveListPeriod = exports.getSnackbar = exports.closeSnackbar = exports.openSnackbar = exports.getChangedLineItemCountFromLocalData = exports.getTransactionListUIStateByCategoryType = exports.getTransactionsListByCategoryType = exports.retryBankAccountConnectionForOnboarding = exports.sendOnboardingCustomerViewInvite = exports.resetNewOnboardedCustomerId = exports.updateOnboardingCustomerDataInLocalStore = exports.saveOnboardingCustomerDataInLocalStore = exports.saveOnboardingCustomerNotes = exports.saveOnboardingCustomerViewUpdates = exports.updateStatusAfterOnboardingCompleted = exports.updateCustomerCreationStatus = exports.updateOnboardingCustomerListUIState = exports.saveOnboardingCustomerViewUpdateData = exports.clearOnboardingCustomerViewUpdateData = exports.initializeOnboardingCustomerViewUpdateData = exports.getOnboardingEmailGroup = exports.getNewOnboardingCustomerView = exports.getOnboardingCockpitView = exports.saveOnboardingCustomerCompletedStatus = exports.fetchOnboardingCompletedCompanies = exports.fetchCompanyOnboardingView = exports.PAYMENT_BUSINESS_DAYS = exports.holidaysFormatted = exports.isHoliday = exports.getYearsList = exports.filterDays = void 0;
|
|
44
|
+
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.clearTransferDetail = exports.getTransferDetail = exports.transferMoney = exports.updateDepositToLocalData = exports.updateTransferToLocalData = exports.updateTransferMoneyLocalData = exports.fetchZeniAccountsConfig = exports.fetchDepositAccount = exports.getDepositAccountDetailForPDF = exports.getDepositAccountDetail = exports.unlinkPaymentAccount = exports.fetchPaymentAccountList = exports.createCheckingAccount = exports.updateZeniAccountListTab = exports.fetchZeniAccountList = exports.getZeniAccountList = exports.getZeniAccountsConfigDetail = exports.fetchOwnerList = exports.fetchRecommendationByEntityName = void 0;
|
|
45
|
+
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 = exports.updateOnboardingCustomerViewUIState = exports.updateCurrentStep = exports.updateOnboardingCustomerViewLocalStoreData = exports.updateOnboardingCustomerView = exports.updateOnboardingPaymentAccountStatus = void 0;
|
|
46
|
+
exports.updateScheduleDetailsLocalData = exports.createNewSchedules = exports.saveScheduleDetails = exports.fetchScheduleDetailsPage = exports.getScheduleDetailsView = exports.fetchScheduleDetails = exports.updateSelectedJEScheduleKey = exports.updateScheduleListSortState = exports.updateScheduleListScrollState = exports.updateScheduleListSearchText = exports.updateScheduleListSubTab = exports.updateScheduleListTab = 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 = exports.getChargeCardBusinessVerificationDetails = exports.companyHealthMetricDropDownOptions = exports.hasCompanyHealthMetricFormFieldChanged = exports.getCompanyHealthMetricView = exports.isCompanyRunwayInfinite = void 0;
|
|
47
|
+
exports.updateTaskListUIState = exports.updateTaskListSearchText = exports.saveTaskDetail = exports.saveTaskUpdatesToLocalStore = exports.fetchTaskDetailPage = exports.getTaskDetail = exports.fetchTaskListPage = exports.getAllTasks = exports.toRecurringBillFrequencyStrict = exports.toRecurringBillFrequency = 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.updatedJELinkWithRecommendedLocalData = exports.resetJELinkInLocalData = exports.updateAmountsInScheduleDetail = exports.updatedJELinkInLocalData = exports.getThirdPartyIDFromQBOURL = exports.getQBOUrlForLink = exports.updatedSelectedJELinkRowIndex = exports.updateScheduleListDownloadState = void 0;
|
|
48
|
+
exports.fetchRewardsPlan = exports.resendReferralInvite = exports.updateReferralListSortUiState = exports.saveReferralFormDataInLocalStore = exports.clearReferrals = exports.closeReferralInviteConfirmationPopup = 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 = exports.allTaskStatus = exports.allTaskTags = void 0;
|
|
49
49
|
const zeniDayJS_1 = require("./zeniDayJS");
|
|
50
50
|
Object.defineProperty(exports, "Dayjs", { enumerable: true, get: function () { return zeniDayJS_1.Dayjs; } });
|
|
51
51
|
Object.defineProperty(exports, "updateZeniDateLocaleID", { enumerable: true, get: function () { return zeniDayJS_1.updateZeniDateLocaleID; } });
|
|
@@ -133,8 +133,11 @@ const tenantSelector_1 = require("./entity/tenant/tenantSelector");
|
|
|
133
133
|
Object.defineProperty(exports, "getCurrentTenant", { enumerable: true, get: function () { return tenantSelector_1.getCurrentTenant; } });
|
|
134
134
|
Object.defineProperty(exports, "getTenantsByCheckInDateSelector", { enumerable: true, get: function () { return tenantSelector_1.getTenantsByCheckInDateSelector; } });
|
|
135
135
|
Object.defineProperty(exports, "getTenantsBaseByCheckInDateSelector", { enumerable: true, get: function () { return tenantSelector_1.getTenantsBaseByCheckInDateSelector; } });
|
|
136
|
+
Object.defineProperty(exports, "getTenantsCoreDetailsByCheckInDateSelector", { enumerable: true, get: function () { return tenantSelector_1.getTenantsCoreDetailsByCheckInDateSelector; } });
|
|
137
|
+
Object.defineProperty(exports, "toTenantCoreDetailsView", { enumerable: true, get: function () { return tenantSelector_1.toTenantCoreDetailsView; } });
|
|
136
138
|
Object.defineProperty(exports, "getTenantBaseById", { enumerable: true, get: function () { return tenantSelector_1.getTenantBaseById; } });
|
|
137
139
|
Object.defineProperty(exports, "getTenantBaseViewForTenantView", { enumerable: true, get: function () { return tenantSelector_1.getTenantBaseViewForTenantView; } });
|
|
140
|
+
Object.defineProperty(exports, "getTenantBaseViewForTenantId", { enumerable: true, get: function () { return tenantSelector_1.getTenantBaseViewForTenantId; } });
|
|
138
141
|
Object.defineProperty(exports, "isZeniDomainTenant", { enumerable: true, get: function () { return tenantSelector_1.isZeniDomainTenant; } });
|
|
139
142
|
Object.defineProperty(exports, "isTenantUsingZeniCOA", { enumerable: true, get: function () { return tenantSelector_1.isTenantUsingZeniCOA; } });
|
|
140
143
|
const tenantReducer_1 = require("./entity/tenant/tenantReducer");
|
|
@@ -595,6 +598,7 @@ Object.defineProperty(exports, "retryBankAccountConnection", { enumerable: true,
|
|
|
595
598
|
const reviewCompanyViewSelector_1 = require("./view/reviewCompanyView/reviewCompanyViewSelector");
|
|
596
599
|
Object.defineProperty(exports, "getReviewCompanySelectorView", { enumerable: true, get: function () { return reviewCompanyViewSelector_1.getReviewCompanySelectorView; } });
|
|
597
600
|
Object.defineProperty(exports, "getReviewCompanyListCount", { enumerable: true, get: function () { return reviewCompanyViewSelector_1.getReviewCompanyListCount; } });
|
|
601
|
+
Object.defineProperty(exports, "getAuditWarningsCount", { enumerable: true, get: function () { return reviewCompanyViewSelector_1.getAuditWarningsCount; } });
|
|
598
602
|
const companyPortfolioViewSelector_1 = require("./view/companyView/selector/companyPortfolioViewSelector");
|
|
599
603
|
Object.defineProperty(exports, "getCompanyPortfolioView", { enumerable: true, get: function () { return companyPortfolioViewSelector_1.getCompanyPortfolioView; } });
|
|
600
604
|
Object.defineProperty(exports, "isInfiniteRunway", { enumerable: true, get: function () { return companyPortfolioViewSelector_1.isInfiniteRunway; } });
|
|
@@ -1198,7 +1202,8 @@ Object.defineProperty(exports, "updateScheduleListLocalData", { enumerable: true
|
|
|
1198
1202
|
Object.defineProperty(exports, "updateScheduleListSearchText", { enumerable: true, get: function () { return scheduleListReducer_1.updateScheduleListSearchText; } });
|
|
1199
1203
|
Object.defineProperty(exports, "updateScheduleListSubTab", { enumerable: true, get: function () { return scheduleListReducer_1.updateScheduleListSubTab; } });
|
|
1200
1204
|
Object.defineProperty(exports, "updateScheduleListTab", { enumerable: true, get: function () { return scheduleListReducer_1.updateScheduleListTab; } });
|
|
1201
|
-
Object.defineProperty(exports, "
|
|
1205
|
+
Object.defineProperty(exports, "updateScheduleListScrollState", { enumerable: true, get: function () { return scheduleListReducer_1.updateScheduleListScrollState; } });
|
|
1206
|
+
Object.defineProperty(exports, "updateScheduleListSortState", { enumerable: true, get: function () { return scheduleListReducer_1.updateScheduleListSortState; } });
|
|
1202
1207
|
Object.defineProperty(exports, "updateScheduleListDownloadState", { enumerable: true, get: function () { return scheduleListReducer_1.updateScheduleListDownloadState; } });
|
|
1203
1208
|
Object.defineProperty(exports, "fetchDownloadSchedules", { enumerable: true, get: function () { return scheduleListReducer_1.fetchDownloadSchedules; } });
|
|
1204
1209
|
const scheduleListSelector_1 = require("./view/scheduleView/scheduleListView/scheduleListSelector");
|
|
@@ -1290,6 +1295,13 @@ Object.defineProperty(exports, "discardTaskUpdatesInLocalStore", { enumerable: t
|
|
|
1290
1295
|
Object.defineProperty(exports, "fetchTaskDetailPage", { enumerable: true, get: function () { return taskDetailReducer_1.fetchTaskDetailPage; } });
|
|
1291
1296
|
Object.defineProperty(exports, "saveTaskDetail", { enumerable: true, get: function () { return taskDetailReducer_1.saveTaskDetail; } });
|
|
1292
1297
|
Object.defineProperty(exports, "saveTaskUpdatesToLocalStore", { enumerable: true, get: function () { return taskDetailReducer_1.saveTaskUpdatesToLocalStore; } });
|
|
1298
|
+
const auditReportViewSelector_1 = require("./view/auditReportView/auditReportViewSelector");
|
|
1299
|
+
Object.defineProperty(exports, "getAuditReportGroupViewSelectorView", { enumerable: true, get: function () { return auditReportViewSelector_1.getAuditReportGroupViewSelectorView; } });
|
|
1300
|
+
Object.defineProperty(exports, "getAuditRuleGroupViewSelectorView", { enumerable: true, get: function () { return auditReportViewSelector_1.getAuditRuleGroupViewSelectorView; } });
|
|
1301
|
+
const auditReportViewReducer_1 = require("./view/auditReportView/auditReportViewReducer");
|
|
1302
|
+
Object.defineProperty(exports, "fetchAuditRuleGroupView", { enumerable: true, get: function () { return auditReportViewReducer_1.fetchAuditRuleGroupView; } });
|
|
1303
|
+
Object.defineProperty(exports, "fetchAuditReportGroupView", { enumerable: true, get: function () { return auditReportViewReducer_1.fetchAuditReportGroupView; } });
|
|
1304
|
+
Object.defineProperty(exports, "clearAuditReportGroupViewByCompanyId", { enumerable: true, get: function () { return auditReportViewReducer_1.clearAuditReportGroupViewByCompanyId; } });
|
|
1293
1305
|
const authenticationViewReducer_1 = require("./view/authenticationView/authenticationViewReducer");
|
|
1294
1306
|
Object.defineProperty(exports, "fetchCollaborationAuthToken", { enumerable: true, get: function () { return authenticationViewReducer_1.fetchCollaborationAuthToken; } });
|
|
1295
1307
|
const authenticationViewSelector_1 = require("./view/authenticationView/authenticationViewSelector");
|
|
@@ -1298,3 +1310,19 @@ const zeniAccountsPromoCardSelector_1 = require("./view/zeniAccountsPromoCard/ze
|
|
|
1298
1310
|
Object.defineProperty(exports, "getZeniAccountsPromoCard", { enumerable: true, get: function () { return zeniAccountsPromoCardSelector_1.getZeniAccountsPromoCard; } });
|
|
1299
1311
|
const zeniAccountsPromoCardReducer_1 = require("./view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer");
|
|
1300
1312
|
Object.defineProperty(exports, "fetchZeniAccountsPromoCard", { enumerable: true, get: function () { return zeniAccountsPromoCardReducer_1.fetchZeniAccountsPromoCard; } });
|
|
1313
|
+
const referralSelector_1 = require("./view/referralView/referralSelector");
|
|
1314
|
+
Object.defineProperty(exports, "getReferralListView", { enumerable: true, get: function () { return referralSelector_1.getReferralListView; } });
|
|
1315
|
+
Object.defineProperty(exports, "getInviteFormView", { enumerable: true, get: function () { return referralSelector_1.getInviteFormView; } });
|
|
1316
|
+
const referralState_1 = require("./view/referralView/referralState");
|
|
1317
|
+
Object.defineProperty(exports, "StatusTypes", { enumerable: true, get: function () { return referralState_1.StatusTypes; } });
|
|
1318
|
+
Object.defineProperty(exports, "AmountStatusTypes", { enumerable: true, get: function () { return referralState_1.AmountStatusTypes; } });
|
|
1319
|
+
Object.defineProperty(exports, "toReferralListViewSortKeyType", { enumerable: true, get: function () { return referralState_1.toReferralListViewSortKeyType; } });
|
|
1320
|
+
const referralReducer_1 = require("./view/referralView/referralReducer");
|
|
1321
|
+
Object.defineProperty(exports, "fetchReferrals", { enumerable: true, get: function () { return referralReducer_1.fetchReferrals; } });
|
|
1322
|
+
Object.defineProperty(exports, "sendReferralInvite", { enumerable: true, get: function () { return referralReducer_1.sendReferralInvite; } });
|
|
1323
|
+
Object.defineProperty(exports, "clearReferrals", { enumerable: true, get: function () { return referralReducer_1.clearReferrals; } });
|
|
1324
|
+
Object.defineProperty(exports, "saveReferralFormDataInLocalStore", { enumerable: true, get: function () { return referralReducer_1.saveReferralFormDataInLocalStore; } });
|
|
1325
|
+
Object.defineProperty(exports, "resendReferralInvite", { enumerable: true, get: function () { return referralReducer_1.resendReferralInvite; } });
|
|
1326
|
+
Object.defineProperty(exports, "updateReferralListSortUiState", { enumerable: true, get: function () { return referralReducer_1.updateReferralListSortUiState; } });
|
|
1327
|
+
Object.defineProperty(exports, "fetchRewardsPlan", { enumerable: true, get: function () { return referralReducer_1.fetchRewardsPlan; } });
|
|
1328
|
+
Object.defineProperty(exports, "closeReferralInviteConfirmationPopup", { enumerable: true, get: function () { return referralReducer_1.closeReferralInviteConfirmationPopup; } });
|
package/lib/init.js
CHANGED
|
@@ -32,7 +32,7 @@ function initialize(restEndPoints, userId, sessionId, tenantId) {
|
|
|
32
32
|
console.info(`initializing with ${JSON.stringify(restEndPoints)}`);
|
|
33
33
|
initialize3rdPartyExtensions();
|
|
34
34
|
exports.zeniAPI = new zeniAPI_1.ZeniAPIClient(restEndPoints, userId, sessionId, tenantId);
|
|
35
|
-
exports.store = (0, configureStore_1.default)(exports.zeniAPI,
|
|
35
|
+
exports.store = (0, configureStore_1.default)(exports.zeniAPI, true);
|
|
36
36
|
return exports.store;
|
|
37
37
|
}
|
|
38
38
|
exports.default = initialize;
|
package/lib/reducer.d.ts
CHANGED
|
@@ -146,6 +146,7 @@ import { PaymentInstrumentState } from './entity/paymentInstrument/paymentInstru
|
|
|
146
146
|
import { JESchedulesState } from './entity/jeSchedules/jeSchedulesState';
|
|
147
147
|
import { GlobalMerchantAutoCompleteState } from './view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewState';
|
|
148
148
|
import { GlobalMerchantViewState } from './view/globalMerchantView/globalMerchantViewState';
|
|
149
|
+
import { AuditReportViewState } from './view/auditReportView/auditReportViewState';
|
|
149
150
|
import { TaskState } from './entity/task/task';
|
|
150
151
|
import { TaskSummaryState } from './entity/taskSummary/taskSummaryState';
|
|
151
152
|
import { TaskListState } from './view/taskManager/taskListView/taskList';
|
|
@@ -153,6 +154,7 @@ import { TaskDetailViewState } from './view/taskManager/taskDetailView/taskDetai
|
|
|
153
154
|
import { AuthenticationViewState } from './view/authenticationView/authenticationViewState';
|
|
154
155
|
import { TwoFactorAuthenticationState } from './view/twoFactorAuthentication/twoFactorAuthentication';
|
|
155
156
|
import { ZeniAccountsPromoCardState } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardState';
|
|
157
|
+
import { ReferralViewState } from './view/referralView/referralState';
|
|
156
158
|
declare type EntitiesState = {
|
|
157
159
|
accountGroupState: AccountGroupState;
|
|
158
160
|
accountingSummaryState: AccountingSummaryState;
|
|
@@ -214,6 +216,7 @@ declare type ViewsState = {
|
|
|
214
216
|
apAgingState: ApAgingState;
|
|
215
217
|
arAgingDetailState: ArAgingDetailState;
|
|
216
218
|
arAgingState: ArAgingState;
|
|
219
|
+
auditReportViewState: AuditReportViewState;
|
|
217
220
|
authenticationViewState: AuthenticationViewState;
|
|
218
221
|
balanceSheetState: BalanceSheetState;
|
|
219
222
|
bankAccountViewState: BankAccountViewState;
|
|
@@ -271,6 +274,7 @@ declare type ViewsState = {
|
|
|
271
274
|
profitAndLossClassesViewState: ProfitAndLossClassesViewState;
|
|
272
275
|
profitAndLossState: ProfitAndLossWithForecastState;
|
|
273
276
|
realTimeApprovalState: RealTimeApprovalState;
|
|
277
|
+
referralViewState: ReferralViewState;
|
|
274
278
|
reimbursementCardState: ReimbursementCardState;
|
|
275
279
|
reimbursementConfigState: ReimbursementConfigState;
|
|
276
280
|
remiDetailViewState: RemiDetailViewState;
|
|
@@ -323,6 +327,7 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
323
327
|
apAgingState: ApAgingState;
|
|
324
328
|
arAgingDetailState: ArAgingDetailState;
|
|
325
329
|
arAgingState: ArAgingState;
|
|
330
|
+
auditReportViewState: AuditReportViewState;
|
|
326
331
|
authenticationViewState: AuthenticationViewState;
|
|
327
332
|
balanceSheetState: BalanceSheetState;
|
|
328
333
|
bankAccountViewState: BankAccountViewState;
|
|
@@ -380,6 +385,7 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
380
385
|
profitAndLossClassesViewState: ProfitAndLossClassesViewState;
|
|
381
386
|
profitAndLossState: ProfitAndLossWithForecastState;
|
|
382
387
|
realTimeApprovalState: RealTimeApprovalState;
|
|
388
|
+
referralViewState: ReferralViewState;
|
|
383
389
|
reimbursementCardState: ReimbursementCardState;
|
|
384
390
|
reimbursementConfigState: ReimbursementConfigState;
|
|
385
391
|
remiDetailViewState: RemiDetailViewState;
|
package/lib/reducer.js
CHANGED
|
@@ -177,6 +177,7 @@ const paymentInstrumentReducer_1 = __importStar(require("./entity/paymentInstrum
|
|
|
177
177
|
const jeSchedulesReducer_1 = __importStar(require("./entity/jeSchedules/jeSchedulesReducer"));
|
|
178
178
|
const globalMerchantAutoCompleteViewReducer_1 = __importStar(require("./view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer"));
|
|
179
179
|
const globalMerchantViewReducer_1 = __importStar(require("./view/globalMerchantView/globalMerchantViewReducer"));
|
|
180
|
+
const auditReportViewReducer_1 = __importStar(require("./view/auditReportView/auditReportViewReducer"));
|
|
180
181
|
const taskReducer_1 = __importStar(require("./entity/task/taskReducer"));
|
|
181
182
|
const taskSummaryReducer_1 = __importStar(require("./entity/taskSummary/taskSummaryReducer"));
|
|
182
183
|
const taskListReducer_1 = __importStar(require("./view/taskManager/taskListView/taskListReducer"));
|
|
@@ -184,6 +185,7 @@ const taskDetailReducer_1 = __importStar(require("./view/taskManager/taskDetailV
|
|
|
184
185
|
const authenticationViewReducer_1 = __importStar(require("./view/authenticationView/authenticationViewReducer"));
|
|
185
186
|
const twoFactorAuthenticationReducer_1 = __importStar(require("./view/twoFactorAuthentication/twoFactorAuthenticationReducer"));
|
|
186
187
|
const zeniAccountsPromoCardReducer_1 = __importStar(require("./view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer"));
|
|
188
|
+
const referralReducer_1 = __importStar(require("./view/referralView/referralReducer"));
|
|
187
189
|
// Note: Please maintain strict alphabetical order
|
|
188
190
|
const initialEntitiesState = {
|
|
189
191
|
accountGroupState: accountGroupReducer_1.initialState,
|
|
@@ -247,6 +249,7 @@ const initialViewsState = {
|
|
|
247
249
|
apAgingState: apAgingReducer_1.initialState,
|
|
248
250
|
arAgingDetailState: arAgingDetailReducer_1.initialState,
|
|
249
251
|
arAgingState: arAgingReducer_1.initialState,
|
|
252
|
+
auditReportViewState: auditReportViewReducer_1.initialState,
|
|
250
253
|
authenticationViewState: authenticationViewReducer_1.initialState,
|
|
251
254
|
balanceSheetState: balanceSheetReducer_1.initialState,
|
|
252
255
|
bankAccountViewState: bankAccountViewReducer_1.initialState,
|
|
@@ -304,6 +307,7 @@ const initialViewsState = {
|
|
|
304
307
|
profitAndLossClassesViewState: profitAndLossClassesViewReducer_1.initialState,
|
|
305
308
|
profitAndLossState: profitAndLossReducer_1.initialState,
|
|
306
309
|
realTimeApprovalState: realTimeApprovalReducer_1.initialState,
|
|
310
|
+
referralViewState: referralReducer_1.initialState,
|
|
307
311
|
reimbursementCardState: reimbursementCardReducer_1.initialState,
|
|
308
312
|
reimbursementConfigState: reimbursementConfigReducer_1.initialState,
|
|
309
313
|
remiDetailViewState: remiDetailViewReducer_1.initialState,
|
|
@@ -411,6 +415,7 @@ const viewReducers = {
|
|
|
411
415
|
apAgingState: apAgingReducer_1.default,
|
|
412
416
|
arAgingDetailState: arAgingDetailReducer_1.default,
|
|
413
417
|
arAgingState: arAgingReducer_1.default,
|
|
418
|
+
auditReportViewState: auditReportViewReducer_1.default,
|
|
414
419
|
authenticationViewState: authenticationViewReducer_1.default,
|
|
415
420
|
balanceSheetState: balanceSheetReducer_1.default,
|
|
416
421
|
bankAccountViewState: bankAccountViewReducer_1.default,
|
|
@@ -468,6 +473,7 @@ const viewReducers = {
|
|
|
468
473
|
profitAndLossClassesViewState: profitAndLossClassesViewReducer_1.default,
|
|
469
474
|
profitAndLossState: profitAndLossReducer_1.default,
|
|
470
475
|
realTimeApprovalState: realTimeApprovalReducer_1.default,
|
|
476
|
+
referralViewState: referralReducer_1.default,
|
|
471
477
|
reimbursementCardState: reimbursementCardReducer_1.default,
|
|
472
478
|
reimbursementConfigState: reimbursementConfigReducer_1.default,
|
|
473
479
|
remiDetailViewState: remiDetailViewReducer_1.default,
|
|
@@ -3,13 +3,13 @@ import { AccountListResponse } from './accountListPayload';
|
|
|
3
3
|
import { AccountList, AccountListKeyType, AccountListState } from './accountListState';
|
|
4
4
|
export declare const initialAccountList: AccountList;
|
|
5
5
|
export declare const initialState: AccountListState;
|
|
6
|
-
export declare const fetchAccountList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountListKey: AccountListKeyType, fetchFullResponse?: any, excludeAccountPayableAccounts?: any, excludeAccountReceivableAccounts?: any, isLimitedCategoryEnabled?: any, filterAccountTypes?: ("cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "
|
|
6
|
+
export declare const fetchAccountList: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accountListKey: AccountListKeyType, fetchFullResponse?: any, excludeAccountPayableAccounts?: any, excludeAccountReceivableAccounts?: any, isLimitedCategoryEnabled?: any, filterAccountTypes?: ("cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets")[] | undefined], {
|
|
7
7
|
accountListKey: AccountListKeyType;
|
|
8
8
|
fetchFullResponse: any;
|
|
9
9
|
excludeAccountPayableAccounts: any;
|
|
10
10
|
excludeAccountReceivableAccounts: any;
|
|
11
11
|
isLimitedCategoryEnabled: any;
|
|
12
|
-
filterAccountTypes: ("cash_position" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "
|
|
12
|
+
filterAccountTypes: ("cash_position" | "fixed_assets" | "bank" | "credit_card" | "expenses" | "cogs" | "income" | "cash_in" | "cash_out" | "other_income" | "other_expense" | "accounts_receivable" | "other_current_assets" | "other_assets" | "accounts_payable" | "other_current_liabilities" | "long_term_liabilities" | "equity" | "current_liabilities" | "current_assets")[];
|
|
13
13
|
}, string, never, never>, updateAccountList: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
14
14
|
accountListKey: AccountListKeyType;
|
|
15
15
|
accountListResponse: AccountListResponse;
|
|
@@ -19,6 +19,7 @@ exports.initialAccountList = {
|
|
|
19
19
|
uncategorized_expense: [],
|
|
20
20
|
uncategorized_income: [],
|
|
21
21
|
prepaid_expenses: [],
|
|
22
|
+
fixed_assets: [],
|
|
22
23
|
},
|
|
23
24
|
hasValidState() {
|
|
24
25
|
return this.fetchState == 'Completed';
|
|
@@ -28,7 +29,7 @@ exports.initialState = {
|
|
|
28
29
|
byReportId: {
|
|
29
30
|
accountList: exports.initialAccountList,
|
|
30
31
|
reimbursementAccountList: exports.initialAccountList,
|
|
31
|
-
|
|
32
|
+
schedulesAccountList: exports.initialAccountList,
|
|
32
33
|
billPayAccountList: exports.initialAccountList,
|
|
33
34
|
},
|
|
34
35
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NestedAccountHeirarchyForReport } from '../../commonStateTypes/accountView/nestedAccountID';
|
|
2
2
|
import { FetchedState, ID } from '../../commonStateTypes/common';
|
|
3
3
|
import { AccountLabel } from '../../entity/account/accountState';
|
|
4
|
-
export declare type AccountListKeyType = 'accountList' | 'reimbursementAccountList' | '
|
|
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[]>;
|
package/lib/view/accountMappingView/accountTypeRecommendation/accountTypeRecommendationPayload.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { RecommendedAccountBasePayload } from '../../../entity/account/accountPa
|
|
|
3
3
|
import { AccountLabel } from '../../../entity/account/accountState';
|
|
4
4
|
import { ZeniAPIResponse } from '../../../responsePayload';
|
|
5
5
|
export interface AccountTypeRecommendationPayload {
|
|
6
|
-
recommendations_by_type: Record<
|
|
6
|
+
recommendations_by_type: Record<Extract<AccountLabel, 'uncategorized_income' | 'uncategorized_expense'>, RecommendedAccountBasePayload[]>;
|
|
7
7
|
}
|
|
8
8
|
export declare type AccountTypeRecommendationResponse = ZeniAPIResponse<AccountTypeRecommendationPayload>;
|
|
9
9
|
export declare const mapAccountTypeRecommendationPayloadToAccountRecommendationByType: (payload: AccountTypeRecommendationPayload) => {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AuditRule, AuditRuleGroup, AuditReportGroupQuery, AuditReport, AuditRuleGroupReport, AuditReportGroup, AuditRuleBase, AuditReportRule } from './auditReportViewState';
|
|
2
|
+
import { AuditReportGroupPayload, AuditReportGroupQueryPayload, AuditReportPayload, AuditRuleGroupPayload, AuditRulePayload, AuditRuleGroupReportPayload, AuditRuleBasePayload, AuditReportRulePayload } from './auditReportViewPayload';
|
|
3
|
+
declare const toAuditRuleGroupFromPayload: (auditRuleGroupPayload: AuditRuleGroupPayload) => AuditRuleGroup;
|
|
4
|
+
declare const toAuditRulesFromPayload: (auditRulesPayload: AuditRulePayload[]) => AuditRule[];
|
|
5
|
+
declare const toAuditRuleBaseFromPayload: (auditRuleBasePayload: AuditRuleBasePayload) => AuditRuleBase;
|
|
6
|
+
declare const toAuditRuleFromPayload: (auditRulesPayload: AuditRulePayload) => AuditRule;
|
|
7
|
+
declare const toAuditReportGroupViewFromPayload: (auditReportGroupPayload: AuditReportGroupPayload) => AuditReportGroup;
|
|
8
|
+
declare const toAuditReportGroupQueryFromPayload: (queryPayload: AuditReportGroupQueryPayload) => AuditReportGroupQuery;
|
|
9
|
+
declare const toAuditReportFromPayload: (auditReportPayload: AuditReportPayload) => AuditReport;
|
|
10
|
+
declare const toAuditReportRuleFromPayload: (auditReportRulesPayload: AuditReportRulePayload[]) => AuditReportRule[];
|
|
11
|
+
declare const toAuditRuleReportGroupFromPayload: (auditRuleReportGroupPayload: AuditRuleGroupReportPayload[]) => AuditRuleGroupReport[];
|
|
12
|
+
export { toAuditRuleGroupFromPayload, toAuditRulesFromPayload, toAuditRuleBaseFromPayload, toAuditRuleFromPayload, toAuditReportGroupViewFromPayload, toAuditReportGroupQueryFromPayload, toAuditReportFromPayload, toAuditReportRuleFromPayload, toAuditRuleReportGroupFromPayload, };
|