protobuf-platform 1.0.265 → 1.0.267
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/payment/payment.proto +12 -1
- package/payment/payment_grpc_pb.js +22 -0
- package/payment/payment_pb.js +499 -47
- package/user/user.proto +8 -0
- package/user/user_pb.js +397 -2
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
@@ -19,6 +19,7 @@ service Payment {
|
|
19
19
|
rpc readListMethods(PaginationRequest) returns (MethodItemsResponse);
|
20
20
|
rpc readListPoorMethods(PoorMethodsRequest) returns (MethodItemsResponse);
|
21
21
|
rpc setPaymentMethodConfig(PaymentMethodConfigRequest) returns (PaymentStatusResponse);
|
22
|
+
rpc readPaymentMethodConfig(PaymentMethodConfigRequest) returns (PaymentMethodConfigResponse);
|
22
23
|
//Deposit
|
23
24
|
rpc attemptDeposit(AttemptDepositRequest) returns (DepositResponse);
|
24
25
|
rpc changeDepositStatus(GetDepositRequest) returns (DepositResponse);
|
@@ -129,7 +130,17 @@ message PoorMethodsRequest {
|
|
129
130
|
}
|
130
131
|
message PaymentMethodConfigRequest {
|
131
132
|
int32 method_id = 1;
|
132
|
-
|
133
|
+
string country = 2;
|
134
|
+
string currency = 3;
|
135
|
+
optional int32 is_active = 4;
|
136
|
+
optional float min_amount = 5;
|
137
|
+
optional float max_amount = 6;
|
138
|
+
optional string type = 7;
|
139
|
+
optional string config = 8;
|
140
|
+
}
|
141
|
+
message PaymentMethodConfigResponse {
|
142
|
+
int32 method_id = 1;
|
143
|
+
optional string country = 2;
|
133
144
|
optional string currency = 3;
|
134
145
|
optional int32 is_active = 4;
|
135
146
|
optional float min_amount = 5;
|
@@ -169,6 +169,17 @@ function deserialize_payment_PaymentMethodConfigRequest(buffer_arg) {
|
|
169
169
|
return payment_pb.PaymentMethodConfigRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
170
170
|
}
|
171
171
|
|
172
|
+
function serialize_payment_PaymentMethodConfigResponse(arg) {
|
173
|
+
if (!(arg instanceof payment_pb.PaymentMethodConfigResponse)) {
|
174
|
+
throw new Error('Expected argument of type payment.PaymentMethodConfigResponse');
|
175
|
+
}
|
176
|
+
return Buffer.from(arg.serializeBinary());
|
177
|
+
}
|
178
|
+
|
179
|
+
function deserialize_payment_PaymentMethodConfigResponse(buffer_arg) {
|
180
|
+
return payment_pb.PaymentMethodConfigResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
181
|
+
}
|
182
|
+
|
172
183
|
function serialize_payment_PaymentStatusResponse(arg) {
|
173
184
|
if (!(arg instanceof payment_pb.PaymentStatusResponse)) {
|
174
185
|
throw new Error('Expected argument of type payment.PaymentStatusResponse');
|
@@ -426,6 +437,17 @@ createSingleMethod: {
|
|
426
437
|
responseSerialize: serialize_payment_PaymentStatusResponse,
|
427
438
|
responseDeserialize: deserialize_payment_PaymentStatusResponse,
|
428
439
|
},
|
440
|
+
readPaymentMethodConfig: {
|
441
|
+
path: '/payment.Payment/readPaymentMethodConfig',
|
442
|
+
requestStream: false,
|
443
|
+
responseStream: false,
|
444
|
+
requestType: payment_pb.PaymentMethodConfigRequest,
|
445
|
+
responseType: payment_pb.PaymentMethodConfigResponse,
|
446
|
+
requestSerialize: serialize_payment_PaymentMethodConfigRequest,
|
447
|
+
requestDeserialize: deserialize_payment_PaymentMethodConfigRequest,
|
448
|
+
responseSerialize: serialize_payment_PaymentMethodConfigResponse,
|
449
|
+
responseDeserialize: deserialize_payment_PaymentMethodConfigResponse,
|
450
|
+
},
|
429
451
|
// Deposit
|
430
452
|
attemptDeposit: {
|
431
453
|
path: '/payment.Payment/attemptDeposit',
|
package/payment/payment_pb.js
CHANGED
@@ -41,6 +41,7 @@ goog.exportSymbol('proto.payment.MethodRequest.RequestCase', null, global);
|
|
41
41
|
goog.exportSymbol('proto.payment.MethodResponse', null, global);
|
42
42
|
goog.exportSymbol('proto.payment.PaginationRequest', null, global);
|
43
43
|
goog.exportSymbol('proto.payment.PaymentMethodConfigRequest', null, global);
|
44
|
+
goog.exportSymbol('proto.payment.PaymentMethodConfigResponse', null, global);
|
44
45
|
goog.exportSymbol('proto.payment.PaymentSearchRequest', null, global);
|
45
46
|
goog.exportSymbol('proto.payment.PaymentStatusResponse', null, global);
|
46
47
|
goog.exportSymbol('proto.payment.PingRequest', null, global);
|
@@ -496,6 +497,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
496
497
|
*/
|
497
498
|
proto.payment.PaymentMethodConfigRequest.displayName = 'proto.payment.PaymentMethodConfigRequest';
|
498
499
|
}
|
500
|
+
/**
|
501
|
+
* Generated by JsPbCodeGenerator.
|
502
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
503
|
+
* server response, or constructed directly in Javascript. The array is used
|
504
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
505
|
+
* If no data is provided, the constructed object will be empty, but still
|
506
|
+
* valid.
|
507
|
+
* @extends {jspb.Message}
|
508
|
+
* @constructor
|
509
|
+
*/
|
510
|
+
proto.payment.PaymentMethodConfigResponse = function(opt_data) {
|
511
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
512
|
+
};
|
513
|
+
goog.inherits(proto.payment.PaymentMethodConfigResponse, jspb.Message);
|
514
|
+
if (goog.DEBUG && !COMPILED) {
|
515
|
+
/**
|
516
|
+
* @public
|
517
|
+
* @override
|
518
|
+
*/
|
519
|
+
proto.payment.PaymentMethodConfigResponse.displayName = 'proto.payment.PaymentMethodConfigResponse';
|
520
|
+
}
|
499
521
|
/**
|
500
522
|
* Generated by JsPbCodeGenerator.
|
501
523
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -5720,7 +5742,7 @@ proto.payment.PaymentMethodConfigRequest.prototype.toObject = function(opt_inclu
|
|
5720
5742
|
proto.payment.PaymentMethodConfigRequest.toObject = function(includeInstance, msg) {
|
5721
5743
|
var f, obj = {
|
5722
5744
|
methodId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
5723
|
-
|
5745
|
+
country: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
5724
5746
|
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
5725
5747
|
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
5726
5748
|
minAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
@@ -5769,7 +5791,7 @@ proto.payment.PaymentMethodConfigRequest.deserializeBinaryFromReader = function(
|
|
5769
5791
|
break;
|
5770
5792
|
case 2:
|
5771
5793
|
var value = /** @type {string} */ (reader.readString());
|
5772
|
-
msg.
|
5794
|
+
msg.setCountry(value);
|
5773
5795
|
break;
|
5774
5796
|
case 3:
|
5775
5797
|
var value = /** @type {string} */ (reader.readString());
|
@@ -5831,15 +5853,15 @@ proto.payment.PaymentMethodConfigRequest.serializeBinaryToWriter = function(mess
|
|
5831
5853
|
f
|
5832
5854
|
);
|
5833
5855
|
}
|
5834
|
-
f =
|
5835
|
-
if (f
|
5856
|
+
f = message.getCountry();
|
5857
|
+
if (f.length > 0) {
|
5836
5858
|
writer.writeString(
|
5837
5859
|
2,
|
5838
5860
|
f
|
5839
5861
|
);
|
5840
5862
|
}
|
5841
|
-
f =
|
5842
|
-
if (f
|
5863
|
+
f = message.getCurrency();
|
5864
|
+
if (f.length > 0) {
|
5843
5865
|
writer.writeString(
|
5844
5866
|
3,
|
5845
5867
|
f
|
@@ -5902,10 +5924,10 @@ proto.payment.PaymentMethodConfigRequest.prototype.setMethodId = function(value)
|
|
5902
5924
|
|
5903
5925
|
|
5904
5926
|
/**
|
5905
|
-
* optional string
|
5927
|
+
* optional string country = 2;
|
5906
5928
|
* @return {string}
|
5907
5929
|
*/
|
5908
|
-
proto.payment.PaymentMethodConfigRequest.prototype.
|
5930
|
+
proto.payment.PaymentMethodConfigRequest.prototype.getCountry = function() {
|
5909
5931
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
5910
5932
|
};
|
5911
5933
|
|
@@ -5914,26 +5936,8 @@ proto.payment.PaymentMethodConfigRequest.prototype.getGeo = function() {
|
|
5914
5936
|
* @param {string} value
|
5915
5937
|
* @return {!proto.payment.PaymentMethodConfigRequest} returns this
|
5916
5938
|
*/
|
5917
|
-
proto.payment.PaymentMethodConfigRequest.prototype.
|
5918
|
-
return jspb.Message.
|
5919
|
-
};
|
5920
|
-
|
5921
|
-
|
5922
|
-
/**
|
5923
|
-
* Clears the field making it undefined.
|
5924
|
-
* @return {!proto.payment.PaymentMethodConfigRequest} returns this
|
5925
|
-
*/
|
5926
|
-
proto.payment.PaymentMethodConfigRequest.prototype.clearGeo = function() {
|
5927
|
-
return jspb.Message.setField(this, 2, undefined);
|
5928
|
-
};
|
5929
|
-
|
5930
|
-
|
5931
|
-
/**
|
5932
|
-
* Returns whether this field is set.
|
5933
|
-
* @return {boolean}
|
5934
|
-
*/
|
5935
|
-
proto.payment.PaymentMethodConfigRequest.prototype.hasGeo = function() {
|
5936
|
-
return jspb.Message.getField(this, 2) != null;
|
5939
|
+
proto.payment.PaymentMethodConfigRequest.prototype.setCountry = function(value) {
|
5940
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
5937
5941
|
};
|
5938
5942
|
|
5939
5943
|
|
@@ -5951,25 +5955,7 @@ proto.payment.PaymentMethodConfigRequest.prototype.getCurrency = function() {
|
|
5951
5955
|
* @return {!proto.payment.PaymentMethodConfigRequest} returns this
|
5952
5956
|
*/
|
5953
5957
|
proto.payment.PaymentMethodConfigRequest.prototype.setCurrency = function(value) {
|
5954
|
-
return jspb.Message.
|
5955
|
-
};
|
5956
|
-
|
5957
|
-
|
5958
|
-
/**
|
5959
|
-
* Clears the field making it undefined.
|
5960
|
-
* @return {!proto.payment.PaymentMethodConfigRequest} returns this
|
5961
|
-
*/
|
5962
|
-
proto.payment.PaymentMethodConfigRequest.prototype.clearCurrency = function() {
|
5963
|
-
return jspb.Message.setField(this, 3, undefined);
|
5964
|
-
};
|
5965
|
-
|
5966
|
-
|
5967
|
-
/**
|
5968
|
-
* Returns whether this field is set.
|
5969
|
-
* @return {boolean}
|
5970
|
-
*/
|
5971
|
-
proto.payment.PaymentMethodConfigRequest.prototype.hasCurrency = function() {
|
5972
|
-
return jspb.Message.getField(this, 3) != null;
|
5958
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
5973
5959
|
};
|
5974
5960
|
|
5975
5961
|
|
@@ -6156,6 +6142,472 @@ proto.payment.PaymentMethodConfigRequest.prototype.hasConfig = function() {
|
|
6156
6142
|
|
6157
6143
|
|
6158
6144
|
|
6145
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
6146
|
+
/**
|
6147
|
+
* Creates an object representation of this proto.
|
6148
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
6149
|
+
* Optional fields that are not set will be set to undefined.
|
6150
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
6151
|
+
* For the list of reserved names please see:
|
6152
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
6153
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
6154
|
+
* JSPB instance for transitional soy proto support:
|
6155
|
+
* http://goto/soy-param-migration
|
6156
|
+
* @return {!Object}
|
6157
|
+
*/
|
6158
|
+
proto.payment.PaymentMethodConfigResponse.prototype.toObject = function(opt_includeInstance) {
|
6159
|
+
return proto.payment.PaymentMethodConfigResponse.toObject(opt_includeInstance, this);
|
6160
|
+
};
|
6161
|
+
|
6162
|
+
|
6163
|
+
/**
|
6164
|
+
* Static version of the {@see toObject} method.
|
6165
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
6166
|
+
* the JSPB instance for transitional soy proto support:
|
6167
|
+
* http://goto/soy-param-migration
|
6168
|
+
* @param {!proto.payment.PaymentMethodConfigResponse} msg The msg instance to transform.
|
6169
|
+
* @return {!Object}
|
6170
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6171
|
+
*/
|
6172
|
+
proto.payment.PaymentMethodConfigResponse.toObject = function(includeInstance, msg) {
|
6173
|
+
var f, obj = {
|
6174
|
+
methodId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
6175
|
+
country: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
6176
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
6177
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
6178
|
+
minAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
6179
|
+
maxAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
6180
|
+
type: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
6181
|
+
config: jspb.Message.getFieldWithDefault(msg, 8, "")
|
6182
|
+
};
|
6183
|
+
|
6184
|
+
if (includeInstance) {
|
6185
|
+
obj.$jspbMessageInstance = msg;
|
6186
|
+
}
|
6187
|
+
return obj;
|
6188
|
+
};
|
6189
|
+
}
|
6190
|
+
|
6191
|
+
|
6192
|
+
/**
|
6193
|
+
* Deserializes binary data (in protobuf wire format).
|
6194
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
6195
|
+
* @return {!proto.payment.PaymentMethodConfigResponse}
|
6196
|
+
*/
|
6197
|
+
proto.payment.PaymentMethodConfigResponse.deserializeBinary = function(bytes) {
|
6198
|
+
var reader = new jspb.BinaryReader(bytes);
|
6199
|
+
var msg = new proto.payment.PaymentMethodConfigResponse;
|
6200
|
+
return proto.payment.PaymentMethodConfigResponse.deserializeBinaryFromReader(msg, reader);
|
6201
|
+
};
|
6202
|
+
|
6203
|
+
|
6204
|
+
/**
|
6205
|
+
* Deserializes binary data (in protobuf wire format) from the
|
6206
|
+
* given reader into the given message object.
|
6207
|
+
* @param {!proto.payment.PaymentMethodConfigResponse} msg The message object to deserialize into.
|
6208
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
6209
|
+
* @return {!proto.payment.PaymentMethodConfigResponse}
|
6210
|
+
*/
|
6211
|
+
proto.payment.PaymentMethodConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
|
6212
|
+
while (reader.nextField()) {
|
6213
|
+
if (reader.isEndGroup()) {
|
6214
|
+
break;
|
6215
|
+
}
|
6216
|
+
var field = reader.getFieldNumber();
|
6217
|
+
switch (field) {
|
6218
|
+
case 1:
|
6219
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6220
|
+
msg.setMethodId(value);
|
6221
|
+
break;
|
6222
|
+
case 2:
|
6223
|
+
var value = /** @type {string} */ (reader.readString());
|
6224
|
+
msg.setCountry(value);
|
6225
|
+
break;
|
6226
|
+
case 3:
|
6227
|
+
var value = /** @type {string} */ (reader.readString());
|
6228
|
+
msg.setCurrency(value);
|
6229
|
+
break;
|
6230
|
+
case 4:
|
6231
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6232
|
+
msg.setIsActive(value);
|
6233
|
+
break;
|
6234
|
+
case 5:
|
6235
|
+
var value = /** @type {number} */ (reader.readFloat());
|
6236
|
+
msg.setMinAmount(value);
|
6237
|
+
break;
|
6238
|
+
case 6:
|
6239
|
+
var value = /** @type {number} */ (reader.readFloat());
|
6240
|
+
msg.setMaxAmount(value);
|
6241
|
+
break;
|
6242
|
+
case 7:
|
6243
|
+
var value = /** @type {string} */ (reader.readString());
|
6244
|
+
msg.setType(value);
|
6245
|
+
break;
|
6246
|
+
case 8:
|
6247
|
+
var value = /** @type {string} */ (reader.readString());
|
6248
|
+
msg.setConfig(value);
|
6249
|
+
break;
|
6250
|
+
default:
|
6251
|
+
reader.skipField();
|
6252
|
+
break;
|
6253
|
+
}
|
6254
|
+
}
|
6255
|
+
return msg;
|
6256
|
+
};
|
6257
|
+
|
6258
|
+
|
6259
|
+
/**
|
6260
|
+
* Serializes the message to binary data (in protobuf wire format).
|
6261
|
+
* @return {!Uint8Array}
|
6262
|
+
*/
|
6263
|
+
proto.payment.PaymentMethodConfigResponse.prototype.serializeBinary = function() {
|
6264
|
+
var writer = new jspb.BinaryWriter();
|
6265
|
+
proto.payment.PaymentMethodConfigResponse.serializeBinaryToWriter(this, writer);
|
6266
|
+
return writer.getResultBuffer();
|
6267
|
+
};
|
6268
|
+
|
6269
|
+
|
6270
|
+
/**
|
6271
|
+
* Serializes the given message to binary data (in protobuf wire
|
6272
|
+
* format), writing to the given BinaryWriter.
|
6273
|
+
* @param {!proto.payment.PaymentMethodConfigResponse} message
|
6274
|
+
* @param {!jspb.BinaryWriter} writer
|
6275
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6276
|
+
*/
|
6277
|
+
proto.payment.PaymentMethodConfigResponse.serializeBinaryToWriter = function(message, writer) {
|
6278
|
+
var f = undefined;
|
6279
|
+
f = message.getMethodId();
|
6280
|
+
if (f !== 0) {
|
6281
|
+
writer.writeInt32(
|
6282
|
+
1,
|
6283
|
+
f
|
6284
|
+
);
|
6285
|
+
}
|
6286
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
6287
|
+
if (f != null) {
|
6288
|
+
writer.writeString(
|
6289
|
+
2,
|
6290
|
+
f
|
6291
|
+
);
|
6292
|
+
}
|
6293
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
6294
|
+
if (f != null) {
|
6295
|
+
writer.writeString(
|
6296
|
+
3,
|
6297
|
+
f
|
6298
|
+
);
|
6299
|
+
}
|
6300
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
6301
|
+
if (f != null) {
|
6302
|
+
writer.writeInt32(
|
6303
|
+
4,
|
6304
|
+
f
|
6305
|
+
);
|
6306
|
+
}
|
6307
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
6308
|
+
if (f != null) {
|
6309
|
+
writer.writeFloat(
|
6310
|
+
5,
|
6311
|
+
f
|
6312
|
+
);
|
6313
|
+
}
|
6314
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
6315
|
+
if (f != null) {
|
6316
|
+
writer.writeFloat(
|
6317
|
+
6,
|
6318
|
+
f
|
6319
|
+
);
|
6320
|
+
}
|
6321
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
6322
|
+
if (f != null) {
|
6323
|
+
writer.writeString(
|
6324
|
+
7,
|
6325
|
+
f
|
6326
|
+
);
|
6327
|
+
}
|
6328
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
6329
|
+
if (f != null) {
|
6330
|
+
writer.writeString(
|
6331
|
+
8,
|
6332
|
+
f
|
6333
|
+
);
|
6334
|
+
}
|
6335
|
+
};
|
6336
|
+
|
6337
|
+
|
6338
|
+
/**
|
6339
|
+
* optional int32 method_id = 1;
|
6340
|
+
* @return {number}
|
6341
|
+
*/
|
6342
|
+
proto.payment.PaymentMethodConfigResponse.prototype.getMethodId = function() {
|
6343
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
6344
|
+
};
|
6345
|
+
|
6346
|
+
|
6347
|
+
/**
|
6348
|
+
* @param {number} value
|
6349
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6350
|
+
*/
|
6351
|
+
proto.payment.PaymentMethodConfigResponse.prototype.setMethodId = function(value) {
|
6352
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
6353
|
+
};
|
6354
|
+
|
6355
|
+
|
6356
|
+
/**
|
6357
|
+
* optional string country = 2;
|
6358
|
+
* @return {string}
|
6359
|
+
*/
|
6360
|
+
proto.payment.PaymentMethodConfigResponse.prototype.getCountry = function() {
|
6361
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
6362
|
+
};
|
6363
|
+
|
6364
|
+
|
6365
|
+
/**
|
6366
|
+
* @param {string} value
|
6367
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6368
|
+
*/
|
6369
|
+
proto.payment.PaymentMethodConfigResponse.prototype.setCountry = function(value) {
|
6370
|
+
return jspb.Message.setField(this, 2, value);
|
6371
|
+
};
|
6372
|
+
|
6373
|
+
|
6374
|
+
/**
|
6375
|
+
* Clears the field making it undefined.
|
6376
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6377
|
+
*/
|
6378
|
+
proto.payment.PaymentMethodConfigResponse.prototype.clearCountry = function() {
|
6379
|
+
return jspb.Message.setField(this, 2, undefined);
|
6380
|
+
};
|
6381
|
+
|
6382
|
+
|
6383
|
+
/**
|
6384
|
+
* Returns whether this field is set.
|
6385
|
+
* @return {boolean}
|
6386
|
+
*/
|
6387
|
+
proto.payment.PaymentMethodConfigResponse.prototype.hasCountry = function() {
|
6388
|
+
return jspb.Message.getField(this, 2) != null;
|
6389
|
+
};
|
6390
|
+
|
6391
|
+
|
6392
|
+
/**
|
6393
|
+
* optional string currency = 3;
|
6394
|
+
* @return {string}
|
6395
|
+
*/
|
6396
|
+
proto.payment.PaymentMethodConfigResponse.prototype.getCurrency = function() {
|
6397
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
6398
|
+
};
|
6399
|
+
|
6400
|
+
|
6401
|
+
/**
|
6402
|
+
* @param {string} value
|
6403
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6404
|
+
*/
|
6405
|
+
proto.payment.PaymentMethodConfigResponse.prototype.setCurrency = function(value) {
|
6406
|
+
return jspb.Message.setField(this, 3, value);
|
6407
|
+
};
|
6408
|
+
|
6409
|
+
|
6410
|
+
/**
|
6411
|
+
* Clears the field making it undefined.
|
6412
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6413
|
+
*/
|
6414
|
+
proto.payment.PaymentMethodConfigResponse.prototype.clearCurrency = function() {
|
6415
|
+
return jspb.Message.setField(this, 3, undefined);
|
6416
|
+
};
|
6417
|
+
|
6418
|
+
|
6419
|
+
/**
|
6420
|
+
* Returns whether this field is set.
|
6421
|
+
* @return {boolean}
|
6422
|
+
*/
|
6423
|
+
proto.payment.PaymentMethodConfigResponse.prototype.hasCurrency = function() {
|
6424
|
+
return jspb.Message.getField(this, 3) != null;
|
6425
|
+
};
|
6426
|
+
|
6427
|
+
|
6428
|
+
/**
|
6429
|
+
* optional int32 is_active = 4;
|
6430
|
+
* @return {number}
|
6431
|
+
*/
|
6432
|
+
proto.payment.PaymentMethodConfigResponse.prototype.getIsActive = function() {
|
6433
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
6434
|
+
};
|
6435
|
+
|
6436
|
+
|
6437
|
+
/**
|
6438
|
+
* @param {number} value
|
6439
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6440
|
+
*/
|
6441
|
+
proto.payment.PaymentMethodConfigResponse.prototype.setIsActive = function(value) {
|
6442
|
+
return jspb.Message.setField(this, 4, value);
|
6443
|
+
};
|
6444
|
+
|
6445
|
+
|
6446
|
+
/**
|
6447
|
+
* Clears the field making it undefined.
|
6448
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6449
|
+
*/
|
6450
|
+
proto.payment.PaymentMethodConfigResponse.prototype.clearIsActive = function() {
|
6451
|
+
return jspb.Message.setField(this, 4, undefined);
|
6452
|
+
};
|
6453
|
+
|
6454
|
+
|
6455
|
+
/**
|
6456
|
+
* Returns whether this field is set.
|
6457
|
+
* @return {boolean}
|
6458
|
+
*/
|
6459
|
+
proto.payment.PaymentMethodConfigResponse.prototype.hasIsActive = function() {
|
6460
|
+
return jspb.Message.getField(this, 4) != null;
|
6461
|
+
};
|
6462
|
+
|
6463
|
+
|
6464
|
+
/**
|
6465
|
+
* optional float min_amount = 5;
|
6466
|
+
* @return {number}
|
6467
|
+
*/
|
6468
|
+
proto.payment.PaymentMethodConfigResponse.prototype.getMinAmount = function() {
|
6469
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
6470
|
+
};
|
6471
|
+
|
6472
|
+
|
6473
|
+
/**
|
6474
|
+
* @param {number} value
|
6475
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6476
|
+
*/
|
6477
|
+
proto.payment.PaymentMethodConfigResponse.prototype.setMinAmount = function(value) {
|
6478
|
+
return jspb.Message.setField(this, 5, value);
|
6479
|
+
};
|
6480
|
+
|
6481
|
+
|
6482
|
+
/**
|
6483
|
+
* Clears the field making it undefined.
|
6484
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6485
|
+
*/
|
6486
|
+
proto.payment.PaymentMethodConfigResponse.prototype.clearMinAmount = function() {
|
6487
|
+
return jspb.Message.setField(this, 5, undefined);
|
6488
|
+
};
|
6489
|
+
|
6490
|
+
|
6491
|
+
/**
|
6492
|
+
* Returns whether this field is set.
|
6493
|
+
* @return {boolean}
|
6494
|
+
*/
|
6495
|
+
proto.payment.PaymentMethodConfigResponse.prototype.hasMinAmount = function() {
|
6496
|
+
return jspb.Message.getField(this, 5) != null;
|
6497
|
+
};
|
6498
|
+
|
6499
|
+
|
6500
|
+
/**
|
6501
|
+
* optional float max_amount = 6;
|
6502
|
+
* @return {number}
|
6503
|
+
*/
|
6504
|
+
proto.payment.PaymentMethodConfigResponse.prototype.getMaxAmount = function() {
|
6505
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
6506
|
+
};
|
6507
|
+
|
6508
|
+
|
6509
|
+
/**
|
6510
|
+
* @param {number} value
|
6511
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6512
|
+
*/
|
6513
|
+
proto.payment.PaymentMethodConfigResponse.prototype.setMaxAmount = function(value) {
|
6514
|
+
return jspb.Message.setField(this, 6, value);
|
6515
|
+
};
|
6516
|
+
|
6517
|
+
|
6518
|
+
/**
|
6519
|
+
* Clears the field making it undefined.
|
6520
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6521
|
+
*/
|
6522
|
+
proto.payment.PaymentMethodConfigResponse.prototype.clearMaxAmount = function() {
|
6523
|
+
return jspb.Message.setField(this, 6, undefined);
|
6524
|
+
};
|
6525
|
+
|
6526
|
+
|
6527
|
+
/**
|
6528
|
+
* Returns whether this field is set.
|
6529
|
+
* @return {boolean}
|
6530
|
+
*/
|
6531
|
+
proto.payment.PaymentMethodConfigResponse.prototype.hasMaxAmount = function() {
|
6532
|
+
return jspb.Message.getField(this, 6) != null;
|
6533
|
+
};
|
6534
|
+
|
6535
|
+
|
6536
|
+
/**
|
6537
|
+
* optional string type = 7;
|
6538
|
+
* @return {string}
|
6539
|
+
*/
|
6540
|
+
proto.payment.PaymentMethodConfigResponse.prototype.getType = function() {
|
6541
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
6542
|
+
};
|
6543
|
+
|
6544
|
+
|
6545
|
+
/**
|
6546
|
+
* @param {string} value
|
6547
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6548
|
+
*/
|
6549
|
+
proto.payment.PaymentMethodConfigResponse.prototype.setType = function(value) {
|
6550
|
+
return jspb.Message.setField(this, 7, value);
|
6551
|
+
};
|
6552
|
+
|
6553
|
+
|
6554
|
+
/**
|
6555
|
+
* Clears the field making it undefined.
|
6556
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6557
|
+
*/
|
6558
|
+
proto.payment.PaymentMethodConfigResponse.prototype.clearType = function() {
|
6559
|
+
return jspb.Message.setField(this, 7, undefined);
|
6560
|
+
};
|
6561
|
+
|
6562
|
+
|
6563
|
+
/**
|
6564
|
+
* Returns whether this field is set.
|
6565
|
+
* @return {boolean}
|
6566
|
+
*/
|
6567
|
+
proto.payment.PaymentMethodConfigResponse.prototype.hasType = function() {
|
6568
|
+
return jspb.Message.getField(this, 7) != null;
|
6569
|
+
};
|
6570
|
+
|
6571
|
+
|
6572
|
+
/**
|
6573
|
+
* optional string config = 8;
|
6574
|
+
* @return {string}
|
6575
|
+
*/
|
6576
|
+
proto.payment.PaymentMethodConfigResponse.prototype.getConfig = function() {
|
6577
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
6578
|
+
};
|
6579
|
+
|
6580
|
+
|
6581
|
+
/**
|
6582
|
+
* @param {string} value
|
6583
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6584
|
+
*/
|
6585
|
+
proto.payment.PaymentMethodConfigResponse.prototype.setConfig = function(value) {
|
6586
|
+
return jspb.Message.setField(this, 8, value);
|
6587
|
+
};
|
6588
|
+
|
6589
|
+
|
6590
|
+
/**
|
6591
|
+
* Clears the field making it undefined.
|
6592
|
+
* @return {!proto.payment.PaymentMethodConfigResponse} returns this
|
6593
|
+
*/
|
6594
|
+
proto.payment.PaymentMethodConfigResponse.prototype.clearConfig = function() {
|
6595
|
+
return jspb.Message.setField(this, 8, undefined);
|
6596
|
+
};
|
6597
|
+
|
6598
|
+
|
6599
|
+
/**
|
6600
|
+
* Returns whether this field is set.
|
6601
|
+
* @return {boolean}
|
6602
|
+
*/
|
6603
|
+
proto.payment.PaymentMethodConfigResponse.prototype.hasConfig = function() {
|
6604
|
+
return jspb.Message.getField(this, 8) != null;
|
6605
|
+
};
|
6606
|
+
|
6607
|
+
|
6608
|
+
|
6609
|
+
|
6610
|
+
|
6159
6611
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
6160
6612
|
/**
|
6161
6613
|
* Creates an object representation of this proto.
|
package/user/user.proto
CHANGED
@@ -49,6 +49,14 @@ message PaginationRequest {
|
|
49
49
|
message UserSearchParams {
|
50
50
|
repeated string user_public_ids = 1;
|
51
51
|
repeated int32 user_ids = 2;
|
52
|
+
repeated string geo = 3;
|
53
|
+
repeated string currency = 4;
|
54
|
+
repeated int32 risk_statuses = 5;
|
55
|
+
repeated int32 categories = 6;
|
56
|
+
repeated int32 verification_statuses = 7;
|
57
|
+
optional string email = 8;
|
58
|
+
optional string registration_from = 9;
|
59
|
+
optional string registration_to = 10;
|
52
60
|
}
|
53
61
|
message SegmentSearchParams {
|
54
62
|
optional string type = 1;
|
package/user/user_pb.js
CHANGED
@@ -1326,7 +1326,7 @@ proto.user.PaginationRequest.prototype.hasNoteSearchParams = function() {
|
|
1326
1326
|
* @private {!Array<number>}
|
1327
1327
|
* @const
|
1328
1328
|
*/
|
1329
|
-
proto.user.UserSearchParams.repeatedFields_ = [1,2];
|
1329
|
+
proto.user.UserSearchParams.repeatedFields_ = [1,2,3,4,5,6,7];
|
1330
1330
|
|
1331
1331
|
|
1332
1332
|
|
@@ -1360,7 +1360,15 @@ proto.user.UserSearchParams.prototype.toObject = function(opt_includeInstance) {
|
|
1360
1360
|
proto.user.UserSearchParams.toObject = function(includeInstance, msg) {
|
1361
1361
|
var f, obj = {
|
1362
1362
|
userPublicIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
1363
|
-
userIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
1363
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
1364
|
+
geoList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
1365
|
+
currencyList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
1366
|
+
riskStatusesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
1367
|
+
categoriesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
1368
|
+
verificationStatusesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
1369
|
+
email: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
1370
|
+
registrationFrom: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
1371
|
+
registrationTo: jspb.Message.getFieldWithDefault(msg, 10, "")
|
1364
1372
|
};
|
1365
1373
|
|
1366
1374
|
if (includeInstance) {
|
@@ -1407,6 +1415,44 @@ proto.user.UserSearchParams.deserializeBinaryFromReader = function(msg, reader)
|
|
1407
1415
|
msg.addUserIds(values[i]);
|
1408
1416
|
}
|
1409
1417
|
break;
|
1418
|
+
case 3:
|
1419
|
+
var value = /** @type {string} */ (reader.readString());
|
1420
|
+
msg.addGeo(value);
|
1421
|
+
break;
|
1422
|
+
case 4:
|
1423
|
+
var value = /** @type {string} */ (reader.readString());
|
1424
|
+
msg.addCurrency(value);
|
1425
|
+
break;
|
1426
|
+
case 5:
|
1427
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
1428
|
+
for (var i = 0; i < values.length; i++) {
|
1429
|
+
msg.addRiskStatuses(values[i]);
|
1430
|
+
}
|
1431
|
+
break;
|
1432
|
+
case 6:
|
1433
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
1434
|
+
for (var i = 0; i < values.length; i++) {
|
1435
|
+
msg.addCategories(values[i]);
|
1436
|
+
}
|
1437
|
+
break;
|
1438
|
+
case 7:
|
1439
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
1440
|
+
for (var i = 0; i < values.length; i++) {
|
1441
|
+
msg.addVerificationStatuses(values[i]);
|
1442
|
+
}
|
1443
|
+
break;
|
1444
|
+
case 8:
|
1445
|
+
var value = /** @type {string} */ (reader.readString());
|
1446
|
+
msg.setEmail(value);
|
1447
|
+
break;
|
1448
|
+
case 9:
|
1449
|
+
var value = /** @type {string} */ (reader.readString());
|
1450
|
+
msg.setRegistrationFrom(value);
|
1451
|
+
break;
|
1452
|
+
case 10:
|
1453
|
+
var value = /** @type {string} */ (reader.readString());
|
1454
|
+
msg.setRegistrationTo(value);
|
1455
|
+
break;
|
1410
1456
|
default:
|
1411
1457
|
reader.skipField();
|
1412
1458
|
break;
|
@@ -1450,6 +1496,62 @@ proto.user.UserSearchParams.serializeBinaryToWriter = function(message, writer)
|
|
1450
1496
|
f
|
1451
1497
|
);
|
1452
1498
|
}
|
1499
|
+
f = message.getGeoList();
|
1500
|
+
if (f.length > 0) {
|
1501
|
+
writer.writeRepeatedString(
|
1502
|
+
3,
|
1503
|
+
f
|
1504
|
+
);
|
1505
|
+
}
|
1506
|
+
f = message.getCurrencyList();
|
1507
|
+
if (f.length > 0) {
|
1508
|
+
writer.writeRepeatedString(
|
1509
|
+
4,
|
1510
|
+
f
|
1511
|
+
);
|
1512
|
+
}
|
1513
|
+
f = message.getRiskStatusesList();
|
1514
|
+
if (f.length > 0) {
|
1515
|
+
writer.writePackedInt32(
|
1516
|
+
5,
|
1517
|
+
f
|
1518
|
+
);
|
1519
|
+
}
|
1520
|
+
f = message.getCategoriesList();
|
1521
|
+
if (f.length > 0) {
|
1522
|
+
writer.writePackedInt32(
|
1523
|
+
6,
|
1524
|
+
f
|
1525
|
+
);
|
1526
|
+
}
|
1527
|
+
f = message.getVerificationStatusesList();
|
1528
|
+
if (f.length > 0) {
|
1529
|
+
writer.writePackedInt32(
|
1530
|
+
7,
|
1531
|
+
f
|
1532
|
+
);
|
1533
|
+
}
|
1534
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
1535
|
+
if (f != null) {
|
1536
|
+
writer.writeString(
|
1537
|
+
8,
|
1538
|
+
f
|
1539
|
+
);
|
1540
|
+
}
|
1541
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
1542
|
+
if (f != null) {
|
1543
|
+
writer.writeString(
|
1544
|
+
9,
|
1545
|
+
f
|
1546
|
+
);
|
1547
|
+
}
|
1548
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
1549
|
+
if (f != null) {
|
1550
|
+
writer.writeString(
|
1551
|
+
10,
|
1552
|
+
f
|
1553
|
+
);
|
1554
|
+
}
|
1453
1555
|
};
|
1454
1556
|
|
1455
1557
|
|
@@ -1527,6 +1629,299 @@ proto.user.UserSearchParams.prototype.clearUserIdsList = function() {
|
|
1527
1629
|
};
|
1528
1630
|
|
1529
1631
|
|
1632
|
+
/**
|
1633
|
+
* repeated string geo = 3;
|
1634
|
+
* @return {!Array<string>}
|
1635
|
+
*/
|
1636
|
+
proto.user.UserSearchParams.prototype.getGeoList = function() {
|
1637
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
1638
|
+
};
|
1639
|
+
|
1640
|
+
|
1641
|
+
/**
|
1642
|
+
* @param {!Array<string>} value
|
1643
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1644
|
+
*/
|
1645
|
+
proto.user.UserSearchParams.prototype.setGeoList = function(value) {
|
1646
|
+
return jspb.Message.setField(this, 3, value || []);
|
1647
|
+
};
|
1648
|
+
|
1649
|
+
|
1650
|
+
/**
|
1651
|
+
* @param {string} value
|
1652
|
+
* @param {number=} opt_index
|
1653
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1654
|
+
*/
|
1655
|
+
proto.user.UserSearchParams.prototype.addGeo = function(value, opt_index) {
|
1656
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
1657
|
+
};
|
1658
|
+
|
1659
|
+
|
1660
|
+
/**
|
1661
|
+
* Clears the list making it empty but non-null.
|
1662
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1663
|
+
*/
|
1664
|
+
proto.user.UserSearchParams.prototype.clearGeoList = function() {
|
1665
|
+
return this.setGeoList([]);
|
1666
|
+
};
|
1667
|
+
|
1668
|
+
|
1669
|
+
/**
|
1670
|
+
* repeated string currency = 4;
|
1671
|
+
* @return {!Array<string>}
|
1672
|
+
*/
|
1673
|
+
proto.user.UserSearchParams.prototype.getCurrencyList = function() {
|
1674
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
1675
|
+
};
|
1676
|
+
|
1677
|
+
|
1678
|
+
/**
|
1679
|
+
* @param {!Array<string>} value
|
1680
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1681
|
+
*/
|
1682
|
+
proto.user.UserSearchParams.prototype.setCurrencyList = function(value) {
|
1683
|
+
return jspb.Message.setField(this, 4, value || []);
|
1684
|
+
};
|
1685
|
+
|
1686
|
+
|
1687
|
+
/**
|
1688
|
+
* @param {string} value
|
1689
|
+
* @param {number=} opt_index
|
1690
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1691
|
+
*/
|
1692
|
+
proto.user.UserSearchParams.prototype.addCurrency = function(value, opt_index) {
|
1693
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
1694
|
+
};
|
1695
|
+
|
1696
|
+
|
1697
|
+
/**
|
1698
|
+
* Clears the list making it empty but non-null.
|
1699
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1700
|
+
*/
|
1701
|
+
proto.user.UserSearchParams.prototype.clearCurrencyList = function() {
|
1702
|
+
return this.setCurrencyList([]);
|
1703
|
+
};
|
1704
|
+
|
1705
|
+
|
1706
|
+
/**
|
1707
|
+
* repeated int32 risk_statuses = 5;
|
1708
|
+
* @return {!Array<number>}
|
1709
|
+
*/
|
1710
|
+
proto.user.UserSearchParams.prototype.getRiskStatusesList = function() {
|
1711
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 5));
|
1712
|
+
};
|
1713
|
+
|
1714
|
+
|
1715
|
+
/**
|
1716
|
+
* @param {!Array<number>} value
|
1717
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1718
|
+
*/
|
1719
|
+
proto.user.UserSearchParams.prototype.setRiskStatusesList = function(value) {
|
1720
|
+
return jspb.Message.setField(this, 5, value || []);
|
1721
|
+
};
|
1722
|
+
|
1723
|
+
|
1724
|
+
/**
|
1725
|
+
* @param {number} value
|
1726
|
+
* @param {number=} opt_index
|
1727
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1728
|
+
*/
|
1729
|
+
proto.user.UserSearchParams.prototype.addRiskStatuses = function(value, opt_index) {
|
1730
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
1731
|
+
};
|
1732
|
+
|
1733
|
+
|
1734
|
+
/**
|
1735
|
+
* Clears the list making it empty but non-null.
|
1736
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1737
|
+
*/
|
1738
|
+
proto.user.UserSearchParams.prototype.clearRiskStatusesList = function() {
|
1739
|
+
return this.setRiskStatusesList([]);
|
1740
|
+
};
|
1741
|
+
|
1742
|
+
|
1743
|
+
/**
|
1744
|
+
* repeated int32 categories = 6;
|
1745
|
+
* @return {!Array<number>}
|
1746
|
+
*/
|
1747
|
+
proto.user.UserSearchParams.prototype.getCategoriesList = function() {
|
1748
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 6));
|
1749
|
+
};
|
1750
|
+
|
1751
|
+
|
1752
|
+
/**
|
1753
|
+
* @param {!Array<number>} value
|
1754
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1755
|
+
*/
|
1756
|
+
proto.user.UserSearchParams.prototype.setCategoriesList = function(value) {
|
1757
|
+
return jspb.Message.setField(this, 6, value || []);
|
1758
|
+
};
|
1759
|
+
|
1760
|
+
|
1761
|
+
/**
|
1762
|
+
* @param {number} value
|
1763
|
+
* @param {number=} opt_index
|
1764
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1765
|
+
*/
|
1766
|
+
proto.user.UserSearchParams.prototype.addCategories = function(value, opt_index) {
|
1767
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
1768
|
+
};
|
1769
|
+
|
1770
|
+
|
1771
|
+
/**
|
1772
|
+
* Clears the list making it empty but non-null.
|
1773
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1774
|
+
*/
|
1775
|
+
proto.user.UserSearchParams.prototype.clearCategoriesList = function() {
|
1776
|
+
return this.setCategoriesList([]);
|
1777
|
+
};
|
1778
|
+
|
1779
|
+
|
1780
|
+
/**
|
1781
|
+
* repeated int32 verification_statuses = 7;
|
1782
|
+
* @return {!Array<number>}
|
1783
|
+
*/
|
1784
|
+
proto.user.UserSearchParams.prototype.getVerificationStatusesList = function() {
|
1785
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 7));
|
1786
|
+
};
|
1787
|
+
|
1788
|
+
|
1789
|
+
/**
|
1790
|
+
* @param {!Array<number>} value
|
1791
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1792
|
+
*/
|
1793
|
+
proto.user.UserSearchParams.prototype.setVerificationStatusesList = function(value) {
|
1794
|
+
return jspb.Message.setField(this, 7, value || []);
|
1795
|
+
};
|
1796
|
+
|
1797
|
+
|
1798
|
+
/**
|
1799
|
+
* @param {number} value
|
1800
|
+
* @param {number=} opt_index
|
1801
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1802
|
+
*/
|
1803
|
+
proto.user.UserSearchParams.prototype.addVerificationStatuses = function(value, opt_index) {
|
1804
|
+
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
|
1805
|
+
};
|
1806
|
+
|
1807
|
+
|
1808
|
+
/**
|
1809
|
+
* Clears the list making it empty but non-null.
|
1810
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1811
|
+
*/
|
1812
|
+
proto.user.UserSearchParams.prototype.clearVerificationStatusesList = function() {
|
1813
|
+
return this.setVerificationStatusesList([]);
|
1814
|
+
};
|
1815
|
+
|
1816
|
+
|
1817
|
+
/**
|
1818
|
+
* optional string email = 8;
|
1819
|
+
* @return {string}
|
1820
|
+
*/
|
1821
|
+
proto.user.UserSearchParams.prototype.getEmail = function() {
|
1822
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
1823
|
+
};
|
1824
|
+
|
1825
|
+
|
1826
|
+
/**
|
1827
|
+
* @param {string} value
|
1828
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1829
|
+
*/
|
1830
|
+
proto.user.UserSearchParams.prototype.setEmail = function(value) {
|
1831
|
+
return jspb.Message.setField(this, 8, value);
|
1832
|
+
};
|
1833
|
+
|
1834
|
+
|
1835
|
+
/**
|
1836
|
+
* Clears the field making it undefined.
|
1837
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1838
|
+
*/
|
1839
|
+
proto.user.UserSearchParams.prototype.clearEmail = function() {
|
1840
|
+
return jspb.Message.setField(this, 8, undefined);
|
1841
|
+
};
|
1842
|
+
|
1843
|
+
|
1844
|
+
/**
|
1845
|
+
* Returns whether this field is set.
|
1846
|
+
* @return {boolean}
|
1847
|
+
*/
|
1848
|
+
proto.user.UserSearchParams.prototype.hasEmail = function() {
|
1849
|
+
return jspb.Message.getField(this, 8) != null;
|
1850
|
+
};
|
1851
|
+
|
1852
|
+
|
1853
|
+
/**
|
1854
|
+
* optional string registration_from = 9;
|
1855
|
+
* @return {string}
|
1856
|
+
*/
|
1857
|
+
proto.user.UserSearchParams.prototype.getRegistrationFrom = function() {
|
1858
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
1859
|
+
};
|
1860
|
+
|
1861
|
+
|
1862
|
+
/**
|
1863
|
+
* @param {string} value
|
1864
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1865
|
+
*/
|
1866
|
+
proto.user.UserSearchParams.prototype.setRegistrationFrom = function(value) {
|
1867
|
+
return jspb.Message.setField(this, 9, value);
|
1868
|
+
};
|
1869
|
+
|
1870
|
+
|
1871
|
+
/**
|
1872
|
+
* Clears the field making it undefined.
|
1873
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1874
|
+
*/
|
1875
|
+
proto.user.UserSearchParams.prototype.clearRegistrationFrom = function() {
|
1876
|
+
return jspb.Message.setField(this, 9, undefined);
|
1877
|
+
};
|
1878
|
+
|
1879
|
+
|
1880
|
+
/**
|
1881
|
+
* Returns whether this field is set.
|
1882
|
+
* @return {boolean}
|
1883
|
+
*/
|
1884
|
+
proto.user.UserSearchParams.prototype.hasRegistrationFrom = function() {
|
1885
|
+
return jspb.Message.getField(this, 9) != null;
|
1886
|
+
};
|
1887
|
+
|
1888
|
+
|
1889
|
+
/**
|
1890
|
+
* optional string registration_to = 10;
|
1891
|
+
* @return {string}
|
1892
|
+
*/
|
1893
|
+
proto.user.UserSearchParams.prototype.getRegistrationTo = function() {
|
1894
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
1895
|
+
};
|
1896
|
+
|
1897
|
+
|
1898
|
+
/**
|
1899
|
+
* @param {string} value
|
1900
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1901
|
+
*/
|
1902
|
+
proto.user.UserSearchParams.prototype.setRegistrationTo = function(value) {
|
1903
|
+
return jspb.Message.setField(this, 10, value);
|
1904
|
+
};
|
1905
|
+
|
1906
|
+
|
1907
|
+
/**
|
1908
|
+
* Clears the field making it undefined.
|
1909
|
+
* @return {!proto.user.UserSearchParams} returns this
|
1910
|
+
*/
|
1911
|
+
proto.user.UserSearchParams.prototype.clearRegistrationTo = function() {
|
1912
|
+
return jspb.Message.setField(this, 10, undefined);
|
1913
|
+
};
|
1914
|
+
|
1915
|
+
|
1916
|
+
/**
|
1917
|
+
* Returns whether this field is set.
|
1918
|
+
* @return {boolean}
|
1919
|
+
*/
|
1920
|
+
proto.user.UserSearchParams.prototype.hasRegistrationTo = function() {
|
1921
|
+
return jspb.Message.getField(this, 10) != null;
|
1922
|
+
};
|
1923
|
+
|
1924
|
+
|
1530
1925
|
|
1531
1926
|
|
1532
1927
|
|