@streamlayer/sl-eslib 5.109.0 → 5.111.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.109.0",
3
+ "version": "5.111.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -321,6 +321,11 @@ export declare enum PromotionType {
321
321
  * @generated from enum value: PROMOTION_TYPE_INGAME_IAB21_LBAR = 5;
322
322
  */
323
323
  INGAME_IAB21_LBAR = 5,
324
+
325
+ /**
326
+ * @generated from enum value: PROMOTION_TYPE_EXTERNAL_AD = 6;
327
+ */
328
+ EXTERNAL_AD = 6,
324
329
  }
325
330
 
326
331
  /**
@@ -163,6 +163,7 @@ export const PromotionType = /*@__PURE__*/ proto3.makeEnum(
163
163
  {no: 3, name: "PROMOTION_TYPE_INGAME_IAB61", localName: "INGAME_IAB61"},
164
164
  {no: 4, name: "PROMOTION_TYPE_INGAME_IAB11_LBAR", localName: "INGAME_IAB11_LBAR"},
165
165
  {no: 5, name: "PROMOTION_TYPE_INGAME_IAB21_LBAR", localName: "INGAME_IAB21_LBAR"},
166
+ {no: 6, name: "PROMOTION_TYPE_EXTERNAL_AD", localName: "EXTERNAL_AD"},
166
167
  ],
167
168
  );
168
169
 
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { ActivateQuestionRequest, ActivateQuestionResponse, AIGenerateRequest, AIGenerateResponse, AIRegenerateRequest, AIRegenerateResponse, DuplicateQuestionsRequest, DuplicateQuestionsResponse, GetQuestionRequest, GetQuestionResponse, MoveQuestionRequest, MoveQuestionResponse, QuestionsTimelineRequest, QuestionsTimelineResponse } from "./interactive.studio_pb.js";
6
+ import { ActivateQuestionRequest, ActivateQuestionResponse, AIGenerateRequest, AIGenerateResponse, AIRegenerateRequest, AIRegenerateResponse, DuplicateQuestionsRequest, DuplicateQuestionsResponse, GetAdMetadataRequest, GetAdMetadataResponse, GetQuestionRequest, GetQuestionResponse, MoveQuestionRequest, MoveQuestionResponse, QuestionsTimelineRequest, QuestionsTimelineResponse } from "./interactive.studio_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -90,3 +90,15 @@ export const aIRegenerate: {
90
90
  readonly typeName: "streamlayer.interactive.studio.Studio"
91
91
  }
92
92
  };
93
+ /**
94
+ * @generated from rpc streamlayer.interactive.studio.Studio.GetAdMetadata
95
+ */
96
+ export const getAdMetadata: {
97
+ readonly name: "GetAdMetadata",
98
+ readonly I: typeof GetAdMetadataRequest,
99
+ readonly O: typeof GetAdMetadataResponse,
100
+ readonly kind: MethodKind.Unary,
101
+ readonly service: {
102
+ readonly typeName: "streamlayer.interactive.studio.Studio"
103
+ }
104
+ };
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
- import { ActivateQuestionRequest, ActivateQuestionResponse, AIGenerateRequest, AIGenerateResponse, AIRegenerateRequest, AIRegenerateResponse, DuplicateQuestionsRequest, DuplicateQuestionsResponse, GetQuestionRequest, GetQuestionResponse, MoveQuestionRequest, MoveQuestionResponse, QuestionsTimelineRequest, QuestionsTimelineResponse } from "./interactive.studio_pb.js";
7
+ import { ActivateQuestionRequest, ActivateQuestionResponse, AIGenerateRequest, AIGenerateResponse, AIRegenerateRequest, AIRegenerateResponse, DuplicateQuestionsRequest, DuplicateQuestionsResponse, GetAdMetadataRequest, GetAdMetadataResponse, GetQuestionRequest, GetQuestionResponse, MoveQuestionRequest, MoveQuestionResponse, QuestionsTimelineRequest, QuestionsTimelineResponse } from "./interactive.studio_pb.js";
8
8
 
