@headspace/protos-events 1.224.0 → 1.226.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
@@ -3439,6 +3439,9 @@ export namespace b2b {
3439
3439
 
3440
3440
  /** Organization healthHubName */
3441
3441
  healthHubName?: (string|null);
3442
+
3443
+ /** Organization restrictBy */
3444
+ restrictBy?: (b2b.OrgRestrictBy|null);
3442
3445
  }
3443
3446
 
3444
3447
  /** Represents an Organization. */
@@ -3474,6 +3477,9 @@ export namespace b2b {
3474
3477
  /** Organization healthHubName. */
3475
3478
  public healthHubName: string;
3476
3479
 
3480
+ /** Organization restrictBy. */
3481
+ public restrictBy: b2b.OrgRestrictBy;
3482
+
3477
3483
  /**
3478
3484
  * Creates a new Organization instance using the specified properties.
3479
3485
  * @param [properties] Properties to set
@@ -3677,6 +3683,18 @@ export namespace b2b {
3677
3683
  public toJSON(): { [k: string]: any };
3678
3684
  }
3679
3685
 
3686
+ /** OrgRestrictBy enum. */
3687
+ enum OrgRestrictBy {
3688
+ ORG_RESTRICT_BY_UNKNOWN = 0,
3689
+ ORG_RESTRICT_BY_UNRESTRICTED = 1,
3690
+ ORG_RESTRICT_BY_EMAIL_DOMAIN = 2,
3691
+ ORG_RESTRICT_BY_EMAIL_ADDRESS = 3,
3692
+ ORG_RESTRICT_BY_EMAIL_ELIGIBILITY_FILE = 4,
3693
+ ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD = 5,
3694
+ ORG_RESTRICT_BY_EMPLOYEE_ID = 6,
3695
+ ORG_RESTRICT_BY_SSO = 7
3696
+ }
3697
+
3680
3698
  /** OrgType enum. */
3681
3699
  enum OrgType {
3682
3700
  ORG_TYPE_UNKNOWN = 0,
@@ -18809,6 +18827,9 @@ export interface IEnterpriseUserEnrollmentCreated {
18809
18827
 
18810
18828
  /** EnterpriseUserEnrollmentCreated orgMemberCustomFields */
18811
18829
  orgMemberCustomFields?: (string|null);
18830
+
18831
+ /** EnterpriseUserEnrollmentCreated isTelehealthEnabled */
18832
+ isTelehealthEnabled?: (boolean|null);
18812
18833
  }
18813
18834
 
18814
18835
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -18871,6 +18892,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
18871
18892
  /** EnterpriseUserEnrollmentCreated orgMemberCustomFields. */
18872
18893
  public orgMemberCustomFields: string;
18873
18894
 
18895
+ /** EnterpriseUserEnrollmentCreated isTelehealthEnabled. */
18896
+ public isTelehealthEnabled: boolean;
18897
+
18874
18898
  /**
18875
18899
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
18876
18900
  * @param [properties] Properties to set
@@ -18998,6 +19022,9 @@ export interface IEnterpriseUserEnrollmentRemoved {
18998
19022
 
18999
19023
  /** EnterpriseUserEnrollmentRemoved orgMemberCustomFields */
19000
19024
  orgMemberCustomFields?: (string|null);
19025
+
19026
+ /** EnterpriseUserEnrollmentRemoved isTelehealthEnabled */
19027
+ isTelehealthEnabled?: (boolean|null);
19001
19028
  }
19002
19029
 
19003
19030
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -19063,6 +19090,9 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
19063
19090
  /** EnterpriseUserEnrollmentRemoved orgMemberCustomFields. */
19064
19091
  public orgMemberCustomFields: string;
19065
19092
 
19093
+ /** EnterpriseUserEnrollmentRemoved isTelehealthEnabled. */
19094
+ public isTelehealthEnabled: boolean;
19095
+
19066
19096
  /**
19067
19097
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
19068
19098
  * @param [properties] Properties to set
@@ -19187,6 +19217,9 @@ export interface IEnterpriseUserEnrollmentAmended {
19187
19217
 
19188
19218
  /** EnterpriseUserEnrollmentAmended orgMemberCustomFields */
19189
19219
  orgMemberCustomFields?: (string|null);
19220
+
19221
+ /** EnterpriseUserEnrollmentAmended isTelehealthEnabled */
19222
+ isTelehealthEnabled?: (boolean|null);
19190
19223
  }
