@coinbase-sample/prime-sdk-ts 0.6.4 → 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.
Files changed (101) hide show
  1. package/dist/constants.js +1 -1
  2. package/dist/financing/index.js +9 -0
  3. package/dist/futures/index.js +18 -0
  4. package/dist/model/CrossMarginOverview.js +21 -0
  5. package/dist/model/EditOrderRequest.js +21 -0
  6. package/dist/model/EditOrderResponse.js +21 -0
  7. package/dist/model/GetCrossMarginOverviewResponse.js +21 -0
  8. package/dist/model/ListTransactionValidatorsRequest.js +21 -0
  9. package/dist/model/ListTransactionValidatorsResponse.js +21 -0
  10. package/dist/model/StakingClaimRewardsRequest.js +21 -0
  11. package/dist/model/StakingClaimRewardsResponse.js +21 -0
  12. package/dist/model/TransactionValidator.js +21 -0
  13. package/dist/model/WalletClaimRewardsInputs.js +21 -0
  14. package/dist/model/XMLoan.js +21 -0
  15. package/dist/model/XMMarginCall.js +21 -0
  16. package/dist/model/XMPosition.js +21 -0
  17. package/dist/model/XMRiskNettingInfo.js +21 -0
  18. package/dist/model/XMSummary.js +21 -0
  19. package/dist/model/enums/ActivityCategory.js +0 -1
  20. package/dist/model/enums/ActivityLevel.js +3 -3
  21. package/dist/model/enums/AddressBookType.js +3 -3
  22. package/dist/model/enums/AllocationStatus.js +5 -5
  23. package/dist/model/enums/CustodyActivityType.js +29 -29
  24. package/dist/model/enums/DestinationType.js +4 -4
  25. package/dist/model/enums/FcmFuturesSweepStatus.js +5 -5
  26. package/dist/model/enums/FcmMarginCallState.js +5 -5
  27. package/dist/model/enums/FcmMarginCallType.js +3 -3
  28. package/dist/model/enums/HierarchyType.js +3 -3
  29. package/dist/model/enums/InvoiceState.js +5 -5
  30. package/dist/model/enums/InvoiceType.js +6 -6
  31. package/dist/model/enums/LoanType.js +1 -0
  32. package/dist/model/enums/NetworkFamily.js +3 -3
  33. package/dist/model/enums/NetworkType.js +3 -3
  34. package/dist/model/enums/PaymentMethodType.js +3 -3
  35. package/dist/model/enums/ProductPermissions.js +3 -3
  36. package/dist/model/enums/ValidatorStatus.js +31 -0
  37. package/dist/model/enums/WalletVisibility.js +3 -3
  38. package/dist/model/enums/XMCallStatus.js +33 -0
  39. package/dist/model/enums/XMCallType.js +31 -0
  40. package/dist/model/enums/XMControlStatus.js +32 -0
  41. package/dist/model/enums/XMEntityCallStatus.js +33 -0
  42. package/dist/model/enums/XMMarginLevel.js +34 -0
  43. package/dist/model/enums/XMParty.js +31 -0
  44. package/dist/model/enums/index.js +15 -1
  45. package/dist/orders/index.js +12 -0
  46. package/dist/staking/index.js +37 -0
  47. package/dist/types/constants.d.ts +1 -1
  48. package/dist/types/financing/index.d.ts +3 -1
  49. package/dist/types/financing/types.d.ts +5 -1
  50. package/dist/types/futures/index.d.ts +6 -1
  51. package/dist/types/futures/types.d.ts +9 -1
  52. package/dist/types/index.d.ts +3 -3
  53. package/dist/types/model/CrossMarginOverview.d.ts +39 -0
  54. package/dist/types/model/EditOrderRequest.d.ts +61 -0
  55. package/dist/types/model/EditOrderResponse.d.ts +25 -0
  56. package/dist/types/model/GetCrossMarginOverviewResponse.d.ts +23 -0
  57. package/dist/types/model/ListTransactionValidatorsRequest.d.ts +35 -0
  58. package/dist/types/model/ListTransactionValidatorsResponse.d.ts +28 -0
  59. package/dist/types/model/RFQProductDetails.d.ts +21 -0
  60. package/dist/types/model/StakingClaimRewardsRequest.d.ts +27 -0
  61. package/dist/types/model/StakingClaimRewardsResponse.d.ts +33 -0
  62. package/dist/types/model/TransactionValidator.d.ts +31 -0
  63. package/dist/types/model/WalletClaimRewardsInputs.d.ts +28 -0
  64. package/dist/types/model/XMLoan.d.ts +51 -0
  65. package/dist/types/model/XMMarginCall.d.ts +57 -0
  66. package/dist/types/model/XMPosition.d.ts +121 -0
  67. package/dist/types/model/XMRiskNettingInfo.d.ts +76 -0
  68. package/dist/types/model/XMSummary.d.ts +55 -0
  69. package/dist/types/model/enums/ActivityCategory.d.ts +0 -1
  70. package/dist/types/model/enums/ActivityLevel.d.ts +3 -3
  71. package/dist/types/model/enums/AddressBookType.d.ts +3 -3
  72. package/dist/types/model/enums/AllocationStatus.d.ts +5 -5
  73. package/dist/types/model/enums/CustodyActivityType.d.ts +29 -29
  74. package/dist/types/model/enums/DestinationType.d.ts +4 -4
  75. package/dist/types/model/enums/FcmFuturesSweepStatus.d.ts +5 -5
  76. package/dist/types/model/enums/FcmMarginCallState.d.ts +5 -5
  77. package/dist/types/model/enums/FcmMarginCallType.d.ts +3 -3
  78. package/dist/types/model/enums/HierarchyType.d.ts +3 -3
  79. package/dist/types/model/enums/InvoiceState.d.ts +5 -5
  80. package/dist/types/model/enums/InvoiceType.d.ts +6 -6
  81. package/dist/types/model/enums/LoanType.d.ts +2 -1
  82. package/dist/types/model/enums/NetworkFamily.d.ts +3 -3
  83. package/dist/types/model/enums/NetworkType.d.ts +3 -3
  84. package/dist/types/model/enums/PaymentMethodType.d.ts +3 -3
  85. package/dist/types/model/enums/ProductPermissions.d.ts +3 -3
  86. package/dist/types/model/enums/ValidatorStatus.d.ts +27 -0
  87. package/dist/types/model/enums/WalletVisibility.d.ts +3 -3
  88. package/dist/types/model/enums/XMCallStatus.d.ts +29 -0
  89. package/dist/types/model/enums/XMCallType.d.ts +27 -0
  90. package/dist/types/model/enums/XMControlStatus.d.ts +28 -0
  91. package/dist/types/model/enums/XMEntityCallStatus.d.ts +29 -0
  92. package/dist/types/model/enums/XMMarginLevel.d.ts +30 -0
  93. package/dist/types/model/enums/XMParty.d.ts +27 -0
  94. package/dist/types/model/enums/index.d.ts +7 -0
  95. package/dist/types/model/index.d.ts +15 -3
  96. package/dist/types/orders/index.d.ts +3 -1
  97. package/dist/types/orders/types.d.ts +6 -1
  98. package/dist/types/staking/index.d.ts +5 -1
  99. package/dist/types/staking/types.d.ts +13 -1
  100. package/dist/types/wallets/types.d.ts +1 -1
  101. package/package.json +4 -3