9
9
  /**
10
10
  * @generated from rpc streamlayer.interactive.studio.Studio.GetQuestion
@@ -103,3 +103,17 @@ export const aIRegenerate = {
103
103
  typeName: "streamlayer.interactive.studio.Studio"
104
104
  }
105
105
  };
106
+
107
+ /**
108
+ * @generated from rpc streamlayer.interactive.studio.Studio.GetAdMetadata
109
+ */
110
+ export const getAdMetadata = {
111
+ localName: "getAdMetadata",
112
+ name: "GetAdMetadata",
113
+ kind: MethodKind.Unary,
114
+ I: GetAdMetadataRequest,
115
+ O: GetAdMetadataResponse,
116
+ service: {
117
+ typeName: "streamlayer.interactive.studio.Studio"
118
+ }
119
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { ActivateQuestionRequest, ActivateQuestionResponse, AIGenerateRequest, AIGenerateResponse, AIRegenerateRequest, AIRegenerateResponse, DuplicateQuestionsRequest, DuplicateQuestionsResponse, GetQuestionRequest, GetQuestionResponse, ModerationSubscriptionRequest, ModerationSubscriptionResponse, ModerationVotesSubscriptionRequest, ModerationVotesSubscriptionResponse, MoveQuestionRequest, MoveQuestionResponse, QuestionsTimelineRequest, QuestionsTimelineResponse } from "./interactive.studio_pb.js";
6
+ import { ActivateQuestionRequest, ActivateQuestionResponse, AIGenerateRequest, AIGenerateResponse, AIRegenerateRequest, AIRegenerateResponse, DuplicateQuestionsRequest, DuplicateQuestionsResponse, GetAdMetadataRequest, GetAdMetadataResponse, GetQuestionRequest, GetQuestionResponse, ModerationSubscriptionRequest, ModerationSubscriptionResponse, ModerationVotesSubscriptionRequest, ModerationVotesSubscriptionResponse, MoveQuestionRequest, MoveQuestionResponse, QuestionsTimelineRequest, QuestionsTimelineResponse } from "./interactive.studio_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -98,6 +98,15 @@ export declare const Studio: {
98
98
  readonly O: typeof AIRegenerateResponse,
99
99
  readonly kind: MethodKind.Unary,
100
100
  },
101
+ /**
102
+ * @generated from rpc streamlayer.interactive.studio.Studio.GetAdMetadata
103
+ */
104
+ readonly getAdMetadata: {
105
+ readonly name: "GetAdMetadata",
106
+ readonly I: typeof GetAdMetadataRequest,
107
+ readonly O: typeof GetAdMetadataResponse,
108
+ readonly kind: MethodKind.Unary,
109
+ },
101
110
  }
102
111
  };
103
112
 
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { ActivateQuestionRequest, ActivateQuestionResponse, AIGenerateRequest, AIGenerateResponse, AIRegenerateRequest, AIRegenerateResponse, DuplicateQuestionsRequest, DuplicateQuestionsResponse, GetQuestionRequest, GetQuestionResponse, ModerationSubscriptionRequest, ModerationSubscriptionResponse, ModerationVotesSubscriptionRequest, ModerationVotesSubscriptionResponse, MoveQuestionRequest, MoveQuestionResponse, QuestionsTimelineRequest, QuestionsTimelineResponse } from "./interactive.studio_pb.js";
6
+ import { ActivateQuestionRequest, ActivateQuestionResponse, AIGenerateRequest, AIGenerateResponse, AIRegenerateRequest, AIRegenerateResponse, DuplicateQuestionsRequest, DuplicateQuestionsResponse, GetAdMetadataRequest, GetAdMetadataResponse, GetQuestionRequest, GetQuestionResponse, ModerationSubscriptionRequest, ModerationSubscriptionResponse, ModerationVotesSubscriptionRequest, ModerationVotesSubscriptionResponse, MoveQuestionRequest, MoveQuestionResponse, QuestionsTimelineRequest, QuestionsTimelineResponse } from "./interactive.studio_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -98,6 +98,15 @@ export const Studio = {
98
98
  O: AIRegenerateResponse,
