@coinbase-sample/prime-sdk-ts 0.1.0 → 0.2.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 (336) hide show
  1. package/dist/futures/index.d.ts +37 -0
  2. package/dist/futures/index.js +95 -0
  3. package/dist/futures/types.d.ts +48 -0
  4. package/dist/futures/types.js +2 -0
  5. package/dist/index.d.ts +14 -12
  6. package/dist/index.js +5 -1
  7. package/dist/model/Activity.d.ts +3 -3
  8. package/dist/model/Activity.js +2 -2
  9. package/dist/model/ActivityCreationResponse.d.ts +25 -0
  10. package/dist/model/ActivityCreationResponse.js +21 -0
  11. package/dist/model/ActivityMetadataAccount.d.ts +2 -2
  12. package/dist/model/ActivityMetadataAccount.js +2 -2
  13. package/dist/model/ActivityMetadataConsensus.d.ts +2 -2
  14. package/dist/model/ActivityMetadataConsensus.js +2 -2
  15. package/dist/model/ActivityMetadataTransactions.d.ts +2 -2
  16. package/dist/model/ActivityMetadataTransactions.js +2 -2
  17. package/dist/model/AddressBookEntry.d.ts +2 -2
  18. package/dist/model/AddressBookEntry.js +2 -2
  19. package/dist/model/AddressEntry.d.ts +24 -0
  20. package/dist/model/AddressEntry.js +21 -0
  21. package/dist/model/AddressGroup.d.ts +28 -0
  22. package/dist/model/AddressGroup.js +21 -0
  23. package/dist/model/AggregatedFiatBalance.d.ts +2 -2
  24. package/dist/model/AggregatedFiatBalance.js +2 -2
  25. package/dist/model/Allocation.d.ts +2 -2
  26. package/dist/model/Allocation.js +2 -2
  27. package/dist/model/AllocationLeg.d.ts +2 -2
  28. package/dist/model/AllocationLeg.js +2 -2
  29. package/dist/model/AmountDue.d.ts +2 -2
  30. package/dist/model/AmountDue.js +2 -2
  31. package/dist/model/Asset.d.ts +7 -2
  32. package/dist/model/Asset.js +2 -2
  33. package/dist/model/AssetChange.d.ts +2 -2
  34. package/dist/model/AssetChange.js +2 -2
  35. package/dist/model/Balance.d.ts +2 -2
  36. package/dist/model/Balance.js +2 -2
  37. package/dist/model/BlockchainAddress.d.ts +10 -2
  38. package/dist/model/BlockchainAddress.js +2 -2
  39. package/dist/model/CancelFuturesSweepResponse.d.ts +29 -0
  40. package/dist/model/CancelFuturesSweepResponse.js +21 -0
  41. package/dist/model/CancelOrderResponse.d.ts +2 -2
  42. package/dist/model/CancelOrderResponse.js +2 -2
  43. package/dist/model/Commission.d.ts +2 -2
  44. package/dist/model/Commission.js +2 -2
  45. package/dist/model/CreateAllocationRequest.d.ts +2 -2
  46. package/dist/model/CreateAllocationRequest.js +2 -2
  47. package/dist/model/CreateAllocationResponse.d.ts +2 -2
  48. package/dist/model/CreateAllocationResponse.js +2 -2
  49. package/dist/model/CreateAllocationResponseBody.d.ts +2 -2
  50. package/dist/model/CreateAllocationResponseBody.js +2 -2
  51. package/dist/model/CreateConversionRequest.d.ts +2 -2
  52. package/dist/model/CreateConversionRequest.js +2 -2
  53. package/dist/model/CreateConversionResponse.d.ts +2 -2
  54. package/dist/model/CreateConversionResponse.js +2 -2
  55. package/dist/model/CreateNetAllocationResponse.d.ts +2 -2
  56. package/dist/model/CreateNetAllocationResponse.js +2 -2
  57. package/dist/model/CreateNetAllocationResponseBody.d.ts +2 -2
  58. package/dist/model/CreateNetAllocationResponseBody.js +2 -2
  59. package/dist/model/CreateOnchainTransactionRequest.d.ts +29 -0
  60. package/dist/model/CreateOnchainTransactionRequest.js +21 -0
  61. package/dist/model/CreateOnchainTransactionRequestEvmParams.d.ts +33 -0
  62. package/dist/model/CreateOnchainTransactionRequestEvmParams.js +21 -0
  63. package/dist/model/CreateOnchainTransactionResponse.d.ts +25 -0
  64. package/dist/model/CreateOnchainTransactionResponse.js +21 -0
  65. package/dist/model/CreateOrderRequest.d.ts +2 -2
  66. package/dist/model/CreateOrderRequest.js +2 -2
  67. package/dist/model/CreateOrderResponse.d.ts +2 -2
  68. package/dist/model/CreateOrderResponse.js +2 -2
  69. package/dist/model/CreatePortfolioAddressBookEntryRequest.d.ts +2 -2
  70. package/dist/model/CreatePortfolioAddressBookEntryRequest.js +2 -2
  71. package/dist/model/CreatePortfolioAddressBookEntryResponse.d.ts +3 -3
  72. package/dist/model/CreatePortfolioAddressBookEntryResponse.js +2 -2
  73. package/dist/model/CreateWalletRequest.d.ts +6 -2
  74. package/dist/model/CreateWalletRequest.js +2 -2
  75. package/dist/model/CreateWalletResponse.d.ts +4 -2
  76. package/dist/model/CreateWalletResponse.js +2 -2
  77. package/dist/model/CreateWalletTransferResponse.d.ts +2 -2
  78. package/dist/model/CreateWalletTransferResponse.js +2 -2
  79. package/dist/model/CreateWalletWithdrawalRequest.d.ts +2 -2
  80. package/dist/model/CreateWalletWithdrawalRequest.js +2 -2
  81. package/dist/model/CreateWalletWithdrawalResponse.d.ts +2 -2
  82. package/dist/model/CreateWalletWithdrawalResponse.js +2 -2
  83. package/dist/model/DefiBalance.d.ts +2 -2
  84. package/dist/model/DefiBalance.js +2 -2
  85. package/dist/model/DestinationAlloc.d.ts +2 -2
  86. package/dist/model/DestinationAlloc.js +2 -2
  87. package/dist/model/DisplayUser.d.ts +2 -2
  88. package/dist/model/DisplayUser.js +2 -2
  89. package/dist/model/EntityUser.d.ts +2 -2
  90. package/dist/model/EntityUser.js +2 -2
  91. package/dist/model/EstimatedNetworkFees.d.ts +2 -2
  92. package/dist/model/EstimatedNetworkFees.js +2 -2
  93. package/dist/model/FcmFuturesSweep.d.ts +37 -0
  94. package/dist/model/FcmFuturesSweep.js +21 -0
  95. package/dist/model/FcmFuturesSweepRequestAmount.d.ts +29 -0
  96. package/dist/model/FcmFuturesSweepRequestAmount.js +21 -0
  97. package/dist/model/FcmPosition.d.ts +51 -0
  98. package/dist/model/FcmPosition.js +21 -0
  99. package/dist/model/Fill.d.ts +2 -2
  100. package/dist/model/Fill.js +2 -2
  101. package/dist/model/GetActivityResponse.d.ts +2 -2
  102. package/dist/model/GetActivityResponse.js +2 -2
  103. package/dist/model/GetAllocationResponse.d.ts +2 -2
  104. package/dist/model/GetAllocationResponse.js +2 -2
  105. package/dist/model/GetAllocationsByClientNettingIdResponse.d.ts +2 -2
  106. package/dist/model/GetAllocationsByClientNettingIdResponse.js +2 -2
  107. package/dist/model/GetEntityActivitiesResponse.d.ts +2 -2
  108. package/dist/model/GetEntityActivitiesResponse.js +2 -2
  109. package/dist/model/GetEntityAssetsResponse.d.ts +2 -2
  110. package/dist/model/GetEntityAssetsResponse.js +2 -2
  111. package/dist/model/GetEntityPaymentMethodDetailsResponse.d.ts +2 -2
  112. package/dist/model/GetEntityPaymentMethodDetailsResponse.js +2 -2
  113. package/dist/model/GetEntityPaymentMethodsResponse.d.ts +2 -2
  114. package/dist/model/GetEntityPaymentMethodsResponse.js +2 -2
  115. package/dist/model/GetEntityUsersResponse.d.ts +2 -2
  116. package/dist/model/GetEntityUsersResponse.js +2 -2
  117. package/dist/model/GetFcmBalanceResponse.d.ts +57 -0
  118. package/dist/model/GetFcmBalanceResponse.js +21 -0
  119. package/dist/model/GetFuturesSweepsResponse.d.ts +24 -0
  120. package/dist/model/GetFuturesSweepsResponse.js +21 -0
  121. package/dist/model/GetInvoicesResponse.d.ts +2 -2
  122. package/dist/model/GetInvoicesResponse.js +2 -2
  123. package/dist/model/GetOpenOrdersResponse.d.ts +2 -2
  124. package/dist/model/GetOpenOrdersResponse.js +2 -2
  125. package/dist/model/GetOrderFillsResponse.d.ts +2 -2
  126. package/dist/model/GetOrderFillsResponse.js +2 -2
  127. package/dist/model/GetOrderResponse.d.ts +2 -2
  128. package/dist/model/GetOrderResponse.js +2 -2
  129. package/dist/model/GetOrdersResponse.d.ts +2 -2
  130. package/dist/model/GetOrdersResponse.js +2 -2
  131. package/dist/model/GetPortfolioActivitiesResponse.d.ts +2 -2
  132. package/dist/model/GetPortfolioActivitiesResponse.js +2 -2
  133. package/dist/model/GetPortfolioActivityResponse.d.ts +2 -2
  134. package/dist/model/GetPortfolioActivityResponse.js +2 -2
  135. package/dist/model/GetPortfolioAddressBookResponse.d.ts +2 -2
  136. package/dist/model/GetPortfolioAddressBookResponse.js +2 -2
  137. package/dist/model/GetPortfolioAllocationsResponse.d.ts +2 -2
  138. package/dist/model/GetPortfolioAllocationsResponse.js +2 -2
  139. package/dist/model/GetPortfolioBalancesResponse.d.ts +3 -2
  140. package/dist/model/GetPortfolioBalancesResponse.js +2 -2
  141. package/dist/model/GetPortfolioCommissionResponse.d.ts +2 -2
  142. package/dist/model/GetPortfolioCommissionResponse.js +2 -2
  143. package/dist/model/GetPortfolioFillsResponse.d.ts +2 -2
  144. package/dist/model/GetPortfolioFillsResponse.js +2 -2
  145. package/dist/model/GetPortfolioProductsResponse.d.ts +2 -2
  146. package/dist/model/GetPortfolioProductsResponse.js +2 -2
  147. package/dist/model/GetPortfolioResponse.d.ts +2 -2
  148. package/dist/model/GetPortfolioResponse.js +2 -2
  149. package/dist/model/GetPortfolioTransactionsResponse.d.ts +2 -2
  150. package/dist/model/GetPortfolioTransactionsResponse.js +2 -2
  151. package/dist/model/GetPortfolioUsersResponse.d.ts +2 -2
  152. package/dist/model/GetPortfolioUsersResponse.js +2 -2
  153. package/dist/model/GetPortfoliosResponse.d.ts +2 -2
  154. package/dist/model/GetPortfoliosResponse.js +2 -2
  155. package/dist/model/GetPositionsResponse.d.ts +27 -0
  156. package/dist/model/GetPositionsResponse.js +21 -0
  157. package/dist/model/GetPostTradeCreditResponse.d.ts +2 -2
  158. package/dist/model/GetPostTradeCreditResponse.js +2 -2
  159. package/dist/model/GetTransactionResponse.d.ts +2 -2
  160. package/dist/model/GetTransactionResponse.js +2 -2
  161. package/dist/model/GetWalletAddressesResponse.d.ts +25 -0
  162. package/dist/model/GetWalletAddressesResponse.js +21 -0
  163. package/dist/model/GetWalletBalanceResponse.d.ts +2 -2
  164. package/dist/model/GetWalletBalanceResponse.js +2 -2
  165. package/dist/model/GetWalletDepositInstructionsResponse.d.ts +2 -2
  166. package/dist/model/GetWalletDepositInstructionsResponse.js +2 -2
  167. package/dist/model/GetWalletResponse.d.ts +2 -2
  168. package/dist/model/GetWalletResponse.js +2 -2
  169. package/dist/model/GetWalletTransactionsResponse.d.ts +2 -2
  170. package/dist/model/GetWalletTransactionsResponse.js +2 -2
  171. package/dist/model/GetWalletsResponse.d.ts +2 -2
  172. package/dist/model/GetWalletsResponse.js +2 -2
  173. package/dist/model/Invoice.d.ts +2 -2
  174. package/dist/model/Invoice.js +2 -2
  175. package/dist/model/InvoiceItem.d.ts +2 -2
  176. package/dist/model/InvoiceItem.js +2 -2
  177. package/dist/model/ListOnchainAddressGroupsResponse.d.ts +23 -0
  178. package/dist/model/ListOnchainAddressGroupsResponse.js +21 -0
  179. package/dist/model/ListWeb3WalletBalancesResponse.d.ts +2 -2
  180. package/dist/model/ListWeb3WalletBalancesResponse.js +2 -2
  181. package/dist/model/MatchMetadata.d.ts +2 -2
  182. package/dist/model/MatchMetadata.js +2 -2
  183. package/dist/model/NFTCollection.d.ts +2 -2
  184. package/dist/model/NFTCollection.js +2 -2
  185. package/dist/model/NFTItem.d.ts +2 -2
  186. package/dist/model/NFTItem.js +2 -2
  187. package/dist/model/Network.d.ts +29 -0
  188. package/dist/model/Network.js +21 -0
  189. package/dist/model/NetworkDetails.d.ts +55 -0
  190. package/dist/model/NetworkDetails.js +21 -0
  191. package/dist/model/OnchainTransactionDetails.d.ts +53 -0
  192. package/dist/model/OnchainTransactionDetails.js +21 -0
  193. package/dist/model/Order.d.ts +6 -2
  194. package/dist/model/Order.js +2 -2
  195. package/dist/model/OrderPreviewRequest.d.ts +2 -2
  196. package/dist/model/OrderPreviewRequest.js +2 -2
  197. package/dist/model/PaginatedResponse.d.ts +2 -2
  198. package/dist/model/PaginatedResponse.js +2 -2
  199. package/dist/model/PaymentMethodDestination.d.ts +2 -2
  200. package/dist/model/PaymentMethodDestination.js +2 -2
  201. package/dist/model/PaymentMethodDetails.d.ts +2 -2
  202. package/dist/model/PaymentMethodDetails.js +2 -2
  203. package/dist/model/PaymentMethodSummary.d.ts +2 -2
  204. package/dist/model/PaymentMethodSummary.js +2 -2
  205. package/dist/model/PortfolioUser.d.ts +2 -2
  206. package/dist/model/PortfolioUser.js +2 -2
  207. package/dist/model/PostOrderPreviewResponse.d.ts +2 -2
  208. package/dist/model/PostOrderPreviewResponse.js +2 -2
  209. package/dist/model/PostTradeCreditInformation.d.ts +2 -2
  210. package/dist/model/PostTradeCreditInformation.js +2 -2
  211. package/dist/model/Product.d.ts +2 -2
  212. package/dist/model/Product.js +2 -2
  213. package/dist/model/RiskAssessment.d.ts +29 -0
  214. package/dist/model/RiskAssessment.js +21 -0
  215. package/dist/model/RpcConfig.d.ts +29 -0
  216. package/dist/model/RpcConfig.js +21 -0
  217. package/dist/model/ScheduleFuturesSweepRequest.d.ts +29 -0
  218. package/dist/model/ScheduleFuturesSweepRequest.js +21 -0
  219. package/dist/model/ScheduleFuturesSweepResponse.d.ts +29 -0
  220. package/dist/model/ScheduleFuturesSweepResponse.js +21 -0
  221. package/dist/model/SetAutoSweepRequest.d.ts +25 -0
  222. package/dist/model/SetAutoSweepRequest.js +21 -0
  223. package/dist/model/SetAutoSweepResponse.d.ts +25 -0
  224. package/dist/model/SetAutoSweepResponse.js +21 -0
  225. package/dist/model/Transaction.d.ts +7 -3
  226. package/dist/model/Transaction.js +2 -2
  227. package/dist/model/TransactionMetadata.d.ts +4 -2
  228. package/dist/model/TransactionMetadata.js +2 -2
  229. package/dist/model/TransferLocation.d.ts +2 -2
  230. package/dist/model/TransferLocation.js +2 -2
  231. package/dist/model/UserAction.d.ts +2 -2
  232. package/dist/model/UserAction.js +2 -2
  233. package/dist/model/Wallet.d.ts +6 -2
  234. package/dist/model/Wallet.js +2 -2
  235. package/dist/model/WalletCryptoDepositInstructions.d.ts +4 -2
  236. package/dist/model/WalletCryptoDepositInstructions.js +2 -2
  237. package/dist/model/WalletFiatDepositInstructions.d.ts +2 -2
  238. package/dist/model/WalletFiatDepositInstructions.js +2 -2
  239. package/dist/model/Web3Asset.d.ts +2 -2
  240. package/dist/model/Web3Asset.js +2 -2
  241. package/dist/model/Web3Balance.d.ts +2 -2
  242. package/dist/model/Web3Balance.js +2 -2
  243. package/dist/model/Web3TransactionMetadata.d.ts +30 -0
  244. package/dist/model/Web3TransactionMetadata.js +21 -0
  245. package/dist/model/changeOnchainAddressGroupRequestIsARequestToCreateOrUpdateANewOnchainAddressGroup.d.ts +23 -0
  246. package/dist/model/changeOnchainAddressGroupRequestIsARequestToCreateOrUpdateANewOnchainAddressGroup.js +21 -0
  247. package/dist/model/createATransferBetweenTwoWallets.d.ts +2 -2
  248. package/dist/model/createATransferBetweenTwoWallets.js +2 -2
  249. package/dist/model/enums/Action.d.ts +2 -2
  250. package/dist/model/enums/Action.js +2 -2
  251. package/dist/model/enums/ActivityCategory.d.ts +2 -2
  252. package/dist/model/enums/ActivityCategory.js +2 -2
  253. package/dist/model/enums/ActivityLevel.d.ts +2 -2
  254. package/dist/model/enums/ActivityLevel.js +2 -2
  255. package/dist/model/enums/ActivitySecondaryType.d.ts +2 -2
  256. package/dist/model/enums/ActivitySecondaryType.js +2 -2
  257. package/dist/model/enums/ActivityStatus.d.ts +2 -2
  258. package/dist/model/enums/ActivityStatus.js +2 -2
  259. package/dist/model/enums/ActivityType.d.ts +2 -2
  260. package/dist/model/enums/ActivityType.js +2 -2
  261. package/dist/model/enums/AddressBookType.d.ts +2 -2
  262. package/dist/model/enums/AddressBookType.js +2 -2
  263. package/dist/model/enums/AllocationSizeType.d.ts +2 -2
  264. package/dist/model/enums/AllocationSizeType.js +2 -2
  265. package/dist/model/enums/AllocationStatus.d.ts +2 -2
  266. package/dist/model/enums/AllocationStatus.js +2 -2
  267. package/dist/model/enums/AssetChangeType.d.ts +2 -2
  268. package/dist/model/enums/AssetChangeType.js +2 -2
  269. package/dist/model/enums/CustodyActivityType.d.ts +51 -0
  270. package/dist/model/enums/CustodyActivityType.js +55 -0
  271. package/dist/model/enums/DestinationType.d.ts +2 -2
  272. package/dist/model/enums/DestinationType.js +2 -2
  273. package/dist/model/enums/FcmFuturesSweepStatus.d.ts +26 -0
  274. package/dist/model/enums/FcmFuturesSweepStatus.js +30 -0
  275. package/dist/model/enums/FcmPositionSide.d.ts +24 -0
  276. package/dist/model/enums/FcmPositionSide.js +28 -0
  277. package/dist/model/enums/HierarchyType.d.ts +2 -2
  278. package/dist/model/enums/HierarchyType.js +2 -2
  279. package/dist/model/enums/InvoiceState.d.ts +2 -2
  280. package/dist/model/enums/InvoiceState.js +2 -2
  281. package/dist/model/enums/InvoiceType.d.ts +2 -2
  282. package/dist/model/enums/InvoiceType.js +2 -2
  283. package/dist/model/enums/NetworkFamily.d.ts +24 -0
  284. package/dist/model/enums/NetworkFamily.js +28 -0
  285. package/dist/model/enums/NetworkType.d.ts +24 -0
  286. package/dist/model/enums/NetworkType.js +28 -0
  287. package/dist/model/enums/OrderSide.d.ts +2 -2
  288. package/dist/model/enums/OrderSide.js +2 -2
  289. package/dist/model/enums/OrderStatus.d.ts +2 -2
  290. package/dist/model/enums/OrderStatus.js +2 -2
  291. package/dist/model/enums/OrderType.d.ts +5 -4
  292. package/dist/model/enums/OrderType.js +4 -3
  293. package/dist/model/enums/PaymentMethodType.d.ts +2 -2
  294. package/dist/model/enums/PaymentMethodType.js +2 -2
  295. package/dist/model/enums/PortfolioBalanceType.d.ts +4 -3
  296. package/dist/model/enums/PortfolioBalanceType.js +3 -2
  297. package/dist/model/enums/PrimeActivityType.d.ts +63 -0
  298. package/dist/model/enums/PrimeActivityType.js +67 -0
  299. package/dist/model/enums/ProductPermissions.d.ts +2 -2
  300. package/dist/model/enums/ProductPermissions.js +2 -2
  301. package/dist/model/enums/SigningStatus.d.ts +24 -0
  302. package/dist/model/enums/SigningStatus.js +28 -0
  303. package/dist/model/enums/SortDirection.d.ts +2 -2
  304. package/dist/model/enums/SortDirection.js +2 -2
  305. package/dist/model/enums/TimeInForceType.d.ts +2 -2
  306. package/dist/model/enums/TimeInForceType.js +2 -2
  307. package/dist/model/enums/TransactionStatus.d.ts +2 -2
  308. package/dist/model/enums/TransactionStatus.js +2 -2
  309. package/dist/model/enums/TransactionType.d.ts +5 -4
  310. package/dist/model/enums/TransactionType.js +4 -3
  311. package/dist/model/enums/TransferLocationType.d.ts +2 -2
  312. package/dist/model/enums/TransferLocationType.js +2 -2
  313. package/dist/model/enums/UserRole.d.ts +2 -2
  314. package/dist/model/enums/UserRole.js +2 -2
  315. package/dist/model/enums/VisibilityStatus.d.ts +2 -2
  316. package/dist/model/enums/VisibilityStatus.js +2 -2
  317. package/dist/model/enums/WalletDepositInstructionType.d.ts +5 -4
  318. package/dist/model/enums/WalletDepositInstructionType.js +4 -3
  319. package/dist/model/enums/WalletType.d.ts +5 -5
  320. package/dist/model/enums/WalletType.js +4 -4
  321. package/dist/model/enums/WalletVisibility.d.ts +24 -0
  322. package/dist/model/enums/WalletVisibility.js +28 -0
  323. package/dist/model/portfolio.d.ts +2 -2
  324. package/dist/model/portfolio.js +2 -2
  325. package/dist/onchainAddressBook/index.d.ts +33 -0
  326. package/dist/onchainAddressBook/index.js +75 -0
  327. package/dist/onchainAddressBook/types.d.ts +35 -0
  328. package/dist/onchainAddressBook/types.js +2 -0
  329. package/dist/onchainAddressGroups/index.d.ts +27 -0
  330. package/dist/onchainAddressGroups/index.js +27 -0
  331. package/dist/onchainAddressGroups/types.d.ts +20 -0
  332. package/dist/onchainAddressGroups/types.js +2 -0
  333. package/dist/transactions/index.d.ts +3 -1
  334. package/dist/transactions/index.js +12 -0
  335. package/dist/transactions/types.d.ts +7 -0
  336. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Copyright 2024-present Coinbase Global, Inc.
