@headspace/protos-events 1.279.0 → 1.281.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 +114 -12
- package/lib/index.js +290 -44
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -25513,9 +25513,6 @@ export interface ISurveySent {
|
|
|
25513
25513
|
/** SurveySent surveyUrl */
|
|
25514
25514
|
surveyUrl?: (string|null);
|
|
25515
25515
|
|
|
25516
|
-
/** SurveySent orgName */
|
|
25517
|
-
orgName?: (string|null);
|
|
25518
|
-
|
|
25519
25516
|
/** SurveySent timestamp */
|
|
25520
25517
|
timestamp?: (number|Long|null);
|
|
25521
25518
|
}
|
|
@@ -25535,9 +25532,6 @@ export class SurveySent implements ISurveySent {
|
|
|
25535
25532
|
/** SurveySent surveyUrl. */
|
|
25536
25533
|
public surveyUrl: string;
|
|
25537
25534
|
|
|
25538
|
-
/** SurveySent orgName. */
|
|
25539
|
-
public orgName: string;
|
|
25540
|
-
|
|
25541
25535
|
/** SurveySent timestamp. */
|
|
25542
25536
|
public timestamp: (number|Long);
|
|
25543
25537
|
|
|
@@ -25621,9 +25615,6 @@ export interface ISurveyNotCompleted {
|
|
|
25621
25615
|
/** SurveyNotCompleted surveyUrl */
|
|
25622
25616
|
surveyUrl?: (string|null);
|
|
25623
25617
|
|
|
25624
|
-
/** SurveyNotCompleted orgName */
|
|
25625
|
-
orgName?: (string|null);
|
|
25626
|
-
|
|
25627
25618
|
/** SurveyNotCompleted timestamp */
|
|
25628
25619
|
timestamp?: (number|Long|null);
|
|
25629
25620
|
}
|
|
@@ -25646,9 +25637,6 @@ export class SurveyNotCompleted implements ISurveyNotCompleted {
|
|
|
25646
25637
|
/** SurveyNotCompleted surveyUrl. */
|
|
25647
25638
|
public surveyUrl: string;
|
|
25648
25639
|
|
|
25649
|
-
/** SurveyNotCompleted orgName. */
|
|
25650
|
-
public orgName: string;
|
|
25651
|
-
|
|
25652
25640
|
/** SurveyNotCompleted timestamp. */
|
|
25653
25641
|
public timestamp: (number|Long);
|
|
25654
25642
|
|
|
@@ -29187,6 +29175,9 @@ export interface IGiftPurchased {
|
|
|
29187
29175
|
|
|
29188
29176
|
/** GiftPurchased purchasedOn */
|
|
29189
29177
|
purchasedOn?: (number|Long|null);
|
|
29178
|
+
|
|
29179
|
+
/** GiftPurchased giftPurchaseId */
|
|
29180
|
+
giftPurchaseId?: (string|null);
|
|
29190
29181
|
}
|
|
29191
29182
|
|
|
29192
29183
|
/** Represents a GiftPurchased. */
|
|
@@ -29216,6 +29207,9 @@ export class GiftPurchased implements IGiftPurchased {
|
|
|
29216
29207
|
/** GiftPurchased purchasedOn. */
|
|
29217
29208
|
public purchasedOn: (number|Long);
|
|
29218
29209
|
|
|
29210
|
+
/** GiftPurchased giftPurchaseId. */
|
|
29211
|
+
public giftPurchaseId: string;
|
|
29212
|
+
|
|
29219
29213
|
/**
|
|
29220
29214
|
* Creates a new GiftPurchased instance using the specified properties.
|
|
29221
29215
|
* @param [properties] Properties to set
|
|
@@ -29287,6 +29281,114 @@ export class GiftPurchased implements IGiftPurchased {
|
|
|
29287
29281
|
public toJSON(): { [k: string]: any };
|
|
29288
29282
|
}
|
|
29289
29283
|
|
|
29284
|
+
/** Properties of a GiftRedemptionCodeGenerated. */
|
|
29285
|
+
export interface IGiftRedemptionCodeGenerated {
|
|
29286
|
+
|
|
29287
|
+
/** GiftRedemptionCodeGenerated hsUserId */
|
|
29288
|
+
hsUserId?: (string|null);
|
|
29289
|
+
|
|
29290
|
+
/** GiftRedemptionCodeGenerated giftRedemptionCode */
|
|
29291
|
+
giftRedemptionCode?: (string|null);
|
|
29292
|
+
|
|
29293
|
+
/** GiftRedemptionCodeGenerated giftPurchaseId */
|
|
29294
|
+
giftPurchaseId?: (string|null);
|
|
29295
|
+
|
|
29296
|
+
/** GiftRedemptionCodeGenerated timestamp */
|
|
29297
|
+
timestamp?: (number|Long|null);
|
|
29298
|
+
}
|
|
29299
|
+
|
|
29300
|
+
/** Represents a GiftRedemptionCodeGenerated. */
|
|
29301
|
+
export class GiftRedemptionCodeGenerated implements IGiftRedemptionCodeGenerated {
|
|
29302
|
+
|
|
29303
|
+
/**
|
|
29304
|
+
* Constructs a new GiftRedemptionCodeGenerated.
|
|
29305
|
+
* @param [properties] Properties to set
|
|
29306
|
+
*/
|
|
29307
|
+
constructor(properties?: IGiftRedemptionCodeGenerated);
|
|
29308
|
+
|
|
29309
|
+
/** GiftRedemptionCodeGenerated hsUserId. */
|
|
29310
|
+
public hsUserId: string;
|
|
29311
|
+
|
|
29312
|
+
/** GiftRedemptionCodeGenerated giftRedemptionCode. */
|
|
29313
|
+
public giftRedemptionCode: string;
|
|
29314
|
+
|
|
29315
|
+
/** GiftRedemptionCodeGenerated giftPurchaseId. */
|
|
29316
|
+
public giftPurchaseId: string;
|
|
29317
|
+
|
|
29318
|
+
/** GiftRedemptionCodeGenerated timestamp. */
|
|
29319
|
+
public timestamp: (number|Long);
|
|
29320
|
+
|
|
29321
|
+
/**
|
|
29322
|
+
* Creates a new GiftRedemptionCodeGenerated instance using the specified properties.
|
|
29323
|
+
* @param [properties] Properties to set
|
|
29324
|
+
* @returns GiftRedemptionCodeGenerated instance
|
|
29325
|
+
*/
|
|
29326
|
+
public static create(properties?: IGiftRedemptionCodeGenerated): GiftRedemptionCodeGenerated;
|
|
29327
|
+
|
|
29328
|
+
/**
|
|
29329
|
+
* Encodes the specified GiftRedemptionCodeGenerated message. Does not implicitly {@link GiftRedemptionCodeGenerated.verify|verify} messages.
|
|
29330
|
+
* @param message GiftRedemptionCodeGenerated message or plain object to encode
|
|
29331
|
+
* @param [writer] Writer to encode to
|
|
29332
|
+
* @returns Writer
|
|
29333
|
+
*/
|
|
29334
|
+
public static encode(message: IGiftRedemptionCodeGenerated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29335
|
+
|
|
29336
|
+
/**
|
|
29337
|
+
* Encodes the specified GiftRedemptionCodeGenerated message, length delimited. Does not implicitly {@link GiftRedemptionCodeGenerated.verify|verify} messages.
|
|
29338
|
+
* @param message GiftRedemptionCodeGenerated message or plain object to encode
|
|
29339
|
+
* @param [writer] Writer to encode to
|
|
29340
|
+
* @returns Writer
|
|
29341
|
+
*/
|
|
29342
|
+
public static encodeDelimited(message: IGiftRedemptionCodeGenerated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29343
|
+
|
|
29344
|
+
/**
|
|
29345
|
+
* Decodes a GiftRedemptionCodeGenerated message from the specified reader or buffer.
|
|
29346
|
+
* @param reader Reader or buffer to decode from
|
|
29347
|
+
* @param [length] Message length if known beforehand
|
|
29348
|
+
* @returns GiftRedemptionCodeGenerated
|
|
29349
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29350
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29351
|
+
*/
|
|
29352
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GiftRedemptionCodeGenerated;
|
|
29353
|
+
|
|
29354
|
+
/**
|
|
29355
|
+
* Decodes a GiftRedemptionCodeGenerated message from the specified reader or buffer, length delimited.
|
|
29356
|
+
* @param reader Reader or buffer to decode from
|
|
29357
|
+
* @returns GiftRedemptionCodeGenerated
|
|
29358
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29359
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29360
|
+
*/
|
|
29361
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GiftRedemptionCodeGenerated;
|
|
29362
|
+
|
|
29363
|
+
/**
|
|
29364
|
+
* Verifies a GiftRedemptionCodeGenerated message.
|
|
29365
|
+
* @param message Plain object to verify
|
|
29366
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29367
|
+
*/
|
|
29368
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
29369
|
+
|
|
29370
|
+
/**
|
|
29371
|
+
* Creates a GiftRedemptionCodeGenerated message from a plain object. Also converts values to their respective internal types.
|
|
29372
|
+
* @param object Plain object
|
|
29373
|
+
* @returns GiftRedemptionCodeGenerated
|
|
29374
|
+
*/
|
|
29375
|
+
public static fromObject(object: { [k: string]: any }): GiftRedemptionCodeGenerated;
|
|
29376
|
+
|
|
29377
|
+
/**
|
|
29378
|
+
* Creates a plain object from a GiftRedemptionCodeGenerated message. Also converts values to other types if specified.
|
|
29379
|
+
* @param message GiftRedemptionCodeGenerated
|
|
29380
|
+
* @param [options] Conversion options
|
|
29381
|
+
* @returns Plain object
|
|
29382
|
+
*/
|
|
29383
|
+
public static toObject(message: GiftRedemptionCodeGenerated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
29384
|
+
|
|
29385
|
+
/**
|
|
29386
|
+
* Converts this GiftRedemptionCodeGenerated to JSON.
|
|
29387
|
+
* @returns JSON object
|
|
29388
|
+
*/
|
|
29389
|
+
public toJSON(): { [k: string]: any };
|
|
29390
|
+
}
|
|
29391
|
+
|
|
29290
29392
|
/** Properties of a GoogleSubscriptionPurchased. */
|
|
29291
29393
|
export interface IGoogleSubscriptionPurchased {
|
|
29292
29394
|
|
package/lib/index.js
CHANGED
|
@@ -69449,7 +69449,6 @@ $root.SurveySent = (function() {
|
|
|
69449
69449
|
* @interface ISurveySent
|
|
69450
69450
|
* @property {string|null} [hsUserId] SurveySent hsUserId
|
|
69451
69451
|
* @property {string|null} [surveyUrl] SurveySent surveyUrl
|
|
69452
|
-
* @property {string|null} [orgName] SurveySent orgName
|
|
69453
69452
|
* @property {number|Long|null} [timestamp] SurveySent timestamp
|
|
69454
69453
|
*/
|
|
69455
69454
|
|
|
@@ -69484,14 +69483,6 @@ $root.SurveySent = (function() {
|
|
|
69484
69483
|
*/
|
|
69485
69484
|
SurveySent.prototype.surveyUrl = "";
|
|
69486
69485
|
|
|
69487
|
-
/**
|
|
69488
|
-
* SurveySent orgName.
|
|
69489
|
-
* @member {string} orgName
|
|
69490
|
-
* @memberof SurveySent
|
|
69491
|
-
* @instance
|
|
69492
|
-
*/
|
|
69493
|
-
SurveySent.prototype.orgName = "";
|
|
69494
|
-
|
|
69495
69486
|
/**
|
|
69496
69487
|
* SurveySent timestamp.
|
|
69497
69488
|
* @member {number|Long} timestamp
|
|
@@ -69528,8 +69519,6 @@ $root.SurveySent = (function() {
|
|
|
69528
69519
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
69529
69520
|
if (message.surveyUrl != null && message.hasOwnProperty("surveyUrl"))
|
|
69530
69521
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.surveyUrl);
|
|
69531
|
-
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
69532
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.orgName);
|
|
69533
69522
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
69534
69523
|
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestamp);
|
|
69535
69524
|
return writer;
|
|
@@ -69572,9 +69561,6 @@ $root.SurveySent = (function() {
|
|
|
69572
69561
|
case 2:
|
|
69573
69562
|
message.surveyUrl = reader.string();
|
|
69574
69563
|
break;
|
|
69575
|
-
case 3:
|
|
69576
|
-
message.orgName = reader.string();
|
|
69577
|
-
break;
|
|
69578
69564
|
case 4:
|
|
69579
69565
|
message.timestamp = reader.uint64();
|
|
69580
69566
|
break;
|
|
@@ -69619,9 +69605,6 @@ $root.SurveySent = (function() {
|
|
|
69619
69605
|
if (message.surveyUrl != null && message.hasOwnProperty("surveyUrl"))
|
|
69620
69606
|
if (!$util.isString(message.surveyUrl))
|
|
69621
69607
|
return "surveyUrl: string expected";
|
|
69622
|
-
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
69623
|
-
if (!$util.isString(message.orgName))
|
|
69624
|
-
return "orgName: string expected";
|
|
69625
69608
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
69626
69609
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
69627
69610
|
return "timestamp: integer|Long expected";
|
|
@@ -69644,8 +69627,6 @@ $root.SurveySent = (function() {
|
|
|
69644
69627
|
message.hsUserId = String(object.hsUserId);
|
|
69645
69628
|
if (object.surveyUrl != null)
|
|
69646
69629
|
message.surveyUrl = String(object.surveyUrl);
|
|
69647
|
-
if (object.orgName != null)
|
|
69648
|
-
message.orgName = String(object.orgName);
|
|
69649
69630
|
if (object.timestamp != null)
|
|
69650
69631
|
if ($util.Long)
|
|
69651
69632
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -69674,7 +69655,6 @@ $root.SurveySent = (function() {
|
|
|
69674
69655
|
if (options.defaults) {
|
|
69675
69656
|
object.hsUserId = "";
|
|
69676
69657
|
object.surveyUrl = "";
|
|
69677
|
-
object.orgName = "";
|
|
69678
69658
|
if ($util.Long) {
|
|
69679
69659
|
var long = new $util.Long(0, 0, true);
|
|
69680
69660
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -69685,8 +69665,6 @@ $root.SurveySent = (function() {
|
|
|
69685
69665
|
object.hsUserId = message.hsUserId;
|
|
69686
69666
|
if (message.surveyUrl != null && message.hasOwnProperty("surveyUrl"))
|
|
69687
69667
|
object.surveyUrl = message.surveyUrl;
|
|
69688
|
-
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
69689
|
-
object.orgName = message.orgName;
|
|
69690
69668
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
69691
69669
|
if (typeof message.timestamp === "number")
|
|
69692
69670
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
@@ -69717,7 +69695,6 @@ $root.SurveyNotCompleted = (function() {
|
|
|
69717
69695
|
* @interface ISurveyNotCompleted
|
|
69718
69696
|
* @property {string|null} [hsUserId] SurveyNotCompleted hsUserId
|
|
69719
69697
|
* @property {string|null} [surveyUrl] SurveyNotCompleted surveyUrl
|
|
69720
|
-
* @property {string|null} [orgName] SurveyNotCompleted orgName
|
|
69721
69698
|
* @property {number|Long|null} [timestamp] SurveyNotCompleted timestamp
|
|
69722
69699
|
*/
|
|
69723
69700
|
|
|
@@ -69753,14 +69730,6 @@ $root.SurveyNotCompleted = (function() {
|
|
|
69753
69730
|
*/
|
|
69754
69731
|
SurveyNotCompleted.prototype.surveyUrl = "";
|
|
69755
69732
|
|
|
69756
|
-
/**
|
|
69757
|
-
* SurveyNotCompleted orgName.
|
|
69758
|
-
* @member {string} orgName
|
|
69759
|
-
* @memberof SurveyNotCompleted
|
|
69760
|
-
* @instance
|
|
69761
|
-
*/
|
|
69762
|
-
SurveyNotCompleted.prototype.orgName = "";
|
|
69763
|
-
|
|
69764
69733
|
/**
|
|
69765
69734
|
* SurveyNotCompleted timestamp.
|
|
69766
69735
|
* @member {number|Long} timestamp
|
|
@@ -69797,8 +69766,6 @@ $root.SurveyNotCompleted = (function() {
|
|
|
69797
69766
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
69798
69767
|
if (message.surveyUrl != null && message.hasOwnProperty("surveyUrl"))
|
|
69799
69768
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.surveyUrl);
|
|
69800
|
-
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
69801
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.orgName);
|
|
69802
69769
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
69803
69770
|
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestamp);
|
|
69804
69771
|
return writer;
|
|
@@ -69841,9 +69808,6 @@ $root.SurveyNotCompleted = (function() {
|
|
|
69841
69808
|
case 2:
|
|
69842
69809
|
message.surveyUrl = reader.string();
|
|
69843
69810
|
break;
|
|
69844
|
-
case 3:
|
|
69845
|
-
message.orgName = reader.string();
|
|
69846
|
-
break;
|
|
69847
69811
|
case 4:
|
|
69848
69812
|
message.timestamp = reader.uint64();
|
|
69849
69813
|
break;
|
|
@@ -69888,9 +69852,6 @@ $root.SurveyNotCompleted = (function() {
|
|
|
69888
69852
|
if (message.surveyUrl != null && message.hasOwnProperty("surveyUrl"))
|
|
69889
69853
|
if (!$util.isString(message.surveyUrl))
|
|
69890
69854
|
return "surveyUrl: string expected";
|
|
69891
|
-
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
69892
|
-
if (!$util.isString(message.orgName))
|
|
69893
|
-
return "orgName: string expected";
|
|
69894
69855
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
69895
69856
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
69896
69857
|
return "timestamp: integer|Long expected";
|
|
@@ -69913,8 +69874,6 @@ $root.SurveyNotCompleted = (function() {
|
|
|
69913
69874
|
message.hsUserId = String(object.hsUserId);
|
|
69914
69875
|
if (object.surveyUrl != null)
|
|
69915
69876
|
message.surveyUrl = String(object.surveyUrl);
|
|
69916
|
-
if (object.orgName != null)
|
|
69917
|
-
message.orgName = String(object.orgName);
|
|
69918
69877
|
if (object.timestamp != null)
|
|
69919
69878
|
if ($util.Long)
|
|
69920
69879
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -69943,7 +69902,6 @@ $root.SurveyNotCompleted = (function() {
|
|
|
69943
69902
|
if (options.defaults) {
|
|
69944
69903
|
object.hsUserId = "";
|
|
69945
69904
|
object.surveyUrl = "";
|
|
69946
|
-
object.orgName = "";
|
|
69947
69905
|
if ($util.Long) {
|
|
69948
69906
|
var long = new $util.Long(0, 0, true);
|
|
69949
69907
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -69954,8 +69912,6 @@ $root.SurveyNotCompleted = (function() {
|
|
|
69954
69912
|
object.hsUserId = message.hsUserId;
|
|
69955
69913
|
if (message.surveyUrl != null && message.hasOwnProperty("surveyUrl"))
|
|
69956
69914
|
object.surveyUrl = message.surveyUrl;
|
|
69957
|
-
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
69958
|
-
object.orgName = message.orgName;
|
|
69959
69915
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
69960
69916
|
if (typeof message.timestamp === "number")
|
|
69961
69917
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
@@ -79863,6 +79819,7 @@ $root.GiftPurchased = (function() {
|
|
|
79863
79819
|
* @property {string|null} [giftRecipientLastName] GiftPurchased giftRecipientLastName
|
|
79864
79820
|
* @property {number|null} [giftNumMonths] GiftPurchased giftNumMonths
|
|
79865
79821
|
* @property {number|Long|null} [purchasedOn] GiftPurchased purchasedOn
|
|
79822
|
+
* @property {string|null} [giftPurchaseId] GiftPurchased giftPurchaseId
|
|
79866
79823
|
*/
|
|
79867
79824
|
|
|
79868
79825
|
/**
|
|
@@ -79928,6 +79885,14 @@ $root.GiftPurchased = (function() {
|
|
|
79928
79885
|
*/
|
|
79929
79886
|
GiftPurchased.prototype.purchasedOn = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
79930
79887
|
|
|
79888
|
+
/**
|
|
79889
|
+
* GiftPurchased giftPurchaseId.
|
|
79890
|
+
* @member {string} giftPurchaseId
|
|
79891
|
+
* @memberof GiftPurchased
|
|
79892
|
+
* @instance
|
|
79893
|
+
*/
|
|
79894
|
+
GiftPurchased.prototype.giftPurchaseId = "";
|
|
79895
|
+
|
|
79931
79896
|
/**
|
|
79932
79897
|
* Creates a new GiftPurchased instance using the specified properties.
|
|
79933
79898
|
* @function create
|
|
@@ -79964,6 +79929,8 @@ $root.GiftPurchased = (function() {
|
|
|
79964
79929
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.giftNumMonths);
|
|
79965
79930
|
if (message.purchasedOn != null && message.hasOwnProperty("purchasedOn"))
|
|
79966
79931
|
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.purchasedOn);
|
|
79932
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
79933
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.giftPurchaseId);
|
|
79967
79934
|
return writer;
|
|
79968
79935
|
};
|
|
79969
79936
|
|
|
@@ -80016,6 +79983,9 @@ $root.GiftPurchased = (function() {
|
|
|
80016
79983
|
case 6:
|
|
80017
79984
|
message.purchasedOn = reader.uint64();
|
|
80018
79985
|
break;
|
|
79986
|
+
case 7:
|
|
79987
|
+
message.giftPurchaseId = reader.string();
|
|
79988
|
+
break;
|
|
80019
79989
|
default:
|
|
80020
79990
|
reader.skipType(tag & 7);
|
|
80021
79991
|
break;
|
|
@@ -80069,6 +80039,9 @@ $root.GiftPurchased = (function() {
|
|
|
80069
80039
|
if (message.purchasedOn != null && message.hasOwnProperty("purchasedOn"))
|
|
80070
80040
|
if (!$util.isInteger(message.purchasedOn) && !(message.purchasedOn && $util.isInteger(message.purchasedOn.low) && $util.isInteger(message.purchasedOn.high)))
|
|
80071
80041
|
return "purchasedOn: integer|Long expected";
|
|
80042
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
80043
|
+
if (!$util.isString(message.giftPurchaseId))
|
|
80044
|
+
return "giftPurchaseId: string expected";
|
|
80072
80045
|
return null;
|
|
80073
80046
|
};
|
|
80074
80047
|
|
|
@@ -80103,6 +80076,8 @@ $root.GiftPurchased = (function() {
|
|
|
80103
80076
|
message.purchasedOn = object.purchasedOn;
|
|
80104
80077
|
else if (typeof object.purchasedOn === "object")
|
|
80105
80078
|
message.purchasedOn = new $util.LongBits(object.purchasedOn.low >>> 0, object.purchasedOn.high >>> 0).toNumber(true);
|
|
80079
|
+
if (object.giftPurchaseId != null)
|
|
80080
|
+
message.giftPurchaseId = String(object.giftPurchaseId);
|
|
80106
80081
|
return message;
|
|
80107
80082
|
};
|
|
80108
80083
|
|
|
@@ -80130,6 +80105,7 @@ $root.GiftPurchased = (function() {
|
|
|
80130
80105
|
object.purchasedOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
80131
80106
|
} else
|
|
80132
80107
|
object.purchasedOn = options.longs === String ? "0" : 0;
|
|
80108
|
+
object.giftPurchaseId = "";
|
|
80133
80109
|
}
|
|
80134
80110
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
80135
80111
|
object.hsUserId = message.hsUserId;
|
|
@@ -80146,6 +80122,8 @@ $root.GiftPurchased = (function() {
|
|
|
80146
80122
|
object.purchasedOn = options.longs === String ? String(message.purchasedOn) : message.purchasedOn;
|
|
80147
80123
|
else
|
|
80148
80124
|
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;
|
|
80125
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
80126
|
+
object.giftPurchaseId = message.giftPurchaseId;
|
|
80149
80127
|
return object;
|
|
80150
80128
|
};
|
|
80151
80129
|
|
|
@@ -80163,6 +80141,274 @@ $root.GiftPurchased = (function() {
|
|
|
80163
80141
|
return GiftPurchased;
|
|
80164
80142
|
})();
|
|
80165
80143
|
|
|
80144
|
+
$root.GiftRedemptionCodeGenerated = (function() {
|
|
80145
|
+
|
|
80146
|
+
/**
|
|
80147
|
+
* Properties of a GiftRedemptionCodeGenerated.
|
|
80148
|
+
* @exports IGiftRedemptionCodeGenerated
|
|
80149
|
+
* @interface IGiftRedemptionCodeGenerated
|
|
80150
|
+
* @property {string|null} [hsUserId] GiftRedemptionCodeGenerated hsUserId
|
|
80151
|
+
* @property {string|null} [giftRedemptionCode] GiftRedemptionCodeGenerated giftRedemptionCode
|
|
80152
|
+
* @property {string|null} [giftPurchaseId] GiftRedemptionCodeGenerated giftPurchaseId
|
|
80153
|
+
* @property {number|Long|null} [timestamp] GiftRedemptionCodeGenerated timestamp
|
|
80154
|
+
*/
|
|
80155
|
+
|
|
80156
|
+
/**
|
|
80157
|
+
* Constructs a new GiftRedemptionCodeGenerated.
|
|
80158
|
+
* @exports GiftRedemptionCodeGenerated
|
|
80159
|
+
* @classdesc Represents a GiftRedemptionCodeGenerated.
|
|
80160
|
+
* @implements IGiftRedemptionCodeGenerated
|
|
80161
|
+
* @constructor
|
|
80162
|
+
* @param {IGiftRedemptionCodeGenerated=} [properties] Properties to set
|
|
80163
|
+
*/
|
|
80164
|
+
function GiftRedemptionCodeGenerated(properties) {
|
|
80165
|
+
if (properties)
|
|
80166
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
80167
|
+
if (properties[keys[i]] != null)
|
|
80168
|
+
this[keys[i]] = properties[keys[i]];
|
|
80169
|
+
}
|
|
80170
|
+
|
|
80171
|
+
/**
|
|
80172
|
+
* GiftRedemptionCodeGenerated hsUserId.
|
|
80173
|
+
* @member {string} hsUserId
|
|
80174
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80175
|
+
* @instance
|
|
80176
|
+
*/
|
|
80177
|
+
GiftRedemptionCodeGenerated.prototype.hsUserId = "";
|
|
80178
|
+
|
|
80179
|
+
/**
|
|
80180
|
+
* GiftRedemptionCodeGenerated giftRedemptionCode.
|
|
80181
|
+
* @member {string} giftRedemptionCode
|
|
80182
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80183
|
+
* @instance
|
|
80184
|
+
*/
|
|
80185
|
+
GiftRedemptionCodeGenerated.prototype.giftRedemptionCode = "";
|
|
80186
|
+
|
|
80187
|
+
/**
|
|
80188
|
+
* GiftRedemptionCodeGenerated giftPurchaseId.
|
|
80189
|
+
* @member {string} giftPurchaseId
|
|
80190
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80191
|
+
* @instance
|
|
80192
|
+
*/
|
|
80193
|
+
GiftRedemptionCodeGenerated.prototype.giftPurchaseId = "";
|
|
80194
|
+
|
|
80195
|
+
/**
|
|
80196
|
+
* GiftRedemptionCodeGenerated timestamp.
|
|
80197
|
+
* @member {number|Long} timestamp
|
|
80198
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80199
|
+
* @instance
|
|
80200
|
+
*/
|
|
80201
|
+
GiftRedemptionCodeGenerated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
80202
|
+
|
|
80203
|
+
/**
|
|
80204
|
+
* Creates a new GiftRedemptionCodeGenerated instance using the specified properties.
|
|
80205
|
+
* @function create
|
|
80206
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80207
|
+
* @static
|
|
80208
|
+
* @param {IGiftRedemptionCodeGenerated=} [properties] Properties to set
|
|
80209
|
+
* @returns {GiftRedemptionCodeGenerated} GiftRedemptionCodeGenerated instance
|
|
80210
|
+
*/
|
|
80211
|
+
GiftRedemptionCodeGenerated.create = function create(properties) {
|
|
80212
|
+
return new GiftRedemptionCodeGenerated(properties);
|
|
80213
|
+
};
|
|
80214
|
+
|
|
80215
|
+
/**
|
|
80216
|
+
* Encodes the specified GiftRedemptionCodeGenerated message. Does not implicitly {@link GiftRedemptionCodeGenerated.verify|verify} messages.
|
|
80217
|
+
* @function encode
|
|
80218
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80219
|
+
* @static
|
|
80220
|
+
* @param {IGiftRedemptionCodeGenerated} message GiftRedemptionCodeGenerated message or plain object to encode
|
|
80221
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
80222
|
+
* @returns {$protobuf.Writer} Writer
|
|
80223
|
+
*/
|
|
80224
|
+
GiftRedemptionCodeGenerated.encode = function encode(message, writer) {
|
|
80225
|
+
if (!writer)
|
|
80226
|
+
writer = $Writer.create();
|
|
80227
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
80228
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
80229
|
+
if (message.giftRedemptionCode != null && message.hasOwnProperty("giftRedemptionCode"))
|
|
80230
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.giftRedemptionCode);
|
|
80231
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
80232
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.giftPurchaseId);
|
|
80233
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
80234
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestamp);
|
|
80235
|
+
return writer;
|
|
80236
|
+
};
|
|
80237
|
+
|
|
80238
|
+
/**
|
|
80239
|
+
* Encodes the specified GiftRedemptionCodeGenerated message, length delimited. Does not implicitly {@link GiftRedemptionCodeGenerated.verify|verify} messages.
|
|
80240
|
+
* @function encodeDelimited
|
|
80241
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80242
|
+
* @static
|
|
80243
|
+
* @param {IGiftRedemptionCodeGenerated} message GiftRedemptionCodeGenerated message or plain object to encode
|
|
80244
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
80245
|
+
* @returns {$protobuf.Writer} Writer
|
|
80246
|
+
*/
|
|
80247
|
+
GiftRedemptionCodeGenerated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
80248
|
+
return this.encode(message, writer).ldelim();
|
|
80249
|
+
};
|
|
80250
|
+
|
|
80251
|
+
/**
|
|
80252
|
+
* Decodes a GiftRedemptionCodeGenerated message from the specified reader or buffer.
|
|
80253
|
+
* @function decode
|
|
80254
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80255
|
+
* @static
|
|
80256
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
80257
|
+
* @param {number} [length] Message length if known beforehand
|
|
80258
|
+
* @returns {GiftRedemptionCodeGenerated} GiftRedemptionCodeGenerated
|
|
80259
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
80260
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
80261
|
+
*/
|
|
80262
|
+
GiftRedemptionCodeGenerated.decode = function decode(reader, length) {
|
|
80263
|
+
if (!(reader instanceof $Reader))
|
|
80264
|
+
reader = $Reader.create(reader);
|
|
80265
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GiftRedemptionCodeGenerated();
|
|
80266
|
+
while (reader.pos < end) {
|
|
80267
|
+
var tag = reader.uint32();
|
|
80268
|
+
switch (tag >>> 3) {
|
|
80269
|
+
case 1:
|
|
80270
|
+
message.hsUserId = reader.string();
|
|
80271
|
+
break;
|
|
80272
|
+
case 2:
|
|
80273
|
+
message.giftRedemptionCode = reader.string();
|
|
80274
|
+
break;
|
|
80275
|
+
case 3:
|
|
80276
|
+
message.giftPurchaseId = reader.string();
|
|
80277
|
+
break;
|
|
80278
|
+
case 4:
|
|
80279
|
+
message.timestamp = reader.uint64();
|
|
80280
|
+
break;
|
|
80281
|
+
default:
|
|
80282
|
+
reader.skipType(tag & 7);
|
|
80283
|
+
break;
|
|
80284
|
+
}
|
|
80285
|
+
}
|
|
80286
|
+
return message;
|
|
80287
|
+
};
|
|
80288
|
+
|
|
80289
|
+
/**
|
|
80290
|
+
* Decodes a GiftRedemptionCodeGenerated message from the specified reader or buffer, length delimited.
|
|
80291
|
+
* @function decodeDelimited
|
|
80292
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80293
|
+
* @static
|
|
80294
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
80295
|
+
* @returns {GiftRedemptionCodeGenerated} GiftRedemptionCodeGenerated
|
|
80296
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
80297
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
80298
|
+
*/
|
|
80299
|
+
GiftRedemptionCodeGenerated.decodeDelimited = function decodeDelimited(reader) {
|
|
80300
|
+
if (!(reader instanceof $Reader))
|
|
80301
|
+
reader = new $Reader(reader);
|
|
80302
|
+
return this.decode(reader, reader.uint32());
|
|
80303
|
+
};
|
|
80304
|
+
|
|
80305
|
+
/**
|
|
80306
|
+
* Verifies a GiftRedemptionCodeGenerated message.
|
|
80307
|
+
* @function verify
|
|
80308
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80309
|
+
* @static
|
|
80310
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
80311
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
80312
|
+
*/
|
|
80313
|
+
GiftRedemptionCodeGenerated.verify = function verify(message) {
|
|
80314
|
+
if (typeof message !== "object" || message === null)
|
|
80315
|
+
return "object expected";
|
|
80316
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
80317
|
+
if (!$util.isString(message.hsUserId))
|
|
80318
|
+
return "hsUserId: string expected";
|
|
80319
|
+
if (message.giftRedemptionCode != null && message.hasOwnProperty("giftRedemptionCode"))
|
|
80320
|
+
if (!$util.isString(message.giftRedemptionCode))
|
|
80321
|
+
return "giftRedemptionCode: string expected";
|
|
80322
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
80323
|
+
if (!$util.isString(message.giftPurchaseId))
|
|
80324
|
+
return "giftPurchaseId: string expected";
|
|
80325
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
80326
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
80327
|
+
return "timestamp: integer|Long expected";
|
|
80328
|
+
return null;
|
|
80329
|
+
};
|
|
80330
|
+
|
|
80331
|
+
/**
|
|
80332
|
+
* Creates a GiftRedemptionCodeGenerated message from a plain object. Also converts values to their respective internal types.
|
|
80333
|
+
* @function fromObject
|
|
80334
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80335
|
+
* @static
|
|
80336
|
+
* @param {Object.<string,*>} object Plain object
|
|
80337
|
+
* @returns {GiftRedemptionCodeGenerated} GiftRedemptionCodeGenerated
|
|
80338
|
+
*/
|
|
80339
|
+
GiftRedemptionCodeGenerated.fromObject = function fromObject(object) {
|
|
80340
|
+
if (object instanceof $root.GiftRedemptionCodeGenerated)
|
|
80341
|
+
return object;
|
|
80342
|
+
var message = new $root.GiftRedemptionCodeGenerated();
|
|
80343
|
+
if (object.hsUserId != null)
|
|
80344
|
+
message.hsUserId = String(object.hsUserId);
|
|
80345
|
+
if (object.giftRedemptionCode != null)
|
|
80346
|
+
message.giftRedemptionCode = String(object.giftRedemptionCode);
|
|
80347
|
+
if (object.giftPurchaseId != null)
|
|
80348
|
+
message.giftPurchaseId = String(object.giftPurchaseId);
|
|
80349
|
+
if (object.timestamp != null)
|
|
80350
|
+
if ($util.Long)
|
|
80351
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
80352
|
+
else if (typeof object.timestamp === "string")
|
|
80353
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
80354
|
+
else if (typeof object.timestamp === "number")
|
|
80355
|
+
message.timestamp = object.timestamp;
|
|
80356
|
+
else if (typeof object.timestamp === "object")
|
|
80357
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
80358
|
+
return message;
|
|
80359
|
+
};
|
|
80360
|
+
|
|
80361
|
+
/**
|
|
80362
|
+
* Creates a plain object from a GiftRedemptionCodeGenerated message. Also converts values to other types if specified.
|
|
80363
|
+
* @function toObject
|
|
80364
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80365
|
+
* @static
|
|
80366
|
+
* @param {GiftRedemptionCodeGenerated} message GiftRedemptionCodeGenerated
|
|
80367
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
80368
|
+
* @returns {Object.<string,*>} Plain object
|
|
80369
|
+
*/
|
|
80370
|
+
GiftRedemptionCodeGenerated.toObject = function toObject(message, options) {
|
|
80371
|
+
if (!options)
|
|
80372
|
+
options = {};
|
|
80373
|
+
var object = {};
|
|
80374
|
+
if (options.defaults) {
|
|
80375
|
+
object.hsUserId = "";
|
|
80376
|
+
object.giftRedemptionCode = "";
|
|
80377
|
+
object.giftPurchaseId = "";
|
|
80378
|
+
if ($util.Long) {
|
|
80379
|
+
var long = new $util.Long(0, 0, true);
|
|
80380
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
80381
|
+
} else
|
|
80382
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
80383
|
+
}
|
|
80384
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
80385
|
+
object.hsUserId = message.hsUserId;
|
|
80386
|
+
if (message.giftRedemptionCode != null && message.hasOwnProperty("giftRedemptionCode"))
|
|
80387
|
+
object.giftRedemptionCode = message.giftRedemptionCode;
|
|
80388
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
80389
|
+
object.giftPurchaseId = message.giftPurchaseId;
|
|
80390
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
80391
|
+
if (typeof message.timestamp === "number")
|
|
80392
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
80393
|
+
else
|
|
80394
|
+
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
80395
|
+
return object;
|
|
80396
|
+
};
|
|
80397
|
+
|
|
80398
|
+
/**
|
|
80399
|
+
* Converts this GiftRedemptionCodeGenerated to JSON.
|
|
80400
|
+
* @function toJSON
|
|
80401
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80402
|
+
* @instance
|
|
80403
|
+
* @returns {Object.<string,*>} JSON object
|
|
80404
|
+
*/
|
|
80405
|
+
GiftRedemptionCodeGenerated.prototype.toJSON = function toJSON() {
|
|
80406
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
80407
|
+
};
|
|
80408
|
+
|
|
80409
|
+
return GiftRedemptionCodeGenerated;
|
|
80410
|
+
})();
|
|
80411
|
+
|
|
80166
80412
|
$root.GoogleSubscriptionPurchased = (function() {
|
|
80167
80413
|
|
|
80168
80414
|
/**
|
package/package.json
CHANGED