@@ -18,9 +18,9 @@
18
18
  * Do not edit the class manually.
19
19
  */
20
20
  export declare enum AllocationStatus {
21
- Unspecified = "ALLOCATION_STATUS_UNSPECIFIED",
22
- AllocationPending = "ALLOCATION_STATUS_ALLOCATION_PENDING",
23
- AllocationAccepted = "ALLOCATION_STATUS_ALLOCATION_ACCEPTED",
24
- AllocationAllocated = "ALLOCATION_STATUS_ALLOCATION_ALLOCATED",
25
- AllocationRejected = "ALLOCATION_STATUS_ALLOCATION_REJECTED"
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
- GovernanceVote = "ACTIVITY_TYPE_GOVERNANCE_VOTE",
22
- Invitation = "ACTIVITY_TYPE_INVITATION",
23
- WalletChange = "ACTIVITY_TYPE_WALLET_CHANGE",
24
- ApiKeyChange = "ACTIVITY_TYPE_API_KEY_CHANGE",
25
- SettingsChange = "ACTIVITY_TYPE_SETTINGS_CHANGE",
26
- BillingPreferenceChange = "ACTIVITY_TYPE_BILLING_PREFERENCE_CHANGE",
27
- PaymentMethodChange = "ACTIVITY_TYPE_PAYMENT_METHOD_CHANGE",
28
- Withdrawal = "ACTIVITY_TYPE_WITHDRAWAL",
29
- Deposit = "ACTIVITY_TYPE_DEPOSIT",
30
- CreateWallet = "ACTIVITY_TYPE_CREATE_WALLET",
31
- RemoveWallet = "ACTIVITY_TYPE_REMOVE_WALLET",
32
- UpdateWallet = "ACTIVITY_TYPE_UPDATE_WALLET",
33
- CastVote = "ACTIVITY_TYPE_CAST_VOTE",
34
- EnableVoting = "ACTIVITY_TYPE_ENABLE_VOTING",
35
- Stake = "ACTIVITY_TYPE_STAKE",
36
- Unstake = "ACTIVITY_TYPE_UNSTAKE",
37
- ChangeValidator = "ACTIVITY_TYPE_CHANGE_VALIDATOR",
38
- Restake = "ACTIVITY_TYPE_RESTAKE",
39
- AddressBook = "ACTIVITY_TYPE_ADDRESS_BOOK",
40
- TeamMembers = "ACTIVITY_TYPE_TEAM_MEMBERS",
41
- Billing = "ACTIVITY_TYPE_BILLING",
42
- Security = "ACTIVITY_TYPE_SECURITY",
43
- Api = "ACTIVITY_TYPE_API",
44
- Settings = "ACTIVITY_TYPE_SETTINGS",
45
- SmartContract = "ACTIVITY_TYPE_SMART_CONTRACT",
46
- UserChangeRequestNoPas = "ACTIVITY_TYPE_USER_CHANGE_REQUEST_NO_PAS",
47
- Web3Transaction = "ACTIVITY_TYPE_WEB3_TRANSACTION",
48
- Web3Message = "ACTIVITY_TYPE_WEB3_MESSAGE",
49
- ClaimRewards = "ACTIVITY_TYPE_CLAIM_REWARDS"
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
- PaymentMethod = "DESTINATION_PAYMENT_METHOD",
22
- Blockchain = "DESTINATION_BLOCKCHAIN",
23
- Wallet = "DESTINATION_WALLET",
24
- Counterparty = "DESTINATION_COUNTERPARTY"
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
- Unspecified = "FCM_FUTURES_SWEEP_STATUS_UNSPECIFIED",
22
- Pending = "FCM_FUTURES_SWEEP_STATUS_PENDING",
23
- Closed = "FCM_FUTURES_SWEEP_STATUS_CLOSED",
24
- Canceled = "FCM_FUTURES_SWEEP_STATUS_CANCELED",
25
- Processing = "FCM_FUTURES_SWEEP_STATUS_PROCESSING"
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
- Unspecified = "FCM_MARGIN_CALL_STATE_UNSPECIFIED",
22
- Closed = "FCM_MARGIN_CALL_STATE_CLOSED",
23
- RolledOver = "FCM_MARGIN_CALL_STATE_ROLLED_OVER",
24
- Default = "FCM_MARGIN_CALL_STATE_DEFAULT",
25
- Official = "FCM_MARGIN_CALL_STATE_OFFICIAL"
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
- Unspecified = "FCM_MARGIN_CALL_TYPE_UNSPECIFIED",
22
- Urgent = "FCM_MARGIN_CALL_TYPE_URGENT",
23
- Regular = "FCM_MARGIN_CALL_TYPE_REGULAR"
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
- Unspecified = "HIERARCHY_TYPE_UNSPECIFIED",
22
- Portfolio = "HIERARCHY_TYPE_PORTFOLIO",
23
- Entity = "HIERARCHY_TYPE_ENTITY"
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
- Unspecified = "INVOICE_STATE_UNSPECIFIED",
22
- Imported = "INVOICE_STATE_IMPORTED",
23
- Billed = "INVOICE_STATE_BILLED",
24
- PartiallyPaid = "INVOICE_STATE_PARTIALLY_PAID",
25
- Paid = "INVOICE_STATE_PAID"
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
- Unspecified = "INVOICE_TYPE_UNSPECIFIED",
22
- AucFee = "INVOICE_TYPE_AUC_FEE",
23
- MinimumFee = "INVOICE_TYPE_MINIMUM_FEE",
24
- WithdrawalFee = "INVOICE_TYPE_WITHDRAWAL_FEE",
25
- NewWalletFee = "INVOICE_TYPE_NEW_WALLET_FEE",
26
- StakingFee = "INVOICE_TYPE_STAKING_FEE"
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
- Unspecified = "NETWORK_FAMILY_UNSPECIFIED",
22
- Evm = "NETWORK_FAMILY_EVM",
23
- Solana = "NETWORK_FAMILY_SOLANA"
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
- Unspecified = "NETWORK_TYPE_UNSPECIFIED",
22
- Evm = "NETWORK_TYPE_EVM",
23
- Solana = "NETWORK_TYPE_SOLANA"
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
- Wire = "METHOD_WIRE",
25
- Sen = "METHOD_SEN",
26
- Swift = "METHOD_SWIFT"
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
- Read = "PRODUCT_PERMISSION_READ",
22
- Trade = "PRODUCT_PERMISSION_TRADE",
23
- Lending = "PRODUCT_PERMISSION_LENDING"
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
- Unspecified = "WALLET_VISIBILITY_UNSPECIFIED",
22
- Visible = "WALLET_VISIBILITY_VISIBLE",
23
- Hidden = "WALLET_VISIBILITY_HIDDEN"
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
+ }
@@ -0,0 +1,28 @@
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
+ * - TRADES_AND_WITHDRAWALS: Allowed to trade and withdraw. See XM Margin Methodology for full description of when trading and withdrawals are enabled or disabled. - TRADES_ONLY: Allowed to trade but not withdraw. See XM Margin Methodology for full description of when trading and withdrawals are enabled or disabled. - SESSION_LOCKED: Not allowed to trade or withdraw. See XM Margin Methodology for full description of when trading and withdrawals are enabled or disabled.
22
+ */
23
+ export declare enum XMControlStatus {
24
+ XmControlStatusUnspecified = "XM_CONTROL_STATUS_UNSPECIFIED",
25
+ TradesAndWithdrawals = "TRADES_AND_WITHDRAWALS",
26
+ TradesOnly = "TRADES_ONLY",
27
+ SessionLocked = "SESSION_LOCKED"
28
+ }
@@ -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
+ * - ENTITY_NO_CALL: There are no margin calls - ENTITY_OPEN_STANDARD_CALL: There is a standard margin call. There are no urgent margin calls, and no expired margin calls. - ENTITY_OPEN_URGENT_CALL: There is an urgent margin call. It is possible that there could also be a standard margin call, but there are no expired margin calls. - ENTITY_AGED_CALL: At least one open margin call is aged (standard or urgent). This may trigger the SESSION_LOCKED control status.
22
+ */
23
+ export declare enum XMEntityCallStatus {
24
+ XmEntityCallStatusUnspecified = "XM_ENTITY_CALL_STATUS_UNSPECIFIED",
25
+ EntityNoCall = "ENTITY_NO_CALL",
26
+ EntityOpenStandardCall = "ENTITY_OPEN_STANDARD_CALL",
27
+ EntityOpenUrgentCall = "ENTITY_OPEN_URGENT_CALL",
28
+ EntityAgedCall = "ENTITY_AGED_CALL"
29
+ }
@@ -0,0 +1,30 @@
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
+ * - HEALTHY_THRESHOLD: Margin level is healthy - DEFICIT_THRESHOLD: Margin level is breaching the deficit threshold (DT) which will result in the issuance of a Margin Call if this is still the case by the scheduled next Margin Call time (as defined in the margin methodology) - WARNING_THRESHOLD: Margin level is breaching the warning threshold (WT) which will result in the issuance of a Margin Call if this is still the case by the scheduled next Margin Call (as defined in the margin methodology). WT is differentiated from DT in that it means margin health is approaching the UMCT - URGENT_MARGIN_CALL_THRESHOLD: Margin level is breaching the UMCT and, as defined in the margin methodology, this will trigger an urgent margin call - LIQUIDATION_THRESHOLD: Margin level is breaching the liquidation threshold (LT) and, as defined in the margin methodology, this will trigger the SESSION_LOCKED control status and liquidation may commence.
22
+ */
23
+ export declare enum XMMarginLevel {
24
+ XmMarginLevelUnspecified = "XM_MARGIN_LEVEL_UNSPECIFIED",
25
+ HealthyThreshold = "HEALTHY_THRESHOLD",
26
+ DeficitThreshold = "DEFICIT_THRESHOLD",
27
+ WarningThreshold = "WARNING_THRESHOLD",
28
+ UrgentMarginCallThreshold = "URGENT_MARGIN_CALL_THRESHOLD",
29
+ LiquidationThreshold = "LIQUIDATION_THRESHOLD"
30
+ }
@@ -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
+ * - CBE: Coinbase Exchange, trading venue that can receive the XM loan - FCM: Coinbase’s Futures Commission Merchant, trading venue that can receive the XM loan
22
+ */
23
+ export declare enum XMParty {
24
+ XmPartyUnspecified = "XM_PARTY_UNSPECIFIED",
25
+ Cbe = "CBE",
26
+ Fcm = "FCM"
27
+ }
@@ -37,7 +37,14 @@ export { TransactionStatus } from './TransactionStatus';
37
37
  export { TransactionType } from './TransactionType';
