@headspace/protos-events 1.720.0 → 1.722.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +90 -96
  2. package/lib/index.js +560 -238
  3. 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
@@ -31974,102 +32028,6 @@ export class OrganizationMFAUpdated implements IOrganizationMFAUpdated {
31974
32028
  public toJSON(): { [k: string]: any };
31975
32029
  }
31976
32030
 
31977
- /** Properties of a B2bSsoOrganizationMigrated. */
31978
- export interface IB2bSsoOrganizationMigrated {
31979
-
31980
- /** B2bSsoOrganizationMigrated orgId */
31981
- orgId?: (number|Long|null);
31982
-
31983
- /** B2bSsoOrganizationMigrated migratedAtTimestamp */
31984
- migratedAtTimestamp?: (number|Long|null);
31985
- }
31986
-
31987
- /** Represents a B2bSsoOrganizationMigrated. */
31988
- export class B2bSsoOrganizationMigrated implements IB2bSsoOrganizationMigrated {
31989
-
31990
- /**
31991
- * Constructs a new B2bSsoOrganizationMigrated.
31992
- * @param [properties] Properties to set
31993
- */
31994
- constructor(properties?: IB2bSsoOrganizationMigrated);
31995
-
31996
- /** B2bSsoOrganizationMigrated orgId. */
31997
- public orgId: (number|Long);
31998
-
31999
- /** B2bSsoOrganizationMigrated migratedAtTimestamp. */
32000
- public migratedAtTimestamp: (number|Long);
32001
-
32002
- /**
32003
- * Creates a new B2bSsoOrganizationMigrated instance using the specified properties.
32004
- * @param [properties] Properties to set
32005
- * @returns B2bSsoOrganizationMigrated instance
32006
- */
32007
- public static create(properties?: IB2bSsoOrganizationMigrated): B2bSsoOrganizationMigrated;
32008
-
32009
- /**
32010
- * Encodes the specified B2bSsoOrganizationMigrated message. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
32011
- * @param message B2bSsoOrganizationMigrated message or plain object to encode
32012
- * @param [writer] Writer to encode to
32013
- * @returns Writer
32014
- */
32015
- public static encode(message: IB2bSsoOrganizationMigrated, writer?: $protobuf.Writer): $protobuf.Writer;
32016
-
32017
- /**
32018
- * Encodes the specified B2bSsoOrganizationMigrated message, length delimited. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
32019
- * @param message B2bSsoOrganizationMigrated message or plain object to encode
32020
- * @param [writer] Writer to encode to
32021
- * @returns Writer
32022
- */
32023
- public static encodeDelimited(message: IB2bSsoOrganizationMigrated, writer?: $protobuf.Writer): $protobuf.Writer;
32024
-
32025
- /**
32026
- * Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer.
32027
- * @param reader Reader or buffer to decode from
32028
- * @param [length] Message length if known beforehand
32029
- * @returns B2bSsoOrganizationMigrated
32030
- * @throws {Error} If the payload is not a reader or valid buffer
32031
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32032
- */
32033
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2bSsoOrganizationMigrated;
32034
-
32035
- /**
32036
- * Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer, length delimited.
32037
- * @param reader Reader or buffer to decode from
32038
- * @returns B2bSsoOrganizationMigrated
32039
- * @throws {Error} If the payload is not a reader or valid buffer
32040
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32041
- */
32042
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2bSsoOrganizationMigrated;
32043
-
32044
- /**
32045
- * Verifies a B2bSsoOrganizationMigrated message.
32046
- * @param message Plain object to verify
32047
- * @returns `null` if valid, otherwise the reason why it is not
32048
- */
32049
- public static verify(message: { [k: string]: any }): (string|null);
32050
-
32051
- /**
32052
- * Creates a B2bSsoOrganizationMigrated message from a plain object. Also converts values to their respective internal types.
32053
- * @param object Plain object
32054
- * @returns B2bSsoOrganizationMigrated
32055
- */
32056
- public static fromObject(object: { [k: string]: any }): B2bSsoOrganizationMigrated;
32057
-
32058
- /**
32059
- * Creates a plain object from a B2bSsoOrganizationMigrated message. Also converts values to other types if specified.
32060
- * @param message B2bSsoOrganizationMigrated
32061
- * @param [options] Conversion options
32062
- * @returns Plain object
32063
- */
32064
- public static toObject(message: B2bSsoOrganizationMigrated, options?: $protobuf.IConversionOptions): { [k: string]: any };
32065
-
32066
- /**
32067
- * Converts this B2bSsoOrganizationMigrated to JSON.
32068
- * @returns JSON object
32069
- */
32070
- public toJSON(): { [k: string]: any };
32071
- }
32072
-
32073
32031
  /** Properties of an OrgMarketingConfigUpdated. */
