@headspace/protos-events 1.757.0 → 1.759.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
@@ -38774,6 +38774,15 @@ export interface IEnterpriseUserEnrollmentCreated {
38774
38774
 
38775
38775
  /** EnterpriseUserEnrollmentCreated enrollmentClient */
38776
38776
  enrollmentClient?: (string|null);
38777
+
38778
+ /** EnterpriseUserEnrollmentCreated externalEligibility */
38779
+ externalEligibility?: (string|null);
38780
+
38781
+ /** EnterpriseUserEnrollmentCreated externalClientId */
38782
+ externalClientId?: (string|null);
38783
+
38784
+ /** EnterpriseUserEnrollmentCreated brandLogoUrl */
38785
+ brandLogoUrl?: (string|null);
38777
38786
  }
38778
38787
 
38779
38788
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -38938,6 +38947,15 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
38938
38947
  /** EnterpriseUserEnrollmentCreated enrollmentClient. */
38939
38948
  public enrollmentClient: string;
38940
38949
 
38950
+ /** EnterpriseUserEnrollmentCreated externalEligibility. */
38951
+ public externalEligibility: string;
38952
+
38953
+ /** EnterpriseUserEnrollmentCreated externalClientId. */
38954
+ public externalClientId: string;
38955
+
38956
+ /** EnterpriseUserEnrollmentCreated brandLogoUrl. */
38957
+ public brandLogoUrl: string;
38958
+
38941
38959
  /**
38942
38960
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
38943
38961
  * @param [properties] Properties to set
@@ -39131,6 +39149,15 @@ export interface IEnterpriseUserEnrollmentRemoved {
39131
39149
 
39132
39150
  /** EnterpriseUserEnrollmentRemoved workEmail */
39133
39151
  workEmail?: (string|null);
39152
+
39153
+ /** EnterpriseUserEnrollmentRemoved externalEligibility */
39154
+ externalEligibility?: (string|null);
39155
+
39156
+ /** EnterpriseUserEnrollmentRemoved externalClientId */
39157
+ externalClientId?: (string|null);
39158
+
39159
+ /** EnterpriseUserEnrollmentRemoved brandLogoUrl */
39160
+ brandLogoUrl?: (string|null);
39134
39161
  }
39135
39162
 
39136
39163
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -39262,6 +39289,15 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
39262
39289
  /** EnterpriseUserEnrollmentRemoved workEmail. */
39263
39290
  public workEmail: string;
39264
39291
 
39292
+ /** EnterpriseUserEnrollmentRemoved externalEligibility. */
39293
+ public externalEligibility: string;
39294
+
39295
+ /** EnterpriseUserEnrollmentRemoved externalClientId. */
39296
+ public externalClientId: string;
39297
+
39298
+ /** EnterpriseUserEnrollmentRemoved brandLogoUrl. */
39299
+ public brandLogoUrl: string;
39300
+
39265
39301
  /**
39266
39302
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
39267
39303
  * @param [properties] Properties to set
@@ -39476,6 +39512,15 @@ export interface IEnterpriseUserEnrollmentAmended {
39476
39512
 
39477
39513
  /** EnterpriseUserEnrollmentAmended suppressCoachingCommunications */
39478
39514
  suppressCoachingCommunications?: (boolean|null);
39515
+
39516
+ /** EnterpriseUserEnrollmentAmended externalEligibility */
39517
+ externalEligibility?: (string|null);
39518
+
39519
+ /** EnterpriseUserEnrollmentAmended externalClientId */
39520
+ externalClientId?: (string|null);
39521
+
39522
+ /** EnterpriseUserEnrollmentAmended brandLogoUrl */
39523
+ brandLogoUrl?: (string|null);
39479
39524
  }
39480
39525
 
39481
39526
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -39628,6 +39673,15 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
39628
39673
  /** EnterpriseUserEnrollmentAmended suppressCoachingCommunications. */
39629
39674
  public suppressCoachingCommunications: boolean;
39630
39675
 
