@totalis/hip4-client 0.124.0 → 0.126.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +389 -0
  2. package/README.md +9 -5
  3. package/dist/api-keys.d.ts +21 -2
  4. package/dist/api-keys.js +12 -10
  5. package/dist/audience-contract.d.ts +1 -2
  6. package/dist/client.d.ts +1 -1
  7. package/dist/client.js +1 -1
  8. package/dist/flow-errors.d.ts +1 -1
  9. package/dist/flow-errors.js +1 -1
  10. package/dist/generated/account-read.d.ts +150 -126
  11. package/dist/generated/api-keys.d.ts +19 -10
  12. package/dist/generated/browse.d.ts +12 -12
  13. package/dist/generated/client.d.ts +5 -2
  14. package/dist/generated/errors.d.ts +15 -8
  15. package/dist/generated/errors.js +47 -35
  16. package/dist/generated/maker.d.ts +3 -4
  17. package/dist/generated/openapi.d.ts +833 -893
  18. package/dist/generated/realtime.d.ts +66 -93
  19. package/dist/generated/vault-abi.d.ts +57 -0
  20. package/dist/generated/vault-abi.js +77 -0
  21. package/dist/generated/version.d.ts +16 -16
  22. package/dist/generated/version.js +20 -18
  23. package/dist/maker.d.ts +134 -54
  24. package/dist/maker.js +257 -147
  25. package/dist/money.d.ts +8 -6
  26. package/dist/money.js +7 -7
  27. package/dist/partner.d.ts +2 -0
  28. package/dist/partner.js +2 -1
  29. package/dist/request.d.ts +11 -2
  30. package/dist/request.js +7 -2
  31. package/dist/totalis.d.ts +147 -232
  32. package/dist/totalis.js +290 -269
  33. package/dist/typed-data.d.ts +6 -0
  34. package/dist/typed-data.js +8 -0
  35. package/dist/ui.d.ts +6 -10
  36. package/dist/ui.js +15 -13
  37. package/dist/vault-reads.d.ts +46 -0
  38. package/dist/vault-reads.js +72 -0
  39. package/examples/browser-wallet.mjs +1 -1
  40. package/examples/node-bot.mjs +15 -12
  41. package/package.json +1 -1
@@ -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" | "GOLDEN_TICKET_HELD" | "GOLDEN_LINK_SIGN_UP_ONLY" | "GOLDEN_LINK_CLAIMED" | "X_REQUIRED" | "X_ALREADY_CLAIMED" | "X_TOO_NEW" | "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" | "COPY_SELF" | "COPY_NOT_MATCHED" | "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" | "INSUFFICIENT_WALLET_BALANCE" | "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" | "X_TOO_NEW" | "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" | "COPY_SELF" | "COPY_NOT_MATCHED" | "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.
@@ -409,6 +409,11 @@ export type components = {
409
409
  /** @description The one error this request failed with. */
410
410
  readonly error: components["schemas"]["ErrorDetail"];
411
411
  };
412
+ /**
413
+ * @description A documented scope set. `TAKER`, for a personal key: identity:read, account:read, account:stream, replay:read, rfq:write, quote:read, quote:accept, position:cashout, sponsorship:use, funding:deposit and funding:withdraw. `MAKER`, for a maker key, the quoting bot's: rfq:read, quote:read, quote:write, replay:read and vault:read, none of which move vault money.
414
+ * @enum {string}
415
+ */
416
+ readonly KeyPreset: "TAKER" | "MAKER";
412
417
  /**
413
418
  * @description 0 means Forever (no expiry); 1–90 sets a finite lifetime in days. Omission defaults to 30.
414
419
  * @default 30
@@ -426,13 +431,15 @@ export type components = {
426
431
  readonly CreateKeyRequest: {
427
432
  /** @description Your name for the key, 1 to 80 characters. */
428
433
  readonly label: components["schemas"]["KeyLabel"];
429
- /** @description Permissions the key holds; each must apply to the account, as the capabilities route lists. */
430
- readonly scopes: components["schemas"]["ScopeList"];
434
+ /** @description Permissions the key holds; each must apply to the account, as the capabilities route lists. Send `scopes` or `preset`, not both. */
435
+ readonly scopes?: components["schemas"]["ScopeList"];
436
+ /** @description A documented scope set instead of `scopes`. The owner signs, and the key holds, the scopes it expands to. */
437
+ readonly preset?: components["schemas"]["KeyPreset"];
431
438
  /** @description Lifetime in days, 1 to 90, or 0 for no expiry; 30 when omitted. */
432
439
  readonly expires_in_days?: components["schemas"]["KeyExpiryDays"];
433
440
  /** @description The account owner's signature over the challenge for exactly this request without `proof`. */
434
441
  readonly proof: components["schemas"]["OwnerProof"];