19191
19224
 
19192
19225
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -19249,6 +19282,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
19249
19282
  /** EnterpriseUserEnrollmentAmended orgMemberCustomFields. */
19250
19283
  public orgMemberCustomFields: string;
19251
19284
 
19285
+ /** EnterpriseUserEnrollmentAmended isTelehealthEnabled. */
19286
+ public isTelehealthEnabled: boolean;
19287
+
19252
19288
  /**
19253
19289
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
19254
19290
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -7756,6 +7756,7 @@ $root.b2b = (function() {
7756
7756
  * @property {boolean|null} [promoEmailsDisabled] Organization promoEmailsDisabled
7757
7757
  * @property {string|null} [healthHubId] Organization healthHubId
7758
7758
  * @property {string|null} [healthHubName] Organization healthHubName
7759
+ * @property {b2b.OrgRestrictBy|null} [restrictBy] Organization restrictBy
7759
7760
  */
7760
7761
 
7761
7762
  /**
@@ -7837,6 +7838,14 @@ $root.b2b = (function() {
7837
7838
  */
7838
7839
  Organization.prototype.healthHubName = "";
7839
7840
 
7841
+ /**
7842
+ * Organization restrictBy.
7843
+ * @member {b2b.OrgRestrictBy} restrictBy
7844
+ * @memberof b2b.Organization
7845
+ * @instance
7846
+ */
7847
+ Organization.prototype.restrictBy = 0;
7848
+
7840
7849
  /**
7841
7850
  * Creates a new Organization instance using the specified properties.
7842
7851
  * @function create
@@ -7877,6 +7886,8 @@ $root.b2b = (function() {
7877
7886
  writer.uint32(/* id 7, wireType 2 =*/58).string(message.healthHubId);
7878
7887
  if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
7879
7888
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.healthHubName);
7889
+ if (message.restrictBy != null && message.hasOwnProperty("restrictBy"))
7890
+ writer.uint32(/* id 9, wireType 0 =*/72).int32(message.restrictBy);
7880
7891
  return writer;
7881
7892
  };
7882
7893
 
