@dynamic-labs/sdk-api-core 0.0.1110 → 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 +5 -4
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +4 -4
- package/src/apis/SDKApi.js +5 -4
- 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 +4 -0
- package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs.map +1 -1
- package/src/models/WaasSignerPolicyLayerUpdateRequest.d.ts +10 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequest.js +4 -0
- package/src/models/WaasSignerPolicyLayerUpdateRequest.js.map +1 -1
- package/src/models/index.d.ts +2 -0
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -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 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.
|
|
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 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.
|
|
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';
|
|
@@ -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 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.
|
|
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 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.
|
|
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) {
|