38
38
  export { TransferLocationType } from './TransferLocationType';
39
39
  export { UserRole } from './UserRole';
40
+ export { ValidatorStatus } from './ValidatorStatus';
40
41
  export { VisibilityStatus } from './VisibilityStatus';
41
42
  export { WalletDepositInstructionType } from './WalletDepositInstructionType';
42
43
  export { WalletType } from './WalletType';
43
44
  export { WalletVisibility } from './WalletVisibility';
45
+ export { XMCallStatus } from './XMCallStatus';
46
+ export { XMCallType } from './XMCallType';
47
+ export { XMControlStatus } from './XMControlStatus';
48
+ export { XMEntityCallStatus } from './XMEntityCallStatus';
49
+ export { XMMarginLevel } from './XMMarginLevel';
50
+ export { XMParty } from './XMParty';
@@ -27,7 +27,6 @@ export type { Conversion } from './Conversion';
27
27
  export type { ConversionDetail } from './ConversionDetail';
28
28
  export type { Counterparty } from './Counterparty';
29
29
  export type { CounterpartyDestination } from './CounterpartyDestination';
30
- export type { CreateAddressGroup } from './CreateAddressGroup';
31
30
  export type { CreateAllocationRequest } from './CreateAllocationRequest';
32
31
  export type { CreateAllocationResponse } from './CreateAllocationResponse';
