@headspace/protos-events 1.603.0 → 1.605.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 +120 -300
- package/lib/index.js +300 -735
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -3561,6 +3561,8 @@ $root.clinical = (function() {
|
|
|
3561
3561
|
* @property {string|null} [aboutMe] Clinician aboutMe
|
|
3562
3562
|
* @property {string|null} [education] Clinician education
|
|
3563
3563
|
* @property {string|null} [email] Clinician email
|
|
3564
|
+
* @property {Array.<clinical.IAppUser>|null} [oktaIds] ID of this clinician in Okta
|
|
3565
|
+
* TODO: Only two values expected here, one in Okta and one in web
|
|
3564
3566
|
*/
|
|
3565
3567
|
|
|
3566
3568
|
/**
|
|
@@ -3574,6 +3576,7 @@ $root.clinical = (function() {
|
|
|
3574
3576
|
function Clinician(properties) {
|
|
3575
3577
|
this.validLicenses = [];
|
|
3576
3578
|
this.specializations = [];
|
|
3579
|
+
this.oktaIds = [];
|
|
3577
3580
|
if (properties)
|
|
3578
3581
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
3579
3582
|
if (properties[keys[i]] != null)
|
|
@@ -3732,6 +3735,15 @@ $root.clinical = (function() {
|
|
|
3732
3735
|
*/
|
|
3733
3736
|
Clinician.prototype.email = "";
|
|
3734
3737
|
|
|
3738
|
+
/**
|
|
3739
|
+
* ID of this clinician in Okta
|
|
3740
|
+
* TODO: Only two values expected here, one in Okta and one in web
|
|
3741
|
+
* @member {Array.<clinical.IAppUser>} oktaIds
|
|
3742
|
+
* @memberof clinical.Clinician
|
|
3743
|
+
* @instance
|
|
3744
|
+
*/
|
|
3745
|
+
Clinician.prototype.oktaIds = $util.emptyArray;
|
|
3746
|
+
|
|
3735
3747
|
/**
|
|
3736
3748
|
* Creates a new Clinician instance using the specified properties.
|
|
3737
3749
|
* @function create
|
|
@@ -3796,6 +3808,9 @@ $root.clinical = (function() {
|
|
|
3796
3808
|
writer.uint32(/* id 18, wireType 2 =*/146).string(message.education);
|
|
3797
3809
|
if (message.email != null && message.hasOwnProperty("email"))
|
|
3798
3810
|
writer.uint32(/* id 19, wireType 2 =*/154).string(message.email);
|
|
3811
|
+
if (message.oktaIds != null && message.oktaIds.length)
|
|
3812
|
+
for (var i = 0; i < message.oktaIds.length; ++i)
|
|
3813
|
+
$root.clinical.AppUser.encode(message.oktaIds[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
3799
3814
|
return writer;
|
|
3800
3815
|
};
|
|
3801
3816
|
|
|
@@ -3891,6 +3906,11 @@ $root.clinical = (function() {
|
|
|
3891
3906
|
case 19:
|
|
3892
3907
|
message.email = reader.string();
|
|
3893
3908
|
break;
|
|
3909
|
+
case 20:
|
|
3910
|
+
if (!(message.oktaIds && message.oktaIds.length))
|
|
3911
|
+
message.oktaIds = [];
|
|
3912
|
+
message.oktaIds.push($root.clinical.AppUser.decode(reader, reader.uint32()));
|
|
3913
|
+
break;
|
|
3894
3914
|
default:
|
|
3895
3915
|
reader.skipType(tag & 7);
|
|
3896
3916
|
break;
|
|
@@ -4038,6 +4058,15 @@ $root.clinical = (function() {
|
|
|
4038
4058
|
if (message.email != null && message.hasOwnProperty("email"))
|
|
4039
4059
|
if (!$util.isString(message.email))
|
|
4040
4060
|
return "email: string expected";
|
|
4061
|
+
if (message.oktaIds != null && message.hasOwnProperty("oktaIds")) {
|
|
4062
|
+
if (!Array.isArray(message.oktaIds))
|
|
4063
|
+
return "oktaIds: array expected";
|
|
4064
|
+
for (var i = 0; i < message.oktaIds.length; ++i) {
|
|
4065
|
+
var error = $root.clinical.AppUser.verify(message.oktaIds[i]);
|
|
4066
|
+
if (error)
|
|
4067
|
+
return "oktaIds." + error;
|
|
4068
|
+
}
|
|
4069
|
+
}
|
|
4041
4070
|
return null;
|
|
4042
4071
|
};
|
|
4043
4072
|
|
|
@@ -4226,6 +4255,16 @@ $root.clinical = (function() {
|
|
|
4226
4255
|
message.education = String(object.education);
|
|
4227
4256
|
if (object.email != null)
|
|
4228
4257
|
message.email = String(object.email);
|
|
4258
|
+
if (object.oktaIds) {
|
|
4259
|
+
if (!Array.isArray(object.oktaIds))
|
|
4260
|
+
throw TypeError(".clinical.Clinician.oktaIds: array expected");
|
|
4261
|
+
message.oktaIds = [];
|
|
4262
|
+
for (var i = 0; i < object.oktaIds.length; ++i) {
|
|
4263
|
+
if (typeof object.oktaIds[i] !== "object")
|
|
4264
|
+
throw TypeError(".clinical.Clinician.oktaIds: object expected");
|
|
4265
|
+
message.oktaIds[i] = $root.clinical.AppUser.fromObject(object.oktaIds[i]);
|
|
4266
|
+
}
|
|
4267
|
+
}
|
|
4229
4268
|
return message;
|
|
4230
4269
|
};
|
|
4231
4270
|
|
|
@@ -4245,6 +4284,7 @@ $root.clinical = (function() {
|
|
|
4245
4284
|
if (options.arrays || options.defaults) {
|
|
4246
4285
|
object.validLicenses = [];
|
|
4247
4286
|
object.specializations = [];
|
|
4287
|
+
object.oktaIds = [];
|
|
4248
4288
|
}
|
|
4249
4289
|
if (options.defaults) {
|
|
4250
4290
|
object.id = "";
|
|
@@ -4323,6 +4363,11 @@ $root.clinical = (function() {
|
|
|
4323
4363
|
object.education = message.education;
|
|
4324
4364
|
if (message.email != null && message.hasOwnProperty("email"))
|
|
4325
4365
|
object.email = message.email;
|
|
4366
|
+
if (message.oktaIds && message.oktaIds.length) {
|
|
4367
|
+
object.oktaIds = [];
|
|
4368
|
+
for (var j = 0; j < message.oktaIds.length; ++j)
|
|
4369
|
+
object.oktaIds[j] = $root.clinical.AppUser.toObject(message.oktaIds[j], options);
|
|
4370
|
+
}
|
|
4326
4371
|
return object;
|
|
4327
4372
|
};
|
|
4328
4373
|
|
|
@@ -4455,6 +4500,216 @@ $root.clinical = (function() {
|
|
|
4455
4500
|
return values;
|
|
4456
4501
|
})();
|
|
4457
4502
|
|
|
4503
|
+
clinical.AppUser = (function() {
|
|
4504
|
+
|
|
4505
|
+
/**
|
|
4506
|
+
* Properties of an AppUser.
|
|
4507
|
+
* @memberof clinical
|
|
4508
|
+
* @interface IAppUser
|
|
4509
|
+
* @property {string|null} [id] AppUser id
|
|
4510
|
+
* @property {string|null} [appId] AppUser appId
|
|
4511
|
+
*/
|
|
4512
|
+
|
|
4513
|
+
/**
|
|
4514
|
+
* Constructs a new AppUser.
|
|
4515
|
+
* @memberof clinical
|
|
4516
|
+
* @classdesc Represents an AppUser.
|
|
4517
|
+
* @implements IAppUser
|
|
4518
|
+
* @constructor
|
|
4519
|
+
* @param {clinical.IAppUser=} [properties] Properties to set
|
|
4520
|
+
*/
|
|
4521
|
+
function AppUser(properties) {
|
|
4522
|
+
if (properties)
|
|
4523
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
4524
|
+
if (properties[keys[i]] != null)
|
|
4525
|
+
this[keys[i]] = properties[keys[i]];
|
|
4526
|
+
}
|
|
4527
|
+
|
|
4528
|
+
/**
|
|
4529
|
+
* AppUser id.
|
|
4530
|
+
* @member {string} id
|
|
4531
|
+
* @memberof clinical.AppUser
|
|
4532
|
+
* @instance
|
|
4533
|
+
*/
|
|
4534
|
+
AppUser.prototype.id = "";
|
|
4535
|
+
|
|
4536
|
+
/**
|
|
4537
|
+
* AppUser appId.
|
|
4538
|
+
* @member {string} appId
|
|
4539
|
+
* @memberof clinical.AppUser
|
|
4540
|
+
* @instance
|
|
4541
|
+
*/
|
|
4542
|
+
AppUser.prototype.appId = "";
|
|
4543
|
+
|
|
4544
|
+
/**
|
|
4545
|
+
* Creates a new AppUser instance using the specified properties.
|
|
4546
|
+
* @function create
|
|
4547
|
+
* @memberof clinical.AppUser
|
|
4548
|
+
* @static
|
|
4549
|
+
* @param {clinical.IAppUser=} [properties] Properties to set
|
|
4550
|
+
* @returns {clinical.AppUser} AppUser instance
|
|
4551
|
+
*/
|
|
4552
|
+
AppUser.create = function create(properties) {
|
|
4553
|
+
return new AppUser(properties);
|
|
4554
|
+
};
|
|
4555
|
+
|
|
4556
|
+
/**
|
|
4557
|
+
* Encodes the specified AppUser message. Does not implicitly {@link clinical.AppUser.verify|verify} messages.
|
|
4558
|
+
* @function encode
|
|
4559
|
+
* @memberof clinical.AppUser
|
|
4560
|
+
* @static
|
|
4561
|
+
* @param {clinical.IAppUser} message AppUser message or plain object to encode
|
|
4562
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4563
|
+
* @returns {$protobuf.Writer} Writer
|
|
4564
|
+
*/
|
|
4565
|
+
AppUser.encode = function encode(message, writer) {
|
|
4566
|
+
if (!writer)
|
|
4567
|
+
writer = $Writer.create();
|
|
4568
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
4569
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
4570
|
+
if (message.appId != null && message.hasOwnProperty("appId"))
|
|
4571
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.appId);
|
|
4572
|
+
return writer;
|
|
4573
|
+
};
|
|
4574
|
+
|
|
4575
|
+
/**
|
|
4576
|
+
* Encodes the specified AppUser message, length delimited. Does not implicitly {@link clinical.AppUser.verify|verify} messages.
|
|
4577
|
+
* @function encodeDelimited
|
|
4578
|
+
* @memberof clinical.AppUser
|
|
4579
|
+
* @static
|
|
4580
|
+
* @param {clinical.IAppUser} message AppUser message or plain object to encode
|
|
4581
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4582
|
+
* @returns {$protobuf.Writer} Writer
|
|
4583
|
+
*/
|
|
4584
|
+
AppUser.encodeDelimited = function encodeDelimited(message, writer) {
|
|
4585
|
+
return this.encode(message, writer).ldelim();
|
|
4586
|
+
};
|
|
4587
|
+
|
|
4588
|
+
/**
|
|
4589
|
+
* Decodes an AppUser message from the specified reader or buffer.
|
|
4590
|
+
* @function decode
|
|
4591
|
+
* @memberof clinical.AppUser
|
|
4592
|
+
* @static
|
|
4593
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4594
|
+
* @param {number} [length] Message length if known beforehand
|
|
4595
|
+
* @returns {clinical.AppUser} AppUser
|
|
4596
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4597
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4598
|
+
*/
|
|
4599
|
+
AppUser.decode = function decode(reader, length) {
|
|
4600
|
+
if (!(reader instanceof $Reader))
|
|
4601
|
+
reader = $Reader.create(reader);
|
|
4602
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.clinical.AppUser();
|
|
4603
|
+
while (reader.pos < end) {
|
|
4604
|
+
var tag = reader.uint32();
|
|
4605
|
+
switch (tag >>> 3) {
|
|
4606
|
+
case 1:
|
|
4607
|
+
message.id = reader.string();
|
|
4608
|
+
break;
|
|
4609
|
+
case 2:
|
|
4610
|
+
message.appId = reader.string();
|
|
4611
|
+
break;
|
|
4612
|
+
default:
|
|
4613
|
+
reader.skipType(tag & 7);
|
|
4614
|
+
break;
|
|
4615
|
+
}
|
|
4616
|
+
}
|
|
4617
|
+
return message;
|
|
4618
|
+
};
|
|
4619
|
+
|
|
4620
|
+
/**
|
|
4621
|
+
* Decodes an AppUser message from the specified reader or buffer, length delimited.
|
|
4622
|
+
* @function decodeDelimited
|
|
4623
|
+
* @memberof clinical.AppUser
|
|
4624
|
+
* @static
|
|
4625
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4626
|
+
* @returns {clinical.AppUser} AppUser
|
|
4627
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4628
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4629
|
+
*/
|
|
4630
|
+
AppUser.decodeDelimited = function decodeDelimited(reader) {
|
|
4631
|
+
if (!(reader instanceof $Reader))
|
|
4632
|
+
reader = new $Reader(reader);
|
|
4633
|
+
return this.decode(reader, reader.uint32());
|
|
4634
|
+
};
|
|
4635
|
+
|
|
4636
|
+
/**
|
|
4637
|
+
* Verifies an AppUser message.
|
|
4638
|
+
* @function verify
|
|
4639
|
+
* @memberof clinical.AppUser
|
|
4640
|
+
* @static
|
|
4641
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
4642
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
4643
|
+
*/
|
|
4644
|
+
AppUser.verify = function verify(message) {
|
|
4645
|
+
if (typeof message !== "object" || message === null)
|
|
4646
|
+
return "object expected";
|
|
4647
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
4648
|
+
if (!$util.isString(message.id))
|
|
4649
|
+
return "id: string expected";
|
|
4650
|
+
if (message.appId != null && message.hasOwnProperty("appId"))
|
|
4651
|
+
if (!$util.isString(message.appId))
|
|
4652
|
+
return "appId: string expected";
|
|
4653
|
+
return null;
|
|
4654
|
+
};
|
|
4655
|
+
|
|
4656
|
+
/**
|
|
4657
|
+
* Creates an AppUser message from a plain object. Also converts values to their respective internal types.
|
|
4658
|
+
* @function fromObject
|
|
4659
|
+
* @memberof clinical.AppUser
|
|
4660
|
+
* @static
|
|
4661
|
+
* @param {Object.<string,*>} object Plain object
|
|
4662
|
+
* @returns {clinical.AppUser} AppUser
|
|
4663
|
+
*/
|
|
4664
|
+
AppUser.fromObject = function fromObject(object) {
|
|
4665
|
+
if (object instanceof $root.clinical.AppUser)
|
|
4666
|
+
return object;
|
|
4667
|
+
var message = new $root.clinical.AppUser();
|
|
4668
|
+
if (object.id != null)
|
|
4669
|
+
message.id = String(object.id);
|
|
4670
|
+
if (object.appId != null)
|
|
4671
|
+
message.appId = String(object.appId);
|
|
4672
|
+
return message;
|
|
4673
|
+
};
|
|
4674
|
+
|
|
4675
|
+
/**
|
|
4676
|
+
* Creates a plain object from an AppUser message. Also converts values to other types if specified.
|
|
4677
|
+
* @function toObject
|
|
4678
|
+
* @memberof clinical.AppUser
|
|
4679
|
+
* @static
|
|
4680
|
+
* @param {clinical.AppUser} message AppUser
|
|
4681
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
4682
|
+
* @returns {Object.<string,*>} Plain object
|
|
4683
|
+
*/
|
|
4684
|
+
AppUser.toObject = function toObject(message, options) {
|
|
4685
|
+
if (!options)
|
|
4686
|
+
options = {};
|
|
4687
|
+
var object = {};
|
|
4688
|
+
if (options.defaults) {
|
|
4689
|
+
object.id = "";
|
|
4690
|
+
object.appId = "";
|
|
4691
|
+
}
|
|
4692
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
4693
|
+
object.id = message.id;
|
|
4694
|
+
if (message.appId != null && message.hasOwnProperty("appId"))
|
|
4695
|
+
object.appId = message.appId;
|
|
4696
|
+
return object;
|
|
4697
|
+
};
|
|
4698
|
+
|
|
4699
|
+
/**
|
|
4700
|
+
* Converts this AppUser to JSON.
|
|
4701
|
+
* @function toJSON
|
|
4702
|
+
* @memberof clinical.AppUser
|
|
4703
|
+
* @instance
|
|
4704
|
+
* @returns {Object.<string,*>} JSON object
|
|
4705
|
+
*/
|
|
4706
|
+
AppUser.prototype.toJSON = function toJSON() {
|
|
4707
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4708
|
+
};
|
|
4709
|
+
|
|
4710
|
+
return AppUser;
|
|
4711
|
+
})();
|
|
4712
|
+
|
|
4458
4713
|
clinical.Coach = (function() {
|
|
4459
4714
|
|
|
4460
4715
|
/**
|
|
@@ -4480,6 +4735,8 @@ $root.clinical = (function() {
|
|
|
4480
4735
|
* @property {string|null} [fullName] Coach fullName
|
|
4481
4736
|
* @property {string|null} [email] Coach email
|
|
4482
4737
|
* @property {clinical.ICoachRoleDisplay|null} [roleDisplay] Coach roleDisplay
|
|
4738
|
+
* @property {Array.<clinical.IAppUser>|null} [oktaIds] ID of this coach in Okta
|
|
4739
|
+
* TODO: Only two values expected here, one in Okta and one in listener
|
|
4483
4740
|
*/
|
|
4484
4741
|
|
|
4485
4742
|
/**
|
|
@@ -4495,6 +4752,7 @@ $root.clinical = (function() {
|
|
|
4495
4752
|
this.roles = [];
|
|
4496
4753
|
this.specializations = [];
|
|
4497
4754
|
this.deprecatedSpecializations = [];
|
|
4755
|
+
this.oktaIds = [];
|
|
4498
4756
|
if (properties)
|
|
4499
4757
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
4500
4758
|
if (properties[keys[i]] != null)
|
|
@@ -4611,6 +4869,15 @@ $root.clinical = (function() {
|
|
|
4611
4869
|
*/
|
|
4612
4870
|
Coach.prototype.roleDisplay = null;
|
|
4613
4871
|
|
|
4872
|
+
/**
|
|
4873
|
+
* ID of this coach in Okta
|
|
4874
|
+
* TODO: Only two values expected here, one in Okta and one in listener
|
|
4875
|
+
* @member {Array.<clinical.IAppUser>} oktaIds
|
|
4876
|
+
* @memberof clinical.Coach
|
|
4877
|
+
* @instance
|
|
4878
|
+
*/
|
|
4879
|
+
Coach.prototype.oktaIds = $util.emptyArray;
|
|
4880
|
+
|
|
4614
4881
|
/**
|
|
4615
4882
|
* Creates a new Coach instance using the specified properties.
|
|
4616
4883
|
* @function create
|
|
@@ -4671,6 +4938,9 @@ $root.clinical = (function() {
|
|
|
4671
4938
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.email);
|
|
4672
4939
|
if (message.roleDisplay != null && message.hasOwnProperty("roleDisplay"))
|
|
4673
4940
|
$root.clinical.CoachRoleDisplay.encode(message.roleDisplay, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
|
|
4941
|
+
if (message.oktaIds != null && message.oktaIds.length)
|
|
4942
|
+
for (var i = 0; i < message.oktaIds.length; ++i)
|
|
4943
|
+
$root.clinical.AppUser.encode(message.oktaIds[i], writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
|
|
4674
4944
|
return writer;
|
|
4675
4945
|
};
|
|
4676
4946
|
|
|
@@ -4762,6 +5032,11 @@ $root.clinical = (function() {
|
|
|
4762
5032
|
case 13:
|
|
4763
5033
|
message.roleDisplay = $root.clinical.CoachRoleDisplay.decode(reader, reader.uint32());
|
|
4764
5034
|
break;
|
|
5035
|
+
case 14:
|
|
5036
|
+
if (!(message.oktaIds && message.oktaIds.length))
|
|
5037
|
+
message.oktaIds = [];
|
|
5038
|
+
message.oktaIds.push($root.clinical.AppUser.decode(reader, reader.uint32()));
|
|
5039
|
+
break;
|
|
4765
5040
|
default:
|
|
4766
5041
|
reader.skipType(tag & 7);
|
|
4767
5042
|
break;
|
|
@@ -4967,6 +5242,15 @@ $root.clinical = (function() {
|
|
|
4967
5242
|
if (error)
|
|
4968
5243
|
return "roleDisplay." + error;
|
|
4969
5244
|
}
|
|
5245
|
+
if (message.oktaIds != null && message.hasOwnProperty("oktaIds")) {
|
|
5246
|
+
if (!Array.isArray(message.oktaIds))
|
|
5247
|
+
return "oktaIds: array expected";
|
|
5248
|
+
for (var i = 0; i < message.oktaIds.length; ++i) {
|
|
5249
|
+
var error = $root.clinical.AppUser.verify(message.oktaIds[i]);
|
|
5250
|
+
if (error)
|
|
5251
|
+
return "oktaIds." + error;
|
|
5252
|
+
}
|
|
5253
|
+
}
|
|
4970
5254
|
return null;
|
|
4971
5255
|
};
|
|
4972
5256
|
|
|
@@ -5467,6 +5751,16 @@ $root.clinical = (function() {
|
|
|
5467
5751
|
throw TypeError(".clinical.Coach.roleDisplay: object expected");
|
|
5468
5752
|
message.roleDisplay = $root.clinical.CoachRoleDisplay.fromObject(object.roleDisplay);
|
|
5469
5753
|
}
|
|
5754
|
+
if (object.oktaIds) {
|
|
5755
|
+
if (!Array.isArray(object.oktaIds))
|
|
5756
|
+
throw TypeError(".clinical.Coach.oktaIds: array expected");
|
|
5757
|
+
message.oktaIds = [];
|
|
5758
|
+
for (var i = 0; i < object.oktaIds.length; ++i) {
|
|
5759
|
+
if (typeof object.oktaIds[i] !== "object")
|
|
5760
|
+
throw TypeError(".clinical.Coach.oktaIds: object expected");
|
|
5761
|
+
message.oktaIds[i] = $root.clinical.AppUser.fromObject(object.oktaIds[i]);
|
|
5762
|
+
}
|
|
5763
|
+
}
|
|
5470
5764
|
return message;
|
|
5471
5765
|
};
|
|
5472
5766
|
|
|
@@ -5488,6 +5782,7 @@ $root.clinical = (function() {
|
|
|
5488
5782
|
object.specializations = [];
|
|
5489
5783
|
object.roles = [];
|
|
5490
5784
|
object.deprecatedSpecializations = [];
|
|
5785
|
+
object.oktaIds = [];
|
|
5491
5786
|
}
|
|
5492
5787
|
if (options.defaults) {
|
|
5493
5788
|
object.id = "";
|
|
@@ -5552,6 +5847,11 @@ $root.clinical = (function() {
|
|
|
5552
5847
|
object.email = message.email;
|
|
5553
5848
|
if (message.roleDisplay != null && message.hasOwnProperty("roleDisplay"))
|
|
5554
5849
|
object.roleDisplay = $root.clinical.CoachRoleDisplay.toObject(message.roleDisplay, options);
|
|
5850
|
+
if (message.oktaIds && message.oktaIds.length) {
|
|
5851
|
+
object.oktaIds = [];
|
|
5852
|
+
for (var j = 0; j < message.oktaIds.length; ++j)
|
|
5853
|
+
object.oktaIds[j] = $root.clinical.AppUser.toObject(message.oktaIds[j], options);
|
|
5854
|
+
}
|
|
5555
5855
|
return object;
|
|
5556
5856
|
};
|
|
5557
5857
|
|
|
@@ -180921,741 +181221,6 @@ $root.UserConsentUpdated = (function() {
|
|
|
180921
181221
|
return UserConsentUpdated;
|
|
180922
181222
|
})();
|
|
180923
181223
|
|
|
180924
|
-
/**
|
|
180925
|
-
* DeliveryPlatformProvider enum.
|
|
180926
|
-
* @name DeliveryPlatformProvider
|
|
180927
|
-
* @enum {string}
|
|
180928
|
-
* @property {number} DELIVERY_PLATFORM_UNKNOWN=0 DELIVERY_PLATFORM_UNKNOWN value
|
|
180929
|
-
* @property {number} DELIVERY_PLATFORM_BRAZE=1 DELIVERY_PLATFORM_BRAZE value
|
|
180930
|
-
*/
|
|
180931
|
-
$root.DeliveryPlatformProvider = (function() {
|
|
180932
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
180933
|
-
values[valuesById[0] = "DELIVERY_PLATFORM_UNKNOWN"] = 0;
|
|
180934
|
-
values[valuesById[1] = "DELIVERY_PLATFORM_BRAZE"] = 1;
|
|
180935
|
-
return values;
|
|
180936
|
-
})();
|
|
180937
|
-
|
|
180938
|
-
$root.UserMessageDeliveryScheduledEvent = (function() {
|
|
180939
|
-
|
|
180940
|
-
/**
|
|
180941
|
-
* Properties of a UserMessageDeliveryScheduledEvent.
|
|
180942
|
-
* @name IUserMessageDeliveryScheduledEvent
|
|
180943
|
-
* @interface IUserMessageDeliveryScheduledEvent
|
|
180944
|
-
* @property {number|Long|null} [messageScheduleTimestamp] UserMessageDeliveryScheduledEvent messageScheduleTimestamp
|
|
180945
|
-
* @property {string|null} [deliveryPlatformId] UserMessageDeliveryScheduledEvent deliveryPlatformId
|
|
180946
|
-
* @property {DeliveryPlatformProvider|null} [deliveryPlatformProvider] UserMessageDeliveryScheduledEvent deliveryPlatformProvider
|
|
180947
|
-
* @property {Array.<IUserMessageNotification>|null} [userMessageNotifications] UserMessageDeliveryScheduledEvent userMessageNotifications
|
|
180948
|
-
*/
|
|
180949
|
-
|
|
180950
|
-
/**
|
|
180951
|
-
* Constructs a new UserMessageDeliveryScheduledEvent.
|
|
180952
|
-
* @name UserMessageDeliveryScheduledEvent
|
|
180953
|
-
* @classdesc Represents a UserMessageDeliveryScheduledEvent.
|
|
180954
|
-
* @implements IUserMessageDeliveryScheduledEvent
|
|
180955
|
-
* @constructor
|
|
180956
|
-
* @param {IUserMessageDeliveryScheduledEvent=} [properties] Properties to set
|
|
180957
|
-
*/
|
|
180958
|
-
function UserMessageDeliveryScheduledEvent(properties) {
|
|
180959
|
-
this.userMessageNotifications = [];
|
|
180960
|
-
if (properties)
|
|
180961
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
180962
|
-
if (properties[keys[i]] != null)
|
|
180963
|
-
this[keys[i]] = properties[keys[i]];
|
|
180964
|
-
}
|
|
180965
|
-
|
|
180966
|
-
/**
|
|
180967
|
-
* UserMessageDeliveryScheduledEvent messageScheduleTimestamp.
|
|
180968
|
-
* @member {number|Long} messageScheduleTimestamp
|
|
180969
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
180970
|
-
* @instance
|
|
180971
|
-
*/
|
|
180972
|
-
UserMessageDeliveryScheduledEvent.prototype.messageScheduleTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
180973
|
-
|
|
180974
|
-
/**
|
|
180975
|
-
* UserMessageDeliveryScheduledEvent deliveryPlatformId.
|
|
180976
|
-
* @member {string} deliveryPlatformId
|
|
180977
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
180978
|
-
* @instance
|
|
180979
|
-
*/
|
|
180980
|
-
UserMessageDeliveryScheduledEvent.prototype.deliveryPlatformId = "";
|
|
180981
|
-
|
|
180982
|
-
/**
|
|
180983
|
-
* UserMessageDeliveryScheduledEvent deliveryPlatformProvider.
|
|
180984
|
-
* @member {DeliveryPlatformProvider} deliveryPlatformProvider
|
|
180985
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
180986
|
-
* @instance
|
|
180987
|
-
*/
|
|
180988
|
-
UserMessageDeliveryScheduledEvent.prototype.deliveryPlatformProvider = 0;
|
|
180989
|
-
|
|
180990
|
-
/**
|
|
180991
|
-
* UserMessageDeliveryScheduledEvent userMessageNotifications.
|
|
180992
|
-
* @member {Array.<IUserMessageNotification>} userMessageNotifications
|
|
180993
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
180994
|
-
* @instance
|
|
180995
|
-
*/
|
|
180996
|
-
UserMessageDeliveryScheduledEvent.prototype.userMessageNotifications = $util.emptyArray;
|
|
180997
|
-
|
|
180998
|
-
/**
|
|
180999
|
-
* Creates a new UserMessageDeliveryScheduledEvent instance using the specified properties.
|
|
181000
|
-
* @function create
|
|
181001
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181002
|
-
* @static
|
|
181003
|
-
* @param {IUserMessageDeliveryScheduledEvent=} [properties] Properties to set
|
|
181004
|
-
* @returns {UserMessageDeliveryScheduledEvent} UserMessageDeliveryScheduledEvent instance
|
|
181005
|
-
*/
|
|
181006
|
-
UserMessageDeliveryScheduledEvent.create = function create(properties) {
|
|
181007
|
-
return new UserMessageDeliveryScheduledEvent(properties);
|
|
181008
|
-
};
|
|
181009
|
-
|
|
181010
|
-
/**
|
|
181011
|
-
* Encodes the specified UserMessageDeliveryScheduledEvent message. Does not implicitly {@link UserMessageDeliveryScheduledEvent.verify|verify} messages.
|
|
181012
|
-
* @function encode
|
|
181013
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181014
|
-
* @static
|
|
181015
|
-
* @param {IUserMessageDeliveryScheduledEvent} message UserMessageDeliveryScheduledEvent message or plain object to encode
|
|
181016
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
181017
|
-
* @returns {$protobuf.Writer} Writer
|
|
181018
|
-
*/
|
|
181019
|
-
UserMessageDeliveryScheduledEvent.encode = function encode(message, writer) {
|
|
181020
|
-
if (!writer)
|
|
181021
|
-
writer = $Writer.create();
|
|
181022
|
-
if (message.messageScheduleTimestamp != null && message.hasOwnProperty("messageScheduleTimestamp"))
|
|
181023
|
-
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.messageScheduleTimestamp);
|
|
181024
|
-
if (message.deliveryPlatformId != null && message.hasOwnProperty("deliveryPlatformId"))
|
|
181025
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.deliveryPlatformId);
|
|
181026
|
-
if (message.deliveryPlatformProvider != null && message.hasOwnProperty("deliveryPlatformProvider"))
|
|
181027
|
-
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.deliveryPlatformProvider);
|
|
181028
|
-
if (message.userMessageNotifications != null && message.userMessageNotifications.length)
|
|
181029
|
-
for (var i = 0; i < message.userMessageNotifications.length; ++i)
|
|
181030
|
-
$root.UserMessageNotification.encode(message.userMessageNotifications[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
181031
|
-
return writer;
|
|
181032
|
-
};
|
|
181033
|
-
|
|
181034
|
-
/**
|
|
181035
|
-
* Encodes the specified UserMessageDeliveryScheduledEvent message, length delimited. Does not implicitly {@link UserMessageDeliveryScheduledEvent.verify|verify} messages.
|
|
181036
|
-
* @function encodeDelimited
|
|
181037
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181038
|
-
* @static
|
|
181039
|
-
* @param {IUserMessageDeliveryScheduledEvent} message UserMessageDeliveryScheduledEvent message or plain object to encode
|
|
181040
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
181041
|
-
* @returns {$protobuf.Writer} Writer
|
|
181042
|
-
*/
|
|
181043
|
-
UserMessageDeliveryScheduledEvent.encodeDelimited = function encodeDelimited(message, writer) {
|
|
181044
|
-
return this.encode(message, writer).ldelim();
|
|
181045
|
-
};
|
|
181046
|
-
|
|
181047
|
-
/**
|
|
181048
|
-
* Decodes a UserMessageDeliveryScheduledEvent message from the specified reader or buffer.
|
|
181049
|
-
* @function decode
|
|
181050
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181051
|
-
* @static
|
|
181052
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
181053
|
-
* @param {number} [length] Message length if known beforehand
|
|
181054
|
-
* @returns {UserMessageDeliveryScheduledEvent} UserMessageDeliveryScheduledEvent
|
|
181055
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
181056
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
181057
|
-
*/
|
|
181058
|
-
UserMessageDeliveryScheduledEvent.decode = function decode(reader, length) {
|
|
181059
|
-
if (!(reader instanceof $Reader))
|
|
181060
|
-
reader = $Reader.create(reader);
|
|
181061
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMessageDeliveryScheduledEvent();
|
|
181062
|
-
while (reader.pos < end) {
|
|
181063
|
-
var tag = reader.uint32();
|
|
181064
|
-
switch (tag >>> 3) {
|
|
181065
|
-
case 1:
|
|
181066
|
-
message.messageScheduleTimestamp = reader.uint64();
|
|
181067
|
-
break;
|
|
181068
|
-
case 2:
|
|
181069
|
-
message.deliveryPlatformId = reader.string();
|
|
181070
|
-
break;
|
|
181071
|
-
case 3:
|
|
181072
|
-
message.deliveryPlatformProvider = reader.int32();
|
|
181073
|
-
break;
|
|
181074
|
-
case 4:
|
|
181075
|
-
if (!(message.userMessageNotifications && message.userMessageNotifications.length))
|
|
181076
|
-
message.userMessageNotifications = [];
|
|
181077
|
-
message.userMessageNotifications.push($root.UserMessageNotification.decode(reader, reader.uint32()));
|
|
181078
|
-
break;
|
|
181079
|
-
default:
|
|
181080
|
-
reader.skipType(tag & 7);
|
|
181081
|
-
break;
|
|
181082
|
-
}
|
|
181083
|
-
}
|
|
181084
|
-
return message;
|
|
181085
|
-
};
|
|
181086
|
-
|
|
181087
|
-
/**
|
|
181088
|
-
* Decodes a UserMessageDeliveryScheduledEvent message from the specified reader or buffer, length delimited.
|
|
181089
|
-
* @function decodeDelimited
|
|
181090
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181091
|
-
* @static
|
|
181092
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
181093
|
-
* @returns {UserMessageDeliveryScheduledEvent} UserMessageDeliveryScheduledEvent
|
|
181094
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
181095
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
181096
|
-
*/
|
|
181097
|
-
UserMessageDeliveryScheduledEvent.decodeDelimited = function decodeDelimited(reader) {
|
|
181098
|
-
if (!(reader instanceof $Reader))
|
|
181099
|
-
reader = new $Reader(reader);
|
|
181100
|
-
return this.decode(reader, reader.uint32());
|
|
181101
|
-
};
|
|
181102
|
-
|
|
181103
|
-
/**
|
|
181104
|
-
* Verifies a UserMessageDeliveryScheduledEvent message.
|
|
181105
|
-
* @function verify
|
|
181106
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181107
|
-
* @static
|
|
181108
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
181109
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
181110
|
-
*/
|
|
181111
|
-
UserMessageDeliveryScheduledEvent.verify = function verify(message) {
|
|
181112
|
-
if (typeof message !== "object" || message === null)
|
|
181113
|
-
return "object expected";
|
|
181114
|
-
if (message.messageScheduleTimestamp != null && message.hasOwnProperty("messageScheduleTimestamp"))
|
|
181115
|
-
if (!$util.isInteger(message.messageScheduleTimestamp) && !(message.messageScheduleTimestamp && $util.isInteger(message.messageScheduleTimestamp.low) && $util.isInteger(message.messageScheduleTimestamp.high)))
|
|
181116
|
-
return "messageScheduleTimestamp: integer|Long expected";
|
|
181117
|
-
if (message.deliveryPlatformId != null && message.hasOwnProperty("deliveryPlatformId"))
|
|
181118
|
-
if (!$util.isString(message.deliveryPlatformId))
|
|
181119
|
-
return "deliveryPlatformId: string expected";
|
|
181120
|
-
if (message.deliveryPlatformProvider != null && message.hasOwnProperty("deliveryPlatformProvider"))
|
|
181121
|
-
switch (message.deliveryPlatformProvider) {
|
|
181122
|
-
default:
|
|
181123
|
-
return "deliveryPlatformProvider: enum value expected";
|
|
181124
|
-
case 0:
|
|
181125
|
-
case 1:
|
|
181126
|
-
break;
|
|
181127
|
-
}
|
|
181128
|
-
if (message.userMessageNotifications != null && message.hasOwnProperty("userMessageNotifications")) {
|
|
181129
|
-
if (!Array.isArray(message.userMessageNotifications))
|
|
181130
|
-
return "userMessageNotifications: array expected";
|
|
181131
|
-
for (var i = 0; i < message.userMessageNotifications.length; ++i) {
|
|
181132
|
-
var error = $root.UserMessageNotification.verify(message.userMessageNotifications[i]);
|
|
181133
|
-
if (error)
|
|
181134
|
-
return "userMessageNotifications." + error;
|
|
181135
|
-
}
|
|
181136
|
-
}
|
|
181137
|
-
return null;
|
|
181138
|
-
};
|
|
181139
|
-
|
|
181140
|
-
/**
|
|
181141
|
-
* Creates a UserMessageDeliveryScheduledEvent message from a plain object. Also converts values to their respective internal types.
|
|
181142
|
-
* @function fromObject
|
|
181143
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181144
|
-
* @static
|
|
181145
|
-
* @param {Object.<string,*>} object Plain object
|
|
181146
|
-
* @returns {UserMessageDeliveryScheduledEvent} UserMessageDeliveryScheduledEvent
|
|
181147
|
-
*/
|
|
181148
|
-
UserMessageDeliveryScheduledEvent.fromObject = function fromObject(object) {
|
|
181149
|
-
if (object instanceof $root.UserMessageDeliveryScheduledEvent)
|
|
181150
|
-
return object;
|
|
181151
|
-
var message = new $root.UserMessageDeliveryScheduledEvent();
|
|
181152
|
-
if (object.messageScheduleTimestamp != null)
|
|
181153
|
-
if ($util.Long)
|
|
181154
|
-
(message.messageScheduleTimestamp = $util.Long.fromValue(object.messageScheduleTimestamp)).unsigned = true;
|
|
181155
|
-
else if (typeof object.messageScheduleTimestamp === "string")
|
|
181156
|
-
message.messageScheduleTimestamp = parseInt(object.messageScheduleTimestamp, 10);
|
|
181157
|
-
else if (typeof object.messageScheduleTimestamp === "number")
|
|
181158
|
-
message.messageScheduleTimestamp = object.messageScheduleTimestamp;
|
|
181159
|
-
else if (typeof object.messageScheduleTimestamp === "object")
|
|
181160
|
-
message.messageScheduleTimestamp = new $util.LongBits(object.messageScheduleTimestamp.low >>> 0, object.messageScheduleTimestamp.high >>> 0).toNumber(true);
|
|
181161
|
-
if (object.deliveryPlatformId != null)
|
|
181162
|
-
message.deliveryPlatformId = String(object.deliveryPlatformId);
|
|
181163
|
-
switch (object.deliveryPlatformProvider) {
|
|
181164
|
-
case "DELIVERY_PLATFORM_UNKNOWN":
|
|
181165
|
-
case 0:
|
|
181166
|
-
message.deliveryPlatformProvider = 0;
|
|
181167
|
-
break;
|
|
181168
|
-
case "DELIVERY_PLATFORM_BRAZE":
|
|
181169
|
-
case 1:
|
|
181170
|
-
message.deliveryPlatformProvider = 1;
|
|
181171
|
-
break;
|
|
181172
|
-
}
|
|
181173
|
-
if (object.userMessageNotifications) {
|
|
181174
|
-
if (!Array.isArray(object.userMessageNotifications))
|
|
181175
|
-
throw TypeError(".UserMessageDeliveryScheduledEvent.userMessageNotifications: array expected");
|
|
181176
|
-
message.userMessageNotifications = [];
|
|
181177
|
-
for (var i = 0; i < object.userMessageNotifications.length; ++i) {
|
|
181178
|
-
if (typeof object.userMessageNotifications[i] !== "object")
|
|
181179
|
-
throw TypeError(".UserMessageDeliveryScheduledEvent.userMessageNotifications: object expected");
|
|
181180
|
-
message.userMessageNotifications[i] = $root.UserMessageNotification.fromObject(object.userMessageNotifications[i]);
|
|
181181
|
-
}
|
|
181182
|
-
}
|
|
181183
|
-
return message;
|
|
181184
|
-
};
|
|
181185
|
-
|
|
181186
|
-
/**
|
|
181187
|
-
* Creates a plain object from a UserMessageDeliveryScheduledEvent message. Also converts values to other types if specified.
|
|
181188
|
-
* @function toObject
|
|
181189
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181190
|
-
* @static
|
|
181191
|
-
* @param {UserMessageDeliveryScheduledEvent} message UserMessageDeliveryScheduledEvent
|
|
181192
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
181193
|
-
* @returns {Object.<string,*>} Plain object
|
|
181194
|
-
*/
|
|
181195
|
-
UserMessageDeliveryScheduledEvent.toObject = function toObject(message, options) {
|
|
181196
|
-
if (!options)
|
|
181197
|
-
options = {};
|
|
181198
|
-
var object = {};
|
|
181199
|
-
if (options.arrays || options.defaults)
|
|
181200
|
-
object.userMessageNotifications = [];
|
|
181201
|
-
if (options.defaults) {
|
|
181202
|
-
if ($util.Long) {
|
|
181203
|
-
var long = new $util.Long(0, 0, true);
|
|
181204
|
-
object.messageScheduleTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
181205
|
-
} else
|
|
181206
|
-
object.messageScheduleTimestamp = options.longs === String ? "0" : 0;
|
|
181207
|
-
object.deliveryPlatformId = "";
|
|
181208
|
-
object.deliveryPlatformProvider = options.enums === String ? "DELIVERY_PLATFORM_UNKNOWN" : 0;
|
|
181209
|
-
}
|
|
181210
|
-
if (message.messageScheduleTimestamp != null && message.hasOwnProperty("messageScheduleTimestamp"))
|
|
181211
|
-
if (typeof message.messageScheduleTimestamp === "number")
|
|
181212
|
-
object.messageScheduleTimestamp = options.longs === String ? String(message.messageScheduleTimestamp) : message.messageScheduleTimestamp;
|
|
181213
|
-
else
|
|
181214
|
-
object.messageScheduleTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.messageScheduleTimestamp) : options.longs === Number ? new $util.LongBits(message.messageScheduleTimestamp.low >>> 0, message.messageScheduleTimestamp.high >>> 0).toNumber(true) : message.messageScheduleTimestamp;
|
|
181215
|
-
if (message.deliveryPlatformId != null && message.hasOwnProperty("deliveryPlatformId"))
|
|
181216
|
-
object.deliveryPlatformId = message.deliveryPlatformId;
|
|
181217
|
-
if (message.deliveryPlatformProvider != null && message.hasOwnProperty("deliveryPlatformProvider"))
|
|
181218
|
-
object.deliveryPlatformProvider = options.enums === String ? $root.DeliveryPlatformProvider[message.deliveryPlatformProvider] : message.deliveryPlatformProvider;
|
|
181219
|
-
if (message.userMessageNotifications && message.userMessageNotifications.length) {
|
|
181220
|
-
object.userMessageNotifications = [];
|
|
181221
|
-
for (var j = 0; j < message.userMessageNotifications.length; ++j)
|
|
181222
|
-
object.userMessageNotifications[j] = $root.UserMessageNotification.toObject(message.userMessageNotifications[j], options);
|
|
181223
|
-
}
|
|
181224
|
-
return object;
|
|
181225
|
-
};
|
|
181226
|
-
|
|
181227
|
-
/**
|
|
181228
|
-
* Converts this UserMessageDeliveryScheduledEvent to JSON.
|
|
181229
|
-
* @function toJSON
|
|
181230
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181231
|
-
* @instance
|
|
181232
|
-
* @returns {Object.<string,*>} JSON object
|
|
181233
|
-
*/
|
|
181234
|
-
UserMessageDeliveryScheduledEvent.prototype.toJSON = function toJSON() {
|
|
181235
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
181236
|
-
};
|
|
181237
|
-
|
|
181238
|
-
return UserMessageDeliveryScheduledEvent;
|
|
181239
|
-
})();
|
|
181240
|
-
|
|
181241
|
-
$root.UserMessageNotification = (function() {
|
|
181242
|
-
|
|
181243
|
-
/**
|
|
181244
|
-
* Properties of a UserMessageNotification.
|
|
181245
|
-
* @name IUserMessageNotification
|
|
181246
|
-
* @interface IUserMessageNotification
|
|
181247
|
-
* @property {string|null} [userId] UserMessageNotification userId
|
|
181248
|
-
* @property {Object.<string,string>|null} [metadata] UserMessageNotification metadata
|
|
181249
|
-
*/
|
|
181250
|
-
|
|
181251
|
-
/**
|
|
181252
|
-
* Constructs a new UserMessageNotification.
|
|
181253
|
-
* @name UserMessageNotification
|
|
181254
|
-
* @classdesc Represents a UserMessageNotification.
|
|
181255
|
-
* @implements IUserMessageNotification
|
|
181256
|
-
* @constructor
|
|
181257
|
-
* @param {IUserMessageNotification=} [properties] Properties to set
|
|
181258
|
-
*/
|
|
181259
|
-
function UserMessageNotification(properties) {
|
|
181260
|
-
this.metadata = {};
|
|
181261
|
-
if (properties)
|
|
181262
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
181263
|
-
if (properties[keys[i]] != null)
|
|
181264
|
-
this[keys[i]] = properties[keys[i]];
|
|
181265
|
-
}
|
|
181266
|
-
|
|
181267
|
-
/**
|
|
181268
|
-
* UserMessageNotification userId.
|
|
181269
|
-
* @member {string} userId
|
|
181270
|
-
* @memberof UserMessageNotification
|
|
181271
|
-
* @instance
|
|
181272
|
-
*/
|
|
181273
|
-
UserMessageNotification.prototype.userId = "";
|
|
181274
|
-
|
|
181275
|
-
/**
|
|
181276
|
-
* UserMessageNotification metadata.
|
|
181277
|
-
* @member {Object.<string,string>} metadata
|
|
181278
|
-
* @memberof UserMessageNotification
|
|
181279
|
-
* @instance
|
|
181280
|
-
*/
|
|
181281
|
-
UserMessageNotification.prototype.metadata = $util.emptyObject;
|
|
181282
|
-
|
|
181283
|
-
/**
|
|
181284
|
-
* Creates a new UserMessageNotification instance using the specified properties.
|
|
181285
|
-
* @function create
|
|
181286
|
-
* @memberof UserMessageNotification
|
|
181287
|
-
* @static
|
|
181288
|
-
* @param {IUserMessageNotification=} [properties] Properties to set
|
|
181289
|
-
* @returns {UserMessageNotification} UserMessageNotification instance
|
|
181290
|
-
*/
|
|
181291
|
-
UserMessageNotification.create = function create(properties) {
|
|
181292
|
-
return new UserMessageNotification(properties);
|
|
181293
|
-
};
|
|
181294
|
-
|
|
181295
|
-
/**
|
|
181296
|
-
* Encodes the specified UserMessageNotification message. Does not implicitly {@link UserMessageNotification.verify|verify} messages.
|
|
181297
|
-
* @function encode
|
|
181298
|
-
* @memberof UserMessageNotification
|
|
181299
|
-
* @static
|
|
181300
|
-
* @param {IUserMessageNotification} message UserMessageNotification message or plain object to encode
|
|
181301
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
181302
|
-
* @returns {$protobuf.Writer} Writer
|
|
181303
|
-
*/
|
|
181304
|
-
UserMessageNotification.encode = function encode(message, writer) {
|
|
181305
|
-
if (!writer)
|
|
181306
|
-
writer = $Writer.create();
|
|
181307
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
181308
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
181309
|
-
if (message.metadata != null && message.hasOwnProperty("metadata"))
|
|
181310
|
-
for (var keys = Object.keys(message.metadata), i = 0; i < keys.length; ++i)
|
|
181311
|
-
writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.metadata[keys[i]]).ldelim();
|
|
181312
|
-
return writer;
|
|
181313
|
-
};
|
|
181314
|
-
|
|
181315
|
-
/**
|
|
181316
|
-
* Encodes the specified UserMessageNotification message, length delimited. Does not implicitly {@link UserMessageNotification.verify|verify} messages.
|
|
181317
|
-
* @function encodeDelimited
|
|
181318
|
-
* @memberof UserMessageNotification
|
|
181319
|
-
* @static
|
|
181320
|
-
* @param {IUserMessageNotification} message UserMessageNotification message or plain object to encode
|
|
181321
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
181322
|
-
* @returns {$protobuf.Writer} Writer
|
|
181323
|
-
*/
|
|
181324
|
-
UserMessageNotification.encodeDelimited = function encodeDelimited(message, writer) {
|
|
181325
|
-
return this.encode(message, writer).ldelim();
|
|
181326
|
-
};
|
|
181327
|
-
|
|
181328
|
-
/**
|
|
181329
|
-
* Decodes a UserMessageNotification message from the specified reader or buffer.
|
|
181330
|
-
* @function decode
|
|
181331
|
-
* @memberof UserMessageNotification
|
|
181332
|
-
* @static
|
|
181333
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
181334
|
-
* @param {number} [length] Message length if known beforehand
|
|
181335
|
-
* @returns {UserMessageNotification} UserMessageNotification
|
|
181336
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
181337
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
181338
|
-
*/
|
|
181339
|
-
UserMessageNotification.decode = function decode(reader, length) {
|
|
181340
|
-
if (!(reader instanceof $Reader))
|
|
181341
|
-
reader = $Reader.create(reader);
|
|
181342
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMessageNotification(), key;
|
|
181343
|
-
while (reader.pos < end) {
|
|
181344
|
-
var tag = reader.uint32();
|
|
181345
|
-
switch (tag >>> 3) {
|
|
181346
|
-
case 1:
|
|
181347
|
-
message.userId = reader.string();
|
|
181348
|
-
break;
|
|
181349
|
-
case 2:
|
|
181350
|
-
reader.skip().pos++;
|
|
181351
|
-
if (message.metadata === $util.emptyObject)
|
|
181352
|
-
message.metadata = {};
|
|
181353
|
-
key = reader.string();
|
|
181354
|
-
reader.pos++;
|
|
181355
|
-
message.metadata[key] = reader.string();
|
|
181356
|
-
break;
|
|
181357
|
-
default:
|
|
181358
|
-
reader.skipType(tag & 7);
|
|
181359
|
-
break;
|
|
181360
|
-
}
|
|
181361
|
-
}
|
|
181362
|
-
return message;
|
|
181363
|
-
};
|
|
181364
|
-
|
|
181365
|
-
/**
|
|
181366
|
-
* Decodes a UserMessageNotification message from the specified reader or buffer, length delimited.
|
|
181367
|
-
* @function decodeDelimited
|
|
181368
|
-
* @memberof UserMessageNotification
|
|
181369
|
-
* @static
|
|
181370
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
181371
|
-
* @returns {UserMessageNotification} UserMessageNotification
|
|
181372
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
181373
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
181374
|
-
*/
|
|
181375
|
-
UserMessageNotification.decodeDelimited = function decodeDelimited(reader) {
|
|
181376
|
-
if (!(reader instanceof $Reader))
|
|
181377
|
-
reader = new $Reader(reader);
|
|
181378
|
-
return this.decode(reader, reader.uint32());
|
|
181379
|
-
};
|
|
181380
|
-
|
|
181381
|
-
/**
|
|
181382
|
-
* Verifies a UserMessageNotification message.
|
|
181383
|
-
* @function verify
|
|
181384
|
-
* @memberof UserMessageNotification
|
|
181385
|
-
* @static
|
|
181386
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
181387
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
181388
|
-
*/
|
|
181389
|
-
UserMessageNotification.verify = function verify(message) {
|
|
181390
|
-
if (typeof message !== "object" || message === null)
|
|
181391
|
-
return "object expected";
|
|
181392
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
181393
|
-
if (!$util.isString(message.userId))
|
|
181394
|
-
return "userId: string expected";
|
|
181395
|
-
if (message.metadata != null && message.hasOwnProperty("metadata")) {
|
|
181396
|
-
if (!$util.isObject(message.metadata))
|
|
181397
|
-
return "metadata: object expected";
|
|
181398
|
-
var key = Object.keys(message.metadata);
|
|
181399
|
-
for (var i = 0; i < key.length; ++i)
|
|
181400
|
-
if (!$util.isString(message.metadata[key[i]]))
|
|
181401
|
-
return "metadata: string{k:string} expected";
|
|
181402
|
-
}
|
|
181403
|
-
return null;
|
|
181404
|
-
};
|
|
181405
|
-
|
|
181406
|
-
/**
|
|
181407
|
-
* Creates a UserMessageNotification message from a plain object. Also converts values to their respective internal types.
|
|
181408
|
-
* @function fromObject
|
|
181409
|
-
* @memberof UserMessageNotification
|
|
181410
|
-
* @static
|
|
181411
|
-
* @param {Object.<string,*>} object Plain object
|
|
181412
|
-
* @returns {UserMessageNotification} UserMessageNotification
|
|
181413
|
-
*/
|
|
181414
|
-
UserMessageNotification.fromObject = function fromObject(object) {
|
|
181415
|
-
if (object instanceof $root.UserMessageNotification)
|
|
181416
|
-
return object;
|
|
181417
|
-
var message = new $root.UserMessageNotification();
|
|
181418
|
-
if (object.userId != null)
|
|
181419
|
-
message.userId = String(object.userId);
|
|
181420
|
-
if (object.metadata) {
|
|
181421
|
-
if (typeof object.metadata !== "object")
|
|
181422
|
-
throw TypeError(".UserMessageNotification.metadata: object expected");
|
|
181423
|
-
message.metadata = {};
|
|
181424
|
-
for (var keys = Object.keys(object.metadata), i = 0; i < keys.length; ++i)
|
|
181425
|
-
message.metadata[keys[i]] = String(object.metadata[keys[i]]);
|
|
181426
|
-
}
|
|
181427
|
-
return message;
|
|
181428
|
-
};
|
|
181429
|
-
|
|
181430
|
-
/**
|
|
181431
|
-
* Creates a plain object from a UserMessageNotification message. Also converts values to other types if specified.
|
|
181432
|
-
* @function toObject
|
|
181433
|
-
* @memberof UserMessageNotification
|
|
181434
|
-
* @static
|
|
181435
|
-
* @param {UserMessageNotification} message UserMessageNotification
|
|
181436
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
181437
|
-
* @returns {Object.<string,*>} Plain object
|
|
181438
|
-
*/
|
|
181439
|
-
UserMessageNotification.toObject = function toObject(message, options) {
|
|
181440
|
-
if (!options)
|
|
181441
|
-
options = {};
|
|
181442
|
-
var object = {};
|
|
181443
|
-
if (options.objects || options.defaults)
|
|
181444
|
-
object.metadata = {};
|
|
181445
|
-
if (options.defaults)
|
|
181446
|
-
object.userId = "";
|
|
181447
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
181448
|
-
object.userId = message.userId;
|
|
181449
|
-
var keys2;
|
|
181450
|
-
if (message.metadata && (keys2 = Object.keys(message.metadata)).length) {
|
|
181451
|
-
object.metadata = {};
|
|
181452
|
-
for (var j = 0; j < keys2.length; ++j)
|
|
181453
|
-
object.metadata[keys2[j]] = message.metadata[keys2[j]];
|
|
181454
|
-
}
|
|
181455
|
-
return object;
|
|
181456
|
-
};
|
|
181457
|
-
|
|
181458
|
-
/**
|
|
181459
|
-
* Converts this UserMessageNotification to JSON.
|
|
181460
|
-
* @function toJSON
|
|
181461
|
-
* @memberof UserMessageNotification
|
|
181462
|
-
* @instance
|
|
181463
|
-
* @returns {Object.<string,*>} JSON object
|
|
181464
|
-
*/
|
|
181465
|
-
UserMessageNotification.prototype.toJSON = function toJSON() {
|
|
181466
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
181467
|
-
};
|
|
181468
|
-
|
|
181469
|
-
return UserMessageNotification;
|
|
181470
|
-
})();
|
|
181471
|
-
|
|
181472
|
-
$root.UserMessageProcessMessagesEvent = (function() {
|
|
181473
|
-
|
|
181474
|
-
/**
|
|
181475
|
-
* Properties of a UserMessageProcessMessagesEvent.
|
|
181476
|
-
* @name IUserMessageProcessMessagesEvent
|
|
181477
|
-
* @interface IUserMessageProcessMessagesEvent
|
|
181478
|
-
* @property {string|null} [filePath] UserMessageProcessMessagesEvent filePath
|
|
181479
|
-
*/
|
|
181480
|
-
|
|
181481
|
-
/**
|
|
181482
|
-
* Constructs a new UserMessageProcessMessagesEvent.
|
|
181483
|
-
* @name UserMessageProcessMessagesEvent
|
|
181484
|
-
* @classdesc Represents a UserMessageProcessMessagesEvent.
|
|
181485
|
-
* @implements IUserMessageProcessMessagesEvent
|
|
181486
|
-
* @constructor
|
|
181487
|
-
* @param {IUserMessageProcessMessagesEvent=} [properties] Properties to set
|
|
181488
|
-
*/
|
|
181489
|
-
function UserMessageProcessMessagesEvent(properties) {
|
|
181490
|
-
if (properties)
|
|
181491
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
181492
|
-
if (properties[keys[i]] != null)
|
|
181493
|
-
this[keys[i]] = properties[keys[i]];
|
|
181494
|
-
}
|
|
181495
|
-
|
|
181496
|
-
/**
|
|
181497
|
-
* UserMessageProcessMessagesEvent filePath.
|
|
181498
|
-
* @member {string} filePath
|
|
181499
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181500
|
-
* @instance
|
|
181501
|
-
*/
|
|
181502
|
-
UserMessageProcessMessagesEvent.prototype.filePath = "";
|
|
181503
|
-
|
|
181504
|
-
/**
|
|
181505
|
-
* Creates a new UserMessageProcessMessagesEvent instance using the specified properties.
|
|
181506
|
-
* @function create
|
|
181507
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181508
|
-
* @static
|
|
181509
|
-
* @param {IUserMessageProcessMessagesEvent=} [properties] Properties to set
|
|
181510
|
-
* @returns {UserMessageProcessMessagesEvent} UserMessageProcessMessagesEvent instance
|
|
181511
|
-
*/
|
|
181512
|
-
UserMessageProcessMessagesEvent.create = function create(properties) {
|
|
181513
|
-
return new UserMessageProcessMessagesEvent(properties);
|
|
181514
|
-
};
|
|
181515
|
-
|
|
181516
|
-
/**
|
|
181517
|
-
* Encodes the specified UserMessageProcessMessagesEvent message. Does not implicitly {@link UserMessageProcessMessagesEvent.verify|verify} messages.
|
|
181518
|
-
* @function encode
|
|
181519
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181520
|
-
* @static
|
|
181521
|
-
* @param {IUserMessageProcessMessagesEvent} message UserMessageProcessMessagesEvent message or plain object to encode
|
|
181522
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
181523
|
-
* @returns {$protobuf.Writer} Writer
|
|
181524
|
-
*/
|
|
181525
|
-
UserMessageProcessMessagesEvent.encode = function encode(message, writer) {
|
|
181526
|
-
if (!writer)
|
|
181527
|
-
writer = $Writer.create();
|
|
181528
|
-
if (message.filePath != null && message.hasOwnProperty("filePath"))
|
|
181529
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.filePath);
|
|
181530
|
-
return writer;
|
|
181531
|
-
};
|
|
181532
|
-
|
|
181533
|
-
/**
|
|
181534
|
-
* Encodes the specified UserMessageProcessMessagesEvent message, length delimited. Does not implicitly {@link UserMessageProcessMessagesEvent.verify|verify} messages.
|
|
181535
|
-
* @function encodeDelimited
|
|
181536
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181537
|
-
* @static
|
|
181538
|
-
* @param {IUserMessageProcessMessagesEvent} message UserMessageProcessMessagesEvent message or plain object to encode
|
|
181539
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
181540
|
-
* @returns {$protobuf.Writer} Writer
|
|
181541
|
-
*/
|
|
181542
|
-
UserMessageProcessMessagesEvent.encodeDelimited = function encodeDelimited(message, writer) {
|
|
181543
|
-
return this.encode(message, writer).ldelim();
|
|
181544
|
-
};
|
|
181545
|
-
|
|
181546
|
-
/**
|
|
181547
|
-
* Decodes a UserMessageProcessMessagesEvent message from the specified reader or buffer.
|
|
181548
|
-
* @function decode
|
|
181549
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181550
|
-
* @static
|
|
181551
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
181552
|
-
* @param {number} [length] Message length if known beforehand
|
|
181553
|
-
* @returns {UserMessageProcessMessagesEvent} UserMessageProcessMessagesEvent
|
|
181554
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
181555
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
181556
|
-
*/
|
|
181557
|
-
UserMessageProcessMessagesEvent.decode = function decode(reader, length) {
|
|
181558
|
-
if (!(reader instanceof $Reader))
|
|
181559
|
-
reader = $Reader.create(reader);
|
|
181560
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMessageProcessMessagesEvent();
|
|
181561
|
-
while (reader.pos < end) {
|
|
181562
|
-
var tag = reader.uint32();
|
|
181563
|
-
switch (tag >>> 3) {
|
|
181564
|
-
case 1:
|
|
181565
|
-
message.filePath = reader.string();
|
|
181566
|
-
break;
|
|
181567
|
-
default:
|
|
181568
|
-
reader.skipType(tag & 7);
|
|
181569
|
-
break;
|
|
181570
|
-
}
|
|
181571
|
-
}
|
|
181572
|
-
return message;
|
|
181573
|
-
};
|
|
181574
|
-
|
|
181575
|
-
/**
|
|
181576
|
-
* Decodes a UserMessageProcessMessagesEvent message from the specified reader or buffer, length delimited.
|
|
181577
|
-
* @function decodeDelimited
|
|
181578
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181579
|
-
* @static
|
|
181580
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
181581
|
-
* @returns {UserMessageProcessMessagesEvent} UserMessageProcessMessagesEvent
|
|
181582
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
181583
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
181584
|
-
*/
|
|
181585
|
-
UserMessageProcessMessagesEvent.decodeDelimited = function decodeDelimited(reader) {
|
|
181586
|
-
if (!(reader instanceof $Reader))
|
|
181587
|
-
reader = new $Reader(reader);
|
|
181588
|
-
return this.decode(reader, reader.uint32());
|
|
181589
|
-
};
|
|
181590
|
-
|
|
181591
|
-
/**
|
|
181592
|
-
* Verifies a UserMessageProcessMessagesEvent message.
|
|
181593
|
-
* @function verify
|
|
181594
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181595
|
-
* @static
|
|
181596
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
181597
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
181598
|
-
*/
|
|
181599
|
-
UserMessageProcessMessagesEvent.verify = function verify(message) {
|
|
181600
|
-
if (typeof message !== "object" || message === null)
|
|
181601
|
-
return "object expected";
|
|
181602
|
-
if (message.filePath != null && message.hasOwnProperty("filePath"))
|
|
181603
|
-
if (!$util.isString(message.filePath))
|
|
181604
|
-
return "filePath: string expected";
|
|
181605
|
-
return null;
|
|
181606
|
-
};
|
|
181607
|
-
|
|
181608
|
-
/**
|
|
181609
|
-
* Creates a UserMessageProcessMessagesEvent message from a plain object. Also converts values to their respective internal types.
|
|
181610
|
-
* @function fromObject
|
|
181611
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181612
|
-
* @static
|
|
181613
|
-
* @param {Object.<string,*>} object Plain object
|
|
181614
|
-
* @returns {UserMessageProcessMessagesEvent} UserMessageProcessMessagesEvent
|
|
181615
|
-
*/
|
|
181616
|
-
UserMessageProcessMessagesEvent.fromObject = function fromObject(object) {
|
|
181617
|
-
if (object instanceof $root.UserMessageProcessMessagesEvent)
|
|
181618
|
-
return object;
|
|
181619
|
-
var message = new $root.UserMessageProcessMessagesEvent();
|
|
181620
|
-
if (object.filePath != null)
|
|
181621
|
-
message.filePath = String(object.filePath);
|
|
181622
|
-
return message;
|
|
181623
|
-
};
|
|
181624
|
-
|
|
181625
|
-
/**
|
|
181626
|
-
* Creates a plain object from a UserMessageProcessMessagesEvent message. Also converts values to other types if specified.
|
|
181627
|
-
* @function toObject
|
|
181628
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181629
|
-
* @static
|
|
181630
|
-
* @param {UserMessageProcessMessagesEvent} message UserMessageProcessMessagesEvent
|
|
181631
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
181632
|
-
* @returns {Object.<string,*>} Plain object
|
|
181633
|
-
*/
|
|
181634
|
-
UserMessageProcessMessagesEvent.toObject = function toObject(message, options) {
|
|
181635
|
-
if (!options)
|
|
181636
|
-
options = {};
|
|
181637
|
-
var object = {};
|
|
181638
|
-
if (options.defaults)
|
|
181639
|
-
object.filePath = "";
|
|
181640
|
-
if (message.filePath != null && message.hasOwnProperty("filePath"))
|
|
181641
|
-
object.filePath = message.filePath;
|
|
181642
|
-
return object;
|
|
181643
|
-
};
|
|
181644
|
-
|
|
181645
|
-
/**
|
|
181646
|
-
* Converts this UserMessageProcessMessagesEvent to JSON.
|
|
181647
|
-
* @function toJSON
|
|
181648
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181649
|
-
* @instance
|
|
181650
|
-
* @returns {Object.<string,*>} JSON object
|
|
181651
|
-
*/
|
|
181652
|
-
UserMessageProcessMessagesEvent.prototype.toJSON = function toJSON() {
|
|
181653
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
181654
|
-
};
|
|
181655
|
-
|
|
181656
|
-
return UserMessageProcessMessagesEvent;
|
|
181657
|
-
})();
|
|
181658
|
-
|
|
181659
181224
|
$root.VirginPulseAccountLinked = (function() {
|
|
181660
181225
|
|
|
181661
181226
|
/**
|