@streamlayer/sl-eslib 5.88.1 → 5.89.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.88.1",
3
+ "version": "5.89.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -0,0 +1,47 @@
1
+ // @generated by protoc-gen-es v1.6.0 with parameter "target=js+dts"
2
+ // @generated from file streamlayer/analytics/v2/common/analytics.common.proto (package streamlayer.analytics.v2.common, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
+ import { Message, proto3 } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from message streamlayer.analytics.v2.common.CardStatistics
11
+ */
12
+ export declare class CardStatistics extends Message<CardStatistics> {
13
+ /**
14
+ * @generated from field: int32 total = 1;
15
+ */
16
+ total: number;
17
+
18
+ /**
19
+ * @generated from field: int32 viewed = 2;
20
+ */
21
+ viewed: number;
22
+
23
+ /**
24
+ * @generated from field: int32 opened = 3;
25
+ */
26
+ opened: number;
27
+
28
+ /**
29
+ * @generated from field: int32 answered = 4;
30
+ */
31
+ answered: number;
32
+
33
+ constructor(data?: PartialMessage<CardStatistics>);
34
+
35
+ static readonly runtime: typeof proto3;
36
+ static readonly typeName = "streamlayer.analytics.v2.common.CardStatistics";
37
+ static readonly fields: FieldList;
38
+
39
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CardStatistics;
40
+
41
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CardStatistics;
42
+
43
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CardStatistics;
44
+
45
+ static equals(a: CardStatistics | PlainMessage<CardStatistics> | undefined, b: CardStatistics | PlainMessage<CardStatistics> | undefined): boolean;
46
+ }
47
+
@@ -0,0 +1,20 @@
1
+ // @generated by protoc-gen-es v1.6.0 with parameter "target=js+dts"
2
+ // @generated from file streamlayer/analytics/v2/common/analytics.common.proto (package streamlayer.analytics.v2.common, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { proto3 } from "@bufbuild/protobuf";
7
+
8
+ /**
9
+ * @generated from message streamlayer.analytics.v2.common.CardStatistics
10
+ */
11
+ export const CardStatistics = proto3.makeMessageType(
12
+ "streamlayer.analytics.v2.common.CardStatistics",
13
+ () => [
14
+ { no: 1, name: "total", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
15
+ { no: 2, name: "viewed", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
16
+ { no: 3, name: "opened", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
17
+ { no: 4, name: "answered", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
18
+ ],
19
+ );
20
+
@@ -6,6 +6,27 @@
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message, proto3 } from "@bufbuild/protobuf";
8
8
  import type { Period, TopicType } from "../../v1/common/analytics.common_pb.js";
9
+ import type { CardStatistics } from "../common/analytics.common_pb.js";
10
+
11
+ /**
12
+ * @generated from enum streamlayer.analytics.v2.studio.WpType
13
+ */
14
+ export declare enum WpType {
15
+ /**
16
+ * @generated from enum value: WP_TYPE_UNSET = 0;
17
+ */
18
+ UNSET = 0,
19
+
20
+ /**
21
+ * @generated from enum value: WP_TYPE_WP = 1;
22
+ */
23
+ WP = 1,
24
+
25
+ /**
26
+ * @generated from enum value: WP_TYPE_FWP = 2;
27
+ */
28
+ FWP = 2,
29
+ }
9
30
 
10
31
  /**
11
32
  * @generated from enum streamlayer.analytics.v2.studio.AggPeriod
@@ -115,7 +136,7 @@ export declare class DashboardOverviewResponseData extends Message<DashboardOver
115
136
  interactionsPerEngagedUser: number;
116
137
 
117
138
  /**
118
- * WP metrics
139
+ * WP/FWP metrics
119
140
  *
120
141
  * Total Watch Parties Started (EMetric.TotalWpStarted)
121
142
  *
@@ -230,105 +251,6 @@ export declare class DashboardOverviewResponseData extends Message<DashboardOver
230
251
  */
231
252
  totalUsersStartedWp: number;
232
253
 
233
- /**
234
- * FWP metrics
235
- *
236
- * Total Users Engaged with FWP chat (w/o using consecutive Sessions)
237
- *
238
- * @generated from field: int32 total_fwp_chat_participants = 30;
239
- */
240
- totalFwpChatParticipants: number;
241
-
242
- /**
243
- * --- FWP room (chat + WP) ---
244
- *
245
- * [28. Total time spent in Fantasy League Rooms (h)] (totalTimeSpentInFantasyRooms)
246
- *
247
- * @generated from field: int32 total_users_engaged_with_fwp_room = 31;
248
- */
249
- totalUsersEngagedWithFwpRoom: number;
250
-
251
- /**
252
- * [29. Average time spent in Fantasy League room per Viewer (min)] // Average Minutes at FWP2+ (active FWP) room
253
- *
254
- * @generated from field: double avg_active_fwp_room_session_duration = 32;
255
- */
256
- avgActiveFwpRoomSessionDuration: number;
257
-
258
- /**
259
- * --- FWP WP ---
260
- *
261
- * Total Fantasy Watch Parties Started
262
- *
263
- * @generated from field: int32 total_fwp_started = 33;
264
- */
265
- totalFwpStarted: number;
266
-
267
- /**
268
- * EMetric.TotalActiveFwps
269
- *
270
- * @generated from field: int32 active_fwps = 34;
271
- */
272
- activeFwps: number;
273
-
274
- /**
275
- * EMetric.TotalUsersEngagedWithFwp2plus
276
- *
277
- * @generated from field: int32 users_engaged_with_active_fwp = 35;
278
- */
279
- usersEngagedWithActiveFwp: number;
280
-
281
- /**
282
- * EMetric.AvgParticipantsFwp2plus
283
- *
284
- * @generated from field: double avg_users_active_fwp = 36;
285
- */
286
- avgUsersActiveFwp: number;
287
-
288
- /**
289
- * Total minutes in FWP 2+ with X Participants
290
- *
291
- * totalMinFwp2Users (EMetric.TotalMinInFwp2plus2participants)
292
- *
293
- * @generated from field: double total_min_fwp2_users = 37;
294
- */
295
- totalMinFwp2Users: number;
296
-
297
- /**
298
- * @generated from field: double total_min_fwp3_users = 38;
299
- */
300
- totalMinFwp3Users: number;
301
-
302
- /**
303
- * @generated from field: double total_min_fwp4_users = 39;
304
- */
305
- totalMinFwp4Users: number;
306
-
307
- /**
308
- * @generated from field: double total_min_fwp5_users = 40;
309
- */
310
- totalMinFwp5Users: number;
311
-
312
- /**
313
- * @generated from field: double total_min_fwp6_users = 41;
314
- */
315
- totalMinFwp6Users: number;
316
-
317
- /**
318
- * @generated from field: double total_min_fwp7_users = 42;
319
- */
320
- totalMinFwp7Users: number;
321
-
322
- /**
323
- * @generated from field: double total_min_fwp8_users = 43;
324
- */
325
- totalMinFwp8Users: number;
326
-
327
- /**
328
- * @generated from field: double total_min_fwp9_users = 44;
329
- */
330
- totalMinFwp9Users: number;
331
-
332
254
  constructor(data?: PartialMessage<DashboardOverviewResponseData>);
333
255
 
334
256
  static readonly runtime: typeof proto3;
@@ -349,9 +271,9 @@ export declare class DashboardOverviewResponseData extends Message<DashboardOver
349
271
  */
350
272
  export declare class DashboardOverviewRequestFilter extends Message<DashboardOverviewRequestFilter> {
351
273
  /**
352
- * @generated from field: string organization_id = 1;
274
+ * @generated from field: optional string organization_id = 1;
353
275
  */
354
- organizationId: string;
276
+ organizationId?: string;
355
277
 
356
278
  /**
357
279
  * @generated from field: repeated uint64 event_ids = 2;
@@ -364,9 +286,9 @@ export declare class DashboardOverviewRequestFilter extends Message<DashboardOve
364
286
  period?: Period;
365
287
 
366
288
  /**
367
- * @generated from field: string date = 4;
289
+ * @generated from field: optional string date = 4;
368
290
  */
369
- date: string;
291
+ date?: string;
370
292
 
371
293
  /**
372
294
  * @generated from field: repeated string countries = 5;
@@ -374,14 +296,20 @@ export declare class DashboardOverviewRequestFilter extends Message<DashboardOve
374
296
  countries: string[];
375
297
 
376
298
  /**
377
- * @generated from field: bool live_metrics = 6;
299
+ * @generated from field: optional bool live_metrics = 6;
300
+ */
301
+ liveMetrics?: boolean;
302
+
303
+ /**
304
+ * @generated from field: optional bool fwp = 7 [deprecated = true];
305
+ * @deprecated
378
306
  */
379
- liveMetrics: boolean;
307
+ fwp?: boolean;
380
308
 
381
309
  /**
382
- * @generated from field: bool fwp = 7;
310
+ * @generated from field: optional streamlayer.analytics.v2.studio.WpType wp_type = 8;
383
311
  */
384
- fwp: boolean;
312
+ wpType?: WpType;
385
313
 
386
314
  constructor(data?: PartialMessage<DashboardOverviewRequestFilter>);
387
315
 
@@ -475,9 +403,9 @@ export declare class DashboardOverviewResponse_DashboardOverviewResponseMeta ext
475
403
  */
476
404
  export declare class FeaturedGroupsRequestFilter extends Message<FeaturedGroupsRequestFilter> {
477
405
  /**
478
- * @generated from field: string organization_id = 1;
406
+ * @generated from field: optional string organization_id = 1;
479
407
  */
480
- organizationId: string;
408
+ organizationId?: string;
481
409
 
482
410
  /**
483
411
  * @generated from field: repeated uint64 event_ids = 2;
@@ -562,6 +490,41 @@ export declare class FeaturedGroupsResponseData extends Message<FeaturedGroupsRe
562
490
  */
563
491
  averagePromptsOpenedPerEngagedViewer: number;
564
492
 
493
+ /**
494
+ * @generated from field: int32 total_prompts_opened = 7;
495
+ */
496
+ totalPromptsOpened: number;
497
+
498
+ /**
499
+ * @generated from field: int32 total_interactions = 8;
500
+ */
501
+ totalInteractions: number;
502
+
503
+ /**
504
+ * @generated from field: streamlayer.analytics.v2.common.CardStatistics poll_card = 9;
505
+ */
506
+ pollCard?: CardStatistics;
507
+
508
+ /**
509
+ * @generated from field: streamlayer.analytics.v2.common.CardStatistics trivia_card = 10;
510
+ */
511
+ triviaCard?: CardStatistics;
512
+
513
+ /**
514
+ * @generated from field: streamlayer.analytics.v2.common.CardStatistics prediction_card = 11;
515
+ */
516
+ predictionCard?: CardStatistics;
517
+
518
+ /**
519
+ * @generated from field: streamlayer.analytics.v2.common.CardStatistics factoid_card = 12;
520
+ */
521
+ factoidCard?: CardStatistics;
522
+
523
+ /**
524
+ * @generated from field: streamlayer.analytics.v2.common.CardStatistics twitter_card = 13;
525
+ */
526
+ twitterCard?: CardStatistics;
527
+
565
528
  constructor(data?: PartialMessage<FeaturedGroupsResponseData>);
566
529
 
567
530
  static readonly runtime: typeof proto3;
@@ -630,9 +593,9 @@ export declare class FeaturedGroupsResponse_FeaturedGroupsResponseMeta extends M
630
593
  */
631
594
  export declare class MetricsByTimeLineRequestFilter extends Message<MetricsByTimeLineRequestFilter> {
632
595
  /**
633
- * @generated from field: string organization_id = 1;
596
+ * @generated from field: optional string organization_id = 1;
634
597
  */
635
- organizationId: string;
598
+ organizationId?: string;
636
599
 
637
600
  /**
638
601
  * @generated from field: repeated uint64 event_ids = 2;
@@ -645,14 +608,14 @@ export declare class MetricsByTimeLineRequestFilter extends Message<MetricsByTim
645
608
  countries: string[];
646
609
 
647
610
  /**
648
- * @generated from field: streamlayer.analytics.v1.common.Period period = 4;
611
+ * @generated from field: optional streamlayer.analytics.v1.common.Period period = 4;
649
612
  */
650
613
  period?: Period;
651
614
 
652
615
  /**
653
- * @generated from field: string date = 5;
616
+ * @generated from field: optional string date = 5;
654
617
  */
655
- date: string;
618
+ date?: string;
656
619
 
657
620
  /**
658
621
  * @generated from field: streamlayer.analytics.v2.studio.AggPeriod agg_period = 6;
@@ -859,9 +822,9 @@ export declare class UsersByTimeLineRequest extends Message<UsersByTimeLineReque
859
822
  */
860
823
  export declare class PollsStatsByTimeLineRequestFilter extends Message<PollsStatsByTimeLineRequestFilter> {
861
824
  /**
862
- * @generated from field: string organization_id = 1;
825
+ * @generated from field: optional string organization_id = 1;
863
826
  */
864
- organizationId: string;
827
+ organizationId?: string;
865
828
 
866
829
  /**
867
830
  * @generated from field: uint64 event_id = 2;
@@ -874,7 +837,9 @@ export declare class PollsStatsByTimeLineRequestFilter extends Message<PollsStat
874
837
  countries: string[];
875
838
 
876
839
  /**
877
- * @generated from field: streamlayer.analytics.v1.common.Period period = 4;
840
+ * dafault now() - interval 1H
841
+ *
842
+ * @generated from field: optional streamlayer.analytics.v1.common.Period period = 4;
878
843
  */
879
844
  period?: Period;
880
845
 
@@ -884,9 +849,9 @@ export declare class PollsStatsByTimeLineRequestFilter extends Message<PollsStat
884
849
  aggPeriod: AggPeriod;
885
850
 
886
851
  /**
887
- * @generated from field: streamlayer.analytics.v1.common.TopicType topic_type = 6;
852
+ * @generated from field: optional streamlayer.analytics.v1.common.TopicType topic_type = 6;
888
853
  */
889
- topicType: TopicType;
854
+ topicType?: TopicType;
890
855
 
891
856
  constructor(data?: PartialMessage<PollsStatsByTimeLineRequestFilter>);
892
857
 
@@ -1287,9 +1252,9 @@ export declare class DeviceInteractionsByTimeLineResponse_DeviceInteractionsByTi
1287
1252
  */
1288
1253
  export declare class ListCountriesRequestFilter extends Message<ListCountriesRequestFilter> {
1289
1254
  /**
1290
- * @generated from field: string organization_id = 1;
1255
+ * @generated from field: optional string organization_id = 1;
1291
1256
  */
1292
- organizationId: string;
1257
+ organizationId?: string;
1293
1258
 
1294
1259
  constructor(data?: PartialMessage<ListCountriesRequestFilter>);
1295
1260
 
@@ -5,6 +5,19 @@
5
5
 
6
6
  import { proto3 } from "@bufbuild/protobuf";
7
7
  import { Period, TopicType } from "../../v1/common/analytics.common_pb.js";
8
+ import { CardStatistics } from "../common/analytics.common_pb.js";
9
+
10
+ /**
11
+ * @generated from enum streamlayer.analytics.v2.studio.WpType
12
+ */
13
+ export const WpType = proto3.makeEnum(
14
+ "streamlayer.analytics.v2.studio.WpType",
15
+ [
16
+ {no: 0, name: "WP_TYPE_UNSET", localName: "UNSET"},
17
+ {no: 1, name: "WP_TYPE_WP", localName: "WP"},
18
+ {no: 2, name: "WP_TYPE_FWP", localName: "FWP"},
19
+ ],
20
+ );
8
21
 
9
22
  /**
10
23
  * @generated from enum streamlayer.analytics.v2.studio.AggPeriod
@@ -51,21 +64,6 @@ export const DashboardOverviewResponseData = proto3.makeMessageType(
51
64
  { no: 22, name: "total_min_wp8_users", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
52
65
  { no: 23, name: "total_min_wp9_users", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
53
66
  { no: 24, name: "total_users_started_wp", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
54
- { no: 30, name: "total_fwp_chat_participants", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
55
- { no: 31, name: "total_users_engaged_with_fwp_room", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
56
- { no: 32, name: "avg_active_fwp_room_session_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
57
- { no: 33, name: "total_fwp_started", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
58
- { no: 34, name: "active_fwps", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
59
- { no: 35, name: "users_engaged_with_active_fwp", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
60
- { no: 36, name: "avg_users_active_fwp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
61
- { no: 37, name: "total_min_fwp2_users", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
62
- { no: 38, name: "total_min_fwp3_users", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
63
- { no: 39, name: "total_min_fwp4_users", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
64
- { no: 40, name: "total_min_fwp5_users", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
65
- { no: 41, name: "total_min_fwp6_users", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
66
- { no: 42, name: "total_min_fwp7_users", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
67
- { no: 43, name: "total_min_fwp8_users", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
68
- { no: 44, name: "total_min_fwp9_users", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
69
67
  ],
70
68
  );
71
69
 
@@ -75,13 +73,14 @@ export const DashboardOverviewResponseData = proto3.makeMessageType(
75
73
  export const DashboardOverviewRequestFilter = proto3.makeMessageType(
76
74
  "streamlayer.analytics.v2.studio.DashboardOverviewRequestFilter",
77
75
  () => [
78
- { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
76
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
79
77
  { no: 2, name: "event_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
80
78
  { no: 3, name: "period", kind: "message", T: Period },
81
- { no: 4, name: "date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
79
+ { no: 4, name: "date", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
82
80
  { no: 5, name: "countries", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
83
- { no: 6, name: "live_metrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
84
- { no: 7, name: "fwp", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
81
+ { no: 6, name: "live_metrics", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
82
+ { no: 7, name: "fwp", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
83
+ { no: 8, name: "wp_type", kind: "enum", T: proto3.getEnumType(WpType), opt: true },
85
84
  ],
86
85
  );
87
86
 
@@ -121,7 +120,7 @@ export const DashboardOverviewResponse_DashboardOverviewResponseMeta = proto3.ma
121
120
  export const FeaturedGroupsRequestFilter = proto3.makeMessageType(
122
121
  "streamlayer.analytics.v2.studio.FeaturedGroupsRequestFilter",
123
122
  () => [
124
- { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
123
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
125
124
  { no: 2, name: "event_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
126
125
  { no: 3, name: "period", kind: "message", T: Period },
127
126
  ],
@@ -149,6 +148,13 @@ export const FeaturedGroupsResponseData = proto3.makeMessageType(
149
148
  { no: 4, name: "total_unique_viewers_open_prompt", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
150
149
  { no: 5, name: "total_unique_viewers_answered_prompt", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
151
150
  { no: 6, name: "average_prompts_opened_per_engaged_viewer", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
151
+ { no: 7, name: "total_prompts_opened", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
152
+ { no: 8, name: "total_interactions", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
153
+ { no: 9, name: "poll_card", kind: "message", T: CardStatistics },
154
+ { no: 10, name: "trivia_card", kind: "message", T: CardStatistics },
155
+ { no: 11, name: "prediction_card", kind: "message", T: CardStatistics },
156
+ { no: 12, name: "factoid_card", kind: "message", T: CardStatistics },
157
+ { no: 13, name: "twitter_card", kind: "message", T: CardStatistics },
152
158
  ],
153
159
  );
154
160
 
@@ -178,11 +184,11 @@ export const FeaturedGroupsResponse_FeaturedGroupsResponseMeta = proto3.makeMess
178
184
  export const MetricsByTimeLineRequestFilter = proto3.makeMessageType(
179
185
  "streamlayer.analytics.v2.studio.MetricsByTimeLineRequestFilter",
180
186
  () => [
181
- { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
187
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
182
188
  { no: 2, name: "event_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
183
189
  { no: 3, name: "countries", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
184
- { no: 4, name: "period", kind: "message", T: Period },
185
- { no: 5, name: "date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
190
+ { no: 4, name: "period", kind: "message", T: Period, opt: true },
191
+ { no: 5, name: "date", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
186
192
  { no: 6, name: "agg_period", kind: "enum", T: proto3.getEnumType(AggPeriod) },
187
193
  ],
188
194
  );
@@ -251,12 +257,12 @@ export const UsersByTimeLineRequest = proto3.makeMessageType(
251
257
  export const PollsStatsByTimeLineRequestFilter = proto3.makeMessageType(
252
258
  "streamlayer.analytics.v2.studio.PollsStatsByTimeLineRequestFilter",
253
259
  () => [
254
- { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
260
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
255
261
  { no: 2, name: "event_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
256
262
  { no: 3, name: "countries", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
257
- { no: 4, name: "period", kind: "message", T: Period },
263
+ { no: 4, name: "period", kind: "message", T: Period, opt: true },
258
264
  { no: 5, name: "agg_period", kind: "enum", T: proto3.getEnumType(AggPeriod) },
259
- { no: 6, name: "topic_type", kind: "enum", T: proto3.getEnumType(TopicType) },
265
+ { no: 6, name: "topic_type", kind: "enum", T: proto3.getEnumType(TopicType), opt: true },
260
266
  ],
261
267
  );
262
268
 
@@ -403,7 +409,7 @@ export const DeviceInteractionsByTimeLineResponse_DeviceInteractionsByTimeLineRe
403
409
  export const ListCountriesRequestFilter = proto3.makeMessageType(
404
410
  "streamlayer.analytics.v2.studio.ListCountriesRequestFilter",
405
411
  () => [
406
- { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
412
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
407
413
  ],
408
414
  );
409
415