99
99
  kind: MethodKind.Unary,
100
100
  },
101
+ /**
102
+ * @generated from rpc streamlayer.interactive.studio.Studio.GetAdMetadata
103
+ */
104
+ getAdMetadata: {
105
+ name: "GetAdMetadata",
106
+ I: GetAdMetadataRequest,
107
+ O: GetAdMetadataResponse,
108
+ kind: MethodKind.Unary,
109
+ },
101
110
  }
102
111
  };
103
112
 
@@ -157,6 +157,41 @@ export declare enum MoveEffect {
157
157
  DOWN = 2,
158
158
  }
159
159
 
160
+ /**
161
+ * @generated from enum streamlayer.interactive.studio.AdProvider
162
+ */
163
+ export declare enum AdProvider {
164
+ /**
165
+ * @generated from enum value: AD_PROVIDER_UNSET = 0;
166
+ */
167
+ UNSET = 0,
168
+
169
+ /**
170
+ * @generated from enum value: AD_PROVIDER_GAM = 1;
171
+ */
172
+ GAM = 1,
173
+ }
174
+
175
+ /**
176
+ * @generated from enum streamlayer.interactive.studio.Property
177
+ */
178
+ export declare enum Property {
179
+ /**
180
+ * @generated from enum value: PROPERTY_UNSET = 0;
181
+ */
182
+ UNSET = 0,
183
+
184
+ /**
185
+ * @generated from enum value: PROPERTY_ENABLED = 1;
186
+ */
187
+ ENABLED = 1,
188
+
189
+ /**
190
+ * @generated from enum value: PROPERTY_DISABLED = 2;
191
+ */
192
+ DISABLED = 2,
193
+ }
194
+
160
195
  /**
161
196
  * @generated from message streamlayer.interactive.studio.ModerationSubscriptionRequest
162
197
  */
@@ -1300,3 +1335,139 @@ export declare class AIRegenerateResponse extends Message<AIRegenerateResponse>
1300
1335
  static equals(a: AIRegenerateResponse | PlainMessage<AIRegenerateResponse> | undefined, b: AIRegenerateResponse | PlainMessage<AIRegenerateResponse> | undefined): boolean;
1301
1336
  }
1302
1337
 
