@dynamic-labs/sdk-api-core 0.0.605 → 0.0.607

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-core",
3
- "version": "0.0.605",
3
+ "version": "0.0.607",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -1341,6 +1341,72 @@ class SDKApi extends runtime.BaseAPI {
1341
1341
  yield this.externalAuthSigninOptionsRaw(requestParameters, initOverrides);
1342
1342
  });
1343
1343
  }
1344
+ /**
1345
+ * [DEPRECATED] Please use /externalAuth/signin instead
1346
+ */
1347
+ externalAuthVerifyRaw(requestParameters, initOverrides) {
1348
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
1349
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
1350
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling externalAuthVerify.');
1351
+ }
1352
+ if (requestParameters.externalAuthSigninRequest === null || requestParameters.externalAuthSigninRequest === undefined) {
1353
+ throw new runtime.RequiredError('externalAuthSigninRequest', 'Required parameter requestParameters.externalAuthSigninRequest was null or undefined when calling externalAuthVerify.');
1354
+ }
1355
+ const queryParameters = {};
1356
+ const headerParameters = {};
1357
+ headerParameters['Content-Type'] = 'application/json';
1358
+ if (this.configuration && this.configuration.accessToken) {
1359
+ const token = this.configuration.accessToken;
1360
+ const tokenString = yield token("bearerAuth", []);
1361
+ if (tokenString) {
1362
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1363
+ }
1364
+ }
1365
+ const response = yield this.request({
1366
+ path: `/sdk/{environmentId}/externalAuth/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
1367
+ method: 'POST',
1368
+ headers: headerParameters,
1369
+ query: queryParameters,
1370
+ body: ExternalAuthSigninRequest.ExternalAuthSigninRequestToJSON(requestParameters.externalAuthSigninRequest),
1371
+ }, initOverrides);
1372
+ return new runtime.VoidApiResponse(response);
1373
+ });
1374
+ }
1375
+ /**
1376
+ * [DEPRECATED] Please use /externalAuth/signin instead
1377
+ */
1378
+ externalAuthVerify(requestParameters, initOverrides) {
1379
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
1380
+ yield this.externalAuthVerifyRaw(requestParameters, initOverrides);
1381
+ });
1382
+ }
1383
+ /**
1384
+ * [DEPRECATED] Options call for this endpoint
1385
+ */
1386
+ externalAuthVerifyOptionsRaw(requestParameters, initOverrides) {
1387
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
1388
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
1389
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling externalAuthVerifyOptions.');
1390
+ }
1391
+ const queryParameters = {};
1392
+ const headerParameters = {};
1393
+ const response = yield this.request({
1394
+ path: `/sdk/{environmentId}/externalAuth/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
1395
+ method: 'OPTIONS',
1396
+ headers: headerParameters,
1397
+ query: queryParameters,
1398
+ }, initOverrides);
1399
+ return new runtime.VoidApiResponse(response);
1400
+ });
1401
+ }
1402
+ /**
1403
+ * [DEPRECATED] Options call for this endpoint
1404
+ */
1405
+ externalAuthVerifyOptions(requestParameters, initOverrides) {
1406
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
1407
+ yield this.externalAuthVerifyOptionsRaw(requestParameters, initOverrides);
1408
+ });
1409
+ }
1344
1410
  /**
1345
1411
  * Farcaster SignIn endpoint to exchange SIWF data
1346
1412
  * Farcaster provider SignIn endpoint
@@ -141,6 +141,13 @@ export interface ExternalAuthSigninOperationRequest {
141
141
  export interface ExternalAuthSigninOptionsRequest {
142
142
  environmentId: string;
143
143
  }
144
+ export interface ExternalAuthVerifyRequest {
145
+ environmentId: string;
146
+ externalAuthSigninRequest: ExternalAuthSigninRequest;
147
+ }
148
+ export interface ExternalAuthVerifyOptionsRequest {
149
+ environmentId: string;
150
+ }
144
151
  export interface FarcasterSignInOperationRequest {
145
152
  environmentId: string;
146
153
  farcasterSignInRequest?: FarcasterSignInRequest;
@@ -987,6 +994,22 @@ export declare class SDKApi extends runtime.BaseAPI {
987
994
  * Options call for this endpoint
988
995
  */
989
996
  externalAuthSigninOptions(requestParameters: ExternalAuthSigninOptionsRequest, initOverrides?: RequestInit): Promise<void>;
