@dynamic-labs/sdk-api-core 0.0.737 → 0.0.739

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-core",
3
- "version": "0.0.737",
3
+ "version": "0.0.739",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -3324,6 +3324,9 @@ class SDKApi extends runtime.BaseAPI {
3324
3324
  if (requestParameters.token !== undefined) {
3325
3325
  queryParameters['token'] = requestParameters.token;
3326
3326
  }
3327
+ if (requestParameters.tokenAmount !== undefined) {
3328
+ queryParameters['tokenAmount'] = requestParameters.tokenAmount;
3329
+ }
3327
3330
  if (requestParameters.includeDisabled !== undefined) {
3328
3331
  queryParameters['includeDisabled'] = requestParameters.includeDisabled;
3329
3332
  }
@@ -373,6 +373,7 @@ export interface GetSupportedOnrampsRequest {
373
373
  chain: string;
374
374
  networkId?: string;
375
375
  token?: string;
376
+ tokenAmount?: number;
376
377
  includeDisabled?: boolean;
377
378
  }
378
379
  export interface GetTelegramAuthRequest {
@@ -3320,6 +3320,9 @@ class SDKApi extends BaseAPI {
3320
3320
  if (requestParameters.token !== undefined) {
3321
3321
  queryParameters['token'] = requestParameters.token;
3322
3322
  }
3323
+ if (requestParameters.tokenAmount !== undefined) {
3324
+ queryParameters['tokenAmount'] = requestParameters.tokenAmount;
3325
+ }
3323
3326
  if (requestParameters.includeDisabled !== undefined) {
3324
3327
  queryParameters['includeDisabled'] = requestParameters.includeDisabled;
3325
3328
  }
@@ -135,6 +135,7 @@ exports.UnprocessableEntityErrorCode = void 0;
135
135
  UnprocessableEntityErrorCode["InvalidKeySharesLength"] = "invalid_key_shares_length";
136
136
  UnprocessableEntityErrorCode["WalletServiceConnectionError"] = "wallet_service_connection_error";
137
137
  UnprocessableEntityErrorCode["NoGlobalWalletFound"] = "no_global_wallet_found";
138
+ UnprocessableEntityErrorCode["InvalidMetadataValue"] = "invalid_metadata_value";
138
139
  })(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
139
140
  function UnprocessableEntityErrorCodeFromJSON(json) {
140
141
  return UnprocessableEntityErrorCodeFromJSONTyped(json);
@@ -127,7 +127,8 @@ export declare enum UnprocessableEntityErrorCode {
127
127
  KeyShareAlreadyBackedUp = "key_share_already_backed_up",
128
128
  InvalidKeySharesLength = "invalid_key_shares_length",
129
129
  WalletServiceConnectionError = "wallet_service_connection_error",
130
- NoGlobalWalletFound = "no_global_wallet_found"
130
+ NoGlobalWalletFound = "no_global_wallet_found",
131
+ InvalidMetadataValue = "invalid_metadata_value"
131
132
  }
132
133
  export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
133
134
  export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
@@ -131,6 +131,7 @@ var UnprocessableEntityErrorCode;
131
131
  UnprocessableEntityErrorCode["InvalidKeySharesLength"] = "invalid_key_shares_length";
132
132
  UnprocessableEntityErrorCode["WalletServiceConnectionError"] = "wallet_service_connection_error";
133
133
  UnprocessableEntityErrorCode["NoGlobalWalletFound"] = "no_global_wallet_found";
134
+ UnprocessableEntityErrorCode["InvalidMetadataValue"] = "invalid_metadata_value";
134
135
  })(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
135
136
  function UnprocessableEntityErrorCodeFromJSON(json) {
136
137
  return UnprocessableEntityErrorCodeFromJSONTyped(json);