@headspace/protos-events 1.421.0 → 1.422.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
@@ -42202,108 +42202,6 @@ export class UserEmailUpdated implements IUserEmailUpdated {
42202
42202
  public toJSON(): { [k: string]: any };
42203
42203
  }
42204
42204
 
42205
- /** Properties of a UserEmailVerificationCompleted. */
42206
- export interface IUserEmailVerificationCompleted {
42207
-
42208
- /** UserEmailVerificationCompleted hsId */
42209
- hsId?: (string|null);
42210
-
42211
- /** UserEmailVerificationCompleted email */
42212
- email?: (string|null);
42213
-
42214
- /** UserEmailVerificationCompleted timestamp */
42215
- timestamp?: (number|Long|null);
42216
- }
42217
-
42218
- /** Represents a UserEmailVerificationCompleted. */
42219
- export class UserEmailVerificationCompleted implements IUserEmailVerificationCompleted {
42220
-
42221
- /**
42222
- * Constructs a new UserEmailVerificationCompleted.
42223
- * @param [properties] Properties to set
42224
- */
42225
- constructor(properties?: IUserEmailVerificationCompleted);
42226
-
42227
- /** UserEmailVerificationCompleted hsId. */
42228
- public hsId: string;
42229
-
42230
- /** UserEmailVerificationCompleted email. */
42231
- public email: string;
42232
-
42233
- /** UserEmailVerificationCompleted timestamp. */
42234
- public timestamp: (number|Long);
42235
-
42236
- /**
42237
- * Creates a new UserEmailVerificationCompleted instance using the specified properties.
42238
- * @param [properties] Properties to set
42239
- * @returns UserEmailVerificationCompleted instance
42240
- */
42241
- public static create(properties?: IUserEmailVerificationCompleted): UserEmailVerificationCompleted;
42242
-
42243
- /**
42244
- * Encodes the specified UserEmailVerificationCompleted message. Does not implicitly {@link UserEmailVerificationCompleted.verify|verify} messages.
42245
- * @param message UserEmailVerificationCompleted message or plain object to encode
42246
- * @param [writer] Writer to encode to
42247
- * @returns Writer
42248
- */
42249
- public static encode(message: IUserEmailVerificationCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
42250
-
42251
- /**
42252
- * Encodes the specified UserEmailVerificationCompleted message, length delimited. Does not implicitly {@link UserEmailVerificationCompleted.verify|verify} messages.
42253
- * @param message UserEmailVerificationCompleted message or plain object to encode
42254
- * @param [writer] Writer to encode to
42255
- * @returns Writer
42256
- */
42257
- public static encodeDelimited(message: IUserEmailVerificationCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
42258
-
42259
- /**
42260
- * Decodes a UserEmailVerificationCompleted message from the specified reader or buffer.
42261
- * @param reader Reader or buffer to decode from
42262
- * @param [length] Message length if known beforehand
42263
- * @returns UserEmailVerificationCompleted
42264
- * @throws {Error} If the payload is not a reader or valid buffer
42265
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
42266
- */
42267
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserEmailVerificationCompleted;
42268
-
42269
- /**
42270
- * Decodes a UserEmailVerificationCompleted message from the specified reader or buffer, length delimited.
42271
- * @param reader Reader or buffer to decode from
42272
- * @returns UserEmailVerificationCompleted
42273
- * @throws {Error} If the payload is not a reader or valid buffer
42274
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
42275
- */
42276
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserEmailVerificationCompleted;
42277
-
42278
- /**
42279
- * Verifies a UserEmailVerificationCompleted message.
42280
- * @param message Plain object to verify
42281
- * @returns `null` if valid, otherwise the reason why it is not
42282
- */
42283
- public static verify(message: { [k: string]: any }): (string|null);
42284
-
42285
- /**
42286
- * Creates a UserEmailVerificationCompleted message from a plain object. Also converts values to their respective internal types.
42287
- * @param object Plain object
42288
- * @returns UserEmailVerificationCompleted
42289
- */
42290
- public static fromObject(object: { [k: string]: any }): UserEmailVerificationCompleted;
42291
-
42292
- /**
42293
- * Creates a plain object from a UserEmailVerificationCompleted message. Also converts values to other types if specified.
42294
- * @param message UserEmailVerificationCompleted
42295
- * @param [options] Conversion options
42296
- * @returns Plain object
42297
- */
42298
- public static toObject(message: UserEmailVerificationCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
42299
-
42300
- /**
42301
- * Converts this UserEmailVerificationCompleted to JSON.
42302
- * @returns JSON object
42303
- */
42304
- public toJSON(): { [k: string]: any };
42305
- }
42306
-
42307
42205
  /** Properties of a UserPasswordResetRequested. */
42308
42206
  export interface IUserPasswordResetRequested {
42309
42207
 
package/lib/index.js CHANGED
@@ -120023,252 +120023,6 @@ $root.UserEmailUpdated = (function() {
120023
120023
  return UserEmailUpdated;
120024
120024
  })();
120025
120025
 
120026
- $root.UserEmailVerificationCompleted = (function() {
120027
-
120028
- /**
120029
- * Properties of a UserEmailVerificationCompleted.
120030
- * @exports IUserEmailVerificationCompleted
120031
- * @interface IUserEmailVerificationCompleted
120032
- * @property {string|null} [hsId] UserEmailVerificationCompleted hsId
120033
- * @property {string|null} [email] UserEmailVerificationCompleted email
120034
- * @property {number|Long|null} [timestamp] UserEmailVerificationCompleted timestamp
120035
- */
120036
-
120037
- /**
120038
- * Constructs a new UserEmailVerificationCompleted.
120039
- * @exports UserEmailVerificationCompleted
120040
- * @classdesc Represents a UserEmailVerificationCompleted.
120041
- * @implements IUserEmailVerificationCompleted
120042
- * @constructor
120043
- * @param {IUserEmailVerificationCompleted=} [properties] Properties to set
120044
- */
120045
- function UserEmailVerificationCompleted(properties) {
120046
- if (properties)
120047
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
120048
- if (properties[keys[i]] != null)
120049
- this[keys[i]] = properties[keys[i]];
120050
- }
120051
-
120052
- /**
120053
- * UserEmailVerificationCompleted hsId.
120054
- * @member {string} hsId
120055
- * @memberof UserEmailVerificationCompleted
120056
- * @instance
120057
- */
120058
- UserEmailVerificationCompleted.prototype.hsId = "";
120059
-
120060
- /**
120061
- * UserEmailVerificationCompleted email.
120062
- * @member {string} email
120063
- * @memberof UserEmailVerificationCompleted
120064
- * @instance
120065
- */
120066
- UserEmailVerificationCompleted.prototype.email = "";
120067
-
120068
- /**
120069
- * UserEmailVerificationCompleted timestamp.
120070
- * @member {number|Long} timestamp
120071
- * @memberof UserEmailVerificationCompleted
120072
- * @instance
120073
- */
120074
- UserEmailVerificationCompleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
120075
-
120076
- /**
120077
- * Creates a new UserEmailVerificationCompleted instance using the specified properties.
120078
- * @function create
120079
- * @memberof UserEmailVerificationCompleted
120080
- * @static
120081
- * @param {IUserEmailVerificationCompleted=} [properties] Properties to set
120082
- * @returns {UserEmailVerificationCompleted} UserEmailVerificationCompleted instance
120083
- */
120084
- UserEmailVerificationCompleted.create = function create(properties) {
120085
- return new UserEmailVerificationCompleted(properties);
120086
- };
120087
-
120088
- /**
120089
- * Encodes the specified UserEmailVerificationCompleted message. Does not implicitly {@link UserEmailVerificationCompleted.verify|verify} messages.
120090
- * @function encode
120091
- * @memberof UserEmailVerificationCompleted
120092
- * @static
120093
- * @param {IUserEmailVerificationCompleted} message UserEmailVerificationCompleted message or plain object to encode
120094
- * @param {$protobuf.Writer} [writer] Writer to encode to
120095
- * @returns {$protobuf.Writer} Writer
120096
- */
120097
- UserEmailVerificationCompleted.encode = function encode(message, writer) {
120098
- if (!writer)
120099
- writer = $Writer.create();
120100
- if (message.hsId != null && message.hasOwnProperty("hsId"))
120101
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
120102
- if (message.email != null && message.hasOwnProperty("email"))
120103
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.email);
120104
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
120105
- writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
120106
- return writer;
120107
- };
120108
-
120109
- /**
120110
- * Encodes the specified UserEmailVerificationCompleted message, length delimited. Does not implicitly {@link UserEmailVerificationCompleted.verify|verify} messages.
120111
- * @function encodeDelimited
120112
- * @memberof UserEmailVerificationCompleted
120113
- * @static
120114
- * @param {IUserEmailVerificationCompleted} message UserEmailVerificationCompleted message or plain object to encode
120115
- * @param {$protobuf.Writer} [writer] Writer to encode to
120116
- * @returns {$protobuf.Writer} Writer
120117
- */
120118
- UserEmailVerificationCompleted.encodeDelimited = function encodeDelimited(message, writer) {
120119
- return this.encode(message, writer).ldelim();
120120
- };
120121
-
120122
- /**
120123
- * Decodes a UserEmailVerificationCompleted message from the specified reader or buffer.
120124
- * @function decode
120125
- * @memberof UserEmailVerificationCompleted
120126
- * @static
120127
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
120128
- * @param {number} [length] Message length if known beforehand
120129
- * @returns {UserEmailVerificationCompleted} UserEmailVerificationCompleted
120130
- * @throws {Error} If the payload is not a reader or valid buffer
120131
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
120132
- */
120133
- UserEmailVerificationCompleted.decode = function decode(reader, length) {
120134
- if (!(reader instanceof $Reader))
120135
- reader = $Reader.create(reader);
120136
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserEmailVerificationCompleted();
120137
- while (reader.pos < end) {
120138
- var tag = reader.uint32();
120139
- switch (tag >>> 3) {
120140
- case 1:
120141
- message.hsId = reader.string();
120142
- break;
120143
- case 2:
120144
- message.email = reader.string();
120145
- break;
120146
- case 3:
120147
- message.timestamp = reader.uint64();
120148
- break;
120149
- default:
120150
- reader.skipType(tag & 7);
120151
- break;
120152
- }
120153
- }
120154
- return message;
120155
- };
120156
-
120157
- /**
120158
- * Decodes a UserEmailVerificationCompleted message from the specified reader or buffer, length delimited.
120159
- * @function decodeDelimited
120160
- * @memberof UserEmailVerificationCompleted
120161
- * @static
120162
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
120163
- * @returns {UserEmailVerificationCompleted} UserEmailVerificationCompleted
120164
- * @throws {Error} If the payload is not a reader or valid buffer
120165
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
120166
- */
120167
- UserEmailVerificationCompleted.decodeDelimited = function decodeDelimited(reader) {
120168
- if (!(reader instanceof $Reader))
120169
- reader = new $Reader(reader);
120170
- return this.decode(reader, reader.uint32());
120171
- };
120172
-
120173
- /**
120174
- * Verifies a UserEmailVerificationCompleted message.
120175
- * @function verify
120176
- * @memberof UserEmailVerificationCompleted
120177
- * @static
120178
- * @param {Object.<string,*>} message Plain object to verify
120179
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
120180
- */
120181
- UserEmailVerificationCompleted.verify = function verify(message) {
120182
- if (typeof message !== "object" || message === null)
120183
- return "object expected";
120184
- if (message.hsId != null && message.hasOwnProperty("hsId"))
120185
- if (!$util.isString(message.hsId))
120186
- return "hsId: string expected";
120187
- if (message.email != null && message.hasOwnProperty("email"))
120188
- if (!$util.isString(message.email))
120189
- return "email: string expected";
120190
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
120191
- if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
120192
- return "timestamp: integer|Long expected";
120193
- return null;
120194
- };
120195
-
120196
- /**
120197
- * Creates a UserEmailVerificationCompleted message from a plain object. Also converts values to their respective internal types.
120198
- * @function fromObject
120199
- * @memberof UserEmailVerificationCompleted
120200
- * @static
120201
- * @param {Object.<string,*>} object Plain object
120202
- * @returns {UserEmailVerificationCompleted} UserEmailVerificationCompleted
120203
- */
120204
- UserEmailVerificationCompleted.fromObject = function fromObject(object) {
120205
- if (object instanceof $root.UserEmailVerificationCompleted)
120206
- return object;
120207
- var message = new $root.UserEmailVerificationCompleted();
120208
- if (object.hsId != null)
120209
- message.hsId = String(object.hsId);
120210
- if (object.email != null)
120211
- message.email = String(object.email);
120212
- if (object.timestamp != null)
120213
- if ($util.Long)
120214
- (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
120215
- else if (typeof object.timestamp === "string")
120216
- message.timestamp = parseInt(object.timestamp, 10);
120217
- else if (typeof object.timestamp === "number")
120218
- message.timestamp = object.timestamp;
120219
- else if (typeof object.timestamp === "object")
120220
- message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
120221
- return message;
120222
- };
120223
-
120224
- /**
120225
- * Creates a plain object from a UserEmailVerificationCompleted message. Also converts values to other types if specified.
120226
- * @function toObject
120227
- * @memberof UserEmailVerificationCompleted
120228
- * @static
120229
- * @param {UserEmailVerificationCompleted} message UserEmailVerificationCompleted
120230
- * @param {$protobuf.IConversionOptions} [options] Conversion options
120231
- * @returns {Object.<string,*>} Plain object
120232
- */
120233
- UserEmailVerificationCompleted.toObject = function toObject(message, options) {
120234
- if (!options)
120235
- options = {};
120236
- var object = {};
120237
- if (options.defaults) {
120238
- object.hsId = "";
120239
- object.email = "";
120240
- if ($util.Long) {
120241
- var long = new $util.Long(0, 0, true);
120242
- object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
120243
- } else
120244
- object.timestamp = options.longs === String ? "0" : 0;
120245
- }
120246
- if (message.hsId != null && message.hasOwnProperty("hsId"))
120247
- object.hsId = message.hsId;
120248
- if (message.email != null && message.hasOwnProperty("email"))
120249
- object.email = message.email;
120250
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
120251
- if (typeof message.timestamp === "number")
120252
- object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
120253
- else
120254
- 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;
120255
- return object;
120256
- };
120257
-
120258
- /**
120259
- * Converts this UserEmailVerificationCompleted to JSON.
120260
- * @function toJSON
120261
- * @memberof UserEmailVerificationCompleted
120262
- * @instance
120263
- * @returns {Object.<string,*>} JSON object
120264
- */
120265
- UserEmailVerificationCompleted.prototype.toJSON = function toJSON() {
120266
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
120267
- };
120268
-
120269
- return UserEmailVerificationCompleted;
120270
- })();
120271
-
120272
120026
  $root.UserPasswordResetRequested = (function() {
120273
120027
 
120274
120028
  /**
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.421.0"
19
+ "version": "1.422.0"
20
20
  }