@headspace/protos-events 1.167.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
@@ -21696,6 +21696,9 @@ export interface ISubscriptionStarted {
21696
21696
 
21697
21697
  /** SubscriptionStarted renewalCount */
21698
21698
  renewalCount?: (number|Long|null);
21699
+
21700
+ /** SubscriptionStarted id */
21701
+ id?: (number|null);
21699
21702
  }
21700
21703
 
21701
21704
  /** Represents a SubscriptionStarted. */
@@ -21743,6 +21746,9 @@ export class SubscriptionStarted implements ISubscriptionStarted {
21743
21746
  /** SubscriptionStarted renewalCount. */
21744
21747
  public renewalCount: (number|Long);
21745
21748
 
21749
+ /** SubscriptionStarted id. */
21750
+ public id: number;
21751
+
21746
21752
  /**
21747
21753
  * Creates a new SubscriptionStarted instance using the specified properties.
21748
21754
  * @param [properties] Properties to set
@@ -21855,6 +21861,9 @@ export interface ISubscriptionEnded {
21855
21861
 
21856
21862
  /** SubscriptionEnded renewalCount */
21857
21863
  renewalCount?: (number|Long|null);
21864
+
21865
+ /** SubscriptionEnded id */
21866
+ id?: (number|null);
21858
21867
  }
21859
21868
 
21860
21869
  /** Represents a SubscriptionEnded. */
@@ -21905,6 +21914,9 @@ export class SubscriptionEnded implements ISubscriptionEnded {
21905
21914
  /** SubscriptionEnded renewalCount. */
21906
21915
  public renewalCount: (number|Long);
21907
21916
 
21917
+ /** SubscriptionEnded id. */
21918
+ public id: number;
21919
+
21908
21920
  /**
21909
21921
  * Creates a new SubscriptionEnded instance using the specified properties.
21910
21922
  * @param [properties] Properties to set
@@ -22014,6 +22026,9 @@ export interface ISubscriptionRecovered {
22014
22026
 
22015
22027
  /** SubscriptionRecovered renewalCount */
22016
22028
  renewalCount?: (number|Long|null);
22029
+
22030
+ /** SubscriptionRecovered id */
22031
+ id?: (number|null);
22017
22032
  }
22018
22033
 
22019
22034
  /** Represents a SubscriptionRecovered. */
