@headspace/protos-events 1.719.0 → 1.721.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 +96 -0
- package/lib/index.js +582 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -13218,6 +13218,15 @@ export interface ICoachingRatingRequested {
|
|
|
13218
13218
|
|
|
13219
13219
|
/** CoachingRatingRequested requestedAt */
|
|
13220
13220
|
requestedAt?: (number|Long|null);
|
|
13221
|
+
|
|
13222
|
+
/** CoachingRatingRequested scheduledSessionId */
|
|
13223
|
+
scheduledSessionId?: (number|Long|null);
|
|
13224
|
+
|
|
13225
|
+
/** CoachingRatingRequested dropinSessionId */
|
|
13226
|
+
dropinSessionId?: (number|Long|null);
|
|
13227
|
+
|
|
13228
|
+
/** CoachingRatingRequested sessionFormat */
|
|
13229
|
+
sessionFormat?: (coaching.CoachingSessionFormat|null);
|
|
13221
13230
|
}
|
|
13222
13231
|
|
|
13223
13232
|
/** Represents a CoachingRatingRequested. */
|
|
@@ -13241,6 +13250,15 @@ export class CoachingRatingRequested implements ICoachingRatingRequested {
|
|
|
13241
13250
|
/** CoachingRatingRequested requestedAt. */
|
|
13242
13251
|
public requestedAt: (number|Long);
|
|
13243
13252
|
|
|
13253
|
+
/** CoachingRatingRequested scheduledSessionId. */
|
|
13254
|
+
public scheduledSessionId: (number|Long);
|
|
13255
|
+
|
|
13256
|
+
/** CoachingRatingRequested dropinSessionId. */
|
|
13257
|
+
public dropinSessionId: (number|Long);
|
|
13258
|
+
|
|
13259
|
+
/** CoachingRatingRequested sessionFormat. */
|
|
13260
|
+
public sessionFormat: coaching.CoachingSessionFormat;
|
|
13261
|
+
|
|
13244
13262
|
/**
|
|
13245
13263
|
* Creates a new CoachingRatingRequested instance using the specified properties.
|
|
13246
13264
|
* @param [properties] Properties to set
|
|
@@ -13329,6 +13347,15 @@ export interface ICoachingRatingDismissed {
|
|
|
13329
13347
|
|
|
13330
13348
|
/** CoachingRatingDismissed dismissedCount */
|
|
13331
13349
|
dismissedCount?: (number|null);
|
|
13350
|
+
|
|
13351
|
+
/** CoachingRatingDismissed scheduledSessionId */
|
|
13352
|
+
scheduledSessionId?: (number|Long|null);
|
|
13353
|
+
|
|
13354
|
+
/** CoachingRatingDismissed dropinSessionId */
|
|
13355
|
+
dropinSessionId?: (number|Long|null);
|
|
13356
|
+
|
|
13357
|
+
/** CoachingRatingDismissed sessionFormat */
|
|
13358
|
+
sessionFormat?: (coaching.CoachingSessionFormat|null);
|
|
13332
13359
|
}
|
|
13333
13360
|
|
|
13334
13361
|
/** Represents a CoachingRatingDismissed. */
|
|
@@ -13355,6 +13382,15 @@ export class CoachingRatingDismissed implements ICoachingRatingDismissed {
|
|
|
13355
13382
|
/** CoachingRatingDismissed dismissedCount. */
|
|
13356
13383
|
public dismissedCount: number;
|
|
13357
13384
|
|
|
13385
|
+
/** CoachingRatingDismissed scheduledSessionId. */
|
|
13386
|
+
public scheduledSessionId: (number|Long);
|
|
13387
|
+
|
|
13388
|
+
/** CoachingRatingDismissed dropinSessionId. */
|
|
13389
|
+
public dropinSessionId: (number|Long);
|
|
13390
|
+
|
|
13391
|
+
/** CoachingRatingDismissed sessionFormat. */
|
|
13392
|
+
public sessionFormat: coaching.CoachingSessionFormat;
|
|
13393
|
+
|
|
13358
13394
|
/**
|
|
13359
13395
|
* Creates a new CoachingRatingDismissed instance using the specified properties.
|
|
13360
13396
|
* @param [properties] Properties to set
|
|
@@ -13452,6 +13488,15 @@ export interface ICoachingRatingSubmitted {
|
|
|
13452
13488
|
|
|
13453
13489
|
/** CoachingRatingSubmitted submittedAt */
|
|
13454
13490
|
submittedAt?: (number|Long|null);
|
|
13491
|
+
|
|
13492
|
+
/** CoachingRatingSubmitted scheduledSessionId */
|
|
13493
|
+
scheduledSessionId?: (number|Long|null);
|
|
13494
|
+
|
|
13495
|
+
/** CoachingRatingSubmitted dropinSessionId */
|
|
13496
|
+
dropinSessionId?: (number|Long|null);
|
|
13497
|
+
|
|
13498
|
+
/** CoachingRatingSubmitted sessionFormat */
|
|
13499
|
+
sessionFormat?: (coaching.CoachingSessionFormat|null);
|
|
13455
13500
|
}
|
|
13456
13501
|
|
|
13457
13502
|
/** Represents a CoachingRatingSubmitted. */
|
|
@@ -13487,6 +13532,15 @@ export class CoachingRatingSubmitted implements ICoachingRatingSubmitted {
|
|
|
13487
13532
|
/** CoachingRatingSubmitted submittedAt. */
|
|
13488
13533
|
public submittedAt: (number|Long);
|
|
13489
13534
|
|
|
13535
|
+
/** CoachingRatingSubmitted scheduledSessionId. */
|
|
13536
|
+
public scheduledSessionId: (number|Long);
|
|
13537
|
+
|
|
13538
|
+
/** CoachingRatingSubmitted dropinSessionId. */
|
|
13539
|
+
public dropinSessionId: (number|Long);
|
|
13540
|
+
|
|
13541
|
+
/** CoachingRatingSubmitted sessionFormat. */
|
|
13542
|
+
public sessionFormat: coaching.CoachingSessionFormat;
|
|
13543
|
+
|
|
13490
13544
|
/**
|
|
13491
13545
|
* Creates a new CoachingRatingSubmitted instance using the specified properties.
|
|
13492
13546
|
* @param [properties] Properties to set
|
|
@@ -50885,6 +50939,9 @@ export interface ISubscriptionUpcomingRenewal {
|
|
|
50885
50939
|
|
|
50886
50940
|
/** SubscriptionUpcomingRenewal currency */
|
|
50887
50941
|
currency?: (string|null);
|
|
50942
|
+
|
|
50943
|
+
/** SubscriptionUpcomingRenewal renewalTermLength */
|
|
50944
|
+
renewalTermLength?: (number|null);
|
|
50888
50945
|
}
|
|
50889
50946
|
|
|
50890
50947
|
/** Represents a SubscriptionUpcomingRenewal. */
|
|
@@ -50923,6 +50980,9 @@ export class SubscriptionUpcomingRenewal implements ISubscriptionUpcomingRenewal
|
|
|
50923
50980
|
/** SubscriptionUpcomingRenewal currency. */
|
|
50924
50981
|
public currency: string;
|
|
50925
50982
|
|
|
50983
|
+
/** SubscriptionUpcomingRenewal renewalTermLength. */
|
|
50984
|
+
public renewalTermLength: number;
|
|
50985
|
+
|
|
50926
50986
|
/**
|
|
50927
50987
|
* Creates a new SubscriptionUpcomingRenewal instance using the specified properties.
|
|
50928
50988
|
* @param [properties] Properties to set
|
|
@@ -59916,6 +59976,15 @@ export namespace coaching {
|
|
|
59916
59976
|
|
|
59917
59977
|
/** CoachingChatRating memberHsUserId */
|
|
59918
59978
|
memberHsUserId?: (string|null);
|
|
59979
|
+
|
|
59980
|
+
/** CoachingChatRating scheduledSessionId */
|
|
59981
|
+
scheduledSessionId?: (number|Long|null);
|
|
59982
|
+
|
|
59983
|
+
/** CoachingChatRating dropinSessionId */
|
|
59984
|
+
dropinSessionId?: (number|Long|null);
|
|
59985
|
+
|
|
59986
|
+
/** CoachingChatRating sessionFormat */
|
|
59987
|
+
sessionFormat?: (coaching.CoachingSessionFormat|null);
|
|
59919
59988
|
}
|
|
59920
59989
|
|
|
59921
59990
|
/** Represents a CoachingChatRating. */
|
|
@@ -59951,6 +60020,15 @@ export namespace coaching {
|
|
|
59951
60020
|
/** CoachingChatRating memberHsUserId. */
|
|
59952
60021
|
public memberHsUserId: string;
|
|
59953
60022
|
|
|
60023
|
+
/** CoachingChatRating scheduledSessionId. */
|
|
60024
|
+
public scheduledSessionId: (number|Long);
|
|
60025
|
+
|
|
60026
|
+
/** CoachingChatRating dropinSessionId. */
|
|
60027
|
+
public dropinSessionId: (number|Long);
|
|
60028
|
+
|
|
60029
|
+
/** CoachingChatRating sessionFormat. */
|
|
60030
|
+
public sessionFormat: coaching.CoachingSessionFormat;
|
|
60031
|
+
|
|
59954
60032
|
/**
|
|
59955
60033
|
* Creates a new CoachingChatRating instance using the specified properties.
|
|
59956
60034
|
* @param [properties] Properties to set
|
|
@@ -60073,6 +60151,15 @@ export namespace coaching {
|
|
|
60073
60151
|
|
|
60074
60152
|
/** ListenerCoachingExperimentalChatRatingCreated hsUserId */
|
|
60075
60153
|
hsUserId?: (string|null);
|
|
60154
|
+
|
|
60155
|
+
/** ListenerCoachingExperimentalChatRatingCreated scheduledSessionId */
|
|
60156
|
+
scheduledSessionId?: (number|Long|null);
|
|
60157
|
+
|
|
60158
|
+
/** ListenerCoachingExperimentalChatRatingCreated dropinSessionId */
|
|
60159
|
+
dropinSessionId?: (number|Long|null);
|
|
60160
|
+
|
|
60161
|
+
/** ListenerCoachingExperimentalChatRatingCreated sessionFormat */
|
|
60162
|
+
sessionFormat?: (coaching.CoachingSessionFormat|null);
|
|
60076
60163
|
}
|
|
60077
60164
|
|
|
60078
60165
|
/**
|
|
@@ -60140,6 +60227,15 @@ export namespace coaching {
|
|
|
60140
60227
|
/** ListenerCoachingExperimentalChatRatingCreated hsUserId. */
|
|
60141
60228
|
public hsUserId: string;
|
|
60142
60229
|
|
|
60230
|
+
/** ListenerCoachingExperimentalChatRatingCreated scheduledSessionId. */
|
|
60231
|
+
public scheduledSessionId: (number|Long);
|
|
60232
|
+
|
|
60233
|
+
/** ListenerCoachingExperimentalChatRatingCreated dropinSessionId. */
|
|
60234
|
+
public dropinSessionId: (number|Long);
|
|
60235
|
+
|
|
60236
|
+
/** ListenerCoachingExperimentalChatRatingCreated sessionFormat. */
|
|
60237
|
+
public sessionFormat: coaching.CoachingSessionFormat;
|
|
60238
|
+
|
|
60143
60239
|
/**
|
|
60144
60240
|
* Creates a new ListenerCoachingExperimentalChatRatingCreated instance using the specified properties.
|
|
60145
60241
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -33637,6 +33637,9 @@ $root.CoachingRatingRequested = (function() {
|
|
|
33637
33637
|
* @property {string|null} [gingerUserId] CoachingRatingRequested gingerUserId
|
|
33638
33638
|
* @property {string|null} [hsUserId] CoachingRatingRequested hsUserId
|
|
33639
33639
|
* @property {number|Long|null} [requestedAt] CoachingRatingRequested requestedAt
|
|
33640
|
+
* @property {number|Long|null} [scheduledSessionId] CoachingRatingRequested scheduledSessionId
|
|
33641
|
+
* @property {number|Long|null} [dropinSessionId] CoachingRatingRequested dropinSessionId
|
|
33642
|
+
* @property {coaching.CoachingSessionFormat|null} [sessionFormat] CoachingRatingRequested sessionFormat
|
|
33640
33643
|
*/
|
|
33641
33644
|
|
|
33642
33645
|
/**
|
|
@@ -33686,6 +33689,30 @@ $root.CoachingRatingRequested = (function() {
|
|
|
33686
33689
|
*/
|
|
33687
33690
|
CoachingRatingRequested.prototype.requestedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
33688
33691
|
|
|
33692
|
+
/**
|
|
33693
|
+
* CoachingRatingRequested scheduledSessionId.
|
|
33694
|
+
* @member {number|Long} scheduledSessionId
|
|
33695
|
+
* @memberof CoachingRatingRequested
|
|
33696
|
+
* @instance
|
|
33697
|
+
*/
|
|
33698
|
+
CoachingRatingRequested.prototype.scheduledSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
33699
|
+
|
|
33700
|
+
/**
|
|
33701
|
+
* CoachingRatingRequested dropinSessionId.
|
|
33702
|
+
* @member {number|Long} dropinSessionId
|
|
33703
|
+
* @memberof CoachingRatingRequested
|
|
33704
|
+
* @instance
|
|
33705
|
+
*/
|
|
33706
|
+
CoachingRatingRequested.prototype.dropinSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
33707
|
+
|
|
33708
|
+
/**
|
|
33709
|
+
* CoachingRatingRequested sessionFormat.
|
|
33710
|
+
* @member {coaching.CoachingSessionFormat} sessionFormat
|
|
33711
|
+
* @memberof CoachingRatingRequested
|
|
33712
|
+
* @instance
|
|
33713
|
+
*/
|
|
33714
|
+
CoachingRatingRequested.prototype.sessionFormat = 0;
|
|
33715
|
+
|
|
33689
33716
|
/**
|
|
33690
33717
|
* Creates a new CoachingRatingRequested instance using the specified properties.
|
|
33691
33718
|
* @function create
|
|
@@ -33718,6 +33745,12 @@ $root.CoachingRatingRequested = (function() {
|
|
|
33718
33745
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.hsUserId);
|
|
33719
33746
|
if (message.requestedAt != null && message.hasOwnProperty("requestedAt"))
|
|
33720
33747
|
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.requestedAt);
|
|
33748
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
33749
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.scheduledSessionId);
|
|
33750
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
33751
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.dropinSessionId);
|
|
33752
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
33753
|
+
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.sessionFormat);
|
|
33721
33754
|
return writer;
|
|
33722
33755
|
};
|
|
33723
33756
|
|
|
@@ -33764,6 +33797,15 @@ $root.CoachingRatingRequested = (function() {
|
|
|
33764
33797
|
case 4:
|
|
33765
33798
|
message.requestedAt = reader.uint64();
|
|
33766
33799
|
break;
|
|
33800
|
+
case 5:
|
|
33801
|
+
message.scheduledSessionId = reader.uint64();
|
|
33802
|
+
break;
|
|
33803
|
+
case 6:
|
|
33804
|
+
message.dropinSessionId = reader.uint64();
|
|
33805
|
+
break;
|
|
33806
|
+
case 7:
|
|
33807
|
+
message.sessionFormat = reader.int32();
|
|
33808
|
+
break;
|
|
33767
33809
|
default:
|
|
33768
33810
|
reader.skipType(tag & 7);
|
|
33769
33811
|
break;
|
|
@@ -33811,6 +33853,21 @@ $root.CoachingRatingRequested = (function() {
|
|
|
33811
33853
|
if (message.requestedAt != null && message.hasOwnProperty("requestedAt"))
|
|
33812
33854
|
if (!$util.isInteger(message.requestedAt) && !(message.requestedAt && $util.isInteger(message.requestedAt.low) && $util.isInteger(message.requestedAt.high)))
|
|
33813
33855
|
return "requestedAt: integer|Long expected";
|
|
33856
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
33857
|
+
if (!$util.isInteger(message.scheduledSessionId) && !(message.scheduledSessionId && $util.isInteger(message.scheduledSessionId.low) && $util.isInteger(message.scheduledSessionId.high)))
|
|
33858
|
+
return "scheduledSessionId: integer|Long expected";
|
|
33859
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
33860
|
+
if (!$util.isInteger(message.dropinSessionId) && !(message.dropinSessionId && $util.isInteger(message.dropinSessionId.low) && $util.isInteger(message.dropinSessionId.high)))
|
|
33861
|
+
return "dropinSessionId: integer|Long expected";
|
|
33862
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
33863
|
+
switch (message.sessionFormat) {
|
|
33864
|
+
default:
|
|
33865
|
+
return "sessionFormat: enum value expected";
|
|
33866
|
+
case 0:
|
|
33867
|
+
case 1:
|
|
33868
|
+
case 2:
|
|
33869
|
+
break;
|
|
33870
|
+
}
|
|
33814
33871
|
return null;
|
|
33815
33872
|
};
|
|
33816
33873
|
|
|
@@ -33841,6 +33898,38 @@ $root.CoachingRatingRequested = (function() {
|
|
|
33841
33898
|
message.requestedAt = object.requestedAt;
|
|
33842
33899
|
else if (typeof object.requestedAt === "object")
|
|
33843
33900
|
message.requestedAt = new $util.LongBits(object.requestedAt.low >>> 0, object.requestedAt.high >>> 0).toNumber(true);
|
|
33901
|
+
if (object.scheduledSessionId != null)
|
|
33902
|
+
if ($util.Long)
|
|
33903
|
+
(message.scheduledSessionId = $util.Long.fromValue(object.scheduledSessionId)).unsigned = true;
|
|
33904
|
+
else if (typeof object.scheduledSessionId === "string")
|
|
33905
|
+
message.scheduledSessionId = parseInt(object.scheduledSessionId, 10);
|
|
33906
|
+
else if (typeof object.scheduledSessionId === "number")
|
|
33907
|
+
message.scheduledSessionId = object.scheduledSessionId;
|
|
33908
|
+
else if (typeof object.scheduledSessionId === "object")
|
|
33909
|
+
message.scheduledSessionId = new $util.LongBits(object.scheduledSessionId.low >>> 0, object.scheduledSessionId.high >>> 0).toNumber(true);
|
|
33910
|
+
if (object.dropinSessionId != null)
|
|
33911
|
+
if ($util.Long)
|
|
33912
|
+
(message.dropinSessionId = $util.Long.fromValue(object.dropinSessionId)).unsigned = true;
|
|
33913
|
+
else if (typeof object.dropinSessionId === "string")
|
|
33914
|
+
message.dropinSessionId = parseInt(object.dropinSessionId, 10);
|
|
33915
|
+
else if (typeof object.dropinSessionId === "number")
|
|
33916
|
+
message.dropinSessionId = object.dropinSessionId;
|
|
33917
|
+
else if (typeof object.dropinSessionId === "object")
|
|
33918
|
+
message.dropinSessionId = new $util.LongBits(object.dropinSessionId.low >>> 0, object.dropinSessionId.high >>> 0).toNumber(true);
|
|
33919
|
+
switch (object.sessionFormat) {
|
|
33920
|
+
case "COACHING_SESSION_FORMAT_UNKNOWN":
|
|
33921
|
+
case 0:
|
|
33922
|
+
message.sessionFormat = 0;
|
|
33923
|
+
break;
|
|
33924
|
+
case "COACHING_SESSION_FORMAT_CHAT":
|
|
33925
|
+
case 1:
|
|
33926
|
+
message.sessionFormat = 1;
|
|
33927
|
+
break;
|
|
33928
|
+
case "COACHING_SESSION_FORMAT_VIDEO":
|
|
33929
|
+
case 2:
|
|
33930
|
+
message.sessionFormat = 2;
|
|
33931
|
+
break;
|
|
33932
|
+
}
|
|
33844
33933
|
return message;
|
|
33845
33934
|
};
|
|
33846
33935
|
|
|
@@ -33866,6 +33955,17 @@ $root.CoachingRatingRequested = (function() {
|
|
|
33866
33955
|
object.requestedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
33867
33956
|
} else
|
|
33868
33957
|
object.requestedAt = options.longs === String ? "0" : 0;
|
|
33958
|
+
if ($util.Long) {
|
|
33959
|
+
var long = new $util.Long(0, 0, true);
|
|
33960
|
+
object.scheduledSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
33961
|
+
} else
|
|
33962
|
+
object.scheduledSessionId = options.longs === String ? "0" : 0;
|
|
33963
|
+
if ($util.Long) {
|
|
33964
|
+
var long = new $util.Long(0, 0, true);
|
|
33965
|
+
object.dropinSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
33966
|
+
} else
|
|
33967
|
+
object.dropinSessionId = options.longs === String ? "0" : 0;
|
|
33968
|
+
object.sessionFormat = options.enums === String ? "COACHING_SESSION_FORMAT_UNKNOWN" : 0;
|
|
33869
33969
|
}
|
|
33870
33970
|
if (message.listenerId != null && message.hasOwnProperty("listenerId"))
|
|
33871
33971
|
object.listenerId = message.listenerId;
|
|
@@ -33878,6 +33978,18 @@ $root.CoachingRatingRequested = (function() {
|
|
|
33878
33978
|
object.requestedAt = options.longs === String ? String(message.requestedAt) : message.requestedAt;
|
|
33879
33979
|
else
|
|
33880
33980
|
object.requestedAt = options.longs === String ? $util.Long.prototype.toString.call(message.requestedAt) : options.longs === Number ? new $util.LongBits(message.requestedAt.low >>> 0, message.requestedAt.high >>> 0).toNumber(true) : message.requestedAt;
|
|
33981
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
33982
|
+
if (typeof message.scheduledSessionId === "number")
|
|
33983
|
+
object.scheduledSessionId = options.longs === String ? String(message.scheduledSessionId) : message.scheduledSessionId;
|
|
33984
|
+
else
|
|
33985
|
+
object.scheduledSessionId = options.longs === String ? $util.Long.prototype.toString.call(message.scheduledSessionId) : options.longs === Number ? new $util.LongBits(message.scheduledSessionId.low >>> 0, message.scheduledSessionId.high >>> 0).toNumber(true) : message.scheduledSessionId;
|
|
33986
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
33987
|
+
if (typeof message.dropinSessionId === "number")
|
|
33988
|
+
object.dropinSessionId = options.longs === String ? String(message.dropinSessionId) : message.dropinSessionId;
|
|
33989
|
+
else
|
|
33990
|
+
object.dropinSessionId = options.longs === String ? $util.Long.prototype.toString.call(message.dropinSessionId) : options.longs === Number ? new $util.LongBits(message.dropinSessionId.low >>> 0, message.dropinSessionId.high >>> 0).toNumber(true) : message.dropinSessionId;
|
|
33991
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
33992
|
+
object.sessionFormat = options.enums === String ? $root.coaching.CoachingSessionFormat[message.sessionFormat] : message.sessionFormat;
|
|
33881
33993
|
return object;
|
|
33882
33994
|
};
|
|
33883
33995
|
|
|
@@ -33906,6 +34018,9 @@ $root.CoachingRatingDismissed = (function() {
|
|
|
33906
34018
|
* @property {string|null} [hsUserId] CoachingRatingDismissed hsUserId
|
|
33907
34019
|
* @property {number|Long|null} [dismissedAt] CoachingRatingDismissed dismissedAt
|
|
33908
34020
|
* @property {number|null} [dismissedCount] CoachingRatingDismissed dismissedCount
|
|
34021
|
+
* @property {number|Long|null} [scheduledSessionId] CoachingRatingDismissed scheduledSessionId
|
|
34022
|
+
* @property {number|Long|null} [dropinSessionId] CoachingRatingDismissed dropinSessionId
|
|
34023
|
+
* @property {coaching.CoachingSessionFormat|null} [sessionFormat] CoachingRatingDismissed sessionFormat
|
|
33909
34024
|
*/
|
|
33910
34025
|
|
|
33911
34026
|
/**
|
|
@@ -33963,6 +34078,30 @@ $root.CoachingRatingDismissed = (function() {
|
|
|
33963
34078
|
*/
|
|
33964
34079
|
CoachingRatingDismissed.prototype.dismissedCount = 0;
|
|
33965
34080
|
|
|
34081
|
+
/**
|
|
34082
|
+
* CoachingRatingDismissed scheduledSessionId.
|
|
34083
|
+
* @member {number|Long} scheduledSessionId
|
|
34084
|
+
* @memberof CoachingRatingDismissed
|
|
34085
|
+
* @instance
|
|
34086
|
+
*/
|
|
34087
|
+
CoachingRatingDismissed.prototype.scheduledSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
34088
|
+
|
|
34089
|
+
/**
|
|
34090
|
+
* CoachingRatingDismissed dropinSessionId.
|
|
34091
|
+
* @member {number|Long} dropinSessionId
|
|
34092
|
+
* @memberof CoachingRatingDismissed
|
|
34093
|
+
* @instance
|
|
34094
|
+
*/
|
|
34095
|
+
CoachingRatingDismissed.prototype.dropinSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
34096
|
+
|
|
34097
|
+
/**
|
|
34098
|
+
* CoachingRatingDismissed sessionFormat.
|
|
34099
|
+
* @member {coaching.CoachingSessionFormat} sessionFormat
|
|
34100
|
+
* @memberof CoachingRatingDismissed
|
|
34101
|
+
* @instance
|
|
34102
|
+
*/
|
|
34103
|
+
CoachingRatingDismissed.prototype.sessionFormat = 0;
|
|
34104
|
+
|
|
33966
34105
|
/**
|
|
33967
34106
|
* Creates a new CoachingRatingDismissed instance using the specified properties.
|
|
33968
34107
|
* @function create
|
|
@@ -33997,6 +34136,12 @@ $root.CoachingRatingDismissed = (function() {
|
|
|
33997
34136
|
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.dismissedAt);
|
|
33998
34137
|
if (message.dismissedCount != null && message.hasOwnProperty("dismissedCount"))
|
|
33999
34138
|
writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.dismissedCount);
|
|
34139
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
34140
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.scheduledSessionId);
|
|
34141
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
34142
|
+
writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.dropinSessionId);
|
|
34143
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
34144
|
+
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.sessionFormat);
|
|
34000
34145
|
return writer;
|
|
34001
34146
|
};
|
|
34002
34147
|
|
|
@@ -34046,6 +34191,15 @@ $root.CoachingRatingDismissed = (function() {
|
|
|
34046
34191
|
case 5:
|
|
34047
34192
|
message.dismissedCount = reader.uint32();
|
|
34048
34193
|
break;
|
|
34194
|
+
case 6:
|
|
34195
|
+
message.scheduledSessionId = reader.uint64();
|
|
34196
|
+
break;
|
|
34197
|
+
case 7:
|
|
34198
|
+
message.dropinSessionId = reader.uint64();
|
|
34199
|
+
break;
|
|
34200
|
+
case 8:
|
|
34201
|
+
message.sessionFormat = reader.int32();
|
|
34202
|
+
break;
|
|
34049
34203
|
default:
|
|
34050
34204
|
reader.skipType(tag & 7);
|
|
34051
34205
|
break;
|
|
@@ -34096,6 +34250,21 @@ $root.CoachingRatingDismissed = (function() {
|
|
|
34096
34250
|
if (message.dismissedCount != null && message.hasOwnProperty("dismissedCount"))
|
|
34097
34251
|
if (!$util.isInteger(message.dismissedCount))
|
|
34098
34252
|
return "dismissedCount: integer expected";
|
|
34253
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
34254
|
+
if (!$util.isInteger(message.scheduledSessionId) && !(message.scheduledSessionId && $util.isInteger(message.scheduledSessionId.low) && $util.isInteger(message.scheduledSessionId.high)))
|
|
34255
|
+
return "scheduledSessionId: integer|Long expected";
|
|
34256
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
34257
|
+
if (!$util.isInteger(message.dropinSessionId) && !(message.dropinSessionId && $util.isInteger(message.dropinSessionId.low) && $util.isInteger(message.dropinSessionId.high)))
|
|
34258
|
+
return "dropinSessionId: integer|Long expected";
|
|
34259
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
34260
|
+
switch (message.sessionFormat) {
|
|
34261
|
+
default:
|
|
34262
|
+
return "sessionFormat: enum value expected";
|
|
34263
|
+
case 0:
|
|
34264
|
+
case 1:
|
|
34265
|
+
case 2:
|
|
34266
|
+
break;
|
|
34267
|
+
}
|
|
34099
34268
|
return null;
|
|
34100
34269
|
};
|
|
34101
34270
|
|
|
@@ -34128,6 +34297,38 @@ $root.CoachingRatingDismissed = (function() {
|
|
|
34128
34297
|
message.dismissedAt = new $util.LongBits(object.dismissedAt.low >>> 0, object.dismissedAt.high >>> 0).toNumber(true);
|
|
34129
34298
|
if (object.dismissedCount != null)
|
|
34130
34299
|
message.dismissedCount = object.dismissedCount >>> 0;
|
|
34300
|
+
if (object.scheduledSessionId != null)
|
|
34301
|
+
if ($util.Long)
|
|
34302
|
+
(message.scheduledSessionId = $util.Long.fromValue(object.scheduledSessionId)).unsigned = true;
|
|
34303
|
+
else if (typeof object.scheduledSessionId === "string")
|
|
34304
|
+
message.scheduledSessionId = parseInt(object.scheduledSessionId, 10);
|
|
34305
|
+
else if (typeof object.scheduledSessionId === "number")
|
|
34306
|
+
message.scheduledSessionId = object.scheduledSessionId;
|
|
34307
|
+
else if (typeof object.scheduledSessionId === "object")
|
|
34308
|
+
message.scheduledSessionId = new $util.LongBits(object.scheduledSessionId.low >>> 0, object.scheduledSessionId.high >>> 0).toNumber(true);
|
|
34309
|
+
if (object.dropinSessionId != null)
|
|
34310
|
+
if ($util.Long)
|
|
34311
|
+
(message.dropinSessionId = $util.Long.fromValue(object.dropinSessionId)).unsigned = true;
|
|
34312
|
+
else if (typeof object.dropinSessionId === "string")
|
|
34313
|
+
message.dropinSessionId = parseInt(object.dropinSessionId, 10);
|
|
34314
|
+
else if (typeof object.dropinSessionId === "number")
|
|
34315
|
+
message.dropinSessionId = object.dropinSessionId;
|
|
34316
|
+
else if (typeof object.dropinSessionId === "object")
|
|
34317
|
+
message.dropinSessionId = new $util.LongBits(object.dropinSessionId.low >>> 0, object.dropinSessionId.high >>> 0).toNumber(true);
|
|
34318
|
+
switch (object.sessionFormat) {
|
|
34319
|
+
case "COACHING_SESSION_FORMAT_UNKNOWN":
|
|
34320
|
+
case 0:
|
|
34321
|
+
message.sessionFormat = 0;
|
|
34322
|
+
break;
|
|
34323
|
+
case "COACHING_SESSION_FORMAT_CHAT":
|
|
34324
|
+
case 1:
|
|
34325
|
+
message.sessionFormat = 1;
|
|
34326
|
+
break;
|
|
34327
|
+
case "COACHING_SESSION_FORMAT_VIDEO":
|
|
34328
|
+
case 2:
|
|
34329
|
+
message.sessionFormat = 2;
|
|
34330
|
+
break;
|
|
34331
|
+
}
|
|
34131
34332
|
return message;
|
|
34132
34333
|
};
|
|
34133
34334
|
|
|
@@ -34154,6 +34355,17 @@ $root.CoachingRatingDismissed = (function() {
|
|
|
34154
34355
|
} else
|
|
34155
34356
|
object.dismissedAt = options.longs === String ? "0" : 0;
|
|
34156
34357
|
object.dismissedCount = 0;
|
|
34358
|
+
if ($util.Long) {
|
|
34359
|
+
var long = new $util.Long(0, 0, true);
|
|
34360
|
+
object.scheduledSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
34361
|
+
} else
|
|
34362
|
+
object.scheduledSessionId = options.longs === String ? "0" : 0;
|
|
34363
|
+
if ($util.Long) {
|
|
34364
|
+
var long = new $util.Long(0, 0, true);
|
|
34365
|
+
object.dropinSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
34366
|
+
} else
|
|
34367
|
+
object.dropinSessionId = options.longs === String ? "0" : 0;
|
|
34368
|
+
object.sessionFormat = options.enums === String ? "COACHING_SESSION_FORMAT_UNKNOWN" : 0;
|
|
34157
34369
|
}
|
|
34158
34370
|
if (message.listenerId != null && message.hasOwnProperty("listenerId"))
|
|
34159
34371
|
object.listenerId = message.listenerId;
|
|
@@ -34168,6 +34380,18 @@ $root.CoachingRatingDismissed = (function() {
|
|
|
34168
34380
|
object.dismissedAt = options.longs === String ? $util.Long.prototype.toString.call(message.dismissedAt) : options.longs === Number ? new $util.LongBits(message.dismissedAt.low >>> 0, message.dismissedAt.high >>> 0).toNumber(true) : message.dismissedAt;
|
|
34169
34381
|
if (message.dismissedCount != null && message.hasOwnProperty("dismissedCount"))
|
|
34170
34382
|
object.dismissedCount = message.dismissedCount;
|
|
34383
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
34384
|
+
if (typeof message.scheduledSessionId === "number")
|
|
34385
|
+
object.scheduledSessionId = options.longs === String ? String(message.scheduledSessionId) : message.scheduledSessionId;
|
|
34386
|
+
else
|
|
34387
|
+
object.scheduledSessionId = options.longs === String ? $util.Long.prototype.toString.call(message.scheduledSessionId) : options.longs === Number ? new $util.LongBits(message.scheduledSessionId.low >>> 0, message.scheduledSessionId.high >>> 0).toNumber(true) : message.scheduledSessionId;
|
|
34388
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
34389
|
+
if (typeof message.dropinSessionId === "number")
|
|
34390
|
+
object.dropinSessionId = options.longs === String ? String(message.dropinSessionId) : message.dropinSessionId;
|
|
34391
|
+
else
|
|
34392
|
+
object.dropinSessionId = options.longs === String ? $util.Long.prototype.toString.call(message.dropinSessionId) : options.longs === Number ? new $util.LongBits(message.dropinSessionId.low >>> 0, message.dropinSessionId.high >>> 0).toNumber(true) : message.dropinSessionId;
|
|
34393
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
34394
|
+
object.sessionFormat = options.enums === String ? $root.coaching.CoachingSessionFormat[message.sessionFormat] : message.sessionFormat;
|
|
34171
34395
|
return object;
|
|
34172
34396
|
};
|
|
34173
34397
|
|
|
@@ -34199,6 +34423,9 @@ $root.CoachingRatingSubmitted = (function() {
|
|
|
34199
34423
|
* @property {number|null} [feltSupportedRating] CoachingRatingSubmitted feltSupportedRating
|
|
34200
34424
|
* @property {number|null} [approachRating] CoachingRatingSubmitted approachRating
|
|
34201
34425
|
* @property {number|Long|null} [submittedAt] CoachingRatingSubmitted submittedAt
|
|
34426
|
+
* @property {number|Long|null} [scheduledSessionId] CoachingRatingSubmitted scheduledSessionId
|
|
34427
|
+
* @property {number|Long|null} [dropinSessionId] CoachingRatingSubmitted dropinSessionId
|
|
34428
|
+
* @property {coaching.CoachingSessionFormat|null} [sessionFormat] CoachingRatingSubmitted sessionFormat
|
|
34202
34429
|
*/
|
|
34203
34430
|
|
|
34204
34431
|
/**
|
|
@@ -34280,6 +34507,30 @@ $root.CoachingRatingSubmitted = (function() {
|
|
|
34280
34507
|
*/
|
|
34281
34508
|
CoachingRatingSubmitted.prototype.submittedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
34282
34509
|
|
|
34510
|
+
/**
|
|
34511
|
+
* CoachingRatingSubmitted scheduledSessionId.
|
|
34512
|
+
* @member {number|Long} scheduledSessionId
|
|
34513
|
+
* @memberof CoachingRatingSubmitted
|
|
34514
|
+
* @instance
|
|
34515
|
+
*/
|
|
34516
|
+
CoachingRatingSubmitted.prototype.scheduledSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
34517
|
+
|
|
34518
|
+
/**
|
|
34519
|
+
* CoachingRatingSubmitted dropinSessionId.
|
|
34520
|
+
* @member {number|Long} dropinSessionId
|
|
34521
|
+
* @memberof CoachingRatingSubmitted
|
|
34522
|
+
* @instance
|
|
34523
|
+
*/
|
|
34524
|
+
CoachingRatingSubmitted.prototype.dropinSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
34525
|
+
|
|
34526
|
+
/**
|
|
34527
|
+
* CoachingRatingSubmitted sessionFormat.
|
|
34528
|
+
* @member {coaching.CoachingSessionFormat} sessionFormat
|
|
34529
|
+
* @memberof CoachingRatingSubmitted
|
|
34530
|
+
* @instance
|
|
34531
|
+
*/
|
|
34532
|
+
CoachingRatingSubmitted.prototype.sessionFormat = 0;
|
|
34533
|
+
|
|
34283
34534
|
/**
|
|
34284
34535
|
* Creates a new CoachingRatingSubmitted instance using the specified properties.
|
|
34285
34536
|
* @function create
|
|
@@ -34320,6 +34571,12 @@ $root.CoachingRatingSubmitted = (function() {
|
|
|
34320
34571
|
writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.approachRating);
|
|
34321
34572
|
if (message.submittedAt != null && message.hasOwnProperty("submittedAt"))
|
|
34322
34573
|
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.submittedAt);
|
|
34574
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
34575
|
+
writer.uint32(/* id 10, wireType 0 =*/80).uint64(message.scheduledSessionId);
|
|
34576
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
34577
|
+
writer.uint32(/* id 11, wireType 0 =*/88).uint64(message.dropinSessionId);
|
|
34578
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
34579
|
+
writer.uint32(/* id 12, wireType 0 =*/96).int32(message.sessionFormat);
|
|
34323
34580
|
return writer;
|
|
34324
34581
|
};
|
|
34325
34582
|
|
|
@@ -34378,6 +34635,15 @@ $root.CoachingRatingSubmitted = (function() {
|
|
|
34378
34635
|
case 8:
|
|
34379
34636
|
message.submittedAt = reader.uint64();
|
|
34380
34637
|
break;
|
|
34638
|
+
case 10:
|
|
34639
|
+
message.scheduledSessionId = reader.uint64();
|
|
34640
|
+
break;
|
|
34641
|
+
case 11:
|
|
34642
|
+
message.dropinSessionId = reader.uint64();
|
|
34643
|
+
break;
|
|
34644
|
+
case 12:
|
|
34645
|
+
message.sessionFormat = reader.int32();
|
|
34646
|
+
break;
|
|
34381
34647
|
default:
|
|
34382
34648
|
reader.skipType(tag & 7);
|
|
34383
34649
|
break;
|
|
@@ -34437,6 +34703,21 @@ $root.CoachingRatingSubmitted = (function() {
|
|
|
34437
34703
|
if (message.submittedAt != null && message.hasOwnProperty("submittedAt"))
|
|
34438
34704
|
if (!$util.isInteger(message.submittedAt) && !(message.submittedAt && $util.isInteger(message.submittedAt.low) && $util.isInteger(message.submittedAt.high)))
|
|
34439
34705
|
return "submittedAt: integer|Long expected";
|
|
34706
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
34707
|
+
if (!$util.isInteger(message.scheduledSessionId) && !(message.scheduledSessionId && $util.isInteger(message.scheduledSessionId.low) && $util.isInteger(message.scheduledSessionId.high)))
|
|
34708
|
+
return "scheduledSessionId: integer|Long expected";
|
|
34709
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
34710
|
+
if (!$util.isInteger(message.dropinSessionId) && !(message.dropinSessionId && $util.isInteger(message.dropinSessionId.low) && $util.isInteger(message.dropinSessionId.high)))
|
|
34711
|
+
return "dropinSessionId: integer|Long expected";
|
|
34712
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
34713
|
+
switch (message.sessionFormat) {
|
|
34714
|
+
default:
|
|
34715
|
+
return "sessionFormat: enum value expected";
|
|
34716
|
+
case 0:
|
|
34717
|
+
case 1:
|
|
34718
|
+
case 2:
|
|
34719
|
+
break;
|
|
34720
|
+
}
|
|
34440
34721
|
return null;
|
|
34441
34722
|
};
|
|
34442
34723
|
|
|
@@ -34475,6 +34756,38 @@ $root.CoachingRatingSubmitted = (function() {
|
|
|
34475
34756
|
message.submittedAt = object.submittedAt;
|
|
34476
34757
|
else if (typeof object.submittedAt === "object")
|
|
34477
34758
|
message.submittedAt = new $util.LongBits(object.submittedAt.low >>> 0, object.submittedAt.high >>> 0).toNumber(true);
|
|
34759
|
+
if (object.scheduledSessionId != null)
|
|
34760
|
+
if ($util.Long)
|
|
34761
|
+
(message.scheduledSessionId = $util.Long.fromValue(object.scheduledSessionId)).unsigned = true;
|
|
34762
|
+
else if (typeof object.scheduledSessionId === "string")
|
|
34763
|
+
message.scheduledSessionId = parseInt(object.scheduledSessionId, 10);
|
|
34764
|
+
else if (typeof object.scheduledSessionId === "number")
|
|
34765
|
+
message.scheduledSessionId = object.scheduledSessionId;
|
|
34766
|
+
else if (typeof object.scheduledSessionId === "object")
|
|
34767
|
+
message.scheduledSessionId = new $util.LongBits(object.scheduledSessionId.low >>> 0, object.scheduledSessionId.high >>> 0).toNumber(true);
|
|
34768
|
+
if (object.dropinSessionId != null)
|
|
34769
|
+
if ($util.Long)
|
|
34770
|
+
(message.dropinSessionId = $util.Long.fromValue(object.dropinSessionId)).unsigned = true;
|
|
34771
|
+
else if (typeof object.dropinSessionId === "string")
|
|
34772
|
+
message.dropinSessionId = parseInt(object.dropinSessionId, 10);
|
|
34773
|
+
else if (typeof object.dropinSessionId === "number")
|
|
34774
|
+
message.dropinSessionId = object.dropinSessionId;
|
|
34775
|
+
else if (typeof object.dropinSessionId === "object")
|
|
34776
|
+
message.dropinSessionId = new $util.LongBits(object.dropinSessionId.low >>> 0, object.dropinSessionId.high >>> 0).toNumber(true);
|
|
34777
|
+
switch (object.sessionFormat) {
|
|
34778
|
+
case "COACHING_SESSION_FORMAT_UNKNOWN":
|
|
34779
|
+
case 0:
|
|
34780
|
+
message.sessionFormat = 0;
|
|
34781
|
+
break;
|
|
34782
|
+
case "COACHING_SESSION_FORMAT_CHAT":
|
|
34783
|
+
case 1:
|
|
34784
|
+
message.sessionFormat = 1;
|
|
34785
|
+
break;
|
|
34786
|
+
case "COACHING_SESSION_FORMAT_VIDEO":
|
|
34787
|
+
case 2:
|
|
34788
|
+
message.sessionFormat = 2;
|
|
34789
|
+
break;
|
|
34790
|
+
}
|
|
34478
34791
|
return message;
|
|
34479
34792
|
};
|
|
34480
34793
|
|
|
@@ -34504,6 +34817,17 @@ $root.CoachingRatingSubmitted = (function() {
|
|
|
34504
34817
|
object.submittedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
34505
34818
|
} else
|
|
34506
34819
|
object.submittedAt = options.longs === String ? "0" : 0;
|
|
34820
|
+
if ($util.Long) {
|
|
34821
|
+
var long = new $util.Long(0, 0, true);
|
|
34822
|
+
object.scheduledSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
34823
|
+
} else
|
|
34824
|
+
object.scheduledSessionId = options.longs === String ? "0" : 0;
|
|
34825
|
+
if ($util.Long) {
|
|
34826
|
+
var long = new $util.Long(0, 0, true);
|
|
34827
|
+
object.dropinSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
34828
|
+
} else
|
|
34829
|
+
object.dropinSessionId = options.longs === String ? "0" : 0;
|
|
34830
|
+
object.sessionFormat = options.enums === String ? "COACHING_SESSION_FORMAT_UNKNOWN" : 0;
|
|
34507
34831
|
}
|
|
34508
34832
|
if (message.listenerId != null && message.hasOwnProperty("listenerId"))
|
|
34509
34833
|
object.listenerId = message.listenerId;
|
|
@@ -34524,6 +34848,18 @@ $root.CoachingRatingSubmitted = (function() {
|
|
|
34524
34848
|
object.submittedAt = options.longs === String ? String(message.submittedAt) : message.submittedAt;
|
|
34525
34849
|
else
|
|
34526
34850
|
object.submittedAt = options.longs === String ? $util.Long.prototype.toString.call(message.submittedAt) : options.longs === Number ? new $util.LongBits(message.submittedAt.low >>> 0, message.submittedAt.high >>> 0).toNumber(true) : message.submittedAt;
|
|
34851
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
34852
|
+
if (typeof message.scheduledSessionId === "number")
|
|
34853
|
+
object.scheduledSessionId = options.longs === String ? String(message.scheduledSessionId) : message.scheduledSessionId;
|
|
34854
|
+
else
|
|
34855
|
+
object.scheduledSessionId = options.longs === String ? $util.Long.prototype.toString.call(message.scheduledSessionId) : options.longs === Number ? new $util.LongBits(message.scheduledSessionId.low >>> 0, message.scheduledSessionId.high >>> 0).toNumber(true) : message.scheduledSessionId;
|
|
34856
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
34857
|
+
if (typeof message.dropinSessionId === "number")
|
|
34858
|
+
object.dropinSessionId = options.longs === String ? String(message.dropinSessionId) : message.dropinSessionId;
|
|
34859
|
+
else
|
|
34860
|
+
object.dropinSessionId = options.longs === String ? $util.Long.prototype.toString.call(message.dropinSessionId) : options.longs === Number ? new $util.LongBits(message.dropinSessionId.low >>> 0, message.dropinSessionId.high >>> 0).toNumber(true) : message.dropinSessionId;
|
|
34861
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
34862
|
+
object.sessionFormat = options.enums === String ? $root.coaching.CoachingSessionFormat[message.sessionFormat] : message.sessionFormat;
|
|
34527
34863
|
return object;
|
|
34528
34864
|
};
|
|
34529
34865
|
|
|
@@ -144769,6 +145105,7 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
144769
145105
|
* @property {subscription.IPaymentMethod|null} [paymentMethod] SubscriptionUpcomingRenewal paymentMethod
|
|
144770
145106
|
* @property {number|null} [renewalAmount] SubscriptionUpcomingRenewal renewalAmount
|
|
144771
145107
|
* @property {string|null} [currency] SubscriptionUpcomingRenewal currency
|
|
145108
|
+
* @property {number|null} [renewalTermLength] SubscriptionUpcomingRenewal renewalTermLength
|
|
144772
145109
|
*/
|
|
144773
145110
|
|
|
144774
145111
|
/**
|
|
@@ -144858,6 +145195,14 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
144858
145195
|
*/
|
|
144859
145196
|
SubscriptionUpcomingRenewal.prototype.currency = "";
|
|
144860
145197
|
|
|
145198
|
+
/**
|
|
145199
|
+
* SubscriptionUpcomingRenewal renewalTermLength.
|
|
145200
|
+
* @member {number} renewalTermLength
|
|
145201
|
+
* @memberof SubscriptionUpcomingRenewal
|
|
145202
|
+
* @instance
|
|
145203
|
+
*/
|
|
145204
|
+
SubscriptionUpcomingRenewal.prototype.renewalTermLength = 0;
|
|
145205
|
+
|
|
144861
145206
|
/**
|
|
144862
145207
|
* Creates a new SubscriptionUpcomingRenewal instance using the specified properties.
|
|
144863
145208
|
* @function create
|
|
@@ -144900,6 +145245,8 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
144900
145245
|
writer.uint32(/* id 8, wireType 1 =*/65).double(message.renewalAmount);
|
|
144901
145246
|
if (message.currency != null && message.hasOwnProperty("currency"))
|
|
144902
145247
|
writer.uint32(/* id 9, wireType 2 =*/74).string(message.currency);
|
|
145248
|
+
if (message.renewalTermLength != null && message.hasOwnProperty("renewalTermLength"))
|
|
145249
|
+
writer.uint32(/* id 10, wireType 0 =*/80).uint32(message.renewalTermLength);
|
|
144903
145250
|
return writer;
|
|
144904
145251
|
};
|
|
144905
145252
|
|
|
@@ -144961,6 +145308,9 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
144961
145308
|
case 9:
|
|
144962
145309
|
message.currency = reader.string();
|
|
144963
145310
|
break;
|
|
145311
|
+
case 10:
|
|
145312
|
+
message.renewalTermLength = reader.uint32();
|
|
145313
|
+
break;
|
|
144964
145314
|
default:
|
|
144965
145315
|
reader.skipType(tag & 7);
|
|
144966
145316
|
break;
|
|
@@ -145037,6 +145387,9 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
145037
145387
|
if (message.currency != null && message.hasOwnProperty("currency"))
|
|
145038
145388
|
if (!$util.isString(message.currency))
|
|
145039
145389
|
return "currency: string expected";
|
|
145390
|
+
if (message.renewalTermLength != null && message.hasOwnProperty("renewalTermLength"))
|
|
145391
|
+
if (!$util.isInteger(message.renewalTermLength))
|
|
145392
|
+
return "renewalTermLength: integer expected";
|
|
145040
145393
|
return null;
|
|
145041
145394
|
};
|
|
145042
145395
|
|
|
@@ -145104,6 +145457,8 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
145104
145457
|
message.renewalAmount = Number(object.renewalAmount);
|
|
145105
145458
|
if (object.currency != null)
|
|
145106
145459
|
message.currency = String(object.currency);
|
|
145460
|
+
if (object.renewalTermLength != null)
|
|
145461
|
+
message.renewalTermLength = object.renewalTermLength >>> 0;
|
|
145107
145462
|
return message;
|
|
145108
145463
|
};
|
|
145109
145464
|
|
|
@@ -145134,6 +145489,7 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
145134
145489
|
object.paymentMethod = null;
|
|
145135
145490
|
object.renewalAmount = 0;
|
|
145136
145491
|
object.currency = "";
|
|
145492
|
+
object.renewalTermLength = 0;
|
|
145137
145493
|
}
|
|
145138
145494
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
145139
145495
|
object.id = message.id;
|
|
@@ -145156,6 +145512,8 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
145156
145512
|
object.renewalAmount = options.json && !isFinite(message.renewalAmount) ? String(message.renewalAmount) : message.renewalAmount;
|
|
145157
145513
|
if (message.currency != null && message.hasOwnProperty("currency"))
|
|
145158
145514
|
object.currency = message.currency;
|
|
145515
|
+
if (message.renewalTermLength != null && message.hasOwnProperty("renewalTermLength"))
|
|
145516
|
+
object.renewalTermLength = message.renewalTermLength;
|
|
145159
145517
|
return object;
|
|
145160
145518
|
};
|
|
145161
145519
|
|
|
@@ -172216,6 +172574,9 @@ $root.coaching = (function() {
|
|
|
172216
172574
|
* @property {number|null} [rating] CoachingChatRating rating
|
|
172217
172575
|
* @property {number|null} [memberGingerUserId] CoachingChatRating memberGingerUserId
|
|
172218
172576
|
* @property {string|null} [memberHsUserId] CoachingChatRating memberHsUserId
|
|
172577
|
+
* @property {number|Long|null} [scheduledSessionId] CoachingChatRating scheduledSessionId
|
|
172578
|
+
* @property {number|Long|null} [dropinSessionId] CoachingChatRating dropinSessionId
|
|
172579
|
+
* @property {coaching.CoachingSessionFormat|null} [sessionFormat] CoachingChatRating sessionFormat
|
|
172219
172580
|
*/
|
|
172220
172581
|
|
|
172221
172582
|
/**
|
|
@@ -172297,6 +172658,30 @@ $root.coaching = (function() {
|
|
|
172297
172658
|
*/
|
|
172298
172659
|
CoachingChatRating.prototype.memberHsUserId = "";
|
|
172299
172660
|
|
|
172661
|
+
/**
|
|
172662
|
+
* CoachingChatRating scheduledSessionId.
|
|
172663
|
+
* @member {number|Long} scheduledSessionId
|
|
172664
|
+
* @memberof coaching.CoachingChatRating
|
|
172665
|
+
* @instance
|
|
172666
|
+
*/
|
|
172667
|
+
CoachingChatRating.prototype.scheduledSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
172668
|
+
|
|
172669
|
+
/**
|
|
172670
|
+
* CoachingChatRating dropinSessionId.
|
|
172671
|
+
* @member {number|Long} dropinSessionId
|
|
172672
|
+
* @memberof coaching.CoachingChatRating
|
|
172673
|
+
* @instance
|
|
172674
|
+
*/
|
|
172675
|
+
CoachingChatRating.prototype.dropinSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
172676
|
+
|
|
172677
|
+
/**
|
|
172678
|
+
* CoachingChatRating sessionFormat.
|
|
172679
|
+
* @member {coaching.CoachingSessionFormat} sessionFormat
|
|
172680
|
+
* @memberof coaching.CoachingChatRating
|
|
172681
|
+
* @instance
|
|
172682
|
+
*/
|
|
172683
|
+
CoachingChatRating.prototype.sessionFormat = 0;
|
|
172684
|
+
|
|
172300
172685
|
/**
|
|
172301
172686
|
* Creates a new CoachingChatRating instance using the specified properties.
|
|
172302
172687
|
* @function create
|
|
@@ -172337,6 +172722,12 @@ $root.coaching = (function() {
|
|
|
172337
172722
|
writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.memberGingerUserId);
|
|
172338
172723
|
if (message.memberHsUserId != null && message.hasOwnProperty("memberHsUserId"))
|
|
172339
172724
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.memberHsUserId);
|
|
172725
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
172726
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.scheduledSessionId);
|
|
172727
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
172728
|
+
writer.uint32(/* id 10, wireType 0 =*/80).uint64(message.dropinSessionId);
|
|
172729
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
172730
|
+
writer.uint32(/* id 11, wireType 0 =*/88).int32(message.sessionFormat);
|
|
172340
172731
|
return writer;
|
|
172341
172732
|
};
|
|
172342
172733
|
|
|
@@ -172395,6 +172786,15 @@ $root.coaching = (function() {
|
|
|
172395
172786
|
case 8:
|
|
172396
172787
|
message.memberHsUserId = reader.string();
|
|
172397
172788
|
break;
|
|
172789
|
+
case 9:
|
|
172790
|
+
message.scheduledSessionId = reader.uint64();
|
|
172791
|
+
break;
|
|
172792
|
+
case 10:
|
|
172793
|
+
message.dropinSessionId = reader.uint64();
|
|
172794
|
+
break;
|
|
172795
|
+
case 11:
|
|
172796
|
+
message.sessionFormat = reader.int32();
|
|
172797
|
+
break;
|
|
172398
172798
|
default:
|
|
172399
172799
|
reader.skipType(tag & 7);
|
|
172400
172800
|
break;
|
|
@@ -172454,6 +172854,21 @@ $root.coaching = (function() {
|
|
|
172454
172854
|
if (message.memberHsUserId != null && message.hasOwnProperty("memberHsUserId"))
|
|
172455
172855
|
if (!$util.isString(message.memberHsUserId))
|
|
172456
172856
|
return "memberHsUserId: string expected";
|
|
172857
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
172858
|
+
if (!$util.isInteger(message.scheduledSessionId) && !(message.scheduledSessionId && $util.isInteger(message.scheduledSessionId.low) && $util.isInteger(message.scheduledSessionId.high)))
|
|
172859
|
+
return "scheduledSessionId: integer|Long expected";
|
|
172860
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
172861
|
+
if (!$util.isInteger(message.dropinSessionId) && !(message.dropinSessionId && $util.isInteger(message.dropinSessionId.low) && $util.isInteger(message.dropinSessionId.high)))
|
|
172862
|
+
return "dropinSessionId: integer|Long expected";
|
|
172863
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
172864
|
+
switch (message.sessionFormat) {
|
|
172865
|
+
default:
|
|
172866
|
+
return "sessionFormat: enum value expected";
|
|
172867
|
+
case 0:
|
|
172868
|
+
case 1:
|
|
172869
|
+
case 2:
|
|
172870
|
+
break;
|
|
172871
|
+
}
|
|
172457
172872
|
return null;
|
|
172458
172873
|
};
|
|
172459
172874
|
|
|
@@ -172492,6 +172907,38 @@ $root.coaching = (function() {
|
|
|
172492
172907
|
message.memberGingerUserId = object.memberGingerUserId >>> 0;
|
|
172493
172908
|
if (object.memberHsUserId != null)
|
|
172494
172909
|
message.memberHsUserId = String(object.memberHsUserId);
|
|
172910
|
+
if (object.scheduledSessionId != null)
|
|
172911
|
+
if ($util.Long)
|
|
172912
|
+
(message.scheduledSessionId = $util.Long.fromValue(object.scheduledSessionId)).unsigned = true;
|
|
172913
|
+
else if (typeof object.scheduledSessionId === "string")
|
|
172914
|
+
message.scheduledSessionId = parseInt(object.scheduledSessionId, 10);
|
|
172915
|
+
else if (typeof object.scheduledSessionId === "number")
|
|
172916
|
+
message.scheduledSessionId = object.scheduledSessionId;
|
|
172917
|
+
else if (typeof object.scheduledSessionId === "object")
|
|
172918
|
+
message.scheduledSessionId = new $util.LongBits(object.scheduledSessionId.low >>> 0, object.scheduledSessionId.high >>> 0).toNumber(true);
|
|
172919
|
+
if (object.dropinSessionId != null)
|
|
172920
|
+
if ($util.Long)
|
|
172921
|
+
(message.dropinSessionId = $util.Long.fromValue(object.dropinSessionId)).unsigned = true;
|
|
172922
|
+
else if (typeof object.dropinSessionId === "string")
|
|
172923
|
+
message.dropinSessionId = parseInt(object.dropinSessionId, 10);
|
|
172924
|
+
else if (typeof object.dropinSessionId === "number")
|
|
172925
|
+
message.dropinSessionId = object.dropinSessionId;
|
|
172926
|
+
else if (typeof object.dropinSessionId === "object")
|
|
172927
|
+
message.dropinSessionId = new $util.LongBits(object.dropinSessionId.low >>> 0, object.dropinSessionId.high >>> 0).toNumber(true);
|
|
172928
|
+
switch (object.sessionFormat) {
|
|
172929
|
+
case "COACHING_SESSION_FORMAT_UNKNOWN":
|
|
172930
|
+
case 0:
|
|
172931
|
+
message.sessionFormat = 0;
|
|
172932
|
+
break;
|
|
172933
|
+
case "COACHING_SESSION_FORMAT_CHAT":
|
|
172934
|
+
case 1:
|
|
172935
|
+
message.sessionFormat = 1;
|
|
172936
|
+
break;
|
|
172937
|
+
case "COACHING_SESSION_FORMAT_VIDEO":
|
|
172938
|
+
case 2:
|
|
172939
|
+
message.sessionFormat = 2;
|
|
172940
|
+
break;
|
|
172941
|
+
}
|
|
172495
172942
|
return message;
|
|
172496
172943
|
};
|
|
172497
172944
|
|
|
@@ -172521,6 +172968,17 @@ $root.coaching = (function() {
|
|
|
172521
172968
|
object.rating = 0;
|
|
172522
172969
|
object.memberGingerUserId = 0;
|
|
172523
172970
|
object.memberHsUserId = "";
|
|
172971
|
+
if ($util.Long) {
|
|
172972
|
+
var long = new $util.Long(0, 0, true);
|
|
172973
|
+
object.scheduledSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
172974
|
+
} else
|
|
172975
|
+
object.scheduledSessionId = options.longs === String ? "0" : 0;
|
|
172976
|
+
if ($util.Long) {
|
|
172977
|
+
var long = new $util.Long(0, 0, true);
|
|
172978
|
+
object.dropinSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
172979
|
+
} else
|
|
172980
|
+
object.dropinSessionId = options.longs === String ? "0" : 0;
|
|
172981
|
+
object.sessionFormat = options.enums === String ? "COACHING_SESSION_FORMAT_UNKNOWN" : 0;
|
|
172524
172982
|
}
|
|
172525
172983
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
172526
172984
|
object.id = message.id;
|
|
@@ -172541,6 +172999,18 @@ $root.coaching = (function() {
|
|
|
172541
172999
|
object.memberGingerUserId = message.memberGingerUserId;
|
|
172542
173000
|
if (message.memberHsUserId != null && message.hasOwnProperty("memberHsUserId"))
|
|
172543
173001
|
object.memberHsUserId = message.memberHsUserId;
|
|
173002
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
173003
|
+
if (typeof message.scheduledSessionId === "number")
|
|
173004
|
+
object.scheduledSessionId = options.longs === String ? String(message.scheduledSessionId) : message.scheduledSessionId;
|
|
173005
|
+
else
|
|
173006
|
+
object.scheduledSessionId = options.longs === String ? $util.Long.prototype.toString.call(message.scheduledSessionId) : options.longs === Number ? new $util.LongBits(message.scheduledSessionId.low >>> 0, message.scheduledSessionId.high >>> 0).toNumber(true) : message.scheduledSessionId;
|
|
173007
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
173008
|
+
if (typeof message.dropinSessionId === "number")
|
|
173009
|
+
object.dropinSessionId = options.longs === String ? String(message.dropinSessionId) : message.dropinSessionId;
|
|
173010
|
+
else
|
|
173011
|
+
object.dropinSessionId = options.longs === String ? $util.Long.prototype.toString.call(message.dropinSessionId) : options.longs === Number ? new $util.LongBits(message.dropinSessionId.low >>> 0, message.dropinSessionId.high >>> 0).toNumber(true) : message.dropinSessionId;
|
|
173012
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
173013
|
+
object.sessionFormat = options.enums === String ? $root.coaching.CoachingSessionFormat[message.sessionFormat] : message.sessionFormat;
|
|
172544
173014
|
return object;
|
|
172545
173015
|
};
|
|
172546
173016
|
|
|
@@ -172594,6 +173064,9 @@ $root.coaching = (function() {
|
|
|
172594
173064
|
* @property {string|null} [ratingComment] ListenerCoachingExperimentalChatRatingCreated ratingComment
|
|
172595
173065
|
* @property {number|null} [gingerUserId] ListenerCoachingExperimentalChatRatingCreated gingerUserId
|
|
172596
173066
|
* @property {string|null} [hsUserId] ListenerCoachingExperimentalChatRatingCreated hsUserId
|
|
173067
|
+
* @property {number|Long|null} [scheduledSessionId] ListenerCoachingExperimentalChatRatingCreated scheduledSessionId
|
|
173068
|
+
* @property {number|Long|null} [dropinSessionId] ListenerCoachingExperimentalChatRatingCreated dropinSessionId
|
|
173069
|
+
* @property {coaching.CoachingSessionFormat|null} [sessionFormat] ListenerCoachingExperimentalChatRatingCreated sessionFormat
|
|
172597
173070
|
*/
|
|
172598
173071
|
|
|
172599
173072
|
/**
|
|
@@ -172735,6 +173208,30 @@ $root.coaching = (function() {
|
|
|
172735
173208
|
*/
|
|
172736
173209
|
ListenerCoachingExperimentalChatRatingCreated.prototype.hsUserId = "";
|
|
172737
173210
|
|
|
173211
|
+
/**
|
|
173212
|
+
* ListenerCoachingExperimentalChatRatingCreated scheduledSessionId.
|
|
173213
|
+
* @member {number|Long} scheduledSessionId
|
|
173214
|
+
* @memberof coaching.ListenerCoachingExperimentalChatRatingCreated
|
|
173215
|
+
* @instance
|
|
173216
|
+
*/
|
|
173217
|
+
ListenerCoachingExperimentalChatRatingCreated.prototype.scheduledSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
173218
|
+
|
|
173219
|
+
/**
|
|
173220
|
+
* ListenerCoachingExperimentalChatRatingCreated dropinSessionId.
|
|
173221
|
+
* @member {number|Long} dropinSessionId
|
|
173222
|
+
* @memberof coaching.ListenerCoachingExperimentalChatRatingCreated
|
|
173223
|
+
* @instance
|
|
173224
|
+
*/
|
|
173225
|
+
ListenerCoachingExperimentalChatRatingCreated.prototype.dropinSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
173226
|
+
|
|
173227
|
+
/**
|
|
173228
|
+
* ListenerCoachingExperimentalChatRatingCreated sessionFormat.
|
|
173229
|
+
* @member {coaching.CoachingSessionFormat} sessionFormat
|
|
173230
|
+
* @memberof coaching.ListenerCoachingExperimentalChatRatingCreated
|
|
173231
|
+
* @instance
|
|
173232
|
+
*/
|
|
173233
|
+
ListenerCoachingExperimentalChatRatingCreated.prototype.sessionFormat = 0;
|
|
173234
|
+
|
|
172738
173235
|
/**
|
|
172739
173236
|
* Creates a new ListenerCoachingExperimentalChatRatingCreated instance using the specified properties.
|
|
172740
173237
|
* @function create
|
|
@@ -172787,6 +173284,12 @@ $root.coaching = (function() {
|
|
|
172787
173284
|
writer.uint32(/* id 13, wireType 0 =*/104).uint32(message.gingerUserId);
|
|
172788
173285
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
172789
173286
|
writer.uint32(/* id 14, wireType 2 =*/114).string(message.hsUserId);
|
|
173287
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
173288
|
+
writer.uint32(/* id 15, wireType 0 =*/120).uint64(message.scheduledSessionId);
|
|
173289
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
173290
|
+
writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.dropinSessionId);
|
|
173291
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
173292
|
+
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.sessionFormat);
|
|
172790
173293
|
return writer;
|
|
172791
173294
|
};
|
|
172792
173295
|
|
|
@@ -172863,6 +173366,15 @@ $root.coaching = (function() {
|
|
|
172863
173366
|
case 14:
|
|
172864
173367
|
message.hsUserId = reader.string();
|
|
172865
173368
|
break;
|
|
173369
|
+
case 15:
|
|
173370
|
+
message.scheduledSessionId = reader.uint64();
|
|
173371
|
+
break;
|
|
173372
|
+
case 16:
|
|
173373
|
+
message.dropinSessionId = reader.uint64();
|
|
173374
|
+
break;
|
|
173375
|
+
case 17:
|
|
173376
|
+
message.sessionFormat = reader.int32();
|
|
173377
|
+
break;
|
|
172866
173378
|
default:
|
|
172867
173379
|
reader.skipType(tag & 7);
|
|
172868
173380
|
break;
|
|
@@ -172946,6 +173458,21 @@ $root.coaching = (function() {
|
|
|
172946
173458
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
172947
173459
|
if (!$util.isString(message.hsUserId))
|
|
172948
173460
|
return "hsUserId: string expected";
|
|
173461
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
173462
|
+
if (!$util.isInteger(message.scheduledSessionId) && !(message.scheduledSessionId && $util.isInteger(message.scheduledSessionId.low) && $util.isInteger(message.scheduledSessionId.high)))
|
|
173463
|
+
return "scheduledSessionId: integer|Long expected";
|
|
173464
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
173465
|
+
if (!$util.isInteger(message.dropinSessionId) && !(message.dropinSessionId && $util.isInteger(message.dropinSessionId.low) && $util.isInteger(message.dropinSessionId.high)))
|
|
173466
|
+
return "dropinSessionId: integer|Long expected";
|
|
173467
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
173468
|
+
switch (message.sessionFormat) {
|
|
173469
|
+
default:
|
|
173470
|
+
return "sessionFormat: enum value expected";
|
|
173471
|
+
case 0:
|
|
173472
|
+
case 1:
|
|
173473
|
+
case 2:
|
|
173474
|
+
break;
|
|
173475
|
+
}
|
|
172949
173476
|
return null;
|
|
172950
173477
|
};
|
|
172951
173478
|
|
|
@@ -173008,6 +173535,38 @@ $root.coaching = (function() {
|
|
|
173008
173535
|
message.gingerUserId = object.gingerUserId >>> 0;
|
|
173009
173536
|
if (object.hsUserId != null)
|
|
173010
173537
|
message.hsUserId = String(object.hsUserId);
|
|
173538
|
+
if (object.scheduledSessionId != null)
|
|
173539
|
+
if ($util.Long)
|
|
173540
|
+
(message.scheduledSessionId = $util.Long.fromValue(object.scheduledSessionId)).unsigned = true;
|
|
173541
|
+
else if (typeof object.scheduledSessionId === "string")
|
|
173542
|
+
message.scheduledSessionId = parseInt(object.scheduledSessionId, 10);
|
|
173543
|
+
else if (typeof object.scheduledSessionId === "number")
|
|
173544
|
+
message.scheduledSessionId = object.scheduledSessionId;
|
|
173545
|
+
else if (typeof object.scheduledSessionId === "object")
|
|
173546
|
+
message.scheduledSessionId = new $util.LongBits(object.scheduledSessionId.low >>> 0, object.scheduledSessionId.high >>> 0).toNumber(true);
|
|
173547
|
+
if (object.dropinSessionId != null)
|
|
173548
|
+
if ($util.Long)
|
|
173549
|
+
(message.dropinSessionId = $util.Long.fromValue(object.dropinSessionId)).unsigned = true;
|
|
173550
|
+
else if (typeof object.dropinSessionId === "string")
|
|
173551
|
+
message.dropinSessionId = parseInt(object.dropinSessionId, 10);
|
|
173552
|
+
else if (typeof object.dropinSessionId === "number")
|
|
173553
|
+
message.dropinSessionId = object.dropinSessionId;
|
|
173554
|
+
else if (typeof object.dropinSessionId === "object")
|
|
173555
|
+
message.dropinSessionId = new $util.LongBits(object.dropinSessionId.low >>> 0, object.dropinSessionId.high >>> 0).toNumber(true);
|
|
173556
|
+
switch (object.sessionFormat) {
|
|
173557
|
+
case "COACHING_SESSION_FORMAT_UNKNOWN":
|
|
173558
|
+
case 0:
|
|
173559
|
+
message.sessionFormat = 0;
|
|
173560
|
+
break;
|
|
173561
|
+
case "COACHING_SESSION_FORMAT_CHAT":
|
|
173562
|
+
case 1:
|
|
173563
|
+
message.sessionFormat = 1;
|
|
173564
|
+
break;
|
|
173565
|
+
case "COACHING_SESSION_FORMAT_VIDEO":
|
|
173566
|
+
case 2:
|
|
173567
|
+
message.sessionFormat = 2;
|
|
173568
|
+
break;
|
|
173569
|
+
}
|
|
173011
173570
|
return message;
|
|
173012
173571
|
};
|
|
173013
173572
|
|
|
@@ -173043,6 +173602,17 @@ $root.coaching = (function() {
|
|
|
173043
173602
|
object.ratingComment = "";
|
|
173044
173603
|
object.gingerUserId = 0;
|
|
173045
173604
|
object.hsUserId = "";
|
|
173605
|
+
if ($util.Long) {
|
|
173606
|
+
var long = new $util.Long(0, 0, true);
|
|
173607
|
+
object.scheduledSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
173608
|
+
} else
|
|
173609
|
+
object.scheduledSessionId = options.longs === String ? "0" : 0;
|
|
173610
|
+
if ($util.Long) {
|
|
173611
|
+
var long = new $util.Long(0, 0, true);
|
|
173612
|
+
object.dropinSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
173613
|
+
} else
|
|
173614
|
+
object.dropinSessionId = options.longs === String ? "0" : 0;
|
|
173615
|
+
object.sessionFormat = options.enums === String ? "COACHING_SESSION_FORMAT_UNKNOWN" : 0;
|
|
173046
173616
|
}
|
|
173047
173617
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
173048
173618
|
object.id = message.id;
|
|
@@ -173075,6 +173645,18 @@ $root.coaching = (function() {
|
|
|
173075
173645
|
object.gingerUserId = message.gingerUserId;
|
|
173076
173646
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
173077
173647
|
object.hsUserId = message.hsUserId;
|
|
173648
|
+
if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
|
|
173649
|
+
if (typeof message.scheduledSessionId === "number")
|
|
173650
|
+
object.scheduledSessionId = options.longs === String ? String(message.scheduledSessionId) : message.scheduledSessionId;
|
|
173651
|
+
else
|
|
173652
|
+
object.scheduledSessionId = options.longs === String ? $util.Long.prototype.toString.call(message.scheduledSessionId) : options.longs === Number ? new $util.LongBits(message.scheduledSessionId.low >>> 0, message.scheduledSessionId.high >>> 0).toNumber(true) : message.scheduledSessionId;
|
|
173653
|
+
if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
|
|
173654
|
+
if (typeof message.dropinSessionId === "number")
|
|
173655
|
+
object.dropinSessionId = options.longs === String ? String(message.dropinSessionId) : message.dropinSessionId;
|
|
173656
|
+
else
|
|
173657
|
+
object.dropinSessionId = options.longs === String ? $util.Long.prototype.toString.call(message.dropinSessionId) : options.longs === Number ? new $util.LongBits(message.dropinSessionId.low >>> 0, message.dropinSessionId.high >>> 0).toNumber(true) : message.dropinSessionId;
|
|
173658
|
+
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
173659
|
+
object.sessionFormat = options.enums === String ? $root.coaching.CoachingSessionFormat[message.sessionFormat] : message.sessionFormat;
|
|
173078
173660
|
return object;
|
|
173079
173661
|
};
|
|
173080
173662
|
|
package/package.json
CHANGED