@totalis/hip4-client 0.117.0 → 0.119.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 CHANGED
@@ -3,6 +3,102 @@
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.119.0
7
+
8
+ ### Added
9
+
10
+ Contract `257.0.0-trading-rewards`, additive:
11
+
12
+ - `getMyTradingRewards` (`GET /v1/me/trading-rewards`): the signed-in
13
+ account's one-time trading rewards: its own Combo stake since `starts_at`,
14
+ the tiers, and each tier it reached with its payout `status` (`PENDING`,
15
+ `PAYING`, `PAID` with its `transaction_hash`, or `CAPPED` once the budget
16
+ ran out). Answers `CONTRACT_UNAVAILABLE` where trading rewards are off.
17
+
18
+ ## 0.118.0
19
+
20
+ ### Removed
21
+
22
+ Contract `256.0.0-golden-press-only`:
23
+
24
+ - `placeGolden` takes only a press (`rfq_id`, `min_win_amount`). The
25
+ deprecated `GoldenSignedPlacement` body (`quote_id`, `transfer`,
26
+ `buyer_signature`) is refused with `INVALID_REQUEST`; the account signs the
27
+ gift once bought (`signGoldenGift`).
28
+ - `getGoldenOffer`'s `offer.transfer` is gone; only that body used it.
29
+ - `GOLDEN_QUOTE_NOT_HOUSE` is never sent and stays in the error union for this
30
+ release.
31
+
32
+ ### Added
33
+
34
+ Contract `255.0.0-free-combo-gifts`, additive:
35
+
36
+ - `claimGoldenLink` (`POST /v1/me/golden/claim`): a signed-in account claims
37
+ a Free Combo link Totalis made, refused with `GOLDEN_LINK_SIGN_UP_ONLY`,
38
+ `GOLDEN_LINK_CLAIMED`, `GOLDEN_TICKET_HELD`, `GOLDEN_GIVEN_OUT`,
39
+ `GOLDEN_CODE_DISABLED`, `GOLDEN_PLACEMENT_IN_FLIGHT` or `NOT_FOUND`.
40
+
41
+ Contract `254.0.0-free-combos-over-time`, additive:
42
+
43
+ - `GoldenTicket.note`: the note a free Combo came with, or null.
44
+ `getGolden` answers the account's latest free Combo; an account may get
45
+ another once the last is used or expired.
46
+ - Notification kind `FREE_COMBO`, with the note in `body`.
47
+ - Unlocking needs no X account: `unlockGolden` no longer sends `X_REQUIRED`,
48
+ `X_ALREADY_CLAIMED` or `X_VERIFICATION_UNAVAILABLE`; they stay in the
49
+ error union for this release.
50
+
51
+ Contract `252.0.0-market-history`, additive:
52
+
53
+ - The chart read. `getChart` (`GET /v1/charts/{series}`, no credential)
54
+ serves one chance (`chance:<outcome_id>`, any id from 0 to 419496729) or
55
+ perp mark (`mark:<coin>`) line. A `range` or an aligned `from`/`to` window
56
+ (at most 366 days) comes on a grid the server picks (`Chart`): each
57
+ bucket's first, lowest, highest and last value at their real times,
58
+ `through` (everything before it is final), the partial bucket to continue
59
+ from live points, and `end` once the line ended, with `final` once the
60
+ market's settlement recorded that end (before it a revised expiry can still
61
+ move the end; after it, it never moves). Only the
62
+ chart read carries a line's end: read again when the market stream shows
63
+ the market expired, postponed or settled. A line with no record is empty;
64
+ nothing before 2026-10-18 18:53 UTC is drawn.
65
+ - Committed chart points on the market stream. A subscription or
66
+ `setInterest` with `charts` (up to 64 `chance:<outcome_id>` or `mark:<coin>`
67
+ lines) gets a `chartSnapshot` per line (its committed points over the last
68
+ 300 seconds and the value held before them), then one `chartPoints` frame per
69
+ committed batch, about a second behind the live number, each naming the
70
+ `through` it continues (`after`). Join a chart read on its `through`; a frame
71
+ that does not continue the line's last one means `resnapshot`, which now
72
+ also takes `charts`. The frames carry committed points only, never a line's
73
+ end. A line past the network address's chart budget is listed in the
74
+ `interest` barrier's `refused_charts`, present only for a revision that
75
+ carried `charts`.
76
+
77
+ Contract `251.0.0-market-trades`, additive:
78
+
79
+ - A market's trade history. `listMarketTrades`
80
+ (`GET /v1/markets/{outcome_id}/trades`, no credential) pages the market
81
+ stream's `MarketTakerOrder` events, same ids and numbers, newest block first
82
+ and each block's orders in execution order, from the newest or below
83
+ `before_height` (a `tradesSnapshot`'s `complete_from_height`). It carries
84
+ `through_height` (how far the account index reaches), the index's open
85
+ `gaps` in the span the page answers for, and `unknown_through_height` where
86
+ older fills cannot be told apart as taker orders.
87
+
88
+ Contract `250.0.0-golden-guest-pricing`, additive:
89
+
90
+ - `getPublicGoldenMarkets` (`GET /v1/golden/markets`) and
91
+ `getGoldenLinkSuggestions` (`GET /v1/golden/links/{link}/suggestions`):
92
+ the golden markets and a Free Combo link's ready-made fives, for anyone.
93
+ A link that gives no free Combo now answers `NOT_FOUND`.
94
+ - A `LOCKED` golden ticket that is not `not_eligible` is quoted:
95
+ `getGoldenSuggestions`, `createGoldenRfq` and `getGoldenOffer` work at the
96
+ stake its unlock would take now; `placeGolden` still answers
97
+ `GOLDEN_UNLOCK_REQUIRED`. `getGoldenOffer` answers
98
+ `GOLDEN_UNLOCK_REQUIRED` for a refused `LOCKED` ticket and
99
+ `GOLDEN_TICKET_EXPIRED` (before: `DEPENDENCY_STALE` or an offer) for an
100
+ expired one.
101
+
6
102
  ## 0.117.0
7
103
 
8
104
  ### Added
@@ -758,7 +758,7 @@ export type components = {
758
758
  * @description Stable HTTP error code. Each code has one HTTP status and one retry value.
759
759
  * @enum {string}
760
760
  */
761
- 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" | "PICTURE_UPLOADS_BLOCKED" | "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" | "PICTURE_REMOVED" | "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" | "GOLDEN_UNLOCK_REQUIRED" | "GOLDEN_GIVEN_OUT" | "GOLDEN_CODE_DISABLED" | "X_REQUIRED" | "X_ALREADY_CLAIMED" | "GOLDEN_NOT_ELIGIBLE" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "PICTURE_TOO_LARGE" | "PICTURE_UNREADABLE" | "PICTURE_TOO_MANY_PIXELS" | "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" | "INTERNAL_ERROR" | "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" | "X_VERIFICATION_UNAVAILABLE" | "CONNECTION_DRAIN";
761
+ 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" | "PICTURE_UPLOADS_BLOCKED" | "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" | "PICTURE_REMOVED" | "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" | "GOLDEN_UNLOCK_REQUIRED" | "GOLDEN_GIVEN_OUT" | "GOLDEN_CODE_DISABLED" | "GOLDEN_TICKET_HELD" | "GOLDEN_LINK_SIGN_UP_ONLY" | "GOLDEN_LINK_CLAIMED" | "X_REQUIRED" | "X_ALREADY_CLAIMED" | "GOLDEN_NOT_ELIGIBLE" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "PICTURE_TOO_LARGE" | "PICTURE_UNREADABLE" | "PICTURE_TOO_MANY_PIXELS" | "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" | "INTERNAL_ERROR" | "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" | "X_VERIFICATION_UNAVAILABLE" | "CONNECTION_DRAIN";
762
762
  readonly FieldViolation: {
763
763
  /**
764
764
  * @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" | "PICTURE_UPLOADS_BLOCKED" | "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" | "PICTURE_REMOVED" | "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" | "GOLDEN_UNLOCK_REQUIRED" | "GOLDEN_GIVEN_OUT" | "GOLDEN_CODE_DISABLED" | "X_REQUIRED" | "X_ALREADY_CLAIMED" | "GOLDEN_NOT_ELIGIBLE" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "PICTURE_TOO_LARGE" | "PICTURE_UNREADABLE" | "PICTURE_TOO_MANY_PIXELS" | "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" | "INTERNAL_ERROR" | "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" | "X_VERIFICATION_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" | "PICTURE_UPLOADS_BLOCKED" | "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" | "PICTURE_REMOVED" | "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" | "GOLDEN_UNLOCK_REQUIRED" | "GOLDEN_GIVEN_OUT" | "GOLDEN_CODE_DISABLED" | "GOLDEN_TICKET_HELD" | "GOLDEN_LINK_SIGN_UP_ONLY" | "GOLDEN_LINK_CLAIMED" | "X_REQUIRED" | "X_ALREADY_CLAIMED" | "GOLDEN_NOT_ELIGIBLE" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "PICTURE_TOO_LARGE" | "PICTURE_UNREADABLE" | "PICTURE_TOO_MANY_PIXELS" | "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" | "INTERNAL_ERROR" | "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" | "X_VERIFICATION_UNAVAILABLE" | "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.
@@ -891,7 +891,7 @@ export type components = {
891
891
  * @description Stable HTTP error code. Each code has one HTTP status and one retry value.
892
892
  * @enum {string}
893
893
  */
894
- 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" | "PICTURE_UPLOADS_BLOCKED" | "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" | "PICTURE_REMOVED" | "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" | "GOLDEN_UNLOCK_REQUIRED" | "GOLDEN_GIVEN_OUT" | "GOLDEN_CODE_DISABLED" | "X_REQUIRED" | "X_ALREADY_CLAIMED" | "GOLDEN_NOT_ELIGIBLE" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "PICTURE_TOO_LARGE" | "PICTURE_UNREADABLE" | "PICTURE_TOO_MANY_PIXELS" | "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" | "INTERNAL_ERROR" | "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" | "X_VERIFICATION_UNAVAILABLE" | "CONNECTION_DRAIN";
894
+ 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" | "PICTURE_UPLOADS_BLOCKED" | "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" | "PICTURE_REMOVED" | "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" | "GOLDEN_UNLOCK_REQUIRED" | "GOLDEN_GIVEN_OUT" | "GOLDEN_CODE_DISABLED" | "GOLDEN_TICKET_HELD" | "GOLDEN_LINK_SIGN_UP_ONLY" | "GOLDEN_LINK_CLAIMED" | "X_REQUIRED" | "X_ALREADY_CLAIMED" | "GOLDEN_NOT_ELIGIBLE" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "PICTURE_TOO_LARGE" | "PICTURE_UNREADABLE" | "PICTURE_TOO_MANY_PIXELS" | "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" | "INTERNAL_ERROR" | "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" | "X_VERIFICATION_UNAVAILABLE" | "CONNECTION_DRAIN";
895
895
  readonly FieldViolation: {
896
896
  /**
897
897
  * @description REQUIRED: the input is missing. INVALID: it is present but malformed or out of range. UNEXPECTED: the input is not accepted here.
@@ -41,12 +41,15 @@ export type paths = {
41
41
  readonly "/v1/me/golden": Pick<SharedPaths["/v1/me/golden"], "parameters" | "get">;
42
42
  readonly "/v1/me/golden/unlock": Pick<SharedPaths["/v1/me/golden/unlock"], "parameters" | "post">;
43
43
  readonly "/v1/me/golden/telegram-click": Pick<SharedPaths["/v1/me/golden/telegram-click"], "parameters" | "post">;
44
+ readonly "/v1/me/golden/claim": Pick<SharedPaths["/v1/me/golden/claim"], "parameters" | "post">;
44
45
  readonly "/v1/me/golden/markets": Pick<SharedPaths["/v1/me/golden/markets"], "parameters" | "get">;
45
46
  readonly "/v1/me/golden/suggestions": Pick<SharedPaths["/v1/me/golden/suggestions"], "parameters" | "get">;
46
47
  readonly "/v1/me/golden/rfqs": Pick<SharedPaths["/v1/me/golden/rfqs"], "parameters" | "post">;
47
48
  readonly "/v1/me/golden/rfqs/{rfq_id}/offer": Pick<SharedPaths["/v1/me/golden/rfqs/{rfq_id}/offer"], "parameters" | "get">;
48
49
  readonly "/v1/me/golden/placements": Pick<SharedPaths["/v1/me/golden/placements"], "parameters" | "post">;
49
50
  readonly "/v1/me/golden/placements/{placement_id}/gift": Pick<SharedPaths["/v1/me/golden/placements/{placement_id}/gift"], "parameters" | "post">;
51
+ readonly "/v1/golden/markets": Pick<SharedPaths["/v1/golden/markets"], "parameters" | "get">;
52
+ readonly "/v1/golden/links/{link}/suggestions": Pick<SharedPaths["/v1/golden/links/{link}/suggestions"], "parameters" | "get">;
50
53
  readonly "/v1/leaderboard/volume": Pick<SharedPaths["/v1/leaderboard/volume"], "parameters" | "get">;
51
54
  readonly "/v1/leaderboard/profit": Pick<SharedPaths["/v1/leaderboard/profit"], "parameters" | "get">;
52
55
  readonly "/v1/me/public-profile": Pick<SharedPaths["/v1/me/public-profile"], "parameters" | "put">;
@@ -78,6 +81,7 @@ export type paths = {
78
81
  readonly "/v1/genesis": Pick<SharedPaths["/v1/genesis"], "parameters" | "get">;
79
82
  readonly "/v1/me/genesis": Pick<SharedPaths["/v1/me/genesis"], "parameters" | "get">;
80
83
  readonly "/v1/me/referral-bonus": Pick<SharedPaths["/v1/me/referral-bonus"], "parameters" | "get">;
84
+ readonly "/v1/me/trading-rewards": Pick<SharedPaths["/v1/me/trading-rewards"], "parameters" | "get">;
81
85
  readonly "/v1/me/copy-summary": Pick<SharedPaths["/v1/me/copy-summary"], "parameters" | "get">;
82
86
  readonly "/v1/me/copy-fills": Pick<SharedPaths["/v1/me/copy-fills"], "parameters" | "get">;
83
87
  readonly "/v1/me/copy-agents": Pick<SharedPaths["/v1/me/copy-agents"], "parameters" | "get">;
@@ -110,6 +114,7 @@ export type paths = {
110
114
  readonly "/v1/markets/{outcome_id}/recurring-round": Pick<SharedPaths["/v1/markets/{outcome_id}/recurring-round"], "parameters" | "get">;
111
115
  readonly "/v1/markets/{outcome_id}/recurring-round/history": Pick<SharedPaths["/v1/markets/{outcome_id}/recurring-round/history"], "parameters" | "get">;
112
116
  readonly "/v1/markets/{outcome_id}/score-timeline": Pick<SharedPaths["/v1/markets/{outcome_id}/score-timeline"], "parameters" | "get">;
117
+ readonly "/v1/markets/{outcome_id}/trades": Pick<SharedPaths["/v1/markets/{outcome_id}/trades"], "parameters" | "get">;
113
118
  readonly "/v1/questions/{question_id}/score-timeline": Pick<SharedPaths["/v1/questions/{question_id}/score-timeline"], "parameters" | "get">;
114
119
  readonly "/v1/questions/{question_id}/recurring-round": Pick<SharedPaths["/v1/questions/{question_id}/recurring-round"], "parameters" | "get">;
115
120
  readonly "/v1/series/{series_id}": Pick<SharedPaths["/v1/series/{series_id}"], "parameters" | "get">;
@@ -120,6 +125,7 @@ export type paths = {
120
125
  readonly "/v1/market-display": Pick<SharedPaths["/v1/market-display"], "parameters" | "get">;
121
126
  readonly "/v1/outcome-metadata": Pick<SharedPaths["/v1/outcome-metadata"], "parameters" | "get">;
122
127
  readonly "/v1/perp-marks": Pick<SharedPaths["/v1/perp-marks"], "parameters" | "get">;
128
+ readonly "/v1/charts/{series}": Pick<SharedPaths["/v1/charts/{series}"], "parameters" | "get">;
123
129
  readonly "/v1/rfqs/{rfq_id}": Pick<SharedPaths["/v1/rfqs/{rfq_id}"], "parameters" | "get">;
124
130
  readonly "/v1/rfqs/{rfq_id}/cancel": Pick<SharedPaths["/v1/rfqs/{rfq_id}/cancel"], "parameters" | "post">;
125
131
  readonly "/v1/me/balances": Pick<SharedPaths["/v1/me/balances"], "parameters" | "get">;
@@ -142,4 +148,4 @@ export type paths = {
142
148
  readonly "/v1/makers/{maker_id}/exposure": Pick<SharedPaths["/v1/makers/{maker_id}/exposure"], "parameters" | "get">;
143
149
  readonly "/v1/makers/{maker_id}/performance": Pick<SharedPaths["/v1/makers/{maker_id}/performance"], "parameters" | "get">;
144
150
  };
145
- 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" | "getAccountValue" | "getBalances" | "getCopyAgents" | "getCopyBudget" | "getCopySettings" | "getCopySummary" | "getCoreExit" | "getDeployment" | "getGenesis" | "getGolden" | "getGoldenMarkets" | "getGoldenOffer" | "getGoldenSuggestions" | "getHypercoreBalance" | "getHypercorePortfolio" | "getHypercoreSettlementCredits" | "getIdentity" | "getMakerActivity" | "getMakerCapital" | "getMakerExposure" | "getMakerPerformance" | "getMakerPosition" | "getMakerQuotes" | "getMakerTelemetry" | "getMakerVaultFundingTransaction" | "getMakerWithdrawal" | "getMarket" | "getMarketDataConfig" | "getMarketDefinitions" | "getMarketDisplay" | "getMarketHistory" | "getMarketRecurringRound" | "getMarketReferenceCloses" | "getMarketRoundHistory" | "getMarketScoreTimeline" | "getMarketStats" | "getMyGenesis" | "getMyReferralBonus" | "getOperation" | "getOutcomeMetadata" | "getOwnMaker" | "getPartnerAccountValue" | "getPartnerReport" | "getPerpMarks" | "getPicture" | "getProfitLeaderboard" | "getQuestion" | "getQuestionRecurringRound" | "getQuestionScoreTimeline" | "getRfq" | "getSeries" | "getSocialLeaderboard" | "getSocialPerson" | "getSocialPosition" | "getSuggestedCombo" | "getTaxonomy" | "getTrader" | "getTraderPnl" | "getUsernameAvailability" | "getVaultAgents" | "getVolumeLeaderboard" | "getWalletApproval" | "getWithdrawal" | "grantComboCopyAgent" | "grantVaultAgent" | "likeComment" | "listAccountActivity" | "listAccountPositions" | "listComboCopies" | "listComboFeed" | "listCommentReplies" | "listComments" | "listControlledMakers" | "listCopiedFills" | "listCopyTrades" | "listDiscovery" | "listFollowers" | "listFollowingFeed" | "listFollowingPositions" | "listFollows" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarkets" | "listMyNotifications" | "listOperations" | "listPartnerFills" | "listPartnerWebhookEvents" | "listQuotes" | "listSocialActivity" | "listSocialFeed" | "listSocialFollowers" | "listSocialFollowing" | "listSocialPositions" | "listTraderPositions" | "listTraderTrades" | "markMyNotificationsRead" | "placeGolden" | "reactComment" | "recordAcquisition" | "recordGoldenTelegramClick" | "refreshPicture" | "removeUploadedPicture" | "requestComboCopyAgent" | "requestCoreCopyAgent" | "revokeComboCopyAgent" | "searchCatalog" | "searchTraders" | "setAvatar" | "setCopyAllocation" | "setCopySettings" | "setPublicProfile" | "setUsername" | "setXHandleShown" | "setXPictureShown" | "signGoldenGift" | "stream" | "streamMarkets" | "switchOffComboCopyAgent" | "switchOffCoreCopyAgent" | "unfollowTrader" | "unlikeComment" | "unlockGolden" | "unreactComment" | "uploadPicture">;
151
+ export type operations = Pick<SharedOperations, "abandonCoreExit" | "acceptQuote" | "activeCoreExits" | "admitOwnMaker" | "admitPartnerWallet" | "approveWallet" | "bindEmbeddedWallet" | "cancelRfq" | "claimGoldenLink" | "confirmComboCopyAgent" | "confirmCoreCopyAgent" | "createCashout" | "createComment" | "createCoreExit" | "createDeposit" | "createGoldenRfq" | "createRfq" | "createRunOffClaim" | "createWalletChallenge" | "createWalletSession" | "createWithdrawal" | "deleteComment" | "editComment" | "endWalletSession" | "followTrader" | "getAcceptance" | "getAccountActivity" | "getAccountPnl" | "getAccountPosition" | "getAccountValue" | "getBalances" | "getChart" | "getCopyAgents" | "getCopyBudget" | "getCopySettings" | "getCopySummary" | "getCoreExit" | "getDeployment" | "getGenesis" | "getGolden" | "getGoldenLinkSuggestions" | "getGoldenMarkets" | "getGoldenOffer" | "getGoldenSuggestions" | "getHypercoreBalance" | "getHypercorePortfolio" | "getHypercoreSettlementCredits" | "getIdentity" | "getMakerActivity" | "getMakerCapital" | "getMakerExposure" | "getMakerPerformance" | "getMakerPosition" | "getMakerQuotes" | "getMakerTelemetry" | "getMakerVaultFundingTransaction" | "getMakerWithdrawal" | "getMarket" | "getMarketDataConfig" | "getMarketDefinitions" | "getMarketDisplay" | "getMarketHistory" | "getMarketRecurringRound" | "getMarketReferenceCloses" | "getMarketRoundHistory" | "getMarketScoreTimeline" | "getMarketStats" | "getMyGenesis" | "getMyReferralBonus" | "getMyTradingRewards" | "getOperation" | "getOutcomeMetadata" | "getOwnMaker" | "getPartnerAccountValue" | "getPartnerReport" | "getPerpMarks" | "getPicture" | "getProfitLeaderboard" | "getPublicGoldenMarkets" | "getQuestion" | "getQuestionRecurringRound" | "getQuestionScoreTimeline" | "getRfq" | "getSeries" | "getSocialLeaderboard" | "getSocialPerson" | "getSocialPosition" | "getSuggestedCombo" | "getTaxonomy" | "getTrader" | "getTraderPnl" | "getUsernameAvailability" | "getVaultAgents" | "getVolumeLeaderboard" | "getWalletApproval" | "getWithdrawal" | "grantComboCopyAgent" | "grantVaultAgent" | "likeComment" | "listAccountActivity" | "listAccountPositions" | "listComboCopies" | "listComboFeed" | "listCommentReplies" | "listComments" | "listControlledMakers" | "listCopiedFills" | "listCopyTrades" | "listDiscovery" | "listFollowers" | "listFollowingFeed" | "listFollowingPositions" | "listFollows" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarketTrades" | "listMarkets" | "listMyNotifications" | "listOperations" | "listPartnerFills" | "listPartnerWebhookEvents" | "listQuotes" | "listSocialActivity" | "listSocialFeed" | "listSocialFollowers" | "listSocialFollowing" | "listSocialPositions" | "listTraderPositions" | "listTraderTrades" | "markMyNotificationsRead" | "placeGolden" | "reactComment" | "recordAcquisition" | "recordGoldenTelegramClick" | "refreshPicture" | "removeUploadedPicture" | "requestComboCopyAgent" | "requestCoreCopyAgent" | "revokeComboCopyAgent" | "searchCatalog" | "searchTraders" | "setAvatar" | "setCopyAllocation" | "setCopySettings" | "setPublicProfile" | "setUsername" | "setXHandleShown" | "setXPictureShown" | "signGoldenGift" | "stream" | "streamMarkets" | "switchOffComboCopyAgent" | "switchOffCoreCopyAgent" | "unfollowTrader" | "unlikeComment" | "unlockGolden" | "unreactComment" | "uploadPicture">;
@@ -287,6 +287,21 @@ export declare const errorRegistry: {
287
287
  readonly retry: "NEVER";
288
288
  readonly class: "refusal";
289
289
  };
290
+ readonly GOLDEN_TICKET_HELD: {
291
+ readonly status: 409;
292
+ readonly retry: "NEVER";
293
+ readonly class: "refusal";
294
+ };
295
+ readonly GOLDEN_LINK_SIGN_UP_ONLY: {
296
+ readonly status: 409;
297
+ readonly retry: "NEVER";
298
+ readonly class: "refusal";
299
+ };
300
+ readonly GOLDEN_LINK_CLAIMED: {
301
+ readonly status: 409;
302
+ readonly retry: "NEVER";
303
+ readonly class: "refusal";
304
+ };
290
305
  readonly X_REQUIRED: {
291
306
  readonly status: 409;
292
307
  readonly retry: "NEVER";
@@ -529,7 +544,7 @@ export declare const errorRegistry: {
529
544
  };
530
545
  /** 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. */
531
546
  export type Retry = "NEVER" | "BACKOFF" | "REFRESH";
532
- 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" | "PICTURE_UPLOADS_BLOCKED" | "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" | "PICTURE_REMOVED" | "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" | "GOLDEN_UNLOCK_REQUIRED" | "GOLDEN_GIVEN_OUT" | "GOLDEN_CODE_DISABLED" | "X_REQUIRED" | "X_ALREADY_CLAIMED" | "GOLDEN_NOT_ELIGIBLE" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "PICTURE_TOO_LARGE" | "PICTURE_UNREADABLE" | "PICTURE_TOO_MANY_PIXELS" | "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" | "INTERNAL_ERROR" | "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" | "X_VERIFICATION_UNAVAILABLE" | "CONNECTION_DRAIN";
547
+ 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" | "PICTURE_UPLOADS_BLOCKED" | "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" | "PICTURE_REMOVED" | "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" | "GOLDEN_UNLOCK_REQUIRED" | "GOLDEN_GIVEN_OUT" | "GOLDEN_CODE_DISABLED" | "GOLDEN_TICKET_HELD" | "GOLDEN_LINK_SIGN_UP_ONLY" | "GOLDEN_LINK_CLAIMED" | "X_REQUIRED" | "X_ALREADY_CLAIMED" | "GOLDEN_NOT_ELIGIBLE" | "INVALID_SIGNATURE" | "WALLET_CONTRACT_UNSUPPORTED" | "WRONG_AUTHORITY" | "KEY_LIMIT_REACHED" | "USERNAME_NOT_ALLOWED" | "PICTURE_TOO_LARGE" | "PICTURE_UNREADABLE" | "PICTURE_TOO_MANY_PIXELS" | "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" | "INTERNAL_ERROR" | "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" | "X_VERIFICATION_UNAVAILABLE" | "CONNECTION_DRAIN";
533
548
  export type CloseReason = "SUBPROTOCOL_REQUIRED" | "CURSOR_RESET" | "INTERNAL_ERROR" | "DEPENDENCY_STALE" | "SOURCE_UNAVAILABLE" | "CONNECTION_DRAIN" | "INVALID_SUBSCRIPTION" | "SUBSCRIPTION_DENIED" | "AUTHORIZATION_REVOKED" | "STREAM_REPLACED" | "SLOW_CONSUMER" | "RESNAPSHOT_REQUIRED" | "SNAPSHOT_TOO_LARGE";
534
549
  /** The codes each live operation can return. */
535
550
  export declare const operationErrors: {
@@ -542,6 +557,7 @@ export declare const operationErrors: {
542
557
  readonly bindEmbeddedWallet: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "EMBEDDED_WALLET_CONFLICT", "ACCESS_REQUIRED", "SIGN_IN_REQUIRED", "WALLET_CONTRACT_UNSUPPORTED", "ORIGIN_REQUIRED", "INTERNAL_ERROR"];
543
558
  readonly cancelQuote: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "STATE_CONFLICT", "INTERNAL_ERROR"];
544
559
  readonly cancelRfq: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "NOT_FOUND", "RFQ_NOT_CANCELLABLE", "STATE_CONFLICT", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
560
+ readonly claimGoldenLink: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_REQUEST", "CONTRACT_UNAVAILABLE", "NOT_FOUND", "GOLDEN_LINK_SIGN_UP_ONLY", "GOLDEN_GIVEN_OUT", "GOLDEN_CODE_DISABLED", "GOLDEN_LINK_CLAIMED", "GOLDEN_TICKET_HELD", "GOLDEN_PLACEMENT_IN_FLIGHT", "INTERNAL_ERROR"];
545
561
  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", "INTERNAL_ERROR"];
546
562
  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", "INTERNAL_ERROR"];
547
563
  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", "INTERNAL_ERROR"];
@@ -572,6 +588,7 @@ export declare const operationErrors: {
572
588
  readonly getAccountPosition: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "ORIGIN_REQUIRED", "NOT_FOUND", "SOURCE_UNAVAILABLE", "CONTRACT_UNAVAILABLE", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
573
589
  readonly getAccountValue: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "IDENTITY_NOT_FOUND", "SOURCE_UNAVAILABLE", "INTERNAL_ERROR"];
574
590
  readonly getBalances: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
591
+ readonly getChart: readonly ["NOT_FOUND", "MARKET_DATA_UNAVAILABLE", "INVALID_QUERY", "INTERNAL_ERROR"];
575
592
  readonly getCollateralReduction: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
576
593
  readonly getCopyAgents: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "CONTRACT_UNAVAILABLE", "INVALID_QUERY", "INTERNAL_ERROR"];
577
594
  readonly getCopyBudget: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "DEPENDENCY_STALE", "INVALID_QUERY", "INTERNAL_ERROR"];
@@ -581,8 +598,9 @@ export declare const operationErrors: {
581
598
  readonly getDeployment: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "INTERNAL_ERROR"];
582
599
  readonly getGenesis: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "INVALID_QUERY", "CONTRACT_UNAVAILABLE", "INTERNAL_ERROR"];
583
600
  readonly getGolden: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "INTERNAL_ERROR"];
