@cobo/cobo-waas2 1.35.0 → 1.36.0

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 (536) hide show
  1. package/README.md +25 -1
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AddressBooksApi.js +0 -41
  4. package/dist/api/AppWorkflowsApi.js +0 -42
  5. package/dist/api/AutoSweepApi.js +0 -41
  6. package/dist/api/ComplianceApi.js +0 -107
  7. package/dist/api/DevelopersApi.js +0 -8
  8. package/dist/api/DevelopersWebhooksApi.js +0 -64
  9. package/dist/api/FeeStationApi.js +0 -45
  10. package/dist/api/GraphQLApi.js +0 -22
  11. package/dist/api/OAuthApi.js +0 -30
  12. package/dist/api/OrganizationsApi.js +0 -6
  13. package/dist/api/PaymentApi.js +53 -486
  14. package/dist/api/PrimeBrokerApi.js +0 -26
  15. package/dist/api/StakingsApi.js +0 -167
  16. package/dist/api/SwapsApi.js +0 -26
  17. package/dist/api/TokenizationApi.js +0 -161
  18. package/dist/api/TransactionsApi.js +0 -144
  19. package/dist/api/TravelRuleApi.js +293 -46
  20. package/dist/api/WalletsApi.js +0 -165
  21. package/dist/api/WalletsExchangeWalletApi.js +0 -10
  22. package/dist/api/WalletsMPCWalletsApi.js +0 -130
  23. package/dist/api/WalletsSmartContractWalletsApi.js +0 -22
  24. package/dist/index.js +119 -0
  25. package/dist/model/Account.js +4 -4
  26. package/dist/model/Activity.js +8 -14
  27. package/dist/model/ActivityExtra.js +0 -5
  28. package/dist/model/AddressBalance.js +8 -3
  29. package/dist/model/AddressBook.js +7 -10
  30. package/dist/model/AddressInfo.js +5 -8
  31. package/dist/model/AddressTransferDestinationAccountOutput.js +2 -2
  32. package/dist/model/AddressTransferDestinationUtxoOutputsInner.js +2 -2
  33. package/dist/model/AddressVerification.js +172 -0
  34. package/dist/model/AddressVerificationDetail.js +204 -0
  35. package/dist/model/AddressVerificationDetailSatoshiTestDetail.js +299 -0
  36. package/dist/model/AddressVerificationDetailSignatureDetail.js +172 -0
  37. package/dist/model/AddressVerificationMethod.js +61 -0
  38. package/dist/model/AddressVerificationStatus.js +66 -0
  39. package/dist/model/AddressesEventData.js +1 -1
  40. package/dist/model/AddressesEventDataAllOfAddresses.js +6 -9
  41. package/dist/model/AllocationItem.js +5 -5
  42. package/dist/model/AllocationParam.js +5 -5
  43. package/dist/model/AmountDetailsInner.js +1 -1
  44. package/dist/model/ApiLogDetails.js +8 -8
  45. package/dist/model/ApiLogSummary.js +2 -2
  46. package/dist/model/AppWorkflow.js +22 -19
  47. package/dist/model/AppWorkflowField.js +2 -2
  48. package/dist/model/AppWorkflowPolicy.js +7 -2
  49. package/dist/model/ApprovalRequest.js +21 -18
  50. package/dist/model/ApprovalRequestDetail.js +7 -2
  51. package/dist/model/ApprovalUser.js +1 -1
  52. package/dist/model/ApprovalUserDetail.js +9 -0
  53. package/dist/model/AssetBalance.js +8 -3
  54. package/dist/model/AssetInfo.js +1 -1
  55. package/dist/model/AutoSweepTask.js +9 -15
  56. package/dist/model/BTCBIP137MessageSignDestination.js +1 -1
  57. package/dist/model/BTCBIP322MessageSignDestination.js +1 -1
  58. package/dist/model/BabylonAirdropPop.js +6 -6
  59. package/dist/model/BabylonCreateStakingExpansion.js +8 -3
  60. package/dist/model/BabylonStakeExtra.js +4 -7
  61. package/dist/model/BabylonStakingExtra.js +1 -1
  62. package/dist/model/BabylonValidator.js +4 -7
  63. package/dist/model/Balance.js +2 -2
  64. package/dist/model/BalanceUpdateInfo.js +10 -5
  65. package/dist/model/BalanceUpdateInfoEventData.js +11 -6
  66. package/dist/model/BankAccount.js +1 -1
  67. package/dist/model/BaseContractCallSource.js +2 -2
  68. package/dist/model/BaseStakeSource.js +2 -2
  69. package/dist/model/BatchAllocation.js +2 -2
  70. package/dist/model/BatchAllocationDetail.js +2 -2
  71. package/dist/model/BatchCheckUtxoRequest.js +20 -17
  72. package/dist/model/BatchUTXOParam.js +4 -7
  73. package/dist/model/BridgingFee.js +1 -1
  74. package/dist/model/BroadcastSignedTransactions201ResponseInner.js +2 -2
  75. package/dist/model/BroadcastSignedTransactionsRequest.js +3 -6
  76. package/dist/model/CallbackMessage.js +12 -7
  77. package/dist/model/CancelSatoshiTestChallengeRequest.js +111 -0
  78. package/dist/model/ChainInfo.js +1 -1
  79. package/dist/model/ChainsEventData.js +22 -22
  80. package/dist/model/ChangeGuardPubkey200Response.js +1 -1
  81. package/dist/model/CheckAddressChainsValidity200ResponseInner.js +1 -1
  82. package/dist/model/CheckAddressesValidity200ResponseInner.js +1 -1
  83. package/dist/model/CoboSafeDelegate.js +0 -5
  84. package/dist/model/CommissionFee.js +1 -1
  85. package/dist/model/ComplianceDispositionUpdateEventData.js +2 -2
  86. package/dist/model/ComplianceKyaScreeningsUpdateEventData.js +4 -4
  87. package/dist/model/ComplianceKytScreeningsUpdateEventData.js +2 -2
  88. package/dist/model/ContractCallDestination.js +0 -5
  89. package/dist/model/ContractCallParams.js +19 -12
  90. package/dist/model/ContractCallSource.js +0 -5
  91. package/dist/model/CoreStakeExtra.js +2 -2
  92. package/dist/model/CoreStakingExtra.js +4 -4
  93. package/dist/model/CosmosAdr36MessageSignDestination.js +1 -1
  94. package/dist/model/CosmosContractCallDestination.js +19 -16
  95. package/dist/model/CosmosContractCallMessage.js +2 -2
  96. package/dist/model/Counterparty.js +1 -1
  97. package/dist/model/CounterpartyDetail.js +20 -17
  98. package/dist/model/CounterpartyWalletAddressDetail.js +5 -5
  99. package/dist/model/CreateAddressBookParam.js +1 -1
  100. package/dist/model/CreateAddressBooksParam.js +19 -16
  101. package/dist/model/CreateAddressRequest.js +4 -7
  102. package/dist/model/CreateApprovalRequest201Response.js +1 -1
  103. package/dist/model/CreateAutoSweepTask.js +2 -2
  104. package/dist/model/CreateBatchAllocationRequest.js +20 -17
  105. package/dist/model/CreateBulkSendRequest.js +33 -17
  106. package/dist/model/CreateBulkSendRequestPayoutParamsInner.js +3 -3
  107. package/dist/model/CreateClaimActivity.js +1 -1
  108. package/dist/model/CreateClaimActivityRequest.js +1 -1
  109. package/dist/model/CreateCounterpartyEntry201Response.js +20 -17
  110. package/dist/model/CreateCounterpartyEntryRequest.js +1 -1
  111. package/dist/model/CreateCounterpartyRequest.js +20 -17
  112. package/dist/model/CreateCryptoAddressRequest.js +2 -2
  113. package/dist/model/CreateCustodialWalletParams.js +1 -1
  114. package/dist/model/CreateDestinationBankAccount.js +8 -8
  115. package/dist/model/CreateDestinationEntry201Response.js +1 -1
  116. package/dist/model/CreateDestinationEntryRequest.js +1 -1
  117. package/dist/model/CreateDestinationRequest.js +1 -1
  118. package/dist/model/CreateExchangeWalletParams.js +3 -3
  119. package/dist/model/CreateKeyShareHolderGroupRequest.js +19 -16
  120. package/dist/model/CreateKyaScreeningsBody.js +19 -16
  121. package/dist/model/CreateMerchantRequest.js +1 -1
  122. package/dist/model/CreateMpcProjectRequest.js +1 -1
  123. package/dist/model/CreateMpcVaultRequest.js +1 -1
  124. package/dist/model/CreateMpcWalletParams.js +2 -2
  125. package/dist/model/CreateOrderLinkRequest.js +7 -2
  126. package/dist/model/CreatePaymentOrderRequest.js +4 -4
  127. package/dist/model/CreatePayoutRequest.js +27 -19
  128. package/dist/model/CreatePrimeBrokerAddress201Response.js +1 -1
  129. package/dist/model/CreateRefundLinkRequest.js +7 -2
  130. package/dist/model/CreateRefundRequest.js +3 -3
  131. package/dist/model/CreateReportRequest.js +3 -6
  132. package/dist/model/CreateSafeWalletParams.js +5 -8
  133. package/dist/model/CreateSatoshiTestChallengeRequest.js +176 -0
  134. package/dist/model/CreateSettlement.js +4 -7
  135. package/dist/model/CreateSettlementRequestRequest.js +20 -17
  136. package/dist/model/CreateSmartContractWalletParams.js +0 -5
  137. package/dist/model/CreateStakeActivity.js +8 -3
  138. package/dist/model/CreateStakeActivity201Response.js +1 -1
  139. package/dist/model/CreateStakeActivityExtra.js +0 -5
  140. package/dist/model/CreateStakeActivityRequest.js +8 -3
  141. package/dist/model/CreateSwapActivityRequest.js +2 -2
  142. package/dist/model/CreateSweepToAddress.js +2 -2
  143. package/dist/model/CreateTokenListingRequest201Response.js +1 -1
  144. package/dist/model/CreateTokenListingRequestRequest.js +2 -2
  145. package/dist/model/CreateTopUpAddresses.js +1 -1
  146. package/dist/model/CreateTransferTransaction201Response.js +2 -2
  147. package/dist/model/CreateTssRequestRequest.js +1 -1
  148. package/dist/model/CreateUnstakeActivity.js +1 -1
  149. package/dist/model/CreateUnstakeActivityExtra.js +0 -5
  150. package/dist/model/CreateUnstakeActivityRequest.js +1 -1
  151. package/dist/model/CreateWalletAddress.js +2 -2
  152. package/dist/model/CreateWalletParams.js +0 -5
  153. package/dist/model/CreateWebhookEndpointRequest.js +1 -1
  154. package/dist/model/CreateWithdrawActivity.js +8 -3
  155. package/dist/model/CreateWithdrawActivityRequest.js +8 -3
  156. package/dist/model/CreatedWalletInfo.js +0 -5
  157. package/dist/model/CryptoAddress.js +3 -3
  158. package/dist/model/CustodialTransferDestination.js +2 -2
  159. package/dist/model/CustodialTransferSource.js +1 -1
  160. package/dist/model/CustodialWalletInfo.js +3 -3
  161. package/dist/model/CustodialWeb3ContractCallSource.js +2 -2
  162. package/dist/model/CustodialWeb3MessageSignSource.js +2 -2
  163. package/dist/model/CustodialWeb3TransferSource.js +1 -1
  164. package/dist/model/DeleteCounterpartyById200Response.js +1 -1
  165. package/dist/model/DeleteCounterpartyEntry200Response.js +1 -1
  166. package/dist/model/DeleteCryptoAddress201Response.js +1 -1
  167. package/dist/model/DeleteDestinationById200Response.js +1 -1
  168. package/dist/model/DeleteDestinationEntry200Response.js +1 -1
  169. package/dist/model/DeleteGuardPubkey201Response.js +1 -1
  170. package/dist/model/Destination.js +1 -1
  171. package/dist/model/DestinationBankAccount.js +9 -9
  172. package/dist/model/DestinationBankAccountDetail.js +11 -11
  173. package/dist/model/DestinationDetail.js +2 -2
  174. package/dist/model/DestinationWalletAddressDetail.js +5 -5
  175. package/dist/model/DispositionEventData.js +1 -1
  176. package/dist/model/DispositionQueryResponse.js +1 -1
  177. package/dist/model/DispositionResponse.js +1 -1
  178. package/dist/model/EigenlayerValidator.js +3 -3
  179. package/dist/model/ErrorResponse.js +2 -2
  180. package/dist/model/EstimateContractCallFeeParams.js +8 -3
  181. package/dist/model/EstimateFeeParams.js +0 -5
  182. package/dist/model/EstimateStakeFee.js +8 -3
  183. package/dist/model/EstimateTransferFeeParams.js +8 -3
  184. package/dist/model/EstimateUnstakeFee.js +1 -1
  185. package/dist/model/EstimateWithdrawFee.js +8 -3
  186. package/dist/model/EstimatedEvmEip1559Fee.js +8 -3
  187. package/dist/model/EstimatedEvmEip1559FeeSlow.js +3 -3
  188. package/dist/model/EstimatedEvmLegacyFee.js +8 -3
  189. package/dist/model/EstimatedEvmLegacyFeeSlow.js +2 -2
  190. package/dist/model/EstimatedFILFee.js +8 -3
  191. package/dist/model/EstimatedFILFeeSlow.js +4 -4
  192. package/dist/model/EstimatedFee.js +0 -5
  193. package/dist/model/EstimatedFixedFee.js +2 -2
  194. package/dist/model/EstimatedSOLFee.js +8 -3
  195. package/dist/model/EstimatedSOLFeeSlow.js +3 -3
  196. package/dist/model/EstimatedUtxoFee.js +8 -3
  197. package/dist/model/EstimatedUtxoFeeSlow.js +2 -2
  198. package/dist/model/EthStakeEstimatedFee.js +3 -6
  199. package/dist/model/EthStakeExtra.js +1 -1
  200. package/dist/model/EthStakingActivityDetailExtra.js +3 -6
  201. package/dist/model/EthStakingExtra.js +1 -1
  202. package/dist/model/EvmContractCallDestination.js +2 -2
  203. package/dist/model/EvmEIP191MessageSignDestination.js +1 -1
  204. package/dist/model/EvmEip1559FeeRate.js +8 -3
  205. package/dist/model/EvmLegacyFeeRate.js +8 -3
  206. package/dist/model/ExchangePermissionTokenRequest.js +1 -1
  207. package/dist/model/ExchangeRate.js +3 -3
  208. package/dist/model/ExchangeTransferDestination.js +3 -3
  209. package/dist/model/ExchangeTransferSource.js +2 -2
  210. package/dist/model/ExchangeWalletInfo.js +4 -4
  211. package/dist/model/ExtendedTokenInfo.js +2 -2
  212. package/dist/model/FeeRate.js +0 -5
  213. package/dist/model/FeeStationCheckFeeStationUsage.js +4 -4
  214. package/dist/model/FeeStationCheckFeeStationUsageResponse.js +4 -4
  215. package/dist/model/FeeStationDestination.js +1 -1
  216. package/dist/model/FeeStationFiatTransaction.js +7 -10
  217. package/dist/model/FeeStationSponsorTransactionDescription.js +2 -2
  218. package/dist/model/FeeStationTransfer.js +1 -1
  219. package/dist/model/FixedFeeRate.js +1 -1
  220. package/dist/model/ForcedSweep.js +2 -2
  221. package/dist/model/ForcedSweepRequest.js +4 -4
  222. package/dist/model/GetApiKeyInfo200Response.js +6 -9
  223. package/dist/model/GetExchangeRate200Response.js +3 -3
  224. package/dist/model/GetMaxTransferableValueWithFeeModelRequest.js +9 -4
  225. package/dist/model/GetStakingEstimationFee201Response.js +0 -5
  226. package/dist/model/GetStakingEstimationFeeRequest.js +0 -5
  227. package/dist/model/GetToken4XXResponse.js +2 -2
  228. package/dist/model/GetTransactionLimitation200Response.js +13 -7
  229. package/dist/model/GraphQLError.js +3 -6
  230. package/dist/model/GraphQLRequest.js +1 -1
  231. package/dist/model/IntermediaryBankInfo.js +2 -2
  232. package/dist/model/IsolateDisposition.js +6 -9
  233. package/dist/model/KyaRiskDetail.js +2 -2
  234. package/dist/model/KyaScreeningRequest.js +3 -3
  235. package/dist/model/KyaScreeningResult.js +5 -5
  236. package/dist/model/KyaScreeningsEventData.js +3 -3
  237. package/dist/model/KytScreeningsEventData.js +1 -1
  238. package/dist/model/KytScreeningsTransaction.js +1 -1
  239. package/dist/model/Link.js +2 -2
  240. package/dist/model/ListAddressVerifications200Response.js +147 -0
  241. package/dist/model/ListBulkSends200Response.js +123 -0
  242. package/dist/model/ListCallbackMessages200Response.js +25 -17
  243. package/dist/model/ListKyaScreenings200Response.js +25 -17
  244. package/dist/model/ListSupportedCountries200ResponseInner.js +3 -3
  245. package/dist/model/ListTokenBalancesForFeeStation200ResponseDataInner.js +8 -3
  246. package/dist/model/ListTokenizationBlocklistAddresses200Response.js +25 -17
  247. package/dist/model/ListTopUpPayers200ResponseDataInner.js +3 -3
  248. package/dist/model/LockUtxosRequest.js +19 -16
  249. package/dist/model/LockUtxosRequestUtxosInner.js +2 -2
  250. package/dist/model/MPCDelegate.js +2 -2
  251. package/dist/model/MPCVaultEventData.js +1 -1
  252. package/dist/model/MPCWalletInfo.js +4 -4
  253. package/dist/model/Merchant.js +3 -3
  254. package/dist/model/MerchantBalance.js +2 -2
  255. package/dist/model/MessageSignDestination.js +0 -5
  256. package/dist/model/MessageSignParams.js +19 -12
  257. package/dist/model/MessageSignSource.js +0 -5
  258. package/dist/model/MpcContractCallSource.js +2 -2
  259. package/dist/model/MpcMessageSignSource.js +2 -2
  260. package/dist/model/MpcSigningGroup.js +4 -7
  261. package/dist/model/MpcStakeSource.js +2 -2
  262. package/dist/model/MpcTransferSource.js +1 -1
  263. package/dist/model/Order.js +8 -8
  264. package/dist/model/OrderLinkBusinessInfo.js +8 -11
  265. package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +2 -2
  266. package/dist/model/OrderLinkBusinessInfoPayableAmountsInner.js +2 -2
  267. package/dist/model/OrgInfo.js +1 -1
  268. package/dist/model/OtcFee.js +1 -1
  269. package/dist/model/Pagination.js +2 -2
  270. package/dist/model/PayerAccount.js +3 -3
  271. package/dist/model/PaymentAddressUpdateEventData.js +6 -6
  272. package/dist/model/PaymentAllocationAmount.js +2 -2
  273. package/dist/model/PaymentBulkSend.js +15 -2
  274. package/dist/model/PaymentBulkSendEvent.js +21 -3
  275. package/dist/model/PaymentBulkSendItem.js +4 -4
  276. package/dist/model/PaymentEstimateFee.js +2 -2
  277. package/dist/model/PaymentEstimateFeeRequest.js +19 -16
  278. package/dist/model/PaymentEstimatedFee.js +2 -2
  279. package/dist/model/PaymentOrderEventData.js +9 -9
  280. package/dist/model/PaymentPayout.js +2 -2
  281. package/dist/model/PaymentPayoutDetail.js +2 -2
  282. package/dist/model/PaymentPayoutEvent.js +3 -3
  283. package/dist/model/PaymentPayoutItem.js +2 -2
  284. package/dist/model/PaymentPayoutParam.js +2 -2
  285. package/dist/model/PaymentRefundEventData.js +6 -6
  286. package/dist/model/PaymentSettlementEvent.js +22 -19
  287. package/dist/model/PaymentTransaction.js +4 -4
  288. package/dist/model/PaymentTransactionEventData.js +26 -25
  289. package/dist/model/PaymentWalletBalance.js +2 -2
  290. package/dist/model/PolicyActionContent.js +7 -13
  291. package/dist/model/PolicyCondition.js +2 -2
  292. package/dist/model/PoolDetails.js +24 -21
  293. package/dist/model/PoolDetailsAllOfValidatorsInfo.js +0 -5
  294. package/dist/model/PoolSummary.js +5 -5
  295. package/dist/model/PreCheck.js +3 -6
  296. package/dist/model/PspBalance.js +1 -1
  297. package/dist/model/QueryGuardPubkey200ResponseAddressesInner.js +2 -2
  298. package/dist/model/RefreshPermissionTokenRequest.js +1 -1
  299. package/dist/model/Refund.js +5 -5
  300. package/dist/model/RefundDisposition.js +6 -9
  301. package/dist/model/RefundLinkBusinessInfo.js +1 -1
  302. package/dist/model/Report.js +2 -2
  303. package/dist/model/RequestApproval.js +23 -20
  304. package/dist/model/RevokeApprovalRequest201Response.js +1 -1
  305. package/dist/model/RevokeApprovalRequestRequest.js +1 -1
  306. package/dist/model/RoleScopes.js +8 -3
  307. package/dist/model/SafeContractCallSource.js +9 -4
  308. package/dist/model/SafeTransferSource.js +9 -4
  309. package/dist/model/SafeTxExtraData.js +8 -8
  310. package/dist/model/SafeWallet.js +6 -9
  311. package/dist/model/SafeWalletDelegates.js +0 -5
  312. package/dist/model/SafeWalletDelegatesTransfer.js +1 -1
  313. package/dist/model/SatoshiTestCancelResult.js +144 -0
  314. package/dist/model/SatoshiTestChallenge.js +239 -0
  315. package/dist/model/SatoshiTestChallengeAction.js +61 -0
  316. package/dist/model/SatoshiTestChallengeStatus.js +81 -0
  317. package/dist/model/Scopes.js +15 -30
  318. package/dist/model/SelfCustodyWallet.js +3 -3
  319. package/dist/model/Settlement.js +21 -18
  320. package/dist/model/SettlementDetail.js +3 -6
  321. package/dist/model/SettlementInfo.js +1 -1
  322. package/dist/model/SignatureChallenge.js +137 -0
  323. package/dist/model/SignatureDetail.js +146 -0
  324. package/dist/model/SmartContractInitiator.js +2 -2
  325. package/dist/model/SmartContractWalletInfo.js +0 -5
  326. package/dist/model/SolContractCallAccount.js +1 -1
  327. package/dist/model/SolContractCallAddressLookupTableAccount.js +1 -1
  328. package/dist/model/SolContractCallDestination.js +21 -18
  329. package/dist/model/SolContractCallInstruction.js +21 -18
  330. package/dist/model/SourceGroup.js +4 -7
  331. package/dist/model/StakingSource.js +0 -5
  332. package/dist/model/Stakings.js +25 -22
  333. package/dist/model/StakingsExtra.js +0 -5
  334. package/dist/model/StellarContractCallContractParam.js +0 -5
  335. package/dist/model/StellarContractCallDestination.js +7 -2
  336. package/dist/model/StellarContractCallTrustLineParam.js +1 -1
  337. package/dist/model/SubWalletAssetBalance.js +8 -3
  338. package/dist/model/SubmitKytResponse.js +1 -1
  339. package/dist/model/SubmitKytScreeningsDecisionsBody.js +1 -1
  340. package/dist/model/SubmitKytScreeningsReviewBody.js +1 -1
  341. package/dist/model/SupportedToken.js +6 -6
  342. package/dist/model/SuspendedTokenEventData.js +2 -2
  343. package/dist/model/SwapActivityApprovers.js +1 -1
  344. package/dist/model/SwapActivityTimeline.js +2 -2
  345. package/dist/model/SwapEstimateFee.js +2 -2
  346. package/dist/model/SwapQuote.js +7 -7
  347. package/dist/model/SwapReceivingTransaction.js +1 -1
  348. package/dist/model/SwapToken.js +3 -3
  349. package/dist/model/SweepToAddress.js +2 -2
  350. package/dist/model/TSSEventData.js +0 -5
  351. package/dist/model/TSSKeyGenRequest.js +3 -6
  352. package/dist/model/TSSKeyReshareRequest.js +6 -12
  353. package/dist/model/TSSKeySignRequest.js +12 -24
  354. package/dist/model/TSSRequestWebhookEventData.js +1 -1
  355. package/dist/model/TokenBalance.js +8 -3
  356. package/dist/model/TokenInfo.js +2 -2
  357. package/dist/model/TokenListing.js +3 -3
  358. package/dist/model/TokenListingEventData.js +4 -4
  359. package/dist/model/TokenizationActivityInfo.js +10 -5
  360. package/dist/model/TokenizationAddressPermission.js +1 -1
  361. package/dist/model/TokenizationAllowlistActivationParams.js +7 -2
  362. package/dist/model/TokenizationAllowlistActivationRequest.js +14 -4
  363. package/dist/model/TokenizationAllowlistAddressNote.js +1 -1
  364. package/dist/model/TokenizationAllowlistAddressesResponse.js +25 -17
  365. package/dist/model/TokenizationBlocklistAddressNote.js +1 -1
  366. package/dist/model/TokenizationBurnEstimateFeeParams.js +26 -18
  367. package/dist/model/TokenizationBurnTokenParams.js +25 -17
  368. package/dist/model/TokenizationBurnTokenParamsBurnsInner.js +2 -2
  369. package/dist/model/TokenizationBurnTokenRequest.js +32 -19
  370. package/dist/model/TokenizationContractCallEstimateFeeParams.js +1 -1
  371. package/dist/model/TokenizationContractCallParamsData.js +0 -5
  372. package/dist/model/TokenizationContractCallRequest.js +7 -2
  373. package/dist/model/TokenizationERC20TokenParams.js +2 -2
  374. package/dist/model/TokenizationERC20TokenPermissionParams.js +21 -42
  375. package/dist/model/TokenizationERC20WrappedTokenParams.js +3 -3
  376. package/dist/model/TokenizationERC20WrappedTokenPermissionParams.js +21 -42
  377. package/dist/model/TokenizationEstimateFeeRequest.js +7 -2
  378. package/dist/model/TokenizationEstimateFeeRequestOperationParams.js +0 -5
  379. package/dist/model/TokenizationEvmContractCallParams.js +1 -1
  380. package/dist/model/TokenizationHoldingInfo.js +3 -3
  381. package/dist/model/TokenizationIssueEstimateFeeParams.js +15 -5
  382. package/dist/model/TokenizationIssueTokenParams.js +15 -5
  383. package/dist/model/TokenizationIssueTokenParamsTokenParams.js +0 -5
  384. package/dist/model/TokenizationIssuedTokenRequest.js +22 -7
  385. package/dist/model/TokenizationListActivitiesResponse.js +25 -17
  386. package/dist/model/TokenizationListEnabledChainsResponse.js +7 -2
  387. package/dist/model/TokenizationListHoldingsResponse.js +25 -17
  388. package/dist/model/TokenizationListPermissionsResponse.js +25 -17
  389. package/dist/model/TokenizationListPermissionsResponseDataInner.js +1 -1
  390. package/dist/model/TokenizationListTokenInfoResponse.js +25 -17
  391. package/dist/model/TokenizationMintEstimateFeeParams.js +26 -18
  392. package/dist/model/TokenizationMintTokenParams.js +25 -17
  393. package/dist/model/TokenizationMintTokenParamsMintsInner.js +2 -2
  394. package/dist/model/TokenizationMintTokenRequest.js +32 -19
  395. package/dist/model/TokenizationMpcOperationSource.js +2 -2
  396. package/dist/model/TokenizationOperationResponse.js +1 -1
  397. package/dist/model/TokenizationPauseEstimateFeeParams.js +8 -3
  398. package/dist/model/TokenizationPauseTokenParams.js +7 -2
  399. package/dist/model/TokenizationPauseTokenRequest.js +14 -4
  400. package/dist/model/TokenizationSOLTokenParams.js +2 -2
  401. package/dist/model/TokenizationSOLWrappedTokenParams.js +3 -3
  402. package/dist/model/TokenizationSolContractCallParams.js +19 -16
  403. package/dist/model/TokenizationSolWrappedTokenPermissionParams.js +3 -6
  404. package/dist/model/TokenizationToggleAllowlistEstimateFeeParams.js +8 -3
  405. package/dist/model/TokenizationTokenDetailInfo.js +3 -3
  406. package/dist/model/TokenizationTokenInfo.js +3 -3
  407. package/dist/model/TokenizationTokenOperationSource.js +0 -5
  408. package/dist/model/TokenizationTokenPermission.js +2 -2
  409. package/dist/model/TokenizationUnpauseEstimateFeeParams.js +8 -3
  410. package/dist/model/TokenizationUnpauseTokenParams.js +7 -2
  411. package/dist/model/TokenizationUnpauseTokenRequest.js +14 -4
  412. package/dist/model/TokenizationUpdateAddressPermissions.js +1 -1
  413. package/dist/model/TokenizationUpdateAllowlistAddressesEstimateFeeParams.js +26 -18
  414. package/dist/model/TokenizationUpdateAllowlistAddressesParams.js +25 -17
  415. package/dist/model/TokenizationUpdateAllowlistAddressesParamsAddressesInner.js +1 -1
  416. package/dist/model/TokenizationUpdateAllowlistAddressesRequest.js +32 -19
  417. package/dist/model/TokenizationUpdateBlocklistAddressesEstimateFeeParams.js +26 -18
  418. package/dist/model/TokenizationUpdateBlocklistAddressesParams.js +25 -17
  419. package/dist/model/TokenizationUpdateBlocklistAddressesParamsAddressesInner.js +1 -1
  420. package/dist/model/TokenizationUpdateBlocklistAddressesRequest.js +32 -19
  421. package/dist/model/TokenizationUpdatePermissionsEstimateFeeParams.js +26 -18
  422. package/dist/model/TokenizationUpdatePermissionsParams.js +25 -17
  423. package/dist/model/TokenizationUpdatePermissionsRequest.js +32 -19
  424. package/dist/model/TokenizationWeb3OperationSource.js +2 -2
  425. package/dist/model/TokensEventData.js +22 -22
  426. package/dist/model/TopUpAddress.js +6 -6
  427. package/dist/model/Transaction.js +25 -24
  428. package/dist/model/TransactionBIP137Destination.js +1 -1
  429. package/dist/model/TransactionBIP322Destination.js +1 -1
  430. package/dist/model/TransactionCosmosAdr36Destination.js +1 -1
  431. package/dist/model/TransactionCosmosContractDestination.js +19 -16
  432. package/dist/model/TransactionCosmosMessage.js +2 -2
  433. package/dist/model/TransactionCustodialAssetWalletSource.js +1 -1
  434. package/dist/model/TransactionCustodialWeb3WalletSource.js +1 -1
  435. package/dist/model/TransactionDepositFromWalletSource.js +1 -1
  436. package/dist/model/TransactionDepositToAddressDestination.js +3 -3
  437. package/dist/model/TransactionDepositToWalletDestination.js +2 -2
  438. package/dist/model/TransactionDestination.js +0 -5
  439. package/dist/model/TransactionDetail.js +25 -24
  440. package/dist/model/TransactionDetails.js +25 -24
  441. package/dist/model/TransactionEvmContractDestination.js +2 -2
  442. package/dist/model/TransactionExchangeWalletSource.js +1 -1
  443. package/dist/model/TransactionExtra.js +0 -5
  444. package/dist/model/TransactionFee.js +0 -5
  445. package/dist/model/TransactionFeeStationWalletSource.js +1 -1
  446. package/dist/model/TransactionMPCWalletSource.js +1 -1
  447. package/dist/model/TransactionMessageSignEIP191Destination.js +1 -1
  448. package/dist/model/TransactionRbf.js +11 -9
  449. package/dist/model/TransactionRbfSource.js +0 -5
  450. package/dist/model/TransactionRequestEvmEip1559Fee.js +3 -3
  451. package/dist/model/TransactionRequestEvmLegacyFee.js +2 -2
  452. package/dist/model/TransactionRequestFILFee.js +3 -3
  453. package/dist/model/TransactionRequestFee.js +0 -5
  454. package/dist/model/TransactionRequestFixedFee.js +1 -1
  455. package/dist/model/TransactionRequestSOLFee.js +3 -3
  456. package/dist/model/TransactionRequestUtxoFee.js +1 -1
  457. package/dist/model/TransactionResend.js +1 -1
  458. package/dist/model/TransactionResult.js +0 -5
  459. package/dist/model/TransactionSignatureResult.js +1 -1
  460. package/dist/model/TransactionSmartContractSafeWalletSource.js +2 -2
  461. package/dist/model/TransactionSolContractAddressLookupTableAccount.js +1 -1
  462. package/dist/model/TransactionSource.js +0 -5
  463. package/dist/model/TransactionStellarContractParam.js +0 -5
  464. package/dist/model/TransactionStellarDestination.js +7 -2
  465. package/dist/model/TransactionStellarTrustLineParam.js +1 -1
  466. package/dist/model/TransactionTokeApproval.js +2 -2
  467. package/dist/model/TransactionTokenAmount.js +2 -2
  468. package/dist/model/TransactionTransferToWalletDestination.js +2 -2
  469. package/dist/model/TransactionTronContractDestination.js +2 -2
  470. package/dist/model/TransactionWebhookEventData.js +26 -25
  471. package/dist/model/TransferDestination.js +0 -5
  472. package/dist/model/TransferParams.js +17 -10
  473. package/dist/model/TransferSource.js +0 -5
  474. package/dist/model/TravelRuleDepositExchangesOrVASP.js +9 -4
  475. package/dist/model/TravelRuleDepositExchangesOrVASPEntityInfo.js +0 -5
  476. package/dist/model/TravelRuleDepositLegalEntity.js +2 -2
  477. package/dist/model/TravelRuleDepositNaturalEntity.js +3 -3
  478. package/dist/model/TravelRuleDepositRequest.js +8 -3
  479. package/dist/model/TravelRuleDepositRequestTravelRuleInfo.js +0 -5
  480. package/dist/model/TravelRuleTransactionType.js +61 -0
  481. package/dist/model/TravelRuleWithdrawExchangesOrVASP.js +9 -4
  482. package/dist/model/TravelRuleWithdrawExchangesOrVASPEntityInfo.js +0 -5
  483. package/dist/model/TravelRuleWithdrawLegalEntity.js +1 -1
  484. package/dist/model/TravelRuleWithdrawNaturalEntity.js +2 -2
  485. package/dist/model/TravelRuleWithdrawRequest.js +8 -3
  486. package/dist/model/TravelRuleWithdrawRequestTravelRuleInfo.js +0 -5
  487. package/dist/model/TronContractCallDestination.js +2 -2
  488. package/dist/model/UnfreezeDisposition.js +1 -1
  489. package/dist/model/UpdateCounterpartyRequest.js +1 -1
  490. package/dist/model/UpdateDestinationBankAccount.js +8 -8
  491. package/dist/model/UpdateDestinationEntryRequest.js +1 -1
  492. package/dist/model/UpdateDestinationRequest.js +1 -1
  493. package/dist/model/UpdateExchangeWalletParams.js +1 -1
  494. package/dist/model/UpdateMpcProjectByIdRequest.js +1 -1
  495. package/dist/model/UpdateMpcVaultByIdRequest.js +1 -1
  496. package/dist/model/UpdateRefundByIdRequest.js +1 -1
  497. package/dist/model/UpdateSmartContractWalletParams.js +1 -1
  498. package/dist/model/UpdateTopUpAddress.js +2 -2
  499. package/dist/model/UpdateWalletParams.js +0 -5
  500. package/dist/model/UpdateWebhookEndpointByIdRequest.js +3 -6
  501. package/dist/model/UtxoFeeRate.js +8 -3
  502. package/dist/model/Vasp.js +3 -3
  503. package/dist/model/WalletAddress.js +3 -3
  504. package/dist/model/WalletInfo.js +0 -5
  505. package/dist/model/WalletInfoEventData.js +1 -1
  506. package/dist/model/WebhookEndpoint.js +1 -1
  507. package/dist/model/WebhookEvent.js +8 -3
  508. package/dist/model/WebhookEventData.js +1 -6
  509. package/dist/model/WebhookEventDataType.js +1 -1
  510. package/dist/model/WebhookEventLog.js +8 -3
  511. package/docs/AddressVerification.md +14 -0
  512. package/docs/AddressVerificationDetail.md +16 -0
  513. package/docs/AddressVerificationDetailSatoshiTestDetail.md +19 -0
  514. package/docs/AddressVerificationDetailSignatureDetail.md +12 -0
  515. package/docs/AddressVerificationMethod.md +12 -0
  516. package/docs/AddressVerificationStatus.md +14 -0
  517. package/docs/ApprovalUserDetail.md +1 -0
  518. package/docs/CancelSatoshiTestChallengeRequest.md +9 -0
  519. package/docs/CreateBulkSendRequest.md +1 -0
  520. package/docs/CreateSatoshiTestChallengeRequest.md +14 -0
  521. package/docs/GetTransactionLimitation200Response.md +2 -1
  522. package/docs/ListAddressVerifications200Response.md +10 -0
  523. package/docs/ListBulkSends200Response.md +10 -0
  524. package/docs/PaymentApi.md +59 -0
  525. package/docs/PaymentBulkSend.md +1 -0
  526. package/docs/PaymentBulkSendEvent.md +1 -0
  527. package/docs/SatoshiTestCancelResult.md +21 -0
  528. package/docs/SatoshiTestChallenge.md +19 -0
  529. package/docs/SatoshiTestChallengeAction.md +12 -0
  530. package/docs/SatoshiTestChallengeStatus.md +20 -0
  531. package/docs/SignatureChallenge.md +11 -0
  532. package/docs/SignatureDetail.md +12 -0
  533. package/docs/TravelRuleApi.md +325 -1
  534. package/docs/TravelRuleTransactionType.md +12 -0
  535. package/docs/WebhookEventData.md +1 -1
  536. package/package.json +1 -1
