protobuf-platform 1.2.61 → 1.2.62
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 +1 -0
- package/user/user_pb.js +49 -1
package/package.json
CHANGED
package/user/user.proto
CHANGED
package/user/user_pb.js
CHANGED
|
@@ -3646,7 +3646,8 @@ proto.user.RegistrationRequest.toObject = function(includeInstance, msg) {
|
|
|
3646
3646
|
phone: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
3647
3647
|
postalCode: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
3648
3648
|
referral: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
3649
|
-
device: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
3649
|
+
device: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
3650
|
+
affiliateInfo: jspb.Message.getFieldWithDefault(msg, 23, "")
|
|
3650
3651
|
};
|
|
3651
3652
|
|
|
3652
3653
|
if (includeInstance) {
|
|
@@ -3771,6 +3772,10 @@ proto.user.RegistrationRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
3771
3772
|
var value = /** @type {string} */ (reader.readString());
|
|
3772
3773
|
msg.setDevice(value);
|
|
3773
3774
|
break;
|
|
3775
|
+
case 23:
|
|
3776
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3777
|
+
msg.setAffiliateInfo(value);
|
|
3778
|
+
break;
|
|
3774
3779
|
default:
|
|
3775
3780
|
reader.skipField();
|
|
3776
3781
|
break;
|
|
@@ -3954,6 +3959,13 @@ proto.user.RegistrationRequest.serializeBinaryToWriter = function(message, write
|
|
|
3954
3959
|
f
|
|
3955
3960
|
);
|
|
3956
3961
|
}
|
|
3962
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 23));
|
|
3963
|
+
if (f != null) {
|
|
3964
|
+
writer.writeString(
|
|
3965
|
+
23,
|
|
3966
|
+
f
|
|
3967
|
+
);
|
|
3968
|
+
}
|
|
3957
3969
|
};
|
|
3958
3970
|
|
|
3959
3971
|
|
|
@@ -4695,6 +4707,42 @@ proto.user.RegistrationRequest.prototype.hasDevice = function() {
|
|
|
4695
4707
|
};
|
|
4696
4708
|
|
|
4697
4709
|
|
|
4710
|
+
/**
|
|
4711
|
+
* optional string affiliate_info = 23;
|
|
4712
|
+
* @return {string}
|
|
4713
|
+
*/
|
|
4714
|
+
proto.user.RegistrationRequest.prototype.getAffiliateInfo = function() {
|
|
4715
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
4716
|
+
};
|
|
4717
|
+
|
|
4718
|
+
|
|
4719
|
+
/**
|
|
4720
|
+
* @param {string} value
|
|
4721
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
|
4722
|
+
*/
|
|
4723
|
+
proto.user.RegistrationRequest.prototype.setAffiliateInfo = function(value) {
|
|
4724
|
+
return jspb.Message.setField(this, 23, value);
|
|
4725
|
+
};
|
|
4726
|
+
|
|
4727
|
+
|
|
4728
|
+
/**
|
|
4729
|
+
* Clears the field making it undefined.
|
|
4730
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
|
4731
|
+
*/
|
|
4732
|
+
proto.user.RegistrationRequest.prototype.clearAffiliateInfo = function() {
|
|
4733
|
+
return jspb.Message.setField(this, 23, undefined);
|
|
4734
|
+
};
|
|
4735
|
+
|
|
4736
|
+
|
|
4737
|
+
/**
|
|
4738
|
+
* Returns whether this field is set.
|
|
4739
|
+
* @return {boolean}
|
|
4740
|
+
*/
|
|
4741
|
+
proto.user.RegistrationRequest.prototype.hasAffiliateInfo = function() {
|
|
4742
|
+
return jspb.Message.getField(this, 23) != null;
|
|
4743
|
+
};
|
|
4744
|
+
|
|
4745
|
+
|
|
4698
4746
|
|
|
4699
4747
|
|
|
4700
4748
|
|