39676
+ /** EnterpriseUserEnrollmentAmended externalEligibility. */
39677
+ public externalEligibility: string;
39678
+
39679
+ /** EnterpriseUserEnrollmentAmended externalClientId. */
39680
+ public externalClientId: string;
39681
+
39682
+ /** EnterpriseUserEnrollmentAmended brandLogoUrl. */
39683
+ public brandLogoUrl: string;
39684
+
39631
39685
  /**
39632
39686
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
39633
39687
  * @param [properties] Properties to set
@@ -51928,6 +51982,9 @@ export interface ISubscriptionCancelled {
51928
51982
 
51929
51983
  /** SubscriptionCancelled productSku */
51930
51984
  productSku?: (subscription.ISubscriptionProductSku|null);
51985
+
51986
+ /** SubscriptionCancelled cancellationReason */
51987
+ cancellationReason?: (string|null);
51931
51988
  }
51932
51989
 
51933
51990
  /** Represents a SubscriptionCancelled. */
@@ -51993,6 +52050,9 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
51993
52050
  /** SubscriptionCancelled productSku. */
51994
52051
  public productSku?: (subscription.ISubscriptionProductSku|null);
51995
52052
 
52053
+ /** SubscriptionCancelled cancellationReason. */
52054
+ public cancellationReason: string;
52055
+
51996
52056
  /**
51997
52057
  * Creates a new SubscriptionCancelled instance using the specified properties.
51998
52058
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -108874,6 +108874,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
108874
108874
  * @property {string|null} [eligibilityRecordUuid] EnterpriseUserEnrollmentCreated eligibilityRecordUuid
108875
108875
  * @property {boolean|null} [suppressCoachingCommunications] EnterpriseUserEnrollmentCreated suppressCoachingCommunications
108876
108876
  * @property {string|null} [enrollmentClient] EnterpriseUserEnrollmentCreated enrollmentClient
108877
+ * @property {string|null} [externalEligibility] EnterpriseUserEnrollmentCreated externalEligibility
108878
+ * @property {string|null} [externalClientId] EnterpriseUserEnrollmentCreated externalClientId
108879
+ * @property {string|null} [brandLogoUrl] EnterpriseUserEnrollmentCreated brandLogoUrl
108877
108880
  */
108878
108881
 
108879
108882
  /**
@@ -109299,6 +109302,30 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109299
109302
  */
109300
109303
  EnterpriseUserEnrollmentCreated.prototype.enrollmentClient = "";
109301
109304
 
109305
+ /**
109306
+ * EnterpriseUserEnrollmentCreated externalEligibility.
109307
+ * @member {string} externalEligibility
109308
+ * @memberof EnterpriseUserEnrollmentCreated
109309
+ * @instance
109310
+ */
109311
+ EnterpriseUserEnrollmentCreated.prototype.externalEligibility = "";
109312
+
109313
+ /**
109314
+ * EnterpriseUserEnrollmentCreated externalClientId.
109315
+ * @member {string} externalClientId
109316
+ * @memberof EnterpriseUserEnrollmentCreated
109317
+ * @instance
109318
+ */
109319
+ EnterpriseUserEnrollmentCreated.prototype.externalClientId = "";
109320
+
109321
+ /**
109322
+ * EnterpriseUserEnrollmentCreated brandLogoUrl.
109323
+ * @member {string} brandLogoUrl
109324
+ * @memberof EnterpriseUserEnrollmentCreated
109325
+ * @instance
109326
+ */
109327
+ EnterpriseUserEnrollmentCreated.prototype.brandLogoUrl = "";
109328
+
109302
109329
  /**
109303
109330
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
109304
109331
  * @function create
@@ -109425,6 +109452,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109425
109452
  writer.uint32(/* id 55, wireType 0 =*/440).bool(message.suppressCoachingCommunications);
109426
109453
  if (message.enrollmentClient != null && message.hasOwnProperty("enrollmentClient"))
109427
109454
  writer.uint32(/* id 56, wireType 2 =*/450).string(message.enrollmentClient);
