@headspace/protos-events 1.517.0 → 1.519.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 +28 -9
- package/lib/index.js +340 -144
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -29951,6 +29951,9 @@ export interface IEligibilityLinked {
|
|
|
29951
29951
|
|
|
29952
29952
|
/** EligibilityLinked preferredCountry */
|
|
29953
29953
|
preferredCountry?: (string|null);
|
|
29954
|
+
|
|
29955
|
+
/** EligibilityLinked countryStateCode */
|
|
29956
|
+
countryStateCode?: (string|null);
|
|
29954
29957
|
}
|
|
29955
29958
|
|
|
29956
29959
|
/** Represents an EligibilityLinked. */
|
|
@@ -29998,6 +30001,9 @@ export class EligibilityLinked implements IEligibilityLinked {
|
|
|
29998
30001
|
/** EligibilityLinked preferredCountry. */
|
|
29999
30002
|
public preferredCountry: string;
|
|
30000
30003
|
|
|
30004
|
+
/** EligibilityLinked countryStateCode. */
|
|
30005
|
+
public countryStateCode: string;
|
|
30006
|
+
|
|
30001
30007
|
/**
|
|
30002
30008
|
* Creates a new EligibilityLinked instance using the specified properties.
|
|
30003
30009
|
* @param [properties] Properties to set
|
|
@@ -30242,6 +30248,9 @@ export interface IEligibleUserAdded {
|
|
|
30242
30248
|
|
|
30243
30249
|
/** EligibleUserAdded b2bLocation */
|
|
30244
30250
|
b2bLocation?: (string|null);
|
|
30251
|
+
|
|
30252
|
+
/** EligibleUserAdded countryStateCode */
|
|
30253
|
+
countryStateCode?: (string|null);
|
|
30245
30254
|
}
|
|
30246
30255
|
|
|
30247
30256
|
/** Represents an EligibleUserAdded. */
|
|
@@ -30304,6 +30313,9 @@ export class EligibleUserAdded implements IEligibleUserAdded {
|
|
|
30304
30313
|
/** EligibleUserAdded b2bLocation. */
|
|
30305
30314
|
public b2bLocation: string;
|
|
30306
30315
|
|
|
30316
|
+
/** EligibleUserAdded countryStateCode. */
|
|
30317
|
+
public countryStateCode: string;
|
|
30318
|
+
|
|
30307
30319
|
/**
|
|
30308
30320
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
30309
30321
|
* @param [properties] Properties to set
|
|
@@ -33314,7 +33326,8 @@ export enum GroupType {
|
|
|
33314
33326
|
GROUP_TYPE_UNKNOWN = 0,
|
|
33315
33327
|
GROUP_TYPE_D2C = 1,
|
|
33316
33328
|
GROUP_TYPE_PFP = 2,
|
|
33317
|
-
GROUP_TYPE_FUSION = 3
|
|
33329
|
+
GROUP_TYPE_FUSION = 3,
|
|
33330
|
+
GROUP_TYPE_EAP = 4
|
|
33318
33331
|
}
|
|
33319
33332
|
|
|
33320
33333
|
/** Properties of a FamilyMemberAdded. */
|
|
@@ -33357,7 +33370,7 @@ export interface IFamilyMemberAdded {
|
|
|
33357
33370
|
groupOwnerHsUserId?: (string|null);
|
|
33358
33371
|
|
|
33359
33372
|
/** FamilyMemberAdded groupType */
|
|
33360
|
-
groupType?: (GroupType|null);
|
|
33373
|
+
groupType?: (GroupType[]|null);
|
|
33361
33374
|
|
|
33362
33375
|
/** FamilyMemberAdded dateOfBirth */
|
|
33363
33376
|
dateOfBirth?: (string|null);
|
|
@@ -33412,7 +33425,7 @@ export class FamilyMemberAdded implements IFamilyMemberAdded {
|
|
|
33412
33425
|
public groupOwnerHsUserId: string;
|
|
33413
33426
|
|
|
33414
33427
|
/** FamilyMemberAdded groupType. */
|
|
33415
|
-
public groupType: GroupType;
|
|
33428
|
+
public groupType: GroupType[];
|
|
33416
33429
|
|
|
33417
33430
|
/** FamilyMemberAdded dateOfBirth. */
|
|
33418
33431
|
public dateOfBirth: string;
|
|
@@ -33531,7 +33544,7 @@ export interface IFamilyMemberInvited {
|
|
|
33531
33544
|
inviteId?: (number|null);
|
|
33532
33545
|
|
|
33533
33546
|
/** FamilyMemberInvited groupType */
|
|
33534
|
-
groupType?: (GroupType|null);
|
|
33547
|
+
groupType?: (GroupType[]|null);
|
|
33535
33548
|
}
|
|
33536
33549
|
|
|
33537
33550
|
/** Represents a FamilyMemberInvited. */
|
|
@@ -33580,7 +33593,7 @@ export class FamilyMemberInvited implements IFamilyMemberInvited {
|
|
|
33580
33593
|
public inviteId: number;
|
|
33581
33594
|
|
|
33582
33595
|
/** FamilyMemberInvited groupType. */
|
|
33583
|
-
public groupType: GroupType;
|
|
33596
|
+
public groupType: GroupType[];
|
|
33584
33597
|
|
|
33585
33598
|
/**
|
|
33586
33599
|
* Creates a new FamilyMemberInvited instance using the specified properties.
|
|
@@ -33687,7 +33700,7 @@ export interface IFamilyMemberSynced {
|
|
|
33687
33700
|
dependentId?: (number|null);
|
|
33688
33701
|
|
|
33689
33702
|
/** FamilyMemberSynced groupType */
|
|
33690
|
-
groupType?: (GroupType|null);
|
|
33703
|
+
groupType?: (GroupType[]|null);
|
|
33691
33704
|
}
|
|
33692
33705
|
|
|
33693
33706
|
/** Event published for each group member when a change (created, amended) to the owner's subscription observed */
|
|
@@ -33730,7 +33743,7 @@ export class FamilyMemberSynced implements IFamilyMemberSynced {
|
|
|
33730
33743
|
public dependentId: number;
|
|
33731
33744
|
|
|
33732
33745
|
/** FamilyMemberSynced groupType. */
|
|
33733
|
-
public groupType: GroupType;
|
|
33746
|
+
public groupType: GroupType[];
|
|
33734
33747
|
|
|
33735
33748
|
/**
|
|
33736
33749
|
* Creates a new FamilyMemberSynced instance using the specified properties.
|
|
@@ -33969,7 +33982,7 @@ export interface IFamilyMemberRemoved {
|
|
|
33969
33982
|
groupOwnerHsUserId?: (string|null);
|
|
33970
33983
|
|
|
33971
33984
|
/** FamilyMemberRemoved groupType */
|
|
33972
|
-
groupType?: (GroupType|null);
|
|
33985
|
+
groupType?: (GroupType[]|null);
|
|
33973
33986
|
}
|
|
33974
33987
|
|
|
33975
33988
|
/** Represents a FamilyMemberRemoved. */
|
|
@@ -34012,7 +34025,7 @@ export class FamilyMemberRemoved implements IFamilyMemberRemoved {
|
|
|
34012
34025
|
public groupOwnerHsUserId: string;
|
|
34013
34026
|
|
|
34014
34027
|
/** FamilyMemberRemoved groupType. */
|
|
34015
|
-
public groupType: GroupType;
|
|
34028
|
+
public groupType: GroupType[];
|
|
34016
34029
|
|
|
34017
34030
|
/**
|
|
34018
34031
|
* Creates a new FamilyMemberRemoved instance using the specified properties.
|
|
@@ -35284,6 +35297,9 @@ export interface IElfRecordPresent {
|
|
|
35284
35297
|
/** ElfRecordPresent dob */
|
|
35285
35298
|
dob?: (string|null);
|
|
35286
35299
|
|
|
35300
|
+
/** ElfRecordPresent countryStateCode */
|
|
35301
|
+
countryStateCode?: (string|null);
|
|
35302
|
+
|
|
35287
35303
|
/** ElfRecordPresent streetAddress_1 */
|
|
35288
35304
|
streetAddress_1?: (string|null);
|
|
35289
35305
|
|
|
@@ -35378,6 +35394,9 @@ export class ElfRecordPresent implements IElfRecordPresent {
|
|
|
35378
35394
|
/** ElfRecordPresent dob. */
|
|
35379
35395
|
public dob: string;
|
|
35380
35396
|
|
|
35397
|
+
/** ElfRecordPresent countryStateCode. */
|
|
35398
|
+
public countryStateCode: string;
|
|
35399
|
+
|
|
35381
35400
|
/** ElfRecordPresent streetAddress_1. */
|
|
35382
35401
|
public streetAddress_1: string;
|
|
35383
35402
|
|
package/lib/index.js
CHANGED
|
@@ -83161,6 +83161,7 @@ $root.EligibilityLinked = (function() {
|
|
|
83161
83161
|
* @property {number|Long|null} [headspaceUserEnrollmentTimestamp] EligibilityLinked headspaceUserEnrollmentTimestamp
|
|
83162
83162
|
* @property {string|null} [preferredDob] EligibilityLinked preferredDob
|
|
83163
83163
|
* @property {string|null} [preferredCountry] EligibilityLinked preferredCountry
|
|
83164
|
+
* @property {string|null} [countryStateCode] EligibilityLinked countryStateCode
|
|
83164
83165
|
*/
|
|
83165
83166
|
|
|
83166
83167
|
/**
|
|
@@ -83275,6 +83276,14 @@ $root.EligibilityLinked = (function() {
|
|
|
83275
83276
|
*/
|
|
83276
83277
|
EligibilityLinked.prototype.preferredCountry = "";
|
|
83277
83278
|
|
|
83279
|
+
/**
|
|
83280
|
+
* EligibilityLinked countryStateCode.
|
|
83281
|
+
* @member {string} countryStateCode
|
|
83282
|
+
* @memberof EligibilityLinked
|
|
83283
|
+
* @instance
|
|
83284
|
+
*/
|
|
83285
|
+
EligibilityLinked.prototype.countryStateCode = "";
|
|
83286
|
+
|
|
83278
83287
|
/**
|
|
83279
83288
|
* Creates a new EligibilityLinked instance using the specified properties.
|
|
83280
83289
|
* @function create
|
|
@@ -83324,6 +83333,8 @@ $root.EligibilityLinked = (function() {
|
|
|
83324
83333
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.preferredDob);
|
|
83325
83334
|
if (message.preferredCountry != null && message.hasOwnProperty("preferredCountry"))
|
|
83326
83335
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.preferredCountry);
|
|
83336
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
83337
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.countryStateCode);
|
|
83327
83338
|
return writer;
|
|
83328
83339
|
};
|
|
83329
83340
|
|
|
@@ -83396,6 +83407,9 @@ $root.EligibilityLinked = (function() {
|
|
|
83396
83407
|
case 12:
|
|
83397
83408
|
message.preferredCountry = reader.string();
|
|
83398
83409
|
break;
|
|
83410
|
+
case 13:
|
|
83411
|
+
message.countryStateCode = reader.string();
|
|
83412
|
+
break;
|
|
83399
83413
|
default:
|
|
83400
83414
|
reader.skipType(tag & 7);
|
|
83401
83415
|
break;
|
|
@@ -83476,6 +83490,9 @@ $root.EligibilityLinked = (function() {
|
|
|
83476
83490
|
if (message.preferredCountry != null && message.hasOwnProperty("preferredCountry"))
|
|
83477
83491
|
if (!$util.isString(message.preferredCountry))
|
|
83478
83492
|
return "preferredCountry: string expected";
|
|
83493
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
83494
|
+
if (!$util.isString(message.countryStateCode))
|
|
83495
|
+
return "countryStateCode: string expected";
|
|
83479
83496
|
return null;
|
|
83480
83497
|
};
|
|
83481
83498
|
|
|
@@ -83542,6 +83559,8 @@ $root.EligibilityLinked = (function() {
|
|
|
83542
83559
|
message.preferredDob = String(object.preferredDob);
|
|
83543
83560
|
if (object.preferredCountry != null)
|
|
83544
83561
|
message.preferredCountry = String(object.preferredCountry);
|
|
83562
|
+
if (object.countryStateCode != null)
|
|
83563
|
+
message.countryStateCode = String(object.countryStateCode);
|
|
83545
83564
|
return message;
|
|
83546
83565
|
};
|
|
83547
83566
|
|
|
@@ -83580,6 +83599,7 @@ $root.EligibilityLinked = (function() {
|
|
|
83580
83599
|
object.headspaceUserEnrollmentTimestamp = options.longs === String ? "0" : 0;
|
|
83581
83600
|
object.preferredDob = "";
|
|
83582
83601
|
object.preferredCountry = "";
|
|
83602
|
+
object.countryStateCode = "";
|
|
83583
83603
|
}
|
|
83584
83604
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
83585
83605
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -83614,6 +83634,8 @@ $root.EligibilityLinked = (function() {
|
|
|
83614
83634
|
object.preferredDob = message.preferredDob;
|
|
83615
83635
|
if (message.preferredCountry != null && message.hasOwnProperty("preferredCountry"))
|
|
83616
83636
|
object.preferredCountry = message.preferredCountry;
|
|
83637
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
83638
|
+
object.countryStateCode = message.countryStateCode;
|
|
83617
83639
|
return object;
|
|
83618
83640
|
};
|
|
83619
83641
|
|
|
@@ -83979,6 +84001,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83979
84001
|
* @property {string|null} [b2bCountry] EligibleUserAdded b2bCountry
|
|
83980
84002
|
* @property {string|null} [b2bDepartment] EligibleUserAdded b2bDepartment
|
|
83981
84003
|
* @property {string|null} [b2bLocation] EligibleUserAdded b2bLocation
|
|
84004
|
+
* @property {string|null} [countryStateCode] EligibleUserAdded countryStateCode
|
|
83982
84005
|
*/
|
|
83983
84006
|
|
|
83984
84007
|
/**
|
|
@@ -84132,6 +84155,14 @@ $root.EligibleUserAdded = (function() {
|
|
|
84132
84155
|
*/
|
|
84133
84156
|
EligibleUserAdded.prototype.b2bLocation = "";
|
|
84134
84157
|
|
|
84158
|
+
/**
|
|
84159
|
+
* EligibleUserAdded countryStateCode.
|
|
84160
|
+
* @member {string} countryStateCode
|
|
84161
|
+
* @memberof EligibleUserAdded
|
|
84162
|
+
* @instance
|
|
84163
|
+
*/
|
|
84164
|
+
EligibleUserAdded.prototype.countryStateCode = "";
|
|
84165
|
+
|
|
84135
84166
|
/**
|
|
84136
84167
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
84137
84168
|
* @function create
|
|
@@ -84190,6 +84221,8 @@ $root.EligibleUserAdded = (function() {
|
|
|
84190
84221
|
writer.uint32(/* id 16, wireType 2 =*/130).string(message.b2bDepartment);
|
|
84191
84222
|
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
84192
84223
|
writer.uint32(/* id 17, wireType 2 =*/138).string(message.b2bLocation);
|
|
84224
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
84225
|
+
writer.uint32(/* id 18, wireType 2 =*/146).string(message.countryStateCode);
|
|
84193
84226
|
return writer;
|
|
84194
84227
|
};
|
|
84195
84228
|
|
|
@@ -84275,6 +84308,9 @@ $root.EligibleUserAdded = (function() {
|
|
|
84275
84308
|
case 17:
|
|
84276
84309
|
message.b2bLocation = reader.string();
|
|
84277
84310
|
break;
|
|
84311
|
+
case 18:
|
|
84312
|
+
message.countryStateCode = reader.string();
|
|
84313
|
+
break;
|
|
84278
84314
|
default:
|
|
84279
84315
|
reader.skipType(tag & 7);
|
|
84280
84316
|
break;
|
|
@@ -84385,6 +84421,9 @@ $root.EligibleUserAdded = (function() {
|
|
|
84385
84421
|
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
84386
84422
|
if (!$util.isString(message.b2bLocation))
|
|
84387
84423
|
return "b2bLocation: string expected";
|
|
84424
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
84425
|
+
if (!$util.isString(message.countryStateCode))
|
|
84426
|
+
return "countryStateCode: string expected";
|
|
84388
84427
|
return null;
|
|
84389
84428
|
};
|
|
84390
84429
|
|
|
@@ -84508,6 +84547,8 @@ $root.EligibleUserAdded = (function() {
|
|
|
84508
84547
|
message.b2bDepartment = String(object.b2bDepartment);
|
|
84509
84548
|
if (object.b2bLocation != null)
|
|
84510
84549
|
message.b2bLocation = String(object.b2bLocation);
|
|
84550
|
+
if (object.countryStateCode != null)
|
|
84551
|
+
message.countryStateCode = String(object.countryStateCode);
|
|
84511
84552
|
return message;
|
|
84512
84553
|
};
|
|
84513
84554
|
|
|
@@ -84550,6 +84591,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
84550
84591
|
object.b2bCountry = "";
|
|
84551
84592
|
object.b2bDepartment = "";
|
|
84552
84593
|
object.b2bLocation = "";
|
|
84594
|
+
object.countryStateCode = "";
|
|
84553
84595
|
}
|
|
84554
84596
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
84555
84597
|
object.workEmail = message.workEmail;
|
|
@@ -84591,6 +84633,8 @@ $root.EligibleUserAdded = (function() {
|
|
|
84591
84633
|
object.b2bDepartment = message.b2bDepartment;
|
|
84592
84634
|
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
84593
84635
|
object.b2bLocation = message.b2bLocation;
|
|
84636
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
84637
|
+
object.countryStateCode = message.countryStateCode;
|
|
84594
84638
|
return object;
|
|
84595
84639
|
};
|
|
84596
84640
|
|
|
@@ -92721,6 +92765,7 @@ $root.OrganizationSubscriptionDeleted = (function() {
|
|
|
92721
92765
|
* @property {number} GROUP_TYPE_D2C=1 GROUP_TYPE_D2C value
|
|
92722
92766
|
* @property {number} GROUP_TYPE_PFP=2 GROUP_TYPE_PFP value
|
|
92723
92767
|
* @property {number} GROUP_TYPE_FUSION=3 GROUP_TYPE_FUSION value
|
|
92768
|
+
* @property {number} GROUP_TYPE_EAP=4 GROUP_TYPE_EAP value
|
|
92724
92769
|
*/
|
|
92725
92770
|
$root.GroupType = (function() {
|
|
92726
92771
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -92728,6 +92773,7 @@ $root.GroupType = (function() {
|
|
|
92728
92773
|
values[valuesById[1] = "GROUP_TYPE_D2C"] = 1;
|
|
92729
92774
|
values[valuesById[2] = "GROUP_TYPE_PFP"] = 2;
|
|
92730
92775
|
values[valuesById[3] = "GROUP_TYPE_FUSION"] = 3;
|
|
92776
|
+
values[valuesById[4] = "GROUP_TYPE_EAP"] = 4;
|
|
92731
92777
|
return values;
|
|
92732
92778
|
})();
|
|
92733
92779
|
|
|
@@ -92749,7 +92795,7 @@ $root.FamilyMemberAdded = (function() {
|
|
|
92749
92795
|
* @property {number|null} [dependentGroupId] FamilyMemberAdded dependentGroupId
|
|
92750
92796
|
* @property {number|null} [dependentId] FamilyMemberAdded dependentId
|
|
92751
92797
|
* @property {string|null} [groupOwnerHsUserId] FamilyMemberAdded groupOwnerHsUserId
|
|
92752
|
-
* @property {GroupType
|
|
92798
|
+
* @property {Array.<GroupType>|null} [groupType] FamilyMemberAdded groupType
|
|
92753
92799
|
* @property {string|null} [dateOfBirth] FamilyMemberAdded dateOfBirth
|
|
92754
92800
|
* @property {string|null} [country] FamilyMemberAdded country
|
|
92755
92801
|
*/
|
|
@@ -92763,6 +92809,7 @@ $root.FamilyMemberAdded = (function() {
|
|
|
92763
92809
|
* @param {IFamilyMemberAdded=} [properties] Properties to set
|
|
92764
92810
|
*/
|
|
92765
92811
|
function FamilyMemberAdded(properties) {
|
|
92812
|
+
this.groupType = [];
|
|
92766
92813
|
if (properties)
|
|
92767
92814
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
92768
92815
|
if (properties[keys[i]] != null)
|
|
@@ -92867,11 +92914,11 @@ $root.FamilyMemberAdded = (function() {
|
|
|
92867
92914
|
|
|
92868
92915
|
/**
|
|
92869
92916
|
* FamilyMemberAdded groupType.
|
|
92870
|
-
* @member {GroupType} groupType
|
|
92917
|
+
* @member {Array.<GroupType>} groupType
|
|
92871
92918
|
* @memberof FamilyMemberAdded
|
|
92872
92919
|
* @instance
|
|
92873
92920
|
*/
|
|
92874
|
-
FamilyMemberAdded.prototype.groupType =
|
|
92921
|
+
FamilyMemberAdded.prototype.groupType = $util.emptyArray;
|
|
92875
92922
|
|
|
92876
92923
|
/**
|
|
92877
92924
|
* FamilyMemberAdded dateOfBirth.
|
|
@@ -92937,8 +92984,12 @@ $root.FamilyMemberAdded = (function() {
|
|
|
92937
92984
|
writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.dependentId);
|
|
92938
92985
|
if (message.groupOwnerHsUserId != null && message.hasOwnProperty("groupOwnerHsUserId"))
|
|
92939
92986
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.groupOwnerHsUserId);
|
|
92940
|
-
if (message.groupType != null && message.
|
|
92941
|
-
writer.uint32(/* id 13, wireType
|
|
92987
|
+
if (message.groupType != null && message.groupType.length) {
|
|
92988
|
+
writer.uint32(/* id 13, wireType 2 =*/106).fork();
|
|
92989
|
+
for (var i = 0; i < message.groupType.length; ++i)
|
|
92990
|
+
writer.int32(message.groupType[i]);
|
|
92991
|
+
writer.ldelim();
|
|
92992
|
+
}
|
|
92942
92993
|
if (message.dateOfBirth != null && message.hasOwnProperty("dateOfBirth"))
|
|
92943
92994
|
writer.uint32(/* id 14, wireType 2 =*/114).string(message.dateOfBirth);
|
|
92944
92995
|
if (message.country != null && message.hasOwnProperty("country"))
|
|
@@ -93014,7 +93065,14 @@ $root.FamilyMemberAdded = (function() {
|
|
|
93014
93065
|
message.groupOwnerHsUserId = reader.string();
|
|
93015
93066
|
break;
|
|
93016
93067
|
case 13:
|
|
93017
|
-
message.groupType
|
|
93068
|
+
if (!(message.groupType && message.groupType.length))
|
|
93069
|
+
message.groupType = [];
|
|
93070
|
+
if ((tag & 7) === 2) {
|
|
93071
|
+
var end2 = reader.uint32() + reader.pos;
|
|
93072
|
+
while (reader.pos < end2)
|
|
93073
|
+
message.groupType.push(reader.int32());
|
|
93074
|
+
} else
|
|
93075
|
+
message.groupType.push(reader.int32());
|
|
93018
93076
|
break;
|
|
93019
93077
|
case 14:
|
|
93020
93078
|
message.dateOfBirth = reader.string();
|
|
@@ -93099,16 +93157,21 @@ $root.FamilyMemberAdded = (function() {
|
|
|
93099
93157
|
if (message.groupOwnerHsUserId != null && message.hasOwnProperty("groupOwnerHsUserId"))
|
|
93100
93158
|
if (!$util.isString(message.groupOwnerHsUserId))
|
|
93101
93159
|
return "groupOwnerHsUserId: string expected";
|
|
93102
|
-
if (message.groupType != null && message.hasOwnProperty("groupType"))
|
|
93103
|
-
|
|
93104
|
-
|
|
93105
|
-
|
|
93106
|
-
|
|
93107
|
-
|
|
93108
|
-
|
|
93109
|
-
|
|
93110
|
-
|
|
93111
|
-
|
|
93160
|
+
if (message.groupType != null && message.hasOwnProperty("groupType")) {
|
|
93161
|
+
if (!Array.isArray(message.groupType))
|
|
93162
|
+
return "groupType: array expected";
|
|
93163
|
+
for (var i = 0; i < message.groupType.length; ++i)
|
|
93164
|
+
switch (message.groupType[i]) {
|
|
93165
|
+
default:
|
|
93166
|
+
return "groupType: enum value[] expected";
|
|
93167
|
+
case 0:
|
|
93168
|
+
case 1:
|
|
93169
|
+
case 2:
|
|
93170
|
+
case 3:
|
|
93171
|
+
case 4:
|
|
93172
|
+
break;
|
|
93173
|
+
}
|
|
93174
|
+
}
|
|
93112
93175
|
if (message.dateOfBirth != null && message.hasOwnProperty("dateOfBirth"))
|
|
93113
93176
|
if (!$util.isString(message.dateOfBirth))
|
|
93114
93177
|
return "dateOfBirth: string expected";
|
|
@@ -93173,23 +93236,34 @@ $root.FamilyMemberAdded = (function() {
|
|
|
93173
93236
|
message.dependentId = object.dependentId >>> 0;
|
|
93174
93237
|
if (object.groupOwnerHsUserId != null)
|
|
93175
93238
|
message.groupOwnerHsUserId = String(object.groupOwnerHsUserId);
|
|
93176
|
-
|
|
93177
|
-
|
|
93178
|
-
|
|
93179
|
-
message.groupType =
|
|
93180
|
-
|
|
93181
|
-
|
|
93182
|
-
|
|
93183
|
-
|
|
93184
|
-
|
|
93185
|
-
|
|
93186
|
-
|
|
93187
|
-
|
|
93188
|
-
|
|
93189
|
-
|
|
93190
|
-
|
|
93191
|
-
|
|
93192
|
-
|
|
93239
|
+
if (object.groupType) {
|
|
93240
|
+
if (!Array.isArray(object.groupType))
|
|
93241
|
+
throw TypeError(".FamilyMemberAdded.groupType: array expected");
|
|
93242
|
+
message.groupType = [];
|
|
93243
|
+
for (var i = 0; i < object.groupType.length; ++i)
|
|
93244
|
+
switch (object.groupType[i]) {
|
|
93245
|
+
default:
|
|
93246
|
+
case "GROUP_TYPE_UNKNOWN":
|
|
93247
|
+
case 0:
|
|
93248
|
+
message.groupType[i] = 0;
|
|
93249
|
+
break;
|
|
93250
|
+
case "GROUP_TYPE_D2C":
|
|
93251
|
+
case 1:
|
|
93252
|
+
message.groupType[i] = 1;
|
|
93253
|
+
break;
|
|
93254
|
+
case "GROUP_TYPE_PFP":
|
|
93255
|
+
case 2:
|
|
93256
|
+
message.groupType[i] = 2;
|
|
93257
|
+
break;
|
|
93258
|
+
case "GROUP_TYPE_FUSION":
|
|
93259
|
+
case 3:
|
|
93260
|
+
message.groupType[i] = 3;
|
|
93261
|
+
break;
|
|
93262
|
+
case "GROUP_TYPE_EAP":
|
|
93263
|
+
case 4:
|
|
93264
|
+
message.groupType[i] = 4;
|
|
93265
|
+
break;
|
|
93266
|
+
}
|
|
93193
93267
|
}
|
|
93194
93268
|
if (object.dateOfBirth != null)
|
|
93195
93269
|
message.dateOfBirth = String(object.dateOfBirth);
|
|
@@ -93211,6 +93285,8 @@ $root.FamilyMemberAdded = (function() {
|
|
|
93211
93285
|
if (!options)
|
|
93212
93286
|
options = {};
|
|
93213
93287
|
var object = {};
|
|
93288
|
+
if (options.arrays || options.defaults)
|
|
93289
|
+
object.groupType = [];
|
|
93214
93290
|
if (options.defaults) {
|
|
93215
93291
|
if ($util.Long) {
|
|
93216
93292
|
var long = new $util.Long(0, 0, true);
|
|
@@ -93228,7 +93304,6 @@ $root.FamilyMemberAdded = (function() {
|
|
|
93228
93304
|
object.dependentGroupId = 0;
|
|
93229
93305
|
object.dependentId = 0;
|
|
93230
93306
|
object.groupOwnerHsUserId = "";
|
|
93231
|
-
object.groupType = options.enums === String ? "GROUP_TYPE_UNKNOWN" : 0;
|
|
93232
93307
|
object.dateOfBirth = "";
|
|
93233
93308
|
object.country = "";
|
|
93234
93309
|
}
|
|
@@ -93259,8 +93334,11 @@ $root.FamilyMemberAdded = (function() {
|
|
|
93259
93334
|
object.dependentId = message.dependentId;
|
|
93260
93335
|
if (message.groupOwnerHsUserId != null && message.hasOwnProperty("groupOwnerHsUserId"))
|
|
93261
93336
|
object.groupOwnerHsUserId = message.groupOwnerHsUserId;
|
|
93262
|
-
if (message.groupType
|
|
93263
|
-
object.groupType =
|
|
93337
|
+
if (message.groupType && message.groupType.length) {
|
|
93338
|
+
object.groupType = [];
|
|
93339
|
+
for (var j = 0; j < message.groupType.length; ++j)
|
|
93340
|
+
object.groupType[j] = options.enums === String ? $root.GroupType[message.groupType[j]] : message.groupType[j];
|
|
93341
|
+
}
|
|
93264
93342
|
if (message.dateOfBirth != null && message.hasOwnProperty("dateOfBirth"))
|
|
93265
93343
|
object.dateOfBirth = message.dateOfBirth;
|
|
93266
93344
|
if (message.country != null && message.hasOwnProperty("country"))
|
|
@@ -93300,7 +93378,7 @@ $root.FamilyMemberInvited = (function() {
|
|
|
93300
93378
|
* @property {number|null} [dependentGroupId] FamilyMemberInvited dependentGroupId
|
|
93301
93379
|
* @property {string|null} [groupOwnerHsUserId] FamilyMemberInvited groupOwnerHsUserId
|
|
93302
93380
|
* @property {number|null} [inviteId] FamilyMemberInvited inviteId
|
|
93303
|
-
* @property {GroupType
|
|
93381
|
+
* @property {Array.<GroupType>|null} [groupType] FamilyMemberInvited groupType
|
|
93304
93382
|
*/
|
|
93305
93383
|
|
|
93306
93384
|
/**
|
|
@@ -93312,6 +93390,7 @@ $root.FamilyMemberInvited = (function() {
|
|
|
93312
93390
|
* @param {IFamilyMemberInvited=} [properties] Properties to set
|
|
93313
93391
|
*/
|
|
93314
93392
|
function FamilyMemberInvited(properties) {
|
|
93393
|
+
this.groupType = [];
|
|
93315
93394
|
if (properties)
|
|
93316
93395
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
93317
93396
|
if (properties[keys[i]] != null)
|
|
@@ -93416,11 +93495,11 @@ $root.FamilyMemberInvited = (function() {
|
|
|
93416
93495
|
|
|
93417
93496
|
/**
|
|
93418
93497
|
* FamilyMemberInvited groupType.
|
|
93419
|
-
* @member {GroupType} groupType
|
|
93498
|
+
* @member {Array.<GroupType>} groupType
|
|
93420
93499
|
* @memberof FamilyMemberInvited
|
|
93421
93500
|
* @instance
|
|
93422
93501
|
*/
|
|
93423
|
-
FamilyMemberInvited.prototype.groupType =
|
|
93502
|
+
FamilyMemberInvited.prototype.groupType = $util.emptyArray;
|
|
93424
93503
|
|
|
93425
93504
|
/**
|
|
93426
93505
|
* Creates a new FamilyMemberInvited instance using the specified properties.
|
|
@@ -93470,8 +93549,12 @@ $root.FamilyMemberInvited = (function() {
|
|
|
93470
93549
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.groupOwnerHsUserId);
|
|
93471
93550
|
if (message.inviteId != null && message.hasOwnProperty("inviteId"))
|
|
93472
93551
|
writer.uint32(/* id 12, wireType 0 =*/96).uint32(message.inviteId);
|
|
93473
|
-
if (message.groupType != null && message.
|
|
93474
|
-
writer.uint32(/* id 13, wireType
|
|
93552
|
+
if (message.groupType != null && message.groupType.length) {
|
|
93553
|
+
writer.uint32(/* id 13, wireType 2 =*/106).fork();
|
|
93554
|
+
for (var i = 0; i < message.groupType.length; ++i)
|
|
93555
|
+
writer.int32(message.groupType[i]);
|
|
93556
|
+
writer.ldelim();
|
|
93557
|
+
}
|
|
93475
93558
|
return writer;
|
|
93476
93559
|
};
|
|
93477
93560
|
|
|
@@ -93543,7 +93626,14 @@ $root.FamilyMemberInvited = (function() {
|
|
|
93543
93626
|
message.inviteId = reader.uint32();
|
|
93544
93627
|
break;
|
|
93545
93628
|
case 13:
|
|
93546
|
-
message.groupType
|
|
93629
|
+
if (!(message.groupType && message.groupType.length))
|
|
93630
|
+
message.groupType = [];
|
|
93631
|
+
if ((tag & 7) === 2) {
|
|
93632
|
+
var end2 = reader.uint32() + reader.pos;
|
|
93633
|
+
while (reader.pos < end2)
|
|
93634
|
+
message.groupType.push(reader.int32());
|
|
93635
|
+
} else
|
|
93636
|
+
message.groupType.push(reader.int32());
|
|
93547
93637
|
break;
|
|
93548
93638
|
default:
|
|
93549
93639
|
reader.skipType(tag & 7);
|
|
@@ -93622,16 +93712,21 @@ $root.FamilyMemberInvited = (function() {
|
|
|
93622
93712
|
if (message.inviteId != null && message.hasOwnProperty("inviteId"))
|
|
93623
93713
|
if (!$util.isInteger(message.inviteId))
|
|
93624
93714
|
return "inviteId: integer expected";
|
|
93625
|
-
if (message.groupType != null && message.hasOwnProperty("groupType"))
|
|
93626
|
-
|
|
93627
|
-
|
|
93628
|
-
|
|
93629
|
-
|
|
93630
|
-
|
|
93631
|
-
|
|
93632
|
-
|
|
93633
|
-
|
|
93634
|
-
|
|
93715
|
+
if (message.groupType != null && message.hasOwnProperty("groupType")) {
|
|
93716
|
+
if (!Array.isArray(message.groupType))
|
|
93717
|
+
return "groupType: array expected";
|
|
93718
|
+
for (var i = 0; i < message.groupType.length; ++i)
|
|
93719
|
+
switch (message.groupType[i]) {
|
|
93720
|
+
default:
|
|
93721
|
+
return "groupType: enum value[] expected";
|
|
93722
|
+
case 0:
|
|
93723
|
+
case 1:
|
|
93724
|
+
case 2:
|
|
93725
|
+
case 3:
|
|
93726
|
+
case 4:
|
|
93727
|
+
break;
|
|
93728
|
+
}
|
|
93729
|
+
}
|
|
93635
93730
|
return null;
|
|
93636
93731
|
};
|
|
93637
93732
|
|
|
@@ -93690,23 +93785,34 @@ $root.FamilyMemberInvited = (function() {
|
|
|
93690
93785
|
message.groupOwnerHsUserId = String(object.groupOwnerHsUserId);
|
|
93691
93786
|
if (object.inviteId != null)
|
|
93692
93787
|
message.inviteId = object.inviteId >>> 0;
|
|
93693
|
-
|
|
93694
|
-
|
|
93695
|
-
|
|
93696
|
-
message.groupType =
|
|
93697
|
-
|
|
93698
|
-
|
|
93699
|
-
|
|
93700
|
-
|
|
93701
|
-
|
|
93702
|
-
|
|
93703
|
-
|
|
93704
|
-
|
|
93705
|
-
|
|
93706
|
-
|
|
93707
|
-
|
|
93708
|
-
|
|
93709
|
-
|
|
93788
|
+
if (object.groupType) {
|
|
93789
|
+
if (!Array.isArray(object.groupType))
|
|
93790
|
+
throw TypeError(".FamilyMemberInvited.groupType: array expected");
|
|
93791
|
+
message.groupType = [];
|
|
93792
|
+
for (var i = 0; i < object.groupType.length; ++i)
|
|
93793
|
+
switch (object.groupType[i]) {
|
|
93794
|
+
default:
|
|
93795
|
+
case "GROUP_TYPE_UNKNOWN":
|
|
93796
|
+
case 0:
|
|
93797
|
+
message.groupType[i] = 0;
|
|
93798
|
+
break;
|
|
93799
|
+
case "GROUP_TYPE_D2C":
|
|
93800
|
+
case 1:
|
|
93801
|
+
message.groupType[i] = 1;
|
|
93802
|
+
break;
|
|
93803
|
+
case "GROUP_TYPE_PFP":
|
|
93804
|
+
case 2:
|
|
93805
|
+
message.groupType[i] = 2;
|
|
93806
|
+
break;
|
|
93807
|
+
case "GROUP_TYPE_FUSION":
|
|
93808
|
+
case 3:
|
|
93809
|
+
message.groupType[i] = 3;
|
|
93810
|
+
break;
|
|
93811
|
+
case "GROUP_TYPE_EAP":
|
|
93812
|
+
case 4:
|
|
93813
|
+
message.groupType[i] = 4;
|
|
93814
|
+
break;
|
|
93815
|
+
}
|
|
93710
93816
|
}
|
|
93711
93817
|
return message;
|
|
93712
93818
|
};
|
|
@@ -93724,6 +93830,8 @@ $root.FamilyMemberInvited = (function() {
|
|
|
93724
93830
|
if (!options)
|
|
93725
93831
|
options = {};
|
|
93726
93832
|
var object = {};
|
|
93833
|
+
if (options.arrays || options.defaults)
|
|
93834
|
+
object.groupType = [];
|
|
93727
93835
|
if (options.defaults) {
|
|
93728
93836
|
if ($util.Long) {
|
|
93729
93837
|
var long = new $util.Long(0, 0, true);
|
|
@@ -93741,7 +93849,6 @@ $root.FamilyMemberInvited = (function() {
|
|
|
93741
93849
|
object.dependentGroupId = 0;
|
|
93742
93850
|
object.groupOwnerHsUserId = "";
|
|
93743
93851
|
object.inviteId = 0;
|
|
93744
|
-
object.groupType = options.enums === String ? "GROUP_TYPE_UNKNOWN" : 0;
|
|
93745
93852
|
}
|
|
93746
93853
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
93747
93854
|
if (typeof message.timestamp === "number")
|
|
@@ -93770,8 +93877,11 @@ $root.FamilyMemberInvited = (function() {
|
|
|
93770
93877
|
object.groupOwnerHsUserId = message.groupOwnerHsUserId;
|
|
93771
93878
|
if (message.inviteId != null && message.hasOwnProperty("inviteId"))
|
|
93772
93879
|
object.inviteId = message.inviteId;
|
|
93773
|
-
if (message.groupType
|
|
93774
|
-
object.groupType =
|
|
93880
|
+
if (message.groupType && message.groupType.length) {
|
|
93881
|
+
object.groupType = [];
|
|
93882
|
+
for (var j = 0; j < message.groupType.length; ++j)
|
|
93883
|
+
object.groupType[j] = options.enums === String ? $root.GroupType[message.groupType[j]] : message.groupType[j];
|
|
93884
|
+
}
|
|
93775
93885
|
return object;
|
|
93776
93886
|
};
|
|
93777
93887
|
|
|
@@ -93805,7 +93915,7 @@ $root.FamilyMemberSynced = (function() {
|
|
|
93805
93915
|
* @property {number|null} [b2bOrgSubscriptionId] FamilyMemberSynced b2bOrgSubscriptionId
|
|
93806
93916
|
* @property {number|null} [dependentGroupId] FamilyMemberSynced dependentGroupId
|
|
93807
93917
|
* @property {number|null} [dependentId] FamilyMemberSynced dependentId
|
|
93808
|
-
* @property {GroupType
|
|
93918
|
+
* @property {Array.<GroupType>|null} [groupType] FamilyMemberSynced groupType
|
|
93809
93919
|
*/
|
|
93810
93920
|
|
|
93811
93921
|
/**
|
|
@@ -93817,6 +93927,7 @@ $root.FamilyMemberSynced = (function() {
|
|
|
93817
93927
|
* @param {IFamilyMemberSynced=} [properties] Properties to set
|
|
93818
93928
|
*/
|
|
93819
93929
|
function FamilyMemberSynced(properties) {
|
|
93930
|
+
this.groupType = [];
|
|
93820
93931
|
if (properties)
|
|
93821
93932
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
93822
93933
|
if (properties[keys[i]] != null)
|
|
@@ -93905,11 +94016,11 @@ $root.FamilyMemberSynced = (function() {
|
|
|
93905
94016
|
|
|
93906
94017
|
/**
|
|
93907
94018
|
* FamilyMemberSynced groupType.
|
|
93908
|
-
* @member {GroupType} groupType
|
|
94019
|
+
* @member {Array.<GroupType>} groupType
|
|
93909
94020
|
* @memberof FamilyMemberSynced
|
|
93910
94021
|
* @instance
|
|
93911
94022
|
*/
|
|
93912
|
-
FamilyMemberSynced.prototype.groupType =
|
|
94023
|
+
FamilyMemberSynced.prototype.groupType = $util.emptyArray;
|
|
93913
94024
|
|
|
93914
94025
|
/**
|
|
93915
94026
|
* Creates a new FamilyMemberSynced instance using the specified properties.
|
|
@@ -93955,8 +94066,12 @@ $root.FamilyMemberSynced = (function() {
|
|
|
93955
94066
|
writer.uint32(/* id 9, wireType 0 =*/72).uint32(message.dependentGroupId);
|
|
93956
94067
|
if (message.dependentId != null && message.hasOwnProperty("dependentId"))
|
|
93957
94068
|
writer.uint32(/* id 10, wireType 0 =*/80).uint32(message.dependentId);
|
|
93958
|
-
if (message.groupType != null && message.
|
|
93959
|
-
writer.uint32(/* id 11, wireType
|
|
94069
|
+
if (message.groupType != null && message.groupType.length) {
|
|
94070
|
+
writer.uint32(/* id 11, wireType 2 =*/90).fork();
|
|
94071
|
+
for (var i = 0; i < message.groupType.length; ++i)
|
|
94072
|
+
writer.int32(message.groupType[i]);
|
|
94073
|
+
writer.ldelim();
|
|
94074
|
+
}
|
|
93960
94075
|
return writer;
|
|
93961
94076
|
};
|
|
93962
94077
|
|
|
@@ -94022,7 +94137,14 @@ $root.FamilyMemberSynced = (function() {
|
|
|
94022
94137
|
message.dependentId = reader.uint32();
|
|
94023
94138
|
break;
|
|
94024
94139
|
case 11:
|
|
94025
|
-
message.groupType
|
|
94140
|
+
if (!(message.groupType && message.groupType.length))
|
|
94141
|
+
message.groupType = [];
|
|
94142
|
+
if ((tag & 7) === 2) {
|
|
94143
|
+
var end2 = reader.uint32() + reader.pos;
|
|
94144
|
+
while (reader.pos < end2)
|
|
94145
|
+
message.groupType.push(reader.int32());
|
|
94146
|
+
} else
|
|
94147
|
+
message.groupType.push(reader.int32());
|
|
94026
94148
|
break;
|
|
94027
94149
|
default:
|
|
94028
94150
|
reader.skipType(tag & 7);
|
|
@@ -94095,16 +94217,21 @@ $root.FamilyMemberSynced = (function() {
|
|
|
94095
94217
|
if (message.dependentId != null && message.hasOwnProperty("dependentId"))
|
|
94096
94218
|
if (!$util.isInteger(message.dependentId))
|
|
94097
94219
|
return "dependentId: integer expected";
|
|
94098
|
-
if (message.groupType != null && message.hasOwnProperty("groupType"))
|
|
94099
|
-
|
|
94100
|
-
|
|
94101
|
-
|
|
94102
|
-
|
|
94103
|
-
|
|
94104
|
-
|
|
94105
|
-
|
|
94106
|
-
|
|
94107
|
-
|
|
94220
|
+
if (message.groupType != null && message.hasOwnProperty("groupType")) {
|
|
94221
|
+
if (!Array.isArray(message.groupType))
|
|
94222
|
+
return "groupType: array expected";
|
|
94223
|
+
for (var i = 0; i < message.groupType.length; ++i)
|
|
94224
|
+
switch (message.groupType[i]) {
|
|
94225
|
+
default:
|
|
94226
|
+
return "groupType: enum value[] expected";
|
|
94227
|
+
case 0:
|
|
94228
|
+
case 1:
|
|
94229
|
+
case 2:
|
|
94230
|
+
case 3:
|
|
94231
|
+
case 4:
|
|
94232
|
+
break;
|
|
94233
|
+
}
|
|
94234
|
+
}
|
|
94108
94235
|
return null;
|
|
94109
94236
|
};
|
|
94110
94237
|
|
|
@@ -94159,23 +94286,34 @@ $root.FamilyMemberSynced = (function() {
|
|
|
94159
94286
|
message.dependentGroupId = object.dependentGroupId >>> 0;
|
|
94160
94287
|
if (object.dependentId != null)
|
|
94161
94288
|
message.dependentId = object.dependentId >>> 0;
|
|
94162
|
-
|
|
94163
|
-
|
|
94164
|
-
|
|
94165
|
-
message.groupType =
|
|
94166
|
-
|
|
94167
|
-
|
|
94168
|
-
|
|
94169
|
-
|
|
94170
|
-
|
|
94171
|
-
|
|
94172
|
-
|
|
94173
|
-
|
|
94174
|
-
|
|
94175
|
-
|
|
94176
|
-
|
|
94177
|
-
|
|
94178
|
-
|
|
94289
|
+
if (object.groupType) {
|
|
94290
|
+
if (!Array.isArray(object.groupType))
|
|
94291
|
+
throw TypeError(".FamilyMemberSynced.groupType: array expected");
|
|
94292
|
+
message.groupType = [];
|
|
94293
|
+
for (var i = 0; i < object.groupType.length; ++i)
|
|
94294
|
+
switch (object.groupType[i]) {
|
|
94295
|
+
default:
|
|
94296
|
+
case "GROUP_TYPE_UNKNOWN":
|
|
94297
|
+
case 0:
|
|
94298
|
+
message.groupType[i] = 0;
|
|
94299
|
+
break;
|
|
94300
|
+
case "GROUP_TYPE_D2C":
|
|
94301
|
+
case 1:
|
|
94302
|
+
message.groupType[i] = 1;
|
|
94303
|
+
break;
|
|
94304
|
+
case "GROUP_TYPE_PFP":
|
|
94305
|
+
case 2:
|
|
94306
|
+
message.groupType[i] = 2;
|
|
94307
|
+
break;
|
|
94308
|
+
case "GROUP_TYPE_FUSION":
|
|
94309
|
+
case 3:
|
|
94310
|
+
message.groupType[i] = 3;
|
|
94311
|
+
break;
|
|
94312
|
+
case "GROUP_TYPE_EAP":
|
|
94313
|
+
case 4:
|
|
94314
|
+
message.groupType[i] = 4;
|
|
94315
|
+
break;
|
|
94316
|
+
}
|
|
94179
94317
|
}
|
|
94180
94318
|
return message;
|
|
94181
94319
|
};
|
|
@@ -94193,6 +94331,8 @@ $root.FamilyMemberSynced = (function() {
|
|
|
94193
94331
|
if (!options)
|
|
94194
94332
|
options = {};
|
|
94195
94333
|
var object = {};
|
|
94334
|
+
if (options.arrays || options.defaults)
|
|
94335
|
+
object.groupType = [];
|
|
94196
94336
|
if (options.defaults) {
|
|
94197
94337
|
if ($util.Long) {
|
|
94198
94338
|
var long = new $util.Long(0, 0, true);
|
|
@@ -94208,7 +94348,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
94208
94348
|
object.b2bOrgSubscriptionId = 0;
|
|
94209
94349
|
object.dependentGroupId = 0;
|
|
94210
94350
|
object.dependentId = 0;
|
|
94211
|
-
object.groupType = options.enums === String ? "GROUP_TYPE_UNKNOWN" : 0;
|
|
94212
94351
|
}
|
|
94213
94352
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
94214
94353
|
if (typeof message.timestamp === "number")
|
|
@@ -94233,8 +94372,11 @@ $root.FamilyMemberSynced = (function() {
|
|
|
94233
94372
|
object.dependentGroupId = message.dependentGroupId;
|
|
94234
94373
|
if (message.dependentId != null && message.hasOwnProperty("dependentId"))
|
|
94235
94374
|
object.dependentId = message.dependentId;
|
|
94236
|
-
if (message.groupType
|
|
94237
|
-
object.groupType =
|
|
94375
|
+
if (message.groupType && message.groupType.length) {
|
|
94376
|
+
object.groupType = [];
|
|
94377
|
+
for (var j = 0; j < message.groupType.length; ++j)
|
|
94378
|
+
object.groupType[j] = options.enums === String ? $root.GroupType[message.groupType[j]] : message.groupType[j];
|
|
94379
|
+
}
|
|
94238
94380
|
return object;
|
|
94239
94381
|
};
|
|
94240
94382
|
|
|
@@ -94642,7 +94784,7 @@ $root.FamilyMemberRemoved = (function() {
|
|
|
94642
94784
|
* @property {number|null} [dependentGroupId] FamilyMemberRemoved dependentGroupId
|
|
94643
94785
|
* @property {number|null} [dependentId] FamilyMemberRemoved dependentId
|
|
94644
94786
|
* @property {string|null} [groupOwnerHsUserId] FamilyMemberRemoved groupOwnerHsUserId
|
|
94645
|
-
* @property {GroupType
|
|
94787
|
+
* @property {Array.<GroupType>|null} [groupType] FamilyMemberRemoved groupType
|
|
94646
94788
|
*/
|
|
94647
94789
|
|
|
94648
94790
|
/**
|
|
@@ -94654,6 +94796,7 @@ $root.FamilyMemberRemoved = (function() {
|
|
|
94654
94796
|
* @param {IFamilyMemberRemoved=} [properties] Properties to set
|
|
94655
94797
|
*/
|
|
94656
94798
|
function FamilyMemberRemoved(properties) {
|
|
94799
|
+
this.groupType = [];
|
|
94657
94800
|
if (properties)
|
|
94658
94801
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
94659
94802
|
if (properties[keys[i]] != null)
|
|
@@ -94742,11 +94885,11 @@ $root.FamilyMemberRemoved = (function() {
|
|
|
94742
94885
|
|
|
94743
94886
|
/**
|
|
94744
94887
|
* FamilyMemberRemoved groupType.
|
|
94745
|
-
* @member {GroupType} groupType
|
|
94888
|
+
* @member {Array.<GroupType>} groupType
|
|
94746
94889
|
* @memberof FamilyMemberRemoved
|
|
94747
94890
|
* @instance
|
|
94748
94891
|
*/
|
|
94749
|
-
FamilyMemberRemoved.prototype.groupType =
|
|
94892
|
+
FamilyMemberRemoved.prototype.groupType = $util.emptyArray;
|
|
94750
94893
|
|
|
94751
94894
|
/**
|
|
94752
94895
|
* Creates a new FamilyMemberRemoved instance using the specified properties.
|
|
@@ -94792,8 +94935,12 @@ $root.FamilyMemberRemoved = (function() {
|
|
|
94792
94935
|
writer.uint32(/* id 9, wireType 0 =*/72).uint32(message.dependentId);
|
|
94793
94936
|
if (message.groupOwnerHsUserId != null && message.hasOwnProperty("groupOwnerHsUserId"))
|
|
94794
94937
|
writer.uint32(/* id 10, wireType 2 =*/82).string(message.groupOwnerHsUserId);
|
|
94795
|
-
if (message.groupType != null && message.
|
|
94796
|
-
writer.uint32(/* id 11, wireType
|
|
94938
|
+
if (message.groupType != null && message.groupType.length) {
|
|
94939
|
+
writer.uint32(/* id 11, wireType 2 =*/90).fork();
|
|
94940
|
+
for (var i = 0; i < message.groupType.length; ++i)
|
|
94941
|
+
writer.int32(message.groupType[i]);
|
|
94942
|
+
writer.ldelim();
|
|
94943
|
+
}
|
|
94797
94944
|
return writer;
|
|
94798
94945
|
};
|
|
94799
94946
|
|
|
@@ -94859,7 +95006,14 @@ $root.FamilyMemberRemoved = (function() {
|
|
|
94859
95006
|
message.groupOwnerHsUserId = reader.string();
|
|
94860
95007
|
break;
|
|
94861
95008
|
case 11:
|
|
94862
|
-
message.groupType
|
|
95009
|
+
if (!(message.groupType && message.groupType.length))
|
|
95010
|
+
message.groupType = [];
|
|
95011
|
+
if ((tag & 7) === 2) {
|
|
95012
|
+
var end2 = reader.uint32() + reader.pos;
|
|
95013
|
+
while (reader.pos < end2)
|
|
95014
|
+
message.groupType.push(reader.int32());
|
|
95015
|
+
} else
|
|
95016
|
+
message.groupType.push(reader.int32());
|
|
94863
95017
|
break;
|
|
94864
95018
|
default:
|
|
94865
95019
|
reader.skipType(tag & 7);
|
|
@@ -94932,16 +95086,21 @@ $root.FamilyMemberRemoved = (function() {
|
|
|
94932
95086
|
if (message.groupOwnerHsUserId != null && message.hasOwnProperty("groupOwnerHsUserId"))
|
|
94933
95087
|
if (!$util.isString(message.groupOwnerHsUserId))
|
|
94934
95088
|
return "groupOwnerHsUserId: string expected";
|
|
94935
|
-
if (message.groupType != null && message.hasOwnProperty("groupType"))
|
|
94936
|
-
|
|
94937
|
-
|
|
94938
|
-
|
|
94939
|
-
|
|
94940
|
-
|
|
94941
|
-
|
|
94942
|
-
|
|
94943
|
-
|
|
94944
|
-
|
|
95089
|
+
if (message.groupType != null && message.hasOwnProperty("groupType")) {
|
|
95090
|
+
if (!Array.isArray(message.groupType))
|
|
95091
|
+
return "groupType: array expected";
|
|
95092
|
+
for (var i = 0; i < message.groupType.length; ++i)
|
|
95093
|
+
switch (message.groupType[i]) {
|
|
95094
|
+
default:
|
|
95095
|
+
return "groupType: enum value[] expected";
|
|
95096
|
+
case 0:
|
|
95097
|
+
case 1:
|
|
95098
|
+
case 2:
|
|
95099
|
+
case 3:
|
|
95100
|
+
case 4:
|
|
95101
|
+
break;
|
|
95102
|
+
}
|
|
95103
|
+
}
|
|
94945
95104
|
return null;
|
|
94946
95105
|
};
|
|
94947
95106
|
|
|
@@ -94996,23 +95155,34 @@ $root.FamilyMemberRemoved = (function() {
|
|
|
94996
95155
|
message.dependentId = object.dependentId >>> 0;
|
|
94997
95156
|
if (object.groupOwnerHsUserId != null)
|
|
94998
95157
|
message.groupOwnerHsUserId = String(object.groupOwnerHsUserId);
|
|
94999
|
-
|
|
95000
|
-
|
|
95001
|
-
|
|
95002
|
-
message.groupType =
|
|
95003
|
-
|
|
95004
|
-
|
|
95005
|
-
|
|
95006
|
-
|
|
95007
|
-
|
|
95008
|
-
|
|
95009
|
-
|
|
95010
|
-
|
|
95011
|
-
|
|
95012
|
-
|
|
95013
|
-
|
|
95014
|
-
|
|
95015
|
-
|
|
95158
|
+
if (object.groupType) {
|
|
95159
|
+
if (!Array.isArray(object.groupType))
|
|
95160
|
+
throw TypeError(".FamilyMemberRemoved.groupType: array expected");
|
|
95161
|
+
message.groupType = [];
|
|
95162
|
+
for (var i = 0; i < object.groupType.length; ++i)
|
|
95163
|
+
switch (object.groupType[i]) {
|
|
95164
|
+
default:
|
|
95165
|
+
case "GROUP_TYPE_UNKNOWN":
|
|
95166
|
+
case 0:
|
|
95167
|
+
message.groupType[i] = 0;
|
|
95168
|
+
break;
|
|
95169
|
+
case "GROUP_TYPE_D2C":
|
|
95170
|
+
case 1:
|
|
95171
|
+
message.groupType[i] = 1;
|
|
95172
|
+
break;
|
|
95173
|
+
case "GROUP_TYPE_PFP":
|
|
95174
|
+
case 2:
|
|
95175
|
+
message.groupType[i] = 2;
|
|
95176
|
+
break;
|
|
95177
|
+
case "GROUP_TYPE_FUSION":
|
|
95178
|
+
case 3:
|
|
95179
|
+
message.groupType[i] = 3;
|
|
95180
|
+
break;
|
|
95181
|
+
case "GROUP_TYPE_EAP":
|
|
95182
|
+
case 4:
|
|
95183
|
+
message.groupType[i] = 4;
|
|
95184
|
+
break;
|
|
95185
|
+
}
|
|
95016
95186
|
}
|
|
95017
95187
|
return message;
|
|
95018
95188
|
};
|
|
@@ -95030,6 +95200,8 @@ $root.FamilyMemberRemoved = (function() {
|
|
|
95030
95200
|
if (!options)
|
|
95031
95201
|
options = {};
|
|
95032
95202
|
var object = {};
|
|
95203
|
+
if (options.arrays || options.defaults)
|
|
95204
|
+
object.groupType = [];
|
|
95033
95205
|
if (options.defaults) {
|
|
95034
95206
|
if ($util.Long) {
|
|
95035
95207
|
var long = new $util.Long(0, 0, true);
|
|
@@ -95045,7 +95217,6 @@ $root.FamilyMemberRemoved = (function() {
|
|
|
95045
95217
|
object.dependentGroupId = 0;
|
|
95046
95218
|
object.dependentId = 0;
|
|
95047
95219
|
object.groupOwnerHsUserId = "";
|
|
95048
|
-
object.groupType = options.enums === String ? "GROUP_TYPE_UNKNOWN" : 0;
|
|
95049
95220
|
}
|
|
95050
95221
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
95051
95222
|
if (typeof message.timestamp === "number")
|
|
@@ -95070,8 +95241,11 @@ $root.FamilyMemberRemoved = (function() {
|
|
|
95070
95241
|
object.dependentId = message.dependentId;
|
|
95071
95242
|
if (message.groupOwnerHsUserId != null && message.hasOwnProperty("groupOwnerHsUserId"))
|
|
95072
95243
|
object.groupOwnerHsUserId = message.groupOwnerHsUserId;
|
|
95073
|
-
if (message.groupType
|
|
95074
|
-
object.groupType =
|
|
95244
|
+
if (message.groupType && message.groupType.length) {
|
|
95245
|
+
object.groupType = [];
|
|
95246
|
+
for (var j = 0; j < message.groupType.length; ++j)
|
|
95247
|
+
object.groupType[j] = options.enums === String ? $root.GroupType[message.groupType[j]] : message.groupType[j];
|
|
95248
|
+
}
|
|
95075
95249
|
return object;
|
|
95076
95250
|
};
|
|
95077
95251
|
|
|
@@ -97914,6 +98088,7 @@ $root.ElfRecordPresent = (function() {
|
|
|
97914
98088
|
* @property {string|null} [country] ElfRecordPresent country
|
|
97915
98089
|
* @property {string|null} [zipCode] ElfRecordPresent zipCode
|
|
97916
98090
|
* @property {string|null} [dob] ElfRecordPresent dob
|
|
98091
|
+
* @property {string|null} [countryStateCode] ElfRecordPresent countryStateCode
|
|
97917
98092
|
* @property {string|null} [streetAddress_1] ElfRecordPresent streetAddress_1
|
|
97918
98093
|
* @property {string|null} [streetAddress_2] ElfRecordPresent streetAddress_2
|
|
97919
98094
|
* @property {string|null} [department] ElfRecordPresent department
|
|
@@ -98051,6 +98226,14 @@ $root.ElfRecordPresent = (function() {
|
|
|
98051
98226
|
*/
|
|
98052
98227
|
ElfRecordPresent.prototype.dob = "";
|
|
98053
98228
|
|
|
98229
|
+
/**
|
|
98230
|
+
* ElfRecordPresent countryStateCode.
|
|
98231
|
+
* @member {string} countryStateCode
|
|
98232
|
+
* @memberof ElfRecordPresent
|
|
98233
|
+
* @instance
|
|
98234
|
+
*/
|
|
98235
|
+
ElfRecordPresent.prototype.countryStateCode = "";
|
|
98236
|
+
|
|
98054
98237
|
/**
|
|
98055
98238
|
* ElfRecordPresent streetAddress_1.
|
|
98056
98239
|
* @member {string} streetAddress_1
|
|
@@ -98255,6 +98438,8 @@ $root.ElfRecordPresent = (function() {
|
|
|
98255
98438
|
writer.uint32(/* id 27, wireType 2 =*/218).string(message.priorB2bOrgId);
|
|
98256
98439
|
if (message.location != null && message.hasOwnProperty("location"))
|
|
98257
98440
|
writer.uint32(/* id 28, wireType 2 =*/226).string(message.location);
|
|
98441
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
98442
|
+
writer.uint32(/* id 29, wireType 2 =*/234).string(message.countryStateCode);
|
|
98258
98443
|
return writer;
|
|
98259
98444
|
};
|
|
98260
98445
|
|
|
@@ -98328,6 +98513,9 @@ $root.ElfRecordPresent = (function() {
|
|
|
98328
98513
|
case 13:
|
|
98329
98514
|
message.dob = reader.string();
|
|
98330
98515
|
break;
|
|
98516
|
+
case 29:
|
|
98517
|
+
message.countryStateCode = reader.string();
|
|
98518
|
+
break;
|
|
98331
98519
|
case 14:
|
|
98332
98520
|
message.streetAddress_1 = reader.string();
|
|
98333
98521
|
break;
|
|
@@ -98459,6 +98647,9 @@ $root.ElfRecordPresent = (function() {
|
|
|
98459
98647
|
if (message.dob != null && message.hasOwnProperty("dob"))
|
|
98460
98648
|
if (!$util.isString(message.dob))
|
|
98461
98649
|
return "dob: string expected";
|
|
98650
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
98651
|
+
if (!$util.isString(message.countryStateCode))
|
|
98652
|
+
return "countryStateCode: string expected";
|
|
98462
98653
|
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
98463
98654
|
if (!$util.isString(message.streetAddress_1))
|
|
98464
98655
|
return "streetAddress_1: string expected";
|
|
@@ -98570,6 +98761,8 @@ $root.ElfRecordPresent = (function() {
|
|
|
98570
98761
|
message.zipCode = String(object.zipCode);
|
|
98571
98762
|
if (object.dob != null)
|
|
98572
98763
|
message.dob = String(object.dob);
|
|
98764
|
+
if (object.countryStateCode != null)
|
|
98765
|
+
message.countryStateCode = String(object.countryStateCode);
|
|
98573
98766
|
if (object.streetAddress_1 != null)
|
|
98574
98767
|
message.streetAddress_1 = String(object.streetAddress_1);
|
|
98575
98768
|
if (object.streetAddress_2 != null)
|
|
@@ -98669,6 +98862,7 @@ $root.ElfRecordPresent = (function() {
|
|
|
98669
98862
|
object.isMemberMigrated = false;
|
|
98670
98863
|
object.priorB2bOrgId = "";
|
|
98671
98864
|
object.location = "";
|
|
98865
|
+
object.countryStateCode = "";
|
|
98672
98866
|
}
|
|
98673
98867
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
98674
98868
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -98732,6 +98926,8 @@ $root.ElfRecordPresent = (function() {
|
|
|
98732
98926
|
object.priorB2bOrgId = message.priorB2bOrgId;
|
|
98733
98927
|
if (message.location != null && message.hasOwnProperty("location"))
|
|
98734
98928
|
object.location = message.location;
|
|
98929
|
+
if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
|
|
98930
|
+
object.countryStateCode = message.countryStateCode;
|
|
98735
98931
|
return object;
|
|
98736
98932
|
};
|
|
98737
98933
|
|
package/package.json
CHANGED