@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.
- package/package.json +1 -1
- package/src/apis/SDKApi.cjs +9 -8
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +7 -7
- package/src/apis/SDKApi.js +9 -8
- package/src/apis/SDKApi.js.map +1 -1
- package/src/apis/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.cjs.map +1 -1
- package/src/apis/WaasApi.js +1 -0
- package/src/apis/WaasApi.js.map +1 -1
- package/src/index.cjs +12 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +2 -0
- package/src/index.js.map +1 -1
- package/src/models/WaasPolicyLayerResponseLayerContent.cjs +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.cjs.map +1 -1
- package/src/models/WaasPolicyLayerResponseLayerContent.d.ts +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.js +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.js.map +1 -1
- package/src/models/WaasPolicyLayerResponseRule.cjs +66 -0
- package/src/models/WaasPolicyLayerResponseRule.cjs.map +1 -0
- package/src/models/WaasPolicyLayerResponseRule.d.ts +116 -0
- package/src/models/WaasPolicyLayerResponseRule.js +60 -0
- package/src/models/WaasPolicyLayerResponseRule.js.map +1 -0
- package/src/models/WaasPolicyLayerRuleOperation.cjs +47 -0
- package/src/models/WaasPolicyLayerRuleOperation.cjs.map +1 -0
- package/src/models/WaasPolicyLayerRuleOperation.d.ts +48 -0
- package/src/models/WaasPolicyLayerRuleOperation.js +41 -0
- package/src/models/WaasPolicyLayerRuleOperation.js.map +1 -0
- package/src/models/WaasPolicyLayerUpdateRequest.cjs +4 -0
- package/src/models/WaasPolicyLayerUpdateRequest.cjs.map +1 -1
- package/src/models/WaasPolicyLayerUpdateRequest.d.ts +10 -2
- package/src/models/WaasPolicyLayerUpdateRequest.js +4 -0
- package/src/models/WaasPolicyLayerUpdateRequest.js.map +1 -1
- package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs +6 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs.map +1 -1
- package/src/models/WaasSignerPolicyLayerUpdateRequest.d.ts +17 -4
- package/src/models/WaasSignerPolicyLayerUpdateRequest.js +6 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequest.js.map +1 -1
- package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.cjs +2 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.cjs.map +1 -1
- package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.d.ts +7 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.js +2 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.js.map +1 -1
- package/src/models/index.d.ts +2 -0
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -662,7 +662,7 @@ export interface GetUserPasskeysRequest {
|
|
|
662
662
|
export interface GetWaasSignerSelfPolicyLayerRequest {
|
|
663
663
|
environmentId: string;
|
|
664
664
|
walletId: string;
|
|
665
|
-
|
|
665
|
+
shareSetId?: string;
|
|
666
666
|
}
|
|
667
667
|
export interface GetWaasWalletSelfPolicyLayerRequest {
|
|
668
668
|
environmentId: string;
|
|
@@ -2956,12 +2956,12 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
2956
2956
|
*/
|
|
2957
2957
|
getUserPasskeys(requestParameters: GetUserPasskeysRequest, initOverrides?: RequestInit): Promise<GetUserPasskeysResponse>;
|
|
2958
2958
|
/**
|
|
2959
|
-
* Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given
|
|
2959
|
+
* 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.
|
|
2960
2960
|
* Get a signer-Layer\'s Rules
|
|
2961
2961
|
*/
|
|
2962
2962
|
getWaasSignerSelfPolicyLayerRaw(requestParameters: GetWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
|
|
2963
2963
|
/**
|
|
2964
|
-
* Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given
|
|
2964
|
+
* 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.
|
|
2965
2965
|
* Get a signer-Layer\'s Rules
|
|
2966
2966
|
*/
|
|
2967
2967
|
getWaasSignerSelfPolicyLayer(requestParameters: GetWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
|
|
@@ -4534,22 +4534,22 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4534
4534
|
*/
|
|
4535
4535
|
updateUserMfaDevice(requestParameters: UpdateUserMfaDeviceRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4536
4536
|
/**
|
|
4537
|
-
* 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
|
|
4537
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — 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. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. 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.
|
|
4538
4538
|
* Create, update, or remove a Rule on a signer-Layer
|
|
4539
4539
|
*/
|
|
4540
4540
|
updateWaasSignerSelfPolicyLayerRaw(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
|
|
4541
4541
|
/**
|
|
4542
|
-
* 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
|
|
4542
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — 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. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. 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.
|
|
4543
4543
|
* Create, update, or remove a Rule on a signer-Layer
|
|
4544
4544
|
*/
|
|
4545
4545
|
updateWaasSignerSelfPolicyLayer(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
|
|
4546
4546
|
/**
|
|
4547
|
-
* 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 wallet-Layer. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
4547
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
4548
4548
|
* Create, update, or remove a Rule on a wallet-Layer
|
|
4549
4549
|
*/
|
|
4550
4550
|
updateWaasWalletSelfPolicyLayerRaw(requestParameters: UpdateWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
|
|
4551
4551
|
/**
|
|
4552
|
-
* 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 wallet-Layer. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
4552
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
4553
4553
|
* Create, update, or remove a Rule on a wallet-Layer
|
|
4554
4554
|
*/
|
|
4555
4555
|
updateWaasWalletSelfPolicyLayer(requestParameters: UpdateWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -284,6 +284,7 @@ import '../models/WaasDelegatedAccessEncryptionPublicKeyType.js';
|
|
|
284
284
|
import '../models/WaasPolicyConstraintCondition.js';
|
|
285
285
|
import { WaasPolicyLayerResponseFromJSON } from '../models/WaasPolicyLayerResponse.js';
|
|
286
286
|
import '../models/WaasPolicyRuleType.js';
|
|
287
|
+
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
287
288
|
import { WaasPolicyLayerUpdateRequestToJSON } from '../models/WaasPolicyLayerUpdateRequest.js';
|
|
288
289
|
import { WaasSignerPolicyLayerUpdateRequestToJSON } from '../models/WaasSignerPolicyLayerUpdateRequest.js';
|
|
289
290
|
import '../models/WaasTransactionBroadcastSubmissionState.js';
|
|
@@ -5310,7 +5311,7 @@ class SDKApi extends BaseAPI {
|
|
|
5310
5311
|
return await response.value();
|
|
5311
5312
|
}
|
|
5312
5313
|
/**
|
|
5313
|
-
* Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given
|
|
5314
|
+
* 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.
|
|
5314
5315
|
* Get a signer-Layer\'s Rules
|
|
5315
5316
|
*/
|
|
5316
5317
|
async getWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -5321,8 +5322,8 @@ class SDKApi extends BaseAPI {
|
|
|
5321
5322
|
throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasSignerSelfPolicyLayer.');
|
|
5322
5323
|
}
|
|
5323
5324
|
const queryParameters = {};
|
|
5324
|
-
if (requestParameters.
|
|
5325
|
-
queryParameters['
|
|
5325
|
+
if (requestParameters.shareSetId !== undefined) {
|
|
5326
|
+
queryParameters['shareSetId'] = requestParameters.shareSetId;
|
|
5326
5327
|
}
|
|
5327
5328
|
const headerParameters = {};
|
|
5328
5329
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -5341,7 +5342,7 @@ class SDKApi extends BaseAPI {
|
|
|
5341
5342
|
return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
5342
5343
|
}
|
|
5343
5344
|
/**
|
|
5344
|
-
* Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given
|
|
5345
|
+
* 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.
|
|
5345
5346
|
* Get a signer-Layer\'s Rules
|
|
5346
5347
|
*/
|
|
5347
5348
|
async getWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
|
|
@@ -10622,7 +10623,7 @@ class SDKApi extends BaseAPI {
|
|
|
10622
10623
|
await this.updateUserMfaDeviceRaw(requestParameters, initOverrides);
|
|
10623
10624
|
}
|
|
10624
10625
|
/**
|
|
10625
|
-
* 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
|
|
10626
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — 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. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. 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.
|
|
10626
10627
|
* Create, update, or remove a Rule on a signer-Layer
|
|
10627
10628
|
*/
|
|
10628
10629
|
async updateWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -10655,7 +10656,7 @@ class SDKApi extends BaseAPI {
|
|
|
10655
10656
|
return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
10656
10657
|
}
|
|
10657
10658
|
/**
|
|
10658
|
-
* 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
|
|
10659
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — 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. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. 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.
|
|
10659
10660
|
* Create, update, or remove a Rule on a signer-Layer
|
|
10660
10661
|
*/
|
|
10661
10662
|
async updateWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
|
|
@@ -10663,7 +10664,7 @@ class SDKApi extends BaseAPI {
|
|
|
10663
10664
|
return await response.value();
|
|
10664
10665
|
}
|
|
10665
10666
|
/**
|
|
10666
|
-
* 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 wallet-Layer. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
10667
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
10667
10668
|
* Create, update, or remove a Rule on a wallet-Layer
|
|
10668
10669
|
*/
|
|
10669
10670
|
async updateWaasWalletSelfPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -10696,7 +10697,7 @@ class SDKApi extends BaseAPI {
|
|
|
10696
10697
|
return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
10697
10698
|
}
|
|
10698
10699
|
/**
|
|
10699
|
-
* 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 wallet-Layer. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
10700
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
10700
10701
|
* Create, update, or remove a Rule on a wallet-Layer
|
|
10701
10702
|
*/
|
|
10702
10703
|
async updateWaasWalletSelfPolicyLayer(requestParameters, initOverrides) {
|