@@ -7935,6 +7946,9 @@ $root.b2b = (function() {
7935
7946
  case 8:
7936
7947
  message.healthHubName = reader.string();
7937
7948
  break;
7949
+ case 9:
7950
+ message.restrictBy = reader.int32();
7951
+ break;
7938
7952
  default:
7939
7953
  reader.skipType(tag & 7);
7940
7954
  break;
@@ -8004,6 +8018,20 @@ $root.b2b = (function() {
8004
8018
  if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
8005
8019
  if (!$util.isString(message.healthHubName))
8006
8020
  return "healthHubName: string expected";
8021
+ if (message.restrictBy != null && message.hasOwnProperty("restrictBy"))
8022
+ switch (message.restrictBy) {
8023
+ default:
8024
+ return "restrictBy: enum value expected";
8025
+ case 0:
8026
+ case 1:
8027
+ case 2:
8028
+ case 3:
8029
+ case 4:
8030
+ case 5:
8031
+ case 6:
8032
+ case 7:
8033
+ break;
8034
+ }
8007
8035
  return null;
8008
8036
  };
8009
8037
 
@@ -8063,6 +8091,40 @@ $root.b2b = (function() {
8063
8091
  message.healthHubId = String(object.healthHubId);
8064
8092
  if (object.healthHubName != null)
8065
8093
  message.healthHubName = String(object.healthHubName);
8094
+ switch (object.restrictBy) {
8095
+ case "ORG_RESTRICT_BY_UNKNOWN":
8096
+ case 0:
8097
+ message.restrictBy = 0;
8098
+ break;
8099
+ case "ORG_RESTRICT_BY_UNRESTRICTED":
8100
+ case 1:
8101
+ message.restrictBy = 1;
8102
+ break;
8103
+ case "ORG_RESTRICT_BY_EMAIL_DOMAIN":
8104
+ case 2:
8105
+ message.restrictBy = 2;
8106
+ break;
8107
+ case "ORG_RESTRICT_BY_EMAIL_ADDRESS":
8108
+ case 3:
8109
+ message.restrictBy = 3;
8110
+ break;
8111
+ case "ORG_RESTRICT_BY_EMAIL_ELIGIBILITY_FILE":
8112
+ case 4:
8113
+ message.restrictBy = 4;
8114
+ break;
8115
+ case "ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD":
8116
+ case 5:
8117
+ message.restrictBy = 5;
8118
+ break;
8119
+ case "ORG_RESTRICT_BY_EMPLOYEE_ID":
8120
+ case 6:
8121
+ message.restrictBy = 6;
8122
+ break;
8123
+ case "ORG_RESTRICT_BY_SSO":
8124
+ case 7:
8125
+ message.restrictBy = 7;
8126
+ break;
8127
+ }
8066
8128
  return message;
8067
8129
  };
8068
8130
 
@@ -8088,6 +8150,7 @@ $root.b2b = (function() {
8088
8150
  object.promoEmailsDisabled = false;
8089
8151
  object.healthHubId = "";
8090
8152
  object.healthHubName = "";
8153
+ object.restrictBy = options.enums === String ? "ORG_RESTRICT_BY_UNKNOWN" : 0;
8091
8154
  }
8092
8155
  if (message.orgId != null && message.hasOwnProperty("orgId"))
8093
8156
  object.orgId = message.orgId;
@@ -8105,6 +8168,8 @@ $root.b2b = (function() {
8105
8168
  object.healthHubId = message.healthHubId;
8106
8169
  if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
8107
8170
  object.healthHubName = message.healthHubName;
8171
+ if (message.restrictBy != null && message.hasOwnProperty("restrictBy"))
8172
+ object.restrictBy = options.enums === String ? $root.b2b.OrgRestrictBy[message.restrictBy] : message.restrictBy;
8108
8173
  return object;
8109
8174
  };
8110
8175
 
@@ -8506,6 +8571,32 @@ $root.b2b = (function() {
8506
8571
  return B2BSubscriptionManagement;
8507
8572
  })();
8508
8573
 
8574
+ /**
8575
+ * OrgRestrictBy enum.
8576
+ * @name b2b.OrgRestrictBy
8577
+ * @enum {string}
8578
+ * @property {number} ORG_RESTRICT_BY_UNKNOWN=0 ORG_RESTRICT_BY_UNKNOWN value
8579
+ * @property {number} ORG_RESTRICT_BY_UNRESTRICTED=1 ORG_RESTRICT_BY_UNRESTRICTED value
8580
+ * @property {number} ORG_RESTRICT_BY_EMAIL_DOMAIN=2 ORG_RESTRICT_BY_EMAIL_DOMAIN value
8581
+ * @property {number} ORG_RESTRICT_BY_EMAIL_ADDRESS=3 ORG_RESTRICT_BY_EMAIL_ADDRESS value
8582
+ * @property {number} ORG_RESTRICT_BY_EMAIL_ELIGIBILITY_FILE=4 ORG_RESTRICT_BY_EMAIL_ELIGIBILITY_FILE value
8583
+ * @property {number} ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD=5 ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD value
8584
+ * @property {number} ORG_RESTRICT_BY_EMPLOYEE_ID=6 ORG_RESTRICT_BY_EMPLOYEE_ID value
8585
+ * @property {number} ORG_RESTRICT_BY_SSO=7 ORG_RESTRICT_BY_SSO value
8586
+ */
8587
+ b2b.OrgRestrictBy = (function() {
8588
+ var valuesById = {}, values = Object.create(valuesById);
8589
+ values[valuesById[0] = "ORG_RESTRICT_BY_UNKNOWN"] = 0;
8590
+ values[valuesById[1] = "ORG_RESTRICT_BY_UNRESTRICTED"] = 1;
8591
+ values[valuesById[2] = "ORG_RESTRICT_BY_EMAIL_DOMAIN"] = 2;
8592
+ values[valuesById[3] = "ORG_RESTRICT_BY_EMAIL_ADDRESS"] = 3;
8593
+ values[valuesById[4] = "ORG_RESTRICT_BY_EMAIL_ELIGIBILITY_FILE"] = 4;
8594
+ values[valuesById[5] = "ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD"] = 5;
8595
+ values[valuesById[6] = "ORG_RESTRICT_BY_EMPLOYEE_ID"] = 6;
8596
+ values[valuesById[7] = "ORG_RESTRICT_BY_SSO"] = 7;
8597
+ return values;
8598
+ })();
8599
+
8509
8600
  /**
8510
8601
  * OrgType enum.
8511
8602
  * @name b2b.OrgType
@@ -51848,6 +51939,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
51848
51939
  * @property {number|Long|null} [orgSubscriptionEndDate] EnterpriseUserEnrollmentCreated orgSubscriptionEndDate
51849
51940
  * @property {number|null} [orgMemberSubscriptionId] EnterpriseUserEnrollmentCreated orgMemberSubscriptionId
51850
51941
  * @property {string|null} [orgMemberCustomFields] EnterpriseUserEnrollmentCreated orgMemberCustomFields
51942
+ * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentCreated isTelehealthEnabled
51851
51943
  */
51852
51944
 
51853
51945
  /**
@@ -52001,6 +52093,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
52001
52093
  */
52002
52094
  EnterpriseUserEnrollmentCreated.prototype.orgMemberCustomFields = "";
52003
52095
 
52096
+ /**
52097
+ * EnterpriseUserEnrollmentCreated isTelehealthEnabled.
52098
+ * @member {boolean} isTelehealthEnabled
52099
+ * @memberof EnterpriseUserEnrollmentCreated
52100
+ * @instance
52101
+ */
52102
+ EnterpriseUserEnrollmentCreated.prototype.isTelehealthEnabled = false;
52103
+
52004
52104
  /**
52005
52105
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
52006
52106
  * @function create
@@ -52059,6 +52159,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
52059
52159
  writer.uint32(/* id 18, wireType 0 =*/144).uint32(message.orgMemberSubscriptionId);
52060
52160
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
52061
52161
  writer.uint32(/* id 19, wireType 2 =*/154).string(message.orgMemberCustomFields);
52162
+ if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
52163
+ writer.uint32(/* id 20, wireType 0 =*/160).bool(message.isTelehealthEnabled);
52062
52164
  return writer;
52063
52165
  };
52064
52166
 
@@ -52144,6 +52246,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
52144
52246
  case 19:
52145
52247
  message.orgMemberCustomFields = reader.string();
52146
52248
  break;
52249
+ case 20:
52250
+ message.isTelehealthEnabled = reader.bool();
52251
+ break;
52147
52252
  default:
52148
52253
  reader.skipType(tag & 7);
52149
52254
  break;
@@ -52246,6 +52351,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
52246
52351
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
52247
52352
  if (!$util.isString(message.orgMemberCustomFields))
52248
52353
  return "orgMemberCustomFields: string expected";
52354
+ if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
52355
+ if (typeof message.isTelehealthEnabled !== "boolean")
52356
+ return "isTelehealthEnabled: boolean expected";
52249
52357
  return null;
52250
52358
  };
52251
52359
 
@@ -52370,6 +52478,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
52370
52478
  message.orgMemberSubscriptionId = object.orgMemberSubscriptionId >>> 0;
52371
52479
  if (object.orgMemberCustomFields != null)
52372
52480
  message.orgMemberCustomFields = String(object.orgMemberCustomFields);
52481
+ if (object.isTelehealthEnabled != null)
52482
+ message.isTelehealthEnabled = Boolean(object.isTelehealthEnabled);
52373
52483
  return message;
52374
52484
  };
52375
52485
 
@@ -52424,6 +52534,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
52424
52534
  object.orgSubscriptionEndDate = options.longs === String ? "0" : 0;
52425
52535
  object.orgMemberSubscriptionId = 0;
52426
52536
  object.orgMemberCustomFields = "";
52537
+ object.isTelehealthEnabled = false;
52427
52538
  }
52428
52539
  if (message.userId != null && message.hasOwnProperty("userId"))
52429
52540
  object.userId = message.userId;
@@ -52474,6 +52585,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
52474
52585
  object.orgMemberSubscriptionId = message.orgMemberSubscriptionId;
52475
52586
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
52476
52587
  object.orgMemberCustomFields = message.orgMemberCustomFields;
52588
+ if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
52589
+ object.isTelehealthEnabled = message.isTelehealthEnabled;
52477
52590
  return object;
52478
52591
  };
