@zeniai/client-epic-state 4.12.50 → 4.12.52

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 (119) hide show
  1. package/lib/commonStateTypes/animations.d.ts +1 -1
  2. package/lib/commonStateTypes/animations.js +1 -0
  3. package/lib/commonStateTypes/fiscalYearHelpers/formatMinutesToFromHHMM.d.ts +2 -0
  4. package/lib/commonStateTypes/fiscalYearHelpers/formatMinutesToFromHHMM.js +26 -0
  5. package/lib/entity/billPay/billTransaction/billTransactionPayload.d.ts +13 -1
  6. package/lib/entity/billPay/billTransaction/billTransactionPayload.js +24 -1
  7. package/lib/entity/billPay/billTransaction/billTransactionState.d.ts +13 -0
  8. package/lib/entity/billPay/billTransaction/billTransactionState.js +8 -0
  9. package/lib/entity/jeSchedules/jeSchedulesReducer.d.ts +2 -2
  10. package/lib/entity/snackbar/snackbarState.d.ts +6 -0
  11. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -5
  12. package/lib/entity/snackbar/snackbarTypes.js +3 -0
  13. package/lib/entity/task/taskPayload.d.ts +1 -0
  14. package/lib/entity/task/taskPayload.js +5 -1
  15. package/lib/entity/task/taskState.d.ts +1 -0
  16. package/lib/entity/tenant/clearAllEpic.d.ts +1 -1
  17. package/lib/entity/tenant/clearAllEpic.js +1 -1
  18. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
  19. package/lib/entity/toastNotification/epic/pushToastNotificationEpic.js +12 -5
  20. package/lib/entity/toastNotification/toastNotificationConstants.d.ts +4 -0
  21. package/lib/entity/toastNotification/toastNotificationConstants.js +7 -0
  22. package/lib/entity/toastNotification/toastNotificationPayload.js +28 -15
  23. package/lib/entity/toastNotification/toastNotificationState.d.ts +8 -8
  24. package/lib/entity/toastNotification/toastNotificationState.js +9 -8
  25. package/lib/entity/transaction/stateTypes/transactionType.d.ts +2 -2
  26. package/lib/entity/vendor/vendorPayload.d.ts +1 -0
  27. package/lib/entity/vendor/vendorPayload.js +4 -4
  28. package/lib/entity/vendor/vendorState.d.ts +1 -0
  29. package/lib/epic.d.ts +10 -7
  30. package/lib/epic.js +10 -7
  31. package/lib/index.d.ts +16 -10
  32. package/lib/index.js +28 -14
  33. package/lib/reducer.d.ts +4 -1
  34. package/lib/reducer.js +4 -1
  35. package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.d.ts +1 -1
  36. package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.d.ts +1 -1
  37. package/lib/view/cardPayment/epic/createCardSetupIntentEpic.d.ts +1 -1
  38. package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.d.ts +1 -1
  39. package/lib/view/commonVendorView/vendorView/vendorViewPayload.d.ts +1 -0
  40. package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
  41. package/lib/view/people/deletePersonEpic.d.ts +1 -1
  42. package/lib/view/people/invitePeopleEpic.d.ts +1 -1
  43. package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
  44. package/lib/view/people/resendInviteEpic.d.ts +1 -1
  45. package/lib/view/scheduleView/scheduleDetailView/scheduleDetailReducer.d.ts +4 -4
  46. package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
  47. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewPayload.d.ts +5 -0
  48. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.d.ts +22 -1
  49. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewReducer.js +133 -2
  50. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.d.ts +2 -1
  51. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewSelector.js +2 -0
  52. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewState.d.ts +9 -0
  53. package/lib/view/spendManagement/billPay/billDetailView/billDetailViewState.js +14 -0
  54. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.d.ts +2 -2
  55. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchBillDetailEpic.js +10 -1
  56. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchEligibleActionsForBillEpic.d.ts +7 -0
  57. package/lib/view/spendManagement/billPay/billDetailView/epics/fetchEligibleActionsForBillEpic.js +42 -0
  58. package/lib/view/spendManagement/billPay/billDetailView/epics/retryOrRefundBillEpic.d.ts +9 -0
  59. package/lib/view/spendManagement/billPay/billDetailView/epics/retryOrRefundBillEpic.js +76 -0
  60. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.d.ts +1 -0
  61. package/lib/view/spendManagement/billPay/billPayReview/billPayReviewSelector.js +3 -0
  62. package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.d.ts +3 -1
  63. package/lib/view/spendManagement/billPay/editBillView/editBillViewReducer.js +6 -2
  64. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +1 -0
  65. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +3 -0
  66. package/lib/view/spendManagement/billPay/editBillView/editBillViewState.d.ts +1 -0
  67. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.d.ts +68 -0
  68. package/lib/view/spendManagement/billPay/editBillView/epics/saveBillDetailEpic.js +2 -1
  69. package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
  70. package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
  71. package/lib/view/taskManager/taskDetailView/epics/initializeTaskToLocalStoreEpic.js +1 -0
  72. package/lib/view/taskManager/taskDetailView/epics/saveTaskDetailEpic.js +2 -0
  73. package/lib/view/taskManager/taskDetailView/taskDetail.d.ts +1 -0
  74. package/lib/view/taskManager/taskDetailView/taskDetail.js +1 -0
  75. package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +2 -1
  76. package/lib/view/taskManager/taskListView/{bulkUpdateTaskListEpic.d.ts → epics/bulkUpdateTaskListEpic.d.ts} +8 -6
  77. package/lib/view/taskManager/taskListView/{bulkUpdateTaskListEpic.js → epics/bulkUpdateTaskListEpic.js} +13 -5
  78. package/lib/view/taskManager/taskListView/{dragNDropTasksEpic.d.ts → epics/dragNDropTasksEpic.d.ts} +2 -2
  79. package/lib/view/taskManager/taskListView/{dragNDropTasksEpic.js → epics/dragNDropTasksEpic.js} +2 -2
  80. package/lib/view/taskManager/taskListView/{fetchTaskListEpic.d.ts → epics/fetchTaskListEpic.d.ts} +5 -5
  81. package/lib/view/taskManager/taskListView/{fetchTaskListEpic.js → epics/fetchTaskListEpic.js} +4 -4
  82. package/lib/view/taskManager/taskListView/{fetchTaskListPageEpic.d.ts → epics/fetchTaskListPageEpic.d.ts} +6 -6
  83. package/lib/view/taskManager/taskListView/{fetchTaskListPageEpic.js → epics/fetchTaskListPageEpic.js} +5 -5
  84. package/lib/view/taskManager/taskListView/{updateTaskFromListViewEpic.d.ts → epics/updateTaskFromListViewEpic.d.ts} +4 -4
  85. package/lib/view/taskManager/taskListView/{updateTaskFromListViewEpic.js → epics/updateTaskFromListViewEpic.js} +5 -7
  86. package/lib/view/taskManager/taskListView/taskList.d.ts +1 -1
  87. package/lib/view/taskManager/taskListView/taskList.js +1 -0
  88. package/lib/view/taskManager/taskListView/taskListSelector.js +2 -0
  89. package/lib/view/transactionDetail/transactionDetailState.d.ts +2 -2
  90. package/lib/view/{vendorFiling1099List → vendorFiling1099}/__mock__/vendorFiling1099ListMock.d.ts +2 -2
  91. package/lib/view/{vendorFiling1099List → vendorFiling1099}/__mock__/vendorFiling1099ListMock.js +1 -1
  92. package/lib/view/{vendorFiling1099List → vendorFiling1099}/__mock__/vendorFiling1099ListSelectorMock.d.ts +1 -1
  93. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.d.ts +98 -0
  94. package/lib/view/vendorFiling1099/__mock__/vendorFiling1099UploadDetailsMock.js +101 -0
  95. package/lib/view/{vendorFiling1099List → vendorFiling1099/vendorFiling1099List}/fetchVendorsFiling1099ListEpic.d.ts +5 -5
  96. package/lib/view/{vendorFiling1099List → vendorFiling1099/vendorFiling1099List}/fetchVendorsFiling1099ListEpic.js +5 -5
  97. package/lib/view/{vendorFiling1099List → vendorFiling1099/vendorFiling1099List}/vendorFiling1099ListPayload.d.ts +3 -3
  98. package/lib/view/{vendorFiling1099List → vendorFiling1099/vendorFiling1099List}/vendorFiling1099ListReducer.d.ts +2 -2
  99. package/lib/view/{vendorFiling1099List → vendorFiling1099/vendorFiling1099List}/vendorFiling1099ListReducer.js +1 -1
  100. package/lib/view/{vendorFiling1099List → vendorFiling1099/vendorFiling1099List}/vendorFiling1099ListSelector.d.ts +6 -6
  101. package/lib/view/{vendorFiling1099List → vendorFiling1099/vendorFiling1099List}/vendorFiling1099ListSelector.js +1 -1
  102. package/lib/view/{vendorFiling1099List → vendorFiling1099/vendorFiling1099List}/vendorFiling1099ListState.d.ts +3 -3
  103. package/lib/view/{vendorFiling1099List → vendorFiling1099/vendorFiling1099List}/vendorFiling1099ListState.js +1 -1
  104. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsPayload.d.ts +41 -0
  105. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsPayload.js +32 -0
  106. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.d.ts +21 -0
  107. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +137 -0
  108. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSaveEpic.d.ts +9 -0
  109. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSaveEpic.js +51 -0
  110. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSelector.d.ts +12 -0
  111. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsSelector.js +15 -0
  112. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsState.d.ts +20 -0
  113. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsState.js +2 -0
  114. package/lib/view/vendorTabView/fetchVendorTabViewEpic.d.ts +1 -1
  115. package/lib/view/vendorTabView/fetchVendorTabViewEpic.js +2 -2
  116. package/package.json +3 -2
  117. /package/lib/view/{vendorFiling1099List → vendorFiling1099}/__mock__/json/vendorFiling1099ListSuccess.json +0 -0
  118. /package/lib/view/{vendorFiling1099List → vendorFiling1099}/__mock__/vendorFiling1099ListSelectorMock.js +0 -0
  119. /package/lib/view/{vendorFiling1099List → vendorFiling1099/vendorFiling1099List}/vendorFiling1099ListPayload.js +0 -0
