@dynamic-labs/sdk-api-core 0.0.692 → 0.0.693
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
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -2896,6 +2896,12 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2896
2896
|
throw new runtime.RequiredError('exchangeKey', 'Required parameter requestParameters.exchangeKey was null or undefined when calling getUserAccounts.');
|
|
2897
2897
|
}
|
|
2898
2898
|
const queryParameters = {};
|
|
2899
|
+
if (requestParameters.networkId !== undefined) {
|
|
2900
|
+
queryParameters['networkId'] = requestParameters.networkId;
|
|
2901
|
+
}
|
|
2902
|
+
if (requestParameters.chainName !== undefined) {
|
|
2903
|
+
queryParameters['chainName'] = requestParameters.chainName;
|
|
2904
|
+
}
|
|
2899
2905
|
const headerParameters = {};
|
|
2900
2906
|
if (this.configuration && this.configuration.accessToken) {
|
|
2901
2907
|
const token = this.configuration.accessToken;
|
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -323,6 +323,8 @@ export interface GetTelegramAuthRequest {
|
|
|
323
323
|
export interface GetUserAccountsRequest {
|
|
324
324
|
environmentId: string;
|
|
325
325
|
exchangeKey: ExchangeKeyEnum;
|
|
326
|
+
networkId?: number;
|
|
327
|
+
chainName?: ChainEnum;
|
|
326
328
|
}
|
|
327
329
|
export interface GetUserAccountsOptionsRequest {
|
|
328
330
|
environmentId: string;
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -2892,6 +2892,12 @@ class SDKApi extends BaseAPI {
|
|
|
2892
2892
|
throw new RequiredError('exchangeKey', 'Required parameter requestParameters.exchangeKey was null or undefined when calling getUserAccounts.');
|
|
2893
2893
|
}
|
|
2894
2894
|
const queryParameters = {};
|
|
2895
|
+
if (requestParameters.networkId !== undefined) {
|
|
2896
|
+
queryParameters['networkId'] = requestParameters.networkId;
|
|
2897
|
+
}
|
|
2898
|
+
if (requestParameters.chainName !== undefined) {
|
|
2899
|
+
queryParameters['chainName'] = requestParameters.chainName;
|
|
2900
|
+
}
|
|
2895
2901
|
const headerParameters = {};
|
|
2896
2902
|
if (this.configuration && this.configuration.accessToken) {
|
|
2897
2903
|
const token = this.configuration.accessToken;
|
|
@@ -16,6 +16,7 @@ function AccountBalancesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
16
|
'currency': json['currency'],
|
|
17
17
|
'balance': json['balance'],
|
|
18
18
|
'availableBalance': !runtime.exists(json, 'availableBalance') ? undefined : json['availableBalance'],
|
|
19
|
+
'logoURI': !runtime.exists(json, 'logoURI') ? undefined : json['logoURI'],
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
22
|
function AccountBalancesToJSON(value) {
|
|
@@ -29,6 +30,7 @@ function AccountBalancesToJSON(value) {
|
|
|
29
30
|
'currency': value.currency,
|
|
30
31
|
'balance': value.balance,
|
|
31
32
|
'availableBalance': value.availableBalance,
|
|
33
|
+
'logoURI': value.logoURI,
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
36
|
|
|
@@ -33,6 +33,12 @@ export interface AccountBalances {
|
|
|
33
33
|
* @memberof AccountBalances
|
|
34
34
|
*/
|
|
35
35
|
availableBalance?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AccountBalances
|
|
40
|
+
*/
|
|
41
|
+
logoURI?: string;
|
|
36
42
|
}
|
|
37
43
|
export declare function AccountBalancesFromJSON(json: any): AccountBalances;
|
|
38
44
|
export declare function AccountBalancesFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountBalances;
|
|
@@ -12,6 +12,7 @@ function AccountBalancesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
12
|
'currency': json['currency'],
|
|
13
13
|
'balance': json['balance'],
|
|
14
14
|
'availableBalance': !exists(json, 'availableBalance') ? undefined : json['availableBalance'],
|
|
15
|
+
'logoURI': !exists(json, 'logoURI') ? undefined : json['logoURI'],
|
|
15
16
|
};
|
|
16
17
|
}
|
|
17
18
|
function AccountBalancesToJSON(value) {
|
|
@@ -25,6 +26,7 @@ function AccountBalancesToJSON(value) {
|
|
|
25
26
|
'currency': value.currency,
|
|
26
27
|
'balance': value.balance,
|
|
27
28
|
'availableBalance': value.availableBalance,
|
|
29
|
+
'logoURI': value.logoURI,
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
|