@@ -41,30 +41,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
41
41
  * Do not edit the class manually.
42
42
  *
43
43
  */
44
- // Model class table — access class refs by name to avoid parameter-name shadowing
45
- var _modelClasses = {
46
- 'ApprovalDetail': _ApprovalDetail["default"],
47
- 'ApprovalTemplate': _ApprovalTemplate["default"],
48
- 'BroadcastSignedTransactions201ResponseInner': _BroadcastSignedTransactions201ResponseInner["default"],
49
- 'BroadcastSignedTransactionsRequest': _BroadcastSignedTransactionsRequest["default"],
50
- 'CheckLoopTransfers200ResponseInner': _CheckLoopTransfers200ResponseInner["default"],
51
- 'ContractCallParams': _ContractCallParams["default"],
52
- 'CreateTransferTransaction201Response': _CreateTransferTransaction201Response["default"],
53
- 'ErrorResponse': _ErrorResponse["default"],
54
- 'EstimateFeeParams': _EstimateFeeParams["default"],
55
- 'EstimatedFee': _EstimatedFee["default"],
56
- 'ListTransactionApprovalDetails200Response': _ListTransactionApprovalDetails200Response["default"],
57
- 'ListTransactions200Response': _ListTransactions200Response["default"],
58
- 'MessageSignParams': _MessageSignParams["default"],
59
- 'TransactionApprovalDetail': _TransactionApprovalDetail["default"],
60
- 'TransactionDetail': _TransactionDetail["default"],
61
- 'TransactionRbf': _TransactionRbf["default"],
62
- 'TransactionResend': _TransactionResend["default"],
63
- 'TransferParams': _TransferParams["default"],
64
- 'WalletSubtype': _WalletSubtype["default"],
65
- 'WalletType': _WalletType["default"]
66
- };
67
-
68
44
  /**
69
45
  * Transactions service.
70
46
  * @module api/TransactionsApi
@@ -97,21 +73,6 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
97
73
  if (postBody && postBody.toJSON) {
98
74
  postBody = postBody.toJSON();
99
75
  }
100
- // Validate opts key — must be exactly 'BroadcastSignedTransactionsRequest'
101
- if (postBody === undefined && opts) {
102
- var _providedKeys = Object.keys(opts).filter(function (k) {
103
- return k !== '_base_path_index';
104
- });
105
- if (_providedKeys.length > 0) {
106
- throw new Error('broadcastSignedTransactions(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "BroadcastSignedTransactionsRequest".');
107
- }
108
- }
109
- // Validate request body before sending
110
- if (postBody !== null && postBody !== undefined) {
111
- if (_modelClasses['BroadcastSignedTransactionsRequest'] && typeof _modelClasses['BroadcastSignedTransactionsRequest'].validateJSON === 'function') {
112
- _modelClasses['BroadcastSignedTransactionsRequest'].validateJSON(postBody);
113
- }
114
- }
115
76
  var pathParams = {};
116
77
  var queryParams = {};
117
78
  var headerParams = {};
@@ -255,21 +216,6 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
255
216
  if (postBody && postBody.toJSON) {
256
217
  postBody = postBody.toJSON();
257
218
  }
258
- // Validate opts key — must be exactly 'ContractCallParams'
259
- if (postBody === undefined && opts) {
260
- var _providedKeys = Object.keys(opts).filter(function (k) {
261
- return k !== '_base_path_index';
262
- });
263
- if (_providedKeys.length > 0) {
264
- throw new Error('createContractCallTransaction(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "ContractCallParams".');
265
- }
266
- }
267
- // Validate request body before sending
268
- if (postBody !== null && postBody !== undefined) {
269
- if (_modelClasses['ContractCallParams'] && typeof _modelClasses['ContractCallParams'].validateJSON === 'function') {
270
- _modelClasses['ContractCallParams'].validateJSON(postBody);
271
- }
272
- }
273
219
  var pathParams = {};
274
220
  var queryParams = {};
275
221
  var headerParams = {};
@@ -311,21 +257,6 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
311
257
  if (postBody && postBody.toJSON) {
312
258
  postBody = postBody.toJSON();
313
259
  }
314
- // Validate opts key — must be exactly 'MessageSignParams'
315
- if (postBody === undefined && opts) {
316
- var _providedKeys = Object.keys(opts).filter(function (k) {
317
- return k !== '_base_path_index';
318
- });
319
- if (_providedKeys.length > 0) {
320
- throw new Error('createMessageSignTransaction(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "MessageSignParams".');
321
- }
322
- }
323
- // Validate request body before sending
324
- if (postBody !== null && postBody !== undefined) {
325
- if (_modelClasses['MessageSignParams'] && typeof _modelClasses['MessageSignParams'].validateJSON === 'function') {
326
- _modelClasses['MessageSignParams'].validateJSON(postBody);
327
- }
328
- }
329
260
  var pathParams = {};
330
261
  var queryParams = {};
331
262
  var headerParams = {};
@@ -367,21 +298,6 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
367
298
  if (postBody && postBody.toJSON) {
368
299
  postBody = postBody.toJSON();
369
300
  }
370
- // Validate opts key — must be exactly 'TransferParams'
371
- if (postBody === undefined && opts) {
372
- var _providedKeys = Object.keys(opts).filter(function (k) {
373
- return k !== '_base_path_index';
374
- });
375
- if (_providedKeys.length > 0) {
376
- throw new Error('createTransferTransaction(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "TransferParams".');
377
- }
378
- }
379
- // Validate request body before sending
380
- if (postBody !== null && postBody !== undefined) {
381
- if (_modelClasses['TransferParams'] && typeof _modelClasses['TransferParams'].validateJSON === 'function') {
382
- _modelClasses['TransferParams'].validateJSON(postBody);
383
- }
384
- }
385
301
  var pathParams = {};
386
302
  var queryParams = {};
387
303
  var headerParams = {};
@@ -428,21 +344,6 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
428
344
  if (transaction_id === undefined || transaction_id === null) {
429
345
  throw new Error("Missing the required parameter 'transaction_id' when calling dropTransactionById");
430
346
  }
431
- // Validate opts key — must be exactly 'TransactionRbf'
432
- if (postBody === undefined && opts) {
433
- var _providedKeys = Object.keys(opts).filter(function (k) {
434
- return k !== '_base_path_index';
435
- });
436
- if (_providedKeys.length > 0) {
437
- throw new Error('dropTransactionById(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "TransactionRbf".');
438
- }
439
- }
440
- // Validate request body before sending
441
- if (postBody !== null && postBody !== undefined) {
442
- if (_modelClasses['TransactionRbf'] && typeof _modelClasses['TransactionRbf'].validateJSON === 'function') {
443
- _modelClasses['TransactionRbf'].validateJSON(postBody);
444
- }
445
- }
446
347
  var pathParams = {
447
348
  'transaction_id': transaction_id
448
349
  };
@@ -487,21 +388,6 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
487
388
  if (postBody && postBody.toJSON) {
488
389
  postBody = postBody.toJSON();
489
390
  }
490
- // Validate opts key — must be exactly 'EstimateFeeParams'
491
- if (postBody === undefined && opts) {
492
- var _providedKeys = Object.keys(opts).filter(function (k) {
493
- return k !== '_base_path_index';
494
- });
495
- if (_providedKeys.length > 0) {
496
- throw new Error('estimateFee(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "EstimateFeeParams".');
497
- }
498
- }
499
- // Validate request body before sending
500
- if (postBody !== null && postBody !== undefined) {
501
- if (_modelClasses['EstimateFeeParams'] && typeof _modelClasses['EstimateFeeParams'].validateJSON === 'function') {
502
- _modelClasses['EstimateFeeParams'].validateJSON(postBody);
503
- }
504
- }
505
391
  var pathParams = {};
506
392
  var queryParams = {};
507
393
  var headerParams = {};
@@ -881,21 +767,6 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
881
767
  if (transaction_id === undefined || transaction_id === null) {
882
768
  throw new Error("Missing the required parameter 'transaction_id' when calling resendTransactionById");
883
769
  }
884
- // Validate opts key — must be exactly 'TransactionResend'
885
- if (postBody === undefined && opts) {
886
- var _providedKeys = Object.keys(opts).filter(function (k) {
887
- return k !== '_base_path_index';
888
- });
889
- if (_providedKeys.length > 0) {
890
- throw new Error('resendTransactionById(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "TransactionResend".');
891
- }
892
- }
893
- // Validate request body before sending
894
- if (postBody !== null && postBody !== undefined) {
895
- if (_modelClasses['TransactionResend'] && typeof _modelClasses['TransactionResend'].validateJSON === 'function') {
896
- _modelClasses['TransactionResend'].validateJSON(postBody);
897
- }
898
- }
899
770
  var pathParams = {
900
771
  'transaction_id': transaction_id
901
772
  };
@@ -989,21 +860,6 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
989
860
  if (transaction_id === undefined || transaction_id === null) {
990
861
  throw new Error("Missing the required parameter 'transaction_id' when calling speedupTransactionById");
991
862
  }
992
- // Validate opts key — must be exactly 'TransactionRbf'
993
- if (postBody === undefined && opts) {
994
- var _providedKeys = Object.keys(opts).filter(function (k) {
995
- return k !== '_base_path_index';
996
- });
997
- if (_providedKeys.length > 0) {
998
- throw new Error('speedupTransactionById(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "TransactionRbf".');
999
- }
1000
- }
1001
- // Validate request body before sending
1002
- if (postBody !== null && postBody !== undefined) {
1003
- if (_modelClasses['TransactionRbf'] && typeof _modelClasses['TransactionRbf'].validateJSON === 'function') {
1004
- _modelClasses['TransactionRbf'].validateJSON(postBody);
1005
- }
1006
- }
1007
863
  var pathParams = {
1008
864
  'transaction_id': transaction_id
1009
865
  };
@@ -5,9 +5,17 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _AddressVerificationDetail = _interopRequireDefault(require("../model/AddressVerificationDetail"));
9
+ var _AddressVerificationStatus = _interopRequireDefault(require("../model/AddressVerificationStatus"));
10
+ var _CancelSatoshiTestChallengeRequest = _interopRequireDefault(require("../model/CancelSatoshiTestChallengeRequest"));
11
+ var _CreateSatoshiTestChallengeRequest = _interopRequireDefault(require("../model/CreateSatoshiTestChallengeRequest"));
8
12
  var _ErrorResponse = _interopRequireDefault(require("../model/ErrorResponse"));
9
13
  var _GetTransactionLimitation200Response = _interopRequireDefault(require("../model/GetTransactionLimitation200Response"));
14
+ var _ListAddressVerifications200Response = _interopRequireDefault(require("../model/ListAddressVerifications200Response"));
10
15
  var _ListSupportedCountries200ResponseInner = _interopRequireDefault(require("../model/ListSupportedCountries200ResponseInner"));
16
+ var _SatoshiTestCancelResult = _interopRequireDefault(require("../model/SatoshiTestCancelResult"));
17
+ var _SatoshiTestChallenge = _interopRequireDefault(require("../model/SatoshiTestChallenge"));
18
+ var _SignatureChallenge = _interopRequireDefault(require("../model/SignatureChallenge"));
11
19
  var _SubmitDepositTravelRuleInfo201Response = _interopRequireDefault(require("../model/SubmitDepositTravelRuleInfo201Response"));
12
20
  var _TravelRuleDepositRequest = _interopRequireDefault(require("../model/TravelRuleDepositRequest"));
13
21
  var _TravelRuleWithdrawRequest = _interopRequireDefault(require("../model/TravelRuleWithdrawRequest"));
@@ -27,16 +35,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
35
  * Do not edit the class manually.
28
36
  *
29
37
  */