32074
32032
  export interface IOrgMarketingConfigUpdated {
32075
32033
 
@@ -59922,6 +59880,15 @@ export namespace coaching {
59922
59880
 
59923
59881
  /** CoachingChatRating memberHsUserId */
59924
59882
  memberHsUserId?: (string|null);
59883
+
59884
+ /** CoachingChatRating scheduledSessionId */
59885
+ scheduledSessionId?: (number|Long|null);
59886
+
59887
+ /** CoachingChatRating dropinSessionId */
59888
+ dropinSessionId?: (number|Long|null);
59889
+
59890
+ /** CoachingChatRating sessionFormat */
59891
+ sessionFormat?: (coaching.CoachingSessionFormat|null);
59925
59892
  }
59926
59893
 
59927
59894
  /** Represents a CoachingChatRating. */
@@ -59957,6 +59924,15 @@ export namespace coaching {
59957
59924
  /** CoachingChatRating memberHsUserId. */
59958
59925
  public memberHsUserId: string;
59959
59926
 
59927
+ /** CoachingChatRating scheduledSessionId. */
59928
+ public scheduledSessionId: (number|Long);
59929
+
59930
+ /** CoachingChatRating dropinSessionId. */
59931
+ public dropinSessionId: (number|Long);
59932
+
59933
+ /** CoachingChatRating sessionFormat. */
59934
+ public sessionFormat: coaching.CoachingSessionFormat;
59935
+
59960
59936
  /**
59961
59937
  * Creates a new CoachingChatRating instance using the specified properties.
59962
59938
  * @param [properties] Properties to set
@@ -60079,6 +60055,15 @@ export namespace coaching {
60079
60055
 
60080
60056
  /** ListenerCoachingExperimentalChatRatingCreated hsUserId */
60081
60057
  hsUserId?: (string|null);
60058
+
60059
+ /** ListenerCoachingExperimentalChatRatingCreated scheduledSessionId */
60060
+ scheduledSessionId?: (number|Long|null);
60061
+
60062
+ /** ListenerCoachingExperimentalChatRatingCreated dropinSessionId */
60063
+ dropinSessionId?: (number|Long|null);
60064
+
60065
+ /** ListenerCoachingExperimentalChatRatingCreated sessionFormat */
60066
+ sessionFormat?: (coaching.CoachingSessionFormat|null);
60082
60067
  }
60083
60068
 
60084
60069
  /**
@@ -60146,6 +60131,15 @@ export namespace coaching {
60146
60131
  /** ListenerCoachingExperimentalChatRatingCreated hsUserId. */
60147
60132
  public hsUserId: string;
60148
60133
 
60134
+ /** ListenerCoachingExperimentalChatRatingCreated scheduledSessionId. */
60135
+ public scheduledSessionId: (number|Long);
60136
+
60137
+ /** ListenerCoachingExperimentalChatRatingCreated dropinSessionId. */
60138
+ public dropinSessionId: (number|Long);
60139
+
60140
+ /** ListenerCoachingExperimentalChatRatingCreated sessionFormat. */
60141
+ public sessionFormat: coaching.CoachingSessionFormat;
60142
+
60149
60143
  /**
60150
60144
  * Creates a new ListenerCoachingExperimentalChatRatingCreated instance using the specified properties.
60151
60145
  * @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
 
@@ -89807,244 +90143,6 @@ $root.OrganizationMFAUpdated = (function() {
89807
90143
  return OrganizationMFAUpdated;
89808
90144
  })();
89809
90145
 
89810
- $root.B2bSsoOrganizationMigrated = (function() {
89811
-
89812
- /**
89813
- * Properties of a B2bSsoOrganizationMigrated.
89814
- * @name IB2bSsoOrganizationMigrated
89815
- * @interface IB2bSsoOrganizationMigrated
89816
- * @property {number|Long|null} [orgId] B2bSsoOrganizationMigrated orgId
89817
- * @property {number|Long|null} [migratedAtTimestamp] B2bSsoOrganizationMigrated migratedAtTimestamp
89818
- */
89819
-
89820
- /**
89821
- * Constructs a new B2bSsoOrganizationMigrated.
89822
- * @name B2bSsoOrganizationMigrated
89823
- * @classdesc Represents a B2bSsoOrganizationMigrated.
89824
- * @implements IB2bSsoOrganizationMigrated
89825
- * @constructor
89826
- * @param {IB2bSsoOrganizationMigrated=} [properties] Properties to set
89827
- */
89828
- function B2bSsoOrganizationMigrated(properties) {
89829
- if (properties)
89830
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
89831
- if (properties[keys[i]] != null)
89832
- this[keys[i]] = properties[keys[i]];
89833
- }
89834
-
89835
- /**
89836
- * B2bSsoOrganizationMigrated orgId.
89837
- * @member {number|Long} orgId
89838
- * @memberof B2bSsoOrganizationMigrated
89839
- * @instance
89840
- */
89841
- B2bSsoOrganizationMigrated.prototype.orgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
89842
-
89843
- /**
89844
- * B2bSsoOrganizationMigrated migratedAtTimestamp.
89845
- * @member {number|Long} migratedAtTimestamp
89846
- * @memberof B2bSsoOrganizationMigrated
89847
- * @instance
89848
- */
89849
- B2bSsoOrganizationMigrated.prototype.migratedAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
89850
-
89851
- /**
89852
- * Creates a new B2bSsoOrganizationMigrated instance using the specified properties.
89853
- * @function create
89854
- * @memberof B2bSsoOrganizationMigrated
89855
- * @static
89856
- * @param {IB2bSsoOrganizationMigrated=} [properties] Properties to set
89857
- * @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated instance
89858
- */
89859
- B2bSsoOrganizationMigrated.create = function create(properties) {
89860
- return new B2bSsoOrganizationMigrated(properties);
89861
- };
89862
-
89863
- /**
89864
- * Encodes the specified B2bSsoOrganizationMigrated message. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
89865
- * @function encode
89866
- * @memberof B2bSsoOrganizationMigrated
89867
- * @static
89868
- * @param {IB2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated message or plain object to encode
89869
- * @param {$protobuf.Writer} [writer] Writer to encode to
89870
- * @returns {$protobuf.Writer} Writer
89871
- */
89872
- B2bSsoOrganizationMigrated.encode = function encode(message, writer) {
89873
- if (!writer)
89874
- writer = $Writer.create();
89875
- if (message.orgId != null && message.hasOwnProperty("orgId"))
89876
- writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.orgId);
89877
- if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
89878
- writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.migratedAtTimestamp);
89879
- return writer;
89880
- };
89881
-
89882
- /**
89883
- * Encodes the specified B2bSsoOrganizationMigrated message, length delimited. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
89884
- * @function encodeDelimited
89885
- * @memberof B2bSsoOrganizationMigrated
89886
- * @static
89887
- * @param {IB2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated message or plain object to encode
89888
- * @param {$protobuf.Writer} [writer] Writer to encode to
89889
- * @returns {$protobuf.Writer} Writer
89890
- */
89891
- B2bSsoOrganizationMigrated.encodeDelimited = function encodeDelimited(message, writer) {
89892
- return this.encode(message, writer).ldelim();
89893
- };
89894
-
89895
- /**
89896
- * Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer.
89897
- * @function decode
89898
- * @memberof B2bSsoOrganizationMigrated
89899
- * @static
89900
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89901
- * @param {number} [length] Message length if known beforehand
89902
- * @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
89903
- * @throws {Error} If the payload is not a reader or valid buffer
89904
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
89905
- */
89906
- B2bSsoOrganizationMigrated.decode = function decode(reader, length) {
89907
- if (!(reader instanceof $Reader))
89908
- reader = $Reader.create(reader);
89909
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2bSsoOrganizationMigrated();
89910
- while (reader.pos < end) {
89911
- var tag = reader.uint32();
89912
- switch (tag >>> 3) {
89913
- case 1:
89914
- message.orgId = reader.uint64();
89915
- break;
89916
- case 2:
89917
- message.migratedAtTimestamp = reader.uint64();
89918
- break;
89919
- default:
89920
- reader.skipType(tag & 7);
89921
- break;
89922
- }
89923
- }
89924
- return message;
89925
- };
89926
-
89927
- /**
89928
- * Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer, length delimited.
89929
- * @function decodeDelimited
89930
- * @memberof B2bSsoOrganizationMigrated
89931
- * @static
89932
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89933
- * @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
89934
- * @throws {Error} If the payload is not a reader or valid buffer
89935
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
89936
- */
89937
- B2bSsoOrganizationMigrated.decodeDelimited = function decodeDelimited(reader) {
89938
- if (!(reader instanceof $Reader))
89939
- reader = new $Reader(reader);
89940
- return this.decode(reader, reader.uint32());
89941
- };
89942
-
89943
- /**
89944
- * Verifies a B2bSsoOrganizationMigrated message.
89945
- * @function verify
89946
- * @memberof B2bSsoOrganizationMigrated
89947
- * @static
89948
- * @param {Object.<string,*>} message Plain object to verify
89949
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
89950
- */
89951
- B2bSsoOrganizationMigrated.verify = function verify(message) {
89952
- if (typeof message !== "object" || message === null)
89953
- return "object expected";
89954
- if (message.orgId != null && message.hasOwnProperty("orgId"))
89955
- if (!$util.isInteger(message.orgId) && !(message.orgId && $util.isInteger(message.orgId.low) && $util.isInteger(message.orgId.high)))
89956
- return "orgId: integer|Long expected";
89957
- if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
89958
- if (!$util.isInteger(message.migratedAtTimestamp) && !(message.migratedAtTimestamp && $util.isInteger(message.migratedAtTimestamp.low) && $util.isInteger(message.migratedAtTimestamp.high)))
89959
- return "migratedAtTimestamp: integer|Long expected";
89960
- return null;
89961
- };
89962
-
89963
- /**
89964
- * Creates a B2bSsoOrganizationMigrated message from a plain object. Also converts values to their respective internal types.
89965
- * @function fromObject
89966
- * @memberof B2bSsoOrganizationMigrated
89967
- * @static
89968
- * @param {Object.<string,*>} object Plain object
89969
- * @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
89970
- */
89971
- B2bSsoOrganizationMigrated.fromObject = function fromObject(object) {
89972
- if (object instanceof $root.B2bSsoOrganizationMigrated)
89973
- return object;
89974
- var message = new $root.B2bSsoOrganizationMigrated();
89975
- if (object.orgId != null)
89976
- if ($util.Long)
89977
- (message.orgId = $util.Long.fromValue(object.orgId)).unsigned = true;
89978
- else if (typeof object.orgId === "string")
89979
- message.orgId = parseInt(object.orgId, 10);
89980
- else if (typeof object.orgId === "number")
89981
- message.orgId = object.orgId;
89982
- else if (typeof object.orgId === "object")
89983
- message.orgId = new $util.LongBits(object.orgId.low >>> 0, object.orgId.high >>> 0).toNumber(true);
89984
- if (object.migratedAtTimestamp != null)
89985
- if ($util.Long)
89986
- (message.migratedAtTimestamp = $util.Long.fromValue(object.migratedAtTimestamp)).unsigned = true;
89987
- else if (typeof object.migratedAtTimestamp === "string")
89988
- message.migratedAtTimestamp = parseInt(object.migratedAtTimestamp, 10);
89989
- else if (typeof object.migratedAtTimestamp === "number")
89990
- message.migratedAtTimestamp = object.migratedAtTimestamp;
89991
- else if (typeof object.migratedAtTimestamp === "object")
89992
- message.migratedAtTimestamp = new $util.LongBits(object.migratedAtTimestamp.low >>> 0, object.migratedAtTimestamp.high >>> 0).toNumber(true);
89993
- return message;
89994
- };
89995
-
89996
- /**
89997
- * Creates a plain object from a B2bSsoOrganizationMigrated message. Also converts values to other types if specified.
89998
- * @function toObject
89999
- * @memberof B2bSsoOrganizationMigrated
90000
- * @static
90001
- * @param {B2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated
90002
- * @param {$protobuf.IConversionOptions} [options] Conversion options
90003
- * @returns {Object.<string,*>} Plain object
90004
- */
90005
- B2bSsoOrganizationMigrated.toObject = function toObject(message, options) {
90006
- if (!options)
90007
- options = {};
90008
- var object = {};
90009
- if (options.defaults) {
90010
- if ($util.Long) {
90011
- var long = new $util.Long(0, 0, true);
90012
- object.orgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
90013
- } else
90014
- object.orgId = options.longs === String ? "0" : 0;
90015
- if ($util.Long) {
90016
- var long = new $util.Long(0, 0, true);
90017
- object.migratedAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
90018
- } else
90019
- object.migratedAtTimestamp = options.longs === String ? "0" : 0;
90020
- }
90021
- if (message.orgId != null && message.hasOwnProperty("orgId"))
90022
- if (typeof message.orgId === "number")
90023
- object.orgId = options.longs === String ? String(message.orgId) : message.orgId;
90024
- else
90025
- object.orgId = options.longs === String ? $util.Long.prototype.toString.call(message.orgId) : options.longs === Number ? new $util.LongBits(message.orgId.low >>> 0, message.orgId.high >>> 0).toNumber(true) : message.orgId;
90026
- if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
90027
- if (typeof message.migratedAtTimestamp === "number")
90028
- object.migratedAtTimestamp = options.longs === String ? String(message.migratedAtTimestamp) : message.migratedAtTimestamp;
90029
- else
90030
- object.migratedAtTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.migratedAtTimestamp) : options.longs === Number ? new $util.LongBits(message.migratedAtTimestamp.low >>> 0, message.migratedAtTimestamp.high >>> 0).toNumber(true) : message.migratedAtTimestamp;
90031
- return object;
90032
- };
90033
-
90034
- /**
90035
- * Converts this B2bSsoOrganizationMigrated to JSON.
90036
- * @function toJSON
90037
- * @memberof B2bSsoOrganizationMigrated
90038
- * @instance
90039
- * @returns {Object.<string,*>} JSON object
90040
- */
90041
- B2bSsoOrganizationMigrated.prototype.toJSON = function toJSON() {
90042
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
90043
- };
90044
-
90045
- return B2bSsoOrganizationMigrated;
90046
- })();
90047
-
90048
90146
  $root.OrgMarketingConfigUpdated = (function() {
90049
90147
 
90050
90148
  /**
@@ -172238,6 +172336,9 @@ $root.coaching = (function() {
172238
172336
  * @property {number|null} [rating] CoachingChatRating rating
172239
172337
  * @property {number|null} [memberGingerUserId] CoachingChatRating memberGingerUserId
172240
172338
  * @property {string|null} [memberHsUserId] CoachingChatRating memberHsUserId
172339
+ * @property {number|Long|null} [scheduledSessionId] CoachingChatRating scheduledSessionId
172340
+ * @property {number|Long|null} [dropinSessionId] CoachingChatRating dropinSessionId
172341
+ * @property {coaching.CoachingSessionFormat|null} [sessionFormat] CoachingChatRating sessionFormat
172241
172342
  */
172242
172343
 
172243
172344
  /**
@@ -172319,6 +172420,30 @@ $root.coaching = (function() {
172319
172420
  */
172320
172421
  CoachingChatRating.prototype.memberHsUserId = "";
172321
172422
 
172423
+ /**
172424
+ * CoachingChatRating scheduledSessionId.
172425
+ * @member {number|Long} scheduledSessionId
172426
+ * @memberof coaching.CoachingChatRating
172427
+ * @instance
172428
+ */
172429
+ CoachingChatRating.prototype.scheduledSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
172430
+
172431
+ /**
172432
+ * CoachingChatRating dropinSessionId.
172433
+ * @member {number|Long} dropinSessionId
172434
+ * @memberof coaching.CoachingChatRating
172435
+ * @instance
172436
+ */
172437
+ CoachingChatRating.prototype.dropinSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
172438
+
172439
+ /**
172440
+ * CoachingChatRating sessionFormat.
172441
+ * @member {coaching.CoachingSessionFormat} sessionFormat
172442
+ * @memberof coaching.CoachingChatRating
172443
+ * @instance
172444
+ */
172445
+ CoachingChatRating.prototype.sessionFormat = 0;
172446
+
172322
172447
  /**
172323
172448
  * Creates a new CoachingChatRating instance using the specified properties.
172324
172449
  * @function create
@@ -172359,6 +172484,12 @@ $root.coaching = (function() {
172359
172484
  writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.memberGingerUserId);
172360
172485
  if (message.memberHsUserId != null && message.hasOwnProperty("memberHsUserId"))
172361
172486
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.memberHsUserId);
172487
+ if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
172488
+ writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.scheduledSessionId);
172489
+ if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
172490
+ writer.uint32(/* id 10, wireType 0 =*/80).uint64(message.dropinSessionId);
172491
+ if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
172492
+ writer.uint32(/* id 11, wireType 0 =*/88).int32(message.sessionFormat);
172362
172493
  return writer;
172363
172494
  };