601
+ readonly getGoldenLinkSuggestions: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_QUERY", "CONTRACT_UNAVAILABLE", "NOT_FOUND", "INTERNAL_ERROR"];
584
602
  readonly getGoldenMarkets: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "CONTRACT_UNAVAILABLE", "BROWSE_UNAVAILABLE", "INTERNAL_ERROR"];
585
- readonly getGoldenOffer: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "NOT_FOUND", "QUOTE_EXPIRED", "CONTRACT_UNAVAILABLE", "FINANCIAL_ACTIONS_DISABLED", "INTERNAL_ERROR"];
603
+ readonly getGoldenOffer: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "NOT_FOUND", "QUOTE_EXPIRED", "CONTRACT_UNAVAILABLE", "FINANCIAL_ACTIONS_DISABLED", "GOLDEN_UNLOCK_REQUIRED", "GOLDEN_TICKET_EXPIRED", "INTERNAL_ERROR"];
586
604
  readonly getGoldenSuggestions: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "CONTRACT_UNAVAILABLE", "GOLDEN_TICKET_NONE", "GOLDEN_UNLOCK_REQUIRED", "GOLDEN_TICKET_USED", "GOLDEN_TICKET_EXPIRED", "GOLDEN_PLACEMENT_IN_FLIGHT", "BROWSE_UNAVAILABLE", "INTERNAL_ERROR"];
