@headspace/protos-events 1.690.0 → 1.691.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
@@ -58600,6 +58600,12 @@ export namespace coaching {
58600
58600
 
58601
58601
  /** The medium format of the session. */
58602
58602
  sessionFormat?: (coaching.CoachingSessionFormat|null);
58603
+
58604
+ /** ScheduledCoachingSession engagedAt */
58605
+ engagedAt?: (number|Long|null);
58606
+
58607
+ /** ScheduledCoachingSession closedAt */
58608
+ closedAt?: (number|Long|null);
58603
58609
  }
58604
58610
 
58605
58611
  /**
@@ -58674,6 +58680,12 @@ export namespace coaching {
58674
58680
  /** The medium format of the session. */
58675
58681
  public sessionFormat: coaching.CoachingSessionFormat;
58676
58682
 
58683
+ /** ScheduledCoachingSession engagedAt. */
58684
+ public engagedAt: (number|Long);
58685
+
58686
+ /** ScheduledCoachingSession closedAt. */
58687
+ public closedAt: (number|Long);
58688
+
58677
58689
  /**
58678
58690
  * Creates a new ScheduledCoachingSession instance using the specified properties.
58679
58691
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -168357,6 +168357,8 @@ $root.coaching = (function() {
168357
168357
  * @property {string|null} [chatConversationId] A conversation between a Listener and a Caller is represented by a unique ChatConversation
168358
168358
  * See apps.listenerapp.models.ChatConversation
168359
168359
  * @property {coaching.CoachingSessionFormat|null} [sessionFormat] The medium format of the session.
168360
+ * @property {number|Long|null} [engagedAt] ScheduledCoachingSession engagedAt
168361
+ * @property {number|Long|null} [closedAt] ScheduledCoachingSession closedAt
168360
168362
  */
168361
168363
 
168362
168364
  /**
@@ -168501,6 +168503,22 @@ $root.coaching = (function() {
168501
168503
  */
168502
168504
  ScheduledCoachingSession.prototype.sessionFormat = 0;
168503
168505
 
168506
+ /**
168507
+ * ScheduledCoachingSession engagedAt.
168508
+ * @member {number|Long} engagedAt
168509
+ * @memberof coaching.ScheduledCoachingSession
168510
+ * @instance
168511
+ */
168512
+ ScheduledCoachingSession.prototype.engagedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
168513
+
168514
+ /**
168515
+ * ScheduledCoachingSession closedAt.
168516
+ * @member {number|Long} closedAt
168517
+ * @memberof coaching.ScheduledCoachingSession
168518
+ * @instance
168519
+ */
168520
+ ScheduledCoachingSession.prototype.closedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
168521
+
168504
168522
  /**
168505
168523
  * Creates a new ScheduledCoachingSession instance using the specified properties.
168506
168524
  * @function create
@@ -168553,6 +168571,10 @@ $root.coaching = (function() {
168553
168571
  writer.uint32(/* id 13, wireType 2 =*/106).string(message.chatConversationId);
168554
168572
  if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
168555
168573
  writer.uint32(/* id 14, wireType 0 =*/112).int32(message.sessionFormat);
168574
+ if (message.engagedAt != null && message.hasOwnProperty("engagedAt"))
168575
+ writer.uint32(/* id 15, wireType 0 =*/120).uint64(message.engagedAt);
168576
+ if (message.closedAt != null && message.hasOwnProperty("closedAt"))
168577
+ writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.closedAt);
168556
168578
  return writer;
168557
168579
  };
168558
168580
 
