@zeniai/client-epic-state 4.15.84 → 4.15.85
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/commonStateTypes/animations.d.ts +1 -1
- package/lib/commonStateTypes/animations.js +1 -1
- package/lib/entity/chargeCard/chargeCard.d.ts +26 -8
- package/lib/entity/chargeCard/chargeCard.js +25 -6
- package/lib/entity/chargeCard/chargeCardPayload.d.ts +41 -5
- package/lib/entity/chargeCard/chargeCardPayload.js +20 -8
- package/lib/entity/company/companyPayload.d.ts +12 -1
- package/lib/entity/company/companyPayload.js +14 -0
- package/lib/entity/company/companyStateTypes.d.ts +11 -0
- package/lib/entity/connectedAccount/connectedAccount.d.ts +19 -0
- package/lib/entity/connectedAccount/connectedAccount.js +10 -0
- package/lib/entity/connectedAccount/connectedAccountPayload.d.ts +11 -0
- package/lib/entity/connectedAccount/connectedAccountPayload.js +15 -0
- package/lib/entity/connectedAccount/connectedAccountReducer.d.ts +6 -0
- package/lib/entity/connectedAccount/connectedAccountReducer.js +27 -0
- package/lib/entity/connectedAccount/connectedAccountSelector.d.ts +4 -0
- package/lib/entity/connectedAccount/connectedAccountSelector.js +17 -0
- package/lib/entity/depositAccount/depositAccount.d.ts +20 -2
- package/lib/entity/depositAccount/depositAccountPayload.d.ts +22 -1
- package/lib/entity/depositAccount/depositAccountPayload.js +39 -1
- package/lib/entity/depositAccount/depositAccountReducer.d.ts +2 -2
- package/lib/entity/depositAccount/depositAccountReducer.js +8 -2
- package/lib/entity/depositAccount/depositAccountSelector.d.ts +3 -1
- package/lib/entity/depositAccount/depositAccountSelector.js +10 -0
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +2 -0
- package/lib/entity/tenant/clearAllEpic.d.ts +2 -1
- package/lib/entity/tenant/clearAllEpic.js +2 -0
- package/lib/entity/tenant/tenantSelector.d.ts +5 -1
- package/lib/entity/tenant/tenantSelector.js +6 -0
- package/lib/epic.d.ts +5 -1
- package/lib/epic.js +5 -1
- package/lib/index.d.ts +11 -11
- package/lib/index.js +21 -13
- package/lib/reducer.d.ts +3 -0
- package/lib/reducer.js +3 -0
- package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +8 -0
- package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +16 -0
- package/lib/view/addressView/addressViewState.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +1 -1
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +1 -1
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.js +4 -3
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigPayload.d.ts +5 -3
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigPayload.js +4 -2
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js +8 -3
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigState.d.ts +4 -2
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +12 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js +26 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailPayload.d.ts +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.d.ts +43 -4
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +104 -9
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.d.ts +15 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +70 -16
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.d.ts +2 -1
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +12 -3
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.js +2 -1
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchDepositAccountLimitEpic.d.ts +8 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchDepositAccountLimitEpic.js +41 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateChargeCardLimitEpic.js +2 -2
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateDebitCardPinAttemptEpic.d.ts +11 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updateDebitCardPinAttemptEpic.js +42 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +11 -1
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +20 -1
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListPayload.d.ts +16 -1
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.d.ts +5 -3
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +30 -4
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.d.ts +5 -2
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +24 -13
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.d.ts +2 -2
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchChargeCardListPageEpic.js +16 -2
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchDebitCardSummaryEpic.d.ts +7 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/fetchDebitCardSummaryEpic.js +23 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.d.ts +2 -1
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewReducer.js +4 -2
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.d.ts +2 -1
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/chargeCardSetUpViewSelector.js +2 -0
- package/lib/view/spendManagement/chargeCards/chargeCardSetUp/epic/acceptChargeCardTermsEpic.js +19 -2
- package/lib/view/spendManagement/chargeCards/issueChargeCard/depositAccountWithLimitPayload.d.ts +6 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/depositAccountWithLimitPayload.js +2 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchDepositAccountListForCardsEpic.d.ts +8 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchDepositAccountListForCardsEpic.js +31 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.d.ts +2 -2
- package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.js +15 -3
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardEpic.d.ts +2 -2
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardEpic.js +65 -25
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.d.ts +11 -3
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +45 -11
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.d.ts +6 -3
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +33 -18
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.d.ts +41 -8
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.js +0 -21
- package/lib/view/spendManagement/commonSetup/epic/setup/enableSetupEpic.js +9 -0
- package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +8 -3
- package/lib/view/spendManagement/commonSetup/setupViewReducer.d.ts +4 -4
- package/lib/view/spendManagement/commonSetup/setupViewSelector.js +2 -1
- package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +3 -1
- package/lib/view/spendManagement/commonSetup/setupViewState.js +13 -1
- package/lib/view/spendManagement/helpers.d.ts +3 -0
- package/lib/view/spendManagement/helpers.js +13 -1
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/getPaymentAccountsEpic.js +2 -1
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountEpic.js +2 -1
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountLoginStatusEpic.js +2 -1
- package/lib/view/spendManagement/plaidAccount/epic/paymentAccounts/updatePaymentAccountStatusEpic.js +2 -1
- package/lib/view/spendManagement/plaidAccount/epic/plaidConnection/establishPlaidConnectionEpic.js +2 -1
- package/lib/view/spendManagement/plaidAccount/plaidAccountViewReducer.d.ts +10 -10
- package/lib/view/spendManagement/zeniAccounts/checkDeposit/checkDepositSelector.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListSelector.d.ts +1 -1
- package/lib/view/spendManagement/zeniAccounts/depositAccountList/depositAccountListSelector.js +3 -3
- package/lib/view/spendManagement/zeniAccounts/expressPay/expressPaySelector.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/transferDetail/transferDetailSelector.js +1 -1
- package/lib/view/spendManagement/zeniAccounts/zeniAccountList/zeniAccountListSelector.js +1 -1
- package/lib/view/twoFactorAuthentication/resendOtpEpic.d.ts +3 -2
- package/lib/view/twoFactorAuthentication/resendOtpEpic.js +44 -19
- package/lib/view/twoFactorAuthentication/sendOtpEpic.d.ts +2 -1
- package/lib/view/twoFactorAuthentication/sendOtpEpic.js +45 -18
- package/lib/view/twoFactorAuthentication/twoFactorAuthentication.d.ts +17 -5
- package/lib/view/twoFactorAuthentication/twoFactorAuthentication.js +33 -0
- package/lib/view/twoFactorAuthentication/twoFactorAuthenticationPayload.d.ts +7 -7
- package/lib/view/twoFactorAuthentication/twoFactorAuthenticationPayload.js +6 -6
- package/lib/view/twoFactorAuthentication/twoFactorAuthenticationReducer.d.ts +22 -6
- package/lib/view/twoFactorAuthentication/twoFactorAuthenticationReducer.js +176 -60
- package/lib/view/twoFactorAuthentication/twoFactorAuthenticationSelector.d.ts +5 -3
- package/lib/view/twoFactorAuthentication/twoFactorAuthenticationSelector.js +13 -2
- package/lib/view/twoFactorAuthentication/verifyOtpEpic.d.ts +5 -2
- package/lib/view/twoFactorAuthentication/verifyOtpEpic.js +46 -5
- package/lib/view/userListView/fetchUserListByTypeEpic.d.ts +2 -2
- package/lib/view/userListView/fetchUserListByTypeEpic.js +4 -3
- package/lib/view/userListView/userListViewPayload.d.ts +11 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ import { BillPayInfo, BillPaymentRefundStatus, BillPaymentRefundStatusCodeType,
|
|
|
56
56
|
import { Contact } from './entity/billPay/contact/contact';
|
|
57
57
|
import { RecurringBillConfig, RecurringBillDetail, RecurringBillFrequency, RecurringBillPaymentStatus, RecurringBillStatus, toRecurringBillFrequency, toRecurringBillFrequencyStrict } from './entity/billPay/recurringBills/recurringBillsState';
|
|
58
58
|
import { CardPayment } from './entity/cardPayment/cardPaymentState';
|
|
59
|
-
import {
|
|
59
|
+
import { CardActivationOrPinUpdateEventCodeType, CardAddressType, CardCodeType, CardStatusCodeType, ChargeCard, ChargeCardRecommendation, ChargeCardType, CreditCardCodeType, CreditLimitFrequency, CreditLimitFrequencyCodeType, DebitCardCodeType, ShippingAddressType, toCardAddressType, toCardType, toCreditLimitFrequencyCodeType, toShippingAddressType } from './entity/chargeCard/chargeCard';
|
|
60
60
|
import { ChargeCardTransaction, ChargeCardTransactionStatus, ChargeCardTransactionStatusCode, ChargeCardTransactionTypeCode } from './entity/chargeCardTransaction/chargeCardTransaction';
|
|
61
61
|
import { TransactionReceiptsPayload } from './entity/chargeCardTransaction/chargeCardTransactionPayload';
|
|
62
62
|
import { updateChargeCardTransactionAttachments } from './entity/chargeCardTransaction/chargeCardTransactionReducer';
|
|
@@ -71,7 +71,7 @@ import { Customer, CustomerBase, defaultCustomerCurrency } from './entity/custom
|
|
|
71
71
|
import { CustomerIncomeTrend } from './entity/customerIncome/customerIncomeTrend';
|
|
72
72
|
import { CustomerSatisfactionInfo } from './entity/customerSatisfaction/customerSatisfactionSelectorReducerTypes';
|
|
73
73
|
import { CustomerRatingCodeType, TeamRatingCodeType } from './entity/customerSatisfaction/customerSatisfactionState';
|
|
74
|
-
import { DepositAccount } from './entity/depositAccount/depositAccount';
|
|
74
|
+
import { DepositAccount, DepositAccountWithLimit } from './entity/depositAccount/depositAccount';
|
|
75
75
|
import { DepositAccountTransaction, DepositTransactionStatus, DepositTransactionStatusCode } from './entity/depositAccountTransaction/depositAccountTransaction';
|
|
76
76
|
import { EntityApprovalStatus, EntityApprovalStatusState, EntityType as SpendManagementEntityType } from './entity/entityApprovalStatus/entityApprovalStatusState';
|
|
77
77
|
import { AttachmentFilePayload, FilePayload } from './entity/file/filePayload';
|
|
@@ -411,8 +411,8 @@ import { CashbackDetailUIState, CashbackPeriod, CashbackViewSortKey } from './vi
|
|
|
411
411
|
import { fetchChargeCardConfig } from './view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer';
|
|
412
412
|
import { ChargeCardConfigState } from './view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigState';
|
|
413
413
|
import { ChargeCardDetailUiState, ChargeCardTransactionSortKey } from './view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail';
|
|
414
|
-
import { completeCVVActivationWait, fetchChargeCardDetailPage, fetchChargeCardTransactionAttachments, fetchChargeCardTransactionList, startCVVActivationWait, updateChargeCardDetail, updateChargeCardSpendLimit, updateChargeCardSpendLimitSuccessOrFailure, updateChargeCardTransactionIsViewReceiptClicked, updateChargeCardTransactionReceiptsShowTickFetchStatus, updateChargeCardTransactionUploadReceiptsFetchStatus, updatePhysicalChargeCardAttempt } from './view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer';
|
|
415
|
-
import { ChargeCardCVVActivateSelectorView, ChargeCardDetailSelectorView, ChargeCardTransactionAttachmentView, getChargeCardCVVActivateView, getChargeCardDetailView, getChargeCardTransactionAttachmentView } from './view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector';
|
|
414
|
+
import { completeCVVActivationWait, completeDebitCardSetPinWait, fetchChargeCardDetail, fetchChargeCardDetailPage, fetchChargeCardTransactionAttachments, fetchChargeCardTransactionList, fetchDepositAccountLimit, startCVVActivationWait, startDebitCardSetPinWait, updateChargeCardDetail, updateChargeCardSpendLimit, updateChargeCardSpendLimitSuccessOrFailure, updateChargeCardTransactionIsViewReceiptClicked, updateChargeCardTransactionReceiptsShowTickFetchStatus, updateChargeCardTransactionUploadReceiptsFetchStatus, updateDebitCardPinAttempt, updatePhysicalChargeCardAttempt } from './view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer';
|
|
415
|
+
import { ChargeCardCVVActivateSelectorView, ChargeCardDetailSelectorView, ChargeCardTransactionAttachmentView, DebitCardPinSetSelectorView, getChargeCardCVVActivateView, getChargeCardDetailView, getChargeCardTransactionAttachmentView, getDebitCardSetPinView } from './view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector';
|
|
416
416
|
import { ChargeCardListUIState, ChargeCardViewSortKey, toChargeCardSortKeyType } from './view/spendManagement/chargeCards/chargeCardList/chargeCardList';
|
|
417
417
|
import { fetchChargeCardList, fetchChargeCardListPage, fetchCreditAccount, resendCardInvite, revokeCardInvite, updateSearchText as updateChargeCardListSearchText, updateChargeCardListUIState } from './view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer';
|
|
418
418
|
import { ChargeCardListSelectorView, ChargeCardListWithShippingAddressSelectorView, ChargeCardWithUser, ChargeCardWithUserAndShippingAddress, MyPendingActivationChargeCardListSelectorView, anyCardOnHold, getChargeCardListView, getCreditAccount, getMyChargeCardListWithShippingAddress, getMyPendingActivationChargeCardListView } from './view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector';
|
|
@@ -423,7 +423,7 @@ import { fetchChargeCardStatementList } from './view/spendManagement/chargeCards
|
|
|
423
423
|
import { ChargeCardStatementsSelectorView, getChargeCardStatements } from './view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListSelector';
|
|
424
424
|
import { fetchIssueCardPage, issueChargeCards, resetIssueChargeCardForm, updateChargeCardsLocalStore, updateCustomAddressId } from './view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer';
|
|
425
425
|
import { IssueChargeCardSelectorView, getIssueChargeCardView } from './view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector';
|
|
426
|
-
import { ActiveChargeCardCount, IssueChargeCardLocalData, IssueChargeCardState,
|
|
426
|
+
import { ActiveChargeCardCount, ActiveDebitCardCount, ActiveDebitCardCountByUserId, IssueChargeCardLocalData, IssueChargeCardState, PhysicalCreditCardData, PhysicalDebitCardData, VirtualCreditCardData, VirtualDebitCardData } from './view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState';
|
|
427
427
|
import { HistoricEvent, HistoricEventUpdate } from './view/spendManagement/commonHistoryView/commonHistory';
|
|
428
428
|
import { ActivityHistorySelectorView } from './view/spendManagement/commonHistoryView/commonHistorySelector';
|
|
429
429
|
import { clearSetupViewDataInLocalStore, enableSetup, saveCompnayOfficerAdditionalDocumentsInLocalStore, saveCompnayOfficerPhoneInLocalStore, saveIndustryAndIncDateInLocalStore, saveSetupViewDataInLocalStore, updateBusinessVerificationDetails, updateSelectedCompanyOfficer, updateSetupViewLocalStoreData } from './view/spendManagement/commonSetup/setupViewReducer';
|
|
@@ -463,7 +463,7 @@ import { CheckDepositLocalData } from './view/spendManagement/zeniAccounts/check
|
|
|
463
463
|
import { fetchDepositAccount, fetchDepositAccountDetail, fetchDepositAccountHistoryFailure, fetchDepositAccountHistorySuccess, updateDepositAccount } from './view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailReducer';
|
|
464
464
|
import { DepositAccountDetailForPDF, DepositAccountDetailSelectorView, getDepositAccountDetail, getDepositAccountDetailForPDF } from './view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailSelector';
|
|
465
465
|
import { AccountHistoryWithBalances, DepositAccountUpdateType } from './view/spendManagement/zeniAccounts/depositAccountDetail/depositAccountDetailState';
|
|
466
|
-
import { DepositAccountListSelectorView,
|
|
466
|
+
import { DepositAccountListSelectorView, getAllDepositAccounts } from './view/spendManagement/zeniAccounts/depositAccountList/depositAccountListSelector';
|
|
467
467
|
import { fetchDepositAccountTransactionList } from './view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer';
|
|
468
468
|
import { DepositAccountTransactionListSelectorView, getDepositAccountTransactionList } from './view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector';
|
|
469
469
|
import { fetchPaymentAccountList, unlinkPaymentAccount } from './view/spendManagement/zeniAccounts/paymentAccountList/paymentAccountListReducer';
|
|
@@ -523,9 +523,9 @@ import { clearTrendData, fetchExpenseTrend, fetchIncomeTrend } from './view/tren
|
|
|
523
523
|
import { TrendView, getTrendForEntity } from './view/trend/trendSelector';
|
|
524
524
|
import { clearTrendWithTransactions, fetchTransactionsForEntity, fetchTrendForEntity, updateSelectedTimeperiod } from './view/trendWithTransactions/trendWithTransactionsReducer';
|
|
525
525
|
import { TrendWithTransactionsView, getEntityDetailUIStateByEntity, getLatestTimeFrameWithTransactionsForEntity, getTrendWithTransactions } from './view/trendWithTransactions/trendWithTransactionsSelector';
|
|
526
|
-
import {
|
|
526
|
+
import { Token } from './view/twoFactorAuthentication/twoFactorAuthentication';
|
|
527
527
|
import { resendOtp, sendOtp, verifyOtp } from './view/twoFactorAuthentication/twoFactorAuthenticationReducer';
|
|
528
|
-
import { TwoFactorAuthenticationView, getTwoFactorAuthenticationView } from './view/twoFactorAuthentication/twoFactorAuthenticationSelector';
|
|
528
|
+
import { TwoFactorAuthenticationView, getTwoFactorAuthenticationView, getTwoFactorAuthenticationViewForCardUserOnboarding, getTwoFactorAuthenticationViewForChargeCardHolder } from './view/twoFactorAuthentication/twoFactorAuthenticationSelector';
|
|
529
529
|
import { fetchUserFinancialAccount } from './view/userFinancialAccount/userFinancialAccountReducer';
|
|
530
530
|
import { UserFinancialAccountSelectorView, getUserFinancialAccount } from './view/userFinancialAccount/userFinancialAccountSelector';
|
|
531
531
|
import { fetchUserListByType } from './view/userListView/userListViewReducer';
|
|
@@ -716,7 +716,7 @@ export { MilageReimbursementLine, OutofPocketReimbursementLine, ReimbursementLin
|
|
|
716
716
|
export { AccountListSelectorView, ClassListSelectorView, getClassList };
|
|
717
717
|
export { BillTab, BillsSubTabType, SaveBillStageCode, BillPayReviewSelectorView, DuplicateBillsSelectorView, EditBillDetailSelectorView, LineItemRecommendationsLocalData, EditBillInitialDetails, BillableStatus, PaymentDetailsSection, BillListReport, BillListDownloadReport, WhatForSection, fetchBillList, fetchBillListPerTab, updateTab, updateSubTab, updateSelectedBillId, updateBillDetailSaveBillCode, fetchVendorByNameAndParseInvoice, saveBillUpdatesToLocalStore, discardBillUpdatesInLocalStore, saveBillDetail, approveOrRejectBill, updateApprovalStatusOnSuccess, deleteBill, cancelAndDeleteBill, retryOrRefundBill, getBillList, getBillDownloadList, BillDetailViewSelector, ActorActivityWithUser, BillActivity, StepWithStatus, getBillDetailView, checkApproveRejectBtnShowForBill, BillDetailView, getBillTransactionDetailKey, fetchBillDetail, fetchEditBillDetailPage, fetchAndUpdateVendorRecommendations, fetchDuplicateBill, clearBillPayReview, EditBillDetail, EditBillDetailViewState, getEditBillDetail, getReviewPageBillDetail, BillDetailLocalData, PaymentDetailsSectionView, fetchBillAndInitializeLocalStore, updateShowAutofill, saveVendorSuccessOrFailure, BillPaymentStatus, BillPaymentStatusCodeType, BillPaymentRefundStatus, BillPaymentRefundStatusCodeType, BillStatus, BillStatusCodeType, BillApprovalType, updateBillListUIState, BillListUIState, BillPayViewSortKey, BillPayFilters, BillPayFilterCategory, BillListViewFilterCategoryField, BILL_PAY_FILTER_CATEGORIES, updateVendorDetailLocalData, resetVendorDetailLocalData, resetVendorSaveStatus, updateContactsInVendorDetailLocalData, updateVendorTabDetailUIState, updateContactsInVendorTabDetailLocalData, updateBillUploadFetchState, updateBillListSearchResult, fetchUserDetails, verifyUser, updateVendorContact, PaymentToOption, toPaymentToOption, convertAmountToHomeCurrency, RecurringBillInstance, RecurringBillConfigLocalData, EditRecurringBillType, fetchVendorAndUpdateBillLocalData, markBillForRetry, };
|
|
718
718
|
export { SpendManagementFiltersType, SpendManagementFilterEntityType, FilterCategoryType, BillPayFilterCategoryDropdownOption, ReimbursementFilterCategoryDropdownOption, TaskFilterCategoryDropdownOption, SpendManagementFilterCategoryDropdownOption, MatchingOperatorDropdownOption, CategoryCombinationOperator, hideCreatedByFilter, };
|
|
719
|
-
export { BillPaySetupViewState, ZeniAccountSetupViewState, BillPaySetupViewLocalData, ZeniAccountSetupViewLocalData, PlaidAccountState, fetchBillPaySetupView, fetchZeniAccountSetupView, enableSetup, getPaymentAccounts, getPlaidLinkToken, updateSelectedCompanyOfficer, updateSetupViewLocalStoreData, updateBusinessVerificationDetails, updatePaymentAccount, updatePaymentAccountLoginStatus, updatePaymentAccountStatus, establishPlaidConnection, updateMappedCashAccount, updatePrimaryFundingAccount, acceptBillPayTerms, acceptZeniAccountTerms, acceptBillPayUpdatedTerms, saveSetupViewDataInLocalStore, saveCompnayOfficerPhoneInLocalStore, saveCompnayOfficerAdditionalDocumentsInLocalStore, saveIndustryAndIncDateInLocalStore, clearSetupViewDataInLocalStore, clearBillPaySetupView, clearZeniAccountSetupView, sendOtp, resendOtp, verifyOtp, CompanyDetails, CompanyOfficersDetails, BillPaySetupView, ZeniAccountSetupView, BillPayBusinessVerificationDetails, ZeniAccountBusinessVerificationDetails, SetupViewState, SetupViewLocalData, SetupView, BusinessVerificationDetails, getBillPaySetupViewDetails, getPlaidAccountDetails, getZeniAccountSetupViewDetails, getBusinessVerificationDetails, getBillPayBusinessVerificationDetails, getZeniAccountBusinessVerificationDetails, getCommonSetupViewDetails, PlaidConnectionDetails, PlaidLinkTokenType, PlaidAccountKeyType,
|
|
719
|
+
export { BillPaySetupViewState, ZeniAccountSetupViewState, BillPaySetupViewLocalData, ZeniAccountSetupViewLocalData, PlaidAccountState, fetchBillPaySetupView, fetchZeniAccountSetupView, enableSetup, getPaymentAccounts, getPlaidLinkToken, updateSelectedCompanyOfficer, updateSetupViewLocalStoreData, updateBusinessVerificationDetails, updatePaymentAccount, updatePaymentAccountLoginStatus, updatePaymentAccountStatus, establishPlaidConnection, updateMappedCashAccount, updatePrimaryFundingAccount, acceptBillPayTerms, acceptZeniAccountTerms, acceptBillPayUpdatedTerms, saveSetupViewDataInLocalStore, saveCompnayOfficerPhoneInLocalStore, saveCompnayOfficerAdditionalDocumentsInLocalStore, saveIndustryAndIncDateInLocalStore, clearSetupViewDataInLocalStore, clearBillPaySetupView, clearZeniAccountSetupView, sendOtp, resendOtp, verifyOtp, CompanyDetails, CompanyOfficersDetails, BillPaySetupView, ZeniAccountSetupView, BillPayBusinessVerificationDetails, ZeniAccountBusinessVerificationDetails, SetupViewState, SetupViewLocalData, SetupView, BusinessVerificationDetails, getBillPaySetupViewDetails, getPlaidAccountDetails, getZeniAccountSetupViewDetails, getBusinessVerificationDetails, getBillPayBusinessVerificationDetails, getZeniAccountBusinessVerificationDetails, getCommonSetupViewDetails, PlaidConnectionDetails, PlaidLinkTokenType, PlaidAccountKeyType, Token, FundingAccount, getTwoFactorAuthenticationView, getTwoFactorAuthenticationViewForCardUserOnboarding, getTwoFactorAuthenticationViewForChargeCardHolder, TwoFactorAuthenticationView, };
|
|
720
720
|
export { BankConnectionsSetupView, IntegrationsView, getApprovalRuleViewDetails, getBankConnectionsSetupViewDetails, getIntegrationsView, };
|
|
721
721
|
export { fetchUserFinancialAccount };
|
|
722
722
|
export { getUserFinancialAccount, UserFinancialAccountSelectorView };
|
|
@@ -756,7 +756,7 @@ export { ReimbursementCardReport };
|
|
|
756
756
|
export { VendorListViewSortKey, VendorViewUIState, VendorListSelectorView, VendorListQuery, getVendorList, VendorListView, updateSortUiState, updatePageToken, updateYTDSelectionUIState, VendorListViewYTDSpendSortKey, isColumnYTDSpend, isVendorsTabVisible, VendorViewType, VendorReportIDType, toVendorReportIDType, VendorFiling1099ListSelectorView, getVendorFiling1099List, VendorFiling1099ListViewSortKey, VendorFiling1099ViewUIState, VendorFiling1099DownloadData, fetchVendorsFiling1099Download, Type1099Download, VendorFiling1099DownloadDataForType, };
|
|
757
757
|
export { fetchEntityRecommendationsByTransactionId, fetchRecommendationByEntityId, fetchRecommendationByEntityName, };
|
|
758
758
|
export { fetchOwnerList };
|
|
759
|
-
export { ZeniAccountsConfigSelectorView, getZeniAccountsConfigDetail, ZeniAccountListSelectorView, getZeniAccountList, fetchZeniAccountList, DepositAccount, createCheckingAccount, fetchPaymentAccountList, unlinkPaymentAccount, getDepositAccountDetail, DepositAccountDetailSelectorView, DepositAccountListSelectorView,
|
|
759
|
+
export { ZeniAccountsConfigSelectorView, getZeniAccountsConfigDetail, ZeniAccountListSelectorView, getZeniAccountList, fetchZeniAccountList, DepositAccount, createCheckingAccount, fetchPaymentAccountList, unlinkPaymentAccount, getDepositAccountDetail, DepositAccountDetailSelectorView, DepositAccountListSelectorView, getAllDepositAccounts, getDepositAccountDetailForPDF, DepositAccountDetailForPDF, fetchDepositAccount, fetchZeniAccountsConfig, AccountHistoryWithBalances, TransferDetailLocalData, ReviewTransferDetail, updateTransferMoneyLocalData, updateTransferToLocalData, updateDepositToLocalData, transferMoney, getTransferDetail, TransferDetailSelectorView, clearTransferDetail, clearReviewTransferDetail, fetchReviewTransferDetail, fetchDepositAccountDetail, DepositAccountTransaction, DepositTransactionStatusCode, DepositTransactionStatus, CheckDepositLocalData, depositCheck, updateCheckDepositLocalData, clearCheckDeposit, CheckDepositSelectorView, getCheckDepositDetail, updateDepositAccount, fetchDepositAccountHistorySuccess, fetchDepositAccountHistoryFailure, DepositAccountUpdateType, ZeniAccountSummaryWithBalance, fetchZeniAccStatementPage, getZeniAccStatements, ZeniAccStatementsSelectorView, ZeniAccountPaymentMethod, };
|
|
760
760
|
export { HistoricEvent, HistoricEventUpdate, ActivityHistorySelectorView };
|
|
761
761
|
export { ActivityRealTimeApprovalSelectorView, Statement, fetchDepositAccountTransactionList, DepositAccountTransactionListSelectorView, getDepositAccountTransactionList, };
|
|
762
762
|
export { TransactionVendorLocalData, TransactionVendorState, TransactionVendorViewState, };
|
|
@@ -778,7 +778,7 @@ export { CompanyHealthMetricsLocalData, CompanyHealthViewUIState };
|
|
|
778
778
|
export { getCompanyHealthMetricConfig, fetchCompanyHealthMetricConfig, CompanyHealthMetricConfigSelector, };
|
|
779
779
|
export { CompanyHealthMetric, CompanyRunway, updateCompaniesHealth, updateCompanyHealth, VerticalProductServices, LastEngagement, AdditionalChurnFactors, AdditionalChurnFactor, };
|
|
780
780
|
export { clearCompanyHealthMetricView, fetchCompanyHealthMetricView, initializeCompanyHealthMetricViewLocalData, removeSelectedCompanyId, saveCompanyHealthMetricById, updateCompanyHealthMetricLocalStore, updateCompanyHealthMetricViewErrorStatus, updateCompanyHealthMetricViewSuccessStatus, updateCompanyHealthViewUIState, };
|
|
781
|
-
export { CardStatusCodeType, updateChargeCardTransactionAttachments, TransactionReceiptsPayload, ProductServices, ProductServiceKey, isCompanyRunwayInfinite, getCompanyHealthMetricView, hasCompanyHealthMetricFormFieldChanged, companyHealthMetricDropDownOptions, CompanyHealthMetricViewSelector, CompanyHealthMetricDropDownOption, CompanyDetailWithHealthMetric, ChargeCardBusinessVerificationDetails, getChargeCardBusinessVerificationDetails, fetchChargeCardList, fetchChargeCardListPage, fetchChargeCardConfig, fetchCreditAccount, getChargeCardListView, getMyPendingActivationChargeCardListView, getMyChargeCardListWithShippingAddress, getCreditAccount, ChargeCardStatementsSelectorView, fetchChargeCardDetailPage, getChargeCardDetailView, ChargeCardTransactionAttachmentView, getChargeCardTransactionAttachmentView, ChargeCardCVVActivateSelectorView, getChargeCardCVVActivateView, fetchChargeCardTransactionList, fetchCashbackDetail, ChargeCard, ChargeCardWithUser, ChargeCardWithUserAndShippingAddress, ChargeCardViewSortKey, ChargeCardRecommendation, toChargeCardSortKeyType, CashbackPeriod, CashbackDetailUIState, CashbackViewSortKey, getCashbackDetail, getZeniDateFromPeriod, CashbackDetailSelectorView, toCreditLimitFrequencyCodeType, ChargeCardListSelectorView, ChargeCardListWithShippingAddressSelectorView, MyPendingActivationChargeCardListSelectorView, ChargeCardDetailSelectorView, IssueChargeCardSelectorView, ActiveChargeCardCount, IssueChargeCardState, getIssueChargeCardView, ChargeCardConfigState, ChargeCardListUIState, ChargeCardTransaction, ChargeCardTransactionStatusCode, ChargeCardTransactionTypeCode, ChargeCardTransactionStatus, ChargeCardDetailUiState, ChargeCardTransactionSortKey, getChargeCardSetupViewDetails, ChargeCardSetupView, fetchChargeCardStatementList, ChargeCardStatement, getChargeCardStatements, fetchChargeCardSetupView, acceptChargeCardTerms, IssueChargeCardLocalData,
|
|
781
|
+
export { CardStatusCodeType, updateChargeCardTransactionAttachments, TransactionReceiptsPayload, ProductServices, ProductServiceKey, isCompanyRunwayInfinite, getCompanyHealthMetricView, hasCompanyHealthMetricFormFieldChanged, companyHealthMetricDropDownOptions, CompanyHealthMetricViewSelector, CompanyHealthMetricDropDownOption, CompanyDetailWithHealthMetric, ChargeCardBusinessVerificationDetails, getChargeCardBusinessVerificationDetails, fetchChargeCardList, fetchChargeCardListPage, fetchChargeCardConfig, fetchCreditAccount, getChargeCardListView, getMyPendingActivationChargeCardListView, getMyChargeCardListWithShippingAddress, getCreditAccount, ChargeCardStatementsSelectorView, fetchChargeCardDetailPage, fetchChargeCardDetail, fetchDepositAccountLimit, getChargeCardDetailView, ChargeCardTransactionAttachmentView, getChargeCardTransactionAttachmentView, DebitCardPinSetSelectorView, getDebitCardSetPinView, ChargeCardCVVActivateSelectorView, getChargeCardCVVActivateView, fetchChargeCardTransactionList, fetchCashbackDetail, ChargeCard, ChargeCardWithUser, ChargeCardWithUserAndShippingAddress, ChargeCardViewSortKey, ChargeCardRecommendation, toChargeCardSortKeyType, CashbackPeriod, CashbackDetailUIState, CashbackViewSortKey, getCashbackDetail, getZeniDateFromPeriod, CashbackDetailSelectorView, toCreditLimitFrequencyCodeType, ChargeCardListSelectorView, ChargeCardListWithShippingAddressSelectorView, MyPendingActivationChargeCardListSelectorView, ChargeCardDetailSelectorView, IssueChargeCardSelectorView, ActiveChargeCardCount, ActiveDebitCardCount, ActiveDebitCardCountByUserId, IssueChargeCardState, getIssueChargeCardView, ChargeCardConfigState, ChargeCardListUIState, ChargeCardTransaction, ChargeCardTransactionStatusCode, ChargeCardTransactionTypeCode, ChargeCardTransactionStatus, ChargeCardDetailUiState, ChargeCardTransactionSortKey, getChargeCardSetupViewDetails, ChargeCardSetupView, fetchChargeCardStatementList, ChargeCardStatement, getChargeCardStatements, fetchChargeCardSetupView, acceptChargeCardTerms, IssueChargeCardLocalData, PhysicalCreditCardData, PhysicalDebitCardData, VirtualDebitCardData, DepositAccountWithLimit, VirtualCreditCardData, CreditLimitFrequencyCodeType, CardAddressType, toCardAddressType, ShippingAddressType, toShippingAddressType, ChargeCardType, CreditCardCodeType, DebitCardCodeType, CardActivationOrPinUpdateEventCodeType, CreditLimitFrequency, CardCodeType, toCardType, issueChargeCards, fetchIssueCardPage, updateCustomAddressId, updateChargeCardsLocalStore, resetIssueChargeCardForm, updateChargeCardListSearchText, updateChargeCardListUIState, updateCashbackDetailUIState, updateChargeCardDetail, updatePhysicalChargeCardAttempt, CardUserOnboardingLocalData, getCardUserOnboardingView, initializeCardUserOnboardingLocalData, updateCardUserOnboardingLocalData, CardUserOnboardingView, saveCardOnboardingUserDetails, updateChargeCardTransactionUploadReceiptsFetchStatus, completeDebitCardSetPinWait, startDebitCardSetPinWait, updateDebitCardPinAttempt, updateChargeCardTransactionReceiptsShowTickFetchStatus, updateChargeCardTransactionIsViewReceiptClicked, fetchChargeCardTransactionAttachments, completeCVVActivationWait, startCVVActivationWait, updateChargeCardSpendLimit, updateChargeCardSpendLimitSuccessOrFailure, resendCardInvite, revokeCardInvite, startCardUserOnboardingActivationWait, completeCardUserOnboardingActivationWait, setFirstViewAfterActivation, setFirstViewCompleteAfterActivation, setCurrentDisplayedCardId, anyCardOnHold, };
|
|
782
782
|
export { fetchApAging, getApAgingReport, updateApAgingUIState, AgingReportId, ApAgingReport, AgingBalance, AgingPeriod, AgingReportSortKey, AgingBalancesByVendor, AgingReportUIState, AgingDetailReportUIState, AgingDetailReportInvoice, AgingDateSelectionType, };
|
|
783
783
|
export { fetchApAgingDetail, AgingReportInvoice, ApAgingDetail, getApAgingDetailForVendor, updateApAgingDetailUIState, };
|
|
784
784
|
export { LinkBillExpenseKey };
|
package/lib/index.js
CHANGED
|
@@ -52,18 +52,18 @@ exports.mapFilePayloadToFile = exports.uploadFile = exports.getFileDeleteStatusB
|
|
|
52
52
|
exports.updateW9FormUploadFile = exports.updateW9FormUploadFetchState = 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.updateFiling1099SearchUIState = exports.updateFiling1099SortUIState = exports.updateFiling1099ScrollYOffset = exports.fetchVendorsFiling1099List = exports.fetchVendorsFiling1099All = 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 = exports.getAnalyticsDataOnVendorSave = exports.fetchTasksCard = exports.downloadFile = exports.getAttachmentFileIdByFileName = exports.mapAttachmentFileToAttachmentFilePayload = exports.mapAttachmentFilePayloadToFile = void 0;
|
|
53
53
|
exports.cancelOrDeleteRemisBulkAction = exports.approveOrRejectRemisBulkAction = exports.reviewDraftRemisBulkAction = exports.clearAllRemisFromBulkActionList = exports.removeRemiFromBulkActionList = exports.updateRemisBulkActionList = exports.getRemisBulkOperationProgress = exports.getRemisBulkReviewView = exports.isBillConditionallyValid = exports.clearBillPayBulkActionView = exports.getBillsBulkOperationProgress = exports.incrementBulkActionProcessedCount = exports.autoReviewPendingApprovalBills = exports.submitDraftBillsBulkAction = exports.cancelOrDeleteBillsBulkAction = exports.approveOrRejectBillsBulkAction = exports.validateBillsBulkAction = exports.getBillsBulkReviewView = exports.clearAllBillsFromBulkActionList = exports.removeBillFromBulkActionList = exports.updateBillsBulkActionList = exports.updateBillListDownloadUIState = exports.updateRemiListDownloadUIState = exports.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED = exports.REIMBURSEMENT_FILTER_CATEGORIES = exports.updateRemiListFilterResult = exports.updateBillListFilterResult = exports.updateRemiListSearchResult = exports.updateRemiListUIState = exports.updateRemiDetailSaveRemiCode = exports.updateRemiListSubTab = exports.updateRemiListTab = exports.fetchRemiListPerTab = exports.fetchRemiList = exports.getRemiDownloadList = exports.getRemiList = exports.toReimbursementTypeCode = exports.toRemiTabTypeStrict = exports.toRemiTabType = exports.toRemiSubTabTypeStrict = exports.toRemiSubTabType = exports.checkShowMarkAsPaidButton = exports.toOutsideZeniPaymentModeType = exports.updateW9FormOCRDataToLocalData = exports.updateVendor1099DetailsLocalData = exports.initializeVendorFiling1099UploadDetailsLocalState = exports.vendorFiling1099UploadDetailsResetLocalData = exports.vendorFiling1099UploadDetailsResetFormStatus = exports.vendorFiling1099UploadDetailsSave = exports.getVendorUploadDetailsByVendorId = void 0;
|
|
54
54
|
exports.verifyUser = exports.fetchUserDetails = exports.updateBillListSearchResult = exports.updateBillUploadFetchState = exports.updateContactsInVendorTabDetailLocalData = exports.updateVendorTabDetailUIState = exports.updateContactsInVendorDetailLocalData = exports.resetVendorSaveStatus = 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.retryOrRefundBill = 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.checkIfCreatorIsApprover = exports.discardOutsideZeniPaymentLocalData = exports.updateOutsideZeniPaymentLocalData = exports.incrementRemiBulkActionProcessedCount = exports.clearRemiBulkActionView = exports.autoReviewPendingApprovalRemis = exports.submitDraftRemisBulkAction = void 0;
|
|
55
|
-
exports.
|
|
56
|
-
exports.
|
|
57
|
-
exports.
|
|
58
|
-
exports.
|
|
59
|
-
exports.
|
|
60
|
-
exports.
|
|
61
|
-
exports.
|
|
62
|
-
exports.
|
|
63
|
-
exports.
|
|
64
|
-
exports.
|
|
65
|
-
exports.
|
|
66
|
-
exports.getExpressPayView = exports.resetExpressPayLocalData = exports.submitExpressPay = exports.updateExpressPayFormLocalData = exports.fetchExpressPayInitialDetails = exports.getIntlWireVerificationView = exports.updateVerificationFormLocalData = exports.submitInternationalVerificationForm = exports.fetchInternationalVerificationForm = exports.createTaskFromTaskGroupTemplate = exports.getCompanyTaskManagerView = exports.fetchCompanyTaskManagerView = exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = exports.updateReferViewed = exports.getRewardsPlanCard = exports.fetchRewardsPlan = exports.resendReferralInvite = exports.updateReferralListSortUiState = exports.saveReferralFormDataInLocalStore = exports.clearReferrals = exports.sendReferralInvite = exports.fetchReferrals = exports.AmountStatusTypes = exports.StatusTypes = exports.toReferralListViewSortKeyType = void 0;
|
|
55
|
+
exports.updateMileageDetails = exports.fetchRemiSetupView = exports.getUserFinancialAccount = exports.fetchUserFinancialAccount = exports.getIntegrationsView = exports.getBankConnectionsSetupViewDetails = exports.getApprovalRuleViewDetails = exports.getTwoFactorAuthenticationViewForChargeCardHolder = exports.getTwoFactorAuthenticationViewForCardUserOnboarding = exports.getTwoFactorAuthenticationView = 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 = exports.hideCreatedByFilter = exports.markBillForRetry = exports.fetchVendorAndUpdateBillLocalData = exports.convertAmountToHomeCurrency = exports.toPaymentToOption = exports.updateVendorContact = void 0;
|
|
56
|
+
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 = exports.toAttributeOrRoleTypeStrict = exports.toAttributeTypeStrict = exports.isAccessDeniedError = exports.isInvalidSessionError = exports.isSuccessResponse = exports.getRemiBusinessVerificationDetails = exports.getRemiSetupViewDetails = exports.clearRemiSetupView = exports.acceptEmployeeRemiTerms = exports.acceptRemiTerms = exports.saveRemiSetupViewDataInLocalStore = void 0;
|
|
57
|
+
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.updateQBOConnectionPoolExternalConnection = exports.fetchQBOConnectionPool = 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.updateHomeCurrencyConversion = exports.updateReimbursementType = exports.clearTentativeMerchantName = exports.updateTentativeMerchantNames = exports.updateUploadFetchState = exports.updateAddRemiAutoFields = exports.clearEditRemiViewDetail = exports.parseReceiptsToRemi = exports.saveRemiSuccessOrFailure = exports.saveRemiDetail = exports.removeFileFromRemiUpdatesInLocalStore = exports.discardRemiUpdatesInLocalStore = exports.fetchCurrencyConversionValue = exports.saveRemiUpdatesToLocalStore = exports.initializeRemiToLocalStore = void 0;
|
|
58
|
+
exports.fetchPaymentAccountList = exports.createCheckingAccount = exports.fetchZeniAccountList = exports.getZeniAccountList = exports.getZeniAccountsConfigDetail = exports.fetchOwnerList = exports.fetchRecommendationByEntityName = exports.fetchRecommendationByEntityId = exports.fetchEntityRecommendationsByTransactionId = exports.fetchVendorsFiling1099Download = exports.getVendorFiling1099List = 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.checkIfLowBalance = exports.isAwaitingMarkAsPaid = exports.isPaymentMethodOutsideZeni = exports.toAccountsPromoConfig = exports.getBulkOperationSuffix = exports.getRemiListUniqueType = exports.getBillListUniqueType = exports.isBulkProcessing = exports.isVerifiedStatusCode = exports.getActualPaymentDate = 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 = void 0;
|
|
59
|
+
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.getDepositAccountTransactionList = exports.fetchDepositAccountTransactionList = exports.getZeniAccStatements = exports.fetchZeniAccStatementPage = exports.fetchDepositAccountHistoryFailure = exports.fetchDepositAccountHistorySuccess = exports.updateDepositAccount = exports.getCheckDepositDetail = exports.clearCheckDeposit = exports.updateCheckDepositLocalData = exports.depositCheck = 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.getAllDepositAccounts = exports.getDepositAccountDetail = exports.unlinkPaymentAccount = void 0;
|
|
60
|
+
exports.hasCompanyHealthMetricFormFieldChanged = exports.getCompanyHealthMetricView = exports.isCompanyRunwayInfinite = exports.updateChargeCardTransactionAttachments = exports.updateCompanyHealthViewUIState = exports.updateCompanyHealthMetricViewSuccessStatus = exports.updateCompanyHealthMetricViewErrorStatus = exports.updateCompanyHealthMetricLocalStore = exports.saveCompanyHealthMetricById = exports.removeSelectedCompanyId = exports.initializeCompanyHealthMetricViewLocalData = exports.fetchCompanyHealthMetricView = exports.clearCompanyHealthMetricView = exports.updateCompanyHealth = exports.updateCompaniesHealth = exports.fetchCompanyHealthMetricConfig = exports.getCompanyHealthMetricConfig = exports.getUserRoleConfig = exports.fetchUserRoleConfig = exports.clearInternationalWire = exports.deletePaymentInstrument = exports.createPaymentInstrumentUpdateStatus = exports.createPaymentInstrument = exports.fetchInternationalWireDynamicForm = exports.initializeDynamicForm = exports.updateInternationalWireLocalStoreData = exports.initializeInternationalWireLocalData = 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 = void 0;
|
|
61
|
+
exports.updateDebitCardPinAttempt = exports.startDebitCardSetPinWait = exports.completeDebitCardSetPinWait = exports.updateChargeCardTransactionUploadReceiptsFetchStatus = exports.saveCardOnboardingUserDetails = exports.updateCardUserOnboardingLocalData = exports.initializeCardUserOnboardingLocalData = exports.getCardUserOnboardingView = exports.updatePhysicalChargeCardAttempt = exports.updateChargeCardDetail = exports.updateCashbackDetailUIState = exports.updateChargeCardListUIState = exports.updateChargeCardListSearchText = exports.resetIssueChargeCardForm = exports.updateChargeCardsLocalStore = exports.updateCustomAddressId = exports.fetchIssueCardPage = exports.issueChargeCards = exports.toCardType = exports.toShippingAddressType = exports.toCardAddressType = exports.acceptChargeCardTerms = exports.fetchChargeCardSetupView = exports.getChargeCardStatements = exports.fetchChargeCardStatementList = exports.getChargeCardSetupViewDetails = exports.getIssueChargeCardView = exports.toCreditLimitFrequencyCodeType = exports.getZeniDateFromPeriod = exports.getCashbackDetail = exports.toChargeCardSortKeyType = exports.fetchCashbackDetail = exports.fetchChargeCardTransactionList = exports.getChargeCardCVVActivateView = exports.getDebitCardSetPinView = exports.getChargeCardTransactionAttachmentView = exports.getChargeCardDetailView = exports.fetchDepositAccountLimit = exports.fetchChargeCardDetail = exports.fetchChargeCardDetailPage = exports.getCreditAccount = exports.getMyChargeCardListWithShippingAddress = exports.getMyPendingActivationChargeCardListView = exports.getChargeCardListView = exports.fetchCreditAccount = exports.fetchChargeCardConfig = exports.fetchChargeCardListPage = exports.fetchChargeCardList = exports.getChargeCardBusinessVerificationDetails = exports.companyHealthMetricDropDownOptions = void 0;
|
|
62
|
+
exports.getScheduleListReport = exports.ALL_SCHEDULES_TYPES = exports.resetAccruedDetailNewScheduleState = exports.resetSelectedJEAccruedScheduleKey = exports.updateSelectedJEAccruedScheduleKey = exports.updateScheduleAccruedDetailsLocalData = exports.updateLinkBillExpenseLocalData = exports.clearSelectedJELinkRowIndex = exports.fetchRecommendedTransactionRowIndex = exports.updatedJELinkInLocalDataAccruedExpenses = exports.updatedJEAccruedLinkWithRecommendedLocalData = exports.updateAmountsInScheduleAccruedDetail = exports.saveScheduleAccruedDetails = exports.resetJEAccruedLinkInLocalData = exports.fetchScheduleAccruedDetailsPage = exports.fetchScheduleAccruedDetails = exports.cancelScheduleAccruedJournalEntry = exports.deleteScheduleAccruedDetail = exports.createNewSchedulesAccrued = exports.updateJeScheduleTransactionKeys = exports.updateJeScheduleLocalDataById = exports.retryExpenseAutomationJESchedule = exports.removeJeScheduleTransactionKey = exports.initializeJeScheduleLocalData = exports.initializeJeAccountSettingsView = exports.ignoreExpenseAutomationJESchedule = exports.fetchExpenseAutomationJESchedulesPage = exports.clearExpenseAutomationJESchedulesView = exports.clearExpenseAutomationJEScheduleLocalData = exports.updateApAgingDetailUIState = exports.getApAgingDetailForVendor = exports.fetchApAgingDetail = exports.updateApAgingUIState = exports.getApAgingReport = exports.fetchApAging = exports.anyCardOnHold = exports.setCurrentDisplayedCardId = exports.setFirstViewCompleteAfterActivation = exports.setFirstViewAfterActivation = exports.completeCardUserOnboardingActivationWait = exports.startCardUserOnboardingActivationWait = exports.revokeCardInvite = exports.resendCardInvite = exports.updateChargeCardSpendLimitSuccessOrFailure = exports.updateChargeCardSpendLimit = exports.startCVVActivationWait = exports.completeCVVActivationWait = exports.fetchChargeCardTransactionAttachments = exports.updateChargeCardTransactionIsViewReceiptClicked = exports.updateChargeCardTransactionReceiptsShowTickFetchStatus = void 0;
|
|
63
|
+
exports.updateVendorFirstReviewViewLocalData = exports.saveVendorFirstReviewView = exports.clearRecentlySavedErroredVendorData = exports.updateVendorFirstReviewViewPageToken = exports.resetVendorFirstReviewLocalData = exports.updateVendorFirstReviewViewScrollYOffset = exports.fetchVendorFirstReviewAttachments = exports.fetchVendorFirstReviewView = exports.getVendorFirstReviewAttachmentView = 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.updateAccruedJEScheduleAccruedByListKey = exports.updateScheduleListDownloadState = exports.updateScheduleDetailsLocalData = exports.createNewSchedules = exports.deleteScheduleDetail = exports.saveScheduleDetails = exports.fetchScheduleDetailsPage = exports.getAccruedScheduleDetailsView = 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.fetchAccruedScheduleList = exports.fetchScheduleList = exports.getAccruedScheduleListReport = void 0;
|
|
64
|
+
exports.updateTaskListLocalData = exports.deleteTaskGroup = exports.initiateTaskListLocalData = exports.createNewTaskGroup = exports.bulkUpdateTaskList = exports.discardTaskUpdatesInLocalStore = exports.deleteTask = exports.TASK_LIST_GROUP_BY_CATEGORIES = 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.updateVendorGlobalReviewViewLocalData = exports.toVendorGlobalReviewColumnSortKeyType = exports.getTenantMerchantByMerchantId = exports.getVendorGlobalReviewView = exports.updateVendorGlobalReviewViewUIState = exports.updateSelectedGlobalMerchant = exports.fetchVendorGlobalReviewView = exports.rejectVendorGlobalReview = exports.approveVendorGlobalReview = exports.getGlobalMerchantView = exports.clearGlobalMerchantView = exports.updateCreateGlobalMerchantLocalData = exports.createGlobalMerchant = exports.fetchGlobalMerchantRecommendation = exports.getVendorDetailSelectorView = exports.saveVendorDetailsView = exports.updateReviewVendorDetailLocalData = exports.clearGlobalMerchantAutoCompleteResults = exports.fetchGlobalMerchantAutoCompleteView = exports.updateVendorFirstReviewSortUiState = void 0;
|
|
65
|
+
exports.updateNotificationViewUIState = exports.updateNotificationViewSubTab = exports.updateNotificationViewCurrentTabAndSubTab = exports.updateNotificationViewTabState = exports.updateNotificationViewNotificationStatus = exports.updateNotificationViewAllNotificationsStatus = exports.fetchNotificationUnreadCountSuccess = exports.fetchNotificationUnreadCount = exports.fetchNotificationView = exports.toNotificationTabTypeStrict = exports.toNotificationSubTabTypeStrict = exports.updateCommentsNotificationsStatuses = exports.updateCommentsNotifications = exports.toNotificationModeStrict = exports.fetchZeniAccountsPromoCard = exports.getZeniAccountsPromoCard = exports.getAuthenticationView = exports.fetchCollaborationAuthToken = exports.clearAuditReportGroupViewByCompanyId = exports.saveReasonForAuditRule = exports.fetchAuditReportGroupView = exports.fetchAuditRuleGroupView = exports.getUserFromAllUsers = exports.getAuditRuleGroupViewSelectorView = exports.getAuditReportGroupViewSelectorView = exports.clearCardPaymentView = exports.resetCardPaymentErrorStatuses = exports.fetchPaymentSources = exports.addCardPaymentSource = exports.confirmCardSetupIntent = exports.createCardSetupIntent = exports.getAllCardsAndBankPaymentMethods = exports.deleteTag = exports.createTag = exports.fetchTagList = exports.getAllTags = exports.initialTaskDetailLocalData = exports.convertHHMMStrToMinutes = exports.updateTaskFromListView = exports.toDueDateGroupKeyType = exports.toTaskStatusCodeType = exports.toPriorityCodeType = exports.getDueDateValueFromDueDateGroupId = exports.initialTaskDetail = exports.fetchAllTaskGroups = exports.getTaskUpdates = exports.toTaskListGroupByKeyTypeStrict = exports.toTaskListGroupByKeyType = exports.updateTaskGroupName = exports.dragNDropTasks = void 0;
|
|
66
|
+
exports.getExpressPayView = exports.resetExpressPayLocalData = exports.submitExpressPay = exports.updateExpressPayFormLocalData = exports.fetchExpressPayInitialDetails = exports.getIntlWireVerificationView = exports.updateVerificationFormLocalData = exports.submitInternationalVerificationForm = exports.fetchInternationalVerificationForm = exports.createTaskFromTaskGroupTemplate = exports.getCompanyTaskManagerView = exports.fetchCompanyTaskManagerView = exports.getMinAllowedEndDate = exports.toRecurringFrequency = exports.getRecurringEndDateFromCount = exports.updateReferViewed = 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.getNotifications = exports.getLastNotificationTime = exports.pushToastNotification = exports.getNotificationsForSelectedSubTab = exports.getExternalNotificationsForSelectedSubTab = exports.getNotificationView = void 0;
|
|
67
67
|
const allowedValue_1 = require("./commonStateTypes/allowedValue");
|
|
68
68
|
Object.defineProperty(exports, "isAllowedValueWithCode", { enumerable: true, get: function () { return allowedValue_1.isAllowedValueWithCode; } });
|
|
69
69
|
Object.defineProperty(exports, "isAllowedValueWithID", { enumerable: true, get: function () { return allowedValue_1.isAllowedValueWithID; } });
|
|
@@ -1288,21 +1288,27 @@ const chargeCardConfigReducer_1 = require("./view/spendManagement/chargeCards/ch
|
|
|
1288
1288
|
Object.defineProperty(exports, "fetchChargeCardConfig", { enumerable: true, get: function () { return chargeCardConfigReducer_1.fetchChargeCardConfig; } });
|
|
1289
1289
|
const chargeCardDetailReducer_1 = require("./view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer");
|
|
1290
1290
|
Object.defineProperty(exports, "completeCVVActivationWait", { enumerable: true, get: function () { return chargeCardDetailReducer_1.completeCVVActivationWait; } });
|
|
1291
|
+
Object.defineProperty(exports, "completeDebitCardSetPinWait", { enumerable: true, get: function () { return chargeCardDetailReducer_1.completeDebitCardSetPinWait; } });
|
|
1292
|
+
Object.defineProperty(exports, "fetchChargeCardDetail", { enumerable: true, get: function () { return chargeCardDetailReducer_1.fetchChargeCardDetail; } });
|
|
1291
1293
|
Object.defineProperty(exports, "fetchChargeCardDetailPage", { enumerable: true, get: function () { return chargeCardDetailReducer_1.fetchChargeCardDetailPage; } });
|
|
1292
1294
|
Object.defineProperty(exports, "fetchChargeCardTransactionAttachments", { enumerable: true, get: function () { return chargeCardDetailReducer_1.fetchChargeCardTransactionAttachments; } });
|
|
1293
1295
|
Object.defineProperty(exports, "fetchChargeCardTransactionList", { enumerable: true, get: function () { return chargeCardDetailReducer_1.fetchChargeCardTransactionList; } });
|
|
1296
|
+
Object.defineProperty(exports, "fetchDepositAccountLimit", { enumerable: true, get: function () { return chargeCardDetailReducer_1.fetchDepositAccountLimit; } });
|
|
1294
1297
|
Object.defineProperty(exports, "startCVVActivationWait", { enumerable: true, get: function () { return chargeCardDetailReducer_1.startCVVActivationWait; } });
|
|
1298
|
+
Object.defineProperty(exports, "startDebitCardSetPinWait", { enumerable: true, get: function () { return chargeCardDetailReducer_1.startDebitCardSetPinWait; } });
|
|
1295
1299
|
Object.defineProperty(exports, "updateChargeCardDetail", { enumerable: true, get: function () { return chargeCardDetailReducer_1.updateChargeCardDetail; } });
|
|
1296
1300
|
Object.defineProperty(exports, "updateChargeCardSpendLimit", { enumerable: true, get: function () { return chargeCardDetailReducer_1.updateChargeCardSpendLimit; } });
|
|
1297
1301
|
Object.defineProperty(exports, "updateChargeCardSpendLimitSuccessOrFailure", { enumerable: true, get: function () { return chargeCardDetailReducer_1.updateChargeCardSpendLimitSuccessOrFailure; } });
|
|
1298
1302
|
Object.defineProperty(exports, "updateChargeCardTransactionIsViewReceiptClicked", { enumerable: true, get: function () { return chargeCardDetailReducer_1.updateChargeCardTransactionIsViewReceiptClicked; } });
|
|
1299
1303
|
Object.defineProperty(exports, "updateChargeCardTransactionReceiptsShowTickFetchStatus", { enumerable: true, get: function () { return chargeCardDetailReducer_1.updateChargeCardTransactionReceiptsShowTickFetchStatus; } });
|
|
1300
1304
|
Object.defineProperty(exports, "updateChargeCardTransactionUploadReceiptsFetchStatus", { enumerable: true, get: function () { return chargeCardDetailReducer_1.updateChargeCardTransactionUploadReceiptsFetchStatus; } });
|
|
1305
|
+
Object.defineProperty(exports, "updateDebitCardPinAttempt", { enumerable: true, get: function () { return chargeCardDetailReducer_1.updateDebitCardPinAttempt; } });
|
|
1301
1306
|
Object.defineProperty(exports, "updatePhysicalChargeCardAttempt", { enumerable: true, get: function () { return chargeCardDetailReducer_1.updatePhysicalChargeCardAttempt; } });
|
|
1302
1307
|
const chargeCardDetailSelector_1 = require("./view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector");
|
|
1303
1308
|
Object.defineProperty(exports, "getChargeCardCVVActivateView", { enumerable: true, get: function () { return chargeCardDetailSelector_1.getChargeCardCVVActivateView; } });
|
|
1304
1309
|
Object.defineProperty(exports, "getChargeCardDetailView", { enumerable: true, get: function () { return chargeCardDetailSelector_1.getChargeCardDetailView; } });
|
|
1305
1310
|
Object.defineProperty(exports, "getChargeCardTransactionAttachmentView", { enumerable: true, get: function () { return chargeCardDetailSelector_1.getChargeCardTransactionAttachmentView; } });
|
|
1311
|
+
Object.defineProperty(exports, "getDebitCardSetPinView", { enumerable: true, get: function () { return chargeCardDetailSelector_1.getDebitCardSetPinView; } });
|
|
1306
1312
|
const chargeCardList_1 = require("./view/spendManagement/chargeCards/chargeCardList/chargeCardList");
|
|
1307
1313
|
Object.defineProperty(exports, "toChargeCardSortKeyType", { enumerable: true, get: function () { return chargeCardList_1.toChargeCardSortKeyType; } });
|
|
1308
1314
|
const chargeCardListReducer_1 = require("./view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer");
|
|
@@ -1490,7 +1496,7 @@ const depositAccountDetailSelector_1 = require("./view/spendManagement/zeniAccou
|
|
|
1490
1496
|
Object.defineProperty(exports, "getDepositAccountDetail", { enumerable: true, get: function () { return depositAccountDetailSelector_1.getDepositAccountDetail; } });
|
|
1491
1497
|
Object.defineProperty(exports, "getDepositAccountDetailForPDF", { enumerable: true, get: function () { return depositAccountDetailSelector_1.getDepositAccountDetailForPDF; } });
|
|
1492
1498
|
const depositAccountListSelector_1 = require("./view/spendManagement/zeniAccounts/depositAccountList/depositAccountListSelector");
|
|
1493
|
-
Object.defineProperty(exports, "
|
|
1499
|
+
Object.defineProperty(exports, "getAllDepositAccounts", { enumerable: true, get: function () { return depositAccountListSelector_1.getAllDepositAccounts; } });
|
|
1494
1500
|
const depositAccountTransactionListReducer_1 = require("./view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListReducer");
|
|
1495
1501
|
Object.defineProperty(exports, "fetchDepositAccountTransactionList", { enumerable: true, get: function () { return depositAccountTransactionListReducer_1.fetchDepositAccountTransactionList; } });
|
|
1496
1502
|
const depositAccountTransactionListSelector_1 = require("./view/spendManagement/zeniAccounts/depositAccountTransactionList/depositAccountTransactionListSelector");
|
|
@@ -1695,6 +1701,8 @@ Object.defineProperty(exports, "sendOtp", { enumerable: true, get: function () {
|
|
|
1695
1701
|
Object.defineProperty(exports, "verifyOtp", { enumerable: true, get: function () { return twoFactorAuthenticationReducer_1.verifyOtp; } });
|
|
1696
1702
|
const twoFactorAuthenticationSelector_1 = require("./view/twoFactorAuthentication/twoFactorAuthenticationSelector");
|
|
1697
1703
|
Object.defineProperty(exports, "getTwoFactorAuthenticationView", { enumerable: true, get: function () { return twoFactorAuthenticationSelector_1.getTwoFactorAuthenticationView; } });
|
|
1704
|
+
Object.defineProperty(exports, "getTwoFactorAuthenticationViewForCardUserOnboarding", { enumerable: true, get: function () { return twoFactorAuthenticationSelector_1.getTwoFactorAuthenticationViewForCardUserOnboarding; } });
|
|
1705
|
+
Object.defineProperty(exports, "getTwoFactorAuthenticationViewForChargeCardHolder", { enumerable: true, get: function () { return twoFactorAuthenticationSelector_1.getTwoFactorAuthenticationViewForChargeCardHolder; } });
|
|
1698
1706
|
const userFinancialAccountReducer_1 = require("./view/userFinancialAccount/userFinancialAccountReducer");
|
|
1699
1707
|
Object.defineProperty(exports, "fetchUserFinancialAccount", { enumerable: true, get: function () { return userFinancialAccountReducer_1.fetchUserFinancialAccount; } });
|
|
1700
1708
|
const userFinancialAccountSelector_1 = require("./view/userFinancialAccount/userFinancialAccountSelector");
|
package/lib/reducer.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { ChargeCardTransactionState } from './entity/chargeCardTransaction/charg
|
|
|
13
13
|
import { ClassState } from './entity/class/classState';
|
|
14
14
|
import { CompanyState } from './entity/company/companyState';
|
|
15
15
|
import { CompanyHealthState } from './entity/companyHealthMetric/companyHealthMetricState';
|
|
16
|
+
import { ConnectedAccountState } from './entity/connectedAccount/connectedAccount';
|
|
16
17
|
import { CountryListState } from './entity/countryList/countryListState';
|
|
17
18
|
import { CurrencyState } from './entity/currency/currency';
|
|
18
19
|
import { CustomerState } from './entity/customer/customerState';
|
|
@@ -207,6 +208,7 @@ type EntitiesState = {
|
|
|
207
208
|
classState: ClassState;
|
|
208
209
|
companyHealthMetricState: CompanyHealthState;
|
|
209
210
|
companyState: CompanyState;
|
|
211
|
+
connectedAccountState: ConnectedAccountState;
|
|
210
212
|
contactState: ContactState;
|
|
211
213
|
currencyState: CurrencyState;
|
|
212
214
|
customerIncomeState: CustomerIncomeState;
|
|
@@ -545,6 +547,7 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
545
547
|
classState: ClassState;
|
|
546
548
|
companyHealthMetricState: CompanyHealthState;
|
|
547
549
|
companyState: CompanyState;
|
|
550
|
+
connectedAccountState: ConnectedAccountState;
|
|
548
551
|
contactState: ContactState;
|
|
549
552
|
currencyState: CurrencyState;
|
|
550
553
|
customerIncomeState: CustomerIncomeState;
|
package/lib/reducer.js
CHANGED
|
@@ -53,6 +53,7 @@ const chargeCardTransactionReducer_1 = __importStar(require("./entity/chargeCard
|
|
|
53
53
|
const classReducer_1 = __importStar(require("./entity/class/classReducer"));
|
|
54
54
|
const companyReducer_1 = __importStar(require("./entity/company/companyReducer"));
|
|
55
55
|
const companyHealthMetricReducer_1 = __importStar(require("./entity/companyHealthMetric/companyHealthMetricReducer"));
|
|
56
|
+
const connectedAccountReducer_1 = __importStar(require("./entity/connectedAccount/connectedAccountReducer"));
|
|
56
57
|
const countryListReducer_1 = __importStar(require("./entity/countryList/countryListReducer"));
|
|
57
58
|
const currencyReducer_1 = __importStar(require("./entity/currency/currencyReducer"));
|
|
58
59
|
const customerReducer_1 = __importStar(require("./entity/customer/customerReducer"));
|
|
@@ -249,6 +250,7 @@ const initialEntitiesState = {
|
|
|
249
250
|
classState: classReducer_1.initialState,
|
|
250
251
|
companyHealthMetricState: companyHealthMetricReducer_1.initialState,
|
|
251
252
|
companyState: companyReducer_1.initialState,
|
|
253
|
+
connectedAccountState: connectedAccountReducer_1.initialState,
|
|
252
254
|
contactState: contactReducer_1.initialState,
|
|
253
255
|
currencyState: currencyReducer_1.initialState,
|
|
254
256
|
customerIncomeState: customerIncomeTrendReducer_1.initialState,
|
|
@@ -452,6 +454,7 @@ const entityReducers = {
|
|
|
452
454
|
classState: classReducer_1.default,
|
|
453
455
|
companyHealthMetricState: companyHealthMetricReducer_1.default,
|
|
454
456
|
companyState: companyReducer_1.default,
|
|
457
|
+
connectedAccountState: connectedAccountReducer_1.default,
|
|
455
458
|
contactState: contactReducer_1.default,
|
|
456
459
|
currencyState: currencyReducer_1.default,
|
|
457
460
|
customerIncomeState: customerIncomeTrendReducer_1.default,
|
|
@@ -98,6 +98,14 @@
|
|
|
98
98
|
"account_type": null
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
|
+
"debit_cards_info": {
|
|
102
|
+
"is_debit_cards_tos_accepted": true,
|
|
103
|
+
"is_debit_cards_enabled": true,
|
|
104
|
+
"debit_cards_tos_acceptance_time": "2023-11-18T08:07:26.864486",
|
|
105
|
+
"debit_cards_tos_acceptance_user_id": "u_1c176a71-77f9-428c-bf32-f90396024326",
|
|
106
|
+
"debit_cards_tos_acceptance_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
|
|
107
|
+
"debit_cards_tos_acceptance_ip": "219.91.160.34"
|
|
108
|
+
},
|
|
101
109
|
"mileage_rate_config": {
|
|
102
110
|
"default_mileage_unit_amount": 0.67,
|
|
103
111
|
"mileage_unit_amount": 0.655,
|
|
@@ -85,6 +85,14 @@
|
|
|
85
85
|
"charge_cards_tos_acceptance_ip": "219.91.160.34",
|
|
86
86
|
"is_charge_cards_tos_accepted": true,
|
|
87
87
|
"is_charge_cards_enabled": false
|
|
88
|
+
},
|
|
89
|
+
"debit_cards_info": {
|
|
90
|
+
"is_debit_cards_tos_accepted": true,
|
|
91
|
+
"is_debit_cards_enabled": true,
|
|
92
|
+
"debit_cards_tos_acceptance_time": "2023-11-18T08:07:26.864486",
|
|
93
|
+
"debit_cards_tos_acceptance_user_id": "u_1c176a71-77f9-428c-bf32-f90396024326",
|
|
94
|
+
"debit_cards_tos_acceptance_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
|
|
95
|
+
"debit_cards_tos_acceptance_ip": "219.91.160.34"
|
|
88
96
|
}
|
|
89
97
|
}
|
|
90
98
|
],
|
|
@@ -182,6 +190,14 @@
|
|
|
182
190
|
"account_type": null
|
|
183
191
|
}
|
|
184
192
|
},
|
|
193
|
+
"debit_cards_info": {
|
|
194
|
+
"is_debit_cards_tos_accepted": true,
|
|
195
|
+
"is_debit_cards_enabled": true,
|
|
196
|
+
"debit_cards_tos_acceptance_time": "2023-11-18T08:07:26.864486",
|
|
197
|
+
"debit_cards_tos_acceptance_user_id": "u_1c176a71-77f9-428c-bf32-f90396024326",
|
|
198
|
+
"debit_cards_tos_acceptance_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
|
|
199
|
+
"debit_cards_tos_acceptance_ip": "219.91.160.34"
|
|
200
|
+
},
|
|
185
201
|
"mileage_rate_config": {
|
|
186
202
|
"default_mileage_unit_amount": 0.67,
|
|
187
203
|
"mileage_unit_amount": 0.655,
|
|
@@ -2,7 +2,7 @@ import { FetchStateAndError, ID } from '../../commonStateTypes/common';
|
|
|
2
2
|
import { Address } from '../../entity/address/addressState';
|
|
3
3
|
import { OfficerType } from '../companyView/types/companyPassport/companyUsersLocalData';
|
|
4
4
|
export type AddressUpdatableInfo = Omit<Address, 'updateTime' | 'createTime' | 'addressId'>;
|
|
5
|
-
export type AddressType = 'company_address' | 'company_registered_address' | `officer_${OfficerType}_address` | 'vendor_address' | 'user_address' | `
|
|
5
|
+
export type AddressType = 'company_address' | 'company_registered_address' | `officer_${OfficerType}_address` | 'vendor_address' | 'user_address' | `credit_custom_shipping_${ID}_address` | `debit_custom_shipping_${ID}_address` | `subscription_billing_address`;
|
|
6
6
|
export interface NewAddressData {
|
|
7
7
|
addressType: AddressType;
|
|
8
8
|
parentEntityId?: {
|
|
@@ -48,7 +48,7 @@ const getReviewPageBillDetail = (state, billId) => {
|
|
|
48
48
|
let file;
|
|
49
49
|
let contactDetails = [];
|
|
50
50
|
const primaryPaymentAccount = (0, paymentAccountSelector_1.getPaymentAccountsByPaymentAccountIds)(paymentAccountState, paymentAccountListState.paymentAccountIds);
|
|
51
|
-
const allDepositAccounts = (0, depositAccountListSelector_1.
|
|
51
|
+
const allDepositAccounts = (0, depositAccountListSelector_1.getAllDepositAccounts)(depositAccountState, depositAccountListState).depositAccounts;
|
|
52
52
|
const withdrawFromList = (0, setupViewSelector_1.getAllFundingAccounts)(allDepositAccounts, primaryPaymentAccount, paymentAccountListState.paymentAccountBalanceFetchStatus);
|
|
53
53
|
let fetchState = 'Not-Started';
|
|
54
54
|
let sourceBillDetailFetchState = 'Not-Started';
|
|
@@ -86,7 +86,7 @@ const getEditBillDetail = (state, isVendorRecommendationFeatureEnabled, isZeniAc
|
|
|
86
86
|
: undefined;
|
|
87
87
|
const isCompanyZeniAccountsSetUpDone = (_g = currentCompany === null || currentCompany === void 0 ? void 0 : currentCompany.company.companyZeniAccountInfo.isZeniAccountEnabled) !== null && _g !== void 0 ? _g : false;
|
|
88
88
|
const allDepositAccounts = isZeniAccountsEnabled && isCompanyZeniAccountsSetUpDone
|
|
89
|
-
? (0, depositAccountListSelector_1.
|
|
89
|
+
? (0, depositAccountListSelector_1.getAllDepositAccounts)(depositAccountState, depositAccountListState)
|
|
90
90
|
.depositAccounts
|
|
91
91
|
: [];
|
|
92
92
|
if (allDepositAccounts.length === 0 && fromDepositAccount != null) {
|
package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.js
CHANGED
|
@@ -4,16 +4,17 @@ exports.getCardUserOnboardingView = void 0;
|
|
|
4
4
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
5
5
|
const reduceFetchState_1 = require("../../../../commonStateTypes/reduceFetchState");
|
|
6
6
|
const userSelector_1 = require("../../../../entity/user/userSelector");
|
|
7
|
+
const twoFactorAuthentication_1 = require("../../../twoFactorAuthentication/twoFactorAuthentication");
|
|
7
8
|
const twoFactorAuthenticationSelector_1 = require("../../../twoFactorAuthentication/twoFactorAuthenticationSelector");
|
|
8
9
|
exports.getCardUserOnboardingView = (0, toolkit_1.createSelector)((state) => state, (state) => state.cardUserOnboardingState, (state) => state.settingsViewState, (state) => state.tenantState, (state) => state.userState, (state, cardUserOnboardingState, settingsViewState, tenantState, userState) => {
|
|
9
|
-
var _a;
|
|
10
|
-
const twoFAView = (0, twoFactorAuthenticationSelector_1.
|
|
10
|
+
var _a, _b;
|
|
11
|
+
const twoFAView = (_a = (0, twoFactorAuthenticationSelector_1.getTwoFactorAuthenticationViewForCardUserOnboarding)(state)) !== null && _a !== void 0 ? _a : twoFactorAuthentication_1.initialTwoFactorAuthenticationWithoutToken;
|
|
11
12
|
const updateStatus = (0, reduceFetchState_1.reduceAllFetchState)([
|
|
12
13
|
settingsViewState.profile.updateStatus,
|
|
13
14
|
cardUserOnboardingState.sendOtpStatus,
|
|
14
15
|
cardUserOnboardingState.cardUserOnboardingActivationWaitStatus,
|
|
15
16
|
]);
|
|
16
|
-
const userId = (
|
|
17
|
+
const userId = (_b = tenantState.loggedInUser) === null || _b === void 0 ? void 0 : _b.userId;
|
|
17
18
|
if (userId == null) {
|
|
18
19
|
throw new Error(`User not logged in`);
|
|
19
20
|
}
|
|
@@ -4,7 +4,7 @@ import { CreditTerm, RePaymentInfo } from './chargeCardConfigState';
|
|
|
4
4
|
export interface ChargeCardConfigPayload {
|
|
5
5
|
allowed_credit_limit_span_options: AllowedValueWithCode[];
|
|
6
6
|
credit_terms: CreditTermsPayload;
|
|
7
|
-
repayment_info: RePaymentInfoPayload;
|
|
7
|
+
repayment_info: RePaymentInfoPayload | null;
|
|
8
8
|
receipt_required_above_amount: {
|
|
9
9
|
amount: number;
|
|
10
10
|
currency_code: string;
|
|
@@ -16,8 +16,10 @@ export interface ChargeCardConfigPayload {
|
|
|
16
16
|
interface CreditTermsPayload {
|
|
17
17
|
credit_terms_id: string;
|
|
18
18
|
credit_terms_name: string;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
max_number_of_physical_charge_cards_per_user: number;
|
|
20
|
+
max_number_of_physical_debit_cards_per_user: number;
|
|
21
|
+
max_number_of_virtual_charge_cards_per_user: number;
|
|
22
|
+
max_number_of_virtual_debit_cards_per_user: number;
|
|
21
23
|
}
|
|
22
24
|
interface RePaymentInfoPayload {
|
|
23
25
|
current_statement_period_end_date: string;
|
|
@@ -5,8 +5,10 @@ const zeniDayJS_1 = require("../../../../zeniDayJS");
|
|
|
5
5
|
const toCreditTerm = (payload) => ({
|
|
6
6
|
termId: payload.credit_terms_id,
|
|
7
7
|
name: payload.credit_terms_name,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
maxVirtualChargeCardPerUser: payload.max_number_of_virtual_charge_cards_per_user,
|
|
9
|
+
maxVirtualDebitCardPerUser: payload.max_number_of_virtual_debit_cards_per_user,
|
|
10
|
+
maxPhysicalChargeCardPerUser: payload.max_number_of_physical_charge_cards_per_user,
|
|
11
|
+
maxPhysicalDebitCardPerUser: payload.max_number_of_physical_debit_cards_per_user,
|
|
10
12
|
});
|
|
11
13
|
exports.toCreditTerm = toCreditTerm;
|
|
12
14
|
const toRePaymentInfo = (payload) => ({
|
|
@@ -11,8 +11,10 @@ exports.initialState = {
|
|
|
11
11
|
creditTerm: {
|
|
12
12
|
termId: '',
|
|
13
13
|
name: '',
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
maxVirtualChargeCardPerUser: 0,
|
|
15
|
+
maxVirtualDebitCardPerUser: 0,
|
|
16
|
+
maxPhysicalChargeCardPerUser: 0,
|
|
17
|
+
maxPhysicalDebitCardPerUser: 0,
|
|
16
18
|
},
|
|
17
19
|
receiptRequiredAboveAmount: {
|
|
18
20
|
amount: 0,
|
|
@@ -44,7 +46,10 @@ const chargeCardConfig = (0, toolkit_1.createSlice)({
|
|
|
44
46
|
name: fequency.name,
|
|
45
47
|
}));
|
|
46
48
|
draft.creditTerm = (0, chargeCardConfigPayload_1.toCreditTerm)(payload.credit_terms);
|
|
47
|
-
draft.rePaymentInfo =
|
|
49
|
+
draft.rePaymentInfo =
|
|
50
|
+
payload.repayment_info != null
|
|
51
|
+
? (0, chargeCardConfigPayload_1.toRePaymentInfo)(payload.repayment_info)
|
|
52
|
+
: undefined;
|
|
48
53
|
draft.receiptRequiredAboveAmount = (0, amount_1.toAmount)(payload.receipt_required_above_amount.amount, payload.receipt_required_above_amount.currency_code, payload.receipt_required_above_amount.currency_symbol);
|
|
49
54
|
draft.receiptBotEmail = payload.receipt_bot_email;
|
|
50
55
|
draft.isAiCategorizationEnabledForCardsTransactions =
|
|
@@ -14,8 +14,10 @@ export interface ChargeCardConfigState extends FetchedState {
|
|
|
14
14
|
export interface CreditTerm {
|
|
15
15
|
termId: ID;
|
|
16
16
|
name: string;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
maxVirtualChargeCardPerUser: number;
|
|
18
|
+
maxVirtualDebitCardPerUser: number;
|
|
19
|
+
maxPhysicalChargeCardPerUser: number;
|
|
20
|
+
maxPhysicalDebitCardPerUser: number;
|
|
19
21
|
}
|
|
20
22
|
export interface RePaymentInfo {
|
|
21
23
|
statementPeriod: TimeframeTick;
|
|
@@ -8,10 +8,22 @@ export interface ChargeCardDetailState {
|
|
|
8
8
|
interface ChargeCardDetail extends FetchedState {
|
|
9
9
|
id: ID;
|
|
10
10
|
cvvActivationWaitStatus: FetchStateAndError;
|
|
11
|
+
debitCardSetPinWaitStatus: FetchStateAndError;
|
|
11
12
|
transactionList: ChargeCardDetailTransactionList;
|
|
12
13
|
updateStatus: FetchStateAndError;
|
|
14
|
+
isRefreshingViewInBackground: boolean;
|
|
13
15
|
updatePhysicalChargeCardAttemptFetchState: FetchStateAndError;
|
|
16
|
+
updateDebitCardPinAttemptFetchState: FetchStateAndError;
|
|
14
17
|
updateChargeCardLimitFetchState: FetchStateAndError;
|
|
18
|
+
depositAccountLimitFetchState: FetchStateAndError;
|
|
19
|
+
twoFAState: TwoFAState;
|
|
20
|
+
}
|
|
21
|
+
interface TwoFAState {
|
|
22
|
+
sendOtpStatus: FetchStateAndError;
|
|
23
|
+
verifyOtpStatus: FetchStateAndError;
|
|
24
|
+
isPhoneVerified: boolean;
|
|
25
|
+
phone?: string;
|
|
26
|
+
otpChallenge?: string;
|
|
15
27
|
}
|
|
16
28
|
export declare const toChargeCardTransactionSortKeyType: (v: string) => "amount" | "type" | "merchant" | "paymentDate" | "receipts";
|
|
17
29
|
export declare type ChargeCardTransactionSortKey = ReturnType<typeof toChargeCardTransactionSortKeyType>;
|