@dynamic-labs/sdk-api-core 0.0.1109 → 0.0.1111

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.
Files changed (45) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +9 -8
  3. package/src/apis/SDKApi.cjs.map +1 -1
  4. package/src/apis/SDKApi.d.ts +7 -7
  5. package/src/apis/SDKApi.js +9 -8
  6. package/src/apis/SDKApi.js.map +1 -1
  7. package/src/apis/WaasApi.cjs +1 -0
  8. package/src/apis/WaasApi.cjs.map +1 -1
  9. package/src/apis/WaasApi.js +1 -0
  10. package/src/apis/WaasApi.js.map +1 -1
  11. package/src/index.cjs +12 -0
  12. package/src/index.cjs.map +1 -1
  13. package/src/index.js +2 -0
  14. package/src/index.js.map +1 -1
  15. package/src/models/WaasPolicyLayerResponseLayerContent.cjs +3 -3
  16. package/src/models/WaasPolicyLayerResponseLayerContent.cjs.map +1 -1
  17. package/src/models/WaasPolicyLayerResponseLayerContent.d.ts +3 -3
  18. package/src/models/WaasPolicyLayerResponseLayerContent.js +3 -3
  19. package/src/models/WaasPolicyLayerResponseLayerContent.js.map +1 -1
  20. package/src/models/WaasPolicyLayerResponseRule.cjs +66 -0
  21. package/src/models/WaasPolicyLayerResponseRule.cjs.map +1 -0
  22. package/src/models/WaasPolicyLayerResponseRule.d.ts +116 -0
  23. package/src/models/WaasPolicyLayerResponseRule.js +60 -0
  24. package/src/models/WaasPolicyLayerResponseRule.js.map +1 -0
  25. package/src/models/WaasPolicyLayerRuleOperation.cjs +47 -0
  26. package/src/models/WaasPolicyLayerRuleOperation.cjs.map +1 -0
  27. package/src/models/WaasPolicyLayerRuleOperation.d.ts +48 -0
  28. package/src/models/WaasPolicyLayerRuleOperation.js +41 -0
  29. package/src/models/WaasPolicyLayerRuleOperation.js.map +1 -0
  30. package/src/models/WaasPolicyLayerUpdateRequest.cjs +4 -0
  31. package/src/models/WaasPolicyLayerUpdateRequest.cjs.map +1 -1
  32. package/src/models/WaasPolicyLayerUpdateRequest.d.ts +10 -2
  33. package/src/models/WaasPolicyLayerUpdateRequest.js +4 -0
  34. package/src/models/WaasPolicyLayerUpdateRequest.js.map +1 -1
  35. package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs +6 -2
  36. package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs.map +1 -1
  37. package/src/models/WaasSignerPolicyLayerUpdateRequest.d.ts +17 -4
  38. package/src/models/WaasSignerPolicyLayerUpdateRequest.js +6 -2
  39. package/src/models/WaasSignerPolicyLayerUpdateRequest.js.map +1 -1
  40. package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.cjs +2 -2
  41. package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.cjs.map +1 -1
  42. package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.d.ts +7 -2
  43. package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.js +2 -2
  44. package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.js.map +1 -1
  45. package/src/models/index.d.ts +2 -0
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var WaasPolicyLayerRuleOperation = require('./WaasPolicyLayerRuleOperation.cjs');
6
7
  var WaasPolicyRule = require('./WaasPolicyRule.cjs');
7
8
 
8
9
  /* tslint:disable */
@@ -14,6 +15,7 @@ exports.WaasPolicyLayerUpdateRequestOpEnum = void 0;
14
15
  (function (WaasPolicyLayerUpdateRequestOpEnum) {
15
16
  WaasPolicyLayerUpdateRequestOpEnum["Upsert"] = "upsert";
16
17
  WaasPolicyLayerUpdateRequestOpEnum["Remove"] = "remove";
18
+ WaasPolicyLayerUpdateRequestOpEnum["Batch"] = "batch";
17
19
  })(exports.WaasPolicyLayerUpdateRequestOpEnum || (exports.WaasPolicyLayerUpdateRequestOpEnum = {}));
