@headspace/protos-events 1.549.0 → 1.550.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 +10 -10
- package/lib/index.js +57 -57
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -38968,8 +38968,8 @@ export interface IGingerMemberUpgraded {
|
|
|
38968
38968
|
/** GingerMemberUpgraded accountEmail */
|
|
38969
38969
|
accountEmail?: (string|null);
|
|
38970
38970
|
|
|
38971
|
-
/** GingerMemberUpgraded
|
|
38972
|
-
|
|
38971
|
+
/** GingerMemberUpgraded hsUserId */
|
|
38972
|
+
hsUserId?: (string|null);
|
|
38973
38973
|
}
|
|
38974
38974
|
|
|
38975
38975
|
/**
|
|
@@ -39003,8 +39003,8 @@ export class GingerMemberUpgraded implements IGingerMemberUpgraded {
|
|
|
39003
39003
|
/** GingerMemberUpgraded accountEmail. */
|
|
39004
39004
|
public accountEmail: string;
|
|
39005
39005
|
|
|
39006
|
-
/** GingerMemberUpgraded
|
|
39007
|
-
public
|
|
39006
|
+
/** GingerMemberUpgraded hsUserId. */
|
|
39007
|
+
public hsUserId: string;
|
|
39008
39008
|
|
|
39009
39009
|
/**
|
|
39010
39010
|
* Creates a new GingerMemberUpgraded instance using the specified properties.
|
|
@@ -39081,13 +39081,13 @@ export class GingerMemberUpgraded implements IGingerMemberUpgraded {
|
|
|
39081
39081
|
export interface IGingerDependentUpgraded {
|
|
39082
39082
|
|
|
39083
39083
|
/** The organization's UUID v4, which is shared between b2b and ginger systems */
|
|
39084
|
-
|
|
39084
|
+
headspaceHealthOrgId?: (string|null);
|
|
39085
39085
|
|
|
39086
39086
|
/** The organization's ID in the b2b system */
|
|
39087
|
-
|
|
39087
|
+
b2bOrgId?: (number|null);
|
|
39088
39088
|
|
|
39089
39089
|
/** The organization's ID in the ginger system */
|
|
39090
|
-
|
|
39090
|
+
gingerOrgId?: (number|null);
|
|
39091
39091
|
|
|
39092
39092
|
/** The primary member's HSUSER_* ID */
|
|
39093
39093
|
primaryHsUserId?: (string|null);
|
|
@@ -39110,13 +39110,13 @@ export class GingerDependentUpgraded implements IGingerDependentUpgraded {
|
|
|
39110
39110
|
constructor(properties?: IGingerDependentUpgraded);
|
|
39111
39111
|
|
|
39112
39112
|
/** The organization's UUID v4, which is shared between b2b and ginger systems */
|
|
39113
|
-
public
|
|
39113
|
+
public headspaceHealthOrgId: string;
|
|
39114
39114
|
|
|
39115
39115
|
/** The organization's ID in the b2b system */
|
|
39116
|
-
public
|
|
39116
|
+
public b2bOrgId: number;
|
|
39117
39117
|
|
|
39118
39118
|
/** The organization's ID in the ginger system */
|
|
39119
|
-
public
|
|
39119
|
+
public gingerOrgId: number;
|
|
39120
39120
|
|
|
39121
39121
|
/** The primary member's HSUSER_* ID */
|
|
39122
39122
|
public primaryHsUserId: string;
|
package/lib/index.js
CHANGED
|
@@ -110058,7 +110058,7 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
110058
110058
|
* @property {string|null} [workEmail] GingerMemberUpgraded workEmail
|
|
110059
110059
|
* @property {string|null} [workId] GingerMemberUpgraded workId
|
|
110060
110060
|
* @property {string|null} [accountEmail] GingerMemberUpgraded accountEmail
|
|
110061
|
-
* @property {string|null} [
|
|
110061
|
+
* @property {string|null} [hsUserId] GingerMemberUpgraded hsUserId
|
|
110062
110062
|
*/
|
|
110063
110063
|
|
|
110064
110064
|
/**
|
|
@@ -110127,12 +110127,12 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
110127
110127
|
GingerMemberUpgraded.prototype.accountEmail = "";
|
|
110128
110128
|
|
|
110129
110129
|
/**
|
|
110130
|
-
* GingerMemberUpgraded
|
|
110131
|
-
* @member {string}
|
|
110130
|
+
* GingerMemberUpgraded hsUserId.
|
|
110131
|
+
* @member {string} hsUserId
|
|
110132
110132
|
* @memberof GingerMemberUpgraded
|
|
110133
110133
|
* @instance
|
|
110134
110134
|
*/
|
|
110135
|
-
GingerMemberUpgraded.prototype.
|
|
110135
|
+
GingerMemberUpgraded.prototype.hsUserId = "";
|
|
110136
110136
|
|
|
110137
110137
|
/**
|
|
110138
110138
|
* Creates a new GingerMemberUpgraded instance using the specified properties.
|
|
@@ -110170,8 +110170,8 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
110170
110170
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.workId);
|
|
110171
110171
|
if (message.accountEmail != null && message.hasOwnProperty("accountEmail"))
|
|
110172
110172
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.accountEmail);
|
|
110173
|
-
if (message.
|
|
110174
|
-
writer.uint32(/* id 7, wireType 2 =*/58).string(message.
|
|
110173
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
110174
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.hsUserId);
|
|
110175
110175
|
return writer;
|
|
110176
110176
|
};
|
|
110177
110177
|
|
|
@@ -110225,7 +110225,7 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
110225
110225
|
message.accountEmail = reader.string();
|
|
110226
110226
|
break;
|
|
110227
110227
|
case 7:
|
|
110228
|
-
message.
|
|
110228
|
+
message.hsUserId = reader.string();
|
|
110229
110229
|
break;
|
|
110230
110230
|
default:
|
|
110231
110231
|
reader.skipType(tag & 7);
|
|
@@ -110280,9 +110280,9 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
110280
110280
|
if (message.accountEmail != null && message.hasOwnProperty("accountEmail"))
|
|
110281
110281
|
if (!$util.isString(message.accountEmail))
|
|
110282
110282
|
return "accountEmail: string expected";
|
|
110283
|
-
if (message.
|
|
110284
|
-
if (!$util.isString(message.
|
|
110285
|
-
return "
|
|
110283
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
110284
|
+
if (!$util.isString(message.hsUserId))
|
|
110285
|
+
return "hsUserId: string expected";
|
|
110286
110286
|
return null;
|
|
110287
110287
|
};
|
|
110288
110288
|
|
|
@@ -110310,8 +110310,8 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
110310
110310
|
message.workId = String(object.workId);
|
|
110311
110311
|
if (object.accountEmail != null)
|
|
110312
110312
|
message.accountEmail = String(object.accountEmail);
|
|
110313
|
-
if (object.
|
|
110314
|
-
message.
|
|
110313
|
+
if (object.hsUserId != null)
|
|
110314
|
+
message.hsUserId = String(object.hsUserId);
|
|
110315
110315
|
return message;
|
|
110316
110316
|
};
|
|
110317
110317
|
|
|
@@ -110335,7 +110335,7 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
110335
110335
|
object.workEmail = "";
|
|
110336
110336
|
object.workId = "";
|
|
110337
110337
|
object.accountEmail = "";
|
|
110338
|
-
object.
|
|
110338
|
+
object.hsUserId = "";
|
|
110339
110339
|
}
|
|
110340
110340
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
110341
110341
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -110349,8 +110349,8 @@ $root.GingerMemberUpgraded = (function() {
|
|
|
110349
110349
|
object.workId = message.workId;
|
|
110350
110350
|
if (message.accountEmail != null && message.hasOwnProperty("accountEmail"))
|
|
110351
110351
|
object.accountEmail = message.accountEmail;
|
|
110352
|
-
if (message.
|
|
110353
|
-
object.
|
|
110352
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
110353
|
+
object.hsUserId = message.hsUserId;
|
|
110354
110354
|
return object;
|
|
110355
110355
|
};
|
|
110356
110356
|
|
|
@@ -110374,9 +110374,9 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
110374
110374
|
* Properties of a GingerDependentUpgraded.
|
|
110375
110375
|
* @name IGingerDependentUpgraded
|
|
110376
110376
|
* @interface IGingerDependentUpgraded
|
|
110377
|
-
* @property {string|null} [
|
|
110378
|
-
* @property {number|null} [
|
|
110379
|
-
* @property {number|null} [
|
|
110377
|
+
* @property {string|null} [headspaceHealthOrgId] The organization's UUID v4, which is shared between b2b and ginger systems
|
|
110378
|
+
* @property {number|null} [b2bOrgId] The organization's ID in the b2b system
|
|
110379
|
+
* @property {number|null} [gingerOrgId] The organization's ID in the ginger system
|
|
110380
110380
|
* @property {string|null} [primaryHsUserId] The primary member's HSUSER_* ID
|
|
110381
110381
|
* @property {string|null} [dependentHsUserId] The dependent's HSUSER_* ID
|
|
110382
110382
|
*/
|
|
@@ -110400,27 +110400,27 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
110400
110400
|
|
|
110401
110401
|
/**
|
|
110402
110402
|
* The organization's UUID v4, which is shared between b2b and ginger systems
|
|
110403
|
-
* @member {string}
|
|
110403
|
+
* @member {string} headspaceHealthOrgId
|
|
110404
110404
|
* @memberof GingerDependentUpgraded
|
|
110405
110405
|
* @instance
|
|
110406
110406
|
*/
|
|
110407
|
-
GingerDependentUpgraded.prototype.
|
|
110407
|
+
GingerDependentUpgraded.prototype.headspaceHealthOrgId = "";
|
|
110408
110408
|
|
|
110409
110409
|
/**
|
|
110410
110410
|
* The organization's ID in the b2b system
|
|
110411
|
-
* @member {number}
|
|
110411
|
+
* @member {number} b2bOrgId
|
|
110412
110412
|
* @memberof GingerDependentUpgraded
|
|
110413
110413
|
* @instance
|
|
110414
110414
|
*/
|
|
110415
|
-
GingerDependentUpgraded.prototype.
|
|
110415
|
+
GingerDependentUpgraded.prototype.b2bOrgId = 0;
|
|
110416
110416
|
|
|
110417
110417
|
/**
|
|
110418
110418
|
* The organization's ID in the ginger system
|
|
110419
|
-
* @member {number}
|
|
110419
|
+
* @member {number} gingerOrgId
|
|
110420
110420
|
* @memberof GingerDependentUpgraded
|
|
110421
110421
|
* @instance
|
|
110422
110422
|
*/
|
|
110423
|
-
GingerDependentUpgraded.prototype.
|
|
110423
|
+
GingerDependentUpgraded.prototype.gingerOrgId = 0;
|
|
110424
110424
|
|
|
110425
110425
|
/**
|
|
110426
110426
|
* The primary member's HSUSER_* ID
|
|
@@ -110462,12 +110462,12 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
110462
110462
|
GingerDependentUpgraded.encode = function encode(message, writer) {
|
|
110463
110463
|
if (!writer)
|
|
110464
110464
|
writer = $Writer.create();
|
|
110465
|
-
if (message.
|
|
110466
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.
|
|
110467
|
-
if (message.
|
|
110468
|
-
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.
|
|
110469
|
-
if (message.
|
|
110470
|
-
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.
|
|
110465
|
+
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
110466
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.headspaceHealthOrgId);
|
|
110467
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
110468
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.b2bOrgId);
|
|
110469
|
+
if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
|
|
110470
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.gingerOrgId);
|
|
110471
110471
|
if (message.primaryHsUserId != null && message.hasOwnProperty("primaryHsUserId"))
|
|
110472
110472
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.primaryHsUserId);
|
|
110473
110473
|
if (message.dependentHsUserId != null && message.hasOwnProperty("dependentHsUserId"))
|
|
@@ -110507,13 +110507,13 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
110507
110507
|
var tag = reader.uint32();
|
|
110508
110508
|
switch (tag >>> 3) {
|
|
110509
110509
|
case 1:
|
|
110510
|
-
message.
|
|
110510
|
+
message.headspaceHealthOrgId = reader.string();
|
|
110511
110511
|
break;
|
|
110512
110512
|
case 2:
|
|
110513
|
-
message.
|
|
110513
|
+
message.b2bOrgId = reader.uint32();
|
|
110514
110514
|
break;
|
|
110515
110515
|
case 3:
|
|
110516
|
-
message.
|
|
110516
|
+
message.gingerOrgId = reader.uint32();
|
|
110517
110517
|
break;
|
|
110518
110518
|
case 4:
|
|
110519
110519
|
message.primaryHsUserId = reader.string();
|
|
@@ -110556,15 +110556,15 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
110556
110556
|
GingerDependentUpgraded.verify = function verify(message) {
|
|
110557
110557
|
if (typeof message !== "object" || message === null)
|
|
110558
110558
|
return "object expected";
|
|
110559
|
-
if (message.
|
|
110560
|
-
if (!$util.isString(message.
|
|
110561
|
-
return "
|
|
110562
|
-
if (message.
|
|
110563
|
-
if (!$util.isInteger(message.
|
|
110564
|
-
return "
|
|
110565
|
-
if (message.
|
|
110566
|
-
if (!$util.isInteger(message.
|
|
110567
|
-
return "
|
|
110559
|
+
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
110560
|
+
if (!$util.isString(message.headspaceHealthOrgId))
|
|
110561
|
+
return "headspaceHealthOrgId: string expected";
|
|
110562
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
110563
|
+
if (!$util.isInteger(message.b2bOrgId))
|
|
110564
|
+
return "b2bOrgId: integer expected";
|
|
110565
|
+
if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
|
|
110566
|
+
if (!$util.isInteger(message.gingerOrgId))
|
|
110567
|
+
return "gingerOrgId: integer expected";
|
|
110568
110568
|
if (message.primaryHsUserId != null && message.hasOwnProperty("primaryHsUserId"))
|
|
110569
110569
|
if (!$util.isString(message.primaryHsUserId))
|
|
110570
110570
|
return "primaryHsUserId: string expected";
|
|
@@ -110586,12 +110586,12 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
110586
110586
|
if (object instanceof $root.GingerDependentUpgraded)
|
|
110587
110587
|
return object;
|
|
110588
110588
|
var message = new $root.GingerDependentUpgraded();
|
|
110589
|
-
if (object.
|
|
110590
|
-
message.
|
|
110591
|
-
if (object.
|
|
110592
|
-
message.
|
|
110593
|
-
if (object.
|
|
110594
|
-
message.
|
|
110589
|
+
if (object.headspaceHealthOrgId != null)
|
|
110590
|
+
message.headspaceHealthOrgId = String(object.headspaceHealthOrgId);
|
|
110591
|
+
if (object.b2bOrgId != null)
|
|
110592
|
+
message.b2bOrgId = object.b2bOrgId >>> 0;
|
|
110593
|
+
if (object.gingerOrgId != null)
|
|
110594
|
+
message.gingerOrgId = object.gingerOrgId >>> 0;
|
|
110595
110595
|
if (object.primaryHsUserId != null)
|
|
110596
110596
|
message.primaryHsUserId = String(object.primaryHsUserId);
|
|
110597
110597
|
if (object.dependentHsUserId != null)
|
|
@@ -110613,18 +110613,18 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
110613
110613
|
options = {};
|
|
110614
110614
|
var object = {};
|
|
110615
110615
|
if (options.defaults) {
|
|
110616
|
-
object.
|
|
110617
|
-
object.
|
|
110618
|
-
object.
|
|
110616
|
+
object.headspaceHealthOrgId = "";
|
|
110617
|
+
object.b2bOrgId = 0;
|
|
110618
|
+
object.gingerOrgId = 0;
|
|
110619
110619
|
object.primaryHsUserId = "";
|
|
110620
110620
|
object.dependentHsUserId = "";
|
|
110621
110621
|
}
|
|
110622
|
-
if (message.
|
|
110623
|
-
object.
|
|
110624
|
-
if (message.
|
|
110625
|
-
object.
|
|
110626
|
-
if (message.
|
|
110627
|
-
object.
|
|
110622
|
+
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
110623
|
+
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
110624
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
110625
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
110626
|
+
if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
|
|
110627
|
+
object.gingerOrgId = message.gingerOrgId;
|
|
110628
110628
|
if (message.primaryHsUserId != null && message.hasOwnProperty("primaryHsUserId"))
|
|
110629
110629
|
object.primaryHsUserId = message.primaryHsUserId;
|
|
110630
110630
|
if (message.dependentHsUserId != null && message.hasOwnProperty("dependentHsUserId"))
|
package/package.json
CHANGED