@@ -22061,6 +22076,9 @@ export class SubscriptionRecovered implements ISubscriptionRecovered {
22061
22076
  /** SubscriptionRecovered renewalCount. */
22062
22077
  public renewalCount: (number|Long);
22063
22078
 
22079
+ /** SubscriptionRecovered id. */
22080
+ public id: number;
22081
+
22064
22082
  /**
22065
22083
  * Creates a new SubscriptionRecovered instance using the specified properties.
22066
22084
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -60307,6 +60307,7 @@ $root.SubscriptionStarted = (function() {
60307
60307
  * @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionStarted subscriptionState
60308
60308
  * @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionStarted labels
60309
60309
  * @property {number|Long|null} [renewalCount] SubscriptionStarted renewalCount
60310
+ * @property {number|null} [id] SubscriptionStarted id
60310
60311
  */
60311
60312
 
60312
60313
  /**
@@ -60421,6 +60422,14 @@ $root.SubscriptionStarted = (function() {
60421
60422
  */
60422
60423
  SubscriptionStarted.prototype.renewalCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
60423
60424
 
60425
+ /**
60426
+ * SubscriptionStarted id.
60427
+ * @member {number} id
60428
+ * @memberof SubscriptionStarted
60429
+ * @instance
60430
+ */
60431
+ SubscriptionStarted.prototype.id = 0;
60432
+
60424
60433
  /**
60425
60434
  * Creates a new SubscriptionStarted instance using the specified properties.
60426
60435
  * @function create
@@ -60473,6 +60482,8 @@ $root.SubscriptionStarted = (function() {
60473
60482
  }
60474
60483
  if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
60475
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);
60476
60487
  return writer;
60477
60488
  };
60478
60489
 
@@ -60550,6 +60561,9 @@ $root.SubscriptionStarted = (function() {
60550
60561
  case 13:
60551
60562
  message.renewalCount = reader.uint64();
60552
60563
  break;
60564
+ case 14:
60565
+ message.id = reader.uint32();
60566
+ break;
60553
60567
  default:
60554
60568
  reader.skipType(tag & 7);
60555
60569
  break;
@@ -60656,6 +60670,9 @@ $root.SubscriptionStarted = (function() {
60656
60670
  if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
60657
60671
  if (!$util.isInteger(message.renewalCount) && !(message.renewalCount && $util.isInteger(message.renewalCount.low) && $util.isInteger(message.renewalCount.high)))
60658
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";
60659
60676
  return null;
60660
60677
  };
60661
60678
 
@@ -60808,6 +60825,8 @@ $root.SubscriptionStarted = (function() {
60808
60825
  message.renewalCount = object.renewalCount;
60809
60826
  else if (typeof object.renewalCount === "object")
60810
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;
60811
60830
  return message;
60812
60831
  };
60813
60832
 
@@ -60858,6 +60877,7 @@ $root.SubscriptionStarted = (function() {
60858
60877
  object.renewalCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
60859
60878
  } else
60860
60879
  object.renewalCount = options.longs === String ? "0" : 0;
60880
+ object.id = 0;
60861
60881
  }
60862
60882
  if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
60863
60883
  if (typeof message.updatedOn === "number")
@@ -60901,6 +60921,8 @@ $root.SubscriptionStarted = (function() {
60901
60921
  object.renewalCount = options.longs === String ? String(message.renewalCount) : message.renewalCount;
60902
60922
  else
60903
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;
60904
60926
  return object;
60905
60927
  };
60906
60928
 
@@ -60937,6 +60959,7 @@ $root.SubscriptionEnded = (function() {
60937
60959
  * @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionEnded subscriptionState
60938
60960
  * @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionEnded labels
60939
60961
  * @property {number|Long|null} [renewalCount] SubscriptionEnded renewalCount
60962
+ * @property {number|null} [id] SubscriptionEnded id
60940
60963
  */
60941
60964
 
60942
60965
  /**
@@ -61059,6 +61082,14 @@ $root.SubscriptionEnded = (function() {
61059
61082
  */
61060
61083
  SubscriptionEnded.prototype.renewalCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
61061
61084
 
61085
+ /**
61086
+ * SubscriptionEnded id.
61087
+ * @member {number} id
61088
+ * @memberof SubscriptionEnded
61089
+ * @instance
61090
+ */
61091
+ SubscriptionEnded.prototype.id = 0;
61092
+
61062
61093
  /**
61063
61094
  * Creates a new SubscriptionEnded instance using the specified properties.
61064
61095
  * @function create
@@ -61113,6 +61144,8 @@ $root.SubscriptionEnded = (function() {
61113
61144
  }
61114
61145
  if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
61115
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);
61116
61149
  return writer;
61117
61150
  };
61118
61151
 
@@ -61193,6 +61226,9 @@ $root.SubscriptionEnded = (function() {
61193
61226
  case 14:
61194
61227
  message.renewalCount = reader.uint64();
61195
61228
  break;
61229
+ case 15:
61230
+ message.id = reader.uint32();
61231
+ break;
61196
61232
  default:
61197
61233
  reader.skipType(tag & 7);
61198
61234
  break;
@@ -61308,6 +61344,9 @@ $root.SubscriptionEnded = (function() {
61308
61344
  if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
61309
61345
  if (!$util.isInteger(message.renewalCount) && !(message.renewalCount && $util.isInteger(message.renewalCount.low) && $util.isInteger(message.renewalCount.high)))
61310
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";
61311
61350
  return null;
61312
61351
  };
61313
61352
 
@@ -61474,6 +61513,8 @@ $root.SubscriptionEnded = (function() {
61474
61513
  message.renewalCount = object.renewalCount;
61475
61514
  else if (typeof object.renewalCount === "object")
61476
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;
61477
61518
  return message;
61478
61519
  };
61479
61520
 
@@ -61525,6 +61566,7 @@ $root.SubscriptionEnded = (function() {
61525
61566
  object.renewalCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
61526
61567
  } else
61527
61568
  object.renewalCount = options.longs === String ? "0" : 0;
61569
+ object.id = 0;
61528
61570
  }
61529
61571
  if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
61530
61572
  if (typeof message.updatedOn === "number")
@@ -61570,6 +61612,8 @@ $root.SubscriptionEnded = (function() {
61570
61612
  object.renewalCount = options.longs === String ? String(message.renewalCount) : message.renewalCount;
61571
61613
  else
61572
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;
61573
61617
  return object;
61574
61618
  };
61575
61619
 
@@ -61605,6 +61649,7 @@ $root.SubscriptionRecovered = (function() {
61605
61649
  * @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionRecovered subscriptionState
61606
61650
  * @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionRecovered labels
61607
61651
  * @property {number|Long|null} [renewalCount] SubscriptionRecovered renewalCount
61652
+ * @property {number|null} [id] SubscriptionRecovered id
61608
61653
  */
61609
61654
 
61610
61655
  /**
@@ -61719,6 +61764,14 @@ $root.SubscriptionRecovered = (function() {
61719
61764
  */
61720
61765
  SubscriptionRecovered.prototype.renewalCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
61721
61766
 
61767
+ /**
61768
+ * SubscriptionRecovered id.
61769
+ * @member {number} id
61770
+ * @memberof SubscriptionRecovered
61771
+ * @instance
61772
+ */
61773
+ SubscriptionRecovered.prototype.id = 0;
61774
+
61722
61775
  /**
61723
61776
  * Creates a new SubscriptionRecovered instance using the specified properties.
61724
61777
  * @function create
@@ -61771,6 +61824,8 @@ $root.SubscriptionRecovered = (function() {
61771
61824
  }
61772
61825
  if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
61773
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);
61774
61829
  return writer;
61775
61830
  };
61776
61831
 
@@ -61848,6 +61903,9 @@ $root.SubscriptionRecovered = (function() {
61848
61903
  case 13:
61849
61904
  message.renewalCount = reader.uint64();
61850
61905
  break;
61906
+ case 14:
61907
+ message.id = reader.uint32();
61908
+ break;
61851
61909
  default:
61852
61910
  reader.skipType(tag & 7);
61853
61911
  break;
@@ -61954,6 +62012,9 @@ $root.SubscriptionRecovered = (function() {
61954
62012
  if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
61955
62013
  if (!$util.isInteger(message.renewalCount) && !(message.renewalCount && $util.isInteger(message.renewalCount.low) && $util.isInteger(message.renewalCount.high)))
61956
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";
61957
62018
  return null;
61958
62019
  };
61959
62020
 
@@ -62106,6 +62167,8 @@ $root.SubscriptionRecovered = (function() {
62106
62167
  message.renewalCount = object.renewalCount;
62107
62168
  else if (typeof object.renewalCount === "object")
62108
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;
62109
62172
  return message;
62110
62173
  };
62111
62174
 
@@ -62156,6 +62219,7 @@ $root.SubscriptionRecovered = (function() {
62156
62219
  object.renewalCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
62157
62220
  } else
62158
62221
  object.renewalCount = options.longs === String ? "0" : 0;
62222
+ object.id = 0;
62159
62223
  }
62160
62224
  if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
62161
62225
  if (typeof message.updatedOn === "number")
@@ -62199,6 +62263,8 @@ $root.SubscriptionRecovered = (function() {
62199
62263
  object.renewalCount = options.longs === String ? String(message.renewalCount) : message.renewalCount;
62200
62264
  else
62201
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;
62202
62268
  return object;
62203
62269
  };
62204
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.167.0"
19
+ "version": "1.168.0"
20
20
  }