109455
+ if (message.externalEligibility != null && message.hasOwnProperty("externalEligibility"))
109456
+ writer.uint32(/* id 57, wireType 2 =*/458).string(message.externalEligibility);
109457
+ if (message.externalClientId != null && message.hasOwnProperty("externalClientId"))
109458
+ writer.uint32(/* id 58, wireType 2 =*/466).string(message.externalClientId);
109459
+ if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
109460
+ writer.uint32(/* id 59, wireType 2 =*/474).string(message.brandLogoUrl);
109428
109461
  return writer;
109429
109462
  };
109430
109463
 
@@ -109612,6 +109645,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109612
109645
  case 56:
109613
109646
  message.enrollmentClient = reader.string();
109614
109647
  break;
109648
+ case 57:
109649
+ message.externalEligibility = reader.string();
109650
+ break;
109651
+ case 58:
109652
+ message.externalClientId = reader.string();
109653
+ break;
109654
+ case 59:
109655
+ message.brandLogoUrl = reader.string();
109656
+ break;
109615
109657
  default:
109616
109658
  reader.skipType(tag & 7);
109617
109659
  break;
@@ -109875,6 +109917,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
109875
109917
  if (message.enrollmentClient != null && message.hasOwnProperty("enrollmentClient"))
109876
109918
  if (!$util.isString(message.enrollmentClient))
109877
109919
  return "enrollmentClient: string expected";
109920
+ if (message.externalEligibility != null && message.hasOwnProperty("externalEligibility"))
109921
+ if (!$util.isString(message.externalEligibility))
109922
+ return "externalEligibility: string expected";
109923
+ if (message.externalClientId != null && message.hasOwnProperty("externalClientId"))
109924
+ if (!$util.isString(message.externalClientId))
109925
+ return "externalClientId: string expected";
109926
+ if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
109927
+ if (!$util.isString(message.brandLogoUrl))
109928
+ return "brandLogoUrl: string expected";
109878
109929
  return null;
109879
109930
  };
109880
109931
 
@@ -110207,6 +110258,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
110207
110258
  message.suppressCoachingCommunications = Boolean(object.suppressCoachingCommunications);
110208
110259
  if (object.enrollmentClient != null)
110209
110260
  message.enrollmentClient = String(object.enrollmentClient);
110261
+ if (object.externalEligibility != null)
110262
+ message.externalEligibility = String(object.externalEligibility);
110263
+ if (object.externalClientId != null)
110264
+ message.externalClientId = String(object.externalClientId);
110265
+ if (object.brandLogoUrl != null)
110266
+ message.brandLogoUrl = String(object.brandLogoUrl);
110210
110267
  return message;
110211
110268
  };
110212
110269
 
@@ -110295,6 +110352,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
110295
110352
  object.eligibilityRecordUuid = "";
110296
110353
  object.suppressCoachingCommunications = false;
110297
110354
  object.enrollmentClient = "";
110355
+ object.externalEligibility = "";
110356
+ object.externalClientId = "";
110357
+ object.brandLogoUrl = "";
110298
110358
  }
110299
110359
  if (message.userId != null && message.hasOwnProperty("userId"))
110300
110360
  object.userId = message.userId;
@@ -110413,6 +110473,12 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
110413
110473
  object.suppressCoachingCommunications = message.suppressCoachingCommunications;
110414
110474
  if (message.enrollmentClient != null && message.hasOwnProperty("enrollmentClient"))
110415
110475
  object.enrollmentClient = message.enrollmentClient;
110476
+ if (message.externalEligibility != null && message.hasOwnProperty("externalEligibility"))
110477
+ object.externalEligibility = message.externalEligibility;
110478
+ if (message.externalClientId != null && message.hasOwnProperty("externalClientId"))
110479
+ object.externalClientId = message.externalClientId;
110480
+ if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
110481
+ object.brandLogoUrl = message.brandLogoUrl;
110416
110482
  return object;
110417
110483
  };
110418
110484
 
@@ -110476,6 +110542,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
110476
110542
  * @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] EnterpriseUserEnrollmentRemoved clinicalCoverageType
110477
110543
  * @property {boolean|null} [isEbbEnabled] EnterpriseUserEnrollmentRemoved isEbbEnabled
110478
110544
  * @property {string|null} [workEmail] EnterpriseUserEnrollmentRemoved workEmail
