@totalis/hip4-client 0.79.1 → 0.80.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/CHANGELOG.md +18 -0
- package/dist/generated/account-read.d.ts +1 -1
- package/dist/generated/api-keys.d.ts +1 -1
- package/dist/generated/browse.d.ts +1 -1
- package/dist/generated/client.d.ts +7 -1
- package/dist/generated/errors.d.ts +49 -3
- package/dist/generated/errors.js +149 -0
- package/dist/generated/openapi.d.ts +439 -58
- package/dist/generated/version.d.ts +4 -4
- package/dist/generated/version.js +9 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
`@totalis/hip4-client` follows [semantic versioning](https://semver.org).
|
|
4
4
|
The contract version the generated types come from is `sdkVersion` in `./version`.
|
|
5
5
|
|
|
6
|
+
## 0.80.0
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- Golden Combo (TT-2624): `getGolden`, `getGoldenMarkets`,
|
|
11
|
+
`getGoldenSuggestions`, `createGoldenRfq`, `getGoldenOffer` and
|
|
12
|
+
`placeGolden` under `/v1/me/golden`, for an account created from a golden
|
|
13
|
+
invite code to place its one free 5-leg Combo, which Totalis buys and gifts
|
|
14
|
+
to it. `getGoldenSuggestions` lists up to three ready-made golden Combos a
|
|
15
|
+
Totalis maker priced recently, in the `SuggestedCombo` shape. `getGolden`'s `state` is `PLACING` while
|
|
16
|
+
Totalis buys it and `BOUGHT` while the gift is on its way; `getGoldenOffer`
|
|
17
|
+
answers the RFQ's `status` and `expires_at` in `rfq` beside the `offer`. New
|
|
18
|
+
error codes `GOLDEN_TICKET_NONE`,
|
|
19
|
+
`GOLDEN_TICKET_USED`, `GOLDEN_TICKET_EXPIRED`, `GOLDEN_PLACEMENT_IN_FLIGHT`,
|
|
20
|
+
`GOLDEN_LEG_COUNT`, `GOLDEN_LEG_NOT_ELIGIBLE`, `GOLDEN_QUOTE_NOT_HOUSE`,
|
|
21
|
+
`GOLDEN_PROMO_BUSY`, `GOLDEN_PROMO_FUNDS_LOW`, and `GOLDEN_CASHOUT_REFUSED`
|
|
22
|
+
on `createCashout` for a gifted golden ticket. Contract `208.0.0-golden-combo`.
|
|
23
|
+
|
|
6
24
|
## 0.79.1
|
|
7
25
|
|
|
8
26
|
### Changed
|
|
@@ -752,7 +752,7 @@ export type components = {
|
|
|
752
752
|
* @description Stable HTTP error code. Each code has one HTTP status and one retry value.
|
|
753
753
|
* @enum {string}
|
|
754
754
|
*/
|
|
755
|
-
readonly ErrorCode: "INVALID_REQUEST" | "INVALID_QUERY" | "INVALID_CURSOR" | "INVALID_IDEMPOTENCY_KEY" | "ORIGIN_REQUIRED" | "SUBPROTOCOL_REQUIRED" | "UNSUPPORTED_BROWSE_CONTRACT" | "UNAUTHENTICATED" | "FORBIDDEN" | "ORIGIN_NOT_ALLOWED" | "ACCESS_REQUIRED" | "SIGN_IN_REQUIRED" | "NOT_FOUND" | "IDENTITY_NOT_FOUND" | "QUOTE_NOT_FOUND" | "INVITE_CODE_NOT_FOUND" | "IDEMPOTENCY_KEY_REUSED" | "STATE_CONFLICT" | "INVITE_CODE_EXHAUSTED" | "STALE_CURSOR" | "CURSOR_EXPIRED" | "CURSOR_RESET" | "RECURRING_DEFINITION_CONFLICT" | "EMBEDDED_WALLET_CONFLICT" | "SECRET_UNAVAILABLE" | "ROTATION_IN_PROGRESS" | "TELEMETRY_CONFLICT" | "RFQ_NOT_CANCELLABLE" | "RFQ_NOT_OPEN" | "RFQ_GENERATION_STALE" | "RFQ_GENERATION_IN_FLIGHT" | "QUOTE_EXPIRED" | "QUOTE_CANCELLED" | "QUOTE_REPLACED" | "QUOTE_SIGNER_CHANGED" | "QUOTE_CAPACITY_EXCEEDED" | "CORE_ACCOUNT_NOT_READY" | "CORE_ACCOUNT_ACTIVATION_REQUIRED" | "CORE_EXIT_ABANDONED" | "CORE_MOVE_IN_FLIGHT" | "ACCEPTANCE_IN_FLIGHT" | "USERNAME_TAKEN" | "USERNAME_ALREADY_SET" | "USERNAME_REQUIRED" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "FOLLOW_SELF" | "FOLLOW_LIMIT_REACHED" | "RATE_LIMITED" | "CONNECTION_LIMIT" | "RFQ_INTENT_LIMIT" | "QUOTE_EXPOSURE_LIMIT" | "DEPENDENCY_STALE" | "AUTHORIZATION_UNAVAILABLE" | "SOURCE_UNAVAILABLE" | "CONTRACT_UNAVAILABLE" | "MARKET_DATA_UNAVAILABLE" | "BROWSE_UNAVAILABLE" | "FINANCIAL_ACTIONS_DISABLED" | "CORE_EXIT_UNAVAILABLE" | "COLLATERAL_REDUCTION_UNAVAILABLE" | "SPONSORSHIP_UNAVAILABLE" | "CONTRACT_SIGNATURE_OVERLOADED" | "QUOTE_EXPOSURE_STALE" | "COMBO_AUTOMATIC_DISABLED" | "GAS_PRICE_ABOVE_CEILING" | "EXECUTION_BACKLOG_FULL" | "EMBEDDED_WALLET_UNAVAILABLE" | "CONNECTION_DRAIN";
|
|
755
|
+
readonly ErrorCode: "INVALID_REQUEST" | "INVALID_QUERY" | "INVALID_CURSOR" | "INVALID_IDEMPOTENCY_KEY" | "ORIGIN_REQUIRED" | "SUBPROTOCOL_REQUIRED" | "UNSUPPORTED_BROWSE_CONTRACT" | "UNAUTHENTICATED" | "FORBIDDEN" | "ORIGIN_NOT_ALLOWED" | "ACCESS_REQUIRED" | "SIGN_IN_REQUIRED" | "NOT_FOUND" | "IDENTITY_NOT_FOUND" | "QUOTE_NOT_FOUND" | "INVITE_CODE_NOT_FOUND" | "IDEMPOTENCY_KEY_REUSED" | "STATE_CONFLICT" | "INVITE_CODE_EXHAUSTED" | "STALE_CURSOR" | "CURSOR_EXPIRED" | "CURSOR_RESET" | "RECURRING_DEFINITION_CONFLICT" | "EMBEDDED_WALLET_CONFLICT" | "SECRET_UNAVAILABLE" | "ROTATION_IN_PROGRESS" | "TELEMETRY_CONFLICT" | "RFQ_NOT_CANCELLABLE" | "RFQ_NOT_OPEN" | "RFQ_GENERATION_STALE" | "RFQ_GENERATION_IN_FLIGHT" | "QUOTE_EXPIRED" | "QUOTE_CANCELLED" | "QUOTE_REPLACED" | "QUOTE_SIGNER_CHANGED" | "QUOTE_CAPACITY_EXCEEDED" | "CORE_ACCOUNT_NOT_READY" | "CORE_ACCOUNT_ACTIVATION_REQUIRED" | "CORE_EXIT_ABANDONED" | "CORE_MOVE_IN_FLIGHT" | "ACCEPTANCE_IN_FLIGHT" | "USERNAME_TAKEN" | "USERNAME_ALREADY_SET" | "USERNAME_REQUIRED" | "GOLDEN_TICKET_NONE" | "GOLDEN_TICKET_USED" | "GOLDEN_TICKET_EXPIRED" | "GOLDEN_PLACEMENT_IN_FLIGHT" | "GOLDEN_PROMO_BUSY" | "GOLDEN_CASHOUT_REFUSED" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "FOLLOW_SELF" | "FOLLOW_LIMIT_REACHED" | "GOLDEN_LEG_COUNT" | "GOLDEN_LEG_NOT_ELIGIBLE" | "GOLDEN_QUOTE_NOT_HOUSE" | "RATE_LIMITED" | "CONNECTION_LIMIT" | "RFQ_INTENT_LIMIT" | "QUOTE_EXPOSURE_LIMIT" | "DEPENDENCY_STALE" | "AUTHORIZATION_UNAVAILABLE" | "SOURCE_UNAVAILABLE" | "CONTRACT_UNAVAILABLE" | "MARKET_DATA_UNAVAILABLE" | "BROWSE_UNAVAILABLE" | "FINANCIAL_ACTIONS_DISABLED" | "CORE_EXIT_UNAVAILABLE" | "COLLATERAL_REDUCTION_UNAVAILABLE" | "SPONSORSHIP_UNAVAILABLE" | "CONTRACT_SIGNATURE_OVERLOADED" | "QUOTE_EXPOSURE_STALE" | "COMBO_AUTOMATIC_DISABLED" | "GAS_PRICE_ABOVE_CEILING" | "EXECUTION_BACKLOG_FULL" | "EMBEDDED_WALLET_UNAVAILABLE" | "GOLDEN_PROMO_FUNDS_LOW" | "CONNECTION_DRAIN";
|
|
756
756
|
readonly FieldViolation: {
|
|
757
757
|
/**
|
|
758
758
|
* @description REQUIRED: the input is missing. INVALID: it is present but malformed or out of range. UNEXPECTED: the input is not accepted here.
|
|
@@ -375,7 +375,7 @@ export type components = {
|
|
|
375
375
|
* @description Stable HTTP error code. Each code has one HTTP status and one retry value.
|
|
376
376
|
* @enum {string}
|
|
377
377
|
*/
|
|
378
|
-
readonly ErrorCode: "INVALID_REQUEST" | "INVALID_QUERY" | "INVALID_CURSOR" | "INVALID_IDEMPOTENCY_KEY" | "ORIGIN_REQUIRED" | "SUBPROTOCOL_REQUIRED" | "UNSUPPORTED_BROWSE_CONTRACT" | "UNAUTHENTICATED" | "FORBIDDEN" | "ORIGIN_NOT_ALLOWED" | "ACCESS_REQUIRED" | "SIGN_IN_REQUIRED" | "NOT_FOUND" | "IDENTITY_NOT_FOUND" | "QUOTE_NOT_FOUND" | "INVITE_CODE_NOT_FOUND" | "IDEMPOTENCY_KEY_REUSED" | "STATE_CONFLICT" | "INVITE_CODE_EXHAUSTED" | "STALE_CURSOR" | "CURSOR_EXPIRED" | "CURSOR_RESET" | "RECURRING_DEFINITION_CONFLICT" | "EMBEDDED_WALLET_CONFLICT" | "SECRET_UNAVAILABLE" | "ROTATION_IN_PROGRESS" | "TELEMETRY_CONFLICT" | "RFQ_NOT_CANCELLABLE" | "RFQ_NOT_OPEN" | "RFQ_GENERATION_STALE" | "RFQ_GENERATION_IN_FLIGHT" | "QUOTE_EXPIRED" | "QUOTE_CANCELLED" | "QUOTE_REPLACED" | "QUOTE_SIGNER_CHANGED" | "QUOTE_CAPACITY_EXCEEDED" | "CORE_ACCOUNT_NOT_READY" | "CORE_ACCOUNT_ACTIVATION_REQUIRED" | "CORE_EXIT_ABANDONED" | "CORE_MOVE_IN_FLIGHT" | "ACCEPTANCE_IN_FLIGHT" | "USERNAME_TAKEN" | "USERNAME_ALREADY_SET" | "USERNAME_REQUIRED" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "FOLLOW_SELF" | "FOLLOW_LIMIT_REACHED" | "RATE_LIMITED" | "CONNECTION_LIMIT" | "RFQ_INTENT_LIMIT" | "QUOTE_EXPOSURE_LIMIT" | "DEPENDENCY_STALE" | "AUTHORIZATION_UNAVAILABLE" | "SOURCE_UNAVAILABLE" | "CONTRACT_UNAVAILABLE" | "MARKET_DATA_UNAVAILABLE" | "BROWSE_UNAVAILABLE" | "FINANCIAL_ACTIONS_DISABLED" | "CORE_EXIT_UNAVAILABLE" | "COLLATERAL_REDUCTION_UNAVAILABLE" | "SPONSORSHIP_UNAVAILABLE" | "CONTRACT_SIGNATURE_OVERLOADED" | "QUOTE_EXPOSURE_STALE" | "COMBO_AUTOMATIC_DISABLED" | "GAS_PRICE_ABOVE_CEILING" | "EXECUTION_BACKLOG_FULL" | "EMBEDDED_WALLET_UNAVAILABLE" | "CONNECTION_DRAIN";
|
|
378
|
+
readonly ErrorCode: "INVALID_REQUEST" | "INVALID_QUERY" | "INVALID_CURSOR" | "INVALID_IDEMPOTENCY_KEY" | "ORIGIN_REQUIRED" | "SUBPROTOCOL_REQUIRED" | "UNSUPPORTED_BROWSE_CONTRACT" | "UNAUTHENTICATED" | "FORBIDDEN" | "ORIGIN_NOT_ALLOWED" | "ACCESS_REQUIRED" | "SIGN_IN_REQUIRED" | "NOT_FOUND" | "IDENTITY_NOT_FOUND" | "QUOTE_NOT_FOUND" | "INVITE_CODE_NOT_FOUND" | "IDEMPOTENCY_KEY_REUSED" | "STATE_CONFLICT" | "INVITE_CODE_EXHAUSTED" | "STALE_CURSOR" | "CURSOR_EXPIRED" | "CURSOR_RESET" | "RECURRING_DEFINITION_CONFLICT" | "EMBEDDED_WALLET_CONFLICT" | "SECRET_UNAVAILABLE" | "ROTATION_IN_PROGRESS" | "TELEMETRY_CONFLICT" | "RFQ_NOT_CANCELLABLE" | "RFQ_NOT_OPEN" | "RFQ_GENERATION_STALE" | "RFQ_GENERATION_IN_FLIGHT" | "QUOTE_EXPIRED" | "QUOTE_CANCELLED" | "QUOTE_REPLACED" | "QUOTE_SIGNER_CHANGED" | "QUOTE_CAPACITY_EXCEEDED" | "CORE_ACCOUNT_NOT_READY" | "CORE_ACCOUNT_ACTIVATION_REQUIRED" | "CORE_EXIT_ABANDONED" | "CORE_MOVE_IN_FLIGHT" | "ACCEPTANCE_IN_FLIGHT" | "USERNAME_TAKEN" | "USERNAME_ALREADY_SET" | "USERNAME_REQUIRED" | "GOLDEN_TICKET_NONE" | "GOLDEN_TICKET_USED" | "GOLDEN_TICKET_EXPIRED" | "GOLDEN_PLACEMENT_IN_FLIGHT" | "GOLDEN_PROMO_BUSY" | "GOLDEN_CASHOUT_REFUSED" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "FOLLOW_SELF" | "FOLLOW_LIMIT_REACHED" | "GOLDEN_LEG_COUNT" | "GOLDEN_LEG_NOT_ELIGIBLE" | "GOLDEN_QUOTE_NOT_HOUSE" | "RATE_LIMITED" | "CONNECTION_LIMIT" | "RFQ_INTENT_LIMIT" | "QUOTE_EXPOSURE_LIMIT" | "DEPENDENCY_STALE" | "AUTHORIZATION_UNAVAILABLE" | "SOURCE_UNAVAILABLE" | "CONTRACT_UNAVAILABLE" | "MARKET_DATA_UNAVAILABLE" | "BROWSE_UNAVAILABLE" | "FINANCIAL_ACTIONS_DISABLED" | "CORE_EXIT_UNAVAILABLE" | "COLLATERAL_REDUCTION_UNAVAILABLE" | "SPONSORSHIP_UNAVAILABLE" | "CONTRACT_SIGNATURE_OVERLOADED" | "QUOTE_EXPOSURE_STALE" | "COMBO_AUTOMATIC_DISABLED" | "GAS_PRICE_ABOVE_CEILING" | "EXECUTION_BACKLOG_FULL" | "EMBEDDED_WALLET_UNAVAILABLE" | "GOLDEN_PROMO_FUNDS_LOW" | "CONNECTION_DRAIN";
|
|
379
379
|
readonly FieldViolation: {
|
|
380
380
|
/**
|
|
381
381
|
* @description REQUIRED: the input is missing. INVALID: it is present but malformed or out of range. UNEXPECTED: the input is not accepted here.
|
|
@@ -712,7 +712,7 @@ export type components = {
|
|
|
712
712
|
* @description Stable HTTP error code. Each code has one HTTP status and one retry value.
|
|
713
713
|
* @enum {string}
|
|
714
714
|
*/
|
|
715
|
-
readonly ErrorCode: "INVALID_REQUEST" | "INVALID_QUERY" | "INVALID_CURSOR" | "INVALID_IDEMPOTENCY_KEY" | "ORIGIN_REQUIRED" | "SUBPROTOCOL_REQUIRED" | "UNSUPPORTED_BROWSE_CONTRACT" | "UNAUTHENTICATED" | "FORBIDDEN" | "ORIGIN_NOT_ALLOWED" | "ACCESS_REQUIRED" | "SIGN_IN_REQUIRED" | "NOT_FOUND" | "IDENTITY_NOT_FOUND" | "QUOTE_NOT_FOUND" | "INVITE_CODE_NOT_FOUND" | "IDEMPOTENCY_KEY_REUSED" | "STATE_CONFLICT" | "INVITE_CODE_EXHAUSTED" | "STALE_CURSOR" | "CURSOR_EXPIRED" | "CURSOR_RESET" | "RECURRING_DEFINITION_CONFLICT" | "EMBEDDED_WALLET_CONFLICT" | "SECRET_UNAVAILABLE" | "ROTATION_IN_PROGRESS" | "TELEMETRY_CONFLICT" | "RFQ_NOT_CANCELLABLE" | "RFQ_NOT_OPEN" | "RFQ_GENERATION_STALE" | "RFQ_GENERATION_IN_FLIGHT" | "QUOTE_EXPIRED" | "QUOTE_CANCELLED" | "QUOTE_REPLACED" | "QUOTE_SIGNER_CHANGED" | "QUOTE_CAPACITY_EXCEEDED" | "CORE_ACCOUNT_NOT_READY" | "CORE_ACCOUNT_ACTIVATION_REQUIRED" | "CORE_EXIT_ABANDONED" | "CORE_MOVE_IN_FLIGHT" | "ACCEPTANCE_IN_FLIGHT" | "USERNAME_TAKEN" | "USERNAME_ALREADY_SET" | "USERNAME_REQUIRED" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "FOLLOW_SELF" | "FOLLOW_LIMIT_REACHED" | "RATE_LIMITED" | "CONNECTION_LIMIT" | "RFQ_INTENT_LIMIT" | "QUOTE_EXPOSURE_LIMIT" | "DEPENDENCY_STALE" | "AUTHORIZATION_UNAVAILABLE" | "SOURCE_UNAVAILABLE" | "CONTRACT_UNAVAILABLE" | "MARKET_DATA_UNAVAILABLE" | "BROWSE_UNAVAILABLE" | "FINANCIAL_ACTIONS_DISABLED" | "CORE_EXIT_UNAVAILABLE" | "COLLATERAL_REDUCTION_UNAVAILABLE" | "SPONSORSHIP_UNAVAILABLE" | "CONTRACT_SIGNATURE_OVERLOADED" | "QUOTE_EXPOSURE_STALE" | "COMBO_AUTOMATIC_DISABLED" | "GAS_PRICE_ABOVE_CEILING" | "EXECUTION_BACKLOG_FULL" | "EMBEDDED_WALLET_UNAVAILABLE" | "CONNECTION_DRAIN";
|
|
715
|
+
readonly ErrorCode: "INVALID_REQUEST" | "INVALID_QUERY" | "INVALID_CURSOR" | "INVALID_IDEMPOTENCY_KEY" | "ORIGIN_REQUIRED" | "SUBPROTOCOL_REQUIRED" | "UNSUPPORTED_BROWSE_CONTRACT" | "UNAUTHENTICATED" | "FORBIDDEN" | "ORIGIN_NOT_ALLOWED" | "ACCESS_REQUIRED" | "SIGN_IN_REQUIRED" | "NOT_FOUND" | "IDENTITY_NOT_FOUND" | "QUOTE_NOT_FOUND" | "INVITE_CODE_NOT_FOUND" | "IDEMPOTENCY_KEY_REUSED" | "STATE_CONFLICT" | "INVITE_CODE_EXHAUSTED" | "STALE_CURSOR" | "CURSOR_EXPIRED" | "CURSOR_RESET" | "RECURRING_DEFINITION_CONFLICT" | "EMBEDDED_WALLET_CONFLICT" | "SECRET_UNAVAILABLE" | "ROTATION_IN_PROGRESS" | "TELEMETRY_CONFLICT" | "RFQ_NOT_CANCELLABLE" | "RFQ_NOT_OPEN" | "RFQ_GENERATION_STALE" | "RFQ_GENERATION_IN_FLIGHT" | "QUOTE_EXPIRED" | "QUOTE_CANCELLED" | "QUOTE_REPLACED" | "QUOTE_SIGNER_CHANGED" | "QUOTE_CAPACITY_EXCEEDED" | "CORE_ACCOUNT_NOT_READY" | "CORE_ACCOUNT_ACTIVATION_REQUIRED" | "CORE_EXIT_ABANDONED" | "CORE_MOVE_IN_FLIGHT" | "ACCEPTANCE_IN_FLIGHT" | "USERNAME_TAKEN" | "USERNAME_ALREADY_SET" | "USERNAME_REQUIRED" | "GOLDEN_TICKET_NONE" | "GOLDEN_TICKET_USED" | "GOLDEN_TICKET_EXPIRED" | "GOLDEN_PLACEMENT_IN_FLIGHT" | "GOLDEN_PROMO_BUSY" | "GOLDEN_CASHOUT_REFUSED" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "FOLLOW_SELF" | "FOLLOW_LIMIT_REACHED" | "GOLDEN_LEG_COUNT" | "GOLDEN_LEG_NOT_ELIGIBLE" | "GOLDEN_QUOTE_NOT_HOUSE" | "RATE_LIMITED" | "CONNECTION_LIMIT" | "RFQ_INTENT_LIMIT" | "QUOTE_EXPOSURE_LIMIT" | "DEPENDENCY_STALE" | "AUTHORIZATION_UNAVAILABLE" | "SOURCE_UNAVAILABLE" | "CONTRACT_UNAVAILABLE" | "MARKET_DATA_UNAVAILABLE" | "BROWSE_UNAVAILABLE" | "FINANCIAL_ACTIONS_DISABLED" | "CORE_EXIT_UNAVAILABLE" | "COLLATERAL_REDUCTION_UNAVAILABLE" | "SPONSORSHIP_UNAVAILABLE" | "CONTRACT_SIGNATURE_OVERLOADED" | "QUOTE_EXPOSURE_STALE" | "COMBO_AUTOMATIC_DISABLED" | "GAS_PRICE_ABOVE_CEILING" | "EXECUTION_BACKLOG_FULL" | "EMBEDDED_WALLET_UNAVAILABLE" | "GOLDEN_PROMO_FUNDS_LOW" | "CONNECTION_DRAIN";
|
|
716
716
|
readonly FieldViolation: {
|
|
717
717
|
/**
|
|
718
718
|
* @description REQUIRED: the input is missing. INVALID: it is present but malformed or out of range. UNEXPECTED: the input is not accepted here.
|
|
@@ -32,6 +32,12 @@ export type paths = {
|
|
|
32
32
|
readonly "/v1/me/picture": Pick<SharedPaths["/v1/me/picture"], "parameters" | "post">;
|
|
33
33
|
readonly "/v1/deployment": Pick<SharedPaths["/v1/deployment"], "parameters" | "get">;
|
|
34
34
|
readonly "/v1/suggested-combo": Pick<SharedPaths["/v1/suggested-combo"], "parameters" | "get">;
|
|
35
|
+
readonly "/v1/me/golden": Pick<SharedPaths["/v1/me/golden"], "parameters" | "get">;
|
|
36
|
+
readonly "/v1/me/golden/markets": Pick<SharedPaths["/v1/me/golden/markets"], "parameters" | "get">;
|
|
37
|
+
readonly "/v1/me/golden/suggestions": Pick<SharedPaths["/v1/me/golden/suggestions"], "parameters" | "get">;
|
|
38
|
+
readonly "/v1/me/golden/rfqs": Pick<SharedPaths["/v1/me/golden/rfqs"], "parameters" | "post">;
|
|
39
|
+
readonly "/v1/me/golden/rfqs/{rfq_id}/offer": Pick<SharedPaths["/v1/me/golden/rfqs/{rfq_id}/offer"], "parameters" | "get">;
|
|
40
|
+
readonly "/v1/me/golden/placements": Pick<SharedPaths["/v1/me/golden/placements"], "parameters" | "post">;
|
|
35
41
|
readonly "/v1/leaderboard/volume": Pick<SharedPaths["/v1/leaderboard/volume"], "parameters" | "get">;
|
|
36
42
|
readonly "/v1/leaderboard/profit": Pick<SharedPaths["/v1/leaderboard/profit"], "parameters" | "get">;
|
|
37
43
|
readonly "/v1/me/public-profile": Pick<SharedPaths["/v1/me/public-profile"], "parameters" | "put">;
|
|
@@ -104,4 +110,4 @@ export type paths = {
|
|
|
104
110
|
readonly "/v1/makers/{maker_id}/exposure": Pick<SharedPaths["/v1/makers/{maker_id}/exposure"], "parameters" | "get">;
|
|
105
111
|
readonly "/v1/makers/{maker_id}/performance": Pick<SharedPaths["/v1/makers/{maker_id}/performance"], "parameters" | "get">;
|
|
106
112
|
};
|
|
107
|
-
export type operations = Pick<SharedOperations, "abandonCoreExit" | "acceptQuote" | "activeCoreExits" | "admitOwnMaker" | "admitPartnerWallet" | "bindEmbeddedWallet" | "cancelRfq" | "confirmComboCopyAgent" | "confirmCoreCopyAgent" | "createCashout" | "createComment" | "createCoreExit" | "createDeposit" | "createRfq" | "createRunOffClaim" | "createWalletChallenge" | "createWalletSession" | "createWithdrawal" | "deleteComment" | "editComment" | "endWalletSession" | "followTrader" | "getAcceptance" | "getAccountActivity" | "getAccountPnl" | "getAccountPosition" | "getBalances" | "getCopyAgents" | "getCopyBudget" | "getCopySettings" | "getCopySummary" | "getCoreExit" | "getDeployment" | "getHypercoreBalance" | "getHypercorePortfolio" | "getHypercoreSettlementCredits" | "getIdentity" | "getMakerActivity" | "getMakerCapital" | "getMakerExposure" | "getMakerPerformance" | "getMakerPosition" | "getMakerQuotes" | "getMakerTelemetry" | "getMakerVaultFundingTransaction" | "getMakerWithdrawal" | "getMarket" | "getMarketDataConfig" | "getMarketDefinitions" | "getMarketHistory" | "getMarketRecurringRound" | "getMarketReferenceCloses" | "getMarketScoreTimeline" | "getMarketStats" | "getOperation" | "getOwnMaker" | "getPartnerReport" | "getPerpMarks" | "getProfitLeaderboard" | "getQuestion" | "getQuestionRecurringRound" | "getQuestionScoreTimeline" | "getRfq" | "getSeries" | "getSuggestedCombo" | "getTaxonomy" | "getTrader" | "getTraderPnl" | "getUsernameAvailability" | "getVaultAgents" | "getVolumeLeaderboard" | "getWithdrawal" | "grantComboCopyAgent" | "grantVaultAgent" | "likeComment" | "listAccountActivity" | "listAccountPositions" | "listComboCopies" | "listComboFeed" | "listCommentReplies" | "listComments" | "listControlledMakers" | "listCopiedFills" | "listCopyTrades" | "listDiscovery" | "listFollows" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarkets" | "listOperations" | "listQuotes" | "listTraderPositions" | "listTraderTrades" | "reactComment" | "recordAcquisition" | "refreshPicture" | "requestComboCopyAgent" | "requestCoreCopyAgent" | "revokeComboCopyAgent" | "searchCatalog" | "setAvatar" | "setCopyAllocation" | "setCopySettings" | "setPublicProfile" | "setUsername" | "stream" | "streamMarkets" | "switchOffComboCopyAgent" | "switchOffCoreCopyAgent" | "unfollowTrader" | "unlikeComment" | "unreactComment">;
|
|
113
|
+
export type operations = Pick<SharedOperations, "abandonCoreExit" | "acceptQuote" | "activeCoreExits" | "admitOwnMaker" | "admitPartnerWallet" | "bindEmbeddedWallet" | "cancelRfq" | "confirmComboCopyAgent" | "confirmCoreCopyAgent" | "createCashout" | "createComment" | "createCoreExit" | "createDeposit" | "createGoldenRfq" | "createRfq" | "createRunOffClaim" | "createWalletChallenge" | "createWalletSession" | "createWithdrawal" | "deleteComment" | "editComment" | "endWalletSession" | "followTrader" | "getAcceptance" | "getAccountActivity" | "getAccountPnl" | "getAccountPosition" | "getBalances" | "getCopyAgents" | "getCopyBudget" | "getCopySettings" | "getCopySummary" | "getCoreExit" | "getDeployment" | "getGolden" | "getGoldenMarkets" | "getGoldenOffer" | "getGoldenSuggestions" | "getHypercoreBalance" | "getHypercorePortfolio" | "getHypercoreSettlementCredits" | "getIdentity" | "getMakerActivity" | "getMakerCapital" | "getMakerExposure" | "getMakerPerformance" | "getMakerPosition" | "getMakerQuotes" | "getMakerTelemetry" | "getMakerVaultFundingTransaction" | "getMakerWithdrawal" | "getMarket" | "getMarketDataConfig" | "getMarketDefinitions" | "getMarketHistory" | "getMarketRecurringRound" | "getMarketReferenceCloses" | "getMarketScoreTimeline" | "getMarketStats" | "getOperation" | "getOwnMaker" | "getPartnerReport" | "getPerpMarks" | "getProfitLeaderboard" | "getQuestion" | "getQuestionRecurringRound" | "getQuestionScoreTimeline" | "getRfq" | "getSeries" | "getSuggestedCombo" | "getTaxonomy" | "getTrader" | "getTraderPnl" | "getUsernameAvailability" | "getVaultAgents" | "getVolumeLeaderboard" | "getWithdrawal" | "grantComboCopyAgent" | "grantVaultAgent" | "likeComment" | "listAccountActivity" | "listAccountPositions" | "listComboCopies" | "listComboFeed" | "listCommentReplies" | "listComments" | "listControlledMakers" | "listCopiedFills" | "listCopyTrades" | "listDiscovery" | "listFollows" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarkets" | "listOperations" | "listQuotes" | "listTraderPositions" | "listTraderTrades" | "placeGolden" | "reactComment" | "recordAcquisition" | "refreshPicture" | "requestComboCopyAgent" | "requestCoreCopyAgent" | "revokeComboCopyAgent" | "searchCatalog" | "setAvatar" | "setCopyAllocation" | "setCopySettings" | "setPublicProfile" | "setUsername" | "stream" | "streamMarkets" | "switchOffComboCopyAgent" | "switchOffCoreCopyAgent" | "unfollowTrader" | "unlikeComment" | "unreactComment">;
|
|
@@ -178,6 +178,30 @@ export declare const errorRegistry: {
|
|
|
178
178
|
readonly status: 409;
|
|
179
179
|
readonly retry: "NEVER";
|
|
180
180
|
};
|
|
181
|
+
readonly GOLDEN_TICKET_NONE: {
|
|
182
|
+
readonly status: 409;
|
|
183
|
+
readonly retry: "NEVER";
|
|
184
|
+
};
|
|
185
|
+
readonly GOLDEN_TICKET_USED: {
|
|
186
|
+
readonly status: 409;
|
|
187
|
+
readonly retry: "NEVER";
|
|
188
|
+
};
|
|
189
|
+
readonly GOLDEN_TICKET_EXPIRED: {
|
|
190
|
+
readonly status: 409;
|
|
191
|
+
readonly retry: "NEVER";
|
|
192
|
+
};
|
|
193
|
+
readonly GOLDEN_PLACEMENT_IN_FLIGHT: {
|
|
194
|
+
readonly status: 409;
|
|
195
|
+
readonly retry: "REFRESH";
|
|
196
|
+
};
|
|
197
|
+
readonly GOLDEN_PROMO_BUSY: {
|
|
198
|
+
readonly status: 409;
|
|
199
|
+
readonly retry: "REFRESH";
|
|
200
|
+
};
|
|
201
|
+
readonly GOLDEN_CASHOUT_REFUSED: {
|
|
202
|
+
readonly status: 409;
|
|
203
|
+
readonly retry: "NEVER";
|
|
204
|
+
};
|
|
181
205
|
readonly INVALID_SIGNATURE: {
|
|
182
206
|
readonly status: 422;
|
|
183
207
|
readonly retry: "NEVER";
|
|
@@ -206,6 +230,18 @@ export declare const errorRegistry: {
|
|
|
206
230
|
readonly status: 422;
|
|
207
231
|
readonly retry: "NEVER";
|
|
208
232
|
};
|
|
233
|
+
readonly GOLDEN_LEG_COUNT: {
|
|
234
|
+
readonly status: 422;
|
|
235
|
+
readonly retry: "NEVER";
|
|
236
|
+
};
|
|
237
|
+
readonly GOLDEN_LEG_NOT_ELIGIBLE: {
|
|
238
|
+
readonly status: 422;
|
|
239
|
+
readonly retry: "REFRESH";
|
|
240
|
+
};
|
|
241
|
+
readonly GOLDEN_QUOTE_NOT_HOUSE: {
|
|
242
|
+
readonly status: 422;
|
|
243
|
+
readonly retry: "REFRESH";
|
|
244
|
+
};
|
|
209
245
|
readonly RATE_LIMITED: {
|
|
210
246
|
readonly status: 429;
|
|
211
247
|
readonly retry: "BACKOFF";
|
|
@@ -288,6 +324,10 @@ export declare const errorRegistry: {
|
|
|
288
324
|
readonly status: 503;
|
|
289
325
|
readonly retry: "BACKOFF";
|
|
290
326
|
};
|
|
327
|
+
readonly GOLDEN_PROMO_FUNDS_LOW: {
|
|
328
|
+
readonly status: 503;
|
|
329
|
+
readonly retry: "BACKOFF";
|
|
330
|
+
};
|
|
291
331
|
readonly CONNECTION_DRAIN: {
|
|
292
332
|
readonly status: 503;
|
|
293
333
|
readonly close: 1012;
|
|
@@ -324,12 +364,12 @@ export declare const errorRegistry: {
|
|
|
324
364
|
};
|
|
325
365
|
/** NEVER: stop. BACKOFF: resend the same request with the same Idempotency-Key after Retry-After. REFRESH: re-read state, then send a new request with a new key. */
|
|
326
366
|
export type Retry = "NEVER" | "BACKOFF" | "REFRESH";
|
|
327
|
-
export type ErrorCode = "INVALID_REQUEST" | "INVALID_QUERY" | "INVALID_CURSOR" | "INVALID_IDEMPOTENCY_KEY" | "ORIGIN_REQUIRED" | "SUBPROTOCOL_REQUIRED" | "UNSUPPORTED_BROWSE_CONTRACT" | "UNAUTHENTICATED" | "FORBIDDEN" | "ORIGIN_NOT_ALLOWED" | "ACCESS_REQUIRED" | "SIGN_IN_REQUIRED" | "NOT_FOUND" | "IDENTITY_NOT_FOUND" | "QUOTE_NOT_FOUND" | "INVITE_CODE_NOT_FOUND" | "IDEMPOTENCY_KEY_REUSED" | "STATE_CONFLICT" | "INVITE_CODE_EXHAUSTED" | "STALE_CURSOR" | "CURSOR_EXPIRED" | "CURSOR_RESET" | "RECURRING_DEFINITION_CONFLICT" | "EMBEDDED_WALLET_CONFLICT" | "SECRET_UNAVAILABLE" | "ROTATION_IN_PROGRESS" | "TELEMETRY_CONFLICT" | "RFQ_NOT_CANCELLABLE" | "RFQ_NOT_OPEN" | "RFQ_GENERATION_STALE" | "RFQ_GENERATION_IN_FLIGHT" | "QUOTE_EXPIRED" | "QUOTE_CANCELLED" | "QUOTE_REPLACED" | "QUOTE_SIGNER_CHANGED" | "QUOTE_CAPACITY_EXCEEDED" | "CORE_ACCOUNT_NOT_READY" | "CORE_ACCOUNT_ACTIVATION_REQUIRED" | "CORE_EXIT_ABANDONED" | "CORE_MOVE_IN_FLIGHT" | "ACCEPTANCE_IN_FLIGHT" | "USERNAME_TAKEN" | "USERNAME_ALREADY_SET" | "USERNAME_REQUIRED" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "FOLLOW_SELF" | "FOLLOW_LIMIT_REACHED" | "RATE_LIMITED" | "CONNECTION_LIMIT" | "RFQ_INTENT_LIMIT" | "QUOTE_EXPOSURE_LIMIT" | "DEPENDENCY_STALE" | "AUTHORIZATION_UNAVAILABLE" | "SOURCE_UNAVAILABLE" | "CONTRACT_UNAVAILABLE" | "MARKET_DATA_UNAVAILABLE" | "BROWSE_UNAVAILABLE" | "FINANCIAL_ACTIONS_DISABLED" | "CORE_EXIT_UNAVAILABLE" | "COLLATERAL_REDUCTION_UNAVAILABLE" | "SPONSORSHIP_UNAVAILABLE" | "CONTRACT_SIGNATURE_OVERLOADED" | "QUOTE_EXPOSURE_STALE" | "COMBO_AUTOMATIC_DISABLED" | "GAS_PRICE_ABOVE_CEILING" | "EXECUTION_BACKLOG_FULL" | "EMBEDDED_WALLET_UNAVAILABLE" | "CONNECTION_DRAIN";
|
|
367
|
+
export type ErrorCode = "INVALID_REQUEST" | "INVALID_QUERY" | "INVALID_CURSOR" | "INVALID_IDEMPOTENCY_KEY" | "ORIGIN_REQUIRED" | "SUBPROTOCOL_REQUIRED" | "UNSUPPORTED_BROWSE_CONTRACT" | "UNAUTHENTICATED" | "FORBIDDEN" | "ORIGIN_NOT_ALLOWED" | "ACCESS_REQUIRED" | "SIGN_IN_REQUIRED" | "NOT_FOUND" | "IDENTITY_NOT_FOUND" | "QUOTE_NOT_FOUND" | "INVITE_CODE_NOT_FOUND" | "IDEMPOTENCY_KEY_REUSED" | "STATE_CONFLICT" | "INVITE_CODE_EXHAUSTED" | "STALE_CURSOR" | "CURSOR_EXPIRED" | "CURSOR_RESET" | "RECURRING_DEFINITION_CONFLICT" | "EMBEDDED_WALLET_CONFLICT" | "SECRET_UNAVAILABLE" | "ROTATION_IN_PROGRESS" | "TELEMETRY_CONFLICT" | "RFQ_NOT_CANCELLABLE" | "RFQ_NOT_OPEN" | "RFQ_GENERATION_STALE" | "RFQ_GENERATION_IN_FLIGHT" | "QUOTE_EXPIRED" | "QUOTE_CANCELLED" | "QUOTE_REPLACED" | "QUOTE_SIGNER_CHANGED" | "QUOTE_CAPACITY_EXCEEDED" | "CORE_ACCOUNT_NOT_READY" | "CORE_ACCOUNT_ACTIVATION_REQUIRED" | "CORE_EXIT_ABANDONED" | "CORE_MOVE_IN_FLIGHT" | "ACCEPTANCE_IN_FLIGHT" | "USERNAME_TAKEN" | "USERNAME_ALREADY_SET" | "USERNAME_REQUIRED" | "GOLDEN_TICKET_NONE" | "GOLDEN_TICKET_USED" | "GOLDEN_TICKET_EXPIRED" | "GOLDEN_PLACEMENT_IN_FLIGHT" | "GOLDEN_PROMO_BUSY" | "GOLDEN_CASHOUT_REFUSED" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "FOLLOW_SELF" | "FOLLOW_LIMIT_REACHED" | "GOLDEN_LEG_COUNT" | "GOLDEN_LEG_NOT_ELIGIBLE" | "GOLDEN_QUOTE_NOT_HOUSE" | "RATE_LIMITED" | "CONNECTION_LIMIT" | "RFQ_INTENT_LIMIT" | "QUOTE_EXPOSURE_LIMIT" | "DEPENDENCY_STALE" | "AUTHORIZATION_UNAVAILABLE" | "SOURCE_UNAVAILABLE" | "CONTRACT_UNAVAILABLE" | "MARKET_DATA_UNAVAILABLE" | "BROWSE_UNAVAILABLE" | "FINANCIAL_ACTIONS_DISABLED" | "CORE_EXIT_UNAVAILABLE" | "COLLATERAL_REDUCTION_UNAVAILABLE" | "SPONSORSHIP_UNAVAILABLE" | "CONTRACT_SIGNATURE_OVERLOADED" | "QUOTE_EXPOSURE_STALE" | "COMBO_AUTOMATIC_DISABLED" | "GAS_PRICE_ABOVE_CEILING" | "EXECUTION_BACKLOG_FULL" | "EMBEDDED_WALLET_UNAVAILABLE" | "GOLDEN_PROMO_FUNDS_LOW" | "CONNECTION_DRAIN";
|
|
328
368
|
export type CloseReason = "SUBPROTOCOL_REQUIRED" | "CURSOR_RESET" | "DEPENDENCY_STALE" | "SOURCE_UNAVAILABLE" | "CONNECTION_DRAIN" | "INVALID_SUBSCRIPTION" | "SUBSCRIPTION_DENIED" | "AUTHORIZATION_REVOKED" | "STREAM_REPLACED" | "SLOW_CONSUMER" | "RESNAPSHOT_REQUIRED" | "SNAPSHOT_TOO_LARGE";
|
|
329
369
|
/** The codes each live operation can return. */
|
|
330
370
|
export declare const operationErrors: {
|
|
331
371
|
readonly abandonCoreExit: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "NOT_FOUND", "STATE_CONFLICT", "ORIGIN_REQUIRED"];
|
|
332
|
-
readonly acceptQuote: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "RFQ_NOT_OPEN", "QUOTE_EXPIRED", "QUOTE_CANCELLED", "QUOTE_REPLACED", "QUOTE_SIGNER_CHANGED", "QUOTE_CAPACITY_EXCEEDED", "QUOTE_NOT_FOUND", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "INVALID_SIGNATURE", "CONTRACT_SIGNATURE_OVERLOADED", "EXECUTION_BACKLOG_FULL", "CORE_MOVE_IN_FLIGHT", "ACCEPTANCE_IN_FLIGHT", "NOT_FOUND", "ORIGIN_REQUIRED", "WRONG_AUTHORITY"];
|
|
372
|
+
readonly acceptQuote: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "RFQ_NOT_OPEN", "QUOTE_EXPIRED", "QUOTE_CANCELLED", "QUOTE_REPLACED", "QUOTE_SIGNER_CHANGED", "QUOTE_CAPACITY_EXCEEDED", "QUOTE_NOT_FOUND", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "INVALID_SIGNATURE", "CONTRACT_SIGNATURE_OVERLOADED", "EXECUTION_BACKLOG_FULL", "CORE_MOVE_IN_FLIGHT", "ACCEPTANCE_IN_FLIGHT", "GOLDEN_CASHOUT_REFUSED", "NOT_FOUND", "ORIGIN_REQUIRED", "WRONG_AUTHORITY"];
|
|
333
373
|
readonly activeCoreExits: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED"];
|
|
334
374
|
readonly admitOwnMaker: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "INVALID_REQUEST", "NOT_FOUND", "STATE_CONFLICT"];
|
|
335
375
|
readonly admitPartnerWallet: readonly ["INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "UNAUTHENTICATED", "FORBIDDEN", "STATE_CONFLICT", "INVALID_SIGNATURE", "RATE_LIMITED", "AUTHORIZATION_UNAVAILABLE"];
|
|
@@ -339,11 +379,12 @@ export declare const operationErrors: {
|
|
|
339
379
|
readonly confirmComboCopyAgent: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "CONTRACT_UNAVAILABLE", "NOT_FOUND", "STATE_CONFLICT", "DEPENDENCY_STALE", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED"];
|
|
340
380
|
readonly confirmCoreCopyAgent: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "CONTRACT_UNAVAILABLE", "NOT_FOUND", "STATE_CONFLICT", "DEPENDENCY_STALE", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED"];
|
|
341
381
|
readonly confirmQuote: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "NOT_FOUND", "STATE_CONFLICT", "INVALID_SIGNATURE", "QUOTE_EXPIRED", "QUOTE_SIGNER_CHANGED", "QUOTE_CAPACITY_EXCEEDED", "QUOTE_EXPOSURE_LIMIT", "QUOTE_EXPOSURE_STALE", "COMBO_AUTOMATIC_DISABLED", "RFQ_GENERATION_STALE", "FINANCIAL_ACTIONS_DISABLED", "WRONG_AUTHORITY"];
|
|
342
|
-
readonly createCashout: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "RFQ_INTENT_LIMIT", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "GAS_PRICE_ABOVE_CEILING", "ORIGIN_REQUIRED"];
|
|
382
|
+
readonly createCashout: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "RFQ_INTENT_LIMIT", "STATE_CONFLICT", "GOLDEN_CASHOUT_REFUSED", "FINANCIAL_ACTIONS_DISABLED", "GAS_PRICE_ABOVE_CEILING", "ORIGIN_REQUIRED"];
|
|
343
383
|
readonly createCollateralReduction: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "NOT_FOUND", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "COLLATERAL_REDUCTION_UNAVAILABLE"];
|
|
344
384
|
readonly createComment: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "STATE_CONFLICT"];
|
|
345
385
|
readonly createCoreExit: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "CORE_EXIT_UNAVAILABLE", "CORE_ACCOUNT_NOT_READY", "CORE_ACCOUNT_ACTIVATION_REQUIRED", "CORE_MOVE_IN_FLIGHT", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "ORIGIN_REQUIRED"];
|
|
346
386
|
readonly createDeposit: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "INVALID_SIGNATURE", "SPONSORSHIP_UNAVAILABLE", "ORIGIN_REQUIRED"];
|
|
387
|
+
readonly createGoldenRfq: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "CONTRACT_UNAVAILABLE", "GOLDEN_TICKET_NONE", "GOLDEN_TICKET_USED", "GOLDEN_TICKET_EXPIRED", "GOLDEN_PLACEMENT_IN_FLIGHT", "GOLDEN_LEG_COUNT", "GOLDEN_LEG_NOT_ELIGIBLE", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "GAS_PRICE_ABOVE_CEILING", "COMBO_AUTOMATIC_DISABLED", "BROWSE_UNAVAILABLE"];
|
|
347
388
|
readonly createMakerApiKey: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "IDEMPOTENCY_KEY_REUSED", "SECRET_UNAVAILABLE", "KEY_LIMIT_REACHED"];
|
|
348
389
|
readonly createMakerApiKeyChallenge: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "IDEMPOTENCY_KEY_REUSED"];
|
|
349
390
|
readonly createOperatorApiKey: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "IDEMPOTENCY_KEY_REUSED", "SECRET_UNAVAILABLE", "KEY_LIMIT_REACHED"];
|
|
@@ -371,6 +412,10 @@ export declare const operationErrors: {
|
|
|
371
412
|
readonly getCopySummary: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "CONTRACT_UNAVAILABLE"];
|
|
372
413
|
readonly getCoreExit: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND"];
|
|
373
414
|
readonly getDeployment: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY"];
|
|
415
|
+
readonly getGolden: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY"];
|
|
416
|
+
readonly getGoldenMarkets: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "CONTRACT_UNAVAILABLE", "BROWSE_UNAVAILABLE"];
|
|
417
|
+
readonly getGoldenOffer: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "NOT_FOUND", "CONTRACT_UNAVAILABLE", "FINANCIAL_ACTIONS_DISABLED"];
|
|
418
|
+
readonly getGoldenSuggestions: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "CONTRACT_UNAVAILABLE", "GOLDEN_TICKET_NONE", "GOLDEN_TICKET_USED", "GOLDEN_TICKET_EXPIRED", "GOLDEN_PLACEMENT_IN_FLIGHT", "BROWSE_UNAVAILABLE"];
|
|
374
419
|
readonly getHypercoreBalance: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "INVALID_REQUEST"];
|
|
375
420
|
readonly getHypercorePortfolio: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST"];
|
|
376
421
|
readonly getHypercoreSettlementCredits: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST"];
|
|
@@ -441,6 +486,7 @@ export declare const operationErrors: {
|
|
|
441
486
|
readonly listTraderPositions: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "INVALID_QUERY", "NOT_FOUND", "SOURCE_UNAVAILABLE"];
|
|
442
487
|
readonly listTraderTrades: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "INVALID_QUERY", "NOT_FOUND", "SOURCE_UNAVAILABLE"];
|
|
443
488
|
readonly live: readonly [];
|
|
489
|
+
readonly placeGolden: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "NOT_FOUND", "CONTRACT_UNAVAILABLE", "GOLDEN_TICKET_NONE", "GOLDEN_TICKET_USED", "GOLDEN_TICKET_EXPIRED", "GOLDEN_PLACEMENT_IN_FLIGHT", "GOLDEN_LEG_COUNT", "GOLDEN_LEG_NOT_ELIGIBLE", "GOLDEN_QUOTE_NOT_HOUSE", "QUOTE_EXPIRED", "QUOTE_REPLACED", "GOLDEN_PROMO_BUSY", "GOLDEN_PROMO_FUNDS_LOW", "WRONG_AUTHORITY", "STATE_CONFLICT", "ACCEPTANCE_IN_FLIGHT", "FINANCIAL_ACTIONS_DISABLED", "GAS_PRICE_ABOVE_CEILING", "EXECUTION_BACKLOG_FULL", "BROWSE_UNAVAILABLE"];
|
|
444
490
|
readonly publishMakerTelemetry: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "NOT_FOUND", "CONTRACT_UNAVAILABLE", "TELEMETRY_CONFLICT", "INVALID_REQUEST"];
|
|
445
491
|
readonly reactComment: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "NOT_FOUND", "INVALID_IDEMPOTENCY_KEY"];
|
|
446
492
|
readonly ready: readonly ["DEPENDENCY_STALE"];
|
package/dist/generated/errors.js
CHANGED
|
@@ -179,6 +179,30 @@ export const errorRegistry = {
|
|
|
179
179
|
"status": 409,
|
|
180
180
|
"retry": "NEVER"
|
|
181
181
|
},
|
|
182
|
+
"GOLDEN_TICKET_NONE": {
|
|
183
|
+
"status": 409,
|
|
184
|
+
"retry": "NEVER"
|
|
185
|
+
},
|
|
186
|
+
"GOLDEN_TICKET_USED": {
|
|
187
|
+
"status": 409,
|
|
188
|
+
"retry": "NEVER"
|
|
189
|
+
},
|
|
190
|
+
"GOLDEN_TICKET_EXPIRED": {
|
|
191
|
+
"status": 409,
|
|
192
|
+
"retry": "NEVER"
|
|
193
|
+
},
|
|
194
|
+
"GOLDEN_PLACEMENT_IN_FLIGHT": {
|
|
195
|
+
"status": 409,
|
|
196
|
+
"retry": "REFRESH"
|
|
197
|
+
},
|
|
198
|
+
"GOLDEN_PROMO_BUSY": {
|
|
199
|
+
"status": 409,
|
|
200
|
+
"retry": "REFRESH"
|
|
201
|
+
},
|
|
202
|
+
"GOLDEN_CASHOUT_REFUSED": {
|
|
203
|
+
"status": 409,
|
|
204
|
+
"retry": "NEVER"
|
|
205
|
+
},
|
|
182
206
|
"INVALID_SIGNATURE": {
|
|
183
207
|
"status": 422,
|
|
184
208
|
"retry": "NEVER"
|
|
@@ -207,6 +231,18 @@ export const errorRegistry = {
|
|
|
207
231
|
"status": 422,
|
|
208
232
|
"retry": "NEVER"
|
|
209
233
|
},
|
|
234
|
+
"GOLDEN_LEG_COUNT": {
|
|
235
|
+
"status": 422,
|
|
236
|
+
"retry": "NEVER"
|
|
237
|
+
},
|
|
238
|
+
"GOLDEN_LEG_NOT_ELIGIBLE": {
|
|
239
|
+
"status": 422,
|
|
240
|
+
"retry": "REFRESH"
|
|
241
|
+
},
|
|
242
|
+
"GOLDEN_QUOTE_NOT_HOUSE": {
|
|
243
|
+
"status": 422,
|
|
244
|
+
"retry": "REFRESH"
|
|
245
|
+
},
|
|
210
246
|
"RATE_LIMITED": {
|
|
211
247
|
"status": 429,
|
|
212
248
|
"retry": "BACKOFF"
|
|
@@ -289,6 +325,10 @@ export const errorRegistry = {
|
|
|
289
325
|
"status": 503,
|
|
290
326
|
"retry": "BACKOFF"
|
|
291
327
|
},
|
|
328
|
+
"GOLDEN_PROMO_FUNDS_LOW": {
|
|
329
|
+
"status": 503,
|
|
330
|
+
"retry": "BACKOFF"
|
|
331
|
+
},
|
|
292
332
|
"CONNECTION_DRAIN": {
|
|
293
333
|
"status": 503,
|
|
294
334
|
"close": 1012,
|
|
@@ -361,6 +401,7 @@ export const operationErrors = {
|
|
|
361
401
|
"EXECUTION_BACKLOG_FULL",
|
|
362
402
|
"CORE_MOVE_IN_FLIGHT",
|
|
363
403
|
"ACCEPTANCE_IN_FLIGHT",
|
|
404
|
+
"GOLDEN_CASHOUT_REFUSED",
|
|
364
405
|
"NOT_FOUND",
|
|
365
406
|
"ORIGIN_REQUIRED",
|
|
366
407
|
"WRONG_AUTHORITY"
|
|
@@ -494,6 +535,7 @@ export const operationErrors = {
|
|
|
494
535
|
"IDEMPOTENCY_KEY_REUSED",
|
|
495
536
|
"RFQ_INTENT_LIMIT",
|
|
496
537
|
"STATE_CONFLICT",
|
|
538
|
+
"GOLDEN_CASHOUT_REFUSED",
|
|
497
539
|
"FINANCIAL_ACTIONS_DISABLED",
|
|
498
540
|
"GAS_PRICE_ABOVE_CEILING",
|
|
499
541
|
"ORIGIN_REQUIRED"
|
|
@@ -557,6 +599,30 @@ export const operationErrors = {
|
|
|
557
599
|
"SPONSORSHIP_UNAVAILABLE",
|
|
558
600
|
"ORIGIN_REQUIRED"
|
|
559
601
|
],
|
|
602
|
+
"createGoldenRfq": [
|
|
603
|
+
"UNAUTHENTICATED",
|
|
604
|
+
"FORBIDDEN",
|
|
605
|
+
"AUTHORIZATION_UNAVAILABLE",
|
|
606
|
+
"DEPENDENCY_STALE",
|
|
607
|
+
"RATE_LIMITED",
|
|
608
|
+
"ORIGIN_REQUIRED",
|
|
609
|
+
"IDENTITY_NOT_FOUND",
|
|
610
|
+
"INVALID_REQUEST",
|
|
611
|
+
"INVALID_IDEMPOTENCY_KEY",
|
|
612
|
+
"IDEMPOTENCY_KEY_REUSED",
|
|
613
|
+
"CONTRACT_UNAVAILABLE",
|
|
614
|
+
"GOLDEN_TICKET_NONE",
|
|
615
|
+
"GOLDEN_TICKET_USED",
|
|
616
|
+
"GOLDEN_TICKET_EXPIRED",
|
|
617
|
+
"GOLDEN_PLACEMENT_IN_FLIGHT",
|
|
618
|
+
"GOLDEN_LEG_COUNT",
|
|
619
|
+
"GOLDEN_LEG_NOT_ELIGIBLE",
|
|
620
|
+
"STATE_CONFLICT",
|
|
621
|
+
"FINANCIAL_ACTIONS_DISABLED",
|
|
622
|
+
"GAS_PRICE_ABOVE_CEILING",
|
|
623
|
+
"COMBO_AUTOMATIC_DISABLED",
|
|
624
|
+
"BROWSE_UNAVAILABLE"
|
|
625
|
+
],
|
|
560
626
|
"createMakerApiKey": [
|
|
561
627
|
"UNAUTHENTICATED",
|
|
562
628
|
"FORBIDDEN",
|
|
@@ -862,6 +928,57 @@ export const operationErrors = {
|
|
|
862
928
|
"RATE_LIMITED",
|
|
863
929
|
"INVALID_QUERY"
|
|
864
930
|
],
|
|
931
|
+
"getGolden": [
|
|
932
|
+
"UNAUTHENTICATED",
|
|
933
|
+
"FORBIDDEN",
|
|
934
|
+
"AUTHORIZATION_UNAVAILABLE",
|
|
935
|
+
"DEPENDENCY_STALE",
|
|
936
|
+
"RATE_LIMITED",
|
|
937
|
+
"ORIGIN_REQUIRED",
|
|
938
|
+
"IDENTITY_NOT_FOUND",
|
|
939
|
+
"INVALID_QUERY"
|
|
940
|
+
],
|
|
941
|
+
"getGoldenMarkets": [
|
|
942
|
+
"UNAUTHENTICATED",
|
|
943
|
+
"FORBIDDEN",
|
|
944
|
+
"AUTHORIZATION_UNAVAILABLE",
|
|
945
|
+
"DEPENDENCY_STALE",
|
|
946
|
+
"RATE_LIMITED",
|
|
947
|
+
"ORIGIN_REQUIRED",
|
|
948
|
+
"IDENTITY_NOT_FOUND",
|
|
949
|
+
"INVALID_QUERY",
|
|
950
|
+
"CONTRACT_UNAVAILABLE",
|
|
951
|
+
"BROWSE_UNAVAILABLE"
|
|
952
|
+
],
|
|
953
|
+
"getGoldenOffer": [
|
|
954
|
+
"UNAUTHENTICATED",
|
|
955
|
+
"FORBIDDEN",
|
|
956
|
+
"AUTHORIZATION_UNAVAILABLE",
|
|
957
|
+
"DEPENDENCY_STALE",
|
|
958
|
+
"RATE_LIMITED",
|
|
959
|
+
"ORIGIN_REQUIRED",
|
|
960
|
+
"IDENTITY_NOT_FOUND",
|
|
961
|
+
"INVALID_QUERY",
|
|
962
|
+
"NOT_FOUND",
|
|
963
|
+
"CONTRACT_UNAVAILABLE",
|
|
964
|
+
"FINANCIAL_ACTIONS_DISABLED"
|
|
965
|
+
],
|
|
966
|
+
"getGoldenSuggestions": [
|
|
967
|
+
"UNAUTHENTICATED",
|
|
968
|
+
"FORBIDDEN",
|
|
969
|
+
"AUTHORIZATION_UNAVAILABLE",
|
|
970
|
+
"DEPENDENCY_STALE",
|
|
971
|
+
"RATE_LIMITED",
|
|
972
|
+
"ORIGIN_REQUIRED",
|
|
973
|
+
"IDENTITY_NOT_FOUND",
|
|
974
|
+
"INVALID_QUERY",
|
|
975
|
+
"CONTRACT_UNAVAILABLE",
|
|
976
|
+
"GOLDEN_TICKET_NONE",
|
|
977
|
+
"GOLDEN_TICKET_USED",
|
|
978
|
+
"GOLDEN_TICKET_EXPIRED",
|
|
979
|
+
"GOLDEN_PLACEMENT_IN_FLIGHT",
|
|
980
|
+
"BROWSE_UNAVAILABLE"
|
|
981
|
+
],
|
|
865
982
|
"getHypercoreBalance": [
|
|
866
983
|
"UNAUTHENTICATED",
|
|
867
984
|
"FORBIDDEN",
|
|
@@ -1501,6 +1618,38 @@ export const operationErrors = {
|
|
|
1501
1618
|
"SOURCE_UNAVAILABLE"
|
|
1502
1619
|
],
|
|
1503
1620
|
"live": [],
|
|
1621
|
+
"placeGolden": [
|
|
1622
|
+
"UNAUTHENTICATED",
|
|
1623
|
+
"FORBIDDEN",
|
|
1624
|
+
"AUTHORIZATION_UNAVAILABLE",
|
|
1625
|
+
"DEPENDENCY_STALE",
|
|
1626
|
+
"RATE_LIMITED",
|
|
1627
|
+
"ORIGIN_REQUIRED",
|
|
1628
|
+
"IDENTITY_NOT_FOUND",
|
|
1629
|
+
"INVALID_REQUEST",
|
|
1630
|
+
"INVALID_IDEMPOTENCY_KEY",
|
|
1631
|
+
"IDEMPOTENCY_KEY_REUSED",
|
|
1632
|
+
"NOT_FOUND",
|
|
1633
|
+
"CONTRACT_UNAVAILABLE",
|
|
1634
|
+
"GOLDEN_TICKET_NONE",
|
|
1635
|
+
"GOLDEN_TICKET_USED",
|
|
1636
|
+
"GOLDEN_TICKET_EXPIRED",
|
|
1637
|
+
"GOLDEN_PLACEMENT_IN_FLIGHT",
|
|
1638
|
+
"GOLDEN_LEG_COUNT",
|
|
1639
|
+
"GOLDEN_LEG_NOT_ELIGIBLE",
|
|
1640
|
+
"GOLDEN_QUOTE_NOT_HOUSE",
|
|
1641
|
+
"QUOTE_EXPIRED",
|
|
1642
|
+
"QUOTE_REPLACED",
|
|
1643
|
+
"GOLDEN_PROMO_BUSY",
|
|
1644
|
+
"GOLDEN_PROMO_FUNDS_LOW",
|
|
1645
|
+
"WRONG_AUTHORITY",
|
|
1646
|
+
"STATE_CONFLICT",
|
|
1647
|
+
"ACCEPTANCE_IN_FLIGHT",
|
|
1648
|
+
"FINANCIAL_ACTIONS_DISABLED",
|
|
1649
|
+
"GAS_PRICE_ABOVE_CEILING",
|
|
1650
|
+
"EXECUTION_BACKLOG_FULL",
|
|
1651
|
+
"BROWSE_UNAVAILABLE"
|
|
1652
|
+
],
|
|
1504
1653
|
"publishMakerTelemetry": [
|
|
1505
1654
|
"UNAUTHENTICATED",
|
|
1506
1655
|
"FORBIDDEN",
|
|
@@ -426,7 +426,7 @@ export type paths = {
|
|
|
426
426
|
readonly put?: never;
|
|
427
427
|
/**
|
|
428
428
|
* Bind embedded wallet
|
|
429
|
-
* @description Idempotently makes a wallet attested by the authenticated user's signed Privy identity token the account's: the account's current wallet if it has one, else the Privy embedded wallet, else the one Ethereum wallet the user signed in with. The account's wallet never changes once bound; several external wallets on a new account, or a wallet another account holds, answer EMBEDDED_WALLET_CONFLICT, and a smart contract wallet answers WALLET_CONTRACT_UNSUPPORTED. Creating a new account needs a Google, email, X or Ethereum wallet login linked in the identity token, or
|
|
429
|
+
* @description Idempotently makes a wallet attested by the authenticated user's signed Privy identity token the account's: the account's current wallet if it has one, else the Privy embedded wallet, else the one Ethereum wallet the user signed in with. The account's wallet never changes once bound; several external wallets on a new account, or a wallet another account holds, answer EMBEDDED_WALLET_CONFLICT, and a smart contract wallet answers WALLET_CONTRACT_UNSUPPORTED. Creating a new account needs a Google, email, X or Ethereum wallet login linked in the identity token, or a Solana wallet login (such as one from the Solana app on the same Privy app) once the user has a Privy embedded wallet, or this answers SIGN_IN_REQUIRED, and, while the closed launch is on, an invite code redeemed with the access service first, or this answers ACCESS_REQUIRED. Existing accounts are unaffected.
|
|
430
430
|
*/
|
|
431
431
|
readonly post: operations["bindEmbeddedWallet"];
|
|
432
432
|
readonly delete?: never;
|
|
@@ -675,6 +675,126 @@ export type paths = {
|
|
|
675
675
|
readonly patch?: never;
|
|
676
676
|
readonly trace?: never;
|
|
677
677
|
};
|
|
678
|
+
readonly "/v1/me/golden": {
|
|
679
|
+
readonly parameters: {
|
|
680
|
+
readonly query?: never;
|
|
681
|
+
readonly header?: never;
|
|
682
|
+
readonly path?: never;
|
|
683
|
+
readonly cookie?: never;
|
|
684
|
+
};
|
|
685
|
+
/**
|
|
686
|
+
* Get the golden ticket
|
|
687
|
+
* @description The account's golden ticket (TT-2624): one free Combo for an account created from a golden invite code, null for any other account or where golden Combos are off.
|
|
688
|
+
*/
|
|
689
|
+
readonly get: operations["getGolden"];
|
|
690
|
+
readonly put?: never;
|
|
691
|
+
readonly post?: never;
|
|
692
|
+
readonly delete?: never;
|
|
693
|
+
readonly options?: never;
|
|
694
|
+
readonly head?: never;
|
|
695
|
+
readonly patch?: never;
|
|
696
|
+
readonly trace?: never;
|
|
697
|
+
};
|
|
698
|
+
readonly "/v1/me/golden/markets": {
|
|
699
|
+
readonly parameters: {
|
|
700
|
+
readonly query?: never;
|
|
701
|
+
readonly header?: never;
|
|
702
|
+
readonly path?: never;
|
|
703
|
+
readonly cookie?: never;
|
|
704
|
+
};
|
|
705
|
+
/**
|
|
706
|
+
* List golden markets
|
|
707
|
+
* @description The discovery cards a golden Combo may take legs from now: games in the golden leagues that have not started and start within the golden window, with at least one leg a Combo takes. The same rule refuses a golden RFQ's legs.
|
|
708
|
+
*/
|
|
709
|
+
readonly get: operations["getGoldenMarkets"];
|
|
710
|
+
readonly put?: never;
|
|
711
|
+
readonly post?: never;
|
|
712
|
+
readonly delete?: never;
|
|
713
|
+
readonly options?: never;
|
|
714
|
+
readonly head?: never;
|
|
715
|
+
readonly patch?: never;
|
|
716
|
+
readonly trace?: never;
|
|
717
|
+
};
|
|
718
|
+
readonly "/v1/me/golden/suggestions": {
|
|
719
|
+
readonly parameters: {
|
|
720
|
+
readonly query?: never;
|
|
721
|
+
readonly header?: never;
|
|
722
|
+
readonly path?: never;
|
|
723
|
+
readonly cookie?: never;
|
|
724
|
+
};
|
|
725
|
+
/**
|
|
726
|
+
* List golden suggestions
|
|
727
|
+
* @description Up to three ready-made golden Combos that share no outcome, for an account whose golden ticket is available: 5 legs from golden markets at the 1 USDC golden stake, each priced recently by a Totalis maker quote to the promo account. Picking one only fills the slip; place it through POST /v1/me/golden/rfqs, which requotes. A suggestion leaves the list once a leg is no longer a golden market or its quote is two hours old.
|
|
728
|
+
*/
|
|
729
|
+
readonly get: operations["getGoldenSuggestions"];
|
|
730
|
+
readonly put?: never;
|
|
731
|
+
readonly post?: never;
|
|
732
|
+
readonly delete?: never;
|
|
733
|
+
readonly options?: never;
|
|
734
|
+
readonly head?: never;
|
|
735
|
+
readonly patch?: never;
|
|
736
|
+
readonly trace?: never;
|
|
737
|
+
};
|
|
738
|
+
readonly "/v1/me/golden/rfqs": {
|
|
739
|
+
readonly parameters: {
|
|
740
|
+
readonly query?: never;
|
|
741
|
+
readonly header?: never;
|
|
742
|
+
readonly path?: never;
|
|
743
|
+
readonly cookie?: never;
|
|
744
|
+
};
|
|
745
|
+
readonly get?: never;
|
|
746
|
+
readonly put?: never;
|
|
747
|
+
/**
|
|
748
|
+
* Open a golden RFQ
|
|
749
|
+
* @description Opens the Totalis promo account's RFQ for this account's golden Combo: exactly 5 legs, each a golden market, at a 1 USDC stake Totalis pays. Makers quote it like any RFQ; read the best Totalis maker quote with GET /v1/me/golden/rfqs/{rfq_id}/offer.
|
|
750
|
+
*/
|
|
751
|
+
readonly post: operations["createGoldenRfq"];
|
|
752
|
+
readonly delete?: never;
|
|
753
|
+
readonly options?: never;
|
|
754
|
+
readonly head?: never;
|
|
755
|
+
readonly patch?: never;
|
|
756
|
+
readonly trace?: never;
|
|
757
|
+
};
|
|
758
|
+
readonly "/v1/me/golden/rfqs/{rfq_id}/offer": {
|
|
759
|
+
readonly parameters: {
|
|
760
|
+
readonly query?: never;
|
|
761
|
+
readonly header?: never;
|
|
762
|
+
readonly path?: never;
|
|
763
|
+
readonly cookie?: never;
|
|
764
|
+
};
|
|
765
|
+
/**
|
|
766
|
+
* Get the golden offer
|
|
767
|
+
* @description The best live Totalis maker quote on this account's golden RFQ, what it pays on a win, and the gift Transfer this account's wallet signs to receive it. A new quote names another position and needs a new signature. `offer` is null until a Totalis maker quotes. `rfq` is where the RFQ stands, as Get RFQ says, so a client polls this alone.
|
|
768
|
+
*/
|
|
769
|
+
readonly get: operations["getGoldenOffer"];
|
|
770
|
+
readonly put?: never;
|
|
771
|
+
readonly post?: never;
|
|
772
|
+
readonly delete?: never;
|
|
773
|
+
readonly options?: never;
|
|
774
|
+
readonly head?: never;
|
|
775
|
+
readonly patch?: never;
|
|
776
|
+
readonly trace?: never;
|
|
777
|
+
};
|
|
778
|
+
readonly "/v1/me/golden/placements": {
|
|
779
|
+
readonly parameters: {
|
|
780
|
+
readonly query?: never;
|
|
781
|
+
readonly header?: never;
|
|
782
|
+
readonly path?: never;
|
|
783
|
+
readonly cookie?: never;
|
|
784
|
+
};
|
|
785
|
+
readonly get?: never;
|
|
786
|
+
readonly put?: never;
|
|
787
|
+
/**
|
|
788
|
+
* Place the golden Combo
|
|
789
|
+
* @description Totalis buys the offered quote from its promo account and gifts the position to this account. Re-runs the golden checks, verifies the account wallet's Transfer signature, then accepts as the promo account; the gift follows once the accept lands. The promo account accepts one Combo at a time: a placement waits for the previous one until its quote's accept_before.
|
|
790
|
+
*/
|
|
791
|
+
readonly post: operations["placeGolden"];
|
|
792
|
+
readonly delete?: never;
|
|
793
|
+
readonly options?: never;
|
|
794
|
+
readonly head?: never;
|
|
795
|
+
readonly patch?: never;
|
|
796
|
+
readonly trace?: never;
|
|
797
|
+
};
|
|
678
798
|
readonly "/v1/leaderboard/volume": {
|
|
679
799
|
readonly parameters: {
|
|
680
800
|
readonly query?: never;
|
|
@@ -3151,7 +3271,7 @@ export type components = {
|
|
|
3151
3271
|
* @description Stable HTTP error code. Each code has one HTTP status and one retry value.
|
|
3152
3272
|
* @enum {string}
|
|
3153
3273
|
*/
|
|
3154
|
-
readonly ErrorCode: "INVALID_REQUEST" | "INVALID_QUERY" | "INVALID_CURSOR" | "INVALID_IDEMPOTENCY_KEY" | "ORIGIN_REQUIRED" | "SUBPROTOCOL_REQUIRED" | "UNSUPPORTED_BROWSE_CONTRACT" | "UNAUTHENTICATED" | "FORBIDDEN" | "ORIGIN_NOT_ALLOWED" | "ACCESS_REQUIRED" | "SIGN_IN_REQUIRED" | "NOT_FOUND" | "IDENTITY_NOT_FOUND" | "QUOTE_NOT_FOUND" | "INVITE_CODE_NOT_FOUND" | "IDEMPOTENCY_KEY_REUSED" | "STATE_CONFLICT" | "INVITE_CODE_EXHAUSTED" | "STALE_CURSOR" | "CURSOR_EXPIRED" | "CURSOR_RESET" | "RECURRING_DEFINITION_CONFLICT" | "EMBEDDED_WALLET_CONFLICT" | "SECRET_UNAVAILABLE" | "ROTATION_IN_PROGRESS" | "TELEMETRY_CONFLICT" | "RFQ_NOT_CANCELLABLE" | "RFQ_NOT_OPEN" | "RFQ_GENERATION_STALE" | "RFQ_GENERATION_IN_FLIGHT" | "QUOTE_EXPIRED" | "QUOTE_CANCELLED" | "QUOTE_REPLACED" | "QUOTE_SIGNER_CHANGED" | "QUOTE_CAPACITY_EXCEEDED" | "CORE_ACCOUNT_NOT_READY" | "CORE_ACCOUNT_ACTIVATION_REQUIRED" | "CORE_EXIT_ABANDONED" | "CORE_MOVE_IN_FLIGHT" | "ACCEPTANCE_IN_FLIGHT" | "USERNAME_TAKEN" | "USERNAME_ALREADY_SET" | "USERNAME_REQUIRED" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "FOLLOW_SELF" | "FOLLOW_LIMIT_REACHED" | "RATE_LIMITED" | "CONNECTION_LIMIT" | "RFQ_INTENT_LIMIT" | "QUOTE_EXPOSURE_LIMIT" | "DEPENDENCY_STALE" | "AUTHORIZATION_UNAVAILABLE" | "SOURCE_UNAVAILABLE" | "CONTRACT_UNAVAILABLE" | "MARKET_DATA_UNAVAILABLE" | "BROWSE_UNAVAILABLE" | "FINANCIAL_ACTIONS_DISABLED" | "CORE_EXIT_UNAVAILABLE" | "COLLATERAL_REDUCTION_UNAVAILABLE" | "SPONSORSHIP_UNAVAILABLE" | "CONTRACT_SIGNATURE_OVERLOADED" | "QUOTE_EXPOSURE_STALE" | "COMBO_AUTOMATIC_DISABLED" | "GAS_PRICE_ABOVE_CEILING" | "EXECUTION_BACKLOG_FULL" | "EMBEDDED_WALLET_UNAVAILABLE" | "CONNECTION_DRAIN";
|
|
3274
|
+
readonly ErrorCode: "INVALID_REQUEST" | "INVALID_QUERY" | "INVALID_CURSOR" | "INVALID_IDEMPOTENCY_KEY" | "ORIGIN_REQUIRED" | "SUBPROTOCOL_REQUIRED" | "UNSUPPORTED_BROWSE_CONTRACT" | "UNAUTHENTICATED" | "FORBIDDEN" | "ORIGIN_NOT_ALLOWED" | "ACCESS_REQUIRED" | "SIGN_IN_REQUIRED" | "NOT_FOUND" | "IDENTITY_NOT_FOUND" | "QUOTE_NOT_FOUND" | "INVITE_CODE_NOT_FOUND" | "IDEMPOTENCY_KEY_REUSED" | "STATE_CONFLICT" | "INVITE_CODE_EXHAUSTED" | "STALE_CURSOR" | "CURSOR_EXPIRED" | "CURSOR_RESET" | "RECURRING_DEFINITION_CONFLICT" | "EMBEDDED_WALLET_CONFLICT" | "SECRET_UNAVAILABLE" | "ROTATION_IN_PROGRESS" | "TELEMETRY_CONFLICT" | "RFQ_NOT_CANCELLABLE" | "RFQ_NOT_OPEN" | "RFQ_GENERATION_STALE" | "RFQ_GENERATION_IN_FLIGHT" | "QUOTE_EXPIRED" | "QUOTE_CANCELLED" | "QUOTE_REPLACED" | "QUOTE_SIGNER_CHANGED" | "QUOTE_CAPACITY_EXCEEDED" | "CORE_ACCOUNT_NOT_READY" | "CORE_ACCOUNT_ACTIVATION_REQUIRED" | "CORE_EXIT_ABANDONED" | "CORE_MOVE_IN_FLIGHT" | "ACCEPTANCE_IN_FLIGHT" | "USERNAME_TAKEN" | "USERNAME_ALREADY_SET" | "USERNAME_REQUIRED" | "GOLDEN_TICKET_NONE" | "GOLDEN_TICKET_USED" | "GOLDEN_TICKET_EXPIRED" | "GOLDEN_PLACEMENT_IN_FLIGHT" | "GOLDEN_PROMO_BUSY" | "GOLDEN_CASHOUT_REFUSED" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "FOLLOW_SELF" | "FOLLOW_LIMIT_REACHED" | "GOLDEN_LEG_COUNT" | "GOLDEN_LEG_NOT_ELIGIBLE" | "GOLDEN_QUOTE_NOT_HOUSE" | "RATE_LIMITED" | "CONNECTION_LIMIT" | "RFQ_INTENT_LIMIT" | "QUOTE_EXPOSURE_LIMIT" | "DEPENDENCY_STALE" | "AUTHORIZATION_UNAVAILABLE" | "SOURCE_UNAVAILABLE" | "CONTRACT_UNAVAILABLE" | "MARKET_DATA_UNAVAILABLE" | "BROWSE_UNAVAILABLE" | "FINANCIAL_ACTIONS_DISABLED" | "CORE_EXIT_UNAVAILABLE" | "COLLATERAL_REDUCTION_UNAVAILABLE" | "SPONSORSHIP_UNAVAILABLE" | "CONTRACT_SIGNATURE_OVERLOADED" | "QUOTE_EXPOSURE_STALE" | "COMBO_AUTOMATIC_DISABLED" | "GAS_PRICE_ABOVE_CEILING" | "EXECUTION_BACKLOG_FULL" | "EMBEDDED_WALLET_UNAVAILABLE" | "GOLDEN_PROMO_FUNDS_LOW" | "CONNECTION_DRAIN";
|
|
3155
3275
|
readonly FieldViolation: {
|
|
3156
3276
|
/**
|
|
3157
3277
|
* @description REQUIRED: the input is missing. INVALID: it is present but malformed or out of range. UNEXPECTED: the input is not accepted here.
|
|
@@ -4503,6 +4623,62 @@ export type components = {
|
|
|
4503
4623
|
/** @description End of a scheduled single contest's in-play window [date_at, estimated_live_until): its scheduled start plus its league's reviewed usual game length, unless the live game feed shows the game in play (then at least 15 minutes past publication, republished before it closes, until the game ends) or over (then the moment it was first seen over, or date_at if that was earlier). Never a trading cutoff, closure or settlement. Present before the contest starts. Null for anything else: tournaments, series, leagues without a reviewed length, or markets that disagree on the start. */
|
|
4504
4624
|
readonly estimated_live_until: components["schemas"]["$defs-Timestamp"] | null;
|
|
4505
4625
|
};
|
|
4626
|
+
/** @description Entry terms a maker quotes; they mirror the signed Quote and TakerAccept structs field for field. */
|
|
4627
|
+
readonly "schemas-QuoteTerms": {
|
|
4628
|
+
/** @description On-chain maker ID of the quoting maker. */
|
|
4629
|
+
readonly maker_id: components["schemas"]["NonZeroUInt64String"];
|
|
4630
|
+
/** @description Legs the quote covers; must equal the RFQ legs in order. The signed Leg encodes outcome_id as uint32 and side as uint8, 0 for YES and 1 for NO. */
|
|
4631
|
+
readonly legs: readonly components["schemas"]["$defs-Leg"][];
|
|
4632
|
+
/** @description Taker stake in atomic USDC (6 decimals), before taker fees. */
|
|
4633
|
+
readonly stake: components["schemas"]["$defs-Amount"];
|
|
4634
|
+
/** @description Gross amount the position pays if every leg wins, in atomic USDC (6 decimals), before the profit fee. */
|
|
4635
|
+
readonly payout: components["schemas"]["$defs-Amount"];
|
|
4636
|
+
/** @description Profit fee in basis points, charged at claim on the winning profit (payout minus net stake). */
|
|
4637
|
+
readonly fee_bps: number;
|
|
4638
|
+
/** @description Entry fee in basis points taken from the stake at accept: net stake is stake minus floor(stake * taker_fee_bps / 10000). */
|
|
4639
|
+
readonly taker_fee_bps: number;
|
|
4640
|
+
/** @description Wallet that must sign the accept and will own the position. */
|
|
4641
|
+
readonly taker: string;
|
|
4642
|
+
/** @description Unix seconds after which the quote can no longer be accepted. */
|
|
4643
|
+
readonly expiry: components["schemas"]["UInt64String"];
|
|
4644
|
+
/** @description Random uint256, as a decimal string, that makes each signed quote unique. */
|
|
4645
|
+
readonly salt: components["schemas"]["Uint256"];
|
|
4646
|
+
};
|
|
4647
|
+
/** @description Sell-back terms: the underwriting maker buys the position back and it closes. They mirror the signed SellBack struct. */
|
|
4648
|
+
readonly "schemas-SellBackTerms": {
|
|
4649
|
+
/** @description Position the quote is for; the signed SellBack names it ticketId. */
|
|
4650
|
+
readonly position_id: components["schemas"]["Hash32"];
|
|
4651
|
+
/** @description Buyback price the original maker pays the owner to close the ticket, in atomic USDC (6 decimals). */
|
|
4652
|
+
readonly price: components["schemas"]["$defs-Amount"];
|
|
4653
|
+
/** @description Current position owner, who sells the ticket back. */
|
|
4654
|
+
readonly owner: components["schemas"]["LowercaseNonZeroAddress"];
|
|
4655
|
+
/** @description Unix seconds after which the quote can no longer be executed. */
|
|
4656
|
+
readonly expiry: components["schemas"]["UInt64String"];
|
|
4657
|
+
/** @description Random uint256, as a decimal string, that makes each signed quote unique. */
|
|
4658
|
+
readonly salt: components["schemas"]["Uint256"];
|
|
4659
|
+
/** @description Position leg state the quote was priced against; must equal the RFQ's leg_state. */
|
|
4660
|
+
readonly leg_state: components["schemas"]["Hash32"];
|
|
4661
|
+
};
|
|
4662
|
+
/** @description Transfer terms: another maker buys the position and becomes its owner. They mirror the signed CashoutTransfer struct. */
|
|
4663
|
+
readonly "schemas-TransferTerms": {
|
|
4664
|
+
/** @description Position the quote is for; the signed CashoutTransfer names it ticketId. */
|
|
4665
|
+
readonly position_id: components["schemas"]["Hash32"];
|
|
4666
|
+
/** @description Price the buyer pays the seller for the whole position, in atomic USDC (6 decimals). */
|
|
4667
|
+
readonly price: components["schemas"]["$defs-Amount"];
|
|
4668
|
+
/** @description Current position owner, who sells the ticket. */
|
|
4669
|
+
readonly seller: components["schemas"]["LowercaseNonZeroAddress"];
|
|
4670
|
+
/** @description The bidding maker's current quote signer, which becomes the owner and pays from its own vault balance. */
|
|
4671
|
+
readonly buyer: components["schemas"]["LowercaseNonZeroAddress"];
|
|
4672
|
+
/** @description Unix seconds after which the quote can no longer be executed. */
|
|
4673
|
+
readonly expiry: components["schemas"]["UInt64String"];
|
|
4674
|
+
/** @description Random uint256, as a decimal string, that makes each signed quote unique. */
|
|
4675
|
+
readonly salt: components["schemas"]["Uint256"];
|
|
4676
|
+
/** @description Position leg state the quote was priced against; must equal the RFQ's leg_state. */
|
|
4677
|
+
readonly leg_state: components["schemas"]["Hash32"];
|
|
4678
|
+
};
|
|
4679
|
+
/** Format: uint256-decimal */
|
|
4680
|
+
readonly Uint: string;
|
|
4681
|
+
readonly ContractSignature: string;
|
|
4506
4682
|
/** @description 1 to 1000 characters after surrounding whitespace is trimmed. Newlines are kept; other control characters are refused. */
|
|
4507
4683
|
readonly CommentBody: string;
|
|
4508
4684
|
/**
|
|
@@ -4568,59 +4744,6 @@ export type components = {
|
|
|
4568
4744
|
readonly EditCommentRequest: {
|
|
4569
4745
|
readonly body: components["schemas"]["CommentBody"];
|
|
4570
4746
|
};
|
|
4571
|
-
/** @description Entry terms a maker quotes; they mirror the signed Quote and TakerAccept structs field for field. */
|
|
4572
|
-
readonly "schemas-QuoteTerms": {
|
|
4573
|
-
/** @description On-chain maker ID of the quoting maker. */
|
|
4574
|
-
readonly maker_id: components["schemas"]["NonZeroUInt64String"];
|
|
4575
|
-
/** @description Legs the quote covers; must equal the RFQ legs in order. The signed Leg encodes outcome_id as uint32 and side as uint8, 0 for YES and 1 for NO. */
|
|
4576
|
-
readonly legs: readonly components["schemas"]["$defs-Leg"][];
|
|
4577
|
-
/** @description Taker stake in atomic USDC (6 decimals), before taker fees. */
|
|
4578
|
-
readonly stake: components["schemas"]["$defs-Amount"];
|
|
4579
|
-
/** @description Gross amount the position pays if every leg wins, in atomic USDC (6 decimals), before the profit fee. */
|
|
4580
|
-
readonly payout: components["schemas"]["$defs-Amount"];
|
|
4581
|
-
/** @description Profit fee in basis points, charged at claim on the winning profit (payout minus net stake). */
|
|
4582
|
-
readonly fee_bps: number;
|
|
4583
|
-
/** @description Entry fee in basis points taken from the stake at accept: net stake is stake minus floor(stake * taker_fee_bps / 10000). */
|
|
4584
|
-
readonly taker_fee_bps: number;
|
|
4585
|
-
/** @description Wallet that must sign the accept and will own the position. */
|
|
4586
|
-
readonly taker: string;
|
|
4587
|
-
/** @description Unix seconds after which the quote can no longer be accepted. */
|
|
4588
|
-
readonly expiry: components["schemas"]["UInt64String"];
|
|
4589
|
-
/** @description Random uint256, as a decimal string, that makes each signed quote unique. */
|
|
4590
|
-
readonly salt: components["schemas"]["Uint256"];
|
|
4591
|
-
};
|
|
4592
|
-
/** @description Sell-back terms: the underwriting maker buys the position back and it closes. They mirror the signed SellBack struct. */
|
|
4593
|
-
readonly "schemas-SellBackTerms": {
|
|
4594
|
-
/** @description Position the quote is for; the signed SellBack names it ticketId. */
|
|
4595
|
-
readonly position_id: components["schemas"]["Hash32"];
|
|
4596
|
-
/** @description Buyback price the original maker pays the owner to close the ticket, in atomic USDC (6 decimals). */
|
|
4597
|
-
readonly price: components["schemas"]["$defs-Amount"];
|
|
4598
|
-
/** @description Current position owner, who sells the ticket back. */
|
|
4599
|
-
readonly owner: components["schemas"]["LowercaseNonZeroAddress"];
|
|
4600
|
-
/** @description Unix seconds after which the quote can no longer be executed. */
|
|
4601
|
-
readonly expiry: components["schemas"]["UInt64String"];
|
|
4602
|
-
/** @description Random uint256, as a decimal string, that makes each signed quote unique. */
|
|
4603
|
-
readonly salt: components["schemas"]["Uint256"];
|
|
4604
|
-
/** @description Position leg state the quote was priced against; must equal the RFQ's leg_state. */
|
|
4605
|
-
readonly leg_state: components["schemas"]["Hash32"];
|
|
4606
|
-
};
|
|
4607
|
-
/** @description Transfer terms: another maker buys the position and becomes its owner. They mirror the signed CashoutTransfer struct. */
|
|
4608
|
-
readonly "schemas-TransferTerms": {
|
|
4609
|
-
/** @description Position the quote is for; the signed CashoutTransfer names it ticketId. */
|
|
4610
|
-
readonly position_id: components["schemas"]["Hash32"];
|
|
4611
|
-
/** @description Price the buyer pays the seller for the whole position, in atomic USDC (6 decimals). */
|
|
4612
|
-
readonly price: components["schemas"]["$defs-Amount"];
|
|
4613
|
-
/** @description Current position owner, who sells the ticket. */
|
|
4614
|
-
readonly seller: components["schemas"]["LowercaseNonZeroAddress"];
|
|
4615
|
-
/** @description The bidding maker's current quote signer, which becomes the owner and pays from its own vault balance. */
|
|
4616
|
-
readonly buyer: components["schemas"]["LowercaseNonZeroAddress"];
|
|
4617
|
-
/** @description Unix seconds after which the quote can no longer be executed. */
|
|
4618
|
-
readonly expiry: components["schemas"]["UInt64String"];
|
|
4619
|
-
/** @description Random uint256, as a decimal string, that makes each signed quote unique. */
|
|
4620
|
-
readonly salt: components["schemas"]["Uint256"];
|
|
4621
|
-
/** @description Position leg state the quote was priced against; must equal the RFQ's leg_state. */
|
|
4622
|
-
readonly leg_state: components["schemas"]["Hash32"];
|
|
4623
|
-
};
|
|
4624
4747
|
/** @description Arm or renew your quote lease. Each renewal sets it to lapse `lease_ms` after the server receives it; it covers the whole maker, whichever key renews it. Without a lease nothing changes. Send no `Idempotency-Key`: a repeat only renews again. */
|
|
4625
4748
|
readonly QuoteLeaseCommand: {
|
|
4626
4749
|
/** @description How long your quotes stand without another renewal, in milliseconds, from 1000 to 60000. Renew well inside it, for example every third of it. */
|
|
@@ -4638,7 +4761,6 @@ export type components = {
|
|
|
4638
4761
|
/** @description `true` if a lease was armed and is now released, `false` if none was. Either way your quotes now stand until their own expiry. */
|
|
4639
4762
|
readonly released: boolean;
|
|
4640
4763
|
};
|
|
4641
|
-
readonly ContractSignature: string;
|
|
4642
4764
|
/** @description A USDC EIP-3009 ReceiveWithAuthorization moving value from the caller's embedded wallet into the vault. The venue fills `from` and `account` with that wallet; sign the message with both set to it. */
|
|
4643
4765
|
readonly WalletFunding: {
|
|
4644
4766
|
/**
|
|
@@ -5472,8 +5594,6 @@ export type components = {
|
|
|
5472
5594
|
/** @description Relative path to poll for this job's status. */
|
|
5473
5595
|
readonly status_url: string;
|
|
5474
5596
|
};
|
|
5475
|
-
/** Format: uint256-decimal */
|
|
5476
|
-
readonly Uint: string;
|
|
5477
5597
|
readonly TransactionCall: {
|
|
5478
5598
|
/**
|
|
5479
5599
|
* @description HyperEVM chain ID for the transaction: 998 testnet or 999 mainnet.
|
|
@@ -7654,6 +7774,267 @@ export interface operations {
|
|
|
7654
7774
|
readonly 503: components["responses"]["Unavailable"];
|
|
7655
7775
|
};
|
|
7656
7776
|
};
|
|
7777
|
+
readonly getGolden: {
|
|
7778
|
+
readonly parameters: {
|
|
7779
|
+
readonly query?: never;
|
|
7780
|
+
readonly header?: never;
|
|
7781
|
+
readonly path?: never;
|
|
7782
|
+
readonly cookie?: never;
|
|
7783
|
+
};
|
|
7784
|
+
readonly requestBody?: never;
|
|
7785
|
+
readonly responses: {
|
|
7786
|
+
/** @description The golden ticket, or null */
|
|
7787
|
+
readonly 200: {
|
|
7788
|
+
headers: {
|
|
7789
|
+
readonly [name: string]: unknown;
|
|
7790
|
+
};
|
|
7791
|
+
content: {
|
|
7792
|
+
readonly "application/json": {
|
|
7793
|
+
readonly golden: null | {
|
|
7794
|
+
/**
|
|
7795
|
+
* @description AVAILABLE: unused and unexpired. PLACING: Totalis is buying the Combo. BOUGHT: Totalis bought it and the gift to this account is on its way. PLACED: the gift landed; `position_id` is the account's position. EXPIRED: it lapsed unused.
|
|
7796
|
+
* @enum {string}
|
|
7797
|
+
*/
|
|
7798
|
+
readonly state: "AVAILABLE" | "PLACING" | "BOUGHT" | "PLACED" | "EXPIRED";
|
|
7799
|
+
readonly granted_at: components["schemas"]["$defs-Timestamp"];
|
|
7800
|
+
readonly expires_at: components["schemas"]["$defs-Timestamp"];
|
|
7801
|
+
/** @description The gross stake Totalis pays, in USDC base units (6 decimals). */
|
|
7802
|
+
readonly stake: components["schemas"]["$defs-Amount"];
|
|
7803
|
+
/** @constant */
|
|
7804
|
+
readonly stake_asset: "USDC";
|
|
7805
|
+
/**
|
|
7806
|
+
* @description The exact number of legs a golden Combo has.
|
|
7807
|
+
* @constant
|
|
7808
|
+
*/
|
|
7809
|
+
readonly legs: 5;
|
|
7810
|
+
/** @description The gifted position once PLACED; null otherwise. */
|
|
7811
|
+
readonly position_id: null | components["schemas"]["Bytes32"];
|
|
7812
|
+
/** @description While AVAILABLE, why the latest placement failed, if one did; null otherwise. */
|
|
7813
|
+
readonly last_failure: null | ("MAKER_DECLINED" | "ACCEPT_FAILED" | "NOT_ACCEPTED" | "PROMO_BUSY" | "GIFT_FAILED" | "GIFT_EXPIRED");
|
|
7814
|
+
};
|
|
7815
|
+
};
|
|
7816
|
+
};
|
|
7817
|
+
};
|
|
7818
|
+
readonly 400: components["responses"]["Error"];
|
|
7819
|
+
readonly 401: components["responses"]["Error"];
|
|
7820
|
+
readonly 403: components["responses"]["Error"];
|
|
7821
|
+
readonly 404: components["responses"]["Error"];
|
|
7822
|
+
readonly 429: components["responses"]["RateLimited"];
|
|
7823
|
+
readonly 503: components["responses"]["Unavailable"];
|
|
7824
|
+
};
|
|
7825
|
+
};
|
|
7826
|
+
readonly getGoldenMarkets: {
|
|
7827
|
+
readonly parameters: {
|
|
7828
|
+
readonly query?: never;
|
|
7829
|
+
readonly header?: never;
|
|
7830
|
+
readonly path?: never;
|
|
7831
|
+
readonly cookie?: never;
|
|
7832
|
+
};
|
|
7833
|
+
readonly requestBody?: never;
|
|
7834
|
+
readonly responses: {
|
|
7835
|
+
/** @description Golden markets in discovery order */
|
|
7836
|
+
readonly 200: {
|
|
7837
|
+
headers: {
|
|
7838
|
+
readonly [name: string]: unknown;
|
|
7839
|
+
};
|
|
7840
|
+
content: {
|
|
7841
|
+
readonly "application/json": {
|
|
7842
|
+
readonly items: readonly components["schemas"]["Card"][];
|
|
7843
|
+
};
|
|
7844
|
+
};
|
|
7845
|
+
};
|
|
7846
|
+
readonly 400: components["responses"]["Error"];
|
|
7847
|
+
readonly 401: components["responses"]["Error"];
|
|
7848
|
+
readonly 403: components["responses"]["Error"];
|
|
7849
|
+
readonly 404: components["responses"]["Error"];
|
|
7850
|
+
readonly 429: components["responses"]["RateLimited"];
|
|
7851
|
+
readonly 503: components["responses"]["Unavailable"];
|
|
7852
|
+
};
|
|
7853
|
+
};
|
|
7854
|
+
readonly getGoldenSuggestions: {
|
|
7855
|
+
readonly parameters: {
|
|
7856
|
+
readonly query?: never;
|
|
7857
|
+
readonly header?: never;
|
|
7858
|
+
readonly path?: never;
|
|
7859
|
+
readonly cookie?: never;
|
|
7860
|
+
};
|
|
7861
|
+
readonly requestBody?: never;
|
|
7862
|
+
readonly responses: {
|
|
7863
|
+
/** @description Golden suggestions */
|
|
7864
|
+
readonly 200: {
|
|
7865
|
+
headers: {
|
|
7866
|
+
readonly [name: string]: unknown;
|
|
7867
|
+
};
|
|
7868
|
+
content: {
|
|
7869
|
+
readonly "application/json": {
|
|
7870
|
+
/** @description In order; empty when none is priced. `payout` is the Totalis maker quote's win amount after the profit fee, indicative only. */
|
|
7871
|
+
readonly combos: readonly components["schemas"]["SuggestedCombo"][];
|
|
7872
|
+
};
|
|
7873
|
+
};
|
|
7874
|
+
};
|
|
7875
|
+
readonly 400: components["responses"]["Error"];
|
|
7876
|
+
readonly 401: components["responses"]["Error"];
|
|
7877
|
+
readonly 403: components["responses"]["Error"];
|
|
7878
|
+
readonly 404: components["responses"]["Error"];
|
|
7879
|
+
readonly 409: components["responses"]["Error"];
|
|
7880
|
+
readonly 429: components["responses"]["RateLimited"];
|
|
7881
|
+
readonly 503: components["responses"]["Unavailable"];
|
|
7882
|
+
};
|
|
7883
|
+
};
|
|
7884
|
+
readonly createGoldenRfq: {
|
|
7885
|
+
readonly parameters: {
|
|
7886
|
+
readonly query?: never;
|
|
7887
|
+
readonly header: {
|
|
7888
|
+
/**
|
|
7889
|
+
* @description Lowercase UUIDv7 naming this command, unique per caller and route. A retry with the same key and body returns the original result; the same key with a different body returns `409 IDEMPOTENCY_KEY_REUSED`.
|
|
7890
|
+
* @example 0198a6f6-82a5-7abc-9f2a-4f0fb437493e
|
|
7891
|
+
*/
|
|
7892
|
+
readonly "Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
7893
|
+
};
|
|
7894
|
+
readonly path?: never;
|
|
7895
|
+
readonly cookie?: never;
|
|
7896
|
+
};
|
|
7897
|
+
readonly requestBody: {
|
|
7898
|
+
readonly content: {
|
|
7899
|
+
readonly "application/json": {
|
|
7900
|
+
/** @description Strictly ascending by outcome_id. */
|
|
7901
|
+
readonly legs: readonly components["schemas"]["$defs-Leg"][];
|
|
7902
|
+
};
|
|
7903
|
+
};
|
|
7904
|
+
};
|
|
7905
|
+
readonly responses: {
|
|
7906
|
+
/** @description The golden RFQ, or the one a retry with the same Idempotency-Key opened */
|
|
7907
|
+
readonly 201: {
|
|
7908
|
+
headers: {
|
|
7909
|
+
readonly [name: string]: unknown;
|
|
7910
|
+
};
|
|
7911
|
+
content: {
|
|
7912
|
+
readonly "application/json": components["schemas"]["RfqCreated"];
|
|
7913
|
+
};
|
|
7914
|
+
};
|
|
7915
|
+
readonly 400: components["responses"]["Error"];
|
|
7916
|
+
readonly 401: components["responses"]["Error"];
|
|
7917
|
+
readonly 403: components["responses"]["Error"];
|
|
7918
|
+
readonly 404: components["responses"]["Error"];
|
|
7919
|
+
readonly 409: components["responses"]["Error"];
|
|
7920
|
+
readonly 422: components["responses"]["Error"];
|
|
7921
|
+
readonly 429: components["responses"]["RateLimited"];
|
|
7922
|
+
readonly 503: components["responses"]["Unavailable"];
|
|
7923
|
+
};
|
|
7924
|
+
};
|
|
7925
|
+
readonly getGoldenOffer: {
|
|
7926
|
+
readonly parameters: {
|
|
7927
|
+
readonly query?: never;
|
|
7928
|
+
readonly header?: never;
|
|
7929
|
+
readonly path: {
|
|
7930
|
+
readonly rfq_id: components["schemas"]["Uuid"];
|
|
7931
|
+
};
|
|
7932
|
+
readonly cookie?: never;
|
|
7933
|
+
};
|
|
7934
|
+
readonly requestBody?: never;
|
|
7935
|
+
readonly responses: {
|
|
7936
|
+
/** @description The RFQ's state and its offer, or null */
|
|
7937
|
+
readonly 200: {
|
|
7938
|
+
headers: {
|
|
7939
|
+
readonly [name: string]: unknown;
|
|
7940
|
+
};
|
|
7941
|
+
content: {
|
|
7942
|
+
readonly "application/json": {
|
|
7943
|
+
readonly rfq: {
|
|
7944
|
+
/**
|
|
7945
|
+
* @description The RFQ's status, as Get RFQ's `status`: OPEN collects quotes until expires_at; EXPIRED or DECLINED with a null `offer` means no Totalis maker priced it, so open a new one.
|
|
7946
|
+
* @enum {string}
|
|
7947
|
+
*/
|
|
7948
|
+
readonly status: "OPEN" | "ACCEPTED" | "EXPIRED" | "CANCELLED" | "FAILED" | "DECLINED";
|
|
7949
|
+
/** @description When quote collection ends. A quote made by then stays acceptable until its own `accept_before`. */
|
|
7950
|
+
readonly expires_at: components["schemas"]["$defs-Timestamp"];
|
|
7951
|
+
};
|
|
7952
|
+
readonly offer: null | {
|
|
7953
|
+
readonly quote: components["schemas"]["Quote"];
|
|
7954
|
+
/** @description What the position pays its holder if it wins, after the profit fee, in USDC base units. */
|
|
7955
|
+
readonly win_amount: components["schemas"]["$defs-Amount"];
|
|
7956
|
+
/** @description The gift: a plain `Transfer(bytes32 ticketId,uint128 price,address seller,address buyer,uint64 expiry,uint256 salt)` under the vault's EIP-712 domain (GET /v1/deployment), `ticketId` being `position_id`. The account's wallet itself signs it (eth_signTypedData_v4); an agent cannot. */
|
|
7957
|
+
readonly transfer: {
|
|
7958
|
+
readonly position_id: components["schemas"]["Bytes32"];
|
|
7959
|
+
/** @constant */
|
|
7960
|
+
readonly price: "0";
|
|
7961
|
+
readonly seller: components["schemas"]["Address"];
|
|
7962
|
+
readonly buyer: components["schemas"]["Address"];
|
|
7963
|
+
readonly expiry: components["schemas"]["UInt64String"];
|
|
7964
|
+
readonly salt: components["schemas"]["Uint"];
|
|
7965
|
+
/** @description The Transfer's EIP-712 digest, to check a signer against. */
|
|
7966
|
+
readonly digest: components["schemas"]["Bytes32"];
|
|
7967
|
+
};
|
|
7968
|
+
};
|
|
7969
|
+
};
|
|
7970
|
+
};
|
|
7971
|
+
};
|
|
7972
|
+
readonly 400: components["responses"]["Error"];
|
|
7973
|
+
readonly 401: components["responses"]["Error"];
|
|
7974
|
+
readonly 403: components["responses"]["Error"];
|
|
7975
|
+
readonly 404: components["responses"]["Error"];
|
|
7976
|
+
readonly 429: components["responses"]["RateLimited"];
|
|
7977
|
+
readonly 503: components["responses"]["Unavailable"];
|
|
7978
|
+
};
|
|
7979
|
+
};
|
|
7980
|
+
readonly placeGolden: {
|
|
7981
|
+
readonly parameters: {
|
|
7982
|
+
readonly query?: never;
|
|
7983
|
+
readonly header: {
|
|
7984
|
+
/**
|
|
7985
|
+
* @description Lowercase UUIDv7 naming this command, unique per caller and route. A retry with the same key and body returns the original result; the same key with a different body returns `409 IDEMPOTENCY_KEY_REUSED`.
|
|
7986
|
+
* @example 0198a6f6-82a5-7abc-9f2a-4f0fb437493e
|
|
7987
|
+
*/
|
|
7988
|
+
readonly "Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
7989
|
+
};
|
|
7990
|
+
readonly path?: never;
|
|
7991
|
+
readonly cookie?: never;
|
|
7992
|
+
};
|
|
7993
|
+
readonly requestBody: {
|
|
7994
|
+
readonly content: {
|
|
7995
|
+
readonly "application/json": {
|
|
7996
|
+
readonly rfq_id: components["schemas"]["Uuid"];
|
|
7997
|
+
readonly quote_id: components["schemas"]["Bytes32"];
|
|
7998
|
+
/** @description The offer's transfer expiry and salt, as signed. */
|
|
7999
|
+
readonly transfer: {
|
|
8000
|
+
readonly expiry: components["schemas"]["UInt64String"];
|
|
8001
|
+
readonly salt: components["schemas"]["Uint"];
|
|
8002
|
+
};
|
|
8003
|
+
/** @description The account wallet's signature over the offer's Transfer. */
|
|
8004
|
+
readonly buyer_signature: components["schemas"]["ContractSignature"];
|
|
8005
|
+
};
|
|
8006
|
+
};
|
|
8007
|
+
};
|
|
8008
|
+
readonly responses: {
|
|
8009
|
+
/** @description The placement, or the one a retry with the same Idempotency-Key made */
|
|
8010
|
+
readonly 200: {
|
|
8011
|
+
headers: {
|
|
8012
|
+
readonly [name: string]: unknown;
|
|
8013
|
+
};
|
|
8014
|
+
content: {
|
|
8015
|
+
readonly "application/json": {
|
|
8016
|
+
readonly placement_id: components["schemas"]["Uuid"];
|
|
8017
|
+
/**
|
|
8018
|
+
* @description PLACING until the promo account's accept lands, BOUGHT until the gift lands, then DELIVERED; FAILED leaves the golden ticket available again. Read GET /v1/me/golden for its progress.
|
|
8019
|
+
* @enum {string}
|
|
8020
|
+
*/
|
|
8021
|
+
readonly state: "PLACING" | "BOUGHT" | "DELIVERED" | "FAILED";
|
|
8022
|
+
/** @description The quote's digest: the position the gift delivers. */
|
|
8023
|
+
readonly position_id: components["schemas"]["Bytes32"];
|
|
8024
|
+
readonly failure: null | ("MAKER_DECLINED" | "ACCEPT_FAILED" | "NOT_ACCEPTED" | "PROMO_BUSY" | "GIFT_FAILED" | "GIFT_EXPIRED");
|
|
8025
|
+
};
|
|
8026
|
+
};
|
|
8027
|
+
};
|
|
8028
|
+
readonly 400: components["responses"]["Error"];
|
|
8029
|
+
readonly 401: components["responses"]["Error"];
|
|
8030
|
+
readonly 403: components["responses"]["Error"];
|
|
8031
|
+
readonly 404: components["responses"]["Error"];
|
|
8032
|
+
readonly 409: components["responses"]["Error"];
|
|
8033
|
+
readonly 422: components["responses"]["Error"];
|
|
8034
|
+
readonly 429: components["responses"]["RateLimited"];
|
|
8035
|
+
readonly 503: components["responses"]["Unavailable"];
|
|
8036
|
+
};
|
|
8037
|
+
};
|
|
7657
8038
|
readonly getVolumeLeaderboard: {
|
|
7658
8039
|
readonly parameters: {
|
|
7659
8040
|
readonly query?: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export declare const sdkVersion = "
|
|
2
|
-
export declare const openapiSha256 = "
|
|
1
|
+
export declare const sdkVersion = "208.0.0-golden-combo";
|
|
2
|
+
export declare const openapiSha256 = "d20296ea5f9a68f36dfe34c735d7cac2a5b5e2a0d116f0bb183c1e7f192601ff";
|
|
3
3
|
export declare const realtimeSha256 = "1cac740e108e84ad1979f6ccc71089efd840404cb72d1612a86edc02769637e3";
|
|
4
4
|
export declare const jsonSchemaSha256: {
|
|
5
5
|
readonly "account.schema.json": "5106e2d53abef190990eff113f6692dd27df5848439cf5a80a42c11e89f2bef6";
|
|
6
6
|
readonly "comments.schema.json": "18f4addcfa4e31c2c833fce8b8beca61d2e2ee5b6318c2ed0b479698ff56b65e";
|
|
7
7
|
readonly "common.schema.json": "04f51deb3cbea448e59195e26ede3212598d58a7940fe67eb2123fd9161c5edb";
|
|
8
8
|
readonly "core-exit.schema.json": "c7f617e815225cdcac95c236f8b73fbe288ee5713ff444c3be90eb915fc3a401";
|
|
9
|
-
readonly "error.schema.json": "
|
|
9
|
+
readonly "error.schema.json": "724f7e86716a49effe27694ca8fd8370d6f215798d3f663362f1718fd89e7ebb";
|
|
10
10
|
readonly "hypercore.schema.json": "5b89b2bbff7ec8cc1b8717375d12ce9cd5ab6aa5af03c4fdc6cc753ef9583a2c";
|
|
11
11
|
readonly "identity.schema.json": "94534b768030736f4fd1fad285f1312454ca5fbff0b1eb5fab70416a78923bd0";
|
|
12
12
|
readonly "maker-access.schema.json": "49698ee0235e42064aae0397db1e0f646bdc10d9dfa10121714ba06dd69fee3b";
|
|
@@ -18,7 +18,7 @@ export declare const jsonSchemaSha256: {
|
|
|
18
18
|
readonly "realtime.schema.json": "1cac740e108e84ad1979f6ccc71089efd840404cb72d1612a86edc02769637e3";
|
|
19
19
|
};
|
|
20
20
|
export declare const operations: {
|
|
21
|
-
readonly client: readonly ["abandonCoreExit", "acceptQuote", "activeCoreExits", "admitOwnMaker", "admitPartnerWallet", "bindEmbeddedWallet", "cancelRfq", "confirmComboCopyAgent", "confirmCoreCopyAgent", "createCashout", "createComment", "createCoreExit", "createDeposit", "createRfq", "createRunOffClaim", "createWalletChallenge", "createWalletSession", "createWithdrawal", "deleteComment", "editComment", "endWalletSession", "followTrader", "getAcceptance", "getAccountActivity", "getAccountPnl", "getAccountPosition", "getBalances", "getCopyAgents", "getCopyBudget", "getCopySettings", "getCopySummary", "getCoreExit", "getDeployment", "getHypercoreBalance", "getHypercorePortfolio", "getHypercoreSettlementCredits", "getIdentity", "getMakerActivity", "getMakerCapital", "getMakerExposure", "getMakerPerformance", "getMakerPosition", "getMakerQuotes", "getMakerTelemetry", "getMakerVaultFundingTransaction", "getMakerWithdrawal", "getMarket", "getMarketDataConfig", "getMarketDefinitions", "getMarketHistory", "getMarketRecurringRound", "getMarketReferenceCloses", "getMarketScoreTimeline", "getMarketStats", "getOperation", "getOwnMaker", "getPartnerReport", "getPerpMarks", "getProfitLeaderboard", "getQuestion", "getQuestionRecurringRound", "getQuestionScoreTimeline", "getRfq", "getSeries", "getSuggestedCombo", "getTaxonomy", "getTrader", "getTraderPnl", "getUsernameAvailability", "getVaultAgents", "getVolumeLeaderboard", "getWithdrawal", "grantComboCopyAgent", "grantVaultAgent", "likeComment", "listAccountActivity", "listAccountPositions", "listComboCopies", "listComboFeed", "listCommentReplies", "listComments", "listControlledMakers", "listCopiedFills", "listCopyTrades", "listDiscovery", "listFollows", "listMakerActivity", "listMakerPositions", "listMakerQuoteHistory", "listMarkets", "listOperations", "listQuotes", "listTraderPositions", "listTraderTrades", "reactComment", "recordAcquisition", "refreshPicture", "requestComboCopyAgent", "requestCoreCopyAgent", "revokeComboCopyAgent", "searchCatalog", "setAvatar", "setCopyAllocation", "setCopySettings", "setPublicProfile", "setUsername", "stream", "streamMarkets", "switchOffComboCopyAgent", "switchOffCoreCopyAgent", "unfollowTrader", "unlikeComment", "unreactComment"];
|
|
21
|
+
readonly client: readonly ["abandonCoreExit", "acceptQuote", "activeCoreExits", "admitOwnMaker", "admitPartnerWallet", "bindEmbeddedWallet", "cancelRfq", "confirmComboCopyAgent", "confirmCoreCopyAgent", "createCashout", "createComment", "createCoreExit", "createDeposit", "createGoldenRfq", "createRfq", "createRunOffClaim", "createWalletChallenge", "createWalletSession", "createWithdrawal", "deleteComment", "editComment", "endWalletSession", "followTrader", "getAcceptance", "getAccountActivity", "getAccountPnl", "getAccountPosition", "getBalances", "getCopyAgents", "getCopyBudget", "getCopySettings", "getCopySummary", "getCoreExit", "getDeployment", "getGolden", "getGoldenMarkets", "getGoldenOffer", "getGoldenSuggestions", "getHypercoreBalance", "getHypercorePortfolio", "getHypercoreSettlementCredits", "getIdentity", "getMakerActivity", "getMakerCapital", "getMakerExposure", "getMakerPerformance", "getMakerPosition", "getMakerQuotes", "getMakerTelemetry", "getMakerVaultFundingTransaction", "getMakerWithdrawal", "getMarket", "getMarketDataConfig", "getMarketDefinitions", "getMarketHistory", "getMarketRecurringRound", "getMarketReferenceCloses", "getMarketScoreTimeline", "getMarketStats", "getOperation", "getOwnMaker", "getPartnerReport", "getPerpMarks", "getProfitLeaderboard", "getQuestion", "getQuestionRecurringRound", "getQuestionScoreTimeline", "getRfq", "getSeries", "getSuggestedCombo", "getTaxonomy", "getTrader", "getTraderPnl", "getUsernameAvailability", "getVaultAgents", "getVolumeLeaderboard", "getWithdrawal", "grantComboCopyAgent", "grantVaultAgent", "likeComment", "listAccountActivity", "listAccountPositions", "listComboCopies", "listComboFeed", "listCommentReplies", "listComments", "listControlledMakers", "listCopiedFills", "listCopyTrades", "listDiscovery", "listFollows", "listMakerActivity", "listMakerPositions", "listMakerQuoteHistory", "listMarkets", "listOperations", "listQuotes", "listTraderPositions", "listTraderTrades", "placeGolden", "reactComment", "recordAcquisition", "refreshPicture", "requestComboCopyAgent", "requestCoreCopyAgent", "revokeComboCopyAgent", "searchCatalog", "setAvatar", "setCopyAllocation", "setCopySettings", "setPublicProfile", "setUsername", "stream", "streamMarkets", "switchOffComboCopyAgent", "switchOffCoreCopyAgent", "unfollowTrader", "unlikeComment", "unreactComment"];
|
|
22
22
|
readonly maker: readonly ["cancelQuote", "confirmQuote", "createCollateralReduction", "createQuote", "getAccountActivity", "getAccountPosition", "getCollateralReduction", "getDeployment", "getMakerActivity", "getMakerCapital", "getMakerExposure", "getMakerPerformance", "getMakerPosition", "getMakerQuotes", "getMakerTelemetry", "getMakerTelemetryPublication", "getMakerVaultFundingTransaction", "getMakerWithdrawal", "getMarket", "getMarketHistory", "getMarketRecurringRound", "getMarketReferenceCloses", "getOperation", "getQuestion", "getQuestionRecurringRound", "getRfq", "getSeries", "getTaxonomy", "listAccountActivity", "listAccountPositions", "listDiscovery", "listMakerAcceptances", "listMakerActivity", "listMakerPositions", "listMakerQuoteHistory", "listMarkets", "listOperations", "listRfqs", "publishMakerTelemetry", "releaseQuoteLease", "renewQuoteLease", "searchCatalog", "stream", "submitMakerSelfFundedTransaction"];
|
|
23
23
|
readonly operator: readonly ["live", "ready"];
|
|
24
24
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Generated by scripts/generate.mjs; do not edit.
|
|
2
|
-
export const sdkVersion = "
|
|
3
|
-
export const openapiSha256 = "
|
|
2
|
+
export const sdkVersion = "208.0.0-golden-combo";
|
|
3
|
+
export const openapiSha256 = "d20296ea5f9a68f36dfe34c735d7cac2a5b5e2a0d116f0bb183c1e7f192601ff";
|
|
4
4
|
export const realtimeSha256 = "1cac740e108e84ad1979f6ccc71089efd840404cb72d1612a86edc02769637e3";
|
|
5
5
|
export const jsonSchemaSha256 = {
|
|
6
6
|
"account.schema.json": "5106e2d53abef190990eff113f6692dd27df5848439cf5a80a42c11e89f2bef6",
|
|
7
7
|
"comments.schema.json": "18f4addcfa4e31c2c833fce8b8beca61d2e2ee5b6318c2ed0b479698ff56b65e",
|
|
8
8
|
"common.schema.json": "04f51deb3cbea448e59195e26ede3212598d58a7940fe67eb2123fd9161c5edb",
|
|
9
9
|
"core-exit.schema.json": "c7f617e815225cdcac95c236f8b73fbe288ee5713ff444c3be90eb915fc3a401",
|
|
10
|
-
"error.schema.json": "
|
|
10
|
+
"error.schema.json": "724f7e86716a49effe27694ca8fd8370d6f215798d3f663362f1718fd89e7ebb",
|
|
11
11
|
"hypercore.schema.json": "5b89b2bbff7ec8cc1b8717375d12ce9cd5ab6aa5af03c4fdc6cc753ef9583a2c",
|
|
12
12
|
"identity.schema.json": "94534b768030736f4fd1fad285f1312454ca5fbff0b1eb5fab70416a78923bd0",
|
|
13
13
|
"maker-access.schema.json": "49698ee0235e42064aae0397db1e0f646bdc10d9dfa10121714ba06dd69fee3b",
|
|
@@ -33,6 +33,7 @@ export const operations = {
|
|
|
33
33
|
"createComment",
|
|
34
34
|
"createCoreExit",
|
|
35
35
|
"createDeposit",
|
|
36
|
+
"createGoldenRfq",
|
|
36
37
|
"createRfq",
|
|
37
38
|
"createRunOffClaim",
|
|
38
39
|
"createWalletChallenge",
|
|
@@ -53,6 +54,10 @@ export const operations = {
|
|
|
53
54
|
"getCopySummary",
|
|
54
55
|
"getCoreExit",
|
|
55
56
|
"getDeployment",
|
|
57
|
+
"getGolden",
|
|
58
|
+
"getGoldenMarkets",
|
|
59
|
+
"getGoldenOffer",
|
|
60
|
+
"getGoldenSuggestions",
|
|
56
61
|
"getHypercoreBalance",
|
|
57
62
|
"getHypercorePortfolio",
|
|
58
63
|
"getHypercoreSettlementCredits",
|
|
@@ -114,6 +119,7 @@ export const operations = {
|
|
|
114
119
|
"listQuotes",
|
|
115
120
|
"listTraderPositions",
|
|
116
121
|
"listTraderTrades",
|
|
122
|
+
"placeGolden",
|
|
117
123
|
"reactComment",
|
|
118
124
|
"recordAcquisition",
|
|
119
125
|
"refreshPicture",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@totalis/hip4-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.80.0",
|
|
4
4
|
"description": "Totalis HIP-4 SDK: typed HTTP clients, signer-agnostic typed data, a retrying request layer, pagination, a realtime stream and taker/maker flows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|