protobuf-platform 1.2.383 → 1.2.385
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 +2 -0
- package/payment/payment_pb.js +97 -1
- package/user/user.proto +3 -0
- package/user/user_pb.js +145 -1
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
package/payment/payment_pb.js
CHANGED
|
@@ -10609,7 +10609,9 @@ proto.payment.OperationDetailsItem.toObject = function(includeInstance, msg) {
|
|
|
10609
10609
|
processingType: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
10610
10610
|
completionMode: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
10611
10611
|
created: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
10612
|
-
completed: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
10612
|
+
completed: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
10613
|
+
comment: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
10614
|
+
providerCode: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
10613
10615
|
};
|
|
10614
10616
|
|
|
10615
10617
|
if (includeInstance) {
|
|
@@ -10710,6 +10712,14 @@ proto.payment.OperationDetailsItem.deserializeBinaryFromReader = function(msg, r
|
|
|
10710
10712
|
var value = /** @type {string} */ (reader.readString());
|
|
10711
10713
|
msg.setCompleted(value);
|
|
10712
10714
|
break;
|
|
10715
|
+
case 17:
|
|
10716
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10717
|
+
msg.setComment(value);
|
|
10718
|
+
break;
|
|
10719
|
+
case 18:
|
|
10720
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10721
|
+
msg.setProviderCode(value);
|
|
10722
|
+
break;
|
|
10713
10723
|
default:
|
|
10714
10724
|
reader.skipField();
|
|
10715
10725
|
break;
|
|
@@ -10851,6 +10861,20 @@ proto.payment.OperationDetailsItem.serializeBinaryToWriter = function(message, w
|
|
|
10851
10861
|
f
|
|
10852
10862
|
);
|
|
10853
10863
|
}
|
|
10864
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 17));
|
|
10865
|
+
if (f != null) {
|
|
10866
|
+
writer.writeString(
|
|
10867
|
+
17,
|
|
10868
|
+
f
|
|
10869
|
+
);
|
|
10870
|
+
}
|
|
10871
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 18));
|
|
10872
|
+
if (f != null) {
|
|
10873
|
+
writer.writeString(
|
|
10874
|
+
18,
|
|
10875
|
+
f
|
|
10876
|
+
);
|
|
10877
|
+
}
|
|
10854
10878
|
};
|
|
10855
10879
|
|
|
10856
10880
|
|
|
@@ -11142,6 +11166,78 @@ proto.payment.OperationDetailsItem.prototype.setCompleted = function(value) {
|
|
|
11142
11166
|
};
|
|
11143
11167
|
|
|
11144
11168
|
|
|
11169
|
+
/**
|
|
11170
|
+
* optional string comment = 17;
|
|
11171
|
+
* @return {string}
|
|
11172
|
+
*/
|
|
11173
|
+
proto.payment.OperationDetailsItem.prototype.getComment = function() {
|
|
11174
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
11175
|
+
};
|
|
11176
|
+
|
|
11177
|
+
|
|
11178
|
+
/**
|
|
11179
|
+
* @param {string} value
|
|
11180
|
+
* @return {!proto.payment.OperationDetailsItem} returns this
|
|
11181
|
+
*/
|
|
11182
|
+
proto.payment.OperationDetailsItem.prototype.setComment = function(value) {
|
|
11183
|
+
return jspb.Message.setField(this, 17, value);
|
|
11184
|
+
};
|
|
11185
|
+
|
|
11186
|
+
|
|
11187
|
+
/**
|
|
11188
|
+
* Clears the field making it undefined.
|
|
11189
|
+
* @return {!proto.payment.OperationDetailsItem} returns this
|
|
11190
|
+
*/
|
|
11191
|
+
proto.payment.OperationDetailsItem.prototype.clearComment = function() {
|
|
11192
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
11193
|
+
};
|
|
11194
|
+
|
|
11195
|
+
|
|
11196
|
+
/**
|
|
11197
|
+
* Returns whether this field is set.
|
|
11198
|
+
* @return {boolean}
|
|
11199
|
+
*/
|
|
11200
|
+
proto.payment.OperationDetailsItem.prototype.hasComment = function() {
|
|
11201
|
+
return jspb.Message.getField(this, 17) != null;
|
|
11202
|
+
};
|
|
11203
|
+
|
|
11204
|
+
|
|
11205
|
+
/**
|
|
11206
|
+
* optional string provider_code = 18;
|
|
11207
|
+
* @return {string}
|
|
11208
|
+
*/
|
|
11209
|
+
proto.payment.OperationDetailsItem.prototype.getProviderCode = function() {
|
|
11210
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
11211
|
+
};
|
|
11212
|
+
|
|
11213
|
+
|
|
11214
|
+
/**
|
|
11215
|
+
* @param {string} value
|
|
11216
|
+
* @return {!proto.payment.OperationDetailsItem} returns this
|
|
11217
|
+
*/
|
|
11218
|
+
proto.payment.OperationDetailsItem.prototype.setProviderCode = function(value) {
|
|
11219
|
+
return jspb.Message.setField(this, 18, value);
|
|
11220
|
+
};
|
|
11221
|
+
|
|
11222
|
+
|
|
11223
|
+
/**
|
|
11224
|
+
* Clears the field making it undefined.
|
|
11225
|
+
* @return {!proto.payment.OperationDetailsItem} returns this
|
|
11226
|
+
*/
|
|
11227
|
+
proto.payment.OperationDetailsItem.prototype.clearProviderCode = function() {
|
|
11228
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
11229
|
+
};
|
|
11230
|
+
|
|
11231
|
+
|
|
11232
|
+
/**
|
|
11233
|
+
* Returns whether this field is set.
|
|
11234
|
+
* @return {boolean}
|
|
11235
|
+
*/
|
|
11236
|
+
proto.payment.OperationDetailsItem.prototype.hasProviderCode = function() {
|
|
11237
|
+
return jspb.Message.getField(this, 18) != null;
|
|
11238
|
+
};
|
|
11239
|
+
|
|
11240
|
+
|
|
11145
11241
|
|
|
11146
11242
|
|
|
11147
11243
|
|
package/user/user.proto
CHANGED
|
@@ -240,6 +240,9 @@ message TelegramLoginRequest {
|
|
|
240
240
|
optional string city = 9;
|
|
241
241
|
optional string antifraud_session = 10;
|
|
242
242
|
optional string user_agent = 11;
|
|
243
|
+
optional string affiliate_info = 12;
|
|
244
|
+
optional int32 affiliate_id = 13;
|
|
245
|
+
optional string promo_code = 14;
|
|
243
246
|
}
|
|
244
247
|
message GoogleLoginRequest {
|
|
245
248
|
string code = 1;
|
package/user/user_pb.js
CHANGED
|
@@ -8346,7 +8346,10 @@ proto.user.TelegramLoginRequest.toObject = function(includeInstance, msg) {
|
|
|
8346
8346
|
country: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
8347
8347
|
city: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
8348
8348
|
antifraudSession: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
8349
|
-
userAgent: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
8349
|
+
userAgent: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
8350
|
+
affiliateInfo: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
8351
|
+
affiliateId: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
8352
|
+
promoCode: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
8350
8353
|
};
|
|
8351
8354
|
|
|
8352
8355
|
if (includeInstance) {
|
|
@@ -8427,6 +8430,18 @@ proto.user.TelegramLoginRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
8427
8430
|
var value = /** @type {string} */ (reader.readString());
|
|
8428
8431
|
msg.setUserAgent(value);
|
|
8429
8432
|
break;
|
|
8433
|
+
case 12:
|
|
8434
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8435
|
+
msg.setAffiliateInfo(value);
|
|
8436
|
+
break;
|
|
8437
|
+
case 13:
|
|
8438
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
8439
|
+
msg.setAffiliateId(value);
|
|
8440
|
+
break;
|
|
8441
|
+
case 14:
|
|
8442
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8443
|
+
msg.setPromoCode(value);
|
|
8444
|
+
break;
|
|
8430
8445
|
default:
|
|
8431
8446
|
reader.skipField();
|
|
8432
8447
|
break;
|
|
@@ -8533,6 +8548,27 @@ proto.user.TelegramLoginRequest.serializeBinaryToWriter = function(message, writ
|
|
|
8533
8548
|
f
|
|
8534
8549
|
);
|
|
8535
8550
|
}
|
|
8551
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
8552
|
+
if (f != null) {
|
|
8553
|
+
writer.writeString(
|
|
8554
|
+
12,
|
|
8555
|
+
f
|
|
8556
|
+
);
|
|
8557
|
+
}
|
|
8558
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
|
8559
|
+
if (f != null) {
|
|
8560
|
+
writer.writeInt32(
|
|
8561
|
+
13,
|
|
8562
|
+
f
|
|
8563
|
+
);
|
|
8564
|
+
}
|
|
8565
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
8566
|
+
if (f != null) {
|
|
8567
|
+
writer.writeString(
|
|
8568
|
+
14,
|
|
8569
|
+
f
|
|
8570
|
+
);
|
|
8571
|
+
}
|
|
8536
8572
|
};
|
|
8537
8573
|
|
|
8538
8574
|
|
|
@@ -8914,6 +8950,114 @@ proto.user.TelegramLoginRequest.prototype.hasUserAgent = function() {
|
|
|
8914
8950
|
};
|
|
8915
8951
|
|
|
8916
8952
|
|
|
8953
|
+
/**
|
|
8954
|
+
* optional string affiliate_info = 12;
|
|
8955
|
+
* @return {string}
|
|
8956
|
+
*/
|
|
8957
|
+
proto.user.TelegramLoginRequest.prototype.getAffiliateInfo = function() {
|
|
8958
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
8959
|
+
};
|
|
8960
|
+
|
|
8961
|
+
|
|
8962
|
+
/**
|
|
8963
|
+
* @param {string} value
|
|
8964
|
+
* @return {!proto.user.TelegramLoginRequest} returns this
|
|
8965
|
+
*/
|
|
8966
|
+
proto.user.TelegramLoginRequest.prototype.setAffiliateInfo = function(value) {
|
|
8967
|
+
return jspb.Message.setField(this, 12, value);
|
|
8968
|
+
};
|
|
8969
|
+
|
|
8970
|
+
|
|
8971
|
+
/**
|
|
8972
|
+
* Clears the field making it undefined.
|
|
8973
|
+
* @return {!proto.user.TelegramLoginRequest} returns this
|
|
8974
|
+
*/
|
|
8975
|
+
proto.user.TelegramLoginRequest.prototype.clearAffiliateInfo = function() {
|
|
8976
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
8977
|
+
};
|
|
8978
|
+
|
|
8979
|
+
|
|
8980
|
+
/**
|
|
8981
|
+
* Returns whether this field is set.
|
|
8982
|
+
* @return {boolean}
|
|
8983
|
+
*/
|
|
8984
|
+
proto.user.TelegramLoginRequest.prototype.hasAffiliateInfo = function() {
|
|
8985
|
+
return jspb.Message.getField(this, 12) != null;
|
|
8986
|
+
};
|
|
8987
|
+
|
|
8988
|
+
|
|
8989
|
+
/**
|
|
8990
|
+
* optional int32 affiliate_id = 13;
|
|
8991
|
+
* @return {number}
|
|
8992
|
+
*/
|
|
8993
|
+
proto.user.TelegramLoginRequest.prototype.getAffiliateId = function() {
|
|
8994
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
8995
|
+
};
|
|
8996
|
+
|
|
8997
|
+
|
|
8998
|
+
/**
|
|
8999
|
+
* @param {number} value
|
|
9000
|
+
* @return {!proto.user.TelegramLoginRequest} returns this
|
|
9001
|
+
*/
|
|
9002
|
+
proto.user.TelegramLoginRequest.prototype.setAffiliateId = function(value) {
|
|
9003
|
+
return jspb.Message.setField(this, 13, value);
|
|
9004
|
+
};
|
|
9005
|
+
|
|
9006
|
+
|
|
9007
|
+
/**
|
|
9008
|
+
* Clears the field making it undefined.
|
|
9009
|
+
* @return {!proto.user.TelegramLoginRequest} returns this
|
|
9010
|
+
*/
|
|
9011
|
+
proto.user.TelegramLoginRequest.prototype.clearAffiliateId = function() {
|
|
9012
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
9013
|
+
};
|
|
9014
|
+
|
|
9015
|
+
|
|
9016
|
+
/**
|
|
9017
|
+
* Returns whether this field is set.
|
|
9018
|
+
* @return {boolean}
|
|
9019
|
+
*/
|
|
9020
|
+
proto.user.TelegramLoginRequest.prototype.hasAffiliateId = function() {
|
|
9021
|
+
return jspb.Message.getField(this, 13) != null;
|
|
9022
|
+
};
|
|
9023
|
+
|
|
9024
|
+
|
|
9025
|
+
/**
|
|
9026
|
+
* optional string promo_code = 14;
|
|
9027
|
+
* @return {string}
|
|
9028
|
+
*/
|
|
9029
|
+
proto.user.TelegramLoginRequest.prototype.getPromoCode = function() {
|
|
9030
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
9031
|
+
};
|
|
9032
|
+
|
|
9033
|
+
|
|
9034
|
+
/**
|
|
9035
|
+
* @param {string} value
|
|
9036
|
+
* @return {!proto.user.TelegramLoginRequest} returns this
|
|
9037
|
+
*/
|
|
9038
|
+
proto.user.TelegramLoginRequest.prototype.setPromoCode = function(value) {
|
|
9039
|
+
return jspb.Message.setField(this, 14, value);
|
|
9040
|
+
};
|
|
9041
|
+
|
|
9042
|
+
|
|
9043
|
+
/**
|
|
9044
|
+
* Clears the field making it undefined.
|
|
9045
|
+
* @return {!proto.user.TelegramLoginRequest} returns this
|
|
9046
|
+
*/
|
|
9047
|
+
proto.user.TelegramLoginRequest.prototype.clearPromoCode = function() {
|
|
9048
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
9049
|
+
};
|
|
9050
|
+
|
|
9051
|
+
|
|
9052
|
+
/**
|
|
9053
|
+
* Returns whether this field is set.
|
|
9054
|
+
* @return {boolean}
|
|
9055
|
+
*/
|
|
9056
|
+
proto.user.TelegramLoginRequest.prototype.hasPromoCode = function() {
|
|
9057
|
+
return jspb.Message.getField(this, 14) != null;
|
|
9058
|
+
};
|
|
9059
|
+
|
|
9060
|
+
|
|
8917
9061
|
|
|
8918
9062
|
|
|
8919
9063
|
|