@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.
Files changed (213) hide show
  1. package/dist/advancedTransfers/index.js +103 -0
  2. package/dist/advancedTransfers/types.js +2 -0
  3. package/dist/clients/clientWithServices.js +14 -0
  4. package/dist/constants.js +1 -1
  5. package/dist/financing/index.js +73 -0
  6. package/dist/futures/index.js +12 -0
  7. package/dist/index.js +3 -1
  8. package/dist/model/{CreateAddressGroup.js → ActiveLiquidationSummary.js} +1 -1
  9. package/dist/model/{DateOfBirth.js → AdvancedTransfer.js} +1 -1
  10. package/dist/model/{GetWalletAddressesResponse.js → BetaCrossMarginPrimeDerivativesEquityBreakdown.js} +1 -1
  11. package/dist/model/{StakingInputs.js → BetaCrossMarginPrimeMarginSummary.js} +1 -1
  12. package/dist/model/BetaCrossMarginPrimeRiskNettingInfo.js +21 -0
  13. package/dist/model/BetaCrossMarginPrimeSpotEquityBreakdown.js +21 -0
  14. package/dist/model/BetaCrossMarginPrimeXMPosition.js +21 -0
  15. package/dist/model/BetaCrossMarginRiskParameters.js +21 -0
  16. package/dist/model/BetaGetCrossMarginPrimeOverviewResponse.js +21 -0
  17. package/dist/model/BetaGetCrossMarginRiskParametersResponse.js +21 -0
  18. package/dist/model/BetaGetMarketDataResponse.js +21 -0
  19. package/dist/model/BetaMarketData.js +21 -0
  20. package/dist/model/BetaPrimeXMMarginCallThresholds.js +21 -0
  21. package/dist/model/BetaPrimeXMMarginRequirementBreakdown.js +21 -0
  22. package/dist/model/BetaPrimeXMMarginThreshold.js +21 -0
  23. package/dist/model/BetaPrimeXMOffsetCreditBreakdown.js +21 -0
  24. package/dist/model/BetaSetFundingSettingsResponse.js +21 -0
  25. package/dist/model/BetaTierPairRateEntry.js +21 -0
  26. package/dist/model/BlindMatchMetadata.js +21 -0
  27. package/dist/model/CancelAdvancedTransferResponse.js +21 -0
  28. package/dist/model/CommissionDetailTotal.js +21 -0
  29. package/dist/model/CreateAdvancedTransferRequest.js +21 -0
  30. package/dist/model/CreateAdvancedTransferResponse.js +21 -0
  31. package/dist/model/CrossMarginPrimeDerivativesEquityBreakdown.js +21 -0
  32. package/dist/model/CrossMarginPrimeMarginSummary.js +21 -0
  33. package/dist/model/CrossMarginPrimeRiskNettingInfo.js +21 -0
  34. package/dist/model/CrossMarginPrimeSpotEquityBreakdown.js +21 -0
  35. package/dist/model/CrossMarginPrimeXMPosition.js +21 -0
  36. package/dist/model/CrossMarginRiskParameters.js +21 -0
  37. package/dist/model/FcmScheduledMaintenance.js +21 -0
  38. package/dist/model/FcmTradingSessionDetails.js +21 -0
  39. package/dist/model/FundMovement.js +21 -0
  40. package/dist/model/FutureProductDetails.js +21 -0
  41. package/dist/model/GetCrossMarginPrimeOverviewResponse.js +21 -0
  42. package/dist/model/GetCrossMarginRiskParametersResponse.js +21 -0
  43. package/dist/model/GetFcmEquityResponse.js +21 -0
  44. package/dist/model/GetMarketDataResponse.js +21 -0
  45. package/dist/model/GetTransactionTravelRuleDataResponse.js +21 -0
  46. package/dist/model/ListAdvancedTransferTransactionsResponse.js +21 -0
  47. package/dist/model/ListAdvancedTransfersResponse.js +21 -0
  48. package/dist/model/MarketData.js +21 -0
  49. package/dist/model/PerpetualProductDetails.js +21 -0
  50. package/dist/model/PrimeXMMarginCallThresholds.js +21 -0
  51. package/dist/model/PrimeXMMarginRequirementBreakdown.js +21 -0
  52. package/dist/model/PrimeXMMarginThreshold.js +21 -0
  53. package/dist/model/PrimeXMOffsetCreditBreakdown.js +21 -0
  54. package/dist/model/SetFundingSettingsRequest.js +21 -0
  55. package/dist/model/SetFundingSettingsResponse.js +21 -0
  56. package/dist/model/TierPairRateEntry.js +21 -0
  57. package/dist/model/ValidatorAllocation.js +21 -0
  58. package/dist/model/ValidatorUnstakePreview.js +21 -0
  59. package/dist/model/enums/AdvancedTransferState.js +34 -0
  60. package/dist/model/enums/AdvancedTransferType.js +29 -0
  61. package/dist/model/enums/BetaPrimeXMControlStatus.js +32 -0
  62. package/dist/model/enums/BetaPrimeXMHealthStatus.js +36 -0
  63. package/dist/model/enums/BetaPrimeXMMarginLevel.js +34 -0
  64. package/dist/model/enums/BetaPrimeXMMarginRequirementType.js +31 -0
  65. package/dist/model/enums/BetaPrimeXMMarginThresholdType.js +32 -0
  66. package/dist/model/enums/ContractExpiryType.js +31 -0
  67. package/dist/model/enums/ExpiringContractStatus.js +31 -0
  68. package/dist/model/enums/FcmMarginHealthState.js +33 -0
  69. package/dist/model/enums/FcmTradingSessionClosedReason.js +32 -0
  70. package/dist/model/enums/FcmTradingSessionState.js +34 -0
  71. package/dist/model/enums/PrimeXMControlStatus.js +32 -0
  72. package/dist/model/enums/PrimeXMHealthStatus.js +36 -0
  73. package/dist/model/enums/PrimeXMMarginLevel.js +34 -0
  74. package/dist/model/enums/PrimeXMMarginRequirementType.js +31 -0
  75. package/dist/model/enums/PrimeXMMarginThresholdType.js +32 -0
  76. package/dist/model/enums/ProductType.js +30 -0
  77. package/dist/model/enums/RewardSubtype.js +2 -1
  78. package/dist/model/enums/RiskManagementType.js +31 -0
  79. package/dist/model/enums/SecondaryPermission.js +31 -0
  80. package/dist/model/enums/UserRole.js +2 -1
  81. package/dist/model/enums/XMLiquidationStatus.js +34 -0
  82. package/dist/model/enums/index.js +34 -2
  83. package/dist/model/primeBetaSetFundingSettingsRequest.js +21 -0
  84. package/dist/services.js +3 -1
  85. package/dist/shared/paginatedResponse.js +2 -0
  86. package/dist/transactions/index.js +13 -0
  87. package/dist/types/advancedTransfers/index.d.ts +31 -0
  88. package/dist/types/advancedTransfers/types.d.ts +46 -0
  89. package/dist/types/clients/clientWithServices.d.ts +10 -0
  90. package/dist/types/clients/clientWithServicesTypes.d.ts +5 -0
  91. package/dist/types/constants.d.ts +1 -1
  92. package/dist/types/financing/index.d.ts +9 -1
  93. package/dist/types/financing/types.d.ts +26 -1
  94. package/dist/types/futures/index.d.ts +4 -2
  95. package/dist/types/futures/types.d.ts +5 -1
  96. package/dist/types/index.d.ts +3 -1
  97. package/dist/types/model/ActiveLiquidationSummary.d.ts +31 -0
  98. package/dist/types/model/{TravelRuleEntry.d.ts → AdvancedTransfer.d.ts} +11 -16
  99. package/dist/types/model/BetaCrossMarginPrimeDerivativesEquityBreakdown.d.ts +40 -0
  100. package/dist/types/model/BetaCrossMarginPrimeMarginSummary.d.ts +100 -0
  101. package/dist/types/model/BetaCrossMarginPrimeRiskNettingInfo.d.ts +51 -0
  102. package/dist/types/model/BetaCrossMarginPrimeSpotEquityBreakdown.d.ts +44 -0
  103. package/dist/types/model/BetaCrossMarginPrimeXMPosition.d.ts +84 -0
  104. package/dist/types/model/BetaCrossMarginRiskParameters.d.ts +72 -0
  105. package/dist/types/model/BetaGetCrossMarginPrimeOverviewResponse.d.ts +31 -0
  106. package/dist/types/model/BetaGetCrossMarginRiskParametersResponse.d.ts +43 -0
  107. package/dist/types/model/BetaGetMarketDataResponse.d.ts +28 -0
  108. package/dist/types/model/BetaMarketData.d.ts +45 -0
  109. package/dist/types/model/BetaPrimeXMMarginCallThresholds.d.ts +42 -0
  110. package/dist/types/model/BetaPrimeXMMarginRequirementBreakdown.d.ts +41 -0
  111. package/dist/types/model/BetaPrimeXMMarginThreshold.d.ts +26 -0
  112. package/dist/types/model/BetaPrimeXMOffsetCreditBreakdown.d.ts +45 -0
  113. package/dist/types/model/BetaSetFundingSettingsResponse.d.ts +36 -0
  114. package/dist/types/model/BetaTierPairRateEntry.d.ts +36 -0
  115. package/dist/types/model/BlindMatchMetadata.d.ts +37 -0
  116. package/dist/types/model/CancelAdvancedTransferResponse.d.ts +28 -0
  117. package/dist/types/model/CommissionDetailTotal.d.ts +40 -0
  118. package/dist/types/model/{CreateAddressGroup.d.ts → CreateAdvancedTransferRequest.d.ts} +7 -7
  119. package/dist/types/model/{DateOfBirth.d.ts → CreateAdvancedTransferResponse.d.ts} +7 -5
  120. package/dist/types/model/CrossMarginOverview.d.ts +2 -0
  121. package/dist/types/model/CrossMarginPrimeDerivativesEquityBreakdown.d.ts +40 -0
  122. package/dist/types/model/CrossMarginPrimeMarginSummary.d.ts +100 -0
  123. package/dist/types/model/CrossMarginPrimeRiskNettingInfo.d.ts +51 -0
  124. package/dist/types/model/CrossMarginPrimeSpotEquityBreakdown.d.ts +44 -0
  125. package/dist/types/model/CrossMarginPrimeXMPosition.d.ts +84 -0
  126. package/dist/types/model/CrossMarginRiskParameters.d.ts +72 -0
  127. package/dist/types/model/EntityUser.d.ts +9 -0
  128. package/dist/types/model/{StakingInputs.d.ts → FcmScheduledMaintenance.d.ts} +8 -4
  129. package/dist/types/model/FcmTradingSessionDetails.d.ts +51 -0
  130. package/dist/types/model/Fill.d.ts +4 -0
  131. package/dist/types/model/FundMovement.d.ts +30 -0
  132. package/dist/types/model/FutureProductDetails.d.ts +59 -0
  133. package/dist/types/model/GetCrossMarginPrimeOverviewResponse.d.ts +31 -0
  134. package/dist/types/model/GetCrossMarginRiskParametersResponse.d.ts +43 -0
  135. package/dist/types/model/GetFcmEquityResponse.d.ts +37 -0
  136. package/dist/types/model/GetFcmRiskLimitsResponse.d.ts +6 -0
  137. package/dist/types/model/{GetWalletAddressesResponse.d.ts → GetMarketDataResponse.d.ts} +8 -5
  138. package/dist/types/model/GetTransactionTravelRuleDataResponse.d.ts +31 -0
  139. package/dist/types/model/ListAdvancedTransferTransactionsResponse.d.ts +29 -0
  140. package/dist/types/model/ListAdvancedTransfersResponse.d.ts +28 -0
  141. package/dist/types/model/MarketData.d.ts +45 -0
  142. package/dist/types/model/NetworkDetails.d.ts +12 -0
  143. package/dist/types/model/Order.d.ts +4 -0
  144. package/dist/types/model/PerpetualProductDetails.d.ts +41 -0
  145. package/dist/types/model/PortfolioUser.d.ts +9 -0
  146. package/dist/types/model/PreviewUnstakeResponse.d.ts +17 -0
  147. package/dist/types/model/PrimeXMMarginCallThresholds.d.ts +42 -0
  148. package/dist/types/model/PrimeXMMarginRequirementBreakdown.d.ts +41 -0
  149. package/dist/types/model/PrimeXMMarginThreshold.d.ts +26 -0
  150. package/dist/types/model/PrimeXMOffsetCreditBreakdown.d.ts +45 -0
  151. package/dist/types/model/Product.d.ts +6 -0
  152. package/dist/types/model/QuoteResponse.d.ts +4 -0
  153. package/dist/types/model/RFQ.d.ts +4 -0
  154. package/dist/types/model/SetFundingSettingsRequest.d.ts +44 -0
  155. package/dist/types/model/SetFundingSettingsResponse.d.ts +36 -0
  156. package/dist/types/model/TierPairRateEntry.d.ts +36 -0
  157. package/dist/types/model/ValidatorAllocation.d.ts +32 -0
  158. package/dist/types/model/ValidatorUnstakePreview.d.ts +40 -0
  159. package/dist/types/model/WalletUnstakeInputs.d.ts +5 -0
  160. package/dist/types/model/XMRiskNettingInfo.d.ts +2 -2
  161. package/dist/types/model/enums/AdvancedTransferState.d.ts +30 -0
  162. package/dist/types/model/enums/AdvancedTransferType.d.ts +25 -0
  163. package/dist/types/model/enums/BetaPrimeXMControlStatus.d.ts +28 -0
  164. package/dist/types/model/enums/BetaPrimeXMHealthStatus.d.ts +32 -0
  165. package/dist/types/model/enums/BetaPrimeXMMarginLevel.d.ts +30 -0
  166. package/dist/types/model/enums/BetaPrimeXMMarginRequirementType.d.ts +27 -0
  167. package/dist/types/model/enums/BetaPrimeXMMarginThresholdType.d.ts +28 -0
  168. package/dist/types/model/enums/ContractExpiryType.d.ts +27 -0
  169. package/dist/types/model/enums/ExpiringContractStatus.d.ts +27 -0
  170. package/dist/types/model/enums/FcmMarginHealthState.d.ts +29 -0
  171. package/dist/types/model/enums/FcmTradingSessionClosedReason.d.ts +28 -0
  172. package/dist/types/model/enums/FcmTradingSessionState.d.ts +30 -0
  173. package/dist/types/model/enums/PrimeXMControlStatus.d.ts +28 -0
  174. package/dist/types/model/enums/PrimeXMHealthStatus.d.ts +32 -0
  175. package/dist/types/model/enums/PrimeXMMarginLevel.d.ts +30 -0
  176. package/dist/types/model/enums/PrimeXMMarginRequirementType.d.ts +27 -0
  177. package/dist/types/model/enums/PrimeXMMarginThresholdType.d.ts +28 -0
  178. package/dist/types/model/{VASP.d.ts → enums/ProductType.d.ts} +6 -7
  179. package/dist/types/model/enums/RewardSubtype.d.ts +3 -2
  180. package/dist/types/model/enums/RiskManagementType.d.ts +27 -0
  181. package/dist/types/model/{TravelRuleWalletDetails.d.ts → enums/SecondaryPermission.d.ts} +7 -8
  182. package/dist/types/model/enums/UserRole.d.ts +3 -2
  183. package/dist/types/model/enums/XMLiquidationStatus.d.ts +30 -0
  184. package/dist/types/model/enums/index.d.ts +16 -0
  185. package/dist/types/model/googleTypeDate.d.ts +1 -1
  186. package/dist/types/model/index.d.ts +35 -4
  187. package/dist/types/model/primeBetaSetFundingSettingsRequest.d.ts +44 -0
  188. package/dist/types/services.d.ts +1 -0
  189. package/dist/types/shared/paginatedResponse.d.ts +6 -0
  190. package/dist/types/transactions/index.d.ts +3 -1
  191. package/dist/types/transactions/types.d.ts +6 -1
  192. package/package.json +2 -2
  193. package/dist/model/TravelRuleEntry.js +0 -21
  194. package/dist/model/TravelRuleWalletDetails.js +0 -21
  195. package/dist/model/VASP.js +0 -21
  196. package/dist/model/enumPrefixes.js +0 -330
  197. package/dist/shared/dynamicEnumValidation.js +0 -184
  198. package/dist/shared/dynamicEnumValidation.old.js +0 -746
  199. package/dist/shared/enumHelpers.js +0 -219
  200. package/dist/shared/enumRegistry.js +0 -153
  201. package/dist/shared/enumValidationCore.js +0 -194
  202. package/dist/shared/enumValidators.js +0 -115
  203. package/dist/shared/fieldMapping.js +0 -242
  204. package/dist/shared/serviceContext.js +0 -157
  205. package/dist/types/model/enumPrefixes.d.ts +0 -206
  206. package/dist/types/shared/dynamicEnumValidation.d.ts +0 -48
  207. package/dist/types/shared/dynamicEnumValidation.old.d.ts +0 -143
  208. package/dist/types/shared/enumHelpers.d.ts +0 -135
  209. package/dist/types/shared/enumRegistry.d.ts +0 -74
  210. package/dist/types/shared/enumValidationCore.d.ts +0 -68
  211. package/dist/types/shared/enumValidators.d.ts +0 -117
  212. package/dist/types/shared/fieldMapping.d.ts +0 -35
  213. package/dist/types/shared/serviceContext.d.ts +0 -46
