@coinbase-sample/prime-sdk-ts 0.8.1 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/advancedTransfers/index.js +103 -0
  2. package/dist/advancedTransfers/types.js +2 -0
  3. package/dist/constants.js +1 -1
  4. package/dist/futures/index.js +12 -0
  5. package/dist/model/AdvancedTransfer.js +21 -0
  6. package/dist/model/BlindMatchMetadata.js +21 -0
  7. package/dist/model/CancelAdvancedTransferResponse.js +21 -0
  8. package/dist/model/CommissionDetailTotal.js +21 -0
  9. package/dist/model/CreateAdvancedTransferRequest.js +21 -0
  10. package/dist/model/CreateAdvancedTransferResponse.js +21 -0
  11. package/dist/model/DateOfBirth.js +1 -1
  12. package/dist/model/FcmScheduledMaintenance.js +21 -0
  13. package/dist/model/FcmTradingSessionDetails.js +21 -0
  14. package/dist/model/FundMovement.js +21 -0
  15. package/dist/model/FutureProductDetails.js +21 -0
  16. package/dist/model/GetFcmEquityResponse.js +21 -0
  17. package/dist/model/GetStakingStatusResponse.js +21 -0
  18. package/dist/model/GetTransactionTravelRuleDataResponse.js +21 -0
  19. package/dist/model/ListAdvancedTransferTransactionsResponse.js +21 -0
  20. package/dist/model/ListAdvancedTransfersResponse.js +21 -0
  21. package/dist/model/PerpetualProductDetails.js +21 -0
  22. package/dist/model/StakingStatus.js +21 -0
  23. package/dist/model/SubmitDepositTravelRuleDataResponse.js +21 -0
  24. package/dist/model/TravelRuleData.js +21 -0
  25. package/dist/model/TravelRuleEntry.js +1 -1
  26. package/dist/model/TravelRuleWalletDetails.js +1 -1
  27. package/dist/model/VASP.js +1 -1
  28. package/dist/model/ValidatorAllocation.js +21 -0
  29. package/dist/model/ValidatorStakingInfo.js +21 -0
  30. package/dist/model/enums/AdvancedTransferState.js +34 -0
  31. package/dist/model/enums/AdvancedTransferType.js +29 -0
  32. package/dist/model/enums/ContractExpiryType.js +31 -0
  33. package/dist/model/enums/ExpiringContractStatus.js +31 -0
  34. package/dist/model/enums/FcmMarginHealthState.js +33 -0
  35. package/dist/model/enums/FcmTradingSessionClosedReason.js +32 -0
  36. package/dist/model/enums/FcmTradingSessionState.js +34 -0
  37. package/dist/model/enums/ProductType.js +30 -0
  38. package/dist/model/enums/RewardSubtype.js +2 -1
  39. package/dist/model/enums/RiskManagementType.js +31 -0
  40. package/dist/model/enums/SecondaryPermission.js +31 -0
  41. package/dist/model/enums/StakeType.js +28 -0
  42. package/dist/model/enums/index.js +4 -2
  43. package/dist/model/googleTypeDate.js +21 -0
  44. package/dist/model/requestToSubmitTravelRuleDataForAnExistingDepositTransaction.js +21 -0
  45. package/dist/staking/index.js +14 -0
  46. package/dist/transactions/index.js +16 -0
  47. package/dist/types/advancedTransfers/index.d.ts +31 -0
  48. package/dist/types/advancedTransfers/types.d.ts +46 -0
  49. package/dist/types/constants.d.ts +1 -1
  50. package/dist/types/futures/index.d.ts +4 -2
  51. package/dist/types/futures/types.d.ts +5 -1
  52. package/dist/types/index.d.ts +1 -1
  53. package/dist/types/model/AdvancedTransfer.d.ts +33 -0
  54. package/dist/types/model/Balance.d.ts +4 -0
  55. package/dist/types/model/BlindMatchMetadata.d.ts +37 -0
  56. package/dist/types/model/CancelAdvancedTransferResponse.d.ts +28 -0
  57. package/dist/types/model/CommissionDetailTotal.d.ts +40 -0
  58. package/dist/types/model/CreateAdvancedTransferRequest.d.ts +26 -0
  59. package/dist/types/model/CreateAdvancedTransferResponse.d.ts +26 -0
  60. package/dist/types/model/CreatePortfolioAddressBookEntryRequest.d.ts +0 -2
  61. package/dist/types/model/CreateWalletWithdrawalRequest.d.ts +2 -0
  62. package/dist/types/model/DateOfBirth.d.ts +1 -1
  63. package/dist/types/model/FcmScheduledMaintenance.d.ts +29 -0
  64. package/dist/types/model/FcmTradingSessionDetails.d.ts +51 -0
  65. package/dist/types/model/FundMovement.d.ts +30 -0
  66. package/dist/types/model/FutureProductDetails.d.ts +59 -0
  67. package/dist/types/model/GetFcmEquityResponse.d.ts +37 -0
  68. package/dist/types/model/GetStakingStatusResponse.d.ts +42 -0
  69. package/dist/types/model/GetTransactionTravelRuleDataResponse.d.ts +31 -0
  70. package/dist/types/model/ListAdvancedTransferTransactionsResponse.d.ts +29 -0
  71. package/dist/types/model/ListAdvancedTransfersResponse.d.ts +28 -0
  72. package/dist/types/model/PerpetualProductDetails.d.ts +41 -0
  73. package/dist/types/model/StakingStatus.d.ts +39 -0
  74. package/dist/types/model/SubmitDepositTravelRuleDataResponse.d.ts +22 -0
  75. package/dist/types/model/TravelRuleData.d.ts +37 -0
  76. package/dist/types/model/TravelRuleEntry.d.ts +1 -1
  77. package/dist/types/model/TravelRuleParty.d.ts +19 -4
  78. package/dist/types/model/TravelRuleWalletDetails.d.ts +1 -1
  79. package/dist/types/model/VASP.d.ts +1 -1
  80. package/dist/types/model/ValidatorAllocation.d.ts +32 -0
  81. package/dist/types/model/ValidatorStakingInfo.d.ts +30 -0
  82. package/dist/types/model/WalletUnstakeInputs.d.ts +5 -0
  83. package/dist/types/model/enums/AdvancedTransferState.d.ts +30 -0
  84. package/dist/types/model/enums/AdvancedTransferType.d.ts +25 -0
  85. package/dist/types/model/enums/ContractExpiryType.d.ts +27 -0
  86. package/dist/types/model/enums/ExpiringContractStatus.d.ts +27 -0
  87. package/dist/types/model/enums/FcmMarginHealthState.d.ts +29 -0
  88. package/dist/types/model/enums/FcmTradingSessionClosedReason.d.ts +28 -0
  89. package/dist/types/model/enums/FcmTradingSessionState.d.ts +30 -0
  90. package/dist/types/model/enums/ProductType.d.ts +26 -0
  91. package/dist/types/model/enums/RewardSubtype.d.ts +3 -2
  92. package/dist/types/model/enums/RiskManagementType.d.ts +27 -0
  93. package/dist/types/model/enums/SecondaryPermission.d.ts +27 -0
  94. package/dist/types/model/enums/StakeType.d.ts +24 -0
  95. package/dist/types/model/enums/index.d.ts +1 -0
  96. package/dist/types/model/googleTypeDate.d.ts +36 -0
  97. package/dist/types/model/index.d.ts +9 -4
  98. package/dist/types/model/requestToSubmitTravelRuleDataForAnExistingDepositTransaction.d.ts +26 -0
  99. package/dist/types/staking/index.d.ts +3 -1
  100. package/dist/types/staking/types.d.ts +6 -1
  101. package/dist/types/transactions/index.d.ts +3 -1
  102. package/dist/types/transactions/types.d.ts +6 -1
  103. package/package.json +1 -1
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2026-present Coinbase Global, Inc.
4
+ *
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ * Do not edit the class manually.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.AdvancedTransferState = void 0;
23
+ /**
24
+ * AdvancedTransferState represents the lifecycle state of an advanced transfer.
25
+ */
26
+ var AdvancedTransferState;
27
+ (function (AdvancedTransferState) {
28
+ AdvancedTransferState["AdvancedTransferStateCreated"] = "ADVANCED_TRANSFER_STATE_CREATED";
29
+ AdvancedTransferState["AdvancedTransferStateProcessing"] = "ADVANCED_TRANSFER_STATE_PROCESSING";
30
+ AdvancedTransferState["AdvancedTransferStateDone"] = "ADVANCED_TRANSFER_STATE_DONE";
31
+ AdvancedTransferState["AdvancedTransferStateCancelled"] = "ADVANCED_TRANSFER_STATE_CANCELLED";
32
+ AdvancedTransferState["AdvancedTransferStateFailed"] = "ADVANCED_TRANSFER_STATE_FAILED";
33
+ AdvancedTransferState["AdvancedTransferStateExpired"] = "ADVANCED_TRANSFER_STATE_EXPIRED";
34
+ })(AdvancedTransferState || (exports.AdvancedTransferState = AdvancedTransferState = {}));
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2026-present Coinbase Global, Inc.
4
+ *
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ * Do not edit the class manually.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.AdvancedTransferType = void 0;
23
+ /**
24
+ * AdvancedTransferType specifies the type of advanced transfer.
25
+ */
26
+ var AdvancedTransferType;
27
+ (function (AdvancedTransferType) {
28
+ AdvancedTransferType["AdvancedTransferTypeBlindMatch"] = "ADVANCED_TRANSFER_TYPE_BLIND_MATCH";
29
+ })(AdvancedTransferType || (exports.AdvancedTransferType = AdvancedTransferType = {}));
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2026-present Coinbase Global, Inc.
4
+ *
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ * Do not edit the class manually.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.ContractExpiryType = void 0;
23
+ /**
24
+ * - CONTRACT_EXPIRY_TYPE_UNSPECIFIED: Unspecified contract expiry type - CONTRACT_EXPIRY_TYPE_EXPIRING: Expiring futures contract - CONTRACT_EXPIRY_TYPE_PERPETUAL: Perpetual futures contract (no expiry)
25
+ */
26
+ var ContractExpiryType;
27
+ (function (ContractExpiryType) {
28
+ ContractExpiryType["ContractExpiryTypeUnspecified"] = "CONTRACT_EXPIRY_TYPE_UNSPECIFIED";
29
+ ContractExpiryType["ContractExpiryTypeExpiring"] = "CONTRACT_EXPIRY_TYPE_EXPIRING";
30
+ ContractExpiryType["ContractExpiryTypePerpetual"] = "CONTRACT_EXPIRY_TYPE_PERPETUAL";
31
+ })(ContractExpiryType || (exports.ContractExpiryType = ContractExpiryType = {}));
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2026-present Coinbase Global, Inc.
4
+ *
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ * Do not edit the class manually.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.ExpiringContractStatus = void 0;
23
+ /**
24
+ * - EXPIRING_CONTRACT_STATUS_UNKNOWN: Unknown/unset — returns all expiring contracts (backward compatible default) - EXPIRING_CONTRACT_STATUS_UNEXPIRED: Only unexpired contracts (contract_expiry is in the future) - EXPIRING_CONTRACT_STATUS_EXPIRED: Only expired contracts (contract_expiry is in the past) - EXPIRING_CONTRACT_STATUS_ALL: All contracts regardless of expiry status
25
+ */
26
+ var ExpiringContractStatus;
27
+ (function (ExpiringContractStatus) {
28
+ ExpiringContractStatus["ExpiringContractStatusUnexpired"] = "EXPIRING_CONTRACT_STATUS_UNEXPIRED";
29
+ ExpiringContractStatus["ExpiringContractStatusExpired"] = "EXPIRING_CONTRACT_STATUS_EXPIRED";
30
+ ExpiringContractStatus["ExpiringContractStatusAll"] = "EXPIRING_CONTRACT_STATUS_ALL";
31
+ })(ExpiringContractStatus || (exports.ExpiringContractStatus = ExpiringContractStatus = {}));
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2026-present Coinbase Global, Inc.
4
+ *
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ * Do not edit the class manually.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.FcmMarginHealthState = void 0;
23
+ /**
24
+ * The margin health state of an FCM account. - FCM_MARGIN_HEALTH_STATE_UNSPECIFIED: Unspecified margin health state. - FCM_MARGIN_HEALTH_STATE_HEALTHY: Account margin is healthy. - FCM_MARGIN_HEALTH_STATE_RESTRICTED: Account margin is restricted. - FCM_MARGIN_HEALTH_STATE_PRE_LIQUIDATION: Account is approaching liquidation. - FCM_MARGIN_HEALTH_STATE_LIQUIDATION: Account is in liquidation.
25
+ */
26
+ var FcmMarginHealthState;
27
+ (function (FcmMarginHealthState) {
28
+ FcmMarginHealthState["FcmMarginHealthStateUnspecified"] = "FCM_MARGIN_HEALTH_STATE_UNSPECIFIED";
29
+ FcmMarginHealthState["FcmMarginHealthStateHealthy"] = "FCM_MARGIN_HEALTH_STATE_HEALTHY";
30
+ FcmMarginHealthState["FcmMarginHealthStateRestricted"] = "FCM_MARGIN_HEALTH_STATE_RESTRICTED";
31
+ FcmMarginHealthState["FcmMarginHealthStatePreLiquidation"] = "FCM_MARGIN_HEALTH_STATE_PRE_LIQUIDATION";
32
+ FcmMarginHealthState["FcmMarginHealthStateLiquidation"] = "FCM_MARGIN_HEALTH_STATE_LIQUIDATION";
33
+ })(FcmMarginHealthState || (exports.FcmMarginHealthState = FcmMarginHealthState = {}));
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2026-present Coinbase Global, Inc.
4
+ *
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ * Do not edit the class manually.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.FcmTradingSessionClosedReason = void 0;
23
+ /**
24
+ * - FCM_TRADING_SESSION_CLOSED_REASON_UNDEFINED: Undefined closed reason - FCM_TRADING_SESSION_CLOSED_REASON_REGULAR_MARKET_CLOSE: Regular market close - FCM_TRADING_SESSION_CLOSED_REASON_EXCHANGE_MAINTENANCE: Exchange maintenance - FCM_TRADING_SESSION_CLOSED_REASON_VENDOR_MAINTENANCE: Vendor maintenance
25
+ */
26
+ var FcmTradingSessionClosedReason;
27
+ (function (FcmTradingSessionClosedReason) {
28
+ FcmTradingSessionClosedReason["FcmTradingSessionClosedReasonUndefined"] = "FCM_TRADING_SESSION_CLOSED_REASON_UNDEFINED";
29
+ FcmTradingSessionClosedReason["FcmTradingSessionClosedReasonRegularMarketClose"] = "FCM_TRADING_SESSION_CLOSED_REASON_REGULAR_MARKET_CLOSE";
30
+ FcmTradingSessionClosedReason["FcmTradingSessionClosedReasonExchangeMaintenance"] = "FCM_TRADING_SESSION_CLOSED_REASON_EXCHANGE_MAINTENANCE";
31
+ FcmTradingSessionClosedReason["FcmTradingSessionClosedReasonVendorMaintenance"] = "FCM_TRADING_SESSION_CLOSED_REASON_VENDOR_MAINTENANCE";
32
+ })(FcmTradingSessionClosedReason || (exports.FcmTradingSessionClosedReason = FcmTradingSessionClosedReason = {}));
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2026-present Coinbase Global, Inc.
4
+ *
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ * Do not edit the class manually.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.FcmTradingSessionState = void 0;
23
+ /**
24
+ * - FCM_TRADING_SESSION_STATE_UNDEFINED: Undefined session state - FCM_TRADING_SESSION_STATE_PRE_OPEN: Pre-open state, orders can be placed and cancelled - FCM_TRADING_SESSION_STATE_PRE_OPEN_NO_CANCEL: Pre-open state, orders cannot be cancelled - FCM_TRADING_SESSION_STATE_OPEN: Trading session is open - FCM_TRADING_SESSION_STATE_CLOSE: Trading session is closed - FCM_TRADING_SESSION_STATE_HALTED: Trading session is halted
25
+ */
26
+ var FcmTradingSessionState;
27
+ (function (FcmTradingSessionState) {
28
+ FcmTradingSessionState["FcmTradingSessionStateUndefined"] = "FCM_TRADING_SESSION_STATE_UNDEFINED";
29
+ FcmTradingSessionState["FcmTradingSessionStatePreOpen"] = "FCM_TRADING_SESSION_STATE_PRE_OPEN";
30
+ FcmTradingSessionState["FcmTradingSessionStatePreOpenNoCancel"] = "FCM_TRADING_SESSION_STATE_PRE_OPEN_NO_CANCEL";
31
+ FcmTradingSessionState["FcmTradingSessionStateOpen"] = "FCM_TRADING_SESSION_STATE_OPEN";
32
+ FcmTradingSessionState["FcmTradingSessionStateClose"] = "FCM_TRADING_SESSION_STATE_CLOSE";
33
+ FcmTradingSessionState["FcmTradingSessionStateHalted"] = "FCM_TRADING_SESSION_STATE_HALTED";
34
+ })(FcmTradingSessionState || (exports.FcmTradingSessionState = FcmTradingSessionState = {}));
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2026-present Coinbase Global, Inc.
4
+ *
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ * Do not edit the class manually.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.ProductType = void 0;
23
+ /**
24
+ * - UNKNOWN_PRODUCT_TYPE: Unknown product type - SPOT: Spot product - FUTURE: Future product
25
+ */
26
+ var ProductType;
27
+ (function (ProductType) {
28
+ ProductType["Spot"] = "SPOT";
29
+ ProductType["Future"] = "FUTURE";
30
+ })(ProductType || (exports.ProductType = ProductType = {}));
@@ -21,7 +21,7 @@
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
22
  exports.RewardSubtype = void 0;