1338
+ /**
1339
+ * @generated from message streamlayer.interactive.studio.GetAdMetadataRequest
1340
+ */
1341
+ export declare class GetAdMetadataRequest extends Message<GetAdMetadataRequest> {
1342
+ /**
1343
+ * @generated from field: streamlayer.interactive.studio.AdProvider ad_provider = 1;
1344
+ */
1345
+ adProvider: AdProvider;
1346
+
1347
+ constructor(data?: PartialMessage<GetAdMetadataRequest>);
1348
+
1349
+ static readonly runtime: typeof proto3;
1350
+ static readonly typeName = "streamlayer.interactive.studio.GetAdMetadataRequest";
1351
+ static readonly fields: FieldList;
1352
+
1353
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAdMetadataRequest;
1354
+
1355
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAdMetadataRequest;
1356
+
1357
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAdMetadataRequest;
1358
+
1359
+ static equals(a: GetAdMetadataRequest | PlainMessage<GetAdMetadataRequest> | undefined, b: GetAdMetadataRequest | PlainMessage<GetAdMetadataRequest> | undefined): boolean;
1360
+ }
1361
+
1362
+ /**
1363
+ * @generated from message streamlayer.interactive.studio.AdMetadata
1364
+ */
1365
+ export declare class AdMetadata extends Message<AdMetadata> {
1366
+ /**
1367
+ * @generated from field: streamlayer.interactive.studio.Property enabled = 1;
1368
+ */
1369
+ enabled: Property;
1370
+
1371
+ /**
1372
+ * @generated from field: string field = 2;
1373
+ */
1374
+ field: string;
1375
+
1376
+ /**
1377
+ * @generated from field: optional string label = 3;
1378
+ */
1379
+ label?: string;
1380
+
1381
+ /**
1382
+ * @generated from field: string type = 4;
1383
+ */
1384
+ type: string;
1385
+
1386
+ /**
1387
+ * @generated from field: repeated string options = 5;
1388
+ */
1389
+ options: string[];
1390
+
1391
+ /**
1392
+ * @generated from field: optional bool required = 6;
1393
+ */
1394
+ required?: boolean;
1395
+
1396
+ /**
1397
+ * @generated from field: optional string default_value = 7;
1398
+ */
1399
+ defaultValue?: string;
1400
+
1401
+ /**
1402
+ * @generated from field: repeated string depends_on = 8;
1403
+ */
1404
+ dependsOn: string[];
1405
+
1406
+ constructor(data?: PartialMessage<AdMetadata>);
1407
+
1408
+ static readonly runtime: typeof proto3;
1409
+ static readonly typeName = "streamlayer.interactive.studio.AdMetadata";
1410
+ static readonly fields: FieldList;
1411
+
1412
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdMetadata;
1413
+
1414
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdMetadata;
1415
+
1416
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdMetadata;
1417
+
1418
+ static equals(a: AdMetadata | PlainMessage<AdMetadata> | undefined, b: AdMetadata | PlainMessage<AdMetadata> | undefined): boolean;
1419
+ }
1420
+
1421
+ /**
1422
+ * @generated from message streamlayer.interactive.studio.GetAdMetadataResponse
1423
+ */
1424
+ export declare class GetAdMetadataResponse extends Message<GetAdMetadataResponse> {
1425
+ /**
1426
+ * @generated from field: repeated streamlayer.interactive.studio.GetAdMetadataResponse.GetAdMetadata data = 1;
1427
+ */
1428
+ data: GetAdMetadataResponse_GetAdMetadata[];
1429
+
1430
+ constructor(data?: PartialMessage<GetAdMetadataResponse>);
1431
+
1432
+ static readonly runtime: typeof proto3;
1433
+ static readonly typeName = "streamlayer.interactive.studio.GetAdMetadataResponse";
1434
+ static readonly fields: FieldList;
1435
+
1436
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAdMetadataResponse;
1437
+
1438
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAdMetadataResponse;
1439
+
1440
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAdMetadataResponse;
1441
+
1442
+ static equals(a: GetAdMetadataResponse | PlainMessage<GetAdMetadataResponse> | undefined, b: GetAdMetadataResponse | PlainMessage<GetAdMetadataResponse> | undefined): boolean;
1443
+ }
1444
+
1445
+ /**
1446
+ * @generated from message streamlayer.interactive.studio.GetAdMetadataResponse.GetAdMetadata
1447
+ */
1448
+ export declare class GetAdMetadataResponse_GetAdMetadata extends Message<GetAdMetadataResponse_GetAdMetadata> {
1449
+ /**
1450
+ * @generated from field: streamlayer.interactive.studio.AdProvider ad_provider = 1;
1451
+ */
1452
+ adProvider: AdProvider;
1453
+
1454
+ /**
1455
+ * @generated from field: repeated streamlayer.interactive.studio.AdMetadata ad_metadata = 2;
1456
+ */
1457
+ adMetadata: AdMetadata[];
1458
+
1459
+ constructor(data?: PartialMessage<GetAdMetadataResponse_GetAdMetadata>);
1460
+
1461
+ static readonly runtime: typeof proto3;
1462
+ static readonly typeName = "streamlayer.interactive.studio.GetAdMetadataResponse.GetAdMetadata";
1463
+ static readonly fields: FieldList;
1464
+
1465
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAdMetadataResponse_GetAdMetadata;
1466
+
1467
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAdMetadataResponse_GetAdMetadata;
1468
+
1469
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAdMetadataResponse_GetAdMetadata;
1470
+
1471
+ static equals(a: GetAdMetadataResponse_GetAdMetadata | PlainMessage<GetAdMetadataResponse_GetAdMetadata> | undefined, b: GetAdMetadataResponse_GetAdMetadata | PlainMessage<GetAdMetadataResponse_GetAdMetadata> | undefined): boolean;
1472
+ }
1473
+
@@ -52,6 +52,29 @@ export const MoveEffect = /*@__PURE__*/ proto3.makeEnum(
52
52
  ],
