@headspace/protos-events 1.693.0 → 1.695.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
@@ -39742,6 +39742,167 @@ export class GingerEligibilityRecordReactivated implements IGingerEligibilityRec
39742
39742
  public toJSON(): { [k: string]: any };
39743
39743
  }
39744
39744
 
39745
+ /** Properties of a PossibleStaleCareMemberSelected. */
39746
+ export interface IPossibleStaleCareMemberSelected {
39747
+
39748
+ /** PossibleStaleCareMemberSelected gingerId */
39749
+ gingerId?: (number|null);
39750
+
39751
+ /** PossibleStaleCareMemberSelected headspaceUserId */
39752
+ headspaceUserId?: (string|null);
39753
+
39754
+ /** PossibleStaleCareMemberSelected deviceModel */
39755
+ deviceModel?: (string|null);
39756
+
39757
+ /** PossibleStaleCareMemberSelected deviceOsKind */
39758
+ deviceOsKind?: (string|null);
39759
+
39760
+ /** PossibleStaleCareMemberSelected deviceOsVersion */
39761
+ deviceOsVersion?: (string|null);
39762
+
39763
+ /** PossibleStaleCareMemberSelected deviceLanguage */
39764
+ deviceLanguage?: (string|null);
39765
+
39766
+ /** PossibleStaleCareMemberSelected appVersion */
39767
+ appVersion?: (string|null);
39768
+
39769
+ /** PossibleStaleCareMemberSelected enrollmentTimestamp */
39770
+ enrollmentTimestamp?: (number|null);
39771
+
39772
+ /** PossibleStaleCareMemberSelected lastLoginTimestamp */
39773
+ lastLoginTimestamp?: (number|null);
39774
+
39775
+ /** PossibleStaleCareMemberSelected organization */
39776
+ organization?: (IOrganizationIdentifier|null);
39777
+
39778
+ /** PossibleStaleCareMemberSelected rootOrganization */
39779
+ rootOrganization?: (IOrganizationIdentifier|null);
39780
+
39781
+ /** PossibleStaleCareMemberSelected eventTimestamp */
39782
+ eventTimestamp?: (number|null);
39783
+ }
39784
+
39785
+ /**
39786
+ * A care member that falls into our stale conditions has been selected for a possible automatic coach
39787
+ * outreach. This event will be picked up by listener service, which will then determine if the care
39788
+ * member is actually stale and, if so, will start a coach automatic outreach.
39789
+ * Emitted by the ginger-web service.
39790
+ */
39791
+ export class PossibleStaleCareMemberSelected implements IPossibleStaleCareMemberSelected {
39792
+
39793
+ /**
39794
+ * Constructs a new PossibleStaleCareMemberSelected.
39795
+ * @param [properties] Properties to set
39796
+ */
39797
+ constructor(properties?: IPossibleStaleCareMemberSelected);
39798
+
39799
+ /** PossibleStaleCareMemberSelected gingerId. */
39800
+ public gingerId: number;
39801
+
39802
+ /** PossibleStaleCareMemberSelected headspaceUserId. */
39803
+ public headspaceUserId: string;
39804
+
39805
+ /** PossibleStaleCareMemberSelected deviceModel. */
39806
+ public deviceModel: string;
39807
+
39808
+ /** PossibleStaleCareMemberSelected deviceOsKind. */
39809
+ public deviceOsKind: string;
39810
+
39811
+ /** PossibleStaleCareMemberSelected deviceOsVersion. */
39812
+ public deviceOsVersion: string;
39813
+
39814
+ /** PossibleStaleCareMemberSelected deviceLanguage. */
39815
+ public deviceLanguage: string;
39816
+
39817
+ /** PossibleStaleCareMemberSelected appVersion. */
39818
+ public appVersion: string;
39819
+
39820
+ /** PossibleStaleCareMemberSelected enrollmentTimestamp. */
39821
+ public enrollmentTimestamp: number;
39822
+
39823
+ /** PossibleStaleCareMemberSelected lastLoginTimestamp. */
39824
+ public lastLoginTimestamp: number;
39825
+
39826
+ /** PossibleStaleCareMemberSelected organization. */
39827
+ public organization?: (IOrganizationIdentifier|null);
39828
+
39829
+ /** PossibleStaleCareMemberSelected rootOrganization. */
39830
+ public rootOrganization?: (IOrganizationIdentifier|null);
39831
+
39832
+ /** PossibleStaleCareMemberSelected eventTimestamp. */
39833
+ public eventTimestamp: number;
39834
+
39835
+ /**
39836
+ * Creates a new PossibleStaleCareMemberSelected instance using the specified properties.
39837
+ * @param [properties] Properties to set
39838
+ * @returns PossibleStaleCareMemberSelected instance
39839
+ */
39840
+ public static create(properties?: IPossibleStaleCareMemberSelected): PossibleStaleCareMemberSelected;
39841
+
39842
+ /**
39843
+ * Encodes the specified PossibleStaleCareMemberSelected message. Does not implicitly {@link PossibleStaleCareMemberSelected.verify|verify} messages.
39844
+ * @param message PossibleStaleCareMemberSelected message or plain object to encode
39845
+ * @param [writer] Writer to encode to
39846
+ * @returns Writer
39847
+ */
39848
+ public static encode(message: IPossibleStaleCareMemberSelected, writer?: $protobuf.Writer): $protobuf.Writer;
39849
+
39850
+ /**
39851
+ * Encodes the specified PossibleStaleCareMemberSelected message, length delimited. Does not implicitly {@link PossibleStaleCareMemberSelected.verify|verify} messages.
39852
+ * @param message PossibleStaleCareMemberSelected message or plain object to encode
39853
+ * @param [writer] Writer to encode to
39854
+ * @returns Writer
39855
+ */
39856
+ public static encodeDelimited(message: IPossibleStaleCareMemberSelected, writer?: $protobuf.Writer): $protobuf.Writer;
39857
+
39858
+ /**
39859
+ * Decodes a PossibleStaleCareMemberSelected message from the specified reader or buffer.
39860
+ * @param reader Reader or buffer to decode from
39861
+ * @param [length] Message length if known beforehand
39862
+ * @returns PossibleStaleCareMemberSelected
39863
+ * @throws {Error} If the payload is not a reader or valid buffer
39864
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39865
+ */
39866
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PossibleStaleCareMemberSelected;
39867
+
39868
+ /**
39869
+ * Decodes a PossibleStaleCareMemberSelected message from the specified reader or buffer, length delimited.
39870
+ * @param reader Reader or buffer to decode from
39871
+ * @returns PossibleStaleCareMemberSelected
39872
+ * @throws {Error} If the payload is not a reader or valid buffer
39873
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39874
+ */
39875
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PossibleStaleCareMemberSelected;
39876
+
39877
+ /**
39878
+ * Verifies a PossibleStaleCareMemberSelected message.
39879
+ * @param message Plain object to verify
39880
+ * @returns `null` if valid, otherwise the reason why it is not
39881
+ */
39882
+ public static verify(message: { [k: string]: any }): (string|null);
39883
+
39884
+ /**
39885
+ * Creates a PossibleStaleCareMemberSelected message from a plain object. Also converts values to their respective internal types.
39886
+ * @param object Plain object
39887
+ * @returns PossibleStaleCareMemberSelected
39888
+ */
39889
+ public static fromObject(object: { [k: string]: any }): PossibleStaleCareMemberSelected;
39890
+
39891
+ /**
39892
+ * Creates a plain object from a PossibleStaleCareMemberSelected message. Also converts values to other types if specified.
39893
+ * @param message PossibleStaleCareMemberSelected
39894
+ * @param [options] Conversion options
39895
+ * @returns Plain object
39896
+ */
39897
+ public static toObject(message: PossibleStaleCareMemberSelected, options?: $protobuf.IConversionOptions): { [k: string]: any };
39898
+
39899
+ /**
39900
+ * Converts this PossibleStaleCareMemberSelected to JSON.
39901
+ * @returns JSON object
39902
+ */
39903
+ public toJSON(): { [k: string]: any };
39904
+ }
39905
+
39745
39906
  /** Properties of a GoalSet. */
