pmxtjs 2.27.4 → 2.27.5

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 (63) hide show
  1. package/dist/esm/generated/src/models/Balance.d.ts +2 -2
  2. package/dist/esm/generated/src/models/CreateOrderParams.d.ts +5 -5
  3. package/dist/esm/generated/src/models/EventFetchParams.d.ts +4 -4
  4. package/dist/esm/generated/src/models/ExchangeCredentials.d.ts +2 -2
  5. package/dist/esm/generated/src/models/HistoryFilterParams.d.ts +3 -3
  6. package/dist/esm/generated/src/models/MarketFilterParams.d.ts +3 -3
  7. package/dist/esm/generated/src/models/MarketOutcome.d.ts +3 -3
  8. package/dist/esm/generated/src/models/MyTradesParams.d.ts +3 -3
  9. package/dist/esm/generated/src/models/OHLCVParams.d.ts +3 -3
  10. package/dist/esm/generated/src/models/Order.d.ts +8 -8
  11. package/dist/esm/generated/src/models/OrderBook.d.ts +3 -3
  12. package/dist/esm/generated/src/models/OrderHistoryParams.d.ts +4 -4
  13. package/dist/esm/generated/src/models/PaginatedMarketsResult.d.ts +3 -3
  14. package/dist/esm/generated/src/models/Position.d.ts +7 -7
  15. package/dist/esm/generated/src/models/PriceCandle.d.ts +6 -6
  16. package/dist/esm/generated/src/models/Trade.d.ts +6 -6
  17. package/dist/esm/generated/src/models/TradesParams.d.ts +3 -3
  18. package/dist/esm/generated/src/models/UnifiedEvent.d.ts +10 -10
  19. package/dist/esm/generated/src/models/UnifiedMarket.d.ts +16 -16
  20. package/dist/esm/generated/src/models/UserTrade.d.ts +7 -7
  21. package/dist/generated/src/models/Balance.d.ts +2 -2
  22. package/dist/generated/src/models/CreateOrderParams.d.ts +5 -5
  23. package/dist/generated/src/models/EventFetchParams.d.ts +4 -4
  24. package/dist/generated/src/models/ExchangeCredentials.d.ts +2 -2
  25. package/dist/generated/src/models/HistoryFilterParams.d.ts +3 -3
  26. package/dist/generated/src/models/MarketFilterParams.d.ts +3 -3
  27. package/dist/generated/src/models/MarketOutcome.d.ts +3 -3
  28. package/dist/generated/src/models/MyTradesParams.d.ts +3 -3
  29. package/dist/generated/src/models/OHLCVParams.d.ts +3 -3
  30. package/dist/generated/src/models/Order.d.ts +8 -8
  31. package/dist/generated/src/models/OrderBook.d.ts +3 -3
  32. package/dist/generated/src/models/OrderHistoryParams.d.ts +4 -4
  33. package/dist/generated/src/models/PaginatedMarketsResult.d.ts +3 -3
  34. package/dist/generated/src/models/Position.d.ts +7 -7
  35. package/dist/generated/src/models/PriceCandle.d.ts +6 -6
  36. package/dist/generated/src/models/Trade.d.ts +6 -6
  37. package/dist/generated/src/models/TradesParams.d.ts +3 -3
  38. package/dist/generated/src/models/UnifiedEvent.d.ts +10 -10
  39. package/dist/generated/src/models/UnifiedMarket.d.ts +16 -16
  40. package/dist/generated/src/models/UserTrade.d.ts +7 -7
  41. package/generated/docs/DefaultApi.md +62 -62
  42. package/generated/package.json +1 -1
  43. package/generated/src/models/Balance.ts +2 -2
  44. package/generated/src/models/CreateOrderParams.ts +5 -5
  45. package/generated/src/models/EventFetchParams.ts +4 -4
  46. package/generated/src/models/ExchangeCredentials.ts +2 -2
  47. package/generated/src/models/HistoryFilterParams.ts +3 -3
  48. package/generated/src/models/MarketFilterParams.ts +3 -3
  49. package/generated/src/models/MarketOutcome.ts +3 -3
  50. package/generated/src/models/MyTradesParams.ts +3 -3
  51. package/generated/src/models/OHLCVParams.ts +3 -3
  52. package/generated/src/models/Order.ts +8 -8
  53. package/generated/src/models/OrderBook.ts +3 -3
  54. package/generated/src/models/OrderHistoryParams.ts +4 -4
  55. package/generated/src/models/PaginatedMarketsResult.ts +3 -3
  56. package/generated/src/models/Position.ts +7 -7
  57. package/generated/src/models/PriceCandle.ts +6 -6
  58. package/generated/src/models/Trade.ts +6 -6
  59. package/generated/src/models/TradesParams.ts +3 -3
  60. package/generated/src/models/UnifiedEvent.ts +10 -10
  61. package/generated/src/models/UnifiedMarket.ts +16 -16
  62. package/generated/src/models/UserTrade.ts +7 -7
  63. package/package.json +2 -2
