@headspace/protos-events 1.250.0 → 1.251.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 +120 -0
- package/lib/index.js +312 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -23796,6 +23796,126 @@ export class RecommendationSearchMatched implements IRecommendationSearchMatched
|
|
|
23796
23796
|
public toJSON(): { [k: string]: any };
|
|
23797
23797
|
}
|
|
23798
23798
|
|
|
23799
|
+
/** Properties of a RecommendationSequenceModelPredictionAvailable. */
|
|
23800
|
+
export interface IRecommendationSequenceModelPredictionAvailable {
|
|
23801
|
+
|
|
23802
|
+
/** RecommendationSequenceModelPredictionAvailable userId */
|
|
23803
|
+
userId?: (string|null);
|
|
23804
|
+
|
|
23805
|
+
/** RecommendationSequenceModelPredictionAvailable locale */
|
|
23806
|
+
locale?: (string|null);
|
|
23807
|
+
|
|
23808
|
+
/** RecommendationSequenceModelPredictionAvailable deepLink */
|
|
23809
|
+
deepLink?: (string|null);
|
|
23810
|
+
|
|
23811
|
+
/** RecommendationSequenceModelPredictionAvailable previousContentNames */
|
|
23812
|
+
previousContentNames?: (string|null);
|
|
23813
|
+
|
|
23814
|
+
/** RecommendationSequenceModelPredictionAvailable contentName */
|
|
23815
|
+
contentName?: (string|null);
|
|
23816
|
+
|
|
23817
|
+
/** RecommendationSequenceModelPredictionAvailable updatedAt */
|
|
23818
|
+
updatedAt?: (number|Long|null);
|
|
23819
|
+
}
|
|
23820
|
+
|
|
23821
|
+
/** Represents a RecommendationSequenceModelPredictionAvailable. */
|
|
23822
|
+
export class RecommendationSequenceModelPredictionAvailable implements IRecommendationSequenceModelPredictionAvailable {
|
|
23823
|
+
|
|
23824
|
+
/**
|
|
23825
|
+
* Constructs a new RecommendationSequenceModelPredictionAvailable.
|
|
23826
|
+
* @param [properties] Properties to set
|
|
23827
|
+
*/
|
|
23828
|
+
constructor(properties?: IRecommendationSequenceModelPredictionAvailable);
|
|
23829
|
+
|
|
23830
|
+
/** RecommendationSequenceModelPredictionAvailable userId. */
|
|
23831
|
+
public userId: string;
|
|
23832
|
+
|
|
23833
|
+
/** RecommendationSequenceModelPredictionAvailable locale. */
|
|
23834
|
+
public locale: string;
|
|
23835
|
+
|
|
23836
|
+
/** RecommendationSequenceModelPredictionAvailable deepLink. */
|
|
23837
|
+
public deepLink: string;
|
|
23838
|
+
|
|
23839
|
+
/** RecommendationSequenceModelPredictionAvailable previousContentNames. */
|
|
23840
|
+
public previousContentNames: string;
|
|
23841
|
+
|
|
23842
|
+
/** RecommendationSequenceModelPredictionAvailable contentName. */
|
|
23843
|
+
public contentName: string;
|
|
23844
|
+
|
|
23845
|
+
/** RecommendationSequenceModelPredictionAvailable updatedAt. */
|
|
23846
|
+
public updatedAt: (number|Long);
|
|
23847
|
+
|
|
23848
|
+
/**
|
|
23849
|
+
* Creates a new RecommendationSequenceModelPredictionAvailable instance using the specified properties.
|
|
23850
|
+
* @param [properties] Properties to set
|
|
23851
|
+
* @returns RecommendationSequenceModelPredictionAvailable instance
|
|
23852
|
+
*/
|
|
23853
|
+
public static create(properties?: IRecommendationSequenceModelPredictionAvailable): RecommendationSequenceModelPredictionAvailable;
|
|
23854
|
+
|
|
23855
|
+
/**
|
|
23856
|
+
* Encodes the specified RecommendationSequenceModelPredictionAvailable message. Does not implicitly {@link RecommendationSequenceModelPredictionAvailable.verify|verify} messages.
|
|
23857
|
+
* @param message RecommendationSequenceModelPredictionAvailable message or plain object to encode
|
|
23858
|
+
* @param [writer] Writer to encode to
|
|
23859
|
+
* @returns Writer
|
|
23860
|
+
*/
|
|
23861
|
+
public static encode(message: IRecommendationSequenceModelPredictionAvailable, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23862
|
+
|
|
23863
|
+
/**
|
|
23864
|
+
* Encodes the specified RecommendationSequenceModelPredictionAvailable message, length delimited. Does not implicitly {@link RecommendationSequenceModelPredictionAvailable.verify|verify} messages.
|
|
23865
|
+
* @param message RecommendationSequenceModelPredictionAvailable message or plain object to encode
|
|
23866
|
+
* @param [writer] Writer to encode to
|
|
23867
|
+
* @returns Writer
|
|
23868
|
+
*/
|
|
23869
|
+
public static encodeDelimited(message: IRecommendationSequenceModelPredictionAvailable, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23870
|
+
|
|
23871
|
+
/**
|
|
23872
|
+
* Decodes a RecommendationSequenceModelPredictionAvailable message from the specified reader or buffer.
|
|
23873
|
+
* @param reader Reader or buffer to decode from
|
|
23874
|
+
* @param [length] Message length if known beforehand
|
|
23875
|
+
* @returns RecommendationSequenceModelPredictionAvailable
|
|
23876
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23877
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23878
|
+
*/
|
|
23879
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RecommendationSequenceModelPredictionAvailable;
|
|
23880
|
+
|
|
23881
|
+
/**
|
|
23882
|
+
* Decodes a RecommendationSequenceModelPredictionAvailable message from the specified reader or buffer, length delimited.
|
|
23883
|
+
* @param reader Reader or buffer to decode from
|
|
23884
|
+
* @returns RecommendationSequenceModelPredictionAvailable
|
|
23885
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23886
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23887
|
+
*/
|
|
23888
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RecommendationSequenceModelPredictionAvailable;
|
|
23889
|
+
|
|
23890
|
+
/**
|
|
23891
|
+
* Verifies a RecommendationSequenceModelPredictionAvailable message.
|
|
23892
|
+
* @param message Plain object to verify
|
|
23893
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23894
|
+
*/
|
|
23895
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23896
|
+
|
|
23897
|
+
/**
|
|
23898
|
+
* Creates a RecommendationSequenceModelPredictionAvailable message from a plain object. Also converts values to their respective internal types.
|
|
23899
|
+
* @param object Plain object
|
|
23900
|
+
* @returns RecommendationSequenceModelPredictionAvailable
|
|
23901
|
+
*/
|
|
23902
|
+
public static fromObject(object: { [k: string]: any }): RecommendationSequenceModelPredictionAvailable;
|
|
23903
|
+
|
|
23904
|
+
/**
|
|
23905
|
+
* Creates a plain object from a RecommendationSequenceModelPredictionAvailable message. Also converts values to other types if specified.
|
|
23906
|
+
* @param message RecommendationSequenceModelPredictionAvailable
|
|
23907
|
+
* @param [options] Conversion options
|
|
23908
|
+
* @returns Plain object
|
|
23909
|
+
*/
|
|
23910
|
+
public static toObject(message: RecommendationSequenceModelPredictionAvailable, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23911
|
+
|
|
23912
|
+
/**
|
|
23913
|
+
* Converts this RecommendationSequenceModelPredictionAvailable to JSON.
|
|
23914
|
+
* @returns JSON object
|
|
23915
|
+
*/
|
|
23916
|
+
public toJSON(): { [k: string]: any };
|
|
23917
|
+
}
|
|
23918
|
+
|
|
23799
23919
|
/** Properties of an IosSubscriptionCreated. */
|
|
23800
23920
|
export interface IIosSubscriptionCreated {
|
|
23801
23921
|
|
package/lib/index.js
CHANGED
|
@@ -64921,6 +64921,318 @@ $root.RecommendationSearchMatched = (function() {
|
|
|
64921
64921
|
return RecommendationSearchMatched;
|
|
64922
64922
|
})();
|
|
64923
64923
|
|
|
64924
|
+
$root.RecommendationSequenceModelPredictionAvailable = (function() {
|
|
64925
|
+
|
|
64926
|
+
/**
|
|
64927
|
+
* Properties of a RecommendationSequenceModelPredictionAvailable.
|
|
64928
|
+
* @exports IRecommendationSequenceModelPredictionAvailable
|
|
64929
|
+
* @interface IRecommendationSequenceModelPredictionAvailable
|
|
64930
|
+
* @property {string|null} [userId] RecommendationSequenceModelPredictionAvailable userId
|
|
64931
|
+
* @property {string|null} [locale] RecommendationSequenceModelPredictionAvailable locale
|
|
64932
|
+
* @property {string|null} [deepLink] RecommendationSequenceModelPredictionAvailable deepLink
|
|
64933
|
+
* @property {string|null} [previousContentNames] RecommendationSequenceModelPredictionAvailable previousContentNames
|
|
64934
|
+
* @property {string|null} [contentName] RecommendationSequenceModelPredictionAvailable contentName
|
|
64935
|
+
* @property {number|Long|null} [updatedAt] RecommendationSequenceModelPredictionAvailable updatedAt
|
|
64936
|
+
*/
|
|
64937
|
+
|
|
64938
|
+
/**
|
|
64939
|
+
* Constructs a new RecommendationSequenceModelPredictionAvailable.
|
|
64940
|
+
* @exports RecommendationSequenceModelPredictionAvailable
|
|
64941
|
+
* @classdesc Represents a RecommendationSequenceModelPredictionAvailable.
|
|
64942
|
+
* @implements IRecommendationSequenceModelPredictionAvailable
|
|
64943
|
+
* @constructor
|
|
64944
|
+
* @param {IRecommendationSequenceModelPredictionAvailable=} [properties] Properties to set
|
|
64945
|
+
*/
|
|
64946
|
+
function RecommendationSequenceModelPredictionAvailable(properties) {
|
|
64947
|
+
if (properties)
|
|
64948
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
64949
|
+
if (properties[keys[i]] != null)
|
|
64950
|
+
this[keys[i]] = properties[keys[i]];
|
|
64951
|
+
}
|
|
64952
|
+
|
|
64953
|
+
/**
|
|
64954
|
+
* RecommendationSequenceModelPredictionAvailable userId.
|
|
64955
|
+
* @member {string} userId
|
|
64956
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
64957
|
+
* @instance
|
|
64958
|
+
*/
|
|
64959
|
+
RecommendationSequenceModelPredictionAvailable.prototype.userId = "";
|
|
64960
|
+
|
|
64961
|
+
/**
|
|
64962
|
+
* RecommendationSequenceModelPredictionAvailable locale.
|
|
64963
|
+
* @member {string} locale
|
|
64964
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
64965
|
+
* @instance
|
|
64966
|
+
*/
|
|
64967
|
+
RecommendationSequenceModelPredictionAvailable.prototype.locale = "";
|
|
64968
|
+
|
|
64969
|
+
/**
|
|
64970
|
+
* RecommendationSequenceModelPredictionAvailable deepLink.
|
|
64971
|
+
* @member {string} deepLink
|
|
64972
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
64973
|
+
* @instance
|
|
64974
|
+
*/
|
|
64975
|
+
RecommendationSequenceModelPredictionAvailable.prototype.deepLink = "";
|
|
64976
|
+
|
|
64977
|
+
/**
|
|
64978
|
+
* RecommendationSequenceModelPredictionAvailable previousContentNames.
|
|
64979
|
+
* @member {string} previousContentNames
|
|
64980
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
64981
|
+
* @instance
|
|
64982
|
+
*/
|
|
64983
|
+
RecommendationSequenceModelPredictionAvailable.prototype.previousContentNames = "";
|
|
64984
|
+
|
|
64985
|
+
/**
|
|
64986
|
+
* RecommendationSequenceModelPredictionAvailable contentName.
|
|
64987
|
+
* @member {string} contentName
|
|
64988
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
64989
|
+
* @instance
|
|
64990
|
+
*/
|
|
64991
|
+
RecommendationSequenceModelPredictionAvailable.prototype.contentName = "";
|
|
64992
|
+
|
|
64993
|
+
/**
|
|
64994
|
+
* RecommendationSequenceModelPredictionAvailable updatedAt.
|
|
64995
|
+
* @member {number|Long} updatedAt
|
|
64996
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
64997
|
+
* @instance
|
|
64998
|
+
*/
|
|
64999
|
+
RecommendationSequenceModelPredictionAvailable.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
65000
|
+
|
|
65001
|
+
/**
|
|
65002
|
+
* Creates a new RecommendationSequenceModelPredictionAvailable instance using the specified properties.
|
|
65003
|
+
* @function create
|
|
65004
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65005
|
+
* @static
|
|
65006
|
+
* @param {IRecommendationSequenceModelPredictionAvailable=} [properties] Properties to set
|
|
65007
|
+
* @returns {RecommendationSequenceModelPredictionAvailable} RecommendationSequenceModelPredictionAvailable instance
|
|
65008
|
+
*/
|
|
65009
|
+
RecommendationSequenceModelPredictionAvailable.create = function create(properties) {
|
|
65010
|
+
return new RecommendationSequenceModelPredictionAvailable(properties);
|
|
65011
|
+
};
|
|
65012
|
+
|
|
65013
|
+
/**
|
|
65014
|
+
* Encodes the specified RecommendationSequenceModelPredictionAvailable message. Does not implicitly {@link RecommendationSequenceModelPredictionAvailable.verify|verify} messages.
|
|
65015
|
+
* @function encode
|
|
65016
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65017
|
+
* @static
|
|
65018
|
+
* @param {IRecommendationSequenceModelPredictionAvailable} message RecommendationSequenceModelPredictionAvailable message or plain object to encode
|
|
65019
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
65020
|
+
* @returns {$protobuf.Writer} Writer
|
|
65021
|
+
*/
|
|
65022
|
+
RecommendationSequenceModelPredictionAvailable.encode = function encode(message, writer) {
|
|
65023
|
+
if (!writer)
|
|
65024
|
+
writer = $Writer.create();
|
|
65025
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
65026
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
65027
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
65028
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.locale);
|
|
65029
|
+
if (message.deepLink != null && message.hasOwnProperty("deepLink"))
|
|
65030
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.deepLink);
|
|
65031
|
+
if (message.previousContentNames != null && message.hasOwnProperty("previousContentNames"))
|
|
65032
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.previousContentNames);
|
|
65033
|
+
if (message.contentName != null && message.hasOwnProperty("contentName"))
|
|
65034
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.contentName);
|
|
65035
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
65036
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.updatedAt);
|
|
65037
|
+
return writer;
|
|
65038
|
+
};
|
|
65039
|
+
|
|
65040
|
+
/**
|
|
65041
|
+
* Encodes the specified RecommendationSequenceModelPredictionAvailable message, length delimited. Does not implicitly {@link RecommendationSequenceModelPredictionAvailable.verify|verify} messages.
|
|
65042
|
+
* @function encodeDelimited
|
|
65043
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65044
|
+
* @static
|
|
65045
|
+
* @param {IRecommendationSequenceModelPredictionAvailable} message RecommendationSequenceModelPredictionAvailable message or plain object to encode
|
|
65046
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
65047
|
+
* @returns {$protobuf.Writer} Writer
|
|
65048
|
+
*/
|
|
65049
|
+
RecommendationSequenceModelPredictionAvailable.encodeDelimited = function encodeDelimited(message, writer) {
|
|
65050
|
+
return this.encode(message, writer).ldelim();
|
|
65051
|
+
};
|
|
65052
|
+
|
|
65053
|
+
/**
|
|
65054
|
+
* Decodes a RecommendationSequenceModelPredictionAvailable message from the specified reader or buffer.
|
|
65055
|
+
* @function decode
|
|
65056
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65057
|
+
* @static
|
|
65058
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
65059
|
+
* @param {number} [length] Message length if known beforehand
|
|
65060
|
+
* @returns {RecommendationSequenceModelPredictionAvailable} RecommendationSequenceModelPredictionAvailable
|
|
65061
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
65062
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
65063
|
+
*/
|
|
65064
|
+
RecommendationSequenceModelPredictionAvailable.decode = function decode(reader, length) {
|
|
65065
|
+
if (!(reader instanceof $Reader))
|
|
65066
|
+
reader = $Reader.create(reader);
|
|
65067
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.RecommendationSequenceModelPredictionAvailable();
|
|
65068
|
+
while (reader.pos < end) {
|
|
65069
|
+
var tag = reader.uint32();
|
|
65070
|
+
switch (tag >>> 3) {
|
|
65071
|
+
case 1:
|
|
65072
|
+
message.userId = reader.string();
|
|
65073
|
+
break;
|
|
65074
|
+
case 2:
|
|
65075
|
+
message.locale = reader.string();
|
|
65076
|
+
break;
|
|
65077
|
+
case 3:
|
|
65078
|
+
message.deepLink = reader.string();
|
|
65079
|
+
break;
|
|
65080
|
+
case 4:
|
|
65081
|
+
message.previousContentNames = reader.string();
|
|
65082
|
+
break;
|
|
65083
|
+
case 5:
|
|
65084
|
+
message.contentName = reader.string();
|
|
65085
|
+
break;
|
|
65086
|
+
case 6:
|
|
65087
|
+
message.updatedAt = reader.uint64();
|
|
65088
|
+
break;
|
|
65089
|
+
default:
|
|
65090
|
+
reader.skipType(tag & 7);
|
|
65091
|
+
break;
|
|
65092
|
+
}
|
|
65093
|
+
}
|
|
65094
|
+
return message;
|
|
65095
|
+
};
|
|
65096
|
+
|
|
65097
|
+
/**
|
|
65098
|
+
* Decodes a RecommendationSequenceModelPredictionAvailable message from the specified reader or buffer, length delimited.
|
|
65099
|
+
* @function decodeDelimited
|
|
65100
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65101
|
+
* @static
|
|
65102
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
65103
|
+
* @returns {RecommendationSequenceModelPredictionAvailable} RecommendationSequenceModelPredictionAvailable
|
|
65104
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
65105
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
65106
|
+
*/
|
|
65107
|
+
RecommendationSequenceModelPredictionAvailable.decodeDelimited = function decodeDelimited(reader) {
|
|
65108
|
+
if (!(reader instanceof $Reader))
|
|
65109
|
+
reader = new $Reader(reader);
|
|
65110
|
+
return this.decode(reader, reader.uint32());
|
|
65111
|
+
};
|
|
65112
|
+
|
|
65113
|
+
/**
|
|
65114
|
+
* Verifies a RecommendationSequenceModelPredictionAvailable message.
|
|
65115
|
+
* @function verify
|
|
65116
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65117
|
+
* @static
|
|
65118
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
65119
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
65120
|
+
*/
|
|
65121
|
+
RecommendationSequenceModelPredictionAvailable.verify = function verify(message) {
|
|
65122
|
+
if (typeof message !== "object" || message === null)
|
|
65123
|
+
return "object expected";
|
|
65124
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
65125
|
+
if (!$util.isString(message.userId))
|
|
65126
|
+
return "userId: string expected";
|
|
65127
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
65128
|
+
if (!$util.isString(message.locale))
|
|
65129
|
+
return "locale: string expected";
|
|
65130
|
+
if (message.deepLink != null && message.hasOwnProperty("deepLink"))
|
|
65131
|
+
if (!$util.isString(message.deepLink))
|
|
65132
|
+
return "deepLink: string expected";
|
|
65133
|
+
if (message.previousContentNames != null && message.hasOwnProperty("previousContentNames"))
|
|
65134
|
+
if (!$util.isString(message.previousContentNames))
|
|
65135
|
+
return "previousContentNames: string expected";
|
|
65136
|
+
if (message.contentName != null && message.hasOwnProperty("contentName"))
|
|
65137
|
+
if (!$util.isString(message.contentName))
|
|
65138
|
+
return "contentName: string expected";
|
|
65139
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
65140
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
65141
|
+
return "updatedAt: integer|Long expected";
|
|
65142
|
+
return null;
|
|
65143
|
+
};
|
|
65144
|
+
|
|
65145
|
+
/**
|
|
65146
|
+
* Creates a RecommendationSequenceModelPredictionAvailable message from a plain object. Also converts values to their respective internal types.
|
|
65147
|
+
* @function fromObject
|
|
65148
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65149
|
+
* @static
|
|
65150
|
+
* @param {Object.<string,*>} object Plain object
|
|
65151
|
+
* @returns {RecommendationSequenceModelPredictionAvailable} RecommendationSequenceModelPredictionAvailable
|
|
65152
|
+
*/
|
|
65153
|
+
RecommendationSequenceModelPredictionAvailable.fromObject = function fromObject(object) {
|
|
65154
|
+
if (object instanceof $root.RecommendationSequenceModelPredictionAvailable)
|
|
65155
|
+
return object;
|
|
65156
|
+
var message = new $root.RecommendationSequenceModelPredictionAvailable();
|
|
65157
|
+
if (object.userId != null)
|
|
65158
|
+
message.userId = String(object.userId);
|
|
65159
|
+
if (object.locale != null)
|
|
65160
|
+
message.locale = String(object.locale);
|
|
65161
|
+
if (object.deepLink != null)
|
|
65162
|
+
message.deepLink = String(object.deepLink);
|
|
65163
|
+
if (object.previousContentNames != null)
|
|
65164
|
+
message.previousContentNames = String(object.previousContentNames);
|
|
65165
|
+
if (object.contentName != null)
|
|
65166
|
+
message.contentName = String(object.contentName);
|
|
65167
|
+
if (object.updatedAt != null)
|
|
65168
|
+
if ($util.Long)
|
|
65169
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
65170
|
+
else if (typeof object.updatedAt === "string")
|
|
65171
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
65172
|
+
else if (typeof object.updatedAt === "number")
|
|
65173
|
+
message.updatedAt = object.updatedAt;
|
|
65174
|
+
else if (typeof object.updatedAt === "object")
|
|
65175
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
65176
|
+
return message;
|
|
65177
|
+
};
|
|
65178
|
+
|
|
65179
|
+
/**
|
|
65180
|
+
* Creates a plain object from a RecommendationSequenceModelPredictionAvailable message. Also converts values to other types if specified.
|
|
65181
|
+
* @function toObject
|
|
65182
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65183
|
+
* @static
|
|
65184
|
+
* @param {RecommendationSequenceModelPredictionAvailable} message RecommendationSequenceModelPredictionAvailable
|
|
65185
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
65186
|
+
* @returns {Object.<string,*>} Plain object
|
|
65187
|
+
*/
|
|
65188
|
+
RecommendationSequenceModelPredictionAvailable.toObject = function toObject(message, options) {
|
|
65189
|
+
if (!options)
|
|
65190
|
+
options = {};
|
|
65191
|
+
var object = {};
|
|
65192
|
+
if (options.defaults) {
|
|
65193
|
+
object.userId = "";
|
|
65194
|
+
object.locale = "";
|
|
65195
|
+
object.deepLink = "";
|
|
65196
|
+
object.previousContentNames = "";
|
|
65197
|
+
object.contentName = "";
|
|
65198
|
+
if ($util.Long) {
|
|
65199
|
+
var long = new $util.Long(0, 0, true);
|
|
65200
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
65201
|
+
} else
|
|
65202
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
65203
|
+
}
|
|
65204
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
65205
|
+
object.userId = message.userId;
|
|
65206
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
65207
|
+
object.locale = message.locale;
|
|
65208
|
+
if (message.deepLink != null && message.hasOwnProperty("deepLink"))
|
|
65209
|
+
object.deepLink = message.deepLink;
|
|
65210
|
+
if (message.previousContentNames != null && message.hasOwnProperty("previousContentNames"))
|
|
65211
|
+
object.previousContentNames = message.previousContentNames;
|
|
65212
|
+
if (message.contentName != null && message.hasOwnProperty("contentName"))
|
|
65213
|
+
object.contentName = message.contentName;
|
|
65214
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
65215
|
+
if (typeof message.updatedAt === "number")
|
|
65216
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
65217
|
+
else
|
|
65218
|
+
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;
|
|
65219
|
+
return object;
|
|
65220
|
+
};
|
|
65221
|
+
|
|
65222
|
+
/**
|
|
65223
|
+
* Converts this RecommendationSequenceModelPredictionAvailable to JSON.
|
|
65224
|
+
* @function toJSON
|
|
65225
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65226
|
+
* @instance
|
|
65227
|
+
* @returns {Object.<string,*>} JSON object
|
|
65228
|
+
*/
|
|
65229
|
+
RecommendationSequenceModelPredictionAvailable.prototype.toJSON = function toJSON() {
|
|
65230
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
65231
|
+
};
|
|
65232
|
+
|
|
65233
|
+
return RecommendationSequenceModelPredictionAvailable;
|
|
65234
|
+
})();
|
|
65235
|
+
|
|
64924
65236
|
$root.IosSubscriptionCreated = (function() {
|
|
64925
65237
|
|
|
64926
65238
|
/**
|
package/package.json
CHANGED