@headspace/protos-events 1.801.0 → 1.803.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
@@ -18386,6 +18386,9 @@ export namespace coaching {
18386
18386
 
18387
18387
  /** ScheduledCoachingSession coachEngagedAt */
18388
18388
  coachEngagedAt?: (number|Long|null);
18389
+
18390
+ /** ScheduledCoachingSession coachCancelled */
18391
+ coachCancelled?: (boolean|null);
18389
18392
  }
18390
18393
 
18391
18394
  /**
@@ -18472,6 +18475,9 @@ export namespace coaching {
18472
18475
  /** ScheduledCoachingSession coachEngagedAt. */
18473
18476
  public coachEngagedAt: (number|Long);
18474
18477
 
18478
+ /** ScheduledCoachingSession coachCancelled. */
18479
+ public coachCancelled: boolean;
18480
+
18475
18481
  /**
18476
18482
  * Creates a new ScheduledCoachingSession instance using the specified properties.
18477
18483
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -59510,6 +59510,7 @@ $root.coaching = (function() {
59510
59510
  * @property {number|Long|null} [closedAt] ScheduledCoachingSession closedAt
59511
59511
  * @property {boolean|null} [memberCancelled] ScheduledCoachingSession memberCancelled
59512
59512
  * @property {number|Long|null} [coachEngagedAt] ScheduledCoachingSession coachEngagedAt
59513
+ * @property {boolean|null} [coachCancelled] ScheduledCoachingSession coachCancelled
59513
59514
  */
59514
59515
 
59515
59516
  /**
@@ -59686,6 +59687,14 @@ $root.coaching = (function() {
59686
59687
  */
59687
59688
  ScheduledCoachingSession.prototype.coachEngagedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
59688
59689
 
59690
+ /**
59691
+ * ScheduledCoachingSession coachCancelled.
59692
+ * @member {boolean} coachCancelled
59693
+ * @memberof coaching.ScheduledCoachingSession
59694
+ * @instance
59695
+ */
59696
+ ScheduledCoachingSession.prototype.coachCancelled = false;
59697
+
59689
59698
  /**
59690
59699
  * Creates a new ScheduledCoachingSession instance using the specified properties.
59691
59700
  * @function create
@@ -59746,6 +59755,8 @@ $root.coaching = (function() {
59746
59755
  writer.uint32(/* id 17, wireType 0 =*/136).bool(message.memberCancelled);
59747
59756
  if (message.coachEngagedAt != null && Object.hasOwnProperty.call(message, "coachEngagedAt"))
59748
59757
  writer.uint32(/* id 18, wireType 0 =*/144).uint64(message.coachEngagedAt);
59758
+ if (message.coachCancelled != null && Object.hasOwnProperty.call(message, "coachCancelled"))
59759
+ writer.uint32(/* id 19, wireType 0 =*/152).bool(message.coachCancelled);
59749
59760
  return writer;
59750
59761
  };
59751
59762
 
@@ -59858,6 +59869,10 @@ $root.coaching = (function() {
59858
59869
  message.coachEngagedAt = reader.uint64();
59859
59870
  break;
59860
59871
  }
59872
+ case 19: {
59873
+ message.coachCancelled = reader.bool();
59874
+ break;
59875
+ }
59861
59876
  default:
59862
59877
  reader.skipType(tag & 7, long);
59863
59878
  break;
@@ -59964,6 +59979,9 @@ $root.coaching = (function() {
59964
59979
  if (message.coachEngagedAt != null && message.hasOwnProperty("coachEngagedAt"))
59965
59980
  if (!$util.isInteger(message.coachEngagedAt) && !(message.coachEngagedAt && $util.isInteger(message.coachEngagedAt.low) && $util.isInteger(message.coachEngagedAt.high)))
59966
59981
  return "coachEngagedAt: integer|Long expected";
59982
+ if (message.coachCancelled != null && message.hasOwnProperty("coachCancelled"))
59983
+ if (typeof message.coachCancelled !== "boolean")
59984
+ return "coachCancelled: boolean expected";
59967
59985
  return null;
59968
59986
  };
59969
59987
 
@@ -60115,6 +60133,8 @@ $root.coaching = (function() {
60115
60133
  message.coachEngagedAt = object.coachEngagedAt;
60116
60134
  else if (typeof object.coachEngagedAt === "object")
60117
60135
  message.coachEngagedAt = new $util.LongBits(object.coachEngagedAt.low >>> 0, object.coachEngagedAt.high >>> 0).toNumber(true);
60136
+ if (object.coachCancelled != null)
60137
+ message.coachCancelled = Boolean(object.coachCancelled);
60118
60138
  return message;
60119
60139
  };
60120
60140
 
@@ -60182,6 +60202,7 @@ $root.coaching = (function() {
60182
60202
  object.coachEngagedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
60183
60203
  } else
60184
60204
  object.coachEngagedAt = options.longs === String ? "0" : 0;
60205
+ object.coachCancelled = false;
60185
60206
  }
60186
60207
  if (message.id != null && message.hasOwnProperty("id"))
60187
60208
  object.id = message.id;
@@ -60243,6 +60264,8 @@ $root.coaching = (function() {
60243
60264
  object.coachEngagedAt = options.longs === String ? String(message.coachEngagedAt) : message.coachEngagedAt;
60244
60265
  else
60245
60266
  object.coachEngagedAt = options.longs === String ? $util.Long.prototype.toString.call(message.coachEngagedAt) : options.longs === Number ? new $util.LongBits(message.coachEngagedAt.low >>> 0, message.coachEngagedAt.high >>> 0).toNumber(true) : message.coachEngagedAt;
60267
+ if (message.coachCancelled != null && message.hasOwnProperty("coachCancelled"))
60268
+ object.coachCancelled = message.coachCancelled;
60246
60269
  return object;
60247
60270
  };
60248
60271
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "dependencies": {
3
3
  "@types/long": "^4.0.0",
4
4
  "long": "^4.0.0",
5
- "protobufjs": "^6.8.6"
5
+ "protobufjs": "^7.5.5"
6
6
  },
7
7
  "devDependencies": {
8
8
  "babel-core": "^6.26.3",
@@ -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.801.0"
19
+ "version": "1.803.0"
20
20
  }