@dynamic-labs/sdk-api 0.0.1109 → 0.0.1110

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.0.1109",
3
+ "version": "0.0.1110",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -5423,7 +5423,7 @@ class SDKApi extends runtime.BaseAPI {
5423
5423
  return await response.value();
5424
5424
  }
5425
5425
  /**
5426
- * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given signerId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set\'s signerId.
5426
+ * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given shareSetId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set.
5427
5427
  * Get a signer-Layer\'s Rules
5428
5428
  */
5429
5429
  async getWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -5434,8 +5434,8 @@ class SDKApi extends runtime.BaseAPI {
5434
5434
  throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasSignerSelfPolicyLayer.');
5435
5435
  }
5436
5436
  const queryParameters = {};
5437
- if (requestParameters.signerId !== undefined) {
5438
- queryParameters['signerId'] = requestParameters.signerId;
5437
+ if (requestParameters.shareSetId !== undefined) {
5438
+ queryParameters['shareSetId'] = requestParameters.shareSetId;
5439
5439
  }
5440
5440
  const headerParameters = {};
5441
5441
  if (this.configuration && this.configuration.accessToken) {
@@ -5454,7 +5454,7 @@ class SDKApi extends runtime.BaseAPI {
5454
5454
  return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
5455
5455
  }
5456
5456
  /**
5457
- * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given signerId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set\'s signerId.
5457
+ * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given shareSetId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set.
5458
5458
  * Get a signer-Layer\'s Rules
5459
5459
  */
5460
5460
  async getWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
@@ -10735,7 +10735,7 @@ class SDKApi extends runtime.BaseAPI {
10735
10735
  await this.updateUserMfaDeviceRaw(requestParameters, initOverrides);
10736
10736
  }
10737
10737
  /**
10738
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given signerId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set\'s signerId. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
10738
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
10739
10739
  * Create, update, or remove a Rule on a signer-Layer
10740
10740
  */
10741
10741
  async updateWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -10768,7 +10768,7 @@ class SDKApi extends runtime.BaseAPI {
10768
10768
  return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
10769
10769
  }
10770
10770
  /**
10771
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given signerId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set\'s signerId. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
10771
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
10772
10772
  * Create, update, or remove a Rule on a signer-Layer
10773
10773
  */
10774
10774
  async updateWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
@@ -667,7 +667,7 @@ export interface GetUserPasskeysRequest {
667
667
  export interface GetWaasSignerSelfPolicyLayerRequest {
668
668
  environmentId: string;
669
669
  walletId: string;
670
- signerId?: string;
670
+ shareSetId?: string;
671
671
  }
672
672
  export interface GetWaasWalletSelfPolicyLayerRequest {
673
673
  environmentId: string;
@@ -2989,12 +2989,12 @@ export declare class SDKApi extends runtime.BaseAPI {
2989
2989
  */
2990
2990
  getUserPasskeys(requestParameters: GetUserPasskeysRequest, initOverrides?: RequestInit): Promise<GetUserPasskeysResponse>;
2991
2991
  /**
2992
- * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given signerId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set\'s signerId.
2992
+ * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given shareSetId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set.
2993
2993
  * Get a signer-Layer\'s Rules
2994
2994
  */
2995
2995
  getWaasSignerSelfPolicyLayerRaw(requestParameters: GetWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
2996
2996
  /**
2997
- * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given signerId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set\'s signerId.
2997
+ * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given shareSetId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set.
2998
2998
  * Get a signer-Layer\'s Rules
2999
2999
  */
3000
3000
  getWaasSignerSelfPolicyLayer(requestParameters: GetWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
@@ -4567,12 +4567,12 @@ export declare class SDKApi extends runtime.BaseAPI {
4567
4567
  */
4568
4568
  updateUserMfaDevice(requestParameters: UpdateUserMfaDeviceRequest, initOverrides?: RequestInit): Promise<void>;
4569
4569
  /**
4570
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given signerId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set\'s signerId. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
4570
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
4571
4571
  * Create, update, or remove a Rule on a signer-Layer
4572
4572
  */
4573
4573
  updateWaasSignerSelfPolicyLayerRaw(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
4574
4574
  /**
4575
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given signerId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set\'s signerId. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
4575
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
4576
4576
  * Create, update, or remove a Rule on a signer-Layer
4577
4577
  */
4578
4578
  updateWaasSignerSelfPolicyLayer(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
@@ -5419,7 +5419,7 @@ class SDKApi extends BaseAPI {
5419
5419
  return await response.value();
5420
5420
  }
5421
5421
  /**
5422
- * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given signerId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set\'s signerId.
5422
+ * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given shareSetId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set.
5423
5423
  * Get a signer-Layer\'s Rules
5424
5424
  */
5425
5425
  async getWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -5430,8 +5430,8 @@ class SDKApi extends BaseAPI {
5430
5430
  throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasSignerSelfPolicyLayer.');
5431
5431
  }
5432
5432
  const queryParameters = {};
5433
- if (requestParameters.signerId !== undefined) {
5434
- queryParameters['signerId'] = requestParameters.signerId;
5433
+ if (requestParameters.shareSetId !== undefined) {
5434
+ queryParameters['shareSetId'] = requestParameters.shareSetId;
5435
5435
  }
5436
5436
  const headerParameters = {};
5437
5437
  if (this.configuration && this.configuration.accessToken) {
@@ -5450,7 +5450,7 @@ class SDKApi extends BaseAPI {
5450
5450
  return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
5451
5451
  }
5452
5452
  /**
5453
- * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given signerId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set\'s signerId.
5453
+ * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given shareSetId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set.
5454
5454
  * Get a signer-Layer\'s Rules
5455
5455
  */
5456
5456
  async getWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
@@ -10731,7 +10731,7 @@ class SDKApi extends BaseAPI {
10731
10731
  await this.updateUserMfaDeviceRaw(requestParameters, initOverrides);
10732
10732
  }
10733
10733
  /**
10734
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given signerId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set\'s signerId. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
10734
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
10735
10735
  * Create, update, or remove a Rule on a signer-Layer
10736
10736
  */
10737
10737
  async updateWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -10764,7 +10764,7 @@ class SDKApi extends BaseAPI {
10764
10764
  return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
10765
10765
  }
10766
10766
  /**
10767
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given signerId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set\'s signerId. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
10767
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
10768
10768
  * Create, update, or remove a Rule on a signer-Layer
10769
10769
  */
10770
10770
  async updateWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
@@ -26,7 +26,7 @@ function WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminat
26
26
  'op': json['op'],
27
27
  'rule': !runtime.exists(json, 'rule') ? undefined : WaasPolicyRule.WaasPolicyRuleFromJSON(json['rule']),
28
28
  'ruleId': !runtime.exists(json, 'ruleId') ? undefined : json['ruleId'],
29
- 'signerId': !runtime.exists(json, 'signerId') ? undefined : json['signerId'],
29
+ 'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
30
30
  };
31
31
  }
32
32
  function WaasSignerPolicyLayerUpdateRequestToJSON(value) {
@@ -40,7 +40,7 @@ function WaasSignerPolicyLayerUpdateRequestToJSON(value) {
40
40
  'op': value.op,
41
41
  'rule': WaasPolicyRule.WaasPolicyRuleToJSON(value.rule),
42
42
  'ruleId': value.ruleId,
43
- 'signerId': value.signerId,
43
+ 'shareSetId': value.shareSetId,
44
44
  };
45
45
  }
46
46
 
@@ -35,11 +35,16 @@ export interface WaasSignerPolicyLayerUpdateRequest {
35
35
  */
36
36
  ruleId?: string;
37
37
  /**
38
- *
38
+ * Targets a share set other than the caller's own, as returned in
39
+ * the wallet's shareSetId or otherShareSets. Omit to target the
40
+ * caller's own active share set. A share set's id changes when the
41
+ * wallet's shares are refreshed or reshared; Rules are unaffected by
42
+ * that rotation, so re-read the wallet's share sets to get the
43
+ * current id.
39
44
  * @type {string}
40
45
  * @memberof WaasSignerPolicyLayerUpdateRequest
41
46
  */
42
- signerId?: string | null;
47
+ shareSetId?: string | null;
43
48
  }
44
49
  /**
45
50
  * @export
@@ -22,7 +22,7 @@ function WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminat
22
22
  'op': json['op'],
23
23
  'rule': !exists(json, 'rule') ? undefined : WaasPolicyRuleFromJSON(json['rule']),
24
24
  'ruleId': !exists(json, 'ruleId') ? undefined : json['ruleId'],
25
- 'signerId': !exists(json, 'signerId') ? undefined : json['signerId'],
25
+ 'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
26
26
  };
27
27
  }
28
28
  function WaasSignerPolicyLayerUpdateRequestToJSON(value) {
@@ -36,7 +36,7 @@ function WaasSignerPolicyLayerUpdateRequestToJSON(value) {
36
36
  'op': value.op,
37
37
  'rule': WaasPolicyRuleToJSON(value.rule),
38
38
  'ruleId': value.ruleId,
39
- 'signerId': value.signerId,
39
+ 'shareSetId': value.shareSetId,
40
40
  };
41
41
  }
42
42
 
@@ -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
 
@@ -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