110545
+ * @property {string|null} [externalEligibility] EnterpriseUserEnrollmentRemoved externalEligibility
110546
+ * @property {string|null} [externalClientId] EnterpriseUserEnrollmentRemoved externalClientId
110547
+ * @property {string|null} [brandLogoUrl] EnterpriseUserEnrollmentRemoved brandLogoUrl
110479
110548
  */
110480
110549
 
110481
110550
  /**
@@ -110813,6 +110882,30 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
110813
110882
  */
110814
110883
  EnterpriseUserEnrollmentRemoved.prototype.workEmail = "";
110815
110884
 
110885
+ /**
110886
+ * EnterpriseUserEnrollmentRemoved externalEligibility.
110887
+ * @member {string} externalEligibility
110888
+ * @memberof EnterpriseUserEnrollmentRemoved
110889
+ * @instance
110890
+ */
110891
+ EnterpriseUserEnrollmentRemoved.prototype.externalEligibility = "";
110892
+
110893
+ /**
110894
+ * EnterpriseUserEnrollmentRemoved externalClientId.
110895
+ * @member {string} externalClientId
110896
+ * @memberof EnterpriseUserEnrollmentRemoved
110897
+ * @instance
110898
+ */
110899
+ EnterpriseUserEnrollmentRemoved.prototype.externalClientId = "";
110900
+
110901
+ /**
110902
+ * EnterpriseUserEnrollmentRemoved brandLogoUrl.
110903
+ * @member {string} brandLogoUrl
110904
+ * @memberof EnterpriseUserEnrollmentRemoved
110905
+ * @instance
110906
+ */
110907
+ EnterpriseUserEnrollmentRemoved.prototype.brandLogoUrl = "";
110908
+
110816
110909
  /**
110817
110910
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
110818
110911
  * @function create
@@ -110917,6 +111010,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
110917
111010
  writer.uint32(/* id 44, wireType 0 =*/352).bool(message.isEbbEnabled);
110918
111011
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
110919
111012
  writer.uint32(/* id 46, wireType 2 =*/370).string(message.workEmail);
111013
+ if (message.externalEligibility != null && message.hasOwnProperty("externalEligibility"))
111014
+ writer.uint32(/* id 47, wireType 2 =*/378).string(message.externalEligibility);
111015
+ if (message.externalClientId != null && message.hasOwnProperty("externalClientId"))
111016
+ writer.uint32(/* id 48, wireType 2 =*/386).string(message.externalClientId);
111017
+ if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
111018
+ writer.uint32(/* id 49, wireType 2 =*/394).string(message.brandLogoUrl);
110920
111019
  return writer;
110921
111020
  };
110922
111021
 
@@ -111071,6 +111170,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
111071
111170
  case 46:
111072
111171
  message.workEmail = reader.string();
111073
111172
  break;
111173
+ case 47:
111174
+ message.externalEligibility = reader.string();
111175
+ break;
111176
+ case 48:
111177
+ message.externalClientId = reader.string();
111178
+ break;
111179
+ case 49:
111180
+ message.brandLogoUrl = reader.string();
111181
+ break;
111074
111182
  default:
111075
111183
  reader.skipType(tag & 7);
111076
111184
  break;
@@ -111307,6 +111415,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
111307
111415
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
111308
111416
  if (!$util.isString(message.workEmail))
111309
111417
  return "workEmail: string expected";
111418
+ if (message.externalEligibility != null && message.hasOwnProperty("externalEligibility"))
111419
+ if (!$util.isString(message.externalEligibility))
111420
+ return "externalEligibility: string expected";
111421
+ if (message.externalClientId != null && message.hasOwnProperty("externalClientId"))
111422
+ if (!$util.isString(message.externalClientId))
111423
+ return "externalClientId: string expected";
111424
+ if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
111425
+ if (!$util.isString(message.brandLogoUrl))
111426
+ return "brandLogoUrl: string expected";
111310
111427
  return null;
111311
111428
  };
111312
111429
 
@@ -111641,6 +111758,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
111641
111758
  message.isEbbEnabled = Boolean(object.isEbbEnabled);
