@streamlayer/sl-eslib 5.95.0 → 5.96.1

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.95.0",
3
+ "version": "5.96.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,6 +32,143 @@ export declare enum WpType {
32
32
  WP_AND_FWP = 3,
33
33
  }
34
34
 
35
+ /**
36
+ * @generated from enum streamlayer.analytics.v2.studio.Utc
37
+ */
38
+ export declare enum Utc {
39
+ /**
40
+ * @generated from enum value: UTC_UNSET = 0;
41
+ */
42
+ UTC_UNSET = 0,
43
+
44
+ /**
45
+ * @generated from enum value: UTC_MINUS_1 = 1;
46
+ */
47
+ UTC_MINUS_1 = 1,
48
+
49
+ /**
50
+ * @generated from enum value: UTC_MINUS_2 = 2;
51
+ */
52
+ UTC_MINUS_2 = 2,
53
+
54
+ /**
55
+ * @generated from enum value: UTC_MINUS_3 = 3;
56
+ */
57
+ UTC_MINUS_3 = 3,
58
+
59
+ /**
60
+ * @generated from enum value: UTC_MINUS_4 = 4;
61
+ */
62
+ UTC_MINUS_4 = 4,
63
+
64
+ /**
65
+ * @generated from enum value: UTC_MINUS_5 = 5;
66
+ */
67
+ UTC_MINUS_5 = 5,
68
+
69
+ /**
70
+ * @generated from enum value: UTC_MINUS_6 = 6;
71
+ */
72
+ UTC_MINUS_6 = 6,
73
+
74
+ /**
75
+ * @generated from enum value: UTC_MINUS_7 = 7;
76
+ */
77
+ UTC_MINUS_7 = 7,
78
+
79
+ /**
80
+ * @generated from enum value: UTC_MINUS_8 = 8;
81
+ */
82
+ UTC_MINUS_8 = 8,
83
+
84
+ /**
85
+ * @generated from enum value: UTC_MINUS_9 = 9;
86
+ */
87
+ UTC_MINUS_9 = 9,
88
+
89
+ /**
90
+ * @generated from enum value: UTC_MINUS_10 = 10;
91
+ */
92
+ UTC_MINUS_10 = 10,
93
+
94
+ /**
95
+ * @generated from enum value: UTC_MINUS_11 = 11;
96
+ */
97
+ UTC_MINUS_11 = 11,
98
+
99
+ /**
100
+ * @generated from enum value: UTC_MINUS_12 = 12;
101
+ */
102
+ UTC_MINUS_12 = 12,
103
+
104
+ /**
105
+ * @generated from enum value: UTC_PLUS_1 = 13;
106
+ */
107
+ UTC_PLUS_1 = 13,
108
+
109
+ /**
110
+ * @generated from enum value: UTC_PLUS_2 = 14;
111
+ */
112
+ UTC_PLUS_2 = 14,
113
+
114
+ /**
115
+ * @generated from enum value: UTC_PLUS_3 = 15;
116
+ */
117
+ UTC_PLUS_3 = 15,
118
+
119
+ /**
120
+ * @generated from enum value: UTC_PLUS_4 = 16;
121
+ */
122
+ UTC_PLUS_4 = 16,
123
+
124
+ /**
125
+ * @generated from enum value: UTC_PLUS_5 = 17;
126
+ */
127
+ UTC_PLUS_5 = 17,
128
+
129
+ /**
130
+ * @generated from enum value: UTC_PLUS_6 = 18;
131
+ */
132
+ UTC_PLUS_6 = 18,
133
+
134
+ /**
135
+ * @generated from enum value: UTC_PLUS_7 = 19;
136
+ */
137
+ UTC_PLUS_7 = 19,
138
+
139
+ /**
140
+ * @generated from enum value: UTC_PLUS_8 = 20;
141
+ */
142
+ UTC_PLUS_8 = 20,
143
+
144
+ /**
145
+ * @generated from enum value: UTC_PLUS_9 = 21;
146
+ */
147
+ UTC_PLUS_9 = 21,
148
+
149
+ /**
150
+ * @generated from enum value: UTC_PLUS_10 = 22;
151
+ */
152
+ UTC_PLUS_10 = 22,
153
+
154
+ /**
155
+ * @generated from enum value: UTC_PLUS_11 = 23;
156
+ */
157
+ UTC_PLUS_11 = 23,
158
+
159
+ /**
160
+ * @generated from enum value: UTC_PLUS_12 = 24;
161
+ */
162
+ UTC_PLUS_12 = 24,
163
+
164
+ /**
165
+ * UTC0 (default)
166
+ *
167
+ * @generated from enum value: UTC_0 = 25;
168
+ */
169
+ UTC_0 = 25,
170
+ }
171
+
35
172
  /**
36
173
  * @generated from enum streamlayer.analytics.v2.studio.AggPeriod
37
174
  */
