@streamlayer/sl-eslib 5.148.2 → 5.149.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.148.2",
3
+ "version": "5.149.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -545,9 +545,19 @@ export declare enum TopicSubType {
545
545
  PROMOTION_PICTURE_IN_PICTURE = 10,
546
546
 
547
547
  /**
548
- * @generated from enum value: TOPIC_SUB_TYPE_PROMOTION_SHOP = 11;
548
+ * @generated from enum value: TOPIC_SUB_TYPE_PROMOTION_SHOP_LBAR = 11;
549
549
  */
550
- PROMOTION_SHOP = 11,
550
+ PROMOTION_SHOP_LBAR = 11,
551
+
552
+ /**
553
+ * @generated from enum value: TOPIC_SUB_TYPE_PROMOTION_SHOP_OVERLAY = 12;
554
+ */
555
+ PROMOTION_SHOP_OVERLAY = 12,
556
+
557
+ /**
558
+ * @generated from enum value: TOPIC_SUB_TYPE_PROMOTION_SHOP_SIDEBAR = 13;
559
+ */
560
+ PROMOTION_SHOP_SIDEBAR = 13,
551
561
  }
552
562
 
553
563
  /**
@@ -161,7 +161,9 @@ export const TopicSubType = /*@__PURE__*/ proto3.makeEnum(
161
161
  {no: 8, name: "TOPIC_SUB_TYPE_PROMOTION_GAM", localName: "PROMOTION_GAM"},
162
162
  {no: 9, name: "TOPIC_SUB_TYPE_PROMOTION_VIDEO_SIDE_BY_SIDE", localName: "PROMOTION_VIDEO_SIDE_BY_SIDE"},
163
163
  {no: 10, name: "TOPIC_SUB_TYPE_PROMOTION_PICTURE_IN_PICTURE", localName: "PROMOTION_PICTURE_IN_PICTURE"},
164
- {no: 11, name: "TOPIC_SUB_TYPE_PROMOTION_SHOP", localName: "PROMOTION_SHOP"},
164
+ {no: 11, name: "TOPIC_SUB_TYPE_PROMOTION_SHOP_LBAR", localName: "PROMOTION_SHOP_LBAR"},
165
+ {no: 12, name: "TOPIC_SUB_TYPE_PROMOTION_SHOP_OVERLAY", localName: "PROMOTION_SHOP_OVERLAY"},
166
+ {no: 13, name: "TOPIC_SUB_TYPE_PROMOTION_SHOP_SIDEBAR", localName: "PROMOTION_SHOP_SIDEBAR"},
165
167
  ],
166
168
  );
167
169
 
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { FeedItemRequest, FeedItemResponse, FeedListRequest, FeedListResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse } from "./interactive.feed_pb.js";
6
+ import { BetPackRequest, BetPackResponse, FeedItemRequest, FeedItemResponse, FeedListRequest, FeedListResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse } from "./interactive.feed_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -174,3 +174,15 @@ export const item: {
174
174
  readonly typeName: "streamlayer.interactive.feed.Feed"
175
175
  }
176
176
  };
177
+ /**
178
+ * @generated from rpc streamlayer.interactive.feed.Feed.BetPack
179
+ */
180
+ export const betPack: {
181
+ readonly name: "BetPack",
182
+ readonly I: typeof BetPackRequest,
183
+ readonly O: typeof BetPackResponse,
184
+ readonly kind: MethodKind.Unary,
185
+ readonly service: {
186
+ readonly typeName: "streamlayer.interactive.feed.Feed"
187
+ }
188
+ };
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
- import { FeedItemRequest, FeedItemResponse, FeedListRequest, FeedListResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse } from "./interactive.feed_pb.js";
7
+ import { BetPackRequest, BetPackResponse, FeedItemRequest, FeedItemResponse, FeedListRequest, FeedListResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse } from "./interactive.feed_pb.js";
8
8
 