111642
111759
  if (object.workEmail != null)
111643
111760
  message.workEmail = String(object.workEmail);
111761
+ if (object.externalEligibility != null)
111762
+ message.externalEligibility = String(object.externalEligibility);
111763
+ if (object.externalClientId != null)
111764
+ message.externalClientId = String(object.externalClientId);
111765
+ if (object.brandLogoUrl != null)
111766
+ message.brandLogoUrl = String(object.brandLogoUrl);
111644
111767
  return message;
111645
111768
  };
111646
111769
 
@@ -111718,6 +111841,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
111718
111841
  object.clinicalCoverageType = options.enums === String ? "CLINICAL_COVERAGE_TYPE_UNKNOWN" : 0;
111719
111842
  object.isEbbEnabled = false;
111720
111843
  object.workEmail = "";
111844
+ object.externalEligibility = "";
111845
+ object.externalClientId = "";
111846
+ object.brandLogoUrl = "";
111721
111847
  }
111722
111848
  if (message.userId != null && message.hasOwnProperty("userId"))
111723
111849
  object.userId = message.userId;
@@ -111814,6 +111940,12 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
111814
111940
  object.isEbbEnabled = message.isEbbEnabled;
111815
111941
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
111816
111942
  object.workEmail = message.workEmail;
111943
+ if (message.externalEligibility != null && message.hasOwnProperty("externalEligibility"))
111944
+ object.externalEligibility = message.externalEligibility;
111945
+ if (message.externalClientId != null && message.hasOwnProperty("externalClientId"))
111946
+ object.externalClientId = message.externalClientId;
111947
+ if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
111948
+ object.brandLogoUrl = message.brandLogoUrl;
111817
111949
  return object;
111818
111950
  };
111819
111951
 
@@ -111884,6 +112016,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
111884
112016
  * @property {boolean|null} [b2bAreNonmemberCommsEnabled] EnterpriseUserEnrollmentAmended b2bAreNonmemberCommsEnabled
111885
112017
  * @property {boolean|null} [b2bAreEnrollmentCommsEnabled] EnterpriseUserEnrollmentAmended b2bAreEnrollmentCommsEnabled
111886
112018
  * @property {boolean|null} [suppressCoachingCommunications] EnterpriseUserEnrollmentAmended suppressCoachingCommunications
112019
+ * @property {string|null} [externalEligibility] EnterpriseUserEnrollmentAmended externalEligibility
112020
+ * @property {string|null} [externalClientId] EnterpriseUserEnrollmentAmended externalClientId
112021
+ * @property {string|null} [brandLogoUrl] EnterpriseUserEnrollmentAmended brandLogoUrl
111887
112022
  */
111888
112023
 
111889
112024
  /**
@@ -112277,6 +112412,30 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
112277
112412
  */
112278
112413
  EnterpriseUserEnrollmentAmended.prototype.suppressCoachingCommunications = false;
112279
112414
 
112415
+ /**
112416
+ * EnterpriseUserEnrollmentAmended externalEligibility.
112417
+ * @member {string} externalEligibility
112418
+ * @memberof EnterpriseUserEnrollmentAmended
112419
+ * @instance
112420
+ */
112421
+ EnterpriseUserEnrollmentAmended.prototype.externalEligibility = "";
112422
+
112423
+ /**
112424
+ * EnterpriseUserEnrollmentAmended externalClientId.
112425
+ * @member {string} externalClientId
112426
+ * @memberof EnterpriseUserEnrollmentAmended
112427
+ * @instance
112428
+ */
112429
+ EnterpriseUserEnrollmentAmended.prototype.externalClientId = "";
112430
+
112431
+ /**
112432
+ * EnterpriseUserEnrollmentAmended brandLogoUrl.
112433
+ * @member {string} brandLogoUrl
112434
+ * @memberof EnterpriseUserEnrollmentAmended
112435
+ * @instance
112436
+ */
112437
+ EnterpriseUserEnrollmentAmended.prototype.brandLogoUrl = "";
112438
+
112280
112439
  /**
112281
112440
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
112282
112441
  * @function create
@@ -112395,6 +112554,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
112395
112554
  writer.uint32(/* id 52, wireType 0 =*/416).bool(message.b2bAreEnrollmentCommsEnabled);
