@zeniai/client-epic-state 4.13.5 → 4.13.9
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/account/accountPayload.d.ts +1 -1
- package/lib/entity/chargeCard/chargeCard.d.ts +16 -2
- package/lib/entity/chargeCard/chargeCard.js +18 -1
- package/lib/entity/chargeCard/chargeCardPayload.d.ts +14 -5
- package/lib/entity/chargeCard/chargeCardPayload.js +24 -7
- package/lib/entity/tenant/clearAllEpic.d.ts +4 -1
- package/lib/entity/tenant/clearAllEpic.js +6 -0
- package/lib/entity/vendor/__mocks__/vendorMock.js +0 -2
- package/lib/entity/vendor/__mocks__/vendorStateMocks.d.ts +1 -0
- package/lib/entity/vendor/__mocks__/vendorStateMocks.js +73 -4
- package/lib/entity/vendor/vendorPayload.d.ts +6 -1
- package/lib/entity/vendor/vendorPayload.js +3 -3
- package/lib/entity/vendor/vendorState.d.ts +8 -1
- package/lib/entity/vendor/vendorType.d.ts +2 -0
- package/lib/entity/vendor/vendorType.js +4 -1
- package/lib/epic.d.ts +5 -2
- package/lib/epic.js +5 -2
- package/lib/index.d.ts +15 -10
- package/lib/index.js +36 -20
- package/lib/reducer.d.ts +6 -0
- package/lib/reducer.js +6 -0
- package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.d.ts +11 -0
- package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +4607 -0
- package/lib/view/accountMappingView/accountMappingPayload.js +75 -32
- package/lib/view/accountMappingView/accountMappingReducer.js +36 -10
- package/lib/view/accountMappingView/accountMappingState.d.ts +1 -1
- package/lib/view/accountMappingView/accountMappingViewSelector.d.ts +5 -0
- package/lib/view/accountMappingView/accountMappingViewSelector.js +11 -1
- package/lib/view/accountMappingView/initializeAccountMappingViewEpic.d.ts +2 -1
- package/lib/view/accountMappingView/initializeAccountMappingViewEpic.js +2 -0
- package/lib/view/accountMappingView/saveAccountMappingViewEpic.js +6 -1
- package/lib/view/addressView/addressViewState.d.ts +1 -1
- package/lib/view/addressView/toAddressViewLocalData.d.ts +2 -0
- package/lib/view/addressView/toAddressViewLocalData.js +5 -4
- package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +1 -1
- package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.d.ts +1 -2
- package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.js +2 -5
- package/lib/view/settingsView/epic/updateMyProfileEpic.js +6 -4
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.d.ts +3 -1
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingReducer.js +6 -2
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.d.ts +2 -3
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingSelector.js +3 -3
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/cardUserOnboardingState.d.ts +1 -3
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.d.ts +1 -2
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic.js +1 -21
- package/lib/view/spendManagement/chargeCards/cardUserOnboarding/epics/saveCardOnboardingUserDetailsEpic.js +1 -3
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +1 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js +4 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.d.ts +8 -1
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +25 -2
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.d.ts +1 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +8 -4
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardDetailEpic.js +2 -1
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.d.ts +11 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/updatePhysicalChargeCardAttemptEpic.js +42 -0
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +1 -14
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.js +2 -13
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.d.ts +3 -6
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListReducer.js +2 -17
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.d.ts +8 -2
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +55 -15
- package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.d.ts +9 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic.js +44 -0
- package/lib/view/spendManagement/chargeCards/{chargeCardList → issueChargeCard}/issueChargeCardEpic.d.ts +3 -2
- package/lib/view/spendManagement/chargeCards/{chargeCardList → issueChargeCard}/issueChargeCardEpic.js +35 -18
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.d.ts +15 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +65 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.d.ts +22 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +76 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.d.ts +28 -0
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.js +23 -0
- package/lib/view/userListView/fetchUserListByTypeEpic.js +4 -1
- package/lib/view/vendor1099TypeList/vendor1099TypeListEpic.d.ts +7 -0
- package/lib/view/vendor1099TypeList/vendor1099TypeListEpic.js +23 -0
- package/lib/view/vendor1099TypeList/vendor1099TypeListPayload.d.ts +15 -0
- package/lib/view/vendor1099TypeList/vendor1099TypeListPayload.js +2 -0
- package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.d.ts +7 -0
- package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.js +52 -0
- package/lib/view/vendor1099TypeList/vendor1099TypeListState.d.ts +9 -0
- package/lib/view/vendor1099TypeList/vendor1099TypeListState.js +2 -0
- package/lib/view/vendorFiling1099/__mock__/json/vendorFiling1099ListSuccess.json +4 -1
- package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListMock.js +12 -3
- package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListSelectorMock.js +2 -4
- package/lib/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.d.ts +4 -1
- package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.d.ts +2 -2
- package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.js +7 -7
- package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector.js +21 -10
- package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.d.ts +1 -1
- package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.js +1 -0
- package/package.json +1 -1
package/lib/reducer.js
CHANGED
|
@@ -160,6 +160,7 @@ const realTimeApprovalReducer_1 = __importStar(require("./view/spendManagement/r
|
|
|
160
160
|
const transactionVendorViewReducer_1 = __importStar(require("./view/commonVendorView/transactionVendorView/transactionVendorViewReducer"));
|
|
161
161
|
const vendorsTabVendorViewReducer_1 = __importStar(require("./view/commonVendorView/vendorsTabVendorView/vendorsTabVendorViewReducer"));
|
|
162
162
|
const vendorTypeListReducer_1 = __importStar(require("./view/vendorTypeList/vendorTypeListReducer"));
|
|
163
|
+
const vendor1099TypeListReducer_1 = __importStar(require("./view/vendor1099TypeList/vendor1099TypeListReducer"));
|
|
163
164
|
const currencyReducer_1 = __importStar(require("./entity/currency/currencyReducer"));
|
|
164
165
|
const zeniAccStatementListReducer_1 = __importStar(require("./view/zeniAccStatementList/zeniAccStatementListReducer"));
|
|
165
166
|
const chargeCardStatementListReducer_1 = __importStar(require("./view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementListReducer"));
|
|
@@ -215,6 +216,7 @@ const remisBulkActionViewReducer_1 = __importStar(require("./view/spendManagemen
|
|
|
215
216
|
const vendorFiling1099ListReducer_1 = __importStar(require("./view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer"));
|
|
216
217
|
const vendorFiling1099UploadDetailsReducer_1 = __importStar(require("./view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer"));
|
|
217
218
|
const internationalWireVerificationReducer_1 = __importStar(require("./view/spendManagement/billPay/internationalWireVerification/internationalWireVerificationReducer"));
|
|
219
|
+
const issueChargeCardReducer_1 = __importStar(require("./view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer"));
|
|
218
220
|
// Note: Please maintain strict alphabetical order
|
|
219
221
|
const initialEntitiesState = {
|
|
220
222
|
accountGroupState: accountGroupReducer_1.initialState,
|
|
@@ -337,6 +339,7 @@ const initialViewsState = {
|
|
|
337
339
|
globalMerchantViewState: globalMerchantViewReducer_1.initialState,
|
|
338
340
|
insightsCardState: insightsCardReducer_1.initialState,
|
|
339
341
|
internationalWireState: internationalWireReducer_1.initialState,
|
|
342
|
+
issueChargeCardState: issueChargeCardReducer_1.initialState,
|
|
340
343
|
internationalWireVerificationState: internationalWireVerificationReducer_1.initialState,
|
|
341
344
|
magicLinkViewState: magicLinkViewReducer_1.initialState,
|
|
342
345
|
merchantListState: merchantListReducer_1.initialState,
|
|
@@ -400,6 +403,7 @@ const initialViewsState = {
|
|
|
400
403
|
vendorsTabVendorViewState: vendorsTabVendorViewReducer_1.initialState,
|
|
401
404
|
vendorTabViewState: vendorTabViewReducer_1.initialState,
|
|
402
405
|
vendorTypeListState: vendorTypeListReducer_1.initialState,
|
|
406
|
+
vendor1099TypeListState: vendor1099TypeListReducer_1.initialState,
|
|
403
407
|
vendorViewState: vendorViewReducer_1.initialState,
|
|
404
408
|
wiseRedirectState: wiseRedirectReducer_1.initialState,
|
|
405
409
|
zeniAccountDetailState: depositAccountDetailReducer_1.initialState,
|
|
@@ -531,6 +535,7 @@ const viewReducers = {
|
|
|
531
535
|
globalMerchantViewState: globalMerchantViewReducer_1.default,
|
|
532
536
|
insightsCardState: insightsCardReducer_1.default,
|
|
533
537
|
internationalWireState: internationalWireReducer_1.default,
|
|
538
|
+
issueChargeCardState: issueChargeCardReducer_1.default,
|
|
534
539
|
internationalWireVerificationState: internationalWireVerificationReducer_1.default,
|
|
535
540
|
magicLinkViewState: magicLinkViewReducer_1.default,
|
|
536
541
|
merchantListState: merchantListReducer_1.default,
|
|
@@ -594,6 +599,7 @@ const viewReducers = {
|
|
|
594
599
|
vendorFiling1099UploadDetailsState: vendorFiling1099UploadDetailsReducer_1.default,
|
|
595
600
|
vendorsTabVendorViewState: vendorsTabVendorViewReducer_1.default,
|
|
596
601
|
vendorTabViewState: vendorTabViewReducer_1.default,
|
|
602
|
+
vendor1099TypeListState: vendor1099TypeListReducer_1.default,
|
|
597
603
|
vendorTypeListState: vendorTypeListReducer_1.default,
|
|
598
604
|
vendorViewState: vendorViewReducer_1.default,
|
|
599
605
|
wiseRedirectState: wiseRedirectReducer_1.default,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AccountState } from '../../../entity/account/accountState';
|
|
2
|
+
import { AccountMappingState } from '../accountMappingState';
|
|
3
|
+
import { AccountMappingView } from '../accountMappingViewSelector';
|
|
4
|
+
declare const accountMappingState: AccountMappingState;
|
|
5
|
+
declare const accountMappingViewMock: AccountMappingView;
|
|
6
|
+
declare const accountStateForMapping: AccountState;
|
|
7
|
+
declare const accountMappingStateRecommendationInProgress: AccountMappingState;
|
|
8
|
+
declare const accountMappingStateAccountListInProgress: AccountMappingState;
|
|
9
|
+
declare const accountMappingStateAccountListComplete: AccountMappingState;
|
|
10
|
+
declare const accountMappingStateRecommendationComplete: AccountMappingState;
|
|
11
|
+
export { accountMappingViewMock, accountMappingState, accountStateForMapping, accountMappingStateRecommendationInProgress, accountMappingStateAccountListInProgress, accountMappingStateRecommendationComplete, accountMappingStateAccountListComplete, };
|