@zeniai/client-epic-state 4.12.21 → 4.12.23
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/chargeCardTransaction/chargeCardTransaction.d.ts +2 -0
- package/lib/entity/chargeCardTransaction/chargeCardTransactionPayload.d.ts +5 -0
- package/lib/entity/chargeCardTransaction/chargeCardTransactionPayload.js +4 -2
- package/lib/entity/chargeCardTransaction/chargeCardTransactionReducer.d.ts +6 -2
- package/lib/entity/chargeCardTransaction/chargeCardTransactionReducer.js +8 -2
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +1 -0
- package/lib/entity/task/taskState.d.ts +0 -3
- package/lib/entity/task/taskState.js +0 -13
- package/lib/entity/toastNotification/epic/pushToastNotificationEpic.d.ts +1 -1
- package/lib/epic.d.ts +4 -1
- package/lib/epic.js +4 -1
- package/lib/index.d.ts +18 -16
- package/lib/index.js +17 -5
- package/lib/view/cardPayment/epic/addCardPaymentSourceEpic.d.ts +1 -1
- package/lib/view/cardPayment/epic/confirmCardSetupIntentEpic.d.ts +1 -1
- package/lib/view/cardPayment/epic/createCardSetupIntentEpic.d.ts +1 -1
- package/lib/view/cardPayment/epic/fetchPaymentSourcesEpic.d.ts +1 -1
- package/lib/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.d.ts +3 -3
- package/lib/view/globalMerchantView/epics/fetchGlobalMerchantRecommendationEpic.js +20 -4
- package/lib/view/globalMerchantView/globalMerchantViewReducer.d.ts +5 -2
- package/lib/view/globalMerchantView/globalMerchantViewReducer.js +8 -3
- package/lib/view/globalMerchantView/globalMerchantViewSelector.d.ts +1 -1
- package/lib/view/globalMerchantView/globalMerchantViewSelector.js +6 -5
- package/lib/view/globalMerchantView/globalMerchantViewState.d.ts +1 -0
- package/lib/view/people/changeZeniPersonRolesEpic.d.ts +1 -1
- package/lib/view/people/deletePersonEpic.d.ts +1 -1
- package/lib/view/people/invitePeopleEpic.d.ts +1 -1
- package/lib/view/people/inviteZeniPeopleEpic.d.ts +1 -1
- package/lib/view/people/resendInviteEpic.d.ts +1 -1
- package/lib/view/settingsView/epic/saveNotificationSettingsEpic.d.ts +1 -1
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigPayload.d.ts +4 -0
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigReducer.js +9 -0
- package/lib/view/spendManagement/billPay/billPayConfig/billPayConfigState.d.ts +4 -0
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.d.ts +10 -4
- package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +82 -29
- package/lib/view/spendManagement/billPay/editBillView/epics/initializeBillToLocalStoreEpic.js +2 -2
- package/lib/view/spendManagement/billPay/editBillView/epics/parseInvoiceToBillEpic.js +1 -1
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigPayload.d.ts +6 -0
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigReducer.js +9 -0
- package/lib/view/spendManagement/chargeCards/chargeCardConfig/chargeCardConfigState.d.ts +3 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.d.ts +11 -1
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetail.js +20 -2
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailPayload.d.ts +5 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.d.ts +27 -2
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailReducer.js +77 -4
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.d.ts +8 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/chargeCardDetailSelector.js +19 -2
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionAttachmentsEpic.d.ts +10 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionAttachmentsEpic.js +42 -0
- package/lib/view/spendManagement/chargeCards/chargeCardDetail/fetchChargeCardTransactionListEpic.js +3 -1
- package/lib/view/spendManagement/reimbursement/editRemiView/editRemiViewReducer.js +4 -2
- package/lib/view/tagView/epics/createTagEpic.d.ts +1 -1
- package/lib/view/tagView/epics/deleteTagEpic.d.ts +1 -1
- package/lib/view/taskManager/taskDetailView/taskDetail.js +1 -1
- package/lib/view/taskManager/taskListView/bulkUpdateTaskListEpic.d.ts +23 -0
- package/lib/view/taskManager/taskListView/bulkUpdateTaskListEpic.js +3 -2
- package/lib/view/taskManager/taskListView/taskListReducer.d.ts +5 -0
- package/lib/view/taskManager/taskListView/taskListReducer.js +64 -3
- package/lib/view/taskManager/taskListView/updateTaskFromListViewEpic.d.ts +8 -0
- package/lib/view/taskManager/taskListView/updateTaskFromListViewEpic.js +38 -0
- package/lib/view/vendorReviewView/common/state/commonTypes.d.ts +2 -1
- package/lib/view/vendorReviewView/common/state/commonTypes.js +4 -4
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorDetailsViewEpic.d.ts +8 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/epics/saveVendorDetailsViewEpic.js +62 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewPayload.d.ts +7 -1
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewPayload.js +11 -1
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.d.ts +14 -4
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewReducer.js +58 -49
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.d.ts +10 -0
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewSelector.js +21 -1
- package/lib/view/vendorReviewView/vendorFirstReviewView/vendorFirstReviewViewState.d.ts +20 -2
- package/lib/view/vendorReviewView/vendorGlobalReviewView/epics/fetchVendorGlobalReviewViewEpic.js +4 -4
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.d.ts +1 -1
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewPayload.js +2 -2
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.d.ts +6 -1
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewReducer.js +18 -6
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.d.ts +3 -1
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewSelector.js +7 -5
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.d.ts +9 -1
- package/lib/view/vendorReviewView/vendorGlobalReviewView/vendorGlobalReviewViewState.js +2 -2
- package/package.json +1 -1
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { FetchStateAndError, FetchedState, ID } from '../../../commonStateTypes/common';
|
|
2
2
|
import { SortOrder } from '../../../commonStateTypes/selectorTypes/sortOrderTypes';
|
|
3
3
|
import { PageToken } from '../../../commonStateTypes/viewAndReport/viewAndReport';
|
|
4
|
+
import { GlobalVendorReviewRowCurrentSelection } from '../common/state/commonTypes';
|
|
4
5
|
import { RecommendedNonExistingGlobalMerchant } from '../vendorFirstReviewView/vendorFirstReviewViewState';
|
|
5
|
-
export declare const toVendorGlobalReviewColumnSortKeyType: (v: string) => "
|
|
6
|
+
export declare const toVendorGlobalReviewColumnSortKeyType: (v: string) => "recommended" | "originalVendor" | "tenants" | "requestedVendor";
|
|
6
7
|
export declare type VendorGlobalReviewViewColumnSortKey = ReturnType<typeof toVendorGlobalReviewColumnSortKeyType>;
|
|
8
|
+
export interface GlobalReviewPageCurrentSelectionByColumn {
|
|
9
|
+
requested: boolean;
|
|
10
|
+
recommendedFirst: boolean;
|
|
11
|
+
recommendedSecond: boolean;
|
|
12
|
+
originalVendor: boolean;
|
|
13
|
+
}
|
|
7
14
|
export interface VendorGlobalReviewViewUIState {
|
|
8
15
|
searchText: string;
|
|
9
16
|
sortKey: VendorGlobalReviewViewColumnSortKey;
|
|
@@ -19,6 +26,7 @@ export interface VendorGlobalReviewViewLocalData {
|
|
|
19
26
|
tenantId: ID;
|
|
20
27
|
recommendationIds: ID[];
|
|
21
28
|
recommendedNonExistingGlobalMerchants: RecommendedNonExistingGlobalMerchant[];
|
|
29
|
+
currentSelection: GlobalVendorReviewRowCurrentSelection;
|
|
22
30
|
}
|
|
23
31
|
export interface VendorGlobalReviewView {
|
|
24
32
|
vendorGlobalReviewViewLocalData: VendorGlobalReviewViewLocalData;
|
|
@@ -4,9 +4,9 @@ exports.toVendorGlobalReviewColumnSortKeyType = void 0;
|
|
|
4
4
|
const stringToUnion_1 = require("../../../commonStateTypes/stringToUnion");
|
|
5
5
|
const VENDOR_GLOBAL_REVIEW_COLUMN_SORT_KEYS = [
|
|
6
6
|
'tenants',
|
|
7
|
-
'
|
|
8
|
-
'updatedFrom',
|
|
7
|
+
'originalVendor',
|
|
9
8
|
'recommended',
|
|
9
|
+
'requestedVendor',
|
|
10
10
|
];
|
|
11
11
|
const toVendorGlobalReviewColumnSortKeyType = (v) => (0, stringToUnion_1.stringToUnion)(v, VENDOR_GLOBAL_REVIEW_COLUMN_SORT_KEYS);
|
|
12
12
|
exports.toVendorGlobalReviewColumnSortKeyType = toVendorGlobalReviewColumnSortKeyType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.23",
|
|
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",
|