2
+ * Copyright 2025-present Coinbase Global, Inc.
3
3
  *
4
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
4
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
5
5
  *
6
6
  * Licensed under the Apache License, Version 2.0 (the "License");
7
7
  * you may not use this file except in compliance with the License.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2024-present Coinbase Global, Inc.
3
+ * Copyright 2025-present Coinbase Global, Inc.
4
4
  *
5
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
8
8
  * you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Copyright 2024-present Coinbase Global, Inc.
2
+ * Copyright 2025-present Coinbase Global, Inc.
3
3
  *
4
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
4
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
5
5
  *
6
6
  * Licensed under the Apache License, Version 2.0 (the "License");
7
7
  * you may not use this file except in compliance with the License.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2024-present Coinbase Global, Inc.
3
+ * Copyright 2025-present Coinbase Global, Inc.
4
4
  *
5
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
8
8
  * you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Copyright 2024-present Coinbase Global, Inc.
2
+ * Copyright 2025-present Coinbase Global, Inc.
3
3
  *
4
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
4
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
5
5
  *
6
6
  * Licensed under the Apache License, Version 2.0 (the "License");
7
7
  * you may not use this file except in compliance with the License.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2024-present Coinbase Global, Inc.
3
+ * Copyright 2025-present Coinbase Global, Inc.
4
4
  *