587
605
  readonly getHypercoreBalance: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "INVALID_REQUEST", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
588
606
  readonly getHypercorePortfolio: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
@@ -611,6 +629,7 @@ export declare const operationErrors: {
611
629
  readonly getMarketStats: readonly ["MARKET_DATA_UNAVAILABLE", "INVALID_QUERY", "INTERNAL_ERROR"];
612
630
  readonly getMyGenesis: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "CONTRACT_UNAVAILABLE", "INTERNAL_ERROR"];
613
631
  readonly getMyReferralBonus: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "CONTRACT_UNAVAILABLE", "INTERNAL_ERROR"];
632
+ readonly getMyTradingRewards: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "CONTRACT_UNAVAILABLE", "INTERNAL_ERROR"];
614
633
  readonly getOperation: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
615
634
  readonly getOutcomeMetadata: readonly ["MARKET_DATA_UNAVAILABLE", "INVALID_QUERY", "INTERNAL_ERROR"];
616
635
  readonly getOwnMaker: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "NOT_FOUND", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
@@ -620,6 +639,7 @@ export declare const operationErrors: {
620
639
  readonly getPersonalApiKeyCapabilities: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "INTERNAL_ERROR"];
621
640
  readonly getPicture: readonly ["NOT_FOUND", "RATE_LIMITED", "SOURCE_UNAVAILABLE", "INTERNAL_ERROR"];