9
9
  /**
10
10
  * @generated from rpc streamlayer.interactive.feed.Feed.Get
@@ -201,3 +201,17 @@ export const item = {
201
201
  typeName: "streamlayer.interactive.feed.Feed"
202
202
  }
203
203
  };
204
+
205
+ /**
206
+ * @generated from rpc streamlayer.interactive.feed.Feed.BetPack
207
+ */
208
+ export const betPack = {
209
+ localName: "betPack",
210
+ name: "BetPack",
211
+ kind: MethodKind.Unary,
212
+ I: BetPackRequest,
213
+ O: BetPackResponse,
214
+ service: {
215
+ typeName: "streamlayer.interactive.feed.Feed"
216
+ }
217
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { FeedItemRequest, FeedItemResponse, FeedListRequest, FeedListResponse, FeedSubscriptionRequest, FeedSubscriptionResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, QuestionSubscriptionRequest, QuestionSubscriptionResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SubscriptionRequest, SubscriptionResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse, VotingSubscriptionRequest, VotingSubscriptionResponse } from "./interactive.feed_pb.js";
6
+ import { BetPackRequest, BetPackResponse, FeedItemRequest, FeedItemResponse, FeedListRequest, FeedListResponse, FeedSubscriptionRequest, FeedSubscriptionResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, QuestionSubscriptionRequest, QuestionSubscriptionResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SubscriptionRequest, SubscriptionResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse, VotingSubscriptionRequest, VotingSubscriptionResponse } from "./interactive.feed_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -176,6 +176,15 @@ export declare const Feed: {
176
176
  readonly O: typeof FeedSubscriptionResponse,
177
177
  readonly kind: MethodKind.ServerStreaming,
178
178
  },
179
+ /**
180
+ * @generated from rpc streamlayer.interactive.feed.Feed.BetPack
181
+ */
182
+ readonly betPack: {
183
+ readonly name: "BetPack",
184
+ readonly I: typeof BetPackRequest,
185
+ readonly O: typeof BetPackResponse,
186
+ readonly kind: MethodKind.Unary,
187
+ },
179
188
  }
180
189
  };
181
190
 
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { FeedItemRequest, FeedItemResponse, FeedListRequest, FeedListResponse, FeedSubscriptionRequest, FeedSubscriptionResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, QuestionSubscriptionRequest, QuestionSubscriptionResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SubscriptionRequest, SubscriptionResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse, VotingSubscriptionRequest, VotingSubscriptionResponse } from "./interactive.feed_pb.js";
6
+ import { BetPackRequest, BetPackResponse, FeedItemRequest, FeedItemResponse, FeedListRequest, FeedListResponse, FeedSubscriptionRequest, FeedSubscriptionResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, QuestionSubscriptionRequest, QuestionSubscriptionResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SubscriptionRequest, SubscriptionResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse, VotingSubscriptionRequest, VotingSubscriptionResponse } from "./interactive.feed_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -176,6 +176,15 @@ export const Feed = {
176
176
  O: FeedSubscriptionResponse,
177
177
  kind: MethodKind.ServerStreaming,
178
178
  },
179
+ /**
180
+ * @generated from rpc streamlayer.interactive.feed.Feed.BetPack
181
+ */
182
+ betPack: {
183
+ name: "BetPack",
184
+ I: BetPackRequest,
185
+ O: BetPackResponse,
186
+ kind: MethodKind.Unary,
187
+ },
179
188
  }
180
189
  };
181
190
 
@@ -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 { AutoPlayVideo, CloseTimer, EventModeration, ExtendedQuestion, FileLink, Pagination, Question, QuestionImages, QuestionNotification, QuestionSkipReason, QuestionStatus, QuestionType, UseAsNotification, WebLink } from "../interactive.common_pb.js";
8
+ import type { AutoPlayVideo, CloseTimer, EventModeration, ExtendedQuestion, FileLink, Pagination, Question, QuestionImages, QuestionNotification, QuestionSkipReason, QuestionStatus, QuestionType, Sort, UseAsNotification, WebLink } from "../interactive.common_pb.js";
9
9
  import type { Tweet } from "../../social/twitter_pb.js";