@@ -359,6 +496,11 @@ export declare class DashboardOverviewRequestFilter extends Message<DashboardOve
359
496
  */
360
497
  wpType?: WpType;
361
498
 
499
+ /**
500
+ * @generated from field: optional streamlayer.analytics.v2.studio.Utc utc = 9;
501
+ */
502
+ utc?: Utc;
503
+
362
504
  constructor(data?: PartialMessage<DashboardOverviewRequestFilter>);
363
505
 
364
506
  static readonly runtime: typeof proto3;
@@ -19,6 +19,41 @@ export const WpType = proto3.makeEnum(
19
19
  ],
20
20
  );
21
21
 
22
+ /**
23
+ * @generated from enum streamlayer.analytics.v2.studio.Utc
24
+ */
25
+ export const Utc = proto3.makeEnum(
26
+ "streamlayer.analytics.v2.studio.Utc",
27
+ [
28
+ {no: 0, name: "UTC_UNSET"},
29
+ {no: 1, name: "UTC_MINUS_1"},
30
+ {no: 2, name: "UTC_MINUS_2"},
31
+ {no: 3, name: "UTC_MINUS_3"},
32
+ {no: 4, name: "UTC_MINUS_4"},
33
+ {no: 5, name: "UTC_MINUS_5"},
34
+ {no: 6, name: "UTC_MINUS_6"},
35
+ {no: 7, name: "UTC_MINUS_7"},
36
+ {no: 8, name: "UTC_MINUS_8"},
37
+ {no: 9, name: "UTC_MINUS_9"},
38
+ {no: 10, name: "UTC_MINUS_10"},
39
+ {no: 11, name: "UTC_MINUS_11"},
40
+ {no: 12, name: "UTC_MINUS_12"},
41
+ {no: 13, name: "UTC_PLUS_1"},
42
+ {no: 14, name: "UTC_PLUS_2"},
43
+ {no: 15, name: "UTC_PLUS_3"},
44
+ {no: 16, name: "UTC_PLUS_4"},
45
+ {no: 17, name: "UTC_PLUS_5"},
46
+ {no: 18, name: "UTC_PLUS_6"},
47
+ {no: 19, name: "UTC_PLUS_7"},
48
+ {no: 20, name: "UTC_PLUS_8"},
49
+ {no: 21, name: "UTC_PLUS_9"},
50
+ {no: 22, name: "UTC_PLUS_10"},
51
+ {no: 23, name: "UTC_PLUS_11"},
52
+ {no: 24, name: "UTC_PLUS_12"},
53
+ {no: 25, name: "UTC_0"},
54
+ ],
55
+ );
56
+
22
57
  /**
23
58
  * @generated from enum streamlayer.analytics.v2.studio.AggPeriod
24
59
  */
