@headspace/protos-events 1.687.0 → 1.688.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
@@ -56232,6 +56232,9 @@ export namespace clinical {
56232
56232
  * TODO: Only two values expected here, one in Okta and one in web
56233
56233
  */
56234
56234
  oktaIds?: (clinical.IAppUser[]|null);
56235
+
56236
+ /** Indicates whether automatic recording is enabled for this clinician's sessions */
56237
+ isAutoRecordEnabled?: (boolean|null);
56235
56238
  }
56236
56239
 
56237
56240
  /** Represents a Clinician. */
@@ -56306,6 +56309,9 @@ export namespace clinical {
56306
56309
  */
56307
56310
  public oktaIds: clinical.IAppUser[];
56308
56311
 
56312
+ /** Indicates whether automatic recording is enabled for this clinician's sessions */
56313
+ public isAutoRecordEnabled: boolean;
56314
+
56309
56315
  /**
56310
56316
  * Creates a new Clinician instance using the specified properties.
56311
56317
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -160504,6 +160504,7 @@ $root.clinical = (function() {
160504
160504
  * @property {string|null} [email] Clinician email
160505
160505
  * @property {Array.<clinical.IAppUser>|null} [oktaIds] ID of this clinician in Okta
160506
160506
  * TODO: Only two values expected here, one in Okta and one in web
160507
+ * @property {boolean|null} [isAutoRecordEnabled] Indicates whether automatic recording is enabled for this clinician's sessions
160507
160508
  */
160508
160509
 
160509
160510
  /**
@@ -160685,6 +160686,14 @@ $root.clinical = (function() {
160685
160686
  */
160686
160687
  Clinician.prototype.oktaIds = $util.emptyArray;
160687
160688
 
160689
+ /**
160690
+ * Indicates whether automatic recording is enabled for this clinician's sessions
160691
+ * @member {boolean} isAutoRecordEnabled
160692
+ * @memberof clinical.Clinician
160693
+ * @instance
160694
+ */
160695
+ Clinician.prototype.isAutoRecordEnabled = false;
160696
+
160688
160697
  /**
160689
160698
  * Creates a new Clinician instance using the specified properties.
160690
160699
  * @function create
@@ -160752,6 +160761,8 @@ $root.clinical = (function() {
160752
160761
  if (message.oktaIds != null && message.oktaIds.length)
160753
160762
  for (var i = 0; i < message.oktaIds.length; ++i)
160754
160763
  $root.clinical.AppUser.encode(message.oktaIds[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
160764
+ if (message.isAutoRecordEnabled != null && message.hasOwnProperty("isAutoRecordEnabled"))
160765
+ writer.uint32(/* id 21, wireType 0 =*/168).bool(message.isAutoRecordEnabled);
160755
160766
  return writer;
160756
160767
  };
160757
160768
 
@@ -160852,6 +160863,9 @@ $root.clinical = (function() {
160852
160863
  message.oktaIds = [];
160853
160864
  message.oktaIds.push($root.clinical.AppUser.decode(reader, reader.uint32()));
160854
160865
  break;
160866
+ case 21:
160867
+ message.isAutoRecordEnabled = reader.bool();
160868
+ break;
160855
160869
  default:
160856
160870
  reader.skipType(tag & 7);
160857
160871
  break;
@@ -161008,6 +161022,9 @@ $root.clinical = (function() {
161008
161022
  return "oktaIds." + error;
161009
161023
  }
161010
161024
  }
161025
+ if (message.isAutoRecordEnabled != null && message.hasOwnProperty("isAutoRecordEnabled"))
161026
+ if (typeof message.isAutoRecordEnabled !== "boolean")
161027
+ return "isAutoRecordEnabled: boolean expected";
161011
161028
  return null;
161012
161029
  };
161013
161030
 
@@ -161206,6 +161223,8 @@ $root.clinical = (function() {
161206
161223
  message.oktaIds[i] = $root.clinical.AppUser.fromObject(object.oktaIds[i]);
161207
161224
  }
161208
161225
  }
161226
+ if (object.isAutoRecordEnabled != null)
161227
+ message.isAutoRecordEnabled = Boolean(object.isAutoRecordEnabled);
161209
161228
  return message;
161210
161229
  };
161211
161230
 
@@ -161253,6 +161272,7 @@ $root.clinical = (function() {
161253
161272
  object.aboutMe = "";
161254
161273
  object.education = "";
161255
161274
  object.email = "";
161275
+ object.isAutoRecordEnabled = false;
161256
161276
  }
161257
161277
  if (message.id != null && message.hasOwnProperty("id"))
161258
161278
  object.id = message.id;
@@ -161309,6 +161329,8 @@ $root.clinical = (function() {
161309
161329
  for (var j = 0; j < message.oktaIds.length; ++j)
161310
161330
  object.oktaIds[j] = $root.clinical.AppUser.toObject(message.oktaIds[j], options);
161311
161331
  }
161332
+ if (message.isAutoRecordEnabled != null && message.hasOwnProperty("isAutoRecordEnabled"))
161333
+ object.isAutoRecordEnabled = message.isAutoRecordEnabled;
161312
161334
  return object;
161313
161335
  };
161314
161336
 
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.687.0"
19
+ "version": "1.688.0"
20
20
  }