10
10
 
11
11
  /**
@@ -2276,3 +2276,111 @@ export declare class FeedSubscriptionResponse_FeedSubscriptionMeta extends Messa
2276
2276
  static equals(a: FeedSubscriptionResponse_FeedSubscriptionMeta | PlainMessage<FeedSubscriptionResponse_FeedSubscriptionMeta> | undefined, b: FeedSubscriptionResponse_FeedSubscriptionMeta | PlainMessage<FeedSubscriptionResponse_FeedSubscriptionMeta> | undefined): boolean;
2277
2277
  }
2278
2278
 
2279
+ /**
2280
+ * list of questions with user answer info
2281
+ *
2282
+ * @generated from message streamlayer.interactive.feed.BetPackRequest
2283
+ */
2284
+ export declare class BetPackRequest extends Message<BetPackRequest> {
2285
+ /**
2286
+ * @generated from field: string event_id = 1;
2287
+ */
2288
+ eventId: string;
2289
+
2290
+ /**
2291
+ * @generated from field: repeated streamlayer.interactive.QuestionType types = 2;
2292
+ */
2293
+ types: QuestionType[];
2294
+
2295
+ /**
2296
+ * @generated from field: repeated streamlayer.interactive.QuestionStatus statuses = 3;
2297
+ */
2298
+ statuses: QuestionStatus[];
2299
+
2300
+ /**
2301
+ * default 5
2302
+ *
2303
+ * @generated from field: optional int32 limit = 4;
2304
+ */
2305
+ limit?: number;
2306
+
2307
+ /**
2308
+ * default activated_at by asc
2309
+ *
2310
+ * @generated from field: optional streamlayer.interactive.Sort sort = 5;
2311
+ */
2312
+ sort?: Sort;
2313
+
2314
+ constructor(data?: PartialMessage<BetPackRequest>);
2315
+
2316
+ static readonly runtime: typeof proto3;
2317
+ static readonly typeName = "streamlayer.interactive.feed.BetPackRequest";
2318
+ static readonly fields: FieldList;
2319
+
2320
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BetPackRequest;
2321
+
2322
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BetPackRequest;
2323
+
2324
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BetPackRequest;
2325
+
2326
+ static equals(a: BetPackRequest | PlainMessage<BetPackRequest> | undefined, b: BetPackRequest | PlainMessage<BetPackRequest> | undefined): boolean;
2327
+ }
2328
+
2329
+ /**
2330
+ * @generated from message streamlayer.interactive.feed.BetPackResponse
2331
+ */
2332
+ export declare class BetPackResponse extends Message<BetPackResponse> {
2333
+ /**
2334
+ * @generated from field: repeated streamlayer.interactive.feed.BetPackResponse.BetPackItem data = 1;
2335
+ */
2336
+ data: BetPackResponse_BetPackItem[];
2337
+
2338
+ constructor(data?: PartialMessage<BetPackResponse>);
2339
+
2340
+ static readonly runtime: typeof proto3;
2341
+ static readonly typeName = "streamlayer.interactive.feed.BetPackResponse";
2342
+ static readonly fields: FieldList;
2343
+
2344
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BetPackResponse;
2345
+
2346
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BetPackResponse;
2347
+
2348
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BetPackResponse;
2349
+
2350
+ static equals(a: BetPackResponse | PlainMessage<BetPackResponse> | undefined, b: BetPackResponse | PlainMessage<BetPackResponse> | undefined): boolean;
2351
+ }
2352
+
2353
+ /**
2354
+ * @generated from message streamlayer.interactive.feed.BetPackResponse.BetPackItem
2355
+ */
2356
+ export declare class BetPackResponse_BetPackItem extends Message<BetPackResponse_BetPackItem> {
2357
+ /**
2358
+ * @generated from field: string question_id = 1;
2359
+ */
2360
+ questionId: string;
2361
+
2362
+ /**
2363
+ * @generated from field: string type = 2;
2364
+ */
2365
+ type: string;
2366
+
2367
+ /**
2368
+ * @generated from field: streamlayer.interactive.feed.QuestionByUser attributes = 3;
2369
+ */
2370
+ attributes?: QuestionByUser;
2371
+
2372
+ constructor(data?: PartialMessage<BetPackResponse_BetPackItem>);
2373
+
2374
+ static readonly runtime: typeof proto3;
2375
+ static readonly typeName = "streamlayer.interactive.feed.BetPackResponse.BetPackItem";
2376
+ static readonly fields: FieldList;
2377
+
2378
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BetPackResponse_BetPackItem;
2379
+
2380
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BetPackResponse_BetPackItem;
2381
+
2382
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BetPackResponse_BetPackItem;
2383
+
2384
+ static equals(a: BetPackResponse_BetPackItem | PlainMessage<BetPackResponse_BetPackItem> | undefined, b: BetPackResponse_BetPackItem | PlainMessage<BetPackResponse_BetPackItem> | undefined): boolean;
2385
+ }
2386
+
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import { proto3 } from "@bufbuild/protobuf";
7
- import { AutoPlayVideo, CloseTimer, EventModeration, ExtendedQuestion, FileLink, Pagination, Question, QuestionImages, QuestionNotification, QuestionSkipReason, QuestionStatus, QuestionType, UseAsNotification, WebLink } from "../interactive.common_pb.js";
7
+ import { AutoPlayVideo, CloseTimer, EventModeration, ExtendedQuestion, FileLink, Pagination, Question, QuestionImages, QuestionNotification, QuestionSkipReason, QuestionStatus, QuestionType, Sort, UseAsNotification, WebLink } from "../interactive.common_pb.js";
8
8
  import { Tweet } from "../../social/twitter_pb.js";