@@ -95,6 +130,7 @@ export const DashboardOverviewRequestFilter = proto3.makeMessageType(
95
130
  { no: 6, name: "live_metrics", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
96
131
  { no: 7, name: "fwp", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
97
132
  { no: 8, name: "wp_type", kind: "enum", T: proto3.getEnumType(WpType), opt: true },
133
+ { no: 9, name: "utc", kind: "enum", T: proto3.getEnumType(Utc), opt: true },
98
134
  ],
99
135
  );
100
136
 
@@ -168,6 +168,56 @@ export declare enum QuestionImages {
168
168
  CENTERED = 4,
169
169
  }
170
170
 
171
+ /**
172
+ * @generated from enum streamlayer.interactive.NotificationPromotionImagePozition
173
+ */
174
+ export declare enum NotificationPromotionImagePozition {
175
+ /**
176
+ * @generated from enum value: NOTIFICATION_PROMOTION_IMAGE_POZITION_UNSET = 0;
177
+ */
178
+ UNSET = 0,
179
+
180
+ /**
181
+ * @generated from enum value: NOTIFICATION_PROMOTION_IMAGE_POZITION_INSIDE = 1;
182
+ */
183
+ INSIDE = 1,
184
+
185
+ /**
186
+ * @generated from enum value: NOTIFICATION_PROMOTION_IMAGE_POZITION_OUTSIDE_CENTER = 2;
187
+ */
188
+ OUTSIDE_CENTER = 2,
189
+
190
+ /**
191
+ * @generated from enum value: NOTIFICATION_PROMOTION_IMAGE_POZITION_OUTSIDE_BOTTOM = 3;
192
+ */
193
+ OUTSIDE_BOTTOM = 3,
194
+
195
+ /**
196
+ * @generated from enum value: NOTIFICATION_PROMOTION_IMAGE_POZITION_FILL = 4;
197
+ */
198
+ FILL = 4,
199
+ }
200
+
201
+ /**
202
+ * @generated from enum streamlayer.interactive.NotificationSponsorLogoPosition
203
+ */
204
+ export declare enum NotificationSponsorLogoPosition {
205
+ /**
206
+ * @generated from enum value: NOTIFICATION_SPONSOR_LOGO_POSITION_UNSET = 0;
207
+ */
208
+ UNSET = 0,
209
+
210
+ /**
211
+ * @generated from enum value: NOTIFICATION_SPONSOR_LOGO_POSITION_INSIDE = 1;
212
+ */
213
+ INSIDE = 1,
214
+
215
+ /**
216
+ * @generated from enum value: NOTIFICATION_SPONSOR_LOGO_POSITION_OUTSIDE = 2;
217
+ */
218
+ OUTSIDE = 2,
219
+ }
220
+
171
221
  /**
172
222
  * @generated from enum streamlayer.interactive.ImagePosition
173
223
  */
@@ -489,6 +539,45 @@ export declare class Sponsorship extends Message<Sponsorship> {
489
539
  static equals(a: Sponsorship | PlainMessage<Sponsorship> | undefined, b: Sponsorship | PlainMessage<Sponsorship> | undefined): boolean;
490
540
  }
491
541
 
542
+ /**
543
+ * @generated from message streamlayer.interactive.PromotionNotification
544
+ */
545
+ export declare class PromotionNotification extends Message<PromotionNotification> {
546
+ /**
547
+ * @generated from field: string sponsor_logo = 1;
548
+ */
549
+ sponsorLogo: string;
550
+
551
+ /**
552
+ * @generated from field: streamlayer.interactive.NotificationSponsorLogoPosition sponsor_logo_position = 2;
553
+ */
554
+ sponsorLogoPosition: NotificationSponsorLogoPosition;
555
+
556
+ /**
557
+ * @generated from field: streamlayer.interactive.CTAButton cta_button = 3;
558
+ */
559
+ ctaButton?: CTAButton;
560
+
561
+ /**
562
+ * @generated from field: streamlayer.interactive.NotificationPromotionImagePozition image_pozition = 4;
563
+ */
564
+ imagePozition: NotificationPromotionImagePozition;
565
+
566
+ constructor(data?: PartialMessage<PromotionNotification>);
567
+
568
+ static readonly runtime: typeof proto3;
569
+ static readonly typeName = "streamlayer.interactive.PromotionNotification";
570
+ static readonly fields: FieldList;
571
+
572
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PromotionNotification;
573
+
574
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PromotionNotification;
575
+
576
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PromotionNotification;
577
+
578
+ static equals(a: PromotionNotification | PlainMessage<PromotionNotification> | undefined, b: PromotionNotification | PlainMessage<PromotionNotification> | undefined): boolean;
579
+ }
580
+
492
581
  /**
493
582
  * @generated from message streamlayer.interactive.QuestionNotification
494
583
  */
@@ -524,25 +613,9 @@ export declare class QuestionNotification extends Message<QuestionNotification>
524
613
  imageMode: QuestionImages;
525
614
 
526
615
  /**
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;
616
+ * @generated from field: streamlayer.interactive.PromotionNotification promotion = 7;
544
617
  */
545
- ctaButton?: CTAButton;
618
+ promotion?: PromotionNotification;
546
619
 
547
620
  constructor(data?: PartialMessage<QuestionNotification>);
548
621
 
@@ -87,6 +87,32 @@ export const QuestionImages = proto3.makeEnum(
87
87
  ],
88
88
  );