172364
172495
 
@@ -172417,6 +172548,15 @@ $root.coaching = (function() {
172417
172548
  case 8:
172418
172549
  message.memberHsUserId = reader.string();
172419
172550
  break;
172551
+ case 9:
172552
+ message.scheduledSessionId = reader.uint64();
172553
+ break;
172554
+ case 10:
172555
+ message.dropinSessionId = reader.uint64();
172556
+ break;
172557
+ case 11:
172558
+ message.sessionFormat = reader.int32();
172559
+ break;
172420
172560
  default:
172421
172561
  reader.skipType(tag & 7);
172422
172562
  break;
@@ -172476,6 +172616,21 @@ $root.coaching = (function() {
172476
172616
  if (message.memberHsUserId != null && message.hasOwnProperty("memberHsUserId"))
172477
172617
  if (!$util.isString(message.memberHsUserId))
172478
172618
  return "memberHsUserId: string expected";
172619
+ if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
172620
+ if (!$util.isInteger(message.scheduledSessionId) && !(message.scheduledSessionId && $util.isInteger(message.scheduledSessionId.low) && $util.isInteger(message.scheduledSessionId.high)))
172621
+ return "scheduledSessionId: integer|Long expected";
172622
+ if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
172623
+ if (!$util.isInteger(message.dropinSessionId) && !(message.dropinSessionId && $util.isInteger(message.dropinSessionId.low) && $util.isInteger(message.dropinSessionId.high)))
172624
+ return "dropinSessionId: integer|Long expected";
172625
+ if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
172626
+ switch (message.sessionFormat) {
172627
+ default:
172628
+ return "sessionFormat: enum value expected";
172629
+ case 0:
172630
+ case 1:
172631
+ case 2:
172632
+ break;
172633
+ }
172479
172634
  return null;
172480
172635
  };
172481
172636
 
@@ -172514,6 +172669,38 @@ $root.coaching = (function() {
172514
172669
  message.memberGingerUserId = object.memberGingerUserId >>> 0;
172515
172670
  if (object.memberHsUserId != null)
172516
172671
  message.memberHsUserId = String(object.memberHsUserId);
172672
+ if (object.scheduledSessionId != null)
172673
+ if ($util.Long)
172674
+ (message.scheduledSessionId = $util.Long.fromValue(object.scheduledSessionId)).unsigned = true;
172675
+ else if (typeof object.scheduledSessionId === "string")
172676
+ message.scheduledSessionId = parseInt(object.scheduledSessionId, 10);
172677
+ else if (typeof object.scheduledSessionId === "number")
172678
+ message.scheduledSessionId = object.scheduledSessionId;
172679
+ else if (typeof object.scheduledSessionId === "object")
172680
+ message.scheduledSessionId = new $util.LongBits(object.scheduledSessionId.low >>> 0, object.scheduledSessionId.high >>> 0).toNumber(true);
172681
+ if (object.dropinSessionId != null)
172682
+ if ($util.Long)
172683
+ (message.dropinSessionId = $util.Long.fromValue(object.dropinSessionId)).unsigned = true;
172684
+ else if (typeof object.dropinSessionId === "string")
172685
+ message.dropinSessionId = parseInt(object.dropinSessionId, 10);
172686
+ else if (typeof object.dropinSessionId === "number")
172687
+ message.dropinSessionId = object.dropinSessionId;
172688
+ else if (typeof object.dropinSessionId === "object")
172689
+ message.dropinSessionId = new $util.LongBits(object.dropinSessionId.low >>> 0, object.dropinSessionId.high >>> 0).toNumber(true);
172690
+ switch (object.sessionFormat) {
172691
+ case "COACHING_SESSION_FORMAT_UNKNOWN":
172692
+ case 0:
172693
+ message.sessionFormat = 0;
172694
+ break;
172695
+ case "COACHING_SESSION_FORMAT_CHAT":
172696
+ case 1:
172697
+ message.sessionFormat = 1;
172698
+ break;
172699
+ case "COACHING_SESSION_FORMAT_VIDEO":
172700
+ case 2:
172701
+ message.sessionFormat = 2;
172702
+ break;
172703
+ }
172517
172704
  return message;
172518
172705
  };
172519
172706
 
@@ -172543,6 +172730,17 @@ $root.coaching = (function() {
172543
172730
  object.rating = 0;
172544
172731
  object.memberGingerUserId = 0;
172545
172732
  object.memberHsUserId = "";
172733
+ if ($util.Long) {
172734
+ var long = new $util.Long(0, 0, true);
172735
+ object.scheduledSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
172736
+ } else
172737
+ object.scheduledSessionId = options.longs === String ? "0" : 0;
172738
+ if ($util.Long) {
172739
+ var long = new $util.Long(0, 0, true);
172740
+ object.dropinSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
172741
+ } else
172742
+ object.dropinSessionId = options.longs === String ? "0" : 0;
172743
+ object.sessionFormat = options.enums === String ? "COACHING_SESSION_FORMAT_UNKNOWN" : 0;
172546
172744
  }
172547
172745
  if (message.id != null && message.hasOwnProperty("id"))
172548
172746
  object.id = message.id;
@@ -172563,6 +172761,18 @@ $root.coaching = (function() {
172563
172761
  object.memberGingerUserId = message.memberGingerUserId;
172564
172762
  if (message.memberHsUserId != null && message.hasOwnProperty("memberHsUserId"))
172565
172763
  object.memberHsUserId = message.memberHsUserId;
172764
+ if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
172765
+ if (typeof message.scheduledSessionId === "number")
172766
+ object.scheduledSessionId = options.longs === String ? String(message.scheduledSessionId) : message.scheduledSessionId;
172767
+ else
172768
+ 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;
172769
+ if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
172770
+ if (typeof message.dropinSessionId === "number")
172771
+ object.dropinSessionId = options.longs === String ? String(message.dropinSessionId) : message.dropinSessionId;
172772
+ else
172773
+ 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;
172774
+ if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
172775
+ object.sessionFormat = options.enums === String ? $root.coaching.CoachingSessionFormat[message.sessionFormat] : message.sessionFormat;
172566
172776
  return object;
172567
172777
  };
172568
172778
 
@@ -172616,6 +172826,9 @@ $root.coaching = (function() {
172616
172826
  * @property {string|null} [ratingComment] ListenerCoachingExperimentalChatRatingCreated ratingComment
172617
172827
  * @property {number|null} [gingerUserId] ListenerCoachingExperimentalChatRatingCreated gingerUserId
172618
172828
  * @property {string|null} [hsUserId] ListenerCoachingExperimentalChatRatingCreated hsUserId
172829
+ * @property {number|Long|null} [scheduledSessionId] ListenerCoachingExperimentalChatRatingCreated scheduledSessionId
172830
+ * @property {number|Long|null} [dropinSessionId] ListenerCoachingExperimentalChatRatingCreated dropinSessionId
172831
+ * @property {coaching.CoachingSessionFormat|null} [sessionFormat] ListenerCoachingExperimentalChatRatingCreated sessionFormat
172619
172832
  */
172620
172833
 
172621
172834
  /**
@@ -172757,6 +172970,30 @@ $root.coaching = (function() {
172757
172970
  */
172758
172971
  ListenerCoachingExperimentalChatRatingCreated.prototype.hsUserId = "";
172759
172972
 
172973
+ /**
172974
+ * ListenerCoachingExperimentalChatRatingCreated scheduledSessionId.
172975
+ * @member {number|Long} scheduledSessionId
172976
+ * @memberof coaching.ListenerCoachingExperimentalChatRatingCreated
172977
+ * @instance
172978
+ */
172979
+ ListenerCoachingExperimentalChatRatingCreated.prototype.scheduledSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
172980
+
172981
+ /**
172982
+ * ListenerCoachingExperimentalChatRatingCreated dropinSessionId.
172983
+ * @member {number|Long} dropinSessionId
172984
+ * @memberof coaching.ListenerCoachingExperimentalChatRatingCreated
172985
+ * @instance
172986
+ */
172987
+ ListenerCoachingExperimentalChatRatingCreated.prototype.dropinSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
172988
+
172989
+ /**
172990
+ * ListenerCoachingExperimentalChatRatingCreated sessionFormat.
172991
+ * @member {coaching.CoachingSessionFormat} sessionFormat
172992
+ * @memberof coaching.ListenerCoachingExperimentalChatRatingCreated
172993
+ * @instance
172994
+ */
172995
+ ListenerCoachingExperimentalChatRatingCreated.prototype.sessionFormat = 0;
172996
+
172760
172997
  /**
172761
172998
  * Creates a new ListenerCoachingExperimentalChatRatingCreated instance using the specified properties.
172762
172999
  * @function create
@@ -172809,6 +173046,12 @@ $root.coaching = (function() {
172809
173046
  writer.uint32(/* id 13, wireType 0 =*/104).uint32(message.gingerUserId);
172810
173047
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
172811
173048
  writer.uint32(/* id 14, wireType 2 =*/114).string(message.hsUserId);
173049
+ if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
173050
+ writer.uint32(/* id 15, wireType 0 =*/120).uint64(message.scheduledSessionId);
173051
+ if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
173052
+ writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.dropinSessionId);
173053
+ if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
173054
+ writer.uint32(/* id 17, wireType 0 =*/136).int32(message.sessionFormat);
172812
173055
  return writer;
172813
173056
  };
172814
173057
 
@@ -172885,6 +173128,15 @@ $root.coaching = (function() {
172885
173128
  case 14:
172886
173129
  message.hsUserId = reader.string();
172887
173130
  break;
173131
+ case 15:
173132
+ message.scheduledSessionId = reader.uint64();
173133
+ break;
173134
+ case 16:
173135
+ message.dropinSessionId = reader.uint64();
173136
+ break;
173137
+ case 17:
173138
+ message.sessionFormat = reader.int32();
173139
+ break;
172888
173140
  default:
172889
173141
  reader.skipType(tag & 7);
172890
173142
  break;
@@ -172968,6 +173220,21 @@ $root.coaching = (function() {
172968
173220
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
172969
173221
  if (!$util.isString(message.hsUserId))
172970
173222
  return "hsUserId: string expected";
173223
+ if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
173224
+ if (!$util.isInteger(message.scheduledSessionId) && !(message.scheduledSessionId && $util.isInteger(message.scheduledSessionId.low) && $util.isInteger(message.scheduledSessionId.high)))
173225
+ return "scheduledSessionId: integer|Long expected";
173226
+ if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
173227
+ if (!$util.isInteger(message.dropinSessionId) && !(message.dropinSessionId && $util.isInteger(message.dropinSessionId.low) && $util.isInteger(message.dropinSessionId.high)))
173228
+ return "dropinSessionId: integer|Long expected";
173229
+ if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
173230
+ switch (message.sessionFormat) {
173231
+ default:
173232
+ return "sessionFormat: enum value expected";
173233
+ case 0:
173234
+ case 1:
173235
+ case 2:
173236
+ break;
173237
+ }
172971
173238
  return null;
172972
173239
  };
172973
173240
 
@@ -173030,6 +173297,38 @@ $root.coaching = (function() {
173030
173297
  message.gingerUserId = object.gingerUserId >>> 0;
173031
173298
  if (object.hsUserId != null)
173032
173299
  message.hsUserId = String(object.hsUserId);
173300
+ if (object.scheduledSessionId != null)
173301
+ if ($util.Long)
173302
+ (message.scheduledSessionId = $util.Long.fromValue(object.scheduledSessionId)).unsigned = true;
173303
+ else if (typeof object.scheduledSessionId === "string")
173304
+ message.scheduledSessionId = parseInt(object.scheduledSessionId, 10);
173305
+ else if (typeof object.scheduledSessionId === "number")
173306
+ message.scheduledSessionId = object.scheduledSessionId;
173307
+ else if (typeof object.scheduledSessionId === "object")
173308
+ message.scheduledSessionId = new $util.LongBits(object.scheduledSessionId.low >>> 0, object.scheduledSessionId.high >>> 0).toNumber(true);
173309
+ if (object.dropinSessionId != null)
173310
+ if ($util.Long)
173311
+ (message.dropinSessionId = $util.Long.fromValue(object.dropinSessionId)).unsigned = true;
173312
+ else if (typeof object.dropinSessionId === "string")
173313
+ message.dropinSessionId = parseInt(object.dropinSessionId, 10);
173314
+ else if (typeof object.dropinSessionId === "number")
173315
+ message.dropinSessionId = object.dropinSessionId;
173316
+ else if (typeof object.dropinSessionId === "object")
173317
+ message.dropinSessionId = new $util.LongBits(object.dropinSessionId.low >>> 0, object.dropinSessionId.high >>> 0).toNumber(true);
173318
+ switch (object.sessionFormat) {
173319
+ case "COACHING_SESSION_FORMAT_UNKNOWN":
173320
+ case 0:
173321
+ message.sessionFormat = 0;
173322
+ break;
173323
+ case "COACHING_SESSION_FORMAT_CHAT":
173324
+ case 1:
173325
+ message.sessionFormat = 1;
173326
+ break;
173327
+ case "COACHING_SESSION_FORMAT_VIDEO":
173328
+ case 2:
173329
+ message.sessionFormat = 2;
173330
+ break;
173331
+ }
173033
173332
  return message;
173034
173333
  };
173035
173334
 
@@ -173065,6 +173364,17 @@ $root.coaching = (function() {
173065
173364
  object.ratingComment = "";
173066
173365
  object.gingerUserId = 0;
173067
173366
  object.hsUserId = "";
173367
+ if ($util.Long) {
173368
+ var long = new $util.Long(0, 0, true);
173369
+ object.scheduledSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
173370
+ } else
173371
+ object.scheduledSessionId = options.longs === String ? "0" : 0;
173372
+ if ($util.Long) {
173373
+ var long = new $util.Long(0, 0, true);
173374
+ object.dropinSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
173375
+ } else
173376
+ object.dropinSessionId = options.longs === String ? "0" : 0;
173377
+ object.sessionFormat = options.enums === String ? "COACHING_SESSION_FORMAT_UNKNOWN" : 0;
173068
173378
  }
173069
173379
  if (message.id != null && message.hasOwnProperty("id"))
173070
173380
  object.id = message.id;
@@ -173097,6 +173407,18 @@ $root.coaching = (function() {
173097
173407
  object.gingerUserId = message.gingerUserId;
173098
173408
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
173099
173409
  object.hsUserId = message.hsUserId;
173410
+ if (message.scheduledSessionId != null && message.hasOwnProperty("scheduledSessionId"))
173411
+ if (typeof message.scheduledSessionId === "number")
173412
+ object.scheduledSessionId = options.longs === String ? String(message.scheduledSessionId) : message.scheduledSessionId;
173413
+ else
173414
+ 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;
173415
+ if (message.dropinSessionId != null && message.hasOwnProperty("dropinSessionId"))
173416
+ if (typeof message.dropinSessionId === "number")
173417
+ object.dropinSessionId = options.longs === String ? String(message.dropinSessionId) : message.dropinSessionId;
173418
+ else
173419
+ 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;
173420
+ if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
173421
+ object.sessionFormat = options.enums === String ? $root.coaching.CoachingSessionFormat[message.sessionFormat] : message.sessionFormat;
173100
173422
  return object;
173101
173423
  };
173102
173424
 
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.720.0"
19
+ "version": "1.722.0"
20
20
  }