39746
39907
  export interface IGoalSet {
39747
39908
 
@@ -68639,6 +68800,9 @@ export namespace scim {
68639
68800
 
68640
68801
  /** SCIMUser location */
68641
68802
  location?: (string|null);
68803
+
68804
+ /** SCIMUser hierarchyMappingValue */
68805
+ hierarchyMappingValue?: (string|null);
68642
68806
  }
68643
68807
 
68644
68808
  /** Represents a SCIMUser. */
@@ -68674,6 +68838,9 @@ export namespace scim {
68674
68838
  /** SCIMUser location. */
68675
68839
  public location: string;
68676
68840
 
68841
+ /** SCIMUser hierarchyMappingValue. */
68842
+ public hierarchyMappingValue: string;
68843
+
68677
68844
  /**
68678
68845
  * Creates a new SCIMUser instance using the specified properties.
68679
68846
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -113520,6 +113520,449 @@ $root.GingerEligibilityRecordReactivated = (function() {
113520
113520
  return GingerEligibilityRecordReactivated;
113521
113521
  })();
113522
113522
 
113523
+ $root.PossibleStaleCareMemberSelected = (function() {
113524
+
113525
+ /**
113526
+ * Properties of a PossibleStaleCareMemberSelected.
113527
+ * @name IPossibleStaleCareMemberSelected
113528
+ * @interface IPossibleStaleCareMemberSelected
113529
+ * @property {number|null} [gingerId] PossibleStaleCareMemberSelected gingerId
113530
+ * @property {string|null} [headspaceUserId] PossibleStaleCareMemberSelected headspaceUserId
113531
+ * @property {string|null} [deviceModel] PossibleStaleCareMemberSelected deviceModel
113532
+ * @property {string|null} [deviceOsKind] PossibleStaleCareMemberSelected deviceOsKind
113533
+ * @property {string|null} [deviceOsVersion] PossibleStaleCareMemberSelected deviceOsVersion
113534
+ * @property {string|null} [deviceLanguage] PossibleStaleCareMemberSelected deviceLanguage
113535
+ * @property {string|null} [appVersion] PossibleStaleCareMemberSelected appVersion
113536
+ * @property {number|null} [enrollmentTimestamp] PossibleStaleCareMemberSelected enrollmentTimestamp
113537
+ * @property {number|null} [lastLoginTimestamp] PossibleStaleCareMemberSelected lastLoginTimestamp
113538
+ * @property {IOrganizationIdentifier|null} [organization] PossibleStaleCareMemberSelected organization
113539
+ * @property {IOrganizationIdentifier|null} [rootOrganization] PossibleStaleCareMemberSelected rootOrganization
113540
+ * @property {number|null} [eventTimestamp] PossibleStaleCareMemberSelected eventTimestamp
113541
+ */
113542
+
113543
+ /**
113544
+ * Constructs a new PossibleStaleCareMemberSelected.
113545
+ * @name PossibleStaleCareMemberSelected
113546
+ * @classdesc A care member that falls into our stale conditions has been selected for a possible automatic coach
113547
+ * outreach. This event will be picked up by listener service, which will then determine if the care
113548
+ * member is actually stale and, if so, will start a coach automatic outreach.
113549
+ * Emitted by the ginger-web service.
113550
+ * @implements IPossibleStaleCareMemberSelected
113551
+ * @constructor
113552
+ * @param {IPossibleStaleCareMemberSelected=} [properties] Properties to set
113553
+ */
113554
+ function PossibleStaleCareMemberSelected(properties) {
113555
+ if (properties)
113556
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
113557
+ if (properties[keys[i]] != null)
113558
+ this[keys[i]] = properties[keys[i]];
113559
+ }
113560
+
113561
+ /**
113562
+ * PossibleStaleCareMemberSelected gingerId.
113563
+ * @member {number} gingerId
113564
+ * @memberof PossibleStaleCareMemberSelected
113565
+ * @instance
113566
+ */
113567
+ PossibleStaleCareMemberSelected.prototype.gingerId = 0;
113568
+
113569
+ /**
113570
+ * PossibleStaleCareMemberSelected headspaceUserId.
113571
+ * @member {string} headspaceUserId
113572
+ * @memberof PossibleStaleCareMemberSelected
113573
+ * @instance
113574
+ */
113575
+ PossibleStaleCareMemberSelected.prototype.headspaceUserId = "";
113576
+
113577
+ /**
113578
+ * PossibleStaleCareMemberSelected deviceModel.
113579
+ * @member {string} deviceModel
113580
+ * @memberof PossibleStaleCareMemberSelected
113581
+ * @instance
113582
+ */
113583
+ PossibleStaleCareMemberSelected.prototype.deviceModel = "";
113584
+
113585
+ /**
113586
+ * PossibleStaleCareMemberSelected deviceOsKind.
113587
+ * @member {string} deviceOsKind
113588
+ * @memberof PossibleStaleCareMemberSelected
113589
+ * @instance
113590
+ */
113591
+ PossibleStaleCareMemberSelected.prototype.deviceOsKind = "";
113592
+
113593
+ /**
113594
+ * PossibleStaleCareMemberSelected deviceOsVersion.
113595
+ * @member {string} deviceOsVersion
113596
+ * @memberof PossibleStaleCareMemberSelected
113597
+ * @instance
113598
+ */
113599
+ PossibleStaleCareMemberSelected.prototype.deviceOsVersion = "";
113600
+
113601
+ /**
113602
+ * PossibleStaleCareMemberSelected deviceLanguage.
113603
+ * @member {string} deviceLanguage
113604
+ * @memberof PossibleStaleCareMemberSelected
113605
+ * @instance
113606
+ */
113607
+ PossibleStaleCareMemberSelected.prototype.deviceLanguage = "";
113608
+
113609
+ /**
113610
+ * PossibleStaleCareMemberSelected appVersion.
113611
+ * @member {string} appVersion
113612
+ * @memberof PossibleStaleCareMemberSelected
113613
+ * @instance
113614
+ */
113615
+ PossibleStaleCareMemberSelected.prototype.appVersion = "";
113616
+
113617
+ /**
113618
+ * PossibleStaleCareMemberSelected enrollmentTimestamp.
113619
+ * @member {number} enrollmentTimestamp
113620
+ * @memberof PossibleStaleCareMemberSelected
113621
+ * @instance
113622
+ */
113623
+ PossibleStaleCareMemberSelected.prototype.enrollmentTimestamp = 0;
113624
+
113625
+ /**
113626
+ * PossibleStaleCareMemberSelected lastLoginTimestamp.
113627
+ * @member {number} lastLoginTimestamp
113628
+ * @memberof PossibleStaleCareMemberSelected
113629
+ * @instance
113630
+ */
113631
+ PossibleStaleCareMemberSelected.prototype.lastLoginTimestamp = 0;
113632
+
113633
+ /**
113634
+ * PossibleStaleCareMemberSelected organization.
113635
+ * @member {IOrganizationIdentifier|null|undefined} organization
113636
+ * @memberof PossibleStaleCareMemberSelected
113637
+ * @instance
113638
+ */
113639
+ PossibleStaleCareMemberSelected.prototype.organization = null;
113640
+
113641
+ /**
113642
+ * PossibleStaleCareMemberSelected rootOrganization.
113643
+ * @member {IOrganizationIdentifier|null|undefined} rootOrganization
113644
+ * @memberof PossibleStaleCareMemberSelected
113645
+ * @instance
113646
+ */
113647
+ PossibleStaleCareMemberSelected.prototype.rootOrganization = null;
113648
+
113649
+ /**
113650
+ * PossibleStaleCareMemberSelected eventTimestamp.
113651
+ * @member {number} eventTimestamp
113652
+ * @memberof PossibleStaleCareMemberSelected
113653
+ * @instance
113654
+ */
113655
+ PossibleStaleCareMemberSelected.prototype.eventTimestamp = 0;
113656
+
113657
+ /**
113658
+ * Creates a new PossibleStaleCareMemberSelected instance using the specified properties.
113659
+ * @function create
113660
+ * @memberof PossibleStaleCareMemberSelected
113661
+ * @static
113662
+ * @param {IPossibleStaleCareMemberSelected=} [properties] Properties to set
113663
+ * @returns {PossibleStaleCareMemberSelected} PossibleStaleCareMemberSelected instance
113664
+ */
113665
+ PossibleStaleCareMemberSelected.create = function create(properties) {
113666
+ return new PossibleStaleCareMemberSelected(properties);
113667
+ };
113668
+
113669
+ /**
113670
+ * Encodes the specified PossibleStaleCareMemberSelected message. Does not implicitly {@link PossibleStaleCareMemberSelected.verify|verify} messages.
113671
+ * @function encode
113672
+ * @memberof PossibleStaleCareMemberSelected
113673
+ * @static
113674
+ * @param {IPossibleStaleCareMemberSelected} message PossibleStaleCareMemberSelected message or plain object to encode
113675
+ * @param {$protobuf.Writer} [writer] Writer to encode to
113676
+ * @returns {$protobuf.Writer} Writer
113677
+ */
113678
+ PossibleStaleCareMemberSelected.encode = function encode(message, writer) {
113679
+ if (!writer)
113680
+ writer = $Writer.create();
113681
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
113682
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.gingerId);
113683
+ if (message.headspaceUserId != null && message.hasOwnProperty("headspaceUserId"))
113684
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.headspaceUserId);
113685
+ if (message.deviceModel != null && message.hasOwnProperty("deviceModel"))
113686
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.deviceModel);
113687
+ if (message.deviceOsKind != null && message.hasOwnProperty("deviceOsKind"))
113688
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.deviceOsKind);
113689
+ if (message.deviceOsVersion != null && message.hasOwnProperty("deviceOsVersion"))
113690
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.deviceOsVersion);
113691
+ if (message.deviceLanguage != null && message.hasOwnProperty("deviceLanguage"))
113692
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.deviceLanguage);
113693
+ if (message.appVersion != null && message.hasOwnProperty("appVersion"))
113694
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.appVersion);
113695
+ if (message.enrollmentTimestamp != null && message.hasOwnProperty("enrollmentTimestamp"))
113696
+ writer.uint32(/* id 8, wireType 0 =*/64).int32(message.enrollmentTimestamp);
113697
+ if (message.lastLoginTimestamp != null && message.hasOwnProperty("lastLoginTimestamp"))
113698
+ writer.uint32(/* id 9, wireType 0 =*/72).int32(message.lastLoginTimestamp);
113699
+ if (message.organization != null && message.hasOwnProperty("organization"))
113700
+ $root.OrganizationIdentifier.encode(message.organization, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
113701
+ if (message.rootOrganization != null && message.hasOwnProperty("rootOrganization"))
113702
+ $root.OrganizationIdentifier.encode(message.rootOrganization, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
113703
+ if (message.eventTimestamp != null && message.hasOwnProperty("eventTimestamp"))
113704
+ writer.uint32(/* id 12, wireType 0 =*/96).int32(message.eventTimestamp);
113705
+ return writer;
113706
+ };
113707
+
113708
+ /**
113709
+ * Encodes the specified PossibleStaleCareMemberSelected message, length delimited. Does not implicitly {@link PossibleStaleCareMemberSelected.verify|verify} messages.
113710
+ * @function encodeDelimited
113711
+ * @memberof PossibleStaleCareMemberSelected
113712
+ * @static
113713
+ * @param {IPossibleStaleCareMemberSelected} message PossibleStaleCareMemberSelected message or plain object to encode
113714
+ * @param {$protobuf.Writer} [writer] Writer to encode to
113715
+ * @returns {$protobuf.Writer} Writer
113716
+ */
113717
+ PossibleStaleCareMemberSelected.encodeDelimited = function encodeDelimited(message, writer) {
113718
+ return this.encode(message, writer).ldelim();
113719
+ };
113720
+
113721
+ /**
113722
+ * Decodes a PossibleStaleCareMemberSelected message from the specified reader or buffer.
113723
+ * @function decode
113724
+ * @memberof PossibleStaleCareMemberSelected
113725
+ * @static
113726
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
113727
+ * @param {number} [length] Message length if known beforehand
113728
+ * @returns {PossibleStaleCareMemberSelected} PossibleStaleCareMemberSelected
113729
+ * @throws {Error} If the payload is not a reader or valid buffer
113730
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
113731
+ */
113732
+ PossibleStaleCareMemberSelected.decode = function decode(reader, length) {
113733
+ if (!(reader instanceof $Reader))
113734
+ reader = $Reader.create(reader);
113735
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.PossibleStaleCareMemberSelected();
113736
+ while (reader.pos < end) {
113737
+ var tag = reader.uint32();
113738
+ switch (tag >>> 3) {
113739
+ case 1:
113740
+ message.gingerId = reader.int32();
113741
+ break;
113742
+ case 2:
113743
+ message.headspaceUserId = reader.string();
113744
+ break;
113745
+ case 3:
113746
+ message.deviceModel = reader.string();
113747
+ break;
113748
+ case 4:
113749
+ message.deviceOsKind = reader.string();
113750
+ break;
113751
+ case 5:
113752
+ message.deviceOsVersion = reader.string();
113753
+ break;
113754
+ case 6:
113755
+ message.deviceLanguage = reader.string();
113756
+ break;
113757
+ case 7:
113758
+ message.appVersion = reader.string();
113759
+ break;
113760
+ case 8:
113761
+ message.enrollmentTimestamp = reader.int32();
113762
+ break;
113763
+ case 9:
113764
+ message.lastLoginTimestamp = reader.int32();
113765
+ break;
113766
+ case 10:
113767
+ message.organization = $root.OrganizationIdentifier.decode(reader, reader.uint32());
113768
+ break;
113769
+ case 11:
113770
+ message.rootOrganization = $root.OrganizationIdentifier.decode(reader, reader.uint32());
113771
+ break;
113772
+ case 12:
113773
+ message.eventTimestamp = reader.int32();
113774
+ break;
113775
+ default:
113776
+ reader.skipType(tag & 7);
113777
+ break;
113778
+ }
113779
+ }
113780
+ return message;
113781
+ };
113782
+
113783
+ /**
113784
+ * Decodes a PossibleStaleCareMemberSelected message from the specified reader or buffer, length delimited.
113785
+ * @function decodeDelimited
113786
+ * @memberof PossibleStaleCareMemberSelected
113787
+ * @static
113788
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
113789
+ * @returns {PossibleStaleCareMemberSelected} PossibleStaleCareMemberSelected
113790
+ * @throws {Error} If the payload is not a reader or valid buffer
113791
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
113792
+ */
113793
+ PossibleStaleCareMemberSelected.decodeDelimited = function decodeDelimited(reader) {
113794
+ if (!(reader instanceof $Reader))
113795
+ reader = new $Reader(reader);
113796
+ return this.decode(reader, reader.uint32());
113797
+ };
113798
+
113799
+ /**
113800
+ * Verifies a PossibleStaleCareMemberSelected message.
113801
+ * @function verify
113802
+ * @memberof PossibleStaleCareMemberSelected
113803
+ * @static
113804
+ * @param {Object.<string,*>} message Plain object to verify
113805
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
113806
+ */
113807
+ PossibleStaleCareMemberSelected.verify = function verify(message) {
113808
+ if (typeof message !== "object" || message === null)
113809
+ return "object expected";
113810
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
113811
+ if (!$util.isInteger(message.gingerId))
113812
+ return "gingerId: integer expected";
113813
+ if (message.headspaceUserId != null && message.hasOwnProperty("headspaceUserId"))
113814
+ if (!$util.isString(message.headspaceUserId))
113815
+ return "headspaceUserId: string expected";
113816
+ if (message.deviceModel != null && message.hasOwnProperty("deviceModel"))
113817
+ if (!$util.isString(message.deviceModel))
113818
+ return "deviceModel: string expected";
113819
+ if (message.deviceOsKind != null && message.hasOwnProperty("deviceOsKind"))
113820
+ if (!$util.isString(message.deviceOsKind))
113821
+ return "deviceOsKind: string expected";
113822
+ if (message.deviceOsVersion != null && message.hasOwnProperty("deviceOsVersion"))
113823
+ if (!$util.isString(message.deviceOsVersion))
113824
+ return "deviceOsVersion: string expected";
113825
+ if (message.deviceLanguage != null && message.hasOwnProperty("deviceLanguage"))
113826
+ if (!$util.isString(message.deviceLanguage))
113827
+ return "deviceLanguage: string expected";
113828
+ if (message.appVersion != null && message.hasOwnProperty("appVersion"))
113829
+ if (!$util.isString(message.appVersion))
113830
+ return "appVersion: string expected";
113831
+ if (message.enrollmentTimestamp != null && message.hasOwnProperty("enrollmentTimestamp"))
113832
+ if (!$util.isInteger(message.enrollmentTimestamp))
113833
+ return "enrollmentTimestamp: integer expected";
113834
+ if (message.lastLoginTimestamp != null && message.hasOwnProperty("lastLoginTimestamp"))
113835
+ if (!$util.isInteger(message.lastLoginTimestamp))
113836
+ return "lastLoginTimestamp: integer expected";
113837
+ if (message.organization != null && message.hasOwnProperty("organization")) {
113838
+ var error = $root.OrganizationIdentifier.verify(message.organization);
113839
+ if (error)
113840
+ return "organization." + error;
113841
+ }
113842
+ if (message.rootOrganization != null && message.hasOwnProperty("rootOrganization")) {
113843
+ var error = $root.OrganizationIdentifier.verify(message.rootOrganization);
113844
+ if (error)
113845
+ return "rootOrganization." + error;
113846
+ }
113847
+ if (message.eventTimestamp != null && message.hasOwnProperty("eventTimestamp"))
113848
+ if (!$util.isInteger(message.eventTimestamp))
113849
+ return "eventTimestamp: integer expected";
113850
+ return null;
113851
+ };
113852
+
113853
+ /**
113854
+ * Creates a PossibleStaleCareMemberSelected message from a plain object. Also converts values to their respective internal types.
113855
+ * @function fromObject
113856
+ * @memberof PossibleStaleCareMemberSelected
113857
+ * @static
113858
+ * @param {Object.<string,*>} object Plain object
113859
+ * @returns {PossibleStaleCareMemberSelected} PossibleStaleCareMemberSelected
113860
+ */
113861
+ PossibleStaleCareMemberSelected.fromObject = function fromObject(object) {
113862
+ if (object instanceof $root.PossibleStaleCareMemberSelected)
113863
+ return object;
113864
+ var message = new $root.PossibleStaleCareMemberSelected();
113865
+ if (object.gingerId != null)
113866
+ message.gingerId = object.gingerId | 0;
113867
+ if (object.headspaceUserId != null)
113868
+ message.headspaceUserId = String(object.headspaceUserId);
113869
+ if (object.deviceModel != null)
113870
+ message.deviceModel = String(object.deviceModel);
113871
+ if (object.deviceOsKind != null)
113872
+ message.deviceOsKind = String(object.deviceOsKind);
113873
+ if (object.deviceOsVersion != null)
113874
+ message.deviceOsVersion = String(object.deviceOsVersion);
113875
+ if (object.deviceLanguage != null)
113876
+ message.deviceLanguage = String(object.deviceLanguage);
113877
+ if (object.appVersion != null)
113878
+ message.appVersion = String(object.appVersion);
113879
+ if (object.enrollmentTimestamp != null)
113880
+ message.enrollmentTimestamp = object.enrollmentTimestamp | 0;
113881
+ if (object.lastLoginTimestamp != null)
113882
+ message.lastLoginTimestamp = object.lastLoginTimestamp | 0;
113883
+ if (object.organization != null) {
113884
+ if (typeof object.organization !== "object")
113885
+ throw TypeError(".PossibleStaleCareMemberSelected.organization: object expected");
113886
+ message.organization = $root.OrganizationIdentifier.fromObject(object.organization);
113887
+ }
113888
+ if (object.rootOrganization != null) {
113889
+ if (typeof object.rootOrganization !== "object")
113890
+ throw TypeError(".PossibleStaleCareMemberSelected.rootOrganization: object expected");
113891
+ message.rootOrganization = $root.OrganizationIdentifier.fromObject(object.rootOrganization);
113892
+ }
113893
+ if (object.eventTimestamp != null)
113894
+ message.eventTimestamp = object.eventTimestamp | 0;
113895
+ return message;
113896
+ };
113897
+
113898
+ /**
113899
+ * Creates a plain object from a PossibleStaleCareMemberSelected message. Also converts values to other types if specified.
113900
+ * @function toObject
113901
+ * @memberof PossibleStaleCareMemberSelected
113902
+ * @static
113903
+ * @param {PossibleStaleCareMemberSelected} message PossibleStaleCareMemberSelected
113904
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
113905
+ * @returns {Object.<string,*>} Plain object
113906
+ */
113907
+ PossibleStaleCareMemberSelected.toObject = function toObject(message, options) {
113908
+ if (!options)
113909
+ options = {};
113910
+ var object = {};
113911
+ if (options.defaults) {
113912
+ object.gingerId = 0;
113913
+ object.headspaceUserId = "";
113914
+ object.deviceModel = "";
113915
+ object.deviceOsKind = "";
113916
+ object.deviceOsVersion = "";
113917
+ object.deviceLanguage = "";
113918
+ object.appVersion = "";
113919
+ object.enrollmentTimestamp = 0;
113920
+ object.lastLoginTimestamp = 0;
113921
+ object.organization = null;
113922
+ object.rootOrganization = null;
113923
+ object.eventTimestamp = 0;
113924
+ }
113925
+ if (message.gingerId != null && message.hasOwnProperty("gingerId"))
113926
+ object.gingerId = message.gingerId;
113927
+ if (message.headspaceUserId != null && message.hasOwnProperty("headspaceUserId"))
113928
+ object.headspaceUserId = message.headspaceUserId;
113929
+ if (message.deviceModel != null && message.hasOwnProperty("deviceModel"))
113930
+ object.deviceModel = message.deviceModel;
113931
+ if (message.deviceOsKind != null && message.hasOwnProperty("deviceOsKind"))
113932
+ object.deviceOsKind = message.deviceOsKind;
113933
+ if (message.deviceOsVersion != null && message.hasOwnProperty("deviceOsVersion"))
113934
+ object.deviceOsVersion = message.deviceOsVersion;
113935
+ if (message.deviceLanguage != null && message.hasOwnProperty("deviceLanguage"))
113936
+ object.deviceLanguage = message.deviceLanguage;
113937
+ if (message.appVersion != null && message.hasOwnProperty("appVersion"))
113938
+ object.appVersion = message.appVersion;
113939
+ if (message.enrollmentTimestamp != null && message.hasOwnProperty("enrollmentTimestamp"))
113940
+ object.enrollmentTimestamp = message.enrollmentTimestamp;
113941
+ if (message.lastLoginTimestamp != null && message.hasOwnProperty("lastLoginTimestamp"))
113942
+ object.lastLoginTimestamp = message.lastLoginTimestamp;
113943
+ if (message.organization != null && message.hasOwnProperty("organization"))
113944
+ object.organization = $root.OrganizationIdentifier.toObject(message.organization, options);
113945
+ if (message.rootOrganization != null && message.hasOwnProperty("rootOrganization"))
113946
+ object.rootOrganization = $root.OrganizationIdentifier.toObject(message.rootOrganization, options);
113947
+ if (message.eventTimestamp != null && message.hasOwnProperty("eventTimestamp"))
113948
+ object.eventTimestamp = message.eventTimestamp;
113949
+ return object;
113950
+ };
113951
+
113952
+ /**
113953
+ * Converts this PossibleStaleCareMemberSelected to JSON.
113954
+ * @function toJSON
113955
+ * @memberof PossibleStaleCareMemberSelected
113956
+ * @instance
113957
+ * @returns {Object.<string,*>} JSON object
113958
+ */
113959
+ PossibleStaleCareMemberSelected.prototype.toJSON = function toJSON() {
113960
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
113961
+ };
113962
+
113963
+ return PossibleStaleCareMemberSelected;
113964
+ })();
113965
+
113523
113966
  $root.GoalSet = (function() {
113524
113967
 
113525
113968
  /**
@@ -193732,6 +194175,7 @@ $root.scim = (function() {
193732
194175
  * @property {string|null} [oldWorkEmail] SCIMUser oldWorkEmail
193733
194176
  * @property {string|null} [department] SCIMUser department
193734
194177
  * @property {string|null} [location] SCIMUser location
194178
+ * @property {string|null} [hierarchyMappingValue] SCIMUser hierarchyMappingValue
193735
194179
  */
193736
194180
 
193737
194181
  /**
@@ -193813,6 +194257,14 @@ $root.scim = (function() {
193813
194257
  */
193814
194258
  SCIMUser.prototype.location = "";
193815
194259
 
194260
+ /**
194261
+ * SCIMUser hierarchyMappingValue.
194262
+ * @member {string} hierarchyMappingValue
194263
+ * @memberof scim.SCIMUser
194264
+ * @instance
194265
+ */
194266
+ SCIMUser.prototype.hierarchyMappingValue = "";
194267
+
193816
194268
  /**
193817
194269
  * Creates a new SCIMUser instance using the specified properties.
193818
194270
  * @function create
@@ -193853,6 +194305,8 @@ $root.scim = (function() {
193853
194305
  writer.uint32(/* id 7, wireType 2 =*/58).string(message.department);
193854
194306
  if (message.location != null && message.hasOwnProperty("location"))
193855
194307
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.location);
194308
+ if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
194309
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.hierarchyMappingValue);
193856
194310
  return writer;
