pmxtjs 2.45.1 → 2.46.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 (56) hide show
  1. package/dist/esm/generated/src/apis/DefaultApi.d.ts +34 -0
  2. package/dist/esm/generated/src/apis/DefaultApi.js +34 -0
  3. package/dist/esm/generated/src/models/ArbitrageOpportunity.d.ts +1 -0
  4. package/dist/esm/generated/src/models/ArbitrageOpportunity.js +1 -0
  5. package/dist/esm/generated/src/models/FetchArbitrageParams.d.ts +1 -0
  6. package/dist/esm/generated/src/models/FetchArbitrageParams.js +1 -0
  7. package/dist/esm/generated/src/models/FetchEventMatchesParams.d.ts +1 -0
  8. package/dist/esm/generated/src/models/FetchEventMatchesParams.js +1 -0
  9. package/dist/esm/generated/src/models/FetchMarketMatchesParams.d.ts +1 -0
  10. package/dist/esm/generated/src/models/FetchMarketMatchesParams.js +1 -0
  11. package/dist/esm/generated/src/models/FetchMatchedMarketsParams.d.ts +1 -0
  12. package/dist/esm/generated/src/models/FetchMatchedMarketsParams.js +1 -0
  13. package/dist/esm/generated/src/models/MatchResult.d.ts +1 -0
  14. package/dist/esm/generated/src/models/MatchResult.js +1 -0
  15. package/dist/esm/generated/src/models/MatchedMarketPair.d.ts +1 -0
  16. package/dist/esm/generated/src/models/MatchedMarketPair.js +1 -0
  17. package/dist/esm/generated/src/models/PriceComparison.d.ts +1 -0
  18. package/dist/esm/generated/src/models/PriceComparison.js +1 -0
  19. package/dist/esm/index.d.ts +2 -1
  20. package/dist/esm/index.js +2 -1
  21. package/dist/esm/pmxt/models.d.ts +1 -1
  22. package/dist/generated/src/apis/DefaultApi.d.ts +34 -0
  23. package/dist/generated/src/apis/DefaultApi.js +34 -0
  24. package/dist/generated/src/models/ArbitrageOpportunity.d.ts +1 -0
  25. package/dist/generated/src/models/ArbitrageOpportunity.js +1 -0
  26. package/dist/generated/src/models/FetchArbitrageParams.d.ts +1 -0
  27. package/dist/generated/src/models/FetchArbitrageParams.js +1 -0
  28. package/dist/generated/src/models/FetchEventMatchesParams.d.ts +1 -0
  29. package/dist/generated/src/models/FetchEventMatchesParams.js +1 -0
  30. package/dist/generated/src/models/FetchMarketMatchesParams.d.ts +1 -0
  31. package/dist/generated/src/models/FetchMarketMatchesParams.js +1 -0
  32. package/dist/generated/src/models/FetchMatchedMarketsParams.d.ts +1 -0
  33. package/dist/generated/src/models/FetchMatchedMarketsParams.js +1 -0
  34. package/dist/generated/src/models/MatchResult.d.ts +1 -0
  35. package/dist/generated/src/models/MatchResult.js +1 -0
  36. package/dist/generated/src/models/MatchedMarketPair.d.ts +1 -0
  37. package/dist/generated/src/models/MatchedMarketPair.js +1 -0
  38. package/dist/generated/src/models/PriceComparison.d.ts +1 -0
  39. package/dist/generated/src/models/PriceComparison.js +1 -0
  40. package/dist/index.d.ts +2 -1
  41. package/dist/index.js +1 -0
  42. package/dist/pmxt/models.d.ts +1 -1
  43. package/generated/docs/DefaultApi.md +68 -68
  44. package/generated/package.json +1 -1
  45. package/generated/src/apis/DefaultApi.ts +34 -0
  46. package/generated/src/models/ArbitrageOpportunity.ts +1 -0
  47. package/generated/src/models/FetchArbitrageParams.ts +1 -0
  48. package/generated/src/models/FetchEventMatchesParams.ts +1 -0
  49. package/generated/src/models/FetchMarketMatchesParams.ts +1 -0
  50. package/generated/src/models/FetchMatchedMarketsParams.ts +1 -0
  51. package/generated/src/models/MatchResult.ts +1 -0
  52. package/generated/src/models/MatchedMarketPair.ts +1 -0
  53. package/generated/src/models/PriceComparison.ts +1 -0
  54. package/index.ts +2 -1
  55. package/package.json +2 -2
  56. package/pmxt/models.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmxtjs",