23
23
  /**
24
- * - REWARD_SUBTYPE_UNKNOWN: An unknown reward subtype, reward subtype may not be supported in the API response yet - MEV_REWARD: A maximal extractable value reward i.e. sol mev rewards - INFLATION_REWARD: An inflationary reward i.e. solana inflationary rewards - BLOCK_REWARD: A block reward i.e. solana block rewards - VALIDATOR_REWARD: A validator reward i.e. ethereum validator (consensus layer) rewards - TRANSACTION_REWARD: A transaction reward i.e. ethereum transaction (execution layer) rewards - STAKING_FEE_REBATE_REWARD: A staking fee rebate reward i.e. coinbase pays rebates for staking fees to eligible delegators
24
+ * - REWARD_SUBTYPE_UNKNOWN: An unknown reward subtype, reward subtype may not be supported in the API response yet - MEV_REWARD: A maximal extractable value reward i.e. sol mev rewards - INFLATION_REWARD: An inflationary reward i.e. solana inflationary rewards - BLOCK_REWARD: A block reward i.e. solana block rewards - VALIDATOR_REWARD: A validator reward i.e. ethereum validator (consensus layer) rewards - TRANSACTION_REWARD: A transaction reward i.e. ethereum transaction (execution layer) rewards - STAKING_FEE_REBATE_REWARD: A staking fee rebate reward i.e. coinbase pays rebates for staking fees to eligible delegators - BUIDL_DIVIDEND: A BUIDL dividend reward i.e. dividends from BUIDL fund holdings
25
25
  */
