@streamlayer/sl-eslib 5.107.4 → 5.108.1

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.107.4",
3
+ "version": "5.108.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1313,6 +1313,317 @@ export declare class QuestionOptions_TweetOptions_TweetMetadata extends Message<
1313
1313
  static equals(a: QuestionOptions_TweetOptions_TweetMetadata | PlainMessage<QuestionOptions_TweetOptions_TweetMetadata> | undefined, b: QuestionOptions_TweetOptions_TweetMetadata | PlainMessage<QuestionOptions_TweetOptions_TweetMetadata> | undefined): boolean;
1314
1314
  }
1315
1315
 
1316
+ /**
1317
+ * parameters spec https://support.google.com/admanager/answer/10678356?hl=en
1318
+ *
1319
+ * @generated from message streamlayer.interactive.QuestionOptions.GamOptions
1320
+ */
1321
+ export declare class QuestionOptions_GamOptions extends Message<QuestionOptions_GamOptions> {
1322
+ /**
1323
+ * Environment
1324
+ *
1325
+ * @generated from field: optional string env = 1;
1326
+ */
1327
+ env?: string;
1328
+
1329
+ /**
1330
+ * ad manager schema (e.g. gdfp_req=1)
1331
+ *
1332
+ * @generated from field: optional int32 gdfp_req = 2;
1333
+ */
1334
+ gdfpReq?: number;
1335
+
1336
+ /**
1337
+ * Ad unit path (e.g., "iu=/6062/videodemo")
1338
+ *
1339
+ * @generated from field: optional string iu = 3;
1340
+ */
1341
+ iu?: string;
1342
+
1343
+ /**
1344
+ * Output format of the ad (e.g., "vast", "xml_vast4")
1345
+ *
1346
+ * @generated from field: optional string output = 4;
1347
+ */
1348
+ output?: string;
1349
+
1350
+ /**
1351
+ * Primary ad size (e.g., "400x300")
1352
+ *
1353
+ * @generated from field: optional string sz = 5;
1354
+ */
1355
+ sz?: string;
1356
+
1357
+ /**
1358
+ * The delayed impressions parameter (e.g., unviewed_position_start=1)
1359
+ *
1360
+ * @generated from field: optional int32 unviewed_position_start = 6;
1361
+ */
1362
+ unviewedPositionStart?: number;
1363
+
1364
+ /**
1365
+ * Companion ad sizes (e.g., "728x90", "300x250")
1366
+ *
1367
+ * @generated from field: repeated string ciu_szs = 7;
1368
+ */
1369
+ ciuSzs: string[];
1370
+
1371
+ /**
1372
+ * The URL from which the ad request is sent
1373
+ *
1374
+ * @generated from field: optional string url = 8;
1375
+ */
1376
+ url?: string;
1377
+
1378
+ /**
1379
+ * URL describing the video content
1380
+ *
1381
+ * @generated from field: optional string description_url = 9;
1382
+ */
1383
+ descriptionUrl?: string;
1384
+
1385
+ /**
1386
+ * Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
1387
+ *
1388
+ * @generated from field: optional string correlator = 10;
1389
+ */
1390
+ correlator?: string;
1391
+
1392
+ /**
1393
+ * Custom key-value pairs for targeting
1394
+ *
1395
+ * @generated from field: map<string, string> cust_params = 11;
1396
+ */
1397
+ custParams: { [key: string]: string };
1398
+
1399
+ /**
1400
+ * Placement type (e.g., plcmt=1 for in-stream)
1401
+ *
1402
+ * @generated from field: optional int32 plcmt = 12;
1403
+ */
1404
+ plcmt?: number;
1405
+
1406
+ /**
1407
+ * Video play automatic (e.g., vpa=auto)
1408
+ *
1409
+ * @generated from field: optional string vpa = 13;
1410
+ */
1411
+ vpa?: string;
1412
+
1413
+ /**
1414
+ * Video play mute status (e.g., vpmute=1 for muted)
1415
+ *
1416
+ * @generated from field: optional int32 vpmute = 14;
1417
+ */
1418
+ vpmute?: number;
1419
+
1420
+ /**
1421
+ * "Why this ad?" parameter (e.g., wta=1)
1422
+ *
1423
+ * @generated from field: optional int32 wta = 15;
1424
+ */
1425
+ wta?: number;
1426
+
1427
+ /**
1428
+ * Audio continuous play (e.g., aconp=2)
1429
+ *
1430
+ * @generated from field: optional int32 aconp = 16;
1431
+ */
1432
+ aconp?: number;
1433
+
1434
+ /**
1435
+ * Ad rule type (e.g., ad_rule=0 for VAST creative)
1436
+ *
1437
+ * @generated from field: optional int32 ad_rule = 17;
1438
+ */
1439
+ adRule?: number;
1440
+
1441
+ /**
1442
+ * Ad type (e.g., ad_type=video)
1443
+ *
1444
+ * @generated from field: optional string ad_type = 18;
1445
+ */
1446
+ adType?: string;
1447
+
1448
+ /**
1449
+ * Language of the ad request (e.g., hl=en)
1450
+ *
1451
+ * @generated from field: optional string hl = 19;
1452
+ */
1453
+ hl?: string;
1454
+
1455
+ /**
1456
+ * Device type hint (e.g., dth=5)
1457
+ *
1458
+ * @generated from field: optional int32 dth = 20;
1459
+ */
1460
+ dth?: number;
1461
+
1462
+ /**
1463
+ * GDPR parameter (e.g., gdpr=1)
1464
+ *
1465
+ * @generated from field: optional int32 gdpr = 21;
1466
+ */
1467
+ gdpr?: number;
1468
+
1469
+ /**
1470
+ * GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
1471
+ *
1472
+ * @generated from field: optional string gdpr_consent = 22;
1473
+ */
1474
+ gdprConsent?: string;
1475
+
1476
+ /**
1477
+ * IAB exclusion categories (e.g., iabexcl=3,14,527)
1478
+ *
1479
+ * @generated from field: optional string iabexcl = 23;
1480
+ */
1481
+ iabexcl?: string;
1482
+
1483
+ /**
1484
+ * Last position in pod (e.g., lip=true)
1485
+ *
1486
+ * @generated from field: optional bool lip = 24;
1487
+ */
1488
+ lip?: boolean;
1489
+
1490
+ /**
1491
+ * Limited ads (e.g., ltd=1)
1492
+ *
1493
+ * @generated from field: optional int32 ltd = 25;
1494
+ */
1495
+ ltd?: number;
1496
+
1497
+ /**
1498
+ * Fallback disabled (e.g., nofb=1)
1499
+ *
1500
+ * @generated from field: optional int32 nofb = 26;
1501
+ */
1502
+ nofb?: number;
1503
+
1504
+ /**
1505
+ * Non-personalized ads (e.g., npa=1)
1506
+ *
1507
+ * @generated from field: optional int32 npa = 27;
1508
+ */
1509
+ npa?: number;
1510
+
1511
+ /**
1512
+ * OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
1513
+ *
1514
+ * @generated from field: optional string omid_p = 28;
1515
+ */
1516
+ omidP?: string;
1517
+
1518
+ /**
1519
+ * Publisher Privacy Treatment (e.g., ppt=1)
1520
+ *
1521
+ * @generated from field: optional int32 ppt = 29;
1522
+ */
1523
+ ppt?: number;
1524
+
1525
+ /**
1526
+ * Position in pod (e.g., ppos=2)
1527
+ *
1528
+ * @generated from field: optional int32 ppos = 30;
1529
+ */
1530
+ ppos?: number;
1531
+
1532
+ /**
1533
+ * Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
1534
+ *
1535
+ * @generated from field: optional string ppid = 31;
1536
+ */
1537
+ ppid?: string;
1538
+
1539
+ /**
1540
+ * Stream correlator (e.g., scor=17)
1541
+ *
1542
+ * @generated from field: optional int32 scor = 32;
1543
+ */
1544
+ scor?: number;
1545
+
1546
+ /**
1547
+ * SDK API framework (e.g., sdk_apis=2,7,9)
1548
+ *
1549
+ * @generated from field: optional string sdk_apis = 33;
1550
+ */
1551
+ sdkApis?: string;
1552
+
1553
+ /**
1554
+ * Server-side stitching source (e.g., ssss=mystitcher)
1555
+ *
1556
+ * @generated from field: optional string ssss = 34;
1557
+ */
1558
+ ssss?: string;
1559
+
1560
+ /**
1561
+ * Skippable max ad duration (e.g., sdmax=45000)
1562
+ *
1563
+ * @generated from field: optional string sdmax = 35;
1564
+ */
1565
+ sdmax?: string;
1566
+
1567
+ /**
1568
+ * Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
1569
+ *
1570
+ * @generated from field: optional string sid = 36;
1571
+ */
1572
+ sid?: string;
1573
+
1574
+ /**
1575
+ * Restrict data processing (e.g., rdp=1)
1576
+ *
1577
+ * @generated from field: optional int32 rdp = 37;
1578
+ */
1579
+ rdp?: number;
1580
+
1581
+ constructor(data?: PartialMessage<QuestionOptions_GamOptions>);
1582
+
1583
+ static readonly runtime: typeof proto3;
1584
+ static readonly typeName = "streamlayer.interactive.QuestionOptions.GamOptions";
1585
+ static readonly fields: FieldList;
1586
+
1587
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuestionOptions_GamOptions;
1588
+
1589
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuestionOptions_GamOptions;
1590
+
1591
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuestionOptions_GamOptions;
1592
+
1593
+ static equals(a: QuestionOptions_GamOptions | PlainMessage<QuestionOptions_GamOptions> | undefined, b: QuestionOptions_GamOptions | PlainMessage<QuestionOptions_GamOptions> | undefined): boolean;
1594
+ }
1595
+
1596
+ /**
1597
+ * @generated from message streamlayer.interactive.QuestionOptions.AdCampaigns
1598
+ */
1599
+ export declare class QuestionOptions_AdCampaigns extends Message<QuestionOptions_AdCampaigns> {
1600
+ /**
1601
+ * @generated from field: optional streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1;
1602
+ */
1603
+ gamOptions?: QuestionOptions_GamOptions;
1604
+
1605
+ /**
1606
+ * base gam url prefix to compose with GamOptions
1607
+ *
1608
+ * @generated from field: optional string gam_base_url = 2;
1609
+ */
1610
+ gamBaseUrl?: string;
1611
+
1612
+ constructor(data?: PartialMessage<QuestionOptions_AdCampaigns>);
1613
+
1614
+ static readonly runtime: typeof proto3;
1615
+ static readonly typeName = "streamlayer.interactive.QuestionOptions.AdCampaigns";
1616
+ static readonly fields: FieldList;
1617
+
1618
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuestionOptions_AdCampaigns;
1619
+
1620
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuestionOptions_AdCampaigns;
1621
+
1622
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuestionOptions_AdCampaigns;
1623
+
1624
+ static equals(a: QuestionOptions_AdCampaigns | PlainMessage<QuestionOptions_AdCampaigns> | undefined, b: QuestionOptions_AdCampaigns | PlainMessage<QuestionOptions_AdCampaigns> | undefined): boolean;
1625
+ }
1626
+
1316
1627
  /**
1317
1628
  * @generated from message streamlayer.interactive.QuestionOptions.PromotionOptions
1318
1629
  */