997
+ /**
998
+ * [DEPRECATED] Please use /externalAuth/signin instead
999
+ */
1000
+ externalAuthVerifyRaw(requestParameters: ExternalAuthVerifyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
1001
+ /**
1002
+ * [DEPRECATED] Please use /externalAuth/signin instead
1003
+ */
1004
+ externalAuthVerify(requestParameters: ExternalAuthVerifyRequest, initOverrides?: RequestInit): Promise<void>;
1005
+ /**
1006
+ * [DEPRECATED] Options call for this endpoint
1007
+ */
1008
+ externalAuthVerifyOptionsRaw(requestParameters: ExternalAuthVerifyOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
1009
+ /**
1010
+ * [DEPRECATED] Options call for this endpoint
1011
+ */
1012
+ externalAuthVerifyOptions(requestParameters: ExternalAuthVerifyOptionsRequest, initOverrides?: RequestInit): Promise<void>;
990
1013
  /**
991
1014
  * Farcaster SignIn endpoint to exchange SIWF data
992
1015
  * Farcaster provider SignIn endpoint
@@ -1337,6 +1337,72 @@ class SDKApi extends BaseAPI {
1337
1337
  yield this.externalAuthSigninOptionsRaw(requestParameters, initOverrides);
1338
1338
  });
1339
1339
  }
1340
+ /**
1341
+ * [DEPRECATED] Please use /externalAuth/signin instead
1342
+ */
1343
+ externalAuthVerifyRaw(requestParameters, initOverrides) {
1344
+ return __awaiter(this, void 0, void 0, function* () {
1345
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
1346
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling externalAuthVerify.');
1347
+ }
1348
+ if (requestParameters.externalAuthSigninRequest === null || requestParameters.externalAuthSigninRequest === undefined) {
1349
+ throw new RequiredError('externalAuthSigninRequest', 'Required parameter requestParameters.externalAuthSigninRequest was null or undefined when calling externalAuthVerify.');
1350
+ }
1351
+ const queryParameters = {};
1352
+ const headerParameters = {};
1353
+ headerParameters['Content-Type'] = 'application/json';
1354
+ if (this.configuration && this.configuration.accessToken) {
1355
+ const token = this.configuration.accessToken;
1356
+ const tokenString = yield token("bearerAuth", []);
1357
+ if (tokenString) {
1358
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1359
+ }
1360
+ }
1361
+ const response = yield this.request({
1362
+ path: `/sdk/{environmentId}/externalAuth/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
1363
+ method: 'POST',
1364
+ headers: headerParameters,
1365
+ query: queryParameters,
1366
+ body: ExternalAuthSigninRequestToJSON(requestParameters.externalAuthSigninRequest),
1367
+ }, initOverrides);
1368
+ return new VoidApiResponse(response);
1369
+ });
1370
+ }
1371
+ /**
1372
+ * [DEPRECATED] Please use /externalAuth/signin instead
1373
+ */
1374
+ externalAuthVerify(requestParameters, initOverrides) {
1375
+ return __awaiter(this, void 0, void 0, function* () {
1376
+ yield this.externalAuthVerifyRaw(requestParameters, initOverrides);
1377
+ });
1378
+ }
1379
+ /**
1380
+ * [DEPRECATED] Options call for this endpoint
1381
+ */
1382
+ externalAuthVerifyOptionsRaw(requestParameters, initOverrides) {
1383
+ return __awaiter(this, void 0, void 0, function* () {
1384
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
1385
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling externalAuthVerifyOptions.');
1386
+ }
1387
+ const queryParameters = {};
1388
+ const headerParameters = {};
1389
+ const response = yield this.request({
1390
+ path: `/sdk/{environmentId}/externalAuth/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
1391
+ method: 'OPTIONS',
1392
+ headers: headerParameters,
1393
+ query: queryParameters,
1394
+ }, initOverrides);
1395
+ return new VoidApiResponse(response);
1396
+ });
1397
+ }
1398
+ /**
1399
+ * [DEPRECATED] Options call for this endpoint
1400
+ */
1401
+ externalAuthVerifyOptions(requestParameters, initOverrides) {
1402
+ return __awaiter(this, void 0, void 0, function* () {
1403
+ yield this.externalAuthVerifyOptionsRaw(requestParameters, initOverrides);
1404
+ });
1405
+ }
1340
1406
  /**
1341
1407
  * Farcaster SignIn endpoint to exchange SIWF data
1342
1408
  * Farcaster provider SignIn endpoint
package/src/index.cjs CHANGED
@@ -6,6 +6,8 @@ var runtime = require('./runtime.cjs');
6
6
  var SDKApi = require('./apis/SDKApi.cjs');
7
7
  var Asset = require('./models/Asset.cjs');
8
8
  var AssetDiff = require('./models/AssetDiff.cjs');
9
+ var AssetExposure = require('./models/AssetExposure.cjs');
10
+ var AssetExposureSpenderToInfo = require('./models/AssetExposureSpenderToInfo.cjs');
9
11
  var AssetTransfer = require('./models/AssetTransfer.cjs');
10
12
  var AttestationConveyancePreference = require('./models/AttestationConveyancePreference.cjs');
11
13
  var AuthModeEnum = require('./models/AuthModeEnum.cjs');
@@ -23,6 +25,7 @@ var BackupKeyshareResponse = require('./models/BackupKeyshareResponse.cjs');
23
25
  var BadGateway = require('./models/BadGateway.cjs');
24
26
  var BadRequest = require('./models/BadRequest.cjs');
25
27
  var BaseUser = require('./models/BaseUser.cjs');
28
+ var BlockaidValidation = require('./models/BlockaidValidation.cjs');
26
29
  var ChainConfiguration = require('./models/ChainConfiguration.cjs');
27
30
  var ChainEnum = require('./models/ChainEnum.cjs');
28
31
  var CoinbaseMpcWalletProperties = require('./models/CoinbaseMpcWalletProperties.cjs');
@@ -266,8 +269,10 @@ var V7UserOp = require('./models/V7UserOp.cjs');
266
269
  var VerifyRequest = require('./models/VerifyRequest.cjs');
267
270
  var VerifyResponse = require('./models/VerifyResponse.cjs');
268
271
  var VerifyUnlinkRequest = require('./models/VerifyUnlinkRequest.cjs');
272
+ var WaasWalletProperties = require('./models/WaasWalletProperties.cjs');
269
273
  var WalletAdditionalAddress = require('./models/WalletAdditionalAddress.cjs');
270
274
  var WalletAddressType = require('./models/WalletAddressType.cjs');
275
+ var WalletKeyShareInfo = require('./models/WalletKeyShareInfo.cjs');
271
276
  var WalletProperties = require('./models/WalletProperties.cjs');
272
277
  var WalletProviderEnum = require('./models/WalletProviderEnum.cjs');
273
278
 
@@ -301,6 +306,12 @@ exports.AssetToJSON = Asset.AssetToJSON;
301
306
  exports.AssetDiffFromJSON = AssetDiff.AssetDiffFromJSON;
302
307
  exports.AssetDiffFromJSONTyped = AssetDiff.AssetDiffFromJSONTyped;
303
308
  exports.AssetDiffToJSON = AssetDiff.AssetDiffToJSON;
309
+ exports.AssetExposureFromJSON = AssetExposure.AssetExposureFromJSON;
310
+ exports.AssetExposureFromJSONTyped = AssetExposure.AssetExposureFromJSONTyped;
311
+ exports.AssetExposureToJSON = AssetExposure.AssetExposureToJSON;
312
+ exports.AssetExposureSpenderToInfoFromJSON = AssetExposureSpenderToInfo.AssetExposureSpenderToInfoFromJSON;
313
+ exports.AssetExposureSpenderToInfoFromJSONTyped = AssetExposureSpenderToInfo.AssetExposureSpenderToInfoFromJSONTyped;
314
+ exports.AssetExposureSpenderToInfoToJSON = AssetExposureSpenderToInfo.AssetExposureSpenderToInfoToJSON;
304
315
  exports.AssetTransferFromJSON = AssetTransfer.AssetTransferFromJSON;
305
316
  exports.AssetTransferFromJSONTyped = AssetTransfer.AssetTransferFromJSONTyped;
306
317
  exports.AssetTransferToJSON = AssetTransfer.AssetTransferToJSON;
@@ -372,6 +383,9 @@ exports.BadRequestToJSON = BadRequest.BadRequestToJSON;
372
383
  exports.BaseUserFromJSON = BaseUser.BaseUserFromJSON;
373
384
  exports.BaseUserFromJSONTyped = BaseUser.BaseUserFromJSONTyped;
374
385
  exports.BaseUserToJSON = BaseUser.BaseUserToJSON;
386
+ exports.BlockaidValidationFromJSON = BlockaidValidation.BlockaidValidationFromJSON;
387
+ exports.BlockaidValidationFromJSONTyped = BlockaidValidation.BlockaidValidationFromJSONTyped;
388
+ exports.BlockaidValidationToJSON = BlockaidValidation.BlockaidValidationToJSON;
375
389
  exports.ChainConfigurationFromJSON = ChainConfiguration.ChainConfigurationFromJSON;
376
390
  exports.ChainConfigurationFromJSONTyped = ChainConfiguration.ChainConfigurationFromJSONTyped;
377
391
  exports.ChainConfigurationToJSON = ChainConfiguration.ChainConfigurationToJSON;
@@ -1269,6 +1283,9 @@ exports.VerifyResponseToJSON = VerifyResponse.VerifyResponseToJSON;
1269
1283
  exports.VerifyUnlinkRequestFromJSON = VerifyUnlinkRequest.VerifyUnlinkRequestFromJSON;
1270
1284
  exports.VerifyUnlinkRequestFromJSONTyped = VerifyUnlinkRequest.VerifyUnlinkRequestFromJSONTyped;
1271
1285
  exports.VerifyUnlinkRequestToJSON = VerifyUnlinkRequest.VerifyUnlinkRequestToJSON;
1286
+ exports.WaasWalletPropertiesFromJSON = WaasWalletProperties.WaasWalletPropertiesFromJSON;
1287
+ exports.WaasWalletPropertiesFromJSONTyped = WaasWalletProperties.WaasWalletPropertiesFromJSONTyped;
1288
+ exports.WaasWalletPropertiesToJSON = WaasWalletProperties.WaasWalletPropertiesToJSON;
1272
1289
  exports.WalletAdditionalAddressFromJSON = WalletAdditionalAddress.WalletAdditionalAddressFromJSON;
1273
1290
  exports.WalletAdditionalAddressFromJSONTyped = WalletAdditionalAddress.WalletAdditionalAddressFromJSONTyped;
1274
1291
  exports.WalletAdditionalAddressToJSON = WalletAdditionalAddress.WalletAdditionalAddressToJSON;
@@ -1279,6 +1296,9 @@ Object.defineProperty(exports, 'WalletAddressType', {
1279
1296
  exports.WalletAddressTypeFromJSON = WalletAddressType.WalletAddressTypeFromJSON;
1280
1297
  exports.WalletAddressTypeFromJSONTyped = WalletAddressType.WalletAddressTypeFromJSONTyped;
1281
1298
  exports.WalletAddressTypeToJSON = WalletAddressType.WalletAddressTypeToJSON;
1299
+ exports.WalletKeyShareInfoFromJSON = WalletKeyShareInfo.WalletKeyShareInfoFromJSON;
1300
+ exports.WalletKeyShareInfoFromJSONTyped = WalletKeyShareInfo.WalletKeyShareInfoFromJSONTyped;
1301
+ exports.WalletKeyShareInfoToJSON = WalletKeyShareInfo.WalletKeyShareInfoToJSON;
1282
1302
  exports.WalletPropertiesFromJSON = WalletProperties.WalletPropertiesFromJSON;
1283
1303
  exports.WalletPropertiesFromJSONTyped = WalletProperties.WalletPropertiesFromJSONTyped;
1284
1304
  exports.WalletPropertiesToJSON = WalletProperties.WalletPropertiesToJSON;
package/src/index.js CHANGED
@@ -2,6 +2,8 @@ export { BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration,
2
2
  export { GetAccountBalancesChainNameEnum, GetAccountBalancesOptionsChainNameEnum, SDKApi } from './apis/SDKApi.js';
3
3
  export { AssetFromJSON, AssetFromJSONTyped, AssetToJSON } from './models/Asset.js';
4
4
  export { AssetDiffFromJSON, AssetDiffFromJSONTyped, AssetDiffToJSON } from './models/AssetDiff.js';
5
+ export { AssetExposureFromJSON, AssetExposureFromJSONTyped, AssetExposureToJSON } from './models/AssetExposure.js';
6
+ export { AssetExposureSpenderToInfoFromJSON, AssetExposureSpenderToInfoFromJSONTyped, AssetExposureSpenderToInfoToJSON } from './models/AssetExposureSpenderToInfo.js';
5
7
  export { AssetTransferFromJSON, AssetTransferFromJSONTyped, AssetTransferToJSON } from './models/AssetTransfer.js';
6
8
  export { AttestationConveyancePreference, AttestationConveyancePreferenceFromJSON, AttestationConveyancePreferenceFromJSONTyped, AttestationConveyancePreferenceToJSON } from './models/AttestationConveyancePreference.js';
7
9
  export { AuthModeEnum, AuthModeEnumFromJSON, AuthModeEnumFromJSONTyped, AuthModeEnumToJSON } from './models/AuthModeEnum.js';
@@ -19,6 +21,7 @@ export { BackupKeyshareResponseFromJSON, BackupKeyshareResponseFromJSONTyped, Ba
19
21
  export { BadGatewayFromJSON, BadGatewayFromJSONTyped, BadGatewayToJSON } from './models/BadGateway.js';
20
22
  export { BadRequestFromJSON, BadRequestFromJSONTyped, BadRequestToJSON } from './models/BadRequest.js';
21
23
  export { BaseUserFromJSON, BaseUserFromJSONTyped, BaseUserToJSON } from './models/BaseUser.js';
24
+ export { BlockaidValidationFromJSON, BlockaidValidationFromJSONTyped, BlockaidValidationToJSON } from './models/BlockaidValidation.js';
22
25
  export { ChainConfigurationFromJSON, ChainConfigurationFromJSONTyped, ChainConfigurationToJSON } from './models/ChainConfiguration.js';
23
26
  export { ChainEnum, ChainEnumFromJSON, ChainEnumFromJSONTyped, ChainEnumToJSON } from './models/ChainEnum.js';
24
27
  export { CoinbaseMpcWalletPropertiesFromJSON, CoinbaseMpcWalletPropertiesFromJSONTyped, CoinbaseMpcWalletPropertiesToJSON } from './models/CoinbaseMpcWalletProperties.js';
@@ -262,7 +265,9 @@ export { V7UserOpFromJSON, V7UserOpFromJSONTyped, V7UserOpToJSON } from './model
262
265
  export { VerifyRequestFromJSON, VerifyRequestFromJSONTyped, VerifyRequestToJSON } from './models/VerifyRequest.js';
263
266
  export { VerifyResponseFromJSON, VerifyResponseFromJSONTyped, VerifyResponseToJSON } from './models/VerifyResponse.js';
264
267
  export { VerifyUnlinkRequestFromJSON, VerifyUnlinkRequestFromJSONTyped, VerifyUnlinkRequestToJSON } from './models/VerifyUnlinkRequest.js';
268
+ export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON } from './models/WaasWalletProperties.js';
265
269
  export { WalletAdditionalAddressFromJSON, WalletAdditionalAddressFromJSONTyped, WalletAdditionalAddressToJSON } from './models/WalletAdditionalAddress.js';
266
270
  export { WalletAddressType, WalletAddressTypeFromJSON, WalletAddressTypeFromJSONTyped, WalletAddressTypeToJSON } from './models/WalletAddressType.js';
271
+ export { WalletKeyShareInfoFromJSON, WalletKeyShareInfoFromJSONTyped, WalletKeyShareInfoToJSON } from './models/WalletKeyShareInfo.js';
267
272
  export { WalletPropertiesFromJSON, WalletPropertiesFromJSONTyped, WalletPropertiesToJSON } from './models/WalletProperties.js';
268
273
  export { WalletProviderEnum, WalletProviderEnumFromJSON, WalletProviderEnumFromJSONTyped, WalletProviderEnumToJSON } from './models/WalletProviderEnum.js';
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var Asset = require('./Asset.cjs');
7
+ var AssetExposureSpenderToInfo = require('./AssetExposureSpenderToInfo.cjs');
8
+
9
+ /* tslint:disable */
10
+ function AssetExposureFromJSON(json) {
11
+ return AssetExposureFromJSONTyped(json);
12
+ }
13
+ function AssetExposureFromJSONTyped(json, ignoreDiscriminator) {
14
+ if ((json === undefined) || (json === null)) {
15
+ return json;
16
+ }
17
+ return {
18
+ 'asset': Asset.AssetFromJSON(json['asset']),
19
+ 'spenderToInfo': (runtime.mapValues(json['spenderToInfo'], AssetExposureSpenderToInfo.AssetExposureSpenderToInfoFromJSON)),
20
+ };
21
+ }
22
+ function AssetExposureToJSON(value) {
23
+ if (value === undefined) {
24
+ return undefined;
25
+ }
26
+ if (value === null) {
27
+ return null;
28
+ }
29
+ return {
30
+ 'asset': Asset.AssetToJSON(value.asset),
31
+ 'spenderToInfo': (runtime.mapValues(value.spenderToInfo, AssetExposureSpenderToInfo.AssetExposureSpenderToInfoToJSON)),
32
+ };
33
+ }
34
+
35
+ exports.AssetExposureFromJSON = AssetExposureFromJSON;
36
+ exports.AssetExposureFromJSONTyped = AssetExposureFromJSONTyped;
37
+ exports.AssetExposureToJSON = AssetExposureToJSON;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Asset } from './Asset';
13
+ import { AssetExposureSpenderToInfo } from './AssetExposureSpenderToInfo';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AssetExposure
18
+ */
19
+ export interface AssetExposure {
20
+ /**
21
+ *
22
+ * @type {Asset}
23
+ * @memberof AssetExposure
24
+ */
25
+ asset: Asset;
26
+ /**
27
+ *
28
+ * @type {{ [key: string]: AssetExposureSpenderToInfo; }}
29
+ * @memberof AssetExposure
30
+ */
31
+ spenderToInfo: {
32
+ [key: string]: AssetExposureSpenderToInfo;
33
+ };
34
+ }
35
+ export declare function AssetExposureFromJSON(json: any): AssetExposure;
36
+ export declare function AssetExposureFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetExposure;
37
+ export declare function AssetExposureToJSON(value?: AssetExposure | null): any;
@@ -0,0 +1,31 @@
1
+ import { mapValues } from '../runtime.js';
2
+ import { AssetFromJSON, AssetToJSON } from './Asset.js';
3
+ import { AssetExposureSpenderToInfoFromJSON, AssetExposureSpenderToInfoToJSON } from './AssetExposureSpenderToInfo.js';
4
+
5
+ /* tslint:disable */
6
+ function AssetExposureFromJSON(json) {
7
+ return AssetExposureFromJSONTyped(json);
8
+ }
9
+ function AssetExposureFromJSONTyped(json, ignoreDiscriminator) {
10
+ if ((json === undefined) || (json === null)) {
11
+ return json;
12
+ }
13
+ return {
14
+ 'asset': AssetFromJSON(json['asset']),
15
+ 'spenderToInfo': (mapValues(json['spenderToInfo'], AssetExposureSpenderToInfoFromJSON)),
16
+ };
17
+ }
18
+ function AssetExposureToJSON(value) {
19
+ if (value === undefined) {
20
+ return undefined;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ 'asset': AssetToJSON(value.asset),
27
+ 'spenderToInfo': (mapValues(value.spenderToInfo, AssetExposureSpenderToInfoToJSON)),
28
+ };
29
+ }
30
+
31
+ export { AssetExposureFromJSON, AssetExposureFromJSONTyped, AssetExposureToJSON };
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function AssetExposureSpenderToInfoFromJSON(json) {
9
+ return AssetExposureSpenderToInfoFromJSONTyped(json);
10
+ }
11
+ function AssetExposureSpenderToInfoFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'amount': json['amount'],
17
+ 'spenderAlias': !runtime.exists(json, 'spenderAlias') ? undefined : json['spenderAlias'],
18
+ 'usdValue': !runtime.exists(json, 'usdValue') ? undefined : json['usdValue'],
19
+ };
20
+ }
21
+ function AssetExposureSpenderToInfoToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'amount': value.amount,
30
+ 'spenderAlias': value.spenderAlias,
31
+ 'usdValue': value.usdValue,
32
+ };
33
+ }
34
+
35
+ exports.AssetExposureSpenderToInfoFromJSON = AssetExposureSpenderToInfoFromJSON;
36
+ exports.AssetExposureSpenderToInfoFromJSONTyped = AssetExposureSpenderToInfoFromJSONTyped;
37
+ exports.AssetExposureSpenderToInfoToJSON = AssetExposureSpenderToInfoToJSON;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AssetExposureSpenderToInfo
16
+ */
17
+ export interface AssetExposureSpenderToInfo {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AssetExposureSpenderToInfo
22
+ */
23
+ amount: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AssetExposureSpenderToInfo
28
+ */
29
+ spenderAlias?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AssetExposureSpenderToInfo
34
+ */
35
+ usdValue?: string;
36
+ }
37
+ export declare function AssetExposureSpenderToInfoFromJSON(json: any): AssetExposureSpenderToInfo;
38
+ export declare function AssetExposureSpenderToInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetExposureSpenderToInfo;
39
+ export declare function AssetExposureSpenderToInfoToJSON(value?: AssetExposureSpenderToInfo | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function AssetExposureSpenderToInfoFromJSON(json) {
5
+ return AssetExposureSpenderToInfoFromJSONTyped(json);
6
+ }
7
+ function AssetExposureSpenderToInfoFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'amount': json['amount'],
13
+ 'spenderAlias': !exists(json, 'spenderAlias') ? undefined : json['spenderAlias'],
14
+ 'usdValue': !exists(json, 'usdValue') ? undefined : json['usdValue'],
15
+ };
16
+ }
17
+ function AssetExposureSpenderToInfoToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'amount': value.amount,
26
+ 'spenderAlias': value.spenderAlias,
27
+ 'usdValue': value.usdValue,
28
+ };
29
+ }
30
+
31
+ export { AssetExposureSpenderToInfoFromJSON, AssetExposureSpenderToInfoFromJSONTyped, AssetExposureSpenderToInfoToJSON };
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function BlockaidValidationFromJSON(json) {
9
+ return BlockaidValidationFromJSONTyped(json);
10
+ }
11
+ function BlockaidValidationFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'result': json['result'],
17
+ 'description': !runtime.exists(json, 'description') ? undefined : json['description'],
18
+ 'reason': json['reason'],
19
+ 'classification': !runtime.exists(json, 'classification') ? undefined : json['classification'],
20
+ };
21
+ }
22
+ function BlockaidValidationToJSON(value) {
23
+ if (value === undefined) {
24
+ return undefined;
25
+ }
26
+ if (value === null) {
27
+ return null;
28
+ }
29
+ return {
30
+ 'result': value.result,
31
+ 'description': value.description,
32
+ 'reason': value.reason,
33
+ 'classification': value.classification,
34
+ };
35
+ }
36
+
37
+ exports.BlockaidValidationFromJSON = BlockaidValidationFromJSON;
38
+ exports.BlockaidValidationFromJSONTyped = BlockaidValidationFromJSONTyped;
39
+ exports.BlockaidValidationToJSON = BlockaidValidationToJSON;
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface BlockaidValidation
16
+ */
17
+ export interface BlockaidValidation {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof BlockaidValidation
22
+ */
23
+ result: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof BlockaidValidation
28
+ */
29
+ description?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof BlockaidValidation
34
+ */
35
+ reason: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof BlockaidValidation
40
+ */
41
+ classification?: string;
42
+ }
43
+ export declare function BlockaidValidationFromJSON(json: any): BlockaidValidation;
44
+ export declare function BlockaidValidationFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlockaidValidation;
45
+ export declare function BlockaidValidationToJSON(value?: BlockaidValidation | null): any;
@@ -0,0 +1,33 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function BlockaidValidationFromJSON(json) {
5
+ return BlockaidValidationFromJSONTyped(json);
6
+ }
7
+ function BlockaidValidationFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'result': json['result'],
13
+ 'description': !exists(json, 'description') ? undefined : json['description'],
14
+ 'reason': json['reason'],
15
+ 'classification': !exists(json, 'classification') ? undefined : json['classification'],
16
+ };
17
+ }
18
+ function BlockaidValidationToJSON(value) {
19
+ if (value === undefined) {
20
+ return undefined;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ 'result': value.result,
27
+ 'description': value.description,
28
+ 'reason': value.reason,
29
+ 'classification': value.classification,
30
+ };
31
+ }
32
+
33
+ export { BlockaidValidationFromJSON, BlockaidValidationFromJSONTyped, BlockaidValidationToJSON };
@@ -4,6 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
6
  var AssetDiff = require('./AssetDiff.cjs');
