@headspace/protos-events 1.259.0 → 1.261.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 CHANGED
@@ -4977,6 +4977,237 @@ export namespace content {
4977
4977
  public toJSON(): { [k: string]: any };
4978
4978
  }
4979
4979
 
4980
+ /** Represents a UserActivityManager */
4981
+ class UserActivityManager extends $protobuf.rpc.Service {
4982
+
4983
+ /**
4984
+ * Constructs a new UserActivityManager service.
4985
+ * @param rpcImpl RPC implementation
4986
+ * @param [requestDelimited=false] Whether requests are length-delimited
4987
+ * @param [responseDelimited=false] Whether responses are length-delimited
4988
+ */
4989
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
4990
+
4991
+ /**
4992
+ * Creates new UserActivityManager service using the specified rpc implementation.
4993
+ * @param rpcImpl RPC implementation
4994
+ * @param [requestDelimited=false] Whether requests are length-delimited
4995
+ * @param [responseDelimited=false] Whether responses are length-delimited
4996
+ * @returns RPC service. Useful where requests and/or responses are streamed.
4997
+ */
4998
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): UserActivityManager;
4999
+
5000
+ /**
5001
+ * Calls unlockActivity.
5002
+ * @param request UnlockActivityRequest message or plain object
5003
+ * @param callback Node-style callback called with the error, if any, and UnlockActivityResponse
5004
+ */
5005
+ public unlockActivity(request: content.IUnlockActivityRequest, callback: content.UserActivityManager.unlockActivityCallback): void;
5006
+
5007
+ /**
5008
+ * Calls unlockActivity.
5009
+ * @param request UnlockActivityRequest message or plain object
5010
+ * @returns Promise
5011
+ */
5012
+ public unlockActivity(request: content.IUnlockActivityRequest): Promise<content.UnlockActivityResponse>;
5013
+ }
5014
+
5015
+ namespace UserActivityManager {
5016
+
5017
+ /**
5018
+ * Callback as used by {@link content.UserActivityManager#unlockActivity}.
5019
+ * @param error Error, if any
5020
+ * @param [response] UnlockActivityResponse
5021
+ */
5022
+ type unlockActivityCallback = (error: (Error|null), response?: content.UnlockActivityResponse) => void;
5023
+ }
5024
+
5025
+ /** Properties of an UnlockActivityRequest. */
5026
+ interface IUnlockActivityRequest {
5027
+
5028
+ /** UnlockActivityRequest activityId */
5029
+ activityId?: (number|null);
5030
+
5031
+ /** UnlockActivityRequest userId */
5032
+ userId?: (string|null);
5033
+ }
5034
+
5035
+ /** Represents an UnlockActivityRequest. */
5036
+ class UnlockActivityRequest implements IUnlockActivityRequest {
5037
+
5038
+ /**
5039
+ * Constructs a new UnlockActivityRequest.
5040
+ * @param [properties] Properties to set
5041
+ */
5042
+ constructor(properties?: content.IUnlockActivityRequest);
5043
+
5044
+ /** UnlockActivityRequest activityId. */
5045
+ public activityId: number;
5046
+
5047
+ /** UnlockActivityRequest userId. */
5048
+ public userId: string;
5049
+
5050
+ /**
5051
+ * Creates a new UnlockActivityRequest instance using the specified properties.
5052
+ * @param [properties] Properties to set
5053
+ * @returns UnlockActivityRequest instance
5054
+ */
5055
+ public static create(properties?: content.IUnlockActivityRequest): content.UnlockActivityRequest;
5056
+
5057
+ /**
5058
+ * Encodes the specified UnlockActivityRequest message. Does not implicitly {@link content.UnlockActivityRequest.verify|verify} messages.
5059
+ * @param message UnlockActivityRequest message or plain object to encode
5060
+ * @param [writer] Writer to encode to
5061
+ * @returns Writer
5062
+ */
5063
+ public static encode(message: content.IUnlockActivityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5064
+
5065
+ /**
5066
+ * Encodes the specified UnlockActivityRequest message, length delimited. Does not implicitly {@link content.UnlockActivityRequest.verify|verify} messages.
5067
+ * @param message UnlockActivityRequest message or plain object to encode
5068
+ * @param [writer] Writer to encode to
5069
+ * @returns Writer
5070
+ */
5071
+ public static encodeDelimited(message: content.IUnlockActivityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5072
+
5073
+ /**
5074
+ * Decodes an UnlockActivityRequest message from the specified reader or buffer.
5075
+ * @param reader Reader or buffer to decode from
5076
+ * @param [length] Message length if known beforehand
5077
+ * @returns UnlockActivityRequest
5078
+ * @throws {Error} If the payload is not a reader or valid buffer
5079
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5080
+ */
5081
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UnlockActivityRequest;
5082
+
5083
+ /**
5084
+ * Decodes an UnlockActivityRequest message from the specified reader or buffer, length delimited.
5085
+ * @param reader Reader or buffer to decode from
5086
+ * @returns UnlockActivityRequest
5087
+ * @throws {Error} If the payload is not a reader or valid buffer
5088
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5089
+ */
5090
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UnlockActivityRequest;
5091
+
5092
+ /**
5093
+ * Verifies an UnlockActivityRequest message.
5094
+ * @param message Plain object to verify
5095
+ * @returns `null` if valid, otherwise the reason why it is not
5096
+ */
5097
+ public static verify(message: { [k: string]: any }): (string|null);
5098
+
5099
+ /**
5100
+ * Creates an UnlockActivityRequest message from a plain object. Also converts values to their respective internal types.
5101
+ * @param object Plain object
5102
+ * @returns UnlockActivityRequest
5103
+ */
5104
+ public static fromObject(object: { [k: string]: any }): content.UnlockActivityRequest;
5105
+
5106
+ /**
5107
+ * Creates a plain object from an UnlockActivityRequest message. Also converts values to other types if specified.
5108
+ * @param message UnlockActivityRequest
5109
+ * @param [options] Conversion options
5110
+ * @returns Plain object
5111
+ */
5112
+ public static toObject(message: content.UnlockActivityRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
5113
+
5114
+ /**
5115
+ * Converts this UnlockActivityRequest to JSON.
5116
+ * @returns JSON object
5117
+ */
5118
+ public toJSON(): { [k: string]: any };
5119
+ }
5120
+
5121
+ /** Properties of an UnlockActivityResponse. */
5122
+ interface IUnlockActivityResponse {
5123
+
5124
+ /** UnlockActivityResponse success */
5125
+ success?: (boolean|null);
5126
+ }
5127
+
5128
+ /** Represents an UnlockActivityResponse. */
5129
+ class UnlockActivityResponse implements IUnlockActivityResponse {
5130
+
5131
+ /**
5132
+ * Constructs a new UnlockActivityResponse.
5133
+ * @param [properties] Properties to set
5134
+ */
5135
+ constructor(properties?: content.IUnlockActivityResponse);
5136
+
5137
+ /** UnlockActivityResponse success. */
5138
+ public success: boolean;
5139
+
5140
+ /**
5141
+ * Creates a new UnlockActivityResponse instance using the specified properties.
5142
+ * @param [properties] Properties to set
5143
+ * @returns UnlockActivityResponse instance
5144
+ */
5145
+ public static create(properties?: content.IUnlockActivityResponse): content.UnlockActivityResponse;
5146
+
5147
+ /**
5148
+ * Encodes the specified UnlockActivityResponse message. Does not implicitly {@link content.UnlockActivityResponse.verify|verify} messages.
5149
+ * @param message UnlockActivityResponse message or plain object to encode
5150
+ * @param [writer] Writer to encode to
5151
+ * @returns Writer
5152
+ */
5153
+ public static encode(message: content.IUnlockActivityResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5154
+
5155
+ /**
5156
+ * Encodes the specified UnlockActivityResponse message, length delimited. Does not implicitly {@link content.UnlockActivityResponse.verify|verify} messages.
5157
+ * @param message UnlockActivityResponse message or plain object to encode
5158
+ * @param [writer] Writer to encode to
5159
+ * @returns Writer
5160
+ */
5161
+ public static encodeDelimited(message: content.IUnlockActivityResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5162
+
5163
+ /**
5164
+ * Decodes an UnlockActivityResponse message from the specified reader or buffer.
5165
+ * @param reader Reader or buffer to decode from
5166
+ * @param [length] Message length if known beforehand
5167
+ * @returns UnlockActivityResponse
5168
+ * @throws {Error} If the payload is not a reader or valid buffer
5169
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5170
+ */
5171
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): content.UnlockActivityResponse;
5172
+
5173
+ /**
5174
+ * Decodes an UnlockActivityResponse message from the specified reader or buffer, length delimited.
5175
+ * @param reader Reader or buffer to decode from
5176
+ * @returns UnlockActivityResponse
5177
+ * @throws {Error} If the payload is not a reader or valid buffer
5178
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5179
+ */
5180
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): content.UnlockActivityResponse;
5181
+
5182
+ /**
5183
+ * Verifies an UnlockActivityResponse message.
5184
+ * @param message Plain object to verify
5185
+ * @returns `null` if valid, otherwise the reason why it is not
5186
+ */
5187
+ public static verify(message: { [k: string]: any }): (string|null);
5188
+
5189
+ /**
5190
+ * Creates an UnlockActivityResponse message from a plain object. Also converts values to their respective internal types.
5191
+ * @param object Plain object
5192
+ * @returns UnlockActivityResponse
5193
+ */
5194
+ public static fromObject(object: { [k: string]: any }): content.UnlockActivityResponse;
5195
+
5196
+ /**
5197
+ * Creates a plain object from an UnlockActivityResponse message. Also converts values to other types if specified.
5198
+ * @param message UnlockActivityResponse
5199
+ * @param [options] Conversion options
5200
+ * @returns Plain object
5201
+ */
5202
+ public static toObject(message: content.UnlockActivityResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
5203
+
5204
+ /**
5205
+ * Converts this UnlockActivityResponse to JSON.
5206
+ * @returns JSON object
5207
+ */
5208
+ public toJSON(): { [k: string]: any };
5209
+ }
5210
+
4980
5211
  /** Represents a UserStatManager */
4981
5212
  class UserStatManager extends $protobuf.rpc.Service {
4982
5213
 
@@ -20062,6 +20293,108 @@ export class UserDomainEnabledPhiProtection implements IUserDomainEnabledPhiProt
20062
20293
  public toJSON(): { [k: string]: any };
20063
20294
  }
20064
20295
 
20296
+ /** Properties of a UserDomainIsAnonymousUserUpdated. */
20297
+ export interface IUserDomainIsAnonymousUserUpdated {
20298
+
20299
+ /** UserDomainIsAnonymousUserUpdated hsId */
20300
+ hsId?: (string|null);
20301
+
20302
+ /** UserDomainIsAnonymousUserUpdated isAnonymousUser */
20303
+ isAnonymousUser?: (boolean|null);
20304
+
20305
+ /** UserDomainIsAnonymousUserUpdated updatedAt */
20306
+ updatedAt?: (number|Long|null);
20307
+ }
20308
+
20309
+ /** Represents a UserDomainIsAnonymousUserUpdated. */
20310
+ export class UserDomainIsAnonymousUserUpdated implements IUserDomainIsAnonymousUserUpdated {
20311
+
20312
+ /**
20313
+ * Constructs a new UserDomainIsAnonymousUserUpdated.
20314
+ * @param [properties] Properties to set
20315
+ */
20316
+ constructor(properties?: IUserDomainIsAnonymousUserUpdated);
20317
+
20318
+ /** UserDomainIsAnonymousUserUpdated hsId. */
20319
+ public hsId: string;
20320
+
20321
+ /** UserDomainIsAnonymousUserUpdated isAnonymousUser. */
20322
+ public isAnonymousUser: boolean;
20323
+
20324
+ /** UserDomainIsAnonymousUserUpdated updatedAt. */
20325
+ public updatedAt: (number|Long);
20326
+
20327
+ /**
20328
+ * Creates a new UserDomainIsAnonymousUserUpdated instance using the specified properties.
20329
+ * @param [properties] Properties to set
20330
+ * @returns UserDomainIsAnonymousUserUpdated instance
20331
+ */
20332
+ public static create(properties?: IUserDomainIsAnonymousUserUpdated): UserDomainIsAnonymousUserUpdated;
20333
+
20334
+ /**
20335
+ * Encodes the specified UserDomainIsAnonymousUserUpdated message. Does not implicitly {@link UserDomainIsAnonymousUserUpdated.verify|verify} messages.
20336
+ * @param message UserDomainIsAnonymousUserUpdated message or plain object to encode
20337
+ * @param [writer] Writer to encode to
20338
+ * @returns Writer
20339
+ */
20340
+ public static encode(message: IUserDomainIsAnonymousUserUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
20341
+
20342
+ /**
20343
+ * Encodes the specified UserDomainIsAnonymousUserUpdated message, length delimited. Does not implicitly {@link UserDomainIsAnonymousUserUpdated.verify|verify} messages.
20344
+ * @param message UserDomainIsAnonymousUserUpdated message or plain object to encode
20345
+ * @param [writer] Writer to encode to
20346
+ * @returns Writer
20347
+ */
20348
+ public static encodeDelimited(message: IUserDomainIsAnonymousUserUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
20349
+
20350
+ /**
20351
+ * Decodes a UserDomainIsAnonymousUserUpdated message from the specified reader or buffer.
20352
+ * @param reader Reader or buffer to decode from
20353
+ * @param [length] Message length if known beforehand
20354
+ * @returns UserDomainIsAnonymousUserUpdated
20355
+ * @throws {Error} If the payload is not a reader or valid buffer
20356
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20357
+ */
20358
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDomainIsAnonymousUserUpdated;
20359
+
20360
+ /**
20361
+ * Decodes a UserDomainIsAnonymousUserUpdated message from the specified reader or buffer, length delimited.
20362
+ * @param reader Reader or buffer to decode from
20363
+ * @returns UserDomainIsAnonymousUserUpdated
20364
+ * @throws {Error} If the payload is not a reader or valid buffer
20365
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20366
+ */
20367
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDomainIsAnonymousUserUpdated;
20368
+
20369
+ /**
20370
+ * Verifies a UserDomainIsAnonymousUserUpdated message.
20371
+ * @param message Plain object to verify
20372
+ * @returns `null` if valid, otherwise the reason why it is not
20373
+ */
20374
+ public static verify(message: { [k: string]: any }): (string|null);
20375
+
20376
+ /**
20377
+ * Creates a UserDomainIsAnonymousUserUpdated message from a plain object. Also converts values to their respective internal types.
20378
+ * @param object Plain object
20379
+ * @returns UserDomainIsAnonymousUserUpdated
20380
+ */
20381
+ public static fromObject(object: { [k: string]: any }): UserDomainIsAnonymousUserUpdated;
20382
+
20383
+ /**
20384
+ * Creates a plain object from a UserDomainIsAnonymousUserUpdated message. Also converts values to other types if specified.
20385
+ * @param message UserDomainIsAnonymousUserUpdated
20386
+ * @param [options] Conversion options
20387
+ * @returns Plain object
20388
+ */
20389
+ public static toObject(message: UserDomainIsAnonymousUserUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
20390
+
20391
+ /**
20392
+ * Converts this UserDomainIsAnonymousUserUpdated to JSON.
20393
+ * @returns JSON object
20394
+ */
20395
+ public toJSON(): { [k: string]: any };
20396
+ }
20397
+
20065
20398
  /** Properties of a UserDomainLoggedIn. */
20066
20399
  export interface IUserDomainLoggedIn {
20067
20400
 
package/lib/index.js CHANGED
@@ -12041,6 +12041,471 @@ $root.content = (function() {
12041
12041
  return UserActivity;
12042
12042
  })();
12043
12043
 
12044
+ content.UserActivityManager = (function() {
12045
+
12046
+ /**
12047
+ * Constructs a new UserActivityManager service.
12048
+ * @memberof content
12049
+ * @classdesc Represents a UserActivityManager
12050
+ * @extends $protobuf.rpc.Service
12051
+ * @constructor
12052
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
12053
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
12054
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
12055
+ */
12056
+ function UserActivityManager(rpcImpl, requestDelimited, responseDelimited) {
12057
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
12058
+ }
12059
+
12060
+ (UserActivityManager.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = UserActivityManager;
12061
+
12062
+ /**
12063
+ * Creates new UserActivityManager service using the specified rpc implementation.
12064
+ * @function create
12065
+ * @memberof content.UserActivityManager
12066
+ * @static
12067
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
12068
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
12069
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
12070
+ * @returns {UserActivityManager} RPC service. Useful where requests and/or responses are streamed.
12071
+ */
12072
+ UserActivityManager.create = function create(rpcImpl, requestDelimited, responseDelimited) {
12073
+ return new this(rpcImpl, requestDelimited, responseDelimited);
12074
+ };
12075
+
12076
+ /**
12077
+ * Callback as used by {@link content.UserActivityManager#unlockActivity}.
12078
+ * @memberof content.UserActivityManager
12079
+ * @typedef unlockActivityCallback
12080
+ * @type {function}
12081
+ * @param {Error|null} error Error, if any
12082
+ * @param {content.UnlockActivityResponse} [response] UnlockActivityResponse
12083
+ */
12084
+
12085
+ /**
12086
+ * Calls unlockActivity.
12087
+ * @function unlockActivity
12088
+ * @memberof content.UserActivityManager
12089
+ * @instance
12090
+ * @param {content.IUnlockActivityRequest} request UnlockActivityRequest message or plain object
12091
+ * @param {content.UserActivityManager.unlockActivityCallback} callback Node-style callback called with the error, if any, and UnlockActivityResponse
12092
+ * @returns {undefined}
12093
+ * @variation 1
12094
+ */
12095
+ Object.defineProperty(UserActivityManager.prototype.unlockActivity = function unlockActivity(request, callback) {
12096
+ return this.rpcCall(unlockActivity, $root.content.UnlockActivityRequest, $root.content.UnlockActivityResponse, request, callback);
12097
+ }, "name", { value: "unlockActivity" });
12098
+
12099
+ /**
12100
+ * Calls unlockActivity.
12101
+ * @function unlockActivity
12102
+ * @memberof content.UserActivityManager
12103
+ * @instance
12104
+ * @param {content.IUnlockActivityRequest} request UnlockActivityRequest message or plain object
12105
+ * @returns {Promise<content.UnlockActivityResponse>} Promise
12106
+ * @variation 2
12107
+ */
12108
+
12109
+ return UserActivityManager;
12110
+ })();
12111
+
12112
+ content.UnlockActivityRequest = (function() {
12113
+
12114
+ /**
12115
+ * Properties of an UnlockActivityRequest.
12116
+ * @memberof content
12117
+ * @interface IUnlockActivityRequest
12118
+ * @property {number|null} [activityId] UnlockActivityRequest activityId
12119
+ * @property {string|null} [userId] UnlockActivityRequest userId
12120
+ */
12121
+
12122
+ /**
12123
+ * Constructs a new UnlockActivityRequest.
12124
+ * @memberof content
12125
+ * @classdesc Represents an UnlockActivityRequest.
12126
+ * @implements IUnlockActivityRequest
12127
+ * @constructor
12128
+ * @param {content.IUnlockActivityRequest=} [properties] Properties to set
12129
+ */
12130
+ function UnlockActivityRequest(properties) {
12131
+ if (properties)
12132
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
12133
+ if (properties[keys[i]] != null)
12134
+ this[keys[i]] = properties[keys[i]];
12135
+ }
12136
+
12137
+ /**
12138
+ * UnlockActivityRequest activityId.
12139
+ * @member {number} activityId
12140
+ * @memberof content.UnlockActivityRequest
12141
+ * @instance
12142
+ */
12143
+ UnlockActivityRequest.prototype.activityId = 0;
12144
+
12145
+ /**
12146
+ * UnlockActivityRequest userId.
12147
+ * @member {string} userId
12148
+ * @memberof content.UnlockActivityRequest
12149
+ * @instance
12150
+ */
12151
+ UnlockActivityRequest.prototype.userId = "";
12152
+
12153
+ /**
12154
+ * Creates a new UnlockActivityRequest instance using the specified properties.
12155
+ * @function create
12156
+ * @memberof content.UnlockActivityRequest
12157
+ * @static
12158
+ * @param {content.IUnlockActivityRequest=} [properties] Properties to set
12159
+ * @returns {content.UnlockActivityRequest} UnlockActivityRequest instance
12160
+ */
12161
+ UnlockActivityRequest.create = function create(properties) {
12162
+ return new UnlockActivityRequest(properties);
12163
+ };
12164
+
12165
+ /**
12166
+ * Encodes the specified UnlockActivityRequest message. Does not implicitly {@link content.UnlockActivityRequest.verify|verify} messages.
12167
+ * @function encode
12168
+ * @memberof content.UnlockActivityRequest
12169
+ * @static
12170
+ * @param {content.IUnlockActivityRequest} message UnlockActivityRequest message or plain object to encode
12171
+ * @param {$protobuf.Writer} [writer] Writer to encode to
12172
+ * @returns {$protobuf.Writer} Writer
12173
+ */
12174
+ UnlockActivityRequest.encode = function encode(message, writer) {
12175
+ if (!writer)
12176
+ writer = $Writer.create();
12177
+ if (message.activityId != null && message.hasOwnProperty("activityId"))
12178
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.activityId);
12179
+ if (message.userId != null && message.hasOwnProperty("userId"))
12180
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.userId);
12181
+ return writer;
12182
+ };
12183
+
12184
+ /**
12185
+ * Encodes the specified UnlockActivityRequest message, length delimited. Does not implicitly {@link content.UnlockActivityRequest.verify|verify} messages.
12186
+ * @function encodeDelimited
12187
+ * @memberof content.UnlockActivityRequest
12188
+ * @static
12189
+ * @param {content.IUnlockActivityRequest} message UnlockActivityRequest message or plain object to encode
12190
+ * @param {$protobuf.Writer} [writer] Writer to encode to
12191
+ * @returns {$protobuf.Writer} Writer
12192
+ */
12193
+ UnlockActivityRequest.encodeDelimited = function encodeDelimited(message, writer) {
12194
+ return this.encode(message, writer).ldelim();
12195
+ };
12196
+
12197
+ /**
12198
+ * Decodes an UnlockActivityRequest message from the specified reader or buffer.
12199
+ * @function decode
12200
+ * @memberof content.UnlockActivityRequest
12201
+ * @static
12202
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
12203
+ * @param {number} [length] Message length if known beforehand
12204
+ * @returns {content.UnlockActivityRequest} UnlockActivityRequest
12205
+ * @throws {Error} If the payload is not a reader or valid buffer
12206
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12207
+ */
12208
+ UnlockActivityRequest.decode = function decode(reader, length) {
12209
+ if (!(reader instanceof $Reader))
12210
+ reader = $Reader.create(reader);
12211
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.content.UnlockActivityRequest();
12212
+ while (reader.pos < end) {
12213
+ var tag = reader.uint32();
12214
+ switch (tag >>> 3) {
12215
+ case 1:
12216
+ message.activityId = reader.int32();
12217
+ break;
12218
+ case 2:
12219
+ message.userId = reader.string();
12220
+ break;
12221
+ default:
12222
+ reader.skipType(tag & 7);
12223
+ break;
12224
+ }
12225
+ }
12226
+ return message;
12227
+ };
12228
+
12229
+ /**
12230
+ * Decodes an UnlockActivityRequest message from the specified reader or buffer, length delimited.
12231
+ * @function decodeDelimited
12232
+ * @memberof content.UnlockActivityRequest
12233
+ * @static
12234
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
12235
+ * @returns {content.UnlockActivityRequest} UnlockActivityRequest
12236
+ * @throws {Error} If the payload is not a reader or valid buffer
12237
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12238
+ */
12239
+ UnlockActivityRequest.decodeDelimited = function decodeDelimited(reader) {
12240
+ if (!(reader instanceof $Reader))
12241
+ reader = new $Reader(reader);
12242
+ return this.decode(reader, reader.uint32());
12243
+ };
12244
+
12245
+ /**
12246
+ * Verifies an UnlockActivityRequest message.
12247
+ * @function verify
12248
+ * @memberof content.UnlockActivityRequest
12249
+ * @static
12250
+ * @param {Object.<string,*>} message Plain object to verify
12251
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
12252
+ */
12253
+ UnlockActivityRequest.verify = function verify(message) {
12254
+ if (typeof message !== "object" || message === null)
12255
+ return "object expected";
12256
+ if (message.activityId != null && message.hasOwnProperty("activityId"))
12257
+ if (!$util.isInteger(message.activityId))
12258
+ return "activityId: integer expected";
12259
+ if (message.userId != null && message.hasOwnProperty("userId"))
12260
+ if (!$util.isString(message.userId))
12261
+ return "userId: string expected";
12262
+ return null;
12263
+ };
12264
+
12265
+ /**
12266
+ * Creates an UnlockActivityRequest message from a plain object. Also converts values to their respective internal types.
12267
+ * @function fromObject
12268
+ * @memberof content.UnlockActivityRequest
12269
+ * @static
12270
+ * @param {Object.<string,*>} object Plain object
12271
+ * @returns {content.UnlockActivityRequest} UnlockActivityRequest
12272
+ */
12273
+ UnlockActivityRequest.fromObject = function fromObject(object) {
12274
+ if (object instanceof $root.content.UnlockActivityRequest)
12275
+ return object;
12276
+ var message = new $root.content.UnlockActivityRequest();
12277
+ if (object.activityId != null)
12278
+ message.activityId = object.activityId | 0;
12279
+ if (object.userId != null)
12280
+ message.userId = String(object.userId);
12281
+ return message;
12282
+ };
12283
+
12284
+ /**
12285
+ * Creates a plain object from an UnlockActivityRequest message. Also converts values to other types if specified.
12286
+ * @function toObject
12287
+ * @memberof content.UnlockActivityRequest
12288
+ * @static
12289
+ * @param {content.UnlockActivityRequest} message UnlockActivityRequest
12290
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
12291
+ * @returns {Object.<string,*>} Plain object
12292
+ */
12293
+ UnlockActivityRequest.toObject = function toObject(message, options) {
12294
+ if (!options)
12295
+ options = {};
12296
+ var object = {};
12297
+ if (options.defaults) {
12298
+ object.activityId = 0;
12299
+ object.userId = "";
12300
+ }
12301
+ if (message.activityId != null && message.hasOwnProperty("activityId"))
12302
+ object.activityId = message.activityId;
12303
+ if (message.userId != null && message.hasOwnProperty("userId"))
12304
+ object.userId = message.userId;
12305
+ return object;
12306
+ };
12307
+
12308
+ /**
12309
+ * Converts this UnlockActivityRequest to JSON.
12310
+ * @function toJSON
12311
+ * @memberof content.UnlockActivityRequest
12312
+ * @instance
12313
+ * @returns {Object.<string,*>} JSON object
12314
+ */
12315
+ UnlockActivityRequest.prototype.toJSON = function toJSON() {
12316
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
12317
+ };
12318
+
12319
+ return UnlockActivityRequest;
12320
+ })();
12321
+
12322
+ content.UnlockActivityResponse = (function() {
12323
+
12324
+ /**
12325
+ * Properties of an UnlockActivityResponse.
12326
+ * @memberof content
12327
+ * @interface IUnlockActivityResponse
12328
+ * @property {boolean|null} [success] UnlockActivityResponse success
12329
+ */
12330
+
12331
+ /**
12332
+ * Constructs a new UnlockActivityResponse.
12333
+ * @memberof content
12334
+ * @classdesc Represents an UnlockActivityResponse.
12335
+ * @implements IUnlockActivityResponse
12336
+ * @constructor
12337
+ * @param {content.IUnlockActivityResponse=} [properties] Properties to set
12338
+ */
12339
+ function UnlockActivityResponse(properties) {
12340
+ if (properties)
12341
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
12342
+ if (properties[keys[i]] != null)
12343
+ this[keys[i]] = properties[keys[i]];
12344
+ }
12345
+
12346
+ /**
12347
+ * UnlockActivityResponse success.
12348
+ * @member {boolean} success
12349
+ * @memberof content.UnlockActivityResponse
12350
+ * @instance
12351
+ */
12352
+ UnlockActivityResponse.prototype.success = false;
12353
+
12354
+ /**
12355
+ * Creates a new UnlockActivityResponse instance using the specified properties.
12356
+ * @function create
12357
+ * @memberof content.UnlockActivityResponse
12358
+ * @static
12359
+ * @param {content.IUnlockActivityResponse=} [properties] Properties to set
12360
+ * @returns {content.UnlockActivityResponse} UnlockActivityResponse instance
12361
+ */
12362
+ UnlockActivityResponse.create = function create(properties) {
12363
+ return new UnlockActivityResponse(properties);
12364
+ };
12365
+
12366
+ /**
12367
+ * Encodes the specified UnlockActivityResponse message. Does not implicitly {@link content.UnlockActivityResponse.verify|verify} messages.
12368
+ * @function encode
12369
+ * @memberof content.UnlockActivityResponse
12370
+ * @static
12371
+ * @param {content.IUnlockActivityResponse} message UnlockActivityResponse message or plain object to encode
12372
+ * @param {$protobuf.Writer} [writer] Writer to encode to
12373
+ * @returns {$protobuf.Writer} Writer
12374
+ */
12375
+ UnlockActivityResponse.encode = function encode(message, writer) {
12376
+ if (!writer)
12377
+ writer = $Writer.create();
12378
+ if (message.success != null && message.hasOwnProperty("success"))
12379
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.success);
12380
+ return writer;
12381
+ };
12382
+
12383
+ /**
12384
+ * Encodes the specified UnlockActivityResponse message, length delimited. Does not implicitly {@link content.UnlockActivityResponse.verify|verify} messages.
12385
+ * @function encodeDelimited
12386
+ * @memberof content.UnlockActivityResponse
12387
+ * @static
12388
+ * @param {content.IUnlockActivityResponse} message UnlockActivityResponse message or plain object to encode
12389
+ * @param {$protobuf.Writer} [writer] Writer to encode to
12390
+ * @returns {$protobuf.Writer} Writer
12391
+ */
12392
+ UnlockActivityResponse.encodeDelimited = function encodeDelimited(message, writer) {
12393
+ return this.encode(message, writer).ldelim();
12394
+ };
12395
+
12396
+ /**
12397
+ * Decodes an UnlockActivityResponse message from the specified reader or buffer.
12398
+ * @function decode
12399
+ * @memberof content.UnlockActivityResponse
12400
+ * @static
12401
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
12402
+ * @param {number} [length] Message length if known beforehand
12403
+ * @returns {content.UnlockActivityResponse} UnlockActivityResponse
12404
+ * @throws {Error} If the payload is not a reader or valid buffer
12405
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12406
+ */
12407
+ UnlockActivityResponse.decode = function decode(reader, length) {
12408
+ if (!(reader instanceof $Reader))
12409
+ reader = $Reader.create(reader);
12410
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.content.UnlockActivityResponse();
12411
+ while (reader.pos < end) {
12412
+ var tag = reader.uint32();
12413
+ switch (tag >>> 3) {
12414
+ case 1:
12415
+ message.success = reader.bool();
12416
+ break;
12417
+ default:
12418
+ reader.skipType(tag & 7);
12419
+ break;
12420
+ }
12421
+ }
12422
+ return message;
12423
+ };
12424
+
12425
+ /**
12426
+ * Decodes an UnlockActivityResponse message from the specified reader or buffer, length delimited.
12427
+ * @function decodeDelimited
12428
+ * @memberof content.UnlockActivityResponse
12429
+ * @static
12430
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
12431
+ * @returns {content.UnlockActivityResponse} UnlockActivityResponse
12432
+ * @throws {Error} If the payload is not a reader or valid buffer
12433
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12434
+ */
12435
+ UnlockActivityResponse.decodeDelimited = function decodeDelimited(reader) {
12436
+ if (!(reader instanceof $Reader))
12437
+ reader = new $Reader(reader);
12438
+ return this.decode(reader, reader.uint32());
12439
+ };
12440
+
12441
+ /**
12442
+ * Verifies an UnlockActivityResponse message.
12443
+ * @function verify
12444
+ * @memberof content.UnlockActivityResponse
12445
+ * @static
12446
+ * @param {Object.<string,*>} message Plain object to verify
12447
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
12448
+ */
12449
+ UnlockActivityResponse.verify = function verify(message) {
12450
+ if (typeof message !== "object" || message === null)
12451
+ return "object expected";
12452
+ if (message.success != null && message.hasOwnProperty("success"))
12453
+ if (typeof message.success !== "boolean")
12454
+ return "success: boolean expected";
12455
+ return null;
12456
+ };
12457
+
12458
+ /**
12459
+ * Creates an UnlockActivityResponse message from a plain object. Also converts values to their respective internal types.
12460
+ * @function fromObject
12461
+ * @memberof content.UnlockActivityResponse
12462
+ * @static
12463
+ * @param {Object.<string,*>} object Plain object
12464
+ * @returns {content.UnlockActivityResponse} UnlockActivityResponse
12465
+ */
12466
+ UnlockActivityResponse.fromObject = function fromObject(object) {
12467
+ if (object instanceof $root.content.UnlockActivityResponse)
12468
+ return object;
12469
+ var message = new $root.content.UnlockActivityResponse();
12470
+ if (object.success != null)
12471
+ message.success = Boolean(object.success);
12472
+ return message;
12473
+ };
12474
+
12475
+ /**
12476
+ * Creates a plain object from an UnlockActivityResponse message. Also converts values to other types if specified.
12477
+ * @function toObject
12478
+ * @memberof content.UnlockActivityResponse
12479
+ * @static
12480
+ * @param {content.UnlockActivityResponse} message UnlockActivityResponse
12481
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
12482
+ * @returns {Object.<string,*>} Plain object
12483
+ */
12484
+ UnlockActivityResponse.toObject = function toObject(message, options) {
12485
+ if (!options)
12486
+ options = {};
12487
+ var object = {};
12488
+ if (options.defaults)
12489
+ object.success = false;
12490
+ if (message.success != null && message.hasOwnProperty("success"))
12491
+ object.success = message.success;
12492
+ return object;
12493
+ };
12494
+
12495
+ /**
12496
+ * Converts this UnlockActivityResponse to JSON.
12497
+ * @function toJSON
12498
+ * @memberof content.UnlockActivityResponse
12499
+ * @instance
12500
+ * @returns {Object.<string,*>} JSON object
12501
+ */
12502
+ UnlockActivityResponse.prototype.toJSON = function toJSON() {
12503
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
12504
+ };
12505
+
12506
+ return UnlockActivityResponse;
12507
+ })();
12508
+
12044
12509
  content.UserStatManager = (function() {
12045
12510
 
12046
12511
  /**
@@ -54300,6 +54765,252 @@ $root.UserDomainEnabledPhiProtection = (function() {
54300
54765
  return UserDomainEnabledPhiProtection;
54301
54766
  })();
54302
54767
 
54768
+ $root.UserDomainIsAnonymousUserUpdated = (function() {
54769
+
54770
+ /**
54771
+ * Properties of a UserDomainIsAnonymousUserUpdated.
54772
+ * @exports IUserDomainIsAnonymousUserUpdated
54773
+ * @interface IUserDomainIsAnonymousUserUpdated
54774
+ * @property {string|null} [hsId] UserDomainIsAnonymousUserUpdated hsId
54775
+ * @property {boolean|null} [isAnonymousUser] UserDomainIsAnonymousUserUpdated isAnonymousUser
54776
+ * @property {number|Long|null} [updatedAt] UserDomainIsAnonymousUserUpdated updatedAt
54777
+ */
54778
+
54779
+ /**
54780
+ * Constructs a new UserDomainIsAnonymousUserUpdated.
54781
+ * @exports UserDomainIsAnonymousUserUpdated
54782
+ * @classdesc Represents a UserDomainIsAnonymousUserUpdated.
54783
+ * @implements IUserDomainIsAnonymousUserUpdated
54784
+ * @constructor
54785
+ * @param {IUserDomainIsAnonymousUserUpdated=} [properties] Properties to set
54786
+ */
54787
+ function UserDomainIsAnonymousUserUpdated(properties) {
54788
+ if (properties)
54789
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
54790
+ if (properties[keys[i]] != null)
54791
+ this[keys[i]] = properties[keys[i]];
54792
+ }
54793
+
54794
+ /**
54795
+ * UserDomainIsAnonymousUserUpdated hsId.
54796
+ * @member {string} hsId
54797
+ * @memberof UserDomainIsAnonymousUserUpdated
54798
+ * @instance
54799
+ */
54800
+ UserDomainIsAnonymousUserUpdated.prototype.hsId = "";
54801
+
54802
+ /**
54803
+ * UserDomainIsAnonymousUserUpdated isAnonymousUser.
54804
+ * @member {boolean} isAnonymousUser
54805
+ * @memberof UserDomainIsAnonymousUserUpdated
54806
+ * @instance
54807
+ */
54808
+ UserDomainIsAnonymousUserUpdated.prototype.isAnonymousUser = false;
54809
+
54810
+ /**
54811
+ * UserDomainIsAnonymousUserUpdated updatedAt.
54812
+ * @member {number|Long} updatedAt
54813
+ * @memberof UserDomainIsAnonymousUserUpdated
54814
+ * @instance
54815
+ */
54816
+ UserDomainIsAnonymousUserUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
54817
+
54818
+ /**
54819
+ * Creates a new UserDomainIsAnonymousUserUpdated instance using the specified properties.
54820
+ * @function create
54821
+ * @memberof UserDomainIsAnonymousUserUpdated
54822
+ * @static
54823
+ * @param {IUserDomainIsAnonymousUserUpdated=} [properties] Properties to set
54824
+ * @returns {UserDomainIsAnonymousUserUpdated} UserDomainIsAnonymousUserUpdated instance
54825
+ */
54826
+ UserDomainIsAnonymousUserUpdated.create = function create(properties) {
54827
+ return new UserDomainIsAnonymousUserUpdated(properties);
54828
+ };
54829
+
54830
+ /**
54831
+ * Encodes the specified UserDomainIsAnonymousUserUpdated message. Does not implicitly {@link UserDomainIsAnonymousUserUpdated.verify|verify} messages.
54832
+ * @function encode
54833
+ * @memberof UserDomainIsAnonymousUserUpdated
54834
+ * @static
54835
+ * @param {IUserDomainIsAnonymousUserUpdated} message UserDomainIsAnonymousUserUpdated message or plain object to encode
54836
+ * @param {$protobuf.Writer} [writer] Writer to encode to
54837
+ * @returns {$protobuf.Writer} Writer
54838
+ */
54839
+ UserDomainIsAnonymousUserUpdated.encode = function encode(message, writer) {
54840
+ if (!writer)
54841
+ writer = $Writer.create();
54842
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
54843
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
54844
+ if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
54845
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isAnonymousUser);
54846
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
54847
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.updatedAt);
54848
+ return writer;
54849
+ };
54850
+
54851
+ /**
54852
+ * Encodes the specified UserDomainIsAnonymousUserUpdated message, length delimited. Does not implicitly {@link UserDomainIsAnonymousUserUpdated.verify|verify} messages.
54853
+ * @function encodeDelimited
54854
+ * @memberof UserDomainIsAnonymousUserUpdated
54855
+ * @static
54856
+ * @param {IUserDomainIsAnonymousUserUpdated} message UserDomainIsAnonymousUserUpdated message or plain object to encode
54857
+ * @param {$protobuf.Writer} [writer] Writer to encode to
54858
+ * @returns {$protobuf.Writer} Writer
54859
+ */
54860
+ UserDomainIsAnonymousUserUpdated.encodeDelimited = function encodeDelimited(message, writer) {
54861
+ return this.encode(message, writer).ldelim();
54862
+ };
54863
+
54864
+ /**
54865
+ * Decodes a UserDomainIsAnonymousUserUpdated message from the specified reader or buffer.
54866
+ * @function decode
54867
+ * @memberof UserDomainIsAnonymousUserUpdated
54868
+ * @static
54869
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
54870
+ * @param {number} [length] Message length if known beforehand
54871
+ * @returns {UserDomainIsAnonymousUserUpdated} UserDomainIsAnonymousUserUpdated
54872
+ * @throws {Error} If the payload is not a reader or valid buffer
54873
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
54874
+ */
54875
+ UserDomainIsAnonymousUserUpdated.decode = function decode(reader, length) {
54876
+ if (!(reader instanceof $Reader))
54877
+ reader = $Reader.create(reader);
54878
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDomainIsAnonymousUserUpdated();
54879
+ while (reader.pos < end) {
54880
+ var tag = reader.uint32();
54881
+ switch (tag >>> 3) {
54882
+ case 1:
54883
+ message.hsId = reader.string();
54884
+ break;
54885
+ case 2:
54886
+ message.isAnonymousUser = reader.bool();
54887
+ break;
54888
+ case 3:
54889
+ message.updatedAt = reader.uint64();
54890
+ break;
54891
+ default:
54892
+ reader.skipType(tag & 7);
54893
+ break;
54894
+ }
54895
+ }
54896
+ return message;
54897
+ };
54898
+
54899
+ /**
54900
+ * Decodes a UserDomainIsAnonymousUserUpdated message from the specified reader or buffer, length delimited.
54901
+ * @function decodeDelimited
54902
+ * @memberof UserDomainIsAnonymousUserUpdated
54903
+ * @static
54904
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
54905
+ * @returns {UserDomainIsAnonymousUserUpdated} UserDomainIsAnonymousUserUpdated
54906
+ * @throws {Error} If the payload is not a reader or valid buffer
54907
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
54908
+ */
54909
+ UserDomainIsAnonymousUserUpdated.decodeDelimited = function decodeDelimited(reader) {
54910
+ if (!(reader instanceof $Reader))
54911
+ reader = new $Reader(reader);
54912
+ return this.decode(reader, reader.uint32());
54913
+ };
54914
+
54915
+ /**
54916
+ * Verifies a UserDomainIsAnonymousUserUpdated message.
54917
+ * @function verify
54918
+ * @memberof UserDomainIsAnonymousUserUpdated
54919
+ * @static
54920
+ * @param {Object.<string,*>} message Plain object to verify
54921
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
54922
+ */
54923
+ UserDomainIsAnonymousUserUpdated.verify = function verify(message) {
54924
+ if (typeof message !== "object" || message === null)
54925
+ return "object expected";
54926
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
54927
+ if (!$util.isString(message.hsId))
54928
+ return "hsId: string expected";
54929
+ if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
54930
+ if (typeof message.isAnonymousUser !== "boolean")
54931
+ return "isAnonymousUser: boolean expected";
54932
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
54933
+ if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
54934
+ return "updatedAt: integer|Long expected";
54935
+ return null;
54936
+ };
54937
+
54938
+ /**
54939
+ * Creates a UserDomainIsAnonymousUserUpdated message from a plain object. Also converts values to their respective internal types.
54940
+ * @function fromObject
54941
+ * @memberof UserDomainIsAnonymousUserUpdated
54942
+ * @static
54943
+ * @param {Object.<string,*>} object Plain object
54944
+ * @returns {UserDomainIsAnonymousUserUpdated} UserDomainIsAnonymousUserUpdated
54945
+ */
54946
+ UserDomainIsAnonymousUserUpdated.fromObject = function fromObject(object) {
54947
+ if (object instanceof $root.UserDomainIsAnonymousUserUpdated)
54948
+ return object;
54949
+ var message = new $root.UserDomainIsAnonymousUserUpdated();
54950
+ if (object.hsId != null)
54951
+ message.hsId = String(object.hsId);
54952
+ if (object.isAnonymousUser != null)
54953
+ message.isAnonymousUser = Boolean(object.isAnonymousUser);
54954
+ if (object.updatedAt != null)
54955
+ if ($util.Long)
54956
+ (message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
54957
+ else if (typeof object.updatedAt === "string")
54958
+ message.updatedAt = parseInt(object.updatedAt, 10);
54959
+ else if (typeof object.updatedAt === "number")
54960
+ message.updatedAt = object.updatedAt;
54961
+ else if (typeof object.updatedAt === "object")
54962
+ message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
54963
+ return message;
54964
+ };
54965
+
54966
+ /**
54967
+ * Creates a plain object from a UserDomainIsAnonymousUserUpdated message. Also converts values to other types if specified.
54968
+ * @function toObject
54969
+ * @memberof UserDomainIsAnonymousUserUpdated
54970
+ * @static
54971
+ * @param {UserDomainIsAnonymousUserUpdated} message UserDomainIsAnonymousUserUpdated
54972
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
54973
+ * @returns {Object.<string,*>} Plain object
54974
+ */
54975
+ UserDomainIsAnonymousUserUpdated.toObject = function toObject(message, options) {
54976
+ if (!options)
54977
+ options = {};
54978
+ var object = {};
54979
+ if (options.defaults) {
54980
+ object.hsId = "";
54981
+ object.isAnonymousUser = false;
54982
+ if ($util.Long) {
54983
+ var long = new $util.Long(0, 0, true);
54984
+ object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
54985
+ } else
54986
+ object.updatedAt = options.longs === String ? "0" : 0;
54987
+ }
54988
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
54989
+ object.hsId = message.hsId;
54990
+ if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
54991
+ object.isAnonymousUser = message.isAnonymousUser;
54992
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
54993
+ if (typeof message.updatedAt === "number")
54994
+ object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
54995
+ else
54996
+ object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
54997
+ return object;
54998
+ };
54999
+
55000
+ /**
55001
+ * Converts this UserDomainIsAnonymousUserUpdated to JSON.
55002
+ * @function toJSON
55003
+ * @memberof UserDomainIsAnonymousUserUpdated
55004
+ * @instance
55005
+ * @returns {Object.<string,*>} JSON object
55006
+ */
55007
+ UserDomainIsAnonymousUserUpdated.prototype.toJSON = function toJSON() {
55008
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
55009
+ };
55010
+
55011
+ return UserDomainIsAnonymousUserUpdated;
55012
+ })();
55013
+
54303
55014
  $root.UserDomainLoggedIn = (function() {
54304
55015
 
54305
55016
  /**
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.259.0"
19
+ "version": "1.261.0"
20
20
  }