@headspace/protos-events 1.846.0 → 1.847.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 +210 -0
- package/lib/index.js +631 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -107792,6 +107792,216 @@ export namespace GingerTherapySchedulerStatusUpdated {
|
|
|
107792
107792
|
type $Shape = GingerTherapySchedulerStatusUpdated.$Properties;
|
|
107793
107793
|
}
|
|
107794
107794
|
|
|
107795
|
+
/** DependentLinkStatus enum. */
|
|
107796
|
+
export enum DependentLinkStatus {
|
|
107797
|
+
|
|
107798
|
+
/** DEPENDENT_LINK_STATUS_UNKNOWN value */
|
|
107799
|
+
DEPENDENT_LINK_STATUS_UNKNOWN = 0,
|
|
107800
|
+
|
|
107801
|
+
/** DEPENDENT_LINK_STATUS_LINKED value */
|
|
107802
|
+
DEPENDENT_LINK_STATUS_LINKED = 1,
|
|
107803
|
+
|
|
107804
|
+
/** DEPENDENT_LINK_STATUS_UNLINKED_INDEPENDENT value */
|
|
107805
|
+
DEPENDENT_LINK_STATUS_UNLINKED_INDEPENDENT = 2,
|
|
107806
|
+
|
|
107807
|
+
/** DEPENDENT_LINK_STATUS_REMOVED_BY_PRIMARY value */
|
|
107808
|
+
DEPENDENT_LINK_STATUS_REMOVED_BY_PRIMARY = 3,
|
|
107809
|
+
|
|
107810
|
+
/** DEPENDENT_LINK_STATUS_DISENROLLED_PRIMARY_EXPIRED value */
|
|
107811
|
+
DEPENDENT_LINK_STATUS_DISENROLLED_PRIMARY_EXPIRED = 4
|
|
107812
|
+
}
|
|
107813
|
+
|
|
107814
|
+
/** DependentLinkMatchMethod enum. */
|
|
107815
|
+
export enum DependentLinkMatchMethod {
|
|
107816
|
+
|
|
107817
|
+
/** DEPENDENT_LINK_MATCH_METHOD_UNKNOWN value */
|
|
107818
|
+
DEPENDENT_LINK_MATCH_METHOD_UNKNOWN = 0,
|
|
107819
|
+
|
|
107820
|
+
/** DEPENDENT_LINK_MATCH_METHOD_NAME_AND_DATE_OF_BIRTH value */
|
|
107821
|
+
DEPENDENT_LINK_MATCH_METHOD_NAME_AND_DATE_OF_BIRTH = 1,
|
|
107822
|
+
|
|
107823
|
+
/** DEPENDENT_LINK_MATCH_METHOD_NAME_DATE_OF_BIRTH_AND_EMAIL value */
|
|
107824
|
+
DEPENDENT_LINK_MATCH_METHOD_NAME_DATE_OF_BIRTH_AND_EMAIL = 2
|
|
107825
|
+
}
|
|
107826
|
+
|
|
107827
|
+
/** DependentLinkInitiator enum. */
|
|
107828
|
+
export enum DependentLinkInitiator {
|
|
107829
|
+
|
|
107830
|
+
/** DEPENDENT_LINK_INITIATOR_UNKNOWN value */
|
|
107831
|
+
DEPENDENT_LINK_INITIATOR_UNKNOWN = 0,
|
|
107832
|
+
|
|
107833
|
+
/** DEPENDENT_LINK_INITIATOR_SYSTEM value */
|
|
107834
|
+
DEPENDENT_LINK_INITIATOR_SYSTEM = 1,
|
|
107835
|
+
|
|
107836
|
+
/** DEPENDENT_LINK_INITIATOR_PRIMARY_MEMBER value */
|
|
107837
|
+
DEPENDENT_LINK_INITIATOR_PRIMARY_MEMBER = 2
|
|
107838
|
+
}
|
|
107839
|
+
|
|
107840
|
+
/**
|
|
107841
|
+
* Properties of an UngatedDependentStatusChanged.
|
|
107842
|
+
* @deprecated Use UngatedDependentStatusChanged.$Properties instead.
|
|
107843
|
+
*/
|
|
107844
|
+
export interface IUngatedDependentStatusChanged extends UngatedDependentStatusChanged.$Properties {
|
|
107845
|
+
}
|
|
107846
|
+
|
|
107847
|
+
/** Represents an UngatedDependentStatusChanged. */
|
|
107848
|
+
export class UngatedDependentStatusChanged {
|
|
107849
|
+
|
|
107850
|
+
/**
|
|
107851
|
+
* Constructs a new UngatedDependentStatusChanged.
|
|
107852
|
+
* @param [properties] Properties to set
|
|
107853
|
+
*/
|
|
107854
|
+
constructor(properties?: UngatedDependentStatusChanged.$Properties);
|
|
107855
|
+
|
|
107856
|
+
/** Unknown fields preserved while decoding */
|
|
107857
|
+
$unknowns?: Uint8Array[];
|
|
107858
|
+
|
|
107859
|
+
/** UngatedDependentStatusChanged hsUserId. */
|
|
107860
|
+
hsUserId: string;
|
|
107861
|
+
|
|
107862
|
+
/** UngatedDependentStatusChanged linkStatus. */
|
|
107863
|
+
linkStatus: DependentLinkStatus;
|
|
107864
|
+
|
|
107865
|
+
/** UngatedDependentStatusChanged initiator. */
|
|
107866
|
+
initiator: DependentLinkInitiator;
|
|
107867
|
+
|
|
107868
|
+
/** UngatedDependentStatusChanged matchMethod. */
|
|
107869
|
+
matchMethod: DependentLinkMatchMethod;
|
|
107870
|
+
|
|
107871
|
+
/** UngatedDependentStatusChanged primaryHsUserId. */
|
|
107872
|
+
primaryHsUserId: string;
|
|
107873
|
+
|
|
107874
|
+
/** UngatedDependentStatusChanged primaryEligibilityRecordUuid. */
|
|
107875
|
+
primaryEligibilityRecordUuid: string;
|
|
107876
|
+
|
|
107877
|
+
/** UngatedDependentStatusChanged orgId. */
|
|
107878
|
+
orgId: number;
|
|
107879
|
+
|
|
107880
|
+
/** UngatedDependentStatusChanged rootOrgId. */
|
|
107881
|
+
rootOrgId: number;
|
|
107882
|
+
|
|
107883
|
+
/** UngatedDependentStatusChanged timestamp. */
|
|
107884
|
+
timestamp: (number|Long);
|
|
107885
|
+
|
|
107886
|
+
/**
|
|
107887
|
+
* Creates a new UngatedDependentStatusChanged instance using the specified properties.
|
|
107888
|
+
* @param [properties] Properties to set
|
|
107889
|
+
* @returns UngatedDependentStatusChanged instance
|
|
107890
|
+
*/
|
|
107891
|
+
static create(properties: UngatedDependentStatusChanged.$Shape): UngatedDependentStatusChanged & UngatedDependentStatusChanged.$Shape;
|
|
107892
|
+
static create(properties?: UngatedDependentStatusChanged.$Properties): UngatedDependentStatusChanged;
|
|
107893
|
+
|
|
107894
|
+
/**
|
|
107895
|
+
* Encodes the specified UngatedDependentStatusChanged message. Does not implicitly {@link UngatedDependentStatusChanged.verify|verify} messages.
|
|
107896
|
+
* @param message UngatedDependentStatusChanged message or plain object to encode
|
|
107897
|
+
* @param [writer] Writer to encode to
|
|
107898
|
+
* @returns Writer
|
|
107899
|
+
*/
|
|
107900
|
+
static encode(message: UngatedDependentStatusChanged.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
107901
|
+
|
|
107902
|
+
/**
|
|
107903
|
+
* Encodes the specified UngatedDependentStatusChanged message, length delimited. Does not implicitly {@link UngatedDependentStatusChanged.verify|verify} messages.
|
|
107904
|
+
* @param message UngatedDependentStatusChanged message or plain object to encode
|
|
107905
|
+
* @param [writer] Writer to encode to
|
|
107906
|
+
* @returns Writer
|
|
107907
|
+
*/
|
|
107908
|
+
static encodeDelimited(message: UngatedDependentStatusChanged.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
107909
|
+
|
|
107910
|
+
/**
|
|
107911
|
+
* Decodes an UngatedDependentStatusChanged message from the specified reader or buffer.
|
|
107912
|
+
* @param reader Reader or buffer to decode from
|
|
107913
|
+
* @param [length] Message length if known beforehand
|
|
107914
|
+
* @returns {UngatedDependentStatusChanged & UngatedDependentStatusChanged.$Shape} UngatedDependentStatusChanged
|
|
107915
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
107916
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
107917
|
+
*/
|
|
107918
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UngatedDependentStatusChanged & UngatedDependentStatusChanged.$Shape;
|
|
107919
|
+
|
|
107920
|
+
/**
|
|
107921
|
+
* Decodes an UngatedDependentStatusChanged message from the specified reader or buffer, length delimited.
|
|
107922
|
+
* @param reader Reader or buffer to decode from
|
|
107923
|
+
* @returns {UngatedDependentStatusChanged & UngatedDependentStatusChanged.$Shape} UngatedDependentStatusChanged
|
|
107924
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
107925
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
107926
|
+
*/
|
|
107927
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UngatedDependentStatusChanged & UngatedDependentStatusChanged.$Shape;
|
|
107928
|
+
|
|
107929
|
+
/**
|
|
107930
|
+
* Verifies an UngatedDependentStatusChanged message.
|
|
107931
|
+
* @param message Plain object to verify
|
|
107932
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
107933
|
+
*/
|
|
107934
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
107935
|
+
|
|
107936
|
+
/**
|
|
107937
|
+
* Creates an UngatedDependentStatusChanged message from a plain object. Also converts values to their respective internal types.
|
|
107938
|
+
* @param object Plain object
|
|
107939
|
+
* @returns UngatedDependentStatusChanged
|
|
107940
|
+
*/
|
|
107941
|
+
static fromObject(object: { [k: string]: any }): UngatedDependentStatusChanged;
|
|
107942
|
+
|
|
107943
|
+
/**
|
|
107944
|
+
* Creates a plain object from an UngatedDependentStatusChanged message. Also converts values to other types if specified.
|
|
107945
|
+
* @param message UngatedDependentStatusChanged
|
|
107946
|
+
* @param [options] Conversion options
|
|
107947
|
+
* @returns Plain object
|
|
107948
|
+
*/
|
|
107949
|
+
static toObject(message: UngatedDependentStatusChanged, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
107950
|
+
|
|
107951
|
+
/**
|
|
107952
|
+
* Converts this UngatedDependentStatusChanged to JSON.
|
|
107953
|
+
* @returns JSON object
|
|
107954
|
+
*/
|
|
107955
|
+
toJSON(): { [k: string]: any };
|
|
107956
|
+
|
|
107957
|
+
/**
|
|
107958
|
+
* Gets the type url for UngatedDependentStatusChanged
|
|
107959
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
107960
|
+
* @returns The type url
|
|
107961
|
+
*/
|
|
107962
|
+
static getTypeUrl(prefix?: string): string;
|
|
107963
|
+
}
|
|
107964
|
+
|
|
107965
|
+
export namespace UngatedDependentStatusChanged {
|
|
107966
|
+
|
|
107967
|
+
/** Properties of an UngatedDependentStatusChanged. */
|
|
107968
|
+
interface $Properties {
|
|
107969
|
+
|
|
107970
|
+
/** UngatedDependentStatusChanged hsUserId */
|
|
107971
|
+
hsUserId?: (string|null);
|
|
107972
|
+
|
|
107973
|
+
/** UngatedDependentStatusChanged linkStatus */
|
|
107974
|
+
linkStatus?: (DependentLinkStatus|null);
|
|
107975
|
+
|
|
107976
|
+
/** UngatedDependentStatusChanged initiator */
|
|
107977
|
+
initiator?: (DependentLinkInitiator|null);
|
|
107978
|
+
|
|
107979
|
+
/** UngatedDependentStatusChanged matchMethod */
|
|
107980
|
+
matchMethod?: (DependentLinkMatchMethod|null);
|
|
107981
|
+
|
|
107982
|
+
/** UngatedDependentStatusChanged primaryHsUserId */
|
|
107983
|
+
primaryHsUserId?: (string|null);
|
|
107984
|
+
|
|
107985
|
+
/** UngatedDependentStatusChanged primaryEligibilityRecordUuid */
|
|
107986
|
+
primaryEligibilityRecordUuid?: (string|null);
|
|
107987
|
+
|
|
107988
|
+
/** UngatedDependentStatusChanged orgId */
|
|
107989
|
+
orgId?: (number|null);
|
|
107990
|
+
|
|
107991
|
+
/** UngatedDependentStatusChanged rootOrgId */
|
|
107992
|
+
rootOrgId?: (number|null);
|
|
107993
|
+
|
|
107994
|
+
/** UngatedDependentStatusChanged timestamp */
|
|
107995
|
+
timestamp?: (number|Long|null);
|
|
107996
|
+
|
|
107997
|
+
/** Unknown fields preserved while decoding */
|
|
107998
|
+
$unknowns?: Uint8Array[];
|
|
107999
|
+
}
|
|
108000
|
+
|
|
108001
|
+
/** Shape of an UngatedDependentStatusChanged. */
|
|
108002
|
+
type $Shape = UngatedDependentStatusChanged.$Properties;
|
|
108003
|
+
}
|
|
108004
|
+
|
|
107795
108005
|
/**
|
|
107796
108006
|
* Properties of a UserDoubleOptInEmailRequested.
|
|
107797
108007
|
* @deprecated Use UserDoubleOptInEmailRequested.$Properties instead.
|
package/lib/index.js
CHANGED
|
@@ -317393,6 +317393,637 @@ $root.GingerTherapySchedulerStatusUpdated = (function() {
|
|
|
317393
317393
|
return GingerTherapySchedulerStatusUpdated;
|
|
317394
317394
|
})();
|
|
317395
317395
|
|
|
317396
|
+
/**
|
|
317397
|
+
* DependentLinkStatus enum.
|
|
317398
|
+
* @name DependentLinkStatus
|
|
317399
|
+
* @enum {number}
|
|
317400
|
+
* @property {number} DEPENDENT_LINK_STATUS_UNKNOWN=0 DEPENDENT_LINK_STATUS_UNKNOWN value
|
|
317401
|
+
* @property {number} DEPENDENT_LINK_STATUS_LINKED=1 DEPENDENT_LINK_STATUS_LINKED value
|
|
317402
|
+
* @property {number} DEPENDENT_LINK_STATUS_UNLINKED_INDEPENDENT=2 DEPENDENT_LINK_STATUS_UNLINKED_INDEPENDENT value
|
|
317403
|
+
* @property {number} DEPENDENT_LINK_STATUS_REMOVED_BY_PRIMARY=3 DEPENDENT_LINK_STATUS_REMOVED_BY_PRIMARY value
|
|
317404
|
+
* @property {number} DEPENDENT_LINK_STATUS_DISENROLLED_PRIMARY_EXPIRED=4 DEPENDENT_LINK_STATUS_DISENROLLED_PRIMARY_EXPIRED value
|
|
317405
|
+
*/
|
|
317406
|
+
$root.DependentLinkStatus = (function() {
|
|
317407
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
317408
|
+
values[valuesById[0] = "DEPENDENT_LINK_STATUS_UNKNOWN"] = 0;
|
|
317409
|
+
values[valuesById[1] = "DEPENDENT_LINK_STATUS_LINKED"] = 1;
|
|
317410
|
+
values[valuesById[2] = "DEPENDENT_LINK_STATUS_UNLINKED_INDEPENDENT"] = 2;
|
|
317411
|
+
values[valuesById[3] = "DEPENDENT_LINK_STATUS_REMOVED_BY_PRIMARY"] = 3;
|
|
317412
|
+
values[valuesById[4] = "DEPENDENT_LINK_STATUS_DISENROLLED_PRIMARY_EXPIRED"] = 4;
|
|
317413
|
+
return values;
|
|
317414
|
+
})();
|
|
317415
|
+
|
|
317416
|
+
/**
|
|
317417
|
+
* DependentLinkMatchMethod enum.
|
|
317418
|
+
* @name DependentLinkMatchMethod
|
|
317419
|
+
* @enum {number}
|
|
317420
|
+
* @property {number} DEPENDENT_LINK_MATCH_METHOD_UNKNOWN=0 DEPENDENT_LINK_MATCH_METHOD_UNKNOWN value
|
|
317421
|
+
* @property {number} DEPENDENT_LINK_MATCH_METHOD_NAME_AND_DATE_OF_BIRTH=1 DEPENDENT_LINK_MATCH_METHOD_NAME_AND_DATE_OF_BIRTH value
|
|
317422
|
+
* @property {number} DEPENDENT_LINK_MATCH_METHOD_NAME_DATE_OF_BIRTH_AND_EMAIL=2 DEPENDENT_LINK_MATCH_METHOD_NAME_DATE_OF_BIRTH_AND_EMAIL value
|
|
317423
|
+
*/
|
|
317424
|
+
$root.DependentLinkMatchMethod = (function() {
|
|
317425
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
317426
|
+
values[valuesById[0] = "DEPENDENT_LINK_MATCH_METHOD_UNKNOWN"] = 0;
|
|
317427
|
+
values[valuesById[1] = "DEPENDENT_LINK_MATCH_METHOD_NAME_AND_DATE_OF_BIRTH"] = 1;
|
|
317428
|
+
values[valuesById[2] = "DEPENDENT_LINK_MATCH_METHOD_NAME_DATE_OF_BIRTH_AND_EMAIL"] = 2;
|
|
317429
|
+
return values;
|
|
317430
|
+
})();
|
|
317431
|
+
|
|
317432
|
+
/**
|
|
317433
|
+
* DependentLinkInitiator enum.
|
|
317434
|
+
* @name DependentLinkInitiator
|
|
317435
|
+
* @enum {number}
|
|
317436
|
+
* @property {number} DEPENDENT_LINK_INITIATOR_UNKNOWN=0 DEPENDENT_LINK_INITIATOR_UNKNOWN value
|
|
317437
|
+
* @property {number} DEPENDENT_LINK_INITIATOR_SYSTEM=1 DEPENDENT_LINK_INITIATOR_SYSTEM value
|
|
317438
|
+
* @property {number} DEPENDENT_LINK_INITIATOR_PRIMARY_MEMBER=2 DEPENDENT_LINK_INITIATOR_PRIMARY_MEMBER value
|
|
317439
|
+
*/
|
|
317440
|
+
$root.DependentLinkInitiator = (function() {
|
|
317441
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
317442
|
+
values[valuesById[0] = "DEPENDENT_LINK_INITIATOR_UNKNOWN"] = 0;
|
|
317443
|
+
values[valuesById[1] = "DEPENDENT_LINK_INITIATOR_SYSTEM"] = 1;
|
|
317444
|
+
values[valuesById[2] = "DEPENDENT_LINK_INITIATOR_PRIMARY_MEMBER"] = 2;
|
|
317445
|
+
return values;
|
|
317446
|
+
})();
|
|
317447
|
+
|
|
317448
|
+
$root.UngatedDependentStatusChanged = (function() {
|
|
317449
|
+
|
|
317450
|
+
/**
|
|
317451
|
+
* Properties of an UngatedDependentStatusChanged.
|
|
317452
|
+
* @typedef {Object} UngatedDependentStatusChanged.$Properties
|
|
317453
|
+
* @property {string|null} [hsUserId] UngatedDependentStatusChanged hsUserId
|
|
317454
|
+
* @property {DependentLinkStatus|null} [linkStatus] UngatedDependentStatusChanged linkStatus
|
|
317455
|
+
* @property {DependentLinkInitiator|null} [initiator] UngatedDependentStatusChanged initiator
|
|
317456
|
+
* @property {DependentLinkMatchMethod|null} [matchMethod] UngatedDependentStatusChanged matchMethod
|
|
317457
|
+
* @property {string|null} [primaryHsUserId] UngatedDependentStatusChanged primaryHsUserId
|
|
317458
|
+
* @property {string|null} [primaryEligibilityRecordUuid] UngatedDependentStatusChanged primaryEligibilityRecordUuid
|
|
317459
|
+
* @property {number|null} [orgId] UngatedDependentStatusChanged orgId
|
|
317460
|
+
* @property {number|null} [rootOrgId] UngatedDependentStatusChanged rootOrgId
|
|
317461
|
+
* @property {number|Long|null} [timestamp] UngatedDependentStatusChanged timestamp
|
|
317462
|
+
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
|
|
317463
|
+
*/
|
|
317464
|
+
|
|
317465
|
+
/**
|
|
317466
|
+
* Properties of an UngatedDependentStatusChanged.
|
|
317467
|
+
* @name IUngatedDependentStatusChanged
|
|
317468
|
+
* @interface IUngatedDependentStatusChanged
|
|
317469
|
+
* @augments UngatedDependentStatusChanged.$Properties
|
|
317470
|
+
* @deprecated Use UngatedDependentStatusChanged.$Properties instead.
|
|
317471
|
+
*/
|
|
317472
|
+
|
|
317473
|
+
/**
|
|
317474
|
+
* Shape of an UngatedDependentStatusChanged.
|
|
317475
|
+
* @typedef {UngatedDependentStatusChanged.$Properties} UngatedDependentStatusChanged.$Shape
|
|
317476
|
+
*/
|
|
317477
|
+
|
|
317478
|
+
/**
|
|
317479
|
+
* Constructs a new UngatedDependentStatusChanged.
|
|
317480
|
+
* @name UngatedDependentStatusChanged
|
|
317481
|
+
* @classdesc Represents an UngatedDependentStatusChanged.
|
|
317482
|
+
* @constructor
|
|
317483
|
+
* @param {UngatedDependentStatusChanged.$Properties=} [properties] Properties to set
|
|
317484
|
+
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
|
|
317485
|
+
*/
|
|
317486
|
+
function UngatedDependentStatusChanged(properties) {
|
|
317487
|
+
if (properties)
|
|
317488
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
317489
|
+
if (properties[keys[i]] != null && keys[i] !== "__proto__")
|
|
317490
|
+
this[keys[i]] = properties[keys[i]];
|
|
317491
|
+
}
|
|
317492
|
+
|
|
317493
|
+
/**
|
|
317494
|
+
* UngatedDependentStatusChanged hsUserId.
|
|
317495
|
+
* @member {string} hsUserId
|
|
317496
|
+
* @memberof UngatedDependentStatusChanged
|
|
317497
|
+
* @instance
|
|
317498
|
+
*/
|
|
317499
|
+
UngatedDependentStatusChanged.prototype.hsUserId = "";
|
|
317500
|
+
|
|
317501
|
+
/**
|
|
317502
|
+
* UngatedDependentStatusChanged linkStatus.
|
|
317503
|
+
* @member {DependentLinkStatus} linkStatus
|
|
317504
|
+
* @memberof UngatedDependentStatusChanged
|
|
317505
|
+
* @instance
|
|
317506
|
+
*/
|
|
317507
|
+
UngatedDependentStatusChanged.prototype.linkStatus = 0;
|
|
317508
|
+
|
|
317509
|
+
/**
|
|
317510
|
+
* UngatedDependentStatusChanged initiator.
|
|
317511
|
+
* @member {DependentLinkInitiator} initiator
|
|
317512
|
+
* @memberof UngatedDependentStatusChanged
|
|
317513
|
+
* @instance
|
|
317514
|
+
*/
|
|
317515
|
+
UngatedDependentStatusChanged.prototype.initiator = 0;
|
|
317516
|
+
|
|
317517
|
+
/**
|
|
317518
|
+
* UngatedDependentStatusChanged matchMethod.
|
|
317519
|
+
* @member {DependentLinkMatchMethod} matchMethod
|
|
317520
|
+
* @memberof UngatedDependentStatusChanged
|
|
317521
|
+
* @instance
|
|
317522
|
+
*/
|
|
317523
|
+
UngatedDependentStatusChanged.prototype.matchMethod = 0;
|
|
317524
|
+
|
|
317525
|
+
/**
|
|
317526
|
+
* UngatedDependentStatusChanged primaryHsUserId.
|
|
317527
|
+
* @member {string} primaryHsUserId
|
|
317528
|
+
* @memberof UngatedDependentStatusChanged
|
|
317529
|
+
* @instance
|
|
317530
|
+
*/
|
|
317531
|
+
UngatedDependentStatusChanged.prototype.primaryHsUserId = "";
|
|
317532
|
+
|
|
317533
|
+
/**
|
|
317534
|
+
* UngatedDependentStatusChanged primaryEligibilityRecordUuid.
|
|
317535
|
+
* @member {string} primaryEligibilityRecordUuid
|
|
317536
|
+
* @memberof UngatedDependentStatusChanged
|
|
317537
|
+
* @instance
|
|
317538
|
+
*/
|
|
317539
|
+
UngatedDependentStatusChanged.prototype.primaryEligibilityRecordUuid = "";
|
|
317540
|
+
|
|
317541
|
+
/**
|
|
317542
|
+
* UngatedDependentStatusChanged orgId.
|
|
317543
|
+
* @member {number} orgId
|
|
317544
|
+
* @memberof UngatedDependentStatusChanged
|
|
317545
|
+
* @instance
|
|
317546
|
+
*/
|
|
317547
|
+
UngatedDependentStatusChanged.prototype.orgId = 0;
|
|
317548
|
+
|
|
317549
|
+
/**
|
|
317550
|
+
* UngatedDependentStatusChanged rootOrgId.
|
|
317551
|
+
* @member {number} rootOrgId
|
|
317552
|
+
* @memberof UngatedDependentStatusChanged
|
|
317553
|
+
* @instance
|
|
317554
|
+
*/
|
|
317555
|
+
UngatedDependentStatusChanged.prototype.rootOrgId = 0;
|
|
317556
|
+
|
|
317557
|
+
/**
|
|
317558
|
+
* UngatedDependentStatusChanged timestamp.
|
|
317559
|
+
* @member {number|Long} timestamp
|
|
317560
|
+
* @memberof UngatedDependentStatusChanged
|
|
317561
|
+
* @instance
|
|
317562
|
+
*/
|
|
317563
|
+
UngatedDependentStatusChanged.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
317564
|
+
|
|
317565
|
+
/**
|
|
317566
|
+
* Creates a new UngatedDependentStatusChanged instance using the specified properties.
|
|
317567
|
+
* @function create
|
|
317568
|
+
* @memberof UngatedDependentStatusChanged
|
|
317569
|
+
* @static
|
|
317570
|
+
* @param {UngatedDependentStatusChanged.$Properties=} [properties] Properties to set
|
|
317571
|
+
* @returns {UngatedDependentStatusChanged} UngatedDependentStatusChanged instance
|
|
317572
|
+
* @type {{
|
|
317573
|
+
* (properties: UngatedDependentStatusChanged.$Shape): UngatedDependentStatusChanged & UngatedDependentStatusChanged.$Shape;
|
|
317574
|
+
* (properties?: UngatedDependentStatusChanged.$Properties): UngatedDependentStatusChanged;
|
|
317575
|
+
* }}
|
|
317576
|
+
*/
|
|
317577
|
+
UngatedDependentStatusChanged.create = function create(properties) {
|
|
317578
|
+
return new UngatedDependentStatusChanged(properties);
|
|
317579
|
+
};
|
|
317580
|
+
|
|
317581
|
+
/**
|
|
317582
|
+
* Encodes the specified UngatedDependentStatusChanged message. Does not implicitly {@link UngatedDependentStatusChanged.verify|verify} messages.
|
|
317583
|
+
* @function encode
|
|
317584
|
+
* @memberof UngatedDependentStatusChanged
|
|
317585
|
+
* @static
|
|
317586
|
+
* @param {UngatedDependentStatusChanged.$Properties} message UngatedDependentStatusChanged message or plain object to encode
|
|
317587
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
317588
|
+
* @returns {$protobuf.Writer} Writer
|
|
317589
|
+
*/
|
|
317590
|
+
UngatedDependentStatusChanged.encode = function encode(message, writer) {
|
|
317591
|
+
if (!writer)
|
|
317592
|
+
writer = $Writer.create();
|
|
317593
|
+
if (message.hsUserId != null && Object.hasOwnProperty.call(message, "hsUserId"))
|
|
317594
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
317595
|
+
if (message.linkStatus != null && Object.hasOwnProperty.call(message, "linkStatus"))
|
|
317596
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.linkStatus);
|
|
317597
|
+
if (message.initiator != null && Object.hasOwnProperty.call(message, "initiator"))
|
|
317598
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.initiator);
|
|
317599
|
+
if (message.matchMethod != null && Object.hasOwnProperty.call(message, "matchMethod"))
|
|
317600
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.matchMethod);
|
|
317601
|
+
if (message.primaryHsUserId != null && Object.hasOwnProperty.call(message, "primaryHsUserId"))
|
|
317602
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.primaryHsUserId);
|
|
317603
|
+
if (message.primaryEligibilityRecordUuid != null && Object.hasOwnProperty.call(message, "primaryEligibilityRecordUuid"))
|
|
317604
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.primaryEligibilityRecordUuid);
|
|
317605
|
+
if (message.orgId != null && Object.hasOwnProperty.call(message, "orgId"))
|
|
317606
|
+
writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.orgId);
|
|
317607
|
+
if (message.rootOrgId != null && Object.hasOwnProperty.call(message, "rootOrgId"))
|
|
317608
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.rootOrgId);
|
|
317609
|
+
if (message.timestamp != null && Object.hasOwnProperty.call(message, "timestamp"))
|
|
317610
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.timestamp);
|
|
317611
|
+
if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
|
|
317612
|
+
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
317613
|
+
writer.raw(message.$unknowns[i]);
|
|
317614
|
+
return writer;
|
|
317615
|
+
};
|
|
317616
|
+
|
|
317617
|
+
/**
|
|
317618
|
+
* Encodes the specified UngatedDependentStatusChanged message, length delimited. Does not implicitly {@link UngatedDependentStatusChanged.verify|verify} messages.
|
|
317619
|
+
* @function encodeDelimited
|
|
317620
|
+
* @memberof UngatedDependentStatusChanged
|
|
317621
|
+
* @static
|
|
317622
|
+
* @param {UngatedDependentStatusChanged.$Properties} message UngatedDependentStatusChanged message or plain object to encode
|
|
317623
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
317624
|
+
* @returns {$protobuf.Writer} Writer
|
|
317625
|
+
*/
|
|
317626
|
+
UngatedDependentStatusChanged.encodeDelimited = function encodeDelimited(message, writer) {
|
|
317627
|
+
return this.encode(message, writer).ldelim();
|
|
317628
|
+
};
|
|
317629
|
+
|
|
317630
|
+
/**
|
|
317631
|
+
* Decodes an UngatedDependentStatusChanged message from the specified reader or buffer.
|
|
317632
|
+
* @function decode
|
|
317633
|
+
* @memberof UngatedDependentStatusChanged
|
|
317634
|
+
* @static
|
|
317635
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
317636
|
+
* @param {number} [length] Message length if known beforehand
|
|
317637
|
+
* @returns {UngatedDependentStatusChanged & UngatedDependentStatusChanged.$Shape} UngatedDependentStatusChanged
|
|
317638
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
317639
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
317640
|
+
*/
|
|
317641
|
+
UngatedDependentStatusChanged.decode = function decode(reader, length, _end, _depth, _target) {
|
|
317642
|
+
if (!(reader instanceof $Reader))
|
|
317643
|
+
reader = $Reader.create(reader);
|
|
317644
|
+
if (_depth === undefined)
|
|
317645
|
+
_depth = 0;
|
|
317646
|
+
if (_depth > $Reader.recursionLimit)
|
|
317647
|
+
throw Error("max depth exceeded");
|
|
317648
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.UngatedDependentStatusChanged(), value;
|
|
317649
|
+
while (reader.pos < end) {
|
|
317650
|
+
var start = reader.pos;
|
|
317651
|
+
var tag = reader.tag();
|
|
317652
|
+
if (tag === _end) {
|
|
317653
|
+
_end = undefined;
|
|
317654
|
+
break;
|
|
317655
|
+
}
|
|
317656
|
+
var wireType = tag & 7;
|
|
317657
|
+
switch (tag >>>= 3) {
|
|
317658
|
+
case 1: {
|
|
317659
|
+
if (wireType !== 2)
|
|
317660
|
+
break;
|
|
317661
|
+
if ((value = reader.string()).length)
|
|
317662
|
+
message.hsUserId = value;
|
|
317663
|
+
else
|
|
317664
|
+
delete message.hsUserId;
|
|
317665
|
+
continue;
|
|
317666
|
+
}
|
|
317667
|
+
case 2: {
|
|
317668
|
+
if (wireType !== 0)
|
|
317669
|
+
break;
|
|
317670
|
+
if (value = reader.int32())
|
|
317671
|
+
message.linkStatus = value;
|
|
317672
|
+
else
|
|
317673
|
+
delete message.linkStatus;
|
|
317674
|
+
continue;
|
|
317675
|
+
}
|
|
317676
|
+
case 3: {
|
|
317677
|
+
if (wireType !== 0)
|
|
317678
|
+
break;
|
|
317679
|
+
if (value = reader.int32())
|
|
317680
|
+
message.initiator = value;
|
|
317681
|
+
else
|
|
317682
|
+
delete message.initiator;
|
|
317683
|
+
continue;
|
|
317684
|
+
}
|
|
317685
|
+
case 4: {
|
|
317686
|
+
if (wireType !== 0)
|
|
317687
|
+
break;
|
|
317688
|
+
if (value = reader.int32())
|
|
317689
|
+
message.matchMethod = value;
|
|
317690
|
+
else
|
|
317691
|
+
delete message.matchMethod;
|
|
317692
|
+
continue;
|
|
317693
|
+
}
|
|
317694
|
+
case 5: {
|
|
317695
|
+
if (wireType !== 2)
|
|
317696
|
+
break;
|
|
317697
|
+
if ((value = reader.string()).length)
|
|
317698
|
+
message.primaryHsUserId = value;
|
|
317699
|
+
else
|
|
317700
|
+
delete message.primaryHsUserId;
|
|
317701
|
+
continue;
|
|
317702
|
+
}
|
|
317703
|
+
case 6: {
|
|
317704
|
+
if (wireType !== 2)
|
|
317705
|
+
break;
|
|
317706
|
+
if ((value = reader.string()).length)
|
|
317707
|
+
message.primaryEligibilityRecordUuid = value;
|
|
317708
|
+
else
|
|
317709
|
+
delete message.primaryEligibilityRecordUuid;
|
|
317710
|
+
continue;
|
|
317711
|
+
}
|
|
317712
|
+
case 7: {
|
|
317713
|
+
if (wireType !== 0)
|
|
317714
|
+
break;
|
|
317715
|
+
if (value = reader.uint32())
|
|
317716
|
+
message.orgId = value;
|
|
317717
|
+
else
|
|
317718
|
+
delete message.orgId;
|
|
317719
|
+
continue;
|
|
317720
|
+
}
|
|
317721
|
+
case 8: {
|
|
317722
|
+
if (wireType !== 0)
|
|
317723
|
+
break;
|
|
317724
|
+
if (value = reader.uint32())
|
|
317725
|
+
message.rootOrgId = value;
|
|
317726
|
+
else
|
|
317727
|
+
delete message.rootOrgId;
|
|
317728
|
+
continue;
|
|
317729
|
+
}
|
|
317730
|
+
case 9: {
|
|
317731
|
+
if (wireType !== 0)
|
|
317732
|
+
break;
|
|
317733
|
+
if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0)
|
|
317734
|
+
message.timestamp = value;
|
|
317735
|
+
else
|
|
317736
|
+
delete message.timestamp;
|
|
317737
|
+
continue;
|
|
317738
|
+
}
|
|
317739
|
+
}
|
|
317740
|
+
reader.skipType(wireType, _depth, tag);
|
|
317741
|
+
$util.makeProp(message, "$unknowns", false);
|
|
317742
|
+
(message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
|
|
317743
|
+
}
|
|
317744
|
+
if (_end !== undefined)
|
|
317745
|
+
throw Error("missing end group");
|
|
317746
|
+
return message;
|
|
317747
|
+
};
|
|
317748
|
+
|
|
317749
|
+
/**
|
|
317750
|
+
* Decodes an UngatedDependentStatusChanged message from the specified reader or buffer, length delimited.
|
|
317751
|
+
* @function decodeDelimited
|
|
317752
|
+
* @memberof UngatedDependentStatusChanged
|
|
317753
|
+
* @static
|
|
317754
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
317755
|
+
* @returns {UngatedDependentStatusChanged & UngatedDependentStatusChanged.$Shape} UngatedDependentStatusChanged
|
|
317756
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
317757
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
317758
|
+
*/
|
|
317759
|
+
UngatedDependentStatusChanged.decodeDelimited = function decodeDelimited(reader) {
|
|
317760
|
+
if (!(reader instanceof $Reader))
|
|
317761
|
+
reader = new $Reader(reader);
|
|
317762
|
+
return this.decode(reader, reader.uint32());
|
|
317763
|
+
};
|
|
317764
|
+
|
|
317765
|
+
/**
|
|
317766
|
+
* Verifies an UngatedDependentStatusChanged message.
|
|
317767
|
+
* @function verify
|
|
317768
|
+
* @memberof UngatedDependentStatusChanged
|
|
317769
|
+
* @static
|
|
317770
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
317771
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
317772
|
+
*/
|
|
317773
|
+
UngatedDependentStatusChanged.verify = function verify(message, _depth) {
|
|
317774
|
+
if (typeof message !== "object" || message === null)
|
|
317775
|
+
return "object expected";
|
|
317776
|
+
if (_depth === undefined)
|
|
317777
|
+
_depth = 0;
|
|
317778
|
+
if (_depth > $util.recursionLimit)
|
|
317779
|
+
return "max depth exceeded";
|
|
317780
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
317781
|
+
if (!$util.isString(message.hsUserId))
|
|
317782
|
+
return "hsUserId: string expected";
|
|
317783
|
+
if (message.linkStatus != null && message.hasOwnProperty("linkStatus"))
|
|
317784
|
+
switch (message.linkStatus) {
|
|
317785
|
+
default:
|
|
317786
|
+
return "linkStatus: enum value expected";
|
|
317787
|
+
case 0:
|
|
317788
|
+
case 1:
|
|
317789
|
+
case 2:
|
|
317790
|
+
case 3:
|
|
317791
|
+
case 4:
|
|
317792
|
+
break;
|
|
317793
|
+
}
|
|
317794
|
+
if (message.initiator != null && message.hasOwnProperty("initiator"))
|
|
317795
|
+
switch (message.initiator) {
|
|
317796
|
+
default:
|
|
317797
|
+
return "initiator: enum value expected";
|
|
317798
|
+
case 0:
|
|
317799
|
+
case 1:
|
|
317800
|
+
case 2:
|
|
317801
|
+
break;
|
|
317802
|
+
}
|
|
317803
|
+
if (message.matchMethod != null && message.hasOwnProperty("matchMethod"))
|
|
317804
|
+
switch (message.matchMethod) {
|
|
317805
|
+
default:
|
|
317806
|
+
return "matchMethod: enum value expected";
|
|
317807
|
+
case 0:
|
|
317808
|
+
case 1:
|
|
317809
|
+
case 2:
|
|
317810
|
+
break;
|
|
317811
|
+
}
|
|
317812
|
+
if (message.primaryHsUserId != null && message.hasOwnProperty("primaryHsUserId"))
|
|
317813
|
+
if (!$util.isString(message.primaryHsUserId))
|
|
317814
|
+
return "primaryHsUserId: string expected";
|
|
317815
|
+
if (message.primaryEligibilityRecordUuid != null && message.hasOwnProperty("primaryEligibilityRecordUuid"))
|
|
317816
|
+
if (!$util.isString(message.primaryEligibilityRecordUuid))
|
|
317817
|
+
return "primaryEligibilityRecordUuid: string expected";
|
|
317818
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
317819
|
+
if (!$util.isInteger(message.orgId))
|
|
317820
|
+
return "orgId: integer expected";
|
|
317821
|
+
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
317822
|
+
if (!$util.isInteger(message.rootOrgId))
|
|
317823
|
+
return "rootOrgId: integer expected";
|
|
317824
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
317825
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
317826
|
+
return "timestamp: integer|Long expected";
|
|
317827
|
+
return null;
|
|
317828
|
+
};
|
|
317829
|
+
|
|
317830
|
+
/**
|
|
317831
|
+
* Creates an UngatedDependentStatusChanged message from a plain object. Also converts values to their respective internal types.
|
|
317832
|
+
* @function fromObject
|
|
317833
|
+
* @memberof UngatedDependentStatusChanged
|
|
317834
|
+
* @static
|
|
317835
|
+
* @param {Object.<string,*>} object Plain object
|
|
317836
|
+
* @returns {UngatedDependentStatusChanged} UngatedDependentStatusChanged
|
|
317837
|
+
*/
|
|
317838
|
+
UngatedDependentStatusChanged.fromObject = function fromObject(object, _depth) {
|
|
317839
|
+
if (object instanceof $root.UngatedDependentStatusChanged)
|
|
317840
|
+
return object;
|
|
317841
|
+
if (_depth === undefined)
|
|
317842
|
+
_depth = 0;
|
|
317843
|
+
if (_depth > $util.recursionLimit)
|
|
317844
|
+
throw Error("max depth exceeded");
|
|
317845
|
+
var message = new $root.UngatedDependentStatusChanged();
|
|
317846
|
+
if (object.hsUserId != null)
|
|
317847
|
+
if (typeof object.hsUserId !== "string" || object.hsUserId.length)
|
|
317848
|
+
message.hsUserId = String(object.hsUserId);
|
|
317849
|
+
if (object.linkStatus !== 0 && (typeof object.linkStatus !== "string" || $root.DependentLinkStatus[object.linkStatus] !== 0))
|
|
317850
|
+
switch (object.linkStatus) {
|
|
317851
|
+
default:
|
|
317852
|
+
if (typeof object.linkStatus === "number") {
|
|
317853
|
+
message.linkStatus = object.linkStatus;
|
|
317854
|
+
break;
|
|
317855
|
+
}
|
|
317856
|
+
break;
|
|
317857
|
+
case "DEPENDENT_LINK_STATUS_UNKNOWN":
|
|
317858
|
+
case 0:
|
|
317859
|
+
message.linkStatus = 0;
|
|
317860
|
+
break;
|
|
317861
|
+
case "DEPENDENT_LINK_STATUS_LINKED":
|
|
317862
|
+
case 1:
|
|
317863
|
+
message.linkStatus = 1;
|
|
317864
|
+
break;
|
|
317865
|
+
case "DEPENDENT_LINK_STATUS_UNLINKED_INDEPENDENT":
|
|
317866
|
+
case 2:
|
|
317867
|
+
message.linkStatus = 2;
|
|
317868
|
+
break;
|
|
317869
|
+
case "DEPENDENT_LINK_STATUS_REMOVED_BY_PRIMARY":
|
|
317870
|
+
case 3:
|
|
317871
|
+
message.linkStatus = 3;
|
|
317872
|
+
break;
|
|
317873
|
+
case "DEPENDENT_LINK_STATUS_DISENROLLED_PRIMARY_EXPIRED":
|
|
317874
|
+
case 4:
|
|
317875
|
+
message.linkStatus = 4;
|
|
317876
|
+
break;
|
|
317877
|
+
}
|
|
317878
|
+
if (object.initiator !== 0 && (typeof object.initiator !== "string" || $root.DependentLinkInitiator[object.initiator] !== 0))
|
|
317879
|
+
switch (object.initiator) {
|
|
317880
|
+
default:
|
|
317881
|
+
if (typeof object.initiator === "number") {
|
|
317882
|
+
message.initiator = object.initiator;
|
|
317883
|
+
break;
|
|
317884
|
+
}
|
|
317885
|
+
break;
|
|
317886
|
+
case "DEPENDENT_LINK_INITIATOR_UNKNOWN":
|
|
317887
|
+
case 0:
|
|
317888
|
+
message.initiator = 0;
|
|
317889
|
+
break;
|
|
317890
|
+
case "DEPENDENT_LINK_INITIATOR_SYSTEM":
|
|
317891
|
+
case 1:
|
|
317892
|
+
message.initiator = 1;
|
|
317893
|
+
break;
|
|
317894
|
+
case "DEPENDENT_LINK_INITIATOR_PRIMARY_MEMBER":
|
|
317895
|
+
case 2:
|
|
317896
|
+
message.initiator = 2;
|
|
317897
|
+
break;
|
|
317898
|
+
}
|
|
317899
|
+
if (object.matchMethod !== 0 && (typeof object.matchMethod !== "string" || $root.DependentLinkMatchMethod[object.matchMethod] !== 0))
|
|
317900
|
+
switch (object.matchMethod) {
|
|
317901
|
+
default:
|
|
317902
|
+
if (typeof object.matchMethod === "number") {
|
|
317903
|
+
message.matchMethod = object.matchMethod;
|
|
317904
|
+
break;
|
|
317905
|
+
}
|
|
317906
|
+
break;
|
|
317907
|
+
case "DEPENDENT_LINK_MATCH_METHOD_UNKNOWN":
|
|
317908
|
+
case 0:
|
|
317909
|
+
message.matchMethod = 0;
|
|
317910
|
+
break;
|
|
317911
|
+
case "DEPENDENT_LINK_MATCH_METHOD_NAME_AND_DATE_OF_BIRTH":
|
|
317912
|
+
case 1:
|
|
317913
|
+
message.matchMethod = 1;
|
|
317914
|
+
break;
|
|
317915
|
+
case "DEPENDENT_LINK_MATCH_METHOD_NAME_DATE_OF_BIRTH_AND_EMAIL":
|
|
317916
|
+
case 2:
|
|
317917
|
+
message.matchMethod = 2;
|
|
317918
|
+
break;
|
|
317919
|
+
}
|
|
317920
|
+
if (object.primaryHsUserId != null)
|
|
317921
|
+
if (typeof object.primaryHsUserId !== "string" || object.primaryHsUserId.length)
|
|
317922
|
+
message.primaryHsUserId = String(object.primaryHsUserId);
|
|
317923
|
+
if (object.primaryEligibilityRecordUuid != null)
|
|
317924
|
+
if (typeof object.primaryEligibilityRecordUuid !== "string" || object.primaryEligibilityRecordUuid.length)
|
|
317925
|
+
message.primaryEligibilityRecordUuid = String(object.primaryEligibilityRecordUuid);
|
|
317926
|
+
if (object.orgId != null)
|
|
317927
|
+
if (Number(object.orgId) !== 0)
|
|
317928
|
+
message.orgId = object.orgId >>> 0;
|
|
317929
|
+
if (object.rootOrgId != null)
|
|
317930
|
+
if (Number(object.rootOrgId) !== 0)
|
|
317931
|
+
message.rootOrgId = object.rootOrgId >>> 0;
|
|
317932
|
+
if (object.timestamp != null)
|
|
317933
|
+
if (typeof object.timestamp === "object" ? object.timestamp.low || object.timestamp.high : Number(object.timestamp) !== 0)
|
|
317934
|
+
if ($util.Long)
|
|
317935
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
317936
|
+
else if (typeof object.timestamp === "string")
|
|
317937
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
317938
|
+
else if (typeof object.timestamp === "number")
|
|
317939
|
+
message.timestamp = object.timestamp;
|
|
317940
|
+
else if (typeof object.timestamp === "object")
|
|
317941
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
317942
|
+
return message;
|
|
317943
|
+
};
|
|
317944
|
+
|
|
317945
|
+
/**
|
|
317946
|
+
* Creates a plain object from an UngatedDependentStatusChanged message. Also converts values to other types if specified.
|
|
317947
|
+
* @function toObject
|
|
317948
|
+
* @memberof UngatedDependentStatusChanged
|
|
317949
|
+
* @static
|
|
317950
|
+
* @param {UngatedDependentStatusChanged} message UngatedDependentStatusChanged
|
|
317951
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
317952
|
+
* @returns {Object.<string,*>} Plain object
|
|
317953
|
+
*/
|
|
317954
|
+
UngatedDependentStatusChanged.toObject = function toObject(message, options) {
|
|
317955
|
+
if (!options)
|
|
317956
|
+
options = {};
|
|
317957
|
+
var object = {};
|
|
317958
|
+
if (options.defaults) {
|
|
317959
|
+
object.hsUserId = "";
|
|
317960
|
+
object.linkStatus = options.enums === String ? "DEPENDENT_LINK_STATUS_UNKNOWN" : 0;
|
|
317961
|
+
object.initiator = options.enums === String ? "DEPENDENT_LINK_INITIATOR_UNKNOWN" : 0;
|
|
317962
|
+
object.matchMethod = options.enums === String ? "DEPENDENT_LINK_MATCH_METHOD_UNKNOWN" : 0;
|
|
317963
|
+
object.primaryHsUserId = "";
|
|
317964
|
+
object.primaryEligibilityRecordUuid = "";
|
|
317965
|
+
object.orgId = 0;
|
|
317966
|
+
object.rootOrgId = 0;
|
|
317967
|
+
if ($util.Long) {
|
|
317968
|
+
var long = new $util.Long(0, 0, true);
|
|
317969
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
|
|
317970
|
+
} else
|
|
317971
|
+
object.timestamp = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
|
|
317972
|
+
}
|
|
317973
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
317974
|
+
object.hsUserId = message.hsUserId;
|
|
317975
|
+
if (message.linkStatus != null && message.hasOwnProperty("linkStatus"))
|
|
317976
|
+
object.linkStatus = options.enums === String ? $root.DependentLinkStatus[message.linkStatus] === undefined ? message.linkStatus : $root.DependentLinkStatus[message.linkStatus] : message.linkStatus;
|
|
317977
|
+
if (message.initiator != null && message.hasOwnProperty("initiator"))
|
|
317978
|
+
object.initiator = options.enums === String ? $root.DependentLinkInitiator[message.initiator] === undefined ? message.initiator : $root.DependentLinkInitiator[message.initiator] : message.initiator;
|
|
317979
|
+
if (message.matchMethod != null && message.hasOwnProperty("matchMethod"))
|
|
317980
|
+
object.matchMethod = options.enums === String ? $root.DependentLinkMatchMethod[message.matchMethod] === undefined ? message.matchMethod : $root.DependentLinkMatchMethod[message.matchMethod] : message.matchMethod;
|
|
317981
|
+
if (message.primaryHsUserId != null && message.hasOwnProperty("primaryHsUserId"))
|
|
317982
|
+
object.primaryHsUserId = message.primaryHsUserId;
|
|
317983
|
+
if (message.primaryEligibilityRecordUuid != null && message.hasOwnProperty("primaryEligibilityRecordUuid"))
|
|
317984
|
+
object.primaryEligibilityRecordUuid = message.primaryEligibilityRecordUuid;
|
|
317985
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
317986
|
+
object.orgId = message.orgId;
|
|
317987
|
+
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
317988
|
+
object.rootOrgId = message.rootOrgId;
|
|
317989
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
317990
|
+
if (typeof BigInt !== "undefined" && options.longs === BigInt)
|
|
317991
|
+
object.timestamp = typeof message.timestamp === "number" ? BigInt(message.timestamp) : $util.Long.fromBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0, true).toBigInt();
|
|
317992
|
+
else if (typeof message.timestamp === "number")
|
|
317993
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
317994
|
+
else
|
|
317995
|
+
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
317996
|
+
return object;
|
|
317997
|
+
};
|
|
317998
|
+
|
|
317999
|
+
/**
|
|
318000
|
+
* Converts this UngatedDependentStatusChanged to JSON.
|
|
318001
|
+
* @function toJSON
|
|
318002
|
+
* @memberof UngatedDependentStatusChanged
|
|
318003
|
+
* @instance
|
|
318004
|
+
* @returns {Object.<string,*>} JSON object
|
|
318005
|
+
*/
|
|
318006
|
+
UngatedDependentStatusChanged.prototype.toJSON = function toJSON() {
|
|
318007
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
318008
|
+
};
|
|
318009
|
+
|
|
318010
|
+
/**
|
|
318011
|
+
* Gets the type url for UngatedDependentStatusChanged
|
|
318012
|
+
* @function getTypeUrl
|
|
318013
|
+
* @memberof UngatedDependentStatusChanged
|
|
318014
|
+
* @static
|
|
318015
|
+
* @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
318016
|
+
* @returns {string} The type url
|
|
318017
|
+
*/
|
|
318018
|
+
UngatedDependentStatusChanged.getTypeUrl = function getTypeUrl(prefix) {
|
|
318019
|
+
if (prefix === undefined)
|
|
318020
|
+
prefix = "type.googleapis.com";
|
|
318021
|
+
return prefix + "/UngatedDependentStatusChanged";
|
|
318022
|
+
};
|
|
318023
|
+
|
|
318024
|
+
return UngatedDependentStatusChanged;
|
|
318025
|
+
})();
|
|
318026
|
+
|
|
317396
318027
|
$root.UserDoubleOptInEmailRequested = (function() {
|
|
317397
318028
|
|
|
317398
318029
|
/**
|
package/package.json
CHANGED