@headspace/protos-events 1.540.0 → 1.541.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
@@ -46699,6 +46699,9 @@ export interface ISubscriptionPaymentProcessed {
46699
46699
 
46700
46700
  /** SubscriptionPaymentProcessed currency */
46701
46701
  currency?: (string|null);
46702
+
46703
+ /** SubscriptionPaymentProcessed subscriptionId */
46704
+ subscriptionId?: (number|null);
46702
46705
  }
46703
46706
 
46704
46707
  /** Represents a SubscriptionPaymentProcessed. */
@@ -46728,6 +46731,9 @@ export class SubscriptionPaymentProcessed implements ISubscriptionPaymentProcess
46728
46731
  /** SubscriptionPaymentProcessed currency. */
46729
46732
  public currency: string;
46730
46733
 
46734
+ /** SubscriptionPaymentProcessed subscriptionId. */
46735
+ public subscriptionId: number;
46736
+
46731
46737
  /**
46732
46738
  * Creates a new SubscriptionPaymentProcessed instance using the specified properties.
46733
46739
  * @param [properties] Properties to set
@@ -46813,6 +46819,9 @@ export interface ISubscriptionPaymentDeclined {
46813
46819
 
46814
46820
  /** SubscriptionPaymentDeclined attempt */
46815
46821
  attempt?: (number|null);
46822
+
46823
+ /** SubscriptionPaymentDeclined subscriptionId */
46824
+ subscriptionId?: (number|null);
46816
46825
  }
46817
46826
 
46818
46827
  /** Represents a SubscriptionPaymentDeclined. */
@@ -46836,6 +46845,9 @@ export class SubscriptionPaymentDeclined implements ISubscriptionPaymentDeclined
46836
46845
  /** SubscriptionPaymentDeclined attempt. */
46837
46846
  public attempt: number;
46838
46847
 
46848
+ /** SubscriptionPaymentDeclined subscriptionId. */
46849
+ public subscriptionId: number;
46850
+
46839
46851
  /**
46840
46852
  * Creates a new SubscriptionPaymentDeclined instance using the specified properties.
46841
46853
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -132245,6 +132245,7 @@ $root.SubscriptionPaymentProcessed = (function() {
132245
132245
  * @property {number|null} [paymentAmount] SubscriptionPaymentProcessed paymentAmount
132246
132246
  * @property {number|null} [renewalAmount] SubscriptionPaymentProcessed renewalAmount
132247
132247
  * @property {string|null} [currency] SubscriptionPaymentProcessed currency
132248
+ * @property {number|null} [subscriptionId] SubscriptionPaymentProcessed subscriptionId
132248
132249
  */
132249
132250
 
132250
132251
  /**
@@ -132310,6 +132311,14 @@ $root.SubscriptionPaymentProcessed = (function() {
132310
132311
  */
132311
132312
  SubscriptionPaymentProcessed.prototype.currency = "";
132312
132313
 
132314
+ /**
132315
+ * SubscriptionPaymentProcessed subscriptionId.
132316
+ * @member {number} subscriptionId
132317
+ * @memberof SubscriptionPaymentProcessed
132318
+ * @instance
132319
+ */
132320
+ SubscriptionPaymentProcessed.prototype.subscriptionId = 0;
132321
+
132313
132322
  /**
132314
132323
  * Creates a new SubscriptionPaymentProcessed instance using the specified properties.
132315
132324
  * @function create
@@ -132346,6 +132355,8 @@ $root.SubscriptionPaymentProcessed = (function() {
132346
132355
  writer.uint32(/* id 5, wireType 1 =*/41).double(message.renewalAmount);
132347
132356
  if (message.currency != null && message.hasOwnProperty("currency"))
132348
132357
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.currency);
132358
+ if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
132359
+ writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.subscriptionId);
132349
132360
  return writer;
132350
132361
  };
132351
132362
 
