@zeniai/client-epic-state 4.10.78 → 4.10.80
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/company/companySelector.d.ts +2 -1
- package/lib/entity/company/companySelector.js +29 -1
- package/lib/entity/companyHealthMetric/companyHealthMetricPayload.js +0 -1
- package/lib/entity/companyHealthMetric/companyHealthMetricState.d.ts +0 -1
- package/lib/entity/notification/notificationReducer.d.ts +7 -7
- package/lib/entity/notification/notificationSelector.d.ts +3 -3
- package/lib/entity/notification/notificationState.d.ts +2 -2
- package/lib/entity/notification/types/notificationTypes.d.ts +9 -2
- package/lib/entity/user/userSelector.d.ts +2 -0
- package/lib/entity/user/userSelector.js +11 -1
- package/lib/index.d.ts +9 -6
- package/lib/index.js +27 -21
- package/lib/view/authenticationView/epics/fetchCollaborationAuthTokenEpic.js +1 -1
- package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.js +5 -12
- package/lib/view/notificationView/notificationViewReducer.d.ts +10 -10
- package/lib/view/notificationView/notificationViewSelector.d.ts +4 -4
- package/lib/view/notificationView/notificationViewSelector.js +1 -2
- package/lib/view/notificationView/notificationViewState.d.ts +2 -2
- package/lib/view/people/fetchPeopleEpic.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/userListView/fetchUserListByTypeEpic.d.ts +2 -2
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js +3 -5
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewPayload.d.ts +1 -1
- package/package.json +1 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AllowedValue } from '../../commonStateTypes/allowedValue';
|
|
2
2
|
import { ID } from '../../commonStateTypes/common';
|
|
3
3
|
import { CompanyState, SchemaKeys } from './companyState';
|
|
4
|
-
import { Company } from './companyStateTypes';
|
|
4
|
+
import { Company, CompanyInfo } from './companyStateTypes';
|
|
5
5
|
import { User } from '../user/userState';
|
|
6
6
|
import { RootState } from '../../reducer';
|
|
7
7
|
export interface CompanyWithSchema {
|
|
@@ -17,3 +17,4 @@ export declare function getCompanyByCompanyId(companyState: CompanyState, compan
|
|
|
17
17
|
export declare function getOnboardingCompanyByCompanyId(companyState: CompanyState, companyId: ID): CompanyWithSchema | undefined;
|
|
18
18
|
export declare function getOnboardingCompletedCompanyByCompanyId(companyState: CompanyState, companyId: ID): Company | undefined;
|
|
19
19
|
export declare const getControllersForCompany: (state: RootState, companyId: ID) => ControllerUserDetails;
|
|
20
|
+
export declare const getCompanyInfoForAllCockpitCompaniesInState: (state: RootState) => CompanyInfo[];
|
|
@@ -3,10 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getControllersForCompany = exports.getOnboardingCompletedCompanyByCompanyId = exports.getOnboardingCompanyByCompanyId = exports.getCompanyByCompanyId = exports.getCompanyByCompanyIds = void 0;
|
|
6
|
+
exports.getCompanyInfoForAllCockpitCompaniesInState = exports.getControllersForCompany = exports.getOnboardingCompletedCompanyByCompanyId = exports.getOnboardingCompanyByCompanyId = exports.getCompanyByCompanyId = exports.getCompanyByCompanyIds = void 0;
|
|
7
7
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
8
8
|
const get_1 = __importDefault(require("lodash/get"));
|
|
9
9
|
const userSelector_1 = require("../user/userSelector");
|
|
10
|
+
const reduceFetchState_1 = require("../../commonStateTypes/reduceFetchState");
|
|
10
11
|
function getCompanyByCompanyIds(companyState, companyIds) {
|
|
11
12
|
const companies = companyIds
|
|
12
13
|
.map((companyId) => getCompanyByCompanyId(companyState, companyId))
|
|
@@ -64,3 +65,30 @@ exports.getControllersForCompany = (0, toolkit_1.createSelector)((state) => stat
|
|
|
64
65
|
controllerUserIds: [],
|
|
65
66
|
};
|
|
66
67
|
});
|
|
68
|
+
const getCompanyInfoForAllCockpitCompaniesInState = (state) => {
|
|
69
|
+
const { companyViewState: { managementView, portfolioView }, companyState, onboardingCockpitViewState, subscriptionViewState: { subscriptionListView }, } = state;
|
|
70
|
+
// These views have `companyId - tenantId mapping` wait till one of the view is fetched
|
|
71
|
+
const managementViewFetchStates = [
|
|
72
|
+
{ fetchState: managementView.fetchState, error: managementView.error },
|
|
73
|
+
{ fetchState: portfolioView.fetchState, error: portfolioView.error },
|
|
74
|
+
{
|
|
75
|
+
fetchState: subscriptionListView.fetchState,
|
|
76
|
+
error: subscriptionListView.error,
|
|
77
|
+
},
|
|
78
|
+
];
|
|
79
|
+
const managementViewReducedFetchState = (0, reduceFetchState_1.reduceAnyCompletedFetchState)(managementViewFetchStates);
|
|
80
|
+
const allFetchStates = [
|
|
81
|
+
managementViewReducedFetchState,
|
|
82
|
+
{
|
|
83
|
+
fetchState: onboardingCockpitViewState.fetchState,
|
|
84
|
+
error: onboardingCockpitViewState.error,
|
|
85
|
+
},
|
|
86
|
+
];
|
|
87
|
+
const reducedFetchState = (0, reduceFetchState_1.reduceAllFetchState)(allFetchStates);
|
|
88
|
+
if (reducedFetchState.fetchState === 'Completed') {
|
|
89
|
+
const companyIds = Object.keys(companyState.companiesById);
|
|
90
|
+
return getCompanyByCompanyIds(companyState, companyIds).map((company) => company.company.companyInfo);
|
|
91
|
+
}
|
|
92
|
+
return [];
|
|
93
|
+
};
|
|
94
|
+
exports.getCompanyInfoForAllCockpitCompaniesInState = getCompanyInfoForAllCockpitCompaniesInState;
|
|
@@ -19,7 +19,6 @@ const toCompanyHealthMetrics = (payload) => {
|
|
|
19
19
|
: undefined,
|
|
20
20
|
verticalProductServices: (0, exports.toVerticalProductServices)(payload.vertical_product_services),
|
|
21
21
|
churnProbabilityReason: (0, exports.toChurnProbabilityReason)(payload.churn_probability_reasons),
|
|
22
|
-
issueCount: 0,
|
|
23
22
|
companyEngagementMetricsUpdatedAt: payload.company_engagement_metrics_update_time != null
|
|
24
23
|
? (0, zeniDayJS_1.dateInUTC)(payload.company_engagement_metrics_update_time)
|
|
25
24
|
: undefined,
|
|
@@ -15,7 +15,6 @@ export interface CompanyHealthMetric {
|
|
|
15
15
|
companyId: ID;
|
|
16
16
|
verticalProductServices: VerticalProductServices[];
|
|
17
17
|
churnProbabilityReason: ChurnProbabilityReason[];
|
|
18
|
-
issueCount: number;
|
|
19
18
|
customerLastDashboardVisit?: ZeniDate;
|
|
20
19
|
runway?: CompanyRunway;
|
|
21
20
|
subscriptionRenewalDate?: ZeniDate;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { CoreNotificationData } from '@cord-sdk/types';
|
|
2
1
|
import { UpdateType } from '../../commonStateTypes/common';
|
|
3
2
|
import { NotificationPayload } from './notificationPayload';
|
|
4
3
|
import { NotificationState } from './notificationState';
|
|
4
|
+
import { CustomNotificationData } from './types/notificationTypes';
|
|
5
5
|
export declare const initialState: NotificationState;
|
|
6
6
|
export declare const updateAllNotifications: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notifications: NotificationPayload[], updateType?: UpdateType | undefined], {
|
|
7
7
|
notifications: NotificationPayload[];
|
|
8
8
|
updateType: UpdateType;
|
|
9
|
-
}, string, never, never>, updateNotificationsStatuses: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationIds: string[], newStatus: "
|
|
9
|
+
}, string, never, never>, updateNotificationsStatuses: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationIds: string[], newStatus: "read" | "unread"], {
|
|
10
10
|
notificationIds: string[];
|
|
11
|
-
newStatus: "
|
|
12
|
-
}, string, never, never>, updateCommentsNotifications: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notifications:
|
|
13
|
-
notifications:
|
|
11
|
+
newStatus: "read" | "unread";
|
|
12
|
+
}, string, never, never>, updateCommentsNotifications: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notifications: CustomNotificationData[], updateType?: UpdateType | undefined], {
|
|
13
|
+
notifications: CustomNotificationData[];
|
|
14
14
|
updateType: UpdateType;
|
|
15
|
-
}, string, never, never>, updateCommentsNotificationsStatuses: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationIds: string[], newStatus: "
|
|
15
|
+
}, string, never, never>, updateCommentsNotificationsStatuses: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationIds: string[], newStatus: "read" | "unread"], {
|
|
16
16
|
notificationIds: string[];
|
|
17
|
-
newStatus: "
|
|
17
|
+
newStatus: "read" | "unread";
|
|
18
18
|
}, string, never, never>, removeNotification: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, removeCommentNotification: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, clearAllNotifications: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
19
19
|
declare const _default: import("@reduxjs/toolkit").Reducer<NotificationState, import("@reduxjs/toolkit").AnyAction>;
|
|
20
20
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CoreNotificationData } from '@cord-sdk/types';
|
|
2
1
|
import { ID } from '../../commonStateTypes/common';
|
|
3
2
|
import { NotificationState } from './notificationState';
|
|
4
3
|
import { NotificationWithAuthors } from './types/notificationSelectorTypes';
|
|
5
4
|
import { UserState } from '../user/userState';
|
|
5
|
+
import { CustomNotificationData } from './types/notificationTypes';
|
|
6
6
|
export declare function getNotificationsByNotificationIds(notificationState: NotificationState, userState: UserState, notificationIds: ID[]): NotificationWithAuthors[];
|
|
7
7
|
export declare function getNotificationByNotificationId(notificationState: NotificationState, userState: UserState, notificationId: ID): NotificationWithAuthors | undefined;
|
|
8
|
-
export declare function getCommentsNotificationsByNotificationIds(notificationState: NotificationState, notificationIds: ID[]):
|
|
9
|
-
export declare function getCommentsNotificationByNotificationId(notificationState: NotificationState, notificationId: ID):
|
|
8
|
+
export declare function getCommentsNotificationsByNotificationIds(notificationState: NotificationState, notificationIds: ID[]): CustomNotificationData[];
|
|
9
|
+
export declare function getCommentsNotificationByNotificationId(notificationState: NotificationState, notificationId: ID): CustomNotificationData | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CoreNotificationData } from '@cord-sdk/types';
|
|
2
1
|
import { ID } from '../../commonStateTypes/common';
|
|
3
2
|
import { Notification } from './types/notificationStateTypes';
|
|
3
|
+
import { CustomNotificationData } from './types/notificationTypes';
|
|
4
4
|
export interface NotificationState {
|
|
5
5
|
notificationById: Record<ID, Notification>;
|
|
6
|
-
commentsNotificationById: Record<ID,
|
|
6
|
+
commentsNotificationById: Record<ID, CustomNotificationData>;
|
|
7
7
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { ID } from '../../../commonStateTypes/common';
|
|
1
2
|
export declare const ALL_NOTIFICATION_GROUPS: readonly ["task_manager"];
|
|
2
3
|
export declare const toNotificationGroup: (v: string) => "task_manager";
|
|
3
4
|
export declare const toNotificationGroupStrict: (v: string) => "task_manager" | undefined;
|
|
4
5
|
export declare type NotificationGroup = ReturnType<typeof toNotificationGroup>;
|
|
5
6
|
export declare const ALL_NOTIFICATION_STATUSES: readonly ["read", "unread"];
|
|
6
|
-
export declare const toNotificationStatus: (v: string) => "
|
|
7
|
-
export declare const toNotificationStatusStrict: (v: string) => "
|
|
7
|
+
export declare const toNotificationStatus: (v: string) => "read" | "unread";
|
|
8
|
+
export declare const toNotificationStatusStrict: (v: string) => "read" | "unread" | undefined;
|
|
8
9
|
export declare type NotificationStatus = ReturnType<typeof toNotificationStatus>;
|
|
9
10
|
export declare const ALL_NOTIFICATION_MODES: readonly ["dashboard", "email"];
|
|
10
11
|
export declare const toNotificationMode: (v: string) => "dashboard" | "email";
|
|
@@ -22,3 +23,9 @@ export declare type NotificationUpdateValue = ReturnType<typeof toNotificationUp
|
|
|
22
23
|
export declare const getNotificationIdentifier: (notificationGroup: NotificationGroup, notificationType: NotificationActivityType) => "task_manager.task_assigned.notification" | "task_manager.task_status_updated.notification" | "task_manager.task_activities.notification" | "task_manager.task_created.notification" | "task_manager.task_deleted.notification" | "task_manager.task_archived.notification" | "task_manager.task_due.notification" | "task_manager.task_overdue.notification";
|
|
23
24
|
export declare type NotificationIdentifierType = ReturnType<typeof getNotificationIdentifier>;
|
|
24
25
|
export declare const toNotificationIdentifier: (notification_identifier: string) => NotificationIdentifierType;
|
|
26
|
+
export interface CustomNotificationData {
|
|
27
|
+
id: ID;
|
|
28
|
+
readStatus: NotificationStatus;
|
|
29
|
+
timeStamp: Date;
|
|
30
|
+
notification: string;
|
|
31
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ID } from '../../commonStateTypes/common';
|
|
2
|
+
import { RootState } from '../../reducer';
|
|
2
3
|
import { User, UserState } from './userState';
|
|
3
4
|
export declare function getUsersByUserIds(userState: UserState, userIds: ID[]): User[];
|
|
4
5
|
export declare function getUserByUserId(userState: UserState, userId: ID): User | undefined;
|
|
5
6
|
export declare const getUserNameById: (userState: UserState, userId: ID) => string;
|
|
7
|
+
export declare const getAllZeniUsersFromState: (state: RootState) => User[];
|
|
6
8
|
export declare const getUserName: (user: User | undefined) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getUserName = exports.getUserNameById = exports.getUserByUserId = exports.getUsersByUserIds = void 0;
|
|
3
|
+
exports.getUserName = exports.getAllZeniUsersFromState = exports.getUserNameById = exports.getUserByUserId = exports.getUsersByUserIds = void 0;
|
|
4
4
|
function getUsersByUserIds(userState, userIds) {
|
|
5
5
|
const users = userIds
|
|
6
6
|
.map((userId) => getUserByUserId(userState, userId))
|
|
@@ -19,6 +19,16 @@ const getUserNameById = (userState, userId) => {
|
|
|
19
19
|
return userName;
|
|
20
20
|
};
|
|
21
21
|
exports.getUserNameById = getUserNameById;
|
|
22
|
+
const getAllZeniUsersFromState = (state) => {
|
|
23
|
+
const { companyViewState, userState } = state;
|
|
24
|
+
const { zeniUsers } = companyViewState;
|
|
25
|
+
// Return all Zeni Users fetched together
|
|
26
|
+
if (zeniUsers.fetchState === 'Completed') {
|
|
27
|
+
return getUsersByUserIds(userState, zeniUsers.ids);
|
|
28
|
+
}
|
|
29
|
+
return [];
|
|
30
|
+
};
|
|
31
|
+
exports.getAllZeniUsersFromState = getAllZeniUsersFromState;
|
|
22
32
|
const getUserName = (user) => {
|
|
23
33
|
if (user != null) {
|
|
24
34
|
if (user.firstName || user.lastName) {
|
package/lib/index.d.ts
CHANGED
|
@@ -77,7 +77,9 @@ export { ClassReport } from './entity/class/classSelectorTypes';
|
|
|
77
77
|
export type { Forecast, ForecastType, toForecastType, } from './entity/forecast/forecastState';
|
|
78
78
|
import { getForecast } from './entity/forecast/forecastSelector';
|
|
79
79
|
export { getForecast };
|
|
80
|
+
export type { UserPayload, UserBasePayload } from './entity/user/userPayload';
|
|
80
81
|
export type { User } from './entity/user/userState';
|
|
82
|
+
export { getUserByUserId, getUsersByUserIds, getAllZeniUsersFromState, } from './entity/user/userSelector';
|
|
81
83
|
import { getUserRoleByUserId, getUserRoleByUserIds } from './entity/userRole/userRoleSelector';
|
|
82
84
|
export type { UserRole, InvitationStatus } from './entity/userRole/userRoleState';
|
|
83
85
|
import { UserRoleType, toUserRoleType, toUserRoleTypeStrict, isFinOpsUserRoleType, hasAdminLevelAccess, hasFullOrAdminLevelAccess, hasReimbursementUserAccess, hasEmployeeLevelAccess, isNonZeniRole, hasInvestorBankerLevelAccess, RoleMap, getUserRoleMap, hasOnlyBillPayAccess, hasZeniRoleOrCompanyOfficerAccess, hasSuperAdminLevelAccess, hasBookKeepingAdminLevelAccess, hasBookKeepingUserLevelAccess, hasBillPayFallbackAdminLevelAccess, hasRemiFallbackAdminLevelAccess, hasOnlyReimbursementAccess, hasOnlyChargeCardAccess, hasOnlyZeniAccountsAccess, isZeniSignedInUser, hasChargeCardAccess, hasZeniAccountsAccess, hasBillPayAccess, hasReimbursementAccess, hasReimbursementAdminLevelAccess, hasBillPayAdminLevelAccess, hasChargeCardAdminLevelAccess, hasSpendManagementAccess, hasSpendManagementAdminLevelAccess, hasZeniAccountsAdminLevelAccess, hasAnyCompanyRole, hasAnyFinOpRole, hasBillPayAccessible, hasReimbursementAccessible } from './entity/userRole/userRoleType';
|
|
@@ -272,9 +274,10 @@ import { SubscriptionSummary, SchemaKeys as SubscriptionSummarySchemaKeys } from
|
|
|
272
274
|
export { SubscriptionSummary, SubscriptionSummarySchemaKeys };
|
|
273
275
|
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';
|
|
274
276
|
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, };
|
|
275
|
-
import { getCompanyByCompanyId, CompanyWithSchema, getControllersForCompany, ControllerUserDetails } from './entity/company/companySelector';
|
|
277
|
+
import { getCompanyByCompanyId, CompanyWithSchema, getControllersForCompany, getCompanyInfoForAllCockpitCompaniesInState, ControllerUserDetails } from './entity/company/companySelector';
|
|
276
278
|
import { getFirstControllerEmail, getFirstControllerId, getControllersName } from './entity/company/companyHelper';
|
|
277
|
-
export { getCompanyByCompanyId, CompanyWithSchema, getControllersForCompany, ControllerUserDetails, getFirstControllerEmail, getFirstControllerId, getControllersName, };
|
|
279
|
+
export { getCompanyByCompanyId, CompanyWithSchema, getControllersForCompany, getCompanyInfoForAllCockpitCompaniesInState, ControllerUserDetails, getFirstControllerEmail, getFirstControllerId, getControllersName, };
|
|
280
|
+
export type { ZeniUsersResponse } from './view/companyView/companyViewPayload';
|
|
278
281
|
import { CompanyView } from './view/companyView/types/companyView';
|
|
279
282
|
export { CompanyView };
|
|
280
283
|
import { UserAndRole } from './view/companyView/types/userAndRole';
|
|
@@ -461,11 +464,11 @@ import { clearOnboardingCustomerViewUpdateData, fetchCompanyOnboardingView, getO
|
|
|
461
464
|
import { getNewOnboardingCustomerView, getOnboardingCockpitView, NewOnboardingCustomerView, OnboardingCockpitView, ProductInfo } from './view/onboardingView/cockpitView/onboardingCockpitViewSelector';
|
|
462
465
|
import { CustomerCreationStatus, NewOnboardingCustomer, OnboardingCustomer, OnboardingCustomerCompletedStatus, OnboardingCompanyDetails, ProductType, ProductGroupType, toProductType, toProductTypeStrict } from './view/onboardingView/cockpitView/types/onboardingCockpitViewTypes';
|
|
463
466
|
import { OnboardingCustomerListUIState } from './view/onboardingView/cockpitView/onboardingCockpitViewState';
|
|
464
|
-
import { reduceFetchState, reduceAnyFetchState, reduceAllFetchState, isAnyFetchInProgress, isAllFetchCompleted } from './commonStateTypes/reduceFetchState';
|
|
467
|
+
import { reduceFetchState, reduceAnyFetchState, reduceAllFetchState, reduceAnyCompletedFetchState, isAnyFetchInProgress, isAllFetchCompleted } from './commonStateTypes/reduceFetchState';
|
|
465
468
|
import { SortOrder } from './commonStateTypes/selectorTypes/sortOrderTypes';
|
|
466
469
|
import { ALL_FILE_TYPES, FileType, toFileTypeStrict } from './commonStateTypes/fileType';
|
|
467
470
|
import { getNextNthWorkingDay, getPreviousNthWorkingDay, isHolidayToday, filterDays, getYearsList, holidaysFormatted, isHoliday, PAYMENT_BUSINESS_DAYS } from './commonStateTypes/workingDayHelper';
|
|
468
|
-
export { reduceFetchState, reduceAnyFetchState, reduceAllFetchState, isAnyFetchInProgress, isAllFetchCompleted, SortOrder, ALL_FILE_TYPES, FileType, toFileTypeStrict, };
|
|
471
|
+
export { reduceFetchState, reduceAnyFetchState, reduceAllFetchState, reduceAnyCompletedFetchState, isAnyFetchInProgress, isAllFetchCompleted, SortOrder, ALL_FILE_TYPES, FileType, toFileTypeStrict, };
|
|
469
472
|
export { getNextNthWorkingDay, getPreviousNthWorkingDay, isHolidayToday, filterDays, getYearsList, isHoliday, holidaysFormatted, PAYMENT_BUSINESS_DAYS, };
|
|
470
473
|
export { CustomerRatingCodeType, TeamRatingCodeType };
|
|
471
474
|
export { CustomerSatisfactionInfo };
|
|
@@ -662,11 +665,11 @@ import { ZeniAccountsPromoCardState } from './view/zeniAccountsPromoCard/zeniAcc
|
|
|
662
665
|
import { getZeniAccountsPromoCard, ZeniAccountsPromoCardReport } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardSelector';
|
|
663
666
|
import { fetchZeniAccountsPromoCard } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardReducer';
|
|
664
667
|
export { ZeniAccountsPromoCardState, getZeniAccountsPromoCard, ZeniAccountsPromoCardReport, fetchZeniAccountsPromoCard, };
|
|
665
|
-
import { NotificationGroup, NotificationActivityType, NotificationIdentifierType, NotificationUpdateValue, NotificationMode, NotificationStatus, toNotificationModeStrict } from './entity/notification/types/notificationTypes';
|
|
668
|
+
import { NotificationGroup, NotificationActivityType, NotificationIdentifierType, NotificationUpdateValue, NotificationMode, NotificationStatus, toNotificationModeStrict, CustomNotificationData } from './entity/notification/types/notificationTypes';
|
|
666
669
|
import { Notification, NotificationMetaData, NotificationEventData, NotificationActivity, NotificationUpdates, NotificationValueFormat } from './entity/notification/types/notificationStateTypes';
|
|
667
670
|
import { NotificationWithAuthors } from './entity/notification/types/notificationSelectorTypes';
|
|
668
671
|
import { updateCommentsNotifications, updateCommentsNotificationsStatuses } from './entity/notification/notificationReducer';
|
|
669
|
-
export { NotificationGroup, NotificationActivityType, NotificationIdentifierType, NotificationUpdateValue, NotificationMode, NotificationStatus, Notification, NotificationWithAuthors, NotificationMetaData, NotificationEventData, NotificationActivity, NotificationUpdates, NotificationValueFormat, toNotificationModeStrict, updateCommentsNotifications, updateCommentsNotificationsStatuses, };
|
|
672
|
+
export { CustomNotificationData, NotificationGroup, NotificationActivityType, NotificationIdentifierType, NotificationUpdateValue, NotificationMode, NotificationStatus, Notification, NotificationWithAuthors, NotificationMetaData, NotificationEventData, NotificationActivity, NotificationUpdates, NotificationValueFormat, toNotificationModeStrict, updateCommentsNotifications, updateCommentsNotificationsStatuses, };
|
|
670
673
|
import { fetchNotificationView, fetchNotificationUnreadCount, fetchNotificationUnreadCountSuccess, updateNotificationViewAllNotificationsStatus, updateNotificationViewNotificationStatus, updateNotificationViewTabState, updateNotificationViewCurrentTabAndSubTab, updateNotificationViewSubTab, updateNotificationViewUIState } from './view/notificationView/notificationViewReducer';
|
|
671
674
|
import { NotificationViewUIState, NotificationTabState, NotificationTabType, NotificationSubTabType, toNotificationSubTabTypeStrict, toNotificationTabTypeStrict } from './view/notificationView/notificationViewState';
|
|
672
675
|
import { NotificationView, getNotificationView, getExternalNotificationsForSelectedSubTab, getNotificationsForSelectedSubTab } from './view/notificationView/notificationViewSelector';
|
package/lib/index.js
CHANGED
|
@@ -27,27 +27,27 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
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.getMinDate = exports.dateFromYearMonthDate = exports.getMonthIndex = 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.
|
|
49
|
-
exports.
|
|
50
|
-
exports.getCompanyTaskManagerView = exports.fetchCompanyTaskManagerView = exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = exports.getRewardsPlanCard = exports.fetchRewardsPlan = exports.resendReferralInvite = exports.updateReferralListSortUiState = exports.saveReferralFormDataInLocalStore = exports.clearReferrals = exports.sendReferralInvite = exports.fetchReferrals = exports.AmountStatusTypes = exports.StatusTypes = exports.toReferralListViewSortKeyType = exports.getInviteFormView = exports.getReferralListView = exports.getNotificationsForSelectedSubTab = exports.getExternalNotificationsForSelectedSubTab = exports.getNotificationView = exports.updateNotificationViewUIState = exports.updateNotificationViewSubTab = exports.updateNotificationViewCurrentTabAndSubTab = exports.updateNotificationViewTabState = exports.updateNotificationViewNotificationStatus = exports.updateNotificationViewAllNotificationsStatus = void 0;
|
|
30
|
+
exports.hasBookKeepingAdminLevelAccess = exports.hasEmployeeLevelAccess = exports.hasReimbursementUserAccess = exports.hasFullOrAdminLevelAccess = exports.hasAdminLevelAccess = exports.isFinOpsUserRoleType = exports.toUserRoleTypeStrict = exports.toUserRoleType = exports.getAllZeniUsersFromState = exports.getUsersByUserIds = exports.getUserByUserId = exports.getForecast = exports.getAccountGroupKey = exports.toAccountGroupType = exports.toAccountType = exports.isTenantBookkeepingEnabled = exports.isTenantBankingOnly = 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.toVendorSpendTrendFilterTabsTypeStrict = exports.toTimePeriod = exports.mapTimePeriodtoTimeframeTick = exports.toTimeframeTick = exports.TOP_EX_TIME_PERIODS = void 0;
|
|
31
|
+
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.hasReimbursementAccessible = exports.hasBillPayAccessible = exports.hasAnyFinOpRole = exports.hasAnyCompanyRole = exports.hasZeniAccountsAdminLevelAccess = exports.hasSpendManagementAdminLevelAccess = exports.hasSpendManagementAccess = exports.hasChargeCardAdminLevelAccess = exports.hasBillPayAdminLevelAccess = exports.hasReimbursementAdminLevelAccess = exports.hasReimbursementAccess = exports.hasBillPayAccess = exports.hasZeniAccountsAccess = exports.hasChargeCardAccess = exports.getUserRoleByUserIds = exports.getUserRoleByUserId = exports.isZeniSignedInUser = exports.hasOnlyZeniAccountsAccess = exports.hasOnlyChargeCardAccess = exports.hasOnlyReimbursementAccess = exports.hasRemiFallbackAdminLevelAccess = exports.hasBillPayFallbackAdminLevelAccess = exports.hasSuperAdminLevelAccess = exports.hasZeniRoleOrCompanyOfficerAccess = exports.hasOnlyBillPayAccess = exports.getUserRoleMap = exports.hasInvestorBankerLevelAccess = exports.isNonZeniRole = exports.hasBookKeepingUserLevelAccess = void 0;
|
|
32
|
+
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 = 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 = void 0;
|
|
33
|
+
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 = 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 = void 0;
|
|
34
|
+
exports.resetNotificationSettingsUpdateStatus = exports.isRemindersSectionVisibleOnSettingsPage = exports.isNotificationsTabVisible = exports.isMyBankConnectionsTabVisible = exports.isSettingsVisible = exports.isIntegrationsTabVisible = exports.isCompanyDetailsTabVisible = exports.isBusinessVerificationTabVisible = exports.isBankConnectionsTabVisible = exports.isApprovalRulesTabVisible = exports.isAccountingTabVisible = exports.getMyBankConnectionsDetails = exports.getMyProfileView = exports.getNotificationSettings = exports.getNotificationSettingsView = exports.isMonthEndNotificationsSectionVisibleOnSettingsPage = exports.resetNotificationSettingsLocalData = exports.fetchNotificationSettingsView = exports.updateNotificationSettingsLocalData = exports.saveNotificationSettings = exports.fetchNotificationSettings = exports.fetchBankConnectionsView = exports.fetchMyProfile = exports.fetchMyProfileView = exports.clearSettingsView = exports.NOTIFICATION_MODES = exports.REMINDER_NOTIFICATION_TYPES = exports.initializeEditPerson = exports.getPeopleLocalData = exports.getPeople = exports.peopleClearDataInLocalStore = exports.peopleSaveDataInLocalStore = exports.resetUpdateErrorMessage = exports.peopleSaveUpdates = exports.updatePeopleUIState = 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 = void 0;
|
|
35
|
+
exports.parallelFetchClassTransactionList = exports.updateTransactionListByAccountUIState = exports.updateTransactionListByAccountFailure = exports.updateTransactionListByAccount = exports.fetchAccountTransactionList = exports.parallelFetchEntityTransactionList = exports.parallelFetchAccountTransactionList = exports.updateLatestTransactionId = exports.clearTransactionList = exports.isTransferTransaction = exports.isVendorTransaction = exports.updateVendors = exports.defaultVendorCurrency = exports.toTransactionCategory = exports.toTransactionTypeStrict = exports.toTransactionType = exports.toPlatformLineDetailType = exports.toTransactionID = exports.isCustomerTransaction = exports.defaultCustomerCurrency = exports.toAttachment = exports.mapFileEntityToAttachment = exports.toContentType = exports.toContentTypeStrict = exports.updateFinanceStatementFormat = exports.updateFinanceStatementDisplayOrder = exports.updateFinanceStatementAdditionalBalancesSelection = exports.updateDownloadState = exports.updateSelectedReportId = exports.updateCOABalancesRange = exports.fetchFinanceStatement = exports.getFinanceStatement = exports.isCashFlowReportViewCalculatedSectionType1ID = exports.isCashFlowReportViewSectionID = exports.isCashFlowReportViewCalculatedSectionID = exports.typeOfCashFlowRootSection = exports.updateCashFlowUIState = exports.resetCashFlowNodeCollapseState = exports.getCashFlowReportFetchState = exports.getCashFlow = exports.fetchCashFlow = exports.isBalanceSheetReportViewCalculatedSectionID = exports.isBalanceSheetReportViewSectionID = exports.typeOfBalanceSheetRootSection = exports.updateBalanceSheetUIState = exports.resetBalanceSheetNodeCollapseState = exports.getBalanceSheetForFullDataAvailableRange = exports.getBalanceSheetFetchState = exports.getBalanceSheet = exports.fetchBalanceSheet = void 0;
|
|
36
|
+
exports.fetchTrendForEntity = exports.updateReportUIOptionCOABalancesRange = exports.updateReportUIOptionThisPeriod = exports.toggleReportUIOptionForecastMode = exports.updateReportUIOptionIsCompareModeOn = exports.updateReportUIOptionCompareMode = exports.updateReportUIOptionIsForecastVsActualOn = exports.updateReportUIOptionSelectedForecast = exports.updateReportUIOptionTimeframe = exports.getForecastList = exports.fetchForecastList = exports.updateSelectedInsightIndex = exports.fetchInsightsCard = exports.getInsights = exports.getUpdatablePeriodsForTransactionRecommendations = exports.getTransactionDetailForTransaction = exports.getTransactionDetail = exports.getTransactionListByEntityForSinglePeriod = exports.getTransactionListUIStateByClassKey = exports.getTransactionListByClass = exports.getTransactionListByEntity = exports.getThirdPartyIdFromTransactionId = exports.uploadMissingReceiptSuccess = exports.updateTransactionDetail = exports.fetchTransactionDetail = exports.setIsVendorUpdateAllChecked = exports.updateVendorBulkRecommendationsFetchStatus = exports.updateLatestSelectedEntity = exports.resetAllLineItemsToVendor = exports.updateVendorToAllLineItems = 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 = void 0;
|
|
37
|
+
exports.getAuditWarningsCount = exports.retryBankAccountConnection = exports.getReviewCompanyListCount = exports.getReviewCompanySelectorView = exports.updateReviewCompanyListUIState = exports.fetchReviewCompanyView = exports.updateCompanyDownloadState = exports.fetchZeniUsers = exports.fetchSubscriptionView = exports.fetchPortfolioView = exports.fetchManagementView = exports.fetchOnboardingView = exports.fetchParentSubsidiaryManagementView = exports.updateCompanyManagementUIState = exports.updateCompanyPortfolioUIState = exports.fetchCompanyPortfolioView = exports.fetchCompanyManagementView = exports.fetchAllCockpitViews = exports.companyManagementSaveUpdates = exports.getParentSubsidiaryManagementView = exports.getAddonListZeniSku = exports.getPlanListZeniSku = exports.getCompanyManagementView = exports.getControllersName = exports.getFirstControllerId = exports.getFirstControllerEmail = exports.getCompanyInfoForAllCockpitCompaniesInState = exports.getControllersForCompany = 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 = void 0;
|
|
38
|
+
exports.fetchSubscriptionList = exports.updateCompanySubscriptionUIState = exports.getCompanySubscriptionView = exports.toSubscriptionSortKeyType = exports.getBankAccount = exports.getNestedAccountListHierarchy = exports.getUncategorizedAccounts = exports.toCompanyPassportLocalData = exports.clearCompanyView = exports.saveCompanyPassportDetails = exports.updateCompanyPassportLocalStoreData = exports.companyPassportClearDataInLocalStore = exports.deleteCompanyOfficerInLocalStore = exports.saveIndustryAndIncDateInCompanyPassportLocalStore = exports.companyPassportSaveDataInLocalStore = exports.isCompanyPassportDataToBeSaved = exports.getCompanyPassportLocalStoreData = exports.getCompanyPassportView = exports.fetchCompanyPassportView = exports.isAllowedValueWithID = exports.isAllowedValueWithCode = exports.toCockpitTabsFileTypeStrict = exports.toCockpitTabsIDStrict = exports.ALL_COCKPIT_TABS_IDS = exports.ALL_COCKPIT_TABS_FILE_TYPES = exports.toTaskManagerSortKeyType = exports.toHealthSortKeyType = exports.toPortfolioSortKeyType = exports.toOnboardingSortKeyType = exports.toManagementSortKeyType = exports.clearAddressView = exports.fetchAddress = exports.getFormattedAddress = exports.getAllNewAddresses = exports.getNewAddress = exports.getAddress = exports.newAddressInLocalStore = exports.getCompanyMonthEndReportHistoricData = exports.fetchCompanyMonthEndReportTemplates = exports.fetchCompanyMonthEndReportHistoricData = exports.fetchCompanyMonthEndReportHistoricDates = exports.getCompanyMonthEndReportSelectorView = exports.resetCompanyMonthEndReportFetchStatus = exports.saveCompanyMonthEndReport = exports.sendCompanyMonthEndReport = exports.fetchCompanyMonthEndReportView = exports.fetchImproveUsingZeniGPT = exports.getAllCockpitTabsFilterView = exports.isInfiniteRunway = exports.getCompanyPortfolioView = void 0;
|
|
39
|
+
exports.getAnalyticsDataOnVendorSave = exports.fetchTasksCard = exports.downloadFile = exports.getAttachmentFileIdByFileName = exports.mapAttachmentFileToAttachmentFilePayload = exports.mapAttachmentFilePayloadToFile = exports.mapFilePayloadToFile = exports.uploadFile = exports.getFileDeleteStatusById = exports.getFileUpdateNameStatusById = exports.getDeleteFileListWithStatus = exports.getFileListWithStatus = exports.clearFileViewList = exports.deleteFileSuccess = exports.deleteFileFailure = exports.deleteFile = exports.deleteFileListSuccess = exports.deleteFileListFailure = exports.deleteFileList = exports.updateFilesMetadata = exports.updateFileNameSuccess = exports.updateFileNameFailure = exports.updateFileName = exports.fetchFile = exports.fetchFileListSuccess = exports.fetchFileListFailure = exports.fetchFileList = exports.toSupportedAttachmentFileType = exports.toSupportedAttachmentFileFormatType = exports.toSupportedFileTypeStrict = exports.removeAttachmentFiles = exports.updateAttachmentFiles = exports.updateFiles = exports.SUPPORTED_ATTACHMENT_FILE_TYPES = 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 = void 0;
|
|
40
|
+
exports.updateRemiListSearchResult = exports.updateRemiListUIState = exports.updateRemiDetailSaveRemiCode = exports.updateRemiListSubTab = exports.updateRemiListTab = exports.fetchRemiListPerTab = exports.fetchRemiList = exports.getRemiDownloadList = exports.getRemiList = exports.toRemiTabTypeStrict = exports.toRemiTabType = exports.toRemiSubTabTypeStrict = exports.toRemiSubTabType = exports.deleteUserBankAccount = exports.createUserBankAccount = exports.resetCreateBankAccountDetails = exports.createInternationalBankAccount = exports.createBankAccount = exports.deleteBankAccount = exports.fetchBankCountryNameByIban = exports.fetchBankNameBySwift = exports.fetchBankNameByRouting = exports.fetchVendorDetailPageView = exports.fetchVendorDetails = exports.updateStatusForCreateBankAccountFlow = exports.clearBankAccountView = exports.updateInternationalBankAccountViewLocalStoreData = exports.updateBankAccountViewLocalStoreData = exports.initializeVendorAddress = exports.updateSelectedVendorForCreateFlow = exports.removeBankAccountsInVendorView = exports.saveVendor = exports.fetchVendor = exports.updateScrollYOffset = exports.fetchVendorsList = exports.vendorsTabResetVendorDetailLocalData = exports.vendorsTabUpdateVendorDetailLocalData = exports.vendorsTabSaveVendorSuccessOrFailure = exports.vendorsTabSaveVendor = exports.getVendorsTabDetailPageView = exports.toVendorDetailTabsType = exports.getVendorAllTransactionsDefaultTimePeriod = exports.resetVendorsTabVendorAllTransactionsTabData = exports.resetSelectedTabType = exports.updateVendorsTabVendorAllTransactionsTabData = exports.updateVendorSpendTrendFilterTabValue = exports.updateSelectedTabType = exports.fetchVendorsTabVendorDetailPageView = exports.getVendorDetailPageView = exports.getVendorView = void 0;
|
|
41
|
+
exports.hideCreatedByFilter = exports.fetchVendorAndUpdateBillLocalData = exports.convertAmountToHomeCurrency = exports.toPaymentToOption = exports.updateVendorContact = exports.verifyUser = exports.fetchUserDetails = exports.updateBillListSearchResult = exports.updateBillUploadFetchState = exports.updateContactsInVendorDetailLocalData = exports.resetVendorDetailLocalData = exports.updateVendorDetailLocalData = exports.BILL_PAY_FILTER_CATEGORIES = exports.updateBillListUIState = exports.saveVendorSuccessOrFailure = exports.updateShowAutofill = exports.fetchBillAndInitializeLocalStore = exports.getReviewPageBillDetail = exports.getEditBillDetail = exports.clearBillPayReview = exports.fetchDuplicateBill = exports.fetchAndUpdateVendorRecommendations = exports.fetchEditBillDetailPage = exports.fetchBillDetail = exports.getBillTransactionDetailKey = exports.checkApproveRejectBtnShowForBill = exports.getBillDetailView = exports.getBillDownloadList = exports.getBillList = exports.cancelAndDeleteBill = exports.deleteBill = exports.updateApprovalStatusOnSuccess = exports.approveOrRejectBill = exports.saveBillDetail = exports.discardBillUpdatesInLocalStore = exports.saveBillUpdatesToLocalStore = exports.fetchVendorByNameAndParseInvoice = exports.updateBillDetailSaveBillCode = exports.updateSelectedBillId = exports.updateSubTab = exports.updateTab = exports.fetchBillListPerTab = exports.fetchBillList = exports.getClassList = exports.updateBillListDownloadUIState = exports.updateRemiListDownloadUIState = exports.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED = exports.REIMBURSEMENT_FILTER_CATEGORIES = exports.updateRemiListFilterResult = exports.updateBillListFilterResult = void 0;
|
|
42
|
+
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.getPlaidAccountDetails = 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.updatePrimaryFundingAccount = exports.updateMappedCashAccount = exports.establishPlaidConnection = exports.updatePaymentAccountStatus = exports.updatePaymentAccountLoginStatus = exports.updatePaymentAccount = exports.updateBusinessVerificationDetails = exports.updateSetupViewLocalStoreData = exports.updateSelectedCompanyOfficer = exports.getPlaidLinkToken = exports.getPaymentAccounts = exports.enableSetup = exports.fetchZeniAccountSetupView = exports.fetchBillPaySetupView = void 0;
|
|
43
|
+
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 = exports.clearBillPaySetupApproverViewUpdateData = exports.initializeBillPaySetupApproverViewUpdateData = exports.saveBillPaySetupApproverViewUpdates = exports.saveBillPaySetupApproverViewUpdateData = exports.deleteBillPayApprovalRule = exports.fetchBillPayApproversList = exports.fetchBillPayApproversDetails = exports.fetchBillPaySetupApproverView = exports.getBillPaySetupApproverUpdateDataView = exports.getBillPaySetupApproverView = exports.toRoleTypeStrict = void 0;
|
|
44
|
+
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.toProductTypeStrict = exports.toProductType = exports.saveOnboardingCustomerCompletedStatus = exports.fetchOnboardingCompletedCompanies = exports.fetchCompanyOnboardingView = exports.PAYMENT_BUSINESS_DAYS = exports.holidaysFormatted = exports.isHoliday = exports.getYearsList = exports.filterDays = exports.isHolidayToday = exports.getPreviousNthWorkingDay = exports.getNextNthWorkingDay = exports.toFileTypeStrict = exports.ALL_FILE_TYPES = exports.isAllFetchCompleted = exports.isAnyFetchInProgress = exports.reduceAnyCompletedFetchState = exports.reduceAllFetchState = exports.reduceAnyFetchState = exports.reduceFetchState = exports.clearAddRemiAutoFields = exports.clearTentativeMerchantName = exports.updateTentativeMerchantNames = void 0;
|
|
45
|
+
exports.fetchDepositAccountTransactionList = exports.fetchDepositAccountHistoryFailure = exports.fetchDepositAccountHistorySuccess = exports.updateDepositAccount = exports.getCheckDepositDetail = exports.clearCheckDeposit = exports.updateCheckDepositLocalData = exports.depositCheck = exports.ZENI_ACCOUNTS_TAB = exports.fetchDepositAccountDetail = exports.fetchReviewTransferDetail = exports.clearReviewTransferDetail = exports.clearTransferDetail = exports.getTransferDetail = exports.transferMoney = exports.updateDepositToLocalData = exports.updateTransferToLocalData = exports.updateTransferMoneyLocalData = exports.fetchZeniAccountsConfig = exports.fetchDepositAccount = exports.getDepositAccountDetailForPDF = exports.getAllDepostAccounts = exports.getDepositAccountDetail = exports.unlinkPaymentAccount = exports.fetchPaymentAccountList = exports.createCheckingAccount = exports.updateZeniAccountListTab = exports.fetchZeniAccountList = exports.getZeniAccountList = exports.getZeniAccountsConfigDetail = exports.fetchOwnerList = exports.fetchRecommendationByEntityName = exports.fetchRecommendationByEntityId = exports.fetchEntityRecommendationsByTransactionId = 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.isVerifiedStatusCode = exports.getActualPaymentDate = void 0;
|
|
46
|
+
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 = 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 = void 0;
|
|
47
|
+
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 = 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 = void 0;
|
|
48
|
+
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.fetchVendorTabView = exports.resetMarkAsCompleteStatus = exports.markAsCompleteScheduleDetail = exports.getDefaultSelectedTimeframeForScheduleType = exports.getFetchStateForScheduleListByType = exports.updatedJELinkWithRecommendedLocalData = exports.resetJELinkInLocalData = exports.updateAmountsInScheduleDetail = exports.updatedJELinkInLocalData = exports.getThirdPartyIDFromQBOURL = exports.getQBOUrlForLink = exports.updatedSelectedJELinkRowIndex = exports.updateScheduleListDownloadState = exports.updateScheduleDetailsLocalData = exports.createNewSchedules = exports.deleteScheduleDetail = exports.saveScheduleDetails = exports.fetchScheduleDetailsPage = exports.getScheduleDetailsView = exports.fetchScheduleDetails = exports.updateSelectedJEScheduleKey = exports.updateScheduleListSortState = exports.updateScheduleListScrollState = exports.updateScheduleListSearchText = exports.updateScheduleListSubTab = exports.toScheduleSubTabType = exports.toScheduleListTabsFileTypeStrict = exports.toScheduleTypesTypeStrict = exports.toScheduleTypesType = exports.getFetchStateForScheduleAccountList = exports.updateScheduleListLocalData = exports.fetchSchedulesAccount = exports.fetchDownloadSchedules = exports.fetchScheduleList = void 0;
|
|
49
|
+
exports.updateCommentsNotificationsStatuses = exports.updateCommentsNotifications = exports.toNotificationModeStrict = exports.fetchZeniAccountsPromoCard = exports.getZeniAccountsPromoCard = exports.getAuthenticationView = exports.fetchCollaborationAuthToken = exports.clearAuditReportGroupViewByCompanyId = exports.fetchAuditReportGroupView = exports.fetchAuditRuleGroupView = exports.getAuditRuleGroupViewSelectorView = exports.getAuditReportGroupViewSelectorView = exports.deleteTag = exports.createTag = exports.fetchTagList = exports.getAllTags = exports.discardTaskUpdatesInLocalStore = exports.deleteTask = exports.TASK_LIST_FILTER_CATEGORIES = exports.updateTaskFilters = exports.allTaskPriority = exports.allTaskStatus = exports.updateTaskListUIState = exports.updateTaskListSearchText = exports.archiveTask = exports.saveTaskDetail = exports.saveTaskUpdatesToLocalStore = exports.fetchTaskDetailPage = exports.getTaskDetail = exports.fetchTaskListPage = exports.getAllTasks = exports.toRecurringBillFrequencyStrict = exports.toRecurringBillFrequency = exports.updateArAgingNodeCollapseState = exports.getArAgingDetailForCustomer = exports.getArAgingReport = exports.updateArAgingDetailUIState = exports.fetchArAgingDetail = exports.updateArAgingUIState = exports.fetchArAging = exports.toVendorGlobalReviewColumnSortKeyType = exports.getTenantMerchantByMerchantId = exports.getVendorGlobalReviewView = exports.updateVendorGlobalReviewViewUIState = exports.updateSelectedGlobalMerchant = exports.fetchVendorGlobalReviewView = exports.rejectVendorGlobalReview = exports.approveVendorGlobalReview = exports.getGlobalMerchantView = exports.clearGlobalMerchantView = void 0;
|
|
50
|
+
exports.getCompanyTaskManagerView = exports.fetchCompanyTaskManagerView = exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = exports.getRewardsPlanCard = exports.fetchRewardsPlan = exports.resendReferralInvite = exports.updateReferralListSortUiState = exports.saveReferralFormDataInLocalStore = exports.clearReferrals = exports.sendReferralInvite = exports.fetchReferrals = exports.AmountStatusTypes = exports.StatusTypes = exports.toReferralListViewSortKeyType = exports.getInviteFormView = exports.getReferralListView = exports.getNotificationsForSelectedSubTab = exports.getExternalNotificationsForSelectedSubTab = exports.getNotificationView = exports.updateNotificationViewUIState = exports.updateNotificationViewSubTab = exports.updateNotificationViewCurrentTabAndSubTab = exports.updateNotificationViewTabState = exports.updateNotificationViewNotificationStatus = exports.updateNotificationViewAllNotificationsStatus = exports.fetchNotificationUnreadCountSuccess = exports.fetchNotificationUnreadCount = exports.fetchNotificationView = exports.toNotificationTabTypeStrict = exports.toNotificationSubTabTypeStrict = void 0;
|
|
51
51
|
const zeniDayJS_1 = require("./zeniDayJS");
|
|
52
52
|
Object.defineProperty(exports, "Dayjs", { enumerable: true, get: function () { return zeniDayJS_1.Dayjs; } });
|
|
53
53
|
Object.defineProperty(exports, "updateZeniDateLocaleID", { enumerable: true, get: function () { return zeniDayJS_1.updateZeniDateLocaleID; } });
|
|
@@ -168,6 +168,10 @@ Object.defineProperty(exports, "toAccountGroupType", { enumerable: true, get: fu
|
|
|
168
168
|
Object.defineProperty(exports, "getAccountGroupKey", { enumerable: true, get: function () { return accountGroupState_1.getAccountGroupKey; } });
|
|
169
169
|
const forecastSelector_1 = require("./entity/forecast/forecastSelector");
|
|
170
170
|
Object.defineProperty(exports, "getForecast", { enumerable: true, get: function () { return forecastSelector_1.getForecast; } });
|
|
171
|
+
var userSelector_1 = require("./entity/user/userSelector");
|
|
172
|
+
Object.defineProperty(exports, "getUserByUserId", { enumerable: true, get: function () { return userSelector_1.getUserByUserId; } });
|
|
173
|
+
Object.defineProperty(exports, "getUsersByUserIds", { enumerable: true, get: function () { return userSelector_1.getUsersByUserIds; } });
|
|
174
|
+
Object.defineProperty(exports, "getAllZeniUsersFromState", { enumerable: true, get: function () { return userSelector_1.getAllZeniUsersFromState; } });
|
|
171
175
|
const userRoleSelector_1 = require("./entity/userRole/userRoleSelector");
|
|
172
176
|
Object.defineProperty(exports, "getUserRoleByUserId", { enumerable: true, get: function () { return userRoleSelector_1.getUserRoleByUserId; } });
|
|
173
177
|
Object.defineProperty(exports, "getUserRoleByUserIds", { enumerable: true, get: function () { return userRoleSelector_1.getUserRoleByUserIds; } });
|
|
@@ -601,6 +605,7 @@ Object.defineProperty(exports, "ALL_ACCOUNTING_CONNECTION_CREATION_MODES", { enu
|
|
|
601
605
|
const companySelector_1 = require("./entity/company/companySelector");
|
|
602
606
|
Object.defineProperty(exports, "getCompanyByCompanyId", { enumerable: true, get: function () { return companySelector_1.getCompanyByCompanyId; } });
|
|
603
607
|
Object.defineProperty(exports, "getControllersForCompany", { enumerable: true, get: function () { return companySelector_1.getControllersForCompany; } });
|
|
608
|
+
Object.defineProperty(exports, "getCompanyInfoForAllCockpitCompaniesInState", { enumerable: true, get: function () { return companySelector_1.getCompanyInfoForAllCockpitCompaniesInState; } });
|
|
604
609
|
const companyHelper_1 = require("./entity/company/companyHelper");
|
|
605
610
|
Object.defineProperty(exports, "getFirstControllerEmail", { enumerable: true, get: function () { return companyHelper_1.getFirstControllerEmail; } });
|
|
606
611
|
Object.defineProperty(exports, "getFirstControllerId", { enumerable: true, get: function () { return companyHelper_1.getFirstControllerId; } });
|
|
@@ -1028,6 +1033,7 @@ const reduceFetchState_1 = require("./commonStateTypes/reduceFetchState");
|
|
|
1028
1033
|
Object.defineProperty(exports, "reduceFetchState", { enumerable: true, get: function () { return reduceFetchState_1.reduceFetchState; } });
|
|
1029
1034
|
Object.defineProperty(exports, "reduceAnyFetchState", { enumerable: true, get: function () { return reduceFetchState_1.reduceAnyFetchState; } });
|
|
1030
1035
|
Object.defineProperty(exports, "reduceAllFetchState", { enumerable: true, get: function () { return reduceFetchState_1.reduceAllFetchState; } });
|
|
1036
|
+
Object.defineProperty(exports, "reduceAnyCompletedFetchState", { enumerable: true, get: function () { return reduceFetchState_1.reduceAnyCompletedFetchState; } });
|
|
1031
1037
|
Object.defineProperty(exports, "isAnyFetchInProgress", { enumerable: true, get: function () { return reduceFetchState_1.isAnyFetchInProgress; } });
|
|
1032
1038
|
Object.defineProperty(exports, "isAllFetchCompleted", { enumerable: true, get: function () { return reduceFetchState_1.isAllFetchCompleted; } });
|
|
1033
1039
|
const fileType_1 = require("./commonStateTypes/fileType");
|
|
@@ -11,7 +11,7 @@ const fetchCollaborationAuthTokenEpic = (actions$, _state$, zeniAPI) => actions$
|
|
|
11
11
|
group_id,
|
|
12
12
|
};
|
|
13
13
|
return zeniAPI
|
|
14
|
-
.getJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/
|
|
14
|
+
.getJSON(`${zeniAPI.apiEndPoints.tenantMicroServiceBaseUrl}/1.0/cord/auth?query=${JSON.stringify(query)}`)
|
|
15
15
|
.pipe((0, operators_1.mergeMap)((response) => {
|
|
16
16
|
if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
|
|
17
17
|
const actions = [
|
|
@@ -144,6 +144,7 @@ const removeDuplicatesFromCompaniesArray = (companies) => {
|
|
|
144
144
|
});
|
|
145
145
|
};
|
|
146
146
|
const getCategoryValueForCompany = (key, company) => {
|
|
147
|
+
var _a, _b, _c;
|
|
147
148
|
const firstControllerId = (0, companyHelper_1.getFirstControllerIdFromControllers)(company.controllers);
|
|
148
149
|
const customerSuccessManagerIds = (0, companyHelper_1.getFirstControllerId)(company.managegmentInfo.customerSuccessManagerUserIds);
|
|
149
150
|
const runway = (0, exports.getRunwayInfinity)(company.companyHealthMetric.runway);
|
|
@@ -153,17 +154,11 @@ const getCategoryValueForCompany = (key, company) => {
|
|
|
153
154
|
case 'customerSuccessManager':
|
|
154
155
|
return customerSuccessManagerIds;
|
|
155
156
|
case 'lastReportSent':
|
|
156
|
-
return company.managegmentInfo.lastReportSentDate
|
|
157
|
-
? company.managegmentInfo.lastReportSentDate
|
|
158
|
-
: undefined;
|
|
157
|
+
return (_a = company.managegmentInfo.lastReportSentDate) !== null && _a !== void 0 ? _a : undefined;
|
|
159
158
|
case 'subscriptionStartDate':
|
|
160
|
-
return company.companyHealthMetric.subscriptionStartDate
|
|
161
|
-
? company.companyHealthMetric.subscriptionStartDate
|
|
162
|
-
: undefined;
|
|
159
|
+
return (_b = company.companyHealthMetric.subscriptionStartDate) !== null && _b !== void 0 ? _b : undefined;
|
|
163
160
|
case 'subscriptionRenewalDate':
|
|
164
|
-
return company.companyHealthMetric.subscriptionRenewalDate
|
|
165
|
-
? company.companyHealthMetric.subscriptionRenewalDate
|
|
166
|
-
: undefined;
|
|
161
|
+
return (_c = company.companyHealthMetric.subscriptionRenewalDate) !== null && _c !== void 0 ? _c : undefined;
|
|
167
162
|
case 'runway':
|
|
168
163
|
return runway != null ? runway.toString() : undefined;
|
|
169
164
|
case 'verticalProductServices':
|
|
@@ -351,8 +346,6 @@ const sortAndFilterCompanies = (sortKey, sortOrder, filterText, filters, compani
|
|
|
351
346
|
switch (sortKey) {
|
|
352
347
|
case 'productVerticals':
|
|
353
348
|
return company.noOfProductVerticalsEnabled;
|
|
354
|
-
case 'issues':
|
|
355
|
-
return company.companyHealthMetric.issueCount;
|
|
356
349
|
case 'churnProbability':
|
|
357
350
|
return company.companyHealthMetric.churnProbabilityPercentage;
|
|
358
351
|
case 'runway':
|
|
@@ -374,8 +367,8 @@ const sortAndFilterCompanies = (sortKey, sortOrder, filterText, filters, compani
|
|
|
374
367
|
return (0, userSelector_1.getUserNameById)(userState, company.managegmentInfo.controllerUserIds[0]).toLowerCase();
|
|
375
368
|
case 'customerSuccessManager':
|
|
376
369
|
return (0, userSelector_1.getUserNameById)(userState, company.managegmentInfo.customerSuccessManagerUserIds[0]).toLowerCase();
|
|
377
|
-
default:
|
|
378
370
|
case 'companyName':
|
|
371
|
+
default:
|
|
379
372
|
return company.companyInfo.name;
|
|
380
373
|
}
|
|
381
374
|
}, sortOrderKey);
|
|
@@ -4,10 +4,10 @@ import { NotificationTabState, NotificationTabType, NotificationViewState, Notif
|
|
|
4
4
|
import { NotificationGroup } from '../../entity/notification/types/notificationTypes';
|
|
5
5
|
import { PageToken } from '../../commonStateTypes/viewAndReport/viewAndReport';
|
|
6
6
|
export declare const initialState: NotificationViewState;
|
|
7
|
-
export declare const fetchNotificationView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationGroup: "task_manager", mode?: "dashboard" | "email" | undefined, status?: ("
|
|
7
|
+
export declare const fetchNotificationView: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationGroup: "task_manager", mode?: "dashboard" | "email" | undefined, status?: ("read" | "unread")[] | undefined, isNewNotificationFetch?: boolean | undefined], {
|
|
8
8
|
notificationGroup: "task_manager";
|
|
9
9
|
mode: "dashboard" | "email";
|
|
10
|
-
status: ("
|
|
10
|
+
status: ("read" | "unread")[];
|
|
11
11
|
isNewNotificationFetch: boolean;
|
|
12
12
|
}, string, never, never>, fetchNotificationViewSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notifications: NotificationPayload[], totalCount: number, notificationGroup: "task_manager", pageToken: PageToken], {
|
|
13
13
|
notifications: NotificationPayload[];
|
|
@@ -26,9 +26,9 @@ export declare const fetchNotificationView: import("@reduxjs/toolkit").ActionCre
|
|
|
26
26
|
}, string, never, never>, fetchNotificationUnreadCountFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
27
27
|
status: ZeniAPIStatus;
|
|
28
28
|
notificationGroup: NotificationGroup;
|
|
29
|
-
}, string>, updateNotificationViewNotificationStatus: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationGroup: "task_manager", status: "
|
|
29
|
+
}, string>, updateNotificationViewNotificationStatus: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationGroup: "task_manager", status: "read" | "unread", notificationIds?: string[] | undefined, showSnackBarOnSuccess?: any], {
|
|
30
30
|
notificationGroup: "task_manager";
|
|
31
|
-
status: "
|
|
31
|
+
status: "read" | "unread";
|
|
32
32
|
notificationIds: string[];
|
|
33
33
|
showSnackBarOnSuccess: any;
|
|
34
34
|
}, string, never, never>, updateNotificationViewNotificationStatusSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationGroup: "task_manager", reduceUnreadCountBy: number], {
|
|
@@ -37,9 +37,9 @@ export declare const fetchNotificationView: import("@reduxjs/toolkit").ActionCre
|
|
|
37
37
|
}, string, never, never>, updateNotificationViewNotificationStatusFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
38
38
|
status: ZeniAPIStatus;
|
|
39
39
|
notificationGroup: NotificationGroup;
|
|
40
|
-
}, string>, updateNotificationViewAllNotificationsStatus: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationGroup: "task_manager", status: "
|
|
40
|
+
}, string>, updateNotificationViewAllNotificationsStatus: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationGroup: "task_manager", status: "read" | "unread"], {
|
|
41
41
|
notificationGroup: "task_manager";
|
|
42
|
-
status: "
|
|
42
|
+
status: "read" | "unread";
|
|
43
43
|
}, string, never, never>, updateNotificationViewAllNotificationsStatusSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationGroup: "task_manager"], {
|
|
44
44
|
notificationGroup: "task_manager";
|
|
45
45
|
}, string, never, never>, updateNotificationViewAllNotificationsStatusFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
@@ -48,11 +48,11 @@ export declare const fetchNotificationView: import("@reduxjs/toolkit").ActionCre
|
|
|
48
48
|
}, string>, updateNotificationViewTabState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[notificationTabState: Partial<NotificationTabState>, tab: "tasks" | "comments"], {
|
|
49
49
|
notificationTabState: Partial<NotificationTabState>;
|
|
50
50
|
tab: "tasks" | "comments";
|
|
51
|
-
}, string, never, never>, updateNotificationViewCurrentTabAndSubTab: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[newTab: "tasks" | "comments", newSubTab?: "all" | "
|
|
51
|
+
}, string, never, never>, updateNotificationViewCurrentTabAndSubTab: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[newTab: "tasks" | "comments", newSubTab?: "all" | "read" | "unread" | "mentions" | undefined], {
|
|
52
52
|
newTab: "tasks" | "comments";
|
|
53
|
-
newSubTab: "all" | "
|
|
54
|
-
}, string, never, never>, updateNotificationViewSubTab: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[newSubTab: "all" | "
|
|
55
|
-
newSubTab: "all" | "
|
|
53
|
+
newSubTab: "all" | "read" | "unread" | "mentions" | undefined;
|
|
54
|
+
}, string, never, never>, updateNotificationViewSubTab: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[newSubTab: "all" | "read" | "unread" | "mentions"], {
|
|
55
|
+
newSubTab: "all" | "read" | "unread" | "mentions";
|
|
56
56
|
}, string, never, never>, updateNotificationViewUIState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[uiState: Partial<NotificationViewUIState>, tab: "tasks" | "comments"], {
|
|
57
57
|
uiState: Partial<NotificationViewUIState>;
|
|
58
58
|
tab: "tasks" | "comments";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CoreNotificationData } from '@cord-sdk/types';
|
|
2
1
|
import { RootState } from '../../reducer';
|
|
3
2
|
import { NotificationSubTabType, NotificationTabType, NotificationTabState } from './notificationViewState';
|
|
4
3
|
import { NotificationWithAuthors } from '../../entity/notification/types/notificationSelectorTypes';
|
|
5
4
|
import { View } from '../../commonStateTypes/viewAndReport/viewAndReport';
|
|
6
5
|
import { FetchStateAndError, ID } from '../../commonStateTypes/common';
|
|
6
|
+
import { CustomNotificationData } from '../../entity/notification/types/notificationTypes';
|
|
7
7
|
interface NotificationDetails extends NotificationTabState {
|
|
8
8
|
allNotificationsIdsForSubTab: ID[];
|
|
9
9
|
selectedNotificationIdsForSubTab: ID[];
|
|
@@ -14,9 +14,9 @@ export interface NotificationView extends View {
|
|
|
14
14
|
allSubTabs: NotificationSubTabType[];
|
|
15
15
|
notificationDetailsByTab: Record<NotificationTabType, NotificationDetails>;
|
|
16
16
|
allNotifications: NotificationWithAuthors[];
|
|
17
|
-
allExternalNotifications:
|
|
17
|
+
allExternalNotifications: CustomNotificationData[];
|
|
18
18
|
notificationsForCurrentTabAndSubTab: NotificationWithAuthors[];
|
|
19
|
-
externalNotificationsForCurrentTabAndSubTab:
|
|
19
|
+
externalNotificationsForCurrentTabAndSubTab: CustomNotificationData[];
|
|
20
20
|
reducedFetchCountState: FetchStateAndError;
|
|
21
21
|
totalUnreadCount: number;
|
|
22
22
|
}
|
|
@@ -25,5 +25,5 @@ export declare const getNotificationView: (state: RootState) => NotificationView
|
|
|
25
25
|
* Helpers
|
|
26
26
|
*/
|
|
27
27
|
export declare const getNotificationsForSelectedSubTab: (notifications: NotificationWithAuthors[], currentSubTab: NotificationSubTabType) => NotificationWithAuthors[];
|
|
28
|
-
export declare const getExternalNotificationsForSelectedSubTab: (externalNotifications:
|
|
28
|
+
export declare const getExternalNotificationsForSelectedSubTab: (externalNotifications: CustomNotificationData[], currentSubTab: NotificationSubTabType) => CustomNotificationData[];
|
|
29
29
|
export {};
|
|
@@ -71,7 +71,6 @@ const getNotificationsForSelectedSubTab = (notifications, currentSubTab) => {
|
|
|
71
71
|
exports.getNotificationsForSelectedSubTab = getNotificationsForSelectedSubTab;
|
|
72
72
|
const getExternalNotificationsForSelectedSubTab = (externalNotifications, currentSubTab) => {
|
|
73
73
|
return externalNotifications.filter((externalNotification) => {
|
|
74
|
-
var _a;
|
|
75
74
|
switch (currentSubTab) {
|
|
76
75
|
case 'all':
|
|
77
76
|
return true;
|
|
@@ -80,7 +79,7 @@ const getExternalNotificationsForSelectedSubTab = (externalNotifications, curren
|
|
|
80
79
|
case 'unread':
|
|
81
80
|
return externalNotification.readStatus === 'unread';
|
|
82
81
|
case 'mentions':
|
|
83
|
-
return
|
|
82
|
+
return externalNotification.notification.includes('mention');
|
|
84
83
|
default:
|
|
85
84
|
return false;
|
|
86
85
|
}
|
|
@@ -5,8 +5,8 @@ export declare const toNotificationTabType: (v: string) => "tasks" | "comments";
|
|
|
5
5
|
export declare const toNotificationTabTypeStrict: (v: string) => "tasks" | "comments" | undefined;
|
|
6
6
|
export declare type NotificationTabType = ReturnType<typeof toNotificationTabType>;
|
|
7
7
|
export declare const ALL_NOTIFICATION_SUB_TABS: readonly ["all", "read", "unread", "mentions"];
|
|
8
|
-
export declare const toNotificationSubTabType: (v: string) => "all" | "
|
|
9
|
-
export declare const toNotificationSubTabTypeStrict: (v: string) => "all" | "
|
|
8
|
+
export declare const toNotificationSubTabType: (v: string) => "all" | "read" | "unread" | "mentions";
|
|
9
|
+
export declare const toNotificationSubTabTypeStrict: (v: string) => "all" | "read" | "unread" | "mentions" | undefined;
|
|
10
10
|
export declare type NotificationSubTabType = ReturnType<typeof toNotificationSubTabType>;
|
|
11
11
|
export interface NotificationViewUIState {
|
|
12
12
|
pageToken: PageToken;
|
|
@@ -13,7 +13,7 @@ export declare const fetchPeopleEpic: (actions$: ActionsObservable<ActionType>,
|
|
|
13
13
|
type: string;
|
|
14
14
|
} | {
|
|
15
15
|
payload: {
|
|
16
|
-
users: import("
|
|
16
|
+
users: import("../..").UserPayload[];
|
|
17
17
|
updateType?: import("../..").UpdateType | undefined;
|
|
18
18
|
};
|
|
19
19
|
type: string;
|
|
@@ -14,7 +14,7 @@ export declare const invitePeopleEpic: (actions$: ActionsObservable<ActionType>,
|
|
|
14
14
|
type: string;
|
|
15
15
|
} | {
|
|
16
16
|
payload: {
|
|
17
|
-
users: import("
|
|
17
|
+
users: import("../..").UserPayload[];
|
|
18
18
|
updateType?: import("../..").UpdateType | undefined;
|
|
19
19
|
};
|
|
20
20
|
type: string;
|
|
@@ -11,7 +11,7 @@ export declare const inviteZeniPeopleEpic: (actions$: ActionsObservable<ActionTy
|
|
|
11
11
|
type: string;
|
|
12
12
|
} | {
|
|
13
13
|
payload: {
|
|
14
|
-
users: import("
|
|
14
|
+
users: import("../..").UserPayload[];
|
|
15
15
|
updateType?: import("../..").UpdateType | undefined;
|
|
16
16
|
};
|
|
17
17
|
type: string;
|
|
@@ -8,7 +8,7 @@ import { UserListType } from './userListViewState';
|
|
|
8
8
|
export declare type ActionType = ReturnType<typeof fetchUserListByType> | ReturnType<typeof updateAllUsers> | ReturnType<typeof updateUserRoles> | ReturnType<typeof updateUserIds> | ReturnType<typeof updateUserListFetchFailure>;
|
|
9
9
|
export declare const fetchUserListByTypeEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>, zeniAPI: ZeniAPI) => import("rxjs").Observable<{
|
|
10
10
|
payload: {
|
|
11
|
-
users: import("
|
|
11
|
+
users: import("../..").UserPayload[];
|
|
12
12
|
updateType?: import("../..").UpdateType | undefined;
|
|
13
13
|
};
|
|
14
14
|
type: string;
|
|
@@ -18,7 +18,7 @@ export declare const fetchUserListByTypeEpic: (actions$: ActionsObservable<Actio
|
|
|
18
18
|
} | {
|
|
19
19
|
payload: {
|
|
20
20
|
userType: UserListType;
|
|
21
|
-
usersPayload: import("
|
|
21
|
+
usersPayload: import("../..").UserPayload[];
|
|
22
22
|
};
|
|
23
23
|
type: string;
|
|
24
24
|
} | {
|
package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorFirstReviewViewEpic.js
CHANGED
|
@@ -66,13 +66,11 @@ const saveVendorFirstReviewViewEpic = (actions$, state$, zeniAPI) => actions$.pi
|
|
|
66
66
|
}
|
|
67
67
|
else {
|
|
68
68
|
actions.push((0, snackbarReducer_1.openSnackbar)({
|
|
69
|
-
messageSection: payload.
|
|
69
|
+
messageSection: payload.is_employee === true
|
|
70
70
|
? 'save_vendor_marked_as_employee'
|
|
71
71
|
: 'save_vendor_sent_for_review',
|
|
72
72
|
messageText: 'success',
|
|
73
|
-
type: payload.
|
|
74
|
-
? 'success'
|
|
75
|
-
: 'info',
|
|
73
|
+
type: payload.is_employee === true ? 'success' : 'info',
|
|
76
74
|
variables: [
|
|
77
75
|
{
|
|
78
76
|
variableName: '_vendor_name_',
|
|
@@ -156,7 +154,7 @@ const prepareSaveVendorFirstReviewViewPayload = (vendorName, recommendations, no
|
|
|
156
154
|
qbo_id: vendorQboId !== null && vendorQboId !== void 0 ? vendorQboId : null,
|
|
157
155
|
selected_global_merchant: markAsEmployee === true ? null : selectedGlobalMerchantBase,
|
|
158
156
|
recommendations: (0, commonTypes_2.toVendorReviewViewRecommendationPayload)(recommendations, nonExistingRecommendations),
|
|
159
|
-
|
|
157
|
+
is_employee: markAsEmployee,
|
|
160
158
|
};
|
|
161
159
|
return payload;
|
|
162
160
|
};
|
|
@@ -49,7 +49,7 @@ export interface SaveVendorFirstReviewViewQueryPayload {
|
|
|
49
49
|
vendor_name: string;
|
|
50
50
|
qbo_id: string | null;
|
|
51
51
|
selected_global_merchant: AllGlobalMerchantBasePayload | null;
|
|
52
|
-
|
|
52
|
+
is_employee: boolean;
|
|
53
53
|
recommendations: VendorReviewViewAllRecommendationsPayload;
|
|
54
54
|
}
|
|
55
55
|
export declare type SaveVendorFirstReviewResponse = ZeniAPIResponse<SaveVendorFirstReviewView>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.10.
|
|
3
|
+
"version": "4.10.80",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/zeni-ai/client-epic-state#readme",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@cord-sdk/types": "^1.45.1",
|
|
29
28
|
"@types/chai": "^4.2.11",
|
|
30
29
|
"@types/jest": "^29.4.0",
|
|
31
30
|
"@types/lodash": "^4.14.178",
|