33
32
  export type { CreateAllocationResponseBody } from './CreateAllocationResponseBody';
@@ -42,8 +41,10 @@ export type { CreatePortfolioAddressBookEntryResponse } from './CreatePortfolioA
42
41
  export type { CreateWalletResponse } from './CreateWalletResponse';
43
42
  export type { CreateWalletTransferResponse } from './CreateWalletTransferResponse';
44
43
  export type { CreateWalletWithdrawalResponse } from './CreateWalletWithdrawalResponse';
44
+ export type { CrossMarginOverview } from './CrossMarginOverview';
45
45
  export type { DefiBalance } from './DefiBalance';
46
46
  export type { DestinationAlloc } from './DestinationAlloc';
47
+ export type { EditOrderResponse } from './EditOrderResponse';
47
48
  export type { EntityBalance } from './EntityBalance';
48
49
  export type { EntityUser } from './EntityUser';
49
50
  export type { EstimatedNetworkFees } from './EstimatedNetworkFees';
@@ -57,6 +58,7 @@ export type { GetActivityResponse } from './GetActivityResponse';
57
58
  export type { GetAllocationResponse } from './GetAllocationResponse';
58
59
  export type { GetAllocationsByClientNettingIdResponse } from './GetAllocationsByClientNettingIdResponse';
