@headspace/protos-events 1.784.0 → 1.785.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
@@ -66685,6 +66685,9 @@ export namespace coaching {
66685
66685
 
66686
66686
  /** CoachingAvailability source */
66687
66687
  source?: (coaching.CoachingAvailabilitySource|null);
66688
+
66689
+ /** CoachingAvailability type */
66690
+ type?: (coaching.CoachingAvailabilityType|null);
66688
66691
  }
66689
66692
 
66690
66693
  /** Represents a CoachingAvailability. */
@@ -66720,6 +66723,9 @@ export namespace coaching {
66720
66723
  /** CoachingAvailability source. */
66721
66724
  public source: coaching.CoachingAvailabilitySource;
66722
66725
 
66726
+ /** CoachingAvailability type. */
66727
+ public type: coaching.CoachingAvailabilityType;
66728
+
66723
66729
  /**
66724
66730
  * Creates a new CoachingAvailability instance using the specified properties.
66725
66731
  * @param [properties] Properties to set
@@ -67318,6 +67324,13 @@ export namespace coaching {
67318
67324
  COACHING_AVAILABILITY_SOURCE_UNTETHER = 4
67319
67325
  }
67320
67326
 
67327
+ /** CoachingAvailabilityType enum. */
67328
+ enum CoachingAvailabilityType {
67329
+ COACHING_AVAILABILITY_TYPE_UNKNOWN = 0,
67330
+ COACHING_AVAILABILITY_TYPE_CHAT = 1,
67331
+ COACHING_AVAILABILITY_TYPE_VIDEO = 2
67332
+ }
67333
+
67321
67334
  /** Properties of a ScheduledCoachingSession. */
67322
67335
  interface IScheduledCoachingSession {
67323
67336
 
package/lib/index.js CHANGED
@@ -191999,6 +191999,7 @@ $root.coaching = (function() {
191999
191999
  * @property {number|Long|null} [updatedAt] CoachingAvailability updatedAt
192000
192000
  * @property {coaching.CoachingAvailabilityStatus|null} [status] CoachingAvailability status
192001
192001
  * @property {coaching.CoachingAvailabilitySource|null} [source] CoachingAvailability source
192002
+ * @property {coaching.CoachingAvailabilityType|null} [type] CoachingAvailability type
192002
192003
  */
192003
192004
 
192004
192005
  /**
@@ -192080,6 +192081,14 @@ $root.coaching = (function() {
192080
192081
  */
192081
192082
  CoachingAvailability.prototype.source = 0;
192082
192083
 
192084
+ /**
192085
+ * CoachingAvailability type.
192086
+ * @member {coaching.CoachingAvailabilityType} type
192087
+ * @memberof coaching.CoachingAvailability
192088
+ * @instance
192089
+ */
192090
+ CoachingAvailability.prototype.type = 0;
192091
+
192083
192092
  /**
192084
192093
  * Creates a new CoachingAvailability instance using the specified properties.
192085
192094
  * @function create
@@ -192120,6 +192129,8 @@ $root.coaching = (function() {
192120
192129
  writer.uint32(/* id 7, wireType 0 =*/56).int32(message.status);
192121
192130
  if (message.source != null && message.hasOwnProperty("source"))
192122
192131
  writer.uint32(/* id 8, wireType 0 =*/64).int32(message.source);
192132
+ if (message.type != null && message.hasOwnProperty("type"))
192133
+ writer.uint32(/* id 9, wireType 0 =*/72).int32(message.type);
192123
192134
  return writer;
192124
192135
  };
192125
192136
 
@@ -192178,6 +192189,9 @@ $root.coaching = (function() {
192178
192189
  case 8:
192179
192190
  message.source = reader.int32();
192180
192191
  break;
192192
+ case 9:
192193
+ message.type = reader.int32();
192194
+ break;
192181
192195
  default:
192182
192196
  reader.skipType(tag & 7);
192183
192197
  break;
@@ -192251,6 +192265,15 @@ $root.coaching = (function() {
192251
192265
  case 4:
192252
192266
  break;
192253
192267
  }
192268
+ if (message.type != null && message.hasOwnProperty("type"))
192269
+ switch (message.type) {
192270
+ default:
192271
+ return "type: enum value expected";
192272
+ case 0:
192273
+ case 1:
192274
+ case 2:
192275
+ break;
192276
+ }
192254
192277
  return null;
192255
192278
  };
192256
192279
 
@@ -192335,6 +192358,20 @@ $root.coaching = (function() {
192335
192358
  message.source = 4;
192336
192359
  break;
192337
192360
  }
192361
+ switch (object.type) {
192362
+ case "COACHING_AVAILABILITY_TYPE_UNKNOWN":
192363
+ case 0:
192364
+ message.type = 0;
192365
+ break;
192366
+ case "COACHING_AVAILABILITY_TYPE_CHAT":
192367
+ case 1:
192368
+ message.type = 1;
192369
+ break;
192370
+ case "COACHING_AVAILABILITY_TYPE_VIDEO":
192371
+ case 2:
192372
+ message.type = 2;
192373
+ break;
192374
+ }
192338
192375
  return message;
192339
192376
  };
192340
192377
 
@@ -192372,6 +192409,7 @@ $root.coaching = (function() {
192372
192409
  object.updatedAt = options.longs === String ? "0" : 0;
192373
192410
  object.status = options.enums === String ? "COACHING_AVAILABILITY_STATUS_UNKNOWN" : 0;
192374
192411
  object.source = options.enums === String ? "COACHING_AVAILABILITY_SOURCE_UNKNOWN" : 0;
192412
+ object.type = options.enums === String ? "COACHING_AVAILABILITY_TYPE_UNKNOWN" : 0;
192375
192413
  }
192376
192414
  if (message.id != null && message.hasOwnProperty("id"))
192377
192415
  object.id = message.id;
@@ -192398,6 +192436,8 @@ $root.coaching = (function() {
192398
192436
  object.status = options.enums === String ? $root.coaching.CoachingAvailabilityStatus[message.status] : message.status;
192399
192437
  if (message.source != null && message.hasOwnProperty("source"))
192400
192438
  object.source = options.enums === String ? $root.coaching.CoachingAvailabilitySource[message.source] : message.source;
192439
+ if (message.type != null && message.hasOwnProperty("type"))
192440
+ object.type = options.enums === String ? $root.coaching.CoachingAvailabilityType[message.type] : message.type;
192401
192441
  return object;
192402
192442
  };
192403
192443
 
@@ -194048,6 +194088,22 @@ $root.coaching = (function() {
194048
194088
  return values;
194049
194089
  })();
194050
194090
 
194091
+ /**
194092
+ * CoachingAvailabilityType enum.
194093
+ * @name coaching.CoachingAvailabilityType
194094
+ * @enum {string}
194095
+ * @property {number} COACHING_AVAILABILITY_TYPE_UNKNOWN=0 COACHING_AVAILABILITY_TYPE_UNKNOWN value
194096
+ * @property {number} COACHING_AVAILABILITY_TYPE_CHAT=1 COACHING_AVAILABILITY_TYPE_CHAT value
194097
+ * @property {number} COACHING_AVAILABILITY_TYPE_VIDEO=2 COACHING_AVAILABILITY_TYPE_VIDEO value
194098
+ */
194099
+ coaching.CoachingAvailabilityType = (function() {
194100
+ var valuesById = {}, values = Object.create(valuesById);
194101
+ values[valuesById[0] = "COACHING_AVAILABILITY_TYPE_UNKNOWN"] = 0;
194102
+ values[valuesById[1] = "COACHING_AVAILABILITY_TYPE_CHAT"] = 1;
194103
+ values[valuesById[2] = "COACHING_AVAILABILITY_TYPE_VIDEO"] = 2;
194104
+ return values;
194105
+ })();
194106
+
194051
194107
  coaching.ScheduledCoachingSession = (function() {
194052
194108
 
194053
194109
  /**
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.784.0"
19
+ "version": "1.785.0"
20
20
  }