7
+ var AssetExposure = require('./AssetExposure.cjs');
8
+ var BlockaidValidation = require('./BlockaidValidation.cjs');
7
9
  var PriceData = require('./PriceData.cjs');
8
10
 
9
11
  /* tslint:disable */
@@ -20,6 +22,8 @@ function SimulateTransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
20
22
  'counterparties': !runtime.exists(json, 'counterparties') ? undefined : json['counterparties'],
21
23
  'priceData': PriceData.PriceDataFromJSON(json['priceData']),
22
24
  'showTotalFiat': json['showTotalFiat'],
25
+ 'validation': !runtime.exists(json, 'validation') ? undefined : BlockaidValidation.BlockaidValidationFromJSON(json['validation']),
26
+ 'assetExposures': !runtime.exists(json, 'assetExposures') ? undefined : (json['assetExposures'].map(AssetExposure.AssetExposureFromJSON)),
23
27
  };
24
28
  }
25
29
  function SimulateTransactionResponseToJSON(value) {
@@ -35,6 +39,8 @@ function SimulateTransactionResponseToJSON(value) {
35
39
  'counterparties': value.counterparties,
36
40
  'priceData': PriceData.PriceDataToJSON(value.priceData),
37
41
  'showTotalFiat': value.showTotalFiat,
42
+ 'validation': BlockaidValidation.BlockaidValidationToJSON(value.validation),
43
+ 'assetExposures': value.assetExposures === undefined ? undefined : (value.assetExposures.map(AssetExposure.AssetExposureToJSON)),
38
44
  };
39
45
  }