112396
112555
  if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
112397
112556
  writer.uint32(/* id 53, wireType 0 =*/424).bool(message.suppressCoachingCommunications);
112557
+ if (message.externalEligibility != null && message.hasOwnProperty("externalEligibility"))
112558
+ writer.uint32(/* id 54, wireType 2 =*/434).string(message.externalEligibility);
112559
+ if (message.externalClientId != null && message.hasOwnProperty("externalClientId"))
112560
+ writer.uint32(/* id 55, wireType 2 =*/442).string(message.externalClientId);
112561
+ if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
112562
+ writer.uint32(/* id 56, wireType 2 =*/450).string(message.brandLogoUrl);
112398
112563
  return writer;
112399
112564
  };
112400
112565
 
@@ -112570,6 +112735,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
112570
112735
  case 53:
112571
112736
  message.suppressCoachingCommunications = reader.bool();
112572
112737
  break;
112738
+ case 54:
112739
+ message.externalEligibility = reader.string();
112740
+ break;
112741
+ case 55:
112742
+ message.externalClientId = reader.string();
112743
+ break;
112744
+ case 56:
112745
+ message.brandLogoUrl = reader.string();
112746
+ break;
112573
112747
  default:
112574
112748
  reader.skipType(tag & 7);
112575
112749
  break;
@@ -112812,6 +112986,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
112812
112986
  if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
112813
112987
  if (typeof message.suppressCoachingCommunications !== "boolean")
112814
112988
  return "suppressCoachingCommunications: boolean expected";
112989
+ if (message.externalEligibility != null && message.hasOwnProperty("externalEligibility"))
112990
+ if (!$util.isString(message.externalEligibility))
112991
+ return "externalEligibility: string expected";
112992
+ if (message.externalClientId != null && message.hasOwnProperty("externalClientId"))
112993
+ if (!$util.isString(message.externalClientId))
112994
+ return "externalClientId: string expected";
112995
+ if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
112996
+ if (!$util.isString(message.brandLogoUrl))
112997
+ return "brandLogoUrl: string expected";
112815
112998
  return null;
112816
112999
  };
112817
113000
 
@@ -113112,6 +113295,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
113112
113295
  message.b2bAreEnrollmentCommsEnabled = Boolean(object.b2bAreEnrollmentCommsEnabled);
113113
113296
  if (object.suppressCoachingCommunications != null)
113114
113297
  message.suppressCoachingCommunications = Boolean(object.suppressCoachingCommunications);
113298
+ if (object.externalEligibility != null)
113299
+ message.externalEligibility = String(object.externalEligibility);
113300
+ if (object.externalClientId != null)
113301
+ message.externalClientId = String(object.externalClientId);
113302
+ if (object.brandLogoUrl != null)
113303
+ message.brandLogoUrl = String(object.brandLogoUrl);
113115
113304
  return message;
113116
113305
  };
113117
113306
 
@@ -113196,6 +113385,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
113196
113385
  object.b2bAreNonmemberCommsEnabled = false;
113197
113386
  object.b2bAreEnrollmentCommsEnabled = false;
113198
113387
  object.suppressCoachingCommunications = false;
113388
+ object.externalEligibility = "";
113389
+ object.externalClientId = "";
113390
+ object.brandLogoUrl = "";
113199
113391
  }
113200
113392
  if (message.userId != null && message.hasOwnProperty("userId"))
113201
113393
  object.userId = message.userId;
@@ -113306,6 +113498,12 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
113306
113498
  object.b2bAreEnrollmentCommsEnabled = message.b2bAreEnrollmentCommsEnabled;
113307
113499
  if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
113308
113500
  object.suppressCoachingCommunications = message.suppressCoachingCommunications;
113501
+ if (message.externalEligibility != null && message.hasOwnProperty("externalEligibility"))
113502
+ object.externalEligibility = message.externalEligibility;
113503
+ if (message.externalClientId != null && message.hasOwnProperty("externalClientId"))
113504
+ object.externalClientId = message.externalClientId;
113505
+ if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
113506
+ object.brandLogoUrl = message.brandLogoUrl;
113309
113507
  return object;
