@headspace/protos-events 1.166.0 → 1.168.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
@@ -4554,6 +4554,108 @@ export class UnlinkedConnection implements IUnlinkedConnection {
4554
4554
  public toJSON(): { [k: string]: any };
4555
4555
  }
4556
4556
 
4557
+ /** Properties of a BlockedUnverifiedEmail. */
4558
+ export interface IBlockedUnverifiedEmail {
4559
+
4560
+ /** BlockedUnverifiedEmail hsId */
4561
+ hsId?: (string|null);
4562
+
4563
+ /** BlockedUnverifiedEmail email */
4564
+ email?: (string|null);
4565
+
4566
+ /** BlockedUnverifiedEmail timestampMillis */
4567
+ timestampMillis?: (number|Long|null);
4568
+ }
4569
+
4570
+ /** Represents a BlockedUnverifiedEmail. */
4571
+ export class BlockedUnverifiedEmail implements IBlockedUnverifiedEmail {
4572
+
4573
+ /**
4574
+ * Constructs a new BlockedUnverifiedEmail.
4575
+ * @param [properties] Properties to set
4576
+ */
4577
+ constructor(properties?: IBlockedUnverifiedEmail);
4578
+
4579
+ /** BlockedUnverifiedEmail hsId. */
4580
+ public hsId: string;
4581
+
4582
+ /** BlockedUnverifiedEmail email. */
4583
+ public email: string;
4584
+
4585
+ /** BlockedUnverifiedEmail timestampMillis. */
4586
+ public timestampMillis: (number|Long);
4587
+
4588
+ /**
4589
+ * Creates a new BlockedUnverifiedEmail instance using the specified properties.
4590
+ * @param [properties] Properties to set
4591
+ * @returns BlockedUnverifiedEmail instance
4592
+ */
4593
+ public static create(properties?: IBlockedUnverifiedEmail): BlockedUnverifiedEmail;
4594
+
4595
+ /**
4596
+ * Encodes the specified BlockedUnverifiedEmail message. Does not implicitly {@link BlockedUnverifiedEmail.verify|verify} messages.
4597
+ * @param message BlockedUnverifiedEmail message or plain object to encode
4598
+ * @param [writer] Writer to encode to
4599
+ * @returns Writer
4600
+ */
4601
+ public static encode(message: IBlockedUnverifiedEmail, writer?: $protobuf.Writer): $protobuf.Writer;
4602
+
4603
+ /**
4604
+ * Encodes the specified BlockedUnverifiedEmail message, length delimited. Does not implicitly {@link BlockedUnverifiedEmail.verify|verify} messages.
4605
+ * @param message BlockedUnverifiedEmail message or plain object to encode
4606
+ * @param [writer] Writer to encode to
4607
+ * @returns Writer
4608
+ */
4609
+ public static encodeDelimited(message: IBlockedUnverifiedEmail, writer?: $protobuf.Writer): $protobuf.Writer;
4610
+
4611
+ /**
4612
+ * Decodes a BlockedUnverifiedEmail message from the specified reader or buffer.
4613
+ * @param reader Reader or buffer to decode from
4614
+ * @param [length] Message length if known beforehand
4615
+ * @returns BlockedUnverifiedEmail
4616
+ * @throws {Error} If the payload is not a reader or valid buffer
4617
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4618
+ */
4619
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BlockedUnverifiedEmail;
4620
+
4621
+ /**
4622
+ * Decodes a BlockedUnverifiedEmail message from the specified reader or buffer, length delimited.
4623
+ * @param reader Reader or buffer to decode from
4624
+ * @returns BlockedUnverifiedEmail
4625
+ * @throws {Error} If the payload is not a reader or valid buffer
4626
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4627
+ */
4628
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BlockedUnverifiedEmail;
4629
+
4630
+ /**
4631
+ * Verifies a BlockedUnverifiedEmail message.
4632
+ * @param message Plain object to verify
4633
+ * @returns `null` if valid, otherwise the reason why it is not
4634
+ */
4635
+ public static verify(message: { [k: string]: any }): (string|null);
4636
+
4637
+ /**
4638
+ * Creates a BlockedUnverifiedEmail message from a plain object. Also converts values to their respective internal types.
4639
+ * @param object Plain object
4640
+ * @returns BlockedUnverifiedEmail
4641
+ */
4642
+ public static fromObject(object: { [k: string]: any }): BlockedUnverifiedEmail;
4643
+
4644
+ /**
4645
+ * Creates a plain object from a BlockedUnverifiedEmail message. Also converts values to other types if specified.
4646
+ * @param message BlockedUnverifiedEmail
4647
+ * @param [options] Conversion options
4648
+ * @returns Plain object
4649
+ */
4650
+ public static toObject(message: BlockedUnverifiedEmail, options?: $protobuf.IConversionOptions): { [k: string]: any };
4651
+
4652
+ /**
4653
+ * Converts this BlockedUnverifiedEmail to JSON.
4654
+ * @returns JSON object
4655
+ */
4656
+ public toJSON(): { [k: string]: any };
4657
+ }
4658
+
4557
4659
  /** Properties of an Auth0PasswordResetCompleted. */
