@dynamic-labs/sdk-api-core 0.0.1125 → 0.0.1126
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 +56 -0
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +24 -0
- package/src/apis/SDKApi.js +56 -0
- package/src/apis/SDKApi.js.map +1 -1
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -5320,6 +5320,39 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5320
5320
|
const response = await this.getUserPasskeysRaw(requestParameters, initOverrides);
|
|
5321
5321
|
return await response.value();
|
|
5322
5322
|
}
|
|
5323
|
+
/**
|
|
5324
|
+
* Returns the Composition environment-Layer content for the environment, read-only, for any signed-in user in the environment.
|
|
5325
|
+
* Get the environment-Layer\'s Rules
|
|
5326
|
+
*/
|
|
5327
|
+
async getWaasEnvPolicyLayerRaw(requestParameters, initOverrides) {
|
|
5328
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
5329
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasEnvPolicyLayer.');
|
|
5330
|
+
}
|
|
5331
|
+
const queryParameters = {};
|
|
5332
|
+
const headerParameters = {};
|
|
5333
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
5334
|
+
const token = this.configuration.accessToken;
|
|
5335
|
+
const tokenString = await token("bearerAuth", []);
|
|
5336
|
+
if (tokenString) {
|
|
5337
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
5338
|
+
}
|
|
5339
|
+
}
|
|
5340
|
+
const response = await this.request({
|
|
5341
|
+
path: `/sdk/{environmentId}/waas/env-policy-layer`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
5342
|
+
method: 'GET',
|
|
5343
|
+
headers: headerParameters,
|
|
5344
|
+
query: queryParameters,
|
|
5345
|
+
}, initOverrides);
|
|
5346
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
5347
|
+
}
|
|
5348
|
+
/**
|
|
5349
|
+
* Returns the Composition environment-Layer content for the environment, read-only, for any signed-in user in the environment.
|
|
5350
|
+
* Get the environment-Layer\'s Rules
|
|
5351
|
+
*/
|
|
5352
|
+
async getWaasEnvPolicyLayer(requestParameters, initOverrides) {
|
|
5353
|
+
const response = await this.getWaasEnvPolicyLayerRaw(requestParameters, initOverrides);
|
|
5354
|
+
return await response.value();
|
|
5355
|
+
}
|
|
5323
5356
|
/**
|
|
5324
5357
|
* 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.
|
|
5325
5358
|
* Get a signer-Layer\'s Rules
|
|
@@ -11461,6 +11494,29 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
11461
11494
|
async verifyUnlinkOptions(requestParameters, initOverrides) {
|
|
11462
11495
|
await this.verifyUnlinkOptionsRaw(requestParameters, initOverrides);
|
|
11463
11496
|
}
|
|
11497
|
+
/**
|
|
11498
|
+
* Options call for this endpoint
|
|
11499
|
+
*/
|
|
11500
|
+
async waasEnvPolicyLayerOptionsRaw(requestParameters, initOverrides) {
|
|
11501
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
11502
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling waasEnvPolicyLayerOptions.');
|
|
11503
|
+
}
|
|
11504
|
+
const queryParameters = {};
|
|
11505
|
+
const headerParameters = {};
|
|
11506
|
+
const response = await this.request({
|
|
11507
|
+
path: `/sdk/{environmentId}/waas/env-policy-layer`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
11508
|
+
method: 'OPTIONS',
|
|
11509
|
+
headers: headerParameters,
|
|
11510
|
+
query: queryParameters,
|
|
11511
|
+
}, initOverrides);
|
|
11512
|
+
return new runtime.VoidApiResponse(response);
|
|
11513
|
+
}
|
|
11514
|
+
/**
|
|
11515
|
+
* Options call for this endpoint
|
|
11516
|
+
*/
|
|
11517
|
+
async waasEnvPolicyLayerOptions(requestParameters, initOverrides) {
|
|
11518
|
+
await this.waasEnvPolicyLayerOptionsRaw(requestParameters, initOverrides);
|
|
11519
|
+
}
|
|
11464
11520
|
/**
|
|
11465
11521
|
* Options call for this endpoint
|
|
11466
11522
|
*/
|