435
- };
442
+ } & (unknown | unknown);
436
443
  readonly IssuedKey: {
437
444
  /** @description The new key's metadata. */
438
445
  readonly key: components["schemas"]["KeyMetadata"] & {
@@ -486,11 +493,13 @@ export type components = {
486
493
  readonly UnsignedCreateKeyRequest: {
487
494
  /** @description Your name for the key, 1 to 80 characters. */
488
495
  readonly label: components["schemas"]["KeyLabel"];
489
- /** @description Permissions the key holds; each must apply to the account, as the capabilities route lists. */
490
- readonly scopes: components["schemas"]["ScopeList"];
496
+ /** @description Permissions the key holds; each must apply to the account, as the capabilities route lists. Send `scopes` or `preset`, not both. */
497
+ readonly scopes?: components["schemas"]["ScopeList"];
498
+ /** @description A documented scope set instead of `scopes`. The owner signs, and the key holds, the scopes it expands to. */
499
+ readonly preset?: components["schemas"]["KeyPreset"];
491
500
  /** @description Lifetime in days, 1 to 90, or 0 for no expiry; 30 when omitted. */
492
501
  readonly expires_in_days?: components["schemas"]["KeyExpiryDays"];
493
- };
502
+ } & (unknown | unknown);
494
503
  /** @description The exact rotation request the account owner signs; the replacement inherits the old key's account, label and scopes. */
495
504
  readonly UnsignedRotateKeyRequest: {
496
505
  /** @description How long the old key keeps working after the rotation, 0 to 86400 seconds; 3600 when omitted. */
@@ -522,7 +531,7 @@ export type components = {
522
531
  /** @description Send back as `proof.challenge_id`. */
523
532
  readonly challenge_id: components["schemas"]["Uuid"];
524
533
  /** @description The address that must sign: the account wallet for a personal account, the controller for a maker. */
525
- readonly owner: components["schemas"]["LowercaseNonZeroAddress"];
534
+ readonly signer: components["schemas"]["LowercaseNonZeroAddress"];
526
535
  /** @description The EIP-4361 message to sign with `personal_sign`, exactly as returned; check its URI, account, action and key before signing. */
527
536
  readonly message: string;
528
537
  /** @description When the challenge stops being accepted, 5 minutes after issue. */
@@ -564,7 +573,7 @@ export type components = {
564
573
  };
565
574
  readonly OperatorCreatedKey: components["schemas"]["OperatorIssuedKey"] & components["schemas"]["CreatedKey"];
566
575
  readonly OperatorRotatedKey: components["schemas"]["OperatorIssuedKey"] & components["schemas"]["RotatedKey"];
567
- /** @description Advisory, no-store snapshot of the scopes a new key for this account may hold and the owner whose signature issues it. Scope dependencies still apply. Issuance revalidates current authority and consumes the owner's proof; discovery is never an authorization lease. */
576
+ /** @description Advisory, no-store snapshot of the scopes a new key for this account may hold and the signer whose signature issues it. Scope dependencies still apply. Issuance revalidates current authority and consumes the signer's proof; discovery is never an authorization lease. */
568
577
  readonly KeyCapabilities: {
569
578
  /** @description The account a new key would act for. */
570
579
  readonly account: components["schemas"]["Account"];
@@ -574,7 +583,7 @@ export type components = {
574
583
  */
575
584
  readonly environment: "development" | "staging" | "production";
576
585
  /** @description The address that signs issuance: the account wallet for a personal account, the controller for a maker. */
577
- readonly owner: components["schemas"]["LowercaseNonZeroAddress"];
586
+ readonly signer: components["schemas"]["LowercaseNonZeroAddress"];
578
587
  /** @description Scopes a new key for this account may hold now. */
579
588
  readonly scopes: readonly components["schemas"]["Scope"][];
580
589
  /** @description When this snapshot was taken. */
@@ -65,7 +65,7 @@ export type components = {
65
65
  */
66
66
  readonly live?: true;
67
67
  /**
68
- * @description Only cards with at least one market whose combo.state was OPEN at the page's evaluation instant, in the default or closing_soon order, with facets counted over the same cards. Send it only as true, beside at most category, subcategory, sort, limit and cursor (date_filter only as all); any other combination, live included, returns 400 INVALID_QUERY.
68
+ * @description Only cards with at least one market whose combo.status was OPEN at the page's evaluation instant, in the default or closing_soon order, with facets counted over the same cards. Send it only as true, beside at most category, subcategory, sort, limit and cursor (date_filter only as all); any other combination, live included, returns 400 INVALID_QUERY.
69
69
  * @constant
70
70
  */
71
71
  readonly combo?: true;
@@ -268,7 +268,7 @@ export type components = {
268
268
  /** @description Display title of the question, standalone market or price series. */
269
269
  readonly title: string;
270
270
  /** @description Lifecycle of the item: ACTIVE, CLOSED or UNSUPPORTED; for a question or price series, ACTIVE when any of its markets is active. */
271
- readonly state: components["schemas"]["MarketState"];
271
+ readonly status: components["schemas"]["MarketState"];
272
272
  /** @description Display category, or null when the item is not mapped to one. */
273
273
  readonly category: components["schemas"]["Category"];
274
274
  /** @description Display subcategory slug within the category; null when unmapped or not subdivided. */
@@ -355,14 +355,14 @@ export type components = {
355
355
  * @description ENABLED: Totalis currently accepts new positions on this market.
356
356
  * @constant
357
357
  */
358
- readonly state: "ENABLED";
358
+ readonly status: "ENABLED";
359
359
  };
360
360
  readonly EligibilityDisabled: {
361
361
  /**
362
362
  * @description DISABLED: Totalis does not currently accept new positions on this market; reason says why.
363
363
  * @constant
364
364
  */
365
- readonly state: "DISABLED";
365
+ readonly status: "DISABLED";
366
366
  /**
367
367
  * @description Why new positions are refused. UNSUPPORTED_PROTOCOL_VERSION, UNSUPPORTED_QUOTE_ASSET and IDENTITY_CONFLICT are permanent support failures; MARKET_NOT_ACTIVE means the native market is no longer live; NATIVE_STATE_UNAVAILABLE, NATIVE_STATE_STALE, REFERENCE_UNAVAILABLE, REFERENCE_STALE and SOURCE_GENERATION_MISMATCH are temporary data outages; FINANCIAL_PROFILE_DISABLED means trading is switched off in this environment; SOURCE_UNQUALIFIED marks cached catalog copies that carry no live eligibility.
368
368
  * @enum {string}
@@ -375,18 +375,18 @@ export type components = {
375
375
  * @description OPEN: an RFQ may include this market as a leg.
376
376
  * @constant
377
377
  */
378
- readonly state: "OPEN";
378
+ readonly status: "OPEN";
379
379
  } | {
380
380
  /**
381
381
  * @description CLOSED: an RFQ that includes this market is refused; reason says why.
382
382
  * @constant
383
383
  */
384
- readonly state: "CLOSED";
384
+ readonly status: "CLOSED";
385
385
  /**
386
- * @description EXCLUDED: Totalis keeps this market out of Combos. UNLISTED_DEPLOYER: its deployer is not one Totalis lists. OUTSIDE_WINDOW: its event is unknown or more than 7 days away, or the time its result can be known is unknown or has passed (a price market's observation time, a policy rate's scheduled decision; a sports game closes at its resolution backstop, so Combos take it in play).
386
+ * @description EXCLUDED: Totalis keeps this market out of Combos. UNLISTED_DEPLOYER: its deployer is not one Totalis lists. OUTSIDE_WINDOW: its event is unknown or more than 7 days away, or the time its event starts or its result can be known is unknown. EVENT_PASSED: its event has started or its result can be known: the earliest of its observation time (a price market), its scheduled event (a game's start, a policy rate's decision) and its resolution backstop has passed, so makers refuse it.
387
387
  * @enum {string}
388
388
  */
389
- readonly reason: "EXCLUDED" | "UNLISTED_DEPLOYER" | "OUTSIDE_WINDOW";
389
+ readonly reason: "EXCLUDED" | "UNLISTED_DEPLOYER" | "OUTSIDE_WINDOW" | "EVENT_PASSED";
390
390
  /** @description When the market enters the 7-day window, in Unix seconds: its best-known event time minus 7 days. Set only for OUTSIDE_WINDOW with a known event time before the window opens; approximate. */
391
391
  readonly opens_at: components["schemas"]["PositiveInt64"] | null;
392
392
  };
@@ -508,7 +508,7 @@ export type components = {
508
508
  /** @description Display title derived from the market definition. */
509
509
  readonly title: string;
510
510
  /** @description Native lifecycle: ACTIVE while the market is live on Hyperliquid, CLOSED once it is no longer live, UNSUPPORTED when Totalis does not support it. */
511
- readonly state: components["schemas"]["MarketState"];
511
+ readonly status: components["schemas"]["MarketState"];
512
512
  /** @description Native result as last read from HyperEVM. */
513
513
  readonly result: components["schemas"]["$defs-Result"];
514
514
  /** @description Revision of this market's catalog metadata; it increases when the metadata changes. */
@@ -770,7 +770,7 @@ export type components = {
770
770
  * @description SUBJECT: a subject described once in the answer's `subjects`.
771
771
  * @constant
772
772
  */
773
- readonly type: "SUBJECT";
773
+ readonly kind: "SUBJECT";
774
774
  /** @description The subject's key in `subjects`. */
775
775
  readonly key: components["schemas"]["SubjectKey"];
776
776
  };
@@ -779,7 +779,7 @@ export type components = {
779
779
  * @description GLYPH: a mark of the client's own, never artwork.
780
780
  * @constant
781
781
  */
782
- readonly type: "GLYPH";
782
+ readonly kind: "GLYPH";
783
783
  /**
784
784
  * @description DRAW: a contest's draw outcome. TOTAL: an over/under line, drawn as Over for Yes and Under for No where the side is known.
785
785
  * @enum {string}
@@ -893,7 +893,7 @@ export type components = {
893
893
  * @description Stable HTTP error code. Each code has one HTTP status and one retry value.
894
894
  * @enum {string}
895
895
  */
896
- 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" | "X_TOO_NEW" | "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" | "COPY_SELF" | "COPY_NOT_MATCHED" | "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";
896
+ 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" | "INSUFFICIENT_WALLET_BALANCE" | "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" | "X_TOO_NEW" | "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" | "COPY_SELF" | "COPY_NOT_MATCHED" | "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";
897
897
  readonly FieldViolation: {
898
898
  /**
899
899
  * @description REQUIRED: the input is missing. INVALID: it is present but malformed or out of range. UNEXPECTED: the input is not accepted here.
@@ -18,6 +18,8 @@ export type paths = {
18
18
  readonly "/v1/hypercore/balance": Pick<SharedPaths["/v1/hypercore/balance"], "parameters" | "get">;
19
19
  readonly "/v1/hypercore/portfolio": Pick<SharedPaths["/v1/hypercore/portfolio"], "parameters" | "get">;
20
20
  readonly "/v1/hypercore/settlement-credits": Pick<SharedPaths["/v1/hypercore/settlement-credits"], "parameters" | "get">;
21
+ readonly "/v1/hypercore/orders": Pick<SharedPaths["/v1/hypercore/orders"], "parameters" | "get">;
22
+ readonly "/v1/hypercore/positions": Pick<SharedPaths["/v1/hypercore/positions"], "parameters" | "get">;
21
23
  readonly "/v1/me": Pick<SharedPaths["/v1/me"], "parameters" | "get">;
22
24
  readonly "/v1/me/embedded-wallet": Pick<SharedPaths["/v1/me/embedded-wallet"], "parameters" | "post">;
23
25
  readonly "/v1/auth/wallet-challenges": Pick<SharedPaths["/v1/auth/wallet-challenges"], "parameters" | "post">;
@@ -110,7 +112,6 @@ export type paths = {
110
112
  readonly "/v1/markets": Pick<SharedPaths["/v1/markets"], "parameters" | "get">;
111
113
  readonly "/v1/markets/{outcome_id}": Pick<SharedPaths["/v1/markets/{outcome_id}"], "parameters" | "get">;
112
114
  readonly "/v1/questions/{question_id}": Pick<SharedPaths["/v1/questions/{question_id}"], "parameters" | "get">;
113
- readonly "/v1/markets/{outcome_id}/history": Pick<SharedPaths["/v1/markets/{outcome_id}/history"], "parameters" | "get">;
114
115
  readonly "/v1/markets/{outcome_id}/reference-closes": Pick<SharedPaths["/v1/markets/{outcome_id}/reference-closes"], "parameters" | "get">;
115
116
  readonly "/v1/markets/{outcome_id}/recurring-round": Pick<SharedPaths["/v1/markets/{outcome_id}/recurring-round"], "parameters" | "get">;
116
117
  readonly "/v1/markets/{outcome_id}/recurring-round/history": Pick<SharedPaths["/v1/markets/{outcome_id}/recurring-round/history"], "parameters" | "get">;
@@ -124,9 +125,11 @@ export type paths = {
124
125
  readonly "/v1/market-data/config": Pick<SharedPaths["/v1/market-data/config"], "parameters" | "get">;
125
126
  readonly "/v1/market-definitions": Pick<SharedPaths["/v1/market-definitions"], "parameters" | "get">;
126
127
  readonly "/v1/market-display": Pick<SharedPaths["/v1/market-display"], "parameters" | "get">;
128
+ readonly "/v1/market-results": Pick<SharedPaths["/v1/market-results"], "parameters" | "get">;
127
129
  readonly "/v1/outcome-metadata": Pick<SharedPaths["/v1/outcome-metadata"], "parameters" | "get">;
128
130
  readonly "/v1/perp-marks": Pick<SharedPaths["/v1/perp-marks"], "parameters" | "get">;
129
131
  readonly "/v1/charts/{series}": Pick<SharedPaths["/v1/charts/{series}"], "parameters" | "get">;
132
+ readonly "/v1/live-marks": Pick<SharedPaths["/v1/live-marks"], "parameters" | "get">;
130
133
  readonly "/v1/rfqs/{rfq_id}": Pick<SharedPaths["/v1/rfqs/{rfq_id}"], "parameters" | "get">;
131
134
  readonly "/v1/rfqs/{rfq_id}/cancel": Pick<SharedPaths["/v1/rfqs/{rfq_id}/cancel"], "parameters" | "post">;
132
135
  readonly "/v1/me/balances": Pick<SharedPaths["/v1/me/balances"], "parameters" | "get">;
@@ -149,4 +152,4 @@ export type paths = {
149
152
  readonly "/v1/makers/{maker_id}/exposure": Pick<SharedPaths["/v1/makers/{maker_id}/exposure"], "parameters" | "get">;
150
153
  readonly "/v1/makers/{maker_id}/performance": Pick<SharedPaths["/v1/makers/{maker_id}/performance"], "parameters" | "get">;
151
154
  };
152
- 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" | "recordCopiedTrade" | "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">;
155
+ 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" | "getHypercoreOrders" | "getHypercorePortfolio" | "getHypercoreSettlementCredits" | "getIdentity" | "getLiveMarks" | "getMakerActivity" | "getMakerCapital" | "getMakerExposure" | "getMakerPerformance" | "getMakerPosition" | "getMakerQuotes" | "getMakerTelemetry" | "getMakerVaultFundingTransaction" | "getMakerWithdrawal" | "getMarket" | "getMarketDataConfig" | "getMarketDefinitions" | "getMarketDisplay" | "getMarketRecurringRound" | "getMarketReferenceCloses" | "getMarketResults" | "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" | "listHypercorePositions" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarketTrades" | "listMarkets" | "listMyNotifications" | "listOperations" | "listPartnerFills" | "listPartnerWebhookEvents" | "listQuotes" | "listSocialActivity" | "listSocialFeed" | "listSocialFollowers" | "listSocialFollowing" | "listSocialPositions" | "listTraderPositions" | "listTraderTrades" | "markMyNotificationsRead" | "placeGolden" | "reactComment" | "recordAcquisition" | "recordCopiedTrade" | "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">;
@@ -202,6 +202,11 @@ export declare const errorRegistry: {
202
202
  readonly retry: "NEVER";
203
203
  readonly class: "refusal";
204
204
  };
205
+ readonly INSUFFICIENT_WALLET_BALANCE: {
206
+ readonly status: 409;
207
+ readonly retry: "REFRESH";
208
+ readonly class: "outcome";
209
+ };
205
210
  readonly CORE_MOVE_IN_FLIGHT: {
206
211
  readonly status: 409;
207
212
  readonly retry: "REFRESH";
@@ -559,7 +564,7 @@ export declare const errorRegistry: {
559
564
  };
560
565
  /** 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. */
561
566
  export type Retry = "NEVER" | "BACKOFF" | "REFRESH";
562
- 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" | "X_TOO_NEW" | "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" | "COPY_SELF" | "COPY_NOT_MATCHED" | "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";
567
+ 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" | "INSUFFICIENT_WALLET_BALANCE" | "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" | "X_TOO_NEW" | "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" | "COPY_SELF" | "COPY_NOT_MATCHED" | "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";
563
568
  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";
564
569
  /** The codes each live operation can return. */
565
570
  export declare const operationErrors: {
@@ -570,17 +575,18 @@ export declare const operationErrors: {
570
575
  readonly admitPartnerWallet: readonly ["INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "UNAUTHENTICATED", "FORBIDDEN", "STATE_CONFLICT", "INVALID_SIGNATURE", "RATE_LIMITED", "AUTHORIZATION_UNAVAILABLE", "INTERNAL_ERROR"];
571
576
  readonly approveWallet: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_REQUEST", "INVALID_SIGNATURE", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "FINANCIAL_ACTIONS_DISABLED", "CONTRACT_UNAVAILABLE", "INTERNAL_ERROR"];
572
577
  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"];
578
+ readonly cancelAllQuotes: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "NOT_FOUND", "INTERNAL_ERROR"];
573
579
  readonly cancelQuote: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "STATE_CONFLICT", "INTERNAL_ERROR"];
574
- 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"];
580
+ readonly cancelRfq: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "RFQ_NOT_CANCELLABLE", "STATE_CONFLICT", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
575
581
  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"];
576
582
  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"];
577
583
  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"];
578
584
  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"];
579
- readonly createCashout: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "RFQ_INTENT_LIMIT", "STATE_CONFLICT", "GOLDEN_CASHOUT_REFUSED", "FINANCIAL_ACTIONS_DISABLED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
585
+ readonly createCashout: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "STATE_CONFLICT", "GOLDEN_CASHOUT_REFUSED", "FINANCIAL_ACTIONS_DISABLED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
580
586
  readonly createCollateralReduction: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "NOT_FOUND", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "COLLATERAL_REDUCTION_UNAVAILABLE", "INTERNAL_ERROR"];
581
587
  readonly createComment: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "STATE_CONFLICT", "INTERNAL_ERROR"];
582
588
  readonly createCoreExit: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "CORE_EXIT_UNAVAILABLE", "CORE_ACCOUNT_NOT_READY", "CORE_ACCOUNT_ACTIVATION_REQUIRED", "CORE_MOVE_IN_FLIGHT", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
583
- readonly createDeposit: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "INVALID_SIGNATURE", "SPONSORSHIP_UNAVAILABLE", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
589
+ readonly createDeposit: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "STATE_CONFLICT", "INSUFFICIENT_WALLET_BALANCE", "FINANCIAL_ACTIONS_DISABLED", "INVALID_SIGNATURE", "SPONSORSHIP_UNAVAILABLE", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
584
590
  readonly createGoldenRfq: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "CONTRACT_UNAVAILABLE", "GOLDEN_TICKET_NONE", "GOLDEN_UNLOCK_REQUIRED", "GOLDEN_TICKET_USED", "GOLDEN_TICKET_EXPIRED", "GOLDEN_PLACEMENT_IN_FLIGHT", "GOLDEN_LEG_COUNT", "GOLDEN_LEG_NOT_ELIGIBLE", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "COMBO_AUTOMATIC_DISABLED", "BROWSE_UNAVAILABLE", "INTERNAL_ERROR"];
585
591
  readonly createMakerApiKey: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "IDEMPOTENCY_KEY_REUSED", "SECRET_UNAVAILABLE", "KEY_LIMIT_REACHED", "INTERNAL_ERROR"];
586
592
  readonly createMakerApiKeyChallenge: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "IDEMPOTENCY_KEY_REUSED", "INTERNAL_ERROR"];
@@ -588,7 +594,7 @@ export declare const operationErrors: {
588
594
  readonly createPersonalApiKey: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "IDEMPOTENCY_KEY_REUSED", "SECRET_UNAVAILABLE", "KEY_LIMIT_REACHED", "INTERNAL_ERROR"];
589
595
  readonly createPersonalApiKeyChallenge: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "IDEMPOTENCY_KEY_REUSED", "INTERNAL_ERROR"];
590
596
  readonly createQuote: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "RFQ_NOT_OPEN", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "NOT_FOUND", "INTERNAL_ERROR"];
591
- readonly createRfq: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "RFQ_INTENT_LIMIT", "RFQ_GENERATION_STALE", "RFQ_GENERATION_IN_FLIGHT", "STATE_CONFLICT", "COMBO_AUTOMATIC_DISABLED", "FINANCIAL_ACTIONS_DISABLED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
597
+ readonly createRfq: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
592
598
  readonly createRunOffClaim: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "STATE_CONFLICT", "FINANCIAL_ACTIONS_DISABLED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
593
599
  readonly createWalletChallenge: readonly ["INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "ORIGIN_REQUIRED", "ORIGIN_NOT_ALLOWED", "UNAUTHENTICATED", "IDEMPOTENCY_KEY_REUSED", "STATE_CONFLICT", "WALLET_CONTRACT_UNSUPPORTED", "RATE_LIMITED", "AUTHORIZATION_UNAVAILABLE", "INTERNAL_ERROR"];
594
600
  readonly createWalletSession: readonly ["INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "ORIGIN_REQUIRED", "ORIGIN_NOT_ALLOWED", "UNAUTHENTICATED", "ACCESS_REQUIRED", "IDEMPOTENCY_KEY_REUSED", "STATE_CONFLICT", "INVALID_SIGNATURE", "RATE_LIMITED", "AUTHORIZATION_UNAVAILABLE", "INTERNAL_ERROR"];
@@ -618,9 +624,11 @@ export declare const operationErrors: {
618
624
  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"];
619
625
  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"];
620
626
  readonly getHypercoreBalance: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "INVALID_REQUEST", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
627
+ readonly getHypercoreOrders: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "INVALID_REQUEST", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
621
628
  readonly getHypercorePortfolio: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
622
629
  readonly getHypercoreSettlementCredits: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
623
630
  readonly getIdentity: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "IDENTITY_NOT_FOUND", "EMBEDDED_WALLET_UNAVAILABLE", "ORIGIN_REQUIRED", "INTERNAL_ERROR"];
631
+ readonly getLiveMarks: readonly ["INVALID_QUERY", "BROWSE_UNAVAILABLE", "INTERNAL_ERROR"];
624
632
  readonly getMakerActivity: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "ORIGIN_REQUIRED", "NOT_FOUND", "SOURCE_UNAVAILABLE", "CONTRACT_UNAVAILABLE", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
625
633
  readonly getMakerApiKeyCapabilities: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "INTERNAL_ERROR"];
626
634
  readonly getMakerCapital: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "ORIGIN_REQUIRED", "NOT_FOUND", "SOURCE_UNAVAILABLE", "CONTRACT_UNAVAILABLE", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
@@ -636,9 +644,9 @@ export declare const operationErrors: {
636
644
  readonly getMarketDataConfig: readonly ["MARKET_DATA_UNAVAILABLE", "INVALID_QUERY", "INTERNAL_ERROR"];
637
645
  readonly getMarketDefinitions: readonly ["MARKET_DATA_UNAVAILABLE", "INVALID_QUERY", "INTERNAL_ERROR"];
638
646
  readonly getMarketDisplay: readonly ["MARKET_DATA_UNAVAILABLE", "INVALID_QUERY", "INTERNAL_ERROR"];
639
- readonly getMarketHistory: readonly ["INVALID_REQUEST", "NOT_FOUND", "MARKET_DATA_UNAVAILABLE", "INVALID_QUERY", "INVALID_CURSOR", "INTERNAL_ERROR"];
640
647
  readonly getMarketRecurringRound: readonly ["INVALID_REQUEST", "NOT_FOUND", "MARKET_DATA_UNAVAILABLE", "RECURRING_DEFINITION_CONFLICT", "INVALID_QUERY", "INTERNAL_ERROR"];
641
648
  readonly getMarketReferenceCloses: readonly ["INVALID_REQUEST", "NOT_FOUND", "MARKET_DATA_UNAVAILABLE", "INVALID_QUERY", "INVALID_CURSOR", "STALE_CURSOR", "INTERNAL_ERROR"];
649
+ readonly getMarketResults: readonly ["MARKET_DATA_UNAVAILABLE", "INVALID_QUERY", "INTERNAL_ERROR"];
642
650
  readonly getMarketRoundHistory: readonly ["INVALID_REQUEST", "NOT_FOUND", "MARKET_DATA_UNAVAILABLE", "RECURRING_DEFINITION_CONFLICT", "INVALID_QUERY", "INTERNAL_ERROR"];
643
651
  readonly getMarketScoreTimeline: readonly ["INVALID_REQUEST", "NOT_FOUND", "MARKET_DATA_UNAVAILABLE", "INVALID_QUERY", "INTERNAL_ERROR"];
644
652
  readonly getMarketStats: readonly ["MARKET_DATA_UNAVAILABLE", "INVALID_QUERY", "INTERNAL_ERROR"];
@@ -689,6 +697,7 @@ export declare const operationErrors: {
689
697
  readonly listFollowingFeed: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "SOURCE_UNAVAILABLE", "INTERNAL_ERROR"];
690
698
  readonly listFollowingPositions: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "SOURCE_UNAVAILABLE", "INTERNAL_ERROR"];
691
699
  readonly listFollows: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_QUERY", "INTERNAL_ERROR"];
700
+ readonly listHypercorePositions: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "INVALID_QUERY", "SOURCE_UNAVAILABLE", "IDENTITY_NOT_FOUND", "INTERNAL_ERROR"];
692
701
  readonly listMakerAcceptances: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_QUERY", "INVALID_CURSOR", "NOT_FOUND", "INTERNAL_ERROR"];
693
702
  readonly listMakerActivity: 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"];
694
703
  readonly listMakerApiKeys: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "INTERNAL_ERROR"];
@@ -721,9 +730,7 @@ export declare const operationErrors: {
721
730
  readonly recordCopiedTrade: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "INVALID_REQUEST", "NOT_FOUND", "COPY_SELF", "COPY_NOT_MATCHED", "INTERNAL_ERROR"];
722
731
  readonly recordGoldenTelegramClick: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "INVALID_REQUEST", "CONTRACT_UNAVAILABLE", "GOLDEN_TICKET_NONE", "INTERNAL_ERROR"];
723
732
  readonly refreshPicture: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "IDENTITY_NOT_FOUND", "ORIGIN_REQUIRED", "CONTRACT_UNAVAILABLE", "INTERNAL_ERROR"];
724
- readonly releaseQuoteLease: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "INTERNAL_ERROR"];
725
733
  readonly removeUploadedPicture: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "INVALID_REQUEST", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "IDENTITY_NOT_FOUND", "ORIGIN_REQUIRED", "INTERNAL_ERROR"];
