@coinbase-sample/prime-sdk-ts 0.1.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.
- package/LICENSE +0 -0
- package/README.md +98 -0
- package/dist/activities/index.d.ts +33 -0
- package/dist/activities/index.js +73 -0
- package/dist/activities/service.d.ts +18 -0
- package/dist/activities/service.js +54 -0
- package/dist/activities/types.d.ts +47 -0
- package/dist/activities/types.js +2 -0
- package/dist/addressBooks/index.d.ts +29 -0
- package/dist/addressBooks/index.js +57 -0
- package/dist/addressBooks/service.d.ts +11 -0
- package/dist/addressBooks/service.js +38 -0
- package/dist/addressBooks/types.d.ts +29 -0
- package/dist/addressBooks/types.js +2 -0
- package/dist/allocations/index.d.ts +35 -0
- package/dist/allocations/index.js +83 -0
- package/dist/allocations/service.d.ts +14 -0
- package/dist/allocations/service.js +65 -0
- package/dist/allocations/types.d.ts +46 -0
- package/dist/allocations/types.js +2 -0
- package/dist/assets/index.d.ts +27 -0
- package/dist/assets/index.js +27 -0
- package/dist/assets/service.d.ts +10 -0
- package/dist/assets/service.js +27 -0
- package/dist/assets/types.d.ts +20 -0
- package/dist/assets/types.js +2 -0
- package/dist/balances/index.d.ts +31 -0
- package/dist/balances/index.js +49 -0
- package/dist/balances/types.d.ts +39 -0
- package/dist/balances/types.js +2 -0
- package/dist/client.d.ts +20 -0
- package/dist/client.js +31 -0
- package/dist/commission/index.d.ts +27 -0
- package/dist/commission/index.js +27 -0
- package/dist/commission/types.d.ts +20 -0
- package/dist/commission/types.js +2 -0
- package/dist/constants.d.ts +22 -0
- package/dist/constants.js +25 -0
- package/dist/credentials/index.d.ts +7 -0
- package/dist/credentials/index.js +81 -0
- package/dist/errors/index.d.ts +22 -0
- package/dist/errors/index.js +31 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +50 -0
- package/dist/invoices/index.d.ts +27 -0
- package/dist/invoices/index.js +27 -0
- package/dist/invoices/service.d.ts +10 -0
- package/dist/invoices/service.js +27 -0
- package/dist/invoices/types.d.ts +20 -0
- package/dist/invoices/types.js +2 -0
- package/dist/model/Activity.d.ts +73 -0
- package/dist/model/Activity.js +21 -0
- package/dist/model/ActivityMetadataAccount.d.ts +23 -0
- package/dist/model/ActivityMetadataAccount.js +21 -0
- package/dist/model/ActivityMetadataConsensus.d.ts +29 -0
- package/dist/model/ActivityMetadataConsensus.js +21 -0
- package/dist/model/ActivityMetadataTransactions.d.ts +23 -0
- package/dist/model/ActivityMetadataTransactions.js +21 -0
- package/dist/model/AddressBookEntry.d.ts +69 -0
- package/dist/model/AddressBookEntry.js +21 -0
- package/dist/model/AggregatedFiatBalance.d.ts +23 -0
- package/dist/model/AggregatedFiatBalance.js +21 -0
- package/dist/model/Allocation.d.ts +78 -0
- package/dist/model/Allocation.js +21 -0
- package/dist/model/AllocationLeg.d.ts +33 -0
- package/dist/model/AllocationLeg.js +21 -0
- package/dist/model/AmountDue.d.ts +33 -0
- package/dist/model/AmountDue.js +21 -0
- package/dist/model/Asset.d.ts +41 -0
- package/dist/model/Asset.js +21 -0
- package/dist/model/AssetChange.d.ts +35 -0
- package/dist/model/AssetChange.js +21 -0
- package/dist/model/Balance.d.ts +69 -0
- package/dist/model/Balance.js +21 -0
- package/dist/model/BlockchainAddress.d.ts +23 -0
- package/dist/model/BlockchainAddress.js +21 -0
- package/dist/model/CancelOrderResponse.d.ts +25 -0
- package/dist/model/CancelOrderResponse.js +21 -0
- package/dist/model/Commission.d.ts +33 -0
- package/dist/model/Commission.js +21 -0
- package/dist/model/CreateAllocationRequest.d.ts +52 -0
- package/dist/model/CreateAllocationRequest.js +21 -0
- package/dist/model/CreateAllocationResponse.d.ts +23 -0
- package/dist/model/CreateAllocationResponse.js +21 -0
- package/dist/model/CreateAllocationResponseBody.d.ts +33 -0
- package/dist/model/CreateAllocationResponseBody.js +21 -0
- package/dist/model/CreateConversionRequest.d.ts +41 -0
- package/dist/model/CreateConversionRequest.js +21 -0
- package/dist/model/CreateConversionResponse.d.ts +49 -0
- package/dist/model/CreateConversionResponse.js +21 -0
- package/dist/model/CreateNetAllocationResponse.d.ts +23 -0
- package/dist/model/CreateNetAllocationResponse.js +21 -0
- package/dist/model/CreateNetAllocationResponseBody.d.ts +41 -0
- package/dist/model/CreateNetAllocationResponseBody.js +21 -0
- package/dist/model/CreateOrderRequest.d.ts +40 -0
- package/dist/model/CreateOrderRequest.js +21 -0
- package/dist/model/CreateOrderResponse.d.ts +25 -0
- package/dist/model/CreateOrderResponse.js +21 -0
- package/dist/model/CreatePortfolioAddressBookEntryRequest.d.ts +37 -0
- package/dist/model/CreatePortfolioAddressBookEntryRequest.js +21 -0
- package/dist/model/CreatePortfolioAddressBookEntryResponse.d.ts +25 -0
- package/dist/model/CreatePortfolioAddressBookEntryResponse.js +21 -0
- package/dist/model/CreateWalletRequest.d.ts +26 -0
- package/dist/model/CreateWalletRequest.js +21 -0
- package/dist/model/CreateWalletResponse.d.ts +26 -0
- package/dist/model/CreateWalletResponse.js +21 -0
- package/dist/model/CreateWalletTransferResponse.d.ts +61 -0
- package/dist/model/CreateWalletTransferResponse.js +21 -0
- package/dist/model/CreateWalletWithdrawalRequest.d.ts +39 -0
- package/dist/model/CreateWalletWithdrawalRequest.js +21 -0
- package/dist/model/CreateWalletWithdrawalResponse.d.ts +56 -0
- package/dist/model/CreateWalletWithdrawalResponse.js +21 -0
- package/dist/model/DefiBalance.d.ts +24 -0
- package/dist/model/DefiBalance.js +21 -0
- package/dist/model/DestinationAlloc.d.ts +41 -0
- package/dist/model/DestinationAlloc.js +21 -0
- package/dist/model/DisplayUser.d.ts +33 -0
- package/dist/model/DisplayUser.js +21 -0
- package/dist/model/EntityUser.d.ts +39 -0
- package/dist/model/EntityUser.js +21 -0
- package/dist/model/EstimatedNetworkFees.d.ts +29 -0
- package/dist/model/EstimatedNetworkFees.js +21 -0
- package/dist/model/Fill.d.ts +59 -0
- package/dist/model/Fill.js +21 -0
- package/dist/model/GetActivityResponse.d.ts +23 -0
- package/dist/model/GetActivityResponse.js +21 -0
- package/dist/model/GetAllocationResponse.d.ts +23 -0
- package/dist/model/GetAllocationResponse.js +21 -0
- package/dist/model/GetAllocationsByClientNettingIdResponse.d.ts +23 -0
- package/dist/model/GetAllocationsByClientNettingIdResponse.js +21 -0
- package/dist/model/GetEntityActivitiesResponse.d.ts +25 -0
- package/dist/model/GetEntityActivitiesResponse.js +21 -0
- package/dist/model/GetEntityAssetsResponse.d.ts +23 -0
- package/dist/model/GetEntityAssetsResponse.js +21 -0
- package/dist/model/GetEntityPaymentMethodDetailsResponse.d.ts +23 -0
- package/dist/model/GetEntityPaymentMethodDetailsResponse.js +21 -0
- package/dist/model/GetEntityPaymentMethodsResponse.d.ts +23 -0
- package/dist/model/GetEntityPaymentMethodsResponse.js +21 -0
- package/dist/model/GetEntityUsersResponse.d.ts +28 -0
- package/dist/model/GetEntityUsersResponse.js +21 -0
- package/dist/model/GetInvoicesResponse.d.ts +23 -0
- package/dist/model/GetInvoicesResponse.js +21 -0
- package/dist/model/GetOpenOrdersResponse.d.ts +25 -0
- package/dist/model/GetOpenOrdersResponse.js +21 -0
- package/dist/model/GetOrderFillsResponse.d.ts +25 -0
- package/dist/model/GetOrderFillsResponse.js +21 -0
- package/dist/model/GetOrderResponse.d.ts +23 -0
- package/dist/model/GetOrderResponse.js +21 -0
- package/dist/model/GetOrdersResponse.d.ts +25 -0
- package/dist/model/GetOrdersResponse.js +21 -0
- package/dist/model/GetPortfolioActivitiesResponse.d.ts +25 -0
- package/dist/model/GetPortfolioActivitiesResponse.js +21 -0
- package/dist/model/GetPortfolioActivityResponse.d.ts +23 -0
- package/dist/model/GetPortfolioActivityResponse.js +21 -0
- package/dist/model/GetPortfolioAddressBookResponse.d.ts +28 -0
- package/dist/model/GetPortfolioAddressBookResponse.js +21 -0
- package/dist/model/GetPortfolioAllocationsResponse.d.ts +28 -0
- package/dist/model/GetPortfolioAllocationsResponse.js +21 -0
- package/dist/model/GetPortfolioBalancesResponse.d.ts +31 -0
- package/dist/model/GetPortfolioBalancesResponse.js +21 -0
- package/dist/model/GetPortfolioCommissionResponse.d.ts +23 -0
- package/dist/model/GetPortfolioCommissionResponse.js +21 -0
- package/dist/model/GetPortfolioFillsResponse.d.ts +25 -0
- package/dist/model/GetPortfolioFillsResponse.js +21 -0
- package/dist/model/GetPortfolioProductsResponse.d.ts +25 -0
- package/dist/model/GetPortfolioProductsResponse.js +21 -0
- package/dist/model/GetPortfolioResponse.d.ts +23 -0
- package/dist/model/GetPortfolioResponse.js +21 -0
- package/dist/model/GetPortfolioTransactionsResponse.d.ts +25 -0
- package/dist/model/GetPortfolioTransactionsResponse.js +21 -0
- package/dist/model/GetPortfolioUsersResponse.d.ts +28 -0
- package/dist/model/GetPortfolioUsersResponse.js +21 -0
- package/dist/model/GetPortfoliosResponse.d.ts +26 -0
- package/dist/model/GetPortfoliosResponse.js +21 -0
- package/dist/model/GetPostTradeCreditResponse.d.ts +23 -0
- package/dist/model/GetPostTradeCreditResponse.js +21 -0
- package/dist/model/GetTransactionResponse.d.ts +23 -0
- package/dist/model/GetTransactionResponse.js +21 -0
- package/dist/model/GetWalletBalanceResponse.d.ts +23 -0
- package/dist/model/GetWalletBalanceResponse.js +21 -0
- package/dist/model/GetWalletDepositInstructionsResponse.d.ts +25 -0
- package/dist/model/GetWalletDepositInstructionsResponse.js +21 -0
- package/dist/model/GetWalletResponse.d.ts +23 -0
- package/dist/model/GetWalletResponse.js +21 -0
- package/dist/model/GetWalletTransactionsResponse.d.ts +25 -0
- package/dist/model/GetWalletTransactionsResponse.js +21 -0
- package/dist/model/GetWalletsResponse.d.ts +25 -0
- package/dist/model/GetWalletsResponse.js +21 -0
- package/dist/model/Invoice.d.ts +32 -0
- package/dist/model/Invoice.js +21 -0
- package/dist/model/InvoiceItem.d.ts +30 -0
- package/dist/model/InvoiceItem.js +21 -0
- package/dist/model/ListWeb3WalletBalancesResponse.d.ts +30 -0
- package/dist/model/ListWeb3WalletBalancesResponse.js +21 -0
- package/dist/model/MatchMetadata.d.ts +29 -0
- package/dist/model/MatchMetadata.js +21 -0
- package/dist/model/NFTCollection.d.ts +25 -0
- package/dist/model/NFTCollection.js +21 -0
- package/dist/model/NFTItem.d.ts +25 -0
- package/dist/model/NFTItem.js +21 -0
- package/dist/model/Order.d.ts +105 -0
- package/dist/model/Order.js +21 -0
- package/dist/model/OrderPreviewRequest.d.ts +36 -0
- package/dist/model/OrderPreviewRequest.js +21 -0
- package/dist/model/PaginatedResponse.d.ts +31 -0
- package/dist/model/PaginatedResponse.js +21 -0
- package/dist/model/PaymentMethodDestination.d.ts +22 -0
- package/dist/model/PaymentMethodDestination.js +21 -0
- package/dist/model/PaymentMethodDetails.d.ts +28 -0
- package/dist/model/PaymentMethodDetails.js +21 -0
- package/dist/model/PaymentMethodSummary.d.ts +28 -0
- package/dist/model/PaymentMethodSummary.js +21 -0
- package/dist/model/PortfolioUser.d.ts +43 -0
- package/dist/model/PortfolioUser.js +21 -0
- package/dist/model/PostOrderPreviewResponse.d.ts +83 -0
- package/dist/model/PostOrderPreviewResponse.js +21 -0
- package/dist/model/PostTradeCreditInformation.d.ts +63 -0
- package/dist/model/PostTradeCreditInformation.js +21 -0
- package/dist/model/Product.d.ts +58 -0
- package/dist/model/Product.js +21 -0
- package/dist/model/Transaction.d.ts +97 -0
- package/dist/model/Transaction.js +21 -0
- package/dist/model/TransactionMetadata.d.ts +23 -0
- package/dist/model/TransactionMetadata.js +21 -0
- package/dist/model/TransferLocation.d.ts +27 -0
- package/dist/model/TransferLocation.js +21 -0
- package/dist/model/UserAction.d.ts +31 -0
- package/dist/model/UserAction.js +21 -0
- package/dist/model/Wallet.d.ts +28 -0
- package/dist/model/Wallet.js +21 -0
- package/dist/model/WalletCryptoDepositInstructions.d.ts +43 -0
- package/dist/model/WalletCryptoDepositInstructions.js +21 -0
- package/dist/model/WalletFiatDepositInstructions.d.ts +28 -0
- package/dist/model/WalletFiatDepositInstructions.js +21 -0
- package/dist/model/Web3Asset.d.ts +38 -0
- package/dist/model/Web3Asset.js +21 -0
- package/dist/model/Web3Balance.d.ts +29 -0
- package/dist/model/Web3Balance.js +21 -0
- package/dist/model/assets.d.ts +13 -0
- package/dist/model/assets.js +2 -0
- package/dist/model/createATransferBetweenTwoWallets.d.ts +37 -0
- package/dist/model/createATransferBetweenTwoWallets.js +21 -0
- package/dist/model/enums/Action.d.ts +26 -0
- package/dist/model/enums/Action.js +30 -0
- package/dist/model/enums/ActivityCategory.d.ts +28 -0
- package/dist/model/enums/ActivityCategory.js +32 -0
- package/dist/model/enums/ActivityLevel.d.ts +24 -0
- package/dist/model/enums/ActivityLevel.js +28 -0
- package/dist/model/enums/ActivitySecondaryType.d.ts +28 -0
- package/dist/model/enums/ActivitySecondaryType.js +32 -0
- package/dist/model/enums/ActivityStatus.d.ts +28 -0
- package/dist/model/enums/ActivityStatus.js +32 -0
- package/dist/model/enums/ActivityType.d.ts +63 -0
- package/dist/model/enums/ActivityType.js +67 -0
- package/dist/model/enums/AddressBookType.d.ts +24 -0
- package/dist/model/enums/AddressBookType.js +28 -0
- package/dist/model/enums/AllocationSizeType.d.ts +25 -0
- package/dist/model/enums/AllocationSizeType.js +29 -0
- package/dist/model/enums/AllocationStatus.d.ts +26 -0
- package/dist/model/enums/AllocationStatus.js +30 -0
- package/dist/model/enums/AssetChangeType.d.ts +27 -0
- package/dist/model/enums/AssetChangeType.js +31 -0
- package/dist/model/enums/DestinationType.d.ts +25 -0
- package/dist/model/enums/DestinationType.js +29 -0
- package/dist/model/enums/HierarchyType.d.ts +24 -0
- package/dist/model/enums/HierarchyType.js +28 -0
- package/dist/model/enums/InvoiceState.d.ts +26 -0
- package/dist/model/enums/InvoiceState.js +30 -0
- package/dist/model/enums/InvoiceType.d.ts +27 -0
- package/dist/model/enums/InvoiceType.js +31 -0
- package/dist/model/enums/OrderSide.d.ts +27 -0
- package/dist/model/enums/OrderSide.js +31 -0
- package/dist/model/enums/OrderStatus.d.ts +31 -0
- package/dist/model/enums/OrderStatus.js +35 -0
- package/dist/model/enums/OrderType.d.ts +31 -0
- package/dist/model/enums/OrderType.js +35 -0
- package/dist/model/enums/PaymentMethodType.d.ts +28 -0
- package/dist/model/enums/PaymentMethodType.js +32 -0
- package/dist/model/enums/PortfolioBalanceType.d.ts +25 -0
- package/dist/model/enums/PortfolioBalanceType.js +29 -0
- package/dist/model/enums/ProductPermissions.d.ts +25 -0
- package/dist/model/enums/ProductPermissions.js +29 -0
- package/dist/model/enums/SortDirection.d.ts +23 -0
- package/dist/model/enums/SortDirection.js +27 -0
- package/dist/model/enums/TimeInForceType.d.ts +29 -0
- package/dist/model/enums/TimeInForceType.js +33 -0
- package/dist/model/enums/TransactionStatus.d.ts +46 -0
- package/dist/model/enums/TransactionStatus.js +50 -0
- package/dist/model/enums/TransactionType.d.ts +57 -0
- package/dist/model/enums/TransactionType.js +61 -0
- package/dist/model/enums/TransferLocationType.d.ts +28 -0
- package/dist/model/enums/TransferLocationType.js +32 -0
- package/dist/model/enums/UserRole.d.ts +34 -0
- package/dist/model/enums/UserRole.js +38 -0
- package/dist/model/enums/VisibilityStatus.d.ts +25 -0
- package/dist/model/enums/VisibilityStatus.js +29 -0
- package/dist/model/enums/WalletDepositInstructionType.d.ts +29 -0
- package/dist/model/enums/WalletDepositInstructionType.js +33 -0
- package/dist/model/enums/WalletType.d.ts +30 -0
- package/dist/model/enums/WalletType.js +34 -0
- package/dist/model/portfolio.d.ts +41 -0
- package/dist/model/portfolio.js +21 -0
- package/dist/model/services/activitityService.d.ts +33 -0
- package/dist/model/services/activitityService.js +2 -0
- package/dist/model/services/addressBookService.d.ts +14 -0
- package/dist/model/services/addressBookService.js +2 -0
- package/dist/model/services/allocationService.d.ts +24 -0
- package/dist/model/services/allocationService.js +2 -0
- package/dist/model/services/assetService.d.ts +5 -0
- package/dist/model/services/assetService.js +2 -0
- package/dist/model/services/balanceService.d.ts +24 -0
- package/dist/model/services/balanceService.js +2 -0
- package/dist/model/services/commissionService.d.ts +5 -0
- package/dist/model/services/commissionService.js +2 -0
- package/dist/model/services/invoiceService.d.ts +5 -0
- package/dist/model/services/invoiceService.js +2 -0
- package/dist/model/services/orderService.d.ts +62 -0
- package/dist/model/services/orderService.js +2 -0
- package/dist/model/services/pagination.d.ts +9 -0
- package/dist/model/services/pagination.js +2 -0
- package/dist/model/services/paymentMethodsService.d.ts +10 -0
- package/dist/model/services/paymentMethodsService.js +2 -0
- package/dist/model/services/portfolioService.d.ts +15 -0
- package/dist/model/services/portfolioService.js +2 -0
- package/dist/model/services/productService.d.ts +6 -0
- package/dist/model/services/productService.js +2 -0
- package/dist/model/services/shared.d.ts +6 -0
- package/dist/model/services/shared.js +2 -0
- package/dist/model/services/transactionService.d.ts +47 -0
- package/dist/model/services/transactionService.js +2 -0
- package/dist/model/services/usersService.d.ts +9 -0
- package/dist/model/services/usersService.js +2 -0
- package/dist/model/services/walletService.d.ts +27 -0
- package/dist/model/services/walletService.js +2 -0
- package/dist/orders/index.d.ts +41 -0
- package/dist/orders/index.js +119 -0
- package/dist/orders/types.d.ts +77 -0
- package/dist/orders/types.js +2 -0
- package/dist/paymentMethods/index.d.ts +29 -0
- package/dist/paymentMethods/index.js +36 -0
- package/dist/paymentMethods/service.d.ts +11 -0
- package/dist/paymentMethods/service.js +36 -0
- package/dist/paymentMethods/types.d.ts +25 -0
- package/dist/paymentMethods/types.js +2 -0
- package/dist/portfolio/service.d.ts +12 -0
- package/dist/portfolio/service.js +42 -0
- package/dist/portfolios/index.d.ts +31 -0
- package/dist/portfolios/index.js +45 -0
- package/dist/portfolios/types.d.ts +30 -0
- package/dist/portfolios/types.js +2 -0
- package/dist/products/index.d.ts +27 -0
- package/dist/products/index.js +27 -0
- package/dist/products/types.d.ts +21 -0
- package/dist/products/types.js +2 -0
- package/dist/shared/pagination.d.ts +24 -0
- package/dist/shared/pagination.js +2 -0
- package/dist/shared/toCamelCase.d.ts +1 -0
- package/dist/shared/toCamelCase.js +23 -0
- package/dist/transactions/index.d.ts +37 -0
- package/dist/transactions/index.js +101 -0
- package/dist/transactions/types.d.ts +62 -0
- package/dist/transactions/types.js +2 -0
- package/dist/users/index.d.ts +29 -0
- package/dist/users/index.js +36 -0
- package/dist/users/service.d.ts +11 -0
- package/dist/users/service.js +36 -0
- package/dist/users/types.d.ts +24 -0
- package/dist/users/types.js +2 -0
- package/dist/wallets/index.d.ts +33 -0
- package/dist/wallets/index.js +73 -0
- package/dist/wallets/types.d.ts +42 -0
- package/dist/wallets/types.js +2 -0
- package/package.json +38 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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
|
+
/**
|
|
21
|
+
* - UNKNOWN_TRANSACTION_STATUS: An Unknown Transaction status - TRANSACTION_CREATED: The Transaction has been created and is awaiting Consensus approval This is a non-terminal status - TRANSACTION_REQUESTED: The Transaction has reached User Consensus and is awaiting Coinbase Prime approval This is a non-terminal status - TRANSACTION_APPROVED: The Transaction has been authorized by Coinbase Prime This is a non-terminal status - TRANSACTION_GASSING: The transaction is awaiting blockchain resources for broadcast This is a non-terminal status - TRANSACTION_GASSED: The transaction has received blockchain resources for broadcasting This is a non-terminal status - TRANSACTION_PROVISIONED: The transaction has been provisioned and is awaiting planning This is a non-terminal status - TRANSACTION_PLANNED: The transaction has been constructed. This is a non-terminal status - TRANSACTION_PROCESSING: The transaction is currently processing and awaiting finalization This is a non-terminal status - TRANSACTION_RESTORED: The transaction has been broadcasted to the network. This is a non-terminal status - TRANSACTION_DONE: The transaction has confirmed on-chain and finished. This is a terminal status - TRANSACTION_IMPORT_PENDING: The transaction deposit has been detected and is awaiting finalization. This is a non-terminal status - TRANSACTION_IMPORTED: The transaction deposit and reward has been detected. This is a terminal status - TRANSACTION_CANCELLED: The transaction has been cancelled This is a terminal status - TRANSACTION_REJECTED: The transaction was rejected before construction and broadcasting. This is a terminal status - TRANSACTION_DELAYED: The transaction s taking longer than expected to confirm on-chain. This is a non-terminal status - TRANSACTION_RETRIED: The transaction has been recreated and retried, this occurs when network congestion results in transfers becoming extremely delayed due to insufficient fees or network resources such as CPU, RAM, or NET This is a terminal status - TRANSACTION_FAILED: The transaction failed on-chain (the fee was spent but the operation failed). This is a terminal status - TRANSACTION_EXPIRED: The transaction has expired. This is a terminal status - TRANSACTION_BROADCASTING: The transaction is currently broadcasting to the cryptocurrency network. This is a non-terminal status - OTHER_TRANSACTION_STATUS: The transaction has reached an OTHER status. This is a non-terminal status - TRANSACTION_CONSTRUCTED: The transaction bctx is constructed but not yet broadcasting on chain This is a non-terminal status
|
|
22
|
+
*/
|
|
23
|
+
export declare enum TransactionStatus {
|
|
24
|
+
UnknownTransactionStatus = "UNKNOWN_TRANSACTION_STATUS",
|
|
25
|
+
TransactionCreated = "TRANSACTION_CREATED",
|
|
26
|
+
TransactionRequested = "TRANSACTION_REQUESTED",
|
|
27
|
+
TransactionApproved = "TRANSACTION_APPROVED",
|
|
28
|
+
TransactionGassing = "TRANSACTION_GASSING",
|
|
29
|
+
TransactionGassed = "TRANSACTION_GASSED",
|
|
30
|
+
TransactionProvisioned = "TRANSACTION_PROVISIONED",
|
|
31
|
+
TransactionPlanned = "TRANSACTION_PLANNED",
|
|
32
|
+
TransactionProcessing = "TRANSACTION_PROCESSING",
|
|
33
|
+
TransactionRestored = "TRANSACTION_RESTORED",
|
|
34
|
+
TransactionDone = "TRANSACTION_DONE",
|
|
35
|
+
TransactionImportPending = "TRANSACTION_IMPORT_PENDING",
|
|
36
|
+
TransactionImported = "TRANSACTION_IMPORTED",
|
|
37
|
+
TransactionCancelled = "TRANSACTION_CANCELLED",
|
|
38
|
+
TransactionRejected = "TRANSACTION_REJECTED",
|
|
39
|
+
TransactionDelayed = "TRANSACTION_DELAYED",
|
|
40
|
+
TransactionRetried = "TRANSACTION_RETRIED",
|
|
41
|
+
TransactionFailed = "TRANSACTION_FAILED",
|
|
42
|
+
TransactionExpired = "TRANSACTION_EXPIRED",
|
|
43
|
+
TransactionBroadcasting = "TRANSACTION_BROADCASTING",
|
|
44
|
+
OtherTransactionStatus = "OTHER_TRANSACTION_STATUS",
|
|
45
|
+
TransactionConstructed = "TRANSACTION_CONSTRUCTED"
|
|
46
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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.TransactionStatus = void 0;
|
|
23
|
+
/**
|
|
24
|
+
* - UNKNOWN_TRANSACTION_STATUS: An Unknown Transaction status - TRANSACTION_CREATED: The Transaction has been created and is awaiting Consensus approval This is a non-terminal status - TRANSACTION_REQUESTED: The Transaction has reached User Consensus and is awaiting Coinbase Prime approval This is a non-terminal status - TRANSACTION_APPROVED: The Transaction has been authorized by Coinbase Prime This is a non-terminal status - TRANSACTION_GASSING: The transaction is awaiting blockchain resources for broadcast This is a non-terminal status - TRANSACTION_GASSED: The transaction has received blockchain resources for broadcasting This is a non-terminal status - TRANSACTION_PROVISIONED: The transaction has been provisioned and is awaiting planning This is a non-terminal status - TRANSACTION_PLANNED: The transaction has been constructed. This is a non-terminal status - TRANSACTION_PROCESSING: The transaction is currently processing and awaiting finalization This is a non-terminal status - TRANSACTION_RESTORED: The transaction has been broadcasted to the network. This is a non-terminal status - TRANSACTION_DONE: The transaction has confirmed on-chain and finished. This is a terminal status - TRANSACTION_IMPORT_PENDING: The transaction deposit has been detected and is awaiting finalization. This is a non-terminal status - TRANSACTION_IMPORTED: The transaction deposit and reward has been detected. This is a terminal status - TRANSACTION_CANCELLED: The transaction has been cancelled This is a terminal status - TRANSACTION_REJECTED: The transaction was rejected before construction and broadcasting. This is a terminal status - TRANSACTION_DELAYED: The transaction s taking longer than expected to confirm on-chain. This is a non-terminal status - TRANSACTION_RETRIED: The transaction has been recreated and retried, this occurs when network congestion results in transfers becoming extremely delayed due to insufficient fees or network resources such as CPU, RAM, or NET This is a terminal status - TRANSACTION_FAILED: The transaction failed on-chain (the fee was spent but the operation failed). This is a terminal status - TRANSACTION_EXPIRED: The transaction has expired. This is a terminal status - TRANSACTION_BROADCASTING: The transaction is currently broadcasting to the cryptocurrency network. This is a non-terminal status - OTHER_TRANSACTION_STATUS: The transaction has reached an OTHER status. This is a non-terminal status - TRANSACTION_CONSTRUCTED: The transaction bctx is constructed but not yet broadcasting on chain This is a non-terminal status
|
|
25
|
+
*/
|
|
26
|
+
var TransactionStatus;
|
|
27
|
+
(function (TransactionStatus) {
|
|
28
|
+
TransactionStatus["UnknownTransactionStatus"] = "UNKNOWN_TRANSACTION_STATUS";
|
|
29
|
+
TransactionStatus["TransactionCreated"] = "TRANSACTION_CREATED";
|
|
30
|
+
TransactionStatus["TransactionRequested"] = "TRANSACTION_REQUESTED";
|
|
31
|
+
TransactionStatus["TransactionApproved"] = "TRANSACTION_APPROVED";
|
|
32
|
+
TransactionStatus["TransactionGassing"] = "TRANSACTION_GASSING";
|
|
33
|
+
TransactionStatus["TransactionGassed"] = "TRANSACTION_GASSED";
|
|
34
|
+
TransactionStatus["TransactionProvisioned"] = "TRANSACTION_PROVISIONED";
|
|
35
|
+
TransactionStatus["TransactionPlanned"] = "TRANSACTION_PLANNED";
|
|
36
|
+
TransactionStatus["TransactionProcessing"] = "TRANSACTION_PROCESSING";
|
|
37
|
+
TransactionStatus["TransactionRestored"] = "TRANSACTION_RESTORED";
|
|
38
|
+
TransactionStatus["TransactionDone"] = "TRANSACTION_DONE";
|
|
39
|
+
TransactionStatus["TransactionImportPending"] = "TRANSACTION_IMPORT_PENDING";
|
|
40
|
+
TransactionStatus["TransactionImported"] = "TRANSACTION_IMPORTED";
|
|
41
|
+
TransactionStatus["TransactionCancelled"] = "TRANSACTION_CANCELLED";
|
|
42
|
+
TransactionStatus["TransactionRejected"] = "TRANSACTION_REJECTED";
|
|
43
|
+
TransactionStatus["TransactionDelayed"] = "TRANSACTION_DELAYED";
|
|
44
|
+
TransactionStatus["TransactionRetried"] = "TRANSACTION_RETRIED";
|
|
45
|
+
TransactionStatus["TransactionFailed"] = "TRANSACTION_FAILED";
|
|
46
|
+
TransactionStatus["TransactionExpired"] = "TRANSACTION_EXPIRED";
|
|
47
|
+
TransactionStatus["TransactionBroadcasting"] = "TRANSACTION_BROADCASTING";
|
|
48
|
+
TransactionStatus["OtherTransactionStatus"] = "OTHER_TRANSACTION_STATUS";
|
|
49
|
+
TransactionStatus["TransactionConstructed"] = "TRANSACTION_CONSTRUCTED";
|
|
50
|
+
})(TransactionStatus || (exports.TransactionStatus = TransactionStatus = {}));
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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
|
+
/**
|
|
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
|
|
22
|
+
*/
|
|
23
|
+
export declare enum TransactionType {
|
|
24
|
+
TransactionTypeUnknown = "TRANSACTION_TYPE_UNKNOWN",
|
|
25
|
+
Deposit = "DEPOSIT",
|
|
26
|
+
Withdrawal = "WITHDRAWAL",
|
|
27
|
+
InternalDeposit = "INTERNAL_DEPOSIT",
|
|
28
|
+
InternalWithdrawal = "INTERNAL_WITHDRAWAL",
|
|
29
|
+
SweepDeposit = "SWEEP_DEPOSIT",
|
|
30
|
+
SweepWithdrawal = "SWEEP_WITHDRAWAL",
|
|
31
|
+
ProxyDeposit = "PROXY_DEPOSIT",
|
|
32
|
+
ProxyWithdrawal = "PROXY_WITHDRAWAL",
|
|
33
|
+
BillingWithdrawal = "BILLING_WITHDRAWAL",
|
|
34
|
+
Reward = "REWARD",
|
|
35
|
+
CoinbaseRefund = "COINBASE_REFUND",
|
|
36
|
+
TransactionTypeOther = "TRANSACTION_TYPE_OTHER",
|
|
37
|
+
WithdrawalAdjustment = "WITHDRAWAL_ADJUSTMENT",
|
|
38
|
+
DepositAdjustment = "DEPOSIT_ADJUSTMENT",
|
|
39
|
+
KeyRegistration = "KEY_REGISTRATION",
|
|
40
|
+
Delegation = "DELEGATION",
|
|
41
|
+
Undelegation = "UNDELEGATION",
|
|
42
|
+
Restake = "RESTAKE",
|
|
43
|
+
CompleteUnbonding = "COMPLETE_UNBONDING",
|
|
44
|
+
WithdrawUnbonded = "WITHDRAW_UNBONDED",
|
|
45
|
+
StakeAccountCreate = "STAKE_ACCOUNT_CREATE",
|
|
46
|
+
ChangeValidator = "CHANGE_VALIDATOR",
|
|
47
|
+
Stake = "STAKE",
|
|
48
|
+
Unstake = "UNSTAKE",
|
|
49
|
+
RemoveAuthorizedParty = "REMOVE_AUTHORIZED_PARTY",
|
|
50
|
+
StakeAuthorizeWithSeed = "STAKE_AUTHORIZE_WITH_SEED",
|
|
51
|
+
Slash = "SLASH",
|
|
52
|
+
CoinbaseDeposit = "COINBASE_DEPOSIT",
|
|
53
|
+
Conversion = "CONVERSION",
|
|
54
|
+
ClaimRewards = "CLAIM_REWARDS",
|
|
55
|
+
VoteAuthorize = "VOTE_AUTHORIZE",
|
|
56
|
+
Web3Transaction = "WEB3_TRANSACTION"
|
|
57
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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.TransactionType = void 0;
|
|
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
|
|
25
|
+
*/
|
|
26
|
+
var TransactionType;
|
|
27
|
+
(function (TransactionType) {
|
|
28
|
+
TransactionType["TransactionTypeUnknown"] = "TRANSACTION_TYPE_UNKNOWN";
|
|
29
|
+
TransactionType["Deposit"] = "DEPOSIT";
|
|
30
|
+
TransactionType["Withdrawal"] = "WITHDRAWAL";
|
|
31
|
+
TransactionType["InternalDeposit"] = "INTERNAL_DEPOSIT";
|
|
32
|
+
TransactionType["InternalWithdrawal"] = "INTERNAL_WITHDRAWAL";
|
|
33
|
+
TransactionType["SweepDeposit"] = "SWEEP_DEPOSIT";
|
|
34
|
+
TransactionType["SweepWithdrawal"] = "SWEEP_WITHDRAWAL";
|
|
35
|
+
TransactionType["ProxyDeposit"] = "PROXY_DEPOSIT";
|
|
36
|
+
TransactionType["ProxyWithdrawal"] = "PROXY_WITHDRAWAL";
|
|
37
|
+
TransactionType["BillingWithdrawal"] = "BILLING_WITHDRAWAL";
|
|
38
|
+
TransactionType["Reward"] = "REWARD";
|
|
39
|
+
TransactionType["CoinbaseRefund"] = "COINBASE_REFUND";
|
|
40
|
+
TransactionType["TransactionTypeOther"] = "TRANSACTION_TYPE_OTHER";
|
|
41
|
+
TransactionType["WithdrawalAdjustment"] = "WITHDRAWAL_ADJUSTMENT";
|
|
42
|
+
TransactionType["DepositAdjustment"] = "DEPOSIT_ADJUSTMENT";
|
|
43
|
+
TransactionType["KeyRegistration"] = "KEY_REGISTRATION";
|
|
44
|
+
TransactionType["Delegation"] = "DELEGATION";
|
|
45
|
+
TransactionType["Undelegation"] = "UNDELEGATION";
|
|
46
|
+
TransactionType["Restake"] = "RESTAKE";
|
|
47
|
+
TransactionType["CompleteUnbonding"] = "COMPLETE_UNBONDING";
|
|
48
|
+
TransactionType["WithdrawUnbonded"] = "WITHDRAW_UNBONDED";
|
|
49
|
+
TransactionType["StakeAccountCreate"] = "STAKE_ACCOUNT_CREATE";
|
|
50
|
+
TransactionType["ChangeValidator"] = "CHANGE_VALIDATOR";
|
|
51
|
+
TransactionType["Stake"] = "STAKE";
|
|
52
|
+
TransactionType["Unstake"] = "UNSTAKE";
|
|
53
|
+
TransactionType["RemoveAuthorizedParty"] = "REMOVE_AUTHORIZED_PARTY";
|
|
54
|
+
TransactionType["StakeAuthorizeWithSeed"] = "STAKE_AUTHORIZE_WITH_SEED";
|
|
55
|
+
TransactionType["Slash"] = "SLASH";
|
|
56
|
+
TransactionType["CoinbaseDeposit"] = "COINBASE_DEPOSIT";
|
|
57
|
+
TransactionType["Conversion"] = "CONVERSION";
|
|
58
|
+
TransactionType["ClaimRewards"] = "CLAIM_REWARDS";
|
|
59
|
+
TransactionType["VoteAuthorize"] = "VOTE_AUTHORIZE";
|
|
60
|
+
TransactionType["Web3Transaction"] = "WEB3_TRANSACTION";
|
|
61
|
+
})(TransactionType || (exports.TransactionType = TransactionType = {}));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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 TransferLocationType {
|
|
21
|
+
TransferLocationTypeUnknown = "TRANSFER_LOCATION_TYPE_UNKNOWN",
|
|
22
|
+
PaymentMethod = "PAYMENT_METHOD",
|
|
23
|
+
Wallet = "WALLET",
|
|
24
|
+
Address = "ADDRESS",
|
|
25
|
+
Other = "OTHER",
|
|
26
|
+
MultipleAddresses = "MULTIPLE_ADDRESSES",
|
|
27
|
+
CounterpartyId = "COUNTERPARTY_ID"
|
|
28
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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.TransferLocationType = void 0;
|
|
23
|
+
var TransferLocationType;
|
|
24
|
+
(function (TransferLocationType) {
|
|
25
|
+
TransferLocationType["TransferLocationTypeUnknown"] = "TRANSFER_LOCATION_TYPE_UNKNOWN";
|
|
26
|
+
TransferLocationType["PaymentMethod"] = "PAYMENT_METHOD";
|
|
27
|
+
TransferLocationType["Wallet"] = "WALLET";
|
|
28
|
+
TransferLocationType["Address"] = "ADDRESS";
|
|
29
|
+
TransferLocationType["Other"] = "OTHER";
|
|
30
|
+
TransferLocationType["MultipleAddresses"] = "MULTIPLE_ADDRESSES";
|
|
31
|
+
TransferLocationType["CounterpartyId"] = "COUNTERPARTY_ID";
|
|
32
|
+
})(TransferLocationType || (exports.TransferLocationType = TransferLocationType = {}));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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
|
+
/**
|
|
21
|
+
* - USER_ROLE_UNKNOWN: nil value - AUDITOR: An auditor - SIGNATORY: A signatory - ADMIN: An admin - INITIATOR: An initiator - REVIEWER: A reviewer - TRADER: A trader - FULL_TRADER: A trader with full permissions - TEAM_MANAGER: A team manager - APPROVER: An approver
|
|
22
|
+
*/
|
|
23
|
+
export declare enum UserRole {
|
|
24
|
+
UserRoleUnknown = "USER_ROLE_UNKNOWN",
|
|
25
|
+
Auditor = "AUDITOR",
|
|
26
|
+
Signatory = "SIGNATORY",
|
|
27
|
+
Admin = "ADMIN",
|
|
28
|
+
Initiator = "INITIATOR",
|
|
29
|
+
Reviewer = "REVIEWER",
|
|
30
|
+
Trader = "TRADER",
|
|
31
|
+
FullTrader = "FULL_TRADER",
|
|
32
|
+
TeamManager = "TEAM_MANAGER",
|
|
33
|
+
Approver = "APPROVER"
|
|
34
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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.UserRole = void 0;
|
|
23
|
+
/**
|
|
24
|
+
* - USER_ROLE_UNKNOWN: nil value - AUDITOR: An auditor - SIGNATORY: A signatory - ADMIN: An admin - INITIATOR: An initiator - REVIEWER: A reviewer - TRADER: A trader - FULL_TRADER: A trader with full permissions - TEAM_MANAGER: A team manager - APPROVER: An approver
|
|
25
|
+
*/
|
|
26
|
+
var UserRole;
|
|
27
|
+
(function (UserRole) {
|
|
28
|
+
UserRole["UserRoleUnknown"] = "USER_ROLE_UNKNOWN";
|
|
29
|
+
UserRole["Auditor"] = "AUDITOR";
|
|
30
|
+
UserRole["Signatory"] = "SIGNATORY";
|
|
31
|
+
UserRole["Admin"] = "ADMIN";
|
|
32
|
+
UserRole["Initiator"] = "INITIATOR";
|
|
33
|
+
UserRole["Reviewer"] = "REVIEWER";
|
|
34
|
+
UserRole["Trader"] = "TRADER";
|
|
35
|
+
UserRole["FullTrader"] = "FULL_TRADER";
|
|
36
|
+
UserRole["TeamManager"] = "TEAM_MANAGER";
|
|
37
|
+
UserRole["Approver"] = "APPROVER";
|
|
38
|
+
})(UserRole || (exports.UserRole = UserRole = {}));
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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 VisibilityStatus {
|
|
21
|
+
UnknownVisibilityStatus = "UNKNOWN_VISIBILITY_STATUS",
|
|
22
|
+
Visible = "VISIBLE",
|
|
23
|
+
Hidden = "HIDDEN",
|
|
24
|
+
Spam = "SPAM"
|
|
25
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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.VisibilityStatus = void 0;
|
|
23
|
+
var VisibilityStatus;
|
|
24
|
+
(function (VisibilityStatus) {
|
|
25
|
+
VisibilityStatus["UnknownVisibilityStatus"] = "UNKNOWN_VISIBILITY_STATUS";
|
|
26
|
+
VisibilityStatus["Visible"] = "VISIBLE";
|
|
27
|
+
VisibilityStatus["Hidden"] = "HIDDEN";
|
|
28
|
+
VisibilityStatus["Spam"] = "SPAM";
|
|
29
|
+
})(VisibilityStatus || (exports.VisibilityStatus = VisibilityStatus = {}));
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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
|
+
/**
|
|
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
|
|
22
|
+
*/
|
|
23
|
+
export declare enum WalletDepositInstructionType {
|
|
24
|
+
UnknownWalletDepositType = "UNKNOWN_WALLET_DEPOSIT_TYPE",
|
|
25
|
+
Crypto = "CRYPTO",
|
|
26
|
+
Wire = "WIRE",
|
|
27
|
+
Sen = "SEN",
|
|
28
|
+
Swift = "SWIFT"
|
|
29
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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.WalletDepositInstructionType = void 0;
|
|
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
|
|
25
|
+
*/
|
|
26
|
+
var WalletDepositInstructionType;
|
|
27
|
+
(function (WalletDepositInstructionType) {
|
|
28
|
+
WalletDepositInstructionType["UnknownWalletDepositType"] = "UNKNOWN_WALLET_DEPOSIT_TYPE";
|
|
29
|
+
WalletDepositInstructionType["Crypto"] = "CRYPTO";
|
|
30
|
+
WalletDepositInstructionType["Wire"] = "WIRE";
|
|
31
|
+
WalletDepositInstructionType["Sen"] = "SEN";
|
|
32
|
+
WalletDepositInstructionType["Swift"] = "SWIFT";
|
|
33
|
+
})(WalletDepositInstructionType || (exports.WalletDepositInstructionType = WalletDepositInstructionType = {}));
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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
|
+
/**
|
|
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
|
|
22
|
+
*/
|
|
23
|
+
export declare enum WalletType {
|
|
24
|
+
UnknownWalletType = "UNKNOWN_WALLET_TYPE",
|
|
25
|
+
Vault = "VAULT",
|
|
26
|
+
Trading = "TRADING",
|
|
27
|
+
WalletTypeOther = "WALLET_TYPE_OTHER",
|
|
28
|
+
Web3 = "WEB3",
|
|
29
|
+
Qc = "QC"
|
|
30
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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.WalletType = void 0;
|
|
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
|
|
25
|
+
*/
|
|
26
|
+
var WalletType;
|
|
27
|
+
(function (WalletType) {
|
|
28
|
+
WalletType["UnknownWalletType"] = "UNKNOWN_WALLET_TYPE";
|
|
29
|
+
WalletType["Vault"] = "VAULT";
|
|
30
|
+
WalletType["Trading"] = "TRADING";
|
|
31
|
+
WalletType["WalletTypeOther"] = "WALLET_TYPE_OTHER";
|
|
32
|
+
WalletType["Web3"] = "WEB3";
|
|
33
|
+
WalletType["Qc"] = "QC";
|
|
34
|
+
})(WalletType || (exports.WalletType = WalletType = {}));
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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 type Portfolio = {
|
|
21
|
+
/**
|
|
22
|
+
* The unique ID of the portfolio
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The name of the portfolio
|
|
27
|
+
*/
|
|
28
|
+
name?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The ID of the entity to which the portfolio is associated
|
|
31
|
+
*/
|
|
32
|
+
entityId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The ID of the organization to which the portfolio is associated
|
|
35
|
+
*/
|
|
36
|
+
organizationId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The name of the entity to which the portfolio is associated
|
|
39
|
+
*/
|
|
40
|
+
entityName?: string;
|
|
41
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2024-present Coinbase Global, Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generato
|
|
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 });
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PaginatedResponse } from '../PaginatedResponse';
|
|
2
|
+
import { ActivityCategory } from '../enums/ActivityCategory';
|
|
3
|
+
import { ActivityStatus } from '../enums/ActivityStatus';
|
|
4
|
+
import { GetActivityResponse as internalGet } from '../GetActivityResponse';
|
|
5
|
+
import { GetEntityActivitiesResponse } from '../GetEntityActivitiesResponse';
|
|
6
|
+
import { GetPortfolioActivitiesResponse } from '../GetPortfolioActivitiesResponse';
|
|
7
|
+
import { GetPortfolioActivityResponse as internalGetPortAct } from '../GetPortfolioActivityResponse';
|
|
8
|
+
export type ActivityFilters = PaginatedResponse & {
|
|
9
|
+
symbols?: string[];
|
|
10
|
+
categories?: ActivityCategory[];
|
|
11
|
+
statuses?: ActivityStatus[];
|
|
12
|
+
startTime: string;
|
|
13
|
+
endTime?: string;
|
|
14
|
+
};
|
|
15
|
+
export type GetActivityRequest = {
|
|
16
|
+
activityId: string;
|
|
17
|
+
};
|
|
18
|
+
export type GetActivityResponse = internalGet;
|
|
19
|
+
export type ListEntityActivitiesRequest = PaginatedResponse & ActivityFilters & {
|
|
20
|
+
entityId: string;
|
|
21
|
+
activityLevel?: string;
|
|
22
|
+
};
|
|
23
|
+
export type ListEntityActivitiesResponse = GetEntityActivitiesResponse;
|
|
24
|
+
export type ListPortfolioActivitiesRequest = PaginatedResponse & ActivityFilters & {
|
|
25
|
+
portfolioId: string;
|
|
26
|
+
activityId: string;
|
|
27
|
+
};
|
|
28
|
+
export type ListPortfolioActivitiesResponse = GetPortfolioActivitiesResponse;
|
|
29
|
+
export type GetPortfolioActivitiesRequest = {
|
|
30
|
+
portfolioId: string;
|
|
31
|
+
activityId: string;
|
|
32
|
+
};
|
|
33
|
+
export type GetPortfolioActivityResponse = internalGetPortAct;
|