@headspace/protos-events 1.643.0 → 1.645.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 +184 -0
- package/lib/index.js +654 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -40236,6 +40236,145 @@ export class MemberDeactivationStarted implements IMemberDeactivationStarted {
|
|
|
40236
40236
|
public toJSON(): { [k: string]: any };
|
|
40237
40237
|
}
|
|
40238
40238
|
|
|
40239
|
+
/** CostShareType enum. */
|
|
40240
|
+
export enum CostShareType {
|
|
40241
|
+
COST_SHARE_TYPE_UNKNOWN = 0,
|
|
40242
|
+
COST_SHARE_TYPE_ESTIMATE = 1,
|
|
40243
|
+
COST_SHARE_TYPE_BILLED = 2
|
|
40244
|
+
}
|
|
40245
|
+
|
|
40246
|
+
/** Properties of a GingerClinicalAppointmentCostShareCreated. */
|
|
40247
|
+
export interface IGingerClinicalAppointmentCostShareCreated {
|
|
40248
|
+
|
|
40249
|
+
/** GingerClinicalAppointmentCostShareCreated appointmentId */
|
|
40250
|
+
appointmentId?: (number|null);
|
|
40251
|
+
|
|
40252
|
+
/** GingerClinicalAppointmentCostShareCreated gingerUserId */
|
|
40253
|
+
gingerUserId?: (number|null);
|
|
40254
|
+
|
|
40255
|
+
/** GingerClinicalAppointmentCostShareCreated hsUserId */
|
|
40256
|
+
hsUserId?: (string|null);
|
|
40257
|
+
|
|
40258
|
+
/** GingerClinicalAppointmentCostShareCreated clinicianId */
|
|
40259
|
+
clinicianId?: (string|null);
|
|
40260
|
+
|
|
40261
|
+
/** GingerClinicalAppointmentCostShareCreated createdAt */
|
|
40262
|
+
createdAt?: (number|Long|null);
|
|
40263
|
+
|
|
40264
|
+
/** GingerClinicalAppointmentCostShareCreated updatedAt */
|
|
40265
|
+
updatedAt?: (number|Long|null);
|
|
40266
|
+
|
|
40267
|
+
/** GingerClinicalAppointmentCostShareCreated centsValue */
|
|
40268
|
+
centsValue?: (number|Long|null);
|
|
40269
|
+
|
|
40270
|
+
/** GingerClinicalAppointmentCostShareCreated type */
|
|
40271
|
+
type?: (CostShareType|null);
|
|
40272
|
+
}
|
|
40273
|
+
|
|
40274
|
+
/** Represents a GingerClinicalAppointmentCostShareCreated. */
|
|
40275
|
+
export class GingerClinicalAppointmentCostShareCreated implements IGingerClinicalAppointmentCostShareCreated {
|
|
40276
|
+
|
|
40277
|
+
/**
|
|
40278
|
+
* Constructs a new GingerClinicalAppointmentCostShareCreated.
|
|
40279
|
+
* @param [properties] Properties to set
|
|
40280
|
+
*/
|
|
40281
|
+
constructor(properties?: IGingerClinicalAppointmentCostShareCreated);
|
|
40282
|
+
|
|
40283
|
+
/** GingerClinicalAppointmentCostShareCreated appointmentId. */
|
|
40284
|
+
public appointmentId: number;
|
|
40285
|
+
|
|
40286
|
+
/** GingerClinicalAppointmentCostShareCreated gingerUserId. */
|
|
40287
|
+
public gingerUserId: number;
|
|
40288
|
+
|
|
40289
|
+
/** GingerClinicalAppointmentCostShareCreated hsUserId. */
|
|
40290
|
+
public hsUserId: string;
|
|
40291
|
+
|
|
40292
|
+
/** GingerClinicalAppointmentCostShareCreated clinicianId. */
|
|
40293
|
+
public clinicianId: string;
|
|
40294
|
+
|
|
40295
|
+
/** GingerClinicalAppointmentCostShareCreated createdAt. */
|
|
40296
|
+
public createdAt: (number|Long);
|
|
40297
|
+
|
|
40298
|
+
/** GingerClinicalAppointmentCostShareCreated updatedAt. */
|
|
40299
|
+
public updatedAt: (number|Long);
|
|
40300
|
+
|
|
40301
|
+
/** GingerClinicalAppointmentCostShareCreated centsValue. */
|
|
40302
|
+
public centsValue: (number|Long);
|
|
40303
|
+
|
|
40304
|
+
/** GingerClinicalAppointmentCostShareCreated type. */
|
|
40305
|
+
public type: CostShareType;
|
|
40306
|
+
|
|
40307
|
+
/**
|
|
40308
|
+
* Creates a new GingerClinicalAppointmentCostShareCreated instance using the specified properties.
|
|
40309
|
+
* @param [properties] Properties to set
|
|
40310
|
+
* @returns GingerClinicalAppointmentCostShareCreated instance
|
|
40311
|
+
*/
|
|
40312
|
+
public static create(properties?: IGingerClinicalAppointmentCostShareCreated): GingerClinicalAppointmentCostShareCreated;
|
|
40313
|
+
|
|
40314
|
+
/**
|
|
40315
|
+
* Encodes the specified GingerClinicalAppointmentCostShareCreated message. Does not implicitly {@link GingerClinicalAppointmentCostShareCreated.verify|verify} messages.
|
|
40316
|
+
* @param message GingerClinicalAppointmentCostShareCreated message or plain object to encode
|
|
40317
|
+
* @param [writer] Writer to encode to
|
|
40318
|
+
* @returns Writer
|
|
40319
|
+
*/
|
|
40320
|
+
public static encode(message: IGingerClinicalAppointmentCostShareCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
40321
|
+
|
|
40322
|
+
/**
|
|
40323
|
+
* Encodes the specified GingerClinicalAppointmentCostShareCreated message, length delimited. Does not implicitly {@link GingerClinicalAppointmentCostShareCreated.verify|verify} messages.
|
|
40324
|
+
* @param message GingerClinicalAppointmentCostShareCreated message or plain object to encode
|
|
40325
|
+
* @param [writer] Writer to encode to
|
|
40326
|
+
* @returns Writer
|
|
40327
|
+
*/
|
|
40328
|
+
public static encodeDelimited(message: IGingerClinicalAppointmentCostShareCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
40329
|
+
|
|
40330
|
+
/**
|
|
40331
|
+
* Decodes a GingerClinicalAppointmentCostShareCreated message from the specified reader or buffer.
|
|
40332
|
+
* @param reader Reader or buffer to decode from
|
|
40333
|
+
* @param [length] Message length if known beforehand
|
|
40334
|
+
* @returns GingerClinicalAppointmentCostShareCreated
|
|
40335
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40336
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40337
|
+
*/
|
|
40338
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GingerClinicalAppointmentCostShareCreated;
|
|
40339
|
+
|
|
40340
|
+
/**
|
|
40341
|
+
* Decodes a GingerClinicalAppointmentCostShareCreated message from the specified reader or buffer, length delimited.
|
|
40342
|
+
* @param reader Reader or buffer to decode from
|
|
40343
|
+
* @returns GingerClinicalAppointmentCostShareCreated
|
|
40344
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40345
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40346
|
+
*/
|
|
40347
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GingerClinicalAppointmentCostShareCreated;
|
|
40348
|
+
|
|
40349
|
+
/**
|
|
40350
|
+
* Verifies a GingerClinicalAppointmentCostShareCreated message.
|
|
40351
|
+
* @param message Plain object to verify
|
|
40352
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
40353
|
+
*/
|
|
40354
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
40355
|
+
|
|
40356
|
+
/**
|
|
40357
|
+
* Creates a GingerClinicalAppointmentCostShareCreated message from a plain object. Also converts values to their respective internal types.
|
|
40358
|
+
* @param object Plain object
|
|
40359
|
+
* @returns GingerClinicalAppointmentCostShareCreated
|
|
40360
|
+
*/
|
|
40361
|
+
public static fromObject(object: { [k: string]: any }): GingerClinicalAppointmentCostShareCreated;
|
|
40362
|
+
|
|
40363
|
+
/**
|
|
40364
|
+
* Creates a plain object from a GingerClinicalAppointmentCostShareCreated message. Also converts values to other types if specified.
|
|
40365
|
+
* @param message GingerClinicalAppointmentCostShareCreated
|
|
40366
|
+
* @param [options] Conversion options
|
|
40367
|
+
* @returns Plain object
|
|
40368
|
+
*/
|
|
40369
|
+
public static toObject(message: GingerClinicalAppointmentCostShareCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
40370
|
+
|
|
40371
|
+
/**
|
|
40372
|
+
* Converts this GingerClinicalAppointmentCostShareCreated to JSON.
|
|
40373
|
+
* @returns JSON object
|
|
40374
|
+
*/
|
|
40375
|
+
public toJSON(): { [k: string]: any };
|
|
40376
|
+
}
|
|
40377
|
+
|
|
40239
40378
|
/** Properties of a ClinicalAvailabilityCreated. */
|
|
40240
40379
|
export interface IClinicalAvailabilityCreated {
|
|
40241
40380
|
|
|
@@ -52292,6 +52431,12 @@ export interface IEligibilityRecordCreated {
|
|
|
52292
52431
|
|
|
52293
52432
|
/** EligibilityRecordCreated uuid */
|
|
52294
52433
|
uuid?: (string|null);
|
|
52434
|
+
|
|
52435
|
+
/** EligibilityRecordCreated source */
|
|
52436
|
+
source?: (EligibilitySourceType|null);
|
|
52437
|
+
|
|
52438
|
+
/** EligibilityRecordCreated externalId */
|
|
52439
|
+
externalId?: (string|null);
|
|
52295
52440
|
}
|
|
52296
52441
|
|
|
52297
52442
|
/** Represents an EligibilityRecordCreated. */
|
|
@@ -52312,6 +52457,12 @@ export class EligibilityRecordCreated implements IEligibilityRecordCreated {
|
|
|
52312
52457
|
/** EligibilityRecordCreated uuid. */
|
|
52313
52458
|
public uuid: string;
|
|
52314
52459
|
|
|
52460
|
+
/** EligibilityRecordCreated source. */
|
|
52461
|
+
public source: EligibilitySourceType;
|
|
52462
|
+
|
|
52463
|
+
/** EligibilityRecordCreated externalId. */
|
|
52464
|
+
public externalId: string;
|
|
52465
|
+
|
|
52315
52466
|
/**
|
|
52316
52467
|
* Creates a new EligibilityRecordCreated instance using the specified properties.
|
|
52317
52468
|
* @param [properties] Properties to set
|
|
@@ -52394,6 +52545,12 @@ export interface IEligibilityRecordUpdated {
|
|
|
52394
52545
|
|
|
52395
52546
|
/** EligibilityRecordUpdated uuid */
|
|
52396
52547
|
uuid?: (string|null);
|
|
52548
|
+
|
|
52549
|
+
/** EligibilityRecordUpdated source */
|
|
52550
|
+
source?: (EligibilitySourceType|null);
|
|
52551
|
+
|
|
52552
|
+
/** EligibilityRecordUpdated externalId */
|
|
52553
|
+
externalId?: (string|null);
|
|
52397
52554
|
}
|
|
52398
52555
|
|
|
52399
52556
|
/** Represents an EligibilityRecordUpdated. */
|
|
@@ -52414,6 +52571,12 @@ export class EligibilityRecordUpdated implements IEligibilityRecordUpdated {
|
|
|
52414
52571
|
/** EligibilityRecordUpdated uuid. */
|
|
52415
52572
|
public uuid: string;
|
|
52416
52573
|
|
|
52574
|
+
/** EligibilityRecordUpdated source. */
|
|
52575
|
+
public source: EligibilitySourceType;
|
|
52576
|
+
|
|
52577
|
+
/** EligibilityRecordUpdated externalId. */
|
|
52578
|
+
public externalId: string;
|
|
52579
|
+
|
|
52417
52580
|
/**
|
|
52418
52581
|
* Creates a new EligibilityRecordUpdated instance using the specified properties.
|
|
52419
52582
|
* @param [properties] Properties to set
|
|
@@ -52496,6 +52659,12 @@ export interface IEligibilityRecordRemoved {
|
|
|
52496
52659
|
|
|
52497
52660
|
/** EligibilityRecordRemoved uuid */
|
|
52498
52661
|
uuid?: (string|null);
|
|
52662
|
+
|
|
52663
|
+
/** EligibilityRecordRemoved source */
|
|
52664
|
+
source?: (EligibilitySourceType|null);
|
|
52665
|
+
|
|
52666
|
+
/** EligibilityRecordRemoved externalId */
|
|
52667
|
+
externalId?: (string|null);
|
|
52499
52668
|
}
|
|
52500
52669
|
|
|
52501
52670
|
/** Represents an EligibilityRecordRemoved. */
|
|
@@ -52516,6 +52685,12 @@ export class EligibilityRecordRemoved implements IEligibilityRecordRemoved {
|
|
|
52516
52685
|
/** EligibilityRecordRemoved uuid. */
|
|
52517
52686
|
public uuid: string;
|
|
52518
52687
|
|
|
52688
|
+
/** EligibilityRecordRemoved source. */
|
|
52689
|
+
public source: EligibilitySourceType;
|
|
52690
|
+
|
|
52691
|
+
/** EligibilityRecordRemoved externalId. */
|
|
52692
|
+
public externalId: string;
|
|
52693
|
+
|
|
52519
52694
|
/**
|
|
52520
52695
|
* Creates a new EligibilityRecordRemoved instance using the specified properties.
|
|
52521
52696
|
* @param [properties] Properties to set
|
|
@@ -52823,6 +52998,15 @@ export class ChangedEnrollmentComparisonCompleted implements IChangedEnrollmentC
|
|
|
52823
52998
|
public toJSON(): { [k: string]: any };
|
|
52824
52999
|
}
|
|
52825
53000
|
|
|
53001
|
+
/** EligibilitySourceType enum. */
|
|
53002
|
+
export enum EligibilitySourceType {
|
|
53003
|
+
ELIGIBILITY_SOURCE_TYPE_UNKNOWN = 0,
|
|
53004
|
+
ELIGIBILITY_SOURCE_TYPE_ELF = 1,
|
|
53005
|
+
ELIGIBILITY_SOURCE_TYPE_SCIM = 2,
|
|
53006
|
+
ELIGIBILITY_SOURCE_TYPE_API = 3,
|
|
53007
|
+
ELIGIBILITY_SOURCE_TYPE_GINGER = 4
|
|
53008
|
+
}
|
|
53009
|
+
|
|
52826
53010
|
/** Properties of a PartnershipMemberEnrolled. */
|
|
52827
53011
|
export interface IPartnershipMemberEnrolled {
|
|
52828
53012
|
|
package/lib/index.js
CHANGED
|
@@ -110724,6 +110724,424 @@ $root.MemberDeactivationStarted = (function() {
|
|
|
110724
110724
|
return MemberDeactivationStarted;
|
|
110725
110725
|
})();
|
|
110726
110726
|
|
|
110727
|
+
/**
|
|
110728
|
+
* CostShareType enum.
|
|
110729
|
+
* @name CostShareType
|
|
110730
|
+
* @enum {string}
|
|
110731
|
+
* @property {number} COST_SHARE_TYPE_UNKNOWN=0 COST_SHARE_TYPE_UNKNOWN value
|
|
110732
|
+
* @property {number} COST_SHARE_TYPE_ESTIMATE=1 COST_SHARE_TYPE_ESTIMATE value
|
|
110733
|
+
* @property {number} COST_SHARE_TYPE_BILLED=2 COST_SHARE_TYPE_BILLED value
|
|
110734
|
+
*/
|
|
110735
|
+
$root.CostShareType = (function() {
|
|
110736
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
110737
|
+
values[valuesById[0] = "COST_SHARE_TYPE_UNKNOWN"] = 0;
|
|
110738
|
+
values[valuesById[1] = "COST_SHARE_TYPE_ESTIMATE"] = 1;
|
|
110739
|
+
values[valuesById[2] = "COST_SHARE_TYPE_BILLED"] = 2;
|
|
110740
|
+
return values;
|
|
110741
|
+
})();
|
|
110742
|
+
|
|
110743
|
+
$root.GingerClinicalAppointmentCostShareCreated = (function() {
|
|
110744
|
+
|
|
110745
|
+
/**
|
|
110746
|
+
* Properties of a GingerClinicalAppointmentCostShareCreated.
|
|
110747
|
+
* @name IGingerClinicalAppointmentCostShareCreated
|
|
110748
|
+
* @interface IGingerClinicalAppointmentCostShareCreated
|
|
110749
|
+
* @property {number|null} [appointmentId] GingerClinicalAppointmentCostShareCreated appointmentId
|
|
110750
|
+
* @property {number|null} [gingerUserId] GingerClinicalAppointmentCostShareCreated gingerUserId
|
|
110751
|
+
* @property {string|null} [hsUserId] GingerClinicalAppointmentCostShareCreated hsUserId
|
|
110752
|
+
* @property {string|null} [clinicianId] GingerClinicalAppointmentCostShareCreated clinicianId
|
|
110753
|
+
* @property {number|Long|null} [createdAt] GingerClinicalAppointmentCostShareCreated createdAt
|
|
110754
|
+
* @property {number|Long|null} [updatedAt] GingerClinicalAppointmentCostShareCreated updatedAt
|
|
110755
|
+
* @property {number|Long|null} [centsValue] GingerClinicalAppointmentCostShareCreated centsValue
|
|
110756
|
+
* @property {CostShareType|null} [type] GingerClinicalAppointmentCostShareCreated type
|
|
110757
|
+
*/
|
|
110758
|
+
|
|
110759
|
+
/**
|
|
110760
|
+
* Constructs a new GingerClinicalAppointmentCostShareCreated.
|
|
110761
|
+
* @name GingerClinicalAppointmentCostShareCreated
|
|
110762
|
+
* @classdesc Represents a GingerClinicalAppointmentCostShareCreated.
|
|
110763
|
+
* @implements IGingerClinicalAppointmentCostShareCreated
|
|
110764
|
+
* @constructor
|
|
110765
|
+
* @param {IGingerClinicalAppointmentCostShareCreated=} [properties] Properties to set
|
|
110766
|
+
*/
|
|
110767
|
+
function GingerClinicalAppointmentCostShareCreated(properties) {
|
|
110768
|
+
if (properties)
|
|
110769
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
110770
|
+
if (properties[keys[i]] != null)
|
|
110771
|
+
this[keys[i]] = properties[keys[i]];
|
|
110772
|
+
}
|
|
110773
|
+
|
|
110774
|
+
/**
|
|
110775
|
+
* GingerClinicalAppointmentCostShareCreated appointmentId.
|
|
110776
|
+
* @member {number} appointmentId
|
|
110777
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110778
|
+
* @instance
|
|
110779
|
+
*/
|
|
110780
|
+
GingerClinicalAppointmentCostShareCreated.prototype.appointmentId = 0;
|
|
110781
|
+
|
|
110782
|
+
/**
|
|
110783
|
+
* GingerClinicalAppointmentCostShareCreated gingerUserId.
|
|
110784
|
+
* @member {number} gingerUserId
|
|
110785
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110786
|
+
* @instance
|
|
110787
|
+
*/
|
|
110788
|
+
GingerClinicalAppointmentCostShareCreated.prototype.gingerUserId = 0;
|
|
110789
|
+
|
|
110790
|
+
/**
|
|
110791
|
+
* GingerClinicalAppointmentCostShareCreated hsUserId.
|
|
110792
|
+
* @member {string} hsUserId
|
|
110793
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110794
|
+
* @instance
|
|
110795
|
+
*/
|
|
110796
|
+
GingerClinicalAppointmentCostShareCreated.prototype.hsUserId = "";
|
|
110797
|
+
|
|
110798
|
+
/**
|
|
110799
|
+
* GingerClinicalAppointmentCostShareCreated clinicianId.
|
|
110800
|
+
* @member {string} clinicianId
|
|
110801
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110802
|
+
* @instance
|
|
110803
|
+
*/
|
|
110804
|
+
GingerClinicalAppointmentCostShareCreated.prototype.clinicianId = "";
|
|
110805
|
+
|
|
110806
|
+
/**
|
|
110807
|
+
* GingerClinicalAppointmentCostShareCreated createdAt.
|
|
110808
|
+
* @member {number|Long} createdAt
|
|
110809
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110810
|
+
* @instance
|
|
110811
|
+
*/
|
|
110812
|
+
GingerClinicalAppointmentCostShareCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
110813
|
+
|
|
110814
|
+
/**
|
|
110815
|
+
* GingerClinicalAppointmentCostShareCreated updatedAt.
|
|
110816
|
+
* @member {number|Long} updatedAt
|
|
110817
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110818
|
+
* @instance
|
|
110819
|
+
*/
|
|
110820
|
+
GingerClinicalAppointmentCostShareCreated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
110821
|
+
|
|
110822
|
+
/**
|
|
110823
|
+
* GingerClinicalAppointmentCostShareCreated centsValue.
|
|
110824
|
+
* @member {number|Long} centsValue
|
|
110825
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110826
|
+
* @instance
|
|
110827
|
+
*/
|
|
110828
|
+
GingerClinicalAppointmentCostShareCreated.prototype.centsValue = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
110829
|
+
|
|
110830
|
+
/**
|
|
110831
|
+
* GingerClinicalAppointmentCostShareCreated type.
|
|
110832
|
+
* @member {CostShareType} type
|
|
110833
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110834
|
+
* @instance
|
|
110835
|
+
*/
|
|
110836
|
+
GingerClinicalAppointmentCostShareCreated.prototype.type = 0;
|
|
110837
|
+
|
|
110838
|
+
/**
|
|
110839
|
+
* Creates a new GingerClinicalAppointmentCostShareCreated instance using the specified properties.
|
|
110840
|
+
* @function create
|
|
110841
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110842
|
+
* @static
|
|
110843
|
+
* @param {IGingerClinicalAppointmentCostShareCreated=} [properties] Properties to set
|
|
110844
|
+
* @returns {GingerClinicalAppointmentCostShareCreated} GingerClinicalAppointmentCostShareCreated instance
|
|
110845
|
+
*/
|
|
110846
|
+
GingerClinicalAppointmentCostShareCreated.create = function create(properties) {
|
|
110847
|
+
return new GingerClinicalAppointmentCostShareCreated(properties);
|
|
110848
|
+
};
|
|
110849
|
+
|
|
110850
|
+
/**
|
|
110851
|
+
* Encodes the specified GingerClinicalAppointmentCostShareCreated message. Does not implicitly {@link GingerClinicalAppointmentCostShareCreated.verify|verify} messages.
|
|
110852
|
+
* @function encode
|
|
110853
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110854
|
+
* @static
|
|
110855
|
+
* @param {IGingerClinicalAppointmentCostShareCreated} message GingerClinicalAppointmentCostShareCreated message or plain object to encode
|
|
110856
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
110857
|
+
* @returns {$protobuf.Writer} Writer
|
|
110858
|
+
*/
|
|
110859
|
+
GingerClinicalAppointmentCostShareCreated.encode = function encode(message, writer) {
|
|
110860
|
+
if (!writer)
|
|
110861
|
+
writer = $Writer.create();
|
|
110862
|
+
if (message.appointmentId != null && message.hasOwnProperty("appointmentId"))
|
|
110863
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.appointmentId);
|
|
110864
|
+
if (message.gingerUserId != null && message.hasOwnProperty("gingerUserId"))
|
|
110865
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerUserId);
|
|
110866
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
110867
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.hsUserId);
|
|
110868
|
+
if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
|
|
110869
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.clinicianId);
|
|
110870
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
110871
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.createdAt);
|
|
110872
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
110873
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.updatedAt);
|
|
110874
|
+
if (message.centsValue != null && message.hasOwnProperty("centsValue"))
|
|
110875
|
+
writer.uint32(/* id 7, wireType 0 =*/56).int64(message.centsValue);
|
|
110876
|
+
if (message.type != null && message.hasOwnProperty("type"))
|
|
110877
|
+
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.type);
|
|
110878
|
+
return writer;
|
|
110879
|
+
};
|
|
110880
|
+
|
|
110881
|
+
/**
|
|
110882
|
+
* Encodes the specified GingerClinicalAppointmentCostShareCreated message, length delimited. Does not implicitly {@link GingerClinicalAppointmentCostShareCreated.verify|verify} messages.
|
|
110883
|
+
* @function encodeDelimited
|
|
110884
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110885
|
+
* @static
|
|
110886
|
+
* @param {IGingerClinicalAppointmentCostShareCreated} message GingerClinicalAppointmentCostShareCreated message or plain object to encode
|
|
110887
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
110888
|
+
* @returns {$protobuf.Writer} Writer
|
|
110889
|
+
*/
|
|
110890
|
+
GingerClinicalAppointmentCostShareCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
110891
|
+
return this.encode(message, writer).ldelim();
|
|
110892
|
+
};
|
|
110893
|
+
|
|
110894
|
+
/**
|
|
110895
|
+
* Decodes a GingerClinicalAppointmentCostShareCreated message from the specified reader or buffer.
|
|
110896
|
+
* @function decode
|
|
110897
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110898
|
+
* @static
|
|
110899
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
110900
|
+
* @param {number} [length] Message length if known beforehand
|
|
110901
|
+
* @returns {GingerClinicalAppointmentCostShareCreated} GingerClinicalAppointmentCostShareCreated
|
|
110902
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
110903
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
110904
|
+
*/
|
|
110905
|
+
GingerClinicalAppointmentCostShareCreated.decode = function decode(reader, length) {
|
|
110906
|
+
if (!(reader instanceof $Reader))
|
|
110907
|
+
reader = $Reader.create(reader);
|
|
110908
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GingerClinicalAppointmentCostShareCreated();
|
|
110909
|
+
while (reader.pos < end) {
|
|
110910
|
+
var tag = reader.uint32();
|
|
110911
|
+
switch (tag >>> 3) {
|
|
110912
|
+
case 1:
|
|
110913
|
+
message.appointmentId = reader.uint32();
|
|
110914
|
+
break;
|
|
110915
|
+
case 2:
|
|
110916
|
+
message.gingerUserId = reader.uint32();
|
|
110917
|
+
break;
|
|
110918
|
+
case 3:
|
|
110919
|
+
message.hsUserId = reader.string();
|
|
110920
|
+
break;
|
|
110921
|
+
case 4:
|
|
110922
|
+
message.clinicianId = reader.string();
|
|
110923
|
+
break;
|
|
110924
|
+
case 5:
|
|
110925
|
+
message.createdAt = reader.uint64();
|
|
110926
|
+
break;
|
|
110927
|
+
case 6:
|
|
110928
|
+
message.updatedAt = reader.uint64();
|
|
110929
|
+
break;
|
|
110930
|
+
case 7:
|
|
110931
|
+
message.centsValue = reader.int64();
|
|
110932
|
+
break;
|
|
110933
|
+
case 8:
|
|
110934
|
+
message.type = reader.int32();
|
|
110935
|
+
break;
|
|
110936
|
+
default:
|
|
110937
|
+
reader.skipType(tag & 7);
|
|
110938
|
+
break;
|
|
110939
|
+
}
|
|
110940
|
+
}
|
|
110941
|
+
return message;
|
|
110942
|
+
};
|
|
110943
|
+
|
|
110944
|
+
/**
|
|
110945
|
+
* Decodes a GingerClinicalAppointmentCostShareCreated message from the specified reader or buffer, length delimited.
|
|
110946
|
+
* @function decodeDelimited
|
|
110947
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110948
|
+
* @static
|
|
110949
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
110950
|
+
* @returns {GingerClinicalAppointmentCostShareCreated} GingerClinicalAppointmentCostShareCreated
|
|
110951
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
110952
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
110953
|
+
*/
|
|
110954
|
+
GingerClinicalAppointmentCostShareCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
110955
|
+
if (!(reader instanceof $Reader))
|
|
110956
|
+
reader = new $Reader(reader);
|
|
110957
|
+
return this.decode(reader, reader.uint32());
|
|
110958
|
+
};
|
|
110959
|
+
|
|
110960
|
+
/**
|
|
110961
|
+
* Verifies a GingerClinicalAppointmentCostShareCreated message.
|
|
110962
|
+
* @function verify
|
|
110963
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
110964
|
+
* @static
|
|
110965
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
110966
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
110967
|
+
*/
|
|
110968
|
+
GingerClinicalAppointmentCostShareCreated.verify = function verify(message) {
|
|
110969
|
+
if (typeof message !== "object" || message === null)
|
|
110970
|
+
return "object expected";
|
|
110971
|
+
if (message.appointmentId != null && message.hasOwnProperty("appointmentId"))
|
|
110972
|
+
if (!$util.isInteger(message.appointmentId))
|
|
110973
|
+
return "appointmentId: integer expected";
|
|
110974
|
+
if (message.gingerUserId != null && message.hasOwnProperty("gingerUserId"))
|
|
110975
|
+
if (!$util.isInteger(message.gingerUserId))
|
|
110976
|
+
return "gingerUserId: integer expected";
|
|
110977
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
110978
|
+
if (!$util.isString(message.hsUserId))
|
|
110979
|
+
return "hsUserId: string expected";
|
|
110980
|
+
if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
|
|
110981
|
+
if (!$util.isString(message.clinicianId))
|
|
110982
|
+
return "clinicianId: string expected";
|
|
110983
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
110984
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
110985
|
+
return "createdAt: integer|Long expected";
|
|
110986
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
110987
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
110988
|
+
return "updatedAt: integer|Long expected";
|
|
110989
|
+
if (message.centsValue != null && message.hasOwnProperty("centsValue"))
|
|
110990
|
+
if (!$util.isInteger(message.centsValue) && !(message.centsValue && $util.isInteger(message.centsValue.low) && $util.isInteger(message.centsValue.high)))
|
|
110991
|
+
return "centsValue: integer|Long expected";
|
|
110992
|
+
if (message.type != null && message.hasOwnProperty("type"))
|
|
110993
|
+
switch (message.type) {
|
|
110994
|
+
default:
|
|
110995
|
+
return "type: enum value expected";
|
|
110996
|
+
case 0:
|
|
110997
|
+
case 1:
|
|
110998
|
+
case 2:
|
|
110999
|
+
break;
|
|
111000
|
+
}
|
|
111001
|
+
return null;
|
|
111002
|
+
};
|
|
111003
|
+
|
|
111004
|
+
/**
|
|
111005
|
+
* Creates a GingerClinicalAppointmentCostShareCreated message from a plain object. Also converts values to their respective internal types.
|
|
111006
|
+
* @function fromObject
|
|
111007
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
111008
|
+
* @static
|
|
111009
|
+
* @param {Object.<string,*>} object Plain object
|
|
111010
|
+
* @returns {GingerClinicalAppointmentCostShareCreated} GingerClinicalAppointmentCostShareCreated
|
|
111011
|
+
*/
|
|
111012
|
+
GingerClinicalAppointmentCostShareCreated.fromObject = function fromObject(object) {
|
|
111013
|
+
if (object instanceof $root.GingerClinicalAppointmentCostShareCreated)
|
|
111014
|
+
return object;
|
|
111015
|
+
var message = new $root.GingerClinicalAppointmentCostShareCreated();
|
|
111016
|
+
if (object.appointmentId != null)
|
|
111017
|
+
message.appointmentId = object.appointmentId >>> 0;
|
|
111018
|
+
if (object.gingerUserId != null)
|
|
111019
|
+
message.gingerUserId = object.gingerUserId >>> 0;
|
|
111020
|
+
if (object.hsUserId != null)
|
|
111021
|
+
message.hsUserId = String(object.hsUserId);
|
|
111022
|
+
if (object.clinicianId != null)
|
|
111023
|
+
message.clinicianId = String(object.clinicianId);
|
|
111024
|
+
if (object.createdAt != null)
|
|
111025
|
+
if ($util.Long)
|
|
111026
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
111027
|
+
else if (typeof object.createdAt === "string")
|
|
111028
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
111029
|
+
else if (typeof object.createdAt === "number")
|
|
111030
|
+
message.createdAt = object.createdAt;
|
|
111031
|
+
else if (typeof object.createdAt === "object")
|
|
111032
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
111033
|
+
if (object.updatedAt != null)
|
|
111034
|
+
if ($util.Long)
|
|
111035
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
111036
|
+
else if (typeof object.updatedAt === "string")
|
|
111037
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
111038
|
+
else if (typeof object.updatedAt === "number")
|
|
111039
|
+
message.updatedAt = object.updatedAt;
|
|
111040
|
+
else if (typeof object.updatedAt === "object")
|
|
111041
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
111042
|
+
if (object.centsValue != null)
|
|
111043
|
+
if ($util.Long)
|
|
111044
|
+
(message.centsValue = $util.Long.fromValue(object.centsValue)).unsigned = false;
|
|
111045
|
+
else if (typeof object.centsValue === "string")
|
|
111046
|
+
message.centsValue = parseInt(object.centsValue, 10);
|
|
111047
|
+
else if (typeof object.centsValue === "number")
|
|
111048
|
+
message.centsValue = object.centsValue;
|
|
111049
|
+
else if (typeof object.centsValue === "object")
|
|
111050
|
+
message.centsValue = new $util.LongBits(object.centsValue.low >>> 0, object.centsValue.high >>> 0).toNumber();
|
|
111051
|
+
switch (object.type) {
|
|
111052
|
+
case "COST_SHARE_TYPE_UNKNOWN":
|
|
111053
|
+
case 0:
|
|
111054
|
+
message.type = 0;
|
|
111055
|
+
break;
|
|
111056
|
+
case "COST_SHARE_TYPE_ESTIMATE":
|
|
111057
|
+
case 1:
|
|
111058
|
+
message.type = 1;
|
|
111059
|
+
break;
|
|
111060
|
+
case "COST_SHARE_TYPE_BILLED":
|
|
111061
|
+
case 2:
|
|
111062
|
+
message.type = 2;
|
|
111063
|
+
break;
|
|
111064
|
+
}
|
|
111065
|
+
return message;
|
|
111066
|
+
};
|
|
111067
|
+
|
|
111068
|
+
/**
|
|
111069
|
+
* Creates a plain object from a GingerClinicalAppointmentCostShareCreated message. Also converts values to other types if specified.
|
|
111070
|
+
* @function toObject
|
|
111071
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
111072
|
+
* @static
|
|
111073
|
+
* @param {GingerClinicalAppointmentCostShareCreated} message GingerClinicalAppointmentCostShareCreated
|
|
111074
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
111075
|
+
* @returns {Object.<string,*>} Plain object
|
|
111076
|
+
*/
|
|
111077
|
+
GingerClinicalAppointmentCostShareCreated.toObject = function toObject(message, options) {
|
|
111078
|
+
if (!options)
|
|
111079
|
+
options = {};
|
|
111080
|
+
var object = {};
|
|
111081
|
+
if (options.defaults) {
|
|
111082
|
+
object.appointmentId = 0;
|
|
111083
|
+
object.gingerUserId = 0;
|
|
111084
|
+
object.hsUserId = "";
|
|
111085
|
+
object.clinicianId = "";
|
|
111086
|
+
if ($util.Long) {
|
|
111087
|
+
var long = new $util.Long(0, 0, true);
|
|
111088
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
111089
|
+
} else
|
|
111090
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
111091
|
+
if ($util.Long) {
|
|
111092
|
+
var long = new $util.Long(0, 0, true);
|
|
111093
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
111094
|
+
} else
|
|
111095
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
111096
|
+
if ($util.Long) {
|
|
111097
|
+
var long = new $util.Long(0, 0, false);
|
|
111098
|
+
object.centsValue = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
111099
|
+
} else
|
|
111100
|
+
object.centsValue = options.longs === String ? "0" : 0;
|
|
111101
|
+
object.type = options.enums === String ? "COST_SHARE_TYPE_UNKNOWN" : 0;
|
|
111102
|
+
}
|
|
111103
|
+
if (message.appointmentId != null && message.hasOwnProperty("appointmentId"))
|
|
111104
|
+
object.appointmentId = message.appointmentId;
|
|
111105
|
+
if (message.gingerUserId != null && message.hasOwnProperty("gingerUserId"))
|
|
111106
|
+
object.gingerUserId = message.gingerUserId;
|
|
111107
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
111108
|
+
object.hsUserId = message.hsUserId;
|
|
111109
|
+
if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
|
|
111110
|
+
object.clinicianId = message.clinicianId;
|
|
111111
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
111112
|
+
if (typeof message.createdAt === "number")
|
|
111113
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
111114
|
+
else
|
|
111115
|
+
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
111116
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
111117
|
+
if (typeof message.updatedAt === "number")
|
|
111118
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
111119
|
+
else
|
|
111120
|
+
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
111121
|
+
if (message.centsValue != null && message.hasOwnProperty("centsValue"))
|
|
111122
|
+
if (typeof message.centsValue === "number")
|
|
111123
|
+
object.centsValue = options.longs === String ? String(message.centsValue) : message.centsValue;
|
|
111124
|
+
else
|
|
111125
|
+
object.centsValue = options.longs === String ? $util.Long.prototype.toString.call(message.centsValue) : options.longs === Number ? new $util.LongBits(message.centsValue.low >>> 0, message.centsValue.high >>> 0).toNumber() : message.centsValue;
|
|
111126
|
+
if (message.type != null && message.hasOwnProperty("type"))
|
|
111127
|
+
object.type = options.enums === String ? $root.CostShareType[message.type] : message.type;
|
|
111128
|
+
return object;
|
|
111129
|
+
};
|
|
111130
|
+
|
|
111131
|
+
/**
|
|
111132
|
+
* Converts this GingerClinicalAppointmentCostShareCreated to JSON.
|
|
111133
|
+
* @function toJSON
|
|
111134
|
+
* @memberof GingerClinicalAppointmentCostShareCreated
|
|
111135
|
+
* @instance
|
|
111136
|
+
* @returns {Object.<string,*>} JSON object
|
|
111137
|
+
*/
|
|
111138
|
+
GingerClinicalAppointmentCostShareCreated.prototype.toJSON = function toJSON() {
|
|
111139
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
111140
|
+
};
|
|
111141
|
+
|
|
111142
|
+
return GingerClinicalAppointmentCostShareCreated;
|
|
111143
|
+
})();
|
|
111144
|
+
|
|
110727
111145
|
$root.ClinicalAvailabilityCreated = (function() {
|
|
110728
111146
|
|
|
110729
111147
|
/**
|
|
@@ -144696,6 +145114,8 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
144696
145114
|
* @property {number|Long|null} [timestamp] EligibilityRecordCreated timestamp
|
|
144697
145115
|
* @property {string|null} [collectiveUuid] EligibilityRecordCreated collectiveUuid
|
|
144698
145116
|
* @property {string|null} [uuid] EligibilityRecordCreated uuid
|
|
145117
|
+
* @property {EligibilitySourceType|null} [source] EligibilityRecordCreated source
|
|
145118
|
+
* @property {string|null} [externalId] EligibilityRecordCreated externalId
|
|
144699
145119
|
*/
|
|
144700
145120
|
|
|
144701
145121
|
/**
|
|
@@ -144737,6 +145157,22 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
144737
145157
|
*/
|
|
144738
145158
|
EligibilityRecordCreated.prototype.uuid = "";
|
|
144739
145159
|
|
|
145160
|
+
/**
|
|
145161
|
+
* EligibilityRecordCreated source.
|
|
145162
|
+
* @member {EligibilitySourceType} source
|
|
145163
|
+
* @memberof EligibilityRecordCreated
|
|
145164
|
+
* @instance
|
|
145165
|
+
*/
|
|
145166
|
+
EligibilityRecordCreated.prototype.source = 0;
|
|
145167
|
+
|
|
145168
|
+
/**
|
|
145169
|
+
* EligibilityRecordCreated externalId.
|
|
145170
|
+
* @member {string} externalId
|
|
145171
|
+
* @memberof EligibilityRecordCreated
|
|
145172
|
+
* @instance
|
|
145173
|
+
*/
|
|
145174
|
+
EligibilityRecordCreated.prototype.externalId = "";
|
|
145175
|
+
|
|
144740
145176
|
/**
|
|
144741
145177
|
* Creates a new EligibilityRecordCreated instance using the specified properties.
|
|
144742
145178
|
* @function create
|
|
@@ -144767,6 +145203,10 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
144767
145203
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.collectiveUuid);
|
|
144768
145204
|
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
144769
145205
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid);
|
|
145206
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
145207
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.source);
|
|
145208
|
+
if (message.externalId != null && message.hasOwnProperty("externalId"))
|
|
145209
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.externalId);
|
|
144770
145210
|
return writer;
|
|
144771
145211
|
};
|
|
144772
145212
|
|
|
@@ -144810,6 +145250,12 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
144810
145250
|
case 3:
|
|
144811
145251
|
message.uuid = reader.string();
|
|
144812
145252
|
break;
|
|
145253
|
+
case 4:
|
|
145254
|
+
message.source = reader.int32();
|
|
145255
|
+
break;
|
|
145256
|
+
case 5:
|
|
145257
|
+
message.externalId = reader.string();
|
|
145258
|
+
break;
|
|
144813
145259
|
default:
|
|
144814
145260
|
reader.skipType(tag & 7);
|
|
144815
145261
|
break;
|
|
@@ -144854,6 +145300,20 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
144854
145300
|
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
144855
145301
|
if (!$util.isString(message.uuid))
|
|
144856
145302
|
return "uuid: string expected";
|
|
145303
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
145304
|
+
switch (message.source) {
|
|
145305
|
+
default:
|
|
145306
|
+
return "source: enum value expected";
|
|
145307
|
+
case 0:
|
|
145308
|
+
case 1:
|
|
145309
|
+
case 2:
|
|
145310
|
+
case 3:
|
|
145311
|
+
case 4:
|
|
145312
|
+
break;
|
|
145313
|
+
}
|
|
145314
|
+
if (message.externalId != null && message.hasOwnProperty("externalId"))
|
|
145315
|
+
if (!$util.isString(message.externalId))
|
|
145316
|
+
return "externalId: string expected";
|
|
144857
145317
|
return null;
|
|
144858
145318
|
};
|
|
144859
145319
|
|
|
@@ -144882,6 +145342,30 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
144882
145342
|
message.collectiveUuid = String(object.collectiveUuid);
|
|
144883
145343
|
if (object.uuid != null)
|
|
144884
145344
|
message.uuid = String(object.uuid);
|
|
145345
|
+
switch (object.source) {
|
|
145346
|
+
case "ELIGIBILITY_SOURCE_TYPE_UNKNOWN":
|
|
145347
|
+
case 0:
|
|
145348
|
+
message.source = 0;
|
|
145349
|
+
break;
|
|
145350
|
+
case "ELIGIBILITY_SOURCE_TYPE_ELF":
|
|
145351
|
+
case 1:
|
|
145352
|
+
message.source = 1;
|
|
145353
|
+
break;
|
|
145354
|
+
case "ELIGIBILITY_SOURCE_TYPE_SCIM":
|
|
145355
|
+
case 2:
|
|
145356
|
+
message.source = 2;
|
|
145357
|
+
break;
|
|
145358
|
+
case "ELIGIBILITY_SOURCE_TYPE_API":
|
|
145359
|
+
case 3:
|
|
145360
|
+
message.source = 3;
|
|
145361
|
+
break;
|
|
145362
|
+
case "ELIGIBILITY_SOURCE_TYPE_GINGER":
|
|
145363
|
+
case 4:
|
|
145364
|
+
message.source = 4;
|
|
145365
|
+
break;
|
|
145366
|
+
}
|
|
145367
|
+
if (object.externalId != null)
|
|
145368
|
+
message.externalId = String(object.externalId);
|
|
144885
145369
|
return message;
|
|
144886
145370
|
};
|
|
144887
145371
|
|
|
@@ -144906,6 +145390,8 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
144906
145390
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
144907
145391
|
object.collectiveUuid = "";
|
|
144908
145392
|
object.uuid = "";
|
|
145393
|
+
object.source = options.enums === String ? "ELIGIBILITY_SOURCE_TYPE_UNKNOWN" : 0;
|
|
145394
|
+
object.externalId = "";
|
|
144909
145395
|
}
|
|
144910
145396
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
144911
145397
|
if (typeof message.timestamp === "number")
|
|
@@ -144916,6 +145402,10 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
144916
145402
|
object.collectiveUuid = message.collectiveUuid;
|
|
144917
145403
|
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
144918
145404
|
object.uuid = message.uuid;
|
|
145405
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
145406
|
+
object.source = options.enums === String ? $root.EligibilitySourceType[message.source] : message.source;
|
|
145407
|
+
if (message.externalId != null && message.hasOwnProperty("externalId"))
|
|
145408
|
+
object.externalId = message.externalId;
|
|
144919
145409
|
return object;
|
|
144920
145410
|
};
|
|
144921
145411
|
|
|
@@ -144942,6 +145432,8 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
144942
145432
|
* @property {number|Long|null} [timestamp] EligibilityRecordUpdated timestamp
|
|
144943
145433
|
* @property {string|null} [collectiveUuid] EligibilityRecordUpdated collectiveUuid
|
|
144944
145434
|
* @property {string|null} [uuid] EligibilityRecordUpdated uuid
|
|
145435
|
+
* @property {EligibilitySourceType|null} [source] EligibilityRecordUpdated source
|
|
145436
|
+
* @property {string|null} [externalId] EligibilityRecordUpdated externalId
|
|
144945
145437
|
*/
|
|
144946
145438
|
|
|
144947
145439
|
/**
|
|
@@ -144983,6 +145475,22 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
144983
145475
|
*/
|
|
144984
145476
|
EligibilityRecordUpdated.prototype.uuid = "";
|
|
144985
145477
|
|
|
145478
|
+
/**
|
|
145479
|
+
* EligibilityRecordUpdated source.
|
|
145480
|
+
* @member {EligibilitySourceType} source
|
|
145481
|
+
* @memberof EligibilityRecordUpdated
|
|
145482
|
+
* @instance
|
|
145483
|
+
*/
|
|
145484
|
+
EligibilityRecordUpdated.prototype.source = 0;
|
|
145485
|
+
|
|
145486
|
+
/**
|
|
145487
|
+
* EligibilityRecordUpdated externalId.
|
|
145488
|
+
* @member {string} externalId
|
|
145489
|
+
* @memberof EligibilityRecordUpdated
|
|
145490
|
+
* @instance
|
|
145491
|
+
*/
|
|
145492
|
+
EligibilityRecordUpdated.prototype.externalId = "";
|
|
145493
|
+
|
|
144986
145494
|
/**
|
|
144987
145495
|
* Creates a new EligibilityRecordUpdated instance using the specified properties.
|
|
144988
145496
|
* @function create
|
|
@@ -145013,6 +145521,10 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145013
145521
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.collectiveUuid);
|
|
145014
145522
|
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
145015
145523
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid);
|
|
145524
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
145525
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.source);
|
|
145526
|
+
if (message.externalId != null && message.hasOwnProperty("externalId"))
|
|
145527
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.externalId);
|
|
145016
145528
|
return writer;
|
|
145017
145529
|
};
|
|
145018
145530
|
|
|
@@ -145056,6 +145568,12 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145056
145568
|
case 3:
|
|
145057
145569
|
message.uuid = reader.string();
|
|
145058
145570
|
break;
|
|
145571
|
+
case 4:
|
|
145572
|
+
message.source = reader.int32();
|
|
145573
|
+
break;
|
|
145574
|
+
case 5:
|
|
145575
|
+
message.externalId = reader.string();
|
|
145576
|
+
break;
|
|
145059
145577
|
default:
|
|
145060
145578
|
reader.skipType(tag & 7);
|
|
145061
145579
|
break;
|
|
@@ -145100,6 +145618,20 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145100
145618
|
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
145101
145619
|
if (!$util.isString(message.uuid))
|
|
145102
145620
|
return "uuid: string expected";
|
|
145621
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
145622
|
+
switch (message.source) {
|
|
145623
|
+
default:
|
|
145624
|
+
return "source: enum value expected";
|
|
145625
|
+
case 0:
|
|
145626
|
+
case 1:
|
|
145627
|
+
case 2:
|
|
145628
|
+
case 3:
|
|
145629
|
+
case 4:
|
|
145630
|
+
break;
|
|
145631
|
+
}
|
|
145632
|
+
if (message.externalId != null && message.hasOwnProperty("externalId"))
|
|
145633
|
+
if (!$util.isString(message.externalId))
|
|
145634
|
+
return "externalId: string expected";
|
|
145103
145635
|
return null;
|
|
145104
145636
|
};
|
|
145105
145637
|
|
|
@@ -145128,6 +145660,30 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145128
145660
|
message.collectiveUuid = String(object.collectiveUuid);
|
|
145129
145661
|
if (object.uuid != null)
|
|
145130
145662
|
message.uuid = String(object.uuid);
|
|
145663
|
+
switch (object.source) {
|
|
145664
|
+
case "ELIGIBILITY_SOURCE_TYPE_UNKNOWN":
|
|
145665
|
+
case 0:
|
|
145666
|
+
message.source = 0;
|
|
145667
|
+
break;
|
|
145668
|
+
case "ELIGIBILITY_SOURCE_TYPE_ELF":
|
|
145669
|
+
case 1:
|
|
145670
|
+
message.source = 1;
|
|
145671
|
+
break;
|
|
145672
|
+
case "ELIGIBILITY_SOURCE_TYPE_SCIM":
|
|
145673
|
+
case 2:
|
|
145674
|
+
message.source = 2;
|
|
145675
|
+
break;
|
|
145676
|
+
case "ELIGIBILITY_SOURCE_TYPE_API":
|
|
145677
|
+
case 3:
|
|
145678
|
+
message.source = 3;
|
|
145679
|
+
break;
|
|
145680
|
+
case "ELIGIBILITY_SOURCE_TYPE_GINGER":
|
|
145681
|
+
case 4:
|
|
145682
|
+
message.source = 4;
|
|
145683
|
+
break;
|
|
145684
|
+
}
|
|
145685
|
+
if (object.externalId != null)
|
|
145686
|
+
message.externalId = String(object.externalId);
|
|
145131
145687
|
return message;
|
|
145132
145688
|
};
|
|
145133
145689
|
|
|
@@ -145152,6 +145708,8 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145152
145708
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
145153
145709
|
object.collectiveUuid = "";
|
|
145154
145710
|
object.uuid = "";
|
|
145711
|
+
object.source = options.enums === String ? "ELIGIBILITY_SOURCE_TYPE_UNKNOWN" : 0;
|
|
145712
|
+
object.externalId = "";
|
|
145155
145713
|
}
|
|
145156
145714
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
145157
145715
|
if (typeof message.timestamp === "number")
|
|
@@ -145162,6 +145720,10 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145162
145720
|
object.collectiveUuid = message.collectiveUuid;
|
|
145163
145721
|
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
145164
145722
|
object.uuid = message.uuid;
|
|
145723
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
145724
|
+
object.source = options.enums === String ? $root.EligibilitySourceType[message.source] : message.source;
|
|
145725
|
+
if (message.externalId != null && message.hasOwnProperty("externalId"))
|
|
145726
|
+
object.externalId = message.externalId;
|
|
145165
145727
|
return object;
|
|
145166
145728
|
};
|
|
145167
145729
|
|
|
@@ -145188,6 +145750,8 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
145188
145750
|
* @property {number|Long|null} [timestamp] EligibilityRecordRemoved timestamp
|
|
145189
145751
|
* @property {string|null} [collectiveUuid] EligibilityRecordRemoved collectiveUuid
|
|
145190
145752
|
* @property {string|null} [uuid] EligibilityRecordRemoved uuid
|
|
145753
|
+
* @property {EligibilitySourceType|null} [source] EligibilityRecordRemoved source
|
|
145754
|
+
* @property {string|null} [externalId] EligibilityRecordRemoved externalId
|
|
145191
145755
|
*/
|
|
145192
145756
|
|
|
145193
145757
|
/**
|
|
@@ -145229,6 +145793,22 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
145229
145793
|
*/
|
|
145230
145794
|
EligibilityRecordRemoved.prototype.uuid = "";
|
|
145231
145795
|
|
|
145796
|
+
/**
|
|
145797
|
+
* EligibilityRecordRemoved source.
|
|
145798
|
+
* @member {EligibilitySourceType} source
|
|
145799
|
+
* @memberof EligibilityRecordRemoved
|
|
145800
|
+
* @instance
|
|
145801
|
+
*/
|
|
145802
|
+
EligibilityRecordRemoved.prototype.source = 0;
|
|
145803
|
+
|
|
145804
|
+
/**
|
|
145805
|
+
* EligibilityRecordRemoved externalId.
|
|
145806
|
+
* @member {string} externalId
|
|
145807
|
+
* @memberof EligibilityRecordRemoved
|
|
145808
|
+
* @instance
|
|
145809
|
+
*/
|
|
145810
|
+
EligibilityRecordRemoved.prototype.externalId = "";
|
|
145811
|
+
|
|
145232
145812
|
/**
|
|
145233
145813
|
* Creates a new EligibilityRecordRemoved instance using the specified properties.
|
|
145234
145814
|
* @function create
|
|
@@ -145259,6 +145839,10 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
145259
145839
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.collectiveUuid);
|
|
145260
145840
|
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
145261
145841
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid);
|
|
145842
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
145843
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.source);
|
|
145844
|
+
if (message.externalId != null && message.hasOwnProperty("externalId"))
|
|
145845
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.externalId);
|
|
145262
145846
|
return writer;
|
|
145263
145847
|
};
|
|
145264
145848
|
|
|
@@ -145302,6 +145886,12 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
145302
145886
|
case 3:
|
|
145303
145887
|
message.uuid = reader.string();
|
|
145304
145888
|
break;
|
|
145889
|
+
case 4:
|
|
145890
|
+
message.source = reader.int32();
|
|
145891
|
+
break;
|
|
145892
|
+
case 5:
|
|
145893
|
+
message.externalId = reader.string();
|
|
145894
|
+
break;
|
|
145305
145895
|
default:
|
|
145306
145896
|
reader.skipType(tag & 7);
|
|
145307
145897
|
break;
|
|
@@ -145346,6 +145936,20 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
145346
145936
|
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
145347
145937
|
if (!$util.isString(message.uuid))
|
|
145348
145938
|
return "uuid: string expected";
|
|
145939
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
145940
|
+
switch (message.source) {
|
|
145941
|
+
default:
|
|
145942
|
+
return "source: enum value expected";
|
|
145943
|
+
case 0:
|
|
145944
|
+
case 1:
|
|
145945
|
+
case 2:
|
|
145946
|
+
case 3:
|
|
145947
|
+
case 4:
|
|
145948
|
+
break;
|
|
145949
|
+
}
|
|
145950
|
+
if (message.externalId != null && message.hasOwnProperty("externalId"))
|
|
145951
|
+
if (!$util.isString(message.externalId))
|
|
145952
|
+
return "externalId: string expected";
|
|
145349
145953
|
return null;
|
|
145350
145954
|
};
|
|
145351
145955
|
|
|
@@ -145374,6 +145978,30 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
145374
145978
|
message.collectiveUuid = String(object.collectiveUuid);
|
|
145375
145979
|
if (object.uuid != null)
|
|
145376
145980
|
message.uuid = String(object.uuid);
|
|
145981
|
+
switch (object.source) {
|
|
145982
|
+
case "ELIGIBILITY_SOURCE_TYPE_UNKNOWN":
|
|
145983
|
+
case 0:
|
|
145984
|
+
message.source = 0;
|
|
145985
|
+
break;
|
|
145986
|
+
case "ELIGIBILITY_SOURCE_TYPE_ELF":
|
|
145987
|
+
case 1:
|
|
145988
|
+
message.source = 1;
|
|
145989
|
+
break;
|
|
145990
|
+
case "ELIGIBILITY_SOURCE_TYPE_SCIM":
|
|
145991
|
+
case 2:
|
|
145992
|
+
message.source = 2;
|
|
145993
|
+
break;
|
|
145994
|
+
case "ELIGIBILITY_SOURCE_TYPE_API":
|
|
145995
|
+
case 3:
|
|
145996
|
+
message.source = 3;
|
|
145997
|
+
break;
|
|
145998
|
+
case "ELIGIBILITY_SOURCE_TYPE_GINGER":
|
|
145999
|
+
case 4:
|
|
146000
|
+
message.source = 4;
|
|
146001
|
+
break;
|
|
146002
|
+
}
|
|
146003
|
+
if (object.externalId != null)
|
|
146004
|
+
message.externalId = String(object.externalId);
|
|
145377
146005
|
return message;
|
|
145378
146006
|
};
|
|
145379
146007
|
|
|
@@ -145398,6 +146026,8 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
145398
146026
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
145399
146027
|
object.collectiveUuid = "";
|
|
145400
146028
|
object.uuid = "";
|
|
146029
|
+
object.source = options.enums === String ? "ELIGIBILITY_SOURCE_TYPE_UNKNOWN" : 0;
|
|
146030
|
+
object.externalId = "";
|
|
145401
146031
|
}
|
|
145402
146032
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
145403
146033
|
if (typeof message.timestamp === "number")
|
|
@@ -145408,6 +146038,10 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
145408
146038
|
object.collectiveUuid = message.collectiveUuid;
|
|
145409
146039
|
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
145410
146040
|
object.uuid = message.uuid;
|
|
146041
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
146042
|
+
object.source = options.enums === String ? $root.EligibilitySourceType[message.source] : message.source;
|
|
146043
|
+
if (message.externalId != null && message.hasOwnProperty("externalId"))
|
|
146044
|
+
object.externalId = message.externalId;
|
|
145411
146045
|
return object;
|
|
145412
146046
|
};
|
|
145413
146047
|
|
|
@@ -146046,6 +146680,26 @@ $root.ChangedEnrollmentComparisonCompleted = (function() {
|
|
|
146046
146680
|
return ChangedEnrollmentComparisonCompleted;
|
|
146047
146681
|
})();
|
|
146048
146682
|
|
|
146683
|
+
/**
|
|
146684
|
+
* EligibilitySourceType enum.
|
|
146685
|
+
* @name EligibilitySourceType
|
|
146686
|
+
* @enum {string}
|
|
146687
|
+
* @property {number} ELIGIBILITY_SOURCE_TYPE_UNKNOWN=0 ELIGIBILITY_SOURCE_TYPE_UNKNOWN value
|
|
146688
|
+
* @property {number} ELIGIBILITY_SOURCE_TYPE_ELF=1 ELIGIBILITY_SOURCE_TYPE_ELF value
|
|
146689
|
+
* @property {number} ELIGIBILITY_SOURCE_TYPE_SCIM=2 ELIGIBILITY_SOURCE_TYPE_SCIM value
|
|
146690
|
+
* @property {number} ELIGIBILITY_SOURCE_TYPE_API=3 ELIGIBILITY_SOURCE_TYPE_API value
|
|
146691
|
+
* @property {number} ELIGIBILITY_SOURCE_TYPE_GINGER=4 ELIGIBILITY_SOURCE_TYPE_GINGER value
|
|
146692
|
+
*/
|
|
146693
|
+
$root.EligibilitySourceType = (function() {
|
|
146694
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
146695
|
+
values[valuesById[0] = "ELIGIBILITY_SOURCE_TYPE_UNKNOWN"] = 0;
|
|
146696
|
+
values[valuesById[1] = "ELIGIBILITY_SOURCE_TYPE_ELF"] = 1;
|
|
146697
|
+
values[valuesById[2] = "ELIGIBILITY_SOURCE_TYPE_SCIM"] = 2;
|
|
146698
|
+
values[valuesById[3] = "ELIGIBILITY_SOURCE_TYPE_API"] = 3;
|
|
146699
|
+
values[valuesById[4] = "ELIGIBILITY_SOURCE_TYPE_GINGER"] = 4;
|
|
146700
|
+
return values;
|
|
146701
|
+
})();
|
|
146702
|
+
|
|
146049
146703
|
$root.PartnershipMemberEnrolled = (function() {
|
|
146050
146704
|
|
|
146051
146705
|
/**
|
package/package.json
CHANGED