@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,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 AssetBalance = {
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
+ * Conversion rate
39
+ */
40
+ conversionRate?: 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 });
@@ -66,4 +66,8 @@ export type Balance = {
66
66
  * The total amount in fiat unit
67
67
  */
68
68
  fiatAmount?: string;
69
+ /**
70
+ * Amount available for unbonding/unstaking, in whole units
71
+ */
72
+ unbondableAmount?: string;
69
73
  };
@@ -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 BuyingPower = {
21
+ /**
22
+ * The unique ID of the portfolio
23
+ */
24
+ portfolioId?: string;
25
+ /**
26
+ * The symbol for the base currency
27
+ */
28
+ baseCurrency?: string;
29
+ /**
30
+ * The symbol for the quote currency
31
+ */
32
+ quoteCurrency?: string;
33
+ /**
34
+ * The buying power for the base currency
35
+ */
36
+ baseBuyingPower?: string;
37
+ /**
38
+ * The buying power for the quote currency
39
+ */
40
+ quoteBuyingPower?: 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,36 @@
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 { ConversionDetail } from './ConversionDetail';
21
+ import { ShortCollateral } from './ShortCollateral';
22
+ export type Conversion = {
23
+ /**
24
+ * Conversion details
25
+ */
26
+ conversionDetails?: Array<ConversionDetail>;
27
+ shortCollateral?: ShortCollateral;
28
+ /**
29
+ * The UTC date time used for conversion
30
+ */
31
+ conversionDatetime?: string;
32
+ /**
33
+ * Portfolio Id
34
+ */
35
+ portfolioId?: string;
36
+ };
@@ -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,49 @@
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 ConversionDetail = {
21
+ /**
22
+ * The currency symbol
23
+ */
24
+ symbol?: string;
25
+ /**
26
+ * Trade finance balance after the conversion
27
+ */
28
+ tfBalance?: string;
29
+ /**
30
+ * Notional trade finance balance after the conversion
31
+ */
32
+ notionalTfBalance?: string;
33
+ /**
34
+ * Converted balance
35
+ */
36
+ convertedBalance?: string;
37
+ /**
38
+ * Notional converted balance
39
+ */
40
+ notionalConvertedBalance?: string;
41
+ /**
42
+ * Interest rate
43
+ */
44
+ interestRate?: string;
45
+ /**
46
+ * Conversion rate
47
+ */
48
+ conversionRate?: string;
49
+ };
@@ -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
+ import { AddressEntry } from './AddressEntry';
21
+ import { NetworkType } from './enums/NetworkType';
22
+ export type CreateAddressGroup = {
23
+ name?: string;
24
+ networkType?: NetworkType;
25
+ addresses?: Array<AddressEntry>;
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,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 CreateNewLocatesRequest = {
21
+ /**
22
+ * Currency symbol
23
+ */
24
+ symbol: string;
25
+ /**
26
+ * Locate Amount
27
+ */
28
+ amount: string;
29
+ /**
30
+ * Deprecated: Use locate_date instead
31
+ */
32
+ conversionDate?: string;
33
+ /**
34
+ * The target date of the locate (YYYY-MM-DD)
35
+ */
36
+ locateDate?: 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,22 @@
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 CreateNewLocatesResponse = {
21
+ locateId?: string;
22
+ };
@@ -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 });
@@ -37,4 +37,8 @@ export type CreateOrderRequest = {
37
37
  isRaiseExact?: boolean;
38
38
  historicalPov?: string;
39
39
  stopPrice?: string;
40
+ /**
41
+ * next: 19
42
+ */
43
+ settlCurrency?: string;
40
44
  };
@@ -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 EntityBalance = {
21
+ /**
22
+ * The display symbol for the asset
23
+ */
24
+ symbol?: string;
25
+ /**
26
+ * The long balance
27
+ */
28
+ longAmount?: string;
29
+ /**
30
+ * The long balance in notional value
31
+ */
32
+ longNotional?: string;
33
+ /**
34
+ * The short balance
35
+ */
36
+ shortAmount?: string;
37
+ /**
38
+ * The short balance in notional value
39
+ */
40
+ shortNotional?: 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,65 @@
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 ExistingLocate = {
21
+ /**
22
+ * The locate ID
23
+ */
24
+ locateId?: string;
25
+ /**
26
+ * The unique ID of the entity
27
+ */
28
+ entityId?: string;
29
+ /**
30
+ * The unique ID of the portfolio
31
+ */
32
+ portfolioId?: string;
33
+ /**
34
+ * The currency symbol
35
+ */
36
+ symbol?: string;
37
+ /**
38
+ * The requested locate amount
39
+ */
40
+ requestedAmount?: string;
41
+ /**
42
+ * The interest rate of PM loan
43
+ */
44
+ interestRate?: string;
45
+ /**
46
+ * The locate status
47
+ */
48
+ status?: string;
49
+ /**
50
+ * The approved locate amount
51
+ */
52
+ approvedAmount?: string;
53
+ /**
54
+ * Deprecated: Use locate_date instead
55
+ */
56
+ conversionDate?: string;
57
+ /**
58
+ * The date when the locate was submitted in RFC3339 format
59
+ */
60
+ createdAt?: string;
61
+ /**
62
+ * The locate date from the CreateNewLocatesRequest in RFC3339 format
63
+ */
64
+ locateDate?: string;
65
+ };
@@ -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 });
@@ -31,6 +31,10 @@ export type Fill = {
31
31
  * The product ID of the fill
32
32
  */
33
33
  productId?: string;
34
+ /**
35
+ * The client product ID of the fill indicating the settlement currency
36
+ */
37
+ clientProductId?: string;
34
38
  side?: OrderSide;
35
39
  /**
36
40
  * Filled size (in base asset units)
@@ -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 { BuyingPower } from './BuyingPower';
21
+ export type GetBuyingPowerResponse = {
22
+ buyingPower?: BuyingPower;
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 });