@streamlayer/sl-eslib 5.140.0 → 5.142.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/grpc/heartbeat/v1/heartbeat-HeartBeat_connectquery.d.ts +20 -0
- package/grpc/heartbeat/v1/heartbeat-HeartBeat_connectquery.js +21 -0
- package/grpc/heartbeat/v1/heartbeat_connect.d.ts +26 -0
- package/grpc/heartbeat/v1/heartbeat_connect.js +26 -0
- package/grpc/heartbeat/v1/heartbeat_pb.d.ts +46 -0
- package/grpc/heartbeat/v1/heartbeat_pb.js +23 -0
- package/package.json +1 -1
- package/streamlayer/interactive/interactive.common_pb.d.ts +30 -0
- package/streamlayer/interactive/interactive.common_pb.js +14 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.3.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file grpc/heartbeat/v1/heartbeat.proto (package grpc.heartbeat.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { HeartBeatCheckRequest, HeartBeatCheckResponse } from "./heartbeat_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from rpc grpc.heartbeat.v1.HeartBeat.Check
|
|
11
|
+
*/
|
|
12
|
+
export const check: {
|
|
13
|
+
readonly name: "Check",
|
|
14
|
+
readonly I: typeof HeartBeatCheckRequest,
|
|
15
|
+
readonly O: typeof HeartBeatCheckResponse,
|
|
16
|
+
readonly kind: MethodKind.Unary,
|
|
17
|
+
readonly service: {
|
|
18
|
+
readonly typeName: "grpc.heartbeat.v1.HeartBeat"
|
|
19
|
+
}
|
|
20
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.3.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file grpc/heartbeat/v1/heartbeat.proto (package grpc.heartbeat.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
import { HeartBeatCheckRequest, HeartBeatCheckResponse } from "./heartbeat_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from rpc grpc.heartbeat.v1.HeartBeat.Check
|
|
11
|
+
*/
|
|
12
|
+
export const check = {
|
|
13
|
+
localName: "check",
|
|
14
|
+
name: "Check",
|
|
15
|
+
kind: MethodKind.Unary,
|
|
16
|
+
I: HeartBeatCheckRequest,
|
|
17
|
+
O: HeartBeatCheckResponse,
|
|
18
|
+
service: {
|
|
19
|
+
typeName: "grpc.heartbeat.v1.HeartBeat"
|
|
20
|
+
}
|
|
21
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file grpc/heartbeat/v1/heartbeat.proto (package grpc.heartbeat.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { HeartBeatCheckRequest, HeartBeatCheckResponse } from "./heartbeat_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service grpc.heartbeat.v1.HeartBeat
|
|
11
|
+
*/
|
|
12
|
+
export declare const HeartBeat: {
|
|
13
|
+
readonly typeName: "grpc.heartbeat.v1.HeartBeat",
|
|
14
|
+
readonly methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc grpc.heartbeat.v1.HeartBeat.Check
|
|
17
|
+
*/
|
|
18
|
+
readonly check: {
|
|
19
|
+
readonly name: "Check",
|
|
20
|
+
readonly I: typeof HeartBeatCheckRequest,
|
|
21
|
+
readonly O: typeof HeartBeatCheckResponse,
|
|
22
|
+
readonly kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file grpc/heartbeat/v1/heartbeat.proto (package grpc.heartbeat.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { HeartBeatCheckRequest, HeartBeatCheckResponse } from "./heartbeat_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service grpc.heartbeat.v1.HeartBeat
|
|
11
|
+
*/
|
|
12
|
+
export const HeartBeat = {
|
|
13
|
+
typeName: "grpc.heartbeat.v1.HeartBeat",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc grpc.heartbeat.v1.HeartBeat.Check
|
|
17
|
+
*/
|
|
18
|
+
check: {
|
|
19
|
+
name: "Check",
|
|
20
|
+
I: HeartBeatCheckRequest,
|
|
21
|
+
O: HeartBeatCheckResponse,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file grpc/heartbeat/v1/heartbeat.proto (package grpc.heartbeat.v1, 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 grpc.heartbeat.v1.HeartBeatCheckRequest
|
|
11
|
+
*/
|
|
12
|
+
export declare class HeartBeatCheckRequest extends Message<HeartBeatCheckRequest> {
|
|
13
|
+
constructor(data?: PartialMessage<HeartBeatCheckRequest>);
|
|
14
|
+
|
|
15
|
+
static readonly runtime: typeof proto3;
|
|
16
|
+
static readonly typeName = "grpc.heartbeat.v1.HeartBeatCheckRequest";
|
|
17
|
+
static readonly fields: FieldList;
|
|
18
|
+
|
|
19
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HeartBeatCheckRequest;
|
|
20
|
+
|
|
21
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HeartBeatCheckRequest;
|
|
22
|
+
|
|
23
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HeartBeatCheckRequest;
|
|
24
|
+
|
|
25
|
+
static equals(a: HeartBeatCheckRequest | PlainMessage<HeartBeatCheckRequest> | undefined, b: HeartBeatCheckRequest | PlainMessage<HeartBeatCheckRequest> | undefined): boolean;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from message grpc.heartbeat.v1.HeartBeatCheckResponse
|
|
30
|
+
*/
|
|
31
|
+
export declare class HeartBeatCheckResponse extends Message<HeartBeatCheckResponse> {
|
|
32
|
+
constructor(data?: PartialMessage<HeartBeatCheckResponse>);
|
|
33
|
+
|
|
34
|
+
static readonly runtime: typeof proto3;
|
|
35
|
+
static readonly typeName = "grpc.heartbeat.v1.HeartBeatCheckResponse";
|
|
36
|
+
static readonly fields: FieldList;
|
|
37
|
+
|
|
38
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HeartBeatCheckResponse;
|
|
39
|
+
|
|
40
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HeartBeatCheckResponse;
|
|
41
|
+
|
|
42
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HeartBeatCheckResponse;
|
|
43
|
+
|
|
44
|
+
static equals(a: HeartBeatCheckResponse | PlainMessage<HeartBeatCheckResponse> | undefined, b: HeartBeatCheckResponse | PlainMessage<HeartBeatCheckResponse> | undefined): boolean;
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file grpc/heartbeat/v1/heartbeat.proto (package grpc.heartbeat.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message grpc.heartbeat.v1.HeartBeatCheckRequest
|
|
10
|
+
*/
|
|
11
|
+
export const HeartBeatCheckRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
12
|
+
"grpc.heartbeat.v1.HeartBeatCheckRequest",
|
|
13
|
+
[],
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @generated from message grpc.heartbeat.v1.HeartBeatCheckResponse
|
|
18
|
+
*/
|
|
19
|
+
export const HeartBeatCheckResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
20
|
+
"grpc.heartbeat.v1.HeartBeatCheckResponse",
|
|
21
|
+
[],
|
|
22
|
+
);
|
|
23
|
+
|
package/package.json
CHANGED
|
@@ -386,6 +386,31 @@ export declare enum PromotionButtonType {
|
|
|
386
386
|
* @generated from enum value: PROMOTION_BUTTON_TYPE_NO_BUTTON = 5;
|
|
387
387
|
*/
|
|
388
388
|
NO_BUTTON = 5,
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @generated from enum value: PROMOTION_BUTTON_TYPE_SEND_TO_USER = 6;
|
|
392
|
+
*/
|
|
393
|
+
SEND_TO_USER = 6,
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* @generated from enum streamlayer.interactive.UserAccountInfo
|
|
398
|
+
*/
|
|
399
|
+
export declare enum UserAccountInfo {
|
|
400
|
+
/**
|
|
401
|
+
* @generated from enum value: USER_ACCOUNT_INFO_UNSET = 0;
|
|
402
|
+
*/
|
|
403
|
+
UNSET = 0,
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* @generated from enum value: USER_ACCOUNT_INFO_EMAIL = 1;
|
|
407
|
+
*/
|
|
408
|
+
EMAIL = 1,
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* @generated from enum value: USER_ACCOUNT_INFO_PHONE = 2;
|
|
412
|
+
*/
|
|
413
|
+
PHONE = 2,
|
|
389
414
|
}
|
|
390
415
|
|
|
391
416
|
/**
|
|
@@ -2100,6 +2125,11 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
|
|
|
2100
2125
|
*/
|
|
2101
2126
|
backgroundImagePortraitUrl?: string;
|
|
2102
2127
|
|
|
2128
|
+
/**
|
|
2129
|
+
* @generated from field: optional streamlayer.interactive.UserAccountInfo user_account_info = 16;
|
|
2130
|
+
*/
|
|
2131
|
+
userAccountInfo?: UserAccountInfo;
|
|
2132
|
+
|
|
2103
2133
|
constructor(data?: PartialMessage<QuestionOptions_PromotionOptions>);
|
|
2104
2134
|
|
|
2105
2135
|
static readonly runtime: typeof proto3;
|
|
@@ -192,6 +192,19 @@ export const PromotionButtonType = /*@__PURE__*/ proto3.makeEnum(
|
|
|
192
192
|
{no: 3, name: "PROMOTION_BUTTON_TYPE_ADD_TO_WALLET", localName: "ADD_TO_WALLET"},
|
|
193
193
|
{no: 4, name: "PROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO", localName: "RETURN_TO_VIDEO"},
|
|
194
194
|
{no: 5, name: "PROMOTION_BUTTON_TYPE_NO_BUTTON", localName: "NO_BUTTON"},
|
|
195
|
+
{no: 6, name: "PROMOTION_BUTTON_TYPE_SEND_TO_USER", localName: "SEND_TO_USER"},
|
|
196
|
+
],
|
|
197
|
+
);
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @generated from enum streamlayer.interactive.UserAccountInfo
|
|
201
|
+
*/
|
|
202
|
+
export const UserAccountInfo = /*@__PURE__*/ proto3.makeEnum(
|
|
203
|
+
"streamlayer.interactive.UserAccountInfo",
|
|
204
|
+
[
|
|
205
|
+
{no: 0, name: "USER_ACCOUNT_INFO_UNSET", localName: "UNSET"},
|
|
206
|
+
{no: 1, name: "USER_ACCOUNT_INFO_EMAIL", localName: "EMAIL"},
|
|
207
|
+
{no: 2, name: "USER_ACCOUNT_INFO_PHONE", localName: "PHONE"},
|
|
195
208
|
],
|
|
196
209
|
);
|
|
197
210
|
|
|
@@ -709,6 +722,7 @@ export const QuestionOptions_PromotionOptions = /*@__PURE__*/ proto3.makeMessage
|
|
|
709
722
|
{ no: 13, name: "auto_play_video", kind: "enum", T: proto3.getEnumType(AutoPlayVideo), opt: true },
|
|
710
723
|
{ no: 14, name: "background_image_landscape_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
711
724
|
{ no: 15, name: "background_image_portrait_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
725
|
+
{ no: 16, name: "user_account_info", kind: "enum", T: proto3.getEnumType(UserAccountInfo), opt: true },
|
|
712
726
|
],
|
|
713
727
|
{localName: "QuestionOptions_PromotionOptions"},
|
|
714
728
|
);
|