@zeniai/client-epic-state 4.11.73 → 4.11.75
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/index.d.ts
CHANGED
|
@@ -465,7 +465,7 @@ export { fetchEditRemiDetailPage, fetchRecommendationsAndUpdateMerchantRecommend
|
|
|
465
465
|
import { CustomerRatingCodeType, TeamRatingCodeType } from './entity/customerSatisfaction/customerSatisfactionState';
|
|
466
466
|
import { CustomerSatisfactionInfo } from './entity/customerSatisfaction/customerSatisfactionSelectorReducerTypes';
|
|
467
467
|
import { clearOnboardingCustomerViewUpdateData, fetchCompanyOnboardingView, getOnboardingEmailGroup, initializeOnboardingCustomerViewUpdateData, saveOnboardingCustomerViewUpdateData, saveOnboardingCustomerViewUpdates, saveOnboardingCustomerNotes, saveOnboardingCustomerCompletedStatus, updateOnboardingCustomerListUIState, updateStatusAfterOnboardingCompleted, updateCustomerCreationStatus, fetchOnboardingCompletedCompanies, saveOnboardingCustomerDataInLocalStore, updateOnboardingCustomerDataInLocalStore, resetNewOnboardedCustomerId, sendOnboardingCustomerViewInvite, retryBankAccountConnectionForOnboarding } from './view/onboardingView/cockpitView/onboardingCockpitViewReducer';
|
|
468
|
-
import { getNewOnboardingCustomerView, getOnboardingCockpitView, NewOnboardingCustomerView, OnboardingCockpitView, ProductInfo } from './view/onboardingView/cockpitView/onboardingCockpitViewSelector';
|
|
468
|
+
import { getNewOnboardingCustomerView, getOnboardingCockpitView, NewOnboardingCustomerView, OnboardingCockpitView, ProductInfo, NewOnboardingCustomerLocalData } from './view/onboardingView/cockpitView/onboardingCockpitViewSelector';
|
|
469
469
|
import { CustomerCreationStatus, NewOnboardingCustomer, OnboardingCustomer, OnboardingCustomerCompletedStatus, OnboardingCompanyDetails, ProductType, ProductGroupType, toProductType, toProductTypeStrict } from './view/onboardingView/cockpitView/types/onboardingCockpitViewTypes';
|
|
470
470
|
import { OnboardingCustomerListUIState } from './view/onboardingView/cockpitView/onboardingCockpitViewState';
|
|
471
471
|
import { reduceFetchState, reduceAnyFetchState, reduceAllFetchState, reduceAnyCompletedFetchState, isAnyFetchInProgress, isAllFetchCompleted } from './commonStateTypes/reduceFetchState';
|
|
@@ -476,7 +476,7 @@ export { reduceFetchState, reduceAnyFetchState, reduceAllFetchState, reduceAnyCo
|
|
|
476
476
|
export { getNextNthWorkingDay, getPreviousNthWorkingDay, isHolidayToday, filterDays, getYearsList, isHoliday, holidaysFormatted, PAYMENT_BUSINESS_DAYS, };
|
|
477
477
|
export { CustomerRatingCodeType, TeamRatingCodeType };
|
|
478
478
|
export { CustomerSatisfactionInfo };
|
|
479
|
-
export { fetchCompanyOnboardingView, fetchOnboardingCompletedCompanies, saveOnboardingCustomerCompletedStatus, ProductType, ProductGroupType, toProductType, toProductTypeStrict, ProductInfo, getOnboardingCockpitView, getNewOnboardingCustomerView, getOnboardingEmailGroup, initializeOnboardingCustomerViewUpdateData, clearOnboardingCustomerViewUpdateData, saveOnboardingCustomerViewUpdateData, updateOnboardingCustomerListUIState, updateCustomerCreationStatus, updateStatusAfterOnboardingCompleted, saveOnboardingCustomerViewUpdates, saveOnboardingCustomerNotes, saveOnboardingCustomerDataInLocalStore, updateOnboardingCustomerDataInLocalStore, NewOnboardingCustomer, OnboardingCustomer, OnboardingCockpitView, NewOnboardingCustomerView, OnboardingCustomerCompletedStatus, OnboardingCustomerListUIState, CustomerCreationStatus, OnboardingCompanyDetails, resetNewOnboardedCustomerId, sendOnboardingCustomerViewInvite, retryBankAccountConnectionForOnboarding, };
|
|
479
|
+
export { fetchCompanyOnboardingView, fetchOnboardingCompletedCompanies, saveOnboardingCustomerCompletedStatus, ProductType, ProductGroupType, toProductType, toProductTypeStrict, ProductInfo, getOnboardingCockpitView, getNewOnboardingCustomerView, getOnboardingEmailGroup, initializeOnboardingCustomerViewUpdateData, clearOnboardingCustomerViewUpdateData, saveOnboardingCustomerViewUpdateData, updateOnboardingCustomerListUIState, updateCustomerCreationStatus, updateStatusAfterOnboardingCompleted, saveOnboardingCustomerViewUpdates, saveOnboardingCustomerNotes, saveOnboardingCustomerDataInLocalStore, updateOnboardingCustomerDataInLocalStore, NewOnboardingCustomer, OnboardingCustomer, OnboardingCockpitView, NewOnboardingCustomerView, NewOnboardingCustomerLocalData, OnboardingCustomerCompletedStatus, OnboardingCustomerListUIState, CustomerCreationStatus, OnboardingCompanyDetails, resetNewOnboardedCustomerId, sendOnboardingCustomerViewInvite, retryBankAccountConnectionForOnboarding, };
|
|
480
480
|
import { TransactionListByCategoryType, getTransactionsListByCategoryType, getTransactionListUIStateByCategoryType } from './view/transactionList/transactionListByCategoryTypeSelector';
|
|
481
481
|
import { TransactionCategoryType } from './view/transactionList/transactionListState';
|
|
482
482
|
export { TransactionListByCategoryType, getTransactionsListByCategoryType, getTransactionListUIStateByCategoryType, TransactionCategoryType, };
|
|
@@ -14,7 +14,6 @@ export interface FetchRewardsPayload {
|
|
|
14
14
|
pending_bonus: AmountPayload;
|
|
15
15
|
earned_bonus: AmountPayload;
|
|
16
16
|
pending_referrals: number;
|
|
17
|
-
static_referral_link: string;
|
|
18
17
|
referees: InviteePayload[];
|
|
19
18
|
}
|
|
20
19
|
export interface ReferralPlanAmountPayload extends CurrencyPayload {
|
|
@@ -4,7 +4,7 @@ exports.toReferralInvitation = void 0;
|
|
|
4
4
|
const zeniDayJS_1 = require("../../zeniDayJS");
|
|
5
5
|
const toReferralInvitation = (payload) => {
|
|
6
6
|
const invitations = [];
|
|
7
|
-
payload.
|
|
7
|
+
payload.forEach((invitee) => {
|
|
8
8
|
invitations.push({
|
|
9
9
|
companyName: invitee.company_name,
|
|
10
10
|
statusCode: invitee.status_code,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.75",
|
|
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",
|
|
@@ -73,7 +73,8 @@
|
|
|
73
73
|
"word-wrap": "1.2.4",
|
|
74
74
|
"cross-fetch": "3.1.5",
|
|
75
75
|
"get-func-name": "2.0.2",
|
|
76
|
-
"@babel/traverse": "7.23.2"
|
|
76
|
+
"@babel/traverse": "7.23.2",
|
|
77
|
+
"braces": "^3.0.3"
|
|
77
78
|
},
|
|
78
79
|
"scripts": {
|
|
79
80
|
"clean": "rimraf lib",
|