@headspace/protos-events 1.649.0 → 1.650.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
@@ -34812,6 +34812,12 @@ export interface ICoachingSessionCompleted {
34812
34812
 
34813
34813
  /** CoachingSessionCompleted eventDetail */
34814
34814
  eventDetail?: (IEventDetail|null);
34815
+
34816
+ /** CoachingSessionCompleted hsUserId */
34817
+ hsUserId?: (string|null);
34818
+
34819
+ /** CoachingSessionCompleted isScheduledCheckin */
34820
+ isScheduledCheckin?: (boolean|null);
34815
34821
  }
34816
34822
 
34817
34823
  /** Represents a CoachingSessionCompleted. */
@@ -34826,6 +34832,12 @@ export class CoachingSessionCompleted implements ICoachingSessionCompleted {
34826
34832
  /** CoachingSessionCompleted eventDetail. */
34827
34833
  public eventDetail?: (IEventDetail|null);
34828
34834
 
34835
+ /** CoachingSessionCompleted hsUserId. */
34836
+ public hsUserId: string;
34837
+
34838
+ /** CoachingSessionCompleted isScheduledCheckin. */
34839
+ public isScheduledCheckin: boolean;
34840
+
34829
34841
  /**
34830
34842
  * Creates a new CoachingSessionCompleted instance using the specified properties.
34831
34843
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -99030,6 +99030,8 @@ $root.CoachingSessionCompleted = (function() {
99030
99030
  * @name ICoachingSessionCompleted
99031
99031
  * @interface ICoachingSessionCompleted
99032
99032
  * @property {IEventDetail|null} [eventDetail] CoachingSessionCompleted eventDetail
99033
+ * @property {string|null} [hsUserId] CoachingSessionCompleted hsUserId
99034
+ * @property {boolean|null} [isScheduledCheckin] CoachingSessionCompleted isScheduledCheckin
99033
99035
  */
99034
99036
 
99035
99037
  /**
@@ -99055,6 +99057,22 @@ $root.CoachingSessionCompleted = (function() {
99055
99057
  */
99056
99058
  CoachingSessionCompleted.prototype.eventDetail = null;
99057
99059
 
99060
+ /**
99061
+ * CoachingSessionCompleted hsUserId.
99062
+ * @member {string} hsUserId
99063
+ * @memberof CoachingSessionCompleted
99064
+ * @instance
99065
+ */
99066
+ CoachingSessionCompleted.prototype.hsUserId = "";
99067
+
99068
+ /**
99069
+ * CoachingSessionCompleted isScheduledCheckin.
99070
+ * @member {boolean} isScheduledCheckin
99071
+ * @memberof CoachingSessionCompleted
99072
+ * @instance
99073
+ */
99074
+ CoachingSessionCompleted.prototype.isScheduledCheckin = false;
99075
+
99058
99076
  /**
99059
99077
  * Creates a new CoachingSessionCompleted instance using the specified properties.
99060
99078
  * @function create
@@ -99081,6 +99099,10 @@ $root.CoachingSessionCompleted = (function() {
99081
99099
  writer = $Writer.create();
99082
99100
  if (message.eventDetail != null && message.hasOwnProperty("eventDetail"))
99083
99101
  $root.EventDetail.encode(message.eventDetail, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
99102
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
99103
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsUserId);
99104
+ if (message.isScheduledCheckin != null && message.hasOwnProperty("isScheduledCheckin"))
99105
+ writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isScheduledCheckin);
99084
99106
  return writer;
99085
99107
  };
99086
99108
 
@@ -99118,6 +99140,12 @@ $root.CoachingSessionCompleted = (function() {
99118
99140
  case 1:
99119
99141
  message.eventDetail = $root.EventDetail.decode(reader, reader.uint32());
99120
99142
  break;
99143
+ case 2:
99144
+ message.hsUserId = reader.string();
99145
+ break;
99146
+ case 3:
99147
+ message.isScheduledCheckin = reader.bool();
99148
+ break;
99121
99149
  default:
99122
99150
  reader.skipType(tag & 7);
99123
99151
  break;
@@ -99158,6 +99186,12 @@ $root.CoachingSessionCompleted = (function() {
99158
99186
  if (error)
99159
99187
  return "eventDetail." + error;
99160
99188
  }
99189
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
99190
+ if (!$util.isString(message.hsUserId))
99191
+ return "hsUserId: string expected";
99192
+ if (message.isScheduledCheckin != null && message.hasOwnProperty("isScheduledCheckin"))
99193
+ if (typeof message.isScheduledCheckin !== "boolean")
99194
+ return "isScheduledCheckin: boolean expected";
99161
99195
  return null;
99162
99196
  };
99163
99197
 
@@ -99178,6 +99212,10 @@ $root.CoachingSessionCompleted = (function() {
99178
99212
  throw TypeError(".CoachingSessionCompleted.eventDetail: object expected");
99179
99213
  message.eventDetail = $root.EventDetail.fromObject(object.eventDetail);
99180
99214
  }
99215
+ if (object.hsUserId != null)
99216
+ message.hsUserId = String(object.hsUserId);
99217
+ if (object.isScheduledCheckin != null)
99218
+ message.isScheduledCheckin = Boolean(object.isScheduledCheckin);
99181
99219
  return message;
99182
99220
  };
99183
99221
 
@@ -99194,10 +99232,17 @@ $root.CoachingSessionCompleted = (function() {
99194
99232
  if (!options)
99195
99233
  options = {};
99196
99234
  var object = {};
99197
- if (options.defaults)
99235
+ if (options.defaults) {
99198
99236
  object.eventDetail = null;
99237
+ object.hsUserId = "";
99238
+ object.isScheduledCheckin = false;
99239
+ }
99199
99240
  if (message.eventDetail != null && message.hasOwnProperty("eventDetail"))
99200
99241
  object.eventDetail = $root.EventDetail.toObject(message.eventDetail, options);
99242
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
99243
+ object.hsUserId = message.hsUserId;
99244
+ if (message.isScheduledCheckin != null && message.hasOwnProperty("isScheduledCheckin"))
99245
+ object.isScheduledCheckin = message.isScheduledCheckin;
99201
99246
  return object;
99202
99247
  };
99203
99248
 
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.649.0"
19
+ "version": "1.650.0"
20
20
  }