@streamlayer/sl-eslib 5.110.0 → 5.111.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
|
@@ -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
|
|
|
@@ -1360,45 +1360,77 @@ export declare class GetAdMetadataRequest extends Message<GetAdMetadataRequest>
|
|
|
1360
1360
|
}
|
|
1361
1361
|
|
|
1362
1362
|
/**
|
|
1363
|
-
* @generated from message streamlayer.interactive.studio.
|
|
1363
|
+
* @generated from message streamlayer.interactive.studio.AdMetadataOption
|
|
1364
1364
|
*/
|
|
1365
|
-
export declare class
|
|
1365
|
+
export declare class AdMetadataOption extends Message<AdMetadataOption> {
|
|
1366
1366
|
/**
|
|
1367
|
-
* @generated from field:
|
|
1367
|
+
* @generated from field: string value = 1;
|
|
1368
1368
|
*/
|
|
1369
|
-
|
|
1369
|
+
value: string;
|
|
1370
1370
|
|
|
1371
1371
|
/**
|
|
1372
|
-
* @generated from field: string
|
|
1372
|
+
* @generated from field: optional string label = 2;
|
|
1373
1373
|
*/
|
|
1374
|
-
|
|
1374
|
+
label?: string;
|
|
1375
|
+
|
|
1376
|
+
constructor(data?: PartialMessage<AdMetadataOption>);
|
|
1377
|
+
|
|
1378
|
+
static readonly runtime: typeof proto3;
|
|
1379
|
+
static readonly typeName = "streamlayer.interactive.studio.AdMetadataOption";
|
|
1380
|
+
static readonly fields: FieldList;
|
|
1381
|
+
|
|
1382
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdMetadataOption;
|
|
1375
1383
|
|
|
1384
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdMetadataOption;
|
|
1385
|
+
|
|
1386
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdMetadataOption;
|
|
1387
|
+
|
|
1388
|
+
static equals(a: AdMetadataOption | PlainMessage<AdMetadataOption> | undefined, b: AdMetadataOption | PlainMessage<AdMetadataOption> | undefined): boolean;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* @generated from message streamlayer.interactive.studio.AdMetadata
|
|
1393
|
+
*/
|
|
1394
|
+
export declare class AdMetadata extends Message<AdMetadata> {
|
|
1376
1395
|
/**
|
|
1377
|
-
* @generated from field:
|
|
1396
|
+
* @generated from field: string field = 1;
|
|
1378
1397
|
*/
|
|
1379
|
-
|
|
1398
|
+
field: string;
|
|
1380
1399
|
|
|
1381
1400
|
/**
|
|
1382
|
-
*
|
|
1401
|
+
* Field can be enabled by default, which means that it will be included in the ad request
|
|
1402
|
+
*
|
|
1403
|
+
* @generated from field: optional bool enabled = 2;
|
|
1383
1404
|
*/
|
|
1384
|
-
|
|
1405
|
+
enabled?: boolean;
|
|
1385
1406
|
|
|
1386
1407
|
/**
|
|
1387
|
-
* @generated from field:
|
|
1408
|
+
* @generated from field: optional string label = 3;
|
|
1388
1409
|
*/
|
|
1389
|
-
|
|
1410
|
+
label?: string;
|
|
1390
1411
|
|
|
1391
1412
|
/**
|
|
1392
|
-
*
|
|
1413
|
+
* if it is not required in protofiles, we can override it.
|
|
1414
|
+
*
|
|
1415
|
+
* @generated from field: optional bool required = 5;
|
|
1393
1416
|
*/
|
|
1394
1417
|
required?: boolean;
|
|
1395
1418
|
|
|
1396
1419
|
/**
|
|
1397
|
-
*
|
|
1420
|
+
* for radio, multiselect, select
|
|
1421
|
+
*
|
|
1422
|
+
* @generated from field: repeated streamlayer.interactive.studio.AdMetadataOption options = 6;
|
|
1398
1423
|
*/
|
|
1399
|
-
|
|
1424
|
+
options: AdMetadataOption[];
|
|
1400
1425
|
|
|
1401
1426
|
/**
|
|
1427
|
+
* @generated from field: repeated string default_value = 7;
|
|
1428
|
+
*/
|
|
1429
|
+
defaultValue: string[];
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* field names
|
|
1433
|
+
*
|
|
1402
1434
|
* @generated from field: repeated string depends_on = 8;
|
|
1403
1435
|
*/
|
|
1404
1436
|
dependsOn: string[];
|
|
@@ -1423,9 +1455,9 @@ export declare class AdMetadata extends Message<AdMetadata> {
|
|
|
1423
1455
|
*/
|
|
1424
1456
|
export declare class GetAdMetadataResponse extends Message<GetAdMetadataResponse> {
|
|
1425
1457
|
/**
|
|
1426
|
-
* @generated from field:
|
|
1458
|
+
* @generated from field: streamlayer.interactive.studio.GetAdMetadataResponse.GetAdMetadata data = 1;
|
|
1427
1459
|
*/
|
|
1428
|
-
data
|
|
1460
|
+
data?: GetAdMetadataResponse_GetAdMetadata;
|
|
1429
1461
|
|
|
1430
1462
|
constructor(data?: PartialMessage<GetAdMetadataResponse>);
|
|
1431
1463
|
|
|
@@ -1456,6 +1488,13 @@ export declare class GetAdMetadataResponse_GetAdMetadata extends Message<GetAdMe
|
|
|
1456
1488
|
*/
|
|
1457
1489
|
adMetadata: AdMetadata[];
|
|
1458
1490
|
|
|
1491
|
+
/**
|
|
1492
|
+
* base url for ad provider
|
|
1493
|
+
*
|
|
1494
|
+
* @generated from field: string base_url = 3;
|
|
1495
|
+
*/
|
|
1496
|
+
baseUrl: string;
|
|
1497
|
+
|
|
1459
1498
|
constructor(data?: PartialMessage<GetAdMetadataResponse_GetAdMetadata>);
|
|
1460
1499
|
|
|
1461
1500
|
static readonly runtime: typeof proto3;
|
|
@@ -506,19 +506,29 @@ export const GetAdMetadataRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
506
506
|
],
|
|
507
507
|
);
|
|
508
508
|
|
|
509
|
+
/**
|
|
510
|
+
* @generated from message streamlayer.interactive.studio.AdMetadataOption
|
|
511
|
+
*/
|
|
512
|
+
export const AdMetadataOption = /*@__PURE__*/ proto3.makeMessageType(
|
|
513
|
+
"streamlayer.interactive.studio.AdMetadataOption",
|
|
514
|
+
() => [
|
|
515
|
+
{ no: 1, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
516
|
+
{ no: 2, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
517
|
+
],
|
|
518
|
+
);
|
|
519
|
+
|
|
509
520
|
/**
|
|
510
521
|
* @generated from message streamlayer.interactive.studio.AdMetadata
|
|
511
522
|
*/
|
|
512
523
|
export const AdMetadata = /*@__PURE__*/ proto3.makeMessageType(
|
|
513
524
|
"streamlayer.interactive.studio.AdMetadata",
|
|
514
525
|
() => [
|
|
515
|
-
{ no: 1, name: "
|
|
516
|
-
{ no: 2, name: "
|
|
526
|
+
{ no: 1, name: "field", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
527
|
+
{ no: 2, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
517
528
|
{ no: 3, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
518
|
-
{ no:
|
|
519
|
-
{ no:
|
|
520
|
-
{ no:
|
|
521
|
-
{ no: 7, name: "default_value", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
529
|
+
{ no: 5, name: "required", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
530
|
+
{ no: 6, name: "options", kind: "message", T: AdMetadataOption, repeated: true },
|
|
531
|
+
{ no: 7, name: "default_value", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
522
532
|
{ no: 8, name: "depends_on", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
523
533
|
],
|
|
524
534
|
);
|
|
@@ -529,7 +539,7 @@ export const AdMetadata = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
529
539
|
export const GetAdMetadataResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
530
540
|
"streamlayer.interactive.studio.GetAdMetadataResponse",
|
|
531
541
|
() => [
|
|
532
|
-
{ no: 1, name: "data", kind: "message", T: GetAdMetadataResponse_GetAdMetadata
|
|
542
|
+
{ no: 1, name: "data", kind: "message", T: GetAdMetadataResponse_GetAdMetadata },
|
|
533
543
|
],
|
|
534
544
|
);
|
|
535
545
|
|
|
@@ -541,6 +551,7 @@ export const GetAdMetadataResponse_GetAdMetadata = /*@__PURE__*/ proto3.makeMess
|
|
|
541
551
|
() => [
|
|
542
552
|
{ no: 1, name: "ad_provider", kind: "enum", T: proto3.getEnumType(AdProvider) },
|
|
543
553
|
{ no: 2, name: "ad_metadata", kind: "message", T: AdMetadata, repeated: true },
|
|
554
|
+
{ no: 3, name: "base_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
544
555
|
],
|
|
545
556
|
{localName: "GetAdMetadataResponse_GetAdMetadata"},
|
|
546
557
|
);
|