26
26
  var RewardSubtype;
27
27
  (function (RewardSubtype) {
@@ -31,4 +31,5 @@ var RewardSubtype;
31
31
  RewardSubtype["ValidatorReward"] = "VALIDATOR_REWARD";
32
32
  RewardSubtype["TransactionReward"] = "TRANSACTION_REWARD";
33
33
  RewardSubtype["StakingFeeRebateReward"] = "STAKING_FEE_REBATE_REWARD";
34
+ RewardSubtype["BuidlDividend"] = "BUIDL_DIVIDEND";
34
35
  })(RewardSubtype || (exports.RewardSubtype = RewardSubtype = {}));
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2026-present Coinbase Global, Inc.
4
+ *
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ * Do not edit the class manually.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.RiskManagementType = void 0;
23
+ /**
24
+ * - RISK_MANAGEMENT_TYPE_UNSPECIFIED: Unspecified risk management type - RISK_MANAGEMENT_TYPE_MANAGED_BY_FCM: Risk is managed by FCM (Futures Commission Merchant) - RISK_MANAGEMENT_TYPE_MANAGED_BY_VENUE: Risk is managed by the venue
25
+ */
26
+ var RiskManagementType;
27
+ (function (RiskManagementType) {
28
+ RiskManagementType["RiskManagementTypeUnspecified"] = "RISK_MANAGEMENT_TYPE_UNSPECIFIED";
29
+ RiskManagementType["RiskManagementTypeManagedByFcm"] = "RISK_MANAGEMENT_TYPE_MANAGED_BY_FCM";
30
+ RiskManagementType["RiskManagementTypeManagedByVenue"] = "RISK_MANAGEMENT_TYPE_MANAGED_BY_VENUE";
31
+ })(RiskManagementType || (exports.RiskManagementType = RiskManagementType = {}));
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2026-present Coinbase Global, Inc.
4
+ *
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ * Do not edit the class manually.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.SecondaryPermission = void 0;
23
+ /**
24
+ * - SECONDARY_PERMISSION_UNKNOWN: nil value - VIDEO_APPROVER: A video approver - TEAM_APPROVER: A team approver - WEB3_SIGNER: A web3 signer
25
+ */
26
+ var SecondaryPermission;
27
+ (function (SecondaryPermission) {
28
+ SecondaryPermission["VideoApprover"] = "VIDEO_APPROVER";
29
+ SecondaryPermission["TeamApprover"] = "TEAM_APPROVER";
30
+ SecondaryPermission["Web3Signer"] = "WEB3_SIGNER";
31
+ })(SecondaryPermission || (exports.SecondaryPermission = SecondaryPermission = {}));
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2025-present Coinbase Global, Inc.
4
+ *
5
+ * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ * Do not edit the class manually.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.StakeType = void 0;
23
+ var StakeType;
24
+ (function (StakeType) {
25
+ StakeType["StakeTypeUnspecified"] = "STAKE_TYPE_UNSPECIFIED";
26
+ StakeType["StakeTypeInitialDeposit"] = "STAKE_TYPE_INITIAL_DEPOSIT";
27
+ StakeType["StakeTypeTopUp"] = "STAKE_TYPE_TOP_UP";
28
+ })(StakeType || (exports.StakeType = StakeType = {}));
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WalletType = exports.WalletDepositInstructionType = exports.VisibilityStatus = exports.ValidatorStatus = exports.UserRole = exports.UnstakeType = exports.TravelRuleWalletType = exports.TravelRuleStatus = exports.TransferLocationType = exports.TransactionType = exports.TransactionStatus = exports.TimeInForceType = exports.SortDirection = exports.SigningStatus = exports.RewardSubtype = exports.RateType = exports.ProductPermissions = exports.PositionReferenceType = exports.PortfolioBalanceType = exports.PegOffsetType = exports.PaymentMethodType = exports.OrderType = exports.OrderStatus = exports.OrderSide = exports.NetworkType = exports.NetworkFamily = exports.MarginAddOnType = exports.LoanType = exports.InvoiceType = exports.InvoiceState = exports.HierarchyType = exports.FcmPositionSide = exports.FcmMarginCallType = exports.FcmMarginCallState = exports.FcmFuturesSweepStatus = exports.EstimateType = exports.DestinationType = exports.CandlesGranularity = exports.Benchmark = exports.AssetChangeType = exports.AllocationStatus = exports.AllocationSizeType = exports.PrimeActivityType = exports.ActivityStatus = exports.ActivitySecondaryType = exports.ActivityLevel = exports.ActivityCategory = exports.Action = exports.AddressBookType = exports.CustodyActivityType = void 0;
4
- exports.XMParty = exports.XMMarginLevel = exports.XMEntityCallStatus = exports.XMControlStatus = exports.XMCallType = exports.XMCallStatus = exports.WalletVisibility = void 0;
3
+ exports.WalletDepositInstructionType = exports.VisibilityStatus = exports.ValidatorStatus = exports.UserRole = exports.UnstakeType = exports.TravelRuleWalletType = exports.TravelRuleStatus = exports.TransferLocationType = exports.TransactionType = exports.TransactionStatus = exports.TimeInForceType = exports.StakeType = exports.SortDirection = exports.SigningStatus = exports.RewardSubtype = exports.RateType = exports.ProductPermissions = exports.PositionReferenceType = exports.PortfolioBalanceType = exports.PegOffsetType = exports.PaymentMethodType = exports.OrderType = exports.OrderStatus = exports.OrderSide = exports.NetworkType = exports.NetworkFamily = exports.MarginAddOnType = exports.LoanType = exports.InvoiceType = exports.InvoiceState = exports.HierarchyType = exports.FcmPositionSide = exports.FcmMarginCallType = exports.FcmMarginCallState = exports.FcmFuturesSweepStatus = exports.EstimateType = exports.DestinationType = exports.CandlesGranularity = exports.Benchmark = exports.AssetChangeType = exports.AllocationStatus = exports.AllocationSizeType = exports.PrimeActivityType = exports.ActivityStatus = exports.ActivitySecondaryType = exports.ActivityLevel = exports.ActivityCategory = exports.Action = exports.AddressBookType = exports.CustodyActivityType = void 0;
4
+ exports.XMParty = exports.XMMarginLevel = exports.XMEntityCallStatus = exports.XMControlStatus = exports.XMCallType = exports.XMCallStatus = exports.WalletVisibility = exports.WalletType = void 0;
5
5
  var CustodyActivityType_1 = require("./CustodyActivityType");
