@headspace/protos-events 1.79.0 → 1.80.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
@@ -6223,6 +6223,354 @@ export class SubscriptionAccessGroupMapUpdated implements ISubscriptionAccessGro
6223
6223
  public toJSON(): { [k: string]: any };
6224
6224
  }
6225
6225
 
6226
+ /** Properties of an AccessibleEntityCreated. */
6227
+ export interface IAccessibleEntityCreated {
6228
+
6229
+ /** AccessibleEntityCreated entityType */
6230
+ entityType?: (string|null);
6231
+
6232
+ /** AccessibleEntityCreated entityTypeId */
6233
+ entityTypeId?: (string|null);
6234
+
6235
+ /** AccessibleEntityCreated accessGroupName */
6236
+ accessGroupName?: (string|null);
6237
+
6238
+ /** AccessibleEntityCreated isHidden */
6239
+ isHidden?: (boolean|null);
6240
+
6241
+ /** AccessibleEntityCreated isLocked */
6242
+ isLocked?: (boolean|null);
6243
+
6244
+ /** AccessibleEntityCreated createdAt */
6245
+ createdAt?: (number|Long|null);
6246
+ }
6247
+
6248
+ /** Represents an AccessibleEntityCreated. */
6249
+ export class AccessibleEntityCreated implements IAccessibleEntityCreated {
6250
+
6251
+ /**
6252
+ * Constructs a new AccessibleEntityCreated.
6253
+ * @param [properties] Properties to set
6254
+ */
6255
+ constructor(properties?: IAccessibleEntityCreated);
6256
+
6257
+ /** AccessibleEntityCreated entityType. */
6258
+ public entityType: string;
6259
+
6260
+ /** AccessibleEntityCreated entityTypeId. */
6261
+ public entityTypeId: string;
6262
+
6263
+ /** AccessibleEntityCreated accessGroupName. */
6264
+ public accessGroupName: string;
6265
+
6266
+ /** AccessibleEntityCreated isHidden. */
6267
+ public isHidden: boolean;
6268
+
6269
+ /** AccessibleEntityCreated isLocked. */
6270
+ public isLocked: boolean;
6271
+
6272
+ /** AccessibleEntityCreated createdAt. */
6273
+ public createdAt: (number|Long);
6274
+
6275
+ /**
6276
+ * Creates a new AccessibleEntityCreated instance using the specified properties.
6277
+ * @param [properties] Properties to set
6278
+ * @returns AccessibleEntityCreated instance
6279
+ */
6280
+ public static create(properties?: IAccessibleEntityCreated): AccessibleEntityCreated;
6281
+
6282
+ /**
6283
+ * Encodes the specified AccessibleEntityCreated message. Does not implicitly {@link AccessibleEntityCreated.verify|verify} messages.
6284
+ * @param message AccessibleEntityCreated message or plain object to encode
6285
+ * @param [writer] Writer to encode to
6286
+ * @returns Writer
6287
+ */
6288
+ public static encode(message: IAccessibleEntityCreated, writer?: $protobuf.Writer): $protobuf.Writer;
6289
+
6290
+ /**
6291
+ * Encodes the specified AccessibleEntityCreated message, length delimited. Does not implicitly {@link AccessibleEntityCreated.verify|verify} messages.
6292
+ * @param message AccessibleEntityCreated message or plain object to encode
6293
+ * @param [writer] Writer to encode to
6294
+ * @returns Writer
6295
+ */
6296
+ public static encodeDelimited(message: IAccessibleEntityCreated, writer?: $protobuf.Writer): $protobuf.Writer;
6297
+
6298
+ /**
6299
+ * Decodes an AccessibleEntityCreated message from the specified reader or buffer.
6300
+ * @param reader Reader or buffer to decode from
6301
+ * @param [length] Message length if known beforehand
6302
+ * @returns AccessibleEntityCreated
6303
+ * @throws {Error} If the payload is not a reader or valid buffer
6304
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6305
+ */
6306
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AccessibleEntityCreated;
6307
+
6308
+ /**
6309
+ * Decodes an AccessibleEntityCreated message from the specified reader or buffer, length delimited.
6310
+ * @param reader Reader or buffer to decode from
6311
+ * @returns AccessibleEntityCreated
6312
+ * @throws {Error} If the payload is not a reader or valid buffer
6313
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6314
+ */
6315
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AccessibleEntityCreated;
6316
+
6317
+ /**
6318
+ * Verifies an AccessibleEntityCreated message.
6319
+ * @param message Plain object to verify
6320
+ * @returns `null` if valid, otherwise the reason why it is not
6321
+ */
6322
+ public static verify(message: { [k: string]: any }): (string|null);
6323
+
6324
+ /**
6325
+ * Creates an AccessibleEntityCreated message from a plain object. Also converts values to their respective internal types.
6326
+ * @param object Plain object
6327
+ * @returns AccessibleEntityCreated
6328
+ */
6329
+ public static fromObject(object: { [k: string]: any }): AccessibleEntityCreated;
6330
+
6331
+ /**
6332
+ * Creates a plain object from an AccessibleEntityCreated message. Also converts values to other types if specified.
6333
+ * @param message AccessibleEntityCreated
6334
+ * @param [options] Conversion options
6335
+ * @returns Plain object
6336
+ */
6337
+ public static toObject(message: AccessibleEntityCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
6338
+
6339
+ /**
6340
+ * Converts this AccessibleEntityCreated to JSON.
6341
+ * @returns JSON object
6342
+ */
6343
+ public toJSON(): { [k: string]: any };
6344
+ }
6345
+
6346
+ /** Properties of an AccessibleEntityUpdated. */
6347
+ export interface IAccessibleEntityUpdated {
6348
+
6349
+ /** AccessibleEntityUpdated entityType */
6350
+ entityType?: (string|null);
6351
+
6352
+ /** AccessibleEntityUpdated entityTypeId */
6353
+ entityTypeId?: (string|null);
6354
+
6355
+ /** AccessibleEntityUpdated accessGroupName */
6356
+ accessGroupName?: (string|null);
6357
+
6358
+ /** AccessibleEntityUpdated isHidden */
6359
+ isHidden?: (boolean|null);
6360
+
6361
+ /** AccessibleEntityUpdated isLocked */
6362
+ isLocked?: (boolean|null);
6363
+
6364
+ /** AccessibleEntityUpdated updatedAt */
6365
+ updatedAt?: (number|Long|null);
6366
+ }
6367
+
6368
+ /** Represents an AccessibleEntityUpdated. */
6369
+ export class AccessibleEntityUpdated implements IAccessibleEntityUpdated {
6370
+
6371
+ /**
6372
+ * Constructs a new AccessibleEntityUpdated.
6373
+ * @param [properties] Properties to set
6374
+ */
6375
+ constructor(properties?: IAccessibleEntityUpdated);
6376
+
6377
+ /** AccessibleEntityUpdated entityType. */
6378
+ public entityType: string;
6379
+
6380
+ /** AccessibleEntityUpdated entityTypeId. */
6381
+ public entityTypeId: string;
6382
+
6383
+ /** AccessibleEntityUpdated accessGroupName. */
6384
+ public accessGroupName: string;
6385
+
6386
+ /** AccessibleEntityUpdated isHidden. */
6387
+ public isHidden: boolean;
6388
+
6389
+ /** AccessibleEntityUpdated isLocked. */
6390
+ public isLocked: boolean;
6391
+
6392
+ /** AccessibleEntityUpdated updatedAt. */
6393
+ public updatedAt: (number|Long);
6394
+
6395
+ /**
6396
+ * Creates a new AccessibleEntityUpdated instance using the specified properties.
6397
+ * @param [properties] Properties to set
6398
+ * @returns AccessibleEntityUpdated instance
6399
+ */
6400
+ public static create(properties?: IAccessibleEntityUpdated): AccessibleEntityUpdated;
6401
+
6402
+ /**
6403
+ * Encodes the specified AccessibleEntityUpdated message. Does not implicitly {@link AccessibleEntityUpdated.verify|verify} messages.
6404
+ * @param message AccessibleEntityUpdated message or plain object to encode
6405
+ * @param [writer] Writer to encode to
6406
+ * @returns Writer
6407
+ */
6408
+ public static encode(message: IAccessibleEntityUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
6409
+
6410
+ /**
6411
+ * Encodes the specified AccessibleEntityUpdated message, length delimited. Does not implicitly {@link AccessibleEntityUpdated.verify|verify} messages.
6412
+ * @param message AccessibleEntityUpdated message or plain object to encode
6413
+ * @param [writer] Writer to encode to
6414
+ * @returns Writer
6415
+ */
6416
+ public static encodeDelimited(message: IAccessibleEntityUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
6417
+
6418
+ /**
6419
+ * Decodes an AccessibleEntityUpdated message from the specified reader or buffer.
6420
+ * @param reader Reader or buffer to decode from
6421
+ * @param [length] Message length if known beforehand
6422
+ * @returns AccessibleEntityUpdated
6423
+ * @throws {Error} If the payload is not a reader or valid buffer
6424
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6425
+ */
6426
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AccessibleEntityUpdated;
6427
+
6428
+ /**
6429
+ * Decodes an AccessibleEntityUpdated message from the specified reader or buffer, length delimited.
6430
+ * @param reader Reader or buffer to decode from
6431
+ * @returns AccessibleEntityUpdated
6432
+ * @throws {Error} If the payload is not a reader or valid buffer
6433
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6434
+ */
6435
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AccessibleEntityUpdated;
6436
+
6437
+ /**
6438
+ * Verifies an AccessibleEntityUpdated message.
6439
+ * @param message Plain object to verify
6440
+ * @returns `null` if valid, otherwise the reason why it is not
6441
+ */
6442
+ public static verify(message: { [k: string]: any }): (string|null);
6443
+
6444
+ /**
6445
+ * Creates an AccessibleEntityUpdated message from a plain object. Also converts values to their respective internal types.
6446
+ * @param object Plain object
6447
+ * @returns AccessibleEntityUpdated
6448
+ */
6449
+ public static fromObject(object: { [k: string]: any }): AccessibleEntityUpdated;
6450
+
6451
+ /**
6452
+ * Creates a plain object from an AccessibleEntityUpdated message. Also converts values to other types if specified.
6453
+ * @param message AccessibleEntityUpdated
6454
+ * @param [options] Conversion options
6455
+ * @returns Plain object
6456
+ */
6457
+ public static toObject(message: AccessibleEntityUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
6458
+
6459
+ /**
6460
+ * Converts this AccessibleEntityUpdated to JSON.
6461
+ * @returns JSON object
6462
+ */
6463
+ public toJSON(): { [k: string]: any };
6464
+ }
6465
+
6466
+ /** Properties of an AccessibleEntityDeleted. */
6467
+ export interface IAccessibleEntityDeleted {
6468
+
6469
+ /** AccessibleEntityDeleted entityType */
6470
+ entityType?: (string|null);
6471
+
6472
+ /** AccessibleEntityDeleted entityTypeId */
6473
+ entityTypeId?: (string|null);
6474
+
6475
+ /** AccessibleEntityDeleted accessGroupName */
6476
+ accessGroupName?: (string|null);
6477
+
6478
+ /** AccessibleEntityDeleted deletedAt */
6479
+ deletedAt?: (number|Long|null);
6480
+ }
6481
+
6482
+ /** Represents an AccessibleEntityDeleted. */
6483
+ export class AccessibleEntityDeleted implements IAccessibleEntityDeleted {
6484
+
6485
+ /**
6486
+ * Constructs a new AccessibleEntityDeleted.
6487
+ * @param [properties] Properties to set
6488
+ */
6489
+ constructor(properties?: IAccessibleEntityDeleted);
6490
+
6491
+ /** AccessibleEntityDeleted entityType. */
6492
+ public entityType: string;
6493
+
6494
+ /** AccessibleEntityDeleted entityTypeId. */
6495
+ public entityTypeId: string;
6496
+
6497
+ /** AccessibleEntityDeleted accessGroupName. */
6498
+ public accessGroupName: string;
6499
+
6500
+ /** AccessibleEntityDeleted deletedAt. */
6501
+ public deletedAt: (number|Long);
6502
+
6503
+ /**
6504
+ * Creates a new AccessibleEntityDeleted instance using the specified properties.
6505
+ * @param [properties] Properties to set
6506
+ * @returns AccessibleEntityDeleted instance
6507
+ */
6508
+ public static create(properties?: IAccessibleEntityDeleted): AccessibleEntityDeleted;
6509
+
6510
+ /**
6511
+ * Encodes the specified AccessibleEntityDeleted message. Does not implicitly {@link AccessibleEntityDeleted.verify|verify} messages.
6512
+ * @param message AccessibleEntityDeleted message or plain object to encode
6513
+ * @param [writer] Writer to encode to
6514
+ * @returns Writer
6515
+ */
6516
+ public static encode(message: IAccessibleEntityDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
6517
+
6518
+ /**
6519
+ * Encodes the specified AccessibleEntityDeleted message, length delimited. Does not implicitly {@link AccessibleEntityDeleted.verify|verify} messages.
6520
+ * @param message AccessibleEntityDeleted message or plain object to encode
6521
+ * @param [writer] Writer to encode to
6522
+ * @returns Writer
6523
+ */
6524
+ public static encodeDelimited(message: IAccessibleEntityDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
6525
+
6526
+ /**
6527
+ * Decodes an AccessibleEntityDeleted message from the specified reader or buffer.
6528
+ * @param reader Reader or buffer to decode from
6529
+ * @param [length] Message length if known beforehand
6530
+ * @returns AccessibleEntityDeleted
6531
+ * @throws {Error} If the payload is not a reader or valid buffer
6532
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6533
+ */
6534
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AccessibleEntityDeleted;
6535
+
6536
+ /**
6537
+ * Decodes an AccessibleEntityDeleted message from the specified reader or buffer, length delimited.
6538
+ * @param reader Reader or buffer to decode from
6539
+ * @returns AccessibleEntityDeleted
6540
+ * @throws {Error} If the payload is not a reader or valid buffer
6541
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6542
+ */
6543
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AccessibleEntityDeleted;
6544
+
6545
+ /**
6546
+ * Verifies an AccessibleEntityDeleted message.
6547
+ * @param message Plain object to verify
6548
+ * @returns `null` if valid, otherwise the reason why it is not
6549
+ */
6550
+ public static verify(message: { [k: string]: any }): (string|null);
6551
+
6552
+ /**
6553
+ * Creates an AccessibleEntityDeleted message from a plain object. Also converts values to their respective internal types.
6554
+ * @param object Plain object
6555
+ * @returns AccessibleEntityDeleted
6556
+ */
6557
+ public static fromObject(object: { [k: string]: any }): AccessibleEntityDeleted;
6558
+
6559
+ /**
6560
+ * Creates a plain object from an AccessibleEntityDeleted message. Also converts values to other types if specified.
6561
+ * @param message AccessibleEntityDeleted
6562
+ * @param [options] Conversion options
6563
+ * @returns Plain object
6564
+ */
6565
+ public static toObject(message: AccessibleEntityDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
6566
+
6567
+ /**
6568
+ * Converts this AccessibleEntityDeleted to JSON.
6569
+ * @returns JSON object
6570
+ */
6571
+ public toJSON(): { [k: string]: any };
6572
+ }
6573
+
6226
6574
  /** Properties of a ReferralSignedUp. */
6227
6575
  export interface IReferralSignedUp {
6228
6576
 
package/lib/index.js CHANGED
@@ -15460,6 +15460,898 @@ $root.SubscriptionAccessGroupMapUpdated = (function() {
15460
15460
  return SubscriptionAccessGroupMapUpdated;
15461
15461
  })();
15462
15462
 
15463
+ $root.AccessibleEntityCreated = (function() {
15464
+
15465
+ /**
15466
+ * Properties of an AccessibleEntityCreated.
15467
+ * @exports IAccessibleEntityCreated
15468
+ * @interface IAccessibleEntityCreated
15469
+ * @property {string|null} [entityType] AccessibleEntityCreated entityType
15470
+ * @property {string|null} [entityTypeId] AccessibleEntityCreated entityTypeId
15471
+ * @property {string|null} [accessGroupName] AccessibleEntityCreated accessGroupName
15472
+ * @property {boolean|null} [isHidden] AccessibleEntityCreated isHidden
15473
+ * @property {boolean|null} [isLocked] AccessibleEntityCreated isLocked
15474
+ * @property {number|Long|null} [createdAt] AccessibleEntityCreated createdAt
15475
+ */
15476
+
15477
+ /**
15478
+ * Constructs a new AccessibleEntityCreated.
15479
+ * @exports AccessibleEntityCreated
15480
+ * @classdesc Represents an AccessibleEntityCreated.
15481
+ * @implements IAccessibleEntityCreated
15482
+ * @constructor
15483
+ * @param {IAccessibleEntityCreated=} [properties] Properties to set
15484
+ */
15485
+ function AccessibleEntityCreated(properties) {
15486
+ if (properties)
15487
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
15488
+ if (properties[keys[i]] != null)
15489
+ this[keys[i]] = properties[keys[i]];
15490
+ }
15491
+
15492
+ /**
15493
+ * AccessibleEntityCreated entityType.
15494
+ * @member {string} entityType
15495
+ * @memberof AccessibleEntityCreated
15496
+ * @instance
15497
+ */
15498
+ AccessibleEntityCreated.prototype.entityType = "";
15499
+
15500
+ /**
15501
+ * AccessibleEntityCreated entityTypeId.
15502
+ * @member {string} entityTypeId
15503
+ * @memberof AccessibleEntityCreated
15504
+ * @instance
15505
+ */
15506
+ AccessibleEntityCreated.prototype.entityTypeId = "";
15507
+
15508
+ /**
15509
+ * AccessibleEntityCreated accessGroupName.
15510
+ * @member {string} accessGroupName
15511
+ * @memberof AccessibleEntityCreated
15512
+ * @instance
15513
+ */
15514
+ AccessibleEntityCreated.prototype.accessGroupName = "";
15515
+
15516
+ /**
15517
+ * AccessibleEntityCreated isHidden.
15518
+ * @member {boolean} isHidden
15519
+ * @memberof AccessibleEntityCreated
15520
+ * @instance
15521
+ */
15522
+ AccessibleEntityCreated.prototype.isHidden = false;
15523
+
15524
+ /**
15525
+ * AccessibleEntityCreated isLocked.
15526
+ * @member {boolean} isLocked
15527
+ * @memberof AccessibleEntityCreated
15528
+ * @instance
15529
+ */
15530
+ AccessibleEntityCreated.prototype.isLocked = false;
15531
+
15532
+ /**
15533
+ * AccessibleEntityCreated createdAt.
15534
+ * @member {number|Long} createdAt
15535
+ * @memberof AccessibleEntityCreated
15536
+ * @instance
15537
+ */
15538
+ AccessibleEntityCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
15539
+
15540
+ /**
15541
+ * Creates a new AccessibleEntityCreated instance using the specified properties.
15542
+ * @function create
15543
+ * @memberof AccessibleEntityCreated
15544
+ * @static
15545
+ * @param {IAccessibleEntityCreated=} [properties] Properties to set
15546
+ * @returns {AccessibleEntityCreated} AccessibleEntityCreated instance
15547
+ */
15548
+ AccessibleEntityCreated.create = function create(properties) {
15549
+ return new AccessibleEntityCreated(properties);
15550
+ };
15551
+
15552
+ /**
15553
+ * Encodes the specified AccessibleEntityCreated message. Does not implicitly {@link AccessibleEntityCreated.verify|verify} messages.
15554
+ * @function encode
15555
+ * @memberof AccessibleEntityCreated
15556
+ * @static
15557
+ * @param {IAccessibleEntityCreated} message AccessibleEntityCreated message or plain object to encode
15558
+ * @param {$protobuf.Writer} [writer] Writer to encode to
15559
+ * @returns {$protobuf.Writer} Writer
15560
+ */
15561
+ AccessibleEntityCreated.encode = function encode(message, writer) {
15562
+ if (!writer)
15563
+ writer = $Writer.create();
15564
+ if (message.entityType != null && message.hasOwnProperty("entityType"))
15565
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.entityType);
15566
+ if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
15567
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.entityTypeId);
15568
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
15569
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.accessGroupName);
15570
+ if (message.isHidden != null && message.hasOwnProperty("isHidden"))
15571
+ writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isHidden);
15572
+ if (message.isLocked != null && message.hasOwnProperty("isLocked"))
15573
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isLocked);
15574
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
15575
+ writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.createdAt);
15576
+ return writer;
15577
+ };
15578
+
15579
+ /**
15580
+ * Encodes the specified AccessibleEntityCreated message, length delimited. Does not implicitly {@link AccessibleEntityCreated.verify|verify} messages.
15581
+ * @function encodeDelimited
15582
+ * @memberof AccessibleEntityCreated
15583
+ * @static
15584
+ * @param {IAccessibleEntityCreated} message AccessibleEntityCreated message or plain object to encode
15585
+ * @param {$protobuf.Writer} [writer] Writer to encode to
15586
+ * @returns {$protobuf.Writer} Writer
15587
+ */
15588
+ AccessibleEntityCreated.encodeDelimited = function encodeDelimited(message, writer) {
15589
+ return this.encode(message, writer).ldelim();
15590
+ };
15591
+
15592
+ /**
15593
+ * Decodes an AccessibleEntityCreated message from the specified reader or buffer.
15594
+ * @function decode
15595
+ * @memberof AccessibleEntityCreated
15596
+ * @static
15597
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
15598
+ * @param {number} [length] Message length if known beforehand
15599
+ * @returns {AccessibleEntityCreated} AccessibleEntityCreated
15600
+ * @throws {Error} If the payload is not a reader or valid buffer
15601
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15602
+ */
15603
+ AccessibleEntityCreated.decode = function decode(reader, length) {
15604
+ if (!(reader instanceof $Reader))
15605
+ reader = $Reader.create(reader);
15606
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AccessibleEntityCreated();
15607
+ while (reader.pos < end) {
15608
+ var tag = reader.uint32();
15609
+ switch (tag >>> 3) {
15610
+ case 1:
15611
+ message.entityType = reader.string();
15612
+ break;
15613
+ case 2:
15614
+ message.entityTypeId = reader.string();
15615
+ break;
15616
+ case 3:
15617
+ message.accessGroupName = reader.string();
15618
+ break;
15619
+ case 4:
15620
+ message.isHidden = reader.bool();
15621
+ break;
15622
+ case 5:
15623
+ message.isLocked = reader.bool();
15624
+ break;
15625
+ case 6:
15626
+ message.createdAt = reader.uint64();
15627
+ break;
15628
+ default:
15629
+ reader.skipType(tag & 7);
15630
+ break;
15631
+ }
15632
+ }
15633
+ return message;
15634
+ };
15635
+
15636
+ /**
15637
+ * Decodes an AccessibleEntityCreated message from the specified reader or buffer, length delimited.
15638
+ * @function decodeDelimited
15639
+ * @memberof AccessibleEntityCreated
15640
+ * @static
15641
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
15642
+ * @returns {AccessibleEntityCreated} AccessibleEntityCreated
15643
+ * @throws {Error} If the payload is not a reader or valid buffer
15644
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15645
+ */
15646
+ AccessibleEntityCreated.decodeDelimited = function decodeDelimited(reader) {
15647
+ if (!(reader instanceof $Reader))
15648
+ reader = new $Reader(reader);
15649
+ return this.decode(reader, reader.uint32());
15650
+ };
15651
+
15652
+ /**
15653
+ * Verifies an AccessibleEntityCreated message.
15654
+ * @function verify
15655
+ * @memberof AccessibleEntityCreated
15656
+ * @static
15657
+ * @param {Object.<string,*>} message Plain object to verify
15658
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
15659
+ */
15660
+ AccessibleEntityCreated.verify = function verify(message) {
15661
+ if (typeof message !== "object" || message === null)
15662
+ return "object expected";
15663
+ if (message.entityType != null && message.hasOwnProperty("entityType"))
15664
+ if (!$util.isString(message.entityType))
15665
+ return "entityType: string expected";
15666
+ if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
15667
+ if (!$util.isString(message.entityTypeId))
15668
+ return "entityTypeId: string expected";
15669
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
15670
+ if (!$util.isString(message.accessGroupName))
15671
+ return "accessGroupName: string expected";
15672
+ if (message.isHidden != null && message.hasOwnProperty("isHidden"))
15673
+ if (typeof message.isHidden !== "boolean")
15674
+ return "isHidden: boolean expected";
15675
+ if (message.isLocked != null && message.hasOwnProperty("isLocked"))
15676
+ if (typeof message.isLocked !== "boolean")
15677
+ return "isLocked: boolean expected";
15678
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
15679
+ if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
15680
+ return "createdAt: integer|Long expected";
15681
+ return null;
15682
+ };
15683
+
15684
+ /**
15685
+ * Creates an AccessibleEntityCreated message from a plain object. Also converts values to their respective internal types.
15686
+ * @function fromObject
15687
+ * @memberof AccessibleEntityCreated
15688
+ * @static
15689
+ * @param {Object.<string,*>} object Plain object
15690
+ * @returns {AccessibleEntityCreated} AccessibleEntityCreated
15691
+ */
15692
+ AccessibleEntityCreated.fromObject = function fromObject(object) {
15693
+ if (object instanceof $root.AccessibleEntityCreated)
15694
+ return object;
15695
+ var message = new $root.AccessibleEntityCreated();
15696
+ if (object.entityType != null)
15697
+ message.entityType = String(object.entityType);
15698
+ if (object.entityTypeId != null)
15699
+ message.entityTypeId = String(object.entityTypeId);
15700
+ if (object.accessGroupName != null)
15701
+ message.accessGroupName = String(object.accessGroupName);
15702
+ if (object.isHidden != null)
15703
+ message.isHidden = Boolean(object.isHidden);
15704
+ if (object.isLocked != null)
15705
+ message.isLocked = Boolean(object.isLocked);
15706
+ if (object.createdAt != null)
15707
+ if ($util.Long)
15708
+ (message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
15709
+ else if (typeof object.createdAt === "string")
15710
+ message.createdAt = parseInt(object.createdAt, 10);
15711
+ else if (typeof object.createdAt === "number")
15712
+ message.createdAt = object.createdAt;
15713
+ else if (typeof object.createdAt === "object")
15714
+ message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
15715
+ return message;
15716
+ };
15717
+
15718
+ /**
15719
+ * Creates a plain object from an AccessibleEntityCreated message. Also converts values to other types if specified.
15720
+ * @function toObject
15721
+ * @memberof AccessibleEntityCreated
15722
+ * @static
15723
+ * @param {AccessibleEntityCreated} message AccessibleEntityCreated
15724
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
15725
+ * @returns {Object.<string,*>} Plain object
15726
+ */
15727
+ AccessibleEntityCreated.toObject = function toObject(message, options) {
15728
+ if (!options)
15729
+ options = {};
15730
+ var object = {};
15731
+ if (options.defaults) {
15732
+ object.entityType = "";
15733
+ object.entityTypeId = "";
15734
+ object.accessGroupName = "";
15735
+ object.isHidden = false;
15736
+ object.isLocked = false;
15737
+ if ($util.Long) {
15738
+ var long = new $util.Long(0, 0, true);
15739
+ object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
15740
+ } else
15741
+ object.createdAt = options.longs === String ? "0" : 0;
15742
+ }
15743
+ if (message.entityType != null && message.hasOwnProperty("entityType"))
15744
+ object.entityType = message.entityType;
15745
+ if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
15746
+ object.entityTypeId = message.entityTypeId;
15747
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
15748
+ object.accessGroupName = message.accessGroupName;
15749
+ if (message.isHidden != null && message.hasOwnProperty("isHidden"))
15750
+ object.isHidden = message.isHidden;
15751
+ if (message.isLocked != null && message.hasOwnProperty("isLocked"))
15752
+ object.isLocked = message.isLocked;
15753
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
15754
+ if (typeof message.createdAt === "number")
15755
+ object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
15756
+ else
15757
+ 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;
15758
+ return object;
15759
+ };
15760
+
15761
+ /**
15762
+ * Converts this AccessibleEntityCreated to JSON.
15763
+ * @function toJSON
15764
+ * @memberof AccessibleEntityCreated
15765
+ * @instance
15766
+ * @returns {Object.<string,*>} JSON object
15767
+ */
15768
+ AccessibleEntityCreated.prototype.toJSON = function toJSON() {
15769
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
15770
+ };
15771
+
15772
+ return AccessibleEntityCreated;
15773
+ })();
15774
+
15775
+ $root.AccessibleEntityUpdated = (function() {
15776
+
15777
+ /**
15778
+ * Properties of an AccessibleEntityUpdated.
15779
+ * @exports IAccessibleEntityUpdated
15780
+ * @interface IAccessibleEntityUpdated
15781
+ * @property {string|null} [entityType] AccessibleEntityUpdated entityType
15782
+ * @property {string|null} [entityTypeId] AccessibleEntityUpdated entityTypeId
15783
+ * @property {string|null} [accessGroupName] AccessibleEntityUpdated accessGroupName
15784
+ * @property {boolean|null} [isHidden] AccessibleEntityUpdated isHidden
15785
+ * @property {boolean|null} [isLocked] AccessibleEntityUpdated isLocked
15786
+ * @property {number|Long|null} [updatedAt] AccessibleEntityUpdated updatedAt
15787
+ */
15788
+
15789
+ /**
15790
+ * Constructs a new AccessibleEntityUpdated.
15791
+ * @exports AccessibleEntityUpdated
15792
+ * @classdesc Represents an AccessibleEntityUpdated.
15793
+ * @implements IAccessibleEntityUpdated
15794
+ * @constructor
15795
+ * @param {IAccessibleEntityUpdated=} [properties] Properties to set
15796
+ */
15797
+ function AccessibleEntityUpdated(properties) {
15798
+ if (properties)
15799
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
15800
+ if (properties[keys[i]] != null)
15801
+ this[keys[i]] = properties[keys[i]];
15802
+ }
15803
+
15804
+ /**
15805
+ * AccessibleEntityUpdated entityType.
15806
+ * @member {string} entityType
15807
+ * @memberof AccessibleEntityUpdated
15808
+ * @instance
15809
+ */
15810
+ AccessibleEntityUpdated.prototype.entityType = "";
15811
+
15812
+ /**
15813
+ * AccessibleEntityUpdated entityTypeId.
15814
+ * @member {string} entityTypeId
15815
+ * @memberof AccessibleEntityUpdated
15816
+ * @instance
15817
+ */
15818
+ AccessibleEntityUpdated.prototype.entityTypeId = "";
15819
+
15820
+ /**
15821
+ * AccessibleEntityUpdated accessGroupName.
15822
+ * @member {string} accessGroupName
15823
+ * @memberof AccessibleEntityUpdated
15824
+ * @instance
15825
+ */
15826
+ AccessibleEntityUpdated.prototype.accessGroupName = "";
15827
+
15828
+ /**
15829
+ * AccessibleEntityUpdated isHidden.
15830
+ * @member {boolean} isHidden
15831
+ * @memberof AccessibleEntityUpdated
15832
+ * @instance
15833
+ */
15834
+ AccessibleEntityUpdated.prototype.isHidden = false;
15835
+
15836
+ /**
15837
+ * AccessibleEntityUpdated isLocked.
15838
+ * @member {boolean} isLocked
15839
+ * @memberof AccessibleEntityUpdated
15840
+ * @instance
15841
+ */
15842
+ AccessibleEntityUpdated.prototype.isLocked = false;
15843
+
15844
+ /**
15845
+ * AccessibleEntityUpdated updatedAt.
15846
+ * @member {number|Long} updatedAt
15847
+ * @memberof AccessibleEntityUpdated
15848
+ * @instance
15849
+ */
15850
+ AccessibleEntityUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
15851
+
15852
+ /**
15853
+ * Creates a new AccessibleEntityUpdated instance using the specified properties.
15854
+ * @function create
15855
+ * @memberof AccessibleEntityUpdated
15856
+ * @static
15857
+ * @param {IAccessibleEntityUpdated=} [properties] Properties to set
15858
+ * @returns {AccessibleEntityUpdated} AccessibleEntityUpdated instance
15859
+ */
15860
+ AccessibleEntityUpdated.create = function create(properties) {
15861
+ return new AccessibleEntityUpdated(properties);
15862
+ };
15863
+
15864
+ /**
15865
+ * Encodes the specified AccessibleEntityUpdated message. Does not implicitly {@link AccessibleEntityUpdated.verify|verify} messages.
15866
+ * @function encode
15867
+ * @memberof AccessibleEntityUpdated
15868
+ * @static
15869
+ * @param {IAccessibleEntityUpdated} message AccessibleEntityUpdated message or plain object to encode
15870
+ * @param {$protobuf.Writer} [writer] Writer to encode to
15871
+ * @returns {$protobuf.Writer} Writer
15872
+ */
15873
+ AccessibleEntityUpdated.encode = function encode(message, writer) {
15874
+ if (!writer)
15875
+ writer = $Writer.create();
15876
+ if (message.entityType != null && message.hasOwnProperty("entityType"))
15877
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.entityType);
15878
+ if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
15879
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.entityTypeId);
15880
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
15881
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.accessGroupName);
15882
+ if (message.isHidden != null && message.hasOwnProperty("isHidden"))
15883
+ writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isHidden);
15884
+ if (message.isLocked != null && message.hasOwnProperty("isLocked"))
15885
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isLocked);
15886
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
15887
+ writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.updatedAt);
15888
+ return writer;
15889
+ };
15890
+
15891
+ /**
15892
+ * Encodes the specified AccessibleEntityUpdated message, length delimited. Does not implicitly {@link AccessibleEntityUpdated.verify|verify} messages.
15893
+ * @function encodeDelimited
15894
+ * @memberof AccessibleEntityUpdated
15895
+ * @static
15896
+ * @param {IAccessibleEntityUpdated} message AccessibleEntityUpdated message or plain object to encode
15897
+ * @param {$protobuf.Writer} [writer] Writer to encode to
15898
+ * @returns {$protobuf.Writer} Writer
15899
+ */
15900
+ AccessibleEntityUpdated.encodeDelimited = function encodeDelimited(message, writer) {
15901
+ return this.encode(message, writer).ldelim();
15902
+ };
15903
+
15904
+ /**
15905
+ * Decodes an AccessibleEntityUpdated message from the specified reader or buffer.
15906
+ * @function decode
15907
+ * @memberof AccessibleEntityUpdated
15908
+ * @static
15909
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
15910
+ * @param {number} [length] Message length if known beforehand
15911
+ * @returns {AccessibleEntityUpdated} AccessibleEntityUpdated
15912
+ * @throws {Error} If the payload is not a reader or valid buffer
15913
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15914
+ */
15915
+ AccessibleEntityUpdated.decode = function decode(reader, length) {
15916
+ if (!(reader instanceof $Reader))
15917
+ reader = $Reader.create(reader);
15918
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AccessibleEntityUpdated();
15919
+ while (reader.pos < end) {
15920
+ var tag = reader.uint32();
15921
+ switch (tag >>> 3) {
15922
+ case 1:
15923
+ message.entityType = reader.string();
15924
+ break;
15925
+ case 2:
15926
+ message.entityTypeId = reader.string();
15927
+ break;
15928
+ case 3:
15929
+ message.accessGroupName = reader.string();
15930
+ break;
15931
+ case 4:
15932
+ message.isHidden = reader.bool();
15933
+ break;
15934
+ case 5:
15935
+ message.isLocked = reader.bool();
15936
+ break;
15937
+ case 6:
15938
+ message.updatedAt = reader.uint64();
15939
+ break;
15940
+ default:
15941
+ reader.skipType(tag & 7);
15942
+ break;
15943
+ }
15944
+ }
15945
+ return message;
15946
+ };
15947
+
15948
+ /**
15949
+ * Decodes an AccessibleEntityUpdated message from the specified reader or buffer, length delimited.
15950
+ * @function decodeDelimited
15951
+ * @memberof AccessibleEntityUpdated
15952
+ * @static
15953
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
15954
+ * @returns {AccessibleEntityUpdated} AccessibleEntityUpdated
15955
+ * @throws {Error} If the payload is not a reader or valid buffer
15956
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15957
+ */
15958
+ AccessibleEntityUpdated.decodeDelimited = function decodeDelimited(reader) {
15959
+ if (!(reader instanceof $Reader))
15960
+ reader = new $Reader(reader);
15961
+ return this.decode(reader, reader.uint32());
15962
+ };
15963
+
15964
+ /**
15965
+ * Verifies an AccessibleEntityUpdated message.
15966
+ * @function verify
15967
+ * @memberof AccessibleEntityUpdated
15968
+ * @static
15969
+ * @param {Object.<string,*>} message Plain object to verify
15970
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
15971
+ */
15972
+ AccessibleEntityUpdated.verify = function verify(message) {
15973
+ if (typeof message !== "object" || message === null)
15974
+ return "object expected";
15975
+ if (message.entityType != null && message.hasOwnProperty("entityType"))
15976
+ if (!$util.isString(message.entityType))
15977
+ return "entityType: string expected";
15978
+ if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
15979
+ if (!$util.isString(message.entityTypeId))
15980
+ return "entityTypeId: string expected";
15981
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
15982
+ if (!$util.isString(message.accessGroupName))
15983
+ return "accessGroupName: string expected";
15984
+ if (message.isHidden != null && message.hasOwnProperty("isHidden"))
15985
+ if (typeof message.isHidden !== "boolean")
15986
+ return "isHidden: boolean expected";
15987
+ if (message.isLocked != null && message.hasOwnProperty("isLocked"))
15988
+ if (typeof message.isLocked !== "boolean")
15989
+ return "isLocked: boolean expected";
15990
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
15991
+ if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
15992
+ return "updatedAt: integer|Long expected";
15993
+ return null;
15994
+ };
15995
+
15996
+ /**
15997
+ * Creates an AccessibleEntityUpdated message from a plain object. Also converts values to their respective internal types.
15998
+ * @function fromObject
15999
+ * @memberof AccessibleEntityUpdated
16000
+ * @static
16001
+ * @param {Object.<string,*>} object Plain object
16002
+ * @returns {AccessibleEntityUpdated} AccessibleEntityUpdated
16003
+ */
16004
+ AccessibleEntityUpdated.fromObject = function fromObject(object) {
16005
+ if (object instanceof $root.AccessibleEntityUpdated)
16006
+ return object;
16007
+ var message = new $root.AccessibleEntityUpdated();
16008
+ if (object.entityType != null)
16009
+ message.entityType = String(object.entityType);
16010
+ if (object.entityTypeId != null)
16011
+ message.entityTypeId = String(object.entityTypeId);
16012
+ if (object.accessGroupName != null)
16013
+ message.accessGroupName = String(object.accessGroupName);
16014
+ if (object.isHidden != null)
16015
+ message.isHidden = Boolean(object.isHidden);
16016
+ if (object.isLocked != null)
16017
+ message.isLocked = Boolean(object.isLocked);
16018
+ if (object.updatedAt != null)
16019
+ if ($util.Long)
16020
+ (message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
16021
+ else if (typeof object.updatedAt === "string")
16022
+ message.updatedAt = parseInt(object.updatedAt, 10);
16023
+ else if (typeof object.updatedAt === "number")
16024
+ message.updatedAt = object.updatedAt;
16025
+ else if (typeof object.updatedAt === "object")
16026
+ message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
16027
+ return message;
16028
+ };
16029
+
16030
+ /**
16031
+ * Creates a plain object from an AccessibleEntityUpdated message. Also converts values to other types if specified.
16032
+ * @function toObject
16033
+ * @memberof AccessibleEntityUpdated
16034
+ * @static
16035
+ * @param {AccessibleEntityUpdated} message AccessibleEntityUpdated
16036
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
16037
+ * @returns {Object.<string,*>} Plain object
16038
+ */
16039
+ AccessibleEntityUpdated.toObject = function toObject(message, options) {
16040
+ if (!options)
16041
+ options = {};
16042
+ var object = {};
16043
+ if (options.defaults) {
16044
+ object.entityType = "";
16045
+ object.entityTypeId = "";
16046
+ object.accessGroupName = "";
16047
+ object.isHidden = false;
16048
+ object.isLocked = false;
16049
+ if ($util.Long) {
16050
+ var long = new $util.Long(0, 0, true);
16051
+ object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
16052
+ } else
16053
+ object.updatedAt = options.longs === String ? "0" : 0;
16054
+ }
16055
+ if (message.entityType != null && message.hasOwnProperty("entityType"))
16056
+ object.entityType = message.entityType;
16057
+ if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
16058
+ object.entityTypeId = message.entityTypeId;
16059
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
16060
+ object.accessGroupName = message.accessGroupName;
16061
+ if (message.isHidden != null && message.hasOwnProperty("isHidden"))
16062
+ object.isHidden = message.isHidden;
16063
+ if (message.isLocked != null && message.hasOwnProperty("isLocked"))
16064
+ object.isLocked = message.isLocked;
16065
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
16066
+ if (typeof message.updatedAt === "number")
16067
+ object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
16068
+ else
16069
+ 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;
16070
+ return object;
16071
+ };
16072
+
16073
+ /**
16074
+ * Converts this AccessibleEntityUpdated to JSON.
16075
+ * @function toJSON
16076
+ * @memberof AccessibleEntityUpdated
16077
+ * @instance
16078
+ * @returns {Object.<string,*>} JSON object
16079
+ */
16080
+ AccessibleEntityUpdated.prototype.toJSON = function toJSON() {
16081
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
16082
+ };
16083
+
16084
+ return AccessibleEntityUpdated;
16085
+ })();
16086
+
16087
+ $root.AccessibleEntityDeleted = (function() {
16088
+
16089
+ /**
16090
+ * Properties of an AccessibleEntityDeleted.
16091
+ * @exports IAccessibleEntityDeleted
16092
+ * @interface IAccessibleEntityDeleted
16093
+ * @property {string|null} [entityType] AccessibleEntityDeleted entityType
16094
+ * @property {string|null} [entityTypeId] AccessibleEntityDeleted entityTypeId
16095
+ * @property {string|null} [accessGroupName] AccessibleEntityDeleted accessGroupName
16096
+ * @property {number|Long|null} [deletedAt] AccessibleEntityDeleted deletedAt
16097
+ */
16098
+
16099
+ /**
16100
+ * Constructs a new AccessibleEntityDeleted.
16101
+ * @exports AccessibleEntityDeleted
16102
+ * @classdesc Represents an AccessibleEntityDeleted.
16103
+ * @implements IAccessibleEntityDeleted
16104
+ * @constructor
16105
+ * @param {IAccessibleEntityDeleted=} [properties] Properties to set
16106
+ */
16107
+ function AccessibleEntityDeleted(properties) {
16108
+ if (properties)
16109
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
16110
+ if (properties[keys[i]] != null)
16111
+ this[keys[i]] = properties[keys[i]];
16112
+ }
16113
+
16114
+ /**
16115
+ * AccessibleEntityDeleted entityType.
16116
+ * @member {string} entityType
16117
+ * @memberof AccessibleEntityDeleted
16118
+ * @instance
16119
+ */
16120
+ AccessibleEntityDeleted.prototype.entityType = "";
16121
+
16122
+ /**
16123
+ * AccessibleEntityDeleted entityTypeId.
16124
+ * @member {string} entityTypeId
16125
+ * @memberof AccessibleEntityDeleted
16126
+ * @instance
16127
+ */
16128
+ AccessibleEntityDeleted.prototype.entityTypeId = "";
16129
+
16130
+ /**
16131
+ * AccessibleEntityDeleted accessGroupName.
16132
+ * @member {string} accessGroupName
16133
+ * @memberof AccessibleEntityDeleted
16134
+ * @instance
16135
+ */
16136
+ AccessibleEntityDeleted.prototype.accessGroupName = "";
16137
+
16138
+ /**
16139
+ * AccessibleEntityDeleted deletedAt.
16140
+ * @member {number|Long} deletedAt
16141
+ * @memberof AccessibleEntityDeleted
16142
+ * @instance
16143
+ */
16144
+ AccessibleEntityDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
16145
+
16146
+ /**
16147
+ * Creates a new AccessibleEntityDeleted instance using the specified properties.
16148
+ * @function create
16149
+ * @memberof AccessibleEntityDeleted
16150
+ * @static
16151
+ * @param {IAccessibleEntityDeleted=} [properties] Properties to set
16152
+ * @returns {AccessibleEntityDeleted} AccessibleEntityDeleted instance
16153
+ */
16154
+ AccessibleEntityDeleted.create = function create(properties) {
16155
+ return new AccessibleEntityDeleted(properties);
16156
+ };
16157
+
16158
+ /**
16159
+ * Encodes the specified AccessibleEntityDeleted message. Does not implicitly {@link AccessibleEntityDeleted.verify|verify} messages.
16160
+ * @function encode
16161
+ * @memberof AccessibleEntityDeleted
16162
+ * @static
16163
+ * @param {IAccessibleEntityDeleted} message AccessibleEntityDeleted message or plain object to encode
16164
+ * @param {$protobuf.Writer} [writer] Writer to encode to
16165
+ * @returns {$protobuf.Writer} Writer
16166
+ */
16167
+ AccessibleEntityDeleted.encode = function encode(message, writer) {
16168
+ if (!writer)
16169
+ writer = $Writer.create();
16170
+ if (message.entityType != null && message.hasOwnProperty("entityType"))
16171
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.entityType);
16172
+ if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
16173
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.entityTypeId);
16174
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
16175
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.accessGroupName);
16176
+ if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
16177
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.deletedAt);
16178
+ return writer;
16179
+ };
16180
+
16181
+ /**
16182
+ * Encodes the specified AccessibleEntityDeleted message, length delimited. Does not implicitly {@link AccessibleEntityDeleted.verify|verify} messages.
16183
+ * @function encodeDelimited
16184
+ * @memberof AccessibleEntityDeleted
16185
+ * @static
16186
+ * @param {IAccessibleEntityDeleted} message AccessibleEntityDeleted message or plain object to encode
16187
+ * @param {$protobuf.Writer} [writer] Writer to encode to
16188
+ * @returns {$protobuf.Writer} Writer
16189
+ */
16190
+ AccessibleEntityDeleted.encodeDelimited = function encodeDelimited(message, writer) {
16191
+ return this.encode(message, writer).ldelim();
16192
+ };
16193
+
16194
+ /**
16195
+ * Decodes an AccessibleEntityDeleted message from the specified reader or buffer.
16196
+ * @function decode
16197
+ * @memberof AccessibleEntityDeleted
16198
+ * @static
16199
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
16200
+ * @param {number} [length] Message length if known beforehand
16201
+ * @returns {AccessibleEntityDeleted} AccessibleEntityDeleted
16202
+ * @throws {Error} If the payload is not a reader or valid buffer
16203
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16204
+ */
16205
+ AccessibleEntityDeleted.decode = function decode(reader, length) {
16206
+ if (!(reader instanceof $Reader))
16207
+ reader = $Reader.create(reader);
16208
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AccessibleEntityDeleted();
16209
+ while (reader.pos < end) {
16210
+ var tag = reader.uint32();
16211
+ switch (tag >>> 3) {
16212
+ case 1:
16213
+ message.entityType = reader.string();
16214
+ break;
16215
+ case 2:
16216
+ message.entityTypeId = reader.string();
16217
+ break;
16218
+ case 3:
16219
+ message.accessGroupName = reader.string();
16220
+ break;
16221
+ case 4:
16222
+ message.deletedAt = reader.uint64();
16223
+ break;
16224
+ default:
16225
+ reader.skipType(tag & 7);
16226
+ break;
16227
+ }
16228
+ }
16229
+ return message;
16230
+ };
16231
+
16232
+ /**
16233
+ * Decodes an AccessibleEntityDeleted message from the specified reader or buffer, length delimited.
16234
+ * @function decodeDelimited
16235
+ * @memberof AccessibleEntityDeleted
16236
+ * @static
16237
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
16238
+ * @returns {AccessibleEntityDeleted} AccessibleEntityDeleted
16239
+ * @throws {Error} If the payload is not a reader or valid buffer
16240
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16241
+ */
16242
+ AccessibleEntityDeleted.decodeDelimited = function decodeDelimited(reader) {
16243
+ if (!(reader instanceof $Reader))
16244
+ reader = new $Reader(reader);
16245
+ return this.decode(reader, reader.uint32());
16246
+ };
16247
+
16248
+ /**
16249
+ * Verifies an AccessibleEntityDeleted message.
16250
+ * @function verify
16251
+ * @memberof AccessibleEntityDeleted
16252
+ * @static
16253
+ * @param {Object.<string,*>} message Plain object to verify
16254
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
16255
+ */
16256
+ AccessibleEntityDeleted.verify = function verify(message) {
16257
+ if (typeof message !== "object" || message === null)
16258
+ return "object expected";
16259
+ if (message.entityType != null && message.hasOwnProperty("entityType"))
16260
+ if (!$util.isString(message.entityType))
16261
+ return "entityType: string expected";
16262
+ if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
16263
+ if (!$util.isString(message.entityTypeId))
16264
+ return "entityTypeId: string expected";
16265
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
16266
+ if (!$util.isString(message.accessGroupName))
16267
+ return "accessGroupName: string expected";
16268
+ if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
16269
+ if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
16270
+ return "deletedAt: integer|Long expected";
16271
+ return null;
16272
+ };
16273
+
16274
+ /**
16275
+ * Creates an AccessibleEntityDeleted message from a plain object. Also converts values to their respective internal types.
16276
+ * @function fromObject
16277
+ * @memberof AccessibleEntityDeleted
16278
+ * @static
16279
+ * @param {Object.<string,*>} object Plain object
16280
+ * @returns {AccessibleEntityDeleted} AccessibleEntityDeleted
16281
+ */
16282
+ AccessibleEntityDeleted.fromObject = function fromObject(object) {
16283
+ if (object instanceof $root.AccessibleEntityDeleted)
16284
+ return object;
16285
+ var message = new $root.AccessibleEntityDeleted();
16286
+ if (object.entityType != null)
16287
+ message.entityType = String(object.entityType);
16288
+ if (object.entityTypeId != null)
16289
+ message.entityTypeId = String(object.entityTypeId);
16290
+ if (object.accessGroupName != null)
16291
+ message.accessGroupName = String(object.accessGroupName);
16292
+ if (object.deletedAt != null)
16293
+ if ($util.Long)
16294
+ (message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
16295
+ else if (typeof object.deletedAt === "string")
16296
+ message.deletedAt = parseInt(object.deletedAt, 10);
16297
+ else if (typeof object.deletedAt === "number")
16298
+ message.deletedAt = object.deletedAt;
16299
+ else if (typeof object.deletedAt === "object")
16300
+ message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
16301
+ return message;
16302
+ };
16303
+
16304
+ /**
16305
+ * Creates a plain object from an AccessibleEntityDeleted message. Also converts values to other types if specified.
16306
+ * @function toObject
16307
+ * @memberof AccessibleEntityDeleted
16308
+ * @static
16309
+ * @param {AccessibleEntityDeleted} message AccessibleEntityDeleted
16310
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
16311
+ * @returns {Object.<string,*>} Plain object
16312
+ */
16313
+ AccessibleEntityDeleted.toObject = function toObject(message, options) {
16314
+ if (!options)
16315
+ options = {};
16316
+ var object = {};
16317
+ if (options.defaults) {
16318
+ object.entityType = "";
16319
+ object.entityTypeId = "";
16320
+ object.accessGroupName = "";
16321
+ if ($util.Long) {
16322
+ var long = new $util.Long(0, 0, true);
16323
+ object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
16324
+ } else
16325
+ object.deletedAt = options.longs === String ? "0" : 0;
16326
+ }
16327
+ if (message.entityType != null && message.hasOwnProperty("entityType"))
16328
+ object.entityType = message.entityType;
16329
+ if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
16330
+ object.entityTypeId = message.entityTypeId;
16331
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
16332
+ object.accessGroupName = message.accessGroupName;
16333
+ if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
16334
+ if (typeof message.deletedAt === "number")
16335
+ object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
16336
+ else
16337
+ 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;
16338
+ return object;
16339
+ };
16340
+
16341
+ /**
16342
+ * Converts this AccessibleEntityDeleted to JSON.
16343
+ * @function toJSON
16344
+ * @memberof AccessibleEntityDeleted
16345
+ * @instance
16346
+ * @returns {Object.<string,*>} JSON object
16347
+ */
16348
+ AccessibleEntityDeleted.prototype.toJSON = function toJSON() {
16349
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
16350
+ };
16351
+
16352
+ return AccessibleEntityDeleted;
16353
+ })();
16354
+
15463
16355
  $root.ReferralSignedUp = (function() {
15464
16356
 
15465
16357
  /**
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.79.0"
19
+ "version": "1.80.0"
20
20
  }