@dynamic-labs/sdk-api 0.0.542 → 0.0.544
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 +62 -0
- package/src/apis/SDKApi.d.ts +24 -1
- package/src/apis/SDKApi.js +62 -0
- package/src/index.cjs +20 -0
- package/src/index.js +5 -0
- package/src/models/AssetDiff.cjs +38 -0
- package/src/models/AssetDiff.d.ts +41 -0
- package/src/models/AssetDiff.js +32 -0
- package/src/models/EvmAsset.cjs +59 -0
- package/src/models/EvmAsset.d.ts +75 -0
- package/src/models/EvmAsset.js +53 -0
- package/src/models/EvmAssetTransfer.cjs +49 -0
- package/src/models/EvmAssetTransfer.d.ts +45 -0
- package/src/models/EvmAssetTransfer.js +43 -0
- package/src/models/Provider.d.ts +3 -3
- package/src/models/ProviderCreateRequest.d.ts +3 -3
- package/src/models/ProviderUpdateRequest.d.ts +3 -3
- package/src/models/SimulateEvmTransactionRequest.cjs +43 -0
- package/src/models/SimulateEvmTransactionRequest.d.ts +57 -0
- package/src/models/SimulateEvmTransactionRequest.js +37 -0
- package/src/models/SimulateEvmTransactionResponse.cjs +35 -0
- package/src/models/SimulateEvmTransactionResponse.d.ts +34 -0
- package/src/models/SimulateEvmTransactionResponse.js +29 -0
- package/src/models/index.d.ts +5 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -112,6 +112,8 @@ var RegisterSessionKeyRequest = require('../models/RegisterSessionKeyRequest.cjs
|
|
|
112
112
|
var ScanWebsiteUrlRequest = require('../models/ScanWebsiteUrlRequest.cjs');
|
|
113
113
|
var ScanWebsiteUrlResponse = require('../models/ScanWebsiteUrlResponse.cjs');
|
|
114
114
|
var SdkSettingsRequest = require('../models/SdkSettingsRequest.cjs');
|
|
115
|
+
var SimulateEvmTransactionRequest = require('../models/SimulateEvmTransactionRequest.cjs');
|
|
116
|
+
var SimulateEvmTransactionResponse = require('../models/SimulateEvmTransactionResponse.cjs');
|
|
115
117
|
var SmsVerificationCreateRequest = require('../models/SmsVerificationCreateRequest.cjs');
|
|
116
118
|
var SmsVerificationCreateResponse = require('../models/SmsVerificationCreateResponse.cjs');
|
|
117
119
|
var SmsVerificationRetryRequest = require('../models/SmsVerificationRetryRequest.cjs');
|
|
@@ -4289,6 +4291,66 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4289
4291
|
yield this.signInWithSmsVerificationOptionsRaw(requestParameters, initOverrides);
|
|
4290
4292
|
});
|
|
4291
4293
|
}
|
|
4294
|
+
/**
|
|
4295
|
+
* Simulate an EVM transaction
|
|
4296
|
+
*/
|
|
4297
|
+
simulateEvmTransactionRaw(requestParameters, initOverrides) {
|
|
4298
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4299
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
4300
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling simulateEvmTransaction.');
|
|
4301
|
+
}
|
|
4302
|
+
if (requestParameters.simulateEvmTransactionRequest === null || requestParameters.simulateEvmTransactionRequest === undefined) {
|
|
4303
|
+
throw new runtime.RequiredError('simulateEvmTransactionRequest', 'Required parameter requestParameters.simulateEvmTransactionRequest was null or undefined when calling simulateEvmTransaction.');
|
|
4304
|
+
}
|
|
4305
|
+
const queryParameters = {};
|
|
4306
|
+
const headerParameters = {};
|
|
4307
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
4308
|
+
const response = yield this.request({
|
|
4309
|
+
path: `/sdk/{environmentId}/evm/simulateTransaction`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
4310
|
+
method: 'POST',
|
|
4311
|
+
headers: headerParameters,
|
|
4312
|
+
query: queryParameters,
|
|
4313
|
+
body: SimulateEvmTransactionRequest.SimulateEvmTransactionRequestToJSON(requestParameters.simulateEvmTransactionRequest),
|
|
4314
|
+
}, initOverrides);
|
|
4315
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimulateEvmTransactionResponse.SimulateEvmTransactionResponseFromJSON(jsonValue));
|
|
4316
|
+
});
|
|
4317
|
+
}
|
|
4318
|
+
/**
|
|
4319
|
+
* Simulate an EVM transaction
|
|
4320
|
+
*/
|
|
4321
|
+
simulateEvmTransaction(requestParameters, initOverrides) {
|
|
4322
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4323
|
+
const response = yield this.simulateEvmTransactionRaw(requestParameters, initOverrides);
|
|
4324
|
+
return yield response.value();
|
|
4325
|
+
});
|
|
4326
|
+
}
|
|
4327
|
+
/**
|
|
4328
|
+
* Options call for this endpoint
|
|
4329
|
+
*/
|
|
4330
|
+
simulateEvmTransactionOptionsRaw(requestParameters, initOverrides) {
|
|
4331
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4332
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
4333
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling simulateEvmTransactionOptions.');
|
|
4334
|
+
}
|
|
4335
|
+
const queryParameters = {};
|
|
4336
|
+
const headerParameters = {};
|
|
4337
|
+
const response = yield this.request({
|
|
4338
|
+
path: `/sdk/{environmentId}/evm/simulateTransaction`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
4339
|
+
method: 'OPTIONS',
|
|
4340
|
+
headers: headerParameters,
|
|
4341
|
+
query: queryParameters,
|
|
4342
|
+
}, initOverrides);
|
|
4343
|
+
return new runtime.VoidApiResponse(response);
|
|
4344
|
+
});
|
|
4345
|
+
}
|
|
4346
|
+
/**
|
|
4347
|
+
* Options call for this endpoint
|
|
4348
|
+
*/
|
|
4349
|
+
simulateEvmTransactionOptions(requestParameters, initOverrides) {
|
|
4350
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4351
|
+
yield this.simulateEvmTransactionOptionsRaw(requestParameters, initOverrides);
|
|
4352
|
+
});
|
|
4353
|
+
}
|
|
4292
4354
|
/**
|
|
4293
4355
|
* Options call for this endpoint
|
|
4294
4356
|
*/
|
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateWalletAccountRequest, Currency, DeleteEmbeddedWalletsRequest, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExportEmbeddedWalletResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, GetUserPasskeysResponse, HealthcheckResponse, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, JwksResponse, MFAAuthPasskeyDeviceGetResponse, MFAAuthPasskeyDevicePostRequest, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, NetworkConfigurationResponse, NonceResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SupportedOnrampsResponse, TelegramPostRequest, TokenBalance, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UserFields, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest } from '../models';
|
|
13
|
+
import { CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateWalletAccountRequest, Currency, DeleteEmbeddedWalletsRequest, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExportEmbeddedWalletResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, GetUserPasskeysResponse, HealthcheckResponse, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, JwksResponse, MFAAuthPasskeyDeviceGetResponse, MFAAuthPasskeyDevicePostRequest, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, NetworkConfigurationResponse, NonceResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SimulateEvmTransactionRequest, SimulateEvmTransactionResponse, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SupportedOnrampsResponse, TelegramPostRequest, TokenBalance, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UserFields, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest } from '../models';
|
|
14
14
|
export interface AuthMfaPasskeyDeviceRequest {
|
|
15
15
|
environmentId: string;
|
|
16
16
|
mFAAuthPasskeyDevicePostRequest: MFAAuthPasskeyDevicePostRequest;
|
|
@@ -475,6 +475,13 @@ export interface SignInWithSmsVerificationRequest {
|
|
|
475
475
|
export interface SignInWithSmsVerificationOptionsRequest {
|
|
476
476
|
environmentId: string;
|
|
477
477
|
}
|
|
478
|
+
export interface SimulateEvmTransactionOperationRequest {
|
|
479
|
+
environmentId: string;
|
|
480
|
+
simulateEvmTransactionRequest: SimulateEvmTransactionRequest;
|
|
481
|
+
}
|
|
482
|
+
export interface SimulateEvmTransactionOptionsRequest {
|
|
483
|
+
environmentId: string;
|
|
484
|
+
}
|
|
478
485
|
export interface TelegramAuthOptionsRequest {
|
|
479
486
|
environmentId: string;
|
|
480
487
|
}
|
|
@@ -1642,6 +1649,22 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
1642
1649
|
* Options call for this endpoint
|
|
1643
1650
|
*/
|
|
1644
1651
|
signInWithSmsVerificationOptions(requestParameters: SignInWithSmsVerificationOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1652
|
+
/**
|
|
1653
|
+
* Simulate an EVM transaction
|
|
1654
|
+
*/
|
|
1655
|
+
simulateEvmTransactionRaw(requestParameters: SimulateEvmTransactionOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<SimulateEvmTransactionResponse>>;
|
|
1656
|
+
/**
|
|
1657
|
+
* Simulate an EVM transaction
|
|
1658
|
+
*/
|
|
1659
|
+
simulateEvmTransaction(requestParameters: SimulateEvmTransactionOperationRequest, initOverrides?: RequestInit): Promise<SimulateEvmTransactionResponse>;
|
|
1660
|
+
/**
|
|
1661
|
+
* Options call for this endpoint
|
|
1662
|
+
*/
|
|
1663
|
+
simulateEvmTransactionOptionsRaw(requestParameters: SimulateEvmTransactionOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
1664
|
+
/**
|
|
1665
|
+
* Options call for this endpoint
|
|
1666
|
+
*/
|
|
1667
|
+
simulateEvmTransactionOptions(requestParameters: SimulateEvmTransactionOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1645
1668
|
/**
|
|
1646
1669
|
* Options call for this endpoint
|
|
1647
1670
|
*/
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -108,6 +108,8 @@ import { RegisterSessionKeyRequestToJSON } from '../models/RegisterSessionKeyReq
|
|
|
108
108
|
import { ScanWebsiteUrlRequestToJSON } from '../models/ScanWebsiteUrlRequest.js';
|
|
109
109
|
import { ScanWebsiteUrlResponseFromJSON } from '../models/ScanWebsiteUrlResponse.js';
|
|
110
110
|
import { SdkSettingsRequestToJSON } from '../models/SdkSettingsRequest.js';
|
|
111
|
+
import { SimulateEvmTransactionRequestToJSON } from '../models/SimulateEvmTransactionRequest.js';
|
|
112
|
+
import { SimulateEvmTransactionResponseFromJSON } from '../models/SimulateEvmTransactionResponse.js';
|
|
111
113
|
import { SmsVerificationCreateRequestToJSON } from '../models/SmsVerificationCreateRequest.js';
|
|
112
114
|
import { SmsVerificationCreateResponseFromJSON } from '../models/SmsVerificationCreateResponse.js';
|
|
113
115
|
import { SmsVerificationRetryRequestToJSON } from '../models/SmsVerificationRetryRequest.js';
|
|
@@ -4285,6 +4287,66 @@ class SDKApi extends BaseAPI {
|
|
|
4285
4287
|
yield this.signInWithSmsVerificationOptionsRaw(requestParameters, initOverrides);
|
|
4286
4288
|
});
|
|
4287
4289
|
}
|
|
4290
|
+
/**
|
|
4291
|
+
* Simulate an EVM transaction
|
|
4292
|
+
*/
|
|
4293
|
+
simulateEvmTransactionRaw(requestParameters, initOverrides) {
|
|
4294
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4295
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
4296
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling simulateEvmTransaction.');
|
|
4297
|
+
}
|
|
4298
|
+
if (requestParameters.simulateEvmTransactionRequest === null || requestParameters.simulateEvmTransactionRequest === undefined) {
|
|
4299
|
+
throw new RequiredError('simulateEvmTransactionRequest', 'Required parameter requestParameters.simulateEvmTransactionRequest was null or undefined when calling simulateEvmTransaction.');
|
|
4300
|
+
}
|
|
4301
|
+
const queryParameters = {};
|
|
4302
|
+
const headerParameters = {};
|
|
4303
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
4304
|
+
const response = yield this.request({
|
|
4305
|
+
path: `/sdk/{environmentId}/evm/simulateTransaction`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
4306
|
+
method: 'POST',
|
|
4307
|
+
headers: headerParameters,
|
|
4308
|
+
query: queryParameters,
|
|
4309
|
+
body: SimulateEvmTransactionRequestToJSON(requestParameters.simulateEvmTransactionRequest),
|
|
4310
|
+
}, initOverrides);
|
|
4311
|
+
return new JSONApiResponse(response, (jsonValue) => SimulateEvmTransactionResponseFromJSON(jsonValue));
|
|
4312
|
+
});
|
|
4313
|
+
}
|
|
4314
|
+
/**
|
|
4315
|
+
* Simulate an EVM transaction
|
|
4316
|
+
*/
|
|
4317
|
+
simulateEvmTransaction(requestParameters, initOverrides) {
|
|
4318
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4319
|
+
const response = yield this.simulateEvmTransactionRaw(requestParameters, initOverrides);
|
|
4320
|
+
return yield response.value();
|
|
4321
|
+
});
|
|
4322
|
+
}
|
|
4323
|
+
/**
|
|
4324
|
+
* Options call for this endpoint
|
|
4325
|
+
*/
|
|
4326
|
+
simulateEvmTransactionOptionsRaw(requestParameters, initOverrides) {
|
|
4327
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4328
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
4329
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling simulateEvmTransactionOptions.');
|
|
4330
|
+
}
|
|
4331
|
+
const queryParameters = {};
|
|
4332
|
+
const headerParameters = {};
|
|
4333
|
+
const response = yield this.request({
|
|
4334
|
+
path: `/sdk/{environmentId}/evm/simulateTransaction`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
4335
|
+
method: 'OPTIONS',
|
|
4336
|
+
headers: headerParameters,
|
|
4337
|
+
query: queryParameters,
|
|
4338
|
+
}, initOverrides);
|
|
4339
|
+
return new VoidApiResponse(response);
|
|
4340
|
+
});
|
|
4341
|
+
}
|
|
4342
|
+
/**
|
|
4343
|
+
* Options call for this endpoint
|
|
4344
|
+
*/
|
|
4345
|
+
simulateEvmTransactionOptions(requestParameters, initOverrides) {
|
|
4346
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4347
|
+
yield this.simulateEvmTransactionOptionsRaw(requestParameters, initOverrides);
|
|
4348
|
+
});
|
|
4349
|
+
}
|
|
4288
4350
|
/**
|
|
4289
4351
|
* Options call for this endpoint
|
|
4290
4352
|
*/
|
package/src/index.cjs
CHANGED
|
@@ -40,6 +40,7 @@ var AllowlistEntry = require('./models/AllowlistEntry.cjs');
|
|
|
40
40
|
var AnalyticsSessionsByDate = require('./models/AnalyticsSessionsByDate.cjs');
|
|
41
41
|
var AnalyticsSessionsByDateSessions = require('./models/AnalyticsSessionsByDateSessions.cjs');
|
|
42
42
|
var AnalyticsVisitResponse = require('./models/AnalyticsVisitResponse.cjs');
|
|
43
|
+
var AssetDiff = require('./models/AssetDiff.cjs');
|
|
43
44
|
var AttestationConveyancePreference = require('./models/AttestationConveyancePreference.cjs');
|
|
44
45
|
var AuthModeEnum = require('./models/AuthModeEnum.cjs');
|
|
45
46
|
var AuthSettings = require('./models/AuthSettings.cjs');
|
|
@@ -125,6 +126,8 @@ var EnvironmentsResponseEnvironments = require('./models/EnvironmentsResponseEnv
|
|
|
125
126
|
var ErrorMessageWithCode = require('./models/ErrorMessageWithCode.cjs');
|
|
126
127
|
var Event = require('./models/Event.cjs');
|
|
127
128
|
var EventType = require('./models/EventType.cjs');
|
|
129
|
+
var EvmAsset = require('./models/EvmAsset.cjs');
|
|
130
|
+
var EvmAssetTransfer = require('./models/EvmAssetTransfer.cjs');
|
|
128
131
|
var Export = require('./models/Export.cjs');
|
|
129
132
|
var ExportCreateRequest = require('./models/ExportCreateRequest.cjs');
|
|
130
133
|
var ExportCreateRequestFilter = require('./models/ExportCreateRequestFilter.cjs');
|
|
@@ -306,6 +309,8 @@ var SdkViewUpdateRequest = require('./models/SdkViewUpdateRequest.cjs');
|
|
|
306
309
|
var SdkViewsResponse = require('./models/SdkViewsResponse.cjs');
|
|
307
310
|
var Session = require('./models/Session.cjs');
|
|
308
311
|
var SignInProviderEnum = require('./models/SignInProviderEnum.cjs');
|
|
312
|
+
var SimulateEvmTransactionRequest = require('./models/SimulateEvmTransactionRequest.cjs');
|
|
313
|
+
var SimulateEvmTransactionResponse = require('./models/SimulateEvmTransactionResponse.cjs');
|
|
309
314
|
var SmsCountryCode = require('./models/SmsCountryCode.cjs');
|
|
310
315
|
var SmsVerificationCreateRequest = require('./models/SmsVerificationCreateRequest.cjs');
|
|
311
316
|
var SmsVerificationCreateResponse = require('./models/SmsVerificationCreateResponse.cjs');
|
|
@@ -468,6 +473,9 @@ exports.AnalyticsSessionsByDateSessionsToJSON = AnalyticsSessionsByDateSessions.
|
|
|
468
473
|
exports.AnalyticsVisitResponseFromJSON = AnalyticsVisitResponse.AnalyticsVisitResponseFromJSON;
|
|
469
474
|
exports.AnalyticsVisitResponseFromJSONTyped = AnalyticsVisitResponse.AnalyticsVisitResponseFromJSONTyped;
|
|
470
475
|
exports.AnalyticsVisitResponseToJSON = AnalyticsVisitResponse.AnalyticsVisitResponseToJSON;
|
|
476
|
+
exports.AssetDiffFromJSON = AssetDiff.AssetDiffFromJSON;
|
|
477
|
+
exports.AssetDiffFromJSONTyped = AssetDiff.AssetDiffFromJSONTyped;
|
|
478
|
+
exports.AssetDiffToJSON = AssetDiff.AssetDiffToJSON;
|
|
471
479
|
Object.defineProperty(exports, 'AttestationConveyancePreference', {
|
|
472
480
|
enumerable: true,
|
|
473
481
|
get: function () { return AttestationConveyancePreference.AttestationConveyancePreference; }
|
|
@@ -803,6 +811,12 @@ exports.EventToJSON = Event.EventToJSON;
|
|
|
803
811
|
exports.EventTypeFromJSON = EventType.EventTypeFromJSON;
|
|
804
812
|
exports.EventTypeFromJSONTyped = EventType.EventTypeFromJSONTyped;
|
|
805
813
|
exports.EventTypeToJSON = EventType.EventTypeToJSON;
|
|
814
|
+
exports.EvmAssetFromJSON = EvmAsset.EvmAssetFromJSON;
|
|
815
|
+
exports.EvmAssetFromJSONTyped = EvmAsset.EvmAssetFromJSONTyped;
|
|
816
|
+
exports.EvmAssetToJSON = EvmAsset.EvmAssetToJSON;
|
|
817
|
+
exports.EvmAssetTransferFromJSON = EvmAssetTransfer.EvmAssetTransferFromJSON;
|
|
818
|
+
exports.EvmAssetTransferFromJSONTyped = EvmAssetTransfer.EvmAssetTransferFromJSONTyped;
|
|
819
|
+
exports.EvmAssetTransferToJSON = EvmAssetTransfer.EvmAssetTransferToJSON;
|
|
806
820
|
exports.ExportFromJSON = Export.ExportFromJSON;
|
|
807
821
|
exports.ExportFromJSONTyped = Export.ExportFromJSONTyped;
|
|
808
822
|
exports.ExportToJSON = Export.ExportToJSON;
|
|
@@ -1446,6 +1460,12 @@ Object.defineProperty(exports, 'SignInProviderEnum', {
|
|
|
1446
1460
|
exports.SignInProviderEnumFromJSON = SignInProviderEnum.SignInProviderEnumFromJSON;
|
|
1447
1461
|
exports.SignInProviderEnumFromJSONTyped = SignInProviderEnum.SignInProviderEnumFromJSONTyped;
|
|
1448
1462
|
exports.SignInProviderEnumToJSON = SignInProviderEnum.SignInProviderEnumToJSON;
|
|
1463
|
+
exports.SimulateEvmTransactionRequestFromJSON = SimulateEvmTransactionRequest.SimulateEvmTransactionRequestFromJSON;
|
|
1464
|
+
exports.SimulateEvmTransactionRequestFromJSONTyped = SimulateEvmTransactionRequest.SimulateEvmTransactionRequestFromJSONTyped;
|
|
1465
|
+
exports.SimulateEvmTransactionRequestToJSON = SimulateEvmTransactionRequest.SimulateEvmTransactionRequestToJSON;
|
|
1466
|
+
exports.SimulateEvmTransactionResponseFromJSON = SimulateEvmTransactionResponse.SimulateEvmTransactionResponseFromJSON;
|
|
1467
|
+
exports.SimulateEvmTransactionResponseFromJSONTyped = SimulateEvmTransactionResponse.SimulateEvmTransactionResponseFromJSONTyped;
|
|
1468
|
+
exports.SimulateEvmTransactionResponseToJSON = SimulateEvmTransactionResponse.SimulateEvmTransactionResponseToJSON;
|
|
1449
1469
|
exports.SmsCountryCodeFromJSON = SmsCountryCode.SmsCountryCodeFromJSON;
|
|
1450
1470
|
exports.SmsCountryCodeFromJSONTyped = SmsCountryCode.SmsCountryCodeFromJSONTyped;
|
|
1451
1471
|
exports.SmsCountryCodeToJSON = SmsCountryCode.SmsCountryCodeToJSON;
|
package/src/index.js
CHANGED
|
@@ -36,6 +36,7 @@ export { AllowlistEntryFromJSON, AllowlistEntryFromJSONTyped, AllowlistEntryToJS
|
|
|
36
36
|
export { AnalyticsSessionsByDateFromJSON, AnalyticsSessionsByDateFromJSONTyped, AnalyticsSessionsByDateToJSON } from './models/AnalyticsSessionsByDate.js';
|
|
37
37
|
export { AnalyticsSessionsByDateSessionsFromJSON, AnalyticsSessionsByDateSessionsFromJSONTyped, AnalyticsSessionsByDateSessionsToJSON } from './models/AnalyticsSessionsByDateSessions.js';
|
|
38
38
|
export { AnalyticsVisitResponseFromJSON, AnalyticsVisitResponseFromJSONTyped, AnalyticsVisitResponseToJSON } from './models/AnalyticsVisitResponse.js';
|
|
39
|
+
export { AssetDiffFromJSON, AssetDiffFromJSONTyped, AssetDiffToJSON } from './models/AssetDiff.js';
|
|
39
40
|
export { AttestationConveyancePreference, AttestationConveyancePreferenceFromJSON, AttestationConveyancePreferenceFromJSONTyped, AttestationConveyancePreferenceToJSON } from './models/AttestationConveyancePreference.js';
|
|
40
41
|
export { AuthModeEnum, AuthModeEnumFromJSON, AuthModeEnumFromJSONTyped, AuthModeEnumToJSON } from './models/AuthModeEnum.js';
|
|
41
42
|
export { AuthSettingsFromJSON, AuthSettingsFromJSONTyped, AuthSettingsToJSON } from './models/AuthSettings.js';
|
|
@@ -121,6 +122,8 @@ export { EnvironmentsResponseEnvironmentsFromJSON, EnvironmentsResponseEnvironme
|
|
|
121
122
|
export { ErrorMessageWithCodeFromJSON, ErrorMessageWithCodeFromJSONTyped, ErrorMessageWithCodeToJSON } from './models/ErrorMessageWithCode.js';
|
|
122
123
|
export { EventFromJSON, EventFromJSONTyped, EventToJSON } from './models/Event.js';
|
|
123
124
|
export { EventTypeFromJSON, EventTypeFromJSONTyped, EventTypeToJSON } from './models/EventType.js';
|
|
125
|
+
export { EvmAssetFromJSON, EvmAssetFromJSONTyped, EvmAssetToJSON } from './models/EvmAsset.js';
|
|
126
|
+
export { EvmAssetTransferFromJSON, EvmAssetTransferFromJSONTyped, EvmAssetTransferToJSON } from './models/EvmAssetTransfer.js';
|
|
124
127
|
export { ExportFromJSON, ExportFromJSONTyped, ExportToJSON } from './models/Export.js';
|
|
125
128
|
export { ExportCreateRequestFromJSON, ExportCreateRequestFromJSONTyped, ExportCreateRequestToJSON } from './models/ExportCreateRequest.js';
|
|
126
129
|
export { ExportCreateRequestFilterFromJSON, ExportCreateRequestFilterFromJSONTyped, ExportCreateRequestFilterToJSON } from './models/ExportCreateRequestFilter.js';
|
|
@@ -302,6 +305,8 @@ export { SdkViewUpdateRequestFromJSON, SdkViewUpdateRequestFromJSONTyped, SdkVie
|
|
|
302
305
|
export { SdkViewsResponseFromJSON, SdkViewsResponseFromJSONTyped, SdkViewsResponseToJSON } from './models/SdkViewsResponse.js';
|
|
303
306
|
export { SessionFromJSON, SessionFromJSONTyped, SessionToJSON } from './models/Session.js';
|
|
304
307
|
export { SignInProviderEnum, SignInProviderEnumFromJSON, SignInProviderEnumFromJSONTyped, SignInProviderEnumToJSON } from './models/SignInProviderEnum.js';
|
|
308
|
+
export { SimulateEvmTransactionRequestFromJSON, SimulateEvmTransactionRequestFromJSONTyped, SimulateEvmTransactionRequestToJSON } from './models/SimulateEvmTransactionRequest.js';
|
|
309
|
+
export { SimulateEvmTransactionResponseFromJSON, SimulateEvmTransactionResponseFromJSONTyped, SimulateEvmTransactionResponseToJSON } from './models/SimulateEvmTransactionResponse.js';
|
|
305
310
|
export { SmsCountryCodeFromJSON, SmsCountryCodeFromJSONTyped, SmsCountryCodeToJSON } from './models/SmsCountryCode.js';
|
|
306
311
|
export { SmsVerificationCreateRequestFromJSON, SmsVerificationCreateRequestFromJSONTyped, SmsVerificationCreateRequestToJSON } from './models/SmsVerificationCreateRequest.js';
|
|
307
312
|
export { SmsVerificationCreateResponseFromJSON, SmsVerificationCreateResponseFromJSONTyped, SmsVerificationCreateResponseToJSON } from './models/SmsVerificationCreateResponse.js';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var EvmAsset = require('./EvmAsset.cjs');
|
|
6
|
+
var EvmAssetTransfer = require('./EvmAssetTransfer.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function AssetDiffFromJSON(json) {
|
|
10
|
+
return AssetDiffFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function AssetDiffFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'asset': EvmAsset.EvmAssetFromJSON(json['asset']),
|
|
18
|
+
'_in': (json['in'].map(EvmAssetTransfer.EvmAssetTransferFromJSON)),
|
|
19
|
+
'out': (json['out'].map(EvmAssetTransfer.EvmAssetTransferFromJSON)),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function AssetDiffToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'asset': EvmAsset.EvmAssetToJSON(value.asset),
|
|
31
|
+
'in': (value._in.map(EvmAssetTransfer.EvmAssetTransferToJSON)),
|
|
32
|
+
'out': (value.out.map(EvmAssetTransfer.EvmAssetTransferToJSON)),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
exports.AssetDiffFromJSON = AssetDiffFromJSON;
|
|
37
|
+
exports.AssetDiffFromJSONTyped = AssetDiffFromJSONTyped;
|
|
38
|
+
exports.AssetDiffToJSON = AssetDiffToJSON;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { EvmAsset } from './EvmAsset';
|
|
13
|
+
import { EvmAssetTransfer } from './EvmAssetTransfer';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AssetDiff
|
|
18
|
+
*/
|
|
19
|
+
export interface AssetDiff {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {EvmAsset}
|
|
23
|
+
* @memberof AssetDiff
|
|
24
|
+
*/
|
|
25
|
+
asset: EvmAsset;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<EvmAssetTransfer>}
|
|
29
|
+
* @memberof AssetDiff
|
|
30
|
+
*/
|
|
31
|
+
_in: Array<EvmAssetTransfer>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<EvmAssetTransfer>}
|
|
35
|
+
* @memberof AssetDiff
|
|
36
|
+
*/
|
|
37
|
+
out: Array<EvmAssetTransfer>;
|
|
38
|
+
}
|
|
39
|
+
export declare function AssetDiffFromJSON(json: any): AssetDiff;
|
|
40
|
+
export declare function AssetDiffFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetDiff;
|
|
41
|
+
export declare function AssetDiffToJSON(value?: AssetDiff | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EvmAssetFromJSON, EvmAssetToJSON } from './EvmAsset.js';
|
|
2
|
+
import { EvmAssetTransferFromJSON, EvmAssetTransferToJSON } from './EvmAssetTransfer.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function AssetDiffFromJSON(json) {
|
|
6
|
+
return AssetDiffFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function AssetDiffFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'asset': EvmAssetFromJSON(json['asset']),
|
|
14
|
+
'_in': (json['in'].map(EvmAssetTransferFromJSON)),
|
|
15
|
+
'out': (json['out'].map(EvmAssetTransferFromJSON)),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function AssetDiffToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'asset': EvmAssetToJSON(value.asset),
|
|
27
|
+
'in': (value._in.map(EvmAssetTransferToJSON)),
|
|
28
|
+
'out': (value.out.map(EvmAssetTransferToJSON)),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { AssetDiffFromJSON, AssetDiffFromJSONTyped, AssetDiffToJSON };
|
|
@@ -0,0 +1,59 @@
|
|
|
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 EvmAssetFromJSON(json) {
|
|
19
|
+
return EvmAssetFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function EvmAssetFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'address': json['address'],
|
|
27
|
+
'chainId': json['chainId'],
|
|
28
|
+
'chainName': json['chainName'],
|
|
29
|
+
'decimals': json['decimals'],
|
|
30
|
+
'logoUrl': json['logoUrl'],
|
|
31
|
+
'name': json['name'],
|
|
32
|
+
'symbol': json['symbol'],
|
|
33
|
+
'type': json['type'],
|
|
34
|
+
'usdPrice': json['usdPrice'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function EvmAssetToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'address': value.address,
|
|
46
|
+
'chainId': value.chainId,
|
|
47
|
+
'chainName': value.chainName,
|
|
48
|
+
'decimals': value.decimals,
|
|
49
|
+
'logoUrl': value.logoUrl,
|
|
50
|
+
'name': value.name,
|
|
51
|
+
'symbol': value.symbol,
|
|
52
|
+
'type': value.type,
|
|
53
|
+
'usdPrice': value.usdPrice,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
exports.EvmAssetFromJSON = EvmAssetFromJSON;
|
|
58
|
+
exports.EvmAssetFromJSONTyped = EvmAssetFromJSONTyped;
|
|
59
|
+
exports.EvmAssetToJSON = EvmAssetToJSON;
|
|
@@ -0,0 +1,75 @@
|
|
|
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 EvmAsset
|
|
16
|
+
*/
|
|
17
|
+
export interface EvmAsset {
|
|
18
|
+
/**
|
|
19
|
+
* Valid blockchain wallet address, must be an alphanumeric string without any special characters
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EvmAsset
|
|
22
|
+
*/
|
|
23
|
+
address: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof EvmAsset
|
|
28
|
+
*/
|
|
29
|
+
chainId: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EvmAsset
|
|
34
|
+
*/
|
|
35
|
+
chainName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof EvmAsset
|
|
40
|
+
*/
|
|
41
|
+
decimals: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof EvmAsset
|
|
46
|
+
*/
|
|
47
|
+
logoUrl: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof EvmAsset
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof EvmAsset
|
|
58
|
+
*/
|
|
59
|
+
symbol: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof EvmAsset
|
|
64
|
+
*/
|
|
65
|
+
type: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof EvmAsset
|
|
70
|
+
*/
|
|
71
|
+
usdPrice: string;
|
|
72
|
+
}
|
|
73
|
+
export declare function EvmAssetFromJSON(json: any): EvmAsset;
|
|
74
|
+
export declare function EvmAssetFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvmAsset;
|
|
75
|
+
export declare function EvmAssetToJSON(value?: EvmAsset | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 EvmAssetFromJSON(json) {
|
|
15
|
+
return EvmAssetFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function EvmAssetFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'address': json['address'],
|
|
23
|
+
'chainId': json['chainId'],
|
|
24
|
+
'chainName': json['chainName'],
|
|
25
|
+
'decimals': json['decimals'],
|
|
26
|
+
'logoUrl': json['logoUrl'],
|
|
27
|
+
'name': json['name'],
|
|
28
|
+
'symbol': json['symbol'],
|
|
29
|
+
'type': json['type'],
|
|
30
|
+
'usdPrice': json['usdPrice'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function EvmAssetToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'address': value.address,
|
|
42
|
+
'chainId': value.chainId,
|
|
43
|
+
'chainName': value.chainName,
|
|
44
|
+
'decimals': value.decimals,
|
|
45
|
+
'logoUrl': value.logoUrl,
|
|
46
|
+
'name': value.name,
|
|
47
|
+
'symbol': value.symbol,
|
|
48
|
+
'type': value.type,
|
|
49
|
+
'usdPrice': value.usdPrice,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { EvmAssetFromJSON, EvmAssetFromJSONTyped, EvmAssetToJSON };
|
|
@@ -0,0 +1,49 @@
|
|
|
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 EvmAssetTransferFromJSON(json) {
|
|
19
|
+
return EvmAssetTransferFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function EvmAssetTransferFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'rawValue': json['rawValue'],
|
|
27
|
+
'summary': json['summary'],
|
|
28
|
+
'usdPrice': json['usdPrice'],
|
|
29
|
+
'value': json['value'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function EvmAssetTransferToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'rawValue': value.rawValue,
|
|
41
|
+
'summary': value.summary,
|
|
42
|
+
'usdPrice': value.usdPrice,
|
|
43
|
+
'value': value.value,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
exports.EvmAssetTransferFromJSON = EvmAssetTransferFromJSON;
|
|
48
|
+
exports.EvmAssetTransferFromJSONTyped = EvmAssetTransferFromJSONTyped;
|
|
49
|
+
exports.EvmAssetTransferToJSON = EvmAssetTransferToJSON;
|
|
@@ -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 EvmAssetTransfer
|
|
16
|
+
*/
|
|
17
|
+
export interface EvmAssetTransfer {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EvmAssetTransfer
|
|
22
|
+
*/
|
|
23
|
+
rawValue: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EvmAssetTransfer
|
|
28
|
+
*/
|
|
29
|
+
summary: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EvmAssetTransfer
|
|
34
|
+
*/
|
|
35
|
+
usdPrice: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EvmAssetTransfer
|
|
40
|
+
*/
|
|
41
|
+
value: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function EvmAssetTransferFromJSON(json: any): EvmAssetTransfer;
|
|
44
|
+
export declare function EvmAssetTransferFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvmAssetTransfer;
|
|
45
|
+
export declare function EvmAssetTransferToJSON(value?: EvmAssetTransfer | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 EvmAssetTransferFromJSON(json) {
|
|
15
|
+
return EvmAssetTransferFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function EvmAssetTransferFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'rawValue': json['rawValue'],
|
|
23
|
+
'summary': json['summary'],
|
|
24
|
+
'usdPrice': json['usdPrice'],
|
|
25
|
+
'value': json['value'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function EvmAssetTransferToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'rawValue': value.rawValue,
|
|
37
|
+
'summary': value.summary,
|
|
38
|
+
'usdPrice': value.usdPrice,
|
|
39
|
+
'value': value.value,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { EvmAssetTransferFromJSON, EvmAssetTransferFromJSONTyped, EvmAssetTransferToJSON };
|
package/src/models/Provider.d.ts
CHANGED
|
@@ -93,11 +93,11 @@ export interface Provider {
|
|
|
93
93
|
*/
|
|
94
94
|
termsAcceptedByUser?: ProviderAgreement;
|
|
95
95
|
/**
|
|
96
|
-
* Optional custom list of Oauth scopes for the social provider
|
|
97
|
-
* @type {
|
|
96
|
+
* Optional custom space-delimited list of Oauth scopes for the social provider
|
|
97
|
+
* @type {string}
|
|
98
98
|
* @memberof Provider
|
|
99
99
|
*/
|
|
100
|
-
scopes?:
|
|
100
|
+
scopes?: string;
|
|
101
101
|
/**
|
|
102
102
|
* Key ID required for Apple Oauth2 applications. This is the identifier for a private key.
|
|
103
103
|
* @type {string}
|
|
@@ -73,11 +73,11 @@ export interface ProviderCreateRequest {
|
|
|
73
73
|
*/
|
|
74
74
|
useDynamicCredentials?: boolean;
|
|
75
75
|
/**
|
|
76
|
-
* Optional custom list of Oauth scopes for the social provider
|
|
77
|
-
* @type {
|
|
76
|
+
* Optional custom space-delimited list of Oauth scopes for the social provider
|
|
77
|
+
* @type {string}
|
|
78
78
|
* @memberof ProviderCreateRequest
|
|
79
79
|
*/
|
|
80
|
-
scopes?:
|
|
80
|
+
scopes?: string;
|
|
81
81
|
/**
|
|
82
82
|
* Key ID required for Apple Oauth2 applications. This is the identifier for a private key.
|
|
83
83
|
* @type {string}
|
|
@@ -60,11 +60,11 @@ export interface ProviderUpdateRequest {
|
|
|
60
60
|
*/
|
|
61
61
|
useDynamicCredentials?: boolean;
|
|
62
62
|
/**
|
|
63
|
-
* Optional custom list of Oauth scopes for the social provider
|
|
64
|
-
* @type {
|
|
63
|
+
* Optional custom space-delimited list of Oauth scopes for the social provider
|
|
64
|
+
* @type {string}
|
|
65
65
|
* @memberof ProviderUpdateRequest
|
|
66
66
|
*/
|
|
67
|
-
scopes?:
|
|
67
|
+
scopes?: string;
|
|
68
68
|
/**
|
|
69
69
|
* Key ID required for Apple Oauth2 applications. This is the identifier for a private key.
|
|
70
70
|
* @type {string}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SimulateEvmTransactionRequestFromJSON(json) {
|
|
9
|
+
return SimulateEvmTransactionRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SimulateEvmTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'chainId': json['chainId'],
|
|
17
|
+
'data': json['data'],
|
|
18
|
+
'from': json['from'],
|
|
19
|
+
'to': json['to'],
|
|
20
|
+
'value': json['value'],
|
|
21
|
+
'domain': !runtime.exists(json, 'domain') ? undefined : json['domain'],
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function SimulateEvmTransactionRequestToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'chainId': value.chainId,
|
|
33
|
+
'data': value.data,
|
|
34
|
+
'from': value.from,
|
|
35
|
+
'to': value.to,
|
|
36
|
+
'value': value.value,
|
|
37
|
+
'domain': value.domain,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.SimulateEvmTransactionRequestFromJSON = SimulateEvmTransactionRequestFromJSON;
|
|
42
|
+
exports.SimulateEvmTransactionRequestFromJSONTyped = SimulateEvmTransactionRequestFromJSONTyped;
|
|
43
|
+
exports.SimulateEvmTransactionRequestToJSON = SimulateEvmTransactionRequestToJSON;
|
|
@@ -0,0 +1,57 @@
|
|
|
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 SimulateEvmTransactionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SimulateEvmTransactionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SimulateEvmTransactionRequest
|
|
22
|
+
*/
|
|
23
|
+
chainId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SimulateEvmTransactionRequest
|
|
28
|
+
*/
|
|
29
|
+
data: string;
|
|
30
|
+
/**
|
|
31
|
+
* Valid blockchain wallet address, must be an alphanumeric string without any special characters
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SimulateEvmTransactionRequest
|
|
34
|
+
*/
|
|
35
|
+
from: string;
|
|
36
|
+
/**
|
|
37
|
+
* Valid blockchain wallet address, must be an alphanumeric string without any special characters
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SimulateEvmTransactionRequest
|
|
40
|
+
*/
|
|
41
|
+
to: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SimulateEvmTransactionRequest
|
|
46
|
+
*/
|
|
47
|
+
value: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SimulateEvmTransactionRequest
|
|
52
|
+
*/
|
|
53
|
+
domain?: string;
|
|
54
|
+
}
|
|
55
|
+
export declare function SimulateEvmTransactionRequestFromJSON(json: any): SimulateEvmTransactionRequest;
|
|
56
|
+
export declare function SimulateEvmTransactionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimulateEvmTransactionRequest;
|
|
57
|
+
export declare function SimulateEvmTransactionRequestToJSON(value?: SimulateEvmTransactionRequest | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SimulateEvmTransactionRequestFromJSON(json) {
|
|
5
|
+
return SimulateEvmTransactionRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SimulateEvmTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'chainId': json['chainId'],
|
|
13
|
+
'data': json['data'],
|
|
14
|
+
'from': json['from'],
|
|
15
|
+
'to': json['to'],
|
|
16
|
+
'value': json['value'],
|
|
17
|
+
'domain': !exists(json, 'domain') ? undefined : json['domain'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function SimulateEvmTransactionRequestToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'chainId': value.chainId,
|
|
29
|
+
'data': value.data,
|
|
30
|
+
'from': value.from,
|
|
31
|
+
'to': value.to,
|
|
32
|
+
'value': value.value,
|
|
33
|
+
'domain': value.domain,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { SimulateEvmTransactionRequestFromJSON, SimulateEvmTransactionRequestFromJSONTyped, SimulateEvmTransactionRequestToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var AssetDiff = require('./AssetDiff.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SimulateEvmTransactionResponseFromJSON(json) {
|
|
9
|
+
return SimulateEvmTransactionResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SimulateEvmTransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'inAssets': (json['inAssets'].map(AssetDiff.AssetDiffFromJSON)),
|
|
17
|
+
'outAssets': (json['outAssets'].map(AssetDiff.AssetDiffFromJSON)),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function SimulateEvmTransactionResponseToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'inAssets': (value.inAssets.map(AssetDiff.AssetDiffToJSON)),
|
|
29
|
+
'outAssets': (value.outAssets.map(AssetDiff.AssetDiffToJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.SimulateEvmTransactionResponseFromJSON = SimulateEvmTransactionResponseFromJSON;
|
|
34
|
+
exports.SimulateEvmTransactionResponseFromJSONTyped = SimulateEvmTransactionResponseFromJSONTyped;
|
|
35
|
+
exports.SimulateEvmTransactionResponseToJSON = SimulateEvmTransactionResponseToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { AssetDiff } from './AssetDiff';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SimulateEvmTransactionResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SimulateEvmTransactionResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<AssetDiff>}
|
|
22
|
+
* @memberof SimulateEvmTransactionResponse
|
|
23
|
+
*/
|
|
24
|
+
inAssets: Array<AssetDiff>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<AssetDiff>}
|
|
28
|
+
* @memberof SimulateEvmTransactionResponse
|
|
29
|
+
*/
|
|
30
|
+
outAssets: Array<AssetDiff>;
|
|
31
|
+
}
|
|
32
|
+
export declare function SimulateEvmTransactionResponseFromJSON(json: any): SimulateEvmTransactionResponse;
|
|
33
|
+
export declare function SimulateEvmTransactionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimulateEvmTransactionResponse;
|
|
34
|
+
export declare function SimulateEvmTransactionResponseToJSON(value?: SimulateEvmTransactionResponse | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AssetDiffFromJSON, AssetDiffToJSON } from './AssetDiff.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SimulateEvmTransactionResponseFromJSON(json) {
|
|
5
|
+
return SimulateEvmTransactionResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SimulateEvmTransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'inAssets': (json['inAssets'].map(AssetDiffFromJSON)),
|
|
13
|
+
'outAssets': (json['outAssets'].map(AssetDiffFromJSON)),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function SimulateEvmTransactionResponseToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'inAssets': (value.inAssets.map(AssetDiffToJSON)),
|
|
25
|
+
'outAssets': (value.outAssets.map(AssetDiffToJSON)),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { SimulateEvmTransactionResponseFromJSON, SimulateEvmTransactionResponseFromJSONTyped, SimulateEvmTransactionResponseToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './AllowlistEntry';
|
|
|
6
6
|
export * from './AnalyticsSessionsByDate';
|
|
7
7
|
export * from './AnalyticsSessionsByDateSessions';
|
|
8
8
|
export * from './AnalyticsVisitResponse';
|
|
9
|
+
export * from './AssetDiff';
|
|
9
10
|
export * from './AttestationConveyancePreference';
|
|
10
11
|
export * from './AuthModeEnum';
|
|
11
12
|
export * from './AuthSettings';
|
|
@@ -91,6 +92,8 @@ export * from './EnvironmentsResponseEnvironments';
|
|
|
91
92
|
export * from './ErrorMessageWithCode';
|
|
92
93
|
export * from './Event';
|
|
93
94
|
export * from './EventType';
|
|
95
|
+
export * from './EvmAsset';
|
|
96
|
+
export * from './EvmAssetTransfer';
|
|
94
97
|
export * from './Export';
|
|
95
98
|
export * from './ExportCreateRequest';
|
|
96
99
|
export * from './ExportCreateRequestFilter';
|
|
@@ -272,6 +275,8 @@ export * from './SdkViewUpdateRequest';
|
|
|
272
275
|
export * from './SdkViewsResponse';
|
|
273
276
|
export * from './Session';
|
|
274
277
|
export * from './SignInProviderEnum';
|
|
278
|
+
export * from './SimulateEvmTransactionRequest';
|
|
279
|
+
export * from './SimulateEvmTransactionResponse';
|
|
275
280
|
export * from './SmsCountryCode';
|
|
276
281
|
export * from './SmsVerificationCreateRequest';
|
|
277
282
|
export * from './SmsVerificationCreateResponse';
|