@dynamic-labs/sdk-api 0.0.896 → 0.0.898

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.896",
3
+ "version": "0.0.898",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -90,7 +90,6 @@ var DelegatedShareDeliveryResponse = require('../models/DelegatedShareDeliveryRe
90
90
  var DeleteDeviceRegistrationResponse = require('../models/DeleteDeviceRegistrationResponse.cjs');
91
91
  var DeleteEmbeddedWalletsRequest = require('../models/DeleteEmbeddedWalletsRequest.cjs');
92
92
  var DeleteUserPasskeyRequest = require('../models/DeleteUserPasskeyRequest.cjs');
93
- var DeviceRegistrationRequest = require('../models/DeviceRegistrationRequest.cjs');
94
93
  var DeviceRegistrationsResponse = require('../models/DeviceRegistrationsResponse.cjs');
95
94
  var EmailProviderResponse = require('../models/EmailProviderResponse.cjs');
96
95
  var EmailVerificationCreateRequest = require('../models/EmailVerificationCreateRequest.cjs');
@@ -2358,7 +2357,6 @@ class SDKApi extends runtime.BaseAPI {
2358
2357
  }
2359
2358
  const queryParameters = {};
2360
2359
  const headerParameters = {};
2361
- headerParameters['Content-Type'] = 'application/json';
2362
2360
  if (this.configuration && this.configuration.accessToken) {
2363
2361
  const token = this.configuration.accessToken;
2364
2362
  const tokenString = yield token("bearerAuth", []);
@@ -2371,7 +2369,6 @@ class SDKApi extends runtime.BaseAPI {
2371
2369
  method: 'POST',
2372
2370
  headers: headerParameters,
2373
2371
  query: queryParameters,
2374
- body: DeviceRegistrationRequest.DeviceRegistrationRequestToJSON(requestParameters.deviceRegistrationRequest),
2375
2372
  }, initOverrides);
2376
2373
  return new runtime.JSONApiResponse(response, (jsonValue) => VerifyResponse.VerifyResponseFromJSON(jsonValue));
2377
2374
  });
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { Account, AttachSourceRequest, BackupKeySharesToLocationRequest, BackupKeySharesToLocationResponse, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BackupMultipleClientKeySharesResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthSigninRequest, FarcasterSignInRequest, GeneratedTokenResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject1, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, QuoteRequest, RealtimeAuthTokenResponse, RecordBroadcastRequest, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateResponse, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WalletSanctionsResponse, WalletTransactionsResponse } from '../models';
13
+ import { Account, AttachSourceRequest, BackupKeySharesToLocationRequest, BackupKeySharesToLocationResponse, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BackupMultipleClientKeySharesResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthSigninRequest, FarcasterSignInRequest, GeneratedTokenResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject1, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, QuoteRequest, RealtimeAuthTokenResponse, RecordBroadcastRequest, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateResponse, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WalletSanctionsResponse, WalletTransactionsResponse } from '../models';
14
14
  export interface AttachSourceOperationRequest {
15
15
  environmentId: string;
16
16
  transactionId: string;
@@ -244,9 +244,8 @@ export interface DeliverDelegatedShareOptionsRequest {
244
244
  environmentId: string;
245
245
  walletId: string;
246
246
  }
247
- export interface DeviceRegistrationOperationRequest {
247
+ export interface DeviceRegistrationRequest {
248
248
  environmentId: string;
249
- deviceRegistrationRequest?: DeviceRegistrationRequest;
250
249
  }
251
250
  export interface DeviceRegistrationByIdOptionsRequest {
252
251
  environmentId: string;
@@ -1671,12 +1670,12 @@ export declare class SDKApi extends runtime.BaseAPI {
1671
1670
  * This endpoint allows registering a new device using a device registration token. The token is passed via the x-dynamic-device-token-registration header. Optionally accepts mobile registration parameters (nonce, signedNonce, publicKey) for mobile device verification.
1672
1671
  * Register a new device for an authenticated user
1673
1672
  */
1674
- deviceRegistrationRaw(requestParameters: DeviceRegistrationOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<VerifyResponse>>;
1673
+ deviceRegistrationRaw(requestParameters: DeviceRegistrationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<VerifyResponse>>;
1675
1674
  /**
1676
1675
  * This endpoint allows registering a new device using a device registration token. The token is passed via the x-dynamic-device-token-registration header. Optionally accepts mobile registration parameters (nonce, signedNonce, publicKey) for mobile device verification.
1677
1676
  * Register a new device for an authenticated user
1678
1677
  */
1679
- deviceRegistration(requestParameters: DeviceRegistrationOperationRequest, initOverrides?: RequestInit): Promise<VerifyResponse>;
1678
+ deviceRegistration(requestParameters: DeviceRegistrationRequest, initOverrides?: RequestInit): Promise<VerifyResponse>;
1680
1679
  /**
1681
1680
  * Options call for this endpoint
1682
1681
  */
@@ -86,7 +86,6 @@ import { DelegatedShareDeliveryResponseFromJSON } from '../models/DelegatedShare
86
86
  import { DeleteDeviceRegistrationResponseFromJSON } from '../models/DeleteDeviceRegistrationResponse.js';
87
87
  import { DeleteEmbeddedWalletsRequestToJSON } from '../models/DeleteEmbeddedWalletsRequest.js';
88
88
  import { DeleteUserPasskeyRequestToJSON } from '../models/DeleteUserPasskeyRequest.js';
89
- import { DeviceRegistrationRequestToJSON } from '../models/DeviceRegistrationRequest.js';
90
89
  import { DeviceRegistrationsResponseFromJSON } from '../models/DeviceRegistrationsResponse.js';
91
90
  import { EmailProviderResponseFromJSON } from '../models/EmailProviderResponse.js';
92
91
  import { EmailVerificationCreateRequestToJSON } from '../models/EmailVerificationCreateRequest.js';
@@ -2354,7 +2353,6 @@ class SDKApi extends BaseAPI {
2354
2353
  }
2355
2354
  const queryParameters = {};
2356
2355
  const headerParameters = {};
2357
- headerParameters['Content-Type'] = 'application/json';
2358
2356
  if (this.configuration && this.configuration.accessToken) {
2359
2357
  const token = this.configuration.accessToken;
2360
2358
  const tokenString = yield token("bearerAuth", []);
@@ -2367,7 +2365,6 @@ class SDKApi extends BaseAPI {
2367
2365
  method: 'POST',
2368
2366
  headers: headerParameters,
2369
2367
  query: queryParameters,
2370
- body: DeviceRegistrationRequestToJSON(requestParameters.deviceRegistrationRequest),
2371
2368
  }, initOverrides);
2372
2369
  return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue));
2373
2370
  });
@@ -120,8 +120,8 @@ var WalletsResponse = require('../models/WalletsResponse.cjs');
120
120
  */
121
121
  class WalletsApi extends runtime.BaseAPI {
122
122
  /**
123
- * Creates a new embedded wallet for a user given an email or userId. If an email is provided and it is not associated with an existing user this call will also create a new user.
124
- * Create an embedded wallet for a user
123
+ * Deprecated. Creates a new embedded wallet for a user given an email or userId (V2/Turnkey only). If an email is provided and it is not associated with an existing user this call will also create a new user.
124
+ * Creates a new embedded wallet for a user given an identifier (deprecated)
125
125
  */
126
126
  createEmbeddedWalletRaw(requestParameters, initOverrides) {
127
127
  return _tslib.__awaiter(this, void 0, void 0, function* () {
@@ -152,8 +152,8 @@ class WalletsApi extends runtime.BaseAPI {
152
152
  });
153
153
  }
154
154
  /**
155
- * Creates a new embedded wallet for a user given an email or userId. If an email is provided and it is not associated with an existing user this call will also create a new user.
156
- * Create an embedded wallet for a user
155
+ * Deprecated. Creates a new embedded wallet for a user given an email or userId (V2/Turnkey only). If an email is provided and it is not associated with an existing user this call will also create a new user.
156
+ * Creates a new embedded wallet for a user given an identifier (deprecated)
157
157
  */
158
158
  createEmbeddedWallet(requestParameters, initOverrides) {
159
159
  return _tslib.__awaiter(this, void 0, void 0, function* () {
@@ -204,8 +204,8 @@ class WalletsApi extends runtime.BaseAPI {
204
204
  });
205
205
  }
206
206
  /**
207
- * Creates a new wallet for the user. Note that this API is not meant for creating embedded wallets. To create embedded wallets use the /embeddedWallets endpoint.
208
- * Create a wallet for the user
207
+ * Creates a new wallet for the user. Note that if the user already has an embedded wallet linked, this call will fail. This API is not meant for creating embedded wallets; use the /embeddedWallets endpoint for that.
208
+ * Creates a new wallet for the user
209
209
  */
210
210
  createWalletRaw(requestParameters, initOverrides) {
211
211
  return _tslib.__awaiter(this, void 0, void 0, function* () {
@@ -239,8 +239,8 @@ class WalletsApi extends runtime.BaseAPI {
239
239
  });
240
240
  }
241
241
  /**
242
- * Creates a new wallet for the user. Note that this API is not meant for creating embedded wallets. To create embedded wallets use the /embeddedWallets endpoint.
243
- * Create a wallet for the user
242
+ * Creates a new wallet for the user. Note that if the user already has an embedded wallet linked, this call will fail. This API is not meant for creating embedded wallets; use the /embeddedWallets endpoint for that.
243
+ * Creates a new wallet for the user
244
244
  */
245
245
  createWallet(requestParameters, initOverrides) {
246
246
  return _tslib.__awaiter(this, void 0, void 0, function* () {
@@ -66,13 +66,13 @@ export interface RecoverDeletedWalletsWithEnvironmentRequest {
66
66
  */
67
67
  export declare class WalletsApi extends runtime.BaseAPI {
68
68
  /**
69
- * Creates a new embedded wallet for a user given an email or userId. If an email is provided and it is not associated with an existing user this call will also create a new user.
70
- * Create an embedded wallet for a user
69
+ * Deprecated. Creates a new embedded wallet for a user given an email or userId (V2/Turnkey only). If an email is provided and it is not associated with an existing user this call will also create a new user.
70
+ * Creates a new embedded wallet for a user given an identifier (deprecated)
71
71
  */
72
72
  createEmbeddedWalletRaw(requestParameters: CreateEmbeddedWalletRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<UserResponse>>;
73
73
  /**
74
- * Creates a new embedded wallet for a user given an email or userId. If an email is provided and it is not associated with an existing user this call will also create a new user.
75
- * Create an embedded wallet for a user
74
+ * Deprecated. Creates a new embedded wallet for a user given an email or userId (V2/Turnkey only). If an email is provided and it is not associated with an existing user this call will also create a new user.
75
+ * Creates a new embedded wallet for a user given an identifier (deprecated)
76
76
  */
77
77
  createEmbeddedWallet(requestParameters: CreateEmbeddedWalletRequest, initOverrides?: RequestInit): Promise<UserResponse>;
78
78
  /**
@@ -86,13 +86,13 @@ export declare class WalletsApi extends runtime.BaseAPI {
86
86
  */
87
87
  createEmbeddedWalletFromFarcaster(requestParameters: CreateEmbeddedWalletFromFarcasterRequest, initOverrides?: RequestInit): Promise<UserResponse>;
88
88
  /**
89
- * Creates a new wallet for the user. Note that this API is not meant for creating embedded wallets. To create embedded wallets use the /embeddedWallets endpoint.
90
- * Create a wallet for the user
89
+ * Creates a new wallet for the user. Note that if the user already has an embedded wallet linked, this call will fail. This API is not meant for creating embedded wallets; use the /embeddedWallets endpoint for that.
90
+ * Creates a new wallet for the user
91
91
  */
92
92
  createWalletRaw(requestParameters: CreateWalletOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Wallet>>;
93
93
  /**
94
- * Creates a new wallet for the user. Note that this API is not meant for creating embedded wallets. To create embedded wallets use the /embeddedWallets endpoint.
95
- * Create a wallet for the user
94
+ * Creates a new wallet for the user. Note that if the user already has an embedded wallet linked, this call will fail. This API is not meant for creating embedded wallets; use the /embeddedWallets endpoint for that.
95
+ * Creates a new wallet for the user
96
96
  */
97
97
  createWallet(requestParameters: CreateWalletOperationRequest, initOverrides?: RequestInit): Promise<Wallet>;
98
98
  /**
@@ -116,8 +116,8 @@ import { WalletsResponseFromJSON } from '../models/WalletsResponse.js';
116
116
  */
117
117
  class WalletsApi extends BaseAPI {
118
118
  /**
119
- * Creates a new embedded wallet for a user given an email or userId. If an email is provided and it is not associated with an existing user this call will also create a new user.
120
- * Create an embedded wallet for a user
119
+ * Deprecated. Creates a new embedded wallet for a user given an email or userId (V2/Turnkey only). If an email is provided and it is not associated with an existing user this call will also create a new user.
120
+ * Creates a new embedded wallet for a user given an identifier (deprecated)
121
121
  */
122
122
  createEmbeddedWalletRaw(requestParameters, initOverrides) {
123
123
  return __awaiter(this, void 0, void 0, function* () {
@@ -148,8 +148,8 @@ class WalletsApi extends BaseAPI {
148
148
  });
149
149
  }
150
150
  /**
151
- * Creates a new embedded wallet for a user given an email or userId. If an email is provided and it is not associated with an existing user this call will also create a new user.
152
- * Create an embedded wallet for a user
151
+ * Deprecated. Creates a new embedded wallet for a user given an email or userId (V2/Turnkey only). If an email is provided and it is not associated with an existing user this call will also create a new user.
152
+ * Creates a new embedded wallet for a user given an identifier (deprecated)
153
153
  */
154
154
  createEmbeddedWallet(requestParameters, initOverrides) {
155
155
  return __awaiter(this, void 0, void 0, function* () {
@@ -200,8 +200,8 @@ class WalletsApi extends BaseAPI {
200
200
  });
201
201
  }
202
202
  /**
203
- * Creates a new wallet for the user. Note that this API is not meant for creating embedded wallets. To create embedded wallets use the /embeddedWallets endpoint.
204
- * Create a wallet for the user
203
+ * Creates a new wallet for the user. Note that if the user already has an embedded wallet linked, this call will fail. This API is not meant for creating embedded wallets; use the /embeddedWallets endpoint for that.
204
+ * Creates a new wallet for the user
205
205
  */
206
206
  createWalletRaw(requestParameters, initOverrides) {
207
207
  return __awaiter(this, void 0, void 0, function* () {
@@ -235,8 +235,8 @@ class WalletsApi extends BaseAPI {
235
235
  });
236
236
  }
237
237
  /**
238
- * Creates a new wallet for the user. Note that this API is not meant for creating embedded wallets. To create embedded wallets use the /embeddedWallets endpoint.
239
- * Create a wallet for the user
238
+ * Creates a new wallet for the user. Note that if the user already has an embedded wallet linked, this call will fail. This API is not meant for creating embedded wallets; use the /embeddedWallets endpoint for that.
239
+ * Creates a new wallet for the user
240
240
  */
241
241
  createWallet(requestParameters, initOverrides) {
242
242
  return __awaiter(this, void 0, void 0, function* () {
package/src/index.cjs CHANGED
@@ -209,7 +209,6 @@ var DeleteUserPasskeyRequest = require('./models/DeleteUserPasskeyRequest.cjs');
209
209
  var DepositAmountsConfigInput = require('./models/DepositAmountsConfigInput.cjs');
210
210
  var DestinationConfigInput = require('./models/DestinationConfigInput.cjs');
211
211
  var DestinationTypeEnum = require('./models/DestinationTypeEnum.cjs');
212
- var DeviceRegistrationRequest = require('./models/DeviceRegistrationRequest.cjs');
213
212
  var DeviceRegistrationResponse = require('./models/DeviceRegistrationResponse.cjs');
214
213
  var DeviceRegistrationsResponse = require('./models/DeviceRegistrationsResponse.cjs');
215
214
  var DnsRecordType = require('./models/DnsRecordType.cjs');
@@ -1362,9 +1361,6 @@ Object.defineProperty(exports, 'DestinationTypeEnum', {
1362
1361
  exports.DestinationTypeEnumFromJSON = DestinationTypeEnum.DestinationTypeEnumFromJSON;
1363
1362
  exports.DestinationTypeEnumFromJSONTyped = DestinationTypeEnum.DestinationTypeEnumFromJSONTyped;
1364
1363
  exports.DestinationTypeEnumToJSON = DestinationTypeEnum.DestinationTypeEnumToJSON;
1365
- exports.DeviceRegistrationRequestFromJSON = DeviceRegistrationRequest.DeviceRegistrationRequestFromJSON;
1366
- exports.DeviceRegistrationRequestFromJSONTyped = DeviceRegistrationRequest.DeviceRegistrationRequestFromJSONTyped;
1367
- exports.DeviceRegistrationRequestToJSON = DeviceRegistrationRequest.DeviceRegistrationRequestToJSON;
1368
1364
  exports.DeviceRegistrationResponseFromJSON = DeviceRegistrationResponse.DeviceRegistrationResponseFromJSON;
1369
1365
  exports.DeviceRegistrationResponseFromJSONTyped = DeviceRegistrationResponse.DeviceRegistrationResponseFromJSONTyped;
1370
1366
  exports.DeviceRegistrationResponseToJSON = DeviceRegistrationResponse.DeviceRegistrationResponseToJSON;
package/src/index.js CHANGED
@@ -205,7 +205,6 @@ export { DeleteUserPasskeyRequestFromJSON, DeleteUserPasskeyRequestFromJSONTyped
205
205
  export { DepositAmountsConfigInputFromJSON, DepositAmountsConfigInputFromJSONTyped, DepositAmountsConfigInputToJSON } from './models/DepositAmountsConfigInput.js';
206
206
  export { DestinationConfigInputFromJSON, DestinationConfigInputFromJSONTyped, DestinationConfigInputToJSON } from './models/DestinationConfigInput.js';
207
207
  export { DestinationTypeEnum, DestinationTypeEnumFromJSON, DestinationTypeEnumFromJSONTyped, DestinationTypeEnumToJSON } from './models/DestinationTypeEnum.js';
208
- export { DeviceRegistrationRequestFromJSON, DeviceRegistrationRequestFromJSONTyped, DeviceRegistrationRequestToJSON } from './models/DeviceRegistrationRequest.js';
209
208
  export { DeviceRegistrationResponseFromJSON, DeviceRegistrationResponseFromJSONTyped, DeviceRegistrationResponseToJSON } from './models/DeviceRegistrationResponse.js';
210
209
  export { DeviceRegistrationsResponseFromJSON, DeviceRegistrationsResponseFromJSONTyped, DeviceRegistrationsResponseToJSON } from './models/DeviceRegistrationsResponse.js';
211
210
  export { DnsRecordType, DnsRecordTypeFromJSON, DnsRecordTypeFromJSONTyped, DnsRecordTypeToJSON } from './models/DnsRecordType.js';
@@ -166,7 +166,6 @@ export * from './DeleteUserPasskeyRequest';
166
166
  export * from './DepositAmountsConfigInput';
167
167
  export * from './DestinationConfigInput';
168
168
  export * from './DestinationTypeEnum';
169
- export * from './DeviceRegistrationRequest';
170
169
  export * from './DeviceRegistrationResponse';
171
170
  export * from './DeviceRegistrationsResponse';
172
171
  export * from './DnsRecordType';
@@ -1,37 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var runtime = require('../runtime.cjs');
6
-
7
- /* tslint:disable */
8
- function DeviceRegistrationRequestFromJSON(json) {
9
- return DeviceRegistrationRequestFromJSONTyped(json);
10
- }
11
- function DeviceRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
12
- if ((json === undefined) || (json === null)) {
13
- return json;
14
- }
15
- return {
16
- 'nonce': !runtime.exists(json, 'nonce') ? undefined : json['nonce'],
17
- 'signedNonce': !runtime.exists(json, 'signedNonce') ? undefined : json['signedNonce'],
18
- 'publicKey': !runtime.exists(json, 'publicKey') ? undefined : json['publicKey'],
19
- };
20
- }
21
- function DeviceRegistrationRequestToJSON(value) {
22
- if (value === undefined) {
23
- return undefined;
24
- }
25
- if (value === null) {
26
- return null;
27
- }
28
- return {
29
- 'nonce': value.nonce,
30
- 'signedNonce': value.signedNonce,
31
- 'publicKey': value.publicKey,
32
- };
33
- }
34
-
35
- exports.DeviceRegistrationRequestFromJSON = DeviceRegistrationRequestFromJSON;
36
- exports.DeviceRegistrationRequestFromJSONTyped = DeviceRegistrationRequestFromJSONTyped;
37
- exports.DeviceRegistrationRequestToJSON = DeviceRegistrationRequestToJSON;
@@ -1,39 +0,0 @@
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
- * Request body for device registration with optional mobile registration fields
14
- * @export
15
- * @interface DeviceRegistrationRequest
16
- */
17
- export interface DeviceRegistrationRequest {
18
- /**
19
- * Nonce for mobile device registration
20
- * @type {string}
21
- * @memberof DeviceRegistrationRequest
22
- */
23
- nonce?: string;
24
- /**
25
- * Signed nonce for mobile device registration verification
26
- * @type {string}
27
- * @memberof DeviceRegistrationRequest
28
- */
29
- signedNonce?: string;
30
- /**
31
- * Public key for mobile device registration
32
- * @type {string}
33
- * @memberof DeviceRegistrationRequest
34
- */
35
- publicKey?: string;
36
- }
37
- export declare function DeviceRegistrationRequestFromJSON(json: any): DeviceRegistrationRequest;
38
- export declare function DeviceRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeviceRegistrationRequest;
39
- export declare function DeviceRegistrationRequestToJSON(value?: DeviceRegistrationRequest | null): any;
@@ -1,31 +0,0 @@
1
- import { exists } from '../runtime.js';
2
-
3
- /* tslint:disable */
4
- function DeviceRegistrationRequestFromJSON(json) {
5
- return DeviceRegistrationRequestFromJSONTyped(json);
6
- }
7
- function DeviceRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
8
- if ((json === undefined) || (json === null)) {
9
- return json;
10
- }
11
- return {
12
- 'nonce': !exists(json, 'nonce') ? undefined : json['nonce'],
13
- 'signedNonce': !exists(json, 'signedNonce') ? undefined : json['signedNonce'],
14
- 'publicKey': !exists(json, 'publicKey') ? undefined : json['publicKey'],
15
- };
16
- }
17
- function DeviceRegistrationRequestToJSON(value) {
18
- if (value === undefined) {
19
- return undefined;
20
- }
21
- if (value === null) {
22
- return null;
23
- }
24
- return {
25
- 'nonce': value.nonce,
26
- 'signedNonce': value.signedNonce,
27
- 'publicKey': value.publicKey,
28
- };
29
- }
30
-
31
- export { DeviceRegistrationRequestFromJSON, DeviceRegistrationRequestFromJSONTyped, DeviceRegistrationRequestToJSON };