@@ -168629,6 +168651,12 @@ $root.coaching = (function() {
168629
168651
  case 14:
168630
168652
  message.sessionFormat = reader.int32();
168631
168653
  break;
168654
+ case 15:
168655
+ message.engagedAt = reader.uint64();
168656
+ break;
168657
+ case 16:
168658
+ message.closedAt = reader.uint64();
168659
+ break;
168632
168660
  default:
168633
168661
  reader.skipType(tag & 7);
168634
168662
  break;
@@ -168719,6 +168747,12 @@ $root.coaching = (function() {
168719
168747
  case 2:
168720
168748
  break;
168721
168749
  }
168750
+ if (message.engagedAt != null && message.hasOwnProperty("engagedAt"))
168751
+ if (!$util.isInteger(message.engagedAt) && !(message.engagedAt && $util.isInteger(message.engagedAt.low) && $util.isInteger(message.engagedAt.high)))
168752
+ return "engagedAt: integer|Long expected";
168753
+ if (message.closedAt != null && message.hasOwnProperty("closedAt"))
168754
+ if (!$util.isInteger(message.closedAt) && !(message.closedAt && $util.isInteger(message.closedAt.low) && $util.isInteger(message.closedAt.high)))
168755
+ return "closedAt: integer|Long expected";
168722
168756
  return null;
168723
168757
  };
168724
168758
 
@@ -168825,6 +168859,24 @@ $root.coaching = (function() {
168825
168859
  message.sessionFormat = 2;
168826
168860
  break;
168827
168861
  }
168862
+ if (object.engagedAt != null)
168863
+ if ($util.Long)
168864
+ (message.engagedAt = $util.Long.fromValue(object.engagedAt)).unsigned = true;
168865
+ else if (typeof object.engagedAt === "string")
168866
+ message.engagedAt = parseInt(object.engagedAt, 10);
168867
+ else if (typeof object.engagedAt === "number")
168868
+ message.engagedAt = object.engagedAt;
168869
+ else if (typeof object.engagedAt === "object")
168870
+ message.engagedAt = new $util.LongBits(object.engagedAt.low >>> 0, object.engagedAt.high >>> 0).toNumber(true);
168871
+ if (object.closedAt != null)
168872
+ if ($util.Long)
168873
+ (message.closedAt = $util.Long.fromValue(object.closedAt)).unsigned = true;
168874
+ else if (typeof object.closedAt === "string")
168875
+ message.closedAt = parseInt(object.closedAt, 10);
168876
+ else if (typeof object.closedAt === "number")
168877
+ message.closedAt = object.closedAt;
168878
+ else if (typeof object.closedAt === "object")
168879
+ message.closedAt = new $util.LongBits(object.closedAt.low >>> 0, object.closedAt.high >>> 0).toNumber(true);
168828
168880
  return message;
168829
168881
  };
168830
168882
 
@@ -168876,6 +168928,16 @@ $root.coaching = (function() {
168876
168928
  object.rescheduled = false;
168877
168929
  object.chatConversationId = "";
168878
168930
  object.sessionFormat = options.enums === String ? "COACHING_SESSION_FORMAT_UNKNOWN" : 0;
168931
+ if ($util.Long) {
168932
+ var long = new $util.Long(0, 0, true);
168933
+ object.engagedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
168934
+ } else
168935
+ object.engagedAt = options.longs === String ? "0" : 0;
168936
+ if ($util.Long) {
168937
+ var long = new $util.Long(0, 0, true);
168938
+ object.closedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
168939
+ } else
168940
+ object.closedAt = options.longs === String ? "0" : 0;
168879
168941
  }
168880
168942
  if (message.id != null && message.hasOwnProperty("id"))
168881
168943
  object.id = message.id;
@@ -168920,6 +168982,16 @@ $root.coaching = (function() {
168920
168982
  object.chatConversationId = message.chatConversationId;
168921
168983
  if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
168922
168984
  object.sessionFormat = options.enums === String ? $root.coaching.CoachingSessionFormat[message.sessionFormat] : message.sessionFormat;
168985
+ if (message.engagedAt != null && message.hasOwnProperty("engagedAt"))
168986
+ if (typeof message.engagedAt === "number")
168987
+ object.engagedAt = options.longs === String ? String(message.engagedAt) : message.engagedAt;
168988
+ else
168989
+ object.engagedAt = options.longs === String ? $util.Long.prototype.toString.call(message.engagedAt) : options.longs === Number ? new $util.LongBits(message.engagedAt.low >>> 0, message.engagedAt.high >>> 0).toNumber(true) : message.engagedAt;
168990
+ if (message.closedAt != null && message.hasOwnProperty("closedAt"))
168991
+ if (typeof message.closedAt === "number")
168992
+ object.closedAt = options.longs === String ? String(message.closedAt) : message.closedAt;
168993
+ else
168994
+ object.closedAt = options.longs === String ? $util.Long.prototype.toString.call(message.closedAt) : options.longs === Number ? new $util.LongBits(message.closedAt.low >>> 0, message.closedAt.high >>> 0).toNumber(true) : message.closedAt;
168923
168995
  return object;
168924
168996
  };
168925
168997
 
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.690.0"
19
+ "version": "1.691.0"
20
20
  }