622
641
  readonly getProfitLeaderboard: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "CONTRACT_UNAVAILABLE", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
642
+ readonly getPublicGoldenMarkets: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "INVALID_QUERY", "CONTRACT_UNAVAILABLE", "BROWSE_UNAVAILABLE", "INTERNAL_ERROR"];
623
643
  readonly getQuestion: readonly ["INVALID_REQUEST", "NOT_FOUND", "MARKET_DATA_UNAVAILABLE", "INVALID_QUERY", "INTERNAL_ERROR"];
624
644
  readonly getQuestionRecurringRound: readonly ["INVALID_REQUEST", "NOT_FOUND", "MARKET_DATA_UNAVAILABLE", "RECURRING_DEFINITION_CONFLICT", "INVALID_QUERY", "INTERNAL_ERROR"];
625
645
  readonly getQuestionScoreTimeline: readonly ["INVALID_REQUEST", "NOT_FOUND", "MARKET_DATA_UNAVAILABLE", "INVALID_QUERY", "INTERNAL_ERROR"];
@@ -660,6 +680,7 @@ export declare const operationErrors: {
660
680
  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", "INTERNAL_ERROR"];
661
681
  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", "INTERNAL_ERROR"];
662
682
  readonly listMarkets: readonly ["INVALID_QUERY", "INVALID_CURSOR", "MARKET_DATA_UNAVAILABLE", "INTERNAL_ERROR"];
683
+ readonly listMarketTrades: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "SOURCE_UNAVAILABLE", "INTERNAL_ERROR"];
663
684
  readonly listMyNotifications: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "CONTRACT_UNAVAILABLE", "INTERNAL_ERROR"];
