@headspace/protos-events 1.750.0 → 1.752.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
@@ -28101,6 +28101,9 @@ export interface ISurveyResponse {
28101
28101
 
28102
28102
  /** SurveyResponse assignedAtIsoDate */
28103
28103
  assignedAtIsoDate?: (string|null);
28104
+
28105
+ /** SurveyResponse assignmentId */
28106
+ assignmentId?: (number|Long|null);
28104
28107
  }
28105
28108
 
28106
28109
  /** Represents a SurveyResponse. */
@@ -28139,6 +28142,9 @@ export class SurveyResponse implements ISurveyResponse {
28139
28142
  /** SurveyResponse assignedAtIsoDate. */
28140
28143
  public assignedAtIsoDate: string;
28141
28144
 
28145
+ /** SurveyResponse assignmentId. */
28146
+ public assignmentId: (number|Long);
28147
+
28142
28148
  /**
28143
28149
  * Creates a new SurveyResponse instance using the specified properties.
28144
28150
  * @param [properties] Properties to set
@@ -46924,6 +46930,9 @@ export interface IPHQAssessmentAssigned {
46924
46930
 
46925
46931
  /** PHQAssessmentAssigned assignedAtIsoDate */
46926
46932
  assignedAtIsoDate?: (string|null);
46933
+
46934
+ /** PHQAssessmentAssigned assignmentId */
46935
+ assignmentId?: (number|Long|null);
46927
46936
  }
46928
46937
 
46929
46938
  /** Represents a PHQAssessmentAssigned. */
@@ -46944,6 +46953,9 @@ export class PHQAssessmentAssigned implements IPHQAssessmentAssigned {
46944
46953
  /** PHQAssessmentAssigned assignedAtIsoDate. */
46945
46954
  public assignedAtIsoDate: string;
46946
46955
 
46956
+ /** PHQAssessmentAssigned assignmentId. */
46957
+ public assignmentId: (number|Long);
46958
+
46947
46959
  /**
46948
46960
  * Creates a new PHQAssessmentAssigned instance using the specified properties.
46949
46961
  * @param [properties] Properties to set
@@ -50230,6 +50242,9 @@ export interface IPSSAssessmentAssigned {
50230
50242
 
50231
50243
  /** PSSAssessmentAssigned assignedAtIsoDate */
50232
50244
  assignedAtIsoDate?: (string|null);
50245
+
50246
+ /** PSSAssessmentAssigned assignmentId */
50247
+ assignmentId?: (number|Long|null);
50233
50248
  }
50234
50249
 
50235
50250
  /** Represents a PSSAssessmentAssigned. */
@@ -50250,6 +50265,9 @@ export class PSSAssessmentAssigned implements IPSSAssessmentAssigned {
50250
50265
  /** PSSAssessmentAssigned assignedAtIsoDate. */
50251
50266
  public assignedAtIsoDate: string;
50252
50267
 
50268
+ /** PSSAssessmentAssigned assignmentId. */
50269
+ public assignmentId: (number|Long);
50270
+
50253
50271
  /**
50254
50272
  * Creates a new PSSAssessmentAssigned instance using the specified properties.
50255
50273
  * @param [properties] Properties to set
@@ -50332,6 +50350,9 @@ export interface IPSSAssessmentStarted {
50332
50350
 
50333
50351
  /** PSSAssessmentStarted startedAtIsoDate */
50334
50352
  startedAtIsoDate?: (string|null);
50353
+
50354
+ /** PSSAssessmentStarted assignmentId */
50355
+ assignmentId?: (number|Long|null);
50335
50356
  }
50336
50357
 
50337
50358
  /** Represents a PSSAssessmentStarted. */
