@dynamic-labs/sdk-api 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",
3
- "version": "0.0.737",
3
+ "version": "0.0.739",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -3393,6 +3393,9 @@ class SDKApi extends runtime.BaseAPI {
3393
3393
  if (requestParameters.token !== undefined) {
3394
3394
  queryParameters['token'] = requestParameters.token;
3395
3395
  }
3396
+ if (requestParameters.tokenAmount !== undefined) {
3397
+ queryParameters['tokenAmount'] = requestParameters.tokenAmount;
3398
+ }
3396
3399
  if (requestParameters.includeDisabled !== undefined) {
3397
3400
  queryParameters['includeDisabled'] = requestParameters.includeDisabled;
3398
3401
  }
@@ -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 {
@@ -3389,6 +3389,9 @@ class SDKApi extends BaseAPI {
3389
3389
  if (requestParameters.token !== undefined) {
3390
3390
  queryParameters['token'] = requestParameters.token;
3391
3391
  }
3392
+ if (requestParameters.tokenAmount !== undefined) {
3393
+ queryParameters['tokenAmount'] = requestParameters.tokenAmount;
3394
+ }
3392
3395
  if (requestParameters.includeDisabled !== undefined) {
3393
3396
  queryParameters['includeDisabled'] = requestParameters.includeDisabled;
3394
3397
  }
@@ -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);