@coinbase-sample/prime-sdk-ts 0.9.0 → 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 (153) hide show
  1. package/dist/clients/clientWithServices.js +14 -0
  2. package/dist/constants.js +1 -1
  3. package/dist/financing/index.js +73 -0
  4. package/dist/index.js +3 -1
  5. package/dist/model/BetaCrossMarginPrimeSpotEquityBreakdown.js +21 -0
  6. package/dist/model/BetaCrossMarginPrimeXMPosition.js +21 -0
  7. package/dist/model/BetaCrossMarginRiskParameters.js +21 -0
  8. package/dist/model/BetaGetCrossMarginPrimeOverviewResponse.js +21 -0
  9. package/dist/model/BetaGetCrossMarginRiskParametersResponse.js +21 -0
  10. package/dist/model/BetaGetMarketDataResponse.js +21 -0
  11. package/dist/model/BetaMarketData.js +21 -0
  12. package/dist/model/BetaPrimeXMMarginCallThresholds.js +21 -0
  13. package/dist/model/BetaPrimeXMMarginRequirementBreakdown.js +21 -0
  14. package/dist/model/BetaPrimeXMMarginThreshold.js +21 -0
  15. package/dist/model/BetaPrimeXMOffsetCreditBreakdown.js +21 -0
  16. package/dist/model/BetaSetFundingSettingsResponse.js +21 -0
  17. package/dist/model/BetaTierPairRateEntry.js +21 -0
  18. package/dist/model/CrossMarginPrimeDerivativesEquityBreakdown.js +21 -0
  19. package/dist/model/CrossMarginPrimeMarginSummary.js +21 -0
  20. package/dist/model/CrossMarginPrimeRiskNettingInfo.js +21 -0
  21. package/dist/model/CrossMarginPrimeSpotEquityBreakdown.js +21 -0
  22. package/dist/model/CrossMarginPrimeXMPosition.js +21 -0
  23. package/dist/model/CrossMarginRiskParameters.js +21 -0
  24. package/dist/model/GetCrossMarginPrimeOverviewResponse.js +21 -0
  25. package/dist/model/GetCrossMarginRiskParametersResponse.js +21 -0
  26. package/dist/model/GetMarketDataResponse.js +21 -0
  27. package/dist/model/MarketData.js +21 -0
  28. package/dist/model/PrimeXMMarginCallThresholds.js +21 -0
  29. package/dist/model/PrimeXMMarginRequirementBreakdown.js +21 -0
  30. package/dist/model/PrimeXMMarginThreshold.js +21 -0
  31. package/dist/model/PrimeXMOffsetCreditBreakdown.js +21 -0
  32. package/dist/model/SetFundingSettingsRequest.js +21 -0
  33. package/dist/model/SetFundingSettingsResponse.js +21 -0
  34. package/dist/model/TierPairRateEntry.js +21 -0
  35. package/dist/model/ValidatorUnstakePreview.js +21 -0
  36. package/dist/model/enums/BetaPrimeXMControlStatus.js +32 -0
  37. package/dist/model/enums/BetaPrimeXMHealthStatus.js +36 -0
  38. package/dist/model/enums/BetaPrimeXMMarginLevel.js +34 -0
  39. package/dist/model/enums/BetaPrimeXMMarginRequirementType.js +31 -0
  40. package/dist/model/enums/BetaPrimeXMMarginThresholdType.js +32 -0
  41. package/dist/model/enums/PrimeXMControlStatus.js +32 -0
  42. package/dist/model/enums/PrimeXMHealthStatus.js +36 -0
  43. package/dist/model/enums/PrimeXMMarginLevel.js +34 -0
  44. package/dist/model/enums/PrimeXMMarginRequirementType.js +31 -0
  45. package/dist/model/enums/PrimeXMMarginThresholdType.js +32 -0
  46. package/dist/model/enums/UserRole.js +2 -1
  47. package/dist/model/enums/XMLiquidationStatus.js +34 -0
  48. package/dist/model/enums/index.js +34 -2
  49. package/dist/model/primeBetaSetFundingSettingsRequest.js +21 -0
  50. package/dist/services.js +3 -1
  51. package/dist/shared/paginatedResponse.js +2 -0
  52. package/dist/transactions/index.js +13 -0
  53. package/dist/types/clients/clientWithServices.d.ts +10 -0
  54. package/dist/types/clients/clientWithServicesTypes.d.ts +5 -0
  55. package/dist/types/constants.d.ts +1 -1
  56. package/dist/types/financing/index.d.ts +9 -1
  57. package/dist/types/financing/types.d.ts +26 -1
  58. package/dist/types/index.d.ts +2 -0
  59. package/dist/types/model/ActiveLiquidationSummary.d.ts +31 -0
  60. package/dist/types/model/BetaCrossMarginPrimeDerivativesEquityBreakdown.d.ts +40 -0
  61. package/dist/types/model/BetaCrossMarginPrimeMarginSummary.d.ts +100 -0
  62. package/dist/types/model/BetaCrossMarginPrimeRiskNettingInfo.d.ts +51 -0
  63. package/dist/types/model/{TravelRuleEntry.d.ts → BetaCrossMarginPrimeSpotEquityBreakdown.d.ts} +22 -16
  64. package/dist/types/model/BetaCrossMarginPrimeXMPosition.d.ts +84 -0
  65. package/dist/types/model/BetaCrossMarginRiskParameters.d.ts +72 -0
  66. package/dist/types/model/BetaGetCrossMarginPrimeOverviewResponse.d.ts +31 -0
  67. package/dist/types/model/BetaGetCrossMarginRiskParametersResponse.d.ts +43 -0
  68. package/dist/types/model/{DateOfBirth.d.ts → BetaGetMarketDataResponse.d.ts} +8 -4
  69. package/dist/types/model/BetaMarketData.d.ts +45 -0
  70. package/dist/types/model/BetaPrimeXMMarginCallThresholds.d.ts +42 -0
  71. package/dist/types/model/BetaPrimeXMMarginRequirementBreakdown.d.ts +41 -0
  72. package/dist/types/model/{TravelRuleWalletDetails.d.ts → BetaPrimeXMMarginThreshold.d.ts} +6 -8
  73. package/dist/types/model/BetaPrimeXMOffsetCreditBreakdown.d.ts +45 -0
  74. package/dist/types/model/BetaSetFundingSettingsResponse.d.ts +36 -0
  75. package/dist/types/model/BetaTierPairRateEntry.d.ts +36 -0
  76. package/dist/types/model/CrossMarginOverview.d.ts +2 -0
  77. package/dist/types/model/CrossMarginPrimeDerivativesEquityBreakdown.d.ts +40 -0
  78. package/dist/types/model/CrossMarginPrimeMarginSummary.d.ts +100 -0
  79. package/dist/types/model/CrossMarginPrimeRiskNettingInfo.d.ts +51 -0
  80. package/dist/types/model/CrossMarginPrimeSpotEquityBreakdown.d.ts +44 -0
  81. package/dist/types/model/CrossMarginPrimeXMPosition.d.ts +84 -0
  82. package/dist/types/model/CrossMarginRiskParameters.d.ts +72 -0
  83. package/dist/types/model/EntityUser.d.ts +9 -0
  84. package/dist/types/model/Fill.d.ts +4 -0
  85. package/dist/types/model/GetCrossMarginPrimeOverviewResponse.d.ts +31 -0
  86. package/dist/types/model/GetCrossMarginRiskParametersResponse.d.ts +43 -0
  87. package/dist/types/model/GetFcmRiskLimitsResponse.d.ts +6 -0
  88. package/dist/types/model/{GetWalletAddressesResponse.d.ts → GetMarketDataResponse.d.ts} +8 -5
  89. package/dist/types/model/MarketData.d.ts +45 -0
  90. package/dist/types/model/NetworkDetails.d.ts +12 -0
  91. package/dist/types/model/Order.d.ts +4 -0
  92. package/dist/types/model/PortfolioUser.d.ts +9 -0
  93. package/dist/types/model/PreviewUnstakeResponse.d.ts +17 -0
  94. package/dist/types/model/PrimeXMMarginCallThresholds.d.ts +42 -0
  95. package/dist/types/model/PrimeXMMarginRequirementBreakdown.d.ts +41 -0
  96. package/dist/types/model/{VASP.d.ts → PrimeXMMarginThreshold.d.ts} +6 -7
  97. package/dist/types/model/PrimeXMOffsetCreditBreakdown.d.ts +45 -0
  98. package/dist/types/model/Product.d.ts +6 -0
  99. package/dist/types/model/QuoteResponse.d.ts +4 -0
  100. package/dist/types/model/RFQ.d.ts +4 -0
  101. package/dist/types/model/SetFundingSettingsRequest.d.ts +44 -0
  102. package/dist/types/model/SetFundingSettingsResponse.d.ts +36 -0
  103. package/dist/types/model/TierPairRateEntry.d.ts +36 -0
  104. package/dist/types/model/ValidatorUnstakePreview.d.ts +40 -0
  105. package/dist/types/model/XMRiskNettingInfo.d.ts +2 -2
  106. package/dist/types/model/enums/BetaPrimeXMControlStatus.d.ts +28 -0
  107. package/dist/types/model/enums/BetaPrimeXMHealthStatus.d.ts +32 -0
  108. package/dist/types/model/enums/BetaPrimeXMMarginLevel.d.ts +30 -0
  109. package/dist/types/model/enums/BetaPrimeXMMarginRequirementType.d.ts +27 -0
  110. package/dist/types/model/enums/BetaPrimeXMMarginThresholdType.d.ts +28 -0
  111. package/dist/types/model/enums/PrimeXMControlStatus.d.ts +28 -0
  112. package/dist/types/model/enums/PrimeXMHealthStatus.d.ts +32 -0
  113. package/dist/types/model/enums/PrimeXMMarginLevel.d.ts +30 -0
  114. package/dist/types/model/enums/PrimeXMMarginRequirementType.d.ts +27 -0
  115. package/dist/types/model/enums/PrimeXMMarginThresholdType.d.ts +28 -0
  116. package/dist/types/model/enums/UserRole.d.ts +3 -2
  117. package/dist/types/model/enums/XMLiquidationStatus.d.ts +30 -0
  118. package/dist/types/model/enums/index.d.ts +16 -0
  119. package/dist/types/model/googleTypeDate.d.ts +1 -1
  120. package/dist/types/model/index.d.ts +33 -0
  121. package/dist/types/model/primeBetaSetFundingSettingsRequest.d.ts +44 -0
  122. package/dist/types/services.d.ts +1 -0
  123. package/dist/types/shared/paginatedResponse.d.ts +6 -0
  124. package/dist/types/transactions/index.d.ts +3 -1
  125. package/dist/types/transactions/types.d.ts +6 -1
  126. package/package.json +2 -2
  127. package/dist/model/CreateAddressGroup.js +0 -21
  128. package/dist/model/GetWalletAddressesResponse.js +0 -21
  129. package/dist/model/StakingInputs.js +0 -21
  130. package/dist/model/enumPrefixes.js +0 -330
  131. package/dist/shared/dynamicEnumValidation.js +0 -184
  132. package/dist/shared/dynamicEnumValidation.old.js +0 -746
  133. package/dist/shared/enumHelpers.js +0 -219
  134. package/dist/shared/enumRegistry.js +0 -153
  135. package/dist/shared/enumValidationCore.js +0 -194
  136. package/dist/shared/enumValidators.js +0 -115
  137. package/dist/shared/fieldMapping.js +0 -242
  138. package/dist/shared/serviceContext.js +0 -157
  139. package/dist/types/model/CreateAddressGroup.d.ts +0 -26
  140. package/dist/types/model/StakingInputs.d.ts +0 -25
  141. package/dist/types/model/enumPrefixes.d.ts +0 -206
  142. package/dist/types/shared/dynamicEnumValidation.d.ts +0 -48
  143. package/dist/types/shared/dynamicEnumValidation.old.d.ts +0 -143
  144. package/dist/types/shared/enumHelpers.d.ts +0 -135
  145. package/dist/types/shared/enumRegistry.d.ts +0 -74
  146. package/dist/types/shared/enumValidationCore.d.ts +0 -68
  147. package/dist/types/shared/enumValidators.d.ts +0 -117
  148. package/dist/types/shared/fieldMapping.d.ts +0 -35
  149. package/dist/types/shared/serviceContext.d.ts +0 -46
  150. /package/dist/model/{DateOfBirth.js → ActiveLiquidationSummary.js} +0 -0
  151. /package/dist/model/{TravelRuleEntry.js → BetaCrossMarginPrimeDerivativesEquityBreakdown.js} +0 -0
  152. /package/dist/model/{TravelRuleWalletDetails.js → BetaCrossMarginPrimeMarginSummary.js} +0 -0
  153. /package/dist/model/{VASP.js → BetaCrossMarginPrimeRiskNettingInfo.js} +0 -0
