@headspace/protos-events 1.322.0 → 1.324.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/lib/index.d.ts +34 -3
- package/lib/index.js +154 -9
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -8288,7 +8288,7 @@ export namespace productcatalog {
|
|
|
8288
8288
|
endDateCondition?: (productcatalog.ProductSkuEndDateCondition|null);
|
|
8289
8289
|
|
|
8290
8290
|
/** when 'end_date_condition' is "FIXED_PERIOD", the number of periods to charge before ending */
|
|
8291
|
-
endDatePeriods?: (
|
|
8291
|
+
endDatePeriods?: (number|null);
|
|
8292
8292
|
|
|
8293
8293
|
/** country & currency specific configuration */
|
|
8294
8294
|
tiers?: (productcatalog.IRatePlanChargeTier[]|null);
|
|
@@ -8313,7 +8313,7 @@ export namespace productcatalog {
|
|
|
8313
8313
|
public endDateCondition: productcatalog.ProductSkuEndDateCondition;
|
|
8314
8314
|
|
|
8315
8315
|
/** when 'end_date_condition' is "FIXED_PERIOD", the number of periods to charge before ending */
|
|
8316
|
-
public endDatePeriods:
|
|
8316
|
+
public endDatePeriods: number;
|
|
8317
8317
|
|
|
8318
8318
|
/** country & currency specific configuration */
|
|
8319
8319
|
public tiers: productcatalog.IRatePlanChargeTier[];
|
|
@@ -8522,7 +8522,8 @@ export namespace productcatalog {
|
|
|
8522
8522
|
BC_FREE_CODE = 3,
|
|
8523
8523
|
BC_FREE_TRIAL = 4,
|
|
8524
8524
|
BC_PARTNER_PAID = 5,
|
|
8525
|
-
BC_DIRECT = 6
|
|
8525
|
+
BC_DIRECT = 6,
|
|
8526
|
+
BC_PARTIAL_PAY = 7
|
|
8526
8527
|
}
|
|
8527
8528
|
|
|
8528
8529
|
/** ProductSkuCalendarPeriod enum. */
|
|
@@ -24660,6 +24661,12 @@ export interface INarrator {
|
|
|
24660
24661
|
|
|
24661
24662
|
/** Narrator deletedAt */
|
|
24662
24663
|
deletedAt?: (number|Long|null);
|
|
24664
|
+
|
|
24665
|
+
/** Narrator createdAt */
|
|
24666
|
+
createdAt?: (number|Long|null);
|
|
24667
|
+
|
|
24668
|
+
/** Narrator updatedAt */
|
|
24669
|
+
updatedAt?: (number|Long|null);
|
|
24663
24670
|
}
|
|
24664
24671
|
|
|
24665
24672
|
/** Represents a Narrator. */
|
|
@@ -24701,6 +24708,12 @@ export class Narrator implements INarrator {
|
|
|
24701
24708
|
/** Narrator deletedAt. */
|
|
24702
24709
|
public deletedAt: (number|Long);
|
|
24703
24710
|
|
|
24711
|
+
/** Narrator createdAt. */
|
|
24712
|
+
public createdAt: (number|Long);
|
|
24713
|
+
|
|
24714
|
+
/** Narrator updatedAt. */
|
|
24715
|
+
public updatedAt: (number|Long);
|
|
24716
|
+
|
|
24704
24717
|
/**
|
|
24705
24718
|
* Creates a new Narrator instance using the specified properties.
|
|
24706
24719
|
* @param [properties] Properties to set
|
|
@@ -24921,6 +24934,15 @@ export interface ITranslation {
|
|
|
24921
24934
|
|
|
24922
24935
|
/** Translation tags */
|
|
24923
24936
|
tags?: (ITag[]|null);
|
|
24937
|
+
|
|
24938
|
+
/** Translation description */
|
|
24939
|
+
description?: (string|null);
|
|
24940
|
+
|
|
24941
|
+
/** Translation durationRange */
|
|
24942
|
+
durationRange?: (string|null);
|
|
24943
|
+
|
|
24944
|
+
/** Translation teaser */
|
|
24945
|
+
teaser?: (string|null);
|
|
24924
24946
|
}
|
|
24925
24947
|
|
|
24926
24948
|
/** Represents a Translation. */
|
|
@@ -24953,6 +24975,15 @@ export class Translation implements ITranslation {
|
|
|
24953
24975
|
/** Translation tags. */
|
|
24954
24976
|
public tags: ITag[];
|
|
24955
24977
|
|
|
24978
|
+
/** Translation description. */
|
|
24979
|
+
public description: string;
|
|
24980
|
+
|
|
24981
|
+
/** Translation durationRange. */
|
|
24982
|
+
public durationRange: string;
|
|
24983
|
+
|
|
24984
|
+
/** Translation teaser. */
|
|
24985
|
+
public teaser: string;
|
|
24986
|
+
|
|
24956
24987
|
/**
|
|
24957
24988
|
* Creates a new Translation instance using the specified properties.
|
|
24958
24989
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -18947,6 +18947,7 @@ $root.productcatalog = (function() {
|
|
|
18947
18947
|
case 4:
|
|
18948
18948
|
case 5:
|
|
18949
18949
|
case 6:
|
|
18950
|
+
case 7:
|
|
18950
18951
|
break;
|
|
18951
18952
|
}
|
|
18952
18953
|
if (message.initialTerm != null && message.hasOwnProperty("initialTerm")) {
|
|
@@ -19062,6 +19063,10 @@ $root.productcatalog = (function() {
|
|
|
19062
19063
|
case 6:
|
|
19063
19064
|
message.billingCategory = 6;
|
|
19064
19065
|
break;
|
|
19066
|
+
case "BC_PARTIAL_PAY":
|
|
19067
|
+
case 7:
|
|
19068
|
+
message.billingCategory = 7;
|
|
19069
|
+
break;
|
|
19065
19070
|
}
|
|
19066
19071
|
if (object.initialTerm != null) {
|
|
19067
19072
|
if (typeof object.initialTerm !== "object")
|
|
@@ -19923,7 +19928,7 @@ $root.productcatalog = (function() {
|
|
|
19923
19928
|
* @property {productcatalog.ProductSkuCalendarPeriod|null} [period] type of calendar period, e.g. "MONTH", "DAY", "YEAR"
|
|
19924
19929
|
* @property {productcatalog.ProductSkuChargeModel|null} [chargeModel] how to interpret this charge, eg. "FLAT_FEE", "DISCOUNT_FIXED", "DISCOUNT_PCT"
|
|
19925
19930
|
* @property {productcatalog.ProductSkuEndDateCondition|null} [endDateCondition] when to end this charge, eg. "END_OF_SUBSCRIPTION", "FIXED_PERIODS"
|
|
19926
|
-
* @property {
|
|
19931
|
+
* @property {number|null} [endDatePeriods] when 'end_date_condition' is "FIXED_PERIOD", the number of periods to charge before ending
|
|
19927
19932
|
* @property {Array.<productcatalog.IRatePlanChargeTier>|null} [tiers] country & currency specific configuration
|
|
19928
19933
|
*/
|
|
19929
19934
|
|
|
@@ -19969,11 +19974,11 @@ $root.productcatalog = (function() {
|
|
|
19969
19974
|
|
|
19970
19975
|
/**
|
|
19971
19976
|
* when 'end_date_condition' is "FIXED_PERIOD", the number of periods to charge before ending
|
|
19972
|
-
* @member {
|
|
19977
|
+
* @member {number} endDatePeriods
|
|
19973
19978
|
* @memberof productcatalog.RatePlanCharge
|
|
19974
19979
|
* @instance
|
|
19975
19980
|
*/
|
|
19976
|
-
RatePlanCharge.prototype.endDatePeriods =
|
|
19981
|
+
RatePlanCharge.prototype.endDatePeriods = 0;
|
|
19977
19982
|
|
|
19978
19983
|
/**
|
|
19979
19984
|
* country & currency specific configuration
|
|
@@ -20014,7 +20019,7 @@ $root.productcatalog = (function() {
|
|
|
20014
20019
|
if (message.endDateCondition != null && message.hasOwnProperty("endDateCondition"))
|
|
20015
20020
|
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.endDateCondition);
|
|
20016
20021
|
if (message.endDatePeriods != null && message.hasOwnProperty("endDatePeriods"))
|
|
20017
|
-
writer.uint32(/* id 4, wireType
|
|
20022
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.endDatePeriods);
|
|
20018
20023
|
if (message.tiers != null && message.tiers.length)
|
|
20019
20024
|
for (var i = 0; i < message.tiers.length; ++i)
|
|
20020
20025
|
$root.productcatalog.RatePlanChargeTier.encode(message.tiers[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
@@ -20062,7 +20067,7 @@ $root.productcatalog = (function() {
|
|
|
20062
20067
|
message.endDateCondition = reader.int32();
|
|
20063
20068
|
break;
|
|
20064
20069
|
case 4:
|
|
20065
|
-
message.endDatePeriods = reader.
|
|
20070
|
+
message.endDatePeriods = reader.uint32();
|
|
20066
20071
|
break;
|
|
20067
20072
|
case 5:
|
|
20068
20073
|
if (!(message.tiers && message.tiers.length))
|
|
@@ -20140,8 +20145,8 @@ $root.productcatalog = (function() {
|
|
|
20140
20145
|
break;
|
|
20141
20146
|
}
|
|
20142
20147
|
if (message.endDatePeriods != null && message.hasOwnProperty("endDatePeriods"))
|
|
20143
|
-
if (!$util.
|
|
20144
|
-
return "endDatePeriods:
|
|
20148
|
+
if (!$util.isInteger(message.endDatePeriods))
|
|
20149
|
+
return "endDatePeriods: integer expected";
|
|
20145
20150
|
if (message.tiers != null && message.hasOwnProperty("tiers")) {
|
|
20146
20151
|
if (!Array.isArray(message.tiers))
|
|
20147
20152
|
return "tiers: array expected";
|
|
@@ -20241,7 +20246,7 @@ $root.productcatalog = (function() {
|
|
|
20241
20246
|
break;
|
|
20242
20247
|
}
|
|
20243
20248
|
if (object.endDatePeriods != null)
|
|
20244
|
-
message.endDatePeriods =
|
|
20249
|
+
message.endDatePeriods = object.endDatePeriods >>> 0;
|
|
20245
20250
|
if (object.tiers) {
|
|
20246
20251
|
if (!Array.isArray(object.tiers))
|
|
20247
20252
|
throw TypeError(".productcatalog.RatePlanCharge.tiers: array expected");
|
|
@@ -20274,7 +20279,7 @@ $root.productcatalog = (function() {
|
|
|
20274
20279
|
object.period = options.enums === String ? "CP_UNKNOWN" : 0;
|
|
20275
20280
|
object.chargeModel = options.enums === String ? "CM_UNKNOWN" : 0;
|
|
20276
20281
|
object.endDateCondition = options.enums === String ? "EDC_UNKNOWN" : 0;
|
|
20277
|
-
object.endDatePeriods =
|
|
20282
|
+
object.endDatePeriods = 0;
|
|
20278
20283
|
}
|
|
20279
20284
|
if (message.period != null && message.hasOwnProperty("period"))
|
|
20280
20285
|
object.period = options.enums === String ? $root.productcatalog.ProductSkuCalendarPeriod[message.period] : message.period;
|
|
@@ -20617,6 +20622,7 @@ $root.productcatalog = (function() {
|
|
|
20617
20622
|
* @property {number} BC_FREE_TRIAL=4 BC_FREE_TRIAL value
|
|
20618
20623
|
* @property {number} BC_PARTNER_PAID=5 BC_PARTNER_PAID value
|
|
20619
20624
|
* @property {number} BC_DIRECT=6 BC_DIRECT value
|
|
20625
|
+
* @property {number} BC_PARTIAL_PAY=7 BC_PARTIAL_PAY value
|
|
20620
20626
|
*/
|
|
20621
20627
|
productcatalog.ProductSkuBillingCategory = (function() {
|
|
20622
20628
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -20627,6 +20633,7 @@ $root.productcatalog = (function() {
|
|
|
20627
20633
|
values[valuesById[4] = "BC_FREE_TRIAL"] = 4;
|
|
20628
20634
|
values[valuesById[5] = "BC_PARTNER_PAID"] = 5;
|
|
20629
20635
|
values[valuesById[6] = "BC_DIRECT"] = 6;
|
|
20636
|
+
values[valuesById[7] = "BC_PARTIAL_PAY"] = 7;
|
|
20630
20637
|
return values;
|
|
20631
20638
|
})();
|
|
20632
20639
|
|
|
@@ -67612,6 +67619,8 @@ $root.Narrator = (function() {
|
|
|
67612
67619
|
* @property {string|null} [authorCategory] Narrator authorCategory
|
|
67613
67620
|
* @property {number|null} [gender] Narrator gender
|
|
67614
67621
|
* @property {number|Long|null} [deletedAt] Narrator deletedAt
|
|
67622
|
+
* @property {number|Long|null} [createdAt] Narrator createdAt
|
|
67623
|
+
* @property {number|Long|null} [updatedAt] Narrator updatedAt
|
|
67615
67624
|
*/
|
|
67616
67625
|
|
|
67617
67626
|
/**
|
|
@@ -67709,6 +67718,22 @@ $root.Narrator = (function() {
|
|
|
67709
67718
|
*/
|
|
67710
67719
|
Narrator.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
67711
67720
|
|
|
67721
|
+
/**
|
|
67722
|
+
* Narrator createdAt.
|
|
67723
|
+
* @member {number|Long} createdAt
|
|
67724
|
+
* @memberof Narrator
|
|
67725
|
+
* @instance
|
|
67726
|
+
*/
|
|
67727
|
+
Narrator.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
67728
|
+
|
|
67729
|
+
/**
|
|
67730
|
+
* Narrator updatedAt.
|
|
67731
|
+
* @member {number|Long} updatedAt
|
|
67732
|
+
* @memberof Narrator
|
|
67733
|
+
* @instance
|
|
67734
|
+
*/
|
|
67735
|
+
Narrator.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
67736
|
+
|
|
67712
67737
|
/**
|
|
67713
67738
|
* Creates a new Narrator instance using the specified properties.
|
|
67714
67739
|
* @function create
|
|
@@ -67753,6 +67778,10 @@ $root.Narrator = (function() {
|
|
|
67753
67778
|
writer.uint32(/* id 9, wireType 0 =*/72).uint32(message.gender);
|
|
67754
67779
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
67755
67780
|
writer.uint32(/* id 10, wireType 0 =*/80).uint64(message.deletedAt);
|
|
67781
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
67782
|
+
writer.uint32(/* id 11, wireType 0 =*/88).uint64(message.createdAt);
|
|
67783
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
67784
|
+
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.updatedAt);
|
|
67756
67785
|
return writer;
|
|
67757
67786
|
};
|
|
67758
67787
|
|
|
@@ -67817,6 +67846,12 @@ $root.Narrator = (function() {
|
|
|
67817
67846
|
case 10:
|
|
67818
67847
|
message.deletedAt = reader.uint64();
|
|
67819
67848
|
break;
|
|
67849
|
+
case 11:
|
|
67850
|
+
message.createdAt = reader.uint64();
|
|
67851
|
+
break;
|
|
67852
|
+
case 12:
|
|
67853
|
+
message.updatedAt = reader.uint64();
|
|
67854
|
+
break;
|
|
67820
67855
|
default:
|
|
67821
67856
|
reader.skipType(tag & 7);
|
|
67822
67857
|
break;
|
|
@@ -67882,6 +67917,12 @@ $root.Narrator = (function() {
|
|
|
67882
67917
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
67883
67918
|
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
67884
67919
|
return "deletedAt: integer|Long expected";
|
|
67920
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
67921
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
67922
|
+
return "createdAt: integer|Long expected";
|
|
67923
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
67924
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
67925
|
+
return "updatedAt: integer|Long expected";
|
|
67885
67926
|
return null;
|
|
67886
67927
|
};
|
|
67887
67928
|
|
|
@@ -67924,6 +67965,24 @@ $root.Narrator = (function() {
|
|
|
67924
67965
|
message.deletedAt = object.deletedAt;
|
|
67925
67966
|
else if (typeof object.deletedAt === "object")
|
|
67926
67967
|
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
67968
|
+
if (object.createdAt != null)
|
|
67969
|
+
if ($util.Long)
|
|
67970
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
67971
|
+
else if (typeof object.createdAt === "string")
|
|
67972
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
67973
|
+
else if (typeof object.createdAt === "number")
|
|
67974
|
+
message.createdAt = object.createdAt;
|
|
67975
|
+
else if (typeof object.createdAt === "object")
|
|
67976
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
67977
|
+
if (object.updatedAt != null)
|
|
67978
|
+
if ($util.Long)
|
|
67979
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
67980
|
+
else if (typeof object.updatedAt === "string")
|
|
67981
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
67982
|
+
else if (typeof object.updatedAt === "number")
|
|
67983
|
+
message.updatedAt = object.updatedAt;
|
|
67984
|
+
else if (typeof object.updatedAt === "object")
|
|
67985
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
67927
67986
|
return message;
|
|
67928
67987
|
};
|
|
67929
67988
|
|
|
@@ -67955,6 +68014,16 @@ $root.Narrator = (function() {
|
|
|
67955
68014
|
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
67956
68015
|
} else
|
|
67957
68016
|
object.deletedAt = options.longs === String ? "0" : 0;
|
|
68017
|
+
if ($util.Long) {
|
|
68018
|
+
var long = new $util.Long(0, 0, true);
|
|
68019
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
68020
|
+
} else
|
|
68021
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
68022
|
+
if ($util.Long) {
|
|
68023
|
+
var long = new $util.Long(0, 0, true);
|
|
68024
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
68025
|
+
} else
|
|
68026
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
67958
68027
|
}
|
|
67959
68028
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
67960
68029
|
object.id = message.id;
|
|
@@ -67979,6 +68048,16 @@ $root.Narrator = (function() {
|
|
|
67979
68048
|
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
67980
68049
|
else
|
|
67981
68050
|
object.deletedAt = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAt) : options.longs === Number ? new $util.LongBits(message.deletedAt.low >>> 0, message.deletedAt.high >>> 0).toNumber(true) : message.deletedAt;
|
|
68051
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
68052
|
+
if (typeof message.createdAt === "number")
|
|
68053
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
68054
|
+
else
|
|
68055
|
+
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
68056
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
68057
|
+
if (typeof message.updatedAt === "number")
|
|
68058
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
68059
|
+
else
|
|
68060
|
+
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
67982
68061
|
return object;
|
|
67983
68062
|
};
|
|
67984
68063
|
|
|
@@ -68371,6 +68450,9 @@ $root.Translation = (function() {
|
|
|
68371
68450
|
* @property {string|null} [subtextSecondary] Translation subtextSecondary
|
|
68372
68451
|
* @property {Array.<INarrator>|null} [narrators] Translation narrators
|
|
68373
68452
|
* @property {Array.<ITag>|null} [tags] Translation tags
|
|
68453
|
+
* @property {string|null} [description] Translation description
|
|
68454
|
+
* @property {string|null} [durationRange] Translation durationRange
|
|
68455
|
+
* @property {string|null} [teaser] Translation teaser
|
|
68374
68456
|
*/
|
|
68375
68457
|
|
|
68376
68458
|
/**
|
|
@@ -68446,6 +68528,30 @@ $root.Translation = (function() {
|
|
|
68446
68528
|
*/
|
|
68447
68529
|
Translation.prototype.tags = $util.emptyArray;
|
|
68448
68530
|
|
|
68531
|
+
/**
|
|
68532
|
+
* Translation description.
|
|
68533
|
+
* @member {string} description
|
|
68534
|
+
* @memberof Translation
|
|
68535
|
+
* @instance
|
|
68536
|
+
*/
|
|
68537
|
+
Translation.prototype.description = "";
|
|
68538
|
+
|
|
68539
|
+
/**
|
|
68540
|
+
* Translation durationRange.
|
|
68541
|
+
* @member {string} durationRange
|
|
68542
|
+
* @memberof Translation
|
|
68543
|
+
* @instance
|
|
68544
|
+
*/
|
|
68545
|
+
Translation.prototype.durationRange = "";
|
|
68546
|
+
|
|
68547
|
+
/**
|
|
68548
|
+
* Translation teaser.
|
|
68549
|
+
* @member {string} teaser
|
|
68550
|
+
* @memberof Translation
|
|
68551
|
+
* @instance
|
|
68552
|
+
*/
|
|
68553
|
+
Translation.prototype.teaser = "";
|
|
68554
|
+
|
|
68449
68555
|
/**
|
|
68450
68556
|
* Creates a new Translation instance using the specified properties.
|
|
68451
68557
|
* @function create
|
|
@@ -68486,6 +68592,12 @@ $root.Translation = (function() {
|
|
|
68486
68592
|
if (message.tags != null && message.tags.length)
|
|
68487
68593
|
for (var i = 0; i < message.tags.length; ++i)
|
|
68488
68594
|
$root.Tag.encode(message.tags[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
68595
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
68596
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.description);
|
|
68597
|
+
if (message.durationRange != null && message.hasOwnProperty("durationRange"))
|
|
68598
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.durationRange);
|
|
68599
|
+
if (message.teaser != null && message.hasOwnProperty("teaser"))
|
|
68600
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.teaser);
|
|
68489
68601
|
return writer;
|
|
68490
68602
|
};
|
|
68491
68603
|
|
|
@@ -68545,6 +68657,15 @@ $root.Translation = (function() {
|
|
|
68545
68657
|
message.tags = [];
|
|
68546
68658
|
message.tags.push($root.Tag.decode(reader, reader.uint32()));
|
|
68547
68659
|
break;
|
|
68660
|
+
case 8:
|
|
68661
|
+
message.description = reader.string();
|
|
68662
|
+
break;
|
|
68663
|
+
case 9:
|
|
68664
|
+
message.durationRange = reader.string();
|
|
68665
|
+
break;
|
|
68666
|
+
case 10:
|
|
68667
|
+
message.teaser = reader.string();
|
|
68668
|
+
break;
|
|
68548
68669
|
default:
|
|
68549
68670
|
reader.skipType(tag & 7);
|
|
68550
68671
|
break;
|
|
@@ -68613,6 +68734,15 @@ $root.Translation = (function() {
|
|
|
68613
68734
|
return "tags." + error;
|
|
68614
68735
|
}
|
|
68615
68736
|
}
|
|
68737
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
68738
|
+
if (!$util.isString(message.description))
|
|
68739
|
+
return "description: string expected";
|
|
68740
|
+
if (message.durationRange != null && message.hasOwnProperty("durationRange"))
|
|
68741
|
+
if (!$util.isString(message.durationRange))
|
|
68742
|
+
return "durationRange: string expected";
|
|
68743
|
+
if (message.teaser != null && message.hasOwnProperty("teaser"))
|
|
68744
|
+
if (!$util.isString(message.teaser))
|
|
68745
|
+
return "teaser: string expected";
|
|
68616
68746
|
return null;
|
|
68617
68747
|
};
|
|
68618
68748
|
|
|
@@ -68658,6 +68788,12 @@ $root.Translation = (function() {
|
|
|
68658
68788
|
message.tags[i] = $root.Tag.fromObject(object.tags[i]);
|
|
68659
68789
|
}
|
|
68660
68790
|
}
|
|
68791
|
+
if (object.description != null)
|
|
68792
|
+
message.description = String(object.description);
|
|
68793
|
+
if (object.durationRange != null)
|
|
68794
|
+
message.durationRange = String(object.durationRange);
|
|
68795
|
+
if (object.teaser != null)
|
|
68796
|
+
message.teaser = String(object.teaser);
|
|
68661
68797
|
return message;
|
|
68662
68798
|
};
|
|
68663
68799
|
|
|
@@ -68684,6 +68820,9 @@ $root.Translation = (function() {
|
|
|
68684
68820
|
object.bodyText = "";
|
|
68685
68821
|
object.subtext = "";
|
|
68686
68822
|
object.subtextSecondary = "";
|
|
68823
|
+
object.description = "";
|
|
68824
|
+
object.durationRange = "";
|
|
68825
|
+
object.teaser = "";
|
|
68687
68826
|
}
|
|
68688
68827
|
if (message.formattedContentTypeDisplayValue != null && message.hasOwnProperty("formattedContentTypeDisplayValue"))
|
|
68689
68828
|
object.formattedContentTypeDisplayValue = message.formattedContentTypeDisplayValue;
|
|
@@ -68705,6 +68844,12 @@ $root.Translation = (function() {
|
|
|
68705
68844
|
for (var j = 0; j < message.tags.length; ++j)
|
|
68706
68845
|
object.tags[j] = $root.Tag.toObject(message.tags[j], options);
|
|
68707
68846
|
}
|
|
68847
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
68848
|
+
object.description = message.description;
|
|
68849
|
+
if (message.durationRange != null && message.hasOwnProperty("durationRange"))
|
|
68850
|
+
object.durationRange = message.durationRange;
|
|
68851
|
+
if (message.teaser != null && message.hasOwnProperty("teaser"))
|
|
68852
|
+
object.teaser = message.teaser;
|
|
68708
68853
|
return object;
|
|
68709
68854
|
};
|
|
68710
68855
|
|
package/package.json
CHANGED