3
- "version": "2.45.1",
3
+ "version": "2.46.0",
4
4
  "description": "OpenAPI client for pmxtjs",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -2503,6 +2503,7 @@ export const BuildOrderOperationExchangeEnum = {
2503
2503
  PolymarketUs: 'polymarket_us',
2504
2504
  GeminiTitan: 'gemini-titan',
2505
2505
  Hyperliquid: 'hyperliquid',
2506
+ Suibets: 'suibets',
2506
2507
  Mock: 'mock',
2507
2508
  Router: 'router'
2508
2509
  } as const;
@@ -2524,6 +2525,7 @@ export const CancelOrderOperationExchangeEnum = {
2524
2525
  PolymarketUs: 'polymarket_us',
2525
2526
  GeminiTitan: 'gemini-titan',
2526
2527
  Hyperliquid: 'hyperliquid',
2528
+ Suibets: 'suibets',
2527
2529
  Mock: 'mock',
2528
2530
  Router: 'router'
2529
2531
  } as const;
@@ -2545,6 +2547,7 @@ export const CloseOperationExchangeEnum = {
2545
2547
  PolymarketUs: 'polymarket_us',
2546
2548
  GeminiTitan: 'gemini-titan',
2547
2549
  Hyperliquid: 'hyperliquid',
2550
+ Suibets: 'suibets',
2548
2551
  Mock: 'mock',
2549
2552
  Router: 'router'
2550
2553
  } as const;
@@ -2573,6 +2576,7 @@ export const CreateOrderOperationExchangeEnum = {
2573
2576
  PolymarketUs: 'polymarket_us',
2574
2577
  GeminiTitan: 'gemini-titan',
2575
2578
  Hyperliquid: 'hyperliquid',
2579
+ Suibets: 'suibets',
2576
2580
  Mock: 'mock',
2577
2581
  Router: 'router'
2578
2582
  } as const;
@@ -2594,6 +2598,7 @@ export const FetchAllOrdersExchangeEnum = {
2594
2598
  PolymarketUs: 'polymarket_us',
2595
2599
  GeminiTitan: 'gemini-titan',
2596
2600
  Hyperliquid: 'hyperliquid',
2601
+ Suibets: 'suibets',
2597
2602
  Mock: 'mock',
2598
2603
  Router: 'router'
2599
2604
  } as const;
