@streamlayer/sl-eslib 5.65.0 → 5.67.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.65.0",
3
+ "version": "5.67.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -0,0 +1,9 @@
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)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { UnaryHooks } from "@bufbuild/connect-query";
7
+ import { DashboardOverviewRequest, DashboardOverviewResponse } from "./dashboardOverview_pb.js";
8
+
9
+ export const dashboardOverview: UnaryHooks<DashboardOverviewRequest, DashboardOverviewResponse>;
@@ -0,0 +1,27 @@
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)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { createQueryService } from "@bufbuild/connect-query";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+ import { DashboardOverviewRequest, DashboardOverviewResponse } from "./dashboardOverview_pb.js";
9
+
10
+ export const typeName = "streamlayer.analytics.v2.studio.Dashboard";
11
+
12
+ /**
13
+ * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.DashboardOverview
14
+ */
15
+ export const dashboardOverview = createQueryService({
16
+ service: {
17
+ methods: {
18
+ dashboardOverview: {
19
+ name: "DashboardOverview",
20
+ kind: MethodKind.Unary,
21
+ I: DashboardOverviewRequest,
22
+ O: DashboardOverviewResponse,
23
+ },
24
+ },
25
+ typeName: "streamlayer.analytics.v2.studio.Dashboard",
26
+ },
27
+ }).dashboardOverview;
@@ -0,0 +1,26 @@
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)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { DashboardOverviewRequest, DashboardOverviewResponse } from "./dashboardOverview_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service streamlayer.analytics.v2.studio.Dashboard
11
+ */
12
+ export declare const Dashboard: {
13
+ readonly typeName: "streamlayer.analytics.v2.studio.Dashboard",
14
+ readonly methods: {
15
+ /**
16
+ * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.DashboardOverview
17
+ */
18
+ readonly dashboardOverview: {
19
+ readonly name: "DashboardOverview",
20
+ readonly I: typeof DashboardOverviewRequest,
21
+ readonly O: typeof DashboardOverviewResponse,
22
+ readonly kind: MethodKind.Unary,
23
+ },
24
+ }
25
+ };
26
+
@@ -0,0 +1,26 @@
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)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { DashboardOverviewRequest, DashboardOverviewResponse } from "./dashboardOverview_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service streamlayer.analytics.v2.studio.Dashboard
11
+ */
12
+ export const Dashboard = {
13
+ typeName: "streamlayer.analytics.v2.studio.Dashboard",
14
+ methods: {
15
+ /**
16
+ * @generated from rpc streamlayer.analytics.v2.studio.Dashboard.DashboardOverview
17
+ */
18
+ dashboardOverview: {
19
+ name: "DashboardOverview",
20
+ I: DashboardOverviewRequest,
21
+ O: DashboardOverviewResponse,
22
+ kind: MethodKind.Unary,
23
+ },
24
+ }
25
+ };
26
+
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
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 } from "../../v1/common/analytics.common_pb.js";
9
9
 
@@ -143,22 +143,27 @@ export declare class DashboardOverviewResponseData extends Message<DashboardOver
143
143
  */
144
144
  export declare class DashboardOverviewRequestFilter extends Message<DashboardOverviewRequestFilter> {
145
145
  /**
146
- * @generated from field: streamlayer.analytics.v1.common.Period period = 1;
146
+ * @generated from field: string organization_id = 1;
147
147
  */
148
- period?: Period;
148
+ organizationId: string;
149
149
 
150
150
  /**
151
- * @generated from field: google.protobuf.Timestamp date = 2;
151
+ * @generated from field: repeated uint64 event_ids = 2;
152
152
  */
153
- date?: Timestamp;
153
+ eventIds: bigint[];
154
154
 
155
155
  /**
156
- * @generated from field: repeated uint64 event_ids = 3;
156
+ * @generated from field: streamlayer.analytics.v1.common.Period period = 3;
157
157
  */
158
- eventIds: bigint[];
158
+ period?: Period;
159
+
160
+ /**
161
+ * @generated from field: string date = 4;
162
+ */
163
+ date: string;
159
164
 
160
165
  /**
161
- * @generated from field: repeated string countries = 4;
166
+ * @generated from field: repeated string countries = 5;
162
167
  */
163
168
  countries: string[];
164
169
 
@@ -177,30 +182,6 @@ export declare class DashboardOverviewRequestFilter extends Message<DashboardOve
177
182
  static equals(a: DashboardOverviewRequestFilter | PlainMessage<DashboardOverviewRequestFilter> | undefined, b: DashboardOverviewRequestFilter | PlainMessage<DashboardOverviewRequestFilter> | undefined): boolean;
178
183
  }
179
184
 