193857
194311
  };
193858
194312
 
@@ -193911,6 +194365,9 @@ $root.scim = (function() {
193911
194365
  case 8:
193912
194366
  message.location = reader.string();
193913
194367
  break;
194368
+ case 9:
194369
+ message.hierarchyMappingValue = reader.string();
194370
+ break;
193914
194371
  default:
193915
194372
  reader.skipType(tag & 7);
193916
194373
  break;
@@ -193970,6 +194427,9 @@ $root.scim = (function() {
193970
194427
  if (message.location != null && message.hasOwnProperty("location"))
193971
194428
  if (!$util.isString(message.location))
193972
194429
  return "location: string expected";
194430
+ if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
194431
+ if (!$util.isString(message.hierarchyMappingValue))
194432
+ return "hierarchyMappingValue: string expected";
193973
194433
  return null;
193974
194434
  };
193975
194435
 
@@ -194001,6 +194461,8 @@ $root.scim = (function() {
194001
194461
  message.department = String(object.department);
194002
194462
  if (object.location != null)
194003
194463
  message.location = String(object.location);
194464
+ if (object.hierarchyMappingValue != null)
194465
+ message.hierarchyMappingValue = String(object.hierarchyMappingValue);
194004
194466
  return message;
194005
194467
  };
194006
194468
 
@@ -194026,6 +194488,7 @@ $root.scim = (function() {
194026
194488
  object.oldWorkEmail = "";
194027
194489
  object.department = "";
194028
194490
  object.location = "";
194491
+ object.hierarchyMappingValue = "";
194029
194492
  }
194030
194493
  if (message.orgId != null && message.hasOwnProperty("orgId"))
194031
194494
  object.orgId = message.orgId;
@@ -194043,6 +194506,8 @@ $root.scim = (function() {
194043
194506
  object.department = message.department;
194044
194507
  if (message.location != null && message.hasOwnProperty("location"))
194045
194508
  object.location = message.location;
194509
+ if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
194510
+ object.hierarchyMappingValue = message.hierarchyMappingValue;
194046
194511
  return object;
194047
194512
  };
194048
194513
 
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.693.0"
19
+ "version": "1.695.0"
20
20
  }