@headspace/protos-events 1.245.0 → 1.246.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 +6 -0
- package/lib/index.js +36 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -19213,6 +19213,9 @@ export interface IRecommendationSearchMatched {
|
|
|
19213
19213
|
|
|
19214
19214
|
/** RecommendationSearchMatched contentName */
|
|
19215
19215
|
contentName?: (string|null);
|
|
19216
|
+
|
|
19217
|
+
/** RecommendationSearchMatched updatedAt */
|
|
19218
|
+
updatedAt?: (number|Long|null);
|
|
19216
19219
|
}
|
|
19217
19220
|
|
|
19218
19221
|
/** Represents a RecommendationSearchMatched. */
|
|
@@ -19239,6 +19242,9 @@ export class RecommendationSearchMatched implements IRecommendationSearchMatched
|
|
|
19239
19242
|
/** RecommendationSearchMatched contentName. */
|
|
19240
19243
|
public contentName: string;
|
|
19241
19244
|
|
|
19245
|
+
/** RecommendationSearchMatched updatedAt. */
|
|
19246
|
+
public updatedAt: (number|Long);
|
|
19247
|
+
|
|
19242
19248
|
/**
|
|
19243
19249
|
* Creates a new RecommendationSearchMatched instance using the specified properties.
|
|
19244
19250
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -53702,6 +53702,7 @@ $root.RecommendationSearchMatched = (function() {
|
|
|
53702
53702
|
* @property {string|null} [locale] RecommendationSearchMatched locale
|
|
53703
53703
|
* @property {string|null} [deepLink] RecommendationSearchMatched deepLink
|
|
53704
53704
|
* @property {string|null} [contentName] RecommendationSearchMatched contentName
|
|
53705
|
+
* @property {number|Long|null} [updatedAt] RecommendationSearchMatched updatedAt
|
|
53705
53706
|
*/
|
|
53706
53707
|
|
|
53707
53708
|
/**
|
|
@@ -53759,6 +53760,14 @@ $root.RecommendationSearchMatched = (function() {
|
|
|
53759
53760
|
*/
|
|
53760
53761
|
RecommendationSearchMatched.prototype.contentName = "";
|
|
53761
53762
|
|
|
53763
|
+
/**
|
|
53764
|
+
* RecommendationSearchMatched updatedAt.
|
|
53765
|
+
* @member {number|Long} updatedAt
|
|
53766
|
+
* @memberof RecommendationSearchMatched
|
|
53767
|
+
* @instance
|
|
53768
|
+
*/
|
|
53769
|
+
RecommendationSearchMatched.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
53770
|
+
|
|
53762
53771
|
/**
|
|
53763
53772
|
* Creates a new RecommendationSearchMatched instance using the specified properties.
|
|
53764
53773
|
* @function create
|
|
@@ -53793,6 +53802,8 @@ $root.RecommendationSearchMatched = (function() {
|
|
|
53793
53802
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.deepLink);
|
|
53794
53803
|
if (message.contentName != null && message.hasOwnProperty("contentName"))
|
|
53795
53804
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.contentName);
|
|
53805
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
53806
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.updatedAt);
|
|
53796
53807
|
return writer;
|
|
53797
53808
|
};
|
|
53798
53809
|
|
|
@@ -53842,6 +53853,9 @@ $root.RecommendationSearchMatched = (function() {
|
|
|
53842
53853
|
case 5:
|
|
53843
53854
|
message.contentName = reader.string();
|
|
53844
53855
|
break;
|
|
53856
|
+
case 6:
|
|
53857
|
+
message.updatedAt = reader.uint64();
|
|
53858
|
+
break;
|
|
53845
53859
|
default:
|
|
53846
53860
|
reader.skipType(tag & 7);
|
|
53847
53861
|
break;
|
|
@@ -53892,6 +53906,9 @@ $root.RecommendationSearchMatched = (function() {
|
|
|
53892
53906
|
if (message.contentName != null && message.hasOwnProperty("contentName"))
|
|
53893
53907
|
if (!$util.isString(message.contentName))
|
|
53894
53908
|
return "contentName: string expected";
|
|
53909
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
53910
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
53911
|
+
return "updatedAt: integer|Long expected";
|
|
53895
53912
|
return null;
|
|
53896
53913
|
};
|
|
53897
53914
|
|
|
@@ -53917,6 +53934,15 @@ $root.RecommendationSearchMatched = (function() {
|
|
|
53917
53934
|
message.deepLink = String(object.deepLink);
|
|
53918
53935
|
if (object.contentName != null)
|
|
53919
53936
|
message.contentName = String(object.contentName);
|
|
53937
|
+
if (object.updatedAt != null)
|
|
53938
|
+
if ($util.Long)
|
|
53939
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
53940
|
+
else if (typeof object.updatedAt === "string")
|
|
53941
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
53942
|
+
else if (typeof object.updatedAt === "number")
|
|
53943
|
+
message.updatedAt = object.updatedAt;
|
|
53944
|
+
else if (typeof object.updatedAt === "object")
|
|
53945
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
53920
53946
|
return message;
|
|
53921
53947
|
};
|
|
53922
53948
|
|
|
@@ -53939,6 +53965,11 @@ $root.RecommendationSearchMatched = (function() {
|
|
|
53939
53965
|
object.locale = "";
|
|
53940
53966
|
object.deepLink = "";
|
|
53941
53967
|
object.contentName = "";
|
|
53968
|
+
if ($util.Long) {
|
|
53969
|
+
var long = new $util.Long(0, 0, true);
|
|
53970
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
53971
|
+
} else
|
|
53972
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
53942
53973
|
}
|
|
53943
53974
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
53944
53975
|
object.userId = message.userId;
|
|
@@ -53950,6 +53981,11 @@ $root.RecommendationSearchMatched = (function() {
|
|
|
53950
53981
|
object.deepLink = message.deepLink;
|
|
53951
53982
|
if (message.contentName != null && message.hasOwnProperty("contentName"))
|
|
53952
53983
|
object.contentName = message.contentName;
|
|
53984
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
53985
|
+
if (typeof message.updatedAt === "number")
|
|
53986
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
53987
|
+
else
|
|
53988
|
+
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;
|
|
53953
53989
|
return object;
|
|
53954
53990
|
};
|
|
53955
53991
|
|
package/package.json
CHANGED