18
20
  function WaasPolicyLayerUpdateRequestFromJSON(json) {
19
21
  return WaasPolicyLayerUpdateRequestFromJSONTyped(json);
@@ -26,6 +28,7 @@ function WaasPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
26
28
  'op': json['op'],
27
29
  'rule': !runtime.exists(json, 'rule') ? undefined : WaasPolicyRule.WaasPolicyRuleFromJSON(json['rule']),
28
30
  'ruleId': !runtime.exists(json, 'ruleId') ? undefined : json['ruleId'],
31
+ 'operations': !runtime.exists(json, 'operations') ? undefined : (json['operations'].map(WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationFromJSON)),
29
32
  };
30
33
  }
31
34
  function WaasPolicyLayerUpdateRequestToJSON(value) {
@@ -39,6 +42,7 @@ function WaasPolicyLayerUpdateRequestToJSON(value) {
39
42
  'op': value.op,
40
43
  'rule': WaasPolicyRule.WaasPolicyRuleToJSON(value.rule),
41
44
  'ruleId': value.ruleId,
45
+ 'operations': value.operations === undefined ? undefined : (value.operations.map(WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationToJSON)),
42
46
  };
43
47
  }
44
48
 
@@ -1 +1 @@
1
- {"version":3,"file":"WaasPolicyLayerUpdateRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyLayerUpdateRequest.ts"],"sourcesContent":null,"names":["WaasPolicyLayerUpdateRequestOpEnum","exists","WaasPolicyRuleFromJSON","WaasPolicyRuleToJSON"],"mappings":";;;;;;;AAAA;AAgDA;;;AAGE;AACUA,oDAGX;AAHD,CAAA,UAAY,kCAAkC,EAAA;AAC1C,IAAA,kCAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,kCAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACrB,CAAC,EAHWA,0CAAkC,KAAlCA,0CAAkC,GAG7C,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,oCAAoC,CAAC,IAAS,EAAA;AAC1D,IAAA,OAAO,yCAAyC,CAAC,IAAW,CAAC,CAAC;AAClE,CAAC;AAEe,SAAA,yCAAyC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC7F,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,CAACC,cAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAGC,qCAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAChF,QAAA,QAAQ,EAAE,CAACD,cAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC;KACjE,CAAC;AACN,CAAC;AAEK,SAAU,kCAAkC,CAAC,KAA2C,EAAA;AAC1F,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,EAAE;AACd,QAAA,MAAM,EAAEE,mCAAoB,CAAC,KAAK,CAAC,IAAI,CAAC;QACxC,QAAQ,EAAE,KAAK,CAAC,MAAM;KACzB,CAAC;AACN;;;;;;"}
1
+ {"version":3,"file":"WaasPolicyLayerUpdateRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyLayerUpdateRequest.ts"],"sourcesContent":null,"names":["WaasPolicyLayerUpdateRequestOpEnum","exists","WaasPolicyRuleFromJSON","WaasPolicyLayerRuleOperationFromJSON","WaasPolicyRuleToJSON","WaasPolicyLayerRuleOperationToJSON"],"mappings":";;;;;;;;AAAA;AA4DA;;;AAGE;AACUA,oDAIX;AAJD,CAAA,UAAY,kCAAkC,EAAA;AAC1C,IAAA,kCAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,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AK,CAAC,MAAM;QACtB,YAAY,EAAE,KAAK,CAAC,UAAU,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,UAAyB,CAAC,GAAG,CAACC,+DAAkC,CAAC,CAAC;KACxI,CAAC;AACN;;;;;;"}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { WaasPolicyLayerRuleOperation } from './WaasPolicyLayerRuleOperation';
12
13
  import { WaasPolicyRule } from './WaasPolicyRule';
13
14
  /**
14
15
  *
@@ -17,7 +18,7 @@ import { WaasPolicyRule } from './WaasPolicyRule';
17
18
  */
