@headspace/protos-events 1.663.0 → 1.665.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 +108 -12
- package/lib/index.js +280 -51
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -33563,6 +33563,102 @@ export class ClinicalAppointmentCreated implements IClinicalAppointmentCreated {
|
|
|
33563
33563
|
public toJSON(): { [k: string]: any };
|
|
33564
33564
|
}
|
|
33565
33565
|
|
|
33566
|
+
/** Properties of a ClinicalAppointmentScheduled. */
|
|
33567
|
+
export interface IClinicalAppointmentScheduled {
|
|
33568
|
+
|
|
33569
|
+
/** ClinicalAppointmentScheduled timestamp */
|
|
33570
|
+
timestamp?: (number|Long|null);
|
|
33571
|
+
|
|
33572
|
+
/** ClinicalAppointmentScheduled clinicalAppointment */
|
|
33573
|
+
clinicalAppointment?: (IClinicalAppointment|null);
|
|
33574
|
+
}
|
|
33575
|
+
|
|
33576
|
+
/** Represents a ClinicalAppointmentScheduled. */
|
|
33577
|
+
export class ClinicalAppointmentScheduled implements IClinicalAppointmentScheduled {
|
|
33578
|
+
|
|
33579
|
+
/**
|
|
33580
|
+
* Constructs a new ClinicalAppointmentScheduled.
|
|
33581
|
+
* @param [properties] Properties to set
|
|
33582
|
+
*/
|
|
33583
|
+
constructor(properties?: IClinicalAppointmentScheduled);
|
|
33584
|
+
|
|
33585
|
+
/** ClinicalAppointmentScheduled timestamp. */
|
|
33586
|
+
public timestamp: (number|Long);
|
|
33587
|
+
|
|
33588
|
+
/** ClinicalAppointmentScheduled clinicalAppointment. */
|
|
33589
|
+
public clinicalAppointment?: (IClinicalAppointment|null);
|
|
33590
|
+
|
|
33591
|
+
/**
|
|
33592
|
+
* Creates a new ClinicalAppointmentScheduled instance using the specified properties.
|
|
33593
|
+
* @param [properties] Properties to set
|
|
33594
|
+
* @returns ClinicalAppointmentScheduled instance
|
|
33595
|
+
*/
|
|
33596
|
+
public static create(properties?: IClinicalAppointmentScheduled): ClinicalAppointmentScheduled;
|
|
33597
|
+
|
|
33598
|
+
/**
|
|
33599
|
+
* Encodes the specified ClinicalAppointmentScheduled message. Does not implicitly {@link ClinicalAppointmentScheduled.verify|verify} messages.
|
|
33600
|
+
* @param message ClinicalAppointmentScheduled message or plain object to encode
|
|
33601
|
+
* @param [writer] Writer to encode to
|
|
33602
|
+
* @returns Writer
|
|
33603
|
+
*/
|
|
33604
|
+
public static encode(message: IClinicalAppointmentScheduled, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33605
|
+
|
|
33606
|
+
/**
|
|
33607
|
+
* Encodes the specified ClinicalAppointmentScheduled message, length delimited. Does not implicitly {@link ClinicalAppointmentScheduled.verify|verify} messages.
|
|
33608
|
+
* @param message ClinicalAppointmentScheduled message or plain object to encode
|
|
33609
|
+
* @param [writer] Writer to encode to
|
|
33610
|
+
* @returns Writer
|
|
33611
|
+
*/
|
|
33612
|
+
public static encodeDelimited(message: IClinicalAppointmentScheduled, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33613
|
+
|
|
33614
|
+
/**
|
|
33615
|
+
* Decodes a ClinicalAppointmentScheduled message from the specified reader or buffer.
|
|
33616
|
+
* @param reader Reader or buffer to decode from
|
|
33617
|
+
* @param [length] Message length if known beforehand
|
|
33618
|
+
* @returns ClinicalAppointmentScheduled
|
|
33619
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33620
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33621
|
+
*/
|
|
33622
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ClinicalAppointmentScheduled;
|
|
33623
|
+
|
|
33624
|
+
/**
|
|
33625
|
+
* Decodes a ClinicalAppointmentScheduled message from the specified reader or buffer, length delimited.
|
|
33626
|
+
* @param reader Reader or buffer to decode from
|
|
33627
|
+
* @returns ClinicalAppointmentScheduled
|
|
33628
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33629
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33630
|
+
*/
|
|
33631
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ClinicalAppointmentScheduled;
|
|
33632
|
+
|
|
33633
|
+
/**
|
|
33634
|
+
* Verifies a ClinicalAppointmentScheduled message.
|
|
33635
|
+
* @param message Plain object to verify
|
|
33636
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
33637
|
+
*/
|
|
33638
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
33639
|
+
|
|
33640
|
+
/**
|
|
33641
|
+
* Creates a ClinicalAppointmentScheduled message from a plain object. Also converts values to their respective internal types.
|
|
33642
|
+
* @param object Plain object
|
|
33643
|
+
* @returns ClinicalAppointmentScheduled
|
|
33644
|
+
*/
|
|
33645
|
+
public static fromObject(object: { [k: string]: any }): ClinicalAppointmentScheduled;
|
|
33646
|
+
|
|
33647
|
+
/**
|
|
33648
|
+
* Creates a plain object from a ClinicalAppointmentScheduled message. Also converts values to other types if specified.
|
|
33649
|
+
* @param message ClinicalAppointmentScheduled
|
|
33650
|
+
* @param [options] Conversion options
|
|
33651
|
+
* @returns Plain object
|
|
33652
|
+
*/
|
|
33653
|
+
public static toObject(message: ClinicalAppointmentScheduled, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33654
|
+
|
|
33655
|
+
/**
|
|
33656
|
+
* Converts this ClinicalAppointmentScheduled to JSON.
|
|
33657
|
+
* @returns JSON object
|
|
33658
|
+
*/
|
|
33659
|
+
public toJSON(): { [k: string]: any };
|
|
33660
|
+
}
|
|
33661
|
+
|
|
33566
33662
|
/** Properties of a ClinicalAppointmentUpdated. */
|
|
33567
33663
|
export interface IClinicalAppointmentUpdated {
|
|
33568
33664
|
|
|
@@ -52497,8 +52593,8 @@ export interface IEligibilityRecordCreated {
|
|
|
52497
52593
|
/** EligibilityRecordCreated collectiveUuid */
|
|
52498
52594
|
collectiveUuid?: (string|null);
|
|
52499
52595
|
|
|
52500
|
-
/** EligibilityRecordCreated
|
|
52501
|
-
|
|
52596
|
+
/** EligibilityRecordCreated eligibilityRecord */
|
|
52597
|
+
eligibilityRecord?: (IEligibilityRecord|null);
|
|
52502
52598
|
}
|
|
52503
52599
|
|
|
52504
52600
|
/** Represents an EligibilityRecordCreated. */
|
|
@@ -52516,8 +52612,8 @@ export class EligibilityRecordCreated implements IEligibilityRecordCreated {
|
|
|
52516
52612
|
/** EligibilityRecordCreated collectiveUuid. */
|
|
52517
52613
|
public collectiveUuid: string;
|
|
52518
52614
|
|
|
52519
|
-
/** EligibilityRecordCreated
|
|
52520
|
-
public
|
|
52615
|
+
/** EligibilityRecordCreated eligibilityRecord. */
|
|
52616
|
+
public eligibilityRecord?: (IEligibilityRecord|null);
|
|
52521
52617
|
|
|
52522
52618
|
/**
|
|
52523
52619
|
* Creates a new EligibilityRecordCreated instance using the specified properties.
|
|
@@ -52599,8 +52695,8 @@ export interface IEligibilityRecordUpdated {
|
|
|
52599
52695
|
/** EligibilityRecordUpdated collectiveUuid */
|
|
52600
52696
|
collectiveUuid?: (string|null);
|
|
52601
52697
|
|
|
52602
|
-
/** EligibilityRecordUpdated
|
|
52603
|
-
|
|
52698
|
+
/** EligibilityRecordUpdated eligibilityRecord */
|
|
52699
|
+
eligibilityRecord?: (IEligibilityRecord|null);
|
|
52604
52700
|
}
|
|
52605
52701
|
|
|
52606
52702
|
/** Represents an EligibilityRecordUpdated. */
|
|
@@ -52618,8 +52714,8 @@ export class EligibilityRecordUpdated implements IEligibilityRecordUpdated {
|
|
|
52618
52714
|
/** EligibilityRecordUpdated collectiveUuid. */
|
|
52619
52715
|
public collectiveUuid: string;
|
|
52620
52716
|
|
|
52621
|
-
/** EligibilityRecordUpdated
|
|
52622
|
-
public
|
|
52717
|
+
/** EligibilityRecordUpdated eligibilityRecord. */
|
|
52718
|
+
public eligibilityRecord?: (IEligibilityRecord|null);
|
|
52623
52719
|
|
|
52624
52720
|
/**
|
|
52625
52721
|
* Creates a new EligibilityRecordUpdated instance using the specified properties.
|
|
@@ -52701,8 +52797,8 @@ export interface IEligibilityRecordRemoved {
|
|
|
52701
52797
|
/** EligibilityRecordRemoved collectiveUuid */
|
|
52702
52798
|
collectiveUuid?: (string|null);
|
|
52703
52799
|
|
|
52704
|
-
/** EligibilityRecordRemoved
|
|
52705
|
-
|
|
52800
|
+
/** EligibilityRecordRemoved eligibilityRecord */
|
|
52801
|
+
eligibilityRecord?: (IEligibilityRecord|null);
|
|
52706
52802
|
}
|
|
52707
52803
|
|
|
52708
52804
|
/** Represents an EligibilityRecordRemoved. */
|
|
@@ -52720,8 +52816,8 @@ export class EligibilityRecordRemoved implements IEligibilityRecordRemoved {
|
|
|
52720
52816
|
/** EligibilityRecordRemoved collectiveUuid. */
|
|
52721
52817
|
public collectiveUuid: string;
|
|
52722
52818
|
|
|
52723
|
-
/** EligibilityRecordRemoved
|
|
52724
|
-
public
|
|
52819
|
+
/** EligibilityRecordRemoved eligibilityRecord. */
|
|
52820
|
+
public eligibilityRecord?: (IEligibilityRecord|null);
|
|
52725
52821
|
|
|
52726
52822
|
/**
|
|
52727
52823
|
* Creates a new EligibilityRecordRemoved instance using the specified properties.
|
package/lib/index.js
CHANGED
|
@@ -96166,6 +96166,235 @@ $root.ClinicalAppointmentCreated = (function() {
|
|
|
96166
96166
|
return ClinicalAppointmentCreated;
|
|
96167
96167
|
})();
|
|
96168
96168
|
|
|
96169
|
+
$root.ClinicalAppointmentScheduled = (function() {
|
|
96170
|
+
|
|
96171
|
+
/**
|
|
96172
|
+
* Properties of a ClinicalAppointmentScheduled.
|
|
96173
|
+
* @name IClinicalAppointmentScheduled
|
|
96174
|
+
* @interface IClinicalAppointmentScheduled
|
|
96175
|
+
* @property {number|Long|null} [timestamp] ClinicalAppointmentScheduled timestamp
|
|
96176
|
+
* @property {IClinicalAppointment|null} [clinicalAppointment] ClinicalAppointmentScheduled clinicalAppointment
|
|
96177
|
+
*/
|
|
96178
|
+
|
|
96179
|
+
/**
|
|
96180
|
+
* Constructs a new ClinicalAppointmentScheduled.
|
|
96181
|
+
* @name ClinicalAppointmentScheduled
|
|
96182
|
+
* @classdesc Represents a ClinicalAppointmentScheduled.
|
|
96183
|
+
* @implements IClinicalAppointmentScheduled
|
|
96184
|
+
* @constructor
|
|
96185
|
+
* @param {IClinicalAppointmentScheduled=} [properties] Properties to set
|
|
96186
|
+
*/
|
|
96187
|
+
function ClinicalAppointmentScheduled(properties) {
|
|
96188
|
+
if (properties)
|
|
96189
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
96190
|
+
if (properties[keys[i]] != null)
|
|
96191
|
+
this[keys[i]] = properties[keys[i]];
|
|
96192
|
+
}
|
|
96193
|
+
|
|
96194
|
+
/**
|
|
96195
|
+
* ClinicalAppointmentScheduled timestamp.
|
|
96196
|
+
* @member {number|Long} timestamp
|
|
96197
|
+
* @memberof ClinicalAppointmentScheduled
|
|
96198
|
+
* @instance
|
|
96199
|
+
*/
|
|
96200
|
+
ClinicalAppointmentScheduled.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
96201
|
+
|
|
96202
|
+
/**
|
|
96203
|
+
* ClinicalAppointmentScheduled clinicalAppointment.
|
|
96204
|
+
* @member {IClinicalAppointment|null|undefined} clinicalAppointment
|
|
96205
|
+
* @memberof ClinicalAppointmentScheduled
|
|
96206
|
+
* @instance
|
|
96207
|
+
*/
|
|
96208
|
+
ClinicalAppointmentScheduled.prototype.clinicalAppointment = null;
|
|
96209
|
+
|
|
96210
|
+
/**
|
|
96211
|
+
* Creates a new ClinicalAppointmentScheduled instance using the specified properties.
|
|
96212
|
+
* @function create
|
|
96213
|
+
* @memberof ClinicalAppointmentScheduled
|
|
96214
|
+
* @static
|
|
96215
|
+
* @param {IClinicalAppointmentScheduled=} [properties] Properties to set
|
|
96216
|
+
* @returns {ClinicalAppointmentScheduled} ClinicalAppointmentScheduled instance
|
|
96217
|
+
*/
|
|
96218
|
+
ClinicalAppointmentScheduled.create = function create(properties) {
|
|
96219
|
+
return new ClinicalAppointmentScheduled(properties);
|
|
96220
|
+
};
|
|
96221
|
+
|
|
96222
|
+
/**
|
|
96223
|
+
* Encodes the specified ClinicalAppointmentScheduled message. Does not implicitly {@link ClinicalAppointmentScheduled.verify|verify} messages.
|
|
96224
|
+
* @function encode
|
|
96225
|
+
* @memberof ClinicalAppointmentScheduled
|
|
96226
|
+
* @static
|
|
96227
|
+
* @param {IClinicalAppointmentScheduled} message ClinicalAppointmentScheduled message or plain object to encode
|
|
96228
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
96229
|
+
* @returns {$protobuf.Writer} Writer
|
|
96230
|
+
*/
|
|
96231
|
+
ClinicalAppointmentScheduled.encode = function encode(message, writer) {
|
|
96232
|
+
if (!writer)
|
|
96233
|
+
writer = $Writer.create();
|
|
96234
|
+
if (message.clinicalAppointment != null && message.hasOwnProperty("clinicalAppointment"))
|
|
96235
|
+
$root.ClinicalAppointment.encode(message.clinicalAppointment, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
96236
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
96237
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
|
|
96238
|
+
return writer;
|
|
96239
|
+
};
|
|
96240
|
+
|
|
96241
|
+
/**
|
|
96242
|
+
* Encodes the specified ClinicalAppointmentScheduled message, length delimited. Does not implicitly {@link ClinicalAppointmentScheduled.verify|verify} messages.
|
|
96243
|
+
* @function encodeDelimited
|
|
96244
|
+
* @memberof ClinicalAppointmentScheduled
|
|
96245
|
+
* @static
|
|
96246
|
+
* @param {IClinicalAppointmentScheduled} message ClinicalAppointmentScheduled message or plain object to encode
|
|
96247
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
96248
|
+
* @returns {$protobuf.Writer} Writer
|
|
96249
|
+
*/
|
|
96250
|
+
ClinicalAppointmentScheduled.encodeDelimited = function encodeDelimited(message, writer) {
|
|
96251
|
+
return this.encode(message, writer).ldelim();
|
|
96252
|
+
};
|
|
96253
|
+
|
|
96254
|
+
/**
|
|
96255
|
+
* Decodes a ClinicalAppointmentScheduled message from the specified reader or buffer.
|
|
96256
|
+
* @function decode
|
|
96257
|
+
* @memberof ClinicalAppointmentScheduled
|
|
96258
|
+
* @static
|
|
96259
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
96260
|
+
* @param {number} [length] Message length if known beforehand
|
|
96261
|
+
* @returns {ClinicalAppointmentScheduled} ClinicalAppointmentScheduled
|
|
96262
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
96263
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
96264
|
+
*/
|
|
96265
|
+
ClinicalAppointmentScheduled.decode = function decode(reader, length) {
|
|
96266
|
+
if (!(reader instanceof $Reader))
|
|
96267
|
+
reader = $Reader.create(reader);
|
|
96268
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ClinicalAppointmentScheduled();
|
|
96269
|
+
while (reader.pos < end) {
|
|
96270
|
+
var tag = reader.uint32();
|
|
96271
|
+
switch (tag >>> 3) {
|
|
96272
|
+
case 2:
|
|
96273
|
+
message.timestamp = reader.uint64();
|
|
96274
|
+
break;
|
|
96275
|
+
case 1:
|
|
96276
|
+
message.clinicalAppointment = $root.ClinicalAppointment.decode(reader, reader.uint32());
|
|
96277
|
+
break;
|
|
96278
|
+
default:
|
|
96279
|
+
reader.skipType(tag & 7);
|
|
96280
|
+
break;
|
|
96281
|
+
}
|
|
96282
|
+
}
|
|
96283
|
+
return message;
|
|
96284
|
+
};
|
|
96285
|
+
|
|
96286
|
+
/**
|
|
96287
|
+
* Decodes a ClinicalAppointmentScheduled message from the specified reader or buffer, length delimited.
|
|
96288
|
+
* @function decodeDelimited
|
|
96289
|
+
* @memberof ClinicalAppointmentScheduled
|
|
96290
|
+
* @static
|
|
96291
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
96292
|
+
* @returns {ClinicalAppointmentScheduled} ClinicalAppointmentScheduled
|
|
96293
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
96294
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
96295
|
+
*/
|
|
96296
|
+
ClinicalAppointmentScheduled.decodeDelimited = function decodeDelimited(reader) {
|
|
96297
|
+
if (!(reader instanceof $Reader))
|
|
96298
|
+
reader = new $Reader(reader);
|
|
96299
|
+
return this.decode(reader, reader.uint32());
|
|
96300
|
+
};
|
|
96301
|
+
|
|
96302
|
+
/**
|
|
96303
|
+
* Verifies a ClinicalAppointmentScheduled message.
|
|
96304
|
+
* @function verify
|
|
96305
|
+
* @memberof ClinicalAppointmentScheduled
|
|
96306
|
+
* @static
|
|
96307
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
96308
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
96309
|
+
*/
|
|
96310
|
+
ClinicalAppointmentScheduled.verify = function verify(message) {
|
|
96311
|
+
if (typeof message !== "object" || message === null)
|
|
96312
|
+
return "object expected";
|
|
96313
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
96314
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
96315
|
+
return "timestamp: integer|Long expected";
|
|
96316
|
+
if (message.clinicalAppointment != null && message.hasOwnProperty("clinicalAppointment")) {
|
|
96317
|
+
var error = $root.ClinicalAppointment.verify(message.clinicalAppointment);
|
|
96318
|
+
if (error)
|
|
96319
|
+
return "clinicalAppointment." + error;
|
|
96320
|
+
}
|
|
96321
|
+
return null;
|
|
96322
|
+
};
|
|
96323
|
+
|
|
96324
|
+
/**
|
|
96325
|
+
* Creates a ClinicalAppointmentScheduled message from a plain object. Also converts values to their respective internal types.
|
|
96326
|
+
* @function fromObject
|
|
96327
|
+
* @memberof ClinicalAppointmentScheduled
|
|
96328
|
+
* @static
|
|
96329
|
+
* @param {Object.<string,*>} object Plain object
|
|
96330
|
+
* @returns {ClinicalAppointmentScheduled} ClinicalAppointmentScheduled
|
|
96331
|
+
*/
|
|
96332
|
+
ClinicalAppointmentScheduled.fromObject = function fromObject(object) {
|
|
96333
|
+
if (object instanceof $root.ClinicalAppointmentScheduled)
|
|
96334
|
+
return object;
|
|
96335
|
+
var message = new $root.ClinicalAppointmentScheduled();
|
|
96336
|
+
if (object.timestamp != null)
|
|
96337
|
+
if ($util.Long)
|
|
96338
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
96339
|
+
else if (typeof object.timestamp === "string")
|
|
96340
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
96341
|
+
else if (typeof object.timestamp === "number")
|
|
96342
|
+
message.timestamp = object.timestamp;
|
|
96343
|
+
else if (typeof object.timestamp === "object")
|
|
96344
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
96345
|
+
if (object.clinicalAppointment != null) {
|
|
96346
|
+
if (typeof object.clinicalAppointment !== "object")
|
|
96347
|
+
throw TypeError(".ClinicalAppointmentScheduled.clinicalAppointment: object expected");
|
|
96348
|
+
message.clinicalAppointment = $root.ClinicalAppointment.fromObject(object.clinicalAppointment);
|
|
96349
|
+
}
|
|
96350
|
+
return message;
|
|
96351
|
+
};
|
|
96352
|
+
|
|
96353
|
+
/**
|
|
96354
|
+
* Creates a plain object from a ClinicalAppointmentScheduled message. Also converts values to other types if specified.
|
|
96355
|
+
* @function toObject
|
|
96356
|
+
* @memberof ClinicalAppointmentScheduled
|
|
96357
|
+
* @static
|
|
96358
|
+
* @param {ClinicalAppointmentScheduled} message ClinicalAppointmentScheduled
|
|
96359
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
96360
|
+
* @returns {Object.<string,*>} Plain object
|
|
96361
|
+
*/
|
|
96362
|
+
ClinicalAppointmentScheduled.toObject = function toObject(message, options) {
|
|
96363
|
+
if (!options)
|
|
96364
|
+
options = {};
|
|
96365
|
+
var object = {};
|
|
96366
|
+
if (options.defaults) {
|
|
96367
|
+
object.clinicalAppointment = null;
|
|
96368
|
+
if ($util.Long) {
|
|
96369
|
+
var long = new $util.Long(0, 0, true);
|
|
96370
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
96371
|
+
} else
|
|
96372
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
96373
|
+
}
|
|
96374
|
+
if (message.clinicalAppointment != null && message.hasOwnProperty("clinicalAppointment"))
|
|
96375
|
+
object.clinicalAppointment = $root.ClinicalAppointment.toObject(message.clinicalAppointment, options);
|
|
96376
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
96377
|
+
if (typeof message.timestamp === "number")
|
|
96378
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
96379
|
+
else
|
|
96380
|
+
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;
|
|
96381
|
+
return object;
|
|
96382
|
+
};
|
|
96383
|
+
|
|
96384
|
+
/**
|
|
96385
|
+
* Converts this ClinicalAppointmentScheduled to JSON.
|
|
96386
|
+
* @function toJSON
|
|
96387
|
+
* @memberof ClinicalAppointmentScheduled
|
|
96388
|
+
* @instance
|
|
96389
|
+
* @returns {Object.<string,*>} JSON object
|
|
96390
|
+
*/
|
|
96391
|
+
ClinicalAppointmentScheduled.prototype.toJSON = function toJSON() {
|
|
96392
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
96393
|
+
};
|
|
96394
|
+
|
|
96395
|
+
return ClinicalAppointmentScheduled;
|
|
96396
|
+
})();
|
|
96397
|
+
|
|
96169
96398
|
$root.ClinicalAppointmentUpdated = (function() {
|
|
96170
96399
|
|
|
96171
96400
|
/**
|
|
@@ -145393,7 +145622,7 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
145393
145622
|
* @interface IEligibilityRecordCreated
|
|
145394
145623
|
* @property {number|Long|null} [timestamp] EligibilityRecordCreated timestamp
|
|
145395
145624
|
* @property {string|null} [collectiveUuid] EligibilityRecordCreated collectiveUuid
|
|
145396
|
-
* @property {IEligibilityRecord|null} [
|
|
145625
|
+
* @property {IEligibilityRecord|null} [eligibilityRecord] EligibilityRecordCreated eligibilityRecord
|
|
145397
145626
|
*/
|
|
145398
145627
|
|
|
145399
145628
|
/**
|
|
@@ -145428,12 +145657,12 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
145428
145657
|
EligibilityRecordCreated.prototype.collectiveUuid = "";
|
|
145429
145658
|
|
|
145430
145659
|
/**
|
|
145431
|
-
* EligibilityRecordCreated
|
|
145432
|
-
* @member {IEligibilityRecord|null|undefined}
|
|
145660
|
+
* EligibilityRecordCreated eligibilityRecord.
|
|
145661
|
+
* @member {IEligibilityRecord|null|undefined} eligibilityRecord
|
|
145433
145662
|
* @memberof EligibilityRecordCreated
|
|
145434
145663
|
* @instance
|
|
145435
145664
|
*/
|
|
145436
|
-
EligibilityRecordCreated.prototype.
|
|
145665
|
+
EligibilityRecordCreated.prototype.eligibilityRecord = null;
|
|
145437
145666
|
|
|
145438
145667
|
/**
|
|
145439
145668
|
* Creates a new EligibilityRecordCreated instance using the specified properties.
|
|
@@ -145463,8 +145692,8 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
145463
145692
|
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
|
|
145464
145693
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
145465
145694
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.collectiveUuid);
|
|
145466
|
-
if (message.
|
|
145467
|
-
$root.EligibilityRecord.encode(message.
|
|
145695
|
+
if (message.eligibilityRecord != null && message.hasOwnProperty("eligibilityRecord"))
|
|
145696
|
+
$root.EligibilityRecord.encode(message.eligibilityRecord, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
145468
145697
|
return writer;
|
|
145469
145698
|
};
|
|
145470
145699
|
|
|
@@ -145506,7 +145735,7 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
145506
145735
|
message.collectiveUuid = reader.string();
|
|
145507
145736
|
break;
|
|
145508
145737
|
case 6:
|
|
145509
|
-
message.
|
|
145738
|
+
message.eligibilityRecord = $root.EligibilityRecord.decode(reader, reader.uint32());
|
|
145510
145739
|
break;
|
|
145511
145740
|
default:
|
|
145512
145741
|
reader.skipType(tag & 7);
|
|
@@ -145549,10 +145778,10 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
145549
145778
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
145550
145779
|
if (!$util.isString(message.collectiveUuid))
|
|
145551
145780
|
return "collectiveUuid: string expected";
|
|
145552
|
-
if (message.
|
|
145553
|
-
var error = $root.EligibilityRecord.verify(message.
|
|
145781
|
+
if (message.eligibilityRecord != null && message.hasOwnProperty("eligibilityRecord")) {
|
|
145782
|
+
var error = $root.EligibilityRecord.verify(message.eligibilityRecord);
|
|
145554
145783
|
if (error)
|
|
145555
|
-
return "
|
|
145784
|
+
return "eligibilityRecord." + error;
|
|
145556
145785
|
}
|
|
145557
145786
|
return null;
|
|
145558
145787
|
};
|
|
@@ -145580,10 +145809,10 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
145580
145809
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
145581
145810
|
if (object.collectiveUuid != null)
|
|
145582
145811
|
message.collectiveUuid = String(object.collectiveUuid);
|
|
145583
|
-
if (object.
|
|
145584
|
-
if (typeof object.
|
|
145585
|
-
throw TypeError(".EligibilityRecordCreated.
|
|
145586
|
-
message.
|
|
145812
|
+
if (object.eligibilityRecord != null) {
|
|
145813
|
+
if (typeof object.eligibilityRecord !== "object")
|
|
145814
|
+
throw TypeError(".EligibilityRecordCreated.eligibilityRecord: object expected");
|
|
145815
|
+
message.eligibilityRecord = $root.EligibilityRecord.fromObject(object.eligibilityRecord);
|
|
145587
145816
|
}
|
|
145588
145817
|
return message;
|
|
145589
145818
|
};
|
|
@@ -145608,7 +145837,7 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
145608
145837
|
} else
|
|
145609
145838
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
145610
145839
|
object.collectiveUuid = "";
|
|
145611
|
-
object.
|
|
145840
|
+
object.eligibilityRecord = null;
|
|
145612
145841
|
}
|
|
145613
145842
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
145614
145843
|
if (typeof message.timestamp === "number")
|
|
@@ -145617,8 +145846,8 @@ $root.EligibilityRecordCreated = (function() {
|
|
|
145617
145846
|
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;
|
|
145618
145847
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
145619
145848
|
object.collectiveUuid = message.collectiveUuid;
|
|
145620
|
-
if (message.
|
|
145621
|
-
object.
|
|
145849
|
+
if (message.eligibilityRecord != null && message.hasOwnProperty("eligibilityRecord"))
|
|
145850
|
+
object.eligibilityRecord = $root.EligibilityRecord.toObject(message.eligibilityRecord, options);
|
|
145622
145851
|
return object;
|
|
145623
145852
|
};
|
|
145624
145853
|
|
|
@@ -145644,7 +145873,7 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145644
145873
|
* @interface IEligibilityRecordUpdated
|
|
145645
145874
|
* @property {number|Long|null} [timestamp] EligibilityRecordUpdated timestamp
|
|
145646
145875
|
* @property {string|null} [collectiveUuid] EligibilityRecordUpdated collectiveUuid
|
|
145647
|
-
* @property {IEligibilityRecord|null} [
|
|
145876
|
+
* @property {IEligibilityRecord|null} [eligibilityRecord] EligibilityRecordUpdated eligibilityRecord
|
|
145648
145877
|
*/
|
|
145649
145878
|
|
|
145650
145879
|
/**
|
|
@@ -145679,12 +145908,12 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145679
145908
|
EligibilityRecordUpdated.prototype.collectiveUuid = "";
|
|
145680
145909
|
|
|
145681
145910
|
/**
|
|
145682
|
-
* EligibilityRecordUpdated
|
|
145683
|
-
* @member {IEligibilityRecord|null|undefined}
|
|
145911
|
+
* EligibilityRecordUpdated eligibilityRecord.
|
|
145912
|
+
* @member {IEligibilityRecord|null|undefined} eligibilityRecord
|
|
145684
145913
|
* @memberof EligibilityRecordUpdated
|
|
145685
145914
|
* @instance
|
|
145686
145915
|
*/
|
|
145687
|
-
EligibilityRecordUpdated.prototype.
|
|
145916
|
+
EligibilityRecordUpdated.prototype.eligibilityRecord = null;
|
|
145688
145917
|
|
|
145689
145918
|
/**
|
|
145690
145919
|
* Creates a new EligibilityRecordUpdated instance using the specified properties.
|
|
@@ -145714,8 +145943,8 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145714
145943
|
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
|
|
145715
145944
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
145716
145945
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.collectiveUuid);
|
|
145717
|
-
if (message.
|
|
145718
|
-
$root.EligibilityRecord.encode(message.
|
|
145946
|
+
if (message.eligibilityRecord != null && message.hasOwnProperty("eligibilityRecord"))
|
|
145947
|
+
$root.EligibilityRecord.encode(message.eligibilityRecord, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
145719
145948
|
return writer;
|
|
145720
145949
|
};
|
|
145721
145950
|
|
|
@@ -145757,7 +145986,7 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145757
145986
|
message.collectiveUuid = reader.string();
|
|
145758
145987
|
break;
|
|
145759
145988
|
case 6:
|
|
145760
|
-
message.
|
|
145989
|
+
message.eligibilityRecord = $root.EligibilityRecord.decode(reader, reader.uint32());
|
|
145761
145990
|
break;
|
|
145762
145991
|
default:
|
|
145763
145992
|
reader.skipType(tag & 7);
|
|
@@ -145800,10 +146029,10 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145800
146029
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
145801
146030
|
if (!$util.isString(message.collectiveUuid))
|
|
145802
146031
|
return "collectiveUuid: string expected";
|
|
145803
|
-
if (message.
|
|
145804
|
-
var error = $root.EligibilityRecord.verify(message.
|
|
146032
|
+
if (message.eligibilityRecord != null && message.hasOwnProperty("eligibilityRecord")) {
|
|
146033
|
+
var error = $root.EligibilityRecord.verify(message.eligibilityRecord);
|
|
145805
146034
|
if (error)
|
|
145806
|
-
return "
|
|
146035
|
+
return "eligibilityRecord." + error;
|
|
145807
146036
|
}
|
|
145808
146037
|
return null;
|
|
145809
146038
|
};
|
|
@@ -145831,10 +146060,10 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145831
146060
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
145832
146061
|
if (object.collectiveUuid != null)
|
|
145833
146062
|
message.collectiveUuid = String(object.collectiveUuid);
|
|
145834
|
-
if (object.
|
|
145835
|
-
if (typeof object.
|
|
145836
|
-
throw TypeError(".EligibilityRecordUpdated.
|
|
145837
|
-
message.
|
|
146063
|
+
if (object.eligibilityRecord != null) {
|
|
146064
|
+
if (typeof object.eligibilityRecord !== "object")
|
|
146065
|
+
throw TypeError(".EligibilityRecordUpdated.eligibilityRecord: object expected");
|
|
146066
|
+
message.eligibilityRecord = $root.EligibilityRecord.fromObject(object.eligibilityRecord);
|
|
145838
146067
|
}
|
|
145839
146068
|
return message;
|
|
145840
146069
|
};
|
|
@@ -145859,7 +146088,7 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145859
146088
|
} else
|
|
145860
146089
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
145861
146090
|
object.collectiveUuid = "";
|
|
145862
|
-
object.
|
|
146091
|
+
object.eligibilityRecord = null;
|
|
145863
146092
|
}
|
|
145864
146093
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
145865
146094
|
if (typeof message.timestamp === "number")
|
|
@@ -145868,8 +146097,8 @@ $root.EligibilityRecordUpdated = (function() {
|
|
|
145868
146097
|
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;
|
|
145869
146098
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
145870
146099
|
object.collectiveUuid = message.collectiveUuid;
|
|
145871
|
-
if (message.
|
|
145872
|
-
object.
|
|
146100
|
+
if (message.eligibilityRecord != null && message.hasOwnProperty("eligibilityRecord"))
|
|
146101
|
+
object.eligibilityRecord = $root.EligibilityRecord.toObject(message.eligibilityRecord, options);
|
|
145873
146102
|
return object;
|
|
145874
146103
|
};
|
|
145875
146104
|
|
|
@@ -145895,7 +146124,7 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
145895
146124
|
* @interface IEligibilityRecordRemoved
|
|
145896
146125
|
* @property {number|Long|null} [timestamp] EligibilityRecordRemoved timestamp
|
|
145897
146126
|
* @property {string|null} [collectiveUuid] EligibilityRecordRemoved collectiveUuid
|
|
145898
|
-
* @property {IEligibilityRecord|null} [
|
|
146127
|
+
* @property {IEligibilityRecord|null} [eligibilityRecord] EligibilityRecordRemoved eligibilityRecord
|
|
145899
146128
|
*/
|
|
145900
146129
|
|
|
145901
146130
|
/**
|
|
@@ -145930,12 +146159,12 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
145930
146159
|
EligibilityRecordRemoved.prototype.collectiveUuid = "";
|
|
145931
146160
|
|
|
145932
146161
|
/**
|
|
145933
|
-
* EligibilityRecordRemoved
|
|
145934
|
-
* @member {IEligibilityRecord|null|undefined}
|
|
146162
|
+
* EligibilityRecordRemoved eligibilityRecord.
|
|
146163
|
+
* @member {IEligibilityRecord|null|undefined} eligibilityRecord
|
|
145935
146164
|
* @memberof EligibilityRecordRemoved
|
|
145936
146165
|
* @instance
|
|
145937
146166
|
*/
|
|
145938
|
-
EligibilityRecordRemoved.prototype.
|
|
146167
|
+
EligibilityRecordRemoved.prototype.eligibilityRecord = null;
|
|
145939
146168
|
|
|
145940
146169
|
/**
|
|
145941
146170
|
* Creates a new EligibilityRecordRemoved instance using the specified properties.
|
|
@@ -145965,8 +146194,8 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
145965
146194
|
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
|
|
145966
146195
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
145967
146196
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.collectiveUuid);
|
|
145968
|
-
if (message.
|
|
145969
|
-
$root.EligibilityRecord.encode(message.
|
|
146197
|
+
if (message.eligibilityRecord != null && message.hasOwnProperty("eligibilityRecord"))
|
|
146198
|
+
$root.EligibilityRecord.encode(message.eligibilityRecord, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
145970
146199
|
return writer;
|
|
145971
146200
|
};
|
|
145972
146201
|
|
|
@@ -146008,7 +146237,7 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
146008
146237
|
message.collectiveUuid = reader.string();
|
|
146009
146238
|
break;
|
|
146010
146239
|
case 6:
|
|
146011
|
-
message.
|
|
146240
|
+
message.eligibilityRecord = $root.EligibilityRecord.decode(reader, reader.uint32());
|
|
146012
146241
|
break;
|
|
146013
146242
|
default:
|
|
146014
146243
|
reader.skipType(tag & 7);
|
|
@@ -146051,10 +146280,10 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
146051
146280
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
146052
146281
|
if (!$util.isString(message.collectiveUuid))
|
|
146053
146282
|
return "collectiveUuid: string expected";
|
|
146054
|
-
if (message.
|
|
146055
|
-
var error = $root.EligibilityRecord.verify(message.
|
|
146283
|
+
if (message.eligibilityRecord != null && message.hasOwnProperty("eligibilityRecord")) {
|
|
146284
|
+
var error = $root.EligibilityRecord.verify(message.eligibilityRecord);
|
|
146056
146285
|
if (error)
|
|
146057
|
-
return "
|
|
146286
|
+
return "eligibilityRecord." + error;
|
|
146058
146287
|
}
|
|
146059
146288
|
return null;
|
|
146060
146289
|
};
|
|
@@ -146082,10 +146311,10 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
146082
146311
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
146083
146312
|
if (object.collectiveUuid != null)
|
|
146084
146313
|
message.collectiveUuid = String(object.collectiveUuid);
|
|
146085
|
-
if (object.
|
|
146086
|
-
if (typeof object.
|
|
146087
|
-
throw TypeError(".EligibilityRecordRemoved.
|
|
146088
|
-
message.
|
|
146314
|
+
if (object.eligibilityRecord != null) {
|
|
146315
|
+
if (typeof object.eligibilityRecord !== "object")
|
|
146316
|
+
throw TypeError(".EligibilityRecordRemoved.eligibilityRecord: object expected");
|
|
146317
|
+
message.eligibilityRecord = $root.EligibilityRecord.fromObject(object.eligibilityRecord);
|
|
146089
146318
|
}
|
|
146090
146319
|
return message;
|
|
146091
146320
|
};
|
|
@@ -146110,7 +146339,7 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
146110
146339
|
} else
|
|
146111
146340
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
146112
146341
|
object.collectiveUuid = "";
|
|
146113
|
-
object.
|
|
146342
|
+
object.eligibilityRecord = null;
|
|
146114
146343
|
}
|
|
146115
146344
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
146116
146345
|
if (typeof message.timestamp === "number")
|
|
@@ -146119,8 +146348,8 @@ $root.EligibilityRecordRemoved = (function() {
|
|
|
146119
146348
|
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;
|
|
146120
146349
|
if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
|
|
146121
146350
|
object.collectiveUuid = message.collectiveUuid;
|
|
146122
|
-
if (message.
|
|
146123
|
-
object.
|
|
146351
|
+
if (message.eligibilityRecord != null && message.hasOwnProperty("eligibilityRecord"))
|
|
146352
|
+
object.eligibilityRecord = $root.EligibilityRecord.toObject(message.eligibilityRecord, options);
|
|
146124
146353
|
return object;
|
|
146125
146354
|
};
|
|
146126
146355
|
|
package/package.json
CHANGED