@headspace/protos-events 1.744.0 → 1.746.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 +24 -0
- package/lib/index.js +116 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1276,6 +1276,9 @@ export interface IClinicalCoverageCreated {
|
|
|
1276
1276
|
|
|
1277
1277
|
/** ClinicalCoverageCreated orgSubscriptionStartDate */
|
|
1278
1278
|
orgSubscriptionStartDate?: (number|Long|null);
|
|
1279
|
+
|
|
1280
|
+
/** ClinicalCoverageCreated phoneNumber */
|
|
1281
|
+
phoneNumber?: (string|null);
|
|
1279
1282
|
}
|
|
1280
1283
|
|
|
1281
1284
|
/** Represents a ClinicalCoverageCreated. */
|
|
@@ -1314,6 +1317,9 @@ export class ClinicalCoverageCreated implements IClinicalCoverageCreated {
|
|
|
1314
1317
|
/** ClinicalCoverageCreated orgSubscriptionStartDate. */
|
|
1315
1318
|
public orgSubscriptionStartDate: (number|Long);
|
|
1316
1319
|
|
|
1320
|
+
/** ClinicalCoverageCreated phoneNumber. */
|
|
1321
|
+
public phoneNumber: string;
|
|
1322
|
+
|
|
1317
1323
|
/**
|
|
1318
1324
|
* Creates a new ClinicalCoverageCreated instance using the specified properties.
|
|
1319
1325
|
* @param [properties] Properties to set
|
|
@@ -1414,6 +1420,9 @@ export interface IClinicalCoverageUpdated {
|
|
|
1414
1420
|
|
|
1415
1421
|
/** ClinicalCoverageUpdated orgSubscriptionStartDate */
|
|
1416
1422
|
orgSubscriptionStartDate?: (number|Long|null);
|
|
1423
|
+
|
|
1424
|
+
/** ClinicalCoverageUpdated phoneNumber */
|
|
1425
|
+
phoneNumber?: (string|null);
|
|
1417
1426
|
}
|
|
1418
1427
|
|
|
1419
1428
|
/** Represents a ClinicalCoverageUpdated. */
|
|
@@ -1452,6 +1461,9 @@ export class ClinicalCoverageUpdated implements IClinicalCoverageUpdated {
|
|
|
1452
1461
|
/** ClinicalCoverageUpdated orgSubscriptionStartDate. */
|
|
1453
1462
|
public orgSubscriptionStartDate: (number|Long);
|
|
1454
1463
|
|
|
1464
|
+
/** ClinicalCoverageUpdated phoneNumber. */
|
|
1465
|
+
public phoneNumber: string;
|
|
1466
|
+
|
|
1455
1467
|
/**
|
|
1456
1468
|
* Creates a new ClinicalCoverageUpdated instance using the specified properties.
|
|
1457
1469
|
* @param [properties] Properties to set
|
|
@@ -61048,6 +61060,12 @@ export namespace clinical {
|
|
|
61048
61060
|
|
|
61049
61061
|
/** PartnerAppointmentCreated timeUpdated */
|
|
61050
61062
|
timeUpdated?: (number|Long|null);
|
|
61063
|
+
|
|
61064
|
+
/** PartnerAppointmentCreated timeCompleted */
|
|
61065
|
+
timeCompleted?: (number|Long|null);
|
|
61066
|
+
|
|
61067
|
+
/** PartnerAppointmentCreated timeCancelled */
|
|
61068
|
+
timeCancelled?: (number|Long|null);
|
|
61051
61069
|
}
|
|
61052
61070
|
|
|
61053
61071
|
/** Represents a PartnerAppointmentCreated. */
|
|
@@ -61104,6 +61122,12 @@ export namespace clinical {
|
|
|
61104
61122
|
/** PartnerAppointmentCreated timeUpdated. */
|
|
61105
61123
|
public timeUpdated: (number|Long);
|
|
61106
61124
|
|
|
61125
|
+
/** PartnerAppointmentCreated timeCompleted. */
|
|
61126
|
+
public timeCompleted: (number|Long);
|
|
61127
|
+
|
|
61128
|
+
/** PartnerAppointmentCreated timeCancelled. */
|
|
61129
|
+
public timeCancelled: (number|Long);
|
|
61130
|
+
|
|
61107
61131
|
/**
|
|
61108
61132
|
* Creates a new PartnerAppointmentCreated instance using the specified properties.
|
|
61109
61133
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -3366,6 +3366,7 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
3366
3366
|
* @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] ClinicalCoverageCreated clinicalCoverageType
|
|
3367
3367
|
* @property {string|null} [externalOrgId] ClinicalCoverageCreated externalOrgId
|
|
3368
3368
|
* @property {number|Long|null} [orgSubscriptionStartDate] ClinicalCoverageCreated orgSubscriptionStartDate
|
|
3369
|
+
* @property {string|null} [phoneNumber] ClinicalCoverageCreated phoneNumber
|
|
3369
3370
|
*/
|
|
3370
3371
|
|
|
3371
3372
|
/**
|
|
@@ -3455,6 +3456,14 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
3455
3456
|
*/
|
|
3456
3457
|
ClinicalCoverageCreated.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
3457
3458
|
|
|
3459
|
+
/**
|
|
3460
|
+
* ClinicalCoverageCreated phoneNumber.
|
|
3461
|
+
* @member {string} phoneNumber
|
|
3462
|
+
* @memberof ClinicalCoverageCreated
|
|
3463
|
+
* @instance
|
|
3464
|
+
*/
|
|
3465
|
+
ClinicalCoverageCreated.prototype.phoneNumber = "";
|
|
3466
|
+
|
|
3458
3467
|
/**
|
|
3459
3468
|
* Creates a new ClinicalCoverageCreated instance using the specified properties.
|
|
3460
3469
|
* @function create
|
|
@@ -3497,6 +3506,8 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
3497
3506
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.externalOrgId);
|
|
3498
3507
|
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
3499
3508
|
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.orgSubscriptionStartDate);
|
|
3509
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
3510
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.phoneNumber);
|
|
3500
3511
|
return writer;
|
|
3501
3512
|
};
|
|
3502
3513
|
|
|
@@ -3558,6 +3569,9 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
3558
3569
|
case 9:
|
|
3559
3570
|
message.orgSubscriptionStartDate = reader.uint64();
|
|
3560
3571
|
break;
|
|
3572
|
+
case 10:
|
|
3573
|
+
message.phoneNumber = reader.string();
|
|
3574
|
+
break;
|
|
3561
3575
|
default:
|
|
3562
3576
|
reader.skipType(tag & 7);
|
|
3563
3577
|
break;
|
|
@@ -3641,6 +3655,9 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
3641
3655
|
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
3642
3656
|
if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
|
|
3643
3657
|
return "orgSubscriptionStartDate: integer|Long expected";
|
|
3658
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
3659
|
+
if (!$util.isString(message.phoneNumber))
|
|
3660
|
+
return "phoneNumber: string expected";
|
|
3644
3661
|
return null;
|
|
3645
3662
|
};
|
|
3646
3663
|
|
|
@@ -3757,6 +3774,8 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
3757
3774
|
message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
|
|
3758
3775
|
else if (typeof object.orgSubscriptionStartDate === "object")
|
|
3759
3776
|
message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
|
|
3777
|
+
if (object.phoneNumber != null)
|
|
3778
|
+
message.phoneNumber = String(object.phoneNumber);
|
|
3760
3779
|
return message;
|
|
3761
3780
|
};
|
|
3762
3781
|
|
|
@@ -3803,6 +3822,7 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
3803
3822
|
object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
3804
3823
|
} else
|
|
3805
3824
|
object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
|
|
3825
|
+
object.phoneNumber = "";
|
|
3806
3826
|
}
|
|
3807
3827
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
3808
3828
|
if (typeof message.orgId === "number")
|
|
@@ -3837,6 +3857,8 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
3837
3857
|
object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
|
|
3838
3858
|
else
|
|
3839
3859
|
object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
|
|
3860
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
3861
|
+
object.phoneNumber = message.phoneNumber;
|
|
3840
3862
|
return object;
|
|
3841
3863
|
};
|
|
3842
3864
|
|
|
@@ -3869,6 +3891,7 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
3869
3891
|
* @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] ClinicalCoverageUpdated clinicalCoverageType
|
|
3870
3892
|
* @property {string|null} [externalOrgId] ClinicalCoverageUpdated externalOrgId
|
|
3871
3893
|
* @property {number|Long|null} [orgSubscriptionStartDate] ClinicalCoverageUpdated orgSubscriptionStartDate
|
|
3894
|
+
* @property {string|null} [phoneNumber] ClinicalCoverageUpdated phoneNumber
|
|
3872
3895
|
*/
|
|
3873
3896
|
|
|
3874
3897
|
/**
|
|
@@ -3958,6 +3981,14 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
3958
3981
|
*/
|
|
3959
3982
|
ClinicalCoverageUpdated.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
3960
3983
|
|
|
3984
|
+
/**
|
|
3985
|
+
* ClinicalCoverageUpdated phoneNumber.
|
|
3986
|
+
* @member {string} phoneNumber
|
|
3987
|
+
* @memberof ClinicalCoverageUpdated
|
|
3988
|
+
* @instance
|
|
3989
|
+
*/
|
|
3990
|
+
ClinicalCoverageUpdated.prototype.phoneNumber = "";
|
|
3991
|
+
|
|
3961
3992
|
/**
|
|
3962
3993
|
* Creates a new ClinicalCoverageUpdated instance using the specified properties.
|
|
3963
3994
|
* @function create
|
|
@@ -4000,6 +4031,8 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
4000
4031
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.externalOrgId);
|
|
4001
4032
|
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
4002
4033
|
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.orgSubscriptionStartDate);
|
|
4034
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
4035
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.phoneNumber);
|
|
4003
4036
|
return writer;
|
|
4004
4037
|
};
|
|
4005
4038
|
|
|
@@ -4061,6 +4094,9 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
4061
4094
|
case 9:
|
|
4062
4095
|
message.orgSubscriptionStartDate = reader.uint64();
|
|
4063
4096
|
break;
|
|
4097
|
+
case 10:
|
|
4098
|
+
message.phoneNumber = reader.string();
|
|
4099
|
+
break;
|
|
4064
4100
|
default:
|
|
4065
4101
|
reader.skipType(tag & 7);
|
|
4066
4102
|
break;
|
|
@@ -4144,6 +4180,9 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
4144
4180
|
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
4145
4181
|
if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
|
|
4146
4182
|
return "orgSubscriptionStartDate: integer|Long expected";
|
|
4183
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
4184
|
+
if (!$util.isString(message.phoneNumber))
|
|
4185
|
+
return "phoneNumber: string expected";
|
|
4147
4186
|
return null;
|
|
4148
4187
|
};
|
|
4149
4188
|
|
|
@@ -4260,6 +4299,8 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
4260
4299
|
message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
|
|
4261
4300
|
else if (typeof object.orgSubscriptionStartDate === "object")
|
|
4262
4301
|
message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
|
|
4302
|
+
if (object.phoneNumber != null)
|
|
4303
|
+
message.phoneNumber = String(object.phoneNumber);
|
|
4263
4304
|
return message;
|
|
4264
4305
|
};
|
|
4265
4306
|
|
|
@@ -4306,6 +4347,7 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
4306
4347
|
object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
4307
4348
|
} else
|
|
4308
4349
|
object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
|
|
4350
|
+
object.phoneNumber = "";
|
|
4309
4351
|
}
|
|
4310
4352
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
4311
4353
|
if (typeof message.orgId === "number")
|
|
@@ -4340,6 +4382,8 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
4340
4382
|
object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
|
|
4341
4383
|
else
|
|
4342
4384
|
object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
|
|
4385
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
4386
|
+
object.phoneNumber = message.phoneNumber;
|
|
4343
4387
|
return object;
|
|
4344
4388
|
};
|
|
4345
4389
|
|
|
@@ -174872,6 +174916,8 @@ $root.clinical = (function() {
|
|
|
174872
174916
|
* @property {boolean|null} [covered] PartnerAppointmentCreated covered
|
|
174873
174917
|
* @property {number|Long|null} [timeCreated] PartnerAppointmentCreated timeCreated
|
|
174874
174918
|
* @property {number|Long|null} [timeUpdated] PartnerAppointmentCreated timeUpdated
|
|
174919
|
+
* @property {number|Long|null} [timeCompleted] PartnerAppointmentCreated timeCompleted
|
|
174920
|
+
* @property {number|Long|null} [timeCancelled] PartnerAppointmentCreated timeCancelled
|
|
174875
174921
|
*/
|
|
174876
174922
|
|
|
174877
174923
|
/**
|
|
@@ -175009,6 +175055,22 @@ $root.clinical = (function() {
|
|
|
175009
175055
|
*/
|
|
175010
175056
|
PartnerAppointmentCreated.prototype.timeUpdated = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
175011
175057
|
|
|
175058
|
+
/**
|
|
175059
|
+
* PartnerAppointmentCreated timeCompleted.
|
|
175060
|
+
* @member {number|Long} timeCompleted
|
|
175061
|
+
* @memberof clinical.PartnerAppointmentCreated
|
|
175062
|
+
* @instance
|
|
175063
|
+
*/
|
|
175064
|
+
PartnerAppointmentCreated.prototype.timeCompleted = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
175065
|
+
|
|
175066
|
+
/**
|
|
175067
|
+
* PartnerAppointmentCreated timeCancelled.
|
|
175068
|
+
* @member {number|Long} timeCancelled
|
|
175069
|
+
* @memberof clinical.PartnerAppointmentCreated
|
|
175070
|
+
* @instance
|
|
175071
|
+
*/
|
|
175072
|
+
PartnerAppointmentCreated.prototype.timeCancelled = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
175073
|
+
|
|
175012
175074
|
/**
|
|
175013
175075
|
* Creates a new PartnerAppointmentCreated instance using the specified properties.
|
|
175014
175076
|
* @function create
|
|
@@ -175063,6 +175125,10 @@ $root.clinical = (function() {
|
|
|
175063
175125
|
writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.timeCreated);
|
|
175064
175126
|
if (message.timeUpdated != null && message.hasOwnProperty("timeUpdated"))
|
|
175065
175127
|
writer.uint32(/* id 15, wireType 0 =*/120).uint64(message.timeUpdated);
|
|
175128
|
+
if (message.timeCompleted != null && message.hasOwnProperty("timeCompleted"))
|
|
175129
|
+
writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.timeCompleted);
|
|
175130
|
+
if (message.timeCancelled != null && message.hasOwnProperty("timeCancelled"))
|
|
175131
|
+
writer.uint32(/* id 17, wireType 0 =*/136).uint64(message.timeCancelled);
|
|
175066
175132
|
return writer;
|
|
175067
175133
|
};
|
|
175068
175134
|
|
|
@@ -175142,6 +175208,12 @@ $root.clinical = (function() {
|
|
|
175142
175208
|
case 15:
|
|
175143
175209
|
message.timeUpdated = reader.uint64();
|
|
175144
175210
|
break;
|
|
175211
|
+
case 16:
|
|
175212
|
+
message.timeCompleted = reader.uint64();
|
|
175213
|
+
break;
|
|
175214
|
+
case 17:
|
|
175215
|
+
message.timeCancelled = reader.uint64();
|
|
175216
|
+
break;
|
|
175145
175217
|
default:
|
|
175146
175218
|
reader.skipType(tag & 7);
|
|
175147
175219
|
break;
|
|
@@ -175260,6 +175332,12 @@ $root.clinical = (function() {
|
|
|
175260
175332
|
if (message.timeUpdated != null && message.hasOwnProperty("timeUpdated"))
|
|
175261
175333
|
if (!$util.isInteger(message.timeUpdated) && !(message.timeUpdated && $util.isInteger(message.timeUpdated.low) && $util.isInteger(message.timeUpdated.high)))
|
|
175262
175334
|
return "timeUpdated: integer|Long expected";
|
|
175335
|
+
if (message.timeCompleted != null && message.hasOwnProperty("timeCompleted"))
|
|
175336
|
+
if (!$util.isInteger(message.timeCompleted) && !(message.timeCompleted && $util.isInteger(message.timeCompleted.low) && $util.isInteger(message.timeCompleted.high)))
|
|
175337
|
+
return "timeCompleted: integer|Long expected";
|
|
175338
|
+
if (message.timeCancelled != null && message.hasOwnProperty("timeCancelled"))
|
|
175339
|
+
if (!$util.isInteger(message.timeCancelled) && !(message.timeCancelled && $util.isInteger(message.timeCancelled.low) && $util.isInteger(message.timeCancelled.high)))
|
|
175340
|
+
return "timeCancelled: integer|Long expected";
|
|
175263
175341
|
return null;
|
|
175264
175342
|
};
|
|
175265
175343
|
|
|
@@ -175432,6 +175510,24 @@ $root.clinical = (function() {
|
|
|
175432
175510
|
message.timeUpdated = object.timeUpdated;
|
|
175433
175511
|
else if (typeof object.timeUpdated === "object")
|
|
175434
175512
|
message.timeUpdated = new $util.LongBits(object.timeUpdated.low >>> 0, object.timeUpdated.high >>> 0).toNumber(true);
|
|
175513
|
+
if (object.timeCompleted != null)
|
|
175514
|
+
if ($util.Long)
|
|
175515
|
+
(message.timeCompleted = $util.Long.fromValue(object.timeCompleted)).unsigned = true;
|
|
175516
|
+
else if (typeof object.timeCompleted === "string")
|
|
175517
|
+
message.timeCompleted = parseInt(object.timeCompleted, 10);
|
|
175518
|
+
else if (typeof object.timeCompleted === "number")
|
|
175519
|
+
message.timeCompleted = object.timeCompleted;
|
|
175520
|
+
else if (typeof object.timeCompleted === "object")
|
|
175521
|
+
message.timeCompleted = new $util.LongBits(object.timeCompleted.low >>> 0, object.timeCompleted.high >>> 0).toNumber(true);
|
|
175522
|
+
if (object.timeCancelled != null)
|
|
175523
|
+
if ($util.Long)
|
|
175524
|
+
(message.timeCancelled = $util.Long.fromValue(object.timeCancelled)).unsigned = true;
|
|
175525
|
+
else if (typeof object.timeCancelled === "string")
|
|
175526
|
+
message.timeCancelled = parseInt(object.timeCancelled, 10);
|
|
175527
|
+
else if (typeof object.timeCancelled === "number")
|
|
175528
|
+
message.timeCancelled = object.timeCancelled;
|
|
175529
|
+
else if (typeof object.timeCancelled === "object")
|
|
175530
|
+
message.timeCancelled = new $util.LongBits(object.timeCancelled.low >>> 0, object.timeCancelled.high >>> 0).toNumber(true);
|
|
175435
175531
|
return message;
|
|
175436
175532
|
};
|
|
175437
175533
|
|
|
@@ -175484,6 +175580,16 @@ $root.clinical = (function() {
|
|
|
175484
175580
|
object.timeUpdated = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
175485
175581
|
} else
|
|
175486
175582
|
object.timeUpdated = options.longs === String ? "0" : 0;
|
|
175583
|
+
if ($util.Long) {
|
|
175584
|
+
var long = new $util.Long(0, 0, true);
|
|
175585
|
+
object.timeCompleted = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
175586
|
+
} else
|
|
175587
|
+
object.timeCompleted = options.longs === String ? "0" : 0;
|
|
175588
|
+
if ($util.Long) {
|
|
175589
|
+
var long = new $util.Long(0, 0, true);
|
|
175590
|
+
object.timeCancelled = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
175591
|
+
} else
|
|
175592
|
+
object.timeCancelled = options.longs === String ? "0" : 0;
|
|
175487
175593
|
}
|
|
175488
175594
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
175489
175595
|
object.id = message.id;
|
|
@@ -175530,6 +175636,16 @@ $root.clinical = (function() {
|
|
|
175530
175636
|
object.timeUpdated = options.longs === String ? String(message.timeUpdated) : message.timeUpdated;
|
|
175531
175637
|
else
|
|
175532
175638
|
object.timeUpdated = options.longs === String ? $util.Long.prototype.toString.call(message.timeUpdated) : options.longs === Number ? new $util.LongBits(message.timeUpdated.low >>> 0, message.timeUpdated.high >>> 0).toNumber(true) : message.timeUpdated;
|
|
175639
|
+
if (message.timeCompleted != null && message.hasOwnProperty("timeCompleted"))
|
|
175640
|
+
if (typeof message.timeCompleted === "number")
|
|
175641
|
+
object.timeCompleted = options.longs === String ? String(message.timeCompleted) : message.timeCompleted;
|
|
175642
|
+
else
|
|
175643
|
+
object.timeCompleted = options.longs === String ? $util.Long.prototype.toString.call(message.timeCompleted) : options.longs === Number ? new $util.LongBits(message.timeCompleted.low >>> 0, message.timeCompleted.high >>> 0).toNumber(true) : message.timeCompleted;
|
|
175644
|
+
if (message.timeCancelled != null && message.hasOwnProperty("timeCancelled"))
|
|
175645
|
+
if (typeof message.timeCancelled === "number")
|
|
175646
|
+
object.timeCancelled = options.longs === String ? String(message.timeCancelled) : message.timeCancelled;
|
|
175647
|
+
else
|
|
175648
|
+
object.timeCancelled = options.longs === String ? $util.Long.prototype.toString.call(message.timeCancelled) : options.longs === Number ? new $util.LongBits(message.timeCancelled.low >>> 0, message.timeCancelled.high >>> 0).toNumber(true) : message.timeCancelled;
|
|
175533
175649
|
return object;
|
|
175534
175650
|
};
|
|
175535
175651
|
|
package/package.json
CHANGED