@headspace/protos-events 1.780.0 → 1.782.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -16766,6 +16766,163 @@ export class CoachingRatingSubmitted implements ICoachingRatingSubmitted {
16766
16766
  public toJSON(): { [k: string]: any };
16767
16767
  }
16768
16768
 
16769
+ /** Properties of a CoachAvailabilityOffered. */
16770
+ export interface ICoachAvailabilityOffered {
16771
+
16772
+ /** CoachAvailabilityOffered listenerId */
16773
+ listenerId?: (number|Long|null);
16774
+
16775
+ /** CoachAvailabilityOffered careWebUserId */
16776
+ careWebUserId?: (string|null);
16777
+
16778
+ /** CoachAvailabilityOffered hsUserId */
16779
+ hsUserId?: (string|null);
16780
+
16781
+ /** CoachAvailabilityOffered searchStart */
16782
+ searchStart?: (number|Long|null);
16783
+
16784
+ /** CoachAvailabilityOffered searchEnd */
16785
+ searchEnd?: (number|Long|null);
16786
+
16787
+ /** CoachAvailabilityOffered availabilityType */
16788
+ availabilityType?: (AvailabilityType|null);
16789
+
16790
+ /** CoachAvailabilityOffered availabilitySlotCount */
16791
+ availabilitySlotCount?: (number|null);
16792
+
16793
+ /** CoachAvailabilityOffered earliestAvailability */
16794
+ earliestAvailability?: (number|Long|null);
16795
+
16796
+ /** CoachAvailabilityOffered latestAvailability */
16797
+ latestAvailability?: (number|Long|null);
16798
+
16799
+ /** CoachAvailabilityOffered earliestAvailabilityHoursAhead */
16800
+ earliestAvailabilityHoursAhead?: (number|null);
16801
+
16802
+ /** CoachAvailabilityOffered latestAvailabilityHoursAhead */
16803
+ latestAvailabilityHoursAhead?: (number|null);
16804
+ }
16805
+
16806
+ /** Represents a CoachAvailabilityOffered. */
16807
+ export class CoachAvailabilityOffered implements ICoachAvailabilityOffered {
16808
+
16809
+ /**
16810
+ * Constructs a new CoachAvailabilityOffered.
16811
+ * @param [properties] Properties to set
16812
+ */
16813
+ constructor(properties?: ICoachAvailabilityOffered);
16814
+
16815
+ /** CoachAvailabilityOffered listenerId. */
16816
+ public listenerId: (number|Long);
16817
+
16818
+ /** CoachAvailabilityOffered careWebUserId. */
16819
+ public careWebUserId: string;
16820
+
16821
+ /** CoachAvailabilityOffered hsUserId. */
16822
+ public hsUserId: string;
16823
+
16824
+ /** CoachAvailabilityOffered searchStart. */
16825
+ public searchStart: (number|Long);
16826
+
16827
+ /** CoachAvailabilityOffered searchEnd. */
16828
+ public searchEnd: (number|Long);
16829
+
16830
+ /** CoachAvailabilityOffered availabilityType. */
16831
+ public availabilityType: AvailabilityType;
16832
+
16833
+ /** CoachAvailabilityOffered availabilitySlotCount. */
16834
+ public availabilitySlotCount: number;
16835
+
16836
+ /** CoachAvailabilityOffered earliestAvailability. */
16837
+ public earliestAvailability: (number|Long);
16838
+
16839
+ /** CoachAvailabilityOffered latestAvailability. */
16840
+ public latestAvailability: (number|Long);
16841
+
16842
+ /** CoachAvailabilityOffered earliestAvailabilityHoursAhead. */
16843
+ public earliestAvailabilityHoursAhead: number;
16844
+
16845
+ /** CoachAvailabilityOffered latestAvailabilityHoursAhead. */
16846
+ public latestAvailabilityHoursAhead: number;
16847
+
16848
+ /**
16849
+ * Creates a new CoachAvailabilityOffered instance using the specified properties.
16850
+ * @param [properties] Properties to set
16851
+ * @returns CoachAvailabilityOffered instance
16852
+ */
16853
+ public static create(properties?: ICoachAvailabilityOffered): CoachAvailabilityOffered;
16854
+
16855
+ /**
16856
+ * Encodes the specified CoachAvailabilityOffered message. Does not implicitly {@link CoachAvailabilityOffered.verify|verify} messages.
16857
+ * @param message CoachAvailabilityOffered message or plain object to encode
16858
+ * @param [writer] Writer to encode to
16859
+ * @returns Writer
16860
+ */
16861
+ public static encode(message: ICoachAvailabilityOffered, writer?: $protobuf.Writer): $protobuf.Writer;
16862
+
16863
+ /**
16864
+ * Encodes the specified CoachAvailabilityOffered message, length delimited. Does not implicitly {@link CoachAvailabilityOffered.verify|verify} messages.
16865
+ * @param message CoachAvailabilityOffered message or plain object to encode
16866
+ * @param [writer] Writer to encode to
16867
+ * @returns Writer
16868
+ */
16869
+ public static encodeDelimited(message: ICoachAvailabilityOffered, writer?: $protobuf.Writer): $protobuf.Writer;
16870
+
16871
+ /**
16872
+ * Decodes a CoachAvailabilityOffered message from the specified reader or buffer.
16873
+ * @param reader Reader or buffer to decode from
16874
+ * @param [length] Message length if known beforehand
16875
+ * @returns CoachAvailabilityOffered
16876
+ * @throws {Error} If the payload is not a reader or valid buffer
16877
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16878
+ */
16879
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CoachAvailabilityOffered;
16880
+
16881
+ /**
16882
+ * Decodes a CoachAvailabilityOffered message from the specified reader or buffer, length delimited.
16883
+ * @param reader Reader or buffer to decode from
16884
+ * @returns CoachAvailabilityOffered
16885
+ * @throws {Error} If the payload is not a reader or valid buffer
16886
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16887
+ */
16888
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CoachAvailabilityOffered;
16889
+
16890
+ /**
16891
+ * Verifies a CoachAvailabilityOffered message.
16892
+ * @param message Plain object to verify
16893
+ * @returns `null` if valid, otherwise the reason why it is not
16894
+ */
16895
+ public static verify(message: { [k: string]: any }): (string|null);
16896
+
16897
+ /**
16898
+ * Creates a CoachAvailabilityOffered message from a plain object. Also converts values to their respective internal types.
16899
+ * @param object Plain object
16900
+ * @returns CoachAvailabilityOffered
16901
+ */
16902
+ public static fromObject(object: { [k: string]: any }): CoachAvailabilityOffered;
16903
+
16904
+ /**
16905
+ * Creates a plain object from a CoachAvailabilityOffered message. Also converts values to other types if specified.
16906
+ * @param message CoachAvailabilityOffered
16907
+ * @param [options] Conversion options
16908
+ * @returns Plain object
16909
+ */
16910
+ public static toObject(message: CoachAvailabilityOffered, options?: $protobuf.IConversionOptions): { [k: string]: any };
16911
+
16912
+ /**
16913
+ * Converts this CoachAvailabilityOffered to JSON.
16914
+ * @returns JSON object
16915
+ */
16916
+ public toJSON(): { [k: string]: any };
16917
+ }
16918
+
16919
+ /** AvailabilityType enum. */
16920
+ export enum AvailabilityType {
16921
+ AVAILABILITY_TYPE_UNKNOWN = 0,
16922
+ AVAILABILITY_TYPE_CHAT = 1,
16923
+ AVAILABILITY_TYPE_VIDEO = 2
16924
+ }
16925
+
16769
16926
  /** Properties of a CompletedActivity. */
