@dynamic-labs/sdk-api-core 0.0.887 → 0.0.889
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 +42 -1
- package/src/apis/SDKApi.d.ts +15 -1
- package/src/apis/SDKApi.js +42 -1
- package/src/apis/WaasApi.cjs +1 -1
- package/src/apis/WaasApi.js +1 -1
- package/src/index.cjs +12 -4
- package/src/index.js +3 -1
- package/src/models/ChainDestinationConfig.cjs +38 -0
- package/src/models/ChainDestinationConfig.d.ts +41 -0
- package/src/models/ChainDestinationConfig.js +32 -0
- package/src/models/ChainSettlementConfig.cjs +39 -0
- package/src/models/ChainSettlementConfig.d.ts +46 -0
- package/src/models/ChainSettlementConfig.js +33 -0
- package/src/models/CheckoutTransaction.cjs +5 -0
- package/src/models/CheckoutTransaction.d.ts +13 -0
- package/src/models/CheckoutTransaction.js +5 -0
- package/src/models/DestinationConfigInput.cjs +3 -5
- package/src/models/DestinationConfigInput.d.ts +3 -9
- package/src/models/DestinationConfigInput.js +3 -5
- package/src/models/{SettlementTokenInput.cjs → RealtimeAuthTokenResponse.cjs} +9 -13
- package/src/models/RealtimeAuthTokenResponse.d.ts +27 -0
- package/src/models/{SettlementTokenInput.js → RealtimeAuthTokenResponse.js} +7 -11
- package/src/models/SettlementConfigInput.cjs +3 -3
- package/src/models/SettlementConfigInput.d.ts +3 -3
- package/src/models/SettlementConfigInput.js +3 -3
- package/src/models/index.d.ts +3 -1
- package/src/models/SettlementTokenInput.d.ts +0 -39
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -34,8 +34,8 @@ require('../models/MfaBackupCodeAcknowledgement.cjs');
|
|
|
34
34
|
require('../models/CustomFieldType.cjs');
|
|
35
35
|
require('../models/KycFieldType.cjs');
|
|
36
36
|
require('../models/ChainEnum.cjs');
|
|
37
|
-
require('../models/CheckoutModeEnum.cjs');
|
|
38
37
|
require('../models/DestinationTypeEnum.cjs');
|
|
38
|
+
require('../models/CheckoutModeEnum.cjs');
|
|
39
39
|
require('../models/SettlementStrategyEnum.cjs');
|
|
40
40
|
require('../models/CheckoutExecutionStateEnum.cjs');
|
|
41
41
|
require('../models/CheckoutRiskStateEnum.cjs');
|
|
@@ -170,6 +170,7 @@ require('../models/ZerodevBundlerProvider.cjs');
|
|
|
170
170
|
var PublishEvents = require('../models/PublishEvents.cjs');
|
|
171
171
|
require('../models/PublishEventsEvents.cjs');
|
|
172
172
|
var QuoteRequest = require('../models/QuoteRequest.cjs');
|
|
173
|
+
var RealtimeAuthTokenResponse = require('../models/RealtimeAuthTokenResponse.cjs');
|
|
173
174
|
var RecordBroadcastRequest = require('../models/RecordBroadcastRequest.cjs');
|
|
174
175
|
var RecoverMultipleClientKeySharesRequest = require('../models/RecoverMultipleClientKeySharesRequest.cjs');
|
|
175
176
|
var RecoverMultipleClientKeySharesResponse = require('../models/RecoverMultipleClientKeySharesResponse.cjs');
|
|
@@ -4519,6 +4520,46 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4519
4520
|
yield this.getPasskeyRegistrationOptionsOptionsRaw(requestParameters, initOverrides);
|
|
4520
4521
|
});
|
|
4521
4522
|
}
|
|
4523
|
+
/**
|
|
4524
|
+
* Returns a short-lived JWT for subscribing to realtime channels.
|
|
4525
|
+
* Get a realtime auth token
|
|
4526
|
+
*/
|
|
4527
|
+
getRealtimeAuthTokenRaw(requestParameters, initOverrides) {
|
|
4528
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4529
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
4530
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getRealtimeAuthToken.');
|
|
4531
|
+
}
|
|
4532
|
+
const queryParameters = {};
|
|
4533
|
+
if (requestParameters.capabilities !== undefined) {
|
|
4534
|
+
queryParameters['capabilities'] = requestParameters.capabilities;
|
|
4535
|
+
}
|
|
4536
|
+
const headerParameters = {};
|
|
4537
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
4538
|
+
const token = this.configuration.accessToken;
|
|
4539
|
+
const tokenString = yield token("bearerAuth", []);
|
|
4540
|
+
if (tokenString) {
|
|
4541
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
4542
|
+
}
|
|
4543
|
+
}
|
|
4544
|
+
const response = yield this.request({
|
|
4545
|
+
path: `/sdk/{environmentId}/realtime/auth`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
4546
|
+
method: 'GET',
|
|
4547
|
+
headers: headerParameters,
|
|
4548
|
+
query: queryParameters,
|
|
4549
|
+
}, initOverrides);
|
|
4550
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RealtimeAuthTokenResponse.RealtimeAuthTokenResponseFromJSON(jsonValue));
|
|
4551
|
+
});
|
|
4552
|
+
}
|
|
4553
|
+
/**
|
|
4554
|
+
* Returns a short-lived JWT for subscribing to realtime channels.
|
|
4555
|
+
* Get a realtime auth token
|
|
4556
|
+
*/
|
|
4557
|
+
getRealtimeAuthToken(requestParameters, initOverrides) {
|
|
4558
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4559
|
+
const response = yield this.getRealtimeAuthTokenRaw(requestParameters, initOverrides);
|
|
4560
|
+
return yield response.value();
|
|
4561
|
+
});
|
|
4562
|
+
}
|
|
4522
4563
|
/**
|
|
4523
4564
|
* Returns the MFA recovery codes for the authenticated user.
|
|
4524
4565
|
* Get recovery codes
|
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 { Account, AttachSourceRequest, BackupKeySharesToLocationRequest, BackupKeySharesToLocationResponse, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BackupMultipleClientKeySharesResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthSigninRequest, FarcasterSignInRequest, GeneratedTokenResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, QuoteRequest, RecordBroadcastRequest, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateResponse, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WalletSanctionsResponse, WalletTransactionsResponse } from '../models';
|
|
13
|
+
import { Account, AttachSourceRequest, BackupKeySharesToLocationRequest, BackupKeySharesToLocationResponse, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BackupMultipleClientKeySharesResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthSigninRequest, FarcasterSignInRequest, GeneratedTokenResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, QuoteRequest, RealtimeAuthTokenResponse, RecordBroadcastRequest, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateResponse, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WalletSanctionsResponse, WalletTransactionsResponse } from '../models';
|
|
14
14
|
export interface AttachSourceOperationRequest {
|
|
15
15
|
environmentId: string;
|
|
16
16
|
transactionId: string;
|
|
@@ -495,6 +495,10 @@ export interface GetPasskeyRegistrationOptionsRequest {
|
|
|
495
495
|
export interface GetPasskeyRegistrationOptionsOptionsRequest {
|
|
496
496
|
environmentId: string;
|
|
497
497
|
}
|
|
498
|
+
export interface GetRealtimeAuthTokenRequest {
|
|
499
|
+
environmentId: string;
|
|
500
|
+
capabilities?: string;
|
|
501
|
+
}
|
|
498
502
|
export interface GetRecoveryCodesRequest {
|
|
499
503
|
environmentId: string;
|
|
500
504
|
}
|
|
@@ -2256,6 +2260,16 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
2256
2260
|
* Options call for this endpoint
|
|
2257
2261
|
*/
|
|
2258
2262
|
getPasskeyRegistrationOptionsOptions(requestParameters: GetPasskeyRegistrationOptionsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
2263
|
+
/**
|
|
2264
|
+
* Returns a short-lived JWT for subscribing to realtime channels.
|
|
2265
|
+
* Get a realtime auth token
|
|
2266
|
+
*/
|
|
2267
|
+
getRealtimeAuthTokenRaw(requestParameters: GetRealtimeAuthTokenRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RealtimeAuthTokenResponse>>;
|
|
2268
|
+
/**
|
|
2269
|
+
* Returns a short-lived JWT for subscribing to realtime channels.
|
|
2270
|
+
* Get a realtime auth token
|
|
2271
|
+
*/
|
|
2272
|
+
getRealtimeAuthToken(requestParameters: GetRealtimeAuthTokenRequest, initOverrides?: RequestInit): Promise<RealtimeAuthTokenResponse>;
|
|
2259
2273
|
/**
|
|
2260
2274
|
* Returns the MFA recovery codes for the authenticated user.
|
|
2261
2275
|
* Get recovery codes
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -30,8 +30,8 @@ import '../models/MfaBackupCodeAcknowledgement.js';
|
|
|
30
30
|
import '../models/CustomFieldType.js';
|
|
31
31
|
import '../models/KycFieldType.js';
|
|
32
32
|
import '../models/ChainEnum.js';
|
|
33
|
-
import '../models/CheckoutModeEnum.js';
|
|
34
33
|
import '../models/DestinationTypeEnum.js';
|
|
34
|
+
import '../models/CheckoutModeEnum.js';
|
|
35
35
|
import '../models/SettlementStrategyEnum.js';
|
|
36
36
|
import '../models/CheckoutExecutionStateEnum.js';
|
|
37
37
|
import '../models/CheckoutRiskStateEnum.js';
|
|
@@ -166,6 +166,7 @@ import '../models/ZerodevBundlerProvider.js';
|
|
|
166
166
|
import { PublishEventsToJSON } from '../models/PublishEvents.js';
|
|
167
167
|
import '../models/PublishEventsEvents.js';
|
|
168
168
|
import { QuoteRequestToJSON } from '../models/QuoteRequest.js';
|
|
169
|
+
import { RealtimeAuthTokenResponseFromJSON } from '../models/RealtimeAuthTokenResponse.js';
|
|
169
170
|
import { RecordBroadcastRequestToJSON } from '../models/RecordBroadcastRequest.js';
|
|
170
171
|
import { RecoverMultipleClientKeySharesRequestToJSON } from '../models/RecoverMultipleClientKeySharesRequest.js';
|
|
171
172
|
import { RecoverMultipleClientKeySharesResponseFromJSON } from '../models/RecoverMultipleClientKeySharesResponse.js';
|
|
@@ -4515,6 +4516,46 @@ class SDKApi extends BaseAPI {
|
|
|
4515
4516
|
yield this.getPasskeyRegistrationOptionsOptionsRaw(requestParameters, initOverrides);
|
|
4516
4517
|
});
|
|
4517
4518
|
}
|
|
4519
|
+
/**
|
|
4520
|
+
* Returns a short-lived JWT for subscribing to realtime channels.
|
|
4521
|
+
* Get a realtime auth token
|
|
4522
|
+
*/
|
|
4523
|
+
getRealtimeAuthTokenRaw(requestParameters, initOverrides) {
|
|
4524
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4525
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
4526
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getRealtimeAuthToken.');
|
|
4527
|
+
}
|
|
4528
|
+
const queryParameters = {};
|
|
4529
|
+
if (requestParameters.capabilities !== undefined) {
|
|
4530
|
+
queryParameters['capabilities'] = requestParameters.capabilities;
|
|
4531
|
+
}
|
|
4532
|
+
const headerParameters = {};
|
|
4533
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
4534
|
+
const token = this.configuration.accessToken;
|
|
4535
|
+
const tokenString = yield token("bearerAuth", []);
|
|
4536
|
+
if (tokenString) {
|
|
4537
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
4538
|
+
}
|
|
4539
|
+
}
|
|
4540
|
+
const response = yield this.request({
|
|
4541
|
+
path: `/sdk/{environmentId}/realtime/auth`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
4542
|
+
method: 'GET',
|
|
4543
|
+
headers: headerParameters,
|
|
4544
|
+
query: queryParameters,
|
|
4545
|
+
}, initOverrides);
|
|
4546
|
+
return new JSONApiResponse(response, (jsonValue) => RealtimeAuthTokenResponseFromJSON(jsonValue));
|
|
4547
|
+
});
|
|
4548
|
+
}
|
|
4549
|
+
/**
|
|
4550
|
+
* Returns a short-lived JWT for subscribing to realtime channels.
|
|
4551
|
+
* Get a realtime auth token
|
|
4552
|
+
*/
|
|
4553
|
+
getRealtimeAuthToken(requestParameters, initOverrides) {
|
|
4554
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4555
|
+
const response = yield this.getRealtimeAuthTokenRaw(requestParameters, initOverrides);
|
|
4556
|
+
return yield response.value();
|
|
4557
|
+
});
|
|
4558
|
+
}
|
|
4518
4559
|
/**
|
|
4519
4560
|
* Returns the MFA recovery codes for the authenticated user.
|
|
4520
4561
|
* Get recovery codes
|
package/src/apis/WaasApi.cjs
CHANGED
|
@@ -29,8 +29,8 @@ require('../models/MfaBackupCodeAcknowledgement.cjs');
|
|
|
29
29
|
require('../models/CustomFieldType.cjs');
|
|
30
30
|
require('../models/KycFieldType.cjs');
|
|
31
31
|
require('../models/ChainEnum.cjs');
|
|
32
|
-
require('../models/CheckoutModeEnum.cjs');
|
|
33
32
|
require('../models/DestinationTypeEnum.cjs');
|
|
33
|
+
require('../models/CheckoutModeEnum.cjs');
|
|
34
34
|
require('../models/SettlementStrategyEnum.cjs');
|
|
35
35
|
require('../models/CheckoutExecutionStateEnum.cjs');
|
|
36
36
|
require('../models/CheckoutRiskStateEnum.cjs');
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -25,8 +25,8 @@ import '../models/MfaBackupCodeAcknowledgement.js';
|
|
|
25
25
|
import '../models/CustomFieldType.js';
|
|
26
26
|
import '../models/KycFieldType.js';
|
|
27
27
|
import '../models/ChainEnum.js';
|
|
28
|
-
import '../models/CheckoutModeEnum.js';
|
|
29
28
|
import '../models/DestinationTypeEnum.js';
|
|
29
|
+
import '../models/CheckoutModeEnum.js';
|
|
30
30
|
import '../models/SettlementStrategyEnum.js';
|
|
31
31
|
import '../models/CheckoutExecutionStateEnum.js';
|
|
32
32
|
import '../models/CheckoutRiskStateEnum.js';
|
package/src/index.cjs
CHANGED
|
@@ -36,7 +36,9 @@ var BadRequest = require('./models/BadRequest.cjs');
|
|
|
36
36
|
var BaseUser = require('./models/BaseUser.cjs');
|
|
37
37
|
var BlockaidValidation = require('./models/BlockaidValidation.cjs');
|
|
38
38
|
var ChainConfiguration = require('./models/ChainConfiguration.cjs');
|
|
39
|
+
var ChainDestinationConfig = require('./models/ChainDestinationConfig.cjs');
|
|
39
40
|
var ChainEnum = require('./models/ChainEnum.cjs');
|
|
41
|
+
var ChainSettlementConfig = require('./models/ChainSettlementConfig.cjs');
|
|
40
42
|
var Checkout = require('./models/Checkout.cjs');
|
|
41
43
|
var CheckoutCreateRequest = require('./models/CheckoutCreateRequest.cjs');
|
|
42
44
|
var CheckoutEvmApprovalData = require('./models/CheckoutEvmApprovalData.cjs');
|
|
@@ -300,6 +302,7 @@ var PublishEventsEvents = require('./models/PublishEventsEvents.cjs');
|
|
|
300
302
|
var QuoteRequest = require('./models/QuoteRequest.cjs');
|
|
301
303
|
var RampConfiguration = require('./models/RampConfiguration.cjs');
|
|
302
304
|
var ReactSettings = require('./models/ReactSettings.cjs');
|
|
305
|
+
var RealtimeAuthTokenResponse = require('./models/RealtimeAuthTokenResponse.cjs');
|
|
303
306
|
var RecordBroadcastRequest = require('./models/RecordBroadcastRequest.cjs');
|
|
304
307
|
var RecoverMultipleClientKeySharesRequest = require('./models/RecoverMultipleClientKeySharesRequest.cjs');
|
|
305
308
|
var RecoverMultipleClientKeySharesResponse = require('./models/RecoverMultipleClientKeySharesResponse.cjs');
|
|
@@ -322,7 +325,6 @@ var SdkViewsResponse = require('./models/SdkViewsResponse.cjs');
|
|
|
322
325
|
var SecurityNotifications = require('./models/SecurityNotifications.cjs');
|
|
323
326
|
var SettlementConfigInput = require('./models/SettlementConfigInput.cjs');
|
|
324
327
|
var SettlementStrategyEnum = require('./models/SettlementStrategyEnum.cjs');
|
|
325
|
-
var SettlementTokenInput = require('./models/SettlementTokenInput.cjs');
|
|
326
328
|
var SignInProviderEnum = require('./models/SignInProviderEnum.cjs');
|
|
327
329
|
var SignMessageAuthorizationSignature = require('./models/SignMessageAuthorizationSignature.cjs');
|
|
328
330
|
var SignMessageBtcTransaction = require('./models/SignMessageBtcTransaction.cjs');
|
|
@@ -557,6 +559,9 @@ exports.BlockaidValidationToJSON = BlockaidValidation.BlockaidValidationToJSON;
|
|
|
557
559
|
exports.ChainConfigurationFromJSON = ChainConfiguration.ChainConfigurationFromJSON;
|
|
558
560
|
exports.ChainConfigurationFromJSONTyped = ChainConfiguration.ChainConfigurationFromJSONTyped;
|
|
559
561
|
exports.ChainConfigurationToJSON = ChainConfiguration.ChainConfigurationToJSON;
|
|
562
|
+
exports.ChainDestinationConfigFromJSON = ChainDestinationConfig.ChainDestinationConfigFromJSON;
|
|
563
|
+
exports.ChainDestinationConfigFromJSONTyped = ChainDestinationConfig.ChainDestinationConfigFromJSONTyped;
|
|
564
|
+
exports.ChainDestinationConfigToJSON = ChainDestinationConfig.ChainDestinationConfigToJSON;
|
|
560
565
|
Object.defineProperty(exports, 'ChainEnum', {
|
|
561
566
|
enumerable: true,
|
|
562
567
|
get: function () { return ChainEnum.ChainEnum; }
|
|
@@ -564,6 +569,9 @@ Object.defineProperty(exports, 'ChainEnum', {
|
|
|
564
569
|
exports.ChainEnumFromJSON = ChainEnum.ChainEnumFromJSON;
|
|
565
570
|
exports.ChainEnumFromJSONTyped = ChainEnum.ChainEnumFromJSONTyped;
|
|
566
571
|
exports.ChainEnumToJSON = ChainEnum.ChainEnumToJSON;
|
|
572
|
+
exports.ChainSettlementConfigFromJSON = ChainSettlementConfig.ChainSettlementConfigFromJSON;
|
|
573
|
+
exports.ChainSettlementConfigFromJSONTyped = ChainSettlementConfig.ChainSettlementConfigFromJSONTyped;
|
|
574
|
+
exports.ChainSettlementConfigToJSON = ChainSettlementConfig.ChainSettlementConfigToJSON;
|
|
567
575
|
exports.CheckoutFromJSON = Checkout.CheckoutFromJSON;
|
|
568
576
|
exports.CheckoutFromJSONTyped = Checkout.CheckoutFromJSONTyped;
|
|
569
577
|
exports.CheckoutToJSON = Checkout.CheckoutToJSON;
|
|
@@ -1549,6 +1557,9 @@ exports.RampConfigurationToJSON = RampConfiguration.RampConfigurationToJSON;
|
|
|
1549
1557
|
exports.ReactSettingsFromJSON = ReactSettings.ReactSettingsFromJSON;
|
|
1550
1558
|
exports.ReactSettingsFromJSONTyped = ReactSettings.ReactSettingsFromJSONTyped;
|
|
1551
1559
|
exports.ReactSettingsToJSON = ReactSettings.ReactSettingsToJSON;
|
|
1560
|
+
exports.RealtimeAuthTokenResponseFromJSON = RealtimeAuthTokenResponse.RealtimeAuthTokenResponseFromJSON;
|
|
1561
|
+
exports.RealtimeAuthTokenResponseFromJSONTyped = RealtimeAuthTokenResponse.RealtimeAuthTokenResponseFromJSONTyped;
|
|
1562
|
+
exports.RealtimeAuthTokenResponseToJSON = RealtimeAuthTokenResponse.RealtimeAuthTokenResponseToJSON;
|
|
1552
1563
|
exports.RecordBroadcastRequestFromJSON = RecordBroadcastRequest.RecordBroadcastRequestFromJSON;
|
|
1553
1564
|
exports.RecordBroadcastRequestFromJSONTyped = RecordBroadcastRequest.RecordBroadcastRequestFromJSONTyped;
|
|
1554
1565
|
exports.RecordBroadcastRequestToJSON = RecordBroadcastRequest.RecordBroadcastRequestToJSON;
|
|
@@ -1639,9 +1650,6 @@ Object.defineProperty(exports, 'SettlementStrategyEnum', {
|
|
|
1639
1650
|
exports.SettlementStrategyEnumFromJSON = SettlementStrategyEnum.SettlementStrategyEnumFromJSON;
|
|
1640
1651
|
exports.SettlementStrategyEnumFromJSONTyped = SettlementStrategyEnum.SettlementStrategyEnumFromJSONTyped;
|
|
1641
1652
|
exports.SettlementStrategyEnumToJSON = SettlementStrategyEnum.SettlementStrategyEnumToJSON;
|
|
1642
|
-
exports.SettlementTokenInputFromJSON = SettlementTokenInput.SettlementTokenInputFromJSON;
|
|
1643
|
-
exports.SettlementTokenInputFromJSONTyped = SettlementTokenInput.SettlementTokenInputFromJSONTyped;
|
|
1644
|
-
exports.SettlementTokenInputToJSON = SettlementTokenInput.SettlementTokenInputToJSON;
|
|
1645
1653
|
Object.defineProperty(exports, 'SignInProviderEnum', {
|
|
1646
1654
|
enumerable: true,
|
|
1647
1655
|
get: function () { return SignInProviderEnum.SignInProviderEnum; }
|
package/src/index.js
CHANGED
|
@@ -32,7 +32,9 @@ export { BadRequestFromJSON, BadRequestFromJSONTyped, BadRequestToJSON } from '.
|
|
|
32
32
|
export { BaseUserFromJSON, BaseUserFromJSONTyped, BaseUserToJSON } from './models/BaseUser.js';
|
|
33
33
|
export { BlockaidValidationFromJSON, BlockaidValidationFromJSONTyped, BlockaidValidationToJSON } from './models/BlockaidValidation.js';
|
|
34
34
|
export { ChainConfigurationFromJSON, ChainConfigurationFromJSONTyped, ChainConfigurationToJSON } from './models/ChainConfiguration.js';
|
|
35
|
+
export { ChainDestinationConfigFromJSON, ChainDestinationConfigFromJSONTyped, ChainDestinationConfigToJSON } from './models/ChainDestinationConfig.js';
|
|
35
36
|
export { ChainEnum, ChainEnumFromJSON, ChainEnumFromJSONTyped, ChainEnumToJSON } from './models/ChainEnum.js';
|
|
37
|
+
export { ChainSettlementConfigFromJSON, ChainSettlementConfigFromJSONTyped, ChainSettlementConfigToJSON } from './models/ChainSettlementConfig.js';
|
|
36
38
|
export { CheckoutFromJSON, CheckoutFromJSONTyped, CheckoutToJSON } from './models/Checkout.js';
|
|
37
39
|
export { CheckoutCreateRequestFromJSON, CheckoutCreateRequestFromJSONTyped, CheckoutCreateRequestToJSON } from './models/CheckoutCreateRequest.js';
|
|
38
40
|
export { CheckoutEvmApprovalDataFromJSON, CheckoutEvmApprovalDataFromJSONTyped, CheckoutEvmApprovalDataToJSON } from './models/CheckoutEvmApprovalData.js';
|
|
@@ -296,6 +298,7 @@ export { PublishEventsEventsFromJSON, PublishEventsEventsFromJSONTyped, PublishE
|
|
|
296
298
|
export { QuoteRequestFromJSON, QuoteRequestFromJSONTyped, QuoteRequestToJSON } from './models/QuoteRequest.js';
|
|
297
299
|
export { RampConfigurationFromJSON, RampConfigurationFromJSONTyped, RampConfigurationToJSON } from './models/RampConfiguration.js';
|
|
298
300
|
export { ReactSettingsFromJSON, ReactSettingsFromJSONTyped, ReactSettingsToJSON } from './models/ReactSettings.js';
|
|
301
|
+
export { RealtimeAuthTokenResponseFromJSON, RealtimeAuthTokenResponseFromJSONTyped, RealtimeAuthTokenResponseToJSON } from './models/RealtimeAuthTokenResponse.js';
|
|
299
302
|
export { RecordBroadcastRequestFromJSON, RecordBroadcastRequestFromJSONTyped, RecordBroadcastRequestToJSON } from './models/RecordBroadcastRequest.js';
|
|
300
303
|
export { RecoverMultipleClientKeySharesRequestFromJSON, RecoverMultipleClientKeySharesRequestFromJSONTyped, RecoverMultipleClientKeySharesRequestToJSON } from './models/RecoverMultipleClientKeySharesRequest.js';
|
|
301
304
|
export { RecoverMultipleClientKeySharesResponseFromJSON, RecoverMultipleClientKeySharesResponseFromJSONTyped, RecoverMultipleClientKeySharesResponseToJSON } from './models/RecoverMultipleClientKeySharesResponse.js';
|
|
@@ -318,7 +321,6 @@ export { SdkViewsResponseFromJSON, SdkViewsResponseFromJSONTyped, SdkViewsRespon
|
|
|
318
321
|
export { SecurityNotificationsFromJSON, SecurityNotificationsFromJSONTyped, SecurityNotificationsToJSON } from './models/SecurityNotifications.js';
|
|
319
322
|
export { SettlementConfigInputFromJSON, SettlementConfigInputFromJSONTyped, SettlementConfigInputToJSON } from './models/SettlementConfigInput.js';
|
|
320
323
|
export { SettlementStrategyEnum, SettlementStrategyEnumFromJSON, SettlementStrategyEnumFromJSONTyped, SettlementStrategyEnumToJSON } from './models/SettlementStrategyEnum.js';
|
|
321
|
-
export { SettlementTokenInputFromJSON, SettlementTokenInputFromJSONTyped, SettlementTokenInputToJSON } from './models/SettlementTokenInput.js';
|
|
322
324
|
export { SignInProviderEnum, SignInProviderEnumFromJSON, SignInProviderEnumFromJSONTyped, SignInProviderEnumToJSON } from './models/SignInProviderEnum.js';
|
|
323
325
|
export { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSignatureFromJSONTyped, SignMessageAuthorizationSignatureToJSON } from './models/SignMessageAuthorizationSignature.js';
|
|
324
326
|
export { SignMessageBtcTransactionFromJSON, SignMessageBtcTransactionFromJSONTyped, SignMessageBtcTransactionToJSON } from './models/SignMessageBtcTransaction.js';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
6
|
+
var DestinationTypeEnum = require('./DestinationTypeEnum.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function ChainDestinationConfigFromJSON(json) {
|
|
10
|
+
return ChainDestinationConfigFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function ChainDestinationConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'chainName': ChainEnum.ChainEnumFromJSON(json['chainName']),
|
|
18
|
+
'type': DestinationTypeEnum.DestinationTypeEnumFromJSON(json['type']),
|
|
19
|
+
'identifier': json['identifier'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function ChainDestinationConfigToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'chainName': ChainEnum.ChainEnumToJSON(value.chainName),
|
|
31
|
+
'type': DestinationTypeEnum.DestinationTypeEnumToJSON(value.type),
|
|
32
|
+
'identifier': value.identifier,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
exports.ChainDestinationConfigFromJSON = ChainDestinationConfigFromJSON;
|
|
37
|
+
exports.ChainDestinationConfigFromJSONTyped = ChainDestinationConfigFromJSONTyped;
|
|
38
|
+
exports.ChainDestinationConfigToJSON = ChainDestinationConfigToJSON;
|
|
@@ -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 { ChainEnum } from './ChainEnum';
|
|
13
|
+
import { DestinationTypeEnum } from './DestinationTypeEnum';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ChainDestinationConfig
|
|
18
|
+
*/
|
|
19
|
+
export interface ChainDestinationConfig {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ChainEnum}
|
|
23
|
+
* @memberof ChainDestinationConfig
|
|
24
|
+
*/
|
|
25
|
+
chainName: ChainEnum;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {DestinationTypeEnum}
|
|
29
|
+
* @memberof ChainDestinationConfig
|
|
30
|
+
*/
|
|
31
|
+
type: DestinationTypeEnum;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ChainDestinationConfig
|
|
36
|
+
*/
|
|
37
|
+
identifier: string;
|
|
38
|
+
}
|
|
39
|
+
export declare function ChainDestinationConfigFromJSON(json: any): ChainDestinationConfig;
|
|
40
|
+
export declare function ChainDestinationConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChainDestinationConfig;
|
|
41
|
+
export declare function ChainDestinationConfigToJSON(value?: ChainDestinationConfig | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
2
|
+
import { DestinationTypeEnumFromJSON, DestinationTypeEnumToJSON } from './DestinationTypeEnum.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function ChainDestinationConfigFromJSON(json) {
|
|
6
|
+
return ChainDestinationConfigFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function ChainDestinationConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'chainName': ChainEnumFromJSON(json['chainName']),
|
|
14
|
+
'type': DestinationTypeEnumFromJSON(json['type']),
|
|
15
|
+
'identifier': json['identifier'],
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function ChainDestinationConfigToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'chainName': ChainEnumToJSON(value.chainName),
|
|
27
|
+
'type': DestinationTypeEnumToJSON(value.type),
|
|
28
|
+
'identifier': value.identifier,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { ChainDestinationConfigFromJSON, ChainDestinationConfigFromJSONTyped, ChainDestinationConfigToJSON };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function ChainSettlementConfigFromJSON(json) {
|
|
9
|
+
return ChainSettlementConfigFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function ChainSettlementConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'chainName': ChainEnum.ChainEnumFromJSON(json['chainName']),
|
|
17
|
+
'tokenAddress': json['tokenAddress'],
|
|
18
|
+
'chainId': json['chainId'],
|
|
19
|
+
'symbol': json['symbol'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function ChainSettlementConfigToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'chainName': ChainEnum.ChainEnumToJSON(value.chainName),
|
|
31
|
+
'tokenAddress': value.tokenAddress,
|
|
32
|
+
'chainId': value.chainId,
|
|
33
|
+
'symbol': value.symbol,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.ChainSettlementConfigFromJSON = ChainSettlementConfigFromJSON;
|
|
38
|
+
exports.ChainSettlementConfigFromJSONTyped = ChainSettlementConfigFromJSONTyped;
|
|
39
|
+
exports.ChainSettlementConfigToJSON = ChainSettlementConfigToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { ChainEnum } from './ChainEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ChainSettlementConfig
|
|
17
|
+
*/
|
|
18
|
+
export interface ChainSettlementConfig {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ChainEnum}
|
|
22
|
+
* @memberof ChainSettlementConfig
|
|
23
|
+
*/
|
|
24
|
+
chainName: ChainEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Valid blockchain wallet address, must be an alphanumeric string without any special characters
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ChainSettlementConfig
|
|
29
|
+
*/
|
|
30
|
+
tokenAddress: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ChainSettlementConfig
|
|
35
|
+
*/
|
|
36
|
+
chainId: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ChainSettlementConfig
|
|
41
|
+
*/
|
|
42
|
+
symbol: string;
|
|
43
|
+
}
|
|
44
|
+
export declare function ChainSettlementConfigFromJSON(json: any): ChainSettlementConfig;
|
|
45
|
+
export declare function ChainSettlementConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChainSettlementConfig;
|
|
46
|
+
export declare function ChainSettlementConfigToJSON(value?: ChainSettlementConfig | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function ChainSettlementConfigFromJSON(json) {
|
|
5
|
+
return ChainSettlementConfigFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function ChainSettlementConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'chainName': ChainEnumFromJSON(json['chainName']),
|
|
13
|
+
'tokenAddress': json['tokenAddress'],
|
|
14
|
+
'chainId': json['chainId'],
|
|
15
|
+
'symbol': json['symbol'],
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function ChainSettlementConfigToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'chainName': ChainEnumToJSON(value.chainName),
|
|
27
|
+
'tokenAddress': value.tokenAddress,
|
|
28
|
+
'chainId': value.chainId,
|
|
29
|
+
'symbol': value.symbol,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { ChainSettlementConfigFromJSON, ChainSettlementConfigFromJSONTyped, ChainSettlementConfigToJSON };
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
6
7
|
var CheckoutExecutionStateEnum = require('./CheckoutExecutionStateEnum.cjs');
|
|
7
8
|
var CheckoutFailure = require('./CheckoutFailure.cjs');
|
|
8
9
|
var CheckoutQuoteSnapshot = require('./CheckoutQuoteSnapshot.cjs');
|
|
@@ -33,9 +34,11 @@ function CheckoutTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
34
|
'sourceType': !runtime.exists(json, 'sourceType') ? undefined : CheckoutSourceTypeEnum.CheckoutSourceTypeEnumFromJSON(json['sourceType']),
|
|
34
35
|
'fromAddress': !runtime.exists(json, 'fromAddress') ? undefined : json['fromAddress'],
|
|
35
36
|
'fromChainId': !runtime.exists(json, 'fromChainId') ? undefined : json['fromChainId'],
|
|
37
|
+
'fromChainName': !runtime.exists(json, 'fromChainName') ? undefined : ChainEnum.ChainEnumFromJSON(json['fromChainName']),
|
|
36
38
|
'fromToken': !runtime.exists(json, 'fromToken') ? undefined : json['fromToken'],
|
|
37
39
|
'toAddress': !runtime.exists(json, 'toAddress') ? undefined : json['toAddress'],
|
|
38
40
|
'toChainId': !runtime.exists(json, 'toChainId') ? undefined : json['toChainId'],
|
|
41
|
+
'toChainName': !runtime.exists(json, 'toChainName') ? undefined : ChainEnum.ChainEnumFromJSON(json['toChainName']),
|
|
39
42
|
'toToken': !runtime.exists(json, 'toToken') ? undefined : json['toToken'],
|
|
40
43
|
'quoteVersion': json['quoteVersion'],
|
|
41
44
|
'quote': !runtime.exists(json, 'quote') ? undefined : CheckoutQuoteSnapshot.CheckoutQuoteSnapshotFromJSON(json['quote']),
|
|
@@ -74,9 +77,11 @@ function CheckoutTransactionToJSON(value) {
|
|
|
74
77
|
'sourceType': CheckoutSourceTypeEnum.CheckoutSourceTypeEnumToJSON(value.sourceType),
|
|
75
78
|
'fromAddress': value.fromAddress,
|
|
76
79
|
'fromChainId': value.fromChainId,
|
|
80
|
+
'fromChainName': ChainEnum.ChainEnumToJSON(value.fromChainName),
|
|
77
81
|
'fromToken': value.fromToken,
|
|
78
82
|
'toAddress': value.toAddress,
|
|
79
83
|
'toChainId': value.toChainId,
|
|
84
|
+
'toChainName': ChainEnum.ChainEnumToJSON(value.toChainName),
|
|
80
85
|
'toToken': value.toToken,
|
|
81
86
|
'quoteVersion': value.quoteVersion,
|
|
82
87
|
'quote': CheckoutQuoteSnapshot.CheckoutQuoteSnapshotToJSON(value.quote),
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ChainEnum } from './ChainEnum';
|
|
12
13
|
import { CheckoutExecutionStateEnum } from './CheckoutExecutionStateEnum';
|
|
13
14
|
import { CheckoutFailure } from './CheckoutFailure';
|
|
14
15
|
import { CheckoutQuoteSnapshot } from './CheckoutQuoteSnapshot';
|
|
@@ -95,6 +96,12 @@ export interface CheckoutTransaction {
|
|
|
95
96
|
* @memberof CheckoutTransaction
|
|
96
97
|
*/
|
|
97
98
|
fromChainId?: string;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {ChainEnum}
|
|
102
|
+
* @memberof CheckoutTransaction
|
|
103
|
+
*/
|
|
104
|
+
fromChainName?: ChainEnum;
|
|
98
105
|
/**
|
|
99
106
|
*
|
|
100
107
|
* @type {string}
|
|
@@ -113,6 +120,12 @@ export interface CheckoutTransaction {
|
|
|
113
120
|
* @memberof CheckoutTransaction
|
|
114
121
|
*/
|
|
115
122
|
toChainId?: string;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {ChainEnum}
|
|
126
|
+
* @memberof CheckoutTransaction
|
|
127
|
+
*/
|
|
128
|
+
toChainName?: ChainEnum;
|
|
116
129
|
/**
|
|
117
130
|
*
|
|
118
131
|
* @type {string}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
2
3
|
import { CheckoutExecutionStateEnumFromJSON, CheckoutExecutionStateEnumToJSON } from './CheckoutExecutionStateEnum.js';
|
|
3
4
|
import { CheckoutFailureFromJSON, CheckoutFailureToJSON } from './CheckoutFailure.js';
|
|
4
5
|
import { CheckoutQuoteSnapshotFromJSON, CheckoutQuoteSnapshotToJSON } from './CheckoutQuoteSnapshot.js';
|
|
@@ -29,9 +30,11 @@ function CheckoutTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
30
|
'sourceType': !exists(json, 'sourceType') ? undefined : CheckoutSourceTypeEnumFromJSON(json['sourceType']),
|
|
30
31
|
'fromAddress': !exists(json, 'fromAddress') ? undefined : json['fromAddress'],
|
|
31
32
|
'fromChainId': !exists(json, 'fromChainId') ? undefined : json['fromChainId'],
|
|
33
|
+
'fromChainName': !exists(json, 'fromChainName') ? undefined : ChainEnumFromJSON(json['fromChainName']),
|
|
32
34
|
'fromToken': !exists(json, 'fromToken') ? undefined : json['fromToken'],
|
|
33
35
|
'toAddress': !exists(json, 'toAddress') ? undefined : json['toAddress'],
|
|
34
36
|
'toChainId': !exists(json, 'toChainId') ? undefined : json['toChainId'],
|
|
37
|
+
'toChainName': !exists(json, 'toChainName') ? undefined : ChainEnumFromJSON(json['toChainName']),
|
|
35
38
|
'toToken': !exists(json, 'toToken') ? undefined : json['toToken'],
|
|
36
39
|
'quoteVersion': json['quoteVersion'],
|
|
37
40
|
'quote': !exists(json, 'quote') ? undefined : CheckoutQuoteSnapshotFromJSON(json['quote']),
|
|
@@ -70,9 +73,11 @@ function CheckoutTransactionToJSON(value) {
|
|
|
70
73
|
'sourceType': CheckoutSourceTypeEnumToJSON(value.sourceType),
|
|
71
74
|
'fromAddress': value.fromAddress,
|
|
72
75
|
'fromChainId': value.fromChainId,
|
|
76
|
+
'fromChainName': ChainEnumToJSON(value.fromChainName),
|
|
73
77
|
'fromToken': value.fromToken,
|
|
74
78
|
'toAddress': value.toAddress,
|
|
75
79
|
'toChainId': value.toChainId,
|
|
80
|
+
'toChainName': ChainEnumToJSON(value.toChainName),
|
|
76
81
|
'toToken': value.toToken,
|
|
77
82
|
'quoteVersion': value.quoteVersion,
|
|
78
83
|
'quote': CheckoutQuoteSnapshotToJSON(value.quote),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var ChainDestinationConfig = require('./ChainDestinationConfig.cjs');
|
|
6
6
|
|
|
7
7
|
/* tslint:disable */
|
|
8
8
|
function DestinationConfigInputFromJSON(json) {
|
|
@@ -13,8 +13,7 @@ function DestinationConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
return json;
|
|
14
14
|
}
|
|
15
15
|
return {
|
|
16
|
-
'
|
|
17
|
-
'identifier': json['identifier'],
|
|
16
|
+
'destinations': (json['destinations'].map(ChainDestinationConfig.ChainDestinationConfigFromJSON)),
|
|
18
17
|
};
|
|
19
18
|
}
|
|
20
19
|
function DestinationConfigInputToJSON(value) {
|
|
@@ -25,8 +24,7 @@ function DestinationConfigInputToJSON(value) {
|
|
|
25
24
|
return null;
|
|
26
25
|
}
|
|
27
26
|
return {
|
|
28
|
-
'
|
|
29
|
-
'identifier': value.identifier,
|
|
27
|
+
'destinations': (value.destinations.map(ChainDestinationConfig.ChainDestinationConfigToJSON)),
|
|
30
28
|
};
|
|
31
29
|
}
|
|
32
30
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { ChainDestinationConfig } from './ChainDestinationConfig';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,16 +18,10 @@ import { DestinationTypeEnum } from './DestinationTypeEnum';
|
|
|
18
18
|
export interface DestinationConfigInput {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {Array<ChainDestinationConfig>}
|
|
22
22
|
* @memberof DestinationConfigInput
|
|
23
23
|
*/
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof DestinationConfigInput
|
|
29
|
-
*/
|
|
30
|
-
identifier: string;
|
|
24
|
+
destinations: Array<ChainDestinationConfig>;
|
|
31
25
|
}
|
|
32
26
|
export declare function DestinationConfigInputFromJSON(json: any): DestinationConfigInput;
|
|
33
27
|
export declare function DestinationConfigInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DestinationConfigInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChainDestinationConfigFromJSON, ChainDestinationConfigToJSON } from './ChainDestinationConfig.js';
|
|
2
2
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
function DestinationConfigInputFromJSON(json) {
|
|
@@ -9,8 +9,7 @@ function DestinationConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
9
9
|
return json;
|
|
10
10
|
}
|
|
11
11
|
return {
|
|
12
|
-
'
|
|
13
|
-
'identifier': json['identifier'],
|
|
12
|
+
'destinations': (json['destinations'].map(ChainDestinationConfigFromJSON)),
|
|
14
13
|
};
|
|
15
14
|
}
|
|
16
15
|
function DestinationConfigInputToJSON(value) {
|
|
@@ -21,8 +20,7 @@ function DestinationConfigInputToJSON(value) {
|
|
|
21
20
|
return null;
|
|
22
21
|
}
|
|
23
22
|
return {
|
|
24
|
-
'
|
|
25
|
-
'identifier': value.identifier,
|
|
23
|
+
'destinations': (value.destinations.map(ChainDestinationConfigToJSON)),
|
|
26
24
|
};
|
|
27
25
|
}
|
|
28
26
|
|
|
@@ -15,20 +15,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
15
15
|
* https://openapi-generator.tech
|
|
16
16
|
* Do not edit the class manually.
|
|
17
17
|
*/
|
|
18
|
-
function
|
|
19
|
-
return
|
|
18
|
+
function RealtimeAuthTokenResponseFromJSON(json) {
|
|
19
|
+
return RealtimeAuthTokenResponseFromJSONTyped(json);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function RealtimeAuthTokenResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
22
|
if ((json === undefined) || (json === null)) {
|
|
23
23
|
return json;
|
|
24
24
|
}
|
|
25
25
|
return {
|
|
26
|
-
'
|
|
27
|
-
'chainId': json['chainId'],
|
|
28
|
-
'symbol': json['symbol'],
|
|
26
|
+
'token': json['token'],
|
|
29
27
|
};
|
|
30
28
|
}
|
|
31
|
-
function
|
|
29
|
+
function RealtimeAuthTokenResponseToJSON(value) {
|
|
32
30
|
if (value === undefined) {
|
|
33
31
|
return undefined;
|
|
34
32
|
}
|
|
@@ -36,12 +34,10 @@ function SettlementTokenInputToJSON(value) {
|
|
|
36
34
|
return null;
|
|
37
35
|
}
|
|
38
36
|
return {
|
|
39
|
-
'
|
|
40
|
-
'chainId': value.chainId,
|
|
41
|
-
'symbol': value.symbol,
|
|
37
|
+
'token': value.token,
|
|
42
38
|
};
|
|
43
39
|
}
|
|
44
40
|
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
41
|
+
exports.RealtimeAuthTokenResponseFromJSON = RealtimeAuthTokenResponseFromJSON;
|
|
42
|
+
exports.RealtimeAuthTokenResponseFromJSONTyped = RealtimeAuthTokenResponseFromJSONTyped;
|
|
43
|
+
exports.RealtimeAuthTokenResponseToJSON = RealtimeAuthTokenResponseToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
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 RealtimeAuthTokenResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface RealtimeAuthTokenResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Short-lived JWT for subscribing to realtime channels.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RealtimeAuthTokenResponse
|
|
22
|
+
*/
|
|
23
|
+
token: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function RealtimeAuthTokenResponseFromJSON(json: any): RealtimeAuthTokenResponse;
|
|
26
|
+
export declare function RealtimeAuthTokenResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RealtimeAuthTokenResponse;
|
|
27
|
+
export declare function RealtimeAuthTokenResponseToJSON(value?: RealtimeAuthTokenResponse | null): any;
|
|
@@ -11,20 +11,18 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
function
|
|
15
|
-
return
|
|
14
|
+
function RealtimeAuthTokenResponseFromJSON(json) {
|
|
15
|
+
return RealtimeAuthTokenResponseFromJSONTyped(json);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function RealtimeAuthTokenResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
18
|
if ((json === undefined) || (json === null)) {
|
|
19
19
|
return json;
|
|
20
20
|
}
|
|
21
21
|
return {
|
|
22
|
-
'
|
|
23
|
-
'chainId': json['chainId'],
|
|
24
|
-
'symbol': json['symbol'],
|
|
22
|
+
'token': json['token'],
|
|
25
23
|
};
|
|
26
24
|
}
|
|
27
|
-
function
|
|
25
|
+
function RealtimeAuthTokenResponseToJSON(value) {
|
|
28
26
|
if (value === undefined) {
|
|
29
27
|
return undefined;
|
|
30
28
|
}
|
|
@@ -32,10 +30,8 @@ function SettlementTokenInputToJSON(value) {
|
|
|
32
30
|
return null;
|
|
33
31
|
}
|
|
34
32
|
return {
|
|
35
|
-
'
|
|
36
|
-
'chainId': value.chainId,
|
|
37
|
-
'symbol': value.symbol,
|
|
33
|
+
'token': value.token,
|
|
38
34
|
};
|
|
39
35
|
}
|
|
40
36
|
|
|
41
|
-
export {
|
|
37
|
+
export { RealtimeAuthTokenResponseFromJSON, RealtimeAuthTokenResponseFromJSONTyped, RealtimeAuthTokenResponseToJSON };
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var ChainSettlementConfig = require('./ChainSettlementConfig.cjs');
|
|
5
6
|
var SettlementStrategyEnum = require('./SettlementStrategyEnum.cjs');
|
|
6
|
-
var SettlementTokenInput = require('./SettlementTokenInput.cjs');
|
|
7
7
|
|
|
8
8
|
/* tslint:disable */
|
|
9
9
|
function SettlementConfigInputFromJSON(json) {
|
|
@@ -15,7 +15,7 @@ function SettlementConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
15
|
}
|
|
16
16
|
return {
|
|
17
17
|
'strategy': SettlementStrategyEnum.SettlementStrategyEnumFromJSON(json['strategy']),
|
|
18
|
-
'
|
|
18
|
+
'settlements': (json['settlements'].map(ChainSettlementConfig.ChainSettlementConfigFromJSON)),
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
function SettlementConfigInputToJSON(value) {
|
|
@@ -27,7 +27,7 @@ function SettlementConfigInputToJSON(value) {
|
|
|
27
27
|
}
|
|
28
28
|
return {
|
|
29
29
|
'strategy': SettlementStrategyEnum.SettlementStrategyEnumToJSON(value.strategy),
|
|
30
|
-
'
|
|
30
|
+
'settlements': (value.settlements.map(ChainSettlementConfig.ChainSettlementConfigToJSON)),
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ChainSettlementConfig } from './ChainSettlementConfig';
|
|
12
13
|
import { SettlementStrategyEnum } from './SettlementStrategyEnum';
|
|
13
|
-
import { SettlementTokenInput } from './SettlementTokenInput';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -25,10 +25,10 @@ export interface SettlementConfigInput {
|
|
|
25
25
|
strategy: SettlementStrategyEnum;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {Array<
|
|
28
|
+
* @type {Array<ChainSettlementConfig>}
|
|
29
29
|
* @memberof SettlementConfigInput
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
settlements: Array<ChainSettlementConfig>;
|
|
32
32
|
}
|
|
33
33
|
export declare function SettlementConfigInputFromJSON(json: any): SettlementConfigInput;
|
|
34
34
|
export declare function SettlementConfigInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettlementConfigInput;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ChainSettlementConfigFromJSON, ChainSettlementConfigToJSON } from './ChainSettlementConfig.js';
|
|
1
2
|
import { SettlementStrategyEnumFromJSON, SettlementStrategyEnumToJSON } from './SettlementStrategyEnum.js';
|
|
2
|
-
import { SettlementTokenInputFromJSON, SettlementTokenInputToJSON } from './SettlementTokenInput.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
function SettlementConfigInputFromJSON(json) {
|
|
@@ -11,7 +11,7 @@ function SettlementConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
13
|
'strategy': SettlementStrategyEnumFromJSON(json['strategy']),
|
|
14
|
-
'
|
|
14
|
+
'settlements': (json['settlements'].map(ChainSettlementConfigFromJSON)),
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
function SettlementConfigInputToJSON(value) {
|
|
@@ -23,7 +23,7 @@ function SettlementConfigInputToJSON(value) {
|
|
|
23
23
|
}
|
|
24
24
|
return {
|
|
25
25
|
'strategy': SettlementStrategyEnumToJSON(value.strategy),
|
|
26
|
-
'
|
|
26
|
+
'settlements': (value.settlements.map(ChainSettlementConfigToJSON)),
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -29,7 +29,9 @@ export * from './BadRequest';
|
|
|
29
29
|
export * from './BaseUser';
|
|
30
30
|
export * from './BlockaidValidation';
|
|
31
31
|
export * from './ChainConfiguration';
|
|
32
|
+
export * from './ChainDestinationConfig';
|
|
32
33
|
export * from './ChainEnum';
|
|
34
|
+
export * from './ChainSettlementConfig';
|
|
33
35
|
export * from './Checkout';
|
|
34
36
|
export * from './CheckoutCreateRequest';
|
|
35
37
|
export * from './CheckoutEvmApprovalData';
|
|
@@ -293,6 +295,7 @@ export * from './PublishEventsEvents';
|
|
|
293
295
|
export * from './QuoteRequest';
|
|
294
296
|
export * from './RampConfiguration';
|
|
295
297
|
export * from './ReactSettings';
|
|
298
|
+
export * from './RealtimeAuthTokenResponse';
|
|
296
299
|
export * from './RecordBroadcastRequest';
|
|
297
300
|
export * from './RecoverMultipleClientKeySharesRequest';
|
|
298
301
|
export * from './RecoverMultipleClientKeySharesResponse';
|
|
@@ -315,7 +318,6 @@ export * from './SdkViewsResponse';
|
|
|
315
318
|
export * from './SecurityNotifications';
|
|
316
319
|
export * from './SettlementConfigInput';
|
|
317
320
|
export * from './SettlementStrategyEnum';
|
|
318
|
-
export * from './SettlementTokenInput';
|
|
319
321
|
export * from './SignInProviderEnum';
|
|
320
322
|
export * from './SignMessageAuthorizationSignature';
|
|
321
323
|
export * from './SignMessageBtcTransaction';
|
|
@@ -1,39 +0,0 @@
|
|
|
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 SettlementTokenInput
|
|
16
|
-
*/
|
|
17
|
-
export interface SettlementTokenInput {
|
|
18
|
-
/**
|
|
19
|
-
* Valid blockchain wallet address, must be an alphanumeric string without any special characters
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SettlementTokenInput
|
|
22
|
-
*/
|
|
23
|
-
address: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof SettlementTokenInput
|
|
28
|
-
*/
|
|
29
|
-
chainId: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof SettlementTokenInput
|
|
34
|
-
*/
|
|
35
|
-
symbol: string;
|
|
36
|
-
}
|
|
37
|
-
export declare function SettlementTokenInputFromJSON(json: any): SettlementTokenInput;
|
|
38
|
-
export declare function SettlementTokenInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettlementTokenInput;
|
|
39
|
-
export declare function SettlementTokenInputToJSON(value?: SettlementTokenInput | null): any;
|