@@ -1376,6 +1687,11 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
1376
1687
  */
1377
1688
  buttonType?: PromotionButtonType;
1378
1689
 
1690
+ /**
1691
+ * @generated from field: optional streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11;
1692
+ */
1693
+ adCampaigns?: QuestionOptions_AdCampaigns;
1694
+
1379
1695
  constructor(data?: PartialMessage<QuestionOptions_PromotionOptions>);
1380
1696
 
1381
1697
  static readonly runtime: typeof proto3;
@@ -539,6 +539,67 @@ export const QuestionOptions_TweetOptions_TweetMetadata = /*@__PURE__*/ proto3.m
539
539
  {localName: "QuestionOptions_TweetOptions_TweetMetadata"},
540
540
  );
541
541
 
542
+ /**
543
+ * parameters spec https://support.google.com/admanager/answer/10678356?hl=en
544
+ *
545
+ * @generated from message streamlayer.interactive.QuestionOptions.GamOptions
546
+ */
547
+ export const QuestionOptions_GamOptions = /*@__PURE__*/ proto3.makeMessageType(
548
+ "streamlayer.interactive.QuestionOptions.GamOptions",
549
+ () => [
550
+ { no: 1, name: "env", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
551
+ { no: 2, name: "gdfp_req", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
552
+ { no: 3, name: "iu", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
553
+ { no: 4, name: "output", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
554
+ { no: 5, name: "sz", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
555
+ { no: 6, name: "unviewed_position_start", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
556
+ { no: 7, name: "ciu_szs", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
557
+ { no: 8, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
558
+ { no: 9, name: "description_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
559
+ { no: 10, name: "correlator", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
560
+ { no: 11, name: "cust_params", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
561
+ { no: 12, name: "plcmt", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
562
+ { no: 13, name: "vpa", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
563
+ { no: 14, name: "vpmute", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
564
+ { no: 15, name: "wta", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
565
+ { no: 16, name: "aconp", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
566
+ { no: 17, name: "ad_rule", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
567
+ { no: 18, name: "ad_type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
568
+ { no: 19, name: "hl", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
569
+ { no: 20, name: "dth", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
570
+ { no: 21, name: "gdpr", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
571
+ { no: 22, name: "gdpr_consent", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
572
+ { no: 23, name: "iabexcl", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
573
+ { no: 24, name: "lip", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
574
+ { no: 25, name: "ltd", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
575
+ { no: 26, name: "nofb", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
576
+ { no: 27, name: "npa", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
577
+ { no: 28, name: "omid_p", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
578
+ { no: 29, name: "ppt", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
579
+ { no: 30, name: "ppos", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
580
+ { no: 31, name: "ppid", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
581
+ { no: 32, name: "scor", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
582
+ { no: 33, name: "sdk_apis", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
583
+ { no: 34, name: "ssss", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
584
+ { no: 35, name: "sdmax", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
585
+ { no: 36, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
586
+ { no: 37, name: "rdp", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
587
+ ],
588
+ {localName: "QuestionOptions_GamOptions"},
589
+ );
590
+
591
+ /**
592
+ * @generated from message streamlayer.interactive.QuestionOptions.AdCampaigns
593
+ */
594
+ export const QuestionOptions_AdCampaigns = /*@__PURE__*/ proto3.makeMessageType(
595
+ "streamlayer.interactive.QuestionOptions.AdCampaigns",
596
+ () => [
597
+ { no: 1, name: "gam_options", kind: "message", T: QuestionOptions_GamOptions, opt: true },
598
+ { no: 2, name: "gam_base_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
599
+ ],
600
+ {localName: "QuestionOptions_AdCampaigns"},
601
+ );
602
+
542
603
  /**
543
604
  * @generated from message streamlayer.interactive.QuestionOptions.PromotionOptions
544
605
  */
@@ -555,6 +616,7 @@ export const QuestionOptions_PromotionOptions = /*@__PURE__*/ proto3.makeMessage
555
616
  { no: 8, name: "coupon_zip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
556
617
  { no: 9, name: "coupon_barcode_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
557
618
  { no: 10, name: "button_type", kind: "enum", T: proto3.getEnumType(PromotionButtonType), opt: true },
619
+ { no: 11, name: "ad_campaigns", kind: "message", T: QuestionOptions_AdCampaigns, opt: true },
558
620
  ],
559
621
  {localName: "QuestionOptions_PromotionOptions"},
560
622
  );
@@ -311,6 +311,30 @@ export declare class ModerationSubscriptionResponse extends Message<ModerationSu
311
311
  static equals(a: ModerationSubscriptionResponse | PlainMessage<ModerationSubscriptionResponse> | undefined, b: ModerationSubscriptionResponse | PlainMessage<ModerationSubscriptionResponse> | undefined): boolean;
312
312
  }
313
313
 
314
+ /**
315
+ * @generated from message streamlayer.interactive.studio.ModerationSubscriptionResponse.PrevQuestionState
316
+ */
317
+ export declare class ModerationSubscriptionResponse_PrevQuestionState extends Message<ModerationSubscriptionResponse_PrevQuestionState> {
318
+ /**
319
+ * @generated from field: streamlayer.interactive.QuestionStatus status = 1;
320
+ */
321
+ status: QuestionStatus;
322
+
323
+ constructor(data?: PartialMessage<ModerationSubscriptionResponse_PrevQuestionState>);
324
+
325
+ static readonly runtime: typeof proto3;
326
+ static readonly typeName = "streamlayer.interactive.studio.ModerationSubscriptionResponse.PrevQuestionState";
327
+ static readonly fields: FieldList;
328
+
329
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModerationSubscriptionResponse_PrevQuestionState;
330
+
331
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModerationSubscriptionResponse_PrevQuestionState;
332
+
333
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ModerationSubscriptionResponse_PrevQuestionState;
334
+
335
+ static equals(a: ModerationSubscriptionResponse_PrevQuestionState | PlainMessage<ModerationSubscriptionResponse_PrevQuestionState> | undefined, b: ModerationSubscriptionResponse_PrevQuestionState | PlainMessage<ModerationSubscriptionResponse_PrevQuestionState> | undefined): boolean;
336
+ }
337
+
314
338
  /**
315
339
  * @generated from message streamlayer.interactive.studio.ModerationSubscriptionResponse.SubscriptionData
316
340
  */
@@ -375,6 +399,11 @@ export declare class ModerationSubscriptionResponse_SubscriptionMeta extends Mes
375
399
  */
376
400
  notification?: SubscriptionNotification;
377
401
 
402
+ /**
403
+ * @generated from field: streamlayer.interactive.studio.ModerationSubscriptionResponse.PrevQuestionState prev_question_state = 6;
404
+ */
405
+ prevQuestionState?: ModerationSubscriptionResponse_PrevQuestionState;
406
+
378
407
  constructor(data?: PartialMessage<ModerationSubscriptionResponse_SubscriptionMeta>);
379
408
 
380
409
  static readonly runtime: typeof proto3;
@@ -108,6 +108,17 @@ export const ModerationSubscriptionResponse = /*@__PURE__*/ proto3.makeMessageTy
108
108
  ],
109
109
  );
110
110
 
111
+ /**
112
+ * @generated from message streamlayer.interactive.studio.ModerationSubscriptionResponse.PrevQuestionState
113
+ */
114
+ export const ModerationSubscriptionResponse_PrevQuestionState = /*@__PURE__*/ proto3.makeMessageType(
115
+ "streamlayer.interactive.studio.ModerationSubscriptionResponse.PrevQuestionState",
116
+ () => [
117
+ { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(QuestionStatus) },
118
+ ],
119
+ {localName: "ModerationSubscriptionResponse_PrevQuestionState"},
120
+ );
121
+
111
122
  /**
112
123
  * @generated from message streamlayer.interactive.studio.ModerationSubscriptionResponse.SubscriptionData
113
124
  */
@@ -131,6 +142,7 @@ export const ModerationSubscriptionResponse_SubscriptionMeta = /*@__PURE__*/ pro
131
142
  { no: 3, name: "timestamp", kind: "message", T: Timestamp },
132
143
  { no: 4, name: "options", kind: "message", T: ServerNotificationOptions },
133
144
  { no: 5, name: "notification", kind: "message", T: SubscriptionNotification },
145
+ { no: 6, name: "prev_question_state", kind: "message", T: ModerationSubscriptionResponse_PrevQuestionState },
134
146
  ],
135
147
  {localName: "ModerationSubscriptionResponse_SubscriptionMeta"},
136
148
  );