@@ -50352,6 +50373,9 @@ export class PSSAssessmentStarted implements IPSSAssessmentStarted {
50352
50373
  /** PSSAssessmentStarted startedAtIsoDate. */
50353
50374
  public startedAtIsoDate: string;
50354
50375
 
50376
+ /** PSSAssessmentStarted assignmentId. */
50377
+ public assignmentId: (number|Long);
50378
+
50355
50379
  /**
50356
50380
  * Creates a new PSSAssessmentStarted instance using the specified properties.
50357
50381
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -79739,6 +79739,7 @@ $root.SurveyResponse = (function() {
79739
79739
  * @property {string|null} [id] SurveyResponse id
79740
79740
  * @property {number|null} [gingerUserId] SurveyResponse gingerUserId
79741
79741
  * @property {string|null} [assignedAtIsoDate] SurveyResponse assignedAtIsoDate
79742
+ * @property {number|Long|null} [assignmentId] SurveyResponse assignmentId
79742
79743
  */
79743
79744
 
79744
79745
  /**
@@ -79829,6 +79830,14 @@ $root.SurveyResponse = (function() {
79829
79830
  */
79830
79831
  SurveyResponse.prototype.assignedAtIsoDate = "";
79831
79832
 
79833
+ /**
79834
+ * SurveyResponse assignmentId.
79835
+ * @member {number|Long} assignmentId
79836
+ * @memberof SurveyResponse
79837
+ * @instance
79838
+ */
79839
+ SurveyResponse.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
79840
+
79832
79841
  /**
79833
79842
  * Creates a new SurveyResponse instance using the specified properties.
79834
79843
  * @function create
@@ -79872,6 +79881,8 @@ $root.SurveyResponse = (function() {
79872
79881
  writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.gingerUserId);
79873
79882
  if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
79874
79883
  writer.uint32(/* id 9, wireType 2 =*/74).string(message.assignedAtIsoDate);
79884
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
79885
+ writer.uint32(/* id 10, wireType 0 =*/80).int64(message.assignmentId);
79875
79886
  return writer;
79876
79887
  };
79877
79888
 
