@headspace/protos-events 1.256.0 → 1.258.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
|
@@ -11055,6 +11055,9 @@ export namespace userdomain {
|
|
|
11055
11055
|
|
|
11056
11056
|
/** User tags */
|
|
11057
11057
|
tags?: (userdomain.users.UserTag[]|null);
|
|
11058
|
+
|
|
11059
|
+
/** User isAnonymousUser */
|
|
11060
|
+
isAnonymousUser?: (boolean|null);
|
|
11058
11061
|
}
|
|
11059
11062
|
|
|
11060
11063
|
/** Represents a User. */
|
|
@@ -11120,6 +11123,9 @@ export namespace userdomain {
|
|
|
11120
11123
|
/** User tags. */
|
|
11121
11124
|
public tags: userdomain.users.UserTag[];
|
|
11122
11125
|
|
|
11126
|
+
/** User isAnonymousUser. */
|
|
11127
|
+
public isAnonymousUser: boolean;
|
|
11128
|
+
|
|
11123
11129
|
/**
|
|
11124
11130
|
* Creates a new User instance using the specified properties.
|
|
11125
11131
|
* @param [properties] Properties to set
|
|
@@ -11588,6 +11594,9 @@ export interface IConnectionLinked {
|
|
|
11588
11594
|
|
|
11589
11595
|
/** ConnectionLinked linkedAt */
|
|
11590
11596
|
linkedAt?: (number|Long|null);
|
|
11597
|
+
|
|
11598
|
+
/** ConnectionLinked userConnectionId */
|
|
11599
|
+
userConnectionId?: (string|null);
|
|
11591
11600
|
}
|
|
11592
11601
|
|
|
11593
11602
|
/** Represents a ConnectionLinked. */
|
|
@@ -11608,6 +11617,9 @@ export class ConnectionLinked implements IConnectionLinked {
|
|
|
11608
11617
|
/** ConnectionLinked linkedAt. */
|
|
11609
11618
|
public linkedAt: (number|Long);
|
|
11610
11619
|
|
|
11620
|
+
/** ConnectionLinked userConnectionId. */
|
|
11621
|
+
public userConnectionId: string;
|
|
11622
|
+
|
|
11611
11623
|
/**
|
|
11612
11624
|
* Creates a new ConnectionLinked instance using the specified properties.
|
|
11613
11625
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -26613,6 +26613,7 @@ $root.userdomain = (function() {
|
|
|
26613
26613
|
* @property {boolean|null} [isHeadspaceStaff] User isHeadspaceStaff
|
|
26614
26614
|
* @property {boolean|null} [isTestUser] User isTestUser
|
|
26615
26615
|
* @property {Array.<userdomain.users.UserTag>|null} [tags] User tags
|
|
26616
|
+
* @property {boolean|null} [isAnonymousUser] User isAnonymousUser
|
|
26616
26617
|
*/
|
|
26617
26618
|
|
|
26618
26619
|
/**
|
|
@@ -26775,6 +26776,14 @@ $root.userdomain = (function() {
|
|
|
26775
26776
|
*/
|
|
26776
26777
|
User.prototype.tags = $util.emptyArray;
|
|
26777
26778
|
|
|
26779
|
+
/**
|
|
26780
|
+
* User isAnonymousUser.
|
|
26781
|
+
* @member {boolean} isAnonymousUser
|
|
26782
|
+
* @memberof userdomain.users.User
|
|
26783
|
+
* @instance
|
|
26784
|
+
*/
|
|
26785
|
+
User.prototype.isAnonymousUser = false;
|
|
26786
|
+
|
|
26778
26787
|
/**
|
|
26779
26788
|
* Creates a new User instance using the specified properties.
|
|
26780
26789
|
* @function create
|
|
@@ -26839,6 +26848,8 @@ $root.userdomain = (function() {
|
|
|
26839
26848
|
writer.int32(message.tags[i]);
|
|
26840
26849
|
writer.ldelim();
|
|
26841
26850
|
}
|
|
26851
|
+
if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
|
|
26852
|
+
writer.uint32(/* id 19, wireType 0 =*/152).bool(message.isAnonymousUser);
|
|
26842
26853
|
return writer;
|
|
26843
26854
|
};
|
|
26844
26855
|
|
|
@@ -26934,6 +26945,9 @@ $root.userdomain = (function() {
|
|
|
26934
26945
|
} else
|
|
26935
26946
|
message.tags.push(reader.int32());
|
|
26936
26947
|
break;
|
|
26948
|
+
case 19:
|
|
26949
|
+
message.isAnonymousUser = reader.bool();
|
|
26950
|
+
break;
|
|
26937
26951
|
default:
|
|
26938
26952
|
reader.skipType(tag & 7);
|
|
26939
26953
|
break;
|
|
@@ -27051,6 +27065,9 @@ $root.userdomain = (function() {
|
|
|
27051
27065
|
break;
|
|
27052
27066
|
}
|
|
27053
27067
|
}
|
|
27068
|
+
if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
|
|
27069
|
+
if (typeof message.isAnonymousUser !== "boolean")
|
|
27070
|
+
return "isAnonymousUser: boolean expected";
|
|
27054
27071
|
return null;
|
|
27055
27072
|
};
|
|
27056
27073
|
|
|
@@ -27169,6 +27186,8 @@ $root.userdomain = (function() {
|
|
|
27169
27186
|
break;
|
|
27170
27187
|
}
|
|
27171
27188
|
}
|
|
27189
|
+
if (object.isAnonymousUser != null)
|
|
27190
|
+
message.isAnonymousUser = Boolean(object.isAnonymousUser);
|
|
27172
27191
|
return message;
|
|
27173
27192
|
};
|
|
27174
27193
|
|
|
@@ -27205,6 +27224,7 @@ $root.userdomain = (function() {
|
|
|
27205
27224
|
object.emailNormalizedSha256 = "";
|
|
27206
27225
|
object.isHeadspaceStaff = false;
|
|
27207
27226
|
object.isTestUser = false;
|
|
27227
|
+
object.isAnonymousUser = false;
|
|
27208
27228
|
}
|
|
27209
27229
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
27210
27230
|
object.hsId = message.hsId;
|
|
@@ -27245,6 +27265,8 @@ $root.userdomain = (function() {
|
|
|
27245
27265
|
for (var j = 0; j < message.tags.length; ++j)
|
|
27246
27266
|
object.tags[j] = options.enums === String ? $root.userdomain.users.UserTag[message.tags[j]] : message.tags[j];
|
|
27247
27267
|
}
|
|
27268
|
+
if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
|
|
27269
|
+
object.isAnonymousUser = message.isAnonymousUser;
|
|
27248
27270
|
return object;
|
|
27249
27271
|
};
|
|
27250
27272
|
|
|
@@ -28397,6 +28419,7 @@ $root.ConnectionLinked = (function() {
|
|
|
28397
28419
|
* @property {string|null} [hsId] ConnectionLinked hsId
|
|
28398
28420
|
* @property {auth0.connections.Connection|null} [connection] ConnectionLinked connection
|
|
28399
28421
|
* @property {number|Long|null} [linkedAt] ConnectionLinked linkedAt
|
|
28422
|
+
* @property {string|null} [userConnectionId] ConnectionLinked userConnectionId
|
|
28400
28423
|
*/
|
|
28401
28424
|
|
|
28402
28425
|
/**
|
|
@@ -28438,6 +28461,14 @@ $root.ConnectionLinked = (function() {
|
|
|
28438
28461
|
*/
|
|
28439
28462
|
ConnectionLinked.prototype.linkedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
28440
28463
|
|
|
28464
|
+
/**
|
|
28465
|
+
* ConnectionLinked userConnectionId.
|
|
28466
|
+
* @member {string} userConnectionId
|
|
28467
|
+
* @memberof ConnectionLinked
|
|
28468
|
+
* @instance
|
|
28469
|
+
*/
|
|
28470
|
+
ConnectionLinked.prototype.userConnectionId = "";
|
|
28471
|
+
|
|
28441
28472
|
/**
|
|
28442
28473
|
* Creates a new ConnectionLinked instance using the specified properties.
|
|
28443
28474
|
* @function create
|
|
@@ -28468,6 +28499,8 @@ $root.ConnectionLinked = (function() {
|
|
|
28468
28499
|
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.connection);
|
|
28469
28500
|
if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
|
|
28470
28501
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.linkedAt);
|
|
28502
|
+
if (message.userConnectionId != null && message.hasOwnProperty("userConnectionId"))
|
|
28503
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.userConnectionId);
|
|
28471
28504
|
return writer;
|
|
28472
28505
|
};
|
|
28473
28506
|
|
|
@@ -28511,6 +28544,9 @@ $root.ConnectionLinked = (function() {
|
|
|
28511
28544
|
case 3:
|
|
28512
28545
|
message.linkedAt = reader.uint64();
|
|
28513
28546
|
break;
|
|
28547
|
+
case 4:
|
|
28548
|
+
message.userConnectionId = reader.string();
|
|
28549
|
+
break;
|
|
28514
28550
|
default:
|
|
28515
28551
|
reader.skipType(tag & 7);
|
|
28516
28552
|
break;
|
|
@@ -28569,6 +28605,9 @@ $root.ConnectionLinked = (function() {
|
|
|
28569
28605
|
if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
|
|
28570
28606
|
if (!$util.isInteger(message.linkedAt) && !(message.linkedAt && $util.isInteger(message.linkedAt.low) && $util.isInteger(message.linkedAt.high)))
|
|
28571
28607
|
return "linkedAt: integer|Long expected";
|
|
28608
|
+
if (message.userConnectionId != null && message.hasOwnProperty("userConnectionId"))
|
|
28609
|
+
if (!$util.isString(message.userConnectionId))
|
|
28610
|
+
return "userConnectionId: string expected";
|
|
28572
28611
|
return null;
|
|
28573
28612
|
};
|
|
28574
28613
|
|
|
@@ -28641,6 +28680,8 @@ $root.ConnectionLinked = (function() {
|
|
|
28641
28680
|
message.linkedAt = object.linkedAt;
|
|
28642
28681
|
else if (typeof object.linkedAt === "object")
|
|
28643
28682
|
message.linkedAt = new $util.LongBits(object.linkedAt.low >>> 0, object.linkedAt.high >>> 0).toNumber(true);
|
|
28683
|
+
if (object.userConnectionId != null)
|
|
28684
|
+
message.userConnectionId = String(object.userConnectionId);
|
|
28644
28685
|
return message;
|
|
28645
28686
|
};
|
|
28646
28687
|
|
|
@@ -28665,6 +28706,7 @@ $root.ConnectionLinked = (function() {
|
|
|
28665
28706
|
object.linkedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
28666
28707
|
} else
|
|
28667
28708
|
object.linkedAt = options.longs === String ? "0" : 0;
|
|
28709
|
+
object.userConnectionId = "";
|
|
28668
28710
|
}
|
|
28669
28711
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
28670
28712
|
object.hsId = message.hsId;
|
|
@@ -28675,6 +28717,8 @@ $root.ConnectionLinked = (function() {
|
|
|
28675
28717
|
object.linkedAt = options.longs === String ? String(message.linkedAt) : message.linkedAt;
|
|
28676
28718
|
else
|
|
28677
28719
|
object.linkedAt = options.longs === String ? $util.Long.prototype.toString.call(message.linkedAt) : options.longs === Number ? new $util.LongBits(message.linkedAt.low >>> 0, message.linkedAt.high >>> 0).toNumber(true) : message.linkedAt;
|
|
28720
|
+
if (message.userConnectionId != null && message.hasOwnProperty("userConnectionId"))
|
|
28721
|
+
object.userConnectionId = message.userConnectionId;
|
|
28678
28722
|
return object;
|
|
28679
28723
|
};
|
|
28680
28724
|
|
package/package.json
CHANGED