@zeniai/client-epic-state 5.0.36-betaRR05 → 5.0.36
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/entity/task/taskPayload.d.ts +0 -1
- package/lib/entity/task/taskPayload.js +0 -5
- package/lib/entity/task/taskState.d.ts +0 -5
- package/lib/entity/task/taskState.js +1 -6
- package/lib/entity/tenant/clearAllEpic.d.ts +1 -2
- package/lib/entity/tenant/clearAllEpic.js +0 -2
- package/lib/entity/tenant/tenantPayload.d.ts +0 -1
- package/lib/entity/tenant/tenantReducer.d.ts +1 -59
- package/lib/entity/tenant/tenantReducer.js +4 -139
- package/lib/entity/tenant/tenantState.d.ts +0 -7
- package/lib/epic.d.ts +1 -3
- package/lib/epic.js +1 -6
- package/lib/esm/entity/task/taskPayload.js +1 -6
- package/lib/esm/entity/task/taskState.js +0 -3
- package/lib/esm/entity/tenant/clearAllEpic.js +0 -2
- package/lib/esm/entity/tenant/tenantReducer.js +2 -135
- package/lib/esm/epic.js +1 -6
- package/lib/esm/index.js +5 -8
- package/lib/esm/reducer.js +0 -3
- package/lib/esm/view/common/recurringViewHelper.js +0 -17
- package/lib/esm/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +0 -2
- package/lib/esm/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +0 -5
- package/lib/esm/view/taskManager/taskDetailView/taskDetail.js +0 -1
- package/lib/esm/view/taskManager/taskDetailView/taskDetailSelector.js +0 -5
- package/lib/index.d.ts +5 -9
- package/lib/index.js +31 -48
- package/lib/reducer.d.ts +0 -3
- package/lib/reducer.js +0 -3
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/lib/view/common/recurringViewHelper.d.ts +2 -3
- package/lib/view/common/recurringViewHelper.js +1 -18
- package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +0 -2
- package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +0 -5
- package/lib/view/taskManager/taskDetailView/taskDetail.d.ts +1 -3
- package/lib/view/taskManager/taskDetailView/taskDetail.js +0 -1
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.d.ts +0 -1
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +0 -5
- package/package.json +1 -1
- package/lib/entity/tenant/epic/deleteConnectionEpic.d.ts +0 -19
- package/lib/entity/tenant/epic/deleteConnectionEpic.js +0 -29
- package/lib/entity/tenant/epic/saveAPIKeyConnectionEpic.d.ts +0 -19
- package/lib/entity/tenant/epic/saveAPIKeyConnectionEpic.js +0 -31
- package/lib/entity/tenant/epic/saveOAuthConnectionEpic.d.ts +0 -19
- package/lib/entity/tenant/epic/saveOAuthConnectionEpic.js +0 -33
- package/lib/esm/entity/tenant/epic/deleteConnectionEpic.js +0 -25
- package/lib/esm/entity/tenant/epic/saveAPIKeyConnectionEpic.js +0 -27
- package/lib/esm/entity/tenant/epic/saveOAuthConnectionEpic.js +0 -29
- package/lib/esm/view/featureNotificationView/epics/fetchRegisteredInterestsEpic.js +0 -23
- package/lib/esm/view/featureNotificationView/epics/notifyMeForFeatureEpic.js +0 -25
- package/lib/esm/view/featureNotificationView/featureNotificationViewPayload.js +0 -11
- package/lib/esm/view/featureNotificationView/featureNotificationViewReducer.js +0 -106
- package/lib/esm/view/featureNotificationView/featureNotificationViewSelector.js +0 -4
- package/lib/esm/view/featureNotificationView/featureNotificationViewState.js +0 -1
- package/lib/view/featureNotificationView/epics/fetchRegisteredInterestsEpic.d.ts +0 -16
- package/lib/view/featureNotificationView/epics/fetchRegisteredInterestsEpic.js +0 -27
- package/lib/view/featureNotificationView/epics/notifyMeForFeatureEpic.d.ts +0 -14
- package/lib/view/featureNotificationView/epics/notifyMeForFeatureEpic.js +0 -29
- package/lib/view/featureNotificationView/featureNotificationViewPayload.d.ts +0 -23
- package/lib/view/featureNotificationView/featureNotificationViewPayload.js +0 -15
- package/lib/view/featureNotificationView/featureNotificationViewReducer.d.ts +0 -19
- package/lib/view/featureNotificationView/featureNotificationViewReducer.js +0 -110
- package/lib/view/featureNotificationView/featureNotificationViewSelector.d.ts +0 -6
- package/lib/view/featureNotificationView/featureNotificationViewSelector.js +0 -11
- package/lib/view/featureNotificationView/featureNotificationViewState.d.ts +0 -26
- package/lib/view/featureNotificationView/featureNotificationViewState.js +0 -2
package/lib/esm/reducer.js
CHANGED
|
@@ -107,7 +107,6 @@ import expenseAutomationReconciliationView, { initialState as initialExpenseAuto
|
|
|
107
107
|
import expenseAutomationTransactionsView, { initialState as initialExpenseAutomationTransactionsViewState, } from './view/expenseAutomationView/reducers/transactionsViewReducer';
|
|
108
108
|
import fileView from './view/fileView/fileViewReducer';
|
|
109
109
|
import { initialFileViewState, } from './view/fileView/fileViewState';
|
|
110
|
-
import featureNotificationView, { initialState as initialFeatureNotificationViewState, } from './view/featureNotificationView/featureNotificationViewReducer';
|
|
111
110
|
import financeStatement, { initialFinanceStatementState, } from './view/financeStatement/financeStatementReducer';
|
|
112
111
|
import forecastList, { initialState as initialForecastListState, } from './view/forecastList/forecastListReducer';
|
|
113
112
|
import globalMerchantAutoComplete, { initialState as initialGlobalMerchantAutoCompleteState, } from './view/globalMerchantView/globalMerchantAutoCompleteView/globalMerchantAutoCompleteViewReducer';
|
|
@@ -356,7 +355,6 @@ const initialViewsState = {
|
|
|
356
355
|
expenseAutomationTransactionsViewState: initialExpenseAutomationTransactionsViewState,
|
|
357
356
|
expenseAutomationViewState: initialExpenseAutomationViewState,
|
|
358
357
|
expressPayState: initialExpressPayState,
|
|
359
|
-
featureNotificationViewState: initialFeatureNotificationViewState,
|
|
360
358
|
fileViewState: initialFileViewState,
|
|
361
359
|
financeStatementState: initialFinanceStatementState,
|
|
362
360
|
forecastListState: initialForecastListState,
|
|
@@ -588,7 +586,6 @@ const viewReducers = {
|
|
|
588
586
|
expenseAutomationTransactionsViewState: expenseAutomationTransactionsView,
|
|
589
587
|
expenseAutomationViewState: expenseAutomationView,
|
|
590
588
|
expressPayState: expressPay,
|
|
591
|
-
featureNotificationViewState: featureNotificationView,
|
|
592
589
|
fileViewState: fileView,
|
|
593
590
|
financeStatementState: financeStatement,
|
|
594
591
|
forecastListState: forecastList,
|
|
@@ -3,13 +3,11 @@ const ALL_RECURRING_FREQUENCY = [
|
|
|
3
3
|
'daily',
|
|
4
4
|
'weekly',
|
|
5
5
|
'biweekly',
|
|
6
|
-
'semi_weekly',
|
|
7
6
|
'monthly',
|
|
8
7
|
'quarterly',
|
|
9
8
|
];
|
|
10
9
|
export const toRecurringFrequency = (v) => stringToUnion(v, ALL_RECURRING_FREQUENCY);
|
|
11
10
|
export const toRecurringFrequencyStrict = (v) => stringToUnionStrict(v ?? '', ALL_RECURRING_FREQUENCY);
|
|
12
|
-
export const SEMI_WEEKLY_REQUIRED_DAYS_COUNT = 2;
|
|
13
11
|
const ALL_RECURRING_DATE_PICKER_OPTIONS = ['date', 'recurringCount'];
|
|
14
12
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
15
13
|
const toRecurringDatePickerOptions = (v) => stringToUnion(v, ALL_RECURRING_DATE_PICKER_OPTIONS);
|
|
@@ -17,8 +15,6 @@ export const getRecurringFrequencyInDays = (frequency) => {
|
|
|
17
15
|
switch (frequency) {
|
|
18
16
|
case 'daily':
|
|
19
17
|
return 1;
|
|
20
|
-
case 'semi_weekly':
|
|
21
|
-
return 3;
|
|
22
18
|
case 'weekly':
|
|
23
19
|
return 7;
|
|
24
20
|
case 'biweekly':
|
|
@@ -39,17 +35,6 @@ export const getRecurringEndDateFromCount = (startDate, frequency, recurringCoun
|
|
|
39
35
|
case 'biweekly':
|
|
40
36
|
endDate = startDate.add(getRecurringFrequencyInDays(frequency) * (recurringCount - 1), 'day');
|
|
41
37
|
break;
|
|
42
|
-
case 'semi_weekly': {
|
|
43
|
-
// Two semi-weekly occurrences span exactly 7 days regardless of which
|
|
44
|
-
// two weekdays are picked (since gap1 + gap2 = 7). So odd counts are
|
|
45
|
-
// exact; even counts use the conservative half-week step (4 days).
|
|
46
|
-
const stepsRemaining = recurringCount - 1;
|
|
47
|
-
const fullWeekPairs = Math.floor(stepsRemaining / 2);
|
|
48
|
-
const hasOddTailStep = stepsRemaining % 2 === 1;
|
|
49
|
-
const days = fullWeekPairs * 7 + (hasOddTailStep ? 4 : 0);
|
|
50
|
-
endDate = startDate.add(days, 'day');
|
|
51
|
-
break;
|
|
52
|
-
}
|
|
53
38
|
case 'monthly':
|
|
54
39
|
endDate = startDate.add(recurringCount - 1, 'month');
|
|
55
40
|
break;
|
|
@@ -66,8 +51,6 @@ export const getMinAllowedEndDate = (frequency, startDate) => {
|
|
|
66
51
|
switch (frequency) {
|
|
67
52
|
case 'daily':
|
|
68
53
|
return startDate.add(1, 'day');
|
|
69
|
-
case 'semi_weekly':
|
|
70
|
-
return startDate.add(3, 'day');
|
|
71
54
|
case 'weekly':
|
|
72
55
|
return startDate.add(7, 'day');
|
|
73
56
|
case 'biweekly':
|
|
@@ -12,14 +12,12 @@ export const initializeTaskToLocalStoreEpic = (actions$, state$) => actions$.pip
|
|
|
12
12
|
description: task.description,
|
|
13
13
|
status: task.status.code,
|
|
14
14
|
assignee: task.assignees,
|
|
15
|
-
groupAssignees: task.groupAssignees,
|
|
16
15
|
dueDate: task.dueDate,
|
|
17
16
|
priority: task.priority.code,
|
|
18
17
|
tagIds: task.tagIds,
|
|
19
18
|
fileIds: task.fileIds,
|
|
20
19
|
type: task.type,
|
|
21
20
|
recurringFrequency: task.recurringFrequency,
|
|
22
|
-
recurringDaysOfWeek: task.recurringDaysOfWeek,
|
|
23
21
|
recurringEndDateLocalData: {
|
|
24
22
|
recurringDatePickerOptionsType: 'date', // by default, date would be selected
|
|
25
23
|
recurringEndDate: task.recurringEndDate,
|
|
@@ -91,14 +91,9 @@ const prepareTaskPayload = (state, taskId, taskGroupId) => {
|
|
|
91
91
|
recurring_start_date: localData.type.code === 'recurring'
|
|
92
92
|
? (localData.recurringStartDate?.format(DEFAULT_DATE_FORMAT) ?? null)
|
|
93
93
|
: null,
|
|
94
|
-
recurring_days_of_week: localData.type.code === 'recurring' &&
|
|
95
|
-
localData.recurringFrequency === 'semi_weekly'
|
|
96
|
-
? (localData.recurringDaysOfWeek ?? [])
|
|
97
|
-
: [],
|
|
98
94
|
sync_token: syncToken,
|
|
99
95
|
task_group_ids: taskGroupId != null ? [taskGroupId] : [],
|
|
100
96
|
time_spent: convertHHMMStrToMinutes(localData.timeSpent),
|
|
101
|
-
group_assignees: localData.groupAssignees,
|
|
102
97
|
...(taskId == null ? { is_private: localData.isPrivate ?? false } : {}),
|
|
103
98
|
};
|
|
104
99
|
};
|
|
@@ -26,7 +26,6 @@ export const getTaskDetail = (state, taskId) => {
|
|
|
26
26
|
let isDeleted = undefined;
|
|
27
27
|
let recurringSourceTaskId = undefined;
|
|
28
28
|
let snoozedUntil = undefined;
|
|
29
|
-
let taskGroupId = undefined;
|
|
30
29
|
if (taskId != null && sourceTaskDetail != null) {
|
|
31
30
|
const taskEntity = getTaskById(taskState, taskId);
|
|
32
31
|
const fileIdsInEntity = taskEntity?.fileIds ?? [];
|
|
@@ -36,7 +35,6 @@ export const getTaskDetail = (state, taskId) => {
|
|
|
36
35
|
isDeleted = taskEntity.isDeleted;
|
|
37
36
|
recurringSourceTaskId = taskEntity.recurringSourceTaskId;
|
|
38
37
|
snoozedUntil = taskEntity.snoozedUntil;
|
|
39
|
-
taskGroupId = taskEntity.taskGroupIds[0];
|
|
40
38
|
}
|
|
41
39
|
if (fileIdsInEntity.length > 0) {
|
|
42
40
|
fetchStatus = reduceFetchState([
|
|
@@ -89,7 +87,6 @@ export const getTaskDetail = (state, taskId) => {
|
|
|
89
87
|
recurringSourceTaskId,
|
|
90
88
|
showTaskDetailFormFooter,
|
|
91
89
|
snoozedUntil,
|
|
92
|
-
taskGroupId,
|
|
93
90
|
};
|
|
94
91
|
};
|
|
95
92
|
export const allTaskStatus = [
|
|
@@ -143,13 +140,11 @@ const showFormFooter = (taskDetailLocalData, taskDetailInStore) => {
|
|
|
143
140
|
taskDetailLocalData.status !== taskDetailInStore.status.code ||
|
|
144
141
|
!isEqual(taskDetailInStore.tagIds, taskDetailLocalData.tagIds) ||
|
|
145
142
|
!isEqual(taskDetailLocalData.assignee, taskDetailInStore?.assignees ?? []) ||
|
|
146
|
-
!isEqual(taskDetailLocalData.groupAssignees, taskDetailInStore?.groupAssignees ?? []) ||
|
|
147
143
|
!isEqual(taskDetailLocalData.fileIds, taskDetailInStore.fileIds ?? []) ||
|
|
148
144
|
!isEqual(taskDetailLocalData.dueDate, taskDetailInStore.dueDate) ||
|
|
149
145
|
!isEqual(taskDetailLocalData.type, taskDetailInStore.type) ||
|
|
150
146
|
!isEqual(taskDetailLocalData.savedRecurringEndDate, taskDetailInStore.recurringEndDate) ||
|
|
151
147
|
!isEqual(taskDetailLocalData.recurringFrequency, taskDetailInStore.recurringFrequency) ||
|
|
152
|
-
!isEqual(taskDetailLocalData.recurringDaysOfWeek, taskDetailInStore.recurringDaysOfWeek) ||
|
|
153
148
|
!isEqual(taskDetailLocalData.recurringStartDate, taskDetailInStore.recurringStartDate) ||
|
|
154
149
|
!isEqual(taskDetailLocalData.timeSpent, taskDetailInStore.timeSpent)) {
|
|
155
150
|
return true;
|
package/lib/index.d.ts
CHANGED
|
@@ -119,11 +119,11 @@ import { SubscriptionPlan, SchemaKeys as SubscriptionPlanSchemaKeys } from './en
|
|
|
119
119
|
import { SubscriptionSummary, SchemaKeys as SubscriptionSummarySchemaKeys } from './entity/subscription/subscriptionSummary/subscriptionSummaryState';
|
|
120
120
|
import { SubscriptionPaymentAccount } from './entity/subscriptionPaymentAccount/subscriptionPaymentAccountState';
|
|
121
121
|
import { Tag, TagState } from './entity/tag/tagState';
|
|
122
|
-
import {
|
|
122
|
+
import { PriorityCodeType, Task, TaskCodeType, TaskPriority, TaskStatus, TaskStatusCodeType, TaskType, toPriorityCodeType, toTaskStatusCodeType } from './entity/task/taskState';
|
|
123
123
|
import { getTaskGroupById } from './entity/taskGroup/taskGroupSelector';
|
|
124
124
|
import { TaskGroupState } from './entity/taskGroup/taskGroupState';
|
|
125
125
|
import { TaskGroupTemplate } from './entity/taskGroupTemplate/taskGroupTemplateState';
|
|
126
|
-
import { DoSignInPayload, clearAll, doMagicLinkSignIn, doSignIn, doSignOut, sendSessionHeartbeat, fetchActiveTenant, fetchAllTenants, fetchExcludedResources as fetchExcludedResourcesForTenant, fetchExternalConnections as fetchExternalConnectionsForTenant, fetchSubscriptionSummaryForTenant, resendVerifyDeviceOTP, resetSignInState,
|
|
126
|
+
import { DoSignInPayload, clearAll, doMagicLinkSignIn, doSignIn, doSignOut, sendSessionHeartbeat, fetchActiveTenant, fetchAllTenants, fetchExcludedResources as fetchExcludedResourcesForTenant, fetchExternalConnections as fetchExternalConnectionsForTenant, fetchSubscriptionSummaryForTenant, resendVerifyDeviceOTP, resetSignInState, saveExternalConnection as saveExternalConnectionForTenant, sendEmailMagicLinkToUser, updateCurrentTenant, updateSignInState, verifyDeviceWithTwoFA } from './entity/tenant/tenantReducer';
|
|
127
127
|
import { CurrentTenant, TenantBaseView, TenantCoreDetailsView, TenantView, TenantsBaseOrdered, TenantsOrdered, getCurrentTenant, getIsAccountingClassesEnabled, getIsAccountingProjectsEnabled, getTenantBaseById, getTenantBaseViewForTenantId, getTenantBaseViewForTenantView, getTenantsBaseByCheckInDateSelector, getTenantsByCheckInDateSelector, getTenantsCoreDetailsByCheckInDateSelector, isOtherProductsEnabledForTenant, isTenantBankingOnly, isTenantBookkeepingEnabled, isTenantCardsOnly, isTenantUsingZeniCOA, isZeniDomainTenant, toTenantCoreDetailsView } from './entity/tenant/tenantSelector';
|
|
128
128
|
import { Connection, LoggedInUser, RoleResource, Tenant, TenantProductSettings } from './entity/tenant/tenantState';
|
|
129
129
|
import { ToastNotificationPayload } from './entity/toastNotification/toastNotificationPayload';
|
|
@@ -213,7 +213,7 @@ import { getCashPosition, getCashPositionForHighlightedRange, getCashPositionFor
|
|
|
213
213
|
import { CashPositionReport, CashPositionUIStateSelectorView } from './view/cashPosition/cashPositionSelectorTypes';
|
|
214
214
|
import { fetchClassList } from './view/classList/classListReducer';
|
|
215
215
|
import { ClassListSelectorView, getClassList } from './view/classList/classListSelector';
|
|
216
|
-
import { RecurringDatePickerOptions, RecurringFrequencyType,
|
|
216
|
+
import { RecurringDatePickerOptions, RecurringFrequencyType, getMinAllowedEndDate, getRecurringEndDateFromCount, toRecurringFrequency } from './view/common/recurringViewHelper';
|
|
217
217
|
import { ZENI_CLEARING_ACCOUNT, isZeniClearingAccount, isZeniClearingAccountReport } from './view/common/zeniClearingAccountHelper';
|
|
218
218
|
import { clearTransactionVendorSaveStatus, resetTransactionVendorLocalData, saveTransactionVendor, saveTransactionVendorSuccessOrFailure, updateTransactionVendorLocalData } from './view/commonVendorView/transactionVendorView/transactionVendorViewReducer';
|
|
219
219
|
import { TransactionVendorDetails, TransactionVendorSelectorView, getTransactionVendorView } from './view/commonVendorView/transactionVendorView/transactionVendorViewSelector';
|
|
@@ -322,9 +322,6 @@ import { AverageMonthsCount, NetBurnOrIncomeRunway, NetBurnOrIncomeStoryCardStat
|
|
|
322
322
|
import { fetchNotificationUnreadCount, fetchNotificationUnreadCountSuccess, fetchNotificationView, updateNotificationViewAllNotificationsStatus, updateNotificationViewCurrentTabAndSubTab, updateNotificationViewNotificationStatus, updateNotificationViewSubTab, updateNotificationViewTabState, updateNotificationViewUIState } from './view/notificationView/notificationViewReducer';
|
|
323
323
|
import { NotificationView, getExternalNotificationsForSelectedSubTab, getNotificationView, getNotificationsForSelectedSubTab } from './view/notificationView/notificationViewSelector';
|
|
324
324
|
import { NotificationSubTabType, NotificationTabState, NotificationTabType, NotificationViewUIState, toNotificationSubTabTypeStrict, toNotificationTabTypeStrict } from './view/notificationView/notificationViewState';
|
|
325
|
-
import { clearFeatureNotificationView, fetchRegisteredInterests, notifyMeForFeature } from './view/featureNotificationView/featureNotificationViewReducer';
|
|
326
|
-
import { getFeatureNotificationView, getRegisteredInterests, getRegisteredInterestsByFeature, isFeatureInterestRegistered } from './view/featureNotificationView/featureNotificationViewSelector';
|
|
327
|
-
import { FeatureInterest, FeatureNotificationViewState } from './view/featureNotificationView/featureNotificationViewState';
|
|
328
325
|
import { clearOnboardingCustomerViewUpdateData, fetchCompanyOnboardingView, fetchOnboardingCompletedCompanies, fetchQBOConnectionPool, getOnboardingEmailGroup, initializeOnboardingCustomerViewUpdateData, resetNewOnboardedCustomerId, retryBankAccountConnectionForOnboarding, saveOnboardingCustomerCompletedStatus, saveOnboardingCustomerDataInLocalStore, saveOnboardingCustomerNotes, saveOnboardingCustomerViewUpdateData, saveOnboardingCustomerViewUpdates, sendOnboardingCustomerViewInvite, updateCustomerCreationStatus, updateOnboardingCustomerDataInLocalStore, updateOnboardingCustomerListUIState, updateQBOConnectionPoolExternalConnection, updateStatusAfterOnboardingCompleted } from './view/onboardingView/cockpitView/onboardingCockpitViewReducer';
|
|
329
326
|
import { NewOnboardingCustomerLocalData, NewOnboardingCustomerView, OnboardingCockpitView, ProductInfo, getNewOnboardingCustomerView, getOnboardingCockpitView } from './view/onboardingView/cockpitView/onboardingCockpitViewSelector';
|
|
330
327
|
import { OnboardingCustomerListUIState, QBOConnectionPool } from './view/onboardingView/cockpitView/onboardingCockpitViewState';
|
|
@@ -653,7 +650,7 @@ export { TimeframeTick, TimeframeTickWithMetaData, toTimeframeTick, mapTimePerio
|
|
|
653
650
|
export { VendorSpendTrendFilterTabType, toVendorSpendTrendFilterTabsTypeStrict, } from './entity/vendorExpense/vendorExpenseSelector';
|
|
654
651
|
export { getNumberOfPeriods };
|
|
655
652
|
export { SCHEDULE_DAYS_OF_MONTH, ScheduleDaysOfMonth, toScheduleDaysOfMonth, Day, Month, toMonth, toMonthStrict, Quarter, toQuarter, toQuarterStrict, AbsoluteDay, TimePeriod, };
|
|
656
|
-
export { Tenant, TenantView, LoggedInUser, TenantBaseView, CurrentTenant, TenantProductSettings, getTenantBaseById, getCurrentTenant, getIsAccountingClassesEnabled, getIsAccountingProjectsEnabled, getTenantsByCheckInDateSelector, getTenantsBaseByCheckInDateSelector, getTenantsCoreDetailsByCheckInDateSelector, toTenantCoreDetailsView, getTenantBaseViewForTenantView, getTenantBaseViewForTenantId, isZeniDomainTenant, isTenantUsingZeniCOA, TenantsBaseOrdered, TenantsOrdered, TenantCoreDetailsView, fetchActiveTenant, fetchAllTenants, updateCurrentTenant, clearAll, doMagicLinkSignIn, verifyDeviceWithTwoFA, resendVerifyDeviceOTP, sendEmailMagicLinkToUser, doSignIn, updateSignInState, DoSignInPayload, doSignOut, sendSessionHeartbeat, resetSignInState, RoleResource, Connection, fetchExcludedResourcesForTenant, fetchExternalConnectionsForTenant, saveExternalConnectionForTenant,
|
|
653
|
+
export { Tenant, TenantView, LoggedInUser, TenantBaseView, CurrentTenant, TenantProductSettings, getTenantBaseById, getCurrentTenant, getIsAccountingClassesEnabled, getIsAccountingProjectsEnabled, getTenantsByCheckInDateSelector, getTenantsBaseByCheckInDateSelector, getTenantsCoreDetailsByCheckInDateSelector, toTenantCoreDetailsView, getTenantBaseViewForTenantView, getTenantBaseViewForTenantId, isZeniDomainTenant, isTenantUsingZeniCOA, TenantsBaseOrdered, TenantsOrdered, TenantCoreDetailsView, fetchActiveTenant, fetchAllTenants, updateCurrentTenant, clearAll, doMagicLinkSignIn, verifyDeviceWithTwoFA, resendVerifyDeviceOTP, sendEmailMagicLinkToUser, doSignIn, updateSignInState, DoSignInPayload, doSignOut, sendSessionHeartbeat, resetSignInState, RoleResource, Connection, fetchExcludedResourcesForTenant, fetchExternalConnectionsForTenant, saveExternalConnectionForTenant, fetchSubscriptionSummaryForTenant, isTenantBankingOnly, isTenantCardsOnly, isTenantBookkeepingEnabled, isOtherProductsEnabledForTenant, };
|
|
657
654
|
export { Account, AccountType, AccountBase, StatementCloseDay, toAccountType, AccountReport, NestedAccountReport, AccountWithBalanceReport, AccountGroup, AccountGroupReportV2, AccountGroupType, toAccountGroupType, AccountGroupReport, getAccountGroupKey, AccountGroupKey, RecommendedAccountBase, };
|
|
658
655
|
export { Class, ClassBase, RecommendedClassBase, } from './entity/class/classState';
|
|
659
656
|
export { getClassById } from './entity/class/classSelector';
|
|
@@ -866,10 +863,9 @@ export { ZeniAccountsPromoCardState, getZeniAccountsPromoCard, ZeniAccountsPromo
|
|
|
866
863
|
export { ApproveOAuthConsentPayload, OAuthParams, ParseOAuthParamsResult, ZeniOAuthViewState, approveOAuthConsent, approveOAuthConsentFailure, approveOAuthConsentSuccess, clearZeniOAuthView, getZeniOAuthApproveError, getZeniOAuthApproveFetchState, getZeniOAuthApproveRedirectUrl, parseOAuthParams, };
|
|
867
864
|
export { ExternalNotificationData, NotificationGroup, NotificationActivityType, NotificationIdentifierType, NotificationUpdateValue, NotificationMode, NotificationStatus, Notification, NotificationWithAuthors, NotificationMetaData, NotificationEventData, NotificationActivity, NotificationUpdates, NotificationValueFormat, toNotificationModeStrict, updateCommentsNotifications, updateCommentsNotificationsStatuses, };
|
|
868
865
|
export { NotificationView, NotificationViewUIState, NotificationTabState, NotificationTabType, NotificationSubTabType, toNotificationSubTabTypeStrict, toNotificationTabTypeStrict, fetchNotificationView, fetchNotificationUnreadCount, fetchNotificationUnreadCountSuccess, updateNotificationViewAllNotificationsStatus, updateNotificationViewNotificationStatus, updateNotificationViewTabState, updateNotificationViewCurrentTabAndSubTab, updateNotificationViewSubTab, updateNotificationViewUIState, getNotificationView, getExternalNotificationsForSelectedSubTab, getNotificationsForSelectedSubTab, };
|
|
869
|
-
export { clearFeatureNotificationView, fetchRegisteredInterests, notifyMeForFeature, getFeatureNotificationView, getRegisteredInterests, getRegisteredInterestsByFeature, isFeatureInterestRegistered, FeatureInterest, FeatureNotificationViewState, };
|
|
870
866
|
export { pushToastNotification, ToastNotification, ToastNotificationPayload, getLastNotificationTime, getNotifications, };
|
|
871
867
|
export { getReferralListView, getInviteFormView, ReferralListSelectorView, ReferralViewState, InviteCompanyLocalData, ReferralInvitation, ReferralListViewSortKey, ReferralViewUIState, toReferralListViewSortKeyType, ReferralStatus, ReferralAmountStatus, StatusTypes, AmountStatusTypes, fetchReferrals, sendReferralInvite, clearReferrals, saveReferralFormDataInLocalStore, updateReferralListSortUiState, resendReferralInvite, fetchRewardsPlan, RewardsPlanCardReport, getRewardsPlanCard, updateReferViewed, RewardsPlanData, };
|
|
872
|
-
export {
|
|
868
|
+
export { RecurringFrequencyType, getRecurringEndDateFromCount, toRecurringFrequency, getMinAllowedEndDate, RecurringDatePickerOptions, };
|
|
873
869
|
export { fetchCompanyTaskManagerView, fetchTaskManagerMetrics, CompanyTaskManagerSelectorView, CompanyTaskManagerViewUIState, TaskManagerMetrics, getCompanyTaskManagerView, TaskWithCompanyDetail, createTaskFromTaskGroupTemplate, TaskGroupTemplate, };
|
|
874
870
|
export { Country };
|
|
875
871
|
export { InternationalWireVerificationState, VerificationFormField, VerificationFormLocalData, FieldValueType, fetchInternationalVerificationForm, submitInternationalVerificationForm, updateVerificationFormLocalData, getIntlWireVerificationView, InternationalWireVerificationView, };
|