@@ -0,0 +1,30 @@
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
+ * - HEALTHY_THRESHOLD: Margin level is healthy. - WARNING_THRESHOLD: Margin level is breaching the warning threshold (WT) which will result in the issuance of a Margin Call if this is still the case by the scheduled next Margin Call (as defined in the margin methodology). WT is differentiated from DT in that it means margin health is approaching the UMCT. - URGENT_MARGIN_CALL_THRESHOLD: Urgent margin call threshold (UMCT): breaching UMCT per margin methodology. - LIQUIDATION_THRESHOLD: Liquidation threshold (LT): breaching LT; SESSION_LOCKED may apply and liquidation may commence per margin methodology. - DEFICIT_THRESHOLD: Margin level is breaching the deficit threshold (DT) which will result in the issuance of a Margin Call if this is still the case by the scheduled next Margin Call time (as defined in the margin methodology).
22
+ */
23
+ export declare enum BetaPrimeXMMarginLevel {
24
+ XmMarginLevelUnspecified = "XM_MARGIN_LEVEL_UNSPECIFIED",
25
+ HealthyThreshold = "HEALTHY_THRESHOLD",
26
+ WarningThreshold = "WARNING_THRESHOLD",
27
+ UrgentMarginCallThreshold = "URGENT_MARGIN_CALL_THRESHOLD",
28
+ LiquidationThreshold = "LIQUIDATION_THRESHOLD",
29
+ DeficitThreshold = "DEFICIT_THRESHOLD"
30
+ }
@@ -0,0 +1,27 @@
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
+ * - MARGIN_REQUIREMENT_TYPE_DMR_PLUS_PMR: Integrated (netted) cross-margin requirement for spot assets and all derivatives contracts. - MARGIN_REQUIREMENT_TYPE_IPMR_PLUS_IFMR: Combined cross-margin requirement: Integrated Portfolio Margin (IPMR) plus Ineligible Futures Margin (IFMR).
22
+ */
23
+ export declare enum BetaPrimeXMMarginRequirementType {
24
+ MarginRequirementTypeUnspecified = "MARGIN_REQUIREMENT_TYPE_UNSPECIFIED",
25
+ MarginRequirementTypeDmrPlusPmr = "MARGIN_REQUIREMENT_TYPE_DMR_PLUS_PMR",
26
+ MarginRequirementTypeIpmrPlusIfmr = "MARGIN_REQUIREMENT_TYPE_IPMR_PLUS_IFMR"
27
+ }
@@ -0,0 +1,28 @@
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
+ * - MARGIN_THRESHOLD_EQUITY_RATIO: Threshold based on equity ratio EQ / MR; triggers when EQ / MR >= threshold_value. - MARGIN_THRESHOLD_DEFICIT_RATIO: Threshold based on deficit ratio (MR - EQ) / XMML; triggers when (MR - EQ) / XMML > threshold_value.
22
+ */
23
+ export declare enum BetaPrimeXMMarginThresholdType {
24
+ MarginThresholdTypeUnspecified = "MARGIN_THRESHOLD_TYPE_UNSPECIFIED",
25
+ MarginThresholdEquityRatio = "MARGIN_THRESHOLD_EQUITY_RATIO",
26
+ MarginThresholdDeficitRatio = "MARGIN_THRESHOLD_DEFICIT_RATIO",
27
+ MarginThresholdNone = "MARGIN_THRESHOLD_NONE"
28
+ }
@@ -0,0 +1,27 @@
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
+ * - CONTRACT_EXPIRY_TYPE_UNSPECIFIED: Unspecified contract expiry type - CONTRACT_EXPIRY_TYPE_EXPIRING: Expiring futures contract - CONTRACT_EXPIRY_TYPE_PERPETUAL: Perpetual futures contract (no expiry)
22
+ */
23
+ export declare enum ContractExpiryType {
24
+ ContractExpiryTypeUnspecified = "CONTRACT_EXPIRY_TYPE_UNSPECIFIED",
25
+ ContractExpiryTypeExpiring = "CONTRACT_EXPIRY_TYPE_EXPIRING",
26
+ ContractExpiryTypePerpetual = "CONTRACT_EXPIRY_TYPE_PERPETUAL"
27
+ }
@@ -0,0 +1,27 @@
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
+ * - 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
22
+ */
23
+ export declare enum ExpiringContractStatus {
24
+ ExpiringContractStatusUnexpired = "EXPIRING_CONTRACT_STATUS_UNEXPIRED",
25
+ ExpiringContractStatusExpired = "EXPIRING_CONTRACT_STATUS_EXPIRED",
26
+ ExpiringContractStatusAll = "EXPIRING_CONTRACT_STATUS_ALL"
27
+ }
@@ -0,0 +1,29 @@
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
+ * 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.
22
+ */
23
+ export declare enum FcmMarginHealthState {
24
+ FcmMarginHealthStateUnspecified = "FCM_MARGIN_HEALTH_STATE_UNSPECIFIED",
25
+ FcmMarginHealthStateHealthy = "FCM_MARGIN_HEALTH_STATE_HEALTHY",
26
+ FcmMarginHealthStateRestricted = "FCM_MARGIN_HEALTH_STATE_RESTRICTED",
27
+ FcmMarginHealthStatePreLiquidation = "FCM_MARGIN_HEALTH_STATE_PRE_LIQUIDATION",
28
+ FcmMarginHealthStateLiquidation = "FCM_MARGIN_HEALTH_STATE_LIQUIDATION"
29
+ }
@@ -0,0 +1,28 @@
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
+ * - 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
22
+ */
23
+ export declare enum FcmTradingSessionClosedReason {
24
+ FcmTradingSessionClosedReasonUndefined = "FCM_TRADING_SESSION_CLOSED_REASON_UNDEFINED",
25
+ FcmTradingSessionClosedReasonRegularMarketClose = "FCM_TRADING_SESSION_CLOSED_REASON_REGULAR_MARKET_CLOSE",
26
+ FcmTradingSessionClosedReasonExchangeMaintenance = "FCM_TRADING_SESSION_CLOSED_REASON_EXCHANGE_MAINTENANCE",
27
+ FcmTradingSessionClosedReasonVendorMaintenance = "FCM_TRADING_SESSION_CLOSED_REASON_VENDOR_MAINTENANCE"
28
+ }
@@ -0,0 +1,30 @@
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
+ * - 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
22
+ */
23
+ export declare enum FcmTradingSessionState {
24
+ FcmTradingSessionStateUndefined = "FCM_TRADING_SESSION_STATE_UNDEFINED",
25
+ FcmTradingSessionStatePreOpen = "FCM_TRADING_SESSION_STATE_PRE_OPEN",
26
+ FcmTradingSessionStatePreOpenNoCancel = "FCM_TRADING_SESSION_STATE_PRE_OPEN_NO_CANCEL",
27
+ FcmTradingSessionStateOpen = "FCM_TRADING_SESSION_STATE_OPEN",
28
+ FcmTradingSessionStateClose = "FCM_TRADING_SESSION_STATE_CLOSE",
29
+ FcmTradingSessionStateHalted = "FCM_TRADING_SESSION_STATE_HALTED"
30
+ }
@@ -0,0 +1,28 @@
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
+ * - TRADES_AND_WITHDRAWALS: Allowed to trade and withdraw. See XM Margin Methodology for full description of when trading and withdrawals are enabled or disabled. - TRADES_ONLY: Allowed to trade but not withdraw. See XM Margin Methodology for full description of when trading and withdrawals are enabled or disabled. - SESSION_LOCKED: Not allowed to trade or withdraw. See XM Margin Methodology for full description of when trading and withdrawals are enabled or disabled.
22
+ */
23
+ export declare enum PrimeXMControlStatus {
24
+ XmControlStatusUnspecified = "XM_CONTROL_STATUS_UNSPECIFIED",
25
+ TradesAndWithdrawals = "TRADES_AND_WITHDRAWALS",
26
+ TradesOnly = "TRADES_ONLY",
27
+ SessionLocked = "SESSION_LOCKED"
28
+ }
@@ -0,0 +1,32 @@
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
+ * - HEALTH_STATUS_HEALTHY: Margin level is healthy. - HEALTH_STATUS_WARNING: Margin level is breaching the warning threshold (WT) which will result in the issuance of a Margin Call if this is still the case by the scheduled next Margin Call (as defined in the margin methodology). WT is differentiated from DT in that it means margin health is approaching the UMCT. - HEALTH_STATUS_CRITICAL: Margin level is breaching the UMCT and, as defined in the margin methodology, this will trigger an urgent margin call. - HEALTH_STATUS_SUSPENDED: Trading and withdrawals are suspended per XM margin methodology. - HEALTH_STATUS_RESTRICTED: Account is in a restricted state per XM margin methodology. - HEALTH_STATUS_PRE_LIQUIDATION: Margin level is breaching the liquidation threshold (LT) and, as defined in the margin methodology, this will trigger the SESSION_LOCKED control status and liquidation may commence. - HEALTH_STATUS_LIQUIDATING: Liquidation has commenced. - HEALTH_STATUS_IN_DEFICIT: Margin level is breaching the deficit threshold (DT) which will result in the issuance of a Margin Call if this is still the case by the scheduled next Margin Call time (as defined in the margin methodology).
22
+ */
23
+ export declare enum PrimeXMHealthStatus {
24
+ HealthStatusHealthy = "HEALTH_STATUS_HEALTHY",
25
+ HealthStatusWarning = "HEALTH_STATUS_WARNING",
26
+ HealthStatusCritical = "HEALTH_STATUS_CRITICAL",
27
+ HealthStatusSuspended = "HEALTH_STATUS_SUSPENDED",
28
+ HealthStatusRestricted = "HEALTH_STATUS_RESTRICTED",
29
+ HealthStatusPreLiquidation = "HEALTH_STATUS_PRE_LIQUIDATION",
30
+ HealthStatusLiquidating = "HEALTH_STATUS_LIQUIDATING",
31
+ HealthStatusInDeficit = "HEALTH_STATUS_IN_DEFICIT"
32
+ }
@@ -0,0 +1,30 @@
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
+ * - HEALTHY_THRESHOLD: Margin level is healthy. - WARNING_THRESHOLD: Margin level is breaching the warning threshold (WT) which will result in the issuance of a Margin Call if this is still the case by the scheduled next Margin Call (as defined in the margin methodology). WT is differentiated from DT in that it means margin health is approaching the UMCT. - URGENT_MARGIN_CALL_THRESHOLD: Urgent margin call threshold (UMCT): breaching UMCT per margin methodology. - LIQUIDATION_THRESHOLD: Liquidation threshold (LT): breaching LT; SESSION_LOCKED may apply and liquidation may commence per margin methodology. - DEFICIT_THRESHOLD: Margin level is breaching the deficit threshold (DT) which will result in the issuance of a Margin Call if this is still the case by the scheduled next Margin Call time (as defined in the margin methodology).
22
+ */
23
+ export declare enum PrimeXMMarginLevel {
24
+ XmMarginLevelUnspecified = "XM_MARGIN_LEVEL_UNSPECIFIED",
25
+ HealthyThreshold = "HEALTHY_THRESHOLD",
26
+ WarningThreshold = "WARNING_THRESHOLD",
27
+ UrgentMarginCallThreshold = "URGENT_MARGIN_CALL_THRESHOLD",
28
+ LiquidationThreshold = "LIQUIDATION_THRESHOLD",
29
+ DeficitThreshold = "DEFICIT_THRESHOLD"
30
+ }
@@ -0,0 +1,27 @@
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
+ * - MARGIN_REQUIREMENT_TYPE_DMR_PLUS_PMR: Integrated (netted) cross-margin requirement for spot assets and all derivatives contracts. - MARGIN_REQUIREMENT_TYPE_IPMR_PLUS_IFMR: Combined cross-margin requirement: Integrated Portfolio Margin (IPMR) plus Ineligible Futures Margin (IFMR).
22
+ */
23
+ export declare enum PrimeXMMarginRequirementType {
24
+ MarginRequirementTypeUnspecified = "MARGIN_REQUIREMENT_TYPE_UNSPECIFIED",
25
+ MarginRequirementTypeDmrPlusPmr = "MARGIN_REQUIREMENT_TYPE_DMR_PLUS_PMR",
26
+ MarginRequirementTypeIpmrPlusIfmr = "MARGIN_REQUIREMENT_TYPE_IPMR_PLUS_IFMR"
27
+ }
@@ -0,0 +1,28 @@
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
+ * - MARGIN_THRESHOLD_EQUITY_RATIO: Threshold based on equity ratio EQ / MR; triggers when EQ / MR >= threshold_value. - MARGIN_THRESHOLD_DEFICIT_RATIO: Threshold based on deficit ratio (MR - EQ) / XMML; triggers when (MR - EQ) / XMML > threshold_value.
22
+ */
23
+ export declare enum PrimeXMMarginThresholdType {
24
+ MarginThresholdTypeUnspecified = "MARGIN_THRESHOLD_TYPE_UNSPECIFIED",
25
+ MarginThresholdEquityRatio = "MARGIN_THRESHOLD_EQUITY_RATIO",
26
+ MarginThresholdDeficitRatio = "MARGIN_THRESHOLD_DEFICIT_RATIO",
27
+ MarginThresholdNone = "MARGIN_THRESHOLD_NONE"
28
+ }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2025-present Coinbase Global, Inc.
2
+ * Copyright 2026-present Coinbase Global, Inc.
3
3
  *
