@zeniai/client-epic-state 5.0.39 → 5.0.41
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/chargeCardRepayment/chargeCardRepayment.d.ts +1 -1
- package/lib/entity/creditAgent/creditAgentPayload.d.ts +41 -0
- package/lib/entity/creditAgent/creditAgentPayload.js +40 -0
- package/lib/entity/creditAgent/creditAgentReducer.d.ts +9 -0
- package/lib/entity/creditAgent/creditAgentReducer.js +37 -0
- package/lib/entity/creditAgent/creditAgentSelector.d.ts +3 -0
- package/lib/entity/creditAgent/creditAgentSelector.js +10 -0
- package/lib/entity/creditAgent/creditAgentState.d.ts +39 -0
- package/lib/entity/creditAgent/creditAgentState.js +17 -0
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +3 -0
- package/lib/entity/task/taskPayload.d.ts +1 -0
- package/lib/entity/task/taskPayload.js +5 -0
- package/lib/entity/task/taskState.d.ts +5 -0
- package/lib/entity/task/taskState.js +6 -1
- package/lib/entity/tenant/clearAllEpic.d.ts +5 -3
- package/lib/entity/tenant/clearAllEpic.js +6 -2
- package/lib/epic.d.ts +7 -1
- package/lib/epic.js +7 -1
- package/lib/esm/entity/creditAgent/creditAgentPayload.js +36 -0
- package/lib/esm/entity/creditAgent/creditAgentReducer.js +33 -0
- package/lib/esm/entity/creditAgent/creditAgentSelector.js +6 -0
- package/lib/esm/entity/creditAgent/creditAgentState.js +13 -0
- package/lib/esm/entity/snackbar/snackbarTypes.js +3 -0
- package/lib/esm/entity/task/taskPayload.js +6 -1
- package/lib/esm/entity/task/taskState.js +3 -0
- package/lib/esm/entity/tenant/clearAllEpic.js +6 -2
- package/lib/esm/epic.js +7 -1
- package/lib/esm/index.js +15 -9
- package/lib/esm/reducer.js +9 -3
- package/lib/esm/view/common/recurringViewHelper.js +17 -0
- package/lib/esm/view/creditAgentView/buildCreditReportCsv.js +44 -0
- package/lib/esm/view/creditAgentView/creditAgentViewPayload.js +2 -0
- package/lib/esm/view/creditAgentView/creditAgentViewReducer.js +183 -0
- package/lib/esm/view/creditAgentView/creditAgentViewSelector.js +85 -0
- package/lib/esm/view/creditAgentView/creditAgentViewState.js +20 -0
- package/lib/esm/view/creditAgentView/epics/fetchCardProfilesEpic.js +20 -0
- package/lib/esm/view/creditAgentView/epics/fetchCreditAgentAccessEpic.js +13 -0
- package/lib/esm/view/creditAgentView/epics/fetchCreditAgentMacroEpic.js +19 -0
- package/lib/esm/view/creditAgentView/epics/saveCreditAgentMacroEpic.js +58 -0
- package/lib/esm/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.js +39 -0
- package/lib/esm/view/creditAgentView/epics/updateCardProfileEpic.js +62 -0
- package/lib/esm/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +2 -0
- package/lib/esm/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +5 -0
- package/lib/esm/view/taskManager/taskDetailView/taskDetail.js +1 -0
- package/lib/esm/view/taskManager/taskDetailView/taskDetailSelector.js +5 -0
- package/lib/index.d.ts +21 -13
- package/lib/index.js +77 -46
- package/lib/reducer.d.ts +9 -3
- package/lib/reducer.js +9 -3
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/lib/view/common/recurringViewHelper.d.ts +3 -2
- package/lib/view/common/recurringViewHelper.js +18 -1
- package/lib/view/creditAgentView/buildCreditReportCsv.d.ts +17 -0
- package/lib/view/creditAgentView/buildCreditReportCsv.js +47 -0
- package/lib/view/creditAgentView/creditAgentViewPayload.d.ts +9 -0
- package/lib/view/creditAgentView/creditAgentViewPayload.js +7 -0
- package/lib/view/creditAgentView/creditAgentViewReducer.d.ts +41 -0
- package/lib/view/creditAgentView/creditAgentViewReducer.js +187 -0
- package/lib/view/creditAgentView/creditAgentViewSelector.d.ts +20 -0
- package/lib/view/creditAgentView/creditAgentViewSelector.js +93 -0
- package/lib/view/creditAgentView/creditAgentViewState.d.ts +34 -0
- package/lib/view/creditAgentView/creditAgentViewState.js +22 -0
- package/lib/view/creditAgentView/epics/fetchCardProfilesEpic.d.ts +15 -0
- package/lib/view/creditAgentView/epics/fetchCardProfilesEpic.js +24 -0
- package/lib/view/creditAgentView/epics/fetchCreditAgentAccessEpic.d.ts +11 -0
- package/lib/view/creditAgentView/epics/fetchCreditAgentAccessEpic.js +17 -0
- package/lib/view/creditAgentView/epics/fetchCreditAgentMacroEpic.d.ts +15 -0
- package/lib/view/creditAgentView/epics/fetchCreditAgentMacroEpic.js +23 -0
- package/lib/view/creditAgentView/epics/saveCreditAgentMacroEpic.d.ts +29 -0
- package/lib/view/creditAgentView/epics/saveCreditAgentMacroEpic.js +62 -0
- package/lib/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.d.ts +30 -0
- package/lib/view/creditAgentView/epics/scheduleTenantCreditScoreCronEpic.js +43 -0
- package/lib/view/creditAgentView/epics/updateCardProfileEpic.d.ts +37 -0
- package/lib/view/creditAgentView/epics/updateCardProfileEpic.js +66 -0
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
- package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +2 -0
- package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +5 -0
- package/lib/view/taskManager/taskDetailView/taskDetail.d.ts +3 -1
- package/lib/view/taskManager/taskDetailView/taskDetail.js +1 -0
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.d.ts +1 -0
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { from } from 'rxjs';
|
|
2
|
+
import { catchError, filter, mergeMap } from 'rxjs/operators';
|
|
3
|
+
import { updateCreditAgentRow } from '../../../entity/creditAgent/creditAgentReducer';
|
|
4
|
+
import { openSnackbar } from '../../../entity/snackbar/snackbarReducer';
|
|
5
|
+
import { createZeniAPIStatus, isSuccessResponse } from '../../../responsePayload';
|
|
6
|
+
import { updateCardProfile, updateCardProfileFailure, updateCardProfileSuccess, } from '../creditAgentViewReducer';
|
|
7
|
+
export const updateCardProfileEpic = (actions$, _state$, zeniAPI) => actions$.pipe(filter(updateCardProfile.match), mergeMap((action) => {
|
|
8
|
+
const { tenantId, tenantEmailDomain, update } = action.payload;
|
|
9
|
+
const url = `${zeniAPI.apiEndPoints.cardMicroServiceBaseUrl}/1.0/cockpit/card-tenant-profiles`;
|
|
10
|
+
const body = {
|
|
11
|
+
tenant_namespace: tenantEmailDomain,
|
|
12
|
+
};
|
|
13
|
+
if (update.cardStatus != null) {
|
|
14
|
+
body.card_status = update.cardStatus;
|
|
15
|
+
}
|
|
16
|
+
if (update.creditLimit != null) {
|
|
17
|
+
body.credit_limit = update.creditLimit;
|
|
18
|
+
}
|
|
19
|
+
if (update.updatedByName != null) {
|
|
20
|
+
body.updated_by_name = update.updatedByName;
|
|
21
|
+
}
|
|
22
|
+
if (update.reason != null && update.reason.trim() !== '') {
|
|
23
|
+
body.reason = update.reason.trim();
|
|
24
|
+
}
|
|
25
|
+
return zeniAPI
|
|
26
|
+
.putAndGetJSON(url, body)
|
|
27
|
+
.pipe(mergeMap((response) => {
|
|
28
|
+
if (isSuccessResponse(response) &&
|
|
29
|
+
response.data != null &&
|
|
30
|
+
response.data.profile != null) {
|
|
31
|
+
return from([
|
|
32
|
+
updateCreditAgentRow({
|
|
33
|
+
payload: response.data.profile,
|
|
34
|
+
tenantId,
|
|
35
|
+
}),
|
|
36
|
+
updateCardProfileSuccess(tenantId),
|
|
37
|
+
openSnackbar({
|
|
38
|
+
messageSection: 'credit_agent_update_profile',
|
|
39
|
+
messageText: 'success',
|
|
40
|
+
type: 'success',
|
|
41
|
+
}),
|
|
42
|
+
]);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
return from([
|
|
46
|
+
updateCardProfileFailure(tenantId, response.status),
|
|
47
|
+
openSnackbar({
|
|
48
|
+
messageSection: 'credit_agent_update_profile',
|
|
49
|
+
messageText: 'failed',
|
|
50
|
+
type: 'error',
|
|
51
|
+
}),
|
|
52
|
+
]);
|
|
53
|
+
}
|
|
54
|
+
}), catchError((error) => from([
|
|
55
|
+
updateCardProfileFailure(tenantId, createZeniAPIStatus('Unexpected error', 'REST API call errored out: ' + JSON.stringify(error))),
|
|
56
|
+
openSnackbar({
|
|
57
|
+
messageSection: 'credit_agent_update_profile',
|
|
58
|
+
messageText: 'failed',
|
|
59
|
+
type: 'error',
|
|
60
|
+
}),
|
|
61
|
+
])));
|
|
62
|
+
}));
|
|
@@ -12,12 +12,14 @@ 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,
|
|
15
16
|
dueDate: task.dueDate,
|
|
16
17
|
priority: task.priority.code,
|
|
17
18
|
tagIds: task.tagIds,
|
|
18
19
|
fileIds: task.fileIds,
|
|
19
20
|
type: task.type,
|
|
20
21
|
recurringFrequency: task.recurringFrequency,
|
|
22
|
+
recurringDaysOfWeek: task.recurringDaysOfWeek,
|
|
21
23
|
recurringEndDateLocalData: {
|
|
22
24
|
recurringDatePickerOptionsType: 'date', // by default, date would be selected
|
|
23
25
|
recurringEndDate: task.recurringEndDate,
|
|
@@ -91,9 +91,14 @@ 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
|
+
: [],
|
|
94
98
|
sync_token: syncToken,
|
|
95
99
|
task_group_ids: taskGroupId != null ? [taskGroupId] : [],
|
|
96
100
|
time_spent: convertHHMMStrToMinutes(localData.timeSpent),
|
|
101
|
+
group_assignees: localData.groupAssignees,
|
|
97
102
|
...(taskId == null ? { is_private: localData.isPrivate ?? false } : {}),
|
|
98
103
|
};
|
|
99
104
|
};
|
|
@@ -26,6 +26,7 @@ export const getTaskDetail = (state, taskId) => {
|
|
|
26
26
|
let isDeleted = undefined;
|
|
27
27
|
let recurringSourceTaskId = undefined;
|
|
28
28
|
let snoozedUntil = undefined;
|
|
29
|
+
let taskGroupId = undefined;
|
|
29
30
|
if (taskId != null && sourceTaskDetail != null) {
|
|
30
31
|
const taskEntity = getTaskById(taskState, taskId);
|
|
31
32
|
const fileIdsInEntity = taskEntity?.fileIds ?? [];
|
|
@@ -35,6 +36,7 @@ export const getTaskDetail = (state, taskId) => {
|
|
|
35
36
|
isDeleted = taskEntity.isDeleted;
|
|
36
37
|
recurringSourceTaskId = taskEntity.recurringSourceTaskId;
|
|
37
38
|
snoozedUntil = taskEntity.snoozedUntil;
|
|
39
|
+
taskGroupId = taskEntity.taskGroupIds[0];
|
|
38
40
|
}
|
|
39
41
|
if (fileIdsInEntity.length > 0) {
|
|
40
42
|
fetchStatus = reduceFetchState([
|
|
@@ -87,6 +89,7 @@ export const getTaskDetail = (state, taskId) => {
|
|
|
87
89
|
recurringSourceTaskId,
|
|
88
90
|
showTaskDetailFormFooter,
|
|
89
91
|
snoozedUntil,
|
|
92
|
+
taskGroupId,
|
|
90
93
|
};
|
|
91
94
|
};
|
|
92
95
|
export const allTaskStatus = [
|
|
@@ -140,11 +143,13 @@ const showFormFooter = (taskDetailLocalData, taskDetailInStore) => {
|
|
|
140
143
|
taskDetailLocalData.status !== taskDetailInStore.status.code ||
|
|
141
144
|
!isEqual(taskDetailInStore.tagIds, taskDetailLocalData.tagIds) ||
|
|
142
145
|
!isEqual(taskDetailLocalData.assignee, taskDetailInStore?.assignees ?? []) ||
|
|
146
|
+
!isEqual(taskDetailLocalData.groupAssignees, taskDetailInStore?.groupAssignees ?? []) ||
|
|
143
147
|
!isEqual(taskDetailLocalData.fileIds, taskDetailInStore.fileIds ?? []) ||
|
|
144
148
|
!isEqual(taskDetailLocalData.dueDate, taskDetailInStore.dueDate) ||
|
|
145
149
|
!isEqual(taskDetailLocalData.type, taskDetailInStore.type) ||
|
|
146
150
|
!isEqual(taskDetailLocalData.savedRecurringEndDate, taskDetailInStore.recurringEndDate) ||
|
|
147
151
|
!isEqual(taskDetailLocalData.recurringFrequency, taskDetailInStore.recurringFrequency) ||
|
|
152
|
+
!isEqual(taskDetailLocalData.recurringDaysOfWeek, taskDetailInStore.recurringDaysOfWeek) ||
|
|
148
153
|
!isEqual(taskDetailLocalData.recurringStartDate, taskDetailInStore.recurringStartDate) ||
|
|
149
154
|
!isEqual(taskDetailLocalData.timeSpent, taskDetailInStore.timeSpent)) {
|
|
150
155
|
return true;
|
package/lib/index.d.ts
CHANGED
|
@@ -103,10 +103,12 @@ import { ExternalNotificationData, NotificationActivityType, NotificationGroup,
|
|
|
103
103
|
import { Logo, PaymentAccount, VERIFIED_PAYMENT_ACCOUNT_PROVIDER_VERIFICATION_STATUS } from './entity/paymentAccount/paymentAccountState';
|
|
104
104
|
import { PaymentInstrument } from './entity/paymentInstrument/paymentInstrument';
|
|
105
105
|
import { AccountingSummary, Runway } from './entity/portfolio/accountingSummary/accountingSummaryState';
|
|
106
|
+
import { Project } from './entity/project/projectState';
|
|
106
107
|
import { MilageReimbursementLine, OutofPocketReimbursementLine, Reimbursement, ReimbursementLine, ReimbursementTypeCode } from './entity/reimbursement/reimbursementState';
|
|
107
108
|
import { SectionAccountsViewReport } from './entity/sectionAccountsView/sectionAccountsViewSelector';
|
|
108
109
|
import { SectionClassesView as SectionClassesViewV2 } from './entity/sectionClassesViewV2/sectionClassesView';
|
|
109
110
|
import { NestedClassReportV2, SectionClassesViewReportV2 } from './entity/sectionClassesViewV2/sectionClassesViewSelectorTypes';
|
|
111
|
+
import { ProjectReportWithBalances, SectionProjectViewReport } from './entity/sectionProjectView/sectionProjectViewSelectorTypes';
|
|
110
112
|
import { closeSnackbar, openSnackbar } from './entity/snackbar/snackbarReducer';
|
|
111
113
|
import { getSnackbar } from './entity/snackbar/snackbarSelector';
|
|
112
114
|
import { SnackbarMessageConfig } from './entity/snackbar/snackbarState';
|
|
@@ -119,11 +121,11 @@ import { SubscriptionPlan, SchemaKeys as SubscriptionPlanSchemaKeys } from './en
|
|
|
119
121
|
import { SubscriptionSummary, SchemaKeys as SubscriptionSummarySchemaKeys } from './entity/subscription/subscriptionSummary/subscriptionSummaryState';
|
|
120
122
|
import { SubscriptionPaymentAccount } from './entity/subscriptionPaymentAccount/subscriptionPaymentAccountState';
|
|
121
123
|
import { Tag, TagState } from './entity/tag/tagState';
|
|
122
|
-
import { PriorityCodeType, Task, TaskCodeType, TaskPriority, TaskStatus, TaskStatusCodeType, TaskType, toPriorityCodeType, toTaskStatusCodeType } from './entity/task/taskState';
|
|
124
|
+
import { ALL_WEEK_DAYS, DayOfWeek, PriorityCodeType, Task, TaskCodeType, TaskPriority, TaskStatus, TaskStatusCodeType, TaskType, toDayOfWeek, toPriorityCodeType, toTaskStatusCodeType } from './entity/task/taskState';
|
|
123
125
|
import { getTaskGroupById } from './entity/taskGroup/taskGroupSelector';
|
|
124
126
|
import { TaskGroupState } from './entity/taskGroup/taskGroupState';
|
|
125
127
|
import { TaskGroupTemplate } from './entity/taskGroupTemplate/taskGroupTemplateState';
|
|
126
|
-
import { DoSignInPayload, clearAll, doMagicLinkSignIn, doSignIn, doSignOut,
|
|
128
|
+
import { DoSignInPayload, clearAll, doMagicLinkSignIn, doSignIn, doSignOut, fetchActiveTenant, fetchAllTenants, fetchExcludedResources as fetchExcludedResourcesForTenant, fetchExternalConnections as fetchExternalConnectionsForTenant, fetchSubscriptionSummaryForTenant, resendVerifyDeviceOTP, resetSignInState, deleteConnection, saveAPIKeyConnection, saveExternalConnection as saveExternalConnectionForTenant, saveOAuthConnection, sendEmailMagicLinkToUser, sendSessionHeartbeat, toExternalIntegrationType, toExternalSupportedTool, updateCurrentTenant, updateSignInState, verifyDeviceWithTwoFA } from './entity/tenant/tenantReducer';
|
|
127
129
|
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
130
|
import { Connection, LoggedInUser, RoleResource, Tenant, TenantProductSettings } from './entity/tenant/tenantState';
|
|
129
131
|
import { ToastNotificationPayload } from './entity/toastNotification/toastNotificationPayload';
|
|
@@ -213,7 +215,7 @@ import { getCashPosition, getCashPositionForHighlightedRange, getCashPositionFor
|
|
|
213
215
|
import { CashPositionReport, CashPositionUIStateSelectorView } from './view/cashPosition/cashPositionSelectorTypes';
|
|
214
216
|
import { fetchClassList } from './view/classList/classListReducer';
|
|
215
217
|
import { ClassListSelectorView, getClassList } from './view/classList/classListSelector';
|
|
216
|
-
import { RecurringDatePickerOptions, RecurringFrequencyType, getMinAllowedEndDate, getRecurringEndDateFromCount, toRecurringFrequency } from './view/common/recurringViewHelper';
|
|
218
|
+
import { RecurringDatePickerOptions, RecurringFrequencyType, SEMI_WEEKLY_REQUIRED_DAYS_COUNT, getMinAllowedEndDate, getRecurringEndDateFromCount, toRecurringFrequency } from './view/common/recurringViewHelper';
|
|
217
219
|
import { ZENI_CLEARING_ACCOUNT, isZeniClearingAccount, isZeniClearingAccountReport } from './view/common/zeniClearingAccountHelper';
|
|
218
220
|
import { clearTransactionVendorSaveStatus, resetTransactionVendorLocalData, saveTransactionVendor, saveTransactionVendorSuccessOrFailure, updateTransactionVendorLocalData } from './view/commonVendorView/transactionVendorView/transactionVendorViewReducer';
|
|
219
221
|
import { TransactionVendorDetails, TransactionVendorSelectorView, getTransactionVendorView } from './view/commonVendorView/transactionVendorView/transactionVendorViewSelector';
|
|
@@ -358,12 +360,10 @@ import { fetchProfitAndLossClassesView, resetProfitAndLossClassesNodeCollapseSta
|
|
|
358
360
|
import { getProfitAndLossClassesView } from './view/profitAndLossClassesView/profitAndLossClassesViewSelector';
|
|
359
361
|
import { PandLReportViewCalculatedSectionID, PandLReportViewSectionID, ProfitAndLossClassesViewReport, isPandLReportViewCalculatedSectionID, isPandLReportViewSectionID } from './view/profitAndLossClassesView/profitAndLossClassesViewSelectorTypes';
|
|
360
362
|
import { ClassViewLayout, ProfitAndLossClassesViewUIState } from './view/profitAndLossClassesView/profitAndLossClassesViewState';
|
|
361
|
-
import { clearProfitAndLossProjectView, fetchProfitAndLossForTimeframeProjectView, fetchProfitAndLossProjectView, resetProfitAndLossProjectNodeCollapseState, updateProjectViewAccountViewMode, updateProjectsToFilterOut
|
|
362
|
-
import { ProfitAndLossProjectViewUIState } from './view/profitAndLossProjectView/profitAndLossProjectViewState';
|
|
363
|
-
import { Project } from './entity/project/projectState';
|
|
363
|
+
import { clearProfitAndLossProjectView, fetchProfitAndLossForTimeframeProjectView, fetchProfitAndLossProjectView, resetProfitAndLossProjectNodeCollapseState, updateProfitAndLossProjectViewUIState, updateProjectViewAccountViewMode, updateProjectsToFilterOut } from './view/profitAndLossProjectView/profitAndLossProjectViewReducer';
|
|
364
364
|
import { getProfitAndLossProjectView } from './view/profitAndLossProjectView/profitAndLossProjectViewSelector';
|
|
365
365
|
import { ProfitAndLossProjectViewReport } from './view/profitAndLossProjectView/profitAndLossProjectViewSelectorTypes';
|
|
366
|
-
import {
|
|
366
|
+
import { ProfitAndLossProjectViewUIState } from './view/profitAndLossProjectView/profitAndLossProjectViewState';
|
|
367
367
|
import { fetchEntityRecommendationsByTransactionId, fetchRecommendationByEntityId, fetchRecommendationByEntityName } from './view/recommendation/recommendationReducer';
|
|
368
368
|
import { clearReferrals, fetchReferrals, fetchRewardsPlan, resendReferralInvite, saveReferralFormDataInLocalStore, sendReferralInvite, updateReferViewed, updateReferralListSortUiState } from './view/referralView/referralReducer';
|
|
369
369
|
import { ReferralListSelectorView, RewardsPlanCardReport, getInviteFormView, getReferralListView, getRewardsPlanCard } from './view/referralView/referralSelector';
|
|
@@ -539,15 +539,15 @@ import { SubscriptionView } from './view/subscriptionView/types/subscriptionView
|
|
|
539
539
|
import { createTag, deleteTag, fetchTagList } from './view/tagView/tagViewReducer';
|
|
540
540
|
import { TagViewSelectorView, getAllTags } from './view/tagView/tagViewSelector';
|
|
541
541
|
import { TagViewState } from './view/tagView/tagViewState';
|
|
542
|
-
import { EditTaskLocalData, initialTaskDetail, initialTaskDetailLocalData } from './view/taskManager/taskDetailView/taskDetail';
|
|
543
|
-
import { archiveTask, deleteTask, discardTaskUpdatesInLocalStore, fetchTaskDetailPage, saveTaskDetail, saveTaskUpdatesToLocalStore, snoozeTask, unsnoozeTask } from './view/taskManager/taskDetailView/taskDetailReducer';
|
|
544
542
|
import { CannedResponse, CannedResponsesViewState } from './view/taskManager/cannedResponsesView/cannedResponses';
|
|
545
543
|
import { deleteCannedResponse, fetchCannedResponses, saveCannedResponse } from './view/taskManager/cannedResponsesView/cannedResponsesReducer';
|
|
546
544
|
import { getCannedResponsesView } from './view/taskManager/cannedResponsesView/cannedResponsesSelector';
|
|
545
|
+
import { EditTaskLocalData, initialTaskDetail, initialTaskDetailLocalData } from './view/taskManager/taskDetailView/taskDetail';
|
|
546
|
+
import { archiveTask, deleteTask, discardTaskUpdatesInLocalStore, fetchTaskDetailPage, saveTaskDetail, saveTaskUpdatesToLocalStore, snoozeTask, unsnoozeTask } from './view/taskManager/taskDetailView/taskDetailReducer';
|
|
547
547
|
import { TaskDetailSelectorView, allTaskPriority, allTaskStatus, getTaskDetail } from './view/taskManager/taskDetailView/taskDetailSelector';
|
|
548
548
|
import { createTaskFromTaskGroupTemplate } from './view/taskManager/taskGroupTemplateView/taskGroupTemplateViewReducer';
|
|
549
549
|
import { createNewTaskGroup, deleteTaskGroup, fetchAllTaskGroups, updateTaskGroupName } from './view/taskManager/taskGroupView/taskGroupViewReducer';
|
|
550
|
-
import { DueDateGroupKey, TASK_LIST_FILTER_CATEGORIES, TASK_LIST_GROUP_BY_CATEGORIES, TaskFilterCategory, TaskGroupKey, TaskListFilterCategoryField, TaskListFilters, TaskListLocalData, TaskListUIState, TaskListViewSortKey, toDueDateGroupKeyType, toTaskListGroupByKeyType, toTaskListGroupByKeyTypeStrict
|
|
550
|
+
import { ALL_TASK_LIST_TABS, DueDateGroupKey, TASK_LIST_FILTER_CATEGORIES, TASK_LIST_GROUP_BY_CATEGORIES, TaskFilterCategory, TaskGroupKey, TaskListFilterCategoryField, TaskListFilters, TaskListLocalData, TaskListTab, TaskListUIState, TaskListViewSortKey, toDueDateGroupKeyType, toTaskListGroupByKeyType, toTaskListGroupByKeyTypeStrict } from './view/taskManager/taskListView/taskList';
|
|
551
551
|
import { bulkUpdateTaskList, dragNDropTasks, fetchTaskListPage, initiateTaskListLocalData, removeTaskFromList, updateTaskFilters, updateTaskFromListView, updateTaskListLocalData, updateTaskListSearchText, updateTaskListTab, updateTaskListUIState } from './view/taskManager/taskListView/taskListReducer';
|
|
552
552
|
import { TaskGroupWithTasksList, TaskListSelectorView, TaskWithUserDetails, getAllTasks } from './view/taskManager/taskListView/taskListSelector';
|
|
553
553
|
import { getDueDateValueFromDueDateGroupId, getTaskUpdates } from './view/taskManager/taskListView/taskListViewHelpers';
|
|
@@ -614,13 +614,21 @@ import { ZeniAccStatementsSelectorView, getZeniAccStatements } from './view/zeni
|
|
|
614
614
|
import { fetchZeniAccountsPromoCard } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer';
|
|
615
615
|
import { ZeniAccountsPromoCardReport, getZeniAccountsPromoCard } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector';
|
|
616
616
|
import { ZeniAccountsPromoCardState } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardState';
|
|
617
|
-
import { ApproveOAuthConsentPayload, approveOAuthConsent, approveOAuthConsentFailure, approveOAuthConsentSuccess, clearZeniOAuthView } from './view/zeniOAuthView/zeniOAuthReducer';
|
|
618
617
|
import { OAuthParams, ParseOAuthParamsResult, parseOAuthParams } from './view/zeniOAuthView/zeniOAuthParamsParser';
|
|
618
|
+
import { ApproveOAuthConsentPayload, approveOAuthConsent, approveOAuthConsentFailure, approveOAuthConsentSuccess, clearZeniOAuthView } from './view/zeniOAuthView/zeniOAuthReducer';
|
|
619
619
|
import { getZeniOAuthApproveError, getZeniOAuthApproveFetchState, getZeniOAuthApproveRedirectUrl } from './view/zeniOAuthView/zeniOAuthSelector';
|
|
620
620
|
import { ZeniOAuthViewState } from './view/zeniOAuthView/zeniOAuthState';
|
|
621
621
|
import { RESTAPIEndpoints } from './zeniAPI';
|
|
622
622
|
import { Dayjs, ZeniDate, date, dateFromYearMonthDate, dateInLocal, dateLocal, dateNow, getBusinessDayOfDate, getLocalTimezone, getMinDate, getMonthIndex, setLocalTimezone, updateZeniDateLocaleID } from './zeniDayJS';
|
|
623
623
|
import { ZeniUrl, toZeniUrl, toZeniUrlWithoutBaseURL } from './zeniUrl';
|
|
624
|
+
export { fetchCreditAgentAccess, scheduleTenantCreditScoreCron, fetchCreditAgentMacro, saveCreditAgentMacro, resetSaveMacroState, fetchCardProfiles, updateCardProfile, updateCreditAgentUIState, clearCreditAgentView, } from './view/creditAgentView/creditAgentViewReducer';
|
|
625
|
+
export { toCardTenantProfileRow, toMacro, } from './entity/creditAgent/creditAgentPayload';
|
|
626
|
+
export { getCreditAgentView, getCreditAgentEntity, getCreditAgentMacro, getCardProfilesData, } from './view/creditAgentView/creditAgentViewSelector';
|
|
627
|
+
export { getCreditReportDownloadPayload } from './view/creditAgentView/buildCreditReportCsv';
|
|
628
|
+
export { clearAllCreditAgent, updateCreditAgentMacro, updateCreditAgentRow, updateCreditAgentRows, } from './entity/creditAgent/creditAgentReducer';
|
|
629
|
+
export { getCreditAgentRows, getCreditAgentMacroEntity, } from './entity/creditAgent/creditAgentSelector';
|
|
630
|
+
export type { CardTenantProfileRow, CardStatus, CreditAgentEntityState, CreditAgentMacro, } from './entity/creditAgent/creditAgentState';
|
|
631
|
+
export type { CreditAgentFocusFilter, CreditAgentSortDir, CreditAgentSortKey, CreditAgentUIState, CreditAgentViewState, } from './view/creditAgentView/creditAgentViewState';
|
|
624
632
|
export { AccountSettingsLocalData };
|
|
625
633
|
export { saveJeAccountSettings, saveJeAccountSettingsLocalData };
|
|
626
634
|
export default initialize;
|
|
@@ -869,7 +877,7 @@ export { NotificationView, NotificationViewUIState, NotificationTabState, Notifi
|
|
|
869
877
|
export { clearFeatureNotificationView, fetchRegisteredInterests, notifyMeForFeature, getFeatureNotificationView, getRegisteredInterests, getRegisteredInterestsByFeature, isFeatureInterestRegistered, FeatureInterest, FeatureNotificationViewState, };
|
|
870
878
|
export { pushToastNotification, ToastNotification, ToastNotificationPayload, getLastNotificationTime, getNotifications, };
|
|
871
879
|
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 {
|
|
880
|
+
export { ALL_WEEK_DAYS, DayOfWeek, RecurringDatePickerOptions, RecurringFrequencyType, SEMI_WEEKLY_REQUIRED_DAYS_COUNT, getMinAllowedEndDate, getRecurringEndDateFromCount, toDayOfWeek, toRecurringFrequency, };
|
|
873
881
|
export { fetchCompanyTaskManagerView, fetchTaskManagerMetrics, CompanyTaskManagerSelectorView, CompanyTaskManagerViewUIState, TaskManagerMetrics, getCompanyTaskManagerView, TaskWithCompanyDetail, createTaskFromTaskGroupTemplate, TaskGroupTemplate, };
|
|
874
882
|
export { Country };
|
|
875
883
|
export { InternationalWireVerificationState, VerificationFormField, VerificationFormLocalData, FieldValueType, fetchInternationalVerificationForm, submitInternationalVerificationForm, updateVerificationFormLocalData, getIntlWireVerificationView, InternationalWireVerificationView, };
|
|
@@ -914,5 +922,5 @@ export { fetchTransactionActivityLog } from './view/transactionActivityLogView/t
|
|
|
914
922
|
export { TransactionActivityLogViewSelectorView, getTransactionActivityLogView, } from './view/transactionActivityLogView/transactionActivityLogViewSelector';
|
|
915
923
|
export { UserGroup } from './entity/userGroups/userGroupsState';
|
|
916
924
|
export { SessionManager } from './entity/tenant/SessionManager';
|
|
917
|
-
export type { SessionCallbacks, SessionConfig } from './entity/tenant/sessionTypes';
|
|
925
|
+
export type { SessionCallbacks, SessionConfig, } from './entity/tenant/sessionTypes';
|
|
918
926
|
export { DEFAULT_SESSION_CONFIG } from './entity/tenant/sessionTypes';
|