@headspace/protos-events 1.601.0 → 1.602.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 +6 -6
- package/lib/index.js +27 -27
- package/package.json +1 -1
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
|
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
|
|
package/package.json
CHANGED