@headspace/protos-events 1.539.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
@@ -34335,6 +34335,9 @@ export interface IFamilyMemberSynced {
34335
34335
  /** FamilyMemberSynced ownerUserId */
34336
34336
  ownerUserId?: (string|null);
34337
34337
 
34338
+ /** FamilyMemberSynced ownerSubscriptionId */
34339
+ ownerSubscriptionId?: (number|null);
34340
+
34338
34341
  /** FamilyMemberSynced userGroupId */
34339
34342
  userGroupId?: (number|null);
34340
34343
 
@@ -34378,6 +34381,9 @@ export class FamilyMemberSynced implements IFamilyMemberSynced {
34378
34381
  /** FamilyMemberSynced ownerUserId. */
34379
34382
  public ownerUserId: string;
34380
34383
 
34384
+ /** FamilyMemberSynced ownerSubscriptionId. */
34385
+ public ownerSubscriptionId: number;
34386
+
34381
34387
  /** FamilyMemberSynced userGroupId. */
34382
34388
  public userGroupId: number;
34383
34389
 
@@ -46693,6 +46699,9 @@ export interface ISubscriptionPaymentProcessed {
46693
46699
 
46694
46700
  /** SubscriptionPaymentProcessed currency */
46695
46701
  currency?: (string|null);
46702
+
46703
+ /** SubscriptionPaymentProcessed subscriptionId */
46704
+ subscriptionId?: (number|null);
46696
46705
  }
46697
46706
 
46698
46707
  /** Represents a SubscriptionPaymentProcessed. */
@@ -46722,6 +46731,9 @@ export class SubscriptionPaymentProcessed implements ISubscriptionPaymentProcess
46722
46731
  /** SubscriptionPaymentProcessed currency. */
46723
46732
  public currency: string;
46724
46733
 
46734
+ /** SubscriptionPaymentProcessed subscriptionId. */
46735
+ public subscriptionId: number;
46736
+
46725
46737
  /**
46726
46738
  * Creates a new SubscriptionPaymentProcessed instance using the specified properties.
46727
46739
  * @param [properties] Properties to set
@@ -46807,6 +46819,9 @@ export interface ISubscriptionPaymentDeclined {
46807
46819
 
46808
46820
  /** SubscriptionPaymentDeclined attempt */
46809
46821
  attempt?: (number|null);
46822
+
46823
+ /** SubscriptionPaymentDeclined subscriptionId */
46824
+ subscriptionId?: (number|null);
46810
46825
  }
46811
46826
 
46812
46827
  /** Represents a SubscriptionPaymentDeclined. */
@@ -46830,6 +46845,9 @@ export class SubscriptionPaymentDeclined implements ISubscriptionPaymentDeclined
46830
46845
  /** SubscriptionPaymentDeclined attempt. */
46831
46846
  public attempt: number;
46832
46847
 
46848
+ /** SubscriptionPaymentDeclined subscriptionId. */
46849
+ public subscriptionId: number;
46850
+
46833
46851
  /**
46834
46852
  * Creates a new SubscriptionPaymentDeclined instance using the specified properties.
46835
46853
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -95854,6 +95854,7 @@ $root.FamilyMemberSynced = (function() {
95854
95854
  * @property {number|null} [userGroupEntryId] FamilyMemberSynced userGroupEntryId
95855
95855
  * @property {string|null} [userId] FamilyMemberSynced userId
95856
95856
  * @property {string|null} [ownerUserId] FamilyMemberSynced ownerUserId
95857
+ * @property {number|null} [ownerSubscriptionId] FamilyMemberSynced ownerSubscriptionId
95857
95858
  * @property {number|null} [userGroupId] FamilyMemberSynced userGroupId
95858
95859
  * @property {community.FamilyPlanRole|null} [role] FamilyMemberSynced role
95859
95860
  * @property {number|null} [orgId] FamilyMemberSynced orgId
@@ -95911,6 +95912,14 @@ $root.FamilyMemberSynced = (function() {
95911
95912
  */
95912
95913
  FamilyMemberSynced.prototype.ownerUserId = "";
95913
95914
 
95915
+ /**
95916
+ * FamilyMemberSynced ownerSubscriptionId.
95917
+ * @member {number} ownerSubscriptionId
95918
+ * @memberof FamilyMemberSynced
95919
+ * @instance
95920
+ */
95921
+ FamilyMemberSynced.prototype.ownerSubscriptionId = 0;
95922
+
95914
95923
  /**
95915
95924
  * FamilyMemberSynced userGroupId.
95916
95925
  * @member {number} userGroupId
@@ -96017,6 +96026,8 @@ $root.FamilyMemberSynced = (function() {
96017
96026
  writer.int32(message.groupType[i]);
96018
96027
  writer.ldelim();
96019
96028
  }
96029
+ if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
96030
+ writer.uint32(/* id 12, wireType 0 =*/96).uint32(message.ownerSubscriptionId);
96020
96031
  return writer;
96021
96032
  };
96022
96033
 