18
19
  export interface WaasPolicyLayerUpdateRequest {
19
20
  /**
20
- * The per-Rule operation to apply to the wallet-Layer
21
+ * The per-Rule operation to apply to the wallet-Layer, or batch to apply multiple operations atomically in one enclave cycle
21
22
  * @type {string}
22
23
  * @memberof WaasPolicyLayerUpdateRequest
23
24
  */
@@ -34,6 +35,12 @@ export interface WaasPolicyLayerUpdateRequest {
34
35
  * @memberof WaasPolicyLayerUpdateRequest
35
36
  */
36
37
  ruleId?: string;
38
+ /**
39
+ * Only used when op is batch — applied atomically in one enclave cycle
40
+ * @type {Array<WaasPolicyLayerRuleOperation>}
41
+ * @memberof WaasPolicyLayerUpdateRequest
42
+ */
43
+ operations?: Array<WaasPolicyLayerRuleOperation>;
37
44
  }
38
45
  /**
39
46
  * @export
@@ -41,7 +48,8 @@ export interface WaasPolicyLayerUpdateRequest {
41
48
  */
42
49
  export declare enum WaasPolicyLayerUpdateRequestOpEnum {
43
50
  Upsert = "upsert",
44
- Remove = "remove"
51
+ Remove = "remove",
52
+ Batch = "batch"
45
53
  }
46
54
  export declare function WaasPolicyLayerUpdateRequestFromJSON(json: any): WaasPolicyLayerUpdateRequest;
47
55
  export declare function WaasPolicyLayerUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyLayerUpdateRequest;
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { WaasPolicyLayerRuleOperationFromJSON, WaasPolicyLayerRuleOperationToJSON } from './WaasPolicyLayerRuleOperation.js';
2
3
  import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
3
4
 
4
5
  /* tslint:disable */
@@ -10,6 +11,7 @@ var WaasPolicyLayerUpdateRequestOpEnum;
10
11
  (function (WaasPolicyLayerUpdateRequestOpEnum) {
11
12
  WaasPolicyLayerUpdateRequestOpEnum["Upsert"] = "upsert";
12
13
  WaasPolicyLayerUpdateRequestOpEnum["Remove"] = "remove";
14
+ WaasPolicyLayerUpdateRequestOpEnum["Batch"] = "batch";
13
15
  })(WaasPolicyLayerUpdateRequestOpEnum || (WaasPolicyLayerUpdateRequestOpEnum = {}));
14
16
  function WaasPolicyLayerUpdateRequestFromJSON(json) {
15
17
  return WaasPolicyLayerUpdateRequestFromJSONTyped(json);
@@ -22,6 +24,7 @@ function WaasPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
22
24
  'op': json['op'],
23
25
  'rule': !exists(json, 'rule') ? undefined : WaasPolicyRuleFromJSON(json['rule']),
24
26
  'ruleId': !exists(json, 'ruleId') ? undefined : json['ruleId'],
27
+ 'operations': !exists(json, 'operations') ? undefined : (json['operations'].map(WaasPolicyLayerRuleOperationFromJSON)),
25
28
  };
26
29
  }
27
30
  function WaasPolicyLayerUpdateRequestToJSON(value) {
@@ -35,6 +38,7 @@ function WaasPolicyLayerUpdateRequestToJSON(value) {
35
38
  'op': value.op,
36
39
  'rule': WaasPolicyRuleToJSON(value.rule),
37
40
  'ruleId': value.ruleId,
41
+ 'operations': value.operations === undefined ? undefined : (value.operations.map(WaasPolicyLayerRuleOperationToJSON)),
38
42
  };
39
43
  }
40
44
 
@@ -1 +1 @@
1
- {"version":3,"file":"WaasPolicyLayerUpdateRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyLayerUpdateRequest.ts"],"sourcesContent":null,"names":[],"mappings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AA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,EAAE;AACd,QAAA,MAAM,EAAE,oBAAoB,CAAC,KAAK,CAAC,IAAI,CAAC;QACxC,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,YAAY,EAAE,KAAK,CAAC,UAAU,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,UAAyB,CAAC,GAAG,CAAC,kCAAkC,CAAC,CAAC;KACxI,CAAC;AACN;;;;"}
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var WaasPolicyLayerRuleOperation = require('./WaasPolicyLayerRuleOperation.cjs');
6
7
  var WaasPolicyRule = require('./WaasPolicyRule.cjs');
7
8
 
8
9
  /* tslint:disable */