53
53
  );
54
54
 
55
+ /**
56
+ * @generated from enum streamlayer.interactive.studio.AdProvider
57
+ */
58
+ export const AdProvider = /*@__PURE__*/ proto3.makeEnum(
59
+ "streamlayer.interactive.studio.AdProvider",
60
+ [
61
+ {no: 0, name: "AD_PROVIDER_UNSET", localName: "UNSET"},
62
+ {no: 1, name: "AD_PROVIDER_GAM", localName: "GAM"},
63
+ ],
64
+ );
65
+
66
+ /**
67
+ * @generated from enum streamlayer.interactive.studio.Property
68
+ */
69
+ export const Property = /*@__PURE__*/ proto3.makeEnum(
70
+ "streamlayer.interactive.studio.Property",
71
+ [
72
+ {no: 0, name: "PROPERTY_UNSET", localName: "UNSET"},
73
+ {no: 1, name: "PROPERTY_ENABLED", localName: "ENABLED"},
74
+ {no: 2, name: "PROPERTY_DISABLED", localName: "DISABLED"},
75
+ ],
76
+ );
77
+
55
78
  /**
56
79
  * @generated from message streamlayer.interactive.studio.ModerationSubscriptionRequest
57
80
  */
@@ -473,3 +496,52 @@ export const AIRegenerateResponse = /*@__PURE__*/ proto3.makeMessageType(
473
496
  [],
474
497
  );
475
498
 
499
+ /**
500
+ * @generated from message streamlayer.interactive.studio.GetAdMetadataRequest
501
+ */
502
+ export const GetAdMetadataRequest = /*@__PURE__*/ proto3.makeMessageType(
503
+ "streamlayer.interactive.studio.GetAdMetadataRequest",
504
+ () => [
505
+ { no: 1, name: "ad_provider", kind: "enum", T: proto3.getEnumType(AdProvider) },
506
+ ],
507
+ );
508
+
509
+ /**
510
+ * @generated from message streamlayer.interactive.studio.AdMetadata
511
+ */
512
+ export const AdMetadata = /*@__PURE__*/ proto3.makeMessageType(
513
+ "streamlayer.interactive.studio.AdMetadata",
514
+ () => [
515
+ { no: 1, name: "enabled", kind: "enum", T: proto3.getEnumType(Property) },
516
+ { no: 2, name: "field", kind: "scalar", T: 9 /* ScalarType.STRING */ },
517
+ { no: 3, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
518
+ { no: 4, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
519
+ { no: 5, name: "options", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
520
+ { no: 6, name: "required", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
521
+ { no: 7, name: "default_value", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
522
+ { no: 8, name: "depends_on", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
523
+ ],
524
+ );
525
+
526
+ /**
527
+ * @generated from message streamlayer.interactive.studio.GetAdMetadataResponse
528
+ */
529
+ export const GetAdMetadataResponse = /*@__PURE__*/ proto3.makeMessageType(
530
+ "streamlayer.interactive.studio.GetAdMetadataResponse",
531
+ () => [
532
+ { no: 1, name: "data", kind: "message", T: GetAdMetadataResponse_GetAdMetadata, repeated: true },
533
+ ],
534
+ );
535
+
536
+ /**
537
+ * @generated from message streamlayer.interactive.studio.GetAdMetadataResponse.GetAdMetadata
538
+ */
539
+ export const GetAdMetadataResponse_GetAdMetadata = /*@__PURE__*/ proto3.makeMessageType(
540
+ "streamlayer.interactive.studio.GetAdMetadataResponse.GetAdMetadata",
541
+ () => [
542
+ { no: 1, name: "ad_provider", kind: "enum", T: proto3.getEnumType(AdProvider) },
543
+ { no: 2, name: "ad_metadata", kind: "message", T: AdMetadata, repeated: true },
544
+ ],
545
+ {localName: "GetAdMetadataResponse_GetAdMetadata"},
546
+ );
547
+