6
6
  Object.defineProperty(exports, "CustodyActivityType", { enumerable: true, get: function () { return CustodyActivityType_1.ActivityType; } });
7
7
  var AddressBookType_1 = require("./AddressBookType");
@@ -78,6 +78,8 @@ var SigningStatus_1 = require("./SigningStatus");
78
78
  Object.defineProperty(exports, "SigningStatus", { enumerable: true, get: function () { return SigningStatus_1.SigningStatus; } });
79
79
  var SortDirection_1 = require("./SortDirection");
80
80
  Object.defineProperty(exports, "SortDirection", { enumerable: true, get: function () { return SortDirection_1.SortDirection; } });
81
+ var StakeType_1 = require("./StakeType");
82
+ Object.defineProperty(exports, "StakeType", { enumerable: true, get: function () { return StakeType_1.StakeType; } });
81
83
  var TimeInForceType_1 = require("./TimeInForceType");
82
84
  Object.defineProperty(exports, "TimeInForceType", { enumerable: true, get: function () { return TimeInForceType_1.TimeInForceType; } });
83
85
  var TransactionStatus_1 = require("./TransactionStatus");
@@ -0,0 +1,21 @@
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 });
@@ -0,0 +1,21 @@
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 });
@@ -178,5 +178,19 @@ class StakingService {
178
178
  return response.data;
179
179
  });
