@dynamic-labs/sdk-api-core 0.0.908 → 0.0.909
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 +10 -8
- package/src/apis/SDKApi.d.ts +9 -9
- package/src/apis/SDKApi.js +10 -8
- package/src/index.cjs +4 -0
- package/src/index.js +1 -0
- package/src/models/ExternalAuthAssertionResponse.cjs +43 -0
- package/src/models/ExternalAuthAssertionResponse.d.ts +27 -0
- package/src/models/ExternalAuthAssertionResponse.js +37 -0
- package/src/models/index.d.ts +1 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -97,6 +97,7 @@ var ExchangeTransaction = require('../models/ExchangeTransaction.cjs');
|
|
|
97
97
|
var ExchangeTransferResponse = require('../models/ExchangeTransferResponse.cjs');
|
|
98
98
|
var ExportEmbeddedWalletResponse = require('../models/ExportEmbeddedWalletResponse.cjs');
|
|
99
99
|
var ExportWaasWalletPrivateKeyRequest = require('../models/ExportWaasWalletPrivateKeyRequest.cjs');
|
|
100
|
+
var ExternalAuthAssertionResponse = require('../models/ExternalAuthAssertionResponse.cjs');
|
|
100
101
|
var ExternalAuthSigninRequest = require('../models/ExternalAuthSigninRequest.cjs');
|
|
101
102
|
require('../models/ExternalWalletFundingDefaultChain.cjs');
|
|
102
103
|
require('../models/ExternalWalletFundingTokenRule.cjs');
|
|
@@ -2928,8 +2929,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2928
2929
|
});
|
|
2929
2930
|
}
|
|
2930
2931
|
/**
|
|
2931
|
-
*
|
|
2932
|
-
*
|
|
2932
|
+
* Accepts a customer-signed assertion JWT and returns an elevated access token for step-up authentication. The assertion JWT must be signed with the same key registered in the environment\'s external auth JWKS URL.
|
|
2933
|
+
* Verify external auth assertion for elevated access token
|
|
2933
2934
|
*/
|
|
2934
2935
|
externalAuthVerifyRaw(requestParameters, initOverrides) {
|
|
2935
2936
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2956,20 +2957,21 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2956
2957
|
query: queryParameters,
|
|
2957
2958
|
body: ExternalAuthSigninRequest.ExternalAuthSigninRequestToJSON(requestParameters.externalAuthSigninRequest),
|
|
2958
2959
|
}, initOverrides);
|
|
2959
|
-
return new runtime.
|
|
2960
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ExternalAuthAssertionResponse.ExternalAuthAssertionResponseFromJSON(jsonValue));
|
|
2960
2961
|
});
|
|
2961
2962
|
}
|
|
2962
2963
|
/**
|
|
2963
|
-
*
|
|
2964
|
-
*
|
|
2964
|
+
* Accepts a customer-signed assertion JWT and returns an elevated access token for step-up authentication. The assertion JWT must be signed with the same key registered in the environment\'s external auth JWKS URL.
|
|
2965
|
+
* Verify external auth assertion for elevated access token
|
|
2965
2966
|
*/
|
|
2966
2967
|
externalAuthVerify(requestParameters, initOverrides) {
|
|
2967
2968
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2968
|
-
yield this.externalAuthVerifyRaw(requestParameters, initOverrides);
|
|
2969
|
+
const response = yield this.externalAuthVerifyRaw(requestParameters, initOverrides);
|
|
2970
|
+
return yield response.value();
|
|
2969
2971
|
});
|
|
2970
2972
|
}
|
|
2971
2973
|
/**
|
|
2972
|
-
*
|
|
2974
|
+
* Options call for this endpoint
|
|
2973
2975
|
*/
|
|
2974
2976
|
externalAuthVerifyOptionsRaw(requestParameters, initOverrides) {
|
|
2975
2977
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2988,7 +2990,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2988
2990
|
});
|
|
2989
2991
|
}
|
|
2990
2992
|
/**
|
|
2991
|
-
*
|
|
2993
|
+
* Options call for this endpoint
|
|
2992
2994
|
*/
|
|
2993
2995
|
externalAuthVerifyOptions(requestParameters, initOverrides) {
|
|
2994
2996
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
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, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, 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';
|
|
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, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, 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;
|
|
@@ -1816,21 +1816,21 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
1816
1816
|
*/
|
|
1817
1817
|
externalAuthSigninOptions(requestParameters: ExternalAuthSigninOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1818
1818
|
/**
|
|
1819
|
-
*
|
|
1820
|
-
*
|
|
1819
|
+
* Accepts a customer-signed assertion JWT and returns an elevated access token for step-up authentication. The assertion JWT must be signed with the same key registered in the environment\'s external auth JWKS URL.
|
|
1820
|
+
* Verify external auth assertion for elevated access token
|
|
1821
1821
|
*/
|
|
1822
|
-
externalAuthVerifyRaw(requestParameters: ExternalAuthVerifyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<
|
|
1822
|
+
externalAuthVerifyRaw(requestParameters: ExternalAuthVerifyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<ExternalAuthAssertionResponse>>;
|
|
1823
1823
|
/**
|
|
1824
|
-
*
|
|
1825
|
-
*
|
|
1824
|
+
* Accepts a customer-signed assertion JWT and returns an elevated access token for step-up authentication. The assertion JWT must be signed with the same key registered in the environment\'s external auth JWKS URL.
|
|
1825
|
+
* Verify external auth assertion for elevated access token
|
|
1826
1826
|
*/
|
|
1827
|
-
externalAuthVerify(requestParameters: ExternalAuthVerifyRequest, initOverrides?: RequestInit): Promise<
|
|
1827
|
+
externalAuthVerify(requestParameters: ExternalAuthVerifyRequest, initOverrides?: RequestInit): Promise<ExternalAuthAssertionResponse>;
|
|
1828
1828
|
/**
|
|
1829
|
-
*
|
|
1829
|
+
* Options call for this endpoint
|
|
1830
1830
|
*/
|
|
1831
1831
|
externalAuthVerifyOptionsRaw(requestParameters: ExternalAuthVerifyOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
1832
1832
|
/**
|
|
1833
|
-
*
|
|
1833
|
+
* Options call for this endpoint
|
|
1834
1834
|
*/
|
|
1835
1835
|
externalAuthVerifyOptions(requestParameters: ExternalAuthVerifyOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1836
1836
|
/**
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -93,6 +93,7 @@ import { ExchangeTransactionFromJSON } from '../models/ExchangeTransaction.js';
|
|
|
93
93
|
import { ExchangeTransferResponseFromJSON } from '../models/ExchangeTransferResponse.js';
|
|
94
94
|
import { ExportEmbeddedWalletResponseFromJSON } from '../models/ExportEmbeddedWalletResponse.js';
|
|
95
95
|
import { ExportWaasWalletPrivateKeyRequestToJSON } from '../models/ExportWaasWalletPrivateKeyRequest.js';
|
|
96
|
+
import { ExternalAuthAssertionResponseFromJSON } from '../models/ExternalAuthAssertionResponse.js';
|
|
96
97
|
import { ExternalAuthSigninRequestToJSON } from '../models/ExternalAuthSigninRequest.js';
|
|
97
98
|
import '../models/ExternalWalletFundingDefaultChain.js';
|
|
98
99
|
import '../models/ExternalWalletFundingTokenRule.js';
|
|
@@ -2924,8 +2925,8 @@ class SDKApi extends BaseAPI {
|
|
|
2924
2925
|
});
|
|
2925
2926
|
}
|
|
2926
2927
|
/**
|
|
2927
|
-
*
|
|
2928
|
-
*
|
|
2928
|
+
* Accepts a customer-signed assertion JWT and returns an elevated access token for step-up authentication. The assertion JWT must be signed with the same key registered in the environment\'s external auth JWKS URL.
|
|
2929
|
+
* Verify external auth assertion for elevated access token
|
|
2929
2930
|
*/
|
|
2930
2931
|
externalAuthVerifyRaw(requestParameters, initOverrides) {
|
|
2931
2932
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2952,20 +2953,21 @@ class SDKApi extends BaseAPI {
|
|
|
2952
2953
|
query: queryParameters,
|
|
2953
2954
|
body: ExternalAuthSigninRequestToJSON(requestParameters.externalAuthSigninRequest),
|
|
2954
2955
|
}, initOverrides);
|
|
2955
|
-
return new
|
|
2956
|
+
return new JSONApiResponse(response, (jsonValue) => ExternalAuthAssertionResponseFromJSON(jsonValue));
|
|
2956
2957
|
});
|
|
2957
2958
|
}
|
|
2958
2959
|
/**
|
|
2959
|
-
*
|
|
2960
|
-
*
|
|
2960
|
+
* Accepts a customer-signed assertion JWT and returns an elevated access token for step-up authentication. The assertion JWT must be signed with the same key registered in the environment\'s external auth JWKS URL.
|
|
2961
|
+
* Verify external auth assertion for elevated access token
|
|
2961
2962
|
*/
|
|
2962
2963
|
externalAuthVerify(requestParameters, initOverrides) {
|
|
2963
2964
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2964
|
-
yield this.externalAuthVerifyRaw(requestParameters, initOverrides);
|
|
2965
|
+
const response = yield this.externalAuthVerifyRaw(requestParameters, initOverrides);
|
|
2966
|
+
return yield response.value();
|
|
2965
2967
|
});
|
|
2966
2968
|
}
|
|
2967
2969
|
/**
|
|
2968
|
-
*
|
|
2970
|
+
* Options call for this endpoint
|
|
2969
2971
|
*/
|
|
2970
2972
|
externalAuthVerifyOptionsRaw(requestParameters, initOverrides) {
|
|
2971
2973
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2984,7 +2986,7 @@ class SDKApi extends BaseAPI {
|
|
|
2984
2986
|
});
|
|
2985
2987
|
}
|
|
2986
2988
|
/**
|
|
2987
|
-
*
|
|
2989
|
+
* Options call for this endpoint
|
|
2988
2990
|
*/
|
|
2989
2991
|
externalAuthVerifyOptions(requestParameters, initOverrides) {
|
|
2990
2992
|
return __awaiter(this, void 0, void 0, function* () {
|
package/src/index.cjs
CHANGED
|
@@ -144,6 +144,7 @@ var ExchangeTransferResponse = require('./models/ExchangeTransferResponse.cjs');
|
|
|
144
144
|
var ExportEmbeddedWalletResponse = require('./models/ExportEmbeddedWalletResponse.cjs');
|
|
145
145
|
var ExportWaasWalletPrivateKeyRequest = require('./models/ExportWaasWalletPrivateKeyRequest.cjs');
|
|
146
146
|
var ExternalAuth = require('./models/ExternalAuth.cjs');
|
|
147
|
+
var ExternalAuthAssertionResponse = require('./models/ExternalAuthAssertionResponse.cjs');
|
|
147
148
|
var ExternalAuthSigninRequest = require('./models/ExternalAuthSigninRequest.cjs');
|
|
148
149
|
var ExternalWalletFundingDefaultChain = require('./models/ExternalWalletFundingDefaultChain.cjs');
|
|
149
150
|
var ExternalWalletFundingDefaultSettings = require('./models/ExternalWalletFundingDefaultSettings.cjs');
|
|
@@ -986,6 +987,9 @@ exports.ExportWaasWalletPrivateKeyRequestToJSON = ExportWaasWalletPrivateKeyRequ
|
|
|
986
987
|
exports.ExternalAuthFromJSON = ExternalAuth.ExternalAuthFromJSON;
|
|
987
988
|
exports.ExternalAuthFromJSONTyped = ExternalAuth.ExternalAuthFromJSONTyped;
|
|
988
989
|
exports.ExternalAuthToJSON = ExternalAuth.ExternalAuthToJSON;
|
|
990
|
+
exports.ExternalAuthAssertionResponseFromJSON = ExternalAuthAssertionResponse.ExternalAuthAssertionResponseFromJSON;
|
|
991
|
+
exports.ExternalAuthAssertionResponseFromJSONTyped = ExternalAuthAssertionResponse.ExternalAuthAssertionResponseFromJSONTyped;
|
|
992
|
+
exports.ExternalAuthAssertionResponseToJSON = ExternalAuthAssertionResponse.ExternalAuthAssertionResponseToJSON;
|
|
989
993
|
exports.ExternalAuthSigninRequestFromJSON = ExternalAuthSigninRequest.ExternalAuthSigninRequestFromJSON;
|
|
990
994
|
exports.ExternalAuthSigninRequestFromJSONTyped = ExternalAuthSigninRequest.ExternalAuthSigninRequestFromJSONTyped;
|
|
991
995
|
exports.ExternalAuthSigninRequestToJSON = ExternalAuthSigninRequest.ExternalAuthSigninRequestToJSON;
|
package/src/index.js
CHANGED
|
@@ -140,6 +140,7 @@ export { ExchangeTransferResponseFromJSON, ExchangeTransferResponseFromJSONTyped
|
|
|
140
140
|
export { ExportEmbeddedWalletResponseFromJSON, ExportEmbeddedWalletResponseFromJSONTyped, ExportEmbeddedWalletResponseToJSON } from './models/ExportEmbeddedWalletResponse.js';
|
|
141
141
|
export { ExportWaasWalletPrivateKeyRequestFromJSON, ExportWaasWalletPrivateKeyRequestFromJSONTyped, ExportWaasWalletPrivateKeyRequestToJSON } from './models/ExportWaasWalletPrivateKeyRequest.js';
|
|
142
142
|
export { ExternalAuthFromJSON, ExternalAuthFromJSONTyped, ExternalAuthToJSON } from './models/ExternalAuth.js';
|
|
143
|
+
export { ExternalAuthAssertionResponseFromJSON, ExternalAuthAssertionResponseFromJSONTyped, ExternalAuthAssertionResponseToJSON } from './models/ExternalAuthAssertionResponse.js';
|
|
143
144
|
export { ExternalAuthSigninRequestFromJSON, ExternalAuthSigninRequestFromJSONTyped, ExternalAuthSigninRequestToJSON } from './models/ExternalAuthSigninRequest.js';
|
|
144
145
|
export { ExternalWalletFundingDefaultChain, ExternalWalletFundingDefaultChainFromJSON, ExternalWalletFundingDefaultChainFromJSONTyped, ExternalWalletFundingDefaultChainToJSON } from './models/ExternalWalletFundingDefaultChain.js';
|
|
145
146
|
export { ExternalWalletFundingDefaultSettingsFromJSON, ExternalWalletFundingDefaultSettingsFromJSONTyped, ExternalWalletFundingDefaultSettingsToJSON } from './models/ExternalWalletFundingDefaultSettings.js';
|
|
@@ -0,0 +1,43 @@
|
|
|
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 ExternalAuthAssertionResponseFromJSON(json) {
|
|
19
|
+
return ExternalAuthAssertionResponseFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function ExternalAuthAssertionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'elevatedAccessToken': json['elevatedAccessToken'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function ExternalAuthAssertionResponseToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'elevatedAccessToken': value.elevatedAccessToken,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.ExternalAuthAssertionResponseFromJSON = ExternalAuthAssertionResponseFromJSON;
|
|
42
|
+
exports.ExternalAuthAssertionResponseFromJSONTyped = ExternalAuthAssertionResponseFromJSONTyped;
|
|
43
|
+
exports.ExternalAuthAssertionResponseToJSON = ExternalAuthAssertionResponseToJSON;
|
|
@@ -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 ExternalAuthAssertionResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface ExternalAuthAssertionResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Elevated access token for step-up authentication
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExternalAuthAssertionResponse
|
|
22
|
+
*/
|
|
23
|
+
elevatedAccessToken: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function ExternalAuthAssertionResponseFromJSON(json: any): ExternalAuthAssertionResponse;
|
|
26
|
+
export declare function ExternalAuthAssertionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExternalAuthAssertionResponse;
|
|
27
|
+
export declare function ExternalAuthAssertionResponseToJSON(value?: ExternalAuthAssertionResponse | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 ExternalAuthAssertionResponseFromJSON(json) {
|
|
15
|
+
return ExternalAuthAssertionResponseFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function ExternalAuthAssertionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'elevatedAccessToken': json['elevatedAccessToken'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function ExternalAuthAssertionResponseToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'elevatedAccessToken': value.elevatedAccessToken,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { ExternalAuthAssertionResponseFromJSON, ExternalAuthAssertionResponseFromJSONTyped, ExternalAuthAssertionResponseToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -137,6 +137,7 @@ export * from './ExchangeTransferResponse';
|
|
|
137
137
|
export * from './ExportEmbeddedWalletResponse';
|
|
138
138
|
export * from './ExportWaasWalletPrivateKeyRequest';
|
|
139
139
|
export * from './ExternalAuth';
|
|
140
|
+
export * from './ExternalAuthAssertionResponse';
|
|
140
141
|
export * from './ExternalAuthSigninRequest';
|
|
141
142
|
export * from './ExternalWalletFundingDefaultChain';
|
|
142
143
|
export * from './ExternalWalletFundingDefaultSettings';
|