@headspace/protos-events 1.172.0 → 1.173.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
|
@@ -4401,6 +4401,12 @@ export namespace userdomain {
|
|
|
4401
4401
|
|
|
4402
4402
|
/** User userType */
|
|
4403
4403
|
userType?: (userdomain.users.UserType|null);
|
|
4404
|
+
|
|
4405
|
+
/** User emailSha256 */
|
|
4406
|
+
emailSha256?: (string|null);
|
|
4407
|
+
|
|
4408
|
+
/** User emailNormalizedSha256 */
|
|
4409
|
+
emailNormalizedSha256?: (string|null);
|
|
4404
4410
|
}
|
|
4405
4411
|
|
|
4406
4412
|
/** Represents a User. */
|
|
@@ -4451,6 +4457,12 @@ export namespace userdomain {
|
|
|
4451
4457
|
/** User userType. */
|
|
4452
4458
|
public userType: userdomain.users.UserType;
|
|
4453
4459
|
|
|
4460
|
+
/** User emailSha256. */
|
|
4461
|
+
public emailSha256: string;
|
|
4462
|
+
|
|
4463
|
+
/** User emailNormalizedSha256. */
|
|
4464
|
+
public emailNormalizedSha256: string;
|
|
4465
|
+
|
|
4454
4466
|
/**
|
|
4455
4467
|
* Creates a new User instance using the specified properties.
|
|
4456
4468
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -10281,6 +10281,8 @@ $root.userdomain = (function() {
|
|
|
10281
10281
|
* @property {string|null} [spotifyId] User spotifyId
|
|
10282
10282
|
* @property {string|null} [oneloginId] User oneloginId
|
|
10283
10283
|
* @property {userdomain.users.UserType|null} [userType] User userType
|
|
10284
|
+
* @property {string|null} [emailSha256] User emailSha256
|
|
10285
|
+
* @property {string|null} [emailNormalizedSha256] User emailNormalizedSha256
|
|
10284
10286
|
*/
|
|
10285
10287
|
|
|
10286
10288
|
/**
|
|
@@ -10402,6 +10404,22 @@ $root.userdomain = (function() {
|
|
|
10402
10404
|
*/
|
|
10403
10405
|
User.prototype.userType = 0;
|
|
10404
10406
|
|
|
10407
|
+
/**
|
|
10408
|
+
* User emailSha256.
|
|
10409
|
+
* @member {string} emailSha256
|
|
10410
|
+
* @memberof userdomain.users.User
|
|
10411
|
+
* @instance
|
|
10412
|
+
*/
|
|
10413
|
+
User.prototype.emailSha256 = "";
|
|
10414
|
+
|
|
10415
|
+
/**
|
|
10416
|
+
* User emailNormalizedSha256.
|
|
10417
|
+
* @member {string} emailNormalizedSha256
|
|
10418
|
+
* @memberof userdomain.users.User
|
|
10419
|
+
* @instance
|
|
10420
|
+
*/
|
|
10421
|
+
User.prototype.emailNormalizedSha256 = "";
|
|
10422
|
+
|
|
10405
10423
|
/**
|
|
10406
10424
|
* Creates a new User instance using the specified properties.
|
|
10407
10425
|
* @function create
|
|
@@ -10452,6 +10470,10 @@ $root.userdomain = (function() {
|
|
|
10452
10470
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.oneloginId);
|
|
10453
10471
|
if (message.userType != null && message.hasOwnProperty("userType"))
|
|
10454
10472
|
writer.uint32(/* id 13, wireType 0 =*/104).int32(message.userType);
|
|
10473
|
+
if (message.emailSha256 != null && message.hasOwnProperty("emailSha256"))
|
|
10474
|
+
writer.uint32(/* id 14, wireType 2 =*/114).string(message.emailSha256);
|
|
10475
|
+
if (message.emailNormalizedSha256 != null && message.hasOwnProperty("emailNormalizedSha256"))
|
|
10476
|
+
writer.uint32(/* id 15, wireType 2 =*/122).string(message.emailNormalizedSha256);
|
|
10455
10477
|
return writer;
|
|
10456
10478
|
};
|
|
10457
10479
|
|
|
@@ -10525,6 +10547,12 @@ $root.userdomain = (function() {
|
|
|
10525
10547
|
case 13:
|
|
10526
10548
|
message.userType = reader.int32();
|
|
10527
10549
|
break;
|
|
10550
|
+
case 14:
|
|
10551
|
+
message.emailSha256 = reader.string();
|
|
10552
|
+
break;
|
|
10553
|
+
case 15:
|
|
10554
|
+
message.emailNormalizedSha256 = reader.string();
|
|
10555
|
+
break;
|
|
10528
10556
|
default:
|
|
10529
10557
|
reader.skipType(tag & 7);
|
|
10530
10558
|
break;
|
|
@@ -10617,6 +10645,12 @@ $root.userdomain = (function() {
|
|
|
10617
10645
|
case 4:
|
|
10618
10646
|
break;
|
|
10619
10647
|
}
|
|
10648
|
+
if (message.emailSha256 != null && message.hasOwnProperty("emailSha256"))
|
|
10649
|
+
if (!$util.isString(message.emailSha256))
|
|
10650
|
+
return "emailSha256: string expected";
|
|
10651
|
+
if (message.emailNormalizedSha256 != null && message.hasOwnProperty("emailNormalizedSha256"))
|
|
10652
|
+
if (!$util.isString(message.emailNormalizedSha256))
|
|
10653
|
+
return "emailNormalizedSha256: string expected";
|
|
10620
10654
|
return null;
|
|
10621
10655
|
};
|
|
10622
10656
|
|
|
@@ -10706,6 +10740,10 @@ $root.userdomain = (function() {
|
|
|
10706
10740
|
message.userType = 4;
|
|
10707
10741
|
break;
|
|
10708
10742
|
}
|
|
10743
|
+
if (object.emailSha256 != null)
|
|
10744
|
+
message.emailSha256 = String(object.emailSha256);
|
|
10745
|
+
if (object.emailNormalizedSha256 != null)
|
|
10746
|
+
message.emailNormalizedSha256 = String(object.emailNormalizedSha256);
|
|
10709
10747
|
return message;
|
|
10710
10748
|
};
|
|
10711
10749
|
|
|
@@ -10736,6 +10774,8 @@ $root.userdomain = (function() {
|
|
|
10736
10774
|
object.spotifyId = "";
|
|
10737
10775
|
object.oneloginId = "";
|
|
10738
10776
|
object.userType = options.enums === String ? "CORE_ADMIN" : 0;
|
|
10777
|
+
object.emailSha256 = "";
|
|
10778
|
+
object.emailNormalizedSha256 = "";
|
|
10739
10779
|
}
|
|
10740
10780
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
10741
10781
|
object.hsId = message.hsId;
|
|
@@ -10763,6 +10803,10 @@ $root.userdomain = (function() {
|
|
|
10763
10803
|
object.oneloginId = message.oneloginId;
|
|
10764
10804
|
if (message.userType != null && message.hasOwnProperty("userType"))
|
|
10765
10805
|
object.userType = options.enums === String ? $root.userdomain.users.UserType[message.userType] : message.userType;
|
|
10806
|
+
if (message.emailSha256 != null && message.hasOwnProperty("emailSha256"))
|
|
10807
|
+
object.emailSha256 = message.emailSha256;
|
|
10808
|
+
if (message.emailNormalizedSha256 != null && message.hasOwnProperty("emailNormalizedSha256"))
|
|
10809
|
+
object.emailNormalizedSha256 = message.emailNormalizedSha256;
|
|
10766
10810
|
return object;
|
|
10767
10811
|
};
|
|
10768
10812
|
|
package/package.json
CHANGED