180
- /**
181
- * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewRequestOptions
182
- */
183
- export declare class DashboardOverviewRequestOptions extends Message<DashboardOverviewRequestOptions> {
184
- /**
185
- * @generated from field: repeated string metrics = 2;
186
- */
187
- metrics: string[];
188
-
189
- constructor(data?: PartialMessage<DashboardOverviewRequestOptions>);
190
-
191
- static readonly runtime: typeof proto3;
192
- static readonly typeName = "streamlayer.analytics.v2.studio.DashboardOverviewRequestOptions";
193
- static readonly fields: FieldList;
194
-
195
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DashboardOverviewRequestOptions;
196
-
197
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DashboardOverviewRequestOptions;
198
-
199
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DashboardOverviewRequestOptions;
200
-
201
- static equals(a: DashboardOverviewRequestOptions | PlainMessage<DashboardOverviewRequestOptions> | undefined, b: DashboardOverviewRequestOptions | PlainMessage<DashboardOverviewRequestOptions> | undefined): boolean;
202
- }
203
-
204
185
  /**
205
186
  * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewRequest
206
187
  */
@@ -210,16 +191,6 @@ export declare class DashboardOverviewRequest extends Message<DashboardOverviewR
210
191
  */
211
192
  filter?: DashboardOverviewRequestFilter;
212
193
 
213
- /**
214
- * @generated from field: streamlayer.analytics.v2.studio.DashboardOverviewRequestOptions options = 2;
215
- */
216
- options?: DashboardOverviewRequestOptions;
217
-
218
- /**
219
- * @generated from field: string organization_id = 3;
220
- */
221
- organizationId: string;
222
-
223
194
  constructor(data?: PartialMessage<DashboardOverviewRequest>);
224
195
 
225
196
  static readonly runtime: typeof proto3;
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { proto3, Timestamp } from "@bufbuild/protobuf";
6
+ import { proto3 } from "@bufbuild/protobuf";
7
7
  import { Period } from "../../v1/common/analytics.common_pb.js";
8
8
 
9
9
  /**
@@ -39,20 +39,11 @@ export const DashboardOverviewResponseData = proto3.makeMessageType(
39
39
  export const DashboardOverviewRequestFilter = proto3.makeMessageType(
40
40
  "streamlayer.analytics.v2.studio.DashboardOverviewRequestFilter",
41
41
  () => [
42
- { no: 1, name: "period", kind: "message", T: Period },
43
- { no: 2, name: "date", kind: "message", T: Timestamp },
44
- { no: 3, name: "event_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
45
- { no: 4, name: "countries", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
46
- ],
47
- );
48
-
49
- /**
50
- * @generated from message streamlayer.analytics.v2.studio.DashboardOverviewRequestOptions
51
- */
52
- export const DashboardOverviewRequestOptions = proto3.makeMessageType(
53
- "streamlayer.analytics.v2.studio.DashboardOverviewRequestOptions",
54
- () => [
55
- { no: 2, name: "metrics", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
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 },
56
47
  ],
57
48
  );
58
49
 
@@ -63,8 +54,6 @@ export const DashboardOverviewRequest = proto3.makeMessageType(
63
54
  "streamlayer.analytics.v2.studio.DashboardOverviewRequest",
64
55
  () => [
65
56
  { no: 1, name: "filter", kind: "message", T: DashboardOverviewRequestFilter },
66
- { no: 2, name: "options", kind: "message", T: DashboardOverviewRequestOptions },
67
- { no: 3, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
68
57
  ],
69
58
  );
70
59
 
@@ -616,6 +616,13 @@ export declare class BypassAuthRequest extends Message<BypassAuthRequest> {
616
616
  */
617
617
  init: boolean;
618
618
 
619
+ /**
620
+ * Used to pass user id who invites
621
+ *
622
+ * @generated from field: optional string inviter_key = 4;
623
+ */
624
+ inviterKey?: string;
625
+
619
626
  constructor(data?: PartialMessage<BypassAuthRequest>);
620
627
 
621
628
  static readonly runtime: typeof proto3;
@@ -679,6 +686,11 @@ export declare class BypassAuthResponse_AuthResponseMetadata extends Message<Byp
679
686
  */
680
687
  getstream: string;
681
688
 
689
+ /**
690
+ * @generated from field: optional string inviter_key = 5;
691
+ */
692
+ inviterKey?: string;
693
+
682
694
  constructor(data?: PartialMessage<BypassAuthResponse_AuthResponseMetadata>);
683
695
 
684
696
  static readonly runtime: typeof proto3;
@@ -231,6 +231,7 @@ export const BypassAuthRequest = proto3.makeMessageType(
231
231
  { no: 1, name: "user_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
232
232
  { no: 2, name: "schema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
233
233
  { no: 3, name: "init", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
234
+ { no: 4, name: "inviter_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
234
235
  ],
235
236
  );
236
237
 
@@ -254,6 +255,7 @@ export const BypassAuthResponse_AuthResponseMetadata = proto3.makeMessageType(
254
255
  { no: 1, name: "jwt", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
255
256
  { no: 3, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
256
257
  { no: 4, name: "getstream", kind: "scalar", T: 9 /* ScalarType.STRING */ },
258
+ { no: 5, name: "inviter_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
257
259
  ],
258
260
  {localName: "BypassAuthResponse_AuthResponseMetadata"},
259
261
  );