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

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,2992 +0,0 @@
1
- import * as $protobuf from "protobufjs";
2
- /** SportType enum. */
3
- export enum SportType {
4
- SOCCER = 0,
5
- BASKETBALL = 1,
6
- HOCKEY = 2,
7
- TENNIS = 3,
8
- HORSE_RACING = 4,
9
- MOTOR_SPORT = 5,
10
- HANDBALL = 6,
11
- CRICKET = 7,
12
- POOL = 8
13
- }
14
-
15
- /** Represents a BaseMatch. */
16
- export class BaseMatch implements IBaseMatch {
17
-
18
- /**
19
- * Constructs a new BaseMatch.
20
- * @param [properties] Properties to set
21
- */
22
- constructor(properties?: IBaseMatch);
23
-
24
- /** BaseMatch id. */
25
- public id: number;
26
-
27
- /** BaseMatch league. */
28
- public league: number;
29
-
30
- /** BaseMatch startTime. */
31
- public startTime: (number|Long);
32
-
33
- /** BaseMatch country. */
34
- public country: number;
35
-
36
- /** BaseMatch participants. */
37
- public participants: number[];
38
-
39
- /** BaseMatch metaInfo. */
40
- public metaInfo: { [k: string]: string };
41
-
42
- /** BaseMatch soccerMatch. */
43
- public soccerMatch?: (ISoccerMatch|null);
44
-
45
- /** BaseMatch basketballMatch. */
46
- public basketballMatch?: (IBasketballMatch|null);
47
-
48
- /** BaseMatch tennisMatch. */
49
- public tennisMatch?: (ITennisMatch|null);
50
-
51
- /** BaseMatch concreteMatch. */
52
- public concreteMatch?: ("soccerMatch"|"basketballMatch"|"tennisMatch");
53
-
54
- /**
55
- * Creates a new BaseMatch instance using the specified properties.
56
- * @param [properties] Properties to set
57
- * @returns BaseMatch instance
58
- */
59
- public static create(properties?: IBaseMatch): BaseMatch;
60
-
61
- /**
62
- * Encodes the specified BaseMatch message. Does not implicitly {@link BaseMatch.verify|verify} messages.
63
- * @param message BaseMatch message or plain object to encode
64
- * @param [writer] Writer to encode to
65
- * @returns Writer
66
- */
67
- public static encode(message: IBaseMatch, writer?: $protobuf.Writer): $protobuf.Writer;
68
-
69
- /**
70
- * Encodes the specified BaseMatch message, length delimited. Does not implicitly {@link BaseMatch.verify|verify} messages.
71
- * @param message BaseMatch message or plain object to encode
72
- * @param [writer] Writer to encode to
73
- * @returns Writer
74
- */
75
- public static encodeDelimited(message: IBaseMatch, writer?: $protobuf.Writer): $protobuf.Writer;
76
-
77
- /**
78
- * Decodes a BaseMatch message from the specified reader or buffer.
79
- * @param reader Reader or buffer to decode from
80
- * @param [length] Message length if known beforehand
81
- * @returns BaseMatch
82
- * @throws {Error} If the payload is not a reader or valid buffer
83
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
84
- */
85
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BaseMatch;
86
-
87
- /**
88
- * Decodes a BaseMatch message from the specified reader or buffer, length delimited.
89
- * @param reader Reader or buffer to decode from
90
- * @returns BaseMatch
91
- * @throws {Error} If the payload is not a reader or valid buffer
92
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
93
- */
94
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BaseMatch;
95
-
96
- /**
97
- * Verifies a BaseMatch message.
98
- * @param message Plain object to verify
99
- * @returns `null` if valid, otherwise the reason why it is not
100
- */
101
- public static verify(message: { [k: string]: any }): (string|null);
102
-
103
- /**
104
- * Creates a BaseMatch message from a plain object. Also converts values to their respective internal types.
105
- * @param object Plain object
106
- * @returns BaseMatch
107
- */
108
- public static fromObject(object: { [k: string]: any }): BaseMatch;
109
-
110
- /**
111
- * Creates a plain object from a BaseMatch message. Also converts values to other types if specified.
112
- * @param message BaseMatch
113
- * @param [options] Conversion options
114
- * @returns Plain object
115
- */
116
- public static toObject(message: BaseMatch, options?: $protobuf.IConversionOptions): { [k: string]: any };
117
-
118
- /**
119
- * Converts this BaseMatch to JSON.
120
- * @returns JSON object
121
- */
122
- public toJSON(): { [k: string]: any };
123
- }
124
-
125
- /** Represents a BaseEvent. */
126
- export class BaseEvent implements IBaseEvent {
127
-
128
- /**
129
- * Constructs a new BaseEvent.
130
- * @param [properties] Properties to set
131
- */
132
- constructor(properties?: IBaseEvent);
133
-
134
- /** BaseEvent id. */
135
- public id: number;
136
-
137
- /** BaseEvent matchId. */
138
- public matchId: number;
139
-
140
- /** BaseEvent eventType. */
141
- public eventType?: (IEventType|null);
142
-
143
- /** BaseEvent metaInfo. */
144
- public metaInfo: { [k: string]: string };
145
-
146
- /** BaseEvent state. */
147
- public state?: (IBaseEventState|null);
148
-
149
- /** BaseEvent soccerEvent. */
150
- public soccerEvent?: (ISoccerEvent|null);
151
-
152
- /** BaseEvent basketballEvent. */
153
- public basketballEvent?: (IBasketballEvent|null);
154
-
155
- /** BaseEvent tennisEvent. */
156
- public tennisEvent?: (ITennisEvent|null);
157
-
158
- /** BaseEvent concreteEvent. */
159
- public concreteEvent?: ("soccerEvent"|"basketballEvent"|"tennisEvent");
160
-
161
- /**
162
- * Creates a new BaseEvent instance using the specified properties.
163
- * @param [properties] Properties to set
164
- * @returns BaseEvent instance
165
- */
166
- public static create(properties?: IBaseEvent): BaseEvent;
167
-
168
- /**
169
- * Encodes the specified BaseEvent message. Does not implicitly {@link BaseEvent.verify|verify} messages.
170
- * @param message BaseEvent message or plain object to encode
171
- * @param [writer] Writer to encode to
172
- * @returns Writer
173
- */
174
- public static encode(message: IBaseEvent, writer?: $protobuf.Writer): $protobuf.Writer;
175
-
176
- /**
177
- * Encodes the specified BaseEvent message, length delimited. Does not implicitly {@link BaseEvent.verify|verify} messages.
178
- * @param message BaseEvent message or plain object to encode
179
- * @param [writer] Writer to encode to
180
- * @returns Writer
181
- */
182
- public static encodeDelimited(message: IBaseEvent, writer?: $protobuf.Writer): $protobuf.Writer;
183
-
184
- /**
185
- * Decodes a BaseEvent message from the specified reader or buffer.
186
- * @param reader Reader or buffer to decode from
187
- * @param [length] Message length if known beforehand
188
- * @returns BaseEvent
189
- * @throws {Error} If the payload is not a reader or valid buffer
190
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
191
- */
192
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BaseEvent;
193
-
194
- /**
195
- * Decodes a BaseEvent message from the specified reader or buffer, length delimited.
196
- * @param reader Reader or buffer to decode from
197
- * @returns BaseEvent
198
- * @throws {Error} If the payload is not a reader or valid buffer
199
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
200
- */
201
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BaseEvent;
202
-
203
- /**
204
- * Verifies a BaseEvent message.
205
- * @param message Plain object to verify
206
- * @returns `null` if valid, otherwise the reason why it is not
207
- */
208
- public static verify(message: { [k: string]: any }): (string|null);
209
-
210
- /**
211
- * Creates a BaseEvent message from a plain object. Also converts values to their respective internal types.
212
- * @param object Plain object
213
- * @returns BaseEvent
214
- */
215
- public static fromObject(object: { [k: string]: any }): BaseEvent;
216
-
217
- /**
218
- * Creates a plain object from a BaseEvent message. Also converts values to other types if specified.
219
- * @param message BaseEvent
220
- * @param [options] Conversion options
221
- * @returns Plain object
222
- */
223
- public static toObject(message: BaseEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
224
-
225
- /**
226
- * Converts this BaseEvent to JSON.
227
- * @returns JSON object
228
- */
229
- public toJSON(): { [k: string]: any };
230
- }
231
-
232
- /** Represents a BaseRecord. */
233
- export class BaseRecord implements IBaseRecord {
234
-
235
- /**
236
- * Constructs a new BaseRecord.
237
- * @param [properties] Properties to set
238
- */
239
- constructor(properties?: IBaseRecord);
240
-
241
- /** BaseRecord id. */
242
- public id: (number|Long);
243
-
244
- /** BaseRecord matchId. */
245
- public matchId: number;
246
-
247
- /** BaseRecord eventId. */
248
- public eventId: number;
249
-
250
- /** BaseRecord source. */
251
- public source: number;
252
-
253
- /** BaseRecord format. */
254
- public format: OddFormat;
255
-
256
- /** BaseRecord timeType. */
257
- public timeType?: (ITimeType|null);
258
-
259
- /** BaseRecord metaInfo. */
260
- public metaInfo: { [k: string]: string };
261
-
262
- /** BaseRecord rates. */
263
- public rates: number[];
264
-
265
- /** BaseRecord rateIds. */
266
- public rateIds: number[];
267
-
268
- /** BaseRecord lbType. */
269
- public lbType: LBType;
270
-
271
- /** BaseRecord oddType. */
272
- public oddType: OddType;
273
-
274
- /** BaseRecord pivotValue. */
275
- public pivotValue: number;
276
-
277
- /** BaseRecord pivotType. */
278
- public pivotType: PivotType;
279
-
280
- /** BaseRecord pivotBias. */
281
- public pivotBias: PivotBias;
282
-
283
- /** BaseRecord soccerRecord. */
284
- public soccerRecord?: (ISoccerRecord|null);
285
-
286
- /** BaseRecord basketballRecord. */
287
- public basketballRecord?: (IBasketballRecord|null);
288
-
289
- /** BaseRecord tennisRecord. */
290
- public tennisRecord?: (ITennisRecord|null);
291
-
292
- /** BaseRecord concreteRecord. */
293
- public concreteRecord?: ("soccerRecord"|"basketballRecord"|"tennisRecord");
294
-
295
- /**
296
- * Creates a new BaseRecord instance using the specified properties.
297
- * @param [properties] Properties to set
298
- * @returns BaseRecord instance
299
- */
300
- public static create(properties?: IBaseRecord): BaseRecord;
301
-
302
- /**
303
- * Encodes the specified BaseRecord message. Does not implicitly {@link BaseRecord.verify|verify} messages.
304
- * @param message BaseRecord message or plain object to encode
305
- * @param [writer] Writer to encode to
306
- * @returns Writer
307
- */
308
- public static encode(message: IBaseRecord, writer?: $protobuf.Writer): $protobuf.Writer;
309
-
310
- /**
311
- * Encodes the specified BaseRecord message, length delimited. Does not implicitly {@link BaseRecord.verify|verify} messages.
312
- * @param message BaseRecord message or plain object to encode
313
- * @param [writer] Writer to encode to
314
- * @returns Writer
315
- */
316
- public static encodeDelimited(message: IBaseRecord, writer?: $protobuf.Writer): $protobuf.Writer;
317
-
318
- /**
319
- * Decodes a BaseRecord message from the specified reader or buffer.
320
- * @param reader Reader or buffer to decode from
321
- * @param [length] Message length if known beforehand
322
- * @returns BaseRecord
323
- * @throws {Error} If the payload is not a reader or valid buffer
324
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
325
- */
326
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BaseRecord;
327
-
328
- /**
329
- * Decodes a BaseRecord message from the specified reader or buffer, length delimited.
330
- * @param reader Reader or buffer to decode from
331
- * @returns BaseRecord
332
- * @throws {Error} If the payload is not a reader or valid buffer
333
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
334
- */
335
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BaseRecord;
336
-
337
- /**
338
- * Verifies a BaseRecord message.
339
- * @param message Plain object to verify
340
- * @returns `null` if valid, otherwise the reason why it is not
341
- */
342
- public static verify(message: { [k: string]: any }): (string|null);
343
-
344
- /**
345
- * Creates a BaseRecord message from a plain object. Also converts values to their respective internal types.
346
- * @param object Plain object
347
- * @returns BaseRecord
348
- */
349
- public static fromObject(object: { [k: string]: any }): BaseRecord;
350
-
351
- /**
352
- * Creates a plain object from a BaseRecord message. Also converts values to other types if specified.
353
- * @param message BaseRecord
354
- * @param [options] Conversion options
355
- * @returns Plain object
356
- */
357
- public static toObject(message: BaseRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
358
-
359
- /**
360
- * Converts this BaseRecord to JSON.
361
- * @returns JSON object
362
- */
363
- public toJSON(): { [k: string]: any };
364
- }
365
-
366
- /** PivotBias enum. */
367
- export enum PivotBias {
368
- NEUTRAL = 0,
369
- HOST = 1,
370
- GUEST = 2
371
- }
372
-
373
- /** PivotType enum. */
374
- export enum PivotType {
375
- HDP = 0,
376
- TOTAL = 1,
377
- ONE_TWO = 2,
378
- OE = 3
379
- }
380
-
381
- /** LBType enum. */
382
- export enum LBType {
383
- LAY = 0,
384
- BACK = 1
385
- }
386
-
387
- /** Represents a Stats. */
388
- export class Stats implements IStats {
389
-
390
- /**
391
- * Constructs a new Stats.
392
- * @param [properties] Properties to set
393
- */
394
- constructor(properties?: IStats);
395
-
396
- /** Stats scores. */
397
- public scores: number[];
398
-
399
- /**
400
- * Creates a new Stats instance using the specified properties.
401
- * @param [properties] Properties to set
402
- * @returns Stats instance
403
- */
404
- public static create(properties?: IStats): Stats;
405
-
406
- /**
407
- * Encodes the specified Stats message. Does not implicitly {@link Stats.verify|verify} messages.
408
- * @param message Stats message or plain object to encode
409
- * @param [writer] Writer to encode to
410
- * @returns Writer
411
- */
412
- public static encode(message: IStats, writer?: $protobuf.Writer): $protobuf.Writer;
413
-
414
- /**
415
- * Encodes the specified Stats message, length delimited. Does not implicitly {@link Stats.verify|verify} messages.
416
- * @param message Stats message or plain object to encode
417
- * @param [writer] Writer to encode to
418
- * @returns Writer
419
- */
420
- public static encodeDelimited(message: IStats, writer?: $protobuf.Writer): $protobuf.Writer;
421
-
422
- /**
423
- * Decodes a Stats message from the specified reader or buffer.
424
- * @param reader Reader or buffer to decode from
425
- * @param [length] Message length if known beforehand
426
- * @returns Stats
427
- * @throws {Error} If the payload is not a reader or valid buffer
428
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
429
- */
430
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Stats;
431
-
432
- /**
433
- * Decodes a Stats message from the specified reader or buffer, length delimited.
434
- * @param reader Reader or buffer to decode from
435
- * @returns Stats
436
- * @throws {Error} If the payload is not a reader or valid buffer
437
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
438
- */
439
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Stats;
440
-
441
- /**
442
- * Verifies a Stats message.
443
- * @param message Plain object to verify
444
- * @returns `null` if valid, otherwise the reason why it is not
445
- */
446
- public static verify(message: { [k: string]: any }): (string|null);
447
-
448
- /**
449
- * Creates a Stats message from a plain object. Also converts values to their respective internal types.
450
- * @param object Plain object
451
- * @returns Stats
452
- */
453
- public static fromObject(object: { [k: string]: any }): Stats;
454
-
455
- /**
456
- * Creates a plain object from a Stats message. Also converts values to other types if specified.
457
- * @param message Stats
458
- * @param [options] Conversion options
459
- * @returns Plain object
460
- */
461
- public static toObject(message: Stats, options?: $protobuf.IConversionOptions): { [k: string]: any };
462
-
463
- /**
464
- * Converts this Stats to JSON.
465
- * @returns JSON object
466
- */
467
- public toJSON(): { [k: string]: any };
468
- }
469
-
470
- /** Represents a BaseEventState. */
471
- export class BaseEventState implements IBaseEventState {
472
-
473
- /**
474
- * Constructs a new BaseEventState.
475
- * @param [properties] Properties to set
476
- */
477
- constructor(properties?: IBaseEventState);
478
-
479
- /** BaseEventState duration. */
480
- public duration: number;
481
-
482
- /** BaseEventState participantStats. */
483
- public participantStats: IStats[];
484
-
485
- /** BaseEventState soccerEventState. */
486
- public soccerEventState?: (ISoccerEventState|null);
487
-
488
- /** BaseEventState basketballEventState. */
489
- public basketballEventState?: (IBasketballEventState|null);
490
-
491
- /** BaseEventState tennisEventState. */
492
- public tennisEventState?: (ITennisEventState|null);
493
-
494
- /** BaseEventState concreteEventState. */
495
- public concreteEventState?: ("soccerEventState"|"basketballEventState"|"tennisEventState");
496
-
497
- /**
498
- * Creates a new BaseEventState instance using the specified properties.
499
- * @param [properties] Properties to set
500
- * @returns BaseEventState instance
501
- */
502
- public static create(properties?: IBaseEventState): BaseEventState;
503
-
504
- /**
505
- * Encodes the specified BaseEventState message. Does not implicitly {@link BaseEventState.verify|verify} messages.
506
- * @param message BaseEventState message or plain object to encode
507
- * @param [writer] Writer to encode to
508
- * @returns Writer
509
- */
510
- public static encode(message: IBaseEventState, writer?: $protobuf.Writer): $protobuf.Writer;
511
-
512
- /**
513
- * Encodes the specified BaseEventState message, length delimited. Does not implicitly {@link BaseEventState.verify|verify} messages.
514
- * @param message BaseEventState message or plain object to encode
515
- * @param [writer] Writer to encode to
516
- * @returns Writer
517
- */
518
- public static encodeDelimited(message: IBaseEventState, writer?: $protobuf.Writer): $protobuf.Writer;
519
-
520
- /**
521
- * Decodes a BaseEventState message from the specified reader or buffer.
522
- * @param reader Reader or buffer to decode from
523
- * @param [length] Message length if known beforehand
524
- * @returns BaseEventState
525
- * @throws {Error} If the payload is not a reader or valid buffer
526
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
527
- */
528
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BaseEventState;
529
-
530
- /**
531
- * Decodes a BaseEventState message from the specified reader or buffer, length delimited.
532
- * @param reader Reader or buffer to decode from
533
- * @returns BaseEventState
534
- * @throws {Error} If the payload is not a reader or valid buffer
535
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
536
- */
537
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BaseEventState;
538
-
539
- /**
540
- * Verifies a BaseEventState message.
541
- * @param message Plain object to verify
542
- * @returns `null` if valid, otherwise the reason why it is not
543
- */
544
- public static verify(message: { [k: string]: any }): (string|null);
545
-
546
- /**
547
- * Creates a BaseEventState message from a plain object. Also converts values to their respective internal types.
548
- * @param object Plain object
549
- * @returns BaseEventState
550
- */
551
- public static fromObject(object: { [k: string]: any }): BaseEventState;
552
-
553
- /**
554
- * Creates a plain object from a BaseEventState message. Also converts values to other types if specified.
555
- * @param message BaseEventState
556
- * @param [options] Conversion options
557
- * @returns Plain object
558
- */
559
- public static toObject(message: BaseEventState, options?: $protobuf.IConversionOptions): { [k: string]: any };
560
-
561
- /**
562
- * Converts this BaseEventState to JSON.
563
- * @returns JSON object
564
- */
565
- public toJSON(): { [k: string]: any };
566
- }
567
-
568
- /** OddType enum. */
569
- export enum OddType {
570
- LIVE = 0,
571
- TODAY = 1,
572
- EARLY = 2
573
- }
574
-
575
- /** Represents a PartitionKey. */
576
- export class PartitionKey implements IPartitionKey {
577
-
578
- /**
579
- * Constructs a new PartitionKey.
580
- * @param [properties] Properties to set
581
- */
582
- constructor(properties?: IPartitionKey);
583
-
584
- /** PartitionKey source. */
585
- public source: number;
586
-
587
- /** PartitionKey oddType. */
588
- public oddType: OddType;
589
-
590
- /** PartitionKey sport. */
591
- public sport: SportType;
592
-
593
- /**
594
- * Creates a new PartitionKey instance using the specified properties.
595
- * @param [properties] Properties to set
596
- * @returns PartitionKey instance
597
- */
598
- public static create(properties?: IPartitionKey): PartitionKey;
599
-
600
- /**
601
- * Encodes the specified PartitionKey message. Does not implicitly {@link PartitionKey.verify|verify} messages.
602
- * @param message PartitionKey message or plain object to encode
603
- * @param [writer] Writer to encode to
604
- * @returns Writer
605
- */
606
- public static encode(message: IPartitionKey, writer?: $protobuf.Writer): $protobuf.Writer;
607
-
608
- /**
609
- * Encodes the specified PartitionKey message, length delimited. Does not implicitly {@link PartitionKey.verify|verify} messages.
610
- * @param message PartitionKey message or plain object to encode
611
- * @param [writer] Writer to encode to
612
- * @returns Writer
613
- */
614
- public static encodeDelimited(message: IPartitionKey, writer?: $protobuf.Writer): $protobuf.Writer;
615
-
616
- /**
617
- * Decodes a PartitionKey message from the specified reader or buffer.
618
- * @param reader Reader or buffer to decode from
619
- * @param [length] Message length if known beforehand
620
- * @returns PartitionKey
621
- * @throws {Error} If the payload is not a reader or valid buffer
622
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
623
- */
624
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PartitionKey;
625
-
626
- /**
627
- * Decodes a PartitionKey message from the specified reader or buffer, length delimited.
628
- * @param reader Reader or buffer to decode from
629
- * @returns PartitionKey
630
- * @throws {Error} If the payload is not a reader or valid buffer
631
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
632
- */
633
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PartitionKey;
634
-
635
- /**
636
- * Verifies a PartitionKey message.
637
- * @param message Plain object to verify
638
- * @returns `null` if valid, otherwise the reason why it is not
639
- */
640
- public static verify(message: { [k: string]: any }): (string|null);
641
-
642
- /**
643
- * Creates a PartitionKey message from a plain object. Also converts values to their respective internal types.
644
- * @param object Plain object
645
- * @returns PartitionKey
646
- */
647
- public static fromObject(object: { [k: string]: any }): PartitionKey;
648
-
649
- /**
650
- * Creates a plain object from a PartitionKey message. Also converts values to other types if specified.
651
- * @param message PartitionKey
652
- * @param [options] Conversion options
653
- * @returns Plain object
654
- */
655
- public static toObject(message: PartitionKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
656
-
657
- /**
658
- * Converts this PartitionKey to JSON.
659
- * @returns JSON object
660
- */
661
- public toJSON(): { [k: string]: any };
662
- }
663
-
664
- /** Represents an EventType. */
665
- export class EventType implements IEventType {
666
-
667
- /**
668
- * Constructs a new EventType.
669
- * @param [properties] Properties to set
670
- */
671
- constructor(properties?: IEventType);
672
-
673
- /** EventType soccerEventType. */
674
- public soccerEventType?: (SoccerEvent.Type|null);
675
-
676
- /** EventType basketballEventType. */
677
- public basketballEventType?: (BasketballEvent.Type|null);
678
-
679
- /** EventType tennisEventType. */
680
- public tennisEventType?: (TennisEvent.Type|null);
681
-
682
- /** EventType concreteEventType. */
683
- public concreteEventType?: ("soccerEventType"|"basketballEventType"|"tennisEventType");
684
-
685
- /**
686
- * Creates a new EventType instance using the specified properties.
687
- * @param [properties] Properties to set
688
- * @returns EventType instance
689
- */
690
- public static create(properties?: IEventType): EventType;
691
-
692
- /**
693
- * Encodes the specified EventType message. Does not implicitly {@link EventType.verify|verify} messages.
694
- * @param message EventType message or plain object to encode
695
- * @param [writer] Writer to encode to
696
- * @returns Writer
697
- */
698
- public static encode(message: IEventType, writer?: $protobuf.Writer): $protobuf.Writer;
699
-
700
- /**
701
- * Encodes the specified EventType message, length delimited. Does not implicitly {@link EventType.verify|verify} messages.
702
- * @param message EventType message or plain object to encode
703
- * @param [writer] Writer to encode to
704
- * @returns Writer
705
- */
706
- public static encodeDelimited(message: IEventType, writer?: $protobuf.Writer): $protobuf.Writer;
707
-
708
- /**
709
- * Decodes an EventType message from the specified reader or buffer.
710
- * @param reader Reader or buffer to decode from
711
- * @param [length] Message length if known beforehand
712
- * @returns EventType
713
- * @throws {Error} If the payload is not a reader or valid buffer
714
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
715
- */
716
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EventType;
717
-
718
- /**
719
- * Decodes an EventType message from the specified reader or buffer, length delimited.
720
- * @param reader Reader or buffer to decode from
721
- * @returns EventType
722
- * @throws {Error} If the payload is not a reader or valid buffer
723
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
724
- */
725
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EventType;
726
-
727
- /**
728
- * Verifies an EventType message.
729
- * @param message Plain object to verify
730
- * @returns `null` if valid, otherwise the reason why it is not
731
- */
732
- public static verify(message: { [k: string]: any }): (string|null);
733
-
734
- /**
735
- * Creates an EventType message from a plain object. Also converts values to their respective internal types.
736
- * @param object Plain object
737
- * @returns EventType
738
- */
739
- public static fromObject(object: { [k: string]: any }): EventType;
740
-
741
- /**
742
- * Creates a plain object from an EventType message. Also converts values to other types if specified.
743
- * @param message EventType
744
- * @param [options] Conversion options
745
- * @returns Plain object
746
- */
747
- public static toObject(message: EventType, options?: $protobuf.IConversionOptions): { [k: string]: any };
748
-
749
- /**
750
- * Converts this EventType to JSON.
751
- * @returns JSON object
752
- */
753
- public toJSON(): { [k: string]: any };
754
- }
755
-
756
- /** OddFormat enum. */
757
- export enum OddFormat {
758
- HK = 0,
759
- MALAY = 1,
760
- EU = 2,
761
- INDO = 3,
762
- AMERICAN = 4
763
- }
764
-
765
- /** Represents a TimeType. */
766
- export class TimeType implements ITimeType {
767
-
768
- /**
769
- * Constructs a new TimeType.
770
- * @param [properties] Properties to set
771
- */
772
- constructor(properties?: ITimeType);
773
-
774
- /** TimeType soccerTimeType. */
775
- public soccerTimeType?: (ISoccerTimeType|null);
776
-
777
- /** TimeType basketballTimeType. */
778
- public basketballTimeType?: (IBasketballTimeType|null);
779
-
780
- /** TimeType tennisTimeType. */
781
- public tennisTimeType?: (ITennisTimeType|null);
782
-
783
- /** TimeType concreteTimeType. */
784
- public concreteTimeType?: ("soccerTimeType"|"basketballTimeType"|"tennisTimeType");
785
-
786
- /**
787
- * Creates a new TimeType instance using the specified properties.
788
- * @param [properties] Properties to set
789
- * @returns TimeType instance
790
- */
791
- public static create(properties?: ITimeType): TimeType;
792
-
793
- /**
794
- * Encodes the specified TimeType message. Does not implicitly {@link TimeType.verify|verify} messages.
795
- * @param message TimeType message or plain object to encode
796
- * @param [writer] Writer to encode to
797
- * @returns Writer
798
- */
799
- public static encode(message: ITimeType, writer?: $protobuf.Writer): $protobuf.Writer;
800
-
801
- /**
802
- * Encodes the specified TimeType message, length delimited. Does not implicitly {@link TimeType.verify|verify} messages.
803
- * @param message TimeType message or plain object to encode
804
- * @param [writer] Writer to encode to
805
- * @returns Writer
806
- */
807
- public static encodeDelimited(message: ITimeType, writer?: $protobuf.Writer): $protobuf.Writer;
808
-
809
- /**
810
- * Decodes a TimeType message from the specified reader or buffer.
811
- * @param reader Reader or buffer to decode from
812
- * @param [length] Message length if known beforehand
813
- * @returns TimeType
814
- * @throws {Error} If the payload is not a reader or valid buffer
815
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
816
- */
817
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TimeType;
818
-
819
- /**
820
- * Decodes a TimeType message from the specified reader or buffer, length delimited.
821
- * @param reader Reader or buffer to decode from
822
- * @returns TimeType
823
- * @throws {Error} If the payload is not a reader or valid buffer
824
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
825
- */
826
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TimeType;
827
-
828
- /**
829
- * Verifies a TimeType message.
830
- * @param message Plain object to verify
831
- * @returns `null` if valid, otherwise the reason why it is not
832
- */
833
- public static verify(message: { [k: string]: any }): (string|null);
834
-
835
- /**
836
- * Creates a TimeType message from a plain object. Also converts values to their respective internal types.
837
- * @param object Plain object
838
- * @returns TimeType
839
- */
840
- public static fromObject(object: { [k: string]: any }): TimeType;
841
-
842
- /**
843
- * Creates a plain object from a TimeType message. Also converts values to other types if specified.
844
- * @param message TimeType
845
- * @param [options] Conversion options
846
- * @returns Plain object
847
- */
848
- public static toObject(message: TimeType, options?: $protobuf.IConversionOptions): { [k: string]: any };
849
-
850
- /**
851
- * Converts this TimeType to JSON.
852
- * @returns JSON object
853
- */
854
- public toJSON(): { [k: string]: any };
855
- }
856
-
857
- /** Represents a Matches. */
858
- export class Matches implements IMatches {
859
-
860
- /**
861
- * Constructs a new Matches.
862
- * @param [properties] Properties to set
863
- */
864
- constructor(properties?: IMatches);
865
-
866
- /** Matches matches. */
867
- public matches: IBaseMatch[];
868
-
869
- /**
870
- * Creates a new Matches instance using the specified properties.
871
- * @param [properties] Properties to set
872
- * @returns Matches instance
873
- */
874
- public static create(properties?: IMatches): Matches;
875
-
876
- /**
877
- * Encodes the specified Matches message. Does not implicitly {@link Matches.verify|verify} messages.
878
- * @param message Matches message or plain object to encode
879
- * @param [writer] Writer to encode to
880
- * @returns Writer
881
- */
882
- public static encode(message: IMatches, writer?: $protobuf.Writer): $protobuf.Writer;
883
-
884
- /**
885
- * Encodes the specified Matches message, length delimited. Does not implicitly {@link Matches.verify|verify} messages.
886
- * @param message Matches message or plain object to encode
887
- * @param [writer] Writer to encode to
888
- * @returns Writer
889
- */
890
- public static encodeDelimited(message: IMatches, writer?: $protobuf.Writer): $protobuf.Writer;
891
-
892
- /**
893
- * Decodes a Matches message from the specified reader or buffer.
894
- * @param reader Reader or buffer to decode from
895
- * @param [length] Message length if known beforehand
896
- * @returns Matches
897
- * @throws {Error} If the payload is not a reader or valid buffer
898
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
899
- */
900
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Matches;
901
-
902
- /**
903
- * Decodes a Matches message from the specified reader or buffer, length delimited.
904
- * @param reader Reader or buffer to decode from
905
- * @returns Matches
906
- * @throws {Error} If the payload is not a reader or valid buffer
907
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
908
- */
909
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Matches;
910
-
911
- /**
912
- * Verifies a Matches message.
913
- * @param message Plain object to verify
914
- * @returns `null` if valid, otherwise the reason why it is not
915
- */
916
- public static verify(message: { [k: string]: any }): (string|null);
917
-
918
- /**
919
- * Creates a Matches message from a plain object. Also converts values to their respective internal types.
920
- * @param object Plain object
921
- * @returns Matches
922
- */
923
- public static fromObject(object: { [k: string]: any }): Matches;
924
-
925
- /**
926
- * Creates a plain object from a Matches message. Also converts values to other types if specified.
927
- * @param message Matches
928
- * @param [options] Conversion options
929
- * @returns Plain object
930
- */
931
- public static toObject(message: Matches, options?: $protobuf.IConversionOptions): { [k: string]: any };
932
-
933
- /**
934
- * Converts this Matches to JSON.
935
- * @returns JSON object
936
- */
937
- public toJSON(): { [k: string]: any };
938
- }
939
-
940
- /** Represents an Events. */
941
- export class Events implements IEvents {
942
-
943
- /**
944
- * Constructs a new Events.
945
- * @param [properties] Properties to set
946
- */
947
- constructor(properties?: IEvents);
948
-
949
- /** Events events. */
950
- public events: IBaseEvent[];
951
-
952
- /**
953
- * Creates a new Events instance using the specified properties.
954
- * @param [properties] Properties to set
955
- * @returns Events instance
956
- */
957
- public static create(properties?: IEvents): Events;
958
-
959
- /**
960
- * Encodes the specified Events message. Does not implicitly {@link Events.verify|verify} messages.
961
- * @param message Events message or plain object to encode
962
- * @param [writer] Writer to encode to
963
- * @returns Writer
964
- */
965
- public static encode(message: IEvents, writer?: $protobuf.Writer): $protobuf.Writer;
966
-
967
- /**
968
- * Encodes the specified Events message, length delimited. Does not implicitly {@link Events.verify|verify} messages.
969
- * @param message Events message or plain object to encode
970
- * @param [writer] Writer to encode to
971
- * @returns Writer
972
- */
973
- public static encodeDelimited(message: IEvents, writer?: $protobuf.Writer): $protobuf.Writer;
974
-
975
- /**
976
- * Decodes an Events message from the specified reader or buffer.
977
- * @param reader Reader or buffer to decode from
978
- * @param [length] Message length if known beforehand
979
- * @returns Events
980
- * @throws {Error} If the payload is not a reader or valid buffer
981
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
982
- */
983
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Events;
984
-
985
- /**
986
- * Decodes an Events message from the specified reader or buffer, length delimited.
987
- * @param reader Reader or buffer to decode from
988
- * @returns Events
989
- * @throws {Error} If the payload is not a reader or valid buffer
990
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
991
- */
992
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Events;
993
-
994
- /**
995
- * Verifies an Events message.
996
- * @param message Plain object to verify
997
- * @returns `null` if valid, otherwise the reason why it is not
998
- */
999
- public static verify(message: { [k: string]: any }): (string|null);
1000
-
1001
- /**
1002
- * Creates an Events message from a plain object. Also converts values to their respective internal types.
1003
- * @param object Plain object
1004
- * @returns Events
1005
- */
1006
- public static fromObject(object: { [k: string]: any }): Events;
1007
-
1008
- /**
1009
- * Creates a plain object from an Events message. Also converts values to other types if specified.
1010
- * @param message Events
1011
- * @param [options] Conversion options
1012
- * @returns Plain object
1013
- */
1014
- public static toObject(message: Events, options?: $protobuf.IConversionOptions): { [k: string]: any };
1015
-
1016
- /**
1017
- * Converts this Events to JSON.
1018
- * @returns JSON object
1019
- */
1020
- public toJSON(): { [k: string]: any };
1021
- }
1022
-
1023
- /** Represents an Odds. */
1024
- export class Odds implements IOdds {
1025
-
1026
- /**
1027
- * Constructs a new Odds.
1028
- * @param [properties] Properties to set
1029
- */
1030
- constructor(properties?: IOdds);
1031
-
1032
- /** Odds odds. */
1033
- public odds: IBaseRecord[];
1034
-
1035
- /**
1036
- * Creates a new Odds instance using the specified properties.
1037
- * @param [properties] Properties to set
1038
- * @returns Odds instance
1039
- */
1040
- public static create(properties?: IOdds): Odds;
1041
-
1042
- /**
1043
- * Encodes the specified Odds message. Does not implicitly {@link Odds.verify|verify} messages.
1044
- * @param message Odds message or plain object to encode
1045
- * @param [writer] Writer to encode to
1046
- * @returns Writer
1047
- */
1048
- public static encode(message: IOdds, writer?: $protobuf.Writer): $protobuf.Writer;
1049
-
1050
- /**
1051
- * Encodes the specified Odds message, length delimited. Does not implicitly {@link Odds.verify|verify} messages.
1052
- * @param message Odds message or plain object to encode
1053
- * @param [writer] Writer to encode to
1054
- * @returns Writer
1055
- */
1056
- public static encodeDelimited(message: IOdds, writer?: $protobuf.Writer): $protobuf.Writer;
1057
-
1058
- /**
1059
- * Decodes an Odds message from the specified reader or buffer.
1060
- * @param reader Reader or buffer to decode from
1061
- * @param [length] Message length if known beforehand
1062
- * @returns Odds
1063
- * @throws {Error} If the payload is not a reader or valid buffer
1064
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1065
- */
1066
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Odds;
1067
-
1068
- /**
1069
- * Decodes an Odds message from the specified reader or buffer, length delimited.
1070
- * @param reader Reader or buffer to decode from
1071
- * @returns Odds
1072
- * @throws {Error} If the payload is not a reader or valid buffer
1073
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1074
- */
1075
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Odds;
1076
-
1077
- /**
1078
- * Verifies an Odds message.
1079
- * @param message Plain object to verify
1080
- * @returns `null` if valid, otherwise the reason why it is not
1081
- */
1082
- public static verify(message: { [k: string]: any }): (string|null);
1083
-
1084
- /**
1085
- * Creates an Odds message from a plain object. Also converts values to their respective internal types.
1086
- * @param object Plain object
1087
- * @returns Odds
1088
- */
1089
- public static fromObject(object: { [k: string]: any }): Odds;
1090
-
1091
- /**
1092
- * Creates a plain object from an Odds message. Also converts values to other types if specified.
1093
- * @param message Odds
1094
- * @param [options] Conversion options
1095
- * @returns Plain object
1096
- */
1097
- public static toObject(message: Odds, options?: $protobuf.IConversionOptions): { [k: string]: any };
1098
-
1099
- /**
1100
- * Converts this Odds to JSON.
1101
- * @returns JSON object
1102
- */
1103
- public toJSON(): { [k: string]: any };
1104
- }
1105
-
1106
- /** Represents a DataMessage. */
1107
- export class DataMessage implements IDataMessage {
1108
-
1109
- /**
1110
- * Constructs a new DataMessage.
1111
- * @param [properties] Properties to set
1112
- */
1113
- constructor(properties?: IDataMessage);
1114
-
1115
- /** DataMessage stringPool. */
1116
- public stringPool: string[];
1117
-
1118
- /** DataMessage feedKey. */
1119
- public feedKey?: (IPartitionKey|null);
1120
-
1121
- /** DataMessage matches. */
1122
- public matches?: (IMatches|null);
1123
-
1124
- /** DataMessage events. */
1125
- public events?: (IEvents|null);
1126
-
1127
- /** DataMessage odds. */
1128
- public odds?: (IOdds|null);
1129
-
1130
- /** DataMessage payload. */
1131
- public payload?: ("matches"|"events"|"odds");
1132
-
1133
- /**
1134
- * Creates a new DataMessage instance using the specified properties.
1135
- * @param [properties] Properties to set
1136
- * @returns DataMessage instance
1137
- */
1138
- public static create(properties?: IDataMessage): DataMessage;
1139
-
1140
- /**
1141
- * Encodes the specified DataMessage message. Does not implicitly {@link DataMessage.verify|verify} messages.
1142
- * @param message DataMessage message or plain object to encode
1143
- * @param [writer] Writer to encode to
1144
- * @returns Writer
1145
- */
1146
- public static encode(message: IDataMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1147
-
1148
- /**
1149
- * Encodes the specified DataMessage message, length delimited. Does not implicitly {@link DataMessage.verify|verify} messages.
1150
- * @param message DataMessage message or plain object to encode
1151
- * @param [writer] Writer to encode to
1152
- * @returns Writer
1153
- */
1154
- public static encodeDelimited(message: IDataMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1155
-
1156
- /**
1157
- * Decodes a DataMessage message from the specified reader or buffer.
1158
- * @param reader Reader or buffer to decode from
1159
- * @param [length] Message length if known beforehand
1160
- * @returns DataMessage
1161
- * @throws {Error} If the payload is not a reader or valid buffer
1162
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1163
- */
1164
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DataMessage;
1165
-
1166
- /**
1167
- * Decodes a DataMessage message from the specified reader or buffer, length delimited.
1168
- * @param reader Reader or buffer to decode from
1169
- * @returns DataMessage
1170
- * @throws {Error} If the payload is not a reader or valid buffer
1171
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1172
- */
1173
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DataMessage;
1174
-
1175
- /**
1176
- * Verifies a DataMessage message.
1177
- * @param message Plain object to verify
1178
- * @returns `null` if valid, otherwise the reason why it is not
1179
- */
1180
- public static verify(message: { [k: string]: any }): (string|null);
1181
-
1182
- /**
1183
- * Creates a DataMessage message from a plain object. Also converts values to their respective internal types.
1184
- * @param object Plain object
1185
- * @returns DataMessage
1186
- */
1187
- public static fromObject(object: { [k: string]: any }): DataMessage;
1188
-
1189
- /**
1190
- * Creates a plain object from a DataMessage message. Also converts values to other types if specified.
1191
- * @param message DataMessage
1192
- * @param [options] Conversion options
1193
- * @returns Plain object
1194
- */
1195
- public static toObject(message: DataMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
1196
-
1197
- /**
1198
- * Converts this DataMessage to JSON.
1199
- * @returns JSON object
1200
- */
1201
- public toJSON(): { [k: string]: any };
1202
- }
1203
-
1204
- /** Represents a SoccerEvent. */
1205
- export class SoccerEvent implements ISoccerEvent {
1206
-
1207
- /**
1208
- * Constructs a new SoccerEvent.
1209
- * @param [properties] Properties to set
1210
- */
1211
- constructor(properties?: ISoccerEvent);
1212
-
1213
- /**
1214
- * Creates a new SoccerEvent instance using the specified properties.
1215
- * @param [properties] Properties to set
1216
- * @returns SoccerEvent instance
1217
- */
1218
- public static create(properties?: ISoccerEvent): SoccerEvent;
1219
-
1220
- /**
1221
- * Encodes the specified SoccerEvent message. Does not implicitly {@link SoccerEvent.verify|verify} messages.
1222
- * @param message SoccerEvent message or plain object to encode
1223
- * @param [writer] Writer to encode to
1224
- * @returns Writer
1225
- */
1226
- public static encode(message: ISoccerEvent, writer?: $protobuf.Writer): $protobuf.Writer;
1227
-
1228
- /**
1229
- * Encodes the specified SoccerEvent message, length delimited. Does not implicitly {@link SoccerEvent.verify|verify} messages.
1230
- * @param message SoccerEvent message or plain object to encode
1231
- * @param [writer] Writer to encode to
1232
- * @returns Writer
1233
- */
1234
- public static encodeDelimited(message: ISoccerEvent, writer?: $protobuf.Writer): $protobuf.Writer;
1235
-
1236
- /**
1237
- * Decodes a SoccerEvent message from the specified reader or buffer.
1238
- * @param reader Reader or buffer to decode from
1239
- * @param [length] Message length if known beforehand
1240
- * @returns SoccerEvent
1241
- * @throws {Error} If the payload is not a reader or valid buffer
1242
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1243
- */
1244
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SoccerEvent;
1245
-
1246
- /**
1247
- * Decodes a SoccerEvent message from the specified reader or buffer, length delimited.
1248
- * @param reader Reader or buffer to decode from
1249
- * @returns SoccerEvent
1250
- * @throws {Error} If the payload is not a reader or valid buffer
1251
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1252
- */
1253
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SoccerEvent;
1254
-
1255
- /**
1256
- * Verifies a SoccerEvent message.
1257
- * @param message Plain object to verify
1258
- * @returns `null` if valid, otherwise the reason why it is not
1259
- */
1260
- public static verify(message: { [k: string]: any }): (string|null);
1261
-
1262
- /**
1263
- * Creates a SoccerEvent message from a plain object. Also converts values to their respective internal types.
1264
- * @param object Plain object
1265
- * @returns SoccerEvent
1266
- */
1267
- public static fromObject(object: { [k: string]: any }): SoccerEvent;
1268
-
1269
- /**
1270
- * Creates a plain object from a SoccerEvent message. Also converts values to other types if specified.
1271
- * @param message SoccerEvent
1272
- * @param [options] Conversion options
1273
- * @returns Plain object
1274
- */
1275
- public static toObject(message: SoccerEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
1276
-
1277
- /**
1278
- * Converts this SoccerEvent to JSON.
1279
- * @returns JSON object
1280
- */
1281
- public toJSON(): { [k: string]: any };
1282
- }
1283
-
1284
- export namespace SoccerEvent {
1285
-
1286
- /** Type enum. */
1287
- enum Type {
1288
- NONE = 0,
1289
- NEXT_CORNER = 1,
1290
- TOTAL_CORNER = 2,
1291
- BOOKING = 3,
1292
- UNCATEGORIZED_SPECIAL = 4
1293
- }
1294
- }
1295
-
1296
- /** Represents a SoccerEventState. */
1297
- export class SoccerEventState implements ISoccerEventState {
1298
-
1299
- /**
1300
- * Constructs a new SoccerEventState.
1301
- * @param [properties] Properties to set
1302
- */
1303
- constructor(properties?: ISoccerEventState);
1304
-
1305
- /** SoccerEventState segment. */
1306
- public segment: SoccerEventState.Segment;
1307
-
1308
- /** SoccerEventState bookPriority. */
1309
- public bookPriority: number;
1310
-
1311
- /**
1312
- * Creates a new SoccerEventState instance using the specified properties.
1313
- * @param [properties] Properties to set
1314
- * @returns SoccerEventState instance
1315
- */
1316
- public static create(properties?: ISoccerEventState): SoccerEventState;
1317
-
1318
- /**
1319
- * Encodes the specified SoccerEventState message. Does not implicitly {@link SoccerEventState.verify|verify} messages.
1320
- * @param message SoccerEventState message or plain object to encode
1321
- * @param [writer] Writer to encode to
1322
- * @returns Writer
1323
- */
1324
- public static encode(message: ISoccerEventState, writer?: $protobuf.Writer): $protobuf.Writer;
1325
-
1326
- /**
1327
- * Encodes the specified SoccerEventState message, length delimited. Does not implicitly {@link SoccerEventState.verify|verify} messages.
1328
- * @param message SoccerEventState message or plain object to encode
1329
- * @param [writer] Writer to encode to
1330
- * @returns Writer
1331
- */
1332
- public static encodeDelimited(message: ISoccerEventState, writer?: $protobuf.Writer): $protobuf.Writer;
1333
-
1334
- /**
1335
- * Decodes a SoccerEventState message from the specified reader or buffer.
1336
- * @param reader Reader or buffer to decode from
1337
- * @param [length] Message length if known beforehand
1338
- * @returns SoccerEventState
1339
- * @throws {Error} If the payload is not a reader or valid buffer
1340
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1341
- */
1342
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SoccerEventState;
1343
-
1344
- /**
1345
- * Decodes a SoccerEventState message from the specified reader or buffer, length delimited.
1346
- * @param reader Reader or buffer to decode from
1347
- * @returns SoccerEventState
1348
- * @throws {Error} If the payload is not a reader or valid buffer
1349
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1350
- */
1351
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SoccerEventState;
1352
-
1353
- /**
1354
- * Verifies a SoccerEventState message.
1355
- * @param message Plain object to verify
1356
- * @returns `null` if valid, otherwise the reason why it is not
1357
- */
1358
- public static verify(message: { [k: string]: any }): (string|null);
1359
-
1360
- /**
1361
- * Creates a SoccerEventState message from a plain object. Also converts values to their respective internal types.
1362
- * @param object Plain object
1363
- * @returns SoccerEventState
1364
- */
1365
- public static fromObject(object: { [k: string]: any }): SoccerEventState;
1366
-
1367
- /**
1368
- * Creates a plain object from a SoccerEventState message. Also converts values to other types if specified.
1369
- * @param message SoccerEventState
1370
- * @param [options] Conversion options
1371
- * @returns Plain object
1372
- */
1373
- public static toObject(message: SoccerEventState, options?: $protobuf.IConversionOptions): { [k: string]: any };
1374
-
1375
- /**
1376
- * Converts this SoccerEventState to JSON.
1377
- * @returns JSON object
1378
- */
1379
- public toJSON(): { [k: string]: any };
1380
- }
1381
-
1382
- export namespace SoccerEventState {
1383
-
1384
- /** Segment enum. */
1385
- enum Segment {
1386
- PENDING = 0,
1387
- FIRST_HALF = 1,
1388
- HALF_BREAK = 2,
1389
- SECOND_HALF = 3,
1390
- FULL_BREAK = 4,
1391
- EXTRA_FIRST_HALF = 5,
1392
- EXTRA_HALF_BREAK = 6,
1393
- EXTRA_SECOND_HALF = 7,
1394
- PENALTY = 8,
1395
- FINISHED = 9
1396
- }
1397
- }
1398
-
1399
- /** Represents a SoccerMatch. */
1400
- export class SoccerMatch implements ISoccerMatch {
1401
-
1402
- /**
1403
- * Constructs a new SoccerMatch.
1404
- * @param [properties] Properties to set
1405
- */
1406
- constructor(properties?: ISoccerMatch);
1407
-
1408
- /** SoccerMatch leagueType. */
1409
- public leagueType: SoccerMatch.LeagueType;
1410
-
1411
- /** SoccerMatch gender. */
1412
- public gender: SoccerMatch.Gender;
1413
-
1414
- /**
1415
- * Creates a new SoccerMatch instance using the specified properties.
1416
- * @param [properties] Properties to set
1417
- * @returns SoccerMatch instance
1418
- */
1419
- public static create(properties?: ISoccerMatch): SoccerMatch;
1420
-
1421
- /**
1422
- * Encodes the specified SoccerMatch message. Does not implicitly {@link SoccerMatch.verify|verify} messages.
1423
- * @param message SoccerMatch message or plain object to encode
1424
- * @param [writer] Writer to encode to
1425
- * @returns Writer
1426
- */
1427
- public static encode(message: ISoccerMatch, writer?: $protobuf.Writer): $protobuf.Writer;
1428
-
1429
- /**
1430
- * Encodes the specified SoccerMatch message, length delimited. Does not implicitly {@link SoccerMatch.verify|verify} messages.
1431
- * @param message SoccerMatch message or plain object to encode
1432
- * @param [writer] Writer to encode to
1433
- * @returns Writer
1434
- */
1435
- public static encodeDelimited(message: ISoccerMatch, writer?: $protobuf.Writer): $protobuf.Writer;
1436
-
1437
- /**
1438
- * Decodes a SoccerMatch message from the specified reader or buffer.
1439
- * @param reader Reader or buffer to decode from
1440
- * @param [length] Message length if known beforehand
1441
- * @returns SoccerMatch
1442
- * @throws {Error} If the payload is not a reader or valid buffer
1443
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1444
- */
1445
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SoccerMatch;
1446
-
1447
- /**
1448
- * Decodes a SoccerMatch message from the specified reader or buffer, length delimited.
1449
- * @param reader Reader or buffer to decode from
1450
- * @returns SoccerMatch
1451
- * @throws {Error} If the payload is not a reader or valid buffer
1452
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1453
- */
1454
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SoccerMatch;
1455
-
1456
- /**
1457
- * Verifies a SoccerMatch message.
1458
- * @param message Plain object to verify
1459
- * @returns `null` if valid, otherwise the reason why it is not
1460
- */
1461
- public static verify(message: { [k: string]: any }): (string|null);
1462
-
1463
- /**
1464
- * Creates a SoccerMatch message from a plain object. Also converts values to their respective internal types.
1465
- * @param object Plain object
1466
- * @returns SoccerMatch
1467
- */
1468
- public static fromObject(object: { [k: string]: any }): SoccerMatch;
1469
-
1470
- /**
1471
- * Creates a plain object from a SoccerMatch message. Also converts values to other types if specified.
1472
- * @param message SoccerMatch
1473
- * @param [options] Conversion options
1474
- * @returns Plain object
1475
- */
1476
- public static toObject(message: SoccerMatch, options?: $protobuf.IConversionOptions): { [k: string]: any };
1477
-
1478
- /**
1479
- * Converts this SoccerMatch to JSON.
1480
- * @returns JSON object
1481
- */
1482
- public toJSON(): { [k: string]: any };
1483
- }
1484
-
1485
- export namespace SoccerMatch {
1486
-
1487
- /** LeagueType enum. */
1488
- enum LeagueType {
1489
- CLUB_LEAGUE = 0,
1490
- NATION_CHAMP = 1,
1491
- CLUB_CHAMP = 2
1492
- }
1493
-
1494
- /** Gender enum. */
1495
- enum Gender {
1496
- MEN = 0,
1497
- WOMEN = 1
1498
- }
1499
- }
1500
-
1501
- /** Represents a SoccerRecord. */
1502
- export class SoccerRecord implements ISoccerRecord {
1503
-
1504
- /**
1505
- * Constructs a new SoccerRecord.
1506
- * @param [properties] Properties to set
1507
- */
1508
- constructor(properties?: ISoccerRecord);
1509
-
1510
- /** SoccerRecord swapped. */
1511
- public swapped: boolean;
1512
-
1513
- /**
1514
- * Creates a new SoccerRecord instance using the specified properties.
1515
- * @param [properties] Properties to set
1516
- * @returns SoccerRecord instance
1517
- */
1518
- public static create(properties?: ISoccerRecord): SoccerRecord;
1519
-
1520
- /**
1521
- * Encodes the specified SoccerRecord message. Does not implicitly {@link SoccerRecord.verify|verify} messages.
1522
- * @param message SoccerRecord message or plain object to encode
1523
- * @param [writer] Writer to encode to
1524
- * @returns Writer
1525
- */
1526
- public static encode(message: ISoccerRecord, writer?: $protobuf.Writer): $protobuf.Writer;
1527
-
1528
- /**
1529
- * Encodes the specified SoccerRecord message, length delimited. Does not implicitly {@link SoccerRecord.verify|verify} messages.
1530
- * @param message SoccerRecord message or plain object to encode
1531
- * @param [writer] Writer to encode to
1532
- * @returns Writer
1533
- */
1534
- public static encodeDelimited(message: ISoccerRecord, writer?: $protobuf.Writer): $protobuf.Writer;
1535
-
1536
- /**
1537
- * Decodes a SoccerRecord message from the specified reader or buffer.
1538
- * @param reader Reader or buffer to decode from
1539
- * @param [length] Message length if known beforehand
1540
- * @returns SoccerRecord
1541
- * @throws {Error} If the payload is not a reader or valid buffer
1542
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1543
- */
1544
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SoccerRecord;
1545
-
1546
- /**
1547
- * Decodes a SoccerRecord message from the specified reader or buffer, length delimited.
1548
- * @param reader Reader or buffer to decode from
1549
- * @returns SoccerRecord
1550
- * @throws {Error} If the payload is not a reader or valid buffer
1551
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1552
- */
1553
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SoccerRecord;
1554
-
1555
- /**
1556
- * Verifies a SoccerRecord message.
1557
- * @param message Plain object to verify
1558
- * @returns `null` if valid, otherwise the reason why it is not
1559
- */
1560
- public static verify(message: { [k: string]: any }): (string|null);
1561
-
1562
- /**
1563
- * Creates a SoccerRecord message from a plain object. Also converts values to their respective internal types.
1564
- * @param object Plain object
1565
- * @returns SoccerRecord
1566
- */
1567
- public static fromObject(object: { [k: string]: any }): SoccerRecord;
1568
-
1569
- /**
1570
- * Creates a plain object from a SoccerRecord message. Also converts values to other types if specified.
1571
- * @param message SoccerRecord
1572
- * @param [options] Conversion options
1573
- * @returns Plain object
1574
- */
1575
- public static toObject(message: SoccerRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
1576
-
1577
- /**
1578
- * Converts this SoccerRecord to JSON.
1579
- * @returns JSON object
1580
- */
1581
- public toJSON(): { [k: string]: any };
1582
- }
1583
-
1584
- /** Represents a SoccerTimeType. */
1585
- export class SoccerTimeType implements ISoccerTimeType {
1586
-
1587
- /**
1588
- * Constructs a new SoccerTimeType.
1589
- * @param [properties] Properties to set
1590
- */
1591
- constructor(properties?: ISoccerTimeType);
1592
-
1593
- /** SoccerTimeType settle. */
1594
- public settle: SoccerTimeType.SettleOn;
1595
-
1596
- /**
1597
- * Creates a new SoccerTimeType instance using the specified properties.
1598
- * @param [properties] Properties to set
1599
- * @returns SoccerTimeType instance
1600
- */
1601
- public static create(properties?: ISoccerTimeType): SoccerTimeType;
1602
-
1603
- /**
1604
- * Encodes the specified SoccerTimeType message. Does not implicitly {@link SoccerTimeType.verify|verify} messages.
1605
- * @param message SoccerTimeType message or plain object to encode
1606
- * @param [writer] Writer to encode to
1607
- * @returns Writer
1608
- */
1609
- public static encode(message: ISoccerTimeType, writer?: $protobuf.Writer): $protobuf.Writer;
1610
-
1611
- /**
1612
- * Encodes the specified SoccerTimeType message, length delimited. Does not implicitly {@link SoccerTimeType.verify|verify} messages.
1613
- * @param message SoccerTimeType message or plain object to encode
1614
- * @param [writer] Writer to encode to
1615
- * @returns Writer
1616
- */
1617
- public static encodeDelimited(message: ISoccerTimeType, writer?: $protobuf.Writer): $protobuf.Writer;
1618
-
1619
- /**
1620
- * Decodes a SoccerTimeType message from the specified reader or buffer.
1621
- * @param reader Reader or buffer to decode from
1622
- * @param [length] Message length if known beforehand
1623
- * @returns SoccerTimeType
1624
- * @throws {Error} If the payload is not a reader or valid buffer
1625
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1626
- */
1627
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SoccerTimeType;
1628
-
1629
- /**
1630
- * Decodes a SoccerTimeType message from the specified reader or buffer, length delimited.
1631
- * @param reader Reader or buffer to decode from
1632
- * @returns SoccerTimeType
1633
- * @throws {Error} If the payload is not a reader or valid buffer
1634
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1635
- */
1636
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SoccerTimeType;
1637
-
1638
- /**
1639
- * Verifies a SoccerTimeType message.
1640
- * @param message Plain object to verify
1641
- * @returns `null` if valid, otherwise the reason why it is not
1642
- */
1643
- public static verify(message: { [k: string]: any }): (string|null);
1644
-
1645
- /**
1646
- * Creates a SoccerTimeType message from a plain object. Also converts values to their respective internal types.
1647
- * @param object Plain object
1648
- * @returns SoccerTimeType
1649
- */
1650
- public static fromObject(object: { [k: string]: any }): SoccerTimeType;
1651
-
1652
- /**
1653
- * Creates a plain object from a SoccerTimeType message. Also converts values to other types if specified.
1654
- * @param message SoccerTimeType
1655
- * @param [options] Conversion options
1656
- * @returns Plain object
1657
- */
1658
- public static toObject(message: SoccerTimeType, options?: $protobuf.IConversionOptions): { [k: string]: any };
1659
-
1660
- /**
1661
- * Converts this SoccerTimeType to JSON.
1662
- * @returns JSON object
1663
- */
1664
- public toJSON(): { [k: string]: any };
1665
- }
1666
-
1667
- export namespace SoccerTimeType {
1668
-
1669
- /** SettleOn enum. */
1670
- enum SettleOn {
1671
- FT = 0,
1672
- HT = 1
1673
- }
1674
- }
1675
-
1676
- /** Represents a BasketballEvent. */
1677
- export class BasketballEvent implements IBasketballEvent {
1678
-
1679
- /**
1680
- * Constructs a new BasketballEvent.
1681
- * @param [properties] Properties to set
1682
- */
1683
- constructor(properties?: IBasketballEvent);
1684
-
1685
- /**
1686
- * Creates a new BasketballEvent instance using the specified properties.
1687
- * @param [properties] Properties to set
1688
- * @returns BasketballEvent instance
1689
- */
1690
- public static create(properties?: IBasketballEvent): BasketballEvent;
1691
-
1692
- /**
1693
- * Encodes the specified BasketballEvent message. Does not implicitly {@link BasketballEvent.verify|verify} messages.
1694
- * @param message BasketballEvent message or plain object to encode
1695
- * @param [writer] Writer to encode to
1696
- * @returns Writer
1697
- */
1698
- public static encode(message: IBasketballEvent, writer?: $protobuf.Writer): $protobuf.Writer;
1699
-
1700
- /**
1701
- * Encodes the specified BasketballEvent message, length delimited. Does not implicitly {@link BasketballEvent.verify|verify} messages.
1702
- * @param message BasketballEvent message or plain object to encode
1703
- * @param [writer] Writer to encode to
1704
- * @returns Writer
1705
- */
1706
- public static encodeDelimited(message: IBasketballEvent, writer?: $protobuf.Writer): $protobuf.Writer;
1707
-
1708
- /**
1709
- * Decodes a BasketballEvent message from the specified reader or buffer.
1710
- * @param reader Reader or buffer to decode from
1711
- * @param [length] Message length if known beforehand
1712
- * @returns BasketballEvent
1713
- * @throws {Error} If the payload is not a reader or valid buffer
1714
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1715
- */
1716
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BasketballEvent;
1717
-
1718
- /**
1719
- * Decodes a BasketballEvent message from the specified reader or buffer, length delimited.
1720
- * @param reader Reader or buffer to decode from
1721
- * @returns BasketballEvent
1722
- * @throws {Error} If the payload is not a reader or valid buffer
1723
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1724
- */
1725
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BasketballEvent;
1726
-
1727
- /**
1728
- * Verifies a BasketballEvent message.
1729
- * @param message Plain object to verify
1730
- * @returns `null` if valid, otherwise the reason why it is not
1731
- */
1732
- public static verify(message: { [k: string]: any }): (string|null);
1733
-
1734
- /**
1735
- * Creates a BasketballEvent message from a plain object. Also converts values to their respective internal types.
1736
- * @param object Plain object
1737
- * @returns BasketballEvent
1738
- */
1739
- public static fromObject(object: { [k: string]: any }): BasketballEvent;
1740
-
1741
- /**
1742
- * Creates a plain object from a BasketballEvent message. Also converts values to other types if specified.
1743
- * @param message BasketballEvent
1744
- * @param [options] Conversion options
1745
- * @returns Plain object
1746
- */
1747
- public static toObject(message: BasketballEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
1748
-
1749
- /**
1750
- * Converts this BasketballEvent to JSON.
1751
- * @returns JSON object
1752
- */
1753
- public toJSON(): { [k: string]: any };
1754
- }
1755
-
1756
- export namespace BasketballEvent {
1757
-
1758
- /** Type enum. */
1759
- enum Type {
1760
- NONE = 0,
1761
- FIRST_TO_20 = 1,
1762
- LAST_BASKET = 2,
1763
- TEAM_POINTS = 3,
1764
- THREE_POINTERS = 4,
1765
- HOME_POINT = 5,
1766
- AWAY_POINT = 6
1767
- }
1768
- }
1769
-
1770
- /** Represents a BasketballEventState. */
1771
- export class BasketballEventState implements IBasketballEventState {
1772
-
1773
- /**
1774
- * Constructs a new BasketballEventState.
1775
- * @param [properties] Properties to set
1776
- */
1777
- constructor(properties?: IBasketballEventState);
1778
-
1779
- /** BasketballEventState segment. */
1780
- public segment: BasketballEventState.Segment;
1781
-
1782
- /** BasketballEventState timeout. */
1783
- public timeout: boolean;
1784
-
1785
- /** BasketballEventState bookPriority. */
1786
- public bookPriority: number;
1787
-
1788
- /**
1789
- * Creates a new BasketballEventState instance using the specified properties.
1790
- * @param [properties] Properties to set
1791
- * @returns BasketballEventState instance
1792
- */
1793
- public static create(properties?: IBasketballEventState): BasketballEventState;
1794
-
1795
- /**
1796
- * Encodes the specified BasketballEventState message. Does not implicitly {@link BasketballEventState.verify|verify} messages.
1797
- * @param message BasketballEventState message or plain object to encode
1798
- * @param [writer] Writer to encode to
1799
- * @returns Writer
1800
- */
1801
- public static encode(message: IBasketballEventState, writer?: $protobuf.Writer): $protobuf.Writer;
1802
-
1803
- /**
1804
- * Encodes the specified BasketballEventState message, length delimited. Does not implicitly {@link BasketballEventState.verify|verify} messages.
1805
- * @param message BasketballEventState message or plain object to encode
1806
- * @param [writer] Writer to encode to
1807
- * @returns Writer
1808
- */
1809
- public static encodeDelimited(message: IBasketballEventState, writer?: $protobuf.Writer): $protobuf.Writer;
1810
-
1811
- /**
1812
- * Decodes a BasketballEventState message from the specified reader or buffer.
1813
- * @param reader Reader or buffer to decode from
1814
- * @param [length] Message length if known beforehand
1815
- * @returns BasketballEventState
1816
- * @throws {Error} If the payload is not a reader or valid buffer
1817
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1818
- */
1819
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BasketballEventState;
1820
-
1821
- /**
1822
- * Decodes a BasketballEventState message from the specified reader or buffer, length delimited.
1823
- * @param reader Reader or buffer to decode from
1824
- * @returns BasketballEventState
1825
- * @throws {Error} If the payload is not a reader or valid buffer
1826
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1827
- */
1828
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BasketballEventState;
1829
-
1830
- /**
1831
- * Verifies a BasketballEventState message.
1832
- * @param message Plain object to verify
1833
- * @returns `null` if valid, otherwise the reason why it is not
1834
- */
1835
- public static verify(message: { [k: string]: any }): (string|null);
1836
-
1837
- /**
1838
- * Creates a BasketballEventState message from a plain object. Also converts values to their respective internal types.
1839
- * @param object Plain object
1840
- * @returns BasketballEventState
1841
- */
1842
- public static fromObject(object: { [k: string]: any }): BasketballEventState;
1843
-
1844
- /**
1845
- * Creates a plain object from a BasketballEventState message. Also converts values to other types if specified.
1846
- * @param message BasketballEventState
1847
- * @param [options] Conversion options
1848
- * @returns Plain object
1849
- */
1850
- public static toObject(message: BasketballEventState, options?: $protobuf.IConversionOptions): { [k: string]: any };
1851
-
1852
- /**
1853
- * Converts this BasketballEventState to JSON.
1854
- * @returns JSON object
1855
- */
1856
- public toJSON(): { [k: string]: any };
1857
- }
1858
-
1859
- export namespace BasketballEventState {
1860
-
1861
- /** Segment enum. */
1862
- enum Segment {
1863
- QUARTER_1 = 0,
1864
- QUARTER_2 = 1,
1865
- QUARTER_3 = 2,
1866
- QUARTER_4 = 3,
1867
- OVERTIME = 4,
1868
- PENDING = 5,
1869
- HALF_BREAK = 6,
1870
- QUARTER_BREAK = 7,
1871
- FIRST_HALF = 8,
1872
- SECOND_HALF = 9,
1873
- LIVE = 10
1874
- }
1875
- }
1876
-
1877
- /** Represents a BasketballMatch. */
1878
- export class BasketballMatch implements IBasketballMatch {
1879
-
1880
- /**
1881
- * Constructs a new BasketballMatch.
1882
- * @param [properties] Properties to set
1883
- */
1884
- constructor(properties?: IBasketballMatch);
1885
-
1886
- /** BasketballMatch gender. */
1887
- public gender: BasketballMatch.Gender;
1888
-
1889
- /**
1890
- * Creates a new BasketballMatch instance using the specified properties.
1891
- * @param [properties] Properties to set
1892
- * @returns BasketballMatch instance
1893
- */
1894
- public static create(properties?: IBasketballMatch): BasketballMatch;
1895
-
1896
- /**
1897
- * Encodes the specified BasketballMatch message. Does not implicitly {@link BasketballMatch.verify|verify} messages.
1898
- * @param message BasketballMatch message or plain object to encode
1899
- * @param [writer] Writer to encode to
1900
- * @returns Writer
1901
- */
1902
- public static encode(message: IBasketballMatch, writer?: $protobuf.Writer): $protobuf.Writer;
1903
-
1904
- /**
1905
- * Encodes the specified BasketballMatch message, length delimited. Does not implicitly {@link BasketballMatch.verify|verify} messages.
1906
- * @param message BasketballMatch message or plain object to encode
1907
- * @param [writer] Writer to encode to
1908
- * @returns Writer
1909
- */
1910
- public static encodeDelimited(message: IBasketballMatch, writer?: $protobuf.Writer): $protobuf.Writer;
1911
-
1912
- /**
1913
- * Decodes a BasketballMatch message from the specified reader or buffer.
1914
- * @param reader Reader or buffer to decode from
1915
- * @param [length] Message length if known beforehand
1916
- * @returns BasketballMatch
1917
- * @throws {Error} If the payload is not a reader or valid buffer
1918
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1919
- */
1920
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BasketballMatch;
1921
-
1922
- /**
1923
- * Decodes a BasketballMatch message from the specified reader or buffer, length delimited.
1924
- * @param reader Reader or buffer to decode from
1925
- * @returns BasketballMatch
1926
- * @throws {Error} If the payload is not a reader or valid buffer
1927
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1928
- */
1929
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BasketballMatch;
1930
-
1931
- /**
1932
- * Verifies a BasketballMatch message.
1933
- * @param message Plain object to verify
1934
- * @returns `null` if valid, otherwise the reason why it is not
1935
- */
1936
- public static verify(message: { [k: string]: any }): (string|null);
1937
-
1938
- /**
1939
- * Creates a BasketballMatch message from a plain object. Also converts values to their respective internal types.
1940
- * @param object Plain object
1941
- * @returns BasketballMatch
1942
- */
1943
- public static fromObject(object: { [k: string]: any }): BasketballMatch;
1944
-
1945
- /**
1946
- * Creates a plain object from a BasketballMatch message. Also converts values to other types if specified.
1947
- * @param message BasketballMatch
1948
- * @param [options] Conversion options
1949
- * @returns Plain object
1950
- */
1951
- public static toObject(message: BasketballMatch, options?: $protobuf.IConversionOptions): { [k: string]: any };
1952
-
1953
- /**
1954
- * Converts this BasketballMatch to JSON.
1955
- * @returns JSON object
1956
- */
1957
- public toJSON(): { [k: string]: any };
1958
- }
1959
-
1960
- export namespace BasketballMatch {
1961
-
1962
- /** Gender enum. */
1963
- enum Gender {
1964
- MEN = 0,
1965
- WOMEN = 1
1966
- }
1967
- }
1968
-
1969
- /** Represents a BasketballRecord. */
1970
- export class BasketballRecord implements IBasketballRecord {
1971
-
1972
- /**
1973
- * Constructs a new BasketballRecord.
1974
- * @param [properties] Properties to set
1975
- */
1976
- constructor(properties?: IBasketballRecord);
1977
-
1978
- /** BasketballRecord swapped. */
1979
- public swapped: boolean;
1980
-
1981
- /**
1982
- * Creates a new BasketballRecord instance using the specified properties.
1983
- * @param [properties] Properties to set
1984
- * @returns BasketballRecord instance
1985
- */
1986
- public static create(properties?: IBasketballRecord): BasketballRecord;
1987
-
1988
- /**
1989
- * Encodes the specified BasketballRecord message. Does not implicitly {@link BasketballRecord.verify|verify} messages.
1990
- * @param message BasketballRecord message or plain object to encode
1991
- * @param [writer] Writer to encode to
1992
- * @returns Writer
1993
- */
1994
- public static encode(message: IBasketballRecord, writer?: $protobuf.Writer): $protobuf.Writer;
1995
-
1996
- /**
1997
- * Encodes the specified BasketballRecord message, length delimited. Does not implicitly {@link BasketballRecord.verify|verify} messages.
1998
- * @param message BasketballRecord message or plain object to encode
1999
- * @param [writer] Writer to encode to
2000
- * @returns Writer
2001
- */
2002
- public static encodeDelimited(message: IBasketballRecord, writer?: $protobuf.Writer): $protobuf.Writer;
2003
-
2004
- /**
2005
- * Decodes a BasketballRecord message from the specified reader or buffer.
2006
- * @param reader Reader or buffer to decode from
2007
- * @param [length] Message length if known beforehand
2008
- * @returns BasketballRecord
2009
- * @throws {Error} If the payload is not a reader or valid buffer
2010
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2011
- */
2012
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BasketballRecord;
2013
-
2014
- /**
2015
- * Decodes a BasketballRecord message from the specified reader or buffer, length delimited.
2016
- * @param reader Reader or buffer to decode from
2017
- * @returns BasketballRecord
2018
- * @throws {Error} If the payload is not a reader or valid buffer
2019
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2020
- */
2021
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BasketballRecord;
2022
-
2023
- /**
2024
- * Verifies a BasketballRecord message.
2025
- * @param message Plain object to verify
2026
- * @returns `null` if valid, otherwise the reason why it is not
2027
- */
2028
- public static verify(message: { [k: string]: any }): (string|null);
2029
-
2030
- /**
2031
- * Creates a BasketballRecord message from a plain object. Also converts values to their respective internal types.
2032
- * @param object Plain object
2033
- * @returns BasketballRecord
2034
- */
2035
- public static fromObject(object: { [k: string]: any }): BasketballRecord;
2036
-
2037
- /**
2038
- * Creates a plain object from a BasketballRecord message. Also converts values to other types if specified.
2039
- * @param message BasketballRecord
2040
- * @param [options] Conversion options
2041
- * @returns Plain object
2042
- */
2043
- public static toObject(message: BasketballRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
2044
-
2045
- /**
2046
- * Converts this BasketballRecord to JSON.
2047
- * @returns JSON object
2048
- */
2049
- public toJSON(): { [k: string]: any };
2050
- }
2051
-
2052
- /** Represents a BasketballTimeType. */
2053
- export class BasketballTimeType implements IBasketballTimeType {
2054
-
2055
- /**
2056
- * Constructs a new BasketballTimeType.
2057
- * @param [properties] Properties to set
2058
- */
2059
- constructor(properties?: IBasketballTimeType);
2060
-
2061
- /** BasketballTimeType settle. */
2062
- public settle: BasketballTimeType.SettleOn;
2063
-
2064
- /**
2065
- * Creates a new BasketballTimeType instance using the specified properties.
2066
- * @param [properties] Properties to set
2067
- * @returns BasketballTimeType instance
2068
- */
2069
- public static create(properties?: IBasketballTimeType): BasketballTimeType;
2070
-
2071
- /**
2072
- * Encodes the specified BasketballTimeType message. Does not implicitly {@link BasketballTimeType.verify|verify} messages.
2073
- * @param message BasketballTimeType message or plain object to encode
2074
- * @param [writer] Writer to encode to
2075
- * @returns Writer
2076
- */
2077
- public static encode(message: IBasketballTimeType, writer?: $protobuf.Writer): $protobuf.Writer;
2078
-
2079
- /**
2080
- * Encodes the specified BasketballTimeType message, length delimited. Does not implicitly {@link BasketballTimeType.verify|verify} messages.
2081
- * @param message BasketballTimeType message or plain object to encode
2082
- * @param [writer] Writer to encode to
2083
- * @returns Writer
2084
- */
2085
- public static encodeDelimited(message: IBasketballTimeType, writer?: $protobuf.Writer): $protobuf.Writer;
2086
-
2087
- /**
2088
- * Decodes a BasketballTimeType message from the specified reader or buffer.
2089
- * @param reader Reader or buffer to decode from
2090
- * @param [length] Message length if known beforehand
2091
- * @returns BasketballTimeType
2092
- * @throws {Error} If the payload is not a reader or valid buffer
2093
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2094
- */
2095
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BasketballTimeType;
2096
-
2097
- /**
2098
- * Decodes a BasketballTimeType message from the specified reader or buffer, length delimited.
2099
- * @param reader Reader or buffer to decode from
2100
- * @returns BasketballTimeType
2101
- * @throws {Error} If the payload is not a reader or valid buffer
2102
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2103
- */
2104
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BasketballTimeType;
2105
-
2106
- /**
2107
- * Verifies a BasketballTimeType message.
2108
- * @param message Plain object to verify
2109
- * @returns `null` if valid, otherwise the reason why it is not
2110
- */
2111
- public static verify(message: { [k: string]: any }): (string|null);
2112
-
2113
- /**
2114
- * Creates a BasketballTimeType message from a plain object. Also converts values to their respective internal types.
2115
- * @param object Plain object
2116
- * @returns BasketballTimeType
2117
- */
2118
- public static fromObject(object: { [k: string]: any }): BasketballTimeType;
2119
-
2120
- /**
2121
- * Creates a plain object from a BasketballTimeType message. Also converts values to other types if specified.
2122
- * @param message BasketballTimeType
2123
- * @param [options] Conversion options
2124
- * @returns Plain object
2125
- */
2126
- public static toObject(message: BasketballTimeType, options?: $protobuf.IConversionOptions): { [k: string]: any };
2127
-
2128
- /**
2129
- * Converts this BasketballTimeType to JSON.
2130
- * @returns JSON object
2131
- */
2132
- public toJSON(): { [k: string]: any };
2133
- }
2134
-
2135
- export namespace BasketballTimeType {
2136
-
2137
- /** SettleOn enum. */
2138
- enum SettleOn {
2139
- FT = 0,
2140
- H1 = 1,
2141
- H2 = 2,
2142
- Q1 = 3,
2143
- Q2 = 4,
2144
- Q3 = 5,
2145
- Q4 = 6,
2146
- OT = 7
2147
- }
2148
- }
2149
-
2150
- /** Represents a TennisEvent. */
2151
- export class TennisEvent implements ITennisEvent {
2152
-
2153
- /**
2154
- * Constructs a new TennisEvent.
2155
- * @param [properties] Properties to set
2156
- */
2157
- constructor(properties?: ITennisEvent);
2158
-
2159
- /**
2160
- * Creates a new TennisEvent instance using the specified properties.
2161
- * @param [properties] Properties to set
2162
- * @returns TennisEvent instance
2163
- */
2164
- public static create(properties?: ITennisEvent): TennisEvent;
2165
-
2166
- /**
2167
- * Encodes the specified TennisEvent message. Does not implicitly {@link TennisEvent.verify|verify} messages.
2168
- * @param message TennisEvent message or plain object to encode
2169
- * @param [writer] Writer to encode to
2170
- * @returns Writer
2171
- */
2172
- public static encode(message: ITennisEvent, writer?: $protobuf.Writer): $protobuf.Writer;
2173
-
2174
- /**
2175
- * Encodes the specified TennisEvent message, length delimited. Does not implicitly {@link TennisEvent.verify|verify} messages.
2176
- * @param message TennisEvent message or plain object to encode
2177
- * @param [writer] Writer to encode to
2178
- * @returns Writer
2179
- */
2180
- public static encodeDelimited(message: ITennisEvent, writer?: $protobuf.Writer): $protobuf.Writer;
2181
-
2182
- /**
2183
- * Decodes a TennisEvent message from the specified reader or buffer.
2184
- * @param reader Reader or buffer to decode from
2185
- * @param [length] Message length if known beforehand
2186
- * @returns TennisEvent
2187
- * @throws {Error} If the payload is not a reader or valid buffer
2188
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2189
- */
2190
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TennisEvent;
2191
-
2192
- /**
2193
- * Decodes a TennisEvent message from the specified reader or buffer, length delimited.
2194
- * @param reader Reader or buffer to decode from
2195
- * @returns TennisEvent
2196
- * @throws {Error} If the payload is not a reader or valid buffer
2197
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2198
- */
2199
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TennisEvent;
2200
-
2201
- /**
2202
- * Verifies a TennisEvent message.
2203
- * @param message Plain object to verify
2204
- * @returns `null` if valid, otherwise the reason why it is not
2205
- */
2206
- public static verify(message: { [k: string]: any }): (string|null);
2207
-
2208
- /**
2209
- * Creates a TennisEvent message from a plain object. Also converts values to their respective internal types.
2210
- * @param object Plain object
2211
- * @returns TennisEvent
2212
- */
2213
- public static fromObject(object: { [k: string]: any }): TennisEvent;
2214
-
2215
- /**
2216
- * Creates a plain object from a TennisEvent message. Also converts values to other types if specified.
2217
- * @param message TennisEvent
2218
- * @param [options] Conversion options
2219
- * @returns Plain object
2220
- */
2221
- public static toObject(message: TennisEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
2222
-
2223
- /**
2224
- * Converts this TennisEvent to JSON.
2225
- * @returns JSON object
2226
- */
2227
- public toJSON(): { [k: string]: any };
2228
- }
2229
-
2230
- export namespace TennisEvent {
2231
-
2232
- /** Type enum. */
2233
- enum Type {
2234
- NONE = 0,
2235
- GAME = 1,
2236
- SET = 2,
2237
- POINT = 3,
2238
- HOME_GAME = 4,
2239
- AWAY_GAME = 5
2240
- }
2241
- }
2242
-
2243
- /** Represents a TennisEventState. */
2244
- export class TennisEventState implements ITennisEventState {
2245
-
2246
- /**
2247
- * Constructs a new TennisEventState.
2248
- * @param [properties] Properties to set
2249
- */
2250
- constructor(properties?: ITennisEventState);
2251
-
2252
- /** TennisEventState set. */
2253
- public set: number;
2254
-
2255
- /** TennisEventState game. */
2256
- public game: number;
2257
-
2258
- /** TennisEventState bookPriority. */
2259
- public bookPriority: number;
2260
-
2261
- /** TennisEventState segment. */
2262
- public segment: TennisEventState.Segment;
2263
-
2264
- /**
2265
- * Creates a new TennisEventState instance using the specified properties.
2266
- * @param [properties] Properties to set
2267
- * @returns TennisEventState instance
2268
- */
2269
- public static create(properties?: ITennisEventState): TennisEventState;
2270
-
2271
- /**
2272
- * Encodes the specified TennisEventState message. Does not implicitly {@link TennisEventState.verify|verify} messages.
2273
- * @param message TennisEventState message or plain object to encode
2274
- * @param [writer] Writer to encode to
2275
- * @returns Writer
2276
- */
2277
- public static encode(message: ITennisEventState, writer?: $protobuf.Writer): $protobuf.Writer;
2278
-
2279
- /**
2280
- * Encodes the specified TennisEventState message, length delimited. Does not implicitly {@link TennisEventState.verify|verify} messages.
2281
- * @param message TennisEventState message or plain object to encode
2282
- * @param [writer] Writer to encode to
2283
- * @returns Writer
2284
- */
2285
- public static encodeDelimited(message: ITennisEventState, writer?: $protobuf.Writer): $protobuf.Writer;
2286
-
2287
- /**
2288
- * Decodes a TennisEventState message from the specified reader or buffer.
2289
- * @param reader Reader or buffer to decode from
2290
- * @param [length] Message length if known beforehand
2291
- * @returns TennisEventState
2292
- * @throws {Error} If the payload is not a reader or valid buffer
2293
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2294
- */
2295
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TennisEventState;
2296
-
2297
- /**
2298
- * Decodes a TennisEventState message from the specified reader or buffer, length delimited.
2299
- * @param reader Reader or buffer to decode from
2300
- * @returns TennisEventState
2301
- * @throws {Error} If the payload is not a reader or valid buffer
2302
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2303
- */
2304
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TennisEventState;
2305
-
2306
- /**
2307
- * Verifies a TennisEventState message.
2308
- * @param message Plain object to verify
2309
- * @returns `null` if valid, otherwise the reason why it is not
2310
- */
2311
- public static verify(message: { [k: string]: any }): (string|null);
2312
-
2313
- /**
2314
- * Creates a TennisEventState message from a plain object. Also converts values to their respective internal types.
2315
- * @param object Plain object
2316
- * @returns TennisEventState
2317
- */
2318
- public static fromObject(object: { [k: string]: any }): TennisEventState;
2319
-
2320
- /**
2321
- * Creates a plain object from a TennisEventState message. Also converts values to other types if specified.
2322
- * @param message TennisEventState
2323
- * @param [options] Conversion options
2324
- * @returns Plain object
2325
- */
2326
- public static toObject(message: TennisEventState, options?: $protobuf.IConversionOptions): { [k: string]: any };
2327
-
2328
- /**
2329
- * Converts this TennisEventState to JSON.
2330
- * @returns JSON object
2331
- */
2332
- public toJSON(): { [k: string]: any };
2333
- }
2334
-
2335
- export namespace TennisEventState {
2336
-
2337
- /** Segment enum. */
2338
- enum Segment {
2339
- LIVE = 0,
2340
- PENDING = 1
2341
- }
2342
- }
2343
-
2344
- /** Represents a TennisMatch. */
2345
- export class TennisMatch implements ITennisMatch {
2346
-
2347
- /**
2348
- * Constructs a new TennisMatch.
2349
- * @param [properties] Properties to set
2350
- */
2351
- constructor(properties?: ITennisMatch);
2352
-
2353
- /** TennisMatch gender. */
2354
- public gender: TennisMatch.Gender;
2355
-
2356
- /**
2357
- * Creates a new TennisMatch instance using the specified properties.
2358
- * @param [properties] Properties to set
2359
- * @returns TennisMatch instance
2360
- */
2361
- public static create(properties?: ITennisMatch): TennisMatch;
2362
-
2363
- /**
2364
- * Encodes the specified TennisMatch message. Does not implicitly {@link TennisMatch.verify|verify} messages.
2365
- * @param message TennisMatch message or plain object to encode
2366
- * @param [writer] Writer to encode to
2367
- * @returns Writer
2368
- */
2369
- public static encode(message: ITennisMatch, writer?: $protobuf.Writer): $protobuf.Writer;
2370
-
2371
- /**
2372
- * Encodes the specified TennisMatch message, length delimited. Does not implicitly {@link TennisMatch.verify|verify} messages.
2373
- * @param message TennisMatch message or plain object to encode
2374
- * @param [writer] Writer to encode to
2375
- * @returns Writer
2376
- */
2377
- public static encodeDelimited(message: ITennisMatch, writer?: $protobuf.Writer): $protobuf.Writer;
2378
-
2379
- /**
2380
- * Decodes a TennisMatch message from the specified reader or buffer.
2381
- * @param reader Reader or buffer to decode from
2382
- * @param [length] Message length if known beforehand
2383
- * @returns TennisMatch
2384
- * @throws {Error} If the payload is not a reader or valid buffer
2385
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2386
- */
2387
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TennisMatch;
2388
-
2389
- /**
2390
- * Decodes a TennisMatch message from the specified reader or buffer, length delimited.
2391
- * @param reader Reader or buffer to decode from
2392
- * @returns TennisMatch
2393
- * @throws {Error} If the payload is not a reader or valid buffer
2394
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2395
- */
2396
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TennisMatch;
2397
-
2398
- /**
2399
- * Verifies a TennisMatch message.
2400
- * @param message Plain object to verify
2401
- * @returns `null` if valid, otherwise the reason why it is not
2402
- */
2403
- public static verify(message: { [k: string]: any }): (string|null);
2404
-
2405
- /**
2406
- * Creates a TennisMatch message from a plain object. Also converts values to their respective internal types.
2407
- * @param object Plain object
2408
- * @returns TennisMatch
2409
- */
2410
- public static fromObject(object: { [k: string]: any }): TennisMatch;
2411
-
2412
- /**
2413
- * Creates a plain object from a TennisMatch message. Also converts values to other types if specified.
2414
- * @param message TennisMatch
2415
- * @param [options] Conversion options
2416
- * @returns Plain object
2417
- */
2418
- public static toObject(message: TennisMatch, options?: $protobuf.IConversionOptions): { [k: string]: any };
2419
-
2420
- /**
2421
- * Converts this TennisMatch to JSON.
2422
- * @returns JSON object
2423
- */
2424
- public toJSON(): { [k: string]: any };
2425
- }
2426
-
2427
- export namespace TennisMatch {
2428
-
2429
- /** Gender enum. */
2430
- enum Gender {
2431
- MEN_SINGLE = 0,
2432
- WOMEN_SINGLE = 1,
2433
- WOMEN_DOUBLE = 2,
2434
- MEN_DOUBLE = 3,
2435
- TEAM = 4,
2436
- MIXED_DOUBLE = 5
2437
- }
2438
- }
2439
-
2440
- /** Represents a TennisRecord. */
2441
- export class TennisRecord implements ITennisRecord {
2442
-
2443
- /**
2444
- * Constructs a new TennisRecord.
2445
- * @param [properties] Properties to set
2446
- */
2447
- constructor(properties?: ITennisRecord);
2448
-
2449
- /** TennisRecord swapped. */
2450
- public swapped: boolean;
2451
-
2452
- /**
2453
- * Creates a new TennisRecord instance using the specified properties.
2454
- * @param [properties] Properties to set
2455
- * @returns TennisRecord instance
2456
- */
2457
- public static create(properties?: ITennisRecord): TennisRecord;
2458
-
2459
- /**
2460
- * Encodes the specified TennisRecord message. Does not implicitly {@link TennisRecord.verify|verify} messages.
2461
- * @param message TennisRecord message or plain object to encode
2462
- * @param [writer] Writer to encode to
2463
- * @returns Writer
2464
- */
2465
- public static encode(message: ITennisRecord, writer?: $protobuf.Writer): $protobuf.Writer;
2466
-
2467
- /**
2468
- * Encodes the specified TennisRecord message, length delimited. Does not implicitly {@link TennisRecord.verify|verify} messages.
2469
- * @param message TennisRecord message or plain object to encode
2470
- * @param [writer] Writer to encode to
2471
- * @returns Writer
2472
- */
2473
- public static encodeDelimited(message: ITennisRecord, writer?: $protobuf.Writer): $protobuf.Writer;
2474
-
2475
- /**
2476
- * Decodes a TennisRecord message from the specified reader or buffer.
2477
- * @param reader Reader or buffer to decode from
2478
- * @param [length] Message length if known beforehand
2479
- * @returns TennisRecord
2480
- * @throws {Error} If the payload is not a reader or valid buffer
2481
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2482
- */
2483
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TennisRecord;
2484
-
2485
- /**
2486
- * Decodes a TennisRecord message from the specified reader or buffer, length delimited.
2487
- * @param reader Reader or buffer to decode from
2488
- * @returns TennisRecord
2489
- * @throws {Error} If the payload is not a reader or valid buffer
2490
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2491
- */
2492
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TennisRecord;
2493
-
2494
- /**
2495
- * Verifies a TennisRecord message.
2496
- * @param message Plain object to verify
2497
- * @returns `null` if valid, otherwise the reason why it is not
2498
- */
2499
- public static verify(message: { [k: string]: any }): (string|null);
2500
-
2501
- /**
2502
- * Creates a TennisRecord message from a plain object. Also converts values to their respective internal types.
2503
- * @param object Plain object
2504
- * @returns TennisRecord
2505
- */
2506
- public static fromObject(object: { [k: string]: any }): TennisRecord;
2507
-
2508
- /**
2509
- * Creates a plain object from a TennisRecord message. Also converts values to other types if specified.
2510
- * @param message TennisRecord
2511
- * @param [options] Conversion options
2512
- * @returns Plain object
2513
- */
2514
- public static toObject(message: TennisRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
2515
-
2516
- /**
2517
- * Converts this TennisRecord to JSON.
2518
- * @returns JSON object
2519
- */
2520
- public toJSON(): { [k: string]: any };
2521
- }
2522
-
2523
- /** Represents a TennisTimeType. */
2524
- export class TennisTimeType implements ITennisTimeType {
2525
-
2526
- /**
2527
- * Constructs a new TennisTimeType.
2528
- * @param [properties] Properties to set
2529
- */
2530
- constructor(properties?: ITennisTimeType);
2531
-
2532
- /** TennisTimeType match. */
2533
- public match: number;
2534
-
2535
- /** TennisTimeType set. */
2536
- public set: number;
2537
-
2538
- /** TennisTimeType game. */
2539
- public game: number;
2540
-
2541
- /**
2542
- * Creates a new TennisTimeType instance using the specified properties.
2543
- * @param [properties] Properties to set
2544
- * @returns TennisTimeType instance
2545
- */
2546
- public static create(properties?: ITennisTimeType): TennisTimeType;
2547
-
2548
- /**
2549
- * Encodes the specified TennisTimeType message. Does not implicitly {@link TennisTimeType.verify|verify} messages.
2550
- * @param message TennisTimeType message or plain object to encode
2551
- * @param [writer] Writer to encode to
2552
- * @returns Writer
2553
- */
2554
- public static encode(message: ITennisTimeType, writer?: $protobuf.Writer): $protobuf.Writer;
2555
-
2556
- /**
2557
- * Encodes the specified TennisTimeType message, length delimited. Does not implicitly {@link TennisTimeType.verify|verify} messages.
2558
- * @param message TennisTimeType message or plain object to encode
2559
- * @param [writer] Writer to encode to
2560
- * @returns Writer
2561
- */
2562
- public static encodeDelimited(message: ITennisTimeType, writer?: $protobuf.Writer): $protobuf.Writer;
2563
-
2564
- /**
2565
- * Decodes a TennisTimeType message from the specified reader or buffer.
2566
- * @param reader Reader or buffer to decode from
2567
- * @param [length] Message length if known beforehand
2568
- * @returns TennisTimeType
2569
- * @throws {Error} If the payload is not a reader or valid buffer
2570
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2571
- */
2572
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TennisTimeType;
2573
-
2574
- /**
2575
- * Decodes a TennisTimeType message from the specified reader or buffer, length delimited.
2576
- * @param reader Reader or buffer to decode from
2577
- * @returns TennisTimeType
2578
- * @throws {Error} If the payload is not a reader or valid buffer
2579
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2580
- */
2581
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TennisTimeType;
2582
-
2583
- /**
2584
- * Verifies a TennisTimeType message.
2585
- * @param message Plain object to verify
2586
- * @returns `null` if valid, otherwise the reason why it is not
2587
- */
2588
- public static verify(message: { [k: string]: any }): (string|null);
2589
-
2590
- /**
2591
- * Creates a TennisTimeType message from a plain object. Also converts values to their respective internal types.
2592
- * @param object Plain object
2593
- * @returns TennisTimeType
2594
- */
2595
- public static fromObject(object: { [k: string]: any }): TennisTimeType;
2596
-
2597
- /**
2598
- * Creates a plain object from a TennisTimeType message. Also converts values to other types if specified.
2599
- * @param message TennisTimeType
2600
- * @param [options] Conversion options
2601
- * @returns Plain object
2602
- */
2603
- public static toObject(message: TennisTimeType, options?: $protobuf.IConversionOptions): { [k: string]: any };
2604
-
2605
- /**
2606
- * Converts this TennisTimeType to JSON.
2607
- * @returns JSON object
2608
- */
2609
- public toJSON(): { [k: string]: any };
2610
- }
2611
-
2612
- /** NameFeedOddType enum. */
2613
- export enum NameFeedOddType {
2614
- LIVE = 0,
2615
- TODAY = 1,
2616
- EARLY = 2
2617
- }
2618
-
2619
- /** NameFeedSportType enum. */
2620
- export enum NameFeedSportType {
2621
- SOCCER = 0,
2622
- TENNIS = 1,
2623
- BASKETBALL = 2
2624
- }
2625
-
2626
- /** Represents an EventName. */
2627
- export class EventName implements IEventName {
2628
-
2629
- /**
2630
- * Constructs a new EventName.
2631
- * @param [properties] Properties to set
2632
- */
2633
- constructor(properties?: IEventName);
2634
-
2635
- /** EventName originalEventId. */
2636
- public originalEventId: string;
2637
-
2638
- /** EventName league. */
2639
- public league: string;
2640
-
2641
- /** EventName host. */
2642
- public host: string;
2643
-
2644
- /** EventName guest. */
2645
- public guest: string;
2646
-
2647
- /** EventName source. */
2648
- public source: string;
2649
-
2650
- /** EventName oddType. */
2651
- public oddType: NameFeedOddType;
2652
-
2653
- /** EventName sportType. */
2654
- public sportType: NameFeedSportType;
2655
-
2656
- /** EventName epoch. */
2657
- public epoch: (number|Long);
2658
-
2659
- /** EventName startTime. */
2660
- public startTime: (number|Long);
2661
-
2662
- /**
2663
- * Creates a new EventName instance using the specified properties.
2664
- * @param [properties] Properties to set
2665
- * @returns EventName instance
2666
- */
2667
- public static create(properties?: IEventName): EventName;
2668
-
2669
- /**
2670
- * Encodes the specified EventName message. Does not implicitly {@link EventName.verify|verify} messages.
2671
- * @param message EventName message or plain object to encode
2672
- * @param [writer] Writer to encode to
2673
- * @returns Writer
2674
- */
2675
- public static encode(message: IEventName, writer?: $protobuf.Writer): $protobuf.Writer;
2676
-
2677
- /**
2678
- * Encodes the specified EventName message, length delimited. Does not implicitly {@link EventName.verify|verify} messages.
2679
- * @param message EventName message or plain object to encode
2680
- * @param [writer] Writer to encode to
2681
- * @returns Writer
2682
- */
2683
- public static encodeDelimited(message: IEventName, writer?: $protobuf.Writer): $protobuf.Writer;
2684
-
2685
- /**
2686
- * Decodes an EventName message from the specified reader or buffer.
2687
- * @param reader Reader or buffer to decode from
2688
- * @param [length] Message length if known beforehand
2689
- * @returns EventName
2690
- * @throws {Error} If the payload is not a reader or valid buffer
2691
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2692
- */
2693
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EventName;
2694
-
2695
- /**
2696
- * Decodes an EventName message from the specified reader or buffer, length delimited.
2697
- * @param reader Reader or buffer to decode from
2698
- * @returns EventName
2699
- * @throws {Error} If the payload is not a reader or valid buffer
2700
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2701
- */
2702
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EventName;
2703
-
2704
- /**
2705
- * Verifies an EventName message.
2706
- * @param message Plain object to verify
2707
- * @returns `null` if valid, otherwise the reason why it is not
2708
- */
2709
- public static verify(message: { [k: string]: any }): (string|null);
2710
-
2711
- /**
2712
- * Creates an EventName message from a plain object. Also converts values to their respective internal types.
2713
- * @param object Plain object
2714
- * @returns EventName
2715
- */
2716
- public static fromObject(object: { [k: string]: any }): EventName;
2717
-
2718
- /**
2719
- * Creates a plain object from an EventName message. Also converts values to other types if specified.
2720
- * @param message EventName
2721
- * @param [options] Conversion options
2722
- * @returns Plain object
2723
- */
2724
- public static toObject(message: EventName, options?: $protobuf.IConversionOptions): { [k: string]: any };
2725
-
2726
- /**
2727
- * Converts this EventName to JSON.
2728
- * @returns JSON object
2729
- */
2730
- public toJSON(): { [k: string]: any };
2731
- }
2732
-
2733
- /** Represents a Reset. */
2734
- export class Reset implements IReset {
2735
-
2736
- /**
2737
- * Constructs a new Reset.
2738
- * @param [properties] Properties to set
2739
- */
2740
- constructor(properties?: IReset);
2741
-
2742
- /** Reset stream. */
2743
- public stream: string;
2744
-
2745
- /**
2746
- * Creates a new Reset instance using the specified properties.
2747
- * @param [properties] Properties to set
2748
- * @returns Reset instance
2749
- */
2750
- public static create(properties?: IReset): Reset;
2751
-
2752
- /**
2753
- * Encodes the specified Reset message. Does not implicitly {@link Reset.verify|verify} messages.
2754
- * @param message Reset message or plain object to encode
2755
- * @param [writer] Writer to encode to
2756
- * @returns Writer
2757
- */
2758
- public static encode(message: IReset, writer?: $protobuf.Writer): $protobuf.Writer;
2759
-
2760
- /**
2761
- * Encodes the specified Reset message, length delimited. Does not implicitly {@link Reset.verify|verify} messages.
2762
- * @param message Reset message or plain object to encode
2763
- * @param [writer] Writer to encode to
2764
- * @returns Writer
2765
- */
2766
- public static encodeDelimited(message: IReset, writer?: $protobuf.Writer): $protobuf.Writer;
2767
-
2768
- /**
2769
- * Decodes a Reset message from the specified reader or buffer.
2770
- * @param reader Reader or buffer to decode from
2771
- * @param [length] Message length if known beforehand
2772
- * @returns Reset
2773
- * @throws {Error} If the payload is not a reader or valid buffer
2774
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2775
- */
2776
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Reset;
2777
-
2778
- /**
2779
- * Decodes a Reset message from the specified reader or buffer, length delimited.
2780
- * @param reader Reader or buffer to decode from
2781
- * @returns Reset
2782
- * @throws {Error} If the payload is not a reader or valid buffer
2783
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2784
- */
2785
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Reset;
2786
-
2787
- /**
2788
- * Verifies a Reset message.
2789
- * @param message Plain object to verify
2790
- * @returns `null` if valid, otherwise the reason why it is not
2791
- */
2792
- public static verify(message: { [k: string]: any }): (string|null);
2793
-
2794
- /**
2795
- * Creates a Reset message from a plain object. Also converts values to their respective internal types.
2796
- * @param object Plain object
2797
- * @returns Reset
2798
- */
2799
- public static fromObject(object: { [k: string]: any }): Reset;
2800
-
2801
- /**
2802
- * Creates a plain object from a Reset message. Also converts values to other types if specified.
2803
- * @param message Reset
2804
- * @param [options] Conversion options
2805
- * @returns Plain object
2806
- */
2807
- public static toObject(message: Reset, options?: $protobuf.IConversionOptions): { [k: string]: any };
2808
-
2809
- /**
2810
- * Converts this Reset to JSON.
2811
- * @returns JSON object
2812
- */
2813
- public toJSON(): { [k: string]: any };
2814
- }
2815
-
2816
- /** Represents a Refresh. */
2817
- export class Refresh implements IRefresh {
2818
-
2819
- /**
2820
- * Constructs a new Refresh.
2821
- * @param [properties] Properties to set
2822
- */
2823
- constructor(properties?: IRefresh);
2824
-
2825
- /** Refresh stream. */
2826
- public stream: string;
2827
-
2828
- /**
2829
- * Creates a new Refresh instance using the specified properties.
2830
- * @param [properties] Properties to set
2831
- * @returns Refresh instance
2832
- */
2833
- public static create(properties?: IRefresh): Refresh;
2834
-
2835
- /**
2836
- * Encodes the specified Refresh message. Does not implicitly {@link Refresh.verify|verify} messages.
2837
- * @param message Refresh message or plain object to encode
2838
- * @param [writer] Writer to encode to
2839
- * @returns Writer
2840
- */
2841
- public static encode(message: IRefresh, writer?: $protobuf.Writer): $protobuf.Writer;
2842
-
2843
- /**
2844
- * Encodes the specified Refresh message, length delimited. Does not implicitly {@link Refresh.verify|verify} messages.
2845
- * @param message Refresh message or plain object to encode
2846
- * @param [writer] Writer to encode to
2847
- * @returns Writer
2848
- */
2849
- public static encodeDelimited(message: IRefresh, writer?: $protobuf.Writer): $protobuf.Writer;
2850
-
2851
- /**
2852
- * Decodes a Refresh message from the specified reader or buffer.
2853
- * @param reader Reader or buffer to decode from
2854
- * @param [length] Message length if known beforehand
2855
- * @returns Refresh
2856
- * @throws {Error} If the payload is not a reader or valid buffer
2857
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2858
- */
2859
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Refresh;
2860
-
2861
- /**
2862
- * Decodes a Refresh message from the specified reader or buffer, length delimited.
2863
- * @param reader Reader or buffer to decode from
2864
- * @returns Refresh
2865
- * @throws {Error} If the payload is not a reader or valid buffer
2866
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2867
- */
2868
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Refresh;
2869
-
2870
- /**
2871
- * Verifies a Refresh message.
2872
- * @param message Plain object to verify
2873
- * @returns `null` if valid, otherwise the reason why it is not
2874
- */
2875
- public static verify(message: { [k: string]: any }): (string|null);
2876
-
2877
- /**
2878
- * Creates a Refresh message from a plain object. Also converts values to their respective internal types.
2879
- * @param object Plain object
2880
- * @returns Refresh
2881
- */
2882
- public static fromObject(object: { [k: string]: any }): Refresh;
2883
-
2884
- /**
2885
- * Creates a plain object from a Refresh message. Also converts values to other types if specified.
2886
- * @param message Refresh
2887
- * @param [options] Conversion options
2888
- * @returns Plain object
2889
- */
2890
- public static toObject(message: Refresh, options?: $protobuf.IConversionOptions): { [k: string]: any };
2891
-
2892
- /**
2893
- * Converts this Refresh to JSON.
2894
- * @returns JSON object
2895
- */
2896
- public toJSON(): { [k: string]: any };
2897
- }
2898
-
2899
- /** Represents a NameFeedCol. */
2900
- export class NameFeedCol implements INameFeedCol {
2901
-
2902
- /**
2903
- * Constructs a new NameFeedCol.
2904
- * @param [properties] Properties to set
2905
- */
2906
- constructor(properties?: INameFeedCol);
2907
-
2908
- /** NameFeedCol source. */
2909
- public source: number;
2910
-
2911
- /** NameFeedCol sportType. */
2912
- public sportType: NameFeedSportType;
2913
-
2914
- /** NameFeedCol oddType. */
2915
- public oddType: NameFeedOddType;
2916
-
2917
- /** NameFeedCol stringPool. */
2918
- public stringPool: string[];
2919
-
2920
- /** NameFeedCol names. */
2921
- public names: IEventName[];
2922
-
2923
- /**
2924
- * Creates a new NameFeedCol instance using the specified properties.
2925
- * @param [properties] Properties to set
2926
- * @returns NameFeedCol instance
2927
- */
2928
- public static create(properties?: INameFeedCol): NameFeedCol;
2929
-
2930
- /**
2931
- * Encodes the specified NameFeedCol message. Does not implicitly {@link NameFeedCol.verify|verify} messages.
2932
- * @param message NameFeedCol message or plain object to encode
2933
- * @param [writer] Writer to encode to
2934
- * @returns Writer
2935
- */
2936
- public static encode(message: INameFeedCol, writer?: $protobuf.Writer): $protobuf.Writer;
2937
-
2938
- /**
2939
- * Encodes the specified NameFeedCol message, length delimited. Does not implicitly {@link NameFeedCol.verify|verify} messages.
2940
- * @param message NameFeedCol message or plain object to encode
2941
- * @param [writer] Writer to encode to
2942
- * @returns Writer
2943
- */
2944
- public static encodeDelimited(message: INameFeedCol, writer?: $protobuf.Writer): $protobuf.Writer;
2945
-
2946
- /**
2947
- * Decodes a NameFeedCol message from the specified reader or buffer.
2948
- * @param reader Reader or buffer to decode from
2949
- * @param [length] Message length if known beforehand
2950
- * @returns NameFeedCol
2951
- * @throws {Error} If the payload is not a reader or valid buffer
2952
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2953
- */
2954
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): NameFeedCol;
2955
-
2956
- /**
2957
- * Decodes a NameFeedCol message from the specified reader or buffer, length delimited.
2958
- * @param reader Reader or buffer to decode from
2959
- * @returns NameFeedCol
2960
- * @throws {Error} If the payload is not a reader or valid buffer
2961
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2962
- */
2963
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): NameFeedCol;
2964
-
2965
- /**
2966
- * Verifies a NameFeedCol message.
2967
- * @param message Plain object to verify
2968
- * @returns `null` if valid, otherwise the reason why it is not
2969
- */
2970
- public static verify(message: { [k: string]: any }): (string|null);
2971
-
2972
- /**
2973
- * Creates a NameFeedCol message from a plain object. Also converts values to their respective internal types.
2974
- * @param object Plain object
2975
- * @returns NameFeedCol
2976
- */
2977
- public static fromObject(object: { [k: string]: any }): NameFeedCol;
2978
-
2979
- /**
2980
- * Creates a plain object from a NameFeedCol message. Also converts values to other types if specified.
2981
- * @param message NameFeedCol
2982
- * @param [options] Conversion options
2983
- * @returns Plain object
2984
- */
2985
- public static toObject(message: NameFeedCol, options?: $protobuf.IConversionOptions): { [k: string]: any };
2986
-
2987
- /**
2988
- * Converts this NameFeedCol to JSON.
2989
- * @returns JSON object
2990
- */
2991
- public toJSON(): { [k: string]: any };
2992
- }