@@ -0,0 +1,21 @@
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 });
@@ -0,0 +1,21 @@
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 });
@@ -0,0 +1,21 @@
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 });
@@ -0,0 +1,21 @@
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 });
@@ -0,0 +1,21 @@
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 });
@@ -0,0 +1,21 @@
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 });
@@ -0,0 +1,21 @@
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 });
@@ -0,0 +1,21 @@
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 });
@@ -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.BetaPrimeXMControlStatus = void 0;
23
+ /**
24
+ * - 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.
25
+ */
26
+ var BetaPrimeXMControlStatus;
27
+ (function (BetaPrimeXMControlStatus) {
28
+ BetaPrimeXMControlStatus["XmControlStatusUnspecified"] = "XM_CONTROL_STATUS_UNSPECIFIED";
29
+ BetaPrimeXMControlStatus["TradesAndWithdrawals"] = "TRADES_AND_WITHDRAWALS";
30
+ BetaPrimeXMControlStatus["TradesOnly"] = "TRADES_ONLY";
31
+ BetaPrimeXMControlStatus["SessionLocked"] = "SESSION_LOCKED";
32
+ })(BetaPrimeXMControlStatus || (exports.BetaPrimeXMControlStatus = BetaPrimeXMControlStatus = {}));
@@ -0,0 +1,36 @@
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.BetaPrimeXMHealthStatus = void 0;
23
+ /**
24
+ * - 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).
25
+ */
26
+ var BetaPrimeXMHealthStatus;
27
+ (function (BetaPrimeXMHealthStatus) {
28
+ BetaPrimeXMHealthStatus["HealthStatusHealthy"] = "HEALTH_STATUS_HEALTHY";
29
+ BetaPrimeXMHealthStatus["HealthStatusWarning"] = "HEALTH_STATUS_WARNING";
30
+ BetaPrimeXMHealthStatus["HealthStatusCritical"] = "HEALTH_STATUS_CRITICAL";
31
+ BetaPrimeXMHealthStatus["HealthStatusSuspended"] = "HEALTH_STATUS_SUSPENDED";
32
+ BetaPrimeXMHealthStatus["HealthStatusRestricted"] = "HEALTH_STATUS_RESTRICTED";
33
+ BetaPrimeXMHealthStatus["HealthStatusPreLiquidation"] = "HEALTH_STATUS_PRE_LIQUIDATION";
34
+ BetaPrimeXMHealthStatus["HealthStatusLiquidating"] = "HEALTH_STATUS_LIQUIDATING";
35
+ BetaPrimeXMHealthStatus["HealthStatusInDeficit"] = "HEALTH_STATUS_IN_DEFICIT";
36
+ })(BetaPrimeXMHealthStatus || (exports.BetaPrimeXMHealthStatus = BetaPrimeXMHealthStatus = {}));
@@ -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.BetaPrimeXMMarginLevel = void 0;
23
+ /**
24
+ * - 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).
25
+ */
26
+ var BetaPrimeXMMarginLevel;
27
+ (function (BetaPrimeXMMarginLevel) {
28
+ BetaPrimeXMMarginLevel["XmMarginLevelUnspecified"] = "XM_MARGIN_LEVEL_UNSPECIFIED";
29
+ BetaPrimeXMMarginLevel["HealthyThreshold"] = "HEALTHY_THRESHOLD";
30
+ BetaPrimeXMMarginLevel["WarningThreshold"] = "WARNING_THRESHOLD";
31
+ BetaPrimeXMMarginLevel["UrgentMarginCallThreshold"] = "URGENT_MARGIN_CALL_THRESHOLD";
32
+ BetaPrimeXMMarginLevel["LiquidationThreshold"] = "LIQUIDATION_THRESHOLD";
33
+ BetaPrimeXMMarginLevel["DeficitThreshold"] = "DEFICIT_THRESHOLD";
34
+ })(BetaPrimeXMMarginLevel || (exports.BetaPrimeXMMarginLevel = BetaPrimeXMMarginLevel = {}));
@@ -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.BetaPrimeXMMarginRequirementType = void 0;
23
+ /**
24
+ * - 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).
25
+ */
26
+ var BetaPrimeXMMarginRequirementType;
27
+ (function (BetaPrimeXMMarginRequirementType) {
28
+ BetaPrimeXMMarginRequirementType["MarginRequirementTypeUnspecified"] = "MARGIN_REQUIREMENT_TYPE_UNSPECIFIED";
29
+ BetaPrimeXMMarginRequirementType["MarginRequirementTypeDmrPlusPmr"] = "MARGIN_REQUIREMENT_TYPE_DMR_PLUS_PMR";
30
+ BetaPrimeXMMarginRequirementType["MarginRequirementTypeIpmrPlusIfmr"] = "MARGIN_REQUIREMENT_TYPE_IPMR_PLUS_IFMR";
31
+ })(BetaPrimeXMMarginRequirementType || (exports.BetaPrimeXMMarginRequirementType = BetaPrimeXMMarginRequirementType = {}));
@@ -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.BetaPrimeXMMarginThresholdType = void 0;
23
+ /**
24
+ * - 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.
25
+ */
26
+ var BetaPrimeXMMarginThresholdType;
27
+ (function (BetaPrimeXMMarginThresholdType) {
28
+ BetaPrimeXMMarginThresholdType["MarginThresholdTypeUnspecified"] = "MARGIN_THRESHOLD_TYPE_UNSPECIFIED";
29
+ BetaPrimeXMMarginThresholdType["MarginThresholdEquityRatio"] = "MARGIN_THRESHOLD_EQUITY_RATIO";
30
+ BetaPrimeXMMarginThresholdType["MarginThresholdDeficitRatio"] = "MARGIN_THRESHOLD_DEFICIT_RATIO";
31
+ BetaPrimeXMMarginThresholdType["MarginThresholdNone"] = "MARGIN_THRESHOLD_NONE";
32
+ })(BetaPrimeXMMarginThresholdType || (exports.BetaPrimeXMMarginThresholdType = BetaPrimeXMMarginThresholdType = {}));
@@ -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.PrimeXMControlStatus = void 0;
23
+ /**
24
+ * - 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.
25
+ */
26
+ var PrimeXMControlStatus;
27
+ (function (PrimeXMControlStatus) {
28
+ PrimeXMControlStatus["XmControlStatusUnspecified"] = "XM_CONTROL_STATUS_UNSPECIFIED";
29
+ PrimeXMControlStatus["TradesAndWithdrawals"] = "TRADES_AND_WITHDRAWALS";
30
+ PrimeXMControlStatus["TradesOnly"] = "TRADES_ONLY";
31
+ PrimeXMControlStatus["SessionLocked"] = "SESSION_LOCKED";
32
+ })(PrimeXMControlStatus || (exports.PrimeXMControlStatus = PrimeXMControlStatus = {}));
@@ -0,0 +1,36 @@
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.PrimeXMHealthStatus = void 0;
23
+ /**
24
+ * - 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).
25
+ */
26
+ var PrimeXMHealthStatus;
27
+ (function (PrimeXMHealthStatus) {
28
+ PrimeXMHealthStatus["HealthStatusHealthy"] = "HEALTH_STATUS_HEALTHY";
29
+ PrimeXMHealthStatus["HealthStatusWarning"] = "HEALTH_STATUS_WARNING";
30
+ PrimeXMHealthStatus["HealthStatusCritical"] = "HEALTH_STATUS_CRITICAL";
31
+ PrimeXMHealthStatus["HealthStatusSuspended"] = "HEALTH_STATUS_SUSPENDED";
32
+ PrimeXMHealthStatus["HealthStatusRestricted"] = "HEALTH_STATUS_RESTRICTED";
33
+ PrimeXMHealthStatus["HealthStatusPreLiquidation"] = "HEALTH_STATUS_PRE_LIQUIDATION";
34
+ PrimeXMHealthStatus["HealthStatusLiquidating"] = "HEALTH_STATUS_LIQUIDATING";
35
+ PrimeXMHealthStatus["HealthStatusInDeficit"] = "HEALTH_STATUS_IN_DEFICIT";
36
+ })(PrimeXMHealthStatus || (exports.PrimeXMHealthStatus = PrimeXMHealthStatus = {}));
@@ -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.PrimeXMMarginLevel = void 0;
23
+ /**
24
+ * - 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).
25
+ */
26
+ var PrimeXMMarginLevel;
27
+ (function (PrimeXMMarginLevel) {
28
+ PrimeXMMarginLevel["XmMarginLevelUnspecified"] = "XM_MARGIN_LEVEL_UNSPECIFIED";
29
+ PrimeXMMarginLevel["HealthyThreshold"] = "HEALTHY_THRESHOLD";
30
+ PrimeXMMarginLevel["WarningThreshold"] = "WARNING_THRESHOLD";
31
+ PrimeXMMarginLevel["UrgentMarginCallThreshold"] = "URGENT_MARGIN_CALL_THRESHOLD";
32
+ PrimeXMMarginLevel["LiquidationThreshold"] = "LIQUIDATION_THRESHOLD";
33
+ PrimeXMMarginLevel["DeficitThreshold"] = "DEFICIT_THRESHOLD";
34
+ })(PrimeXMMarginLevel || (exports.PrimeXMMarginLevel = PrimeXMMarginLevel = {}));
@@ -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.PrimeXMMarginRequirementType = void 0;
23
+ /**
24
+ * - 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).
25
+ */
26
+ var PrimeXMMarginRequirementType;
27
+ (function (PrimeXMMarginRequirementType) {
28
+ PrimeXMMarginRequirementType["MarginRequirementTypeUnspecified"] = "MARGIN_REQUIREMENT_TYPE_UNSPECIFIED";
29
+ PrimeXMMarginRequirementType["MarginRequirementTypeDmrPlusPmr"] = "MARGIN_REQUIREMENT_TYPE_DMR_PLUS_PMR";
30
+ PrimeXMMarginRequirementType["MarginRequirementTypeIpmrPlusIfmr"] = "MARGIN_REQUIREMENT_TYPE_IPMR_PLUS_IFMR";
31
+ })(PrimeXMMarginRequirementType || (exports.PrimeXMMarginRequirementType = PrimeXMMarginRequirementType = {}));
@@ -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.PrimeXMMarginThresholdType = void 0;
23
+ /**
24
+ * - 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.
25
+ */
26
+ var PrimeXMMarginThresholdType;
27
+ (function (PrimeXMMarginThresholdType) {
28
+ PrimeXMMarginThresholdType["MarginThresholdTypeUnspecified"] = "MARGIN_THRESHOLD_TYPE_UNSPECIFIED";
29
+ PrimeXMMarginThresholdType["MarginThresholdEquityRatio"] = "MARGIN_THRESHOLD_EQUITY_RATIO";
30
+ PrimeXMMarginThresholdType["MarginThresholdDeficitRatio"] = "MARGIN_THRESHOLD_DEFICIT_RATIO";
31
+ PrimeXMMarginThresholdType["MarginThresholdNone"] = "MARGIN_THRESHOLD_NONE";
32
+ })(PrimeXMMarginThresholdType || (exports.PrimeXMMarginThresholdType = PrimeXMMarginThresholdType = {}));
@@ -21,7 +21,7 @@
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
22
  exports.UserRole = void 0;