180
180
  }
181
+ getStakingStatus(request, options) {
182
+ return __awaiter(this, void 0, void 0, function* () {
183
+ (0, validation_1.validate)(request)
184
+ .requiredUUID((r) => r.portfolioId)
185
+ .requiredUUID((r) => r.walletId)
186
+ .check();
187
+ const { portfolioId, walletId } = request;
188
+ const response = yield this.client.request({
189
+ url: `portfolios/${portfolioId}/wallets/${walletId}/staking/status`,
190
+ callOptions: options,
191
+ });
192
+ return response.data;
193
+ });
194
+ }
181
195
  }
182
196
  exports.StakingService = StakingService;
@@ -175,5 +175,21 @@ class TransactionsService {
175
175
  return response.data;
176
176
  });
177
177
  }
178
+ submitDepositTravelRule(request, options) {
179
+ return __awaiter(this, void 0, void 0, function* () {
180
+ (0, validation_1.validate)(request)
181
+ .requiredUUID((r) => r.portfolioId)
182
+ .requiredUUID((r) => r.transactionId)
183
+ .check();
184
+ const bodyParams = Object.assign(Object.assign({}, request), { portfolioId: undefined, transactionId: undefined });
185
+ const response = yield this.client.request({
186
+ url: `portfolios/${request.portfolioId}/transactions/${request.transactionId}/travel_rule/deposit`,
187
+ bodyParams,
188
+ method: clients_1.Method.POST,
189
+ callOptions: options,
190
+ });
191
+ return response.data;
192
+ });
193
+ }
178
194
  }
