@headspace/protos-events 1.714.0 → 1.716.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 +434 -10
- package/lib/index.js +1114 -4
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -87481,6 +87481,1104 @@ $root.AuthEmailVerificationUpdated = (function() {
|
|
|
87481
87481
|
return AuthEmailVerificationUpdated;
|
|
87482
87482
|
})();
|
|
87483
87483
|
|
|
87484
|
+
/**
|
|
87485
|
+
* CoverageResetCadence enum.
|
|
87486
|
+
* @name CoverageResetCadence
|
|
87487
|
+
* @enum {string}
|
|
87488
|
+
* @property {number} COVERAGE_RESET_CADENCE_UNKNOWN=0 COVERAGE_RESET_CADENCE_UNKNOWN value
|
|
87489
|
+
* @property {number} COVERAGE_RESET_CADENCE_MONTHLY=1 COVERAGE_RESET_CADENCE_MONTHLY value
|
|
87490
|
+
* @property {number} COVERAGE_RESET_CADENCE_BIANNUAL=2 COVERAGE_RESET_CADENCE_BIANNUAL value
|
|
87491
|
+
* @property {number} COVERAGE_RESET_CADENCE_ANNUAL=3 COVERAGE_RESET_CADENCE_ANNUAL value
|
|
87492
|
+
*/
|
|
87493
|
+
$root.CoverageResetCadence = (function() {
|
|
87494
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
87495
|
+
values[valuesById[0] = "COVERAGE_RESET_CADENCE_UNKNOWN"] = 0;
|
|
87496
|
+
values[valuesById[1] = "COVERAGE_RESET_CADENCE_MONTHLY"] = 1;
|
|
87497
|
+
values[valuesById[2] = "COVERAGE_RESET_CADENCE_BIANNUAL"] = 2;
|
|
87498
|
+
values[valuesById[3] = "COVERAGE_RESET_CADENCE_ANNUAL"] = 3;
|
|
87499
|
+
return values;
|
|
87500
|
+
})();
|
|
87501
|
+
|
|
87502
|
+
$root.CoachingConfig = (function() {
|
|
87503
|
+
|
|
87504
|
+
/**
|
|
87505
|
+
* Properties of a CoachingConfig.
|
|
87506
|
+
* @name ICoachingConfig
|
|
87507
|
+
* @interface ICoachingConfig
|
|
87508
|
+
* @property {number|null} [coachingConfigId] CoachingConfig coachingConfigId
|
|
87509
|
+
* @property {number|null} [orgId] CoachingConfig orgId
|
|
87510
|
+
* @property {number|null} [orgSubscriptionId] CoachingConfig orgSubscriptionId
|
|
87511
|
+
* @property {boolean|null} [isVideoCoachingEnabled] CoachingConfig isVideoCoachingEnabled
|
|
87512
|
+
* @property {number|Long|null} [coverageStartDate] CoachingConfig coverageStartDate
|
|
87513
|
+
* @property {number|Long|null} [coverageEndDate] CoachingConfig coverageEndDate
|
|
87514
|
+
* @property {number|null} [sessionCap] CoachingConfig sessionCap
|
|
87515
|
+
* @property {CoverageResetCadence|null} [coverageResetCadence] CoachingConfig coverageResetCadence
|
|
87516
|
+
*/
|
|
87517
|
+
|
|
87518
|
+
/**
|
|
87519
|
+
* Constructs a new CoachingConfig.
|
|
87520
|
+
* @name CoachingConfig
|
|
87521
|
+
* @classdesc Represents a CoachingConfig.
|
|
87522
|
+
* @implements ICoachingConfig
|
|
87523
|
+
* @constructor
|
|
87524
|
+
* @param {ICoachingConfig=} [properties] Properties to set
|
|
87525
|
+
*/
|
|
87526
|
+
function CoachingConfig(properties) {
|
|
87527
|
+
if (properties)
|
|
87528
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
87529
|
+
if (properties[keys[i]] != null)
|
|
87530
|
+
this[keys[i]] = properties[keys[i]];
|
|
87531
|
+
}
|
|
87532
|
+
|
|
87533
|
+
/**
|
|
87534
|
+
* CoachingConfig coachingConfigId.
|
|
87535
|
+
* @member {number} coachingConfigId
|
|
87536
|
+
* @memberof CoachingConfig
|
|
87537
|
+
* @instance
|
|
87538
|
+
*/
|
|
87539
|
+
CoachingConfig.prototype.coachingConfigId = 0;
|
|
87540
|
+
|
|
87541
|
+
/**
|
|
87542
|
+
* CoachingConfig orgId.
|
|
87543
|
+
* @member {number} orgId
|
|
87544
|
+
* @memberof CoachingConfig
|
|
87545
|
+
* @instance
|
|
87546
|
+
*/
|
|
87547
|
+
CoachingConfig.prototype.orgId = 0;
|
|
87548
|
+
|
|
87549
|
+
/**
|
|
87550
|
+
* CoachingConfig orgSubscriptionId.
|
|
87551
|
+
* @member {number} orgSubscriptionId
|
|
87552
|
+
* @memberof CoachingConfig
|
|
87553
|
+
* @instance
|
|
87554
|
+
*/
|
|
87555
|
+
CoachingConfig.prototype.orgSubscriptionId = 0;
|
|
87556
|
+
|
|
87557
|
+
/**
|
|
87558
|
+
* CoachingConfig isVideoCoachingEnabled.
|
|
87559
|
+
* @member {boolean} isVideoCoachingEnabled
|
|
87560
|
+
* @memberof CoachingConfig
|
|
87561
|
+
* @instance
|
|
87562
|
+
*/
|
|
87563
|
+
CoachingConfig.prototype.isVideoCoachingEnabled = false;
|
|
87564
|
+
|
|
87565
|
+
/**
|
|
87566
|
+
* CoachingConfig coverageStartDate.
|
|
87567
|
+
* @member {number|Long} coverageStartDate
|
|
87568
|
+
* @memberof CoachingConfig
|
|
87569
|
+
* @instance
|
|
87570
|
+
*/
|
|
87571
|
+
CoachingConfig.prototype.coverageStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
87572
|
+
|
|
87573
|
+
/**
|
|
87574
|
+
* CoachingConfig coverageEndDate.
|
|
87575
|
+
* @member {number|Long} coverageEndDate
|
|
87576
|
+
* @memberof CoachingConfig
|
|
87577
|
+
* @instance
|
|
87578
|
+
*/
|
|
87579
|
+
CoachingConfig.prototype.coverageEndDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
87580
|
+
|
|
87581
|
+
/**
|
|
87582
|
+
* CoachingConfig sessionCap.
|
|
87583
|
+
* @member {number} sessionCap
|
|
87584
|
+
* @memberof CoachingConfig
|
|
87585
|
+
* @instance
|
|
87586
|
+
*/
|
|
87587
|
+
CoachingConfig.prototype.sessionCap = 0;
|
|
87588
|
+
|
|
87589
|
+
/**
|
|
87590
|
+
* CoachingConfig coverageResetCadence.
|
|
87591
|
+
* @member {CoverageResetCadence} coverageResetCadence
|
|
87592
|
+
* @memberof CoachingConfig
|
|
87593
|
+
* @instance
|
|
87594
|
+
*/
|
|
87595
|
+
CoachingConfig.prototype.coverageResetCadence = 0;
|
|
87596
|
+
|
|
87597
|
+
/**
|
|
87598
|
+
* Creates a new CoachingConfig instance using the specified properties.
|
|
87599
|
+
* @function create
|
|
87600
|
+
* @memberof CoachingConfig
|
|
87601
|
+
* @static
|
|
87602
|
+
* @param {ICoachingConfig=} [properties] Properties to set
|
|
87603
|
+
* @returns {CoachingConfig} CoachingConfig instance
|
|
87604
|
+
*/
|
|
87605
|
+
CoachingConfig.create = function create(properties) {
|
|
87606
|
+
return new CoachingConfig(properties);
|
|
87607
|
+
};
|
|
87608
|
+
|
|
87609
|
+
/**
|
|
87610
|
+
* Encodes the specified CoachingConfig message. Does not implicitly {@link CoachingConfig.verify|verify} messages.
|
|
87611
|
+
* @function encode
|
|
87612
|
+
* @memberof CoachingConfig
|
|
87613
|
+
* @static
|
|
87614
|
+
* @param {ICoachingConfig} message CoachingConfig message or plain object to encode
|
|
87615
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
87616
|
+
* @returns {$protobuf.Writer} Writer
|
|
87617
|
+
*/
|
|
87618
|
+
CoachingConfig.encode = function encode(message, writer) {
|
|
87619
|
+
if (!writer)
|
|
87620
|
+
writer = $Writer.create();
|
|
87621
|
+
if (message.coachingConfigId != null && message.hasOwnProperty("coachingConfigId"))
|
|
87622
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.coachingConfigId);
|
|
87623
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
87624
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.orgId);
|
|
87625
|
+
if (message.orgSubscriptionId != null && message.hasOwnProperty("orgSubscriptionId"))
|
|
87626
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.orgSubscriptionId);
|
|
87627
|
+
if (message.isVideoCoachingEnabled != null && message.hasOwnProperty("isVideoCoachingEnabled"))
|
|
87628
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isVideoCoachingEnabled);
|
|
87629
|
+
if (message.coverageStartDate != null && message.hasOwnProperty("coverageStartDate"))
|
|
87630
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.coverageStartDate);
|
|
87631
|
+
if (message.coverageEndDate != null && message.hasOwnProperty("coverageEndDate"))
|
|
87632
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.coverageEndDate);
|
|
87633
|
+
if (message.sessionCap != null && message.hasOwnProperty("sessionCap"))
|
|
87634
|
+
writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.sessionCap);
|
|
87635
|
+
if (message.coverageResetCadence != null && message.hasOwnProperty("coverageResetCadence"))
|
|
87636
|
+
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.coverageResetCadence);
|
|
87637
|
+
return writer;
|
|
87638
|
+
};
|
|
87639
|
+
|
|
87640
|
+
/**
|
|
87641
|
+
* Encodes the specified CoachingConfig message, length delimited. Does not implicitly {@link CoachingConfig.verify|verify} messages.
|
|
87642
|
+
* @function encodeDelimited
|
|
87643
|
+
* @memberof CoachingConfig
|
|
87644
|
+
* @static
|
|
87645
|
+
* @param {ICoachingConfig} message CoachingConfig message or plain object to encode
|
|
87646
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
87647
|
+
* @returns {$protobuf.Writer} Writer
|
|
87648
|
+
*/
|
|
87649
|
+
CoachingConfig.encodeDelimited = function encodeDelimited(message, writer) {
|
|
87650
|
+
return this.encode(message, writer).ldelim();
|
|
87651
|
+
};
|
|
87652
|
+
|
|
87653
|
+
/**
|
|
87654
|
+
* Decodes a CoachingConfig message from the specified reader or buffer.
|
|
87655
|
+
* @function decode
|
|
87656
|
+
* @memberof CoachingConfig
|
|
87657
|
+
* @static
|
|
87658
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
87659
|
+
* @param {number} [length] Message length if known beforehand
|
|
87660
|
+
* @returns {CoachingConfig} CoachingConfig
|
|
87661
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
87662
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
87663
|
+
*/
|
|
87664
|
+
CoachingConfig.decode = function decode(reader, length) {
|
|
87665
|
+
if (!(reader instanceof $Reader))
|
|
87666
|
+
reader = $Reader.create(reader);
|
|
87667
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.CoachingConfig();
|
|
87668
|
+
while (reader.pos < end) {
|
|
87669
|
+
var tag = reader.uint32();
|
|
87670
|
+
switch (tag >>> 3) {
|
|
87671
|
+
case 1:
|
|
87672
|
+
message.coachingConfigId = reader.uint32();
|
|
87673
|
+
break;
|
|
87674
|
+
case 2:
|
|
87675
|
+
message.orgId = reader.uint32();
|
|
87676
|
+
break;
|
|
87677
|
+
case 3:
|
|
87678
|
+
message.orgSubscriptionId = reader.uint32();
|
|
87679
|
+
break;
|
|
87680
|
+
case 4:
|
|
87681
|
+
message.isVideoCoachingEnabled = reader.bool();
|
|
87682
|
+
break;
|
|
87683
|
+
case 5:
|
|
87684
|
+
message.coverageStartDate = reader.uint64();
|
|
87685
|
+
break;
|
|
87686
|
+
case 6:
|
|
87687
|
+
message.coverageEndDate = reader.uint64();
|
|
87688
|
+
break;
|
|
87689
|
+
case 7:
|
|
87690
|
+
message.sessionCap = reader.uint32();
|
|
87691
|
+
break;
|
|
87692
|
+
case 8:
|
|
87693
|
+
message.coverageResetCadence = reader.int32();
|
|
87694
|
+
break;
|
|
87695
|
+
default:
|
|
87696
|
+
reader.skipType(tag & 7);
|
|
87697
|
+
break;
|
|
87698
|
+
}
|
|
87699
|
+
}
|
|
87700
|
+
return message;
|
|
87701
|
+
};
|
|
87702
|
+
|
|
87703
|
+
/**
|
|
87704
|
+
* Decodes a CoachingConfig message from the specified reader or buffer, length delimited.
|
|
87705
|
+
* @function decodeDelimited
|
|
87706
|
+
* @memberof CoachingConfig
|
|
87707
|
+
* @static
|
|
87708
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
87709
|
+
* @returns {CoachingConfig} CoachingConfig
|
|
87710
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
87711
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
87712
|
+
*/
|
|
87713
|
+
CoachingConfig.decodeDelimited = function decodeDelimited(reader) {
|
|
87714
|
+
if (!(reader instanceof $Reader))
|
|
87715
|
+
reader = new $Reader(reader);
|
|
87716
|
+
return this.decode(reader, reader.uint32());
|
|
87717
|
+
};
|
|
87718
|
+
|
|
87719
|
+
/**
|
|
87720
|
+
* Verifies a CoachingConfig message.
|
|
87721
|
+
* @function verify
|
|
87722
|
+
* @memberof CoachingConfig
|
|
87723
|
+
* @static
|
|
87724
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
87725
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
87726
|
+
*/
|
|
87727
|
+
CoachingConfig.verify = function verify(message) {
|
|
87728
|
+
if (typeof message !== "object" || message === null)
|
|
87729
|
+
return "object expected";
|
|
87730
|
+
if (message.coachingConfigId != null && message.hasOwnProperty("coachingConfigId"))
|
|
87731
|
+
if (!$util.isInteger(message.coachingConfigId))
|
|
87732
|
+
return "coachingConfigId: integer expected";
|
|
87733
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
87734
|
+
if (!$util.isInteger(message.orgId))
|
|
87735
|
+
return "orgId: integer expected";
|
|
87736
|
+
if (message.orgSubscriptionId != null && message.hasOwnProperty("orgSubscriptionId"))
|
|
87737
|
+
if (!$util.isInteger(message.orgSubscriptionId))
|
|
87738
|
+
return "orgSubscriptionId: integer expected";
|
|
87739
|
+
if (message.isVideoCoachingEnabled != null && message.hasOwnProperty("isVideoCoachingEnabled"))
|
|
87740
|
+
if (typeof message.isVideoCoachingEnabled !== "boolean")
|
|
87741
|
+
return "isVideoCoachingEnabled: boolean expected";
|
|
87742
|
+
if (message.coverageStartDate != null && message.hasOwnProperty("coverageStartDate"))
|
|
87743
|
+
if (!$util.isInteger(message.coverageStartDate) && !(message.coverageStartDate && $util.isInteger(message.coverageStartDate.low) && $util.isInteger(message.coverageStartDate.high)))
|
|
87744
|
+
return "coverageStartDate: integer|Long expected";
|
|
87745
|
+
if (message.coverageEndDate != null && message.hasOwnProperty("coverageEndDate"))
|
|
87746
|
+
if (!$util.isInteger(message.coverageEndDate) && !(message.coverageEndDate && $util.isInteger(message.coverageEndDate.low) && $util.isInteger(message.coverageEndDate.high)))
|
|
87747
|
+
return "coverageEndDate: integer|Long expected";
|
|
87748
|
+
if (message.sessionCap != null && message.hasOwnProperty("sessionCap"))
|
|
87749
|
+
if (!$util.isInteger(message.sessionCap))
|
|
87750
|
+
return "sessionCap: integer expected";
|
|
87751
|
+
if (message.coverageResetCadence != null && message.hasOwnProperty("coverageResetCadence"))
|
|
87752
|
+
switch (message.coverageResetCadence) {
|
|
87753
|
+
default:
|
|
87754
|
+
return "coverageResetCadence: enum value expected";
|
|
87755
|
+
case 0:
|
|
87756
|
+
case 1:
|
|
87757
|
+
case 2:
|
|
87758
|
+
case 3:
|
|
87759
|
+
break;
|
|
87760
|
+
}
|
|
87761
|
+
return null;
|
|
87762
|
+
};
|
|
87763
|
+
|
|
87764
|
+
/**
|
|
87765
|
+
* Creates a CoachingConfig message from a plain object. Also converts values to their respective internal types.
|
|
87766
|
+
* @function fromObject
|
|
87767
|
+
* @memberof CoachingConfig
|
|
87768
|
+
* @static
|
|
87769
|
+
* @param {Object.<string,*>} object Plain object
|
|
87770
|
+
* @returns {CoachingConfig} CoachingConfig
|
|
87771
|
+
*/
|
|
87772
|
+
CoachingConfig.fromObject = function fromObject(object) {
|
|
87773
|
+
if (object instanceof $root.CoachingConfig)
|
|
87774
|
+
return object;
|
|
87775
|
+
var message = new $root.CoachingConfig();
|
|
87776
|
+
if (object.coachingConfigId != null)
|
|
87777
|
+
message.coachingConfigId = object.coachingConfigId >>> 0;
|
|
87778
|
+
if (object.orgId != null)
|
|
87779
|
+
message.orgId = object.orgId >>> 0;
|
|
87780
|
+
if (object.orgSubscriptionId != null)
|
|
87781
|
+
message.orgSubscriptionId = object.orgSubscriptionId >>> 0;
|
|
87782
|
+
if (object.isVideoCoachingEnabled != null)
|
|
87783
|
+
message.isVideoCoachingEnabled = Boolean(object.isVideoCoachingEnabled);
|
|
87784
|
+
if (object.coverageStartDate != null)
|
|
87785
|
+
if ($util.Long)
|
|
87786
|
+
(message.coverageStartDate = $util.Long.fromValue(object.coverageStartDate)).unsigned = true;
|
|
87787
|
+
else if (typeof object.coverageStartDate === "string")
|
|
87788
|
+
message.coverageStartDate = parseInt(object.coverageStartDate, 10);
|
|
87789
|
+
else if (typeof object.coverageStartDate === "number")
|
|
87790
|
+
message.coverageStartDate = object.coverageStartDate;
|
|
87791
|
+
else if (typeof object.coverageStartDate === "object")
|
|
87792
|
+
message.coverageStartDate = new $util.LongBits(object.coverageStartDate.low >>> 0, object.coverageStartDate.high >>> 0).toNumber(true);
|
|
87793
|
+
if (object.coverageEndDate != null)
|
|
87794
|
+
if ($util.Long)
|
|
87795
|
+
(message.coverageEndDate = $util.Long.fromValue(object.coverageEndDate)).unsigned = true;
|
|
87796
|
+
else if (typeof object.coverageEndDate === "string")
|
|
87797
|
+
message.coverageEndDate = parseInt(object.coverageEndDate, 10);
|
|
87798
|
+
else if (typeof object.coverageEndDate === "number")
|
|
87799
|
+
message.coverageEndDate = object.coverageEndDate;
|
|
87800
|
+
else if (typeof object.coverageEndDate === "object")
|
|
87801
|
+
message.coverageEndDate = new $util.LongBits(object.coverageEndDate.low >>> 0, object.coverageEndDate.high >>> 0).toNumber(true);
|
|
87802
|
+
if (object.sessionCap != null)
|
|
87803
|
+
message.sessionCap = object.sessionCap >>> 0;
|
|
87804
|
+
switch (object.coverageResetCadence) {
|
|
87805
|
+
case "COVERAGE_RESET_CADENCE_UNKNOWN":
|
|
87806
|
+
case 0:
|
|
87807
|
+
message.coverageResetCadence = 0;
|
|
87808
|
+
break;
|
|
87809
|
+
case "COVERAGE_RESET_CADENCE_MONTHLY":
|
|
87810
|
+
case 1:
|
|
87811
|
+
message.coverageResetCadence = 1;
|
|
87812
|
+
break;
|
|
87813
|
+
case "COVERAGE_RESET_CADENCE_BIANNUAL":
|
|
87814
|
+
case 2:
|
|
87815
|
+
message.coverageResetCadence = 2;
|
|
87816
|
+
break;
|
|
87817
|
+
case "COVERAGE_RESET_CADENCE_ANNUAL":
|
|
87818
|
+
case 3:
|
|
87819
|
+
message.coverageResetCadence = 3;
|
|
87820
|
+
break;
|
|
87821
|
+
}
|
|
87822
|
+
return message;
|
|
87823
|
+
};
|
|
87824
|
+
|
|
87825
|
+
/**
|
|
87826
|
+
* Creates a plain object from a CoachingConfig message. Also converts values to other types if specified.
|
|
87827
|
+
* @function toObject
|
|
87828
|
+
* @memberof CoachingConfig
|
|
87829
|
+
* @static
|
|
87830
|
+
* @param {CoachingConfig} message CoachingConfig
|
|
87831
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
87832
|
+
* @returns {Object.<string,*>} Plain object
|
|
87833
|
+
*/
|
|
87834
|
+
CoachingConfig.toObject = function toObject(message, options) {
|
|
87835
|
+
if (!options)
|
|
87836
|
+
options = {};
|
|
87837
|
+
var object = {};
|
|
87838
|
+
if (options.defaults) {
|
|
87839
|
+
object.coachingConfigId = 0;
|
|
87840
|
+
object.orgId = 0;
|
|
87841
|
+
object.orgSubscriptionId = 0;
|
|
87842
|
+
object.isVideoCoachingEnabled = false;
|
|
87843
|
+
if ($util.Long) {
|
|
87844
|
+
var long = new $util.Long(0, 0, true);
|
|
87845
|
+
object.coverageStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
87846
|
+
} else
|
|
87847
|
+
object.coverageStartDate = options.longs === String ? "0" : 0;
|
|
87848
|
+
if ($util.Long) {
|
|
87849
|
+
var long = new $util.Long(0, 0, true);
|
|
87850
|
+
object.coverageEndDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
87851
|
+
} else
|
|
87852
|
+
object.coverageEndDate = options.longs === String ? "0" : 0;
|
|
87853
|
+
object.sessionCap = 0;
|
|
87854
|
+
object.coverageResetCadence = options.enums === String ? "COVERAGE_RESET_CADENCE_UNKNOWN" : 0;
|
|
87855
|
+
}
|
|
87856
|
+
if (message.coachingConfigId != null && message.hasOwnProperty("coachingConfigId"))
|
|
87857
|
+
object.coachingConfigId = message.coachingConfigId;
|
|
87858
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
87859
|
+
object.orgId = message.orgId;
|
|
87860
|
+
if (message.orgSubscriptionId != null && message.hasOwnProperty("orgSubscriptionId"))
|
|
87861
|
+
object.orgSubscriptionId = message.orgSubscriptionId;
|
|
87862
|
+
if (message.isVideoCoachingEnabled != null && message.hasOwnProperty("isVideoCoachingEnabled"))
|
|
87863
|
+
object.isVideoCoachingEnabled = message.isVideoCoachingEnabled;
|
|
87864
|
+
if (message.coverageStartDate != null && message.hasOwnProperty("coverageStartDate"))
|
|
87865
|
+
if (typeof message.coverageStartDate === "number")
|
|
87866
|
+
object.coverageStartDate = options.longs === String ? String(message.coverageStartDate) : message.coverageStartDate;
|
|
87867
|
+
else
|
|
87868
|
+
object.coverageStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.coverageStartDate) : options.longs === Number ? new $util.LongBits(message.coverageStartDate.low >>> 0, message.coverageStartDate.high >>> 0).toNumber(true) : message.coverageStartDate;
|
|
87869
|
+
if (message.coverageEndDate != null && message.hasOwnProperty("coverageEndDate"))
|
|
87870
|
+
if (typeof message.coverageEndDate === "number")
|
|
87871
|
+
object.coverageEndDate = options.longs === String ? String(message.coverageEndDate) : message.coverageEndDate;
|
|
87872
|
+
else
|
|
87873
|
+
object.coverageEndDate = options.longs === String ? $util.Long.prototype.toString.call(message.coverageEndDate) : options.longs === Number ? new $util.LongBits(message.coverageEndDate.low >>> 0, message.coverageEndDate.high >>> 0).toNumber(true) : message.coverageEndDate;
|
|
87874
|
+
if (message.sessionCap != null && message.hasOwnProperty("sessionCap"))
|
|
87875
|
+
object.sessionCap = message.sessionCap;
|
|
87876
|
+
if (message.coverageResetCadence != null && message.hasOwnProperty("coverageResetCadence"))
|
|
87877
|
+
object.coverageResetCadence = options.enums === String ? $root.CoverageResetCadence[message.coverageResetCadence] : message.coverageResetCadence;
|
|
87878
|
+
return object;
|
|
87879
|
+
};
|
|
87880
|
+
|
|
87881
|
+
/**
|
|
87882
|
+
* Converts this CoachingConfig to JSON.
|
|
87883
|
+
* @function toJSON
|
|
87884
|
+
* @memberof CoachingConfig
|
|
87885
|
+
* @instance
|
|
87886
|
+
* @returns {Object.<string,*>} JSON object
|
|
87887
|
+
*/
|
|
87888
|
+
CoachingConfig.prototype.toJSON = function toJSON() {
|
|
87889
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
87890
|
+
};
|
|
87891
|
+
|
|
87892
|
+
return CoachingConfig;
|
|
87893
|
+
})();
|
|
87894
|
+
|
|
87895
|
+
$root.CoachingConfigCreated = (function() {
|
|
87896
|
+
|
|
87897
|
+
/**
|
|
87898
|
+
* Properties of a CoachingConfigCreated.
|
|
87899
|
+
* @name ICoachingConfigCreated
|
|
87900
|
+
* @interface ICoachingConfigCreated
|
|
87901
|
+
* @property {ICoachingConfig|null} [coachingConfig] CoachingConfigCreated coachingConfig
|
|
87902
|
+
* @property {number|Long|null} [timestamp] CoachingConfigCreated timestamp
|
|
87903
|
+
*/
|
|
87904
|
+
|
|
87905
|
+
/**
|
|
87906
|
+
* Constructs a new CoachingConfigCreated.
|
|
87907
|
+
* @name CoachingConfigCreated
|
|
87908
|
+
* @classdesc Represents a CoachingConfigCreated.
|
|
87909
|
+
* @implements ICoachingConfigCreated
|
|
87910
|
+
* @constructor
|
|
87911
|
+
* @param {ICoachingConfigCreated=} [properties] Properties to set
|
|
87912
|
+
*/
|
|
87913
|
+
function CoachingConfigCreated(properties) {
|
|
87914
|
+
if (properties)
|
|
87915
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
87916
|
+
if (properties[keys[i]] != null)
|
|
87917
|
+
this[keys[i]] = properties[keys[i]];
|
|
87918
|
+
}
|
|
87919
|
+
|
|
87920
|
+
/**
|
|
87921
|
+
* CoachingConfigCreated coachingConfig.
|
|
87922
|
+
* @member {ICoachingConfig|null|undefined} coachingConfig
|
|
87923
|
+
* @memberof CoachingConfigCreated
|
|
87924
|
+
* @instance
|
|
87925
|
+
*/
|
|
87926
|
+
CoachingConfigCreated.prototype.coachingConfig = null;
|
|
87927
|
+
|
|
87928
|
+
/**
|
|
87929
|
+
* CoachingConfigCreated timestamp.
|
|
87930
|
+
* @member {number|Long} timestamp
|
|
87931
|
+
* @memberof CoachingConfigCreated
|
|
87932
|
+
* @instance
|
|
87933
|
+
*/
|
|
87934
|
+
CoachingConfigCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
87935
|
+
|
|
87936
|
+
/**
|
|
87937
|
+
* Creates a new CoachingConfigCreated instance using the specified properties.
|
|
87938
|
+
* @function create
|
|
87939
|
+
* @memberof CoachingConfigCreated
|
|
87940
|
+
* @static
|
|
87941
|
+
* @param {ICoachingConfigCreated=} [properties] Properties to set
|
|
87942
|
+
* @returns {CoachingConfigCreated} CoachingConfigCreated instance
|
|
87943
|
+
*/
|
|
87944
|
+
CoachingConfigCreated.create = function create(properties) {
|
|
87945
|
+
return new CoachingConfigCreated(properties);
|
|
87946
|
+
};
|
|
87947
|
+
|
|
87948
|
+
/**
|
|
87949
|
+
* Encodes the specified CoachingConfigCreated message. Does not implicitly {@link CoachingConfigCreated.verify|verify} messages.
|
|
87950
|
+
* @function encode
|
|
87951
|
+
* @memberof CoachingConfigCreated
|
|
87952
|
+
* @static
|
|
87953
|
+
* @param {ICoachingConfigCreated} message CoachingConfigCreated message or plain object to encode
|
|
87954
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
87955
|
+
* @returns {$protobuf.Writer} Writer
|
|
87956
|
+
*/
|
|
87957
|
+
CoachingConfigCreated.encode = function encode(message, writer) {
|
|
87958
|
+
if (!writer)
|
|
87959
|
+
writer = $Writer.create();
|
|
87960
|
+
if (message.coachingConfig != null && message.hasOwnProperty("coachingConfig"))
|
|
87961
|
+
$root.CoachingConfig.encode(message.coachingConfig, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
87962
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
87963
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
|
|
87964
|
+
return writer;
|
|
87965
|
+
};
|
|
87966
|
+
|
|
87967
|
+
/**
|
|
87968
|
+
* Encodes the specified CoachingConfigCreated message, length delimited. Does not implicitly {@link CoachingConfigCreated.verify|verify} messages.
|
|
87969
|
+
* @function encodeDelimited
|
|
87970
|
+
* @memberof CoachingConfigCreated
|
|
87971
|
+
* @static
|
|
87972
|
+
* @param {ICoachingConfigCreated} message CoachingConfigCreated message or plain object to encode
|
|
87973
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
87974
|
+
* @returns {$protobuf.Writer} Writer
|
|
87975
|
+
*/
|
|
87976
|
+
CoachingConfigCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
87977
|
+
return this.encode(message, writer).ldelim();
|
|
87978
|
+
};
|
|
87979
|
+
|
|
87980
|
+
/**
|
|
87981
|
+
* Decodes a CoachingConfigCreated message from the specified reader or buffer.
|
|
87982
|
+
* @function decode
|
|
87983
|
+
* @memberof CoachingConfigCreated
|
|
87984
|
+
* @static
|
|
87985
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
87986
|
+
* @param {number} [length] Message length if known beforehand
|
|
87987
|
+
* @returns {CoachingConfigCreated} CoachingConfigCreated
|
|
87988
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
87989
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
87990
|
+
*/
|
|
87991
|
+
CoachingConfigCreated.decode = function decode(reader, length) {
|
|
87992
|
+
if (!(reader instanceof $Reader))
|
|
87993
|
+
reader = $Reader.create(reader);
|
|
87994
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.CoachingConfigCreated();
|
|
87995
|
+
while (reader.pos < end) {
|
|
87996
|
+
var tag = reader.uint32();
|
|
87997
|
+
switch (tag >>> 3) {
|
|
87998
|
+
case 1:
|
|
87999
|
+
message.coachingConfig = $root.CoachingConfig.decode(reader, reader.uint32());
|
|
88000
|
+
break;
|
|
88001
|
+
case 2:
|
|
88002
|
+
message.timestamp = reader.uint64();
|
|
88003
|
+
break;
|
|
88004
|
+
default:
|
|
88005
|
+
reader.skipType(tag & 7);
|
|
88006
|
+
break;
|
|
88007
|
+
}
|
|
88008
|
+
}
|
|
88009
|
+
return message;
|
|
88010
|
+
};
|
|
88011
|
+
|
|
88012
|
+
/**
|
|
88013
|
+
* Decodes a CoachingConfigCreated message from the specified reader or buffer, length delimited.
|
|
88014
|
+
* @function decodeDelimited
|
|
88015
|
+
* @memberof CoachingConfigCreated
|
|
88016
|
+
* @static
|
|
88017
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
88018
|
+
* @returns {CoachingConfigCreated} CoachingConfigCreated
|
|
88019
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
88020
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
88021
|
+
*/
|
|
88022
|
+
CoachingConfigCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
88023
|
+
if (!(reader instanceof $Reader))
|
|
88024
|
+
reader = new $Reader(reader);
|
|
88025
|
+
return this.decode(reader, reader.uint32());
|
|
88026
|
+
};
|
|
88027
|
+
|
|
88028
|
+
/**
|
|
88029
|
+
* Verifies a CoachingConfigCreated message.
|
|
88030
|
+
* @function verify
|
|
88031
|
+
* @memberof CoachingConfigCreated
|
|
88032
|
+
* @static
|
|
88033
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
88034
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
88035
|
+
*/
|
|
88036
|
+
CoachingConfigCreated.verify = function verify(message) {
|
|
88037
|
+
if (typeof message !== "object" || message === null)
|
|
88038
|
+
return "object expected";
|
|
88039
|
+
if (message.coachingConfig != null && message.hasOwnProperty("coachingConfig")) {
|
|
88040
|
+
var error = $root.CoachingConfig.verify(message.coachingConfig);
|
|
88041
|
+
if (error)
|
|
88042
|
+
return "coachingConfig." + error;
|
|
88043
|
+
}
|
|
88044
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
88045
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
88046
|
+
return "timestamp: integer|Long expected";
|
|
88047
|
+
return null;
|
|
88048
|
+
};
|
|
88049
|
+
|
|
88050
|
+
/**
|
|
88051
|
+
* Creates a CoachingConfigCreated message from a plain object. Also converts values to their respective internal types.
|
|
88052
|
+
* @function fromObject
|
|
88053
|
+
* @memberof CoachingConfigCreated
|
|
88054
|
+
* @static
|
|
88055
|
+
* @param {Object.<string,*>} object Plain object
|
|
88056
|
+
* @returns {CoachingConfigCreated} CoachingConfigCreated
|
|
88057
|
+
*/
|
|
88058
|
+
CoachingConfigCreated.fromObject = function fromObject(object) {
|
|
88059
|
+
if (object instanceof $root.CoachingConfigCreated)
|
|
88060
|
+
return object;
|
|
88061
|
+
var message = new $root.CoachingConfigCreated();
|
|
88062
|
+
if (object.coachingConfig != null) {
|
|
88063
|
+
if (typeof object.coachingConfig !== "object")
|
|
88064
|
+
throw TypeError(".CoachingConfigCreated.coachingConfig: object expected");
|
|
88065
|
+
message.coachingConfig = $root.CoachingConfig.fromObject(object.coachingConfig);
|
|
88066
|
+
}
|
|
88067
|
+
if (object.timestamp != null)
|
|
88068
|
+
if ($util.Long)
|
|
88069
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
88070
|
+
else if (typeof object.timestamp === "string")
|
|
88071
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
88072
|
+
else if (typeof object.timestamp === "number")
|
|
88073
|
+
message.timestamp = object.timestamp;
|
|
88074
|
+
else if (typeof object.timestamp === "object")
|
|
88075
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
88076
|
+
return message;
|
|
88077
|
+
};
|
|
88078
|
+
|
|
88079
|
+
/**
|
|
88080
|
+
* Creates a plain object from a CoachingConfigCreated message. Also converts values to other types if specified.
|
|
88081
|
+
* @function toObject
|
|
88082
|
+
* @memberof CoachingConfigCreated
|
|
88083
|
+
* @static
|
|
88084
|
+
* @param {CoachingConfigCreated} message CoachingConfigCreated
|
|
88085
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
88086
|
+
* @returns {Object.<string,*>} Plain object
|
|
88087
|
+
*/
|
|
88088
|
+
CoachingConfigCreated.toObject = function toObject(message, options) {
|
|
88089
|
+
if (!options)
|
|
88090
|
+
options = {};
|
|
88091
|
+
var object = {};
|
|
88092
|
+
if (options.defaults) {
|
|
88093
|
+
object.coachingConfig = null;
|
|
88094
|
+
if ($util.Long) {
|
|
88095
|
+
var long = new $util.Long(0, 0, true);
|
|
88096
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
88097
|
+
} else
|
|
88098
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
88099
|
+
}
|
|
88100
|
+
if (message.coachingConfig != null && message.hasOwnProperty("coachingConfig"))
|
|
88101
|
+
object.coachingConfig = $root.CoachingConfig.toObject(message.coachingConfig, options);
|
|
88102
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
88103
|
+
if (typeof message.timestamp === "number")
|
|
88104
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
88105
|
+
else
|
|
88106
|
+
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;
|
|
88107
|
+
return object;
|
|
88108
|
+
};
|
|
88109
|
+
|
|
88110
|
+
/**
|
|
88111
|
+
* Converts this CoachingConfigCreated to JSON.
|
|
88112
|
+
* @function toJSON
|
|
88113
|
+
* @memberof CoachingConfigCreated
|
|
88114
|
+
* @instance
|
|
88115
|
+
* @returns {Object.<string,*>} JSON object
|
|
88116
|
+
*/
|
|
88117
|
+
CoachingConfigCreated.prototype.toJSON = function toJSON() {
|
|
88118
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
88119
|
+
};
|
|
88120
|
+
|
|
88121
|
+
return CoachingConfigCreated;
|
|
88122
|
+
})();
|
|
88123
|
+
|
|
88124
|
+
$root.CoachingConfigUpdated = (function() {
|
|
88125
|
+
|
|
88126
|
+
/**
|
|
88127
|
+
* Properties of a CoachingConfigUpdated.
|
|
88128
|
+
* @name ICoachingConfigUpdated
|
|
88129
|
+
* @interface ICoachingConfigUpdated
|
|
88130
|
+
* @property {ICoachingConfig|null} [coachingConfig] CoachingConfigUpdated coachingConfig
|
|
88131
|
+
* @property {number|Long|null} [timestamp] CoachingConfigUpdated timestamp
|
|
88132
|
+
*/
|
|
88133
|
+
|
|
88134
|
+
/**
|
|
88135
|
+
* Constructs a new CoachingConfigUpdated.
|
|
88136
|
+
* @name CoachingConfigUpdated
|
|
88137
|
+
* @classdesc Represents a CoachingConfigUpdated.
|
|
88138
|
+
* @implements ICoachingConfigUpdated
|
|
88139
|
+
* @constructor
|
|
88140
|
+
* @param {ICoachingConfigUpdated=} [properties] Properties to set
|
|
88141
|
+
*/
|
|
88142
|
+
function CoachingConfigUpdated(properties) {
|
|
88143
|
+
if (properties)
|
|
88144
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
88145
|
+
if (properties[keys[i]] != null)
|
|
88146
|
+
this[keys[i]] = properties[keys[i]];
|
|
88147
|
+
}
|
|
88148
|
+
|
|
88149
|
+
/**
|
|
88150
|
+
* CoachingConfigUpdated coachingConfig.
|
|
88151
|
+
* @member {ICoachingConfig|null|undefined} coachingConfig
|
|
88152
|
+
* @memberof CoachingConfigUpdated
|
|
88153
|
+
* @instance
|
|
88154
|
+
*/
|
|
88155
|
+
CoachingConfigUpdated.prototype.coachingConfig = null;
|
|
88156
|
+
|
|
88157
|
+
/**
|
|
88158
|
+
* CoachingConfigUpdated timestamp.
|
|
88159
|
+
* @member {number|Long} timestamp
|
|
88160
|
+
* @memberof CoachingConfigUpdated
|
|
88161
|
+
* @instance
|
|
88162
|
+
*/
|
|
88163
|
+
CoachingConfigUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
88164
|
+
|
|
88165
|
+
/**
|
|
88166
|
+
* Creates a new CoachingConfigUpdated instance using the specified properties.
|
|
88167
|
+
* @function create
|
|
88168
|
+
* @memberof CoachingConfigUpdated
|
|
88169
|
+
* @static
|
|
88170
|
+
* @param {ICoachingConfigUpdated=} [properties] Properties to set
|
|
88171
|
+
* @returns {CoachingConfigUpdated} CoachingConfigUpdated instance
|
|
88172
|
+
*/
|
|
88173
|
+
CoachingConfigUpdated.create = function create(properties) {
|
|
88174
|
+
return new CoachingConfigUpdated(properties);
|
|
88175
|
+
};
|
|
88176
|
+
|
|
88177
|
+
/**
|
|
88178
|
+
* Encodes the specified CoachingConfigUpdated message. Does not implicitly {@link CoachingConfigUpdated.verify|verify} messages.
|
|
88179
|
+
* @function encode
|
|
88180
|
+
* @memberof CoachingConfigUpdated
|
|
88181
|
+
* @static
|
|
88182
|
+
* @param {ICoachingConfigUpdated} message CoachingConfigUpdated message or plain object to encode
|
|
88183
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
88184
|
+
* @returns {$protobuf.Writer} Writer
|
|
88185
|
+
*/
|
|
88186
|
+
CoachingConfigUpdated.encode = function encode(message, writer) {
|
|
88187
|
+
if (!writer)
|
|
88188
|
+
writer = $Writer.create();
|
|
88189
|
+
if (message.coachingConfig != null && message.hasOwnProperty("coachingConfig"))
|
|
88190
|
+
$root.CoachingConfig.encode(message.coachingConfig, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
88191
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
88192
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
|
|
88193
|
+
return writer;
|
|
88194
|
+
};
|
|
88195
|
+
|
|
88196
|
+
/**
|
|
88197
|
+
* Encodes the specified CoachingConfigUpdated message, length delimited. Does not implicitly {@link CoachingConfigUpdated.verify|verify} messages.
|
|
88198
|
+
* @function encodeDelimited
|
|
88199
|
+
* @memberof CoachingConfigUpdated
|
|
88200
|
+
* @static
|
|
88201
|
+
* @param {ICoachingConfigUpdated} message CoachingConfigUpdated message or plain object to encode
|
|
88202
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
88203
|
+
* @returns {$protobuf.Writer} Writer
|
|
88204
|
+
*/
|
|
88205
|
+
CoachingConfigUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
88206
|
+
return this.encode(message, writer).ldelim();
|
|
88207
|
+
};
|
|
88208
|
+
|
|
88209
|
+
/**
|
|
88210
|
+
* Decodes a CoachingConfigUpdated message from the specified reader or buffer.
|
|
88211
|
+
* @function decode
|
|
88212
|
+
* @memberof CoachingConfigUpdated
|
|
88213
|
+
* @static
|
|
88214
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
88215
|
+
* @param {number} [length] Message length if known beforehand
|
|
88216
|
+
* @returns {CoachingConfigUpdated} CoachingConfigUpdated
|
|
88217
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
88218
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
88219
|
+
*/
|
|
88220
|
+
CoachingConfigUpdated.decode = function decode(reader, length) {
|
|
88221
|
+
if (!(reader instanceof $Reader))
|
|
88222
|
+
reader = $Reader.create(reader);
|
|
88223
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.CoachingConfigUpdated();
|
|
88224
|
+
while (reader.pos < end) {
|
|
88225
|
+
var tag = reader.uint32();
|
|
88226
|
+
switch (tag >>> 3) {
|
|
88227
|
+
case 1:
|
|
88228
|
+
message.coachingConfig = $root.CoachingConfig.decode(reader, reader.uint32());
|
|
88229
|
+
break;
|
|
88230
|
+
case 2:
|
|
88231
|
+
message.timestamp = reader.uint64();
|
|
88232
|
+
break;
|
|
88233
|
+
default:
|
|
88234
|
+
reader.skipType(tag & 7);
|
|
88235
|
+
break;
|
|
88236
|
+
}
|
|
88237
|
+
}
|
|
88238
|
+
return message;
|
|
88239
|
+
};
|
|
88240
|
+
|
|
88241
|
+
/**
|
|
88242
|
+
* Decodes a CoachingConfigUpdated message from the specified reader or buffer, length delimited.
|
|
88243
|
+
* @function decodeDelimited
|
|
88244
|
+
* @memberof CoachingConfigUpdated
|
|
88245
|
+
* @static
|
|
88246
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
88247
|
+
* @returns {CoachingConfigUpdated} CoachingConfigUpdated
|
|
88248
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
88249
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
88250
|
+
*/
|
|
88251
|
+
CoachingConfigUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
88252
|
+
if (!(reader instanceof $Reader))
|
|
88253
|
+
reader = new $Reader(reader);
|
|
88254
|
+
return this.decode(reader, reader.uint32());
|
|
88255
|
+
};
|
|
88256
|
+
|
|
88257
|
+
/**
|
|
88258
|
+
* Verifies a CoachingConfigUpdated message.
|
|
88259
|
+
* @function verify
|
|
88260
|
+
* @memberof CoachingConfigUpdated
|
|
88261
|
+
* @static
|
|
88262
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
88263
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
88264
|
+
*/
|
|
88265
|
+
CoachingConfigUpdated.verify = function verify(message) {
|
|
88266
|
+
if (typeof message !== "object" || message === null)
|
|
88267
|
+
return "object expected";
|
|
88268
|
+
if (message.coachingConfig != null && message.hasOwnProperty("coachingConfig")) {
|
|
88269
|
+
var error = $root.CoachingConfig.verify(message.coachingConfig);
|
|
88270
|
+
if (error)
|
|
88271
|
+
return "coachingConfig." + error;
|
|
88272
|
+
}
|
|
88273
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
88274
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
88275
|
+
return "timestamp: integer|Long expected";
|
|
88276
|
+
return null;
|
|
88277
|
+
};
|
|
88278
|
+
|
|
88279
|
+
/**
|
|
88280
|
+
* Creates a CoachingConfigUpdated message from a plain object. Also converts values to their respective internal types.
|
|
88281
|
+
* @function fromObject
|
|
88282
|
+
* @memberof CoachingConfigUpdated
|
|
88283
|
+
* @static
|
|
88284
|
+
* @param {Object.<string,*>} object Plain object
|
|
88285
|
+
* @returns {CoachingConfigUpdated} CoachingConfigUpdated
|
|
88286
|
+
*/
|
|
88287
|
+
CoachingConfigUpdated.fromObject = function fromObject(object) {
|
|
88288
|
+
if (object instanceof $root.CoachingConfigUpdated)
|
|
88289
|
+
return object;
|
|
88290
|
+
var message = new $root.CoachingConfigUpdated();
|
|
88291
|
+
if (object.coachingConfig != null) {
|
|
88292
|
+
if (typeof object.coachingConfig !== "object")
|
|
88293
|
+
throw TypeError(".CoachingConfigUpdated.coachingConfig: object expected");
|
|
88294
|
+
message.coachingConfig = $root.CoachingConfig.fromObject(object.coachingConfig);
|
|
88295
|
+
}
|
|
88296
|
+
if (object.timestamp != null)
|
|
88297
|
+
if ($util.Long)
|
|
88298
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
88299
|
+
else if (typeof object.timestamp === "string")
|
|
88300
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
88301
|
+
else if (typeof object.timestamp === "number")
|
|
88302
|
+
message.timestamp = object.timestamp;
|
|
88303
|
+
else if (typeof object.timestamp === "object")
|
|
88304
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
88305
|
+
return message;
|
|
88306
|
+
};
|
|
88307
|
+
|
|
88308
|
+
/**
|
|
88309
|
+
* Creates a plain object from a CoachingConfigUpdated message. Also converts values to other types if specified.
|
|
88310
|
+
* @function toObject
|
|
88311
|
+
* @memberof CoachingConfigUpdated
|
|
88312
|
+
* @static
|
|
88313
|
+
* @param {CoachingConfigUpdated} message CoachingConfigUpdated
|
|
88314
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
88315
|
+
* @returns {Object.<string,*>} Plain object
|
|
88316
|
+
*/
|
|
88317
|
+
CoachingConfigUpdated.toObject = function toObject(message, options) {
|
|
88318
|
+
if (!options)
|
|
88319
|
+
options = {};
|
|
88320
|
+
var object = {};
|
|
88321
|
+
if (options.defaults) {
|
|
88322
|
+
object.coachingConfig = null;
|
|
88323
|
+
if ($util.Long) {
|
|
88324
|
+
var long = new $util.Long(0, 0, true);
|
|
88325
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
88326
|
+
} else
|
|
88327
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
88328
|
+
}
|
|
88329
|
+
if (message.coachingConfig != null && message.hasOwnProperty("coachingConfig"))
|
|
88330
|
+
object.coachingConfig = $root.CoachingConfig.toObject(message.coachingConfig, options);
|
|
88331
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
88332
|
+
if (typeof message.timestamp === "number")
|
|
88333
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
88334
|
+
else
|
|
88335
|
+
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;
|
|
88336
|
+
return object;
|
|
88337
|
+
};
|
|
88338
|
+
|
|
88339
|
+
/**
|
|
88340
|
+
* Converts this CoachingConfigUpdated to JSON.
|
|
88341
|
+
* @function toJSON
|
|
88342
|
+
* @memberof CoachingConfigUpdated
|
|
88343
|
+
* @instance
|
|
88344
|
+
* @returns {Object.<string,*>} JSON object
|
|
88345
|
+
*/
|
|
88346
|
+
CoachingConfigUpdated.prototype.toJSON = function toJSON() {
|
|
88347
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
88348
|
+
};
|
|
88349
|
+
|
|
88350
|
+
return CoachingConfigUpdated;
|
|
88351
|
+
})();
|
|
88352
|
+
|
|
88353
|
+
$root.CoachingConfigDeleted = (function() {
|
|
88354
|
+
|
|
88355
|
+
/**
|
|
88356
|
+
* Properties of a CoachingConfigDeleted.
|
|
88357
|
+
* @name ICoachingConfigDeleted
|
|
88358
|
+
* @interface ICoachingConfigDeleted
|
|
88359
|
+
* @property {ICoachingConfig|null} [coachingConfig] CoachingConfigDeleted coachingConfig
|
|
88360
|
+
* @property {number|Long|null} [timestamp] CoachingConfigDeleted timestamp
|
|
88361
|
+
*/
|
|
88362
|
+
|
|
88363
|
+
/**
|
|
88364
|
+
* Constructs a new CoachingConfigDeleted.
|
|
88365
|
+
* @name CoachingConfigDeleted
|
|
88366
|
+
* @classdesc Represents a CoachingConfigDeleted.
|
|
88367
|
+
* @implements ICoachingConfigDeleted
|
|
88368
|
+
* @constructor
|
|
88369
|
+
* @param {ICoachingConfigDeleted=} [properties] Properties to set
|
|
88370
|
+
*/
|
|
88371
|
+
function CoachingConfigDeleted(properties) {
|
|
88372
|
+
if (properties)
|
|
88373
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
88374
|
+
if (properties[keys[i]] != null)
|
|
88375
|
+
this[keys[i]] = properties[keys[i]];
|
|
88376
|
+
}
|
|
88377
|
+
|
|
88378
|
+
/**
|
|
88379
|
+
* CoachingConfigDeleted coachingConfig.
|
|
88380
|
+
* @member {ICoachingConfig|null|undefined} coachingConfig
|
|
88381
|
+
* @memberof CoachingConfigDeleted
|
|
88382
|
+
* @instance
|
|
88383
|
+
*/
|
|
88384
|
+
CoachingConfigDeleted.prototype.coachingConfig = null;
|
|
88385
|
+
|
|
88386
|
+
/**
|
|
88387
|
+
* CoachingConfigDeleted timestamp.
|
|
88388
|
+
* @member {number|Long} timestamp
|
|
88389
|
+
* @memberof CoachingConfigDeleted
|
|
88390
|
+
* @instance
|
|
88391
|
+
*/
|
|
88392
|
+
CoachingConfigDeleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
88393
|
+
|
|
88394
|
+
/**
|
|
88395
|
+
* Creates a new CoachingConfigDeleted instance using the specified properties.
|
|
88396
|
+
* @function create
|
|
88397
|
+
* @memberof CoachingConfigDeleted
|
|
88398
|
+
* @static
|
|
88399
|
+
* @param {ICoachingConfigDeleted=} [properties] Properties to set
|
|
88400
|
+
* @returns {CoachingConfigDeleted} CoachingConfigDeleted instance
|
|
88401
|
+
*/
|
|
88402
|
+
CoachingConfigDeleted.create = function create(properties) {
|
|
88403
|
+
return new CoachingConfigDeleted(properties);
|
|
88404
|
+
};
|
|
88405
|
+
|
|
88406
|
+
/**
|
|
88407
|
+
* Encodes the specified CoachingConfigDeleted message. Does not implicitly {@link CoachingConfigDeleted.verify|verify} messages.
|
|
88408
|
+
* @function encode
|
|
88409
|
+
* @memberof CoachingConfigDeleted
|
|
88410
|
+
* @static
|
|
88411
|
+
* @param {ICoachingConfigDeleted} message CoachingConfigDeleted message or plain object to encode
|
|
88412
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
88413
|
+
* @returns {$protobuf.Writer} Writer
|
|
88414
|
+
*/
|
|
88415
|
+
CoachingConfigDeleted.encode = function encode(message, writer) {
|
|
88416
|
+
if (!writer)
|
|
88417
|
+
writer = $Writer.create();
|
|
88418
|
+
if (message.coachingConfig != null && message.hasOwnProperty("coachingConfig"))
|
|
88419
|
+
$root.CoachingConfig.encode(message.coachingConfig, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
88420
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
88421
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
|
|
88422
|
+
return writer;
|
|
88423
|
+
};
|
|
88424
|
+
|
|
88425
|
+
/**
|
|
88426
|
+
* Encodes the specified CoachingConfigDeleted message, length delimited. Does not implicitly {@link CoachingConfigDeleted.verify|verify} messages.
|
|
88427
|
+
* @function encodeDelimited
|
|
88428
|
+
* @memberof CoachingConfigDeleted
|
|
88429
|
+
* @static
|
|
88430
|
+
* @param {ICoachingConfigDeleted} message CoachingConfigDeleted message or plain object to encode
|
|
88431
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
88432
|
+
* @returns {$protobuf.Writer} Writer
|
|
88433
|
+
*/
|
|
88434
|
+
CoachingConfigDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
88435
|
+
return this.encode(message, writer).ldelim();
|
|
88436
|
+
};
|
|
88437
|
+
|
|
88438
|
+
/**
|
|
88439
|
+
* Decodes a CoachingConfigDeleted message from the specified reader or buffer.
|
|
88440
|
+
* @function decode
|
|
88441
|
+
* @memberof CoachingConfigDeleted
|
|
88442
|
+
* @static
|
|
88443
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
88444
|
+
* @param {number} [length] Message length if known beforehand
|
|
88445
|
+
* @returns {CoachingConfigDeleted} CoachingConfigDeleted
|
|
88446
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
88447
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
88448
|
+
*/
|
|
88449
|
+
CoachingConfigDeleted.decode = function decode(reader, length) {
|
|
88450
|
+
if (!(reader instanceof $Reader))
|
|
88451
|
+
reader = $Reader.create(reader);
|
|
88452
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.CoachingConfigDeleted();
|
|
88453
|
+
while (reader.pos < end) {
|
|
88454
|
+
var tag = reader.uint32();
|
|
88455
|
+
switch (tag >>> 3) {
|
|
88456
|
+
case 1:
|
|
88457
|
+
message.coachingConfig = $root.CoachingConfig.decode(reader, reader.uint32());
|
|
88458
|
+
break;
|
|
88459
|
+
case 2:
|
|
88460
|
+
message.timestamp = reader.uint64();
|
|
88461
|
+
break;
|
|
88462
|
+
default:
|
|
88463
|
+
reader.skipType(tag & 7);
|
|
88464
|
+
break;
|
|
88465
|
+
}
|
|
88466
|
+
}
|
|
88467
|
+
return message;
|
|
88468
|
+
};
|
|
88469
|
+
|
|
88470
|
+
/**
|
|
88471
|
+
* Decodes a CoachingConfigDeleted message from the specified reader or buffer, length delimited.
|
|
88472
|
+
* @function decodeDelimited
|
|
88473
|
+
* @memberof CoachingConfigDeleted
|
|
88474
|
+
* @static
|
|
88475
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
88476
|
+
* @returns {CoachingConfigDeleted} CoachingConfigDeleted
|
|
88477
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
88478
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
88479
|
+
*/
|
|
88480
|
+
CoachingConfigDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
88481
|
+
if (!(reader instanceof $Reader))
|
|
88482
|
+
reader = new $Reader(reader);
|
|
88483
|
+
return this.decode(reader, reader.uint32());
|
|
88484
|
+
};
|
|
88485
|
+
|
|
88486
|
+
/**
|
|
88487
|
+
* Verifies a CoachingConfigDeleted message.
|
|
88488
|
+
* @function verify
|
|
88489
|
+
* @memberof CoachingConfigDeleted
|
|
88490
|
+
* @static
|
|
88491
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
88492
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
88493
|
+
*/
|
|
88494
|
+
CoachingConfigDeleted.verify = function verify(message) {
|
|
88495
|
+
if (typeof message !== "object" || message === null)
|
|
88496
|
+
return "object expected";
|
|
88497
|
+
if (message.coachingConfig != null && message.hasOwnProperty("coachingConfig")) {
|
|
88498
|
+
var error = $root.CoachingConfig.verify(message.coachingConfig);
|
|
88499
|
+
if (error)
|
|
88500
|
+
return "coachingConfig." + error;
|
|
88501
|
+
}
|
|
88502
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
88503
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
88504
|
+
return "timestamp: integer|Long expected";
|
|
88505
|
+
return null;
|
|
88506
|
+
};
|
|
88507
|
+
|
|
88508
|
+
/**
|
|
88509
|
+
* Creates a CoachingConfigDeleted message from a plain object. Also converts values to their respective internal types.
|
|
88510
|
+
* @function fromObject
|
|
88511
|
+
* @memberof CoachingConfigDeleted
|
|
88512
|
+
* @static
|
|
88513
|
+
* @param {Object.<string,*>} object Plain object
|
|
88514
|
+
* @returns {CoachingConfigDeleted} CoachingConfigDeleted
|
|
88515
|
+
*/
|
|
88516
|
+
CoachingConfigDeleted.fromObject = function fromObject(object) {
|
|
88517
|
+
if (object instanceof $root.CoachingConfigDeleted)
|
|
88518
|
+
return object;
|
|
88519
|
+
var message = new $root.CoachingConfigDeleted();
|
|
88520
|
+
if (object.coachingConfig != null) {
|
|
88521
|
+
if (typeof object.coachingConfig !== "object")
|
|
88522
|
+
throw TypeError(".CoachingConfigDeleted.coachingConfig: object expected");
|
|
88523
|
+
message.coachingConfig = $root.CoachingConfig.fromObject(object.coachingConfig);
|
|
88524
|
+
}
|
|
88525
|
+
if (object.timestamp != null)
|
|
88526
|
+
if ($util.Long)
|
|
88527
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
88528
|
+
else if (typeof object.timestamp === "string")
|
|
88529
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
88530
|
+
else if (typeof object.timestamp === "number")
|
|
88531
|
+
message.timestamp = object.timestamp;
|
|
88532
|
+
else if (typeof object.timestamp === "object")
|
|
88533
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
88534
|
+
return message;
|
|
88535
|
+
};
|
|
88536
|
+
|
|
88537
|
+
/**
|
|
88538
|
+
* Creates a plain object from a CoachingConfigDeleted message. Also converts values to other types if specified.
|
|
88539
|
+
* @function toObject
|
|
88540
|
+
* @memberof CoachingConfigDeleted
|
|
88541
|
+
* @static
|
|
88542
|
+
* @param {CoachingConfigDeleted} message CoachingConfigDeleted
|
|
88543
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
88544
|
+
* @returns {Object.<string,*>} Plain object
|
|
88545
|
+
*/
|
|
88546
|
+
CoachingConfigDeleted.toObject = function toObject(message, options) {
|
|
88547
|
+
if (!options)
|
|
88548
|
+
options = {};
|
|
88549
|
+
var object = {};
|
|
88550
|
+
if (options.defaults) {
|
|
88551
|
+
object.coachingConfig = null;
|
|
88552
|
+
if ($util.Long) {
|
|
88553
|
+
var long = new $util.Long(0, 0, true);
|
|
88554
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
88555
|
+
} else
|
|
88556
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
88557
|
+
}
|
|
88558
|
+
if (message.coachingConfig != null && message.hasOwnProperty("coachingConfig"))
|
|
88559
|
+
object.coachingConfig = $root.CoachingConfig.toObject(message.coachingConfig, options);
|
|
88560
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
88561
|
+
if (typeof message.timestamp === "number")
|
|
88562
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
88563
|
+
else
|
|
88564
|
+
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;
|
|
88565
|
+
return object;
|
|
88566
|
+
};
|
|
88567
|
+
|
|
88568
|
+
/**
|
|
88569
|
+
* Converts this CoachingConfigDeleted to JSON.
|
|
88570
|
+
* @function toJSON
|
|
88571
|
+
* @memberof CoachingConfigDeleted
|
|
88572
|
+
* @instance
|
|
88573
|
+
* @returns {Object.<string,*>} JSON object
|
|
88574
|
+
*/
|
|
88575
|
+
CoachingConfigDeleted.prototype.toJSON = function toJSON() {
|
|
88576
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
88577
|
+
};
|
|
88578
|
+
|
|
88579
|
+
return CoachingConfigDeleted;
|
|
88580
|
+
})();
|
|
88581
|
+
|
|
87484
88582
|
$root.OrganizationCreated = (function() {
|
|
87485
88583
|
|
|
87486
88584
|
/**
|
|
@@ -164439,6 +165537,7 @@ $root.clinical = (function() {
|
|
|
164439
165537
|
return "languagesSpecialties: enum value[] expected";
|
|
164440
165538
|
case 0:
|
|
164441
165539
|
case 1:
|
|
165540
|
+
case 2:
|
|
164442
165541
|
break;
|
|
164443
165542
|
}
|
|
164444
165543
|
}
|
|
@@ -164451,6 +165550,7 @@ $root.clinical = (function() {
|
|
|
164451
165550
|
return "ageRangeSpecialties: enum value[] expected";
|
|
164452
165551
|
case 0:
|
|
164453
165552
|
case 1:
|
|
165553
|
+
case 2:
|
|
164454
165554
|
break;
|
|
164455
165555
|
}
|
|
164456
165556
|
}
|
|
@@ -164715,6 +165815,10 @@ $root.clinical = (function() {
|
|
|
164715
165815
|
case 1:
|
|
164716
165816
|
message.languagesSpecialties[i] = 1;
|
|
164717
165817
|
break;
|
|
165818
|
+
case "CLINICIAN_LANGUAGE_SPECIALTY_ENGLISH":
|
|
165819
|
+
case 2:
|
|
165820
|
+
message.languagesSpecialties[i] = 2;
|
|
165821
|
+
break;
|
|
164718
165822
|
}
|
|
164719
165823
|
}
|
|
164720
165824
|
if (object.ageRangeSpecialties) {
|
|
@@ -164732,6 +165836,10 @@ $root.clinical = (function() {
|
|
|
164732
165836
|
case 1:
|
|
164733
165837
|
message.ageRangeSpecialties[i] = 1;
|
|
164734
165838
|
break;
|
|
165839
|
+
case "CLINICIAN_AGE_RANGE_SPECIALTY_ADULT":
|
|
165840
|
+
case 2:
|
|
165841
|
+
message.ageRangeSpecialties[i] = 2;
|
|
165842
|
+
break;
|
|
164735
165843
|
}
|
|
164736
165844
|
}
|
|
164737
165845
|
if (object.races) {
|
|
@@ -165329,32 +166437,34 @@ $root.clinical = (function() {
|
|
|
165329
166437
|
})();
|
|
165330
166438
|
|
|
165331
166439
|
/**
|
|
165332
|
-
* List of clinician's language specialties (the clinican can be assigned to members with specific languages)
|
|
165333
|
-
* there is not language for english speaking members
|
|
166440
|
+
* List of clinician's language specialties (the clinican can be assigned to members with specific languages)
|
|
165334
166441
|
* @name clinical.ClinicianLanguageSpecialty
|
|
165335
166442
|
* @enum {string}
|
|
165336
166443
|
* @property {number} CLINICIAN_LANGUAGE_SPECIALTY_UNKNOWN=0 CLINICIAN_LANGUAGE_SPECIALTY_UNKNOWN value
|
|
165337
166444
|
* @property {number} CLINICIAN_LANGUAGE_SPECIALTY_SPANISH=1 CLINICIAN_LANGUAGE_SPECIALTY_SPANISH value
|
|
166445
|
+
* @property {number} CLINICIAN_LANGUAGE_SPECIALTY_ENGLISH=2 CLINICIAN_LANGUAGE_SPECIALTY_ENGLISH value
|
|
165338
166446
|
*/
|
|
165339
166447
|
clinical.ClinicianLanguageSpecialty = (function() {
|
|
165340
166448
|
var valuesById = {}, values = Object.create(valuesById);
|
|
165341
166449
|
values[valuesById[0] = "CLINICIAN_LANGUAGE_SPECIALTY_UNKNOWN"] = 0;
|
|
165342
166450
|
values[valuesById[1] = "CLINICIAN_LANGUAGE_SPECIALTY_SPANISH"] = 1;
|
|
166451
|
+
values[valuesById[2] = "CLINICIAN_LANGUAGE_SPECIALTY_ENGLISH"] = 2;
|
|
165343
166452
|
return values;
|
|
165344
166453
|
})();
|
|
165345
166454
|
|
|
165346
166455
|
/**
|
|
165347
|
-
* List of clinician's age range specialties (the clinican can be assigned to members with specific age ranges)
|
|
165348
|
-
* there is not age range for adults
|
|
166456
|
+
* List of clinician's age range specialties (the clinican can be assigned to members with specific age ranges)
|
|
165349
166457
|
* @name clinical.ClinicianAgeRangeSpecialty
|
|
165350
166458
|
* @enum {string}
|
|
165351
166459
|
* @property {number} CLINICIAN_AGE_RANGE_SPECIALTY_UNKNOWN=0 CLINICIAN_AGE_RANGE_SPECIALTY_UNKNOWN value
|
|
165352
166460
|
* @property {number} CLINICIAN_AGE_RANGE_SPECIALTY_ADOLESCENT=1 CLINICIAN_AGE_RANGE_SPECIALTY_ADOLESCENT value
|
|
166461
|
+
* @property {number} CLINICIAN_AGE_RANGE_SPECIALTY_ADULT=2 CLINICIAN_AGE_RANGE_SPECIALTY_ADULT value
|
|
165353
166462
|
*/
|
|
165354
166463
|
clinical.ClinicianAgeRangeSpecialty = (function() {
|
|
165355
166464
|
var valuesById = {}, values = Object.create(valuesById);
|
|
165356
166465
|
values[valuesById[0] = "CLINICIAN_AGE_RANGE_SPECIALTY_UNKNOWN"] = 0;
|
|
165357
166466
|
values[valuesById[1] = "CLINICIAN_AGE_RANGE_SPECIALTY_ADOLESCENT"] = 1;
|
|
166467
|
+
values[valuesById[2] = "CLINICIAN_AGE_RANGE_SPECIALTY_ADULT"] = 2;
|
|
165358
166468
|
return values;
|
|
165359
166469
|
})();
|
|
165360
166470
|
|