@coinbase-sample/prime-sdk-ts 0.2.0 → 0.3.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 (128) hide show
  1. package/dist/balances/index.d.ts +3 -1
  2. package/dist/balances/index.js +12 -1
  3. package/dist/balances/types.d.ts +9 -0
  4. package/dist/financing/index.d.ts +49 -0
  5. package/dist/financing/index.js +144 -0
  6. package/dist/financing/types.d.ts +94 -0
  7. package/dist/financing/types.js +2 -0
  8. package/dist/futures/index.d.ts +5 -5
  9. package/dist/futures/types.d.ts +2 -2
  10. package/dist/index.d.ts +19 -0
  11. package/dist/index.js +3 -1
  12. package/dist/model/AcceptQuoteRequest.d.ts +33 -0
  13. package/dist/model/AcceptQuoteRequest.js +21 -0
  14. package/dist/model/AcceptQuoteResponse.d.ts +22 -0
  15. package/dist/model/AcceptQuoteResponse.js +21 -0
  16. package/dist/model/Accrual.d.ts +83 -0
  17. package/dist/model/Accrual.js +21 -0
  18. package/dist/model/AssetBalance.d.ts +41 -0
  19. package/dist/model/AssetBalance.js +21 -0
  20. package/dist/model/Balance.d.ts +4 -0
  21. package/dist/model/BuyingPower.d.ts +41 -0
  22. package/dist/model/BuyingPower.js +21 -0
  23. package/dist/model/Conversion.d.ts +36 -0
  24. package/dist/model/Conversion.js +21 -0
  25. package/dist/model/ConversionDetail.d.ts +49 -0
  26. package/dist/model/ConversionDetail.js +21 -0
  27. package/dist/model/CreateAddressGroup.d.ts +26 -0
  28. package/dist/model/CreateAddressGroup.js +21 -0
  29. package/dist/model/CreateNewLocatesRequest.d.ts +37 -0
  30. package/dist/model/CreateNewLocatesRequest.js +21 -0
  31. package/dist/model/CreateNewLocatesResponse.d.ts +22 -0
  32. package/dist/model/CreateNewLocatesResponse.js +21 -0
  33. package/dist/model/CreateOrderRequest.d.ts +4 -0
  34. package/dist/model/EntityBalance.d.ts +41 -0
  35. package/dist/model/EntityBalance.js +21 -0
  36. package/dist/model/ExistingLocate.d.ts +65 -0
  37. package/dist/model/ExistingLocate.js +21 -0
  38. package/dist/model/Fill.d.ts +4 -0
  39. package/dist/model/GetBuyingPowerResponse.d.ts +23 -0
  40. package/dist/model/GetBuyingPowerResponse.js +21 -0
  41. package/dist/model/GetExistingLocatesResponse.d.ts +23 -0
  42. package/dist/model/GetExistingLocatesResponse.js +21 -0
  43. package/dist/model/GetInterestAccrualsResponse.d.ts +24 -0
  44. package/dist/model/GetInterestAccrualsResponse.js +21 -0
  45. package/dist/model/GetLocateAvailabilitiesResponse.d.ts +23 -0
  46. package/dist/model/GetLocateAvailabilitiesResponse.js +21 -0
  47. package/dist/model/GetMarginConversionsResponse.d.ts +23 -0
  48. package/dist/model/GetMarginConversionsResponse.js +21 -0
  49. package/dist/model/GetMarginInformationResponse.d.ts +23 -0
  50. package/dist/model/GetMarginInformationResponse.js +21 -0
  51. package/dist/model/GetMarginSummariesResponse.d.ts +23 -0
  52. package/dist/model/GetMarginSummariesResponse.js +21 -0
  53. package/dist/model/GetPortfolioInterestAccrualsResponse.d.ts +24 -0
  54. package/dist/model/GetPortfolioInterestAccrualsResponse.js +21 -0
  55. package/dist/model/GetTFTieredPricingFeesResponse.d.ts +23 -0
  56. package/dist/model/GetTFTieredPricingFeesResponse.js +21 -0
  57. package/dist/model/GetWithdrawalPowerResponse.d.ts +23 -0
  58. package/dist/model/GetWithdrawalPowerResponse.js +21 -0
  59. package/dist/model/ListAggregateEntityPositionsResponse.d.ts +25 -0
  60. package/dist/model/ListAggregateEntityPositionsResponse.js +21 -0
  61. package/dist/model/ListEntityBalancesResponse.d.ts +25 -0
  62. package/dist/model/ListEntityBalancesResponse.js +21 -0
  63. package/dist/model/ListEntityPositionsResponse.d.ts +25 -0
  64. package/dist/model/ListEntityPositionsResponse.js +21 -0
  65. package/dist/model/LoanInfo.d.ts +41 -0
  66. package/dist/model/LoanInfo.js +21 -0
  67. package/dist/model/Locate.d.ts +33 -0
  68. package/dist/model/Locate.js +21 -0
  69. package/dist/model/MarginAddOn.d.ts +27 -0
  70. package/dist/model/MarginAddOn.js +21 -0
  71. package/dist/model/MarginCallRecord.d.ts +41 -0
  72. package/dist/model/MarginCallRecord.js +21 -0
  73. package/dist/model/MarginInformation.d.ts +28 -0
  74. package/dist/model/MarginInformation.js +21 -0
  75. package/dist/model/MarginSummary.d.ts +151 -0
  76. package/dist/model/MarginSummary.js +21 -0
  77. package/dist/model/MarginSummaryHistorical.d.ts +31 -0
  78. package/dist/model/MarginSummaryHistorical.js +21 -0
  79. package/dist/model/MarketRate.d.ts +29 -0
  80. package/dist/model/MarketRate.js +21 -0
  81. package/dist/model/Order.d.ts +4 -0
  82. package/dist/model/OrderPreviewRequest.d.ts +4 -0
  83. package/dist/model/PMAssetInfo.d.ts +89 -0
  84. package/dist/model/PMAssetInfo.js +21 -0
  85. package/dist/model/Position.d.ts +35 -0
  86. package/dist/model/Position.js +21 -0
  87. package/dist/model/PositionReference.d.ts +27 -0
  88. package/dist/model/PositionReference.js +21 -0
  89. package/dist/model/Product.d.ts +2 -0
  90. package/dist/model/QuoteResponse.d.ts +26 -0
  91. package/dist/model/QuoteResponse.js +21 -0
  92. package/dist/model/RFQ.d.ts +35 -0
  93. package/dist/model/RFQ.js +21 -0
  94. package/dist/model/RFQProductDetails.d.ts +24 -0
  95. package/dist/model/RFQProductDetails.js +21 -0
  96. package/dist/model/RpcConfig.d.ts +1 -1
  97. package/dist/model/ShortCollateral.d.ts +37 -0
  98. package/dist/model/ShortCollateral.js +21 -0
  99. package/dist/model/TieredPricingFee.d.ts +29 -0
  100. package/dist/model/TieredPricingFee.js +21 -0
  101. package/dist/model/WithdrawalPower.d.ts +29 -0
  102. package/dist/model/WithdrawalPower.js +21 -0
  103. package/dist/model/enums/Benchmark.d.ts +26 -0
  104. package/dist/model/enums/Benchmark.js +30 -0
  105. package/dist/model/enums/LoanType.d.ts +27 -0
  106. package/dist/model/enums/LoanType.js +31 -0
  107. package/dist/model/enums/MarginAddOnType.d.ts +26 -0
  108. package/dist/model/enums/MarginAddOnType.js +30 -0
  109. package/dist/model/enums/PortfolioBalanceType.d.ts +2 -1
  110. package/dist/model/enums/PortfolioBalanceType.js +1 -0
  111. package/dist/model/enums/PositionReferenceType.d.ts +24 -0
  112. package/dist/model/enums/PositionReferenceType.js +28 -0
  113. package/dist/model/enums/RateType.d.ts +26 -0
  114. package/dist/model/enums/RateType.js +30 -0
  115. package/dist/orders/index.d.ts +5 -1
  116. package/dist/orders/index.js +22 -0
  117. package/dist/orders/types.d.ts +11 -0
  118. package/dist/portfolios/index.d.ts +3 -3
  119. package/dist/portfolios/index.js +1 -1
  120. package/dist/portfolios/types.d.ts +1 -0
  121. package/dist/positions/index.d.ts +29 -0
  122. package/dist/positions/index.js +40 -0
  123. package/dist/positions/types.d.ts +14 -0
  124. package/dist/positions/types.js +2 -0
  125. package/dist/wallets/index.d.ts +5 -1
  126. package/dist/wallets/index.js +51 -0
  127. package/dist/wallets/types.d.ts +22 -0
  128. package/package.json +12 -11
