@structbuild/sdk 0.6.3 → 0.6.4
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.
|
@@ -523,7 +523,7 @@ export interface paths {
|
|
|
523
523
|
};
|
|
524
524
|
/**
|
|
525
525
|
* Top traders for a builder
|
|
526
|
-
* @description Returns the highest-volume (or highest-fee / highest-txn) traders that have routed through this builder over the requested window.
|
|
526
|
+
* @description Returns the highest-volume (or highest-fee / highest-txn) traders that have routed through this builder over the requested window. Paginate past the first page with `offset` or `pagination_key` to enumerate all of a builder's traders.
|
|
527
527
|
*/
|
|
528
528
|
get: operations["get_builder_top_traders"];
|
|
529
529
|
put?: never;
|
|
@@ -4436,6 +4436,18 @@ export interface components {
|
|
|
4436
4436
|
/** @description Retention fractions. */
|
|
4437
4437
|
retention: components["schemas"]["RetentionFractions"];
|
|
4438
4438
|
};
|
|
4439
|
+
/** @description Enriched Combo leg output. */
|
|
4440
|
+
ComboLeg: {
|
|
4441
|
+
position_id: string;
|
|
4442
|
+
condition_id?: string | null;
|
|
4443
|
+
outcome?: string | null;
|
|
4444
|
+
/** Format: int32 */
|
|
4445
|
+
outcome_index?: number | null;
|
|
4446
|
+
question?: string | null;
|
|
4447
|
+
slug?: string | null;
|
|
4448
|
+
image_url?: string | null;
|
|
4449
|
+
title?: string | null;
|
|
4450
|
+
};
|
|
4439
4451
|
/** @description Output payload for Polymarket Combo events. */
|
|
4440
4452
|
ComboTrade: {
|
|
4441
4453
|
id: string;
|
|
@@ -4479,7 +4491,7 @@ export interface components {
|
|
|
4479
4491
|
payout?: string | null;
|
|
4480
4492
|
position_ids?: string[];
|
|
4481
4493
|
amounts?: string[];
|
|
4482
|
-
legs?:
|
|
4494
|
+
legs?: components["schemas"]["ComboLeg"][];
|
|
4483
4495
|
position_details?: components["schemas"]["PositionDetail"][];
|
|
4484
4496
|
question?: string | null;
|
|
4485
4497
|
image_url?: string | null;
|
|
@@ -9957,8 +9969,12 @@ export interface operations {
|
|
|
9957
9969
|
sort_by?: components["schemas"]["TopTradersSortBy"];
|
|
9958
9970
|
/** @description Sort direction (default: true = highest first). */
|
|
9959
9971
|
sort_desc?: boolean;
|
|
9960
|
-
/** @description
|
|
9972
|
+
/** @description Traders per page (default 10, max 250) */
|
|
9961
9973
|
limit?: number;
|
|
9974
|
+
/** @description Number of traders to skip. Default 0. Takes precedence over `pagination_key`. */
|
|
9975
|
+
offset?: number;
|
|
9976
|
+
/** @description Opaque cursor from a previous response. Ignored when `offset` is set. */
|
|
9977
|
+
pagination_key?: string;
|
|
9962
9978
|
};
|
|
9963
9979
|
header?: never;
|
|
9964
9980
|
path: {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -144,6 +144,7 @@ export type AssertionDisputedEvent = Schemas["AssertionDisputedEvent"];
|
|
|
144
144
|
export type AssertionMadeEvent = Schemas["AssertionMadeEvent"];
|
|
145
145
|
export type AssertionSettledEvent = Schemas["AssertionSettledEvent"];
|
|
146
146
|
export type CancelledTrade = Schemas["CancelledTrade"];
|
|
147
|
+
export type ComboLeg = Schemas["ComboLeg"];
|
|
147
148
|
export type ComboTrade = Schemas["ComboTrade"];
|
|
148
149
|
export type ConditionResolutionEvent = Schemas["ConditionResolutionEvent"];
|
|
149
150
|
export type MergeTrade = Schemas["MergeTrade"];
|