23
23
  /**
24
- * - USER_ROLE_UNKNOWN: nil value - AUDITOR: An auditor - SIGNATORY: A signatory - ADMIN: An admin - INITIATOR: An initiator - REVIEWER: A reviewer - TRADER: A trader - FULL_TRADER: A trader with full permissions - TEAM_MANAGER: A team manager - APPROVER: An approver - TAX_MANAGER: A tax manager
24
+ * - USER_ROLE_UNKNOWN: nil value - AUDITOR: An auditor - SIGNATORY: A signatory - ADMIN: An admin - INITIATOR: An initiator - REVIEWER: A reviewer - TRADER: A trader - FULL_TRADER: A trader with full permissions - TEAM_MANAGER: A team manager - APPROVER: An approver - TAX_MANAGER: A tax manager - BUSINESS_MANAGER: A business manager
25
25
  */
26
26
  var UserRole;
27
27
  (function (UserRole) {
@@ -35,4 +35,5 @@ var UserRole;
35
35
  UserRole["TeamManager"] = "TEAM_MANAGER";
36
36
  UserRole["Approver"] = "APPROVER";
37
37
  UserRole["TaxManager"] = "TAX_MANAGER";
38
+ UserRole["BusinessManager"] = "BUSINESS_MANAGER";
38
39
  })(UserRole || (exports.UserRole = UserRole = {}));
@@ -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.XMLiquidationStatus = void 0;
23
+ /**
24
+ * - 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
25
+ */
26
+ var XMLiquidationStatus;
27
+ (function (XMLiquidationStatus) {
28
+ XMLiquidationStatus["XmLiquidationStatusUnset"] = "XM_LIQUIDATION_STATUS_UNSET";
29
+ XMLiquidationStatus["XmLiquidationStatusPreLiquidation"] = "XM_LIQUIDATION_STATUS_PRE_LIQUIDATION";
30
+ XMLiquidationStatus["XmLiquidationStatusLiquidating"] = "XM_LIQUIDATION_STATUS_LIQUIDATING";
31
+ XMLiquidationStatus["XmLiquidationStatusLiquidated"] = "XM_LIQUIDATION_STATUS_LIQUIDATED";
32
+ XMLiquidationStatus["XmLiquidationStatusCanceled"] = "XM_LIQUIDATION_STATUS_CANCELED";
33
+ XMLiquidationStatus["XmLiquidationStatusFailed"] = "XM_LIQUIDATION_STATUS_FAILED";
34
+ })(XMLiquidationStatus || (exports.XMLiquidationStatus = XMLiquidationStatus = {}));