@headspace/protos-events 1.542.0 → 1.544.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
@@ -7653,9 +7653,10 @@ export namespace subscription {
7653
7653
 
7654
7654
  /** PlanAffiliation enum. */
7655
7655
  enum PlanAffiliation {
7656
- STUDENT = 0,
7657
- VETERAN = 1,
7658
- FAMILY = 2
7656
+ PLAN_AFFILIATION_STUDENT = 0,
7657
+ PLAN_AFFILIATION_VETERAN = 1,
7658
+ PLAN_AFFILIATION_FAMILY = 2,
7659
+ PLAN_AFFILIATION_UNKNOWN = 3
7659
7660
  }
7660
7661
 
7661
7662
  /** SubscriptionMembership enum. */
@@ -29805,6 +29806,9 @@ export interface IEapCoverageCreated {
29805
29806
 
29806
29807
  /** EapCoverageCreated updatedAt */
29807
29808
  updatedAt?: (number|Long|null);
29809
+
29810
+ /** EapCoverageCreated eapCoverage */
29811
+ eapCoverage?: (b2b.EapCoverage|null);
29808
29812
  }
29809
29813
 
29810
29814
  /** Represents an EapCoverageCreated. */
@@ -29831,6 +29835,9 @@ export class EapCoverageCreated implements IEapCoverageCreated {
29831
29835
  /** EapCoverageCreated updatedAt. */
29832
29836
  public updatedAt: (number|Long);
29833
29837
 
29838
+ /** EapCoverageCreated eapCoverage. */
29839
+ public eapCoverage: b2b.EapCoverage;
29840
+
29834
29841
  /**
29835
29842
  * Creates a new EapCoverageCreated instance using the specified properties.
29836
29843
  * @param [properties] Properties to set
@@ -29919,6 +29926,9 @@ export interface IEapCoverageUpdated {
29919
29926
 
29920
29927
  /** EapCoverageUpdated updatedAt */
29921
29928
  updatedAt?: (number|Long|null);
29929
+
29930
+ /** EapCoverageUpdated eapCoverage */
29931
+ eapCoverage?: (b2b.EapCoverage|null);
29922
29932
  }
29923
29933
 
29924
29934
  /** Represents an EapCoverageUpdated. */
@@ -29945,6 +29955,9 @@ export class EapCoverageUpdated implements IEapCoverageUpdated {
29945
29955
  /** EapCoverageUpdated updatedAt. */
29946
29956
  public updatedAt: (number|Long);
29947
29957
 
29958
+ /** EapCoverageUpdated eapCoverage. */
29959
+ public eapCoverage: b2b.EapCoverage;
29960
+
29948
29961
  /**
29949
29962
  * Creates a new EapCoverageUpdated instance using the specified properties.
29950
29963
  * @param [properties] Properties to set
@@ -30033,6 +30046,9 @@ export interface IEapCoverageDeleted {
30033
30046
 
30034
30047
  /** EapCoverageDeleted updatedAt */
30035
30048
  updatedAt?: (number|Long|null);
30049
+
30050
+ /** EapCoverageDeleted eapCoverage */
30051
+ eapCoverage?: (b2b.EapCoverage|null);
30036
30052
  }
30037
30053
 
30038
30054
  /** Represents an EapCoverageDeleted. */
@@ -30059,6 +30075,9 @@ export class EapCoverageDeleted implements IEapCoverageDeleted {
30059
30075
  /** EapCoverageDeleted updatedAt. */
30060
30076
  public updatedAt: (number|Long);
30061
30077
 
30078
+ /** EapCoverageDeleted eapCoverage. */
30079
+ public eapCoverage: b2b.EapCoverage;
30080
+
30062
30081
  /**
30063
30082
  * Creates a new EapCoverageDeleted instance using the specified properties.
30064
30083
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -18176,15 +18176,17 @@ $root.subscription = (function() {
18176
18176
  * PlanAffiliation enum.
18177
18177
  * @name subscription.PlanAffiliation
18178
18178
  * @enum {string}
18179
- * @property {number} STUDENT=0 STUDENT value
18180
- * @property {number} VETERAN=1 VETERAN value
18181
- * @property {number} FAMILY=2 FAMILY value
18179
+ * @property {number} PLAN_AFFILIATION_STUDENT=0 PLAN_AFFILIATION_STUDENT value
18180
+ * @property {number} PLAN_AFFILIATION_VETERAN=1 PLAN_AFFILIATION_VETERAN value
18181
+ * @property {number} PLAN_AFFILIATION_FAMILY=2 PLAN_AFFILIATION_FAMILY value
18182
+ * @property {number} PLAN_AFFILIATION_UNKNOWN=3 PLAN_AFFILIATION_UNKNOWN value
18182
18183
  */
18183
18184
  subscription.PlanAffiliation = (function() {
18184
18185
  var valuesById = {}, values = Object.create(valuesById);
18185
- values[valuesById[0] = "STUDENT"] = 0;
18186
- values[valuesById[1] = "VETERAN"] = 1;
18187
- values[valuesById[2] = "FAMILY"] = 2;
18186
+ values[valuesById[0] = "PLAN_AFFILIATION_STUDENT"] = 0;
18187
+ values[valuesById[1] = "PLAN_AFFILIATION_VETERAN"] = 1;
18188
+ values[valuesById[2] = "PLAN_AFFILIATION_FAMILY"] = 2;
18189
+ values[valuesById[3] = "PLAN_AFFILIATION_UNKNOWN"] = 3;
18188
18190
  return values;
18189
18191
  })();
18190
18192
 
@@ -82734,6 +82736,7 @@ $root.EapCoverageCreated = (function() {
82734
82736
  * @property {number|Long|null} [coverageTotal] EapCoverageCreated coverageTotal
82735
82737
  * @property {number|Long|null} [orgSubscriptionEndDate] EapCoverageCreated orgSubscriptionEndDate
82736
82738
  * @property {number|Long|null} [updatedAt] EapCoverageCreated updatedAt
82739
+ * @property {b2b.EapCoverage|null} [eapCoverage] EapCoverageCreated eapCoverage
82737
82740
  */
82738
82741
 
82739
82742
  /**
@@ -82791,6 +82794,14 @@ $root.EapCoverageCreated = (function() {
82791
82794
  */
82792
82795
  EapCoverageCreated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
82793
82796
 
82797
+ /**
82798
+ * EapCoverageCreated eapCoverage.
82799
+ * @member {b2b.EapCoverage} eapCoverage
82800
+ * @memberof EapCoverageCreated
82801
+ * @instance
82802
+ */
82803
+ EapCoverageCreated.prototype.eapCoverage = 0;
82804
+
82794
82805
  /**
82795
82806
  * Creates a new EapCoverageCreated instance using the specified properties.
82796
82807
  * @function create
@@ -82825,6 +82836,8 @@ $root.EapCoverageCreated = (function() {
82825
82836
  writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.orgSubscriptionEndDate);
82826
82837
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
82827
82838
  writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.updatedAt);
82839
+ if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
82840
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.eapCoverage);
82828
82841
  return writer;
82829
82842
  };
82830
82843
 
@@ -82874,6 +82887,9 @@ $root.EapCoverageCreated = (function() {
82874
82887
  case 5:
82875
82888
  message.updatedAt = reader.uint64();
82876
82889
  break;
82890
+ case 6:
82891
+ message.eapCoverage = reader.int32();
82892
+ break;
82877
82893
  default:
82878
82894
  reader.skipType(tag & 7);
82879
82895
  break;
@@ -82931,6 +82947,15 @@ $root.EapCoverageCreated = (function() {
82931
82947
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
82932
82948
  if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
82933
82949
  return "updatedAt: integer|Long expected";
82950
+ if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
82951
+ switch (message.eapCoverage) {
82952
+ default:
82953
+ return "eapCoverage: enum value expected";
82954
+ case 0:
82955
+ case 1:
82956
+ case 2:
82957
+ break;
82958
+ }
82934
82959
  return null;
82935
82960
  };
82936
82961
 
@@ -83000,6 +83025,20 @@ $root.EapCoverageCreated = (function() {
83000
83025
  message.updatedAt = object.updatedAt;
83001
83026
  else if (typeof object.updatedAt === "object")
83002
83027
  message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
83028
+ switch (object.eapCoverage) {
83029
+ case "EAP_COVERAGE_UNKNOWN":
83030
+ case 0:
83031
+ message.eapCoverage = 0;
83032
+ break;
83033
+ case "EAP_COVERAGE_CCA":
83034
+ case 1:
83035
+ message.eapCoverage = 1;
83036
+ break;
83037
+ case "EAP_COVERAGE_WPO":
83038
+ case 2:
83039
+ message.eapCoverage = 2;
83040
+ break;
83041
+ }
83003
83042
  return message;
83004
83043
  };
83005
83044
 
@@ -83038,6 +83077,7 @@ $root.EapCoverageCreated = (function() {
83038
83077
  object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
83039
83078
  } else
83040
83079
  object.updatedAt = options.longs === String ? "0" : 0;
83080
+ object.eapCoverage = options.enums === String ? "EAP_COVERAGE_UNKNOWN" : 0;
83041
83081
  }
83042
83082
  if (message.orgId != null && message.hasOwnProperty("orgId"))
83043
83083
  if (typeof message.orgId === "number")
@@ -83061,6 +83101,8 @@ $root.EapCoverageCreated = (function() {
83061
83101
  object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
83062
83102
  else
83063
83103
  object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
83104
+ if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
83105
+ object.eapCoverage = options.enums === String ? $root.b2b.EapCoverage[message.eapCoverage] : message.eapCoverage;
83064
83106
  return object;
83065
83107
  };
83066
83108
 
@@ -83089,6 +83131,7 @@ $root.EapCoverageUpdated = (function() {
83089
83131
  * @property {number|Long|null} [coverageTotal] EapCoverageUpdated coverageTotal
83090
83132
  * @property {number|Long|null} [orgSubscriptionEndDate] EapCoverageUpdated orgSubscriptionEndDate
83091
83133
  * @property {number|Long|null} [updatedAt] EapCoverageUpdated updatedAt
83134
+ * @property {b2b.EapCoverage|null} [eapCoverage] EapCoverageUpdated eapCoverage
83092
83135
  */
83093
83136
 
83094
83137
  /**
@@ -83146,6 +83189,14 @@ $root.EapCoverageUpdated = (function() {
83146
83189
  */
83147
83190
  EapCoverageUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
83148
83191
 
83192
+ /**
83193
+ * EapCoverageUpdated eapCoverage.
83194
+ * @member {b2b.EapCoverage} eapCoverage
83195
+ * @memberof EapCoverageUpdated
83196
+ * @instance
83197
+ */
83198
+ EapCoverageUpdated.prototype.eapCoverage = 0;
83199
+
83149
83200
  /**
83150
83201
  * Creates a new EapCoverageUpdated instance using the specified properties.
83151
83202
  * @function create
@@ -83180,6 +83231,8 @@ $root.EapCoverageUpdated = (function() {
83180
83231
  writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.orgSubscriptionEndDate);
83181
83232
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
83182
83233
  writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.updatedAt);
83234
+ if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
83235
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.eapCoverage);
83183
83236
  return writer;
83184
83237
  };
83185
83238
 
@@ -83229,6 +83282,9 @@ $root.EapCoverageUpdated = (function() {
83229
83282
  case 5:
83230
83283
  message.updatedAt = reader.uint64();
83231
83284
  break;
83285
+ case 6:
83286
+ message.eapCoverage = reader.int32();
83287
+ break;
83232
83288
  default:
83233
83289
  reader.skipType(tag & 7);
83234
83290
  break;
@@ -83286,6 +83342,15 @@ $root.EapCoverageUpdated = (function() {
83286
83342
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
83287
83343
  if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
83288
83344
  return "updatedAt: integer|Long expected";
83345
+ if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
83346
+ switch (message.eapCoverage) {
83347
+ default:
83348
+ return "eapCoverage: enum value expected";
83349
+ case 0:
83350
+ case 1:
83351
+ case 2:
83352
+ break;
83353
+ }
83289
83354
  return null;
83290
83355
  };
83291
83356
 
@@ -83355,6 +83420,20 @@ $root.EapCoverageUpdated = (function() {
83355
83420
  message.updatedAt = object.updatedAt;
83356
83421
  else if (typeof object.updatedAt === "object")
83357
83422
  message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
83423
+ switch (object.eapCoverage) {
83424
+ case "EAP_COVERAGE_UNKNOWN":
83425
+ case 0:
83426
+ message.eapCoverage = 0;
83427
+ break;
83428
+ case "EAP_COVERAGE_CCA":
83429
+ case 1:
83430
+ message.eapCoverage = 1;
83431
+ break;
83432
+ case "EAP_COVERAGE_WPO":
83433
+ case 2:
83434
+ message.eapCoverage = 2;
83435
+ break;
83436
+ }
83358
83437
  return message;
83359
83438
  };
83360
83439
 
@@ -83393,6 +83472,7 @@ $root.EapCoverageUpdated = (function() {
83393
83472
  object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
83394
83473
  } else
83395
83474
  object.updatedAt = options.longs === String ? "0" : 0;
83475
+ object.eapCoverage = options.enums === String ? "EAP_COVERAGE_UNKNOWN" : 0;
83396
83476
  }
83397
83477
  if (message.orgId != null && message.hasOwnProperty("orgId"))
83398
83478
  if (typeof message.orgId === "number")
@@ -83416,6 +83496,8 @@ $root.EapCoverageUpdated = (function() {
83416
83496
  object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
83417
83497
  else
83418
83498
  object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
83499
+ if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
83500
+ object.eapCoverage = options.enums === String ? $root.b2b.EapCoverage[message.eapCoverage] : message.eapCoverage;
83419
83501
  return object;
83420
83502
  };
83421
83503
 
@@ -83444,6 +83526,7 @@ $root.EapCoverageDeleted = (function() {
83444
83526
  * @property {number|Long|null} [coverageTotal] EapCoverageDeleted coverageTotal
83445
83527
  * @property {number|Long|null} [orgSubscriptionEndDate] EapCoverageDeleted orgSubscriptionEndDate
83446
83528
  * @property {number|Long|null} [updatedAt] EapCoverageDeleted updatedAt
83529
+ * @property {b2b.EapCoverage|null} [eapCoverage] EapCoverageDeleted eapCoverage
83447
83530
  */
83448
83531
 
83449
83532
  /**
@@ -83501,6 +83584,14 @@ $root.EapCoverageDeleted = (function() {
83501
83584
  */
83502
83585
  EapCoverageDeleted.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
83503
83586
 
83587
+ /**
83588
+ * EapCoverageDeleted eapCoverage.
83589
+ * @member {b2b.EapCoverage} eapCoverage
83590
+ * @memberof EapCoverageDeleted
83591
+ * @instance
83592
+ */
83593
+ EapCoverageDeleted.prototype.eapCoverage = 0;
83594
+
83504
83595
  /**
83505
83596
  * Creates a new EapCoverageDeleted instance using the specified properties.
83506
83597
  * @function create
@@ -83535,6 +83626,8 @@ $root.EapCoverageDeleted = (function() {
83535
83626
  writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.orgSubscriptionEndDate);
83536
83627
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
83537
83628
  writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.updatedAt);
83629
+ if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
83630
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.eapCoverage);
83538
83631
  return writer;
83539
83632
  };
83540
83633
 
@@ -83584,6 +83677,9 @@ $root.EapCoverageDeleted = (function() {
83584
83677
  case 5:
83585
83678
  message.updatedAt = reader.uint64();
83586
83679
  break;
83680
+ case 6:
83681
+ message.eapCoverage = reader.int32();
83682
+ break;
83587
83683
  default:
83588
83684
  reader.skipType(tag & 7);
83589
83685
  break;
@@ -83641,6 +83737,15 @@ $root.EapCoverageDeleted = (function() {
83641
83737
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
83642
83738
  if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
83643
83739
  return "updatedAt: integer|Long expected";
83740
+ if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
83741
+ switch (message.eapCoverage) {
83742
+ default:
83743
+ return "eapCoverage: enum value expected";
83744
+ case 0:
83745
+ case 1:
83746
+ case 2:
83747
+ break;
83748
+ }
83644
83749
  return null;
83645
83750
  };
83646
83751
 
@@ -83710,6 +83815,20 @@ $root.EapCoverageDeleted = (function() {
83710
83815
  message.updatedAt = object.updatedAt;
83711
83816
  else if (typeof object.updatedAt === "object")
83712
83817
  message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
83818
+ switch (object.eapCoverage) {
83819
+ case "EAP_COVERAGE_UNKNOWN":
83820
+ case 0:
83821
+ message.eapCoverage = 0;
83822
+ break;
83823
+ case "EAP_COVERAGE_CCA":
83824
+ case 1:
83825
+ message.eapCoverage = 1;
83826
+ break;
83827
+ case "EAP_COVERAGE_WPO":
83828
+ case 2:
83829
+ message.eapCoverage = 2;
83830
+ break;
83831
+ }
83713
83832
  return message;
83714
83833
  };
83715
83834
 
@@ -83748,6 +83867,7 @@ $root.EapCoverageDeleted = (function() {
83748
83867
  object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
83749
83868
  } else
83750
83869
  object.updatedAt = options.longs === String ? "0" : 0;
83870
+ object.eapCoverage = options.enums === String ? "EAP_COVERAGE_UNKNOWN" : 0;
83751
83871
  }
83752
83872
  if (message.orgId != null && message.hasOwnProperty("orgId"))
83753
83873
  if (typeof message.orgId === "number")
@@ -83771,6 +83891,8 @@ $root.EapCoverageDeleted = (function() {
83771
83891
  object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
83772
83892
  else
83773
83893
  object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
83894
+ if (message.eapCoverage != null && message.hasOwnProperty("eapCoverage"))
83895
+ object.eapCoverage = options.enums === String ? $root.b2b.EapCoverage[message.eapCoverage] : message.eapCoverage;
83774
83896
  return object;
83775
83897
  };
83776
83898
 
@@ -132363,6 +132485,7 @@ $root.SubscriptionUpcomingRenewal = (function() {
132363
132485
  case 0:
132364
132486
  case 1:
132365
132487
  case 2:
132488
+ case 3:
132366
132489
  break;
132367
132490
  }
132368
132491
  if (message.renewalDate != null && message.hasOwnProperty("renewalDate"))
@@ -132411,18 +132534,22 @@ $root.SubscriptionUpcomingRenewal = (function() {
132411
132534
  break;
132412
132535
  }
132413
132536
  switch (object.planAffiliation) {
132414
- case "STUDENT":
132537
+ case "PLAN_AFFILIATION_STUDENT":
132415
132538
  case 0:
132416
132539
  message.planAffiliation = 0;
132417
132540
  break;
132418
- case "VETERAN":
132541
+ case "PLAN_AFFILIATION_VETERAN":
132419
132542
  case 1:
132420
132543
  message.planAffiliation = 1;
132421
132544
  break;
132422
- case "FAMILY":
132545
+ case "PLAN_AFFILIATION_FAMILY":
132423
132546
  case 2:
132424
132547
  message.planAffiliation = 2;
132425
132548
  break;
132549
+ case "PLAN_AFFILIATION_UNKNOWN":
132550
+ case 3:
132551
+ message.planAffiliation = 3;
132552
+ break;
132426
132553
  }
132427
132554
  if (object.renewalDate != null)
132428
132555
  if ($util.Long)
@@ -132463,7 +132590,7 @@ $root.SubscriptionUpcomingRenewal = (function() {
132463
132590
  object.userId = "";
132464
132591
  object.daysBefore = 0;
132465
132592
  object.membership = options.enums === String ? "PRIMARY" : 0;
132466
- object.planAffiliation = options.enums === String ? "STUDENT" : 0;
132593
+ object.planAffiliation = options.enums === String ? "PLAN_AFFILIATION_STUDENT" : 0;
132467
132594
  if ($util.Long) {
132468
132595
  var long = new $util.Long(0, 0, true);
132469
132596
  object.renewalDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
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.542.0"
19
+ "version": "1.544.0"
20
20
  }