@headspace/protos-events 1.148.0 → 1.149.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
@@ -18369,6 +18369,210 @@ export class OrganizationAccessGroupMapDeleted implements IOrganizationAccessGro
18369
18369
  public toJSON(): { [k: string]: any };
18370
18370
  }
18371
18371
 
18372
+ /** Properties of an ExperimentAccessGroupMapCreated. */
18373
+ export interface IExperimentAccessGroupMapCreated {
18374
+
18375
+ /** ExperimentAccessGroupMapCreated experimentTag */
18376
+ experimentTag?: (string|null);
18377
+
18378
+ /** ExperimentAccessGroupMapCreated accessGroupName */
18379
+ accessGroupName?: (string|null);
18380
+
18381
+ /** ExperimentAccessGroupMapCreated createdAt */
18382
+ createdAt?: (number|Long|null);
18383
+ }
18384
+
18385
+ /** Represents an ExperimentAccessGroupMapCreated. */
18386
+ export class ExperimentAccessGroupMapCreated implements IExperimentAccessGroupMapCreated {
18387
+
18388
+ /**
18389
+ * Constructs a new ExperimentAccessGroupMapCreated.
18390
+ * @param [properties] Properties to set
18391
+ */
18392
+ constructor(properties?: IExperimentAccessGroupMapCreated);
18393
+
18394
+ /** ExperimentAccessGroupMapCreated experimentTag. */
18395
+ public experimentTag: string;
18396
+
18397
+ /** ExperimentAccessGroupMapCreated accessGroupName. */
18398
+ public accessGroupName: string;
18399
+
18400
+ /** ExperimentAccessGroupMapCreated createdAt. */
18401
+ public createdAt: (number|Long);
18402
+
18403
+ /**
18404
+ * Creates a new ExperimentAccessGroupMapCreated instance using the specified properties.
18405
+ * @param [properties] Properties to set
18406
+ * @returns ExperimentAccessGroupMapCreated instance
18407
+ */
18408
+ public static create(properties?: IExperimentAccessGroupMapCreated): ExperimentAccessGroupMapCreated;
18409
+
18410
+ /**
18411
+ * Encodes the specified ExperimentAccessGroupMapCreated message. Does not implicitly {@link ExperimentAccessGroupMapCreated.verify|verify} messages.
18412
+ * @param message ExperimentAccessGroupMapCreated message or plain object to encode
18413
+ * @param [writer] Writer to encode to
18414
+ * @returns Writer
18415
+ */
18416
+ public static encode(message: IExperimentAccessGroupMapCreated, writer?: $protobuf.Writer): $protobuf.Writer;
18417
+
18418
+ /**
18419
+ * Encodes the specified ExperimentAccessGroupMapCreated message, length delimited. Does not implicitly {@link ExperimentAccessGroupMapCreated.verify|verify} messages.
18420
+ * @param message ExperimentAccessGroupMapCreated message or plain object to encode
18421
+ * @param [writer] Writer to encode to
18422
+ * @returns Writer
18423
+ */
18424
+ public static encodeDelimited(message: IExperimentAccessGroupMapCreated, writer?: $protobuf.Writer): $protobuf.Writer;
18425
+
18426
+ /**
18427
+ * Decodes an ExperimentAccessGroupMapCreated message from the specified reader or buffer.
18428
+ * @param reader Reader or buffer to decode from
18429
+ * @param [length] Message length if known beforehand
18430
+ * @returns ExperimentAccessGroupMapCreated
18431
+ * @throws {Error} If the payload is not a reader or valid buffer
18432
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18433
+ */
18434
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ExperimentAccessGroupMapCreated;
18435
+
18436
+ /**
18437
+ * Decodes an ExperimentAccessGroupMapCreated message from the specified reader or buffer, length delimited.
18438
+ * @param reader Reader or buffer to decode from
18439
+ * @returns ExperimentAccessGroupMapCreated
18440
+ * @throws {Error} If the payload is not a reader or valid buffer
18441
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18442
+ */
18443
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ExperimentAccessGroupMapCreated;
18444
+
18445
+ /**
18446
+ * Verifies an ExperimentAccessGroupMapCreated message.
18447
+ * @param message Plain object to verify
18448
+ * @returns `null` if valid, otherwise the reason why it is not
18449
+ */
18450
+ public static verify(message: { [k: string]: any }): (string|null);
18451
+
18452
+ /**
18453
+ * Creates an ExperimentAccessGroupMapCreated message from a plain object. Also converts values to their respective internal types.
18454
+ * @param object Plain object
18455
+ * @returns ExperimentAccessGroupMapCreated
18456
+ */
18457
+ public static fromObject(object: { [k: string]: any }): ExperimentAccessGroupMapCreated;
18458
+
18459
+ /**
18460
+ * Creates a plain object from an ExperimentAccessGroupMapCreated message. Also converts values to other types if specified.
18461
+ * @param message ExperimentAccessGroupMapCreated
18462
+ * @param [options] Conversion options
18463
+ * @returns Plain object
18464
+ */
18465
+ public static toObject(message: ExperimentAccessGroupMapCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
18466
+
18467
+ /**
18468
+ * Converts this ExperimentAccessGroupMapCreated to JSON.
18469
+ * @returns JSON object
18470
+ */
18471
+ public toJSON(): { [k: string]: any };
18472
+ }
18473
+
18474
+ /** Properties of an ExperimentAccessGroupMapDeleted. */
18475
+ export interface IExperimentAccessGroupMapDeleted {
18476
+
18477
+ /** ExperimentAccessGroupMapDeleted experimentTag */
18478
+ experimentTag?: (string|null);
18479
+
18480
+ /** ExperimentAccessGroupMapDeleted accessGroupName */
18481
+ accessGroupName?: (string|null);
18482
+
18483
+ /** ExperimentAccessGroupMapDeleted deletedAt */
18484
+ deletedAt?: (number|Long|null);
18485
+ }
18486
+
18487
+ /** Represents an ExperimentAccessGroupMapDeleted. */
18488
+ export class ExperimentAccessGroupMapDeleted implements IExperimentAccessGroupMapDeleted {
18489
+
18490
+ /**
18491
+ * Constructs a new ExperimentAccessGroupMapDeleted.
18492
+ * @param [properties] Properties to set
18493
+ */
18494
+ constructor(properties?: IExperimentAccessGroupMapDeleted);
18495
+
18496
+ /** ExperimentAccessGroupMapDeleted experimentTag. */
18497
+ public experimentTag: string;
18498
+
18499
+ /** ExperimentAccessGroupMapDeleted accessGroupName. */
18500
+ public accessGroupName: string;
18501
+
18502
+ /** ExperimentAccessGroupMapDeleted deletedAt. */
18503
+ public deletedAt: (number|Long);
18504
+
18505
+ /**
18506
+ * Creates a new ExperimentAccessGroupMapDeleted instance using the specified properties.
18507
+ * @param [properties] Properties to set
18508
+ * @returns ExperimentAccessGroupMapDeleted instance
18509
+ */
18510
+ public static create(properties?: IExperimentAccessGroupMapDeleted): ExperimentAccessGroupMapDeleted;
18511
+
18512
+ /**
18513
+ * Encodes the specified ExperimentAccessGroupMapDeleted message. Does not implicitly {@link ExperimentAccessGroupMapDeleted.verify|verify} messages.
18514
+ * @param message ExperimentAccessGroupMapDeleted message or plain object to encode
18515
+ * @param [writer] Writer to encode to
18516
+ * @returns Writer
18517
+ */
18518
+ public static encode(message: IExperimentAccessGroupMapDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
18519
+
18520
+ /**
18521
+ * Encodes the specified ExperimentAccessGroupMapDeleted message, length delimited. Does not implicitly {@link ExperimentAccessGroupMapDeleted.verify|verify} messages.
18522
+ * @param message ExperimentAccessGroupMapDeleted message or plain object to encode
18523
+ * @param [writer] Writer to encode to
18524
+ * @returns Writer
18525
+ */
18526
+ public static encodeDelimited(message: IExperimentAccessGroupMapDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
18527
+
18528
+ /**
18529
+ * Decodes an ExperimentAccessGroupMapDeleted message from the specified reader or buffer.
18530
+ * @param reader Reader or buffer to decode from
18531
+ * @param [length] Message length if known beforehand
18532
+ * @returns ExperimentAccessGroupMapDeleted
18533
+ * @throws {Error} If the payload is not a reader or valid buffer
18534
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18535
+ */
18536
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ExperimentAccessGroupMapDeleted;
18537
+
18538
+ /**
18539
+ * Decodes an ExperimentAccessGroupMapDeleted message from the specified reader or buffer, length delimited.
18540
+ * @param reader Reader or buffer to decode from
18541
+ * @returns ExperimentAccessGroupMapDeleted
18542
+ * @throws {Error} If the payload is not a reader or valid buffer
18543
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18544
+ */
18545
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ExperimentAccessGroupMapDeleted;
18546
+
18547
+ /**
18548
+ * Verifies an ExperimentAccessGroupMapDeleted message.
18549
+ * @param message Plain object to verify
18550
+ * @returns `null` if valid, otherwise the reason why it is not
18551
+ */
18552
+ public static verify(message: { [k: string]: any }): (string|null);
18553
+
18554
+ /**
18555
+ * Creates an ExperimentAccessGroupMapDeleted message from a plain object. Also converts values to their respective internal types.
18556
+ * @param object Plain object
18557
+ * @returns ExperimentAccessGroupMapDeleted
18558
+ */
18559
+ public static fromObject(object: { [k: string]: any }): ExperimentAccessGroupMapDeleted;
18560
+
18561
+ /**
18562
+ * Creates a plain object from an ExperimentAccessGroupMapDeleted message. Also converts values to other types if specified.
18563
+ * @param message ExperimentAccessGroupMapDeleted
18564
+ * @param [options] Conversion options
18565
+ * @returns Plain object
18566
+ */
18567
+ public static toObject(message: ExperimentAccessGroupMapDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
18568
+
18569
+ /**
18570
+ * Converts this ExperimentAccessGroupMapDeleted to JSON.
18571
+ * @returns JSON object
18572
+ */
18573
+ public toJSON(): { [k: string]: any };
18574
+ }
18575
+
18372
18576
  /** Properties of a ReferralSignedUp. */
18373
18577
  export interface IReferralSignedUp {
18374
18578
 
package/lib/index.js CHANGED
@@ -49756,6 +49756,498 @@ $root.OrganizationAccessGroupMapDeleted = (function() {
49756
49756
  return OrganizationAccessGroupMapDeleted;
49757
49757
  })();
49758
49758
 
49759
+ $root.ExperimentAccessGroupMapCreated = (function() {
49760
+
49761
+ /**
49762
+ * Properties of an ExperimentAccessGroupMapCreated.
49763
+ * @exports IExperimentAccessGroupMapCreated
49764
+ * @interface IExperimentAccessGroupMapCreated
49765
+ * @property {string|null} [experimentTag] ExperimentAccessGroupMapCreated experimentTag
49766
+ * @property {string|null} [accessGroupName] ExperimentAccessGroupMapCreated accessGroupName
49767
+ * @property {number|Long|null} [createdAt] ExperimentAccessGroupMapCreated createdAt
49768
+ */
49769
+
49770
+ /**
49771
+ * Constructs a new ExperimentAccessGroupMapCreated.
49772
+ * @exports ExperimentAccessGroupMapCreated
49773
+ * @classdesc Represents an ExperimentAccessGroupMapCreated.
49774
+ * @implements IExperimentAccessGroupMapCreated
49775
+ * @constructor
49776
+ * @param {IExperimentAccessGroupMapCreated=} [properties] Properties to set
49777
+ */
49778
+ function ExperimentAccessGroupMapCreated(properties) {
49779
+ if (properties)
49780
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
49781
+ if (properties[keys[i]] != null)
49782
+ this[keys[i]] = properties[keys[i]];
49783
+ }
49784
+
49785
+ /**
49786
+ * ExperimentAccessGroupMapCreated experimentTag.
49787
+ * @member {string} experimentTag
49788
+ * @memberof ExperimentAccessGroupMapCreated
49789
+ * @instance
49790
+ */
49791
+ ExperimentAccessGroupMapCreated.prototype.experimentTag = "";
49792
+
49793
+ /**
49794
+ * ExperimentAccessGroupMapCreated accessGroupName.
49795
+ * @member {string} accessGroupName
49796
+ * @memberof ExperimentAccessGroupMapCreated
49797
+ * @instance
49798
+ */
49799
+ ExperimentAccessGroupMapCreated.prototype.accessGroupName = "";
49800
+
49801
+ /**
49802
+ * ExperimentAccessGroupMapCreated createdAt.
49803
+ * @member {number|Long} createdAt
49804
+ * @memberof ExperimentAccessGroupMapCreated
49805
+ * @instance
49806
+ */
49807
+ ExperimentAccessGroupMapCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
49808
+
49809
+ /**
49810
+ * Creates a new ExperimentAccessGroupMapCreated instance using the specified properties.
49811
+ * @function create
49812
+ * @memberof ExperimentAccessGroupMapCreated
49813
+ * @static
49814
+ * @param {IExperimentAccessGroupMapCreated=} [properties] Properties to set
49815
+ * @returns {ExperimentAccessGroupMapCreated} ExperimentAccessGroupMapCreated instance
49816
+ */
49817
+ ExperimentAccessGroupMapCreated.create = function create(properties) {
49818
+ return new ExperimentAccessGroupMapCreated(properties);
49819
+ };
49820
+
49821
+ /**
49822
+ * Encodes the specified ExperimentAccessGroupMapCreated message. Does not implicitly {@link ExperimentAccessGroupMapCreated.verify|verify} messages.
49823
+ * @function encode
49824
+ * @memberof ExperimentAccessGroupMapCreated
49825
+ * @static
49826
+ * @param {IExperimentAccessGroupMapCreated} message ExperimentAccessGroupMapCreated message or plain object to encode
49827
+ * @param {$protobuf.Writer} [writer] Writer to encode to
49828
+ * @returns {$protobuf.Writer} Writer
49829
+ */
49830
+ ExperimentAccessGroupMapCreated.encode = function encode(message, writer) {
49831
+ if (!writer)
49832
+ writer = $Writer.create();
49833
+ if (message.experimentTag != null && message.hasOwnProperty("experimentTag"))
49834
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.experimentTag);
49835
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
49836
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.accessGroupName);
49837
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
49838
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.createdAt);
49839
+ return writer;
49840
+ };
49841
+
49842
+ /**
49843
+ * Encodes the specified ExperimentAccessGroupMapCreated message, length delimited. Does not implicitly {@link ExperimentAccessGroupMapCreated.verify|verify} messages.
49844
+ * @function encodeDelimited
49845
+ * @memberof ExperimentAccessGroupMapCreated
49846
+ * @static
49847
+ * @param {IExperimentAccessGroupMapCreated} message ExperimentAccessGroupMapCreated message or plain object to encode
49848
+ * @param {$protobuf.Writer} [writer] Writer to encode to
49849
+ * @returns {$protobuf.Writer} Writer
49850
+ */
49851
+ ExperimentAccessGroupMapCreated.encodeDelimited = function encodeDelimited(message, writer) {
49852
+ return this.encode(message, writer).ldelim();
49853
+ };
49854
+
49855
+ /**
49856
+ * Decodes an ExperimentAccessGroupMapCreated message from the specified reader or buffer.
49857
+ * @function decode
49858
+ * @memberof ExperimentAccessGroupMapCreated
49859
+ * @static
49860
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
49861
+ * @param {number} [length] Message length if known beforehand
49862
+ * @returns {ExperimentAccessGroupMapCreated} ExperimentAccessGroupMapCreated
49863
+ * @throws {Error} If the payload is not a reader or valid buffer
49864
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
49865
+ */
49866
+ ExperimentAccessGroupMapCreated.decode = function decode(reader, length) {
49867
+ if (!(reader instanceof $Reader))
49868
+ reader = $Reader.create(reader);
49869
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ExperimentAccessGroupMapCreated();
49870
+ while (reader.pos < end) {
49871
+ var tag = reader.uint32();
49872
+ switch (tag >>> 3) {
49873
+ case 1:
49874
+ message.experimentTag = reader.string();
49875
+ break;
49876
+ case 2:
49877
+ message.accessGroupName = reader.string();
49878
+ break;
49879
+ case 3:
49880
+ message.createdAt = reader.uint64();
49881
+ break;
49882
+ default:
49883
+ reader.skipType(tag & 7);
49884
+ break;
49885
+ }
49886
+ }
49887
+ return message;
49888
+ };
49889
+
49890
+ /**
49891
+ * Decodes an ExperimentAccessGroupMapCreated message from the specified reader or buffer, length delimited.
49892
+ * @function decodeDelimited
49893
+ * @memberof ExperimentAccessGroupMapCreated
49894
+ * @static
49895
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
49896
+ * @returns {ExperimentAccessGroupMapCreated} ExperimentAccessGroupMapCreated
49897
+ * @throws {Error} If the payload is not a reader or valid buffer
49898
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
49899
+ */
49900
+ ExperimentAccessGroupMapCreated.decodeDelimited = function decodeDelimited(reader) {
49901
+ if (!(reader instanceof $Reader))
49902
+ reader = new $Reader(reader);
49903
+ return this.decode(reader, reader.uint32());
49904
+ };
49905
+
49906
+ /**
49907
+ * Verifies an ExperimentAccessGroupMapCreated message.
49908
+ * @function verify
49909
+ * @memberof ExperimentAccessGroupMapCreated
49910
+ * @static
49911
+ * @param {Object.<string,*>} message Plain object to verify
49912
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
49913
+ */
49914
+ ExperimentAccessGroupMapCreated.verify = function verify(message) {
49915
+ if (typeof message !== "object" || message === null)
49916
+ return "object expected";
49917
+ if (message.experimentTag != null && message.hasOwnProperty("experimentTag"))
49918
+ if (!$util.isString(message.experimentTag))
49919
+ return "experimentTag: string expected";
49920
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
49921
+ if (!$util.isString(message.accessGroupName))
49922
+ return "accessGroupName: string expected";
49923
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
49924
+ if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
49925
+ return "createdAt: integer|Long expected";
49926
+ return null;
49927
+ };
49928
+
49929
+ /**
49930
+ * Creates an ExperimentAccessGroupMapCreated message from a plain object. Also converts values to their respective internal types.
49931
+ * @function fromObject
49932
+ * @memberof ExperimentAccessGroupMapCreated
49933
+ * @static
49934
+ * @param {Object.<string,*>} object Plain object
49935
+ * @returns {ExperimentAccessGroupMapCreated} ExperimentAccessGroupMapCreated
49936
+ */
49937
+ ExperimentAccessGroupMapCreated.fromObject = function fromObject(object) {
49938
+ if (object instanceof $root.ExperimentAccessGroupMapCreated)
49939
+ return object;
49940
+ var message = new $root.ExperimentAccessGroupMapCreated();
49941
+ if (object.experimentTag != null)
49942
+ message.experimentTag = String(object.experimentTag);
49943
+ if (object.accessGroupName != null)
49944
+ message.accessGroupName = String(object.accessGroupName);
49945
+ if (object.createdAt != null)
49946
+ if ($util.Long)
49947
+ (message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
49948
+ else if (typeof object.createdAt === "string")
49949
+ message.createdAt = parseInt(object.createdAt, 10);
49950
+ else if (typeof object.createdAt === "number")
49951
+ message.createdAt = object.createdAt;
49952
+ else if (typeof object.createdAt === "object")
49953
+ message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
49954
+ return message;
49955
+ };
49956
+
49957
+ /**
49958
+ * Creates a plain object from an ExperimentAccessGroupMapCreated message. Also converts values to other types if specified.
49959
+ * @function toObject
49960
+ * @memberof ExperimentAccessGroupMapCreated
49961
+ * @static
49962
+ * @param {ExperimentAccessGroupMapCreated} message ExperimentAccessGroupMapCreated
49963
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
49964
+ * @returns {Object.<string,*>} Plain object
49965
+ */
49966
+ ExperimentAccessGroupMapCreated.toObject = function toObject(message, options) {
49967
+ if (!options)
49968
+ options = {};
49969
+ var object = {};
49970
+ if (options.defaults) {
49971
+ object.experimentTag = "";
49972
+ object.accessGroupName = "";
49973
+ if ($util.Long) {
49974
+ var long = new $util.Long(0, 0, true);
49975
+ object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
49976
+ } else
49977
+ object.createdAt = options.longs === String ? "0" : 0;
49978
+ }
49979
+ if (message.experimentTag != null && message.hasOwnProperty("experimentTag"))
49980
+ object.experimentTag = message.experimentTag;
49981
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
49982
+ object.accessGroupName = message.accessGroupName;
49983
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
49984
+ if (typeof message.createdAt === "number")
49985
+ object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
49986
+ else
49987
+ 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;
49988
+ return object;
49989
+ };
49990
+
49991
+ /**
49992
+ * Converts this ExperimentAccessGroupMapCreated to JSON.
49993
+ * @function toJSON
49994
+ * @memberof ExperimentAccessGroupMapCreated
49995
+ * @instance
49996
+ * @returns {Object.<string,*>} JSON object
49997
+ */
49998
+ ExperimentAccessGroupMapCreated.prototype.toJSON = function toJSON() {
49999
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
50000
+ };
50001
+
50002
+ return ExperimentAccessGroupMapCreated;
50003
+ })();
50004
+
50005
+ $root.ExperimentAccessGroupMapDeleted = (function() {
50006
+
50007
+ /**
50008
+ * Properties of an ExperimentAccessGroupMapDeleted.
50009
+ * @exports IExperimentAccessGroupMapDeleted
50010
+ * @interface IExperimentAccessGroupMapDeleted
50011
+ * @property {string|null} [experimentTag] ExperimentAccessGroupMapDeleted experimentTag
50012
+ * @property {string|null} [accessGroupName] ExperimentAccessGroupMapDeleted accessGroupName
50013
+ * @property {number|Long|null} [deletedAt] ExperimentAccessGroupMapDeleted deletedAt
50014
+ */
50015
+
50016
+ /**
50017
+ * Constructs a new ExperimentAccessGroupMapDeleted.
50018
+ * @exports ExperimentAccessGroupMapDeleted
50019
+ * @classdesc Represents an ExperimentAccessGroupMapDeleted.
50020
+ * @implements IExperimentAccessGroupMapDeleted
50021
+ * @constructor
50022
+ * @param {IExperimentAccessGroupMapDeleted=} [properties] Properties to set
50023
+ */
50024
+ function ExperimentAccessGroupMapDeleted(properties) {
50025
+ if (properties)
50026
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
50027
+ if (properties[keys[i]] != null)
50028
+ this[keys[i]] = properties[keys[i]];
50029
+ }
50030
+
50031
+ /**
50032
+ * ExperimentAccessGroupMapDeleted experimentTag.
50033
+ * @member {string} experimentTag
50034
+ * @memberof ExperimentAccessGroupMapDeleted
50035
+ * @instance
50036
+ */
50037
+ ExperimentAccessGroupMapDeleted.prototype.experimentTag = "";
50038
+
50039
+ /**
50040
+ * ExperimentAccessGroupMapDeleted accessGroupName.
50041
+ * @member {string} accessGroupName
50042
+ * @memberof ExperimentAccessGroupMapDeleted
50043
+ * @instance
50044
+ */
50045
+ ExperimentAccessGroupMapDeleted.prototype.accessGroupName = "";
50046
+
50047
+ /**
50048
+ * ExperimentAccessGroupMapDeleted deletedAt.
50049
+ * @member {number|Long} deletedAt
50050
+ * @memberof ExperimentAccessGroupMapDeleted
50051
+ * @instance
50052
+ */
50053
+ ExperimentAccessGroupMapDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
50054
+
50055
+ /**
50056
+ * Creates a new ExperimentAccessGroupMapDeleted instance using the specified properties.
50057
+ * @function create
50058
+ * @memberof ExperimentAccessGroupMapDeleted
50059
+ * @static
50060
+ * @param {IExperimentAccessGroupMapDeleted=} [properties] Properties to set
50061
+ * @returns {ExperimentAccessGroupMapDeleted} ExperimentAccessGroupMapDeleted instance
50062
+ */
50063
+ ExperimentAccessGroupMapDeleted.create = function create(properties) {
50064
+ return new ExperimentAccessGroupMapDeleted(properties);
50065
+ };
50066
+
50067
+ /**
50068
+ * Encodes the specified ExperimentAccessGroupMapDeleted message. Does not implicitly {@link ExperimentAccessGroupMapDeleted.verify|verify} messages.
50069
+ * @function encode
50070
+ * @memberof ExperimentAccessGroupMapDeleted
50071
+ * @static
50072
+ * @param {IExperimentAccessGroupMapDeleted} message ExperimentAccessGroupMapDeleted message or plain object to encode
50073
+ * @param {$protobuf.Writer} [writer] Writer to encode to
50074
+ * @returns {$protobuf.Writer} Writer
50075
+ */
50076
+ ExperimentAccessGroupMapDeleted.encode = function encode(message, writer) {
50077
+ if (!writer)
50078
+ writer = $Writer.create();
50079
+ if (message.experimentTag != null && message.hasOwnProperty("experimentTag"))
50080
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.experimentTag);
50081
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
50082
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.accessGroupName);
50083
+ if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
50084
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.deletedAt);
50085
+ return writer;
50086
+ };
50087
+
50088
+ /**
50089
+ * Encodes the specified ExperimentAccessGroupMapDeleted message, length delimited. Does not implicitly {@link ExperimentAccessGroupMapDeleted.verify|verify} messages.
50090
+ * @function encodeDelimited
50091
+ * @memberof ExperimentAccessGroupMapDeleted
50092
+ * @static
50093
+ * @param {IExperimentAccessGroupMapDeleted} message ExperimentAccessGroupMapDeleted message or plain object to encode
50094
+ * @param {$protobuf.Writer} [writer] Writer to encode to
50095
+ * @returns {$protobuf.Writer} Writer
50096
+ */
50097
+ ExperimentAccessGroupMapDeleted.encodeDelimited = function encodeDelimited(message, writer) {
50098
+ return this.encode(message, writer).ldelim();
50099
+ };
50100
+
50101
+ /**
50102
+ * Decodes an ExperimentAccessGroupMapDeleted message from the specified reader or buffer.
50103
+ * @function decode
50104
+ * @memberof ExperimentAccessGroupMapDeleted
50105
+ * @static
50106
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
50107
+ * @param {number} [length] Message length if known beforehand
50108
+ * @returns {ExperimentAccessGroupMapDeleted} ExperimentAccessGroupMapDeleted
50109
+ * @throws {Error} If the payload is not a reader or valid buffer
50110
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
50111
+ */
50112
+ ExperimentAccessGroupMapDeleted.decode = function decode(reader, length) {
50113
+ if (!(reader instanceof $Reader))
50114
+ reader = $Reader.create(reader);
50115
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ExperimentAccessGroupMapDeleted();
50116
+ while (reader.pos < end) {
50117
+ var tag = reader.uint32();
50118
+ switch (tag >>> 3) {
50119
+ case 1:
50120
+ message.experimentTag = reader.string();
50121
+ break;
50122
+ case 2:
50123
+ message.accessGroupName = reader.string();
50124
+ break;
50125
+ case 3:
50126
+ message.deletedAt = reader.uint64();
50127
+ break;
50128
+ default:
50129
+ reader.skipType(tag & 7);
50130
+ break;
50131
+ }
50132
+ }
50133
+ return message;
50134
+ };
50135
+
50136
+ /**
50137
+ * Decodes an ExperimentAccessGroupMapDeleted message from the specified reader or buffer, length delimited.
50138
+ * @function decodeDelimited
50139
+ * @memberof ExperimentAccessGroupMapDeleted
50140
+ * @static
50141
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
50142
+ * @returns {ExperimentAccessGroupMapDeleted} ExperimentAccessGroupMapDeleted
50143
+ * @throws {Error} If the payload is not a reader or valid buffer
50144
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
50145
+ */
50146
+ ExperimentAccessGroupMapDeleted.decodeDelimited = function decodeDelimited(reader) {
50147
+ if (!(reader instanceof $Reader))
50148
+ reader = new $Reader(reader);
50149
+ return this.decode(reader, reader.uint32());
50150
+ };
50151
+
50152
+ /**
50153
+ * Verifies an ExperimentAccessGroupMapDeleted message.
50154
+ * @function verify
50155
+ * @memberof ExperimentAccessGroupMapDeleted
50156
+ * @static
50157
+ * @param {Object.<string,*>} message Plain object to verify
50158
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
50159
+ */
50160
+ ExperimentAccessGroupMapDeleted.verify = function verify(message) {
50161
+ if (typeof message !== "object" || message === null)
50162
+ return "object expected";
50163
+ if (message.experimentTag != null && message.hasOwnProperty("experimentTag"))
50164
+ if (!$util.isString(message.experimentTag))
50165
+ return "experimentTag: string expected";
50166
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
50167
+ if (!$util.isString(message.accessGroupName))
50168
+ return "accessGroupName: string expected";
50169
+ if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
50170
+ if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
50171
+ return "deletedAt: integer|Long expected";
50172
+ return null;
50173
+ };
50174
+
50175
+ /**
50176
+ * Creates an ExperimentAccessGroupMapDeleted message from a plain object. Also converts values to their respective internal types.
50177
+ * @function fromObject
50178
+ * @memberof ExperimentAccessGroupMapDeleted
50179
+ * @static
50180
+ * @param {Object.<string,*>} object Plain object
50181
+ * @returns {ExperimentAccessGroupMapDeleted} ExperimentAccessGroupMapDeleted
50182
+ */
50183
+ ExperimentAccessGroupMapDeleted.fromObject = function fromObject(object) {
50184
+ if (object instanceof $root.ExperimentAccessGroupMapDeleted)
50185
+ return object;
50186
+ var message = new $root.ExperimentAccessGroupMapDeleted();
50187
+ if (object.experimentTag != null)
50188
+ message.experimentTag = String(object.experimentTag);
50189
+ if (object.accessGroupName != null)
50190
+ message.accessGroupName = String(object.accessGroupName);
50191
+ if (object.deletedAt != null)
50192
+ if ($util.Long)
50193
+ (message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
50194
+ else if (typeof object.deletedAt === "string")
50195
+ message.deletedAt = parseInt(object.deletedAt, 10);
50196
+ else if (typeof object.deletedAt === "number")
50197
+ message.deletedAt = object.deletedAt;
50198
+ else if (typeof object.deletedAt === "object")
50199
+ message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
50200
+ return message;
50201
+ };
50202
+
50203
+ /**
50204
+ * Creates a plain object from an ExperimentAccessGroupMapDeleted message. Also converts values to other types if specified.
50205
+ * @function toObject
50206
+ * @memberof ExperimentAccessGroupMapDeleted
50207
+ * @static
50208
+ * @param {ExperimentAccessGroupMapDeleted} message ExperimentAccessGroupMapDeleted
50209
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
50210
+ * @returns {Object.<string,*>} Plain object
50211
+ */
50212
+ ExperimentAccessGroupMapDeleted.toObject = function toObject(message, options) {
50213
+ if (!options)
50214
+ options = {};
50215
+ var object = {};
50216
+ if (options.defaults) {
50217
+ object.experimentTag = "";
50218
+ object.accessGroupName = "";
50219
+ if ($util.Long) {
50220
+ var long = new $util.Long(0, 0, true);
50221
+ object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
50222
+ } else
50223
+ object.deletedAt = options.longs === String ? "0" : 0;
50224
+ }
50225
+ if (message.experimentTag != null && message.hasOwnProperty("experimentTag"))
50226
+ object.experimentTag = message.experimentTag;
50227
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
50228
+ object.accessGroupName = message.accessGroupName;
50229
+ if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
50230
+ if (typeof message.deletedAt === "number")
50231
+ object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
50232
+ else
50233
+ 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;
50234
+ return object;
50235
+ };
50236
+
50237
+ /**
50238
+ * Converts this ExperimentAccessGroupMapDeleted to JSON.
50239
+ * @function toJSON
50240
+ * @memberof ExperimentAccessGroupMapDeleted
50241
+ * @instance
50242
+ * @returns {Object.<string,*>} JSON object
50243
+ */
50244
+ ExperimentAccessGroupMapDeleted.prototype.toJSON = function toJSON() {
50245
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
50246
+ };
50247
+
50248
+ return ExperimentAccessGroupMapDeleted;
50249
+ })();
50250
+
49759
50251
  $root.ReferralSignedUp = (function() {
49760
50252
 
49761
50253
  /**
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.148.0"
19
+ "version": "1.149.0"
20
20
  }