@headspace/protos-events 1.79.0 → 1.81.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 +478 -0
- package/lib/index.js +1297 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -5559,6 +5559,42 @@ $root.userdomain = (function() {
|
|
|
5559
5559
|
return values;
|
|
5560
5560
|
})();
|
|
5561
5561
|
|
|
5562
|
+
/**
|
|
5563
|
+
* LoginStatus enum.
|
|
5564
|
+
* @name userdomain.LoginStatus
|
|
5565
|
+
* @enum {string}
|
|
5566
|
+
* @property {number} LOGIN_UNKNOWN=0 LOGIN_UNKNOWN value
|
|
5567
|
+
* @property {number} LOGIN_SUCCESS=1 LOGIN_SUCCESS value
|
|
5568
|
+
* @property {number} LOGIN_FAIL=2 LOGIN_FAIL value
|
|
5569
|
+
*/
|
|
5570
|
+
userdomain.LoginStatus = (function() {
|
|
5571
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
5572
|
+
values[valuesById[0] = "LOGIN_UNKNOWN"] = 0;
|
|
5573
|
+
values[valuesById[1] = "LOGIN_SUCCESS"] = 1;
|
|
5574
|
+
values[valuesById[2] = "LOGIN_FAIL"] = 2;
|
|
5575
|
+
return values;
|
|
5576
|
+
})();
|
|
5577
|
+
|
|
5578
|
+
/**
|
|
5579
|
+
* ConnectionSource enum.
|
|
5580
|
+
* @name userdomain.ConnectionSource
|
|
5581
|
+
* @enum {string}
|
|
5582
|
+
* @property {number} CONNSRC_UNKNOWN=0 CONNSRC_UNKNOWN value
|
|
5583
|
+
* @property {number} CONNSRC_EMAIL=1 CONNSRC_EMAIL value
|
|
5584
|
+
* @property {number} CONNSRC_FACEBOOK=2 CONNSRC_FACEBOOK value
|
|
5585
|
+
* @property {number} CONNSRC_SPOTIFY=3 CONNSRC_SPOTIFY value
|
|
5586
|
+
* @property {number} CONNSRC_APPLE=4 CONNSRC_APPLE value
|
|
5587
|
+
*/
|
|
5588
|
+
userdomain.ConnectionSource = (function() {
|
|
5589
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
5590
|
+
values[valuesById[0] = "CONNSRC_UNKNOWN"] = 0;
|
|
5591
|
+
values[valuesById[1] = "CONNSRC_EMAIL"] = 1;
|
|
5592
|
+
values[valuesById[2] = "CONNSRC_FACEBOOK"] = 2;
|
|
5593
|
+
values[valuesById[3] = "CONNSRC_SPOTIFY"] = 3;
|
|
5594
|
+
values[valuesById[4] = "CONNSRC_APPLE"] = 4;
|
|
5595
|
+
return values;
|
|
5596
|
+
})();
|
|
5597
|
+
|
|
5562
5598
|
return userdomain;
|
|
5563
5599
|
})();
|
|
5564
5600
|
|
|
@@ -7026,6 +7062,375 @@ $root.UserDomainDeleted = (function() {
|
|
|
7026
7062
|
return UserDomainDeleted;
|
|
7027
7063
|
})();
|
|
7028
7064
|
|
|
7065
|
+
$root.UserDomainLoggedIn = (function() {
|
|
7066
|
+
|
|
7067
|
+
/**
|
|
7068
|
+
* Properties of a UserDomainLoggedIn.
|
|
7069
|
+
* @exports IUserDomainLoggedIn
|
|
7070
|
+
* @interface IUserDomainLoggedIn
|
|
7071
|
+
* @property {string|null} [hsId] UserDomainLoggedIn hsId
|
|
7072
|
+
* @property {number|Long|null} [loginTimestamp] UserDomainLoggedIn loginTimestamp
|
|
7073
|
+
* @property {userdomain.LoginStatus|null} [loginStatus] UserDomainLoggedIn loginStatus
|
|
7074
|
+
* @property {userdomain.Platform|null} [loginPlatform] UserDomainLoggedIn loginPlatform
|
|
7075
|
+
* @property {userdomain.ConnectionSource|null} [loginConnectionSource] UserDomainLoggedIn loginConnectionSource
|
|
7076
|
+
*/
|
|
7077
|
+
|
|
7078
|
+
/**
|
|
7079
|
+
* Constructs a new UserDomainLoggedIn.
|
|
7080
|
+
* @exports UserDomainLoggedIn
|
|
7081
|
+
* @classdesc Represents a UserDomainLoggedIn.
|
|
7082
|
+
* @implements IUserDomainLoggedIn
|
|
7083
|
+
* @constructor
|
|
7084
|
+
* @param {IUserDomainLoggedIn=} [properties] Properties to set
|
|
7085
|
+
*/
|
|
7086
|
+
function UserDomainLoggedIn(properties) {
|
|
7087
|
+
if (properties)
|
|
7088
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
7089
|
+
if (properties[keys[i]] != null)
|
|
7090
|
+
this[keys[i]] = properties[keys[i]];
|
|
7091
|
+
}
|
|
7092
|
+
|
|
7093
|
+
/**
|
|
7094
|
+
* UserDomainLoggedIn hsId.
|
|
7095
|
+
* @member {string} hsId
|
|
7096
|
+
* @memberof UserDomainLoggedIn
|
|
7097
|
+
* @instance
|
|
7098
|
+
*/
|
|
7099
|
+
UserDomainLoggedIn.prototype.hsId = "";
|
|
7100
|
+
|
|
7101
|
+
/**
|
|
7102
|
+
* UserDomainLoggedIn loginTimestamp.
|
|
7103
|
+
* @member {number|Long} loginTimestamp
|
|
7104
|
+
* @memberof UserDomainLoggedIn
|
|
7105
|
+
* @instance
|
|
7106
|
+
*/
|
|
7107
|
+
UserDomainLoggedIn.prototype.loginTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
7108
|
+
|
|
7109
|
+
/**
|
|
7110
|
+
* UserDomainLoggedIn loginStatus.
|
|
7111
|
+
* @member {userdomain.LoginStatus} loginStatus
|
|
7112
|
+
* @memberof UserDomainLoggedIn
|
|
7113
|
+
* @instance
|
|
7114
|
+
*/
|
|
7115
|
+
UserDomainLoggedIn.prototype.loginStatus = 0;
|
|
7116
|
+
|
|
7117
|
+
/**
|
|
7118
|
+
* UserDomainLoggedIn loginPlatform.
|
|
7119
|
+
* @member {userdomain.Platform} loginPlatform
|
|
7120
|
+
* @memberof UserDomainLoggedIn
|
|
7121
|
+
* @instance
|
|
7122
|
+
*/
|
|
7123
|
+
UserDomainLoggedIn.prototype.loginPlatform = 0;
|
|
7124
|
+
|
|
7125
|
+
/**
|
|
7126
|
+
* UserDomainLoggedIn loginConnectionSource.
|
|
7127
|
+
* @member {userdomain.ConnectionSource} loginConnectionSource
|
|
7128
|
+
* @memberof UserDomainLoggedIn
|
|
7129
|
+
* @instance
|
|
7130
|
+
*/
|
|
7131
|
+
UserDomainLoggedIn.prototype.loginConnectionSource = 0;
|
|
7132
|
+
|
|
7133
|
+
/**
|
|
7134
|
+
* Creates a new UserDomainLoggedIn instance using the specified properties.
|
|
7135
|
+
* @function create
|
|
7136
|
+
* @memberof UserDomainLoggedIn
|
|
7137
|
+
* @static
|
|
7138
|
+
* @param {IUserDomainLoggedIn=} [properties] Properties to set
|
|
7139
|
+
* @returns {UserDomainLoggedIn} UserDomainLoggedIn instance
|
|
7140
|
+
*/
|
|
7141
|
+
UserDomainLoggedIn.create = function create(properties) {
|
|
7142
|
+
return new UserDomainLoggedIn(properties);
|
|
7143
|
+
};
|
|
7144
|
+
|
|
7145
|
+
/**
|
|
7146
|
+
* Encodes the specified UserDomainLoggedIn message. Does not implicitly {@link UserDomainLoggedIn.verify|verify} messages.
|
|
7147
|
+
* @function encode
|
|
7148
|
+
* @memberof UserDomainLoggedIn
|
|
7149
|
+
* @static
|
|
7150
|
+
* @param {IUserDomainLoggedIn} message UserDomainLoggedIn message or plain object to encode
|
|
7151
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
7152
|
+
* @returns {$protobuf.Writer} Writer
|
|
7153
|
+
*/
|
|
7154
|
+
UserDomainLoggedIn.encode = function encode(message, writer) {
|
|
7155
|
+
if (!writer)
|
|
7156
|
+
writer = $Writer.create();
|
|
7157
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
7158
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
|
|
7159
|
+
if (message.loginTimestamp != null && message.hasOwnProperty("loginTimestamp"))
|
|
7160
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.loginTimestamp);
|
|
7161
|
+
if (message.loginStatus != null && message.hasOwnProperty("loginStatus"))
|
|
7162
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.loginStatus);
|
|
7163
|
+
if (message.loginPlatform != null && message.hasOwnProperty("loginPlatform"))
|
|
7164
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.loginPlatform);
|
|
7165
|
+
if (message.loginConnectionSource != null && message.hasOwnProperty("loginConnectionSource"))
|
|
7166
|
+
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.loginConnectionSource);
|
|
7167
|
+
return writer;
|
|
7168
|
+
};
|
|
7169
|
+
|
|
7170
|
+
/**
|
|
7171
|
+
* Encodes the specified UserDomainLoggedIn message, length delimited. Does not implicitly {@link UserDomainLoggedIn.verify|verify} messages.
|
|
7172
|
+
* @function encodeDelimited
|
|
7173
|
+
* @memberof UserDomainLoggedIn
|
|
7174
|
+
* @static
|
|
7175
|
+
* @param {IUserDomainLoggedIn} message UserDomainLoggedIn message or plain object to encode
|
|
7176
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
7177
|
+
* @returns {$protobuf.Writer} Writer
|
|
7178
|
+
*/
|
|
7179
|
+
UserDomainLoggedIn.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7180
|
+
return this.encode(message, writer).ldelim();
|
|
7181
|
+
};
|
|
7182
|
+
|
|
7183
|
+
/**
|
|
7184
|
+
* Decodes a UserDomainLoggedIn message from the specified reader or buffer.
|
|
7185
|
+
* @function decode
|
|
7186
|
+
* @memberof UserDomainLoggedIn
|
|
7187
|
+
* @static
|
|
7188
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
7189
|
+
* @param {number} [length] Message length if known beforehand
|
|
7190
|
+
* @returns {UserDomainLoggedIn} UserDomainLoggedIn
|
|
7191
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7192
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7193
|
+
*/
|
|
7194
|
+
UserDomainLoggedIn.decode = function decode(reader, length) {
|
|
7195
|
+
if (!(reader instanceof $Reader))
|
|
7196
|
+
reader = $Reader.create(reader);
|
|
7197
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDomainLoggedIn();
|
|
7198
|
+
while (reader.pos < end) {
|
|
7199
|
+
var tag = reader.uint32();
|
|
7200
|
+
switch (tag >>> 3) {
|
|
7201
|
+
case 1:
|
|
7202
|
+
message.hsId = reader.string();
|
|
7203
|
+
break;
|
|
7204
|
+
case 2:
|
|
7205
|
+
message.loginTimestamp = reader.uint64();
|
|
7206
|
+
break;
|
|
7207
|
+
case 3:
|
|
7208
|
+
message.loginStatus = reader.int32();
|
|
7209
|
+
break;
|
|
7210
|
+
case 4:
|
|
7211
|
+
message.loginPlatform = reader.int32();
|
|
7212
|
+
break;
|
|
7213
|
+
case 5:
|
|
7214
|
+
message.loginConnectionSource = reader.int32();
|
|
7215
|
+
break;
|
|
7216
|
+
default:
|
|
7217
|
+
reader.skipType(tag & 7);
|
|
7218
|
+
break;
|
|
7219
|
+
}
|
|
7220
|
+
}
|
|
7221
|
+
return message;
|
|
7222
|
+
};
|
|
7223
|
+
|
|
7224
|
+
/**
|
|
7225
|
+
* Decodes a UserDomainLoggedIn message from the specified reader or buffer, length delimited.
|
|
7226
|
+
* @function decodeDelimited
|
|
7227
|
+
* @memberof UserDomainLoggedIn
|
|
7228
|
+
* @static
|
|
7229
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
7230
|
+
* @returns {UserDomainLoggedIn} UserDomainLoggedIn
|
|
7231
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7232
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7233
|
+
*/
|
|
7234
|
+
UserDomainLoggedIn.decodeDelimited = function decodeDelimited(reader) {
|
|
7235
|
+
if (!(reader instanceof $Reader))
|
|
7236
|
+
reader = new $Reader(reader);
|
|
7237
|
+
return this.decode(reader, reader.uint32());
|
|
7238
|
+
};
|
|
7239
|
+
|
|
7240
|
+
/**
|
|
7241
|
+
* Verifies a UserDomainLoggedIn message.
|
|
7242
|
+
* @function verify
|
|
7243
|
+
* @memberof UserDomainLoggedIn
|
|
7244
|
+
* @static
|
|
7245
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
7246
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
7247
|
+
*/
|
|
7248
|
+
UserDomainLoggedIn.verify = function verify(message) {
|
|
7249
|
+
if (typeof message !== "object" || message === null)
|
|
7250
|
+
return "object expected";
|
|
7251
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
7252
|
+
if (!$util.isString(message.hsId))
|
|
7253
|
+
return "hsId: string expected";
|
|
7254
|
+
if (message.loginTimestamp != null && message.hasOwnProperty("loginTimestamp"))
|
|
7255
|
+
if (!$util.isInteger(message.loginTimestamp) && !(message.loginTimestamp && $util.isInteger(message.loginTimestamp.low) && $util.isInteger(message.loginTimestamp.high)))
|
|
7256
|
+
return "loginTimestamp: integer|Long expected";
|
|
7257
|
+
if (message.loginStatus != null && message.hasOwnProperty("loginStatus"))
|
|
7258
|
+
switch (message.loginStatus) {
|
|
7259
|
+
default:
|
|
7260
|
+
return "loginStatus: enum value expected";
|
|
7261
|
+
case 0:
|
|
7262
|
+
case 1:
|
|
7263
|
+
case 2:
|
|
7264
|
+
break;
|
|
7265
|
+
}
|
|
7266
|
+
if (message.loginPlatform != null && message.hasOwnProperty("loginPlatform"))
|
|
7267
|
+
switch (message.loginPlatform) {
|
|
7268
|
+
default:
|
|
7269
|
+
return "loginPlatform: enum value expected";
|
|
7270
|
+
case 0:
|
|
7271
|
+
case 1:
|
|
7272
|
+
case 2:
|
|
7273
|
+
case 3:
|
|
7274
|
+
case 4:
|
|
7275
|
+
case 5:
|
|
7276
|
+
break;
|
|
7277
|
+
}
|
|
7278
|
+
if (message.loginConnectionSource != null && message.hasOwnProperty("loginConnectionSource"))
|
|
7279
|
+
switch (message.loginConnectionSource) {
|
|
7280
|
+
default:
|
|
7281
|
+
return "loginConnectionSource: enum value expected";
|
|
7282
|
+
case 0:
|
|
7283
|
+
case 1:
|
|
7284
|
+
case 2:
|
|
7285
|
+
case 3:
|
|
7286
|
+
case 4:
|
|
7287
|
+
break;
|
|
7288
|
+
}
|
|
7289
|
+
return null;
|
|
7290
|
+
};
|
|
7291
|
+
|
|
7292
|
+
/**
|
|
7293
|
+
* Creates a UserDomainLoggedIn message from a plain object. Also converts values to their respective internal types.
|
|
7294
|
+
* @function fromObject
|
|
7295
|
+
* @memberof UserDomainLoggedIn
|
|
7296
|
+
* @static
|
|
7297
|
+
* @param {Object.<string,*>} object Plain object
|
|
7298
|
+
* @returns {UserDomainLoggedIn} UserDomainLoggedIn
|
|
7299
|
+
*/
|
|
7300
|
+
UserDomainLoggedIn.fromObject = function fromObject(object) {
|
|
7301
|
+
if (object instanceof $root.UserDomainLoggedIn)
|
|
7302
|
+
return object;
|
|
7303
|
+
var message = new $root.UserDomainLoggedIn();
|
|
7304
|
+
if (object.hsId != null)
|
|
7305
|
+
message.hsId = String(object.hsId);
|
|
7306
|
+
if (object.loginTimestamp != null)
|
|
7307
|
+
if ($util.Long)
|
|
7308
|
+
(message.loginTimestamp = $util.Long.fromValue(object.loginTimestamp)).unsigned = true;
|
|
7309
|
+
else if (typeof object.loginTimestamp === "string")
|
|
7310
|
+
message.loginTimestamp = parseInt(object.loginTimestamp, 10);
|
|
7311
|
+
else if (typeof object.loginTimestamp === "number")
|
|
7312
|
+
message.loginTimestamp = object.loginTimestamp;
|
|
7313
|
+
else if (typeof object.loginTimestamp === "object")
|
|
7314
|
+
message.loginTimestamp = new $util.LongBits(object.loginTimestamp.low >>> 0, object.loginTimestamp.high >>> 0).toNumber(true);
|
|
7315
|
+
switch (object.loginStatus) {
|
|
7316
|
+
case "LOGIN_UNKNOWN":
|
|
7317
|
+
case 0:
|
|
7318
|
+
message.loginStatus = 0;
|
|
7319
|
+
break;
|
|
7320
|
+
case "LOGIN_SUCCESS":
|
|
7321
|
+
case 1:
|
|
7322
|
+
message.loginStatus = 1;
|
|
7323
|
+
break;
|
|
7324
|
+
case "LOGIN_FAIL":
|
|
7325
|
+
case 2:
|
|
7326
|
+
message.loginStatus = 2;
|
|
7327
|
+
break;
|
|
7328
|
+
}
|
|
7329
|
+
switch (object.loginPlatform) {
|
|
7330
|
+
case "UNKNOWN_PLATFORM":
|
|
7331
|
+
case 0:
|
|
7332
|
+
message.loginPlatform = 0;
|
|
7333
|
+
break;
|
|
7334
|
+
case "DESKTOP":
|
|
7335
|
+
case 1:
|
|
7336
|
+
message.loginPlatform = 1;
|
|
7337
|
+
break;
|
|
7338
|
+
case "IOS":
|
|
7339
|
+
case 2:
|
|
7340
|
+
message.loginPlatform = 2;
|
|
7341
|
+
break;
|
|
7342
|
+
case "ANDROID":
|
|
7343
|
+
case 3:
|
|
7344
|
+
message.loginPlatform = 3;
|
|
7345
|
+
break;
|
|
7346
|
+
case "ALEXA":
|
|
7347
|
+
case 4:
|
|
7348
|
+
message.loginPlatform = 4;
|
|
7349
|
+
break;
|
|
7350
|
+
case "GOOGLE_ASSISTANT":
|
|
7351
|
+
case 5:
|
|
7352
|
+
message.loginPlatform = 5;
|
|
7353
|
+
break;
|
|
7354
|
+
}
|
|
7355
|
+
switch (object.loginConnectionSource) {
|
|
7356
|
+
case "CONNSRC_UNKNOWN":
|
|
7357
|
+
case 0:
|
|
7358
|
+
message.loginConnectionSource = 0;
|
|
7359
|
+
break;
|
|
7360
|
+
case "CONNSRC_EMAIL":
|
|
7361
|
+
case 1:
|
|
7362
|
+
message.loginConnectionSource = 1;
|
|
7363
|
+
break;
|
|
7364
|
+
case "CONNSRC_FACEBOOK":
|
|
7365
|
+
case 2:
|
|
7366
|
+
message.loginConnectionSource = 2;
|
|
7367
|
+
break;
|
|
7368
|
+
case "CONNSRC_SPOTIFY":
|
|
7369
|
+
case 3:
|
|
7370
|
+
message.loginConnectionSource = 3;
|
|
7371
|
+
break;
|
|
7372
|
+
case "CONNSRC_APPLE":
|
|
7373
|
+
case 4:
|
|
7374
|
+
message.loginConnectionSource = 4;
|
|
7375
|
+
break;
|
|
7376
|
+
}
|
|
7377
|
+
return message;
|
|
7378
|
+
};
|
|
7379
|
+
|
|
7380
|
+
/**
|
|
7381
|
+
* Creates a plain object from a UserDomainLoggedIn message. Also converts values to other types if specified.
|
|
7382
|
+
* @function toObject
|
|
7383
|
+
* @memberof UserDomainLoggedIn
|
|
7384
|
+
* @static
|
|
7385
|
+
* @param {UserDomainLoggedIn} message UserDomainLoggedIn
|
|
7386
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
7387
|
+
* @returns {Object.<string,*>} Plain object
|
|
7388
|
+
*/
|
|
7389
|
+
UserDomainLoggedIn.toObject = function toObject(message, options) {
|
|
7390
|
+
if (!options)
|
|
7391
|
+
options = {};
|
|
7392
|
+
var object = {};
|
|
7393
|
+
if (options.defaults) {
|
|
7394
|
+
object.hsId = "";
|
|
7395
|
+
if ($util.Long) {
|
|
7396
|
+
var long = new $util.Long(0, 0, true);
|
|
7397
|
+
object.loginTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
7398
|
+
} else
|
|
7399
|
+
object.loginTimestamp = options.longs === String ? "0" : 0;
|
|
7400
|
+
object.loginStatus = options.enums === String ? "LOGIN_UNKNOWN" : 0;
|
|
7401
|
+
object.loginPlatform = options.enums === String ? "UNKNOWN_PLATFORM" : 0;
|
|
7402
|
+
object.loginConnectionSource = options.enums === String ? "CONNSRC_UNKNOWN" : 0;
|
|
7403
|
+
}
|
|
7404
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
7405
|
+
object.hsId = message.hsId;
|
|
7406
|
+
if (message.loginTimestamp != null && message.hasOwnProperty("loginTimestamp"))
|
|
7407
|
+
if (typeof message.loginTimestamp === "number")
|
|
7408
|
+
object.loginTimestamp = options.longs === String ? String(message.loginTimestamp) : message.loginTimestamp;
|
|
7409
|
+
else
|
|
7410
|
+
object.loginTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.loginTimestamp) : options.longs === Number ? new $util.LongBits(message.loginTimestamp.low >>> 0, message.loginTimestamp.high >>> 0).toNumber(true) : message.loginTimestamp;
|
|
7411
|
+
if (message.loginStatus != null && message.hasOwnProperty("loginStatus"))
|
|
7412
|
+
object.loginStatus = options.enums === String ? $root.userdomain.LoginStatus[message.loginStatus] : message.loginStatus;
|
|
7413
|
+
if (message.loginPlatform != null && message.hasOwnProperty("loginPlatform"))
|
|
7414
|
+
object.loginPlatform = options.enums === String ? $root.userdomain.Platform[message.loginPlatform] : message.loginPlatform;
|
|
7415
|
+
if (message.loginConnectionSource != null && message.hasOwnProperty("loginConnectionSource"))
|
|
7416
|
+
object.loginConnectionSource = options.enums === String ? $root.userdomain.ConnectionSource[message.loginConnectionSource] : message.loginConnectionSource;
|
|
7417
|
+
return object;
|
|
7418
|
+
};
|
|
7419
|
+
|
|
7420
|
+
/**
|
|
7421
|
+
* Converts this UserDomainLoggedIn to JSON.
|
|
7422
|
+
* @function toJSON
|
|
7423
|
+
* @memberof UserDomainLoggedIn
|
|
7424
|
+
* @instance
|
|
7425
|
+
* @returns {Object.<string,*>} JSON object
|
|
7426
|
+
*/
|
|
7427
|
+
UserDomainLoggedIn.prototype.toJSON = function toJSON() {
|
|
7428
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7429
|
+
};
|
|
7430
|
+
|
|
7431
|
+
return UserDomainLoggedIn;
|
|
7432
|
+
})();
|
|
7433
|
+
|
|
7029
7434
|
$root.UserPasswordResetCreated = (function() {
|
|
7030
7435
|
|
|
7031
7436
|
/**
|
|
@@ -15460,6 +15865,898 @@ $root.SubscriptionAccessGroupMapUpdated = (function() {
|
|
|
15460
15865
|
return SubscriptionAccessGroupMapUpdated;
|
|
15461
15866
|
})();
|
|
15462
15867
|
|
|
15868
|
+
$root.AccessibleEntityCreated = (function() {
|
|
15869
|
+
|
|
15870
|
+
/**
|
|
15871
|
+
* Properties of an AccessibleEntityCreated.
|
|
15872
|
+
* @exports IAccessibleEntityCreated
|
|
15873
|
+
* @interface IAccessibleEntityCreated
|
|
15874
|
+
* @property {string|null} [entityType] AccessibleEntityCreated entityType
|
|
15875
|
+
* @property {string|null} [entityTypeId] AccessibleEntityCreated entityTypeId
|
|
15876
|
+
* @property {string|null} [accessGroupName] AccessibleEntityCreated accessGroupName
|
|
15877
|
+
* @property {boolean|null} [isHidden] AccessibleEntityCreated isHidden
|
|
15878
|
+
* @property {boolean|null} [isLocked] AccessibleEntityCreated isLocked
|
|
15879
|
+
* @property {number|Long|null} [createdAt] AccessibleEntityCreated createdAt
|
|
15880
|
+
*/
|
|
15881
|
+
|
|
15882
|
+
/**
|
|
15883
|
+
* Constructs a new AccessibleEntityCreated.
|
|
15884
|
+
* @exports AccessibleEntityCreated
|
|
15885
|
+
* @classdesc Represents an AccessibleEntityCreated.
|
|
15886
|
+
* @implements IAccessibleEntityCreated
|
|
15887
|
+
* @constructor
|
|
15888
|
+
* @param {IAccessibleEntityCreated=} [properties] Properties to set
|
|
15889
|
+
*/
|
|
15890
|
+
function AccessibleEntityCreated(properties) {
|
|
15891
|
+
if (properties)
|
|
15892
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15893
|
+
if (properties[keys[i]] != null)
|
|
15894
|
+
this[keys[i]] = properties[keys[i]];
|
|
15895
|
+
}
|
|
15896
|
+
|
|
15897
|
+
/**
|
|
15898
|
+
* AccessibleEntityCreated entityType.
|
|
15899
|
+
* @member {string} entityType
|
|
15900
|
+
* @memberof AccessibleEntityCreated
|
|
15901
|
+
* @instance
|
|
15902
|
+
*/
|
|
15903
|
+
AccessibleEntityCreated.prototype.entityType = "";
|
|
15904
|
+
|
|
15905
|
+
/**
|
|
15906
|
+
* AccessibleEntityCreated entityTypeId.
|
|
15907
|
+
* @member {string} entityTypeId
|
|
15908
|
+
* @memberof AccessibleEntityCreated
|
|
15909
|
+
* @instance
|
|
15910
|
+
*/
|
|
15911
|
+
AccessibleEntityCreated.prototype.entityTypeId = "";
|
|
15912
|
+
|
|
15913
|
+
/**
|
|
15914
|
+
* AccessibleEntityCreated accessGroupName.
|
|
15915
|
+
* @member {string} accessGroupName
|
|
15916
|
+
* @memberof AccessibleEntityCreated
|
|
15917
|
+
* @instance
|
|
15918
|
+
*/
|
|
15919
|
+
AccessibleEntityCreated.prototype.accessGroupName = "";
|
|
15920
|
+
|
|
15921
|
+
/**
|
|
15922
|
+
* AccessibleEntityCreated isHidden.
|
|
15923
|
+
* @member {boolean} isHidden
|
|
15924
|
+
* @memberof AccessibleEntityCreated
|
|
15925
|
+
* @instance
|
|
15926
|
+
*/
|
|
15927
|
+
AccessibleEntityCreated.prototype.isHidden = false;
|
|
15928
|
+
|
|
15929
|
+
/**
|
|
15930
|
+
* AccessibleEntityCreated isLocked.
|
|
15931
|
+
* @member {boolean} isLocked
|
|
15932
|
+
* @memberof AccessibleEntityCreated
|
|
15933
|
+
* @instance
|
|
15934
|
+
*/
|
|
15935
|
+
AccessibleEntityCreated.prototype.isLocked = false;
|
|
15936
|
+
|
|
15937
|
+
/**
|
|
15938
|
+
* AccessibleEntityCreated createdAt.
|
|
15939
|
+
* @member {number|Long} createdAt
|
|
15940
|
+
* @memberof AccessibleEntityCreated
|
|
15941
|
+
* @instance
|
|
15942
|
+
*/
|
|
15943
|
+
AccessibleEntityCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
15944
|
+
|
|
15945
|
+
/**
|
|
15946
|
+
* Creates a new AccessibleEntityCreated instance using the specified properties.
|
|
15947
|
+
* @function create
|
|
15948
|
+
* @memberof AccessibleEntityCreated
|
|
15949
|
+
* @static
|
|
15950
|
+
* @param {IAccessibleEntityCreated=} [properties] Properties to set
|
|
15951
|
+
* @returns {AccessibleEntityCreated} AccessibleEntityCreated instance
|
|
15952
|
+
*/
|
|
15953
|
+
AccessibleEntityCreated.create = function create(properties) {
|
|
15954
|
+
return new AccessibleEntityCreated(properties);
|
|
15955
|
+
};
|
|
15956
|
+
|
|
15957
|
+
/**
|
|
15958
|
+
* Encodes the specified AccessibleEntityCreated message. Does not implicitly {@link AccessibleEntityCreated.verify|verify} messages.
|
|
15959
|
+
* @function encode
|
|
15960
|
+
* @memberof AccessibleEntityCreated
|
|
15961
|
+
* @static
|
|
15962
|
+
* @param {IAccessibleEntityCreated} message AccessibleEntityCreated message or plain object to encode
|
|
15963
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15964
|
+
* @returns {$protobuf.Writer} Writer
|
|
15965
|
+
*/
|
|
15966
|
+
AccessibleEntityCreated.encode = function encode(message, writer) {
|
|
15967
|
+
if (!writer)
|
|
15968
|
+
writer = $Writer.create();
|
|
15969
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
15970
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.entityType);
|
|
15971
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
15972
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.entityTypeId);
|
|
15973
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
15974
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.accessGroupName);
|
|
15975
|
+
if (message.isHidden != null && message.hasOwnProperty("isHidden"))
|
|
15976
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isHidden);
|
|
15977
|
+
if (message.isLocked != null && message.hasOwnProperty("isLocked"))
|
|
15978
|
+
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isLocked);
|
|
15979
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
15980
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.createdAt);
|
|
15981
|
+
return writer;
|
|
15982
|
+
};
|
|
15983
|
+
|
|
15984
|
+
/**
|
|
15985
|
+
* Encodes the specified AccessibleEntityCreated message, length delimited. Does not implicitly {@link AccessibleEntityCreated.verify|verify} messages.
|
|
15986
|
+
* @function encodeDelimited
|
|
15987
|
+
* @memberof AccessibleEntityCreated
|
|
15988
|
+
* @static
|
|
15989
|
+
* @param {IAccessibleEntityCreated} message AccessibleEntityCreated message or plain object to encode
|
|
15990
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15991
|
+
* @returns {$protobuf.Writer} Writer
|
|
15992
|
+
*/
|
|
15993
|
+
AccessibleEntityCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15994
|
+
return this.encode(message, writer).ldelim();
|
|
15995
|
+
};
|
|
15996
|
+
|
|
15997
|
+
/**
|
|
15998
|
+
* Decodes an AccessibleEntityCreated message from the specified reader or buffer.
|
|
15999
|
+
* @function decode
|
|
16000
|
+
* @memberof AccessibleEntityCreated
|
|
16001
|
+
* @static
|
|
16002
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
16003
|
+
* @param {number} [length] Message length if known beforehand
|
|
16004
|
+
* @returns {AccessibleEntityCreated} AccessibleEntityCreated
|
|
16005
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16006
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16007
|
+
*/
|
|
16008
|
+
AccessibleEntityCreated.decode = function decode(reader, length) {
|
|
16009
|
+
if (!(reader instanceof $Reader))
|
|
16010
|
+
reader = $Reader.create(reader);
|
|
16011
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AccessibleEntityCreated();
|
|
16012
|
+
while (reader.pos < end) {
|
|
16013
|
+
var tag = reader.uint32();
|
|
16014
|
+
switch (tag >>> 3) {
|
|
16015
|
+
case 1:
|
|
16016
|
+
message.entityType = reader.string();
|
|
16017
|
+
break;
|
|
16018
|
+
case 2:
|
|
16019
|
+
message.entityTypeId = reader.string();
|
|
16020
|
+
break;
|
|
16021
|
+
case 3:
|
|
16022
|
+
message.accessGroupName = reader.string();
|
|
16023
|
+
break;
|
|
16024
|
+
case 4:
|
|
16025
|
+
message.isHidden = reader.bool();
|
|
16026
|
+
break;
|
|
16027
|
+
case 5:
|
|
16028
|
+
message.isLocked = reader.bool();
|
|
16029
|
+
break;
|
|
16030
|
+
case 6:
|
|
16031
|
+
message.createdAt = reader.uint64();
|
|
16032
|
+
break;
|
|
16033
|
+
default:
|
|
16034
|
+
reader.skipType(tag & 7);
|
|
16035
|
+
break;
|
|
16036
|
+
}
|
|
16037
|
+
}
|
|
16038
|
+
return message;
|
|
16039
|
+
};
|
|
16040
|
+
|
|
16041
|
+
/**
|
|
16042
|
+
* Decodes an AccessibleEntityCreated message from the specified reader or buffer, length delimited.
|
|
16043
|
+
* @function decodeDelimited
|
|
16044
|
+
* @memberof AccessibleEntityCreated
|
|
16045
|
+
* @static
|
|
16046
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
16047
|
+
* @returns {AccessibleEntityCreated} AccessibleEntityCreated
|
|
16048
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16049
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16050
|
+
*/
|
|
16051
|
+
AccessibleEntityCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
16052
|
+
if (!(reader instanceof $Reader))
|
|
16053
|
+
reader = new $Reader(reader);
|
|
16054
|
+
return this.decode(reader, reader.uint32());
|
|
16055
|
+
};
|
|
16056
|
+
|
|
16057
|
+
/**
|
|
16058
|
+
* Verifies an AccessibleEntityCreated message.
|
|
16059
|
+
* @function verify
|
|
16060
|
+
* @memberof AccessibleEntityCreated
|
|
16061
|
+
* @static
|
|
16062
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
16063
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
16064
|
+
*/
|
|
16065
|
+
AccessibleEntityCreated.verify = function verify(message) {
|
|
16066
|
+
if (typeof message !== "object" || message === null)
|
|
16067
|
+
return "object expected";
|
|
16068
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
16069
|
+
if (!$util.isString(message.entityType))
|
|
16070
|
+
return "entityType: string expected";
|
|
16071
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
16072
|
+
if (!$util.isString(message.entityTypeId))
|
|
16073
|
+
return "entityTypeId: string expected";
|
|
16074
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16075
|
+
if (!$util.isString(message.accessGroupName))
|
|
16076
|
+
return "accessGroupName: string expected";
|
|
16077
|
+
if (message.isHidden != null && message.hasOwnProperty("isHidden"))
|
|
16078
|
+
if (typeof message.isHidden !== "boolean")
|
|
16079
|
+
return "isHidden: boolean expected";
|
|
16080
|
+
if (message.isLocked != null && message.hasOwnProperty("isLocked"))
|
|
16081
|
+
if (typeof message.isLocked !== "boolean")
|
|
16082
|
+
return "isLocked: boolean expected";
|
|
16083
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
16084
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
16085
|
+
return "createdAt: integer|Long expected";
|
|
16086
|
+
return null;
|
|
16087
|
+
};
|
|
16088
|
+
|
|
16089
|
+
/**
|
|
16090
|
+
* Creates an AccessibleEntityCreated message from a plain object. Also converts values to their respective internal types.
|
|
16091
|
+
* @function fromObject
|
|
16092
|
+
* @memberof AccessibleEntityCreated
|
|
16093
|
+
* @static
|
|
16094
|
+
* @param {Object.<string,*>} object Plain object
|
|
16095
|
+
* @returns {AccessibleEntityCreated} AccessibleEntityCreated
|
|
16096
|
+
*/
|
|
16097
|
+
AccessibleEntityCreated.fromObject = function fromObject(object) {
|
|
16098
|
+
if (object instanceof $root.AccessibleEntityCreated)
|
|
16099
|
+
return object;
|
|
16100
|
+
var message = new $root.AccessibleEntityCreated();
|
|
16101
|
+
if (object.entityType != null)
|
|
16102
|
+
message.entityType = String(object.entityType);
|
|
16103
|
+
if (object.entityTypeId != null)
|
|
16104
|
+
message.entityTypeId = String(object.entityTypeId);
|
|
16105
|
+
if (object.accessGroupName != null)
|
|
16106
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
16107
|
+
if (object.isHidden != null)
|
|
16108
|
+
message.isHidden = Boolean(object.isHidden);
|
|
16109
|
+
if (object.isLocked != null)
|
|
16110
|
+
message.isLocked = Boolean(object.isLocked);
|
|
16111
|
+
if (object.createdAt != null)
|
|
16112
|
+
if ($util.Long)
|
|
16113
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
16114
|
+
else if (typeof object.createdAt === "string")
|
|
16115
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
16116
|
+
else if (typeof object.createdAt === "number")
|
|
16117
|
+
message.createdAt = object.createdAt;
|
|
16118
|
+
else if (typeof object.createdAt === "object")
|
|
16119
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
16120
|
+
return message;
|
|
16121
|
+
};
|
|
16122
|
+
|
|
16123
|
+
/**
|
|
16124
|
+
* Creates a plain object from an AccessibleEntityCreated message. Also converts values to other types if specified.
|
|
16125
|
+
* @function toObject
|
|
16126
|
+
* @memberof AccessibleEntityCreated
|
|
16127
|
+
* @static
|
|
16128
|
+
* @param {AccessibleEntityCreated} message AccessibleEntityCreated
|
|
16129
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
16130
|
+
* @returns {Object.<string,*>} Plain object
|
|
16131
|
+
*/
|
|
16132
|
+
AccessibleEntityCreated.toObject = function toObject(message, options) {
|
|
16133
|
+
if (!options)
|
|
16134
|
+
options = {};
|
|
16135
|
+
var object = {};
|
|
16136
|
+
if (options.defaults) {
|
|
16137
|
+
object.entityType = "";
|
|
16138
|
+
object.entityTypeId = "";
|
|
16139
|
+
object.accessGroupName = "";
|
|
16140
|
+
object.isHidden = false;
|
|
16141
|
+
object.isLocked = false;
|
|
16142
|
+
if ($util.Long) {
|
|
16143
|
+
var long = new $util.Long(0, 0, true);
|
|
16144
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
16145
|
+
} else
|
|
16146
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
16147
|
+
}
|
|
16148
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
16149
|
+
object.entityType = message.entityType;
|
|
16150
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
16151
|
+
object.entityTypeId = message.entityTypeId;
|
|
16152
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16153
|
+
object.accessGroupName = message.accessGroupName;
|
|
16154
|
+
if (message.isHidden != null && message.hasOwnProperty("isHidden"))
|
|
16155
|
+
object.isHidden = message.isHidden;
|
|
16156
|
+
if (message.isLocked != null && message.hasOwnProperty("isLocked"))
|
|
16157
|
+
object.isLocked = message.isLocked;
|
|
16158
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
16159
|
+
if (typeof message.createdAt === "number")
|
|
16160
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
16161
|
+
else
|
|
16162
|
+
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
16163
|
+
return object;
|
|
16164
|
+
};
|
|
16165
|
+
|
|
16166
|
+
/**
|
|
16167
|
+
* Converts this AccessibleEntityCreated to JSON.
|
|
16168
|
+
* @function toJSON
|
|
16169
|
+
* @memberof AccessibleEntityCreated
|
|
16170
|
+
* @instance
|
|
16171
|
+
* @returns {Object.<string,*>} JSON object
|
|
16172
|
+
*/
|
|
16173
|
+
AccessibleEntityCreated.prototype.toJSON = function toJSON() {
|
|
16174
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
16175
|
+
};
|
|
16176
|
+
|
|
16177
|
+
return AccessibleEntityCreated;
|
|
16178
|
+
})();
|
|
16179
|
+
|
|
16180
|
+
$root.AccessibleEntityUpdated = (function() {
|
|
16181
|
+
|
|
16182
|
+
/**
|
|
16183
|
+
* Properties of an AccessibleEntityUpdated.
|
|
16184
|
+
* @exports IAccessibleEntityUpdated
|
|
16185
|
+
* @interface IAccessibleEntityUpdated
|
|
16186
|
+
* @property {string|null} [entityType] AccessibleEntityUpdated entityType
|
|
16187
|
+
* @property {string|null} [entityTypeId] AccessibleEntityUpdated entityTypeId
|
|
16188
|
+
* @property {string|null} [accessGroupName] AccessibleEntityUpdated accessGroupName
|
|
16189
|
+
* @property {boolean|null} [isHidden] AccessibleEntityUpdated isHidden
|
|
16190
|
+
* @property {boolean|null} [isLocked] AccessibleEntityUpdated isLocked
|
|
16191
|
+
* @property {number|Long|null} [updatedAt] AccessibleEntityUpdated updatedAt
|
|
16192
|
+
*/
|
|
16193
|
+
|
|
16194
|
+
/**
|
|
16195
|
+
* Constructs a new AccessibleEntityUpdated.
|
|
16196
|
+
* @exports AccessibleEntityUpdated
|
|
16197
|
+
* @classdesc Represents an AccessibleEntityUpdated.
|
|
16198
|
+
* @implements IAccessibleEntityUpdated
|
|
16199
|
+
* @constructor
|
|
16200
|
+
* @param {IAccessibleEntityUpdated=} [properties] Properties to set
|
|
16201
|
+
*/
|
|
16202
|
+
function AccessibleEntityUpdated(properties) {
|
|
16203
|
+
if (properties)
|
|
16204
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
16205
|
+
if (properties[keys[i]] != null)
|
|
16206
|
+
this[keys[i]] = properties[keys[i]];
|
|
16207
|
+
}
|
|
16208
|
+
|
|
16209
|
+
/**
|
|
16210
|
+
* AccessibleEntityUpdated entityType.
|
|
16211
|
+
* @member {string} entityType
|
|
16212
|
+
* @memberof AccessibleEntityUpdated
|
|
16213
|
+
* @instance
|
|
16214
|
+
*/
|
|
16215
|
+
AccessibleEntityUpdated.prototype.entityType = "";
|
|
16216
|
+
|
|
16217
|
+
/**
|
|
16218
|
+
* AccessibleEntityUpdated entityTypeId.
|
|
16219
|
+
* @member {string} entityTypeId
|
|
16220
|
+
* @memberof AccessibleEntityUpdated
|
|
16221
|
+
* @instance
|
|
16222
|
+
*/
|
|
16223
|
+
AccessibleEntityUpdated.prototype.entityTypeId = "";
|
|
16224
|
+
|
|
16225
|
+
/**
|
|
16226
|
+
* AccessibleEntityUpdated accessGroupName.
|
|
16227
|
+
* @member {string} accessGroupName
|
|
16228
|
+
* @memberof AccessibleEntityUpdated
|
|
16229
|
+
* @instance
|
|
16230
|
+
*/
|
|
16231
|
+
AccessibleEntityUpdated.prototype.accessGroupName = "";
|
|
16232
|
+
|
|
16233
|
+
/**
|
|
16234
|
+
* AccessibleEntityUpdated isHidden.
|
|
16235
|
+
* @member {boolean} isHidden
|
|
16236
|
+
* @memberof AccessibleEntityUpdated
|
|
16237
|
+
* @instance
|
|
16238
|
+
*/
|
|
16239
|
+
AccessibleEntityUpdated.prototype.isHidden = false;
|
|
16240
|
+
|
|
16241
|
+
/**
|
|
16242
|
+
* AccessibleEntityUpdated isLocked.
|
|
16243
|
+
* @member {boolean} isLocked
|
|
16244
|
+
* @memberof AccessibleEntityUpdated
|
|
16245
|
+
* @instance
|
|
16246
|
+
*/
|
|
16247
|
+
AccessibleEntityUpdated.prototype.isLocked = false;
|
|
16248
|
+
|
|
16249
|
+
/**
|
|
16250
|
+
* AccessibleEntityUpdated updatedAt.
|
|
16251
|
+
* @member {number|Long} updatedAt
|
|
16252
|
+
* @memberof AccessibleEntityUpdated
|
|
16253
|
+
* @instance
|
|
16254
|
+
*/
|
|
16255
|
+
AccessibleEntityUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
16256
|
+
|
|
16257
|
+
/**
|
|
16258
|
+
* Creates a new AccessibleEntityUpdated instance using the specified properties.
|
|
16259
|
+
* @function create
|
|
16260
|
+
* @memberof AccessibleEntityUpdated
|
|
16261
|
+
* @static
|
|
16262
|
+
* @param {IAccessibleEntityUpdated=} [properties] Properties to set
|
|
16263
|
+
* @returns {AccessibleEntityUpdated} AccessibleEntityUpdated instance
|
|
16264
|
+
*/
|
|
16265
|
+
AccessibleEntityUpdated.create = function create(properties) {
|
|
16266
|
+
return new AccessibleEntityUpdated(properties);
|
|
16267
|
+
};
|
|
16268
|
+
|
|
16269
|
+
/**
|
|
16270
|
+
* Encodes the specified AccessibleEntityUpdated message. Does not implicitly {@link AccessibleEntityUpdated.verify|verify} messages.
|
|
16271
|
+
* @function encode
|
|
16272
|
+
* @memberof AccessibleEntityUpdated
|
|
16273
|
+
* @static
|
|
16274
|
+
* @param {IAccessibleEntityUpdated} message AccessibleEntityUpdated message or plain object to encode
|
|
16275
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
16276
|
+
* @returns {$protobuf.Writer} Writer
|
|
16277
|
+
*/
|
|
16278
|
+
AccessibleEntityUpdated.encode = function encode(message, writer) {
|
|
16279
|
+
if (!writer)
|
|
16280
|
+
writer = $Writer.create();
|
|
16281
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
16282
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.entityType);
|
|
16283
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
16284
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.entityTypeId);
|
|
16285
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16286
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.accessGroupName);
|
|
16287
|
+
if (message.isHidden != null && message.hasOwnProperty("isHidden"))
|
|
16288
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isHidden);
|
|
16289
|
+
if (message.isLocked != null && message.hasOwnProperty("isLocked"))
|
|
16290
|
+
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isLocked);
|
|
16291
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
16292
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.updatedAt);
|
|
16293
|
+
return writer;
|
|
16294
|
+
};
|
|
16295
|
+
|
|
16296
|
+
/**
|
|
16297
|
+
* Encodes the specified AccessibleEntityUpdated message, length delimited. Does not implicitly {@link AccessibleEntityUpdated.verify|verify} messages.
|
|
16298
|
+
* @function encodeDelimited
|
|
16299
|
+
* @memberof AccessibleEntityUpdated
|
|
16300
|
+
* @static
|
|
16301
|
+
* @param {IAccessibleEntityUpdated} message AccessibleEntityUpdated message or plain object to encode
|
|
16302
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
16303
|
+
* @returns {$protobuf.Writer} Writer
|
|
16304
|
+
*/
|
|
16305
|
+
AccessibleEntityUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
16306
|
+
return this.encode(message, writer).ldelim();
|
|
16307
|
+
};
|
|
16308
|
+
|
|
16309
|
+
/**
|
|
16310
|
+
* Decodes an AccessibleEntityUpdated message from the specified reader or buffer.
|
|
16311
|
+
* @function decode
|
|
16312
|
+
* @memberof AccessibleEntityUpdated
|
|
16313
|
+
* @static
|
|
16314
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
16315
|
+
* @param {number} [length] Message length if known beforehand
|
|
16316
|
+
* @returns {AccessibleEntityUpdated} AccessibleEntityUpdated
|
|
16317
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16318
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16319
|
+
*/
|
|
16320
|
+
AccessibleEntityUpdated.decode = function decode(reader, length) {
|
|
16321
|
+
if (!(reader instanceof $Reader))
|
|
16322
|
+
reader = $Reader.create(reader);
|
|
16323
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AccessibleEntityUpdated();
|
|
16324
|
+
while (reader.pos < end) {
|
|
16325
|
+
var tag = reader.uint32();
|
|
16326
|
+
switch (tag >>> 3) {
|
|
16327
|
+
case 1:
|
|
16328
|
+
message.entityType = reader.string();
|
|
16329
|
+
break;
|
|
16330
|
+
case 2:
|
|
16331
|
+
message.entityTypeId = reader.string();
|
|
16332
|
+
break;
|
|
16333
|
+
case 3:
|
|
16334
|
+
message.accessGroupName = reader.string();
|
|
16335
|
+
break;
|
|
16336
|
+
case 4:
|
|
16337
|
+
message.isHidden = reader.bool();
|
|
16338
|
+
break;
|
|
16339
|
+
case 5:
|
|
16340
|
+
message.isLocked = reader.bool();
|
|
16341
|
+
break;
|
|
16342
|
+
case 6:
|
|
16343
|
+
message.updatedAt = reader.uint64();
|
|
16344
|
+
break;
|
|
16345
|
+
default:
|
|
16346
|
+
reader.skipType(tag & 7);
|
|
16347
|
+
break;
|
|
16348
|
+
}
|
|
16349
|
+
}
|
|
16350
|
+
return message;
|
|
16351
|
+
};
|
|
16352
|
+
|
|
16353
|
+
/**
|
|
16354
|
+
* Decodes an AccessibleEntityUpdated message from the specified reader or buffer, length delimited.
|
|
16355
|
+
* @function decodeDelimited
|
|
16356
|
+
* @memberof AccessibleEntityUpdated
|
|
16357
|
+
* @static
|
|
16358
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
16359
|
+
* @returns {AccessibleEntityUpdated} AccessibleEntityUpdated
|
|
16360
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16361
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16362
|
+
*/
|
|
16363
|
+
AccessibleEntityUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
16364
|
+
if (!(reader instanceof $Reader))
|
|
16365
|
+
reader = new $Reader(reader);
|
|
16366
|
+
return this.decode(reader, reader.uint32());
|
|
16367
|
+
};
|
|
16368
|
+
|
|
16369
|
+
/**
|
|
16370
|
+
* Verifies an AccessibleEntityUpdated message.
|
|
16371
|
+
* @function verify
|
|
16372
|
+
* @memberof AccessibleEntityUpdated
|
|
16373
|
+
* @static
|
|
16374
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
16375
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
16376
|
+
*/
|
|
16377
|
+
AccessibleEntityUpdated.verify = function verify(message) {
|
|
16378
|
+
if (typeof message !== "object" || message === null)
|
|
16379
|
+
return "object expected";
|
|
16380
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
16381
|
+
if (!$util.isString(message.entityType))
|
|
16382
|
+
return "entityType: string expected";
|
|
16383
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
16384
|
+
if (!$util.isString(message.entityTypeId))
|
|
16385
|
+
return "entityTypeId: string expected";
|
|
16386
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16387
|
+
if (!$util.isString(message.accessGroupName))
|
|
16388
|
+
return "accessGroupName: string expected";
|
|
16389
|
+
if (message.isHidden != null && message.hasOwnProperty("isHidden"))
|
|
16390
|
+
if (typeof message.isHidden !== "boolean")
|
|
16391
|
+
return "isHidden: boolean expected";
|
|
16392
|
+
if (message.isLocked != null && message.hasOwnProperty("isLocked"))
|
|
16393
|
+
if (typeof message.isLocked !== "boolean")
|
|
16394
|
+
return "isLocked: boolean expected";
|
|
16395
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
16396
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
16397
|
+
return "updatedAt: integer|Long expected";
|
|
16398
|
+
return null;
|
|
16399
|
+
};
|
|
16400
|
+
|
|
16401
|
+
/**
|
|
16402
|
+
* Creates an AccessibleEntityUpdated message from a plain object. Also converts values to their respective internal types.
|
|
16403
|
+
* @function fromObject
|
|
16404
|
+
* @memberof AccessibleEntityUpdated
|
|
16405
|
+
* @static
|
|
16406
|
+
* @param {Object.<string,*>} object Plain object
|
|
16407
|
+
* @returns {AccessibleEntityUpdated} AccessibleEntityUpdated
|
|
16408
|
+
*/
|
|
16409
|
+
AccessibleEntityUpdated.fromObject = function fromObject(object) {
|
|
16410
|
+
if (object instanceof $root.AccessibleEntityUpdated)
|
|
16411
|
+
return object;
|
|
16412
|
+
var message = new $root.AccessibleEntityUpdated();
|
|
16413
|
+
if (object.entityType != null)
|
|
16414
|
+
message.entityType = String(object.entityType);
|
|
16415
|
+
if (object.entityTypeId != null)
|
|
16416
|
+
message.entityTypeId = String(object.entityTypeId);
|
|
16417
|
+
if (object.accessGroupName != null)
|
|
16418
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
16419
|
+
if (object.isHidden != null)
|
|
16420
|
+
message.isHidden = Boolean(object.isHidden);
|
|
16421
|
+
if (object.isLocked != null)
|
|
16422
|
+
message.isLocked = Boolean(object.isLocked);
|
|
16423
|
+
if (object.updatedAt != null)
|
|
16424
|
+
if ($util.Long)
|
|
16425
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
16426
|
+
else if (typeof object.updatedAt === "string")
|
|
16427
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
16428
|
+
else if (typeof object.updatedAt === "number")
|
|
16429
|
+
message.updatedAt = object.updatedAt;
|
|
16430
|
+
else if (typeof object.updatedAt === "object")
|
|
16431
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
16432
|
+
return message;
|
|
16433
|
+
};
|
|
16434
|
+
|
|
16435
|
+
/**
|
|
16436
|
+
* Creates a plain object from an AccessibleEntityUpdated message. Also converts values to other types if specified.
|
|
16437
|
+
* @function toObject
|
|
16438
|
+
* @memberof AccessibleEntityUpdated
|
|
16439
|
+
* @static
|
|
16440
|
+
* @param {AccessibleEntityUpdated} message AccessibleEntityUpdated
|
|
16441
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
16442
|
+
* @returns {Object.<string,*>} Plain object
|
|
16443
|
+
*/
|
|
16444
|
+
AccessibleEntityUpdated.toObject = function toObject(message, options) {
|
|
16445
|
+
if (!options)
|
|
16446
|
+
options = {};
|
|
16447
|
+
var object = {};
|
|
16448
|
+
if (options.defaults) {
|
|
16449
|
+
object.entityType = "";
|
|
16450
|
+
object.entityTypeId = "";
|
|
16451
|
+
object.accessGroupName = "";
|
|
16452
|
+
object.isHidden = false;
|
|
16453
|
+
object.isLocked = false;
|
|
16454
|
+
if ($util.Long) {
|
|
16455
|
+
var long = new $util.Long(0, 0, true);
|
|
16456
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
16457
|
+
} else
|
|
16458
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
16459
|
+
}
|
|
16460
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
16461
|
+
object.entityType = message.entityType;
|
|
16462
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
16463
|
+
object.entityTypeId = message.entityTypeId;
|
|
16464
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16465
|
+
object.accessGroupName = message.accessGroupName;
|
|
16466
|
+
if (message.isHidden != null && message.hasOwnProperty("isHidden"))
|
|
16467
|
+
object.isHidden = message.isHidden;
|
|
16468
|
+
if (message.isLocked != null && message.hasOwnProperty("isLocked"))
|
|
16469
|
+
object.isLocked = message.isLocked;
|
|
16470
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
16471
|
+
if (typeof message.updatedAt === "number")
|
|
16472
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
16473
|
+
else
|
|
16474
|
+
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;
|
|
16475
|
+
return object;
|
|
16476
|
+
};
|
|
16477
|
+
|
|
16478
|
+
/**
|
|
16479
|
+
* Converts this AccessibleEntityUpdated to JSON.
|
|
16480
|
+
* @function toJSON
|
|
16481
|
+
* @memberof AccessibleEntityUpdated
|
|
16482
|
+
* @instance
|
|
16483
|
+
* @returns {Object.<string,*>} JSON object
|
|
16484
|
+
*/
|
|
16485
|
+
AccessibleEntityUpdated.prototype.toJSON = function toJSON() {
|
|
16486
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
16487
|
+
};
|
|
16488
|
+
|
|
16489
|
+
return AccessibleEntityUpdated;
|
|
16490
|
+
})();
|
|
16491
|
+
|
|
16492
|
+
$root.AccessibleEntityDeleted = (function() {
|
|
16493
|
+
|
|
16494
|
+
/**
|
|
16495
|
+
* Properties of an AccessibleEntityDeleted.
|
|
16496
|
+
* @exports IAccessibleEntityDeleted
|
|
16497
|
+
* @interface IAccessibleEntityDeleted
|
|
16498
|
+
* @property {string|null} [entityType] AccessibleEntityDeleted entityType
|
|
16499
|
+
* @property {string|null} [entityTypeId] AccessibleEntityDeleted entityTypeId
|
|
16500
|
+
* @property {string|null} [accessGroupName] AccessibleEntityDeleted accessGroupName
|
|
16501
|
+
* @property {number|Long|null} [deletedAt] AccessibleEntityDeleted deletedAt
|
|
16502
|
+
*/
|
|
16503
|
+
|
|
16504
|
+
/**
|
|
16505
|
+
* Constructs a new AccessibleEntityDeleted.
|
|
16506
|
+
* @exports AccessibleEntityDeleted
|
|
16507
|
+
* @classdesc Represents an AccessibleEntityDeleted.
|
|
16508
|
+
* @implements IAccessibleEntityDeleted
|
|
16509
|
+
* @constructor
|
|
16510
|
+
* @param {IAccessibleEntityDeleted=} [properties] Properties to set
|
|
16511
|
+
*/
|
|
16512
|
+
function AccessibleEntityDeleted(properties) {
|
|
16513
|
+
if (properties)
|
|
16514
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
16515
|
+
if (properties[keys[i]] != null)
|
|
16516
|
+
this[keys[i]] = properties[keys[i]];
|
|
16517
|
+
}
|
|
16518
|
+
|
|
16519
|
+
/**
|
|
16520
|
+
* AccessibleEntityDeleted entityType.
|
|
16521
|
+
* @member {string} entityType
|
|
16522
|
+
* @memberof AccessibleEntityDeleted
|
|
16523
|
+
* @instance
|
|
16524
|
+
*/
|
|
16525
|
+
AccessibleEntityDeleted.prototype.entityType = "";
|
|
16526
|
+
|
|
16527
|
+
/**
|
|
16528
|
+
* AccessibleEntityDeleted entityTypeId.
|
|
16529
|
+
* @member {string} entityTypeId
|
|
16530
|
+
* @memberof AccessibleEntityDeleted
|
|
16531
|
+
* @instance
|
|
16532
|
+
*/
|
|
16533
|
+
AccessibleEntityDeleted.prototype.entityTypeId = "";
|
|
16534
|
+
|
|
16535
|
+
/**
|
|
16536
|
+
* AccessibleEntityDeleted accessGroupName.
|
|
16537
|
+
* @member {string} accessGroupName
|
|
16538
|
+
* @memberof AccessibleEntityDeleted
|
|
16539
|
+
* @instance
|
|
16540
|
+
*/
|
|
16541
|
+
AccessibleEntityDeleted.prototype.accessGroupName = "";
|
|
16542
|
+
|
|
16543
|
+
/**
|
|
16544
|
+
* AccessibleEntityDeleted deletedAt.
|
|
16545
|
+
* @member {number|Long} deletedAt
|
|
16546
|
+
* @memberof AccessibleEntityDeleted
|
|
16547
|
+
* @instance
|
|
16548
|
+
*/
|
|
16549
|
+
AccessibleEntityDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
16550
|
+
|
|
16551
|
+
/**
|
|
16552
|
+
* Creates a new AccessibleEntityDeleted instance using the specified properties.
|
|
16553
|
+
* @function create
|
|
16554
|
+
* @memberof AccessibleEntityDeleted
|
|
16555
|
+
* @static
|
|
16556
|
+
* @param {IAccessibleEntityDeleted=} [properties] Properties to set
|
|
16557
|
+
* @returns {AccessibleEntityDeleted} AccessibleEntityDeleted instance
|
|
16558
|
+
*/
|
|
16559
|
+
AccessibleEntityDeleted.create = function create(properties) {
|
|
16560
|
+
return new AccessibleEntityDeleted(properties);
|
|
16561
|
+
};
|
|
16562
|
+
|
|
16563
|
+
/**
|
|
16564
|
+
* Encodes the specified AccessibleEntityDeleted message. Does not implicitly {@link AccessibleEntityDeleted.verify|verify} messages.
|
|
16565
|
+
* @function encode
|
|
16566
|
+
* @memberof AccessibleEntityDeleted
|
|
16567
|
+
* @static
|
|
16568
|
+
* @param {IAccessibleEntityDeleted} message AccessibleEntityDeleted message or plain object to encode
|
|
16569
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
16570
|
+
* @returns {$protobuf.Writer} Writer
|
|
16571
|
+
*/
|
|
16572
|
+
AccessibleEntityDeleted.encode = function encode(message, writer) {
|
|
16573
|
+
if (!writer)
|
|
16574
|
+
writer = $Writer.create();
|
|
16575
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
16576
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.entityType);
|
|
16577
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
16578
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.entityTypeId);
|
|
16579
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16580
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.accessGroupName);
|
|
16581
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
16582
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.deletedAt);
|
|
16583
|
+
return writer;
|
|
16584
|
+
};
|
|
16585
|
+
|
|
16586
|
+
/**
|
|
16587
|
+
* Encodes the specified AccessibleEntityDeleted message, length delimited. Does not implicitly {@link AccessibleEntityDeleted.verify|verify} messages.
|
|
16588
|
+
* @function encodeDelimited
|
|
16589
|
+
* @memberof AccessibleEntityDeleted
|
|
16590
|
+
* @static
|
|
16591
|
+
* @param {IAccessibleEntityDeleted} message AccessibleEntityDeleted message or plain object to encode
|
|
16592
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
16593
|
+
* @returns {$protobuf.Writer} Writer
|
|
16594
|
+
*/
|
|
16595
|
+
AccessibleEntityDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
16596
|
+
return this.encode(message, writer).ldelim();
|
|
16597
|
+
};
|
|
16598
|
+
|
|
16599
|
+
/**
|
|
16600
|
+
* Decodes an AccessibleEntityDeleted message from the specified reader or buffer.
|
|
16601
|
+
* @function decode
|
|
16602
|
+
* @memberof AccessibleEntityDeleted
|
|
16603
|
+
* @static
|
|
16604
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
16605
|
+
* @param {number} [length] Message length if known beforehand
|
|
16606
|
+
* @returns {AccessibleEntityDeleted} AccessibleEntityDeleted
|
|
16607
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16608
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16609
|
+
*/
|
|
16610
|
+
AccessibleEntityDeleted.decode = function decode(reader, length) {
|
|
16611
|
+
if (!(reader instanceof $Reader))
|
|
16612
|
+
reader = $Reader.create(reader);
|
|
16613
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AccessibleEntityDeleted();
|
|
16614
|
+
while (reader.pos < end) {
|
|
16615
|
+
var tag = reader.uint32();
|
|
16616
|
+
switch (tag >>> 3) {
|
|
16617
|
+
case 1:
|
|
16618
|
+
message.entityType = reader.string();
|
|
16619
|
+
break;
|
|
16620
|
+
case 2:
|
|
16621
|
+
message.entityTypeId = reader.string();
|
|
16622
|
+
break;
|
|
16623
|
+
case 3:
|
|
16624
|
+
message.accessGroupName = reader.string();
|
|
16625
|
+
break;
|
|
16626
|
+
case 4:
|
|
16627
|
+
message.deletedAt = reader.uint64();
|
|
16628
|
+
break;
|
|
16629
|
+
default:
|
|
16630
|
+
reader.skipType(tag & 7);
|
|
16631
|
+
break;
|
|
16632
|
+
}
|
|
16633
|
+
}
|
|
16634
|
+
return message;
|
|
16635
|
+
};
|
|
16636
|
+
|
|
16637
|
+
/**
|
|
16638
|
+
* Decodes an AccessibleEntityDeleted message from the specified reader or buffer, length delimited.
|
|
16639
|
+
* @function decodeDelimited
|
|
16640
|
+
* @memberof AccessibleEntityDeleted
|
|
16641
|
+
* @static
|
|
16642
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
16643
|
+
* @returns {AccessibleEntityDeleted} AccessibleEntityDeleted
|
|
16644
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16645
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16646
|
+
*/
|
|
16647
|
+
AccessibleEntityDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
16648
|
+
if (!(reader instanceof $Reader))
|
|
16649
|
+
reader = new $Reader(reader);
|
|
16650
|
+
return this.decode(reader, reader.uint32());
|
|
16651
|
+
};
|
|
16652
|
+
|
|
16653
|
+
/**
|
|
16654
|
+
* Verifies an AccessibleEntityDeleted message.
|
|
16655
|
+
* @function verify
|
|
16656
|
+
* @memberof AccessibleEntityDeleted
|
|
16657
|
+
* @static
|
|
16658
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
16659
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
16660
|
+
*/
|
|
16661
|
+
AccessibleEntityDeleted.verify = function verify(message) {
|
|
16662
|
+
if (typeof message !== "object" || message === null)
|
|
16663
|
+
return "object expected";
|
|
16664
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
16665
|
+
if (!$util.isString(message.entityType))
|
|
16666
|
+
return "entityType: string expected";
|
|
16667
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
16668
|
+
if (!$util.isString(message.entityTypeId))
|
|
16669
|
+
return "entityTypeId: string expected";
|
|
16670
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16671
|
+
if (!$util.isString(message.accessGroupName))
|
|
16672
|
+
return "accessGroupName: string expected";
|
|
16673
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
16674
|
+
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
16675
|
+
return "deletedAt: integer|Long expected";
|
|
16676
|
+
return null;
|
|
16677
|
+
};
|
|
16678
|
+
|
|
16679
|
+
/**
|
|
16680
|
+
* Creates an AccessibleEntityDeleted message from a plain object. Also converts values to their respective internal types.
|
|
16681
|
+
* @function fromObject
|
|
16682
|
+
* @memberof AccessibleEntityDeleted
|
|
16683
|
+
* @static
|
|
16684
|
+
* @param {Object.<string,*>} object Plain object
|
|
16685
|
+
* @returns {AccessibleEntityDeleted} AccessibleEntityDeleted
|
|
16686
|
+
*/
|
|
16687
|
+
AccessibleEntityDeleted.fromObject = function fromObject(object) {
|
|
16688
|
+
if (object instanceof $root.AccessibleEntityDeleted)
|
|
16689
|
+
return object;
|
|
16690
|
+
var message = new $root.AccessibleEntityDeleted();
|
|
16691
|
+
if (object.entityType != null)
|
|
16692
|
+
message.entityType = String(object.entityType);
|
|
16693
|
+
if (object.entityTypeId != null)
|
|
16694
|
+
message.entityTypeId = String(object.entityTypeId);
|
|
16695
|
+
if (object.accessGroupName != null)
|
|
16696
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
16697
|
+
if (object.deletedAt != null)
|
|
16698
|
+
if ($util.Long)
|
|
16699
|
+
(message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
|
|
16700
|
+
else if (typeof object.deletedAt === "string")
|
|
16701
|
+
message.deletedAt = parseInt(object.deletedAt, 10);
|
|
16702
|
+
else if (typeof object.deletedAt === "number")
|
|
16703
|
+
message.deletedAt = object.deletedAt;
|
|
16704
|
+
else if (typeof object.deletedAt === "object")
|
|
16705
|
+
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
16706
|
+
return message;
|
|
16707
|
+
};
|
|
16708
|
+
|
|
16709
|
+
/**
|
|
16710
|
+
* Creates a plain object from an AccessibleEntityDeleted message. Also converts values to other types if specified.
|
|
16711
|
+
* @function toObject
|
|
16712
|
+
* @memberof AccessibleEntityDeleted
|
|
16713
|
+
* @static
|
|
16714
|
+
* @param {AccessibleEntityDeleted} message AccessibleEntityDeleted
|
|
16715
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
16716
|
+
* @returns {Object.<string,*>} Plain object
|
|
16717
|
+
*/
|
|
16718
|
+
AccessibleEntityDeleted.toObject = function toObject(message, options) {
|
|
16719
|
+
if (!options)
|
|
16720
|
+
options = {};
|
|
16721
|
+
var object = {};
|
|
16722
|
+
if (options.defaults) {
|
|
16723
|
+
object.entityType = "";
|
|
16724
|
+
object.entityTypeId = "";
|
|
16725
|
+
object.accessGroupName = "";
|
|
16726
|
+
if ($util.Long) {
|
|
16727
|
+
var long = new $util.Long(0, 0, true);
|
|
16728
|
+
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
16729
|
+
} else
|
|
16730
|
+
object.deletedAt = options.longs === String ? "0" : 0;
|
|
16731
|
+
}
|
|
16732
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
16733
|
+
object.entityType = message.entityType;
|
|
16734
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
16735
|
+
object.entityTypeId = message.entityTypeId;
|
|
16736
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16737
|
+
object.accessGroupName = message.accessGroupName;
|
|
16738
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
16739
|
+
if (typeof message.deletedAt === "number")
|
|
16740
|
+
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
16741
|
+
else
|
|
16742
|
+
object.deletedAt = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAt) : options.longs === Number ? new $util.LongBits(message.deletedAt.low >>> 0, message.deletedAt.high >>> 0).toNumber(true) : message.deletedAt;
|
|
16743
|
+
return object;
|
|
16744
|
+
};
|
|
16745
|
+
|
|
16746
|
+
/**
|
|
16747
|
+
* Converts this AccessibleEntityDeleted to JSON.
|
|
16748
|
+
* @function toJSON
|
|
16749
|
+
* @memberof AccessibleEntityDeleted
|
|
16750
|
+
* @instance
|
|
16751
|
+
* @returns {Object.<string,*>} JSON object
|
|
16752
|
+
*/
|
|
16753
|
+
AccessibleEntityDeleted.prototype.toJSON = function toJSON() {
|
|
16754
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
16755
|
+
};
|
|
16756
|
+
|
|
16757
|
+
return AccessibleEntityDeleted;
|
|
16758
|
+
})();
|
|
16759
|
+
|
|
15463
16760
|
$root.ReferralSignedUp = (function() {
|
|
15464
16761
|
|
|
15465
16762
|
/**
|