4558
4660
  export interface IAuth0PasswordResetCompleted {
4559
4661
 
@@ -21594,6 +21696,9 @@ export interface ISubscriptionStarted {
21594
21696
 
21595
21697
  /** SubscriptionStarted renewalCount */
21596
21698
  renewalCount?: (number|Long|null);
21699
+
21700
+ /** SubscriptionStarted id */
21701
+ id?: (number|null);
21597
21702
  }
21598
21703
 
21599
21704
  /** Represents a SubscriptionStarted. */
@@ -21641,6 +21746,9 @@ export class SubscriptionStarted implements ISubscriptionStarted {
21641
21746
  /** SubscriptionStarted renewalCount. */
21642
21747
  public renewalCount: (number|Long);
21643
21748
 
21749
+ /** SubscriptionStarted id. */
21750
+ public id: number;
21751
+
21644
21752
  /**
21645
21753
  * Creates a new SubscriptionStarted instance using the specified properties.
21646
21754
  * @param [properties] Properties to set
@@ -21753,6 +21861,9 @@ export interface ISubscriptionEnded {
21753
21861
 
21754
21862
  /** SubscriptionEnded renewalCount */
21755
21863
  renewalCount?: (number|Long|null);
21864
+
21865
+ /** SubscriptionEnded id */
21866
+ id?: (number|null);
21756
21867
  }
21757
21868
 
21758
21869
  /** Represents a SubscriptionEnded. */
@@ -21803,6 +21914,9 @@ export class SubscriptionEnded implements ISubscriptionEnded {
21803
21914
  /** SubscriptionEnded renewalCount. */
21804
21915
  public renewalCount: (number|Long);
21805
21916
 
21917
+ /** SubscriptionEnded id. */
21918
+ public id: number;
21919
+
21806
21920
  /**
21807
21921
  * Creates a new SubscriptionEnded instance using the specified properties.
21808
21922
  * @param [properties] Properties to set
@@ -21912,6 +22026,9 @@ export interface ISubscriptionRecovered {
21912
22026
 
21913
22027
  /** SubscriptionRecovered renewalCount */
21914
22028
  renewalCount?: (number|Long|null);
22029
+
22030
+ /** SubscriptionRecovered id */
22031
+ id?: (number|null);
21915
22032
  }
21916
22033
 
21917
22034
  /** Represents a SubscriptionRecovered. */
@@ -21959,6 +22076,9 @@ export class SubscriptionRecovered implements ISubscriptionRecovered {
21959
22076
  /** SubscriptionRecovered renewalCount. */
21960
22077
  public renewalCount: (number|Long);
21961
22078
 
22079
+ /** SubscriptionRecovered id. */
22080
+ public id: number;
22081
+
21962
22082
  /**
21963
22083
  * Creates a new SubscriptionRecovered instance using the specified properties.
21964
22084
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -10863,6 +10863,252 @@ $root.UnlinkedConnection = (function() {
10863
10863
  return UnlinkedConnection;
10864
10864
  })();
10865
10865
 
10866
+ $root.BlockedUnverifiedEmail = (function() {
10867
+
10868
+ /**
10869
+ * Properties of a BlockedUnverifiedEmail.
10870
+ * @exports IBlockedUnverifiedEmail
10871
+ * @interface IBlockedUnverifiedEmail
10872
+ * @property {string|null} [hsId] BlockedUnverifiedEmail hsId
10873
+ * @property {string|null} [email] BlockedUnverifiedEmail email
10874
+ * @property {number|Long|null} [timestampMillis] BlockedUnverifiedEmail timestampMillis
10875
+ */
10876
+
10877
+ /**
10878
+ * Constructs a new BlockedUnverifiedEmail.
10879
+ * @exports BlockedUnverifiedEmail
10880
+ * @classdesc Represents a BlockedUnverifiedEmail.
10881
+ * @implements IBlockedUnverifiedEmail
10882
+ * @constructor
10883
+ * @param {IBlockedUnverifiedEmail=} [properties] Properties to set
10884
+ */
10885
+ function BlockedUnverifiedEmail(properties) {
10886
+ if (properties)
10887
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
10888
+ if (properties[keys[i]] != null)
10889
+ this[keys[i]] = properties[keys[i]];
10890
+ }
10891
+
10892
+ /**
10893
+ * BlockedUnverifiedEmail hsId.
10894
+ * @member {string} hsId
10895
+ * @memberof BlockedUnverifiedEmail
10896
+ * @instance
10897
+ */
10898
+ BlockedUnverifiedEmail.prototype.hsId = "";
10899
+
10900
+ /**
10901
+ * BlockedUnverifiedEmail email.
10902
+ * @member {string} email
10903
+ * @memberof BlockedUnverifiedEmail
10904
+ * @instance
10905
+ */
10906
+ BlockedUnverifiedEmail.prototype.email = "";
10907
+
10908
+ /**
10909
+ * BlockedUnverifiedEmail timestampMillis.
10910
+ * @member {number|Long} timestampMillis
10911
+ * @memberof BlockedUnverifiedEmail
10912
+ * @instance
10913
+ */
10914
+ BlockedUnverifiedEmail.prototype.timestampMillis = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
10915
+
10916
+ /**
10917
+ * Creates a new BlockedUnverifiedEmail instance using the specified properties.
10918
+ * @function create
10919
+ * @memberof BlockedUnverifiedEmail
10920
+ * @static
10921
+ * @param {IBlockedUnverifiedEmail=} [properties] Properties to set
10922
+ * @returns {BlockedUnverifiedEmail} BlockedUnverifiedEmail instance
10923
+ */
10924
+ BlockedUnverifiedEmail.create = function create(properties) {
10925
+ return new BlockedUnverifiedEmail(properties);
10926
+ };
10927
+
10928
+ /**
10929
+ * Encodes the specified BlockedUnverifiedEmail message. Does not implicitly {@link BlockedUnverifiedEmail.verify|verify} messages.
10930
+ * @function encode
10931
+ * @memberof BlockedUnverifiedEmail
10932
+ * @static
10933
+ * @param {IBlockedUnverifiedEmail} message BlockedUnverifiedEmail message or plain object to encode
10934
+ * @param {$protobuf.Writer} [writer] Writer to encode to
10935
+ * @returns {$protobuf.Writer} Writer
10936
+ */
10937
+ BlockedUnverifiedEmail.encode = function encode(message, writer) {
10938
+ if (!writer)
10939
+ writer = $Writer.create();
10940
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
10941
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
10942
+ if (message.email != null && message.hasOwnProperty("email"))
10943
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.email);
10944
+ if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
10945
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestampMillis);
10946
+ return writer;
10947
+ };
10948
+
10949
+ /**
10950
+ * Encodes the specified BlockedUnverifiedEmail message, length delimited. Does not implicitly {@link BlockedUnverifiedEmail.verify|verify} messages.
10951
+ * @function encodeDelimited
10952
+ * @memberof BlockedUnverifiedEmail
10953
+ * @static
10954
+ * @param {IBlockedUnverifiedEmail} message BlockedUnverifiedEmail message or plain object to encode
10955
+ * @param {$protobuf.Writer} [writer] Writer to encode to
10956
+ * @returns {$protobuf.Writer} Writer
10957
+ */
10958
+ BlockedUnverifiedEmail.encodeDelimited = function encodeDelimited(message, writer) {
10959
+ return this.encode(message, writer).ldelim();
10960
+ };
10961
+
10962
+ /**
10963
+ * Decodes a BlockedUnverifiedEmail message from the specified reader or buffer.
10964
+ * @function decode
10965
+ * @memberof BlockedUnverifiedEmail
10966
+ * @static
10967
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
10968
+ * @param {number} [length] Message length if known beforehand
10969
+ * @returns {BlockedUnverifiedEmail} BlockedUnverifiedEmail
10970
+ * @throws {Error} If the payload is not a reader or valid buffer
10971
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10972
+ */
10973
+ BlockedUnverifiedEmail.decode = function decode(reader, length) {
10974
+ if (!(reader instanceof $Reader))
10975
+ reader = $Reader.create(reader);
10976
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.BlockedUnverifiedEmail();
10977
+ while (reader.pos < end) {
10978
+ var tag = reader.uint32();
10979
+ switch (tag >>> 3) {
10980
+ case 1:
10981
+ message.hsId = reader.string();
10982
+ break;
10983
+ case 2:
10984
+ message.email = reader.string();
10985
+ break;
10986
+ case 3:
10987
+ message.timestampMillis = reader.uint64();
10988
+ break;
10989
+ default:
10990
+ reader.skipType(tag & 7);
10991
+ break;
10992
+ }
10993
+ }
10994
+ return message;
10995
+ };
10996
+
10997
+ /**
10998
+ * Decodes a BlockedUnverifiedEmail message from the specified reader or buffer, length delimited.
10999
+ * @function decodeDelimited
11000
+ * @memberof BlockedUnverifiedEmail
11001
+ * @static
11002
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
11003
+ * @returns {BlockedUnverifiedEmail} BlockedUnverifiedEmail
11004
+ * @throws {Error} If the payload is not a reader or valid buffer
11005
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11006
+ */
11007
+ BlockedUnverifiedEmail.decodeDelimited = function decodeDelimited(reader) {
11008
+ if (!(reader instanceof $Reader))
11009
+ reader = new $Reader(reader);
11010
+ return this.decode(reader, reader.uint32());
11011
+ };
11012
+
11013
+ /**
11014
+ * Verifies a BlockedUnverifiedEmail message.
11015
+ * @function verify
11016
+ * @memberof BlockedUnverifiedEmail
11017
+ * @static
11018
+ * @param {Object.<string,*>} message Plain object to verify
11019
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
11020
+ */
11021
+ BlockedUnverifiedEmail.verify = function verify(message) {
11022
+ if (typeof message !== "object" || message === null)
11023
+ return "object expected";
11024
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
11025
+ if (!$util.isString(message.hsId))
11026
+ return "hsId: string expected";
11027
+ if (message.email != null && message.hasOwnProperty("email"))
11028
+ if (!$util.isString(message.email))
11029
+ return "email: string expected";
11030
+ if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
11031
+ if (!$util.isInteger(message.timestampMillis) && !(message.timestampMillis && $util.isInteger(message.timestampMillis.low) && $util.isInteger(message.timestampMillis.high)))
11032
+ return "timestampMillis: integer|Long expected";
11033
+ return null;
11034
+ };
11035
+
11036
+ /**
11037
+ * Creates a BlockedUnverifiedEmail message from a plain object. Also converts values to their respective internal types.
11038
+ * @function fromObject
11039
+ * @memberof BlockedUnverifiedEmail
11040
+ * @static
11041
+ * @param {Object.<string,*>} object Plain object
11042
+ * @returns {BlockedUnverifiedEmail} BlockedUnverifiedEmail
11043
+ */
11044
+ BlockedUnverifiedEmail.fromObject = function fromObject(object) {
11045
+ if (object instanceof $root.BlockedUnverifiedEmail)
11046
+ return object;
11047
+ var message = new $root.BlockedUnverifiedEmail();
11048
+ if (object.hsId != null)
11049
+ message.hsId = String(object.hsId);
11050
+ if (object.email != null)
11051
+ message.email = String(object.email);
11052
+ if (object.timestampMillis != null)
11053
+ if ($util.Long)
11054
+ (message.timestampMillis = $util.Long.fromValue(object.timestampMillis)).unsigned = true;
11055
+ else if (typeof object.timestampMillis === "string")
11056
+ message.timestampMillis = parseInt(object.timestampMillis, 10);
11057
+ else if (typeof object.timestampMillis === "number")
11058
+ message.timestampMillis = object.timestampMillis;
11059
+ else if (typeof object.timestampMillis === "object")
11060
+ message.timestampMillis = new $util.LongBits(object.timestampMillis.low >>> 0, object.timestampMillis.high >>> 0).toNumber(true);
11061
+ return message;
11062
+ };
11063
+
11064
+ /**
11065
+ * Creates a plain object from a BlockedUnverifiedEmail message. Also converts values to other types if specified.
11066
+ * @function toObject
11067
+ * @memberof BlockedUnverifiedEmail
11068
+ * @static
11069
+ * @param {BlockedUnverifiedEmail} message BlockedUnverifiedEmail
11070
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
11071
+ * @returns {Object.<string,*>} Plain object
11072
+ */
11073
+ BlockedUnverifiedEmail.toObject = function toObject(message, options) {
11074
+ if (!options)
11075
+ options = {};
11076
+ var object = {};
11077
+ if (options.defaults) {
11078
+ object.hsId = "";
11079
+ object.email = "";
11080
+ if ($util.Long) {
11081
+ var long = new $util.Long(0, 0, true);
11082
+ object.timestampMillis = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
11083
+ } else
11084
+ object.timestampMillis = options.longs === String ? "0" : 0;
11085
+ }
11086
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
11087
+ object.hsId = message.hsId;
11088
+ if (message.email != null && message.hasOwnProperty("email"))
11089
+ object.email = message.email;
11090
+ if (message.timestampMillis != null && message.hasOwnProperty("timestampMillis"))
11091
+ if (typeof message.timestampMillis === "number")
11092
+ object.timestampMillis = options.longs === String ? String(message.timestampMillis) : message.timestampMillis;
11093
+ else
11094
+ 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;
11095
+ return object;
11096
+ };
11097
+
11098
+ /**
11099
+ * Converts this BlockedUnverifiedEmail to JSON.
11100
+ * @function toJSON
11101
+ * @memberof BlockedUnverifiedEmail
11102
+ * @instance
11103
+ * @returns {Object.<string,*>} JSON object
11104
+ */
11105
+ BlockedUnverifiedEmail.prototype.toJSON = function toJSON() {
11106
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
11107
+ };
11108
+
11109
+ return BlockedUnverifiedEmail;
11110
+ })();
11111
+
10866
11112
  $root.Auth0PasswordResetCompleted = (function() {
10867
11113
 
10868
11114
  /**
@@ -60061,6 +60307,7 @@ $root.SubscriptionStarted = (function() {
60061
60307
  * @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionStarted subscriptionState
60062
60308
  * @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionStarted labels
60063
60309
  * @property {number|Long|null} [renewalCount] SubscriptionStarted renewalCount
60310
+ * @property {number|null} [id] SubscriptionStarted id
60064
60311
  */
60065
60312
 
60066
60313
  /**
@@ -60175,6 +60422,14 @@ $root.SubscriptionStarted = (function() {
60175
60422
  */
60176
60423
  SubscriptionStarted.prototype.renewalCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
60177
60424
 
60425
+ /**
60426
+ * SubscriptionStarted id.
60427
+ * @member {number} id
60428
+ * @memberof SubscriptionStarted
60429
+ * @instance
60430
+ */
60431
+ SubscriptionStarted.prototype.id = 0;
60432
+
60178
60433
  /**
60179
60434
  * Creates a new SubscriptionStarted instance using the specified properties.
60180
60435
  * @function create
@@ -60227,6 +60482,8 @@ $root.SubscriptionStarted = (function() {
60227
60482
  }
60228
60483
  if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
60229
60484
  writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.renewalCount);
60485
+ if (message.id != null && message.hasOwnProperty("id"))
60486
+ writer.uint32(/* id 14, wireType 0 =*/112).uint32(message.id);
60230
60487
  return writer;
60231
60488
  };
