@streamlayer/sl-eslib 5.92.0 → 5.94.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.92.0",
3
+ "version": "5.94.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -243,6 +243,31 @@ export declare enum PromotionWallet {
243
243
  DISABLED = 2,
244
244
  }
245
245
 
246
+ /**
247
+ * @generated from enum streamlayer.interactive.PromotionLogoMode
248
+ */
249
+ export declare enum PromotionLogoMode {
250
+ /**
251
+ * @generated from enum value: PROMOTION_LOGO_MODE_UNSET = 0;
252
+ */
253
+ UNSET = 0,
254
+
255
+ /**
256
+ * @generated from enum value: PROMOTION_LOGO_MODE_LEFT = 1;
257
+ */
258
+ LEFT = 1,
259
+
260
+ /**
261
+ * @generated from enum value: PROMOTION_LOGO_MODE_CENTER = 2;
262
+ */
263
+ CENTER = 2,
264
+
265
+ /**
266
+ * @generated from enum value: PROMOTION_LOGO_MODE_MINMAL = 3;
267
+ */
268
+ MINMAL = 3,
269
+ }
270
+
246
271
  /**
247
272
  * @generated from enum streamlayer.interactive.UseAsNotification
248
273
  */
@@ -498,6 +523,27 @@ export declare class QuestionNotification extends Message<QuestionNotification>
498
523
  */
499
524
  imageMode: QuestionImages;
500
525
 
526
+ /**
527
+ * for promotion
528
+ *
529
+ * @generated from field: optional string sponsor_logo = 7;
530
+ */
531
+ sponsorLogo?: string;
532
+
533
+ /**
534
+ * for promotion
535
+ *
536
+ * @generated from field: optional streamlayer.interactive.QuestionImages sponsor_logo_mode = 8;
537
+ */
538
+ sponsorLogoMode?: QuestionImages;
539
+
540
+ /**
541
+ * for promotion
542
+ *
543
+ * @generated from field: optional streamlayer.interactive.CTAButton cta_button = 9;
544
+ */
545
+ ctaButton?: CTAButton;
546
+
501
547
  constructor(data?: PartialMessage<QuestionNotification>);
502
548
 
503
549
  static readonly runtime: typeof proto3;
@@ -732,6 +778,11 @@ export declare class CTAButton extends Message<CTAButton> {
732
778
  */
733
779
  color: string;
734
780
 
781
+ /**
782
+ * @generated from field: optional string text_color = 3;
783
+ */
784
+ textColor?: string;
785
+
735
786
  constructor(data?: PartialMessage<CTAButton>);
736
787
 
737
788
  static readonly runtime: typeof proto3;
@@ -785,6 +836,11 @@ export declare class Banner extends Message<Banner> {
785
836
  */
786
837
  analyticsTopicSubType?: TopicSubType;
787
838
 
839
+ /**
840
+ * @generated from field: optional string title = 7;
841
+ */
842
+ title?: string;
843
+
788
844
  constructor(data?: PartialMessage<Banner>);
789
845
 
790
846
  static readonly runtime: typeof proto3;
@@ -1102,6 +1158,11 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
1102
1158
  */
1103
1159
  coupon: string;
1104
1160
 
1161
+ /**
1162
+ * @generated from field: streamlayer.interactive.PromotionLogoMode logo_mode = 7;
1163
+ */
1164
+ logoMode: PromotionLogoMode;
1165
+
1105
1166
  constructor(data?: PartialMessage<QuestionOptions_PromotionOptions>);
1106
1167
 
1107
1168
  static readonly runtime: typeof proto3;
@@ -126,6 +126,19 @@ export const PromotionWallet = proto3.makeEnum(
126
126
  ],
127
127
  );
128
128
 
129
+ /**
130
+ * @generated from enum streamlayer.interactive.PromotionLogoMode
131
+ */
132
+ export const PromotionLogoMode = proto3.makeEnum(
133
+ "streamlayer.interactive.PromotionLogoMode",
134
+ [
135
+ {no: 0, name: "PROMOTION_LOGO_MODE_UNSET", localName: "UNSET"},
136
+ {no: 1, name: "PROMOTION_LOGO_MODE_LEFT", localName: "LEFT"},
137
+ {no: 2, name: "PROMOTION_LOGO_MODE_CENTER", localName: "CENTER"},
138
+ {no: 3, name: "PROMOTION_LOGO_MODE_MINMAL", localName: "MINMAL"},
139
+ ],
140
+ );
141
+
129
142
  /**
130
143
  * @generated from enum streamlayer.interactive.UseAsNotification
131
144
  */
@@ -241,6 +254,9 @@ export const QuestionNotification = proto3.makeMessageType(
241
254
  { no: 4, name: "image_position", kind: "enum", T: proto3.getEnumType(ImagePosition) },
242
255
  { no: 5, name: "body", kind: "scalar", T: 9 /* ScalarType.STRING */ },
243
256
  { no: 6, name: "image_mode", kind: "enum", T: proto3.getEnumType(QuestionImages) },
257
+ { no: 7, name: "sponsor_logo", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
258
+ { no: 8, name: "sponsor_logo_mode", kind: "enum", T: proto3.getEnumType(QuestionImages), opt: true },
259
+ { no: 9, name: "cta_button", kind: "message", T: CTAButton, opt: true },
244
260
  ],
245
261
  );
246
262
 
@@ -318,6 +334,7 @@ export const CTAButton = proto3.makeMessageType(
318
334
  () => [
319
335
  { no: 1, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
320
336
  { no: 2, name: "color", kind: "scalar", T: 9 /* ScalarType.STRING */ },
337
+ { no: 3, name: "text_color", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
321
338
  ],
322
339
  );
323
340
 
@@ -333,6 +350,7 @@ export const Banner = proto3.makeMessageType(
333
350
  { no: 4, name: "video", kind: "message", T: FileLink },
334
351
  { no: 5, name: "body", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
335
352
  { no: 6, name: "analytics_topic_sub_type", kind: "enum", T: proto3.getEnumType(TopicSubType), opt: true },
353
+ { no: 7, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
336
354
  ],
337
355
  );
338
356
 
@@ -440,6 +458,7 @@ export const QuestionOptions_PromotionOptions = proto3.makeMessageType(
440
458
  { no: 4, name: "enable_wallet", kind: "enum", T: proto3.getEnumType(PromotionWallet) },
441
459
  { no: 5, name: "additional_banner", kind: "message", T: Banner },
442
460
  { no: 6, name: "coupon", kind: "scalar", T: 9 /* ScalarType.STRING */ },
461
+ { no: 7, name: "logo_mode", kind: "enum", T: proto3.getEnumType(PromotionLogoMode) },
443
462
  ],
444
463
  {localName: "QuestionOptions_PromotionOptions"},
445
464
  );