@dynamic-labs/sdk-api 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
|
@@ -113,6 +113,7 @@ require('../models/ExportModelEnum.cjs');
|
|
|
113
113
|
require('../models/ExportStatusEnum.cjs');
|
|
114
114
|
var ExportEmbeddedWalletResponse = require('../models/ExportEmbeddedWalletResponse.cjs');
|
|
115
115
|
var ExportWaasWalletPrivateKeyRequest = require('../models/ExportWaasWalletPrivateKeyRequest.cjs');
|
|
116
|
+
var ExternalAuthAssertionResponse = require('../models/ExternalAuthAssertionResponse.cjs');
|
|
116
117
|
var ExternalAuthSigninRequest = require('../models/ExternalAuthSigninRequest.cjs');
|
|
117
118
|
require('../models/ExternalWalletFundingDefaultChain.cjs');
|
|
118
119
|
require('../models/ExternalWalletFundingTokenRule.cjs');
|
|
@@ -2950,8 +2951,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2950
2951
|
});
|
|
2951
2952
|
}
|
|
2952
2953
|
/**
|
|
2953
|
-
*
|
|
2954
|
-
*
|
|
2954
|
+
* 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.
|
|
2955
|
+
* Verify external auth assertion for elevated access token
|
|
2955
2956
|
*/
|
|
2956
2957
|
externalAuthVerifyRaw(requestParameters, initOverrides) {
|
|
2957
2958
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2978,20 +2979,21 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2978
2979
|
query: queryParameters,
|
|
2979
2980
|
body: ExternalAuthSigninRequest.ExternalAuthSigninRequestToJSON(requestParameters.externalAuthSigninRequest),
|
|
2980
2981
|
}, initOverrides);
|
|
2981
|
-
return new runtime.
|
|
2982
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ExternalAuthAssertionResponse.ExternalAuthAssertionResponseFromJSON(jsonValue));
|
|
2982
2983
|
});
|
|
2983
2984
|
}
|
|
2984
2985
|
/**
|
|
2985
|
-
*
|
|
2986
|
-
*
|
|
2986
|
+
* 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.
|
|
2987
|
+
* Verify external auth assertion for elevated access token
|
|
2987
2988
|
*/
|
|
2988
2989
|
externalAuthVerify(requestParameters, initOverrides) {
|
|
2989
2990
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2990
|
-
yield this.externalAuthVerifyRaw(requestParameters, initOverrides);
|
|
2991
|
+
const response = yield this.externalAuthVerifyRaw(requestParameters, initOverrides);
|
|
2992
|
+
return yield response.value();
|
|
2991
2993
|
});
|
|
2992
2994
|
}
|
|
2993
2995
|
/**
|
|
2994
|
-
*
|
|
2996
|
+
* Options call for this endpoint
|
|
2995
2997
|
*/
|
|
2996
2998
|
externalAuthVerifyOptionsRaw(requestParameters, initOverrides) {
|
|
2997
2999
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3010,7 +3012,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3010
3012
|
});
|
|
3011
3013
|
}
|
|
3012
3014
|
/**
|
|
3013
|
-
*
|
|
3015
|
+
* Options call for this endpoint
|
|
3014
3016
|
*/
|
|
3015
3017
|
externalAuthVerifyOptions(requestParameters, initOverrides) {
|
|
3016
3018
|
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, InlineObject1, 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, InlineObject1, 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;
|
|
@@ -1821,21 +1821,21 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
1821
1821
|
*/
|
|
1822
1822
|
externalAuthSigninOptions(requestParameters: ExternalAuthSigninOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
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
|
-
externalAuthVerifyRaw(requestParameters: ExternalAuthVerifyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<
|
|
1827
|
+
externalAuthVerifyRaw(requestParameters: ExternalAuthVerifyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<ExternalAuthAssertionResponse>>;
|
|
1828
1828
|
/**
|
|
1829
|
-
*
|
|
1830
|
-
*
|
|
1829
|
+
* 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.
|
|
1830
|
+
* Verify external auth assertion for elevated access token
|
|
1831
1831
|
*/
|
|
1832
|
-
externalAuthVerify(requestParameters: ExternalAuthVerifyRequest, initOverrides?: RequestInit): Promise<
|
|
1832
|
+
externalAuthVerify(requestParameters: ExternalAuthVerifyRequest, initOverrides?: RequestInit): Promise<ExternalAuthAssertionResponse>;
|
|
1833
1833
|
/**
|
|
1834
|
-
*
|
|
1834
|
+
* Options call for this endpoint
|
|
1835
1835
|
*/
|
|
1836
1836
|
externalAuthVerifyOptionsRaw(requestParameters: ExternalAuthVerifyOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
1837
1837
|
/**
|
|
1838
|
-
*
|
|
1838
|
+
* Options call for this endpoint
|
|
1839
1839
|
*/
|
|
1840
1840
|
externalAuthVerifyOptions(requestParameters: ExternalAuthVerifyOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1841
1841
|
/**
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -109,6 +109,7 @@ import '../models/ExportModelEnum.js';
|
|
|
109
109
|
import '../models/ExportStatusEnum.js';
|
|
110
110
|
import { ExportEmbeddedWalletResponseFromJSON } from '../models/ExportEmbeddedWalletResponse.js';
|
|
111
111
|
import { ExportWaasWalletPrivateKeyRequestToJSON } from '../models/ExportWaasWalletPrivateKeyRequest.js';
|
|
112
|
+
import { ExternalAuthAssertionResponseFromJSON } from '../models/ExternalAuthAssertionResponse.js';
|
|
112
113
|
import { ExternalAuthSigninRequestToJSON } from '../models/ExternalAuthSigninRequest.js';
|
|
113
114
|
import '../models/ExternalWalletFundingDefaultChain.js';
|
|
114
115
|
import '../models/ExternalWalletFundingTokenRule.js';
|
|
@@ -2946,8 +2947,8 @@ class SDKApi extends BaseAPI {
|
|
|
2946
2947
|
});
|
|
2947
2948
|
}
|
|
2948
2949
|
/**
|
|
2949
|
-
*
|
|
2950
|
-
*
|
|
2950
|
+
* 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.
|
|
2951
|
+
* Verify external auth assertion for elevated access token
|
|
2951
2952
|
*/
|
|
2952
2953
|
externalAuthVerifyRaw(requestParameters, initOverrides) {
|
|
2953
2954
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2974,20 +2975,21 @@ class SDKApi extends BaseAPI {
|
|
|
2974
2975
|
query: queryParameters,
|
|
2975
2976
|
body: ExternalAuthSigninRequestToJSON(requestParameters.externalAuthSigninRequest),
|
|
2976
2977
|
}, initOverrides);
|
|
2977
|
-
return new
|
|
2978
|
+
return new JSONApiResponse(response, (jsonValue) => ExternalAuthAssertionResponseFromJSON(jsonValue));
|
|
2978
2979
|
});
|
|
2979
2980
|
}
|
|
2980
2981
|
/**
|
|
2981
|
-
*
|
|
2982
|
-
*
|
|
2982
|
+
* 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.
|
|
2983
|
+
* Verify external auth assertion for elevated access token
|
|
2983
2984
|
*/
|
|
2984
2985
|
externalAuthVerify(requestParameters, initOverrides) {
|
|
2985
2986
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2986
|
-
yield this.externalAuthVerifyRaw(requestParameters, initOverrides);
|
|
2987
|
+
const response = yield this.externalAuthVerifyRaw(requestParameters, initOverrides);
|
|
2988
|
+
return yield response.value();
|
|
2987
2989
|
});
|
|
2988
2990
|
}
|
|
2989
2991
|
/**
|
|
2990
|
-
*
|
|
2992
|
+
* Options call for this endpoint
|
|
2991
2993
|
*/
|
|
2992
2994
|
externalAuthVerifyOptionsRaw(requestParameters, initOverrides) {
|
|
2993
2995
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3006,7 +3008,7 @@ class SDKApi extends BaseAPI {
|
|
|
3006
3008
|
});
|
|
3007
3009
|
}
|
|
3008
3010
|
/**
|
|
3009
|
-
*
|
|
3011
|
+
* Options call for this endpoint
|
|
3010
3012
|
*/
|
|
3011
3013
|
externalAuthVerifyOptions(requestParameters, initOverrides) {
|
|
3012
3014
|
return __awaiter(this, void 0, void 0, function* () {
|
package/src/index.cjs
CHANGED
|
@@ -261,6 +261,7 @@ var ExportStatusEnum = require('./models/ExportStatusEnum.cjs');
|
|
|
261
261
|
var ExportWaasWalletPrivateKeyRequest = require('./models/ExportWaasWalletPrivateKeyRequest.cjs');
|
|
262
262
|
var ExportsResponse = require('./models/ExportsResponse.cjs');
|
|
263
263
|
var ExternalAuth = require('./models/ExternalAuth.cjs');
|
|
264
|
+
var ExternalAuthAssertionResponse = require('./models/ExternalAuthAssertionResponse.cjs');
|
|
264
265
|
var ExternalAuthSigninRequest = require('./models/ExternalAuthSigninRequest.cjs');
|
|
265
266
|
var ExternalJwtCheckRequest = require('./models/ExternalJwtCheckRequest.cjs');
|
|
266
267
|
var ExternalJwtCheckResponse = require('./models/ExternalJwtCheckResponse.cjs');
|
|
@@ -1568,6 +1569,9 @@ exports.ExportsResponseToJSON = ExportsResponse.ExportsResponseToJSON;
|
|
|
1568
1569
|
exports.ExternalAuthFromJSON = ExternalAuth.ExternalAuthFromJSON;
|
|
1569
1570
|
exports.ExternalAuthFromJSONTyped = ExternalAuth.ExternalAuthFromJSONTyped;
|
|
1570
1571
|
exports.ExternalAuthToJSON = ExternalAuth.ExternalAuthToJSON;
|
|
1572
|
+
exports.ExternalAuthAssertionResponseFromJSON = ExternalAuthAssertionResponse.ExternalAuthAssertionResponseFromJSON;
|
|
1573
|
+
exports.ExternalAuthAssertionResponseFromJSONTyped = ExternalAuthAssertionResponse.ExternalAuthAssertionResponseFromJSONTyped;
|
|
1574
|
+
exports.ExternalAuthAssertionResponseToJSON = ExternalAuthAssertionResponse.ExternalAuthAssertionResponseToJSON;
|
|
1571
1575
|
exports.ExternalAuthSigninRequestFromJSON = ExternalAuthSigninRequest.ExternalAuthSigninRequestFromJSON;
|
|
1572
1576
|
exports.ExternalAuthSigninRequestFromJSONTyped = ExternalAuthSigninRequest.ExternalAuthSigninRequestFromJSONTyped;
|
|
1573
1577
|
exports.ExternalAuthSigninRequestToJSON = ExternalAuthSigninRequest.ExternalAuthSigninRequestToJSON;
|
package/src/index.js
CHANGED
|
@@ -257,6 +257,7 @@ export { ExportStatusEnum, ExportStatusEnumFromJSON, ExportStatusEnumFromJSONTyp
|
|
|
257
257
|
export { ExportWaasWalletPrivateKeyRequestFromJSON, ExportWaasWalletPrivateKeyRequestFromJSONTyped, ExportWaasWalletPrivateKeyRequestToJSON } from './models/ExportWaasWalletPrivateKeyRequest.js';
|
|
258
258
|
export { ExportsResponseFromJSON, ExportsResponseFromJSONTyped, ExportsResponseToJSON } from './models/ExportsResponse.js';
|
|
259
259
|
export { ExternalAuthFromJSON, ExternalAuthFromJSONTyped, ExternalAuthToJSON } from './models/ExternalAuth.js';
|
|
260
|
+
export { ExternalAuthAssertionResponseFromJSON, ExternalAuthAssertionResponseFromJSONTyped, ExternalAuthAssertionResponseToJSON } from './models/ExternalAuthAssertionResponse.js';
|
|
260
261
|
export { ExternalAuthSigninRequestFromJSON, ExternalAuthSigninRequestFromJSONTyped, ExternalAuthSigninRequestToJSON } from './models/ExternalAuthSigninRequest.js';
|
|
261
262
|
export { ExternalJwtCheckRequestFromJSON, ExternalJwtCheckRequestFromJSONTyped, ExternalJwtCheckRequestToJSON } from './models/ExternalJwtCheckRequest.js';
|
|
262
263
|
export { ExternalJwtCheckResponseFromJSON, ExternalJwtCheckResponseFromJSONTyped, ExternalJwtCheckResponseToJSON } from './models/ExternalJwtCheckResponse.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
|
@@ -218,6 +218,7 @@ export * from './ExportStatusEnum';
|
|
|
218
218
|
export * from './ExportWaasWalletPrivateKeyRequest';
|
|
219
219
|
export * from './ExportsResponse';
|
|
220
220
|
export * from './ExternalAuth';
|
|
221
|
+
export * from './ExternalAuthAssertionResponse';
|
|
221
222
|
export * from './ExternalAuthSigninRequest';
|
|
222
223
|
export * from './ExternalJwtCheckRequest';
|
|
223
224
|
export * from './ExternalJwtCheckResponse';
|