179
195
  exports.TransactionsService = TransactionsService;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Copyright 2026-present Coinbase Global, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { IPrimeApiClient, CoinbaseCallOptions } from '../clients';
17
+ import { CancelAdvancedTransferRequest, CancelAdvancedTransferResponse, CreateAdvancedTransferRequest, CreateAdvancedTransferResponse, ListAdvancedTransferTransactionsRequest, ListAdvancedTransferTransactionsResponse, ListAdvancedTransfersRequest, ListAdvancedTransfersResponse } from './types';
18
+ export interface IAdvancedTransfersService {
19
+ listAdvancedTransfers(request: ListAdvancedTransfersRequest, options?: CoinbaseCallOptions): Promise<ListAdvancedTransfersResponse>;
20
+ createAdvancedTransfer(request: CreateAdvancedTransferRequest, options?: CoinbaseCallOptions): Promise<CreateAdvancedTransferResponse>;
21
+ cancelAdvancedTransfer(request: CancelAdvancedTransferRequest, options?: CoinbaseCallOptions): Promise<CancelAdvancedTransferResponse>;
22
+ listAdvancedTransferTransactions(request: ListAdvancedTransferTransactionsRequest, options?: CoinbaseCallOptions): Promise<ListAdvancedTransferTransactionsResponse>;
23
+ }
24
+ export declare class AdvancedTransfersService implements IAdvancedTransfersService {
25
+ private client;
26
+ constructor(client: IPrimeApiClient);
27
+ listAdvancedTransfers(request: ListAdvancedTransfersRequest, options?: CoinbaseCallOptions): Promise<ListAdvancedTransfersResponse>;
28
+ createAdvancedTransfer(request: CreateAdvancedTransferRequest, options?: CoinbaseCallOptions): Promise<CreateAdvancedTransferResponse>;
29
+ cancelAdvancedTransfer(request: CancelAdvancedTransferRequest, options?: CoinbaseCallOptions): Promise<CancelAdvancedTransferResponse>;
30
+ listAdvancedTransferTransactions(request: ListAdvancedTransferTransactionsRequest, options?: CoinbaseCallOptions): Promise<ListAdvancedTransferTransactionsResponse>;
31
+ }
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Copyright 2026-present Coinbase Global, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Brand } from '../shared/brand';
17
+ import { AdvancedTransferState, AdvancedTransferType } from '../model/enums';
18
+ import { AdvancedTransfer, ListAdvancedTransfersResponse as internalListAdvancedTransfersResponse, CreateAdvancedTransferResponse as internalCreateAdvancedTransferResponse, CancelAdvancedTransferResponse as internalCancelAdvancedTransferResponse, ListAdvancedTransferTransactionsResponse as internalListAdvancedTransferTransactionsResponse } from '../model';
19
+ import { Pagination } from '../shared/pagination';
20
+ import { PaginatedResponseMethods, BasePaginatedRequest } from '../shared/paginatedResponse';
21
+ export type ListAdvancedTransfersRequest = Pagination & {
22
+ portfolioId: string;
23
+ state?: AdvancedTransferState;
24
+ type?: AdvancedTransferType;
25
+ startTime?: string;
26
+ endTime?: string;
27
+ referenceId?: string;
28
+ };
29
+ type BaseListAdvancedTransfersResponse = Brand<internalListAdvancedTransfersResponse, 'ListAdvancedTransfersResponse'>;
30
+ export type ListAdvancedTransfersResponse = BaseListAdvancedTransfersResponse & PaginatedResponseMethods<ListAdvancedTransfersRequest & BasePaginatedRequest, BaseListAdvancedTransfersResponse, AdvancedTransfer>;
31
+ export type CreateAdvancedTransferRequest = {
32
+ portfolioId: string;
33
+ advancedTransfer: AdvancedTransfer;
34
+ };
35
+ export type CreateAdvancedTransferResponse = Brand<internalCreateAdvancedTransferResponse, 'CreateAdvancedTransferResponse'>;
36
+ export type CancelAdvancedTransferRequest = {
37
+ portfolioId: string;
38
+ advancedTransferId: string;
39
+ };
40
+ export type CancelAdvancedTransferResponse = Brand<internalCancelAdvancedTransferResponse, 'CancelAdvancedTransferResponse'>;
41
+ export type ListAdvancedTransferTransactionsRequest = {
42
+ portfolioId: string;
43
+ advancedTransferId: string;
44
+ };
45
+ export type ListAdvancedTransferTransactionsResponse = Brand<internalListAdvancedTransferTransactionsResponse, 'ListAdvancedTransferTransactionsResponse'>;
46
+ export {};
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export declare const VERSION = "0.8.1";
16
+ export declare const VERSION = "0.9.0";
17
17
  export declare const API_BASE_PATH = "https://api.prime.coinbase.com/v1/";
