@streamlayer/sl-eslib 5.128.0 → 5.129.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/sl-eslib",
3
- "version": "5.128.0",
3
+ "version": "5.129.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -464,35 +464,23 @@ export declare enum CloseTimerAuto {
464
464
  }
465
465
 
466
466
  /**
467
- * 5, 10, 15, 30
468
- *
469
- * @generated from enum streamlayer.interactive.CloseTimerTime
467
+ * @generated from enum streamlayer.interactive.AutoPlayVideo
470
468
  */
471
- export declare enum CloseTimerTime {
469
+ export declare enum AutoPlayVideo {
472
470
  /**
473
- * @generated from enum value: CLOSE_TIMER_TIME_UNSET = 0;
471
+ * @generated from enum value: AUTO_PLAY_VIDEO_UNSET = 0;
474
472
  */
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,
473
+ UNSET = 0,
486
474
 
487
475
  /**
488
- * @generated from enum value: CLOSE_TIMER_TIME_15_SECONDS = 15;
476
+ * @generated from enum value: AUTO_PLAY_VIDEO_ENABLED = 1;
489
477
  */
490
- CLOSE_TIMER_TIME_15_SECONDS = 15,
478
+ ENABLED = 1,
491
479
 
492
480
  /**
493
- * @generated from enum value: CLOSE_TIMER_TIME_30_SECONDS = 30;
481
+ * @generated from enum value: AUTO_PLAY_VIDEO_DISABLED = 2;
494
482
  */
495
- CLOSE_TIMER_TIME_30_SECONDS = 30,
483
+ DISABLED = 2,
496
484
  }
497
485
 
498
486
  /**
@@ -633,9 +621,11 @@ export declare class CloseTimer extends Message<CloseTimer> {
633
621
  auto: CloseTimerAuto;
634
622
 
635
623
  /**
636
- * @generated from field: streamlayer.interactive.CloseTimerTime time = 2;
624
+ * if seconds is zero, timer is disabled
625
+ *
626
+ * @generated from field: int32 seconds = 2;
637
627
  */
638
- time: CloseTimerTime;
628
+ seconds: number;
639
629
 
640
630
  constructor(data?: PartialMessage<CloseTimer>);
641
631
 
@@ -1342,6 +1332,11 @@ export declare class QuestionOptions_FactoidOptions extends Message<QuestionOpti
1342
1332
  */
1343
1333
  closeTimer?: CloseTimer;
1344
1334
 
1335
+ /**
1336
+ * @generated from field: optional streamlayer.interactive.AutoPlayVideo auto_play_video = 8;
1337
+ */
1338
+ autoPlayVideo?: AutoPlayVideo;
1339
+
1345
1340
  constructor(data?: PartialMessage<QuestionOptions_FactoidOptions>);
1346
1341
 
1347
1342
  static readonly runtime: typeof proto3;
@@ -2080,6 +2075,11 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
2080
2075
  */
2081
2076
  closeTimer?: CloseTimer;
2082
2077
 
2078
+ /**
2079
+ * @generated from field: optional streamlayer.interactive.AutoPlayVideo auto_play_video = 13;
2080
+ */
2081
+ autoPlayVideo?: AutoPlayVideo;
2082
+
2083
2083
  constructor(data?: PartialMessage<QuestionOptions_PromotionOptions>);
2084
2084
 
2085
2085
  static readonly runtime: typeof proto3;
@@ -243,18 +243,14 @@ export const CloseTimerAuto = /*@__PURE__*/ proto3.makeEnum(
243
243
  );
244
244
 
245
245
  /**
246
- * 5, 10, 15, 30
247
- *
248
- * @generated from enum streamlayer.interactive.CloseTimerTime
246
+ * @generated from enum streamlayer.interactive.AutoPlayVideo
249
247
  */
250
- export const CloseTimerTime = /*@__PURE__*/ proto3.makeEnum(
251
- "streamlayer.interactive.CloseTimerTime",
248
+ export const AutoPlayVideo = /*@__PURE__*/ proto3.makeEnum(
249
+ "streamlayer.interactive.AutoPlayVideo",
252
250
  [
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"},
251
+ {no: 0, name: "AUTO_PLAY_VIDEO_UNSET", localName: "UNSET"},
252
+ {no: 1, name: "AUTO_PLAY_VIDEO_ENABLED", localName: "ENABLED"},
253
+ {no: 2, name: "AUTO_PLAY_VIDEO_DISABLED", localName: "DISABLED"},
258
254
  ],
259
255
  );
260
256
 
@@ -331,7 +327,7 @@ export const CloseTimer = /*@__PURE__*/ proto3.makeMessageType(
331
327
  "streamlayer.interactive.CloseTimer",
332
328
  () => [
333
329
  { no: 1, name: "auto", kind: "enum", T: proto3.getEnumType(CloseTimerAuto) },
334
- { no: 2, name: "time", kind: "enum", T: proto3.getEnumType(CloseTimerTime) },
330
+ { no: 2, name: "seconds", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
335
331
  ],
336
332
  );
337
333
 
@@ -559,6 +555,7 @@ export const QuestionOptions_FactoidOptions = /*@__PURE__*/ proto3.makeMessageTy
559
555
  { no: 5, name: "image_mode", kind: "enum", T: proto3.getEnumType(QuestionImages) },
560
556
  { no: 6, name: "use_as_notification", kind: "enum", T: proto3.getEnumType(UseAsNotification) },
561
557
  { no: 7, name: "close_timer", kind: "message", T: CloseTimer, opt: true },
558
+ { no: 8, name: "auto_play_video", kind: "enum", T: proto3.getEnumType(AutoPlayVideo), opt: true },
562
559
  ],
563
560
  {localName: "QuestionOptions_FactoidOptions"},
564
561
  );
@@ -707,6 +704,7 @@ export const QuestionOptions_PromotionOptions = /*@__PURE__*/ proto3.makeMessage
707
704
  { no: 10, name: "button_type", kind: "enum", T: proto3.getEnumType(PromotionButtonType), opt: true },
708
705
  { no: 11, name: "ad_campaigns", kind: "message", T: QuestionOptions_AdCampaigns, opt: true },
709
706
  { no: 12, name: "close_timer", kind: "message", T: CloseTimer, opt: true },
707
+ { no: 13, name: "auto_play_video", kind: "enum", T: proto3.getEnumType(AutoPlayVideo), opt: true },
710
708
  ],
711
709
  {localName: "QuestionOptions_PromotionOptions"},
712
710
  );