@dynamic-labs/sdk-api 0.0.831 → 0.0.837
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/AllowlistsApi.cjs +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.cjs +1 -0
- package/src/apis/CustomNetworksApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
- package/src/apis/GlobalWalletAccessControlApi.js +1 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
- package/src/apis/GlobalWalletConnectionsApi.js +1 -0
- package/src/apis/GlobalWalletsApi.cjs +1 -0
- package/src/apis/GlobalWalletsApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.cjs +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/SDKApi.cjs +192 -0
- package/src/apis/SDKApi.d.ts +73 -1
- package/src/apis/SDKApi.js +192 -0
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/SettingsApi.cjs +1 -0
- package/src/apis/SettingsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UserApiTokensApi.cjs +1 -0
- package/src/apis/UserApiTokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WaasApi.cjs +8 -0
- package/src/apis/WaasApi.js +8 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/index.cjs +24 -0
- package/src/index.js +5 -0
- package/src/models/CoinbaseOnrampBuyUrlExperience.cjs +40 -0
- package/src/models/CoinbaseOnrampBuyUrlExperience.d.ts +23 -0
- package/src/models/CoinbaseOnrampBuyUrlExperience.js +34 -0
- package/src/models/CoinbaseOnrampGetBuyUrlRequest.cjs +58 -0
- package/src/models/CoinbaseOnrampGetBuyUrlRequest.d.ts +100 -0
- package/src/models/CoinbaseOnrampGetBuyUrlRequest.js +52 -0
- package/src/models/CoinbaseOnrampGetBuyUrlResponse.cjs +43 -0
- package/src/models/CoinbaseOnrampGetBuyUrlResponse.d.ts +27 -0
- package/src/models/CoinbaseOnrampGetBuyUrlResponse.js +37 -0
- package/src/models/CryptoDotComPaymentCreateRequest.cjs +45 -0
- package/src/models/CryptoDotComPaymentCreateRequest.d.ts +63 -0
- package/src/models/CryptoDotComPaymentCreateRequest.js +39 -0
- package/src/models/DynamicJwt.cjs +2 -0
- package/src/models/DynamicJwt.d.ts +6 -0
- package/src/models/DynamicJwt.js +2 -0
- package/src/models/ExternalAuth.d.ts +1 -1
- package/src/models/GeneratedTokenResponse.cjs +43 -0
- package/src/models/GeneratedTokenResponse.d.ts +27 -0
- package/src/models/GeneratedTokenResponse.js +37 -0
- package/src/models/MinifiedDynamicJwt.cjs +2 -0
- package/src/models/MinifiedDynamicJwt.d.ts +6 -0
- package/src/models/MinifiedDynamicJwt.js +2 -0
- package/src/models/TokenBalance.cjs +2 -0
- package/src/models/TokenBalance.d.ts +6 -0
- package/src/models/TokenBalance.js +2 -0
- package/src/models/index.d.ts +5 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { CoinbaseOnrampBuyUrlExperienceFromJSON, CoinbaseOnrampBuyUrlExperienceToJSON } from './CoinbaseOnrampBuyUrlExperience.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function CoinbaseOnrampGetBuyUrlRequestFromJSON(json) {
|
|
6
|
+
return CoinbaseOnrampGetBuyUrlRequestFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function CoinbaseOnrampGetBuyUrlRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'assets': !exists(json, 'assets') ? undefined : json['assets'],
|
|
14
|
+
'defaultNetwork': !exists(json, 'defaultNetwork') ? undefined : json['defaultNetwork'],
|
|
15
|
+
'defaultAsset': !exists(json, 'defaultAsset') ? undefined : json['defaultAsset'],
|
|
16
|
+
'defaultExperience': !exists(json, 'defaultExperience') ? undefined : CoinbaseOnrampBuyUrlExperienceFromJSON(json['defaultExperience']),
|
|
17
|
+
'defaultPaymentMethod': !exists(json, 'defaultPaymentMethod') ? undefined : json['defaultPaymentMethod'],
|
|
18
|
+
'destinationAddress': json['destinationAddress'],
|
|
19
|
+
'fiatCurrency': !exists(json, 'fiatCurrency') ? undefined : json['fiatCurrency'],
|
|
20
|
+
'handlingRequestedUrls': !exists(json, 'handlingRequestedUrls') ? undefined : json['handlingRequestedUrls'],
|
|
21
|
+
'networks': json['networks'],
|
|
22
|
+
'partnerUserRef': !exists(json, 'partnerUserRef') ? undefined : json['partnerUserRef'],
|
|
23
|
+
'presetCryptoAmount': !exists(json, 'presetCryptoAmount') ? undefined : json['presetCryptoAmount'],
|
|
24
|
+
'presetFiatAmount': !exists(json, 'presetFiatAmount') ? undefined : json['presetFiatAmount'],
|
|
25
|
+
'redirectUrl': !exists(json, 'redirectUrl') ? undefined : json['redirectUrl'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function CoinbaseOnrampGetBuyUrlRequestToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'assets': value.assets,
|
|
37
|
+
'defaultNetwork': value.defaultNetwork,
|
|
38
|
+
'defaultAsset': value.defaultAsset,
|
|
39
|
+
'defaultExperience': CoinbaseOnrampBuyUrlExperienceToJSON(value.defaultExperience),
|
|
40
|
+
'defaultPaymentMethod': value.defaultPaymentMethod,
|
|
41
|
+
'destinationAddress': value.destinationAddress,
|
|
42
|
+
'fiatCurrency': value.fiatCurrency,
|
|
43
|
+
'handlingRequestedUrls': value.handlingRequestedUrls,
|
|
44
|
+
'networks': value.networks,
|
|
45
|
+
'partnerUserRef': value.partnerUserRef,
|
|
46
|
+
'presetCryptoAmount': value.presetCryptoAmount,
|
|
47
|
+
'presetFiatAmount': value.presetFiatAmount,
|
|
48
|
+
'redirectUrl': value.redirectUrl,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export { CoinbaseOnrampGetBuyUrlRequestFromJSON, CoinbaseOnrampGetBuyUrlRequestFromJSONTyped, CoinbaseOnrampGetBuyUrlRequestToJSON };
|
|
@@ -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 CoinbaseOnrampGetBuyUrlResponseFromJSON(json) {
|
|
19
|
+
return CoinbaseOnrampGetBuyUrlResponseFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function CoinbaseOnrampGetBuyUrlResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'url': json['url'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function CoinbaseOnrampGetBuyUrlResponseToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'url': value.url,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.CoinbaseOnrampGetBuyUrlResponseFromJSON = CoinbaseOnrampGetBuyUrlResponseFromJSON;
|
|
42
|
+
exports.CoinbaseOnrampGetBuyUrlResponseFromJSONTyped = CoinbaseOnrampGetBuyUrlResponseFromJSONTyped;
|
|
43
|
+
exports.CoinbaseOnrampGetBuyUrlResponseToJSON = CoinbaseOnrampGetBuyUrlResponseToJSON;
|
|
@@ -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 CoinbaseOnrampGetBuyUrlResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CoinbaseOnrampGetBuyUrlResponse {
|
|
18
|
+
/**
|
|
19
|
+
* The URL to the hosted widget the user should be redirected to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CoinbaseOnrampGetBuyUrlResponse
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function CoinbaseOnrampGetBuyUrlResponseFromJSON(json: any): CoinbaseOnrampGetBuyUrlResponse;
|
|
26
|
+
export declare function CoinbaseOnrampGetBuyUrlResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoinbaseOnrampGetBuyUrlResponse;
|
|
27
|
+
export declare function CoinbaseOnrampGetBuyUrlResponseToJSON(value?: CoinbaseOnrampGetBuyUrlResponse | 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 CoinbaseOnrampGetBuyUrlResponseFromJSON(json) {
|
|
15
|
+
return CoinbaseOnrampGetBuyUrlResponseFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function CoinbaseOnrampGetBuyUrlResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'url': json['url'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function CoinbaseOnrampGetBuyUrlResponseToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'url': value.url,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { CoinbaseOnrampGetBuyUrlResponseFromJSON, CoinbaseOnrampGetBuyUrlResponseFromJSONTyped, CoinbaseOnrampGetBuyUrlResponseToJSON };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function CryptoDotComPaymentCreateRequestFromJSON(json) {
|
|
9
|
+
return CryptoDotComPaymentCreateRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function CryptoDotComPaymentCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'walletAddress': json['walletAddress'],
|
|
17
|
+
'chain': json['chain'],
|
|
18
|
+
'networkId': !runtime.exists(json, 'networkId') ? undefined : json['networkId'],
|
|
19
|
+
'token': !runtime.exists(json, 'token') ? undefined : json['token'],
|
|
20
|
+
'tokenAmount': !runtime.exists(json, 'tokenAmount') ? undefined : json['tokenAmount'],
|
|
21
|
+
'currency': !runtime.exists(json, 'currency') ? undefined : json['currency'],
|
|
22
|
+
'merchantName': !runtime.exists(json, 'merchantName') ? undefined : json['merchantName'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function CryptoDotComPaymentCreateRequestToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'walletAddress': value.walletAddress,
|
|
34
|
+
'chain': value.chain,
|
|
35
|
+
'networkId': value.networkId,
|
|
36
|
+
'token': value.token,
|
|
37
|
+
'tokenAmount': value.tokenAmount,
|
|
38
|
+
'currency': value.currency,
|
|
39
|
+
'merchantName': value.merchantName,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.CryptoDotComPaymentCreateRequestFromJSON = CryptoDotComPaymentCreateRequestFromJSON;
|
|
44
|
+
exports.CryptoDotComPaymentCreateRequestFromJSONTyped = CryptoDotComPaymentCreateRequestFromJSONTyped;
|
|
45
|
+
exports.CryptoDotComPaymentCreateRequestToJSON = CryptoDotComPaymentCreateRequestToJSON;
|
|
@@ -0,0 +1,63 @@
|
|
|
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 CryptoDotComPaymentCreateRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CryptoDotComPaymentCreateRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Valid blockchain wallet address, must be an alphanumeric string without any special characters
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CryptoDotComPaymentCreateRequest
|
|
22
|
+
*/
|
|
23
|
+
walletAddress: string;
|
|
24
|
+
/**
|
|
25
|
+
* The blockchain network (e.g., ethereum, polygon, solana, evm)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CryptoDotComPaymentCreateRequest
|
|
28
|
+
*/
|
|
29
|
+
chain: string;
|
|
30
|
+
/**
|
|
31
|
+
* The network ID for EVM chains (e.g., 1 for Ethereum mainnet, 137 for Polygon)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CryptoDotComPaymentCreateRequest
|
|
34
|
+
*/
|
|
35
|
+
networkId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The token symbol to purchase
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CryptoDotComPaymentCreateRequest
|
|
40
|
+
*/
|
|
41
|
+
token?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The amount in fiat currency to spend
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CryptoDotComPaymentCreateRequest
|
|
46
|
+
*/
|
|
47
|
+
tokenAmount?: number;
|
|
48
|
+
/**
|
|
49
|
+
* The fiat currency code (e.g., USD, EUR)
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CryptoDotComPaymentCreateRequest
|
|
52
|
+
*/
|
|
53
|
+
currency?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CryptoDotComPaymentCreateRequest
|
|
58
|
+
*/
|
|
59
|
+
merchantName?: string;
|
|
60
|
+
}
|
|
61
|
+
export declare function CryptoDotComPaymentCreateRequestFromJSON(json: any): CryptoDotComPaymentCreateRequest;
|
|
62
|
+
export declare function CryptoDotComPaymentCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CryptoDotComPaymentCreateRequest;
|
|
63
|
+
export declare function CryptoDotComPaymentCreateRequestToJSON(value?: CryptoDotComPaymentCreateRequest | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function CryptoDotComPaymentCreateRequestFromJSON(json) {
|
|
5
|
+
return CryptoDotComPaymentCreateRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function CryptoDotComPaymentCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'walletAddress': json['walletAddress'],
|
|
13
|
+
'chain': json['chain'],
|
|
14
|
+
'networkId': !exists(json, 'networkId') ? undefined : json['networkId'],
|
|
15
|
+
'token': !exists(json, 'token') ? undefined : json['token'],
|
|
16
|
+
'tokenAmount': !exists(json, 'tokenAmount') ? undefined : json['tokenAmount'],
|
|
17
|
+
'currency': !exists(json, 'currency') ? undefined : json['currency'],
|
|
18
|
+
'merchantName': !exists(json, 'merchantName') ? undefined : json['merchantName'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function CryptoDotComPaymentCreateRequestToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'walletAddress': value.walletAddress,
|
|
30
|
+
'chain': value.chain,
|
|
31
|
+
'networkId': value.networkId,
|
|
32
|
+
'token': value.token,
|
|
33
|
+
'tokenAmount': value.tokenAmount,
|
|
34
|
+
'currency': value.currency,
|
|
35
|
+
'merchantName': value.merchantName,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { CryptoDotComPaymentCreateRequestFromJSON, CryptoDotComPaymentCreateRequestFromJSONTyped, CryptoDotComPaymentCreateRequestToJSON };
|
|
@@ -62,6 +62,7 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
62
|
'verifiedCredentialsHashes': !runtime.exists(json, 'verifiedCredentialsHashes') ? undefined : JwtVerifiedCredentialHashes.JwtVerifiedCredentialHashesFromJSON(json['verifiedCredentialsHashes']),
|
|
63
63
|
'info': !runtime.exists(json, 'info') ? undefined : JwtPayloadDeprecatedInfo.JwtPayloadDeprecatedInfoFromJSON(json['info']),
|
|
64
64
|
'serverAuth': !runtime.exists(json, 'server_auth') ? undefined : json['server_auth'],
|
|
65
|
+
'hashedIp': !runtime.exists(json, 'hashed_ip') ? undefined : json['hashed_ip'],
|
|
65
66
|
};
|
|
66
67
|
}
|
|
67
68
|
function DynamicJwtToJSON(value) {
|
|
@@ -116,6 +117,7 @@ function DynamicJwtToJSON(value) {
|
|
|
116
117
|
'verifiedCredentialsHashes': JwtVerifiedCredentialHashes.JwtVerifiedCredentialHashesToJSON(value.verifiedCredentialsHashes),
|
|
117
118
|
'info': JwtPayloadDeprecatedInfo.JwtPayloadDeprecatedInfoToJSON(value.info),
|
|
118
119
|
'server_auth': value.serverAuth,
|
|
120
|
+
'hashed_ip': value.hashedIp,
|
|
119
121
|
};
|
|
120
122
|
}
|
|
121
123
|
|
|
@@ -284,6 +284,12 @@ export interface DynamicJwt {
|
|
|
284
284
|
* @memberof DynamicJwt
|
|
285
285
|
*/
|
|
286
286
|
serverAuth?: boolean;
|
|
287
|
+
/**
|
|
288
|
+
* Hashed IP address
|
|
289
|
+
* @type {string}
|
|
290
|
+
* @memberof DynamicJwt
|
|
291
|
+
*/
|
|
292
|
+
hashedIp?: string;
|
|
287
293
|
}
|
|
288
294
|
export declare function DynamicJwtFromJSON(json: any): DynamicJwt;
|
|
289
295
|
export declare function DynamicJwtFromJSONTyped(json: any, ignoreDiscriminator: boolean): DynamicJwt;
|
package/src/models/DynamicJwt.js
CHANGED
|
@@ -58,6 +58,7 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
58
|
'verifiedCredentialsHashes': !exists(json, 'verifiedCredentialsHashes') ? undefined : JwtVerifiedCredentialHashesFromJSON(json['verifiedCredentialsHashes']),
|
|
59
59
|
'info': !exists(json, 'info') ? undefined : JwtPayloadDeprecatedInfoFromJSON(json['info']),
|
|
60
60
|
'serverAuth': !exists(json, 'server_auth') ? undefined : json['server_auth'],
|
|
61
|
+
'hashedIp': !exists(json, 'hashed_ip') ? undefined : json['hashed_ip'],
|
|
61
62
|
};
|
|
62
63
|
}
|
|
63
64
|
function DynamicJwtToJSON(value) {
|
|
@@ -112,6 +113,7 @@ function DynamicJwtToJSON(value) {
|
|
|
112
113
|
'verifiedCredentialsHashes': JwtVerifiedCredentialHashesToJSON(value.verifiedCredentialsHashes),
|
|
113
114
|
'info': JwtPayloadDeprecatedInfoToJSON(value.info),
|
|
114
115
|
'server_auth': value.serverAuth,
|
|
116
|
+
'hashed_ip': value.hashedIp,
|
|
115
117
|
};
|
|
116
118
|
}
|
|
117
119
|
|
|
@@ -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 GeneratedTokenResponseFromJSON(json) {
|
|
19
|
+
return GeneratedTokenResponseFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function GeneratedTokenResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'token': json['token'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function GeneratedTokenResponseToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'token': value.token,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.GeneratedTokenResponseFromJSON = GeneratedTokenResponseFromJSON;
|
|
42
|
+
exports.GeneratedTokenResponseFromJSONTyped = GeneratedTokenResponseFromJSONTyped;
|
|
43
|
+
exports.GeneratedTokenResponseToJSON = GeneratedTokenResponseToJSON;
|
|
@@ -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 GeneratedTokenResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface GeneratedTokenResponse {
|
|
18
|
+
/**
|
|
19
|
+
* The short-lived JWT token
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GeneratedTokenResponse
|
|
22
|
+
*/
|
|
23
|
+
token: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function GeneratedTokenResponseFromJSON(json: any): GeneratedTokenResponse;
|
|
26
|
+
export declare function GeneratedTokenResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeneratedTokenResponse;
|
|
27
|
+
export declare function GeneratedTokenResponseToJSON(value?: GeneratedTokenResponse | 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 GeneratedTokenResponseFromJSON(json) {
|
|
15
|
+
return GeneratedTokenResponseFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function GeneratedTokenResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'token': json['token'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function GeneratedTokenResponseToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'token': value.token,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { GeneratedTokenResponseFromJSON, GeneratedTokenResponseFromJSONTyped, GeneratedTokenResponseToJSON };
|
|
@@ -29,6 +29,7 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'email': !runtime.exists(json, 'email') ? undefined : json['email'],
|
|
30
30
|
'username': !runtime.exists(json, 'username') ? undefined : json['username'],
|
|
31
31
|
'serverAuth': !runtime.exists(json, 'server_auth') ? undefined : json['server_auth'],
|
|
32
|
+
'hashedIp': !runtime.exists(json, 'hashed_ip') ? undefined : json['hashed_ip'],
|
|
32
33
|
};
|
|
33
34
|
}
|
|
34
35
|
function MinifiedDynamicJwtToJSON(value) {
|
|
@@ -54,6 +55,7 @@ function MinifiedDynamicJwtToJSON(value) {
|
|
|
54
55
|
'email': value.email,
|
|
55
56
|
'username': value.username,
|
|
56
57
|
'server_auth': value.serverAuth,
|
|
58
|
+
'hashed_ip': value.hashedIp,
|
|
57
59
|
};
|
|
58
60
|
}
|
|
59
61
|
|
|
@@ -106,6 +106,12 @@ export interface MinifiedDynamicJwt {
|
|
|
106
106
|
* @memberof MinifiedDynamicJwt
|
|
107
107
|
*/
|
|
108
108
|
serverAuth?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Hashed IP address
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof MinifiedDynamicJwt
|
|
113
|
+
*/
|
|
114
|
+
hashedIp?: string;
|
|
109
115
|
}
|
|
110
116
|
export declare function MinifiedDynamicJwtFromJSON(json: any): MinifiedDynamicJwt;
|
|
111
117
|
export declare function MinifiedDynamicJwtFromJSONTyped(json: any, ignoreDiscriminator: boolean): MinifiedDynamicJwt;
|
|
@@ -25,6 +25,7 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
26
26
|
'username': !exists(json, 'username') ? undefined : json['username'],
|
|
27
27
|
'serverAuth': !exists(json, 'server_auth') ? undefined : json['server_auth'],
|
|
28
|
+
'hashedIp': !exists(json, 'hashed_ip') ? undefined : json['hashed_ip'],
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
31
|
function MinifiedDynamicJwtToJSON(value) {
|
|
@@ -50,6 +51,7 @@ function MinifiedDynamicJwtToJSON(value) {
|
|
|
50
51
|
'email': value.email,
|
|
51
52
|
'username': value.username,
|
|
52
53
|
'server_auth': value.serverAuth,
|
|
54
|
+
'hashed_ip': value.hashedIp,
|
|
53
55
|
};
|
|
54
56
|
}
|
|
55
57
|
|
|
@@ -24,6 +24,7 @@ function TokenBalanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
'price': !runtime.exists(json, 'price') ? undefined : json['price'],
|
|
25
25
|
'marketValue': !runtime.exists(json, 'marketValue') ? undefined : json['marketValue'],
|
|
26
26
|
'liquidityPoolSizeUsd': !runtime.exists(json, 'liquidityPoolSizeUsd') ? undefined : json['liquidityPoolSizeUsd'],
|
|
27
|
+
'totalSupply': !runtime.exists(json, 'totalSupply') ? undefined : json['totalSupply'],
|
|
27
28
|
'isNative': !runtime.exists(json, 'isNative') ? undefined : json['isNative'],
|
|
28
29
|
};
|
|
29
30
|
}
|
|
@@ -46,6 +47,7 @@ function TokenBalanceToJSON(value) {
|
|
|
46
47
|
'price': value.price,
|
|
47
48
|
'marketValue': value.marketValue,
|
|
48
49
|
'liquidityPoolSizeUsd': value.liquidityPoolSizeUsd,
|
|
50
|
+
'totalSupply': value.totalSupply,
|
|
49
51
|
'isNative': value.isNative,
|
|
50
52
|
};
|
|
51
53
|
}
|
|
@@ -20,6 +20,7 @@ function TokenBalanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
'price': !exists(json, 'price') ? undefined : json['price'],
|
|
21
21
|
'marketValue': !exists(json, 'marketValue') ? undefined : json['marketValue'],
|
|
22
22
|
'liquidityPoolSizeUsd': !exists(json, 'liquidityPoolSizeUsd') ? undefined : json['liquidityPoolSizeUsd'],
|
|
23
|
+
'totalSupply': !exists(json, 'totalSupply') ? undefined : json['totalSupply'],
|
|
23
24
|
'isNative': !exists(json, 'isNative') ? undefined : json['isNative'],
|
|
24
25
|
};
|
|
25
26
|
}
|
|
@@ -42,6 +43,7 @@ function TokenBalanceToJSON(value) {
|
|
|
42
43
|
'price': value.price,
|
|
43
44
|
'marketValue': value.marketValue,
|
|
44
45
|
'liquidityPoolSizeUsd': value.liquidityPoolSizeUsd,
|
|
46
|
+
'totalSupply': value.totalSupply,
|
|
45
47
|
'isNative': value.isNative,
|
|
46
48
|
};
|
|
47
49
|
}
|
package/src/models/index.d.ts
CHANGED
|
@@ -70,8 +70,11 @@ export * from './ChainalysisCheck';
|
|
|
70
70
|
export * from './ChainalysisCheckResultEnum';
|
|
71
71
|
export * from './ChainalysisConfiguration';
|
|
72
72
|
export * from './CoinbaseMpcWalletProperties';
|
|
73
|
+
export * from './CoinbaseOnrampBuyUrlExperience';
|
|
73
74
|
export * from './CoinbaseOnrampFee';
|
|
74
75
|
export * from './CoinbaseOnrampFeeType';
|
|
76
|
+
export * from './CoinbaseOnrampGetBuyUrlRequest';
|
|
77
|
+
export * from './CoinbaseOnrampGetBuyUrlResponse';
|
|
75
78
|
export * from './CoinbaseOnrampOrder';
|
|
76
79
|
export * from './CoinbaseOnrampOrderCreateRequest';
|
|
77
80
|
export * from './CoinbaseOnrampOrderPaymentLinkType';
|
|
@@ -103,6 +106,7 @@ export * from './CreateUserWaasWalletsRequest';
|
|
|
103
106
|
export * from './CreateWaasAccountRequest';
|
|
104
107
|
export * from './CreateWalletAccountRequest';
|
|
105
108
|
export * from './CreateWalletRequest';
|
|
109
|
+
export * from './CryptoDotComPaymentCreateRequest';
|
|
106
110
|
export * from './Currency';
|
|
107
111
|
export * from './CurrencyType';
|
|
108
112
|
export * from './CustomField';
|
|
@@ -206,6 +210,7 @@ export * from './GateRuleFilter';
|
|
|
206
210
|
export * from './GateRuleType';
|
|
207
211
|
export * from './GateUpdateRequest';
|
|
208
212
|
export * from './GatesResponse';
|
|
213
|
+
export * from './GeneratedTokenResponse';
|
|
209
214
|
export * from './GetPasskeyAuthenticationOptionsResponse';
|
|
210
215
|
export * from './GetPasskeyRegistrationOptionsResponse';
|
|
211
216
|
export * from './GetUserPasskeysResponse';
|