@dynamic-labs/sdk-api 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.692",
3
+ "version": "0.0.693",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -2963,6 +2963,12 @@ class SDKApi extends runtime.BaseAPI {
2963
2963
  throw new runtime.RequiredError('exchangeKey', 'Required parameter requestParameters.exchangeKey was null or undefined when calling getUserAccounts.');
2964
2964
  }
2965
2965
  const queryParameters = {};
2966
+ if (requestParameters.networkId !== undefined) {
2967
+ queryParameters['networkId'] = requestParameters.networkId;
2968
+ }
2969
+ if (requestParameters.chainName !== undefined) {
2970
+ queryParameters['chainName'] = requestParameters.chainName;
2971
+ }
2966
2972
  const headerParameters = {};
2967
2973
  if (this.configuration && this.configuration.accessToken) {
2968
2974
  const token = this.configuration.accessToken;
@@ -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;
@@ -2959,6 +2959,12 @@ class SDKApi extends BaseAPI {
2959
2959
  throw new RequiredError('exchangeKey', 'Required parameter requestParameters.exchangeKey was null or undefined when calling getUserAccounts.');
2960
2960
  }
2961
2961
  const queryParameters = {};
2962
+ if (requestParameters.networkId !== undefined) {
2963
+ queryParameters['networkId'] = requestParameters.networkId;
2964
+ }
2965
+ if (requestParameters.chainName !== undefined) {
2966
+ queryParameters['chainName'] = requestParameters.chainName;
2967
+ }
2962
2968
  const headerParameters = {};
2963
2969
  if (this.configuration && this.configuration.accessToken) {
2964
2970
  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