@streamlayer/sl-eslib 5.89.2 → 5.90.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.89.2",
3
+ "version": "5.90.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -3,8 +3,9 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { DashboardOverviewRequest, DashboardOverviewResponse, DeviceInteractionsByTimeLineRequest, DeviceInteractionsByTimeLineResponse, FeaturedGroupsRequest, FeaturedGroupsResponse, ListCountriesRequest, ListCountriesResponse, PollsStatsByTimeLineRequest, PollsStatsByTimeLineResponse, UsersByTimeLineRequest, UsersByTimeLineResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
6
+ import { DashboardOverviewRequest, DashboardOverviewResponse, DeviceInteractionsByTimeLineRequest, DeviceInteractionsByTimeLineResponse, FeaturedGroupsRequest, FeaturedGroupsResponse, ListCountriesRequest, ListCountriesResponse, PollsStatsByTimeLineRequest, PollsStatsByTimeLineResponse, PollsTotalRequest, UsersByTimeLineRequest, UsersByTimeLineResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
+ import { TotalPollsResponse } from "../../v1/polls/polls_pb.js";
8
9
 
9
10
  /**
10
11
  * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.DashboardOverview
@@ -54,6 +55,18 @@ export const usersByTimeLine: {
54
55
  readonly typeName: "streamlayer.analytics.v2.studio.Dashboard"
55
56
  }
56
57
  };
58
+ /**
59
+ * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.PollsTotal
60
+ */
61
+ export const pollsTotal: {
62
+ readonly name: "PollsTotal",
63
+ readonly I: typeof PollsTotalRequest,
64
+ readonly O: typeof TotalPollsResponse,
65
+ readonly kind: MethodKind.Unary,
66
+ readonly service: {
67
+ readonly typeName: "streamlayer.analytics.v2.studio.Dashboard"
68
+ }
69
+ };
57
70
  /**
58
71
  * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.PollsStatsByTimeLine
59
72
  */
@@ -4,7 +4,8 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
- import { DashboardOverviewRequest, DashboardOverviewResponse, DeviceInteractionsByTimeLineRequest, DeviceInteractionsByTimeLineResponse, FeaturedGroupsRequest, FeaturedGroupsResponse, ListCountriesRequest, ListCountriesResponse, PollsStatsByTimeLineRequest, PollsStatsByTimeLineResponse, UsersByTimeLineRequest, UsersByTimeLineResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
7
+ import { DashboardOverviewRequest, DashboardOverviewResponse, DeviceInteractionsByTimeLineRequest, DeviceInteractionsByTimeLineResponse, FeaturedGroupsRequest, FeaturedGroupsResponse, ListCountriesRequest, ListCountriesResponse, PollsStatsByTimeLineRequest, PollsStatsByTimeLineResponse, PollsTotalRequest, UsersByTimeLineRequest, UsersByTimeLineResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
8
+ import { TotalPollsResponse } from "../../v1/polls/polls_pb.js";
8
9
 
9
10
  /**
10
11
  * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.DashboardOverview
@@ -62,6 +63,20 @@ export const usersByTimeLine = {
62
63
  }
63
64
  };
64
65
 
66
+ /**
67
+ * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.PollsTotal
68
+ */
69
+ export const pollsTotal = {
70
+ localName: "pollsTotal",
71
+ name: "PollsTotal",
72
+ kind: MethodKind.Unary,
73
+ I: PollsTotalRequest,
74
+ O: TotalPollsResponse,
75
+ service: {
76
+ typeName: "streamlayer.analytics.v2.studio.Dashboard"
77
+ }
78
+ };
79
+
65
80
  /**
66
81
  * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.PollsStatsByTimeLine
67
82
  */
@@ -3,8 +3,9 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { DashboardOverviewRequest, DashboardOverviewResponse, DeviceInteractionsByTimeLineRequest, DeviceInteractionsByTimeLineResponse, FeaturedGroupsRequest, FeaturedGroupsResponse, ListCountriesRequest, ListCountriesResponse, PollsStatsByTimeLineRequest, PollsStatsByTimeLineResponse, UsersByTimeLineRequest, UsersByTimeLineResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
6
+ import { DashboardOverviewRequest, DashboardOverviewResponse, DeviceInteractionsByTimeLineRequest, DeviceInteractionsByTimeLineResponse, FeaturedGroupsRequest, FeaturedGroupsResponse, ListCountriesRequest, ListCountriesResponse, PollsStatsByTimeLineRequest, PollsStatsByTimeLineResponse, PollsTotalRequest, UsersByTimeLineRequest, UsersByTimeLineResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
+ import { TotalPollsResponse } from "../../v1/polls/polls_pb.js";
8
9
 
9
10
  /**
10
11
  * @generated from service streamlayer.analytics.v2.studio.Dashboard
@@ -48,6 +49,15 @@ export declare const Dashboard: {
48
49
  readonly O: typeof UsersByTimeLineResponse,
49
50
  readonly kind: MethodKind.Unary,
50
51
  },
52
+ /**
53
+ * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.PollsTotal
54
+ */
55
+ readonly pollsTotal: {
56
+ readonly name: "PollsTotal",
57
+ readonly I: typeof PollsTotalRequest,
58
+ readonly O: typeof TotalPollsResponse,
59
+ readonly kind: MethodKind.Unary,
60
+ },
51
61
  /**
52
62
  * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.PollsStatsByTimeLine
53
63
  */
@@ -3,8 +3,9 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { DashboardOverviewRequest, DashboardOverviewResponse, DeviceInteractionsByTimeLineRequest, DeviceInteractionsByTimeLineResponse, FeaturedGroupsRequest, FeaturedGroupsResponse, ListCountriesRequest, ListCountriesResponse, PollsStatsByTimeLineRequest, PollsStatsByTimeLineResponse, UsersByTimeLineRequest, UsersByTimeLineResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
6
+ import { DashboardOverviewRequest, DashboardOverviewResponse, DeviceInteractionsByTimeLineRequest, DeviceInteractionsByTimeLineResponse, FeaturedGroupsRequest, FeaturedGroupsResponse, ListCountriesRequest, ListCountriesResponse, PollsStatsByTimeLineRequest, PollsStatsByTimeLineResponse, PollsTotalRequest, UsersByTimeLineRequest, UsersByTimeLineResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
+ import { TotalPollsResponse } from "../../v1/polls/polls_pb.js";
8
9
 
9
10
  /**
10
11
  * @generated from service streamlayer.analytics.v2.studio.Dashboard
@@ -48,6 +49,15 @@ export const Dashboard = {
48
49
  O: UsersByTimeLineResponse,
49
50
  kind: MethodKind.Unary,
50
51
  },
52
+ /**
53
+ * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.PollsTotal
54
+ */
55
+ pollsTotal: {
56
+ name: "PollsTotal",
57
+ I: PollsTotalRequest,
58
+ O: TotalPollsResponse,
59
+ kind: MethodKind.Unary,
60
+ },
51
61
  /**
52
62
  * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.PollsStatsByTimeLine
53
63
  */
@@ -6,7 +6,6 @@
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
9
 
11
10
  /**
12
11
  * @generated from enum streamlayer.analytics.v2.studio.WpType
@@ -80,6 +79,45 @@ export declare enum AggPeriod {
80
79
  AP_1MONTH = 30,
81
80
  }
82
81
 
82
+ /**
83
+ * @generated from message streamlayer.analytics.v2.studio.CardStatistics
84
+ */
85
+ export declare class CardStatistics extends Message<CardStatistics> {
86
+ /**
87
+ * @generated from field: int32 total = 1;
88
+ */
89
+ total: number;
90
+
91
+ /**
92
+ * @generated from field: int32 viewed = 2;
93
+ */
94
+ viewed: number;
95
+
96
+ /**
97
+ * @generated from field: int32 opened = 3;
98
+ */
99
+ opened: number;
100
+
101
+ /**
102
+ * @generated from field: int32 answered = 4;
103
+ */
104
+ answered: number;
105
+
106
+ constructor(data?: PartialMessage<CardStatistics>);
107
+
108
+ static readonly runtime: typeof proto3;
109
+ static readonly typeName = "streamlayer.analytics.v2.studio.CardStatistics";
110
+ static readonly fields: FieldList;
111
+
112
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CardStatistics;
113
+
114
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CardStatistics;
115
+
116
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CardStatistics;
117
+
118
+ static equals(a: CardStatistics | PlainMessage<CardStatistics> | undefined, b: CardStatistics | PlainMessage<CardStatistics> | undefined): boolean;
119
+ }
120
+
83
121
  /**
84
122
  * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponseData
85
123
  */
@@ -501,27 +539,27 @@ export declare class FeaturedGroupsResponseData extends Message<FeaturedGroupsRe
501
539
  totalInteractions: number;
502
540
 
503
541
  /**
504
- * @generated from field: streamlayer.analytics.v2.common.CardStatistics poll_card = 9;
542
+ * @generated from field: streamlayer.analytics.v2.studio.CardStatistics poll_card = 9;
505
543
  */
506
544
  pollCard?: CardStatistics;
507
545
 
508
546
  /**
509
- * @generated from field: streamlayer.analytics.v2.common.CardStatistics trivia_card = 10;
547
+ * @generated from field: streamlayer.analytics.v2.studio.CardStatistics trivia_card = 10;
510
548
  */
511
549
  triviaCard?: CardStatistics;
512
550
 
513
551
  /**
514
- * @generated from field: streamlayer.analytics.v2.common.CardStatistics prediction_card = 11;
552
+ * @generated from field: streamlayer.analytics.v2.studio.CardStatistics prediction_card = 11;
515
553
  */
516
554
  predictionCard?: CardStatistics;
517
555
 
518
556
  /**
519
- * @generated from field: streamlayer.analytics.v2.common.CardStatistics factoid_card = 12;
557
+ * @generated from field: streamlayer.analytics.v2.studio.CardStatistics factoid_card = 12;
520
558
  */
521
559
  factoidCard?: CardStatistics;
522
560
 
523
561
  /**
524
- * @generated from field: streamlayer.analytics.v2.common.CardStatistics twitter_card = 13;
562
+ * @generated from field: streamlayer.analytics.v2.studio.CardStatistics twitter_card = 13;
525
563
  */
526
564
  twitterCard?: CardStatistics;
527
565
 
@@ -892,6 +930,64 @@ export declare class PollsStatsByTimeLineRequest extends Message<PollsStatsByTim
892
930
  static equals(a: PollsStatsByTimeLineRequest | PlainMessage<PollsStatsByTimeLineRequest> | undefined, b: PollsStatsByTimeLineRequest | PlainMessage<PollsStatsByTimeLineRequest> | undefined): boolean;
893
931
  }
894
932
 
933
+ /**
934
+ * @generated from message streamlayer.analytics.v2.studio.PollsTotalRequest
935
+ */
936
+ export declare class PollsTotalRequest extends Message<PollsTotalRequest> {
937
+ /**
938
+ * @generated from field: streamlayer.analytics.v2.studio.PollsTotalRequest.PollsTotalRequestFilter filter = 1;
939
+ */
940
+ filter?: PollsTotalRequest_PollsTotalRequestFilter;
941
+
942
+ constructor(data?: PartialMessage<PollsTotalRequest>);
943
+
944
+ static readonly runtime: typeof proto3;
945
+ static readonly typeName = "streamlayer.analytics.v2.studio.PollsTotalRequest";
946
+ static readonly fields: FieldList;
947
+
948
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PollsTotalRequest;
949
+
950
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PollsTotalRequest;
951
+
952
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PollsTotalRequest;
953
+
954
+ static equals(a: PollsTotalRequest | PlainMessage<PollsTotalRequest> | undefined, b: PollsTotalRequest | PlainMessage<PollsTotalRequest> | undefined): boolean;
955
+ }
956
+
957
+ /**
958
+ * @generated from message streamlayer.analytics.v2.studio.PollsTotalRequest.PollsTotalRequestFilter
959
+ */
960
+ export declare class PollsTotalRequest_PollsTotalRequestFilter extends Message<PollsTotalRequest_PollsTotalRequestFilter> {
961
+ /**
962
+ * @generated from field: string organization_id = 1;
963
+ */
964
+ organizationId: string;
965
+
966
+ /**
967
+ * @generated from field: repeated uint64 event_ids = 2;
968
+ */
969
+ eventIds: bigint[];
970
+
971
+ /**
972
+ * @generated from field: repeated string topic_ids = 3;
973
+ */
974
+ topicIds: string[];
975
+
976
+ constructor(data?: PartialMessage<PollsTotalRequest_PollsTotalRequestFilter>);
977
+
978
+ static readonly runtime: typeof proto3;
979
+ static readonly typeName = "streamlayer.analytics.v2.studio.PollsTotalRequest.PollsTotalRequestFilter";
980
+ static readonly fields: FieldList;
981
+
982
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PollsTotalRequest_PollsTotalRequestFilter;
983
+
984
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PollsTotalRequest_PollsTotalRequestFilter;
985
+
986
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PollsTotalRequest_PollsTotalRequestFilter;
987
+
988
+ static equals(a: PollsTotalRequest_PollsTotalRequestFilter | PlainMessage<PollsTotalRequest_PollsTotalRequestFilter> | undefined, b: PollsTotalRequest_PollsTotalRequestFilter | PlainMessage<PollsTotalRequest_PollsTotalRequestFilter> | undefined): boolean;
989
+ }
990
+
895
991
  /**
896
992
  * @generated from message streamlayer.analytics.v2.studio.MetricsData
897
993
  */
@@ -5,7 +5,6 @@
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
8
 
10
9
  /**
11
10
  * @generated from enum streamlayer.analytics.v2.studio.WpType
@@ -33,6 +32,19 @@ export const AggPeriod = proto3.makeEnum(
33
32
  ],
34
33
  );
35
34
 
35
+ /**
36
+ * @generated from message streamlayer.analytics.v2.studio.CardStatistics
37
+ */
38
+ export const CardStatistics = proto3.makeMessageType(
39
+ "streamlayer.analytics.v2.studio.CardStatistics",
40
+ () => [
41
+ { no: 1, name: "total", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
42
+ { no: 2, name: "viewed", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
43
+ { no: 3, name: "opened", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
44
+ { no: 4, name: "answered", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
45
+ ],
46
+ );
47
+
36
48
  /**
37
49
  * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewResponseData
38
50
  */
@@ -276,6 +288,29 @@ export const PollsStatsByTimeLineRequest = proto3.makeMessageType(
276
288
  ],
277
289
  );
278
290
 
291
+ /**
292
+ * @generated from message streamlayer.analytics.v2.studio.PollsTotalRequest
293
+ */
294
+ export const PollsTotalRequest = proto3.makeMessageType(
295
+ "streamlayer.analytics.v2.studio.PollsTotalRequest",
296
+ () => [
297
+ { no: 1, name: "filter", kind: "message", T: PollsTotalRequest_PollsTotalRequestFilter },
298
+ ],
299
+ );
300
+
301
+ /**
302
+ * @generated from message streamlayer.analytics.v2.studio.PollsTotalRequest.PollsTotalRequestFilter
303
+ */
304
+ export const PollsTotalRequest_PollsTotalRequestFilter = proto3.makeMessageType(
305
+ "streamlayer.analytics.v2.studio.PollsTotalRequest.PollsTotalRequestFilter",
306
+ () => [
307
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
308
+ { no: 2, name: "event_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
309
+ { no: 3, name: "topic_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
310
+ ],
311
+ {localName: "PollsTotalRequest_PollsTotalRequestFilter"},
312
+ );
313
+
279
314
  /**
280
315
  * @generated from message streamlayer.analytics.v2.studio.MetricsData
281
316
  */
@@ -1,47 +0,0 @@
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
-
@@ -1,20 +0,0 @@
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
-