@@ -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,27 @@
1
+ /**
2
+ * Copyright 2025-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
+ import { PositionReferenceType } from './enums/PositionReferenceType';
21
+ export type PositionReference = {
22
+ /**
23
+ * Reference ID
24
+ */
25
+ id?: string;
26
+ type?: PositionReferenceType;
27
+ };
@@ -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 });
@@ -18,6 +18,7 @@
18
18
  * Do not edit the class manually.
19
19
  */
20
20
  import { ProductPermissions } from './enums/ProductPermissions';
21
+ import { RFQProductDetails } from './RFQProductDetails';
21
22
  export type Product = {
22
23
  /**
23
24
  * The product ID, written as `BASE-QUOTE`
@@ -55,4 +56,5 @@ export type Product = {
55
56
  * The smallest permitted price increment for the product
56
57
  */
57
58
  priceIncrement?: string;
59
+ rfqProductDetails?: RFQProductDetails;
58
60
  };
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Copyright 2025-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
+ export type QuoteResponse = {
21
+ quoteId?: string;
22
+ expirationTime?: Date;
23
+ bestPrice?: string;
24
+ orderTotal?: string;
25
+ priceInclusiveOfFees?: string;
26
+ };
@@ -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,35 @@
1
+ /**
2
+ * Copyright 2025-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
+ import { OrderSide } from './enums/OrderSide';
21
+ /**
22
+ * based off PostOrderPreviewRequest
23
+ */
24
+ export type RFQ = {
25
+ productId: string;
26
+ side: OrderSide;
27
+ /**
28
+ * A client-generated order ID used for reference purposes (note: order will be rejected if this ID is not unique among all currently active orders)
29
+ */
30
+ clientQuoteId: string;
31
+ baseQuantity?: string;
32
+ quoteValue?: string;
33
+ limitPrice: string;
34
+ settlCurrency?: string;
35
+ };
@@ -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,24 @@
1
+ /**
2
+ * Copyright 2025-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
+ export type RFQProductDetails = {
21
+ tradable?: boolean;
22
+ minNotionalSize?: string;
23
+ maxNotionalSize?: string;
24
+ };
@@ -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 });
@@ -23,7 +23,7 @@ export type RpcConfig = {
23
23
  */