@@ -132398,6 +132409,9 @@ $root.SubscriptionPaymentProcessed = (function() {
132398
132409
  case 6:
132399
132410
  message.currency = reader.string();
132400
132411
  break;
132412
+ case 7:
132413
+ message.subscriptionId = reader.uint32();
132414
+ break;
132401
132415
  default:
132402
132416
  reader.skipType(tag & 7);
132403
132417
  break;
@@ -132451,6 +132465,9 @@ $root.SubscriptionPaymentProcessed = (function() {
132451
132465
  if (message.currency != null && message.hasOwnProperty("currency"))
132452
132466
  if (!$util.isString(message.currency))
132453
132467
  return "currency: string expected";
132468
+ if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
132469
+ if (!$util.isInteger(message.subscriptionId))
132470
+ return "subscriptionId: integer expected";
132454
132471
  return null;
132455
132472
  };
132456
132473
 
@@ -132492,6 +132509,8 @@ $root.SubscriptionPaymentProcessed = (function() {
132492
132509
  message.renewalAmount = Number(object.renewalAmount);
132493
132510
  if (object.currency != null)
132494
132511
  message.currency = String(object.currency);
132512
+ if (object.subscriptionId != null)
132513
+ message.subscriptionId = object.subscriptionId >>> 0;
132495
132514
  return message;
132496
132515
  };
132497
132516
 
@@ -132523,6 +132542,7 @@ $root.SubscriptionPaymentProcessed = (function() {
132523
132542
  object.paymentAmount = 0;
132524
132543
  object.renewalAmount = 0;
132525
132544
  object.currency = "";
132545
+ object.subscriptionId = 0;
132526
132546
  }
132527
132547
  if (message.userId != null && message.hasOwnProperty("userId"))
132528
132548
  object.userId = message.userId;
@@ -132542,6 +132562,8 @@ $root.SubscriptionPaymentProcessed = (function() {
132542
132562
  object.renewalAmount = options.json && !isFinite(message.renewalAmount) ? String(message.renewalAmount) : message.renewalAmount;
132543
132563
  if (message.currency != null && message.hasOwnProperty("currency"))
132544
132564
  object.currency = message.currency;
132565
+ if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
132566
+ object.subscriptionId = message.subscriptionId;
132545
132567
  return object;
132546
132568
  };
132547
132569
 
@@ -132569,6 +132591,7 @@ $root.SubscriptionPaymentDeclined = (function() {
132569
132591
  * @property {number|Long|null} [paymentDate] SubscriptionPaymentDeclined paymentDate
132570
132592
  * @property {number|Long|null} [timestamp] SubscriptionPaymentDeclined timestamp
132571
132593
  * @property {number|null} [attempt] SubscriptionPaymentDeclined attempt
132594
+ * @property {number|null} [subscriptionId] SubscriptionPaymentDeclined subscriptionId
132572
132595
  */
132573
132596
 
132574
132597
  /**
@@ -132618,6 +132641,14 @@ $root.SubscriptionPaymentDeclined = (function() {
132618
132641
  */
132619
132642
  SubscriptionPaymentDeclined.prototype.attempt = 0;
132620
132643
 
132644
+ /**
132645
+ * SubscriptionPaymentDeclined subscriptionId.
132646
+ * @member {number} subscriptionId
132647
+ * @memberof SubscriptionPaymentDeclined
132648
+ * @instance
132649
+ */
132650
+ SubscriptionPaymentDeclined.prototype.subscriptionId = 0;
132651
+
132621
132652
  /**
132622
132653
  * Creates a new SubscriptionPaymentDeclined instance using the specified properties.
132623
132654
  * @function create
@@ -132650,6 +132681,8 @@ $root.SubscriptionPaymentDeclined = (function() {
132650
132681
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
132651
132682
  if (message.attempt != null && message.hasOwnProperty("attempt"))
132652
132683
  writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.attempt);
132684
+ if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
132685
+ writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.subscriptionId);
132653
132686
  return writer;
132654
132687
  };
132655
132688
 
@@ -132696,6 +132729,9 @@ $root.SubscriptionPaymentDeclined = (function() {
132696
132729
  case 4:
132697
132730
  message.attempt = reader.uint32();
132698
132731
  break;
132732
+ case 5:
132733
+ message.subscriptionId = reader.uint32();
132734
+ break;
132699
132735
  default:
132700
132736
  reader.skipType(tag & 7);
132701
132737
  break;
@@ -132743,6 +132779,9 @@ $root.SubscriptionPaymentDeclined = (function() {
132743
132779
  if (message.attempt != null && message.hasOwnProperty("attempt"))
132744
132780
  if (!$util.isInteger(message.attempt))
132745
132781
  return "attempt: integer expected";
132782
+ if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
132783
+ if (!$util.isInteger(message.subscriptionId))
132784
+ return "subscriptionId: integer expected";
132746
132785
  return null;
132747
132786
  };
132748
132787
 
@@ -132780,6 +132819,8 @@ $root.SubscriptionPaymentDeclined = (function() {
132780
132819
  message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
132781
132820
  if (object.attempt != null)
132782
132821
  message.attempt = object.attempt >>> 0;
132822
+ if (object.subscriptionId != null)
132823
+ message.subscriptionId = object.subscriptionId >>> 0;
132783
132824
  return message;
132784
132825
  };
132785
132826
 
@@ -132809,6 +132850,7 @@ $root.SubscriptionPaymentDeclined = (function() {
132809
132850
  } else
132810
132851
  object.timestamp = options.longs === String ? "0" : 0;
132811
132852
  object.attempt = 0;
132853
+ object.subscriptionId = 0;
132812
132854
  }
132813
132855
  if (message.userId != null && message.hasOwnProperty("userId"))
132814
132856
  object.userId = message.userId;
@@ -132824,6 +132866,8 @@ $root.SubscriptionPaymentDeclined = (function() {
132824
132866
  object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
132825
132867
  if (message.attempt != null && message.hasOwnProperty("attempt"))
132826
132868
  object.attempt = message.attempt;
132869
+ if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
132870
+ object.subscriptionId = message.subscriptionId;
132827
132871
  return object;
132828
132872
  };
132829
132873
 
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.540.0"
19
+ "version": "1.541.0"
20
20
  }