@totalis/hip4-client 0.89.0 → 0.91.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 +39 -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 +2 -2
- package/dist/generated/client.d.ts +4 -1
- package/dist/generated/errors.d.ts +13 -2
- package/dist/generated/errors.js +45 -0
- package/dist/generated/openapi.d.ts +243 -33
- package/dist/generated/version.d.ts +4 -4
- package/dist/generated/version.js +6 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,45 @@
|
|
|
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.91.0
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- An in-app inbox (contract 217). `listMyNotifications`
|
|
11
|
+
(`GET /v1/me/notifications`) returns the account's 50 newest
|
|
12
|
+
notifications, newest first, and how many are unread. The only kind is
|
|
13
|
+
`FEATURE_UNLOCKED`, whose `subject` names the feature: `REFERRALS`, once the
|
|
14
|
+
account has traded $5 and its own invite link admits people. A client shows
|
|
15
|
+
only kinds and subjects it knows. `markMyNotificationsRead`
|
|
16
|
+
(`POST /v1/me/notifications/read`, with an Idempotency-Key) marks 1 to 50
|
|
17
|
+
`ids`, or `all`, read. Additive.
|
|
18
|
+
- New Sports subcategory filters: Copa del Rey (`copa_del_rey`), DFB-Pokal
|
|
19
|
+
(`dfb_pokal`) and Süper Lig (`super_lig`). Contract
|
|
20
|
+
`218.0.0-more-leagues`. Additive.
|
|
21
|
+
|
|
22
|
+
## 0.90.0
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- Golden Combo buys first and gifts after (contract 216). `placeGolden`
|
|
27
|
+
takes a press, `{rfq_id, min_win_amount}`, with no signature: Totalis takes
|
|
28
|
+
the best live Totalis maker offer paying at least `min_win_amount` on a win
|
|
29
|
+
at that moment, refused with 409 `GOLDEN_OFFER_BELOW_FLOOR` when the best
|
|
30
|
+
pays less. Once bought, `GET /v1/me/golden`'s `placement.gift` names the
|
|
31
|
+
gift Transfer the account wallet signs, sent to the new
|
|
32
|
+
`signGoldenGift` (`POST /v1/me/golden/placements/{placement_id}/gift`;
|
|
33
|
+
409 `GOLDEN_GIFT_TERMS_EXPIRED` asks for fresh terms). A purchase now
|
|
34
|
+
always uses the golden ticket: a gift that cannot land while Totalis holds
|
|
35
|
+
the open position is offered again as fresh `placement.gift` terms (for
|
|
36
|
+
quote-signed placements too), and a bought position that ends before its
|
|
37
|
+
gift lands is `LAPSED` (ticket and placement state). `FAILED` happens only
|
|
38
|
+
before the purchase; `GIFT_FAILED` and `GIFT_EXPIRED` are no longer
|
|
39
|
+
recorded. `placement` also carries `legs` (the Combo's legs, as the golden
|
|
40
|
+
RFQ request names them) and `win_amount` (USDC base units after the profit
|
|
41
|
+
fee, null before the purchase), so a Combo awaiting its signature can be
|
|
42
|
+
shown anywhere. The quote-signed body is deprecated and still places.
|
|
43
|
+
Additive.
|
|
44
|
+
|
|
6
45
|
## 0.89.0
|
|
7
46
|
|
|
8
47
|
### Added
|
|
@@ -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" | "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";
|
|
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" | "GOLDEN_OFFER_BELOW_FLOOR" | "GOLDEN_GIFT_TERMS_EXPIRED" | "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" | "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";
|
|
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" | "GOLDEN_OFFER_BELOW_FLOOR" | "GOLDEN_GIFT_TERMS_EXPIRED" | "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.
|
|
@@ -237,7 +237,7 @@ export type components = {
|
|
|
237
237
|
readonly CategorySlug: "crypto" | "economics" | "entertainment" | "esports" | "finance" | "politics" | "sports" | "tech" | "weather";
|
|
238
238
|
readonly Subcategory: string | null;
|
|
239
239
|
/** @enum {string} */
|
|
240
|
-
readonly schema: "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "ufc" | "lol" | "counter_strike" | "epl" | "ucl" | "uel" | "efl" | "la_liga" | "serie_a" | "bundesliga" | "ligue_1" | "liga_portugal" | "nations_league" | "world_cup" | "f1" | "ipl" | "cricket" | "transfers" | "btc" | "eth" | "sol" | "hype" | "up_down" | "stocks" | "indices" | "etfs" | "earnings" | "rates" | "inflation" | "commodities" | "fx" | "usa" | "global" | "other";
|
|
240
|
+
readonly schema: "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "ufc" | "lol" | "counter_strike" | "epl" | "ucl" | "uel" | "efl" | "copa_del_rey" | "dfb_pokal" | "la_liga" | "serie_a" | "bundesliga" | "ligue_1" | "liga_portugal" | "super_lig" | "nations_league" | "world_cup" | "f1" | "ipl" | "cricket" | "transfers" | "btc" | "eth" | "sol" | "hype" | "up_down" | "stocks" | "indices" | "etfs" | "earnings" | "rates" | "inflation" | "commodities" | "fx" | "usa" | "global" | "other";
|
|
241
241
|
readonly Slug: components["schemas"]["Subcategory"] & string & components["schemas"]["schema"];
|
|
242
242
|
/** @enum {string} */
|
|
243
243
|
readonly Frequency: "5m" | "15m" | "hourly" | "daily" | "weekly" | "monthly";
|
|
@@ -730,7 +730,7 @@ export type components = {
|
|
|
730
730
|
* @description Stable HTTP error code. Each code has one HTTP status and one retry value.
|
|
731
731
|
* @enum {string}
|
|
732
732
|
*/
|
|
733
|
-
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";
|
|
733
|
+
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" | "GOLDEN_OFFER_BELOW_FLOOR" | "GOLDEN_GIFT_TERMS_EXPIRED" | "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";
|
|
734
734
|
readonly FieldViolation: {
|
|
735
735
|
/**
|
|
736
736
|
* @description REQUIRED: the input is missing. INVALID: it is present but malformed or out of range. UNEXPECTED: the input is not accepted here.
|
|
@@ -38,6 +38,7 @@ export type paths = {
|
|
|
38
38
|
readonly "/v1/me/golden/rfqs": Pick<SharedPaths["/v1/me/golden/rfqs"], "parameters" | "post">;
|
|
39
39
|
readonly "/v1/me/golden/rfqs/{rfq_id}/offer": Pick<SharedPaths["/v1/me/golden/rfqs/{rfq_id}/offer"], "parameters" | "get">;
|
|
40
40
|
readonly "/v1/me/golden/placements": Pick<SharedPaths["/v1/me/golden/placements"], "parameters" | "post">;
|
|
41
|
+
readonly "/v1/me/golden/placements/{placement_id}/gift": Pick<SharedPaths["/v1/me/golden/placements/{placement_id}/gift"], "parameters" | "post">;
|
|
41
42
|
readonly "/v1/leaderboard/volume": Pick<SharedPaths["/v1/leaderboard/volume"], "parameters" | "get">;
|
|
42
43
|
readonly "/v1/leaderboard/profit": Pick<SharedPaths["/v1/leaderboard/profit"], "parameters" | "get">;
|
|
43
44
|
readonly "/v1/me/public-profile": Pick<SharedPaths["/v1/me/public-profile"], "parameters" | "put">;
|
|
@@ -52,6 +53,8 @@ export type paths = {
|
|
|
52
53
|
readonly "/v1/me/copy-settings": Pick<SharedPaths["/v1/me/copy-settings"], "parameters" | "get" | "put">;
|
|
53
54
|
readonly "/v1/me/copy-trades": Pick<SharedPaths["/v1/me/copy-trades"], "parameters" | "get">;
|
|
54
55
|
readonly "/v1/me/combo-copies": Pick<SharedPaths["/v1/me/combo-copies"], "parameters" | "get">;
|
|
56
|
+
readonly "/v1/me/notifications": Pick<SharedPaths["/v1/me/notifications"], "parameters" | "get">;
|
|
57
|
+
readonly "/v1/me/notifications/read": Pick<SharedPaths["/v1/me/notifications/read"], "parameters" | "post">;
|
|
55
58
|
readonly "/v1/me/copy-summary": Pick<SharedPaths["/v1/me/copy-summary"], "parameters" | "get">;
|
|
56
59
|
readonly "/v1/me/copy-fills": Pick<SharedPaths["/v1/me/copy-fills"], "parameters" | "get">;
|
|
57
60
|
readonly "/v1/me/copy-agents": Pick<SharedPaths["/v1/me/copy-agents"], "parameters" | "get">;
|
|
@@ -112,4 +115,4 @@ export type paths = {
|
|
|
112
115
|
readonly "/v1/makers/{maker_id}/exposure": Pick<SharedPaths["/v1/makers/{maker_id}/exposure"], "parameters" | "get">;
|
|
113
116
|
readonly "/v1/makers/{maker_id}/performance": Pick<SharedPaths["/v1/makers/{maker_id}/performance"], "parameters" | "get">;
|
|
114
117
|
};
|
|
115
|
-
export type operations = Pick<SharedOperations, "abandonCoreExit" | "acceptQuote" | "activeCoreExits" | "admitOwnMaker" | "admitPartnerWallet" | "approveWallet" | "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" | "getWalletApproval" | "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" | "setXHandleShown" | "stream" | "streamMarkets" | "switchOffComboCopyAgent" | "switchOffCoreCopyAgent" | "unfollowTrader" | "unlikeComment" | "unreactComment">;
|
|
118
|
+
export type operations = Pick<SharedOperations, "abandonCoreExit" | "acceptQuote" | "activeCoreExits" | "admitOwnMaker" | "admitPartnerWallet" | "approveWallet" | "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" | "getWalletApproval" | "getWithdrawal" | "grantComboCopyAgent" | "grantVaultAgent" | "likeComment" | "listAccountActivity" | "listAccountPositions" | "listComboCopies" | "listComboFeed" | "listCommentReplies" | "listComments" | "listControlledMakers" | "listCopiedFills" | "listCopyTrades" | "listDiscovery" | "listFollows" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarkets" | "listMyNotifications" | "listOperations" | "listQuotes" | "listTraderPositions" | "listTraderTrades" | "markMyNotificationsRead" | "placeGolden" | "reactComment" | "recordAcquisition" | "refreshPicture" | "requestComboCopyAgent" | "requestCoreCopyAgent" | "revokeComboCopyAgent" | "searchCatalog" | "setAvatar" | "setCopyAllocation" | "setCopySettings" | "setPublicProfile" | "setUsername" | "setXHandleShown" | "signGoldenGift" | "stream" | "streamMarkets" | "switchOffComboCopyAgent" | "switchOffCoreCopyAgent" | "unfollowTrader" | "unlikeComment" | "unreactComment">;
|
|
@@ -202,6 +202,14 @@ export declare const errorRegistry: {
|
|
|
202
202
|
readonly status: 409;
|
|
203
203
|
readonly retry: "NEVER";
|
|
204
204
|
};
|
|
205
|
+
readonly GOLDEN_OFFER_BELOW_FLOOR: {
|
|
206
|
+
readonly status: 409;
|
|
207
|
+
readonly retry: "REFRESH";
|
|
208
|
+
};
|
|
209
|
+
readonly GOLDEN_GIFT_TERMS_EXPIRED: {
|
|
210
|
+
readonly status: 409;
|
|
211
|
+
readonly retry: "REFRESH";
|
|
212
|
+
};
|
|
205
213
|
readonly INVALID_SIGNATURE: {
|
|
206
214
|
readonly status: 422;
|
|
207
215
|
readonly retry: "NEVER";
|
|
@@ -364,7 +372,7 @@ export declare const errorRegistry: {
|
|
|
364
372
|
};
|
|
365
373
|
/** 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. */
|
|
366
374
|
export type Retry = "NEVER" | "BACKOFF" | "REFRESH";
|
|
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";
|
|
375
|
+
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" | "GOLDEN_OFFER_BELOW_FLOOR" | "GOLDEN_GIFT_TERMS_EXPIRED" | "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";
|
|
368
376
|
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";
|
|
369
377
|
/** The codes each live operation can return. */
|
|
370
378
|
export declare const operationErrors: {
|
|
@@ -480,6 +488,7 @@ export declare const operationErrors: {
|
|
|
480
488
|
readonly listMakerPositions: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "ORIGIN_REQUIRED", "NOT_FOUND", "SOURCE_UNAVAILABLE", "CONTRACT_UNAVAILABLE", "CURSOR_EXPIRED", "IDENTITY_NOT_FOUND"];
|
|
481
489
|
readonly listMakerQuoteHistory: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "ORIGIN_REQUIRED", "NOT_FOUND", "SOURCE_UNAVAILABLE", "CONTRACT_UNAVAILABLE", "CURSOR_EXPIRED", "IDENTITY_NOT_FOUND"];
|
|
482
490
|
readonly listMarkets: readonly ["INVALID_QUERY", "INVALID_CURSOR", "MARKET_DATA_UNAVAILABLE"];
|
|
491
|
+
readonly listMyNotifications: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "CONTRACT_UNAVAILABLE"];
|
|
483
492
|
readonly listOperations: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "INVALID_CURSOR", "IDENTITY_NOT_FOUND"];
|
|
484
493
|
readonly listOperatorApiKeys: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND"];
|
|
485
494
|
readonly listPersonalApiKeys: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND"];
|
|
@@ -488,7 +497,8 @@ export declare const operationErrors: {
|
|
|
488
497
|
readonly listTraderPositions: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "INVALID_QUERY", "NOT_FOUND", "SOURCE_UNAVAILABLE"];
|
|
489
498
|
readonly listTraderTrades: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "INVALID_QUERY", "NOT_FOUND", "SOURCE_UNAVAILABLE"];
|
|
490
499
|
readonly live: readonly [];
|
|
491
|
-
readonly
|
|
500
|
+
readonly markMyNotificationsRead: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "CONTRACT_UNAVAILABLE"];
|
|
501
|
+
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", "GOLDEN_OFFER_BELOW_FLOOR", "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"];
|
|
492
502
|
readonly publishMakerTelemetry: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "NOT_FOUND", "CONTRACT_UNAVAILABLE", "TELEMETRY_CONFLICT", "INVALID_REQUEST"];
|
|
493
503
|
readonly reactComment: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "NOT_FOUND", "INVALID_IDEMPOTENCY_KEY"];
|
|
494
504
|
readonly ready: readonly ["DEPENDENCY_STALE"];
|
|
@@ -512,6 +522,7 @@ export declare const operationErrors: {
|
|
|
512
522
|
readonly setPublicProfile: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "IDENTITY_NOT_FOUND", "USERNAME_REQUIRED", "ORIGIN_REQUIRED"];
|
|
513
523
|
readonly setUsername: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "IDENTITY_NOT_FOUND", "USERNAME_NOT_ALLOWED", "USERNAME_TAKEN", "ORIGIN_REQUIRED"];
|
|
514
524
|
readonly setXHandleShown: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "IDENTITY_NOT_FOUND", "ORIGIN_REQUIRED"];
|
|
525
|
+
readonly signGoldenGift: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_REQUEST", "NOT_FOUND", "CONTRACT_UNAVAILABLE", "STATE_CONFLICT", "GOLDEN_GIFT_TERMS_EXPIRED", "WRONG_AUTHORITY"];
|
|
515
526
|
readonly stream: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "SUBPROTOCOL_REQUIRED", "CONNECTION_LIMIT", "CONNECTION_DRAIN", "INVALID_REQUEST", "NOT_FOUND", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND"];
|
|
516
527
|
readonly streamMarkets: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "SUBPROTOCOL_REQUIRED", "CONNECTION_LIMIT", "CONNECTION_DRAIN", "ORIGIN_NOT_ALLOWED", "INVALID_QUERY"];
|
|
517
528
|
readonly submitMakerSelfFundedTransaction: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "INVALID_SIGNATURE", "CONTRACT_SIGNATURE_OVERLOADED", "NOT_FOUND"];
|
package/dist/generated/errors.js
CHANGED
|
@@ -203,6 +203,14 @@ export const errorRegistry = {
|
|
|
203
203
|
"status": 409,
|
|
204
204
|
"retry": "NEVER"
|
|
205
205
|
},
|
|
206
|
+
"GOLDEN_OFFER_BELOW_FLOOR": {
|
|
207
|
+
"status": 409,
|
|
208
|
+
"retry": "REFRESH"
|
|
209
|
+
},
|
|
210
|
+
"GOLDEN_GIFT_TERMS_EXPIRED": {
|
|
211
|
+
"status": 409,
|
|
212
|
+
"retry": "REFRESH"
|
|
213
|
+
},
|
|
206
214
|
"INVALID_SIGNATURE": {
|
|
207
215
|
"status": 422,
|
|
208
216
|
"retry": "NEVER"
|
|
@@ -1618,6 +1626,16 @@ export const operationErrors = {
|
|
|
1618
1626
|
"INVALID_CURSOR",
|
|
1619
1627
|
"MARKET_DATA_UNAVAILABLE"
|
|
1620
1628
|
],
|
|
1629
|
+
"listMyNotifications": [
|
|
1630
|
+
"UNAUTHENTICATED",
|
|
1631
|
+
"FORBIDDEN",
|
|
1632
|
+
"AUTHORIZATION_UNAVAILABLE",
|
|
1633
|
+
"RATE_LIMITED",
|
|
1634
|
+
"ORIGIN_REQUIRED",
|
|
1635
|
+
"IDENTITY_NOT_FOUND",
|
|
1636
|
+
"INVALID_QUERY",
|
|
1637
|
+
"CONTRACT_UNAVAILABLE"
|
|
1638
|
+
],
|
|
1621
1639
|
"listOperations": [
|
|
1622
1640
|
"UNAUTHENTICATED",
|
|
1623
1641
|
"FORBIDDEN",
|
|
@@ -1684,6 +1702,17 @@ export const operationErrors = {
|
|
|
1684
1702
|
"SOURCE_UNAVAILABLE"
|
|
1685
1703
|
],
|
|
1686
1704
|
"live": [],
|
|
1705
|
+
"markMyNotificationsRead": [
|
|
1706
|
+
"UNAUTHENTICATED",
|
|
1707
|
+
"FORBIDDEN",
|
|
1708
|
+
"AUTHORIZATION_UNAVAILABLE",
|
|
1709
|
+
"RATE_LIMITED",
|
|
1710
|
+
"ORIGIN_REQUIRED",
|
|
1711
|
+
"IDENTITY_NOT_FOUND",
|
|
1712
|
+
"INVALID_REQUEST",
|
|
1713
|
+
"INVALID_IDEMPOTENCY_KEY",
|
|
1714
|
+
"CONTRACT_UNAVAILABLE"
|
|
1715
|
+
],
|
|
1687
1716
|
"placeGolden": [
|
|
1688
1717
|
"UNAUTHENTICATED",
|
|
1689
1718
|
"FORBIDDEN",
|
|
@@ -1704,6 +1733,7 @@ export const operationErrors = {
|
|
|
1704
1733
|
"GOLDEN_LEG_COUNT",
|
|
1705
1734
|
"GOLDEN_LEG_NOT_ELIGIBLE",
|
|
1706
1735
|
"GOLDEN_QUOTE_NOT_HOUSE",
|
|
1736
|
+
"GOLDEN_OFFER_BELOW_FLOOR",
|
|
1707
1737
|
"QUOTE_EXPIRED",
|
|
1708
1738
|
"QUOTE_REPLACED",
|
|
1709
1739
|
"GOLDEN_PROMO_BUSY",
|
|
@@ -1971,6 +2001,21 @@ export const operationErrors = {
|
|
|
1971
2001
|
"IDENTITY_NOT_FOUND",
|
|
1972
2002
|
"ORIGIN_REQUIRED"
|
|
1973
2003
|
],
|
|
2004
|
+
"signGoldenGift": [
|
|
2005
|
+
"UNAUTHENTICATED",
|
|
2006
|
+
"FORBIDDEN",
|
|
2007
|
+
"AUTHORIZATION_UNAVAILABLE",
|
|
2008
|
+
"DEPENDENCY_STALE",
|
|
2009
|
+
"RATE_LIMITED",
|
|
2010
|
+
"ORIGIN_REQUIRED",
|
|
2011
|
+
"IDENTITY_NOT_FOUND",
|
|
2012
|
+
"INVALID_REQUEST",
|
|
2013
|
+
"NOT_FOUND",
|
|
2014
|
+
"CONTRACT_UNAVAILABLE",
|
|
2015
|
+
"STATE_CONFLICT",
|
|
2016
|
+
"GOLDEN_GIFT_TERMS_EXPIRED",
|
|
2017
|
+
"WRONG_AUTHORITY"
|
|
2018
|
+
],
|
|
1974
2019
|
"stream": [
|
|
1975
2020
|
"UNAUTHENTICATED",
|
|
1976
2021
|
"FORBIDDEN",
|
|
@@ -786,7 +786,7 @@ export type paths = {
|
|
|
786
786
|
readonly put?: never;
|
|
787
787
|
/**
|
|
788
788
|
* Place the golden Combo
|
|
789
|
-
* @description Totalis buys
|
|
789
|
+
* @description Totalis buys a golden Combo from its promo account and gifts the position to this account. A press (`rfq_id` and `min_win_amount`) needs no signature: Totalis re-runs the golden checks, takes the best live Totalis maker quote paying at least `min_win_amount` on a win at that moment and accepts it as the promo account; once bought, GET /v1/me/golden names the gift Transfer for this account's wallet to sign (signGoldenGift). The earlier shape, with a quote and the account wallet's Transfer signature over it, still places as it did. The promo account accepts one Combo at a time: a placement waits for the previous one until its quote's accept_before.
|
|
790
790
|
*/
|
|
791
791
|
readonly post: operations["placeGolden"];
|
|
792
792
|
readonly delete?: never;
|
|
@@ -795,6 +795,26 @@ export type paths = {
|
|
|
795
795
|
readonly patch?: never;
|
|
796
796
|
readonly trace?: never;
|
|
797
797
|
};
|
|
798
|
+
readonly "/v1/me/golden/placements/{placement_id}/gift": {
|
|
799
|
+
readonly parameters: {
|
|
800
|
+
readonly query?: never;
|
|
801
|
+
readonly header?: never;
|
|
802
|
+
readonly path?: never;
|
|
803
|
+
readonly cookie?: never;
|
|
804
|
+
};
|
|
805
|
+
readonly get?: never;
|
|
806
|
+
readonly put?: never;
|
|
807
|
+
/**
|
|
808
|
+
* Sign the golden gift
|
|
809
|
+
* @description Gives a BOUGHT golden placement awaiting it this account wallet's signature over the gift Transfer GET /v1/me/golden names in `placement.gift`; Totalis signs its own side and the gift is queued. The placement's own resource keys it: the same signature again answers the placement as it stands, and another signature once one is stored, or a placement not awaiting one, is STATE_CONFLICT. Terms whose expiry is too near are GOLDEN_GIFT_TERMS_EXPIRED: read the ticket for fresh terms and sign them.
|
|
810
|
+
*/
|
|
811
|
+
readonly post: operations["signGoldenGift"];
|
|
812
|
+
readonly delete?: never;
|
|
813
|
+
readonly options?: never;
|
|
814
|
+
readonly head?: never;
|
|
815
|
+
readonly patch?: never;
|
|
816
|
+
readonly trace?: never;
|
|
817
|
+
};
|
|
798
818
|
readonly "/v1/leaderboard/volume": {
|
|
799
819
|
readonly parameters: {
|
|
800
820
|
readonly query?: never;
|
|
@@ -1083,6 +1103,46 @@ export type paths = {
|
|
|
1083
1103
|
readonly patch?: never;
|
|
1084
1104
|
readonly trace?: never;
|
|
1085
1105
|
};
|
|
1106
|
+
readonly "/v1/me/notifications": {
|
|
1107
|
+
readonly parameters: {
|
|
1108
|
+
readonly query?: never;
|
|
1109
|
+
readonly header?: never;
|
|
1110
|
+
readonly path?: never;
|
|
1111
|
+
readonly cookie?: never;
|
|
1112
|
+
};
|
|
1113
|
+
/**
|
|
1114
|
+
* List my notifications
|
|
1115
|
+
* @description The authenticated account's 50 newest notifications, newest first, and how many of all of its notifications are unread. Each is stored once, so it reads the same however often it is asked for.
|
|
1116
|
+
*/
|
|
1117
|
+
readonly get: operations["listMyNotifications"];
|
|
1118
|
+
readonly put?: never;
|
|
1119
|
+
readonly post?: never;
|
|
1120
|
+
readonly delete?: never;
|
|
1121
|
+
readonly options?: never;
|
|
1122
|
+
readonly head?: never;
|
|
1123
|
+
readonly patch?: never;
|
|
1124
|
+
readonly trace?: never;
|
|
1125
|
+
};
|
|
1126
|
+
readonly "/v1/me/notifications/read": {
|
|
1127
|
+
readonly parameters: {
|
|
1128
|
+
readonly query?: never;
|
|
1129
|
+
readonly header?: never;
|
|
1130
|
+
readonly path?: never;
|
|
1131
|
+
readonly cookie?: never;
|
|
1132
|
+
};
|
|
1133
|
+
readonly get?: never;
|
|
1134
|
+
readonly put?: never;
|
|
1135
|
+
/**
|
|
1136
|
+
* Mark my notifications read
|
|
1137
|
+
* @description Marks the named notifications of the authenticated account read, or all of them with all set. Name 1 to 50 ids or set all, not both. A notification keeps when it was first read, so a retry under any Idempotency-Key changes nothing; ids that are not the account's are ignored.
|
|
1138
|
+
*/
|
|
1139
|
+
readonly post: operations["markMyNotificationsRead"];
|
|
1140
|
+
readonly delete?: never;
|
|
1141
|
+
readonly options?: never;
|
|
1142
|
+
readonly head?: never;
|
|
1143
|
+
readonly patch?: never;
|
|
1144
|
+
readonly trace?: never;
|
|
1145
|
+
};
|
|
1086
1146
|
readonly "/v1/me/copy-summary": {
|
|
1087
1147
|
readonly parameters: {
|
|
1088
1148
|
readonly query?: never;
|
|
@@ -3286,11 +3346,46 @@ export type components = {
|
|
|
3286
3346
|
readonly Uint256: string;
|
|
3287
3347
|
/**
|
|
3288
3348
|
* GoldenPlacementState
|
|
3349
|
+
* @description FAILED happens only before Totalis bought the Combo and leaves the golden ticket available. Once bought, the ticket is used: DELIVERED, or LAPSED when the position ended before its gift landed, which Totalis keeps.
|
|
3289
3350
|
* @enum {string}
|
|
3290
3351
|
*/
|
|
3291
|
-
readonly GoldenPlacementState: "PLACING" | "BOUGHT" | "DELIVERED" | "FAILED";
|
|
3352
|
+
readonly GoldenPlacementState: "PLACING" | "BOUGHT" | "DELIVERED" | "LAPSED" | "FAILED";
|
|
3353
|
+
/**
|
|
3354
|
+
* GoldenTransfer
|
|
3355
|
+
* @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.
|
|
3356
|
+
*/
|
|
3357
|
+
readonly GoldenTransfer: {
|
|
3358
|
+
readonly position_id: components["schemas"]["Bytes32"];
|
|
3359
|
+
/** @constant */
|
|
3360
|
+
readonly price: "0";
|
|
3361
|
+
readonly seller: components["schemas"]["Address"];
|
|
3362
|
+
readonly buyer: components["schemas"]["Address"];
|
|
3363
|
+
readonly expiry: components["schemas"]["UInt64String"];
|
|
3364
|
+
readonly salt: components["schemas"]["Uint"];
|
|
3365
|
+
/** @description The Transfer's EIP-712 digest, to check a signer against. */
|
|
3366
|
+
readonly digest: components["schemas"]["Bytes32"];
|
|
3367
|
+
};
|
|
3368
|
+
/** GoldenPlacementRead */
|
|
3369
|
+
readonly GoldenPlacementRead: {
|
|
3370
|
+
readonly placement_id: components["schemas"]["Uuid"];
|
|
3371
|
+
/** @description As placeGolden answers it, now. */
|
|
3372
|
+
readonly state: components["schemas"]["GoldenPlacementState"];
|
|
3373
|
+
/** @description The placed quote's digest: the position this placement buys, which is the account's once DELIVERED. */
|
|
3374
|
+
readonly position_id: components["schemas"]["Bytes32"];
|
|
3375
|
+
/** @description Why it failed, once FAILED; null otherwise. */
|
|
3376
|
+
readonly failure: null | components["schemas"]["GoldenPlacementFailure"];
|
|
3377
|
+
/** @description When the placement was recorded. */
|
|
3378
|
+
readonly created_at: components["schemas"]["$defs-Timestamp"];
|
|
3379
|
+
/** @description While the placement is BOUGHT and awaits this account's signature, the gift Transfer to sign and send to signGoldenGift; null otherwise. It awaits one after a press, and again after a signed gift could not land while Totalis still holds the open position (a new expiry and salt). Never times out: offer it on every visit until it is signed. Its expiry is at most ten minutes out and the same for reads within a minute; sign the terms one read names, as named. */
|
|
3380
|
+
readonly gift: null | components["schemas"]["GoldenTransfer"];
|
|
3381
|
+
/** @description What the bought position pays its holder if it wins, after the profit fee, in USDC base units: the number the offer's win_amount was for this quote. Null before Totalis bought it (PLACING, FAILED). */
|
|
3382
|
+
readonly win_amount: null | components["schemas"]["$defs-Amount"];
|
|
3383
|
+
/** @description The Combo's legs as its golden RFQ asked them, in the request's order. Null only when the placement's quote cannot be read. */
|
|
3384
|
+
readonly legs: null | readonly components["schemas"]["$defs-Leg"][];
|
|
3385
|
+
};
|
|
3292
3386
|
/**
|
|
3293
3387
|
* GoldenPlacementFailure
|
|
3388
|
+
* @description Why Totalis did not buy the Combo. GIFT_FAILED and GIFT_EXPIRED appear only on placements from before a purchase always used the golden ticket; no placement fails after Totalis bought it.
|
|
3294
3389
|
* @enum {string}
|
|
3295
3390
|
*/
|
|
3296
3391
|
readonly GoldenPlacementFailure: "MAKER_DECLINED" | "ACCEPT_FAILED" | "NOT_ACCEPTED" | "PROMO_BUSY" | "GIFT_FAILED" | "GIFT_EXPIRED";
|
|
@@ -3348,7 +3443,7 @@ export type components = {
|
|
|
3348
3443
|
* @description Stable HTTP error code. Each code has one HTTP status and one retry value.
|
|
3349
3444
|
* @enum {string}
|
|
3350
3445
|
*/
|
|
3351
|
-
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";
|
|
3446
|
+
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" | "GOLDEN_OFFER_BELOW_FLOOR" | "GOLDEN_GIFT_TERMS_EXPIRED" | "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";
|
|
3352
3447
|
readonly FieldViolation: {
|
|
3353
3448
|
/**
|
|
3354
3449
|
* @description REQUIRED: the input is missing. INVALID: it is present but malformed or out of range. UNEXPECTED: the input is not accepted here.
|
|
@@ -4708,6 +4803,8 @@ export type components = {
|
|
|
4708
4803
|
/** @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. */
|
|
4709
4804
|
readonly estimated_live_until: components["schemas"]["$defs-Timestamp"] | null;
|
|
4710
4805
|
};
|
|
4806
|
+
/** Format: uint256-decimal */
|
|
4807
|
+
readonly Uint: string;
|
|
4711
4808
|
/** @description Entry terms a maker quotes; they mirror the signed Quote and TakerAccept structs field for field. */
|
|
4712
4809
|
readonly "schemas-QuoteTerms": {
|
|
4713
4810
|
/** @description On-chain maker ID of the quoting maker. */
|
|
@@ -4744,8 +4841,6 @@ export type components = {
|
|
|
4744
4841
|
/** @description Position leg state the quote was priced against; must equal the RFQ's leg_state. */
|
|
4745
4842
|
readonly leg_state: components["schemas"]["Hash32"];
|
|
4746
4843
|
};
|
|
4747
|
-
/** Format: uint256-decimal */
|
|
4748
|
-
readonly Uint: string;
|
|
4749
4844
|
readonly ContractSignature: string;
|
|
4750
4845
|
readonly XHandleShownRequest: {
|
|
4751
4846
|
/** @description true to show the X handle on the public trader profile, false to hide it. */
|
|
@@ -6304,7 +6399,7 @@ export type components = {
|
|
|
6304
6399
|
* @description Platform taxonomy subcategory slug. The cursor is bound to this filter.
|
|
6305
6400
|
* @example epl
|
|
6306
6401
|
*/
|
|
6307
|
-
readonly Subcategory: "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "ufc" | "lol" | "counter_strike" | "epl" | "ucl" | "uel" | "efl" | "la_liga" | "serie_a" | "bundesliga" | "ligue_1" | "liga_portugal" | "nations_league" | "world_cup" | "f1" | "ipl" | "cricket" | "transfers" | "btc" | "eth" | "sol" | "hype" | "up_down" | "stocks" | "indices" | "etfs" | "earnings" | "rates" | "inflation" | "commodities" | "fx" | "usa" | "global" | "other";
|
|
6402
|
+
readonly Subcategory: "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "ufc" | "lol" | "counter_strike" | "epl" | "ucl" | "uel" | "efl" | "copa_del_rey" | "dfb_pokal" | "la_liga" | "serie_a" | "bundesliga" | "ligue_1" | "liga_portugal" | "super_lig" | "nations_league" | "world_cup" | "f1" | "ipl" | "cricket" | "transfers" | "btc" | "eth" | "sol" | "hype" | "up_down" | "stocks" | "indices" | "etfs" | "earnings" | "rates" | "inflation" | "commodities" | "fx" | "usa" | "global" | "other";
|
|
6308
6403
|
/**
|
|
6309
6404
|
* @description Outcome side whose price history is returned.
|
|
6310
6405
|
* @example YES
|
|
@@ -7890,10 +7985,10 @@ export interface operations {
|
|
|
7890
7985
|
readonly "application/json": {
|
|
7891
7986
|
readonly golden: null | {
|
|
7892
7987
|
/**
|
|
7893
|
-
* @description AVAILABLE: unused and unexpired. PLACING: Totalis is buying the Combo. BOUGHT: Totalis bought it
|
|
7988
|
+
* @description AVAILABLE: unused and unexpired. PLACING: Totalis is buying the Combo. BOUGHT: Totalis bought it; the gift to this account is on its way, or, while `placement.gift` is set, waits for this account's wallet to sign it. PLACED: the gift landed; `position_id` is the account's position. LAPSED: Totalis bought it, but the position ended (settled, or lost a leg) before its gift was signed and landed; it stays Totalis's and the ticket is used; `position_id` names it. EXPIRED: it lapsed unused.
|
|
7894
7989
|
* @enum {string}
|
|
7895
7990
|
*/
|
|
7896
|
-
readonly state: "AVAILABLE" | "PLACING" | "BOUGHT" | "PLACED" | "EXPIRED";
|
|
7991
|
+
readonly state: "AVAILABLE" | "PLACING" | "BOUGHT" | "PLACED" | "LAPSED" | "EXPIRED";
|
|
7897
7992
|
readonly granted_at: components["schemas"]["$defs-Timestamp"];
|
|
7898
7993
|
readonly expires_at: components["schemas"]["$defs-Timestamp"];
|
|
7899
7994
|
/** @description The gross stake Totalis pays, in USDC base units (6 decimals). */
|
|
@@ -7905,22 +8000,12 @@ export interface operations {
|
|
|
7905
8000
|
* @constant
|
|
7906
8001
|
*/
|
|
7907
8002
|
readonly legs: 5;
|
|
7908
|
-
/** @description The gifted position once PLACED; null otherwise. */
|
|
8003
|
+
/** @description The gifted position once PLACED, or the position Totalis kept once LAPSED; null otherwise. */
|
|
7909
8004
|
readonly position_id: null | components["schemas"]["Bytes32"];
|
|
7910
8005
|
/** @description While AVAILABLE, why the latest placement failed, if one did; null otherwise. */
|
|
7911
8006
|
readonly last_failure: null | components["schemas"]["GoldenPlacementFailure"];
|
|
7912
8007
|
/** @description The account's latest placement, the same object placeGolden answers plus when it was recorded, so a client that lost a placement's answer settles it from here; null before the first. */
|
|
7913
|
-
readonly placement: null |
|
|
7914
|
-
readonly placement_id: components["schemas"]["Uuid"];
|
|
7915
|
-
/** @description As placeGolden answers it, now. */
|
|
7916
|
-
readonly state: components["schemas"]["GoldenPlacementState"];
|
|
7917
|
-
/** @description The placed quote's digest: the position this placement buys, which is the account's once DELIVERED. */
|
|
7918
|
-
readonly position_id: components["schemas"]["Bytes32"];
|
|
7919
|
-
/** @description Why it failed, once FAILED; null otherwise. */
|
|
7920
|
-
readonly failure: null | components["schemas"]["GoldenPlacementFailure"];
|
|
7921
|
-
/** @description When the placement was recorded. */
|
|
7922
|
-
readonly created_at: components["schemas"]["$defs-Timestamp"];
|
|
7923
|
-
};
|
|
8008
|
+
readonly placement: null | components["schemas"]["GoldenPlacementRead"];
|
|
7924
8009
|
};
|
|
7925
8010
|
};
|
|
7926
8011
|
};
|
|
@@ -8063,18 +8148,8 @@ export interface operations {
|
|
|
8063
8148
|
readonly quote: components["schemas"]["Quote"];
|
|
8064
8149
|
/** @description What the position pays its holder if it wins, after the profit fee, in USDC base units. */
|
|
8065
8150
|
readonly win_amount: components["schemas"]["$defs-Amount"];
|
|
8066
|
-
/** @description The gift
|
|
8067
|
-
readonly transfer:
|
|
8068
|
-
readonly position_id: components["schemas"]["Bytes32"];
|
|
8069
|
-
/** @constant */
|
|
8070
|
-
readonly price: "0";
|
|
8071
|
-
readonly seller: components["schemas"]["Address"];
|
|
8072
|
-
readonly buyer: components["schemas"]["Address"];
|
|
8073
|
-
readonly expiry: components["schemas"]["UInt64String"];
|
|
8074
|
-
readonly salt: components["schemas"]["Uint"];
|
|
8075
|
-
/** @description The Transfer's EIP-712 digest, to check a signer against. */
|
|
8076
|
-
readonly digest: components["schemas"]["Bytes32"];
|
|
8077
|
-
};
|
|
8151
|
+
/** @description The gift of this quote's position, for a placement signed before the purchase. A press (placeGolden with `min_win_amount`) ignores it. */
|
|
8152
|
+
readonly transfer: components["schemas"]["GoldenTransfer"];
|
|
8078
8153
|
};
|
|
8079
8154
|
};
|
|
8080
8155
|
};
|
|
@@ -8103,6 +8178,11 @@ export interface operations {
|
|
|
8103
8178
|
readonly requestBody: {
|
|
8104
8179
|
readonly content: {
|
|
8105
8180
|
readonly "application/json": {
|
|
8181
|
+
/** @description This account's golden RFQ. */
|
|
8182
|
+
readonly rfq_id: components["schemas"]["Uuid"];
|
|
8183
|
+
/** @description The least the position may pay on a win after the profit fee, in USDC base units: what the button showed. A best offer paying less is refused with GOLDEN_OFFER_BELOW_FLOOR. */
|
|
8184
|
+
readonly min_win_amount: components["schemas"]["$defs-Amount"];
|
|
8185
|
+
} | {
|
|
8106
8186
|
readonly rfq_id: components["schemas"]["Uuid"];
|
|
8107
8187
|
readonly quote_id: components["schemas"]["Bytes32"];
|
|
8108
8188
|
/** @description The offer's transfer expiry and salt, as signed. */
|
|
@@ -8124,7 +8204,7 @@ export interface operations {
|
|
|
8124
8204
|
content: {
|
|
8125
8205
|
readonly "application/json": {
|
|
8126
8206
|
readonly placement_id: components["schemas"]["Uuid"];
|
|
8127
|
-
/** @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. */
|
|
8207
|
+
/** @description PLACING until the promo account's accept lands, BOUGHT until the gift lands, then DELIVERED, or LAPSED if the position ended first; FAILED, only before the purchase, leaves the golden ticket available again. Read GET /v1/me/golden for its progress and the gift to sign. */
|
|
8128
8208
|
readonly state: components["schemas"]["GoldenPlacementState"];
|
|
8129
8209
|
/** @description The quote's digest: the position the gift delivers. */
|
|
8130
8210
|
readonly position_id: components["schemas"]["Bytes32"];
|
|
@@ -8142,6 +8222,48 @@ export interface operations {
|
|
|
8142
8222
|
readonly 503: components["responses"]["Unavailable"];
|
|
8143
8223
|
};
|
|
8144
8224
|
};
|
|
8225
|
+
readonly signGoldenGift: {
|
|
8226
|
+
readonly parameters: {
|
|
8227
|
+
readonly query?: never;
|
|
8228
|
+
readonly header?: never;
|
|
8229
|
+
readonly path: {
|
|
8230
|
+
readonly placement_id: components["schemas"]["Uuid"];
|
|
8231
|
+
};
|
|
8232
|
+
readonly cookie?: never;
|
|
8233
|
+
};
|
|
8234
|
+
readonly requestBody: {
|
|
8235
|
+
readonly content: {
|
|
8236
|
+
readonly "application/json": {
|
|
8237
|
+
/** @description `placement.gift`'s expiry and salt, as signed. */
|
|
8238
|
+
readonly transfer: {
|
|
8239
|
+
readonly expiry: components["schemas"]["UInt64String"];
|
|
8240
|
+
readonly salt: components["schemas"]["Uint"];
|
|
8241
|
+
};
|
|
8242
|
+
/** @description The account wallet's own signature over that Transfer (eth_signTypedData_v4); an agent cannot sign it. */
|
|
8243
|
+
readonly buyer_signature: components["schemas"]["ContractSignature"];
|
|
8244
|
+
};
|
|
8245
|
+
};
|
|
8246
|
+
};
|
|
8247
|
+
readonly responses: {
|
|
8248
|
+
/** @description The placement, holding this signature */
|
|
8249
|
+
readonly 200: {
|
|
8250
|
+
headers: {
|
|
8251
|
+
readonly [name: string]: unknown;
|
|
8252
|
+
};
|
|
8253
|
+
content: {
|
|
8254
|
+
readonly "application/json": components["schemas"]["GoldenPlacementRead"];
|
|
8255
|
+
};
|
|
8256
|
+
};
|
|
8257
|
+
readonly 400: components["responses"]["Error"];
|
|
8258
|
+
readonly 401: components["responses"]["Error"];
|
|
8259
|
+
readonly 403: components["responses"]["Error"];
|
|
8260
|
+
readonly 404: components["responses"]["Error"];
|
|
8261
|
+
readonly 409: components["responses"]["Error"];
|
|
8262
|
+
readonly 422: components["responses"]["Error"];
|
|
8263
|
+
readonly 429: components["responses"]["RateLimited"];
|
|
8264
|
+
readonly 503: components["responses"]["Unavailable"];
|
|
8265
|
+
};
|
|
8266
|
+
};
|
|
8145
8267
|
readonly getVolumeLeaderboard: {
|
|
8146
8268
|
readonly parameters: {
|
|
8147
8269
|
readonly query?: {
|
|
@@ -8952,6 +9074,94 @@ export interface operations {
|
|
|
8952
9074
|
readonly 503: components["responses"]["Unavailable"];
|
|
8953
9075
|
};
|
|
8954
9076
|
};
|
|
9077
|
+
readonly listMyNotifications: {
|
|
9078
|
+
readonly parameters: {
|
|
9079
|
+
readonly query?: never;
|
|
9080
|
+
readonly header?: never;
|
|
9081
|
+
readonly path?: never;
|
|
9082
|
+
readonly cookie?: never;
|
|
9083
|
+
};
|
|
9084
|
+
readonly requestBody?: never;
|
|
9085
|
+
readonly responses: {
|
|
9086
|
+
/** @description The notifications */
|
|
9087
|
+
readonly 200: {
|
|
9088
|
+
headers: {
|
|
9089
|
+
readonly "Cache-Control"?: "no-store";
|
|
9090
|
+
readonly [name: string]: unknown;
|
|
9091
|
+
};
|
|
9092
|
+
content: {
|
|
9093
|
+
readonly "application/json": {
|
|
9094
|
+
readonly notifications: readonly {
|
|
9095
|
+
/**
|
|
9096
|
+
* Format: uuid
|
|
9097
|
+
* @description The notification's id, a UUIDv7.
|
|
9098
|
+
*/
|
|
9099
|
+
readonly id: string;
|
|
9100
|
+
/**
|
|
9101
|
+
* @description What happened. FEATURE_UNLOCKED: the account unlocked the feature named by subject.
|
|
9102
|
+
* @enum {string}
|
|
9103
|
+
*/
|
|
9104
|
+
readonly kind: "FEATURE_UNLOCKED";
|
|
9105
|
+
/** @description What the notification is about. For FEATURE_UNLOCKED, the feature: REFERRALS, the account's own invite link, which admits people once the account has traded $5. A client shows only subjects it knows. */
|
|
9106
|
+
readonly subject: string;
|
|
9107
|
+
/** Format: date-time */
|
|
9108
|
+
readonly created_at: string;
|
|
9109
|
+
/**
|
|
9110
|
+
* Format: date-time
|
|
9111
|
+
* @description When the account first read it; absent while unread.
|
|
9112
|
+
*/
|
|
9113
|
+
readonly read_at?: string;
|
|
9114
|
+
}[];
|
|
9115
|
+
readonly unread: number;
|
|
9116
|
+
};
|
|
9117
|
+
};
|
|
9118
|
+
};
|
|
9119
|
+
readonly 400: components["responses"]["Error"];
|
|
9120
|
+
readonly 401: components["responses"]["Error"];
|
|
9121
|
+
readonly 403: components["responses"]["Error"];
|
|
9122
|
+
readonly 404: components["responses"]["Error"];
|
|
9123
|
+
readonly 429: components["responses"]["RateLimited"];
|
|
9124
|
+
readonly 503: components["responses"]["Unavailable"];
|
|
9125
|
+
};
|
|
9126
|
+
};
|
|
9127
|
+
readonly markMyNotificationsRead: {
|
|
9128
|
+
readonly parameters: {
|
|
9129
|
+
readonly query?: never;
|
|
9130
|
+
readonly header: {
|
|
9131
|
+
/**
|
|
9132
|
+
* @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`.
|
|
9133
|
+
* @example 0198a6f6-82a5-7abc-9f2a-4f0fb437493e
|
|
9134
|
+
*/
|
|
9135
|
+
readonly "Idempotency-Key": components["parameters"]["IdempotencyKey"];
|
|
9136
|
+
};
|
|
9137
|
+
readonly path?: never;
|
|
9138
|
+
readonly cookie?: never;
|
|
9139
|
+
};
|
|
9140
|
+
readonly requestBody: {
|
|
9141
|
+
readonly content: {
|
|
9142
|
+
readonly "application/json": {
|
|
9143
|
+
readonly ids?: readonly string[];
|
|
9144
|
+
/** @constant */
|
|
9145
|
+
readonly all?: true;
|
|
9146
|
+
};
|
|
9147
|
+
};
|
|
9148
|
+
};
|
|
9149
|
+
readonly responses: {
|
|
9150
|
+
/** @description The notifications are read */
|
|
9151
|
+
readonly 204: {
|
|
9152
|
+
headers: {
|
|
9153
|
+
readonly [name: string]: unknown;
|
|
9154
|
+
};
|
|
9155
|
+
content?: never;
|
|
9156
|
+
};
|
|
9157
|
+
readonly 400: components["responses"]["Error"];
|
|
9158
|
+
readonly 401: components["responses"]["Error"];
|
|
9159
|
+
readonly 403: components["responses"]["Error"];
|
|
9160
|
+
readonly 404: components["responses"]["Error"];
|
|
9161
|
+
readonly 429: components["responses"]["RateLimited"];
|
|
9162
|
+
readonly 503: components["responses"]["Unavailable"];
|
|
9163
|
+
};
|
|
9164
|
+
};
|
|
8955
9165
|
readonly getCopySummary: {
|
|
8956
9166
|
readonly parameters: {
|
|
8957
9167
|
readonly query?: never;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export declare const sdkVersion = "
|
|
2
|
-
export declare const openapiSha256 = "
|
|
1
|
+
export declare const sdkVersion = "218.0.0-more-leagues";
|
|
2
|
+
export declare const openapiSha256 = "6f2a259ac9935ebf50d897679b1f784408bed95cd3e33885a4771e73cae64497";
|
|
3
3
|
export declare const realtimeSha256 = "32e56c8bb642401f5b03e9c38274087c09bebb73ffe60c0d34432c2e78ce1e15";
|
|
4
4
|
export declare const jsonSchemaSha256: {
|
|
5
5
|
readonly "account.schema.json": "c11a94438d5f7b54e08d3b559098ce2671f4c9aad3a79feb684b7a81f77d809a";
|
|
6
6
|
readonly "comments.schema.json": "7cb61352e5a0280fa34951fdcc2d934062bf628da4743f0dc8c763d0b79b7611";
|
|
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": "a980d4d81ea2f8528d24d79a6cf3823b15690d21e81a1852039ae12c4ce0a393";
|
|
10
10
|
readonly "hypercore.schema.json": "5b89b2bbff7ec8cc1b8717375d12ce9cd5ab6aa5af03c4fdc6cc753ef9583a2c";
|
|
11
11
|
readonly "identity.schema.json": "b623b947db4fe8fe1f297158bcc6a555c0333f3937ca925dda20ec4956ea479f";
|
|
12
12
|
readonly "maker-access.schema.json": "49698ee0235e42064aae0397db1e0f646bdc10d9dfa10121714ba06dd69fee3b";
|
|
@@ -18,7 +18,7 @@ export declare const jsonSchemaSha256: {
|
|
|
18
18
|
readonly "realtime.schema.json": "32e56c8bb642401f5b03e9c38274087c09bebb73ffe60c0d34432c2e78ce1e15";
|
|
19
19
|
};
|
|
20
20
|
export declare const operations: {
|
|
21
|
-
readonly client: readonly ["abandonCoreExit", "acceptQuote", "activeCoreExits", "admitOwnMaker", "admitPartnerWallet", "approveWallet", "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", "getWalletApproval", "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", "setXHandleShown", "stream", "streamMarkets", "switchOffComboCopyAgent", "switchOffCoreCopyAgent", "unfollowTrader", "unlikeComment", "unreactComment"];
|
|
21
|
+
readonly client: readonly ["abandonCoreExit", "acceptQuote", "activeCoreExits", "admitOwnMaker", "admitPartnerWallet", "approveWallet", "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", "getWalletApproval", "getWithdrawal", "grantComboCopyAgent", "grantVaultAgent", "likeComment", "listAccountActivity", "listAccountPositions", "listComboCopies", "listComboFeed", "listCommentReplies", "listComments", "listControlledMakers", "listCopiedFills", "listCopyTrades", "listDiscovery", "listFollows", "listMakerActivity", "listMakerPositions", "listMakerQuoteHistory", "listMarkets", "listMyNotifications", "listOperations", "listQuotes", "listTraderPositions", "listTraderTrades", "markMyNotificationsRead", "placeGolden", "reactComment", "recordAcquisition", "refreshPicture", "requestComboCopyAgent", "requestCoreCopyAgent", "revokeComboCopyAgent", "searchCatalog", "setAvatar", "setCopyAllocation", "setCopySettings", "setPublicProfile", "setUsername", "setXHandleShown", "signGoldenGift", "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 = "218.0.0-more-leagues";
|
|
3
|
+
export const openapiSha256 = "6f2a259ac9935ebf50d897679b1f784408bed95cd3e33885a4771e73cae64497";
|
|
4
4
|
export const realtimeSha256 = "32e56c8bb642401f5b03e9c38274087c09bebb73ffe60c0d34432c2e78ce1e15";
|
|
5
5
|
export const jsonSchemaSha256 = {
|
|
6
6
|
"account.schema.json": "c11a94438d5f7b54e08d3b559098ce2671f4c9aad3a79feb684b7a81f77d809a",
|
|
7
7
|
"comments.schema.json": "7cb61352e5a0280fa34951fdcc2d934062bf628da4743f0dc8c763d0b79b7611",
|
|
8
8
|
"common.schema.json": "04f51deb3cbea448e59195e26ede3212598d58a7940fe67eb2123fd9161c5edb",
|
|
9
9
|
"core-exit.schema.json": "c7f617e815225cdcac95c236f8b73fbe288ee5713ff444c3be90eb915fc3a401",
|
|
10
|
-
"error.schema.json": "
|
|
10
|
+
"error.schema.json": "a980d4d81ea2f8528d24d79a6cf3823b15690d21e81a1852039ae12c4ce0a393",
|
|
11
11
|
"hypercore.schema.json": "5b89b2bbff7ec8cc1b8717375d12ce9cd5ab6aa5af03c4fdc6cc753ef9583a2c",
|
|
12
12
|
"identity.schema.json": "b623b947db4fe8fe1f297158bcc6a555c0333f3937ca925dda20ec4956ea479f",
|
|
13
13
|
"maker-access.schema.json": "49698ee0235e42064aae0397db1e0f646bdc10d9dfa10121714ba06dd69fee3b",
|
|
@@ -117,10 +117,12 @@ export const operations = {
|
|
|
117
117
|
"listMakerPositions",
|
|
118
118
|
"listMakerQuoteHistory",
|
|
119
119
|
"listMarkets",
|
|
120
|
+
"listMyNotifications",
|
|
120
121
|
"listOperations",
|
|
121
122
|
"listQuotes",
|
|
122
123
|
"listTraderPositions",
|
|
123
124
|
"listTraderTrades",
|
|
125
|
+
"markMyNotificationsRead",
|
|
124
126
|
"placeGolden",
|
|
125
127
|
"reactComment",
|
|
126
128
|
"recordAcquisition",
|
|
@@ -135,6 +137,7 @@ export const operations = {
|
|
|
135
137
|
"setPublicProfile",
|
|
136
138
|
"setUsername",
|
|
137
139
|
"setXHandleShown",
|
|
140
|
+
"signGoldenGift",
|
|
138
141
|
"stream",
|
|
139
142
|
"streamMarkets",
|
|
140
143
|
"switchOffComboCopyAgent",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@totalis/hip4-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.91.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": [
|