@@ -14,6 +15,7 @@ exports.WaasSignerPolicyLayerUpdateRequestOpEnum = void 0;
14
15
  (function (WaasSignerPolicyLayerUpdateRequestOpEnum) {
15
16
  WaasSignerPolicyLayerUpdateRequestOpEnum["Upsert"] = "upsert";
16
17
  WaasSignerPolicyLayerUpdateRequestOpEnum["Remove"] = "remove";
18
+ WaasSignerPolicyLayerUpdateRequestOpEnum["Batch"] = "batch";
17
19
  })(exports.WaasSignerPolicyLayerUpdateRequestOpEnum || (exports.WaasSignerPolicyLayerUpdateRequestOpEnum = {}));
18
20
  function WaasSignerPolicyLayerUpdateRequestFromJSON(json) {
19
21
  return WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json);
@@ -26,7 +28,8 @@ function WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminat
26
28
  'op': json['op'],
27
29
  'rule': !runtime.exists(json, 'rule') ? undefined : WaasPolicyRule.WaasPolicyRuleFromJSON(json['rule']),
28
30
  'ruleId': !runtime.exists(json, 'ruleId') ? undefined : json['ruleId'],
29
- 'signerId': !runtime.exists(json, 'signerId') ? undefined : json['signerId'],
31
+ 'operations': !runtime.exists(json, 'operations') ? undefined : (json['operations'].map(WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationFromJSON)),
32
+ 'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
30
33
  };
31
34
  }
32
35
  function WaasSignerPolicyLayerUpdateRequestToJSON(value) {
@@ -40,7 +43,8 @@ function WaasSignerPolicyLayerUpdateRequestToJSON(value) {
40
43
  'op': value.op,
41
44
  'rule': WaasPolicyRule.WaasPolicyRuleToJSON(value.rule),
42
45
  'ruleId': value.ruleId,
43
- 'signerId': value.signerId,
46
+ 'operations': value.operations === undefined ? undefined : (value.operations.map(WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationToJSON)),
47
+ 'shareSetId': value.shareSetId,
44
48
  };
45
49
  }
46
50
 
@@ -1 +1 @@
1
- {"version":3,"file":"WaasSignerPolicyLayerUpdateRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasSignerPolicyLayerUpdateRequest.ts"],"sourcesContent":null,"names":["WaasSignerPolicyLayerUpdateRequestOpEnum","exists","WaasPolicyRuleFromJSON","WaasPolicyRuleToJSON"],"mappings":";;;;;;;AAAA;AAkEA;;;AAGE;AACUA,0DAGX;AAHD,CAAA,UAAY,wCAAwC,EAAA;AAChD,IAAA,wCAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,wCAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACrB,CAAC,EAHWA,gDAAwC,KAAxCA,gDAAwC,GAGnD,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,0CAA0C,CAAC,IAAS,EAAA;AAChE,IAAA,OAAO,+CAA+C,CAAC,IAAW,CAAC,CAAC;AACxE,CAAC;AAEe,SAAA,+CAA+C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACnG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,CAACC,cAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAGC,qCAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAChF,QAAA,QAAQ,EAAE,CAACD,cAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC9D,QAAA,UAAU,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;KACvE,CAAC;AACN,CAAC;AAEK,SAAU,wCAAwC,CAAC,KAAiD,EAAA;AACtG,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,EAAE;AACd,QAAA,MAAM,EAAEE,mCAAoB,CAAC,KAAK,CAAC,IAAI,CAAC;QACxC,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN;;;;;;"}
1
+ {"version":3,"file":"WaasSignerPolicyLayerUpdateRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasSignerPolicyLayerUpdateRequest.ts"],"sourcesContent":null,"names":["WaasSignerPolicyLayerUpdateRequestOpEnum","exists","WaasPolicyRuleFromJSON","WaasPolicyLayerRuleOperationFromJSON","WaasPolicyRuleToJSON","WaasPolicyLayerRuleOperationToJSON"],"mappings":";;;;;;;;AAAA;AAmFA;;;AAGE;AACUA,0DAIX;AAJD,CAAA,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AI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,EAAE;AACd,QAAA,MAAM,EAAEG,mCAAoB,CAAC,KAAK,CAAC,IAAI,CAAC;QACxC,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,YAAY,EAAE,KAAK,CAAC,UAAU,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,UAAyB,CAAC,GAAG,CAACC,+DAAkC,CAAC,CAAC;QACrI,YAAY,EAAE,KAAK,CAAC,UAAU;KACjC,CAAC;AACN;;;;;;"}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { WaasPolicyLayerRuleOperation } from './WaasPolicyLayerRuleOperation';
12
13
  import { WaasPolicyRule } from './WaasPolicyRule';
