@zeniai/client-epic-state 5.0.82-betaAR1 → 5.0.82-betaAR2
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/esm/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +2 -1
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.d.ts +4 -2
- package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +2 -1
- package/package.json +1 -1
package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js
CHANGED
|
@@ -79,7 +79,8 @@ export const toApprovalChangableInfoPayload = (approverViewUpdateData) => {
|
|
|
79
79
|
payload.description = approverViewUpdateData.description;
|
|
80
80
|
}
|
|
81
81
|
if (approverViewUpdateData.separationOfDuties != null) {
|
|
82
|
-
payload.
|
|
82
|
+
payload.is_separation_of_duty_enabled =
|
|
83
|
+
approverViewUpdateData.separationOfDuties;
|
|
83
84
|
}
|
|
84
85
|
if (approverViewUpdateData.isFallback != null) {
|
|
85
86
|
payload.is_fallback = approverViewUpdateData.isFallback;
|
|
@@ -19,12 +19,14 @@ interface ApprovalUpdatableInfoPayload {
|
|
|
19
19
|
steps: ApproverViewStepPayload[];
|
|
20
20
|
description?: string;
|
|
21
21
|
is_fallback?: boolean;
|
|
22
|
+
is_separation_of_duty_enabled?: boolean;
|
|
22
23
|
/**
|
|
23
24
|
* Approval Rules 3.0 — rule-level wire fields. The backend accepts these
|
|
24
|
-
* as optional today; once 3.0 ships they become first-class.
|
|
25
|
+
* as optional today; once 3.0 ships they become first-class. The SoD
|
|
26
|
+
* field name matches the GET response shape (confirmed with backend),
|
|
27
|
+
* so the same identifier flows both directions on the wire.
|
|
25
28
|
*/
|
|
26
29
|
name?: string;
|
|
27
|
-
separation_of_duties?: boolean;
|
|
28
30
|
}
|
|
29
31
|
/**
|
|
30
32
|
* V1 / pre-3.0 wire shape. Kept so the rollback flag (gated by
|
|
@@ -82,7 +82,8 @@ const toApprovalChangableInfoPayload = (approverViewUpdateData) => {
|
|
|
82
82
|
payload.description = approverViewUpdateData.description;
|
|
83
83
|
}
|
|
84
84
|
if (approverViewUpdateData.separationOfDuties != null) {
|
|
85
|
-
payload.
|
|
85
|
+
payload.is_separation_of_duty_enabled =
|
|
86
|
+
approverViewUpdateData.separationOfDuties;
|
|
86
87
|
}
|
|
87
88
|
if (approverViewUpdateData.isFallback != null) {
|
|
88
89
|
payload.is_fallback = approverViewUpdateData.isFallback;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.0.82-
|
|
3
|
+
"version": "5.0.82-betaAR2",
|
|
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",
|