@headspace/protos-events 1.762.0 → 1.763.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 +6 -0
- package/lib/index.js +36 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -65951,6 +65951,9 @@ export namespace coaching {
|
|
|
65951
65951
|
|
|
65952
65952
|
/** ScheduledCoachingSession memberCancelled */
|
|
65953
65953
|
memberCancelled?: (boolean|null);
|
|
65954
|
+
|
|
65955
|
+
/** ScheduledCoachingSession coachEngagedAt */
|
|
65956
|
+
coachEngagedAt?: (number|Long|null);
|
|
65954
65957
|
}
|
|
65955
65958
|
|
|
65956
65959
|
/**
|
|
@@ -66034,6 +66037,9 @@ export namespace coaching {
|
|
|
66034
66037
|
/** ScheduledCoachingSession memberCancelled. */
|
|
66035
66038
|
public memberCancelled: boolean;
|
|
66036
66039
|
|
|
66040
|
+
/** ScheduledCoachingSession coachEngagedAt. */
|
|
66041
|
+
public coachEngagedAt: (number|Long);
|
|
66042
|
+
|
|
66037
66043
|
/**
|
|
66038
66044
|
* Creates a new ScheduledCoachingSession instance using the specified properties.
|
|
66039
66045
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -189888,6 +189888,7 @@ $root.coaching = (function() {
|
|
|
189888
189888
|
* @property {number|Long|null} [engagedAt] ScheduledCoachingSession engagedAt
|
|
189889
189889
|
* @property {number|Long|null} [closedAt] ScheduledCoachingSession closedAt
|
|
189890
189890
|
* @property {boolean|null} [memberCancelled] ScheduledCoachingSession memberCancelled
|
|
189891
|
+
* @property {number|Long|null} [coachEngagedAt] ScheduledCoachingSession coachEngagedAt
|
|
189891
189892
|
*/
|
|
189892
189893
|
|
|
189893
189894
|
/**
|
|
@@ -190056,6 +190057,14 @@ $root.coaching = (function() {
|
|
|
190056
190057
|
*/
|
|
190057
190058
|
ScheduledCoachingSession.prototype.memberCancelled = false;
|
|
190058
190059
|
|
|
190060
|
+
/**
|
|
190061
|
+
* ScheduledCoachingSession coachEngagedAt.
|
|
190062
|
+
* @member {number|Long} coachEngagedAt
|
|
190063
|
+
* @memberof coaching.ScheduledCoachingSession
|
|
190064
|
+
* @instance
|
|
190065
|
+
*/
|
|
190066
|
+
ScheduledCoachingSession.prototype.coachEngagedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
190067
|
+
|
|
190059
190068
|
/**
|
|
190060
190069
|
* Creates a new ScheduledCoachingSession instance using the specified properties.
|
|
190061
190070
|
* @function create
|
|
@@ -190114,6 +190123,8 @@ $root.coaching = (function() {
|
|
|
190114
190123
|
writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.closedAt);
|
|
190115
190124
|
if (message.memberCancelled != null && message.hasOwnProperty("memberCancelled"))
|
|
190116
190125
|
writer.uint32(/* id 17, wireType 0 =*/136).bool(message.memberCancelled);
|
|
190126
|
+
if (message.coachEngagedAt != null && message.hasOwnProperty("coachEngagedAt"))
|
|
190127
|
+
writer.uint32(/* id 18, wireType 0 =*/144).uint64(message.coachEngagedAt);
|
|
190117
190128
|
return writer;
|
|
190118
190129
|
};
|
|
190119
190130
|
|
|
@@ -190199,6 +190210,9 @@ $root.coaching = (function() {
|
|
|
190199
190210
|
case 17:
|
|
190200
190211
|
message.memberCancelled = reader.bool();
|
|
190201
190212
|
break;
|
|
190213
|
+
case 18:
|
|
190214
|
+
message.coachEngagedAt = reader.uint64();
|
|
190215
|
+
break;
|
|
190202
190216
|
default:
|
|
190203
190217
|
reader.skipType(tag & 7);
|
|
190204
190218
|
break;
|
|
@@ -190298,6 +190312,9 @@ $root.coaching = (function() {
|
|
|
190298
190312
|
if (message.memberCancelled != null && message.hasOwnProperty("memberCancelled"))
|
|
190299
190313
|
if (typeof message.memberCancelled !== "boolean")
|
|
190300
190314
|
return "memberCancelled: boolean expected";
|
|
190315
|
+
if (message.coachEngagedAt != null && message.hasOwnProperty("coachEngagedAt"))
|
|
190316
|
+
if (!$util.isInteger(message.coachEngagedAt) && !(message.coachEngagedAt && $util.isInteger(message.coachEngagedAt.low) && $util.isInteger(message.coachEngagedAt.high)))
|
|
190317
|
+
return "coachEngagedAt: integer|Long expected";
|
|
190301
190318
|
return null;
|
|
190302
190319
|
};
|
|
190303
190320
|
|
|
@@ -190424,6 +190441,15 @@ $root.coaching = (function() {
|
|
|
190424
190441
|
message.closedAt = new $util.LongBits(object.closedAt.low >>> 0, object.closedAt.high >>> 0).toNumber(true);
|
|
190425
190442
|
if (object.memberCancelled != null)
|
|
190426
190443
|
message.memberCancelled = Boolean(object.memberCancelled);
|
|
190444
|
+
if (object.coachEngagedAt != null)
|
|
190445
|
+
if ($util.Long)
|
|
190446
|
+
(message.coachEngagedAt = $util.Long.fromValue(object.coachEngagedAt)).unsigned = true;
|
|
190447
|
+
else if (typeof object.coachEngagedAt === "string")
|
|
190448
|
+
message.coachEngagedAt = parseInt(object.coachEngagedAt, 10);
|
|
190449
|
+
else if (typeof object.coachEngagedAt === "number")
|
|
190450
|
+
message.coachEngagedAt = object.coachEngagedAt;
|
|
190451
|
+
else if (typeof object.coachEngagedAt === "object")
|
|
190452
|
+
message.coachEngagedAt = new $util.LongBits(object.coachEngagedAt.low >>> 0, object.coachEngagedAt.high >>> 0).toNumber(true);
|
|
190427
190453
|
return message;
|
|
190428
190454
|
};
|
|
190429
190455
|
|
|
@@ -190486,6 +190512,11 @@ $root.coaching = (function() {
|
|
|
190486
190512
|
} else
|
|
190487
190513
|
object.closedAt = options.longs === String ? "0" : 0;
|
|
190488
190514
|
object.memberCancelled = false;
|
|
190515
|
+
if ($util.Long) {
|
|
190516
|
+
var long = new $util.Long(0, 0, true);
|
|
190517
|
+
object.coachEngagedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
190518
|
+
} else
|
|
190519
|
+
object.coachEngagedAt = options.longs === String ? "0" : 0;
|
|
190489
190520
|
}
|
|
190490
190521
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
190491
190522
|
object.id = message.id;
|
|
@@ -190542,6 +190573,11 @@ $root.coaching = (function() {
|
|
|
190542
190573
|
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
190574
|
if (message.memberCancelled != null && message.hasOwnProperty("memberCancelled"))
|
|
190544
190575
|
object.memberCancelled = message.memberCancelled;
|
|
190576
|
+
if (message.coachEngagedAt != null && message.hasOwnProperty("coachEngagedAt"))
|
|
190577
|
+
if (typeof message.coachEngagedAt === "number")
|
|
190578
|
+
object.coachEngagedAt = options.longs === String ? String(message.coachEngagedAt) : message.coachEngagedAt;
|
|
190579
|
+
else
|
|
190580
|
+
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
190581
|
return object;
|
|
190546
190582
|
};
|
|
190547
190583
|
|
package/package.json
CHANGED