@headspace/protos-events 1.176.0 → 1.177.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 +12 -0
- package/lib/index.js +44 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4407,6 +4407,12 @@ export namespace userdomain {
|
|
|
4407
4407
|
|
|
4408
4408
|
/** User emailNormalizedSha256 */
|
|
4409
4409
|
emailNormalizedSha256?: (string|null);
|
|
4410
|
+
|
|
4411
|
+
/** User isHeadspaceStaff */
|
|
4412
|
+
isHeadspaceStaff?: (boolean|null);
|
|
4413
|
+
|
|
4414
|
+
/** User isTestUser */
|
|
4415
|
+
isTestUser?: (boolean|null);
|
|
4410
4416
|
}
|
|
4411
4417
|
|
|
4412
4418
|
/** Represents a User. */
|
|
@@ -4463,6 +4469,12 @@ export namespace userdomain {
|
|
|
4463
4469
|
/** User emailNormalizedSha256. */
|
|
4464
4470
|
public emailNormalizedSha256: string;
|
|
4465
4471
|
|
|
4472
|
+
/** User isHeadspaceStaff. */
|
|
4473
|
+
public isHeadspaceStaff: boolean;
|
|
4474
|
+
|
|
4475
|
+
/** User isTestUser. */
|
|
4476
|
+
public isTestUser: boolean;
|
|
4477
|
+
|
|
4466
4478
|
/**
|
|
4467
4479
|
* Creates a new User instance using the specified properties.
|
|
4468
4480
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -10283,6 +10283,8 @@ $root.userdomain = (function() {
|
|
|
10283
10283
|
* @property {userdomain.users.UserType|null} [userType] User userType
|
|
10284
10284
|
* @property {string|null} [emailSha256] User emailSha256
|
|
10285
10285
|
* @property {string|null} [emailNormalizedSha256] User emailNormalizedSha256
|
|
10286
|
+
* @property {boolean|null} [isHeadspaceStaff] User isHeadspaceStaff
|
|
10287
|
+
* @property {boolean|null} [isTestUser] User isTestUser
|
|
10286
10288
|
*/
|
|
10287
10289
|
|
|
10288
10290
|
/**
|
|
@@ -10420,6 +10422,22 @@ $root.userdomain = (function() {
|
|
|
10420
10422
|
*/
|
|
10421
10423
|
User.prototype.emailNormalizedSha256 = "";
|
|
10422
10424
|
|
|
10425
|
+
/**
|
|
10426
|
+
* User isHeadspaceStaff.
|
|
10427
|
+
* @member {boolean} isHeadspaceStaff
|
|
10428
|
+
* @memberof userdomain.users.User
|
|
10429
|
+
* @instance
|
|
10430
|
+
*/
|
|
10431
|
+
User.prototype.isHeadspaceStaff = false;
|
|
10432
|
+
|
|
10433
|
+
/**
|
|
10434
|
+
* User isTestUser.
|
|
10435
|
+
* @member {boolean} isTestUser
|
|
10436
|
+
* @memberof userdomain.users.User
|
|
10437
|
+
* @instance
|
|
10438
|
+
*/
|
|
10439
|
+
User.prototype.isTestUser = false;
|
|
10440
|
+
|
|
10423
10441
|
/**
|
|
10424
10442
|
* Creates a new User instance using the specified properties.
|
|
10425
10443
|
* @function create
|
|
@@ -10474,6 +10492,10 @@ $root.userdomain = (function() {
|
|
|
10474
10492
|
writer.uint32(/* id 14, wireType 2 =*/114).string(message.emailSha256);
|
|
10475
10493
|
if (message.emailNormalizedSha256 != null && message.hasOwnProperty("emailNormalizedSha256"))
|
|
10476
10494
|
writer.uint32(/* id 15, wireType 2 =*/122).string(message.emailNormalizedSha256);
|
|
10495
|
+
if (message.isHeadspaceStaff != null && message.hasOwnProperty("isHeadspaceStaff"))
|
|
10496
|
+
writer.uint32(/* id 16, wireType 0 =*/128).bool(message.isHeadspaceStaff);
|
|
10497
|
+
if (message.isTestUser != null && message.hasOwnProperty("isTestUser"))
|
|
10498
|
+
writer.uint32(/* id 17, wireType 0 =*/136).bool(message.isTestUser);
|
|
10477
10499
|
return writer;
|
|
10478
10500
|
};
|
|
10479
10501
|
|
|
@@ -10553,6 +10575,12 @@ $root.userdomain = (function() {
|
|
|
10553
10575
|
case 15:
|
|
10554
10576
|
message.emailNormalizedSha256 = reader.string();
|
|
10555
10577
|
break;
|
|
10578
|
+
case 16:
|
|
10579
|
+
message.isHeadspaceStaff = reader.bool();
|
|
10580
|
+
break;
|
|
10581
|
+
case 17:
|
|
10582
|
+
message.isTestUser = reader.bool();
|
|
10583
|
+
break;
|
|
10556
10584
|
default:
|
|
10557
10585
|
reader.skipType(tag & 7);
|
|
10558
10586
|
break;
|
|
@@ -10651,6 +10679,12 @@ $root.userdomain = (function() {
|
|
|
10651
10679
|
if (message.emailNormalizedSha256 != null && message.hasOwnProperty("emailNormalizedSha256"))
|
|
10652
10680
|
if (!$util.isString(message.emailNormalizedSha256))
|
|
10653
10681
|
return "emailNormalizedSha256: string expected";
|
|
10682
|
+
if (message.isHeadspaceStaff != null && message.hasOwnProperty("isHeadspaceStaff"))
|
|
10683
|
+
if (typeof message.isHeadspaceStaff !== "boolean")
|
|
10684
|
+
return "isHeadspaceStaff: boolean expected";
|
|
10685
|
+
if (message.isTestUser != null && message.hasOwnProperty("isTestUser"))
|
|
10686
|
+
if (typeof message.isTestUser !== "boolean")
|
|
10687
|
+
return "isTestUser: boolean expected";
|
|
10654
10688
|
return null;
|
|
10655
10689
|
};
|
|
10656
10690
|
|
|
@@ -10744,6 +10778,10 @@ $root.userdomain = (function() {
|
|
|
10744
10778
|
message.emailSha256 = String(object.emailSha256);
|
|
10745
10779
|
if (object.emailNormalizedSha256 != null)
|
|
10746
10780
|
message.emailNormalizedSha256 = String(object.emailNormalizedSha256);
|
|
10781
|
+
if (object.isHeadspaceStaff != null)
|
|
10782
|
+
message.isHeadspaceStaff = Boolean(object.isHeadspaceStaff);
|
|
10783
|
+
if (object.isTestUser != null)
|
|
10784
|
+
message.isTestUser = Boolean(object.isTestUser);
|
|
10747
10785
|
return message;
|
|
10748
10786
|
};
|
|
10749
10787
|
|
|
@@ -10776,6 +10814,8 @@ $root.userdomain = (function() {
|
|
|
10776
10814
|
object.userType = options.enums === String ? "CORE_ADMIN" : 0;
|
|
10777
10815
|
object.emailSha256 = "";
|
|
10778
10816
|
object.emailNormalizedSha256 = "";
|
|
10817
|
+
object.isHeadspaceStaff = false;
|
|
10818
|
+
object.isTestUser = false;
|
|
10779
10819
|
}
|
|
10780
10820
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
10781
10821
|
object.hsId = message.hsId;
|
|
@@ -10807,6 +10847,10 @@ $root.userdomain = (function() {
|
|
|
10807
10847
|
object.emailSha256 = message.emailSha256;
|
|
10808
10848
|
if (message.emailNormalizedSha256 != null && message.hasOwnProperty("emailNormalizedSha256"))
|
|
10809
10849
|
object.emailNormalizedSha256 = message.emailNormalizedSha256;
|
|
10850
|
+
if (message.isHeadspaceStaff != null && message.hasOwnProperty("isHeadspaceStaff"))
|
|
10851
|
+
object.isHeadspaceStaff = message.isHeadspaceStaff;
|
|
10852
|
+
if (message.isTestUser != null && message.hasOwnProperty("isTestUser"))
|
|
10853
|
+
object.isTestUser = message.isTestUser;
|
|
10810
10854
|
return object;
|
|
10811
10855
|
};
|
|
10812
10856
|
|
package/package.json
CHANGED