@headspace/protos-events 1.751.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
@@ -50242,6 +50242,9 @@ export interface IPSSAssessmentAssigned {
50242
50242
 
50243
50243
  /** PSSAssessmentAssigned assignedAtIsoDate */
50244
50244
  assignedAtIsoDate?: (string|null);
50245
+
50246
+ /** PSSAssessmentAssigned assignmentId */
50247
+ assignmentId?: (number|Long|null);
50245
50248
  }
50246
50249
 
50247
50250
  /** Represents a PSSAssessmentAssigned. */
@@ -50262,6 +50265,9 @@ export class PSSAssessmentAssigned implements IPSSAssessmentAssigned {
50262
50265
  /** PSSAssessmentAssigned assignedAtIsoDate. */
50263
50266
  public assignedAtIsoDate: string;
50264
50267
 
50268
+ /** PSSAssessmentAssigned assignmentId. */
50269
+ public assignmentId: (number|Long);
50270
+
50265
50271
  /**
50266
50272
  * Creates a new PSSAssessmentAssigned instance using the specified properties.
50267
50273
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -142474,6 +142474,7 @@ $root.PSSAssessmentAssigned = (function() {
142474
142474
  * @property {string|null} [hsUserId] PSSAssessmentAssigned hsUserId
142475
142475
  * @property {number|null} [gingerUserId] PSSAssessmentAssigned gingerUserId
142476
142476
  * @property {string|null} [assignedAtIsoDate] PSSAssessmentAssigned assignedAtIsoDate
142477
+ * @property {number|Long|null} [assignmentId] PSSAssessmentAssigned assignmentId
142477
142478
  */
142478
142479
 
142479
142480
  /**
@@ -142515,6 +142516,14 @@ $root.PSSAssessmentAssigned = (function() {
142515
142516
  */
142516
142517
  PSSAssessmentAssigned.prototype.assignedAtIsoDate = "";
142517
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
+
142518
142527
  /**
142519
142528
  * Creates a new PSSAssessmentAssigned instance using the specified properties.
142520
142529
  * @function create
@@ -142545,6 +142554,8 @@ $root.PSSAssessmentAssigned = (function() {
142545
142554
  writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerUserId);
142546
142555
  if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
142547
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);
142548
142559
  return writer;
142549
142560
  };
142550
142561
 
@@ -142588,6 +142599,9 @@ $root.PSSAssessmentAssigned = (function() {
142588
142599
  case 3:
142589
142600
  message.assignedAtIsoDate = reader.string();
142590
142601
  break;
142602
+ case 4:
142603
+ message.assignmentId = reader.int64();
142604
+ break;
142591
142605
  default:
142592
142606
  reader.skipType(tag & 7);
142593
142607
  break;
@@ -142632,6 +142646,9 @@ $root.PSSAssessmentAssigned = (function() {
142632
142646
  if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
142633
142647
  if (!$util.isString(message.assignedAtIsoDate))
142634
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";
142635
142652
  return null;
142636
142653
  };
142637
142654
 
@@ -142653,6 +142670,15 @@ $root.PSSAssessmentAssigned = (function() {
142653
142670
  message.gingerUserId = object.gingerUserId >>> 0;
142654
142671
  if (object.assignedAtIsoDate != null)
142655
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();
142656
142682
  return message;
142657
142683
  };
142658
142684
 
@@ -142673,6 +142699,11 @@ $root.PSSAssessmentAssigned = (function() {
142673
142699
  object.hsUserId = "";
142674
142700
  object.gingerUserId = 0;
142675
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;
142676
142707
  }
142677
142708
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
142678
142709
  object.hsUserId = message.hsUserId;
@@ -142680,6 +142711,11 @@ $root.PSSAssessmentAssigned = (function() {
142680
142711
  object.gingerUserId = message.gingerUserId;
142681
142712
  if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
142682
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;
142683
142719
  return object;
142684
142720
  };
142685
142721
 
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.751.0"
19
+ "version": "1.752.0"
20
20
  }