@headspace/protos-events 1.762.0 → 1.764.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
@@ -60767,6 +60767,9 @@ export namespace b2b {
60767
60767
 
60768
60768
  /** Organization m2mOrgSyncEnabled */
60769
60769
  m2mOrgSyncEnabled?: (boolean|null);
60770
+
60771
+ /** Organization isTextCoachingDisabled */
60772
+ isTextCoachingDisabled?: (boolean|null);
60770
60773
  }
60771
60774
 
60772
60775
  /** Represents an Organization. */
@@ -60862,6 +60865,9 @@ export namespace b2b {
60862
60865
  /** Organization m2mOrgSyncEnabled. */
60863
60866
  public m2mOrgSyncEnabled: boolean;
60864
60867
 
60868
+ /** Organization isTextCoachingDisabled. */
60869
+ public isTextCoachingDisabled: boolean;
60870
+
60865
60871
  /**
60866
60872
  * Creates a new Organization instance using the specified properties.
60867
60873
  * @param [properties] Properties to set
@@ -65951,6 +65957,9 @@ export namespace coaching {
65951
65957
 
65952
65958
  /** ScheduledCoachingSession memberCancelled */
65953
65959
  memberCancelled?: (boolean|null);
65960
+
65961
+ /** ScheduledCoachingSession coachEngagedAt */
65962
+ coachEngagedAt?: (number|Long|null);
65954
65963
  }
65955
65964
 
65956
65965
  /**
@@ -66034,6 +66043,9 @@ export namespace coaching {
66034
66043
  /** ScheduledCoachingSession memberCancelled. */
66035
66044
  public memberCancelled: boolean;
66036
66045
 
66046
+ /** ScheduledCoachingSession coachEngagedAt. */
66047
+ public coachEngagedAt: (number|Long);
66048
+
66037
66049
  /**
66038
66050
  * Creates a new ScheduledCoachingSession instance using the specified properties.
66039
66051
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -172168,6 +172168,7 @@ $root.b2b = (function() {
172168
172168
  * @property {string|null} [hierarchyMappingKey] Organization hierarchyMappingKey
172169
172169
  * @property {string|null} [hierarchyMappingValue] Organization hierarchyMappingValue
172170
172170
  * @property {boolean|null} [m2mOrgSyncEnabled] Organization m2mOrgSyncEnabled
172171
+ * @property {boolean|null} [isTextCoachingDisabled] Organization isTextCoachingDisabled
172171
172172
  */
172172
172173
 
172173
172174
  /**
@@ -172410,6 +172411,14 @@ $root.b2b = (function() {
172410
172411
  */
172411
172412
  Organization.prototype.m2mOrgSyncEnabled = false;
172412
172413
 
172414
+ /**
172415
+ * Organization isTextCoachingDisabled.
172416
+ * @member {boolean} isTextCoachingDisabled
172417
+ * @memberof b2b.Organization
172418
+ * @instance
172419
+ */
172420
+ Organization.prototype.isTextCoachingDisabled = false;
172421
+
172413
172422
  /**
172414
172423
  * Creates a new Organization instance using the specified properties.
172415
172424
  * @function create
@@ -172494,6 +172503,8 @@ $root.b2b = (function() {
172494
172503
  writer.uint32(/* id 28, wireType 2 =*/226).string(message.hierarchyMappingValue);
172495
172504
  if (message.m2mOrgSyncEnabled != null && message.hasOwnProperty("m2mOrgSyncEnabled"))
172496
172505
  writer.uint32(/* id 29, wireType 0 =*/232).bool(message.m2mOrgSyncEnabled);
172506
+ if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
172507
+ writer.uint32(/* id 30, wireType 0 =*/240).bool(message.isTextCoachingDisabled);
172497
172508
  return writer;
172498
172509
  };
172499
172510
 
