@headspace/protos-events 1.270.0 → 1.272.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 +558 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -24753,6 +24753,108 @@ export class RecommendationSequenceModelPredictionAvailable implements IRecommen
|
|
|
24753
24753
|
public toJSON(): { [k: string]: any };
|
|
24754
24754
|
}
|
|
24755
24755
|
|
|
24756
|
+
/** Properties of a RecommendationMindsetUpdated. */
|
|
24757
|
+
export interface IRecommendationMindsetUpdated {
|
|
24758
|
+
|
|
24759
|
+
/** RecommendationMindsetUpdated userId */
|
|
24760
|
+
userId?: (string|null);
|
|
24761
|
+
|
|
24762
|
+
/** RecommendationMindsetUpdated updatedAt */
|
|
24763
|
+
updatedAt?: (number|Long|null);
|
|
24764
|
+
|
|
24765
|
+
/** RecommendationMindsetUpdated mindset */
|
|
24766
|
+
mindset?: (string|null);
|
|
24767
|
+
}
|
|
24768
|
+
|
|
24769
|
+
/** Represents a RecommendationMindsetUpdated. */
|
|
24770
|
+
export class RecommendationMindsetUpdated implements IRecommendationMindsetUpdated {
|
|
24771
|
+
|
|
24772
|
+
/**
|
|
24773
|
+
* Constructs a new RecommendationMindsetUpdated.
|
|
24774
|
+
* @param [properties] Properties to set
|
|
24775
|
+
*/
|
|
24776
|
+
constructor(properties?: IRecommendationMindsetUpdated);
|
|
24777
|
+
|
|
24778
|
+
/** RecommendationMindsetUpdated userId. */
|
|
24779
|
+
public userId: string;
|
|
24780
|
+
|
|
24781
|
+
/** RecommendationMindsetUpdated updatedAt. */
|
|
24782
|
+
public updatedAt: (number|Long);
|
|
24783
|
+
|
|
24784
|
+
/** RecommendationMindsetUpdated mindset. */
|
|
24785
|
+
public mindset: string;
|
|
24786
|
+
|
|
24787
|
+
/**
|
|
24788
|
+
* Creates a new RecommendationMindsetUpdated instance using the specified properties.
|
|
24789
|
+
* @param [properties] Properties to set
|
|
24790
|
+
* @returns RecommendationMindsetUpdated instance
|
|
24791
|
+
*/
|
|
24792
|
+
public static create(properties?: IRecommendationMindsetUpdated): RecommendationMindsetUpdated;
|
|
24793
|
+
|
|
24794
|
+
/**
|
|
24795
|
+
* Encodes the specified RecommendationMindsetUpdated message. Does not implicitly {@link RecommendationMindsetUpdated.verify|verify} messages.
|
|
24796
|
+
* @param message RecommendationMindsetUpdated message or plain object to encode
|
|
24797
|
+
* @param [writer] Writer to encode to
|
|
24798
|
+
* @returns Writer
|
|
24799
|
+
*/
|
|
24800
|
+
public static encode(message: IRecommendationMindsetUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24801
|
+
|
|
24802
|
+
/**
|
|
24803
|
+
* Encodes the specified RecommendationMindsetUpdated message, length delimited. Does not implicitly {@link RecommendationMindsetUpdated.verify|verify} messages.
|
|
24804
|
+
* @param message RecommendationMindsetUpdated message or plain object to encode
|
|
24805
|
+
* @param [writer] Writer to encode to
|
|
24806
|
+
* @returns Writer
|
|
24807
|
+
*/
|
|
24808
|
+
public static encodeDelimited(message: IRecommendationMindsetUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24809
|
+
|
|
24810
|
+
/**
|
|
24811
|
+
* Decodes a RecommendationMindsetUpdated message from the specified reader or buffer.
|
|
24812
|
+
* @param reader Reader or buffer to decode from
|
|
24813
|
+
* @param [length] Message length if known beforehand
|
|
24814
|
+
* @returns RecommendationMindsetUpdated
|
|
24815
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24816
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24817
|
+
*/
|
|
24818
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RecommendationMindsetUpdated;
|
|
24819
|
+
|
|
24820
|
+
/**
|
|
24821
|
+
* Decodes a RecommendationMindsetUpdated message from the specified reader or buffer, length delimited.
|
|
24822
|
+
* @param reader Reader or buffer to decode from
|
|
24823
|
+
* @returns RecommendationMindsetUpdated
|
|
24824
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24825
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24826
|
+
*/
|
|
24827
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RecommendationMindsetUpdated;
|
|
24828
|
+
|
|
24829
|
+
/**
|
|
24830
|
+
* Verifies a RecommendationMindsetUpdated message.
|
|
24831
|
+
* @param message Plain object to verify
|
|
24832
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24833
|
+
*/
|
|
24834
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24835
|
+
|
|
24836
|
+
/**
|
|
24837
|
+
* Creates a RecommendationMindsetUpdated message from a plain object. Also converts values to their respective internal types.
|
|
24838
|
+
* @param object Plain object
|
|
24839
|
+
* @returns RecommendationMindsetUpdated
|
|
24840
|
+
*/
|
|
24841
|
+
public static fromObject(object: { [k: string]: any }): RecommendationMindsetUpdated;
|
|
24842
|
+
|
|
24843
|
+
/**
|
|
24844
|
+
* Creates a plain object from a RecommendationMindsetUpdated message. Also converts values to other types if specified.
|
|
24845
|
+
* @param message RecommendationMindsetUpdated
|
|
24846
|
+
* @param [options] Conversion options
|
|
24847
|
+
* @returns Plain object
|
|
24848
|
+
*/
|
|
24849
|
+
public static toObject(message: RecommendationMindsetUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24850
|
+
|
|
24851
|
+
/**
|
|
24852
|
+
* Converts this RecommendationMindsetUpdated to JSON.
|
|
24853
|
+
* @returns JSON object
|
|
24854
|
+
*/
|
|
24855
|
+
public toJSON(): { [k: string]: any };
|
|
24856
|
+
}
|
|
24857
|
+
|
|
24756
24858
|
/** Properties of an IosSubscriptionCreated. */
|
|
24757
24859
|
export interface IIosSubscriptionCreated {
|
|
24758
24860
|
|
|
@@ -27831,6 +27933,126 @@ export class GiftEmailScheduled implements IGiftEmailScheduled {
|
|
|
27831
27933
|
public toJSON(): { [k: string]: any };
|
|
27832
27934
|
}
|
|
27833
27935
|
|
|
27936
|
+
/** Properties of a GiftPurchased. */
|
|
27937
|
+
export interface IGiftPurchased {
|
|
27938
|
+
|
|
27939
|
+
/** GiftPurchased hsUserId */
|
|
27940
|
+
hsUserId?: (string|null);
|
|
27941
|
+
|
|
27942
|
+
/** GiftPurchased giftRecipientEmail */
|
|
27943
|
+
giftRecipientEmail?: (string|null);
|
|
27944
|
+
|
|
27945
|
+
/** GiftPurchased giftRecipientFirstName */
|
|
27946
|
+
giftRecipientFirstName?: (string|null);
|
|
27947
|
+
|
|
27948
|
+
/** GiftPurchased giftRecipientLastName */
|
|
27949
|
+
giftRecipientLastName?: (string|null);
|
|
27950
|
+
|
|
27951
|
+
/** GiftPurchased giftNumMonths */
|
|
27952
|
+
giftNumMonths?: (number|null);
|
|
27953
|
+
|
|
27954
|
+
/** GiftPurchased purchasedOn */
|
|
27955
|
+
purchasedOn?: (number|Long|null);
|
|
27956
|
+
}
|
|
27957
|
+
|
|
27958
|
+
/** Represents a GiftPurchased. */
|
|
27959
|
+
export class GiftPurchased implements IGiftPurchased {
|
|
27960
|
+
|
|
27961
|
+
/**
|
|
27962
|
+
* Constructs a new GiftPurchased.
|
|
27963
|
+
* @param [properties] Properties to set
|
|
27964
|
+
*/
|
|
27965
|
+
constructor(properties?: IGiftPurchased);
|
|
27966
|
+
|
|
27967
|
+
/** GiftPurchased hsUserId. */
|
|
27968
|
+
public hsUserId: string;
|
|
27969
|
+
|
|
27970
|
+
/** GiftPurchased giftRecipientEmail. */
|
|
27971
|
+
public giftRecipientEmail: string;
|
|
27972
|
+
|
|
27973
|
+
/** GiftPurchased giftRecipientFirstName. */
|
|
27974
|
+
public giftRecipientFirstName: string;
|
|
27975
|
+
|
|
27976
|
+
/** GiftPurchased giftRecipientLastName. */
|
|
27977
|
+
public giftRecipientLastName: string;
|
|
27978
|
+
|
|
27979
|
+
/** GiftPurchased giftNumMonths. */
|
|
27980
|
+
public giftNumMonths: number;
|
|
27981
|
+
|
|
27982
|
+
/** GiftPurchased purchasedOn. */
|
|
27983
|
+
public purchasedOn: (number|Long);
|
|
27984
|
+
|
|
27985
|
+
/**
|
|
27986
|
+
* Creates a new GiftPurchased instance using the specified properties.
|
|
27987
|
+
* @param [properties] Properties to set
|
|
27988
|
+
* @returns GiftPurchased instance
|
|
27989
|
+
*/
|
|
27990
|
+
public static create(properties?: IGiftPurchased): GiftPurchased;
|
|
27991
|
+
|
|
27992
|
+
/**
|
|
27993
|
+
* Encodes the specified GiftPurchased message. Does not implicitly {@link GiftPurchased.verify|verify} messages.
|
|
27994
|
+
* @param message GiftPurchased message or plain object to encode
|
|
27995
|
+
* @param [writer] Writer to encode to
|
|
27996
|
+
* @returns Writer
|
|
27997
|
+
*/
|
|
27998
|
+
public static encode(message: IGiftPurchased, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27999
|
+
|
|
28000
|
+
/**
|
|
28001
|
+
* Encodes the specified GiftPurchased message, length delimited. Does not implicitly {@link GiftPurchased.verify|verify} messages.
|
|
28002
|
+
* @param message GiftPurchased message or plain object to encode
|
|
28003
|
+
* @param [writer] Writer to encode to
|
|
28004
|
+
* @returns Writer
|
|
28005
|
+
*/
|
|
28006
|
+
public static encodeDelimited(message: IGiftPurchased, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
28007
|
+
|
|
28008
|
+
/**
|
|
28009
|
+
* Decodes a GiftPurchased message from the specified reader or buffer.
|
|
28010
|
+
* @param reader Reader or buffer to decode from
|
|
28011
|
+
* @param [length] Message length if known beforehand
|
|
28012
|
+
* @returns GiftPurchased
|
|
28013
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28014
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28015
|
+
*/
|
|
28016
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GiftPurchased;
|
|
28017
|
+
|
|
28018
|
+
/**
|
|
28019
|
+
* Decodes a GiftPurchased message from the specified reader or buffer, length delimited.
|
|
28020
|
+
* @param reader Reader or buffer to decode from
|
|
28021
|
+
* @returns GiftPurchased
|
|
28022
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28023
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28024
|
+
*/
|
|
28025
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GiftPurchased;
|
|
28026
|
+
|
|
28027
|
+
/**
|
|
28028
|
+
* Verifies a GiftPurchased message.
|
|
28029
|
+
* @param message Plain object to verify
|
|
28030
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
28031
|
+
*/
|
|
28032
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
28033
|
+
|
|
28034
|
+
/**
|
|
28035
|
+
* Creates a GiftPurchased message from a plain object. Also converts values to their respective internal types.
|
|
28036
|
+
* @param object Plain object
|
|
28037
|
+
* @returns GiftPurchased
|
|
28038
|
+
*/
|
|
28039
|
+
public static fromObject(object: { [k: string]: any }): GiftPurchased;
|
|
28040
|
+
|
|
28041
|
+
/**
|
|
28042
|
+
* Creates a plain object from a GiftPurchased message. Also converts values to other types if specified.
|
|
28043
|
+
* @param message GiftPurchased
|
|
28044
|
+
* @param [options] Conversion options
|
|
28045
|
+
* @returns Plain object
|
|
28046
|
+
*/
|
|
28047
|
+
public static toObject(message: GiftPurchased, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
28048
|
+
|
|
28049
|
+
/**
|
|
28050
|
+
* Converts this GiftPurchased to JSON.
|
|
28051
|
+
* @returns JSON object
|
|
28052
|
+
*/
|
|
28053
|
+
public toJSON(): { [k: string]: any };
|
|
28054
|
+
}
|
|
28055
|
+
|
|
27834
28056
|
/** Properties of a GoogleSubscriptionPurchased. */
|
|
27835
28057
|
export interface IGoogleSubscriptionPurchased {
|
|
27836
28058
|
|
package/lib/index.js
CHANGED
|
@@ -67290,6 +67290,252 @@ $root.RecommendationSequenceModelPredictionAvailable = (function() {
|
|
|
67290
67290
|
return RecommendationSequenceModelPredictionAvailable;
|
|
67291
67291
|
})();
|
|
67292
67292
|
|
|
67293
|
+
$root.RecommendationMindsetUpdated = (function() {
|
|
67294
|
+
|
|
67295
|
+
/**
|
|
67296
|
+
* Properties of a RecommendationMindsetUpdated.
|
|
67297
|
+
* @exports IRecommendationMindsetUpdated
|
|
67298
|
+
* @interface IRecommendationMindsetUpdated
|
|
67299
|
+
* @property {string|null} [userId] RecommendationMindsetUpdated userId
|
|
67300
|
+
* @property {number|Long|null} [updatedAt] RecommendationMindsetUpdated updatedAt
|
|
67301
|
+
* @property {string|null} [mindset] RecommendationMindsetUpdated mindset
|
|
67302
|
+
*/
|
|
67303
|
+
|
|
67304
|
+
/**
|
|
67305
|
+
* Constructs a new RecommendationMindsetUpdated.
|
|
67306
|
+
* @exports RecommendationMindsetUpdated
|
|
67307
|
+
* @classdesc Represents a RecommendationMindsetUpdated.
|
|
67308
|
+
* @implements IRecommendationMindsetUpdated
|
|
67309
|
+
* @constructor
|
|
67310
|
+
* @param {IRecommendationMindsetUpdated=} [properties] Properties to set
|
|
67311
|
+
*/
|
|
67312
|
+
function RecommendationMindsetUpdated(properties) {
|
|
67313
|
+
if (properties)
|
|
67314
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
67315
|
+
if (properties[keys[i]] != null)
|
|
67316
|
+
this[keys[i]] = properties[keys[i]];
|
|
67317
|
+
}
|
|
67318
|
+
|
|
67319
|
+
/**
|
|
67320
|
+
* RecommendationMindsetUpdated userId.
|
|
67321
|
+
* @member {string} userId
|
|
67322
|
+
* @memberof RecommendationMindsetUpdated
|
|
67323
|
+
* @instance
|
|
67324
|
+
*/
|
|
67325
|
+
RecommendationMindsetUpdated.prototype.userId = "";
|
|
67326
|
+
|
|
67327
|
+
/**
|
|
67328
|
+
* RecommendationMindsetUpdated updatedAt.
|
|
67329
|
+
* @member {number|Long} updatedAt
|
|
67330
|
+
* @memberof RecommendationMindsetUpdated
|
|
67331
|
+
* @instance
|
|
67332
|
+
*/
|
|
67333
|
+
RecommendationMindsetUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
67334
|
+
|
|
67335
|
+
/**
|
|
67336
|
+
* RecommendationMindsetUpdated mindset.
|
|
67337
|
+
* @member {string} mindset
|
|
67338
|
+
* @memberof RecommendationMindsetUpdated
|
|
67339
|
+
* @instance
|
|
67340
|
+
*/
|
|
67341
|
+
RecommendationMindsetUpdated.prototype.mindset = "";
|
|
67342
|
+
|
|
67343
|
+
/**
|
|
67344
|
+
* Creates a new RecommendationMindsetUpdated instance using the specified properties.
|
|
67345
|
+
* @function create
|
|
67346
|
+
* @memberof RecommendationMindsetUpdated
|
|
67347
|
+
* @static
|
|
67348
|
+
* @param {IRecommendationMindsetUpdated=} [properties] Properties to set
|
|
67349
|
+
* @returns {RecommendationMindsetUpdated} RecommendationMindsetUpdated instance
|
|
67350
|
+
*/
|
|
67351
|
+
RecommendationMindsetUpdated.create = function create(properties) {
|
|
67352
|
+
return new RecommendationMindsetUpdated(properties);
|
|
67353
|
+
};
|
|
67354
|
+
|
|
67355
|
+
/**
|
|
67356
|
+
* Encodes the specified RecommendationMindsetUpdated message. Does not implicitly {@link RecommendationMindsetUpdated.verify|verify} messages.
|
|
67357
|
+
* @function encode
|
|
67358
|
+
* @memberof RecommendationMindsetUpdated
|
|
67359
|
+
* @static
|
|
67360
|
+
* @param {IRecommendationMindsetUpdated} message RecommendationMindsetUpdated message or plain object to encode
|
|
67361
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
67362
|
+
* @returns {$protobuf.Writer} Writer
|
|
67363
|
+
*/
|
|
67364
|
+
RecommendationMindsetUpdated.encode = function encode(message, writer) {
|
|
67365
|
+
if (!writer)
|
|
67366
|
+
writer = $Writer.create();
|
|
67367
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
67368
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
67369
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
67370
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.updatedAt);
|
|
67371
|
+
if (message.mindset != null && message.hasOwnProperty("mindset"))
|
|
67372
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.mindset);
|
|
67373
|
+
return writer;
|
|
67374
|
+
};
|
|
67375
|
+
|
|
67376
|
+
/**
|
|
67377
|
+
* Encodes the specified RecommendationMindsetUpdated message, length delimited. Does not implicitly {@link RecommendationMindsetUpdated.verify|verify} messages.
|
|
67378
|
+
* @function encodeDelimited
|
|
67379
|
+
* @memberof RecommendationMindsetUpdated
|
|
67380
|
+
* @static
|
|
67381
|
+
* @param {IRecommendationMindsetUpdated} message RecommendationMindsetUpdated message or plain object to encode
|
|
67382
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
67383
|
+
* @returns {$protobuf.Writer} Writer
|
|
67384
|
+
*/
|
|
67385
|
+
RecommendationMindsetUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
67386
|
+
return this.encode(message, writer).ldelim();
|
|
67387
|
+
};
|
|
67388
|
+
|
|
67389
|
+
/**
|
|
67390
|
+
* Decodes a RecommendationMindsetUpdated message from the specified reader or buffer.
|
|
67391
|
+
* @function decode
|
|
67392
|
+
* @memberof RecommendationMindsetUpdated
|
|
67393
|
+
* @static
|
|
67394
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
67395
|
+
* @param {number} [length] Message length if known beforehand
|
|
67396
|
+
* @returns {RecommendationMindsetUpdated} RecommendationMindsetUpdated
|
|
67397
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
67398
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
67399
|
+
*/
|
|
67400
|
+
RecommendationMindsetUpdated.decode = function decode(reader, length) {
|
|
67401
|
+
if (!(reader instanceof $Reader))
|
|
67402
|
+
reader = $Reader.create(reader);
|
|
67403
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.RecommendationMindsetUpdated();
|
|
67404
|
+
while (reader.pos < end) {
|
|
67405
|
+
var tag = reader.uint32();
|
|
67406
|
+
switch (tag >>> 3) {
|
|
67407
|
+
case 1:
|
|
67408
|
+
message.userId = reader.string();
|
|
67409
|
+
break;
|
|
67410
|
+
case 2:
|
|
67411
|
+
message.updatedAt = reader.uint64();
|
|
67412
|
+
break;
|
|
67413
|
+
case 3:
|
|
67414
|
+
message.mindset = reader.string();
|
|
67415
|
+
break;
|
|
67416
|
+
default:
|
|
67417
|
+
reader.skipType(tag & 7);
|
|
67418
|
+
break;
|
|
67419
|
+
}
|
|
67420
|
+
}
|
|
67421
|
+
return message;
|
|
67422
|
+
};
|
|
67423
|
+
|
|
67424
|
+
/**
|
|
67425
|
+
* Decodes a RecommendationMindsetUpdated message from the specified reader or buffer, length delimited.
|
|
67426
|
+
* @function decodeDelimited
|
|
67427
|
+
* @memberof RecommendationMindsetUpdated
|
|
67428
|
+
* @static
|
|
67429
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
67430
|
+
* @returns {RecommendationMindsetUpdated} RecommendationMindsetUpdated
|
|
67431
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
67432
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
67433
|
+
*/
|
|
67434
|
+
RecommendationMindsetUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
67435
|
+
if (!(reader instanceof $Reader))
|
|
67436
|
+
reader = new $Reader(reader);
|
|
67437
|
+
return this.decode(reader, reader.uint32());
|
|
67438
|
+
};
|
|
67439
|
+
|
|
67440
|
+
/**
|
|
67441
|
+
* Verifies a RecommendationMindsetUpdated message.
|
|
67442
|
+
* @function verify
|
|
67443
|
+
* @memberof RecommendationMindsetUpdated
|
|
67444
|
+
* @static
|
|
67445
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
67446
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
67447
|
+
*/
|
|
67448
|
+
RecommendationMindsetUpdated.verify = function verify(message) {
|
|
67449
|
+
if (typeof message !== "object" || message === null)
|
|
67450
|
+
return "object expected";
|
|
67451
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
67452
|
+
if (!$util.isString(message.userId))
|
|
67453
|
+
return "userId: string expected";
|
|
67454
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
67455
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
67456
|
+
return "updatedAt: integer|Long expected";
|
|
67457
|
+
if (message.mindset != null && message.hasOwnProperty("mindset"))
|
|
67458
|
+
if (!$util.isString(message.mindset))
|
|
67459
|
+
return "mindset: string expected";
|
|
67460
|
+
return null;
|
|
67461
|
+
};
|
|
67462
|
+
|
|
67463
|
+
/**
|
|
67464
|
+
* Creates a RecommendationMindsetUpdated message from a plain object. Also converts values to their respective internal types.
|
|
67465
|
+
* @function fromObject
|
|
67466
|
+
* @memberof RecommendationMindsetUpdated
|
|
67467
|
+
* @static
|
|
67468
|
+
* @param {Object.<string,*>} object Plain object
|
|
67469
|
+
* @returns {RecommendationMindsetUpdated} RecommendationMindsetUpdated
|
|
67470
|
+
*/
|
|
67471
|
+
RecommendationMindsetUpdated.fromObject = function fromObject(object) {
|
|
67472
|
+
if (object instanceof $root.RecommendationMindsetUpdated)
|
|
67473
|
+
return object;
|
|
67474
|
+
var message = new $root.RecommendationMindsetUpdated();
|
|
67475
|
+
if (object.userId != null)
|
|
67476
|
+
message.userId = String(object.userId);
|
|
67477
|
+
if (object.updatedAt != null)
|
|
67478
|
+
if ($util.Long)
|
|
67479
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
67480
|
+
else if (typeof object.updatedAt === "string")
|
|
67481
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
67482
|
+
else if (typeof object.updatedAt === "number")
|
|
67483
|
+
message.updatedAt = object.updatedAt;
|
|
67484
|
+
else if (typeof object.updatedAt === "object")
|
|
67485
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
67486
|
+
if (object.mindset != null)
|
|
67487
|
+
message.mindset = String(object.mindset);
|
|
67488
|
+
return message;
|
|
67489
|
+
};
|
|
67490
|
+
|
|
67491
|
+
/**
|
|
67492
|
+
* Creates a plain object from a RecommendationMindsetUpdated message. Also converts values to other types if specified.
|
|
67493
|
+
* @function toObject
|
|
67494
|
+
* @memberof RecommendationMindsetUpdated
|
|
67495
|
+
* @static
|
|
67496
|
+
* @param {RecommendationMindsetUpdated} message RecommendationMindsetUpdated
|
|
67497
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
67498
|
+
* @returns {Object.<string,*>} Plain object
|
|
67499
|
+
*/
|
|
67500
|
+
RecommendationMindsetUpdated.toObject = function toObject(message, options) {
|
|
67501
|
+
if (!options)
|
|
67502
|
+
options = {};
|
|
67503
|
+
var object = {};
|
|
67504
|
+
if (options.defaults) {
|
|
67505
|
+
object.userId = "";
|
|
67506
|
+
if ($util.Long) {
|
|
67507
|
+
var long = new $util.Long(0, 0, true);
|
|
67508
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
67509
|
+
} else
|
|
67510
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
67511
|
+
object.mindset = "";
|
|
67512
|
+
}
|
|
67513
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
67514
|
+
object.userId = message.userId;
|
|
67515
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
67516
|
+
if (typeof message.updatedAt === "number")
|
|
67517
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
67518
|
+
else
|
|
67519
|
+
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;
|
|
67520
|
+
if (message.mindset != null && message.hasOwnProperty("mindset"))
|
|
67521
|
+
object.mindset = message.mindset;
|
|
67522
|
+
return object;
|
|
67523
|
+
};
|
|
67524
|
+
|
|
67525
|
+
/**
|
|
67526
|
+
* Converts this RecommendationMindsetUpdated to JSON.
|
|
67527
|
+
* @function toJSON
|
|
67528
|
+
* @memberof RecommendationMindsetUpdated
|
|
67529
|
+
* @instance
|
|
67530
|
+
* @returns {Object.<string,*>} JSON object
|
|
67531
|
+
*/
|
|
67532
|
+
RecommendationMindsetUpdated.prototype.toJSON = function toJSON() {
|
|
67533
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
67534
|
+
};
|
|
67535
|
+
|
|
67536
|
+
return RecommendationMindsetUpdated;
|
|
67537
|
+
})();
|
|
67538
|
+
|
|
67293
67539
|
$root.IosSubscriptionCreated = (function() {
|
|
67294
67540
|
|
|
67295
67541
|
/**
|
|
@@ -76205,6 +76451,318 @@ $root.GiftEmailScheduled = (function() {
|
|
|
76205
76451
|
return GiftEmailScheduled;
|
|
76206
76452
|
})();
|
|
76207
76453
|
|
|
76454
|
+
$root.GiftPurchased = (function() {
|
|
76455
|
+
|
|
76456
|
+
/**
|
|
76457
|
+
* Properties of a GiftPurchased.
|
|
76458
|
+
* @exports IGiftPurchased
|
|
76459
|
+
* @interface IGiftPurchased
|
|
76460
|
+
* @property {string|null} [hsUserId] GiftPurchased hsUserId
|
|
76461
|
+
* @property {string|null} [giftRecipientEmail] GiftPurchased giftRecipientEmail
|
|
76462
|
+
* @property {string|null} [giftRecipientFirstName] GiftPurchased giftRecipientFirstName
|
|
76463
|
+
* @property {string|null} [giftRecipientLastName] GiftPurchased giftRecipientLastName
|
|
76464
|
+
* @property {number|null} [giftNumMonths] GiftPurchased giftNumMonths
|
|
76465
|
+
* @property {number|Long|null} [purchasedOn] GiftPurchased purchasedOn
|
|
76466
|
+
*/
|
|
76467
|
+
|
|
76468
|
+
/**
|
|
76469
|
+
* Constructs a new GiftPurchased.
|
|
76470
|
+
* @exports GiftPurchased
|
|
76471
|
+
* @classdesc Represents a GiftPurchased.
|
|
76472
|
+
* @implements IGiftPurchased
|
|
76473
|
+
* @constructor
|
|
76474
|
+
* @param {IGiftPurchased=} [properties] Properties to set
|
|
76475
|
+
*/
|
|
76476
|
+
function GiftPurchased(properties) {
|
|
76477
|
+
if (properties)
|
|
76478
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
76479
|
+
if (properties[keys[i]] != null)
|
|
76480
|
+
this[keys[i]] = properties[keys[i]];
|
|
76481
|
+
}
|
|
76482
|
+
|
|
76483
|
+
/**
|
|
76484
|
+
* GiftPurchased hsUserId.
|
|
76485
|
+
* @member {string} hsUserId
|
|
76486
|
+
* @memberof GiftPurchased
|
|
76487
|
+
* @instance
|
|
76488
|
+
*/
|
|
76489
|
+
GiftPurchased.prototype.hsUserId = "";
|
|
76490
|
+
|
|
76491
|
+
/**
|
|
76492
|
+
* GiftPurchased giftRecipientEmail.
|
|
76493
|
+
* @member {string} giftRecipientEmail
|
|
76494
|
+
* @memberof GiftPurchased
|
|
76495
|
+
* @instance
|
|
76496
|
+
*/
|
|
76497
|
+
GiftPurchased.prototype.giftRecipientEmail = "";
|
|
76498
|
+
|
|
76499
|
+
/**
|
|
76500
|
+
* GiftPurchased giftRecipientFirstName.
|
|
76501
|
+
* @member {string} giftRecipientFirstName
|
|
76502
|
+
* @memberof GiftPurchased
|
|
76503
|
+
* @instance
|
|
76504
|
+
*/
|
|
76505
|
+
GiftPurchased.prototype.giftRecipientFirstName = "";
|
|
76506
|
+
|
|
76507
|
+
/**
|
|
76508
|
+
* GiftPurchased giftRecipientLastName.
|
|
76509
|
+
* @member {string} giftRecipientLastName
|
|
76510
|
+
* @memberof GiftPurchased
|
|
76511
|
+
* @instance
|
|
76512
|
+
*/
|
|
76513
|
+
GiftPurchased.prototype.giftRecipientLastName = "";
|
|
76514
|
+
|
|
76515
|
+
/**
|
|
76516
|
+
* GiftPurchased giftNumMonths.
|
|
76517
|
+
* @member {number} giftNumMonths
|
|
76518
|
+
* @memberof GiftPurchased
|
|
76519
|
+
* @instance
|
|
76520
|
+
*/
|
|
76521
|
+
GiftPurchased.prototype.giftNumMonths = 0;
|
|
76522
|
+
|
|
76523
|
+
/**
|
|
76524
|
+
* GiftPurchased purchasedOn.
|
|
76525
|
+
* @member {number|Long} purchasedOn
|
|
76526
|
+
* @memberof GiftPurchased
|
|
76527
|
+
* @instance
|
|
76528
|
+
*/
|
|
76529
|
+
GiftPurchased.prototype.purchasedOn = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
76530
|
+
|
|
76531
|
+
/**
|
|
76532
|
+
* Creates a new GiftPurchased instance using the specified properties.
|
|
76533
|
+
* @function create
|
|
76534
|
+
* @memberof GiftPurchased
|
|
76535
|
+
* @static
|
|
76536
|
+
* @param {IGiftPurchased=} [properties] Properties to set
|
|
76537
|
+
* @returns {GiftPurchased} GiftPurchased instance
|
|
76538
|
+
*/
|
|
76539
|
+
GiftPurchased.create = function create(properties) {
|
|
76540
|
+
return new GiftPurchased(properties);
|
|
76541
|
+
};
|
|
76542
|
+
|
|
76543
|
+
/**
|
|
76544
|
+
* Encodes the specified GiftPurchased message. Does not implicitly {@link GiftPurchased.verify|verify} messages.
|
|
76545
|
+
* @function encode
|
|
76546
|
+
* @memberof GiftPurchased
|
|
76547
|
+
* @static
|
|
76548
|
+
* @param {IGiftPurchased} message GiftPurchased message or plain object to encode
|
|
76549
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76550
|
+
* @returns {$protobuf.Writer} Writer
|
|
76551
|
+
*/
|
|
76552
|
+
GiftPurchased.encode = function encode(message, writer) {
|
|
76553
|
+
if (!writer)
|
|
76554
|
+
writer = $Writer.create();
|
|
76555
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
76556
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
76557
|
+
if (message.giftRecipientEmail != null && message.hasOwnProperty("giftRecipientEmail"))
|
|
76558
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.giftRecipientEmail);
|
|
76559
|
+
if (message.giftRecipientFirstName != null && message.hasOwnProperty("giftRecipientFirstName"))
|
|
76560
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.giftRecipientFirstName);
|
|
76561
|
+
if (message.giftRecipientLastName != null && message.hasOwnProperty("giftRecipientLastName"))
|
|
76562
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.giftRecipientLastName);
|
|
76563
|
+
if (message.giftNumMonths != null && message.hasOwnProperty("giftNumMonths"))
|
|
76564
|
+
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.giftNumMonths);
|
|
76565
|
+
if (message.purchasedOn != null && message.hasOwnProperty("purchasedOn"))
|
|
76566
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.purchasedOn);
|
|
76567
|
+
return writer;
|
|
76568
|
+
};
|
|
76569
|
+
|
|
76570
|
+
/**
|
|
76571
|
+
* Encodes the specified GiftPurchased message, length delimited. Does not implicitly {@link GiftPurchased.verify|verify} messages.
|
|
76572
|
+
* @function encodeDelimited
|
|
76573
|
+
* @memberof GiftPurchased
|
|
76574
|
+
* @static
|
|
76575
|
+
* @param {IGiftPurchased} message GiftPurchased message or plain object to encode
|
|
76576
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76577
|
+
* @returns {$protobuf.Writer} Writer
|
|
76578
|
+
*/
|
|
76579
|
+
GiftPurchased.encodeDelimited = function encodeDelimited(message, writer) {
|
|
76580
|
+
return this.encode(message, writer).ldelim();
|
|
76581
|
+
};
|
|
76582
|
+
|
|
76583
|
+
/**
|
|
76584
|
+
* Decodes a GiftPurchased message from the specified reader or buffer.
|
|
76585
|
+
* @function decode
|
|
76586
|
+
* @memberof GiftPurchased
|
|
76587
|
+
* @static
|
|
76588
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76589
|
+
* @param {number} [length] Message length if known beforehand
|
|
76590
|
+
* @returns {GiftPurchased} GiftPurchased
|
|
76591
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76592
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76593
|
+
*/
|
|
76594
|
+
GiftPurchased.decode = function decode(reader, length) {
|
|
76595
|
+
if (!(reader instanceof $Reader))
|
|
76596
|
+
reader = $Reader.create(reader);
|
|
76597
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GiftPurchased();
|
|
76598
|
+
while (reader.pos < end) {
|
|
76599
|
+
var tag = reader.uint32();
|
|
76600
|
+
switch (tag >>> 3) {
|
|
76601
|
+
case 1:
|
|
76602
|
+
message.hsUserId = reader.string();
|
|
76603
|
+
break;
|
|
76604
|
+
case 2:
|
|
76605
|
+
message.giftRecipientEmail = reader.string();
|
|
76606
|
+
break;
|
|
76607
|
+
case 3:
|
|
76608
|
+
message.giftRecipientFirstName = reader.string();
|
|
76609
|
+
break;
|
|
76610
|
+
case 4:
|
|
76611
|
+
message.giftRecipientLastName = reader.string();
|
|
76612
|
+
break;
|
|
76613
|
+
case 5:
|
|
76614
|
+
message.giftNumMonths = reader.int32();
|
|
76615
|
+
break;
|
|
76616
|
+
case 6:
|
|
76617
|
+
message.purchasedOn = reader.uint64();
|
|
76618
|
+
break;
|
|
76619
|
+
default:
|
|
76620
|
+
reader.skipType(tag & 7);
|
|
76621
|
+
break;
|
|
76622
|
+
}
|
|
76623
|
+
}
|
|
76624
|
+
return message;
|
|
76625
|
+
};
|
|
76626
|
+
|
|
76627
|
+
/**
|
|
76628
|
+
* Decodes a GiftPurchased message from the specified reader or buffer, length delimited.
|
|
76629
|
+
* @function decodeDelimited
|
|
76630
|
+
* @memberof GiftPurchased
|
|
76631
|
+
* @static
|
|
76632
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76633
|
+
* @returns {GiftPurchased} GiftPurchased
|
|
76634
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76635
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76636
|
+
*/
|
|
76637
|
+
GiftPurchased.decodeDelimited = function decodeDelimited(reader) {
|
|
76638
|
+
if (!(reader instanceof $Reader))
|
|
76639
|
+
reader = new $Reader(reader);
|
|
76640
|
+
return this.decode(reader, reader.uint32());
|
|
76641
|
+
};
|
|
76642
|
+
|
|
76643
|
+
/**
|
|
76644
|
+
* Verifies a GiftPurchased message.
|
|
76645
|
+
* @function verify
|
|
76646
|
+
* @memberof GiftPurchased
|
|
76647
|
+
* @static
|
|
76648
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
76649
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
76650
|
+
*/
|
|
76651
|
+
GiftPurchased.verify = function verify(message) {
|
|
76652
|
+
if (typeof message !== "object" || message === null)
|
|
76653
|
+
return "object expected";
|
|
76654
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
76655
|
+
if (!$util.isString(message.hsUserId))
|
|
76656
|
+
return "hsUserId: string expected";
|
|
76657
|
+
if (message.giftRecipientEmail != null && message.hasOwnProperty("giftRecipientEmail"))
|
|
76658
|
+
if (!$util.isString(message.giftRecipientEmail))
|
|
76659
|
+
return "giftRecipientEmail: string expected";
|
|
76660
|
+
if (message.giftRecipientFirstName != null && message.hasOwnProperty("giftRecipientFirstName"))
|
|
76661
|
+
if (!$util.isString(message.giftRecipientFirstName))
|
|
76662
|
+
return "giftRecipientFirstName: string expected";
|
|
76663
|
+
if (message.giftRecipientLastName != null && message.hasOwnProperty("giftRecipientLastName"))
|
|
76664
|
+
if (!$util.isString(message.giftRecipientLastName))
|
|
76665
|
+
return "giftRecipientLastName: string expected";
|
|
76666
|
+
if (message.giftNumMonths != null && message.hasOwnProperty("giftNumMonths"))
|
|
76667
|
+
if (!$util.isInteger(message.giftNumMonths))
|
|
76668
|
+
return "giftNumMonths: integer expected";
|
|
76669
|
+
if (message.purchasedOn != null && message.hasOwnProperty("purchasedOn"))
|
|
76670
|
+
if (!$util.isInteger(message.purchasedOn) && !(message.purchasedOn && $util.isInteger(message.purchasedOn.low) && $util.isInteger(message.purchasedOn.high)))
|
|
76671
|
+
return "purchasedOn: integer|Long expected";
|
|
76672
|
+
return null;
|
|
76673
|
+
};
|
|
76674
|
+
|
|
76675
|
+
/**
|
|
76676
|
+
* Creates a GiftPurchased message from a plain object. Also converts values to their respective internal types.
|
|
76677
|
+
* @function fromObject
|
|
76678
|
+
* @memberof GiftPurchased
|
|
76679
|
+
* @static
|
|
76680
|
+
* @param {Object.<string,*>} object Plain object
|
|
76681
|
+
* @returns {GiftPurchased} GiftPurchased
|
|
76682
|
+
*/
|
|
76683
|
+
GiftPurchased.fromObject = function fromObject(object) {
|
|
76684
|
+
if (object instanceof $root.GiftPurchased)
|
|
76685
|
+
return object;
|
|
76686
|
+
var message = new $root.GiftPurchased();
|
|
76687
|
+
if (object.hsUserId != null)
|
|
76688
|
+
message.hsUserId = String(object.hsUserId);
|
|
76689
|
+
if (object.giftRecipientEmail != null)
|
|
76690
|
+
message.giftRecipientEmail = String(object.giftRecipientEmail);
|
|
76691
|
+
if (object.giftRecipientFirstName != null)
|
|
76692
|
+
message.giftRecipientFirstName = String(object.giftRecipientFirstName);
|
|
76693
|
+
if (object.giftRecipientLastName != null)
|
|
76694
|
+
message.giftRecipientLastName = String(object.giftRecipientLastName);
|
|
76695
|
+
if (object.giftNumMonths != null)
|
|
76696
|
+
message.giftNumMonths = object.giftNumMonths | 0;
|
|
76697
|
+
if (object.purchasedOn != null)
|
|
76698
|
+
if ($util.Long)
|
|
76699
|
+
(message.purchasedOn = $util.Long.fromValue(object.purchasedOn)).unsigned = true;
|
|
76700
|
+
else if (typeof object.purchasedOn === "string")
|
|
76701
|
+
message.purchasedOn = parseInt(object.purchasedOn, 10);
|
|
76702
|
+
else if (typeof object.purchasedOn === "number")
|
|
76703
|
+
message.purchasedOn = object.purchasedOn;
|
|
76704
|
+
else if (typeof object.purchasedOn === "object")
|
|
76705
|
+
message.purchasedOn = new $util.LongBits(object.purchasedOn.low >>> 0, object.purchasedOn.high >>> 0).toNumber(true);
|
|
76706
|
+
return message;
|
|
76707
|
+
};
|
|
76708
|
+
|
|
76709
|
+
/**
|
|
76710
|
+
* Creates a plain object from a GiftPurchased message. Also converts values to other types if specified.
|
|
76711
|
+
* @function toObject
|
|
76712
|
+
* @memberof GiftPurchased
|
|
76713
|
+
* @static
|
|
76714
|
+
* @param {GiftPurchased} message GiftPurchased
|
|
76715
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
76716
|
+
* @returns {Object.<string,*>} Plain object
|
|
76717
|
+
*/
|
|
76718
|
+
GiftPurchased.toObject = function toObject(message, options) {
|
|
76719
|
+
if (!options)
|
|
76720
|
+
options = {};
|
|
76721
|
+
var object = {};
|
|
76722
|
+
if (options.defaults) {
|
|
76723
|
+
object.hsUserId = "";
|
|
76724
|
+
object.giftRecipientEmail = "";
|
|
76725
|
+
object.giftRecipientFirstName = "";
|
|
76726
|
+
object.giftRecipientLastName = "";
|
|
76727
|
+
object.giftNumMonths = 0;
|
|
76728
|
+
if ($util.Long) {
|
|
76729
|
+
var long = new $util.Long(0, 0, true);
|
|
76730
|
+
object.purchasedOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
76731
|
+
} else
|
|
76732
|
+
object.purchasedOn = options.longs === String ? "0" : 0;
|
|
76733
|
+
}
|
|
76734
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
76735
|
+
object.hsUserId = message.hsUserId;
|
|
76736
|
+
if (message.giftRecipientEmail != null && message.hasOwnProperty("giftRecipientEmail"))
|
|
76737
|
+
object.giftRecipientEmail = message.giftRecipientEmail;
|
|
76738
|
+
if (message.giftRecipientFirstName != null && message.hasOwnProperty("giftRecipientFirstName"))
|
|
76739
|
+
object.giftRecipientFirstName = message.giftRecipientFirstName;
|
|
76740
|
+
if (message.giftRecipientLastName != null && message.hasOwnProperty("giftRecipientLastName"))
|
|
76741
|
+
object.giftRecipientLastName = message.giftRecipientLastName;
|
|
76742
|
+
if (message.giftNumMonths != null && message.hasOwnProperty("giftNumMonths"))
|
|
76743
|
+
object.giftNumMonths = message.giftNumMonths;
|
|
76744
|
+
if (message.purchasedOn != null && message.hasOwnProperty("purchasedOn"))
|
|
76745
|
+
if (typeof message.purchasedOn === "number")
|
|
76746
|
+
object.purchasedOn = options.longs === String ? String(message.purchasedOn) : message.purchasedOn;
|
|
76747
|
+
else
|
|
76748
|
+
object.purchasedOn = options.longs === String ? $util.Long.prototype.toString.call(message.purchasedOn) : options.longs === Number ? new $util.LongBits(message.purchasedOn.low >>> 0, message.purchasedOn.high >>> 0).toNumber(true) : message.purchasedOn;
|
|
76749
|
+
return object;
|
|
76750
|
+
};
|
|
76751
|
+
|
|
76752
|
+
/**
|
|
76753
|
+
* Converts this GiftPurchased to JSON.
|
|
76754
|
+
* @function toJSON
|
|
76755
|
+
* @memberof GiftPurchased
|
|
76756
|
+
* @instance
|
|
76757
|
+
* @returns {Object.<string,*>} JSON object
|
|
76758
|
+
*/
|
|
76759
|
+
GiftPurchased.prototype.toJSON = function toJSON() {
|
|
76760
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
76761
|
+
};
|
|
76762
|
+
|
|
76763
|
+
return GiftPurchased;
|
|
76764
|
+
})();
|
|
76765
|
+
|
|
76208
76766
|
$root.GoogleSubscriptionPurchased = (function() {
|
|
76209
76767
|
|
|
76210
76768
|
/**
|
package/package.json
CHANGED