@headspace/protos-events 1.752.0 → 1.753.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
@@ -28104,6 +28104,9 @@ export interface ISurveyResponse {
28104
28104
 
28105
28105
  /** SurveyResponse assignmentId */
28106
28106
  assignmentId?: (number|Long|null);
28107
+
28108
+ /** SurveyResponse totalScore */
28109
+ totalScore?: (number|null);
28107
28110
  }
28108
28111
 
28109
28112
  /** Represents a SurveyResponse. */
@@ -28145,6 +28148,9 @@ export class SurveyResponse implements ISurveyResponse {
28145
28148
  /** SurveyResponse assignmentId. */
28146
28149
  public assignmentId: (number|Long);
28147
28150
 
28151
+ /** SurveyResponse totalScore. */
28152
+ public totalScore: number;
28153
+
28148
28154
  /**
28149
28155
  * Creates a new SurveyResponse instance using the specified properties.
28150
28156
  * @param [properties] Properties to set
@@ -47038,6 +47044,9 @@ export interface IPHQAssessmentStarted {
47038
47044
 
47039
47045
  /** PHQAssessmentStarted startedAtIsoDate */
47040
47046
  startedAtIsoDate?: (string|null);
47047
+
47048
+ /** PHQAssessmentStarted assignmentId */
47049
+ assignmentId?: (number|Long|null);
47041
47050
  }
47042
47051
 
47043
47052
  /** Represents a PHQAssessmentStarted. */
@@ -47058,6 +47067,9 @@ export class PHQAssessmentStarted implements IPHQAssessmentStarted {
47058
47067
  /** PHQAssessmentStarted startedAtIsoDate. */
47059
47068
  public startedAtIsoDate: string;
47060
47069
 
47070
+ /** PHQAssessmentStarted assignmentId. */
47071
+ public assignmentId: (number|Long);
47072
+
47061
47073
  /**
47062
47074
  * Creates a new PHQAssessmentStarted instance using the specified properties.
47063
47075
  * @param [properties] Properties to set
@@ -47140,6 +47152,9 @@ export interface IPHQAssessmentCompleted {
47140
47152
 
47141
47153
  /** PHQAssessmentCompleted completedAtIsoDate */
47142
47154
  completedAtIsoDate?: (string|null);
47155
+
47156
+ /** PHQAssessmentCompleted assignmentId */
47157
+ assignmentId?: (number|Long|null);
47143
47158
  }
47144
47159
 
47145
47160
  /** Represents a PHQAssessmentCompleted. */
@@ -47160,6 +47175,9 @@ export class PHQAssessmentCompleted implements IPHQAssessmentCompleted {
47160
47175
  /** PHQAssessmentCompleted completedAtIsoDate. */
47161
47176
  public completedAtIsoDate: string;
47162
47177
 
47178
+ /** PHQAssessmentCompleted assignmentId. */
47179
+ public assignmentId: (number|Long);
47180
+
47163
47181
  /**
47164
47182
  * Creates a new PHQAssessmentCompleted instance using the specified properties.
47165
47183
  * @param [properties] Properties to set
@@ -50458,6 +50476,9 @@ export interface IPSSAssessmentCompleted {
50458
50476
 
50459
50477
  /** PSSAssessmentCompleted completedAtIsoDate */
50460
50478
  completedAtIsoDate?: (string|null);
50479
+
50480
+ /** PSSAssessmentCompleted assignmentId */
50481
+ assignmentId?: (number|Long|null);
50461
50482
  }
50462
50483
 
50463
50484
  /** Represents a PSSAssessmentCompleted. */