30
- // Model class table — access class refs by name to avoid parameter-name shadowing
31
- var _modelClasses = {
32
- 'ErrorResponse': _ErrorResponse["default"],
33
- 'GetTransactionLimitation200Response': _GetTransactionLimitation200Response["default"],
34
- 'ListSupportedCountries200ResponseInner': _ListSupportedCountries200ResponseInner["default"],
35
- 'SubmitDepositTravelRuleInfo201Response': _SubmitDepositTravelRuleInfo201Response["default"],
36
- 'TravelRuleDepositRequest': _TravelRuleDepositRequest["default"],
37
- 'TravelRuleWithdrawRequest': _TravelRuleWithdrawRequest["default"]
38
- };
39
-
40
38
  /**
41
39
  * TravelRule service.
42
40
  * @module api/TravelRuleApi
@@ -55,13 +53,234 @@ var TravelRuleApi = exports["default"] = /*#__PURE__*/function () {
55
53
  }
56
54
 
57
55
  /**
58
- * Retrieve transaction limitations
59
- * This operation retrieves Travel Rule requirements and available options for a transaction based on its transaction type and ID. Use this endpoint before submitting Travel Rule information to understand the requirements and available options for your transaction.
60
- * @param {module:model/String} transaction_type The transaction type. Possible values include: - `DEPOSIT`: A deposit transaction. - `WITHDRAW`: A withdrawal transaction.
61
- * @param {String} transaction_id The transaction ID.
62
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTransactionLimitation200Response} and HTTP response
56
+ * Cancel Satoshi Test challenge
57
+ * This operation cancels a Satoshi Test challenge that is currently in `PREPARE` or `PENDING` status. Typical use case: the counterparty decides to switch verification methods before transferring. Once cancelled, the challenge status becomes `DELETED` and the on-chain match will no longer be observed. Challenges already in `MATCHED`, `VERIFIED`, `EXPIRED`, or `DELETED` state cannot be cancelled.
58
+ * @param {Object} opts Optional parameters
59
+ * @param {module:model/CancelSatoshiTestChallengeRequest} [CancelSatoshiTestChallengeRequest]
60
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SatoshiTestCancelResult} and HTTP response
63
61
  */