726
- readonly renewQuoteLease: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "DEPENDENCY_STALE", "RATE_LIMITED", "INVALID_REQUEST", "NOT_FOUND", "INTERNAL_ERROR"];
727
734
  readonly requestComboCopyAgent: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "CONTRACT_UNAVAILABLE", "DEPENDENCY_STALE", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "STATE_CONFLICT", "INTERNAL_ERROR"];
728
735
  readonly requestCoreCopyAgent: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "CONTRACT_UNAVAILABLE", "DEPENDENCY_STALE", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "STATE_CONFLICT", "INTERNAL_ERROR"];
729
736
  readonly revokeComboCopyAgent: readonly ["UNAUTHENTICATED", "FORBIDDEN", "AUTHORIZATION_UNAVAILABLE", "RATE_LIMITED", "ORIGIN_REQUIRED", "IDENTITY_NOT_FOUND", "CONTRACT_UNAVAILABLE", "NOT_FOUND", "INVALID_REQUEST", "FINANCIAL_ACTIONS_DISABLED", "DEPENDENCY_STALE", "INVALID_IDEMPOTENCY_KEY", "IDEMPOTENCY_KEY_REUSED", "INTERNAL_ERROR"];
@@ -203,6 +203,11 @@ export const errorRegistry = {
203
203
  "retry": "NEVER",
204
204
  "class": "refusal"
205
205
  },