@@ -50478,6 +50499,9 @@ export class PSSAssessmentCompleted implements IPSSAssessmentCompleted {
50478
50499
  /** PSSAssessmentCompleted completedAtIsoDate. */
50479
50500
  public completedAtIsoDate: string;
50480
50501
 
50502
+ /** PSSAssessmentCompleted assignmentId. */
50503
+ public assignmentId: (number|Long);
50504
+
50481
50505
  /**
50482
50506
  * Creates a new PSSAssessmentCompleted instance using the specified properties.
50483
50507
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -79740,6 +79740,7 @@ $root.SurveyResponse = (function() {
79740
79740
  * @property {number|null} [gingerUserId] SurveyResponse gingerUserId
79741
79741
  * @property {string|null} [assignedAtIsoDate] SurveyResponse assignedAtIsoDate
79742
79742
  * @property {number|Long|null} [assignmentId] SurveyResponse assignmentId
79743
+ * @property {number|null} [totalScore] SurveyResponse totalScore
79743
79744
  */
79744
79745
 
79745
79746
  /**
@@ -79838,6 +79839,14 @@ $root.SurveyResponse = (function() {
79838
79839
  */
79839
79840
  SurveyResponse.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
79840
79841
 
79842
+ /**
79843
+ * SurveyResponse totalScore.
79844
+ * @member {number} totalScore
79845
+ * @memberof SurveyResponse
79846
+ * @instance
79847
+ */
79848
+ SurveyResponse.prototype.totalScore = 0;
79849
+
79841
79850
  /**
79842
79851
  * Creates a new SurveyResponse instance using the specified properties.
79843
79852
  * @function create
@@ -79883,6 +79892,8 @@ $root.SurveyResponse = (function() {
79883
79892
  writer.uint32(/* id 9, wireType 2 =*/74).string(message.assignedAtIsoDate);
79884
79893
  if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
79885
79894
  writer.uint32(/* id 10, wireType 0 =*/80).int64(message.assignmentId);
79895
+ if (message.totalScore != null && message.hasOwnProperty("totalScore"))
79896
+ writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.totalScore);
79886
79897
  return writer;
79887
79898
  };
79888
79899
 