60232
60489
 
@@ -60304,6 +60561,9 @@ $root.SubscriptionStarted = (function() {
60304
60561
  case 13:
60305
60562
  message.renewalCount = reader.uint64();
60306
60563
  break;
60564
+ case 14:
60565
+ message.id = reader.uint32();
60566
+ break;
60307
60567
  default:
60308
60568
  reader.skipType(tag & 7);
60309
60569
  break;
@@ -60410,6 +60670,9 @@ $root.SubscriptionStarted = (function() {
60410
60670
  if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
60411
60671
  if (!$util.isInteger(message.renewalCount) && !(message.renewalCount && $util.isInteger(message.renewalCount.low) && $util.isInteger(message.renewalCount.high)))
60412
60672
  return "renewalCount: integer|Long expected";
60673
+ if (message.id != null && message.hasOwnProperty("id"))
60674
+ if (!$util.isInteger(message.id))
60675
+ return "id: integer expected";
60413
60676
  return null;
60414
60677
  };
60415
60678
 
@@ -60562,6 +60825,8 @@ $root.SubscriptionStarted = (function() {
60562
60825
  message.renewalCount = object.renewalCount;
60563
60826
  else if (typeof object.renewalCount === "object")
60564
60827
  message.renewalCount = new $util.LongBits(object.renewalCount.low >>> 0, object.renewalCount.high >>> 0).toNumber(true);
60828
+ if (object.id != null)
60829
+ message.id = object.id >>> 0;
60565
60830
  return message;
60566
60831
  };
60567
60832
 
@@ -60612,6 +60877,7 @@ $root.SubscriptionStarted = (function() {
60612
60877
  object.renewalCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
60613
60878
  } else
60614
60879
  object.renewalCount = options.longs === String ? "0" : 0;
60880
+ object.id = 0;
60615
60881
  }
60616
60882
  if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
60617
60883
  if (typeof message.updatedOn === "number")
@@ -60655,6 +60921,8 @@ $root.SubscriptionStarted = (function() {
60655
60921
  object.renewalCount = options.longs === String ? String(message.renewalCount) : message.renewalCount;
60656
60922
  else
60657
60923
  object.renewalCount = options.longs === String ? $util.Long.prototype.toString.call(message.renewalCount) : options.longs === Number ? new $util.LongBits(message.renewalCount.low >>> 0, message.renewalCount.high >>> 0).toNumber(true) : message.renewalCount;
60924
+ if (message.id != null && message.hasOwnProperty("id"))
60925
+ object.id = message.id;
60658
60926
  return object;
60659
60927
  };
60660
60928
 
@@ -60691,6 +60959,7 @@ $root.SubscriptionEnded = (function() {
60691
60959
  * @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionEnded subscriptionState
60692
60960
  * @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionEnded labels
60693
60961
  * @property {number|Long|null} [renewalCount] SubscriptionEnded renewalCount
60962
+ * @property {number|null} [id] SubscriptionEnded id
60694
60963
  */
60695
60964
 
60696
60965
  /**
@@ -60813,6 +61082,14 @@ $root.SubscriptionEnded = (function() {
60813
61082
  */
60814
61083
  SubscriptionEnded.prototype.renewalCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
60815
61084
 
61085
+ /**
61086
+ * SubscriptionEnded id.
61087
+ * @member {number} id
61088
+ * @memberof SubscriptionEnded
61089
+ * @instance
61090
+ */
61091
+ SubscriptionEnded.prototype.id = 0;
61092
+
60816
61093
  /**
60817
61094
  * Creates a new SubscriptionEnded instance using the specified properties.
60818
61095
  * @function create
@@ -60867,6 +61144,8 @@ $root.SubscriptionEnded = (function() {
60867
61144
  }
60868
61145
  if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
60869
61146
  writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.renewalCount);
61147
+ if (message.id != null && message.hasOwnProperty("id"))
61148
+ writer.uint32(/* id 15, wireType 0 =*/120).uint32(message.id);
60870
61149
  return writer;
60871
61150
  };
60872
61151
 
@@ -60947,6 +61226,9 @@ $root.SubscriptionEnded = (function() {
60947
61226
  case 14:
60948
61227
  message.renewalCount = reader.uint64();
60949
61228
  break;
61229
+ case 15:
61230
+ message.id = reader.uint32();
61231
+ break;
60950
61232
  default:
60951
61233
  reader.skipType(tag & 7);
60952
61234
  break;
@@ -61062,6 +61344,9 @@ $root.SubscriptionEnded = (function() {
61062
61344
  if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
61063
61345
  if (!$util.isInteger(message.renewalCount) && !(message.renewalCount && $util.isInteger(message.renewalCount.low) && $util.isInteger(message.renewalCount.high)))
61064
61346
  return "renewalCount: integer|Long expected";
61347
+ if (message.id != null && message.hasOwnProperty("id"))
61348
+ if (!$util.isInteger(message.id))
61349
+ return "id: integer expected";
61065
61350
  return null;
61066
61351
  };
61067
61352
 
@@ -61228,6 +61513,8 @@ $root.SubscriptionEnded = (function() {
61228
61513
  message.renewalCount = object.renewalCount;
61229
61514
  else if (typeof object.renewalCount === "object")
61230
61515
  message.renewalCount = new $util.LongBits(object.renewalCount.low >>> 0, object.renewalCount.high >>> 0).toNumber(true);
61516
+ if (object.id != null)
61517
+ message.id = object.id >>> 0;
61231
61518
  return message;
61232
61519
  };
61233
61520
 
@@ -61279,6 +61566,7 @@ $root.SubscriptionEnded = (function() {
61279
61566
  object.renewalCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
61280
61567
  } else
61281
61568
  object.renewalCount = options.longs === String ? "0" : 0;
61569
+ object.id = 0;
61282
61570
  }
61283
61571
  if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
61284
61572
  if (typeof message.updatedOn === "number")
@@ -61324,6 +61612,8 @@ $root.SubscriptionEnded = (function() {
61324
61612
  object.renewalCount = options.longs === String ? String(message.renewalCount) : message.renewalCount;
61325
61613
  else
61326
61614
  object.renewalCount = options.longs === String ? $util.Long.prototype.toString.call(message.renewalCount) : options.longs === Number ? new $util.LongBits(message.renewalCount.low >>> 0, message.renewalCount.high >>> 0).toNumber(true) : message.renewalCount;
61615
+ if (message.id != null && message.hasOwnProperty("id"))
61616
+ object.id = message.id;
61327
61617
  return object;
61328
61618
  };
61329
61619
 
@@ -61359,6 +61649,7 @@ $root.SubscriptionRecovered = (function() {
61359
61649
  * @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionRecovered subscriptionState
61360
61650
  * @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionRecovered labels
61361
61651
  * @property {number|Long|null} [renewalCount] SubscriptionRecovered renewalCount
61652
+ * @property {number|null} [id] SubscriptionRecovered id
61362
61653
  */
61363
61654
 
61364
61655
  /**
@@ -61473,6 +61764,14 @@ $root.SubscriptionRecovered = (function() {
61473
61764
  */
61474
61765
  SubscriptionRecovered.prototype.renewalCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
61475
61766
 
61767
+ /**
61768
+ * SubscriptionRecovered id.
61769
+ * @member {number} id
61770
+ * @memberof SubscriptionRecovered
61771
+ * @instance
61772
+ */
61773
+ SubscriptionRecovered.prototype.id = 0;
61774
+
61476
61775
  /**
61477
61776
  * Creates a new SubscriptionRecovered instance using the specified properties.
61478
61777
  * @function create
@@ -61525,6 +61824,8 @@ $root.SubscriptionRecovered = (function() {
61525
61824
  }
61526
61825
  if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
61527
61826
  writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.renewalCount);
61827
+ if (message.id != null && message.hasOwnProperty("id"))
61828
+ writer.uint32(/* id 14, wireType 0 =*/112).uint32(message.id);
61528
61829
  return writer;
61529
61830
  };
61530
61831
 
@@ -61602,6 +61903,9 @@ $root.SubscriptionRecovered = (function() {
61602
61903
  case 13:
61603
61904
  message.renewalCount = reader.uint64();
61604
61905
  break;
61906
+ case 14:
61907
+ message.id = reader.uint32();
61908
+ break;
61605
61909
  default:
61606
61910
  reader.skipType(tag & 7);
61607
61911
  break;
@@ -61708,6 +62012,9 @@ $root.SubscriptionRecovered = (function() {
61708
62012
  if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
61709
62013
  if (!$util.isInteger(message.renewalCount) && !(message.renewalCount && $util.isInteger(message.renewalCount.low) && $util.isInteger(message.renewalCount.high)))
61710
62014
  return "renewalCount: integer|Long expected";
62015
+ if (message.id != null && message.hasOwnProperty("id"))
62016
+ if (!$util.isInteger(message.id))
62017
+ return "id: integer expected";
61711
62018
  return null;
61712
62019
  };
61713
62020
 
@@ -61860,6 +62167,8 @@ $root.SubscriptionRecovered = (function() {
61860
62167
  message.renewalCount = object.renewalCount;
61861
62168
  else if (typeof object.renewalCount === "object")
61862
62169
  message.renewalCount = new $util.LongBits(object.renewalCount.low >>> 0, object.renewalCount.high >>> 0).toNumber(true);
62170
+ if (object.id != null)
62171
+ message.id = object.id >>> 0;
61863
62172
  return message;
61864
62173
  };
61865
62174
 
@@ -61910,6 +62219,7 @@ $root.SubscriptionRecovered = (function() {
61910
62219
  object.renewalCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
61911
62220
  } else
61912
62221
  object.renewalCount = options.longs === String ? "0" : 0;
62222
+ object.id = 0;
61913
62223
  }
61914
62224
  if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
61915
62225
  if (typeof message.updatedOn === "number")
@@ -61953,6 +62263,8 @@ $root.SubscriptionRecovered = (function() {
61953
62263
  object.renewalCount = options.longs === String ? String(message.renewalCount) : message.renewalCount;
61954
62264
  else
61955
62265
  object.renewalCount = options.longs === String ? $util.Long.prototype.toString.call(message.renewalCount) : options.longs === Number ? new $util.LongBits(message.renewalCount.low >>> 0, message.renewalCount.high >>> 0).toNumber(true) : message.renewalCount;
62266
+ if (message.id != null && message.hasOwnProperty("id"))
62267
+ object.id = message.id;
61956
62268
  return object;
61957
62269
  };
61958
62270
 
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.166.0"
19
+ "version": "1.168.0"
20
20
  }