52479
52592
 
@@ -52515,6 +52628,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
52515
52628
  * @property {number|Long|null} [orgSubscriptionEndDate] EnterpriseUserEnrollmentRemoved orgSubscriptionEndDate
52516
52629
  * @property {number|null} [orgMemberSubscriptionId] EnterpriseUserEnrollmentRemoved orgMemberSubscriptionId
52517
52630
  * @property {string|null} [orgMemberCustomFields] EnterpriseUserEnrollmentRemoved orgMemberCustomFields
52631
+ * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentRemoved isTelehealthEnabled
52518
52632
  */
52519
52633
 
52520
52634
  /**
@@ -52676,6 +52790,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
52676
52790
  */
52677
52791
  EnterpriseUserEnrollmentRemoved.prototype.orgMemberCustomFields = "";
52678
52792
 
52793
+ /**
52794
+ * EnterpriseUserEnrollmentRemoved isTelehealthEnabled.
52795
+ * @member {boolean} isTelehealthEnabled
52796
+ * @memberof EnterpriseUserEnrollmentRemoved
52797
+ * @instance
52798
+ */
52799
+ EnterpriseUserEnrollmentRemoved.prototype.isTelehealthEnabled = false;
52800
+
52679
52801
  /**
52680
52802
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
52681
52803
  * @function create
@@ -52736,6 +52858,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
52736
52858
  writer.uint32(/* id 19, wireType 0 =*/152).uint32(message.orgMemberSubscriptionId);