59
60
  export type { GetBuyingPowerResponse } from './GetBuyingPowerResponse';
61
+ export type { GetCrossMarginOverviewResponse } from './GetCrossMarginOverviewResponse';
60
62
  export type { GetEntityActivitiesResponse } from './GetEntityActivitiesResponse';
61
63
  export type { GetEntityAssetsResponse } from './GetEntityAssetsResponse';
62
64
  export type { GetEntityPaymentMethodDetailsResponse } from './GetEntityPaymentMethodDetailsResponse';
@@ -96,7 +98,6 @@ export type { GetPositionsResponse } from './GetPositionsResponse';
96
98
  export type { GetPostTradeCreditResponse } from './GetPostTradeCreditResponse';
97
99
  export type { GetTFTieredPricingFeesResponse } from './GetTFTieredPricingFeesResponse';
98
100
  export type { GetTransactionResponse } from './GetTransactionResponse';
99
- export type { GetWalletAddressesResponse } from './GetWalletAddressesResponse';
100
101
  export type { GetWalletBalanceResponse } from './GetWalletBalanceResponse';
101
102
  export type { GetWalletDepositInstructionsResponse } from './GetWalletDepositInstructionsResponse';
102
103
  export type { GetWalletResponse } from './GetWalletResponse';
@@ -109,6 +110,7 @@ export type { ListAggregateEntityPositionsResponse } from './ListAggregateEntity
109
110
  export type { ListEntityBalancesResponse } from './ListEntityBalancesResponse';
