@coinbase-sample/prime-sdk-ts 0.8.2 → 0.9.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/advancedTransfers/index.js +103 -0
- package/dist/advancedTransfers/types.js +2 -0
- package/dist/constants.js +1 -1
- package/dist/futures/index.js +12 -0
- package/dist/model/AdvancedTransfer.js +21 -0
- package/dist/model/BlindMatchMetadata.js +21 -0
- package/dist/model/CancelAdvancedTransferResponse.js +21 -0
- package/dist/model/CommissionDetailTotal.js +21 -0
- package/dist/model/CreateAdvancedTransferRequest.js +21 -0
- package/dist/model/CreateAdvancedTransferResponse.js +21 -0
- package/dist/model/DateOfBirth.js +1 -1
- package/dist/model/FcmScheduledMaintenance.js +21 -0
- package/dist/model/FcmTradingSessionDetails.js +21 -0
- package/dist/model/FundMovement.js +21 -0
- package/dist/model/FutureProductDetails.js +21 -0
- package/dist/model/GetFcmEquityResponse.js +21 -0
- package/dist/model/GetTransactionTravelRuleDataResponse.js +21 -0
- package/dist/model/ListAdvancedTransferTransactionsResponse.js +21 -0
- package/dist/model/ListAdvancedTransfersResponse.js +21 -0
- package/dist/model/PerpetualProductDetails.js +21 -0
- package/dist/model/TravelRuleEntry.js +1 -1
- package/dist/model/TravelRuleWalletDetails.js +1 -1
- package/dist/model/VASP.js +1 -1
- package/dist/model/ValidatorAllocation.js +21 -0
- package/dist/model/enums/AdvancedTransferState.js +34 -0
- package/dist/model/enums/AdvancedTransferType.js +29 -0
- package/dist/model/enums/ContractExpiryType.js +31 -0
- package/dist/model/enums/ExpiringContractStatus.js +31 -0
- package/dist/model/enums/FcmMarginHealthState.js +33 -0
- package/dist/model/enums/FcmTradingSessionClosedReason.js +32 -0
- package/dist/model/enums/FcmTradingSessionState.js +34 -0
- package/dist/model/enums/ProductType.js +30 -0
- package/dist/model/enums/RewardSubtype.js +2 -1
- package/dist/model/enums/RiskManagementType.js +31 -0
- package/dist/model/enums/SecondaryPermission.js +31 -0
- package/dist/types/advancedTransfers/index.d.ts +31 -0
- package/dist/types/advancedTransfers/types.d.ts +46 -0
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/futures/index.d.ts +4 -2
- package/dist/types/futures/types.d.ts +5 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/model/AdvancedTransfer.d.ts +33 -0
- package/dist/types/model/BlindMatchMetadata.d.ts +37 -0
- package/dist/types/model/CancelAdvancedTransferResponse.d.ts +28 -0
- package/dist/types/model/CommissionDetailTotal.d.ts +40 -0
- package/dist/types/model/CreateAdvancedTransferRequest.d.ts +26 -0
- package/dist/types/model/CreateAdvancedTransferResponse.d.ts +26 -0
- package/dist/types/model/DateOfBirth.d.ts +1 -1
- package/dist/types/model/FcmScheduledMaintenance.d.ts +29 -0
- package/dist/types/model/FcmTradingSessionDetails.d.ts +51 -0
- package/dist/types/model/FundMovement.d.ts +30 -0
- package/dist/types/model/FutureProductDetails.d.ts +59 -0
- package/dist/types/model/GetFcmEquityResponse.d.ts +37 -0
- package/dist/types/model/GetTransactionTravelRuleDataResponse.d.ts +31 -0
- package/dist/types/model/ListAdvancedTransferTransactionsResponse.d.ts +29 -0
- package/dist/types/model/ListAdvancedTransfersResponse.d.ts +28 -0
- package/dist/types/model/PerpetualProductDetails.d.ts +41 -0
- package/dist/types/model/TravelRuleEntry.d.ts +1 -1
- package/dist/types/model/TravelRuleWalletDetails.d.ts +1 -1
- package/dist/types/model/VASP.d.ts +1 -1
- package/dist/types/model/ValidatorAllocation.d.ts +32 -0
- package/dist/types/model/WalletUnstakeInputs.d.ts +5 -0
- package/dist/types/model/enums/AdvancedTransferState.d.ts +30 -0
- package/dist/types/model/enums/AdvancedTransferType.d.ts +25 -0
- package/dist/types/model/enums/ContractExpiryType.d.ts +27 -0
- package/dist/types/model/enums/ExpiringContractStatus.d.ts +27 -0
- package/dist/types/model/enums/FcmMarginHealthState.d.ts +29 -0
- package/dist/types/model/enums/FcmTradingSessionClosedReason.d.ts +28 -0
- package/dist/types/model/enums/FcmTradingSessionState.d.ts +30 -0
- package/dist/types/model/enums/ProductType.d.ts +26 -0
- package/dist/types/model/enums/RewardSubtype.d.ts +3 -2
- package/dist/types/model/enums/RiskManagementType.d.ts +27 -0
- package/dist/types/model/enums/SecondaryPermission.d.ts +27 -0
- package/dist/types/model/index.d.ts +2 -4
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-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
|
+
/**
|
|
21
|
+
* - RISK_MANAGEMENT_TYPE_UNSPECIFIED: Unspecified risk management type - RISK_MANAGEMENT_TYPE_MANAGED_BY_FCM: Risk is managed by FCM (Futures Commission Merchant) - RISK_MANAGEMENT_TYPE_MANAGED_BY_VENUE: Risk is managed by the venue
|
|
22
|
+
*/
|
|
23
|
+
export declare enum RiskManagementType {
|
|
24
|
+
RiskManagementTypeUnspecified = "RISK_MANAGEMENT_TYPE_UNSPECIFIED",
|
|
25
|
+
RiskManagementTypeManagedByFcm = "RISK_MANAGEMENT_TYPE_MANAGED_BY_FCM",
|
|
26
|
+
RiskManagementTypeManagedByVenue = "RISK_MANAGEMENT_TYPE_MANAGED_BY_VENUE"
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-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
|
+
/**
|
|
21
|
+
* - SECONDARY_PERMISSION_UNKNOWN: nil value - VIDEO_APPROVER: A video approver - TEAM_APPROVER: A team approver - WEB3_SIGNER: A web3 signer
|
|
22
|
+
*/
|
|
23
|
+
export declare enum SecondaryPermission {
|
|
24
|
+
VideoApprover = "VIDEO_APPROVER",
|
|
25
|
+
TeamApprover = "TEAM_APPROVER",
|
|
26
|
+
Web3Signer = "WEB3_SIGNER"
|
|
27
|
+
}
|
|
@@ -43,7 +43,6 @@ export type { CreateWalletResponse } from './CreateWalletResponse';
|
|
|
43
43
|
export type { CreateWalletTransferResponse } from './CreateWalletTransferResponse';
|
|
44
44
|
export type { CreateWalletWithdrawalResponse } from './CreateWalletWithdrawalResponse';
|
|
45
45
|
export type { CrossMarginOverview } from './CrossMarginOverview';
|
|
46
|
-
export type { DateOfBirth } from './DateOfBirth';
|
|
47
46
|
export type { DefiBalance } from './DefiBalance';
|
|
48
47
|
export type { DestinationAlloc } from './DestinationAlloc';
|
|
49
48
|
export type { DetailedAddress } from './DetailedAddress';
|
|
@@ -70,6 +69,7 @@ export type { GetEntityPaymentMethodsResponse } from './GetEntityPaymentMethodsR
|
|
|
70
69
|
export type { GetEntityUsersResponse } from './GetEntityUsersResponse';
|
|
71
70
|
export type { GetExistingLocatesResponse } from './GetExistingLocatesResponse';
|
|
72
71
|
export type { GetFcmBalanceResponse } from './GetFcmBalanceResponse';
|
|
72
|
+
export type { GetFcmEquityResponse } from './GetFcmEquityResponse';
|
|
73
73
|
export type { GetFcmMarginCallDetailsResponse } from './GetFcmMarginCallDetailsResponse';
|
|
74
74
|
export type { GetFcmRiskLimitsResponse } from './GetFcmRiskLimitsResponse';
|
|
75
75
|
export type { GetFcmSettingsResponse } from './GetFcmSettingsResponse';
|
|
@@ -178,12 +178,10 @@ export type { TransactionMetadata } from './TransactionMetadata';
|
|
|
178
178
|
export type { TransactionValidator } from './TransactionValidator';
|
|
179
179
|
export type { TransferLocation } from './TransferLocation';
|
|
180
180
|
export type { TravelRuleData } from './TravelRuleData';
|
|
181
|
-
export type { TravelRuleEntry } from './TravelRuleEntry';
|
|
182
181
|
export type { TravelRuleParty } from './TravelRuleParty';
|
|
183
|
-
export type { TravelRuleWalletDetails } from './TravelRuleWalletDetails';
|
|
184
182
|
export type { UnstakingStatus } from './UnstakingStatus';
|
|
185
183
|
export type { UserAction } from './UserAction';
|
|
186
|
-
export type {
|
|
184
|
+
export type { ValidatorAllocation } from './ValidatorAllocation';
|
|
187
185
|
export type { ValidatorStakingInfo } from './ValidatorStakingInfo';
|
|
188
186
|
export type { ValidatorUnstakingInfo } from './ValidatorUnstakingInfo';
|
|
189
187
|
export type { Wallet } from './Wallet';
|