@headspace/protos-events 1.765.0 → 1.766.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
@@ -30980,6 +30980,15 @@ export class SleepcastDeleted implements ISleepcastDeleted {
30980
30980
  public toJSON(): { [k: string]: any };
30981
30981
  }
30982
30982
 
30983
+ /** CurrentAssessmentPath enum. */
30984
+ export enum CurrentAssessmentPath {
30985
+ CURRENT_ASSESSMENT_PATH_UNKNOWN = 0,
30986
+ CURRENT_ASSESSMENT_PATH_NONE = 1,
30987
+ CURRENT_ASSESSMENT_PATH_ACTIVE_CLINICAL = 2,
30988
+ CURRENT_ASSESSMENT_PATH_INACTIVE_CLINICAL = 3,
30989
+ CURRENT_ASSESSMENT_PATH_SUB_CLINICAL = 4
30990
+ }
30991
+
30983
30992
  /** Properties of a SurveyResponse. */
30984
30993
  export interface ISurveyResponse {
30985
30994
 
@@ -31015,6 +31024,9 @@ export interface ISurveyResponse {
31015
31024
 
31016
31025
  /** SurveyResponse totalScore */
31017
31026
  totalScore?: (number|null);
31027
+
31028
+ /** SurveyResponse path */
31029
+ path?: (CurrentAssessmentPath|null);
31018
31030
  }
31019
31031
 
31020
31032
  /** Represents a SurveyResponse. */
@@ -31059,6 +31071,9 @@ export class SurveyResponse implements ISurveyResponse {
31059
31071
  /** SurveyResponse totalScore. */
31060
31072
  public totalScore: number;
31061
31073
 
31074
+ /** SurveyResponse path. */
31075
+ public path: CurrentAssessmentPath;
31076
+
31062
31077
  /**
31063
31078
  * Creates a new SurveyResponse instance using the specified properties.
31064
31079
  * @param [properties] Properties to set
@@ -50016,6 +50031,18 @@ export interface IPHQAssessmentAssigned {
50016
50031
 
50017
50032
  /** PHQAssessmentAssigned assignmentId */
50018
50033
  assignmentId?: (number|Long|null);
50034
+
50035
+ /** PHQAssessmentAssigned activityId */
50036
+ activityId?: (string|null);
50037
+
50038
+ /** PHQAssessmentAssigned targetAssessment */
50039
+ targetAssessment?: (string|null);
50040
+
50041
+ /** PHQAssessmentAssigned sourceAssessment */
50042
+ sourceAssessment?: (string|null);
50043
+
50044
+ /** PHQAssessmentAssigned isFollowup */
50045
+ isFollowup?: (boolean|null);
50019
50046
  }
50020
50047
 
50021
50048
  /** Represents a PHQAssessmentAssigned. */
@@ -50039,6 +50066,18 @@ export class PHQAssessmentAssigned implements IPHQAssessmentAssigned {
50039
50066
  /** PHQAssessmentAssigned assignmentId. */
50040
50067
  public assignmentId: (number|Long);
50041
50068
 
50069
+ /** PHQAssessmentAssigned activityId. */
50070
+ public activityId: string;
50071
+
50072
+ /** PHQAssessmentAssigned targetAssessment. */
50073
+ public targetAssessment: string;
50074
+
50075
+ /** PHQAssessmentAssigned sourceAssessment. */
50076
+ public sourceAssessment: string;
50077
+
50078
+ /** PHQAssessmentAssigned isFollowup. */
50079
+ public isFollowup: boolean;
50080
+
50042
50081
  /**
50043
50082
  * Creates a new PHQAssessmentAssigned instance using the specified properties.
50044
50083
  * @param [properties] Properties to set
@@ -53340,6 +53379,18 @@ export interface IPSSAssessmentAssigned {
53340
53379
 
53341
53380
  /** PSSAssessmentAssigned assignmentId */
53342
53381
  assignmentId?: (number|Long|null);
53382
+
53383
+ /** PSSAssessmentAssigned activityId */
53384
+ activityId?: (string|null);
53385
+
53386
+ /** PSSAssessmentAssigned targetAssessment */
53387
+ targetAssessment?: (string|null);
53388
+
53389
+ /** PSSAssessmentAssigned sourceAssessment */
53390
+ sourceAssessment?: (string|null);
53391
+
53392
+ /** PSSAssessmentAssigned isFollowup */
53393
+ isFollowup?: (boolean|null);
53343
53394
  }
53344
53395
 
53345
53396
  /** Represents a PSSAssessmentAssigned. */
@@ -53363,6 +53414,18 @@ export class PSSAssessmentAssigned implements IPSSAssessmentAssigned {
53363
53414
  /** PSSAssessmentAssigned assignmentId. */
53364
53415
  public assignmentId: (number|Long);
53365
53416
 
53417
+ /** PSSAssessmentAssigned activityId. */
53418
+ public activityId: string;
53419
+
53420
+ /** PSSAssessmentAssigned targetAssessment. */
53421
+ public targetAssessment: string;
53422
+
53423
+ /** PSSAssessmentAssigned sourceAssessment. */
53424
+ public sourceAssessment: string;
53425
+
53426
+ /** PSSAssessmentAssigned isFollowup. */
53427
+ public isFollowup: boolean;
53428
+
53366
53429
  /**
53367
53430
  * Creates a new PSSAssessmentAssigned instance using the specified properties.
53368
53431
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -87672,6 +87672,26 @@ $root.SleepcastDeleted = (function() {
87672
87672
  return SleepcastDeleted;
87673
87673
  })();
87674
87674
 
87675
+ /**
87676
+ * CurrentAssessmentPath enum.
87677
+ * @name CurrentAssessmentPath
87678
+ * @enum {string}
87679
+ * @property {number} CURRENT_ASSESSMENT_PATH_UNKNOWN=0 CURRENT_ASSESSMENT_PATH_UNKNOWN value
87680
+ * @property {number} CURRENT_ASSESSMENT_PATH_NONE=1 CURRENT_ASSESSMENT_PATH_NONE value
87681
+ * @property {number} CURRENT_ASSESSMENT_PATH_ACTIVE_CLINICAL=2 CURRENT_ASSESSMENT_PATH_ACTIVE_CLINICAL value
87682
+ * @property {number} CURRENT_ASSESSMENT_PATH_INACTIVE_CLINICAL=3 CURRENT_ASSESSMENT_PATH_INACTIVE_CLINICAL value
87683
+ * @property {number} CURRENT_ASSESSMENT_PATH_SUB_CLINICAL=4 CURRENT_ASSESSMENT_PATH_SUB_CLINICAL value
87684
+ */
87685
+ $root.CurrentAssessmentPath = (function() {
87686
+ var valuesById = {}, values = Object.create(valuesById);
87687
+ values[valuesById[0] = "CURRENT_ASSESSMENT_PATH_UNKNOWN"] = 0;
87688
+ values[valuesById[1] = "CURRENT_ASSESSMENT_PATH_NONE"] = 1;
87689
+ values[valuesById[2] = "CURRENT_ASSESSMENT_PATH_ACTIVE_CLINICAL"] = 2;
87690
+ values[valuesById[3] = "CURRENT_ASSESSMENT_PATH_INACTIVE_CLINICAL"] = 3;
87691
+ values[valuesById[4] = "CURRENT_ASSESSMENT_PATH_SUB_CLINICAL"] = 4;
87692
+ return values;
87693
+ })();
87694
+
87675
87695
  $root.SurveyResponse = (function() {
87676
87696
 
87677
87697
  /**
@@ -87689,6 +87709,7 @@ $root.SurveyResponse = (function() {
87689
87709
  * @property {string|null} [assignedAtIsoDate] SurveyResponse assignedAtIsoDate
87690
87710
  * @property {number|Long|null} [assignmentId] SurveyResponse assignmentId
87691
87711
  * @property {number|null} [totalScore] SurveyResponse totalScore
87712
+ * @property {CurrentAssessmentPath|null} [path] SurveyResponse path
87692
87713
  */
87693
87714
 
87694
87715
  /**
@@ -87795,6 +87816,14 @@ $root.SurveyResponse = (function() {
87795
87816
  */
87796
87817
  SurveyResponse.prototype.totalScore = 0;
87797
87818
 
87819
+ /**
87820
+ * SurveyResponse path.
87821
+ * @member {CurrentAssessmentPath} path
87822
+ * @memberof SurveyResponse
87823
+ * @instance
87824
+ */
87825
+ SurveyResponse.prototype.path = 0;
87826
+
87798
87827
  /**
87799
87828
  * Creates a new SurveyResponse instance using the specified properties.
87800
87829
  * @function create
@@ -87842,6 +87871,8 @@ $root.SurveyResponse = (function() {
87842
87871
  writer.uint32(/* id 10, wireType 0 =*/80).int64(message.assignmentId);
87843
87872
  if (message.totalScore != null && message.hasOwnProperty("totalScore"))
87844
87873
  writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.totalScore);
87874
+ if (message.path != null && message.hasOwnProperty("path"))
87875
+ writer.uint32(/* id 12, wireType 0 =*/96).int32(message.path);
87845
87876
  return writer;
87846
87877
  };
87847
87878
 
@@ -87911,6 +87942,9 @@ $root.SurveyResponse = (function() {
87911
87942
  case 11:
87912
87943
  message.totalScore = reader.uint32();
87913
87944
  break;
87945
+ case 12:
87946
+ message.path = reader.int32();
87947
+ break;
87914
87948
  default:
87915
87949
  reader.skipType(tag & 7);
87916
87950
  break;
@@ -87985,6 +88019,17 @@ $root.SurveyResponse = (function() {
87985
88019
  if (message.totalScore != null && message.hasOwnProperty("totalScore"))
87986
88020
  if (!$util.isInteger(message.totalScore))
87987
88021
  return "totalScore: integer expected";
88022
+ if (message.path != null && message.hasOwnProperty("path"))
88023
+ switch (message.path) {
88024
+ default:
88025
+ return "path: enum value expected";
88026
+ case 0:
88027
+ case 1:
88028
+ case 2:
88029
+ case 3:
88030
+ case 4:
88031
+ break;
88032
+ }
87988
88033
  return null;
87989
88034
  };
87990
88035
 
@@ -88037,6 +88082,28 @@ $root.SurveyResponse = (function() {
88037
88082
  message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
88038
88083
  if (object.totalScore != null)
88039
88084
  message.totalScore = object.totalScore >>> 0;
88085
+ switch (object.path) {
88086
+ case "CURRENT_ASSESSMENT_PATH_UNKNOWN":
88087
+ case 0:
88088
+ message.path = 0;
88089
+ break;
88090
+ case "CURRENT_ASSESSMENT_PATH_NONE":
88091
+ case 1:
88092
+ message.path = 1;
88093
+ break;
88094
+ case "CURRENT_ASSESSMENT_PATH_ACTIVE_CLINICAL":
88095
+ case 2:
88096
+ message.path = 2;
88097
+ break;
88098
+ case "CURRENT_ASSESSMENT_PATH_INACTIVE_CLINICAL":
88099
+ case 3:
88100
+ message.path = 3;
88101
+ break;
88102
+ case "CURRENT_ASSESSMENT_PATH_SUB_CLINICAL":
88103
+ case 4:
88104
+ message.path = 4;
88105
+ break;
88106
+ }
88040
88107
  return message;
88041
88108
  };
88042
88109
 
@@ -88070,6 +88137,7 @@ $root.SurveyResponse = (function() {
88070
88137
  } else
88071
88138
  object.assignmentId = options.longs === String ? "0" : 0;
88072
88139
  object.totalScore = 0;
88140
+ object.path = options.enums === String ? "CURRENT_ASSESSMENT_PATH_UNKNOWN" : 0;
88073
88141
  }
88074
88142
  if (message.userId != null && message.hasOwnProperty("userId"))
88075
88143
  object.userId = message.userId;
@@ -88099,6 +88167,8 @@ $root.SurveyResponse = (function() {
88099
88167
  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;
88100
88168
  if (message.totalScore != null && message.hasOwnProperty("totalScore"))
88101
88169
  object.totalScore = message.totalScore;
88170
+ if (message.path != null && message.hasOwnProperty("path"))
88171
+ object.path = options.enums === String ? $root.CurrentAssessmentPath[message.path] : message.path;
88102
88172
  return object;
88103
88173
  };
88104
88174
 
@@ -142289,6 +142359,10 @@ $root.PHQAssessmentAssigned = (function() {
142289
142359
  * @property {number|null} [gingerUserId] PHQAssessmentAssigned gingerUserId
142290
142360
  * @property {string|null} [assignedAtIsoDate] PHQAssessmentAssigned assignedAtIsoDate
142291
142361
  * @property {number|Long|null} [assignmentId] PHQAssessmentAssigned assignmentId
142362
+ * @property {string|null} [activityId] PHQAssessmentAssigned activityId
142363
+ * @property {string|null} [targetAssessment] PHQAssessmentAssigned targetAssessment
142364
+ * @property {string|null} [sourceAssessment] PHQAssessmentAssigned sourceAssessment
142365
+ * @property {boolean|null} [isFollowup] PHQAssessmentAssigned isFollowup
142292
142366
  */
142293
142367
 
142294
142368
  /**
@@ -142338,6 +142412,38 @@ $root.PHQAssessmentAssigned = (function() {
142338
142412
  */
142339
142413
  PHQAssessmentAssigned.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
142340
142414
 
142415
+ /**
142416
+ * PHQAssessmentAssigned activityId.
142417
+ * @member {string} activityId
142418
+ * @memberof PHQAssessmentAssigned
142419
+ * @instance
142420
+ */
142421
+ PHQAssessmentAssigned.prototype.activityId = "";
142422
+
142423
+ /**
142424
+ * PHQAssessmentAssigned targetAssessment.
142425
+ * @member {string} targetAssessment
142426
+ * @memberof PHQAssessmentAssigned
142427
+ * @instance
142428
+ */
142429
+ PHQAssessmentAssigned.prototype.targetAssessment = "";
142430
+
142431
+ /**
142432
+ * PHQAssessmentAssigned sourceAssessment.
142433
+ * @member {string} sourceAssessment
142434
+ * @memberof PHQAssessmentAssigned
142435
+ * @instance
142436
+ */
142437
+ PHQAssessmentAssigned.prototype.sourceAssessment = "";
142438
+
142439
+ /**
142440
+ * PHQAssessmentAssigned isFollowup.
142441
+ * @member {boolean} isFollowup
142442
+ * @memberof PHQAssessmentAssigned
142443
+ * @instance
142444
+ */
142445
+ PHQAssessmentAssigned.prototype.isFollowup = false;
142446
+
142341
142447
  /**
142342
142448
  * Creates a new PHQAssessmentAssigned instance using the specified properties.
142343
142449
  * @function create
@@ -142370,6 +142476,14 @@ $root.PHQAssessmentAssigned = (function() {
142370
142476
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.assignedAtIsoDate);
142371
142477
  if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
142372
142478
  writer.uint32(/* id 4, wireType 0 =*/32).int64(message.assignmentId);
142479
+ if (message.activityId != null && message.hasOwnProperty("activityId"))
142480
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.activityId);
142481
+ if (message.targetAssessment != null && message.hasOwnProperty("targetAssessment"))
142482
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.targetAssessment);
142483
+ if (message.sourceAssessment != null && message.hasOwnProperty("sourceAssessment"))
142484
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.sourceAssessment);
142485
+ if (message.isFollowup != null && message.hasOwnProperty("isFollowup"))
142486
+ writer.uint32(/* id 8, wireType 0 =*/64).bool(message.isFollowup);
142373
142487
  return writer;
142374
142488
  };
142375
142489
 
@@ -142416,6 +142530,18 @@ $root.PHQAssessmentAssigned = (function() {
142416
142530
  case 4:
142417
142531
  message.assignmentId = reader.int64();
142418
142532
  break;
142533
+ case 5:
142534
+ message.activityId = reader.string();
142535
+ break;
142536
+ case 6:
142537
+ message.targetAssessment = reader.string();
142538
+ break;
142539
+ case 7:
142540
+ message.sourceAssessment = reader.string();
142541
+ break;
142542
+ case 8:
142543
+ message.isFollowup = reader.bool();
142544
+ break;
142419
142545
  default:
142420
142546
  reader.skipType(tag & 7);
142421
142547
  break;
@@ -142463,6 +142589,18 @@ $root.PHQAssessmentAssigned = (function() {
142463
142589
  if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
142464
142590
  if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
142465
142591
  return "assignmentId: integer|Long expected";
142592
+ if (message.activityId != null && message.hasOwnProperty("activityId"))
142593
+ if (!$util.isString(message.activityId))
142594
+ return "activityId: string expected";
142595
+ if (message.targetAssessment != null && message.hasOwnProperty("targetAssessment"))
142596
+ if (!$util.isString(message.targetAssessment))
142597
+ return "targetAssessment: string expected";
142598
+ if (message.sourceAssessment != null && message.hasOwnProperty("sourceAssessment"))
142599
+ if (!$util.isString(message.sourceAssessment))
142600
+ return "sourceAssessment: string expected";
142601
+ if (message.isFollowup != null && message.hasOwnProperty("isFollowup"))
142602
+ if (typeof message.isFollowup !== "boolean")
142603
+ return "isFollowup: boolean expected";
142466
142604
  return null;
142467
142605
  };
142468
142606
 
@@ -142493,6 +142631,14 @@ $root.PHQAssessmentAssigned = (function() {
142493
142631
  message.assignmentId = object.assignmentId;
142494
142632
  else if (typeof object.assignmentId === "object")
142495
142633
  message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
142634
+ if (object.activityId != null)
142635
+ message.activityId = String(object.activityId);
142636
+ if (object.targetAssessment != null)
142637
+ message.targetAssessment = String(object.targetAssessment);
142638
+ if (object.sourceAssessment != null)
142639
+ message.sourceAssessment = String(object.sourceAssessment);
142640
+ if (object.isFollowup != null)
142641
+ message.isFollowup = Boolean(object.isFollowup);
142496
142642
  return message;
142497
142643
  };
142498
142644
 
@@ -142518,6 +142664,10 @@ $root.PHQAssessmentAssigned = (function() {
142518
142664
  object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
142519
142665
  } else
142520
142666
  object.assignmentId = options.longs === String ? "0" : 0;
142667
+ object.activityId = "";
142668
+ object.targetAssessment = "";
142669
+ object.sourceAssessment = "";
142670
+ object.isFollowup = false;
142521
142671
  }
142522
142672
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
142523
142673
  object.hsUserId = message.hsUserId;
@@ -142530,6 +142680,14 @@ $root.PHQAssessmentAssigned = (function() {
142530
142680
  object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
142531
142681
  else
142532
142682
  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;
142683
+ if (message.activityId != null && message.hasOwnProperty("activityId"))
142684
+ object.activityId = message.activityId;
142685
+ if (message.targetAssessment != null && message.hasOwnProperty("targetAssessment"))
142686
+ object.targetAssessment = message.targetAssessment;
142687
+ if (message.sourceAssessment != null && message.hasOwnProperty("sourceAssessment"))
142688
+ object.sourceAssessment = message.sourceAssessment;
142689
+ if (message.isFollowup != null && message.hasOwnProperty("isFollowup"))
142690
+ object.isFollowup = message.isFollowup;
142533
142691
  return object;
142534
142692
  };
142535
142693
 
@@ -151085,6 +151243,10 @@ $root.PSSAssessmentAssigned = (function() {
151085
151243
  * @property {number|null} [gingerUserId] PSSAssessmentAssigned gingerUserId
151086
151244
  * @property {string|null} [assignedAtIsoDate] PSSAssessmentAssigned assignedAtIsoDate
151087
151245
  * @property {number|Long|null} [assignmentId] PSSAssessmentAssigned assignmentId
151246
+ * @property {string|null} [activityId] PSSAssessmentAssigned activityId
151247
+ * @property {string|null} [targetAssessment] PSSAssessmentAssigned targetAssessment
151248
+ * @property {string|null} [sourceAssessment] PSSAssessmentAssigned sourceAssessment
151249
+ * @property {boolean|null} [isFollowup] PSSAssessmentAssigned isFollowup
151088
151250
  */
151089
151251
 
151090
151252
  /**
@@ -151134,6 +151296,38 @@ $root.PSSAssessmentAssigned = (function() {
151134
151296
  */
151135
151297
  PSSAssessmentAssigned.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
151136
151298
 
151299
+ /**
151300
+ * PSSAssessmentAssigned activityId.
151301
+ * @member {string} activityId
151302
+ * @memberof PSSAssessmentAssigned
151303
+ * @instance
151304
+ */
151305
+ PSSAssessmentAssigned.prototype.activityId = "";
151306
+
151307
+ /**
151308
+ * PSSAssessmentAssigned targetAssessment.
151309
+ * @member {string} targetAssessment
151310
+ * @memberof PSSAssessmentAssigned
151311
+ * @instance
151312
+ */
151313
+ PSSAssessmentAssigned.prototype.targetAssessment = "";
151314
+
151315
+ /**
151316
+ * PSSAssessmentAssigned sourceAssessment.
151317
+ * @member {string} sourceAssessment
151318
+ * @memberof PSSAssessmentAssigned
151319
+ * @instance
151320
+ */
151321
+ PSSAssessmentAssigned.prototype.sourceAssessment = "";
151322
+
151323
+ /**
151324
+ * PSSAssessmentAssigned isFollowup.
151325
+ * @member {boolean} isFollowup
151326
+ * @memberof PSSAssessmentAssigned
151327
+ * @instance
151328
+ */
151329
+ PSSAssessmentAssigned.prototype.isFollowup = false;
151330
+
151137
151331
  /**
151138
151332
  * Creates a new PSSAssessmentAssigned instance using the specified properties.
151139
151333
  * @function create
@@ -151166,6 +151360,14 @@ $root.PSSAssessmentAssigned = (function() {
151166
151360
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.assignedAtIsoDate);
151167
151361
  if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
151168
151362
  writer.uint32(/* id 4, wireType 0 =*/32).int64(message.assignmentId);
151363
+ if (message.activityId != null && message.hasOwnProperty("activityId"))
151364
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.activityId);
151365
+ if (message.targetAssessment != null && message.hasOwnProperty("targetAssessment"))
151366
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.targetAssessment);
151367
+ if (message.sourceAssessment != null && message.hasOwnProperty("sourceAssessment"))
151368
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.sourceAssessment);
151369
+ if (message.isFollowup != null && message.hasOwnProperty("isFollowup"))
151370
+ writer.uint32(/* id 8, wireType 0 =*/64).bool(message.isFollowup);
151169
151371
  return writer;
151170
151372
  };
151171
151373
 
@@ -151212,6 +151414,18 @@ $root.PSSAssessmentAssigned = (function() {
151212
151414
  case 4:
151213
151415
  message.assignmentId = reader.int64();
151214
151416
  break;
151417
+ case 5:
151418
+ message.activityId = reader.string();
151419
+ break;
151420
+ case 6:
151421
+ message.targetAssessment = reader.string();
151422
+ break;
151423
+ case 7:
151424
+ message.sourceAssessment = reader.string();
151425
+ break;
151426
+ case 8:
151427
+ message.isFollowup = reader.bool();
151428
+ break;
151215
151429
  default:
151216
151430
  reader.skipType(tag & 7);
151217
151431
  break;
@@ -151259,6 +151473,18 @@ $root.PSSAssessmentAssigned = (function() {
151259
151473
  if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
151260
151474
  if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
151261
151475
  return "assignmentId: integer|Long expected";
151476
+ if (message.activityId != null && message.hasOwnProperty("activityId"))
151477
+ if (!$util.isString(message.activityId))
151478
+ return "activityId: string expected";
151479
+ if (message.targetAssessment != null && message.hasOwnProperty("targetAssessment"))
151480
+ if (!$util.isString(message.targetAssessment))
151481
+ return "targetAssessment: string expected";
151482
+ if (message.sourceAssessment != null && message.hasOwnProperty("sourceAssessment"))
151483
+ if (!$util.isString(message.sourceAssessment))
151484
+ return "sourceAssessment: string expected";
151485
+ if (message.isFollowup != null && message.hasOwnProperty("isFollowup"))
151486
+ if (typeof message.isFollowup !== "boolean")
151487
+ return "isFollowup: boolean expected";
151262
151488
  return null;
151263
151489
  };
151264
151490
 
@@ -151289,6 +151515,14 @@ $root.PSSAssessmentAssigned = (function() {
151289
151515
  message.assignmentId = object.assignmentId;
151290
151516
  else if (typeof object.assignmentId === "object")
151291
151517
  message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
151518
+ if (object.activityId != null)
151519
+ message.activityId = String(object.activityId);
151520
+ if (object.targetAssessment != null)
151521
+ message.targetAssessment = String(object.targetAssessment);
151522
+ if (object.sourceAssessment != null)
151523
+ message.sourceAssessment = String(object.sourceAssessment);
151524
+ if (object.isFollowup != null)
151525
+ message.isFollowup = Boolean(object.isFollowup);
151292
151526
  return message;
151293
151527
  };
151294
151528
 
@@ -151314,6 +151548,10 @@ $root.PSSAssessmentAssigned = (function() {
151314
151548
  object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
151315
151549
  } else
151316
151550
  object.assignmentId = options.longs === String ? "0" : 0;
151551
+ object.activityId = "";
151552
+ object.targetAssessment = "";
151553
+ object.sourceAssessment = "";
151554
+ object.isFollowup = false;
151317
151555
  }
151318
151556
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
151319
151557
  object.hsUserId = message.hsUserId;
@@ -151326,6 +151564,14 @@ $root.PSSAssessmentAssigned = (function() {
151326
151564
  object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
151327
151565
  else
151328
151566
  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;
151567
+ if (message.activityId != null && message.hasOwnProperty("activityId"))
151568
+ object.activityId = message.activityId;
151569
+ if (message.targetAssessment != null && message.hasOwnProperty("targetAssessment"))
151570
+ object.targetAssessment = message.targetAssessment;
151571
+ if (message.sourceAssessment != null && message.hasOwnProperty("sourceAssessment"))
151572
+ object.sourceAssessment = message.sourceAssessment;
151573
+ if (message.isFollowup != null && message.hasOwnProperty("isFollowup"))
151574
+ object.isFollowup = message.isFollowup;
151329
151575
  return object;
151330
151576
  };
151331
151577
 
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.765.0"
19
+ "version": "1.766.0"
20
20
  }