40
46
 
@@ -10,6 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { AssetDiff } from './AssetDiff';
13
+ import { AssetExposure } from './AssetExposure';
14
+ import { BlockaidValidation } from './BlockaidValidation';
13
15
  import { PriceData } from './PriceData';
14
16
  /**
15
17
  *
@@ -47,6 +49,18 @@ export interface SimulateTransactionResponse {
47
49
  * @memberof SimulateTransactionResponse
48
50
  */
49
51
  showTotalFiat: boolean;
52
+ /**
53
+ *
54
+ * @type {BlockaidValidation}
55
+ * @memberof SimulateTransactionResponse
56
+ */
57
+ validation?: BlockaidValidation;
58
+ /**
59
+ *
60
+ * @type {Array<AssetExposure>}
61
+ * @memberof SimulateTransactionResponse
62
+ */
63
+ assetExposures?: Array<AssetExposure>;
50
64
  }
51
65
  export declare function SimulateTransactionResponseFromJSON(json: any): SimulateTransactionResponse;
52
66
  export declare function SimulateTransactionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimulateTransactionResponse;
@@ -1,5 +1,7 @@
1
1
  import { exists } from '../runtime.js';
2
2
  import { AssetDiffFromJSON, AssetDiffToJSON } from './AssetDiff.js';
