@headspace/protos-events 1.404.0 → 1.405.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
@@ -23181,114 +23181,6 @@ export class UserDomainLoggedIn implements IUserDomainLoggedIn {
23181
23181
  public toJSON(): { [k: string]: any };
23182
23182
  }
23183
23183
 
23184
- /** Properties of a UserPasswordResetCreated. */
23185
- export interface IUserPasswordResetCreated {
23186
-
23187
- /** UserPasswordResetCreated hsId */
23188
- hsId?: (string|null);
23189
-
23190
- /** UserPasswordResetCreated email */
23191
- email?: (string|null);
23192
-
23193
- /** UserPasswordResetCreated timestampMillis */
23194
- timestampMillis?: (number|Long|null);
23195
-
23196
- /** UserPasswordResetCreated auth0Ticket */
23197
- auth0Ticket?: (string|null);
23198
- }
23199
-
23200
- /** Represents a UserPasswordResetCreated. */
23201
- export class UserPasswordResetCreated implements IUserPasswordResetCreated {
23202
-
23203
- /**
23204
- * Constructs a new UserPasswordResetCreated.
23205
- * @param [properties] Properties to set
23206
- */
23207
- constructor(properties?: IUserPasswordResetCreated);
23208
-
23209
- /** UserPasswordResetCreated hsId. */
23210
- public hsId: string;
23211
-
23212
- /** UserPasswordResetCreated email. */
23213
- public email: string;
23214
-
23215
- /** UserPasswordResetCreated timestampMillis. */
23216
- public timestampMillis: (number|Long);
23217
-
23218
- /** UserPasswordResetCreated auth0Ticket. */
23219
- public auth0Ticket: string;
23220
-
23221
- /**
23222
- * Creates a new UserPasswordResetCreated instance using the specified properties.
23223
- * @param [properties] Properties to set
23224
- * @returns UserPasswordResetCreated instance
23225
- */
23226
- public static create(properties?: IUserPasswordResetCreated): UserPasswordResetCreated;
23227
-
23228
- /**
23229
- * Encodes the specified UserPasswordResetCreated message. Does not implicitly {@link UserPasswordResetCreated.verify|verify} messages.
23230
- * @param message UserPasswordResetCreated message or plain object to encode
23231
- * @param [writer] Writer to encode to
23232
- * @returns Writer
23233
- */
23234
- public static encode(message: IUserPasswordResetCreated, writer?: $protobuf.Writer): $protobuf.Writer;
23235
-
23236
- /**
23237
- * Encodes the specified UserPasswordResetCreated message, length delimited. Does not implicitly {@link UserPasswordResetCreated.verify|verify} messages.
23238
- * @param message UserPasswordResetCreated message or plain object to encode
23239
- * @param [writer] Writer to encode to
23240
- * @returns Writer
23241
- */
23242
- public static encodeDelimited(message: IUserPasswordResetCreated, writer?: $protobuf.Writer): $protobuf.Writer;
23243
-
23244
- /**
23245
- * Decodes a UserPasswordResetCreated message from the specified reader or buffer.
23246
- * @param reader Reader or buffer to decode from
23247
- * @param [length] Message length if known beforehand
23248
- * @returns UserPasswordResetCreated
23249
- * @throws {Error} If the payload is not a reader or valid buffer
23250
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
23251
- */
23252
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserPasswordResetCreated;
23253
-
23254
- /**
23255
- * Decodes a UserPasswordResetCreated message from the specified reader or buffer, length delimited.
23256
- * @param reader Reader or buffer to decode from
23257
- * @returns UserPasswordResetCreated
23258
- * @throws {Error} If the payload is not a reader or valid buffer
23259
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
23260
- */
23261
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserPasswordResetCreated;
23262
-
23263
- /**
23264
- * Verifies a UserPasswordResetCreated message.
23265
- * @param message Plain object to verify
23266
- * @returns `null` if valid, otherwise the reason why it is not
23267
- */
23268
- public static verify(message: { [k: string]: any }): (string|null);
23269
-
23270
- /**
23271
- * Creates a UserPasswordResetCreated message from a plain object. Also converts values to their respective internal types.
23272
- * @param object Plain object
23273
- * @returns UserPasswordResetCreated
23274
- */
23275
- public static fromObject(object: { [k: string]: any }): UserPasswordResetCreated;
23276
-
23277
- /**
23278
- * Creates a plain object from a UserPasswordResetCreated message. Also converts values to other types if specified.
23279
- * @param message UserPasswordResetCreated
23280
- * @param [options] Conversion options
23281
- * @returns Plain object
23282
- */
23283
- public static toObject(message: UserPasswordResetCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
23284
-
23285
- /**
23286
- * Converts this UserPasswordResetCreated to JSON.
23287
- * @returns JSON object
23288
- */
23289
- public toJSON(): { [k: string]: any };
23290
- }
23291
-
23292
23184
  /** Properties of a UserPasswordResetCompleted. */
23293
23185
  export interface IUserPasswordResetCompleted {
23294
23186
 
package/lib/index.js CHANGED
@@ -63602,274 +63602,6 @@ $root.UserDomainLoggedIn = (function() {
63602
63602
  return UserDomainLoggedIn;
63603
63603
  })();
63604
63604
 
63605
- $root.UserPasswordResetCreated = (function() {
63606
-
63607
- /**
63608
- * Properties of a UserPasswordResetCreated.
63609
- * @exports IUserPasswordResetCreated
63610
- * @interface IUserPasswordResetCreated
63611
- * @property {string|null} [hsId] UserPasswordResetCreated hsId
63612
- * @property {string|null} [email] UserPasswordResetCreated email
63613
- * @property {number|Long|null} [timestampMillis] UserPasswordResetCreated timestampMillis
63614
- * @property {string|null} [auth0Ticket] UserPasswordResetCreated auth0Ticket
63615
- */
63616
-
63617
- /**
63618
- * Constructs a new UserPasswordResetCreated.
63619
- * @exports UserPasswordResetCreated
63620
- * @classdesc Represents a UserPasswordResetCreated.
63621
- * @implements IUserPasswordResetCreated
63622
- * @constructor
63623
- * @param {IUserPasswordResetCreated=} [properties] Properties to set
63624
- */
63625
- function UserPasswordResetCreated(properties) {
63626
- if (properties)
63627
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
63628
- if (properties[keys[i]] != null)
63629
- this[keys[i]] = properties[keys[i]];
63630
- }
63631
-
63632
- /**
63633
- * UserPasswordResetCreated hsId.
63634
- * @member {string} hsId
63635
- * @memberof UserPasswordResetCreated
63636
- * @instance
63637
- */
63638
- UserPasswordResetCreated.prototype.hsId = "";
63639
-
63640
- /**
63641
- * UserPasswordResetCreated email.
63642
- * @member {string} email
63643
- * @memberof UserPasswordResetCreated
63644
- * @instance
63645
- */
63646
- UserPasswordResetCreated.prototype.email = "";
63647
-
63648
- /**
63649
- * UserPasswordResetCreated timestampMillis.
63650
- * @member {number|Long} timestampMillis
63651
- * @memberof UserPasswordResetCreated
63652
- * @instance
63653
- */
63654
- UserPasswordResetCreated.prototype.timestampMillis = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
63655
-
63656
- /**
63657
- * UserPasswordResetCreated auth0Ticket.
63658
- * @member {string} auth0Ticket
63659
- * @memberof UserPasswordResetCreated
63660
- * @instance
63661
- */
63662
- UserPasswordResetCreated.prototype.auth0Ticket = "";
63663
-
63664
- /**
63665
- * Creates a new UserPasswordResetCreated instance using the specified properties.
63666
- * @function create
63667
- * @memberof UserPasswordResetCreated
63668
- * @static
63669
- * @param {IUserPasswordResetCreated=} [properties] Properties to set
63670
- * @returns {UserPasswordResetCreated} UserPasswordResetCreated instance
63671
- */
63672
- UserPasswordResetCreated.create = function create(properties) {
63673
- return new UserPasswordResetCreated(properties);
63674
- };
63675
-
63676
- /**
63677
- * Encodes the specified UserPasswordResetCreated message. Does not implicitly {@link UserPasswordResetCreated.verify|verify} messages.
63678
- * @function encode
63679
- * @memberof UserPasswordResetCreated
63680
- * @static
63681
- * @param {IUserPasswordResetCreated} message UserPasswordResetCreated message or plain object to encode
63682
- * @param {$protobuf.Writer} [writer] Writer to encode to
63683
- * @returns {$protobuf.Writer} Writer
63684
- */
63685
- UserPasswordResetCreated.encode = function encode(message, writer) {
63686
- if (!writer)
63687
- writer = $Writer.create();
63688
- if (message.hsId != null && message.hasOwnProperty("hsId"))
63689
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
63690
- if (message.email != null && message.hasOwnProperty("email"))
63691
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.email);
63692
- if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
63693
- writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestampMillis);
63694
- if (message.auth0Ticket != null && message.hasOwnProperty("auth0Ticket"))
63695
- writer.uint32(/* id 6, wireType 2 =*/50).string(message.auth0Ticket);
63696
- return writer;
63697
- };
63698
-
63699
- /**
63700
- * Encodes the specified UserPasswordResetCreated message, length delimited. Does not implicitly {@link UserPasswordResetCreated.verify|verify} messages.
63701
- * @function encodeDelimited
63702
- * @memberof UserPasswordResetCreated
63703
- * @static
63704
- * @param {IUserPasswordResetCreated} message UserPasswordResetCreated message or plain object to encode
63705
- * @param {$protobuf.Writer} [writer] Writer to encode to
63706
- * @returns {$protobuf.Writer} Writer
63707
- */
63708
- UserPasswordResetCreated.encodeDelimited = function encodeDelimited(message, writer) {
63709
- return this.encode(message, writer).ldelim();
63710
- };
63711
-
63712
- /**
63713
- * Decodes a UserPasswordResetCreated message from the specified reader or buffer.
63714
- * @function decode
63715
- * @memberof UserPasswordResetCreated
63716
- * @static
63717
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
63718
- * @param {number} [length] Message length if known beforehand
63719
- * @returns {UserPasswordResetCreated} UserPasswordResetCreated
63720
- * @throws {Error} If the payload is not a reader or valid buffer
63721
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
63722
- */
63723
- UserPasswordResetCreated.decode = function decode(reader, length) {
63724
- if (!(reader instanceof $Reader))
63725
- reader = $Reader.create(reader);
63726
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserPasswordResetCreated();
63727
- while (reader.pos < end) {
63728
- var tag = reader.uint32();
63729
- switch (tag >>> 3) {
63730
- case 1:
63731
- message.hsId = reader.string();
63732
- break;
63733
- case 2:
63734
- message.email = reader.string();
63735
- break;
63736
- case 3:
63737
- message.timestampMillis = reader.uint64();
63738
- break;
63739
- case 6:
63740
- message.auth0Ticket = reader.string();
63741
- break;
63742
- default:
63743
- reader.skipType(tag & 7);
63744
- break;
63745
- }
63746
- }
63747
- return message;
63748
- };
63749
-
63750
- /**
63751
- * Decodes a UserPasswordResetCreated message from the specified reader or buffer, length delimited.
63752
- * @function decodeDelimited
63753
- * @memberof UserPasswordResetCreated
63754
- * @static
63755
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
63756
- * @returns {UserPasswordResetCreated} UserPasswordResetCreated
63757
- * @throws {Error} If the payload is not a reader or valid buffer
63758
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
63759
- */
63760
- UserPasswordResetCreated.decodeDelimited = function decodeDelimited(reader) {
63761
- if (!(reader instanceof $Reader))
63762
- reader = new $Reader(reader);
63763
- return this.decode(reader, reader.uint32());
63764
- };
63765
-
63766
- /**
63767
- * Verifies a UserPasswordResetCreated message.
63768
- * @function verify
63769
- * @memberof UserPasswordResetCreated
63770
- * @static
63771
- * @param {Object.<string,*>} message Plain object to verify
63772
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
63773
- */
63774
- UserPasswordResetCreated.verify = function verify(message) {
63775
- if (typeof message !== "object" || message === null)
63776
- return "object expected";
63777
- if (message.hsId != null && message.hasOwnProperty("hsId"))
63778
- if (!$util.isString(message.hsId))
63779
- return "hsId: string expected";
63780
- if (message.email != null && message.hasOwnProperty("email"))
63781
- if (!$util.isString(message.email))
63782
- return "email: string expected";
63783
- if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
63784
- if (!$util.isInteger(message.timestampMillis) && !(message.timestampMillis && $util.isInteger(message.timestampMillis.low) && $util.isInteger(message.timestampMillis.high)))
63785
- return "timestampMillis: integer|Long expected";
63786
- if (message.auth0Ticket != null && message.hasOwnProperty("auth0Ticket"))
63787
- if (!$util.isString(message.auth0Ticket))
63788
- return "auth0Ticket: string expected";
63789
- return null;
63790
- };
63791
-
63792
- /**
63793
- * Creates a UserPasswordResetCreated message from a plain object. Also converts values to their respective internal types.
63794
- * @function fromObject
63795
- * @memberof UserPasswordResetCreated
63796
- * @static
63797
- * @param {Object.<string,*>} object Plain object
63798
- * @returns {UserPasswordResetCreated} UserPasswordResetCreated
63799
- */
63800
- UserPasswordResetCreated.fromObject = function fromObject(object) {
63801
- if (object instanceof $root.UserPasswordResetCreated)
63802
- return object;
63803
- var message = new $root.UserPasswordResetCreated();
63804
- if (object.hsId != null)
63805
- message.hsId = String(object.hsId);
63806
- if (object.email != null)
63807
- message.email = String(object.email);
63808
- if (object.timestampMillis != null)
63809
- if ($util.Long)
63810
- (message.timestampMillis = $util.Long.fromValue(object.timestampMillis)).unsigned = true;
63811
- else if (typeof object.timestampMillis === "string")
63812
- message.timestampMillis = parseInt(object.timestampMillis, 10);
63813
- else if (typeof object.timestampMillis === "number")
63814
- message.timestampMillis = object.timestampMillis;
63815
- else if (typeof object.timestampMillis === "object")
63816
- message.timestampMillis = new $util.LongBits(object.timestampMillis.low >>> 0, object.timestampMillis.high >>> 0).toNumber(true);
63817
- if (object.auth0Ticket != null)
63818
- message.auth0Ticket = String(object.auth0Ticket);
63819
- return message;
63820
- };
63821
-
63822
- /**
63823
- * Creates a plain object from a UserPasswordResetCreated message. Also converts values to other types if specified.
63824
- * @function toObject
63825
- * @memberof UserPasswordResetCreated
63826
- * @static
63827
- * @param {UserPasswordResetCreated} message UserPasswordResetCreated
63828
- * @param {$protobuf.IConversionOptions} [options] Conversion options
63829
- * @returns {Object.<string,*>} Plain object
63830
- */
63831
- UserPasswordResetCreated.toObject = function toObject(message, options) {
63832
- if (!options)
63833
- options = {};
63834
- var object = {};
63835
- if (options.defaults) {
63836
- object.hsId = "";
63837
- object.email = "";
63838
- if ($util.Long) {
63839
- var long = new $util.Long(0, 0, true);
63840
- object.timestampMillis = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
63841
- } else
63842
- object.timestampMillis = options.longs === String ? "0" : 0;
63843
- object.auth0Ticket = "";
63844
- }
63845
- if (message.hsId != null && message.hasOwnProperty("hsId"))
63846
- object.hsId = message.hsId;
63847
- if (message.email != null && message.hasOwnProperty("email"))
63848
- object.email = message.email;
63849
- if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
63850
- if (typeof message.timestampMillis === "number")
63851
- object.timestampMillis = options.longs === String ? String(message.timestampMillis) : message.timestampMillis;
63852
- else
63853
- object.timestampMillis = options.longs === String ? $util.Long.prototype.toString.call(message.timestampMillis) : options.longs === Number ? new $util.LongBits(message.timestampMillis.low >>> 0, message.timestampMillis.high >>> 0).toNumber(true) : message.timestampMillis;
63854
- if (message.auth0Ticket != null && message.hasOwnProperty("auth0Ticket"))
63855
- object.auth0Ticket = message.auth0Ticket;
63856
- return object;
63857
- };
63858
-
63859
- /**
63860
- * Converts this UserPasswordResetCreated to JSON.
63861
- * @function toJSON
63862
- * @memberof UserPasswordResetCreated
63863
- * @instance
63864
- * @returns {Object.<string,*>} JSON object
63865
- */
63866
- UserPasswordResetCreated.prototype.toJSON = function toJSON() {
63867
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
63868
- };
63869
-
63870
- return UserPasswordResetCreated;
63871
- })();
63872
-
63873
63605
  $root.UserPasswordResetCompleted = (function() {
63874
63606
 
63875
63607
  /**
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.404.0"
19
+ "version": "1.405.0"
20
20
  }