@headspace/protos-events 1.260.0 → 1.261.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -20293,6 +20293,108 @@ export class UserDomainEnabledPhiProtection implements IUserDomainEnabledPhiProt
20293
20293
  public toJSON(): { [k: string]: any };
20294
20294
  }
20295
20295
 
20296
+ /** Properties of a UserDomainIsAnonymousUserUpdated. */
20297
+ export interface IUserDomainIsAnonymousUserUpdated {
20298
+
20299
+ /** UserDomainIsAnonymousUserUpdated hsId */
20300
+ hsId?: (string|null);
20301
+
20302
+ /** UserDomainIsAnonymousUserUpdated isAnonymousUser */
20303
+ isAnonymousUser?: (boolean|null);
20304
+
20305
+ /** UserDomainIsAnonymousUserUpdated updatedAt */
20306
+ updatedAt?: (number|Long|null);
20307
+ }
20308
+
20309
+ /** Represents a UserDomainIsAnonymousUserUpdated. */
20310
+ export class UserDomainIsAnonymousUserUpdated implements IUserDomainIsAnonymousUserUpdated {
20311
+
20312
+ /**
20313
+ * Constructs a new UserDomainIsAnonymousUserUpdated.
20314
+ * @param [properties] Properties to set
20315
+ */
20316
+ constructor(properties?: IUserDomainIsAnonymousUserUpdated);
20317
+
20318
+ /** UserDomainIsAnonymousUserUpdated hsId. */
20319
+ public hsId: string;
20320
+
20321
+ /** UserDomainIsAnonymousUserUpdated isAnonymousUser. */
20322
+ public isAnonymousUser: boolean;
20323
+
20324
+ /** UserDomainIsAnonymousUserUpdated updatedAt. */
20325
+ public updatedAt: (number|Long);
20326
+
20327
+ /**
20328
+ * Creates a new UserDomainIsAnonymousUserUpdated instance using the specified properties.
20329
+ * @param [properties] Properties to set
20330
+ * @returns UserDomainIsAnonymousUserUpdated instance
20331
+ */
20332
+ public static create(properties?: IUserDomainIsAnonymousUserUpdated): UserDomainIsAnonymousUserUpdated;
20333
+
20334
+ /**
20335
+ * Encodes the specified UserDomainIsAnonymousUserUpdated message. Does not implicitly {@link UserDomainIsAnonymousUserUpdated.verify|verify} messages.
20336
+ * @param message UserDomainIsAnonymousUserUpdated message or plain object to encode
20337
+ * @param [writer] Writer to encode to
20338
+ * @returns Writer
20339
+ */
20340
+ public static encode(message: IUserDomainIsAnonymousUserUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
20341
+
20342
+ /**
20343
+ * Encodes the specified UserDomainIsAnonymousUserUpdated message, length delimited. Does not implicitly {@link UserDomainIsAnonymousUserUpdated.verify|verify} messages.
20344
+ * @param message UserDomainIsAnonymousUserUpdated message or plain object to encode
20345
+ * @param [writer] Writer to encode to
20346
+ * @returns Writer
20347
+ */
20348
+ public static encodeDelimited(message: IUserDomainIsAnonymousUserUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
20349
+
20350
+ /**
20351
+ * Decodes a UserDomainIsAnonymousUserUpdated message from the specified reader or buffer.
20352
+ * @param reader Reader or buffer to decode from
20353
+ * @param [length] Message length if known beforehand
20354
+ * @returns UserDomainIsAnonymousUserUpdated
20355
+ * @throws {Error} If the payload is not a reader or valid buffer
20356
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20357
+ */
20358
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDomainIsAnonymousUserUpdated;
20359
+
20360
+ /**
20361
+ * Decodes a UserDomainIsAnonymousUserUpdated message from the specified reader or buffer, length delimited.
20362
+ * @param reader Reader or buffer to decode from
20363
+ * @returns UserDomainIsAnonymousUserUpdated
20364
+ * @throws {Error} If the payload is not a reader or valid buffer
20365
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20366
+ */
20367
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDomainIsAnonymousUserUpdated;
20368
+
20369
+ /**
20370
+ * Verifies a UserDomainIsAnonymousUserUpdated message.
20371
+ * @param message Plain object to verify
20372
+ * @returns `null` if valid, otherwise the reason why it is not
20373
+ */
20374
+ public static verify(message: { [k: string]: any }): (string|null);
20375
+
20376
+ /**
20377
+ * Creates a UserDomainIsAnonymousUserUpdated message from a plain object. Also converts values to their respective internal types.
20378
+ * @param object Plain object
20379
+ * @returns UserDomainIsAnonymousUserUpdated
20380
+ */
20381
+ public static fromObject(object: { [k: string]: any }): UserDomainIsAnonymousUserUpdated;
20382
+
20383
+ /**
20384
+ * Creates a plain object from a UserDomainIsAnonymousUserUpdated message. Also converts values to other types if specified.
20385
+ * @param message UserDomainIsAnonymousUserUpdated
20386
+ * @param [options] Conversion options
20387
+ * @returns Plain object
20388
+ */
20389
+ public static toObject(message: UserDomainIsAnonymousUserUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
20390
+
20391
+ /**
20392
+ * Converts this UserDomainIsAnonymousUserUpdated to JSON.
20393
+ * @returns JSON object
20394
+ */
20395
+ public toJSON(): { [k: string]: any };
20396
+ }
20397
+
20296
20398
  /** Properties of a UserDomainLoggedIn. */
20297
20399
  export interface IUserDomainLoggedIn {
20298
20400
 
package/lib/index.js CHANGED
@@ -54765,6 +54765,252 @@ $root.UserDomainEnabledPhiProtection = (function() {
54765
54765
  return UserDomainEnabledPhiProtection;
54766
54766
  })();
54767
54767
 
54768
+ $root.UserDomainIsAnonymousUserUpdated = (function() {
54769
+
54770
+ /**
54771
+ * Properties of a UserDomainIsAnonymousUserUpdated.
54772
+ * @exports IUserDomainIsAnonymousUserUpdated
54773
+ * @interface IUserDomainIsAnonymousUserUpdated
54774
+ * @property {string|null} [hsId] UserDomainIsAnonymousUserUpdated hsId
54775
+ * @property {boolean|null} [isAnonymousUser] UserDomainIsAnonymousUserUpdated isAnonymousUser
54776
+ * @property {number|Long|null} [updatedAt] UserDomainIsAnonymousUserUpdated updatedAt
54777
+ */
54778
+
54779
+ /**
54780
+ * Constructs a new UserDomainIsAnonymousUserUpdated.
54781
+ * @exports UserDomainIsAnonymousUserUpdated
54782
+ * @classdesc Represents a UserDomainIsAnonymousUserUpdated.
54783
+ * @implements IUserDomainIsAnonymousUserUpdated
54784
+ * @constructor
54785
+ * @param {IUserDomainIsAnonymousUserUpdated=} [properties] Properties to set
54786
+ */
54787
+ function UserDomainIsAnonymousUserUpdated(properties) {
54788
+ if (properties)
54789
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
54790
+ if (properties[keys[i]] != null)
54791
+ this[keys[i]] = properties[keys[i]];
54792
+ }
54793
+
54794
+ /**
54795
+ * UserDomainIsAnonymousUserUpdated hsId.
54796
+ * @member {string} hsId
54797
+ * @memberof UserDomainIsAnonymousUserUpdated
54798
+ * @instance
54799
+ */
54800
+ UserDomainIsAnonymousUserUpdated.prototype.hsId = "";
54801
+
54802
+ /**
54803
+ * UserDomainIsAnonymousUserUpdated isAnonymousUser.
54804
+ * @member {boolean} isAnonymousUser
54805
+ * @memberof UserDomainIsAnonymousUserUpdated
54806
+ * @instance
54807
+ */
54808
+ UserDomainIsAnonymousUserUpdated.prototype.isAnonymousUser = false;
54809
+
54810
+ /**
54811
+ * UserDomainIsAnonymousUserUpdated updatedAt.
54812
+ * @member {number|Long} updatedAt
54813
+ * @memberof UserDomainIsAnonymousUserUpdated
54814
+ * @instance
54815
+ */
54816
+ UserDomainIsAnonymousUserUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
54817
+
54818
+ /**
54819
+ * Creates a new UserDomainIsAnonymousUserUpdated instance using the specified properties.
54820
+ * @function create
54821
+ * @memberof UserDomainIsAnonymousUserUpdated
54822
+ * @static
54823
+ * @param {IUserDomainIsAnonymousUserUpdated=} [properties] Properties to set
54824
+ * @returns {UserDomainIsAnonymousUserUpdated} UserDomainIsAnonymousUserUpdated instance
54825
+ */
54826
+ UserDomainIsAnonymousUserUpdated.create = function create(properties) {
54827
+ return new UserDomainIsAnonymousUserUpdated(properties);
54828
+ };
54829
+
54830
+ /**
54831
+ * Encodes the specified UserDomainIsAnonymousUserUpdated message. Does not implicitly {@link UserDomainIsAnonymousUserUpdated.verify|verify} messages.
54832
+ * @function encode
54833
+ * @memberof UserDomainIsAnonymousUserUpdated
54834
+ * @static
54835
+ * @param {IUserDomainIsAnonymousUserUpdated} message UserDomainIsAnonymousUserUpdated message or plain object to encode
54836
+ * @param {$protobuf.Writer} [writer] Writer to encode to
54837
+ * @returns {$protobuf.Writer} Writer
54838
+ */
54839
+ UserDomainIsAnonymousUserUpdated.encode = function encode(message, writer) {
54840
+ if (!writer)
54841
+ writer = $Writer.create();
54842
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
54843
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
54844
+ if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
54845
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isAnonymousUser);
54846
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
54847
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.updatedAt);
54848
+ return writer;
54849
+ };
54850
+
54851
+ /**
54852
+ * Encodes the specified UserDomainIsAnonymousUserUpdated message, length delimited. Does not implicitly {@link UserDomainIsAnonymousUserUpdated.verify|verify} messages.
54853
+ * @function encodeDelimited
54854
+ * @memberof UserDomainIsAnonymousUserUpdated
54855
+ * @static
54856
+ * @param {IUserDomainIsAnonymousUserUpdated} message UserDomainIsAnonymousUserUpdated message or plain object to encode
54857
+ * @param {$protobuf.Writer} [writer] Writer to encode to
54858
+ * @returns {$protobuf.Writer} Writer
54859
+ */
54860
+ UserDomainIsAnonymousUserUpdated.encodeDelimited = function encodeDelimited(message, writer) {
54861
+ return this.encode(message, writer).ldelim();
54862
+ };
54863
+
54864
+ /**
54865
+ * Decodes a UserDomainIsAnonymousUserUpdated message from the specified reader or buffer.
54866
+ * @function decode
54867
+ * @memberof UserDomainIsAnonymousUserUpdated
54868
+ * @static
54869
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
54870
+ * @param {number} [length] Message length if known beforehand
54871
+ * @returns {UserDomainIsAnonymousUserUpdated} UserDomainIsAnonymousUserUpdated
54872
+ * @throws {Error} If the payload is not a reader or valid buffer
54873
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
54874
+ */
54875
+ UserDomainIsAnonymousUserUpdated.decode = function decode(reader, length) {
54876
+ if (!(reader instanceof $Reader))
54877
+ reader = $Reader.create(reader);
54878
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDomainIsAnonymousUserUpdated();
54879
+ while (reader.pos < end) {
54880
+ var tag = reader.uint32();
54881
+ switch (tag >>> 3) {
54882
+ case 1:
54883
+ message.hsId = reader.string();
54884
+ break;
54885
+ case 2:
54886
+ message.isAnonymousUser = reader.bool();
54887
+ break;
54888
+ case 3:
54889
+ message.updatedAt = reader.uint64();
54890
+ break;
54891
+ default:
54892
+ reader.skipType(tag & 7);
54893
+ break;
54894
+ }
54895
+ }
54896
+ return message;
54897
+ };
54898
+
54899
+ /**
54900
+ * Decodes a UserDomainIsAnonymousUserUpdated message from the specified reader or buffer, length delimited.
54901
+ * @function decodeDelimited
54902
+ * @memberof UserDomainIsAnonymousUserUpdated
54903
+ * @static
54904
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
54905
+ * @returns {UserDomainIsAnonymousUserUpdated} UserDomainIsAnonymousUserUpdated
54906
+ * @throws {Error} If the payload is not a reader or valid buffer
54907
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
54908
+ */
54909
+ UserDomainIsAnonymousUserUpdated.decodeDelimited = function decodeDelimited(reader) {
54910
+ if (!(reader instanceof $Reader))
54911
+ reader = new $Reader(reader);
54912
+ return this.decode(reader, reader.uint32());
54913
+ };
54914
+
54915
+ /**
54916
+ * Verifies a UserDomainIsAnonymousUserUpdated message.
54917
+ * @function verify
54918
+ * @memberof UserDomainIsAnonymousUserUpdated
54919
+ * @static
54920
+ * @param {Object.<string,*>} message Plain object to verify
54921
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
54922
+ */
54923
+ UserDomainIsAnonymousUserUpdated.verify = function verify(message) {
54924
+ if (typeof message !== "object" || message === null)
54925
+ return "object expected";
54926
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
54927
+ if (!$util.isString(message.hsId))
54928
+ return "hsId: string expected";
54929
+ if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
54930
+ if (typeof message.isAnonymousUser !== "boolean")
54931
+ return "isAnonymousUser: boolean expected";
54932
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
54933
+ if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
54934
+ return "updatedAt: integer|Long expected";
54935
+ return null;
54936
+ };
54937
+
54938
+ /**
54939
+ * Creates a UserDomainIsAnonymousUserUpdated message from a plain object. Also converts values to their respective internal types.
54940
+ * @function fromObject
54941
+ * @memberof UserDomainIsAnonymousUserUpdated
54942
+ * @static
54943
+ * @param {Object.<string,*>} object Plain object
54944
+ * @returns {UserDomainIsAnonymousUserUpdated} UserDomainIsAnonymousUserUpdated
54945
+ */
54946
+ UserDomainIsAnonymousUserUpdated.fromObject = function fromObject(object) {
54947
+ if (object instanceof $root.UserDomainIsAnonymousUserUpdated)
54948
+ return object;
54949
+ var message = new $root.UserDomainIsAnonymousUserUpdated();
54950
+ if (object.hsId != null)
54951
+ message.hsId = String(object.hsId);
54952
+ if (object.isAnonymousUser != null)
54953
+ message.isAnonymousUser = Boolean(object.isAnonymousUser);
54954
+ if (object.updatedAt != null)
54955
+ if ($util.Long)
54956
+ (message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
54957
+ else if (typeof object.updatedAt === "string")
54958
+ message.updatedAt = parseInt(object.updatedAt, 10);
54959
+ else if (typeof object.updatedAt === "number")
54960
+ message.updatedAt = object.updatedAt;
54961
+ else if (typeof object.updatedAt === "object")
54962
+ message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
54963
+ return message;
54964
+ };
54965
+
54966
+ /**
54967
+ * Creates a plain object from a UserDomainIsAnonymousUserUpdated message. Also converts values to other types if specified.
54968
+ * @function toObject
54969
+ * @memberof UserDomainIsAnonymousUserUpdated
54970
+ * @static
54971
+ * @param {UserDomainIsAnonymousUserUpdated} message UserDomainIsAnonymousUserUpdated
54972
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
54973
+ * @returns {Object.<string,*>} Plain object
54974
+ */
54975
+ UserDomainIsAnonymousUserUpdated.toObject = function toObject(message, options) {
54976
+ if (!options)
54977
+ options = {};
54978
+ var object = {};
54979
+ if (options.defaults) {
54980
+ object.hsId = "";
54981
+ object.isAnonymousUser = false;
54982
+ if ($util.Long) {
54983
+ var long = new $util.Long(0, 0, true);
54984
+ object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
54985
+ } else
54986
+ object.updatedAt = options.longs === String ? "0" : 0;
54987
+ }
54988
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
54989
+ object.hsId = message.hsId;
54990
+ if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
54991
+ object.isAnonymousUser = message.isAnonymousUser;
54992
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
54993
+ if (typeof message.updatedAt === "number")
54994
+ object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
54995
+ else
54996
+ object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
54997
+ return object;
54998
+ };
54999
+
55000
+ /**
55001
+ * Converts this UserDomainIsAnonymousUserUpdated to JSON.
55002
+ * @function toJSON
55003
+ * @memberof UserDomainIsAnonymousUserUpdated
55004
+ * @instance
55005
+ * @returns {Object.<string,*>} JSON object
55006
+ */
55007
+ UserDomainIsAnonymousUserUpdated.prototype.toJSON = function toJSON() {
55008
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
55009
+ };
55010
+
55011
+ return UserDomainIsAnonymousUserUpdated;
55012
+ })();
55013
+
54768
55014
  $root.UserDomainLoggedIn = (function() {
54769
55015
 
54770
55016
  /**
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.260.0"
19
+ "version": "1.261.0"
20
20
  }