5
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
8
8
  * you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Copyright 2024-present Coinbase Global, Inc.
2
+ * Copyright 2025-present Coinbase Global, Inc.
3
3
  *
4
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
4
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
5
5
  *
6
6
  * Licensed under the Apache License, Version 2.0 (the "License");
7
7
  * you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
18
18
  * Do not edit the class manually.
19
19
  */
20
20
  /**
21
- * - TRANSACTION_TYPE_UNKNOWN: An unknown transaction type - DEPOSIT: A fiat or crypto deposit - WITHDRAWAL: A fiat or crypto withdrawal - INTERNAL_DEPOSIT: An internal fiat or crypto deposit - INTERNAL_WITHDRAWAL: An internal fiat or crypto withdrawal - SWEEP_DEPOSIT: Internal automated deposit to a cold address from a restored address - SWEEP_WITHDRAWAL: Internal automated withdrawal from a restored address to a cold address - PROXY_DEPOSIT: On-chain deposit of funds into proxy contract from cold address - PROXY_WITHDRAWAL: On-chain withdrawal of funds from proxy contract to cold address - BILLING_WITHDRAWAL: Coinbase Prime automated invoice settlement payment - REWARD: Reward payment to an associated address for a staked asset - COINBASE_REFUND: Coinbase Prime refund for the leftover amount for a CPFP (child pays for parent) transaction - TRANSACTION_TYPE_OTHER: An OTHER type of transaction - WITHDRAWAL_ADJUSTMENT: A manual adjustment withdrawal transaction - DEPOSIT_ADJUSTMENT: A manual adjustment deposit transaction - KEY_REGISTRATION: An on-chain registration for an address - DELEGATION: An on-chain delegation transaction - UNDELEGATION: An on-chain undelegation transaction - RESTAKE: On-chain restaking transaction - COMPLETE_UNBONDING: On-chain unbonding event transaction - WITHDRAW_UNBONDED: On-chain event indicating unbonding period is over - STAKE_ACCOUNT_CREATE: On-chain transaction to begin staking from an address - CHANGE_VALIDATOR: On-chain transaction alter validator - STAKE: On-chain transaction to begin staking in Cryptocurrency network - UNSTAKE: On-chain transaction to stop staking in Cryptocurrency network - REMOVE_AUTHORIZED_PARTY: On-chain transaction to remove a party from a multi-signature wallet - STAKE_AUTHORIZE_WITH_SEED: On-chain transaction to begin staking from a seed account - SLASH: On-chain transaction indicating a slash event has occurred - COINBASE_DEPOSIT: On-chain transaction deposit for the purpose of transaction operations - CONVERSION: Internal conversion between two assets - CLAIM_REWARDS: On-chain transaction to claim rewards from Vote Account - VOTE_AUTHORIZE: On-chain transaction to transfer the reward claiming permission to other pubkey - WEB3_TRANSACTION: On-chain transaction initiated with Prime Onchain Wallet
21
+ * - TRANSACTION_TYPE_UNKNOWN: An unknown transaction type - DEPOSIT: A fiat or crypto deposit - WITHDRAWAL: A fiat or crypto withdrawal - INTERNAL_DEPOSIT: An internal fiat or crypto deposit - INTERNAL_WITHDRAWAL: An internal fiat or crypto withdrawal - SWEEP_DEPOSIT: Internal automated deposit to a cold address from a restored address - SWEEP_WITHDRAWAL: Internal automated withdrawal from a restored address to a cold address - PROXY_DEPOSIT: On-chain deposit of funds into proxy contract from cold address - PROXY_WITHDRAWAL: On-chain withdrawal of funds from proxy contract to cold address - BILLING_WITHDRAWAL: Coinbase Prime automated invoice settlement payment - REWARD: Reward payment to an associated address for a staked asset - COINBASE_REFUND: Coinbase Prime refund for the leftover amount for a CPFP (child pays for parent) transaction - TRANSACTION_TYPE_OTHER: An OTHER type of transaction - WITHDRAWAL_ADJUSTMENT: A manual adjustment withdrawal transaction - DEPOSIT_ADJUSTMENT: A manual adjustment deposit transaction - KEY_REGISTRATION: An on-chain registration for an address - DELEGATION: An on-chain delegation transaction - UNDELEGATION: An on-chain undelegation transaction - RESTAKE: On-chain restaking transaction - COMPLETE_UNBONDING: On-chain unbonding event transaction - WITHDRAW_UNBONDED: On-chain event indicating unbonding period is over - STAKE_ACCOUNT_CREATE: On-chain transaction to begin staking from an address - CHANGE_VALIDATOR: On-chain transaction alter validator - STAKE: On-chain transaction to begin staking in Cryptocurrency network - UNSTAKE: On-chain transaction to stop staking in Cryptocurrency network - REMOVE_AUTHORIZED_PARTY: On-chain transaction to remove a party from a multi-signature wallet - STAKE_AUTHORIZE_WITH_SEED: On-chain transaction to begin staking from a seed account - SLASH: On-chain transaction indicating a slash event has occurred - COINBASE_DEPOSIT: On-chain transaction deposit for the purpose of transaction operations - CONVERSION: Internal conversion between two assets - CLAIM_REWARDS: On-chain transaction to claim rewards from Vote Account - VOTE_AUTHORIZE: On-chain transaction to transfer the reward claiming permission to other pubkey - WEB3_TRANSACTION: On-chain transaction initiated with Prime Onchain Wallet Deprecated: Use ONCHAIN_TRANSACTION instead - ONCHAIN_TRANSACTION: On-chain transaction initiated with Prime Onchain Wallet
22
22
  */
