@headspace/protos-events 1.146.0 → 1.147.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
@@ -4397,6 +4397,108 @@ export namespace userdomain {
4397
4397
  }
4398
4398
  }
4399
4399
 
4400
+ /** Properties of an Auth0PasswordResetCompleted. */
4401
+ export interface IAuth0PasswordResetCompleted {
4402
+
4403
+ /** Auth0PasswordResetCompleted hsId */
4404
+ hsId?: (string|null);
4405
+
4406
+ /** Auth0PasswordResetCompleted email */
4407
+ email?: (string|null);
4408
+
4409
+ /** Auth0PasswordResetCompleted timestampMillis */
4410
+ timestampMillis?: (number|Long|null);
4411
+ }
4412
+
4413
+ /** Represents an Auth0PasswordResetCompleted. */
4414
+ export class Auth0PasswordResetCompleted implements IAuth0PasswordResetCompleted {
4415
+
4416
+ /**
4417
+ * Constructs a new Auth0PasswordResetCompleted.
4418
+ * @param [properties] Properties to set
4419
+ */
4420
+ constructor(properties?: IAuth0PasswordResetCompleted);
4421
+
4422
+ /** Auth0PasswordResetCompleted hsId. */
4423
+ public hsId: string;
4424
+
4425
+ /** Auth0PasswordResetCompleted email. */
4426
+ public email: string;
4427
+
4428
+ /** Auth0PasswordResetCompleted timestampMillis. */
4429
+ public timestampMillis: (number|Long);
4430
+
4431
+ /**
4432
+ * Creates a new Auth0PasswordResetCompleted instance using the specified properties.
4433
+ * @param [properties] Properties to set
4434
+ * @returns Auth0PasswordResetCompleted instance
4435
+ */
4436
+ public static create(properties?: IAuth0PasswordResetCompleted): Auth0PasswordResetCompleted;
4437
+
4438
+ /**
4439
+ * Encodes the specified Auth0PasswordResetCompleted message. Does not implicitly {@link Auth0PasswordResetCompleted.verify|verify} messages.
4440
+ * @param message Auth0PasswordResetCompleted message or plain object to encode
4441
+ * @param [writer] Writer to encode to
4442
+ * @returns Writer
4443
+ */
4444
+ public static encode(message: IAuth0PasswordResetCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
4445
+
4446
+ /**
4447
+ * Encodes the specified Auth0PasswordResetCompleted message, length delimited. Does not implicitly {@link Auth0PasswordResetCompleted.verify|verify} messages.
4448
+ * @param message Auth0PasswordResetCompleted message or plain object to encode
4449
+ * @param [writer] Writer to encode to
4450
+ * @returns Writer
4451
+ */
4452
+ public static encodeDelimited(message: IAuth0PasswordResetCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
4453
+
4454
+ /**
4455
+ * Decodes an Auth0PasswordResetCompleted message from the specified reader or buffer.
4456
+ * @param reader Reader or buffer to decode from
4457
+ * @param [length] Message length if known beforehand
4458
+ * @returns Auth0PasswordResetCompleted
4459
+ * @throws {Error} If the payload is not a reader or valid buffer
4460
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4461
+ */
4462
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Auth0PasswordResetCompleted;
4463
+
4464
+ /**
4465
+ * Decodes an Auth0PasswordResetCompleted message from the specified reader or buffer, length delimited.
4466
+ * @param reader Reader or buffer to decode from
4467
+ * @returns Auth0PasswordResetCompleted
4468
+ * @throws {Error} If the payload is not a reader or valid buffer
4469
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4470
+ */
4471
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Auth0PasswordResetCompleted;
4472
+
4473
+ /**
4474
+ * Verifies an Auth0PasswordResetCompleted message.
4475
+ * @param message Plain object to verify
4476
+ * @returns `null` if valid, otherwise the reason why it is not
4477
+ */
4478
+ public static verify(message: { [k: string]: any }): (string|null);
4479
+
4480
+ /**
4481
+ * Creates an Auth0PasswordResetCompleted message from a plain object. Also converts values to their respective internal types.
4482
+ * @param object Plain object
4483
+ * @returns Auth0PasswordResetCompleted
4484
+ */
4485
+ public static fromObject(object: { [k: string]: any }): Auth0PasswordResetCompleted;
4486
+
4487
+ /**
4488
+ * Creates a plain object from an Auth0PasswordResetCompleted message. Also converts values to other types if specified.
4489
+ * @param message Auth0PasswordResetCompleted
4490
+ * @param [options] Conversion options
4491
+ * @returns Plain object
4492
+ */
4493
+ public static toObject(message: Auth0PasswordResetCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
4494
+
4495
+ /**
4496
+ * Converts this Auth0PasswordResetCompleted to JSON.
4497
+ * @returns JSON object
4498
+ */
4499
+ public toJSON(): { [k: string]: any };
4500
+ }
4501
+
4400
4502
  /** Properties of a ContentfulAssetCreated. */
4401
4503
  export interface IContentfulAssetCreated {
4402
4504
 
package/lib/index.js CHANGED
@@ -10409,6 +10409,252 @@ $root.userdomain = (function() {
10409
10409
  return userdomain;
10410
10410
  })();
10411
10411
 
10412
+ $root.Auth0PasswordResetCompleted = (function() {
10413
+
10414
+ /**
10415
+ * Properties of an Auth0PasswordResetCompleted.
10416
+ * @exports IAuth0PasswordResetCompleted
10417
+ * @interface IAuth0PasswordResetCompleted
10418
+ * @property {string|null} [hsId] Auth0PasswordResetCompleted hsId
10419
+ * @property {string|null} [email] Auth0PasswordResetCompleted email
10420
+ * @property {number|Long|null} [timestampMillis] Auth0PasswordResetCompleted timestampMillis
10421
+ */
10422
+
10423
+ /**
10424
+ * Constructs a new Auth0PasswordResetCompleted.
10425
+ * @exports Auth0PasswordResetCompleted
10426
+ * @classdesc Represents an Auth0PasswordResetCompleted.
10427
+ * @implements IAuth0PasswordResetCompleted
10428
+ * @constructor
10429
+ * @param {IAuth0PasswordResetCompleted=} [properties] Properties to set
10430
+ */
10431
+ function Auth0PasswordResetCompleted(properties) {
10432
+ if (properties)
10433
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
10434
+ if (properties[keys[i]] != null)
10435
+ this[keys[i]] = properties[keys[i]];
10436
+ }
10437
+
10438
+ /**
10439
+ * Auth0PasswordResetCompleted hsId.
10440
+ * @member {string} hsId
10441
+ * @memberof Auth0PasswordResetCompleted
10442
+ * @instance
10443
+ */
10444
+ Auth0PasswordResetCompleted.prototype.hsId = "";
10445
+
10446
+ /**
10447
+ * Auth0PasswordResetCompleted email.
10448
+ * @member {string} email
10449
+ * @memberof Auth0PasswordResetCompleted
10450
+ * @instance
10451
+ */
10452
+ Auth0PasswordResetCompleted.prototype.email = "";
10453
+
10454
+ /**
10455
+ * Auth0PasswordResetCompleted timestampMillis.
10456
+ * @member {number|Long} timestampMillis
10457
+ * @memberof Auth0PasswordResetCompleted
10458
+ * @instance
10459
+ */
10460
+ Auth0PasswordResetCompleted.prototype.timestampMillis = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
10461
+
10462
+ /**
10463
+ * Creates a new Auth0PasswordResetCompleted instance using the specified properties.
10464
+ * @function create
10465
+ * @memberof Auth0PasswordResetCompleted
10466
+ * @static
10467
+ * @param {IAuth0PasswordResetCompleted=} [properties] Properties to set
10468
+ * @returns {Auth0PasswordResetCompleted} Auth0PasswordResetCompleted instance
10469
+ */
10470
+ Auth0PasswordResetCompleted.create = function create(properties) {
10471
+ return new Auth0PasswordResetCompleted(properties);
10472
+ };
10473
+
10474
+ /**
10475
+ * Encodes the specified Auth0PasswordResetCompleted message. Does not implicitly {@link Auth0PasswordResetCompleted.verify|verify} messages.
10476
+ * @function encode
10477
+ * @memberof Auth0PasswordResetCompleted
10478
+ * @static
10479
+ * @param {IAuth0PasswordResetCompleted} message Auth0PasswordResetCompleted message or plain object to encode
10480
+ * @param {$protobuf.Writer} [writer] Writer to encode to
10481
+ * @returns {$protobuf.Writer} Writer
10482
+ */
10483
+ Auth0PasswordResetCompleted.encode = function encode(message, writer) {
10484
+ if (!writer)
10485
+ writer = $Writer.create();
10486
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
10487
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
10488
+ if (message.email != null && message.hasOwnProperty("email"))
10489
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.email);
10490
+ if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
10491
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestampMillis);
10492
+ return writer;
10493
+ };
10494
+
10495
+ /**
10496
+ * Encodes the specified Auth0PasswordResetCompleted message, length delimited. Does not implicitly {@link Auth0PasswordResetCompleted.verify|verify} messages.
10497
+ * @function encodeDelimited
10498
+ * @memberof Auth0PasswordResetCompleted
10499
+ * @static
10500
+ * @param {IAuth0PasswordResetCompleted} message Auth0PasswordResetCompleted message or plain object to encode
10501
+ * @param {$protobuf.Writer} [writer] Writer to encode to
10502
+ * @returns {$protobuf.Writer} Writer
10503
+ */
10504
+ Auth0PasswordResetCompleted.encodeDelimited = function encodeDelimited(message, writer) {
10505
+ return this.encode(message, writer).ldelim();
10506
+ };
10507
+
10508
+ /**
10509
+ * Decodes an Auth0PasswordResetCompleted message from the specified reader or buffer.
10510
+ * @function decode
10511
+ * @memberof Auth0PasswordResetCompleted
10512
+ * @static
10513
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
10514
+ * @param {number} [length] Message length if known beforehand
10515
+ * @returns {Auth0PasswordResetCompleted} Auth0PasswordResetCompleted
10516
+ * @throws {Error} If the payload is not a reader or valid buffer
10517
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10518
+ */
10519
+ Auth0PasswordResetCompleted.decode = function decode(reader, length) {
10520
+ if (!(reader instanceof $Reader))
10521
+ reader = $Reader.create(reader);
10522
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.Auth0PasswordResetCompleted();
10523
+ while (reader.pos < end) {
10524
+ var tag = reader.uint32();
10525
+ switch (tag >>> 3) {
10526
+ case 1:
10527
+ message.hsId = reader.string();
10528
+ break;
10529
+ case 2:
10530
+ message.email = reader.string();
10531
+ break;
10532
+ case 3:
10533
+ message.timestampMillis = reader.uint64();
10534
+ break;
10535
+ default:
10536
+ reader.skipType(tag & 7);
10537
+ break;
10538
+ }
10539
+ }
10540
+ return message;
10541
+ };
10542
+
10543
+ /**
10544
+ * Decodes an Auth0PasswordResetCompleted message from the specified reader or buffer, length delimited.
10545
+ * @function decodeDelimited
10546
+ * @memberof Auth0PasswordResetCompleted
10547
+ * @static
10548
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
10549
+ * @returns {Auth0PasswordResetCompleted} Auth0PasswordResetCompleted
10550
+ * @throws {Error} If the payload is not a reader or valid buffer
10551
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10552
+ */
10553
+ Auth0PasswordResetCompleted.decodeDelimited = function decodeDelimited(reader) {
10554
+ if (!(reader instanceof $Reader))
10555
+ reader = new $Reader(reader);
10556
+ return this.decode(reader, reader.uint32());
10557
+ };
10558
+
10559
+ /**
10560
+ * Verifies an Auth0PasswordResetCompleted message.
10561
+ * @function verify
10562
+ * @memberof Auth0PasswordResetCompleted
10563
+ * @static
10564
+ * @param {Object.<string,*>} message Plain object to verify
10565
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
10566
+ */
10567
+ Auth0PasswordResetCompleted.verify = function verify(message) {
10568
+ if (typeof message !== "object" || message === null)
10569
+ return "object expected";
10570
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
10571
+ if (!$util.isString(message.hsId))
10572
+ return "hsId: string expected";
10573
+ if (message.email != null && message.hasOwnProperty("email"))
10574
+ if (!$util.isString(message.email))
10575
+ return "email: string expected";
10576
+ if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
10577
+ if (!$util.isInteger(message.timestampMillis) && !(message.timestampMillis && $util.isInteger(message.timestampMillis.low) && $util.isInteger(message.timestampMillis.high)))
10578
+ return "timestampMillis: integer|Long expected";
10579
+ return null;
10580
+ };
10581
+
10582
+ /**
10583
+ * Creates an Auth0PasswordResetCompleted message from a plain object. Also converts values to their respective internal types.
10584
+ * @function fromObject
10585
+ * @memberof Auth0PasswordResetCompleted
10586
+ * @static
10587
+ * @param {Object.<string,*>} object Plain object
10588
+ * @returns {Auth0PasswordResetCompleted} Auth0PasswordResetCompleted
10589
+ */
10590
+ Auth0PasswordResetCompleted.fromObject = function fromObject(object) {
10591
+ if (object instanceof $root.Auth0PasswordResetCompleted)
10592
+ return object;
10593
+ var message = new $root.Auth0PasswordResetCompleted();
10594
+ if (object.hsId != null)
10595
+ message.hsId = String(object.hsId);
10596
+ if (object.email != null)
10597
+ message.email = String(object.email);
10598
+ if (object.timestampMillis != null)
10599
+ if ($util.Long)
10600
+ (message.timestampMillis = $util.Long.fromValue(object.timestampMillis)).unsigned = true;
10601
+ else if (typeof object.timestampMillis === "string")
10602
+ message.timestampMillis = parseInt(object.timestampMillis, 10);
10603
+ else if (typeof object.timestampMillis === "number")
10604
+ message.timestampMillis = object.timestampMillis;
10605
+ else if (typeof object.timestampMillis === "object")
10606
+ message.timestampMillis = new $util.LongBits(object.timestampMillis.low >>> 0, object.timestampMillis.high >>> 0).toNumber(true);
10607
+ return message;
10608
+ };
10609
+
10610
+ /**
10611
+ * Creates a plain object from an Auth0PasswordResetCompleted message. Also converts values to other types if specified.
10612
+ * @function toObject
10613
+ * @memberof Auth0PasswordResetCompleted
10614
+ * @static
10615
+ * @param {Auth0PasswordResetCompleted} message Auth0PasswordResetCompleted
10616
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
10617
+ * @returns {Object.<string,*>} Plain object
10618
+ */
10619
+ Auth0PasswordResetCompleted.toObject = function toObject(message, options) {
10620
+ if (!options)
10621
+ options = {};
10622
+ var object = {};
10623
+ if (options.defaults) {
10624
+ object.hsId = "";
10625
+ object.email = "";
10626
+ if ($util.Long) {
10627
+ var long = new $util.Long(0, 0, true);
10628
+ object.timestampMillis = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
10629
+ } else
10630
+ object.timestampMillis = options.longs === String ? "0" : 0;
10631
+ }
10632
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
10633
+ object.hsId = message.hsId;
10634
+ if (message.email != null && message.hasOwnProperty("email"))
10635
+ object.email = message.email;
10636
+ if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
10637
+ if (typeof message.timestampMillis === "number")
10638
+ object.timestampMillis = options.longs === String ? String(message.timestampMillis) : message.timestampMillis;
10639
+ else
10640
+ 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;
10641
+ return object;
10642
+ };
10643
+
10644
+ /**
10645
+ * Converts this Auth0PasswordResetCompleted to JSON.
10646
+ * @function toJSON
10647
+ * @memberof Auth0PasswordResetCompleted
10648
+ * @instance
10649
+ * @returns {Object.<string,*>} JSON object
10650
+ */
10651
+ Auth0PasswordResetCompleted.prototype.toJSON = function toJSON() {
10652
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
10653
+ };
10654
+
10655
+ return Auth0PasswordResetCompleted;
10656
+ })();
10657
+
10412
10658
  $root.ContentfulAssetCreated = (function() {
10413
10659
 
10414
10660
  /**
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.146.0"
19
+ "version": "1.147.0"
20
20
  }