@zeniai/client-epic-state 5.2.35-beta7MM → 5.2.35-beta8MM
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.
|
@@ -184,6 +184,7 @@ export interface JEOneTimeAccrualPayload {
|
|
|
184
184
|
posting_date?: string | null;
|
|
185
185
|
profile_snapshot?: JEOneTimeAccrualProfileSnapshotPayload | null;
|
|
186
186
|
reversal_policy?: string | null;
|
|
187
|
+
reversal_posting_date?: string | null;
|
|
187
188
|
reversal_transaction_id?: ID | null;
|
|
188
189
|
reversal_trigger?: string | null;
|
|
189
190
|
reversed_by_user?: UserPayload | null;
|
|
@@ -535,6 +535,9 @@ function toJEOneTimeAccrual(payload) {
|
|
|
535
535
|
actualReversalPostDate: payload.actual_reversal_post_date != null
|
|
536
536
|
? (0, zeniDayJS_1.date)(payload.actual_reversal_post_date)
|
|
537
537
|
: undefined,
|
|
538
|
+
reversalPostingDate: payload.reversal_posting_date != null
|
|
539
|
+
? (0, zeniDayJS_1.date)(payload.reversal_posting_date)
|
|
540
|
+
: undefined,
|
|
538
541
|
jeDebitAccountId: payload.je_debit_account_id ?? undefined,
|
|
539
542
|
jeDebitAccountName: payload.je_debit_account_name ?? undefined,
|
|
540
543
|
jeDebitAccountingClassId: payload.je_debit_accounting_class_id ?? undefined,
|
|
@@ -266,6 +266,7 @@ export interface JEOneTimeAccrualState {
|
|
|
266
266
|
matchSuggestion?: JEOneTimeAccrualMatchSuggestion;
|
|
267
267
|
postingDate?: ZeniDate;
|
|
268
268
|
profileSnapshot?: JEOneTimeAccrualProfileSnapshot;
|
|
269
|
+
reversalPostingDate?: ZeniDate;
|
|
269
270
|
reversalTransactionId?: ID;
|
|
270
271
|
reversalTrigger?: OneTimeAccrualReversalTriggerType;
|
|
271
272
|
reversedBy?: JEOneTimeAccrualCreator;
|
|
@@ -524,6 +524,9 @@ export function toJEOneTimeAccrual(payload) {
|
|
|
524
524
|
actualReversalPostDate: payload.actual_reversal_post_date != null
|
|
525
525
|
? date(payload.actual_reversal_post_date)
|
|
526
526
|
: undefined,
|
|
527
|
+
reversalPostingDate: payload.reversal_posting_date != null
|
|
528
|
+
? date(payload.reversal_posting_date)
|
|
529
|
+
: undefined,
|
|
527
530
|
jeDebitAccountId: payload.je_debit_account_id ?? undefined,
|
|
528
531
|
jeDebitAccountName: payload.je_debit_account_name ?? undefined,
|
|
529
532
|
jeDebitAccountingClassId: payload.je_debit_accounting_class_id ?? undefined,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.2.35-
|
|
3
|
+
"version": "5.2.35-beta8MM",
|
|
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",
|