110
111
  export type { ListEntityPositionsResponse } from './ListEntityPositionsResponse';
111
112
  export type { ListOnchainAddressGroupsResponse } from './ListOnchainAddressGroupsResponse';
113
+ export type { ListTransactionValidatorsResponse } from './ListTransactionValidatorsResponse';
112
114
  export type { ListWalletAddressesResponse } from './ListWalletAddressesResponse';
113
115
  export type { ListWeb3WalletBalancesResponse } from './ListWeb3WalletBalancesResponse';
114
116
  export type { LoanInfo } from './LoanInfo';
@@ -149,15 +151,17 @@ export type { RpcConfig } from './RpcConfig';
149
151
  export type { ScheduleFuturesSweepResponse } from './ScheduleFuturesSweepResponse';
150
152
  export type { SetAutoSweepResponse } from './SetAutoSweepResponse';
151
153
  export type { ShortCollateral } from './ShortCollateral';
154
+ export type { StakingClaimRewardsResponse } from './StakingClaimRewardsResponse';
152
155
  export type { StakingInitiateResponse } from './StakingInitiateResponse';
153
- export type { StakingInputs } from './StakingInputs';
154
156
  export type { StakingUnstakeResponse } from './StakingUnstakeResponse';
155
157
  export type { TieredPricingFee } from './TieredPricingFee';
156
158
  export type { Transaction } from './Transaction';
157
159
  export type { TransactionMetadata } from './TransactionMetadata';
160
+ export type { TransactionValidator } from './TransactionValidator';
158
161
  export type { TransferLocation } from './TransferLocation';
159
162
  export type { UserAction } from './UserAction';
160
163
  export type { Wallet } from './Wallet';
