@zeniai/client-epic-state 5.0.83-betaRR5 → 5.0.83
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/aiCfo/aiCfoPayload.d.ts +4 -1
- package/lib/entity/aiCfo/aiCfoReducer.js +17 -4
- package/lib/entity/aiCfo/aiCfoState.d.ts +19 -0
- package/lib/entity/aiCfo/aiCfoState.js +8 -1
- package/lib/entity/cardPolicy/cardPolicyReducer.js +99 -9
- package/lib/entity/cardPolicy/cardPolicySelector.js +4 -0
- package/lib/entity/cardPolicy/policyRecommendationFromUploadEpic.d.ts +2 -3
- package/lib/entity/cardPolicy/policyRecommendationFromUploadEpic.js +10 -4
- package/lib/epic.d.ts +12 -15
- package/lib/epic.js +12 -15
- package/lib/esm/entity/aiCfo/aiCfoReducer.js +18 -5
- package/lib/esm/entity/aiCfo/aiCfoState.js +7 -0
- package/lib/esm/entity/cardPolicy/cardPolicyReducer.js +99 -9
- package/lib/esm/entity/cardPolicy/cardPolicySelector.js +4 -0
- package/lib/esm/entity/cardPolicy/policyRecommendationFromUploadEpic.js +11 -5
- package/lib/esm/epic.js +12 -15
- package/lib/esm/index.js +6 -21
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.js +19 -138
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicySelector.js +0 -18
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +5 -38
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +0 -23
- package/lib/index.d.ts +7 -28
- package/lib/index.js +14 -68
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.d.ts +1 -40
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.js +20 -139
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicySelector.d.ts +0 -15
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicySelector.js +0 -20
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyState.d.ts +0 -28
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.d.ts +1 -7
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +6 -39
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.d.ts +0 -15
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +1 -26
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.d.ts +0 -16
- package/package.json +1 -1
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyAiCardPolicyFormDraftUpdate.js +0 -328
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToAiCardPolicyDraft.js +0 -120
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToDraftEpic.js +0 -60
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToManualCardPolicyDraft.js +0 -118
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyUploadPlanToAiCardPolicyDraft.js +0 -33
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildAiCardPolicyFormDraftSeed.js +0 -385
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildManualCardPolicyFormDraftSeed.js +0 -34
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyChipIds.js +0 -33
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyFormDraftTypes.js +0 -17
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyRequestParts.js +0 -144
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/deriveAiPolicyReviewRowsFromInputs.js +0 -148
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/seedAiCardPolicyFormDraftEpic.js +0 -112
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toBulkCardPolicyTemplateRequestsFromDraft.js +0 -101
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toCardPolicyTemplateRequestFromDraft.js +0 -71
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toManualCardPolicyTemplateRequestFromDraft.js +0 -34
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/aiCardCreationFormDraftTypes.js +0 -1
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/applyAiCardCreationFormDraftUpdate.js +0 -42
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/buildAiCardCreationFormDraftSeed.js +0 -69
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/deriveAiCardRowsFromTeams.js +0 -45
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/seedAiCardCreationFormDraftEpic.js +0 -65
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/toIssueChargeCardLocalDataFromDraft.js +0 -64
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyAiCardPolicyFormDraftUpdate.d.ts +0 -38
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyAiCardPolicyFormDraftUpdate.js +0 -333
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToAiCardPolicyDraft.d.ts +0 -25
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToAiCardPolicyDraft.js +0 -124
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToDraftEpic.d.ts +0 -28
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToDraftEpic.js +0 -64
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToManualCardPolicyDraft.d.ts +0 -17
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToManualCardPolicyDraft.js +0 -122
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyUploadPlanToAiCardPolicyDraft.d.ts +0 -23
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyUploadPlanToAiCardPolicyDraft.js +0 -37
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildAiCardPolicyFormDraftSeed.d.ts +0 -38
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildAiCardPolicyFormDraftSeed.js +0 -391
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildManualCardPolicyFormDraftSeed.d.ts +0 -11
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildManualCardPolicyFormDraftSeed.js +0 -38
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyChipIds.d.ts +0 -24
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyChipIds.js +0 -40
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyFormDraftTypes.d.ts +0 -253
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyFormDraftTypes.js +0 -21
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyRequestParts.d.ts +0 -66
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyRequestParts.js +0 -151
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/deriveAiPolicyReviewRowsFromInputs.d.ts +0 -30
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/deriveAiPolicyReviewRowsFromInputs.js +0 -152
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/seedAiCardPolicyFormDraftEpic.d.ts +0 -26
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/seedAiCardPolicyFormDraftEpic.js +0 -116
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toBulkCardPolicyTemplateRequestsFromDraft.d.ts +0 -35
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toBulkCardPolicyTemplateRequestsFromDraft.js +0 -105
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toCardPolicyTemplateRequestFromDraft.d.ts +0 -23
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toCardPolicyTemplateRequestFromDraft.js +0 -75
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toManualCardPolicyTemplateRequestFromDraft.d.ts +0 -15
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toManualCardPolicyTemplateRequestFromDraft.js +0 -38
- package/lib/view/spendManagement/chargeCards/issueChargeCard/aiCardCreationFormDraftTypes.d.ts +0 -76
- package/lib/view/spendManagement/chargeCards/issueChargeCard/aiCardCreationFormDraftTypes.js +0 -2
- package/lib/view/spendManagement/chargeCards/issueChargeCard/applyAiCardCreationFormDraftUpdate.d.ts +0 -7
- package/lib/view/spendManagement/chargeCards/issueChargeCard/applyAiCardCreationFormDraftUpdate.js +0 -46
- package/lib/view/spendManagement/chargeCards/issueChargeCard/buildAiCardCreationFormDraftSeed.d.ts +0 -28
- package/lib/view/spendManagement/chargeCards/issueChargeCard/buildAiCardCreationFormDraftSeed.js +0 -73
- package/lib/view/spendManagement/chargeCards/issueChargeCard/deriveAiCardRowsFromTeams.d.ts +0 -23
- package/lib/view/spendManagement/chargeCards/issueChargeCard/deriveAiCardRowsFromTeams.js +0 -49
- package/lib/view/spendManagement/chargeCards/issueChargeCard/seedAiCardCreationFormDraftEpic.d.ts +0 -11
- package/lib/view/spendManagement/chargeCards/issueChargeCard/seedAiCardCreationFormDraftEpic.js +0 -69
- package/lib/view/spendManagement/chargeCards/issueChargeCard/toIssueChargeCardLocalDataFromDraft.d.ts +0 -11
- package/lib/view/spendManagement/chargeCards/issueChargeCard/toIssueChargeCardLocalDataFromDraft.js +0 -68
|
@@ -55,7 +55,10 @@ export interface SuggestedCardPayload {
|
|
|
55
55
|
* `is_suggested: false`) feeds the step-2 Card-cell dropdown so the user
|
|
56
56
|
* can swap a row to any vendor / department / category of the same kind.
|
|
57
57
|
*
|
|
58
|
-
*
|
|
58
|
+
* Note: `card_options` (physical / virtual / subscription) is NOT part of
|
|
59
|
+
* the wire. The FE injects a single `virtual` option via
|
|
60
|
+
* `AI_CARD_CREATION_VIRTUAL_ONLY_CARD_OPTIONS`; the reducer defaults each
|
|
61
|
+
* seeded row's `cardOptionId` to `'virtual'`.
|
|
59
62
|
*/
|
|
60
63
|
export interface CardsCreationInitialDataPayload {
|
|
61
64
|
mode: 'review' | 'create';
|
|
@@ -202,8 +202,14 @@ const inferInteractiveFormTypeFromPayload = (payload) => {
|
|
|
202
202
|
* universe -> `cardNameOptions` (step-2 swap + step-1 "Add something
|
|
203
203
|
* else" search).
|
|
204
204
|
* - `create` (1-step): `is_suggested: true` rows -> `cardRows` pre-seeded
|
|
205
|
-
* for the step-2 editable table
|
|
206
|
-
* (step-2 swap).
|
|
205
|
+
* for the step-2 editable table (with `cardOptionId` defaulted to
|
|
206
|
+
* `'virtual'`); the full universe -> `cardNameOptions` (step-2 swap).
|
|
207
|
+
*
|
|
208
|
+
* `cardOptions` (physical / virtual / subscription) is intentionally not
|
|
209
|
+
* derived here — the wire never carries it. The component prop is fed
|
|
210
|
+
* from `AI_CARD_CREATION_VIRTUAL_ONLY_CARD_OPTIONS` at render time. The
|
|
211
|
+
* state field is preserved as `[]` for backward compatibility with
|
|
212
|
+
* consumers that still narrow on it.
|
|
207
213
|
*/
|
|
208
214
|
const toCardsCreationInitialData = (payload) => {
|
|
209
215
|
const suggestedCards = payload.suggested_cards ?? [];
|
|
@@ -221,6 +227,7 @@ const toCardsCreationInitialData = (payload) => {
|
|
|
221
227
|
]));
|
|
222
228
|
const common = {
|
|
223
229
|
cardNameOptions,
|
|
230
|
+
cardOptions: [],
|
|
224
231
|
suggestedOwnerUserIdByTeamId,
|
|
225
232
|
};
|
|
226
233
|
if (payload.mode === 'create') {
|
|
@@ -229,6 +236,7 @@ const toCardsCreationInitialData = (payload) => {
|
|
|
229
236
|
mode: 'create',
|
|
230
237
|
cardRows: suggestedOnly.map(({ card, uniqueId }) => ({
|
|
231
238
|
cardKind: toCardKind(card.card_type),
|
|
239
|
+
cardOptionId: aiCfoState_1.CARDS_CREATION_DEFAULT_CARD_OPTION_ID,
|
|
232
240
|
id: uniqueId,
|
|
233
241
|
label: card.card_name,
|
|
234
242
|
recommendedLimit: card.credit_limit > 0 ? card.credit_limit : undefined,
|
|
@@ -260,7 +268,7 @@ const CURRENCY_FORMATTER = new Intl.NumberFormat('en-US', {
|
|
|
260
268
|
* collapse to `undefined` so downstream resolvers don't try to look up
|
|
261
269
|
* a user with an empty id.
|
|
262
270
|
*/
|
|
263
|
-
const normalizeOwnerId = (ownerId) =>
|
|
271
|
+
const normalizeOwnerId = (ownerId) => ownerId != null && ownerId !== '' ? ownerId : undefined;
|
|
264
272
|
const KIND_RANK = {
|
|
265
273
|
vendor: 0,
|
|
266
274
|
category: 1,
|
|
@@ -763,6 +771,7 @@ const aiCfo = (0, toolkit_1.createSlice)({
|
|
|
763
771
|
}
|
|
764
772
|
draft.syntheticAnswersByChatSessionId[chatSessionId] = list.filter((item) => item.id !== id);
|
|
765
773
|
},
|
|
774
|
+
/** Clear every synthetic bubble for a session. */
|
|
766
775
|
clearSyntheticAiCfoAnswers(draft, action) {
|
|
767
776
|
delete draft.syntheticAnswersByChatSessionId[action.payload];
|
|
768
777
|
},
|
|
@@ -770,6 +779,7 @@ const aiCfo = (0, toolkit_1.createSlice)({
|
|
|
770
779
|
const sessionId = action.payload;
|
|
771
780
|
delete draft.aiCfoByChatSessionId[sessionId];
|
|
772
781
|
delete draft.syntheticAnswersByChatSessionId[sessionId];
|
|
782
|
+
// Clear partial Q&A if it belongs to the cleared session
|
|
773
783
|
if (draft.partialQuestionAnswers?.[sessionId] != null) {
|
|
774
784
|
draft.partialQuestionAnswers[sessionId] = undefined;
|
|
775
785
|
}
|
|
@@ -790,7 +800,10 @@ const aiCfo = (0, toolkit_1.createSlice)({
|
|
|
790
800
|
if (idx !== -1) {
|
|
791
801
|
session.questionAnswers.splice(idx, 1);
|
|
792
802
|
}
|
|
793
|
-
//
|
|
803
|
+
// Also drop any synthetic bubbles whose `sourceQuestionAnswerId`
|
|
804
|
+
// referenced the just-deleted Q/A. Without this, the chat would
|
|
805
|
+
// keep rendering "Creating…" / "Created" tiles tied to a Q/A that
|
|
806
|
+
// no longer exists (via `getSyntheticAiCfoAnswerByQuestionAnswerId`).
|
|
794
807
|
const syntheticAnswers = draft.syntheticAnswersByChatSessionId[chatSessionId];
|
|
795
808
|
if (syntheticAnswers != null) {
|
|
796
809
|
draft.syntheticAnswersByChatSessionId[chatSessionId] =
|
|
@@ -57,6 +57,11 @@ export interface ChartVisualization {
|
|
|
57
57
|
lines?: string[];
|
|
58
58
|
yFormat?: YFormat;
|
|
59
59
|
}
|
|
60
|
+
export interface CardsCardOption {
|
|
61
|
+
id: string;
|
|
62
|
+
label: string;
|
|
63
|
+
description?: string;
|
|
64
|
+
}
|
|
60
65
|
/**
|
|
61
66
|
* Card kind for AI Card Creation rows.
|
|
62
67
|
* - `vendor` = vendor-bound card.
|
|
@@ -82,6 +87,13 @@ export interface CardNameOption {
|
|
|
82
87
|
kind: CardsCardKind;
|
|
83
88
|
label: string;
|
|
84
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* Default `cardOptionId` (physical / virtual / subscription) assigned to
|
|
92
|
+
* every seeded card row. The AI Card Creation flow currently issues virtual
|
|
93
|
+
* credit cards only — this constant is kept in sync with
|
|
94
|
+
* `AI_CARD_CREATION_VIRTUAL_ONLY_CARD_OPTIONS` in `zeni-web-app-ui`.
|
|
95
|
+
*/
|
|
96
|
+
export declare const CARDS_CREATION_DEFAULT_CARD_OPTION_ID = "virtual";
|
|
85
97
|
/**
|
|
86
98
|
* Shared base shape across both `review` and `create` AI Card Creation
|
|
87
99
|
* states. Holds the data derived from the controller's `suggested_cards[]`
|
|
@@ -95,6 +107,12 @@ export interface CardsCreationCommonData {
|
|
|
95
107
|
* search.
|
|
96
108
|
*/
|
|
97
109
|
cardNameOptions: CardNameOption[];
|
|
110
|
+
/**
|
|
111
|
+
* Physical / virtual / subscription dropdown options. Not shipped on the
|
|
112
|
+
* wire; populated at render time from the FE-owned
|
|
113
|
+
* `AI_CARD_CREATION_VIRTUAL_ONLY_CARD_OPTIONS` constant.
|
|
114
|
+
*/
|
|
115
|
+
cardOptions: CardsCardOption[];
|
|
98
116
|
/**
|
|
99
117
|
* Map of `teamRow.id` / `cardRow.id` -> suggested owner `userId`.
|
|
100
118
|
* Resolved against `allUsers` (sourced from the tenant) at render time.
|
|
@@ -127,6 +145,7 @@ export type CardsCreationInitialData = (CardsCreationCommonData & {
|
|
|
127
145
|
}) | (CardsCreationCommonData & {
|
|
128
146
|
cardRows: Array<{
|
|
129
147
|
cardKind: CardsCardKind;
|
|
148
|
+
cardOptionId: string;
|
|
130
149
|
id: string;
|
|
131
150
|
/**
|
|
132
151
|
* Team-derived display label rendered in the card cell trigger
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ALL_SYNTHETIC_AI_CFO_ANSWER_KINDS = exports.toMessageTypeStrict = exports.toMessageSenderStrict = exports.toMessageType = exports.toMessageSender = exports.toAiCfoAnswerResponseTypeStrict = exports.toAiCfoAnswerStateTypeStrict = exports.toAiCfoAnswerResponseType = exports.toAiCfoAnswerStateType = exports.toYFormatScaleStrict = exports.toYFormatUnitStrict = exports.toYFormatTypeStrict = exports.toYFormatScale = exports.toYFormatUnit = exports.toYFormatType = exports.ALL_Y_FORMAT_SCALES = exports.ALL_Y_FORMAT_NON_CURRENCY_UNITS = exports.ALL_Y_FORMAT_TYPES = exports.ALL_AI_CFO_ANSWER_RESPONSE_TYPES = exports.ALL_AI_CFO_ANSWER_STATE_TYPES = exports.toAiCfoChartTypeStrict = exports.toAiCfoChartType = exports.toAiCfoVisualizationTypeStrict = exports.toAiCfoVisualizationType = exports.toInteractiveFormTypeStrict = exports.toInteractiveFormType = exports.ALL_INTERACTIVE_FORM_TYPES = exports.ALL_AI_CFO_VISUALIZATION_TYPES = exports.ALL_AI_CFO_CHARTS_TYPES = void 0;
|
|
3
|
+
exports.ALL_SYNTHETIC_AI_CFO_ANSWER_KINDS = exports.toMessageTypeStrict = exports.toMessageSenderStrict = exports.toMessageType = exports.toMessageSender = exports.CARDS_CREATION_DEFAULT_CARD_OPTION_ID = exports.toAiCfoAnswerResponseTypeStrict = exports.toAiCfoAnswerStateTypeStrict = exports.toAiCfoAnswerResponseType = exports.toAiCfoAnswerStateType = exports.toYFormatScaleStrict = exports.toYFormatUnitStrict = exports.toYFormatTypeStrict = exports.toYFormatScale = exports.toYFormatUnit = exports.toYFormatType = exports.ALL_Y_FORMAT_SCALES = exports.ALL_Y_FORMAT_NON_CURRENCY_UNITS = exports.ALL_Y_FORMAT_TYPES = exports.ALL_AI_CFO_ANSWER_RESPONSE_TYPES = exports.ALL_AI_CFO_ANSWER_STATE_TYPES = exports.toAiCfoChartTypeStrict = exports.toAiCfoChartType = exports.toAiCfoVisualizationTypeStrict = exports.toAiCfoVisualizationType = exports.toInteractiveFormTypeStrict = exports.toInteractiveFormType = exports.ALL_INTERACTIVE_FORM_TYPES = exports.ALL_AI_CFO_VISUALIZATION_TYPES = exports.ALL_AI_CFO_CHARTS_TYPES = void 0;
|
|
4
4
|
const stringToUnion_1 = require("../../commonStateTypes/stringToUnion");
|
|
5
5
|
exports.ALL_AI_CFO_CHARTS_TYPES = [
|
|
6
6
|
'bar_chart',
|
|
@@ -78,6 +78,13 @@ const toAiCfoAnswerStateTypeStrict = (v) => (0, stringToUnion_1.stringToUnionStr
|
|
|
78
78
|
exports.toAiCfoAnswerStateTypeStrict = toAiCfoAnswerStateTypeStrict;
|
|
79
79
|
const toAiCfoAnswerResponseTypeStrict = (v) => (0, stringToUnion_1.stringToUnionStrict)(v, exports.ALL_AI_CFO_ANSWER_RESPONSE_TYPES);
|
|
80
80
|
exports.toAiCfoAnswerResponseTypeStrict = toAiCfoAnswerResponseTypeStrict;
|
|
81
|
+
/**
|
|
82
|
+
* Default `cardOptionId` (physical / virtual / subscription) assigned to
|
|
83
|
+
* every seeded card row. The AI Card Creation flow currently issues virtual
|
|
84
|
+
* credit cards only — this constant is kept in sync with
|
|
85
|
+
* `AI_CARD_CREATION_VIRTUAL_ONLY_CARD_OPTIONS` in `zeni-web-app-ui`.
|
|
86
|
+
*/
|
|
87
|
+
exports.CARDS_CREATION_DEFAULT_CARD_OPTION_ID = 'virtual';
|
|
81
88
|
const ALL_MESSAGE_SENDERS = ['user', 'agent'];
|
|
82
89
|
const ALL_MESSAGE_TYPES = ['plain_text', 'json'];
|
|
83
90
|
const toMessageSender = (v) => (0, stringToUnion_1.stringToUnion)(v, ALL_MESSAGE_SENDERS);
|
|
@@ -4,7 +4,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.clearCardPolicy = exports.updatePolicyRecommendationFromUploadFailure = exports.updatePolicyRecommendationFromUploadSuccess = exports.fetchCardPolicyRecommendationFromUpload = exports.clearPolicyDocumentExtraction = exports.updatePolicyDocumentExtractionFailure = exports.updatePolicyDocumentExtractionSuccess = exports.extractPolicyDocument = exports.updateCardPolicyStats = exports.removeCardPolicyTemplate = exports.updateCardPolicyTemplates = exports.updateCreatedCardPolicyTemplate = exports.updateCardPolicyVendorOptionsFailure = exports.updateCardPolicyVendorOptions = exports.updateCardPolicyMccCategoriesFailure = exports.updateCardPolicyMccCategories = exports.fetchCardPolicyVendorOptions = exports.fetchCardPolicyMccCategories = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
6
|
const cardPolicyPayload_1 = require("./cardPolicyPayload");
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Defensive predicate for vendor / merchant names that flow into
|
|
9
|
+
* `buildVendorChipId(name)` (in `@zeniai/web-components`). That helper
|
|
10
|
+
* calls `name.trim().toLowerCase()`, so a null / undefined / whitespace-
|
|
11
|
+
* only value would throw at render time, and an empty string would
|
|
12
|
+
* collapse every nameless row into a single colliding `vendor-` chip-id.
|
|
13
|
+
* Used at the redux ingestion boundary for both the vendor-search results
|
|
14
|
+
* and the BE-suggested merchant seed arrays.
|
|
15
|
+
*/
|
|
8
16
|
const isUsableMerchantName = (name) => typeof name === 'string' && name.trim() !== '';
|
|
9
17
|
const initialPolicyDocumentExtractionState = {
|
|
10
18
|
fetchState: 'Not-Started',
|
|
@@ -48,7 +56,13 @@ const cardPolicy = (0, toolkit_1.createSlice)({
|
|
|
48
56
|
},
|
|
49
57
|
updateCardPolicyMccCategories(draft, action) {
|
|
50
58
|
draft.mccCategories = (action.payload.categories ?? []).map(cardPolicyPayload_1.toMccCategory);
|
|
51
|
-
// BE-suggested
|
|
59
|
+
// Persist BE-suggested allow / block seeds alongside the universe.
|
|
60
|
+
// Both flows (manual create page + AI CFO interactive form) read
|
|
61
|
+
// these to pre-populate the chip cloud body before the user edits.
|
|
62
|
+
// Drop empty / nullish merchant names defensively — they feed
|
|
63
|
+
// `buildVendorChipId(name)` (in @zeniai/web-components) which calls
|
|
64
|
+
// `.trim().toLowerCase()` and would crash the chip-picker render
|
|
65
|
+
// path if any entry slipped through as undefined / "".
|
|
52
66
|
draft.suggestedAllowMerchants = (action.payload.suggested_allow_merchants ?? []).filter(isUsableMerchantName);
|
|
53
67
|
draft.suggestedBlockMerchants = (action.payload.suggested_block_merchants ?? []).filter(isUsableMerchantName);
|
|
54
68
|
draft.suggestedAllowCategories = (action.payload.suggested_allow_catagories ?? []).map(cardPolicyPayload_1.toMccCategory);
|
|
@@ -60,11 +74,22 @@ const cardPolicy = (0, toolkit_1.createSlice)({
|
|
|
60
74
|
draft.mccCategoriesFetchState = 'Error';
|
|
61
75
|
draft.mccCategoriesError = action.payload;
|
|
62
76
|
},
|
|
77
|
+
/**
|
|
78
|
+
* Store a newly-created (or refreshed) card-policy template keyed by
|
|
79
|
+
* `templateId`. Dispatched by the create / list / get epics; consumed
|
|
80
|
+
* by both manual and AI-CFO policy flows via `getCardPolicyTemplateById`.
|
|
81
|
+
*/
|
|
63
82
|
updateCreatedCardPolicyTemplate(draft, action) {
|
|
64
83
|
const template = (0, cardPolicyPayload_1.toCardPolicyTemplate)(action.payload);
|
|
65
84
|
draft.cardPolicyTemplateById[template.templateId] = template;
|
|
66
85
|
},
|
|
67
|
-
|
|
86
|
+
/**
|
|
87
|
+
* Replace the entity store's `cardPolicyTemplateById` map with the
|
|
88
|
+
* full list returned by the templates-list endpoint. Full replace is
|
|
89
|
+
* intentional — templates that no longer exist on the server should be
|
|
90
|
+
* dropped from local state too. The view slice keeps the server-order
|
|
91
|
+
* ID list separately for stable list rendering.
|
|
92
|
+
*/
|
|
68
93
|
updateCardPolicyTemplates(draft, action) {
|
|
69
94
|
const byId = {};
|
|
70
95
|
for (const template of action.payload) {
|
|
@@ -72,13 +97,40 @@ const cardPolicy = (0, toolkit_1.createSlice)({
|
|
|
72
97
|
}
|
|
73
98
|
draft.cardPolicyTemplateById = byId;
|
|
74
99
|
},
|
|
100
|
+
/**
|
|
101
|
+
* Drop a single template from the entity map. Dispatched by the
|
|
102
|
+
* archive (DELETE) epic on success; also usable by any future flow
|
|
103
|
+
* that needs to evict a template (e.g. AI-CFO rejection).
|
|
104
|
+
*/
|
|
75
105
|
removeCardPolicyTemplate(draft, action) {
|
|
76
106
|
delete draft.cardPolicyTemplateById[action.payload];
|
|
77
107
|
},
|
|
108
|
+
/**
|
|
109
|
+
* Replace the tenant-wide policy stats. Dispatched alongside
|
|
110
|
+
* `updateCardPolicyTemplates` from the list epic, but lives on the
|
|
111
|
+
* entity slice so any consumer can read it without re-fetching the
|
|
112
|
+
* list.
|
|
113
|
+
*/
|
|
78
114
|
updateCardPolicyStats(draft, action) {
|
|
79
115
|
draft.cardPolicyStats = action.payload;
|
|
80
116
|
},
|
|
81
|
-
|
|
117
|
+
/**
|
|
118
|
+
* Kick off the `POST /cards/1.0/policy-documents/extract` request.
|
|
119
|
+
*
|
|
120
|
+
* Synchronously flips the sub-slice to `In-Progress` and captures the
|
|
121
|
+
* first uploaded file's name (used by the manual `CardPolicyCreatePage`
|
|
122
|
+
* to render the "Policy.pdf ×" pill once the request completes) so
|
|
123
|
+
* downstream callers don't have to keep their own file refs.
|
|
124
|
+
*
|
|
125
|
+
* The accompanying `extractPolicyDocumentEpic` listens for this action,
|
|
126
|
+
* POSTs multipart form-data to the cards micro-service, and dispatches
|
|
127
|
+
* either `updatePolicyDocumentExtractionSuccess` or
|
|
128
|
+
* `updatePolicyDocumentExtractionFailure`.
|
|
129
|
+
*
|
|
130
|
+
* Designed to be dispatched from both the manual create page and a
|
|
131
|
+
* future AI CFO composer/upload surface — selectors return a single
|
|
132
|
+
* source of truth.
|
|
133
|
+
*/
|
|
82
134
|
extractPolicyDocument: {
|
|
83
135
|
reducer(draft, action) {
|
|
84
136
|
draft.policyDocumentExtraction.fetchState = 'In-Progress';
|
|
@@ -90,7 +142,12 @@ const cardPolicy = (0, toolkit_1.createSlice)({
|
|
|
90
142
|
action.payload.aiCfoAnswerId;
|
|
91
143
|
draft.policyDocumentExtraction.aiCfoChatSessionId =
|
|
92
144
|
action.payload.aiCfoChatSessionId;
|
|
93
|
-
//
|
|
145
|
+
// Reset the chained recommendation slice too — without this a
|
|
146
|
+
// second upload in the same AI CFO session can read `Completed` or
|
|
147
|
+
// `Error` from the prior chain while extraction is still
|
|
148
|
+
// `In-Progress`, leaving lifecycle UI/gating wrong until the new
|
|
149
|
+
// chain finishes. The two sub-slices model the upload lifecycle
|
|
150
|
+
// together (see `clearPolicyDocumentExtraction` below).
|
|
94
151
|
draft.policyRecommendationFromUpload = {
|
|
95
152
|
...initialPolicyRecommendationFromUploadState,
|
|
96
153
|
};
|
|
@@ -117,12 +174,29 @@ const cardPolicy = (0, toolkit_1.createSlice)({
|
|
|
117
174
|
draft.policyDocumentExtraction = {
|
|
118
175
|
...initialPolicyDocumentExtractionState,
|
|
119
176
|
};
|
|
120
|
-
//
|
|
177
|
+
// Clear the chained recommendation slice too — the two together
|
|
178
|
+
// model the upload lifecycle and either both reset (× pill,
|
|
179
|
+
// unmount) or both advance (drop file → extract → recommend).
|
|
121
180
|
draft.policyRecommendationFromUpload = {
|
|
122
181
|
...initialPolicyRecommendationFromUploadState,
|
|
123
182
|
};
|
|
124
183
|
},
|
|
125
|
-
|
|
184
|
+
/**
|
|
185
|
+
* Kick off `POST /cards/1.0/ai-cfo/policy-recommendation-from-upload`.
|
|
186
|
+
*
|
|
187
|
+
* Chained after `extractPolicyDocument` succeeds in the AI CFO
|
|
188
|
+
* `upload`-mode flow. The accompanying epic forwards the
|
|
189
|
+
* just-returned `extracted_rules` to the BE and dispatches success /
|
|
190
|
+
* failure into this slice; on success, a sibling action
|
|
191
|
+
* (`updateAiCfoAnswerCardPolicyWizardPlan` on the aiCfo slice) is
|
|
192
|
+
* dispatched by the epic to merge the returned `wizard_plan` + `source`
|
|
193
|
+
* into the in-flight AI CFO answer's `CardPolicyInitialData`.
|
|
194
|
+
*
|
|
195
|
+
* `answerId` + `chatSessionId` identify which AI CFO answer should
|
|
196
|
+
* receive the patch. Both are required so the wizard reads a single
|
|
197
|
+
* source of truth for its lifecycle pill (`fetchState`) and the
|
|
198
|
+
* bridge epic can correlate against the originating answer.
|
|
199
|
+
*/
|
|
126
200
|
fetchCardPolicyRecommendationFromUpload: {
|
|
127
201
|
reducer(draft, action) {
|
|
128
202
|
draft.policyRecommendationFromUpload.fetchState = 'In-Progress';
|
|
@@ -143,7 +217,19 @@ const cardPolicy = (0, toolkit_1.createSlice)({
|
|
|
143
217
|
draft.policyRecommendationFromUpload.fetchState = 'Error';
|
|
144
218
|
draft.policyRecommendationFromUpload.error = action.payload;
|
|
145
219
|
},
|
|
146
|
-
|
|
220
|
+
/**
|
|
221
|
+
* Kick off `GET /accounting/1.0/vendors` (card-policy mode). When
|
|
222
|
+
* `searchString` is empty the BE returns the top vendors sorted by
|
|
223
|
+
* year-to-date spend; with a non-empty value it filters server-side.
|
|
224
|
+
*
|
|
225
|
+
* The accompanying `fetchCardPolicyVendorOptionsEpic` listens for
|
|
226
|
+
* this action, builds the `query` JSON (matching `fetchVendorsList`'s
|
|
227
|
+
* `view: "vendor_list"` shape) and dispatches success / failure.
|
|
228
|
+
*
|
|
229
|
+
* Designed to be dispatched from both the manual `CardPolicyCreate /
|
|
230
|
+
* EditScreen` (on mount + on every chip-picker keystroke, debounced)
|
|
231
|
+
* and the AI CFO interactive form's vendor step.
|
|
232
|
+
*/
|
|
147
233
|
fetchCardPolicyVendorOptions: {
|
|
148
234
|
reducer(draft, action) {
|
|
149
235
|
draft.vendorSearch.fetchState = 'In-Progress';
|
|
@@ -155,7 +241,11 @@ const cardPolicy = (0, toolkit_1.createSlice)({
|
|
|
155
241
|
},
|
|
156
242
|
},
|
|
157
243
|
updateCardPolicyVendorOptions(draft, action) {
|
|
158
|
-
//
|
|
244
|
+
// Drop rows with no usable name. The chip-picker keys vendors by
|
|
245
|
+
// `buildVendorChipId(name)` (in @zeniai/web-components), which calls
|
|
246
|
+
// `name.trim().toLowerCase()`. A null / undefined / whitespace-only
|
|
247
|
+
// name would either throw at render time or collapse every nameless
|
|
248
|
+
// row into a single colliding `vendor-` chip-id.
|
|
159
249
|
draft.vendorSearch.vendors = (action.payload.vendors ?? [])
|
|
160
250
|
.map(cardPolicyPayload_1.toCardPolicyVendorSearchOption)
|
|
161
251
|
.filter((vendor) => isUsableMerchantName(vendor.name));
|
|
@@ -52,6 +52,7 @@ function getCardPolicyTemplatesByIds(state, templateIds) {
|
|
|
52
52
|
function getCardPolicyStats(state) {
|
|
53
53
|
return state.cardPolicyStats;
|
|
54
54
|
}
|
|
55
|
+
// ── Policy document extraction ───────────────────────────────────────
|
|
55
56
|
function getPolicyDocumentExtractionFetchState(state) {
|
|
56
57
|
return state.policyDocumentExtraction.fetchState;
|
|
57
58
|
}
|
|
@@ -64,6 +65,7 @@ function getExtractedCardPolicyRules(state) {
|
|
|
64
65
|
function getUploadedPolicyDocumentFileName(state) {
|
|
65
66
|
return state.policyDocumentExtraction.uploadedFileName;
|
|
66
67
|
}
|
|
68
|
+
// ── Policy recommendation from upload (AI CFO upload mode) ───────────
|
|
67
69
|
function getPolicyRecommendationFromUploadFetchState(state) {
|
|
68
70
|
return state.policyRecommendationFromUpload.fetchState;
|
|
69
71
|
}
|
|
@@ -76,6 +78,7 @@ function getPolicyRecommendationFromUploadAnswerId(state) {
|
|
|
76
78
|
function getPolicyRecommendationFromUploadChatSessionId(state) {
|
|
77
79
|
return state.policyRecommendationFromUpload.chatSessionId;
|
|
78
80
|
}
|
|
81
|
+
// ── Suggested allow / block seeds (shipped alongside MCC categories) ─
|
|
79
82
|
function getCardPolicySuggestedAllowMerchants(state) {
|
|
80
83
|
return state.suggestedAllowMerchants;
|
|
81
84
|
}
|
|
@@ -88,6 +91,7 @@ function getCardPolicySuggestedAllowCategories(state) {
|
|
|
88
91
|
function getCardPolicySuggestedBlockCategories(state) {
|
|
89
92
|
return state.suggestedBlockCategories;
|
|
90
93
|
}
|
|
94
|
+
// ── Vendor search dropdown ───────────────────────────────────────────
|
|
91
95
|
function getCardPolicyVendorSearchOptions(state) {
|
|
92
96
|
return state.vendorSearch.vendors;
|
|
93
97
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { updateAiCfoAnswerCardPolicyWizardPlan } from '../aiCfo/aiCfoReducer';
|
|
3
4
|
import { RootState } from '../../reducer';
|
|
4
|
-
import { updateAiCardPolicyFormDraftFromUploadPlan } from '../../view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer';
|
|
5
5
|
import { ZeniAPI } from '../../zeniAPI';
|
|
6
|
-
import { updateAiCfoAnswerCardPolicyWizardPlan } from '../aiCfo/aiCfoReducer';
|
|
7
6
|
import { clearPolicyDocumentExtraction, fetchCardPolicyRecommendationFromUpload, updatePolicyRecommendationFromUploadFailure, updatePolicyRecommendationFromUploadSuccess } from './cardPolicyReducer';
|
|
8
|
-
export type ActionType = ReturnType<typeof fetchCardPolicyRecommendationFromUpload> | ReturnType<typeof updatePolicyRecommendationFromUploadSuccess> | ReturnType<typeof updatePolicyRecommendationFromUploadFailure> | ReturnType<typeof updateAiCfoAnswerCardPolicyWizardPlan> | ReturnType<typeof
|
|
7
|
+
export type ActionType = ReturnType<typeof fetchCardPolicyRecommendationFromUpload> | ReturnType<typeof updatePolicyRecommendationFromUploadSuccess> | ReturnType<typeof updatePolicyRecommendationFromUploadFailure> | ReturnType<typeof updateAiCfoAnswerCardPolicyWizardPlan> | ReturnType<typeof clearPolicyDocumentExtraction>;
|
|
9
8
|
/**
|
|
10
9
|
* Listens for `fetchCardPolicyRecommendationFromUpload` and POSTs the
|
|
11
10
|
* just-extracted policy rules to the AI-CFO recommendation endpoint.
|
|
@@ -3,9 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.policyRecommendationFromUploadEpic = void 0;
|
|
4
4
|
const rxjs_1 = require("rxjs");
|
|
5
5
|
const operators_1 = require("rxjs/operators");
|
|
6
|
-
const responsePayload_1 = require("../../responsePayload");
|
|
7
|
-
const createCardPolicyReducer_1 = require("../../view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer");
|
|
8
6
|
const aiCfoReducer_1 = require("../aiCfo/aiCfoReducer");
|
|
7
|
+
const responsePayload_1 = require("../../responsePayload");
|
|
9
8
|
const cardPolicyReducer_1 = require("./cardPolicyReducer");
|
|
10
9
|
/**
|
|
11
10
|
* Listens for `fetchCardPolicyRecommendationFromUpload` and POSTs the
|
|
@@ -96,10 +95,17 @@ const policyRecommendationFromUploadEpic = (actions$, _state$, zeniAPI) => actio
|
|
|
96
95
|
chatSessionId,
|
|
97
96
|
wizardPlan,
|
|
98
97
|
source,
|
|
99
|
-
})
|
|
98
|
+
}));
|
|
100
99
|
}), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, cardPolicyReducer_1.updatePolicyRecommendationFromUploadFailure)((0, responsePayload_1.createZeniAPIStatus)('Unexpected Error', 'Policy recommendation from upload REST API call errored out' +
|
|
101
100
|
JSON.stringify(error))))),
|
|
102
|
-
//
|
|
101
|
+
// `clearPolicyDocumentExtraction` (× pill) tears down the in-flight
|
|
102
|
+
// recommendation subscription so a late response can't dispatch
|
|
103
|
+
// `updateAiCfoAnswerCardPolicyWizardPlan` against the captured-at-
|
|
104
|
+
// kickoff `answerId`/`chatSessionId` and patch the AI CFO answer
|
|
105
|
+
// with a wizard plan the user already dismissed. The outer
|
|
106
|
+
// `switchMap` only handles the "another upload kicks off another
|
|
107
|
+
// recommendation" race; this guards the orthogonal "user cleared
|
|
108
|
+
// mid-flight" case.
|
|
103
109
|
(0, operators_1.takeUntil)(actions$.pipe((0, operators_1.filter)(cardPolicyReducer_1.clearPolicyDocumentExtraction.match))));
|
|
104
110
|
}));
|
|
105
111
|
exports.policyRecommendationFromUploadEpic = policyRecommendationFromUploadEpic;
|
package/lib/epic.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { Epic } from 'redux-observable';
|
|
2
|
-
import { ActionType as ExtractPolicyDocumentActionType } from './entity/cardPolicy/extractPolicyDocumentEpic';
|
|
3
|
-
import { ActionType as FetchCardPolicyVendorOptionsActionType } from './entity/cardPolicy/fetchCardPolicyVendorOptionsEpic';
|
|
4
|
-
import { ActionType as PolicyDocumentExtractionToRecommendationBridgeActionType } from './entity/cardPolicy/policyDocumentExtractionToRecommendationBridgeEpic';
|
|
5
|
-
import { ActionType as PolicyRecommendationFromUploadActionType } from './entity/cardPolicy/policyRecommendationFromUploadEpic';
|
|
6
2
|
import { ActionType as UpdateAccruedJESchedulesActionType } from './entity/jeSchedules/updateAccruedJESchedulesEpic';
|
|
7
3
|
import { ActionType as UpdateJESchedulesActionType } from './entity/jeSchedules/updateJESchedulesEpic';
|
|
8
4
|
import { ActionType as UpdateSectionAccountsViewActionType } from './entity/sectionAccountsView/sectionAccountsViewEpic';
|
|
@@ -165,6 +161,7 @@ import { ActionType as IgnoreExpenseAutomationJEScheduleActionType } from './vie
|
|
|
165
161
|
import { ActionType as InitializeExpenseAutomationJeScheduleLocalDataActionType } from './view/expenseAutomationView/epics/jeSchedule/initializeJeScheduleLocalDataEpic';
|
|
166
162
|
import { ActionType as RetryExpenseAutomationJEScheduleActionType } from './view/expenseAutomationView/epics/jeSchedule/retryJeSchedulesEpic';
|
|
167
163
|
import { ActionType as BulkUploadMatchResultToastActionType } from './view/expenseAutomationView/epics/missingReceipts/bulkUploadMatchResultToastEpic';
|
|
164
|
+
import { ActionType as SyncTabsAfterAutomatchActionType } from './view/expenseAutomationView/epics/missingReceipts/syncTabsAfterAutomatchEpic';
|
|
168
165
|
import { ActionType as BulkUploadReceiptsActionType } from './view/expenseAutomationView/epics/missingReceipts/bulkUploadReceiptsEpic';
|
|
169
166
|
import { ActionType as ConfirmBulkUploadMatchActionType } from './view/expenseAutomationView/epics/missingReceipts/confirmBulkUploadMatchEpic';
|
|
170
167
|
import { ActionType as FetchBulkUploadBatchDetailsActionType } from './view/expenseAutomationView/epics/missingReceipts/fetchBulkUploadBatchDetailsEpic';
|
|
@@ -177,7 +174,6 @@ import { ActionType as RefetchCompletedTransactionsOnBulkUploadSortActionType }
|
|
|
177
174
|
import { ActionType as RefreshBatchDetailsForBatchIdActionType } from './view/expenseAutomationView/epics/missingReceipts/refreshBatchDetailsForBatchIdEpic';
|
|
178
175
|
import { ActionType as RestoreAutomatchingActionType } from './view/expenseAutomationView/epics/missingReceipts/restoreBulkUploadAutomatchingOnMountEpic';
|
|
179
176
|
import { ActionType as SearchTransactionsForManualMatchActionType } from './view/expenseAutomationView/epics/missingReceipts/searchTransactionsForManualMatchEpic';
|
|
180
|
-
import { ActionType as SyncTabsAfterAutomatchActionType } from './view/expenseAutomationView/epics/missingReceipts/syncTabsAfterAutomatchEpic';
|
|
181
177
|
import { ActionType as UploadMissingReceiptSuccessEpicActionType } from './view/expenseAutomationView/epics/missingReceipts/uploadMissingReceiptSuccessEpic';
|
|
182
178
|
import { ActionType as WatchBulkUploadBatchStatusActionType } from './view/expenseAutomationView/epics/missingReceipts/watchBulkUploadBatchStatusEpic';
|
|
183
179
|
import { ActionType as BackgroundRefetchReviewTabActionType } from './view/expenseAutomationView/epics/transactionCategorization/backgroundRefetchReviewTabEpic';
|
|
@@ -372,16 +368,18 @@ import { ActionType as FetchMagicLinkTenantActionType } from './view/spendManage
|
|
|
372
368
|
import { ActionType as SaveMagicLinkBankAccountActionType } from './view/spendManagement/billPay/magicLinkView/epics/saveMagicLinkBankAccountEpic';
|
|
373
369
|
import { ActionType as FetchPreviousBillsActionType } from './view/spendManagement/billPay/previousBills/fetchPreviousBillsEpic';
|
|
374
370
|
import { ActionType as WiseRedirectActionType } from './view/spendManagement/billPay/wiseRedirectView/wiseRedirectEpic';
|
|
375
|
-
import { ActionType as FetchCardPolicyDetailActionType } from './view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/fetchCardPolicyDetailEpic';
|
|
376
|
-
import { ActionType as UpdateCardPolicyActionType } from './view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/updateCardPolicyEpic';
|
|
377
|
-
import { ActionType as ArchiveCardPolicyActionType } from './view/spendManagement/chargeCards/cardPolicy/cardPolicyList/archiveCardPolicyEpic';
|
|
378
|
-
import { ActionType as FetchCardPolicyListActionType } from './view/spendManagement/chargeCards/cardPolicy/cardPolicyList/fetchCardPolicyListEpic';
|
|
379
|
-
import { ActionType as ApplyExtractedPolicyToDraftActionType } from './view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToDraftEpic';
|
|
380
|
-
import { ActionType as CreateCardPolicyTemplateActionType } from './view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyTemplateEpic';
|
|
381
|
-
import { ActionType as FetchCardPolicyMccCategoriesActionType } from './view/spendManagement/chargeCards/cardPolicy/createCardPolicy/fetchCardPolicyMccCategoriesEpic';
|
|
382
|
-
import { ActionType as SeedAiCardPolicyFormDraftActionType } from './view/spendManagement/chargeCards/cardPolicy/createCardPolicy/seedAiCardPolicyFormDraftEpic';
|
|
383
371
|
import { ActionType as InitializeCardUserOnboardingLocalDataActionType } from './view/spendManagement/chargeCards/cardUserOnboarding/epics/initializeCardUserOnboardingLocalDataEpic';
|
|
384
372
|
import { ActionType as saveCardOnboardingUserDetailsActionType } from './view/spendManagement/chargeCards/cardUserOnboarding/epics/saveCardOnboardingUserDetailsEpic';
|
|
373
|
+
import { ActionType as FetchCardPolicyMccCategoriesActionType } from './view/spendManagement/chargeCards/cardPolicy/createCardPolicy/fetchCardPolicyMccCategoriesEpic';
|
|
374
|
+
import { ActionType as CreateCardPolicyTemplateActionType } from './view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyTemplateEpic';
|
|
375
|
+
import { ActionType as ExtractPolicyDocumentActionType } from './entity/cardPolicy/extractPolicyDocumentEpic';
|
|
376
|
+
import { ActionType as PolicyRecommendationFromUploadActionType } from './entity/cardPolicy/policyRecommendationFromUploadEpic';
|
|
377
|
+
import { ActionType as PolicyDocumentExtractionToRecommendationBridgeActionType } from './entity/cardPolicy/policyDocumentExtractionToRecommendationBridgeEpic';
|
|
378
|
+
import { ActionType as FetchCardPolicyVendorOptionsActionType } from './entity/cardPolicy/fetchCardPolicyVendorOptionsEpic';
|
|
379
|
+
import { ActionType as FetchCardPolicyListActionType } from './view/spendManagement/chargeCards/cardPolicy/cardPolicyList/fetchCardPolicyListEpic';
|
|
380
|
+
import { ActionType as ArchiveCardPolicyActionType } from './view/spendManagement/chargeCards/cardPolicy/cardPolicyList/archiveCardPolicyEpic';
|
|
381
|
+
import { ActionType as FetchCardPolicyDetailActionType } from './view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/fetchCardPolicyDetailEpic';
|
|
382
|
+
import { ActionType as UpdateCardPolicyActionType } from './view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/updateCardPolicyEpic';
|
|
385
383
|
import { ActionType as FetchCashbackDetailActionType } from './view/spendManagement/chargeCards/cashbackDetail/fetchCashbackDetailEpic';
|
|
386
384
|
import { ActionType as FetchChargeCardConfigActionType } from './view/spendManagement/chargeCards/chargeCardConfig/fetchChargeCardConfigEpic';
|
|
387
385
|
import { ActionType as CloseChargeCardActionType } from './view/spendManagement/chargeCards/chargeCardDetail/closeChargeCardEpic';
|
|
@@ -423,7 +421,6 @@ import { ActionType as FetchChargeCardStatementListActionType } from './view/spe
|
|
|
423
421
|
import { ActionType as FetchDepositAccountListForCardsActionType } from './view/spendManagement/chargeCards/issueChargeCard/fetchDepositAccountListForCardsEpic';
|
|
424
422
|
import { ActionType as FetchIssueCardPageActionType } from './view/spendManagement/chargeCards/issueChargeCard/fetchIssueCardPageEpic';
|
|
425
423
|
import { ActionType as IssueChargeCardActionType } from './view/spendManagement/chargeCards/issueChargeCard/issueChargeCardEpic';
|
|
426
|
-
import { ActionType as SeedAiCardCreationFormDraftActionType } from './view/spendManagement/chargeCards/issueChargeCard/seedAiCardCreationFormDraftEpic';
|
|
427
424
|
import { ActionType as FetchEntityHistoryActionType } from './view/spendManagement/commonHistoryView/fetchEntityHistoryEpic';
|
|
428
425
|
import { ActionType as EnableSetupActionType } from './view/spendManagement/commonSetup/epic/setup/enableSetupEpic';
|
|
429
426
|
import { ActionType as UpdateBusinessVerificationDetailsActionType } from './view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic';
|
|
@@ -586,6 +583,6 @@ import { ActionType as FetchZeniAccStatePageActionType } from './view/zeniAccSta
|
|
|
586
583
|
import { ActionType as FetchZeniAccountsPromoCardActionType } from './view/zeniAccountsPromoCard/zeniAccountsPromoCardEpic';
|
|
587
584
|
import { ActionType as ApproveOAuthConsentActionType } from './view/zeniOAuthView/epics/approveOAuthConsentEpic';
|
|
588
585
|
/** Root action type is union of all the epic action type */
|
|
589
|
-
export type RootActionType = AcceptBillPayTermsActionType | ApproveOAuthConsentActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptMasterTOSEpicActionType | AcceptRemiTermsActionType | AcceptTreasuryTermsActionType | AcceptZeniAccountTermsActionType | AddCardPaymentSourceActionType | ApproveOrRejectBillActionType | ApproveOrRejectBillsBulkActionActionType | ApproveOrRejectRemiActionType | ApproveOrRejectRemisBulkActionActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BackgroundRefetchReviewTabActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | BulkUpdateTasksListActionType | CancelAiAccountantOnboardingActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CancelOrDeleteBillsBulkActionActionType | CancelOrDeleteRemisBulkActionActionType | CancelScheduleAccruedJournalEntryActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CloseChargeCardActionType | CloseChargeCardsActionType | CombinedStatementActionType | ReportsResyncActionType | InitiateReportsClassViewRefetchingActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | ConfirmCardSetupIntentActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCardSetupIntentActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateAutoTransferRuleActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesAccruedActionType | CreateNewSchedulesActionType | CreateNewTaskGroupActionType | CreatePaymentInstrumentActionType | CreateSessionActionType | CreateSessionAndSubmitActionType | CreateTagActionType | CreateTaskFromTaskGroupTemplateActionType | CreateTransferEntryActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteAccountStatementActionType | DeleteAutoTransferRuleActionType | ExcludeAccountFromReconciliationActionType | IncludeAccountInReconciliationActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteChatSessionActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleAccruedDetailActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | SnoozeTaskActionType | UnsnoozeTaskActionType | DeleteTaskGroupActionType | DeleteTransactionAttachmentActionType | DeleteUserBankAccountActionType | DoMagicLinkSignInActionType | DepositAccountTransactionListActionType | DownloadAccountingProviderAttachmentActionType | DragNDropTasksActionType | EnableChargeCardAutoPayActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | ExpressInterestChargeCardActionType | ExpressPayActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchAccountSettingsListForAccountTypesActionType | FetchAccruedScheduleListActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAiAccountantCustomersActionType | FetchAiAccountantJobsActionType | FetchAutoTransferReviewDetailActionType | FetchAutoTransferRuleHistoryActionType | FetchAutoTransferRulesActionType | FetchAllCockpitViewsActionType | FetchAllExpenseAutomationTabsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTaskGroupsActionType | FetchAllTenantsActionType | FetchAggregatedReportActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListActionType | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillingAccountsListActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | ArchiveCardPolicyActionType | CreateCardPolicyTemplateActionType | ExtractPolicyDocumentActionType | PolicyRecommendationFromUploadActionType | PolicyDocumentExtractionToRecommendationBridgeActionType | FetchCardPolicyDetailActionType | FetchCardPolicyListActionType | FetchCardPolicyMccCategoriesActionType | FetchCardPolicyVendorOptionsActionType | FetchCardProfilesActionType | UpdateCardPolicyActionType | FetchCashbackDetailActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardPaymentPageActionType | FetchChargeCardRepaymentDetailActionType | FetchChargeCardPaymentHistoryActionType | FetchChargeCardSetupViewActionType | FetchChargeCardStatementListActionType | FetchChargeCardTransactionAttachmentsActionType | FetchChargeCardTransactionListActionType | FetchChargeCardTransactionStatisticsActionType | FetchChargeCardsRecurringExpensesActionType | FetchChatHistoryActionType | FetchChatSessionsForUserActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyBillingAddressActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricConfigViewEpicActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMetaDataActionType | FetchCompanyMonthEndReportHistoricDataActionType | FetchCompanyMonthEndReportHistoricDatesActionType | FetchCompanyMonthEndReportTemplatesActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCompanyTaskManagerViewActionType | FetchTaskManagerMetricsActionType | FetchCreditAccountActionType | FetchCreditAccountRepaymentActionType | FetchCreditAgentMacroActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDashboardLayoutActionType | FetchDebitCardSummaryActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountLimitActionType | FetchDepositAccountListActionType | FetchDepositAccountListForCardsActionType | FetchDepositAccStatementListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchDuplicateReimbursementEpicActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchEligibleActionsForBillActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchEntityRecommendationsByTransactionIdActionType | FetchEntityRecommendationsForLineUpdateActionType | FetchExcludedResourcesActionType | FetchExpenseAutomationFluxAnalysisActionType | FetchExpenseAutomationInitializeTransactionCategorizationViewLocalDataActionType | FetchExpenseAutomationJEScheduleActionType | FetchExpenseAutomationJESchedulePageActionType | FetchExpenseAutomationMarkTransactionAsNotMiscategorizedActionType | FetchExpenseAutomationMissingReceiptsActionType | BulkUploadReceiptsActionType | ConfirmBulkUploadMatchActionType | FetchBulkUploadBatchDetailsActionType | FetchMultipleBatchDetailsActionType | FetchMoreBatchDetailsActionType | FetchBulkUploadBatchesActionType | FetchCompletedTransactionsActionType | RefetchCompletedTransactionsOnBulkUploadSortActionType | RefreshBatchDetailsForBatchIdActionType | SearchTransactionsForManualMatchActionType | WatchBulkUploadBatchStatusActionType | BulkUploadMatchResultToastActionType | SyncTabsAfterAutomatchActionType | RestoreAutomatchingActionType | FetchExpenseAutomationReconciliationsViewActionType | FetchExpenseAutomationSaveTransactionCategorizationActionType | FetchExpenseAutomationTransactionCategorizationActionType | FetchExpenseAutomationTransactionCategorizationViewActionType | FetchExpenseAutomationUpdateTransactionCategorizationEpicActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchIntlVerificationFormActionType | FetchIssueCardPageActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMonthClosePerformanceTrendActionType | FetchMonthEndCloseChecksActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchNotificationSettingsViewActionType | FetchNotificationUnreadCountActionType | FetchNotificationViewActionType | FetchRegisteredInterestsActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountBalanceActionType | FetchPaymentAccountListActionType | FetchPaymentSourcesActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchQBOConnectionPoolActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationsAndUpdateMerchantRecommendationsActionType | FetchRecommendationsAndUpdateVendorRecommendationsActionType | FetchRecommendedBillExpenseActionType | FetchReferralsActionType | FetchReimbursementCardActionType | FetchReimbursementConfigActionType | FetchRemiAndInitializeLocalStoreActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailActionType | FetchRemiListActionType | FetchRemiListPerTabActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchReviewTransferDetailActionType | FetchRewardsPlanActionType | FetchScheduleAccruedDetailsActionType | FetchScheduleAccruedDetailsPageActionType | FetchScheduleDetailsActionType | FetchScheduleDetailsPageActionType | FetchScheduleListActionType | FetchSchedulesListActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchSuggestedQuestionsActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskGroupTemplatesActionType | FetchTaskHistoryActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTransactionActivityLogActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByProjectActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTransferAccountsActionType | FetchTreasuryStatementListActionType | FetchTreasuryDetailActionType | FetchTreasuryFundsActionType | FetchTreasuryHistoryActionType | FetchTreasurySetupViewActionType | FetchTreasuryTaxLetterListActionType | FetchTreasuryTransactionListActionType | UpdatePortfolioAllocationActionType | FetchPortfolioAllocationActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendor1099TypeListActionType | FetchVendorActionType | FetchVendorAndUpdateBillLocalDataActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewAttachmentsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorsActionType | FetchVendorsFiling1099ActionType | FetchVendorsFiling1099AllActionType | FetchVendorsFiling1099DownloadActionType | FetchVendorTabViewActionType | FetchVendorTypeListActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccountsPromoCardActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | IgnoreExpenseAutomationJEScheduleActionType | ImproveUsingZeniGPTActionType | InitialiseExpenseAutomationLocalDataForSelectedAccountIdActionType | InitializeAccountMappingViewActionType | InitializeAccountSettingsViewEpicActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | InitializeCardUserOnboardingLocalDataActionType | InitializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeExpenseAutomationJeScheduleLocalDataActionType | InitializeInternationalWireLocalDataActionType | InitializeIntlVerificationFormEpicActionType | InitializeMyProfileLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleAccruedDetailLocalDataActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InitiateChargeCardRepaymentActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | LockChargeCardActionType | LockChargeCardsActionType | MarkAsCompleteScheduleDetailActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | NotifyMeForFeatureActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchProjectTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeActionType | ParseInvoiceToBillActionType | ParseReceiptsToRemiActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | ProfitAndLossForTimeframeProjectViewActionType | ProfitAndLossProjectViewActionType | FetchProjectListActionType | PushToastNotificationActionType | RecommendationForAccountSettingsActionType | RecommendationForAccountTypeActionType | RefreshExpenseAutomationCurrentTabActionType | RefreshIntegrationsDataActionType | RejectVendorGlobalReviewActionType | ResendCardInviteActionType | ResendInviteActionType | ResendOtpActionType | ResendVerifyDeviceOTPActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RetryExpenseAutomationJEScheduleActionType | RetryOrRefundBillActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | ValidateBillsBulkActionActionType | ReviewDraftRemisBulkActionActionTye | ReviewExpenseAutomationFluxAnalysisActionType | RevokeCardInviteActionType | RevokeChargeCardsInviteActionType | SaveAccountMappingViewActionType | SaveAccountSettingsViewEpicActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | saveCardOnboardingUserDetailsActionType | SaveCompanyBillingAddressActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveCreditAgentMacroActionType | SaveExpenseAutomationReconciliationDetailActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveReasonForAuditRuleActionType | SaveReconciliationReviewActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleAccruedDetailsActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorDetailsViewActionType | SaveVendorFirstReviewViewActionType | ScheduleTenantCreditScoreCronActionType | SeedAiCardCreationFormDraftActionType | SeedAiCardPolicyFormDraftActionType | ApplyExtractedPolicyToDraftActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SendEmailMagicLinkToUserActionType | SessionHeartbeatActionType | SignInActionType | SignOutActionType | VerifyDeviceWithTwoFAActionType | StatementCloseDayActionType | StopSubmitActionType | StopSubmitQuestionActionType | SubmitDraftBillsBulkActionActionType | SubmitDraftRemisBulkActionActionType | SubmitExpressPayActionType | SubmitIntlVerificationActionType | SubmitQuestionActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | TreasuryTransferMoneyActionType | TriggerAiAccountantJobActionType | TriggerReviewTabRefetchActionType | UnlinkPaymentAccountActionType | UnlockChargeCardActionType | UnlockChargeCardsActionType | UpdateAccruedJESchedulesActionType | UpdateAddressActionType | UpdateAutoTransferRuleActionType | UpdateAmountsInScheduleAccruedDetailActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateCardProfileActionType | UpdateChargeCardDetailActionType | UpdateChargeCardLimitActionType | UpdateChargeCardNameActionType | UpdateChargeCardsLimitActionType | UpdateAccountingClassesEnabledActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDashboardLayoutActionType | UpdateDebitCardPinAttemptActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateExpenseAutomationReconciliationBalanceLocalDataActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMappedCashAccountActionType | UpdateMileageDetailsActionType | UpdateMyProfileActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewDashboardLoadedActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePhysicalChargeCardAttemptActionType | UpdatePrimaryContactActionType | UpdatePrimaryFundingAccountActionType | UpdateReferViewedActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateQBOConnectionPoolExternalConnectionActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSectionProjectViewActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTaskFromListViewActionType | UpdateTaskGroupNameActionType | FetchCannedResponsesActionType | SaveCannedResponseActionType | DeleteCannedResponseActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateTreasuryVideoViewedActionType | UpdateVendorContactActionType | UploadAccountStatementActionType | UploadMissingReceiptSuccessEpicActionType | UploadTransactionReceiptSuccessEpicActionType | VendorFiling1099UploadDetailsSaveActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
|
|
586
|
+
export type RootActionType = AcceptBillPayTermsActionType | ApproveOAuthConsentActionType | AcceptBillPayUpdatedTermsActionType | AcceptChargeCardTermsActionType | AcceptEmployeeRemiTermsActionType | AcceptMasterTOSEpicActionType | AcceptRemiTermsActionType | AcceptTreasuryTermsActionType | AcceptZeniAccountTermsActionType | AddCardPaymentSourceActionType | ApproveOrRejectBillActionType | ApproveOrRejectBillsBulkActionActionType | ApproveOrRejectRemiActionType | ApproveOrRejectRemisBulkActionActionType | ApproveVendorGlobalReviewActionType | ArchiveTaskActionType | BackgroundRefetchReviewTabActionType | BalanceSheetActionType | BalanceSheetForTimeframeActionType | BulkUpdateTasksListActionType | CancelAiAccountantOnboardingActionType | CancelAndDeleteBillActionType | CancelAndDeleteRemiActionType | CancelOrDeleteBillsBulkActionActionType | CancelOrDeleteRemisBulkActionActionType | CancelScheduleAccruedJournalEntryActionType | CardBalanceActionType | CashBalanceActionType | CashFlowActionType | CashFlowForTimeframeActionType | CashInCashOutActionType | CashPositionActionType | ChangeZeniPersonRolesActionType | CheckDepositActionType | ClearAllActionType | CloseChargeCardActionType | CloseChargeCardsActionType | CombinedStatementActionType | ReportsResyncActionType | InitiateReportsClassViewRefetchingActionType | CompanyManagementSavePendingUpdatesActionType | CompanyManagementSaveUpdatesActionType | ConfirmCardSetupIntentActionType | CreateAddressActionType | CreateBankAccountActionType | CreateCardSetupIntentActionType | CreateCheckingAccountActionType | CreateCompanyAddressActionType | CreateCompanyOfficersActionType | CreateCompanyUserAddressActionType | CreateAutoTransferRuleActionType | CreateGlobalMerchantActionType | CreateInternationalBankAccountActionType | CreateNewSchedulesAccruedActionType | CreateNewSchedulesActionType | CreateNewTaskGroupActionType | CreatePaymentInstrumentActionType | CreateSessionActionType | CreateSessionAndSubmitActionType | CreateTagActionType | CreateTaskFromTaskGroupTemplateActionType | CreateTransferEntryActionType | CreateUserBankAccountActionType | CurrencyConversionActionType | DeleteAccountStatementActionType | DeleteAutoTransferRuleActionType | ExcludeAccountFromReconciliationActionType | IncludeAccountInReconciliationActionType | DeleteBankAccountActionType | DeleteBillActionType | DeleteBillPayApprovalRuleActionType | DeleteChatSessionActionType | DeleteFileActionType | DeleteFileListActionType | DeleteInternationalBankAccountActionType | DeletePaymentInstrumentActionType | DeletePersonActionType | DeleteRemiActionType | DeleteRemiApprovalRuleActionType | DeleteScheduleAccruedDetailActionType | DeleteScheduleDetailActionType | DeleteTagActionType | DeleteTaskActionType | SnoozeTaskActionType | UnsnoozeTaskActionType | DeleteTaskGroupActionType | DeleteTransactionAttachmentActionType | DeleteUserBankAccountActionType | DoMagicLinkSignInActionType | DepositAccountTransactionListActionType | DownloadAccountingProviderAttachmentActionType | DragNDropTasksActionType | EnableChargeCardAutoPayActionType | EnableSetupActionType | EstablishOnboardingPlaidConnectionActionType | EstablishPlaidConnectionActionType | ExpressInterestChargeCardActionType | ExpressPayActionType | FetchAccountHistoryActionType | FetchAccountListActionType | FetchAccountListForAccountTypesActionType | FetchAccountSettingsListForAccountTypesActionType | FetchAccruedScheduleListActionType | FetchActiveTenantActionType | FetchAddressActionType | FetchAiAccountantCustomersActionType | FetchAiAccountantJobsActionType | FetchAutoTransferReviewDetailActionType | FetchAutoTransferRuleHistoryActionType | FetchAutoTransferRulesActionType | FetchAllCockpitViewsActionType | FetchAllExpenseAutomationTabsActionType | FetchAllPeopleRequiredActionType | FetchAllTagsActionType | FetchAllTaskGroupsActionType | FetchAllTenantsActionType | FetchAggregatedReportActionType | FetchApAgingActionType | FetchApAgingDetailActionType | FetchArAgingActionType | FetchArAgingDetailActionType | FetchAuditReportGroupViewActionType | FetchAuditRuleGroupViewActionType | FetchBankAccountsListActionType | FetchBankConnectionsViewActionType | FetchBankCountryNameByIbanActionType | FetchBankNameByRoutingActionType | FetchBankNameBySwiftActionType | FetchBillAndInitializeLocalStoreActionType | FetchBillDetailActionType | FetchBillingAccountsListActionType | FetchBillListActionType | FetchBillListPerTabActionType | FetchBillPayApproversDetailsActionType | FetchBillPayApproversListActionType | FetchBillPayCardActionType | FetchBillPayConfigActionType | FetchBillPaySetupApproverViewActionType | FetchBillPaySetupViewActionType | ArchiveCardPolicyActionType | CreateCardPolicyTemplateActionType | ExtractPolicyDocumentActionType | PolicyRecommendationFromUploadActionType | PolicyDocumentExtractionToRecommendationBridgeActionType | FetchCardPolicyDetailActionType | FetchCardPolicyListActionType | FetchCardPolicyMccCategoriesActionType | FetchCardPolicyVendorOptionsActionType | FetchCardProfilesActionType | UpdateCardPolicyActionType | FetchCashbackDetailActionType | FetchChargeCardConfigActionType | FetchChargeCardDetailActionType | FetchChargeCardDetailPageActionType | FetchChargeCardListActionType | FetchChargeCardListPageActionType | FetchChargeCardPaymentPageActionType | FetchChargeCardRepaymentDetailActionType | FetchChargeCardPaymentHistoryActionType | FetchChargeCardSetupViewActionType | FetchChargeCardStatementListActionType | FetchChargeCardTransactionAttachmentsActionType | FetchChargeCardTransactionListActionType | FetchChargeCardTransactionStatisticsActionType | FetchChargeCardsRecurringExpensesActionType | FetchChatHistoryActionType | FetchChatSessionsForUserActionType | FetchClassListActionType | FetchCollaborationAuthTokenActionType | FetchCompanyBillingAddressActionType | FetchCompanyConfigActionType | FetchCompanyHealthMetricConfigViewEpicActionType | FetchCompanyHealthMetricViewEpicActionType | FetchCompanyManagementActionType | FetchCompanyMetaDataActionType | FetchCompanyMonthEndReportHistoricDataActionType | FetchCompanyMonthEndReportHistoricDatesActionType | FetchCompanyMonthEndReportTemplatesActionType | FetchCompanyMonthEndReportViewActionType | FetchCompanyOnboardingViewActionType | FetchCompanyPassportViewActionType | FetchCompanyPortfolioActionType | FetchCompanyTaskManagerViewActionType | FetchTaskManagerMetricsActionType | FetchCreditAccountActionType | FetchCreditAccountRepaymentActionType | FetchCreditAgentMacroActionType | FetchCurrencyConversionValueActionType | FetchDashboardActionType | FetchDashboardLayoutActionType | FetchDebitCardSummaryActionType | FetchDepositAccountActionType | FetchDepositAccountDetailActionType | FetchDepositAccountLimitActionType | FetchDepositAccountListActionType | FetchDepositAccountListForCardsActionType | FetchDepositAccStatementListActionType | FetchDownloadSchedulesActionType | FetchDuplicateBillActionType | FetchDuplicateReimbursementEpicActionType | FetchEditBillDetailPageActionType | FetchEditRemiDetailPageActionType | FetchEligibleActionsForBillActionType | FetchEntityAutoCompleteActionType | FetchEntityHistoryActionType | FetchEntityRecommendationsByTransactionIdActionType | FetchEntityRecommendationsForLineUpdateActionType | FetchExcludedResourcesActionType | FetchExpenseAutomationFluxAnalysisActionType | FetchExpenseAutomationInitializeTransactionCategorizationViewLocalDataActionType | FetchExpenseAutomationJEScheduleActionType | FetchExpenseAutomationJESchedulePageActionType | FetchExpenseAutomationMarkTransactionAsNotMiscategorizedActionType | FetchExpenseAutomationMissingReceiptsActionType | BulkUploadReceiptsActionType | ConfirmBulkUploadMatchActionType | FetchBulkUploadBatchDetailsActionType | FetchMultipleBatchDetailsActionType | FetchMoreBatchDetailsActionType | FetchBulkUploadBatchesActionType | FetchCompletedTransactionsActionType | RefetchCompletedTransactionsOnBulkUploadSortActionType | RefreshBatchDetailsForBatchIdActionType | SearchTransactionsForManualMatchActionType | WatchBulkUploadBatchStatusActionType | BulkUploadMatchResultToastActionType | SyncTabsAfterAutomatchActionType | RestoreAutomatchingActionType | FetchExpenseAutomationReconciliationsViewActionType | FetchExpenseAutomationSaveTransactionCategorizationActionType | FetchExpenseAutomationTransactionCategorizationActionType | FetchExpenseAutomationTransactionCategorizationViewActionType | FetchExpenseAutomationUpdateTransactionCategorizationEpicActionType | FetchExpenseTrendActionType | FetchExternalConnectionsActionType | FetchFileActionType | FetchFileListActionType | FetchForecastListActionType | FetchGlobalMerchantAutoCompleteActionType | FetchGlobalMerchantRecommendationActionType | FetchIncomeTrendActionType | FetchInternationalWireDynamicFormActionType | FetchIntlVerificationFormActionType | FetchIssueCardPageActionType | FetchMagicLinkBankNameByRoutingActionType | FetchMagicLinkBankNameBySwiftActionType | FetchMagicLinkBillActionType | FetchMagicLinkTenantActionType | FetchManagementActionType | FetchMerchantListActionType | FetchMonthClosePerformanceTrendActionType | FetchMonthEndCloseChecksActionType | FetchMyProfileActionType | FetchMyProfileViewActionType | FetchNetBurnOrIncomeStoryCardActionType | FetchNetBurnOrIncomeWithForecastActionType | FetchNotificationSettingsActionType | FetchNotificationSettingsViewActionType | FetchNotificationUnreadCountActionType | FetchNotificationViewActionType | FetchRegisteredInterestsActionType | FetchOnboardingActionType | FetchOnboardingCompletedCompaniesActionType | FetchOnboardingCustomerSetupViewActionType | FetchOnboardingCustomerViewActionType | FetchOpExWithForecastActionType | FetchOwnerListActionType | FetchParentSubsidiaryManagementActionType | FetchPaymentAccountBalanceActionType | FetchPaymentAccountListActionType | FetchPaymentSourcesActionType | FetchPortfolioActionType | FetchPreviousBillsActionType | FetchQBOConnectionPoolActionType | FetchRecommendationByEntityIdActionType | FetchRecommendationByEntityNameActionType | FetchRecommendationsAndUpdateMerchantRecommendationsActionType | FetchRecommendationsAndUpdateVendorRecommendationsActionType | FetchRecommendedBillExpenseActionType | FetchReferralsActionType | FetchReimbursementCardActionType | FetchReimbursementConfigActionType | FetchRemiAndInitializeLocalStoreActionType | FetchRemiApproversDetailsActionType | FetchRemiApproversListActionType | FetchRemiDetailActionType | FetchRemiListActionType | FetchRemiListPerTabActionType | FetchRemiSetupApproverViewActionType | FetchRemiSetupViewActionType | FetchRevenueWithForecastActionType | FetchReviewCompanyActionType | FetchReviewTransferDetailActionType | FetchRewardsPlanActionType | FetchScheduleAccruedDetailsActionType | FetchScheduleAccruedDetailsPageActionType | FetchScheduleDetailsActionType | FetchScheduleDetailsPageActionType | FetchScheduleListActionType | FetchSchedulesListActionType | FetchSubscriptionActionType | FetchSubscriptionAddOnsActionType | FetchSubscriptionCouponsActionType | FetchSubscriptionCreateEstimateActionType | FetchSubscriptionDetailsActionType | FetchSubscriptionListActionType | FetchSubscriptionPlansActionType | FetchSubscriptionSummaryForTenantActionType | FetchSubscriptionUpdateEstimateActionType | FetchSuggestedQuestionsActionType | FetchTaskDetailActionType | FetchTaskDetailPageActionType | FetchTaskGroupTemplatesActionType | FetchTaskHistoryActionType | FetchTaskListActionType | FetchTaskListPageActionType | FetchTasksCardActionType | FetchTransactionActivityLogActionType | FetchTransactionDetailActionType | FetchTransactionListByAccountActionType | FetchTransactionListByClassActionType | FetchTransactionListByProjectActionType | FetchTransactionListByEntityActionType | FetchTransactionsForEntityActionType | FetchTransactionsListByCategoryTypeActionType | FetchTransferAccountsActionType | FetchTreasuryStatementListActionType | FetchTreasuryDetailActionType | FetchTreasuryFundsActionType | FetchTreasuryHistoryActionType | FetchTreasurySetupViewActionType | FetchTreasuryTaxLetterListActionType | FetchTreasuryTransactionListActionType | UpdatePortfolioAllocationActionType | FetchPortfolioAllocationActionType | FetchTrendForEntityActionType | FetchUserDetailActionType | FetchUserFinancialAccountActionType | FetchUserListByTypeActionType | FetchUserRoleConfigActionType | FetchVendor1099TypeListActionType | FetchVendorActionType | FetchVendorAndUpdateBillLocalDataActionType | FetchVendorByNameAndParseInvoiceActionType | FetchVendorDetailsActionType | FetchVendorFirstReviewAttachmentsActionType | FetchVendorFirstReviewViewActionType | FetchVendorGlobalReviewViewActionType | FetchVendorsActionType | FetchVendorsFiling1099ActionType | FetchVendorsFiling1099AllActionType | FetchVendorsFiling1099DownloadActionType | FetchVendorTabViewActionType | FetchVendorTypeListActionType | FetchZeniAccountListPageActionType | FetchZeniAccountsConfigActionType | FetchZeniAccountSetupViewActionType | FetchZeniAccountsPromoCardActionType | FetchZeniAccStatePageActionType | FetchZeniUsersActionType | GetOnboardingEmailGroupActionType | GetOnboardingPlaidLinkTokenActionType | GetPaymentAccountsActionType | GetPlaidLinkTokenActionType | IgnoreExpenseAutomationJEScheduleActionType | ImproveUsingZeniGPTActionType | InitialiseExpenseAutomationLocalDataForSelectedAccountIdActionType | InitializeAccountMappingViewActionType | InitializeAccountSettingsViewEpicActionType | InitializeBillPaySetupApproverViewUpdateDataActionType | InitializeBillToLocalStoreActionType | InitializeCardUserOnboardingLocalDataActionType | InitializeCompanyHealthMetricViewLocalDataEpicActionType | InitializeEditPersonActionType | InitializeExpenseAutomationJeScheduleLocalDataActionType | InitializeInternationalWireLocalDataActionType | InitializeIntlVerificationFormEpicActionType | InitializeMyProfileLocalDataActionType | InitializeOnboardingCustomerViewUpdateDataActionType | InitializeRemiSetupApproverViewUpdateDataActionType | InitializeRemiToLocalStoreActionType | InitializeScheduleAccruedDetailLocalDataActionType | InitializeScheduleDetailLocalDataActionType | InitializeSubscriptionLocalDataActionType | InitializeTaskToLocalStoreActionType | InitializeTransactionDetailLocalDataActionType | InitializeVendorAddressActionType | InitiateChargeCardRepaymentActionType | InsightsCardActionType | InvitePeopleActionType | InviteZeniPeopleActionType | IssueChargeCardActionType | LockChargeCardActionType | LockChargeCardsActionType | MarkAsCompleteScheduleDetailActionType | MarkTransactionAsNotMiscategorizedActionType | NetBurnOrIncomeActionType | NetBurnOrIncomeClassesViewActionType | NetBurnOrIncomeForTimeframeActionType | NetBurnOrIncomeForTimeframeClassesViewActionType | NotifyMeForFeatureActionType | OpExActionType | OpExByVendorReportActionType | OpExByVendorReportForTimeframeActionType | OpExByVendorReportSummaryActionType | OpExClassesViewActionType | OpExForTimeframeClassesViewActionType | OpExForTimeframeViewActionType | ParallelFetchAccountTransactionListActionType | ParallelFetchClassTransactionListActionType | ParallelFetchProjectTransactionListActionType | ParallelFetchEntityTransactionListActionType | ParallelFetchTransactionListByCategoryTypeActionType | ParseInvoiceToBillActionType | ParseReceiptsToRemiActionType | PeopleActionType | PeoplePageActionType | PeopleSaveUpdatesActionType | ProfitAndLossActionType | ProfitAndLossClassesViewActionType | ProfitAndLossForTimeframeActionType | ProfitAndLossForTimeframeClassesViewActionType | ProfitAndLossForTimeframeProjectViewActionType | ProfitAndLossProjectViewActionType | FetchProjectListActionType | PushToastNotificationActionType | RecommendationForAccountSettingsActionType | RecommendationForAccountTypeActionType | RefreshExpenseAutomationCurrentTabActionType | RefreshIntegrationsDataActionType | RejectVendorGlobalReviewActionType | ResendCardInviteActionType | ResendInviteActionType | ResendOtpActionType | ResendVerifyDeviceOTPActionType | ResendReferralInviteActionType | ResetTransactionVendorLocalDataActionType | ResetVendorDetailLocalDataActionType | RetryBankAccountConnectionActionType | RetryBankAccountConnectionForOnboardingActionType | RetryExpenseAutomationJEScheduleActionType | RetryOrRefundBillActionType | RevenueActionType | RevenueClassesViewActionType | RevenueForTimeframeClassesViewActionType | RevenueForTimeframeViewActionType | ValidateBillsBulkActionActionType | ReviewDraftRemisBulkActionActionTye | ReviewExpenseAutomationFluxAnalysisActionType | RevokeCardInviteActionType | RevokeChargeCardsInviteActionType | SaveAccountMappingViewActionType | SaveAccountSettingsViewEpicActionType | SaveAddressActionType | SaveBillDetailActionType | SaveBillPaySetupApproverViewUpdatesActionType | saveCardOnboardingUserDetailsActionType | SaveCompanyBillingAddressActionType | SaveCompanyHealthMetricByIdEpicActionType | SaveCompanyMonthEndReportActionType | SaveCompanyPassportDetailsActionType | SaveCreditAgentMacroActionType | SaveExpenseAutomationReconciliationDetailActionType | SaveExternalConnectionActionType | SaveMagicLinkBankAccountActionType | SaveNotificationSettingsEpicActionType | SaveOnboardingCustomerCompletedStatusActionType | SaveOnboardingCustomerNotesActionType | SaveOnboardingCustomerViewUpdatesActionType | SaveRealTimeApprovalActionType | SaveReasonForAuditRuleActionType | SaveReconciliationReviewActionType | SaveRemiDetailActionType | SaveRemiSetupApproverViewUpdatesActionType | SaveScheduleAccruedDetailsActionType | SaveScheduleDetailsActionType | SaveSubscriptionNotesUpdatesActionType | SaveSubscriptionUpdatesActionType | SaveTaskDetailActionType | SaveTranactionVendorActionType | SaveTransactionDetailActionType | SaveVendorActionType | SaveVendorDetailsViewActionType | SaveVendorFirstReviewViewActionType | ScheduleTenantCreditScoreCronActionType | SendCompanyMonthEndReportActionType | SendOnboardingCustomerViewInviteActionType | SendOtpActionType | SendReferralInviteActionType | SendEmailMagicLinkToUserActionType | SessionHeartbeatActionType | SignInActionType | SignOutActionType | VerifyDeviceWithTwoFAActionType | StatementCloseDayActionType | StopSubmitActionType | StopSubmitQuestionActionType | SubmitDraftBillsBulkActionActionType | SubmitDraftRemisBulkActionActionType | SubmitExpressPayActionType | SubmitIntlVerificationActionType | SubmitQuestionActionType | ToggleReportUIOptionForecastModeActionType | TopExActionType | TransferMoneyActionType | TreasuryTransferMoneyActionType | TriggerAiAccountantJobActionType | TriggerReviewTabRefetchActionType | UnlinkPaymentAccountActionType | UnlockChargeCardActionType | UnlockChargeCardsActionType | UpdateAccruedJESchedulesActionType | UpdateAddressActionType | UpdateAutoTransferRuleActionType | UpdateAmountsInScheduleAccruedDetailActionType | UpdateAmountsInScheduleDetailActionType | UpdateBusinessVerificationDetailsActionType | UpdateCardProfileActionType | UpdateChargeCardDetailActionType | UpdateChargeCardLimitActionType | UpdateChargeCardNameActionType | UpdateChargeCardsLimitActionType | UpdateAccountingClassesEnabledActionType | UpdateCompanyDetailsActionType | UpdateCompanyOfficerActionType | UpdateCompanyPassportLocalStoreDataActionType | UpdateDashboardLayoutActionType | UpdateDebitCardPinAttemptActionType | UpdateDepositAccountActionType | UpdateDynamicFormActionType | UpdateExpenseAutomationReconciliationBalanceLocalDataActionType | UpdateFileNameActionType | UpdateFilesMetadataActionType | UpdateJESchedulesActionType | UpdateMappedCashAccountActionType | UpdateMileageDetailsActionType | UpdateMyProfileActionType | UpdateNetBurnOrIncomeStoryCardSettingsActionType | UpdateNotificationViewAllNotificationsStatusActionType | UpdateNotificationViewNotificationStatusActionType | UpdateOnboardingCustomerViewActionType | UpdateOnboardingCustomerViewCompleteStatusActionType | UpdateOnboardingCustomerViewDashboardLoadedActionType | UpdateOnboardingCustomerViewLocalStoreDataActionType | UpdateOnboardingPaymentAccountLoginStatusActionType | UpdateOnboardingPaymentAccountStatusActionType | UpdatePaymentAccountActionType | UpdatePaymentAccountLoginStatusActionType | UpdatePaymentAccountStatusActionType | UpdatePhysicalChargeCardAttemptActionType | UpdatePrimaryContactActionType | UpdatePrimaryFundingAccountActionType | UpdateReferViewedActionType | UpdateRemiSetupViewLocalStoreDataActionType | UpdateReportUIOptionCOABalancesRangeActionType | UpdateReportUIOptionIsCompareModeActionType | UpdateReportUIOptionIsCompareModeOnActionType | UpdateReportUIOptionThisPeriodActionType | UpdateReportUIOptionTimeFrameActionType | UpdateQBOConnectionPoolExternalConnectionActionType | UpdateSectionAccountsViewActionType | UpdateSectionClassesViewV2ActionType | UpdateSectionProjectViewActionType | UpdateSelectedVendorForCreateFlowActionType | UpdateSetupViewLocalStoreDataActionType | UpdateTaskFromListViewActionType | UpdateTaskGroupNameActionType | FetchCannedResponsesActionType | SaveCannedResponseActionType | DeleteCannedResponseActionType | UpdateTransactionDetailActionType | UpdateTransactionOnUploadSuccessActionType | UpdateTreasuryVideoViewedActionType | UpdateVendorContactActionType | UploadAccountStatementActionType | UploadMissingReceiptSuccessEpicActionType | UploadTransactionReceiptSuccessEpicActionType | VendorFiling1099UploadDetailsSaveActionType | VendorsTabFetchVendorActionType | VendorsTabFetchVendorDetailPageViewActionType | VendorsTabFetchVendorDetailsActionType | VendorsTabResetVendorDetailLocalDataActionType | VendorsTabSaveVendorActionType | VerifyOtpActionType | VerifyUserActionType | WiseRedirectActionType;
|
|
590
587
|
declare const rootEpic: Epic<RootActionType>;
|
|
591
588
|
export default rootEpic;
|