23
23
  export declare enum TransactionType {
24
24
  TransactionTypeUnknown = "TRANSACTION_TYPE_UNKNOWN",
@@ -53,5 +53,6 @@ export declare enum TransactionType {
53
53
  Conversion = "CONVERSION",
54
54
  ClaimRewards = "CLAIM_REWARDS",
55
55
  VoteAuthorize = "VOTE_AUTHORIZE",
56
- Web3Transaction = "WEB3_TRANSACTION"
56
+ Web3Transaction = "WEB3_TRANSACTION",
57
+ OnchainTransaction = "ONCHAIN_TRANSACTION"
57
58
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2024-present Coinbase Global, Inc.
3
+ * Copyright 2025-present Coinbase Global, Inc.
4
4
  *
5
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
8
8
  * you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
22
  exports.TransactionType = void 0;
23
23
  /**
24
- * - TRANSACTION_TYPE_UNKNOWN: An unknown transaction type - DEPOSIT: A fiat or crypto deposit - WITHDRAWAL: A fiat or crypto withdrawal - INTERNAL_DEPOSIT: An internal fiat or crypto deposit - INTERNAL_WITHDRAWAL: An internal fiat or crypto withdrawal - SWEEP_DEPOSIT: Internal automated deposit to a cold address from a restored address - SWEEP_WITHDRAWAL: Internal automated withdrawal from a restored address to a cold address - PROXY_DEPOSIT: On-chain deposit of funds into proxy contract from cold address - PROXY_WITHDRAWAL: On-chain withdrawal of funds from proxy contract to cold address - BILLING_WITHDRAWAL: Coinbase Prime automated invoice settlement payment - REWARD: Reward payment to an associated address for a staked asset - COINBASE_REFUND: Coinbase Prime refund for the leftover amount for a CPFP (child pays for parent) transaction - TRANSACTION_TYPE_OTHER: An OTHER type of transaction - WITHDRAWAL_ADJUSTMENT: A manual adjustment withdrawal transaction - DEPOSIT_ADJUSTMENT: A manual adjustment deposit transaction - KEY_REGISTRATION: An on-chain registration for an address - DELEGATION: An on-chain delegation transaction - UNDELEGATION: An on-chain undelegation transaction - RESTAKE: On-chain restaking transaction - COMPLETE_UNBONDING: On-chain unbonding event transaction - WITHDRAW_UNBONDED: On-chain event indicating unbonding period is over - STAKE_ACCOUNT_CREATE: On-chain transaction to begin staking from an address - CHANGE_VALIDATOR: On-chain transaction alter validator - STAKE: On-chain transaction to begin staking in Cryptocurrency network - UNSTAKE: On-chain transaction to stop staking in Cryptocurrency network - REMOVE_AUTHORIZED_PARTY: On-chain transaction to remove a party from a multi-signature wallet - STAKE_AUTHORIZE_WITH_SEED: On-chain transaction to begin staking from a seed account - SLASH: On-chain transaction indicating a slash event has occurred - COINBASE_DEPOSIT: On-chain transaction deposit for the purpose of transaction operations - CONVERSION: Internal conversion between two assets - CLAIM_REWARDS: On-chain transaction to claim rewards from Vote Account - VOTE_AUTHORIZE: On-chain transaction to transfer the reward claiming permission to other pubkey - WEB3_TRANSACTION: On-chain transaction initiated with Prime Onchain Wallet
24
+ * - TRANSACTION_TYPE_UNKNOWN: An unknown transaction type - DEPOSIT: A fiat or crypto deposit - WITHDRAWAL: A fiat or crypto withdrawal - INTERNAL_DEPOSIT: An internal fiat or crypto deposit - INTERNAL_WITHDRAWAL: An internal fiat or crypto withdrawal - SWEEP_DEPOSIT: Internal automated deposit to a cold address from a restored address - SWEEP_WITHDRAWAL: Internal automated withdrawal from a restored address to a cold address - PROXY_DEPOSIT: On-chain deposit of funds into proxy contract from cold address - PROXY_WITHDRAWAL: On-chain withdrawal of funds from proxy contract to cold address - BILLING_WITHDRAWAL: Coinbase Prime automated invoice settlement payment - REWARD: Reward payment to an associated address for a staked asset - COINBASE_REFUND: Coinbase Prime refund for the leftover amount for a CPFP (child pays for parent) transaction - TRANSACTION_TYPE_OTHER: An OTHER type of transaction - WITHDRAWAL_ADJUSTMENT: A manual adjustment withdrawal transaction - DEPOSIT_ADJUSTMENT: A manual adjustment deposit transaction - KEY_REGISTRATION: An on-chain registration for an address - DELEGATION: An on-chain delegation transaction - UNDELEGATION: An on-chain undelegation transaction - RESTAKE: On-chain restaking transaction - COMPLETE_UNBONDING: On-chain unbonding event transaction - WITHDRAW_UNBONDED: On-chain event indicating unbonding period is over - STAKE_ACCOUNT_CREATE: On-chain transaction to begin staking from an address - CHANGE_VALIDATOR: On-chain transaction alter validator - STAKE: On-chain transaction to begin staking in Cryptocurrency network - UNSTAKE: On-chain transaction to stop staking in Cryptocurrency network - REMOVE_AUTHORIZED_PARTY: On-chain transaction to remove a party from a multi-signature wallet - STAKE_AUTHORIZE_WITH_SEED: On-chain transaction to begin staking from a seed account - SLASH: On-chain transaction indicating a slash event has occurred - COINBASE_DEPOSIT: On-chain transaction deposit for the purpose of transaction operations - CONVERSION: Internal conversion between two assets - CLAIM_REWARDS: On-chain transaction to claim rewards from Vote Account - VOTE_AUTHORIZE: On-chain transaction to transfer the reward claiming permission to other pubkey - WEB3_TRANSACTION: On-chain transaction initiated with Prime Onchain Wallet Deprecated: Use ONCHAIN_TRANSACTION instead - ONCHAIN_TRANSACTION: On-chain transaction initiated with Prime Onchain Wallet
25
25
  */
26
26
  var TransactionType;
27
27
  (function (TransactionType) {
@@ -58,4 +58,5 @@ var TransactionType;
58
58
  TransactionType["ClaimRewards"] = "CLAIM_REWARDS";
59
59
  TransactionType["VoteAuthorize"] = "VOTE_AUTHORIZE";
60
60
  TransactionType["Web3Transaction"] = "WEB3_TRANSACTION";
61
+ TransactionType["OnchainTransaction"] = "ONCHAIN_TRANSACTION";
61
62
  })(TransactionType || (exports.TransactionType = TransactionType = {}));
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Copyright 2024-present Coinbase Global, Inc.
2
+ * Copyright 2025-present Coinbase Global, Inc.
3
3
  *
4
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
4
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
5
5
  *
6
6
  * Licensed under the Apache License, Version 2.0 (the "License");
7
7
  * you may not use this file except in compliance with the License.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2024-present Coinbase Global, Inc.
3
+ * Copyright 2025-present Coinbase Global, Inc.
4
4
  *
5
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
8
8
  * you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Copyright 2024-present Coinbase Global, Inc.
2
+ * Copyright 2025-present Coinbase Global, Inc.
3
3
  *
4
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
4
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
5
5
  *
6
6
  * Licensed under the Apache License, Version 2.0 (the "License");
7
7
  * you may not use this file except in compliance with the License.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2024-present Coinbase Global, Inc.
3
+ * Copyright 2025-present Coinbase Global, Inc.
4
4
  *
5
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
8
8
  * you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Copyright 2024-present Coinbase Global, Inc.
2
+ * Copyright 2025-present Coinbase Global, Inc.
3
3
  *
4
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
4
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
5
5
  *
6
6
  * Licensed under the Apache License, Version 2.0 (the "License");
7
7
  * you may not use this file except in compliance with the License.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2024-present Coinbase Global, Inc.
3
+ * Copyright 2025-present Coinbase Global, Inc.
4
4
  *
5
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
8
8
  * you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Copyright 2024-present Coinbase Global, Inc.
2
+ * Copyright 2025-present Coinbase Global, Inc.
3
3
  *
4
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
4
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
5
5
  *
6
6
  * Licensed under the Apache License, Version 2.0 (the "License");
7
7
  * you may not use this file except in compliance with the License.
@@ -18,12 +18,13 @@
18
18
  * Do not edit the class manually.
19
19
  */
20
20
  /**
21
- * - UNKNOWN_WALLET_DEPOSIT_TYPE: nil value - CRYPTO: A cryptocurrency deposit - WIRE: A wire deposit - SEN: A Silvergate Exchange Network deposit - SWIFT: A SWIFT deposit
21
+ * - UNKNOWN_WALLET_DEPOSIT_TYPE: nil value - CRYPTO: A cryptocurrency deposit - WIRE: A wire deposit - SEN: DEPRECATED. A Silvergate Exchange Network deposit - SWIFT: A SWIFT deposit - SEPA: A SEPA deposit (Single Euro Payments Area)
22
22
  */
23
23
  export declare enum WalletDepositInstructionType {
24
24
  UnknownWalletDepositType = "UNKNOWN_WALLET_DEPOSIT_TYPE",
25
25
  Crypto = "CRYPTO",
26
26
  Wire = "WIRE",
27
27
  Sen = "SEN",
28
- Swift = "SWIFT"
28
+ Swift = "SWIFT",
29
+ Sepa = "SEPA"
29
30
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2024-present Coinbase Global, Inc.
3
+ * Copyright 2025-present Coinbase Global, Inc.
4
4
  *
5
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
8
8
  * you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
22
  exports.WalletDepositInstructionType = void 0;
23
23
  /**
24
- * - UNKNOWN_WALLET_DEPOSIT_TYPE: nil value - CRYPTO: A cryptocurrency deposit - WIRE: A wire deposit - SEN: A Silvergate Exchange Network deposit - SWIFT: A SWIFT deposit
24
+ * - UNKNOWN_WALLET_DEPOSIT_TYPE: nil value - CRYPTO: A cryptocurrency deposit - WIRE: A wire deposit - SEN: DEPRECATED. A Silvergate Exchange Network deposit - SWIFT: A SWIFT deposit - SEPA: A SEPA deposit (Single Euro Payments Area)
25
25
  */
26
26
  var WalletDepositInstructionType;
27
27
  (function (WalletDepositInstructionType) {
@@ -30,4 +30,5 @@ var WalletDepositInstructionType;
30
30
  WalletDepositInstructionType["Wire"] = "WIRE";
31
31
  WalletDepositInstructionType["Sen"] = "SEN";
32
32
  WalletDepositInstructionType["Swift"] = "SWIFT";
33
+ WalletDepositInstructionType["Sepa"] = "SEPA";
33
34
  })(WalletDepositInstructionType || (exports.WalletDepositInstructionType = WalletDepositInstructionType = {}));
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Copyright 2024-present Coinbase Global, Inc.
2
+ * Copyright 2025-present Coinbase Global, Inc.
3
3
  *
4
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
4
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
5
5
  *
6
6
  * Licensed under the Apache License, Version 2.0 (the "License");
7
7
  * you may not use this file except in compliance with the License.
@@ -18,13 +18,13 @@
18
18
  * Do not edit the class manually.
19
19
  */
20
20
  /**
21
- * - VAULT: A crypto vault - TRADING: A trading wallet - WALLET_TYPE_OTHER: Other wallet types (like consumer, etc) - WEB3: An Onchain wallet - QC: A QC Wallet
21
+ * - VAULT: A crypto vault - TRADING: A trading wallet - WALLET_TYPE_OTHER: Other wallet types (like consumer, etc) - QC: A QC Wallet - ONCHAIN: An Onchain wallet
22
22
  */
23
23
  export declare enum WalletType {
24
24
  UnknownWalletType = "UNKNOWN_WALLET_TYPE",
25
25
  Vault = "VAULT",
26
26
  Trading = "TRADING",
27
27
  WalletTypeOther = "WALLET_TYPE_OTHER",
28
- Web3 = "WEB3",
29
- Qc = "QC"
28
+ Qc = "QC",
29
+ Onchain = "ONCHAIN"
30
30
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2024-present Coinbase Global, Inc.
3
+ * Copyright 2025-present Coinbase Global, Inc.
4
4
  *
5
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
8
8
  * you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
22
  exports.WalletType = void 0;
23
23
  /**
24
- * - VAULT: A crypto vault - TRADING: A trading wallet - WALLET_TYPE_OTHER: Other wallet types (like consumer, etc) - WEB3: An Onchain wallet - QC: A QC Wallet
24
+ * - VAULT: A crypto vault - TRADING: A trading wallet - WALLET_TYPE_OTHER: Other wallet types (like consumer, etc) - QC: A QC Wallet - ONCHAIN: An Onchain wallet
25
25
  */
26
26
  var WalletType;
27
27
  (function (WalletType) {
@@ -29,6 +29,6 @@ var WalletType;
29
29
  WalletType["Vault"] = "VAULT";
30
30
  WalletType["Trading"] = "TRADING";
31
31
  WalletType["WalletTypeOther"] = "WALLET_TYPE_OTHER";
32
- WalletType["Web3"] = "WEB3";
33
32
  WalletType["Qc"] = "QC";
33
+ WalletType["Onchain"] = "ONCHAIN";
34
34
  })(WalletType || (exports.WalletType = WalletType = {}));
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright 2025-present Coinbase Global, Inc.
3
+ *
4
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ *
18
+ * Do not edit the class manually.
19
+ */
20
+ export declare enum WalletVisibility {
21
+ Unspecified = "WALLET_VISIBILITY_UNSPECIFIED",
22
+ Visible = "WALLET_VISIBILITY_VISIBLE",
23
+ Hidden = "WALLET_VISIBILITY_HIDDEN"
24
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2025-present Coinbase Global, Inc.
4
+ *
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ * Do not edit the class manually.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.WalletVisibility = void 0;
23
+ var WalletVisibility;
24
+ (function (WalletVisibility) {
25
+ WalletVisibility["Unspecified"] = "WALLET_VISIBILITY_UNSPECIFIED";
26
+ WalletVisibility["Visible"] = "WALLET_VISIBILITY_VISIBLE";
27
+ WalletVisibility["Hidden"] = "WALLET_VISIBILITY_HIDDEN";
28
+ })(WalletVisibility || (exports.WalletVisibility = WalletVisibility = {}));
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Copyright 2024-present Coinbase Global, Inc.
2
+ * Copyright 2025-present Coinbase Global, Inc.
3
3
  *
4
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
4
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
5
5
  *
6
6
  * Licensed under the Apache License, Version 2.0 (the "License");
7
7
  * you may not use this file except in compliance with the License.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2024-present Coinbase Global, Inc.
3
+ * Copyright 2025-present Coinbase Global, Inc.
4
4
  *
5
- * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
8
8
  * you may not use this file except in compliance with the License.
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Copyright 2025-present Coinbase Global, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { CoinbaseCallOptions } from '@coinbase-sample/core-ts';
17
+ import { CoinbasePrimeClient } from '../client';
18
+ import { CoinbasePrimeClientException, CoinbasePrimeException } from '../errors';
19
+ import { ListOnchainAddressBookRequest, ListOnchainAddressBookResponse, CreateOnchainAddressBookEntryRequest, CreateOnchainAddressBookEntryResponse, UpdateOnchainAddressBookEntryRequest, UpdateOnchainAddressBookEntryResponse, DeleteOnchainAddressBookEntryRequest, DeleteOnchainAddressBookEntryResponse } from './types';
20
+ export interface IOnchainAddressBookService {
21
+ listOnchainAddressBook(request: ListOnchainAddressBookRequest, options?: CoinbaseCallOptions): Promise<ListOnchainAddressBookResponse | CoinbasePrimeClientException | CoinbasePrimeException>;
22
+ createOnchainAddressBookEntry(request: CreateOnchainAddressBookEntryRequest, options?: CoinbaseCallOptions): Promise<CreateOnchainAddressBookEntryResponse | CoinbasePrimeClientException | CoinbasePrimeException>;
23
+ updateOnchainAddressBookEntry(request: UpdateOnchainAddressBookEntryRequest, options?: CoinbaseCallOptions): Promise<UpdateOnchainAddressBookEntryResponse | CoinbasePrimeClientException | CoinbasePrimeException>;
24
+ deleteOnchainAddressBook(request: DeleteOnchainAddressBookEntryRequest, options?: CoinbaseCallOptions): Promise<DeleteOnchainAddressBookEntryResponse | CoinbasePrimeClientException | CoinbasePrimeException>;
25
+ }
26
+ export declare class OnchainAddressBookService implements IOnchainAddressBookService {
27
+ private client;
28
+ constructor(client: CoinbasePrimeClient);
29
+ listOnchainAddressBook(request: ListOnchainAddressBookRequest, options?: CoinbaseCallOptions): Promise<ListOnchainAddressBookResponse | CoinbasePrimeClientException | CoinbasePrimeException>;
30
+ createOnchainAddressBookEntry(request: CreateOnchainAddressBookEntryRequest, options?: CoinbaseCallOptions): Promise<CreateOnchainAddressBookEntryResponse | CoinbasePrimeClientException | CoinbasePrimeException>;
31
+ updateOnchainAddressBookEntry(request: UpdateOnchainAddressBookEntryRequest, options?: CoinbaseCallOptions): Promise<UpdateOnchainAddressBookEntryResponse | CoinbasePrimeClientException | CoinbasePrimeException>;
32
+ deleteOnchainAddressBook(request: DeleteOnchainAddressBookEntryRequest, options?: CoinbaseCallOptions): Promise<DeleteOnchainAddressBookEntryResponse | CoinbasePrimeClientException | CoinbasePrimeException>;
33
+ }
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.OnchainAddressBookService = void 0;
13
+ /**
14
+ * Copyright 2025-present Coinbase Global, Inc.
15
+ *
16
+ * Licensed under the Apache License, Version 2.0 (the "License");
17
+ * you may not use this file except in compliance with the License.
18
+ * You may obtain a copy of the License at
19
+ *
20
+ * http://www.apache.org/licenses/LICENSE-2.0
21
+ *
22
+ * Unless required by applicable law or agreed to in writing, software
23
+ * distributed under the License is distributed on an "AS IS" BASIS,
24
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25
+ * See the License for the specific language governing permissions and
26
+ * limitations under the License.
27
+ */
28
+ const core_ts_1 = require("@coinbase-sample/core-ts");
29
+ class OnchainAddressBookService {
30
+ constructor(client) {
31
+ this.client = client;
32
+ }
33
+ listOnchainAddressBook(request, options) {
34
+ return __awaiter(this, void 0, void 0, function* () {
35
+ const response = yield this.client.request({
36
+ url: `portfolios/${request.portfolioId}/onchain_address_groups`,
37
+ callOptions: options,
38
+ });
39
+ return response.data;
40
+ });
41
+ }
42
+ createOnchainAddressBookEntry(request, options) {
43
+ return __awaiter(this, void 0, void 0, function* () {
44
+ const response = yield this.client.request({
45
+ url: `portfolios/${request.portfolioId}/onchain_address_group`,
46
+ bodyParams: Object.assign(Object.assign({}, request), { portfolioId: undefined }),
47
+ method: core_ts_1.Method.POST,
48
+ callOptions: options,
49
+ });
50
+ return response.data;
51
+ });
52
+ }
53
+ updateOnchainAddressBookEntry(request, options) {
54
+ return __awaiter(this, void 0, void 0, function* () {
55
+ const response = yield this.client.request({
56
+ url: `portfolios/${request.portfolioId}/onchain_address_group`,
57
+ bodyParams: Object.assign(Object.assign({}, request), { portfolioId: undefined }),
58
+ method: core_ts_1.Method.PUT,
59
+ callOptions: options,
60
+ });
61
+ return response.data;
62
+ });
63
+ }
64
+ deleteOnchainAddressBook(request, options) {
65
+ return __awaiter(this, void 0, void 0, function* () {
66
+ const response = yield this.client.request({
67
+ url: `portfolios/${request.portfolioId}/onchain_address_group/${request.addressGroupId}`,
68
+ method: core_ts_1.Method.DELETE,
69
+ callOptions: options,
70
+ });
71
+ return response.data;
72
+ });
73
+ }
74
+ }
75
+ exports.OnchainAddressBookService = OnchainAddressBookService;
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Copyright 2025-present Coinbase Global, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ListOnchainAddressGroupsResponse as listInt } from '../model/ListOnchainAddressGroupsResponse';
17
+ import { AddressGroup } from '../model/AddressGroup';
18
+ import { ActivityCreationResponse } from '../model/ActivityCreationResponse';
19
+ export type ListOnchainAddressBookRequest = {
20
+ portfolioId: string;
21
+ };
22
+ export type ListOnchainAddressBookResponse = listInt;
23
+ export type CreateOnchainAddressBookEntryRequest = AddressGroup & {
24
+ portfolioId: string;
25
+ };
26
+ export type CreateOnchainAddressBookEntryResponse = ActivityCreationResponse;
27
+ export type UpdateOnchainAddressBookEntryRequest = AddressGroup & {
28
+ portfolioId: string;
29
+ };
30
+ export type UpdateOnchainAddressBookEntryResponse = ActivityCreationResponse;
31
+ export type DeleteOnchainAddressBookEntryRequest = {
32
+ portfolioId: string;
33
+ addressGroupId: string;
34
+ };
35
+ export type DeleteOnchainAddressBookEntryResponse = ActivityCreationResponse;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Copyright 2024-present Coinbase Global, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { CoinbaseCallOptions } from '@coinbase-sample/core-ts';
17
+ import { CoinbasePrimeClient } from '../client';
18
+ import { CoinbasePrimeClientException, CoinbasePrimeException } from '../errors';
19
+ import { ListOnchainAddressGroupsRequest, ListOnchainAddressGroupsResponse } from './types';
20
+ export interface IOnchainAddressGroupsService {
21
+ listEntityPaymentMethods(request: ListOnchainAddressGroupsRequest, options?: CoinbaseCallOptions): Promise<ListOnchainAddressGroupsResponse | CoinbasePrimeClientException | CoinbasePrimeException>;
22
+ }
23
+ export declare class OnchainAddressGroupsService implements IOnchainAddressGroupsService {
24
+ private client;
25
+ constructor(client: CoinbasePrimeClient);
26
+ listEntityPaymentMethods(request: ListOnchainAddressGroupsRequest, options?: CoinbaseCallOptions): Promise<ListOnchainAddressGroupsResponse | CoinbasePrimeClientException | CoinbasePrimeException>;
27
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.OnchainAddressGroupsService = void 0;
13
+ class OnchainAddressGroupsService {
14
+ constructor(client) {
15
+ this.client = client;
16
+ }
17
+ listEntityPaymentMethods(request, options) {
18
+ return __awaiter(this, void 0, void 0, function* () {
19
+ const response = yield this.client.request({
20
+ url: `portfolios/${request.portfolioId}/onchain_address_groups`,
21
+ callOptions: options,
22
+ });
23
+ return response.data;
24
+ });
25
+ }
26
+ }
27
+ exports.OnchainAddressGroupsService = OnchainAddressGroupsService;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright 2024-present Coinbase Global, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ListOnchainAddressGroupsResponse as listInt } from '../model/ListOnchainAddressGroupsResponse';
17
+ export type ListOnchainAddressGroupsRequest = {
18
+ portfolioId: string;
19
+ };
20
+ export type ListOnchainAddressGroupsResponse = listInt;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });