@coinbase-sample/prime-sdk-ts 0.8.2 → 0.10.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/dist/advancedTransfers/index.js +103 -0
- package/dist/advancedTransfers/types.js +2 -0
- package/dist/clients/clientWithServices.js +14 -0
- package/dist/constants.js +1 -1
- package/dist/financing/index.js +73 -0
- package/dist/futures/index.js +12 -0
- package/dist/index.js +3 -1
- package/dist/model/{CreateAddressGroup.js → ActiveLiquidationSummary.js} +1 -1
- package/dist/model/{DateOfBirth.js → AdvancedTransfer.js} +1 -1
- package/dist/model/{GetWalletAddressesResponse.js → BetaCrossMarginPrimeDerivativesEquityBreakdown.js} +1 -1
- package/dist/model/{StakingInputs.js → BetaCrossMarginPrimeMarginSummary.js} +1 -1
- package/dist/model/BetaCrossMarginPrimeRiskNettingInfo.js +21 -0
- package/dist/model/BetaCrossMarginPrimeSpotEquityBreakdown.js +21 -0
- package/dist/model/BetaCrossMarginPrimeXMPosition.js +21 -0
- package/dist/model/BetaCrossMarginRiskParameters.js +21 -0
- package/dist/model/BetaGetCrossMarginPrimeOverviewResponse.js +21 -0
- package/dist/model/BetaGetCrossMarginRiskParametersResponse.js +21 -0
- package/dist/model/BetaGetMarketDataResponse.js +21 -0
- package/dist/model/BetaMarketData.js +21 -0
- package/dist/model/BetaPrimeXMMarginCallThresholds.js +21 -0
- package/dist/model/BetaPrimeXMMarginRequirementBreakdown.js +21 -0
- package/dist/model/BetaPrimeXMMarginThreshold.js +21 -0
- package/dist/model/BetaPrimeXMOffsetCreditBreakdown.js +21 -0
- package/dist/model/BetaSetFundingSettingsResponse.js +21 -0
- package/dist/model/BetaTierPairRateEntry.js +21 -0
- package/dist/model/BlindMatchMetadata.js +21 -0
- package/dist/model/CancelAdvancedTransferResponse.js +21 -0
- package/dist/model/CommissionDetailTotal.js +21 -0
- package/dist/model/CreateAdvancedTransferRequest.js +21 -0
- package/dist/model/CreateAdvancedTransferResponse.js +21 -0
- package/dist/model/CrossMarginPrimeDerivativesEquityBreakdown.js +21 -0
- package/dist/model/CrossMarginPrimeMarginSummary.js +21 -0
- package/dist/model/CrossMarginPrimeRiskNettingInfo.js +21 -0
- package/dist/model/CrossMarginPrimeSpotEquityBreakdown.js +21 -0
- package/dist/model/CrossMarginPrimeXMPosition.js +21 -0
- package/dist/model/CrossMarginRiskParameters.js +21 -0
- package/dist/model/FcmScheduledMaintenance.js +21 -0
- package/dist/model/FcmTradingSessionDetails.js +21 -0
- package/dist/model/FundMovement.js +21 -0
- package/dist/model/FutureProductDetails.js +21 -0
- package/dist/model/GetCrossMarginPrimeOverviewResponse.js +21 -0
- package/dist/model/GetCrossMarginRiskParametersResponse.js +21 -0
- package/dist/model/GetFcmEquityResponse.js +21 -0
- package/dist/model/GetMarketDataResponse.js +21 -0
- package/dist/model/GetTransactionTravelRuleDataResponse.js +21 -0
- package/dist/model/ListAdvancedTransferTransactionsResponse.js +21 -0
- package/dist/model/ListAdvancedTransfersResponse.js +21 -0
- package/dist/model/MarketData.js +21 -0
- package/dist/model/PerpetualProductDetails.js +21 -0
- package/dist/model/PrimeXMMarginCallThresholds.js +21 -0
- package/dist/model/PrimeXMMarginRequirementBreakdown.js +21 -0
- package/dist/model/PrimeXMMarginThreshold.js +21 -0
- package/dist/model/PrimeXMOffsetCreditBreakdown.js +21 -0
- package/dist/model/SetFundingSettingsRequest.js +21 -0
- package/dist/model/SetFundingSettingsResponse.js +21 -0
- package/dist/model/TierPairRateEntry.js +21 -0
- package/dist/model/ValidatorAllocation.js +21 -0
- package/dist/model/ValidatorUnstakePreview.js +21 -0
- package/dist/model/enums/AdvancedTransferState.js +34 -0
- package/dist/model/enums/AdvancedTransferType.js +29 -0
- package/dist/model/enums/BetaPrimeXMControlStatus.js +32 -0
- package/dist/model/enums/BetaPrimeXMHealthStatus.js +36 -0
- package/dist/model/enums/BetaPrimeXMMarginLevel.js +34 -0
- package/dist/model/enums/BetaPrimeXMMarginRequirementType.js +31 -0
- package/dist/model/enums/BetaPrimeXMMarginThresholdType.js +32 -0
- package/dist/model/enums/ContractExpiryType.js +31 -0
- package/dist/model/enums/ExpiringContractStatus.js +31 -0
- package/dist/model/enums/FcmMarginHealthState.js +33 -0
- package/dist/model/enums/FcmTradingSessionClosedReason.js +32 -0
- package/dist/model/enums/FcmTradingSessionState.js +34 -0
- package/dist/model/enums/PrimeXMControlStatus.js +32 -0
- package/dist/model/enums/PrimeXMHealthStatus.js +36 -0
- package/dist/model/enums/PrimeXMMarginLevel.js +34 -0
- package/dist/model/enums/PrimeXMMarginRequirementType.js +31 -0
- package/dist/model/enums/PrimeXMMarginThresholdType.js +32 -0
- package/dist/model/enums/ProductType.js +30 -0
- package/dist/model/enums/RewardSubtype.js +2 -1
- package/dist/model/enums/RiskManagementType.js +31 -0
- package/dist/model/enums/SecondaryPermission.js +31 -0
- package/dist/model/enums/UserRole.js +2 -1
- package/dist/model/enums/XMLiquidationStatus.js +34 -0
- package/dist/model/enums/index.js +34 -2
- package/dist/model/primeBetaSetFundingSettingsRequest.js +21 -0
- package/dist/services.js +3 -1
- package/dist/shared/paginatedResponse.js +2 -0
- package/dist/transactions/index.js +13 -0
- package/dist/types/advancedTransfers/index.d.ts +31 -0
- package/dist/types/advancedTransfers/types.d.ts +46 -0
- package/dist/types/clients/clientWithServices.d.ts +10 -0
- package/dist/types/clients/clientWithServicesTypes.d.ts +5 -0
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/financing/index.d.ts +9 -1
- package/dist/types/financing/types.d.ts +26 -1
- package/dist/types/futures/index.d.ts +4 -2
- package/dist/types/futures/types.d.ts +5 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/model/ActiveLiquidationSummary.d.ts +31 -0
- package/dist/types/model/{TravelRuleEntry.d.ts → AdvancedTransfer.d.ts} +11 -16
- package/dist/types/model/BetaCrossMarginPrimeDerivativesEquityBreakdown.d.ts +40 -0
- package/dist/types/model/BetaCrossMarginPrimeMarginSummary.d.ts +100 -0
- package/dist/types/model/BetaCrossMarginPrimeRiskNettingInfo.d.ts +51 -0
- package/dist/types/model/BetaCrossMarginPrimeSpotEquityBreakdown.d.ts +44 -0
- package/dist/types/model/BetaCrossMarginPrimeXMPosition.d.ts +84 -0
- package/dist/types/model/BetaCrossMarginRiskParameters.d.ts +72 -0
- package/dist/types/model/BetaGetCrossMarginPrimeOverviewResponse.d.ts +31 -0
- package/dist/types/model/BetaGetCrossMarginRiskParametersResponse.d.ts +43 -0
- package/dist/types/model/BetaGetMarketDataResponse.d.ts +28 -0
- package/dist/types/model/BetaMarketData.d.ts +45 -0
- package/dist/types/model/BetaPrimeXMMarginCallThresholds.d.ts +42 -0
- package/dist/types/model/BetaPrimeXMMarginRequirementBreakdown.d.ts +41 -0
- package/dist/types/model/BetaPrimeXMMarginThreshold.d.ts +26 -0
- package/dist/types/model/BetaPrimeXMOffsetCreditBreakdown.d.ts +45 -0
- package/dist/types/model/BetaSetFundingSettingsResponse.d.ts +36 -0
- package/dist/types/model/BetaTierPairRateEntry.d.ts +36 -0
- package/dist/types/model/BlindMatchMetadata.d.ts +37 -0
- package/dist/types/model/CancelAdvancedTransferResponse.d.ts +28 -0
- package/dist/types/model/CommissionDetailTotal.d.ts +40 -0
- package/dist/types/model/{CreateAddressGroup.d.ts → CreateAdvancedTransferRequest.d.ts} +7 -7
- package/dist/types/model/{DateOfBirth.d.ts → CreateAdvancedTransferResponse.d.ts} +7 -5
- package/dist/types/model/CrossMarginOverview.d.ts +2 -0
- package/dist/types/model/CrossMarginPrimeDerivativesEquityBreakdown.d.ts +40 -0
- package/dist/types/model/CrossMarginPrimeMarginSummary.d.ts +100 -0
- package/dist/types/model/CrossMarginPrimeRiskNettingInfo.d.ts +51 -0
- package/dist/types/model/CrossMarginPrimeSpotEquityBreakdown.d.ts +44 -0
- package/dist/types/model/CrossMarginPrimeXMPosition.d.ts +84 -0
- package/dist/types/model/CrossMarginRiskParameters.d.ts +72 -0
- package/dist/types/model/EntityUser.d.ts +9 -0
- package/dist/types/model/{StakingInputs.d.ts → FcmScheduledMaintenance.d.ts} +8 -4
- package/dist/types/model/FcmTradingSessionDetails.d.ts +51 -0
- package/dist/types/model/Fill.d.ts +4 -0
- package/dist/types/model/FundMovement.d.ts +30 -0
- package/dist/types/model/FutureProductDetails.d.ts +59 -0
- package/dist/types/model/GetCrossMarginPrimeOverviewResponse.d.ts +31 -0
- package/dist/types/model/GetCrossMarginRiskParametersResponse.d.ts +43 -0
- package/dist/types/model/GetFcmEquityResponse.d.ts +37 -0
- package/dist/types/model/GetFcmRiskLimitsResponse.d.ts +6 -0
- package/dist/types/model/{GetWalletAddressesResponse.d.ts → GetMarketDataResponse.d.ts} +8 -5
- package/dist/types/model/GetTransactionTravelRuleDataResponse.d.ts +31 -0
- package/dist/types/model/ListAdvancedTransferTransactionsResponse.d.ts +29 -0
- package/dist/types/model/ListAdvancedTransfersResponse.d.ts +28 -0
- package/dist/types/model/MarketData.d.ts +45 -0
- package/dist/types/model/NetworkDetails.d.ts +12 -0
- package/dist/types/model/Order.d.ts +4 -0
- package/dist/types/model/PerpetualProductDetails.d.ts +41 -0
- package/dist/types/model/PortfolioUser.d.ts +9 -0
- package/dist/types/model/PreviewUnstakeResponse.d.ts +17 -0
- package/dist/types/model/PrimeXMMarginCallThresholds.d.ts +42 -0
- package/dist/types/model/PrimeXMMarginRequirementBreakdown.d.ts +41 -0
- package/dist/types/model/PrimeXMMarginThreshold.d.ts +26 -0
- package/dist/types/model/PrimeXMOffsetCreditBreakdown.d.ts +45 -0
- package/dist/types/model/Product.d.ts +6 -0
- package/dist/types/model/QuoteResponse.d.ts +4 -0
- package/dist/types/model/RFQ.d.ts +4 -0
- package/dist/types/model/SetFundingSettingsRequest.d.ts +44 -0
- package/dist/types/model/SetFundingSettingsResponse.d.ts +36 -0
- package/dist/types/model/TierPairRateEntry.d.ts +36 -0
- package/dist/types/model/ValidatorAllocation.d.ts +32 -0
- package/dist/types/model/ValidatorUnstakePreview.d.ts +40 -0
- package/dist/types/model/WalletUnstakeInputs.d.ts +5 -0
- package/dist/types/model/XMRiskNettingInfo.d.ts +2 -2
- package/dist/types/model/enums/AdvancedTransferState.d.ts +30 -0
- package/dist/types/model/enums/AdvancedTransferType.d.ts +25 -0
- package/dist/types/model/enums/BetaPrimeXMControlStatus.d.ts +28 -0
- package/dist/types/model/enums/BetaPrimeXMHealthStatus.d.ts +32 -0
- package/dist/types/model/enums/BetaPrimeXMMarginLevel.d.ts +30 -0
- package/dist/types/model/enums/BetaPrimeXMMarginRequirementType.d.ts +27 -0
- package/dist/types/model/enums/BetaPrimeXMMarginThresholdType.d.ts +28 -0
- package/dist/types/model/enums/ContractExpiryType.d.ts +27 -0
- package/dist/types/model/enums/ExpiringContractStatus.d.ts +27 -0
- package/dist/types/model/enums/FcmMarginHealthState.d.ts +29 -0
- package/dist/types/model/enums/FcmTradingSessionClosedReason.d.ts +28 -0
- package/dist/types/model/enums/FcmTradingSessionState.d.ts +30 -0
- package/dist/types/model/enums/PrimeXMControlStatus.d.ts +28 -0
- package/dist/types/model/enums/PrimeXMHealthStatus.d.ts +32 -0
- package/dist/types/model/enums/PrimeXMMarginLevel.d.ts +30 -0
- package/dist/types/model/enums/PrimeXMMarginRequirementType.d.ts +27 -0
- package/dist/types/model/enums/PrimeXMMarginThresholdType.d.ts +28 -0
- package/dist/types/model/{VASP.d.ts → enums/ProductType.d.ts} +6 -7
- package/dist/types/model/enums/RewardSubtype.d.ts +3 -2
- package/dist/types/model/enums/RiskManagementType.d.ts +27 -0
- package/dist/types/model/{TravelRuleWalletDetails.d.ts → enums/SecondaryPermission.d.ts} +7 -8
- package/dist/types/model/enums/UserRole.d.ts +3 -2
- package/dist/types/model/enums/XMLiquidationStatus.d.ts +30 -0
- package/dist/types/model/enums/index.d.ts +16 -0
- package/dist/types/model/googleTypeDate.d.ts +1 -1
- package/dist/types/model/index.d.ts +35 -4
- package/dist/types/model/primeBetaSetFundingSettingsRequest.d.ts +44 -0
- package/dist/types/services.d.ts +1 -0
- package/dist/types/shared/paginatedResponse.d.ts +6 -0
- package/dist/types/transactions/index.d.ts +3 -1
- package/dist/types/transactions/types.d.ts +6 -1
- package/package.json +2 -2
- package/dist/model/TravelRuleEntry.js +0 -21
- package/dist/model/TravelRuleWalletDetails.js +0 -21
- package/dist/model/VASP.js +0 -21
- package/dist/model/enumPrefixes.js +0 -330
- package/dist/shared/dynamicEnumValidation.js +0 -184
- package/dist/shared/dynamicEnumValidation.old.js +0 -746
- package/dist/shared/enumHelpers.js +0 -219
- package/dist/shared/enumRegistry.js +0 -153
- package/dist/shared/enumValidationCore.js +0 -194
- package/dist/shared/enumValidators.js +0 -115
- package/dist/shared/fieldMapping.js +0 -242
- package/dist/shared/serviceContext.js +0 -157
- package/dist/types/model/enumPrefixes.d.ts +0 -206
- package/dist/types/shared/dynamicEnumValidation.d.ts +0 -48
- package/dist/types/shared/dynamicEnumValidation.old.d.ts +0 -143
- package/dist/types/shared/enumHelpers.d.ts +0 -135
- package/dist/types/shared/enumRegistry.d.ts +0 -74
- package/dist/types/shared/enumValidationCore.d.ts +0 -68
- package/dist/types/shared/enumValidators.d.ts +0 -117
- package/dist/types/shared/fieldMapping.d.ts +0 -35
- package/dist/types/shared/serviceContext.d.ts +0 -46
|
@@ -3,6 +3,7 @@ export type { AddressBookEntry } from './AddressBookEntry';
|
|
|
3
3
|
export type { DisplayUser } from './DisplayUser';
|
|
4
4
|
export type { AcceptQuoteResponse } from './AcceptQuoteResponse';
|
|
5
5
|
export type { Accrual } from './Accrual';
|
|
6
|
+
export type { ActiveLiquidationSummary } from './ActiveLiquidationSummary';
|
|
6
7
|
export type { Activity } from './Activity';
|
|
7
8
|
export type { ActivityCreationResponse } from './ActivityCreationResponse';
|
|
8
9
|
export type { ActivityMetadataAccount } from './ActivityMetadataAccount';
|
|
@@ -10,6 +11,7 @@ export type { ActivityMetadataConsensus } from './ActivityMetadataConsensus';
|
|
|
10
11
|
export type { ActivityMetadataTransactions } from './ActivityMetadataTransactions';
|
|
11
12
|
export type { AddressEntry } from './AddressEntry';
|
|
12
13
|
export type { AddressGroup } from './AddressGroup';
|
|
14
|
+
export type { AdvancedTransfer } from './AdvancedTransfer';
|
|
13
15
|
export type { AggregatedFiatBalance } from './AggregatedFiatBalance';
|
|
14
16
|
export type { Allocation } from './Allocation';
|
|
15
17
|
export type { AllocationLeg } from './AllocationLeg';
|
|
@@ -18,16 +20,36 @@ export type { Asset } from './Asset';
|
|
|
18
20
|
export type { AssetBalance } from './AssetBalance';
|
|
19
21
|
export type { AssetChange } from './AssetChange';
|
|
20
22
|
export type { Balance } from './Balance';
|
|
23
|
+
export type { CrossMarginPrimeDerivativesEquityBreakdown } from './CrossMarginPrimeDerivativesEquityBreakdown';
|
|
24
|
+
export type { CrossMarginPrimeMarginSummary } from './CrossMarginPrimeMarginSummary';
|
|
25
|
+
export type { CrossMarginPrimeRiskNettingInfo } from './CrossMarginPrimeRiskNettingInfo';
|
|
26
|
+
export type { CrossMarginPrimeSpotEquityBreakdown } from './CrossMarginPrimeSpotEquityBreakdown';
|
|
27
|
+
export type { CrossMarginPrimeXMPosition } from './CrossMarginPrimeXMPosition';
|
|
28
|
+
export type { CrossMarginRiskParameters } from './CrossMarginRiskParameters';
|
|
29
|
+
export type { GetCrossMarginPrimeOverviewResponse } from './GetCrossMarginPrimeOverviewResponse';
|
|
30
|
+
export type { GetCrossMarginRiskParametersResponse } from './GetCrossMarginRiskParametersResponse';
|
|
31
|
+
export type { GetMarketDataResponse } from './GetMarketDataResponse';
|
|
32
|
+
export type { MarketData } from './MarketData';
|
|
33
|
+
export type { PrimeXMMarginCallThresholds } from './PrimeXMMarginCallThresholds';
|
|
34
|
+
export type { PrimeXMMarginRequirementBreakdown } from './PrimeXMMarginRequirementBreakdown';
|
|
35
|
+
export type { PrimeXMMarginThreshold } from './PrimeXMMarginThreshold';
|
|
36
|
+
export type { PrimeXMOffsetCreditBreakdown } from './PrimeXMOffsetCreditBreakdown';
|
|
37
|
+
export type { SetFundingSettingsResponse } from './SetFundingSettingsResponse';
|
|
38
|
+
export type { TierPairRateEntry } from './TierPairRateEntry';
|
|
39
|
+
export type { BlindMatchMetadata } from './BlindMatchMetadata';
|
|
21
40
|
export type { BlockchainAddress } from './BlockchainAddress';
|
|
22
41
|
export type { BuyingPower } from './BuyingPower';
|
|
42
|
+
export type { CancelAdvancedTransferResponse } from './CancelAdvancedTransferResponse';
|
|
23
43
|
export type { CancelFuturesSweepResponse } from './CancelFuturesSweepResponse';
|
|
24
44
|
export type { CancelOrderResponse } from './CancelOrderResponse';
|
|
25
45
|
export type { Candle } from './Candle';
|
|
26
46
|
export type { Commission } from './Commission';
|
|
47
|
+
export type { CommissionDetailTotal } from './CommissionDetailTotal';
|
|
27
48
|
export type { Conversion } from './Conversion';
|
|
28
49
|
export type { ConversionDetail } from './ConversionDetail';
|
|
29
50
|
export type { Counterparty } from './Counterparty';
|
|
30
51
|
export type { CounterpartyDestination } from './CounterpartyDestination';
|
|
52
|
+
export type { CreateAdvancedTransferResponse } from './CreateAdvancedTransferResponse';
|
|
31
53
|
export type { CreateAllocationRequest } from './CreateAllocationRequest';
|
|
32
54
|
export type { CreateAllocationResponse } from './CreateAllocationResponse';
|
|
33
55
|
export type { CreateAllocationResponseBody } from './CreateAllocationResponseBody';
|
|
@@ -43,7 +65,6 @@ export type { CreateWalletResponse } from './CreateWalletResponse';
|
|
|
43
65
|
export type { CreateWalletTransferResponse } from './CreateWalletTransferResponse';
|
|
44
66
|
export type { CreateWalletWithdrawalResponse } from './CreateWalletWithdrawalResponse';
|
|
45
67
|
export type { CrossMarginOverview } from './CrossMarginOverview';
|
|
46
|
-
export type { DateOfBirth } from './DateOfBirth';
|
|
47
68
|
export type { DefiBalance } from './DefiBalance';
|
|
48
69
|
export type { DestinationAlloc } from './DestinationAlloc';
|
|
49
70
|
export type { DetailedAddress } from './DetailedAddress';
|
|
@@ -56,7 +77,11 @@ export type { FCMMarginCall } from './FCMMarginCall';
|
|
|
56
77
|
export type { FcmFuturesSweep } from './FcmFuturesSweep';
|
|
57
78
|
export type { FcmFuturesSweepRequestAmount } from './FcmFuturesSweepRequestAmount';
|
|
58
79
|
export type { FcmPosition } from './FcmPosition';
|
|
80
|
+
export type { FcmScheduledMaintenance } from './FcmScheduledMaintenance';
|
|
81
|
+
export type { FcmTradingSessionDetails } from './FcmTradingSessionDetails';
|
|
59
82
|
export type { Fill } from './Fill';
|
|
83
|
+
export type { FundMovement } from './FundMovement';
|
|
84
|
+
export type { FutureProductDetails } from './FutureProductDetails';
|
|
60
85
|
export type { GetActivityResponse } from './GetActivityResponse';
|
|
61
86
|
export type { GetAllocationResponse } from './GetAllocationResponse';
|
|
62
87
|
export type { GetAllocationsByClientNettingIdResponse } from './GetAllocationsByClientNettingIdResponse';
|
|
@@ -70,6 +95,7 @@ export type { GetEntityPaymentMethodsResponse } from './GetEntityPaymentMethodsR
|
|
|
70
95
|
export type { GetEntityUsersResponse } from './GetEntityUsersResponse';
|
|
71
96
|
export type { GetExistingLocatesResponse } from './GetExistingLocatesResponse';
|
|
72
97
|
export type { GetFcmBalanceResponse } from './GetFcmBalanceResponse';
|
|
98
|
+
export type { GetFcmEquityResponse } from './GetFcmEquityResponse';
|
|
73
99
|
export type { GetFcmMarginCallDetailsResponse } from './GetFcmMarginCallDetailsResponse';
|
|
74
100
|
export type { GetFcmRiskLimitsResponse } from './GetFcmRiskLimitsResponse';
|
|
75
101
|
export type { GetFcmSettingsResponse } from './GetFcmSettingsResponse';
|
|
@@ -104,6 +130,7 @@ export type { GetPostTradeCreditResponse } from './GetPostTradeCreditResponse';
|
|
|
104
130
|
export type { GetStakingStatusResponse } from './GetStakingStatusResponse';
|
|
105
131
|
export type { GetTFTieredPricingFeesResponse } from './GetTFTieredPricingFeesResponse';
|
|
106
132
|
export type { GetTransactionResponse } from './GetTransactionResponse';
|
|
133
|
+
export type { GetTransactionTravelRuleDataResponse } from './GetTransactionTravelRuleDataResponse';
|
|
107
134
|
export type { GetUnstakingStatusResponse } from './GetUnstakingStatusResponse';
|
|
108
135
|
export type { GetWalletBalanceResponse } from './GetWalletBalanceResponse';
|
|
109
136
|
export type { GetWalletDepositInstructionsResponse } from './GetWalletDepositInstructionsResponse';
|
|
@@ -113,6 +140,8 @@ export type { GetWalletsResponse } from './GetWalletsResponse';
|
|
|
113
140
|
export type { GetWithdrawalPowerResponse } from './GetWithdrawalPowerResponse';
|
|
114
141
|
export type { Invoice } from './Invoice';
|
|
115
142
|
export type { InvoiceItem } from './InvoiceItem';
|
|
143
|
+
export type { ListAdvancedTransferTransactionsResponse } from './ListAdvancedTransferTransactionsResponse';
|
|
144
|
+
export type { ListAdvancedTransfersResponse } from './ListAdvancedTransfersResponse';
|
|
116
145
|
export type { ListAggregateEntityPositionsResponse } from './ListAggregateEntityPositionsResponse';
|
|
117
146
|
export type { ListEntityBalancesResponse } from './ListEntityBalancesResponse';
|
|
118
147
|
export type { ListEntityPositionsResponse } from './ListEntityPositionsResponse';
|
|
@@ -144,6 +173,7 @@ export type { PaginatedResponse } from './PaginatedResponse';
|
|
|
144
173
|
export type { PaymentMethodDestination } from './PaymentMethodDestination';
|
|
145
174
|
export type { PaymentMethodDetails } from './PaymentMethodDetails';
|
|
146
175
|
export type { PaymentMethodSummary } from './PaymentMethodSummary';
|
|
176
|
+
export type { PerpetualProductDetails } from './PerpetualProductDetails';
|
|
147
177
|
export type { Portfolio } from './Portfolio';
|
|
148
178
|
export type { PortfolioStakingInitiateResponse } from './PortfolioStakingInitiateResponse';
|
|
149
179
|
export type { PortfolioStakingMetadata } from './PortfolioStakingMetadata';
|
|
@@ -178,13 +208,12 @@ export type { TransactionMetadata } from './TransactionMetadata';
|
|
|
178
208
|
export type { TransactionValidator } from './TransactionValidator';
|
|
179
209
|
export type { TransferLocation } from './TransferLocation';
|
|
180
210
|
export type { TravelRuleData } from './TravelRuleData';
|
|
181
|
-
export type { TravelRuleEntry } from './TravelRuleEntry';
|
|
182
211
|
export type { TravelRuleParty } from './TravelRuleParty';
|
|
183
|
-
export type { TravelRuleWalletDetails } from './TravelRuleWalletDetails';
|
|
184
212
|
export type { UnstakingStatus } from './UnstakingStatus';
|
|
185
213
|
export type { UserAction } from './UserAction';
|
|
186
|
-
export type {
|
|
214
|
+
export type { ValidatorAllocation } from './ValidatorAllocation';
|
|
187
215
|
export type { ValidatorStakingInfo } from './ValidatorStakingInfo';
|
|
216
|
+
export type { ValidatorUnstakePreview } from './ValidatorUnstakePreview';
|
|
188
217
|
export type { ValidatorUnstakingInfo } from './ValidatorUnstakingInfo';
|
|
189
218
|
export type { Wallet } from './Wallet';
|
|
190
219
|
export type { WalletClaimRewardsInputs } from './WalletClaimRewardsInputs';
|
|
@@ -203,7 +232,9 @@ export type { XMRiskNettingInfo } from './XMRiskNettingInfo';
|
|
|
203
232
|
export type { XMSummary } from './XMSummary';
|
|
204
233
|
export type { CreateATransferBetweenTwoWallets } from './createATransferBetweenTwoWallets';
|
|
205
234
|
export type { GoogleTypeDate } from './googleTypeDate';
|
|
235
|
+
export type { SetFundingSettingsRequest } from './SetFundingSettingsRequest';
|
|
206
236
|
export type { AcceptQuoteRequest } from './AcceptQuoteRequest';
|
|
237
|
+
export type { CreateAdvancedTransferRequest } from './CreateAdvancedTransferRequest';
|
|
207
238
|
export type { CreateConversionRequest } from './CreateConversionRequest';
|
|
208
239
|
export type { CreateNewLocatesRequest } from './CreateNewLocatesRequest';
|
|
209
240
|
export type { CreateOnchainTransactionRequest } from './CreateOnchainTransactionRequest';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-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
|
+
/**
|
|
21
|
+
* SetFundingSettingsRequest sets FCM funding configuration for an entity (creates a PCS proposal). entity_id is also bound from the URL path.
|
|
22
|
+
*/
|
|
23
|
+
export type PrimeBetaSetFundingSettingsRequest = {
|
|
24
|
+
/**
|
|
25
|
+
* Set the Derivatives Funding Portfolio that will be used to fund FCM margin calls and receive excess margin sweeps. Only one portfolio per entity.
|
|
26
|
+
*/
|
|
27
|
+
designatedFundingPortfolioId: string;
|
|
28
|
+
/**
|
|
29
|
+
* When true, USDC in your Derivatives Funding Portfolio will be converted to USD to meet FCM margin calls (Auto-Convert USDC).
|
|
30
|
+
*/
|
|
31
|
+
automaticConversionEnabled: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* When true, Coinbase affiliates may initiate loans on your behalf to meet FCM margin calls, per your Lending agreement. Available to Portfolio Margin or Cross Margin clients only. (Auto-Initiate Loans)
|
|
34
|
+
*/
|
|
35
|
+
automaticLoanEnabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* When true, any FCM account balance above your margin requirements will be automatically swept back to your Derivatives funding portfolio. (Auto-Return Excess Margin)
|
|
38
|
+
*/
|
|
39
|
+
automaticExcessReturnEnabled: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Weekend Buying Power: Setting a target amount to maintain in your Futures account above margin requirements. You can only withdraw funds in excess of this amount.
|
|
42
|
+
*/
|
|
43
|
+
excessFundsTargetAmount: string;
|
|
44
|
+
};
|
package/dist/types/services.d.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
export { AdvancedTransfersService, IAdvancedTransfersService, } from './advancedTransfers';
|
|
16
17
|
export { ActivitiesService, IActivitiesService } from './activities';
|
|
17
18
|
export { AddressBooksService, IAddressBooksService } from './addressBooks';
|
|
18
19
|
export { AllocationService, IAllocationService } from './allocations';
|
|
@@ -74,6 +74,9 @@ export declare function createPaginatedResponse<TRequest extends BasePaginatedRe
|
|
|
74
74
|
* Common data extractors for typical API responses
|
|
75
75
|
*/
|
|
76
76
|
export declare const ResponseExtractors: {
|
|
77
|
+
advancedTransfers: <T>(response: {
|
|
78
|
+
advancedTransfers?: T[];
|
|
79
|
+
}) => T[];
|
|
77
80
|
activities: <T>(response: {
|
|
78
81
|
activities?: T[];
|
|
79
82
|
}) => T[];
|
|
@@ -92,6 +95,9 @@ export declare const ResponseExtractors: {
|
|
|
92
95
|
invoices: <T>(response: {
|
|
93
96
|
invoices?: T[];
|
|
94
97
|
}) => T[];
|
|
98
|
+
marketData: <T>(response: {
|
|
99
|
+
marketData?: T[];
|
|
100
|
+
}) => T[];
|
|
95
101
|
orders: <T>(response: {
|
|
96
102
|
orders?: T[];
|
|
97
103
|
}) => T[];
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { IPrimeApiClient, CoinbaseCallOptions } from '../clients';
|
|
17
|
-
import { CreateConversionRequest, CreateConversionResponse, CreateOnchainTransactionRequest, CreateOnchainTransactionResponse, CreateTransferRequest, CreateTransferResponse, CreateWithdrawalRequest, CreateWithdrawalResponse, GetTransactionRequest, GetTransactionResponse, ListPortfolioTransactionsRequest, ListPortfolioTransactionsResponse, ListWalletTransactionsRequest, ListWalletTransactionsResponse, SubmitDepositTravelRuleRequest, SubmitDepositTravelRuleResponse } from './types';
|
|
17
|
+
import { CreateConversionRequest, CreateConversionResponse, CreateOnchainTransactionRequest, CreateOnchainTransactionResponse, CreateTransferRequest, CreateTransferResponse, CreateWithdrawalRequest, CreateWithdrawalResponse, GetTransactionRequest, GetTransactionResponse, ListPortfolioTransactionsRequest, ListPortfolioTransactionsResponse, ListWalletTransactionsRequest, ListWalletTransactionsResponse, SubmitDepositTravelRuleRequest, SubmitDepositTravelRuleResponse, GetTransactionTravelRuleDataRequest, GetTransactionTravelRuleDataResponse } from './types';
|
|
18
18
|
export interface ITransactionsService {
|
|
19
19
|
getTransaction(request: GetTransactionRequest, options?: CoinbaseCallOptions): Promise<GetTransactionResponse>;
|
|
20
20
|
listPortfolioTransactions(request: ListPortfolioTransactionsRequest, options?: CoinbaseCallOptions): Promise<ListPortfolioTransactionsResponse>;
|
|
@@ -24,6 +24,7 @@ export interface ITransactionsService {
|
|
|
24
24
|
createWithdrawal(request: CreateWithdrawalRequest, options?: CoinbaseCallOptions): Promise<CreateWithdrawalResponse>;
|
|
25
25
|
createOnchainTransaction(request: CreateOnchainTransactionRequest, options?: CoinbaseCallOptions): Promise<CreateOnchainTransactionResponse>;
|
|
26
26
|
submitDepositTravelRule(request: SubmitDepositTravelRuleRequest, options?: CoinbaseCallOptions): Promise<SubmitDepositTravelRuleResponse>;
|
|
27
|
+
getTransactionTravelRuleData(request: GetTransactionTravelRuleDataRequest, options?: CoinbaseCallOptions): Promise<GetTransactionTravelRuleDataResponse>;
|
|
27
28
|
}
|
|
28
29
|
export declare class TransactionsService implements ITransactionsService {
|
|
29
30
|
private client;
|
|
@@ -36,4 +37,5 @@ export declare class TransactionsService implements ITransactionsService {
|
|
|
36
37
|
createWithdrawal(request: CreateWithdrawalRequest, options?: CoinbaseCallOptions): Promise<CreateWithdrawalResponse>;
|
|
37
38
|
createOnchainTransaction(request: CreateOnchainTransactionRequest, options?: CoinbaseCallOptions): Promise<CreateOnchainTransactionResponse>;
|
|
38
39
|
submitDepositTravelRule(request: SubmitDepositTravelRuleRequest, options?: CoinbaseCallOptions): Promise<SubmitDepositTravelRuleResponse>;
|
|
40
|
+
getTransactionTravelRuleData(request: GetTransactionTravelRuleDataRequest, options?: CoinbaseCallOptions): Promise<GetTransactionTravelRuleDataResponse>;
|
|
39
41
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { Brand } from '../shared/brand';
|
|
17
17
|
import { TransactionType, TravelRuleStatus } from '../model/enums/';
|
|
18
|
-
import { GetPortfolioTransactionsResponse, GetWalletTransactionsResponse, GetTransactionResponse as internalGet, CreateConversionRequest as internalCreateConversion, CreateConversionResponse as internalCreateConversionResp, CreateATransferBetweenTwoWallets, CreateWalletWithdrawalRequest, CreateWalletWithdrawalResponse, CreateWalletTransferResponse, CreateOnchainTransactionRequest as internalCreate, CreateOnchainTransactionResponse as internalCreateResp, RequestToSubmitTravelRuleDataForAnExistingDepositTransaction, SubmitDepositTravelRuleDataResponse as internalSubmitTravelRuleResp } from '../model/';
|
|
18
|
+
import { GetPortfolioTransactionsResponse, GetWalletTransactionsResponse, GetTransactionResponse as internalGet, CreateConversionRequest as internalCreateConversion, CreateConversionResponse as internalCreateConversionResp, CreateATransferBetweenTwoWallets, CreateWalletWithdrawalRequest, CreateWalletWithdrawalResponse, CreateWalletTransferResponse, CreateOnchainTransactionRequest as internalCreate, CreateOnchainTransactionResponse as internalCreateResp, RequestToSubmitTravelRuleDataForAnExistingDepositTransaction, SubmitDepositTravelRuleDataResponse as internalSubmitTravelRuleResp, GetTransactionTravelRuleDataResponse as internalGetTransactionTravelRuleResp } from '../model/';
|
|
19
19
|
import { Pagination } from '../shared/pagination';
|
|
20
20
|
import { PaginatedResponseMethods, BasePaginatedRequest } from '../shared/paginatedResponse';
|
|
21
21
|
export type ListPortfolioTransactionsRequest = Pagination & {
|
|
@@ -68,4 +68,9 @@ export type SubmitDepositTravelRuleRequest = RequestToSubmitTravelRuleDataForAnE
|
|
|
68
68
|
transactionId: string;
|
|
69
69
|
};
|
|
70
70
|
export type SubmitDepositTravelRuleResponse = Brand<internalSubmitTravelRuleResp, 'SubmitDepositTravelRuleResponse'>;
|
|
71
|
+
export type GetTransactionTravelRuleDataRequest = {
|
|
72
|
+
portfolioId: string;
|
|
73
|
+
transactionId: string;
|
|
74
|
+
};
|
|
75
|
+
export type GetTransactionTravelRuleDataResponse = Brand<internalGetTransactionTravelRuleResp, 'GetTransactionTravelRuleDataResponse'>;
|
|
71
76
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinbase-sample/prime-sdk-ts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/types/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -72,6 +72,6 @@
|
|
|
72
72
|
"typescript": "^5.9.3"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@coinbase-sample/core-ts": "^0.
|
|
75
|
+
"@coinbase-sample/core-ts": "^0.3.0"
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
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 });
|
|
@@ -1,21 +0,0 @@
|
|
|
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 });
|
package/dist/model/VASP.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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 });
|
|
@@ -1,330 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright 2025-present Coinbase Global, Inc.
|
|
4
|
-
*
|
|
5
|
-
* This file is auto-generated during the type generation process.
|
|
6
|
-
* Do not edit manually - regenerate by running: npm run generate-types
|
|
7
|
-
*
|
|
8
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
-
* you may not use this file except in compliance with the License.
|
|
10
|
-
* You may obtain a copy of the License at
|
|
11
|
-
*
|
|
12
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
-
*
|
|
14
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
-
* See the License for the specific language governing permissions and
|
|
18
|
-
* limitations under the License.
|
|
19
|
-
*/
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.ENUM_ANALYSIS = exports.GENERATED_ENUM_PREFIXES = void 0;
|
|
22
|
-
/**
|
|
23
|
-
* Auto-generated enum prefix patterns extracted from OpenAPI specification
|
|
24
|
-
* Total enums analyzed: 43
|
|
25
|
-
* Prefix patterns discovered: 77
|
|
26
|
-
*/
|
|
27
|
-
exports.GENERATED_ENUM_PREFIXES = [
|
|
28
|
-
'ACTION_',
|
|
29
|
-
'ACTIVITY_CATEGORY_',
|
|
30
|
-
'ACTIVITY_LEVEL_',
|
|
31
|
-
'ACTIVITY_SECONDARY_',
|
|
32
|
-
'ACTIVITY_STATUS_',
|
|
33
|
-
'ACTIVITY_TYPE_',
|
|
34
|
-
'ADDRESS_BOOK_',
|
|
35
|
-
'ALLOCATION_STATUS_',
|
|
36
|
-
'BALANCE_',
|
|
37
|
-
'BENCHMARK_',
|
|
38
|
-
'BILATERAL_',
|
|
39
|
-
'BILLING_',
|
|
40
|
-
'CHANGE_',
|
|
41
|
-
'CLAIM_',
|
|
42
|
-
'COINBASE_',
|
|
43
|
-
'COMPLETE_',
|
|
44
|
-
'CONCENTRATION_',
|
|
45
|
-
'COUNTERPARTY_',
|
|
46
|
-
'CRYPTO_',
|
|
47
|
-
'DEPOSIT_',
|
|
48
|
-
'DESTINATION_',
|
|
49
|
-
'DESTINATION_PAYMENT_',
|
|
50
|
-
'FCM_FUTURES_',
|
|
51
|
-
'FCM_MARGIN_',
|
|
52
|
-
'FCM_POSITION_',
|
|
53
|
-
'FILL_OR_',
|
|
54
|
-
'FULL_',
|
|
55
|
-
'GOOD_UNTIL_',
|
|
56
|
-
'HIERARCHY_TYPE_',
|
|
57
|
-
'IMMEDIATE_OR_',
|
|
58
|
-
'INTERNAL_',
|
|
59
|
-
'INVOICE_STATE_',
|
|
60
|
-
'INVOICE_TYPE_',
|
|
61
|
-
'ITEM_',
|
|
62
|
-
'ITEM_APPROVAL_',
|
|
63
|
-
'LOAN_TYPE_',
|
|
64
|
-
'MACRO_',
|
|
65
|
-
'MARGIN_ADD_',
|
|
66
|
-
'METHOD_',
|
|
67
|
-
'MULTIPLE_',
|
|
68
|
-
'NETWORK_FAMILY_',
|
|
69
|
-
'NETWORK_TYPE_',
|
|
70
|
-
'NO_SECONDARY_',
|
|
71
|
-
'ONCHAIN_',
|
|
72
|
-
'OTHER_',
|
|
73
|
-
'OTHER_ACTIVITY_',
|
|
74
|
-
'OTHER_TRANSACTION_',
|
|
75
|
-
'PAYMENT_',
|
|
76
|
-
'PORTFOLIO_',
|
|
77
|
-
'POSITION_REFERENCE_',
|
|
78
|
-
'PRIME_CUSTODY_',
|
|
79
|
-
'PRODUCT_PERMISSION_',
|
|
80
|
-
'PROXY_',
|
|
81
|
-
'RATE_TYPE_',
|
|
82
|
-
'REMOVE_AUTHORIZED_',
|
|
83
|
-
'SHORT_',
|
|
84
|
-
'SHORT_BIASED_',
|
|
85
|
-
'SHORT_COLLATERAL_',
|
|
86
|
-
'SINGLE_COIN_',
|
|
87
|
-
'STAKE_ACCOUNT_',
|
|
88
|
-
'STAKE_AUTHORIZE_',
|
|
89
|
-
'STOP_',
|
|
90
|
-
'SWEEP_',
|
|
91
|
-
'TEAM_',
|
|
92
|
-
'TOTAL_',
|
|
93
|
-
'TRADE_',
|
|
94
|
-
'TRADING_',
|
|
95
|
-
'TRANSACTION_',
|
|
96
|
-
'TRANSACTION_IMPORT_',
|
|
97
|
-
'TRANSACTION_TYPE_',
|
|
98
|
-
'UNIFIED_TOTAL_',
|
|
99
|
-
'VAULT_',
|
|
100
|
-
'VOTE_',
|
|
101
|
-
'WALLET_TYPE_',
|
|
102
|
-
'WALLET_VISIBILITY_',
|
|
103
|
-
'WITHDRAWAL_',
|
|
104
|
-
'WITHDRAW_',
|
|
105
|
-
];
|
|
106
|
-
/**
|
|
107
|
-
* Detailed enum analysis for debugging and insights
|
|
108
|
-
*/
|
|
109
|
-
exports.ENUM_ANALYSIS = {
|
|
110
|
-
totalEnums: 43,
|
|
111
|
-
discoveredPrefixes: 77,
|
|
112
|
-
prefixPatterns: exports.GENERATED_ENUM_PREFIXES,
|
|
113
|
-
enumDetails: [
|
|
114
|
-
{
|
|
115
|
-
name: 'CoinbaseCustodyApiActivityType',
|
|
116
|
-
valueCount: 29,
|
|
117
|
-
file: 'coinbaseCustodyApiActivityType.ts',
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
name: 'CoinbaseCustodyApiAddressBookType',
|
|
121
|
-
valueCount: 3,
|
|
122
|
-
file: 'coinbaseCustodyApiAddressBookType.ts',
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
name: 'CoinbasePublicRestApiAction',
|
|
126
|
-
valueCount: 5,
|
|
127
|
-
file: 'coinbasePublicRestApiAction.ts',
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
name: 'CoinbasePublicRestApiActivityCategory',
|
|
131
|
-
valueCount: 7,
|
|
132
|
-
file: 'coinbasePublicRestApiActivityCategory.ts',
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
name: 'CoinbasePublicRestApiActivityLevel',
|
|
136
|
-
valueCount: 3,
|
|
137
|
-
file: 'coinbasePublicRestApiActivityLevel.ts',
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
name: 'CoinbasePublicRestApiActivitySecondaryType',
|
|
141
|
-
valueCount: 7,
|
|
142
|
-
file: 'coinbasePublicRestApiActivitySecondaryType.ts',
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
name: 'CoinbasePublicRestApiActivityStatus',
|
|
146
|
-
valueCount: 7,
|
|
147
|
-
file: 'coinbasePublicRestApiActivityStatus.ts',
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
name: 'CoinbasePublicRestApiActivityType',
|
|
151
|
-
valueCount: 42,
|
|
152
|
-
file: 'coinbasePublicRestApiActivityType.ts',
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
name: 'CoinbasePublicRestApiAllocationSizeType',
|
|
156
|
-
valueCount: 3,
|
|
157
|
-
file: 'coinbasePublicRestApiAllocationSizeType.ts',
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
name: 'CoinbasePublicRestApiAllocationStatus',
|
|
161
|
-
valueCount: 5,
|
|
162
|
-
file: 'coinbasePublicRestApiAllocationStatus.ts',
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
name: 'CoinbasePublicRestApiAssetChangeType',
|
|
166
|
-
valueCount: 5,
|
|
167
|
-
file: 'coinbasePublicRestApiAssetChangeType.ts',
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
name: 'CoinbasePublicRestApiBenchmark',
|
|
171
|
-
valueCount: 5,
|
|
172
|
-
file: 'coinbasePublicRestApiBenchmark.ts',
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
name: 'CoinbasePublicRestApiDestinationType',
|
|
176
|
-
valueCount: 4,
|
|
177
|
-
file: 'coinbasePublicRestApiDestinationType.ts',
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
name: 'CoinbasePublicRestApiFcmFuturesSweepStatus',
|
|
181
|
-
valueCount: 5,
|
|
182
|
-
file: 'coinbasePublicRestApiFcmFuturesSweepStatus.ts',
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
name: 'CoinbasePublicRestApiFcmMarginCallState',
|
|
186
|
-
valueCount: 5,
|
|
187
|
-
file: 'coinbasePublicRestApiFcmMarginCallState.ts',
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
name: 'CoinbasePublicRestApiFcmMarginCallType',
|
|
191
|
-
valueCount: 3,
|
|
192
|
-
file: 'coinbasePublicRestApiFcmMarginCallType.ts',
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
name: 'CoinbasePublicRestApiFcmPositionSide',
|
|
196
|
-
valueCount: 3,
|
|
197
|
-
file: 'coinbasePublicRestApiFcmPositionSide.ts',
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
name: 'CoinbasePublicRestApiHierarchyType',
|
|
201
|
-
valueCount: 3,
|
|
202
|
-
file: 'coinbasePublicRestApiHierarchyType.ts',
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
name: 'CoinbasePublicRestApiInvoiceState',
|
|
206
|
-
valueCount: 5,
|
|
207
|
-
file: 'coinbasePublicRestApiInvoiceState.ts',
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
name: 'CoinbasePublicRestApiInvoiceType',
|
|
211
|
-
valueCount: 6,
|
|
212
|
-
file: 'coinbasePublicRestApiInvoiceType.ts',
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
name: 'CoinbasePublicRestApiLoanType',
|
|
216
|
-
valueCount: 6,
|
|
217
|
-
file: 'coinbasePublicRestApiLoanType.ts',
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
name: 'CoinbasePublicRestApiMarginAddOnType',
|
|
221
|
-
valueCount: 5,
|
|
222
|
-
file: 'coinbasePublicRestApiMarginAddOnType.ts',
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
name: 'CoinbasePublicRestApiNetworkFamily',
|
|
226
|
-
valueCount: 3,
|
|
227
|
-
file: 'coinbasePublicRestApiNetworkFamily.ts',
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
name: 'CoinbasePublicRestApiNetworkType',
|
|
231
|
-
valueCount: 3,
|
|
232
|
-
file: 'coinbasePublicRestApiNetworkType.ts',
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
name: 'CoinbasePublicRestApiOrderSide',
|
|
236
|
-
valueCount: 2,
|
|
237
|
-
file: 'coinbasePublicRestApiOrderSide.ts',
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
name: 'CoinbasePublicRestApiOrderStatus',
|
|
241
|
-
valueCount: 6,
|
|
242
|
-
file: 'coinbasePublicRestApiOrderStatus.ts',
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
name: 'CoinbasePublicRestApiOrderType',
|
|
246
|
-
valueCount: 7,
|
|
247
|
-
file: 'coinbasePublicRestApiOrderType.ts',
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
name: 'CoinbasePublicRestApiPaymentMethodType',
|
|
251
|
-
valueCount: 3,
|
|
252
|
-
file: 'coinbasePublicRestApiPaymentMethodType.ts',
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
name: 'CoinbasePublicRestApiPortfolioBalanceType',
|
|
256
|
-
valueCount: 5,
|
|
257
|
-
file: 'coinbasePublicRestApiPortfolioBalanceType.ts',
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
name: 'CoinbasePublicRestApiPositionReferenceType',
|
|
261
|
-
valueCount: 3,
|
|
262
|
-
file: 'coinbasePublicRestApiPositionReferenceType.ts',
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
name: 'CoinbasePublicRestApiProductPermissions',
|
|
266
|
-
valueCount: 3,
|
|
267
|
-
file: 'coinbasePublicRestApiProductPermissions.ts',
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
name: 'CoinbasePublicRestApiRateType',
|
|
271
|
-
valueCount: 5,
|
|
272
|
-
file: 'coinbasePublicRestApiRateType.ts',
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
name: 'CoinbasePublicRestApiSigningStatus',
|
|
276
|
-
valueCount: 2,
|
|
277
|
-
file: 'coinbasePublicRestApiSigningStatus.ts',
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
name: 'CoinbasePublicRestApiSortDirection',
|
|
281
|
-
valueCount: 2,
|
|
282
|
-
file: 'coinbasePublicRestApiSortDirection.ts',
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
name: 'CoinbasePublicRestApiTimeInForceType',
|
|
286
|
-
valueCount: 4,
|
|
287
|
-
file: 'coinbasePublicRestApiTimeInForceType.ts',
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
name: 'CoinbasePublicRestApiTransactionStatus',
|
|
291
|
-
valueCount: 21,
|
|
292
|
-
file: 'coinbasePublicRestApiTransactionStatus.ts',
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
name: 'CoinbasePublicRestApiTransactionType',
|
|
296
|
-
valueCount: 33,
|
|
297
|
-
file: 'coinbasePublicRestApiTransactionType.ts',
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
name: 'CoinbasePublicRestApiTransferLocationType',
|
|
301
|
-
valueCount: 6,
|
|
302
|
-
file: 'coinbasePublicRestApiTransferLocationType.ts',
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
name: 'CoinbasePublicRestApiUserRole',
|
|
306
|
-
valueCount: 9,
|
|
307
|
-
file: 'coinbasePublicRestApiUserRole.ts',
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
name: 'CoinbasePublicRestApiVisibilityStatus',
|
|
311
|
-
valueCount: 3,
|
|
312
|
-
file: 'coinbasePublicRestApiVisibilityStatus.ts',
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
name: 'CoinbasePublicRestApiWalletDepositInstructionType',
|
|
316
|
-
valueCount: 5,
|
|
317
|
-
file: 'coinbasePublicRestApiWalletDepositInstructionType.ts',
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
name: 'CoinbasePublicRestApiWalletType',
|
|
321
|
-
valueCount: 5,
|
|
322
|
-
file: 'coinbasePublicRestApiWalletType.ts',
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
name: 'CoinbasePublicRestApiWalletVisibility',
|
|
326
|
-
valueCount: 3,
|
|
327
|
-
file: 'coinbasePublicRestApiWalletVisibility.ts',
|
|
328
|
-
},
|
|
329
|
-
],
|
|
330
|
-
};
|