@headspace/protos-events 1.143.0 → 1.145.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
@@ -8801,6 +8801,9 @@ export interface IActivityGroupDeleted {
8801
8801
  /** ActivityGroupDeleted slug */
8802
8802
  slug?: (string|null);
8803
8803
 
8804
+ /** ActivityGroupDeleted contentType */
8805
+ contentType?: (string|null);
8806
+
8804
8807
  /** ActivityGroupDeleted deletedAt */
8805
8808
  deletedAt?: (number|Long|null);
8806
8809
  }
@@ -8817,6 +8820,9 @@ export class ActivityGroupDeleted implements IActivityGroupDeleted {
8817
8820
  /** ActivityGroupDeleted slug. */
8818
8821
  public slug: string;
8819
8822
 
8823
+ /** ActivityGroupDeleted contentType. */
8824
+ public contentType: string;
8825
+
8820
8826
  /** ActivityGroupDeleted deletedAt. */
8821
8827
  public deletedAt: (number|Long);
8822
8828
 
@@ -18903,6 +18909,108 @@ export class UserEmailVerificationRequested implements IUserEmailVerificationReq
18903
18909
  public toJSON(): { [k: string]: any };
18904
18910
  }
18905
18911
 
18912
+ /** Properties of a UserEmailVerificationCompleted. */
18913
+ export interface IUserEmailVerificationCompleted {
18914
+
18915
+ /** UserEmailVerificationCompleted hsId */
18916
+ hsId?: (string|null);
18917
+
18918
+ /** UserEmailVerificationCompleted email */
18919
+ email?: (string|null);
18920
+
18921
+ /** UserEmailVerificationCompleted timestamp */
18922
+ timestamp?: (number|Long|null);
18923
+ }
18924
+
18925
+ /** Represents a UserEmailVerificationCompleted. */
18926
+ export class UserEmailVerificationCompleted implements IUserEmailVerificationCompleted {
18927
+
18928
+ /**
18929
+ * Constructs a new UserEmailVerificationCompleted.
18930
+ * @param [properties] Properties to set
18931
+ */
18932
+ constructor(properties?: IUserEmailVerificationCompleted);
18933
+
18934
+ /** UserEmailVerificationCompleted hsId. */
18935
+ public hsId: string;
18936
+
18937
+ /** UserEmailVerificationCompleted email. */
18938
+ public email: string;
18939
+
18940
+ /** UserEmailVerificationCompleted timestamp. */
18941
+ public timestamp: (number|Long);
18942
+
18943
+ /**
18944
+ * Creates a new UserEmailVerificationCompleted instance using the specified properties.
18945
+ * @param [properties] Properties to set
18946
+ * @returns UserEmailVerificationCompleted instance
18947
+ */
18948
+ public static create(properties?: IUserEmailVerificationCompleted): UserEmailVerificationCompleted;
18949
+
18950
+ /**
18951
+ * Encodes the specified UserEmailVerificationCompleted message. Does not implicitly {@link UserEmailVerificationCompleted.verify|verify} messages.
18952
+ * @param message UserEmailVerificationCompleted message or plain object to encode
18953
+ * @param [writer] Writer to encode to
18954
+ * @returns Writer
18955
+ */
18956
+ public static encode(message: IUserEmailVerificationCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
18957
+
18958
+ /**
18959
+ * Encodes the specified UserEmailVerificationCompleted message, length delimited. Does not implicitly {@link UserEmailVerificationCompleted.verify|verify} messages.
18960
+ * @param message UserEmailVerificationCompleted message or plain object to encode
18961
+ * @param [writer] Writer to encode to
18962
+ * @returns Writer
18963
+ */
18964
+ public static encodeDelimited(message: IUserEmailVerificationCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
18965
+
18966
+ /**
18967
+ * Decodes a UserEmailVerificationCompleted message from the specified reader or buffer.
18968
+ * @param reader Reader or buffer to decode from
18969
+ * @param [length] Message length if known beforehand
18970
+ * @returns UserEmailVerificationCompleted
18971
+ * @throws {Error} If the payload is not a reader or valid buffer
18972
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18973
+ */
18974
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserEmailVerificationCompleted;
18975
+
18976
+ /**
18977
+ * Decodes a UserEmailVerificationCompleted message from the specified reader or buffer, length delimited.
18978
+ * @param reader Reader or buffer to decode from
18979
+ * @returns UserEmailVerificationCompleted
18980
+ * @throws {Error} If the payload is not a reader or valid buffer
18981
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18982
+ */
18983
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserEmailVerificationCompleted;
18984
+
18985
+ /**
18986
+ * Verifies a UserEmailVerificationCompleted message.
18987
+ * @param message Plain object to verify
18988
+ * @returns `null` if valid, otherwise the reason why it is not
18989
+ */
18990
+ public static verify(message: { [k: string]: any }): (string|null);
18991
+
18992
+ /**
18993
+ * Creates a UserEmailVerificationCompleted message from a plain object. Also converts values to their respective internal types.
18994
+ * @param object Plain object
18995
+ * @returns UserEmailVerificationCompleted
18996
+ */
18997
+ public static fromObject(object: { [k: string]: any }): UserEmailVerificationCompleted;
18998
+
18999
+ /**
19000
+ * Creates a plain object from a UserEmailVerificationCompleted message. Also converts values to other types if specified.
19001
+ * @param message UserEmailVerificationCompleted
19002
+ * @param [options] Conversion options
19003
+ * @returns Plain object
19004
+ */
19005
+ public static toObject(message: UserEmailVerificationCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
19006
+
19007
+ /**
19008
+ * Converts this UserEmailVerificationCompleted to JSON.
19009
+ * @returns JSON object
19010
+ */
19011
+ public toJSON(): { [k: string]: any };
19012
+ }
19013
+
18906
19014
  /** Properties of a UserPasswordResetRequested. */
18907
19015
  export interface IUserPasswordResetRequested {
18908
19016
 
package/lib/index.js CHANGED
@@ -24414,6 +24414,7 @@ $root.ActivityGroupDeleted = (function() {
24414
24414
  * @exports IActivityGroupDeleted
24415
24415
  * @interface IActivityGroupDeleted
24416
24416
  * @property {string|null} [slug] ActivityGroupDeleted slug
24417
+ * @property {string|null} [contentType] ActivityGroupDeleted contentType
24417
24418
  * @property {number|Long|null} [deletedAt] ActivityGroupDeleted deletedAt
24418
24419
  */
24419
24420
 
@@ -24440,6 +24441,14 @@ $root.ActivityGroupDeleted = (function() {
24440
24441
  */
24441
24442
  ActivityGroupDeleted.prototype.slug = "";
24442
24443
 
24444
+ /**
24445
+ * ActivityGroupDeleted contentType.
24446
+ * @member {string} contentType
24447
+ * @memberof ActivityGroupDeleted
24448
+ * @instance
24449
+ */
24450
+ ActivityGroupDeleted.prototype.contentType = "";
24451
+
24443
24452
  /**
24444
24453
  * ActivityGroupDeleted deletedAt.
24445
24454
  * @member {number|Long} deletedAt
@@ -24474,8 +24483,10 @@ $root.ActivityGroupDeleted = (function() {
24474
24483
  writer = $Writer.create();
24475
24484
  if (message.slug != null && message.hasOwnProperty("slug"))
24476
24485
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
24486
+ if (message.contentType != null && message.hasOwnProperty("contentType"))
24487
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.contentType);
24477
24488
  if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
24478
- writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.deletedAt);
24489
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.deletedAt);
24479
24490
  return writer;
24480
24491
  };
24481
24492
 
@@ -24514,6 +24525,9 @@ $root.ActivityGroupDeleted = (function() {
24514
24525
  message.slug = reader.string();
24515
24526
  break;
24516
24527
  case 2:
24528
+ message.contentType = reader.string();
24529
+ break;
24530
+ case 3:
24517
24531
  message.deletedAt = reader.uint64();
24518
24532
  break;
24519
24533
  default:
@@ -24554,6 +24568,9 @@ $root.ActivityGroupDeleted = (function() {
24554
24568
  if (message.slug != null && message.hasOwnProperty("slug"))
24555
24569
  if (!$util.isString(message.slug))
24556
24570
  return "slug: string expected";
24571
+ if (message.contentType != null && message.hasOwnProperty("contentType"))
24572
+ if (!$util.isString(message.contentType))
24573
+ return "contentType: string expected";
24557
24574
  if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
24558
24575
  if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
24559
24576
  return "deletedAt: integer|Long expected";
@@ -24574,6 +24591,8 @@ $root.ActivityGroupDeleted = (function() {
24574
24591
  var message = new $root.ActivityGroupDeleted();
24575
24592
  if (object.slug != null)
24576
24593
  message.slug = String(object.slug);
24594
+ if (object.contentType != null)
24595
+ message.contentType = String(object.contentType);
24577
24596
  if (object.deletedAt != null)
24578
24597
  if ($util.Long)
24579
24598
  (message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
@@ -24601,6 +24620,7 @@ $root.ActivityGroupDeleted = (function() {
24601
24620
  var object = {};
24602
24621
  if (options.defaults) {
24603
24622
  object.slug = "";
24623
+ object.contentType = "";
24604
24624
  if ($util.Long) {
24605
24625
  var long = new $util.Long(0, 0, true);
24606
24626
  object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -24609,6 +24629,8 @@ $root.ActivityGroupDeleted = (function() {
24609
24629
  }
24610
24630
  if (message.slug != null && message.hasOwnProperty("slug"))
24611
24631
  object.slug = message.slug;
24632
+ if (message.contentType != null && message.hasOwnProperty("contentType"))
24633
+ object.contentType = message.contentType;
24612
24634
  if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
24613
24635
  if (typeof message.deletedAt === "number")
24614
24636
  object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
@@ -53014,6 +53036,252 @@ $root.UserEmailVerificationRequested = (function() {
53014
53036
  return UserEmailVerificationRequested;
53015
53037
  })();
53016
53038
 
53039
+ $root.UserEmailVerificationCompleted = (function() {
53040
+
53041
+ /**
53042
+ * Properties of a UserEmailVerificationCompleted.
53043
+ * @exports IUserEmailVerificationCompleted
53044
+ * @interface IUserEmailVerificationCompleted
53045
+ * @property {string|null} [hsId] UserEmailVerificationCompleted hsId
53046
+ * @property {string|null} [email] UserEmailVerificationCompleted email
53047
+ * @property {number|Long|null} [timestamp] UserEmailVerificationCompleted timestamp
53048
+ */
53049
+
53050
+ /**
53051
+ * Constructs a new UserEmailVerificationCompleted.
53052
+ * @exports UserEmailVerificationCompleted
53053
+ * @classdesc Represents a UserEmailVerificationCompleted.
53054
+ * @implements IUserEmailVerificationCompleted
53055
+ * @constructor
53056
+ * @param {IUserEmailVerificationCompleted=} [properties] Properties to set
53057
+ */
53058
+ function UserEmailVerificationCompleted(properties) {
53059
+ if (properties)
53060
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
53061
+ if (properties[keys[i]] != null)
53062
+ this[keys[i]] = properties[keys[i]];
53063
+ }
53064
+
53065
+ /**
53066
+ * UserEmailVerificationCompleted hsId.
53067
+ * @member {string} hsId
53068
+ * @memberof UserEmailVerificationCompleted
53069
+ * @instance
53070
+ */
53071
+ UserEmailVerificationCompleted.prototype.hsId = "";
53072
+
53073
+ /**
53074
+ * UserEmailVerificationCompleted email.
53075
+ * @member {string} email
53076
+ * @memberof UserEmailVerificationCompleted
53077
+ * @instance
53078
+ */
53079
+ UserEmailVerificationCompleted.prototype.email = "";
53080
+
53081
+ /**
53082
+ * UserEmailVerificationCompleted timestamp.
53083
+ * @member {number|Long} timestamp
53084
+ * @memberof UserEmailVerificationCompleted
53085
+ * @instance
53086
+ */
53087
+ UserEmailVerificationCompleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
53088
+
53089
+ /**
53090
+ * Creates a new UserEmailVerificationCompleted instance using the specified properties.
53091
+ * @function create
53092
+ * @memberof UserEmailVerificationCompleted
53093
+ * @static
53094
+ * @param {IUserEmailVerificationCompleted=} [properties] Properties to set
53095
+ * @returns {UserEmailVerificationCompleted} UserEmailVerificationCompleted instance
53096
+ */
53097
+ UserEmailVerificationCompleted.create = function create(properties) {
53098
+ return new UserEmailVerificationCompleted(properties);
53099
+ };
53100
+
53101
+ /**
53102
+ * Encodes the specified UserEmailVerificationCompleted message. Does not implicitly {@link UserEmailVerificationCompleted.verify|verify} messages.
53103
+ * @function encode
53104
+ * @memberof UserEmailVerificationCompleted
53105
+ * @static
53106
+ * @param {IUserEmailVerificationCompleted} message UserEmailVerificationCompleted message or plain object to encode
53107
+ * @param {$protobuf.Writer} [writer] Writer to encode to
53108
+ * @returns {$protobuf.Writer} Writer
53109
+ */
53110
+ UserEmailVerificationCompleted.encode = function encode(message, writer) {
53111
+ if (!writer)
53112
+ writer = $Writer.create();
53113
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
53114
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
53115
+ if (message.email != null && message.hasOwnProperty("email"))
53116
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.email);
53117
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
53118
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
53119
+ return writer;
53120
+ };
53121
+
53122
+ /**
53123
+ * Encodes the specified UserEmailVerificationCompleted message, length delimited. Does not implicitly {@link UserEmailVerificationCompleted.verify|verify} messages.
53124
+ * @function encodeDelimited
53125
+ * @memberof UserEmailVerificationCompleted
53126
+ * @static
53127
+ * @param {IUserEmailVerificationCompleted} message UserEmailVerificationCompleted message or plain object to encode
53128
+ * @param {$protobuf.Writer} [writer] Writer to encode to
53129
+ * @returns {$protobuf.Writer} Writer
53130
+ */
53131
+ UserEmailVerificationCompleted.encodeDelimited = function encodeDelimited(message, writer) {
53132
+ return this.encode(message, writer).ldelim();
53133
+ };
53134
+
53135
+ /**
53136
+ * Decodes a UserEmailVerificationCompleted message from the specified reader or buffer.
53137
+ * @function decode
53138
+ * @memberof UserEmailVerificationCompleted
53139
+ * @static
53140
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
53141
+ * @param {number} [length] Message length if known beforehand
53142
+ * @returns {UserEmailVerificationCompleted} UserEmailVerificationCompleted
53143
+ * @throws {Error} If the payload is not a reader or valid buffer
53144
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
53145
+ */
53146
+ UserEmailVerificationCompleted.decode = function decode(reader, length) {
53147
+ if (!(reader instanceof $Reader))
53148
+ reader = $Reader.create(reader);
53149
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserEmailVerificationCompleted();
53150
+ while (reader.pos < end) {
53151
+ var tag = reader.uint32();
53152
+ switch (tag >>> 3) {
53153
+ case 1:
53154
+ message.hsId = reader.string();
53155
+ break;
53156
+ case 2:
53157
+ message.email = reader.string();
53158
+ break;
53159
+ case 3:
53160
+ message.timestamp = reader.uint64();
53161
+ break;
53162
+ default:
53163
+ reader.skipType(tag & 7);
53164
+ break;
53165
+ }
53166
+ }
53167
+ return message;
53168
+ };
53169
+
53170
+ /**
53171
+ * Decodes a UserEmailVerificationCompleted message from the specified reader or buffer, length delimited.
53172
+ * @function decodeDelimited
53173
+ * @memberof UserEmailVerificationCompleted
53174
+ * @static
53175
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
53176
+ * @returns {UserEmailVerificationCompleted} UserEmailVerificationCompleted
53177
+ * @throws {Error} If the payload is not a reader or valid buffer
53178
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
53179
+ */
53180
+ UserEmailVerificationCompleted.decodeDelimited = function decodeDelimited(reader) {
53181
+ if (!(reader instanceof $Reader))
53182
+ reader = new $Reader(reader);
53183
+ return this.decode(reader, reader.uint32());
53184
+ };
53185
+
53186
+ /**
53187
+ * Verifies a UserEmailVerificationCompleted message.
53188
+ * @function verify
53189
+ * @memberof UserEmailVerificationCompleted
53190
+ * @static
53191
+ * @param {Object.<string,*>} message Plain object to verify
53192
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
53193
+ */
53194
+ UserEmailVerificationCompleted.verify = function verify(message) {
53195
+ if (typeof message !== "object" || message === null)
53196
+ return "object expected";
53197
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
53198
+ if (!$util.isString(message.hsId))
53199
+ return "hsId: string expected";
53200
+ if (message.email != null && message.hasOwnProperty("email"))
53201
+ if (!$util.isString(message.email))
53202
+ return "email: string expected";
53203
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
53204
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
53205
+ return "timestamp: integer|Long expected";
53206
+ return null;
53207
+ };
53208
+
53209
+ /**
53210
+ * Creates a UserEmailVerificationCompleted message from a plain object. Also converts values to their respective internal types.
53211
+ * @function fromObject
53212
+ * @memberof UserEmailVerificationCompleted
53213
+ * @static
53214
+ * @param {Object.<string,*>} object Plain object
53215
+ * @returns {UserEmailVerificationCompleted} UserEmailVerificationCompleted
53216
+ */
53217
+ UserEmailVerificationCompleted.fromObject = function fromObject(object) {
53218
+ if (object instanceof $root.UserEmailVerificationCompleted)
53219
+ return object;
53220
+ var message = new $root.UserEmailVerificationCompleted();
53221
+ if (object.hsId != null)
53222
+ message.hsId = String(object.hsId);
53223
+ if (object.email != null)
53224
+ message.email = String(object.email);
53225
+ if (object.timestamp != null)
53226
+ if ($util.Long)
53227
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
53228
+ else if (typeof object.timestamp === "string")
53229
+ message.timestamp = parseInt(object.timestamp, 10);
53230
+ else if (typeof object.timestamp === "number")
53231
+ message.timestamp = object.timestamp;
53232
+ else if (typeof object.timestamp === "object")
53233
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
53234
+ return message;
53235
+ };
53236
+
53237
+ /**
53238
+ * Creates a plain object from a UserEmailVerificationCompleted message. Also converts values to other types if specified.
53239
+ * @function toObject
53240
+ * @memberof UserEmailVerificationCompleted
53241
+ * @static
53242
+ * @param {UserEmailVerificationCompleted} message UserEmailVerificationCompleted
53243
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
53244
+ * @returns {Object.<string,*>} Plain object
53245
+ */
53246
+ UserEmailVerificationCompleted.toObject = function toObject(message, options) {
53247
+ if (!options)
53248
+ options = {};
53249
+ var object = {};
53250
+ if (options.defaults) {
53251
+ object.hsId = "";
53252
+ object.email = "";
53253
+ if ($util.Long) {
53254
+ var long = new $util.Long(0, 0, true);
53255
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
53256
+ } else
53257
+ object.timestamp = options.longs === String ? "0" : 0;
53258
+ }
53259
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
53260
+ object.hsId = message.hsId;
53261
+ if (message.email != null && message.hasOwnProperty("email"))
53262
+ object.email = message.email;
53263
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
53264
+ if (typeof message.timestamp === "number")
53265
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
53266
+ else
53267
+ object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
53268
+ return object;
53269
+ };
53270
+
53271
+ /**
53272
+ * Converts this UserEmailVerificationCompleted to JSON.
53273
+ * @function toJSON
53274
+ * @memberof UserEmailVerificationCompleted
53275
+ * @instance
53276
+ * @returns {Object.<string,*>} JSON object
53277
+ */
53278
+ UserEmailVerificationCompleted.prototype.toJSON = function toJSON() {
53279
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
53280
+ };
53281
+
53282
+ return UserEmailVerificationCompleted;
53283
+ })();
53284
+
53017
53285
  $root.UserPasswordResetRequested = (function() {
53018
53286
 
53019
53287
  /**
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.143.0"
19
+ "version": "1.145.0"
20
20
  }