52737
52859
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
52738
52860
  writer.uint32(/* id 20, wireType 2 =*/162).string(message.orgMemberCustomFields);
52861
+ if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
52862
+ writer.uint32(/* id 21, wireType 0 =*/168).bool(message.isTelehealthEnabled);
52739
52863
  return writer;
52740
52864
  };
52741
52865
 
@@ -52824,6 +52948,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
52824
52948
  case 20:
52825
52949
  message.orgMemberCustomFields = reader.string();
52826
52950
  break;
52951
+ case 21:
52952
+ message.isTelehealthEnabled = reader.bool();
52953
+ break;
52827
52954
  default:
52828
52955
  reader.skipType(tag & 7);
52829
52956
  break;
@@ -52938,6 +53065,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
52938
53065
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
52939
53066
  if (!$util.isString(message.orgMemberCustomFields))
52940
53067
  return "orgMemberCustomFields: string expected";
53068
+ if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
53069
+ if (typeof message.isTelehealthEnabled !== "boolean")
53070
+ return "isTelehealthEnabled: boolean expected";
52941
53071
  return null;
52942
53072
  };
52943
53073
 
@@ -53088,6 +53218,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
53088
53218
  message.orgMemberSubscriptionId = object.orgMemberSubscriptionId >>> 0;
53089
53219
  if (object.orgMemberCustomFields != null)
53090
53220
  message.orgMemberCustomFields = String(object.orgMemberCustomFields);
53221
+ if (object.isTelehealthEnabled != null)
53222
+ message.isTelehealthEnabled = Boolean(object.isTelehealthEnabled);
53091
53223
  return message;
53092
53224
  };
53093
53225
 
@@ -53143,6 +53275,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
53143
53275
  object.orgSubscriptionEndDate = options.longs === String ? "0" : 0;
53144
53276
  object.orgMemberSubscriptionId = 0;
53145
53277
  object.orgMemberCustomFields = "";
53278
+ object.isTelehealthEnabled = false;
53146
53279
  }
53147
53280
  if (message.userId != null && message.hasOwnProperty("userId"))
53148
53281
  object.userId = message.userId;
@@ -53195,6 +53328,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
53195
53328
  object.orgMemberSubscriptionId = message.orgMemberSubscriptionId;
53196
53329
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
53197
53330
  object.orgMemberCustomFields = message.orgMemberCustomFields;
53331
+ if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
53332
+ object.isTelehealthEnabled = message.isTelehealthEnabled;
53198
53333
  return object;
53199
53334
  };
53200
53335
 
