@streamlayer/sl-eslib 5.92.0 → 5.93.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.93.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
  */
@@ -732,6 +757,11 @@ export declare class CTAButton extends Message<CTAButton> {
732
757
  */
733
758
  color: string;
734
759
 
760
+ /**
761
+ * @generated from field: optional string text_color = 3;
762
+ */
763
+ textColor?: string;
764
+
735
765
  constructor(data?: PartialMessage<CTAButton>);
736
766
 
737
767
  static readonly runtime: typeof proto3;
@@ -785,6 +815,11 @@ export declare class Banner extends Message<Banner> {
785
815
  */
786
816
  analyticsTopicSubType?: TopicSubType;
787
817
 
818
+ /**
819
+ * @generated from field: optional string title = 7;
820
+ */
821
+ title?: string;
822
+
788
823
  constructor(data?: PartialMessage<Banner>);
789
824
 
790
825
  static readonly runtime: typeof proto3;
@@ -1102,6 +1137,11 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
1102
1137
  */
1103
1138
  coupon: string;
1104
1139
 
1140
+ /**
1141
+ * @generated from field: streamlayer.interactive.PromotionLogoMode logo_mode = 7;
1142
+ */
1143
+ logoMode: PromotionLogoMode;
1144
+
1105
1145
  constructor(data?: PartialMessage<QuestionOptions_PromotionOptions>);
1106
1146
 
1107
1147
  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
  */
@@ -318,6 +331,7 @@ export const CTAButton = proto3.makeMessageType(
318
331
  () => [
319
332
  { no: 1, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
320
333
  { no: 2, name: "color", kind: "scalar", T: 9 /* ScalarType.STRING */ },
334
+ { no: 3, name: "text_color", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
321
335
  ],
322
336
  );
323
337
 
@@ -333,6 +347,7 @@ export const Banner = proto3.makeMessageType(
333
347
  { no: 4, name: "video", kind: "message", T: FileLink },
334
348
  { no: 5, name: "body", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
335
349
  { no: 6, name: "analytics_topic_sub_type", kind: "enum", T: proto3.getEnumType(TopicSubType), opt: true },
350
+ { no: 7, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
336
351
  ],
337
352
  );
338
353
 
@@ -440,6 +455,7 @@ export const QuestionOptions_PromotionOptions = proto3.makeMessageType(
440
455
  { no: 4, name: "enable_wallet", kind: "enum", T: proto3.getEnumType(PromotionWallet) },
441
456
  { no: 5, name: "additional_banner", kind: "message", T: Banner },
442
457
  { no: 6, name: "coupon", kind: "scalar", T: 9 /* ScalarType.STRING */ },
458
+ { no: 7, name: "logo_mode", kind: "enum", T: proto3.getEnumType(PromotionLogoMode) },
443
459
  ],
444
460
  {localName: "QuestionOptions_PromotionOptions"},
445
461
  );