24
24
  skipBroadcast?: boolean;
25
25
  /**
26
- * Custom blockchain node URL. Currently only supports Flashbots RPC endpoint for EVM mainnet (https://rpc.flashbots.net/fast).
26
+ * Custom blockchain node URL. Currently only usable for Flashbots RPC endpoint for ETH mainnet (https://rpc.flashbots.net/fast).
27
27
  */
28
28
  url?: string;
29
29
  };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Copyright 2025-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
+ export type ShortCollateral = {
21
+ /**
22
+ * Existing short collateral balance
23
+ */
24
+ oldBalance?: string;
25
+ /**
26
+ * New short collateral balance required
27
+ */
28
+ newBalance?: string;
29
+ /**
30
+ * Loan interest rate
31
+ */
32
+ loanInterestRate?: string;
33
+ /**
34
+ * Collateral interest rate
35
+ */
36
+ collateralInterestRate?: string;
37
+ };
@@ -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,29 @@
1
+ /**
2
+ * Copyright 2025-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
+ export type TieredPricingFee = {
21
+ /**
22
+ * Asset symbol
23
+ */
24
+ symbol?: string;
25
+ /**
26
+ * The fee in bps
27
+ */
28
+ fee?: string;
29
+ };
@@ -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,29 @@
1
+ /**
2
+ * Copyright 2025-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
+ export type WithdrawalPower = {
21
+ /**
22
+ * The currency symbol
23
+ */
24
+ symbol?: string;
25
+ /**
26
+ * Withdrawal power
27
+ */
28
+ amount?: string;
29
+ };
@@ -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,26 @@
1
+ /**
2
+ * Copyright 2025-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
+ export declare enum Benchmark {
21
+ BenchmarkUnset = "BENCHMARK_UNSET",
22
+ Zero = "ZERO",
23
+ Sofr360 = "SOFR_360",
24
+ Sofr365 = "SOFR_365",
25
+ CryptoRfr = "CRYPTO_RFR"
26
+ }
@@ -0,0 +1,30 @@
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.Benchmark = void 0;
23
+ var Benchmark;
24
+ (function (Benchmark) {
25
+ Benchmark["BenchmarkUnset"] = "BENCHMARK_UNSET";
26
+ Benchmark["Zero"] = "ZERO";
27
+ Benchmark["Sofr360"] = "SOFR_360";
28
+ Benchmark["Sofr365"] = "SOFR_365";
29
+ Benchmark["CryptoRfr"] = "CRYPTO_RFR";
30
+ })(Benchmark || (exports.Benchmark = Benchmark = {}));
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Copyright 2025-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
+ export declare enum LoanType {
21
+ LoanTypeUnset = "LOAN_TYPE_UNSET",
22
+ BilateralLending = "BILATERAL_LENDING",
23
+ TradeFinance = "TRADE_FINANCE",
24
+ PortfolioMargin = "PORTFOLIO_MARGIN",
25
+ ShortCollateralLoan = "SHORT_COLLATERAL_LOAN",
26
+ ShortCollateral = "SHORT_COLLATERAL"
27
+ }
@@ -0,0 +1,31 @@
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.LoanType = void 0;
23
+ var LoanType;
24
+ (function (LoanType) {
25
+ LoanType["LoanTypeUnset"] = "LOAN_TYPE_UNSET";
26
+ LoanType["BilateralLending"] = "BILATERAL_LENDING";
27
+ LoanType["TradeFinance"] = "TRADE_FINANCE";
28
+ LoanType["PortfolioMargin"] = "PORTFOLIO_MARGIN";
29
+ LoanType["ShortCollateralLoan"] = "SHORT_COLLATERAL_LOAN";
30
+ LoanType["ShortCollateral"] = "SHORT_COLLATERAL";
31
+ })(LoanType || (exports.LoanType = LoanType = {}));
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Copyright 2025-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
+ export declare enum MarginAddOnType {
21
+ MarginAddOnTypeUnspecified = "MARGIN_ADD_ON_TYPE_UNSPECIFIED",
22
+ SingleCoinStress = "SINGLE_COIN_STRESS",
23
+ ConcentrationStress = "CONCENTRATION_STRESS",
24
+ MacroStress = "MACRO_STRESS",
25
+ ShortBiasedStress = "SHORT_BIASED_STRESS"
26
+ }
@@ -0,0 +1,30 @@
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.MarginAddOnType = void 0;
23
+ var MarginAddOnType;
24
+ (function (MarginAddOnType) {
25
+ MarginAddOnType["MarginAddOnTypeUnspecified"] = "MARGIN_ADD_ON_TYPE_UNSPECIFIED";
26
+ MarginAddOnType["SingleCoinStress"] = "SINGLE_COIN_STRESS";
27
+ MarginAddOnType["ConcentrationStress"] = "CONCENTRATION_STRESS";
28
+ MarginAddOnType["MacroStress"] = "MACRO_STRESS";
29
+ MarginAddOnType["ShortBiasedStress"] = "SHORT_BIASED_STRESS";
30
+ })(MarginAddOnType || (exports.MarginAddOnType = MarginAddOnType = {}));
@@ -22,5 +22,6 @@ export declare enum PortfolioBalanceType {
22
22
  TradingBalances = "TRADING_BALANCES",
23
23
  VaultBalances = "VAULT_BALANCES",
24
24
  TotalBalances = "TOTAL_BALANCES",
25
- PrimeCustodyBalances = "PRIME_CUSTODY_BALANCES"
25
+ PrimeCustodyBalances = "PRIME_CUSTODY_BALANCES",
26
+ UnifiedTotalBalances = "UNIFIED_TOTAL_BALANCES"
26
27
  }
@@ -27,4 +27,5 @@ var PortfolioBalanceType;
27
27
  PortfolioBalanceType["VaultBalances"] = "VAULT_BALANCES";
28
28
  PortfolioBalanceType["TotalBalances"] = "TOTAL_BALANCES";
29
29
  PortfolioBalanceType["PrimeCustodyBalances"] = "PRIME_CUSTODY_BALANCES";
30
+ PortfolioBalanceType["UnifiedTotalBalances"] = "UNIFIED_TOTAL_BALANCES";
30
31
  })(PortfolioBalanceType || (exports.PortfolioBalanceType = PortfolioBalanceType = {}));
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright 2025-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
+ export declare enum PositionReferenceType {
21
+ PositionReferenceTypeUnspecified = "POSITION_REFERENCE_TYPE_UNSPECIFIED",
22
+ Entity = "ENTITY",
23
+ Portfolio = "PORTFOLIO"
24
+ }