@zeniai/client-epic-state 4.13.4 → 4.13.6

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.
Files changed (58) hide show
  1. package/lib/entity/account/accountPayload.d.ts +1 -1
  2. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  3. package/lib/entity/snackbar/snackbarTypes.js +1 -0
  4. package/lib/entity/tenant/clearAllEpic.d.ts +3 -1
  5. package/lib/entity/tenant/clearAllEpic.js +4 -0
  6. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
  7. package/lib/entity/vendor/__mocks__/vendorMock.js +0 -2
  8. package/lib/entity/vendor/__mocks__/vendorStateMocks.d.ts +1 -0
  9. package/lib/entity/vendor/__mocks__/vendorStateMocks.js +73 -4
  10. package/lib/entity/vendor/vendorPayload.d.ts +6 -1
  11. package/lib/entity/vendor/vendorPayload.js +3 -3
  12. package/lib/entity/vendor/vendorState.d.ts +8 -1
  13. package/lib/entity/vendor/vendorType.d.ts +2 -0
  14. package/lib/entity/vendor/vendorType.js +4 -1
  15. package/lib/epic.d.ts +2 -1
  16. package/lib/epic.js +2 -1
  17. package/lib/reducer.d.ts +3 -0
  18. package/lib/reducer.js +3 -0
  19. package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.d.ts +11 -0
  20. package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +4607 -0
  21. package/lib/view/accountMappingView/accountMappingPayload.js +75 -32
  22. package/lib/view/accountMappingView/accountMappingReducer.js +36 -10
  23. package/lib/view/accountMappingView/accountMappingState.d.ts +1 -1
  24. package/lib/view/accountMappingView/accountMappingViewSelector.d.ts +5 -0
  25. package/lib/view/accountMappingView/accountMappingViewSelector.js +11 -1
  26. package/lib/view/accountMappingView/initializeAccountMappingViewEpic.d.ts +2 -1
  27. package/lib/view/accountMappingView/initializeAccountMappingViewEpic.js +2 -0
  28. package/lib/view/accountMappingView/saveAccountMappingViewEpic.js +6 -1
  29. package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.d.ts +1 -1
  30. package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.d.ts +1 -1
  31. package/lib/view/cardPayment/epic/createCardSetupIntentEpic.d.ts +1 -1
  32. package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.d.ts +1 -1
  33. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
  34. package/lib/view/people/deletePersonEpic.d.ts +1 -1
  35. package/lib/view/people/invitePeopleEpic.d.ts +1 -1
  36. package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
  37. package/lib/view/people/resendInviteEpic.d.ts +1 -1
  38. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
  39. package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
  40. package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
  41. package/lib/view/vendor1099TypeList/vendor1099TypeListEpic.d.ts +7 -0
  42. package/lib/view/vendor1099TypeList/vendor1099TypeListEpic.js +23 -0
  43. package/lib/view/vendor1099TypeList/vendor1099TypeListPayload.d.ts +15 -0
  44. package/lib/view/vendor1099TypeList/vendor1099TypeListPayload.js +2 -0
  45. package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.d.ts +7 -0
  46. package/lib/view/vendor1099TypeList/vendor1099TypeListReducer.js +52 -0
  47. package/lib/view/vendor1099TypeList/vendor1099TypeListState.d.ts +9 -0
  48. package/lib/view/vendor1099TypeList/vendor1099TypeListState.js +2 -0
  49. package/lib/view/vendorFiling1099/__mock__/json/vendorFiling1099ListSuccess.json +4 -1
  50. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListMock.js +12 -3
  51. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099ListSelectorMock.js +2 -4
  52. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.d.ts +4 -1
  53. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.d.ts +2 -2
  54. package/lib/view/vendorFiling1099/vendorFiling1099List/fetchVendorsFiling1099AllEpic.js +7 -7
  55. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector.js +21 -10
  56. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.d.ts +1 -1
  57. package/lib/view/vendorFiling1099/vendorFiling1099List/vendorFiling1099ListState.js +1 -0
  58. package/package.json +1 -1
package/lib/reducer.d.ts CHANGED
@@ -128,6 +128,7 @@ import { CommonHistoryState } from './view/spendManagement/commonHistoryView/com
128
128
  import { RealTimeApprovalState } from './view/spendManagement/realTimeApprovalView/realTimeApprovalState';
129
129
  import { TransactionVendorViewState } from './view/commonVendorView/transactionVendorView/transactionVendorViewState';
130
130
  import { VendorTypeListState } from './view/vendorTypeList/vendorTypeListState';
131
+ import { Vendor1099TypeListState } from './view/vendor1099TypeList/vendor1099TypeListState';
131
132
  import { CurrencyState } from './entity/currency/currency';
132
133
  import { ZeniAccStatementListState } from './view/zeniAccStatementList/zeniAccStatementList';
133
134
  import { ChargeCardStatementListState } from './view/spendManagement/chargeCards/chargeCardStatementList/chargeCardStatementList';
@@ -366,6 +367,7 @@ declare type ViewsState = {
366
367
  vendorListState: VendorListState;
367
368
  vendorsTabVendorViewState: VendorsTabVendorViewState;
368
369
  vendorTabViewState: VendorTabViewState;
370
+ vendor1099TypeListState: Vendor1099TypeListState;
369
371
  vendorTypeListState: VendorTypeListState;
370
372
  vendorViewState: VendorViewState;
371
373
  wiseRedirectState: WiseRedirectState;
@@ -500,6 +502,7 @@ declare const reducers: import("redux").Reducer<import("redux").CombinedState<{
500
502
  vendorFiling1099UploadDetailsState: VendorFiling1099UploadDetailsState;
501
503
  vendorsTabVendorViewState: VendorsTabVendorViewState;
502
504
  vendorTabViewState: import(".").FetchedState;
505
+ vendor1099TypeListState: Vendor1099TypeListState;
503
506
  vendorTypeListState: VendorTypeListState;
504
507
  vendorViewState: VendorViewState;
505
508
  wiseRedirectState: WiseRedirectState;
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"));
@@ -400,6 +401,7 @@ const initialViewsState = {
400
401
  vendorsTabVendorViewState: vendorsTabVendorViewReducer_1.initialState,
401
402
  vendorTabViewState: vendorTabViewReducer_1.initialState,
402
403
  vendorTypeListState: vendorTypeListReducer_1.initialState,
404
+ vendor1099TypeListState: vendor1099TypeListReducer_1.initialState,
403
405
  vendorViewState: vendorViewReducer_1.initialState,
404
406
  wiseRedirectState: wiseRedirectReducer_1.initialState,
405
407
  zeniAccountDetailState: depositAccountDetailReducer_1.initialState,
@@ -594,6 +596,7 @@ const viewReducers = {
594
596
  vendorFiling1099UploadDetailsState: vendorFiling1099UploadDetailsReducer_1.default,
595
597
  vendorsTabVendorViewState: vendorsTabVendorViewReducer_1.default,
596
598
  vendorTabViewState: vendorTabViewReducer_1.default,
599
+ vendor1099TypeListState: vendor1099TypeListReducer_1.default,
597
600
  vendorTypeListState: vendorTypeListReducer_1.default,
598
601
  vendorViewState: vendorViewReducer_1.default,
599
602
  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, };