@@ -96063,6 +96074,9 @@ $root.FamilyMemberSynced = (function() {
96063
96074
  case 7:
96064
96075
  message.ownerUserId = reader.string();
96065
96076
  break;
96077
+ case 12:
96078
+ message.ownerSubscriptionId = reader.uint32();
96079
+ break;
96066
96080
  case 4:
96067
96081
  message.userGroupId = reader.uint32();
96068
96082
  break;
@@ -96138,6 +96152,9 @@ $root.FamilyMemberSynced = (function() {
96138
96152
  if (message.ownerUserId != null && message.hasOwnProperty("ownerUserId"))
96139
96153
  if (!$util.isString(message.ownerUserId))
96140
96154
  return "ownerUserId: string expected";
96155
+ if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
96156
+ if (!$util.isInteger(message.ownerSubscriptionId))
96157
+ return "ownerSubscriptionId: integer expected";
96141
96158
  if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
96142
96159
  if (!$util.isInteger(message.userGroupId))
96143
96160
  return "userGroupId: integer expected";
@@ -96207,6 +96224,8 @@ $root.FamilyMemberSynced = (function() {
96207
96224
  message.userId = String(object.userId);
96208
96225
  if (object.ownerUserId != null)
96209
96226
  message.ownerUserId = String(object.ownerUserId);
96227
+ if (object.ownerSubscriptionId != null)
96228
+ message.ownerSubscriptionId = object.ownerSubscriptionId >>> 0;
96210
96229
  if (object.userGroupId != null)
96211
96230
  message.userGroupId = object.userGroupId >>> 0;
96212
96231
  switch (object.role) {
@@ -96293,6 +96312,7 @@ $root.FamilyMemberSynced = (function() {
96293
96312
  object.b2bOrgSubscriptionId = 0;
96294
96313
  object.dependentGroupId = 0;
96295
96314
  object.dependentId = 0;
96315
+ object.ownerSubscriptionId = 0;
96296
96316
  }
96297
96317
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
96298
96318
  if (typeof message.timestamp === "number")
@@ -96322,6 +96342,8 @@ $root.FamilyMemberSynced = (function() {
96322
96342
  for (var j = 0; j < message.groupType.length; ++j)
96323
96343
  object.groupType[j] = options.enums === String ? $root.GroupType[message.groupType[j]] : message.groupType[j];
96324
96344
  }
96345
+ if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
96346
+ object.ownerSubscriptionId = message.ownerSubscriptionId;
96325
96347
  return object;
96326
96348
  };
96327
96349
 
@@ -132223,6 +132245,7 @@ $root.SubscriptionPaymentProcessed = (function() {
132223
132245
  * @property {number|null} [paymentAmount] SubscriptionPaymentProcessed paymentAmount
132224
132246
  * @property {number|null} [renewalAmount] SubscriptionPaymentProcessed renewalAmount
132225
132247
  * @property {string|null} [currency] SubscriptionPaymentProcessed currency
132248
+ * @property {number|null} [subscriptionId] SubscriptionPaymentProcessed subscriptionId
132226
132249
  */
132227
132250
 
132228
132251
  /**
@@ -132288,6 +132311,14 @@ $root.SubscriptionPaymentProcessed = (function() {
132288
132311
  */
132289
132312
  SubscriptionPaymentProcessed.prototype.currency = "";
132290
132313
 
132314
+ /**
132315
+ * SubscriptionPaymentProcessed subscriptionId.
132316
+ * @member {number} subscriptionId
132317
+ * @memberof SubscriptionPaymentProcessed
132318
+ * @instance
132319
+ */
132320
+ SubscriptionPaymentProcessed.prototype.subscriptionId = 0;
132321
+
132291
132322
  /**
132292
132323
  * Creates a new SubscriptionPaymentProcessed instance using the specified properties.
132293
132324
  * @function create
@@ -132324,6 +132355,8 @@ $root.SubscriptionPaymentProcessed = (function() {
132324
132355
  writer.uint32(/* id 5, wireType 1 =*/41).double(message.renewalAmount);
132325
132356
  if (message.currency != null && message.hasOwnProperty("currency"))
132326
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);
132327
132360
  return writer;
132328
132361
  };
132329
132362
 
@@ -132376,6 +132409,9 @@ $root.SubscriptionPaymentProcessed = (function() {
132376
132409
  case 6:
132377
132410
  message.currency = reader.string();
132378
132411
  break;
132412
+ case 7:
132413
+ message.subscriptionId = reader.uint32();
132414
+ break;
132379
132415
  default:
132380
132416
  reader.skipType(tag & 7);
132381
132417
  break;
@@ -132429,6 +132465,9 @@ $root.SubscriptionPaymentProcessed = (function() {
132429
132465
  if (message.currency != null && message.hasOwnProperty("currency"))
132430
132466
  if (!$util.isString(message.currency))
132431
132467
  return "currency: string expected";
132468
+ if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
132469
+ if (!$util.isInteger(message.subscriptionId))
132470
+ return "subscriptionId: integer expected";
132432
132471
  return null;
132433
132472
  };
132434
132473
 
@@ -132470,6 +132509,8 @@ $root.SubscriptionPaymentProcessed = (function() {
132470
132509
  message.renewalAmount = Number(object.renewalAmount);
132471
132510
  if (object.currency != null)
132472
132511
  message.currency = String(object.currency);
132512
+ if (object.subscriptionId != null)
132513
+ message.subscriptionId = object.subscriptionId >>> 0;
132473
132514
  return message;
132474
132515
  };
132475
132516
 
@@ -132501,6 +132542,7 @@ $root.SubscriptionPaymentProcessed = (function() {
132501
132542
  object.paymentAmount = 0;
132502
132543
  object.renewalAmount = 0;
132503
132544
  object.currency = "";
132545
+ object.subscriptionId = 0;
132504
132546
  }
132505
132547
  if (message.userId != null && message.hasOwnProperty("userId"))
132506
132548
  object.userId = message.userId;
@@ -132520,6 +132562,8 @@ $root.SubscriptionPaymentProcessed = (function() {
132520
132562
  object.renewalAmount = options.json && !isFinite(message.renewalAmount) ? String(message.renewalAmount) : message.renewalAmount;
132521
132563
  if (message.currency != null && message.hasOwnProperty("currency"))
132522
132564
  object.currency = message.currency;
132565
+ if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
132566
+ object.subscriptionId = message.subscriptionId;
132523
132567
  return object;
132524
132568
  };
132525
132569
 
@@ -132547,6 +132591,7 @@ $root.SubscriptionPaymentDeclined = (function() {
132547
132591
  * @property {number|Long|null} [paymentDate] SubscriptionPaymentDeclined paymentDate
132548
132592
  * @property {number|Long|null} [timestamp] SubscriptionPaymentDeclined timestamp
132549
132593
  * @property {number|null} [attempt] SubscriptionPaymentDeclined attempt
132594
+ * @property {number|null} [subscriptionId] SubscriptionPaymentDeclined subscriptionId
132550
132595
  */
132551
132596
 
132552
132597
  /**
@@ -132596,6 +132641,14 @@ $root.SubscriptionPaymentDeclined = (function() {
132596
132641
  */
132597
132642
  SubscriptionPaymentDeclined.prototype.attempt = 0;
132598
132643
 
132644
+ /**
132645
+ * SubscriptionPaymentDeclined subscriptionId.
132646
+ * @member {number} subscriptionId
132647
+ * @memberof SubscriptionPaymentDeclined
132648
+ * @instance
132649
+ */
132650
+ SubscriptionPaymentDeclined.prototype.subscriptionId = 0;
132651
+
132599
132652
  /**
132600
132653
  * Creates a new SubscriptionPaymentDeclined instance using the specified properties.
132601
132654
  * @function create
@@ -132628,6 +132681,8 @@ $root.SubscriptionPaymentDeclined = (function() {
132628
132681
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
132629
132682
  if (message.attempt != null && message.hasOwnProperty("attempt"))
132630
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);
132631
132686
  return writer;
132632
132687
  };
132633
132688
 
@@ -132674,6 +132729,9 @@ $root.SubscriptionPaymentDeclined = (function() {
132674
132729
  case 4:
132675
132730
  message.attempt = reader.uint32();
132676
132731
  break;
132732
+ case 5:
132733
+ message.subscriptionId = reader.uint32();
132734
+ break;
132677
132735
  default:
132678
132736
  reader.skipType(tag & 7);
132679
132737
  break;
@@ -132721,6 +132779,9 @@ $root.SubscriptionPaymentDeclined = (function() {
132721
132779
  if (message.attempt != null && message.hasOwnProperty("attempt"))
132722
132780
  if (!$util.isInteger(message.attempt))
132723
132781
  return "attempt: integer expected";
132782
+ if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
132783
+ if (!$util.isInteger(message.subscriptionId))
132784
+ return "subscriptionId: integer expected";
132724
132785
  return null;
132725
132786
  };
132726
132787
 
@@ -132758,6 +132819,8 @@ $root.SubscriptionPaymentDeclined = (function() {
132758
132819
  message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
132759
132820
  if (object.attempt != null)
132760
132821
  message.attempt = object.attempt >>> 0;
132822
+ if (object.subscriptionId != null)
132823
+ message.subscriptionId = object.subscriptionId >>> 0;
132761
132824
  return message;
132762
132825
  };
132763
132826
 
@@ -132787,6 +132850,7 @@ $root.SubscriptionPaymentDeclined = (function() {
132787
132850
  } else
132788
132851
  object.timestamp = options.longs === String ? "0" : 0;
132789
132852
  object.attempt = 0;
132853
+ object.subscriptionId = 0;
132790
132854
  }
132791
132855
  if (message.userId != null && message.hasOwnProperty("userId"))
132792
132856
  object.userId = message.userId;
@@ -132802,6 +132866,8 @@ $root.SubscriptionPaymentDeclined = (function() {
132802
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;
132803
132867
  if (message.attempt != null && message.hasOwnProperty("attempt"))
132804
132868
  object.attempt = message.attempt;
132869
+ if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
132870
+ object.subscriptionId = message.subscriptionId;
132805
132871
  return object;
132806
132872
  };
132807
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.539.0"
19
+ "version": "1.541.0"
20
20
  }