@dynamic-labs/sdk-api 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 +1 -1
- package/src/apis/SDKApi.cjs +66 -0
- package/src/apis/SDKApi.d.ts +23 -0
- package/src/apis/SDKApi.js +66 -0
- package/src/index.cjs +20 -0
- package/src/index.js +5 -0
- package/src/models/AssetExposure.cjs +37 -0
- package/src/models/AssetExposure.d.ts +37 -0
- package/src/models/AssetExposure.js +31 -0
- package/src/models/AssetExposureSpenderToInfo.cjs +37 -0
- package/src/models/AssetExposureSpenderToInfo.d.ts +39 -0
- package/src/models/AssetExposureSpenderToInfo.js +31 -0
- package/src/models/BlockaidValidation.cjs +39 -0
- package/src/models/BlockaidValidation.d.ts +45 -0
- package/src/models/BlockaidValidation.js +33 -0
- package/src/models/SimulateTransactionResponse.cjs +6 -0
- package/src/models/SimulateTransactionResponse.d.ts +14 -0
- package/src/models/SimulateTransactionResponse.js +6 -0
- package/src/models/WaasWalletProperties.cjs +34 -0
- package/src/models/WaasWalletProperties.d.ts +28 -0
- package/src/models/WaasWalletProperties.js +28 -0
- package/src/models/WalletKeyShareInfo.cjs +47 -0
- package/src/models/WalletKeyShareInfo.d.ts +39 -0
- package/src/models/WalletKeyShareInfo.js +41 -0
- package/src/models/WalletProperties.cjs +3 -0
- package/src/models/WalletProperties.d.ts +7 -0
- package/src/models/WalletProperties.js +3 -0
- package/src/models/index.d.ts +5 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -1359,6 +1359,72 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1359
1359
|
yield this.externalAuthSigninOptionsRaw(requestParameters, initOverrides);
|
|
1360
1360
|
});
|
|
1361
1361
|
}
|
|
1362
|
+
/**
|
|
1363
|
+
* [DEPRECATED] Please use /externalAuth/signin instead
|
|
1364
|
+
*/
|
|
1365
|
+
externalAuthVerifyRaw(requestParameters, initOverrides) {
|
|
1366
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1367
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
1368
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling externalAuthVerify.');
|
|
1369
|
+
}
|
|
1370
|
+
if (requestParameters.externalAuthSigninRequest === null || requestParameters.externalAuthSigninRequest === undefined) {
|
|
1371
|
+
throw new runtime.RequiredError('externalAuthSigninRequest', 'Required parameter requestParameters.externalAuthSigninRequest was null or undefined when calling externalAuthVerify.');
|
|
1372
|
+
}
|
|
1373
|
+
const queryParameters = {};
|
|
1374
|
+
const headerParameters = {};
|
|
1375
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1376
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1377
|
+
const token = this.configuration.accessToken;
|
|
1378
|
+
const tokenString = yield token("bearerAuth", []);
|
|
1379
|
+
if (tokenString) {
|
|
1380
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
const response = yield this.request({
|
|
1384
|
+
path: `/sdk/{environmentId}/externalAuth/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
1385
|
+
method: 'POST',
|
|
1386
|
+
headers: headerParameters,
|
|
1387
|
+
query: queryParameters,
|
|
1388
|
+
body: ExternalAuthSigninRequest.ExternalAuthSigninRequestToJSON(requestParameters.externalAuthSigninRequest),
|
|
1389
|
+
}, initOverrides);
|
|
1390
|
+
return new runtime.VoidApiResponse(response);
|
|
1391
|
+
});
|
|
1392
|
+
}
|
|
1393
|
+
/**
|
|
1394
|
+
* [DEPRECATED] Please use /externalAuth/signin instead
|
|
1395
|
+
*/
|
|
1396
|
+
externalAuthVerify(requestParameters, initOverrides) {
|
|
1397
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1398
|
+
yield this.externalAuthVerifyRaw(requestParameters, initOverrides);
|
|
1399
|
+
});
|
|
1400
|
+
}
|
|
1401
|
+
/**
|
|
1402
|
+
* [DEPRECATED] Options call for this endpoint
|
|
1403
|
+
*/
|
|
1404
|
+
externalAuthVerifyOptionsRaw(requestParameters, initOverrides) {
|
|
1405
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1406
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
1407
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling externalAuthVerifyOptions.');
|
|
1408
|
+
}
|
|
1409
|
+
const queryParameters = {};
|
|
1410
|
+
const headerParameters = {};
|
|
1411
|
+
const response = yield this.request({
|
|
1412
|
+
path: `/sdk/{environmentId}/externalAuth/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
1413
|
+
method: 'OPTIONS',
|
|
1414
|
+
headers: headerParameters,
|
|
1415
|
+
query: queryParameters,
|
|
1416
|
+
}, initOverrides);
|
|
1417
|
+
return new runtime.VoidApiResponse(response);
|
|
1418
|
+
});
|
|
1419
|
+
}
|
|
1420
|
+
/**
|
|
1421
|
+
* [DEPRECATED] Options call for this endpoint
|
|
1422
|
+
*/
|
|
1423
|
+
externalAuthVerifyOptions(requestParameters, initOverrides) {
|
|
1424
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1425
|
+
yield this.externalAuthVerifyOptionsRaw(requestParameters, initOverrides);
|
|
1426
|
+
});
|
|
1427
|
+
}
|
|
1362
1428
|
/**
|
|
1363
1429
|
* Farcaster SignIn endpoint to exchange SIWF data
|
|
1364
1430
|
* Farcaster provider SignIn endpoint
|
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -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
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -1355,6 +1355,72 @@ class SDKApi extends BaseAPI {
|
|
|
1355
1355
|
yield this.externalAuthSigninOptionsRaw(requestParameters, initOverrides);
|
|
1356
1356
|
});
|
|
1357
1357
|
}
|
|
1358
|
+
/**
|
|
1359
|
+
* [DEPRECATED] Please use /externalAuth/signin instead
|
|
1360
|
+
*/
|
|
1361
|
+
externalAuthVerifyRaw(requestParameters, initOverrides) {
|
|
1362
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1363
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
1364
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling externalAuthVerify.');
|
|
1365
|
+
}
|
|
1366
|
+
if (requestParameters.externalAuthSigninRequest === null || requestParameters.externalAuthSigninRequest === undefined) {
|
|
1367
|
+
throw new RequiredError('externalAuthSigninRequest', 'Required parameter requestParameters.externalAuthSigninRequest was null or undefined when calling externalAuthVerify.');
|
|
1368
|
+
}
|
|
1369
|
+
const queryParameters = {};
|
|
1370
|
+
const headerParameters = {};
|
|
1371
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1372
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1373
|
+
const token = this.configuration.accessToken;
|
|
1374
|
+
const tokenString = yield token("bearerAuth", []);
|
|
1375
|
+
if (tokenString) {
|
|
1376
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
const response = yield this.request({
|
|
1380
|
+
path: `/sdk/{environmentId}/externalAuth/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
1381
|
+
method: 'POST',
|
|
1382
|
+
headers: headerParameters,
|
|
1383
|
+
query: queryParameters,
|
|
1384
|
+
body: ExternalAuthSigninRequestToJSON(requestParameters.externalAuthSigninRequest),
|
|
1385
|
+
}, initOverrides);
|
|
1386
|
+
return new VoidApiResponse(response);
|
|
1387
|
+
});
|
|
1388
|
+
}
|
|
1389
|
+
/**
|
|
1390
|
+
* [DEPRECATED] Please use /externalAuth/signin instead
|
|
1391
|
+
*/
|
|
1392
|
+
externalAuthVerify(requestParameters, initOverrides) {
|
|
1393
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1394
|
+
yield this.externalAuthVerifyRaw(requestParameters, initOverrides);
|
|
1395
|
+
});
|
|
1396
|
+
}
|
|
1397
|
+
/**
|
|
1398
|
+
* [DEPRECATED] Options call for this endpoint
|
|
1399
|
+
*/
|
|
1400
|
+
externalAuthVerifyOptionsRaw(requestParameters, initOverrides) {
|
|
1401
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1402
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
1403
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling externalAuthVerifyOptions.');
|
|
1404
|
+
}
|
|
1405
|
+
const queryParameters = {};
|
|
1406
|
+
const headerParameters = {};
|
|
1407
|
+
const response = yield this.request({
|
|
1408
|
+
path: `/sdk/{environmentId}/externalAuth/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
1409
|
+
method: 'OPTIONS',
|
|
1410
|
+
headers: headerParameters,
|
|
1411
|
+
query: queryParameters,
|
|
1412
|
+
}, initOverrides);
|
|
1413
|
+
return new VoidApiResponse(response);
|
|
1414
|
+
});
|
|
1415
|
+
}
|
|
1416
|
+
/**
|
|
1417
|
+
* [DEPRECATED] Options call for this endpoint
|
|
1418
|
+
*/
|
|
1419
|
+
externalAuthVerifyOptions(requestParameters, initOverrides) {
|
|
1420
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1421
|
+
yield this.externalAuthVerifyOptionsRaw(requestParameters, initOverrides);
|
|
1422
|
+
});
|
|
1423
|
+
}
|
|
1358
1424
|
/**
|
|
1359
1425
|
* Farcaster SignIn endpoint to exchange SIWF data
|
|
1360
1426
|
* Farcaster provider SignIn endpoint
|
package/src/index.cjs
CHANGED
|
@@ -45,6 +45,8 @@ var AnalyticsSessionsByDateSessions = require('./models/AnalyticsSessionsByDateS
|
|
|
45
45
|
var AnalyticsVisitResponse = require('./models/AnalyticsVisitResponse.cjs');
|
|
46
46
|
var Asset = require('./models/Asset.cjs');
|
|
47
47
|
var AssetDiff = require('./models/AssetDiff.cjs');
|
|
48
|
+
var AssetExposure = require('./models/AssetExposure.cjs');
|
|
49
|
+
var AssetExposureSpenderToInfo = require('./models/AssetExposureSpenderToInfo.cjs');
|
|
48
50
|
var AssetTransfer = require('./models/AssetTransfer.cjs');
|
|
49
51
|
var AttestationConveyancePreference = require('./models/AttestationConveyancePreference.cjs');
|
|
50
52
|
var AuthModeEnum = require('./models/AuthModeEnum.cjs');
|
|
@@ -66,6 +68,7 @@ var BillingSubscription = require('./models/BillingSubscription.cjs');
|
|
|
66
68
|
var BillingSubscriptionCoupon = require('./models/BillingSubscriptionCoupon.cjs');
|
|
67
69
|
var BillingSubscriptionPeriod = require('./models/BillingSubscriptionPeriod.cjs');
|
|
68
70
|
var BillingSubscriptionPlanTypeEnum = require('./models/BillingSubscriptionPlanTypeEnum.cjs');
|
|
71
|
+
var BlockaidValidation = require('./models/BlockaidValidation.cjs');
|
|
69
72
|
var BulkUserCreateResponse = require('./models/BulkUserCreateResponse.cjs');
|
|
70
73
|
var BulkUserCreateResponseFailed = require('./models/BulkUserCreateResponseFailed.cjs');
|
|
71
74
|
var ChainConfiguration = require('./models/ChainConfiguration.cjs');
|
|
@@ -430,9 +433,11 @@ var Visitor = require('./models/Visitor.cjs');
|
|
|
430
433
|
var VisitorFilterableFieldsEnum = require('./models/VisitorFilterableFieldsEnum.cjs');
|
|
431
434
|
var VisitorSearchFilterParams = require('./models/VisitorSearchFilterParams.cjs');
|
|
432
435
|
var VisitorsResponse = require('./models/VisitorsResponse.cjs');
|
|
436
|
+
var WaasWalletProperties = require('./models/WaasWalletProperties.cjs');
|
|
433
437
|
var Wallet = require('./models/Wallet.cjs');
|
|
434
438
|
var WalletAdditionalAddress = require('./models/WalletAdditionalAddress.cjs');
|
|
435
439
|
var WalletAddressType = require('./models/WalletAddressType.cjs');
|
|
440
|
+
var WalletKeyShareInfo = require('./models/WalletKeyShareInfo.cjs');
|
|
436
441
|
var WalletProperties = require('./models/WalletProperties.cjs');
|
|
437
442
|
var WalletProviderEnum = require('./models/WalletProviderEnum.cjs');
|
|
438
443
|
var Webhook = require('./models/Webhook.cjs');
|
|
@@ -533,6 +538,12 @@ exports.AssetToJSON = Asset.AssetToJSON;
|
|
|
533
538
|
exports.AssetDiffFromJSON = AssetDiff.AssetDiffFromJSON;
|
|
534
539
|
exports.AssetDiffFromJSONTyped = AssetDiff.AssetDiffFromJSONTyped;
|
|
535
540
|
exports.AssetDiffToJSON = AssetDiff.AssetDiffToJSON;
|
|
541
|
+
exports.AssetExposureFromJSON = AssetExposure.AssetExposureFromJSON;
|
|
542
|
+
exports.AssetExposureFromJSONTyped = AssetExposure.AssetExposureFromJSONTyped;
|
|
543
|
+
exports.AssetExposureToJSON = AssetExposure.AssetExposureToJSON;
|
|
544
|
+
exports.AssetExposureSpenderToInfoFromJSON = AssetExposureSpenderToInfo.AssetExposureSpenderToInfoFromJSON;
|
|
545
|
+
exports.AssetExposureSpenderToInfoFromJSONTyped = AssetExposureSpenderToInfo.AssetExposureSpenderToInfoFromJSONTyped;
|
|
546
|
+
exports.AssetExposureSpenderToInfoToJSON = AssetExposureSpenderToInfo.AssetExposureSpenderToInfoToJSON;
|
|
536
547
|
exports.AssetTransferFromJSON = AssetTransfer.AssetTransferFromJSON;
|
|
537
548
|
exports.AssetTransferFromJSONTyped = AssetTransfer.AssetTransferFromJSONTyped;
|
|
538
549
|
exports.AssetTransferToJSON = AssetTransfer.AssetTransferToJSON;
|
|
@@ -620,6 +631,9 @@ Object.defineProperty(exports, 'BillingSubscriptionPlanTypeEnum', {
|
|
|
620
631
|
exports.BillingSubscriptionPlanTypeEnumFromJSON = BillingSubscriptionPlanTypeEnum.BillingSubscriptionPlanTypeEnumFromJSON;
|
|
621
632
|
exports.BillingSubscriptionPlanTypeEnumFromJSONTyped = BillingSubscriptionPlanTypeEnum.BillingSubscriptionPlanTypeEnumFromJSONTyped;
|
|
622
633
|
exports.BillingSubscriptionPlanTypeEnumToJSON = BillingSubscriptionPlanTypeEnum.BillingSubscriptionPlanTypeEnumToJSON;
|
|
634
|
+
exports.BlockaidValidationFromJSON = BlockaidValidation.BlockaidValidationFromJSON;
|
|
635
|
+
exports.BlockaidValidationFromJSONTyped = BlockaidValidation.BlockaidValidationFromJSONTyped;
|
|
636
|
+
exports.BlockaidValidationToJSON = BlockaidValidation.BlockaidValidationToJSON;
|
|
623
637
|
exports.BulkUserCreateResponseFromJSON = BulkUserCreateResponse.BulkUserCreateResponseFromJSON;
|
|
624
638
|
exports.BulkUserCreateResponseFromJSONTyped = BulkUserCreateResponse.BulkUserCreateResponseFromJSONTyped;
|
|
625
639
|
exports.BulkUserCreateResponseToJSON = BulkUserCreateResponse.BulkUserCreateResponseToJSON;
|
|
@@ -1940,6 +1954,9 @@ exports.VisitorSearchFilterParamsToJSON = VisitorSearchFilterParams.VisitorSearc
|
|
|
1940
1954
|
exports.VisitorsResponseFromJSON = VisitorsResponse.VisitorsResponseFromJSON;
|
|
1941
1955
|
exports.VisitorsResponseFromJSONTyped = VisitorsResponse.VisitorsResponseFromJSONTyped;
|
|
1942
1956
|
exports.VisitorsResponseToJSON = VisitorsResponse.VisitorsResponseToJSON;
|
|
1957
|
+
exports.WaasWalletPropertiesFromJSON = WaasWalletProperties.WaasWalletPropertiesFromJSON;
|
|
1958
|
+
exports.WaasWalletPropertiesFromJSONTyped = WaasWalletProperties.WaasWalletPropertiesFromJSONTyped;
|
|
1959
|
+
exports.WaasWalletPropertiesToJSON = WaasWalletProperties.WaasWalletPropertiesToJSON;
|
|
1943
1960
|
exports.WalletFromJSON = Wallet.WalletFromJSON;
|
|
1944
1961
|
exports.WalletFromJSONTyped = Wallet.WalletFromJSONTyped;
|
|
1945
1962
|
exports.WalletToJSON = Wallet.WalletToJSON;
|
|
@@ -1953,6 +1970,9 @@ Object.defineProperty(exports, 'WalletAddressType', {
|
|
|
1953
1970
|
exports.WalletAddressTypeFromJSON = WalletAddressType.WalletAddressTypeFromJSON;
|
|
1954
1971
|
exports.WalletAddressTypeFromJSONTyped = WalletAddressType.WalletAddressTypeFromJSONTyped;
|
|
1955
1972
|
exports.WalletAddressTypeToJSON = WalletAddressType.WalletAddressTypeToJSON;
|
|
1973
|
+
exports.WalletKeyShareInfoFromJSON = WalletKeyShareInfo.WalletKeyShareInfoFromJSON;
|
|
1974
|
+
exports.WalletKeyShareInfoFromJSONTyped = WalletKeyShareInfo.WalletKeyShareInfoFromJSONTyped;
|
|
1975
|
+
exports.WalletKeyShareInfoToJSON = WalletKeyShareInfo.WalletKeyShareInfoToJSON;
|
|
1956
1976
|
exports.WalletPropertiesFromJSON = WalletProperties.WalletPropertiesFromJSON;
|
|
1957
1977
|
exports.WalletPropertiesFromJSONTyped = WalletProperties.WalletPropertiesFromJSONTyped;
|
|
1958
1978
|
exports.WalletPropertiesToJSON = WalletProperties.WalletPropertiesToJSON;
|
package/src/index.js
CHANGED
|
@@ -41,6 +41,8 @@ export { AnalyticsSessionsByDateSessionsFromJSON, AnalyticsSessionsByDateSession
|
|
|
41
41
|
export { AnalyticsVisitResponseFromJSON, AnalyticsVisitResponseFromJSONTyped, AnalyticsVisitResponseToJSON } from './models/AnalyticsVisitResponse.js';
|
|
42
42
|
export { AssetFromJSON, AssetFromJSONTyped, AssetToJSON } from './models/Asset.js';
|
|
43
43
|
export { AssetDiffFromJSON, AssetDiffFromJSONTyped, AssetDiffToJSON } from './models/AssetDiff.js';
|
|
44
|
+
export { AssetExposureFromJSON, AssetExposureFromJSONTyped, AssetExposureToJSON } from './models/AssetExposure.js';
|
|
45
|
+
export { AssetExposureSpenderToInfoFromJSON, AssetExposureSpenderToInfoFromJSONTyped, AssetExposureSpenderToInfoToJSON } from './models/AssetExposureSpenderToInfo.js';
|
|
44
46
|
export { AssetTransferFromJSON, AssetTransferFromJSONTyped, AssetTransferToJSON } from './models/AssetTransfer.js';
|
|
45
47
|
export { AttestationConveyancePreference, AttestationConveyancePreferenceFromJSON, AttestationConveyancePreferenceFromJSONTyped, AttestationConveyancePreferenceToJSON } from './models/AttestationConveyancePreference.js';
|
|
46
48
|
export { AuthModeEnum, AuthModeEnumFromJSON, AuthModeEnumFromJSONTyped, AuthModeEnumToJSON } from './models/AuthModeEnum.js';
|
|
@@ -62,6 +64,7 @@ export { BillingSubscriptionFromJSON, BillingSubscriptionFromJSONTyped, BillingS
|
|
|
62
64
|
export { BillingSubscriptionCouponFromJSON, BillingSubscriptionCouponFromJSONTyped, BillingSubscriptionCouponToJSON } from './models/BillingSubscriptionCoupon.js';
|
|
63
65
|
export { BillingSubscriptionPeriodFromJSON, BillingSubscriptionPeriodFromJSONTyped, BillingSubscriptionPeriodToJSON } from './models/BillingSubscriptionPeriod.js';
|
|
64
66
|
export { BillingSubscriptionPlanTypeEnum, BillingSubscriptionPlanTypeEnumFromJSON, BillingSubscriptionPlanTypeEnumFromJSONTyped, BillingSubscriptionPlanTypeEnumToJSON } from './models/BillingSubscriptionPlanTypeEnum.js';
|
|
67
|
+
export { BlockaidValidationFromJSON, BlockaidValidationFromJSONTyped, BlockaidValidationToJSON } from './models/BlockaidValidation.js';
|
|
65
68
|
export { BulkUserCreateResponseFromJSON, BulkUserCreateResponseFromJSONTyped, BulkUserCreateResponseToJSON } from './models/BulkUserCreateResponse.js';
|
|
66
69
|
export { BulkUserCreateResponseFailedFromJSON, BulkUserCreateResponseFailedFromJSONTyped, BulkUserCreateResponseFailedToJSON } from './models/BulkUserCreateResponseFailed.js';
|
|
67
70
|
export { ChainConfigurationFromJSON, ChainConfigurationFromJSONTyped, ChainConfigurationToJSON } from './models/ChainConfiguration.js';
|
|
@@ -426,9 +429,11 @@ export { VisitorFromJSON, VisitorFromJSONTyped, VisitorToJSON } from './models/V
|
|
|
426
429
|
export { VisitorFilterableFieldsEnum, VisitorFilterableFieldsEnumFromJSON, VisitorFilterableFieldsEnumFromJSONTyped, VisitorFilterableFieldsEnumToJSON } from './models/VisitorFilterableFieldsEnum.js';
|
|
427
430
|
export { VisitorSearchFilterParamsFromJSON, VisitorSearchFilterParamsFromJSONTyped, VisitorSearchFilterParamsToJSON } from './models/VisitorSearchFilterParams.js';
|
|
428
431
|
export { VisitorsResponseFromJSON, VisitorsResponseFromJSONTyped, VisitorsResponseToJSON } from './models/VisitorsResponse.js';
|
|
432
|
+
export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON } from './models/WaasWalletProperties.js';
|
|
429
433
|
export { WalletFromJSON, WalletFromJSONTyped, WalletToJSON } from './models/Wallet.js';
|
|
430
434
|
export { WalletAdditionalAddressFromJSON, WalletAdditionalAddressFromJSONTyped, WalletAdditionalAddressToJSON } from './models/WalletAdditionalAddress.js';
|
|
431
435
|
export { WalletAddressType, WalletAddressTypeFromJSON, WalletAddressTypeFromJSONTyped, WalletAddressTypeToJSON } from './models/WalletAddressType.js';
|
|
436
|
+
export { WalletKeyShareInfoFromJSON, WalletKeyShareInfoFromJSONTyped, WalletKeyShareInfoToJSON } from './models/WalletKeyShareInfo.js';
|
|
432
437
|
export { WalletPropertiesFromJSON, WalletPropertiesFromJSONTyped, WalletPropertiesToJSON } from './models/WalletProperties.js';
|
|
433
438
|
export { WalletProviderEnum, WalletProviderEnumFromJSON, WalletProviderEnumFromJSONTyped, WalletProviderEnumToJSON } from './models/WalletProviderEnum.js';
|
|
434
439
|
export { WebhookFromJSON, WebhookFromJSONTyped, WebhookToJSON } from './models/Webhook.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
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export * from './AnalyticsSessionsByDateSessions';
|
|
|
8
8
|
export * from './AnalyticsVisitResponse';
|
|
9
9
|
export * from './Asset';
|
|
10
10
|
export * from './AssetDiff';
|
|
11
|
+
export * from './AssetExposure';
|
|
12
|
+
export * from './AssetExposureSpenderToInfo';
|
|
11
13
|
export * from './AssetTransfer';
|
|
12
14
|
export * from './AttestationConveyancePreference';
|
|
13
15
|
export * from './AuthModeEnum';
|
|
@@ -29,6 +31,7 @@ export * from './BillingSubscription';
|
|
|
29
31
|
export * from './BillingSubscriptionCoupon';
|
|
30
32
|
export * from './BillingSubscriptionPeriod';
|
|
31
33
|
export * from './BillingSubscriptionPlanTypeEnum';
|
|
34
|
+
export * from './BlockaidValidation';
|
|
32
35
|
export * from './BulkUserCreateResponse';
|
|
33
36
|
export * from './BulkUserCreateResponseFailed';
|
|
34
37
|
export * from './ChainConfiguration';
|
|
@@ -393,9 +396,11 @@ export * from './Visitor';
|
|
|
393
396
|
export * from './VisitorFilterableFieldsEnum';
|
|
394
397
|
export * from './VisitorSearchFilterParams';
|
|
395
398
|
export * from './VisitorsResponse';
|
|
399
|
+
export * from './WaasWalletProperties';
|
|
396
400
|
export * from './Wallet';
|
|
397
401
|
export * from './WalletAdditionalAddress';
|
|
398
402
|
export * from './WalletAddressType';
|
|
403
|
+
export * from './WalletKeyShareInfo';
|
|
399
404
|
export * from './WalletProperties';
|
|
400
405
|
export * from './WalletProviderEnum';
|
|
401
406
|
export * from './Webhook';
|