13
14
  /**
14
15
  *
@@ -17,7 +18,7 @@ import { WaasPolicyRule } from './WaasPolicyRule';
17
18
  */
18
19
  export interface WaasSignerPolicyLayerUpdateRequest {
19
20
  /**
20
- * The per-Rule operation to apply to the wallet-Layer
21
+ * The per-Rule operation to apply to the wallet-Layer, or batch to apply multiple operations atomically in one enclave cycle
21
22
  * @type {string}
22
23
  * @memberof WaasSignerPolicyLayerUpdateRequest
23
24
  */
@@ -35,11 +36,22 @@ export interface WaasSignerPolicyLayerUpdateRequest {
35
36
  */
36
37
  ruleId?: string;
37
38
  /**
38
- *
39
+ * Only used when op is batch — applied atomically in one enclave cycle
40
+ * @type {Array<WaasPolicyLayerRuleOperation>}
41
+ * @memberof WaasSignerPolicyLayerUpdateRequest
42
+ */
43
+ operations?: Array<WaasPolicyLayerRuleOperation>;
44
+ /**
45
+ * Targets a share set other than the caller's own, as returned in
46
+ * the wallet's shareSetId or otherShareSets. Omit to target the
47
+ * caller's own active share set. A share set's id changes when the
48
+ * wallet's shares are refreshed or reshared; Rules are unaffected by
49
+ * that rotation, so re-read the wallet's share sets to get the
50
+ * current id.
39
51
  * @type {string}
40
52
  * @memberof WaasSignerPolicyLayerUpdateRequest
41
53
  */
42
- signerId?: string | null;
54
+ shareSetId?: string | null;
43
55
  }
44
56
  /**
45
57
  * @export
@@ -47,7 +59,8 @@ export interface WaasSignerPolicyLayerUpdateRequest {
47
59
  */
48
60
  export declare enum WaasSignerPolicyLayerUpdateRequestOpEnum {
49
61
  Upsert = "upsert",
50
- Remove = "remove"
62
+ Remove = "remove",
63
+ Batch = "batch"
51
64
  }
52
65
  export declare function WaasSignerPolicyLayerUpdateRequestFromJSON(json: any): WaasSignerPolicyLayerUpdateRequest;
53
66
  export declare function WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasSignerPolicyLayerUpdateRequest;
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { WaasPolicyLayerRuleOperationFromJSON, WaasPolicyLayerRuleOperationToJSON } from './WaasPolicyLayerRuleOperation.js';
2
3
  import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
3
4
 
4
5
  /* tslint:disable */
@@ -10,6 +11,7 @@ var WaasSignerPolicyLayerUpdateRequestOpEnum;
10
11
  (function (WaasSignerPolicyLayerUpdateRequestOpEnum) {
11
12
  WaasSignerPolicyLayerUpdateRequestOpEnum["Upsert"] = "upsert";
12
13
  WaasSignerPolicyLayerUpdateRequestOpEnum["Remove"] = "remove";
14
+ WaasSignerPolicyLayerUpdateRequestOpEnum["Batch"] = "batch";
13
15
  })(WaasSignerPolicyLayerUpdateRequestOpEnum || (WaasSignerPolicyLayerUpdateRequestOpEnum = {}));
14
16
  function WaasSignerPolicyLayerUpdateRequestFromJSON(json) {
15
17
  return WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json);
@@ -22,7 +24,8 @@ function WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminat
22
24
  'op': json['op'],
23
25
  'rule': !exists(json, 'rule') ? undefined : WaasPolicyRuleFromJSON(json['rule']),
24
26
  'ruleId': !exists(json, 'ruleId') ? undefined : json['ruleId'],
25
- 'signerId': !exists(json, 'signerId') ? undefined : json['signerId'],
27
+ 'operations': !exists(json, 'operations') ? undefined : (json['operations'].map(WaasPolicyLayerRuleOperationFromJSON)),
28
+ 'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
26
29
  };