3
+ import { AssetExposureFromJSON, AssetExposureToJSON } from './AssetExposure.js';
4
+ import { BlockaidValidationFromJSON, BlockaidValidationToJSON } from './BlockaidValidation.js';
3
5
  import { PriceDataFromJSON, PriceDataToJSON } from './PriceData.js';
4
6
 
5
7
  /* tslint:disable */
@@ -16,6 +18,8 @@ function SimulateTransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
16
18
  'counterparties': !exists(json, 'counterparties') ? undefined : json['counterparties'],
17
19
  'priceData': PriceDataFromJSON(json['priceData']),
18
20
  'showTotalFiat': json['showTotalFiat'],
21
+ 'validation': !exists(json, 'validation') ? undefined : BlockaidValidationFromJSON(json['validation']),
22
+ 'assetExposures': !exists(json, 'assetExposures') ? undefined : (json['assetExposures'].map(AssetExposureFromJSON)),
19
23
  };
20
24
  }
21
25
  function SimulateTransactionResponseToJSON(value) {
@@ -31,6 +35,8 @@ function SimulateTransactionResponseToJSON(value) {
31
35
  'counterparties': value.counterparties,
32
36
  'priceData': PriceDataToJSON(value.priceData),
33
37
  'showTotalFiat': value.showTotalFiat,
38
+ 'validation': BlockaidValidationToJSON(value.validation),
39
+ 'assetExposures': value.assetExposures === undefined ? undefined : (value.assetExposures.map(AssetExposureToJSON)),
34
40
  };
35
41
  }