16770
16927
  export interface ICompletedActivity {
16771
16928
 
@@ -66303,6 +66460,15 @@ export namespace coaching {
66303
66460
 
66304
66461
  /** CoachingAvailability allowanceCount */
66305
66462
  allowanceCount?: (number|null);
66463
+
66464
+ /** CoachingAvailability updatedAt */
66465
+ updatedAt?: (number|Long|null);
66466
+
66467
+ /** CoachingAvailability status */
66468
+ status?: (coaching.CoachingAvailabilityStatus|null);
66469
+
66470
+ /** CoachingAvailability source */
66471
+ source?: (coaching.CoachingAvailabilitySource|null);
66306
66472
  }
66307
66473
 
66308
66474
  /** Represents a CoachingAvailability. */
@@ -66329,6 +66495,15 @@ export namespace coaching {
66329
66495
  /** CoachingAvailability allowanceCount. */
66330
66496
  public allowanceCount: number;
66331
66497
 
66498
+ /** CoachingAvailability updatedAt. */
66499
+ public updatedAt: (number|Long);
66500
+
66501
+ /** CoachingAvailability status. */
66502
+ public status: coaching.CoachingAvailabilityStatus;
66503
+
66504
+ /** CoachingAvailability source. */
66505
+ public source: coaching.CoachingAvailabilitySource;
66506
+
66332
66507
  /**
66333
66508
  * Creates a new CoachingAvailability instance using the specified properties.
66334
66509
  * @param [properties] Properties to set
@@ -66911,6 +67086,22 @@ export namespace coaching {
66911
67086
  COACHING_SHIFT_STATUS_VIDEO = 5
66912
67087
  }
66913
67088
 
67089
+ /** CoachingAvailabilityStatus enum. */
67090
+ enum CoachingAvailabilityStatus {
67091
+ COACHING_AVAILABILITY_STATUS_UNKNOWN = 0,
67092
+ COACHING_AVAILABILITY_STATUS_OPEN = 1,
67093
+ COACHING_AVAILABILITY_STATUS_CANCELLED = 2
67094
+ }
67095
+
67096
+ /** CoachingAvailabilitySource enum. */
67097
+ enum CoachingAvailabilitySource {
67098
+ COACHING_AVAILABILITY_SOURCE_UNKNOWN = 0,
67099
+ COACHING_AVAILABILITY_SOURCE_ADMIN = 1,
67100
+ COACHING_AVAILABILITY_SOURCE_GOOGLE_CALENDAR = 2,
67101
+ COACHING_AVAILABILITY_SOURCE_SERVICENOW = 3,
67102
+ COACHING_AVAILABILITY_SOURCE_UNTETHER = 4
67103
+ }
67104
+
66914
67105
  /** Properties of a ScheduledCoachingSession. */
66915
67106
  interface IScheduledCoachingSession {
66916
67107
 
package/lib/index.js CHANGED
@@ -43551,6 +43551,518 @@ $root.CoachingRatingSubmitted = (function() {
43551
43551
  return CoachingRatingSubmitted;
43552
43552
  })();
43553
43553
 
43554
+ $root.CoachAvailabilityOffered = (function() {
43555
+
43556
+ /**
43557
+ * Properties of a CoachAvailabilityOffered.
43558
+ * @name ICoachAvailabilityOffered
43559
+ * @interface ICoachAvailabilityOffered
43560
+ * @property {number|Long|null} [listenerId] CoachAvailabilityOffered listenerId
43561
+ * @property {string|null} [careWebUserId] CoachAvailabilityOffered careWebUserId
43562
+ * @property {string|null} [hsUserId] CoachAvailabilityOffered hsUserId
43563
+ * @property {number|Long|null} [searchStart] CoachAvailabilityOffered searchStart
43564
+ * @property {number|Long|null} [searchEnd] CoachAvailabilityOffered searchEnd
43565
+ * @property {AvailabilityType|null} [availabilityType] CoachAvailabilityOffered availabilityType
43566
+ * @property {number|null} [availabilitySlotCount] CoachAvailabilityOffered availabilitySlotCount
43567
+ * @property {number|Long|null} [earliestAvailability] CoachAvailabilityOffered earliestAvailability
43568
+ * @property {number|Long|null} [latestAvailability] CoachAvailabilityOffered latestAvailability
43569
+ * @property {number|null} [earliestAvailabilityHoursAhead] CoachAvailabilityOffered earliestAvailabilityHoursAhead
43570
+ * @property {number|null} [latestAvailabilityHoursAhead] CoachAvailabilityOffered latestAvailabilityHoursAhead
43571
+ */
43572
+
43573
+ /**
43574
+ * Constructs a new CoachAvailabilityOffered.
43575
+ * @name CoachAvailabilityOffered
43576
+ * @classdesc Represents a CoachAvailabilityOffered.
43577
+ * @implements ICoachAvailabilityOffered
43578
+ * @constructor
43579
+ * @param {ICoachAvailabilityOffered=} [properties] Properties to set
43580
+ */
43581
+ function CoachAvailabilityOffered(properties) {
43582
+ if (properties)
43583
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
43584
+ if (properties[keys[i]] != null)
43585
+ this[keys[i]] = properties[keys[i]];
43586
+ }
43587
+
43588
+ /**
43589
+ * CoachAvailabilityOffered listenerId.
43590
+ * @member {number|Long} listenerId
43591
+ * @memberof CoachAvailabilityOffered
43592
+ * @instance
43593
+ */
43594
+ CoachAvailabilityOffered.prototype.listenerId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
43595
+
43596
+ /**
43597
+ * CoachAvailabilityOffered careWebUserId.
43598
+ * @member {string} careWebUserId
43599
+ * @memberof CoachAvailabilityOffered
43600
+ * @instance
43601
+ */
43602
+ CoachAvailabilityOffered.prototype.careWebUserId = "";
43603
+
43604
+ /**
43605
+ * CoachAvailabilityOffered hsUserId.
43606
+ * @member {string} hsUserId
43607
+ * @memberof CoachAvailabilityOffered
43608
+ * @instance
43609
+ */
43610
+ CoachAvailabilityOffered.prototype.hsUserId = "";
43611
+
43612
+ /**
43613
+ * CoachAvailabilityOffered searchStart.
43614
+ * @member {number|Long} searchStart
43615
+ * @memberof CoachAvailabilityOffered
43616
+ * @instance
43617
+ */
43618
+ CoachAvailabilityOffered.prototype.searchStart = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
43619
+
43620
+ /**
43621
+ * CoachAvailabilityOffered searchEnd.
43622
+ * @member {number|Long} searchEnd
43623
+ * @memberof CoachAvailabilityOffered
43624
+ * @instance
43625
+ */
43626
+ CoachAvailabilityOffered.prototype.searchEnd = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
43627
+
43628
+ /**
43629
+ * CoachAvailabilityOffered availabilityType.
43630
+ * @member {AvailabilityType} availabilityType
43631
+ * @memberof CoachAvailabilityOffered
43632
+ * @instance
43633
+ */
43634
+ CoachAvailabilityOffered.prototype.availabilityType = 0;
43635
+
43636
+ /**
43637
+ * CoachAvailabilityOffered availabilitySlotCount.
43638
+ * @member {number} availabilitySlotCount
43639
+ * @memberof CoachAvailabilityOffered
43640
+ * @instance
43641
+ */
43642
+ CoachAvailabilityOffered.prototype.availabilitySlotCount = 0;
43643
+
43644
+ /**
43645
+ * CoachAvailabilityOffered earliestAvailability.
43646
+ * @member {number|Long} earliestAvailability
43647
+ * @memberof CoachAvailabilityOffered
43648
+ * @instance
43649
+ */
43650
+ CoachAvailabilityOffered.prototype.earliestAvailability = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
43651
+
43652
+ /**
43653
+ * CoachAvailabilityOffered latestAvailability.
43654
+ * @member {number|Long} latestAvailability
43655
+ * @memberof CoachAvailabilityOffered
43656
+ * @instance
43657
+ */
43658
+ CoachAvailabilityOffered.prototype.latestAvailability = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
43659
+
43660
+ /**
43661
+ * CoachAvailabilityOffered earliestAvailabilityHoursAhead.
43662
+ * @member {number} earliestAvailabilityHoursAhead
43663
+ * @memberof CoachAvailabilityOffered
43664
+ * @instance
43665
+ */
43666
+ CoachAvailabilityOffered.prototype.earliestAvailabilityHoursAhead = 0;
43667
+
43668
+ /**
43669
+ * CoachAvailabilityOffered latestAvailabilityHoursAhead.
43670
+ * @member {number} latestAvailabilityHoursAhead
43671
+ * @memberof CoachAvailabilityOffered
43672
+ * @instance
43673
+ */
43674
+ CoachAvailabilityOffered.prototype.latestAvailabilityHoursAhead = 0;
43675
+
43676
+ /**
43677
+ * Creates a new CoachAvailabilityOffered instance using the specified properties.
43678
+ * @function create
43679
+ * @memberof CoachAvailabilityOffered
43680
+ * @static
43681
+ * @param {ICoachAvailabilityOffered=} [properties] Properties to set
43682
+ * @returns {CoachAvailabilityOffered} CoachAvailabilityOffered instance
43683
+ */
43684
+ CoachAvailabilityOffered.create = function create(properties) {
43685
+ return new CoachAvailabilityOffered(properties);
43686
+ };
43687
+
43688
+ /**
43689
+ * Encodes the specified CoachAvailabilityOffered message. Does not implicitly {@link CoachAvailabilityOffered.verify|verify} messages.
43690
+ * @function encode
43691
+ * @memberof CoachAvailabilityOffered
43692
+ * @static
43693
+ * @param {ICoachAvailabilityOffered} message CoachAvailabilityOffered message or plain object to encode
43694
+ * @param {$protobuf.Writer} [writer] Writer to encode to
43695
+ * @returns {$protobuf.Writer} Writer
43696
+ */
43697
+ CoachAvailabilityOffered.encode = function encode(message, writer) {
43698
+ if (!writer)
43699
+ writer = $Writer.create();
43700
+ if (message.listenerId != null && message.hasOwnProperty("listenerId"))
43701
+ writer.uint32(/* id 1, wireType 0 =*/8).int64(message.listenerId);
43702
+ if (message.careWebUserId != null && message.hasOwnProperty("careWebUserId"))
43703
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.careWebUserId);
43704
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
43705
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.hsUserId);
43706
+ if (message.searchStart != null && message.hasOwnProperty("searchStart"))
43707
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.searchStart);
43708
+ if (message.searchEnd != null && message.hasOwnProperty("searchEnd"))
43709
+ writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.searchEnd);
43710
+ if (message.availabilityType != null && message.hasOwnProperty("availabilityType"))
43711
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.availabilityType);
43712
+ if (message.availabilitySlotCount != null && message.hasOwnProperty("availabilitySlotCount"))
43713
+ writer.uint32(/* id 7, wireType 0 =*/56).int32(message.availabilitySlotCount);
43714
+ if (message.earliestAvailability != null && message.hasOwnProperty("earliestAvailability"))
43715
+ writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.earliestAvailability);
43716
+ if (message.latestAvailability != null && message.hasOwnProperty("latestAvailability"))
43717
+ writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.latestAvailability);
43718
+ if (message.earliestAvailabilityHoursAhead != null && message.hasOwnProperty("earliestAvailabilityHoursAhead"))
43719
+ writer.uint32(/* id 10, wireType 5 =*/85).float(message.earliestAvailabilityHoursAhead);
43720
+ if (message.latestAvailabilityHoursAhead != null && message.hasOwnProperty("latestAvailabilityHoursAhead"))
43721
+ writer.uint32(/* id 11, wireType 5 =*/93).float(message.latestAvailabilityHoursAhead);
43722
+ return writer;
43723
+ };
43724
+
43725
+ /**
43726
+ * Encodes the specified CoachAvailabilityOffered message, length delimited. Does not implicitly {@link CoachAvailabilityOffered.verify|verify} messages.
43727
+ * @function encodeDelimited
43728
+ * @memberof CoachAvailabilityOffered
43729
+ * @static
43730
+ * @param {ICoachAvailabilityOffered} message CoachAvailabilityOffered message or plain object to encode
43731
+ * @param {$protobuf.Writer} [writer] Writer to encode to
43732
+ * @returns {$protobuf.Writer} Writer
43733
+ */
43734
+ CoachAvailabilityOffered.encodeDelimited = function encodeDelimited(message, writer) {
43735
+ return this.encode(message, writer).ldelim();
43736
+ };
43737
+
43738
+ /**
43739
+ * Decodes a CoachAvailabilityOffered message from the specified reader or buffer.
43740
+ * @function decode
43741
+ * @memberof CoachAvailabilityOffered
43742
+ * @static
43743
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
43744
+ * @param {number} [length] Message length if known beforehand
43745
+ * @returns {CoachAvailabilityOffered} CoachAvailabilityOffered
43746
+ * @throws {Error} If the payload is not a reader or valid buffer
43747
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43748
+ */
43749
+ CoachAvailabilityOffered.decode = function decode(reader, length) {
43750
+ if (!(reader instanceof $Reader))
43751
+ reader = $Reader.create(reader);
43752
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.CoachAvailabilityOffered();
43753
+ while (reader.pos < end) {
43754
+ var tag = reader.uint32();
43755
+ switch (tag >>> 3) {
43756
+ case 1:
43757
+ message.listenerId = reader.int64();
43758
+ break;
43759
+ case 2:
43760
+ message.careWebUserId = reader.string();
43761
+ break;
43762
+ case 3:
43763
+ message.hsUserId = reader.string();
43764
+ break;
43765
+ case 4:
43766
+ message.searchStart = reader.uint64();
43767
+ break;
43768
+ case 5:
43769
+ message.searchEnd = reader.uint64();
43770
+ break;
43771
+ case 6:
43772
+ message.availabilityType = reader.int32();
43773
+ break;
43774
+ case 7:
43775
+ message.availabilitySlotCount = reader.int32();
43776
+ break;
43777
+ case 8:
43778
+ message.earliestAvailability = reader.uint64();
43779
+ break;
43780
+ case 9:
43781
+ message.latestAvailability = reader.uint64();
43782
+ break;
43783
+ case 10:
43784
+ message.earliestAvailabilityHoursAhead = reader.float();
43785
+ break;
43786
+ case 11:
43787
+ message.latestAvailabilityHoursAhead = reader.float();
43788
+ break;
43789
+ default:
43790
+ reader.skipType(tag & 7);
43791
+ break;
43792
+ }
43793
+ }
43794
+ return message;
43795
+ };
43796
+
43797
+ /**
43798
+ * Decodes a CoachAvailabilityOffered message from the specified reader or buffer, length delimited.
43799
+ * @function decodeDelimited
43800
+ * @memberof CoachAvailabilityOffered
43801
+ * @static
43802
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
43803
+ * @returns {CoachAvailabilityOffered} CoachAvailabilityOffered
43804
+ * @throws {Error} If the payload is not a reader or valid buffer
43805
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43806
+ */
43807
+ CoachAvailabilityOffered.decodeDelimited = function decodeDelimited(reader) {
43808
+ if (!(reader instanceof $Reader))
43809
+ reader = new $Reader(reader);
43810
+ return this.decode(reader, reader.uint32());
43811
+ };
43812
+
43813
+ /**
43814
+ * Verifies a CoachAvailabilityOffered message.
43815
+ * @function verify
43816
+ * @memberof CoachAvailabilityOffered
43817
+ * @static
43818
+ * @param {Object.<string,*>} message Plain object to verify
43819
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
43820
+ */
43821
+ CoachAvailabilityOffered.verify = function verify(message) {
43822
+ if (typeof message !== "object" || message === null)
43823
+ return "object expected";
43824
+ if (message.listenerId != null && message.hasOwnProperty("listenerId"))
43825
+ if (!$util.isInteger(message.listenerId) && !(message.listenerId && $util.isInteger(message.listenerId.low) && $util.isInteger(message.listenerId.high)))
43826
+ return "listenerId: integer|Long expected";
43827
+ if (message.careWebUserId != null && message.hasOwnProperty("careWebUserId"))
43828
+ if (!$util.isString(message.careWebUserId))
43829
+ return "careWebUserId: string expected";
43830
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
43831
+ if (!$util.isString(message.hsUserId))
43832
+ return "hsUserId: string expected";
43833
+ if (message.searchStart != null && message.hasOwnProperty("searchStart"))
43834
+ if (!$util.isInteger(message.searchStart) && !(message.searchStart && $util.isInteger(message.searchStart.low) && $util.isInteger(message.searchStart.high)))
43835
+ return "searchStart: integer|Long expected";
43836
+ if (message.searchEnd != null && message.hasOwnProperty("searchEnd"))
43837
+ if (!$util.isInteger(message.searchEnd) && !(message.searchEnd && $util.isInteger(message.searchEnd.low) && $util.isInteger(message.searchEnd.high)))
43838
+ return "searchEnd: integer|Long expected";
43839
+ if (message.availabilityType != null && message.hasOwnProperty("availabilityType"))
43840
+ switch (message.availabilityType) {
43841
+ default:
43842
+ return "availabilityType: enum value expected";
43843
+ case 0:
43844
+ case 1:
43845
+ case 2:
43846
+ break;
43847
+ }
43848
+ if (message.availabilitySlotCount != null && message.hasOwnProperty("availabilitySlotCount"))
43849
+ if (!$util.isInteger(message.availabilitySlotCount))
43850
+ return "availabilitySlotCount: integer expected";
43851
+ if (message.earliestAvailability != null && message.hasOwnProperty("earliestAvailability"))
43852
+ if (!$util.isInteger(message.earliestAvailability) && !(message.earliestAvailability && $util.isInteger(message.earliestAvailability.low) && $util.isInteger(message.earliestAvailability.high)))
43853
+ return "earliestAvailability: integer|Long expected";
43854
+ if (message.latestAvailability != null && message.hasOwnProperty("latestAvailability"))
43855
+ if (!$util.isInteger(message.latestAvailability) && !(message.latestAvailability && $util.isInteger(message.latestAvailability.low) && $util.isInteger(message.latestAvailability.high)))
43856
+ return "latestAvailability: integer|Long expected";
43857
+ if (message.earliestAvailabilityHoursAhead != null && message.hasOwnProperty("earliestAvailabilityHoursAhead"))
43858
+ if (typeof message.earliestAvailabilityHoursAhead !== "number")
43859
+ return "earliestAvailabilityHoursAhead: number expected";
43860
+ if (message.latestAvailabilityHoursAhead != null && message.hasOwnProperty("latestAvailabilityHoursAhead"))
43861
+ if (typeof message.latestAvailabilityHoursAhead !== "number")
43862
+ return "latestAvailabilityHoursAhead: number expected";
43863
+ return null;
43864
+ };
43865
+
43866
+ /**
43867
+ * Creates a CoachAvailabilityOffered message from a plain object. Also converts values to their respective internal types.
43868
+ * @function fromObject
43869
+ * @memberof CoachAvailabilityOffered
43870
+ * @static
43871
+ * @param {Object.<string,*>} object Plain object
43872
+ * @returns {CoachAvailabilityOffered} CoachAvailabilityOffered
43873
+ */
43874
+ CoachAvailabilityOffered.fromObject = function fromObject(object) {
43875
+ if (object instanceof $root.CoachAvailabilityOffered)
43876
+ return object;
43877
+ var message = new $root.CoachAvailabilityOffered();
43878
+ if (object.listenerId != null)
43879
+ if ($util.Long)
43880
+ (message.listenerId = $util.Long.fromValue(object.listenerId)).unsigned = false;
43881
+ else if (typeof object.listenerId === "string")
43882
+ message.listenerId = parseInt(object.listenerId, 10);
43883
+ else if (typeof object.listenerId === "number")
43884
+ message.listenerId = object.listenerId;
43885
+ else if (typeof object.listenerId === "object")
43886
+ message.listenerId = new $util.LongBits(object.listenerId.low >>> 0, object.listenerId.high >>> 0).toNumber();
43887
+ if (object.careWebUserId != null)
43888
+ message.careWebUserId = String(object.careWebUserId);
43889
+ if (object.hsUserId != null)
43890
+ message.hsUserId = String(object.hsUserId);
43891
+ if (object.searchStart != null)
43892
+ if ($util.Long)
43893
+ (message.searchStart = $util.Long.fromValue(object.searchStart)).unsigned = true;
43894
+ else if (typeof object.searchStart === "string")
43895
+ message.searchStart = parseInt(object.searchStart, 10);
43896
+ else if (typeof object.searchStart === "number")
43897
+ message.searchStart = object.searchStart;
43898
+ else if (typeof object.searchStart === "object")
43899
+ message.searchStart = new $util.LongBits(object.searchStart.low >>> 0, object.searchStart.high >>> 0).toNumber(true);
43900
+ if (object.searchEnd != null)
43901
+ if ($util.Long)
43902
+ (message.searchEnd = $util.Long.fromValue(object.searchEnd)).unsigned = true;
43903
+ else if (typeof object.searchEnd === "string")
43904
+ message.searchEnd = parseInt(object.searchEnd, 10);
43905
+ else if (typeof object.searchEnd === "number")
43906
+ message.searchEnd = object.searchEnd;
43907
+ else if (typeof object.searchEnd === "object")
43908
+ message.searchEnd = new $util.LongBits(object.searchEnd.low >>> 0, object.searchEnd.high >>> 0).toNumber(true);
43909
+ switch (object.availabilityType) {
43910
+ case "AVAILABILITY_TYPE_UNKNOWN":
43911
+ case 0:
43912
+ message.availabilityType = 0;
43913
+ break;
43914
+ case "AVAILABILITY_TYPE_CHAT":
43915
+ case 1:
43916
+ message.availabilityType = 1;
43917
+ break;
43918
+ case "AVAILABILITY_TYPE_VIDEO":
43919
+ case 2:
43920
+ message.availabilityType = 2;
43921
+ break;
43922
+ }
43923
+ if (object.availabilitySlotCount != null)
43924
+ message.availabilitySlotCount = object.availabilitySlotCount | 0;
43925
+ if (object.earliestAvailability != null)
43926
+ if ($util.Long)
43927
+ (message.earliestAvailability = $util.Long.fromValue(object.earliestAvailability)).unsigned = true;
43928
+ else if (typeof object.earliestAvailability === "string")
43929
+ message.earliestAvailability = parseInt(object.earliestAvailability, 10);
43930
+ else if (typeof object.earliestAvailability === "number")
43931
+ message.earliestAvailability = object.earliestAvailability;
43932
+ else if (typeof object.earliestAvailability === "object")
43933
+ message.earliestAvailability = new $util.LongBits(object.earliestAvailability.low >>> 0, object.earliestAvailability.high >>> 0).toNumber(true);
43934
+ if (object.latestAvailability != null)
43935
+ if ($util.Long)
43936
+ (message.latestAvailability = $util.Long.fromValue(object.latestAvailability)).unsigned = true;
43937
+ else if (typeof object.latestAvailability === "string")
43938
+ message.latestAvailability = parseInt(object.latestAvailability, 10);
43939
+ else if (typeof object.latestAvailability === "number")
43940
+ message.latestAvailability = object.latestAvailability;
43941
+ else if (typeof object.latestAvailability === "object")
43942
+ message.latestAvailability = new $util.LongBits(object.latestAvailability.low >>> 0, object.latestAvailability.high >>> 0).toNumber(true);
43943
+ if (object.earliestAvailabilityHoursAhead != null)
43944
+ message.earliestAvailabilityHoursAhead = Number(object.earliestAvailabilityHoursAhead);
43945
+ if (object.latestAvailabilityHoursAhead != null)
43946
+ message.latestAvailabilityHoursAhead = Number(object.latestAvailabilityHoursAhead);
43947
+ return message;
43948
+ };
43949
+
43950
+ /**
43951
+ * Creates a plain object from a CoachAvailabilityOffered message. Also converts values to other types if specified.
43952
+ * @function toObject
43953
+ * @memberof CoachAvailabilityOffered
43954
+ * @static
43955
+ * @param {CoachAvailabilityOffered} message CoachAvailabilityOffered
43956
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
43957
+ * @returns {Object.<string,*>} Plain object
43958
+ */
43959
+ CoachAvailabilityOffered.toObject = function toObject(message, options) {
43960
+ if (!options)
43961
+ options = {};
43962
+ var object = {};
43963
+ if (options.defaults) {
43964
+ if ($util.Long) {
43965
+ var long = new $util.Long(0, 0, false);
43966
+ object.listenerId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
43967
+ } else
43968
+ object.listenerId = options.longs === String ? "0" : 0;
43969
+ object.careWebUserId = "";
43970
+ object.hsUserId = "";
43971
+ if ($util.Long) {
43972
+ var long = new $util.Long(0, 0, true);
43973
+ object.searchStart = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
43974
+ } else
43975
+ object.searchStart = options.longs === String ? "0" : 0;
43976
+ if ($util.Long) {
43977
+ var long = new $util.Long(0, 0, true);
43978
+ object.searchEnd = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
43979
+ } else
43980
+ object.searchEnd = options.longs === String ? "0" : 0;
43981
+ object.availabilityType = options.enums === String ? "AVAILABILITY_TYPE_UNKNOWN" : 0;
43982
+ object.availabilitySlotCount = 0;
43983
+ if ($util.Long) {
43984
+ var long = new $util.Long(0, 0, true);
43985
+ object.earliestAvailability = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
43986
+ } else
43987
+ object.earliestAvailability = options.longs === String ? "0" : 0;
43988
+ if ($util.Long) {
43989
+ var long = new $util.Long(0, 0, true);
43990
+ object.latestAvailability = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
43991
+ } else
43992
+ object.latestAvailability = options.longs === String ? "0" : 0;
43993
+ object.earliestAvailabilityHoursAhead = 0;
43994
+ object.latestAvailabilityHoursAhead = 0;
43995
+ }
43996
+ if (message.listenerId != null && message.hasOwnProperty("listenerId"))
43997
+ if (typeof message.listenerId === "number")
43998
+ object.listenerId = options.longs === String ? String(message.listenerId) : message.listenerId;
43999
+ else
44000
+ object.listenerId = options.longs === String ? $util.Long.prototype.toString.call(message.listenerId) : options.longs === Number ? new $util.LongBits(message.listenerId.low >>> 0, message.listenerId.high >>> 0).toNumber() : message.listenerId;
44001
+ if (message.careWebUserId != null && message.hasOwnProperty("careWebUserId"))
44002
+ object.careWebUserId = message.careWebUserId;
44003
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
44004
+ object.hsUserId = message.hsUserId;
44005
+ if (message.searchStart != null && message.hasOwnProperty("searchStart"))
44006
+ if (typeof message.searchStart === "number")
44007
+ object.searchStart = options.longs === String ? String(message.searchStart) : message.searchStart;
44008
+ else
44009
+ object.searchStart = options.longs === String ? $util.Long.prototype.toString.call(message.searchStart) : options.longs === Number ? new $util.LongBits(message.searchStart.low >>> 0, message.searchStart.high >>> 0).toNumber(true) : message.searchStart;
44010
+ if (message.searchEnd != null && message.hasOwnProperty("searchEnd"))
44011
+ if (typeof message.searchEnd === "number")
44012
+ object.searchEnd = options.longs === String ? String(message.searchEnd) : message.searchEnd;
44013
+ else
44014
+ object.searchEnd = options.longs === String ? $util.Long.prototype.toString.call(message.searchEnd) : options.longs === Number ? new $util.LongBits(message.searchEnd.low >>> 0, message.searchEnd.high >>> 0).toNumber(true) : message.searchEnd;
44015
+ if (message.availabilityType != null && message.hasOwnProperty("availabilityType"))
44016
+ object.availabilityType = options.enums === String ? $root.AvailabilityType[message.availabilityType] : message.availabilityType;
44017
+ if (message.availabilitySlotCount != null && message.hasOwnProperty("availabilitySlotCount"))
44018
+ object.availabilitySlotCount = message.availabilitySlotCount;
44019
+ if (message.earliestAvailability != null && message.hasOwnProperty("earliestAvailability"))
44020
+ if (typeof message.earliestAvailability === "number")
44021
+ object.earliestAvailability = options.longs === String ? String(message.earliestAvailability) : message.earliestAvailability;
44022
+ else
44023
+ object.earliestAvailability = options.longs === String ? $util.Long.prototype.toString.call(message.earliestAvailability) : options.longs === Number ? new $util.LongBits(message.earliestAvailability.low >>> 0, message.earliestAvailability.high >>> 0).toNumber(true) : message.earliestAvailability;
44024
+ if (message.latestAvailability != null && message.hasOwnProperty("latestAvailability"))
44025
+ if (typeof message.latestAvailability === "number")
44026
+ object.latestAvailability = options.longs === String ? String(message.latestAvailability) : message.latestAvailability;
44027
+ else
44028
+ object.latestAvailability = options.longs === String ? $util.Long.prototype.toString.call(message.latestAvailability) : options.longs === Number ? new $util.LongBits(message.latestAvailability.low >>> 0, message.latestAvailability.high >>> 0).toNumber(true) : message.latestAvailability;
44029
+ if (message.earliestAvailabilityHoursAhead != null && message.hasOwnProperty("earliestAvailabilityHoursAhead"))
44030
+ object.earliestAvailabilityHoursAhead = options.json && !isFinite(message.earliestAvailabilityHoursAhead) ? String(message.earliestAvailabilityHoursAhead) : message.earliestAvailabilityHoursAhead;
44031
+ if (message.latestAvailabilityHoursAhead != null && message.hasOwnProperty("latestAvailabilityHoursAhead"))
44032
+ object.latestAvailabilityHoursAhead = options.json && !isFinite(message.latestAvailabilityHoursAhead) ? String(message.latestAvailabilityHoursAhead) : message.latestAvailabilityHoursAhead;
44033
+ return object;
44034
+ };
44035
+
44036
+ /**
44037
+ * Converts this CoachAvailabilityOffered to JSON.
44038
+ * @function toJSON
44039
+ * @memberof CoachAvailabilityOffered
44040
+ * @instance
44041
+ * @returns {Object.<string,*>} JSON object
44042
+ */
44043
+ CoachAvailabilityOffered.prototype.toJSON = function toJSON() {
44044
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
44045
+ };
44046
+
44047
+ return CoachAvailabilityOffered;
44048
+ })();
44049
+
44050
+ /**
44051
+ * AvailabilityType enum.
44052
+ * @name AvailabilityType
44053
+ * @enum {string}
44054
+ * @property {number} AVAILABILITY_TYPE_UNKNOWN=0 AVAILABILITY_TYPE_UNKNOWN value
44055
+ * @property {number} AVAILABILITY_TYPE_CHAT=1 AVAILABILITY_TYPE_CHAT value
44056
+ * @property {number} AVAILABILITY_TYPE_VIDEO=2 AVAILABILITY_TYPE_VIDEO value
44057
+ */
44058
+ $root.AvailabilityType = (function() {
44059
+ var valuesById = {}, values = Object.create(valuesById);
44060
+ values[valuesById[0] = "AVAILABILITY_TYPE_UNKNOWN"] = 0;
44061
+ values[valuesById[1] = "AVAILABILITY_TYPE_CHAT"] = 1;
44062
+ values[valuesById[2] = "AVAILABILITY_TYPE_VIDEO"] = 2;
44063
+ return values;
44064
+ })();
44065
+
43554
44066
  $root.CompletedActivity = (function() {
43555
44067
 
43556
44068
  /**
@@ -190955,6 +191467,9 @@ $root.coaching = (function() {
190955
191467
  * @property {number|Long|null} [startedAt] CoachingAvailability startedAt
190956
191468
  * @property {number|Long|null} [endedAt] CoachingAvailability endedAt
190957
191469
  * @property {number|null} [allowanceCount] CoachingAvailability allowanceCount
191470
+ * @property {number|Long|null} [updatedAt] CoachingAvailability updatedAt
191471
+ * @property {coaching.CoachingAvailabilityStatus|null} [status] CoachingAvailability status
191472
+ * @property {coaching.CoachingAvailabilitySource|null} [source] CoachingAvailability source
190958
191473
  */
190959
191474
 
190960
191475
  /**
@@ -191012,6 +191527,30 @@ $root.coaching = (function() {
191012
191527
  */
191013
191528
  CoachingAvailability.prototype.allowanceCount = 0;
191014
191529
 
191530
+ /**
191531
+ * CoachingAvailability updatedAt.
191532
+ * @member {number|Long} updatedAt
191533
+ * @memberof coaching.CoachingAvailability
191534
+ * @instance
191535
+ */
191536
+ CoachingAvailability.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
191537
+
191538
+ /**
191539
+ * CoachingAvailability status.
191540
+ * @member {coaching.CoachingAvailabilityStatus} status
191541
+ * @memberof coaching.CoachingAvailability
191542
+ * @instance
191543
+ */
191544
+ CoachingAvailability.prototype.status = 0;
191545
+
191546
+ /**
191547
+ * CoachingAvailability source.
191548
+ * @member {coaching.CoachingAvailabilitySource} source
191549
+ * @memberof coaching.CoachingAvailability
191550
+ * @instance
191551
+ */
191552
+ CoachingAvailability.prototype.source = 0;
191553
+
191015
191554
  /**
191016
191555
  * Creates a new CoachingAvailability instance using the specified properties.
191017
191556
  * @function create
@@ -191046,6 +191585,12 @@ $root.coaching = (function() {
191046
191585
  writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.endedAt);
191047
191586
  if (message.allowanceCount != null && message.hasOwnProperty("allowanceCount"))
191048
191587
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.allowanceCount);
191588
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
191589
+ writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.updatedAt);
191590
+ if (message.status != null && message.hasOwnProperty("status"))
191591
+ writer.uint32(/* id 7, wireType 0 =*/56).int32(message.status);
191592
+ if (message.source != null && message.hasOwnProperty("source"))
191593
+ writer.uint32(/* id 8, wireType 0 =*/64).int32(message.source);
191049
191594
  return writer;
191050
191595
  };
