@coinbase-sample/prime-sdk-ts 0.6.3 → 0.7.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/constants.js +1 -1
- package/dist/financing/index.js +9 -0
- package/dist/futures/index.js +18 -0
- package/dist/model/CrossMarginOverview.js +21 -0
- package/dist/model/EditOrderRequest.js +21 -0
- package/dist/model/EditOrderResponse.js +21 -0
- package/dist/model/GetCrossMarginOverviewResponse.js +21 -0
- package/dist/model/ListTransactionValidatorsRequest.js +21 -0
- package/dist/model/ListTransactionValidatorsResponse.js +21 -0
- package/dist/model/StakingClaimRewardsRequest.js +21 -0
- package/dist/model/StakingClaimRewardsResponse.js +21 -0
- package/dist/model/TransactionValidator.js +21 -0
- package/dist/model/WalletClaimRewardsInputs.js +21 -0
- package/dist/model/XMLoan.js +21 -0
- package/dist/model/XMMarginCall.js +21 -0
- package/dist/model/XMPosition.js +21 -0
- package/dist/model/XMRiskNettingInfo.js +21 -0
- package/dist/model/XMSummary.js +21 -0
- package/dist/model/enumPrefixes.js +330 -0
- package/dist/model/enums/ActivityCategory.js +0 -1
- package/dist/model/enums/ActivityLevel.js +3 -3
- package/dist/model/enums/AddressBookType.js +3 -3
- package/dist/model/enums/AllocationStatus.js +5 -5
- package/dist/model/enums/CustodyActivityType.js +29 -29
- package/dist/model/enums/DestinationType.js +4 -4
- package/dist/model/enums/FcmFuturesSweepStatus.js +5 -5
- package/dist/model/enums/FcmMarginCallState.js +5 -5
- package/dist/model/enums/FcmMarginCallType.js +3 -3
- package/dist/model/enums/HierarchyType.js +3 -3
- package/dist/model/enums/InvoiceState.js +5 -5
- package/dist/model/enums/InvoiceType.js +6 -6
- package/dist/model/enums/LoanType.js +1 -0
- package/dist/model/enums/NetworkFamily.js +3 -3
- package/dist/model/enums/NetworkType.js +3 -3
- package/dist/model/enums/PaymentMethodType.js +3 -3
- package/dist/model/enums/ProductPermissions.js +3 -3
- package/dist/model/enums/ValidatorStatus.js +31 -0
- package/dist/model/enums/WalletVisibility.js +3 -3
- package/dist/model/enums/XMCallStatus.js +33 -0
- package/dist/model/enums/XMCallType.js +31 -0
- package/dist/model/enums/XMControlStatus.js +32 -0
- package/dist/model/enums/XMEntityCallStatus.js +33 -0
- package/dist/model/enums/XMMarginLevel.js +34 -0
- package/dist/model/enums/XMParty.js +31 -0
- package/dist/model/enums/index.js +15 -1
- package/dist/orders/index.js +12 -0
- package/dist/paymentMethods/index.js +2 -1
- package/dist/shared/dynamicEnumValidation.js +184 -0
- package/dist/shared/dynamicEnumValidation.old.js +746 -0
- package/dist/shared/enumHelpers.js +219 -0
- package/dist/shared/enumRegistry.js +153 -0
- package/dist/shared/enumValidationCore.js +194 -0
- package/dist/shared/enumValidators.js +115 -0
- package/dist/shared/fieldMapping.js +242 -0
- package/dist/shared/serviceContext.js +157 -0
- package/dist/staking/index.js +37 -0
- package/dist/types/balances/types.d.ts +1 -1
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/financing/index.d.ts +3 -1
- package/dist/types/financing/types.d.ts +5 -1
- package/dist/types/futures/index.d.ts +6 -1
- package/dist/types/futures/types.d.ts +9 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/model/CrossMarginOverview.d.ts +39 -0
- package/dist/types/model/EditOrderRequest.d.ts +61 -0
- package/dist/types/model/EditOrderResponse.d.ts +25 -0
- package/dist/types/model/GetCrossMarginOverviewResponse.d.ts +23 -0
- package/dist/types/model/ListTransactionValidatorsRequest.d.ts +35 -0
- package/dist/types/model/ListTransactionValidatorsResponse.d.ts +28 -0
- package/dist/types/model/RFQProductDetails.d.ts +21 -0
- package/dist/types/model/StakingClaimRewardsRequest.d.ts +27 -0
- package/dist/types/model/StakingClaimRewardsResponse.d.ts +33 -0
- package/dist/types/model/TransactionValidator.d.ts +31 -0
- package/dist/types/model/WalletClaimRewardsInputs.d.ts +28 -0
- package/dist/types/model/XMLoan.d.ts +51 -0
- package/dist/types/model/XMMarginCall.d.ts +57 -0
- package/dist/types/model/XMPosition.d.ts +121 -0
- package/dist/types/model/XMRiskNettingInfo.d.ts +76 -0
- package/dist/types/model/XMSummary.d.ts +55 -0
- package/dist/types/model/enumPrefixes.d.ts +206 -0
- package/dist/types/model/enums/ActivityCategory.d.ts +0 -1
- package/dist/types/model/enums/ActivityLevel.d.ts +3 -3
- package/dist/types/model/enums/AddressBookType.d.ts +3 -3
- package/dist/types/model/enums/AllocationStatus.d.ts +5 -5
- package/dist/types/model/enums/CustodyActivityType.d.ts +29 -29
- package/dist/types/model/enums/DestinationType.d.ts +4 -4
- package/dist/types/model/enums/FcmFuturesSweepStatus.d.ts +5 -5
- package/dist/types/model/enums/FcmMarginCallState.d.ts +5 -5
- package/dist/types/model/enums/FcmMarginCallType.d.ts +3 -3
- package/dist/types/model/enums/HierarchyType.d.ts +3 -3
- package/dist/types/model/enums/InvoiceState.d.ts +5 -5
- package/dist/types/model/enums/InvoiceType.d.ts +6 -6
- package/dist/types/model/enums/LoanType.d.ts +2 -1
- package/dist/types/model/enums/NetworkFamily.d.ts +3 -3
- package/dist/types/model/enums/NetworkType.d.ts +3 -3
- package/dist/types/model/enums/PaymentMethodType.d.ts +3 -3
- package/dist/types/model/enums/ProductPermissions.d.ts +3 -3
- package/dist/types/model/enums/ValidatorStatus.d.ts +27 -0
- package/dist/types/model/enums/WalletVisibility.d.ts +3 -3
- package/dist/types/model/enums/XMCallStatus.d.ts +29 -0
- package/dist/types/model/enums/XMCallType.d.ts +27 -0
- package/dist/types/model/enums/XMControlStatus.d.ts +28 -0
- package/dist/types/model/enums/XMEntityCallStatus.d.ts +29 -0
- package/dist/types/model/enums/XMMarginLevel.d.ts +30 -0
- package/dist/types/model/enums/XMParty.d.ts +27 -0
- package/dist/types/model/enums/index.d.ts +7 -0
- package/dist/types/model/index.d.ts +15 -3
- package/dist/types/orders/index.d.ts +3 -1
- package/dist/types/orders/types.d.ts +6 -1
- package/dist/types/paymentMethods/types.d.ts +1 -0
- package/dist/types/shared/dynamicEnumValidation.d.ts +48 -0
- package/dist/types/shared/dynamicEnumValidation.old.d.ts +143 -0
- package/dist/types/shared/enumHelpers.d.ts +135 -0
- package/dist/types/shared/enumRegistry.d.ts +74 -0
- package/dist/types/shared/enumValidationCore.d.ts +68 -0
- package/dist/types/shared/enumValidators.d.ts +117 -0
- package/dist/types/shared/fieldMapping.d.ts +35 -0
- package/dist/types/shared/serviceContext.d.ts +46 -0
- package/dist/types/staking/index.d.ts +5 -1
- package/dist/types/staking/types.d.ts +13 -1
- package/dist/types/wallets/types.d.ts +1 -1
- package/package.json +5 -4
|
@@ -0,0 +1,55 @@
|
|
|
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 { XMRiskNettingInfo } from './XMRiskNettingInfo';
|
|
21
|
+
export type XMSummary = {
|
|
22
|
+
/**
|
|
23
|
+
* Cross Margin Margin Requirement (XMMR) notional
|
|
24
|
+
*/
|
|
25
|
+
marginRequirement?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Equity notional
|
|
28
|
+
*/
|
|
29
|
+
accountEquity?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Equity - XMMR (margin excess is > 0)
|
|
32
|
+
*/
|
|
33
|
+
marginExcessShortfall?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Credit consumed from Cross Margin Credit Limit (XMCL)
|
|
36
|
+
*/
|
|
37
|
+
consumedCredit?: string;
|
|
38
|
+
/**
|
|
39
|
+
* XM Credit Limit (XMCL) is the maximum notional USD of total fiat and digital asset loans
|
|
40
|
+
*/
|
|
41
|
+
xmCreditLimit?: string;
|
|
42
|
+
/**
|
|
43
|
+
* XM Margin Limit (XMML) is the maximum notional USD deficit
|
|
44
|
+
*/
|
|
45
|
+
xmMarginLimit?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Equity attributed by spot
|
|
48
|
+
*/
|
|
49
|
+
spotEquity?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Equity attributed by futures
|
|
52
|
+
*/
|
|
53
|
+
futuresEquity?: string;
|
|
54
|
+
riskNettingInfo?: XMRiskNettingInfo;
|
|
55
|
+
};
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2025-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is auto-generated during the type generation process.
|
|
5
|
+
* Do not edit manually - regenerate by running: npm run generate-types
|
|
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
|
+
/**
|
|
20
|
+
* Auto-generated enum prefix patterns extracted from OpenAPI specification
|
|
21
|
+
* Total enums analyzed: 43
|
|
22
|
+
* Prefix patterns discovered: 77
|
|
23
|
+
*/
|
|
24
|
+
export declare const GENERATED_ENUM_PREFIXES: readonly ["ACTION_", "ACTIVITY_CATEGORY_", "ACTIVITY_LEVEL_", "ACTIVITY_SECONDARY_", "ACTIVITY_STATUS_", "ACTIVITY_TYPE_", "ADDRESS_BOOK_", "ALLOCATION_STATUS_", "BALANCE_", "BENCHMARK_", "BILATERAL_", "BILLING_", "CHANGE_", "CLAIM_", "COINBASE_", "COMPLETE_", "CONCENTRATION_", "COUNTERPARTY_", "CRYPTO_", "DEPOSIT_", "DESTINATION_", "DESTINATION_PAYMENT_", "FCM_FUTURES_", "FCM_MARGIN_", "FCM_POSITION_", "FILL_OR_", "FULL_", "GOOD_UNTIL_", "HIERARCHY_TYPE_", "IMMEDIATE_OR_", "INTERNAL_", "INVOICE_STATE_", "INVOICE_TYPE_", "ITEM_", "ITEM_APPROVAL_", "LOAN_TYPE_", "MACRO_", "MARGIN_ADD_", "METHOD_", "MULTIPLE_", "NETWORK_FAMILY_", "NETWORK_TYPE_", "NO_SECONDARY_", "ONCHAIN_", "OTHER_", "OTHER_ACTIVITY_", "OTHER_TRANSACTION_", "PAYMENT_", "PORTFOLIO_", "POSITION_REFERENCE_", "PRIME_CUSTODY_", "PRODUCT_PERMISSION_", "PROXY_", "RATE_TYPE_", "REMOVE_AUTHORIZED_", "SHORT_", "SHORT_BIASED_", "SHORT_COLLATERAL_", "SINGLE_COIN_", "STAKE_ACCOUNT_", "STAKE_AUTHORIZE_", "STOP_", "SWEEP_", "TEAM_", "TOTAL_", "TRADE_", "TRADING_", "TRANSACTION_", "TRANSACTION_IMPORT_", "TRANSACTION_TYPE_", "UNIFIED_TOTAL_", "VAULT_", "VOTE_", "WALLET_TYPE_", "WALLET_VISIBILITY_", "WITHDRAWAL_", "WITHDRAW_"];
|
|
25
|
+
/**
|
|
26
|
+
* Detailed enum analysis for debugging and insights
|
|
27
|
+
*/
|
|
28
|
+
export declare const ENUM_ANALYSIS: {
|
|
29
|
+
readonly totalEnums: 43;
|
|
30
|
+
readonly discoveredPrefixes: 77;
|
|
31
|
+
readonly prefixPatterns: readonly ["ACTION_", "ACTIVITY_CATEGORY_", "ACTIVITY_LEVEL_", "ACTIVITY_SECONDARY_", "ACTIVITY_STATUS_", "ACTIVITY_TYPE_", "ADDRESS_BOOK_", "ALLOCATION_STATUS_", "BALANCE_", "BENCHMARK_", "BILATERAL_", "BILLING_", "CHANGE_", "CLAIM_", "COINBASE_", "COMPLETE_", "CONCENTRATION_", "COUNTERPARTY_", "CRYPTO_", "DEPOSIT_", "DESTINATION_", "DESTINATION_PAYMENT_", "FCM_FUTURES_", "FCM_MARGIN_", "FCM_POSITION_", "FILL_OR_", "FULL_", "GOOD_UNTIL_", "HIERARCHY_TYPE_", "IMMEDIATE_OR_", "INTERNAL_", "INVOICE_STATE_", "INVOICE_TYPE_", "ITEM_", "ITEM_APPROVAL_", "LOAN_TYPE_", "MACRO_", "MARGIN_ADD_", "METHOD_", "MULTIPLE_", "NETWORK_FAMILY_", "NETWORK_TYPE_", "NO_SECONDARY_", "ONCHAIN_", "OTHER_", "OTHER_ACTIVITY_", "OTHER_TRANSACTION_", "PAYMENT_", "PORTFOLIO_", "POSITION_REFERENCE_", "PRIME_CUSTODY_", "PRODUCT_PERMISSION_", "PROXY_", "RATE_TYPE_", "REMOVE_AUTHORIZED_", "SHORT_", "SHORT_BIASED_", "SHORT_COLLATERAL_", "SINGLE_COIN_", "STAKE_ACCOUNT_", "STAKE_AUTHORIZE_", "STOP_", "SWEEP_", "TEAM_", "TOTAL_", "TRADE_", "TRADING_", "TRANSACTION_", "TRANSACTION_IMPORT_", "TRANSACTION_TYPE_", "UNIFIED_TOTAL_", "VAULT_", "VOTE_", "WALLET_TYPE_", "WALLET_VISIBILITY_", "WITHDRAWAL_", "WITHDRAW_"];
|
|
32
|
+
readonly enumDetails: readonly [{
|
|
33
|
+
readonly name: "CoinbaseCustodyApiActivityType";
|
|
34
|
+
readonly valueCount: 29;
|
|
35
|
+
readonly file: "coinbaseCustodyApiActivityType.ts";
|
|
36
|
+
}, {
|
|
37
|
+
readonly name: "CoinbaseCustodyApiAddressBookType";
|
|
38
|
+
readonly valueCount: 3;
|
|
39
|
+
readonly file: "coinbaseCustodyApiAddressBookType.ts";
|
|
40
|
+
}, {
|
|
41
|
+
readonly name: "CoinbasePublicRestApiAction";
|
|
42
|
+
readonly valueCount: 5;
|
|
43
|
+
readonly file: "coinbasePublicRestApiAction.ts";
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "CoinbasePublicRestApiActivityCategory";
|
|
46
|
+
readonly valueCount: 7;
|
|
47
|
+
readonly file: "coinbasePublicRestApiActivityCategory.ts";
|
|
48
|
+
}, {
|
|
49
|
+
readonly name: "CoinbasePublicRestApiActivityLevel";
|
|
50
|
+
readonly valueCount: 3;
|
|
51
|
+
readonly file: "coinbasePublicRestApiActivityLevel.ts";
|
|
52
|
+
}, {
|
|
53
|
+
readonly name: "CoinbasePublicRestApiActivitySecondaryType";
|
|
54
|
+
readonly valueCount: 7;
|
|
55
|
+
readonly file: "coinbasePublicRestApiActivitySecondaryType.ts";
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "CoinbasePublicRestApiActivityStatus";
|
|
58
|
+
readonly valueCount: 7;
|
|
59
|
+
readonly file: "coinbasePublicRestApiActivityStatus.ts";
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: "CoinbasePublicRestApiActivityType";
|
|
62
|
+
readonly valueCount: 42;
|
|
63
|
+
readonly file: "coinbasePublicRestApiActivityType.ts";
|
|
64
|
+
}, {
|
|
65
|
+
readonly name: "CoinbasePublicRestApiAllocationSizeType";
|
|
66
|
+
readonly valueCount: 3;
|
|
67
|
+
readonly file: "coinbasePublicRestApiAllocationSizeType.ts";
|
|
68
|
+
}, {
|
|
69
|
+
readonly name: "CoinbasePublicRestApiAllocationStatus";
|
|
70
|
+
readonly valueCount: 5;
|
|
71
|
+
readonly file: "coinbasePublicRestApiAllocationStatus.ts";
|
|
72
|
+
}, {
|
|
73
|
+
readonly name: "CoinbasePublicRestApiAssetChangeType";
|
|
74
|
+
readonly valueCount: 5;
|
|
75
|
+
readonly file: "coinbasePublicRestApiAssetChangeType.ts";
|
|
76
|
+
}, {
|
|
77
|
+
readonly name: "CoinbasePublicRestApiBenchmark";
|
|
78
|
+
readonly valueCount: 5;
|
|
79
|
+
readonly file: "coinbasePublicRestApiBenchmark.ts";
|
|
80
|
+
}, {
|
|
81
|
+
readonly name: "CoinbasePublicRestApiDestinationType";
|
|
82
|
+
readonly valueCount: 4;
|
|
83
|
+
readonly file: "coinbasePublicRestApiDestinationType.ts";
|
|
84
|
+
}, {
|
|
85
|
+
readonly name: "CoinbasePublicRestApiFcmFuturesSweepStatus";
|
|
86
|
+
readonly valueCount: 5;
|
|
87
|
+
readonly file: "coinbasePublicRestApiFcmFuturesSweepStatus.ts";
|
|
88
|
+
}, {
|
|
89
|
+
readonly name: "CoinbasePublicRestApiFcmMarginCallState";
|
|
90
|
+
readonly valueCount: 5;
|
|
91
|
+
readonly file: "coinbasePublicRestApiFcmMarginCallState.ts";
|
|
92
|
+
}, {
|
|
93
|
+
readonly name: "CoinbasePublicRestApiFcmMarginCallType";
|
|
94
|
+
readonly valueCount: 3;
|
|
95
|
+
readonly file: "coinbasePublicRestApiFcmMarginCallType.ts";
|
|
96
|
+
}, {
|
|
97
|
+
readonly name: "CoinbasePublicRestApiFcmPositionSide";
|
|
98
|
+
readonly valueCount: 3;
|
|
99
|
+
readonly file: "coinbasePublicRestApiFcmPositionSide.ts";
|
|
100
|
+
}, {
|
|
101
|
+
readonly name: "CoinbasePublicRestApiHierarchyType";
|
|
102
|
+
readonly valueCount: 3;
|
|
103
|
+
readonly file: "coinbasePublicRestApiHierarchyType.ts";
|
|
104
|
+
}, {
|
|
105
|
+
readonly name: "CoinbasePublicRestApiInvoiceState";
|
|
106
|
+
readonly valueCount: 5;
|
|
107
|
+
readonly file: "coinbasePublicRestApiInvoiceState.ts";
|
|
108
|
+
}, {
|
|
109
|
+
readonly name: "CoinbasePublicRestApiInvoiceType";
|
|
110
|
+
readonly valueCount: 6;
|
|
111
|
+
readonly file: "coinbasePublicRestApiInvoiceType.ts";
|
|
112
|
+
}, {
|
|
113
|
+
readonly name: "CoinbasePublicRestApiLoanType";
|
|
114
|
+
readonly valueCount: 6;
|
|
115
|
+
readonly file: "coinbasePublicRestApiLoanType.ts";
|
|
116
|
+
}, {
|
|
117
|
+
readonly name: "CoinbasePublicRestApiMarginAddOnType";
|
|
118
|
+
readonly valueCount: 5;
|
|
119
|
+
readonly file: "coinbasePublicRestApiMarginAddOnType.ts";
|
|
120
|
+
}, {
|
|
121
|
+
readonly name: "CoinbasePublicRestApiNetworkFamily";
|
|
122
|
+
readonly valueCount: 3;
|
|
123
|
+
readonly file: "coinbasePublicRestApiNetworkFamily.ts";
|
|
124
|
+
}, {
|
|
125
|
+
readonly name: "CoinbasePublicRestApiNetworkType";
|
|
126
|
+
readonly valueCount: 3;
|
|
127
|
+
readonly file: "coinbasePublicRestApiNetworkType.ts";
|
|
128
|
+
}, {
|
|
129
|
+
readonly name: "CoinbasePublicRestApiOrderSide";
|
|
130
|
+
readonly valueCount: 2;
|
|
131
|
+
readonly file: "coinbasePublicRestApiOrderSide.ts";
|
|
132
|
+
}, {
|
|
133
|
+
readonly name: "CoinbasePublicRestApiOrderStatus";
|
|
134
|
+
readonly valueCount: 6;
|
|
135
|
+
readonly file: "coinbasePublicRestApiOrderStatus.ts";
|
|
136
|
+
}, {
|
|
137
|
+
readonly name: "CoinbasePublicRestApiOrderType";
|
|
138
|
+
readonly valueCount: 7;
|
|
139
|
+
readonly file: "coinbasePublicRestApiOrderType.ts";
|
|
140
|
+
}, {
|
|
141
|
+
readonly name: "CoinbasePublicRestApiPaymentMethodType";
|
|
142
|
+
readonly valueCount: 3;
|
|
143
|
+
readonly file: "coinbasePublicRestApiPaymentMethodType.ts";
|
|
144
|
+
}, {
|
|
145
|
+
readonly name: "CoinbasePublicRestApiPortfolioBalanceType";
|
|
146
|
+
readonly valueCount: 5;
|
|
147
|
+
readonly file: "coinbasePublicRestApiPortfolioBalanceType.ts";
|
|
148
|
+
}, {
|
|
149
|
+
readonly name: "CoinbasePublicRestApiPositionReferenceType";
|
|
150
|
+
readonly valueCount: 3;
|
|
151
|
+
readonly file: "coinbasePublicRestApiPositionReferenceType.ts";
|
|
152
|
+
}, {
|
|
153
|
+
readonly name: "CoinbasePublicRestApiProductPermissions";
|
|
154
|
+
readonly valueCount: 3;
|
|
155
|
+
readonly file: "coinbasePublicRestApiProductPermissions.ts";
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "CoinbasePublicRestApiRateType";
|
|
158
|
+
readonly valueCount: 5;
|
|
159
|
+
readonly file: "coinbasePublicRestApiRateType.ts";
|
|
160
|
+
}, {
|
|
161
|
+
readonly name: "CoinbasePublicRestApiSigningStatus";
|
|
162
|
+
readonly valueCount: 2;
|
|
163
|
+
readonly file: "coinbasePublicRestApiSigningStatus.ts";
|
|
164
|
+
}, {
|
|
165
|
+
readonly name: "CoinbasePublicRestApiSortDirection";
|
|
166
|
+
readonly valueCount: 2;
|
|
167
|
+
readonly file: "coinbasePublicRestApiSortDirection.ts";
|
|
168
|
+
}, {
|
|
169
|
+
readonly name: "CoinbasePublicRestApiTimeInForceType";
|
|
170
|
+
readonly valueCount: 4;
|
|
171
|
+
readonly file: "coinbasePublicRestApiTimeInForceType.ts";
|
|
172
|
+
}, {
|
|
173
|
+
readonly name: "CoinbasePublicRestApiTransactionStatus";
|
|
174
|
+
readonly valueCount: 21;
|
|
175
|
+
readonly file: "coinbasePublicRestApiTransactionStatus.ts";
|
|
176
|
+
}, {
|
|
177
|
+
readonly name: "CoinbasePublicRestApiTransactionType";
|
|
178
|
+
readonly valueCount: 33;
|
|
179
|
+
readonly file: "coinbasePublicRestApiTransactionType.ts";
|
|
180
|
+
}, {
|
|
181
|
+
readonly name: "CoinbasePublicRestApiTransferLocationType";
|
|
182
|
+
readonly valueCount: 6;
|
|
183
|
+
readonly file: "coinbasePublicRestApiTransferLocationType.ts";
|
|
184
|
+
}, {
|
|
185
|
+
readonly name: "CoinbasePublicRestApiUserRole";
|
|
186
|
+
readonly valueCount: 9;
|
|
187
|
+
readonly file: "coinbasePublicRestApiUserRole.ts";
|
|
188
|
+
}, {
|
|
189
|
+
readonly name: "CoinbasePublicRestApiVisibilityStatus";
|
|
190
|
+
readonly valueCount: 3;
|
|
191
|
+
readonly file: "coinbasePublicRestApiVisibilityStatus.ts";
|
|
192
|
+
}, {
|
|
193
|
+
readonly name: "CoinbasePublicRestApiWalletDepositInstructionType";
|
|
194
|
+
readonly valueCount: 5;
|
|
195
|
+
readonly file: "coinbasePublicRestApiWalletDepositInstructionType.ts";
|
|
196
|
+
}, {
|
|
197
|
+
readonly name: "CoinbasePublicRestApiWalletType";
|
|
198
|
+
readonly valueCount: 5;
|
|
199
|
+
readonly file: "coinbasePublicRestApiWalletType.ts";
|
|
200
|
+
}, {
|
|
201
|
+
readonly name: "CoinbasePublicRestApiWalletVisibility";
|
|
202
|
+
readonly valueCount: 3;
|
|
203
|
+
readonly file: "coinbasePublicRestApiWalletVisibility.ts";
|
|
204
|
+
}];
|
|
205
|
+
};
|
|
206
|
+
export type EnumPrefix = (typeof GENERATED_ENUM_PREFIXES)[number];
|
|
@@ -22,7 +22,6 @@ export declare enum ActivityCategory {
|
|
|
22
22
|
ActivityCategoryOrder = "ACTIVITY_CATEGORY_ORDER",
|
|
23
23
|
ActivityCategoryTransaction = "ACTIVITY_CATEGORY_TRANSACTION",
|
|
24
24
|
ActivityCategoryAccount = "ACTIVITY_CATEGORY_ACCOUNT",
|
|
25
|
-
ActivityCategoryAdmin = "ACTIVITY_CATEGORY_ADMIN",
|
|
26
25
|
ActivityCategoryAllocation = "ACTIVITY_CATEGORY_ALLOCATION",
|
|
27
26
|
ActivityCategoryLending = "ACTIVITY_CATEGORY_LENDING"
|
|
28
27
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum ActivityLevel {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
ActivityLevelAll = "ACTIVITY_LEVEL_ALL",
|
|
22
|
+
ActivityLevelPortfolio = "ACTIVITY_LEVEL_PORTFOLIO",
|
|
23
|
+
ActivityLevelEntity = "ACTIVITY_LEVEL_ENTITY"
|
|
24
24
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum AddressBookType {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
AddressBookTypeUnspecified = "ADDRESS_BOOK_TYPE_UNSPECIFIED",
|
|
22
|
+
AddressBookTypeAddress = "ADDRESS_BOOK_TYPE_ADDRESS",
|
|
23
|
+
AddressBookTypeCounterpartyId = "ADDRESS_BOOK_TYPE_COUNTERPARTY_ID"
|
|
24
24
|
}
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum AllocationStatus {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
AllocationStatusUnspecified = "ALLOCATION_STATUS_UNSPECIFIED",
|
|
22
|
+
AllocationStatusAllocationPending = "ALLOCATION_STATUS_ALLOCATION_PENDING",
|
|
23
|
+
AllocationStatusAllocationAccepted = "ALLOCATION_STATUS_ALLOCATION_ACCEPTED",
|
|
24
|
+
AllocationStatusAllocationAllocated = "ALLOCATION_STATUS_ALLOCATION_ALLOCATED",
|
|
25
|
+
AllocationStatusAllocationRejected = "ALLOCATION_STATUS_ALLOCATION_REJECTED"
|
|
26
26
|
}
|
|
@@ -18,33 +18,33 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum ActivityType {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
21
|
+
ActivityTypeGovernanceVote = "ACTIVITY_TYPE_GOVERNANCE_VOTE",
|
|
22
|
+
ActivityTypeInvitation = "ACTIVITY_TYPE_INVITATION",
|
|
23
|
+
ActivityTypeWalletChange = "ACTIVITY_TYPE_WALLET_CHANGE",
|
|
24
|
+
ActivityTypeApiKeyChange = "ACTIVITY_TYPE_API_KEY_CHANGE",
|
|
25
|
+
ActivityTypeSettingsChange = "ACTIVITY_TYPE_SETTINGS_CHANGE",
|
|
26
|
+
ActivityTypeBillingPreferenceChange = "ACTIVITY_TYPE_BILLING_PREFERENCE_CHANGE",
|
|
27
|
+
ActivityTypePaymentMethodChange = "ACTIVITY_TYPE_PAYMENT_METHOD_CHANGE",
|
|
28
|
+
ActivityTypeWithdrawal = "ACTIVITY_TYPE_WITHDRAWAL",
|
|
29
|
+
ActivityTypeDeposit = "ACTIVITY_TYPE_DEPOSIT",
|
|
30
|
+
ActivityTypeCreateWallet = "ACTIVITY_TYPE_CREATE_WALLET",
|
|
31
|
+
ActivityTypeRemoveWallet = "ACTIVITY_TYPE_REMOVE_WALLET",
|
|
32
|
+
ActivityTypeUpdateWallet = "ACTIVITY_TYPE_UPDATE_WALLET",
|
|
33
|
+
ActivityTypeCastVote = "ACTIVITY_TYPE_CAST_VOTE",
|
|
34
|
+
ActivityTypeEnableVoting = "ACTIVITY_TYPE_ENABLE_VOTING",
|
|
35
|
+
ActivityTypeStake = "ACTIVITY_TYPE_STAKE",
|
|
36
|
+
ActivityTypeUnstake = "ACTIVITY_TYPE_UNSTAKE",
|
|
37
|
+
ActivityTypeChangeValidator = "ACTIVITY_TYPE_CHANGE_VALIDATOR",
|
|
38
|
+
ActivityTypeRestake = "ACTIVITY_TYPE_RESTAKE",
|
|
39
|
+
ActivityTypeAddressBook = "ACTIVITY_TYPE_ADDRESS_BOOK",
|
|
40
|
+
ActivityTypeTeamMembers = "ACTIVITY_TYPE_TEAM_MEMBERS",
|
|
41
|
+
ActivityTypeBilling = "ACTIVITY_TYPE_BILLING",
|
|
42
|
+
ActivityTypeSecurity = "ACTIVITY_TYPE_SECURITY",
|
|
43
|
+
ActivityTypeApi = "ACTIVITY_TYPE_API",
|
|
44
|
+
ActivityTypeSettings = "ACTIVITY_TYPE_SETTINGS",
|
|
45
|
+
ActivityTypeSmartContract = "ACTIVITY_TYPE_SMART_CONTRACT",
|
|
46
|
+
ActivityTypeUserChangeRequestNoPas = "ACTIVITY_TYPE_USER_CHANGE_REQUEST_NO_PAS",
|
|
47
|
+
ActivityTypeWeb3Transaction = "ACTIVITY_TYPE_WEB3_TRANSACTION",
|
|
48
|
+
ActivityTypeWeb3Message = "ACTIVITY_TYPE_WEB3_MESSAGE",
|
|
49
|
+
ActivityTypeClaimRewards = "ACTIVITY_TYPE_CLAIM_REWARDS"
|
|
50
50
|
}
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum DestinationType {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
DestinationPaymentMethod = "DESTINATION_PAYMENT_METHOD",
|
|
22
|
+
DestinationBlockchain = "DESTINATION_BLOCKCHAIN",
|
|
23
|
+
DestinationWallet = "DESTINATION_WALLET",
|
|
24
|
+
DestinationCounterparty = "DESTINATION_COUNTERPARTY"
|
|
25
25
|
}
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum FcmFuturesSweepStatus {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
FcmFuturesSweepStatusUnspecified = "FCM_FUTURES_SWEEP_STATUS_UNSPECIFIED",
|
|
22
|
+
FcmFuturesSweepStatusPending = "FCM_FUTURES_SWEEP_STATUS_PENDING",
|
|
23
|
+
FcmFuturesSweepStatusClosed = "FCM_FUTURES_SWEEP_STATUS_CLOSED",
|
|
24
|
+
FcmFuturesSweepStatusCanceled = "FCM_FUTURES_SWEEP_STATUS_CANCELED",
|
|
25
|
+
FcmFuturesSweepStatusProcessing = "FCM_FUTURES_SWEEP_STATUS_PROCESSING"
|
|
26
26
|
}
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum FcmMarginCallState {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
FcmMarginCallStateUnspecified = "FCM_MARGIN_CALL_STATE_UNSPECIFIED",
|
|
22
|
+
FcmMarginCallStateClosed = "FCM_MARGIN_CALL_STATE_CLOSED",
|
|
23
|
+
FcmMarginCallStateRolledOver = "FCM_MARGIN_CALL_STATE_ROLLED_OVER",
|
|
24
|
+
FcmMarginCallStateDefault = "FCM_MARGIN_CALL_STATE_DEFAULT",
|
|
25
|
+
FcmMarginCallStateOfficial = "FCM_MARGIN_CALL_STATE_OFFICIAL"
|
|
26
26
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum FcmMarginCallType {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
FcmMarginCallTypeUnspecified = "FCM_MARGIN_CALL_TYPE_UNSPECIFIED",
|
|
22
|
+
FcmMarginCallTypeUrgent = "FCM_MARGIN_CALL_TYPE_URGENT",
|
|
23
|
+
FcmMarginCallTypeRegular = "FCM_MARGIN_CALL_TYPE_REGULAR"
|
|
24
24
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum HierarchyType {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
HierarchyTypeUnspecified = "HIERARCHY_TYPE_UNSPECIFIED",
|
|
22
|
+
HierarchyTypePortfolio = "HIERARCHY_TYPE_PORTFOLIO",
|
|
23
|
+
HierarchyTypeEntity = "HIERARCHY_TYPE_ENTITY"
|
|
24
24
|
}
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum InvoiceState {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
InvoiceStateUnspecified = "INVOICE_STATE_UNSPECIFIED",
|
|
22
|
+
InvoiceStateImported = "INVOICE_STATE_IMPORTED",
|
|
23
|
+
InvoiceStateBilled = "INVOICE_STATE_BILLED",
|
|
24
|
+
InvoiceStatePartiallyPaid = "INVOICE_STATE_PARTIALLY_PAID",
|
|
25
|
+
InvoiceStatePaid = "INVOICE_STATE_PAID"
|
|
26
26
|
}
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum InvoiceType {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
InvoiceTypeUnspecified = "INVOICE_TYPE_UNSPECIFIED",
|
|
22
|
+
InvoiceTypeAucFee = "INVOICE_TYPE_AUC_FEE",
|
|
23
|
+
InvoiceTypeMinimumFee = "INVOICE_TYPE_MINIMUM_FEE",
|
|
24
|
+
InvoiceTypeWithdrawalFee = "INVOICE_TYPE_WITHDRAWAL_FEE",
|
|
25
|
+
InvoiceTypeNewWalletFee = "INVOICE_TYPE_NEW_WALLET_FEE",
|
|
26
|
+
InvoiceTypeStakingFee = "INVOICE_TYPE_STAKING_FEE"
|
|
27
27
|
}
|
|
@@ -23,5 +23,6 @@ export declare enum LoanType {
|
|
|
23
23
|
TradeFinance = "TRADE_FINANCE",
|
|
24
24
|
PortfolioMargin = "PORTFOLIO_MARGIN",
|
|
25
25
|
ShortCollateralLoan = "SHORT_COLLATERAL_LOAN",
|
|
26
|
-
ShortCollateral = "SHORT_COLLATERAL"
|
|
26
|
+
ShortCollateral = "SHORT_COLLATERAL",
|
|
27
|
+
CrossMargin = "CROSS_MARGIN"
|
|
27
28
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum NetworkFamily {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
NetworkFamilyUnspecified = "NETWORK_FAMILY_UNSPECIFIED",
|
|
22
|
+
NetworkFamilyEvm = "NETWORK_FAMILY_EVM",
|
|
23
|
+
NetworkFamilySolana = "NETWORK_FAMILY_SOLANA"
|
|
24
24
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum NetworkType {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
NetworkTypeUnspecified = "NETWORK_TYPE_UNSPECIFIED",
|
|
22
|
+
NetworkTypeEvm = "NETWORK_TYPE_EVM",
|
|
23
|
+
NetworkTypeSolana = "NETWORK_TYPE_SOLANA"
|
|
24
24
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* - UNKNOWN_PAYMENT_METHOD_TYPE: nil value - METHOD_WIRE: Wire transfer - METHOD_SEN: Silvergate exchange network - METHOD_SWIFT: Swift
|
|
22
22
|
*/
|
|
23
23
|
export declare enum PaymentMethodType {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
MethodWire = "METHOD_WIRE",
|
|
25
|
+
MethodSen = "METHOD_SEN",
|
|
26
|
+
MethodSwift = "METHOD_SWIFT"
|
|
27
27
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum ProductPermissions {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
ProductPermissionRead = "PRODUCT_PERMISSION_READ",
|
|
22
|
+
ProductPermissionTrade = "PRODUCT_PERMISSION_TRADE",
|
|
23
|
+
ProductPermissionLending = "PRODUCT_PERMISSION_LENDING"
|
|
24
24
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2025-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
export declare enum ValidatorStatus {
|
|
21
|
+
ValidatorStatusUnspecified = "VALIDATOR_STATUS_UNSPECIFIED",
|
|
22
|
+
ValidatorStatusPending = "VALIDATOR_STATUS_PENDING",
|
|
23
|
+
ValidatorStatusActive = "VALIDATOR_STATUS_ACTIVE",
|
|
24
|
+
ValidatorStatusExiting = "VALIDATOR_STATUS_EXITING",
|
|
25
|
+
ValidatorStatusExited = "VALIDATOR_STATUS_EXITED",
|
|
26
|
+
ValidatorStatusWithdrawn = "VALIDATOR_STATUS_WITHDRAWN"
|
|
27
|
+
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
20
|
export declare enum WalletVisibility {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
WalletVisibilityUnspecified = "WALLET_VISIBILITY_UNSPECIFIED",
|
|
22
|
+
WalletVisibilityVisible = "WALLET_VISIBILITY_VISIBLE",
|
|
23
|
+
WalletVisibilityHidden = "WALLET_VISIBILITY_HIDDEN"
|
|
24
24
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2025-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* - CALL_STATUS_OPEN: Margin call is open and not expired - CALL_STATUS_AGED: Margin call is open and it is expired - CALL_STATUS_SETTLED: Margin call is fully settled - CALL_STATUS_CANCELED: Margin call was canceled by Credit Risk
|
|
22
|
+
*/
|
|
23
|
+
export declare enum XMCallStatus {
|
|
24
|
+
XmCallStatusUnspecified = "XM_CALL_STATUS_UNSPECIFIED",
|
|
25
|
+
CallStatusOpen = "CALL_STATUS_OPEN",
|
|
26
|
+
CallStatusAged = "CALL_STATUS_AGED",
|
|
27
|
+
CallStatusSettled = "CALL_STATUS_SETTLED",
|
|
28
|
+
CallStatusCanceled = "CALL_STATUS_CANCELED"
|
|
29
|
+
}
|
|
@@ -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
|
+
/**
|
|
21
|
+
* - CALL_TYPE_STANDARD: Evaluated at standard margin call evaluation time - CALL_TYPE_URGENT: Evaluated in realtime
|
|
22
|
+
*/
|
|
23
|
+
export declare enum XMCallType {
|
|
24
|
+
XmCallTypeUnspecified = "XM_CALL_TYPE_UNSPECIFIED",
|
|
25
|
+
CallTypeStandard = "CALL_TYPE_STANDARD",
|
|
26
|
+
CallTypeUrgent = "CALL_TYPE_URGENT"
|
|
27
|
+
}
|