@jayesol/jayeson.lib.sports 2.2.5 → 2.2.6-beta.1

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.
@@ -1,4 +1,5 @@
1
1
  import * as $protobuf from "protobufjs";
2
+ import Long = require("long");
2
3
  /** SportType enum. */
3
4
  export enum SportType {
4
5
  SOCCER = 0,
@@ -12,37 +13,6 @@ export enum SportType {
12
13
  POOL = 8
13
14
  }
14
15
 
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
16
  /** Represents a BaseMatch. */
47
17
  export class BaseMatch implements IBaseMatch {
48
18
 
@@ -151,34 +121,13 @@ export class BaseMatch implements IBaseMatch {
151
121
  * @returns JSON object
152
122
  */
153
123
  public toJSON(): { [k: string]: any };
154
- }
155
-
156
- /** Properties of a BaseEvent. */
157
- export interface IBaseEvent {
158
-
159
- /** BaseEvent id */
160
- id?: (number|null);
161
124
 
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);
125
+ /**
126
+ * Gets the default type url for BaseMatch
127
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
128
+ * @returns The default type url
129
+ */
130
+ public static getTypeUrl(typeUrlPrefix?: string): string;
182
131
  }
183
132
 
184
133
  /** Represents a BaseEvent. */
@@ -286,61 +235,13 @@ export class BaseEvent implements IBaseEvent {
286
235
  * @returns JSON object
287
236
  */
288
237
  public toJSON(): { [k: string]: any };
289
- }
290
-
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
238
 
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);
239
+ /**
240
+ * Gets the default type url for BaseEvent
241
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
242
+ * @returns The default type url
243
+ */
244
+ public static getTypeUrl(typeUrlPrefix?: string): string;
344
245
  }
345
246
 
346
247
  /** Represents a BaseRecord. */
@@ -475,6 +376,13 @@ export class BaseRecord implements IBaseRecord {
475
376
  * @returns JSON object
476
377
  */
477
378
  public toJSON(): { [k: string]: any };
379
+
380
+ /**
381
+ * Gets the default type url for BaseRecord
382
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
383
+ * @returns The default type url
384
+ */
385
+ public static getTypeUrl(typeUrlPrefix?: string): string;
478
386
  }
479
387
 
480
388
  /** PivotBias enum. */
@@ -498,13 +406,6 @@ export enum LBType {
498
406
  BACK = 1
499
407
  }
500
408
 
501
- /** Properties of a Stats. */
502
- export interface IStats {
503
-
504
- /** Stats scores */
505
- scores?: (number[]|null);
506
- }
507
-
508
409
  /** Represents a Stats. */
509
410
  export class Stats implements IStats {
510
411
 
@@ -586,25 +487,13 @@ export class Stats implements IStats {
586
487
  * @returns JSON object
587
488
  */
588
489
  public toJSON(): { [k: string]: any };
589
- }
590
490
 
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);
491
+ /**
492
+ * Gets the default type url for Stats
493
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
494
+ * @returns The default type url
495
+ */
496
+ public static getTypeUrl(typeUrlPrefix?: string): string;
608
497
  }
609
498
 
610
499
  /** Represents a BaseEventState. */
@@ -703,6 +592,13 @@ export class BaseEventState implements IBaseEventState {
703
592
  * @returns JSON object
704
593
  */
705
594
  public toJSON(): { [k: string]: any };
595
+
596
+ /**
597
+ * Gets the default type url for BaseEventState
598
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
599
+ * @returns The default type url
600
+ */
601
+ public static getTypeUrl(typeUrlPrefix?: string): string;
706
602
  }
707
603
 
708
604
  /** OddType enum. */
@@ -712,19 +608,6 @@ export enum OddType {
712
608
  EARLY = 2
713
609
  }
714
610
 
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
611
  /** Represents a PartitionKey. */