36
42
 
@@ -0,0 +1,34 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
7
+
8
+ /* tslint:disable */
9
+ function WaasWalletPropertiesFromJSON(json) {
10
+ return WaasWalletPropertiesFromJSONTyped(json);
11
+ }
12
+ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
18
+ };
19
+ }
20
+ function WaasWalletPropertiesToJSON(value) {
21
+ if (value === undefined) {
22
+ return undefined;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ 'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
29
+ };
30
+ }
31
+
32
+ exports.WaasWalletPropertiesFromJSON = WaasWalletPropertiesFromJSON;
33
+ exports.WaasWalletPropertiesFromJSONTyped = WaasWalletPropertiesFromJSONTyped;
34
+ exports.WaasWalletPropertiesToJSON = WaasWalletPropertiesToJSON;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { WalletKeyShareInfo } from './WalletKeyShareInfo';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface WaasWalletProperties
17
+ */
18
+ export interface WaasWalletProperties {
19
+ /**
20
+ *
21
+ * @type {Array<WalletKeyShareInfo>}
22
+ * @memberof WaasWalletProperties
23
+ */
24
+ keyShares?: Array<WalletKeyShareInfo>;
25
+ }
26
+ export declare function WaasWalletPropertiesFromJSON(json: any): WaasWalletProperties;
27
+ export declare function WaasWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletProperties;
28
+ export declare function WaasWalletPropertiesToJSON(value?: WaasWalletProperties | null): any;
@@ -0,0 +1,28 @@
1
+ import { exists } from '../runtime.js';
2
+ import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
3
+
4
+ /* tslint:disable */
5
+ function WaasWalletPropertiesFromJSON(json) {
6
+ return WaasWalletPropertiesFromJSONTyped(json);
7
+ }
8
+ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
14
+ };
15
+ }
16
+ function WaasWalletPropertiesToJSON(value) {
17
+ if (value === undefined) {
18
+ return undefined;
19
+ }
20
+ if (value === null) {
21
+ return null;
22
+ }
23
+ return {
24
+ 'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
25
+ };
26
+ }
27
+
28
+ export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON };
@@ -0,0 +1,47 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ function WalletKeyShareInfoFromJSON(json) {
19
+ return WalletKeyShareInfoFromJSONTyped(json);
20
+ }
21
+ function WalletKeyShareInfoFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'id': json['id'],
27
+ 'backupLocation': json['backupLocation'],
28
+ 'passwordEncrypted': json['passwordEncrypted'],
29
+ };
30
+ }
31
+ function WalletKeyShareInfoToJSON(value) {
32
+ if (value === undefined) {
33
+ return undefined;
34
+ }
35
+ if (value === null) {
36
+ return null;
37
+ }
38
+ return {
39
+ 'id': value.id,
40
+ 'backupLocation': value.backupLocation,
41
+ 'passwordEncrypted': value.passwordEncrypted,
42
+ };
43
+ }
44
+
45
+ exports.WalletKeyShareInfoFromJSON = WalletKeyShareInfoFromJSON;
46
+ exports.WalletKeyShareInfoFromJSONTyped = WalletKeyShareInfoFromJSONTyped;
47
+ exports.WalletKeyShareInfoToJSON = WalletKeyShareInfoToJSON;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface WalletKeyShareInfo
16
+ */
17
+ export interface WalletKeyShareInfo {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof WalletKeyShareInfo
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof WalletKeyShareInfo
28
+ */
29
+ backupLocation: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof WalletKeyShareInfo
34
+ */
35
+ passwordEncrypted: boolean;
36
+ }
37
+ export declare function WalletKeyShareInfoFromJSON(json: any): WalletKeyShareInfo;
38
+ export declare function WalletKeyShareInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletKeyShareInfo;
39
+ export declare function WalletKeyShareInfoToJSON(value?: WalletKeyShareInfo | null): any;
@@ -0,0 +1,41 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function WalletKeyShareInfoFromJSON(json) {
15
+ return WalletKeyShareInfoFromJSONTyped(json);
16
+ }
17
+ function WalletKeyShareInfoFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'id': json['id'],
23
+ 'backupLocation': json['backupLocation'],
24
+ 'passwordEncrypted': json['passwordEncrypted'],
25
+ };
26
+ }
27
+ function WalletKeyShareInfoToJSON(value) {
28
+ if (value === undefined) {
29
+ return undefined;
30
+ }
31
+ if (value === null) {
32
+ return null;
33
+ }
34
+ return {
35
+ 'id': value.id,
36
+ 'backupLocation': value.backupLocation,
37
+ 'passwordEncrypted': value.passwordEncrypted,
38
+ };
39
+ }
40
+
41
+ export { WalletKeyShareInfoFromJSON, WalletKeyShareInfoFromJSONTyped, WalletKeyShareInfoToJSON };
@@ -9,6 +9,7 @@ var HardwareWalletEnum = require('./HardwareWalletEnum.cjs');
9
9
  var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