113310
113508
  };
113311
113509
 
@@ -146982,6 +147180,7 @@ $root.SubscriptionCancelled = (function() {
146982
147180
  * @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCancelled terms
146983
147181
  * @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCancelled membership
146984
147182
  * @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCancelled productSku
147183
+ * @property {string|null} [cancellationReason] SubscriptionCancelled cancellationReason
146985
147184
  */
146986
147185
 
146987
147186
  /**
@@ -147145,6 +147344,14 @@ $root.SubscriptionCancelled = (function() {
147145
147344
  */
147146
147345
  SubscriptionCancelled.prototype.productSku = null;
147147
147346
 
147347
+ /**
147348
+ * SubscriptionCancelled cancellationReason.
147349
+ * @member {string} cancellationReason
147350
+ * @memberof SubscriptionCancelled
147351
+ * @instance
147352
+ */
147353
+ SubscriptionCancelled.prototype.cancellationReason = "";
147354
+
147148
147355
  /**
147149
147356
  * Creates a new SubscriptionCancelled instance using the specified properties.
147150
147357
  * @function create
@@ -147210,6 +147417,8 @@ $root.SubscriptionCancelled = (function() {
147210
147417
  writer.uint32(/* id 17, wireType 0 =*/136).int32(message.membership);
147211
147418
  if (message.productSku != null && message.hasOwnProperty("productSku"))
147212
147419
  $root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
147420
+ if (message.cancellationReason != null && message.hasOwnProperty("cancellationReason"))
147421
+ writer.uint32(/* id 20, wireType 2 =*/162).string(message.cancellationReason);
147213
147422
  return writer;
147214
147423
  };
147215
147424
 
@@ -147307,6 +147516,9 @@ $root.SubscriptionCancelled = (function() {
147307
147516
  case 18:
147308
147517
  message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
147309
147518
  break;
147519
+ case 20:
147520
+ message.cancellationReason = reader.string();
147521
+ break;
147310
147522
  default:
147311
147523
  reader.skipType(tag & 7);
147312
147524
  break;
@@ -147456,6 +147668,9 @@ $root.SubscriptionCancelled = (function() {
147456
147668
  if (error)
147457
147669
  return "productSku." + error;
147458
147670
  }
147671
+ if (message.cancellationReason != null && message.hasOwnProperty("cancellationReason"))
147672
+ if (!$util.isString(message.cancellationReason))
147673
+ return "cancellationReason: string expected";
147459
147674
  return null;
147460
147675
  };
147461
147676
 
@@ -147670,6 +147885,8 @@ $root.SubscriptionCancelled = (function() {
147670
147885
  throw TypeError(".SubscriptionCancelled.productSku: object expected");
147671
147886
  message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
147672
147887
  }
147888
+ if (object.cancellationReason != null)
147889
+ message.cancellationReason = String(object.cancellationReason);
147673
147890
  return message;
147674
147891
  };
147675
147892
 
@@ -147727,6 +147944,7 @@ $root.SubscriptionCancelled = (function() {
147727
147944
  object.renewalCount = options.longs === String ? "0" : 0;
147728
147945
  object.membership = options.enums === String ? "PRIMARY" : 0;
147729
147946
  object.productSku = null;
147947
+ object.cancellationReason = "";
147730
147948
  }
147731
147949
  if (message.id != null && message.hasOwnProperty("id"))
147732
147950
  object.id = message.id;
@@ -147785,6 +148003,8 @@ $root.SubscriptionCancelled = (function() {
147785
148003
  object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
147786
148004
  if (message.productSku != null && message.hasOwnProperty("productSku"))
147787
148005
  object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
148006
+ if (message.cancellationReason != null && message.hasOwnProperty("cancellationReason"))
148007
+ object.cancellationReason = message.cancellationReason;
147788
148008
  return object;
147789
148009
  };
147790
148010
 
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.757.0"
19
+ "version": "1.759.0"
20
20
  }