@streamlayer/sl-eslib 5.124.0 → 5.126.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -525,6 +525,13 @@ export declare class SyncQuestionRequest_SyncQuestionRequestFilter extends Messa
|
|
|
525
525
|
*/
|
|
526
526
|
eventId: string;
|
|
527
527
|
|
|
528
|
+
/**
|
|
529
|
+
* if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
|
|
530
|
+
*
|
|
531
|
+
* @generated from field: repeated streamlayer.interactive.QuestionType types = 2;
|
|
532
|
+
*/
|
|
533
|
+
types: QuestionType[];
|
|
534
|
+
|
|
528
535
|
constructor(data?: PartialMessage<SyncQuestionRequest_SyncQuestionRequestFilter>);
|
|
529
536
|
|
|
530
537
|
static readonly runtime: typeof proto3;
|
|
@@ -217,6 +217,7 @@ export const SyncQuestionRequest_SyncQuestionRequestFilter = /*@__PURE__*/ proto
|
|
|
217
217
|
"streamlayer.interactive.feed.SyncQuestionRequest.SyncQuestionRequestFilter",
|
|
218
218
|
() => [
|
|
219
219
|
{ no: 1, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
220
|
+
{ no: 2, name: "types", kind: "enum", T: proto3.getEnumType(QuestionType), repeated: true },
|
|
220
221
|
],
|
|
221
222
|
{localName: "SyncQuestionRequest_SyncQuestionRequestFilter"},
|
|
222
223
|
);
|
|
@@ -443,6 +443,58 @@ export declare enum NotificationEnabled {
|
|
|
443
443
|
NOTIFICATION_DISABLED = 2,
|
|
444
444
|
}
|
|
445
445
|
|
|
446
|
+
/**
|
|
447
|
+
* @generated from enum streamlayer.interactive.CloseTimerAuto
|
|
448
|
+
*/
|
|
449
|
+
export declare enum CloseTimerAuto {
|
|
450
|
+
/**
|
|
451
|
+
* @generated from enum value: CLOSE_TIMER_AUTO_UNSET = 0;
|
|
452
|
+
*/
|
|
453
|
+
UNSET = 0,
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* @generated from enum value: CLOSE_TIMER_AUTO_ENABLED = 1;
|
|
457
|
+
*/
|
|
458
|
+
ENABLED = 1,
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* @generated from enum value: CLOSE_TIMER_AUTO_DISABLED = 2;
|
|
462
|
+
*/
|
|
463
|
+
DISABLED = 2,
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* 5, 10, 15, 30
|
|
468
|
+
*
|
|
469
|
+
* @generated from enum streamlayer.interactive.CloseTimerTime
|
|
470
|
+
*/
|
|
471
|
+
export declare enum CloseTimerTime {
|
|
472
|
+
/**
|
|
473
|
+
* @generated from enum value: CLOSE_TIMER_TIME_UNSET = 0;
|
|
474
|
+
*/
|
|
475
|
+
CLOSE_TIMER_TIME_UNSET = 0,
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* @generated from enum value: CLOSE_TIMER_TIME_5_SECONDS = 5;
|
|
479
|
+
*/
|
|
480
|
+
CLOSE_TIMER_TIME_5_SECONDS = 5,
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* @generated from enum value: CLOSE_TIMER_TIME_10_SECONDS = 10;
|
|
484
|
+
*/
|
|
485
|
+
CLOSE_TIMER_TIME_10_SECONDS = 10,
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* @generated from enum value: CLOSE_TIMER_TIME_15_SECONDS = 15;
|
|
489
|
+
*/
|
|
490
|
+
CLOSE_TIMER_TIME_15_SECONDS = 15,
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* @generated from enum value: CLOSE_TIMER_TIME_30_SECONDS = 30;
|
|
494
|
+
*/
|
|
495
|
+
CLOSE_TIMER_TIME_30_SECONDS = 30,
|
|
496
|
+
}
|
|
497
|
+
|
|
446
498
|
/**
|
|
447
499
|
* @generated from enum streamlayer.interactive.QuestionAutoPostState
|
|
448
500
|
*/
|
|
@@ -571,6 +623,35 @@ export declare enum ImportStatus {
|
|
|
571
623
|
FAILED = 4,
|
|
572
624
|
}
|
|
573
625
|
|
|
626
|
+
/**
|
|
627
|
+
* @generated from message streamlayer.interactive.CloseTimer
|
|
628
|
+
*/
|
|
629
|
+
export declare class CloseTimer extends Message<CloseTimer> {
|
|
630
|
+
/**
|
|
631
|
+
* @generated from field: streamlayer.interactive.CloseTimerAuto auto = 1;
|
|
632
|
+
*/
|
|
633
|
+
auto: CloseTimerAuto;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* @generated from field: streamlayer.interactive.CloseTimerTime time = 2;
|
|
637
|
+
*/
|
|
638
|
+
time: CloseTimerTime;
|
|
639
|
+
|
|
640
|
+
constructor(data?: PartialMessage<CloseTimer>);
|
|
641
|
+
|
|
642
|
+
static readonly runtime: typeof proto3;
|
|
643
|
+
static readonly typeName = "streamlayer.interactive.CloseTimer";
|
|
644
|
+
static readonly fields: FieldList;
|
|
645
|
+
|
|
646
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CloseTimer;
|
|
647
|
+
|
|
648
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CloseTimer;
|
|
649
|
+
|
|
650
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CloseTimer;
|
|
651
|
+
|
|
652
|
+
static equals(a: CloseTimer | PlainMessage<CloseTimer> | undefined, b: CloseTimer | PlainMessage<CloseTimer> | undefined): boolean;
|
|
653
|
+
}
|
|
654
|
+
|
|
574
655
|
/**
|
|
575
656
|
* @generated from message streamlayer.interactive.QuestionAppearance
|
|
576
657
|
*/
|
|
@@ -1256,6 +1337,11 @@ export declare class QuestionOptions_FactoidOptions extends Message<QuestionOpti
|
|
|
1256
1337
|
*/
|
|
1257
1338
|
useAsNotification: UseAsNotification;
|
|
1258
1339
|
|
|
1340
|
+
/**
|
|
1341
|
+
* @generated from field: optional streamlayer.interactive.CloseTimer close_timer = 7;
|
|
1342
|
+
*/
|
|
1343
|
+
closeTimer?: CloseTimer;
|
|
1344
|
+
|
|
1259
1345
|
constructor(data?: PartialMessage<QuestionOptions_FactoidOptions>);
|
|
1260
1346
|
|
|
1261
1347
|
static readonly runtime: typeof proto3;
|
|
@@ -1989,6 +2075,11 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
|
|
|
1989
2075
|
*/
|
|
1990
2076
|
adCampaigns?: QuestionOptions_AdCampaigns;
|
|
1991
2077
|
|
|
2078
|
+
/**
|
|
2079
|
+
* @generated from field: optional streamlayer.interactive.CloseTimer close_timer = 12;
|
|
2080
|
+
*/
|
|
2081
|
+
closeTimer?: CloseTimer;
|
|
2082
|
+
|
|
1992
2083
|
constructor(data?: PartialMessage<QuestionOptions_PromotionOptions>);
|
|
1993
2084
|
|
|
1994
2085
|
static readonly runtime: typeof proto3;
|
|
@@ -230,6 +230,34 @@ export const NotificationEnabled = /*@__PURE__*/ proto3.makeEnum(
|
|
|
230
230
|
],
|
|
231
231
|
);
|
|
232
232
|
|
|
233
|
+
/**
|
|
234
|
+
* @generated from enum streamlayer.interactive.CloseTimerAuto
|
|
235
|
+
*/
|
|
236
|
+
export const CloseTimerAuto = /*@__PURE__*/ proto3.makeEnum(
|
|
237
|
+
"streamlayer.interactive.CloseTimerAuto",
|
|
238
|
+
[
|
|
239
|
+
{no: 0, name: "CLOSE_TIMER_AUTO_UNSET", localName: "UNSET"},
|
|
240
|
+
{no: 1, name: "CLOSE_TIMER_AUTO_ENABLED", localName: "ENABLED"},
|
|
241
|
+
{no: 2, name: "CLOSE_TIMER_AUTO_DISABLED", localName: "DISABLED"},
|
|
242
|
+
],
|
|
243
|
+
);
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* 5, 10, 15, 30
|
|
247
|
+
*
|
|
248
|
+
* @generated from enum streamlayer.interactive.CloseTimerTime
|
|
249
|
+
*/
|
|
250
|
+
export const CloseTimerTime = /*@__PURE__*/ proto3.makeEnum(
|
|
251
|
+
"streamlayer.interactive.CloseTimerTime",
|
|
252
|
+
[
|
|
253
|
+
{no: 0, name: "CLOSE_TIMER_TIME_UNSET"},
|
|
254
|
+
{no: 5, name: "CLOSE_TIMER_TIME_5_SECONDS"},
|
|
255
|
+
{no: 10, name: "CLOSE_TIMER_TIME_10_SECONDS"},
|
|
256
|
+
{no: 15, name: "CLOSE_TIMER_TIME_15_SECONDS"},
|
|
257
|
+
{no: 30, name: "CLOSE_TIMER_TIME_30_SECONDS"},
|
|
258
|
+
],
|
|
259
|
+
);
|
|
260
|
+
|
|
233
261
|
/**
|
|
234
262
|
* @generated from enum streamlayer.interactive.QuestionAutoPostState
|
|
235
263
|
*/
|
|
@@ -296,6 +324,17 @@ export const ImportStatus = /*@__PURE__*/ proto3.makeEnum(
|
|
|
296
324
|
],
|
|
297
325
|
);
|
|
298
326
|
|
|
327
|
+
/**
|
|
328
|
+
* @generated from message streamlayer.interactive.CloseTimer
|
|
329
|
+
*/
|
|
330
|
+
export const CloseTimer = /*@__PURE__*/ proto3.makeMessageType(
|
|
331
|
+
"streamlayer.interactive.CloseTimer",
|
|
332
|
+
() => [
|
|
333
|
+
{ no: 1, name: "auto", kind: "enum", T: proto3.getEnumType(CloseTimerAuto) },
|
|
334
|
+
{ no: 2, name: "time", kind: "enum", T: proto3.getEnumType(CloseTimerTime) },
|
|
335
|
+
],
|
|
336
|
+
);
|
|
337
|
+
|
|
299
338
|
/**
|
|
300
339
|
* @generated from message streamlayer.interactive.QuestionAppearance
|
|
301
340
|
*/
|
|
@@ -519,6 +558,7 @@ export const QuestionOptions_FactoidOptions = /*@__PURE__*/ proto3.makeMessageTy
|
|
|
519
558
|
{ no: 4, name: "web_link", kind: "message", T: WebLink },
|
|
520
559
|
{ no: 5, name: "image_mode", kind: "enum", T: proto3.getEnumType(QuestionImages) },
|
|
521
560
|
{ no: 6, name: "use_as_notification", kind: "enum", T: proto3.getEnumType(UseAsNotification) },
|
|
561
|
+
{ no: 7, name: "close_timer", kind: "message", T: CloseTimer, opt: true },
|
|
522
562
|
],
|
|
523
563
|
{localName: "QuestionOptions_FactoidOptions"},
|
|
524
564
|
);
|
|
@@ -666,6 +706,7 @@ export const QuestionOptions_PromotionOptions = /*@__PURE__*/ proto3.makeMessage
|
|
|
666
706
|
{ no: 9, name: "coupon_barcode_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
667
707
|
{ no: 10, name: "button_type", kind: "enum", T: proto3.getEnumType(PromotionButtonType), opt: true },
|
|
668
708
|
{ no: 11, name: "ad_campaigns", kind: "message", T: QuestionOptions_AdCampaigns, opt: true },
|
|
709
|
+
{ no: 12, name: "close_timer", kind: "message", T: CloseTimer, opt: true },
|
|
669
710
|
],
|
|
670
711
|
{localName: "QuestionOptions_PromotionOptions"},
|
|
671
712
|
);
|