@headspace/protos-events 1.250.0 → 1.252.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 +222 -0
- package/lib/index.js +606 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -11217,6 +11217,108 @@ export class UnlinkedConnection implements IUnlinkedConnection {
|
|
|
11217
11217
|
public toJSON(): { [k: string]: any };
|
|
11218
11218
|
}
|
|
11219
11219
|
|
|
11220
|
+
/** Properties of a ConnectionLinked. */
|
|
11221
|
+
export interface IConnectionLinked {
|
|
11222
|
+
|
|
11223
|
+
/** ConnectionLinked hsId */
|
|
11224
|
+
hsId?: (string|null);
|
|
11225
|
+
|
|
11226
|
+
/** ConnectionLinked connection */
|
|
11227
|
+
connection?: (auth0.connections.Connection|null);
|
|
11228
|
+
|
|
11229
|
+
/** ConnectionLinked linkedAt */
|
|
11230
|
+
linkedAt?: (number|Long|null);
|
|
11231
|
+
}
|
|
11232
|
+
|
|
11233
|
+
/** Represents a ConnectionLinked. */
|
|
11234
|
+
export class ConnectionLinked implements IConnectionLinked {
|
|
11235
|
+
|
|
11236
|
+
/**
|
|
11237
|
+
* Constructs a new ConnectionLinked.
|
|
11238
|
+
* @param [properties] Properties to set
|
|
11239
|
+
*/
|
|
11240
|
+
constructor(properties?: IConnectionLinked);
|
|
11241
|
+
|
|
11242
|
+
/** ConnectionLinked hsId. */
|
|
11243
|
+
public hsId: string;
|
|
11244
|
+
|
|
11245
|
+
/** ConnectionLinked connection. */
|
|
11246
|
+
public connection: auth0.connections.Connection;
|
|
11247
|
+
|
|
11248
|
+
/** ConnectionLinked linkedAt. */
|
|
11249
|
+
public linkedAt: (number|Long);
|
|
11250
|
+
|
|
11251
|
+
/**
|
|
11252
|
+
* Creates a new ConnectionLinked instance using the specified properties.
|
|
11253
|
+
* @param [properties] Properties to set
|
|
11254
|
+
* @returns ConnectionLinked instance
|
|
11255
|
+
*/
|
|
11256
|
+
public static create(properties?: IConnectionLinked): ConnectionLinked;
|
|
11257
|
+
|
|
11258
|
+
/**
|
|
11259
|
+
* Encodes the specified ConnectionLinked message. Does not implicitly {@link ConnectionLinked.verify|verify} messages.
|
|
11260
|
+
* @param message ConnectionLinked message or plain object to encode
|
|
11261
|
+
* @param [writer] Writer to encode to
|
|
11262
|
+
* @returns Writer
|
|
11263
|
+
*/
|
|
11264
|
+
public static encode(message: IConnectionLinked, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11265
|
+
|
|
11266
|
+
/**
|
|
11267
|
+
* Encodes the specified ConnectionLinked message, length delimited. Does not implicitly {@link ConnectionLinked.verify|verify} messages.
|
|
11268
|
+
* @param message ConnectionLinked message or plain object to encode
|
|
11269
|
+
* @param [writer] Writer to encode to
|
|
11270
|
+
* @returns Writer
|
|
11271
|
+
*/
|
|
11272
|
+
public static encodeDelimited(message: IConnectionLinked, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11273
|
+
|
|
11274
|
+
/**
|
|
11275
|
+
* Decodes a ConnectionLinked message from the specified reader or buffer.
|
|
11276
|
+
* @param reader Reader or buffer to decode from
|
|
11277
|
+
* @param [length] Message length if known beforehand
|
|
11278
|
+
* @returns ConnectionLinked
|
|
11279
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11280
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11281
|
+
*/
|
|
11282
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ConnectionLinked;
|
|
11283
|
+
|
|
11284
|
+
/**
|
|
11285
|
+
* Decodes a ConnectionLinked message from the specified reader or buffer, length delimited.
|
|
11286
|
+
* @param reader Reader or buffer to decode from
|
|
11287
|
+
* @returns ConnectionLinked
|
|
11288
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11289
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11290
|
+
*/
|
|
11291
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ConnectionLinked;
|
|
11292
|
+
|
|
11293
|
+
/**
|
|
11294
|
+
* Verifies a ConnectionLinked message.
|
|
11295
|
+
* @param message Plain object to verify
|
|
11296
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11297
|
+
*/
|
|
11298
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11299
|
+
|
|
11300
|
+
/**
|
|
11301
|
+
* Creates a ConnectionLinked message from a plain object. Also converts values to their respective internal types.
|
|
11302
|
+
* @param object Plain object
|
|
11303
|
+
* @returns ConnectionLinked
|
|
11304
|
+
*/
|
|
11305
|
+
public static fromObject(object: { [k: string]: any }): ConnectionLinked;
|
|
11306
|
+
|
|
11307
|
+
/**
|
|
11308
|
+
* Creates a plain object from a ConnectionLinked message. Also converts values to other types if specified.
|
|
11309
|
+
* @param message ConnectionLinked
|
|
11310
|
+
* @param [options] Conversion options
|
|
11311
|
+
* @returns Plain object
|
|
11312
|
+
*/
|
|
11313
|
+
public static toObject(message: ConnectionLinked, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11314
|
+
|
|
11315
|
+
/**
|
|
11316
|
+
* Converts this ConnectionLinked to JSON.
|
|
11317
|
+
* @returns JSON object
|
|
11318
|
+
*/
|
|
11319
|
+
public toJSON(): { [k: string]: any };
|
|
11320
|
+
}
|
|
11321
|
+
|
|
11220
11322
|
/** Properties of a BlockedUnverifiedEmail. */
|
|
11221
11323
|
export interface IBlockedUnverifiedEmail {
|
|
11222
11324
|
|
|
@@ -23796,6 +23898,126 @@ export class RecommendationSearchMatched implements IRecommendationSearchMatched
|
|
|
23796
23898
|
public toJSON(): { [k: string]: any };
|
|
23797
23899
|
}
|
|
23798
23900
|
|
|
23901
|
+
/** Properties of a RecommendationSequenceModelPredictionAvailable. */
|
|
23902
|
+
export interface IRecommendationSequenceModelPredictionAvailable {
|
|
23903
|
+
|
|
23904
|
+
/** RecommendationSequenceModelPredictionAvailable userId */
|
|
23905
|
+
userId?: (string|null);
|
|
23906
|
+
|
|
23907
|
+
/** RecommendationSequenceModelPredictionAvailable locale */
|
|
23908
|
+
locale?: (string|null);
|
|
23909
|
+
|
|
23910
|
+
/** RecommendationSequenceModelPredictionAvailable deepLink */
|
|
23911
|
+
deepLink?: (string|null);
|
|
23912
|
+
|
|
23913
|
+
/** RecommendationSequenceModelPredictionAvailable previousContentNames */
|
|
23914
|
+
previousContentNames?: (string|null);
|
|
23915
|
+
|
|
23916
|
+
/** RecommendationSequenceModelPredictionAvailable contentName */
|
|
23917
|
+
contentName?: (string|null);
|
|
23918
|
+
|
|
23919
|
+
/** RecommendationSequenceModelPredictionAvailable updatedAt */
|
|
23920
|
+
updatedAt?: (number|Long|null);
|
|
23921
|
+
}
|
|
23922
|
+
|
|
23923
|
+
/** Represents a RecommendationSequenceModelPredictionAvailable. */
|
|
23924
|
+
export class RecommendationSequenceModelPredictionAvailable implements IRecommendationSequenceModelPredictionAvailable {
|
|
23925
|
+
|
|
23926
|
+
/**
|
|
23927
|
+
* Constructs a new RecommendationSequenceModelPredictionAvailable.
|
|
23928
|
+
* @param [properties] Properties to set
|
|
23929
|
+
*/
|
|
23930
|
+
constructor(properties?: IRecommendationSequenceModelPredictionAvailable);
|
|
23931
|
+
|
|
23932
|
+
/** RecommendationSequenceModelPredictionAvailable userId. */
|
|
23933
|
+
public userId: string;
|
|
23934
|
+
|
|
23935
|
+
/** RecommendationSequenceModelPredictionAvailable locale. */
|
|
23936
|
+
public locale: string;
|
|
23937
|
+
|
|
23938
|
+
/** RecommendationSequenceModelPredictionAvailable deepLink. */
|
|
23939
|
+
public deepLink: string;
|
|
23940
|
+
|
|
23941
|
+
/** RecommendationSequenceModelPredictionAvailable previousContentNames. */
|
|
23942
|
+
public previousContentNames: string;
|
|
23943
|
+
|
|
23944
|
+
/** RecommendationSequenceModelPredictionAvailable contentName. */
|
|
23945
|
+
public contentName: string;
|
|
23946
|
+
|
|
23947
|
+
/** RecommendationSequenceModelPredictionAvailable updatedAt. */
|
|
23948
|
+
public updatedAt: (number|Long);
|
|
23949
|
+
|
|
23950
|
+
/**
|
|
23951
|
+
* Creates a new RecommendationSequenceModelPredictionAvailable instance using the specified properties.
|
|
23952
|
+
* @param [properties] Properties to set
|
|
23953
|
+
* @returns RecommendationSequenceModelPredictionAvailable instance
|
|
23954
|
+
*/
|
|
23955
|
+
public static create(properties?: IRecommendationSequenceModelPredictionAvailable): RecommendationSequenceModelPredictionAvailable;
|
|
23956
|
+
|
|
23957
|
+
/**
|
|
23958
|
+
* Encodes the specified RecommendationSequenceModelPredictionAvailable message. Does not implicitly {@link RecommendationSequenceModelPredictionAvailable.verify|verify} messages.
|
|
23959
|
+
* @param message RecommendationSequenceModelPredictionAvailable message or plain object to encode
|
|
23960
|
+
* @param [writer] Writer to encode to
|
|
23961
|
+
* @returns Writer
|
|
23962
|
+
*/
|
|
23963
|
+
public static encode(message: IRecommendationSequenceModelPredictionAvailable, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23964
|
+
|
|
23965
|
+
/**
|
|
23966
|
+
* Encodes the specified RecommendationSequenceModelPredictionAvailable message, length delimited. Does not implicitly {@link RecommendationSequenceModelPredictionAvailable.verify|verify} messages.
|
|
23967
|
+
* @param message RecommendationSequenceModelPredictionAvailable message or plain object to encode
|
|
23968
|
+
* @param [writer] Writer to encode to
|
|
23969
|
+
* @returns Writer
|
|
23970
|
+
*/
|
|
23971
|
+
public static encodeDelimited(message: IRecommendationSequenceModelPredictionAvailable, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23972
|
+
|
|
23973
|
+
/**
|
|
23974
|
+
* Decodes a RecommendationSequenceModelPredictionAvailable message from the specified reader or buffer.
|
|
23975
|
+
* @param reader Reader or buffer to decode from
|
|
23976
|
+
* @param [length] Message length if known beforehand
|
|
23977
|
+
* @returns RecommendationSequenceModelPredictionAvailable
|
|
23978
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23979
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23980
|
+
*/
|
|
23981
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RecommendationSequenceModelPredictionAvailable;
|
|
23982
|
+
|
|
23983
|
+
/**
|
|
23984
|
+
* Decodes a RecommendationSequenceModelPredictionAvailable message from the specified reader or buffer, length delimited.
|
|
23985
|
+
* @param reader Reader or buffer to decode from
|
|
23986
|
+
* @returns RecommendationSequenceModelPredictionAvailable
|
|
23987
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23988
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23989
|
+
*/
|
|
23990
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RecommendationSequenceModelPredictionAvailable;
|
|
23991
|
+
|
|
23992
|
+
/**
|
|
23993
|
+
* Verifies a RecommendationSequenceModelPredictionAvailable message.
|
|
23994
|
+
* @param message Plain object to verify
|
|
23995
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23996
|
+
*/
|
|
23997
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23998
|
+
|
|
23999
|
+
/**
|
|
24000
|
+
* Creates a RecommendationSequenceModelPredictionAvailable message from a plain object. Also converts values to their respective internal types.
|
|
24001
|
+
* @param object Plain object
|
|
24002
|
+
* @returns RecommendationSequenceModelPredictionAvailable
|
|
24003
|
+
*/
|
|
24004
|
+
public static fromObject(object: { [k: string]: any }): RecommendationSequenceModelPredictionAvailable;
|
|
24005
|
+
|
|
24006
|
+
/**
|
|
24007
|
+
* Creates a plain object from a RecommendationSequenceModelPredictionAvailable message. Also converts values to other types if specified.
|
|
24008
|
+
* @param message RecommendationSequenceModelPredictionAvailable
|
|
24009
|
+
* @param [options] Conversion options
|
|
24010
|
+
* @returns Plain object
|
|
24011
|
+
*/
|
|
24012
|
+
public static toObject(message: RecommendationSequenceModelPredictionAvailable, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24013
|
+
|
|
24014
|
+
/**
|
|
24015
|
+
* Converts this RecommendationSequenceModelPredictionAvailable to JSON.
|
|
24016
|
+
* @returns JSON object
|
|
24017
|
+
*/
|
|
24018
|
+
public toJSON(): { [k: string]: any };
|
|
24019
|
+
}
|
|
24020
|
+
|
|
23799
24021
|
/** Properties of an IosSubscriptionCreated. */
|
|
23800
24022
|
export interface IIosSubscriptionCreated {
|
|
23801
24023
|
|
package/lib/index.js
CHANGED
|
@@ -27532,6 +27532,300 @@ $root.UnlinkedConnection = (function() {
|
|
|
27532
27532
|
return UnlinkedConnection;
|
|
27533
27533
|
})();
|
|
27534
27534
|
|
|
27535
|
+
$root.ConnectionLinked = (function() {
|
|
27536
|
+
|
|
27537
|
+
/**
|
|
27538
|
+
* Properties of a ConnectionLinked.
|
|
27539
|
+
* @exports IConnectionLinked
|
|
27540
|
+
* @interface IConnectionLinked
|
|
27541
|
+
* @property {string|null} [hsId] ConnectionLinked hsId
|
|
27542
|
+
* @property {auth0.connections.Connection|null} [connection] ConnectionLinked connection
|
|
27543
|
+
* @property {number|Long|null} [linkedAt] ConnectionLinked linkedAt
|
|
27544
|
+
*/
|
|
27545
|
+
|
|
27546
|
+
/**
|
|
27547
|
+
* Constructs a new ConnectionLinked.
|
|
27548
|
+
* @exports ConnectionLinked
|
|
27549
|
+
* @classdesc Represents a ConnectionLinked.
|
|
27550
|
+
* @implements IConnectionLinked
|
|
27551
|
+
* @constructor
|
|
27552
|
+
* @param {IConnectionLinked=} [properties] Properties to set
|
|
27553
|
+
*/
|
|
27554
|
+
function ConnectionLinked(properties) {
|
|
27555
|
+
if (properties)
|
|
27556
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
27557
|
+
if (properties[keys[i]] != null)
|
|
27558
|
+
this[keys[i]] = properties[keys[i]];
|
|
27559
|
+
}
|
|
27560
|
+
|
|
27561
|
+
/**
|
|
27562
|
+
* ConnectionLinked hsId.
|
|
27563
|
+
* @member {string} hsId
|
|
27564
|
+
* @memberof ConnectionLinked
|
|
27565
|
+
* @instance
|
|
27566
|
+
*/
|
|
27567
|
+
ConnectionLinked.prototype.hsId = "";
|
|
27568
|
+
|
|
27569
|
+
/**
|
|
27570
|
+
* ConnectionLinked connection.
|
|
27571
|
+
* @member {auth0.connections.Connection} connection
|
|
27572
|
+
* @memberof ConnectionLinked
|
|
27573
|
+
* @instance
|
|
27574
|
+
*/
|
|
27575
|
+
ConnectionLinked.prototype.connection = 0;
|
|
27576
|
+
|
|
27577
|
+
/**
|
|
27578
|
+
* ConnectionLinked linkedAt.
|
|
27579
|
+
* @member {number|Long} linkedAt
|
|
27580
|
+
* @memberof ConnectionLinked
|
|
27581
|
+
* @instance
|
|
27582
|
+
*/
|
|
27583
|
+
ConnectionLinked.prototype.linkedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
27584
|
+
|
|
27585
|
+
/**
|
|
27586
|
+
* Creates a new ConnectionLinked instance using the specified properties.
|
|
27587
|
+
* @function create
|
|
27588
|
+
* @memberof ConnectionLinked
|
|
27589
|
+
* @static
|
|
27590
|
+
* @param {IConnectionLinked=} [properties] Properties to set
|
|
27591
|
+
* @returns {ConnectionLinked} ConnectionLinked instance
|
|
27592
|
+
*/
|
|
27593
|
+
ConnectionLinked.create = function create(properties) {
|
|
27594
|
+
return new ConnectionLinked(properties);
|
|
27595
|
+
};
|
|
27596
|
+
|
|
27597
|
+
/**
|
|
27598
|
+
* Encodes the specified ConnectionLinked message. Does not implicitly {@link ConnectionLinked.verify|verify} messages.
|
|
27599
|
+
* @function encode
|
|
27600
|
+
* @memberof ConnectionLinked
|
|
27601
|
+
* @static
|
|
27602
|
+
* @param {IConnectionLinked} message ConnectionLinked message or plain object to encode
|
|
27603
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
27604
|
+
* @returns {$protobuf.Writer} Writer
|
|
27605
|
+
*/
|
|
27606
|
+
ConnectionLinked.encode = function encode(message, writer) {
|
|
27607
|
+
if (!writer)
|
|
27608
|
+
writer = $Writer.create();
|
|
27609
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
27610
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
|
|
27611
|
+
if (message.connection != null && message.hasOwnProperty("connection"))
|
|
27612
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.connection);
|
|
27613
|
+
if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
|
|
27614
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.linkedAt);
|
|
27615
|
+
return writer;
|
|
27616
|
+
};
|
|
27617
|
+
|
|
27618
|
+
/**
|
|
27619
|
+
* Encodes the specified ConnectionLinked message, length delimited. Does not implicitly {@link ConnectionLinked.verify|verify} messages.
|
|
27620
|
+
* @function encodeDelimited
|
|
27621
|
+
* @memberof ConnectionLinked
|
|
27622
|
+
* @static
|
|
27623
|
+
* @param {IConnectionLinked} message ConnectionLinked message or plain object to encode
|
|
27624
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
27625
|
+
* @returns {$protobuf.Writer} Writer
|
|
27626
|
+
*/
|
|
27627
|
+
ConnectionLinked.encodeDelimited = function encodeDelimited(message, writer) {
|
|
27628
|
+
return this.encode(message, writer).ldelim();
|
|
27629
|
+
};
|
|
27630
|
+
|
|
27631
|
+
/**
|
|
27632
|
+
* Decodes a ConnectionLinked message from the specified reader or buffer.
|
|
27633
|
+
* @function decode
|
|
27634
|
+
* @memberof ConnectionLinked
|
|
27635
|
+
* @static
|
|
27636
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
27637
|
+
* @param {number} [length] Message length if known beforehand
|
|
27638
|
+
* @returns {ConnectionLinked} ConnectionLinked
|
|
27639
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27640
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27641
|
+
*/
|
|
27642
|
+
ConnectionLinked.decode = function decode(reader, length) {
|
|
27643
|
+
if (!(reader instanceof $Reader))
|
|
27644
|
+
reader = $Reader.create(reader);
|
|
27645
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ConnectionLinked();
|
|
27646
|
+
while (reader.pos < end) {
|
|
27647
|
+
var tag = reader.uint32();
|
|
27648
|
+
switch (tag >>> 3) {
|
|
27649
|
+
case 1:
|
|
27650
|
+
message.hsId = reader.string();
|
|
27651
|
+
break;
|
|
27652
|
+
case 2:
|
|
27653
|
+
message.connection = reader.int32();
|
|
27654
|
+
break;
|
|
27655
|
+
case 3:
|
|
27656
|
+
message.linkedAt = reader.uint64();
|
|
27657
|
+
break;
|
|
27658
|
+
default:
|
|
27659
|
+
reader.skipType(tag & 7);
|
|
27660
|
+
break;
|
|
27661
|
+
}
|
|
27662
|
+
}
|
|
27663
|
+
return message;
|
|
27664
|
+
};
|
|
27665
|
+
|
|
27666
|
+
/**
|
|
27667
|
+
* Decodes a ConnectionLinked message from the specified reader or buffer, length delimited.
|
|
27668
|
+
* @function decodeDelimited
|
|
27669
|
+
* @memberof ConnectionLinked
|
|
27670
|
+
* @static
|
|
27671
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
27672
|
+
* @returns {ConnectionLinked} ConnectionLinked
|
|
27673
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27674
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27675
|
+
*/
|
|
27676
|
+
ConnectionLinked.decodeDelimited = function decodeDelimited(reader) {
|
|
27677
|
+
if (!(reader instanceof $Reader))
|
|
27678
|
+
reader = new $Reader(reader);
|
|
27679
|
+
return this.decode(reader, reader.uint32());
|
|
27680
|
+
};
|
|
27681
|
+
|
|
27682
|
+
/**
|
|
27683
|
+
* Verifies a ConnectionLinked message.
|
|
27684
|
+
* @function verify
|
|
27685
|
+
* @memberof ConnectionLinked
|
|
27686
|
+
* @static
|
|
27687
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
27688
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
27689
|
+
*/
|
|
27690
|
+
ConnectionLinked.verify = function verify(message) {
|
|
27691
|
+
if (typeof message !== "object" || message === null)
|
|
27692
|
+
return "object expected";
|
|
27693
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
27694
|
+
if (!$util.isString(message.hsId))
|
|
27695
|
+
return "hsId: string expected";
|
|
27696
|
+
if (message.connection != null && message.hasOwnProperty("connection"))
|
|
27697
|
+
switch (message.connection) {
|
|
27698
|
+
default:
|
|
27699
|
+
return "connection: enum value expected";
|
|
27700
|
+
case 0:
|
|
27701
|
+
case 1:
|
|
27702
|
+
case 2:
|
|
27703
|
+
case 3:
|
|
27704
|
+
case 4:
|
|
27705
|
+
case 5:
|
|
27706
|
+
case 6:
|
|
27707
|
+
case 7:
|
|
27708
|
+
case 8:
|
|
27709
|
+
break;
|
|
27710
|
+
}
|
|
27711
|
+
if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
|
|
27712
|
+
if (!$util.isInteger(message.linkedAt) && !(message.linkedAt && $util.isInteger(message.linkedAt.low) && $util.isInteger(message.linkedAt.high)))
|
|
27713
|
+
return "linkedAt: integer|Long expected";
|
|
27714
|
+
return null;
|
|
27715
|
+
};
|
|
27716
|
+
|
|
27717
|
+
/**
|
|
27718
|
+
* Creates a ConnectionLinked message from a plain object. Also converts values to their respective internal types.
|
|
27719
|
+
* @function fromObject
|
|
27720
|
+
* @memberof ConnectionLinked
|
|
27721
|
+
* @static
|
|
27722
|
+
* @param {Object.<string,*>} object Plain object
|
|
27723
|
+
* @returns {ConnectionLinked} ConnectionLinked
|
|
27724
|
+
*/
|
|
27725
|
+
ConnectionLinked.fromObject = function fromObject(object) {
|
|
27726
|
+
if (object instanceof $root.ConnectionLinked)
|
|
27727
|
+
return object;
|
|
27728
|
+
var message = new $root.ConnectionLinked();
|
|
27729
|
+
if (object.hsId != null)
|
|
27730
|
+
message.hsId = String(object.hsId);
|
|
27731
|
+
switch (object.connection) {
|
|
27732
|
+
case "UNKNOWN_CONNECTION":
|
|
27733
|
+
case 0:
|
|
27734
|
+
message.connection = 0;
|
|
27735
|
+
break;
|
|
27736
|
+
case "APPLE":
|
|
27737
|
+
case 1:
|
|
27738
|
+
message.connection = 1;
|
|
27739
|
+
break;
|
|
27740
|
+
case "FACEBOOK":
|
|
27741
|
+
case 2:
|
|
27742
|
+
message.connection = 2;
|
|
27743
|
+
break;
|
|
27744
|
+
case "ONELOGIN":
|
|
27745
|
+
case 3:
|
|
27746
|
+
message.connection = 3;
|
|
27747
|
+
break;
|
|
27748
|
+
case "SPOTIFY":
|
|
27749
|
+
case 4:
|
|
27750
|
+
message.connection = 4;
|
|
27751
|
+
break;
|
|
27752
|
+
case "USER_PASSWORD_HEADSPACE":
|
|
27753
|
+
case 5:
|
|
27754
|
+
message.connection = 5;
|
|
27755
|
+
break;
|
|
27756
|
+
case "VIRGINPULSE":
|
|
27757
|
+
case 6:
|
|
27758
|
+
message.connection = 6;
|
|
27759
|
+
break;
|
|
27760
|
+
case "GOOGLE":
|
|
27761
|
+
case 7:
|
|
27762
|
+
message.connection = 7;
|
|
27763
|
+
break;
|
|
27764
|
+
case "TEST_OKTA_SSO":
|
|
27765
|
+
case 8:
|
|
27766
|
+
message.connection = 8;
|
|
27767
|
+
break;
|
|
27768
|
+
}
|
|
27769
|
+
if (object.linkedAt != null)
|
|
27770
|
+
if ($util.Long)
|
|
27771
|
+
(message.linkedAt = $util.Long.fromValue(object.linkedAt)).unsigned = true;
|
|
27772
|
+
else if (typeof object.linkedAt === "string")
|
|
27773
|
+
message.linkedAt = parseInt(object.linkedAt, 10);
|
|
27774
|
+
else if (typeof object.linkedAt === "number")
|
|
27775
|
+
message.linkedAt = object.linkedAt;
|
|
27776
|
+
else if (typeof object.linkedAt === "object")
|
|
27777
|
+
message.linkedAt = new $util.LongBits(object.linkedAt.low >>> 0, object.linkedAt.high >>> 0).toNumber(true);
|
|
27778
|
+
return message;
|
|
27779
|
+
};
|
|
27780
|
+
|
|
27781
|
+
/**
|
|
27782
|
+
* Creates a plain object from a ConnectionLinked message. Also converts values to other types if specified.
|
|
27783
|
+
* @function toObject
|
|
27784
|
+
* @memberof ConnectionLinked
|
|
27785
|
+
* @static
|
|
27786
|
+
* @param {ConnectionLinked} message ConnectionLinked
|
|
27787
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
27788
|
+
* @returns {Object.<string,*>} Plain object
|
|
27789
|
+
*/
|
|
27790
|
+
ConnectionLinked.toObject = function toObject(message, options) {
|
|
27791
|
+
if (!options)
|
|
27792
|
+
options = {};
|
|
27793
|
+
var object = {};
|
|
27794
|
+
if (options.defaults) {
|
|
27795
|
+
object.hsId = "";
|
|
27796
|
+
object.connection = options.enums === String ? "UNKNOWN_CONNECTION" : 0;
|
|
27797
|
+
if ($util.Long) {
|
|
27798
|
+
var long = new $util.Long(0, 0, true);
|
|
27799
|
+
object.linkedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
27800
|
+
} else
|
|
27801
|
+
object.linkedAt = options.longs === String ? "0" : 0;
|
|
27802
|
+
}
|
|
27803
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
27804
|
+
object.hsId = message.hsId;
|
|
27805
|
+
if (message.connection != null && message.hasOwnProperty("connection"))
|
|
27806
|
+
object.connection = options.enums === String ? $root.auth0.connections.Connection[message.connection] : message.connection;
|
|
27807
|
+
if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
|
|
27808
|
+
if (typeof message.linkedAt === "number")
|
|
27809
|
+
object.linkedAt = options.longs === String ? String(message.linkedAt) : message.linkedAt;
|
|
27810
|
+
else
|
|
27811
|
+
object.linkedAt = options.longs === String ? $util.Long.prototype.toString.call(message.linkedAt) : options.longs === Number ? new $util.LongBits(message.linkedAt.low >>> 0, message.linkedAt.high >>> 0).toNumber(true) : message.linkedAt;
|
|
27812
|
+
return object;
|
|
27813
|
+
};
|
|
27814
|
+
|
|
27815
|
+
/**
|
|
27816
|
+
* Converts this ConnectionLinked to JSON.
|
|
27817
|
+
* @function toJSON
|
|
27818
|
+
* @memberof ConnectionLinked
|
|
27819
|
+
* @instance
|
|
27820
|
+
* @returns {Object.<string,*>} JSON object
|
|
27821
|
+
*/
|
|
27822
|
+
ConnectionLinked.prototype.toJSON = function toJSON() {
|
|
27823
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
27824
|
+
};
|
|
27825
|
+
|
|
27826
|
+
return ConnectionLinked;
|
|
27827
|
+
})();
|
|
27828
|
+
|
|
27535
27829
|
$root.BlockedUnverifiedEmail = (function() {
|
|
27536
27830
|
|
|
27537
27831
|
/**
|
|
@@ -64921,6 +65215,318 @@ $root.RecommendationSearchMatched = (function() {
|
|
|
64921
65215
|
return RecommendationSearchMatched;
|
|
64922
65216
|
})();
|
|
64923
65217
|
|
|
65218
|
+
$root.RecommendationSequenceModelPredictionAvailable = (function() {
|
|
65219
|
+
|
|
65220
|
+
/**
|
|
65221
|
+
* Properties of a RecommendationSequenceModelPredictionAvailable.
|
|
65222
|
+
* @exports IRecommendationSequenceModelPredictionAvailable
|
|
65223
|
+
* @interface IRecommendationSequenceModelPredictionAvailable
|
|
65224
|
+
* @property {string|null} [userId] RecommendationSequenceModelPredictionAvailable userId
|
|
65225
|
+
* @property {string|null} [locale] RecommendationSequenceModelPredictionAvailable locale
|
|
65226
|
+
* @property {string|null} [deepLink] RecommendationSequenceModelPredictionAvailable deepLink
|
|
65227
|
+
* @property {string|null} [previousContentNames] RecommendationSequenceModelPredictionAvailable previousContentNames
|
|
65228
|
+
* @property {string|null} [contentName] RecommendationSequenceModelPredictionAvailable contentName
|
|
65229
|
+
* @property {number|Long|null} [updatedAt] RecommendationSequenceModelPredictionAvailable updatedAt
|
|
65230
|
+
*/
|
|
65231
|
+
|
|
65232
|
+
/**
|
|
65233
|
+
* Constructs a new RecommendationSequenceModelPredictionAvailable.
|
|
65234
|
+
* @exports RecommendationSequenceModelPredictionAvailable
|
|
65235
|
+
* @classdesc Represents a RecommendationSequenceModelPredictionAvailable.
|
|
65236
|
+
* @implements IRecommendationSequenceModelPredictionAvailable
|
|
65237
|
+
* @constructor
|
|
65238
|
+
* @param {IRecommendationSequenceModelPredictionAvailable=} [properties] Properties to set
|
|
65239
|
+
*/
|
|
65240
|
+
function RecommendationSequenceModelPredictionAvailable(properties) {
|
|
65241
|
+
if (properties)
|
|
65242
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
65243
|
+
if (properties[keys[i]] != null)
|
|
65244
|
+
this[keys[i]] = properties[keys[i]];
|
|
65245
|
+
}
|
|
65246
|
+
|
|
65247
|
+
/**
|
|
65248
|
+
* RecommendationSequenceModelPredictionAvailable userId.
|
|
65249
|
+
* @member {string} userId
|
|
65250
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65251
|
+
* @instance
|
|
65252
|
+
*/
|
|
65253
|
+
RecommendationSequenceModelPredictionAvailable.prototype.userId = "";
|
|
65254
|
+
|
|
65255
|
+
/**
|
|
65256
|
+
* RecommendationSequenceModelPredictionAvailable locale.
|
|
65257
|
+
* @member {string} locale
|
|
65258
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65259
|
+
* @instance
|
|
65260
|
+
*/
|
|
65261
|
+
RecommendationSequenceModelPredictionAvailable.prototype.locale = "";
|
|
65262
|
+
|
|
65263
|
+
/**
|
|
65264
|
+
* RecommendationSequenceModelPredictionAvailable deepLink.
|
|
65265
|
+
* @member {string} deepLink
|
|
65266
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65267
|
+
* @instance
|
|
65268
|
+
*/
|
|
65269
|
+
RecommendationSequenceModelPredictionAvailable.prototype.deepLink = "";
|
|
65270
|
+
|
|
65271
|
+
/**
|
|
65272
|
+
* RecommendationSequenceModelPredictionAvailable previousContentNames.
|
|
65273
|
+
* @member {string} previousContentNames
|
|
65274
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65275
|
+
* @instance
|
|
65276
|
+
*/
|
|
65277
|
+
RecommendationSequenceModelPredictionAvailable.prototype.previousContentNames = "";
|
|
65278
|
+
|
|
65279
|
+
/**
|
|
65280
|
+
* RecommendationSequenceModelPredictionAvailable contentName.
|
|
65281
|
+
* @member {string} contentName
|
|
65282
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65283
|
+
* @instance
|
|
65284
|
+
*/
|
|
65285
|
+
RecommendationSequenceModelPredictionAvailable.prototype.contentName = "";
|
|
65286
|
+
|
|
65287
|
+
/**
|
|
65288
|
+
* RecommendationSequenceModelPredictionAvailable updatedAt.
|
|
65289
|
+
* @member {number|Long} updatedAt
|
|
65290
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65291
|
+
* @instance
|
|
65292
|
+
*/
|
|
65293
|
+
RecommendationSequenceModelPredictionAvailable.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
65294
|
+
|
|
65295
|
+
/**
|
|
65296
|
+
* Creates a new RecommendationSequenceModelPredictionAvailable instance using the specified properties.
|
|
65297
|
+
* @function create
|
|
65298
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65299
|
+
* @static
|
|
65300
|
+
* @param {IRecommendationSequenceModelPredictionAvailable=} [properties] Properties to set
|
|
65301
|
+
* @returns {RecommendationSequenceModelPredictionAvailable} RecommendationSequenceModelPredictionAvailable instance
|
|
65302
|
+
*/
|
|
65303
|
+
RecommendationSequenceModelPredictionAvailable.create = function create(properties) {
|
|
65304
|
+
return new RecommendationSequenceModelPredictionAvailable(properties);
|
|
65305
|
+
};
|
|
65306
|
+
|
|
65307
|
+
/**
|
|
65308
|
+
* Encodes the specified RecommendationSequenceModelPredictionAvailable message. Does not implicitly {@link RecommendationSequenceModelPredictionAvailable.verify|verify} messages.
|
|
65309
|
+
* @function encode
|
|
65310
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65311
|
+
* @static
|
|
65312
|
+
* @param {IRecommendationSequenceModelPredictionAvailable} message RecommendationSequenceModelPredictionAvailable message or plain object to encode
|
|
65313
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
65314
|
+
* @returns {$protobuf.Writer} Writer
|
|
65315
|
+
*/
|
|
65316
|
+
RecommendationSequenceModelPredictionAvailable.encode = function encode(message, writer) {
|
|
65317
|
+
if (!writer)
|
|
65318
|
+
writer = $Writer.create();
|
|
65319
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
65320
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
65321
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
65322
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.locale);
|
|
65323
|
+
if (message.deepLink != null && message.hasOwnProperty("deepLink"))
|
|
65324
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.deepLink);
|
|
65325
|
+
if (message.previousContentNames != null && message.hasOwnProperty("previousContentNames"))
|
|
65326
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.previousContentNames);
|
|
65327
|
+
if (message.contentName != null && message.hasOwnProperty("contentName"))
|
|
65328
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.contentName);
|
|
65329
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
65330
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.updatedAt);
|
|
65331
|
+
return writer;
|
|
65332
|
+
};
|
|
65333
|
+
|
|
65334
|
+
/**
|
|
65335
|
+
* Encodes the specified RecommendationSequenceModelPredictionAvailable message, length delimited. Does not implicitly {@link RecommendationSequenceModelPredictionAvailable.verify|verify} messages.
|
|
65336
|
+
* @function encodeDelimited
|
|
65337
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65338
|
+
* @static
|
|
65339
|
+
* @param {IRecommendationSequenceModelPredictionAvailable} message RecommendationSequenceModelPredictionAvailable message or plain object to encode
|
|
65340
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
65341
|
+
* @returns {$protobuf.Writer} Writer
|
|
65342
|
+
*/
|
|
65343
|
+
RecommendationSequenceModelPredictionAvailable.encodeDelimited = function encodeDelimited(message, writer) {
|
|
65344
|
+
return this.encode(message, writer).ldelim();
|
|
65345
|
+
};
|
|
65346
|
+
|
|
65347
|
+
/**
|
|
65348
|
+
* Decodes a RecommendationSequenceModelPredictionAvailable message from the specified reader or buffer.
|
|
65349
|
+
* @function decode
|
|
65350
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65351
|
+
* @static
|
|
65352
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
65353
|
+
* @param {number} [length] Message length if known beforehand
|
|
65354
|
+
* @returns {RecommendationSequenceModelPredictionAvailable} RecommendationSequenceModelPredictionAvailable
|
|
65355
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
65356
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
65357
|
+
*/
|
|
65358
|
+
RecommendationSequenceModelPredictionAvailable.decode = function decode(reader, length) {
|
|
65359
|
+
if (!(reader instanceof $Reader))
|
|
65360
|
+
reader = $Reader.create(reader);
|
|
65361
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.RecommendationSequenceModelPredictionAvailable();
|
|
65362
|
+
while (reader.pos < end) {
|
|
65363
|
+
var tag = reader.uint32();
|
|
65364
|
+
switch (tag >>> 3) {
|
|
65365
|
+
case 1:
|
|
65366
|
+
message.userId = reader.string();
|
|
65367
|
+
break;
|
|
65368
|
+
case 2:
|
|
65369
|
+
message.locale = reader.string();
|
|
65370
|
+
break;
|
|
65371
|
+
case 3:
|
|
65372
|
+
message.deepLink = reader.string();
|
|
65373
|
+
break;
|
|
65374
|
+
case 4:
|
|
65375
|
+
message.previousContentNames = reader.string();
|
|
65376
|
+
break;
|
|
65377
|
+
case 5:
|
|
65378
|
+
message.contentName = reader.string();
|
|
65379
|
+
break;
|
|
65380
|
+
case 6:
|
|
65381
|
+
message.updatedAt = reader.uint64();
|
|
65382
|
+
break;
|
|
65383
|
+
default:
|
|
65384
|
+
reader.skipType(tag & 7);
|
|
65385
|
+
break;
|
|
65386
|
+
}
|
|
65387
|
+
}
|
|
65388
|
+
return message;
|
|
65389
|
+
};
|
|
65390
|
+
|
|
65391
|
+
/**
|
|
65392
|
+
* Decodes a RecommendationSequenceModelPredictionAvailable message from the specified reader or buffer, length delimited.
|
|
65393
|
+
* @function decodeDelimited
|
|
65394
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65395
|
+
* @static
|
|
65396
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
65397
|
+
* @returns {RecommendationSequenceModelPredictionAvailable} RecommendationSequenceModelPredictionAvailable
|
|
65398
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
65399
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
65400
|
+
*/
|
|
65401
|
+
RecommendationSequenceModelPredictionAvailable.decodeDelimited = function decodeDelimited(reader) {
|
|
65402
|
+
if (!(reader instanceof $Reader))
|
|
65403
|
+
reader = new $Reader(reader);
|
|
65404
|
+
return this.decode(reader, reader.uint32());
|
|
65405
|
+
};
|
|
65406
|
+
|
|
65407
|
+
/**
|
|
65408
|
+
* Verifies a RecommendationSequenceModelPredictionAvailable message.
|
|
65409
|
+
* @function verify
|
|
65410
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65411
|
+
* @static
|
|
65412
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
65413
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
65414
|
+
*/
|
|
65415
|
+
RecommendationSequenceModelPredictionAvailable.verify = function verify(message) {
|
|
65416
|
+
if (typeof message !== "object" || message === null)
|
|
65417
|
+
return "object expected";
|
|
65418
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
65419
|
+
if (!$util.isString(message.userId))
|
|
65420
|
+
return "userId: string expected";
|
|
65421
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
65422
|
+
if (!$util.isString(message.locale))
|
|
65423
|
+
return "locale: string expected";
|
|
65424
|
+
if (message.deepLink != null && message.hasOwnProperty("deepLink"))
|
|
65425
|
+
if (!$util.isString(message.deepLink))
|
|
65426
|
+
return "deepLink: string expected";
|
|
65427
|
+
if (message.previousContentNames != null && message.hasOwnProperty("previousContentNames"))
|
|
65428
|
+
if (!$util.isString(message.previousContentNames))
|
|
65429
|
+
return "previousContentNames: string expected";
|
|
65430
|
+
if (message.contentName != null && message.hasOwnProperty("contentName"))
|
|
65431
|
+
if (!$util.isString(message.contentName))
|
|
65432
|
+
return "contentName: string expected";
|
|
65433
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
65434
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
65435
|
+
return "updatedAt: integer|Long expected";
|
|
65436
|
+
return null;
|
|
65437
|
+
};
|
|
65438
|
+
|
|
65439
|
+
/**
|
|
65440
|
+
* Creates a RecommendationSequenceModelPredictionAvailable message from a plain object. Also converts values to their respective internal types.
|
|
65441
|
+
* @function fromObject
|
|
65442
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65443
|
+
* @static
|
|
65444
|
+
* @param {Object.<string,*>} object Plain object
|
|
65445
|
+
* @returns {RecommendationSequenceModelPredictionAvailable} RecommendationSequenceModelPredictionAvailable
|
|
65446
|
+
*/
|
|
65447
|
+
RecommendationSequenceModelPredictionAvailable.fromObject = function fromObject(object) {
|
|
65448
|
+
if (object instanceof $root.RecommendationSequenceModelPredictionAvailable)
|
|
65449
|
+
return object;
|
|
65450
|
+
var message = new $root.RecommendationSequenceModelPredictionAvailable();
|
|
65451
|
+
if (object.userId != null)
|
|
65452
|
+
message.userId = String(object.userId);
|
|
65453
|
+
if (object.locale != null)
|
|
65454
|
+
message.locale = String(object.locale);
|
|
65455
|
+
if (object.deepLink != null)
|
|
65456
|
+
message.deepLink = String(object.deepLink);
|
|
65457
|
+
if (object.previousContentNames != null)
|
|
65458
|
+
message.previousContentNames = String(object.previousContentNames);
|
|
65459
|
+
if (object.contentName != null)
|
|
65460
|
+
message.contentName = String(object.contentName);
|
|
65461
|
+
if (object.updatedAt != null)
|
|
65462
|
+
if ($util.Long)
|
|
65463
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
65464
|
+
else if (typeof object.updatedAt === "string")
|
|
65465
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
65466
|
+
else if (typeof object.updatedAt === "number")
|
|
65467
|
+
message.updatedAt = object.updatedAt;
|
|
65468
|
+
else if (typeof object.updatedAt === "object")
|
|
65469
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
65470
|
+
return message;
|
|
65471
|
+
};
|
|
65472
|
+
|
|
65473
|
+
/**
|
|
65474
|
+
* Creates a plain object from a RecommendationSequenceModelPredictionAvailable message. Also converts values to other types if specified.
|
|
65475
|
+
* @function toObject
|
|
65476
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65477
|
+
* @static
|
|
65478
|
+
* @param {RecommendationSequenceModelPredictionAvailable} message RecommendationSequenceModelPredictionAvailable
|
|
65479
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
65480
|
+
* @returns {Object.<string,*>} Plain object
|
|
65481
|
+
*/
|
|
65482
|
+
RecommendationSequenceModelPredictionAvailable.toObject = function toObject(message, options) {
|
|
65483
|
+
if (!options)
|
|
65484
|
+
options = {};
|
|
65485
|
+
var object = {};
|
|
65486
|
+
if (options.defaults) {
|
|
65487
|
+
object.userId = "";
|
|
65488
|
+
object.locale = "";
|
|
65489
|
+
object.deepLink = "";
|
|
65490
|
+
object.previousContentNames = "";
|
|
65491
|
+
object.contentName = "";
|
|
65492
|
+
if ($util.Long) {
|
|
65493
|
+
var long = new $util.Long(0, 0, true);
|
|
65494
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
65495
|
+
} else
|
|
65496
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
65497
|
+
}
|
|
65498
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
65499
|
+
object.userId = message.userId;
|
|
65500
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
65501
|
+
object.locale = message.locale;
|
|
65502
|
+
if (message.deepLink != null && message.hasOwnProperty("deepLink"))
|
|
65503
|
+
object.deepLink = message.deepLink;
|
|
65504
|
+
if (message.previousContentNames != null && message.hasOwnProperty("previousContentNames"))
|
|
65505
|
+
object.previousContentNames = message.previousContentNames;
|
|
65506
|
+
if (message.contentName != null && message.hasOwnProperty("contentName"))
|
|
65507
|
+
object.contentName = message.contentName;
|
|
65508
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
65509
|
+
if (typeof message.updatedAt === "number")
|
|
65510
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
65511
|
+
else
|
|
65512
|
+
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;
|
|
65513
|
+
return object;
|
|
65514
|
+
};
|
|
65515
|
+
|
|
65516
|
+
/**
|
|
65517
|
+
* Converts this RecommendationSequenceModelPredictionAvailable to JSON.
|
|
65518
|
+
* @function toJSON
|
|
65519
|
+
* @memberof RecommendationSequenceModelPredictionAvailable
|
|
65520
|
+
* @instance
|
|
65521
|
+
* @returns {Object.<string,*>} JSON object
|
|
65522
|
+
*/
|
|
65523
|
+
RecommendationSequenceModelPredictionAvailable.prototype.toJSON = function toJSON() {
|
|
65524
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
65525
|
+
};
|
|
65526
|
+
|
|
65527
|
+
return RecommendationSequenceModelPredictionAvailable;
|
|
65528
|
+
})();
|
|
65529
|
+
|
|
64924
65530
|
$root.IosSubscriptionCreated = (function() {
|
|
64925
65531
|
|
|
64926
65532
|
/**
|
package/package.json
CHANGED