@dynamic-labs/sdk-api 0.72.0 → 0.73.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.72.0",
3
+ "version": "0.73.0",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -19,8 +19,6 @@ function WaasPolicyRuleApprovalRequirementsFromJSONTyped(json, ignoreDiscriminat
19
19
  'when': !runtime.exists(json, 'when') ? undefined : WaasPolicyRuleWhen.WaasPolicyRuleWhenFromJSON(json['when']),
20
20
  'eligibleApproverRoles': !runtime.exists(json, 'eligibleApproverRoles') ? undefined : json['eligibleApproverRoles'],
21
21
  'mandatoryApproverRoles': !runtime.exists(json, 'mandatoryApproverRoles') ? undefined : json['mandatoryApproverRoles'],
22
- 'eligibleApproverRole': !runtime.exists(json, 'eligibleApproverRole') ? undefined : json['eligibleApproverRole'],
23
- 'mandatoryApproverRole': !runtime.exists(json, 'mandatoryApproverRole') ? undefined : json['mandatoryApproverRole'],
24
22
  'requiredApprovals': json['requiredApprovals'],
25
23
  'completeWithinSeconds': !runtime.exists(json, 'completeWithinSeconds') ? undefined : json['completeWithinSeconds'],
26
24
  };
@@ -38,8 +36,6 @@ function WaasPolicyRuleApprovalRequirementsToJSON(value) {
38
36
  'when': WaasPolicyRuleWhen.WaasPolicyRuleWhenToJSON(value.when),
39
37
  'eligibleApproverRoles': value.eligibleApproverRoles,
40
38
  'mandatoryApproverRoles': value.mandatoryApproverRoles,
41
- 'eligibleApproverRole': value.eligibleApproverRole,
42
- 'mandatoryApproverRole': value.mandatoryApproverRole,
43
39
  'requiredApprovals': value.requiredApprovals,
44
40
  'completeWithinSeconds': value.completeWithinSeconds,
45
41
  };
@@ -46,18 +46,6 @@ export interface WaasPolicyRuleApprovalRequirements {
46
46
  * @memberof WaasPolicyRuleApprovalRequirements
47
47
  */
48
48
  mandatoryApproverRoles?: Array<string>;
49
- /**
50
- * Deprecated. Use eligibleApproverRoles. Do not send both.
51
- * @type {string}
52
- * @memberof WaasPolicyRuleApprovalRequirements
53
- */
54
- eligibleApproverRole?: string;
55
- /**
56
- * Deprecated. Use mandatoryApproverRoles. Do not send both.
57
- * @type {string}
58
- * @memberof WaasPolicyRuleApprovalRequirements
59
- */
60
- mandatoryApproverRole?: string;
61
49
  /**
62
50
  * Total approvals required. Never counts the Initiator.
63
51
  * @type {number}
@@ -15,8 +15,6 @@ function WaasPolicyRuleApprovalRequirementsFromJSONTyped(json, ignoreDiscriminat
15
15
  'when': !exists(json, 'when') ? undefined : WaasPolicyRuleWhenFromJSON(json['when']),
16
16
  'eligibleApproverRoles': !exists(json, 'eligibleApproverRoles') ? undefined : json['eligibleApproverRoles'],
17
17
  'mandatoryApproverRoles': !exists(json, 'mandatoryApproverRoles') ? undefined : json['mandatoryApproverRoles'],
18
- 'eligibleApproverRole': !exists(json, 'eligibleApproverRole') ? undefined : json['eligibleApproverRole'],
19
- 'mandatoryApproverRole': !exists(json, 'mandatoryApproverRole') ? undefined : json['mandatoryApproverRole'],
20
18
  'requiredApprovals': json['requiredApprovals'],
21
19
  'completeWithinSeconds': !exists(json, 'completeWithinSeconds') ? undefined : json['completeWithinSeconds'],
22
20
  };
@@ -34,8 +32,6 @@ function WaasPolicyRuleApprovalRequirementsToJSON(value) {
34
32
  'when': WaasPolicyRuleWhenToJSON(value.when),
35
33
  'eligibleApproverRoles': value.eligibleApproverRoles,
36
34
  'mandatoryApproverRoles': value.mandatoryApproverRoles,
37
- 'eligibleApproverRole': value.eligibleApproverRole,
38
- 'mandatoryApproverRole': value.mandatoryApproverRole,
39
35
  'requiredApprovals': value.requiredApprovals,
40
36
  'completeWithinSeconds': value.completeWithinSeconds,
41
37
  };