@headspace/protos-events 1.404.0 → 1.406.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +3 -109
  2. package/lib/index.js +34 -268
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -180,7 +180,9 @@ export namespace auth0 {
180
180
  MICROSOFT_AZURE_SSO = 27,
181
181
  HOOTSUITE_OKTA_SSO = 28,
182
182
  MOONPAY_OKTA_SSO = 29,
183
- ROOT_INSURANCE_OKTA_SSO = 30
183
+ ROOT_INSURANCE_OKTA_SSO = 30,
184
+ HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO = 31,
185
+ HEADSPACE_E2E_NO_SEATS_OKTA_SSO = 32
184
186
  }
185
187
 
186
188
  /** ConnectionType enum. */
@@ -23181,114 +23183,6 @@ export class UserDomainLoggedIn implements IUserDomainLoggedIn {
23181
23183
  public toJSON(): { [k: string]: any };
23182
23184
  }
23183
23185
 
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
23186
  /** Properties of a UserPasswordResetCompleted. */
23293
23187
  export interface IUserPasswordResetCompleted {
23294
23188
 
package/lib/index.js CHANGED
@@ -390,6 +390,8 @@ $root.auth0 = (function() {
390
390
  * @property {number} HOOTSUITE_OKTA_SSO=28 HOOTSUITE_OKTA_SSO value
391
391
  * @property {number} MOONPAY_OKTA_SSO=29 MOONPAY_OKTA_SSO value
392
392
  * @property {number} ROOT_INSURANCE_OKTA_SSO=30 ROOT_INSURANCE_OKTA_SSO value
393
+ * @property {number} HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO=31 HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO value
394
+ * @property {number} HEADSPACE_E2E_NO_SEATS_OKTA_SSO=32 HEADSPACE_E2E_NO_SEATS_OKTA_SSO value
393
395
  */
394
396
  connections.Connection = (function() {
395
397
  var valuesById = {}, values = Object.create(valuesById);
@@ -423,6 +425,8 @@ $root.auth0 = (function() {
423
425
  values[valuesById[28] = "HOOTSUITE_OKTA_SSO"] = 28;
424
426
  values[valuesById[29] = "MOONPAY_OKTA_SSO"] = 29;
425
427
  values[valuesById[30] = "ROOT_INSURANCE_OKTA_SSO"] = 30;
428
+ values[valuesById[31] = "HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO"] = 31;
429
+ values[valuesById[32] = "HEADSPACE_E2E_NO_SEATS_OKTA_SSO"] = 32;
426
430
  return values;
427
431
  })();
428
432
 
@@ -32248,6 +32252,8 @@ $root.SuccessfulUserLogin = (function() {
32248
32252
  case 28:
32249
32253
  case 29:
32250
32254
  case 30:
32255
+ case 31:
32256
+ case 32:
32251
32257
  break;
32252
32258
  }
32253
32259
  return null;
@@ -32451,6 +32457,14 @@ $root.SuccessfulUserLogin = (function() {
32451
32457
  case 30:
32452
32458
  message.connection = 30;
32453
32459
  break;
32460
+ case "HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO":
32461
+ case 31:
32462
+ message.connection = 31;
32463
+ break;
32464
+ case "HEADSPACE_E2E_NO_SEATS_OKTA_SSO":
32465
+ case 32:
32466
+ message.connection = 32;
32467
+ break;
32454
32468
  }
32455
32469
  return message;
32456
32470
  };
@@ -32729,6 +32743,8 @@ $root.UnlinkedConnection = (function() {
32729
32743
  case 28:
32730
32744
  case 29:
32731
32745
  case 30:
32746
+ case 31:
32747
+ case 32:
32732
32748
  break;
32733
32749
  }
32734
32750
  if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
@@ -32885,6 +32901,14 @@ $root.UnlinkedConnection = (function() {
32885
32901
  case 30:
32886
32902
  message.connection = 30;
32887
32903
  break;
32904
+ case "HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO":
32905
+ case 31:
32906
+ message.connection = 31;
32907
+ break;
32908
+ case "HEADSPACE_E2E_NO_SEATS_OKTA_SSO":
32909
+ case 32:
32910
+ message.connection = 32;
32911
+ break;
32888
32912
  }
32889
32913
  if (object.unlinkedAt != null)
32890
32914
  if ($util.Long)
@@ -33223,6 +33247,8 @@ $root.ConnectionLinked = (function() {
33223
33247
  case 28:
33224
33248
  case 29:
33225
33249
  case 30:
33250
+ case 31:
33251
+ case 32:
33226
33252
  break;
33227
33253
  }
33228
33254
  if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
@@ -33385,6 +33411,14 @@ $root.ConnectionLinked = (function() {
33385
33411
  case 30:
33386
33412
  message.connection = 30;
33387
33413
  break;
33414
+ case "HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO":
33415
+ case 31:
33416
+ message.connection = 31;
33417
+ break;
33418
+ case "HEADSPACE_E2E_NO_SEATS_OKTA_SSO":
33419
+ case 32:
33420
+ message.connection = 32;
33421
+ break;
33388
33422
  }
33389
33423
  if (object.linkedAt != null)
33390
33424
  if ($util.Long)
@@ -63602,274 +63636,6 @@ $root.UserDomainLoggedIn = (function() {
63602
63636
  return UserDomainLoggedIn;
63603
63637
  })();
63604
63638
 
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
63639
  $root.UserPasswordResetCompleted = (function() {
63874
63640
 
63875
63641
  /**
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.406.0"
20
20
  }