@headspace/protos-events 1.55.0 → 1.57.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 +821 -173
- package/lib/index.js +2073 -382
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -3602,25 +3602,25 @@ $root.UserRoleUpdated = (function() {
|
|
|
3602
3602
|
return UserRoleUpdated;
|
|
3603
3603
|
})();
|
|
3604
3604
|
|
|
3605
|
-
$root.
|
|
3605
|
+
$root.UserDomainCreated = (function() {
|
|
3606
3606
|
|
|
3607
3607
|
/**
|
|
3608
|
-
* Properties of a
|
|
3609
|
-
* @exports
|
|
3610
|
-
* @interface
|
|
3611
|
-
* @property {userdomain.IUser|null} [user]
|
|
3612
|
-
* @property {number|Long|null} [createdAt]
|
|
3608
|
+
* Properties of a UserDomainCreated.
|
|
3609
|
+
* @exports IUserDomainCreated
|
|
3610
|
+
* @interface IUserDomainCreated
|
|
3611
|
+
* @property {userdomain.IUser|null} [user] UserDomainCreated user
|
|
3612
|
+
* @property {number|Long|null} [createdAt] UserDomainCreated createdAt
|
|
3613
3613
|
*/
|
|
3614
3614
|
|
|
3615
3615
|
/**
|
|
3616
|
-
* Constructs a new
|
|
3617
|
-
* @exports
|
|
3618
|
-
* @classdesc Represents a
|
|
3619
|
-
* @implements
|
|
3616
|
+
* Constructs a new UserDomainCreated.
|
|
3617
|
+
* @exports UserDomainCreated
|
|
3618
|
+
* @classdesc Represents a UserDomainCreated.
|
|
3619
|
+
* @implements IUserDomainCreated
|
|
3620
3620
|
* @constructor
|
|
3621
|
-
* @param {
|
|
3621
|
+
* @param {IUserDomainCreated=} [properties] Properties to set
|
|
3622
3622
|
*/
|
|
3623
|
-
function
|
|
3623
|
+
function UserDomainCreated(properties) {
|
|
3624
3624
|
if (properties)
|
|
3625
3625
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
3626
3626
|
if (properties[keys[i]] != null)
|
|
@@ -3628,43 +3628,43 @@ $root.UserCreated = (function() {
|
|
|
3628
3628
|
}
|
|
3629
3629
|
|
|
3630
3630
|
/**
|
|
3631
|
-
*
|
|
3631
|
+
* UserDomainCreated user.
|
|
3632
3632
|
* @member {userdomain.IUser|null|undefined} user
|
|
3633
|
-
* @memberof
|
|
3633
|
+
* @memberof UserDomainCreated
|
|
3634
3634
|
* @instance
|
|
3635
3635
|
*/
|
|
3636
|
-
|
|
3636
|
+
UserDomainCreated.prototype.user = null;
|
|
3637
3637
|
|
|
3638
3638
|
/**
|
|
3639
|
-
*
|
|
3639
|
+
* UserDomainCreated createdAt.
|
|
3640
3640
|
* @member {number|Long} createdAt
|
|
3641
|
-
* @memberof
|
|
3641
|
+
* @memberof UserDomainCreated
|
|
3642
3642
|
* @instance
|
|
3643
3643
|
*/
|
|
3644
|
-
|
|
3644
|
+
UserDomainCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
3645
3645
|
|
|
3646
3646
|
/**
|
|
3647
|
-
* Creates a new
|
|
3647
|
+
* Creates a new UserDomainCreated instance using the specified properties.
|
|
3648
3648
|
* @function create
|
|
3649
|
-
* @memberof
|
|
3649
|
+
* @memberof UserDomainCreated
|
|
3650
3650
|
* @static
|
|
3651
|
-
* @param {
|
|
3652
|
-
* @returns {
|
|
3651
|
+
* @param {IUserDomainCreated=} [properties] Properties to set
|
|
3652
|
+
* @returns {UserDomainCreated} UserDomainCreated instance
|
|
3653
3653
|
*/
|
|
3654
|
-
|
|
3655
|
-
return new
|
|
3654
|
+
UserDomainCreated.create = function create(properties) {
|
|
3655
|
+
return new UserDomainCreated(properties);
|
|
3656
3656
|
};
|
|
3657
3657
|
|
|
3658
3658
|
/**
|
|
3659
|
-
* Encodes the specified
|
|
3659
|
+
* Encodes the specified UserDomainCreated message. Does not implicitly {@link UserDomainCreated.verify|verify} messages.
|
|
3660
3660
|
* @function encode
|
|
3661
|
-
* @memberof
|
|
3661
|
+
* @memberof UserDomainCreated
|
|
3662
3662
|
* @static
|
|
3663
|
-
* @param {
|
|
3663
|
+
* @param {IUserDomainCreated} message UserDomainCreated message or plain object to encode
|
|
3664
3664
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
3665
3665
|
* @returns {$protobuf.Writer} Writer
|
|
3666
3666
|
*/
|
|
3667
|
-
|
|
3667
|
+
UserDomainCreated.encode = function encode(message, writer) {
|
|
3668
3668
|
if (!writer)
|
|
3669
3669
|
writer = $Writer.create();
|
|
3670
3670
|
if (message.user != null && message.hasOwnProperty("user"))
|
|
@@ -3675,33 +3675,33 @@ $root.UserCreated = (function() {
|
|
|
3675
3675
|
};
|
|
3676
3676
|
|
|
3677
3677
|
/**
|
|
3678
|
-
* Encodes the specified
|
|
3678
|
+
* Encodes the specified UserDomainCreated message, length delimited. Does not implicitly {@link UserDomainCreated.verify|verify} messages.
|
|
3679
3679
|
* @function encodeDelimited
|
|
3680
|
-
* @memberof
|
|
3680
|
+
* @memberof UserDomainCreated
|
|
3681
3681
|
* @static
|
|
3682
|
-
* @param {
|
|
3682
|
+
* @param {IUserDomainCreated} message UserDomainCreated message or plain object to encode
|
|
3683
3683
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
3684
3684
|
* @returns {$protobuf.Writer} Writer
|
|
3685
3685
|
*/
|
|
3686
|
-
|
|
3686
|
+
UserDomainCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
3687
3687
|
return this.encode(message, writer).ldelim();
|
|
3688
3688
|
};
|
|
3689
3689
|
|
|
3690
3690
|
/**
|
|
3691
|
-
* Decodes a
|
|
3691
|
+
* Decodes a UserDomainCreated message from the specified reader or buffer.
|
|
3692
3692
|
* @function decode
|
|
3693
|
-
* @memberof
|
|
3693
|
+
* @memberof UserDomainCreated
|
|
3694
3694
|
* @static
|
|
3695
3695
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
3696
3696
|
* @param {number} [length] Message length if known beforehand
|
|
3697
|
-
* @returns {
|
|
3697
|
+
* @returns {UserDomainCreated} UserDomainCreated
|
|
3698
3698
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3699
3699
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3700
3700
|
*/
|
|
3701
|
-
|
|
3701
|
+
UserDomainCreated.decode = function decode(reader, length) {
|
|
3702
3702
|
if (!(reader instanceof $Reader))
|
|
3703
3703
|
reader = $Reader.create(reader);
|
|
3704
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
3704
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDomainCreated();
|
|
3705
3705
|
while (reader.pos < end) {
|
|
3706
3706
|
var tag = reader.uint32();
|
|
3707
3707
|
switch (tag >>> 3) {
|
|
@@ -3720,30 +3720,30 @@ $root.UserCreated = (function() {
|
|
|
3720
3720
|
};
|
|
3721
3721
|
|
|
3722
3722
|
/**
|
|
3723
|
-
* Decodes a
|
|
3723
|
+
* Decodes a UserDomainCreated message from the specified reader or buffer, length delimited.
|
|
3724
3724
|
* @function decodeDelimited
|
|
3725
|
-
* @memberof
|
|
3725
|
+
* @memberof UserDomainCreated
|
|
3726
3726
|
* @static
|
|
3727
3727
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
3728
|
-
* @returns {
|
|
3728
|
+
* @returns {UserDomainCreated} UserDomainCreated
|
|
3729
3729
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3730
3730
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3731
3731
|
*/
|
|
3732
|
-
|
|
3732
|
+
UserDomainCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
3733
3733
|
if (!(reader instanceof $Reader))
|
|
3734
3734
|
reader = new $Reader(reader);
|
|
3735
3735
|
return this.decode(reader, reader.uint32());
|
|
3736
3736
|
};
|
|
3737
3737
|
|
|
3738
3738
|
/**
|
|
3739
|
-
* Verifies a
|
|
3739
|
+
* Verifies a UserDomainCreated message.
|
|
3740
3740
|
* @function verify
|
|
3741
|
-
* @memberof
|
|
3741
|
+
* @memberof UserDomainCreated
|
|
3742
3742
|
* @static
|
|
3743
3743
|
* @param {Object.<string,*>} message Plain object to verify
|
|
3744
3744
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
3745
3745
|
*/
|
|
3746
|
-
|
|
3746
|
+
UserDomainCreated.verify = function verify(message) {
|
|
3747
3747
|
if (typeof message !== "object" || message === null)
|
|
3748
3748
|
return "object expected";
|
|
3749
3749
|
if (message.user != null && message.hasOwnProperty("user")) {
|
|
@@ -3758,20 +3758,20 @@ $root.UserCreated = (function() {
|
|
|
3758
3758
|
};
|
|
3759
3759
|
|
|
3760
3760
|
/**
|
|
3761
|
-
* Creates a
|
|
3761
|
+
* Creates a UserDomainCreated message from a plain object. Also converts values to their respective internal types.
|
|
3762
3762
|
* @function fromObject
|
|
3763
|
-
* @memberof
|
|
3763
|
+
* @memberof UserDomainCreated
|
|
3764
3764
|
* @static
|
|
3765
3765
|
* @param {Object.<string,*>} object Plain object
|
|
3766
|
-
* @returns {
|
|
3766
|
+
* @returns {UserDomainCreated} UserDomainCreated
|
|
3767
3767
|
*/
|
|
3768
|
-
|
|
3769
|
-
if (object instanceof $root.
|
|
3768
|
+
UserDomainCreated.fromObject = function fromObject(object) {
|
|
3769
|
+
if (object instanceof $root.UserDomainCreated)
|
|
3770
3770
|
return object;
|
|
3771
|
-
var message = new $root.
|
|
3771
|
+
var message = new $root.UserDomainCreated();
|
|
3772
3772
|
if (object.user != null) {
|
|
3773
3773
|
if (typeof object.user !== "object")
|
|
3774
|
-
throw TypeError(".
|
|
3774
|
+
throw TypeError(".UserDomainCreated.user: object expected");
|
|
3775
3775
|
message.user = $root.userdomain.User.fromObject(object.user);
|
|
3776
3776
|
}
|
|
3777
3777
|
if (object.createdAt != null)
|
|
@@ -3787,15 +3787,15 @@ $root.UserCreated = (function() {
|
|
|
3787
3787
|
};
|
|
3788
3788
|
|
|
3789
3789
|
/**
|
|
3790
|
-
* Creates a plain object from a
|
|
3790
|
+
* Creates a plain object from a UserDomainCreated message. Also converts values to other types if specified.
|
|
3791
3791
|
* @function toObject
|
|
3792
|
-
* @memberof
|
|
3792
|
+
* @memberof UserDomainCreated
|
|
3793
3793
|
* @static
|
|
3794
|
-
* @param {
|
|
3794
|
+
* @param {UserDomainCreated} message UserDomainCreated
|
|
3795
3795
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
3796
3796
|
* @returns {Object.<string,*>} Plain object
|
|
3797
3797
|
*/
|
|
3798
|
-
|
|
3798
|
+
UserDomainCreated.toObject = function toObject(message, options) {
|
|
3799
3799
|
if (!options)
|
|
3800
3800
|
options = {};
|
|
3801
3801
|
var object = {};
|
|
@@ -3818,39 +3818,39 @@ $root.UserCreated = (function() {
|
|
|
3818
3818
|
};
|
|
3819
3819
|
|
|
3820
3820
|
/**
|
|
3821
|
-
* Converts this
|
|
3821
|
+
* Converts this UserDomainCreated to JSON.
|
|
3822
3822
|
* @function toJSON
|
|
3823
|
-
* @memberof
|
|
3823
|
+
* @memberof UserDomainCreated
|
|
3824
3824
|
* @instance
|
|
3825
3825
|
* @returns {Object.<string,*>} JSON object
|
|
3826
3826
|
*/
|
|
3827
|
-
|
|
3827
|
+
UserDomainCreated.prototype.toJSON = function toJSON() {
|
|
3828
3828
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
3829
3829
|
};
|
|
3830
3830
|
|
|
3831
|
-
return
|
|
3831
|
+
return UserDomainCreated;
|
|
3832
3832
|
})();
|
|
3833
3833
|
|
|
3834
|
-
$root.
|
|
3834
|
+
$root.UserDomainEmailUpdated = (function() {
|
|
3835
3835
|
|
|
3836
3836
|
/**
|
|
3837
|
-
* Properties of a
|
|
3838
|
-
* @exports
|
|
3839
|
-
* @interface
|
|
3840
|
-
* @property {string|null} [hsId]
|
|
3841
|
-
* @property {string|null} [email]
|
|
3842
|
-
* @property {number|Long|null} [updatedAt]
|
|
3837
|
+
* Properties of a UserDomainEmailUpdated.
|
|
3838
|
+
* @exports IUserDomainEmailUpdated
|
|
3839
|
+
* @interface IUserDomainEmailUpdated
|
|
3840
|
+
* @property {string|null} [hsId] UserDomainEmailUpdated hsId
|
|
3841
|
+
* @property {string|null} [email] UserDomainEmailUpdated email
|
|
3842
|
+
* @property {number|Long|null} [updatedAt] UserDomainEmailUpdated updatedAt
|
|
3843
3843
|
*/
|
|
3844
3844
|
|
|
3845
3845
|
/**
|
|
3846
|
-
* Constructs a new
|
|
3847
|
-
* @exports
|
|
3848
|
-
* @classdesc Represents a
|
|
3849
|
-
* @implements
|
|
3846
|
+
* Constructs a new UserDomainEmailUpdated.
|
|
3847
|
+
* @exports UserDomainEmailUpdated
|
|
3848
|
+
* @classdesc Represents a UserDomainEmailUpdated.
|
|
3849
|
+
* @implements IUserDomainEmailUpdated
|
|
3850
3850
|
* @constructor
|
|
3851
|
-
* @param {
|
|
3851
|
+
* @param {IUserDomainEmailUpdated=} [properties] Properties to set
|
|
3852
3852
|
*/
|
|
3853
|
-
function
|
|
3853
|
+
function UserDomainEmailUpdated(properties) {
|
|
3854
3854
|
if (properties)
|
|
3855
3855
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
3856
3856
|
if (properties[keys[i]] != null)
|
|
@@ -3858,51 +3858,51 @@ $root.UserEmailUpdated = (function() {
|
|
|
3858
3858
|
}
|
|
3859
3859
|
|
|
3860
3860
|
/**
|
|
3861
|
-
*
|
|
3861
|
+
* UserDomainEmailUpdated hsId.
|
|
3862
3862
|
* @member {string} hsId
|
|
3863
|
-
* @memberof
|
|
3863
|
+
* @memberof UserDomainEmailUpdated
|
|
3864
3864
|
* @instance
|
|
3865
3865
|
*/
|
|
3866
|
-
|
|
3866
|
+
UserDomainEmailUpdated.prototype.hsId = "";
|
|
3867
3867
|
|
|
3868
3868
|
/**
|
|
3869
|
-
*
|
|
3869
|
+
* UserDomainEmailUpdated email.
|
|
3870
3870
|
* @member {string} email
|
|
3871
|
-
* @memberof
|
|
3871
|
+
* @memberof UserDomainEmailUpdated
|
|
3872
3872
|
* @instance
|
|
3873
3873
|
*/
|
|
3874
|
-
|
|
3874
|
+
UserDomainEmailUpdated.prototype.email = "";
|
|
3875
3875
|
|
|
3876
3876
|
/**
|
|
3877
|
-
*
|
|
3877
|
+
* UserDomainEmailUpdated updatedAt.
|
|
3878
3878
|
* @member {number|Long} updatedAt
|
|
3879
|
-
* @memberof
|
|
3879
|
+
* @memberof UserDomainEmailUpdated
|
|
3880
3880
|
* @instance
|
|
3881
3881
|
*/
|
|
3882
|
-
|
|
3882
|
+
UserDomainEmailUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
3883
3883
|
|
|
3884
3884
|
/**
|
|
3885
|
-
* Creates a new
|
|
3885
|
+
* Creates a new UserDomainEmailUpdated instance using the specified properties.
|
|
3886
3886
|
* @function create
|
|
3887
|
-
* @memberof
|
|
3887
|
+
* @memberof UserDomainEmailUpdated
|
|
3888
3888
|
* @static
|
|
3889
|
-
* @param {
|
|
3890
|
-
* @returns {
|
|
3889
|
+
* @param {IUserDomainEmailUpdated=} [properties] Properties to set
|
|
3890
|
+
* @returns {UserDomainEmailUpdated} UserDomainEmailUpdated instance
|
|
3891
3891
|
*/
|
|
3892
|
-
|
|
3893
|
-
return new
|
|
3892
|
+
UserDomainEmailUpdated.create = function create(properties) {
|
|
3893
|
+
return new UserDomainEmailUpdated(properties);
|
|
3894
3894
|
};
|
|
3895
3895
|
|
|
3896
3896
|
/**
|
|
3897
|
-
* Encodes the specified
|
|
3897
|
+
* Encodes the specified UserDomainEmailUpdated message. Does not implicitly {@link UserDomainEmailUpdated.verify|verify} messages.
|
|
3898
3898
|
* @function encode
|
|
3899
|
-
* @memberof
|
|
3899
|
+
* @memberof UserDomainEmailUpdated
|
|
3900
3900
|
* @static
|
|
3901
|
-
* @param {
|
|
3901
|
+
* @param {IUserDomainEmailUpdated} message UserDomainEmailUpdated message or plain object to encode
|
|
3902
3902
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
3903
3903
|
* @returns {$protobuf.Writer} Writer
|
|
3904
3904
|
*/
|
|
3905
|
-
|
|
3905
|
+
UserDomainEmailUpdated.encode = function encode(message, writer) {
|
|
3906
3906
|
if (!writer)
|
|
3907
3907
|
writer = $Writer.create();
|
|
3908
3908
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
@@ -3915,33 +3915,33 @@ $root.UserEmailUpdated = (function() {
|
|
|
3915
3915
|
};
|
|
3916
3916
|
|
|
3917
3917
|
/**
|
|
3918
|
-
* Encodes the specified
|
|
3918
|
+
* Encodes the specified UserDomainEmailUpdated message, length delimited. Does not implicitly {@link UserDomainEmailUpdated.verify|verify} messages.
|
|
3919
3919
|
* @function encodeDelimited
|
|
3920
|
-
* @memberof
|
|
3920
|
+
* @memberof UserDomainEmailUpdated
|
|
3921
3921
|
* @static
|
|
3922
|
-
* @param {
|
|
3922
|
+
* @param {IUserDomainEmailUpdated} message UserDomainEmailUpdated message or plain object to encode
|
|
3923
3923
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
3924
3924
|
* @returns {$protobuf.Writer} Writer
|
|
3925
3925
|
*/
|
|
3926
|
-
|
|
3926
|
+
UserDomainEmailUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
3927
3927
|
return this.encode(message, writer).ldelim();
|
|
3928
3928
|
};
|
|
3929
3929
|
|
|
3930
3930
|
/**
|
|
3931
|
-
* Decodes a
|
|
3931
|
+
* Decodes a UserDomainEmailUpdated message from the specified reader or buffer.
|
|
3932
3932
|
* @function decode
|
|
3933
|
-
* @memberof
|
|
3933
|
+
* @memberof UserDomainEmailUpdated
|
|
3934
3934
|
* @static
|
|
3935
3935
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
3936
3936
|
* @param {number} [length] Message length if known beforehand
|
|
3937
|
-
* @returns {
|
|
3937
|
+
* @returns {UserDomainEmailUpdated} UserDomainEmailUpdated
|
|
3938
3938
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3939
3939
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3940
3940
|
*/
|
|
3941
|
-
|
|
3941
|
+
UserDomainEmailUpdated.decode = function decode(reader, length) {
|
|
3942
3942
|
if (!(reader instanceof $Reader))
|
|
3943
3943
|
reader = $Reader.create(reader);
|
|
3944
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
3944
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDomainEmailUpdated();
|
|
3945
3945
|
while (reader.pos < end) {
|
|
3946
3946
|
var tag = reader.uint32();
|
|
3947
3947
|
switch (tag >>> 3) {
|
|
@@ -3963,30 +3963,30 @@ $root.UserEmailUpdated = (function() {
|
|
|
3963
3963
|
};
|
|
3964
3964
|
|
|
3965
3965
|
/**
|
|
3966
|
-
* Decodes a
|
|
3966
|
+
* Decodes a UserDomainEmailUpdated message from the specified reader or buffer, length delimited.
|
|
3967
3967
|
* @function decodeDelimited
|
|
3968
|
-
* @memberof
|
|
3968
|
+
* @memberof UserDomainEmailUpdated
|
|
3969
3969
|
* @static
|
|
3970
3970
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
3971
|
-
* @returns {
|
|
3971
|
+
* @returns {UserDomainEmailUpdated} UserDomainEmailUpdated
|
|
3972
3972
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3973
3973
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3974
3974
|
*/
|
|
3975
|
-
|
|
3975
|
+
UserDomainEmailUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
3976
3976
|
if (!(reader instanceof $Reader))
|
|
3977
3977
|
reader = new $Reader(reader);
|
|
3978
3978
|
return this.decode(reader, reader.uint32());
|
|
3979
3979
|
};
|
|
3980
3980
|
|
|
3981
3981
|
/**
|
|
3982
|
-
* Verifies a
|
|
3982
|
+
* Verifies a UserDomainEmailUpdated message.
|
|
3983
3983
|
* @function verify
|
|
3984
|
-
* @memberof
|
|
3984
|
+
* @memberof UserDomainEmailUpdated
|
|
3985
3985
|
* @static
|
|
3986
3986
|
* @param {Object.<string,*>} message Plain object to verify
|
|
3987
3987
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
3988
3988
|
*/
|
|
3989
|
-
|
|
3989
|
+
UserDomainEmailUpdated.verify = function verify(message) {
|
|
3990
3990
|
if (typeof message !== "object" || message === null)
|
|
3991
3991
|
return "object expected";
|
|
3992
3992
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
@@ -4002,17 +4002,17 @@ $root.UserEmailUpdated = (function() {
|
|
|
4002
4002
|
};
|
|
4003
4003
|
|
|
4004
4004
|
/**
|
|
4005
|
-
* Creates a
|
|
4005
|
+
* Creates a UserDomainEmailUpdated message from a plain object. Also converts values to their respective internal types.
|
|
4006
4006
|
* @function fromObject
|
|
4007
|
-
* @memberof
|
|
4007
|
+
* @memberof UserDomainEmailUpdated
|
|
4008
4008
|
* @static
|
|
4009
4009
|
* @param {Object.<string,*>} object Plain object
|
|
4010
|
-
* @returns {
|
|
4010
|
+
* @returns {UserDomainEmailUpdated} UserDomainEmailUpdated
|
|
4011
4011
|
*/
|
|
4012
|
-
|
|
4013
|
-
if (object instanceof $root.
|
|
4012
|
+
UserDomainEmailUpdated.fromObject = function fromObject(object) {
|
|
4013
|
+
if (object instanceof $root.UserDomainEmailUpdated)
|
|
4014
4014
|
return object;
|
|
4015
|
-
var message = new $root.
|
|
4015
|
+
var message = new $root.UserDomainEmailUpdated();
|
|
4016
4016
|
if (object.hsId != null)
|
|
4017
4017
|
message.hsId = String(object.hsId);
|
|
4018
4018
|
if (object.email != null)
|
|
@@ -4030,15 +4030,15 @@ $root.UserEmailUpdated = (function() {
|
|
|
4030
4030
|
};
|
|
4031
4031
|
|
|
4032
4032
|
/**
|
|
4033
|
-
* Creates a plain object from a
|
|
4033
|
+
* Creates a plain object from a UserDomainEmailUpdated message. Also converts values to other types if specified.
|
|
4034
4034
|
* @function toObject
|
|
4035
|
-
* @memberof
|
|
4035
|
+
* @memberof UserDomainEmailUpdated
|
|
4036
4036
|
* @static
|
|
4037
|
-
* @param {
|
|
4037
|
+
* @param {UserDomainEmailUpdated} message UserDomainEmailUpdated
|
|
4038
4038
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
4039
4039
|
* @returns {Object.<string,*>} Plain object
|
|
4040
4040
|
*/
|
|
4041
|
-
|
|
4041
|
+
UserDomainEmailUpdated.toObject = function toObject(message, options) {
|
|
4042
4042
|
if (!options)
|
|
4043
4043
|
options = {};
|
|
4044
4044
|
var object = {};
|
|
@@ -4064,40 +4064,40 @@ $root.UserEmailUpdated = (function() {
|
|
|
4064
4064
|
};
|
|
4065
4065
|
|
|
4066
4066
|
/**
|
|
4067
|
-
* Converts this
|
|
4067
|
+
* Converts this UserDomainEmailUpdated to JSON.
|
|
4068
4068
|
* @function toJSON
|
|
4069
|
-
* @memberof
|
|
4069
|
+
* @memberof UserDomainEmailUpdated
|
|
4070
4070
|
* @instance
|
|
4071
4071
|
* @returns {Object.<string,*>} JSON object
|
|
4072
4072
|
*/
|
|
4073
|
-
|
|
4073
|
+
UserDomainEmailUpdated.prototype.toJSON = function toJSON() {
|
|
4074
4074
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4075
4075
|
};
|
|
4076
4076
|
|
|
4077
|
-
return
|
|
4077
|
+
return UserDomainEmailUpdated;
|
|
4078
4078
|
})();
|
|
4079
4079
|
|
|
4080
|
-
$root.
|
|
4080
|
+
$root.UserDomainNameUpdated = (function() {
|
|
4081
4081
|
|
|
4082
4082
|
/**
|
|
4083
|
-
* Properties of a
|
|
4084
|
-
* @exports
|
|
4085
|
-
* @interface
|
|
4086
|
-
* @property {string|null} [hsId]
|
|
4087
|
-
* @property {string|null} [firstName]
|
|
4088
|
-
* @property {string|null} [lastName]
|
|
4089
|
-
* @property {number|Long|null} [updatedAt]
|
|
4083
|
+
* Properties of a UserDomainNameUpdated.
|
|
4084
|
+
* @exports IUserDomainNameUpdated
|
|
4085
|
+
* @interface IUserDomainNameUpdated
|
|
4086
|
+
* @property {string|null} [hsId] UserDomainNameUpdated hsId
|
|
4087
|
+
* @property {string|null} [firstName] UserDomainNameUpdated firstName
|
|
4088
|
+
* @property {string|null} [lastName] UserDomainNameUpdated lastName
|
|
4089
|
+
* @property {number|Long|null} [updatedAt] UserDomainNameUpdated updatedAt
|
|
4090
4090
|
*/
|
|
4091
4091
|
|
|
4092
4092
|
/**
|
|
4093
|
-
* Constructs a new
|
|
4094
|
-
* @exports
|
|
4095
|
-
* @classdesc Represents a
|
|
4096
|
-
* @implements
|
|
4093
|
+
* Constructs a new UserDomainNameUpdated.
|
|
4094
|
+
* @exports UserDomainNameUpdated
|
|
4095
|
+
* @classdesc Represents a UserDomainNameUpdated.
|
|
4096
|
+
* @implements IUserDomainNameUpdated
|
|
4097
4097
|
* @constructor
|
|
4098
|
-
* @param {
|
|
4098
|
+
* @param {IUserDomainNameUpdated=} [properties] Properties to set
|
|
4099
4099
|
*/
|
|
4100
|
-
function
|
|
4100
|
+
function UserDomainNameUpdated(properties) {
|
|
4101
4101
|
if (properties)
|
|
4102
4102
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
4103
4103
|
if (properties[keys[i]] != null)
|
|
@@ -4105,59 +4105,59 @@ $root.UserNameUpdated = (function() {
|
|
|
4105
4105
|
}
|
|
4106
4106
|
|
|
4107
4107
|
/**
|
|
4108
|
-
*
|
|
4108
|
+
* UserDomainNameUpdated hsId.
|
|
4109
4109
|
* @member {string} hsId
|
|
4110
|
-
* @memberof
|
|
4110
|
+
* @memberof UserDomainNameUpdated
|
|
4111
4111
|
* @instance
|
|
4112
4112
|
*/
|
|
4113
|
-
|
|
4113
|
+
UserDomainNameUpdated.prototype.hsId = "";
|
|
4114
4114
|
|
|
4115
4115
|
/**
|
|
4116
|
-
*
|
|
4116
|
+
* UserDomainNameUpdated firstName.
|
|
4117
4117
|
* @member {string} firstName
|
|
4118
|
-
* @memberof
|
|
4118
|
+
* @memberof UserDomainNameUpdated
|
|
4119
4119
|
* @instance
|
|
4120
4120
|
*/
|
|
4121
|
-
|
|
4121
|
+
UserDomainNameUpdated.prototype.firstName = "";
|
|
4122
4122
|
|
|
4123
4123
|
/**
|
|
4124
|
-
*
|
|
4124
|
+
* UserDomainNameUpdated lastName.
|
|
4125
4125
|
* @member {string} lastName
|
|
4126
|
-
* @memberof
|
|
4126
|
+
* @memberof UserDomainNameUpdated
|
|
4127
4127
|
* @instance
|
|
4128
4128
|
*/
|
|
4129
|
-
|
|
4129
|
+
UserDomainNameUpdated.prototype.lastName = "";
|
|
4130
4130
|
|
|
4131
4131
|
/**
|
|
4132
|
-
*
|
|
4132
|
+
* UserDomainNameUpdated updatedAt.
|
|
4133
4133
|
* @member {number|Long} updatedAt
|
|
4134
|
-
* @memberof
|
|
4134
|
+
* @memberof UserDomainNameUpdated
|
|
4135
4135
|
* @instance
|
|
4136
4136
|
*/
|
|
4137
|
-
|
|
4137
|
+
UserDomainNameUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
4138
4138
|
|
|
4139
4139
|
/**
|
|
4140
|
-
* Creates a new
|
|
4140
|
+
* Creates a new UserDomainNameUpdated instance using the specified properties.
|
|
4141
4141
|
* @function create
|
|
4142
|
-
* @memberof
|
|
4142
|
+
* @memberof UserDomainNameUpdated
|
|
4143
4143
|
* @static
|
|
4144
|
-
* @param {
|
|
4145
|
-
* @returns {
|
|
4144
|
+
* @param {IUserDomainNameUpdated=} [properties] Properties to set
|
|
4145
|
+
* @returns {UserDomainNameUpdated} UserDomainNameUpdated instance
|
|
4146
4146
|
*/
|
|
4147
|
-
|
|
4148
|
-
return new
|
|
4147
|
+
UserDomainNameUpdated.create = function create(properties) {
|
|
4148
|
+
return new UserDomainNameUpdated(properties);
|
|
4149
4149
|
};
|
|
4150
4150
|
|
|
4151
4151
|
/**
|
|
4152
|
-
* Encodes the specified
|
|
4152
|
+
* Encodes the specified UserDomainNameUpdated message. Does not implicitly {@link UserDomainNameUpdated.verify|verify} messages.
|
|
4153
4153
|
* @function encode
|
|
4154
|
-
* @memberof
|
|
4154
|
+
* @memberof UserDomainNameUpdated
|
|
4155
4155
|
* @static
|
|
4156
|
-
* @param {
|
|
4156
|
+
* @param {IUserDomainNameUpdated} message UserDomainNameUpdated message or plain object to encode
|
|
4157
4157
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4158
4158
|
* @returns {$protobuf.Writer} Writer
|
|
4159
4159
|
*/
|
|
4160
|
-
|
|
4160
|
+
UserDomainNameUpdated.encode = function encode(message, writer) {
|
|
4161
4161
|
if (!writer)
|
|
4162
4162
|
writer = $Writer.create();
|
|
4163
4163
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
@@ -4172,33 +4172,33 @@ $root.UserNameUpdated = (function() {
|
|
|
4172
4172
|
};
|
|
4173
4173
|
|
|
4174
4174
|
/**
|
|
4175
|
-
* Encodes the specified
|
|
4175
|
+
* Encodes the specified UserDomainNameUpdated message, length delimited. Does not implicitly {@link UserDomainNameUpdated.verify|verify} messages.
|
|
4176
4176
|
* @function encodeDelimited
|
|
4177
|
-
* @memberof
|
|
4177
|
+
* @memberof UserDomainNameUpdated
|
|
4178
4178
|
* @static
|
|
4179
|
-
* @param {
|
|
4179
|
+
* @param {IUserDomainNameUpdated} message UserDomainNameUpdated message or plain object to encode
|
|
4180
4180
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4181
4181
|
* @returns {$protobuf.Writer} Writer
|
|
4182
4182
|
*/
|
|
4183
|
-
|
|
4183
|
+
UserDomainNameUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
4184
4184
|
return this.encode(message, writer).ldelim();
|
|
4185
4185
|
};
|
|
4186
4186
|
|
|
4187
4187
|
/**
|
|
4188
|
-
* Decodes a
|
|
4188
|
+
* Decodes a UserDomainNameUpdated message from the specified reader or buffer.
|
|
4189
4189
|
* @function decode
|
|
4190
|
-
* @memberof
|
|
4190
|
+
* @memberof UserDomainNameUpdated
|
|
4191
4191
|
* @static
|
|
4192
4192
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4193
4193
|
* @param {number} [length] Message length if known beforehand
|
|
4194
|
-
* @returns {
|
|
4194
|
+
* @returns {UserDomainNameUpdated} UserDomainNameUpdated
|
|
4195
4195
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4196
4196
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4197
4197
|
*/
|
|
4198
|
-
|
|
4198
|
+
UserDomainNameUpdated.decode = function decode(reader, length) {
|
|
4199
4199
|
if (!(reader instanceof $Reader))
|
|
4200
4200
|
reader = $Reader.create(reader);
|
|
4201
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
4201
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDomainNameUpdated();
|
|
4202
4202
|
while (reader.pos < end) {
|
|
4203
4203
|
var tag = reader.uint32();
|
|
4204
4204
|
switch (tag >>> 3) {
|
|
@@ -4223,30 +4223,30 @@ $root.UserNameUpdated = (function() {
|
|
|
4223
4223
|
};
|
|
4224
4224
|
|
|
4225
4225
|
/**
|
|
4226
|
-
* Decodes a
|
|
4226
|
+
* Decodes a UserDomainNameUpdated message from the specified reader or buffer, length delimited.
|
|
4227
4227
|
* @function decodeDelimited
|
|
4228
|
-
* @memberof
|
|
4228
|
+
* @memberof UserDomainNameUpdated
|
|
4229
4229
|
* @static
|
|
4230
4230
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4231
|
-
* @returns {
|
|
4231
|
+
* @returns {UserDomainNameUpdated} UserDomainNameUpdated
|
|
4232
4232
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4233
4233
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4234
4234
|
*/
|
|
4235
|
-
|
|
4235
|
+
UserDomainNameUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
4236
4236
|
if (!(reader instanceof $Reader))
|
|
4237
4237
|
reader = new $Reader(reader);
|
|
4238
4238
|
return this.decode(reader, reader.uint32());
|
|
4239
4239
|
};
|
|
4240
4240
|
|
|
4241
4241
|
/**
|
|
4242
|
-
* Verifies a
|
|
4242
|
+
* Verifies a UserDomainNameUpdated message.
|
|
4243
4243
|
* @function verify
|
|
4244
|
-
* @memberof
|
|
4244
|
+
* @memberof UserDomainNameUpdated
|
|
4245
4245
|
* @static
|
|
4246
4246
|
* @param {Object.<string,*>} message Plain object to verify
|
|
4247
4247
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
4248
4248
|
*/
|
|
4249
|
-
|
|
4249
|
+
UserDomainNameUpdated.verify = function verify(message) {
|
|
4250
4250
|
if (typeof message !== "object" || message === null)
|
|
4251
4251
|
return "object expected";
|
|
4252
4252
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
@@ -4265,17 +4265,17 @@ $root.UserNameUpdated = (function() {
|
|
|
4265
4265
|
};
|
|
4266
4266
|
|
|
4267
4267
|
/**
|
|
4268
|
-
* Creates a
|
|
4268
|
+
* Creates a UserDomainNameUpdated message from a plain object. Also converts values to their respective internal types.
|
|
4269
4269
|
* @function fromObject
|
|
4270
|
-
* @memberof
|
|
4270
|
+
* @memberof UserDomainNameUpdated
|
|
4271
4271
|
* @static
|
|
4272
4272
|
* @param {Object.<string,*>} object Plain object
|
|
4273
|
-
* @returns {
|
|
4273
|
+
* @returns {UserDomainNameUpdated} UserDomainNameUpdated
|
|
4274
4274
|
*/
|
|
4275
|
-
|
|
4276
|
-
if (object instanceof $root.
|
|
4275
|
+
UserDomainNameUpdated.fromObject = function fromObject(object) {
|
|
4276
|
+
if (object instanceof $root.UserDomainNameUpdated)
|
|
4277
4277
|
return object;
|
|
4278
|
-
var message = new $root.
|
|
4278
|
+
var message = new $root.UserDomainNameUpdated();
|
|
4279
4279
|
if (object.hsId != null)
|
|
4280
4280
|
message.hsId = String(object.hsId);
|
|
4281
4281
|
if (object.firstName != null)
|
|
@@ -4295,15 +4295,15 @@ $root.UserNameUpdated = (function() {
|
|
|
4295
4295
|
};
|
|
4296
4296
|
|
|
4297
4297
|
/**
|
|
4298
|
-
* Creates a plain object from a
|
|
4298
|
+
* Creates a plain object from a UserDomainNameUpdated message. Also converts values to other types if specified.
|
|
4299
4299
|
* @function toObject
|
|
4300
|
-
* @memberof
|
|
4300
|
+
* @memberof UserDomainNameUpdated
|
|
4301
4301
|
* @static
|
|
4302
|
-
* @param {
|
|
4302
|
+
* @param {UserDomainNameUpdated} message UserDomainNameUpdated
|
|
4303
4303
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
4304
4304
|
* @returns {Object.<string,*>} Plain object
|
|
4305
4305
|
*/
|
|
4306
|
-
|
|
4306
|
+
UserDomainNameUpdated.toObject = function toObject(message, options) {
|
|
4307
4307
|
if (!options)
|
|
4308
4308
|
options = {};
|
|
4309
4309
|
var object = {};
|
|
@@ -4332,39 +4332,39 @@ $root.UserNameUpdated = (function() {
|
|
|
4332
4332
|
};
|
|
4333
4333
|
|
|
4334
4334
|
/**
|
|
4335
|
-
* Converts this
|
|
4335
|
+
* Converts this UserDomainNameUpdated to JSON.
|
|
4336
4336
|
* @function toJSON
|
|
4337
|
-
* @memberof
|
|
4337
|
+
* @memberof UserDomainNameUpdated
|
|
4338
4338
|
* @instance
|
|
4339
4339
|
* @returns {Object.<string,*>} JSON object
|
|
4340
4340
|
*/
|
|
4341
|
-
|
|
4341
|
+
UserDomainNameUpdated.prototype.toJSON = function toJSON() {
|
|
4342
4342
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4343
4343
|
};
|
|
4344
4344
|
|
|
4345
|
-
return
|
|
4345
|
+
return UserDomainNameUpdated;
|
|
4346
4346
|
})();
|
|
4347
4347
|
|
|
4348
|
-
$root.
|
|
4348
|
+
$root.UserDomainCountryUpdated = (function() {
|
|
4349
4349
|
|
|
4350
4350
|
/**
|
|
4351
|
-
* Properties of a
|
|
4352
|
-
* @exports
|
|
4353
|
-
* @interface
|
|
4354
|
-
* @property {string|null} [hsId]
|
|
4355
|
-
* @property {string|null} [countryCode]
|
|
4356
|
-
* @property {number|Long|null} [updatedAt]
|
|
4351
|
+
* Properties of a UserDomainCountryUpdated.
|
|
4352
|
+
* @exports IUserDomainCountryUpdated
|
|
4353
|
+
* @interface IUserDomainCountryUpdated
|
|
4354
|
+
* @property {string|null} [hsId] UserDomainCountryUpdated hsId
|
|
4355
|
+
* @property {string|null} [countryCode] UserDomainCountryUpdated countryCode
|
|
4356
|
+
* @property {number|Long|null} [updatedAt] UserDomainCountryUpdated updatedAt
|
|
4357
4357
|
*/
|
|
4358
4358
|
|
|
4359
4359
|
/**
|
|
4360
|
-
* Constructs a new
|
|
4361
|
-
* @exports
|
|
4362
|
-
* @classdesc Represents a
|
|
4363
|
-
* @implements
|
|
4360
|
+
* Constructs a new UserDomainCountryUpdated.
|
|
4361
|
+
* @exports UserDomainCountryUpdated
|
|
4362
|
+
* @classdesc Represents a UserDomainCountryUpdated.
|
|
4363
|
+
* @implements IUserDomainCountryUpdated
|
|
4364
4364
|
* @constructor
|
|
4365
|
-
* @param {
|
|
4365
|
+
* @param {IUserDomainCountryUpdated=} [properties] Properties to set
|
|
4366
4366
|
*/
|
|
4367
|
-
function
|
|
4367
|
+
function UserDomainCountryUpdated(properties) {
|
|
4368
4368
|
if (properties)
|
|
4369
4369
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
4370
4370
|
if (properties[keys[i]] != null)
|
|
@@ -4372,51 +4372,51 @@ $root.UserCountryUpdated = (function() {
|
|
|
4372
4372
|
}
|
|
4373
4373
|
|
|
4374
4374
|
/**
|
|
4375
|
-
*
|
|
4375
|
+
* UserDomainCountryUpdated hsId.
|
|
4376
4376
|
* @member {string} hsId
|
|
4377
|
-
* @memberof
|
|
4377
|
+
* @memberof UserDomainCountryUpdated
|
|
4378
4378
|
* @instance
|
|
4379
4379
|
*/
|
|
4380
|
-
|
|
4380
|
+
UserDomainCountryUpdated.prototype.hsId = "";
|
|
4381
4381
|
|
|
4382
4382
|
/**
|
|
4383
|
-
*
|
|
4383
|
+
* UserDomainCountryUpdated countryCode.
|
|
4384
4384
|
* @member {string} countryCode
|
|
4385
|
-
* @memberof
|
|
4385
|
+
* @memberof UserDomainCountryUpdated
|
|
4386
4386
|
* @instance
|
|
4387
4387
|
*/
|
|
4388
|
-
|
|
4388
|
+
UserDomainCountryUpdated.prototype.countryCode = "";
|
|
4389
4389
|
|
|
4390
4390
|
/**
|
|
4391
|
-
*
|
|
4391
|
+
* UserDomainCountryUpdated updatedAt.
|
|
4392
4392
|
* @member {number|Long} updatedAt
|
|
4393
|
-
* @memberof
|
|
4393
|
+
* @memberof UserDomainCountryUpdated
|
|
4394
4394
|
* @instance
|
|
4395
4395
|
*/
|
|
4396
|
-
|
|
4396
|
+
UserDomainCountryUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
4397
4397
|
|
|
4398
4398
|
/**
|
|
4399
|
-
* Creates a new
|
|
4399
|
+
* Creates a new UserDomainCountryUpdated instance using the specified properties.
|
|
4400
4400
|
* @function create
|
|
4401
|
-
* @memberof
|
|
4401
|
+
* @memberof UserDomainCountryUpdated
|
|
4402
4402
|
* @static
|
|
4403
|
-
* @param {
|
|
4404
|
-
* @returns {
|
|
4403
|
+
* @param {IUserDomainCountryUpdated=} [properties] Properties to set
|
|
4404
|
+
* @returns {UserDomainCountryUpdated} UserDomainCountryUpdated instance
|
|
4405
4405
|
*/
|
|
4406
|
-
|
|
4407
|
-
return new
|
|
4406
|
+
UserDomainCountryUpdated.create = function create(properties) {
|
|
4407
|
+
return new UserDomainCountryUpdated(properties);
|
|
4408
4408
|
};
|
|
4409
4409
|
|
|
4410
4410
|
/**
|
|
4411
|
-
* Encodes the specified
|
|
4411
|
+
* Encodes the specified UserDomainCountryUpdated message. Does not implicitly {@link UserDomainCountryUpdated.verify|verify} messages.
|
|
4412
4412
|
* @function encode
|
|
4413
|
-
* @memberof
|
|
4413
|
+
* @memberof UserDomainCountryUpdated
|
|
4414
4414
|
* @static
|
|
4415
|
-
* @param {
|
|
4415
|
+
* @param {IUserDomainCountryUpdated} message UserDomainCountryUpdated message or plain object to encode
|
|
4416
4416
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4417
4417
|
* @returns {$protobuf.Writer} Writer
|
|
4418
4418
|
*/
|
|
4419
|
-
|
|
4419
|
+
UserDomainCountryUpdated.encode = function encode(message, writer) {
|
|
4420
4420
|
if (!writer)
|
|
4421
4421
|
writer = $Writer.create();
|
|
4422
4422
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
@@ -4429,33 +4429,33 @@ $root.UserCountryUpdated = (function() {
|
|
|
4429
4429
|
};
|
|
4430
4430
|
|
|
4431
4431
|
/**
|
|
4432
|
-
* Encodes the specified
|
|
4432
|
+
* Encodes the specified UserDomainCountryUpdated message, length delimited. Does not implicitly {@link UserDomainCountryUpdated.verify|verify} messages.
|
|
4433
4433
|
* @function encodeDelimited
|
|
4434
|
-
* @memberof
|
|
4434
|
+
* @memberof UserDomainCountryUpdated
|
|
4435
4435
|
* @static
|
|
4436
|
-
* @param {
|
|
4436
|
+
* @param {IUserDomainCountryUpdated} message UserDomainCountryUpdated message or plain object to encode
|
|
4437
4437
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4438
4438
|
* @returns {$protobuf.Writer} Writer
|
|
4439
4439
|
*/
|
|
4440
|
-
|
|
4440
|
+
UserDomainCountryUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
4441
4441
|
return this.encode(message, writer).ldelim();
|
|
4442
4442
|
};
|
|
4443
4443
|
|
|
4444
4444
|
/**
|
|
4445
|
-
* Decodes a
|
|
4445
|
+
* Decodes a UserDomainCountryUpdated message from the specified reader or buffer.
|
|
4446
4446
|
* @function decode
|
|
4447
|
-
* @memberof
|
|
4447
|
+
* @memberof UserDomainCountryUpdated
|
|
4448
4448
|
* @static
|
|
4449
4449
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4450
4450
|
* @param {number} [length] Message length if known beforehand
|
|
4451
|
-
* @returns {
|
|
4451
|
+
* @returns {UserDomainCountryUpdated} UserDomainCountryUpdated
|
|
4452
4452
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4453
4453
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4454
4454
|
*/
|
|
4455
|
-
|
|
4455
|
+
UserDomainCountryUpdated.decode = function decode(reader, length) {
|
|
4456
4456
|
if (!(reader instanceof $Reader))
|
|
4457
4457
|
reader = $Reader.create(reader);
|
|
4458
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
4458
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDomainCountryUpdated();
|
|
4459
4459
|
while (reader.pos < end) {
|
|
4460
4460
|
var tag = reader.uint32();
|
|
4461
4461
|
switch (tag >>> 3) {
|
|
@@ -4477,30 +4477,30 @@ $root.UserCountryUpdated = (function() {
|
|
|
4477
4477
|
};
|
|
4478
4478
|
|
|
4479
4479
|
/**
|
|
4480
|
-
* Decodes a
|
|
4480
|
+
* Decodes a UserDomainCountryUpdated message from the specified reader or buffer, length delimited.
|
|
4481
4481
|
* @function decodeDelimited
|
|
4482
|
-
* @memberof
|
|
4482
|
+
* @memberof UserDomainCountryUpdated
|
|
4483
4483
|
* @static
|
|
4484
4484
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4485
|
-
* @returns {
|
|
4485
|
+
* @returns {UserDomainCountryUpdated} UserDomainCountryUpdated
|
|
4486
4486
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4487
4487
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4488
4488
|
*/
|
|
4489
|
-
|
|
4489
|
+
UserDomainCountryUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
4490
4490
|
if (!(reader instanceof $Reader))
|
|
4491
4491
|
reader = new $Reader(reader);
|
|
4492
4492
|
return this.decode(reader, reader.uint32());
|
|
4493
4493
|
};
|
|
4494
4494
|
|
|
4495
4495
|
/**
|
|
4496
|
-
* Verifies a
|
|
4496
|
+
* Verifies a UserDomainCountryUpdated message.
|
|
4497
4497
|
* @function verify
|
|
4498
|
-
* @memberof
|
|
4498
|
+
* @memberof UserDomainCountryUpdated
|
|
4499
4499
|
* @static
|
|
4500
4500
|
* @param {Object.<string,*>} message Plain object to verify
|
|
4501
4501
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
4502
4502
|
*/
|
|
4503
|
-
|
|
4503
|
+
UserDomainCountryUpdated.verify = function verify(message) {
|
|
4504
4504
|
if (typeof message !== "object" || message === null)
|
|
4505
4505
|
return "object expected";
|
|
4506
4506
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
@@ -4516,17 +4516,17 @@ $root.UserCountryUpdated = (function() {
|
|
|
4516
4516
|
};
|
|
4517
4517
|
|
|
4518
4518
|
/**
|
|
4519
|
-
* Creates a
|
|
4519
|
+
* Creates a UserDomainCountryUpdated message from a plain object. Also converts values to their respective internal types.
|
|
4520
4520
|
* @function fromObject
|
|
4521
|
-
* @memberof
|
|
4521
|
+
* @memberof UserDomainCountryUpdated
|
|
4522
4522
|
* @static
|
|
4523
4523
|
* @param {Object.<string,*>} object Plain object
|
|
4524
|
-
* @returns {
|
|
4524
|
+
* @returns {UserDomainCountryUpdated} UserDomainCountryUpdated
|
|
4525
4525
|
*/
|
|
4526
|
-
|
|
4527
|
-
if (object instanceof $root.
|
|
4526
|
+
UserDomainCountryUpdated.fromObject = function fromObject(object) {
|
|
4527
|
+
if (object instanceof $root.UserDomainCountryUpdated)
|
|
4528
4528
|
return object;
|
|
4529
|
-
var message = new $root.
|
|
4529
|
+
var message = new $root.UserDomainCountryUpdated();
|
|
4530
4530
|
if (object.hsId != null)
|
|
4531
4531
|
message.hsId = String(object.hsId);
|
|
4532
4532
|
if (object.countryCode != null)
|
|
@@ -4544,15 +4544,15 @@ $root.UserCountryUpdated = (function() {
|
|
|
4544
4544
|
};
|
|
4545
4545
|
|
|
4546
4546
|
/**
|
|
4547
|
-
* Creates a plain object from a
|
|
4547
|
+
* Creates a plain object from a UserDomainCountryUpdated message. Also converts values to other types if specified.
|
|
4548
4548
|
* @function toObject
|
|
4549
|
-
* @memberof
|
|
4549
|
+
* @memberof UserDomainCountryUpdated
|
|
4550
4550
|
* @static
|
|
4551
|
-
* @param {
|
|
4551
|
+
* @param {UserDomainCountryUpdated} message UserDomainCountryUpdated
|
|
4552
4552
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
4553
4553
|
* @returns {Object.<string,*>} Plain object
|
|
4554
4554
|
*/
|
|
4555
|
-
|
|
4555
|
+
UserDomainCountryUpdated.toObject = function toObject(message, options) {
|
|
4556
4556
|
if (!options)
|
|
4557
4557
|
options = {};
|
|
4558
4558
|
var object = {};
|
|
@@ -4578,38 +4578,38 @@ $root.UserCountryUpdated = (function() {
|
|
|
4578
4578
|
};
|
|
4579
4579
|
|
|
4580
4580
|
/**
|
|
4581
|
-
* Converts this
|
|
4581
|
+
* Converts this UserDomainCountryUpdated to JSON.
|
|
4582
4582
|
* @function toJSON
|
|
4583
|
-
* @memberof
|
|
4583
|
+
* @memberof UserDomainCountryUpdated
|
|
4584
4584
|
* @instance
|
|
4585
4585
|
* @returns {Object.<string,*>} JSON object
|
|
4586
4586
|
*/
|
|
4587
|
-
|
|
4587
|
+
UserDomainCountryUpdated.prototype.toJSON = function toJSON() {
|
|
4588
4588
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4589
4589
|
};
|
|
4590
4590
|
|
|
4591
|
-
return
|
|
4591
|
+
return UserDomainCountryUpdated;
|
|
4592
4592
|
})();
|
|
4593
4593
|
|
|
4594
|
-
$root.
|
|
4594
|
+
$root.UserDomainDeleted = (function() {
|
|
4595
4595
|
|
|
4596
4596
|
/**
|
|
4597
|
-
* Properties of a
|
|
4598
|
-
* @exports
|
|
4599
|
-
* @interface
|
|
4600
|
-
* @property {string|null} [hsId]
|
|
4601
|
-
* @property {number|Long|null} [deletedAt]
|
|
4597
|
+
* Properties of a UserDomainDeleted.
|
|
4598
|
+
* @exports IUserDomainDeleted
|
|
4599
|
+
* @interface IUserDomainDeleted
|
|
4600
|
+
* @property {string|null} [hsId] UserDomainDeleted hsId
|
|
4601
|
+
* @property {number|Long|null} [deletedAt] UserDomainDeleted deletedAt
|
|
4602
4602
|
*/
|
|
4603
4603
|
|
|
4604
4604
|
/**
|
|
4605
|
-
* Constructs a new
|
|
4606
|
-
* @exports
|
|
4607
|
-
* @classdesc Represents a
|
|
4608
|
-
* @implements
|
|
4605
|
+
* Constructs a new UserDomainDeleted.
|
|
4606
|
+
* @exports UserDomainDeleted
|
|
4607
|
+
* @classdesc Represents a UserDomainDeleted.
|
|
4608
|
+
* @implements IUserDomainDeleted
|
|
4609
4609
|
* @constructor
|
|
4610
|
-
* @param {
|
|
4610
|
+
* @param {IUserDomainDeleted=} [properties] Properties to set
|
|
4611
4611
|
*/
|
|
4612
|
-
function
|
|
4612
|
+
function UserDomainDeleted(properties) {
|
|
4613
4613
|
if (properties)
|
|
4614
4614
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
4615
4615
|
if (properties[keys[i]] != null)
|
|
@@ -4617,43 +4617,43 @@ $root.UserDeleted = (function() {
|
|
|
4617
4617
|
}
|
|
4618
4618
|
|
|
4619
4619
|
/**
|
|
4620
|
-
*
|
|
4620
|
+
* UserDomainDeleted hsId.
|
|
4621
4621
|
* @member {string} hsId
|
|
4622
|
-
* @memberof
|
|
4622
|
+
* @memberof UserDomainDeleted
|
|
4623
4623
|
* @instance
|
|
4624
4624
|
*/
|
|
4625
|
-
|
|
4625
|
+
UserDomainDeleted.prototype.hsId = "";
|
|
4626
4626
|
|
|
4627
4627
|
/**
|
|
4628
|
-
*
|
|
4628
|
+
* UserDomainDeleted deletedAt.
|
|
4629
4629
|
* @member {number|Long} deletedAt
|
|
4630
|
-
* @memberof
|
|
4630
|
+
* @memberof UserDomainDeleted
|
|
4631
4631
|
* @instance
|
|
4632
4632
|
*/
|
|
4633
|
-
|
|
4633
|
+
UserDomainDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
4634
4634
|
|
|
4635
4635
|
/**
|
|
4636
|
-
* Creates a new
|
|
4636
|
+
* Creates a new UserDomainDeleted instance using the specified properties.
|
|
4637
4637
|
* @function create
|
|
4638
|
-
* @memberof
|
|
4638
|
+
* @memberof UserDomainDeleted
|
|
4639
4639
|
* @static
|
|
4640
|
-
* @param {
|
|
4641
|
-
* @returns {
|
|
4640
|
+
* @param {IUserDomainDeleted=} [properties] Properties to set
|
|
4641
|
+
* @returns {UserDomainDeleted} UserDomainDeleted instance
|
|
4642
4642
|
*/
|
|
4643
|
-
|
|
4644
|
-
return new
|
|
4643
|
+
UserDomainDeleted.create = function create(properties) {
|
|
4644
|
+
return new UserDomainDeleted(properties);
|
|
4645
4645
|
};
|
|
4646
4646
|
|
|
4647
4647
|
/**
|
|
4648
|
-
* Encodes the specified
|
|
4648
|
+
* Encodes the specified UserDomainDeleted message. Does not implicitly {@link UserDomainDeleted.verify|verify} messages.
|
|
4649
4649
|
* @function encode
|
|
4650
|
-
* @memberof
|
|
4650
|
+
* @memberof UserDomainDeleted
|
|
4651
4651
|
* @static
|
|
4652
|
-
* @param {
|
|
4652
|
+
* @param {IUserDomainDeleted} message UserDomainDeleted message or plain object to encode
|
|
4653
4653
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4654
4654
|
* @returns {$protobuf.Writer} Writer
|
|
4655
4655
|
*/
|
|
4656
|
-
|
|
4656
|
+
UserDomainDeleted.encode = function encode(message, writer) {
|
|
4657
4657
|
if (!writer)
|
|
4658
4658
|
writer = $Writer.create();
|
|
4659
4659
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
@@ -4664,33 +4664,33 @@ $root.UserDeleted = (function() {
|
|
|
4664
4664
|
};
|
|
4665
4665
|
|
|
4666
4666
|
/**
|
|
4667
|
-
* Encodes the specified
|
|
4667
|
+
* Encodes the specified UserDomainDeleted message, length delimited. Does not implicitly {@link UserDomainDeleted.verify|verify} messages.
|
|
4668
4668
|
* @function encodeDelimited
|
|
4669
|
-
* @memberof
|
|
4669
|
+
* @memberof UserDomainDeleted
|
|
4670
4670
|
* @static
|
|
4671
|
-
* @param {
|
|
4671
|
+
* @param {IUserDomainDeleted} message UserDomainDeleted message or plain object to encode
|
|
4672
4672
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
4673
4673
|
* @returns {$protobuf.Writer} Writer
|
|
4674
4674
|
*/
|
|
4675
|
-
|
|
4675
|
+
UserDomainDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
4676
4676
|
return this.encode(message, writer).ldelim();
|
|
4677
4677
|
};
|
|
4678
4678
|
|
|
4679
4679
|
/**
|
|
4680
|
-
* Decodes a
|
|
4680
|
+
* Decodes a UserDomainDeleted message from the specified reader or buffer.
|
|
4681
4681
|
* @function decode
|
|
4682
|
-
* @memberof
|
|
4682
|
+
* @memberof UserDomainDeleted
|
|
4683
4683
|
* @static
|
|
4684
4684
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4685
4685
|
* @param {number} [length] Message length if known beforehand
|
|
4686
|
-
* @returns {
|
|
4686
|
+
* @returns {UserDomainDeleted} UserDomainDeleted
|
|
4687
4687
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4688
4688
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4689
4689
|
*/
|
|
4690
|
-
|
|
4690
|
+
UserDomainDeleted.decode = function decode(reader, length) {
|
|
4691
4691
|
if (!(reader instanceof $Reader))
|
|
4692
4692
|
reader = $Reader.create(reader);
|
|
4693
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
4693
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDomainDeleted();
|
|
4694
4694
|
while (reader.pos < end) {
|
|
4695
4695
|
var tag = reader.uint32();
|
|
4696
4696
|
switch (tag >>> 3) {
|
|
@@ -4709,30 +4709,30 @@ $root.UserDeleted = (function() {
|
|
|
4709
4709
|
};
|
|
4710
4710
|
|
|
4711
4711
|
/**
|
|
4712
|
-
* Decodes a
|
|
4712
|
+
* Decodes a UserDomainDeleted message from the specified reader or buffer, length delimited.
|
|
4713
4713
|
* @function decodeDelimited
|
|
4714
|
-
* @memberof
|
|
4714
|
+
* @memberof UserDomainDeleted
|
|
4715
4715
|
* @static
|
|
4716
4716
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
4717
|
-
* @returns {
|
|
4717
|
+
* @returns {UserDomainDeleted} UserDomainDeleted
|
|
4718
4718
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4719
4719
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4720
4720
|
*/
|
|
4721
|
-
|
|
4721
|
+
UserDomainDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
4722
4722
|
if (!(reader instanceof $Reader))
|
|
4723
4723
|
reader = new $Reader(reader);
|
|
4724
4724
|
return this.decode(reader, reader.uint32());
|
|
4725
4725
|
};
|
|
4726
4726
|
|
|
4727
4727
|
/**
|
|
4728
|
-
* Verifies a
|
|
4728
|
+
* Verifies a UserDomainDeleted message.
|
|
4729
4729
|
* @function verify
|
|
4730
|
-
* @memberof
|
|
4730
|
+
* @memberof UserDomainDeleted
|
|
4731
4731
|
* @static
|
|
4732
4732
|
* @param {Object.<string,*>} message Plain object to verify
|
|
4733
4733
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
4734
4734
|
*/
|
|
4735
|
-
|
|
4735
|
+
UserDomainDeleted.verify = function verify(message) {
|
|
4736
4736
|
if (typeof message !== "object" || message === null)
|
|
4737
4737
|
return "object expected";
|
|
4738
4738
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
@@ -4745,17 +4745,17 @@ $root.UserDeleted = (function() {
|
|
|
4745
4745
|
};
|
|
4746
4746
|
|
|
4747
4747
|
/**
|
|
4748
|
-
* Creates a
|
|
4748
|
+
* Creates a UserDomainDeleted message from a plain object. Also converts values to their respective internal types.
|
|
4749
4749
|
* @function fromObject
|
|
4750
|
-
* @memberof
|
|
4750
|
+
* @memberof UserDomainDeleted
|
|
4751
4751
|
* @static
|
|
4752
4752
|
* @param {Object.<string,*>} object Plain object
|
|
4753
|
-
* @returns {
|
|
4753
|
+
* @returns {UserDomainDeleted} UserDomainDeleted
|
|
4754
4754
|
*/
|
|
4755
|
-
|
|
4756
|
-
if (object instanceof $root.
|
|
4755
|
+
UserDomainDeleted.fromObject = function fromObject(object) {
|
|
4756
|
+
if (object instanceof $root.UserDomainDeleted)
|
|
4757
4757
|
return object;
|
|
4758
|
-
var message = new $root.
|
|
4758
|
+
var message = new $root.UserDomainDeleted();
|
|
4759
4759
|
if (object.hsId != null)
|
|
4760
4760
|
message.hsId = String(object.hsId);
|
|
4761
4761
|
if (object.deletedAt != null)
|
|
@@ -4771,15 +4771,15 @@ $root.UserDeleted = (function() {
|
|
|
4771
4771
|
};
|
|
4772
4772
|
|
|
4773
4773
|
/**
|
|
4774
|
-
* Creates a plain object from a
|
|
4774
|
+
* Creates a plain object from a UserDomainDeleted message. Also converts values to other types if specified.
|
|
4775
4775
|
* @function toObject
|
|
4776
|
-
* @memberof
|
|
4776
|
+
* @memberof UserDomainDeleted
|
|
4777
4777
|
* @static
|
|
4778
|
-
* @param {
|
|
4778
|
+
* @param {UserDomainDeleted} message UserDomainDeleted
|
|
4779
4779
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
4780
4780
|
* @returns {Object.<string,*>} Plain object
|
|
4781
4781
|
*/
|
|
4782
|
-
|
|
4782
|
+
UserDomainDeleted.toObject = function toObject(message, options) {
|
|
4783
4783
|
if (!options)
|
|
4784
4784
|
options = {};
|
|
4785
4785
|
var object = {};
|
|
@@ -4802,17 +4802,17 @@ $root.UserDeleted = (function() {
|
|
|
4802
4802
|
};
|
|
4803
4803
|
|
|
4804
4804
|
/**
|
|
4805
|
-
* Converts this
|
|
4805
|
+
* Converts this UserDomainDeleted to JSON.
|
|
4806
4806
|
* @function toJSON
|
|
4807
|
-
* @memberof
|
|
4807
|
+
* @memberof UserDomainDeleted
|
|
4808
4808
|
* @instance
|
|
4809
4809
|
* @returns {Object.<string,*>} JSON object
|
|
4810
4810
|
*/
|
|
4811
|
-
|
|
4811
|
+
UserDomainDeleted.prototype.toJSON = function toJSON() {
|
|
4812
4812
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4813
4813
|
};
|
|
4814
4814
|
|
|
4815
|
-
return
|
|
4815
|
+
return UserDomainDeleted;
|
|
4816
4816
|
})();
|
|
4817
4817
|
|
|
4818
4818
|
$root.UserPasswordResetCreated = (function() {
|
|
@@ -13394,24 +13394,32 @@ $root.SubscriptionEnded = (function() {
|
|
|
13394
13394
|
return SubscriptionEnded;
|
|
13395
13395
|
})();
|
|
13396
13396
|
|
|
13397
|
-
$root.
|
|
13397
|
+
$root.SubscriptionRecovered = (function() {
|
|
13398
13398
|
|
|
13399
13399
|
/**
|
|
13400
|
-
* Properties of a
|
|
13401
|
-
* @exports
|
|
13402
|
-
* @interface
|
|
13403
|
-
* @property {
|
|
13400
|
+
* Properties of a SubscriptionRecovered.
|
|
13401
|
+
* @exports ISubscriptionRecovered
|
|
13402
|
+
* @interface ISubscriptionRecovered
|
|
13403
|
+
* @property {number|Long|null} [updatedOn] SubscriptionRecovered updatedOn
|
|
13404
|
+
* @property {string|null} [userId] SubscriptionRecovered userId
|
|
13405
|
+
* @property {number|Long|null} [createdAt] SubscriptionRecovered createdAt
|
|
13406
|
+
* @property {number|Long|null} [startsAt] SubscriptionRecovered startsAt
|
|
13407
|
+
* @property {number|Long|null} [endsAt] SubscriptionRecovered endsAt
|
|
13408
|
+
* @property {string|null} [voucherCode] SubscriptionRecovered voucherCode
|
|
13409
|
+
* @property {subscription.SubscriptionPlatform|null} [platform] SubscriptionRecovered platform
|
|
13410
|
+
* @property {subscription.AutoRenewalStatus|null} [autoRenewalStatus] SubscriptionRecovered autoRenewalStatus
|
|
13411
|
+
* @property {subscription.IPlan|null} [plan] SubscriptionRecovered plan
|
|
13404
13412
|
*/
|
|
13405
13413
|
|
|
13406
13414
|
/**
|
|
13407
|
-
* Constructs a new
|
|
13408
|
-
* @exports
|
|
13409
|
-
* @classdesc Represents a
|
|
13410
|
-
* @implements
|
|
13415
|
+
* Constructs a new SubscriptionRecovered.
|
|
13416
|
+
* @exports SubscriptionRecovered
|
|
13417
|
+
* @classdesc Represents a SubscriptionRecovered.
|
|
13418
|
+
* @implements ISubscriptionRecovered
|
|
13411
13419
|
* @constructor
|
|
13412
|
-
* @param {
|
|
13420
|
+
* @param {ISubscriptionRecovered=} [properties] Properties to set
|
|
13413
13421
|
*/
|
|
13414
|
-
function
|
|
13422
|
+
function SubscriptionRecovered(properties) {
|
|
13415
13423
|
if (properties)
|
|
13416
13424
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
13417
13425
|
if (properties[keys[i]] != null)
|
|
@@ -13419,76 +13427,180 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
13419
13427
|
}
|
|
13420
13428
|
|
|
13421
13429
|
/**
|
|
13422
|
-
*
|
|
13430
|
+
* SubscriptionRecovered updatedOn.
|
|
13431
|
+
* @member {number|Long} updatedOn
|
|
13432
|
+
* @memberof SubscriptionRecovered
|
|
13433
|
+
* @instance
|
|
13434
|
+
*/
|
|
13435
|
+
SubscriptionRecovered.prototype.updatedOn = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
13436
|
+
|
|
13437
|
+
/**
|
|
13438
|
+
* SubscriptionRecovered userId.
|
|
13423
13439
|
* @member {string} userId
|
|
13424
|
-
* @memberof
|
|
13440
|
+
* @memberof SubscriptionRecovered
|
|
13425
13441
|
* @instance
|
|
13426
13442
|
*/
|
|
13427
|
-
|
|
13443
|
+
SubscriptionRecovered.prototype.userId = "";
|
|
13428
13444
|
|
|
13429
13445
|
/**
|
|
13430
|
-
*
|
|
13446
|
+
* SubscriptionRecovered createdAt.
|
|
13447
|
+
* @member {number|Long} createdAt
|
|
13448
|
+
* @memberof SubscriptionRecovered
|
|
13449
|
+
* @instance
|
|
13450
|
+
*/
|
|
13451
|
+
SubscriptionRecovered.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
13452
|
+
|
|
13453
|
+
/**
|
|
13454
|
+
* SubscriptionRecovered startsAt.
|
|
13455
|
+
* @member {number|Long} startsAt
|
|
13456
|
+
* @memberof SubscriptionRecovered
|
|
13457
|
+
* @instance
|
|
13458
|
+
*/
|
|
13459
|
+
SubscriptionRecovered.prototype.startsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
13460
|
+
|
|
13461
|
+
/**
|
|
13462
|
+
* SubscriptionRecovered endsAt.
|
|
13463
|
+
* @member {number|Long} endsAt
|
|
13464
|
+
* @memberof SubscriptionRecovered
|
|
13465
|
+
* @instance
|
|
13466
|
+
*/
|
|
13467
|
+
SubscriptionRecovered.prototype.endsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
13468
|
+
|
|
13469
|
+
/**
|
|
13470
|
+
* SubscriptionRecovered voucherCode.
|
|
13471
|
+
* @member {string} voucherCode
|
|
13472
|
+
* @memberof SubscriptionRecovered
|
|
13473
|
+
* @instance
|
|
13474
|
+
*/
|
|
13475
|
+
SubscriptionRecovered.prototype.voucherCode = "";
|
|
13476
|
+
|
|
13477
|
+
/**
|
|
13478
|
+
* SubscriptionRecovered platform.
|
|
13479
|
+
* @member {subscription.SubscriptionPlatform} platform
|
|
13480
|
+
* @memberof SubscriptionRecovered
|
|
13481
|
+
* @instance
|
|
13482
|
+
*/
|
|
13483
|
+
SubscriptionRecovered.prototype.platform = 0;
|
|
13484
|
+
|
|
13485
|
+
/**
|
|
13486
|
+
* SubscriptionRecovered autoRenewalStatus.
|
|
13487
|
+
* @member {subscription.AutoRenewalStatus} autoRenewalStatus
|
|
13488
|
+
* @memberof SubscriptionRecovered
|
|
13489
|
+
* @instance
|
|
13490
|
+
*/
|
|
13491
|
+
SubscriptionRecovered.prototype.autoRenewalStatus = 0;
|
|
13492
|
+
|
|
13493
|
+
/**
|
|
13494
|
+
* SubscriptionRecovered plan.
|
|
13495
|
+
* @member {subscription.IPlan|null|undefined} plan
|
|
13496
|
+
* @memberof SubscriptionRecovered
|
|
13497
|
+
* @instance
|
|
13498
|
+
*/
|
|
13499
|
+
SubscriptionRecovered.prototype.plan = null;
|
|
13500
|
+
|
|
13501
|
+
/**
|
|
13502
|
+
* Creates a new SubscriptionRecovered instance using the specified properties.
|
|
13431
13503
|
* @function create
|
|
13432
|
-
* @memberof
|
|
13504
|
+
* @memberof SubscriptionRecovered
|
|
13433
13505
|
* @static
|
|
13434
|
-
* @param {
|
|
13435
|
-
* @returns {
|
|
13506
|
+
* @param {ISubscriptionRecovered=} [properties] Properties to set
|
|
13507
|
+
* @returns {SubscriptionRecovered} SubscriptionRecovered instance
|
|
13436
13508
|
*/
|
|
13437
|
-
|
|
13438
|
-
return new
|
|
13509
|
+
SubscriptionRecovered.create = function create(properties) {
|
|
13510
|
+
return new SubscriptionRecovered(properties);
|
|
13439
13511
|
};
|
|
13440
13512
|
|
|
13441
13513
|
/**
|
|
13442
|
-
* Encodes the specified
|
|
13514
|
+
* Encodes the specified SubscriptionRecovered message. Does not implicitly {@link SubscriptionRecovered.verify|verify} messages.
|
|
13443
13515
|
* @function encode
|
|
13444
|
-
* @memberof
|
|
13516
|
+
* @memberof SubscriptionRecovered
|
|
13445
13517
|
* @static
|
|
13446
|
-
* @param {
|
|
13518
|
+
* @param {ISubscriptionRecovered} message SubscriptionRecovered message or plain object to encode
|
|
13447
13519
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
13448
13520
|
* @returns {$protobuf.Writer} Writer
|
|
13449
13521
|
*/
|
|
13450
|
-
|
|
13522
|
+
SubscriptionRecovered.encode = function encode(message, writer) {
|
|
13451
13523
|
if (!writer)
|
|
13452
13524
|
writer = $Writer.create();
|
|
13525
|
+
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
13526
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.updatedOn);
|
|
13453
13527
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
13454
|
-
writer.uint32(/* id
|
|
13528
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.userId);
|
|
13529
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
13530
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.createdAt);
|
|
13531
|
+
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
13532
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.startsAt);
|
|
13533
|
+
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
13534
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.endsAt);
|
|
13535
|
+
if (message.voucherCode != null && message.hasOwnProperty("voucherCode"))
|
|
13536
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.voucherCode);
|
|
13537
|
+
if (message.platform != null && message.hasOwnProperty("platform"))
|
|
13538
|
+
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.platform);
|
|
13539
|
+
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
13540
|
+
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.autoRenewalStatus);
|
|
13541
|
+
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
13542
|
+
$root.subscription.Plan.encode(message.plan, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
13455
13543
|
return writer;
|
|
13456
13544
|
};
|
|
13457
13545
|
|
|
13458
13546
|
/**
|
|
13459
|
-
* Encodes the specified
|
|
13547
|
+
* Encodes the specified SubscriptionRecovered message, length delimited. Does not implicitly {@link SubscriptionRecovered.verify|verify} messages.
|
|
13460
13548
|
* @function encodeDelimited
|
|
13461
|
-
* @memberof
|
|
13549
|
+
* @memberof SubscriptionRecovered
|
|
13462
13550
|
* @static
|
|
13463
|
-
* @param {
|
|
13551
|
+
* @param {ISubscriptionRecovered} message SubscriptionRecovered message or plain object to encode
|
|
13464
13552
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
13465
13553
|
* @returns {$protobuf.Writer} Writer
|
|
13466
13554
|
*/
|
|
13467
|
-
|
|
13555
|
+
SubscriptionRecovered.encodeDelimited = function encodeDelimited(message, writer) {
|
|
13468
13556
|
return this.encode(message, writer).ldelim();
|
|
13469
13557
|
};
|
|
13470
13558
|
|
|
13471
13559
|
/**
|
|
13472
|
-
* Decodes a
|
|
13560
|
+
* Decodes a SubscriptionRecovered message from the specified reader or buffer.
|
|
13473
13561
|
* @function decode
|
|
13474
|
-
* @memberof
|
|
13562
|
+
* @memberof SubscriptionRecovered
|
|
13475
13563
|
* @static
|
|
13476
13564
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
13477
13565
|
* @param {number} [length] Message length if known beforehand
|
|
13478
|
-
* @returns {
|
|
13566
|
+
* @returns {SubscriptionRecovered} SubscriptionRecovered
|
|
13479
13567
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13480
13568
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13481
13569
|
*/
|
|
13482
|
-
|
|
13570
|
+
SubscriptionRecovered.decode = function decode(reader, length) {
|
|
13483
13571
|
if (!(reader instanceof $Reader))
|
|
13484
13572
|
reader = $Reader.create(reader);
|
|
13485
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
13573
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SubscriptionRecovered();
|
|
13486
13574
|
while (reader.pos < end) {
|
|
13487
13575
|
var tag = reader.uint32();
|
|
13488
13576
|
switch (tag >>> 3) {
|
|
13489
|
-
case
|
|
13577
|
+
case 2:
|
|
13578
|
+
message.updatedOn = reader.uint64();
|
|
13579
|
+
break;
|
|
13580
|
+
case 3:
|
|
13490
13581
|
message.userId = reader.string();
|
|
13491
13582
|
break;
|
|
13583
|
+
case 4:
|
|
13584
|
+
message.createdAt = reader.uint64();
|
|
13585
|
+
break;
|
|
13586
|
+
case 5:
|
|
13587
|
+
message.startsAt = reader.uint64();
|
|
13588
|
+
break;
|
|
13589
|
+
case 6:
|
|
13590
|
+
message.endsAt = reader.uint64();
|
|
13591
|
+
break;
|
|
13592
|
+
case 7:
|
|
13593
|
+
message.voucherCode = reader.string();
|
|
13594
|
+
break;
|
|
13595
|
+
case 8:
|
|
13596
|
+
message.platform = reader.int32();
|
|
13597
|
+
break;
|
|
13598
|
+
case 9:
|
|
13599
|
+
message.autoRenewalStatus = reader.int32();
|
|
13600
|
+
break;
|
|
13601
|
+
case 10:
|
|
13602
|
+
message.plan = $root.subscription.Plan.decode(reader, reader.uint32());
|
|
13603
|
+
break;
|
|
13492
13604
|
default:
|
|
13493
13605
|
reader.skipType(tag & 7);
|
|
13494
13606
|
break;
|
|
@@ -13498,87 +13610,1666 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
13498
13610
|
};
|
|
13499
13611
|
|
|
13500
13612
|
/**
|
|
13501
|
-
* Decodes a
|
|
13613
|
+
* Decodes a SubscriptionRecovered message from the specified reader or buffer, length delimited.
|
|
13502
13614
|
* @function decodeDelimited
|
|
13503
|
-
* @memberof
|
|
13615
|
+
* @memberof SubscriptionRecovered
|
|
13504
13616
|
* @static
|
|
13505
13617
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
13506
|
-
* @returns {
|
|
13618
|
+
* @returns {SubscriptionRecovered} SubscriptionRecovered
|
|
13507
13619
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13508
13620
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13509
13621
|
*/
|
|
13510
|
-
|
|
13622
|
+
SubscriptionRecovered.decodeDelimited = function decodeDelimited(reader) {
|
|
13511
13623
|
if (!(reader instanceof $Reader))
|
|
13512
13624
|
reader = new $Reader(reader);
|
|
13513
13625
|
return this.decode(reader, reader.uint32());
|
|
13514
13626
|
};
|
|
13515
13627
|
|
|
13516
13628
|
/**
|
|
13517
|
-
* Verifies a
|
|
13629
|
+
* Verifies a SubscriptionRecovered message.
|
|
13518
13630
|
* @function verify
|
|
13519
|
-
* @memberof
|
|
13631
|
+
* @memberof SubscriptionRecovered
|
|
13520
13632
|
* @static
|
|
13521
13633
|
* @param {Object.<string,*>} message Plain object to verify
|
|
13522
13634
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
13523
13635
|
*/
|
|
13524
|
-
|
|
13636
|
+
SubscriptionRecovered.verify = function verify(message) {
|
|
13525
13637
|
if (typeof message !== "object" || message === null)
|
|
13526
13638
|
return "object expected";
|
|
13639
|
+
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
13640
|
+
if (!$util.isInteger(message.updatedOn) && !(message.updatedOn && $util.isInteger(message.updatedOn.low) && $util.isInteger(message.updatedOn.high)))
|
|
13641
|
+
return "updatedOn: integer|Long expected";
|
|
13527
13642
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
13528
13643
|
if (!$util.isString(message.userId))
|
|
13529
13644
|
return "userId: string expected";
|
|
13645
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
13646
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
13647
|
+
return "createdAt: integer|Long expected";
|
|
13648
|
+
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
13649
|
+
if (!$util.isInteger(message.startsAt) && !(message.startsAt && $util.isInteger(message.startsAt.low) && $util.isInteger(message.startsAt.high)))
|
|
13650
|
+
return "startsAt: integer|Long expected";
|
|
13651
|
+
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
13652
|
+
if (!$util.isInteger(message.endsAt) && !(message.endsAt && $util.isInteger(message.endsAt.low) && $util.isInteger(message.endsAt.high)))
|
|
13653
|
+
return "endsAt: integer|Long expected";
|
|
13654
|
+
if (message.voucherCode != null && message.hasOwnProperty("voucherCode"))
|
|
13655
|
+
if (!$util.isString(message.voucherCode))
|
|
13656
|
+
return "voucherCode: string expected";
|
|
13657
|
+
if (message.platform != null && message.hasOwnProperty("platform"))
|
|
13658
|
+
switch (message.platform) {
|
|
13659
|
+
default:
|
|
13660
|
+
return "platform: enum value expected";
|
|
13661
|
+
case 0:
|
|
13662
|
+
case 1:
|
|
13663
|
+
case 2:
|
|
13664
|
+
case 3:
|
|
13665
|
+
case 4:
|
|
13666
|
+
case 5:
|
|
13667
|
+
break;
|
|
13668
|
+
}
|
|
13669
|
+
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
13670
|
+
switch (message.autoRenewalStatus) {
|
|
13671
|
+
default:
|
|
13672
|
+
return "autoRenewalStatus: enum value expected";
|
|
13673
|
+
case 0:
|
|
13674
|
+
case 1:
|
|
13675
|
+
case 2:
|
|
13676
|
+
break;
|
|
13677
|
+
}
|
|
13678
|
+
if (message.plan != null && message.hasOwnProperty("plan")) {
|
|
13679
|
+
var error = $root.subscription.Plan.verify(message.plan);
|
|
13680
|
+
if (error)
|
|
13681
|
+
return "plan." + error;
|
|
13682
|
+
}
|
|
13530
13683
|
return null;
|
|
13531
13684
|
};
|
|
13532
13685
|
|
|
13533
13686
|
/**
|
|
13534
|
-
* Creates a
|
|
13687
|
+
* Creates a SubscriptionRecovered message from a plain object. Also converts values to their respective internal types.
|
|
13535
13688
|
* @function fromObject
|
|
13536
|
-
* @memberof
|
|
13689
|
+
* @memberof SubscriptionRecovered
|
|
13537
13690
|
* @static
|
|
13538
13691
|
* @param {Object.<string,*>} object Plain object
|
|
13539
|
-
* @returns {
|
|
13692
|
+
* @returns {SubscriptionRecovered} SubscriptionRecovered
|
|
13540
13693
|
*/
|
|
13541
|
-
|
|
13542
|
-
if (object instanceof $root.
|
|
13694
|
+
SubscriptionRecovered.fromObject = function fromObject(object) {
|
|
13695
|
+
if (object instanceof $root.SubscriptionRecovered)
|
|
13543
13696
|
return object;
|
|
13544
|
-
var message = new $root.
|
|
13697
|
+
var message = new $root.SubscriptionRecovered();
|
|
13698
|
+
if (object.updatedOn != null)
|
|
13699
|
+
if ($util.Long)
|
|
13700
|
+
(message.updatedOn = $util.Long.fromValue(object.updatedOn)).unsigned = true;
|
|
13701
|
+
else if (typeof object.updatedOn === "string")
|
|
13702
|
+
message.updatedOn = parseInt(object.updatedOn, 10);
|
|
13703
|
+
else if (typeof object.updatedOn === "number")
|
|
13704
|
+
message.updatedOn = object.updatedOn;
|
|
13705
|
+
else if (typeof object.updatedOn === "object")
|
|
13706
|
+
message.updatedOn = new $util.LongBits(object.updatedOn.low >>> 0, object.updatedOn.high >>> 0).toNumber(true);
|
|
13545
13707
|
if (object.userId != null)
|
|
13546
13708
|
message.userId = String(object.userId);
|
|
13547
|
-
|
|
13548
|
-
|
|
13549
|
-
|
|
13550
|
-
|
|
13551
|
-
|
|
13552
|
-
|
|
13553
|
-
|
|
13554
|
-
|
|
13555
|
-
|
|
13556
|
-
|
|
13557
|
-
|
|
13558
|
-
|
|
13559
|
-
|
|
13560
|
-
|
|
13561
|
-
|
|
13562
|
-
|
|
13563
|
-
|
|
13564
|
-
|
|
13565
|
-
if (
|
|
13566
|
-
|
|
13567
|
-
|
|
13568
|
-
|
|
13569
|
-
|
|
13709
|
+
if (object.createdAt != null)
|
|
13710
|
+
if ($util.Long)
|
|
13711
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
13712
|
+
else if (typeof object.createdAt === "string")
|
|
13713
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
13714
|
+
else if (typeof object.createdAt === "number")
|
|
13715
|
+
message.createdAt = object.createdAt;
|
|
13716
|
+
else if (typeof object.createdAt === "object")
|
|
13717
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
13718
|
+
if (object.startsAt != null)
|
|
13719
|
+
if ($util.Long)
|
|
13720
|
+
(message.startsAt = $util.Long.fromValue(object.startsAt)).unsigned = true;
|
|
13721
|
+
else if (typeof object.startsAt === "string")
|
|
13722
|
+
message.startsAt = parseInt(object.startsAt, 10);
|
|
13723
|
+
else if (typeof object.startsAt === "number")
|
|
13724
|
+
message.startsAt = object.startsAt;
|
|
13725
|
+
else if (typeof object.startsAt === "object")
|
|
13726
|
+
message.startsAt = new $util.LongBits(object.startsAt.low >>> 0, object.startsAt.high >>> 0).toNumber(true);
|
|
13727
|
+
if (object.endsAt != null)
|
|
13728
|
+
if ($util.Long)
|
|
13729
|
+
(message.endsAt = $util.Long.fromValue(object.endsAt)).unsigned = true;
|
|
13730
|
+
else if (typeof object.endsAt === "string")
|
|
13731
|
+
message.endsAt = parseInt(object.endsAt, 10);
|
|
13732
|
+
else if (typeof object.endsAt === "number")
|
|
13733
|
+
message.endsAt = object.endsAt;
|
|
13734
|
+
else if (typeof object.endsAt === "object")
|
|
13735
|
+
message.endsAt = new $util.LongBits(object.endsAt.low >>> 0, object.endsAt.high >>> 0).toNumber(true);
|
|
13736
|
+
if (object.voucherCode != null)
|
|
13737
|
+
message.voucherCode = String(object.voucherCode);
|
|
13738
|
+
switch (object.platform) {
|
|
13739
|
+
case "PLATFORM_UNKNOWN":
|
|
13740
|
+
case 0:
|
|
13741
|
+
message.platform = 0;
|
|
13742
|
+
break;
|
|
13743
|
+
case "ITUNES":
|
|
13744
|
+
case 1:
|
|
13745
|
+
message.platform = 1;
|
|
13746
|
+
break;
|
|
13747
|
+
case "PLAY_STORE":
|
|
13748
|
+
case 2:
|
|
13749
|
+
message.platform = 2;
|
|
13750
|
+
break;
|
|
13751
|
+
case "ZUORA":
|
|
13752
|
+
case 3:
|
|
13753
|
+
message.platform = 3;
|
|
13754
|
+
break;
|
|
13755
|
+
case "HEADSPACE":
|
|
13756
|
+
case 4:
|
|
13757
|
+
message.platform = 4;
|
|
13758
|
+
break;
|
|
13759
|
+
case "SPOTIFY":
|
|
13760
|
+
case 5:
|
|
13761
|
+
message.platform = 5;
|
|
13762
|
+
break;
|
|
13763
|
+
}
|
|
13764
|
+
switch (object.autoRenewalStatus) {
|
|
13765
|
+
case "UNKNOWN_STATUS":
|
|
13766
|
+
case 0:
|
|
13767
|
+
message.autoRenewalStatus = 0;
|
|
13768
|
+
break;
|
|
13769
|
+
case "ENABLED":
|
|
13770
|
+
case 1:
|
|
13771
|
+
message.autoRenewalStatus = 1;
|
|
13772
|
+
break;
|
|
13773
|
+
case "DISABLED":
|
|
13774
|
+
case 2:
|
|
13775
|
+
message.autoRenewalStatus = 2;
|
|
13776
|
+
break;
|
|
13777
|
+
}
|
|
13778
|
+
if (object.plan != null) {
|
|
13779
|
+
if (typeof object.plan !== "object")
|
|
13780
|
+
throw TypeError(".SubscriptionRecovered.plan: object expected");
|
|
13781
|
+
message.plan = $root.subscription.Plan.fromObject(object.plan);
|
|
13782
|
+
}
|
|
13783
|
+
return message;
|
|
13784
|
+
};
|
|
13785
|
+
|
|
13786
|
+
/**
|
|
13787
|
+
* Creates a plain object from a SubscriptionRecovered message. Also converts values to other types if specified.
|
|
13788
|
+
* @function toObject
|
|
13789
|
+
* @memberof SubscriptionRecovered
|
|
13790
|
+
* @static
|
|
13791
|
+
* @param {SubscriptionRecovered} message SubscriptionRecovered
|
|
13792
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
13793
|
+
* @returns {Object.<string,*>} Plain object
|
|
13794
|
+
*/
|
|
13795
|
+
SubscriptionRecovered.toObject = function toObject(message, options) {
|
|
13796
|
+
if (!options)
|
|
13797
|
+
options = {};
|
|
13798
|
+
var object = {};
|
|
13799
|
+
if (options.defaults) {
|
|
13800
|
+
if ($util.Long) {
|
|
13801
|
+
var long = new $util.Long(0, 0, true);
|
|
13802
|
+
object.updatedOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
13803
|
+
} else
|
|
13804
|
+
object.updatedOn = options.longs === String ? "0" : 0;
|
|
13805
|
+
object.userId = "";
|
|
13806
|
+
if ($util.Long) {
|
|
13807
|
+
var long = new $util.Long(0, 0, true);
|
|
13808
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
13809
|
+
} else
|
|
13810
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
13811
|
+
if ($util.Long) {
|
|
13812
|
+
var long = new $util.Long(0, 0, true);
|
|
13813
|
+
object.startsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
13814
|
+
} else
|
|
13815
|
+
object.startsAt = options.longs === String ? "0" : 0;
|
|
13816
|
+
if ($util.Long) {
|
|
13817
|
+
var long = new $util.Long(0, 0, true);
|
|
13818
|
+
object.endsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
13819
|
+
} else
|
|
13820
|
+
object.endsAt = options.longs === String ? "0" : 0;
|
|
13821
|
+
object.voucherCode = "";
|
|
13822
|
+
object.platform = options.enums === String ? "PLATFORM_UNKNOWN" : 0;
|
|
13823
|
+
object.autoRenewalStatus = options.enums === String ? "UNKNOWN_STATUS" : 0;
|
|
13824
|
+
object.plan = null;
|
|
13825
|
+
}
|
|
13826
|
+
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
13827
|
+
if (typeof message.updatedOn === "number")
|
|
13828
|
+
object.updatedOn = options.longs === String ? String(message.updatedOn) : message.updatedOn;
|
|
13829
|
+
else
|
|
13830
|
+
object.updatedOn = options.longs === String ? $util.Long.prototype.toString.call(message.updatedOn) : options.longs === Number ? new $util.LongBits(message.updatedOn.low >>> 0, message.updatedOn.high >>> 0).toNumber(true) : message.updatedOn;
|
|
13831
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
13832
|
+
object.userId = message.userId;
|
|
13833
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
13834
|
+
if (typeof message.createdAt === "number")
|
|
13835
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
13836
|
+
else
|
|
13837
|
+
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
13838
|
+
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
13839
|
+
if (typeof message.startsAt === "number")
|
|
13840
|
+
object.startsAt = options.longs === String ? String(message.startsAt) : message.startsAt;
|
|
13841
|
+
else
|
|
13842
|
+
object.startsAt = options.longs === String ? $util.Long.prototype.toString.call(message.startsAt) : options.longs === Number ? new $util.LongBits(message.startsAt.low >>> 0, message.startsAt.high >>> 0).toNumber(true) : message.startsAt;
|
|
13843
|
+
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
13844
|
+
if (typeof message.endsAt === "number")
|
|
13845
|
+
object.endsAt = options.longs === String ? String(message.endsAt) : message.endsAt;
|
|
13846
|
+
else
|
|
13847
|
+
object.endsAt = options.longs === String ? $util.Long.prototype.toString.call(message.endsAt) : options.longs === Number ? new $util.LongBits(message.endsAt.low >>> 0, message.endsAt.high >>> 0).toNumber(true) : message.endsAt;
|
|
13848
|
+
if (message.voucherCode != null && message.hasOwnProperty("voucherCode"))
|
|
13849
|
+
object.voucherCode = message.voucherCode;
|
|
13850
|
+
if (message.platform != null && message.hasOwnProperty("platform"))
|
|
13851
|
+
object.platform = options.enums === String ? $root.subscription.SubscriptionPlatform[message.platform] : message.platform;
|
|
13852
|
+
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
13853
|
+
object.autoRenewalStatus = options.enums === String ? $root.subscription.AutoRenewalStatus[message.autoRenewalStatus] : message.autoRenewalStatus;
|
|
13854
|
+
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
13855
|
+
object.plan = $root.subscription.Plan.toObject(message.plan, options);
|
|
13856
|
+
return object;
|
|
13857
|
+
};
|
|
13858
|
+
|
|
13859
|
+
/**
|
|
13860
|
+
* Converts this SubscriptionRecovered to JSON.
|
|
13861
|
+
* @function toJSON
|
|
13862
|
+
* @memberof SubscriptionRecovered
|
|
13863
|
+
* @instance
|
|
13864
|
+
* @returns {Object.<string,*>} JSON object
|
|
13865
|
+
*/
|
|
13866
|
+
SubscriptionRecovered.prototype.toJSON = function toJSON() {
|
|
13867
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
13868
|
+
};
|
|
13869
|
+
|
|
13870
|
+
return SubscriptionRecovered;
|
|
13871
|
+
})();
|
|
13872
|
+
|
|
13873
|
+
$root.UserDoubleOptInEmailRequested = (function() {
|
|
13874
|
+
|
|
13875
|
+
/**
|
|
13876
|
+
* Properties of a UserDoubleOptInEmailRequested.
|
|
13877
|
+
* @exports IUserDoubleOptInEmailRequested
|
|
13878
|
+
* @interface IUserDoubleOptInEmailRequested
|
|
13879
|
+
* @property {string|null} [userId] UserDoubleOptInEmailRequested userId
|
|
13880
|
+
*/
|
|
13881
|
+
|
|
13882
|
+
/**
|
|
13883
|
+
* Constructs a new UserDoubleOptInEmailRequested.
|
|
13884
|
+
* @exports UserDoubleOptInEmailRequested
|
|
13885
|
+
* @classdesc Represents a UserDoubleOptInEmailRequested.
|
|
13886
|
+
* @implements IUserDoubleOptInEmailRequested
|
|
13887
|
+
* @constructor
|
|
13888
|
+
* @param {IUserDoubleOptInEmailRequested=} [properties] Properties to set
|
|
13889
|
+
*/
|
|
13890
|
+
function UserDoubleOptInEmailRequested(properties) {
|
|
13891
|
+
if (properties)
|
|
13892
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
13893
|
+
if (properties[keys[i]] != null)
|
|
13894
|
+
this[keys[i]] = properties[keys[i]];
|
|
13895
|
+
}
|
|
13896
|
+
|
|
13897
|
+
/**
|
|
13898
|
+
* UserDoubleOptInEmailRequested userId.
|
|
13899
|
+
* @member {string} userId
|
|
13900
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
13901
|
+
* @instance
|
|
13902
|
+
*/
|
|
13903
|
+
UserDoubleOptInEmailRequested.prototype.userId = "";
|
|
13904
|
+
|
|
13905
|
+
/**
|
|
13906
|
+
* Creates a new UserDoubleOptInEmailRequested instance using the specified properties.
|
|
13907
|
+
* @function create
|
|
13908
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
13909
|
+
* @static
|
|
13910
|
+
* @param {IUserDoubleOptInEmailRequested=} [properties] Properties to set
|
|
13911
|
+
* @returns {UserDoubleOptInEmailRequested} UserDoubleOptInEmailRequested instance
|
|
13912
|
+
*/
|
|
13913
|
+
UserDoubleOptInEmailRequested.create = function create(properties) {
|
|
13914
|
+
return new UserDoubleOptInEmailRequested(properties);
|
|
13915
|
+
};
|
|
13916
|
+
|
|
13917
|
+
/**
|
|
13918
|
+
* Encodes the specified UserDoubleOptInEmailRequested message. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
|
|
13919
|
+
* @function encode
|
|
13920
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
13921
|
+
* @static
|
|
13922
|
+
* @param {IUserDoubleOptInEmailRequested} message UserDoubleOptInEmailRequested message or plain object to encode
|
|
13923
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
13924
|
+
* @returns {$protobuf.Writer} Writer
|
|
13925
|
+
*/
|
|
13926
|
+
UserDoubleOptInEmailRequested.encode = function encode(message, writer) {
|
|
13927
|
+
if (!writer)
|
|
13928
|
+
writer = $Writer.create();
|
|
13929
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
13930
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
13931
|
+
return writer;
|
|
13932
|
+
};
|
|
13933
|
+
|
|
13934
|
+
/**
|
|
13935
|
+
* Encodes the specified UserDoubleOptInEmailRequested message, length delimited. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
|
|
13936
|
+
* @function encodeDelimited
|
|
13937
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
13938
|
+
* @static
|
|
13939
|
+
* @param {IUserDoubleOptInEmailRequested} message UserDoubleOptInEmailRequested message or plain object to encode
|
|
13940
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
13941
|
+
* @returns {$protobuf.Writer} Writer
|
|
13942
|
+
*/
|
|
13943
|
+
UserDoubleOptInEmailRequested.encodeDelimited = function encodeDelimited(message, writer) {
|
|
13944
|
+
return this.encode(message, writer).ldelim();
|
|
13945
|
+
};
|
|
13946
|
+
|
|
13947
|
+
/**
|
|
13948
|
+
* Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer.
|
|
13949
|
+
* @function decode
|
|
13950
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
13951
|
+
* @static
|
|
13952
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
13953
|
+
* @param {number} [length] Message length if known beforehand
|
|
13954
|
+
* @returns {UserDoubleOptInEmailRequested} UserDoubleOptInEmailRequested
|
|
13955
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13956
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13957
|
+
*/
|
|
13958
|
+
UserDoubleOptInEmailRequested.decode = function decode(reader, length) {
|
|
13959
|
+
if (!(reader instanceof $Reader))
|
|
13960
|
+
reader = $Reader.create(reader);
|
|
13961
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDoubleOptInEmailRequested();
|
|
13962
|
+
while (reader.pos < end) {
|
|
13963
|
+
var tag = reader.uint32();
|
|
13964
|
+
switch (tag >>> 3) {
|
|
13965
|
+
case 1:
|
|
13966
|
+
message.userId = reader.string();
|
|
13967
|
+
break;
|
|
13968
|
+
default:
|
|
13969
|
+
reader.skipType(tag & 7);
|
|
13970
|
+
break;
|
|
13971
|
+
}
|
|
13972
|
+
}
|
|
13973
|
+
return message;
|
|
13974
|
+
};
|
|
13975
|
+
|
|
13976
|
+
/**
|
|
13977
|
+
* Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer, length delimited.
|
|
13978
|
+
* @function decodeDelimited
|
|
13979
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
13980
|
+
* @static
|
|
13981
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
13982
|
+
* @returns {UserDoubleOptInEmailRequested} UserDoubleOptInEmailRequested
|
|
13983
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13984
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13985
|
+
*/
|
|
13986
|
+
UserDoubleOptInEmailRequested.decodeDelimited = function decodeDelimited(reader) {
|
|
13987
|
+
if (!(reader instanceof $Reader))
|
|
13988
|
+
reader = new $Reader(reader);
|
|
13989
|
+
return this.decode(reader, reader.uint32());
|
|
13990
|
+
};
|
|
13991
|
+
|
|
13992
|
+
/**
|
|
13993
|
+
* Verifies a UserDoubleOptInEmailRequested message.
|
|
13994
|
+
* @function verify
|
|
13995
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
13996
|
+
* @static
|
|
13997
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
13998
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
13999
|
+
*/
|
|
14000
|
+
UserDoubleOptInEmailRequested.verify = function verify(message) {
|
|
14001
|
+
if (typeof message !== "object" || message === null)
|
|
14002
|
+
return "object expected";
|
|
14003
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
14004
|
+
if (!$util.isString(message.userId))
|
|
14005
|
+
return "userId: string expected";
|
|
14006
|
+
return null;
|
|
14007
|
+
};
|
|
14008
|
+
|
|
14009
|
+
/**
|
|
14010
|
+
* Creates a UserDoubleOptInEmailRequested message from a plain object. Also converts values to their respective internal types.
|
|
14011
|
+
* @function fromObject
|
|
14012
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
14013
|
+
* @static
|
|
14014
|
+
* @param {Object.<string,*>} object Plain object
|
|
14015
|
+
* @returns {UserDoubleOptInEmailRequested} UserDoubleOptInEmailRequested
|
|
14016
|
+
*/
|
|
14017
|
+
UserDoubleOptInEmailRequested.fromObject = function fromObject(object) {
|
|
14018
|
+
if (object instanceof $root.UserDoubleOptInEmailRequested)
|
|
14019
|
+
return object;
|
|
14020
|
+
var message = new $root.UserDoubleOptInEmailRequested();
|
|
14021
|
+
if (object.userId != null)
|
|
14022
|
+
message.userId = String(object.userId);
|
|
14023
|
+
return message;
|
|
14024
|
+
};
|
|
14025
|
+
|
|
14026
|
+
/**
|
|
14027
|
+
* Creates a plain object from a UserDoubleOptInEmailRequested message. Also converts values to other types if specified.
|
|
14028
|
+
* @function toObject
|
|
14029
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
14030
|
+
* @static
|
|
14031
|
+
* @param {UserDoubleOptInEmailRequested} message UserDoubleOptInEmailRequested
|
|
14032
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14033
|
+
* @returns {Object.<string,*>} Plain object
|
|
14034
|
+
*/
|
|
14035
|
+
UserDoubleOptInEmailRequested.toObject = function toObject(message, options) {
|
|
14036
|
+
if (!options)
|
|
14037
|
+
options = {};
|
|
14038
|
+
var object = {};
|
|
14039
|
+
if (options.defaults)
|
|
14040
|
+
object.userId = "";
|
|
14041
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
14042
|
+
object.userId = message.userId;
|
|
14043
|
+
return object;
|
|
14044
|
+
};
|
|
14045
|
+
|
|
14046
|
+
/**
|
|
14047
|
+
* Converts this UserDoubleOptInEmailRequested to JSON.
|
|
14048
|
+
* @function toJSON
|
|
14049
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
14050
|
+
* @instance
|
|
14051
|
+
* @returns {Object.<string,*>} JSON object
|
|
14052
|
+
*/
|
|
14053
|
+
UserDoubleOptInEmailRequested.prototype.toJSON = function toJSON() {
|
|
14054
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
14055
|
+
};
|
|
14056
|
+
|
|
14057
|
+
return UserDoubleOptInEmailRequested;
|
|
14058
|
+
})();
|
|
14059
|
+
|
|
14060
|
+
$root.UserEmailUpdated = (function() {
|
|
14061
|
+
|
|
14062
|
+
/**
|
|
14063
|
+
* Properties of a UserEmailUpdated.
|
|
14064
|
+
* @exports IUserEmailUpdated
|
|
14065
|
+
* @interface IUserEmailUpdated
|
|
14066
|
+
* @property {string|null} [userId] UserEmailUpdated userId
|
|
14067
|
+
* @property {string|null} [oldEmail] UserEmailUpdated oldEmail
|
|
14068
|
+
* @property {number|Long|null} [timestamp] UserEmailUpdated timestamp
|
|
14069
|
+
*/
|
|
14070
|
+
|
|
14071
|
+
/**
|
|
14072
|
+
* Constructs a new UserEmailUpdated.
|
|
14073
|
+
* @exports UserEmailUpdated
|
|
14074
|
+
* @classdesc Represents a UserEmailUpdated.
|
|
14075
|
+
* @implements IUserEmailUpdated
|
|
14076
|
+
* @constructor
|
|
14077
|
+
* @param {IUserEmailUpdated=} [properties] Properties to set
|
|
14078
|
+
*/
|
|
14079
|
+
function UserEmailUpdated(properties) {
|
|
14080
|
+
if (properties)
|
|
14081
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14082
|
+
if (properties[keys[i]] != null)
|
|
14083
|
+
this[keys[i]] = properties[keys[i]];
|
|
14084
|
+
}
|
|
14085
|
+
|
|
14086
|
+
/**
|
|
14087
|
+
* UserEmailUpdated userId.
|
|
14088
|
+
* @member {string} userId
|
|
14089
|
+
* @memberof UserEmailUpdated
|
|
14090
|
+
* @instance
|
|
14091
|
+
*/
|
|
14092
|
+
UserEmailUpdated.prototype.userId = "";
|
|
14093
|
+
|
|
14094
|
+
/**
|
|
14095
|
+
* UserEmailUpdated oldEmail.
|
|
14096
|
+
* @member {string} oldEmail
|
|
14097
|
+
* @memberof UserEmailUpdated
|
|
14098
|
+
* @instance
|
|
14099
|
+
*/
|
|
14100
|
+
UserEmailUpdated.prototype.oldEmail = "";
|
|
14101
|
+
|
|
14102
|
+
/**
|
|
14103
|
+
* UserEmailUpdated timestamp.
|
|
14104
|
+
* @member {number|Long} timestamp
|
|
14105
|
+
* @memberof UserEmailUpdated
|
|
14106
|
+
* @instance
|
|
14107
|
+
*/
|
|
14108
|
+
UserEmailUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
14109
|
+
|
|
14110
|
+
/**
|
|
14111
|
+
* Creates a new UserEmailUpdated instance using the specified properties.
|
|
14112
|
+
* @function create
|
|
14113
|
+
* @memberof UserEmailUpdated
|
|
14114
|
+
* @static
|
|
14115
|
+
* @param {IUserEmailUpdated=} [properties] Properties to set
|
|
14116
|
+
* @returns {UserEmailUpdated} UserEmailUpdated instance
|
|
14117
|
+
*/
|
|
14118
|
+
UserEmailUpdated.create = function create(properties) {
|
|
14119
|
+
return new UserEmailUpdated(properties);
|
|
14120
|
+
};
|
|
14121
|
+
|
|
14122
|
+
/**
|
|
14123
|
+
* Encodes the specified UserEmailUpdated message. Does not implicitly {@link UserEmailUpdated.verify|verify} messages.
|
|
14124
|
+
* @function encode
|
|
14125
|
+
* @memberof UserEmailUpdated
|
|
14126
|
+
* @static
|
|
14127
|
+
* @param {IUserEmailUpdated} message UserEmailUpdated message or plain object to encode
|
|
14128
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14129
|
+
* @returns {$protobuf.Writer} Writer
|
|
14130
|
+
*/
|
|
14131
|
+
UserEmailUpdated.encode = function encode(message, writer) {
|
|
14132
|
+
if (!writer)
|
|
14133
|
+
writer = $Writer.create();
|
|
14134
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
14135
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
14136
|
+
if (message.oldEmail != null && message.hasOwnProperty("oldEmail"))
|
|
14137
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.oldEmail);
|
|
14138
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
14139
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
14140
|
+
return writer;
|
|
14141
|
+
};
|
|
14142
|
+
|
|
14143
|
+
/**
|
|
14144
|
+
* Encodes the specified UserEmailUpdated message, length delimited. Does not implicitly {@link UserEmailUpdated.verify|verify} messages.
|
|
14145
|
+
* @function encodeDelimited
|
|
14146
|
+
* @memberof UserEmailUpdated
|
|
14147
|
+
* @static
|
|
14148
|
+
* @param {IUserEmailUpdated} message UserEmailUpdated message or plain object to encode
|
|
14149
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14150
|
+
* @returns {$protobuf.Writer} Writer
|
|
14151
|
+
*/
|
|
14152
|
+
UserEmailUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14153
|
+
return this.encode(message, writer).ldelim();
|
|
14154
|
+
};
|
|
14155
|
+
|
|
14156
|
+
/**
|
|
14157
|
+
* Decodes a UserEmailUpdated message from the specified reader or buffer.
|
|
14158
|
+
* @function decode
|
|
14159
|
+
* @memberof UserEmailUpdated
|
|
14160
|
+
* @static
|
|
14161
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14162
|
+
* @param {number} [length] Message length if known beforehand
|
|
14163
|
+
* @returns {UserEmailUpdated} UserEmailUpdated
|
|
14164
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14165
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14166
|
+
*/
|
|
14167
|
+
UserEmailUpdated.decode = function decode(reader, length) {
|
|
14168
|
+
if (!(reader instanceof $Reader))
|
|
14169
|
+
reader = $Reader.create(reader);
|
|
14170
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserEmailUpdated();
|
|
14171
|
+
while (reader.pos < end) {
|
|
14172
|
+
var tag = reader.uint32();
|
|
14173
|
+
switch (tag >>> 3) {
|
|
14174
|
+
case 1:
|
|
14175
|
+
message.userId = reader.string();
|
|
14176
|
+
break;
|
|
14177
|
+
case 2:
|
|
14178
|
+
message.oldEmail = reader.string();
|
|
14179
|
+
break;
|
|
14180
|
+
case 3:
|
|
14181
|
+
message.timestamp = reader.uint64();
|
|
14182
|
+
break;
|
|
14183
|
+
default:
|
|
14184
|
+
reader.skipType(tag & 7);
|
|
14185
|
+
break;
|
|
14186
|
+
}
|
|
14187
|
+
}
|
|
14188
|
+
return message;
|
|
14189
|
+
};
|
|
14190
|
+
|
|
14191
|
+
/**
|
|
14192
|
+
* Decodes a UserEmailUpdated message from the specified reader or buffer, length delimited.
|
|
14193
|
+
* @function decodeDelimited
|
|
14194
|
+
* @memberof UserEmailUpdated
|
|
14195
|
+
* @static
|
|
14196
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14197
|
+
* @returns {UserEmailUpdated} UserEmailUpdated
|
|
14198
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14199
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14200
|
+
*/
|
|
14201
|
+
UserEmailUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
14202
|
+
if (!(reader instanceof $Reader))
|
|
14203
|
+
reader = new $Reader(reader);
|
|
14204
|
+
return this.decode(reader, reader.uint32());
|
|
14205
|
+
};
|
|
14206
|
+
|
|
14207
|
+
/**
|
|
14208
|
+
* Verifies a UserEmailUpdated message.
|
|
14209
|
+
* @function verify
|
|
14210
|
+
* @memberof UserEmailUpdated
|
|
14211
|
+
* @static
|
|
14212
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14213
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14214
|
+
*/
|
|
14215
|
+
UserEmailUpdated.verify = function verify(message) {
|
|
14216
|
+
if (typeof message !== "object" || message === null)
|
|
14217
|
+
return "object expected";
|
|
14218
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
14219
|
+
if (!$util.isString(message.userId))
|
|
14220
|
+
return "userId: string expected";
|
|
14221
|
+
if (message.oldEmail != null && message.hasOwnProperty("oldEmail"))
|
|
14222
|
+
if (!$util.isString(message.oldEmail))
|
|
14223
|
+
return "oldEmail: string expected";
|
|
14224
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
14225
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
14226
|
+
return "timestamp: integer|Long expected";
|
|
14227
|
+
return null;
|
|
14228
|
+
};
|
|
14229
|
+
|
|
14230
|
+
/**
|
|
14231
|
+
* Creates a UserEmailUpdated message from a plain object. Also converts values to their respective internal types.
|
|
14232
|
+
* @function fromObject
|
|
14233
|
+
* @memberof UserEmailUpdated
|
|
14234
|
+
* @static
|
|
14235
|
+
* @param {Object.<string,*>} object Plain object
|
|
14236
|
+
* @returns {UserEmailUpdated} UserEmailUpdated
|
|
14237
|
+
*/
|
|
14238
|
+
UserEmailUpdated.fromObject = function fromObject(object) {
|
|
14239
|
+
if (object instanceof $root.UserEmailUpdated)
|
|
14240
|
+
return object;
|
|
14241
|
+
var message = new $root.UserEmailUpdated();
|
|
14242
|
+
if (object.userId != null)
|
|
14243
|
+
message.userId = String(object.userId);
|
|
14244
|
+
if (object.oldEmail != null)
|
|
14245
|
+
message.oldEmail = String(object.oldEmail);
|
|
14246
|
+
if (object.timestamp != null)
|
|
14247
|
+
if ($util.Long)
|
|
14248
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
14249
|
+
else if (typeof object.timestamp === "string")
|
|
14250
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
14251
|
+
else if (typeof object.timestamp === "number")
|
|
14252
|
+
message.timestamp = object.timestamp;
|
|
14253
|
+
else if (typeof object.timestamp === "object")
|
|
14254
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
14255
|
+
return message;
|
|
14256
|
+
};
|
|
14257
|
+
|
|
14258
|
+
/**
|
|
14259
|
+
* Creates a plain object from a UserEmailUpdated message. Also converts values to other types if specified.
|
|
14260
|
+
* @function toObject
|
|
14261
|
+
* @memberof UserEmailUpdated
|
|
14262
|
+
* @static
|
|
14263
|
+
* @param {UserEmailUpdated} message UserEmailUpdated
|
|
14264
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14265
|
+
* @returns {Object.<string,*>} Plain object
|
|
14266
|
+
*/
|
|
14267
|
+
UserEmailUpdated.toObject = function toObject(message, options) {
|
|
14268
|
+
if (!options)
|
|
14269
|
+
options = {};
|
|
14270
|
+
var object = {};
|
|
14271
|
+
if (options.defaults) {
|
|
14272
|
+
object.userId = "";
|
|
14273
|
+
object.oldEmail = "";
|
|
14274
|
+
if ($util.Long) {
|
|
14275
|
+
var long = new $util.Long(0, 0, true);
|
|
14276
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14277
|
+
} else
|
|
14278
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
14279
|
+
}
|
|
14280
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
14281
|
+
object.userId = message.userId;
|
|
14282
|
+
if (message.oldEmail != null && message.hasOwnProperty("oldEmail"))
|
|
14283
|
+
object.oldEmail = message.oldEmail;
|
|
14284
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
14285
|
+
if (typeof message.timestamp === "number")
|
|
14286
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
14287
|
+
else
|
|
14288
|
+
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;
|
|
14289
|
+
return object;
|
|
14290
|
+
};
|
|
14291
|
+
|
|
14292
|
+
/**
|
|
14293
|
+
* Converts this UserEmailUpdated to JSON.
|
|
14294
|
+
* @function toJSON
|
|
14295
|
+
* @memberof UserEmailUpdated
|
|
14296
|
+
* @instance
|
|
14297
|
+
* @returns {Object.<string,*>} JSON object
|
|
14298
|
+
*/
|
|
14299
|
+
UserEmailUpdated.prototype.toJSON = function toJSON() {
|
|
14300
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
14301
|
+
};
|
|
14302
|
+
|
|
14303
|
+
return UserEmailUpdated;
|
|
14304
|
+
})();
|
|
14305
|
+
|
|
14306
|
+
$root.UserEmailVerificationRequested = (function() {
|
|
14307
|
+
|
|
14308
|
+
/**
|
|
14309
|
+
* Properties of a UserEmailVerificationRequested.
|
|
14310
|
+
* @exports IUserEmailVerificationRequested
|
|
14311
|
+
* @interface IUserEmailVerificationRequested
|
|
14312
|
+
* @property {string|null} [userId] UserEmailVerificationRequested userId
|
|
14313
|
+
* @property {string|null} [verificationCode] UserEmailVerificationRequested verificationCode
|
|
14314
|
+
* @property {number|Long|null} [timestamp] UserEmailVerificationRequested timestamp
|
|
14315
|
+
* @property {boolean|null} [optIn] UserEmailVerificationRequested optIn
|
|
14316
|
+
*/
|
|
14317
|
+
|
|
14318
|
+
/**
|
|
14319
|
+
* Constructs a new UserEmailVerificationRequested.
|
|
14320
|
+
* @exports UserEmailVerificationRequested
|
|
14321
|
+
* @classdesc Represents a UserEmailVerificationRequested.
|
|
14322
|
+
* @implements IUserEmailVerificationRequested
|
|
14323
|
+
* @constructor
|
|
14324
|
+
* @param {IUserEmailVerificationRequested=} [properties] Properties to set
|
|
14325
|
+
*/
|
|
14326
|
+
function UserEmailVerificationRequested(properties) {
|
|
14327
|
+
if (properties)
|
|
14328
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14329
|
+
if (properties[keys[i]] != null)
|
|
14330
|
+
this[keys[i]] = properties[keys[i]];
|
|
14331
|
+
}
|
|
14332
|
+
|
|
14333
|
+
/**
|
|
14334
|
+
* UserEmailVerificationRequested userId.
|
|
14335
|
+
* @member {string} userId
|
|
14336
|
+
* @memberof UserEmailVerificationRequested
|
|
14337
|
+
* @instance
|
|
14338
|
+
*/
|
|
14339
|
+
UserEmailVerificationRequested.prototype.userId = "";
|
|
14340
|
+
|
|
14341
|
+
/**
|
|
14342
|
+
* UserEmailVerificationRequested verificationCode.
|
|
14343
|
+
* @member {string} verificationCode
|
|
14344
|
+
* @memberof UserEmailVerificationRequested
|
|
14345
|
+
* @instance
|
|
14346
|
+
*/
|
|
14347
|
+
UserEmailVerificationRequested.prototype.verificationCode = "";
|
|
14348
|
+
|
|
14349
|
+
/**
|
|
14350
|
+
* UserEmailVerificationRequested timestamp.
|
|
14351
|
+
* @member {number|Long} timestamp
|
|
14352
|
+
* @memberof UserEmailVerificationRequested
|
|
14353
|
+
* @instance
|
|
14354
|
+
*/
|
|
14355
|
+
UserEmailVerificationRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
14356
|
+
|
|
14357
|
+
/**
|
|
14358
|
+
* UserEmailVerificationRequested optIn.
|
|
14359
|
+
* @member {boolean} optIn
|
|
14360
|
+
* @memberof UserEmailVerificationRequested
|
|
14361
|
+
* @instance
|
|
14362
|
+
*/
|
|
14363
|
+
UserEmailVerificationRequested.prototype.optIn = false;
|
|
14364
|
+
|
|
14365
|
+
/**
|
|
14366
|
+
* Creates a new UserEmailVerificationRequested instance using the specified properties.
|
|
14367
|
+
* @function create
|
|
14368
|
+
* @memberof UserEmailVerificationRequested
|
|
14369
|
+
* @static
|
|
14370
|
+
* @param {IUserEmailVerificationRequested=} [properties] Properties to set
|
|
14371
|
+
* @returns {UserEmailVerificationRequested} UserEmailVerificationRequested instance
|
|
14372
|
+
*/
|
|
14373
|
+
UserEmailVerificationRequested.create = function create(properties) {
|
|
14374
|
+
return new UserEmailVerificationRequested(properties);
|
|
14375
|
+
};
|
|
14376
|
+
|
|
14377
|
+
/**
|
|
14378
|
+
* Encodes the specified UserEmailVerificationRequested message. Does not implicitly {@link UserEmailVerificationRequested.verify|verify} messages.
|
|
14379
|
+
* @function encode
|
|
14380
|
+
* @memberof UserEmailVerificationRequested
|
|
14381
|
+
* @static
|
|
14382
|
+
* @param {IUserEmailVerificationRequested} message UserEmailVerificationRequested message or plain object to encode
|
|
14383
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14384
|
+
* @returns {$protobuf.Writer} Writer
|
|
14385
|
+
*/
|
|
14386
|
+
UserEmailVerificationRequested.encode = function encode(message, writer) {
|
|
14387
|
+
if (!writer)
|
|
14388
|
+
writer = $Writer.create();
|
|
14389
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
14390
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
14391
|
+
if (message.verificationCode != null && message.hasOwnProperty("verificationCode"))
|
|
14392
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.verificationCode);
|
|
14393
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
14394
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
14395
|
+
if (message.optIn != null && message.hasOwnProperty("optIn"))
|
|
14396
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.optIn);
|
|
14397
|
+
return writer;
|
|
14398
|
+
};
|
|
14399
|
+
|
|
14400
|
+
/**
|
|
14401
|
+
* Encodes the specified UserEmailVerificationRequested message, length delimited. Does not implicitly {@link UserEmailVerificationRequested.verify|verify} messages.
|
|
14402
|
+
* @function encodeDelimited
|
|
14403
|
+
* @memberof UserEmailVerificationRequested
|
|
14404
|
+
* @static
|
|
14405
|
+
* @param {IUserEmailVerificationRequested} message UserEmailVerificationRequested message or plain object to encode
|
|
14406
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14407
|
+
* @returns {$protobuf.Writer} Writer
|
|
14408
|
+
*/
|
|
14409
|
+
UserEmailVerificationRequested.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14410
|
+
return this.encode(message, writer).ldelim();
|
|
14411
|
+
};
|
|
14412
|
+
|
|
14413
|
+
/**
|
|
14414
|
+
* Decodes a UserEmailVerificationRequested message from the specified reader or buffer.
|
|
14415
|
+
* @function decode
|
|
14416
|
+
* @memberof UserEmailVerificationRequested
|
|
14417
|
+
* @static
|
|
14418
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14419
|
+
* @param {number} [length] Message length if known beforehand
|
|
14420
|
+
* @returns {UserEmailVerificationRequested} UserEmailVerificationRequested
|
|
14421
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14422
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14423
|
+
*/
|
|
14424
|
+
UserEmailVerificationRequested.decode = function decode(reader, length) {
|
|
14425
|
+
if (!(reader instanceof $Reader))
|
|
14426
|
+
reader = $Reader.create(reader);
|
|
14427
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserEmailVerificationRequested();
|
|
14428
|
+
while (reader.pos < end) {
|
|
14429
|
+
var tag = reader.uint32();
|
|
14430
|
+
switch (tag >>> 3) {
|
|
14431
|
+
case 1:
|
|
14432
|
+
message.userId = reader.string();
|
|
14433
|
+
break;
|
|
14434
|
+
case 2:
|
|
14435
|
+
message.verificationCode = reader.string();
|
|
14436
|
+
break;
|
|
14437
|
+
case 3:
|
|
14438
|
+
message.timestamp = reader.uint64();
|
|
14439
|
+
break;
|
|
14440
|
+
case 4:
|
|
14441
|
+
message.optIn = reader.bool();
|
|
14442
|
+
break;
|
|
14443
|
+
default:
|
|
14444
|
+
reader.skipType(tag & 7);
|
|
14445
|
+
break;
|
|
14446
|
+
}
|
|
14447
|
+
}
|
|
14448
|
+
return message;
|
|
14449
|
+
};
|
|
14450
|
+
|
|
14451
|
+
/**
|
|
14452
|
+
* Decodes a UserEmailVerificationRequested message from the specified reader or buffer, length delimited.
|
|
14453
|
+
* @function decodeDelimited
|
|
14454
|
+
* @memberof UserEmailVerificationRequested
|
|
14455
|
+
* @static
|
|
14456
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14457
|
+
* @returns {UserEmailVerificationRequested} UserEmailVerificationRequested
|
|
14458
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14459
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14460
|
+
*/
|
|
14461
|
+
UserEmailVerificationRequested.decodeDelimited = function decodeDelimited(reader) {
|
|
14462
|
+
if (!(reader instanceof $Reader))
|
|
14463
|
+
reader = new $Reader(reader);
|
|
14464
|
+
return this.decode(reader, reader.uint32());
|
|
14465
|
+
};
|
|
14466
|
+
|
|
14467
|
+
/**
|
|
14468
|
+
* Verifies a UserEmailVerificationRequested message.
|
|
14469
|
+
* @function verify
|
|
14470
|
+
* @memberof UserEmailVerificationRequested
|
|
14471
|
+
* @static
|
|
14472
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14473
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14474
|
+
*/
|
|
14475
|
+
UserEmailVerificationRequested.verify = function verify(message) {
|
|
14476
|
+
if (typeof message !== "object" || message === null)
|
|
14477
|
+
return "object expected";
|
|
14478
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
14479
|
+
if (!$util.isString(message.userId))
|
|
14480
|
+
return "userId: string expected";
|
|
14481
|
+
if (message.verificationCode != null && message.hasOwnProperty("verificationCode"))
|
|
14482
|
+
if (!$util.isString(message.verificationCode))
|
|
14483
|
+
return "verificationCode: string expected";
|
|
14484
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
14485
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
14486
|
+
return "timestamp: integer|Long expected";
|
|
14487
|
+
if (message.optIn != null && message.hasOwnProperty("optIn"))
|
|
14488
|
+
if (typeof message.optIn !== "boolean")
|
|
14489
|
+
return "optIn: boolean expected";
|
|
14490
|
+
return null;
|
|
14491
|
+
};
|
|
14492
|
+
|
|
14493
|
+
/**
|
|
14494
|
+
* Creates a UserEmailVerificationRequested message from a plain object. Also converts values to their respective internal types.
|
|
14495
|
+
* @function fromObject
|
|
14496
|
+
* @memberof UserEmailVerificationRequested
|
|
14497
|
+
* @static
|
|
14498
|
+
* @param {Object.<string,*>} object Plain object
|
|
14499
|
+
* @returns {UserEmailVerificationRequested} UserEmailVerificationRequested
|
|
14500
|
+
*/
|
|
14501
|
+
UserEmailVerificationRequested.fromObject = function fromObject(object) {
|
|
14502
|
+
if (object instanceof $root.UserEmailVerificationRequested)
|
|
14503
|
+
return object;
|
|
14504
|
+
var message = new $root.UserEmailVerificationRequested();
|
|
14505
|
+
if (object.userId != null)
|
|
14506
|
+
message.userId = String(object.userId);
|
|
14507
|
+
if (object.verificationCode != null)
|
|
14508
|
+
message.verificationCode = String(object.verificationCode);
|
|
14509
|
+
if (object.timestamp != null)
|
|
14510
|
+
if ($util.Long)
|
|
14511
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
14512
|
+
else if (typeof object.timestamp === "string")
|
|
14513
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
14514
|
+
else if (typeof object.timestamp === "number")
|
|
14515
|
+
message.timestamp = object.timestamp;
|
|
14516
|
+
else if (typeof object.timestamp === "object")
|
|
14517
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
14518
|
+
if (object.optIn != null)
|
|
14519
|
+
message.optIn = Boolean(object.optIn);
|
|
14520
|
+
return message;
|
|
14521
|
+
};
|
|
14522
|
+
|
|
14523
|
+
/**
|
|
14524
|
+
* Creates a plain object from a UserEmailVerificationRequested message. Also converts values to other types if specified.
|
|
14525
|
+
* @function toObject
|
|
14526
|
+
* @memberof UserEmailVerificationRequested
|
|
14527
|
+
* @static
|
|
14528
|
+
* @param {UserEmailVerificationRequested} message UserEmailVerificationRequested
|
|
14529
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14530
|
+
* @returns {Object.<string,*>} Plain object
|
|
14531
|
+
*/
|
|
14532
|
+
UserEmailVerificationRequested.toObject = function toObject(message, options) {
|
|
14533
|
+
if (!options)
|
|
14534
|
+
options = {};
|
|
14535
|
+
var object = {};
|
|
14536
|
+
if (options.defaults) {
|
|
14537
|
+
object.userId = "";
|
|
14538
|
+
object.verificationCode = "";
|
|
14539
|
+
if ($util.Long) {
|
|
14540
|
+
var long = new $util.Long(0, 0, true);
|
|
14541
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14542
|
+
} else
|
|
14543
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
14544
|
+
object.optIn = false;
|
|
14545
|
+
}
|
|
14546
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
14547
|
+
object.userId = message.userId;
|
|
14548
|
+
if (message.verificationCode != null && message.hasOwnProperty("verificationCode"))
|
|
14549
|
+
object.verificationCode = message.verificationCode;
|
|
14550
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
14551
|
+
if (typeof message.timestamp === "number")
|
|
14552
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
14553
|
+
else
|
|
14554
|
+
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;
|
|
14555
|
+
if (message.optIn != null && message.hasOwnProperty("optIn"))
|
|
14556
|
+
object.optIn = message.optIn;
|
|
14557
|
+
return object;
|
|
14558
|
+
};
|
|
14559
|
+
|
|
14560
|
+
/**
|
|
14561
|
+
* Converts this UserEmailVerificationRequested to JSON.
|
|
14562
|
+
* @function toJSON
|
|
14563
|
+
* @memberof UserEmailVerificationRequested
|
|
14564
|
+
* @instance
|
|
14565
|
+
* @returns {Object.<string,*>} JSON object
|
|
14566
|
+
*/
|
|
14567
|
+
UserEmailVerificationRequested.prototype.toJSON = function toJSON() {
|
|
14568
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
14569
|
+
};
|
|
14570
|
+
|
|
14571
|
+
return UserEmailVerificationRequested;
|
|
14572
|
+
})();
|
|
14573
|
+
|
|
14574
|
+
$root.UserPasswordResetRequested = (function() {
|
|
14575
|
+
|
|
14576
|
+
/**
|
|
14577
|
+
* Properties of a UserPasswordResetRequested.
|
|
14578
|
+
* @exports IUserPasswordResetRequested
|
|
14579
|
+
* @interface IUserPasswordResetRequested
|
|
14580
|
+
* @property {string|null} [userId] UserPasswordResetRequested userId
|
|
14581
|
+
* @property {string|null} [resetCode] UserPasswordResetRequested resetCode
|
|
14582
|
+
* @property {number|Long|null} [timestamp] UserPasswordResetRequested timestamp
|
|
14583
|
+
* @property {string|null} [email] UserPasswordResetRequested email
|
|
14584
|
+
*/
|
|
14585
|
+
|
|
14586
|
+
/**
|
|
14587
|
+
* Constructs a new UserPasswordResetRequested.
|
|
14588
|
+
* @exports UserPasswordResetRequested
|
|
14589
|
+
* @classdesc Represents a UserPasswordResetRequested.
|
|
14590
|
+
* @implements IUserPasswordResetRequested
|
|
14591
|
+
* @constructor
|
|
14592
|
+
* @param {IUserPasswordResetRequested=} [properties] Properties to set
|
|
14593
|
+
*/
|
|
14594
|
+
function UserPasswordResetRequested(properties) {
|
|
14595
|
+
if (properties)
|
|
14596
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14597
|
+
if (properties[keys[i]] != null)
|
|
14598
|
+
this[keys[i]] = properties[keys[i]];
|
|
14599
|
+
}
|
|
14600
|
+
|
|
14601
|
+
/**
|
|
14602
|
+
* UserPasswordResetRequested userId.
|
|
14603
|
+
* @member {string} userId
|
|
14604
|
+
* @memberof UserPasswordResetRequested
|
|
14605
|
+
* @instance
|
|
14606
|
+
*/
|
|
14607
|
+
UserPasswordResetRequested.prototype.userId = "";
|
|
14608
|
+
|
|
14609
|
+
/**
|
|
14610
|
+
* UserPasswordResetRequested resetCode.
|
|
14611
|
+
* @member {string} resetCode
|
|
14612
|
+
* @memberof UserPasswordResetRequested
|
|
14613
|
+
* @instance
|
|
14614
|
+
*/
|
|
14615
|
+
UserPasswordResetRequested.prototype.resetCode = "";
|
|
14616
|
+
|
|
14617
|
+
/**
|
|
14618
|
+
* UserPasswordResetRequested timestamp.
|
|
14619
|
+
* @member {number|Long} timestamp
|
|
14620
|
+
* @memberof UserPasswordResetRequested
|
|
14621
|
+
* @instance
|
|
14622
|
+
*/
|
|
14623
|
+
UserPasswordResetRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
14624
|
+
|
|
14625
|
+
/**
|
|
14626
|
+
* UserPasswordResetRequested email.
|
|
14627
|
+
* @member {string} email
|
|
14628
|
+
* @memberof UserPasswordResetRequested
|
|
14629
|
+
* @instance
|
|
14630
|
+
*/
|
|
14631
|
+
UserPasswordResetRequested.prototype.email = "";
|
|
14632
|
+
|
|
14633
|
+
/**
|
|
14634
|
+
* Creates a new UserPasswordResetRequested instance using the specified properties.
|
|
14635
|
+
* @function create
|
|
14636
|
+
* @memberof UserPasswordResetRequested
|
|
14637
|
+
* @static
|
|
14638
|
+
* @param {IUserPasswordResetRequested=} [properties] Properties to set
|
|
14639
|
+
* @returns {UserPasswordResetRequested} UserPasswordResetRequested instance
|
|
14640
|
+
*/
|
|
14641
|
+
UserPasswordResetRequested.create = function create(properties) {
|
|
14642
|
+
return new UserPasswordResetRequested(properties);
|
|
14643
|
+
};
|
|
14644
|
+
|
|
14645
|
+
/**
|
|
14646
|
+
* Encodes the specified UserPasswordResetRequested message. Does not implicitly {@link UserPasswordResetRequested.verify|verify} messages.
|
|
14647
|
+
* @function encode
|
|
14648
|
+
* @memberof UserPasswordResetRequested
|
|
14649
|
+
* @static
|
|
14650
|
+
* @param {IUserPasswordResetRequested} message UserPasswordResetRequested message or plain object to encode
|
|
14651
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14652
|
+
* @returns {$protobuf.Writer} Writer
|
|
14653
|
+
*/
|
|
14654
|
+
UserPasswordResetRequested.encode = function encode(message, writer) {
|
|
14655
|
+
if (!writer)
|
|
14656
|
+
writer = $Writer.create();
|
|
14657
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
14658
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
14659
|
+
if (message.resetCode != null && message.hasOwnProperty("resetCode"))
|
|
14660
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.resetCode);
|
|
14661
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
14662
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
14663
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
14664
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.email);
|
|
14665
|
+
return writer;
|
|
14666
|
+
};
|
|
14667
|
+
|
|
14668
|
+
/**
|
|
14669
|
+
* Encodes the specified UserPasswordResetRequested message, length delimited. Does not implicitly {@link UserPasswordResetRequested.verify|verify} messages.
|
|
14670
|
+
* @function encodeDelimited
|
|
14671
|
+
* @memberof UserPasswordResetRequested
|
|
14672
|
+
* @static
|
|
14673
|
+
* @param {IUserPasswordResetRequested} message UserPasswordResetRequested message or plain object to encode
|
|
14674
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14675
|
+
* @returns {$protobuf.Writer} Writer
|
|
14676
|
+
*/
|
|
14677
|
+
UserPasswordResetRequested.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14678
|
+
return this.encode(message, writer).ldelim();
|
|
14679
|
+
};
|
|
14680
|
+
|
|
14681
|
+
/**
|
|
14682
|
+
* Decodes a UserPasswordResetRequested message from the specified reader or buffer.
|
|
14683
|
+
* @function decode
|
|
14684
|
+
* @memberof UserPasswordResetRequested
|
|
14685
|
+
* @static
|
|
14686
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14687
|
+
* @param {number} [length] Message length if known beforehand
|
|
14688
|
+
* @returns {UserPasswordResetRequested} UserPasswordResetRequested
|
|
14689
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14690
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14691
|
+
*/
|
|
14692
|
+
UserPasswordResetRequested.decode = function decode(reader, length) {
|
|
14693
|
+
if (!(reader instanceof $Reader))
|
|
14694
|
+
reader = $Reader.create(reader);
|
|
14695
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserPasswordResetRequested();
|
|
14696
|
+
while (reader.pos < end) {
|
|
14697
|
+
var tag = reader.uint32();
|
|
14698
|
+
switch (tag >>> 3) {
|
|
14699
|
+
case 1:
|
|
14700
|
+
message.userId = reader.string();
|
|
14701
|
+
break;
|
|
14702
|
+
case 2:
|
|
14703
|
+
message.resetCode = reader.string();
|
|
14704
|
+
break;
|
|
14705
|
+
case 3:
|
|
14706
|
+
message.timestamp = reader.uint64();
|
|
14707
|
+
break;
|
|
14708
|
+
case 4:
|
|
14709
|
+
message.email = reader.string();
|
|
14710
|
+
break;
|
|
14711
|
+
default:
|
|
14712
|
+
reader.skipType(tag & 7);
|
|
14713
|
+
break;
|
|
14714
|
+
}
|
|
14715
|
+
}
|
|
14716
|
+
return message;
|
|
14717
|
+
};
|
|
14718
|
+
|
|
14719
|
+
/**
|
|
14720
|
+
* Decodes a UserPasswordResetRequested message from the specified reader or buffer, length delimited.
|
|
14721
|
+
* @function decodeDelimited
|
|
14722
|
+
* @memberof UserPasswordResetRequested
|
|
14723
|
+
* @static
|
|
14724
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14725
|
+
* @returns {UserPasswordResetRequested} UserPasswordResetRequested
|
|
14726
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14727
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14728
|
+
*/
|
|
14729
|
+
UserPasswordResetRequested.decodeDelimited = function decodeDelimited(reader) {
|
|
14730
|
+
if (!(reader instanceof $Reader))
|
|
14731
|
+
reader = new $Reader(reader);
|
|
14732
|
+
return this.decode(reader, reader.uint32());
|
|
14733
|
+
};
|
|
14734
|
+
|
|
14735
|
+
/**
|
|
14736
|
+
* Verifies a UserPasswordResetRequested message.
|
|
14737
|
+
* @function verify
|
|
14738
|
+
* @memberof UserPasswordResetRequested
|
|
14739
|
+
* @static
|
|
14740
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14741
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14742
|
+
*/
|
|
14743
|
+
UserPasswordResetRequested.verify = function verify(message) {
|
|
14744
|
+
if (typeof message !== "object" || message === null)
|
|
14745
|
+
return "object expected";
|
|
14746
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
14747
|
+
if (!$util.isString(message.userId))
|
|
14748
|
+
return "userId: string expected";
|
|
14749
|
+
if (message.resetCode != null && message.hasOwnProperty("resetCode"))
|
|
14750
|
+
if (!$util.isString(message.resetCode))
|
|
14751
|
+
return "resetCode: string expected";
|
|
14752
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
14753
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
14754
|
+
return "timestamp: integer|Long expected";
|
|
14755
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
14756
|
+
if (!$util.isString(message.email))
|
|
14757
|
+
return "email: string expected";
|
|
14758
|
+
return null;
|
|
14759
|
+
};
|
|
14760
|
+
|
|
14761
|
+
/**
|
|
14762
|
+
* Creates a UserPasswordResetRequested message from a plain object. Also converts values to their respective internal types.
|
|
14763
|
+
* @function fromObject
|
|
14764
|
+
* @memberof UserPasswordResetRequested
|
|
14765
|
+
* @static
|
|
14766
|
+
* @param {Object.<string,*>} object Plain object
|
|
14767
|
+
* @returns {UserPasswordResetRequested} UserPasswordResetRequested
|
|
14768
|
+
*/
|
|
14769
|
+
UserPasswordResetRequested.fromObject = function fromObject(object) {
|
|
14770
|
+
if (object instanceof $root.UserPasswordResetRequested)
|
|
14771
|
+
return object;
|
|
14772
|
+
var message = new $root.UserPasswordResetRequested();
|
|
14773
|
+
if (object.userId != null)
|
|
14774
|
+
message.userId = String(object.userId);
|
|
14775
|
+
if (object.resetCode != null)
|
|
14776
|
+
message.resetCode = String(object.resetCode);
|
|
14777
|
+
if (object.timestamp != null)
|
|
14778
|
+
if ($util.Long)
|
|
14779
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
14780
|
+
else if (typeof object.timestamp === "string")
|
|
14781
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
14782
|
+
else if (typeof object.timestamp === "number")
|
|
14783
|
+
message.timestamp = object.timestamp;
|
|
14784
|
+
else if (typeof object.timestamp === "object")
|
|
14785
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
14786
|
+
if (object.email != null)
|
|
14787
|
+
message.email = String(object.email);
|
|
14788
|
+
return message;
|
|
14789
|
+
};
|
|
14790
|
+
|
|
14791
|
+
/**
|
|
14792
|
+
* Creates a plain object from a UserPasswordResetRequested message. Also converts values to other types if specified.
|
|
14793
|
+
* @function toObject
|
|
14794
|
+
* @memberof UserPasswordResetRequested
|
|
14795
|
+
* @static
|
|
14796
|
+
* @param {UserPasswordResetRequested} message UserPasswordResetRequested
|
|
14797
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14798
|
+
* @returns {Object.<string,*>} Plain object
|
|
14799
|
+
*/
|
|
14800
|
+
UserPasswordResetRequested.toObject = function toObject(message, options) {
|
|
14801
|
+
if (!options)
|
|
14802
|
+
options = {};
|
|
14803
|
+
var object = {};
|
|
14804
|
+
if (options.defaults) {
|
|
14805
|
+
object.userId = "";
|
|
14806
|
+
object.resetCode = "";
|
|
14807
|
+
if ($util.Long) {
|
|
14808
|
+
var long = new $util.Long(0, 0, true);
|
|
14809
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14810
|
+
} else
|
|
14811
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
14812
|
+
object.email = "";
|
|
14813
|
+
}
|
|
14814
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
14815
|
+
object.userId = message.userId;
|
|
14816
|
+
if (message.resetCode != null && message.hasOwnProperty("resetCode"))
|
|
14817
|
+
object.resetCode = message.resetCode;
|
|
14818
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
14819
|
+
if (typeof message.timestamp === "number")
|
|
14820
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
14821
|
+
else
|
|
14822
|
+
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;
|
|
14823
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
14824
|
+
object.email = message.email;
|
|
14825
|
+
return object;
|
|
14826
|
+
};
|
|
14827
|
+
|
|
14828
|
+
/**
|
|
14829
|
+
* Converts this UserPasswordResetRequested to JSON.
|
|
14830
|
+
* @function toJSON
|
|
14831
|
+
* @memberof UserPasswordResetRequested
|
|
14832
|
+
* @instance
|
|
14833
|
+
* @returns {Object.<string,*>} JSON object
|
|
14834
|
+
*/
|
|
14835
|
+
UserPasswordResetRequested.prototype.toJSON = function toJSON() {
|
|
14836
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
14837
|
+
};
|
|
14838
|
+
|
|
14839
|
+
return UserPasswordResetRequested;
|
|
14840
|
+
})();
|
|
14841
|
+
|
|
14842
|
+
$root.UserPasswordUpdated = (function() {
|
|
14843
|
+
|
|
14844
|
+
/**
|
|
14845
|
+
* Properties of a UserPasswordUpdated.
|
|
14846
|
+
* @exports IUserPasswordUpdated
|
|
14847
|
+
* @interface IUserPasswordUpdated
|
|
14848
|
+
* @property {string|null} [userId] UserPasswordUpdated userId
|
|
14849
|
+
* @property {number|Long|null} [updatedOn] UserPasswordUpdated updatedOn
|
|
14850
|
+
* @property {string|null} [email] UserPasswordUpdated email
|
|
14851
|
+
*/
|
|
14852
|
+
|
|
14853
|
+
/**
|
|
14854
|
+
* Constructs a new UserPasswordUpdated.
|
|
14855
|
+
* @exports UserPasswordUpdated
|
|
14856
|
+
* @classdesc Represents a UserPasswordUpdated.
|
|
14857
|
+
* @implements IUserPasswordUpdated
|
|
14858
|
+
* @constructor
|
|
14859
|
+
* @param {IUserPasswordUpdated=} [properties] Properties to set
|
|
14860
|
+
*/
|
|
14861
|
+
function UserPasswordUpdated(properties) {
|
|
14862
|
+
if (properties)
|
|
14863
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14864
|
+
if (properties[keys[i]] != null)
|
|
14865
|
+
this[keys[i]] = properties[keys[i]];
|
|
14866
|
+
}
|
|
14867
|
+
|
|
14868
|
+
/**
|
|
14869
|
+
* UserPasswordUpdated userId.
|
|
14870
|
+
* @member {string} userId
|
|
14871
|
+
* @memberof UserPasswordUpdated
|
|
14872
|
+
* @instance
|
|
14873
|
+
*/
|
|
14874
|
+
UserPasswordUpdated.prototype.userId = "";
|
|
14875
|
+
|
|
14876
|
+
/**
|
|
14877
|
+
* UserPasswordUpdated updatedOn.
|
|
14878
|
+
* @member {number|Long} updatedOn
|
|
14879
|
+
* @memberof UserPasswordUpdated
|
|
14880
|
+
* @instance
|
|
14881
|
+
*/
|
|
14882
|
+
UserPasswordUpdated.prototype.updatedOn = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
14883
|
+
|
|
14884
|
+
/**
|
|
14885
|
+
* UserPasswordUpdated email.
|
|
14886
|
+
* @member {string} email
|
|
14887
|
+
* @memberof UserPasswordUpdated
|
|
14888
|
+
* @instance
|
|
14889
|
+
*/
|
|
14890
|
+
UserPasswordUpdated.prototype.email = "";
|
|
14891
|
+
|
|
14892
|
+
/**
|
|
14893
|
+
* Creates a new UserPasswordUpdated instance using the specified properties.
|
|
14894
|
+
* @function create
|
|
14895
|
+
* @memberof UserPasswordUpdated
|
|
14896
|
+
* @static
|
|
14897
|
+
* @param {IUserPasswordUpdated=} [properties] Properties to set
|
|
14898
|
+
* @returns {UserPasswordUpdated} UserPasswordUpdated instance
|
|
14899
|
+
*/
|
|
14900
|
+
UserPasswordUpdated.create = function create(properties) {
|
|
14901
|
+
return new UserPasswordUpdated(properties);
|
|
14902
|
+
};
|
|
14903
|
+
|
|
14904
|
+
/**
|
|
14905
|
+
* Encodes the specified UserPasswordUpdated message. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
|
|
14906
|
+
* @function encode
|
|
14907
|
+
* @memberof UserPasswordUpdated
|
|
14908
|
+
* @static
|
|
14909
|
+
* @param {IUserPasswordUpdated} message UserPasswordUpdated message or plain object to encode
|
|
14910
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14911
|
+
* @returns {$protobuf.Writer} Writer
|
|
14912
|
+
*/
|
|
14913
|
+
UserPasswordUpdated.encode = function encode(message, writer) {
|
|
14914
|
+
if (!writer)
|
|
14915
|
+
writer = $Writer.create();
|
|
14916
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
14917
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
14918
|
+
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
14919
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.updatedOn);
|
|
14920
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
14921
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.email);
|
|
14922
|
+
return writer;
|
|
14923
|
+
};
|
|
14924
|
+
|
|
14925
|
+
/**
|
|
14926
|
+
* Encodes the specified UserPasswordUpdated message, length delimited. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
|
|
14927
|
+
* @function encodeDelimited
|
|
14928
|
+
* @memberof UserPasswordUpdated
|
|
14929
|
+
* @static
|
|
14930
|
+
* @param {IUserPasswordUpdated} message UserPasswordUpdated message or plain object to encode
|
|
14931
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14932
|
+
* @returns {$protobuf.Writer} Writer
|
|
14933
|
+
*/
|
|
14934
|
+
UserPasswordUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14935
|
+
return this.encode(message, writer).ldelim();
|
|
14936
|
+
};
|
|
14937
|
+
|
|
13570
14938
|
/**
|
|
13571
|
-
*
|
|
14939
|
+
* Decodes a UserPasswordUpdated message from the specified reader or buffer.
|
|
14940
|
+
* @function decode
|
|
14941
|
+
* @memberof UserPasswordUpdated
|
|
14942
|
+
* @static
|
|
14943
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14944
|
+
* @param {number} [length] Message length if known beforehand
|
|
14945
|
+
* @returns {UserPasswordUpdated} UserPasswordUpdated
|
|
14946
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14947
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14948
|
+
*/
|
|
14949
|
+
UserPasswordUpdated.decode = function decode(reader, length) {
|
|
14950
|
+
if (!(reader instanceof $Reader))
|
|
14951
|
+
reader = $Reader.create(reader);
|
|
14952
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserPasswordUpdated();
|
|
14953
|
+
while (reader.pos < end) {
|
|
14954
|
+
var tag = reader.uint32();
|
|
14955
|
+
switch (tag >>> 3) {
|
|
14956
|
+
case 1:
|
|
14957
|
+
message.userId = reader.string();
|
|
14958
|
+
break;
|
|
14959
|
+
case 2:
|
|
14960
|
+
message.updatedOn = reader.uint64();
|
|
14961
|
+
break;
|
|
14962
|
+
case 3:
|
|
14963
|
+
message.email = reader.string();
|
|
14964
|
+
break;
|
|
14965
|
+
default:
|
|
14966
|
+
reader.skipType(tag & 7);
|
|
14967
|
+
break;
|
|
14968
|
+
}
|
|
14969
|
+
}
|
|
14970
|
+
return message;
|
|
14971
|
+
};
|
|
14972
|
+
|
|
14973
|
+
/**
|
|
14974
|
+
* Decodes a UserPasswordUpdated message from the specified reader or buffer, length delimited.
|
|
14975
|
+
* @function decodeDelimited
|
|
14976
|
+
* @memberof UserPasswordUpdated
|
|
14977
|
+
* @static
|
|
14978
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14979
|
+
* @returns {UserPasswordUpdated} UserPasswordUpdated
|
|
14980
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14981
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14982
|
+
*/
|
|
14983
|
+
UserPasswordUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
14984
|
+
if (!(reader instanceof $Reader))
|
|
14985
|
+
reader = new $Reader(reader);
|
|
14986
|
+
return this.decode(reader, reader.uint32());
|
|
14987
|
+
};
|
|
14988
|
+
|
|
14989
|
+
/**
|
|
14990
|
+
* Verifies a UserPasswordUpdated message.
|
|
14991
|
+
* @function verify
|
|
14992
|
+
* @memberof UserPasswordUpdated
|
|
14993
|
+
* @static
|
|
14994
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14995
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14996
|
+
*/
|
|
14997
|
+
UserPasswordUpdated.verify = function verify(message) {
|
|
14998
|
+
if (typeof message !== "object" || message === null)
|
|
14999
|
+
return "object expected";
|
|
15000
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
15001
|
+
if (!$util.isString(message.userId))
|
|
15002
|
+
return "userId: string expected";
|
|
15003
|
+
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
15004
|
+
if (!$util.isInteger(message.updatedOn) && !(message.updatedOn && $util.isInteger(message.updatedOn.low) && $util.isInteger(message.updatedOn.high)))
|
|
15005
|
+
return "updatedOn: integer|Long expected";
|
|
15006
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
15007
|
+
if (!$util.isString(message.email))
|
|
15008
|
+
return "email: string expected";
|
|
15009
|
+
return null;
|
|
15010
|
+
};
|
|
15011
|
+
|
|
15012
|
+
/**
|
|
15013
|
+
* Creates a UserPasswordUpdated message from a plain object. Also converts values to their respective internal types.
|
|
15014
|
+
* @function fromObject
|
|
15015
|
+
* @memberof UserPasswordUpdated
|
|
15016
|
+
* @static
|
|
15017
|
+
* @param {Object.<string,*>} object Plain object
|
|
15018
|
+
* @returns {UserPasswordUpdated} UserPasswordUpdated
|
|
15019
|
+
*/
|
|
15020
|
+
UserPasswordUpdated.fromObject = function fromObject(object) {
|
|
15021
|
+
if (object instanceof $root.UserPasswordUpdated)
|
|
15022
|
+
return object;
|
|
15023
|
+
var message = new $root.UserPasswordUpdated();
|
|
15024
|
+
if (object.userId != null)
|
|
15025
|
+
message.userId = String(object.userId);
|
|
15026
|
+
if (object.updatedOn != null)
|
|
15027
|
+
if ($util.Long)
|
|
15028
|
+
(message.updatedOn = $util.Long.fromValue(object.updatedOn)).unsigned = true;
|
|
15029
|
+
else if (typeof object.updatedOn === "string")
|
|
15030
|
+
message.updatedOn = parseInt(object.updatedOn, 10);
|
|
15031
|
+
else if (typeof object.updatedOn === "number")
|
|
15032
|
+
message.updatedOn = object.updatedOn;
|
|
15033
|
+
else if (typeof object.updatedOn === "object")
|
|
15034
|
+
message.updatedOn = new $util.LongBits(object.updatedOn.low >>> 0, object.updatedOn.high >>> 0).toNumber(true);
|
|
15035
|
+
if (object.email != null)
|
|
15036
|
+
message.email = String(object.email);
|
|
15037
|
+
return message;
|
|
15038
|
+
};
|
|
15039
|
+
|
|
15040
|
+
/**
|
|
15041
|
+
* Creates a plain object from a UserPasswordUpdated message. Also converts values to other types if specified.
|
|
15042
|
+
* @function toObject
|
|
15043
|
+
* @memberof UserPasswordUpdated
|
|
15044
|
+
* @static
|
|
15045
|
+
* @param {UserPasswordUpdated} message UserPasswordUpdated
|
|
15046
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15047
|
+
* @returns {Object.<string,*>} Plain object
|
|
15048
|
+
*/
|
|
15049
|
+
UserPasswordUpdated.toObject = function toObject(message, options) {
|
|
15050
|
+
if (!options)
|
|
15051
|
+
options = {};
|
|
15052
|
+
var object = {};
|
|
15053
|
+
if (options.defaults) {
|
|
15054
|
+
object.userId = "";
|
|
15055
|
+
if ($util.Long) {
|
|
15056
|
+
var long = new $util.Long(0, 0, true);
|
|
15057
|
+
object.updatedOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
15058
|
+
} else
|
|
15059
|
+
object.updatedOn = options.longs === String ? "0" : 0;
|
|
15060
|
+
object.email = "";
|
|
15061
|
+
}
|
|
15062
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
15063
|
+
object.userId = message.userId;
|
|
15064
|
+
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
15065
|
+
if (typeof message.updatedOn === "number")
|
|
15066
|
+
object.updatedOn = options.longs === String ? String(message.updatedOn) : message.updatedOn;
|
|
15067
|
+
else
|
|
15068
|
+
object.updatedOn = options.longs === String ? $util.Long.prototype.toString.call(message.updatedOn) : options.longs === Number ? new $util.LongBits(message.updatedOn.low >>> 0, message.updatedOn.high >>> 0).toNumber(true) : message.updatedOn;
|
|
15069
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
15070
|
+
object.email = message.email;
|
|
15071
|
+
return object;
|
|
15072
|
+
};
|
|
15073
|
+
|
|
15074
|
+
/**
|
|
15075
|
+
* Converts this UserPasswordUpdated to JSON.
|
|
13572
15076
|
* @function toJSON
|
|
13573
|
-
* @memberof
|
|
15077
|
+
* @memberof UserPasswordUpdated
|
|
13574
15078
|
* @instance
|
|
13575
15079
|
* @returns {Object.<string,*>} JSON object
|
|
13576
15080
|
*/
|
|
13577
|
-
|
|
15081
|
+
UserPasswordUpdated.prototype.toJSON = function toJSON() {
|
|
13578
15082
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
13579
15083
|
};
|
|
13580
15084
|
|
|
13581
|
-
return
|
|
15085
|
+
return UserPasswordUpdated;
|
|
15086
|
+
})();
|
|
15087
|
+
|
|
15088
|
+
$root.UserEmailMarketingOptedIn = (function() {
|
|
15089
|
+
|
|
15090
|
+
/**
|
|
15091
|
+
* Properties of a UserEmailMarketingOptedIn.
|
|
15092
|
+
* @exports IUserEmailMarketingOptedIn
|
|
15093
|
+
* @interface IUserEmailMarketingOptedIn
|
|
15094
|
+
* @property {string|null} [userId] UserEmailMarketingOptedIn userId
|
|
15095
|
+
*/
|
|
15096
|
+
|
|
15097
|
+
/**
|
|
15098
|
+
* Constructs a new UserEmailMarketingOptedIn.
|
|
15099
|
+
* @exports UserEmailMarketingOptedIn
|
|
15100
|
+
* @classdesc Represents a UserEmailMarketingOptedIn.
|
|
15101
|
+
* @implements IUserEmailMarketingOptedIn
|
|
15102
|
+
* @constructor
|
|
15103
|
+
* @param {IUserEmailMarketingOptedIn=} [properties] Properties to set
|
|
15104
|
+
*/
|
|
15105
|
+
function UserEmailMarketingOptedIn(properties) {
|
|
15106
|
+
if (properties)
|
|
15107
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15108
|
+
if (properties[keys[i]] != null)
|
|
15109
|
+
this[keys[i]] = properties[keys[i]];
|
|
15110
|
+
}
|
|
15111
|
+
|
|
15112
|
+
/**
|
|
15113
|
+
* UserEmailMarketingOptedIn userId.
|
|
15114
|
+
* @member {string} userId
|
|
15115
|
+
* @memberof UserEmailMarketingOptedIn
|
|
15116
|
+
* @instance
|
|
15117
|
+
*/
|
|
15118
|
+
UserEmailMarketingOptedIn.prototype.userId = "";
|
|
15119
|
+
|
|
15120
|
+
/**
|
|
15121
|
+
* Creates a new UserEmailMarketingOptedIn instance using the specified properties.
|
|
15122
|
+
* @function create
|
|
15123
|
+
* @memberof UserEmailMarketingOptedIn
|
|
15124
|
+
* @static
|
|
15125
|
+
* @param {IUserEmailMarketingOptedIn=} [properties] Properties to set
|
|
15126
|
+
* @returns {UserEmailMarketingOptedIn} UserEmailMarketingOptedIn instance
|
|
15127
|
+
*/
|
|
15128
|
+
UserEmailMarketingOptedIn.create = function create(properties) {
|
|
15129
|
+
return new UserEmailMarketingOptedIn(properties);
|
|
15130
|
+
};
|
|
15131
|
+
|
|
15132
|
+
/**
|
|
15133
|
+
* Encodes the specified UserEmailMarketingOptedIn message. Does not implicitly {@link UserEmailMarketingOptedIn.verify|verify} messages.
|
|
15134
|
+
* @function encode
|
|
15135
|
+
* @memberof UserEmailMarketingOptedIn
|
|
15136
|
+
* @static
|
|
15137
|
+
* @param {IUserEmailMarketingOptedIn} message UserEmailMarketingOptedIn message or plain object to encode
|
|
15138
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15139
|
+
* @returns {$protobuf.Writer} Writer
|
|
15140
|
+
*/
|
|
15141
|
+
UserEmailMarketingOptedIn.encode = function encode(message, writer) {
|
|
15142
|
+
if (!writer)
|
|
15143
|
+
writer = $Writer.create();
|
|
15144
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
15145
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
15146
|
+
return writer;
|
|
15147
|
+
};
|
|
15148
|
+
|
|
15149
|
+
/**
|
|
15150
|
+
* Encodes the specified UserEmailMarketingOptedIn message, length delimited. Does not implicitly {@link UserEmailMarketingOptedIn.verify|verify} messages.
|
|
15151
|
+
* @function encodeDelimited
|
|
15152
|
+
* @memberof UserEmailMarketingOptedIn
|
|
15153
|
+
* @static
|
|
15154
|
+
* @param {IUserEmailMarketingOptedIn} message UserEmailMarketingOptedIn message or plain object to encode
|
|
15155
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15156
|
+
* @returns {$protobuf.Writer} Writer
|
|
15157
|
+
*/
|
|
15158
|
+
UserEmailMarketingOptedIn.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15159
|
+
return this.encode(message, writer).ldelim();
|
|
15160
|
+
};
|
|
15161
|
+
|
|
15162
|
+
/**
|
|
15163
|
+
* Decodes a UserEmailMarketingOptedIn message from the specified reader or buffer.
|
|
15164
|
+
* @function decode
|
|
15165
|
+
* @memberof UserEmailMarketingOptedIn
|
|
15166
|
+
* @static
|
|
15167
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15168
|
+
* @param {number} [length] Message length if known beforehand
|
|
15169
|
+
* @returns {UserEmailMarketingOptedIn} UserEmailMarketingOptedIn
|
|
15170
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15171
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15172
|
+
*/
|
|
15173
|
+
UserEmailMarketingOptedIn.decode = function decode(reader, length) {
|
|
15174
|
+
if (!(reader instanceof $Reader))
|
|
15175
|
+
reader = $Reader.create(reader);
|
|
15176
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserEmailMarketingOptedIn();
|
|
15177
|
+
while (reader.pos < end) {
|
|
15178
|
+
var tag = reader.uint32();
|
|
15179
|
+
switch (tag >>> 3) {
|
|
15180
|
+
case 1:
|
|
15181
|
+
message.userId = reader.string();
|
|
15182
|
+
break;
|
|
15183
|
+
default:
|
|
15184
|
+
reader.skipType(tag & 7);
|
|
15185
|
+
break;
|
|
15186
|
+
}
|
|
15187
|
+
}
|
|
15188
|
+
return message;
|
|
15189
|
+
};
|
|
15190
|
+
|
|
15191
|
+
/**
|
|
15192
|
+
* Decodes a UserEmailMarketingOptedIn message from the specified reader or buffer, length delimited.
|
|
15193
|
+
* @function decodeDelimited
|
|
15194
|
+
* @memberof UserEmailMarketingOptedIn
|
|
15195
|
+
* @static
|
|
15196
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15197
|
+
* @returns {UserEmailMarketingOptedIn} UserEmailMarketingOptedIn
|
|
15198
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15199
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15200
|
+
*/
|
|
15201
|
+
UserEmailMarketingOptedIn.decodeDelimited = function decodeDelimited(reader) {
|
|
15202
|
+
if (!(reader instanceof $Reader))
|
|
15203
|
+
reader = new $Reader(reader);
|
|
15204
|
+
return this.decode(reader, reader.uint32());
|
|
15205
|
+
};
|
|
15206
|
+
|
|
15207
|
+
/**
|
|
15208
|
+
* Verifies a UserEmailMarketingOptedIn message.
|
|
15209
|
+
* @function verify
|
|
15210
|
+
* @memberof UserEmailMarketingOptedIn
|
|
15211
|
+
* @static
|
|
15212
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
15213
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15214
|
+
*/
|
|
15215
|
+
UserEmailMarketingOptedIn.verify = function verify(message) {
|
|
15216
|
+
if (typeof message !== "object" || message === null)
|
|
15217
|
+
return "object expected";
|
|
15218
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
15219
|
+
if (!$util.isString(message.userId))
|
|
15220
|
+
return "userId: string expected";
|
|
15221
|
+
return null;
|
|
15222
|
+
};
|
|
15223
|
+
|
|
15224
|
+
/**
|
|
15225
|
+
* Creates a UserEmailMarketingOptedIn message from a plain object. Also converts values to their respective internal types.
|
|
15226
|
+
* @function fromObject
|
|
15227
|
+
* @memberof UserEmailMarketingOptedIn
|
|
15228
|
+
* @static
|
|
15229
|
+
* @param {Object.<string,*>} object Plain object
|
|
15230
|
+
* @returns {UserEmailMarketingOptedIn} UserEmailMarketingOptedIn
|
|
15231
|
+
*/
|
|
15232
|
+
UserEmailMarketingOptedIn.fromObject = function fromObject(object) {
|
|
15233
|
+
if (object instanceof $root.UserEmailMarketingOptedIn)
|
|
15234
|
+
return object;
|
|
15235
|
+
var message = new $root.UserEmailMarketingOptedIn();
|
|
15236
|
+
if (object.userId != null)
|
|
15237
|
+
message.userId = String(object.userId);
|
|
15238
|
+
return message;
|
|
15239
|
+
};
|
|
15240
|
+
|
|
15241
|
+
/**
|
|
15242
|
+
* Creates a plain object from a UserEmailMarketingOptedIn message. Also converts values to other types if specified.
|
|
15243
|
+
* @function toObject
|
|
15244
|
+
* @memberof UserEmailMarketingOptedIn
|
|
15245
|
+
* @static
|
|
15246
|
+
* @param {UserEmailMarketingOptedIn} message UserEmailMarketingOptedIn
|
|
15247
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15248
|
+
* @returns {Object.<string,*>} Plain object
|
|
15249
|
+
*/
|
|
15250
|
+
UserEmailMarketingOptedIn.toObject = function toObject(message, options) {
|
|
15251
|
+
if (!options)
|
|
15252
|
+
options = {};
|
|
15253
|
+
var object = {};
|
|
15254
|
+
if (options.defaults)
|
|
15255
|
+
object.userId = "";
|
|
15256
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
15257
|
+
object.userId = message.userId;
|
|
15258
|
+
return object;
|
|
15259
|
+
};
|
|
15260
|
+
|
|
15261
|
+
/**
|
|
15262
|
+
* Converts this UserEmailMarketingOptedIn to JSON.
|
|
15263
|
+
* @function toJSON
|
|
15264
|
+
* @memberof UserEmailMarketingOptedIn
|
|
15265
|
+
* @instance
|
|
15266
|
+
* @returns {Object.<string,*>} JSON object
|
|
15267
|
+
*/
|
|
15268
|
+
UserEmailMarketingOptedIn.prototype.toJSON = function toJSON() {
|
|
15269
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
15270
|
+
};
|
|
15271
|
+
|
|
15272
|
+
return UserEmailMarketingOptedIn;
|
|
13582
15273
|
})();
|
|
13583
15274
|
|
|
13584
15275
|
module.exports = $root;
|