@zeniai/client-epic-state 5.2.40 → 5.2.41-beta2MM
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/actualMatching/actualMatchingPayload.d.ts +31 -0
- package/lib/entity/actualMatching/actualMatchingPayload.js +52 -0
- package/lib/entity/actualMatching/actualMatchingReducer.d.ts +11 -0
- package/lib/entity/actualMatching/actualMatchingReducer.js +42 -0
- package/lib/entity/actualMatching/actualMatchingSelector.d.ts +3 -0
- package/lib/entity/actualMatching/actualMatchingSelector.js +6 -0
- package/lib/entity/actualMatching/actualMatchingState.d.ts +23 -0
- package/lib/entity/actualMatching/actualMatchingState.js +2 -0
- package/lib/entity/actualMatching/actualMatchingTypes.d.ts +1 -0
- package/lib/entity/actualMatching/actualMatchingTypes.js +2 -0
- package/lib/entity/file/fileReducer.d.ts +8 -0
- package/lib/entity/file/fileReducer.js +10 -2
- package/lib/entity/invoicing/invoicingCommonPayload.d.ts +14 -1
- package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +31 -0
- package/lib/entity/jeSchedules/jeSchedulesPayload.js +53 -0
- package/lib/entity/jeSchedules/jeSchedulesState.d.ts +33 -0
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +3 -0
- package/lib/epic.d.ts +9 -1
- package/lib/epic.js +16 -0
- package/lib/esm/entity/actualMatching/actualMatchingPayload.js +48 -0
- package/lib/esm/entity/actualMatching/actualMatchingReducer.js +38 -0
- package/lib/esm/entity/actualMatching/actualMatchingSelector.js +3 -0
- package/lib/esm/entity/actualMatching/actualMatchingState.js +1 -0
- package/lib/esm/entity/actualMatching/actualMatchingTypes.js +1 -0
- package/lib/esm/entity/file/fileReducer.js +10 -2
- package/lib/esm/entity/jeSchedules/jeSchedulesPayload.js +53 -0
- package/lib/esm/entity/snackbar/snackbarTypes.js +3 -0
- package/lib/esm/epic.js +16 -0
- package/lib/esm/index.js +7 -3
- package/lib/esm/reducer.js +6 -0
- package/lib/esm/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +25 -12
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingEpic.js +46 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingMatchEpic.js +36 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingPageEpic.js +7 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/actualMatching/ignoreActualMatchingSuggestionEpic.js +49 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/actualMatching/matchAndReverseAccrualsEpic.js +108 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/actualMatching/refreshActualMatchingList.js +16 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchAccrualsEpic.js +60 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchTransactionsEpic.js +74 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/actualMatching/undoReversalAccrualsEpic.js +78 -0
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.js +13 -3
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/prefetchOtherJeSchedulesTabEpic.js +40 -15
- package/lib/esm/view/expenseAutomationView/epics/jeSchedule/switchJESchedulesTabEpic.js +19 -8
- package/lib/esm/view/expenseAutomationView/expenseAutomationViewReducer.js +2 -1
- package/lib/esm/view/expenseAutomationView/expenseAutomationViewSelector.js +24 -6
- package/lib/esm/view/expenseAutomationView/expenseAutomationViewState.js +4 -2
- package/lib/esm/view/expenseAutomationView/payload/actualMatchingPayload.js +68 -0
- package/lib/esm/view/expenseAutomationView/reducers/actualMatchingViewReducer.js +497 -0
- package/lib/esm/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +2 -1
- package/lib/esm/view/expenseAutomationView/selectorTypes/actualMatchingViewSelectorTypes.js +1 -0
- package/lib/esm/view/expenseAutomationView/selectors/actualMatchingViewSelector.js +432 -0
- package/lib/esm/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +4 -0
- package/lib/esm/view/expenseAutomationView/types/actualMatchingViewState.js +47 -0
- package/lib/esm/view/expenseAutomationView/types/jeSchedulesViewState.js +8 -1
- package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +1 -1
- package/lib/esm/view/invoicing/settingsView/epics/fetchInvoicingSettingsEpic.js +6 -0
- package/lib/esm/view/invoicing/settingsView/epics/saveInvoicingSettingsEpic.js +7 -0
- package/lib/esm/view/invoicing/settingsView/invoicingBrandingFormConfig.js +1 -1
- package/lib/esm/view/invoicing/settingsView/settingsViewSelector.js +5 -0
- package/lib/esm/view/invoicing/settingsView/submitInvoicingBrandingFormEpic.js +9 -0
- package/lib/index.d.ts +14 -5
- package/lib/index.js +87 -48
- package/lib/reducer.d.ts +2 -0
- package/lib/reducer.js +6 -0
- package/lib/rootStateTypes.d.ts +4 -0
- package/lib/view/expenseAutomationView/epics/common/fetchAllExpenseAutomationTabsEpic.js +25 -12
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingEpic.d.ts +9 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingEpic.js +50 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingMatchEpic.d.ts +12 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingMatchEpic.js +40 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingPageEpic.d.ts +5 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/fetchActualMatchingPageEpic.js +11 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/ignoreActualMatchingSuggestionEpic.d.ts +10 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/ignoreActualMatchingSuggestionEpic.js +53 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/matchAndReverseAccrualsEpic.d.ts +9 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/matchAndReverseAccrualsEpic.js +112 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/refreshActualMatchingList.d.ts +3 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/refreshActualMatchingList.js +19 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchAccrualsEpic.d.ts +9 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchAccrualsEpic.js +64 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchTransactionsEpic.d.ts +8 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/searchMatchTransactionsEpic.js +78 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/undoReversalAccrualsEpic.d.ts +9 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/actualMatching/undoReversalAccrualsEpic.js +82 -0
- package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.d.ts +2 -1
- package/lib/view/expenseAutomationView/epics/jeSchedule/fetchJeSchedulePageEpic.js +13 -3
- package/lib/view/expenseAutomationView/epics/jeSchedule/prefetchOtherJeSchedulesTabEpic.d.ts +5 -1
- package/lib/view/expenseAutomationView/epics/jeSchedule/prefetchOtherJeSchedulesTabEpic.js +39 -14
- package/lib/view/expenseAutomationView/epics/jeSchedule/switchJESchedulesTabEpic.js +18 -7
- package/lib/view/expenseAutomationView/expenseAutomationViewReducer.d.ts +2 -1
- package/lib/view/expenseAutomationView/expenseAutomationViewReducer.js +2 -1
- package/lib/view/expenseAutomationView/expenseAutomationViewSelector.js +24 -6
- package/lib/view/expenseAutomationView/expenseAutomationViewState.d.ts +2 -1
- package/lib/view/expenseAutomationView/expenseAutomationViewState.js +6 -3
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
- package/lib/view/expenseAutomationView/payload/actualMatchingPayload.d.ts +91 -0
- package/lib/view/expenseAutomationView/payload/actualMatchingPayload.js +74 -0
- package/lib/view/expenseAutomationView/reducers/actualMatchingViewReducer.d.ts +88 -0
- package/lib/view/expenseAutomationView/reducers/actualMatchingViewReducer.js +501 -0
- package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.d.ts +6 -5
- package/lib/view/expenseAutomationView/reducers/jeSchedulesViewReducer.js +2 -1
- package/lib/view/expenseAutomationView/selectorTypes/actualMatchingViewSelectorTypes.d.ts +88 -0
- package/lib/view/expenseAutomationView/selectorTypes/actualMatchingViewSelectorTypes.js +2 -0
- package/lib/view/expenseAutomationView/selectorTypes/expenseAutomationViewSelectorTypes.d.ts +11 -0
- package/lib/view/expenseAutomationView/selectors/actualMatchingViewSelector.d.ts +40 -0
- package/lib/view/expenseAutomationView/selectors/actualMatchingViewSelector.js +452 -0
- package/lib/view/expenseAutomationView/selectors/jeSchedulesViewSelector.js +4 -0
- package/lib/view/expenseAutomationView/types/actualMatchingViewState.d.ts +116 -0
- package/lib/view/expenseAutomationView/types/actualMatchingViewState.js +56 -0
- package/lib/view/expenseAutomationView/types/jeSchedulesViewState.d.ts +1 -1
- package/lib/view/expenseAutomationView/types/jeSchedulesViewState.js +8 -1
- package/lib/view/invoicing/editInvoicingCustomerDetailView/editInvoicingCustomerDetailViewSelector.js +1 -1
- package/lib/view/invoicing/settingsView/epics/fetchInvoicingSettingsEpic.js +6 -0
- package/lib/view/invoicing/settingsView/epics/saveInvoicingSettingsEpic.js +7 -0
- package/lib/view/invoicing/settingsView/epics/settingsViewActionType.d.ts +2 -1
- package/lib/view/invoicing/settingsView/invoicingBrandingFormConfig.js +1 -1
- package/lib/view/invoicing/settingsView/settingsViewSelector.d.ts +8 -0
- package/lib/view/invoicing/settingsView/settingsViewSelector.js +5 -0
- package/lib/view/invoicing/settingsView/submitInvoicingBrandingFormEpic.d.ts +2 -1
- package/lib/view/invoicing/settingsView/submitInvoicingBrandingFormEpic.js +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { ID } from '../../../commonStateTypes/common';
|
|
2
|
+
import { TimePeriod } from '../../../commonStateTypes/timePeriod';
|
|
3
|
+
import { ActualMatchingListResponsePayload, DisplayCurrencyFallback } from '../../../entity/actualMatching/actualMatchingPayload';
|
|
4
|
+
import { JEOneTimeAccrualPayload } from '../../../entity/jeSchedules/jeSchedulesPayload';
|
|
5
|
+
import { ZeniAPIResponse } from '../../../responsePayload';
|
|
6
|
+
import { ActualMatchingTransactionSearchResult, MatchAndReverseResult, UndoReversalResult } from '../types/actualMatchingViewState';
|
|
7
|
+
export declare function toServiceMonthFromPeriod(period: TimePeriod): string;
|
|
8
|
+
export type ActualMatchingListResponse = ZeniAPIResponse<ActualMatchingListResponsePayload>;
|
|
9
|
+
export interface ActualMatchingAccrualSearchResponsePayload {
|
|
10
|
+
accruals: JEOneTimeAccrualPayload[];
|
|
11
|
+
total: number;
|
|
12
|
+
limit?: number | null;
|
|
13
|
+
offset?: number | null;
|
|
14
|
+
}
|
|
15
|
+
export type ActualMatchingAccrualSearchResponse = ZeniAPIResponse<ActualMatchingAccrualSearchResponsePayload>;
|
|
16
|
+
export interface MatchTransactionSearchQueryPayload {
|
|
17
|
+
page_size: number;
|
|
18
|
+
search_text: string;
|
|
19
|
+
page_token?: string | null;
|
|
20
|
+
transaction_integration_id?: string;
|
|
21
|
+
transaction_type?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface MatchTransactionSearchResultPayload {
|
|
24
|
+
line_id: string;
|
|
25
|
+
transaction_date: string;
|
|
26
|
+
transaction_id: ID;
|
|
27
|
+
transaction_integration_id: string;
|
|
28
|
+
transaction_type: string;
|
|
29
|
+
account_description?: string | null;
|
|
30
|
+
account_id?: ID | null;
|
|
31
|
+
account_name?: string | null;
|
|
32
|
+
accounting_class_id?: ID | null;
|
|
33
|
+
accounting_class_name?: string | null;
|
|
34
|
+
amount?: number | null;
|
|
35
|
+
currency_code?: string | null;
|
|
36
|
+
currency_symbol?: string | null;
|
|
37
|
+
sync_token?: string | null;
|
|
38
|
+
total_amount?: number | null;
|
|
39
|
+
transaction_description?: string | null;
|
|
40
|
+
transaction_memo?: string | null;
|
|
41
|
+
transaction_type_name?: string | null;
|
|
42
|
+
vendor_id?: ID | null;
|
|
43
|
+
vendor_name?: string | null;
|
|
44
|
+
}
|
|
45
|
+
export interface MatchTransactionSearchResponsePayload {
|
|
46
|
+
transactions: MatchTransactionSearchResultPayload[];
|
|
47
|
+
next_page_token?: string | null;
|
|
48
|
+
}
|
|
49
|
+
export type MatchTransactionSearchResponse = ZeniAPIResponse<MatchTransactionSearchResponsePayload>;
|
|
50
|
+
export declare function toActualMatchingTransactionSearchResult(payload: MatchTransactionSearchResultPayload, fallbackCurrency?: DisplayCurrencyFallback): ActualMatchingTransactionSearchResult;
|
|
51
|
+
export interface MatchAndReverseRequestPayload {
|
|
52
|
+
accrual_ids: ID[];
|
|
53
|
+
line_ids: ID[];
|
|
54
|
+
transaction_id: ID;
|
|
55
|
+
transaction_integration_id: string;
|
|
56
|
+
transaction_sync_token: string;
|
|
57
|
+
transaction_type: string;
|
|
58
|
+
}
|
|
59
|
+
export interface MatchAndReverseResultPayload {
|
|
60
|
+
accrual_id: ID;
|
|
61
|
+
status: string;
|
|
62
|
+
reason?: string | null;
|
|
63
|
+
}
|
|
64
|
+
export interface MatchAndReverseResponsePayload {
|
|
65
|
+
match_batch_id: string;
|
|
66
|
+
results: MatchAndReverseResultPayload[];
|
|
67
|
+
transaction_id: ID;
|
|
68
|
+
transaction_integration_id: string;
|
|
69
|
+
}
|
|
70
|
+
export type MatchAndReverseResponse = ZeniAPIResponse<MatchAndReverseResponsePayload>;
|
|
71
|
+
export declare function toMatchAndReverseResult(payload: MatchAndReverseResultPayload): MatchAndReverseResult;
|
|
72
|
+
export interface UndoReversalRequestPayload {
|
|
73
|
+
accrual_ids: ID[];
|
|
74
|
+
}
|
|
75
|
+
export interface IgnoreActualMatchingSuggestionResponsePayload {
|
|
76
|
+
already_dismissed_accrual_ids?: string[];
|
|
77
|
+
dismissed_accrual_ids?: string[];
|
|
78
|
+
match_id?: string;
|
|
79
|
+
}
|
|
80
|
+
export type IgnoreActualMatchingSuggestionResponse = ZeniAPIResponse<IgnoreActualMatchingSuggestionResponsePayload>;
|
|
81
|
+
export interface UndoReversalResultPayload {
|
|
82
|
+
accrual_id: ID;
|
|
83
|
+
status: string;
|
|
84
|
+
reason?: string | null;
|
|
85
|
+
}
|
|
86
|
+
export interface UndoReversalResponsePayload {
|
|
87
|
+
match_batch_id: string;
|
|
88
|
+
results: UndoReversalResultPayload[];
|
|
89
|
+
}
|
|
90
|
+
export type UndoReversalResponse = ZeniAPIResponse<UndoReversalResponsePayload>;
|
|
91
|
+
export declare function toUndoReversalResult(payload: UndoReversalResultPayload): UndoReversalResult;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toServiceMonthFromPeriod = toServiceMonthFromPeriod;
|
|
4
|
+
exports.toActualMatchingTransactionSearchResult = toActualMatchingTransactionSearchResult;
|
|
5
|
+
exports.toMatchAndReverseResult = toMatchAndReverseResult;
|
|
6
|
+
exports.toUndoReversalResult = toUndoReversalResult;
|
|
7
|
+
const timePeriod_1 = require("../../../commonStateTypes/timePeriod");
|
|
8
|
+
const actualMatchingViewState_1 = require("../types/actualMatchingViewState");
|
|
9
|
+
function toServiceMonthFromPeriod(period) {
|
|
10
|
+
return (0, timePeriod_1.toString)(period.start).slice(0, 7);
|
|
11
|
+
}
|
|
12
|
+
function resolveMatchSearchAmount(payload) {
|
|
13
|
+
const raw = payload.total_amount ?? payload.amount;
|
|
14
|
+
if (typeof raw === 'number' && Number.isFinite(raw)) {
|
|
15
|
+
return raw;
|
|
16
|
+
}
|
|
17
|
+
if (typeof raw === 'string' && raw !== '') {
|
|
18
|
+
const parsed = Number(raw);
|
|
19
|
+
if (Number.isFinite(parsed)) {
|
|
20
|
+
return parsed;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return 0;
|
|
24
|
+
}
|
|
25
|
+
function resolveMatchSearchCurrencySymbol(payload, currencyCode, fallbackCurrency) {
|
|
26
|
+
if (payload.currency_symbol != null && payload.currency_symbol !== '') {
|
|
27
|
+
return payload.currency_symbol;
|
|
28
|
+
}
|
|
29
|
+
if (fallbackCurrency != null &&
|
|
30
|
+
currencyCode === fallbackCurrency.currencyCode) {
|
|
31
|
+
return fallbackCurrency.currencySymbol;
|
|
32
|
+
}
|
|
33
|
+
return currencyCode;
|
|
34
|
+
}
|
|
35
|
+
function toActualMatchingTransactionSearchResult(payload, fallbackCurrency) {
|
|
36
|
+
const currencyCode = payload.currency_code != null && payload.currency_code !== ''
|
|
37
|
+
? payload.currency_code
|
|
38
|
+
: fallbackCurrency?.currencyCode ?? '';
|
|
39
|
+
return {
|
|
40
|
+
transactionId: payload.transaction_id,
|
|
41
|
+
transactionIntegrationId: payload.transaction_integration_id,
|
|
42
|
+
transactionType: (payload.transaction_type || '').toLowerCase(),
|
|
43
|
+
lineId: payload.line_id,
|
|
44
|
+
vendorId: payload.vendor_id ?? undefined,
|
|
45
|
+
vendorName: payload.vendor_name ?? '',
|
|
46
|
+
amount: resolveMatchSearchAmount(payload),
|
|
47
|
+
transactionDate: payload.transaction_date,
|
|
48
|
+
accountId: payload.account_id ?? undefined,
|
|
49
|
+
accountName: payload.account_name ?? undefined,
|
|
50
|
+
accountDescription: payload.account_description ?? undefined,
|
|
51
|
+
accountingClassId: payload.accounting_class_id ?? undefined,
|
|
52
|
+
accountingClassName: payload.accounting_class_name ?? undefined,
|
|
53
|
+
currencyCode,
|
|
54
|
+
currencySymbol: resolveMatchSearchCurrencySymbol(payload, currencyCode, fallbackCurrency),
|
|
55
|
+
transactionMemo: payload.transaction_memo ?? undefined,
|
|
56
|
+
transactionDescription: payload.transaction_description ?? undefined,
|
|
57
|
+
transactionTypeName: payload.transaction_type_name ?? undefined,
|
|
58
|
+
syncToken: payload.sync_token == null ? '' : String(payload.sync_token),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function toMatchAndReverseResult(payload) {
|
|
62
|
+
return {
|
|
63
|
+
accrualId: payload.accrual_id,
|
|
64
|
+
status: (0, actualMatchingViewState_1.toMatchAndReverseResultStatus)(payload.status),
|
|
65
|
+
reason: payload.reason ?? undefined,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function toUndoReversalResult(payload) {
|
|
69
|
+
return {
|
|
70
|
+
accrualId: payload.accrual_id,
|
|
71
|
+
status: (0, actualMatchingViewState_1.toUndoReversalResultStatus)(payload.status),
|
|
72
|
+
reason: payload.reason ?? undefined,
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { MonthYearPeriod, TimePeriod } from '../../../commonStateTypes/timePeriod';
|
|
2
|
+
import { ActualMatchingMatchId } from '../../../entity/actualMatching/actualMatchingTypes';
|
|
3
|
+
import { JEOneTimeAccrualPayload } from '../../../entity/jeSchedules/jeSchedulesPayload';
|
|
4
|
+
import { ZeniAPIStatus } from '../../../responsePayload';
|
|
5
|
+
import { ActualMatchingAccrualSearchState, ActualMatchingMatchModalState, ActualMatchingTransactionSearchResult, ActualMatchingTransactionSearchState, ActualMatchingViewState, ActualMatchingViewUIState, MatchAndReverseResult, UndoReversalResult } from '../types/actualMatchingViewState';
|
|
6
|
+
export declare const initialTransactionSearchState: ActualMatchingTransactionSearchState;
|
|
7
|
+
export declare const initialAccrualSearchState: ActualMatchingAccrualSearchState;
|
|
8
|
+
export declare const initialMatchModalState: ActualMatchingMatchModalState;
|
|
9
|
+
export declare const initialState: ActualMatchingViewState;
|
|
10
|
+
export declare const ackCloseMatchAfterIgnore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"expenseAutomationActualMatchingView/ackCloseMatchAfterIgnore">, ackCloseMatchAfterUndo: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"expenseAutomationActualMatchingView/ackCloseMatchAfterUndo">, clearActualMatchingView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"expenseAutomationActualMatchingView/clearActualMatchingView">, clearMatchNewModal: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"expenseAutomationActualMatchingView/clearMatchNewModal">, closeMatchNewModal: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"expenseAutomationActualMatchingView/closeMatchNewModal">, fetchActualMatching: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[period: TimePeriod, refreshViewInBackground?: any], {
|
|
11
|
+
period: TimePeriod;
|
|
12
|
+
refreshViewInBackground: any;
|
|
13
|
+
}, "expenseAutomationActualMatchingView/fetchActualMatching", never, never>, fetchActualMatchingFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
14
|
+
refreshViewInBackground: boolean;
|
|
15
|
+
selectedPeriod: MonthYearPeriod;
|
|
16
|
+
status: ZeniAPIStatus;
|
|
17
|
+
}, "expenseAutomationActualMatchingView/fetchActualMatchingFailure">, fetchActualMatchingMatch: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[matchId: string, refreshViewInBackground?: any], {
|
|
18
|
+
matchId: string;
|
|
19
|
+
refreshViewInBackground: any;
|
|
20
|
+
}, "expenseAutomationActualMatchingView/fetchActualMatchingMatch", never, never>, fetchActualMatchingMatchFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
21
|
+
matchId: ActualMatchingMatchId;
|
|
22
|
+
refreshViewInBackground: boolean;
|
|
23
|
+
status: ZeniAPIStatus;
|
|
24
|
+
}, "expenseAutomationActualMatchingView/fetchActualMatchingMatchFailure">, fetchActualMatchingMatchSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
25
|
+
matchId: ActualMatchingMatchId;
|
|
26
|
+
refreshViewInBackground: boolean;
|
|
27
|
+
}, "expenseAutomationActualMatchingView/fetchActualMatchingMatchSuccess">, fetchActualMatchingPage: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[period: TimePeriod, refreshViewInBackground?: any], {
|
|
28
|
+
period: TimePeriod;
|
|
29
|
+
refreshViewInBackground: any;
|
|
30
|
+
}, "expenseAutomationActualMatchingView/fetchActualMatchingPage", never, never>, fetchActualMatchingSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
31
|
+
matchIds: ActualMatchingMatchId[];
|
|
32
|
+
refreshViewInBackground: boolean;
|
|
33
|
+
selectedPeriod: MonthYearPeriod;
|
|
34
|
+
}, "expenseAutomationActualMatchingView/fetchActualMatchingSuccess">, ignoreActualMatchingSuggestion: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[matchId: string, reason: "other_ignore" | "already_handled" | "amount_off" | "wrong_period" | "wrong_bill", note?: string | undefined], {
|
|
35
|
+
matchId: string;
|
|
36
|
+
reason: "other_ignore" | "already_handled" | "amount_off" | "wrong_period" | "wrong_bill";
|
|
37
|
+
note: string | undefined;
|
|
38
|
+
}, "expenseAutomationActualMatchingView/ignoreActualMatchingSuggestion", never, never>, ignoreActualMatchingSuggestionFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
39
|
+
matchId: ActualMatchingMatchId;
|
|
40
|
+
status: ZeniAPIStatus;
|
|
41
|
+
}, "expenseAutomationActualMatchingView/ignoreActualMatchingSuggestionFailure">, ignoreActualMatchingSuggestionSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
42
|
+
matchId: ActualMatchingMatchId;
|
|
43
|
+
}, "expenseAutomationActualMatchingView/ignoreActualMatchingSuggestionSuccess">, matchAndReverseAccruals: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[transactionId: string, transactionIntegrationId: string, transactionType: string, lineIds: string[], transactionSyncToken: string, accrualIds: string[]], {
|
|
44
|
+
transactionId: string;
|
|
45
|
+
transactionIntegrationId: string;
|
|
46
|
+
transactionType: string;
|
|
47
|
+
lineIds: string[];
|
|
48
|
+
transactionSyncToken: string;
|
|
49
|
+
accrualIds: string[];
|
|
50
|
+
}, "expenseAutomationActualMatchingView/matchAndReverseAccruals", never, never>, matchAndReverseAccrualsFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
51
|
+
status: ZeniAPIStatus;
|
|
52
|
+
}, "expenseAutomationActualMatchingView/matchAndReverseAccrualsFailure">, matchAndReverseAccrualsSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
53
|
+
results: MatchAndReverseResult[];
|
|
54
|
+
matchId?: ActualMatchingMatchId;
|
|
55
|
+
}, "expenseAutomationActualMatchingView/matchAndReverseAccrualsSuccess">, openMatchNewModal: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[matchId?: string | undefined], {
|
|
56
|
+
matchId: string | undefined;
|
|
57
|
+
}, "expenseAutomationActualMatchingView/openMatchNewModal", never, never>, searchMatchAccruals: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[query: string, pageToken?: string | null | undefined], {
|
|
58
|
+
query: string;
|
|
59
|
+
pageToken: string | undefined;
|
|
60
|
+
}, "expenseAutomationActualMatchingView/searchMatchAccruals", never, never>, searchMatchAccrualsFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
61
|
+
error: ZeniAPIStatus;
|
|
62
|
+
}, "expenseAutomationActualMatchingView/searchMatchAccrualsFailure">, searchMatchAccrualsSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
63
|
+
append: boolean;
|
|
64
|
+
nextPageToken: string | null;
|
|
65
|
+
results: JEOneTimeAccrualPayload[];
|
|
66
|
+
}, "expenseAutomationActualMatchingView/searchMatchAccrualsSuccess">, searchMatchTransactions: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[query: string, pageToken?: string | null | undefined, transactionType?: string | undefined, transactionIntegrationId?: string | undefined], {
|
|
67
|
+
query: string;
|
|
68
|
+
pageToken: string | undefined;
|
|
69
|
+
transactionType: string | undefined;
|
|
70
|
+
transactionIntegrationId: string | undefined;
|
|
71
|
+
}, "expenseAutomationActualMatchingView/searchMatchTransactions", never, never>, searchMatchTransactionsFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
72
|
+
error: ZeniAPIStatus;
|
|
73
|
+
}, "expenseAutomationActualMatchingView/searchMatchTransactionsFailure">, searchMatchTransactionsSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
74
|
+
append: boolean;
|
|
75
|
+
nextPageToken: string | null;
|
|
76
|
+
results: ActualMatchingTransactionSearchResult[];
|
|
77
|
+
}, "expenseAutomationActualMatchingView/searchMatchTransactionsSuccess">, undoReversalAccruals: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[matchId: string, accrualIds: string[]], {
|
|
78
|
+
matchId: string;
|
|
79
|
+
accrualIds: string[];
|
|
80
|
+
}, "expenseAutomationActualMatchingView/undoReversalAccruals", never, never>, undoReversalAccrualsFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
81
|
+
matchId: ActualMatchingMatchId;
|
|
82
|
+
status: ZeniAPIStatus;
|
|
83
|
+
}, "expenseAutomationActualMatchingView/undoReversalAccrualsFailure">, undoReversalAccrualsSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[matchId: string, results: UndoReversalResult[]], {
|
|
84
|
+
matchId: string;
|
|
85
|
+
results: UndoReversalResult[];
|
|
86
|
+
}, "expenseAutomationActualMatchingView/undoReversalAccrualsSuccess", never, never>, updateActualMatchingUIState: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<ActualMatchingViewUIState>, "expenseAutomationActualMatchingView/updateActualMatchingUIState">;
|
|
87
|
+
declare const _default: import("redux").Reducer<ActualMatchingViewState>;
|
|
88
|
+
export default _default;
|