206
+ "INSUFFICIENT_WALLET_BALANCE": {
207
+ "status": 409,
208
+ "retry": "REFRESH",
209
+ "class": "outcome"
210
+ },
206
211
  "CORE_MOVE_IN_FLIGHT": {
207
212
  "status": 409,
208
213
  "retry": "REFRESH",
@@ -672,6 +677,15 @@ export const operationErrors = {
672
677
  "ORIGIN_REQUIRED",
673
678
  "INTERNAL_ERROR"
674
679
  ],
680
+ "cancelAllQuotes": [
681
+ "UNAUTHENTICATED",
682
+ "FORBIDDEN",
683
+ "AUTHORIZATION_UNAVAILABLE",
684
+ "DEPENDENCY_STALE",
685
+ "RATE_LIMITED",
686
+ "NOT_FOUND",
687
+ "INTERNAL_ERROR"
688
+ ],
675
689
  "cancelQuote": [
676
690
  "UNAUTHENTICATED",
677
691
  "FORBIDDEN",
@@ -690,8 +704,6 @@ export const operationErrors = {
690
704
  "DEPENDENCY_STALE",
691
705
  "RATE_LIMITED",
692
706
  "INVALID_REQUEST",
693
- "INVALID_IDEMPOTENCY_KEY",
694
- "IDEMPOTENCY_KEY_REUSED",
695
707
  "NOT_FOUND",
696
708
  "RFQ_NOT_CANCELLABLE",
697
709
  "STATE_CONFLICT",
@@ -781,7 +793,6 @@ export const operationErrors = {
781
793
  "NOT_FOUND",
782
794
  "INVALID_IDEMPOTENCY_KEY",
783
795
  "IDEMPOTENCY_KEY_REUSED",
784
- "RFQ_INTENT_LIMIT",
785
796
  "STATE_CONFLICT",
786
797
  "GOLDEN_CASHOUT_REFUSED",
787
798
  "FINANCIAL_ACTIONS_DISABLED",
@@ -847,6 +858,7 @@ export const operationErrors = {
847
858
  "INVALID_IDEMPOTENCY_KEY",
848
859
  "IDEMPOTENCY_KEY_REUSED",
849
860
  "STATE_CONFLICT",
861
+ "INSUFFICIENT_WALLET_BALANCE",
850
862
  "FINANCIAL_ACTIONS_DISABLED",
851
863
  "INVALID_SIGNATURE",
852
864
  "SPONSORSHIP_UNAVAILABLE",
@@ -965,11 +977,7 @@ export const operationErrors = {
965
977
  "NOT_FOUND",
966
978
  "INVALID_IDEMPOTENCY_KEY",
967
979
  "IDEMPOTENCY_KEY_REUSED",
968
- "RFQ_INTENT_LIMIT",
969
- "RFQ_GENERATION_STALE",
970
- "RFQ_GENERATION_IN_FLIGHT",
971
980
  "STATE_CONFLICT",
972
- "COMBO_AUTOMATIC_DISABLED",
973
981
  "FINANCIAL_ACTIONS_DISABLED",
974
982
  "ORIGIN_REQUIRED",
975
983
  "IDENTITY_NOT_FOUND",
@@ -1327,6 +1335,17 @@ export const operationErrors = {
1327
1335
  "IDENTITY_NOT_FOUND",
1328
1336
  "INTERNAL_ERROR"
1329
1337
  ],
1338
+ "getHypercoreOrders": [
1339
+ "UNAUTHENTICATED",
1340
+ "FORBIDDEN",
1341
+ "AUTHORIZATION_UNAVAILABLE",
1342
+ "DEPENDENCY_STALE",
1343
+ "RATE_LIMITED",
1344
+ "ORIGIN_REQUIRED",
1345
+ "INVALID_REQUEST",
1346
+ "IDENTITY_NOT_FOUND",
1347
+ "INTERNAL_ERROR"
1348
+ ],
1330
1349
  "getHypercorePortfolio": [
1331
1350
  "UNAUTHENTICATED",
1332
1351
  "FORBIDDEN",
@@ -1358,6 +1377,11 @@ export const operationErrors = {
1358
1377
  "ORIGIN_REQUIRED",
1359
1378
  "INTERNAL_ERROR"
1360
1379
  ],
1380
+ "getLiveMarks": [
1381
+ "INVALID_QUERY",
1382
+ "BROWSE_UNAVAILABLE",
1383
+ "INTERNAL_ERROR"
1384
+ ],
1361
1385
  "getMakerActivity": [
1362
1386
  "UNAUTHENTICATED",
1363
1387
  "FORBIDDEN",
@@ -1524,14 +1548,6 @@ export const operationErrors = {
1524
1548
  "INVALID_QUERY",
1525
1549
  "INTERNAL_ERROR"
1526
1550
  ],
1527
- "getMarketHistory": [
1528
- "INVALID_REQUEST",
1529
- "NOT_FOUND",
1530
- "MARKET_DATA_UNAVAILABLE",
1531
- "INVALID_QUERY",
1532
- "INVALID_CURSOR",
1533
- "INTERNAL_ERROR"
1534
- ],
1535
1551
  "getMarketRecurringRound": [
1536
1552
  "INVALID_REQUEST",
1537
1553
  "NOT_FOUND",
@@ -1549,6 +1565,11 @@ export const operationErrors = {
1549
1565
  "STALE_CURSOR",
1550
1566
  "INTERNAL_ERROR"
1551
1567
  ],
1568
+ "getMarketResults": [
1569
+ "MARKET_DATA_UNAVAILABLE",
1570
+ "INVALID_QUERY",
1571
+ "INTERNAL_ERROR"
1572
+ ],
1552
1573
  "getMarketRoundHistory": [
1553
1574
  "INVALID_REQUEST",
1554
1575
  "NOT_FOUND",
@@ -2058,6 +2079,17 @@ export const operationErrors = {
2058
2079
  "INVALID_QUERY",
2059
2080
  "INTERNAL_ERROR"
2060
2081
  ],
2082
+ "listHypercorePositions": [
2083
+ "UNAUTHENTICATED",
2084
+ "FORBIDDEN",
2085
+ "AUTHORIZATION_UNAVAILABLE",
2086
+ "RATE_LIMITED",
2087
+ "ORIGIN_REQUIRED",
2088
+ "INVALID_QUERY",
2089
+ "SOURCE_UNAVAILABLE",
2090
+ "IDENTITY_NOT_FOUND",
2091
+ "INTERNAL_ERROR"
2092
+ ],
2061
2093
  "listMakerAcceptances": [
2062
2094
  "UNAUTHENTICATED",
2063
2095
  "FORBIDDEN",
@@ -2417,16 +2449,6 @@ export const operationErrors = {
2417
2449
  "CONTRACT_UNAVAILABLE",
2418
2450
  "INTERNAL_ERROR"
2419
2451
  ],
2420
- "releaseQuoteLease": [
2421
- "UNAUTHENTICATED",
2422
- "FORBIDDEN",
2423
- "AUTHORIZATION_UNAVAILABLE",
2424
- "DEPENDENCY_STALE",
2425
- "RATE_LIMITED",
2426
- "INVALID_REQUEST",
2427
- "NOT_FOUND",
2428
- "INTERNAL_ERROR"
2429
- ],
2430
2452
  "removeUploadedPicture": [
2431
2453
  "UNAUTHENTICATED",
2432
2454
  "FORBIDDEN",
@@ -2439,16 +2461,6 @@ export const operationErrors = {
2439
2461
  "ORIGIN_REQUIRED",
2440
2462
  "INTERNAL_ERROR"
2441
2463
  ],
2442
- "renewQuoteLease": [
2443
- "UNAUTHENTICATED",
2444
- "FORBIDDEN",
2445
- "AUTHORIZATION_UNAVAILABLE",
2446
- "DEPENDENCY_STALE",
2447
- "RATE_LIMITED",
2448
- "INVALID_REQUEST",
2449
- "NOT_FOUND",
2450
- "INTERNAL_ERROR"
2451
- ],
2452
2464
  "requestComboCopyAgent": [
2453
2465
  "UNAUTHENTICATED",
2454
2466
  "FORBIDDEN",