@streamlayer/sl-eslib 5.68.0 → 5.70.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.68.0",
3
+ "version": "5.70.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,9 +1,10 @@
1
1
  // @generated by protoc-gen-connect-query v0.4.1 with parameter "target=js+dts"
2
- // @generated from file streamlayer/analytics/v2/studio/dashboardOverview.proto (package streamlayer.analytics.v2.studio, syntax proto3)
2
+ // @generated from file streamlayer/analytics/v2/studio/dashboard.proto (package streamlayer.analytics.v2.studio, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
6
  import { UnaryHooks } from "@bufbuild/connect-query";
7
- import { DashboardOverviewRequest, DashboardOverviewResponse } from "./dashboardOverview_pb.js";
7
+ import { DashboardOverviewRequest, DashboardOverviewResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
8
8
 
9
9
  export const dashboardOverview: UnaryHooks<DashboardOverviewRequest, DashboardOverviewResponse>;
10
+ export const wpMetricsByTimeLine: UnaryHooks<WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse>;
@@ -1,11 +1,11 @@
1
1
  // @generated by protoc-gen-connect-query v0.4.1 with parameter "target=js+dts"
2
- // @generated from file streamlayer/analytics/v2/studio/dashboardOverview.proto (package streamlayer.analytics.v2.studio, syntax proto3)
2
+ // @generated from file streamlayer/analytics/v2/studio/dashboard.proto (package streamlayer.analytics.v2.studio, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
6
  import { createQueryService } from "@bufbuild/connect-query";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DashboardOverviewRequest, DashboardOverviewResponse } from "./dashboardOverview_pb.js";
8
+ import { DashboardOverviewRequest, DashboardOverviewResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
9
9
 
10
10
  export const typeName = "streamlayer.analytics.v2.studio.Dashboard";
11
11
 
@@ -25,3 +25,20 @@ export const dashboardOverview = createQueryService({
25
25
  typeName: "streamlayer.analytics.v2.studio.Dashboard",
26
26
  },
27
27
  }).dashboardOverview;
28
+
29
+ /**
30
+ * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.WpMetricsByTimeLine
31
+ */
32
+ export const wpMetricsByTimeLine = createQueryService({
33
+ service: {
34
+ methods: {
35
+ wpMetricsByTimeLine: {
36
+ name: "WpMetricsByTimeLine",
37
+ kind: MethodKind.Unary,
38
+ I: WpMetricsByTimeLineRequest,
39
+ O: WpMetricsByTimeLineResponse,
40
+ },
41
+ },
42
+ typeName: "streamlayer.analytics.v2.studio.Dashboard",
43
+ },
44
+ }).wpMetricsByTimeLine;
@@ -1,9 +1,9 @@
1
1
  // @generated by protoc-gen-connect-es v0.13.0 with parameter "target=js+dts"
2
- // @generated from file streamlayer/analytics/v2/studio/dashboardOverview.proto (package streamlayer.analytics.v2.studio, syntax proto3)
2
+ // @generated from file streamlayer/analytics/v2/studio/dashboard.proto (package streamlayer.analytics.v2.studio, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { DashboardOverviewRequest, DashboardOverviewResponse } from "./dashboardOverview_pb.js";
6
+ import { DashboardOverviewRequest, DashboardOverviewResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -21,6 +21,15 @@ export declare const Dashboard: {
21
21
  readonly O: typeof DashboardOverviewResponse,
22
22
  readonly kind: MethodKind.Unary,
23
23
  },
24
+ /**
25
+ * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.WpMetricsByTimeLine
26
+ */
27
+ readonly wpMetricsByTimeLine: {
28
+ readonly name: "WpMetricsByTimeLine",
29
+ readonly I: typeof WpMetricsByTimeLineRequest,
30
+ readonly O: typeof WpMetricsByTimeLineResponse,
31
+ readonly kind: MethodKind.Unary,
32
+ },
24
33
  }
25
34
  };
26
35
 
@@ -1,9 +1,9 @@
1
1
  // @generated by protoc-gen-connect-es v0.13.0 with parameter "target=js+dts"
2
- // @generated from file streamlayer/analytics/v2/studio/dashboardOverview.proto (package streamlayer.analytics.v2.studio, syntax proto3)
2
+ // @generated from file streamlayer/analytics/v2/studio/dashboard.proto (package streamlayer.analytics.v2.studio, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { DashboardOverviewRequest, DashboardOverviewResponse } from "./dashboardOverview_pb.js";
6
+ import { DashboardOverviewRequest, DashboardOverviewResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -21,6 +21,15 @@ export const Dashboard = {
21
21
  O: DashboardOverviewResponse,
22
22
  kind: MethodKind.Unary,
23
23
  },
24
+ /**
25
+ * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.WpMetricsByTimeLine
26
+ */
27
+ wpMetricsByTimeLine: {
28
+ name: "WpMetricsByTimeLine",
29
+ I: WpMetricsByTimeLineRequest,
30
+ O: WpMetricsByTimeLineResponse,
31
+ kind: MethodKind.Unary,
32
+ },
24
33
  }
25
34
  };
26
35
 