@@ -0,0 +1,20 @@
1
+ import { FetchedState, FetchStateAndError, ID } from '../../../commonStateTypes/common';
2
+ import { Attachment } from '../../../entity/transaction/stateTypes/attachment';
3
+ export interface VendorFiling1099UploadDetailsState extends FetchedState {
4
+ w9FormUploadStatus: FetchStateAndError;
5
+ w9FormFile?: Attachment;
6
+ vendor1099DetailsLocalData: VendorsFiling1099UploadDetailsLocalData;
7
+ vendor1099DetailsSaveStatus: FetchStateAndError;
8
+ }
9
+ export interface VendorsFiling1099UploadDetailsLocalData {
10
+ vendorId: ID;
11
+ legalName?: string;
12
+ email?: string;
13
+ w9Documents?: Attachment[];
14
+ phone?: string;
15
+ filing1099TaxClassification?: string;
16
+ tin?: {
17
+ type: string;
18
+ value: string;
19
+ };
20
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,6 +5,6 @@ import { fetchVendorTabView } from './vendorTabViewReducer';
5
5
  import { fetchAccruedScheduleList, fetchScheduleList } from '../scheduleView/scheduleListView/scheduleListReducer';
6
6
  import { fetchOpExByVendor } from '../opExByVendor/opExByVendorReducer';
7
7
  import { fetchVendorsList } from '../vendorList/vendorListReducer';
8
- import { fetchVendorsFiling1099List } from '../vendorFiling1099List/vendorFiling1099ListReducer';
8
+ import { fetchVendorsFiling1099List } from '../vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer';
9
9
  export declare type ActionType = ReturnType<typeof fetchVendorTabView> | ReturnType<typeof fetchOpExByVendor> | ReturnType<typeof fetchVendorsList> | ReturnType<typeof fetchAccruedScheduleList> | ReturnType<typeof fetchScheduleList> | ReturnType<typeof fetchVendorsFiling1099List>;
10
10
  export declare const fetchVendorTabViewEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => Observable<ActionType>;
@@ -7,12 +7,12 @@ const vendorTabViewReducer_1 = require("./vendorTabViewReducer");
7
7
  const scheduleListReducer_1 = require("../scheduleView/scheduleListView/scheduleListReducer");
8
8
  const opExByVendorReducer_1 = require("../opExByVendor/opExByVendorReducer");
9
9
  const vendorListReducer_1 = require("../vendorList/vendorListReducer");
10
- const vendorFiling1099ListReducer_1 = require("../vendorFiling1099List/vendorFiling1099ListReducer");
10
+ const vendorFiling1099ListReducer_1 = require("../vendorFiling1099/vendorFiling1099List/vendorFiling1099ListReducer");
11
11
  const scheduleListSelector_1 = require("../scheduleView/scheduleListView/scheduleListSelector");
12
12
  const scheduleListHelper_1 = require("../scheduleView/scheduleListView/scheduleListHelper");
13
13
  const opExByVendorSelector_1 = require("../opExByVendor/opExByVendorSelector");
14
14
  const vendorListSelector_1 = require("../vendorList/vendorListSelector");
15
- const vendorFiling1099ListSelector_1 = require("../vendorFiling1099List/vendorFiling1099ListSelector");
15
+ const vendorFiling1099ListSelector_1 = require("../vendorFiling1099/vendorFiling1099List/vendorFiling1099ListSelector");
16
16
  const fetchVendorTabViewEpic = (actions$, state$) => actions$.pipe((0, operators_1.filter)(vendorTabViewReducer_1.fetchVendorTabView.match), (0, operators_1.switchMap)((action) => {
17
17
  const { shouldFetchAccruedExpenses, shouldFetchFixedAssets, shouldFetchOpexByVendor, shouldFetchPrepaidExpenses, shouldFetchVendorsList, shouldFetchFiling1099Vendor, } = action.payload;
18
18
  const state = state$.value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.12.50",
3
+ "version": "4.12.52",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -76,7 +76,8 @@
76
76
  "get-func-name": "2.0.2",
77
77
  "@babel/traverse": "7.23.2",
78
78
  "braces": "3.0.3",
79
- "micromatch": "4.0.8"
79
+ "micromatch": "4.0.8",
80
+ "cross-spawn": "7.0.5"
80
81
  },
81
82
  "scripts": {
82
83
  "clean": "rimraf lib",