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

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
@@ -17,7 +17,7 @@ import { CheckoutGasEstimate } from './CheckoutGasEstimate';
17
17
  */
18
18
  export interface CheckoutFeeBreakdown {
19
19
  /**
20
- *
20
+ * Total fees for the transaction in USD
21
21
  * @type {string}
22
22
  * @memberof CheckoutFeeBreakdown
23
23
  */
@@ -34,7 +34,7 @@ export interface CheckoutSettlementData {
34
34
  */
35
35
  toAddress: string;
36
36
  /**
37
- *
37
+ * ISO 8601 timestamp of when the settlement was completed
38
38
  * @type {Date}
39
39
  * @memberof CheckoutSettlementData
40
40
  */
@@ -24,7 +24,6 @@ exports.CheckoutSourceTypeEnum = void 0;
24
24
  (function (CheckoutSourceTypeEnum) {
25
25
  CheckoutSourceTypeEnum["Wallet"] = "wallet";
26
26
  CheckoutSourceTypeEnum["Exchange"] = "exchange";
27
- CheckoutSourceTypeEnum["DepositAddress"] = "deposit_address";
28
27
  })(exports.CheckoutSourceTypeEnum || (exports.CheckoutSourceTypeEnum = {}));
29
28
  function CheckoutSourceTypeEnumFromJSON(json) {
30
29
  return CheckoutSourceTypeEnumFromJSONTyped(json);
@@ -16,8 +16,7 @@
16
16
  */
17
17
  export declare enum CheckoutSourceTypeEnum {
18
18
  Wallet = "wallet",
19
- Exchange = "exchange",
20
- DepositAddress = "deposit_address"
19
+ Exchange = "exchange"
21
20
  }
22
21
  export declare function CheckoutSourceTypeEnumFromJSON(json: any): CheckoutSourceTypeEnum;
23
22
  export declare function CheckoutSourceTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutSourceTypeEnum;
@@ -20,7 +20,6 @@ var CheckoutSourceTypeEnum;
20
20
  (function (CheckoutSourceTypeEnum) {
21
21
  CheckoutSourceTypeEnum["Wallet"] = "wallet";
22
22
  CheckoutSourceTypeEnum["Exchange"] = "exchange";
23
- CheckoutSourceTypeEnum["DepositAddress"] = "deposit_address";
24
23
  })(CheckoutSourceTypeEnum || (CheckoutSourceTypeEnum = {}));
25
24
  function CheckoutSourceTypeEnumFromJSON(json) {
26
25
  return CheckoutSourceTypeEnumFromJSONTyped(json);
@@ -11,6 +11,7 @@ var CheckoutSettlementData = require('./CheckoutSettlementData.cjs');
11
11
  var CheckoutSettlementStateEnum = require('./CheckoutSettlementStateEnum.cjs');
12
12
  var CheckoutSourceTypeEnum = require('./CheckoutSourceTypeEnum.cjs');
13
13
  var CheckoutTransactionDestinationAddress = require('./CheckoutTransactionDestinationAddress.cjs');
14
+ var CheckoutTransactionExchangeSource = require('./CheckoutTransactionExchangeSource.cjs');
14
15
  var CheckoutTransactionQuote = require('./CheckoutTransactionQuote.cjs');
15
16
 
16
17
  /* tslint:disable */
@@ -53,6 +54,7 @@ function CheckoutTransactionFromJSONTyped(json, ignoreDiscriminator) {
53
54
  'expiresAt': !runtime.exists(json, 'expiresAt') ? undefined : (new Date(json['expiresAt'])),
54
55
  'createdAt': (new Date(json['createdAt'])),
55
56
  'updatedAt': (new Date(json['updatedAt'])),
57
+ 'exchangeSource': !runtime.exists(json, 'exchangeSource') ? undefined : CheckoutTransactionExchangeSource.CheckoutTransactionExchangeSourceFromJSON(json['exchangeSource']),
56
58
  };
57
59
  }
58
60
  function CheckoutTransactionToJSON(value) {
@@ -94,6 +96,7 @@ function CheckoutTransactionToJSON(value) {
94
96
  'expiresAt': value.expiresAt === undefined ? undefined : (value.expiresAt.toISOString()),
95
97
  'createdAt': (value.createdAt.toISOString()),
96
98
  'updatedAt': (value.updatedAt.toISOString()),
99
+ 'exchangeSource': CheckoutTransactionExchangeSource.CheckoutTransactionExchangeSourceToJSON(value.exchangeSource),
97
100
  };
98
101
  }
99
102
 
@@ -17,6 +17,7 @@ import { CheckoutSettlementData } from './CheckoutSettlementData';
17
17
  import { CheckoutSettlementStateEnum } from './CheckoutSettlementStateEnum';
18
18
  import { CheckoutSourceTypeEnum } from './CheckoutSourceTypeEnum';
19
19
  import { CheckoutTransactionDestinationAddress } from './CheckoutTransactionDestinationAddress';
20
+ import { CheckoutTransactionExchangeSource } from './CheckoutTransactionExchangeSource';
20
21
  import { CheckoutTransactionQuote } from './CheckoutTransactionQuote';
21
22
  /**
22
23
  *
@@ -37,7 +38,7 @@ export interface CheckoutTransaction {
37
38
  */
38
39
  checkoutId: string;
39
40
  /**
40
- *
41
+ * Arbitrary metadata attached to the transaction
41
42
  * @type {object}
42
43
  * @memberof CheckoutTransaction
43
44
  */
@@ -49,7 +50,7 @@ export interface CheckoutTransaction {
49
50
  */
50
51
  userId?: string;
51
52
  /**
52
- *
53
+ * Deposit amount in the specified currency
53
54
  * @type {string}
54
55
  * @memberof CheckoutTransaction
55
56
  */
@@ -61,7 +62,7 @@ export interface CheckoutTransaction {
61
62
  */
62
63
  currency: string;
63
64
  /**
64
- *
65
+ * List of destination wallet addresses for fund delivery
65
66
  * @type {Array<CheckoutTransactionDestinationAddress>}
66
67
  * @memberof CheckoutTransaction
67
68
  */
@@ -139,7 +140,7 @@ export interface CheckoutTransaction {
139
140
  */
140
141
  toToken?: string;
141
142
  /**
142
- *
143
+ * Version number of the quote used for this transaction
143
144
  * @type {number}
144
145
  * @memberof CheckoutTransaction
145
146
  */
@@ -157,19 +158,19 @@ export interface CheckoutTransaction {
157
158
  */
158
159
  txHash?: string;
159
160
  /**
160
- *
161
+ * ISO 8601 timestamp of when the transaction was broadcast to the network
161
162
  * @type {Date}
162
163
  * @memberof CheckoutTransaction
163
164
  */
164
165
  broadcastedAt?: Date;
165
166
  /**
166
- *
167
+ * ISO 8601 timestamp of when the source chain confirmed the transaction
167
168
  * @type {Date}
168
169
  * @memberof CheckoutTransaction
169
170
  */
170
171
  sourceConfirmedAt?: Date;
171
172
  /**
172
- *
173
+ * Number of blockchain confirmations received
173
174
  * @type {number}
174
175
  * @memberof CheckoutTransaction
175
176
  */
@@ -181,7 +182,7 @@ export interface CheckoutTransaction {
181
182
  */
182
183
  settlement?: CheckoutSettlementData;
183
184
  /**
184
- *
185
+ * ISO 8601 timestamp of when the transaction was completed
185
186
  * @type {Date}
186
187
  * @memberof CheckoutTransaction
187
188
  */
@@ -193,23 +194,29 @@ export interface CheckoutTransaction {
193
194
  */
194
195
  failure?: CheckoutFailure;
195
196
  /**
196
- *
197
+ * ISO 8601 timestamp of when the transaction expires
197
198
  * @type {Date}
198
199
  * @memberof CheckoutTransaction
199
200
  */
200
201
  expiresAt?: Date;
201
202
  /**
202
- *
203
+ * ISO 8601 timestamp of when the transaction was created
203
204
  * @type {Date}
204
205
  * @memberof CheckoutTransaction
205
206
  */
206
207
  createdAt: Date;
207
208
  /**
208
- *
209
+ * ISO 8601 timestamp of when the transaction was last updated
209
210
  * @type {Date}
210
211
  * @memberof CheckoutTransaction
211
212
  */
212
213
  updatedAt: Date;
214
+ /**
215
+ *
216
+ * @type {CheckoutTransactionExchangeSource}
217
+ * @memberof CheckoutTransaction
218
+ */
219
+ exchangeSource?: CheckoutTransactionExchangeSource;
213
220
  }
214
221
  export declare function CheckoutTransactionFromJSON(json: any): CheckoutTransaction;
215
222
  export declare function CheckoutTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutTransaction;
@@ -7,6 +7,7 @@ import { CheckoutSettlementDataFromJSON, CheckoutSettlementDataToJSON } from './
7
7
  import { CheckoutSettlementStateEnumFromJSON, CheckoutSettlementStateEnumToJSON } from './CheckoutSettlementStateEnum.js';
8
8
  import { CheckoutSourceTypeEnumFromJSON, CheckoutSourceTypeEnumToJSON } from './CheckoutSourceTypeEnum.js';
9
9
  import { CheckoutTransactionDestinationAddressFromJSON, CheckoutTransactionDestinationAddressToJSON } from './CheckoutTransactionDestinationAddress.js';
10
+ import { CheckoutTransactionExchangeSourceFromJSON, CheckoutTransactionExchangeSourceToJSON } from './CheckoutTransactionExchangeSource.js';
10
11
  import { CheckoutTransactionQuoteFromJSON, CheckoutTransactionQuoteToJSON } from './CheckoutTransactionQuote.js';
11
12
 
12
13
  /* tslint:disable */
@@ -49,6 +50,7 @@ function CheckoutTransactionFromJSONTyped(json, ignoreDiscriminator) {
49
50
  'expiresAt': !exists(json, 'expiresAt') ? undefined : (new Date(json['expiresAt'])),
50
51
  'createdAt': (new Date(json['createdAt'])),
51
52
  'updatedAt': (new Date(json['updatedAt'])),
53
+ 'exchangeSource': !exists(json, 'exchangeSource') ? undefined : CheckoutTransactionExchangeSourceFromJSON(json['exchangeSource']),
52
54
  };
53
55
  }
54
56
  function CheckoutTransactionToJSON(value) {
@@ -90,6 +92,7 @@ function CheckoutTransactionToJSON(value) {
90
92
  'expiresAt': value.expiresAt === undefined ? undefined : (value.expiresAt.toISOString()),
91
93
  'createdAt': (value.createdAt.toISOString()),
92
94
  'updatedAt': (value.updatedAt.toISOString()),
95
+ 'exchangeSource': CheckoutTransactionExchangeSourceToJSON(value.exchangeSource),
93
96
  };
94
97
  }
95
98
 
@@ -17,7 +17,7 @@ import { CheckoutTransactionDestinationAddress } from './CheckoutTransactionDest
17
17
  */
18
18
  export interface CheckoutTransactionCreateRequest {
19
19
  /**
20
- *
20
+ * Deposit amount in the specified currency
21
21
  * @type {string}
22
22
  * @memberof CheckoutTransactionCreateRequest
23
23
  */
@@ -29,7 +29,7 @@ export interface CheckoutTransactionCreateRequest {
29
29
  */
30
30
  currency: string;
31
31
  /**
32
- *
32
+ * List of destination wallet addresses for fund delivery
33
33
  * @type {Array<CheckoutTransactionDestinationAddress>}
34
34
  * @memberof CheckoutTransactionCreateRequest
35
35
  */
@@ -41,7 +41,7 @@ export interface CheckoutTransactionCreateRequest {
41
41
  */
42
42
  expiresIn?: number;
43
43
  /**
44
- *
44
+ * Arbitrary metadata attached to the transaction
45
45
  * @type {object}
46
46
  * @memberof CheckoutTransactionCreateRequest
47
47
  */
@@ -0,0 +1,45 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ function CheckoutTransactionExchangeSourceFromJSON(json) {
19
+ return CheckoutTransactionExchangeSourceFromJSONTyped(json);
20
+ }
21
+ function CheckoutTransactionExchangeSourceFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'exchangeId': json['exchangeId'],
27
+ 'metadata': json['metadata'],
28
+ };
29
+ }
30
+ function CheckoutTransactionExchangeSourceToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'exchangeId': value.exchangeId,
39
+ 'metadata': value.metadata,
40
+ };
41
+ }
42
+
43
+ exports.CheckoutTransactionExchangeSourceFromJSON = CheckoutTransactionExchangeSourceFromJSON;
44
+ exports.CheckoutTransactionExchangeSourceFromJSONTyped = CheckoutTransactionExchangeSourceFromJSONTyped;
45
+ exports.CheckoutTransactionExchangeSourceToJSON = CheckoutTransactionExchangeSourceToJSON;
@@ -0,0 +1,33 @@
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
+ * Present when sourceType is 'exchange'. Contains the exchange reference and provider-specific metadata (e.g. buyUrl for Coinbase).
14
+ * @export
15
+ * @interface CheckoutTransactionExchangeSource
16
+ */
17
+ export interface CheckoutTransactionExchangeSource {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CheckoutTransactionExchangeSource
22
+ */
23
+ exchangeId: string;
24
+ /**
25
+ * Provider-specific data. Shape varies by exchange.
26
+ * @type {object}
27
+ * @memberof CheckoutTransactionExchangeSource
28
+ */
29
+ metadata: object;
30
+ }
31
+ export declare function CheckoutTransactionExchangeSourceFromJSON(json: any): CheckoutTransactionExchangeSource;
32
+ export declare function CheckoutTransactionExchangeSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutTransactionExchangeSource;
33
+ export declare function CheckoutTransactionExchangeSourceToJSON(value?: CheckoutTransactionExchangeSource | null): any;
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function CheckoutTransactionExchangeSourceFromJSON(json) {
15
+ return CheckoutTransactionExchangeSourceFromJSONTyped(json);
16
+ }
17
+ function CheckoutTransactionExchangeSourceFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'exchangeId': json['exchangeId'],
23
+ 'metadata': json['metadata'],
24
+ };
25
+ }
26
+ function CheckoutTransactionExchangeSourceToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'exchangeId': value.exchangeId,
35
+ 'metadata': value.metadata,
36
+ };
37
+ }
38
+
39
+ export { CheckoutTransactionExchangeSourceFromJSON, CheckoutTransactionExchangeSourceFromJSONTyped, CheckoutTransactionExchangeSourceToJSON };
@@ -18,19 +18,19 @@ import { SwapSigningPayload } from './SwapSigningPayload';
18
18
  */
19
19
  export interface CheckoutTransactionQuote {
20
20
  /**
21
- *
21
+ * Monotonically increasing version number for this quote
22
22
  * @type {number}
23
23
  * @memberof CheckoutTransactionQuote
24
24
  */
25
25
  version: number;
26
26
  /**
27
- *
27
+ * Amount being sent in the source token
28
28
  * @type {string}
29
29
  * @memberof CheckoutTransactionQuote
30
30
  */
31
31
  fromAmount: string;
32
32
  /**
33
- *
33
+ * Amount to be received in the destination token
34
34
  * @type {string}
35
35
  * @memberof CheckoutTransactionQuote
36
36
  */
@@ -42,7 +42,7 @@ export interface CheckoutTransactionQuote {
42
42
  */
43
43
  fees?: CheckoutFeeBreakdown;
44
44
  /**
45
- *
45
+ * Estimated time in seconds for the swap to complete
46
46
  * @type {number}
47
47
  * @memberof CheckoutTransactionQuote
48
48
  */
@@ -60,13 +60,13 @@ export interface CheckoutTransactionQuote {
60
60
  */
61
61
  signingPayload?: SwapSigningPayload;
62
62
  /**
63
- *
63
+ * ISO 8601 timestamp of when the quote was created
64
64
  * @type {Date}
65
65
  * @memberof CheckoutTransactionQuote
66
66
  */
67
67
  createdAt: Date;
68
68
  /**
69
- *
69
+ * ISO 8601 timestamp of when the quote expires
70
70
  * @type {Date}
71
71
  * @memberof CheckoutTransactionQuote
72
72
  */
@@ -17,7 +17,7 @@ import { Checkout } from './Checkout';
17
17
  */
18
18
  export interface CheckoutsResponse {
19
19
  /**
20
- *
20
+ * List of checkout objects
21
21
  * @type {Array<Checkout>}
22
22
  * @memberof CheckoutsResponse
23
23
  */
@@ -17,7 +17,7 @@ import { CoinbaseOnrampBuyUrlExperience } from './CoinbaseOnrampBuyUrlExperience
17
17
  */
18
18
  export interface CoinbaseOnrampGetBuyUrlRequest {
19
19
  /**
20
- *
20
+ * List of asset symbols available for purchase
21
21
  * @type {Array<string>}
22
22
  * @memberof CoinbaseOnrampGetBuyUrlRequest
23
23
  */
@@ -65,7 +65,7 @@ export interface CoinbaseOnrampGetBuyUrlRequest {
65
65
  */
66
66
  handlingRequestedUrls?: boolean;
67
67
  /**
68
- *
68
+ * List of blockchain networks available for delivery
69
69
  * @type {Array<string>}
70
70
  * @memberof CoinbaseOnrampGetBuyUrlRequest
71
71
  */
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { CoinbaseOnrampOrderPaymentLinkType } from './CoinbaseOnrampOrderPaymentLinkType';
13
13
  /**
14
- *
14
+ * Payment link details for completing the purchase
15
15
  * @export
16
16
  * @interface CoinbaseOnrampOrderResponsePaymentLink
17
17
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface Conflict {
18
18
  /**
19
- *
19
+ * Human-readable error message
20
20
  * @type {string}
21
21
  * @memberof Conflict
22
22
  */
@@ -37,7 +37,7 @@ export interface ConnectRequest {
37
37
  */
38
38
  provider: WalletProviderEnum;
39
39
  /**
40
- *
40
+ * Name of the wallet provider used for the connection
41
41
  * @type {string}
42
42
  * @memberof ConnectRequest
43
43
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface CreateRoomsResponse {
18
18
  /**
19
- *
19
+ * List of created MPC room identifiers
20
20
  * @type {Array<string>}
21
21
  * @memberof CreateRoomsResponse
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface CreateRoomsWithoutWalletIdResponse {
18
18
  /**
19
- *
19
+ * List of created MPC room identifiers
20
20
  * @type {Array<string>}
21
21
  * @memberof CreateRoomsWithoutWalletIdResponse
22
22
  */
@@ -24,7 +24,7 @@ export interface CreateWaasAccountRequest {
24
24
  */
25
25
  chain: WaasChainEnum;
26
26
  /**
27
- *
27
+ * List of client-side key generation identifiers
28
28
  * @type {Array<string>}
29
29
  * @memberof CreateWaasAccountRequest
30
30
  */
@@ -42,7 +42,7 @@ export interface CreateWaasAccountRequest {
42
42
  */
43
43
  skipLock?: boolean;
44
44
  /**
45
- *
45
+ * Address derivation type for the new account
46
46
  * @type {string}
47
47
  * @memberof CreateWaasAccountRequest
48
48
  */
@@ -70,7 +70,7 @@ export interface CryptoDotComPaymentResponse {
70
70
  */
71
71
  paymentUrl: string;
72
72
  /**
73
- *
73
+ * QR code image data for the payment
74
74
  * @type {string}
75
75
  * @memberof CryptoDotComPaymentResponse
76
76
  */
@@ -17,13 +17,13 @@ import { CurrencyType } from './CurrencyType';
17
17
  */
18
18
  export interface Currency {
19
19
  /**
20
- *
20
+ * Display name of the currency
21
21
  * @type {string}
22
22
  * @memberof Currency
23
23
  */
24
24
  name: string;
25
25
  /**
26
- *
26
+ * Symbol used when displaying the currency
27
27
  * @type {string}
28
28
  * @memberof Currency
29
29
  */
@@ -35,13 +35,13 @@ export interface Currency {
35
35
  */
36
36
  type: CurrencyType;
37
37
  /**
38
- *
38
+ * ISO currency code or token symbol
39
39
  * @type {string}
40
40
  * @memberof Currency
41
41
  */
42
42
  code: string;
43
43
  /**
44
- *
44
+ * Exchange rate value relative to the base currency
45
45
  * @type {number}
46
46
  * @memberof Currency
47
47
  */
@@ -71,13 +71,13 @@ export interface DelegatedAccessEncryptionPublicKey {
71
71
  */
72
72
  revokedAt?: Date | null;
73
73
  /**
74
- *
74
+ * ISO 8601 timestamp of when the key was created
75
75
  * @type {Date}
76
76
  * @memberof DelegatedAccessEncryptionPublicKey
77
77
  */
78
78
  createdAt: Date;
79
79
  /**
80
- *
80
+ * ISO 8601 timestamp of when the key was last updated
81
81
  * @type {Date}
82
82
  * @memberof DelegatedAccessEncryptionPublicKey
83
83
  */
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * Encrypted key share payload using hybrid RSA-AES encryption
14
14
  * @export
15
15
  * @interface DelegatedShareDeliveryRequestEncryptedDelegatedShare
16
16
  */
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface DepositAmountsConfigInput {
18
18
  /**
19
- *
19
+ * Minimum deposit amount allowed
20
20
  * @type {string}
21
21
  * @memberof DepositAmountsConfigInput
22
22
  */
23
23
  minimum?: string;
24
24
  /**
25
- *
25
+ * List of preset deposit amount options shown to the user
26
26
  * @type {Array<string>}
27
27
  * @memberof DepositAmountsConfigInput
28
28
  */
@@ -17,7 +17,7 @@ import { ChainDestinationConfig } from './ChainDestinationConfig';
17
17
  */
18
18
  export interface DestinationConfigInput {
19
19
  /**
20
- *
20
+ * List of chain-specific destination wallet configurations
21
21
  * @type {Array<ChainDestinationConfig>}
22
22
  * @memberof DestinationConfigInput
23
23
  */
@@ -16,25 +16,25 @@
16
16
  */
17
17
  export interface DeviceRegistrationResponse {
18
18
  /**
19
- *
19
+ * Unique identifier for the device registration
20
20
  * @type {string}
21
21
  * @memberof DeviceRegistrationResponse
22
22
  */
23
23
  id: string;
24
24
  /**
25
- *
25
+ * Whether this registration corresponds to the requesting device
26
26
  * @type {boolean}
27
27
  * @memberof DeviceRegistrationResponse
28
28
  */
29
29
  isCurrentDevice: boolean;
30
30
  /**
31
- *
31
+ * Browser user agent string of the registered device
32
32
  * @type {string}
33
33
  * @memberof DeviceRegistrationResponse
34
34
  */
35
35
  userAgent?: string | null;
36
36
  /**
37
- *
37
+ * ISO 8601 timestamp of when the device was registered
38
38
  * @type {Date}
39
39
  * @memberof DeviceRegistrationResponse
40
40
  */
@@ -17,13 +17,13 @@ import { DeviceRegistrationResponse } from './DeviceRegistrationResponse';
17
17
  */
18
18
  export interface DeviceRegistrationsResponse {
19
19
  /**
20
- *
20
+ * Total number of registered devices
21
21
  * @type {number}
22
22
  * @memberof DeviceRegistrationsResponse
23
23
  */
24
24
  count: number;
25
25
  /**
26
- *
26
+ * List of device registration objects
27
27
  * @type {Array<DeviceRegistrationResponse>}
28
28
  * @memberof DeviceRegistrationsResponse
29
29
  */
@@ -17,7 +17,7 @@ import { TimeUnitEnum } from './TimeUnitEnum';
17
17
  */
18
18
  export interface Duration {
19
19
  /**
20
- *
20
+ * Numeric value of the duration
21
21
  * @type {number}
22
22
  * @memberof Duration
23
23
  */