@coinbase-sample/prime-sdk-ts 0.2.1 → 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 (121) 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 +1 -0
  13. package/dist/model/Accrual.d.ts +83 -0
  14. package/dist/model/Accrual.js +21 -0
  15. package/dist/model/AddressEntry.d.ts +0 -3
  16. package/dist/model/AddressGroup.d.ts +1 -0
  17. package/dist/model/AssetBalance.d.ts +41 -0
  18. package/dist/model/AssetBalance.js +21 -0
  19. package/dist/model/Balance.d.ts +4 -0
  20. package/dist/model/BuyingPower.d.ts +41 -0
  21. package/dist/model/BuyingPower.js +21 -0
  22. package/dist/model/Conversion.d.ts +36 -0
  23. package/dist/model/Conversion.js +21 -0
  24. package/dist/model/ConversionDetail.d.ts +49 -0
  25. package/dist/model/ConversionDetail.js +21 -0
  26. package/dist/model/CreateNewLocatesRequest.d.ts +37 -0
  27. package/dist/model/CreateNewLocatesRequest.js +21 -0
  28. package/dist/model/CreateNewLocatesResponse.d.ts +22 -0
  29. package/dist/model/CreateNewLocatesResponse.js +21 -0
  30. package/dist/model/CreateOrderRequest.d.ts +4 -0
  31. package/dist/model/EntityBalance.d.ts +41 -0
  32. package/dist/model/EntityBalance.js +21 -0
  33. package/dist/model/ExistingLocate.d.ts +65 -0
  34. package/dist/model/ExistingLocate.js +21 -0
  35. package/dist/model/Fill.d.ts +4 -0
  36. package/dist/model/GetBuyingPowerResponse.d.ts +23 -0
  37. package/dist/model/GetBuyingPowerResponse.js +21 -0
  38. package/dist/model/GetExistingLocatesResponse.d.ts +23 -0
  39. package/dist/model/GetExistingLocatesResponse.js +21 -0
  40. package/dist/model/GetInterestAccrualsResponse.d.ts +24 -0
  41. package/dist/model/GetInterestAccrualsResponse.js +21 -0
  42. package/dist/model/GetLocateAvailabilitiesResponse.d.ts +23 -0
  43. package/dist/model/GetLocateAvailabilitiesResponse.js +21 -0
  44. package/dist/model/GetMarginConversionsResponse.d.ts +23 -0
  45. package/dist/model/GetMarginConversionsResponse.js +21 -0
  46. package/dist/model/GetMarginInformationResponse.d.ts +23 -0
  47. package/dist/model/GetMarginInformationResponse.js +21 -0
  48. package/dist/model/GetMarginSummariesResponse.d.ts +23 -0
  49. package/dist/model/GetMarginSummariesResponse.js +21 -0
  50. package/dist/model/GetPortfolioInterestAccrualsResponse.d.ts +24 -0
  51. package/dist/model/GetPortfolioInterestAccrualsResponse.js +21 -0
  52. package/dist/model/GetTFTieredPricingFeesResponse.d.ts +23 -0
  53. package/dist/model/GetTFTieredPricingFeesResponse.js +21 -0
  54. package/dist/model/GetWithdrawalPowerResponse.d.ts +23 -0
  55. package/dist/model/GetWithdrawalPowerResponse.js +21 -0
  56. package/dist/model/ListAggregateEntityPositionsResponse.d.ts +25 -0
  57. package/dist/model/ListAggregateEntityPositionsResponse.js +21 -0
  58. package/dist/model/ListEntityBalancesResponse.d.ts +25 -0
  59. package/dist/model/ListEntityBalancesResponse.js +21 -0
  60. package/dist/model/ListEntityPositionsResponse.d.ts +25 -0
  61. package/dist/model/ListEntityPositionsResponse.js +21 -0
  62. package/dist/model/LoanInfo.d.ts +41 -0
  63. package/dist/model/LoanInfo.js +21 -0
  64. package/dist/model/Locate.d.ts +33 -0
  65. package/dist/model/Locate.js +21 -0
  66. package/dist/model/MarginAddOn.d.ts +27 -0
  67. package/dist/model/MarginAddOn.js +21 -0
  68. package/dist/model/MarginCallRecord.d.ts +41 -0
  69. package/dist/model/MarginCallRecord.js +21 -0
  70. package/dist/model/MarginInformation.d.ts +28 -0
  71. package/dist/model/MarginInformation.js +21 -0
  72. package/dist/model/MarginSummary.d.ts +151 -0
  73. package/dist/model/MarginSummary.js +21 -0
  74. package/dist/model/MarginSummaryHistorical.d.ts +31 -0
  75. package/dist/model/MarginSummaryHistorical.js +21 -0
  76. package/dist/model/MarketRate.d.ts +29 -0
  77. package/dist/model/MarketRate.js +21 -0
  78. package/dist/model/Order.d.ts +4 -0
  79. package/dist/model/OrderPreviewRequest.d.ts +4 -0
  80. package/dist/model/PMAssetInfo.d.ts +89 -0
  81. package/dist/model/PMAssetInfo.js +21 -0
  82. package/dist/model/Position.d.ts +35 -0
  83. package/dist/model/Position.js +21 -0
  84. package/dist/model/PositionReference.d.ts +27 -0
  85. package/dist/model/PositionReference.js +21 -0
  86. package/dist/model/Product.d.ts +2 -0
  87. package/dist/model/RFQ.d.ts +1 -0
  88. package/dist/model/RFQProductDetails.d.ts +24 -0
  89. package/dist/model/RFQProductDetails.js +21 -0
  90. package/dist/model/RpcConfig.d.ts +1 -1
  91. package/dist/model/ShortCollateral.d.ts +37 -0
  92. package/dist/model/ShortCollateral.js +21 -0
  93. package/dist/model/TieredPricingFee.d.ts +29 -0
  94. package/dist/model/TieredPricingFee.js +21 -0
  95. package/dist/model/WithdrawalPower.d.ts +29 -0
  96. package/dist/model/WithdrawalPower.js +21 -0
  97. package/dist/model/enums/Benchmark.d.ts +26 -0
  98. package/dist/model/enums/Benchmark.js +30 -0
  99. package/dist/model/enums/LoanType.d.ts +27 -0
  100. package/dist/model/enums/LoanType.js +31 -0
  101. package/dist/model/enums/MarginAddOnType.d.ts +26 -0
  102. package/dist/model/enums/MarginAddOnType.js +30 -0
  103. package/dist/model/enums/NetworkType.d.ts +1 -0
  104. package/dist/model/enums/NetworkType.js +1 -0
  105. package/dist/model/enums/PortfolioBalanceType.d.ts +2 -1
  106. package/dist/model/enums/PortfolioBalanceType.js +1 -0
  107. package/dist/model/enums/PositionReferenceType.d.ts +24 -0
  108. package/dist/model/enums/PositionReferenceType.js +28 -0
  109. package/dist/model/enums/RateType.d.ts +26 -0
  110. package/dist/model/enums/RateType.js +30 -0
  111. package/dist/portfolios/index.d.ts +3 -3
  112. package/dist/portfolios/index.js +1 -1
  113. package/dist/portfolios/types.d.ts +1 -0
  114. package/dist/positions/index.d.ts +29 -0
  115. package/dist/positions/index.js +40 -0
  116. package/dist/positions/types.d.ts +14 -0
  117. package/dist/positions/types.js +2 -0
  118. package/dist/wallets/index.d.ts +5 -1
  119. package/dist/wallets/index.js +51 -0
  120. package/dist/wallets/types.d.ts +22 -0
  121. 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,23 @@
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 { Conversion } from './Conversion';
21
+ export type GetMarginConversionsResponse = {
22
+ conversions?: Array<Conversion>;
23
+ };
@@ -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,23 @@
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 { MarginInformation } from './MarginInformation';
21
+ export type GetMarginInformationResponse = {
22
+ marginInformation?: MarginInformation;
23
+ };
@@ -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,23 @@
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 { MarginSummaryHistorical } from './MarginSummaryHistorical';
21
+ export type GetMarginSummariesResponse = {
22
+ marginSummaries?: Array<MarginSummaryHistorical>;
23
+ };
@@ -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
+ import { Accrual } from './Accrual';
21
+ export type GetPortfolioInterestAccrualsResponse = {
22
+ totalNotionalAccrual?: string;
23
+ accruals?: Array<Accrual>;
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 });
@@ -0,0 +1,23 @@
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 { TieredPricingFee } from './TieredPricingFee';
21
+ export type GetTFTieredPricingFeesResponse = {
22
+ fees?: Array<TieredPricingFee>;
23
+ };
@@ -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,23 @@
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 { WithdrawalPower } from './WithdrawalPower';
21
+ export type GetWithdrawalPowerResponse = {
22
+ withdrawalPower?: WithdrawalPower;
23
+ };
@@ -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,25 @@
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 { PaginatedResponse } from './PaginatedResponse';
21
+ import { Position } from './Position';
22
+ export type ListAggregateEntityPositionsResponse = {
23
+ positions: Array<Position>;
24
+ pagination: PaginatedResponse;
25
+ };
@@ -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,25 @@
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 { EntityBalance } from './EntityBalance';
21
+ import { PaginatedResponse } from './PaginatedResponse';
22
+ export type ListEntityBalancesResponse = {
23
+ balances: Array<EntityBalance>;
24
+ pagination: PaginatedResponse;
25
+ };
@@ -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,25 @@
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 { PaginatedResponse } from './PaginatedResponse';
21
+ import { Position } from './Position';
22
+ export type ListEntityPositionsResponse = {
23
+ positions: Array<Position>;
24
+ pagination: PaginatedResponse;
25
+ };
@@ -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,41 @@
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 LoanInfo = {
21
+ /**
22
+ * The unique ID of the portfolio
23
+ */
24
+ portfolioId?: string;
25
+ /**
26
+ * The currency symbol
27
+ */
28
+ symbol?: string;
29
+ /**
30
+ * Balance amount
31
+ */
32
+ amount?: string;
33
+ /**
34
+ * Notional balance amount
35
+ */
36
+ notionalAmount?: string;
37
+ /**
38
+ * Settlement due date
39
+ */
40
+ dueDate?: string;
41
+ };
@@ -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,33 @@
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 Locate = {
21
+ /**
22
+ * The currency symbol
23
+ */
24
+ symbol?: string;
25
+ /**
26
+ * The available quantity located
27
+ */
28
+ quantity?: string;
29
+ /**
30
+ * The interest rate for located symbol
31
+ */
32
+ rate?: string;
33
+ };
@@ -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 { MarginAddOnType } from './enums/MarginAddOnType';
21
+ export type MarginAddOn = {
22
+ /**
23
+ * margin add on amount
24
+ */
25
+ amount?: string;
26
+ addOnType?: MarginAddOnType;
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 });
@@ -0,0 +1,41 @@
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 MarginCallRecord = {
21
+ /**
22
+ * The unique ID of the margin call
23
+ */
24
+ marginCallId?: string;
25
+ /**
26
+ * The initial margin call amount in notional value
27
+ */
28
+ initialNotionalAmount?: string;
29
+ /**
30
+ * The outstanding margin call amount in notional value
31
+ */
32
+ outstandingNotionalAmount?: string;
33
+ /**
34
+ * The time the margin call is created in RFC3330 format
35
+ */
36
+ createdAt?: string;
37
+ /**
38
+ * The time the margin call is due in RFC3339 format
39
+ */
40
+ dueAt?: string;
41
+ };