164
+ export type { WalletClaimRewardsInputs } from './WalletClaimRewardsInputs';
161
165
  export type { WalletCryptoDepositInstructions } from './WalletCryptoDepositInstructions';
162
166
  export type { WalletFiatDepositInstructions } from './WalletFiatDepositInstructions';
163
167
  export type { WalletStakeInputs } from './WalletStakeInputs';
@@ -166,6 +170,11 @@ export type { Web3Asset } from './Web3Asset';
166
170
  export type { Web3Balance } from './Web3Balance';
167
171
  export type { Web3TransactionMetadata } from './Web3TransactionMetadata';
168
172
  export type { WithdrawalPower } from './WithdrawalPower';
173
+ export type { XMLoan } from './XMLoan';
174
+ export type { XMMarginCall } from './XMMarginCall';
175
+ export type { XMPosition } from './XMPosition';
176
+ export type { XMRiskNettingInfo } from './XMRiskNettingInfo';
177
+ export type { XMSummary } from './XMSummary';
169
178
  export type { CreateATransferBetweenTwoWallets } from './createATransferBetweenTwoWallets';
170
179
  export type { AcceptQuoteRequest } from './AcceptQuoteRequest';
171
180
  export type { CreateConversionRequest } from './CreateConversionRequest';
@@ -176,11 +185,14 @@ export type { CreatePortfolioAddressBookEntryRequest } from './CreatePortfolioAd
176
185
  export type { CreateWalletDepositAddressRequest } from './CreateWalletDepositAddressRequest';
177
186
  export type { CreateWalletRequest } from './CreateWalletRequest';
178
187
  export type { CreateWalletWithdrawalRequest } from './CreateWalletWithdrawalRequest';
188
+ export type { EditOrderRequest } from './EditOrderRequest';
189
+ export type { ListTransactionValidatorsRequest } from './ListTransactionValidatorsRequest';
179
190
  export type { OrderPreviewRequest } from './OrderPreviewRequest';
180
191
  export type { PortfolioStakingInitiateRequest } from './PortfolioStakingInitiateRequest';
181
192
  export type { PortfolioStakingUnstakeRequest } from './PortfolioStakingUnstakeRequest';
182
193
  export type { ScheduleFuturesSweepRequest } from './ScheduleFuturesSweepRequest';
183
194
  export type { SetAutoSweepRequest } from './SetAutoSweepRequest';
195
+ export type { StakingClaimRewardsRequest } from './StakingClaimRewardsRequest';
184
196
  export type { StakingInitiateRequest } from './StakingInitiateRequest';
185
197
  export type { StakingUnstakeRequest } from './StakingUnstakeRequest';
