pmxtjs 2.35.11 → 2.35.13

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.
@@ -196,7 +196,7 @@ export interface FetchMyTradesRequest {
196
196
  export interface FetchOHLCVRequest {
197
197
  exchange: FetchOHLCVExchangeEnum;
198
198
  id: string;
199
- resolution?: FetchOHLCVResolutionEnum;
199
+ resolution?: string;
200
200
  start?: Date;
201
201
  end?: Date;
202
202
  limit?: number;
@@ -1272,18 +1272,6 @@ export declare const FetchOHLCVExchangeEnum: {
1272
1272
  readonly Router: "router";
1273
1273
  };
1274
1274
  export type FetchOHLCVExchangeEnum = typeof FetchOHLCVExchangeEnum[keyof typeof FetchOHLCVExchangeEnum];
1275
- /**
1276
- * @export
1277
- */
1278
- export declare const FetchOHLCVResolutionEnum: {
1279
- readonly _1m: "1m";
1280
- readonly _5m: "5m";
1281
- readonly _15m: "15m";
1282
- readonly _1h: "1h";
1283
- readonly _6h: "6h";
1284
- readonly _1d: "1d";
1285
- };
1286
- export type FetchOHLCVResolutionEnum = typeof FetchOHLCVResolutionEnum[keyof typeof FetchOHLCVResolutionEnum];
1287
1275
  /**
1288
1276
  * @export
1289
1277
  */
@@ -2137,17 +2137,6 @@ export const FetchOHLCVExchangeEnum = {
2137
2137
  PolymarketUs: 'polymarket_us',
2138
2138
  Router: 'router'
2139
2139
  };
2140
- /**
2141
- * @export
2142
- */
2143
- export const FetchOHLCVResolutionEnum = {
2144
- _1m: '1m',
2145
- _5m: '5m',
2146
- _15m: '15m',
2147
- _1h: '1h',
2148
- _6h: '6h',
2149
- _1d: '1d'
2150
- };
2151
2140
  /**
2152
2141
  * @export
2153
2142
  */
@@ -20,7 +20,7 @@ export interface HistoryFilterParams {
20
20
  * @type {string}
21
21
  * @memberof HistoryFilterParams
22
22
  */
23
- resolution?: HistoryFilterParamsResolutionEnum;
23
+ resolution?: string;
24
24
  /**
25
25
  * Start of the time range
26
26
  * @type {Date}
@@ -40,18 +40,6 @@ export interface HistoryFilterParams {
40
40
  */
41
41
  limit?: number;
42
42
  }
43
- /**
44
- * @export
45
- */
46
- export declare const HistoryFilterParamsResolutionEnum: {
47
- readonly _1m: "1m";
48
- readonly _5m: "5m";
49
- readonly _15m: "15m";
50
- readonly _1h: "1h";
51
- readonly _6h: "6h";
52
- readonly _1d: "1d";
53
- };
54
- export type HistoryFilterParamsResolutionEnum = typeof HistoryFilterParamsResolutionEnum[keyof typeof HistoryFilterParamsResolutionEnum];
55
43
  /**
56
44
  * Check if a given object implements the HistoryFilterParams interface.
57
45
  */
@@ -11,17 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- */
17
- export const HistoryFilterParamsResolutionEnum = {
18
- _1m: '1m',
19
- _5m: '5m',
20
- _15m: '15m',
21
- _1h: '1h',
22
- _6h: '6h',
23
- _1d: '1d'
24
- };
25
14
  /**
26
15
  * Check if a given object implements the HistoryFilterParams interface.
27
16
  */
@@ -20,7 +20,7 @@ export interface OHLCVParams {
20
20
  * @type {string}
21
21
  * @memberof OHLCVParams
22
22
  */
23
- resolution: OHLCVParamsResolutionEnum;
23
+ resolution: string;
24
24
  /**
25
25
  * Start of the time range
26
26
  * @type {Date}
@@ -40,18 +40,6 @@ export interface OHLCVParams {
40
40
  */
41
41
  limit?: number;
42
42
  }
43
- /**
44
- * @export
45
- */
46
- export declare const OHLCVParamsResolutionEnum: {
47
- readonly _1m: "1m";
48
- readonly _5m: "5m";
49
- readonly _15m: "15m";
50
- readonly _1h: "1h";
51
- readonly _6h: "6h";
52
- readonly _1d: "1d";
53
- };
54
- export type OHLCVParamsResolutionEnum = typeof OHLCVParamsResolutionEnum[keyof typeof OHLCVParamsResolutionEnum];
55
43
  /**
56
44
  * Check if a given object implements the OHLCVParams interface.
57
45
  */
@@ -11,17 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- */
17
- export const OHLCVParamsResolutionEnum = {
18
- _1m: '1m',
19
- _5m: '5m',
20
- _15m: '15m',
21
- _1h: '1h',
22
- _6h: '6h',
23
- _1d: '1d'
24
- };
25
14
  /**
26
15
  * Check if a given object implements the OHLCVParams interface.
27
16
  */
@@ -244,7 +244,14 @@ export interface Balance {
244
244
  /** Locked in open orders */
245
245
  locked: number;
246
246
  }
247
- export type CandleInterval = "1m" | "5m" | "15m" | "1h" | "6h" | "1d";
247
+ /**
248
+ * Candle interval for OHLCV data.
249
+ *
250
+ * Common values: `'1m'`, `'5m'`, `'15m'`, `'1h'`, `'6h'`, `'1d'`.
251
+ * Arbitrary intervals matching `^[0-9]+[smhd]$` (e.g. `'30s'`, `'120s'`,
252
+ * `'3h'`) are accepted by venues that support them.
253
+ */
254
+ export type CandleInterval = string;
248
255
  export type SortOption = "volume" | "liquidity" | "newest";
249
256
  export type SearchIn = "title" | "description" | "both";
250
257
  export type OrderSide = "buy" | "sell";
@@ -196,7 +196,7 @@ export interface FetchMyTradesRequest {
196
196
  export interface FetchOHLCVRequest {
197
197
  exchange: FetchOHLCVExchangeEnum;
198
198
  id: string;
199
- resolution?: FetchOHLCVResolutionEnum;
199
+ resolution?: string;
200
200
  start?: Date;
201
201
  end?: Date;
202
202
  limit?: number;
@@ -1272,18 +1272,6 @@ export declare const FetchOHLCVExchangeEnum: {
1272
1272
  readonly Router: "router";
1273
1273
  };
1274
1274
  export type FetchOHLCVExchangeEnum = typeof FetchOHLCVExchangeEnum[keyof typeof FetchOHLCVExchangeEnum];
1275
- /**
1276
- * @export
1277
- */
1278
- export declare const FetchOHLCVResolutionEnum: {
1279
- readonly _1m: "1m";
1280
- readonly _5m: "5m";
1281
- readonly _15m: "15m";
1282
- readonly _1h: "1h";
1283
- readonly _6h: "6h";
1284
- readonly _1d: "1d";
1285
- };
1286
- export type FetchOHLCVResolutionEnum = typeof FetchOHLCVResolutionEnum[keyof typeof FetchOHLCVResolutionEnum];
1287
1275
  /**
1288
1276
  * @export
1289
1277
  */
@@ -46,8 +46,8 @@ var __importStar = (this && this.__importStar) || (function () {
46
46
  };
47
47
  })();
48
48
  Object.defineProperty(exports, "__esModule", { value: true });
49
- exports.FetchRelatedMarketsRelationEnum = exports.FetchRelatedMarketsExchangeEnum = exports.FetchPositionsExchangeEnum = exports.FetchOrderBookExchangeEnum = exports.FetchOrderExchangeEnum = exports.FetchOpenOrdersExchangeEnum = exports.FetchOHLCVResolutionEnum = exports.FetchOHLCVExchangeEnum = exports.FetchMyTradesExchangeEnum = exports.FetchMatchedPricesRelationsEnum = exports.FetchMatchedPricesExchangeEnum = exports.FetchMatchedMarketsRelationsEnum = exports.FetchMatchedMarketsExchangeEnum = exports.FetchMarketsPaginatedExchangeEnum = exports.FetchMarketsSearchInEnum = exports.FetchMarketsStatusEnum = exports.FetchMarketsSortEnum = exports.FetchMarketsExchangeEnum = exports.FetchMarketMatchesSortEnum = exports.FetchMarketMatchesRelationEnum = exports.FetchMarketMatchesExchangeEnum = exports.FetchMarketSearchInEnum = exports.FetchMarketStatusEnum = exports.FetchMarketSortEnum = exports.FetchMarketExchangeEnum = exports.FetchHedgesSortEnum = exports.FetchHedgesRelationEnum = exports.FetchHedgesExchangeEnum = exports.FetchEventsPaginatedExchangeEnum = exports.FetchEventsSearchInEnum = exports.FetchEventsStatusEnum = exports.FetchEventsSortEnum = exports.FetchEventsExchangeEnum = exports.FetchEventMatchesRelationEnum = exports.FetchEventMatchesExchangeEnum = exports.FetchEventSearchInEnum = exports.FetchEventStatusEnum = exports.FetchEventSortEnum = exports.FetchEventExchangeEnum = exports.FetchClosedOrdersExchangeEnum = exports.FetchBalanceExchangeEnum = exports.FetchArbitrageRelationsEnum = exports.FetchArbitrageExchangeEnum = exports.FetchAllOrdersExchangeEnum = exports.CreateOrderOperationExchangeEnum = exports.CompareMarketPricesOperationExchangeEnum = exports.CloseOperationExchangeEnum = exports.CancelOrderOperationExchangeEnum = exports.BuildOrderOperationExchangeEnum = exports.DefaultApi = void 0;
50
- exports.WatchTradesOperationExchangeEnum = exports.WatchOrderBookOperationExchangeEnum = exports.WatchAddressOperationExchangeEnum = exports.UnwatchOrderBookOperationExchangeEnum = exports.UnwatchAddressOperationExchangeEnum = exports.SubmitOrderOperationExchangeEnum = exports.LoadMarketsOperationExchangeEnum = exports.GetExecutionPriceDetailedOperationExchangeEnum = exports.GetExecutionPriceOperationExchangeEnum = exports.FilterMarketsOperationExchangeEnum = exports.FilterEventsOperationExchangeEnum = exports.FetchTradesExchangeEnum = exports.FetchRelatedMarketsSortEnum = void 0;
49
+ exports.FetchRelatedMarketsSortEnum = exports.FetchRelatedMarketsRelationEnum = exports.FetchRelatedMarketsExchangeEnum = exports.FetchPositionsExchangeEnum = exports.FetchOrderBookExchangeEnum = exports.FetchOrderExchangeEnum = exports.FetchOpenOrdersExchangeEnum = exports.FetchOHLCVExchangeEnum = exports.FetchMyTradesExchangeEnum = exports.FetchMatchedPricesRelationsEnum = exports.FetchMatchedPricesExchangeEnum = exports.FetchMatchedMarketsRelationsEnum = exports.FetchMatchedMarketsExchangeEnum = exports.FetchMarketsPaginatedExchangeEnum = exports.FetchMarketsSearchInEnum = exports.FetchMarketsStatusEnum = exports.FetchMarketsSortEnum = exports.FetchMarketsExchangeEnum = exports.FetchMarketMatchesSortEnum = exports.FetchMarketMatchesRelationEnum = exports.FetchMarketMatchesExchangeEnum = exports.FetchMarketSearchInEnum = exports.FetchMarketStatusEnum = exports.FetchMarketSortEnum = exports.FetchMarketExchangeEnum = exports.FetchHedgesSortEnum = exports.FetchHedgesRelationEnum = exports.FetchHedgesExchangeEnum = exports.FetchEventsPaginatedExchangeEnum = exports.FetchEventsSearchInEnum = exports.FetchEventsStatusEnum = exports.FetchEventsSortEnum = exports.FetchEventsExchangeEnum = exports.FetchEventMatchesRelationEnum = exports.FetchEventMatchesExchangeEnum = exports.FetchEventSearchInEnum = exports.FetchEventStatusEnum = exports.FetchEventSortEnum = exports.FetchEventExchangeEnum = exports.FetchClosedOrdersExchangeEnum = exports.FetchBalanceExchangeEnum = exports.FetchArbitrageRelationsEnum = exports.FetchArbitrageExchangeEnum = exports.FetchAllOrdersExchangeEnum = exports.CreateOrderOperationExchangeEnum = exports.CompareMarketPricesOperationExchangeEnum = exports.CloseOperationExchangeEnum = exports.CancelOrderOperationExchangeEnum = exports.BuildOrderOperationExchangeEnum = exports.DefaultApi = void 0;
50
+ exports.WatchTradesOperationExchangeEnum = exports.WatchOrderBookOperationExchangeEnum = exports.WatchAddressOperationExchangeEnum = exports.UnwatchOrderBookOperationExchangeEnum = exports.UnwatchAddressOperationExchangeEnum = exports.SubmitOrderOperationExchangeEnum = exports.LoadMarketsOperationExchangeEnum = exports.GetExecutionPriceDetailedOperationExchangeEnum = exports.GetExecutionPriceOperationExchangeEnum = exports.FilterMarketsOperationExchangeEnum = exports.FilterEventsOperationExchangeEnum = exports.FetchTradesExchangeEnum = void 0;
51
51
  const runtime = __importStar(require("../runtime"));
52
52
  const index_1 = require("../models/index");
53
53
  /**
@@ -2175,17 +2175,6 @@ exports.FetchOHLCVExchangeEnum = {
2175
2175
  PolymarketUs: 'polymarket_us',
2176
2176
  Router: 'router'
2177
2177
  };
2178
- /**
2179
- * @export
2180
- */
2181
- exports.FetchOHLCVResolutionEnum = {
2182
- _1m: '1m',
2183
- _5m: '5m',
2184
- _15m: '15m',
2185
- _1h: '1h',
2186
- _6h: '6h',
2187
- _1d: '1d'
2188
- };
2189
2178
  /**
2190
2179
  * @export
2191
2180
  */
@@ -20,7 +20,7 @@ export interface HistoryFilterParams {
20
20
  * @type {string}
21
21
  * @memberof HistoryFilterParams
22
22
  */
23
- resolution?: HistoryFilterParamsResolutionEnum;
23
+ resolution?: string;
24
24
  /**
25
25
  * Start of the time range
26
26
  * @type {Date}
@@ -40,18 +40,6 @@ export interface HistoryFilterParams {
40
40
  */
41
41
  limit?: number;
42
42
  }
43
- /**
44
- * @export
45
- */
46
- export declare const HistoryFilterParamsResolutionEnum: {
47
- readonly _1m: "1m";
48
- readonly _5m: "5m";
49
- readonly _15m: "15m";
50
- readonly _1h: "1h";
51
- readonly _6h: "6h";
52
- readonly _1d: "1d";
53
- };
54
- export type HistoryFilterParamsResolutionEnum = typeof HistoryFilterParamsResolutionEnum[keyof typeof HistoryFilterParamsResolutionEnum];
55
43
  /**
56
44
  * Check if a given object implements the HistoryFilterParams interface.
57
45
  */
@@ -13,23 +13,11 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.HistoryFilterParamsResolutionEnum = void 0;
17
16
  exports.instanceOfHistoryFilterParams = instanceOfHistoryFilterParams;
18
17
  exports.HistoryFilterParamsFromJSON = HistoryFilterParamsFromJSON;
19
18
  exports.HistoryFilterParamsFromJSONTyped = HistoryFilterParamsFromJSONTyped;
20
19
  exports.HistoryFilterParamsToJSON = HistoryFilterParamsToJSON;
21
20
  exports.HistoryFilterParamsToJSONTyped = HistoryFilterParamsToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.HistoryFilterParamsResolutionEnum = {
26
- _1m: '1m',
27
- _5m: '5m',
28
- _15m: '15m',
29
- _1h: '1h',
30
- _6h: '6h',
31
- _1d: '1d'
32
- };
33
21
  /**
34
22
  * Check if a given object implements the HistoryFilterParams interface.
35
23
  */
@@ -20,7 +20,7 @@ export interface OHLCVParams {
20
20
  * @type {string}
21
21
  * @memberof OHLCVParams
22
22
  */
23
- resolution: OHLCVParamsResolutionEnum;
23
+ resolution: string;
24
24
  /**
25
25
  * Start of the time range
26
26
  * @type {Date}
@@ -40,18 +40,6 @@ export interface OHLCVParams {
40
40
  */
41
41
  limit?: number;
42
42
  }
43
- /**
44
- * @export
45
- */
46
- export declare const OHLCVParamsResolutionEnum: {
47
- readonly _1m: "1m";
48
- readonly _5m: "5m";
49
- readonly _15m: "15m";
50
- readonly _1h: "1h";
51
- readonly _6h: "6h";
52
- readonly _1d: "1d";
53
- };
54
- export type OHLCVParamsResolutionEnum = typeof OHLCVParamsResolutionEnum[keyof typeof OHLCVParamsResolutionEnum];
55
43
  /**
56
44
  * Check if a given object implements the OHLCVParams interface.
57
45
  */
@@ -13,23 +13,11 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.OHLCVParamsResolutionEnum = void 0;
17
16
  exports.instanceOfOHLCVParams = instanceOfOHLCVParams;
18
17
  exports.OHLCVParamsFromJSON = OHLCVParamsFromJSON;
19
18
  exports.OHLCVParamsFromJSONTyped = OHLCVParamsFromJSONTyped;
20
19
  exports.OHLCVParamsToJSON = OHLCVParamsToJSON;
21
20
  exports.OHLCVParamsToJSONTyped = OHLCVParamsToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.OHLCVParamsResolutionEnum = {
26
- _1m: '1m',
27
- _5m: '5m',
28
- _15m: '15m',
29
- _1h: '1h',
30
- _6h: '6h',
31
- _1d: '1d'
32
- };
33
21
  /**
34
22
  * Check if a given object implements the OHLCVParams interface.
35
23
  */
@@ -244,7 +244,14 @@ export interface Balance {
244
244
  /** Locked in open orders */
245
245
  locked: number;
246
246
  }
247
- export type CandleInterval = "1m" | "5m" | "15m" | "1h" | "6h" | "1d";
247
+ /**
248
+ * Candle interval for OHLCV data.
249
+ *
250
+ * Common values: `'1m'`, `'5m'`, `'15m'`, `'1h'`, `'6h'`, `'1d'`.
251
+ * Arbitrary intervals matching `^[0-9]+[smhd]$` (e.g. `'30s'`, `'120s'`,
252
+ * `'3h'`) are accepted by venues that support them.
253
+ */
254
+ export type CandleInterval = string;
248
255
  export type SortOption = "volume" | "liquidity" | "newest";
249
256
  export type SearchIn = "title" | "description" | "both";
250
257
  export type OrderSide = "buy" | "sell";
@@ -1823,7 +1823,7 @@ async function example() {
1823
1823
  exchange: exchange_example,
1824
1824
  // string
1825
1825
  id: id_example,
1826
- // '1m' | '5m' | '15m' | '1h' | '6h' | '1d' | Required for candle aggregation (optional)
1826
+ // string | Required for candle aggregation (optional)
1827
1827
  resolution: resolution_example,
1828
1828
  // Date | Start of the time range (optional)
1829
1829
  start: 2013-10-20T19:20:30+01:00,
@@ -1852,7 +1852,7 @@ example().catch(console.error);
1852
1852
  |------------- | ------------- | ------------- | -------------|
1853
1853
  | **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us`, `router` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us, router] |
1854
1854
  | **id** | `string` | | [Defaults to `undefined`] |
1855
- | **resolution** | `1m`, `5m`, `15m`, `1h`, `6h`, `1d` | Required for candle aggregation | [Optional] [Defaults to `undefined`] [Enum: 1m, 5m, 15m, 1h, 6h, 1d] |
1855
+ | **resolution** | `string` | Required for candle aggregation | [Optional] [Defaults to `undefined`] |
1856
1856
  | **start** | `Date` | Start of the time range | [Optional] [Defaults to `undefined`] |
1857
1857
  | **end** | `Date` | End of the time range | [Optional] [Defaults to `undefined`] |
1858
1858
  | **limit** | `number` | Maximum number of results to return | [Optional] [Defaults to `undefined`] |
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmxtjs",
3
- "version": "2.35.11",
3
+ "version": "2.35.13",
4
4
  "description": "OpenAPI client for pmxtjs",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -363,7 +363,7 @@ export interface FetchMyTradesRequest {
363
363
  export interface FetchOHLCVRequest {
364
364
  exchange: FetchOHLCVExchangeEnum;
365
365
  id: string;
366
- resolution?: FetchOHLCVResolutionEnum;
366
+ resolution?: string;
367
367
  start?: Date;
368
368
  end?: Date;
369
369
  limit?: number;
@@ -3243,18 +3243,6 @@ export const FetchOHLCVExchangeEnum = {
3243
3243
  Router: 'router'
3244
3244
  } as const;
3245
3245
  export type FetchOHLCVExchangeEnum = typeof FetchOHLCVExchangeEnum[keyof typeof FetchOHLCVExchangeEnum];
3246
- /**
3247
- * @export
3248
- */
3249
- export const FetchOHLCVResolutionEnum = {
3250
- _1m: '1m',
3251
- _5m: '5m',
3252
- _15m: '15m',
3253
- _1h: '1h',
3254
- _6h: '6h',
3255
- _1d: '1d'
3256
- } as const;
3257
- export type FetchOHLCVResolutionEnum = typeof FetchOHLCVResolutionEnum[keyof typeof FetchOHLCVResolutionEnum];
3258
3246
  /**
3259
3247
  * @export
3260
3248
  */
@@ -24,7 +24,7 @@ export interface HistoryFilterParams {
24
24
  * @type {string}
25
25
  * @memberof HistoryFilterParams
26
26
  */
27
- resolution?: HistoryFilterParamsResolutionEnum;
27
+ resolution?: string;
28
28
  /**
29
29
  * Start of the time range
30
30
  * @type {Date}
@@ -45,21 +45,6 @@ export interface HistoryFilterParams {
45
45
  limit?: number;
46
46
  }
47
47
 
48
-
49
- /**
50
- * @export
51
- */
52
- export const HistoryFilterParamsResolutionEnum = {
53
- _1m: '1m',
54
- _5m: '5m',
55
- _15m: '15m',
56
- _1h: '1h',
57
- _6h: '6h',
58
- _1d: '1d'
59
- } as const;
60
- export type HistoryFilterParamsResolutionEnum = typeof HistoryFilterParamsResolutionEnum[keyof typeof HistoryFilterParamsResolutionEnum];
61
-
62
-
63
48
  /**
64
49
  * Check if a given object implements the HistoryFilterParams interface.
65
50
  */
@@ -24,7 +24,7 @@ export interface OHLCVParams {
24
24
  * @type {string}
25
25
  * @memberof OHLCVParams
26
26
  */
27
- resolution: OHLCVParamsResolutionEnum;
27
+ resolution: string;
28
28
  /**
29
29
  * Start of the time range
30
30
  * @type {Date}
@@ -45,21 +45,6 @@ export interface OHLCVParams {
45
45
  limit?: number;
46
46
  }
47
47
 
48
-
49
- /**
50
- * @export
51
- */
52
- export const OHLCVParamsResolutionEnum = {
53
- _1m: '1m',
54
- _5m: '5m',
55
- _15m: '15m',
56
- _1h: '1h',
57
- _6h: '6h',
58
- _1d: '1d'
59
- } as const;
60
- export type OHLCVParamsResolutionEnum = typeof OHLCVParamsResolutionEnum[keyof typeof OHLCVParamsResolutionEnum];
61
-
62
-
63
48
  /**
64
49
  * Check if a given object implements the OHLCVParams interface.
65
50
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmxtjs",
3
- "version": "2.35.11",
3
+ "version": "2.35.13",
4
4
  "description": "Unified prediction market data API - The ccxt for prediction markets",
5
5
  "author": "PMXT Contributors",
6
6
  "repository": {
@@ -43,7 +43,7 @@
43
43
  "unified"
44
44
  ],
45
45
  "dependencies": {
46
- "pmxt-core": "2.35.11"
46
+ "pmxt-core": "2.35.13"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/jest": "^30.0.0",
package/pmxt/models.ts CHANGED
@@ -332,7 +332,14 @@ export interface Balance {
332
332
  }
333
333
 
334
334
  // Parameter types
335
- export type CandleInterval = "1m" | "5m" | "15m" | "1h" | "6h" | "1d";
335
+ /**
336
+ * Candle interval for OHLCV data.
337
+ *
338
+ * Common values: `'1m'`, `'5m'`, `'15m'`, `'1h'`, `'6h'`, `'1d'`.
339
+ * Arbitrary intervals matching `^[0-9]+[smhd]$` (e.g. `'30s'`, `'120s'`,
340
+ * `'3h'`) are accepted by venues that support them.
341
+ */
342
+ export type CandleInterval = string;
336
343
  export type SortOption = "volume" | "liquidity" | "newest";
337
344
  export type SearchIn = "title" | "description" | "both";
338
345
  export type OrderSide = "buy" | "sell";