@jayesol/jayeson.lib.sports 2.2.4 → 2.2.5-beta.1205

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.
@@ -12,37 +12,6 @@ export enum SportType {
12
12
  POOL = 8
13
13
  }
14
14
 
15
- /** Properties of a BaseMatch. */
16
- export interface IBaseMatch {
17
-
18
- /** BaseMatch id */
19
- id?: (number|null);
20
-
21
- /** BaseMatch league */
22
- league?: (number|null);
23
-
24
- /** BaseMatch startTime */
25
- startTime?: (number|Long|null);
26
-
27
- /** BaseMatch country */
28
- country?: (number|null);
29
-
30
- /** BaseMatch participants */
31
- participants?: (number[]|null);
32
-
33
- /** BaseMatch metaInfo */
34
- metaInfo?: ({ [k: string]: string }|null);
35
-
36
- /** BaseMatch soccerMatch */
37
- soccerMatch?: (ISoccerMatch|null);
38
-
39
- /** BaseMatch basketballMatch */
40
- basketballMatch?: (IBasketballMatch|null);
41
-
42
- /** BaseMatch tennisMatch */
43
- tennisMatch?: (ITennisMatch|null);
44
- }
45
-
46
15
  /** Represents a BaseMatch. */
47
16
  export class BaseMatch implements IBaseMatch {
48
17
 
@@ -153,34 +122,6 @@ export class BaseMatch implements IBaseMatch {
153
122
  public toJSON(): { [k: string]: any };
154
123
  }
155
124
 
156
- /** Properties of a BaseEvent. */
157
- export interface IBaseEvent {
158
-
159
- /** BaseEvent id */
160
- id?: (number|null);
161
-
162
- /** BaseEvent matchId */
163
- matchId?: (number|null);
164
-
165
- /** BaseEvent eventType */
166
- eventType?: (IEventType|null);
167
-
168
- /** BaseEvent metaInfo */
169
- metaInfo?: ({ [k: string]: string }|null);
170
-
171
- /** BaseEvent state */
172
- state?: (IBaseEventState|null);
173
-
174
- /** BaseEvent soccerEvent */
175
- soccerEvent?: (ISoccerEvent|null);
176
-
177
- /** BaseEvent basketballEvent */
178
- basketballEvent?: (IBasketballEvent|null);
179
-
180
- /** BaseEvent tennisEvent */
181
- tennisEvent?: (ITennisEvent|null);
182
- }
183
-
184
125
  /** Represents a BaseEvent. */
185
126
  export class BaseEvent implements IBaseEvent {
186
127
 
@@ -288,61 +229,6 @@ export class BaseEvent implements IBaseEvent {
288
229
  public toJSON(): { [k: string]: any };
289
230
  }
290
231
 
291
- /** Properties of a BaseRecord. */
292
- export interface IBaseRecord {
293
-
294
- /** BaseRecord id */
295
- id?: (number|Long|null);
296
-
297
- /** BaseRecord matchId */
298
- matchId?: (number|null);
299
-
300
- /** BaseRecord eventId */
301
- eventId?: (number|null);
302
-
303
- /** BaseRecord source */
304
- source?: (number|null);
305
-
306
- /** BaseRecord format */
307
- format?: (OddFormat|null);
308
-
309
- /** BaseRecord timeType */
310
- timeType?: (ITimeType|null);
311
-
312
- /** BaseRecord metaInfo */
313
- metaInfo?: ({ [k: string]: string }|null);
314
-
315
- /** BaseRecord rates */
316
- rates?: (number[]|null);
317
-
318
- /** BaseRecord rateIds */
319
- rateIds?: (number[]|null);
320
-
321
- /** BaseRecord lbType */
322
- lbType?: (LBType|null);
323
-
324
- /** BaseRecord oddType */
325
- oddType?: (OddType|null);
326
-
327
- /** BaseRecord pivotValue */
328
- pivotValue?: (number|null);
329
-
330
- /** BaseRecord pivotType */
331
- pivotType?: (PivotType|null);
332
-
333
- /** BaseRecord pivotBias */
334
- pivotBias?: (PivotBias|null);
335
-
336
- /** BaseRecord soccerRecord */
337
- soccerRecord?: (ISoccerRecord|null);
338
-
339
- /** BaseRecord basketballRecord */
340
- basketballRecord?: (IBasketballRecord|null);
341
-
342
- /** BaseRecord tennisRecord */
343
- tennisRecord?: (ITennisRecord|null);
344
- }
345
-
346
232
  /** Represents a BaseRecord. */
347
233
  export class BaseRecord implements IBaseRecord {
348
234
 
@@ -498,13 +384,6 @@ export enum LBType {
498
384
  BACK = 1
499
385
  }
500
386
 
501
- /** Properties of a Stats. */
502
- export interface IStats {
503
-
504
- /** Stats scores */
505
- scores?: (number[]|null);
506
- }
507
-
508
387
  /** Represents a Stats. */
509
388
  export class Stats implements IStats {
510
389
 
@@ -588,25 +467,6 @@ export class Stats implements IStats {
588
467
  public toJSON(): { [k: string]: any };
589
468
  }
590
469
 
591
- /** Properties of a BaseEventState. */
592
- export interface IBaseEventState {
593
-
594
- /** BaseEventState duration */
595
- duration?: (number|null);
596
-
597
- /** BaseEventState participantStats */
598
- participantStats?: (IStats[]|null);
599
-
600
- /** BaseEventState soccerEventState */
601
- soccerEventState?: (ISoccerEventState|null);
602
-
603
- /** BaseEventState basketballEventState */
604
- basketballEventState?: (IBasketballEventState|null);
605
-
606
- /** BaseEventState tennisEventState */
607
- tennisEventState?: (ITennisEventState|null);
608
- }
609
-
610
470
  /** Represents a BaseEventState. */
611
471
  export class BaseEventState implements IBaseEventState {
612
472
 
@@ -712,19 +572,6 @@ export enum OddType {
712
572
  EARLY = 2
713
573
  }
714
574
 
715
- /** Properties of a PartitionKey. */
716
- export interface IPartitionKey {
717
-
718
- /** PartitionKey source */
719
- source?: (number|null);
720
-
721
- /** PartitionKey oddType */
722
- oddType?: (OddType|null);
723
-
724
- /** PartitionKey sport */
725
- sport?: (SportType|null);
726
- }
727
-
728
575
  /** Represents a PartitionKey. */
729
576
  export class PartitionKey implements IPartitionKey {
730
577
 
@@ -814,19 +661,6 @@ export class PartitionKey implements IPartitionKey {
814
661
  public toJSON(): { [k: string]: any };
815
662
  }
816
663
 
817
- /** Properties of an EventType. */
818
- export interface IEventType {
819
-
820
- /** EventType soccerEventType */
821
- soccerEventType?: (SoccerEvent.Type|null);
822
-
823
- /** EventType basketballEventType */
824
- basketballEventType?: (BasketballEvent.Type|null);
825
-
826
- /** EventType tennisEventType */
827
- tennisEventType?: (TennisEvent.Type|null);
828
- }
829
-
830
664
  /** Represents an EventType. */
831
665
  export class EventType implements IEventType {
832
666
 
@@ -837,13 +671,13 @@ export class EventType implements IEventType {
837
671
  constructor(properties?: IEventType);
838
672
 
839
673
  /** EventType soccerEventType. */
840
- public soccerEventType: SoccerEvent.Type;
674
+ public soccerEventType?: (SoccerEvent.Type|null);
841
675
 
842
676
  /** EventType basketballEventType. */
843
- public basketballEventType: BasketballEvent.Type;
677
+ public basketballEventType?: (BasketballEvent.Type|null);
844
678
 
845
679
  /** EventType tennisEventType. */
846
- public tennisEventType: TennisEvent.Type;
680
+ public tennisEventType?: (TennisEvent.Type|null);
847
681
 
848
682
  /** EventType concreteEventType. */
849
683
  public concreteEventType?: ("soccerEventType"|"basketballEventType"|"tennisEventType");
@@ -928,19 +762,6 @@ export enum OddFormat {
928
762
  AMERICAN = 4
929
763
  }
930
764
 
931
- /** Properties of a TimeType. */
932
- export interface ITimeType {
933
-
934
- /** TimeType soccerTimeType */
935
- soccerTimeType?: (ISoccerTimeType|null);
936
-
937
- /** TimeType basketballTimeType */
938
- basketballTimeType?: (IBasketballTimeType|null);
939
-
940
- /** TimeType tennisTimeType */
941
- tennisTimeType?: (ITennisTimeType|null);
942
- }
943
-
944
765
  /** Represents a TimeType. */
945
766
  export class TimeType implements ITimeType {
946
767
 
@@ -1033,13 +854,6 @@ export class TimeType implements ITimeType {
1033
854
  public toJSON(): { [k: string]: any };
1034
855
  }
1035
856
 
1036
- /** Properties of a Matches. */
1037
- export interface IMatches {
1038
-
1039
- /** Matches matches */
1040
- matches?: (IBaseMatch[]|null);
1041
- }
1042
-
1043
857
  /** Represents a Matches. */
1044
858
  export class Matches implements IMatches {
1045
859
 
@@ -1123,13 +937,6 @@ export class Matches implements IMatches {
1123
937
  public toJSON(): { [k: string]: any };
1124
938
  }
1125
939
 
1126
- /** Properties of an Events. */
1127
- export interface IEvents {
1128
-
1129
- /** Events events */
1130
- events?: (IBaseEvent[]|null);
1131
- }
1132
-
1133
940
  /** Represents an Events. */
1134
941
  export class Events implements IEvents {
1135
942
 
@@ -1213,13 +1020,6 @@ export class Events implements IEvents {
1213
1020
  public toJSON(): { [k: string]: any };
1214
1021
  }
1215
1022
 
1216
- /** Properties of an Odds. */
1217
- export interface IOdds {
1218
-
1219
- /** Odds odds */
1220
- odds?: (IBaseRecord[]|null);
1221
- }
1222
-
1223
1023
  /** Represents an Odds. */
1224
1024
  export class Odds implements IOdds {
1225
1025
 
@@ -1303,25 +1103,6 @@ export class Odds implements IOdds {
1303
1103
  public toJSON(): { [k: string]: any };
1304
1104
  }
1305
1105
 
1306
- /** Properties of a DataMessage. */
1307
- export interface IDataMessage {
1308
-
1309
- /** DataMessage stringPool */
1310
- stringPool?: (string[]|null);
1311
-
1312
- /** DataMessage feedKey */
1313
- feedKey?: (IPartitionKey|null);
1314
-
1315
- /** DataMessage matches */
1316
- matches?: (IMatches|null);
1317
-
1318
- /** DataMessage events */
1319
- events?: (IEvents|null);
1320
-
1321
- /** DataMessage odds */
1322
- odds?: (IOdds|null);
1323
- }
1324
-
1325
1106
  /** Represents a DataMessage. */
1326
1107
  export class DataMessage implements IDataMessage {
1327
1108
 
@@ -1420,10 +1201,6 @@ export class DataMessage implements IDataMessage {
1420
1201
  public toJSON(): { [k: string]: any };
1421
1202
  }
1422
1203
 
1423
- /** Properties of a SoccerEvent. */
1424
- export interface ISoccerEvent {
1425
- }
1426
-
1427
1204
  /** Represents a SoccerEvent. */
1428
1205
  export class SoccerEvent implements ISoccerEvent {
1429
1206
 
@@ -1516,16 +1293,6 @@ export namespace SoccerEvent {
1516
1293
  }
1517
1294
  }
1518
1295
 
1519
- /** Properties of a SoccerEventState. */
1520
- export interface ISoccerEventState {
1521
-
1522
- /** SoccerEventState segment */
1523
- segment?: (SoccerEventState.Segment|null);
1524
-
1525
- /** SoccerEventState bookPriority */
1526
- bookPriority?: (number|null);
1527
- }
1528
-
1529
1296
  /** Represents a SoccerEventState. */
1530
1297
  export class SoccerEventState implements ISoccerEventState {
1531
1298
 
@@ -1629,16 +1396,6 @@ export namespace SoccerEventState {
1629
1396
  }
1630
1397
  }
1631
1398
 
1632
- /** Properties of a SoccerMatch. */
1633
- export interface ISoccerMatch {
1634
-
1635
- /** SoccerMatch leagueType */
1636
- leagueType?: (SoccerMatch.LeagueType|null);
1637
-
1638
- /** SoccerMatch gender */
1639
- gender?: (SoccerMatch.Gender|null);
1640
- }
1641
-
1642
1399
  /** Represents a SoccerMatch. */
1643
1400
  export class SoccerMatch implements ISoccerMatch {
1644
1401
 
@@ -1741,13 +1498,6 @@ export namespace SoccerMatch {
1741
1498
  }
1742
1499
  }
1743
1500
 
1744
- /** Properties of a SoccerRecord. */
1745
- export interface ISoccerRecord {
1746
-
1747
- /** SoccerRecord swapped */
1748
- swapped?: (boolean|null);
1749
- }
1750
-
1751
1501
  /** Represents a SoccerRecord. */
1752
1502
  export class SoccerRecord implements ISoccerRecord {
1753
1503
 
@@ -1831,13 +1581,6 @@ export class SoccerRecord implements ISoccerRecord {
1831
1581
  public toJSON(): { [k: string]: any };
1832
1582
  }
1833
1583
 
1834
- /** Properties of a SoccerTimeType. */
1835
- export interface ISoccerTimeType {
1836
-
1837
- /** SoccerTimeType settle */
1838
- settle?: (SoccerTimeType.SettleOn|null);
1839
- }
1840
-
1841
1584
  /** Represents a SoccerTimeType. */
1842
1585
  export class SoccerTimeType implements ISoccerTimeType {
1843
1586
 
@@ -1930,10 +1673,6 @@ export namespace SoccerTimeType {
1930
1673
  }
1931
1674
  }
1932
1675
 
1933
- /** Properties of a BasketballEvent. */
1934
- export interface IBasketballEvent {
1935
- }
1936
-
1937
1676
  /** Represents a BasketballEvent. */
1938
1677
  export class BasketballEvent implements IBasketballEvent {
1939
1678
 
@@ -2028,19 +1767,6 @@ export namespace BasketballEvent {
2028
1767
  }
2029
1768
  }
2030
1769
 
2031
- /** Properties of a BasketballEventState. */
2032
- export interface IBasketballEventState {
2033
-
2034
- /** BasketballEventState segment */
2035
- segment?: (BasketballEventState.Segment|null);
2036
-
2037
- /** BasketballEventState timeout */
2038
- timeout?: (boolean|null);
2039
-
2040
- /** BasketballEventState bookPriority */
2041
- bookPriority?: (number|null);
2042
- }
2043
-
2044
1770
  /** Represents a BasketballEventState. */
2045
1771
  export class BasketballEventState implements IBasketballEventState {
2046
1772
 
@@ -2148,13 +1874,6 @@ export namespace BasketballEventState {
2148
1874
  }
2149
1875
  }
2150
1876
 
2151
- /** Properties of a BasketballMatch. */
2152
- export interface IBasketballMatch {
2153
-
2154
- /** BasketballMatch gender */
2155
- gender?: (BasketballMatch.Gender|null);
2156
- }
2157
-
2158
1877
  /** Represents a BasketballMatch. */
2159
1878
  export class BasketballMatch implements IBasketballMatch {
2160
1879
 
@@ -2247,13 +1966,6 @@ export namespace BasketballMatch {
2247
1966
  }
2248
1967
  }
2249
1968
 
2250
- /** Properties of a BasketballRecord. */
2251
- export interface IBasketballRecord {
2252
-
2253
- /** BasketballRecord swapped */
2254
- swapped?: (boolean|null);
2255
- }
2256
-
2257
1969
  /** Represents a BasketballRecord. */
2258
1970
  export class BasketballRecord implements IBasketballRecord {
2259
1971
 
@@ -2337,13 +2049,6 @@ export class BasketballRecord implements IBasketballRecord {
2337
2049
  public toJSON(): { [k: string]: any };
2338
2050
  }
2339
2051
 
2340
- /** Properties of a BasketballTimeType. */
2341
- export interface IBasketballTimeType {
2342
-
2343
- /** BasketballTimeType settle */
2344
- settle?: (BasketballTimeType.SettleOn|null);
2345
- }
2346
-
2347
2052
  /** Represents a BasketballTimeType. */
2348
2053
  export class BasketballTimeType implements IBasketballTimeType {
2349
2054
 
@@ -2442,10 +2147,6 @@ export namespace BasketballTimeType {
2442
2147
  }
2443
2148
  }
2444
2149
 
2445
- /** Properties of a TennisEvent. */
2446
- export interface ITennisEvent {
2447
- }
2448
-
2449
2150
  /** Represents a TennisEvent. */
2450
2151
  export class TennisEvent implements ITennisEvent {
2451
2152
 
@@ -2539,22 +2240,6 @@ export namespace TennisEvent {
2539
2240
  }
2540
2241
  }
2541
2242
 
2542
- /** Properties of a TennisEventState. */
2543
- export interface ITennisEventState {
2544
-
2545
- /** TennisEventState set */
2546
- set?: (number|null);
2547
-
2548
- /** TennisEventState game */
2549
- game?: (number|null);
2550
-
2551
- /** TennisEventState bookPriority */
2552
- bookPriority?: (number|null);
2553
-
2554
- /** TennisEventState segment */
2555
- segment?: (TennisEventState.Segment|null);
2556
- }
2557
-
2558
2243
  /** Represents a TennisEventState. */
2559
2244
  export class TennisEventState implements ITennisEventState {
2560
2245
 
@@ -2656,13 +2341,6 @@ export namespace TennisEventState {
2656
2341
  }
2657
2342
  }
2658
2343
 
2659
- /** Properties of a TennisMatch. */
2660
- export interface ITennisMatch {
2661
-
2662
- /** TennisMatch gender */
2663
- gender?: (TennisMatch.Gender|null);
2664
- }
2665
-
2666
2344
  /** Represents a TennisMatch. */
2667
2345
  export class TennisMatch implements ITennisMatch {
2668
2346
 
@@ -2759,13 +2437,6 @@ export namespace TennisMatch {
2759
2437
  }
2760
2438
  }
2761
2439
 
2762
- /** Properties of a TennisRecord. */
2763
- export interface ITennisRecord {
2764
-
2765
- /** TennisRecord swapped */
2766
- swapped?: (boolean|null);
2767
- }
2768
-
2769
2440
  /** Represents a TennisRecord. */
2770
2441
  export class TennisRecord implements ITennisRecord {
2771
2442
 
@@ -2849,19 +2520,6 @@ export class TennisRecord implements ITennisRecord {
2849
2520
  public toJSON(): { [k: string]: any };
2850
2521
  }
2851
2522
 
2852
- /** Properties of a TennisTimeType. */
2853
- export interface ITennisTimeType {
2854
-
2855
- /** TennisTimeType match */
2856
- match?: (number|null);
2857
-
2858
- /** TennisTimeType set */
2859
- set?: (number|null);
2860
-
2861
- /** TennisTimeType game */
2862
- game?: (number|null);
2863
- }
2864
-
2865
2523
  /** Represents a TennisTimeType. */
2866
2524
  export class TennisTimeType implements ITennisTimeType {
2867
2525
 
@@ -2965,37 +2623,6 @@ export enum NameFeedSportType {
2965
2623
  BASKETBALL = 2
2966
2624
  }
2967
2625
 
2968
- /** Properties of an EventName. */
2969
- export interface IEventName {
2970
-
2971
- /** EventName originalEventId */
2972
- originalEventId?: (string|null);
2973
-
2974
- /** EventName league */
2975
- league?: (string|null);
2976
-
2977
- /** EventName host */
2978
- host?: (string|null);
2979
-
2980
- /** EventName guest */
2981
- guest?: (string|null);
2982
-
2983
- /** EventName source */
2984
- source?: (string|null);
2985
-
2986
- /** EventName oddType */
2987
- oddType?: (NameFeedOddType|null);
2988
-
2989
- /** EventName sportType */
2990
- sportType?: (NameFeedSportType|null);
2991
-
2992
- /** EventName epoch */
2993
- epoch?: (number|Long|null);
2994
-
2995
- /** EventName startTime */
2996
- startTime?: (number|Long|null);
2997
- }
2998
-
2999
2626
  /** Represents an EventName. */
3000
2627
  export class EventName implements IEventName {
3001
2628
 
@@ -3103,13 +2730,6 @@ export class EventName implements IEventName {
3103
2730
  public toJSON(): { [k: string]: any };
3104
2731
  }
3105
2732
 
3106
- /** Properties of a Reset. */
3107
- export interface IReset {
3108
-
3109
- /** Reset stream */
3110
- stream?: (string|null);
3111
- }
3112
-
3113
2733
  /** Represents a Reset. */
3114
2734
  export class Reset implements IReset {
3115
2735
 
@@ -3193,13 +2813,6 @@ export class Reset implements IReset {
3193
2813
  public toJSON(): { [k: string]: any };
3194
2814
  }
3195
2815
 
3196
- /** Properties of a Refresh. */
3197
- export interface IRefresh {
3198
-
3199
- /** Refresh stream */
3200
- stream?: (string|null);
3201
- }
3202
-
3203
2816
  /** Represents a Refresh. */
3204
2817
  export class Refresh implements IRefresh {
3205
2818
 
@@ -3283,25 +2896,6 @@ export class Refresh implements IRefresh {
3283
2896
  public toJSON(): { [k: string]: any };
3284
2897
  }
3285
2898
 
3286
- /** Properties of a NameFeedCol. */
3287
- export interface INameFeedCol {
3288
-
3289
- /** NameFeedCol source */
3290
- source?: (number|null);
3291
-
3292
- /** NameFeedCol sportType */
3293
- sportType?: (NameFeedSportType|null);
3294
-
3295
- /** NameFeedCol oddType */
3296
- oddType?: (NameFeedOddType|null);
3297
-
3298
- /** NameFeedCol stringPool */
3299
- stringPool?: (string[]|null);
3300
-
3301
- /** NameFeedCol names */
3302
- names?: (IEventName[]|null);
3303
- }
3304
-
3305
2899
  /** Represents a NameFeedCol. */
3306
2900
  export class NameFeedCol implements INameFeedCol {
3307
2901