9
9
 
10
10
  /**
@@ -863,3 +863,42 @@ export const FeedSubscriptionResponse_FeedSubscriptionMeta = /*@__PURE__*/ proto
863
863
  {localName: "FeedSubscriptionResponse_FeedSubscriptionMeta"},
864
864
  );
865
865
 
866
+ /**
867
+ * list of questions with user answer info
868
+ *
869
+ * @generated from message streamlayer.interactive.feed.BetPackRequest
870
+ */
871
+ export const BetPackRequest = /*@__PURE__*/ proto3.makeMessageType(
872
+ "streamlayer.interactive.feed.BetPackRequest",
873
+ () => [
874
+ { no: 1, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
875
+ { no: 2, name: "types", kind: "enum", T: proto3.getEnumType(QuestionType), repeated: true },
876
+ { no: 3, name: "statuses", kind: "enum", T: proto3.getEnumType(QuestionStatus), repeated: true },
877
+ { no: 4, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
878
+ { no: 5, name: "sort", kind: "message", T: Sort, opt: true },
879
+ ],
880
+ );
881
+
882
+ /**
883
+ * @generated from message streamlayer.interactive.feed.BetPackResponse
884
+ */
885
+ export const BetPackResponse = /*@__PURE__*/ proto3.makeMessageType(
886
+ "streamlayer.interactive.feed.BetPackResponse",
887
+ () => [
888
+ { no: 1, name: "data", kind: "message", T: BetPackResponse_BetPackItem, repeated: true },
889
+ ],
890
+ );
891
+
892
+ /**
893
+ * @generated from message streamlayer.interactive.feed.BetPackResponse.BetPackItem
894
+ */
895
+ export const BetPackResponse_BetPackItem = /*@__PURE__*/ proto3.makeMessageType(
896
+ "streamlayer.interactive.feed.BetPackResponse.BetPackItem",
897
+ () => [
898
+ { no: 1, name: "question_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
899
+ { no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
900
+ { no: 3, name: "attributes", kind: "message", T: QuestionByUser },
901
+ ],
902
+ {localName: "BetPackResponse_BetPackItem"},
903
+ );
904
+