89
89
 
90
+ /**
91
+ * @generated from enum streamlayer.interactive.NotificationPromotionImagePozition
92
+ */
93
+ export const NotificationPromotionImagePozition = proto3.makeEnum(
94
+ "streamlayer.interactive.NotificationPromotionImagePozition",
95
+ [
96
+ {no: 0, name: "NOTIFICATION_PROMOTION_IMAGE_POZITION_UNSET", localName: "UNSET"},
97
+ {no: 1, name: "NOTIFICATION_PROMOTION_IMAGE_POZITION_INSIDE", localName: "INSIDE"},
98
+ {no: 2, name: "NOTIFICATION_PROMOTION_IMAGE_POZITION_OUTSIDE_CENTER", localName: "OUTSIDE_CENTER"},
99
+ {no: 3, name: "NOTIFICATION_PROMOTION_IMAGE_POZITION_OUTSIDE_BOTTOM", localName: "OUTSIDE_BOTTOM"},
100
+ {no: 4, name: "NOTIFICATION_PROMOTION_IMAGE_POZITION_FILL", localName: "FILL"},
101
+ ],
102
+ );
103
+
104
+ /**
105
+ * @generated from enum streamlayer.interactive.NotificationSponsorLogoPosition
106
+ */
107
+ export const NotificationSponsorLogoPosition = proto3.makeEnum(
108
+ "streamlayer.interactive.NotificationSponsorLogoPosition",
109
+ [
110
+ {no: 0, name: "NOTIFICATION_SPONSOR_LOGO_POSITION_UNSET", localName: "UNSET"},
111
+ {no: 1, name: "NOTIFICATION_SPONSOR_LOGO_POSITION_INSIDE", localName: "INSIDE"},
112
+ {no: 2, name: "NOTIFICATION_SPONSOR_LOGO_POSITION_OUTSIDE", localName: "OUTSIDE"},
113
+ ],
114
+ );
115
+
90
116
  /**
91
117
  * @generated from enum streamlayer.interactive.ImagePosition
92
118
  */
@@ -242,6 +268,19 @@ export const Sponsorship = proto3.makeMessageType(
242
268
  ],
243
269
  );
244
270
 
271
+ /**
272
+ * @generated from message streamlayer.interactive.PromotionNotification
273
+ */
274
+ export const PromotionNotification = proto3.makeMessageType(
275
+ "streamlayer.interactive.PromotionNotification",
276
+ () => [
277
+ { no: 1, name: "sponsor_logo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
278
+ { no: 2, name: "sponsor_logo_position", kind: "enum", T: proto3.getEnumType(NotificationSponsorLogoPosition) },
279
+ { no: 3, name: "cta_button", kind: "message", T: CTAButton },
280
+ { no: 4, name: "image_pozition", kind: "enum", T: proto3.getEnumType(NotificationPromotionImagePozition) },
281
+ ],
282
+ );
283
+
245
284
  /**
246
285
  * @generated from message streamlayer.interactive.QuestionNotification
247
286
  */
@@ -254,9 +293,7 @@ export const QuestionNotification = proto3.makeMessageType(
254
293
  { no: 4, name: "image_position", kind: "enum", T: proto3.getEnumType(ImagePosition) },
255
294
  { no: 5, name: "body", kind: "scalar", T: 9 /* ScalarType.STRING */ },
256
295
  { 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 },
296
+ { no: 7, name: "promotion", kind: "message", T: PromotionNotification },
260
297
  ],
261
298
  );
262
299