@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.
- package/dist/balances/index.d.ts +3 -1
- package/dist/balances/index.js +12 -1
- package/dist/balances/types.d.ts +9 -0
- package/dist/financing/index.d.ts +49 -0
- package/dist/financing/index.js +144 -0
- package/dist/financing/types.d.ts +94 -0
- package/dist/financing/types.js +2 -0
- package/dist/futures/index.d.ts +5 -5
- package/dist/futures/types.d.ts +2 -2
- package/dist/index.d.ts +19 -0
- package/dist/index.js +3 -1
- package/dist/model/AcceptQuoteRequest.d.ts +1 -0
- package/dist/model/Accrual.d.ts +83 -0
- package/dist/model/Accrual.js +21 -0
- package/dist/model/AddressEntry.d.ts +0 -3
- package/dist/model/AddressGroup.d.ts +1 -0
- package/dist/model/AssetBalance.d.ts +41 -0
- package/dist/model/AssetBalance.js +21 -0
- package/dist/model/Balance.d.ts +4 -0
- package/dist/model/BuyingPower.d.ts +41 -0
- package/dist/model/BuyingPower.js +21 -0
- package/dist/model/Conversion.d.ts +36 -0
- package/dist/model/Conversion.js +21 -0
- package/dist/model/ConversionDetail.d.ts +49 -0
- package/dist/model/ConversionDetail.js +21 -0
- package/dist/model/CreateNewLocatesRequest.d.ts +37 -0
- package/dist/model/CreateNewLocatesRequest.js +21 -0
- package/dist/model/CreateNewLocatesResponse.d.ts +22 -0
- package/dist/model/CreateNewLocatesResponse.js +21 -0
- package/dist/model/CreateOrderRequest.d.ts +4 -0
- package/dist/model/EntityBalance.d.ts +41 -0
- package/dist/model/EntityBalance.js +21 -0
- package/dist/model/ExistingLocate.d.ts +65 -0
- package/dist/model/ExistingLocate.js +21 -0
- package/dist/model/Fill.d.ts +4 -0
- package/dist/model/GetBuyingPowerResponse.d.ts +23 -0
- package/dist/model/GetBuyingPowerResponse.js +21 -0
- package/dist/model/GetExistingLocatesResponse.d.ts +23 -0
- package/dist/model/GetExistingLocatesResponse.js +21 -0
- package/dist/model/GetInterestAccrualsResponse.d.ts +24 -0
- package/dist/model/GetInterestAccrualsResponse.js +21 -0
- package/dist/model/GetLocateAvailabilitiesResponse.d.ts +23 -0
- package/dist/model/GetLocateAvailabilitiesResponse.js +21 -0
- package/dist/model/GetMarginConversionsResponse.d.ts +23 -0
- package/dist/model/GetMarginConversionsResponse.js +21 -0
- package/dist/model/GetMarginInformationResponse.d.ts +23 -0
- package/dist/model/GetMarginInformationResponse.js +21 -0
- package/dist/model/GetMarginSummariesResponse.d.ts +23 -0
- package/dist/model/GetMarginSummariesResponse.js +21 -0
- package/dist/model/GetPortfolioInterestAccrualsResponse.d.ts +24 -0
- package/dist/model/GetPortfolioInterestAccrualsResponse.js +21 -0
- package/dist/model/GetTFTieredPricingFeesResponse.d.ts +23 -0
- package/dist/model/GetTFTieredPricingFeesResponse.js +21 -0
- package/dist/model/GetWithdrawalPowerResponse.d.ts +23 -0
- package/dist/model/GetWithdrawalPowerResponse.js +21 -0
- package/dist/model/ListAggregateEntityPositionsResponse.d.ts +25 -0
- package/dist/model/ListAggregateEntityPositionsResponse.js +21 -0
- package/dist/model/ListEntityBalancesResponse.d.ts +25 -0
- package/dist/model/ListEntityBalancesResponse.js +21 -0
- package/dist/model/ListEntityPositionsResponse.d.ts +25 -0
- package/dist/model/ListEntityPositionsResponse.js +21 -0
- package/dist/model/LoanInfo.d.ts +41 -0
- package/dist/model/LoanInfo.js +21 -0
- package/dist/model/Locate.d.ts +33 -0
- package/dist/model/Locate.js +21 -0
- package/dist/model/MarginAddOn.d.ts +27 -0
- package/dist/model/MarginAddOn.js +21 -0
- package/dist/model/MarginCallRecord.d.ts +41 -0
- package/dist/model/MarginCallRecord.js +21 -0
- package/dist/model/MarginInformation.d.ts +28 -0
- package/dist/model/MarginInformation.js +21 -0
- package/dist/model/MarginSummary.d.ts +151 -0
- package/dist/model/MarginSummary.js +21 -0
- package/dist/model/MarginSummaryHistorical.d.ts +31 -0
- package/dist/model/MarginSummaryHistorical.js +21 -0
- package/dist/model/MarketRate.d.ts +29 -0
- package/dist/model/MarketRate.js +21 -0
- package/dist/model/Order.d.ts +4 -0
- package/dist/model/OrderPreviewRequest.d.ts +4 -0
- package/dist/model/PMAssetInfo.d.ts +89 -0
- package/dist/model/PMAssetInfo.js +21 -0
- package/dist/model/Position.d.ts +35 -0
- package/dist/model/Position.js +21 -0
- package/dist/model/PositionReference.d.ts +27 -0
- package/dist/model/PositionReference.js +21 -0
- package/dist/model/Product.d.ts +2 -0
- package/dist/model/RFQ.d.ts +1 -0
- package/dist/model/RFQProductDetails.d.ts +24 -0
- package/dist/model/RFQProductDetails.js +21 -0
- package/dist/model/RpcConfig.d.ts +1 -1
- package/dist/model/ShortCollateral.d.ts +37 -0
- package/dist/model/ShortCollateral.js +21 -0
- package/dist/model/TieredPricingFee.d.ts +29 -0
- package/dist/model/TieredPricingFee.js +21 -0
- package/dist/model/WithdrawalPower.d.ts +29 -0
- package/dist/model/WithdrawalPower.js +21 -0
- package/dist/model/enums/Benchmark.d.ts +26 -0
- package/dist/model/enums/Benchmark.js +30 -0
- package/dist/model/enums/LoanType.d.ts +27 -0
- package/dist/model/enums/LoanType.js +31 -0
- package/dist/model/enums/MarginAddOnType.d.ts +26 -0
- package/dist/model/enums/MarginAddOnType.js +30 -0
- package/dist/model/enums/NetworkType.d.ts +1 -0
- package/dist/model/enums/NetworkType.js +1 -0
- package/dist/model/enums/PortfolioBalanceType.d.ts +2 -1
- package/dist/model/enums/PortfolioBalanceType.js +1 -0
- package/dist/model/enums/PositionReferenceType.d.ts +24 -0
- package/dist/model/enums/PositionReferenceType.js +28 -0
- package/dist/model/enums/RateType.d.ts +26 -0
- package/dist/model/enums/RateType.js +30 -0
- package/dist/portfolios/index.d.ts +3 -3
- package/dist/portfolios/index.js +1 -1
- package/dist/portfolios/types.d.ts +1 -0
- package/dist/positions/index.d.ts +29 -0
- package/dist/positions/index.js +40 -0
- package/dist/positions/types.d.ts +14 -0
- package/dist/positions/types.js +2 -0
- package/dist/wallets/index.d.ts +5 -1
- package/dist/wallets/index.js +51 -0
- package/dist/wallets/types.d.ts +22 -0
- 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 });
|
package/dist/model/Balance.d.ts
CHANGED
|
@@ -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,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 });
|
|
@@ -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 });
|
package/dist/model/Fill.d.ts
CHANGED
|
@@ -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 });
|
|
@@ -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 { ExistingLocate } from './ExistingLocate';
|
|
21
|
+
export type GetExistingLocatesResponse = {
|
|
22
|
+
locates?: Array<ExistingLocate>;
|
|
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 GetInterestAccrualsResponse = {
|
|
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 { Locate } from './Locate';
|
|
21
|
+
export type GetLocateAvailabilitiesResponse = {
|
|
22
|
+
locates?: Array<Locate>;
|
|
23
|
+
};
|