protobuf-platform 1.2.398 → 1.2.399
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 +16 -0
- package/user/user_grpc_pb.js +22 -0
- package/user/user_pb.js +710 -0
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -17,6 +17,7 @@ service User {
|
|
|
17
17
|
rpc checkWithdrawalEligibility(CheckWithdrawalEligibilityRequest) returns (CheckWithdrawalEligibilityResponse);
|
|
18
18
|
rpc getUserWalletBalances(GetUserWalletBalancesRequest) returns (UserWalletBalancesResponse);
|
|
19
19
|
rpc getUserCachedData(UserDataRequest) returns (UserDataResponse);
|
|
20
|
+
rpc getUserDepositProfile(UserDataRequest) returns (UserDepositProfileResponse);
|
|
20
21
|
rpc getPumpKingsMyTokenWidgetLaunchData(GetPumpKingsMyTokenWidgetLaunchDataRequest) returns (GetPumpKingsMyTokenWidgetLaunchDataResponse);
|
|
21
22
|
rpc getUserAffiliateAttribution(UserAffiliateAttributionRequest) returns (UserAffiliateAttributionResponse);
|
|
22
23
|
rpc batchGetAffiliateAttribution(BatchGetAffiliateAttributionRequest) returns (BatchGetAffiliateAttributionResponse);
|
|
@@ -434,6 +435,21 @@ message UserDataResponse {
|
|
|
434
435
|
optional string antifraud_status = 44;
|
|
435
436
|
optional string antifraud_reason = 45;
|
|
436
437
|
}
|
|
438
|
+
message UserDepositProfileResponse {
|
|
439
|
+
int32 id = 1;
|
|
440
|
+
string public_id = 2;
|
|
441
|
+
optional string email = 3;
|
|
442
|
+
optional string phone = 4;
|
|
443
|
+
optional string country = 5;
|
|
444
|
+
optional string city = 6;
|
|
445
|
+
optional string first_name = 7;
|
|
446
|
+
optional string last_name = 8;
|
|
447
|
+
optional string birthday = 9;
|
|
448
|
+
optional string locale = 10;
|
|
449
|
+
optional string postal_code = 11;
|
|
450
|
+
optional string address_line1 = 12;
|
|
451
|
+
optional string state = 13;
|
|
452
|
+
}
|
|
437
453
|
message GetPumpKingsMyTokenWidgetLaunchDataRequest {
|
|
438
454
|
string user_public_id = 1;
|
|
439
455
|
}
|
package/user/user_grpc_pb.js
CHANGED
|
@@ -1214,6 +1214,17 @@ function deserialize_user_UserDataResponse(buffer_arg) {
|
|
|
1214
1214
|
return user_pb.UserDataResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1215
1215
|
}
|
|
1216
1216
|
|
|
1217
|
+
function serialize_user_UserDepositProfileResponse(arg) {
|
|
1218
|
+
if (!(arg instanceof user_pb.UserDepositProfileResponse)) {
|
|
1219
|
+
throw new Error('Expected argument of type user.UserDepositProfileResponse');
|
|
1220
|
+
}
|
|
1221
|
+
return Buffer.from(arg.serializeBinary());
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
function deserialize_user_UserDepositProfileResponse(buffer_arg) {
|
|
1225
|
+
return user_pb.UserDepositProfileResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1217
1228
|
function serialize_user_UserGameIdsFilterRequest(arg) {
|
|
1218
1229
|
if (!(arg instanceof user_pb.UserGameIdsFilterRequest)) {
|
|
1219
1230
|
throw new Error('Expected argument of type user.UserGameIdsFilterRequest');
|
|
@@ -1602,6 +1613,17 @@ signUp: {
|
|
|
1602
1613
|
responseSerialize: serialize_user_UserDataResponse,
|
|
1603
1614
|
responseDeserialize: deserialize_user_UserDataResponse,
|
|
1604
1615
|
},
|
|
1616
|
+
getUserDepositProfile: {
|
|
1617
|
+
path: '/user.User/getUserDepositProfile',
|
|
1618
|
+
requestStream: false,
|
|
1619
|
+
responseStream: false,
|
|
1620
|
+
requestType: user_pb.UserDataRequest,
|
|
1621
|
+
responseType: user_pb.UserDepositProfileResponse,
|
|
1622
|
+
requestSerialize: serialize_user_UserDataRequest,
|
|
1623
|
+
requestDeserialize: deserialize_user_UserDataRequest,
|
|
1624
|
+
responseSerialize: serialize_user_UserDepositProfileResponse,
|
|
1625
|
+
responseDeserialize: deserialize_user_UserDepositProfileResponse,
|
|
1626
|
+
},
|
|
1605
1627
|
getPumpKingsMyTokenWidgetLaunchData: {
|
|
1606
1628
|
path: '/user.User/getPumpKingsMyTokenWidgetLaunchData',
|
|
1607
1629
|
requestStream: false,
|
package/user/user_pb.js
CHANGED
|
@@ -155,6 +155,7 @@ goog.exportSymbol('proto.user.UserCalculatedRestrictionsResponse', null, global)
|
|
|
155
155
|
goog.exportSymbol('proto.user.UserCookiesRequest', null, global);
|
|
156
156
|
goog.exportSymbol('proto.user.UserDataRequest', null, global);
|
|
157
157
|
goog.exportSymbol('proto.user.UserDataResponse', null, global);
|
|
158
|
+
goog.exportSymbol('proto.user.UserDepositProfileResponse', null, global);
|
|
158
159
|
goog.exportSymbol('proto.user.UserGameIdsFilterRequest', null, global);
|
|
159
160
|
goog.exportSymbol('proto.user.UserGameIdsFilterResponse', null, global);
|
|
160
161
|
goog.exportSymbol('proto.user.UserGameIdsResponse', null, global);
|
|
@@ -792,6 +793,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
792
793
|
*/
|
|
793
794
|
proto.user.UserDataResponse.displayName = 'proto.user.UserDataResponse';
|
|
794
795
|
}
|
|
796
|
+
/**
|
|
797
|
+
* Generated by JsPbCodeGenerator.
|
|
798
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
799
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
800
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
801
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
802
|
+
* valid.
|
|
803
|
+
* @extends {jspb.Message}
|
|
804
|
+
* @constructor
|
|
805
|
+
*/
|
|
806
|
+
proto.user.UserDepositProfileResponse = function(opt_data) {
|
|
807
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
808
|
+
};
|
|
809
|
+
goog.inherits(proto.user.UserDepositProfileResponse, jspb.Message);
|
|
810
|
+
if (goog.DEBUG && !COMPILED) {
|
|
811
|
+
/**
|
|
812
|
+
* @public
|
|
813
|
+
* @override
|
|
814
|
+
*/
|
|
815
|
+
proto.user.UserDepositProfileResponse.displayName = 'proto.user.UserDepositProfileResponse';
|
|
816
|
+
}
|
|
795
817
|
/**
|
|
796
818
|
* Generated by JsPbCodeGenerator.
|
|
797
819
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -17786,6 +17808,694 @@ proto.user.UserDataResponse.prototype.hasAntifraudReason = function() {
|
|
|
17786
17808
|
|
|
17787
17809
|
|
|
17788
17810
|
|
|
17811
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17812
|
+
/**
|
|
17813
|
+
* Creates an object representation of this proto.
|
|
17814
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
17815
|
+
* Optional fields that are not set will be set to undefined.
|
|
17816
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
17817
|
+
* For the list of reserved names please see:
|
|
17818
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
17819
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
17820
|
+
* JSPB instance for transitional soy proto support:
|
|
17821
|
+
* http://goto/soy-param-migration
|
|
17822
|
+
* @return {!Object}
|
|
17823
|
+
*/
|
|
17824
|
+
proto.user.UserDepositProfileResponse.prototype.toObject = function(opt_includeInstance) {
|
|
17825
|
+
return proto.user.UserDepositProfileResponse.toObject(opt_includeInstance, this);
|
|
17826
|
+
};
|
|
17827
|
+
|
|
17828
|
+
|
|
17829
|
+
/**
|
|
17830
|
+
* Static version of the {@see toObject} method.
|
|
17831
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
17832
|
+
* the JSPB instance for transitional soy proto support:
|
|
17833
|
+
* http://goto/soy-param-migration
|
|
17834
|
+
* @param {!proto.user.UserDepositProfileResponse} msg The msg instance to transform.
|
|
17835
|
+
* @return {!Object}
|
|
17836
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17837
|
+
*/
|
|
17838
|
+
proto.user.UserDepositProfileResponse.toObject = function(includeInstance, msg) {
|
|
17839
|
+
var f, obj = {
|
|
17840
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
17841
|
+
publicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
17842
|
+
email: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
17843
|
+
phone: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
17844
|
+
country: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
17845
|
+
city: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
17846
|
+
firstName: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
17847
|
+
lastName: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
17848
|
+
birthday: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
17849
|
+
locale: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
17850
|
+
postalCode: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
17851
|
+
addressLine1: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
17852
|
+
state: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
17853
|
+
};
|
|
17854
|
+
|
|
17855
|
+
if (includeInstance) {
|
|
17856
|
+
obj.$jspbMessageInstance = msg;
|
|
17857
|
+
}
|
|
17858
|
+
return obj;
|
|
17859
|
+
};
|
|
17860
|
+
}
|
|
17861
|
+
|
|
17862
|
+
|
|
17863
|
+
/**
|
|
17864
|
+
* Deserializes binary data (in protobuf wire format).
|
|
17865
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
17866
|
+
* @return {!proto.user.UserDepositProfileResponse}
|
|
17867
|
+
*/
|
|
17868
|
+
proto.user.UserDepositProfileResponse.deserializeBinary = function(bytes) {
|
|
17869
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
17870
|
+
var msg = new proto.user.UserDepositProfileResponse;
|
|
17871
|
+
return proto.user.UserDepositProfileResponse.deserializeBinaryFromReader(msg, reader);
|
|
17872
|
+
};
|
|
17873
|
+
|
|
17874
|
+
|
|
17875
|
+
/**
|
|
17876
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
17877
|
+
* given reader into the given message object.
|
|
17878
|
+
* @param {!proto.user.UserDepositProfileResponse} msg The message object to deserialize into.
|
|
17879
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17880
|
+
* @return {!proto.user.UserDepositProfileResponse}
|
|
17881
|
+
*/
|
|
17882
|
+
proto.user.UserDepositProfileResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
17883
|
+
while (reader.nextField()) {
|
|
17884
|
+
if (reader.isEndGroup()) {
|
|
17885
|
+
break;
|
|
17886
|
+
}
|
|
17887
|
+
var field = reader.getFieldNumber();
|
|
17888
|
+
switch (field) {
|
|
17889
|
+
case 1:
|
|
17890
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
17891
|
+
msg.setId(value);
|
|
17892
|
+
break;
|
|
17893
|
+
case 2:
|
|
17894
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17895
|
+
msg.setPublicId(value);
|
|
17896
|
+
break;
|
|
17897
|
+
case 3:
|
|
17898
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17899
|
+
msg.setEmail(value);
|
|
17900
|
+
break;
|
|
17901
|
+
case 4:
|
|
17902
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17903
|
+
msg.setPhone(value);
|
|
17904
|
+
break;
|
|
17905
|
+
case 5:
|
|
17906
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17907
|
+
msg.setCountry(value);
|
|
17908
|
+
break;
|
|
17909
|
+
case 6:
|
|
17910
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17911
|
+
msg.setCity(value);
|
|
17912
|
+
break;
|
|
17913
|
+
case 7:
|
|
17914
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17915
|
+
msg.setFirstName(value);
|
|
17916
|
+
break;
|
|
17917
|
+
case 8:
|
|
17918
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17919
|
+
msg.setLastName(value);
|
|
17920
|
+
break;
|
|
17921
|
+
case 9:
|
|
17922
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17923
|
+
msg.setBirthday(value);
|
|
17924
|
+
break;
|
|
17925
|
+
case 10:
|
|
17926
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17927
|
+
msg.setLocale(value);
|
|
17928
|
+
break;
|
|
17929
|
+
case 11:
|
|
17930
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17931
|
+
msg.setPostalCode(value);
|
|
17932
|
+
break;
|
|
17933
|
+
case 12:
|
|
17934
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17935
|
+
msg.setAddressLine1(value);
|
|
17936
|
+
break;
|
|
17937
|
+
case 13:
|
|
17938
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17939
|
+
msg.setState(value);
|
|
17940
|
+
break;
|
|
17941
|
+
default:
|
|
17942
|
+
reader.skipField();
|
|
17943
|
+
break;
|
|
17944
|
+
}
|
|
17945
|
+
}
|
|
17946
|
+
return msg;
|
|
17947
|
+
};
|
|
17948
|
+
|
|
17949
|
+
|
|
17950
|
+
/**
|
|
17951
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
17952
|
+
* @return {!Uint8Array}
|
|
17953
|
+
*/
|
|
17954
|
+
proto.user.UserDepositProfileResponse.prototype.serializeBinary = function() {
|
|
17955
|
+
var writer = new jspb.BinaryWriter();
|
|
17956
|
+
proto.user.UserDepositProfileResponse.serializeBinaryToWriter(this, writer);
|
|
17957
|
+
return writer.getResultBuffer();
|
|
17958
|
+
};
|
|
17959
|
+
|
|
17960
|
+
|
|
17961
|
+
/**
|
|
17962
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
17963
|
+
* format), writing to the given BinaryWriter.
|
|
17964
|
+
* @param {!proto.user.UserDepositProfileResponse} message
|
|
17965
|
+
* @param {!jspb.BinaryWriter} writer
|
|
17966
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17967
|
+
*/
|
|
17968
|
+
proto.user.UserDepositProfileResponse.serializeBinaryToWriter = function(message, writer) {
|
|
17969
|
+
var f = undefined;
|
|
17970
|
+
f = message.getId();
|
|
17971
|
+
if (f !== 0) {
|
|
17972
|
+
writer.writeInt32(
|
|
17973
|
+
1,
|
|
17974
|
+
f
|
|
17975
|
+
);
|
|
17976
|
+
}
|
|
17977
|
+
f = message.getPublicId();
|
|
17978
|
+
if (f.length > 0) {
|
|
17979
|
+
writer.writeString(
|
|
17980
|
+
2,
|
|
17981
|
+
f
|
|
17982
|
+
);
|
|
17983
|
+
}
|
|
17984
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
17985
|
+
if (f != null) {
|
|
17986
|
+
writer.writeString(
|
|
17987
|
+
3,
|
|
17988
|
+
f
|
|
17989
|
+
);
|
|
17990
|
+
}
|
|
17991
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
17992
|
+
if (f != null) {
|
|
17993
|
+
writer.writeString(
|
|
17994
|
+
4,
|
|
17995
|
+
f
|
|
17996
|
+
);
|
|
17997
|
+
}
|
|
17998
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
17999
|
+
if (f != null) {
|
|
18000
|
+
writer.writeString(
|
|
18001
|
+
5,
|
|
18002
|
+
f
|
|
18003
|
+
);
|
|
18004
|
+
}
|
|
18005
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
18006
|
+
if (f != null) {
|
|
18007
|
+
writer.writeString(
|
|
18008
|
+
6,
|
|
18009
|
+
f
|
|
18010
|
+
);
|
|
18011
|
+
}
|
|
18012
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
18013
|
+
if (f != null) {
|
|
18014
|
+
writer.writeString(
|
|
18015
|
+
7,
|
|
18016
|
+
f
|
|
18017
|
+
);
|
|
18018
|
+
}
|
|
18019
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
18020
|
+
if (f != null) {
|
|
18021
|
+
writer.writeString(
|
|
18022
|
+
8,
|
|
18023
|
+
f
|
|
18024
|
+
);
|
|
18025
|
+
}
|
|
18026
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
18027
|
+
if (f != null) {
|
|
18028
|
+
writer.writeString(
|
|
18029
|
+
9,
|
|
18030
|
+
f
|
|
18031
|
+
);
|
|
18032
|
+
}
|
|
18033
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
18034
|
+
if (f != null) {
|
|
18035
|
+
writer.writeString(
|
|
18036
|
+
10,
|
|
18037
|
+
f
|
|
18038
|
+
);
|
|
18039
|
+
}
|
|
18040
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
18041
|
+
if (f != null) {
|
|
18042
|
+
writer.writeString(
|
|
18043
|
+
11,
|
|
18044
|
+
f
|
|
18045
|
+
);
|
|
18046
|
+
}
|
|
18047
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
18048
|
+
if (f != null) {
|
|
18049
|
+
writer.writeString(
|
|
18050
|
+
12,
|
|
18051
|
+
f
|
|
18052
|
+
);
|
|
18053
|
+
}
|
|
18054
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
18055
|
+
if (f != null) {
|
|
18056
|
+
writer.writeString(
|
|
18057
|
+
13,
|
|
18058
|
+
f
|
|
18059
|
+
);
|
|
18060
|
+
}
|
|
18061
|
+
};
|
|
18062
|
+
|
|
18063
|
+
|
|
18064
|
+
/**
|
|
18065
|
+
* optional int32 id = 1;
|
|
18066
|
+
* @return {number}
|
|
18067
|
+
*/
|
|
18068
|
+
proto.user.UserDepositProfileResponse.prototype.getId = function() {
|
|
18069
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
18070
|
+
};
|
|
18071
|
+
|
|
18072
|
+
|
|
18073
|
+
/**
|
|
18074
|
+
* @param {number} value
|
|
18075
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18076
|
+
*/
|
|
18077
|
+
proto.user.UserDepositProfileResponse.prototype.setId = function(value) {
|
|
18078
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
18079
|
+
};
|
|
18080
|
+
|
|
18081
|
+
|
|
18082
|
+
/**
|
|
18083
|
+
* optional string public_id = 2;
|
|
18084
|
+
* @return {string}
|
|
18085
|
+
*/
|
|
18086
|
+
proto.user.UserDepositProfileResponse.prototype.getPublicId = function() {
|
|
18087
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
18088
|
+
};
|
|
18089
|
+
|
|
18090
|
+
|
|
18091
|
+
/**
|
|
18092
|
+
* @param {string} value
|
|
18093
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18094
|
+
*/
|
|
18095
|
+
proto.user.UserDepositProfileResponse.prototype.setPublicId = function(value) {
|
|
18096
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
18097
|
+
};
|
|
18098
|
+
|
|
18099
|
+
|
|
18100
|
+
/**
|
|
18101
|
+
* optional string email = 3;
|
|
18102
|
+
* @return {string}
|
|
18103
|
+
*/
|
|
18104
|
+
proto.user.UserDepositProfileResponse.prototype.getEmail = function() {
|
|
18105
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
18106
|
+
};
|
|
18107
|
+
|
|
18108
|
+
|
|
18109
|
+
/**
|
|
18110
|
+
* @param {string} value
|
|
18111
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18112
|
+
*/
|
|
18113
|
+
proto.user.UserDepositProfileResponse.prototype.setEmail = function(value) {
|
|
18114
|
+
return jspb.Message.setField(this, 3, value);
|
|
18115
|
+
};
|
|
18116
|
+
|
|
18117
|
+
|
|
18118
|
+
/**
|
|
18119
|
+
* Clears the field making it undefined.
|
|
18120
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18121
|
+
*/
|
|
18122
|
+
proto.user.UserDepositProfileResponse.prototype.clearEmail = function() {
|
|
18123
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
18124
|
+
};
|
|
18125
|
+
|
|
18126
|
+
|
|
18127
|
+
/**
|
|
18128
|
+
* Returns whether this field is set.
|
|
18129
|
+
* @return {boolean}
|
|
18130
|
+
*/
|
|
18131
|
+
proto.user.UserDepositProfileResponse.prototype.hasEmail = function() {
|
|
18132
|
+
return jspb.Message.getField(this, 3) != null;
|
|
18133
|
+
};
|
|
18134
|
+
|
|
18135
|
+
|
|
18136
|
+
/**
|
|
18137
|
+
* optional string phone = 4;
|
|
18138
|
+
* @return {string}
|
|
18139
|
+
*/
|
|
18140
|
+
proto.user.UserDepositProfileResponse.prototype.getPhone = function() {
|
|
18141
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
18142
|
+
};
|
|
18143
|
+
|
|
18144
|
+
|
|
18145
|
+
/**
|
|
18146
|
+
* @param {string} value
|
|
18147
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18148
|
+
*/
|
|
18149
|
+
proto.user.UserDepositProfileResponse.prototype.setPhone = function(value) {
|
|
18150
|
+
return jspb.Message.setField(this, 4, value);
|
|
18151
|
+
};
|
|
18152
|
+
|
|
18153
|
+
|
|
18154
|
+
/**
|
|
18155
|
+
* Clears the field making it undefined.
|
|
18156
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18157
|
+
*/
|
|
18158
|
+
proto.user.UserDepositProfileResponse.prototype.clearPhone = function() {
|
|
18159
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
18160
|
+
};
|
|
18161
|
+
|
|
18162
|
+
|
|
18163
|
+
/**
|
|
18164
|
+
* Returns whether this field is set.
|
|
18165
|
+
* @return {boolean}
|
|
18166
|
+
*/
|
|
18167
|
+
proto.user.UserDepositProfileResponse.prototype.hasPhone = function() {
|
|
18168
|
+
return jspb.Message.getField(this, 4) != null;
|
|
18169
|
+
};
|
|
18170
|
+
|
|
18171
|
+
|
|
18172
|
+
/**
|
|
18173
|
+
* optional string country = 5;
|
|
18174
|
+
* @return {string}
|
|
18175
|
+
*/
|
|
18176
|
+
proto.user.UserDepositProfileResponse.prototype.getCountry = function() {
|
|
18177
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
18178
|
+
};
|
|
18179
|
+
|
|
18180
|
+
|
|
18181
|
+
/**
|
|
18182
|
+
* @param {string} value
|
|
18183
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18184
|
+
*/
|
|
18185
|
+
proto.user.UserDepositProfileResponse.prototype.setCountry = function(value) {
|
|
18186
|
+
return jspb.Message.setField(this, 5, value);
|
|
18187
|
+
};
|
|
18188
|
+
|
|
18189
|
+
|
|
18190
|
+
/**
|
|
18191
|
+
* Clears the field making it undefined.
|
|
18192
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18193
|
+
*/
|
|
18194
|
+
proto.user.UserDepositProfileResponse.prototype.clearCountry = function() {
|
|
18195
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
18196
|
+
};
|
|
18197
|
+
|
|
18198
|
+
|
|
18199
|
+
/**
|
|
18200
|
+
* Returns whether this field is set.
|
|
18201
|
+
* @return {boolean}
|
|
18202
|
+
*/
|
|
18203
|
+
proto.user.UserDepositProfileResponse.prototype.hasCountry = function() {
|
|
18204
|
+
return jspb.Message.getField(this, 5) != null;
|
|
18205
|
+
};
|
|
18206
|
+
|
|
18207
|
+
|
|
18208
|
+
/**
|
|
18209
|
+
* optional string city = 6;
|
|
18210
|
+
* @return {string}
|
|
18211
|
+
*/
|
|
18212
|
+
proto.user.UserDepositProfileResponse.prototype.getCity = function() {
|
|
18213
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
18214
|
+
};
|
|
18215
|
+
|
|
18216
|
+
|
|
18217
|
+
/**
|
|
18218
|
+
* @param {string} value
|
|
18219
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18220
|
+
*/
|
|
18221
|
+
proto.user.UserDepositProfileResponse.prototype.setCity = function(value) {
|
|
18222
|
+
return jspb.Message.setField(this, 6, value);
|
|
18223
|
+
};
|
|
18224
|
+
|
|
18225
|
+
|
|
18226
|
+
/**
|
|
18227
|
+
* Clears the field making it undefined.
|
|
18228
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18229
|
+
*/
|
|
18230
|
+
proto.user.UserDepositProfileResponse.prototype.clearCity = function() {
|
|
18231
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
18232
|
+
};
|
|
18233
|
+
|
|
18234
|
+
|
|
18235
|
+
/**
|
|
18236
|
+
* Returns whether this field is set.
|
|
18237
|
+
* @return {boolean}
|
|
18238
|
+
*/
|
|
18239
|
+
proto.user.UserDepositProfileResponse.prototype.hasCity = function() {
|
|
18240
|
+
return jspb.Message.getField(this, 6) != null;
|
|
18241
|
+
};
|
|
18242
|
+
|
|
18243
|
+
|
|
18244
|
+
/**
|
|
18245
|
+
* optional string first_name = 7;
|
|
18246
|
+
* @return {string}
|
|
18247
|
+
*/
|
|
18248
|
+
proto.user.UserDepositProfileResponse.prototype.getFirstName = function() {
|
|
18249
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
18250
|
+
};
|
|
18251
|
+
|
|
18252
|
+
|
|
18253
|
+
/**
|
|
18254
|
+
* @param {string} value
|
|
18255
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18256
|
+
*/
|
|
18257
|
+
proto.user.UserDepositProfileResponse.prototype.setFirstName = function(value) {
|
|
18258
|
+
return jspb.Message.setField(this, 7, value);
|
|
18259
|
+
};
|
|
18260
|
+
|
|
18261
|
+
|
|
18262
|
+
/**
|
|
18263
|
+
* Clears the field making it undefined.
|
|
18264
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18265
|
+
*/
|
|
18266
|
+
proto.user.UserDepositProfileResponse.prototype.clearFirstName = function() {
|
|
18267
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
18268
|
+
};
|
|
18269
|
+
|
|
18270
|
+
|
|
18271
|
+
/**
|
|
18272
|
+
* Returns whether this field is set.
|
|
18273
|
+
* @return {boolean}
|
|
18274
|
+
*/
|
|
18275
|
+
proto.user.UserDepositProfileResponse.prototype.hasFirstName = function() {
|
|
18276
|
+
return jspb.Message.getField(this, 7) != null;
|
|
18277
|
+
};
|
|
18278
|
+
|
|
18279
|
+
|
|
18280
|
+
/**
|
|
18281
|
+
* optional string last_name = 8;
|
|
18282
|
+
* @return {string}
|
|
18283
|
+
*/
|
|
18284
|
+
proto.user.UserDepositProfileResponse.prototype.getLastName = function() {
|
|
18285
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
18286
|
+
};
|
|
18287
|
+
|
|
18288
|
+
|
|
18289
|
+
/**
|
|
18290
|
+
* @param {string} value
|
|
18291
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18292
|
+
*/
|
|
18293
|
+
proto.user.UserDepositProfileResponse.prototype.setLastName = function(value) {
|
|
18294
|
+
return jspb.Message.setField(this, 8, value);
|
|
18295
|
+
};
|
|
18296
|
+
|
|
18297
|
+
|
|
18298
|
+
/**
|
|
18299
|
+
* Clears the field making it undefined.
|
|
18300
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18301
|
+
*/
|
|
18302
|
+
proto.user.UserDepositProfileResponse.prototype.clearLastName = function() {
|
|
18303
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
18304
|
+
};
|
|
18305
|
+
|
|
18306
|
+
|
|
18307
|
+
/**
|
|
18308
|
+
* Returns whether this field is set.
|
|
18309
|
+
* @return {boolean}
|
|
18310
|
+
*/
|
|
18311
|
+
proto.user.UserDepositProfileResponse.prototype.hasLastName = function() {
|
|
18312
|
+
return jspb.Message.getField(this, 8) != null;
|
|
18313
|
+
};
|
|
18314
|
+
|
|
18315
|
+
|
|
18316
|
+
/**
|
|
18317
|
+
* optional string birthday = 9;
|
|
18318
|
+
* @return {string}
|
|
18319
|
+
*/
|
|
18320
|
+
proto.user.UserDepositProfileResponse.prototype.getBirthday = function() {
|
|
18321
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
18322
|
+
};
|
|
18323
|
+
|
|
18324
|
+
|
|
18325
|
+
/**
|
|
18326
|
+
* @param {string} value
|
|
18327
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18328
|
+
*/
|
|
18329
|
+
proto.user.UserDepositProfileResponse.prototype.setBirthday = function(value) {
|
|
18330
|
+
return jspb.Message.setField(this, 9, value);
|
|
18331
|
+
};
|
|
18332
|
+
|
|
18333
|
+
|
|
18334
|
+
/**
|
|
18335
|
+
* Clears the field making it undefined.
|
|
18336
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18337
|
+
*/
|
|
18338
|
+
proto.user.UserDepositProfileResponse.prototype.clearBirthday = function() {
|
|
18339
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
18340
|
+
};
|
|
18341
|
+
|
|
18342
|
+
|
|
18343
|
+
/**
|
|
18344
|
+
* Returns whether this field is set.
|
|
18345
|
+
* @return {boolean}
|
|
18346
|
+
*/
|
|
18347
|
+
proto.user.UserDepositProfileResponse.prototype.hasBirthday = function() {
|
|
18348
|
+
return jspb.Message.getField(this, 9) != null;
|
|
18349
|
+
};
|
|
18350
|
+
|
|
18351
|
+
|
|
18352
|
+
/**
|
|
18353
|
+
* optional string locale = 10;
|
|
18354
|
+
* @return {string}
|
|
18355
|
+
*/
|
|
18356
|
+
proto.user.UserDepositProfileResponse.prototype.getLocale = function() {
|
|
18357
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
18358
|
+
};
|
|
18359
|
+
|
|
18360
|
+
|
|
18361
|
+
/**
|
|
18362
|
+
* @param {string} value
|
|
18363
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18364
|
+
*/
|
|
18365
|
+
proto.user.UserDepositProfileResponse.prototype.setLocale = function(value) {
|
|
18366
|
+
return jspb.Message.setField(this, 10, value);
|
|
18367
|
+
};
|
|
18368
|
+
|
|
18369
|
+
|
|
18370
|
+
/**
|
|
18371
|
+
* Clears the field making it undefined.
|
|
18372
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18373
|
+
*/
|
|
18374
|
+
proto.user.UserDepositProfileResponse.prototype.clearLocale = function() {
|
|
18375
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
18376
|
+
};
|
|
18377
|
+
|
|
18378
|
+
|
|
18379
|
+
/**
|
|
18380
|
+
* Returns whether this field is set.
|
|
18381
|
+
* @return {boolean}
|
|
18382
|
+
*/
|
|
18383
|
+
proto.user.UserDepositProfileResponse.prototype.hasLocale = function() {
|
|
18384
|
+
return jspb.Message.getField(this, 10) != null;
|
|
18385
|
+
};
|
|
18386
|
+
|
|
18387
|
+
|
|
18388
|
+
/**
|
|
18389
|
+
* optional string postal_code = 11;
|
|
18390
|
+
* @return {string}
|
|
18391
|
+
*/
|
|
18392
|
+
proto.user.UserDepositProfileResponse.prototype.getPostalCode = function() {
|
|
18393
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
18394
|
+
};
|
|
18395
|
+
|
|
18396
|
+
|
|
18397
|
+
/**
|
|
18398
|
+
* @param {string} value
|
|
18399
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18400
|
+
*/
|
|
18401
|
+
proto.user.UserDepositProfileResponse.prototype.setPostalCode = function(value) {
|
|
18402
|
+
return jspb.Message.setField(this, 11, value);
|
|
18403
|
+
};
|
|
18404
|
+
|
|
18405
|
+
|
|
18406
|
+
/**
|
|
18407
|
+
* Clears the field making it undefined.
|
|
18408
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18409
|
+
*/
|
|
18410
|
+
proto.user.UserDepositProfileResponse.prototype.clearPostalCode = function() {
|
|
18411
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
18412
|
+
};
|
|
18413
|
+
|
|
18414
|
+
|
|
18415
|
+
/**
|
|
18416
|
+
* Returns whether this field is set.
|
|
18417
|
+
* @return {boolean}
|
|
18418
|
+
*/
|
|
18419
|
+
proto.user.UserDepositProfileResponse.prototype.hasPostalCode = function() {
|
|
18420
|
+
return jspb.Message.getField(this, 11) != null;
|
|
18421
|
+
};
|
|
18422
|
+
|
|
18423
|
+
|
|
18424
|
+
/**
|
|
18425
|
+
* optional string address_line1 = 12;
|
|
18426
|
+
* @return {string}
|
|
18427
|
+
*/
|
|
18428
|
+
proto.user.UserDepositProfileResponse.prototype.getAddressLine1 = function() {
|
|
18429
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
18430
|
+
};
|
|
18431
|
+
|
|
18432
|
+
|
|
18433
|
+
/**
|
|
18434
|
+
* @param {string} value
|
|
18435
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18436
|
+
*/
|
|
18437
|
+
proto.user.UserDepositProfileResponse.prototype.setAddressLine1 = function(value) {
|
|
18438
|
+
return jspb.Message.setField(this, 12, value);
|
|
18439
|
+
};
|
|
18440
|
+
|
|
18441
|
+
|
|
18442
|
+
/**
|
|
18443
|
+
* Clears the field making it undefined.
|
|
18444
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18445
|
+
*/
|
|
18446
|
+
proto.user.UserDepositProfileResponse.prototype.clearAddressLine1 = function() {
|
|
18447
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
18448
|
+
};
|
|
18449
|
+
|
|
18450
|
+
|
|
18451
|
+
/**
|
|
18452
|
+
* Returns whether this field is set.
|
|
18453
|
+
* @return {boolean}
|
|
18454
|
+
*/
|
|
18455
|
+
proto.user.UserDepositProfileResponse.prototype.hasAddressLine1 = function() {
|
|
18456
|
+
return jspb.Message.getField(this, 12) != null;
|
|
18457
|
+
};
|
|
18458
|
+
|
|
18459
|
+
|
|
18460
|
+
/**
|
|
18461
|
+
* optional string state = 13;
|
|
18462
|
+
* @return {string}
|
|
18463
|
+
*/
|
|
18464
|
+
proto.user.UserDepositProfileResponse.prototype.getState = function() {
|
|
18465
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
18466
|
+
};
|
|
18467
|
+
|
|
18468
|
+
|
|
18469
|
+
/**
|
|
18470
|
+
* @param {string} value
|
|
18471
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18472
|
+
*/
|
|
18473
|
+
proto.user.UserDepositProfileResponse.prototype.setState = function(value) {
|
|
18474
|
+
return jspb.Message.setField(this, 13, value);
|
|
18475
|
+
};
|
|
18476
|
+
|
|
18477
|
+
|
|
18478
|
+
/**
|
|
18479
|
+
* Clears the field making it undefined.
|
|
18480
|
+
* @return {!proto.user.UserDepositProfileResponse} returns this
|
|
18481
|
+
*/
|
|
18482
|
+
proto.user.UserDepositProfileResponse.prototype.clearState = function() {
|
|
18483
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
18484
|
+
};
|
|
18485
|
+
|
|
18486
|
+
|
|
18487
|
+
/**
|
|
18488
|
+
* Returns whether this field is set.
|
|
18489
|
+
* @return {boolean}
|
|
18490
|
+
*/
|
|
18491
|
+
proto.user.UserDepositProfileResponse.prototype.hasState = function() {
|
|
18492
|
+
return jspb.Message.getField(this, 13) != null;
|
|
18493
|
+
};
|
|
18494
|
+
|
|
18495
|
+
|
|
18496
|
+
|
|
18497
|
+
|
|
18498
|
+
|
|
17789
18499
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17790
18500
|
/**
|
|
17791
18501
|
* Creates an object representation of this proto.
|