@streamlayer/sl-eslib 5.70.0 → 5.71.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 +1 -1
- package/streamlayer/analytics/v2/studio/dashboard-Dashboard_connectquery.d.ts +2 -1
- package/streamlayer/analytics/v2/studio/dashboard-Dashboard_connectquery.js +18 -1
- package/streamlayer/analytics/v2/studio/dashboard_connect.d.ts +10 -1
- package/streamlayer/analytics/v2/studio/dashboard_connect.js +10 -1
- package/streamlayer/analytics/v2/studio/dashboard_pb.d.ts +138 -4
- package/streamlayer/analytics/v2/studio/dashboard_pb.js +54 -2
package/package.json
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
6
|
import { UnaryHooks } from "@bufbuild/connect-query";
|
|
7
|
-
import { DashboardOverviewRequest, DashboardOverviewResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
|
|
7
|
+
import { DashboardOverviewRequest, DashboardOverviewResponse, ListCountriesRequest, ListCountriesResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
|
|
8
8
|
|
|
9
9
|
export const dashboardOverview: UnaryHooks<DashboardOverviewRequest, DashboardOverviewResponse>;
|
|
10
10
|
export const wpMetricsByTimeLine: UnaryHooks<WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse>;
|
|
11
|
+
export const listCountries: UnaryHooks<ListCountriesRequest, ListCountriesResponse>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { createQueryService } from "@bufbuild/connect-query";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
import { DashboardOverviewRequest, DashboardOverviewResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
|
|
8
|
+
import { DashboardOverviewRequest, DashboardOverviewResponse, ListCountriesRequest, ListCountriesResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
|
|
9
9
|
|
|
10
10
|
export const typeName = "streamlayer.analytics.v2.studio.Dashboard";
|
|
11
11
|
|
|
@@ -42,3 +42,20 @@ export const wpMetricsByTimeLine = createQueryService({
|
|
|
42
42
|
typeName: "streamlayer.analytics.v2.studio.Dashboard",
|
|
43
43
|
},
|
|
44
44
|
}).wpMetricsByTimeLine;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @generated from rpc streamlayer.analytics.v2.studio.Dashboard.ListCountries
|
|
48
|
+
*/
|
|
49
|
+
export const listCountries = createQueryService({
|
|
50
|
+
service: {
|
|
51
|
+
methods: {
|
|
52
|
+
listCountries: {
|
|
53
|
+
name: "ListCountries",
|
|
54
|
+
kind: MethodKind.Unary,
|
|
55
|
+
I: ListCountriesRequest,
|
|
56
|
+
O: ListCountriesResponse,
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
typeName: "streamlayer.analytics.v2.studio.Dashboard",
|
|
60
|
+
},
|
|
61
|
+
}).listCountries;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { DashboardOverviewRequest, DashboardOverviewResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
|
|
6
|
+
import { DashboardOverviewRequest, DashboardOverviewResponse, ListCountriesRequest, ListCountriesResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -30,6 +30,15 @@ export declare const Dashboard: {
|
|
|
30
30
|
readonly O: typeof WpMetricsByTimeLineResponse,
|
|
31
31
|
readonly kind: MethodKind.Unary,
|
|
32
32
|
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc streamlayer.analytics.v2.studio.Dashboard.ListCountries
|
|
35
|
+
*/
|
|
36
|
+
readonly listCountries: {
|
|
37
|
+
readonly name: "ListCountries",
|
|
38
|
+
readonly I: typeof ListCountriesRequest,
|
|
39
|
+
readonly O: typeof ListCountriesResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
33
42
|
}
|
|
34
43
|
};
|
|
35
44
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { DashboardOverviewRequest, DashboardOverviewResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
|
|
6
|
+
import { DashboardOverviewRequest, DashboardOverviewResponse, ListCountriesRequest, ListCountriesResponse, WpMetricsByTimeLineRequest, WpMetricsByTimeLineResponse } from "./dashboard_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -30,6 +30,15 @@ export const Dashboard = {
|
|
|
30
30
|
O: WpMetricsByTimeLineResponse,
|
|
31
31
|
kind: MethodKind.Unary,
|
|
32
32
|
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc streamlayer.analytics.v2.studio.Dashboard.ListCountries
|
|
35
|
+
*/
|
|
36
|
+
listCountries: {
|
|
37
|
+
name: "ListCountries",
|
|
38
|
+
I: ListCountriesRequest,
|
|
39
|
+
O: ListCountriesResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
33
42
|
}
|
|
34
43
|
};
|
|
35
44
|
|
|
@@ -64,9 +64,9 @@ export declare class DashboardOverviewResponseData extends Message<DashboardOver
|
|
|
64
64
|
totalRegistredViewers: number;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* @generated from field: int32
|
|
67
|
+
* @generated from field: int32 total_engaged_viewers = 3;
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
totalEngagedViewers: number;
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @generated from field: int32 total_interactions = 4;
|
|
@@ -79,9 +79,9 @@ export declare class DashboardOverviewResponseData extends Message<DashboardOver
|
|
|
79
79
|
liveViewers: number;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* @generated from field: int32
|
|
82
|
+
* @generated from field: int32 live_engaged_viewers = 6;
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
liveEngagedViewers: number;
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* @generated from field: int32 interactions_per_engaged_user = 7;
|
|
@@ -534,3 +534,137 @@ export declare class WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta
|
|
|
534
534
|
static equals(a: WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta | PlainMessage<WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta> | undefined, b: WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta | PlainMessage<WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta> | undefined): boolean;
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
+
/**
|
|
538
|
+
* @generated from message streamlayer.analytics.v2.studio.ListCountriesRequestFilter
|
|
539
|
+
*/
|
|
540
|
+
export declare class ListCountriesRequestFilter extends Message<ListCountriesRequestFilter> {
|
|
541
|
+
/**
|
|
542
|
+
* @generated from field: string organization_id = 1;
|
|
543
|
+
*/
|
|
544
|
+
organizationId: string;
|
|
545
|
+
|
|
546
|
+
constructor(data?: PartialMessage<ListCountriesRequestFilter>);
|
|
547
|
+
|
|
548
|
+
static readonly runtime: typeof proto3;
|
|
549
|
+
static readonly typeName = "streamlayer.analytics.v2.studio.ListCountriesRequestFilter";
|
|
550
|
+
static readonly fields: FieldList;
|
|
551
|
+
|
|
552
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListCountriesRequestFilter;
|
|
553
|
+
|
|
554
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListCountriesRequestFilter;
|
|
555
|
+
|
|
556
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListCountriesRequestFilter;
|
|
557
|
+
|
|
558
|
+
static equals(a: ListCountriesRequestFilter | PlainMessage<ListCountriesRequestFilter> | undefined, b: ListCountriesRequestFilter | PlainMessage<ListCountriesRequestFilter> | undefined): boolean;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* @generated from message streamlayer.analytics.v2.studio.ListCountriesRequest
|
|
563
|
+
*/
|
|
564
|
+
export declare class ListCountriesRequest extends Message<ListCountriesRequest> {
|
|
565
|
+
/**
|
|
566
|
+
* @generated from field: streamlayer.analytics.v2.studio.ListCountriesRequestFilter filter = 1;
|
|
567
|
+
*/
|
|
568
|
+
filter?: ListCountriesRequestFilter;
|
|
569
|
+
|
|
570
|
+
constructor(data?: PartialMessage<ListCountriesRequest>);
|
|
571
|
+
|
|
572
|
+
static readonly runtime: typeof proto3;
|
|
573
|
+
static readonly typeName = "streamlayer.analytics.v2.studio.ListCountriesRequest";
|
|
574
|
+
static readonly fields: FieldList;
|
|
575
|
+
|
|
576
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListCountriesRequest;
|
|
577
|
+
|
|
578
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListCountriesRequest;
|
|
579
|
+
|
|
580
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListCountriesRequest;
|
|
581
|
+
|
|
582
|
+
static equals(a: ListCountriesRequest | PlainMessage<ListCountriesRequest> | undefined, b: ListCountriesRequest | PlainMessage<ListCountriesRequest> | undefined): boolean;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* @generated from message streamlayer.analytics.v2.studio.ListCountriesResponseData
|
|
587
|
+
*/
|
|
588
|
+
export declare class ListCountriesResponseData extends Message<ListCountriesResponseData> {
|
|
589
|
+
/**
|
|
590
|
+
* "United States"
|
|
591
|
+
*
|
|
592
|
+
* @generated from field: string country = 1;
|
|
593
|
+
*/
|
|
594
|
+
country: string;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* "US"
|
|
598
|
+
*
|
|
599
|
+
* @generated from field: string alpha2 = 2;
|
|
600
|
+
*/
|
|
601
|
+
alpha2: string;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* @generated from field: int32 cnt = 3;
|
|
605
|
+
*/
|
|
606
|
+
cnt: number;
|
|
607
|
+
|
|
608
|
+
constructor(data?: PartialMessage<ListCountriesResponseData>);
|
|
609
|
+
|
|
610
|
+
static readonly runtime: typeof proto3;
|
|
611
|
+
static readonly typeName = "streamlayer.analytics.v2.studio.ListCountriesResponseData";
|
|
612
|
+
static readonly fields: FieldList;
|
|
613
|
+
|
|
614
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListCountriesResponseData;
|
|
615
|
+
|
|
616
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListCountriesResponseData;
|
|
617
|
+
|
|
618
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListCountriesResponseData;
|
|
619
|
+
|
|
620
|
+
static equals(a: ListCountriesResponseData | PlainMessage<ListCountriesResponseData> | undefined, b: ListCountriesResponseData | PlainMessage<ListCountriesResponseData> | undefined): boolean;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* @generated from message streamlayer.analytics.v2.studio.ListCountriesResponse
|
|
625
|
+
*/
|
|
626
|
+
export declare class ListCountriesResponse extends Message<ListCountriesResponse> {
|
|
627
|
+
/**
|
|
628
|
+
* @generated from field: repeated streamlayer.analytics.v2.studio.ListCountriesResponseData data = 1;
|
|
629
|
+
*/
|
|
630
|
+
data: ListCountriesResponseData[];
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* @generated from field: streamlayer.analytics.v2.studio.ListCountriesResponse.ListCountriesResponseMeta meta = 2;
|
|
634
|
+
*/
|
|
635
|
+
meta?: ListCountriesResponse_ListCountriesResponseMeta;
|
|
636
|
+
|
|
637
|
+
constructor(data?: PartialMessage<ListCountriesResponse>);
|
|
638
|
+
|
|
639
|
+
static readonly runtime: typeof proto3;
|
|
640
|
+
static readonly typeName = "streamlayer.analytics.v2.studio.ListCountriesResponse";
|
|
641
|
+
static readonly fields: FieldList;
|
|
642
|
+
|
|
643
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListCountriesResponse;
|
|
644
|
+
|
|
645
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListCountriesResponse;
|
|
646
|
+
|
|
647
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListCountriesResponse;
|
|
648
|
+
|
|
649
|
+
static equals(a: ListCountriesResponse | PlainMessage<ListCountriesResponse> | undefined, b: ListCountriesResponse | PlainMessage<ListCountriesResponse> | undefined): boolean;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* @generated from message streamlayer.analytics.v2.studio.ListCountriesResponse.ListCountriesResponseMeta
|
|
654
|
+
*/
|
|
655
|
+
export declare class ListCountriesResponse_ListCountriesResponseMeta extends Message<ListCountriesResponse_ListCountriesResponseMeta> {
|
|
656
|
+
constructor(data?: PartialMessage<ListCountriesResponse_ListCountriesResponseMeta>);
|
|
657
|
+
|
|
658
|
+
static readonly runtime: typeof proto3;
|
|
659
|
+
static readonly typeName = "streamlayer.analytics.v2.studio.ListCountriesResponse.ListCountriesResponseMeta";
|
|
660
|
+
static readonly fields: FieldList;
|
|
661
|
+
|
|
662
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListCountriesResponse_ListCountriesResponseMeta;
|
|
663
|
+
|
|
664
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListCountriesResponse_ListCountriesResponseMeta;
|
|
665
|
+
|
|
666
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListCountriesResponse_ListCountriesResponseMeta;
|
|
667
|
+
|
|
668
|
+
static equals(a: ListCountriesResponse_ListCountriesResponseMeta | PlainMessage<ListCountriesResponse_ListCountriesResponseMeta> | undefined, b: ListCountriesResponse_ListCountriesResponseMeta | PlainMessage<ListCountriesResponse_ListCountriesResponseMeta> | undefined): boolean;
|
|
669
|
+
}
|
|
670
|
+
|
|
@@ -27,10 +27,10 @@ export const DashboardOverviewResponseData = proto3.makeMessageType(
|
|
|
27
27
|
() => [
|
|
28
28
|
{ no: 1, name: "total_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
29
29
|
{ no: 2, name: "total_registred_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
30
|
-
{ no: 3, name: "
|
|
30
|
+
{ no: 3, name: "total_engaged_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
31
31
|
{ no: 4, name: "total_interactions", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
32
32
|
{ no: 5, name: "live_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
33
|
-
{ no: 6, name: "
|
|
33
|
+
{ no: 6, name: "live_engaged_viewers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
34
34
|
{ no: 7, name: "interactions_per_engaged_user", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
35
35
|
{ no: 8, name: "total_wp_started", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
36
36
|
{ no: 9, name: "users_engaged_with_wp", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
@@ -161,3 +161,55 @@ export const WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta = proto
|
|
|
161
161
|
{localName: "WpMetricsByTimeLineResponse_WpMetricsByTimeLineResponseMeta"},
|
|
162
162
|
);
|
|
163
163
|
|
|
164
|
+
/**
|
|
165
|
+
* @generated from message streamlayer.analytics.v2.studio.ListCountriesRequestFilter
|
|
166
|
+
*/
|
|
167
|
+
export const ListCountriesRequestFilter = proto3.makeMessageType(
|
|
168
|
+
"streamlayer.analytics.v2.studio.ListCountriesRequestFilter",
|
|
169
|
+
() => [
|
|
170
|
+
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
171
|
+
],
|
|
172
|
+
);
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @generated from message streamlayer.analytics.v2.studio.ListCountriesRequest
|
|
176
|
+
*/
|
|
177
|
+
export const ListCountriesRequest = proto3.makeMessageType(
|
|
178
|
+
"streamlayer.analytics.v2.studio.ListCountriesRequest",
|
|
179
|
+
() => [
|
|
180
|
+
{ no: 1, name: "filter", kind: "message", T: ListCountriesRequestFilter },
|
|
181
|
+
],
|
|
182
|
+
);
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @generated from message streamlayer.analytics.v2.studio.ListCountriesResponseData
|
|
186
|
+
*/
|
|
187
|
+
export const ListCountriesResponseData = proto3.makeMessageType(
|
|
188
|
+
"streamlayer.analytics.v2.studio.ListCountriesResponseData",
|
|
189
|
+
() => [
|
|
190
|
+
{ no: 1, name: "country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
191
|
+
{ no: 2, name: "alpha2", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
192
|
+
{ no: 3, name: "cnt", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
193
|
+
],
|
|
194
|
+
);
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @generated from message streamlayer.analytics.v2.studio.ListCountriesResponse
|
|
198
|
+
*/
|
|
199
|
+
export const ListCountriesResponse = proto3.makeMessageType(
|
|
200
|
+
"streamlayer.analytics.v2.studio.ListCountriesResponse",
|
|
201
|
+
() => [
|
|
202
|
+
{ no: 1, name: "data", kind: "message", T: ListCountriesResponseData, repeated: true },
|
|
203
|
+
{ no: 2, name: "meta", kind: "message", T: ListCountriesResponse_ListCountriesResponseMeta },
|
|
204
|
+
],
|
|
205
|
+
);
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @generated from message streamlayer.analytics.v2.studio.ListCountriesResponse.ListCountriesResponseMeta
|
|
209
|
+
*/
|
|
210
|
+
export const ListCountriesResponse_ListCountriesResponseMeta = proto3.makeMessageType(
|
|
211
|
+
"streamlayer.analytics.v2.studio.ListCountriesResponse.ListCountriesResponseMeta",
|
|
212
|
+
[],
|
|
213
|
+
{localName: "ListCountriesResponse_ListCountriesResponseMeta"},
|
|
214
|
+
);
|
|
215
|
+
|