@headspace/protos-events 1.666.0 → 1.668.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 -0
- package/lib/index.js +276 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -55368,6 +55368,9 @@ export interface IEnterpriseUserEnrollmentUpgraded {
|
|
|
55368
55368
|
|
|
55369
55369
|
/** EnterpriseUserEnrollmentUpgraded enrollmentOrgId */
|
|
55370
55370
|
enrollmentOrgId?: (number|null);
|
|
55371
|
+
|
|
55372
|
+
/** EnterpriseUserEnrollmentUpgraded overlappedCareOrgId */
|
|
55373
|
+
overlappedCareOrgId?: (number|null);
|
|
55371
55374
|
}
|
|
55372
55375
|
|
|
55373
55376
|
/** Represents an EnterpriseUserEnrollmentUpgraded. */
|
|
@@ -55400,6 +55403,9 @@ export class EnterpriseUserEnrollmentUpgraded implements IEnterpriseUserEnrollme
|
|
|
55400
55403
|
/** EnterpriseUserEnrollmentUpgraded enrollmentOrgId. */
|
|
55401
55404
|
public enrollmentOrgId: number;
|
|
55402
55405
|
|
|
55406
|
+
/** EnterpriseUserEnrollmentUpgraded overlappedCareOrgId. */
|
|
55407
|
+
public overlappedCareOrgId: number;
|
|
55408
|
+
|
|
55403
55409
|
/**
|
|
55404
55410
|
* Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
|
|
55405
55411
|
* @param [properties] Properties to set
|
|
@@ -55491,6 +55497,9 @@ export interface IEligibleMemberUpgraded {
|
|
|
55491
55497
|
|
|
55492
55498
|
/** EligibleMemberUpgraded timestamp */
|
|
55493
55499
|
timestamp?: (number|Long|null);
|
|
55500
|
+
|
|
55501
|
+
/** EligibleMemberUpgraded overlappedCareOrgId */
|
|
55502
|
+
overlappedCareOrgId?: (number|null);
|
|
55494
55503
|
}
|
|
55495
55504
|
|
|
55496
55505
|
/** Represents an EligibleMemberUpgraded. */
|
|
@@ -55520,6 +55529,9 @@ export class EligibleMemberUpgraded implements IEligibleMemberUpgraded {
|
|
|
55520
55529
|
/** EligibleMemberUpgraded timestamp. */
|
|
55521
55530
|
public timestamp: (number|Long);
|
|
55522
55531
|
|
|
55532
|
+
/** EligibleMemberUpgraded overlappedCareOrgId. */
|
|
55533
|
+
public overlappedCareOrgId: number;
|
|
55534
|
+
|
|
55523
55535
|
/**
|
|
55524
55536
|
* Creates a new EligibleMemberUpgraded instance using the specified properties.
|
|
55525
55537
|
* @param [properties] Properties to set
|
|
@@ -56691,6 +56703,108 @@ export class GingerEligibilityRecordCreated implements IGingerEligibilityRecordC
|
|
|
56691
56703
|
public toJSON(): { [k: string]: any };
|
|
56692
56704
|
}
|
|
56693
56705
|
|
|
56706
|
+
/** Properties of a GingerEligibilityRecordReactivated. */
|
|
56707
|
+
export interface IGingerEligibilityRecordReactivated {
|
|
56708
|
+
|
|
56709
|
+
/** GingerEligibilityRecordReactivated hsUserId */
|
|
56710
|
+
hsUserId?: (string|null);
|
|
56711
|
+
|
|
56712
|
+
/** GingerEligibilityRecordReactivated gingerEligibilityRecordId */
|
|
56713
|
+
gingerEligibilityRecordId?: (number|null);
|
|
56714
|
+
|
|
56715
|
+
/** GingerEligibilityRecordReactivated hsEligibilityRecordUuid */
|
|
56716
|
+
hsEligibilityRecordUuid?: (string|null);
|
|
56717
|
+
}
|
|
56718
|
+
|
|
56719
|
+
/** A terminated member has re-enrolled, their EligibilityRecord is set to active and coupon code reactivated */
|
|
56720
|
+
export class GingerEligibilityRecordReactivated implements IGingerEligibilityRecordReactivated {
|
|
56721
|
+
|
|
56722
|
+
/**
|
|
56723
|
+
* Constructs a new GingerEligibilityRecordReactivated.
|
|
56724
|
+
* @param [properties] Properties to set
|
|
56725
|
+
*/
|
|
56726
|
+
constructor(properties?: IGingerEligibilityRecordReactivated);
|
|
56727
|
+
|
|
56728
|
+
/** GingerEligibilityRecordReactivated hsUserId. */
|
|
56729
|
+
public hsUserId: string;
|
|
56730
|
+
|
|
56731
|
+
/** GingerEligibilityRecordReactivated gingerEligibilityRecordId. */
|
|
56732
|
+
public gingerEligibilityRecordId: number;
|
|
56733
|
+
|
|
56734
|
+
/** GingerEligibilityRecordReactivated hsEligibilityRecordUuid. */
|
|
56735
|
+
public hsEligibilityRecordUuid: string;
|
|
56736
|
+
|
|
56737
|
+
/**
|
|
56738
|
+
* Creates a new GingerEligibilityRecordReactivated instance using the specified properties.
|
|
56739
|
+
* @param [properties] Properties to set
|
|
56740
|
+
* @returns GingerEligibilityRecordReactivated instance
|
|
56741
|
+
*/
|
|
56742
|
+
public static create(properties?: IGingerEligibilityRecordReactivated): GingerEligibilityRecordReactivated;
|
|
56743
|
+
|
|
56744
|
+
/**
|
|
56745
|
+
* Encodes the specified GingerEligibilityRecordReactivated message. Does not implicitly {@link GingerEligibilityRecordReactivated.verify|verify} messages.
|
|
56746
|
+
* @param message GingerEligibilityRecordReactivated message or plain object to encode
|
|
56747
|
+
* @param [writer] Writer to encode to
|
|
56748
|
+
* @returns Writer
|
|
56749
|
+
*/
|
|
56750
|
+
public static encode(message: IGingerEligibilityRecordReactivated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
56751
|
+
|
|
56752
|
+
/**
|
|
56753
|
+
* Encodes the specified GingerEligibilityRecordReactivated message, length delimited. Does not implicitly {@link GingerEligibilityRecordReactivated.verify|verify} messages.
|
|
56754
|
+
* @param message GingerEligibilityRecordReactivated message or plain object to encode
|
|
56755
|
+
* @param [writer] Writer to encode to
|
|
56756
|
+
* @returns Writer
|
|
56757
|
+
*/
|
|
56758
|
+
public static encodeDelimited(message: IGingerEligibilityRecordReactivated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
56759
|
+
|
|
56760
|
+
/**
|
|
56761
|
+
* Decodes a GingerEligibilityRecordReactivated message from the specified reader or buffer.
|
|
56762
|
+
* @param reader Reader or buffer to decode from
|
|
56763
|
+
* @param [length] Message length if known beforehand
|
|
56764
|
+
* @returns GingerEligibilityRecordReactivated
|
|
56765
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
56766
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
56767
|
+
*/
|
|
56768
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GingerEligibilityRecordReactivated;
|
|
56769
|
+
|
|
56770
|
+
/**
|
|
56771
|
+
* Decodes a GingerEligibilityRecordReactivated message from the specified reader or buffer, length delimited.
|
|
56772
|
+
* @param reader Reader or buffer to decode from
|
|
56773
|
+
* @returns GingerEligibilityRecordReactivated
|
|
56774
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
56775
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
56776
|
+
*/
|
|
56777
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GingerEligibilityRecordReactivated;
|
|
56778
|
+
|
|
56779
|
+
/**
|
|
56780
|
+
* Verifies a GingerEligibilityRecordReactivated message.
|
|
56781
|
+
* @param message Plain object to verify
|
|
56782
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
56783
|
+
*/
|
|
56784
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
56785
|
+
|
|
56786
|
+
/**
|
|
56787
|
+
* Creates a GingerEligibilityRecordReactivated message from a plain object. Also converts values to their respective internal types.
|
|
56788
|
+
* @param object Plain object
|
|
56789
|
+
* @returns GingerEligibilityRecordReactivated
|
|
56790
|
+
*/
|
|
56791
|
+
public static fromObject(object: { [k: string]: any }): GingerEligibilityRecordReactivated;
|
|
56792
|
+
|
|
56793
|
+
/**
|
|
56794
|
+
* Creates a plain object from a GingerEligibilityRecordReactivated message. Also converts values to other types if specified.
|
|
56795
|
+
* @param message GingerEligibilityRecordReactivated
|
|
56796
|
+
* @param [options] Conversion options
|
|
56797
|
+
* @returns Plain object
|
|
56798
|
+
*/
|
|
56799
|
+
public static toObject(message: GingerEligibilityRecordReactivated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
56800
|
+
|
|
56801
|
+
/**
|
|
56802
|
+
* Converts this GingerEligibilityRecordReactivated to JSON.
|
|
56803
|
+
* @returns JSON object
|
|
56804
|
+
*/
|
|
56805
|
+
public toJSON(): { [k: string]: any };
|
|
56806
|
+
}
|
|
56807
|
+
|
|
56694
56808
|
/** Properties of a GoalSet. */
|
|
56695
56809
|
export interface IGoalSet {
|
|
56696
56810
|
|
package/lib/index.js
CHANGED
|
@@ -154517,6 +154517,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
154517
154517
|
* @property {b2b.EnrollmentFlow|null} [priorEnrollmentFlow] EnterpriseUserEnrollmentUpgraded priorEnrollmentFlow
|
|
154518
154518
|
* @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentUpgraded timestamp
|
|
154519
154519
|
* @property {number|null} [enrollmentOrgId] EnterpriseUserEnrollmentUpgraded enrollmentOrgId
|
|
154520
|
+
* @property {number|null} [overlappedCareOrgId] EnterpriseUserEnrollmentUpgraded overlappedCareOrgId
|
|
154520
154521
|
*/
|
|
154521
154522
|
|
|
154522
154523
|
/**
|
|
@@ -154590,6 +154591,14 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
154590
154591
|
*/
|
|
154591
154592
|
EnterpriseUserEnrollmentUpgraded.prototype.enrollmentOrgId = 0;
|
|
154592
154593
|
|
|
154594
|
+
/**
|
|
154595
|
+
* EnterpriseUserEnrollmentUpgraded overlappedCareOrgId.
|
|
154596
|
+
* @member {number} overlappedCareOrgId
|
|
154597
|
+
* @memberof EnterpriseUserEnrollmentUpgraded
|
|
154598
|
+
* @instance
|
|
154599
|
+
*/
|
|
154600
|
+
EnterpriseUserEnrollmentUpgraded.prototype.overlappedCareOrgId = 0;
|
|
154601
|
+
|
|
154593
154602
|
/**
|
|
154594
154603
|
* Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
|
|
154595
154604
|
* @function create
|
|
@@ -154628,6 +154637,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
154628
154637
|
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.timestamp);
|
|
154629
154638
|
if (message.enrollmentOrgId != null && message.hasOwnProperty("enrollmentOrgId"))
|
|
154630
154639
|
writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.enrollmentOrgId);
|
|
154640
|
+
if (message.overlappedCareOrgId != null && message.hasOwnProperty("overlappedCareOrgId"))
|
|
154641
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.overlappedCareOrgId);
|
|
154631
154642
|
return writer;
|
|
154632
154643
|
};
|
|
154633
154644
|
|
|
@@ -154683,6 +154694,9 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
154683
154694
|
case 7:
|
|
154684
154695
|
message.enrollmentOrgId = reader.uint32();
|
|
154685
154696
|
break;
|
|
154697
|
+
case 8:
|
|
154698
|
+
message.overlappedCareOrgId = reader.uint32();
|
|
154699
|
+
break;
|
|
154686
154700
|
default:
|
|
154687
154701
|
reader.skipType(tag & 7);
|
|
154688
154702
|
break;
|
|
@@ -154757,6 +154771,9 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
154757
154771
|
if (message.enrollmentOrgId != null && message.hasOwnProperty("enrollmentOrgId"))
|
|
154758
154772
|
if (!$util.isInteger(message.enrollmentOrgId))
|
|
154759
154773
|
return "enrollmentOrgId: integer expected";
|
|
154774
|
+
if (message.overlappedCareOrgId != null && message.hasOwnProperty("overlappedCareOrgId"))
|
|
154775
|
+
if (!$util.isInteger(message.overlappedCareOrgId))
|
|
154776
|
+
return "overlappedCareOrgId: integer expected";
|
|
154760
154777
|
return null;
|
|
154761
154778
|
};
|
|
154762
154779
|
|
|
@@ -154841,6 +154858,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
154841
154858
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
154842
154859
|
if (object.enrollmentOrgId != null)
|
|
154843
154860
|
message.enrollmentOrgId = object.enrollmentOrgId >>> 0;
|
|
154861
|
+
if (object.overlappedCareOrgId != null)
|
|
154862
|
+
message.overlappedCareOrgId = object.overlappedCareOrgId >>> 0;
|
|
154844
154863
|
return message;
|
|
154845
154864
|
};
|
|
154846
154865
|
|
|
@@ -154869,6 +154888,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
154869
154888
|
} else
|
|
154870
154889
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
154871
154890
|
object.enrollmentOrgId = 0;
|
|
154891
|
+
object.overlappedCareOrgId = 0;
|
|
154872
154892
|
}
|
|
154873
154893
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
154874
154894
|
object.userId = message.userId;
|
|
@@ -154887,6 +154907,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
|
|
|
154887
154907
|
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;
|
|
154888
154908
|
if (message.enrollmentOrgId != null && message.hasOwnProperty("enrollmentOrgId"))
|
|
154889
154909
|
object.enrollmentOrgId = message.enrollmentOrgId;
|
|
154910
|
+
if (message.overlappedCareOrgId != null && message.hasOwnProperty("overlappedCareOrgId"))
|
|
154911
|
+
object.overlappedCareOrgId = message.overlappedCareOrgId;
|
|
154890
154912
|
return object;
|
|
154891
154913
|
};
|
|
154892
154914
|
|
|
@@ -154916,6 +154938,7 @@ $root.EligibleMemberUpgraded = (function() {
|
|
|
154916
154938
|
* @property {b2b.EnrollmentFlow|null} [b2bEnrollmentFlow] EligibleMemberUpgraded b2bEnrollmentFlow
|
|
154917
154939
|
* @property {b2b.EnrollmentFlow|null} [priorB2bEnrollmentFlow] EligibleMemberUpgraded priorB2bEnrollmentFlow
|
|
154918
154940
|
* @property {number|Long|null} [timestamp] EligibleMemberUpgraded timestamp
|
|
154941
|
+
* @property {number|null} [overlappedCareOrgId] EligibleMemberUpgraded overlappedCareOrgId
|
|
154919
154942
|
*/
|
|
154920
154943
|
|
|
154921
154944
|
/**
|
|
@@ -154981,6 +155004,14 @@ $root.EligibleMemberUpgraded = (function() {
|
|
|
154981
155004
|
*/
|
|
154982
155005
|
EligibleMemberUpgraded.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
154983
155006
|
|
|
155007
|
+
/**
|
|
155008
|
+
* EligibleMemberUpgraded overlappedCareOrgId.
|
|
155009
|
+
* @member {number} overlappedCareOrgId
|
|
155010
|
+
* @memberof EligibleMemberUpgraded
|
|
155011
|
+
* @instance
|
|
155012
|
+
*/
|
|
155013
|
+
EligibleMemberUpgraded.prototype.overlappedCareOrgId = 0;
|
|
155014
|
+
|
|
154984
155015
|
/**
|
|
154985
155016
|
* Creates a new EligibleMemberUpgraded instance using the specified properties.
|
|
154986
155017
|
* @function create
|
|
@@ -155017,6 +155048,8 @@ $root.EligibleMemberUpgraded = (function() {
|
|
|
155017
155048
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.priorB2bEnrollmentFlow);
|
|
155018
155049
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
155019
155050
|
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.timestamp);
|
|
155051
|
+
if (message.overlappedCareOrgId != null && message.hasOwnProperty("overlappedCareOrgId"))
|
|
155052
|
+
writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.overlappedCareOrgId);
|
|
155020
155053
|
return writer;
|
|
155021
155054
|
};
|
|
155022
155055
|
|
|
@@ -155069,6 +155102,9 @@ $root.EligibleMemberUpgraded = (function() {
|
|
|
155069
155102
|
case 6:
|
|
155070
155103
|
message.timestamp = reader.uint64();
|
|
155071
155104
|
break;
|
|
155105
|
+
case 7:
|
|
155106
|
+
message.overlappedCareOrgId = reader.uint32();
|
|
155107
|
+
break;
|
|
155072
155108
|
default:
|
|
155073
155109
|
reader.skipType(tag & 7);
|
|
155074
155110
|
break;
|
|
@@ -155140,6 +155176,9 @@ $root.EligibleMemberUpgraded = (function() {
|
|
|
155140
155176
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
155141
155177
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
155142
155178
|
return "timestamp: integer|Long expected";
|
|
155179
|
+
if (message.overlappedCareOrgId != null && message.hasOwnProperty("overlappedCareOrgId"))
|
|
155180
|
+
if (!$util.isInteger(message.overlappedCareOrgId))
|
|
155181
|
+
return "overlappedCareOrgId: integer expected";
|
|
155143
155182
|
return null;
|
|
155144
155183
|
};
|
|
155145
155184
|
|
|
@@ -155222,6 +155261,8 @@ $root.EligibleMemberUpgraded = (function() {
|
|
|
155222
155261
|
message.timestamp = object.timestamp;
|
|
155223
155262
|
else if (typeof object.timestamp === "object")
|
|
155224
155263
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
155264
|
+
if (object.overlappedCareOrgId != null)
|
|
155265
|
+
message.overlappedCareOrgId = object.overlappedCareOrgId >>> 0;
|
|
155225
155266
|
return message;
|
|
155226
155267
|
};
|
|
155227
155268
|
|
|
@@ -155249,6 +155290,7 @@ $root.EligibleMemberUpgraded = (function() {
|
|
|
155249
155290
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
155250
155291
|
} else
|
|
155251
155292
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
155293
|
+
object.overlappedCareOrgId = 0;
|
|
155252
155294
|
}
|
|
155253
155295
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
155254
155296
|
object.b2bOrgId = message.b2bOrgId;
|
|
@@ -155265,6 +155307,8 @@ $root.EligibleMemberUpgraded = (function() {
|
|
|
155265
155307
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
155266
155308
|
else
|
|
155267
155309
|
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;
|
|
155310
|
+
if (message.overlappedCareOrgId != null && message.hasOwnProperty("overlappedCareOrgId"))
|
|
155311
|
+
object.overlappedCareOrgId = message.overlappedCareOrgId;
|
|
155268
155312
|
return object;
|
|
155269
155313
|
};
|
|
155270
155314
|
|
|
@@ -158519,6 +158563,238 @@ $root.GingerEligibilityRecordCreated = (function() {
|
|
|
158519
158563
|
return GingerEligibilityRecordCreated;
|
|
158520
158564
|
})();
|
|
158521
158565
|
|
|
158566
|
+
$root.GingerEligibilityRecordReactivated = (function() {
|
|
158567
|
+
|
|
158568
|
+
/**
|
|
158569
|
+
* Properties of a GingerEligibilityRecordReactivated.
|
|
158570
|
+
* @name IGingerEligibilityRecordReactivated
|
|
158571
|
+
* @interface IGingerEligibilityRecordReactivated
|
|
158572
|
+
* @property {string|null} [hsUserId] GingerEligibilityRecordReactivated hsUserId
|
|
158573
|
+
* @property {number|null} [gingerEligibilityRecordId] GingerEligibilityRecordReactivated gingerEligibilityRecordId
|
|
158574
|
+
* @property {string|null} [hsEligibilityRecordUuid] GingerEligibilityRecordReactivated hsEligibilityRecordUuid
|
|
158575
|
+
*/
|
|
158576
|
+
|
|
158577
|
+
/**
|
|
158578
|
+
* Constructs a new GingerEligibilityRecordReactivated.
|
|
158579
|
+
* @name GingerEligibilityRecordReactivated
|
|
158580
|
+
* @classdesc A terminated member has re-enrolled, their EligibilityRecord is set to active and coupon code reactivated
|
|
158581
|
+
* @implements IGingerEligibilityRecordReactivated
|
|
158582
|
+
* @constructor
|
|
158583
|
+
* @param {IGingerEligibilityRecordReactivated=} [properties] Properties to set
|
|
158584
|
+
*/
|
|
158585
|
+
function GingerEligibilityRecordReactivated(properties) {
|
|
158586
|
+
if (properties)
|
|
158587
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
158588
|
+
if (properties[keys[i]] != null)
|
|
158589
|
+
this[keys[i]] = properties[keys[i]];
|
|
158590
|
+
}
|
|
158591
|
+
|
|
158592
|
+
/**
|
|
158593
|
+
* GingerEligibilityRecordReactivated hsUserId.
|
|
158594
|
+
* @member {string} hsUserId
|
|
158595
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158596
|
+
* @instance
|
|
158597
|
+
*/
|
|
158598
|
+
GingerEligibilityRecordReactivated.prototype.hsUserId = "";
|
|
158599
|
+
|
|
158600
|
+
/**
|
|
158601
|
+
* GingerEligibilityRecordReactivated gingerEligibilityRecordId.
|
|
158602
|
+
* @member {number} gingerEligibilityRecordId
|
|
158603
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158604
|
+
* @instance
|
|
158605
|
+
*/
|
|
158606
|
+
GingerEligibilityRecordReactivated.prototype.gingerEligibilityRecordId = 0;
|
|
158607
|
+
|
|
158608
|
+
/**
|
|
158609
|
+
* GingerEligibilityRecordReactivated hsEligibilityRecordUuid.
|
|
158610
|
+
* @member {string} hsEligibilityRecordUuid
|
|
158611
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158612
|
+
* @instance
|
|
158613
|
+
*/
|
|
158614
|
+
GingerEligibilityRecordReactivated.prototype.hsEligibilityRecordUuid = "";
|
|
158615
|
+
|
|
158616
|
+
/**
|
|
158617
|
+
* Creates a new GingerEligibilityRecordReactivated instance using the specified properties.
|
|
158618
|
+
* @function create
|
|
158619
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158620
|
+
* @static
|
|
158621
|
+
* @param {IGingerEligibilityRecordReactivated=} [properties] Properties to set
|
|
158622
|
+
* @returns {GingerEligibilityRecordReactivated} GingerEligibilityRecordReactivated instance
|
|
158623
|
+
*/
|
|
158624
|
+
GingerEligibilityRecordReactivated.create = function create(properties) {
|
|
158625
|
+
return new GingerEligibilityRecordReactivated(properties);
|
|
158626
|
+
};
|
|
158627
|
+
|
|
158628
|
+
/**
|
|
158629
|
+
* Encodes the specified GingerEligibilityRecordReactivated message. Does not implicitly {@link GingerEligibilityRecordReactivated.verify|verify} messages.
|
|
158630
|
+
* @function encode
|
|
158631
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158632
|
+
* @static
|
|
158633
|
+
* @param {IGingerEligibilityRecordReactivated} message GingerEligibilityRecordReactivated message or plain object to encode
|
|
158634
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
158635
|
+
* @returns {$protobuf.Writer} Writer
|
|
158636
|
+
*/
|
|
158637
|
+
GingerEligibilityRecordReactivated.encode = function encode(message, writer) {
|
|
158638
|
+
if (!writer)
|
|
158639
|
+
writer = $Writer.create();
|
|
158640
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
158641
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
158642
|
+
if (message.gingerEligibilityRecordId != null && message.hasOwnProperty("gingerEligibilityRecordId"))
|
|
158643
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerEligibilityRecordId);
|
|
158644
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
158645
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.hsEligibilityRecordUuid);
|
|
158646
|
+
return writer;
|
|
158647
|
+
};
|
|
158648
|
+
|
|
158649
|
+
/**
|
|
158650
|
+
* Encodes the specified GingerEligibilityRecordReactivated message, length delimited. Does not implicitly {@link GingerEligibilityRecordReactivated.verify|verify} messages.
|
|
158651
|
+
* @function encodeDelimited
|
|
158652
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158653
|
+
* @static
|
|
158654
|
+
* @param {IGingerEligibilityRecordReactivated} message GingerEligibilityRecordReactivated message or plain object to encode
|
|
158655
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
158656
|
+
* @returns {$protobuf.Writer} Writer
|
|
158657
|
+
*/
|
|
158658
|
+
GingerEligibilityRecordReactivated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
158659
|
+
return this.encode(message, writer).ldelim();
|
|
158660
|
+
};
|
|
158661
|
+
|
|
158662
|
+
/**
|
|
158663
|
+
* Decodes a GingerEligibilityRecordReactivated message from the specified reader or buffer.
|
|
158664
|
+
* @function decode
|
|
158665
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158666
|
+
* @static
|
|
158667
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
158668
|
+
* @param {number} [length] Message length if known beforehand
|
|
158669
|
+
* @returns {GingerEligibilityRecordReactivated} GingerEligibilityRecordReactivated
|
|
158670
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
158671
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
158672
|
+
*/
|
|
158673
|
+
GingerEligibilityRecordReactivated.decode = function decode(reader, length) {
|
|
158674
|
+
if (!(reader instanceof $Reader))
|
|
158675
|
+
reader = $Reader.create(reader);
|
|
158676
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GingerEligibilityRecordReactivated();
|
|
158677
|
+
while (reader.pos < end) {
|
|
158678
|
+
var tag = reader.uint32();
|
|
158679
|
+
switch (tag >>> 3) {
|
|
158680
|
+
case 1:
|
|
158681
|
+
message.hsUserId = reader.string();
|
|
158682
|
+
break;
|
|
158683
|
+
case 2:
|
|
158684
|
+
message.gingerEligibilityRecordId = reader.uint32();
|
|
158685
|
+
break;
|
|
158686
|
+
case 3:
|
|
158687
|
+
message.hsEligibilityRecordUuid = reader.string();
|
|
158688
|
+
break;
|
|
158689
|
+
default:
|
|
158690
|
+
reader.skipType(tag & 7);
|
|
158691
|
+
break;
|
|
158692
|
+
}
|
|
158693
|
+
}
|
|
158694
|
+
return message;
|
|
158695
|
+
};
|
|
158696
|
+
|
|
158697
|
+
/**
|
|
158698
|
+
* Decodes a GingerEligibilityRecordReactivated message from the specified reader or buffer, length delimited.
|
|
158699
|
+
* @function decodeDelimited
|
|
158700
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158701
|
+
* @static
|
|
158702
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
158703
|
+
* @returns {GingerEligibilityRecordReactivated} GingerEligibilityRecordReactivated
|
|
158704
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
158705
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
158706
|
+
*/
|
|
158707
|
+
GingerEligibilityRecordReactivated.decodeDelimited = function decodeDelimited(reader) {
|
|
158708
|
+
if (!(reader instanceof $Reader))
|
|
158709
|
+
reader = new $Reader(reader);
|
|
158710
|
+
return this.decode(reader, reader.uint32());
|
|
158711
|
+
};
|
|
158712
|
+
|
|
158713
|
+
/**
|
|
158714
|
+
* Verifies a GingerEligibilityRecordReactivated message.
|
|
158715
|
+
* @function verify
|
|
158716
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158717
|
+
* @static
|
|
158718
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
158719
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
158720
|
+
*/
|
|
158721
|
+
GingerEligibilityRecordReactivated.verify = function verify(message) {
|
|
158722
|
+
if (typeof message !== "object" || message === null)
|
|
158723
|
+
return "object expected";
|
|
158724
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
158725
|
+
if (!$util.isString(message.hsUserId))
|
|
158726
|
+
return "hsUserId: string expected";
|
|
158727
|
+
if (message.gingerEligibilityRecordId != null && message.hasOwnProperty("gingerEligibilityRecordId"))
|
|
158728
|
+
if (!$util.isInteger(message.gingerEligibilityRecordId))
|
|
158729
|
+
return "gingerEligibilityRecordId: integer expected";
|
|
158730
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
158731
|
+
if (!$util.isString(message.hsEligibilityRecordUuid))
|
|
158732
|
+
return "hsEligibilityRecordUuid: string expected";
|
|
158733
|
+
return null;
|
|
158734
|
+
};
|
|
158735
|
+
|
|
158736
|
+
/**
|
|
158737
|
+
* Creates a GingerEligibilityRecordReactivated message from a plain object. Also converts values to their respective internal types.
|
|
158738
|
+
* @function fromObject
|
|
158739
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158740
|
+
* @static
|
|
158741
|
+
* @param {Object.<string,*>} object Plain object
|
|
158742
|
+
* @returns {GingerEligibilityRecordReactivated} GingerEligibilityRecordReactivated
|
|
158743
|
+
*/
|
|
158744
|
+
GingerEligibilityRecordReactivated.fromObject = function fromObject(object) {
|
|
158745
|
+
if (object instanceof $root.GingerEligibilityRecordReactivated)
|
|
158746
|
+
return object;
|
|
158747
|
+
var message = new $root.GingerEligibilityRecordReactivated();
|
|
158748
|
+
if (object.hsUserId != null)
|
|
158749
|
+
message.hsUserId = String(object.hsUserId);
|
|
158750
|
+
if (object.gingerEligibilityRecordId != null)
|
|
158751
|
+
message.gingerEligibilityRecordId = object.gingerEligibilityRecordId >>> 0;
|
|
158752
|
+
if (object.hsEligibilityRecordUuid != null)
|
|
158753
|
+
message.hsEligibilityRecordUuid = String(object.hsEligibilityRecordUuid);
|
|
158754
|
+
return message;
|
|
158755
|
+
};
|
|
158756
|
+
|
|
158757
|
+
/**
|
|
158758
|
+
* Creates a plain object from a GingerEligibilityRecordReactivated message. Also converts values to other types if specified.
|
|
158759
|
+
* @function toObject
|
|
158760
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158761
|
+
* @static
|
|
158762
|
+
* @param {GingerEligibilityRecordReactivated} message GingerEligibilityRecordReactivated
|
|
158763
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
158764
|
+
* @returns {Object.<string,*>} Plain object
|
|
158765
|
+
*/
|
|
158766
|
+
GingerEligibilityRecordReactivated.toObject = function toObject(message, options) {
|
|
158767
|
+
if (!options)
|
|
158768
|
+
options = {};
|
|
158769
|
+
var object = {};
|
|
158770
|
+
if (options.defaults) {
|
|
158771
|
+
object.hsUserId = "";
|
|
158772
|
+
object.gingerEligibilityRecordId = 0;
|
|
158773
|
+
object.hsEligibilityRecordUuid = "";
|
|
158774
|
+
}
|
|
158775
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
158776
|
+
object.hsUserId = message.hsUserId;
|
|
158777
|
+
if (message.gingerEligibilityRecordId != null && message.hasOwnProperty("gingerEligibilityRecordId"))
|
|
158778
|
+
object.gingerEligibilityRecordId = message.gingerEligibilityRecordId;
|
|
158779
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
158780
|
+
object.hsEligibilityRecordUuid = message.hsEligibilityRecordUuid;
|
|
158781
|
+
return object;
|
|
158782
|
+
};
|
|
158783
|
+
|
|
158784
|
+
/**
|
|
158785
|
+
* Converts this GingerEligibilityRecordReactivated to JSON.
|
|
158786
|
+
* @function toJSON
|
|
158787
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158788
|
+
* @instance
|
|
158789
|
+
* @returns {Object.<string,*>} JSON object
|
|
158790
|
+
*/
|
|
158791
|
+
GingerEligibilityRecordReactivated.prototype.toJSON = function toJSON() {
|
|
158792
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
158793
|
+
};
|
|
158794
|
+
|
|
158795
|
+
return GingerEligibilityRecordReactivated;
|
|
158796
|
+
})();
|
|
158797
|
+
|
|
158522
158798
|
$root.GoalSet = (function() {
|
|
158523
158799
|
|
|
158524
158800
|
/**
|
package/package.json
CHANGED