729
612
  export class PartitionKey implements IPartitionKey {
730
613
 
@@ -812,19 +695,13 @@ export class PartitionKey implements IPartitionKey {
812
695
  * @returns JSON object
813
696
  */
814
697
  public toJSON(): { [k: string]: any };
815
- }
816
-
817
- /** Properties of an EventType. */
818
- export interface IEventType {
819
698
 
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);
699
+ /**
700
+ * Gets the default type url for PartitionKey
701
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
702
+ * @returns The default type url
703
+ */
704
+ public static getTypeUrl(typeUrlPrefix?: string): string;
828
705
  }
829
706
 
830
707
  /** Represents an EventType. */
@@ -837,13 +714,13 @@ export class EventType implements IEventType {
837
714
  constructor(properties?: IEventType);
838
715
 
839
716
  /** EventType soccerEventType. */
840
- public soccerEventType: SoccerEvent.Type;
717
+ public soccerEventType?: (SoccerEvent.Type|null);
841
718
 
842
719
  /** EventType basketballEventType. */
843
- public basketballEventType: BasketballEvent.Type;
720
+ public basketballEventType?: (BasketballEvent.Type|null);
844
721
 
845
722
  /** EventType tennisEventType. */
846
- public tennisEventType: TennisEvent.Type;
723
+ public tennisEventType?: (TennisEvent.Type|null);
847
724
 
848
725
  /** EventType concreteEventType. */
849
726
  public concreteEventType?: ("soccerEventType"|"basketballEventType"|"tennisEventType");
@@ -917,6 +794,13 @@ export class EventType implements IEventType {
917
794
  * @returns JSON object
918
795
  */
919
796
  public toJSON(): { [k: string]: any };
797
+
798
+ /**
799
+ * Gets the default type url for EventType
800
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
801
+ * @returns The default type url
802
+ */
803
+ public static getTypeUrl(typeUrlPrefix?: string): string;
920
804
  }
921
805
 
922
806
  /** OddFormat enum. */
@@ -928,19 +812,6 @@ export enum OddFormat {
928
812
  AMERICAN = 4
929
813
  }
930
814
 
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
815
  /** Represents a TimeType. */
945
816
  export class TimeType implements ITimeType {
946
817
 
@@ -1031,13 +902,13 @@ export class TimeType implements ITimeType {
1031
902
  * @returns JSON object
1032
903
  */
1033
904
  public toJSON(): { [k: string]: any };
1034
- }
1035
-
1036
- /** Properties of a Matches. */
1037
- export interface IMatches {
1038
905
 
1039
- /** Matches matches */
1040
- matches?: (IBaseMatch[]|null);
906
+ /**
907
+ * Gets the default type url for TimeType
908
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
909
+ * @returns The default type url
910
+ */
911
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1041
912
  }
1042
913
 
1043
914
  /** Represents a Matches. */
@@ -1121,13 +992,13 @@ export class Matches implements IMatches {
1121
992
  * @returns JSON object
1122
993
  */
1123
994
  public toJSON(): { [k: string]: any };
1124
- }
1125
995
 
1126
- /** Properties of an Events. */
1127
- export interface IEvents {
1128
-
1129
- /** Events events */
1130
- events?: (IBaseEvent[]|null);
996
+ /**
997
+ * Gets the default type url for Matches
998
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
999
+ * @returns The default type url
1000
+ */
1001
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1131
1002
  }
1132
1003
 
1133
1004
  /** Represents an Events. */
@@ -1211,13 +1082,13 @@ export class Events implements IEvents {
1211
1082
  * @returns JSON object
1212
1083
  */
1213
1084
  public toJSON(): { [k: string]: any };
1214
- }
1215
1085
 
1216
- /** Properties of an Odds. */
1217
- export interface IOdds {
1218
-
1219
- /** Odds odds */
1220
- odds?: (IBaseRecord[]|null);
1086
+ /**
1087
+ * Gets the default type url for Events
1088
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1089
+ * @returns The default type url
1090
+ */
1091
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1221
1092
  }
1222
1093
 
1223
1094
  /** Represents an Odds. */
@@ -1301,25 +1172,13 @@ export class Odds implements IOdds {
1301
1172
  * @returns JSON object
1302
1173
  */
1303
1174
  public toJSON(): { [k: string]: any };
1304
- }
1305
-
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
1175
 
1315
- /** DataMessage matches */
1316
- matches?: (IMatches|null);
1317
-
1318
- /** DataMessage events */
1319
- events?: (IEvents|null);
1320
-
1321
- /** DataMessage odds */
1322
- odds?: (IOdds|null);
1176
+ /**
1177
+ * Gets the default type url for Odds
1178
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1179
+ * @returns The default type url
1180
+ */
1181
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1323
1182
  }
1324
1183
 
1325
1184
  /** Represents a DataMessage. */
@@ -1418,10 +1277,13 @@ export class DataMessage implements IDataMessage {
1418
1277
  * @returns JSON object
1419
1278
  */
1420
1279
  public toJSON(): { [k: string]: any };
1421
- }
1422
1280
 
1423
- /** Properties of a SoccerEvent. */
1424
- export interface ISoccerEvent {
1281
+ /**
1282
+ * Gets the default type url for DataMessage
1283
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1284
+ * @returns The default type url
1285
+ */
1286
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1425
1287
  }
1426
1288
 
1427
1289
  /** Represents a SoccerEvent. */
@@ -1502,6 +1364,13 @@ export class SoccerEvent implements ISoccerEvent {
1502
1364
  * @returns JSON object
1503
1365
  */
1504
1366
  public toJSON(): { [k: string]: any };
1367
+
1368
+ /**
1369
+ * Gets the default type url for SoccerEvent
1370
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1371
+ * @returns The default type url
1372
+ */
1373
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1505
1374
  }
1506
1375
 
1507
1376
  export namespace SoccerEvent {
@@ -1516,16 +1385,6 @@ export namespace SoccerEvent {
1516
1385
  }
1517
1386
  }
1518
1387
 
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
1388
  /** Represents a SoccerEventState. */
1530
1389
  export class SoccerEventState implements ISoccerEventState {
1531
1390
 
@@ -1610,6 +1469,13 @@ export class SoccerEventState implements ISoccerEventState {
1610
1469
  * @returns JSON object
1611
1470
  */
1612
1471
  public toJSON(): { [k: string]: any };
1472
+
1473
+ /**
1474
+ * Gets the default type url for SoccerEventState
1475
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1476
+ * @returns The default type url
1477
+ */
1478
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1613
1479
  }
1614
1480
 
1615
1481
  export namespace SoccerEventState {
@@ -1629,16 +1495,6 @@ export namespace SoccerEventState {
1629
1495
  }
1630
1496
  }
1631
1497
 
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
1498
  /** Represents a SoccerMatch. */
1643
1499
  export class SoccerMatch implements ISoccerMatch {
1644
1500
 
@@ -1723,6 +1579,13 @@ export class SoccerMatch implements ISoccerMatch {
1723
1579
  * @returns JSON object
1724
1580
  */
1725
1581
  public toJSON(): { [k: string]: any };
1582
+
1583
+ /**
1584
+ * Gets the default type url for SoccerMatch
1585
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1586
+ * @returns The default type url
1587
+ */
1588
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1726
1589
  }
1727
1590
 
1728
1591
  export namespace SoccerMatch {
@@ -1741,13 +1604,6 @@ export namespace SoccerMatch {
1741
1604
  }
1742
1605
  }
1743
1606
 
1744
- /** Properties of a SoccerRecord. */
1745
- export interface ISoccerRecord {
1746
-
1747
- /** SoccerRecord swapped */
1748
- swapped?: (boolean|null);
1749
- }
1750
-
1751
1607
  /** Represents a SoccerRecord. */
1752
1608
  export class SoccerRecord implements ISoccerRecord {
1753
1609
 
@@ -1829,13 +1685,13 @@ export class SoccerRecord implements ISoccerRecord {
1829
1685
  * @returns JSON object
1830
1686
  */
1831
1687
  public toJSON(): { [k: string]: any };
1832
- }
1833
-
1834
- /** Properties of a SoccerTimeType. */
1835
- export interface ISoccerTimeType {
1836
1688
 
1837
- /** SoccerTimeType settle */
1838
- settle?: (SoccerTimeType.SettleOn|null);
1689
+ /**
1690
+ * Gets the default type url for SoccerRecord
1691
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1692
+ * @returns The default type url
1693
+ */
1694
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1839
1695
  }
1840
1696
 
1841
1697
  /** Represents a SoccerTimeType. */
@@ -1919,6 +1775,13 @@ export class SoccerTimeType implements ISoccerTimeType {
1919
1775
  * @returns JSON object
1920
1776
  */
1921
1777
  public toJSON(): { [k: string]: any };
1778
+
1779
+ /**
1780
+ * Gets the default type url for SoccerTimeType
1781
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1782
+ * @returns The default type url
1783
+ */
1784
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1922
1785
  }
1923
1786
 
1924
1787
  export namespace SoccerTimeType {
@@ -1930,10 +1793,6 @@ export namespace SoccerTimeType {
1930
1793
  }
1931
1794
  }
1932
1795
 
1933
- /** Properties of a BasketballEvent. */
1934
- export interface IBasketballEvent {
1935
- }
1936
-
1937
1796
  /** Represents a BasketballEvent. */
1938
1797
  export class BasketballEvent implements IBasketballEvent {
1939
1798
 
@@ -2012,6 +1871,13 @@ export class BasketballEvent implements IBasketballEvent {
2012
1871
  * @returns JSON object
2013
1872
  */
2014
1873
  public toJSON(): { [k: string]: any };
1874
+
1875
+ /**
1876
+ * Gets the default type url for BasketballEvent
1877
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1878
+ * @returns The default type url
1879
+ */
1880
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2015
1881
  }
2016
1882
 
2017
1883
  export namespace BasketballEvent {
@@ -2028,19 +1894,6 @@ export namespace BasketballEvent {
2028
1894
  }
2029
1895
  }
2030
1896
 
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
1897
  /** Represents a BasketballEventState. */
2045
1898
  export class BasketballEventState implements IBasketballEventState {
2046
1899
 
@@ -2128,6 +1981,13 @@ export class BasketballEventState implements IBasketballEventState {
2128
1981
  * @returns JSON object
2129
1982
  */
2130
1983
  public toJSON(): { [k: string]: any };
1984
+
1985
+ /**
1986
+ * Gets the default type url for BasketballEventState
1987
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1988
+ * @returns The default type url
1989
+ */
1990
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2131
1991
  }
2132
1992
 
2133
1993
  export namespace BasketballEventState {
@@ -2148,13 +2008,6 @@ export namespace BasketballEventState {
2148
2008
  }
2149
2009
  }
2150
2010
 
2151
- /** Properties of a BasketballMatch. */
2152
- export interface IBasketballMatch {
2153
-
2154
- /** BasketballMatch gender */
2155
- gender?: (BasketballMatch.Gender|null);
2156
- }
2157
-
2158
2011
  /** Represents a BasketballMatch. */
2159
2012
  export class BasketballMatch implements IBasketballMatch {
2160
2013
 
@@ -2236,6 +2089,13 @@ export class BasketballMatch implements IBasketballMatch {
2236
2089
  * @returns JSON object
2237
2090
  */
2238
2091
  public toJSON(): { [k: string]: any };
2092
+
2093
+ /**
2094
+ * Gets the default type url for BasketballMatch
2095
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2096
+ * @returns The default type url
2097
+ */
2098
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2239
2099
  }
2240
2100
 
2241
2101
  export namespace BasketballMatch {
@@ -2247,13 +2107,6 @@ export namespace BasketballMatch {
2247
2107
  }
2248
2108
  }
2249
2109
 
2250
- /** Properties of a BasketballRecord. */
2251
- export interface IBasketballRecord {
2252
-
2253
- /** BasketballRecord swapped */
2254
- swapped?: (boolean|null);
2255
- }
2256
-
2257
2110
  /** Represents a BasketballRecord. */
2258
2111
  export class BasketballRecord implements IBasketballRecord {
2259
2112
 
@@ -2335,13 +2188,13 @@ export class BasketballRecord implements IBasketballRecord {
2335
2188
  * @returns JSON object
2336
2189
  */
2337
2190
  public toJSON(): { [k: string]: any };
2338
- }
2339
-
2340
- /** Properties of a BasketballTimeType. */
2341
- export interface IBasketballTimeType {
2342
2191
 
2343
- /** BasketballTimeType settle */
2344
- settle?: (BasketballTimeType.SettleOn|null);
2192
+ /**
2193
+ * Gets the default type url for BasketballRecord
2194
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2195
+ * @returns The default type url
2196
+ */
2197
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2345
2198
  }
2346
2199
 
2347
2200
  /** Represents a BasketballTimeType. */
@@ -2425,6 +2278,13 @@ export class BasketballTimeType implements IBasketballTimeType {
2425
2278
  * @returns JSON object
2426
2279
  */
2427
2280
  public toJSON(): { [k: string]: any };
2281
+
2282
+ /**
2283
+ * Gets the default type url for BasketballTimeType
2284
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2285
+ * @returns The default type url
2286
+ */
2287
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2428
2288
  }
2429
2289
 
2430
2290
  export namespace BasketballTimeType {
@@ -2442,10 +2302,6 @@ export namespace BasketballTimeType {
2442
2302
  }
2443
2303
  }
2444
2304
 
2445
- /** Properties of a TennisEvent. */
2446
- export interface ITennisEvent {
2447
- }
2448
-
2449
2305
  /** Represents a TennisEvent. */
2450
2306
  export class TennisEvent implements ITennisEvent {
2451
2307
 
@@ -2524,6 +2380,13 @@ export class TennisEvent implements ITennisEvent {
2524
2380
  * @returns JSON object
2525
2381
  */
2526
2382
  public toJSON(): { [k: string]: any };
2383
+
2384
+ /**
2385
+ * Gets the default type url for TennisEvent
2386
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2387
+ * @returns The default type url
2388
+ */
2389
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2527
2390
  }
2528
2391
 
2529
2392
  export namespace TennisEvent {
@@ -2539,22 +2402,6 @@ export namespace TennisEvent {
2539
2402
  }
2540
2403
  }
2541
2404
 
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
2405
  /** Represents a TennisEventState. */
2559
2406
  export class TennisEventState implements ITennisEventState {
2560
2407
 
@@ -2645,6 +2492,13 @@ export class TennisEventState implements ITennisEventState {
2645
2492
  * @returns JSON object
2646
2493
  */
2647
2494
  public toJSON(): { [k: string]: any };
2495
+
2496
+ /**
2497
+ * Gets the default type url for TennisEventState
2498
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2499
+ * @returns The default type url
2500
+ */
2501
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2648
2502
  }
2649
2503
 
2650
2504
  export namespace TennisEventState {
@@ -2656,13 +2510,6 @@ export namespace TennisEventState {
2656
2510
  }
2657
2511
  }
2658
2512
 
2659
- /** Properties of a TennisMatch. */
2660
- export interface ITennisMatch {
2661
-
2662
- /** TennisMatch gender */
2663
- gender?: (TennisMatch.Gender|null);
2664
- }
2665
-
2666
2513
  /** Represents a TennisMatch. */
2667
2514
  export class TennisMatch implements ITennisMatch {
2668
2515
 
@@ -2744,6 +2591,13 @@ export class TennisMatch implements ITennisMatch {
2744
2591
  * @returns JSON object
2745
2592
  */
2746
2593
  public toJSON(): { [k: string]: any };
2594
+
2595
+ /**
2596
+ * Gets the default type url for TennisMatch
2597
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2598
+ * @returns The default type url
2599
+ */
2600
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2747
2601
  }
2748
2602
 
2749
2603
  export namespace TennisMatch {
@@ -2759,13 +2613,6 @@ export namespace TennisMatch {
2759
2613
  }
2760
2614
  }
2761
2615
 
2762
- /** Properties of a TennisRecord. */
2763
- export interface ITennisRecord {
2764
-
2765
- /** TennisRecord swapped */
2766
- swapped?: (boolean|null);
2767
- }
2768
-
2769
2616
  /** Represents a TennisRecord. */
2770
2617
  export class TennisRecord implements ITennisRecord {
2771
2618
 
@@ -2847,19 +2694,13 @@ export class TennisRecord implements ITennisRecord {
2847
2694
  * @returns JSON object
2848
2695
  */
2849
2696
  public toJSON(): { [k: string]: any };
2850
- }
2851
-
2852
- /** Properties of a TennisTimeType. */
2853
- export interface ITennisTimeType {
2854
-
2855
- /** TennisTimeType match */
2856
- match?: (number|null);
2857
2697
 
2858
- /** TennisTimeType set */
2859
- set?: (number|null);
2860
-
2861
- /** TennisTimeType game */
2862
- game?: (number|null);
2698
+ /**
2699
+ * Gets the default type url for TennisRecord
2700
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2701
+ * @returns The default type url
2702
+ */
2703
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2863
2704
  }
2864
2705
 
2865
2706
  /** Represents a TennisTimeType. */
@@ -2949,6 +2790,13 @@ export class TennisTimeType implements ITennisTimeType {
2949
2790
  * @returns JSON object
2950
2791
  */
2951
2792
  public toJSON(): { [k: string]: any };
2793
+
2794
+ /**
2795
+ * Gets the default type url for TennisTimeType
2796
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2797
+ * @returns The default type url
2798
+ */
2799
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2952
2800
  }
2953
2801
 
2954
2802
  /** NameFeedOddType enum. */
@@ -2965,37 +2813,6 @@ export enum NameFeedSportType {
2965
2813
  BASKETBALL = 2
2966
2814
  }
2967
2815
 
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
2816
  /** Represents an EventName. */
3000
2817
  export class EventName implements IEventName {
3001
2818
 
@@ -3101,13 +2918,13 @@ export class EventName implements IEventName {
3101
2918
  * @returns JSON object
3102
2919
  */
3103
2920
  public toJSON(): { [k: string]: any };
3104
- }
3105
2921
 
3106
- /** Properties of a Reset. */
3107
- export interface IReset {
3108
-
3109
- /** Reset stream */
3110
- stream?: (string|null);
2922
+ /**
2923
+ * Gets the default type url for EventName
2924
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2925
+ * @returns The default type url
2926
+ */
2927
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3111
2928
  }
3112
2929
 
3113
2930
  /** Represents a Reset. */
@@ -3191,13 +3008,13 @@ export class Reset implements IReset {
3191
3008
  * @returns JSON object
3192
3009
  */
3193
3010
  public toJSON(): { [k: string]: any };
3194
- }
3195
-
3196
- /** Properties of a Refresh. */
3197
- export interface IRefresh {
3198
3011
 
3199
- /** Refresh stream */
3200
- stream?: (string|null);
3012
+ /**
3013
+ * Gets the default type url for Reset
3014
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3015
+ * @returns The default type url
3016
+ */
3017
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3201
3018
  }
3202
3019
 
3203
3020
  /** Represents a Refresh. */
@@ -3281,25 +3098,13 @@ export class Refresh implements IRefresh {
3281
3098
  * @returns JSON object
3282
3099
  */
3283
3100
  public toJSON(): { [k: string]: any };
3284
- }
3285
-
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
3101
 
3298
- /** NameFeedCol stringPool */
3299
- stringPool?: (string[]|null);
3300
-
3301
- /** NameFeedCol names */
3302
- names?: (IEventName[]|null);
3102
+ /**
3103
+ * Gets the default type url for Refresh
3104
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3105
+ * @returns The default type url
3106
+ */
3107
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3303
3108
  }
3304
3109
 
3305
3110
  /** Represents a NameFeedCol. */
@@ -3395,4 +3200,11 @@ export class NameFeedCol implements INameFeedCol {
3395
3200
  * @returns JSON object
3396
3201
  */
3397
3202
  public toJSON(): { [k: string]: any };
3203
+
3204
+ /**
3205
+ * Gets the default type url for NameFeedCol
3206
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3207
+ * @returns The default type url
3208
+ */
3209
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3398
3210
  }