186
198
  export type { CreateNetAllocationRequest } from './CreateNetAllocationRequest';
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { CoinbaseCallOptions, IPrimeApiClient } from '../clients';
17
- import { ListOpenOrdersResponse, ListOpenOrdersRequest, ListOrderFillsRequest, ListOrderFillsResponse, ListPortfolioOrdersResponse, ListPortfolioOrdersRequest, GetOrderResponse, GetOrderRequest, GetOrderEditHistoryRequest, GetOrderEditHistoryResponse, ListPortfolioFillsRequest, ListPortfolioFillsResponse, CreateOrderPreviewRequest, CreateOrderPreviewResponse, CancelOrderRequest, CancelOrderResponse, CreateOrderRequest, CreateOrderResponse, CreateQuoteRequest, CreateQuoteResponse, AcceptQuoteRequest, AcceptQuoteResponse } from './types';
17
+ import { ListOpenOrdersResponse, ListOpenOrdersRequest, ListOrderFillsRequest, ListOrderFillsResponse, ListPortfolioOrdersResponse, ListPortfolioOrdersRequest, GetOrderResponse, GetOrderRequest, GetOrderEditHistoryRequest, GetOrderEditHistoryResponse, ListPortfolioFillsRequest, ListPortfolioFillsResponse, CreateOrderPreviewRequest, CreateOrderPreviewResponse, CancelOrderRequest, CancelOrderResponse, CreateOrderRequest, CreateOrderResponse, CreateQuoteRequest, CreateQuoteResponse, AcceptQuoteRequest, AcceptQuoteResponse, EditOrderRequest, EditOrderResponse } from './types';
18
18
  export interface IOrdersService {
19
19
  getOrder(request: GetOrderRequest, options?: CoinbaseCallOptions): Promise<GetOrderResponse>;
20
20
  getOrderEditHistory(request: GetOrderEditHistoryRequest, options?: CoinbaseCallOptions): Promise<GetOrderEditHistoryResponse>;
@@ -27,6 +27,7 @@ export interface IOrdersService {
27
27
  createOrder(request: CreateOrderRequest, options?: CoinbaseCallOptions): Promise<CreateOrderResponse>;
28
28
  createQuote(request: CreateQuoteRequest, options?: CoinbaseCallOptions): Promise<CreateQuoteResponse>;
29
29
  acceptQuote(request: AcceptQuoteRequest, options?: CoinbaseCallOptions): Promise<AcceptQuoteResponse>;
30
+ editOrder(request: EditOrderRequest, options?: CoinbaseCallOptions): Promise<EditOrderResponse>;
30
31
  }
31
32
  export declare class OrdersService implements IOrdersService {
32
33
  private client;
@@ -42,4 +43,5 @@ export declare class OrdersService implements IOrdersService {
42
43
  createOrder(request: CreateOrderRequest, options?: CoinbaseCallOptions): Promise<CreateOrderResponse>;
43
44
  createQuote(request: CreateQuoteRequest, options?: CoinbaseCallOptions): Promise<CreateQuoteResponse>;
44
45
  acceptQuote(request: AcceptQuoteRequest, options?: CoinbaseCallOptions): Promise<AcceptQuoteResponse>;
46
+ editOrder(request: EditOrderRequest, options?: CoinbaseCallOptions): Promise<EditOrderResponse>;
45
47
  }
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { Brand } from '../shared/brand';
17
17
  import { OrderSide, OrderStatus, OrderType } from '../model/enums/';
18
- import { GetOpenOrdersResponse, GetOrderFillsResponse, GetOrderResponse as internalGet, GetOrdersResponse, GetPortfolioFillsResponse, GetOrderEditHistoryResponse as internalEditHistory, OrderPreviewRequest, PostOrderPreviewResponse, CancelOrderResponse as internalCancel, CreateOrderResponse as internalCreateResp, CreateOrderRequest as internalCreate, QuoteResponse, AcceptQuoteRequest as internalAcceptQuoteReq, AcceptQuoteResponse as internalAcceptQuoteResp } from '../model/';
18
+ import { GetOpenOrdersResponse, GetOrderFillsResponse, GetOrderResponse as internalGet, GetOrdersResponse, GetPortfolioFillsResponse, GetOrderEditHistoryResponse as internalEditHistory, OrderPreviewRequest, PostOrderPreviewResponse, CancelOrderResponse as internalCancel, CreateOrderResponse as internalCreateResp, CreateOrderRequest as internalCreate, QuoteResponse, AcceptQuoteRequest as internalAcceptQuoteReq, AcceptQuoteResponse as internalAcceptQuoteResp, EditOrderRequest as internalEditOrderRequest, EditOrderResponse as internalEditOrderResponse } from '../model/';
19
19
  import { Pagination } from '../shared/pagination';
20
20
  import { BasePaginatedRequest, PaginatedResponseMethods } from '../shared/paginatedResponse';
21
21
  export type GetOrderRequest = {
@@ -83,3 +83,8 @@ export type GetOrderEditHistoryRequest = {
83
83
  orderId: string;
84
84
  };
85
85
  export type GetOrderEditHistoryResponse = Brand<Omit<internalEditHistory, 'orderEditHistory'>, 'GetOrderEditHistoryResponse'>;
86
+ export type EditOrderRequest = internalEditOrderRequest & {
87
+ portfolioId: string;
88
+ orderId: string;
89
+ };
90
+ export type EditOrderResponse = Brand<internalEditOrderResponse, 'EditOrderResponse'>;