@headspace/protos-events 1.657.0 → 1.658.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 +231 -0
- package/lib/index.js +583 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -63846,6 +63846,237 @@ export class PubnubChatMessage implements IPubnubChatMessage {
|
|
|
63846
63846
|
public toJSON(): { [k: string]: any };
|
|
63847
63847
|
}
|
|
63848
63848
|
|
|
63849
|
+
/** Properties of a RealTimeEligibilityCheckRequested. */
|
|
63850
|
+
export interface IRealTimeEligibilityCheckRequested {
|
|
63851
|
+
|
|
63852
|
+
/** RealTimeEligibilityCheckRequested hsUserId */
|
|
63853
|
+
hsUserId?: (string|null);
|
|
63854
|
+
|
|
63855
|
+
/** RealTimeEligibilityCheckRequested hsEligibilityRecordUuid */
|
|
63856
|
+
hsEligibilityRecordUuid?: (string|null);
|
|
63857
|
+
|
|
63858
|
+
/** RealTimeEligibilityCheckRequested checkRequestId */
|
|
63859
|
+
checkRequestId?: (string|null);
|
|
63860
|
+
}
|
|
63861
|
+
|
|
63862
|
+
/** Represents a RealTimeEligibilityCheckRequested. */
|
|
63863
|
+
export class RealTimeEligibilityCheckRequested implements IRealTimeEligibilityCheckRequested {
|
|
63864
|
+
|
|
63865
|
+
/**
|
|
63866
|
+
* Constructs a new RealTimeEligibilityCheckRequested.
|
|
63867
|
+
* @param [properties] Properties to set
|
|
63868
|
+
*/
|
|
63869
|
+
constructor(properties?: IRealTimeEligibilityCheckRequested);
|
|
63870
|
+
|
|
63871
|
+
/** RealTimeEligibilityCheckRequested hsUserId. */
|
|
63872
|
+
public hsUserId: string;
|
|
63873
|
+
|
|
63874
|
+
/** RealTimeEligibilityCheckRequested hsEligibilityRecordUuid. */
|
|
63875
|
+
public hsEligibilityRecordUuid: string;
|
|
63876
|
+
|
|
63877
|
+
/** RealTimeEligibilityCheckRequested checkRequestId. */
|
|
63878
|
+
public checkRequestId: string;
|
|
63879
|
+
|
|
63880
|
+
/**
|
|
63881
|
+
* Creates a new RealTimeEligibilityCheckRequested instance using the specified properties.
|
|
63882
|
+
* @param [properties] Properties to set
|
|
63883
|
+
* @returns RealTimeEligibilityCheckRequested instance
|
|
63884
|
+
*/
|
|
63885
|
+
public static create(properties?: IRealTimeEligibilityCheckRequested): RealTimeEligibilityCheckRequested;
|
|
63886
|
+
|
|
63887
|
+
/**
|
|
63888
|
+
* Encodes the specified RealTimeEligibilityCheckRequested message. Does not implicitly {@link RealTimeEligibilityCheckRequested.verify|verify} messages.
|
|
63889
|
+
* @param message RealTimeEligibilityCheckRequested message or plain object to encode
|
|
63890
|
+
* @param [writer] Writer to encode to
|
|
63891
|
+
* @returns Writer
|
|
63892
|
+
*/
|
|
63893
|
+
public static encode(message: IRealTimeEligibilityCheckRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
63894
|
+
|
|
63895
|
+
/**
|
|
63896
|
+
* Encodes the specified RealTimeEligibilityCheckRequested message, length delimited. Does not implicitly {@link RealTimeEligibilityCheckRequested.verify|verify} messages.
|
|
63897
|
+
* @param message RealTimeEligibilityCheckRequested message or plain object to encode
|
|
63898
|
+
* @param [writer] Writer to encode to
|
|
63899
|
+
* @returns Writer
|
|
63900
|
+
*/
|
|
63901
|
+
public static encodeDelimited(message: IRealTimeEligibilityCheckRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
63902
|
+
|
|
63903
|
+
/**
|
|
63904
|
+
* Decodes a RealTimeEligibilityCheckRequested message from the specified reader or buffer.
|
|
63905
|
+
* @param reader Reader or buffer to decode from
|
|
63906
|
+
* @param [length] Message length if known beforehand
|
|
63907
|
+
* @returns RealTimeEligibilityCheckRequested
|
|
63908
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
63909
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
63910
|
+
*/
|
|
63911
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RealTimeEligibilityCheckRequested;
|
|
63912
|
+
|
|
63913
|
+
/**
|
|
63914
|
+
* Decodes a RealTimeEligibilityCheckRequested message from the specified reader or buffer, length delimited.
|
|
63915
|
+
* @param reader Reader or buffer to decode from
|
|
63916
|
+
* @returns RealTimeEligibilityCheckRequested
|
|
63917
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
63918
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
63919
|
+
*/
|
|
63920
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RealTimeEligibilityCheckRequested;
|
|
63921
|
+
|
|
63922
|
+
/**
|
|
63923
|
+
* Verifies a RealTimeEligibilityCheckRequested message.
|
|
63924
|
+
* @param message Plain object to verify
|
|
63925
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
63926
|
+
*/
|
|
63927
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
63928
|
+
|
|
63929
|
+
/**
|
|
63930
|
+
* Creates a RealTimeEligibilityCheckRequested message from a plain object. Also converts values to their respective internal types.
|
|
63931
|
+
* @param object Plain object
|
|
63932
|
+
* @returns RealTimeEligibilityCheckRequested
|
|
63933
|
+
*/
|
|
63934
|
+
public static fromObject(object: { [k: string]: any }): RealTimeEligibilityCheckRequested;
|
|
63935
|
+
|
|
63936
|
+
/**
|
|
63937
|
+
* Creates a plain object from a RealTimeEligibilityCheckRequested message. Also converts values to other types if specified.
|
|
63938
|
+
* @param message RealTimeEligibilityCheckRequested
|
|
63939
|
+
* @param [options] Conversion options
|
|
63940
|
+
* @returns Plain object
|
|
63941
|
+
*/
|
|
63942
|
+
public static toObject(message: RealTimeEligibilityCheckRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
63943
|
+
|
|
63944
|
+
/**
|
|
63945
|
+
* Converts this RealTimeEligibilityCheckRequested to JSON.
|
|
63946
|
+
* @returns JSON object
|
|
63947
|
+
*/
|
|
63948
|
+
public toJSON(): { [k: string]: any };
|
|
63949
|
+
}
|
|
63950
|
+
|
|
63951
|
+
/** RealTimeEligibilityCheckStatus enum. */
|
|
63952
|
+
export enum RealTimeEligibilityCheckStatus {
|
|
63953
|
+
REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN = 0,
|
|
63954
|
+
REAL_TIME_ELIGIBILITY_CHECK_STATUS_SUCCESS = 1,
|
|
63955
|
+
REAL_TIME_ELIGIBILITY_CHECK_STATUS_COVERAGE_ERROR = 2,
|
|
63956
|
+
REAL_TIME_ELIGIBILITY_CHECK_STATUS_INSURER_ERROR = 3
|
|
63957
|
+
}
|
|
63958
|
+
|
|
63959
|
+
/** RealTimeEligibilityCheckCoverageStatus enum. */
|
|
63960
|
+
export enum RealTimeEligibilityCheckCoverageStatus {
|
|
63961
|
+
REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN = 0,
|
|
63962
|
+
REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_ACTIVE = 1,
|
|
63963
|
+
REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_INACTIVE = 2
|
|
63964
|
+
}
|
|
63965
|
+
|
|
63966
|
+
/** Properties of a RealTimeEligibilityCheckCompleted. */
|
|
63967
|
+
export interface IRealTimeEligibilityCheckCompleted {
|
|
63968
|
+
|
|
63969
|
+
/** RealTimeEligibilityCheckCompleted hsUserId */
|
|
63970
|
+
hsUserId?: (string|null);
|
|
63971
|
+
|
|
63972
|
+
/** RealTimeEligibilityCheckCompleted hsEligibilityRecordUuid */
|
|
63973
|
+
hsEligibilityRecordUuid?: (string|null);
|
|
63974
|
+
|
|
63975
|
+
/** RealTimeEligibilityCheckCompleted checkRequestId */
|
|
63976
|
+
checkRequestId?: (string|null);
|
|
63977
|
+
|
|
63978
|
+
/** RealTimeEligibilityCheckCompleted checkStatus */
|
|
63979
|
+
checkStatus?: (RealTimeEligibilityCheckStatus|null);
|
|
63980
|
+
|
|
63981
|
+
/** RealTimeEligibilityCheckCompleted coverageStatus */
|
|
63982
|
+
coverageStatus?: (RealTimeEligibilityCheckCoverageStatus|null);
|
|
63983
|
+
}
|
|
63984
|
+
|
|
63985
|
+
/** Represents a RealTimeEligibilityCheckCompleted. */
|
|
63986
|
+
export class RealTimeEligibilityCheckCompleted implements IRealTimeEligibilityCheckCompleted {
|
|
63987
|
+
|
|
63988
|
+
/**
|
|
63989
|
+
* Constructs a new RealTimeEligibilityCheckCompleted.
|
|
63990
|
+
* @param [properties] Properties to set
|
|
63991
|
+
*/
|
|
63992
|
+
constructor(properties?: IRealTimeEligibilityCheckCompleted);
|
|
63993
|
+
|
|
63994
|
+
/** RealTimeEligibilityCheckCompleted hsUserId. */
|
|
63995
|
+
public hsUserId: string;
|
|
63996
|
+
|
|
63997
|
+
/** RealTimeEligibilityCheckCompleted hsEligibilityRecordUuid. */
|
|
63998
|
+
public hsEligibilityRecordUuid: string;
|
|
63999
|
+
|
|
64000
|
+
/** RealTimeEligibilityCheckCompleted checkRequestId. */
|
|
64001
|
+
public checkRequestId: string;
|
|
64002
|
+
|
|
64003
|
+
/** RealTimeEligibilityCheckCompleted checkStatus. */
|
|
64004
|
+
public checkStatus: RealTimeEligibilityCheckStatus;
|
|
64005
|
+
|
|
64006
|
+
/** RealTimeEligibilityCheckCompleted coverageStatus. */
|
|
64007
|
+
public coverageStatus: RealTimeEligibilityCheckCoverageStatus;
|
|
64008
|
+
|
|
64009
|
+
/**
|
|
64010
|
+
* Creates a new RealTimeEligibilityCheckCompleted instance using the specified properties.
|
|
64011
|
+
* @param [properties] Properties to set
|
|
64012
|
+
* @returns RealTimeEligibilityCheckCompleted instance
|
|
64013
|
+
*/
|
|
64014
|
+
public static create(properties?: IRealTimeEligibilityCheckCompleted): RealTimeEligibilityCheckCompleted;
|
|
64015
|
+
|
|
64016
|
+
/**
|
|
64017
|
+
* Encodes the specified RealTimeEligibilityCheckCompleted message. Does not implicitly {@link RealTimeEligibilityCheckCompleted.verify|verify} messages.
|
|
64018
|
+
* @param message RealTimeEligibilityCheckCompleted message or plain object to encode
|
|
64019
|
+
* @param [writer] Writer to encode to
|
|
64020
|
+
* @returns Writer
|
|
64021
|
+
*/
|
|
64022
|
+
public static encode(message: IRealTimeEligibilityCheckCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
64023
|
+
|
|
64024
|
+
/**
|
|
64025
|
+
* Encodes the specified RealTimeEligibilityCheckCompleted message, length delimited. Does not implicitly {@link RealTimeEligibilityCheckCompleted.verify|verify} messages.
|
|
64026
|
+
* @param message RealTimeEligibilityCheckCompleted message or plain object to encode
|
|
64027
|
+
* @param [writer] Writer to encode to
|
|
64028
|
+
* @returns Writer
|
|
64029
|
+
*/
|
|
64030
|
+
public static encodeDelimited(message: IRealTimeEligibilityCheckCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
64031
|
+
|
|
64032
|
+
/**
|
|
64033
|
+
* Decodes a RealTimeEligibilityCheckCompleted message from the specified reader or buffer.
|
|
64034
|
+
* @param reader Reader or buffer to decode from
|
|
64035
|
+
* @param [length] Message length if known beforehand
|
|
64036
|
+
* @returns RealTimeEligibilityCheckCompleted
|
|
64037
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
64038
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
64039
|
+
*/
|
|
64040
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RealTimeEligibilityCheckCompleted;
|
|
64041
|
+
|
|
64042
|
+
/**
|
|
64043
|
+
* Decodes a RealTimeEligibilityCheckCompleted message from the specified reader or buffer, length delimited.
|
|
64044
|
+
* @param reader Reader or buffer to decode from
|
|
64045
|
+
* @returns RealTimeEligibilityCheckCompleted
|
|
64046
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
64047
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
64048
|
+
*/
|
|
64049
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RealTimeEligibilityCheckCompleted;
|
|
64050
|
+
|
|
64051
|
+
/**
|
|
64052
|
+
* Verifies a RealTimeEligibilityCheckCompleted message.
|
|
64053
|
+
* @param message Plain object to verify
|
|
64054
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
64055
|
+
*/
|
|
64056
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
64057
|
+
|
|
64058
|
+
/**
|
|
64059
|
+
* Creates a RealTimeEligibilityCheckCompleted message from a plain object. Also converts values to their respective internal types.
|
|
64060
|
+
* @param object Plain object
|
|
64061
|
+
* @returns RealTimeEligibilityCheckCompleted
|
|
64062
|
+
*/
|
|
64063
|
+
public static fromObject(object: { [k: string]: any }): RealTimeEligibilityCheckCompleted;
|
|
64064
|
+
|
|
64065
|
+
/**
|
|
64066
|
+
* Creates a plain object from a RealTimeEligibilityCheckCompleted message. Also converts values to other types if specified.
|
|
64067
|
+
* @param message RealTimeEligibilityCheckCompleted
|
|
64068
|
+
* @param [options] Conversion options
|
|
64069
|
+
* @returns Plain object
|
|
64070
|
+
*/
|
|
64071
|
+
public static toObject(message: RealTimeEligibilityCheckCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
64072
|
+
|
|
64073
|
+
/**
|
|
64074
|
+
* Converts this RealTimeEligibilityCheckCompleted to JSON.
|
|
64075
|
+
* @returns JSON object
|
|
64076
|
+
*/
|
|
64077
|
+
public toJSON(): { [k: string]: any };
|
|
64078
|
+
}
|
|
64079
|
+
|
|
63849
64080
|
/** Properties of a ReferralSignedUp. */
|
|
63850
64081
|
export interface IReferralSignedUp {
|
|
63851
64082
|
|
package/lib/index.js
CHANGED
|
@@ -178603,6 +178603,589 @@ $root.PubnubChatMessage = (function() {
|
|
|
178603
178603
|
return PubnubChatMessage;
|
|
178604
178604
|
})();
|
|
178605
178605
|
|
|
178606
|
+
$root.RealTimeEligibilityCheckRequested = (function() {
|
|
178607
|
+
|
|
178608
|
+
/**
|
|
178609
|
+
* Properties of a RealTimeEligibilityCheckRequested.
|
|
178610
|
+
* @name IRealTimeEligibilityCheckRequested
|
|
178611
|
+
* @interface IRealTimeEligibilityCheckRequested
|
|
178612
|
+
* @property {string|null} [hsUserId] RealTimeEligibilityCheckRequested hsUserId
|
|
178613
|
+
* @property {string|null} [hsEligibilityRecordUuid] RealTimeEligibilityCheckRequested hsEligibilityRecordUuid
|
|
178614
|
+
* @property {string|null} [checkRequestId] RealTimeEligibilityCheckRequested checkRequestId
|
|
178615
|
+
*/
|
|
178616
|
+
|
|
178617
|
+
/**
|
|
178618
|
+
* Constructs a new RealTimeEligibilityCheckRequested.
|
|
178619
|
+
* @name RealTimeEligibilityCheckRequested
|
|
178620
|
+
* @classdesc Represents a RealTimeEligibilityCheckRequested.
|
|
178621
|
+
* @implements IRealTimeEligibilityCheckRequested
|
|
178622
|
+
* @constructor
|
|
178623
|
+
* @param {IRealTimeEligibilityCheckRequested=} [properties] Properties to set
|
|
178624
|
+
*/
|
|
178625
|
+
function RealTimeEligibilityCheckRequested(properties) {
|
|
178626
|
+
if (properties)
|
|
178627
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
178628
|
+
if (properties[keys[i]] != null)
|
|
178629
|
+
this[keys[i]] = properties[keys[i]];
|
|
178630
|
+
}
|
|
178631
|
+
|
|
178632
|
+
/**
|
|
178633
|
+
* RealTimeEligibilityCheckRequested hsUserId.
|
|
178634
|
+
* @member {string} hsUserId
|
|
178635
|
+
* @memberof RealTimeEligibilityCheckRequested
|
|
178636
|
+
* @instance
|
|
178637
|
+
*/
|
|
178638
|
+
RealTimeEligibilityCheckRequested.prototype.hsUserId = "";
|
|
178639
|
+
|
|
178640
|
+
/**
|
|
178641
|
+
* RealTimeEligibilityCheckRequested hsEligibilityRecordUuid.
|
|
178642
|
+
* @member {string} hsEligibilityRecordUuid
|
|
178643
|
+
* @memberof RealTimeEligibilityCheckRequested
|
|
178644
|
+
* @instance
|
|
178645
|
+
*/
|
|
178646
|
+
RealTimeEligibilityCheckRequested.prototype.hsEligibilityRecordUuid = "";
|
|
178647
|
+
|
|
178648
|
+
/**
|
|
178649
|
+
* RealTimeEligibilityCheckRequested checkRequestId.
|
|
178650
|
+
* @member {string} checkRequestId
|
|
178651
|
+
* @memberof RealTimeEligibilityCheckRequested
|
|
178652
|
+
* @instance
|
|
178653
|
+
*/
|
|
178654
|
+
RealTimeEligibilityCheckRequested.prototype.checkRequestId = "";
|
|
178655
|
+
|
|
178656
|
+
/**
|
|
178657
|
+
* Creates a new RealTimeEligibilityCheckRequested instance using the specified properties.
|
|
178658
|
+
* @function create
|
|
178659
|
+
* @memberof RealTimeEligibilityCheckRequested
|
|
178660
|
+
* @static
|
|
178661
|
+
* @param {IRealTimeEligibilityCheckRequested=} [properties] Properties to set
|
|
178662
|
+
* @returns {RealTimeEligibilityCheckRequested} RealTimeEligibilityCheckRequested instance
|
|
178663
|
+
*/
|
|
178664
|
+
RealTimeEligibilityCheckRequested.create = function create(properties) {
|
|
178665
|
+
return new RealTimeEligibilityCheckRequested(properties);
|
|
178666
|
+
};
|
|
178667
|
+
|
|
178668
|
+
/**
|
|
178669
|
+
* Encodes the specified RealTimeEligibilityCheckRequested message. Does not implicitly {@link RealTimeEligibilityCheckRequested.verify|verify} messages.
|
|
178670
|
+
* @function encode
|
|
178671
|
+
* @memberof RealTimeEligibilityCheckRequested
|
|
178672
|
+
* @static
|
|
178673
|
+
* @param {IRealTimeEligibilityCheckRequested} message RealTimeEligibilityCheckRequested message or plain object to encode
|
|
178674
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
178675
|
+
* @returns {$protobuf.Writer} Writer
|
|
178676
|
+
*/
|
|
178677
|
+
RealTimeEligibilityCheckRequested.encode = function encode(message, writer) {
|
|
178678
|
+
if (!writer)
|
|
178679
|
+
writer = $Writer.create();
|
|
178680
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
178681
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
178682
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
178683
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsEligibilityRecordUuid);
|
|
178684
|
+
if (message.checkRequestId != null && message.hasOwnProperty("checkRequestId"))
|
|
178685
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.checkRequestId);
|
|
178686
|
+
return writer;
|
|
178687
|
+
};
|
|
178688
|
+
|
|
178689
|
+
/**
|
|
178690
|
+
* Encodes the specified RealTimeEligibilityCheckRequested message, length delimited. Does not implicitly {@link RealTimeEligibilityCheckRequested.verify|verify} messages.
|
|
178691
|
+
* @function encodeDelimited
|
|
178692
|
+
* @memberof RealTimeEligibilityCheckRequested
|
|
178693
|
+
* @static
|
|
178694
|
+
* @param {IRealTimeEligibilityCheckRequested} message RealTimeEligibilityCheckRequested message or plain object to encode
|
|
178695
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
178696
|
+
* @returns {$protobuf.Writer} Writer
|
|
178697
|
+
*/
|
|
178698
|
+
RealTimeEligibilityCheckRequested.encodeDelimited = function encodeDelimited(message, writer) {
|
|
178699
|
+
return this.encode(message, writer).ldelim();
|
|
178700
|
+
};
|
|
178701
|
+
|
|
178702
|
+
/**
|
|
178703
|
+
* Decodes a RealTimeEligibilityCheckRequested message from the specified reader or buffer.
|
|
178704
|
+
* @function decode
|
|
178705
|
+
* @memberof RealTimeEligibilityCheckRequested
|
|
178706
|
+
* @static
|
|
178707
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
178708
|
+
* @param {number} [length] Message length if known beforehand
|
|
178709
|
+
* @returns {RealTimeEligibilityCheckRequested} RealTimeEligibilityCheckRequested
|
|
178710
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
178711
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
178712
|
+
*/
|
|
178713
|
+
RealTimeEligibilityCheckRequested.decode = function decode(reader, length) {
|
|
178714
|
+
if (!(reader instanceof $Reader))
|
|
178715
|
+
reader = $Reader.create(reader);
|
|
178716
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.RealTimeEligibilityCheckRequested();
|
|
178717
|
+
while (reader.pos < end) {
|
|
178718
|
+
var tag = reader.uint32();
|
|
178719
|
+
switch (tag >>> 3) {
|
|
178720
|
+
case 1:
|
|
178721
|
+
message.hsUserId = reader.string();
|
|
178722
|
+
break;
|
|
178723
|
+
case 2:
|
|
178724
|
+
message.hsEligibilityRecordUuid = reader.string();
|
|
178725
|
+
break;
|
|
178726
|
+
case 3:
|
|
178727
|
+
message.checkRequestId = reader.string();
|
|
178728
|
+
break;
|
|
178729
|
+
default:
|
|
178730
|
+
reader.skipType(tag & 7);
|
|
178731
|
+
break;
|
|
178732
|
+
}
|
|
178733
|
+
}
|
|
178734
|
+
return message;
|
|
178735
|
+
};
|
|
178736
|
+
|
|
178737
|
+
/**
|
|
178738
|
+
* Decodes a RealTimeEligibilityCheckRequested message from the specified reader or buffer, length delimited.
|
|
178739
|
+
* @function decodeDelimited
|
|
178740
|
+
* @memberof RealTimeEligibilityCheckRequested
|
|
178741
|
+
* @static
|
|
178742
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
178743
|
+
* @returns {RealTimeEligibilityCheckRequested} RealTimeEligibilityCheckRequested
|
|
178744
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
178745
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
178746
|
+
*/
|
|
178747
|
+
RealTimeEligibilityCheckRequested.decodeDelimited = function decodeDelimited(reader) {
|
|
178748
|
+
if (!(reader instanceof $Reader))
|
|
178749
|
+
reader = new $Reader(reader);
|
|
178750
|
+
return this.decode(reader, reader.uint32());
|
|
178751
|
+
};
|
|
178752
|
+
|
|
178753
|
+
/**
|
|
178754
|
+
* Verifies a RealTimeEligibilityCheckRequested message.
|
|
178755
|
+
* @function verify
|
|
178756
|
+
* @memberof RealTimeEligibilityCheckRequested
|
|
178757
|
+
* @static
|
|
178758
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
178759
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
178760
|
+
*/
|
|
178761
|
+
RealTimeEligibilityCheckRequested.verify = function verify(message) {
|
|
178762
|
+
if (typeof message !== "object" || message === null)
|
|
178763
|
+
return "object expected";
|
|
178764
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
178765
|
+
if (!$util.isString(message.hsUserId))
|
|
178766
|
+
return "hsUserId: string expected";
|
|
178767
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
178768
|
+
if (!$util.isString(message.hsEligibilityRecordUuid))
|
|
178769
|
+
return "hsEligibilityRecordUuid: string expected";
|
|
178770
|
+
if (message.checkRequestId != null && message.hasOwnProperty("checkRequestId"))
|
|
178771
|
+
if (!$util.isString(message.checkRequestId))
|
|
178772
|
+
return "checkRequestId: string expected";
|
|
178773
|
+
return null;
|
|
178774
|
+
};
|
|
178775
|
+
|
|
178776
|
+
/**
|
|
178777
|
+
* Creates a RealTimeEligibilityCheckRequested message from a plain object. Also converts values to their respective internal types.
|
|
178778
|
+
* @function fromObject
|
|
178779
|
+
* @memberof RealTimeEligibilityCheckRequested
|
|
178780
|
+
* @static
|
|
178781
|
+
* @param {Object.<string,*>} object Plain object
|
|
178782
|
+
* @returns {RealTimeEligibilityCheckRequested} RealTimeEligibilityCheckRequested
|
|
178783
|
+
*/
|
|
178784
|
+
RealTimeEligibilityCheckRequested.fromObject = function fromObject(object) {
|
|
178785
|
+
if (object instanceof $root.RealTimeEligibilityCheckRequested)
|
|
178786
|
+
return object;
|
|
178787
|
+
var message = new $root.RealTimeEligibilityCheckRequested();
|
|
178788
|
+
if (object.hsUserId != null)
|
|
178789
|
+
message.hsUserId = String(object.hsUserId);
|
|
178790
|
+
if (object.hsEligibilityRecordUuid != null)
|
|
178791
|
+
message.hsEligibilityRecordUuid = String(object.hsEligibilityRecordUuid);
|
|
178792
|
+
if (object.checkRequestId != null)
|
|
178793
|
+
message.checkRequestId = String(object.checkRequestId);
|
|
178794
|
+
return message;
|
|
178795
|
+
};
|
|
178796
|
+
|
|
178797
|
+
/**
|
|
178798
|
+
* Creates a plain object from a RealTimeEligibilityCheckRequested message. Also converts values to other types if specified.
|
|
178799
|
+
* @function toObject
|
|
178800
|
+
* @memberof RealTimeEligibilityCheckRequested
|
|
178801
|
+
* @static
|
|
178802
|
+
* @param {RealTimeEligibilityCheckRequested} message RealTimeEligibilityCheckRequested
|
|
178803
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
178804
|
+
* @returns {Object.<string,*>} Plain object
|
|
178805
|
+
*/
|
|
178806
|
+
RealTimeEligibilityCheckRequested.toObject = function toObject(message, options) {
|
|
178807
|
+
if (!options)
|
|
178808
|
+
options = {};
|
|
178809
|
+
var object = {};
|
|
178810
|
+
if (options.defaults) {
|
|
178811
|
+
object.hsUserId = "";
|
|
178812
|
+
object.hsEligibilityRecordUuid = "";
|
|
178813
|
+
object.checkRequestId = "";
|
|
178814
|
+
}
|
|
178815
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
178816
|
+
object.hsUserId = message.hsUserId;
|
|
178817
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
178818
|
+
object.hsEligibilityRecordUuid = message.hsEligibilityRecordUuid;
|
|
178819
|
+
if (message.checkRequestId != null && message.hasOwnProperty("checkRequestId"))
|
|
178820
|
+
object.checkRequestId = message.checkRequestId;
|
|
178821
|
+
return object;
|
|
178822
|
+
};
|
|
178823
|
+
|
|
178824
|
+
/**
|
|
178825
|
+
* Converts this RealTimeEligibilityCheckRequested to JSON.
|
|
178826
|
+
* @function toJSON
|
|
178827
|
+
* @memberof RealTimeEligibilityCheckRequested
|
|
178828
|
+
* @instance
|
|
178829
|
+
* @returns {Object.<string,*>} JSON object
|
|
178830
|
+
*/
|
|
178831
|
+
RealTimeEligibilityCheckRequested.prototype.toJSON = function toJSON() {
|
|
178832
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
178833
|
+
};
|
|
178834
|
+
|
|
178835
|
+
return RealTimeEligibilityCheckRequested;
|
|
178836
|
+
})();
|
|
178837
|
+
|
|
178838
|
+
/**
|
|
178839
|
+
* RealTimeEligibilityCheckStatus enum.
|
|
178840
|
+
* @name RealTimeEligibilityCheckStatus
|
|
178841
|
+
* @enum {string}
|
|
178842
|
+
* @property {number} REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN=0 REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN value
|
|
178843
|
+
* @property {number} REAL_TIME_ELIGIBILITY_CHECK_STATUS_SUCCESS=1 REAL_TIME_ELIGIBILITY_CHECK_STATUS_SUCCESS value
|
|
178844
|
+
* @property {number} REAL_TIME_ELIGIBILITY_CHECK_STATUS_COVERAGE_ERROR=2 REAL_TIME_ELIGIBILITY_CHECK_STATUS_COVERAGE_ERROR value
|
|
178845
|
+
* @property {number} REAL_TIME_ELIGIBILITY_CHECK_STATUS_INSURER_ERROR=3 REAL_TIME_ELIGIBILITY_CHECK_STATUS_INSURER_ERROR value
|
|
178846
|
+
*/
|
|
178847
|
+
$root.RealTimeEligibilityCheckStatus = (function() {
|
|
178848
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
178849
|
+
values[valuesById[0] = "REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN"] = 0;
|
|
178850
|
+
values[valuesById[1] = "REAL_TIME_ELIGIBILITY_CHECK_STATUS_SUCCESS"] = 1;
|
|
178851
|
+
values[valuesById[2] = "REAL_TIME_ELIGIBILITY_CHECK_STATUS_COVERAGE_ERROR"] = 2;
|
|
178852
|
+
values[valuesById[3] = "REAL_TIME_ELIGIBILITY_CHECK_STATUS_INSURER_ERROR"] = 3;
|
|
178853
|
+
return values;
|
|
178854
|
+
})();
|
|
178855
|
+
|
|
178856
|
+
/**
|
|
178857
|
+
* RealTimeEligibilityCheckCoverageStatus enum.
|
|
178858
|
+
* @name RealTimeEligibilityCheckCoverageStatus
|
|
178859
|
+
* @enum {string}
|
|
178860
|
+
* @property {number} REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN=0 REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN value
|
|
178861
|
+
* @property {number} REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_ACTIVE=1 REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_ACTIVE value
|
|
178862
|
+
* @property {number} REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_INACTIVE=2 REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_INACTIVE value
|
|
178863
|
+
*/
|
|
178864
|
+
$root.RealTimeEligibilityCheckCoverageStatus = (function() {
|
|
178865
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
178866
|
+
values[valuesById[0] = "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN"] = 0;
|
|
178867
|
+
values[valuesById[1] = "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_ACTIVE"] = 1;
|
|
178868
|
+
values[valuesById[2] = "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_INACTIVE"] = 2;
|
|
178869
|
+
return values;
|
|
178870
|
+
})();
|
|
178871
|
+
|
|
178872
|
+
$root.RealTimeEligibilityCheckCompleted = (function() {
|
|
178873
|
+
|
|
178874
|
+
/**
|
|
178875
|
+
* Properties of a RealTimeEligibilityCheckCompleted.
|
|
178876
|
+
* @name IRealTimeEligibilityCheckCompleted
|
|
178877
|
+
* @interface IRealTimeEligibilityCheckCompleted
|
|
178878
|
+
* @property {string|null} [hsUserId] RealTimeEligibilityCheckCompleted hsUserId
|
|
178879
|
+
* @property {string|null} [hsEligibilityRecordUuid] RealTimeEligibilityCheckCompleted hsEligibilityRecordUuid
|
|
178880
|
+
* @property {string|null} [checkRequestId] RealTimeEligibilityCheckCompleted checkRequestId
|
|
178881
|
+
* @property {RealTimeEligibilityCheckStatus|null} [checkStatus] RealTimeEligibilityCheckCompleted checkStatus
|
|
178882
|
+
* @property {RealTimeEligibilityCheckCoverageStatus|null} [coverageStatus] RealTimeEligibilityCheckCompleted coverageStatus
|
|
178883
|
+
*/
|
|
178884
|
+
|
|
178885
|
+
/**
|
|
178886
|
+
* Constructs a new RealTimeEligibilityCheckCompleted.
|
|
178887
|
+
* @name RealTimeEligibilityCheckCompleted
|
|
178888
|
+
* @classdesc Represents a RealTimeEligibilityCheckCompleted.
|
|
178889
|
+
* @implements IRealTimeEligibilityCheckCompleted
|
|
178890
|
+
* @constructor
|
|
178891
|
+
* @param {IRealTimeEligibilityCheckCompleted=} [properties] Properties to set
|
|
178892
|
+
*/
|
|
178893
|
+
function RealTimeEligibilityCheckCompleted(properties) {
|
|
178894
|
+
if (properties)
|
|
178895
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
178896
|
+
if (properties[keys[i]] != null)
|
|
178897
|
+
this[keys[i]] = properties[keys[i]];
|
|
178898
|
+
}
|
|
178899
|
+
|
|
178900
|
+
/**
|
|
178901
|
+
* RealTimeEligibilityCheckCompleted hsUserId.
|
|
178902
|
+
* @member {string} hsUserId
|
|
178903
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
178904
|
+
* @instance
|
|
178905
|
+
*/
|
|
178906
|
+
RealTimeEligibilityCheckCompleted.prototype.hsUserId = "";
|
|
178907
|
+
|
|
178908
|
+
/**
|
|
178909
|
+
* RealTimeEligibilityCheckCompleted hsEligibilityRecordUuid.
|
|
178910
|
+
* @member {string} hsEligibilityRecordUuid
|
|
178911
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
178912
|
+
* @instance
|
|
178913
|
+
*/
|
|
178914
|
+
RealTimeEligibilityCheckCompleted.prototype.hsEligibilityRecordUuid = "";
|
|
178915
|
+
|
|
178916
|
+
/**
|
|
178917
|
+
* RealTimeEligibilityCheckCompleted checkRequestId.
|
|
178918
|
+
* @member {string} checkRequestId
|
|
178919
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
178920
|
+
* @instance
|
|
178921
|
+
*/
|
|
178922
|
+
RealTimeEligibilityCheckCompleted.prototype.checkRequestId = "";
|
|
178923
|
+
|
|
178924
|
+
/**
|
|
178925
|
+
* RealTimeEligibilityCheckCompleted checkStatus.
|
|
178926
|
+
* @member {RealTimeEligibilityCheckStatus} checkStatus
|
|
178927
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
178928
|
+
* @instance
|
|
178929
|
+
*/
|
|
178930
|
+
RealTimeEligibilityCheckCompleted.prototype.checkStatus = 0;
|
|
178931
|
+
|
|
178932
|
+
/**
|
|
178933
|
+
* RealTimeEligibilityCheckCompleted coverageStatus.
|
|
178934
|
+
* @member {RealTimeEligibilityCheckCoverageStatus} coverageStatus
|
|
178935
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
178936
|
+
* @instance
|
|
178937
|
+
*/
|
|
178938
|
+
RealTimeEligibilityCheckCompleted.prototype.coverageStatus = 0;
|
|
178939
|
+
|
|
178940
|
+
/**
|
|
178941
|
+
* Creates a new RealTimeEligibilityCheckCompleted instance using the specified properties.
|
|
178942
|
+
* @function create
|
|
178943
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
178944
|
+
* @static
|
|
178945
|
+
* @param {IRealTimeEligibilityCheckCompleted=} [properties] Properties to set
|
|
178946
|
+
* @returns {RealTimeEligibilityCheckCompleted} RealTimeEligibilityCheckCompleted instance
|
|
178947
|
+
*/
|
|
178948
|
+
RealTimeEligibilityCheckCompleted.create = function create(properties) {
|
|
178949
|
+
return new RealTimeEligibilityCheckCompleted(properties);
|
|
178950
|
+
};
|
|
178951
|
+
|
|
178952
|
+
/**
|
|
178953
|
+
* Encodes the specified RealTimeEligibilityCheckCompleted message. Does not implicitly {@link RealTimeEligibilityCheckCompleted.verify|verify} messages.
|
|
178954
|
+
* @function encode
|
|
178955
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
178956
|
+
* @static
|
|
178957
|
+
* @param {IRealTimeEligibilityCheckCompleted} message RealTimeEligibilityCheckCompleted message or plain object to encode
|
|
178958
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
178959
|
+
* @returns {$protobuf.Writer} Writer
|
|
178960
|
+
*/
|
|
178961
|
+
RealTimeEligibilityCheckCompleted.encode = function encode(message, writer) {
|
|
178962
|
+
if (!writer)
|
|
178963
|
+
writer = $Writer.create();
|
|
178964
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
178965
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
178966
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
178967
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsEligibilityRecordUuid);
|
|
178968
|
+
if (message.checkRequestId != null && message.hasOwnProperty("checkRequestId"))
|
|
178969
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.checkRequestId);
|
|
178970
|
+
if (message.checkStatus != null && message.hasOwnProperty("checkStatus"))
|
|
178971
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.checkStatus);
|
|
178972
|
+
if (message.coverageStatus != null && message.hasOwnProperty("coverageStatus"))
|
|
178973
|
+
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.coverageStatus);
|
|
178974
|
+
return writer;
|
|
178975
|
+
};
|
|
178976
|
+
|
|
178977
|
+
/**
|
|
178978
|
+
* Encodes the specified RealTimeEligibilityCheckCompleted message, length delimited. Does not implicitly {@link RealTimeEligibilityCheckCompleted.verify|verify} messages.
|
|
178979
|
+
* @function encodeDelimited
|
|
178980
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
178981
|
+
* @static
|
|
178982
|
+
* @param {IRealTimeEligibilityCheckCompleted} message RealTimeEligibilityCheckCompleted message or plain object to encode
|
|
178983
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
178984
|
+
* @returns {$protobuf.Writer} Writer
|
|
178985
|
+
*/
|
|
178986
|
+
RealTimeEligibilityCheckCompleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
178987
|
+
return this.encode(message, writer).ldelim();
|
|
178988
|
+
};
|
|
178989
|
+
|
|
178990
|
+
/**
|
|
178991
|
+
* Decodes a RealTimeEligibilityCheckCompleted message from the specified reader or buffer.
|
|
178992
|
+
* @function decode
|
|
178993
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
178994
|
+
* @static
|
|
178995
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
178996
|
+
* @param {number} [length] Message length if known beforehand
|
|
178997
|
+
* @returns {RealTimeEligibilityCheckCompleted} RealTimeEligibilityCheckCompleted
|
|
178998
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
178999
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
179000
|
+
*/
|
|
179001
|
+
RealTimeEligibilityCheckCompleted.decode = function decode(reader, length) {
|
|
179002
|
+
if (!(reader instanceof $Reader))
|
|
179003
|
+
reader = $Reader.create(reader);
|
|
179004
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.RealTimeEligibilityCheckCompleted();
|
|
179005
|
+
while (reader.pos < end) {
|
|
179006
|
+
var tag = reader.uint32();
|
|
179007
|
+
switch (tag >>> 3) {
|
|
179008
|
+
case 1:
|
|
179009
|
+
message.hsUserId = reader.string();
|
|
179010
|
+
break;
|
|
179011
|
+
case 2:
|
|
179012
|
+
message.hsEligibilityRecordUuid = reader.string();
|
|
179013
|
+
break;
|
|
179014
|
+
case 3:
|
|
179015
|
+
message.checkRequestId = reader.string();
|
|
179016
|
+
break;
|
|
179017
|
+
case 4:
|
|
179018
|
+
message.checkStatus = reader.int32();
|
|
179019
|
+
break;
|
|
179020
|
+
case 5:
|
|
179021
|
+
message.coverageStatus = reader.int32();
|
|
179022
|
+
break;
|
|
179023
|
+
default:
|
|
179024
|
+
reader.skipType(tag & 7);
|
|
179025
|
+
break;
|
|
179026
|
+
}
|
|
179027
|
+
}
|
|
179028
|
+
return message;
|
|
179029
|
+
};
|
|
179030
|
+
|
|
179031
|
+
/**
|
|
179032
|
+
* Decodes a RealTimeEligibilityCheckCompleted message from the specified reader or buffer, length delimited.
|
|
179033
|
+
* @function decodeDelimited
|
|
179034
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
179035
|
+
* @static
|
|
179036
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
179037
|
+
* @returns {RealTimeEligibilityCheckCompleted} RealTimeEligibilityCheckCompleted
|
|
179038
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
179039
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
179040
|
+
*/
|
|
179041
|
+
RealTimeEligibilityCheckCompleted.decodeDelimited = function decodeDelimited(reader) {
|
|
179042
|
+
if (!(reader instanceof $Reader))
|
|
179043
|
+
reader = new $Reader(reader);
|
|
179044
|
+
return this.decode(reader, reader.uint32());
|
|
179045
|
+
};
|
|
179046
|
+
|
|
179047
|
+
/**
|
|
179048
|
+
* Verifies a RealTimeEligibilityCheckCompleted message.
|
|
179049
|
+
* @function verify
|
|
179050
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
179051
|
+
* @static
|
|
179052
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
179053
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
179054
|
+
*/
|
|
179055
|
+
RealTimeEligibilityCheckCompleted.verify = function verify(message) {
|
|
179056
|
+
if (typeof message !== "object" || message === null)
|
|
179057
|
+
return "object expected";
|
|
179058
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
179059
|
+
if (!$util.isString(message.hsUserId))
|
|
179060
|
+
return "hsUserId: string expected";
|
|
179061
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
179062
|
+
if (!$util.isString(message.hsEligibilityRecordUuid))
|
|
179063
|
+
return "hsEligibilityRecordUuid: string expected";
|
|
179064
|
+
if (message.checkRequestId != null && message.hasOwnProperty("checkRequestId"))
|
|
179065
|
+
if (!$util.isString(message.checkRequestId))
|
|
179066
|
+
return "checkRequestId: string expected";
|
|
179067
|
+
if (message.checkStatus != null && message.hasOwnProperty("checkStatus"))
|
|
179068
|
+
switch (message.checkStatus) {
|
|
179069
|
+
default:
|
|
179070
|
+
return "checkStatus: enum value expected";
|
|
179071
|
+
case 0:
|
|
179072
|
+
case 1:
|
|
179073
|
+
case 2:
|
|
179074
|
+
case 3:
|
|
179075
|
+
break;
|
|
179076
|
+
}
|
|
179077
|
+
if (message.coverageStatus != null && message.hasOwnProperty("coverageStatus"))
|
|
179078
|
+
switch (message.coverageStatus) {
|
|
179079
|
+
default:
|
|
179080
|
+
return "coverageStatus: enum value expected";
|
|
179081
|
+
case 0:
|
|
179082
|
+
case 1:
|
|
179083
|
+
case 2:
|
|
179084
|
+
break;
|
|
179085
|
+
}
|
|
179086
|
+
return null;
|
|
179087
|
+
};
|
|
179088
|
+
|
|
179089
|
+
/**
|
|
179090
|
+
* Creates a RealTimeEligibilityCheckCompleted message from a plain object. Also converts values to their respective internal types.
|
|
179091
|
+
* @function fromObject
|
|
179092
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
179093
|
+
* @static
|
|
179094
|
+
* @param {Object.<string,*>} object Plain object
|
|
179095
|
+
* @returns {RealTimeEligibilityCheckCompleted} RealTimeEligibilityCheckCompleted
|
|
179096
|
+
*/
|
|
179097
|
+
RealTimeEligibilityCheckCompleted.fromObject = function fromObject(object) {
|
|
179098
|
+
if (object instanceof $root.RealTimeEligibilityCheckCompleted)
|
|
179099
|
+
return object;
|
|
179100
|
+
var message = new $root.RealTimeEligibilityCheckCompleted();
|
|
179101
|
+
if (object.hsUserId != null)
|
|
179102
|
+
message.hsUserId = String(object.hsUserId);
|
|
179103
|
+
if (object.hsEligibilityRecordUuid != null)
|
|
179104
|
+
message.hsEligibilityRecordUuid = String(object.hsEligibilityRecordUuid);
|
|
179105
|
+
if (object.checkRequestId != null)
|
|
179106
|
+
message.checkRequestId = String(object.checkRequestId);
|
|
179107
|
+
switch (object.checkStatus) {
|
|
179108
|
+
case "REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN":
|
|
179109
|
+
case 0:
|
|
179110
|
+
message.checkStatus = 0;
|
|
179111
|
+
break;
|
|
179112
|
+
case "REAL_TIME_ELIGIBILITY_CHECK_STATUS_SUCCESS":
|
|
179113
|
+
case 1:
|
|
179114
|
+
message.checkStatus = 1;
|
|
179115
|
+
break;
|
|
179116
|
+
case "REAL_TIME_ELIGIBILITY_CHECK_STATUS_COVERAGE_ERROR":
|
|
179117
|
+
case 2:
|
|
179118
|
+
message.checkStatus = 2;
|
|
179119
|
+
break;
|
|
179120
|
+
case "REAL_TIME_ELIGIBILITY_CHECK_STATUS_INSURER_ERROR":
|
|
179121
|
+
case 3:
|
|
179122
|
+
message.checkStatus = 3;
|
|
179123
|
+
break;
|
|
179124
|
+
}
|
|
179125
|
+
switch (object.coverageStatus) {
|
|
179126
|
+
case "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN":
|
|
179127
|
+
case 0:
|
|
179128
|
+
message.coverageStatus = 0;
|
|
179129
|
+
break;
|
|
179130
|
+
case "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_ACTIVE":
|
|
179131
|
+
case 1:
|
|
179132
|
+
message.coverageStatus = 1;
|
|
179133
|
+
break;
|
|
179134
|
+
case "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_INACTIVE":
|
|
179135
|
+
case 2:
|
|
179136
|
+
message.coverageStatus = 2;
|
|
179137
|
+
break;
|
|
179138
|
+
}
|
|
179139
|
+
return message;
|
|
179140
|
+
};
|
|
179141
|
+
|
|
179142
|
+
/**
|
|
179143
|
+
* Creates a plain object from a RealTimeEligibilityCheckCompleted message. Also converts values to other types if specified.
|
|
179144
|
+
* @function toObject
|
|
179145
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
179146
|
+
* @static
|
|
179147
|
+
* @param {RealTimeEligibilityCheckCompleted} message RealTimeEligibilityCheckCompleted
|
|
179148
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
179149
|
+
* @returns {Object.<string,*>} Plain object
|
|
179150
|
+
*/
|
|
179151
|
+
RealTimeEligibilityCheckCompleted.toObject = function toObject(message, options) {
|
|
179152
|
+
if (!options)
|
|
179153
|
+
options = {};
|
|
179154
|
+
var object = {};
|
|
179155
|
+
if (options.defaults) {
|
|
179156
|
+
object.hsUserId = "";
|
|
179157
|
+
object.hsEligibilityRecordUuid = "";
|
|
179158
|
+
object.checkRequestId = "";
|
|
179159
|
+
object.checkStatus = options.enums === String ? "REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN" : 0;
|
|
179160
|
+
object.coverageStatus = options.enums === String ? "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN" : 0;
|
|
179161
|
+
}
|
|
179162
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
179163
|
+
object.hsUserId = message.hsUserId;
|
|
179164
|
+
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
179165
|
+
object.hsEligibilityRecordUuid = message.hsEligibilityRecordUuid;
|
|
179166
|
+
if (message.checkRequestId != null && message.hasOwnProperty("checkRequestId"))
|
|
179167
|
+
object.checkRequestId = message.checkRequestId;
|
|
179168
|
+
if (message.checkStatus != null && message.hasOwnProperty("checkStatus"))
|
|
179169
|
+
object.checkStatus = options.enums === String ? $root.RealTimeEligibilityCheckStatus[message.checkStatus] : message.checkStatus;
|
|
179170
|
+
if (message.coverageStatus != null && message.hasOwnProperty("coverageStatus"))
|
|
179171
|
+
object.coverageStatus = options.enums === String ? $root.RealTimeEligibilityCheckCoverageStatus[message.coverageStatus] : message.coverageStatus;
|
|
179172
|
+
return object;
|
|
179173
|
+
};
|
|
179174
|
+
|
|
179175
|
+
/**
|
|
179176
|
+
* Converts this RealTimeEligibilityCheckCompleted to JSON.
|
|
179177
|
+
* @function toJSON
|
|
179178
|
+
* @memberof RealTimeEligibilityCheckCompleted
|
|
179179
|
+
* @instance
|
|
179180
|
+
* @returns {Object.<string,*>} JSON object
|
|
179181
|
+
*/
|
|
179182
|
+
RealTimeEligibilityCheckCompleted.prototype.toJSON = function toJSON() {
|
|
179183
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
179184
|
+
};
|
|
179185
|
+
|
|
179186
|
+
return RealTimeEligibilityCheckCompleted;
|
|
179187
|
+
})();
|
|
179188
|
+
|
|
178606
179189
|
$root.ReferralSignedUp = (function() {
|
|
178607
179190
|
|
|
178608
179191
|
/**
|
package/package.json
CHANGED