protobuf-platform 1.0.143 → 1.0.145
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/package.json +1 -1
- package/user/user.proto +3 -0
- package/user/user_pb.js +145 -1
package/package.json
CHANGED
package/user/user.proto
CHANGED
@@ -96,6 +96,9 @@ message UserDataResponse {
|
|
96
96
|
optional string balance_type = 17;
|
97
97
|
optional int32 affiliate_id = 18;
|
98
98
|
optional string timezone = 19;
|
99
|
+
optional string risk_status = 20;
|
100
|
+
optional string category = 21;
|
101
|
+
optional string created = 22;
|
99
102
|
}
|
100
103
|
message UsersResponse {
|
101
104
|
repeated UserDataResponse items = 1;
|
package/user/user_pb.js
CHANGED
@@ -2818,7 +2818,10 @@ proto.user.UserDataResponse.toObject = function(includeInstance, msg) {
|
|
2818
2818
|
balanceBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
2819
2819
|
balanceType: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
2820
2820
|
affiliateId: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
2821
|
-
timezone: jspb.Message.getFieldWithDefault(msg, 19, "")
|
2821
|
+
timezone: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
2822
|
+
riskStatus: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
2823
|
+
category: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
2824
|
+
created: jspb.Message.getFieldWithDefault(msg, 22, "")
|
2822
2825
|
};
|
2823
2826
|
|
2824
2827
|
if (includeInstance) {
|
@@ -2931,6 +2934,18 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
2931
2934
|
var value = /** @type {string} */ (reader.readString());
|
2932
2935
|
msg.setTimezone(value);
|
2933
2936
|
break;
|
2937
|
+
case 20:
|
2938
|
+
var value = /** @type {string} */ (reader.readString());
|
2939
|
+
msg.setRiskStatus(value);
|
2940
|
+
break;
|
2941
|
+
case 21:
|
2942
|
+
var value = /** @type {string} */ (reader.readString());
|
2943
|
+
msg.setCategory(value);
|
2944
|
+
break;
|
2945
|
+
case 22:
|
2946
|
+
var value = /** @type {string} */ (reader.readString());
|
2947
|
+
msg.setCreated(value);
|
2948
|
+
break;
|
2934
2949
|
default:
|
2935
2950
|
reader.skipField();
|
2936
2951
|
break;
|
@@ -3093,6 +3108,27 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
|
|
3093
3108
|
f
|
3094
3109
|
);
|
3095
3110
|
}
|
3111
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 20));
|
3112
|
+
if (f != null) {
|
3113
|
+
writer.writeString(
|
3114
|
+
20,
|
3115
|
+
f
|
3116
|
+
);
|
3117
|
+
}
|
3118
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 21));
|
3119
|
+
if (f != null) {
|
3120
|
+
writer.writeString(
|
3121
|
+
21,
|
3122
|
+
f
|
3123
|
+
);
|
3124
|
+
}
|
3125
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 22));
|
3126
|
+
if (f != null) {
|
3127
|
+
writer.writeString(
|
3128
|
+
22,
|
3129
|
+
f
|
3130
|
+
);
|
3131
|
+
}
|
3096
3132
|
};
|
3097
3133
|
|
3098
3134
|
|
@@ -3744,6 +3780,114 @@ proto.user.UserDataResponse.prototype.hasTimezone = function() {
|
|
3744
3780
|
};
|
3745
3781
|
|
3746
3782
|
|
3783
|
+
/**
|
3784
|
+
* optional string risk_status = 20;
|
3785
|
+
* @return {string}
|
3786
|
+
*/
|
3787
|
+
proto.user.UserDataResponse.prototype.getRiskStatus = function() {
|
3788
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
3789
|
+
};
|
3790
|
+
|
3791
|
+
|
3792
|
+
/**
|
3793
|
+
* @param {string} value
|
3794
|
+
* @return {!proto.user.UserDataResponse} returns this
|
3795
|
+
*/
|
3796
|
+
proto.user.UserDataResponse.prototype.setRiskStatus = function(value) {
|
3797
|
+
return jspb.Message.setField(this, 20, value);
|
3798
|
+
};
|
3799
|
+
|
3800
|
+
|
3801
|
+
/**
|
3802
|
+
* Clears the field making it undefined.
|
3803
|
+
* @return {!proto.user.UserDataResponse} returns this
|
3804
|
+
*/
|
3805
|
+
proto.user.UserDataResponse.prototype.clearRiskStatus = function() {
|
3806
|
+
return jspb.Message.setField(this, 20, undefined);
|
3807
|
+
};
|
3808
|
+
|
3809
|
+
|
3810
|
+
/**
|
3811
|
+
* Returns whether this field is set.
|
3812
|
+
* @return {boolean}
|
3813
|
+
*/
|
3814
|
+
proto.user.UserDataResponse.prototype.hasRiskStatus = function() {
|
3815
|
+
return jspb.Message.getField(this, 20) != null;
|
3816
|
+
};
|
3817
|
+
|
3818
|
+
|
3819
|
+
/**
|
3820
|
+
* optional string category = 21;
|
3821
|
+
* @return {string}
|
3822
|
+
*/
|
3823
|
+
proto.user.UserDataResponse.prototype.getCategory = function() {
|
3824
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
3825
|
+
};
|
3826
|
+
|
3827
|
+
|
3828
|
+
/**
|
3829
|
+
* @param {string} value
|
3830
|
+
* @return {!proto.user.UserDataResponse} returns this
|
3831
|
+
*/
|
3832
|
+
proto.user.UserDataResponse.prototype.setCategory = function(value) {
|
3833
|
+
return jspb.Message.setField(this, 21, value);
|
3834
|
+
};
|
3835
|
+
|
3836
|
+
|
3837
|
+
/**
|
3838
|
+
* Clears the field making it undefined.
|
3839
|
+
* @return {!proto.user.UserDataResponse} returns this
|
3840
|
+
*/
|
3841
|
+
proto.user.UserDataResponse.prototype.clearCategory = function() {
|
3842
|
+
return jspb.Message.setField(this, 21, undefined);
|
3843
|
+
};
|
3844
|
+
|
3845
|
+
|
3846
|
+
/**
|
3847
|
+
* Returns whether this field is set.
|
3848
|
+
* @return {boolean}
|
3849
|
+
*/
|
3850
|
+
proto.user.UserDataResponse.prototype.hasCategory = function() {
|
3851
|
+
return jspb.Message.getField(this, 21) != null;
|
3852
|
+
};
|
3853
|
+
|
3854
|
+
|
3855
|
+
/**
|
3856
|
+
* optional string created = 22;
|
3857
|
+
* @return {string}
|
3858
|
+
*/
|
3859
|
+
proto.user.UserDataResponse.prototype.getCreated = function() {
|
3860
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
3861
|
+
};
|
3862
|
+
|
3863
|
+
|
3864
|
+
/**
|
3865
|
+
* @param {string} value
|
3866
|
+
* @return {!proto.user.UserDataResponse} returns this
|
3867
|
+
*/
|
3868
|
+
proto.user.UserDataResponse.prototype.setCreated = function(value) {
|
3869
|
+
return jspb.Message.setField(this, 22, value);
|
3870
|
+
};
|
3871
|
+
|
3872
|
+
|
3873
|
+
/**
|
3874
|
+
* Clears the field making it undefined.
|
3875
|
+
* @return {!proto.user.UserDataResponse} returns this
|
3876
|
+
*/
|
3877
|
+
proto.user.UserDataResponse.prototype.clearCreated = function() {
|
3878
|
+
return jspb.Message.setField(this, 22, undefined);
|
3879
|
+
};
|
3880
|
+
|
3881
|
+
|
3882
|
+
/**
|
3883
|
+
* Returns whether this field is set.
|
3884
|
+
* @return {boolean}
|
3885
|
+
*/
|
3886
|
+
proto.user.UserDataResponse.prototype.hasCreated = function() {
|
3887
|
+
return jspb.Message.getField(this, 22) != null;
|
3888
|
+
};
|
3889
|
+
|
3890
|
+
|
3747
3891
|
|
3748
3892
|
/**
|
3749
3893
|
* List of repeated fields within this message type.
|