@zeniai/client-epic-state 4.19.56 → 4.19.58
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/companyPayload.d.ts +12 -0
- package/lib/entity/company/companyPayload.js +20 -0
- package/lib/entity/company/companyStateTypes.d.ts +12 -0
- package/lib/esm/entity/chargeCardTransaction/chargeCardTransactionPayload.js +2 -2
- package/lib/esm/entity/company/companyPayload.js +20 -0
- package/lib/esm/index.js +5 -5
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/triggerReviewTabRefetchEpic.js +2 -3
- package/lib/esm/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +2 -2
- package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewSelector.js +20 -2
- package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +2 -1
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector.js +2 -2
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector.js +2 -2
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector.js +4 -1
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/fetchChargeCardRepaymentDetailEpic.js +2 -1
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic.js +1 -1
- package/lib/esm/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +64 -1
- package/lib/esm/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +14 -1
- package/lib/esm/view/spendManagement/commonSetup/setupViewSelector.js +14 -1
- package/lib/esm/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js +0 -1
- package/lib/index.d.ts +5 -5
- package/lib/index.js +13 -13
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/lib/view/expenseAutomationView/epics/transactionCategorization/triggerReviewTabRefetchEpic.js +2 -3
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +2 -2
- package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +20 -2
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/billPaySetupApproverViewReducer.js +2 -1
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector.js +2 -2
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector.js +2 -2
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector.js +4 -1
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/fetchChargeCardRepaymentDetailEpic.js +2 -1
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic.d.ts +1 -1
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic.js +1 -1
- package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +64 -1
- package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +14 -1
- package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +13 -0
- package/lib/view/spendManagement/commonSetup/setupViewSelector.js +14 -1
- package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +13 -0
- package/lib/view/spendManagement/commonSetup/types/businessVerification.d.ts +13 -0
- package/lib/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js +0 -1
- package/lib/view/spendManagement/reimbursement/remiDetailView/remiDetailViewPayload.d.ts +0 -1
- package/package.json +1 -1
|
@@ -36,6 +36,18 @@ export interface CompanyIncInfoPayload {
|
|
|
36
36
|
company_inc_state: string | null;
|
|
37
37
|
company_inc_state_code: string | null;
|
|
38
38
|
company_inc_type: string | null;
|
|
39
|
+
company_countries_of_operations?: string[] | null;
|
|
40
|
+
company_industry_sub_type?: string | null;
|
|
41
|
+
company_purpose_of_account?: string | null;
|
|
42
|
+
company_purpose_of_account_desc?: string | null;
|
|
43
|
+
company_regulated_states?: boolean | null;
|
|
44
|
+
company_regulated_states_desc?: string | null;
|
|
45
|
+
company_source_of_funds?: string | null;
|
|
46
|
+
company_source_of_funds_desc?: string | null;
|
|
47
|
+
company_transaction_vol_expectations?: string | null;
|
|
48
|
+
company_transaction_vol_expectations_desc?: string | null;
|
|
49
|
+
company_us_nexus?: boolean | null;
|
|
50
|
+
company_us_nexus_desc?: string[] | null;
|
|
39
51
|
file_ids?: ID[] | null;
|
|
40
52
|
}
|
|
41
53
|
export interface CompanyTaxInfoPayload {
|
|
@@ -56,6 +56,26 @@ const toCompanyIncInfo = (payload) => ({
|
|
|
56
56
|
companyIncStateCode: payload.company_inc_state_code ?? undefined,
|
|
57
57
|
companyIncCountryCode: payload.company_inc_country_code ?? undefined,
|
|
58
58
|
fileIds: payload.file_ids ?? [],
|
|
59
|
+
companySubIndustry: payload.company_industry_sub_type ?? undefined,
|
|
60
|
+
countriesOfOperations: payload.company_countries_of_operations ?? undefined,
|
|
61
|
+
companySourceOfFunds: payload.company_source_of_funds ?? undefined,
|
|
62
|
+
companySourceOfFundsDescription: payload.company_source_of_funds_desc ?? undefined,
|
|
63
|
+
transactionVolume: payload.company_transaction_vol_expectations ?? undefined,
|
|
64
|
+
transactionVolumeDescription: payload.company_transaction_vol_expectations_desc ?? undefined,
|
|
65
|
+
purposeOfAccount: payload.company_purpose_of_account ?? undefined,
|
|
66
|
+
purposeOfAccountDescription: payload.company_purpose_of_account_desc ?? undefined,
|
|
67
|
+
regulatedStatus: payload.company_regulated_states === true
|
|
68
|
+
? 'yes'
|
|
69
|
+
: payload.company_regulated_states === false
|
|
70
|
+
? 'no'
|
|
71
|
+
: undefined,
|
|
72
|
+
regulatedStatusDescription: payload.company_regulated_states_desc ?? undefined,
|
|
73
|
+
usNexus: payload.company_us_nexus === true
|
|
74
|
+
? 'yes'
|
|
75
|
+
: payload.company_us_nexus === false
|
|
76
|
+
? 'no'
|
|
77
|
+
: undefined,
|
|
78
|
+
usNexusTypes: payload.company_us_nexus_desc ?? undefined,
|
|
59
79
|
});
|
|
60
80
|
const toCompanyTaxInfo = (payload) => ({
|
|
61
81
|
taxesFiledDate: payload.taxes_filed_date != null
|
|
@@ -50,6 +50,18 @@ export interface CompanyIncInfo {
|
|
|
50
50
|
companyIncState?: string;
|
|
51
51
|
companyIncStateCode?: string;
|
|
52
52
|
companyIncType?: string;
|
|
53
|
+
companySourceOfFunds?: string;
|
|
54
|
+
companySourceOfFundsDescription?: string;
|
|
55
|
+
companySubIndustry?: string;
|
|
56
|
+
countriesOfOperations?: string[];
|
|
57
|
+
purposeOfAccount?: string;
|
|
58
|
+
purposeOfAccountDescription?: string;
|
|
59
|
+
regulatedStatus?: string;
|
|
60
|
+
regulatedStatusDescription?: string;
|
|
61
|
+
transactionVolume?: string;
|
|
62
|
+
transactionVolumeDescription?: string;
|
|
63
|
+
usNexus?: string;
|
|
64
|
+
usNexusTypes?: string[];
|
|
53
65
|
}
|
|
54
66
|
export interface CompanyTaxInfo {
|
|
55
67
|
taxesFiledYears: number[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { toURL } from '../../commonPayloadTypes/urlPayload';
|
|
2
2
|
import { toAmount } from '../../commonStateTypes/amount';
|
|
3
|
-
import {
|
|
3
|
+
import { dateLocal, dateNow } from '../../zeniDayJS';
|
|
4
4
|
import { toZeniUrl } from '../../zeniUrl';
|
|
5
|
-
import { toContentType
|
|
5
|
+
import { toContentType } from '../transaction/stateTypes/attachment';
|
|
6
6
|
import { toTransactionCategory } from '../transaction/stateTypes/transactionType';
|
|
7
7
|
import { toCardTransactionStatusCode, toCardTransactionTypeCode, } from './chargeCardTransaction';
|
|
8
8
|
const EXTENSION_TO_CONTENT_TYPE = {
|
|
@@ -53,6 +53,26 @@ const toCompanyIncInfo = (payload) => ({
|
|
|
53
53
|
companyIncStateCode: payload.company_inc_state_code ?? undefined,
|
|
54
54
|
companyIncCountryCode: payload.company_inc_country_code ?? undefined,
|
|
55
55
|
fileIds: payload.file_ids ?? [],
|
|
56
|
+
companySubIndustry: payload.company_industry_sub_type ?? undefined,
|
|
57
|
+
countriesOfOperations: payload.company_countries_of_operations ?? undefined,
|
|
58
|
+
companySourceOfFunds: payload.company_source_of_funds ?? undefined,
|
|
59
|
+
companySourceOfFundsDescription: payload.company_source_of_funds_desc ?? undefined,
|
|
60
|
+
transactionVolume: payload.company_transaction_vol_expectations ?? undefined,
|
|
61
|
+
transactionVolumeDescription: payload.company_transaction_vol_expectations_desc ?? undefined,
|
|
62
|
+
purposeOfAccount: payload.company_purpose_of_account ?? undefined,
|
|
63
|
+
purposeOfAccountDescription: payload.company_purpose_of_account_desc ?? undefined,
|
|
64
|
+
regulatedStatus: payload.company_regulated_states === true
|
|
65
|
+
? 'yes'
|
|
66
|
+
: payload.company_regulated_states === false
|
|
67
|
+
? 'no'
|
|
68
|
+
: undefined,
|
|
69
|
+
regulatedStatusDescription: payload.company_regulated_states_desc ?? undefined,
|
|
70
|
+
usNexus: payload.company_us_nexus === true
|
|
71
|
+
? 'yes'
|
|
72
|
+
: payload.company_us_nexus === false
|
|
73
|
+
? 'no'
|
|
74
|
+
: undefined,
|
|
75
|
+
usNexusTypes: payload.company_us_nexus_desc ?? undefined,
|
|
56
76
|
});
|
|
57
77
|
const toCompanyTaxInfo = (payload) => ({
|
|
58
78
|
taxesFiledDate: payload.taxes_filed_date != null
|
package/lib/esm/index.js
CHANGED
|
@@ -284,13 +284,13 @@ import { getChargeCardCVVActivateView, getChargeCardControlDetailView, getCharge
|
|
|
284
284
|
import { toChargeCardSortKeyType, } from './view/spendManagement/chargeCards/chargeCardList/chargeCardList';
|
|
285
285
|
import { closeChargeCards, fetchChargeCardList, fetchChargeCardListPage, fetchCreditAccount, fetchCreditAccountRepayment, fetchDebitCardSummary, lockChargeCards, resendCardInvite, revokeCardInvite, revokeChargeCardsInvite, unlockChargeCards, updateBulkActionCardIds, updateSearchText as updateChargeCardListSearchText, updateChargeCardListUIState, updateChargeCardsSpendLimit, updateRowActionCardId, } from './view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer';
|
|
286
286
|
import { anyCardOnHold, getChargeCardBulkActionView, getChargeCardListView, getChargeCardRecurringExpensesByCardIds, getChargeCardRowActionView, getCreditAccountDetails, getDebitCardList, getDebitCardSummary, getDepositAccountListWithDebitCardIssued, getMyPendingActivationChargeCardListView, getMyRequestOnHoldChargeCardListWithShippingAddress, } from './view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector';
|
|
287
|
-
import { clearChargeCardRepaymentDetail, fetchChargeCardRepaymentDetail, initiateChargeCardRepayment, updateChargeCardRepaymentLocalStore, } from './view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer';
|
|
288
|
-
import { getChargeCardRepaymentDetail, } from './view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector';
|
|
289
|
-
import { getChargeCardPaymentHistoryDownloadReport, } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector';
|
|
290
|
-
import { fetchChargeCardPaymentPage, fetchChargeCardPaymentHistory, updatePaymentHistoryDownloadUIState, updatePaymentHistoryFilters, updatePaymentHistorySearchText, updatePaymentHistoryUIState, } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer';
|
|
291
|
-
import { getChargeCardPaymentHistoryView, } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector';
|
|
292
287
|
import { PAYMENT_HISTORY_FILTER_CATEGORIES, } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistory';
|
|
288
|
+
import { getChargeCardPaymentHistoryDownloadReport, } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector';
|
|
293
289
|
import { getPaymentHistorySourceAccountName, getPaymentStatusDisplayText, } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryHelpers';
|
|
290
|
+
import { fetchChargeCardPaymentHistory, fetchChargeCardPaymentPage, updatePaymentHistoryDownloadUIState, updatePaymentHistoryFilters, updatePaymentHistorySearchText, updatePaymentHistoryUIState, } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer';
|
|
291
|
+
import { getChargeCardPaymentHistoryView, } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector';
|
|
292
|
+
import { clearChargeCardRepaymentDetail, fetchChargeCardRepaymentDetail, initiateChargeCardRepayment, updateChargeCardRepaymentLocalStore, } from './view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer';
|
|
293
|
+
import { getChargeCardRepaymentDetail, } from './view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector';
|
|
294
294
|
import { acceptChargeCardTerms, enableChargeCardAutoPay, expressInterestInChargeCard, fetchChargeCardSetupView, } from './view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer';
|
|
295
295
|
import { getChargeCardBusinessVerificationDetails, getChargeCardSetupViewDetails, } from './view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector';
|
|
296
296
|
import { fetchChargeCardStatementList } from './view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer';
|
|
@@ -4,15 +4,14 @@ import { convertToPeriod, toAbsoluteDay, } from '../../../../commonStateTypes/ti
|
|
|
4
4
|
import { getCurrentTenant } from '../../../../entity/tenant/tenantSelector';
|
|
5
5
|
import { backgroundRefetchReviewTab, syncTransactionCategorizationFromDetailSave, } from '../../reducers/transactionsViewReducer';
|
|
6
6
|
export const triggerReviewTabRefetchEpic = (actions$, state$) => actions$.pipe(filter(syncTransactionCategorizationFromDetailSave.match), mergeMap((action) => {
|
|
7
|
-
const { pendingReviewLineIds, transactionId, isUncategorizedExpenseCategoryEnabled } = action.payload;
|
|
7
|
+
const { pendingReviewLineIds, transactionId, isUncategorizedExpenseCategoryEnabled, } = action.payload;
|
|
8
8
|
if (pendingReviewLineIds.length === 0) {
|
|
9
9
|
return EMPTY;
|
|
10
10
|
}
|
|
11
11
|
const state = state$.value;
|
|
12
12
|
// Only trigger when the transaction was auto-only (not in review tab after reducer ran)
|
|
13
13
|
const reviewLocalData = state.expenseAutomationTransactionsViewState
|
|
14
|
-
.transactionCategorizationView.review
|
|
15
|
-
.transactionReviewLocalDataById[transactionId.id];
|
|
14
|
+
.transactionCategorizationView.review.transactionReviewLocalDataById[transactionId.id];
|
|
16
15
|
if (reviewLocalData != null) {
|
|
17
16
|
return EMPTY;
|
|
18
17
|
}
|
package/lib/esm/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js
CHANGED
|
@@ -41,8 +41,8 @@ export const filterAutoTabLineItems = (tabView, transactionId, updatedTransactio
|
|
|
41
41
|
if (localData == null) {
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
const currentAutoLineIds = localData.transactionReviewLocalData.tabSpecificLineItems
|
|
45
|
-
|
|
44
|
+
const currentAutoLineIds = localData.transactionReviewLocalData.tabSpecificLineItems.autoCategorized ??
|
|
45
|
+
[];
|
|
46
46
|
const linesById = new Map(updatedTransaction.lines?.map((l) => [l.id, l]));
|
|
47
47
|
const retainedLineIds = currentAutoLineIds.filter((lineId) => {
|
|
48
48
|
const line = linesById.get(lineId);
|
|
@@ -224,11 +224,11 @@ function isCompanyDetailsSavePending(fileState, company, primaryContact, company
|
|
|
224
224
|
}
|
|
225
225
|
const { companyInfo, incInfo, taxInfo, questionaire } = company.company.company;
|
|
226
226
|
const { companyDescription, companyLegalName, companyUrl, phone } = companyInfo;
|
|
227
|
-
const { fileIds, companyIncDate: incDate, companyIncType } = incInfo;
|
|
227
|
+
const { fileIds, companyIncDate: incDate, companyIncState, companyIncType, companySourceOfFunds, companySourceOfFundsDescription, companySubIndustry, countriesOfOperations, transactionVolume, transactionVolumeDescription, purposeOfAccount, purposeOfAccountDescription, regulatedStatus, regulatedStatusDescription, usNexus, usNexusTypes, } = incInfo;
|
|
228
228
|
const { companyIndustry } = questionaire;
|
|
229
229
|
const { taxId } = taxInfo;
|
|
230
230
|
const companyFileIds = getFilesByFileIds(fileState, fileIds).map((file) => file.fileId);
|
|
231
|
-
const { companyDescription: companyDescriptionLocalData, companyIndustry: companyIndustryLocalData, companyLegalName: companyLegalNameLocalData, taxIdOrEIN: taxIdLocalData, incDate: incDateLocalData, phone: companyPhoneLocalData, website: companyUrlLocalData, companyFiles: companyFilesLocalData, typeOfIncorporation: companyIncTypeLocalData, primaryContactLocalData, } = companyDetailsLocalData;
|
|
231
|
+
const { companyDescription: companyDescriptionLocalData, companyIndustry: companyIndustryLocalData, companyLegalName: companyLegalNameLocalData, taxIdOrEIN: taxIdLocalData, incDate: incDateLocalData, phone: companyPhoneLocalData, website: companyUrlLocalData, companyFiles: companyFilesLocalData, stateOfIncorporation: stateOfIncorporationLocalData, typeOfIncorporation: companyIncTypeLocalData, companySourceOfFunds: companySourceOfFundsLocalData, companySourceOfFundsDescription: companySourceOfFundsDescriptionLocalData, countriesOfOperations: countriesOfOperationsLocalData, companySubIndustry: companySubIndustryLocalData, transactionVolume: transactionVolumeLocalData, transactionVolumeDescription: transactionVolumeDescriptionLocalData, purposeOfAccount: purposeOfAccountLocalData, purposeOfAccountDescription: purposeOfAccountDescriptionLocalData, regulatedStatus: regulatedStatusLocalData, regulatedStatusDescription: regulatedStatusDescriptionLocalData, usNexus: usNexusLocalData, usNexusTypes: usNexusTypesLocalData, primaryContactLocalData, } = companyDetailsLocalData;
|
|
232
232
|
const fileIdsLocalData = companyFilesLocalData.map((file) => file.fileId);
|
|
233
233
|
if (primaryContact != null) {
|
|
234
234
|
const { firstName, lastName, email } = primaryContact;
|
|
@@ -238,6 +238,10 @@ function isCompanyDetailsSavePending(fileState, company, primaryContact, company
|
|
|
238
238
|
return true;
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
+
const countriesOfOperationsMatch = JSON.stringify(countriesOfOperations ?? []) ===
|
|
242
|
+
JSON.stringify(countriesOfOperationsLocalData ?? []);
|
|
243
|
+
const usNexusTypesMatch = JSON.stringify(usNexusTypes ?? []) ===
|
|
244
|
+
JSON.stringify(usNexusTypesLocalData ?? []);
|
|
241
245
|
return (companyDescription != companyDescriptionLocalData ||
|
|
242
246
|
companyIndustry != companyIndustryLocalData ||
|
|
243
247
|
companyLegalName != companyLegalNameLocalData ||
|
|
@@ -245,7 +249,21 @@ function isCompanyDetailsSavePending(fileState, company, primaryContact, company
|
|
|
245
249
|
incDate?.toString() != incDateLocalData?.toString() ||
|
|
246
250
|
phone != companyPhoneLocalData ||
|
|
247
251
|
companyUrl?.toString() != companyUrlLocalData?.toString() ||
|
|
252
|
+
companyIncState != stateOfIncorporationLocalData ||
|
|
253
|
+
companySourceOfFunds != companySourceOfFundsLocalData ||
|
|
254
|
+
companySourceOfFundsDescription !=
|
|
255
|
+
companySourceOfFundsDescriptionLocalData ||
|
|
256
|
+
!countriesOfOperationsMatch ||
|
|
248
257
|
companyIncType != companyIncTypeLocalData ||
|
|
258
|
+
transactionVolume != transactionVolumeLocalData ||
|
|
259
|
+
transactionVolumeDescription != transactionVolumeDescriptionLocalData ||
|
|
260
|
+
purposeOfAccount != purposeOfAccountLocalData ||
|
|
261
|
+
purposeOfAccountDescription != purposeOfAccountDescriptionLocalData ||
|
|
262
|
+
regulatedStatus != regulatedStatusLocalData ||
|
|
263
|
+
regulatedStatusDescription != regulatedStatusDescriptionLocalData ||
|
|
264
|
+
usNexus != usNexusLocalData ||
|
|
265
|
+
!usNexusTypesMatch ||
|
|
266
|
+
companySubIndustry != companySubIndustryLocalData ||
|
|
249
267
|
!(fileIdsLocalData.length === companyFileIds.length &&
|
|
250
268
|
companyFileIds.every((fileId) => fileIdsLocalData.includes(fileId))));
|
|
251
269
|
}
|
|
@@ -155,7 +155,8 @@ const billPaySetupApproverView = createSlice({
|
|
|
155
155
|
reducer(draft, action) {
|
|
156
156
|
const { approvalRuleIds } = action.payload;
|
|
157
157
|
if (draft.billPaySetupApproverViewUpdateData != null) {
|
|
158
|
-
if (draft.billPaySetupApproverViewUpdateData.type ===
|
|
158
|
+
if (draft.billPaySetupApproverViewUpdateData.type ===
|
|
159
|
+
'approval_update' &&
|
|
159
160
|
draft.billPaySetupApproverViewUpdateData.data
|
|
160
161
|
?.isApplicableOnPendingApprovalEntity === true) {
|
|
161
162
|
draft.listeningToPusherEvent = true;
|
|
@@ -2,8 +2,8 @@ import { getChargeCardRepaymentByIds } from '../../../../entity/chargeCardRepaym
|
|
|
2
2
|
import { getUsersByUserIds } from '../../../../entity/user/userSelector';
|
|
3
3
|
import { applyPaymentHistoryFiltersSearchAndSort } from './chargeCardPaymentHistoryHelpers';
|
|
4
4
|
export const getChargeCardPaymentHistoryDownloadReport = (state) => {
|
|
5
|
-
const { chargeCardPaymentHistoryState, chargeCardRepaymentState, userState
|
|
6
|
-
const { filters, repaymentHistoryIds, searchText, uiState, fetchState, error
|
|
5
|
+
const { chargeCardPaymentHistoryState, chargeCardRepaymentState, userState } = state;
|
|
6
|
+
const { filters, repaymentHistoryIds, searchText, uiState, fetchState, error } = chargeCardPaymentHistoryState;
|
|
7
7
|
const repaymentHistory = getChargeCardRepaymentByIds(chargeCardRepaymentState, repaymentHistoryIds);
|
|
8
8
|
const repaymentHistoryUserIds = Array.from(new Set(repaymentHistory.map((r) => r.paidById)));
|
|
9
9
|
const repaymentHistoryUsers = getUsersByUserIds(userState, repaymentHistoryUserIds);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { reduceAllFetchState } from '../../../../commonStateTypes/reduceFetchState';
|
|
2
2
|
import { getChargeCardRepaymentByIds } from '../../../../entity/chargeCardRepayment/chargeCardRepaymentSelector';
|
|
3
|
-
import { getUsersByUserIds } from '../../../../entity/user/userSelector';
|
|
4
|
-
import { getAllFundingAccounts, mapDepositAccToFundingAccount, mapPaymentAccToFundingAccount, } from '../../commonSetup/setupViewSelector';
|
|
5
3
|
import { getDepositAccountByDepositAccountId } from '../../../../entity/depositAccount/depositAccountSelector';
|
|
6
4
|
import { getPaymentAccountByPaymentAccountId } from '../../../../entity/paymentAccount/paymentAccountSelector';
|
|
5
|
+
import { getUsersByUserIds } from '../../../../entity/user/userSelector';
|
|
6
|
+
import { getAllFundingAccounts, mapDepositAccToFundingAccount, mapPaymentAccToFundingAccount, } from '../../commonSetup/setupViewSelector';
|
|
7
7
|
import { getAllDepositAccounts } from '../../zeniAccounts/depositAccountList/depositAccountListSelector';
|
|
8
8
|
import { getAllPaymentAccounts } from '../../zeniAccounts/paymentAccountList/paymentAccountListSelector';
|
|
9
9
|
import { applyPaymentHistoryFiltersSearchAndSort } from './chargeCardPaymentHistoryHelpers';
|
|
@@ -15,7 +15,10 @@ export const getChargeCardRepaymentDetail = (state) => {
|
|
|
15
15
|
else {
|
|
16
16
|
const depositFundingFromLimit = Object.values(depositAccountState.depositAccountLimitForChargeCardByID ?? {}).map(mapDepositAccountWithLimitToFundingAccount);
|
|
17
17
|
const paymentFundingAccounts = getAllFundingAccounts([], paymentAccountsView.paymentAccounts, paymentAccountListState.paymentAccountBalanceFetchStatus);
|
|
18
|
-
transferFromAccounts = [
|
|
18
|
+
transferFromAccounts = [
|
|
19
|
+
...depositFundingFromLimit,
|
|
20
|
+
...paymentFundingAccounts,
|
|
21
|
+
];
|
|
19
22
|
}
|
|
20
23
|
}
|
|
21
24
|
const reducedFetchState = reduceAnyCompletedFetchState([
|
|
@@ -7,7 +7,8 @@ export const fetchChargeCardRepaymentDetailEpic = (actions$, state$) => actions$
|
|
|
7
7
|
const fetchChargeCardRepaymentDetailActions = [];
|
|
8
8
|
const state = state$.value;
|
|
9
9
|
const depositAccounts = state.depositAccountListState;
|
|
10
|
-
const willFetchDeposit = depositAccounts.fetchState !== 'In-Progress' &&
|
|
10
|
+
const willFetchDeposit = depositAccounts.fetchState !== 'In-Progress' &&
|
|
11
|
+
depositAccounts.fetchState !== 'Completed';
|
|
11
12
|
if (willFetchDeposit) {
|
|
12
13
|
fetchChargeCardRepaymentDetailActions.push(fetchDepositAccountList());
|
|
13
14
|
}
|
|
@@ -9,8 +9,8 @@ import { getAllFundingAccounts } from '../../commonSetup/setupViewSelector';
|
|
|
9
9
|
import { accountTypeSubConfigCodeToAccType } from '../../helpers';
|
|
10
10
|
import { getAllDepositAccounts } from '../../zeniAccounts/depositAccountList/depositAccountListSelector';
|
|
11
11
|
import { getAllPaymentAccounts } from '../../zeniAccounts/paymentAccountList/paymentAccountListSelector';
|
|
12
|
-
import { addRepaymentToChargeCardPaymentHistory } from '../chargeCardPaymentHistory/chargeCardPaymentHistoryReducer';
|
|
13
12
|
import { updateCreditAccountRepaymentAmountAndDate } from '../chargeCardList/chargeCardListReducer';
|
|
13
|
+
import { addRepaymentToChargeCardPaymentHistory } from '../chargeCardPaymentHistory/chargeCardPaymentHistoryReducer';
|
|
14
14
|
import { initiateChargeCardRepayment, updateChargeCardRepaymentStatus, } from './chargeCardRepaymentDetailReducer';
|
|
15
15
|
export const initiateChargeCardRepaymentEpic = (actions$, state$, zeniAPI) => actions$.pipe(filter(initiateChargeCardRepayment.match), switchMap((action) => {
|
|
16
16
|
const state = state$.value;
|
package/lib/esm/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js
CHANGED
|
@@ -115,8 +115,28 @@ export const updateBusinessVerificationDetailsEpic = (actions$, state$, zeniAPI)
|
|
|
115
115
|
return from([]);
|
|
116
116
|
}
|
|
117
117
|
}));
|
|
118
|
+
/** US Nexus API keys. Form may submit these or display labels; we send keys to API. */
|
|
119
|
+
const US_NEXUS_KEYS = new Set([
|
|
120
|
+
'employees',
|
|
121
|
+
'customers',
|
|
122
|
+
'physical_office',
|
|
123
|
+
'banking_relationships',
|
|
124
|
+
]);
|
|
125
|
+
/** Maps display label → API key for US nexus types (English labels from strings). */
|
|
126
|
+
const US_NEXUS_LABEL_TO_KEY = {
|
|
127
|
+
Employees: 'employees',
|
|
128
|
+
Customers: 'customers',
|
|
129
|
+
'Physical office or facility': 'physical_office',
|
|
130
|
+
'Banking relationships': 'banking_relationships',
|
|
131
|
+
};
|
|
132
|
+
function toUsNexusTypeKey(value) {
|
|
133
|
+
if (US_NEXUS_KEYS.has(value)) {
|
|
134
|
+
return value;
|
|
135
|
+
}
|
|
136
|
+
return US_NEXUS_LABEL_TO_KEY[value] ?? value;
|
|
137
|
+
}
|
|
118
138
|
export const toBusinessVerificationCompanyDataPayload = (companyLocalData, sendForVerification, companyAddressData, registeredAddressData, setupViewType) => {
|
|
119
|
-
const { companyDescription, companyLegalName, companyIndustry, website, incDate, taxIdOrEIN, phone, syncToken, fileIds, typeOfIncorporation, sourceOfFunds, } = companyLocalData;
|
|
139
|
+
const { companyDescription, companyLegalName, companyIndustry, companySubIndustry, countriesOfOperations, companySourceOfFunds, companySourceOfFundsDescription, transactionVolume, transactionVolumeDescription, purposeOfAccount, purposeOfAccountDescription, regulatedStatus, regulatedStatusDescription, usNexus, usNexusTypes, website, incDate, taxIdOrEIN, phone, syncToken, fileIds, typeOfIncorporation, stateOfIncorporation, sourceOfFunds, } = companyLocalData;
|
|
120
140
|
const company = {
|
|
121
141
|
is_ready_for_verification: sendForVerification,
|
|
122
142
|
file_ids: fileIds,
|
|
@@ -167,9 +187,52 @@ export const toBusinessVerificationCompanyDataPayload = (companyLocalData, sendF
|
|
|
167
187
|
if (typeOfIncorporation != null) {
|
|
168
188
|
company['company_inc_type'] = typeOfIncorporation;
|
|
169
189
|
}
|
|
190
|
+
if (stateOfIncorporation != null) {
|
|
191
|
+
company['company_inc_state'] = stateOfIncorporation;
|
|
192
|
+
}
|
|
170
193
|
if (companyIndustry != null) {
|
|
171
194
|
company['company_industry'] = companyIndustry;
|
|
172
195
|
}
|
|
196
|
+
Object.assign(company, {
|
|
197
|
+
...(companySubIndustry != null && {
|
|
198
|
+
company_industry_sub_type: companySubIndustry,
|
|
199
|
+
}),
|
|
200
|
+
...(countriesOfOperations != null &&
|
|
201
|
+
countriesOfOperations.length > 0 && {
|
|
202
|
+
company_countries_of_operations: countriesOfOperations,
|
|
203
|
+
}),
|
|
204
|
+
...(companySourceOfFunds != null && {
|
|
205
|
+
company_source_of_funds: companySourceOfFunds,
|
|
206
|
+
}),
|
|
207
|
+
...(companySourceOfFundsDescription != null && {
|
|
208
|
+
company_source_of_funds_desc: companySourceOfFundsDescription,
|
|
209
|
+
}),
|
|
210
|
+
...(transactionVolume != null && {
|
|
211
|
+
company_transaction_vol_expectations: transactionVolume,
|
|
212
|
+
}),
|
|
213
|
+
...(transactionVolumeDescription != null && {
|
|
214
|
+
company_transaction_vol_expectations_desc: transactionVolumeDescription,
|
|
215
|
+
}),
|
|
216
|
+
...(purposeOfAccount != null && {
|
|
217
|
+
company_purpose_of_account: purposeOfAccount,
|
|
218
|
+
}),
|
|
219
|
+
...(purposeOfAccountDescription != null && {
|
|
220
|
+
company_purpose_of_account_desc: purposeOfAccountDescription,
|
|
221
|
+
}),
|
|
222
|
+
...(regulatedStatus != null && {
|
|
223
|
+
company_regulated_states: regulatedStatus === 'yes',
|
|
224
|
+
}),
|
|
225
|
+
...(regulatedStatusDescription != null && {
|
|
226
|
+
company_regulated_states_desc: regulatedStatusDescription,
|
|
227
|
+
}),
|
|
228
|
+
...(usNexus != null && {
|
|
229
|
+
company_us_nexus: usNexus === 'yes',
|
|
230
|
+
}),
|
|
231
|
+
...(usNexusTypes != null &&
|
|
232
|
+
usNexusTypes.length > 0 && {
|
|
233
|
+
company_us_nexus_desc: usNexusTypes.map(toUsNexusTypeKey),
|
|
234
|
+
}),
|
|
235
|
+
});
|
|
173
236
|
if (setupViewType === 'zeni_treasury' && sourceOfFunds != null) {
|
|
174
237
|
company['source_of_funds'] = sourceOfFunds;
|
|
175
238
|
}
|
package/lib/esm/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js
CHANGED
|
@@ -45,7 +45,7 @@ export function toSetupViewLocalData(company, users, userRoles, primaryContact)
|
|
|
45
45
|
const { companyInfo, incInfo, taxInfo, questionaire, companyBillPayInfo } = company;
|
|
46
46
|
const { companyId, companyDescription, companyLegalName, companyUrl, phone, syncToken, sourceOfFunds, } = companyInfo;
|
|
47
47
|
const { usersSelectedForVerification: usersSelected } = companyBillPayInfo;
|
|
48
|
-
const { fileIds, companyIncDate: incDate, companyIncType } = incInfo;
|
|
48
|
+
const { fileIds, companyIncDate: incDate, companyIncType, companyIncState, companySubIndustry, countriesOfOperations, companySourceOfFunds: incCompanySourceOfFunds, companySourceOfFundsDescription, transactionVolume, transactionVolumeDescription, purposeOfAccount, purposeOfAccountDescription, regulatedStatus, regulatedStatusDescription, usNexus, usNexusTypes, } = incInfo;
|
|
49
49
|
const { companyIndustry } = questionaire;
|
|
50
50
|
const { taxId } = taxInfo;
|
|
51
51
|
const companyDetails = {
|
|
@@ -53,6 +53,10 @@ export function toSetupViewLocalData(company, users, userRoles, primaryContact)
|
|
|
53
53
|
companyDescription,
|
|
54
54
|
companyIndustry,
|
|
55
55
|
companyLegalName,
|
|
56
|
+
companySubIndustry,
|
|
57
|
+
companySourceOfFunds: incCompanySourceOfFunds,
|
|
58
|
+
companySourceOfFundsDescription,
|
|
59
|
+
countriesOfOperations,
|
|
56
60
|
taxIdOrEIN: taxId,
|
|
57
61
|
incDate,
|
|
58
62
|
phone,
|
|
@@ -61,6 +65,15 @@ export function toSetupViewLocalData(company, users, userRoles, primaryContact)
|
|
|
61
65
|
syncToken,
|
|
62
66
|
typeOfIncorporation: companyIncType,
|
|
63
67
|
sourceOfFunds,
|
|
68
|
+
stateOfIncorporation: companyIncState,
|
|
69
|
+
transactionVolume,
|
|
70
|
+
transactionVolumeDescription,
|
|
71
|
+
purposeOfAccount,
|
|
72
|
+
purposeOfAccountDescription,
|
|
73
|
+
regulatedStatus,
|
|
74
|
+
regulatedStatusDescription,
|
|
75
|
+
usNexus,
|
|
76
|
+
usNexusTypes,
|
|
64
77
|
};
|
|
65
78
|
let primaryContactDetails = undefined;
|
|
66
79
|
if (primaryContact != null) {
|
|
@@ -109,7 +109,7 @@ export const getCompanyAndIdentityDetails = (state, companyId, companyAndIdentit
|
|
|
109
109
|
if (companyDetails.localData != null) {
|
|
110
110
|
const deleteFileStatusById = {};
|
|
111
111
|
const updateFileStatusById = {};
|
|
112
|
-
const { syncToken, companyDescription, companyLegalName, website, companyIndustry, phone, taxIdOrEIN, incDate, fileIds, typeOfIncorporation, sourceOfFunds, } = companyDetails.localData;
|
|
112
|
+
const { syncToken, companyDescription, companyLegalName, website, companyIndustry, companySubIndustry, companySourceOfFunds, companySourceOfFundsDescription, countriesOfOperations, phone, taxIdOrEIN, incDate, fileIds, typeOfIncorporation, sourceOfFunds, transactionVolume, transactionVolumeDescription, purposeOfAccount, purposeOfAccountDescription, regulatedStatus, regulatedStatusDescription, stateOfIncorporation, usNexus, usNexusTypes, } = companyDetails.localData;
|
|
113
113
|
fileIds.forEach((fileId) => {
|
|
114
114
|
deleteFileStatusById[fileId] = getFileDeleteStatusById(state, fileId);
|
|
115
115
|
});
|
|
@@ -123,6 +123,10 @@ export const getCompanyAndIdentityDetails = (state, companyId, companyAndIdentit
|
|
|
123
123
|
companyDescription,
|
|
124
124
|
companyLegalName,
|
|
125
125
|
companyIndustry,
|
|
126
|
+
companySubIndustry,
|
|
127
|
+
companySourceOfFunds,
|
|
128
|
+
companySourceOfFundsDescription,
|
|
129
|
+
countriesOfOperations,
|
|
126
130
|
website,
|
|
127
131
|
phone,
|
|
128
132
|
taxIdOrEIN,
|
|
@@ -136,6 +140,15 @@ export const getCompanyAndIdentityDetails = (state, companyId, companyAndIdentit
|
|
|
136
140
|
primaryContactLocalData,
|
|
137
141
|
typeOfIncorporation,
|
|
138
142
|
sourceOfFunds,
|
|
143
|
+
transactionVolume,
|
|
144
|
+
transactionVolumeDescription,
|
|
145
|
+
purposeOfAccount,
|
|
146
|
+
purposeOfAccountDescription,
|
|
147
|
+
regulatedStatus,
|
|
148
|
+
regulatedStatusDescription,
|
|
149
|
+
stateOfIncorporation,
|
|
150
|
+
usNexus,
|
|
151
|
+
usNexusTypes,
|
|
139
152
|
};
|
|
140
153
|
}
|
|
141
154
|
const companyOfficerLocalData = {
|
package/lib/esm/view/spendManagement/reimbursement/remiDetailView/epics/fetchRemiDetailEpic.js
CHANGED
|
@@ -38,7 +38,6 @@ export const fetchRemiDetailEpic = (actions$, state$, zeniAPI) => actions$.pipe(
|
|
|
38
38
|
const query = {
|
|
39
39
|
transaction_type: 'reimbursement',
|
|
40
40
|
reimbursement_provider: 'zeni',
|
|
41
|
-
is_include_payment_accounts_info: true,
|
|
42
41
|
is_include_approval_info: true,
|
|
43
42
|
is_include_deleted: isShowDeletedReimbursementEnabled,
|
|
44
43
|
};
|
package/lib/index.d.ts
CHANGED
|
@@ -434,14 +434,14 @@ import { ChargeCardCVVActivateSelectorView, ChargeCardControlDetailView, ChargeC
|
|
|
434
434
|
import { ChargeCardListUIState, ChargeCardViewSortKey, CreditAccount, CreditAccountRepayment, DebitCardSummaries, toChargeCardSortKeyType } from './view/spendManagement/chargeCards/chargeCardList/chargeCardList';
|
|
435
435
|
import { closeChargeCards, fetchChargeCardList, fetchChargeCardListPage, fetchCreditAccount, fetchCreditAccountRepayment, fetchDebitCardSummary, lockChargeCards, resendCardInvite, revokeCardInvite, revokeChargeCardsInvite, unlockChargeCards, updateBulkActionCardIds, updateSearchText as updateChargeCardListSearchText, updateChargeCardListUIState, updateChargeCardsSpendLimit, updateRowActionCardId } from './view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer';
|
|
436
436
|
import { ChargeCardBulkActionView, ChargeCardListSelectorView, ChargeCardListWithShippingAddressSelectorView, ChargeCardRecurringExpensesByCardIds, ChargeCardRowActionView, ChargeCardWithUser, ChargeCardWithUserAndShippingAddress, DebitCardListSelectorView, DepositAccountListWithDebitCardIssued, MyPendingActivationChargeCardListSelectorView, anyCardOnHold, getChargeCardBulkActionView, getChargeCardListView, getChargeCardRecurringExpensesByCardIds, getChargeCardRowActionView, getCreditAccountDetails, getDebitCardList, getDebitCardSummary, getDepositAccountListWithDebitCardIssued, getMyPendingActivationChargeCardListView, getMyRequestOnHoldChargeCardListWithShippingAddress } from './view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector';
|
|
437
|
+
import { PAYMENT_HISTORY_FILTER_CATEGORIES, PaymentHistoryAccountInfo, PaymentHistoryFilterCategory, PaymentHistoryFilterCategoryDropdownOption, PaymentHistoryFilterCategoryField, PaymentHistoryFilters } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistory';
|
|
438
|
+
import { ChargeCardPaymentHistoryDownloadReport, getChargeCardPaymentHistoryDownloadReport } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector';
|
|
439
|
+
import { getPaymentHistorySourceAccountName, getPaymentStatusDisplayText } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryHelpers';
|
|
440
|
+
import { fetchChargeCardPaymentHistory, fetchChargeCardPaymentPage, updatePaymentHistoryDownloadUIState, updatePaymentHistoryFilters, updatePaymentHistorySearchText, updatePaymentHistoryUIState } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer';
|
|
441
|
+
import { ChargeCardPaymentHistorySelectorView, ChargeCardRepaymentWithUser, getChargeCardPaymentHistoryView } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector';
|
|
437
442
|
import { clearChargeCardRepaymentDetail, fetchChargeCardRepaymentDetail, initiateChargeCardRepayment, updateChargeCardRepaymentLocalStore } from './view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer';
|
|
438
443
|
import { ChargeCardRepaymentDetailSelectorView, getChargeCardRepaymentDetail } from './view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector';
|
|
439
444
|
import { ChargeCardRepaymentDetailLocalData } from './view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailState';
|
|
440
|
-
import { ChargeCardPaymentHistoryDownloadReport, getChargeCardPaymentHistoryDownloadReport } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector';
|
|
441
|
-
import { fetchChargeCardPaymentPage, fetchChargeCardPaymentHistory, updatePaymentHistoryDownloadUIState, updatePaymentHistoryFilters, updatePaymentHistorySearchText, updatePaymentHistoryUIState } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer';
|
|
442
|
-
import { ChargeCardPaymentHistorySelectorView, ChargeCardRepaymentWithUser, getChargeCardPaymentHistoryView } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector';
|
|
443
|
-
import { PAYMENT_HISTORY_FILTER_CATEGORIES, PaymentHistoryAccountInfo, PaymentHistoryFilterCategory, PaymentHistoryFilterCategoryDropdownOption, PaymentHistoryFilterCategoryField, PaymentHistoryFilters } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistory';
|
|
444
|
-
import { getPaymentHistorySourceAccountName, getPaymentStatusDisplayText } from './view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryHelpers';
|
|
445
445
|
import { acceptChargeCardTerms, enableChargeCardAutoPay, expressInterestInChargeCard, fetchChargeCardSetupView } from './view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer';
|
|
446
446
|
import { ChargeCardBusinessVerificationDetails, ChargeCardSetupView, getChargeCardBusinessVerificationDetails, getChargeCardSetupViewDetails } from './view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector';
|
|
447
447
|
import { ChargeCardStatement } from './view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementList';
|
package/lib/index.js
CHANGED
|
@@ -1424,29 +1424,29 @@ Object.defineProperty(exports, "getDebitCardSummary", { enumerable: true, get: f
|
|
|
1424
1424
|
Object.defineProperty(exports, "getDepositAccountListWithDebitCardIssued", { enumerable: true, get: function () { return chargeCardListSelector_1.getDepositAccountListWithDebitCardIssued; } });
|
|
1425
1425
|
Object.defineProperty(exports, "getMyPendingActivationChargeCardListView", { enumerable: true, get: function () { return chargeCardListSelector_1.getMyPendingActivationChargeCardListView; } });
|
|
1426
1426
|
Object.defineProperty(exports, "getMyRequestOnHoldChargeCardListWithShippingAddress", { enumerable: true, get: function () { return chargeCardListSelector_1.getMyRequestOnHoldChargeCardListWithShippingAddress; } });
|
|
1427
|
-
const
|
|
1428
|
-
Object.defineProperty(exports, "
|
|
1429
|
-
Object.defineProperty(exports, "fetchChargeCardRepaymentDetail", { enumerable: true, get: function () { return chargeCardRepaymentDetailReducer_1.fetchChargeCardRepaymentDetail; } });
|
|
1430
|
-
Object.defineProperty(exports, "initiateChargeCardRepayment", { enumerable: true, get: function () { return chargeCardRepaymentDetailReducer_1.initiateChargeCardRepayment; } });
|
|
1431
|
-
Object.defineProperty(exports, "updateChargeCardRepaymentLocalStore", { enumerable: true, get: function () { return chargeCardRepaymentDetailReducer_1.updateChargeCardRepaymentLocalStore; } });
|
|
1432
|
-
const chargeCardRepaymentDetailSelector_1 = require("./view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector");
|
|
1433
|
-
Object.defineProperty(exports, "getChargeCardRepaymentDetail", { enumerable: true, get: function () { return chargeCardRepaymentDetailSelector_1.getChargeCardRepaymentDetail; } });
|
|
1427
|
+
const chargeCardPaymentHistory_1 = require("./view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistory");
|
|
1428
|
+
Object.defineProperty(exports, "PAYMENT_HISTORY_FILTER_CATEGORIES", { enumerable: true, get: function () { return chargeCardPaymentHistory_1.PAYMENT_HISTORY_FILTER_CATEGORIES; } });
|
|
1434
1429
|
const chargeCardPaymentHistoryDownloadSelector_1 = require("./view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector");
|
|
1435
1430
|
Object.defineProperty(exports, "getChargeCardPaymentHistoryDownloadReport", { enumerable: true, get: function () { return chargeCardPaymentHistoryDownloadSelector_1.getChargeCardPaymentHistoryDownloadReport; } });
|
|
1431
|
+
const chargeCardPaymentHistoryHelpers_1 = require("./view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryHelpers");
|
|
1432
|
+
Object.defineProperty(exports, "getPaymentHistorySourceAccountName", { enumerable: true, get: function () { return chargeCardPaymentHistoryHelpers_1.getPaymentHistorySourceAccountName; } });
|
|
1433
|
+
Object.defineProperty(exports, "getPaymentStatusDisplayText", { enumerable: true, get: function () { return chargeCardPaymentHistoryHelpers_1.getPaymentStatusDisplayText; } });
|
|
1436
1434
|
const chargeCardPaymentHistoryReducer_1 = require("./view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryReducer");
|
|
1437
|
-
Object.defineProperty(exports, "fetchChargeCardPaymentPage", { enumerable: true, get: function () { return chargeCardPaymentHistoryReducer_1.fetchChargeCardPaymentPage; } });
|
|
1438
1435
|
Object.defineProperty(exports, "fetchChargeCardPaymentHistory", { enumerable: true, get: function () { return chargeCardPaymentHistoryReducer_1.fetchChargeCardPaymentHistory; } });
|
|
1436
|
+
Object.defineProperty(exports, "fetchChargeCardPaymentPage", { enumerable: true, get: function () { return chargeCardPaymentHistoryReducer_1.fetchChargeCardPaymentPage; } });
|
|
1439
1437
|
Object.defineProperty(exports, "updatePaymentHistoryDownloadUIState", { enumerable: true, get: function () { return chargeCardPaymentHistoryReducer_1.updatePaymentHistoryDownloadUIState; } });
|
|
1440
1438
|
Object.defineProperty(exports, "updatePaymentHistoryFilters", { enumerable: true, get: function () { return chargeCardPaymentHistoryReducer_1.updatePaymentHistoryFilters; } });
|
|
1441
1439
|
Object.defineProperty(exports, "updatePaymentHistorySearchText", { enumerable: true, get: function () { return chargeCardPaymentHistoryReducer_1.updatePaymentHistorySearchText; } });
|
|
1442
1440
|
Object.defineProperty(exports, "updatePaymentHistoryUIState", { enumerable: true, get: function () { return chargeCardPaymentHistoryReducer_1.updatePaymentHistoryUIState; } });
|
|
1443
1441
|
const chargeCardPaymentHistorySelector_1 = require("./view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector");
|
|
1444
1442
|
Object.defineProperty(exports, "getChargeCardPaymentHistoryView", { enumerable: true, get: function () { return chargeCardPaymentHistorySelector_1.getChargeCardPaymentHistoryView; } });
|
|
1445
|
-
const
|
|
1446
|
-
Object.defineProperty(exports, "
|
|
1447
|
-
|
|
1448
|
-
Object.defineProperty(exports, "
|
|
1449
|
-
Object.defineProperty(exports, "
|
|
1443
|
+
const chargeCardRepaymentDetailReducer_1 = require("./view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailReducer");
|
|
1444
|
+
Object.defineProperty(exports, "clearChargeCardRepaymentDetail", { enumerable: true, get: function () { return chargeCardRepaymentDetailReducer_1.clearChargeCardRepaymentDetail; } });
|
|
1445
|
+
Object.defineProperty(exports, "fetchChargeCardRepaymentDetail", { enumerable: true, get: function () { return chargeCardRepaymentDetailReducer_1.fetchChargeCardRepaymentDetail; } });
|
|
1446
|
+
Object.defineProperty(exports, "initiateChargeCardRepayment", { enumerable: true, get: function () { return chargeCardRepaymentDetailReducer_1.initiateChargeCardRepayment; } });
|
|
1447
|
+
Object.defineProperty(exports, "updateChargeCardRepaymentLocalStore", { enumerable: true, get: function () { return chargeCardRepaymentDetailReducer_1.updateChargeCardRepaymentLocalStore; } });
|
|
1448
|
+
const chargeCardRepaymentDetailSelector_1 = require("./view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector");
|
|
1449
|
+
Object.defineProperty(exports, "getChargeCardRepaymentDetail", { enumerable: true, get: function () { return chargeCardRepaymentDetailSelector_1.getChargeCardRepaymentDetail; } });
|
|
1450
1450
|
const chargeCardSetUpViewReducer_1 = require("./view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer");
|
|
1451
1451
|
Object.defineProperty(exports, "acceptChargeCardTerms", { enumerable: true, get: function () { return chargeCardSetUpViewReducer_1.acceptChargeCardTerms; } });
|
|
1452
1452
|
Object.defineProperty(exports, "enableChargeCardAutoPay", { enumerable: true, get: function () { return chargeCardSetUpViewReducer_1.enableChargeCardAutoPay; } });
|