@headspace/protos-events 1.256.0 → 1.257.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 +6 -0
- package/lib/index.js +22 -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
|
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
|
|
package/package.json
CHANGED