27
30
  }
28
31
  function WaasSignerPolicyLayerUpdateRequestToJSON(value) {
@@ -36,7 +39,8 @@ function WaasSignerPolicyLayerUpdateRequestToJSON(value) {
36
39
  'op': value.op,
37
40
  'rule': WaasPolicyRuleToJSON(value.rule),
38
41
  'ruleId': value.ruleId,
39
- 'signerId': value.signerId,
42
+ 'operations': value.operations === undefined ? undefined : (value.operations.map(WaasPolicyLayerRuleOperationToJSON)),
43
+ 'shareSetId': value.shareSetId,
40
44
  };
41
45
  }
42
46
 
@@ -1 +1 @@
1
- {"version":3,"file":"WaasSignerPolicyLayerUpdateRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasSignerPolicyLayerUpdateRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AAkEA;;;AAGE;IACU,yCAGX;AAHD,CAAA,UAAY,wCAAwC,EAAA;AAChD,IAAA,wCAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,wCAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACrB,CAAC,EAHW,wCAAwC,KAAxC,wCAAwC,GAGnD,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,0CAA0C,CAAC,IAAS,EAAA;AAChE,IAAA,OAAO,+CAA+C,CAAC,IAAW,CAAC,CAAC;AACxE,CAAC;AAEe,SAAA,+CAA+C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACnG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAChF,QAAA,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC9D,QAAA,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;KACvE,CAAC;AACN,CAAC;AAEK,SAAU,wCAAwC,CAAC,KAAiD,EAAA;AACtG,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,EAAE;AACd,QAAA,MAAM,EAAE,oBAAoB,CAAC,KAAK,CAAC,IAAI,CAAC;QACxC,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN;;;;"}
1
+ {"version":3,"file":"WaasSignerPolicyLayerUpdateRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasSignerPolicyLayerUpdateRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;;;AAAA;AAmFA;;;AAGE;IACU,yCAIX;AAJD,CAAA,UAAY,wCAAwC,EAAA;AAChD,IAAA,wCAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,wCAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,wCAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACnB,CAAC,EAJW,wCAAwC,KAAxC,wCAAwC,GA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,UAAU,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,UAAyB,CAAC,GAAG,CAAC,kCAAkC,CAAC,CAAC;QACrI,YAAY,EAAE,KAAK,CAAC,UAAU;KACjC,CAAC;AACN;;;;"}
@@ -13,7 +13,7 @@ function WaasSignerPolicyLayerUpdateRequestAllOfFromJSONTyped(json, ignoreDiscri
13
13
  return json;
14
14
  }
15
15
  return {
16
- 'signerId': !runtime.exists(json, 'signerId') ? undefined : json['signerId'],
16
+ 'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
17
17
  };
18
18
  }
19
19
  function WaasSignerPolicyLayerUpdateRequestAllOfToJSON(value) {
@@ -24,7 +24,7 @@ function WaasSignerPolicyLayerUpdateRequestAllOfToJSON(value) {
24
24
  return null;
25
25
  }
26
26
  return {
27
- 'signerId': value.signerId,
27
+ 'shareSetId': value.shareSetId,
28
28
  };
29
29
  }
30
30
 
@@ -1 +1 @@
1
- {"version":3,"file":"WaasSignerPolicyLayerUpdateRequestAllOf.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.ts"],"sourcesContent":null,"names":["exists"],"mappings":";;;;;;AAAA;AA6BM,SAAU,+CAA+C,CAAC,IAAS,EAAA;AACrE,IAAA,OAAO,oDAAoD,CAAC,IAAW,CAAC,CAAC;AAC7E,CAAC;AAEe,SAAA,oDAAoD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACxG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,UAAU,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;KACvE,CAAC;AACN,CAAC;AAEK,SAAU,6CAA6C,CAAC,KAAsD,EAAA;AAChH,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN;;;;;;"}
1
+ {"version":3,"file":"WaasSignerPolicyLayerUpdateRequestAllOf.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.ts"],"sourcesContent":null,"names":["exists"],"mappings":";;;;;;AAAA;AAkCM,SAAU,+CAA+C,CAAC,IAAS,EAAA;AACrE,IAAA,OAAO,oDAAoD,CAAC,IAAW,CAAC,CAAC;AAC7E,CAAC;AAEe,SAAA,oDAAoD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACxG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,YAAY,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;KAC7E,CAAC;AACN,CAAC;AAEK,SAAU,6CAA6C,CAAC,KAAsD,EAAA;AAChH,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,EAAE,KAAK,CAAC,UAAU;KACjC,CAAC;AACN;;;;;;"}
@@ -16,11 +16,16 @@
16
16
  */