@@ -2610,6 +2615,7 @@ export type FetchArbitrageExchangeEnum = typeof FetchArbitrageExchangeEnum[keyof
2610
2615
  */
2611
2616
  export const FetchArbitrageRelationsEnum = {
2612
2617
  Identity: 'identity',
2618
+ Complement: 'complement',
2613
2619
  Subset: 'subset',
2614
2620
  Superset: 'superset',
2615
2621
  Overlap: 'overlap',
@@ -2633,6 +2639,7 @@ export const FetchBalanceExchangeEnum = {
2633
2639
  PolymarketUs: 'polymarket_us',
2634
2640
  GeminiTitan: 'gemini-titan',
2635
2641
  Hyperliquid: 'hyperliquid',
2642
+ Suibets: 'suibets',
2636
2643
  Mock: 'mock',
2637
2644
  Router: 'router'
2638
2645
  } as const;
@@ -2654,6 +2661,7 @@ export const FetchClosedOrdersExchangeEnum = {
2654
2661
  PolymarketUs: 'polymarket_us',
2655
2662
  GeminiTitan: 'gemini-titan',
2656
2663
  Hyperliquid: 'hyperliquid',
2664
+ Suibets: 'suibets',
2657
2665
  Mock: 'mock',
2658
2666
  Router: 'router'
2659
2667
  } as const;
@@ -2675,6 +2683,7 @@ export const FetchEventExchangeEnum = {
2675
2683
  PolymarketUs: 'polymarket_us',
2676
2684
  GeminiTitan: 'gemini-titan',
2677
2685
  Hyperliquid: 'hyperliquid',
2686
+ Suibets: 'suibets',
2678
2687
  Mock: 'mock',
2679
2688
  Router: 'router'
2680
2689
  } as const;
@@ -2719,6 +2728,7 @@ export type FetchEventMatchesExchangeEnum = typeof FetchEventMatchesExchangeEnum
2719
2728
  */
2720
2729
  export const FetchEventMatchesRelationEnum = {
2721
2730
  Identity: 'identity',
2731
+ Complement: 'complement',
2722
2732
  Subset: 'subset',
2723
2733
  Superset: 'superset',
2724
2734
  Overlap: 'overlap',
@@ -2742,6 +2752,7 @@ export const FetchEventsExchangeEnum = {
2742
2752
  PolymarketUs: 'polymarket_us',
2743
2753
  GeminiTitan: 'gemini-titan',
2744
2754
  Hyperliquid: 'hyperliquid',
2755
+ Suibets: 'suibets',
2745
2756
  Mock: 'mock',
2746
2757
  Router: 'router'
2747
2758
  } as const;
@@ -2791,6 +2802,7 @@ export const FetchEventsPaginatedExchangeEnum = {
2791
2802
  PolymarketUs: 'polymarket_us',
2792
2803
  GeminiTitan: 'gemini-titan',
2793
2804
  Hyperliquid: 'hyperliquid',
2805
+ Suibets: 'suibets',
2794
2806
  Mock: 'mock',
2795
2807
  Router: 'router'
2796
2808
  } as const;
@@ -2807,6 +2819,7 @@ export type FetchHedgesExchangeEnum = typeof FetchHedgesExchangeEnum[keyof typeo
2807
2819
  */
2808
2820
  export const FetchHedgesRelationEnum = {
2809
2821
  Identity: 'identity',
2822
+ Complement: 'complement',
2810
2823
  Subset: 'subset',
2811
2824
  Superset: 'superset',
2812
2825
  Overlap: 'overlap',
@@ -2839,6 +2852,7 @@ export const FetchMarketExchangeEnum = {
2839
2852
  PolymarketUs: 'polymarket_us',
2840
2853
  GeminiTitan: 'gemini-titan',
2841
2854
  Hyperliquid: 'hyperliquid',
2855
+ Suibets: 'suibets',
2842
2856
  Mock: 'mock',
2843
2857
  Router: 'router'
2844
2858
  } as const;
@@ -2883,6 +2897,7 @@ export type FetchMarketMatchesExchangeEnum = typeof FetchMarketMatchesExchangeEn
2883
2897
  */
2884
2898
  export const FetchMarketMatchesRelationEnum = {
2885
2899
  Identity: 'identity',
2900
+ Complement: 'complement',
2886
2901
  Subset: 'subset',
2887
2902
  Superset: 'superset',
2888
2903
  Overlap: 'overlap',
@@ -2915,6 +2930,7 @@ export const FetchMarketsExchangeEnum = {
2915
2930
  PolymarketUs: 'polymarket_us',
2916
2931
  GeminiTitan: 'gemini-titan',
2917
2932
  Hyperliquid: 'hyperliquid',
2933
+ Suibets: 'suibets',
2918
2934
  Mock: 'mock',
2919
2935
  Router: 'router'
2920
2936
  } as const;
@@ -2964,6 +2980,7 @@ export const FetchMarketsPaginatedExchangeEnum = {
2964
2980
  PolymarketUs: 'polymarket_us',
2965
2981
  GeminiTitan: 'gemini-titan',
2966
2982
  Hyperliquid: 'hyperliquid',
2983
+ Suibets: 'suibets',
2967
2984
  Mock: 'mock',
2968
2985
  Router: 'router'
2969
2986
  } as const;
@@ -2980,6 +2997,7 @@ export type FetchMatchedMarketsExchangeEnum = typeof FetchMatchedMarketsExchange
2980
2997
  */
2981
2998
  export const FetchMatchedMarketsRelationsEnum = {
2982
2999
  Identity: 'identity',
3000
+ Complement: 'complement',
2983
3001
  Subset: 'subset',
2984
3002
  Superset: 'superset',
2985
3003
  Overlap: 'overlap',
@@ -2998,6 +3016,7 @@ export type FetchMatchedPricesExchangeEnum = typeof FetchMatchedPricesExchangeEn
2998
3016
  */
2999
3017
  export const FetchMatchedPricesRelationsEnum = {
3000
3018
  Identity: 'identity',
3019
+ Complement: 'complement',
3001
3020
  Subset: 'subset',
3002
3021
  Superset: 'superset',
3003
3022
  Overlap: 'overlap',
@@ -3021,6 +3040,7 @@ export const FetchMyTradesExchangeEnum = {
3021
3040
  PolymarketUs: 'polymarket_us',
3022
3041
  GeminiTitan: 'gemini-titan',
3023
3042
  Hyperliquid: 'hyperliquid',
3043
+ Suibets: 'suibets',
3024
3044
  Mock: 'mock',
3025
3045
  Router: 'router'
3026
3046
  } as const;
@@ -3042,6 +3062,7 @@ export const FetchOHLCVExchangeEnum = {
3042
3062
  PolymarketUs: 'polymarket_us',
3043
3063
  GeminiTitan: 'gemini-titan',
3044
3064
  Hyperliquid: 'hyperliquid',
3065
+ Suibets: 'suibets',
3045
3066
  Mock: 'mock',
3046
3067
  Router: 'router'
3047
3068
  } as const;
@@ -3063,6 +3084,7 @@ export const FetchOpenOrdersExchangeEnum = {
3063
3084
  PolymarketUs: 'polymarket_us',
3064
3085
  GeminiTitan: 'gemini-titan',
3065
3086
  Hyperliquid: 'hyperliquid',
3087
+ Suibets: 'suibets',
3066
3088
  Mock: 'mock',
3067
3089
  Router: 'router'
3068
3090
  } as const;
@@ -3084,6 +3106,7 @@ export const FetchOrderExchangeEnum = {
3084
3106
  PolymarketUs: 'polymarket_us',
3085
3107
  GeminiTitan: 'gemini-titan',
3086
3108
  Hyperliquid: 'hyperliquid',
3109
+ Suibets: 'suibets',
3087
3110
  Mock: 'mock',
3088
3111
  Router: 'router'
3089
3112
  } as const;
@@ -3105,6 +3128,7 @@ export const FetchOrderBookExchangeEnum = {
3105
3128
  PolymarketUs: 'polymarket_us',
3106
3129
  GeminiTitan: 'gemini-titan',
3107
3130
  Hyperliquid: 'hyperliquid',
3131
+ Suibets: 'suibets',
3108
3132
  Mock: 'mock',
3109
3133
  Router: 'router'
3110
3134
  } as const;
@@ -3134,6 +3158,7 @@ export const FetchOrderBooksOperationExchangeEnum = {
3134
3158
  PolymarketUs: 'polymarket_us',
3135
3159
  GeminiTitan: 'gemini-titan',
3136
3160
  Hyperliquid: 'hyperliquid',
3161
+ Suibets: 'suibets',
3137
3162
  Mock: 'mock',
3138
3163
  Router: 'router'
3139
3164
  } as const;
@@ -3155,6 +3180,7 @@ export const FetchPositionsExchangeEnum = {
3155
3180
  PolymarketUs: 'polymarket_us',
3156
3181
  GeminiTitan: 'gemini-titan',
3157
3182
  Hyperliquid: 'hyperliquid',
3183
+ Suibets: 'suibets',
3158
3184
  Mock: 'mock',
3159
3185
  Router: 'router'
3160
3186
  } as const;
@@ -3171,6 +3197,7 @@ export type FetchRelatedMarketsExchangeEnum = typeof FetchRelatedMarketsExchange
3171
3197
  */
3172
3198
  export const FetchRelatedMarketsRelationEnum = {
3173
3199
  Identity: 'identity',
3200
+ Complement: 'complement',
3174
3201
  Subset: 'subset',
3175
3202
  Superset: 'superset',
3176
3203
  Overlap: 'overlap',
@@ -3203,6 +3230,7 @@ export const FetchTradesExchangeEnum = {
3203
3230
  PolymarketUs: 'polymarket_us',
3204
3231
  GeminiTitan: 'gemini-titan',
3205
3232
  Hyperliquid: 'hyperliquid',
3233
+ Suibets: 'suibets',
3206
3234
  Mock: 'mock',
3207
3235
  Router: 'router'
3208
3236
  } as const;
@@ -3224,6 +3252,7 @@ export const FilterEventsOperationExchangeEnum = {
3224
3252
  PolymarketUs: 'polymarket_us',
3225
3253
  GeminiTitan: 'gemini-titan',
3226
3254
  Hyperliquid: 'hyperliquid',
3255
+ Suibets: 'suibets',
3227
3256
  Mock: 'mock',
3228
3257
  Router: 'router'
3229
3258
  } as const;
@@ -3245,6 +3274,7 @@ export const FilterMarketsOperationExchangeEnum = {
3245
3274
  PolymarketUs: 'polymarket_us',
3246
3275
  GeminiTitan: 'gemini-titan',
3247
3276
  Hyperliquid: 'hyperliquid',
3277
+ Suibets: 'suibets',
3248
3278
  Mock: 'mock',
3249
3279
  Router: 'router'
3250
3280
  } as const;
@@ -3266,6 +3296,7 @@ export const GetExecutionPriceOperationExchangeEnum = {
3266
3296
  PolymarketUs: 'polymarket_us',
3267
3297
  GeminiTitan: 'gemini-titan',
3268
3298
  Hyperliquid: 'hyperliquid',
3299
+ Suibets: 'suibets',
3269
3300
  Mock: 'mock',
3270
3301
  Router: 'router'
3271
3302
  } as const;
@@ -3287,6 +3318,7 @@ export const GetExecutionPriceDetailedOperationExchangeEnum = {
3287
3318
  PolymarketUs: 'polymarket_us',
3288
3319
  GeminiTitan: 'gemini-titan',
3289
3320
  Hyperliquid: 'hyperliquid',
3321
+ Suibets: 'suibets',
3290
3322
  Mock: 'mock',
3291
3323
  Router: 'router'
3292
3324
  } as const;
@@ -3308,6 +3340,7 @@ export const LoadMarketsOperationExchangeEnum = {
3308
3340
  PolymarketUs: 'polymarket_us',
3309
3341
  GeminiTitan: 'gemini-titan',
3310
3342
  Hyperliquid: 'hyperliquid',
3343
+ Suibets: 'suibets',
3311
3344
  Mock: 'mock',
3312
3345
  Router: 'router'
3313
3346
  } as const;
@@ -3329,6 +3362,7 @@ export const SubmitOrderOperationExchangeEnum = {
3329
3362
  PolymarketUs: 'polymarket_us',
3330
3363
  GeminiTitan: 'gemini-titan',
3331
3364
  Hyperliquid: 'hyperliquid',
3365
+ Suibets: 'suibets',
3332
3366
  Mock: 'mock',
3333
3367
  Router: 'router'
3334
3368
  } as const;
@@ -89,6 +89,7 @@ export interface ArbitrageOpportunity {
89
89
  */
90
90
  export const ArbitrageOpportunityRelationEnum = {
91
91
  Identity: 'identity',
92
+ Complement: 'complement',
92
93
  Subset: 'subset',
93
94
  Superset: 'superset',
94
95
  Overlap: 'overlap',
@@ -51,6 +51,7 @@ export interface FetchArbitrageParams {
51
51
  */
52
52
  export const FetchArbitrageParamsRelationsEnum = {
53
53
  Identity: 'identity',
54
+ Complement: 'complement',
54
55
  Subset: 'subset',
55
56
  Superset: 'superset',
56
57
  Overlap: 'overlap',
@@ -89,6 +89,7 @@ export interface FetchEventMatchesParams {
89
89
  */
90
90
  export const FetchEventMatchesParamsRelationEnum = {
91
91
  Identity: 'identity',
92
+ Complement: 'complement',
92
93
  Subset: 'subset',
93
94
  Superset: 'superset',
94
95
  Overlap: 'overlap',
@@ -107,6 +107,7 @@ export interface FetchMarketMatchesParams {
107
107
  */
108
108
  export const FetchMarketMatchesParamsRelationEnum = {
109
109
  Identity: 'identity',
110
+ Complement: 'complement',
110
111
  Subset: 'subset',
111
112
  Superset: 'superset',
112
113
  Overlap: 'overlap',
@@ -51,6 +51,7 @@ export interface FetchMatchedMarketsParams {
51
51
  */
52
52
  export const FetchMatchedMarketsParamsRelationsEnum = {
53
53
  Identity: 'identity',
54
+ Complement: 'complement',
54
55
  Subset: 'subset',
55
56
  Superset: 'superset',
56
57
  Overlap: 'overlap',
@@ -77,6 +77,7 @@ export interface MatchResult {
77
77
  */
78
78
  export const MatchResultRelationEnum = {
79
79
  Identity: 'identity',
80
+ Complement: 'complement',
80
81
  Subset: 'subset',
81
82
  Superset: 'superset',
82
83
  Overlap: 'overlap',
@@ -95,6 +95,7 @@ export interface MatchedMarketPair {
95
95
  */
96
96
  export const MatchedMarketPairRelationEnum = {
97
97
  Identity: 'identity',
98
+ Complement: 'complement',
98
99
  Subset: 'subset',
99
100
  Superset: 'superset',
100
101
  Overlap: 'overlap',
@@ -77,6 +77,7 @@ export interface PriceComparison {
77
77
  */
78
78
  export const PriceComparisonRelationEnum = {
79
79
  Identity: 'identity',
80
+ Complement: 'complement',
80
81
  Subset: 'subset',
81
82
  Superset: 'superset',
82
83
  Overlap: 'overlap',
package/index.ts CHANGED
@@ -19,7 +19,7 @@
19
19
  */
20
20
 
21
21
 
22
- import { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi, Opinion, Metaculus, Smarkets, PolymarketUS, GeminiTitan, Hyperliquid, Mock } from "./pmxt/client.js";
22
+ import { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi, Opinion, Metaculus, Smarkets, PolymarketUS, GeminiTitan, Hyperliquid, SuiBets, Mock } from "./pmxt/client.js";
23
23
  import { Router } from "./pmxt/router.js";
24
24
  import { ServerManager } from "./pmxt/server-manager.js";
25
25
  import * as models from "./pmxt/models.js";
@@ -82,6 +82,7 @@ const pmxt = {
82
82
  PolymarketUS,
83
83
  GeminiTitan,
84
84
  Hyperliquid,
85
+ SuiBets,
85
86
  Mock,
86
87
  Router,
87
88
  ServerManager,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmxtjs",
3
- "version": "2.45.1",
3
+ "version": "2.46.0",
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.45.1",
46
+ "pmxt-core": "2.46.0",
47
47
  "ws": "^8.18.0"
48
48
  },
49
49
  "devDependencies": {
package/pmxt/models.ts CHANGED
@@ -824,7 +824,7 @@ export interface SubscribedAddressSnapshot {
824
824
  // ----------------------------------------------------------------------------
825
825
 
826
826
  /** Set-theoretic relation between two markets' resolution conditions. */
827
- export type MatchRelation = 'identity' | 'subset' | 'superset' | 'overlap' | 'disjoint';
827
+ export type MatchRelation = 'identity' | 'complement' | 'subset' | 'superset' | 'overlap' | 'disjoint';
828
828
 
829
829
  /** A cross-venue market match with relation classification.
830
830
  * Market properties (title, slug, url, etc.) are accessible directly on the result. */