@@ -79935,6 +79946,9 @@ $root.SurveyResponse = (function() {
79935
79946
  case 9:
79936
79947
  message.assignedAtIsoDate = reader.string();
79937
79948
  break;
79949
+ case 10:
79950
+ message.assignmentId = reader.int64();
79951
+ break;
79938
79952
  default:
79939
79953
  reader.skipType(tag & 7);
79940
79954
  break;
@@ -80003,6 +80017,9 @@ $root.SurveyResponse = (function() {
80003
80017
  if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
80004
80018
  if (!$util.isString(message.assignedAtIsoDate))
80005
80019
  return "assignedAtIsoDate: string expected";
80020
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
80021
+ if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
80022
+ return "assignmentId: integer|Long expected";
80006
80023
  return null;
80007
80024
  };
80008
80025
 
@@ -80044,6 +80061,15 @@ $root.SurveyResponse = (function() {
80044
80061
  message.gingerUserId = object.gingerUserId >>> 0;
80045
80062
  if (object.assignedAtIsoDate != null)
80046
80063
  message.assignedAtIsoDate = String(object.assignedAtIsoDate);
80064
+ if (object.assignmentId != null)
80065
+ if ($util.Long)
80066
+ (message.assignmentId = $util.Long.fromValue(object.assignmentId)).unsigned = false;
80067
+ else if (typeof object.assignmentId === "string")
80068
+ message.assignmentId = parseInt(object.assignmentId, 10);
80069
+ else if (typeof object.assignmentId === "number")
80070
+ message.assignmentId = object.assignmentId;
80071
+ else if (typeof object.assignmentId === "object")
80072
+ message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
80047
80073
  return message;
80048
80074
  };
80049
80075
 
@@ -80071,6 +80097,11 @@ $root.SurveyResponse = (function() {
80071
80097
  object.id = "";
80072
80098
  object.gingerUserId = 0;
80073
80099
  object.assignedAtIsoDate = "";
80100
+ if ($util.Long) {
80101
+ var long = new $util.Long(0, 0, false);
80102
+ object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
80103
+ } else
80104
+ object.assignmentId = options.longs === String ? "0" : 0;
80074
80105
  }
80075
80106
  if (message.userId != null && message.hasOwnProperty("userId"))
80076
80107
  object.userId = message.userId;
@@ -80093,6 +80124,11 @@ $root.SurveyResponse = (function() {
80093
80124
  object.gingerUserId = message.gingerUserId;
80094
80125
  if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
80095
80126
  object.assignedAtIsoDate = message.assignedAtIsoDate;
80127
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
80128
+ if (typeof message.assignmentId === "number")
80129
+ object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
80130
+ else
80131
+ 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;
80096
80132
  return object;
80097
80133
  };
80098
80134
 
@@ -133714,6 +133750,7 @@ $root.PHQAssessmentAssigned = (function() {
133714
133750
  * @property {string|null} [hsUserId] PHQAssessmentAssigned hsUserId
133715
133751
  * @property {number|null} [gingerUserId] PHQAssessmentAssigned gingerUserId
133716
133752
  * @property {string|null} [assignedAtIsoDate] PHQAssessmentAssigned assignedAtIsoDate
133753
+ * @property {number|Long|null} [assignmentId] PHQAssessmentAssigned assignmentId
133717
133754
  */
133718
133755
 
133719
133756
  /**
@@ -133755,6 +133792,14 @@ $root.PHQAssessmentAssigned = (function() {
133755
133792
  */
133756
133793
  PHQAssessmentAssigned.prototype.assignedAtIsoDate = "";
133757
133794
 
133795
+ /**
133796
+ * PHQAssessmentAssigned assignmentId.
133797
+ * @member {number|Long} assignmentId
133798
+ * @memberof PHQAssessmentAssigned
133799
+ * @instance
133800
+ */
133801
+ PHQAssessmentAssigned.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
133802
+
133758
133803
  /**
133759
133804
  * Creates a new PHQAssessmentAssigned instance using the specified properties.
133760
133805
  * @function create
@@ -133785,6 +133830,8 @@ $root.PHQAssessmentAssigned = (function() {
133785
133830
  writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerUserId);
133786
133831
  if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
133787
133832
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.assignedAtIsoDate);
133833
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
133834
+ writer.uint32(/* id 4, wireType 0 =*/32).int64(message.assignmentId);
133788
133835
  return writer;
133789
133836
  };
133790
133837
 
@@ -133828,6 +133875,9 @@ $root.PHQAssessmentAssigned = (function() {
133828
133875
  case 3:
133829
133876
  message.assignedAtIsoDate = reader.string();
133830
133877
  break;
133878
+ case 4:
133879
+ message.assignmentId = reader.int64();
133880
+ break;
133831
133881
  default:
133832
133882
  reader.skipType(tag & 7);
133833
133883
  break;
@@ -133872,6 +133922,9 @@ $root.PHQAssessmentAssigned = (function() {
133872
133922
  if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
133873
133923
  if (!$util.isString(message.assignedAtIsoDate))
133874
133924
  return "assignedAtIsoDate: string expected";
133925
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
133926
+ if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
133927
+ return "assignmentId: integer|Long expected";
133875
133928
  return null;
133876
133929
  };
133877
133930
 
@@ -133893,6 +133946,15 @@ $root.PHQAssessmentAssigned = (function() {
133893
133946
  message.gingerUserId = object.gingerUserId >>> 0;
133894
133947
  if (object.assignedAtIsoDate != null)
133895
133948
  message.assignedAtIsoDate = String(object.assignedAtIsoDate);
133949
+ if (object.assignmentId != null)
133950
+ if ($util.Long)
133951
+ (message.assignmentId = $util.Long.fromValue(object.assignmentId)).unsigned = false;
133952
+ else if (typeof object.assignmentId === "string")
133953
+ message.assignmentId = parseInt(object.assignmentId, 10);
133954
+ else if (typeof object.assignmentId === "number")
133955
+ message.assignmentId = object.assignmentId;
133956
+ else if (typeof object.assignmentId === "object")
133957
+ message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
133896
133958
  return message;
133897
133959
  };
133898
133960
 
@@ -133913,6 +133975,11 @@ $root.PHQAssessmentAssigned = (function() {
133913
133975
  object.hsUserId = "";
133914
133976
  object.gingerUserId = 0;
133915
133977
  object.assignedAtIsoDate = "";
133978
+ if ($util.Long) {
133979
+ var long = new $util.Long(0, 0, false);
133980
+ object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
133981
+ } else
133982
+ object.assignmentId = options.longs === String ? "0" : 0;
133916
133983
  }
133917
133984
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
133918
133985
  object.hsUserId = message.hsUserId;
@@ -133920,6 +133987,11 @@ $root.PHQAssessmentAssigned = (function() {
133920
133987
  object.gingerUserId = message.gingerUserId;
133921
133988
  if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
133922
133989
  object.assignedAtIsoDate = message.assignedAtIsoDate;
133990
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
133991
+ if (typeof message.assignmentId === "number")
133992
+ object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
133993
+ else
133994
+ 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;
133923
133995
  return object;
133924
133996
  };
133925
133997
 
@@ -142402,6 +142474,7 @@ $root.PSSAssessmentAssigned = (function() {
142402
142474
  * @property {string|null} [hsUserId] PSSAssessmentAssigned hsUserId
142403
142475
  * @property {number|null} [gingerUserId] PSSAssessmentAssigned gingerUserId
142404
142476
  * @property {string|null} [assignedAtIsoDate] PSSAssessmentAssigned assignedAtIsoDate
142477
+ * @property {number|Long|null} [assignmentId] PSSAssessmentAssigned assignmentId
142405
142478
  */
142406
142479
 
142407
142480
  /**
@@ -142443,6 +142516,14 @@ $root.PSSAssessmentAssigned = (function() {
142443
142516
  */
142444
142517
  PSSAssessmentAssigned.prototype.assignedAtIsoDate = "";
142445
142518
 
142519
+ /**
142520
+ * PSSAssessmentAssigned assignmentId.
142521
+ * @member {number|Long} assignmentId
142522
+ * @memberof PSSAssessmentAssigned
142523
+ * @instance
142524
+ */
142525
+ PSSAssessmentAssigned.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
142526
+
142446
142527
  /**
142447
142528
  * Creates a new PSSAssessmentAssigned instance using the specified properties.
142448
142529
  * @function create
@@ -142473,6 +142554,8 @@ $root.PSSAssessmentAssigned = (function() {
142473
142554
  writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerUserId);
142474
142555
  if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
142475
142556
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.assignedAtIsoDate);
142557
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
142558
+ writer.uint32(/* id 4, wireType 0 =*/32).int64(message.assignmentId);
142476
142559
  return writer;
142477
142560
  };
142478
142561
 
@@ -142516,6 +142599,9 @@ $root.PSSAssessmentAssigned = (function() {
142516
142599
  case 3:
142517
142600
  message.assignedAtIsoDate = reader.string();
142518
142601
  break;
142602
+ case 4:
142603
+ message.assignmentId = reader.int64();
142604
+ break;
142519
142605
  default:
142520
142606
  reader.skipType(tag & 7);
142521
142607
  break;
@@ -142560,6 +142646,9 @@ $root.PSSAssessmentAssigned = (function() {
142560
142646
  if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
142561
142647
  if (!$util.isString(message.assignedAtIsoDate))
142562
142648
  return "assignedAtIsoDate: string expected";
142649
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
142650
+ if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
142651
+ return "assignmentId: integer|Long expected";
142563
142652
  return null;
142564
142653
  };
142565
142654
 
@@ -142581,6 +142670,15 @@ $root.PSSAssessmentAssigned = (function() {
142581
142670
  message.gingerUserId = object.gingerUserId >>> 0;
142582
142671
  if (object.assignedAtIsoDate != null)
142583
142672
  message.assignedAtIsoDate = String(object.assignedAtIsoDate);
142673
+ if (object.assignmentId != null)
142674
+ if ($util.Long)
142675
+ (message.assignmentId = $util.Long.fromValue(object.assignmentId)).unsigned = false;
142676
+ else if (typeof object.assignmentId === "string")
142677
+ message.assignmentId = parseInt(object.assignmentId, 10);
142678
+ else if (typeof object.assignmentId === "number")
142679
+ message.assignmentId = object.assignmentId;
142680
+ else if (typeof object.assignmentId === "object")
142681
+ message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
142584
142682
  return message;
142585
142683
  };
142586
142684
 
@@ -142601,6 +142699,11 @@ $root.PSSAssessmentAssigned = (function() {
142601
142699
  object.hsUserId = "";
142602
142700
  object.gingerUserId = 0;
142603
142701
  object.assignedAtIsoDate = "";
142702
+ if ($util.Long) {
142703
+ var long = new $util.Long(0, 0, false);
142704
+ object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
142705
+ } else
142706
+ object.assignmentId = options.longs === String ? "0" : 0;
142604
142707
  }
142605
142708
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
142606
142709
  object.hsUserId = message.hsUserId;
@@ -142608,6 +142711,11 @@ $root.PSSAssessmentAssigned = (function() {
142608
142711
  object.gingerUserId = message.gingerUserId;
142609
142712
  if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
142610
142713
  object.assignedAtIsoDate = message.assignedAtIsoDate;
142714
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
142715
+ if (typeof message.assignmentId === "number")
142716
+ object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
142717
+ else
142718
+ 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;
142611
142719
  return object;
142612
142720
  };
142613
142721
 
@@ -142634,6 +142742,7 @@ $root.PSSAssessmentStarted = (function() {
142634
142742
  * @property {string|null} [hsUserId] PSSAssessmentStarted hsUserId
142635
142743
  * @property {number|null} [gingerUserId] PSSAssessmentStarted gingerUserId
142636
142744
  * @property {string|null} [startedAtIsoDate] PSSAssessmentStarted startedAtIsoDate
142745
+ * @property {number|Long|null} [assignmentId] PSSAssessmentStarted assignmentId
142637
142746
  */
142638
142747
 
142639
142748
  /**
@@ -142675,6 +142784,14 @@ $root.PSSAssessmentStarted = (function() {
142675
142784
  */
142676
142785
  PSSAssessmentStarted.prototype.startedAtIsoDate = "";
142677
142786
 
142787
+ /**
142788
+ * PSSAssessmentStarted assignmentId.
142789
+ * @member {number|Long} assignmentId
142790
+ * @memberof PSSAssessmentStarted
142791
+ * @instance
142792
+ */
142793
+ PSSAssessmentStarted.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
142794
+
142678
142795
  /**
142679
142796
  * Creates a new PSSAssessmentStarted instance using the specified properties.
142680
142797
  * @function create
@@ -142705,6 +142822,8 @@ $root.PSSAssessmentStarted = (function() {
142705
142822
  writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerUserId);
142706
142823
  if (message.startedAtIsoDate != null && message.hasOwnProperty("startedAtIsoDate"))
142707
142824
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.startedAtIsoDate);
142825
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
142826
+ writer.uint32(/* id 4, wireType 0 =*/32).int64(message.assignmentId);
142708
142827
  return writer;
142709
142828
  };
142710
142829
 
@@ -142748,6 +142867,9 @@ $root.PSSAssessmentStarted = (function() {
142748
142867
  case 3:
142749
142868
  message.startedAtIsoDate = reader.string();
142750
142869
  break;
142870
+ case 4:
142871
+ message.assignmentId = reader.int64();
142872
+ break;
142751
142873
  default:
142752
142874
  reader.skipType(tag & 7);
142753
142875
  break;
@@ -142792,6 +142914,9 @@ $root.PSSAssessmentStarted = (function() {
142792
142914
  if (message.startedAtIsoDate != null && message.hasOwnProperty("startedAtIsoDate"))
142793
142915
  if (!$util.isString(message.startedAtIsoDate))
142794
142916
  return "startedAtIsoDate: string expected";
142917
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
142918
+ if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
142919
+ return "assignmentId: integer|Long expected";
142795
142920
  return null;
142796
142921
  };
142797
142922
 
@@ -142813,6 +142938,15 @@ $root.PSSAssessmentStarted = (function() {
142813
142938
  message.gingerUserId = object.gingerUserId >>> 0;
142814
142939
  if (object.startedAtIsoDate != null)
142815
142940
  message.startedAtIsoDate = String(object.startedAtIsoDate);
142941
+ if (object.assignmentId != null)
142942
+ if ($util.Long)
142943
+ (message.assignmentId = $util.Long.fromValue(object.assignmentId)).unsigned = false;
142944
+ else if (typeof object.assignmentId === "string")
142945
+ message.assignmentId = parseInt(object.assignmentId, 10);
142946
+ else if (typeof object.assignmentId === "number")
142947
+ message.assignmentId = object.assignmentId;
142948
+ else if (typeof object.assignmentId === "object")
142949
+ message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
142816
142950
  return message;
142817
142951
  };
142818
142952
 
@@ -142833,6 +142967,11 @@ $root.PSSAssessmentStarted = (function() {
142833
142967
  object.hsUserId = "";
142834
142968
  object.gingerUserId = 0;
142835
142969
  object.startedAtIsoDate = "";
142970
+ if ($util.Long) {
142971
+ var long = new $util.Long(0, 0, false);
142972
+ object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
142973
+ } else
142974
+ object.assignmentId = options.longs === String ? "0" : 0;
142836
142975
  }
142837
142976
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
142838
142977
  object.hsUserId = message.hsUserId;
@@ -142840,6 +142979,11 @@ $root.PSSAssessmentStarted = (function() {
142840
142979
  object.gingerUserId = message.gingerUserId;
142841
142980
  if (message.startedAtIsoDate != null && message.hasOwnProperty("startedAtIsoDate"))
142842
142981
  object.startedAtIsoDate = message.startedAtIsoDate;
142982
+ if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
142983
+ if (typeof message.assignmentId === "number")
142984
+ object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
142985
+ else
142986
+ 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;
142843
142987
  return object;
142844
142988
  };
142845
142989
 
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.750.0"
19
+ "version": "1.752.0"
20
20
  }