@structbuild/sdk 0.3.10-staging.1 → 0.3.10-staging.3

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.
@@ -3,7 +3,7 @@
3
3
  * Do not make direct changes to the file.
4
4
  */
5
5
  export interface paths {
6
- "/polymarket/analytics/candles": {
6
+ "/polymarket/analytics/changes": {
7
7
  parameters: {
8
8
  query?: never;
9
9
  header?: never;
@@ -11,10 +11,10 @@ export interface paths {
11
11
  cookie?: never;
12
12
  };
13
13
  /**
14
- * Global analytics candles (per-bucket deltas)
15
- * @description Returns per-bucket deltas (volume, traders, fees etc. that happened *during* each bucket). Use for bar-chart visualisations of activity over time.
14
+ * Global analytics % change
15
+ * @description Returns % change for each metric over the requested lookback window. `null` fields mean the window predates the available data.
16
16
  */
17
- get: operations["get_global_analytics_candles"];
17
+ get: operations["get_global_analytics_changes"];
18
18
  put?: never;
19
19
  post?: never;
20
20
  delete?: never;
@@ -23,7 +23,7 @@ export interface paths {
23
23
  patch?: never;
24
24
  trace?: never;
25
25
  };
26
- "/polymarket/analytics/changes": {
26
+ "/polymarket/analytics/counts": {
27
27
  parameters: {
28
28
  query?: never;
29
29
  header?: never;
@@ -31,10 +31,10 @@ export interface paths {
31
31
  cookie?: never;
32
32
  };
33
33
  /**
34
- * Global analytics % change
35
- * @description Returns % change for each metric over the requested lookback window. `null` fields mean the window predates the available data.
34
+ * Global analytics snapshot
35
+ * @description Returns the latest cumulative analytics metrics across all of Polymarket: volume, traders, txn counts, fees, yes/no splits, and buy distribution.
36
36
  */
37
- get: operations["get_global_analytics_changes"];
37
+ get: operations["get_analytics_counts"];
38
38
  put?: never;
39
39
  post?: never;
40
40
  delete?: never;
@@ -43,7 +43,7 @@ export interface paths {
43
43
  patch?: never;
44
44
  trace?: never;
45
45
  };
46
- "/polymarket/analytics/counts": {
46
+ "/polymarket/analytics/deltas": {
47
47
  parameters: {
48
48
  query?: never;
49
49
  header?: never;
@@ -51,10 +51,10 @@ export interface paths {
51
51
  cookie?: never;
52
52
  };
53
53
  /**
54
- * Global analytics snapshot
55
- * @description Returns the latest cumulative analytics metrics across all of Polymarket: volume, traders, txn counts, fees, yes/no splits, and buy distribution.
54
+ * Global analytics candles (per-bucket deltas)
55
+ * @description Returns per-bucket deltas (volume, traders, fees etc. that happened *during* each bucket). Use for bar-chart visualisations of activity over time.
56
56
  */
57
- get: operations["get_analytics_counts"];
57
+ get: operations["get_global_analytics_deltas"];
58
58
  put?: never;
59
59
  post?: never;
60
60
  delete?: never;
@@ -203,7 +203,7 @@ export interface paths {
203
203
  patch?: never;
204
204
  trace?: never;
205
205
  };
206
- "/polymarket/events/{event_slug}/analytics/candles": {
206
+ "/polymarket/events/{event_slug}/analytics/changes": {
207
207
  parameters: {
208
208
  query?: never;
209
209
  header?: never;
@@ -211,10 +211,10 @@ export interface paths {
211
211
  cookie?: never;
212
212
  };
213
213
  /**
214
- * Event analytics candles (per-bucket deltas)
215
- * @description Returns per-bucket deltas for a specific event (what happened during each bucket).
214
+ * Event analytics % change
215
+ * @description Per-metric % change over the requested lookback window for a specific event.
216
216
  */
217
- get: operations["get_event_analytics_candles"];
217
+ get: operations["get_event_analytics_changes"];
218
218
  put?: never;
219
219
  post?: never;
220
220
  delete?: never;
@@ -223,7 +223,7 @@ export interface paths {
223
223
  patch?: never;
224
224
  trace?: never;
225
225
  };
226
- "/polymarket/events/{event_slug}/analytics/changes": {
226
+ "/polymarket/events/{event_slug}/analytics/deltas": {
227
227
  parameters: {
228
228
  query?: never;
229
229
  header?: never;
@@ -231,10 +231,10 @@ export interface paths {
231
231
  cookie?: never;
232
232
  };
233
233
  /**
234
- * Event analytics % change
235
- * @description Per-metric % change over the requested lookback window for a specific event.
234
+ * Event analytics candles (per-bucket deltas)
235
+ * @description Returns per-bucket deltas for a specific event (what happened during each bucket).
236
236
  */
237
- get: operations["get_event_analytics_changes"];
237
+ get: operations["get_event_analytics_deltas"];
238
238
  put?: never;
239
239
  post?: never;
240
240
  delete?: never;
@@ -623,7 +623,7 @@ export interface paths {
623
623
  patch?: never;
624
624
  trace?: never;
625
625
  };
626
- "/polymarket/market/{condition_id}/analytics/candles": {
626
+ "/polymarket/market/{condition_id}/analytics/changes": {
627
627
  parameters: {
628
628
  query?: never;
629
629
  header?: never;
@@ -631,10 +631,10 @@ export interface paths {
631
631
  cookie?: never;
632
632
  };
633
633
  /**
634
- * Market analytics candles (per-bucket deltas)
635
- * @description Returns per-bucket deltas for a specific market (what happened during each bucket).
634
+ * Market analytics % change
635
+ * @description Per-metric % change over the requested lookback window for a specific market.
636
636
  */
637
- get: operations["get_market_analytics_candles"];
637
+ get: operations["get_market_analytics_changes"];
638
638
  put?: never;
639
639
  post?: never;
640
640
  delete?: never;
@@ -643,7 +643,7 @@ export interface paths {
643
643
  patch?: never;
644
644
  trace?: never;
645
645
  };
646
- "/polymarket/market/{condition_id}/analytics/changes": {
646
+ "/polymarket/market/{condition_id}/analytics/deltas": {
647
647
  parameters: {
648
648
  query?: never;
649
649
  header?: never;
@@ -651,10 +651,10 @@ export interface paths {
651
651
  cookie?: never;
652
652
  };
653
653
  /**
654
- * Market analytics % change
655
- * @description Per-metric % change over the requested lookback window for a specific market.
654
+ * Market analytics candles (per-bucket deltas)
655
+ * @description Returns per-bucket deltas for a specific market (what happened during each bucket).
656
656
  */
657
- get: operations["get_market_analytics_changes"];
657
+ get: operations["get_market_analytics_deltas"];
658
658
  put?: never;
659
659
  post?: never;
660
660
  delete?: never;
@@ -883,7 +883,7 @@ export interface paths {
883
883
  patch?: never;
884
884
  trace?: never;
885
885
  };
886
- "/polymarket/tags/{tag}/analytics/candles": {
886
+ "/polymarket/tags/{tag}/analytics/changes": {
887
887
  parameters: {
888
888
  query?: never;
889
889
  header?: never;
@@ -891,10 +891,10 @@ export interface paths {
891
891
  cookie?: never;
892
892
  };
893
893
  /**
894
- * Tag analytics candles (per-bucket deltas)
895
- * @description Returns per-bucket deltas for a specific tag (what happened during each bucket).
894
+ * Tag analytics % change
895
+ * @description Per-metric % change over the requested lookback window for a specific tag.
896
896
  */
897
- get: operations["get_tag_analytics_candles"];
897
+ get: operations["get_tag_analytics_changes"];
898
898
  put?: never;
899
899
  post?: never;
900
900
  delete?: never;
@@ -903,7 +903,7 @@ export interface paths {
903
903
  patch?: never;
904
904
  trace?: never;
905
905
  };
906
- "/polymarket/tags/{tag}/analytics/changes": {
906
+ "/polymarket/tags/{tag}/analytics/deltas": {
907
907
  parameters: {
908
908
  query?: never;
909
909
  header?: never;
@@ -911,10 +911,10 @@ export interface paths {
911
911
  cookie?: never;
912
912
  };
913
913
  /**
914
- * Tag analytics % change
915
- * @description Per-metric % change over the requested lookback window for a specific tag.
914
+ * Tag analytics candles (per-bucket deltas)
915
+ * @description Returns per-bucket deltas for a specific tag (what happened during each bucket).
916
916
  */
917
- get: operations["get_tag_analytics_changes"];
917
+ get: operations["get_tag_analytics_deltas"];
918
918
  put?: never;
919
919
  post?: never;
920
920
  delete?: never;
@@ -1183,7 +1183,7 @@ export interface paths {
1183
1183
  patch?: never;
1184
1184
  trace?: never;
1185
1185
  };
1186
- "/polymarket/trader/{address}/analytics/candles": {
1186
+ "/polymarket/trader/{address}/analytics/changes": {
1187
1187
  parameters: {
1188
1188
  query?: never;
1189
1189
  header?: never;
@@ -1191,10 +1191,10 @@ export interface paths {
1191
1191
  cookie?: never;
1192
1192
  };
1193
1193
  /**
1194
- * Trader analytics candles (per-bucket deltas)
1195
- * @description Returns per-bucket deltas for a specific trader address (what happened during each bucket).
1194
+ * Trader analytics % change
1195
+ * @description Per-metric % change over the requested lookback window for a specific trader address.
1196
1196
  */
1197
- get: operations["get_trader_analytics_candles"];
1197
+ get: operations["get_trader_analytics_changes"];
1198
1198
  put?: never;
1199
1199
  post?: never;
1200
1200
  delete?: never;
@@ -1203,7 +1203,7 @@ export interface paths {
1203
1203
  patch?: never;
1204
1204
  trace?: never;
1205
1205
  };
1206
- "/polymarket/trader/{address}/analytics/changes": {
1206
+ "/polymarket/trader/{address}/analytics/deltas": {
1207
1207
  parameters: {
1208
1208
  query?: never;
1209
1209
  header?: never;
@@ -1211,10 +1211,10 @@ export interface paths {
1211
1211
  cookie?: never;
1212
1212
  };
1213
1213
  /**
1214
- * Trader analytics % change
1215
- * @description Per-metric % change over the requested lookback window for a specific trader address.
1214
+ * Trader analytics candles (per-bucket deltas)
1215
+ * @description Returns per-bucket deltas for a specific trader address (what happened during each bucket).
1216
1216
  */
1217
- get: operations["get_trader_analytics_changes"];
1217
+ get: operations["get_trader_analytics_deltas"];
1218
1218
  put?: never;
1219
1219
  post?: never;
1220
1220
  delete?: never;
@@ -1247,6 +1247,14 @@ export interface paths {
1247
1247
  export type webhooks = Record<string, never>;
1248
1248
  export interface components {
1249
1249
  schemas: {
1250
+ /**
1251
+ * @description Resolution for `/analytics/timeseries` and `/analytics/deltas`.
1252
+ * Superset of `CandlestickResolution` — adds 7-day (`W`/`1W`) and calendar
1253
+ * month (`M`/`1M`) buckets, which are pre-aggregated for global and tag
1254
+ * domains and re-bucketed from the `_1d` MV for market/event/trader.
1255
+ * @enum {string}
1256
+ */
1257
+ AnalyticsResolution: "1" | "5" | "15" | "30" | "60" | "240" | "D" | "1D" | "W" | "1W" | "M" | "1M";
1250
1258
  /** @description Output payload for ERC1155 setApprovalForAll events. */
1251
1259
  ApprovalTrade: {
1252
1260
  id: string;
@@ -1446,7 +1454,7 @@ export interface components {
1446
1454
  * @description Lookback window for `/analytics/changes` endpoints.
1447
1455
  * @enum {string}
1448
1456
  */
1449
- ChangeTimeframe: "1h" | "24h" | "7d" | "30d" | "1y";
1457
+ ChangeTimeframe: "1h" | "24h" | "7d" | "30d" | "1mo" | "1y";
1450
1458
  /** @enum {string} */
1451
1459
  ChartResolution: "1H" | "6H" | "1D" | "1W" | "1M" | "ALL";
1452
1460
  /** @description CLOB reward (public API format) */
@@ -3329,19 +3337,11 @@ export interface components {
3329
3337
  }
3330
3338
  export type $defs = Record<string, never>;
3331
3339
  export interface operations {
3332
- get_global_analytics_candles: {
3340
+ get_global_analytics_changes: {
3333
3341
  parameters: {
3334
- query?: {
3335
- /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
3336
- resolution?: components["schemas"]["CandlestickResolution"];
3337
- /** @description Start timestamp (Unix seconds). Omit for all-time. */
3338
- from?: number;
3339
- /** @description End timestamp (Unix seconds) */
3340
- to?: number;
3341
- /** @description Max data points (default: 500, max: 2500) */
3342
- count_back?: number;
3343
- /** @description Cursor from previous response for next page */
3344
- pagination_key?: string;
3342
+ query: {
3343
+ /** @description Lookback window: 1h, 24h, 7d, 30d, 1mo, 1y */
3344
+ timeframe: components["schemas"]["ChangeTimeframe"];
3345
3345
  };
3346
3346
  header?: never;
3347
3347
  path?: never;
@@ -3349,56 +3349,64 @@ export interface operations {
3349
3349
  };
3350
3350
  requestBody?: never;
3351
3351
  responses: {
3352
- /** @description Delta time-bucketed analytics */
3352
+ /** @description Per-metric pct change */
3353
3353
  200: {
3354
3354
  headers: {
3355
3355
  [name: string]: unknown;
3356
3356
  };
3357
3357
  content: {
3358
- "application/json": components["schemas"]["TimeBucketRow"][];
3358
+ "application/json": components["schemas"]["MetricPctChange"];
3359
3359
  };
3360
3360
  };
3361
3361
  };
3362
3362
  };
3363
- get_global_analytics_changes: {
3363
+ get_analytics_counts: {
3364
3364
  parameters: {
3365
- query: {
3366
- /** @description Lookback window: 1h, 24h, 7d, 30d, 1y */
3367
- timeframe: components["schemas"]["ChangeTimeframe"];
3368
- };
3365
+ query?: never;
3369
3366
  header?: never;
3370
3367
  path?: never;
3371
3368
  cookie?: never;
3372
3369
  };
3373
3370
  requestBody?: never;
3374
3371
  responses: {
3375
- /** @description Per-metric pct change */
3372
+ /** @description Latest global metrics snapshot */
3376
3373
  200: {
3377
3374
  headers: {
3378
3375
  [name: string]: unknown;
3379
3376
  };
3380
3377
  content: {
3381
- "application/json": components["schemas"]["MetricPctChange"];
3378
+ "application/json": components["schemas"]["GlobalCountsResponse"];
3382
3379
  };
3383
3380
  };
3384
3381
  };
3385
3382
  };
3386
- get_analytics_counts: {
3383
+ get_global_analytics_deltas: {
3387
3384
  parameters: {
3388
- query?: never;
3385
+ query?: {
3386
+ /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D, W, 1W, M, 1M (default: 60) */
3387
+ resolution?: components["schemas"]["AnalyticsResolution"];
3388
+ /** @description Start timestamp (Unix seconds). Omit for all-time. */
3389
+ from?: number;
3390
+ /** @description End timestamp (Unix seconds) */
3391
+ to?: number;
3392
+ /** @description Max data points (default: 500, max: 2500) */
3393
+ count_back?: number;
3394
+ /** @description Cursor from previous response for next page */
3395
+ pagination_key?: string;
3396
+ };
3389
3397
  header?: never;
3390
3398
  path?: never;
3391
3399
  cookie?: never;
3392
3400
  };
3393
3401
  requestBody?: never;
3394
3402
  responses: {
3395
- /** @description Latest global metrics snapshot */
3403
+ /** @description Delta time-bucketed analytics */
3396
3404
  200: {
3397
3405
  headers: {
3398
3406
  [name: string]: unknown;
3399
3407
  };
3400
3408
  content: {
3401
- "application/json": components["schemas"]["GlobalCountsResponse"];
3409
+ "application/json": components["schemas"]["TimeBucketRow"][];
3402
3410
  };
3403
3411
  };
3404
3412
  };
@@ -3406,8 +3414,8 @@ export interface operations {
3406
3414
  get_global_analytics_timeseries: {
3407
3415
  parameters: {
3408
3416
  query?: {
3409
- /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
3410
- resolution?: components["schemas"]["CandlestickResolution"];
3417
+ /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D, W, 1W, M, 1M (default: 60) */
3418
+ resolution?: components["schemas"]["AnalyticsResolution"];
3411
3419
  /** @description Start timestamp (Unix seconds). Omit for all-time. */
3412
3420
  from?: number;
3413
3421
  /** @description End timestamp (Unix seconds) */
@@ -3700,19 +3708,11 @@ export interface operations {
3700
3708
  };
3701
3709
  };
3702
3710
  };
3703
- get_event_analytics_candles: {
3711
+ get_event_analytics_changes: {
3704
3712
  parameters: {
3705
- query?: {
3706
- /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
3707
- resolution?: components["schemas"]["CandlestickResolution"];
3708
- /** @description Start timestamp (Unix seconds) */
3709
- from?: number;
3710
- /** @description End timestamp (Unix seconds) */
3711
- to?: number;
3712
- /** @description Max data points (default: 500, max: 2500) */
3713
- count_back?: number;
3714
- /** @description Cursor from previous response */
3715
- pagination_key?: string;
3713
+ query: {
3714
+ /** @description Lookback window: 1h, 24h, 7d, 30d, 1mo, 1y */
3715
+ timeframe: components["schemas"]["ChangeTimeframe"];
3716
3716
  };
3717
3717
  header?: never;
3718
3718
  path: {
@@ -3723,22 +3723,30 @@ export interface operations {
3723
3723
  };
3724
3724
  requestBody?: never;
3725
3725
  responses: {
3726
- /** @description Delta time-bucketed event analytics */
3726
+ /** @description Per-metric pct change */
3727
3727
  200: {
3728
3728
  headers: {
3729
3729
  [name: string]: unknown;
3730
3730
  };
3731
3731
  content: {
3732
- "application/json": components["schemas"]["TimeBucketRow"][];
3732
+ "application/json": components["schemas"]["MetricPctChange"];
3733
3733
  };
3734
3734
  };
3735
3735
  };
3736
3736
  };
3737
- get_event_analytics_changes: {
3737
+ get_event_analytics_deltas: {
3738
3738
  parameters: {
3739
- query: {
3740
- /** @description Lookback window: 1h, 24h, 7d, 30d, 1y */
3741
- timeframe: components["schemas"]["ChangeTimeframe"];
3739
+ query?: {
3740
+ /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D, W, 1W, M, 1M (default: 60) */
3741
+ resolution?: components["schemas"]["AnalyticsResolution"];
3742
+ /** @description Start timestamp (Unix seconds) */
3743
+ from?: number;
3744
+ /** @description End timestamp (Unix seconds) */
3745
+ to?: number;
3746
+ /** @description Max data points (default: 500, max: 2500) */
3747
+ count_back?: number;
3748
+ /** @description Cursor from previous response */
3749
+ pagination_key?: string;
3742
3750
  };
3743
3751
  header?: never;
3744
3752
  path: {
@@ -3749,13 +3757,13 @@ export interface operations {
3749
3757
  };
3750
3758
  requestBody?: never;
3751
3759
  responses: {
3752
- /** @description Per-metric pct change */
3760
+ /** @description Delta time-bucketed event analytics */
3753
3761
  200: {
3754
3762
  headers: {
3755
3763
  [name: string]: unknown;
3756
3764
  };
3757
3765
  content: {
3758
- "application/json": components["schemas"]["MetricPctChange"];
3766
+ "application/json": components["schemas"]["TimeBucketRow"][];
3759
3767
  };
3760
3768
  };
3761
3769
  };
@@ -3763,8 +3771,8 @@ export interface operations {
3763
3771
  get_event_analytics_timeseries: {
3764
3772
  parameters: {
3765
3773
  query?: {
3766
- /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
3767
- resolution?: components["schemas"]["CandlestickResolution"];
3774
+ /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D, W, 1W, M, 1M (default: 60) */
3775
+ resolution?: components["schemas"]["AnalyticsResolution"];
3768
3776
  /** @description Start timestamp (Unix seconds) */
3769
3777
  from?: number;
3770
3778
  /** @description End timestamp (Unix seconds) */
@@ -4665,19 +4673,11 @@ export interface operations {
4665
4673
  };
4666
4674
  };
4667
4675
  };
4668
- get_market_analytics_candles: {
4676
+ get_market_analytics_changes: {
4669
4677
  parameters: {
4670
- query?: {
4671
- /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
4672
- resolution?: components["schemas"]["CandlestickResolution"];
4673
- /** @description Start timestamp (Unix seconds) */
4674
- from?: number;
4675
- /** @description End timestamp (Unix seconds) */
4676
- to?: number;
4677
- /** @description Max data points (default: 500, max: 2500) */
4678
- count_back?: number;
4679
- /** @description Cursor from previous response */
4680
- pagination_key?: string;
4678
+ query: {
4679
+ /** @description Lookback window: 1h, 24h, 7d, 30d, 1mo, 1y */
4680
+ timeframe: components["schemas"]["ChangeTimeframe"];
4681
4681
  };
4682
4682
  header?: never;
4683
4683
  path: {
@@ -4688,22 +4688,30 @@ export interface operations {
4688
4688
  };
4689
4689
  requestBody?: never;
4690
4690
  responses: {
4691
- /** @description Delta time-bucketed market analytics */
4691
+ /** @description Per-metric pct change */
4692
4692
  200: {
4693
4693
  headers: {
4694
4694
  [name: string]: unknown;
4695
4695
  };
4696
4696
  content: {
4697
- "application/json": components["schemas"]["TimeBucketRow"][];
4697
+ "application/json": components["schemas"]["MetricPctChange"];
4698
4698
  };
4699
4699
  };
4700
4700
  };
4701
4701
  };
4702
- get_market_analytics_changes: {
4702
+ get_market_analytics_deltas: {
4703
4703
  parameters: {
4704
- query: {
4705
- /** @description Lookback window: 1h, 24h, 7d, 30d, 1y */
4706
- timeframe: components["schemas"]["ChangeTimeframe"];
4704
+ query?: {
4705
+ /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D, W, 1W, M, 1M (default: 60) */
4706
+ resolution?: components["schemas"]["AnalyticsResolution"];
4707
+ /** @description Start timestamp (Unix seconds) */
4708
+ from?: number;
4709
+ /** @description End timestamp (Unix seconds) */
4710
+ to?: number;
4711
+ /** @description Max data points (default: 500, max: 2500) */
4712
+ count_back?: number;
4713
+ /** @description Cursor from previous response */
4714
+ pagination_key?: string;
4707
4715
  };
4708
4716
  header?: never;
4709
4717
  path: {
@@ -4714,13 +4722,13 @@ export interface operations {
4714
4722
  };
4715
4723
  requestBody?: never;
4716
4724
  responses: {
4717
- /** @description Per-metric pct change */
4725
+ /** @description Delta time-bucketed market analytics */
4718
4726
  200: {
4719
4727
  headers: {
4720
4728
  [name: string]: unknown;
4721
4729
  };
4722
4730
  content: {
4723
- "application/json": components["schemas"]["MetricPctChange"];
4731
+ "application/json": components["schemas"]["TimeBucketRow"][];
4724
4732
  };
4725
4733
  };
4726
4734
  };
@@ -4728,8 +4736,8 @@ export interface operations {
4728
4736
  get_market_analytics_timeseries: {
4729
4737
  parameters: {
4730
4738
  query?: {
4731
- /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
4732
- resolution?: components["schemas"]["CandlestickResolution"];
4739
+ /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D, W, 1W, M, 1M (default: 60) */
4740
+ resolution?: components["schemas"]["AnalyticsResolution"];
4733
4741
  /** @description Start timestamp (Unix seconds) */
4734
4742
  from?: number;
4735
4743
  /** @description End timestamp (Unix seconds) */
@@ -5234,19 +5242,11 @@ export interface operations {
5234
5242
  };
5235
5243
  };
5236
5244
  };
5237
- get_tag_analytics_candles: {
5245
+ get_tag_analytics_changes: {
5238
5246
  parameters: {
5239
- query?: {
5240
- /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
5241
- resolution?: components["schemas"]["CandlestickResolution"];
5242
- /** @description Start timestamp (Unix seconds) */
5243
- from?: number;
5244
- /** @description End timestamp (Unix seconds) */
5245
- to?: number;
5246
- /** @description Max data points (default: 500, max: 2500) */
5247
- count_back?: number;
5248
- /** @description Cursor from previous response */
5249
- pagination_key?: string;
5247
+ query: {
5248
+ /** @description Lookback window: 1h, 24h, 7d, 30d, 1mo, 1y */
5249
+ timeframe: components["schemas"]["ChangeTimeframe"];
5250
5250
  };
5251
5251
  header?: never;
5252
5252
  path: {
@@ -5257,22 +5257,30 @@ export interface operations {
5257
5257
  };
5258
5258
  requestBody?: never;
5259
5259
  responses: {
5260
- /** @description Delta time-bucketed tag analytics */
5260
+ /** @description Per-metric pct change */
5261
5261
  200: {
5262
5262
  headers: {
5263
5263
  [name: string]: unknown;
5264
5264
  };
5265
5265
  content: {
5266
- "application/json": components["schemas"]["TimeBucketRow"][];
5266
+ "application/json": components["schemas"]["MetricPctChange"];
5267
5267
  };
5268
5268
  };
5269
5269
  };
5270
5270
  };
5271
- get_tag_analytics_changes: {
5271
+ get_tag_analytics_deltas: {
5272
5272
  parameters: {
5273
- query: {
5274
- /** @description Lookback window: 1h, 24h, 7d, 30d, 1y */
5275
- timeframe: components["schemas"]["ChangeTimeframe"];
5273
+ query?: {
5274
+ /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D, W, 1W, M, 1M (default: 60) */
5275
+ resolution?: components["schemas"]["AnalyticsResolution"];
5276
+ /** @description Start timestamp (Unix seconds) */
5277
+ from?: number;
5278
+ /** @description End timestamp (Unix seconds) */
5279
+ to?: number;
5280
+ /** @description Max data points (default: 500, max: 2500) */
5281
+ count_back?: number;
5282
+ /** @description Cursor from previous response */
5283
+ pagination_key?: string;
5276
5284
  };
5277
5285
  header?: never;
5278
5286
  path: {
@@ -5283,13 +5291,13 @@ export interface operations {
5283
5291
  };
5284
5292
  requestBody?: never;
5285
5293
  responses: {
5286
- /** @description Per-metric pct change */
5294
+ /** @description Delta time-bucketed tag analytics */
5287
5295
  200: {
5288
5296
  headers: {
5289
5297
  [name: string]: unknown;
5290
5298
  };
5291
5299
  content: {
5292
- "application/json": components["schemas"]["MetricPctChange"];
5300
+ "application/json": components["schemas"]["TimeBucketRow"][];
5293
5301
  };
5294
5302
  };
5295
5303
  };
@@ -5297,8 +5305,8 @@ export interface operations {
5297
5305
  get_tag_analytics_timeseries: {
5298
5306
  parameters: {
5299
5307
  query?: {
5300
- /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
5301
- resolution?: components["schemas"]["CandlestickResolution"];
5308
+ /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D, W, 1W, M, 1M (default: 60) */
5309
+ resolution?: components["schemas"]["AnalyticsResolution"];
5302
5310
  /** @description Start timestamp (Unix seconds) */
5303
5311
  from?: number;
5304
5312
  /** @description End timestamp (Unix seconds) */
@@ -5763,19 +5771,11 @@ export interface operations {
5763
5771
  };
5764
5772
  };
5765
5773
  };
5766
- get_trader_analytics_candles: {
5774
+ get_trader_analytics_changes: {
5767
5775
  parameters: {
5768
- query?: {
5769
- /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
5770
- resolution?: components["schemas"]["CandlestickResolution"];
5771
- /** @description Start timestamp (Unix seconds) */
5772
- from?: number;
5773
- /** @description End timestamp (Unix seconds) */
5774
- to?: number;
5775
- /** @description Max data points (default: 500, max: 2500) */
5776
- count_back?: number;
5777
- /** @description Cursor from previous response */
5778
- pagination_key?: string;
5776
+ query: {
5777
+ /** @description Lookback window: 1h, 24h, 7d, 30d, 1mo, 1y */
5778
+ timeframe: components["schemas"]["ChangeTimeframe"];
5779
5779
  };
5780
5780
  header?: never;
5781
5781
  path: {
@@ -5786,22 +5786,30 @@ export interface operations {
5786
5786
  };
5787
5787
  requestBody?: never;
5788
5788
  responses: {
5789
- /** @description Delta time-bucketed trader analytics */
5789
+ /** @description Per-metric pct change */
5790
5790
  200: {
5791
5791
  headers: {
5792
5792
  [name: string]: unknown;
5793
5793
  };
5794
5794
  content: {
5795
- "application/json": components["schemas"]["TimeBucketRow"][];
5795
+ "application/json": components["schemas"]["MetricPctChange"];
5796
5796
  };
5797
5797
  };
5798
5798
  };
5799
5799
  };
5800
- get_trader_analytics_changes: {
5800
+ get_trader_analytics_deltas: {
5801
5801
  parameters: {
5802
- query: {
5803
- /** @description Lookback window: 1h, 24h, 7d, 30d, 1y */
5804
- timeframe: components["schemas"]["ChangeTimeframe"];
5802
+ query?: {
5803
+ /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D, W, 1W, M, 1M (default: 60) */
5804
+ resolution?: components["schemas"]["AnalyticsResolution"];
5805
+ /** @description Start timestamp (Unix seconds) */
5806
+ from?: number;
5807
+ /** @description End timestamp (Unix seconds) */
5808
+ to?: number;
5809
+ /** @description Max data points (default: 500, max: 2500) */
5810
+ count_back?: number;
5811
+ /** @description Cursor from previous response */
5812
+ pagination_key?: string;
5805
5813
  };
5806
5814
  header?: never;
5807
5815
  path: {
@@ -5812,13 +5820,13 @@ export interface operations {
5812
5820
  };
5813
5821
  requestBody?: never;
5814
5822
  responses: {
5815
- /** @description Per-metric pct change */
5823
+ /** @description Delta time-bucketed trader analytics */
5816
5824
  200: {
5817
5825
  headers: {
5818
5826
  [name: string]: unknown;
5819
5827
  };
5820
5828
  content: {
5821
- "application/json": components["schemas"]["MetricPctChange"];
5829
+ "application/json": components["schemas"]["TimeBucketRow"][];
5822
5830
  };
5823
5831
  };
5824
5832
  };
@@ -5826,8 +5834,8 @@ export interface operations {
5826
5834
  get_trader_analytics_timeseries: {
5827
5835
  parameters: {
5828
5836
  query?: {
5829
- /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
5830
- resolution?: components["schemas"]["CandlestickResolution"];
5837
+ /** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D, W, 1W, M, 1M (default: 60) */
5838
+ resolution?: components["schemas"]["AnalyticsResolution"];
5831
5839
  /** @description Start timestamp (Unix seconds) */
5832
5840
  from?: number;
5833
5841
  /** @description End timestamp (Unix seconds) */