@streamlayer/sl-eslib 5.102.0 → 5.103.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.102.0",
3
+ "version": "5.103.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -248,6 +248,26 @@ export declare enum NotificationSponsorLogoMode {
248
248
  NOTIFICATION_SPONSOR_LOGO_TRANSPARENT = 2,
249
249
  }
250
250
 
251
+ /**
252
+ * @generated from enum streamlayer.interactive.CtaIconMode
253
+ */
254
+ export declare enum CtaIconMode {
255
+ /**
256
+ * @generated from enum value: CTA_ICON_UNSET = 0;
257
+ */
258
+ CTA_ICON_UNSET = 0,
259
+
260
+ /**
261
+ * @generated from enum value: CTA_ICON_NONE = 1;
262
+ */
263
+ CTA_ICON_NONE = 1,
264
+
265
+ /**
266
+ * @generated from enum value: CTA_ICON_TRANSPARENT = 2;
267
+ */
268
+ CTA_ICON_TRANSPARENT = 2,
269
+ }
270
+
251
271
  /**
252
272
  * @generated from enum streamlayer.interactive.ImagePosition
253
273
  */
@@ -618,23 +638,6 @@ export declare class PromotionNotification extends Message<PromotionNotification
618
638
  */
619
639
  mode: NotificationPromotionMode;
620
640
 
621
- /**
622
- * LowerThirdNotification & RichNotification optional fields
623
- *
624
- * @generated from field: optional string title = 6;
625
- */
626
- title?: string;
627
-
628
- /**
629
- * @generated from field: optional string description = 7;
630
- */
631
- description?: string;
632
-
633
- /**
634
- * @generated from field: optional string image_url = 8;
635
- */
636
- imageUrl?: string;
637
-
638
641
  constructor(data?: PartialMessage<PromotionNotification>);
639
642
 
640
643
  static readonly runtime: typeof proto3;
@@ -933,6 +936,16 @@ export declare class CTAButton extends Message<CTAButton> {
933
936
  */
934
937
  textColor?: string;
935
938
 
939
+ /**
940
+ * @generated from field: string cta_icon = 4;
941
+ */
942
+ ctaIcon: string;
943
+
944
+ /**
945
+ * @generated from field: streamlayer.interactive.CtaIconMode cta_icon_mode = 5;
946
+ */
947
+ ctaIconMode: CtaIconMode;
948
+
936
949
  constructor(data?: PartialMessage<CTAButton>);
937
950
 
938
951
  static readonly runtime: typeof proto3;
@@ -127,6 +127,18 @@ export const NotificationSponsorLogoMode = /*@__PURE__*/ proto3.makeEnum(
127
127
  ],
128
128
  );
129
129
 
130
+ /**
131
+ * @generated from enum streamlayer.interactive.CtaIconMode
132
+ */
133
+ export const CtaIconMode = /*@__PURE__*/ proto3.makeEnum(
134
+ "streamlayer.interactive.CtaIconMode",
135
+ [
136
+ {no: 0, name: "CTA_ICON_UNSET"},
137
+ {no: 1, name: "CTA_ICON_NONE"},
138
+ {no: 2, name: "CTA_ICON_TRANSPARENT"},
139
+ ],
140
+ );
141
+
130
142
  /**
131
143
  * @generated from enum streamlayer.interactive.ImagePosition
132
144
  */
@@ -305,9 +317,6 @@ export const PromotionNotification = /*@__PURE__*/ proto3.makeMessageType(
305
317
  { no: 3, name: "cta_button", kind: "message", T: CTAButton },
306
318
  { no: 4, name: "image_position", kind: "enum", T: proto3.getEnumType(NotificationPromotionImagePosition) },
307
319
  { no: 5, name: "mode", kind: "enum", T: proto3.getEnumType(NotificationPromotionMode) },
308
- { no: 6, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
309
- { no: 7, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
310
- { no: 8, name: "image_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
311
320
  ],
312
321
  );
313
322
 
@@ -403,6 +412,8 @@ export const CTAButton = /*@__PURE__*/ proto3.makeMessageType(
403
412
  { no: 1, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
404
413
  { no: 2, name: "color", kind: "scalar", T: 9 /* ScalarType.STRING */ },
405
414
  { no: 3, name: "text_color", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
415
+ { no: 4, name: "cta_icon", kind: "scalar", T: 9 /* ScalarType.STRING */ },
416
+ { no: 5, name: "cta_icon_mode", kind: "enum", T: proto3.getEnumType(CtaIconMode) },
406
417
  ],
407
418
  );
408
419