@headspace/protos-events 1.601.0 → 1.603.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
@@ -1469,6 +1469,9 @@ export namespace clinical {
1469
1469
 
1470
1470
  /** Coach email */
1471
1471
  email?: (string|null);
1472
+
1473
+ /** Coach roleDisplay */
1474
+ roleDisplay?: (clinical.ICoachRoleDisplay|null);
1472
1475
  }
1473
1476
 
1474
1477
  /** Represents a Coach. */
@@ -1526,6 +1529,9 @@ export namespace clinical {
1526
1529
  /** Coach email. */
1527
1530
  public email: string;
1528
1531
 
1532
+ /** Coach roleDisplay. */
1533
+ public roleDisplay?: (clinical.ICoachRoleDisplay|null);
1534
+
1529
1535
  /**
1530
1536
  * Creates a new Coach instance using the specified properties.
1531
1537
  * @param [properties] Properties to set
@@ -1812,9 +1818,6 @@ export namespace clinical {
1812
1818
 
1813
1819
  /** CoachRole roleType */
1814
1820
  roleType?: (clinical.CoachRoleType|null);
1815
-
1816
- /** CoachRole roleDisplay */
1817
- roleDisplay?: (clinical.ICoachRoleDisplay|null);
1818
1821
  }
1819
1822
 
1820
1823
  /** Represents a CoachRole. */
@@ -1832,9 +1835,6 @@ export namespace clinical {
1832
1835
  /** CoachRole roleType. */
1833
1836
  public roleType: clinical.CoachRoleType;
1834
1837
 
1835
- /** CoachRole roleDisplay. */
1836
- public roleDisplay?: (clinical.ICoachRoleDisplay|null);
1837
-
1838
1838
  /**
1839
1839
  * Creates a new CoachRole instance using the specified properties.
1840
1840
  * @param [properties] Properties to set
@@ -52038,6 +52038,9 @@ export interface IEnterpriseUserEnrollmentInitiated {
52038
52038
 
52039
52039
  /** EnterpriseUserEnrollmentInitiated subscriptionOrgId */
52040
52040
  subscriptionOrgId?: (number|null);
52041
+
52042
+ /** EnterpriseUserEnrollmentInitiated eapLanguagePreference */
52043
+ eapLanguagePreference?: (string|null);
52041
52044
  }
52042
52045
 
52043
52046
  /** Represents an EnterpriseUserEnrollmentInitiated. */
@@ -52082,6 +52085,9 @@ export class EnterpriseUserEnrollmentInitiated implements IEnterpriseUserEnrollm
52082
52085
  /** EnterpriseUserEnrollmentInitiated subscriptionOrgId. */
52083
52086
  public subscriptionOrgId: number;
52084
52087
 
52088
+ /** EnterpriseUserEnrollmentInitiated eapLanguagePreference. */
52089
+ public eapLanguagePreference: string;
52090
+
52085
52091
  /**
52086
52092
  * Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
52087
52093
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -4479,6 +4479,7 @@ $root.clinical = (function() {
4479
4479
  * Default is 0.5.
4480
4480
  * @property {string|null} [fullName] Coach fullName
4481
4481
  * @property {string|null} [email] Coach email
4482
+ * @property {clinical.ICoachRoleDisplay|null} [roleDisplay] Coach roleDisplay
4482
4483
  */
4483
4484
 
4484
4485
  /**
@@ -4602,6 +4603,14 @@ $root.clinical = (function() {
4602
4603
  */
4603
4604
  Coach.prototype.email = "";
4604
4605
 
4606
+ /**
4607
+ * Coach roleDisplay.
4608
+ * @member {clinical.ICoachRoleDisplay|null|undefined} roleDisplay
4609
+ * @memberof clinical.Coach
4610
+ * @instance
4611
+ */
4612
+ Coach.prototype.roleDisplay = null;
4613
+
4605
4614
  /**
4606
4615
  * Creates a new Coach instance using the specified properties.
4607
4616
  * @function create
@@ -4660,6 +4669,8 @@ $root.clinical = (function() {
4660
4669
  $root.clinical.CoachSpecialization.encode(message.deprecatedSpecializations[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
4661
4670
  if (message.email != null && message.hasOwnProperty("email"))
4662
4671
  writer.uint32(/* id 12, wireType 2 =*/98).string(message.email);
4672
+ if (message.roleDisplay != null && message.hasOwnProperty("roleDisplay"))
4673
+ $root.clinical.CoachRoleDisplay.encode(message.roleDisplay, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
4663
4674
  return writer;
4664
4675
  };
4665
4676
 
