@zeniai/client-epic-state 5.2.41-beta3MM → 5.2.41-beta4MM
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.
|
@@ -144,6 +144,7 @@ export interface JEOneTimeAccrualClearedPayload {
|
|
|
144
144
|
reversed_at?: string | null;
|
|
145
145
|
}
|
|
146
146
|
export interface JEOneTimeAccrualMatchSuggestionPayload {
|
|
147
|
+
consumed_line_ids?: string[] | null;
|
|
147
148
|
match_tier?: string | null;
|
|
148
149
|
matched_amount?: number | null;
|
|
149
150
|
matched_line_id?: string | null;
|
|
@@ -493,6 +493,7 @@ function toJEOneTimeAccrualMatchSuggestion(payload, currencyCode) {
|
|
|
493
493
|
matchedTransactionId: payload.matched_transaction_id ?? undefined,
|
|
494
494
|
matchedTransactionType: payload.matched_transaction_type ?? undefined,
|
|
495
495
|
matchedLineId: payload.matched_line_id ?? undefined,
|
|
496
|
+
consumedLineIds: payload.consumed_line_ids ?? undefined,
|
|
496
497
|
matchedAmount: payload.matched_amount != null
|
|
497
498
|
? toOneTimeAccrualAmount(payload.matched_amount, currencyCode)
|
|
498
499
|
: undefined,
|
|
@@ -223,6 +223,7 @@ export interface JEOneTimeAccrualCleared {
|
|
|
223
223
|
}
|
|
224
224
|
/** AI match suggestion on a posted on-bill-match accrual awaiting review. */
|
|
225
225
|
export interface JEOneTimeAccrualMatchSuggestion {
|
|
226
|
+
consumedLineIds?: string[];
|
|
226
227
|
matchedAmount?: Amount;
|
|
227
228
|
matchedLineId?: string;
|
|
228
229
|
matchedTransactionDate?: ZeniDate;
|
|
@@ -482,6 +482,7 @@ function toJEOneTimeAccrualMatchSuggestion(payload, currencyCode) {
|
|
|
482
482
|
matchedTransactionId: payload.matched_transaction_id ?? undefined,
|
|
483
483
|
matchedTransactionType: payload.matched_transaction_type ?? undefined,
|
|
484
484
|
matchedLineId: payload.matched_line_id ?? undefined,
|
|
485
|
+
consumedLineIds: payload.consumed_line_ids ?? undefined,
|
|
485
486
|
matchedAmount: payload.matched_amount != null
|
|
486
487
|
? toOneTimeAccrualAmount(payload.matched_amount, currencyCode)
|
|
487
488
|
: undefined,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.2.41-
|
|
3
|
+
"version": "5.2.41-beta4MM",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|