191051
191596
 
@@ -191095,6 +191640,15 @@ $root.coaching = (function() {
191095
191640
  case 5:
191096
191641
  message.allowanceCount = reader.int32();
191097
191642
  break;
191643
+ case 6:
191644
+ message.updatedAt = reader.uint64();
191645
+ break;
191646
+ case 7:
191647
+ message.status = reader.int32();
191648
+ break;
191649
+ case 8:
191650
+ message.source = reader.int32();
191651
+ break;
191098
191652
  default:
191099
191653
  reader.skipType(tag & 7);
191100
191654
  break;
@@ -191145,6 +191699,29 @@ $root.coaching = (function() {
191145
191699
  if (message.allowanceCount != null && message.hasOwnProperty("allowanceCount"))
191146
191700
  if (!$util.isInteger(message.allowanceCount))
191147
191701
  return "allowanceCount: integer expected";
191702
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
191703
+ if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
191704
+ return "updatedAt: integer|Long expected";
191705
+ if (message.status != null && message.hasOwnProperty("status"))
191706
+ switch (message.status) {
191707
+ default:
191708
+ return "status: enum value expected";
191709
+ case 0:
191710
+ case 1:
191711
+ case 2:
191712
+ break;
191713
+ }
191714
+ if (message.source != null && message.hasOwnProperty("source"))
191715
+ switch (message.source) {
191716
+ default:
191717
+ return "source: enum value expected";
191718
+ case 0:
191719
+ case 1:
191720
+ case 2:
191721
+ case 3:
191722
+ case 4:
191723
+ break;
191724
+ }
191148
191725
  return null;
191149
191726
  };
191150
191727
 
@@ -191184,6 +191761,51 @@ $root.coaching = (function() {
191184
191761
  message.endedAt = new $util.LongBits(object.endedAt.low >>> 0, object.endedAt.high >>> 0).toNumber(true);
191185
191762
  if (object.allowanceCount != null)
191186
191763
  message.allowanceCount = object.allowanceCount | 0;
191764
+ if (object.updatedAt != null)
191765
+ if ($util.Long)
191766
+ (message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
191767
+ else if (typeof object.updatedAt === "string")
191768
+ message.updatedAt = parseInt(object.updatedAt, 10);
191769
+ else if (typeof object.updatedAt === "number")
191770
+ message.updatedAt = object.updatedAt;
191771
+ else if (typeof object.updatedAt === "object")
191772
+ message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
191773
+ switch (object.status) {
191774
+ case "COACHING_AVAILABILITY_STATUS_UNKNOWN":
191775
+ case 0:
191776
+ message.status = 0;
191777
+ break;
191778
+ case "COACHING_AVAILABILITY_STATUS_OPEN":
191779
+ case 1:
191780
+ message.status = 1;
191781
+ break;
191782
+ case "COACHING_AVAILABILITY_STATUS_CANCELLED":
191783
+ case 2:
191784
+ message.status = 2;
191785
+ break;
191786
+ }
191787
+ switch (object.source) {
191788
+ case "COACHING_AVAILABILITY_SOURCE_UNKNOWN":
191789
+ case 0:
191790
+ message.source = 0;
191791
+ break;
191792
+ case "COACHING_AVAILABILITY_SOURCE_ADMIN":
191793
+ case 1:
191794
+ message.source = 1;
191795
+ break;
191796
+ case "COACHING_AVAILABILITY_SOURCE_GOOGLE_CALENDAR":
191797
+ case 2:
191798
+ message.source = 2;
191799
+ break;
191800
+ case "COACHING_AVAILABILITY_SOURCE_SERVICENOW":
191801
+ case 3:
191802
+ message.source = 3;
191803
+ break;
191804
+ case "COACHING_AVAILABILITY_SOURCE_UNTETHER":
191805
+ case 4:
191806
+ message.source = 4;
191807
+ break;
191808
+ }
191187
191809
  return message;
191188
191810
  };
191189
191811
 
@@ -191214,6 +191836,13 @@ $root.coaching = (function() {
191214
191836
  } else
191215
191837
  object.endedAt = options.longs === String ? "0" : 0;
191216
191838
  object.allowanceCount = 0;
191839
+ if ($util.Long) {
191840
+ var long = new $util.Long(0, 0, true);
191841
+ object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
191842
+ } else
191843
+ object.updatedAt = options.longs === String ? "0" : 0;
191844
+ object.status = options.enums === String ? "COACHING_AVAILABILITY_STATUS_UNKNOWN" : 0;
191845
+ object.source = options.enums === String ? "COACHING_AVAILABILITY_SOURCE_UNKNOWN" : 0;
191217
191846
  }
191218
191847
  if (message.id != null && message.hasOwnProperty("id"))
191219
191848
  object.id = message.id;
@@ -191231,6 +191860,15 @@ $root.coaching = (function() {
191231
191860
  object.endedAt = options.longs === String ? $util.Long.prototype.toString.call(message.endedAt) : options.longs === Number ? new $util.LongBits(message.endedAt.low >>> 0, message.endedAt.high >>> 0).toNumber(true) : message.endedAt;
191232
191861
  if (message.allowanceCount != null && message.hasOwnProperty("allowanceCount"))
191233
191862
  object.allowanceCount = message.allowanceCount;
191863
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
191864
+ if (typeof message.updatedAt === "number")
191865
+ object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
191866
+ else
191867
+ object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
191868
+ if (message.status != null && message.hasOwnProperty("status"))
191869
+ object.status = options.enums === String ? $root.coaching.CoachingAvailabilityStatus[message.status] : message.status;
191870
+ if (message.source != null && message.hasOwnProperty("source"))
191871
+ object.source = options.enums === String ? $root.coaching.CoachingAvailabilitySource[message.source] : message.source;
191234
191872
  return object;
191235
191873
  };
191236
191874
 
@@ -192845,6 +193483,42 @@ $root.coaching = (function() {
192845
193483
  return values;
192846
193484
  })();
192847
193485
 
193486
+ /**
193487
+ * CoachingAvailabilityStatus enum.
193488
+ * @name coaching.CoachingAvailabilityStatus
193489
+ * @enum {string}
193490
+ * @property {number} COACHING_AVAILABILITY_STATUS_UNKNOWN=0 COACHING_AVAILABILITY_STATUS_UNKNOWN value
193491
+ * @property {number} COACHING_AVAILABILITY_STATUS_OPEN=1 COACHING_AVAILABILITY_STATUS_OPEN value
193492
+ * @property {number} COACHING_AVAILABILITY_STATUS_CANCELLED=2 COACHING_AVAILABILITY_STATUS_CANCELLED value
193493
+ */
193494
+ coaching.CoachingAvailabilityStatus = (function() {
193495
+ var valuesById = {}, values = Object.create(valuesById);
193496
+ values[valuesById[0] = "COACHING_AVAILABILITY_STATUS_UNKNOWN"] = 0;
193497
+ values[valuesById[1] = "COACHING_AVAILABILITY_STATUS_OPEN"] = 1;
193498
+ values[valuesById[2] = "COACHING_AVAILABILITY_STATUS_CANCELLED"] = 2;
193499
+ return values;
193500
+ })();
193501
+
193502
+ /**
193503
+ * CoachingAvailabilitySource enum.
193504
+ * @name coaching.CoachingAvailabilitySource
193505
+ * @enum {string}
193506
+ * @property {number} COACHING_AVAILABILITY_SOURCE_UNKNOWN=0 COACHING_AVAILABILITY_SOURCE_UNKNOWN value
193507
+ * @property {number} COACHING_AVAILABILITY_SOURCE_ADMIN=1 COACHING_AVAILABILITY_SOURCE_ADMIN value
193508
+ * @property {number} COACHING_AVAILABILITY_SOURCE_GOOGLE_CALENDAR=2 COACHING_AVAILABILITY_SOURCE_GOOGLE_CALENDAR value
193509
+ * @property {number} COACHING_AVAILABILITY_SOURCE_SERVICENOW=3 COACHING_AVAILABILITY_SOURCE_SERVICENOW value
193510
+ * @property {number} COACHING_AVAILABILITY_SOURCE_UNTETHER=4 COACHING_AVAILABILITY_SOURCE_UNTETHER value
193511
+ */
193512
+ coaching.CoachingAvailabilitySource = (function() {
193513
+ var valuesById = {}, values = Object.create(valuesById);
193514
+ values[valuesById[0] = "COACHING_AVAILABILITY_SOURCE_UNKNOWN"] = 0;
193515
+ values[valuesById[1] = "COACHING_AVAILABILITY_SOURCE_ADMIN"] = 1;
193516
+ values[valuesById[2] = "COACHING_AVAILABILITY_SOURCE_GOOGLE_CALENDAR"] = 2;
193517
+ values[valuesById[3] = "COACHING_AVAILABILITY_SOURCE_SERVICENOW"] = 3;
193518
+ values[valuesById[4] = "COACHING_AVAILABILITY_SOURCE_UNTETHER"] = 4;
193519
+ return values;
193520
+ })();
193521
+
192848
193522
  coaching.ScheduledCoachingSession = (function() {
192849
193523
 
192850
193524
  /**
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.780.0"
19
+ "version": "1.782.0"
20
20
  }