17
17
  export interface WaasSignerPolicyLayerUpdateRequestAllOf {
18
18
  /**
19
- *
19
+ * Targets a share set other than the caller's own, as returned in
20
+ * the wallet's shareSetId or otherShareSets. Omit to target the
21
+ * caller's own active share set. A share set's id changes when the
22
+ * wallet's shares are refreshed or reshared; Rules are unaffected by
23
+ * that rotation, so re-read the wallet's share sets to get the
24
+ * current id.
20
25
  * @type {string}
21
26
  * @memberof WaasSignerPolicyLayerUpdateRequestAllOf
22
27
  */
23
- signerId?: string | null;
28
+ shareSetId?: string | null;
24
29
  }
25
30
  export declare function WaasSignerPolicyLayerUpdateRequestAllOfFromJSON(json: any): WaasSignerPolicyLayerUpdateRequestAllOf;
26
31
  export declare function WaasSignerPolicyLayerUpdateRequestAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasSignerPolicyLayerUpdateRequestAllOf;
@@ -9,7 +9,7 @@ function WaasSignerPolicyLayerUpdateRequestAllOfFromJSONTyped(json, ignoreDiscri
9
9
  return json;
10
10
  }
11
11
  return {
12
- 'signerId': !exists(json, 'signerId') ? undefined : json['signerId'],
12
+ 'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
13
13
  };
14
14
  }
15
15
  function WaasSignerPolicyLayerUpdateRequestAllOfToJSON(value) {
@@ -20,7 +20,7 @@ function WaasSignerPolicyLayerUpdateRequestAllOfToJSON(value) {
20
20
  return null;
21
21
  }
22
22
  return {
23
- 'signerId': value.signerId,
23
+ 'shareSetId': value.shareSetId,
24
24
  };
25
25
  }
26
26
 
@@ -1 +1 @@
1
- {"version":3,"file":"WaasSignerPolicyLayerUpdateRequestAllOf.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AA6BM,SAAU,+CAA+C,CAAC,IAAS,EAAA;AACrE,IAAA,OAAO,oDAAoD,CAAC,IAAW,CAAC,CAAC;AAC7E,CAAC;AAEe,SAAA,oDAAoD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACxG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;KACvE,CAAC;AACN,CAAC;AAEK,SAAU,6CAA6C,CAAC,KAAsD,EAAA;AAChH,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN;;;;"}
1
+ {"version":3,"file":"WaasSignerPolicyLayerUpdateRequestAllOf.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAkCM,SAAU,+CAA+C,CAAC,IAAS,EAAA;AACrE,IAAA,OAAO,oDAAoD,CAAC,IAAW,CAAC,CAAC;AAC7E,CAAC;AAEe,SAAA,oDAAoD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACxG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,YAAY,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;KAC7E,CAAC;AACN,CAAC;AAEK,SAAU,6CAA6C,CAAC,KAAsD,EAAA;AAChH,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,EAAE,KAAK,CAAC,UAAU;KACjC,CAAC;AACN;;;;"}
@@ -502,6 +502,8 @@ export * from './WaasPolicyArgumentConstraint';
502
502
  export * from './WaasPolicyConstraintCondition';
503
503
  export * from './WaasPolicyLayerResponse';
504
504
  export * from './WaasPolicyLayerResponseLayerContent';
505
+ export * from './WaasPolicyLayerResponseRule';
506
+ export * from './WaasPolicyLayerRuleOperation';
505
507
  export * from './WaasPolicyLayerUpdateRequest';
506
508
  export * from './WaasPolicyRule';
507
509
  export * from './WaasPolicyRuleOperationRestrictions';