4
4
  * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
5
5
  *
@@ -18,10 +18,9 @@
18
18
  * Do not edit the class manually.
19
19
  */
20
20
  /**
21
- * Virtual Asset Service Provider (VASP).
21
+ * - UNKNOWN_PRODUCT_TYPE: Unknown product type - SPOT: Spot product - FUTURE: Future product
22
22
  */
23
- export type VASP = {
24
- id?: string;
25
- countryCode?: string;
26
- leiNumber?: string;
27
- };
23
+ export declare enum ProductType {
24
+ Spot = "SPOT",
25
+ Future = "FUTURE"
26
+ }
@@ -18,7 +18,7 @@
18
18
  * Do not edit the class manually.
19
19
  */
20
20
  /**
21
- * - 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
21
+ * - 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
22
22
  */
23
23
  export declare enum RewardSubtype {
24
24
  MevReward = "MEV_REWARD",
@@ -26,5 +26,6 @@ export declare enum RewardSubtype {
26
26
  BlockReward = "BLOCK_REWARD",
27
27
  ValidatorReward = "VALIDATOR_REWARD",
28
28
  TransactionReward = "TRANSACTION_REWARD",
29
- StakingFeeRebateReward = "STAKING_FEE_REBATE_REWARD"
29
+ StakingFeeRebateReward = "STAKING_FEE_REBATE_REWARD",
30
+ BuidlDividend = "BUIDL_DIVIDEND"
30
31
  }
@@ -0,0 +1,27 @@
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
+ * - 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
22
+ */
23
+ export declare enum RiskManagementType {
24
+ RiskManagementTypeUnspecified = "RISK_MANAGEMENT_TYPE_UNSPECIFIED",
25
+ RiskManagementTypeManagedByFcm = "RISK_MANAGEMENT_TYPE_MANAGED_BY_FCM",
26
+ RiskManagementTypeManagedByVenue = "RISK_MANAGEMENT_TYPE_MANAGED_BY_VENUE"
27
+ }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2025-present Coinbase Global, Inc.
2
+ * Copyright 2026-present Coinbase Global, Inc.
3
3
  *
4
4
  * This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
5
5
  *
@@ -17,12 +17,11 @@
17
17
  *
18
18
  * Do not edit the class manually.
19
19
  */
20
- import { BlockchainAddress } from './BlockchainAddress';
21
- import { TravelRuleWalletType } from './enums/TravelRuleWalletType';
22
20
  /**
23
- * Details about the custody wallet used in the transfer.
21
+ * - SECONDARY_PERMISSION_UNKNOWN: nil value - VIDEO_APPROVER: A video approver - TEAM_APPROVER: A team approver - WEB3_SIGNER: A web3 signer
24
22
  */
25
- export type TravelRuleWalletDetails = {
26
- walletType?: TravelRuleWalletType;
27
- walletAddress?: BlockchainAddress;
28
- };
23
+ export declare enum SecondaryPermission {
24
+ VideoApprover = "VIDEO_APPROVER",
25
+ TeamApprover = "TEAM_APPROVER",
26
+ Web3Signer = "WEB3_SIGNER"
27
+ }
@@ -18,7 +18,7 @@
18
18
  * Do not edit the class manually.
19
19
  */
20
20
  /**
21
- * - USER_ROLE_UNKNOWN: nil value - AUDITOR: An auditor - SIGNATORY: A signatory - ADMIN: An admin - INITIATOR: An initiator - REVIEWER: A reviewer - TRADER: A trader - FULL_TRADER: A trader with full permissions - TEAM_MANAGER: A team manager - APPROVER: An approver - TAX_MANAGER: A tax manager
21
+ * - USER_ROLE_UNKNOWN: nil value - AUDITOR: An auditor - SIGNATORY: A signatory - ADMIN: An admin - INITIATOR: An initiator - REVIEWER: A reviewer - TRADER: A trader - FULL_TRADER: A trader with full permissions - TEAM_MANAGER: A team manager - APPROVER: An approver - TAX_MANAGER: A tax manager - BUSINESS_MANAGER: A business manager
22
22
  */
23
23
  export declare enum UserRole {
24
24
  Auditor = "AUDITOR",
@@ -30,5 +30,6 @@ export declare enum UserRole {
30
30
  FullTrader = "FULL_TRADER",
31
31
  TeamManager = "TEAM_MANAGER",
32
32
  Approver = "APPROVER",
33
- TaxManager = "TAX_MANAGER"
33
+ TaxManager = "TAX_MANAGER",
34
+ BusinessManager = "BUSINESS_MANAGER"
34
35
  }
@@ -0,0 +1,30 @@
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
+ * - XM_LIQUIDATION_STATUS_PRE_LIQUIDATION: Liquidation is in the pre-liquidation phase - XM_LIQUIDATION_STATUS_LIQUIDATING: Liquidation is actively in progress - XM_LIQUIDATION_STATUS_LIQUIDATED: Liquidation has completed successfully - XM_LIQUIDATION_STATUS_CANCELED: Liquidation was canceled - XM_LIQUIDATION_STATUS_FAILED: Liquidation failed
22
+ */
23
+ export declare enum XMLiquidationStatus {
24
+ XmLiquidationStatusUnset = "XM_LIQUIDATION_STATUS_UNSET",
25
+ XmLiquidationStatusPreLiquidation = "XM_LIQUIDATION_STATUS_PRE_LIQUIDATION",
26
+ XmLiquidationStatusLiquidating = "XM_LIQUIDATION_STATUS_LIQUIDATING",
27
+ XmLiquidationStatusLiquidated = "XM_LIQUIDATION_STATUS_LIQUIDATED",
28
+ XmLiquidationStatusCanceled = "XM_LIQUIDATION_STATUS_CANCELED",
29
+ XmLiquidationStatusFailed = "XM_LIQUIDATION_STATUS_FAILED"
30
+ }
@@ -6,17 +6,29 @@ export { ActivityLevel } from './ActivityLevel';
6
6
  export { ActivitySecondaryType } from './ActivitySecondaryType';
7
7
  export { ActivityStatus } from './ActivityStatus';
8
8
  export { ActivityType as PrimeActivityType } from './PrimeActivityType';
9
+ export { AdvancedTransferState } from './AdvancedTransferState';
10
+ export { AdvancedTransferType } from './AdvancedTransferType';
9
11
  export { AllocationSizeType } from './AllocationSizeType';
10
12
  export { AllocationStatus } from './AllocationStatus';
11
13
  export { AssetChangeType } from './AssetChangeType';
12
14
  export { Benchmark } from './Benchmark';
15
+ export { PrimeXMControlStatus } from './PrimeXMControlStatus';
16
+ export { PrimeXMHealthStatus } from './PrimeXMHealthStatus';
17
+ export { PrimeXMMarginLevel } from './PrimeXMMarginLevel';
18
+ export { PrimeXMMarginRequirementType } from './PrimeXMMarginRequirementType';
19
+ export { PrimeXMMarginThresholdType } from './PrimeXMMarginThresholdType';
13
20
  export { CandlesGranularity } from './CandlesGranularity';
21
+ export { ContractExpiryType } from './ContractExpiryType';
14
22
  export { DestinationType } from './DestinationType';
15
23
  export { EstimateType } from './EstimateType';
24
+ export { ExpiringContractStatus } from './ExpiringContractStatus';
16
25
  export { FcmFuturesSweepStatus } from './FcmFuturesSweepStatus';
17
26
  export { FcmMarginCallState } from './FcmMarginCallState';
18
27
  export { FcmMarginCallType } from './FcmMarginCallType';
28
+ export { FcmMarginHealthState } from './FcmMarginHealthState';
19
29
  export { FcmPositionSide } from './FcmPositionSide';
30
+ export { FcmTradingSessionClosedReason } from './FcmTradingSessionClosedReason';
31
+ export { FcmTradingSessionState } from './FcmTradingSessionState';
20
32
  export { HierarchyType } from './HierarchyType';
21
33
  export { InvoiceState } from './InvoiceState';
22
34
  export { InvoiceType } from './InvoiceType';
@@ -32,8 +44,11 @@ export { PegOffsetType } from './PegOffsetType';
32
44
  export { PortfolioBalanceType } from './PortfolioBalanceType';
33
45
  export { PositionReferenceType } from './PositionReferenceType';
34
46
  export { ProductPermissions } from './ProductPermissions';
47
+ export { ProductType } from './ProductType';
35
48
  export { RateType } from './RateType';
36
49
  export { RewardSubtype } from './RewardSubtype';
50
+ export { RiskManagementType } from './RiskManagementType';
51
+ export { SecondaryPermission } from './SecondaryPermission';
37
52
  export { SigningStatus } from './SigningStatus';
38
53
  export { SortDirection } from './SortDirection';
39
54
  export { StakeType } from './StakeType';
@@ -54,5 +69,6 @@ export { XMCallStatus } from './XMCallStatus';
54
69
  export { XMCallType } from './XMCallType';
55
70
  export { XMControlStatus } from './XMControlStatus';
56
71
  export { XMEntityCallStatus } from './XMEntityCallStatus';
72
+ export { XMLiquidationStatus } from './XMLiquidationStatus';
57
73
  export { XMMarginLevel } from './XMMarginLevel';
58
74
  export { XMParty } from './XMParty';
@@ -18,7 +18,7 @@
18
18
  * Do not edit the class manually.
19
19
  */
20
20
  /**
21
- * * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`.
21
+ * * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * [google.type.TimeOfDay][google.type.TimeOfDay] * [google.type.DateTime][google.type.DateTime] * [google.protobuf.Timestamp][google.protobuf.Timestamp]
22
22
  */
23
23
  export type GoogleTypeDate = {
24
24
  /**