@dynamic-labs/sdk-api-core 0.0.940 → 0.0.942

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.
Files changed (214) hide show
  1. package/package.json +1 -1
  2. package/src/index.cjs +4 -0
  3. package/src/index.js +1 -0
  4. package/src/models/Account.d.ts +1 -1
  5. package/src/models/AccountBalances.d.ts +1 -1
  6. package/src/models/Asset.d.ts +7 -7
  7. package/src/models/AssetDiff.d.ts +2 -2
  8. package/src/models/AssetExposure.d.ts +1 -1
  9. package/src/models/AssetTransfer.d.ts +4 -4
  10. package/src/models/AttachSourceRequest.cjs +3 -0
  11. package/src/models/AttachSourceRequest.d.ts +8 -1
  12. package/src/models/AttachSourceRequest.js +3 -0
  13. package/src/models/AuthSettings.d.ts +1 -1
  14. package/src/models/AuthenticationExtensionsClientInputs.d.ts +3 -3
  15. package/src/models/AuthenticationExtensionsClientOutputs.d.ts +3 -3
  16. package/src/models/AuthenticatorAssertionResponse.d.ts +1 -1
  17. package/src/models/AuthenticatorAttestationResponse.d.ts +1 -1
  18. package/src/models/AuthenticatorSelectionCriteria.d.ts +1 -1
  19. package/src/models/BackupKeySharesToLocationResponse.d.ts +1 -1
  20. package/src/models/BackupKeySharesToLocationsPendingResponse.d.ts +2 -2
  21. package/src/models/BackupKeySharesToLocationsRequest.d.ts +1 -1
  22. package/src/models/BackupKeySharesToLocationsResponse.d.ts +3 -3
  23. package/src/models/BackupMultipleClientKeySharesResponse.d.ts +1 -1
  24. package/src/models/BadGateway.d.ts +1 -1
  25. package/src/models/BadRequest.d.ts +1 -1
  26. package/src/models/BaseUser.d.ts +18 -18
  27. package/src/models/BlockaidValidation.d.ts +4 -4
  28. package/src/models/ChainConfiguration.d.ts +3 -3
  29. package/src/models/Checkout.d.ts +3 -3
  30. package/src/models/CheckoutFailure.d.ts +3 -3
  31. package/src/models/CheckoutFeeBreakdown.d.ts +1 -1
  32. package/src/models/CheckoutSettlementData.d.ts +1 -1
  33. package/src/models/CheckoutSourceTypeEnum.cjs +0 -1
  34. package/src/models/CheckoutSourceTypeEnum.d.ts +1 -2
  35. package/src/models/CheckoutSourceTypeEnum.js +0 -1
  36. package/src/models/CheckoutTransaction.cjs +3 -0
  37. package/src/models/CheckoutTransaction.d.ts +18 -11
  38. package/src/models/CheckoutTransaction.js +3 -0
  39. package/src/models/CheckoutTransactionCreateRequest.d.ts +3 -3
  40. package/src/models/CheckoutTransactionExchangeSource.cjs +45 -0
  41. package/src/models/CheckoutTransactionExchangeSource.d.ts +33 -0
  42. package/src/models/CheckoutTransactionExchangeSource.js +39 -0
  43. package/src/models/CheckoutTransactionQuote.d.ts +6 -6
  44. package/src/models/CheckoutsResponse.d.ts +1 -1
  45. package/src/models/CoinbaseOnrampGetBuyUrlRequest.d.ts +2 -2
  46. package/src/models/CoinbaseOnrampOrderResponsePaymentLink.d.ts +1 -1
  47. package/src/models/Conflict.d.ts +1 -1
  48. package/src/models/ConnectRequest.d.ts +1 -1
  49. package/src/models/CreateRoomsResponse.d.ts +1 -1
  50. package/src/models/CreateRoomsWithoutWalletIdResponse.d.ts +1 -1
  51. package/src/models/CreateWaasAccountRequest.d.ts +2 -2
  52. package/src/models/CryptoDotComPaymentResponse.d.ts +1 -1
  53. package/src/models/Currency.d.ts +4 -4
  54. package/src/models/DelegatedAccessEncryptionPublicKey.d.ts +2 -2
  55. package/src/models/DelegatedShareDeliveryRequestEncryptedDelegatedShare.d.ts +1 -1
  56. package/src/models/DepositAmountsConfigInput.d.ts +2 -2
  57. package/src/models/DestinationConfigInput.d.ts +1 -1
  58. package/src/models/DeviceRegistrationResponse.d.ts +4 -4
  59. package/src/models/DeviceRegistrationsResponse.d.ts +2 -2
  60. package/src/models/Duration.d.ts +1 -1
  61. package/src/models/DynamicJwt.d.ts +37 -37
  62. package/src/models/Eip712Domain.d.ts +3 -3
  63. package/src/models/Eip712TypeMember.d.ts +2 -2
  64. package/src/models/EmailVerificationCreateRequest.d.ts +1 -1
  65. package/src/models/EmailVerificationCreateResponse.d.ts +1 -1
  66. package/src/models/EmailVerificationRetryRequest.d.ts +1 -1
  67. package/src/models/EmbeddedWalletAuthToken.d.ts +1 -1
  68. package/src/models/EmbeddedWalletSecret.d.ts +1 -1
  69. package/src/models/EmbeddedWalletSecretWithUpdatedJwt.d.ts +2 -2
  70. package/src/models/EmbeddedWalletSecretWithUpdatedJwtAllOf.d.ts +1 -1
  71. package/src/models/ErrorMessageWithCode.d.ts +2 -2
  72. package/src/models/Exchange.d.ts +1 -1
  73. package/src/models/ExchangeTransaction.d.ts +1 -1
  74. package/src/models/ExchangeTransferResponse.d.ts +1 -1
  75. package/src/models/ExportEmbeddedWalletResponse.d.ts +1 -1
  76. package/src/models/ExportWaasWalletPrivateKeyRequest.d.ts +2 -2
  77. package/src/models/ExternalAuth.d.ts +1 -1
  78. package/src/models/ExternalWalletFundingDefaultSettingsToken.d.ts +1 -1
  79. package/src/models/FeatureFlags.d.ts +2 -2
  80. package/src/models/Forbidden.d.ts +1 -1
  81. package/src/models/ForbiddenErrorPayload.d.ts +1 -1
  82. package/src/models/Funding.d.ts +1 -1
  83. package/src/models/FundingExternalWallets.d.ts +1 -1
  84. package/src/models/GetPasskeyAuthenticationOptionsResponse.d.ts +1 -1
  85. package/src/models/GetPasskeyRegistrationOptionsResponse.d.ts +2 -2
  86. package/src/models/GetUserPasskeysResponse.d.ts +1 -1
  87. package/src/models/GlobalWalletConnection.d.ts +2 -2
  88. package/src/models/GlobalWalletConnectionCreateRequest.d.ts +1 -1
  89. package/src/models/GlobalWalletSettings.d.ts +2 -2
  90. package/src/models/HCaptchaSettings.d.ts +2 -2
  91. package/src/models/ImportWaasPrivateKeyRequest.d.ts +1 -1
  92. package/src/models/IntegrationSetting.d.ts +3 -3
  93. package/src/models/InternalServerError.d.ts +1 -1
  94. package/src/models/JwksKey.d.ts +6 -6
  95. package/src/models/JwksResponse.d.ts +1 -1
  96. package/src/models/JwtBlockchainAccount.d.ts +2 -2
  97. package/src/models/JwtPayloadDeprecatedInfo.d.ts +10 -10
  98. package/src/models/JwtVerifiedCredential.d.ts +10 -10
  99. package/src/models/JwtVerifiedCredentialHashes.d.ts +5 -5
  100. package/src/models/MFAAuthPasskeyDeviceGetResponseAssertion.d.ts +1 -1
  101. package/src/models/MFAListDevicesResponse.d.ts +1 -1
  102. package/src/models/MFAMethodsResponse.d.ts +2 -2
  103. package/src/models/MFARegisterPasskeyDeviceGetResponseRegistration.d.ts +1 -1
  104. package/src/models/MFASettings.d.ts +5 -5
  105. package/src/models/MFASettingsActions.d.ts +1 -1
  106. package/src/models/MFASettingsMethods.d.ts +1 -1
  107. package/src/models/MergeConflicts.d.ts +1 -1
  108. package/src/models/MergeUserConflictResolutions.d.ts +1 -1
  109. package/src/models/MethodNotAllowed.d.ts +1 -1
  110. package/src/models/MinifiedDynamicJwt.d.ts +3 -3
  111. package/src/models/MultichainAccountBalanceResponse.d.ts +1 -1
  112. package/src/models/MultichainAccountBalancesRequest.d.ts +1 -1
  113. package/src/models/NameService.d.ts +1 -1
  114. package/src/models/NameServiceData.d.ts +2 -2
  115. package/src/models/NameServiceSdkSettingsEvm.d.ts +1 -1
  116. package/src/models/NativeCurrency.d.ts +6 -6
  117. package/src/models/Network.d.ts +6 -6
  118. package/src/models/NetworkConfiguration.d.ts +14 -14
  119. package/src/models/NetworkConfigurationResponse.d.ts +2 -2
  120. package/src/models/NextJsSettings.d.ts +1 -1
  121. package/src/models/NonceResponse.d.ts +1 -1
  122. package/src/models/NoncesResponse.d.ts +1 -1
  123. package/src/models/NotFound.d.ts +2 -2
  124. package/src/models/OauthProviderLoginUrl.d.ts +1 -1
  125. package/src/models/OauthProviderRequest.d.ts +2 -2
  126. package/src/models/OpenRoomResponse.d.ts +3 -3
  127. package/src/models/OpenRoomResponseForReshare.d.ts +3 -3
  128. package/src/models/OpenRoomResponseWithServerKeygenIds.d.ts +3 -3
  129. package/src/models/PasskeyAllowCredential.d.ts +1 -1
  130. package/src/models/PasskeyExcludeCredential.d.ts +1 -1
  131. package/src/models/PasskeyRegistrationCredential.d.ts +1 -1
  132. package/src/models/PasskeyRegistrationCredentialV2.d.ts +1 -1
  133. package/src/models/PasskeyStorage.d.ts +3 -3
  134. package/src/models/PriceData.d.ts +1 -1
  135. package/src/models/ProjectSettingsChains.d.ts +3 -3
  136. package/src/models/ProjectSettingsDesignButton.d.ts +5 -5
  137. package/src/models/ProjectSettingsDesignModal.d.ts +13 -13
  138. package/src/models/ProjectSettingsDesignWidget.d.ts +5 -5
  139. package/src/models/ProjectSettingsGeneral.d.ts +8 -8
  140. package/src/models/ProjectSettingsKyc.d.ts +7 -7
  141. package/src/models/ProjectSettingsPrivacy.d.ts +1 -1
  142. package/src/models/ProjectSettingsSdk.d.ts +14 -14
  143. package/src/models/ProjectSettingsSdkAccountAbstraction.d.ts +1 -1
  144. package/src/models/ProjectSettingsSdkEmailSignIn.d.ts +1 -1
  145. package/src/models/ProjectSettingsSdkEmbeddedWallets.d.ts +1 -1
  146. package/src/models/ProjectSettingsSdkSocialSignIn.d.ts +1 -1
  147. package/src/models/ProjectSettingsSdkWaas.d.ts +1 -1
  148. package/src/models/ProjectSettingsSdkWalletConnect.d.ts +1 -1
  149. package/src/models/Provider.d.ts +2 -2
  150. package/src/models/ProviderAgreement.d.ts +2 -2
  151. package/src/models/PublicKeyCredentialDescriptor.d.ts +1 -1
  152. package/src/models/PublicKeyCredentialParameters.d.ts +1 -1
  153. package/src/models/PublishEvents.d.ts +1 -1
  154. package/src/models/RampConfiguration.d.ts +3 -3
  155. package/src/models/ReactSettings.d.ts +1 -1
  156. package/src/models/RecordBroadcastRequest.cjs +3 -13
  157. package/src/models/RecordBroadcastRequest.d.ts +2 -2
  158. package/src/models/RecordBroadcastRequest.js +3 -13
  159. package/src/models/RecoverMultipleClientKeySharesRequest.d.ts +1 -1
  160. package/src/models/RecoverMultipleClientKeySharesResponse.d.ts +1 -1
  161. package/src/models/RegisterEmbeddedWalletSessionKeyResponse.d.ts +2 -2
  162. package/src/models/ReshareRequest.d.ts +3 -3
  163. package/src/models/SdkSettingsRequest.d.ts +2 -2
  164. package/src/models/SdkUser.d.ts +18 -18
  165. package/src/models/SettlementConfigInput.d.ts +1 -1
  166. package/src/models/SignMessageEvmTypedData.d.ts +1 -1
  167. package/src/models/SignMessageWithWaasRequest.d.ts +2 -2
  168. package/src/models/SimulateSVMTransactionRequest.d.ts +1 -1
  169. package/src/models/SimulateTransactionResponse.d.ts +5 -5
  170. package/src/models/SimulateUserOpRequest.d.ts +1 -1
  171. package/src/models/SocialSignInProvider.d.ts +1 -1
  172. package/src/models/SolanaTransactionOptimizationRequest.d.ts +1 -1
  173. package/src/models/SolanaTransactionOptimizationResponse.d.ts +1 -1
  174. package/src/models/SsoProvider.d.ts +2 -2
  175. package/src/models/SupportedOfframpsResponse.d.ts +1 -1
  176. package/src/models/SupportedOnrampsResponse.d.ts +1 -1
  177. package/src/models/SupportedSecurityMethod.d.ts +4 -4
  178. package/src/models/SwapFee.d.ts +4 -4
  179. package/src/models/SwapGasCost.d.ts +2 -2
  180. package/src/models/SwapQuoteResponse.d.ts +4 -4
  181. package/src/models/SwapQuoteResponseSide.d.ts +3 -3
  182. package/src/models/SwapStatusResponse.d.ts +7 -7
  183. package/src/models/SwapStep.d.ts +5 -5
  184. package/src/models/SwapStepSide.d.ts +3 -3
  185. package/src/models/SwapToken.d.ts +8 -8
  186. package/src/models/TelegramUser.d.ts +7 -7
  187. package/src/models/TokenBalance.d.ts +12 -12
  188. package/src/models/TooManyRequests.d.ts +1 -1
  189. package/src/models/TransferDestination.d.ts +1 -1
  190. package/src/models/TurnkeyCreateWalletAccountsRequestBodyParameters.d.ts +1 -1
  191. package/src/models/TurnkeyDeleteEmbeddedWalletsRequestBodyParameters.d.ts +2 -2
  192. package/src/models/TurnkeySignedRequest.d.ts +1 -1
  193. package/src/models/TurnkeyStamp.d.ts +1 -1
  194. package/src/models/TurnkeyWalletAccount.d.ts +1 -1
  195. package/src/models/TurnkeyWalletProperties.d.ts +1 -1
  196. package/src/models/Unauthorized.d.ts +1 -1
  197. package/src/models/UnprocessableEntity.d.ts +1 -1
  198. package/src/models/UnprocessableEntityErrorPayload.d.ts +3 -3
  199. package/src/models/UpdateSelfResponse.d.ts +1 -1
  200. package/src/models/UserFieldsCheckResponse.d.ts +3 -3
  201. package/src/models/UserOauthAccessTokenResponse.d.ts +1 -1
  202. package/src/models/UserPasskey.d.ts +5 -5
  203. package/src/models/VerifyRequest.d.ts +3 -3
  204. package/src/models/VerifyResponse.d.ts +1 -1
  205. package/src/models/WaasWalletProperties.d.ts +1 -1
  206. package/src/models/WaasWalletSettings.d.ts +3 -3
  207. package/src/models/WalletBitcoinConfig.d.ts +2 -2
  208. package/src/models/WalletKeyShareInfo.d.ts +4 -4
  209. package/src/models/WalletKeyShareInfoWithEncryptedAccountCredential.d.ts +4 -4
  210. package/src/models/WalletProperties.d.ts +2 -2
  211. package/src/models/WalletTransaction.d.ts +3 -3
  212. package/src/models/WalletTransactionAssetTransferMetadata.d.ts +1 -1
  213. package/src/models/WalletTransactionsResponse.d.ts +1 -1
  214. package/src/models/index.d.ts +1 -0
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface SolanaTransactionOptimizationRequest {
18
18
  /**
19
- *
19
+ * Base64-encoded Solana transaction to optimize
20
20
  * @type {string}
21
21
  * @memberof SolanaTransactionOptimizationRequest
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface SolanaTransactionOptimizationResponse {
18
18
  /**
19
- *
19
+ * Base64-encoded optimized Solana transaction
20
20
  * @type {string}
21
21
  * @memberof SolanaTransactionOptimizationResponse
22
22
  */
@@ -71,13 +71,13 @@ export interface SsoProvider {
71
71
  */
72
72
  enforceOnlySSO: boolean;
73
73
  /**
74
- *
74
+ * ISO 8601 timestamp of when the SSO provider was created
75
75
  * @type {Date}
76
76
  * @memberof SsoProvider
77
77
  */
78
78
  createdAt: Date;
79
79
  /**
80
- *
80
+ * ISO 8601 timestamp of when the SSO provider was last updated
81
81
  * @type {Date}
82
82
  * @memberof SsoProvider
83
83
  */
@@ -17,7 +17,7 @@ import { RampConfiguration } from './RampConfiguration';
17
17
  */
18
18
  export interface SupportedOfframpsResponse {
19
19
  /**
20
- *
20
+ * List of supported offramp provider configurations
21
21
  * @type {Array<RampConfiguration>}
22
22
  * @memberof SupportedOfframpsResponse
23
23
  */
@@ -17,7 +17,7 @@ import { RampConfiguration } from './RampConfiguration';
17
17
  */
18
18
  export interface SupportedOnrampsResponse {
19
19
  /**
20
- *
20
+ * List of supported onramp provider configurations
21
21
  * @type {Array<RampConfiguration>}
22
22
  * @memberof SupportedOnrampsResponse
23
23
  */
@@ -16,25 +16,25 @@
16
16
  */
17
17
  export interface SupportedSecurityMethod {
18
18
  /**
19
- *
19
+ * Whether this security method is selected by default
20
20
  * @type {boolean}
21
21
  * @memberof SupportedSecurityMethod
22
22
  */
23
23
  isDefault: boolean;
24
24
  /**
25
- *
25
+ * Whether this security method is currently enabled
26
26
  * @type {boolean}
27
27
  * @memberof SupportedSecurityMethod
28
28
  */
29
29
  isEnabled: boolean;
30
30
  /**
31
- *
31
+ * Whether this security method serves as a permanent authenticator that cannot be removed
32
32
  * @type {boolean}
33
33
  * @memberof SupportedSecurityMethod
34
34
  */
35
35
  isPermanentAuthenticator: boolean;
36
36
  /**
37
- *
37
+ * Display position order of this security method in the list
38
38
  * @type {number}
39
39
  * @memberof SupportedSecurityMethod
40
40
  */
@@ -17,25 +17,25 @@ import { SwapToken } from './SwapToken';
17
17
  */
18
18
  export interface SwapFee {
19
19
  /**
20
- *
20
+ * Fee amount in the token's native units
21
21
  * @type {string}
22
22
  * @memberof SwapFee
23
23
  */
24
24
  amount: string;
25
25
  /**
26
- *
26
+ * Fee amount converted to USD
27
27
  * @type {string}
28
28
  * @memberof SwapFee
29
29
  */
30
30
  amountUSD?: string;
31
31
  /**
32
- *
32
+ * Whether this fee is already included in the swap quote
33
33
  * @type {boolean}
34
34
  * @memberof SwapFee
35
35
  */
36
36
  included: boolean;
37
37
  /**
38
- *
38
+ * Display name describing the fee type
39
39
  * @type {string}
40
40
  * @memberof SwapFee
41
41
  */
@@ -17,13 +17,13 @@ import { SwapToken } from './SwapToken';
17
17
  */
18
18
  export interface SwapGasCost {
19
19
  /**
20
- *
20
+ * Gas cost amount in the native token's units
21
21
  * @type {string}
22
22
  * @memberof SwapGasCost
23
23
  */
24
24
  amount: string;
25
25
  /**
26
- *
26
+ * Gas cost amount converted to USD
27
27
  * @type {string}
28
28
  * @memberof SwapGasCost
29
29
  */
@@ -26,7 +26,7 @@ export interface SwapQuoteResponse {
26
26
  */
27
27
  approvalAddress?: string;
28
28
  /**
29
- *
29
+ * List of fee costs associated with the swap
30
30
  * @type {Array<SwapFee>}
31
31
  * @memberof SwapQuoteResponse
32
32
  */
@@ -38,13 +38,13 @@ export interface SwapQuoteResponse {
38
38
  */
39
39
  from: SwapQuoteResponseSide;
40
40
  /**
41
- *
41
+ * Total estimated gas cost in USD
42
42
  * @type {string}
43
43
  * @memberof SwapQuoteResponse
44
44
  */
45
45
  gasCostUSD?: string;
46
46
  /**
47
- *
47
+ * Unique identifier of the swap quote
48
48
  * @type {string}
49
49
  * @memberof SwapQuoteResponse
50
50
  */
@@ -56,7 +56,7 @@ export interface SwapQuoteResponse {
56
56
  */
57
57
  signingPayload?: SwapSigningPayload;
58
58
  /**
59
- *
59
+ * List of steps required to execute the swap
60
60
  * @type {Array<SwapStep>}
61
61
  * @memberof SwapQuoteResponse
62
62
  */
@@ -17,13 +17,13 @@ import { SwapToken } from './SwapToken';
17
17
  */
18
18
  export interface SwapQuoteResponseSide {
19
19
  /**
20
- *
20
+ * Token contract address
21
21
  * @type {string}
22
22
  * @memberof SwapQuoteResponseSide
23
23
  */
24
24
  address: string;
25
25
  /**
26
- *
26
+ * Token amount in the smallest unit
27
27
  * @type {string}
28
28
  * @memberof SwapQuoteResponseSide
29
29
  */
@@ -35,7 +35,7 @@ export interface SwapQuoteResponseSide {
35
35
  */
36
36
  amountMin?: string;
37
37
  /**
38
- *
38
+ * Token amount converted to USD
39
39
  * @type {string}
40
40
  * @memberof SwapQuoteResponseSide
41
41
  */
@@ -16,43 +16,43 @@
16
16
  */
17
17
  export interface SwapStatusResponse {
18
18
  /**
19
- *
19
+ * Error message if the swap failed
20
20
  * @type {string}
21
21
  * @memberof SwapStatusResponse
22
22
  */
23
23
  error?: string;
24
24
  /**
25
- *
25
+ * URL to view the swap transaction on a block explorer
26
26
  * @type {string}
27
27
  * @memberof SwapStatusResponse
28
28
  */
29
29
  explorerLink?: string;
30
30
  /**
31
- *
31
+ * Human-readable status message for the swap
32
32
  * @type {string}
33
33
  * @memberof SwapStatusResponse
34
34
  */
35
35
  message?: string;
36
36
  /**
37
- *
37
+ * URL to view the receiving transaction on a block explorer
38
38
  * @type {string}
39
39
  * @memberof SwapStatusResponse
40
40
  */
41
41
  receivingTxLink?: string;
42
42
  /**
43
- *
43
+ * URL to view the sending transaction on a block explorer
44
44
  * @type {string}
45
45
  * @memberof SwapStatusResponse
46
46
  */
47
47
  sendingTxLink?: string;
48
48
  /**
49
- *
49
+ * Current status of the swap operation
50
50
  * @type {string}
51
51
  * @memberof SwapStatusResponse
52
52
  */
53
53
  status: SwapStatusResponseStatusEnum;
54
54
  /**
55
- *
55
+ * Detailed substatus providing additional context on the swap state
56
56
  * @type {string}
57
57
  * @memberof SwapStatusResponse
58
58
  */
@@ -19,7 +19,7 @@ import { SwapStepSide } from './SwapStepSide';
19
19
  */
20
20
  export interface SwapStep {
21
21
  /**
22
- *
22
+ * List of fee costs for this swap step
23
23
  * @type {Array<SwapFee>}
24
24
  * @memberof SwapStep
25
25
  */
@@ -31,13 +31,13 @@ export interface SwapStep {
31
31
  */
32
32
  from: SwapStepSide;
33
33
  /**
34
- *
34
+ * List of gas costs for this swap step
35
35
  * @type {Array<SwapGasCost>}
36
36
  * @memberof SwapStep
37
37
  */
38
38
  gasCosts?: Array<SwapGasCost>;
39
39
  /**
40
- *
40
+ * Unique identifier of the swap step
41
41
  * @type {string}
42
42
  * @memberof SwapStep
43
43
  */
@@ -49,13 +49,13 @@ export interface SwapStep {
49
49
  */
50
50
  to: SwapStepSide;
51
51
  /**
52
- *
52
+ * Name of the tool or protocol used for this swap step
53
53
  * @type {string}
54
54
  * @memberof SwapStep
55
55
  */
56
56
  tool: string;
57
57
  /**
58
- *
58
+ * Type of swap step (e.g. swap, bridge, approve)
59
59
  * @type {string}
60
60
  * @memberof SwapStep
61
61
  */
@@ -17,19 +17,19 @@ import { SwapToken } from './SwapToken';
17
17
  */
18
18
  export interface SwapStepSide {
19
19
  /**
20
- *
20
+ * Token amount in the smallest unit
21
21
  * @type {string}
22
22
  * @memberof SwapStepSide
23
23
  */
24
24
  amount: string;
25
25
  /**
26
- *
26
+ * Minimum token amount expected accounting for slippage
27
27
  * @type {string}
28
28
  * @memberof SwapStepSide
29
29
  */
30
30
  amountMin?: string;
31
31
  /**
32
- *
32
+ * Token amount converted to USD
33
33
  * @type {string}
34
34
  * @memberof SwapStepSide
35
35
  */
@@ -16,49 +16,49 @@
16
16
  */
17
17
  export interface SwapToken {
18
18
  /**
19
- *
19
+ * Token contract address
20
20
  * @type {string}
21
21
  * @memberof SwapToken
22
22
  */
23
23
  address: string;
24
24
  /**
25
- *
25
+ * Chain ID where the token resides
26
26
  * @type {string}
27
27
  * @memberof SwapToken
28
28
  */
29
29
  chainId: string;
30
30
  /**
31
- *
31
+ * Unique key identifier for the token across chains
32
32
  * @type {string}
33
33
  * @memberof SwapToken
34
34
  */
35
35
  coinKey?: string;
36
36
  /**
37
- *
37
+ * Number of decimal places the token supports
38
38
  * @type {number}
39
39
  * @memberof SwapToken
40
40
  */
41
41
  decimals: number;
42
42
  /**
43
- *
43
+ * URL of the token logo image
44
44
  * @type {string}
45
45
  * @memberof SwapToken
46
46
  */
47
47
  logoURI?: string;
48
48
  /**
49
- *
49
+ * Display name of the token
50
50
  * @type {string}
51
51
  * @memberof SwapToken
52
52
  */
53
53
  name: string;
54
54
  /**
55
- *
55
+ * Current price of the token in USD
56
56
  * @type {string}
57
57
  * @memberof SwapToken
58
58
  */
59
59
  priceUSD?: string;
60
60
  /**
61
- *
61
+ * Ticker symbol of the token
62
62
  * @type {string}
63
63
  * @memberof SwapToken
64
64
  */
@@ -16,43 +16,43 @@
16
16
  */
17
17
  export interface TelegramUser {
18
18
  /**
19
- *
19
+ * Unique Telegram user identifier
20
20
  * @type {number}
21
21
  * @memberof TelegramUser
22
22
  */
23
23
  id: number;
24
24
  /**
25
- *
25
+ * First name of the Telegram user
26
26
  * @type {string}
27
27
  * @memberof TelegramUser
28
28
  */
29
29
  firstName?: string;
30
30
  /**
31
- *
31
+ * Last name of the Telegram user
32
32
  * @type {string}
33
33
  * @memberof TelegramUser
34
34
  */
35
35
  lastName?: string;
36
36
  /**
37
- *
37
+ * Authentication hash used to verify the Telegram user data
38
38
  * @type {string}
39
39
  * @memberof TelegramUser
40
40
  */
41
41
  hash: string;
42
42
  /**
43
- *
43
+ * URL of the Telegram user's profile photo
44
44
  * @type {string}
45
45
  * @memberof TelegramUser
46
46
  */
47
47
  photoURL?: string;
48
48
  /**
49
- *
49
+ * Telegram username
50
50
  * @type {string}
51
51
  * @memberof TelegramUser
52
52
  */
53
53
  username?: string;
54
54
  /**
55
- *
55
+ * Unix timestamp of when the Telegram authentication occurred
56
56
  * @type {string}
57
57
  * @memberof TelegramUser
58
58
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface TokenBalance {
18
18
  /**
19
- *
19
+ * Network identifier where the token balance resides
20
20
  * @type {number}
21
21
  * @memberof TokenBalance
22
22
  */
@@ -28,67 +28,67 @@ export interface TokenBalance {
28
28
  */
29
29
  address: string;
30
30
  /**
31
- *
31
+ * Display name of the token
32
32
  * @type {string}
33
33
  * @memberof TokenBalance
34
34
  */
35
35
  name: string;
36
36
  /**
37
- *
37
+ * Ticker symbol of the token
38
38
  * @type {string}
39
39
  * @memberof TokenBalance
40
40
  */
41
41
  symbol: string;
42
42
  /**
43
- *
43
+ * Number of decimal places the token supports
44
44
  * @type {number}
45
45
  * @memberof TokenBalance
46
46
  */
47
47
  decimals: number;
48
48
  /**
49
- *
49
+ * URL of the token logo image
50
50
  * @type {string}
51
51
  * @memberof TokenBalance
52
52
  */
53
53
  logoURI: string;
54
54
  /**
55
- *
55
+ * Human-readable token balance adjusted for decimals
56
56
  * @type {number}
57
57
  * @memberof TokenBalance
58
58
  */
59
59
  balance: number;
60
60
  /**
61
- *
61
+ * Raw token balance in the smallest unit
62
62
  * @type {number}
63
63
  * @memberof TokenBalance
64
64
  */
65
65
  rawBalance: number;
66
66
  /**
67
- *
67
+ * Current price per token in USD
68
68
  * @type {number}
69
69
  * @memberof TokenBalance
70
70
  */
71
71
  price?: number;
72
72
  /**
73
- *
73
+ * Total market value of the balance in USD
74
74
  * @type {number}
75
75
  * @memberof TokenBalance
76
76
  */
77
77
  marketValue?: number;
78
78
  /**
79
- *
79
+ * Size of the token's liquidity pool in USD
80
80
  * @type {number}
81
81
  * @memberof TokenBalance
82
82
  */
83
83
  liquidityPoolSizeUsd?: number;
84
84
  /**
85
- *
85
+ * Total circulating supply of the token
86
86
  * @type {string}
87
87
  * @memberof TokenBalance
88
88
  */
89
89
  totalSupply?: string;
90
90
  /**
91
- *
91
+ * Whether this is the chain's native token
92
92
  * @type {boolean}
93
93
  * @memberof TokenBalance
94
94
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface TooManyRequests {
18
18
  /**
19
- *
19
+ * Human-readable error message indicating rate limit exceeded
20
20
  * @type {string}
21
21
  * @memberof TooManyRequests
22
22
  */
@@ -22,7 +22,7 @@ export interface TransferDestination {
22
22
  */
23
23
  address: string;
24
24
  /**
25
- *
25
+ * List of tokens available for transfer to this destination
26
26
  * @type {Array<string>}
27
27
  * @memberof TransferDestination
28
28
  */
@@ -23,7 +23,7 @@ export interface TurnkeyCreateWalletAccountsRequestBodyParameters {
23
23
  */
24
24
  walletId: string;
25
25
  /**
26
- *
26
+ * List of wallet account configurations to create
27
27
  * @type {Array<TurnkeyWalletAccount>}
28
28
  * @memberof TurnkeyCreateWalletAccountsRequestBodyParameters
29
29
  */
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface TurnkeyDeleteEmbeddedWalletsRequestBodyParameters {
18
18
  /**
19
- *
19
+ * List of wallet identifiers to delete
20
20
  * @type {Array<string>}
21
21
  * @memberof TurnkeyDeleteEmbeddedWalletsRequestBodyParameters
22
22
  */
23
23
  walletIds: Array<string>;
24
24
  /**
25
- *
25
+ * Whether to allow deletion of wallets that have not been exported
26
26
  * @type {boolean}
27
27
  * @memberof TurnkeyDeleteEmbeddedWalletsRequestBodyParameters
28
28
  */
@@ -17,7 +17,7 @@ import { TurnkeyStamp } from './TurnkeyStamp';
17
17
  */
18
18
  export interface TurnkeySignedRequest {
19
19
  /**
20
- *
20
+ * JSON-encoded body of the Turnkey signed request
21
21
  * @type {string}
22
22
  * @memberof TurnkeySignedRequest
23
23
  */
@@ -22,7 +22,7 @@ export interface TurnkeyStamp {
22
22
  */
23
23
  stampHeaderName: string;
24
24
  /**
25
- *
25
+ * Turnkey API stamp header value for request authentication
26
26
  * @type {string}
27
27
  * @memberof TurnkeyStamp
28
28
  */
@@ -28,7 +28,7 @@ export interface TurnkeyWalletAccount {
28
28
  */
29
29
  pathFormat: string;
30
30
  /**
31
- *
31
+ * BIP-44 derivation path for the wallet account
32
32
  * @type {string}
33
33
  * @memberof TurnkeyWalletAccount
34
34
  */
@@ -50,7 +50,7 @@ export interface TurnkeyWalletProperties {
50
50
  */
51
51
  turnkeyUserId?: string | null;
52
52
  /**
53
- *
53
+ * Whether this wallet supports session key operations
54
54
  * @type {boolean}
55
55
  * @memberof TurnkeyWalletProperties
56
56
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface Unauthorized {
18
18
  /**
19
- *
19
+ * Human-readable error message describing the authentication failure
20
20
  * @type {string}
21
21
  * @memberof Unauthorized
22
22
  */
@@ -18,7 +18,7 @@ import { UnprocessableEntityErrorPayload } from './UnprocessableEntityErrorPaylo
18
18
  */
19
19
  export interface UnprocessableEntity {
20
20
  /**
21
- *
21
+ * Human-readable error message describing the validation failure
22
22
  * @type {string}
23
23
  * @memberof UnprocessableEntity
24
24
  */
@@ -18,7 +18,7 @@ import { ProviderEnum } from './ProviderEnum';
18
18
  */
19
19
  export interface UnprocessableEntityErrorPayload {
20
20
  /**
21
- *
21
+ * Email address that caused the validation error
22
22
  * @type {string}
23
23
  * @memberof UnprocessableEntityErrorPayload
24
24
  */
@@ -30,7 +30,7 @@ export interface UnprocessableEntityErrorPayload {
30
30
  */
31
31
  loginProvider?: ProviderEnum;
32
32
  /**
33
- *
33
+ * Embedded wallet name that caused the validation error
34
34
  * @type {string}
35
35
  * @memberof UnprocessableEntityErrorPayload
36
36
  */
@@ -48,7 +48,7 @@ export interface UnprocessableEntityErrorPayload {
48
48
  */
49
49
  mergeConflicts?: MergeConflicts;
50
50
  /**
51
- *
51
+ * List of additional validation error messages
52
52
  * @type {Array<string>}
53
53
  * @memberof UnprocessableEntityErrorPayload
54
54
  */
@@ -20,7 +20,7 @@ import { SmsVerificationCreateResponse } from './SmsVerificationCreateResponse';
20
20
  */
21
21
  export interface UpdateSelfResponse {
22
22
  /**
23
- *
23
+ * Token used to continue multi-factor authentication flow
24
24
  * @type {string}
25
25
  * @memberof UpdateSelfResponse
26
26
  */
@@ -16,19 +16,19 @@
16
16
  */
17
17
  export interface UserFieldsCheckResponse {
18
18
  /**
19
- *
19
+ * Name of the user field that was checked
20
20
  * @type {string}
21
21
  * @memberof UserFieldsCheckResponse
22
22
  */
23
23
  field: string;
24
24
  /**
25
- *
25
+ * Value that was checked for availability
26
26
  * @type {string}
27
27
  * @memberof UserFieldsCheckResponse
28
28
  */
29
29
  value: string;
30
30
  /**
31
- *
31
+ * Whether the checked field value is available for use
32
32
  * @type {boolean}
33
33
  * @memberof UserFieldsCheckResponse
34
34
  */