@@ -4748,6 +4759,9 @@ $root.clinical = (function() {
4748
4759
  case 12:
4749
4760
  message.email = reader.string();
4750
4761
  break;
4762
+ case 13:
4763
+ message.roleDisplay = $root.clinical.CoachRoleDisplay.decode(reader, reader.uint32());
4764
+ break;
4751
4765
  default:
4752
4766
  reader.skipType(tag & 7);
4753
4767
  break;
@@ -4948,6 +4962,11 @@ $root.clinical = (function() {
4948
4962
  if (message.email != null && message.hasOwnProperty("email"))
4949
4963
  if (!$util.isString(message.email))
4950
4964
  return "email: string expected";
4965
+ if (message.roleDisplay != null && message.hasOwnProperty("roleDisplay")) {
4966
+ var error = $root.clinical.CoachRoleDisplay.verify(message.roleDisplay);
4967
+ if (error)
4968
+ return "roleDisplay." + error;
4969
+ }
4951
4970
  return null;
4952
4971
  };
4953
4972
 
@@ -5443,6 +5462,11 @@ $root.clinical = (function() {
5443
5462
  message.fullName = String(object.fullName);
5444
5463
  if (object.email != null)
5445
5464
  message.email = String(object.email);
5465
+ if (object.roleDisplay != null) {
5466
+ if (typeof object.roleDisplay !== "object")
5467
+ throw TypeError(".clinical.Coach.roleDisplay: object expected");
5468
+ message.roleDisplay = $root.clinical.CoachRoleDisplay.fromObject(object.roleDisplay);
5469
+ }
5446
5470
  return message;
5447
5471
  };
5448
5472
 
@@ -5482,6 +5506,7 @@ $root.clinical = (function() {
5482
5506
  object.capacity = 0;
5483
5507
  object.fullName = "";
5484
5508
  object.email = "";
5509
+ object.roleDisplay = null;
5485
5510
  }
5486
5511
  if (message.id != null && message.hasOwnProperty("id"))
5487
5512
  object.id = message.id;
@@ -5525,6 +5550,8 @@ $root.clinical = (function() {
5525
5550
  }
5526
5551
  if (message.email != null && message.hasOwnProperty("email"))
5527
5552
  object.email = message.email;
5553
+ if (message.roleDisplay != null && message.hasOwnProperty("roleDisplay"))
5554
+ object.roleDisplay = $root.clinical.CoachRoleDisplay.toObject(message.roleDisplay, options);
5528
5555
  return object;
5529
5556
  };
5530
5557
 
@@ -6074,7 +6101,6 @@ $root.clinical = (function() {
6074
6101
  * @interface ICoachRole
6075
6102
  * @property {number|Long|null} [createdAt] CoachRole createdAt
6076
6103
  * @property {clinical.CoachRoleType|null} [roleType] CoachRole roleType
6077
- * @property {clinical.ICoachRoleDisplay|null} [roleDisplay] CoachRole roleDisplay
6078
6104
  */
6079
6105
 
6080
6106
  /**
@@ -6108,14 +6134,6 @@ $root.clinical = (function() {
6108
6134
  */
6109
6135
  CoachRole.prototype.roleType = 0;
6110
6136
 
6111
- /**
6112
- * CoachRole roleDisplay.
6113
- * @member {clinical.ICoachRoleDisplay|null|undefined} roleDisplay
6114
- * @memberof clinical.CoachRole
6115
- * @instance
6116
- */
6117
- CoachRole.prototype.roleDisplay = null;
6118
-
6119
6137
  /**
6120
6138
  * Creates a new CoachRole instance using the specified properties.
6121
6139
  * @function create
@@ -6144,8 +6162,6 @@ $root.clinical = (function() {
6144
6162
  writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.createdAt);
6145
6163
  if (message.roleType != null && message.hasOwnProperty("roleType"))
6146
6164
  writer.uint32(/* id 2, wireType 0 =*/16).int32(message.roleType);
6147
- if (message.roleDisplay != null && message.hasOwnProperty("roleDisplay"))
6148
- $root.clinical.CoachRoleDisplay.encode(message.roleDisplay, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
6149
6165
  return writer;
6150
6166
  };
6151
6167
 
@@ -6186,9 +6202,6 @@ $root.clinical = (function() {
6186
6202
  case 2:
6187
6203
  message.roleType = reader.int32();
6188
6204
  break;
6189
- case 3:
6190
- message.roleDisplay = $root.clinical.CoachRoleDisplay.decode(reader, reader.uint32());
6191
- break;
6192
6205
  default:
6193
6206
  reader.skipType(tag & 7);
6194
6207
  break;
@@ -6325,11 +6338,6 @@ $root.clinical = (function() {
6325
6338
  case 91:
6326
6339
  break;
6327
6340
  }
6328
- if (message.roleDisplay != null && message.hasOwnProperty("roleDisplay")) {
6329
- var error = $root.clinical.CoachRoleDisplay.verify(message.roleDisplay);
6330
- if (error)
6331
- return "roleDisplay." + error;
6332
- }
6333
6341
  return null;
6334
6342
  };
6335
6343
 
@@ -6724,11 +6732,6 @@ $root.clinical = (function() {
6724
6732
  message.roleType = 91;
6725
6733
  break;
6726
6734
  }
6727
- if (object.roleDisplay != null) {
6728
- if (typeof object.roleDisplay !== "object")
6729
- throw TypeError(".clinical.CoachRole.roleDisplay: object expected");
6730
- message.roleDisplay = $root.clinical.CoachRoleDisplay.fromObject(object.roleDisplay);
6731
- }
6732
6735
  return message;
6733
6736
  };
6734
6737
 
@@ -6752,7 +6755,6 @@ $root.clinical = (function() {
6752
6755
  } else
6753
6756
  object.createdAt = options.longs === String ? "0" : 0;
6754
6757
  object.roleType = options.enums === String ? "COACH_ROLE_TYPE_COACH_ROLE_UNKNOWN" : 0;
6755
- object.roleDisplay = null;
6756
6758
  }
6757
6759
  if (message.createdAt != null && message.hasOwnProperty("createdAt"))
6758
6760
  if (typeof message.createdAt === "number")
@@ -6761,8 +6763,6 @@ $root.clinical = (function() {
6761
6763
  object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
6762
6764
  if (message.roleType != null && message.hasOwnProperty("roleType"))
6763
6765
  object.roleType = options.enums === String ? $root.clinical.CoachRoleType[message.roleType] : message.roleType;
6764
- if (message.roleDisplay != null && message.hasOwnProperty("roleDisplay"))
6765
- object.roleDisplay = $root.clinical.CoachRoleDisplay.toObject(message.roleDisplay, options);
6766
6766
  return object;
6767
6767
  };
6768
6768
 
@@ -144456,6 +144456,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
144456
144456
  * @property {string|null} [languagePreference] EnterpriseUserEnrollmentInitiated languagePreference
144457
144457
  * @property {string|null} [dependentOf] EnterpriseUserEnrollmentInitiated dependentOf
144458
144458
  * @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentInitiated subscriptionOrgId
144459
+ * @property {string|null} [eapLanguagePreference] EnterpriseUserEnrollmentInitiated eapLanguagePreference
144459
144460
  */
144460
144461
 
144461
144462
  /**
@@ -144561,6 +144562,14 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
144561
144562
  */
144562
144563
  EnterpriseUserEnrollmentInitiated.prototype.subscriptionOrgId = 0;
144563
144564
 
144565
+ /**
144566
+ * EnterpriseUserEnrollmentInitiated eapLanguagePreference.
144567
+ * @member {string} eapLanguagePreference
144568
+ * @memberof EnterpriseUserEnrollmentInitiated
144569
+ * @instance
144570
+ */
144571
+ EnterpriseUserEnrollmentInitiated.prototype.eapLanguagePreference = "";
144572
+
144564
144573
  /**
144565
144574
  * Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
144566
144575
  * @function create
@@ -144607,6 +144616,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
144607
144616
  writer.uint32(/* id 10, wireType 2 =*/82).string(message.dependentOf);
144608
144617
  if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
144609
144618
  writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.subscriptionOrgId);
144619
+ if (message.eapLanguagePreference != null && message.hasOwnProperty("eapLanguagePreference"))
144620
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.eapLanguagePreference);
144610
144621
  return writer;
144611
144622
  };
144612
144623
 
@@ -144674,6 +144685,9 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
144674
144685
  case 11:
144675
144686
  message.subscriptionOrgId = reader.uint32();
144676
144687
  break;
144688
+ case 12:
144689
+ message.eapLanguagePreference = reader.string();
144690
+ break;
144677
144691
  default:
144678
144692
  reader.skipType(tag & 7);
144679
144693
  break;
@@ -144742,6 +144756,9 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
144742
144756
  if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
144743
144757
  if (!$util.isInteger(message.subscriptionOrgId))
144744
144758
  return "subscriptionOrgId: integer expected";
144759
+ if (message.eapLanguagePreference != null && message.hasOwnProperty("eapLanguagePreference"))
144760
+ if (!$util.isString(message.eapLanguagePreference))
144761
+ return "eapLanguagePreference: string expected";
144745
144762
  return null;
144746
144763
  };
144747
144764
 
@@ -144786,6 +144803,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
144786
144803
  message.dependentOf = String(object.dependentOf);
144787
144804
  if (object.subscriptionOrgId != null)
144788
144805
  message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
144806
+ if (object.eapLanguagePreference != null)
144807
+ message.eapLanguagePreference = String(object.eapLanguagePreference);
144789
144808
  return message;
144790
144809
  };
144791
144810
 
@@ -144818,6 +144837,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
144818
144837
  object.languagePreference = "";
144819
144838
  object.dependentOf = "";
144820
144839
  object.subscriptionOrgId = 0;
144840
+ object.eapLanguagePreference = "";
144821
144841
  }
144822
144842
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
144823
144843
  object.hsUserId = message.hsUserId;
@@ -144844,6 +144864,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
144844
144864
  object.dependentOf = message.dependentOf;
144845
144865
  if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
144846
144866
  object.subscriptionOrgId = message.subscriptionOrgId;
144867
+ if (message.eapLanguagePreference != null && message.hasOwnProperty("eapLanguagePreference"))
144868
+ object.eapLanguagePreference = message.eapLanguagePreference;
144847
144869
  return object;
144848
144870
  };
144849
144871
 
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.601.0"
19
+ "version": "1.603.0"
20
20
  }