10
10
  var ProviderEntryPointVersionEnum = require('./ProviderEntryPointVersionEnum.cjs');
11
11
  var ProviderKernelVersionEnum = require('./ProviderKernelVersionEnum.cjs');
12
+ var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
12
13
 
13
14
  /* tslint:disable */
14
15
  function WalletPropertiesFromJSON(json) {
@@ -32,6 +33,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
32
33
  'entryPointVersion': !runtime.exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
33
34
  'kernelVersion': !runtime.exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
34
35
  'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
36
+ 'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
35
37
  };
36
38
  }
37
39
  function WalletPropertiesToJSON(value) {
@@ -55,6 +57,7 @@ function WalletPropertiesToJSON(value) {
55
57
  'entryPointVersion': ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
56
58
  'kernelVersion': ProviderKernelVersionEnum.ProviderKernelVersionEnumToJSON(value.kernelVersion),
57
59
  'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
60
+ 'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
58
61
  };
59
62
  }
60
63
 
@@ -15,6 +15,7 @@ import { HardwareWalletEnum } from './HardwareWalletEnum';
15
15
  import { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
16
16
  import { ProviderEntryPointVersionEnum } from './ProviderEntryPointVersionEnum';
17
17
  import { ProviderKernelVersionEnum } from './ProviderKernelVersionEnum';
18
+ import { WalletKeyShareInfo } from './WalletKeyShareInfo';
18
19
  /**
19
20
  *
20
21
  * @export
@@ -99,6 +100,12 @@ export interface WalletProperties {
99
100
  * @memberof WalletProperties
100
101
  */
101
102
  ecdsaProviderType?: EcdsaValidatorOptions;
103
+ /**
104
+ *
105
+ * @type {Array<WalletKeyShareInfo>}
106
+ * @memberof WalletProperties
107
+ */
108
+ keyShares?: Array<WalletKeyShareInfo>;
102
109
  }