@@ -79949,6 +79960,9 @@ $root.SurveyResponse = (function() {
79949
79960
  case 10:
79950
79961
  message.assignmentId = reader.int64();
79951
79962
  break;
79963
+ case 11:
79964
+ message.totalScore = reader.uint32();
79965
+ break;
79952
79966
  default:
79953
79967
  reader.skipType(tag & 7);
79954
79968
  break;
@@ -80020,6 +80034,9 @@ $root.SurveyResponse = (function() {
80020
80034
  if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
80021
80035
  if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
80022
80036
  return "assignmentId: integer|Long expected";
80037
+ if (message.totalScore != null && message.hasOwnProperty("totalScore"))
80038
+ if (!$util.isInteger(message.totalScore))
80039
+ return "totalScore: integer expected";
80023
80040
  return null;
80024
80041
  };
80025
80042
 
@@ -80070,6 +80087,8 @@ $root.SurveyResponse = (function() {
80070
80087
  message.assignmentId = object.assignmentId;
80071
80088
  else if (typeof object.assignmentId === "object")
80072
80089
  message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
80090
+ if (object.totalScore != null)
80091
+ message.totalScore = object.totalScore >>> 0;
80073
80092
  return message;
80074
80093
  };
80075
80094
 
@@ -80102,6 +80121,7 @@ $root.SurveyResponse = (function() {
80102
80121
  object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
80103
80122
  } else
80104
80123
  object.assignmentId = options.longs === String ? "0" : 0;
80124
+ object.totalScore = 0;
80105
80125
  }
80106
80126
  if (message.userId != null && message.hasOwnProperty("userId"))
80107
80127
  object.userId = message.userId;
@@ -80129,6 +80149,8 @@ $root.SurveyResponse = (function() {
80129
80149
  object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
80130
80150
  else
80131
80151
  object.assignmentId = options.longs === String ? $util.Long.prototype.toString.call(message.assignmentId) : options.longs === Number ? new $util.LongBits(message.assignmentId.low >>> 0, message.assignmentId.high >>> 0).toNumber() : message.assignmentId;
80152
+ if (message.totalScore != null && message.hasOwnProperty("totalScore"))
80153
+ object.totalScore = message.totalScore;
80132
80154
  return object;
80133
80155
  };
80134
80156
 
@@ -134018,6 +134040,7 @@ $root.PHQAssessmentStarted = (function() {
134018
134040
  * @property {string|null} [hsUserId] PHQAssessmentStarted hsUserId
134019
134041
  * @property {number|null} [gingerUserId] PHQAssessmentStarted gingerUserId
134020
134042
  * @property {string|null} [startedAtIsoDate] PHQAssessmentStarted startedAtIsoDate
134043
+ * @property {number|Long|null} [assignmentId] PHQAssessmentStarted assignmentId
134021
134044
  */
134022
134045
 
134023
134046
  /**
@@ -134059,6 +134082,14 @@ $root.PHQAssessmentStarted = (function() {
134059
134082
  */
134060
134083
  PHQAssessmentStarted.prototype.startedAtIsoDate = "";
134061
134084
 
134085
+ /**
134086
+ * PHQAssessmentStarted assignmentId.
134087
+ * @member {number|Long} assignmentId
134088
+ * @memberof PHQAssessmentStarted
134089
+ * @instance
134090
+ */
134091
+ PHQAssessmentStarted.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
134092
+
134062
134093
  /**
134063
134094
  * Creates a new PHQAssessmentStarted instance using the specified properties.
134064
134095
  * @function create
@@ -134089,6 +134120,8 @@ $root.PHQAssessmentStarted = (function() {
134089
134120
  writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerUserId);
134090
134121
  if (message.startedAtIsoDate != null && message.hasOwnProperty("startedAtIsoDate"))
134091
134122
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.startedAtIsoDate);
134123
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
134124
+ writer.uint32(/* id 4, wireType 0 =*/32).int64(message.assignmentId);
134092
134125
  return writer;
134093
134126
  };
134094
134127
 
@@ -134132,6 +134165,9 @@ $root.PHQAssessmentStarted = (function() {
134132
134165
  case 3:
134133
134166
  message.startedAtIsoDate = reader.string();
134134
134167
  break;
134168
+ case 4:
134169
+ message.assignmentId = reader.int64();
134170
+ break;
134135
134171
  default:
134136
134172
  reader.skipType(tag & 7);
134137
134173
  break;
@@ -134176,6 +134212,9 @@ $root.PHQAssessmentStarted = (function() {
134176
134212
  if (message.startedAtIsoDate != null && message.hasOwnProperty("startedAtIsoDate"))
134177
134213
  if (!$util.isString(message.startedAtIsoDate))
134178
134214
  return "startedAtIsoDate: string expected";
134215
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
134216
+ if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
134217
+ return "assignmentId: integer|Long expected";
134179
134218
  return null;
134180
134219
  };
134181
134220
 
@@ -134197,6 +134236,15 @@ $root.PHQAssessmentStarted = (function() {
134197
134236
  message.gingerUserId = object.gingerUserId >>> 0;
134198
134237
  if (object.startedAtIsoDate != null)
134199
134238
  message.startedAtIsoDate = String(object.startedAtIsoDate);
134239
+ if (object.assignmentId != null)
134240
+ if ($util.Long)
134241
+ (message.assignmentId = $util.Long.fromValue(object.assignmentId)).unsigned = false;
134242
+ else if (typeof object.assignmentId === "string")
134243
+ message.assignmentId = parseInt(object.assignmentId, 10);
134244
+ else if (typeof object.assignmentId === "number")
134245
+ message.assignmentId = object.assignmentId;
134246
+ else if (typeof object.assignmentId === "object")
134247
+ message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
134200
134248
  return message;
134201
134249
  };
134202
134250
 
@@ -134217,6 +134265,11 @@ $root.PHQAssessmentStarted = (function() {
134217
134265
  object.hsUserId = "";
134218
134266
  object.gingerUserId = 0;
134219
134267
  object.startedAtIsoDate = "";
134268
+ if ($util.Long) {
134269
+ var long = new $util.Long(0, 0, false);
134270
+ object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
134271
+ } else
134272
+ object.assignmentId = options.longs === String ? "0" : 0;
134220
134273
  }
134221
134274
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
134222
134275
  object.hsUserId = message.hsUserId;
@@ -134224,6 +134277,11 @@ $root.PHQAssessmentStarted = (function() {
134224
134277
  object.gingerUserId = message.gingerUserId;
134225
134278
  if (message.startedAtIsoDate != null && message.hasOwnProperty("startedAtIsoDate"))
134226
134279
  object.startedAtIsoDate = message.startedAtIsoDate;
134280
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
134281
+ if (typeof message.assignmentId === "number")
134282
+ object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
134283
+ else
134284
+ object.assignmentId = options.longs === String ? $util.Long.prototype.toString.call(message.assignmentId) : options.longs === Number ? new $util.LongBits(message.assignmentId.low >>> 0, message.assignmentId.high >>> 0).toNumber() : message.assignmentId;
134227
134285
  return object;
134228
134286
  };
134229
134287
 
@@ -134250,6 +134308,7 @@ $root.PHQAssessmentCompleted = (function() {
134250
134308
  * @property {string|null} [hsUserId] PHQAssessmentCompleted hsUserId
134251
134309
  * @property {number|null} [gingerUserId] PHQAssessmentCompleted gingerUserId
134252
134310
  * @property {string|null} [completedAtIsoDate] PHQAssessmentCompleted completedAtIsoDate
134311
+ * @property {number|Long|null} [assignmentId] PHQAssessmentCompleted assignmentId
134253
134312
  */
134254
134313
 
134255
134314
  /**
@@ -134291,6 +134350,14 @@ $root.PHQAssessmentCompleted = (function() {
134291
134350
  */
134292
134351
  PHQAssessmentCompleted.prototype.completedAtIsoDate = "";
134293
134352
 
134353
+ /**
134354
+ * PHQAssessmentCompleted assignmentId.
134355
+ * @member {number|Long} assignmentId
134356
+ * @memberof PHQAssessmentCompleted
134357
+ * @instance
134358
+ */
134359
+ PHQAssessmentCompleted.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
134360
+
134294
134361
  /**
134295
134362
  * Creates a new PHQAssessmentCompleted instance using the specified properties.
134296
134363
  * @function create
@@ -134321,6 +134388,8 @@ $root.PHQAssessmentCompleted = (function() {
134321
134388
  writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerUserId);
134322
134389
  if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
134323
134390
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.completedAtIsoDate);
134391
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
134392
+ writer.uint32(/* id 4, wireType 0 =*/32).int64(message.assignmentId);
134324
134393
  return writer;
134325
134394
  };
134326
134395
 
@@ -134364,6 +134433,9 @@ $root.PHQAssessmentCompleted = (function() {
134364
134433
  case 3:
134365
134434
  message.completedAtIsoDate = reader.string();
134366
134435
  break;
134436
+ case 4:
134437
+ message.assignmentId = reader.int64();
134438
+ break;
134367
134439
  default:
134368
134440
  reader.skipType(tag & 7);
134369
134441
  break;
@@ -134408,6 +134480,9 @@ $root.PHQAssessmentCompleted = (function() {
134408
134480
  if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
134409
134481
  if (!$util.isString(message.completedAtIsoDate))
134410
134482
  return "completedAtIsoDate: string expected";
134483
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
134484
+ if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
134485
+ return "assignmentId: integer|Long expected";
134411
134486
  return null;
134412
134487
  };
134413
134488
 
@@ -134429,6 +134504,15 @@ $root.PHQAssessmentCompleted = (function() {
134429
134504
  message.gingerUserId = object.gingerUserId >>> 0;
134430
134505
  if (object.completedAtIsoDate != null)
134431
134506
  message.completedAtIsoDate = String(object.completedAtIsoDate);
134507
+ if (object.assignmentId != null)
134508
+ if ($util.Long)
134509
+ (message.assignmentId = $util.Long.fromValue(object.assignmentId)).unsigned = false;
134510
+ else if (typeof object.assignmentId === "string")
134511
+ message.assignmentId = parseInt(object.assignmentId, 10);
134512
+ else if (typeof object.assignmentId === "number")
134513
+ message.assignmentId = object.assignmentId;
134514
+ else if (typeof object.assignmentId === "object")
134515
+ message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
134432
134516
  return message;
134433
134517
  };
134434
134518
 
@@ -134449,6 +134533,11 @@ $root.PHQAssessmentCompleted = (function() {
134449
134533
  object.hsUserId = "";
134450
134534
  object.gingerUserId = 0;
134451
134535
  object.completedAtIsoDate = "";
134536
+ if ($util.Long) {
134537
+ var long = new $util.Long(0, 0, false);
134538
+ object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
134539
+ } else
134540
+ object.assignmentId = options.longs === String ? "0" : 0;
134452
134541
  }
134453
134542
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
134454
134543
  object.hsUserId = message.hsUserId;
@@ -134456,6 +134545,11 @@ $root.PHQAssessmentCompleted = (function() {
134456
134545
  object.gingerUserId = message.gingerUserId;
134457
134546
  if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
134458
134547
  object.completedAtIsoDate = message.completedAtIsoDate;
134548
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
134549
+ if (typeof message.assignmentId === "number")
134550
+ object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
134551
+ else
134552
+ object.assignmentId = options.longs === String ? $util.Long.prototype.toString.call(message.assignmentId) : options.longs === Number ? new $util.LongBits(message.assignmentId.low >>> 0, message.assignmentId.high >>> 0).toNumber() : message.assignmentId;
134459
134553
  return object;
134460
134554
  };
134461
134555
 
@@ -143010,6 +143104,7 @@ $root.PSSAssessmentCompleted = (function() {
143010
143104
  * @property {string|null} [hsUserId] PSSAssessmentCompleted hsUserId
143011
143105
  * @property {number|null} [gingerUserId] PSSAssessmentCompleted gingerUserId
143012
143106
  * @property {string|null} [completedAtIsoDate] PSSAssessmentCompleted completedAtIsoDate
143107
+ * @property {number|Long|null} [assignmentId] PSSAssessmentCompleted assignmentId
143013
143108
  */
143014
143109
 
143015
143110
  /**
@@ -143051,6 +143146,14 @@ $root.PSSAssessmentCompleted = (function() {
143051
143146
  */
143052
143147
  PSSAssessmentCompleted.prototype.completedAtIsoDate = "";
143053
143148
 
143149
+ /**
143150
+ * PSSAssessmentCompleted assignmentId.
143151
+ * @member {number|Long} assignmentId
143152
+ * @memberof PSSAssessmentCompleted
143153
+ * @instance
143154
+ */
143155
+ PSSAssessmentCompleted.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
143156
+
143054
143157
  /**
143055
143158
  * Creates a new PSSAssessmentCompleted instance using the specified properties.
143056
143159
  * @function create
@@ -143081,6 +143184,8 @@ $root.PSSAssessmentCompleted = (function() {
143081
143184
  writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerUserId);
143082
143185
  if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
143083
143186
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.completedAtIsoDate);
143187
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
143188
+ writer.uint32(/* id 4, wireType 0 =*/32).int64(message.assignmentId);
143084
143189
  return writer;
143085
143190
  };
143086
143191
 
@@ -143124,6 +143229,9 @@ $root.PSSAssessmentCompleted = (function() {
143124
143229
  case 3:
143125
143230
  message.completedAtIsoDate = reader.string();
143126
143231
  break;
143232
+ case 4:
143233
+ message.assignmentId = reader.int64();
143234
+ break;
143127
143235
  default:
143128
143236
  reader.skipType(tag & 7);
143129
143237
  break;
@@ -143168,6 +143276,9 @@ $root.PSSAssessmentCompleted = (function() {
143168
143276
  if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
143169
143277
  if (!$util.isString(message.completedAtIsoDate))
143170
143278
  return "completedAtIsoDate: string expected";
143279
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
143280
+ if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
143281
+ return "assignmentId: integer|Long expected";
143171
143282
  return null;
143172
143283
  };
143173
143284
 
@@ -143189,6 +143300,15 @@ $root.PSSAssessmentCompleted = (function() {
143189
143300
  message.gingerUserId = object.gingerUserId >>> 0;
143190
143301
  if (object.completedAtIsoDate != null)
143191
143302
  message.completedAtIsoDate = String(object.completedAtIsoDate);
143303
+ if (object.assignmentId != null)
143304
+ if ($util.Long)
143305
+ (message.assignmentId = $util.Long.fromValue(object.assignmentId)).unsigned = false;
143306
+ else if (typeof object.assignmentId === "string")
143307
+ message.assignmentId = parseInt(object.assignmentId, 10);
143308
+ else if (typeof object.assignmentId === "number")
143309
+ message.assignmentId = object.assignmentId;
143310
+ else if (typeof object.assignmentId === "object")
143311
+ message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
143192
143312
  return message;
143193
143313
  };
143194
143314
 
@@ -143209,6 +143329,11 @@ $root.PSSAssessmentCompleted = (function() {
143209
143329
  object.hsUserId = "";
143210
143330
  object.gingerUserId = 0;
143211
143331
  object.completedAtIsoDate = "";
143332
+ if ($util.Long) {
143333
+ var long = new $util.Long(0, 0, false);
143334
+ object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
143335
+ } else
143336
+ object.assignmentId = options.longs === String ? "0" : 0;
143212
143337
  }
143213
143338
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
143214
143339
  object.hsUserId = message.hsUserId;
@@ -143216,6 +143341,11 @@ $root.PSSAssessmentCompleted = (function() {
143216
143341
  object.gingerUserId = message.gingerUserId;
143217
143342
  if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
143218
143343
  object.completedAtIsoDate = message.completedAtIsoDate;
143344
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
143345
+ if (typeof message.assignmentId === "number")
143346
+ object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
143347
+ else
143348
+ object.assignmentId = options.longs === String ? $util.Long.prototype.toString.call(message.assignmentId) : options.longs === Number ? new $util.LongBits(message.assignmentId.low >>> 0, message.assignmentId.high >>> 0).toNumber() : message.assignmentId;
143219
143349
  return object;
143220
143350
  };
143221
143351
 
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.752.0"
19
+ "version": "1.753.0"
20
20
  }