@streamlayer/sl-eslib 5.128.1 → 5.130.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.1",
3
+ "version": "5.130.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -5,7 +5,7 @@
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message, proto3 } from "@bufbuild/protobuf";
8
- import type { EventModeration, ExtendedQuestion, FileLink, Pagination, Question, QuestionImages, QuestionNotification, QuestionSkipReason, QuestionStatus, QuestionType, UseAsNotification, WebLink } from "../interactive.common_pb.js";
8
+ import type { AutoPlayVideo, CloseTimer, EventModeration, ExtendedQuestion, FileLink, Pagination, Question, QuestionImages, QuestionNotification, QuestionSkipReason, QuestionStatus, QuestionType, UseAsNotification, WebLink } from "../interactive.common_pb.js";
9
9
  import type { Tweet } from "../../social/twitter_pb.js";
10
10
 
11
11
  /**
@@ -1348,6 +1348,16 @@ export declare class InstantView extends Message<InstantView> {
1348
1348
  */
1349
1349
  imageMode: QuestionImages;
1350
1350
 
1351
+ /**
1352
+ * @generated from field: optional streamlayer.interactive.CloseTimer close_timer = 7;
1353
+ */
1354
+ closeTimer?: CloseTimer;
1355
+
1356
+ /**
1357
+ * @generated from field: optional streamlayer.interactive.AutoPlayVideo auto_play_video = 8;
1358
+ */
1359
+ autoPlayVideo?: AutoPlayVideo;
1360
+
1351
1361
  constructor(data?: PartialMessage<InstantView>);
1352
1362
 
1353
1363
  static readonly runtime: typeof proto3;
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import { proto3 } from "@bufbuild/protobuf";
7
- import { EventModeration, ExtendedQuestion, FileLink, Pagination, Question, QuestionImages, QuestionNotification, QuestionSkipReason, QuestionStatus, QuestionType, UseAsNotification, WebLink } from "../interactive.common_pb.js";
7
+ import { AutoPlayVideo, CloseTimer, EventModeration, ExtendedQuestion, FileLink, Pagination, Question, QuestionImages, QuestionNotification, QuestionSkipReason, QuestionStatus, QuestionType, UseAsNotification, WebLink } from "../interactive.common_pb.js";
8
8
  import { Tweet } from "../../social/twitter_pb.js";
9
9
 
10
10
  /**
@@ -529,6 +529,8 @@ export const InstantView = /*@__PURE__*/ proto3.makeMessageType(
529
529
  { no: 4, name: "video", kind: "message", T: FileLink, opt: true },
530
530
  { no: 5, name: "web_link", kind: "message", T: WebLink, opt: true },
531
531
  { no: 6, name: "image_mode", kind: "enum", T: proto3.getEnumType(QuestionImages) },
532
+ { no: 7, name: "close_timer", kind: "message", T: CloseTimer, opt: true },
533
+ { no: 8, name: "auto_play_video", kind: "enum", T: proto3.getEnumType(AutoPlayVideo), opt: true },
532
534
  ],
533
535
  );
534
536
 
@@ -463,6 +463,26 @@ export declare enum CloseTimerAuto {
463
463
  DISABLED = 2,
464
464
  }
465
465
 
466
+ /**
467
+ * @generated from enum streamlayer.interactive.AutoPlayVideo
468
+ */
469
+ export declare enum AutoPlayVideo {
470
+ /**
471
+ * @generated from enum value: AUTO_PLAY_VIDEO_UNSET = 0;
472
+ */
473
+ UNSET = 0,
474
+
475
+ /**
476
+ * @generated from enum value: AUTO_PLAY_VIDEO_ENABLED = 1;
477
+ */
478
+ ENABLED = 1,
479
+
480
+ /**
481
+ * @generated from enum value: AUTO_PLAY_VIDEO_DISABLED = 2;
482
+ */
483
+ DISABLED = 2,
484
+ }
485
+
466
486
  /**
467
487
  * @generated from enum streamlayer.interactive.QuestionAutoPostState
468
488
  */
@@ -1312,6 +1332,11 @@ export declare class QuestionOptions_FactoidOptions extends Message<QuestionOpti
1312
1332
  */
1313
1333
  closeTimer?: CloseTimer;
1314
1334
 
1335
+ /**
1336
+ * @generated from field: optional streamlayer.interactive.AutoPlayVideo auto_play_video = 8;
1337
+ */
1338
+ autoPlayVideo?: AutoPlayVideo;
1339
+
1315
1340
  constructor(data?: PartialMessage<QuestionOptions_FactoidOptions>);
1316
1341
 
1317
1342
  static readonly runtime: typeof proto3;
@@ -2050,6 +2075,11 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
2050
2075
  */
2051
2076
  closeTimer?: CloseTimer;
2052
2077
 
2078
+ /**
2079
+ * @generated from field: optional streamlayer.interactive.AutoPlayVideo auto_play_video = 13;
2080
+ */
2081
+ autoPlayVideo?: AutoPlayVideo;
2082
+
2053
2083
  constructor(data?: PartialMessage<QuestionOptions_PromotionOptions>);
2054
2084
 
2055
2085
  static readonly runtime: typeof proto3;
@@ -242,6 +242,18 @@ export const CloseTimerAuto = /*@__PURE__*/ proto3.makeEnum(
242
242
  ],
243
243
  );
244
244
 
245
+ /**
246
+ * @generated from enum streamlayer.interactive.AutoPlayVideo
247
+ */
248
+ export const AutoPlayVideo = /*@__PURE__*/ proto3.makeEnum(
249
+ "streamlayer.interactive.AutoPlayVideo",
250
+ [
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"},
254
+ ],
255
+ );
256
+
245
257
  /**
246
258
  * @generated from enum streamlayer.interactive.QuestionAutoPostState
247
259
  */
@@ -543,6 +555,7 @@ export const QuestionOptions_FactoidOptions = /*@__PURE__*/ proto3.makeMessageTy
543
555
  { no: 5, name: "image_mode", kind: "enum", T: proto3.getEnumType(QuestionImages) },
544
556
  { no: 6, name: "use_as_notification", kind: "enum", T: proto3.getEnumType(UseAsNotification) },
545
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 },
546
559
  ],
547
560
  {localName: "QuestionOptions_FactoidOptions"},
548
561
  );
@@ -691,6 +704,7 @@ export const QuestionOptions_PromotionOptions = /*@__PURE__*/ proto3.makeMessage
691
704
  { no: 10, name: "button_type", kind: "enum", T: proto3.getEnumType(PromotionButtonType), opt: true },
692
705
  { no: 11, name: "ad_campaigns", kind: "message", T: QuestionOptions_AdCampaigns, opt: true },
693
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 },
694
708
  ],
695
709
  {localName: "QuestionOptions_PromotionOptions"},
696
710
  );