664
685
  readonly listOperations: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "INVALID_CURSOR", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
665
686
  readonly listOperatorApiKeys: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "INTERNAL_ERROR"];
@@ -288,6 +288,21 @@ export const errorRegistry = {
288
288
  "retry": "NEVER",
289
289
  "class": "refusal"
290
290
  },
291
+ "GOLDEN_TICKET_HELD": {
292
+ "status": 409,
293
+ "retry": "NEVER",
294
+ "class": "refusal"
295
+ },
296
+ "GOLDEN_LINK_SIGN_UP_ONLY": {
297
+ "status": 409,
298
+ "retry": "NEVER",
299
+ "class": "refusal"
300
+ },
301
+ "GOLDEN_LINK_CLAIMED": {
302
+ "status": 409,
303
+ "retry": "NEVER",
304
+ "class": "refusal"
305
+ },
291
306
  "X_REQUIRED": {
292
307
  "status": 409,
293
308
  "retry": "NEVER",
@@ -669,6 +684,25 @@ export const operationErrors = {
669
684
  "IDENTITY_NOT_FOUND",
670
685
  "INTERNAL_ERROR"
671
686
  ],
687
+ "claimGoldenLink": [
688
+ "UNAUTHENTICATED",
689
+ "FORBIDDEN",
690
+ "AUTHORIZATION_UNAVAILABLE",
691
+ "DEPENDENCY_STALE",
692
+ "RATE_LIMITED",
693
+ "ORIGIN_REQUIRED",
694
+ "IDENTITY_NOT_FOUND",
695
+ "INVALID_REQUEST",
696
+ "CONTRACT_UNAVAILABLE",
697
+ "NOT_FOUND",
698
+ "GOLDEN_LINK_SIGN_UP_ONLY",
699
+ "GOLDEN_GIVEN_OUT",
700
+ "GOLDEN_CODE_DISABLED",
701
+ "GOLDEN_LINK_CLAIMED",
702
+ "GOLDEN_TICKET_HELD",
703
+ "GOLDEN_PLACEMENT_IN_FLIGHT",
704
+ "INTERNAL_ERROR"
705
+ ],
672
706
  "confirmComboCopyAgent": [
673
707
  "UNAUTHENTICATED",
674
708
  "FORBIDDEN",
@@ -1106,6 +1140,12 @@ export const operationErrors = {
1106
1140
  "IDENTITY_NOT_FOUND",
1107
1141
  "INTERNAL_ERROR"
1108
1142
  ],
1143
+ "getChart": [
1144
+ "NOT_FOUND",
1145
+ "MARKET_DATA_UNAVAILABLE",
1146
+ "INVALID_QUERY",
1147
+ "INTERNAL_ERROR"
1148
+ ],
1109
1149
  "getCollateralReduction": [
1110
1150
  "UNAUTHENTICATED",
1111
1151
  "FORBIDDEN",
@@ -1201,6 +1241,18 @@ export const operationErrors = {
1201
1241
  "INVALID_QUERY",
1202
1242
  "INTERNAL_ERROR"
1203
1243
  ],
1244
+ "getGoldenLinkSuggestions": [
1245
+ "UNAUTHENTICATED",
1246
+ "FORBIDDEN",
1247
+ "AUTHORIZATION_UNAVAILABLE",
1248
+ "DEPENDENCY_STALE",
1249
+ "RATE_LIMITED",
1250
+ "INVALID_REQUEST",
1251
+ "INVALID_QUERY",
1252
+ "CONTRACT_UNAVAILABLE",
1253
+ "NOT_FOUND",
1254
+ "INTERNAL_ERROR"
1255
+ ],
1204
1256
  "getGoldenMarkets": [
1205
1257
  "UNAUTHENTICATED",
1206
1258
  "FORBIDDEN",
@@ -1227,6 +1279,8 @@ export const operationErrors = {
1227
1279
  "QUOTE_EXPIRED",
1228
1280
  "CONTRACT_UNAVAILABLE",
1229
1281
  "FINANCIAL_ACTIONS_DISABLED",
1282
+ "GOLDEN_UNLOCK_REQUIRED",
1283
+ "GOLDEN_TICKET_EXPIRED",
1230
1284
  "INTERNAL_ERROR"
1231
1285
  ],
1232
1286
  "getGoldenSuggestions": [
@@ -1522,6 +1576,17 @@ export const operationErrors = {
1522
1576
  "CONTRACT_UNAVAILABLE",
1523
1577
  "INTERNAL_ERROR"
1524
1578
  ],
1579
+ "getMyTradingRewards": [
1580
+ "UNAUTHENTICATED",
1581
+ "FORBIDDEN",
1582
+ "AUTHORIZATION_UNAVAILABLE",
1583
+ "RATE_LIMITED",
1584
+ "ORIGIN_REQUIRED",
1585
+ "IDENTITY_NOT_FOUND",
1586
+ "INVALID_QUERY",
1587
+ "CONTRACT_UNAVAILABLE",
1588
+ "INTERNAL_ERROR"
1589
+ ],
1525
1590
  "getOperation": [
1526
1591
  "UNAUTHENTICATED",
1527
1592
  "FORBIDDEN",
@@ -1603,6 +1668,16 @@ export const operationErrors = {
1603
1668
  "IDENTITY_NOT_FOUND",
1604
1669
  "INTERNAL_ERROR"
1605
1670
  ],
1671
+ "getPublicGoldenMarkets": [
1672
+ "UNAUTHENTICATED",
1673
+ "FORBIDDEN",
1674
+ "AUTHORIZATION_UNAVAILABLE",
1675
+ "RATE_LIMITED",
1676
+ "INVALID_QUERY",
1677
+ "CONTRACT_UNAVAILABLE",
1678
+ "BROWSE_UNAVAILABLE",
1679
+ "INTERNAL_ERROR"
1680
+ ],
1606
1681
  "getQuestion": [
1607
1682
  "INVALID_REQUEST",
1608
1683
  "NOT_FOUND",
@@ -2040,6 +2115,16 @@ export const operationErrors = {
2040
2115
  "MARKET_DATA_UNAVAILABLE",
2041
2116
  "INTERNAL_ERROR"
2042
2117
  ],
2118
+ "listMarketTrades": [
2119
+ "UNAUTHENTICATED",
2120
+ "FORBIDDEN",
2121
+ "AUTHORIZATION_UNAVAILABLE",
2122
+ "DEPENDENCY_STALE",
2123
+ "RATE_LIMITED",
2124
+ "INVALID_QUERY",
2125
+ "SOURCE_UNAVAILABLE",
2126
+ "INTERNAL_ERROR"
2127
+ ],
2043
2128
  "listMyNotifications": [
2044
2129
  "UNAUTHENTICATED",
2045
2130
  "FORBIDDEN",
@@ -32,6 +32,7 @@ export type paths = {
32
32
  readonly "/v1/series/{series_id}": Pick<SharedPaths["/v1/series/{series_id}"], "parameters" | "get">;
33
33
  readonly "/v1/taxonomy": Pick<SharedPaths["/v1/taxonomy"], "parameters" | "get">;
34
34
  readonly "/v1/market-display": Pick<SharedPaths["/v1/market-display"], "parameters" | "get">;
35
+ readonly "/v1/charts/{series}": Pick<SharedPaths["/v1/charts/{series}"], "parameters" | "get">;
35
36
  readonly "/v1/rfqs/{rfq_id}": Pick<SharedPaths["/v1/rfqs/{rfq_id}"], "parameters" | "get">;
36
37
  readonly "/v1/me/operations": Pick<SharedPaths["/v1/me/operations"], "parameters" | "get">;
37
38
  readonly "/v1/me/operations/{operation_id}": Pick<SharedPaths["/v1/me/operations/{operation_id}"], "parameters" | "get">;
@@ -46,4 +47,4 @@ export type paths = {
46
47
  readonly "/v1/makers/{maker_id}/exposure": Pick<SharedPaths["/v1/makers/{maker_id}/exposure"], "parameters" | "get">;
47
48
  readonly "/v1/makers/{maker_id}/performance": Pick<SharedPaths["/v1/makers/{maker_id}/performance"], "parameters" | "get">;
48
49
  };
49
- export type operations = Pick<SharedOperations, "cancelQuote" | "confirmQuote" | "createCollateralReduction" | "createQuote" | "getAccountActivity" | "getAccountPosition" | "getCollateralReduction" | "getDeployment" | "getMakerActivity" | "getMakerCapital" | "getMakerExposure" | "getMakerPerformance" | "getMakerPosition" | "getMakerQuotes" | "getMakerTelemetry" | "getMakerTelemetryPublication" | "getMakerVaultFundingTransaction" | "getMakerWithdrawal" | "getMarket" | "getMarketDisplay" | "getMarketHistory" | "getMarketRecurringRound" | "getMarketReferenceCloses" | "getMarketRoundHistory" | "getOperation" | "getQuestion" | "getQuestionRecurringRound" | "getRfq" | "getSeries" | "getTaxonomy" | "listAccountActivity" | "listAccountPositions" | "listDiscovery" | "listMakerAcceptances" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarkets" | "listOperations" | "listRfqs" | "publishMakerTelemetry" | "releaseQuoteLease" | "renewQuoteLease" | "searchCatalog" | "stream" | "submitMakerSelfFundedTransaction">;
50
+ export type operations = Pick<SharedOperations, "cancelQuote" | "confirmQuote" | "createCollateralReduction" | "createQuote" | "getAccountActivity" | "getAccountPosition" | "getChart" | "getCollateralReduction" | "getDeployment" | "getMakerActivity" | "getMakerCapital" | "getMakerExposure" | "getMakerPerformance" | "getMakerPosition" | "getMakerQuotes" | "getMakerTelemetry" | "getMakerTelemetryPublication" | "getMakerVaultFundingTransaction" | "getMakerWithdrawal" | "getMarket" | "getMarketDisplay" | "getMarketHistory" | "getMarketRecurringRound" | "getMarketReferenceCloses" | "getMarketRoundHistory" | "getOperation" | "getQuestion" | "getQuestionRecurringRound" | "getRfq" | "getSeries" | "getTaxonomy" | "listAccountActivity" | "listAccountPositions" | "listDiscovery" | "listMakerAcceptances" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarkets" | "listOperations" | "listRfqs" | "publishMakerTelemetry" | "releaseQuoteLease" | "renewQuoteLease" | "searchCatalog" | "stream" | "submitMakerSelfFundedTransaction">;