@headspace/protos-events 1.647.0 → 1.649.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 +208 -1
- package/lib/index.js +602 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1979,7 +1979,8 @@ export namespace clinical {
|
|
|
1979
1979
|
COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_PART_TIME = 8,
|
|
1980
1980
|
COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_D2C = 9,
|
|
1981
1981
|
COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_TESTER = 10,
|
|
1982
|
-
COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_VIDEO_COACH = 11
|
|
1982
|
+
COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_VIDEO_COACH = 11,
|
|
1983
|
+
COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_DROPIN = 12
|
|
1983
1984
|
}
|
|
1984
1985
|
|
|
1985
1986
|
/** Properties of a CoachRoleDisplay. */
|
|
@@ -55760,6 +55761,212 @@ export class GingerDependentUpgraded implements IGingerDependentUpgraded {
|
|
|
55760
55761
|
public toJSON(): { [k: string]: any };
|
|
55761
55762
|
}
|
|
55762
55763
|
|
|
55764
|
+
/** Properties of a GingerEligibilityRecordCreated. */
|
|
55765
|
+
export interface IGingerEligibilityRecordCreated {
|
|
55766
|
+
|
|
55767
|
+
/** GingerEligibilityRecordCreated gingerEligibilityRecordId */
|
|
55768
|
+
gingerEligibilityRecordId?: (number|null);
|
|
55769
|
+
|
|
55770
|
+
/** GingerEligibilityRecordCreated gingerOrgId */
|
|
55771
|
+
gingerOrgId?: (number|null);
|
|
55772
|
+
|
|
55773
|
+
/** GingerEligibilityRecordCreated headspaceHealthOrgId */
|
|
55774
|
+
headspaceHealthOrgId?: (string|null);
|
|
55775
|
+
|
|
55776
|
+
/** GingerEligibilityRecordCreated b2bOrgId */
|
|
55777
|
+
b2bOrgId?: (number|null);
|
|
55778
|
+
|
|
55779
|
+
/** GingerEligibilityRecordCreated b2bRootOrgId */
|
|
55780
|
+
b2bRootOrgId?: (number|null);
|
|
55781
|
+
|
|
55782
|
+
/** GingerEligibilityRecordCreated workEmail */
|
|
55783
|
+
workEmail?: (string|null);
|
|
55784
|
+
|
|
55785
|
+
/** GingerEligibilityRecordCreated workId */
|
|
55786
|
+
workId?: (string|null);
|
|
55787
|
+
|
|
55788
|
+
/** GingerEligibilityRecordCreated firstName */
|
|
55789
|
+
firstName?: (string|null);
|
|
55790
|
+
|
|
55791
|
+
/** GingerEligibilityRecordCreated lastName */
|
|
55792
|
+
lastName?: (string|null);
|
|
55793
|
+
|
|
55794
|
+
/** GingerEligibilityRecordCreated zipCode */
|
|
55795
|
+
zipCode?: (string|null);
|
|
55796
|
+
|
|
55797
|
+
/** GingerEligibilityRecordCreated dob */
|
|
55798
|
+
dob?: (string|null);
|
|
55799
|
+
|
|
55800
|
+
/** GingerEligibilityRecordCreated country */
|
|
55801
|
+
country?: (string|null);
|
|
55802
|
+
|
|
55803
|
+
/** GingerEligibilityRecordCreated streetAddress_1 */
|
|
55804
|
+
streetAddress_1?: (string|null);
|
|
55805
|
+
|
|
55806
|
+
/** GingerEligibilityRecordCreated streetAddress_2 */
|
|
55807
|
+
streetAddress_2?: (string|null);
|
|
55808
|
+
|
|
55809
|
+
/** GingerEligibilityRecordCreated department */
|
|
55810
|
+
department?: (string|null);
|
|
55811
|
+
|
|
55812
|
+
/** GingerEligibilityRecordCreated location */
|
|
55813
|
+
location?: (string|null);
|
|
55814
|
+
|
|
55815
|
+
/** GingerEligibilityRecordCreated collectiveUuid */
|
|
55816
|
+
collectiveUuid?: (string|null);
|
|
55817
|
+
|
|
55818
|
+
/** GingerEligibilityRecordCreated hierarchyMappingValue */
|
|
55819
|
+
hierarchyMappingValue?: (string|null);
|
|
55820
|
+
|
|
55821
|
+
/** GingerEligibilityRecordCreated hsEligibilityRecordUuid */
|
|
55822
|
+
hsEligibilityRecordUuid?: (string|null);
|
|
55823
|
+
}
|
|
55824
|
+
|
|
55825
|
+
/**
|
|
55826
|
+
* Indicates the creation of an EligibilityRecord on the ginger system.
|
|
55827
|
+
* An EligibilityRecord is a data entry that represents the eligibility status of an individual
|
|
55828
|
+
* in our systems. Ginger-only records live only on the ginger system, and Unified and Fusion live in
|
|
55829
|
+
* in multiple services, but we are migrating some to the hs-eligibility-service.
|
|
55830
|
+
* Eligibility Records will usually be created by partners uploading eligibility files, but there are other sources too,
|
|
55831
|
+
* such as partners redirecting to our landing pages.
|
|
55832
|
+
* This event was essentially thought of to migrate existing and still eligible ginger-only records to Fusion.
|
|
55833
|
+
*/
|
|
55834
|
+
export class GingerEligibilityRecordCreated implements IGingerEligibilityRecordCreated {
|
|
55835
|
+
|
|
55836
|
+
/**
|
|
55837
|
+
* Constructs a new GingerEligibilityRecordCreated.
|
|
55838
|
+
* @param [properties] Properties to set
|
|
55839
|
+
*/
|
|
55840
|
+
constructor(properties?: IGingerEligibilityRecordCreated);
|
|
55841
|
+
|
|
55842
|
+
/** GingerEligibilityRecordCreated gingerEligibilityRecordId. */
|
|
55843
|
+
public gingerEligibilityRecordId: number;
|
|
55844
|
+
|
|
55845
|
+
/** GingerEligibilityRecordCreated gingerOrgId. */
|
|
55846
|
+
public gingerOrgId: number;
|
|
55847
|
+
|
|
55848
|
+
/** GingerEligibilityRecordCreated headspaceHealthOrgId. */
|
|
55849
|
+
public headspaceHealthOrgId: string;
|
|
55850
|
+
|
|
55851
|
+
/** GingerEligibilityRecordCreated b2bOrgId. */
|
|
55852
|
+
public b2bOrgId: number;
|
|
55853
|
+
|
|
55854
|
+
/** GingerEligibilityRecordCreated b2bRootOrgId. */
|
|
55855
|
+
public b2bRootOrgId: number;
|
|
55856
|
+
|
|
55857
|
+
/** GingerEligibilityRecordCreated workEmail. */
|
|
55858
|
+
public workEmail: string;
|
|
55859
|
+
|
|
55860
|
+
/** GingerEligibilityRecordCreated workId. */
|
|
55861
|
+
public workId: string;
|
|
55862
|
+
|
|
55863
|
+
/** GingerEligibilityRecordCreated firstName. */
|
|
55864
|
+
public firstName: string;
|
|
55865
|
+
|
|
55866
|
+
/** GingerEligibilityRecordCreated lastName. */
|
|
55867
|
+
public lastName: string;
|
|
55868
|
+
|
|
55869
|
+
/** GingerEligibilityRecordCreated zipCode. */
|
|
55870
|
+
public zipCode: string;
|
|
55871
|
+
|
|
55872
|
+
/** GingerEligibilityRecordCreated dob. */
|
|
55873
|
+
public dob: string;
|
|
55874
|
+
|
|
55875
|
+
/** GingerEligibilityRecordCreated country. */
|
|
55876
|
+
public country: string;
|
|
55877
|
+
|
|
55878
|
+
/** GingerEligibilityRecordCreated streetAddress_1. */
|
|
55879
|
+
public streetAddress_1: string;
|
|
55880
|
+
|
|
55881
|
+
/** GingerEligibilityRecordCreated streetAddress_2. */
|
|
55882
|
+
public streetAddress_2: string;
|
|
55883
|
+
|
|
55884
|
+
/** GingerEligibilityRecordCreated department. */
|
|
55885
|
+
public department: string;
|
|
55886
|
+
|
|
55887
|
+
/** GingerEligibilityRecordCreated location. */
|
|
55888
|
+
public location: string;
|
|
55889
|
+
|
|
55890
|
+
/** GingerEligibilityRecordCreated collectiveUuid. */
|
|
55891
|
+
public collectiveUuid: string;
|
|
55892
|
+
|
|
55893
|
+
/** GingerEligibilityRecordCreated hierarchyMappingValue. */
|
|
55894
|
+
public hierarchyMappingValue: string;
|
|
55895
|
+
|
|
55896
|
+
/** GingerEligibilityRecordCreated hsEligibilityRecordUuid. */
|
|
55897
|
+
public hsEligibilityRecordUuid: string;
|
|
55898
|
+
|
|
55899
|
+
/**
|
|
55900
|
+
* Creates a new GingerEligibilityRecordCreated instance using the specified properties.
|
|
55901
|
+
* @param [properties] Properties to set
|
|
55902
|
+
* @returns GingerEligibilityRecordCreated instance
|
|
55903
|
+
*/
|
|
55904
|
+
public static create(properties?: IGingerEligibilityRecordCreated): GingerEligibilityRecordCreated;
|
|
55905
|
+
|
|
55906
|
+
/**
|
|
55907
|
+
* Encodes the specified GingerEligibilityRecordCreated message. Does not implicitly {@link GingerEligibilityRecordCreated.verify|verify} messages.
|
|
55908
|
+
* @param message GingerEligibilityRecordCreated message or plain object to encode
|
|
55909
|
+
* @param [writer] Writer to encode to
|
|
55910
|
+
* @returns Writer
|
|
55911
|
+
*/
|
|
55912
|
+
public static encode(message: IGingerEligibilityRecordCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
55913
|
+
|
|
55914
|
+
/**
|
|
55915
|
+
* Encodes the specified GingerEligibilityRecordCreated message, length delimited. Does not implicitly {@link GingerEligibilityRecordCreated.verify|verify} messages.
|
|
55916
|
+
* @param message GingerEligibilityRecordCreated message or plain object to encode
|
|
55917
|
+
* @param [writer] Writer to encode to
|
|
55918
|
+
* @returns Writer
|
|
55919
|
+
*/
|
|
55920
|
+
public static encodeDelimited(message: IGingerEligibilityRecordCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
55921
|
+
|
|
55922
|
+
/**
|
|
55923
|
+
* Decodes a GingerEligibilityRecordCreated message from the specified reader or buffer.
|
|
55924
|
+
* @param reader Reader or buffer to decode from
|
|
55925
|
+
* @param [length] Message length if known beforehand
|
|
55926
|
+
* @returns GingerEligibilityRecordCreated
|
|
55927
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
55928
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
55929
|
+
*/
|
|
55930
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GingerEligibilityRecordCreated;
|
|
55931
|
+
|
|
55932
|
+
/**
|
|
55933
|
+
* Decodes a GingerEligibilityRecordCreated message from the specified reader or buffer, length delimited.
|
|
55934
|
+
* @param reader Reader or buffer to decode from
|
|
55935
|
+
* @returns GingerEligibilityRecordCreated
|
|
55936
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
55937
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
55938
|
+
*/
|
|
55939
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GingerEligibilityRecordCreated;
|
|
55940
|
+
|
|
55941
|
+
/**
|
|
55942
|
+
* Verifies a GingerEligibilityRecordCreated message.
|
|
55943
|
+
* @param message Plain object to verify
|
|
55944
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
55945
|
+
*/
|
|
55946
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
55947
|
+
|
|
55948
|
+
/**
|
|
55949
|
+
* Creates a GingerEligibilityRecordCreated message from a plain object. Also converts values to their respective internal types.
|
|
55950
|
+
* @param object Plain object
|
|
55951
|
+
* @returns GingerEligibilityRecordCreated
|
|
55952
|
+
*/
|
|
55953
|
+
public static fromObject(object: { [k: string]: any }): GingerEligibilityRecordCreated;
|
|
55954
|
+
|
|
55955
|
+
/**
|
|
55956
|
+
* Creates a plain object from a GingerEligibilityRecordCreated message. Also converts values to other types if specified.
|
|
55957
|
+
* @param message GingerEligibilityRecordCreated
|
|
55958
|
+
* @param [options] Conversion options
|
|
55959
|
+
* @returns Plain object
|
|
55960
|
+
*/
|
|
55961
|
+
public static toObject(message: GingerEligibilityRecordCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
55962
|
+
|
|
55963
|
+
/**
|
|
55964
|
+
* Converts this GingerEligibilityRecordCreated to JSON.
|
|
55965
|
+
* @returns JSON object
|
|
55966
|
+
*/
|
|
55967
|
+
public toJSON(): { [k: string]: any };
|
|
55968
|
+
}
|
|
55969
|
+
|
|
55763
55970
|
/** Properties of a GoalSet. */
|
|
55764
55971
|
export interface IGoalSet {
|
|
55765
55972
|
|
package/lib/index.js
CHANGED
|
@@ -5665,6 +5665,7 @@ $root.clinical = (function() {
|
|
|
5665
5665
|
case 9:
|
|
5666
5666
|
case 10:
|
|
5667
5667
|
case 11:
|
|
5668
|
+
case 12:
|
|
5668
5669
|
break;
|
|
5669
5670
|
}
|
|
5670
5671
|
}
|
|
@@ -6183,6 +6184,10 @@ $root.clinical = (function() {
|
|
|
6183
6184
|
case 11:
|
|
6184
6185
|
message.specializations[i] = 11;
|
|
6185
6186
|
break;
|
|
6187
|
+
case "COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_DROPIN":
|
|
6188
|
+
case 12:
|
|
6189
|
+
message.specializations[i] = 12;
|
|
6190
|
+
break;
|
|
6186
6191
|
}
|
|
6187
6192
|
}
|
|
6188
6193
|
if (object.deprecatedSpecializations) {
|
|
@@ -6491,6 +6496,7 @@ $root.clinical = (function() {
|
|
|
6491
6496
|
case 9:
|
|
6492
6497
|
case 10:
|
|
6493
6498
|
case 11:
|
|
6499
|
+
case 12:
|
|
6494
6500
|
break;
|
|
6495
6501
|
}
|
|
6496
6502
|
return null;
|
|
@@ -6566,6 +6572,10 @@ $root.clinical = (function() {
|
|
|
6566
6572
|
case 11:
|
|
6567
6573
|
message.specialization = 11;
|
|
6568
6574
|
break;
|
|
6575
|
+
case "COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_DROPIN":
|
|
6576
|
+
case 12:
|
|
6577
|
+
message.specialization = 12;
|
|
6578
|
+
break;
|
|
6569
6579
|
}
|
|
6570
6580
|
return message;
|
|
6571
6581
|
};
|
|
@@ -6631,6 +6641,7 @@ $root.clinical = (function() {
|
|
|
6631
6641
|
* @property {number} COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_D2C=9 COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_D2C value
|
|
6632
6642
|
* @property {number} COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_TESTER=10 COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_TESTER value
|
|
6633
6643
|
* @property {number} COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_VIDEO_COACH=11 COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_VIDEO_COACH value
|
|
6644
|
+
* @property {number} COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_DROPIN=12 COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_DROPIN value
|
|
6634
6645
|
*/
|
|
6635
6646
|
clinical.CoachSpecializationType = (function() {
|
|
6636
6647
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -6646,6 +6657,7 @@ $root.clinical = (function() {
|
|
|
6646
6657
|
values[valuesById[9] = "COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_D2C"] = 9;
|
|
6647
6658
|
values[valuesById[10] = "COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_TESTER"] = 10;
|
|
6648
6659
|
values[valuesById[11] = "COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_VIDEO_COACH"] = 11;
|
|
6660
|
+
values[valuesById[12] = "COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_DROPIN"] = 12;
|
|
6649
6661
|
return values;
|
|
6650
6662
|
})();
|
|
6651
6663
|
|
|
@@ -155951,6 +155963,596 @@ $root.GingerDependentUpgraded = (function() {
|
|
|
155951
155963
|
return GingerDependentUpgraded;
|
|
155952
155964
|
})();
|
|
155953
155965
|
|
|
155966
|
+
$root.GingerEligibilityRecordCreated = (function() {
|
|
155967
|
+
|
|
155968
|
+
/**
|
|
155969
|
+
* Properties of a GingerEligibilityRecordCreated.
|
|
155970
|
+
* @name IGingerEligibilityRecordCreated
|
|
155971
|
+
* @interface IGingerEligibilityRecordCreated
|
|
155972
|
+
* @property {number|null} [gingerEligibilityRecordId] GingerEligibilityRecordCreated gingerEligibilityRecordId
|
|
155973
|
+
* @property {number|null} [gingerOrgId] GingerEligibilityRecordCreated gingerOrgId
|
|
155974
|
+
* @property {string|null} [headspaceHealthOrgId] GingerEligibilityRecordCreated headspaceHealthOrgId
|
|
155975
|
+
* @property {number|null} [b2bOrgId] GingerEligibilityRecordCreated b2bOrgId
|
|
155976
|
+
* @property {number|null} [b2bRootOrgId] GingerEligibilityRecordCreated b2bRootOrgId
|
|
155977
|
+
* @property {string|null} [workEmail] GingerEligibilityRecordCreated workEmail
|
|
155978
|
+
* @property {string|null} [workId] GingerEligibilityRecordCreated workId
|
|
155979
|
+
* @property {string|null} [firstName] GingerEligibilityRecordCreated firstName
|
|
155980
|
+
* @property {string|null} [lastName] GingerEligibilityRecordCreated lastName
|
|
155981
|
+
* @property {string|null} [zipCode] GingerEligibilityRecordCreated zipCode
|
|
155982
|
+
* @property {string|null} [dob] GingerEligibilityRecordCreated dob
|
|
155983
|
+
* @property {string|null} [country] GingerEligibilityRecordCreated country
|
|
155984
|
+
* @property {string|null} [streetAddress_1] GingerEligibilityRecordCreated streetAddress_1
|
|
155985
|
+
* @property {string|null} [streetAddress_2] GingerEligibilityRecordCreated streetAddress_2
|
|
155986
|
+
* @property {string|null} [department] GingerEligibilityRecordCreated department
|
|
155987
|
+
* @property {string|null} [location] GingerEligibilityRecordCreated location
|
|
155988
|
+
* @property {string|null} [collectiveUuid] GingerEligibilityRecordCreated collectiveUuid
|
|
155989
|
+
* @property {string|null} [hierarchyMappingValue] GingerEligibilityRecordCreated hierarchyMappingValue
|
|
155990
|
+
* @property {string|null} [hsEligibilityRecordUuid] GingerEligibilityRecordCreated hsEligibilityRecordUuid
|
|
155991
|
+
*/
|
|
155992
|
+
|
|
155993
|
+
/**
|
|
155994
|
+
* Constructs a new GingerEligibilityRecordCreated.
|
|
155995
|
+
* @name GingerEligibilityRecordCreated
|
|
155996
|
+
* @classdesc Indicates the creation of an EligibilityRecord on the ginger system.
|
|
155997
|
+
* An EligibilityRecord is a data entry that represents the eligibility status of an individual
|
|
155998
|
+
* in our systems. Ginger-only records live only on the ginger system, and Unified and Fusion live in
|
|
155999
|
+
* in multiple services, but we are migrating some to the hs-eligibility-service.
|
|
156000
|
+
* Eligibility Records will usually be created by partners uploading eligibility files, but there are other sources too,
|
|
156001
|
+
* such as partners redirecting to our landing pages.
|
|
156002
|
+
* This event was essentially thought of to migrate existing and still eligible ginger-only records to Fusion.
|
|
156003
|
+
* @implements IGingerEligibilityRecordCreated
|
|
156004
|
+
* @constructor
|
|
156005
|
+
* @param {IGingerEligibilityRecordCreated=} [properties] Properties to set
|
|
156006
|
+
*/
|
|
156007
|
+
function GingerEligibilityRecordCreated(properties) {
|
|
156008
|
+
if (properties)
|
|
156009
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
156010
|
+
if (properties[keys[i]] != null)
|
|
156011
|
+
this[keys[i]] = properties[keys[i]];
|
|
156012
|
+
}
|
|
156013
|
+
|
|
156014
|
+
/**
|
|
156015
|
+
* GingerEligibilityRecordCreated gingerEligibilityRecordId.
|
|
156016
|
+
* @member {number} gingerEligibilityRecordId
|
|
156017
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156018
|
+
* @instance
|
|
156019
|
+
*/
|
|
156020
|
+
GingerEligibilityRecordCreated.prototype.gingerEligibilityRecordId = 0;
|
|
156021
|
+
|
|
156022
|
+
/**
|
|
156023
|
+
* GingerEligibilityRecordCreated gingerOrgId.
|
|
156024
|
+
* @member {number} gingerOrgId
|
|
156025
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156026
|
+
* @instance
|
|
156027
|
+
*/
|
|
156028
|
+
GingerEligibilityRecordCreated.prototype.gingerOrgId = 0;
|
|
156029
|
+
|
|
156030
|
+
/**
|
|
156031
|
+
* GingerEligibilityRecordCreated headspaceHealthOrgId.
|
|
156032
|
+
* @member {string} headspaceHealthOrgId
|
|
156033
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156034
|
+
* @instance
|
|
156035
|
+
*/
|
|
156036
|
+
GingerEligibilityRecordCreated.prototype.headspaceHealthOrgId = "";
|
|
156037
|
+
|
|
156038
|
+
/**
|
|
156039
|
+
* GingerEligibilityRecordCreated b2bOrgId.
|
|
156040
|
+
* @member {number} b2bOrgId
|
|
156041
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156042
|
+
* @instance
|
|
156043
|
+
*/
|
|
156044
|
+
GingerEligibilityRecordCreated.prototype.b2bOrgId = 0;
|
|
156045
|
+
|
|
156046
|
+
/**
|
|
156047
|
+
* GingerEligibilityRecordCreated b2bRootOrgId.
|
|
156048
|
+
* @member {number} b2bRootOrgId
|
|
156049
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156050
|
+
* @instance
|
|
156051
|
+
*/
|
|
156052
|
+
GingerEligibilityRecordCreated.prototype.b2bRootOrgId = 0;
|
|
156053
|
+
|
|
156054
|
+
/**
|
|
156055
|
+
* GingerEligibilityRecordCreated workEmail.
|
|
156056
|
+
* @member {string} workEmail
|
|
156057
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156058
|
+
* @instance
|
|
156059
|
+
*/
|
|
156060
|
+
GingerEligibilityRecordCreated.prototype.workEmail = "";
|
|
156061
|
+
|
|
156062
|
+
/**
|
|
156063
|
+
* GingerEligibilityRecordCreated workId.
|
|
156064
|
+
* @member {string} workId
|
|
156065
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156066
|
+
* @instance
|
|
156067
|
+
*/
|
|
156068
|
+
GingerEligibilityRecordCreated.prototype.workId = "";
|
|
156069
|
+
|
|
156070
|
+
/**
|
|
156071
|
+
* GingerEligibilityRecordCreated firstName.
|
|
156072
|
+
* @member {string} firstName
|
|
156073
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156074
|
+
* @instance
|
|
156075
|
+
*/
|
|
156076
|
+
GingerEligibilityRecordCreated.prototype.firstName = "";
|
|
156077
|
+
|
|
156078
|
+
/**
|
|
156079
|
+
* GingerEligibilityRecordCreated lastName.
|
|
156080
|
+
* @member {string} lastName
|
|
156081
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156082
|
+
* @instance
|
|
156083
|
+
*/
|
|
156084
|
+
GingerEligibilityRecordCreated.prototype.lastName = "";
|
|
156085
|
+
|
|
156086
|
+
/**
|
|
156087
|
+
* GingerEligibilityRecordCreated zipCode.
|
|
156088
|
+
* @member {string} zipCode
|
|
156089
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156090
|
+
* @instance
|
|
156091
|
+
*/
|
|
156092
|
+
GingerEligibilityRecordCreated.prototype.zipCode = "";
|
|
156093
|
+
|
|
156094
|
+
/**
|
|
156095
|
+
* GingerEligibilityRecordCreated dob.
|
|
156096
|
+
* @member {string} dob
|
|
156097
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156098
|
+
* @instance
|
|
156099
|
+
*/
|
|
156100
|
+
GingerEligibilityRecordCreated.prototype.dob = "";
|
|
156101
|
+
|
|
156102
|
+
/**
|
|
156103
|
+
* GingerEligibilityRecordCreated country.
|
|
156104
|
+
* @member {string} country
|
|
156105
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156106
|
+
* @instance
|
|
156107
|
+
*/
|
|
156108
|
+
GingerEligibilityRecordCreated.prototype.country = "";
|
|
156109
|
+
|
|
156110
|
+
/**
|
|
156111
|
+
* GingerEligibilityRecordCreated streetAddress_1.
|
|
156112
|
+
* @member {string} streetAddress_1
|
|
156113
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156114
|
+
* @instance
|
|
156115
|
+
*/
|
|
156116
|
+
GingerEligibilityRecordCreated.prototype.streetAddress_1 = "";
|
|
156117
|
+
|
|
156118
|
+
/**
|
|
156119
|
+
* GingerEligibilityRecordCreated streetAddress_2.
|
|
156120
|
+
* @member {string} streetAddress_2
|
|
156121
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156122
|
+
* @instance
|
|
156123
|
+
*/
|
|
156124
|
+
GingerEligibilityRecordCreated.prototype.streetAddress_2 = "";
|
|
156125
|
+
|
|
156126
|
+
/**
|
|
156127
|
+
* GingerEligibilityRecordCreated department.
|
|
156128
|
+
* @member {string} department
|
|
156129
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156130
|
+
* @instance
|
|
156131
|
+
*/
|
|
156132
|
+
GingerEligibilityRecordCreated.prototype.department = "";
|
|
156133
|
+
|
|
156134
|
+
/**
|
|
156135
|
+
* GingerEligibilityRecordCreated location.
|
|
156136
|
+
* @member {string} location
|
|
156137
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156138
|
+
* @instance
|
|
156139
|
+
*/
|
|
156140
|
+
GingerEligibilityRecordCreated.prototype.location = "";
|
|
156141
|
+
|
|
156142
|
+
/**
|
|
156143
|
+
* GingerEligibilityRecordCreated collectiveUuid.
|
|
156144
|
+
* @member {string} collectiveUuid
|
|
156145
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156146
|
+
* @instance
|
|
156147
|
+
*/
|
|
156148
|
+
GingerEligibilityRecordCreated.prototype.collectiveUuid = "";
|
|
156149
|
+
|
|
156150
|
+
/**
|
|
156151
|
+
* GingerEligibilityRecordCreated hierarchyMappingValue.
|
|
156152
|
+
* @member {string} hierarchyMappingValue
|
|
156153
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156154
|
+
* @instance
|
|
156155
|
+
*/
|
|
156156
|
+
GingerEligibilityRecordCreated.prototype.hierarchyMappingValue = "";
|
|
156157
|
+
|
|
156158
|
+
/**
|
|
156159
|
+
* GingerEligibilityRecordCreated hsEligibilityRecordUuid.
|
|
156160
|
+
* @member {string} hsEligibilityRecordUuid
|
|
156161
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156162
|
+
* @instance
|
|
156163
|
+
*/
|
|
156164
|
+
GingerEligibilityRecordCreated.prototype.hsEligibilityRecordUuid = "";
|
|
156165
|
+
|
|
156166
|
+
/**
|
|
156167
|
+
* Creates a new GingerEligibilityRecordCreated instance using the specified properties.
|
|
156168
|
+
* @function create
|
|
156169
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156170
|
+
* @static
|
|
156171
|
+
* @param {IGingerEligibilityRecordCreated=} [properties] Properties to set
|
|
156172
|
+
* @returns {GingerEligibilityRecordCreated} GingerEligibilityRecordCreated instance
|
|
156173
|
+
*/
|
|
156174
|
+
GingerEligibilityRecordCreated.create = function create(properties) {
|
|
156175
|
+
return new GingerEligibilityRecordCreated(properties);
|
|
156176
|
+
};
|
|
156177
|
+
|
|
156178
|
+
/**
|
|
156179
|
+
* Encodes the specified GingerEligibilityRecordCreated message. Does not implicitly {@link GingerEligibilityRecordCreated.verify|verify} messages.
|
|
156180
|
+
* @function encode
|
|
156181
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156182
|
+
* @static
|
|
156183
|
+
* @param {IGingerEligibilityRecordCreated} message GingerEligibilityRecordCreated message or plain object to encode
|
|
156184
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
156185
|
+
* @returns {$protobuf.Writer} Writer
|
|
156186
|
+
*/
|
|
156187
|
+
GingerEligibilityRecordCreated.encode = function encode(message, writer) {
|
|
156188
|
+
if (!writer)
|
|
156189
|
+
writer = $Writer.create();
|
|
156190
|
+
if (message.gingerEligibilityRecordId != null && message.hasOwnProperty("gingerEligibilityRecordId"))
|
|
156191
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.gingerEligibilityRecordId);
|
|
156192
|
+
if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
|
|
156193
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerOrgId);
|
|
156194
|
+
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
156195
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.headspaceHealthOrgId);
|
|
156196
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
156197
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.b2bOrgId);
|
|
156198
|
+
if (message.b2bRootOrgId != null && message.hasOwnProperty("b2bRootOrgId"))
|
|
156199
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.b2bRootOrgId);
|
|
156200
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
156201
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.workEmail);
|
|
156202
|
+
if (message.workId != null && message.hasOwnProperty("workId"))
|
|
156203
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.workId);
|
|
156204
|
+
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
156205
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.firstName);
|
|
156206
|
+
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
156207
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.lastName);
|
|
156208
|
+
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
156209
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.zipCode);
|
|
156210
|
+
if (message.dob != null && message.hasOwnProperty("dob"))
|
|
156211
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.dob);
|
|
156212
|
+
if (message.country != null && message.hasOwnProperty("country"))
|
|
156213
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.country);
|
|
156214
|
+
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
156215
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.streetAddress_1);
|
|
156216
|
+
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
156217
|
+
writer.uint32(/* id 14, wireType 2 =*/114).string(message.streetAddress_2);
|
|
156218
|
+
if (message.department != null && message.hasOwnProperty("department"))
|
|
156219
|
+
writer.uint32(/* id 15, wireType 2 =*/122).string(message.department);
|
|
156220
|
+
if (message.location != null && message.hasOwnProperty("location"))
|
|
156221
|
+
writer.uint32(/* id 16, wireType 2 =*/130).string(message.location);
|
|
156222
|
+
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
156223
|
+
writer.uint32(/* id 17, wireType 2 =*/138).string(message.collectiveUuid);
|
|
156224
|
+
if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
|
|
156225
|
+
writer.uint32(/* id 18, wireType 2 =*/146).string(message.hierarchyMappingValue);
|
|
156226
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
156227
|
+
writer.uint32(/* id 19, wireType 2 =*/154).string(message.hsEligibilityRecordUuid);
|
|
156228
|
+
return writer;
|
|
156229
|
+
};
|
|
156230
|
+
|
|
156231
|
+
/**
|
|
156232
|
+
* Encodes the specified GingerEligibilityRecordCreated message, length delimited. Does not implicitly {@link GingerEligibilityRecordCreated.verify|verify} messages.
|
|
156233
|
+
* @function encodeDelimited
|
|
156234
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156235
|
+
* @static
|
|
156236
|
+
* @param {IGingerEligibilityRecordCreated} message GingerEligibilityRecordCreated message or plain object to encode
|
|
156237
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
156238
|
+
* @returns {$protobuf.Writer} Writer
|
|
156239
|
+
*/
|
|
156240
|
+
GingerEligibilityRecordCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
156241
|
+
return this.encode(message, writer).ldelim();
|
|
156242
|
+
};
|
|
156243
|
+
|
|
156244
|
+
/**
|
|
156245
|
+
* Decodes a GingerEligibilityRecordCreated message from the specified reader or buffer.
|
|
156246
|
+
* @function decode
|
|
156247
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156248
|
+
* @static
|
|
156249
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
156250
|
+
* @param {number} [length] Message length if known beforehand
|
|
156251
|
+
* @returns {GingerEligibilityRecordCreated} GingerEligibilityRecordCreated
|
|
156252
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
156253
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
156254
|
+
*/
|
|
156255
|
+
GingerEligibilityRecordCreated.decode = function decode(reader, length) {
|
|
156256
|
+
if (!(reader instanceof $Reader))
|
|
156257
|
+
reader = $Reader.create(reader);
|
|
156258
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GingerEligibilityRecordCreated();
|
|
156259
|
+
while (reader.pos < end) {
|
|
156260
|
+
var tag = reader.uint32();
|
|
156261
|
+
switch (tag >>> 3) {
|
|
156262
|
+
case 1:
|
|
156263
|
+
message.gingerEligibilityRecordId = reader.uint32();
|
|
156264
|
+
break;
|
|
156265
|
+
case 2:
|
|
156266
|
+
message.gingerOrgId = reader.uint32();
|
|
156267
|
+
break;
|
|
156268
|
+
case 3:
|
|
156269
|
+
message.headspaceHealthOrgId = reader.string();
|
|
156270
|
+
break;
|
|
156271
|
+
case 4:
|
|
156272
|
+
message.b2bOrgId = reader.uint32();
|
|
156273
|
+
break;
|
|
156274
|
+
case 5:
|
|
156275
|
+
message.b2bRootOrgId = reader.uint32();
|
|
156276
|
+
break;
|
|
156277
|
+
case 6:
|
|
156278
|
+
message.workEmail = reader.string();
|
|
156279
|
+
break;
|
|
156280
|
+
case 7:
|
|
156281
|
+
message.workId = reader.string();
|
|
156282
|
+
break;
|
|
156283
|
+
case 8:
|
|
156284
|
+
message.firstName = reader.string();
|
|
156285
|
+
break;
|
|
156286
|
+
case 9:
|
|
156287
|
+
message.lastName = reader.string();
|
|
156288
|
+
break;
|
|
156289
|
+
case 10:
|
|
156290
|
+
message.zipCode = reader.string();
|
|
156291
|
+
break;
|
|
156292
|
+
case 11:
|
|
156293
|
+
message.dob = reader.string();
|
|
156294
|
+
break;
|
|
156295
|
+
case 12:
|
|
156296
|
+
message.country = reader.string();
|
|
156297
|
+
break;
|
|
156298
|
+
case 13:
|
|
156299
|
+
message.streetAddress_1 = reader.string();
|
|
156300
|
+
break;
|
|
156301
|
+
case 14:
|
|
156302
|
+
message.streetAddress_2 = reader.string();
|
|
156303
|
+
break;
|
|
156304
|
+
case 15:
|
|
156305
|
+
message.department = reader.string();
|
|
156306
|
+
break;
|
|
156307
|
+
case 16:
|
|
156308
|
+
message.location = reader.string();
|
|
156309
|
+
break;
|
|
156310
|
+
case 17:
|
|
156311
|
+
message.collectiveUuid = reader.string();
|
|
156312
|
+
break;
|
|
156313
|
+
case 18:
|
|
156314
|
+
message.hierarchyMappingValue = reader.string();
|
|
156315
|
+
break;
|
|
156316
|
+
case 19:
|
|
156317
|
+
message.hsEligibilityRecordUuid = reader.string();
|
|
156318
|
+
break;
|
|
156319
|
+
default:
|
|
156320
|
+
reader.skipType(tag & 7);
|
|
156321
|
+
break;
|
|
156322
|
+
}
|
|
156323
|
+
}
|
|
156324
|
+
return message;
|
|
156325
|
+
};
|
|
156326
|
+
|
|
156327
|
+
/**
|
|
156328
|
+
* Decodes a GingerEligibilityRecordCreated message from the specified reader or buffer, length delimited.
|
|
156329
|
+
* @function decodeDelimited
|
|
156330
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156331
|
+
* @static
|
|
156332
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
156333
|
+
* @returns {GingerEligibilityRecordCreated} GingerEligibilityRecordCreated
|
|
156334
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
156335
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
156336
|
+
*/
|
|
156337
|
+
GingerEligibilityRecordCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
156338
|
+
if (!(reader instanceof $Reader))
|
|
156339
|
+
reader = new $Reader(reader);
|
|
156340
|
+
return this.decode(reader, reader.uint32());
|
|
156341
|
+
};
|
|
156342
|
+
|
|
156343
|
+
/**
|
|
156344
|
+
* Verifies a GingerEligibilityRecordCreated message.
|
|
156345
|
+
* @function verify
|
|
156346
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156347
|
+
* @static
|
|
156348
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
156349
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
156350
|
+
*/
|
|
156351
|
+
GingerEligibilityRecordCreated.verify = function verify(message) {
|
|
156352
|
+
if (typeof message !== "object" || message === null)
|
|
156353
|
+
return "object expected";
|
|
156354
|
+
if (message.gingerEligibilityRecordId != null && message.hasOwnProperty("gingerEligibilityRecordId"))
|
|
156355
|
+
if (!$util.isInteger(message.gingerEligibilityRecordId))
|
|
156356
|
+
return "gingerEligibilityRecordId: integer expected";
|
|
156357
|
+
if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
|
|
156358
|
+
if (!$util.isInteger(message.gingerOrgId))
|
|
156359
|
+
return "gingerOrgId: integer expected";
|
|
156360
|
+
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
156361
|
+
if (!$util.isString(message.headspaceHealthOrgId))
|
|
156362
|
+
return "headspaceHealthOrgId: string expected";
|
|
156363
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
156364
|
+
if (!$util.isInteger(message.b2bOrgId))
|
|
156365
|
+
return "b2bOrgId: integer expected";
|
|
156366
|
+
if (message.b2bRootOrgId != null && message.hasOwnProperty("b2bRootOrgId"))
|
|
156367
|
+
if (!$util.isInteger(message.b2bRootOrgId))
|
|
156368
|
+
return "b2bRootOrgId: integer expected";
|
|
156369
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
156370
|
+
if (!$util.isString(message.workEmail))
|
|
156371
|
+
return "workEmail: string expected";
|
|
156372
|
+
if (message.workId != null && message.hasOwnProperty("workId"))
|
|
156373
|
+
if (!$util.isString(message.workId))
|
|
156374
|
+
return "workId: string expected";
|
|
156375
|
+
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
156376
|
+
if (!$util.isString(message.firstName))
|
|
156377
|
+
return "firstName: string expected";
|
|
156378
|
+
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
156379
|
+
if (!$util.isString(message.lastName))
|
|
156380
|
+
return "lastName: string expected";
|
|
156381
|
+
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
156382
|
+
if (!$util.isString(message.zipCode))
|
|
156383
|
+
return "zipCode: string expected";
|
|
156384
|
+
if (message.dob != null && message.hasOwnProperty("dob"))
|
|
156385
|
+
if (!$util.isString(message.dob))
|
|
156386
|
+
return "dob: string expected";
|
|
156387
|
+
if (message.country != null && message.hasOwnProperty("country"))
|
|
156388
|
+
if (!$util.isString(message.country))
|
|
156389
|
+
return "country: string expected";
|
|
156390
|
+
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
156391
|
+
if (!$util.isString(message.streetAddress_1))
|
|
156392
|
+
return "streetAddress_1: string expected";
|
|
156393
|
+
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
156394
|
+
if (!$util.isString(message.streetAddress_2))
|
|
156395
|
+
return "streetAddress_2: string expected";
|
|
156396
|
+
if (message.department != null && message.hasOwnProperty("department"))
|
|
156397
|
+
if (!$util.isString(message.department))
|
|
156398
|
+
return "department: string expected";
|
|
156399
|
+
if (message.location != null && message.hasOwnProperty("location"))
|
|
156400
|
+
if (!$util.isString(message.location))
|
|
156401
|
+
return "location: string expected";
|
|
156402
|
+
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
156403
|
+
if (!$util.isString(message.collectiveUuid))
|
|
156404
|
+
return "collectiveUuid: string expected";
|
|
156405
|
+
if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
|
|
156406
|
+
if (!$util.isString(message.hierarchyMappingValue))
|
|
156407
|
+
return "hierarchyMappingValue: string expected";
|
|
156408
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
156409
|
+
if (!$util.isString(message.hsEligibilityRecordUuid))
|
|
156410
|
+
return "hsEligibilityRecordUuid: string expected";
|
|
156411
|
+
return null;
|
|
156412
|
+
};
|
|
156413
|
+
|
|
156414
|
+
/**
|
|
156415
|
+
* Creates a GingerEligibilityRecordCreated message from a plain object. Also converts values to their respective internal types.
|
|
156416
|
+
* @function fromObject
|
|
156417
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156418
|
+
* @static
|
|
156419
|
+
* @param {Object.<string,*>} object Plain object
|
|
156420
|
+
* @returns {GingerEligibilityRecordCreated} GingerEligibilityRecordCreated
|
|
156421
|
+
*/
|
|
156422
|
+
GingerEligibilityRecordCreated.fromObject = function fromObject(object) {
|
|
156423
|
+
if (object instanceof $root.GingerEligibilityRecordCreated)
|
|
156424
|
+
return object;
|
|
156425
|
+
var message = new $root.GingerEligibilityRecordCreated();
|
|
156426
|
+
if (object.gingerEligibilityRecordId != null)
|
|
156427
|
+
message.gingerEligibilityRecordId = object.gingerEligibilityRecordId >>> 0;
|
|
156428
|
+
if (object.gingerOrgId != null)
|
|
156429
|
+
message.gingerOrgId = object.gingerOrgId >>> 0;
|
|
156430
|
+
if (object.headspaceHealthOrgId != null)
|
|
156431
|
+
message.headspaceHealthOrgId = String(object.headspaceHealthOrgId);
|
|
156432
|
+
if (object.b2bOrgId != null)
|
|
156433
|
+
message.b2bOrgId = object.b2bOrgId >>> 0;
|
|
156434
|
+
if (object.b2bRootOrgId != null)
|
|
156435
|
+
message.b2bRootOrgId = object.b2bRootOrgId >>> 0;
|
|
156436
|
+
if (object.workEmail != null)
|
|
156437
|
+
message.workEmail = String(object.workEmail);
|
|
156438
|
+
if (object.workId != null)
|
|
156439
|
+
message.workId = String(object.workId);
|
|
156440
|
+
if (object.firstName != null)
|
|
156441
|
+
message.firstName = String(object.firstName);
|
|
156442
|
+
if (object.lastName != null)
|
|
156443
|
+
message.lastName = String(object.lastName);
|
|
156444
|
+
if (object.zipCode != null)
|
|
156445
|
+
message.zipCode = String(object.zipCode);
|
|
156446
|
+
if (object.dob != null)
|
|
156447
|
+
message.dob = String(object.dob);
|
|
156448
|
+
if (object.country != null)
|
|
156449
|
+
message.country = String(object.country);
|
|
156450
|
+
if (object.streetAddress_1 != null)
|
|
156451
|
+
message.streetAddress_1 = String(object.streetAddress_1);
|
|
156452
|
+
if (object.streetAddress_2 != null)
|
|
156453
|
+
message.streetAddress_2 = String(object.streetAddress_2);
|
|
156454
|
+
if (object.department != null)
|
|
156455
|
+
message.department = String(object.department);
|
|
156456
|
+
if (object.location != null)
|
|
156457
|
+
message.location = String(object.location);
|
|
156458
|
+
if (object.collectiveUuid != null)
|
|
156459
|
+
message.collectiveUuid = String(object.collectiveUuid);
|
|
156460
|
+
if (object.hierarchyMappingValue != null)
|
|
156461
|
+
message.hierarchyMappingValue = String(object.hierarchyMappingValue);
|
|
156462
|
+
if (object.hsEligibilityRecordUuid != null)
|
|
156463
|
+
message.hsEligibilityRecordUuid = String(object.hsEligibilityRecordUuid);
|
|
156464
|
+
return message;
|
|
156465
|
+
};
|
|
156466
|
+
|
|
156467
|
+
/**
|
|
156468
|
+
* Creates a plain object from a GingerEligibilityRecordCreated message. Also converts values to other types if specified.
|
|
156469
|
+
* @function toObject
|
|
156470
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156471
|
+
* @static
|
|
156472
|
+
* @param {GingerEligibilityRecordCreated} message GingerEligibilityRecordCreated
|
|
156473
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
156474
|
+
* @returns {Object.<string,*>} Plain object
|
|
156475
|
+
*/
|
|
156476
|
+
GingerEligibilityRecordCreated.toObject = function toObject(message, options) {
|
|
156477
|
+
if (!options)
|
|
156478
|
+
options = {};
|
|
156479
|
+
var object = {};
|
|
156480
|
+
if (options.defaults) {
|
|
156481
|
+
object.gingerEligibilityRecordId = 0;
|
|
156482
|
+
object.gingerOrgId = 0;
|
|
156483
|
+
object.headspaceHealthOrgId = "";
|
|
156484
|
+
object.b2bOrgId = 0;
|
|
156485
|
+
object.b2bRootOrgId = 0;
|
|
156486
|
+
object.workEmail = "";
|
|
156487
|
+
object.workId = "";
|
|
156488
|
+
object.firstName = "";
|
|
156489
|
+
object.lastName = "";
|
|
156490
|
+
object.zipCode = "";
|
|
156491
|
+
object.dob = "";
|
|
156492
|
+
object.country = "";
|
|
156493
|
+
object.streetAddress_1 = "";
|
|
156494
|
+
object.streetAddress_2 = "";
|
|
156495
|
+
object.department = "";
|
|
156496
|
+
object.location = "";
|
|
156497
|
+
object.collectiveUuid = "";
|
|
156498
|
+
object.hierarchyMappingValue = "";
|
|
156499
|
+
object.hsEligibilityRecordUuid = "";
|
|
156500
|
+
}
|
|
156501
|
+
if (message.gingerEligibilityRecordId != null && message.hasOwnProperty("gingerEligibilityRecordId"))
|
|
156502
|
+
object.gingerEligibilityRecordId = message.gingerEligibilityRecordId;
|
|
156503
|
+
if (message.gingerOrgId != null && message.hasOwnProperty("gingerOrgId"))
|
|
156504
|
+
object.gingerOrgId = message.gingerOrgId;
|
|
156505
|
+
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
156506
|
+
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
156507
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
156508
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
156509
|
+
if (message.b2bRootOrgId != null && message.hasOwnProperty("b2bRootOrgId"))
|
|
156510
|
+
object.b2bRootOrgId = message.b2bRootOrgId;
|
|
156511
|
+
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
156512
|
+
object.workEmail = message.workEmail;
|
|
156513
|
+
if (message.workId != null && message.hasOwnProperty("workId"))
|
|
156514
|
+
object.workId = message.workId;
|
|
156515
|
+
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
156516
|
+
object.firstName = message.firstName;
|
|
156517
|
+
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
156518
|
+
object.lastName = message.lastName;
|
|
156519
|
+
if (message.zipCode != null && message.hasOwnProperty("zipCode"))
|
|
156520
|
+
object.zipCode = message.zipCode;
|
|
156521
|
+
if (message.dob != null && message.hasOwnProperty("dob"))
|
|
156522
|
+
object.dob = message.dob;
|
|
156523
|
+
if (message.country != null && message.hasOwnProperty("country"))
|
|
156524
|
+
object.country = message.country;
|
|
156525
|
+
if (message.streetAddress_1 != null && message.hasOwnProperty("streetAddress_1"))
|
|
156526
|
+
object.streetAddress_1 = message.streetAddress_1;
|
|
156527
|
+
if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
|
|
156528
|
+
object.streetAddress_2 = message.streetAddress_2;
|
|
156529
|
+
if (message.department != null && message.hasOwnProperty("department"))
|
|
156530
|
+
object.department = message.department;
|
|
156531
|
+
if (message.location != null && message.hasOwnProperty("location"))
|
|
156532
|
+
object.location = message.location;
|
|
156533
|
+
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
156534
|
+
object.collectiveUuid = message.collectiveUuid;
|
|
156535
|
+
if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
|
|
156536
|
+
object.hierarchyMappingValue = message.hierarchyMappingValue;
|
|
156537
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
156538
|
+
object.hsEligibilityRecordUuid = message.hsEligibilityRecordUuid;
|
|
156539
|
+
return object;
|
|
156540
|
+
};
|
|
156541
|
+
|
|
156542
|
+
/**
|
|
156543
|
+
* Converts this GingerEligibilityRecordCreated to JSON.
|
|
156544
|
+
* @function toJSON
|
|
156545
|
+
* @memberof GingerEligibilityRecordCreated
|
|
156546
|
+
* @instance
|
|
156547
|
+
* @returns {Object.<string,*>} JSON object
|
|
156548
|
+
*/
|
|
156549
|
+
GingerEligibilityRecordCreated.prototype.toJSON = function toJSON() {
|
|
156550
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
156551
|
+
};
|
|
156552
|
+
|
|
156553
|
+
return GingerEligibilityRecordCreated;
|
|
156554
|
+
})();
|
|
156555
|
+
|
|
155954
156556
|
$root.GoalSet = (function() {
|
|
155955
156557
|
|
|
155956
156558
|
/**
|
package/package.json
CHANGED