@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.
Files changed (75) hide show
  1. package/dist/advancedTransfers/index.js +103 -0
  2. package/dist/advancedTransfers/types.js +2 -0
  3. package/dist/constants.js +1 -1
  4. package/dist/futures/index.js +12 -0
  5. package/dist/model/AdvancedTransfer.js +21 -0
  6. package/dist/model/BlindMatchMetadata.js +21 -0
  7. package/dist/model/CancelAdvancedTransferResponse.js +21 -0
  8. package/dist/model/CommissionDetailTotal.js +21 -0
  9. package/dist/model/CreateAdvancedTransferRequest.js +21 -0
  10. package/dist/model/CreateAdvancedTransferResponse.js +21 -0
  11. package/dist/model/DateOfBirth.js +1 -1
  12. package/dist/model/FcmScheduledMaintenance.js +21 -0
  13. package/dist/model/FcmTradingSessionDetails.js +21 -0
  14. package/dist/model/FundMovement.js +21 -0
  15. package/dist/model/FutureProductDetails.js +21 -0
  16. package/dist/model/GetFcmEquityResponse.js +21 -0
  17. package/dist/model/GetTransactionTravelRuleDataResponse.js +21 -0
  18. package/dist/model/ListAdvancedTransferTransactionsResponse.js +21 -0
  19. package/dist/model/ListAdvancedTransfersResponse.js +21 -0
  20. package/dist/model/PerpetualProductDetails.js +21 -0
  21. package/dist/model/TravelRuleEntry.js +1 -1
  22. package/dist/model/TravelRuleWalletDetails.js +1 -1
  23. package/dist/model/VASP.js +1 -1
  24. package/dist/model/ValidatorAllocation.js +21 -0
  25. package/dist/model/enums/AdvancedTransferState.js +34 -0
  26. package/dist/model/enums/AdvancedTransferType.js +29 -0
  27. package/dist/model/enums/ContractExpiryType.js +31 -0
  28. package/dist/model/enums/ExpiringContractStatus.js +31 -0
  29. package/dist/model/enums/FcmMarginHealthState.js +33 -0
  30. package/dist/model/enums/FcmTradingSessionClosedReason.js +32 -0
  31. package/dist/model/enums/FcmTradingSessionState.js +34 -0
  32. package/dist/model/enums/ProductType.js +30 -0
  33. package/dist/model/enums/RewardSubtype.js +2 -1
  34. package/dist/model/enums/RiskManagementType.js +31 -0
  35. package/dist/model/enums/SecondaryPermission.js +31 -0
  36. package/dist/types/advancedTransfers/index.d.ts +31 -0
  37. package/dist/types/advancedTransfers/types.d.ts +46 -0
  38. package/dist/types/constants.d.ts +1 -1
  39. package/dist/types/futures/index.d.ts +4 -2
  40. package/dist/types/futures/types.d.ts +5 -1
  41. package/dist/types/index.d.ts +1 -1
  42. package/dist/types/model/AdvancedTransfer.d.ts +33 -0
  43. package/dist/types/model/BlindMatchMetadata.d.ts +37 -0
  44. package/dist/types/model/CancelAdvancedTransferResponse.d.ts +28 -0
  45. package/dist/types/model/CommissionDetailTotal.d.ts +40 -0
  46. package/dist/types/model/CreateAdvancedTransferRequest.d.ts +26 -0
  47. package/dist/types/model/CreateAdvancedTransferResponse.d.ts +26 -0
  48. package/dist/types/model/DateOfBirth.d.ts +1 -1
  49. package/dist/types/model/FcmScheduledMaintenance.d.ts +29 -0
  50. package/dist/types/model/FcmTradingSessionDetails.d.ts +51 -0
  51. package/dist/types/model/FundMovement.d.ts +30 -0
  52. package/dist/types/model/FutureProductDetails.d.ts +59 -0
  53. package/dist/types/model/GetFcmEquityResponse.d.ts +37 -0
  54. package/dist/types/model/GetTransactionTravelRuleDataResponse.d.ts +31 -0
  55. package/dist/types/model/ListAdvancedTransferTransactionsResponse.d.ts +29 -0
  56. package/dist/types/model/ListAdvancedTransfersResponse.d.ts +28 -0
  57. package/dist/types/model/PerpetualProductDetails.d.ts +41 -0
  58. package/dist/types/model/TravelRuleEntry.d.ts +1 -1
  59. package/dist/types/model/TravelRuleWalletDetails.d.ts +1 -1
  60. package/dist/types/model/VASP.d.ts +1 -1
  61. package/dist/types/model/ValidatorAllocation.d.ts +32 -0
  62. package/dist/types/model/WalletUnstakeInputs.d.ts +5 -0
  63. package/dist/types/model/enums/AdvancedTransferState.d.ts +30 -0
  64. package/dist/types/model/enums/AdvancedTransferType.d.ts +25 -0
  65. package/dist/types/model/enums/ContractExpiryType.d.ts +27 -0
  66. package/dist/types/model/enums/ExpiringContractStatus.d.ts +27 -0
  67. package/dist/types/model/enums/FcmMarginHealthState.d.ts +29 -0
  68. package/dist/types/model/enums/FcmTradingSessionClosedReason.d.ts +28 -0
  69. package/dist/types/model/enums/FcmTradingSessionState.d.ts +30 -0
  70. package/dist/types/model/enums/ProductType.d.ts +26 -0
  71. package/dist/types/model/enums/RewardSubtype.d.ts +3 -2
  72. package/dist/types/model/enums/RiskManagementType.d.ts +27 -0
  73. package/dist/types/model/enums/SecondaryPermission.d.ts +27 -0
  74. package/dist/types/model/index.d.ts +2 -4
  75. 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 { VASP } from './VASP';
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase-sample/prime-sdk-ts",
3
- "version": "0.8.2",
3
+ "version": "0.9.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/types/index.d.ts",
6
6
  "exports": {