@@ -16,19 +16,19 @@
16
16
  */
17
17
  export interface TradesParams {
18
18
  /**
19
- *
19
+ * Start of the time range
20
20
  * @type {Date}
21
21
  * @memberof TradesParams
22
22
  */
23
23
  start?: Date;
24
24
  /**
25
- *
25
+ * End of the time range
26
26
  * @type {Date}
27
27
  * @memberof TradesParams
28
28
  */
29
29
  end?: Date;
30
30
  /**
31
- *
31
+ * Maximum number of results to return
32
32
  * @type {number}
33
33
  * @memberof TradesParams
34
34
  */
@@ -17,37 +17,37 @@ import type { UnifiedMarket } from './UnifiedMarket';
17
17
  */
18
18
  export interface UnifiedEvent {
19
19
  /**
20
- *
20
+ * The unique identifier for this event.
21
21
  * @type {string}
22
22
  * @memberof UnifiedEvent
23
23
  */
24
24
  id: string;
25
25
  /**
26
- *
26
+ * The event title (e.g., "Who will be Fed Chair?").
27
27
  * @type {string}
28
28
  * @memberof UnifiedEvent
29
29
  */
30
30
  title: string;
31
31
  /**
32
- *
32
+ * Long-form event description.
33
33
  * @type {string}
34
34
  * @memberof UnifiedEvent
35
35
  */
36
36
  description: string;
37
37
  /**
38
- *
38
+ * URL-friendly slug for the event.
39
39
  * @type {string}
40
40
  * @memberof UnifiedEvent
41
41
  */
42
42
  slug: string;
43
43
  /**
44
- *
44
+ * Markets grouped under this event.
45
45
  * @type {Array<UnifiedMarket>}
46
46
  * @memberof UnifiedEvent
47
47
  */
48
48
  markets: Array<UnifiedMarket>;
49
49
  /**
50
- *
50
+ * Trading volume over the past 24 hours (USD).
51
51
  * @type {number}
52
52
  * @memberof UnifiedEvent
53
53
  */
@@ -59,25 +59,25 @@ export interface UnifiedEvent {
59
59
  */
60
60
  volume?: number;
61
61
  /**
62
- *
62
+ * Canonical URL to view the event on the venue.
63
63
  * @type {string}
64
64
  * @memberof UnifiedEvent
65
65
  */
66
66
  url: string;
67
67
  /**
68
- *
68
+ * Optional image URL for the event.
69
69
  * @type {string}
70
70
  * @memberof UnifiedEvent
71
71
  */
72
72
  image?: string;
73
73
  /**
74
- *
74
+ * Optional category label (e.g., "Politics", "Sports").
75
75
  * @type {string}
76
76
  * @memberof UnifiedEvent
77
77
  */
78
78
  category?: string;
79
79
  /**
80
- *
80
+ * Optional list of tags associated with the event.
81
81
  * @type {Array<string>}
82
82
  * @memberof UnifiedEvent
83
83
  */
@@ -29,37 +29,37 @@ export interface UnifiedMarket {
29
29
  */
30
30
  eventId?: string;
31
31
  /**
32
- *
32
+ * The market title (e.g., "Will BTC close above $100k on Dec 31?").
33
33
  * @type {string}
34
34
  * @memberof UnifiedMarket
35
35
  */
36
36
  title: string;
37
37
  /**
38
- *
38
+ * Long-form market description or resolution criteria.
39
39
  * @type {string}
40
40
  * @memberof UnifiedMarket
41
41
  */
42
42
  description: string;
43
43
  /**
44
- *
44
+ * URL-friendly slug for the market.
45
45
  * @type {string}
46
46
  * @memberof UnifiedMarket
47
47
  */
48
48
  slug?: string;
49
49
  /**
50
- *
50
+ * The possible outcomes for this market.
51
51
  * @type {Array<MarketOutcome>}
52
52
  * @memberof UnifiedMarket
53
53
  */
54
54
  outcomes: Array<MarketOutcome>;
55
55
  /**
56
- *
56
+ * When the market is scheduled to resolve.
57
57
  * @type {Date}
58
58
  * @memberof UnifiedMarket
59
59
  */
60
60
  resolutionDate: Date;
61
61
  /**
62
- *
62
+ * Trading volume over the past 24 hours (USD).
63
63
  * @type {number}
64
64
  * @memberof UnifiedMarket
65
65
  */
@@ -71,37 +71,37 @@ export interface UnifiedMarket {
71
71
  */
72
72
  volume?: number;
73
73
  /**
74
- *
74
+ * Current market liquidity (USD).
75
75
  * @type {number}
76
76
  * @memberof UnifiedMarket
77
77
  */
78
78
  liquidity: number;
79
79
  /**
80
- *
80
+ * Total value of outstanding contracts (USD).
81
81
  * @type {number}
82
82
  * @memberof UnifiedMarket
83
83
  */
84
84
  openInterest?: number;
85
85
  /**
86
- *
86
+ * Canonical URL to view the market on the venue.
87
87
  * @type {string}
88
88
  * @memberof UnifiedMarket
89
89
  */
90
90
  url: string;
91
91
  /**
92
- *
92
+ * Optional image URL for the market.
93
93
  * @type {string}
94
94
  * @memberof UnifiedMarket
95
95
  */
96
96
  image?: string;
97
97
  /**
98
- *
98
+ * Optional category label (e.g., "Politics", "Crypto").
99
99
  * @type {string}
100
100
  * @memberof UnifiedMarket
101
101
  */
102
102
  category?: string;
103
103
  /**
104
- *
104
+ * Optional list of tags associated with the market.
105
105
  * @type {Array<string>}
106
106
  * @memberof UnifiedMarket
107
107
  */
@@ -125,25 +125,25 @@ export interface UnifiedMarket {
125
125
  */
126
126
  contractAddress?: string;
127
127
  /**
128
- *
128
+ * Convenience accessor for the YES outcome on a binary market.
129
129
  * @type {MarketOutcome}
130
130
  * @memberof UnifiedMarket
131
131
  */
132
132
  yes?: MarketOutcome;
133
133
  /**
134
- *
134
+ * Convenience accessor for the NO outcome on a binary market.
135
135
  * @type {MarketOutcome}
136
136
  * @memberof UnifiedMarket
137
137
  */
138
138
  no?: MarketOutcome;
139
139
  /**
140
- *
140
+ * Convenience accessor for the UP outcome on a binary market.
141
141
  * @type {MarketOutcome}
142
142
  * @memberof UnifiedMarket
143
143
  */
144
144
  up?: MarketOutcome;
145
145
  /**
146
- *
146
+ * Convenience accessor for the DOWN outcome on a binary market.
147
147
  * @type {MarketOutcome}
148
148
  * @memberof UnifiedMarket
149
149
  */
@@ -16,43 +16,43 @@
16
16
  */
17
17
  export interface UserTrade {
18
18
  /**
19
- *
19
+ * The unique identifier for this trade.
20
20
  * @type {string}
21
21
  * @memberof UserTrade
22
22
  */
23
23
  id: string;
24
24
  /**
25
- *
25
+ * Unix timestamp in milliseconds when the trade executed.
26
26
  * @type {number}
27
27
  * @memberof UserTrade
28
28
  */
29
29
  timestamp: number;
30
30
  /**
31
- *
31
+ * Probability between 0.0 and 1.0.
32
32
  * @type {number}
33
33
  * @memberof UserTrade
34
34
  */
35
35
  price: number;
36
36
  /**
37
- *
37
+ * Size of the trade in contracts/shares.
38
38
  * @type {number}
39
39
  * @memberof UserTrade
40
40
  */
41
41
  amount: number;
42
42
  /**
43
- *
43
+ * Trade side from the taker's perspective.
44
44
  * @type {string}
45
45
  * @memberof UserTrade
46
46
  */
47
47
  side: UserTradeSideEnum;
48
48
  /**
49
- *
49
+ * The outcome this trade is for (if known).
50
50
  * @type {string}
51
51
  * @memberof UserTrade
52
52
  */
53
53
  outcomeId?: string;
54
54
  /**
55
- *
55
+ * The order that produced this trade, if known.
56
56
  * @type {string}
57
57
  * @memberof UserTrade
58
58
  */
@@ -341,13 +341,13 @@ async function example() {
341
341
  exchange: exchange_example,
342
342
  // string | required for Limitless (slug) (optional)
343
343
  marketId: marketId_example,
344
- // Date (optional)
344
+ // Date | Only return records after this date (optional)
345
345
  since: 2013-10-20T19:20:30+01:00,
346
- // Date (optional)
346
+ // Date | Only return records before this date (optional)
347
347
  until: 2013-10-20T19:20:30+01:00,
348
- // number (optional)
348
+ // number | Maximum number of results to return (optional)
349
349
  limit: 8.14,
350
- // string (optional)
350
+ // string | Opaque pagination cursor from a previous response (optional)
351
351
  cursor: cursor_example,
352
352
  } satisfies FetchAllOrdersRequest;
353
353
 
@@ -370,10 +370,10 @@ example().catch(console.error);
370
370
  |------------- | ------------- | ------------- | -------------|
371
371
  | **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us] |
372
372
  | **marketId** | `string` | required for Limitless (slug) | [Optional] [Defaults to `undefined`] |
373
- | **since** | `Date` | | [Optional] [Defaults to `undefined`] |
374
- | **until** | `Date` | | [Optional] [Defaults to `undefined`] |
375
- | **limit** | `number` | | [Optional] [Defaults to `undefined`] |
376
- | **cursor** | `string` | | [Optional] [Defaults to `undefined`] |
373
+ | **since** | `Date` | Only return records after this date | [Optional] [Defaults to `undefined`] |
374
+ | **until** | `Date` | Only return records before this date | [Optional] [Defaults to `undefined`] |
375
+ | **limit** | `number` | Maximum number of results to return | [Optional] [Defaults to `undefined`] |
376
+ | **cursor** | `string` | Opaque pagination cursor from a previous response | [Optional] [Defaults to `undefined`] |
377
377
 
378
378
  ### Return type
379
379
 
@@ -491,13 +491,13 @@ async function example() {
491
491
  exchange: exchange_example,
492
492
  // string | required for Limitless (slug) (optional)
493
493
  marketId: marketId_example,
494
- // Date (optional)
494
+ // Date | Only return records after this date (optional)
495
495
  since: 2013-10-20T19:20:30+01:00,
496
- // Date (optional)
496
+ // Date | Only return records before this date (optional)
497
497
  until: 2013-10-20T19:20:30+01:00,
498
- // number (optional)
498
+ // number | Maximum number of results to return (optional)
499
499
  limit: 8.14,
500
- // string (optional)
500
+ // string | Opaque pagination cursor from a previous response (optional)
501
501
  cursor: cursor_example,
502
502
  } satisfies FetchClosedOrdersRequest;
503
503
 
@@ -520,10 +520,10 @@ example().catch(console.error);
520
520
  |------------- | ------------- | ------------- | -------------|
521
521
  | **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us] |
522
522
  | **marketId** | `string` | required for Limitless (slug) | [Optional] [Defaults to `undefined`] |
523
- | **since** | `Date` | | [Optional] [Defaults to `undefined`] |
524
- | **until** | `Date` | | [Optional] [Defaults to `undefined`] |
525
- | **limit** | `number` | | [Optional] [Defaults to `undefined`] |
526
- | **cursor** | `string` | | [Optional] [Defaults to `undefined`] |
523
+ | **since** | `Date` | Only return records after this date | [Optional] [Defaults to `undefined`] |
524
+ | **until** | `Date` | Only return records before this date | [Optional] [Defaults to `undefined`] |
525
+ | **limit** | `number` | Maximum number of results to return | [Optional] [Defaults to `undefined`] |
526
+ | **cursor** | `string` | Opaque pagination cursor from a previous response | [Optional] [Defaults to `undefined`] |
527
527
 
528
528
  ### Return type
529
529
 
@@ -573,15 +573,15 @@ async function example() {
573
573
  exchange: exchange_example,
574
574
  // string | For keyword search (optional)
575
575
  query: query_example,
576
- // number (optional)
576
+ // number | Maximum number of results to return (optional)
577
577
  limit: 8.14,
578
- // number (optional)
578
+ // number | Pagination offset — number of results to skip (optional)
579
579
  offset: 8.14,
580
- // 'volume' | 'liquidity' | 'newest' (optional)
580
+ // 'volume' | 'liquidity' | 'newest' | Sort order for results (optional)
581
581
  sort: sort_example,
582
582
  // 'active' | 'inactive' | 'closed' | 'all' | Filter by event status (default: \'active\', \'inactive\' and \'closed\' are interchangeable) (optional)
583
583
  status: status_example,
584
- // 'title' | 'description' | 'both' (optional)
584
+ // 'title' | 'description' | 'both' | Where to search (default: \'title\') (optional)
585
585
  searchIn: searchIn_example,
586
586
  // string | Direct lookup by event ID (optional)
587
587
  eventId: eventId_example,
@@ -608,11 +608,11 @@ example().catch(console.error);
608
608
  |------------- | ------------- | ------------- | -------------|
609
609
  | **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us] |
610
610
  | **query** | `string` | For keyword search | [Optional] [Defaults to `undefined`] |
611
- | **limit** | `number` | | [Optional] [Defaults to `undefined`] |
612
- | **offset** | `number` | | [Optional] [Defaults to `undefined`] |
613
- | **sort** | `volume`, `liquidity`, `newest` | | [Optional] [Defaults to `undefined`] [Enum: volume, liquidity, newest] |
611
+ | **limit** | `number` | Maximum number of results to return | [Optional] [Defaults to `undefined`] |
612
+ | **offset** | `number` | Pagination offset — number of results to skip | [Optional] [Defaults to `undefined`] |
613
+ | **sort** | `volume`, `liquidity`, `newest` | Sort order for results | [Optional] [Defaults to `undefined`] [Enum: volume, liquidity, newest] |
614
614
  | **status** | `active`, `inactive`, `closed`, `all` | Filter by event status (default: \&#39;active\&#39;, \&#39;inactive\&#39; and \&#39;closed\&#39; are interchangeable) | [Optional] [Defaults to `undefined`] [Enum: active, inactive, closed, all] |
615
- | **searchIn** | `title`, `description`, `both` | | [Optional] [Defaults to `undefined`] [Enum: title, description, both] |
615
+ | **searchIn** | `title`, `description`, `both` | Where to search (default: \&#39;title\&#39;) | [Optional] [Defaults to `undefined`] [Enum: title, description, both] |
616
616
  | **eventId** | `string` | Direct lookup by event ID | [Optional] [Defaults to `undefined`] |
617
617
  | **slug** | `string` | Lookup by event slug | [Optional] [Defaults to `undefined`] |
618
618
 
@@ -664,15 +664,15 @@ async function example() {
664
664
  exchange: exchange_example,
665
665
  // string | For keyword search (optional)
666
666
  query: query_example,
667
- // number (optional)
667
+ // number | Maximum number of results to return (optional)
668
668
  limit: 8.14,
669
- // number (optional)
669
+ // number | Pagination offset — number of results to skip (optional)
670
670
  offset: 8.14,
671
- // 'volume' | 'liquidity' | 'newest' (optional)
671
+ // 'volume' | 'liquidity' | 'newest' | Sort order for results (optional)
672
672
  sort: sort_example,
673
673
  // 'active' | 'inactive' | 'closed' | 'all' | Filter by event status (default: \'active\', \'inactive\' and \'closed\' are interchangeable) (optional)
674
674
  status: status_example,
675
- // 'title' | 'description' | 'both' (optional)
675
+ // 'title' | 'description' | 'both' | Where to search (default: \'title\') (optional)
676
676
  searchIn: searchIn_example,
677
677
  // string | Direct lookup by event ID (optional)
678
678
  eventId: eventId_example,
@@ -699,11 +699,11 @@ example().catch(console.error);
699
699
  |------------- | ------------- | ------------- | -------------|
700
700
  | **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us] |
701
701
  | **query** | `string` | For keyword search | [Optional] [Defaults to `undefined`] |
702
- | **limit** | `number` | | [Optional] [Defaults to `undefined`] |
703
- | **offset** | `number` | | [Optional] [Defaults to `undefined`] |
704
- | **sort** | `volume`, `liquidity`, `newest` | | [Optional] [Defaults to `undefined`] [Enum: volume, liquidity, newest] |
702
+ | **limit** | `number` | Maximum number of results to return | [Optional] [Defaults to `undefined`] |
703
+ | **offset** | `number` | Pagination offset — number of results to skip | [Optional] [Defaults to `undefined`] |
704
+ | **sort** | `volume`, `liquidity`, `newest` | Sort order for results | [Optional] [Defaults to `undefined`] [Enum: volume, liquidity, newest] |
705
705
  | **status** | `active`, `inactive`, `closed`, `all` | Filter by event status (default: \&#39;active\&#39;, \&#39;inactive\&#39; and \&#39;closed\&#39; are interchangeable) | [Optional] [Defaults to `undefined`] [Enum: active, inactive, closed, all] |
706
- | **searchIn** | `title`, `description`, `both` | | [Optional] [Defaults to `undefined`] [Enum: title, description, both] |
706
+ | **searchIn** | `title`, `description`, `both` | Where to search (default: \&#39;title\&#39;) | [Optional] [Defaults to `undefined`] [Enum: title, description, both] |
707
707
  | **eventId** | `string` | Direct lookup by event ID | [Optional] [Defaults to `undefined`] |
708
708
  | **slug** | `string` | Lookup by event slug | [Optional] [Defaults to `undefined`] |
709
709
 
@@ -753,11 +753,11 @@ async function example() {
753
753
  const body = {
754
754
  // 'polymarket' | 'kalshi' | 'kalshi-demo' | 'limitless' | 'probable' | 'baozi' | 'myriad' | 'opinion' | 'metaculus' | 'smarkets' | 'polymarket_us' | The prediction market exchange to target.
755
755
  exchange: exchange_example,
756
- // number (optional)
756
+ // number | Maximum number of results to return (optional)
757
757
  limit: 8.14,
758
- // number (optional)
758
+ // number | Pagination offset — number of results to skip (optional)
759
759
  offset: 8.14,
760
- // 'volume' | 'liquidity' | 'newest' (optional)
760
+ // 'volume' | 'liquidity' | 'newest' | Sort order for results (optional)
761
761
  sort: sort_example,
762
762
  // 'active' | 'inactive' | 'closed' | 'all' | Filter by market status (default: \'active\', \'inactive\' and \'closed\' are interchangeable) (optional)
763
763
  status: status_example,
@@ -797,9 +797,9 @@ example().catch(console.error);
797
797
  | Name | Type | Description | Notes |
798
798
  |------------- | ------------- | ------------- | -------------|
799
799
  | **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us] |
800
- | **limit** | `number` | | [Optional] [Defaults to `undefined`] |
801
- | **offset** | `number` | | [Optional] [Defaults to `undefined`] |
802
- | **sort** | `volume`, `liquidity`, `newest` | | [Optional] [Defaults to `undefined`] [Enum: volume, liquidity, newest] |
800
+ | **limit** | `number` | Maximum number of results to return | [Optional] [Defaults to `undefined`] |
801
+ | **offset** | `number` | Pagination offset — number of results to skip | [Optional] [Defaults to `undefined`] |
802
+ | **sort** | `volume`, `liquidity`, `newest` | Sort order for results | [Optional] [Defaults to `undefined`] [Enum: volume, liquidity, newest] |
803
803
  | **status** | `active`, `inactive`, `closed`, `all` | Filter by market status (default: \&#39;active\&#39;, \&#39;inactive\&#39; and \&#39;closed\&#39; are interchangeable) | [Optional] [Defaults to `undefined`] [Enum: active, inactive, closed, all] |
804
804
  | **searchIn** | `title`, `description`, `both` | Where to search (default: \&#39;title\&#39;) | [Optional] [Defaults to `undefined`] [Enum: title, description, both] |
805
805
  | **query** | `string` | For keyword search | [Optional] [Defaults to `undefined`] |
@@ -856,11 +856,11 @@ async function example() {
856
856
  const body = {
857
857
  // 'polymarket' | 'kalshi' | 'kalshi-demo' | 'limitless' | 'probable' | 'baozi' | 'myriad' | 'opinion' | 'metaculus' | 'smarkets' | 'polymarket_us' | The prediction market exchange to target.
858
858
  exchange: exchange_example,
859
- // number (optional)
859
+ // number | Maximum number of results to return (optional)
860
860
  limit: 8.14,
861
- // number (optional)
861
+ // number | Pagination offset — number of results to skip (optional)
862
862
  offset: 8.14,
863
- // 'volume' | 'liquidity' | 'newest' (optional)
863
+ // 'volume' | 'liquidity' | 'newest' | Sort order for results (optional)
864
864
  sort: sort_example,
865
865
  // 'active' | 'inactive' | 'closed' | 'all' | Filter by market status (default: \'active\', \'inactive\' and \'closed\' are interchangeable) (optional)
866
866
  status: status_example,
@@ -900,9 +900,9 @@ example().catch(console.error);
900
900
  | Name | Type | Description | Notes |
901
901
  |------------- | ------------- | ------------- | -------------|
902
902
  | **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us] |
903
- | **limit** | `number` | | [Optional] [Defaults to `undefined`] |
904
- | **offset** | `number` | | [Optional] [Defaults to `undefined`] |
905
- | **sort** | `volume`, `liquidity`, `newest` | | [Optional] [Defaults to `undefined`] [Enum: volume, liquidity, newest] |
903
+ | **limit** | `number` | Maximum number of results to return | [Optional] [Defaults to `undefined`] |
904
+ | **offset** | `number` | Pagination offset — number of results to skip | [Optional] [Defaults to `undefined`] |
905
+ | **sort** | `volume`, `liquidity`, `newest` | Sort order for results | [Optional] [Defaults to `undefined`] [Enum: volume, liquidity, newest] |
906
906
  | **status** | `active`, `inactive`, `closed`, `all` | Filter by market status (default: \&#39;active\&#39;, \&#39;inactive\&#39; and \&#39;closed\&#39; are interchangeable) | [Optional] [Defaults to `undefined`] [Enum: active, inactive, closed, all] |
907
907
  | **searchIn** | `title`, `description`, `both` | Where to search (default: \&#39;title\&#39;) | [Optional] [Defaults to `undefined`] [Enum: title, description, both] |
908
908
  | **query** | `string` | For keyword search | [Optional] [Defaults to `undefined`] |
@@ -1034,11 +1034,11 @@ async function example() {
1034
1034
  outcomeId: outcomeId_example,
1035
1035
  // string | filter to specific market (optional)
1036
1036
  marketId: marketId_example,
1037
- // Date (optional)
1037
+ // Date | Only return records after this date (optional)
1038
1038
  since: 2013-10-20T19:20:30+01:00,
1039
- // Date (optional)
1039
+ // Date | Only return records before this date (optional)
1040
1040
  until: 2013-10-20T19:20:30+01:00,
1041
- // number (optional)
1041
+ // number | Maximum number of results to return (optional)
1042
1042
  limit: 8.14,
1043
1043
  // string | for Kalshi cursor pagination (optional)
1044
1044
  cursor: cursor_example,
@@ -1064,9 +1064,9 @@ example().catch(console.error);
1064
1064
  | **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us] |
1065
1065
  | **outcomeId** | `string` | filter to specific outcome/ticker | [Optional] [Defaults to `undefined`] |
1066
1066
  | **marketId** | `string` | filter to specific market | [Optional] [Defaults to `undefined`] |
1067
- | **since** | `Date` | | [Optional] [Defaults to `undefined`] |
1068
- | **until** | `Date` | | [Optional] [Defaults to `undefined`] |
1069
- | **limit** | `number` | | [Optional] [Defaults to `undefined`] |
1067
+ | **since** | `Date` | Only return records after this date | [Optional] [Defaults to `undefined`] |
1068
+ | **until** | `Date` | Only return records before this date | [Optional] [Defaults to `undefined`] |
1069
+ | **limit** | `number` | Maximum number of results to return | [Optional] [Defaults to `undefined`] |
1070
1070
  | **cursor** | `string` | for Kalshi cursor pagination | [Optional] [Defaults to `undefined`] |
1071
1071
 
1072
1072
  ### Return type
@@ -1119,11 +1119,11 @@ async function example() {
1119
1119
  id: id_example,
1120
1120
  // '1m' | '5m' | '15m' | '1h' | '6h' | '1d' | Required for candle aggregation (optional)
1121
1121
  resolution: resolution_example,
1122
- // Date (optional)
1122
+ // Date | Start of the time range (optional)
1123
1123
  start: 2013-10-20T19:20:30+01:00,
1124
- // Date (optional)
1124
+ // Date | End of the time range (optional)
1125
1125
  end: 2013-10-20T19:20:30+01:00,
1126
- // number (optional)
1126
+ // number | Maximum number of results to return (optional)
1127
1127
  limit: 8.14,
1128
1128
  } satisfies FetchOHLCVRequest;
1129
1129
 
@@ -1147,9 +1147,9 @@ example().catch(console.error);
1147
1147
  | **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us] |
1148
1148
  | **id** | `string` | | [Defaults to `undefined`] |
1149
1149
  | **resolution** | `1m`, `5m`, `15m`, `1h`, `6h`, `1d` | Required for candle aggregation | [Optional] [Defaults to `undefined`] [Enum: 1m, 5m, 15m, 1h, 6h, 1d] |
1150
- | **start** | `Date` | | [Optional] [Defaults to `undefined`] |
1151
- | **end** | `Date` | | [Optional] [Defaults to `undefined`] |
1152
- | **limit** | `number` | | [Optional] [Defaults to `undefined`] |
1150
+ | **start** | `Date` | Start of the time range | [Optional] [Defaults to `undefined`] |
1151
+ | **end** | `Date` | End of the time range | [Optional] [Defaults to `undefined`] |
1152
+ | **limit** | `number` | Maximum number of results to return | [Optional] [Defaults to `undefined`] |
1153
1153
 
1154
1154
  ### Return type
1155
1155
 
@@ -1479,11 +1479,11 @@ async function example() {
1479
1479
  exchange: exchange_example,
1480
1480
  // string
1481
1481
  id: id_example,
1482
- // Date (optional)
1482
+ // Date | Start of the time range (optional)
1483
1483
  start: 2013-10-20T19:20:30+01:00,
1484
- // Date (optional)
1484
+ // Date | End of the time range (optional)
1485
1485
  end: 2013-10-20T19:20:30+01:00,
1486
- // number (optional)
1486
+ // number | Maximum number of results to return (optional)
1487
1487
  limit: 8.14,
1488
1488
  } satisfies FetchTradesRequest;
1489
1489
 
@@ -1506,9 +1506,9 @@ example().catch(console.error);
1506
1506
  |------------- | ------------- | ------------- | -------------|
1507
1507
  | **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us] |
1508
1508
  | **id** | `string` | | [Defaults to `undefined`] |
1509
- | **start** | `Date` | | [Optional] [Defaults to `undefined`] |
1510
- | **end** | `Date` | | [Optional] [Defaults to `undefined`] |
1511
- | **limit** | `number` | | [Optional] [Defaults to `undefined`] |
1509
+ | **start** | `Date` | Start of the time range | [Optional] [Defaults to `undefined`] |
1510
+ | **end** | `Date` | End of the time range | [Optional] [Defaults to `undefined`] |
1511
+ | **limit** | `number` | Maximum number of results to return | [Optional] [Defaults to `undefined`] |
1512
1512
 
1513
1513
  ### Return type
1514
1514
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmxtjs",
3
- "version": "2.27.4",
3
+ "version": "2.27.5",
4
4
  "description": "OpenAPI client for pmxtjs",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -26,13 +26,13 @@ export interface Balance {
26
26
  */
27
27
  currency: string;
28
28
  /**
29
- *
29
+ * Total balance including funds locked in open orders.
30
30
  * @type {number}
31
31
  * @memberof Balance
32
32
  */
33
33
  total: number;
34
34
  /**
35
- *
35
+ * Balance available to trade (excludes locked funds).
36
36
  * @type {number}
37
37
  * @memberof Balance
38
38
  */
@@ -20,31 +20,31 @@ import { mapValues } from '../runtime';
20
20
  */
21
21
  export interface CreateOrderParams {
22
22
  /**
23
- *
23
+ * The market to trade on.
24
24
  * @type {string}
25
25
  * @memberof CreateOrderParams
26
26
  */
27
27
  marketId: string;
28
28
  /**
29
- *
29
+ * The outcome to trade.
30
30
  * @type {string}
31
31
  * @memberof CreateOrderParams
32
32
  */
33
33
  outcomeId: string;
34
34
  /**
35
- *
35
+ * Order side: buy or sell.
36
36
  * @type {string}
37
37
  * @memberof CreateOrderParams
38
38
  */
39
39
  side: CreateOrderParamsSideEnum;
40
40
  /**
41
- *
41
+ * Order type: market (execute immediately) or limit (resting at a price).
42
42
  * @type {string}
43
43
  * @memberof CreateOrderParams
44
44
  */
45
45
  type: CreateOrderParamsTypeEnum;
46
46
  /**
47
- *
47
+ * Size of the order in contracts/shares.
48
48
  * @type {number}
49
49
  * @memberof CreateOrderParams
50
50
  */
@@ -26,19 +26,19 @@ export interface EventFetchParams {
26
26
  */
27
27
  query?: string;
28
28
  /**
29
- *
29
+ * Maximum number of results to return
30
30
  * @type {number}
31
31
  * @memberof EventFetchParams
32
32
  */
33
33
  limit?: number;
34
34
  /**
35
- *
35
+ * Pagination offset — number of results to skip
36
36
  * @type {number}
37
37
  * @memberof EventFetchParams
38
38
  */
39
39
  offset?: number;
40
40
  /**
41
- *
41
+ * Sort order for results
42
42
  * @type {string}
43
43
  * @memberof EventFetchParams
44
44
  */
@@ -50,7 +50,7 @@ export interface EventFetchParams {
50
50
  */
51
51
  status?: EventFetchParamsStatusEnum;
52
52
  /**
53
- *
53
+ * Where to search (default: 'title')
54
54
  * @type {string}
55
55
  * @memberof EventFetchParams
56
56
  */
@@ -34,13 +34,13 @@ export interface ExchangeCredentials {
34
34
  */
35
35
  apiKey?: string;
36
36
  /**
37
- *
37
+ * Standard API secret for HMAC-authenticated exchanges
38
38
  * @type {string}
39
39
  * @memberof ExchangeCredentials
40
40
  */
41
41
  apiSecret?: string;
42
42
  /**
43
- *
43
+ * Standard API passphrase for HMAC-authenticated exchanges
44
44
  * @type {string}
45
45
  * @memberof ExchangeCredentials
46
46
  */