64
62
  return _createClass(TravelRuleApi, [{
63
+ key: "cancelSatoshiTestChallengeWithHttpInfo",
64
+ value: function cancelSatoshiTestChallengeWithHttpInfo(opts) {
65
+ opts = opts || {};
66
+ var postBody = opts['CancelSatoshiTestChallengeRequest'];
67
+ if (postBody && postBody.toJSON) {
68
+ postBody = postBody.toJSON();
69
+ }
70
+ var pathParams = {};
71
+ var queryParams = {};
72
+ var headerParams = {};
73
+ var formParams = {};
74
+ var authNames = ['OAuth2', 'CoboAuth'];
75
+ var contentTypes = ['application/json'];
76
+ var accepts = ['application/json'];
77
+ var returnType = _SatoshiTestCancelResult["default"];
78
+ return this.apiClient.callApi('/travel_rule/satoshi_test/challenge/cancel', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
79
+ }
80
+
81
+ /**
82
+ * Cancel Satoshi Test challenge
83
+ * This operation cancels a Satoshi Test challenge that is currently in `PREPARE` or `PENDING` status. Typical use case: the counterparty decides to switch verification methods before transferring. Once cancelled, the challenge status becomes `DELETED` and the on-chain match will no longer be observed. Challenges already in `MATCHED`, `VERIFIED`, `EXPIRED`, or `DELETED` state cannot be cancelled.
84
+ * @param {Object} opts Optional parameters
85
+ * @param {module:model/CancelSatoshiTestChallengeRequest} opts.CancelSatoshiTestChallengeRequest
86
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SatoshiTestCancelResult}
87
+ */
88
+ }, {
89
+ key: "cancelSatoshiTestChallenge",
90
+ value: function cancelSatoshiTestChallenge(opts) {
91
+ return this.cancelSatoshiTestChallengeWithHttpInfo(opts).then(function (response_and_data) {
92
+ return response_and_data.data;
93
+ });
94
+ }
95
+
96
+ /**
97
+ * Create Satoshi Test challenge
98
+ * This operation creates a Satoshi Test challenge for self-custody address verification. Satoshi Test verifies address ownership by having the counterparty transfer a small, uniquely-generated amount from their wallet to a Cobo-controlled verification address. A single endpoint covers both flows via the `action` parameter: - **Two-step flow** (`action=PREPARE` then `action=SUBMIT`): Preview the verification details first, then activate. The 180-minute countdown only starts on `SUBMIT`. The server uses `(chain_id, from_address)` as the idempotency key, so the second call automatically targets the prepared challenge. For extra safety, pass the `challenge_id` returned by `PREPARE` in the subsequent `SUBMIT` call — it pins the activation to that specific challenge. - **One-shot flow** (`action=SUBMIT` directly, without `challenge_id`): Prepare and submit in a single call. The challenge is created directly in `PENDING` state with the countdown started. If the counterparty address has already been verified, the operation returns HTTP 400 `ADDRESS_ALREADY_VERIFIED`. Call [List address verifications](#operation/list_address_verifications) with `chain_id`, `address`, and `status=VERIFIED` first to pre-check. Supported chains: `BTC`, `ETH`, `BASE_ETH`, `BSC_BNB`, `TRON`.
99
+ * @param {Object} opts Optional parameters
100
+ * @param {module:model/CreateSatoshiTestChallengeRequest} [CreateSatoshiTestChallengeRequest]
101
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SatoshiTestChallenge} and HTTP response
102
+ */
103
+ }, {
104
+ key: "createSatoshiTestChallengeWithHttpInfo",
105
+ value: function createSatoshiTestChallengeWithHttpInfo(opts) {
106
+ opts = opts || {};
107
+ var postBody = opts['CreateSatoshiTestChallengeRequest'];
108
+ if (postBody && postBody.toJSON) {
109
+ postBody = postBody.toJSON();
110
+ }
111
+ var pathParams = {};
112
+ var queryParams = {};
113
+ var headerParams = {};
114
+ var formParams = {};
115
+ var authNames = ['OAuth2', 'CoboAuth'];
116
+ var contentTypes = ['application/json'];
117
+ var accepts = ['application/json'];
118
+ var returnType = _SatoshiTestChallenge["default"];
119
+ return this.apiClient.callApi('/travel_rule/satoshi_test/challenge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
120
+ }
121
+
122
+ /**
123
+ * Create Satoshi Test challenge
124
+ * This operation creates a Satoshi Test challenge for self-custody address verification. Satoshi Test verifies address ownership by having the counterparty transfer a small, uniquely-generated amount from their wallet to a Cobo-controlled verification address. A single endpoint covers both flows via the `action` parameter: - **Two-step flow** (`action=PREPARE` then `action=SUBMIT`): Preview the verification details first, then activate. The 180-minute countdown only starts on `SUBMIT`. The server uses `(chain_id, from_address)` as the idempotency key, so the second call automatically targets the prepared challenge. For extra safety, pass the `challenge_id` returned by `PREPARE` in the subsequent `SUBMIT` call — it pins the activation to that specific challenge. - **One-shot flow** (`action=SUBMIT` directly, without `challenge_id`): Prepare and submit in a single call. The challenge is created directly in `PENDING` state with the countdown started. If the counterparty address has already been verified, the operation returns HTTP 400 `ADDRESS_ALREADY_VERIFIED`. Call [List address verifications](#operation/list_address_verifications) with `chain_id`, `address`, and `status=VERIFIED` first to pre-check. Supported chains: `BTC`, `ETH`, `BASE_ETH`, `BSC_BNB`, `TRON`.
125
+ * @param {Object} opts Optional parameters
126
+ * @param {module:model/CreateSatoshiTestChallengeRequest} opts.CreateSatoshiTestChallengeRequest
127
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SatoshiTestChallenge}
128
+ */
129
+ }, {
130
+ key: "createSatoshiTestChallenge",
131
+ value: function createSatoshiTestChallenge(opts) {
132
+ return this.createSatoshiTestChallengeWithHttpInfo(opts).then(function (response_and_data) {
133
+ return response_and_data.data;
134
+ });
135
+ }
136
+
137
+ /**
138
+ * Get address verification
139
+ * Retrieve a single self-custody address verification record by its `verification_id`, including method-specific provenance: - `verification_method=SIGNATURE` → `signature_detail` is populated. - `verification_method=SATOSHI_TEST` → `satoshi_test_detail` carries the latest challenge state (`status`, `remaining_seconds`, `matched_txid`). Use [List address verifications](#operation/list_address_verifications) to discover `verification_id` values.
140
+ * @param {String} verification_id The unique identifier of the address verification record.
141
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddressVerificationDetail} and HTTP response
142
+ */
143
+ }, {
144
+ key: "getAddressVerificationWithHttpInfo",
145
+ value: function getAddressVerificationWithHttpInfo(verification_id) {
146
+ var postBody = null;
147
+ if (postBody && postBody.toJSON) {
148
+ postBody = postBody.toJSON();
149
+ }
150
+ // verify the required parameter 'verification_id' is set
151
+ if (verification_id === undefined || verification_id === null) {
152
+ throw new Error("Missing the required parameter 'verification_id' when calling getAddressVerification");
153
+ }
154
+ var pathParams = {
155
+ 'verification_id': verification_id
156
+ };
157
+ var queryParams = {};
158
+ var headerParams = {};
159
+ var formParams = {};
160
+ var authNames = ['OAuth2', 'CoboAuth'];
161
+ var contentTypes = [];
162
+ var accepts = ['application/json'];
163
+ var returnType = _AddressVerificationDetail["default"];
164
+ return this.apiClient.callApi('/travel_rule/address_verifications/{verification_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
165
+ }
166
+
167
+ /**
168
+ * Get address verification
169
+ * Retrieve a single self-custody address verification record by its `verification_id`, including method-specific provenance: - `verification_method=SIGNATURE` → `signature_detail` is populated. - `verification_method=SATOSHI_TEST` → `satoshi_test_detail` carries the latest challenge state (`status`, `remaining_seconds`, `matched_txid`). Use [List address verifications](#operation/list_address_verifications) to discover `verification_id` values.
170
+ * @param {String} verification_id The unique identifier of the address verification record.
171
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddressVerificationDetail}
172
+ */
173
+ }, {
174
+ key: "getAddressVerification",
175
+ value: function getAddressVerification(verification_id) {
176
+ return this.getAddressVerificationWithHttpInfo(verification_id).then(function (response_and_data) {
177
+ return response_and_data.data;
178
+ });
179
+ }
180
+
181
+ /**
182
+ * Get Satoshi Test challenge
183
+ * This operation returns the current state of a Satoshi Test challenge — useful for polling after submission. The response contains the challenge `status` and `remaining_seconds`. Recommended polling interval: 10–30 seconds. The challenge will transition through `PENDING` → `MATCHED` → `VERIFIED` once the counterparty's transfer is observed and confirmed on chain. If the challenge is not matched within 180 minutes, the status becomes `EXPIRED`.
184
+ * @param {String} challenge_id The Satoshi Test challenge ID returned by the `prepare` or `submit` operation.
185
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SatoshiTestChallenge} and HTTP response
186
+ */
187
+ }, {
188
+ key: "getSatoshiTestChallengeWithHttpInfo",
189
+ value: function getSatoshiTestChallengeWithHttpInfo(challenge_id) {
190
+ var postBody = null;
191
+ if (postBody && postBody.toJSON) {
192
+ postBody = postBody.toJSON();
193
+ }
194
+ // verify the required parameter 'challenge_id' is set
195
+ if (challenge_id === undefined || challenge_id === null) {
196
+ throw new Error("Missing the required parameter 'challenge_id' when calling getSatoshiTestChallenge");
197
+ }
198
+ var pathParams = {};
199
+ var queryParams = {
200
+ 'challenge_id': challenge_id
201
+ };
202
+ var headerParams = {};
203
+ var formParams = {};
204
+ var authNames = ['OAuth2', 'CoboAuth'];
205
+ var contentTypes = [];
206
+ var accepts = ['application/json'];
207
+ var returnType = _SatoshiTestChallenge["default"];
208
+ return this.apiClient.callApi('/travel_rule/satoshi_test/challenge/status', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
209
+ }
210
+
211
+ /**
212
+ * Get Satoshi Test challenge
213
+ * This operation returns the current state of a Satoshi Test challenge — useful for polling after submission. The response contains the challenge `status` and `remaining_seconds`. Recommended polling interval: 10–30 seconds. The challenge will transition through `PENDING` → `MATCHED` → `VERIFIED` once the counterparty's transfer is observed and confirmed on chain. If the challenge is not matched within 180 minutes, the status becomes `EXPIRED`.
214
+ * @param {String} challenge_id The Satoshi Test challenge ID returned by the `prepare` or `submit` operation.
215
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SatoshiTestChallenge}
216
+ */
217
+ }, {
218
+ key: "getSatoshiTestChallenge",
219
+ value: function getSatoshiTestChallenge(challenge_id) {
220
+ return this.getSatoshiTestChallengeWithHttpInfo(challenge_id).then(function (response_and_data) {
221
+ return response_and_data.data;
222
+ });
223
+ }
224
+
225
+ /**
226
+ * Get self-custody signature challenge
227
+ * This operation issues a one-time, time-bounded message for a self-custody wallet address to sign, in order to prove wallet ownership. The signature is then submitted via [Submit Travel Rule information for deposits](#operation/submit_deposit_travel_rule_info) or [withdrawals](#operation/submit_withdraw_travel_rule_info). Use this endpoint when you want to verify the counterparty's self-custody address via off-chain signature. For address verification via on-chain micro-deposit, use the Satoshi Test endpoints (`/travel_rule/satoshi_test/...`) instead. The challenge is valid for a short window (returned as `expires_in`, currently 30 seconds). Calling this endpoint again for the same transaction rotates the challenge — only the latest issued value will verify.
228
+ * @param {module:model/String} transaction_type The transaction type. Possible values include: - `DEPOSIT`: A deposit transaction. - `WITHDRAW`: A withdrawal transaction.
229
+ * @param {String} transaction_id The transaction ID.
230
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SignatureChallenge} and HTTP response
231
+ */
232
+ }, {
233
+ key: "getSignatureChallengeWithHttpInfo",
234
+ value: function getSignatureChallengeWithHttpInfo(transaction_type, transaction_id) {
235
+ var postBody = null;
236
+ if (postBody && postBody.toJSON) {
237
+ postBody = postBody.toJSON();
238
+ }
239
+ // verify the required parameter 'transaction_type' is set
240
+ if (transaction_type === undefined || transaction_type === null) {
241
+ throw new Error("Missing the required parameter 'transaction_type' when calling getSignatureChallenge");
242
+ }
243
+ // verify the required parameter 'transaction_id' is set
244
+ if (transaction_id === undefined || transaction_id === null) {
245
+ throw new Error("Missing the required parameter 'transaction_id' when calling getSignatureChallenge");
246
+ }
247
+ var pathParams = {};
248
+ var queryParams = {
249
+ 'transaction_type': transaction_type,
250
+ 'transaction_id': transaction_id
251
+ };
252
+ var headerParams = {};
253
+ var formParams = {};
254
+ var authNames = ['OAuth2', 'CoboAuth'];
255
+ var contentTypes = [];
256
+ var accepts = ['application/json'];
257
+ var returnType = _SignatureChallenge["default"];
258
+ return this.apiClient.callApi('/travel_rule/signature_challenge', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
259
+ }
260
+
261
+ /**
262
+ * Get self-custody signature challenge
263
+ * This operation issues a one-time, time-bounded message for a self-custody wallet address to sign, in order to prove wallet ownership. The signature is then submitted via [Submit Travel Rule information for deposits](#operation/submit_deposit_travel_rule_info) or [withdrawals](#operation/submit_withdraw_travel_rule_info). Use this endpoint when you want to verify the counterparty's self-custody address via off-chain signature. For address verification via on-chain micro-deposit, use the Satoshi Test endpoints (`/travel_rule/satoshi_test/...`) instead. The challenge is valid for a short window (returned as `expires_in`, currently 30 seconds). Calling this endpoint again for the same transaction rotates the challenge — only the latest issued value will verify.
264
+ * @param {module:model/String} transaction_type The transaction type. Possible values include: - `DEPOSIT`: A deposit transaction. - `WITHDRAW`: A withdrawal transaction.
265
+ * @param {String} transaction_id The transaction ID.
266
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SignatureChallenge}
267
+ */
268
+ }, {
269
+ key: "getSignatureChallenge",
270
+ value: function getSignatureChallenge(transaction_type, transaction_id) {
271
+ return this.getSignatureChallengeWithHttpInfo(transaction_type, transaction_id).then(function (response_and_data) {
272
+ return response_and_data.data;
273
+ });
274
+ }
275
+
276
+ /**
277
+ * Retrieve transaction limitations
278
+ * <Note>The `self_custody_wallet_challenge` field in the response is deprecated. To obtain a signature challenge, call [Get self-custody signature challenge](#operation/get_signature_challenge) instead. This operation itself is not deprecated and continues to return the VASP list, threshold info, connect wallet list, and Satoshi Test support.</Note> This operation retrieves Travel Rule requirements and available options for a transaction based on its transaction type and ID. Use this endpoint before submitting Travel Rule information to understand the requirements and available options for your transaction.
279
+ * @param {module:model/String} transaction_type The transaction type. Possible values include: - `DEPOSIT`: A deposit transaction. - `WITHDRAW`: A withdrawal transaction.
280
+ * @param {String} transaction_id The transaction ID.
281
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTransactionLimitation200Response} and HTTP response
282
+ */
283
+ }, {
65
284
  key: "getTransactionLimitationWithHttpInfo",
66
285
  value: function getTransactionLimitationWithHttpInfo(transaction_type, transaction_id) {
67
286
  var postBody = null;
@@ -92,7 +311,7 @@ var TravelRuleApi = exports["default"] = /*#__PURE__*/function () {
92
311
 
93
312
  /**
94
313
  * Retrieve transaction limitations
95
- * This operation retrieves Travel Rule requirements and available options for a transaction based on its transaction type and ID. Use this endpoint before submitting Travel Rule information to understand the requirements and available options for your transaction.
314
+ * <Note>The `self_custody_wallet_challenge` field in the response is deprecated. To obtain a signature challenge, call [Get self-custody signature challenge](#operation/get_signature_challenge) instead. This operation itself is not deprecated and continues to return the VASP list, threshold info, connect wallet list, and Satoshi Test support.</Note> This operation retrieves Travel Rule requirements and available options for a transaction based on its transaction type and ID. Use this endpoint before submitting Travel Rule information to understand the requirements and available options for your transaction.
96
315
  * @param {module:model/String} transaction_type The transaction type. Possible values include: - `DEPOSIT`: A deposit transaction. - `WITHDRAW`: A withdrawal transaction.
97
316
  * @param {String} transaction_id The transaction ID.
98
317
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTransactionLimitation200Response}
@@ -105,6 +324,64 @@ var TravelRuleApi = exports["default"] = /*#__PURE__*/function () {
105
324
  });
106
325
  }
107
326
 
327
+ /**
328
+ * List address verifications
329
+ * List self-custody address verification records under the current organization with optional filters and cursor-based pagination. Records are sorted by creation time descending (most recent first). Use `limit` plus `before` / `after` cursors from the previous page's `pagination` block to traverse pages. Each record's `status` is one of `PENDING`, `VERIFIED`, or `FAILED`.
330
+ * @param {Object} opts Optional parameters
331
+ * @param {module:model/AddressVerificationStatus} [status] Filter by verification status. Allowed values: - `PENDING`: A Satoshi Test challenge is in progress (countdown active or awaiting confirmation). - `VERIFIED`: The address ownership has been confirmed (by signature or by a matched Satoshi Test transfer). - `FAILED`: The verification attempt did not succeed (Satoshi Test expired without match, or signature verification rejected). Omit this parameter to return records of all three statuses.
332
+ * @param {String} [chain_id] Filter by chain ID (e.g. `BTC`, `ETH`, `BASE_ETH`, `BSC_BNB`, `TRON`).
333
+ * @param {String} [address] Filter by counterparty (self-custody) wallet address.
334
+ * @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
335
+ * @param {String} [before] A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
336
+ * @param {String} [after] A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
337
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListAddressVerifications200Response} and HTTP response
338
+ */
339
+ }, {
340
+ key: "listAddressVerificationsWithHttpInfo",
341
+ value: function listAddressVerificationsWithHttpInfo(opts) {
342
+ opts = opts || {};
343
+ var postBody = null;
344
+ if (postBody && postBody.toJSON) {
345
+ postBody = postBody.toJSON();
346
+ }
347
+ var pathParams = {};
348
+ var queryParams = {
349
+ 'status': opts['status'],
350
+ 'chain_id': opts['chain_id'],
351
+ 'address': opts['address'],
352
+ 'limit': opts['limit'],
353
+ 'before': opts['before'],
354
+ 'after': opts['after']
355
+ };
356
+ var headerParams = {};
357
+ var formParams = {};
358
+ var authNames = ['OAuth2', 'CoboAuth'];
359
+ var contentTypes = [];
360
+ var accepts = ['application/json'];
361
+ var returnType = _ListAddressVerifications200Response["default"];
362
+ return this.apiClient.callApi('/travel_rule/address_verifications', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
363
+ }
364
+
365
+ /**
366
+ * List address verifications
367
+ * List self-custody address verification records under the current organization with optional filters and cursor-based pagination. Records are sorted by creation time descending (most recent first). Use `limit` plus `before` / `after` cursors from the previous page's `pagination` block to traverse pages. Each record's `status` is one of `PENDING`, `VERIFIED`, or `FAILED`.
368
+ * @param {Object} opts Optional parameters
369
+ * @param {module:model/AddressVerificationStatus} opts.status Filter by verification status. Allowed values: - `PENDING`: A Satoshi Test challenge is in progress (countdown active or awaiting confirmation). - `VERIFIED`: The address ownership has been confirmed (by signature or by a matched Satoshi Test transfer). - `FAILED`: The verification attempt did not succeed (Satoshi Test expired without match, or signature verification rejected). Omit this parameter to return records of all three statuses.
370
+ * @param {String} opts.chain_id Filter by chain ID (e.g. `BTC`, `ETH`, `BASE_ETH`, `BSC_BNB`, `TRON`).
371
+ * @param {String} opts.address Filter by counterparty (self-custody) wallet address.
372
+ * @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
373
+ * @param {String} opts.before A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
374
+ * @param {String} opts.after A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
375
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListAddressVerifications200Response}
376
+ */
377
+ }, {
378
+ key: "listAddressVerifications",
379
+ value: function listAddressVerifications(opts) {
380
+ return this.listAddressVerificationsWithHttpInfo(opts).then(function (response_and_data) {
381
+ return response_and_data.data;
382
+ });
383
+ }
384
+
108
385
  /**
109
386
  * List supported countries
110
387
  * This operation retrieves a list of supported countries that can be used when submitting Travel Rule information. Use this endpoint to obtain valid country values for: - Place of incorporation of a legal entity - Place of birth of a natural person
@@ -156,21 +433,6 @@ var TravelRuleApi = exports["default"] = /*#__PURE__*/function () {
156
433
  if (postBody && postBody.toJSON) {
157
434
  postBody = postBody.toJSON();
158
435
  }
159
- // Validate opts key — must be exactly 'TravelRuleDepositRequest'
160
- if (postBody === undefined && opts) {
161
- var _providedKeys = Object.keys(opts).filter(function (k) {
162
- return k !== '_base_path_index';
163
- });
164
- if (_providedKeys.length > 0) {
165
- throw new Error('submitDepositTravelRuleInfo(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "TravelRuleDepositRequest".');
166
- }
167
- }
168
- // Validate request body before sending
169
- if (postBody !== null && postBody !== undefined) {
170
- if (_modelClasses['TravelRuleDepositRequest'] && typeof _modelClasses['TravelRuleDepositRequest'].validateJSON === 'function') {
171
- _modelClasses['TravelRuleDepositRequest'].validateJSON(postBody);
172
- }
173
- }
174
436
  var pathParams = {};
175
437
  var queryParams = {};
176
438
  var headerParams = {};
@@ -212,21 +474,6 @@ var TravelRuleApi = exports["default"] = /*#__PURE__*/function () {
212
474
  if (postBody && postBody.toJSON) {
213
475
  postBody = postBody.toJSON();
214
476
  }
215
- // Validate opts key — must be exactly 'TravelRuleWithdrawRequest'
216
- if (postBody === undefined && opts) {
217
- var _providedKeys = Object.keys(opts).filter(function (k) {
218
- return k !== '_base_path_index';
219
- });
220
- if (_providedKeys.length > 0) {
221
- throw new Error('submitWithdrawTravelRuleInfo(): unrecognized opts key [' + _providedKeys.join(', ') + ']. Expected: "TravelRuleWithdrawRequest".');
222
- }
223
- }
224
- // Validate request body before sending
225
- if (postBody !== null && postBody !== undefined) {
226
- if (_modelClasses['TravelRuleWithdrawRequest'] && typeof _modelClasses['TravelRuleWithdrawRequest'].validateJSON === 'function') {
227
- _modelClasses['TravelRuleWithdrawRequest'].validateJSON(postBody);
228
- }
229
- }
230
477
  var pathParams = {};
231
478
  var queryParams = {};
232
479
  var headerParams = {};