@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.
Files changed (40) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +5 -4
  3. package/src/apis/SDKApi.cjs.map +1 -1
  4. package/src/apis/SDKApi.d.ts +4 -4
  5. package/src/apis/SDKApi.js +5 -4
  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 +4 -0
  36. package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs.map +1 -1
  37. package/src/models/WaasSignerPolicyLayerUpdateRequest.d.ts +10 -2
  38. package/src/models/WaasSignerPolicyLayerUpdateRequest.js +4 -0
  39. package/src/models/WaasSignerPolicyLayerUpdateRequest.js.map +1 -1
  40. package/src/models/index.d.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api-core",
3
- "version": "0.0.1110",
3
+ "version": "0.0.1111",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -288,6 +288,7 @@ require('../models/WaasDelegatedAccessEncryptionPublicKeyType.cjs');
288
288
  require('../models/WaasPolicyConstraintCondition.cjs');
289
289
  var WaasPolicyLayerResponse = require('../models/WaasPolicyLayerResponse.cjs');
290
290
  require('../models/WaasPolicyRuleType.cjs');
291
+ require('../models/WaasPolicyLayerRuleOperation.cjs');
291
292
  var WaasPolicyLayerUpdateRequest = require('../models/WaasPolicyLayerUpdateRequest.cjs');
292
293
  var WaasSignerPolicyLayerUpdateRequest = require('../models/WaasSignerPolicyLayerUpdateRequest.cjs');
293
294
  require('../models/WaasTransactionBroadcastSubmissionState.cjs');
@@ -10626,7 +10627,7 @@ class SDKApi extends runtime.BaseAPI {
10626
10627
  await this.updateUserMfaDeviceRaw(requestParameters, initOverrides);
10627
10628
  }
10628
10629
  /**
10629
- * 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.
10630
+ * 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.
10630
10631
  * Create, update, or remove a Rule on a signer-Layer
10631
10632
  */
10632
10633
  async updateWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -10659,7 +10660,7 @@ class SDKApi extends runtime.BaseAPI {
10659
10660
  return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
10660
10661
  }
10661
10662
  /**
10662
- * 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.
10663
+ * 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.
10663
10664
  * Create, update, or remove a Rule on a signer-Layer
10664
10665
  */
10665
10666
  async updateWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
@@ -10667,7 +10668,7 @@ class SDKApi extends runtime.BaseAPI {
10667
10668
  return await response.value();
10668
10669
  }
10669
10670
  /**
10670
- * 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.
10671
+ * 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.
10671
10672
  * Create, update, or remove a Rule on a wallet-Layer
10672
10673
  */
10673
10674
  async updateWaasWalletSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -10700,7 +10701,7 @@ class SDKApi extends runtime.BaseAPI {
10700
10701
  return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
10701
10702
  }
10702
10703
  /**
10703
- * 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.
10704
+ * 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.
10704
10705
  * Create, update, or remove a Rule on a wallet-Layer
10705
10706
  */
10706
10707
  async updateWaasWalletSelfPolicyLayer(requestParameters, initOverrides) {