103
110
  export declare function WalletPropertiesFromJSON(json: any): WalletProperties;
104
111
  export declare function WalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletProperties;
@@ -5,6 +5,7 @@ import { HardwareWalletEnumFromJSON, HardwareWalletEnumToJSON } from './Hardware
5
5
  import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
6
6
  import { ProviderEntryPointVersionEnumFromJSON, ProviderEntryPointVersionEnumToJSON } from './ProviderEntryPointVersionEnum.js';
7
7
  import { ProviderKernelVersionEnumFromJSON, ProviderKernelVersionEnumToJSON } from './ProviderKernelVersionEnum.js';
8
+ import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
8
9
 
9
10
  /* tslint:disable */
10
11
  function WalletPropertiesFromJSON(json) {
@@ -28,6 +29,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
28
29
  'entryPointVersion': !exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
29
30
  'kernelVersion': !exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
30
31
  'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
32
+ 'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
31
33
  };
32
34
  }
33
35
  function WalletPropertiesToJSON(value) {
@@ -51,6 +53,7 @@ function WalletPropertiesToJSON(value) {
51
53
  'entryPointVersion': ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
52
54
  'kernelVersion': ProviderKernelVersionEnumToJSON(value.kernelVersion),
53
55
  'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
56
+ 'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
54
57
  };
55
58
  }
56
59
 
@@ -1,5 +1,7 @@
1
1
  export * from './Asset';
2
2
  export * from './AssetDiff';
3
+ export * from './AssetExposure';
4
+ export * from './AssetExposureSpenderToInfo';
3
5
  export * from './AssetTransfer';
4
6
  export * from './AttestationConveyancePreference';
5
7
  export * from './AuthModeEnum';
@@ -17,6 +19,7 @@ export * from './BackupKeyshareResponse';
17
19
  export * from './BadGateway';
18
20
  export * from './BadRequest';
19
21
  export * from './BaseUser';
22
+ export * from './BlockaidValidation';
20
23
  export * from './ChainConfiguration';
21
24
  export * from './ChainEnum';
22
25
  export * from './CoinbaseMpcWalletProperties';
@@ -260,7 +263,9 @@ export * from './V7UserOp';
260
263
  export * from './VerifyRequest';
261
264
  export * from './VerifyResponse';
262
265
  export * from './VerifyUnlinkRequest';
266
+ export * from './WaasWalletProperties';
263
267
  export * from './WalletAdditionalAddress';
264
268
  export * from './WalletAddressType';
269
+ export * from './WalletKeyShareInfo';
265
270
  export * from './WalletProperties';
266
271
  export * from './WalletProviderEnum';