@@ -172619,6 +172630,9 @@ $root.b2b = (function() {
172619
172630
  case 29:
172620
172631
  message.m2mOrgSyncEnabled = reader.bool();
172621
172632
  break;
172633
+ case 30:
172634
+ message.isTextCoachingDisabled = reader.bool();
172635
+ break;
172622
172636
  default:
172623
172637
  reader.skipType(tag & 7);
172624
172638
  break;
@@ -172773,6 +172787,9 @@ $root.b2b = (function() {
172773
172787
  if (message.m2mOrgSyncEnabled != null && message.hasOwnProperty("m2mOrgSyncEnabled"))
172774
172788
  if (typeof message.m2mOrgSyncEnabled !== "boolean")
172775
172789
  return "m2mOrgSyncEnabled: boolean expected";
172790
+ if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
172791
+ if (typeof message.isTextCoachingDisabled !== "boolean")
172792
+ return "isTextCoachingDisabled: boolean expected";
172776
172793
  return null;
172777
172794
  };
172778
172795
 
@@ -172939,6 +172956,8 @@ $root.b2b = (function() {
172939
172956
  message.hierarchyMappingValue = String(object.hierarchyMappingValue);
172940
172957
  if (object.m2mOrgSyncEnabled != null)
172941
172958
  message.m2mOrgSyncEnabled = Boolean(object.m2mOrgSyncEnabled);
172959
+ if (object.isTextCoachingDisabled != null)
172960
+ message.isTextCoachingDisabled = Boolean(object.isTextCoachingDisabled);
172942
172961
  return message;
172943
172962
  };
172944
172963
 
@@ -172985,6 +173004,7 @@ $root.b2b = (function() {
172985
173004
  object.hierarchyMappingKey = "";
172986
173005
  object.hierarchyMappingValue = "";
172987
173006
  object.m2mOrgSyncEnabled = false;
173007
+ object.isTextCoachingDisabled = false;
172988
173008
  }
172989
173009
  if (message.orgId != null && message.hasOwnProperty("orgId"))
172990
173010
  object.orgId = message.orgId;
@@ -173045,6 +173065,8 @@ $root.b2b = (function() {
173045
173065
  object.hierarchyMappingValue = message.hierarchyMappingValue;
173046
173066
  if (message.m2mOrgSyncEnabled != null && message.hasOwnProperty("m2mOrgSyncEnabled"))
173047
173067
  object.m2mOrgSyncEnabled = message.m2mOrgSyncEnabled;
173068
+ if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
173069
+ object.isTextCoachingDisabled = message.isTextCoachingDisabled;
173048
173070
  return object;
173049
173071
  };
173050
173072
 
@@ -189888,6 +189910,7 @@ $root.coaching = (function() {
189888
189910
  * @property {number|Long|null} [engagedAt] ScheduledCoachingSession engagedAt
189889
189911
  * @property {number|Long|null} [closedAt] ScheduledCoachingSession closedAt
189890
189912
  * @property {boolean|null} [memberCancelled] ScheduledCoachingSession memberCancelled
189913
+ * @property {number|Long|null} [coachEngagedAt] ScheduledCoachingSession coachEngagedAt
189891
189914
  */
189892
189915
 
189893
189916
  /**
@@ -190056,6 +190079,14 @@ $root.coaching = (function() {
190056
190079
  */
190057
190080
  ScheduledCoachingSession.prototype.memberCancelled = false;
190058
190081
 
190082
+ /**
190083
+ * ScheduledCoachingSession coachEngagedAt.
190084
+ * @member {number|Long} coachEngagedAt
190085
+ * @memberof coaching.ScheduledCoachingSession
190086
+ * @instance
190087
+ */
190088
+ ScheduledCoachingSession.prototype.coachEngagedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
190089
+
190059
190090
  /**
190060
190091
  * Creates a new ScheduledCoachingSession instance using the specified properties.
190061
190092
  * @function create
@@ -190114,6 +190145,8 @@ $root.coaching = (function() {
190114
190145
  writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.closedAt);
190115
190146
  if (message.memberCancelled != null && message.hasOwnProperty("memberCancelled"))
190116
190147
  writer.uint32(/* id 17, wireType 0 =*/136).bool(message.memberCancelled);
190148
+ if (message.coachEngagedAt != null && message.hasOwnProperty("coachEngagedAt"))
190149
+ writer.uint32(/* id 18, wireType 0 =*/144).uint64(message.coachEngagedAt);
190117
190150
  return writer;
190118
190151
  };
190119
190152
 
@@ -190199,6 +190232,9 @@ $root.coaching = (function() {
190199
190232
  case 17:
190200
190233
  message.memberCancelled = reader.bool();
190201
190234
  break;
190235
+ case 18:
190236
+ message.coachEngagedAt = reader.uint64();
190237
+ break;
190202
190238
  default:
190203
190239
  reader.skipType(tag & 7);
190204
190240
  break;
@@ -190298,6 +190334,9 @@ $root.coaching = (function() {
190298
190334
  if (message.memberCancelled != null && message.hasOwnProperty("memberCancelled"))
190299
190335
  if (typeof message.memberCancelled !== "boolean")
190300
190336
  return "memberCancelled: boolean expected";
190337
+ if (message.coachEngagedAt != null && message.hasOwnProperty("coachEngagedAt"))
190338
+ if (!$util.isInteger(message.coachEngagedAt) && !(message.coachEngagedAt && $util.isInteger(message.coachEngagedAt.low) && $util.isInteger(message.coachEngagedAt.high)))
190339
+ return "coachEngagedAt: integer|Long expected";
190301
190340
  return null;
190302
190341
  };
190303
190342
 
@@ -190424,6 +190463,15 @@ $root.coaching = (function() {
190424
190463
  message.closedAt = new $util.LongBits(object.closedAt.low >>> 0, object.closedAt.high >>> 0).toNumber(true);
190425
190464
  if (object.memberCancelled != null)
190426
190465
  message.memberCancelled = Boolean(object.memberCancelled);
190466
+ if (object.coachEngagedAt != null)
190467
+ if ($util.Long)
190468
+ (message.coachEngagedAt = $util.Long.fromValue(object.coachEngagedAt)).unsigned = true;
190469
+ else if (typeof object.coachEngagedAt === "string")
190470
+ message.coachEngagedAt = parseInt(object.coachEngagedAt, 10);
190471
+ else if (typeof object.coachEngagedAt === "number")
190472
+ message.coachEngagedAt = object.coachEngagedAt;
190473
+ else if (typeof object.coachEngagedAt === "object")
190474
+ message.coachEngagedAt = new $util.LongBits(object.coachEngagedAt.low >>> 0, object.coachEngagedAt.high >>> 0).toNumber(true);
190427
190475
  return message;
190428
190476
  };
190429
190477
 
@@ -190486,6 +190534,11 @@ $root.coaching = (function() {
190486
190534
  } else
190487
190535
  object.closedAt = options.longs === String ? "0" : 0;
190488
190536
  object.memberCancelled = false;
190537
+ if ($util.Long) {
190538
+ var long = new $util.Long(0, 0, true);
190539
+ object.coachEngagedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
190540
+ } else
190541
+ object.coachEngagedAt = options.longs === String ? "0" : 0;
190489
190542
  }
190490
190543
  if (message.id != null && message.hasOwnProperty("id"))
190491
190544
  object.id = message.id;
@@ -190542,6 +190595,11 @@ $root.coaching = (function() {
190542
190595
  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;
190543
190596
  if (message.memberCancelled != null && message.hasOwnProperty("memberCancelled"))
190544
190597
  object.memberCancelled = message.memberCancelled;
190598
+ if (message.coachEngagedAt != null && message.hasOwnProperty("coachEngagedAt"))
190599
+ if (typeof message.coachEngagedAt === "number")
190600
+ object.coachEngagedAt = options.longs === String ? String(message.coachEngagedAt) : message.coachEngagedAt;
190601
+ else
190602
+ 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;
190545
190603
  return object;
190546
190604
  };
190547
190605
 
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.762.0"
19
+ "version": "1.764.0"
20
20
  }