@@ -0,0 +1,536 @@
1
+ // @generated by protoc-gen-es v1.6.0 with parameter "target=js+dts"
2
+ // @generated from file streamlayer/analytics/v2/studio/dashboard.proto (package streamlayer.analytics.v2.studio, 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
+ import type { Period } from "../../v1/common/analytics.common_pb.js";
9
+
10
+ /**
11
+ * @generated from enum streamlayer.analytics.v2.studio.AggPeriod
12
+ */
13
+ export declare enum AggPeriod {
14
+ /**
15
+ * @generated from enum value: AP_UNSET = 0;
16
+ */
17
+ AP_UNSET = 0,
18
+
19
+ /**
20
+ * Aggregation period 1 minute
21
+ *
22
+ * @generated from enum value: AP_1MIN = 1;
23
+ */
24
+ AP_1MIN = 1,
25
+
26
+ /**
27
+ * Reserved for future use:
28
+ * AP_5MINS = 2;
29
+ * AP_10MINS = 3;
30
+ * AP_15MINS = 4;
31
+ * AP_30MINS = 5;
32
+ *
33
+ * Aggregation period 1 hour
34
+ *
35
+ * @generated from enum value: AP_1HOUR = 10;
36
+ */
37
+ AP_1HOUR = 10,
38
+
39
+ /**
40
+ * Reserved:
41
+ * AP_12HOURS = 11;
42
+ *
43
+ * Aggregation period 1 day
44
+ *
45
+ * @generated from enum value: AP_1DAY = 20;
46
+ */
47
+ AP_1DAY = 20,
48
+ }
49
+
50
+ /**
51
+ * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponseData
52
+ */
53
+ export declare class DashboardOverviewResponseData extends Message<DashboardOverviewResponseData> {
54
+ /**
55
+ * Overview page
56
+ *
57
+ * @generated from field: int32 total_viewers = 1;
58
+ */
59
+ totalViewers: number;
60
+
61
+ /**
62
+ * @generated from field: int32 total_registred_viewers = 2;
63
+ */
64
+ totalRegistredViewers: number;
65
+
66
+ /**
67
+ * @generated from field: int32 total_engagaed_viewers = 3;
68
+ */
69
+ totalEngagaedViewers: number;
70
+
71
+ /**
72
+ * @generated from field: int32 total_interactions = 4;
73
+ */
74
+ totalInteractions: number;
75
+
76
+ /**
77
+ * @generated from field: int32 live_viewers = 5;
78
+ */
79
+ liveViewers: number;
80
+
81
+ /**
82
+ * @generated from field: int32 live_engagaed_viewers = 6;
83
+ */
84
+ liveEngagaedViewers: number;
85
+
86
+ /**
87
+ * @generated from field: int32 interactions_per_engaged_user = 7;
88
+ */
89
+ interactionsPerEngagedUser: number;
90
+
91
+ /**
92
+ * WP metrics
93
+ *
94
+ * Total Watch Parties Started
95
+ *
96
+ * @generated from field: int32 total_wp_started = 8;
97
+ */
98
+ totalWpStarted: number;
99
+
100
+ /**
101
+ * Total Users that Engaged w/ WP
102
+ *
103
+ * @generated from field: int32 users_engaged_with_wp = 9;
104
+ */
105
+ usersEngagedWithWp: number;
106
+
107
+ /**
108
+ * Total Users that Engaged w/ WP 2+
109
+ *
110
+ * @generated from field: int32 users_engaged_with_active_wp = 10;
111
+ */
112
+ usersEngagedWithActiveWp: number;
113
+
114
+ /**
115
+ * Total Watch Parties w/ WP 2+ People
116
+ *
117
+ * @generated from field: int32 active_wps = 11;
118
+ */
119
+ activeWps: number;
120
+
121
+ /**
122
+ * Average Participants per active WP (2+ participants per WP)
123
+ *
124
+ * @generated from field: float avg_users_active_wp = 12;
125
+ */
126
+ avgUsersActiveWp: number;
127
+
128
+ /**
129
+ * Average Minutes on WP 2+
130
+ *
131
+ * @generated from field: float avg_active_wp_duration = 13;
132
+ */
133
+ avgActiveWpDuration: number;
134
+
135
+ /**
136
+ * LIVE Participants in WP 2+ People
137
+ *
138
+ * @generated from field: int32 live_users_engaged_with_active_wp = 14;
139
+ */
140
+ liveUsersEngagedWithActiveWp: number;
141
+
142
+ /**
143
+ * LIVE WP 2+ People
144
+ *
145
+ * @generated from field: int32 live_active_wps = 15;
146
+ */
147
+ liveActiveWps: number;
148
+
149
+ /**
150
+ * Total minutes in WP 2+ with X Participants
151
+ *
152
+ * @generated from field: float total_min_wp_2_users = 16;
153
+ */
154
+ totalMinWp2Users: number;
155
+
156
+ /**
157
+ * @generated from field: float total_min_wp_3_users = 17;
158
+ */
159
+ totalMinWp3Users: number;
160
+
161
+ /**
162
+ * @generated from field: float total_min_wp_4_users = 18;
163
+ */
164
+ totalMinWp4Users: number;
165
+
166
+ /**
167
+ * @generated from field: float total_min_wp_5_users = 19;
168
+ */
169
+ totalMinWp5Users: number;
170
+
171
+ /**
172
+ * @generated from field: float total_min_wp_6_users = 20;
173
+ */
174
+ totalMinWp6Users: number;
175
+
176
+ /**
177
+ * @generated from field: float total_min_wp_7_users = 21;
178
+ */
179
+ totalMinWp7Users: number;
180
+
181
+ /**
182
+ * @generated from field: float total_min_wp_8_users = 22;
183
+ */
184
+ totalMinWp8Users: number;
185
+
186
+ /**
187
+ * @generated from field: float total_min_wp_9_users = 23;
188
+ */
189
+ totalMinWp9Users: number;
190
+
191
+ constructor(data?: PartialMessage<DashboardOverviewResponseData>);
192
+
193
+ static readonly runtime: typeof proto3;
194
+ static readonly typeName = "streamlayer.analytics.v2.studio.DashboardOverviewResponseData";
195
+ static readonly fields: FieldList;
196
+
197
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DashboardOverviewResponseData;
198
+
199
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DashboardOverviewResponseData;
200
+
201
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DashboardOverviewResponseData;
202
+
203
+ static equals(a: DashboardOverviewResponseData | PlainMessage<DashboardOverviewResponseData> | undefined, b: DashboardOverviewResponseData | PlainMessage<DashboardOverviewResponseData> | undefined): boolean;
204
+ }
205
+
206
+ /**
207
+ * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewRequestFilter
208
+ */
209
+ export declare class DashboardOverviewRequestFilter extends Message<DashboardOverviewRequestFilter> {
210
+ /**
211
+ * @generated from field: string organization_id = 1;
212
+ */
213
+ organizationId: string;
214
+
215
+ /**
216
+ * @generated from field: repeated uint64 event_ids = 2;
217
+ */
218
+ eventIds: bigint[];
219
+
220
+ /**
221
+ * @generated from field: streamlayer.analytics.v1.common.Period period = 3;
222
+ */
223
+ period?: Period;
224
+
225
+ /**
226
+ * @generated from field: string date = 4;
227
+ */
228
+ date: string;
229
+
230
+ /**
231
+ * @generated from field: repeated string countries = 5;
232
+ */
233
+ countries: string[];
234
+
235
+ constructor(data?: PartialMessage<DashboardOverviewRequestFilter>);
236
+
237
+ static readonly runtime: typeof proto3;
238
+ static readonly typeName = "streamlayer.analytics.v2.studio.DashboardOverviewRequestFilter";
239
+ static readonly fields: FieldList;
240
+
241
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DashboardOverviewRequestFilter;
242
+
243
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DashboardOverviewRequestFilter;
244
+
245
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DashboardOverviewRequestFilter;
246
+
247
+ static equals(a: DashboardOverviewRequestFilter | PlainMessage<DashboardOverviewRequestFilter> | undefined, b: DashboardOverviewRequestFilter | PlainMessage<DashboardOverviewRequestFilter> | undefined): boolean;
248
+ }
249
+
250
+ /**
251
+ * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewRequest
252
+ */
253
+ export declare class DashboardOverviewRequest extends Message<DashboardOverviewRequest> {
254
+ /**
255
+ * @generated from field: streamlayer.analytics.v2.studio.DashboardOverviewRequestFilter filter = 1;
256
+ */
257
+ filter?: DashboardOverviewRequestFilter;
258
+
259
+ constructor(data?: PartialMessage<DashboardOverviewRequest>);
260
+
261
+ static readonly runtime: typeof proto3;
262
+ static readonly typeName = "streamlayer.analytics.v2.studio.DashboardOverviewRequest";
263
+ static readonly fields: FieldList;
264
+
265
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DashboardOverviewRequest;
266
+
267
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DashboardOverviewRequest;
268
+
269
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DashboardOverviewRequest;
270
+
271
+ static equals(a: DashboardOverviewRequest | PlainMessage<DashboardOverviewRequest> | undefined, b: DashboardOverviewRequest | PlainMessage<DashboardOverviewRequest> | undefined): boolean;
272
+ }
273
+
274
+ /**
275
+ * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponse
276
+ */
277
+ export declare class DashboardOverviewResponse extends Message<DashboardOverviewResponse> {
278
+ /**
279
+ * @generated from field: streamlayer.analytics.v2.studio.DashboardOverviewResponseData data = 1;
280
+ */
281
+ data?: DashboardOverviewResponseData;
282
+
283
+ /**
284
+ * @generated from field: streamlayer.analytics.v2.studio.DashboardOverviewResponse.DashboardOverviewResponseMeta meta = 2;
285
+ */
286
+ meta?: DashboardOverviewResponse_DashboardOverviewResponseMeta;
287
+
288
+ constructor(data?: PartialMessage<DashboardOverviewResponse>);
289
+
290
+ static readonly runtime: typeof proto3;
291
+ static readonly typeName = "streamlayer.analytics.v2.studio.DashboardOverviewResponse";
292
+ static readonly fields: FieldList;
293
+
294
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DashboardOverviewResponse;
295
+
296
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DashboardOverviewResponse;
297
+
298
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DashboardOverviewResponse;
299
+
300
+ static equals(a: DashboardOverviewResponse | PlainMessage<DashboardOverviewResponse> | undefined, b: DashboardOverviewResponse | PlainMessage<DashboardOverviewResponse> | undefined): boolean;
301
+ }
302
+
303
+ /**
304
+ * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponse.DashboardOverviewResponseMeta
305
+ */
306
+ export declare class DashboardOverviewResponse_DashboardOverviewResponseMeta extends Message<DashboardOverviewResponse_DashboardOverviewResponseMeta> {
307
+ /**
308
+ * @generated from field: repeated uint64 event_ids = 1;
309
+ */
310
+ eventIds: bigint[];
311
+
312
+ /**
313
+ * @generated from field: int64 cache_created_at = 2;
314
+ */
315
+ cacheCreatedAt: bigint;
316
+
317
+ constructor(data?: PartialMessage<DashboardOverviewResponse_DashboardOverviewResponseMeta>);
318
+
319
+ static readonly runtime: typeof proto3;
320
+ static readonly typeName = "streamlayer.analytics.v2.studio.DashboardOverviewResponse.DashboardOverviewResponseMeta";
321
+ static readonly fields: FieldList;
322
+
323
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DashboardOverviewResponse_DashboardOverviewResponseMeta;
324
+
325
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DashboardOverviewResponse_DashboardOverviewResponseMeta;
326
+
327
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DashboardOverviewResponse_DashboardOverviewResponseMeta;
328
+
329
+ static equals(a: DashboardOverviewResponse_DashboardOverviewResponseMeta | PlainMessage<DashboardOverviewResponse_DashboardOverviewResponseMeta> | undefined, b: DashboardOverviewResponse_DashboardOverviewResponseMeta | PlainMessage<DashboardOverviewResponse_DashboardOverviewResponseMeta> | undefined): boolean;
330
+ }
331
+
332
+ /**
333
+ * @generated from message streamlayer.analytics.v2.studio.WpMetricsByTimeLineRequestFilter
334
+ */
335
+ export declare class WpMetricsByTimeLineRequestFilter extends Message<WpMetricsByTimeLineRequestFilter> {
336
+ /**
337
+ * @generated from field: string organization_id = 1;
338
+ */
339
+ organizationId: string;
340
+
341
+ /**
342
+ * @generated from field: repeated uint64 event_ids = 2;
343
+ */
344
+ eventIds: bigint[];
345
+
346
+ /**
347
+ * @generated from field: repeated string countries = 3;
348
+ */
349
+ countries: string[];
350
+
351
+ /**
352
+ * @generated from field: streamlayer.analytics.v1.common.Period period = 4;
353
+ */
354
+ period?: Period;
355
+
356
+ /**
357
+ * @generated from field: string date = 5;
358
+ */
359
+ date: string;
360
+
361
+ /**
362
+ * @generated from field: streamlayer.analytics.v2.studio.AggPeriod agg_period = 6;
363
+ */
364
+ aggPeriod: AggPeriod;
365
+
366
+ constructor(data?: PartialMessage<WpMetricsByTimeLineRequestFilter>);
367
+
368
+ static readonly runtime: typeof proto3;
369
+ static readonly typeName = "streamlayer.analytics.v2.studio.WpMetricsByTimeLineRequestFilter";
370
+ static readonly fields: FieldList;
371
+
372
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WpMetricsByTimeLineRequestFilter;
373
+
374
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WpMetricsByTimeLineRequestFilter;
375
+
376
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WpMetricsByTimeLineRequestFilter;
377
+
378
+ static equals(a: WpMetricsByTimeLineRequestFilter | PlainMessage<WpMetricsByTimeLineRequestFilter> | undefined, b: WpMetricsByTimeLineRequestFilter | PlainMessage<WpMetricsByTimeLineRequestFilter> | undefined): boolean;
379
+ }
380
+
381
+ /**
382
+ * @generated from message streamlayer.analytics.v2.studio.WpMetricsByTimeLineRequest
383
+ */
384
+ export declare class WpMetricsByTimeLineRequest extends Message<WpMetricsByTimeLineRequest> {
385
+ /**
386
+ * @generated from field: streamlayer.analytics.v2.studio.WpMetricsByTimeLineRequestFilter filter = 1;
387
+ */
388
+ filter?: WpMetricsByTimeLineRequestFilter;
389
+
390
+ constructor(data?: PartialMessage<WpMetricsByTimeLineRequest>);
391
+
392
+ static readonly runtime: typeof proto3;
393
+ static readonly typeName = "streamlayer.analytics.v2.studio.WpMetricsByTimeLineRequest";
394
+ static readonly fields: FieldList;
395
+
396
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WpMetricsByTimeLineRequest;
397
+
398
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WpMetricsByTimeLineRequest;
399
+
400
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WpMetricsByTimeLineRequest;
401
+
402
+ static equals(a: WpMetricsByTimeLineRequest | PlainMessage<WpMetricsByTimeLineRequest> | undefined, b: WpMetricsByTimeLineRequest | PlainMessage<WpMetricsByTimeLineRequest> | undefined): boolean;
403
+ }
404
+
405
+ /**
406
+ * @generated from message streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponseData
407
+ */
408
+ export declare class WpMetricsByTimeLineResponseData extends Message<WpMetricsByTimeLineResponseData> {
409
+ /**
410
+ * UNIX timestamp (EPOCH)
411
+ *
412
+ * @generated from field: int64 time_frame = 1;
413
+ */
414
+ timeFrame: bigint;
415
+
416
+ /**
417
+ * WP user has been engaged at this bucket (BOTH solo and NOT)
418
+ *
419
+ * @generated from field: int32 total_wp_seen = 2;
420
+ */
421
+ totalWpSeen: number;
422
+
423
+ /**
424
+ * Total users joined an active WP (EMetric.TotalUsersEngagedWithWp2plus)
425
+ *
426
+ * @generated from field: int32 users_engaged_with_active_wp = 3;
427
+ */
428
+ usersEngagedWithActiveWp: number;
429
+
430
+ /**
431
+ * Total users interacted with WP (EMetric.TotalUsersEngagedWithWp)
432
+ *
433
+ * @generated from field: int32 users_engaged_with_wp = 4;
434
+ */
435
+ usersEngagedWithWp: number;
436
+
437
+ /**
438
+ * Total active channels created (EMetric.TotalActiveWps)
439
+ *
440
+ * @generated from field: int32 active_wps = 5;
441
+ */
442
+ activeWps: number;
443
+
444
+ /**
445
+ * Average Participants per active WP (2+ participants per WP)
446
+ *
447
+ * @generated from field: float avg_users_active_wp = 6;
448
+ */
449
+ avgUsersActiveWp: number;
450
+
451
+ /**
452
+ * Average time (min) per active channel
453
+ *
454
+ * @generated from field: float avg_active_wp_duration = 7;
455
+ */
456
+ avgActiveWpDuration: number;
457
+
458
+ /**
459
+ * Total minutes in WP 2+ with X Participants
460
+ *
461
+ * Total minutes in WP 2+ with 2 Participants
462
+ *
463
+ * @generated from field: float total_min_wp_2_users = 8;
464
+ */
465
+ totalMinWp2Users: number;
466
+
467
+ /**
468
+ * Total minutes in WP 2+ with 3 Participants
469
+ *
470
+ * @generated from field: float total_min_wp_3_users = 9;
471
+ */
472
+ totalMinWp3Users: number;
473
+
474
+ constructor(data?: PartialMessage<WpMetricsByTimeLineResponseData>);
475
+
476
+ static readonly runtime: typeof proto3;
477
+ static readonly typeName = "streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponseData";
478
+ static readonly fields: FieldList;
479
+
480
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WpMetricsByTimeLineResponseData;
481
+
482
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WpMetricsByTimeLineResponseData;
483
+
484
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WpMetricsByTimeLineResponseData;
485
+
486
+ static equals(a: WpMetricsByTimeLineResponseData | PlainMessage<WpMetricsByTimeLineResponseData> | undefined, b: WpMetricsByTimeLineResponseData | PlainMessage<WpMetricsByTimeLineResponseData> | undefined): boolean;
487
+ }
488
+
489
+ /**
490
+ * @generated from message streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponse
491
+ */
492
+ export declare class WpMetricsByTimeLineResponse extends Message<WpMetricsByTimeLineResponse> {
493
+ /**
494
+ * @generated from field: repeated streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponseData data = 1;
495
+ */
496
+ data: WpMetricsByTimeLineResponseData[];
497
+
498
+ /**
499
+ * @generated from field: streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponse.WpMetricsByTimeLineResponseMeta meta = 2;
500
+ */
501
+ meta?: WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta;
502
+
503
+ constructor(data?: PartialMessage<WpMetricsByTimeLineResponse>);
504
+
505
+ static readonly runtime: typeof proto3;
506
+ static readonly typeName = "streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponse";
507
+ static readonly fields: FieldList;
508
+
509
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WpMetricsByTimeLineResponse;
510
+
511
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WpMetricsByTimeLineResponse;
512
+
513
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WpMetricsByTimeLineResponse;
514
+
515
+ static equals(a: WpMetricsByTimeLineResponse | PlainMessage<WpMetricsByTimeLineResponse> | undefined, b: WpMetricsByTimeLineResponse | PlainMessage<WpMetricsByTimeLineResponse> | undefined): boolean;
516
+ }
517
+
518
+ /**
519
+ * @generated from message streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponse.WpMetricsByTimeLineResponseMeta
520
+ */
521
+ export declare class WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta extends Message<WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta> {
522
+ constructor(data?: PartialMessage<WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta>);
523
+
524
+ static readonly runtime: typeof proto3;
525
+ static readonly typeName = "streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponse.WpMetricsByTimeLineResponseMeta";
526
+ static readonly fields: FieldList;
527
+
528
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta;
529
+
530
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta;
531
+
532
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta;
533
+
534
+ static equals(a: WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta | PlainMessage<WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta> | undefined, b: WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta | PlainMessage<WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta> | undefined): boolean;
535
+ }
536
+
@@ -0,0 +1,163 @@
1
+ // @generated by protoc-gen-es v1.6.0 with parameter "target=js+dts"
2
+ // @generated from file streamlayer/analytics/v2/studio/dashboard.proto (package streamlayer.analytics.v2.studio, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { proto3 } from "@bufbuild/protobuf";
7
+ import { Period } from "../../v1/common/analytics.common_pb.js";
8
+
9
+ /**
10
+ * @generated from enum streamlayer.analytics.v2.studio.AggPeriod
11
+ */
12
+ export const AggPeriod = proto3.makeEnum(
13
+ "streamlayer.analytics.v2.studio.AggPeriod",
14
+ [
15
+ {no: 0, name: "AP_UNSET"},
16
+ {no: 1, name: "AP_1MIN"},
17
+ {no: 10, name: "AP_1HOUR"},
18
+ {no: 20, name: "AP_1DAY"},
19
+ ],
20
+ );
21
+
22
+ /**
23
+ * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponseData
24
+ */
25
+ export const DashboardOverviewResponseData = proto3.makeMessageType(
26
+ "streamlayer.analytics.v2.studio.DashboardOverviewResponseData",
27
+ () => [
28
+ { no: 1, name: "total_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
29
+ { no: 2, name: "total_registred_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
30
+ { no: 3, name: "total_engagaed_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
31
+ { no: 4, name: "total_interactions", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
32
+ { no: 5, name: "live_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
33
+ { no: 6, name: "live_engagaed_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
34
+ { no: 7, name: "interactions_per_engaged_user", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
35
+ { no: 8, name: "total_wp_started", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
36
+ { no: 9, name: "users_engaged_with_wp", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
37
+ { no: 10, name: "users_engaged_with_active_wp", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
38
+ { no: 11, name: "active_wps", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
39
+ { no: 12, name: "avg_users_active_wp", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
40
+ { no: 13, name: "avg_active_wp_duration", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
41
+ { no: 14, name: "live_users_engaged_with_active_wp", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
42
+ { no: 15, name: "live_active_wps", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
43
+ { no: 16, name: "total_min_wp_2_users", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
44
+ { no: 17, name: "total_min_wp_3_users", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
45
+ { no: 18, name: "total_min_wp_4_users", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
46
+ { no: 19, name: "total_min_wp_5_users", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
47
+ { no: 20, name: "total_min_wp_6_users", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
48
+ { no: 21, name: "total_min_wp_7_users", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
49
+ { no: 22, name: "total_min_wp_8_users", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
50
+ { no: 23, name: "total_min_wp_9_users", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
51
+ ],
52
+ );
53
+
54
+ /**
55
+ * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewRequestFilter
56
+ */
57
+ export const DashboardOverviewRequestFilter = proto3.makeMessageType(
58
+ "streamlayer.analytics.v2.studio.DashboardOverviewRequestFilter",
59
+ () => [
60
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
61
+ { no: 2, name: "event_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
62
+ { no: 3, name: "period", kind: "message", T: Period },
63
+ { no: 4, name: "date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
64
+ { no: 5, name: "countries", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
65
+ ],
66
+ );
67
+
68
+ /**
69
+ * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewRequest
70
+ */
71
+ export const DashboardOverviewRequest = proto3.makeMessageType(
72
+ "streamlayer.analytics.v2.studio.DashboardOverviewRequest",
73
+ () => [
74
+ { no: 1, name: "filter", kind: "message", T: DashboardOverviewRequestFilter },
75
+ ],
76
+ );
77
+
78
+ /**
79
+ * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponse
80
+ */
81
+ export const DashboardOverviewResponse = proto3.makeMessageType(
82
+ "streamlayer.analytics.v2.studio.DashboardOverviewResponse",
83
+ () => [
84
+ { no: 1, name: "data", kind: "message", T: DashboardOverviewResponseData },
85
+ { no: 2, name: "meta", kind: "message", T: DashboardOverviewResponse_DashboardOverviewResponseMeta },
86
+ ],
87
+ );
88
+
89
+ /**
90
+ * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponse.DashboardOverviewResponseMeta
91
+ */
92
+ export const DashboardOverviewResponse_DashboardOverviewResponseMeta = proto3.makeMessageType(
93
+ "streamlayer.analytics.v2.studio.DashboardOverviewResponse.DashboardOverviewResponseMeta",
94
+ () => [
95
+ { no: 1, name: "event_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
96
+ { no: 2, name: "cache_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
97
+ ],
98
+ {localName: "DashboardOverviewResponse_DashboardOverviewResponseMeta"},
99
+ );
100
+
101
+ /**
102
+ * @generated from message streamlayer.analytics.v2.studio.WpMetricsByTimeLineRequestFilter
103
+ */
104
+ export const WpMetricsByTimeLineRequestFilter = proto3.makeMessageType(
105
+ "streamlayer.analytics.v2.studio.WpMetricsByTimeLineRequestFilter",
106
+ () => [
107
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
108
+ { no: 2, name: "event_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
109
+ { no: 3, name: "countries", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
110
+ { no: 4, name: "period", kind: "message", T: Period },
111
+ { no: 5, name: "date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
112
+ { no: 6, name: "agg_period", kind: "enum", T: proto3.getEnumType(AggPeriod) },
113
+ ],
114
+ );
115
+
116
+ /**
117
+ * @generated from message streamlayer.analytics.v2.studio.WpMetricsByTimeLineRequest
118
+ */
119
+ export const WpMetricsByTimeLineRequest = proto3.makeMessageType(
120
+ "streamlayer.analytics.v2.studio.WpMetricsByTimeLineRequest",
121
+ () => [
122
+ { no: 1, name: "filter", kind: "message", T: WpMetricsByTimeLineRequestFilter },
123
+ ],
124
+ );
125
+
126
+ /**
127
+ * @generated from message streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponseData
128
+ */
129
+ export const WpMetricsByTimeLineResponseData = proto3.makeMessageType(
130
+ "streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponseData",
131
+ () => [
132
+ { no: 1, name: "time_frame", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
133
+ { no: 2, name: "total_wp_seen", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
134
+ { no: 3, name: "users_engaged_with_active_wp", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
135
+ { no: 4, name: "users_engaged_with_wp", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
136
+ { no: 5, name: "active_wps", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
137
+ { no: 6, name: "avg_users_active_wp", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
138
+ { no: 7, name: "avg_active_wp_duration", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
139
+ { no: 8, name: "total_min_wp_2_users", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
140
+ { no: 9, name: "total_min_wp_3_users", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
141
+ ],
142
+ );
143
+
144
+ /**
145
+ * @generated from message streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponse
146
+ */
147
+ export const WpMetricsByTimeLineResponse = proto3.makeMessageType(
148
+ "streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponse",
149
+ () => [
150
+ { no: 1, name: "data", kind: "message", T: WpMetricsByTimeLineResponseData, repeated: true },
151
+ { no: 2, name: "meta", kind: "message", T: WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta },
152
+ ],
153
+ );
154
+
155
+ /**
156
+ * @generated from message streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponse.WpMetricsByTimeLineResponseMeta
157
+ */
158
+ export const WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta = proto3.makeMessageType(
159
+ "streamlayer.analytics.v2.studio.WpMetricsByTimeLineResponse.WpMetricsByTimeLineResponseMeta",
160
+ [],
161
+ {localName: "WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta"},
162
+ );
163
+
@@ -5,7 +5,7 @@
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message, proto3 } from "@bufbuild/protobuf";
8
- import type { EventModeration, ExtendedQuestion, FileLink, Pagination, Question, QuestionImages, QuestionNotification, QuestionSkipReason, QuestionStatus, QuestionType, WebLink } from "../interactive.common_pb.js";
8
+ import type { EventModeration, ExtendedQuestion, FileLink, Pagination, Question, QuestionImages, QuestionNotification, QuestionSkipReason, QuestionStatus, QuestionType, UseAsNotification, WebLink } from "../interactive.common_pb.js";
9
9
  import type { Tweet } from "../../social/twitter_pb.js";
10
10
 
11
11
  /**
@@ -1425,6 +1425,11 @@ export declare class InsightHistory extends Message<InsightHistory> {
1425
1425
  */
1426
1426
  notification?: InsightNotification;
1427
1427
 
1428
+ /**
1429
+ * @generated from field: streamlayer.interactive.UseAsNotification use_as_notification = 7;
1430
+ */
1431
+ useAsNotification: UseAsNotification;
1432
+
1428
1433
  constructor(data?: PartialMessage<InsightHistory>);
1429
1434
 
1430
1435
  static readonly runtime: typeof proto3;
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import { proto3 } from "@bufbuild/protobuf";
7
- import { EventModeration, ExtendedQuestion, FileLink, Pagination, Question, QuestionImages, QuestionNotification, QuestionSkipReason, QuestionStatus, QuestionType, WebLink } from "../interactive.common_pb.js";
7
+ import { EventModeration, ExtendedQuestion, FileLink, Pagination, Question, QuestionImages, QuestionNotification, QuestionSkipReason, QuestionStatus, QuestionType, UseAsNotification, WebLink } from "../interactive.common_pb.js";
8
8
  import { Tweet } from "../../social/twitter_pb.js";
9
9
 
10
10
  /**
@@ -554,6 +554,7 @@ export const InsightHistory = proto3.makeMessageType(
554
554
  { no: 4, name: "image_mode", kind: "enum", T: proto3.getEnumType(QuestionImages) },
555
555
  { no: 5, name: "instant_view", kind: "message", T: InstantView, opt: true },
556
556
  { no: 6, name: "notification", kind: "message", T: InsightNotification, opt: true },
557
+ { no: 7, name: "use_as_notification", kind: "enum", T: proto3.getEnumType(UseAsNotification) },
557
558
  ],
558
559
  );
559
560
 
@@ -243,6 +243,26 @@ export declare enum PromotionWallet {
243
243
  DISABLED = 2,
244
244
  }
245
245
 
246
+ /**
247
+ * @generated from enum streamlayer.interactive.UseAsNotification
248
+ */
249
+ export declare enum UseAsNotification {
250
+ /**
251
+ * @generated from enum value: USE_AS_NOTIFICATION_UNSET = 0;
252
+ */
253
+ UNSET = 0,
254
+
255
+ /**
256
+ * @generated from enum value: USE_AS_NOTIFICATION_ENABLED = 1;
257
+ */
258
+ ENABLED = 1,
259
+
260
+ /**
261
+ * @generated from enum value: USE_AS_NOTIFICATION_DISABLED = 2;
262
+ */
263
+ DISABLED = 2,
264
+ }
265
+
246
266
  /**
247
267
  * @generated from enum streamlayer.interactive.QuestionAutoPostState
248
268
  */
@@ -944,6 +964,11 @@ export declare class QuestionOptions_FactoidOptions extends Message<QuestionOpti
944
964
  */
945
965
  imageMode: QuestionImages;
946
966
 
967
+ /**
968
+ * @generated from field: streamlayer.interactive.UseAsNotification use_as_notification = 6;
969
+ */
970
+ useAsNotification: UseAsNotification;
971
+
947
972
  constructor(data?: PartialMessage<QuestionOptions_FactoidOptions>);
948
973
 
949
974
  static readonly runtime: typeof proto3;
@@ -126,6 +126,18 @@ export const PromotionWallet = proto3.makeEnum(
126
126
  ],
127
127
  );
128
128
 
129
+ /**
130
+ * @generated from enum streamlayer.interactive.UseAsNotification
131
+ */
132
+ export const UseAsNotification = proto3.makeEnum(
133
+ "streamlayer.interactive.UseAsNotification",
134
+ [
135
+ {no: 0, name: "USE_AS_NOTIFICATION_UNSET", localName: "UNSET"},
136
+ {no: 1, name: "USE_AS_NOTIFICATION_ENABLED", localName: "ENABLED"},
137
+ {no: 2, name: "USE_AS_NOTIFICATION_DISABLED", localName: "DISABLED"},
138
+ ],
139
+ );
140
+
129
141
  /**
130
142
  * @generated from enum streamlayer.interactive.QuestionAutoPostState
131
143
  */
@@ -383,6 +395,7 @@ export const QuestionOptions_FactoidOptions = proto3.makeMessageType(
383
395
  { no: 3, name: "video", kind: "message", T: FileLink },
384
396
  { no: 4, name: "web_link", kind: "message", T: WebLink },
385
397
  { no: 5, name: "image_mode", kind: "enum", T: proto3.getEnumType(QuestionImages) },
398
+ { no: 6, name: "use_as_notification", kind: "enum", T: proto3.getEnumType(UseAsNotification) },
386
399
  ],
387
400
  {localName: "QuestionOptions_FactoidOptions"},
388
401
  );
@@ -1,266 +0,0 @@
1
- // @generated by protoc-gen-es v1.6.0 with parameter "target=js+dts"
2
- // @generated from file streamlayer/analytics/v2/studio/dashboardOverview.proto (package streamlayer.analytics.v2.studio, 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
- import type { Period } from "../../v1/common/analytics.common_pb.js";
9
-
10
- /**
11
- * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponseData
12
- */
13
- export declare class DashboardOverviewResponseData extends Message<DashboardOverviewResponseData> {
14
- /**
15
- * Overview page
16
- *
17
- * @generated from field: int32 total_viewers = 1;
18
- */
19
- totalViewers: number;
20
-
21
- /**
22
- * @generated from field: int32 total_registred_viewers = 2;
23
- */
24
- totalRegistredViewers: number;
25
-
26
- /**
27
- * @generated from field: int32 total_engagaed_viewers = 3;
28
- */
29
- totalEngagaedViewers: number;
30
-
31
- /**
32
- * @generated from field: int32 total_interactions = 4;
33
- */
34
- totalInteractions: number;
35
-
36
- /**
37
- * @generated from field: int32 live_viewers = 5;
38
- */
39
- liveViewers: number;
40
-
41
- /**
42
- * @generated from field: int32 live_engagaed_viewers = 6;
43
- */
44
- liveEngagaedViewers: number;
45
-
46
- /**
47
- * @generated from field: int32 interactions_per_engaged_user = 7;
48
- */
49
- interactionsPerEngagedUser: number;
50
-
51
- /**
52
- * WP metrics
53
- *
54
- * Total Watch Parties Started
55
- *
56
- * @generated from field: int32 total_wp_started = 8;
57
- */
58
- totalWpStarted: number;
59
-
60
- /**
61
- * Total Users that Engaged w/ WP
62
- *
63
- * @generated from field: int32 total_users_engaged_with_wp = 9;
64
- */
65
- totalUsersEngagedWithWp: number;
66
-
67
- /**
68
- * Total Users that Engaged w/ WP 2+
69
- *
70
- * @generated from field: int32 total_users_engaged_with_active_wp = 10;
71
- */
72
- totalUsersEngagedWithActiveWp: number;
73
-
74
- /**
75
- * Total Watch Parties w/ WP 2+ People
76
- *
77
- * @generated from field: int32 total_active_wps = 11;
78
- */
79
- totalActiveWps: number;
80
-
81
- /**
82
- * Average Participants per active WP (2+ participants per WP)
83
- *
84
- * @generated from field: float avg_participants_per_active_wp = 12;
85
- */
86
- avgParticipantsPerActiveWp: number;
87
-
88
- /**
89
- * Average Minutes on WP 2+
90
- *
91
- * @generated from field: float avg_active_wp_session_duration = 13;
92
- */
93
- avgActiveWpSessionDuration: number;
94
-
95
- /**
96
- * LIVE Participants in WP 2+ People
97
- *
98
- * @generated from field: int32 live_users_engaged_with_active_wp = 14;
99
- */
100
- liveUsersEngagedWithActiveWp: number;
101
-
102
- /**
103
- * LIVE WP 2+ People
104
- *
105
- * @generated from field: int32 live_active_wps = 15;
106
- */
107
- liveActiveWps: number;
108
-
109
- /**
110
- * Total minutes in WP 2+ with X Participants
111
- *
112
- * @generated from field: float total_min_in_active_wp_with_2_participants = 16;
113
- */
114
- totalMinInActiveWpWith2Participants: number;
115
-
116
- /**
117
- * @generated from field: float total_min_in_active_wp_with_3_participants = 17;
118
- */
119
- totalMinInActiveWpWith3Participants: number;
120
-
121
- /**
122
- * @generated from field: float total_min_in_active_wp_with_4_participants = 18;
123
- */
124
- totalMinInActiveWpWith4Participants: number;
125
-
126
- constructor(data?: PartialMessage<DashboardOverviewResponseData>);
127
-
128
- static readonly runtime: typeof proto3;
129
- static readonly typeName = "streamlayer.analytics.v2.studio.DashboardOverviewResponseData";
130
- static readonly fields: FieldList;
131
-
132
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DashboardOverviewResponseData;
133
-
134
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DashboardOverviewResponseData;
135
-
136
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DashboardOverviewResponseData;
137
-
138
- static equals(a: DashboardOverviewResponseData | PlainMessage<DashboardOverviewResponseData> | undefined, b: DashboardOverviewResponseData | PlainMessage<DashboardOverviewResponseData> | undefined): boolean;
139
- }
140
-
141
- /**
142
- * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewRequestFilter
143
- */
144
- export declare class DashboardOverviewRequestFilter extends Message<DashboardOverviewRequestFilter> {
145
- /**
146
- * @generated from field: string organization_id = 1;
147
- */
148
- organizationId: string;
149
-
150
- /**
151
- * @generated from field: repeated uint64 event_ids = 2;
152
- */
153
- eventIds: bigint[];
154
-
155
- /**
156
- * @generated from field: streamlayer.analytics.v1.common.Period period = 3;
157
- */
158
- period?: Period;
159
-
160
- /**
161
- * @generated from field: string date = 4;
162
- */
163
- date: string;
164
-
165
- /**
166
- * @generated from field: repeated string countries = 5;
167
- */
168
- countries: string[];
169
-
170
- constructor(data?: PartialMessage<DashboardOverviewRequestFilter>);
171
-
172
- static readonly runtime: typeof proto3;
173
- static readonly typeName = "streamlayer.analytics.v2.studio.DashboardOverviewRequestFilter";
174
- static readonly fields: FieldList;
175
-
176
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DashboardOverviewRequestFilter;
177
-
178
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DashboardOverviewRequestFilter;
179
-
180
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DashboardOverviewRequestFilter;
181
-
182
- static equals(a: DashboardOverviewRequestFilter | PlainMessage<DashboardOverviewRequestFilter> | undefined, b: DashboardOverviewRequestFilter | PlainMessage<DashboardOverviewRequestFilter> | undefined): boolean;
183
- }
184
-
185
- /**
186
- * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewRequest
187
- */
188
- export declare class DashboardOverviewRequest extends Message<DashboardOverviewRequest> {
189
- /**
190
- * @generated from field: streamlayer.analytics.v2.studio.DashboardOverviewRequestFilter filter = 1;
191
- */
192
- filter?: DashboardOverviewRequestFilter;
193
-
194
- constructor(data?: PartialMessage<DashboardOverviewRequest>);
195
-
196
- static readonly runtime: typeof proto3;
197
- static readonly typeName = "streamlayer.analytics.v2.studio.DashboardOverviewRequest";
198
- static readonly fields: FieldList;
199
-
200
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DashboardOverviewRequest;
201
-
202
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DashboardOverviewRequest;
203
-
204
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DashboardOverviewRequest;
205
-
206
- static equals(a: DashboardOverviewRequest | PlainMessage<DashboardOverviewRequest> | undefined, b: DashboardOverviewRequest | PlainMessage<DashboardOverviewRequest> | undefined): boolean;
207
- }
208
-
209
- /**
210
- * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponse
211
- */
212
- export declare class DashboardOverviewResponse extends Message<DashboardOverviewResponse> {
213
- /**
214
- * @generated from field: streamlayer.analytics.v2.studio.DashboardOverviewResponseData data = 1;
215
- */
216
- data?: DashboardOverviewResponseData;
217
-
218
- /**
219
- * @generated from field: streamlayer.analytics.v2.studio.DashboardOverviewResponse.DashboardOverviewResponseMeta meta = 2;
220
- */
221
- meta?: DashboardOverviewResponse_DashboardOverviewResponseMeta;
222
-
223
- constructor(data?: PartialMessage<DashboardOverviewResponse>);
224
-
225
- static readonly runtime: typeof proto3;
226
- static readonly typeName = "streamlayer.analytics.v2.studio.DashboardOverviewResponse";
227
- static readonly fields: FieldList;
228
-
229
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DashboardOverviewResponse;
230
-
231
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DashboardOverviewResponse;
232
-
233
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DashboardOverviewResponse;
234
-
235
- static equals(a: DashboardOverviewResponse | PlainMessage<DashboardOverviewResponse> | undefined, b: DashboardOverviewResponse | PlainMessage<DashboardOverviewResponse> | undefined): boolean;
236
- }
237
-
238
- /**
239
- * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponse.DashboardOverviewResponseMeta
240
- */
241
- export declare class DashboardOverviewResponse_DashboardOverviewResponseMeta extends Message<DashboardOverviewResponse_DashboardOverviewResponseMeta> {
242
- /**
243
- * @generated from field: repeated uint64 event_ids = 1;
244
- */
245
- eventIds: bigint[];
246
-
247
- /**
248
- * @generated from field: int64 cache_created_at = 2;
249
- */
250
- cacheCreatedAt: bigint;
251
-
252
- constructor(data?: PartialMessage<DashboardOverviewResponse_DashboardOverviewResponseMeta>);
253
-
254
- static readonly runtime: typeof proto3;
255
- static readonly typeName = "streamlayer.analytics.v2.studio.DashboardOverviewResponse.DashboardOverviewResponseMeta";
256
- static readonly fields: FieldList;
257
-
258
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DashboardOverviewResponse_DashboardOverviewResponseMeta;
259
-
260
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DashboardOverviewResponse_DashboardOverviewResponseMeta;
261
-
262
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DashboardOverviewResponse_DashboardOverviewResponseMeta;
263
-
264
- static equals(a: DashboardOverviewResponse_DashboardOverviewResponseMeta | PlainMessage<DashboardOverviewResponse_DashboardOverviewResponseMeta> | undefined, b: DashboardOverviewResponse_DashboardOverviewResponseMeta | PlainMessage<DashboardOverviewResponse_DashboardOverviewResponseMeta> | undefined): boolean;
265
- }
266
-
@@ -1,82 +0,0 @@
1
- // @generated by protoc-gen-es v1.6.0 with parameter "target=js+dts"
2
- // @generated from file streamlayer/analytics/v2/studio/dashboardOverview.proto (package streamlayer.analytics.v2.studio, syntax proto3)
3
- /* eslint-disable */
4
- // @ts-nocheck
5
-
6
- import { proto3 } from "@bufbuild/protobuf";
7
- import { Period } from "../../v1/common/analytics.common_pb.js";
8
-
9
- /**
10
- * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponseData
11
- */
12
- export const DashboardOverviewResponseData = proto3.makeMessageType(
13
- "streamlayer.analytics.v2.studio.DashboardOverviewResponseData",
14
- () => [
15
- { no: 1, name: "total_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
16
- { no: 2, name: "total_registred_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
17
- { no: 3, name: "total_engagaed_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
18
- { no: 4, name: "total_interactions", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
19
- { no: 5, name: "live_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
20
- { no: 6, name: "live_engagaed_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
21
- { no: 7, name: "interactions_per_engaged_user", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
22
- { no: 8, name: "total_wp_started", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
23
- { no: 9, name: "total_users_engaged_with_wp", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
24
- { no: 10, name: "total_users_engaged_with_active_wp", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
25
- { no: 11, name: "total_active_wps", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
26
- { no: 12, name: "avg_participants_per_active_wp", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
27
- { no: 13, name: "avg_active_wp_session_duration", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
28
- { no: 14, name: "live_users_engaged_with_active_wp", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
29
- { no: 15, name: "live_active_wps", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
30
- { no: 16, name: "total_min_in_active_wp_with_2_participants", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
31
- { no: 17, name: "total_min_in_active_wp_with_3_participants", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
32
- { no: 18, name: "total_min_in_active_wp_with_4_participants", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
33
- ],
34
- );
35
-
36
- /**
37
- * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewRequestFilter
38
- */
39
- export const DashboardOverviewRequestFilter = proto3.makeMessageType(
40
- "streamlayer.analytics.v2.studio.DashboardOverviewRequestFilter",
41
- () => [
42
- { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
43
- { no: 2, name: "event_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
44
- { no: 3, name: "period", kind: "message", T: Period },
45
- { no: 4, name: "date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
46
- { no: 5, name: "countries", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
47
- ],
48
- );
49
-
50
- /**
51
- * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewRequest
52
- */
53
- export const DashboardOverviewRequest = proto3.makeMessageType(
54
- "streamlayer.analytics.v2.studio.DashboardOverviewRequest",
55
- () => [
56
- { no: 1, name: "filter", kind: "message", T: DashboardOverviewRequestFilter },
57
- ],
58
- );
59
-
60
- /**
61
- * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponse
62
- */
63
- export const DashboardOverviewResponse = proto3.makeMessageType(
64
- "streamlayer.analytics.v2.studio.DashboardOverviewResponse",
65
- () => [
66
- { no: 1, name: "data", kind: "message", T: DashboardOverviewResponseData },
67
- { no: 2, name: "meta", kind: "message", T: DashboardOverviewResponse_DashboardOverviewResponseMeta },
68
- ],
69
- );
70
-
71
- /**
72
- * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponse.DashboardOverviewResponseMeta
73
- */
74
- export const DashboardOverviewResponse_DashboardOverviewResponseMeta = proto3.makeMessageType(
75
- "streamlayer.analytics.v2.studio.DashboardOverviewResponse.DashboardOverviewResponseMeta",
76
- () => [
77
- { no: 1, name: "event_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
78
- { no: 2, name: "cache_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
79
- ],
80
- {localName: "DashboardOverviewResponse_DashboardOverviewResponseMeta"},
81
- );
82
-