@@ -53235,6 +53370,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
53235
53370
  * @property {number|Long|null} [orgSubscriptionEndDate] EnterpriseUserEnrollmentAmended orgSubscriptionEndDate
53236
53371
  * @property {number|null} [orgMemberSubscriptionId] EnterpriseUserEnrollmentAmended orgMemberSubscriptionId
53237
53372
  * @property {string|null} [orgMemberCustomFields] EnterpriseUserEnrollmentAmended orgMemberCustomFields
53373
+ * @property {boolean|null} [isTelehealthEnabled] EnterpriseUserEnrollmentAmended isTelehealthEnabled
53238
53374
  */
53239
53375
 
53240
53376
  /**
@@ -53388,6 +53524,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
53388
53524
  */
53389
53525
  EnterpriseUserEnrollmentAmended.prototype.orgMemberCustomFields = "";
53390
53526
 
53527
+ /**
53528
+ * EnterpriseUserEnrollmentAmended isTelehealthEnabled.
53529
+ * @member {boolean} isTelehealthEnabled
53530
+ * @memberof EnterpriseUserEnrollmentAmended
53531
+ * @instance
53532
+ */
53533
+ EnterpriseUserEnrollmentAmended.prototype.isTelehealthEnabled = false;
53534
+
53391
53535
  /**
53392
53536
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
53393
53537
  * @function create
@@ -53446,6 +53590,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
53446
53590
  writer.uint32(/* id 18, wireType 0 =*/144).uint32(message.orgMemberSubscriptionId);
53447
53591
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
53448
53592
  writer.uint32(/* id 19, wireType 2 =*/154).string(message.orgMemberCustomFields);
53593
+ if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
53594
+ writer.uint32(/* id 20, wireType 0 =*/160).bool(message.isTelehealthEnabled);
53449
53595
  return writer;
53450
53596
  };
53451
53597
 
@@ -53531,6 +53677,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
53531
53677
  case 19:
53532
53678
  message.orgMemberCustomFields = reader.string();
53533
53679
  break;
53680
+ case 20:
53681
+ message.isTelehealthEnabled = reader.bool();
53682
+ break;
53534
53683
  default:
53535
53684
  reader.skipType(tag & 7);
53536
53685
  break;
@@ -53633,6 +53782,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
53633
53782
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
53634
53783
  if (!$util.isString(message.orgMemberCustomFields))
53635
53784
  return "orgMemberCustomFields: string expected";
53785
+ if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
53786
+ if (typeof message.isTelehealthEnabled !== "boolean")
53787
+ return "isTelehealthEnabled: boolean expected";
53636
53788
  return null;
53637
53789
  };
53638
53790
 
@@ -53757,6 +53909,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
53757
53909
  message.orgMemberSubscriptionId = object.orgMemberSubscriptionId >>> 0;
53758
53910
  if (object.orgMemberCustomFields != null)
53759
53911
  message.orgMemberCustomFields = String(object.orgMemberCustomFields);
53912
+ if (object.isTelehealthEnabled != null)
53913
+ message.isTelehealthEnabled = Boolean(object.isTelehealthEnabled);
53760
53914
  return message;
53761
53915
  };
53762
53916
 
@@ -53811,6 +53965,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
53811
53965
  object.orgSubscriptionEndDate = options.longs === String ? "0" : 0;
53812
53966
  object.orgMemberSubscriptionId = 0;
53813
53967
  object.orgMemberCustomFields = "";
53968
+ object.isTelehealthEnabled = false;
53814
53969
  }
53815
53970
  if (message.userId != null && message.hasOwnProperty("userId"))
53816
53971
  object.userId = message.userId;
@@ -53861,6 +54016,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
53861
54016
  object.orgMemberSubscriptionId = message.orgMemberSubscriptionId;
53862
54017
  if (message.orgMemberCustomFields != null && message.hasOwnProperty("orgMemberCustomFields"))
53863
54018
  object.orgMemberCustomFields = message.orgMemberCustomFields;
54019
+ if (message.isTelehealthEnabled != null && message.hasOwnProperty("isTelehealthEnabled"))
54020
+ object.isTelehealthEnabled = message.isTelehealthEnabled;
53864
54021
  return object;
53865
54022
  };
53866
54023
 
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.224.0"
19
+ "version": "1.226.0"
20
20
  }