@headspace/protos-events 1.401.0 → 1.402.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
@@ -13628,108 +13628,6 @@ export class UserMFAEnrollmentDisabled implements IUserMFAEnrollmentDisabled {
13628
13628
  public toJSON(): { [k: string]: any };
13629
13629
  }
13630
13630
 
13631
- /** Properties of an Auth0PasswordResetCompleted. */
13632
- export interface IAuth0PasswordResetCompleted {
13633
-
13634
- /** Auth0PasswordResetCompleted hsId */
13635
- hsId?: (string|null);
13636
-
13637
- /** Auth0PasswordResetCompleted email */
13638
- email?: (string|null);
13639
-
13640
- /** Auth0PasswordResetCompleted timestampMillis */
13641
- timestampMillis?: (number|Long|null);
13642
- }
13643
-
13644
- /** Represents an Auth0PasswordResetCompleted. */
13645
- export class Auth0PasswordResetCompleted implements IAuth0PasswordResetCompleted {
13646
-
13647
- /**
13648
- * Constructs a new Auth0PasswordResetCompleted.
13649
- * @param [properties] Properties to set
13650
- */
13651
- constructor(properties?: IAuth0PasswordResetCompleted);
13652
-
13653
- /** Auth0PasswordResetCompleted hsId. */
13654
- public hsId: string;
13655
-
13656
- /** Auth0PasswordResetCompleted email. */
13657
- public email: string;
13658
-
13659
- /** Auth0PasswordResetCompleted timestampMillis. */
13660
- public timestampMillis: (number|Long);
13661
-
13662
- /**
13663
- * Creates a new Auth0PasswordResetCompleted instance using the specified properties.
13664
- * @param [properties] Properties to set
13665
- * @returns Auth0PasswordResetCompleted instance
13666
- */
13667
- public static create(properties?: IAuth0PasswordResetCompleted): Auth0PasswordResetCompleted;
13668
-
13669
- /**
13670
- * Encodes the specified Auth0PasswordResetCompleted message. Does not implicitly {@link Auth0PasswordResetCompleted.verify|verify} messages.
13671
- * @param message Auth0PasswordResetCompleted message or plain object to encode
13672
- * @param [writer] Writer to encode to
13673
- * @returns Writer
13674
- */
13675
- public static encode(message: IAuth0PasswordResetCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
13676
-
13677
- /**
13678
- * Encodes the specified Auth0PasswordResetCompleted message, length delimited. Does not implicitly {@link Auth0PasswordResetCompleted.verify|verify} messages.
13679
- * @param message Auth0PasswordResetCompleted message or plain object to encode
13680
- * @param [writer] Writer to encode to
13681
- * @returns Writer
13682
- */
13683
- public static encodeDelimited(message: IAuth0PasswordResetCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
13684
-
13685
- /**
13686
- * Decodes an Auth0PasswordResetCompleted message from the specified reader or buffer.
13687
- * @param reader Reader or buffer to decode from
13688
- * @param [length] Message length if known beforehand
13689
- * @returns Auth0PasswordResetCompleted
13690
- * @throws {Error} If the payload is not a reader or valid buffer
13691
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
13692
- */
13693
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Auth0PasswordResetCompleted;
13694
-
13695
- /**
13696
- * Decodes an Auth0PasswordResetCompleted message from the specified reader or buffer, length delimited.
13697
- * @param reader Reader or buffer to decode from
13698
- * @returns Auth0PasswordResetCompleted
13699
- * @throws {Error} If the payload is not a reader or valid buffer
13700
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
13701
- */
13702
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Auth0PasswordResetCompleted;
13703
-
13704
- /**
13705
- * Verifies an Auth0PasswordResetCompleted message.
13706
- * @param message Plain object to verify
13707
- * @returns `null` if valid, otherwise the reason why it is not
13708
- */
13709
- public static verify(message: { [k: string]: any }): (string|null);
13710
-
13711
- /**
13712
- * Creates an Auth0PasswordResetCompleted message from a plain object. Also converts values to their respective internal types.
13713
- * @param object Plain object
13714
- * @returns Auth0PasswordResetCompleted
13715
- */
13716
- public static fromObject(object: { [k: string]: any }): Auth0PasswordResetCompleted;
13717
-
13718
- /**
13719
- * Creates a plain object from an Auth0PasswordResetCompleted message. Also converts values to other types if specified.
13720
- * @param message Auth0PasswordResetCompleted
13721
- * @param [options] Conversion options
13722
- * @returns Plain object
13723
- */
13724
- public static toObject(message: Auth0PasswordResetCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
13725
-
13726
- /**
13727
- * Converts this Auth0PasswordResetCompleted to JSON.
13728
- * @returns JSON object
13729
- */
13730
- public toJSON(): { [k: string]: any };
13731
- }
13732
-
13733
13631
  /** Properties of a ContentfulAssetCreated. */
13734
13632
  export interface IContentfulAssetCreated {
13735
13633
 
package/lib/index.js CHANGED
@@ -34109,252 +34109,6 @@ $root.UserMFAEnrollmentDisabled = (function() {
34109
34109
  return UserMFAEnrollmentDisabled;
34110
34110
  })();
34111
34111
 
34112
- $root.Auth0PasswordResetCompleted = (function() {
34113
-
34114
- /**
34115
- * Properties of an Auth0PasswordResetCompleted.
34116
- * @exports IAuth0PasswordResetCompleted
34117
- * @interface IAuth0PasswordResetCompleted
34118
- * @property {string|null} [hsId] Auth0PasswordResetCompleted hsId
34119
- * @property {string|null} [email] Auth0PasswordResetCompleted email
34120
- * @property {number|Long|null} [timestampMillis] Auth0PasswordResetCompleted timestampMillis
34121
- */
34122
-
34123
- /**
34124
- * Constructs a new Auth0PasswordResetCompleted.
34125
- * @exports Auth0PasswordResetCompleted
34126
- * @classdesc Represents an Auth0PasswordResetCompleted.
34127
- * @implements IAuth0PasswordResetCompleted
34128
- * @constructor
34129
- * @param {IAuth0PasswordResetCompleted=} [properties] Properties to set
34130
- */
34131
- function Auth0PasswordResetCompleted(properties) {
34132
- if (properties)
34133
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
34134
- if (properties[keys[i]] != null)
34135
- this[keys[i]] = properties[keys[i]];
34136
- }
34137
-
34138
- /**
34139
- * Auth0PasswordResetCompleted hsId.
34140
- * @member {string} hsId
34141
- * @memberof Auth0PasswordResetCompleted
34142
- * @instance
34143
- */
34144
- Auth0PasswordResetCompleted.prototype.hsId = "";
34145
-
34146
- /**
34147
- * Auth0PasswordResetCompleted email.
34148
- * @member {string} email
34149
- * @memberof Auth0PasswordResetCompleted
34150
- * @instance
34151
- */
34152
- Auth0PasswordResetCompleted.prototype.email = "";
34153
-
34154
- /**
34155
- * Auth0PasswordResetCompleted timestampMillis.
34156
- * @member {number|Long} timestampMillis
34157
- * @memberof Auth0PasswordResetCompleted
34158
- * @instance
34159
- */
34160
- Auth0PasswordResetCompleted.prototype.timestampMillis = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
34161
-
34162
- /**
34163
- * Creates a new Auth0PasswordResetCompleted instance using the specified properties.
34164
- * @function create
34165
- * @memberof Auth0PasswordResetCompleted
34166
- * @static
34167
- * @param {IAuth0PasswordResetCompleted=} [properties] Properties to set
34168
- * @returns {Auth0PasswordResetCompleted} Auth0PasswordResetCompleted instance
34169
- */
34170
- Auth0PasswordResetCompleted.create = function create(properties) {
34171
- return new Auth0PasswordResetCompleted(properties);
34172
- };
34173
-
34174
- /**
34175
- * Encodes the specified Auth0PasswordResetCompleted message. Does not implicitly {@link Auth0PasswordResetCompleted.verify|verify} messages.
34176
- * @function encode
34177
- * @memberof Auth0PasswordResetCompleted
34178
- * @static
34179
- * @param {IAuth0PasswordResetCompleted} message Auth0PasswordResetCompleted message or plain object to encode
34180
- * @param {$protobuf.Writer} [writer] Writer to encode to
34181
- * @returns {$protobuf.Writer} Writer
34182
- */
34183
- Auth0PasswordResetCompleted.encode = function encode(message, writer) {
34184
- if (!writer)
34185
- writer = $Writer.create();
34186
- if (message.hsId != null && message.hasOwnProperty("hsId"))
34187
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
34188
- if (message.email != null && message.hasOwnProperty("email"))
34189
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.email);
34190
- if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
34191
- writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestampMillis);
34192
- return writer;
34193
- };
34194
-
34195
- /**
34196
- * Encodes the specified Auth0PasswordResetCompleted message, length delimited. Does not implicitly {@link Auth0PasswordResetCompleted.verify|verify} messages.
34197
- * @function encodeDelimited
34198
- * @memberof Auth0PasswordResetCompleted
34199
- * @static
34200
- * @param {IAuth0PasswordResetCompleted} message Auth0PasswordResetCompleted message or plain object to encode
34201
- * @param {$protobuf.Writer} [writer] Writer to encode to
34202
- * @returns {$protobuf.Writer} Writer
34203
- */
34204
- Auth0PasswordResetCompleted.encodeDelimited = function encodeDelimited(message, writer) {
34205
- return this.encode(message, writer).ldelim();
34206
- };
34207
-
34208
- /**
34209
- * Decodes an Auth0PasswordResetCompleted message from the specified reader or buffer.
34210
- * @function decode
34211
- * @memberof Auth0PasswordResetCompleted
34212
- * @static
34213
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
34214
- * @param {number} [length] Message length if known beforehand
34215
- * @returns {Auth0PasswordResetCompleted} Auth0PasswordResetCompleted
34216
- * @throws {Error} If the payload is not a reader or valid buffer
34217
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
34218
- */
34219
- Auth0PasswordResetCompleted.decode = function decode(reader, length) {
34220
- if (!(reader instanceof $Reader))
34221
- reader = $Reader.create(reader);
34222
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.Auth0PasswordResetCompleted();
34223
- while (reader.pos < end) {
34224
- var tag = reader.uint32();
34225
- switch (tag >>> 3) {
34226
- case 1:
34227
- message.hsId = reader.string();
34228
- break;
34229
- case 2:
34230
- message.email = reader.string();
34231
- break;
34232
- case 3:
34233
- message.timestampMillis = reader.uint64();
34234
- break;
34235
- default:
34236
- reader.skipType(tag & 7);
34237
- break;
34238
- }
34239
- }
34240
- return message;
34241
- };
34242
-
34243
- /**
34244
- * Decodes an Auth0PasswordResetCompleted message from the specified reader or buffer, length delimited.
34245
- * @function decodeDelimited
34246
- * @memberof Auth0PasswordResetCompleted
34247
- * @static
34248
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
34249
- * @returns {Auth0PasswordResetCompleted} Auth0PasswordResetCompleted
34250
- * @throws {Error} If the payload is not a reader or valid buffer
34251
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
34252
- */
34253
- Auth0PasswordResetCompleted.decodeDelimited = function decodeDelimited(reader) {
34254
- if (!(reader instanceof $Reader))
34255
- reader = new $Reader(reader);
34256
- return this.decode(reader, reader.uint32());
34257
- };
34258
-
34259
- /**
34260
- * Verifies an Auth0PasswordResetCompleted message.
34261
- * @function verify
34262
- * @memberof Auth0PasswordResetCompleted
34263
- * @static
34264
- * @param {Object.<string,*>} message Plain object to verify
34265
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
34266
- */
34267
- Auth0PasswordResetCompleted.verify = function verify(message) {
34268
- if (typeof message !== "object" || message === null)
34269
- return "object expected";
34270
- if (message.hsId != null && message.hasOwnProperty("hsId"))
34271
- if (!$util.isString(message.hsId))
34272
- return "hsId: string expected";
34273
- if (message.email != null && message.hasOwnProperty("email"))
34274
- if (!$util.isString(message.email))
34275
- return "email: string expected";
34276
- if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
34277
- if (!$util.isInteger(message.timestampMillis) && !(message.timestampMillis && $util.isInteger(message.timestampMillis.low) && $util.isInteger(message.timestampMillis.high)))
34278
- return "timestampMillis: integer|Long expected";
34279
- return null;
34280
- };
34281
-
34282
- /**
34283
- * Creates an Auth0PasswordResetCompleted message from a plain object. Also converts values to their respective internal types.
34284
- * @function fromObject
34285
- * @memberof Auth0PasswordResetCompleted
34286
- * @static
34287
- * @param {Object.<string,*>} object Plain object
34288
- * @returns {Auth0PasswordResetCompleted} Auth0PasswordResetCompleted
34289
- */
34290
- Auth0PasswordResetCompleted.fromObject = function fromObject(object) {
34291
- if (object instanceof $root.Auth0PasswordResetCompleted)
34292
- return object;
34293
- var message = new $root.Auth0PasswordResetCompleted();
34294
- if (object.hsId != null)
34295
- message.hsId = String(object.hsId);
34296
- if (object.email != null)
34297
- message.email = String(object.email);
34298
- if (object.timestampMillis != null)
34299
- if ($util.Long)
34300
- (message.timestampMillis = $util.Long.fromValue(object.timestampMillis)).unsigned = true;
34301
- else if (typeof object.timestampMillis === "string")
34302
- message.timestampMillis = parseInt(object.timestampMillis, 10);
34303
- else if (typeof object.timestampMillis === "number")
34304
- message.timestampMillis = object.timestampMillis;
34305
- else if (typeof object.timestampMillis === "object")
34306
- message.timestampMillis = new $util.LongBits(object.timestampMillis.low >>> 0, object.timestampMillis.high >>> 0).toNumber(true);
34307
- return message;
34308
- };
34309
-
34310
- /**
34311
- * Creates a plain object from an Auth0PasswordResetCompleted message. Also converts values to other types if specified.
34312
- * @function toObject
34313
- * @memberof Auth0PasswordResetCompleted
34314
- * @static
34315
- * @param {Auth0PasswordResetCompleted} message Auth0PasswordResetCompleted
34316
- * @param {$protobuf.IConversionOptions} [options] Conversion options
34317
- * @returns {Object.<string,*>} Plain object
34318
- */
34319
- Auth0PasswordResetCompleted.toObject = function toObject(message, options) {
34320
- if (!options)
34321
- options = {};
34322
- var object = {};
34323
- if (options.defaults) {
34324
- object.hsId = "";
34325
- object.email = "";
34326
- if ($util.Long) {
34327
- var long = new $util.Long(0, 0, true);
34328
- object.timestampMillis = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
34329
- } else
34330
- object.timestampMillis = options.longs === String ? "0" : 0;
34331
- }
34332
- if (message.hsId != null && message.hasOwnProperty("hsId"))
34333
- object.hsId = message.hsId;
34334
- if (message.email != null && message.hasOwnProperty("email"))
34335
- object.email = message.email;
34336
- if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
34337
- if (typeof message.timestampMillis === "number")
34338
- object.timestampMillis = options.longs === String ? String(message.timestampMillis) : message.timestampMillis;
34339
- else
34340
- 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;
34341
- return object;
34342
- };
34343
-
34344
- /**
34345
- * Converts this Auth0PasswordResetCompleted to JSON.
34346
- * @function toJSON
34347
- * @memberof Auth0PasswordResetCompleted
34348
- * @instance
34349
- * @returns {Object.<string,*>} JSON object
34350
- */
34351
- Auth0PasswordResetCompleted.prototype.toJSON = function toJSON() {
34352
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
34353
- };
34354
-
34355
- return Auth0PasswordResetCompleted;
34356
- })();
34357
-
34358
34112
  $root.ContentfulAssetCreated = (function() {
34359
34113
 
34360
34114
  /**
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.401.0"
19
+ "version": "1.402.0"
20
20
  }