@streamlayer/sl-eslib 5.100.2 → 5.102.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
|
@@ -181,6 +181,16 @@ export declare enum NotificationPromotionMode {
|
|
|
181
181
|
* @generated from enum value: NOTIFICATION_PROMOTION_MODE_CLASSIC = 1;
|
|
182
182
|
*/
|
|
183
183
|
CLASSIC = 1,
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* @generated from enum value: NOTIFICATION_PROMOTION_MODE_LOWER_THIRD = 2;
|
|
187
|
+
*/
|
|
188
|
+
LOWER_THIRD = 2,
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* @generated from enum value: NOTIFICATION_PROMOTION_MODE_RICH_NOTIFICATION = 3;
|
|
192
|
+
*/
|
|
193
|
+
RICH_NOTIFICATION = 3,
|
|
184
194
|
}
|
|
185
195
|
|
|
186
196
|
/**
|
|
@@ -358,6 +368,26 @@ export declare enum UseAsNotification {
|
|
|
358
368
|
DISABLED = 2,
|
|
359
369
|
}
|
|
360
370
|
|
|
371
|
+
/**
|
|
372
|
+
* @generated from enum streamlayer.interactive.NotificationEnabled
|
|
373
|
+
*/
|
|
374
|
+
export declare enum NotificationEnabled {
|
|
375
|
+
/**
|
|
376
|
+
* @generated from enum value: NOTIFICATION_ENABLED_UNSET = 0;
|
|
377
|
+
*/
|
|
378
|
+
NOTIFICATION_ENABLED_UNSET = 0,
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* @generated from enum value: NOTIFICATION_ENABLED = 1;
|
|
382
|
+
*/
|
|
383
|
+
NOTIFICATION_ENABLED = 1,
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* @generated from enum value: NOTIFICATION_DISABLED = 2;
|
|
387
|
+
*/
|
|
388
|
+
NOTIFICATION_DISABLED = 2,
|
|
389
|
+
}
|
|
390
|
+
|
|
361
391
|
/**
|
|
362
392
|
* @generated from enum streamlayer.interactive.QuestionAutoPostState
|
|
363
393
|
*/
|
|
@@ -588,6 +618,23 @@ export declare class PromotionNotification extends Message<PromotionNotification
|
|
|
588
618
|
*/
|
|
589
619
|
mode: NotificationPromotionMode;
|
|
590
620
|
|
|
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
|
+
|
|
591
638
|
constructor(data?: PartialMessage<PromotionNotification>);
|
|
592
639
|
|
|
593
640
|
static readonly runtime: typeof proto3;
|
|
@@ -642,6 +689,11 @@ export declare class QuestionNotification extends Message<QuestionNotification>
|
|
|
642
689
|
*/
|
|
643
690
|
promotion?: PromotionNotification;
|
|
644
691
|
|
|
692
|
+
/**
|
|
693
|
+
* @generated from field: streamlayer.interactive.NotificationEnabled enabled = 8;
|
|
694
|
+
*/
|
|
695
|
+
enabled: NotificationEnabled;
|
|
696
|
+
|
|
645
697
|
constructor(data?: PartialMessage<QuestionNotification>);
|
|
646
698
|
|
|
647
699
|
static readonly runtime: typeof proto3;
|
|
@@ -95,6 +95,8 @@ export const NotificationPromotionMode = /*@__PURE__*/ proto3.makeEnum(
|
|
|
95
95
|
[
|
|
96
96
|
{no: 0, name: "NOTIFICATION_PROMOTION_MODE_UNSET", localName: "UNSET"},
|
|
97
97
|
{no: 1, name: "NOTIFICATION_PROMOTION_MODE_CLASSIC", localName: "CLASSIC"},
|
|
98
|
+
{no: 2, name: "NOTIFICATION_PROMOTION_MODE_LOWER_THIRD", localName: "LOWER_THIRD"},
|
|
99
|
+
{no: 3, name: "NOTIFICATION_PROMOTION_MODE_RICH_NOTIFICATION", localName: "RICH_NOTIFICATION"},
|
|
98
100
|
],
|
|
99
101
|
);
|
|
100
102
|
|
|
@@ -189,6 +191,18 @@ export const UseAsNotification = /*@__PURE__*/ proto3.makeEnum(
|
|
|
189
191
|
],
|
|
190
192
|
);
|
|
191
193
|
|
|
194
|
+
/**
|
|
195
|
+
* @generated from enum streamlayer.interactive.NotificationEnabled
|
|
196
|
+
*/
|
|
197
|
+
export const NotificationEnabled = /*@__PURE__*/ proto3.makeEnum(
|
|
198
|
+
"streamlayer.interactive.NotificationEnabled",
|
|
199
|
+
[
|
|
200
|
+
{no: 0, name: "NOTIFICATION_ENABLED_UNSET"},
|
|
201
|
+
{no: 1, name: "NOTIFICATION_ENABLED"},
|
|
202
|
+
{no: 2, name: "NOTIFICATION_DISABLED"},
|
|
203
|
+
],
|
|
204
|
+
);
|
|
205
|
+
|
|
192
206
|
/**
|
|
193
207
|
* @generated from enum streamlayer.interactive.QuestionAutoPostState
|
|
194
208
|
*/
|
|
@@ -291,6 +305,9 @@ export const PromotionNotification = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
291
305
|
{ no: 3, name: "cta_button", kind: "message", T: CTAButton },
|
|
292
306
|
{ no: 4, name: "image_position", kind: "enum", T: proto3.getEnumType(NotificationPromotionImagePosition) },
|
|
293
307
|
{ 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 },
|
|
294
311
|
],
|
|
295
312
|
);
|
|
296
313
|
|
|
@@ -307,6 +324,7 @@ export const QuestionNotification = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
307
324
|
{ no: 5, name: "body", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
308
325
|
{ no: 6, name: "image_mode", kind: "enum", T: proto3.getEnumType(QuestionImages) },
|
|
309
326
|
{ no: 7, name: "promotion", kind: "message", T: PromotionNotification },
|
|
327
|
+
{ no: 8, name: "enabled", kind: "enum", T: proto3.getEnumType(NotificationEnabled) },
|
|
310
328
|
],
|
|
311
329
|
);
|
|
312
330
|
|