18
18
  export declare const USER_AGENT: string;
19
19
  export declare const CB_ACCESS_KEY_HEADER = "X-CB-ACCESS-KEY";
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { CoinbaseCallOptions, IPrimeApiClient } from '../clients';
17
- import { ListEntityFuturesSweepsRequest, ListEntityFuturesSweepsResponse, GetEntityFuturesBalanceRequest, GetEntityFuturesBalanceResponse, GetEntityFuturesPositionsRequest, GetEntityFuturesPositionsResponse, ScheduleEntityFuturesSweepRequest, ScheduleEntityFuturesSweepResponse, UpdateEntityFuturesAutoSweepRequest, UpdateEntityFuturesAutoSweepResponse, CancelEntitySweepRequest, CancelEntitySweepResponse, GetEntityFuturesRiskLimitsRequest, GetEntityFuturesRiskLimitsResponse, GetEntityFuturesMarginCallDetailsRequest, GetEntityFuturesMarginCallDetailsResponse, GetFcmSettingsRequest, GetFcmSettingsResponse, SetFcmSettingsRequest, SetFcmSettingsResponse } from './types';
17
+ import { ListEntityFuturesSweepsRequest, ListEntityFuturesSweepsResponse, GetEntityFuturesBalanceRequest, GetEntityFuturesBalanceResponse, GetEntityFuturesPositionsRequest, GetEntityFuturesPositionsResponse, ScheduleEntityFuturesSweepRequest, ScheduleEntityFuturesSweepResponse, UpdateEntityFuturesAutoSweepRequest, UpdateEntityFuturesAutoSweepResponse, CancelEntitySweepRequest, CancelEntitySweepResponse, GetEntityFuturesRiskLimitsRequest, GetEntityFuturesRiskLimitsResponse, GetEntityFuturesMarginCallDetailsRequest, GetEntityFuturesMarginCallDetailsResponse, GetFcmSettingsRequest, GetFcmSettingsResponse, SetFcmSettingsRequest, SetFcmSettingsResponse, GetEntityFcmEquityRequest, GetEntityFcmEquityResponse } from './types';
18
18
  export interface IFuturesService {
19
19
  listEntitySweeps(request: ListEntityFuturesSweepsRequest, options?: CoinbaseCallOptions): Promise<ListEntityFuturesSweepsResponse>;
20
20
  getEntityBalance(request: GetEntityFuturesBalanceRequest, options?: CoinbaseCallOptions): Promise<GetEntityFuturesBalanceResponse>;
@@ -26,6 +26,7 @@ export interface IFuturesService {
26
26
  getMarginCallDetails(request: GetEntityFuturesMarginCallDetailsRequest, options?: CoinbaseCallOptions): Promise<GetEntityFuturesMarginCallDetailsResponse>;
27
27
  getFcmSettings(request: GetFcmSettingsRequest, options?: CoinbaseCallOptions): Promise<GetFcmSettingsResponse>;
28
28
  setFcmSettings(request: SetFcmSettingsRequest, options?: CoinbaseCallOptions): Promise<SetFcmSettingsResponse>;
29
+ getEntityEquity(request: GetEntityFcmEquityRequest, options?: CoinbaseCallOptions): Promise<GetEntityFcmEquityResponse>;
29
30
  }
30
31
  export declare class FuturesService implements IFuturesService {
31
32
  private client;
@@ -40,5 +41,6 @@ export declare class FuturesService implements IFuturesService {
40
41
  getMarginCallDetails(request: GetEntityFuturesMarginCallDetailsRequest, options?: CoinbaseCallOptions): Promise<GetEntityFuturesMarginCallDetailsResponse>;
41
42
  getFcmSettings(request: GetFcmSettingsRequest, options?: CoinbaseCallOptions): Promise<GetFcmSettingsResponse>;
42
43
  setFcmSettings(request: SetFcmSettingsRequest, options?: CoinbaseCallOptions): Promise<SetFcmSettingsResponse>;
44
+ getEntityEquity(request: GetEntityFcmEquityRequest, options?: CoinbaseCallOptions): Promise<GetEntityFcmEquityResponse>;
43
45
  }
44
- export type { ListEntityFuturesSweepsRequest, ListEntityFuturesSweepsResponse, GetEntityFuturesBalanceRequest, GetEntityFuturesBalanceResponse, GetEntityFuturesPositionsRequest, GetEntityFuturesPositionsResponse, ScheduleEntityFuturesSweepRequest, ScheduleEntityFuturesSweepResponse, UpdateEntityFuturesAutoSweepRequest, UpdateEntityFuturesAutoSweepResponse, CancelEntitySweepRequest, CancelEntitySweepResponse, GetEntityFuturesRiskLimitsRequest, GetEntityFuturesRiskLimitsResponse, GetEntityFuturesMarginCallDetailsRequest, GetEntityFuturesMarginCallDetailsResponse, GetFcmSettingsRequest, GetFcmSettingsResponse, SetFcmSettingsRequest, SetFcmSettingsResponse, } from './types';
46
+ export type { ListEntityFuturesSweepsRequest, ListEntityFuturesSweepsResponse, GetEntityFuturesBalanceRequest, GetEntityFuturesBalanceResponse, GetEntityFuturesPositionsRequest, GetEntityFuturesPositionsResponse, ScheduleEntityFuturesSweepRequest, ScheduleEntityFuturesSweepResponse, UpdateEntityFuturesAutoSweepRequest, UpdateEntityFuturesAutoSweepResponse, CancelEntitySweepRequest, CancelEntitySweepResponse, GetEntityFuturesRiskLimitsRequest, GetEntityFuturesRiskLimitsResponse, GetEntityFuturesMarginCallDetailsRequest, GetEntityFuturesMarginCallDetailsResponse, GetFcmSettingsRequest, GetFcmSettingsResponse, SetFcmSettingsRequest, SetFcmSettingsResponse, GetEntityFcmEquityRequest, GetEntityFcmEquityResponse, } from './types';
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Brand } from '../shared/brand';
17
- import { GetFcmBalanceResponse, GetFuturesSweepsResponse, GetPositionsResponse, SetAutoSweepResponse, ScheduleFuturesSweepRequest, ScheduleFuturesSweepResponse, CancelFuturesSweepResponse, GetFcmRiskLimitsResponse, GetFcmMarginCallDetailsResponse, GetFcmSettingsResponse as internalGetFcmSettingsResponse, SetFcmSettingsResponse as internalSetFcmSettingsResponse } from '../model/';
17
+ import { GetFcmBalanceResponse, GetFuturesSweepsResponse, GetPositionsResponse, SetAutoSweepResponse, ScheduleFuturesSweepRequest, ScheduleFuturesSweepResponse, CancelFuturesSweepResponse, GetFcmRiskLimitsResponse, GetFcmMarginCallDetailsResponse, GetFcmSettingsResponse as internalGetFcmSettingsResponse, SetFcmSettingsResponse as internalSetFcmSettingsResponse, GetFcmEquityResponse as internalGetFcmEquityResponse } from '../model/';
18
18
  export type ListEntityFuturesSweepsRequest = {
19
19
  entityId: string;
20
20
  };
@@ -58,3 +58,7 @@ export type SetFcmSettingsRequest = {
58
58
  targetDerivativesExcess: string;
59
59
  };
60
60
  export type SetFcmSettingsResponse = Brand<internalSetFcmSettingsResponse, 'SetFcmSettingsResponse'>;
61
+ export type GetEntityFcmEquityRequest = {
62
+ entityId: string;
63
+ };
64
+ export type GetEntityFcmEquityResponse = Brand<internalGetFcmEquityResponse, 'GetEntityFcmEquityResponse'>;