protobuf-platform 1.2.406 → 1.2.408
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 +5 -0
- package/payment/payment_grpc_pb.js +33 -0
- package/payment/payment_pb.js +305 -0
- package/promocode/promocode.proto +2 -0
- package/promocode/promocode_pb.js +98 -2
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -23,6 +23,7 @@ service Payment {
|
|
|
23
23
|
rpc readListPoorMethods(PoorMethodsRequest) returns (MethodItemsResponse);
|
|
24
24
|
rpc setPaymentMethodConfig(PaymentMethodConfigRequest) returns (PaymentStatusResponse);
|
|
25
25
|
rpc readPaymentMethodConfig(PaymentMethodConfigRequest) returns (PaymentMethodConfigResponse);
|
|
26
|
+
rpc readListCashierFields(CashierFieldsRequest) returns (CashierFieldItemsResponse);
|
|
26
27
|
rpc updatePaymentMethodsInBunch(ItemsBunchRequest) returns (PaymentStatusResponse);
|
|
27
28
|
//Operations
|
|
28
29
|
rpc readListOperations(PaginationRequest) returns (OperationItemsResponse);
|
|
@@ -238,6 +239,10 @@ message PaymentMethodConfigResponse {
|
|
|
238
239
|
optional bool sdk_enabled = 10;
|
|
239
240
|
repeated CashierFieldItem cashier_fields = 11;
|
|
240
241
|
}
|
|
242
|
+
message CashierFieldsRequest {}
|
|
243
|
+
message CashierFieldItemsResponse {
|
|
244
|
+
repeated CashierFieldItem items = 1;
|
|
245
|
+
}
|
|
241
246
|
//Operations
|
|
242
247
|
message OperationItem {
|
|
243
248
|
int32 id = 1;
|
|
@@ -26,6 +26,28 @@ function deserialize_payment_AttemptWithdrawalRequest(buffer_arg) {
|
|
|
26
26
|
return payment_pb.AttemptWithdrawalRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
function serialize_payment_CashierFieldItemsResponse(arg) {
|
|
30
|
+
if (!(arg instanceof payment_pb.CashierFieldItemsResponse)) {
|
|
31
|
+
throw new Error('Expected argument of type payment.CashierFieldItemsResponse');
|
|
32
|
+
}
|
|
33
|
+
return Buffer.from(arg.serializeBinary());
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function deserialize_payment_CashierFieldItemsResponse(buffer_arg) {
|
|
37
|
+
return payment_pb.CashierFieldItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function serialize_payment_CashierFieldsRequest(arg) {
|
|
41
|
+
if (!(arg instanceof payment_pb.CashierFieldsRequest)) {
|
|
42
|
+
throw new Error('Expected argument of type payment.CashierFieldsRequest');
|
|
43
|
+
}
|
|
44
|
+
return Buffer.from(arg.serializeBinary());
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function deserialize_payment_CashierFieldsRequest(buffer_arg) {
|
|
48
|
+
return payment_pb.CashierFieldsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
49
|
+
}
|
|
50
|
+
|
|
29
51
|
function serialize_payment_CheckFastDepositRequest(arg) {
|
|
30
52
|
if (!(arg instanceof payment_pb.CheckFastDepositRequest)) {
|
|
31
53
|
throw new Error('Expected argument of type payment.CheckFastDepositRequest');
|
|
@@ -866,6 +888,17 @@ createSingleMethod: {
|
|
|
866
888
|
responseSerialize: serialize_payment_PaymentMethodConfigResponse,
|
|
867
889
|
responseDeserialize: deserialize_payment_PaymentMethodConfigResponse,
|
|
868
890
|
},
|
|
891
|
+
readListCashierFields: {
|
|
892
|
+
path: '/payment.Payment/readListCashierFields',
|
|
893
|
+
requestStream: false,
|
|
894
|
+
responseStream: false,
|
|
895
|
+
requestType: payment_pb.CashierFieldsRequest,
|
|
896
|
+
responseType: payment_pb.CashierFieldItemsResponse,
|
|
897
|
+
requestSerialize: serialize_payment_CashierFieldsRequest,
|
|
898
|
+
requestDeserialize: deserialize_payment_CashierFieldsRequest,
|
|
899
|
+
responseSerialize: serialize_payment_CashierFieldItemsResponse,
|
|
900
|
+
responseDeserialize: deserialize_payment_CashierFieldItemsResponse,
|
|
901
|
+
},
|
|
869
902
|
updatePaymentMethodsInBunch: {
|
|
870
903
|
path: '/payment.Payment/updatePaymentMethodsInBunch',
|
|
871
904
|
requestStream: false,
|
package/payment/payment_pb.js
CHANGED
|
@@ -24,6 +24,8 @@ var global = (function() {
|
|
|
24
24
|
goog.exportSymbol('proto.payment.AttemptDepositRequest', null, global);
|
|
25
25
|
goog.exportSymbol('proto.payment.AttemptWithdrawalRequest', null, global);
|
|
26
26
|
goog.exportSymbol('proto.payment.CashierFieldItem', null, global);
|
|
27
|
+
goog.exportSymbol('proto.payment.CashierFieldItemsResponse', null, global);
|
|
28
|
+
goog.exportSymbol('proto.payment.CashierFieldsRequest', null, global);
|
|
27
29
|
goog.exportSymbol('proto.payment.CheckFastDepositRequest', null, global);
|
|
28
30
|
goog.exportSymbol('proto.payment.CheckFastDepositResponse', null, global);
|
|
29
31
|
goog.exportSymbol('proto.payment.CryptoDepositInstructions', null, global);
|
|
@@ -691,6 +693,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
691
693
|
*/
|
|
692
694
|
proto.payment.PaymentMethodConfigResponse.displayName = 'proto.payment.PaymentMethodConfigResponse';
|
|
693
695
|
}
|
|
696
|
+
/**
|
|
697
|
+
* Generated by JsPbCodeGenerator.
|
|
698
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
699
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
700
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
701
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
702
|
+
* valid.
|
|
703
|
+
* @extends {jspb.Message}
|
|
704
|
+
* @constructor
|
|
705
|
+
*/
|
|
706
|
+
proto.payment.CashierFieldsRequest = function(opt_data) {
|
|
707
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
708
|
+
};
|
|
709
|
+
goog.inherits(proto.payment.CashierFieldsRequest, jspb.Message);
|
|
710
|
+
if (goog.DEBUG && !COMPILED) {
|
|
711
|
+
/**
|
|
712
|
+
* @public
|
|
713
|
+
* @override
|
|
714
|
+
*/
|
|
715
|
+
proto.payment.CashierFieldsRequest.displayName = 'proto.payment.CashierFieldsRequest';
|
|
716
|
+
}
|
|
717
|
+
/**
|
|
718
|
+
* Generated by JsPbCodeGenerator.
|
|
719
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
720
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
721
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
722
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
723
|
+
* valid.
|
|
724
|
+
* @extends {jspb.Message}
|
|
725
|
+
* @constructor
|
|
726
|
+
*/
|
|
727
|
+
proto.payment.CashierFieldItemsResponse = function(opt_data) {
|
|
728
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.CashierFieldItemsResponse.repeatedFields_, null);
|
|
729
|
+
};
|
|
730
|
+
goog.inherits(proto.payment.CashierFieldItemsResponse, jspb.Message);
|
|
731
|
+
if (goog.DEBUG && !COMPILED) {
|
|
732
|
+
/**
|
|
733
|
+
* @public
|
|
734
|
+
* @override
|
|
735
|
+
*/
|
|
736
|
+
proto.payment.CashierFieldItemsResponse.displayName = 'proto.payment.CashierFieldItemsResponse';
|
|
737
|
+
}
|
|
694
738
|
/**
|
|
695
739
|
* Generated by JsPbCodeGenerator.
|
|
696
740
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -10344,6 +10388,267 @@ proto.payment.PaymentMethodConfigResponse.prototype.clearCashierFieldsList = fun
|
|
|
10344
10388
|
|
|
10345
10389
|
|
|
10346
10390
|
|
|
10391
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10392
|
+
/**
|
|
10393
|
+
* Creates an object representation of this proto.
|
|
10394
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10395
|
+
* Optional fields that are not set will be set to undefined.
|
|
10396
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10397
|
+
* For the list of reserved names please see:
|
|
10398
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10399
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10400
|
+
* JSPB instance for transitional soy proto support:
|
|
10401
|
+
* http://goto/soy-param-migration
|
|
10402
|
+
* @return {!Object}
|
|
10403
|
+
*/
|
|
10404
|
+
proto.payment.CashierFieldsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10405
|
+
return proto.payment.CashierFieldsRequest.toObject(opt_includeInstance, this);
|
|
10406
|
+
};
|
|
10407
|
+
|
|
10408
|
+
|
|
10409
|
+
/**
|
|
10410
|
+
* Static version of the {@see toObject} method.
|
|
10411
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10412
|
+
* the JSPB instance for transitional soy proto support:
|
|
10413
|
+
* http://goto/soy-param-migration
|
|
10414
|
+
* @param {!proto.payment.CashierFieldsRequest} msg The msg instance to transform.
|
|
10415
|
+
* @return {!Object}
|
|
10416
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10417
|
+
*/
|
|
10418
|
+
proto.payment.CashierFieldsRequest.toObject = function(includeInstance, msg) {
|
|
10419
|
+
var f, obj = {
|
|
10420
|
+
|
|
10421
|
+
};
|
|
10422
|
+
|
|
10423
|
+
if (includeInstance) {
|
|
10424
|
+
obj.$jspbMessageInstance = msg;
|
|
10425
|
+
}
|
|
10426
|
+
return obj;
|
|
10427
|
+
};
|
|
10428
|
+
}
|
|
10429
|
+
|
|
10430
|
+
|
|
10431
|
+
/**
|
|
10432
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10433
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10434
|
+
* @return {!proto.payment.CashierFieldsRequest}
|
|
10435
|
+
*/
|
|
10436
|
+
proto.payment.CashierFieldsRequest.deserializeBinary = function(bytes) {
|
|
10437
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10438
|
+
var msg = new proto.payment.CashierFieldsRequest;
|
|
10439
|
+
return proto.payment.CashierFieldsRequest.deserializeBinaryFromReader(msg, reader);
|
|
10440
|
+
};
|
|
10441
|
+
|
|
10442
|
+
|
|
10443
|
+
/**
|
|
10444
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10445
|
+
* given reader into the given message object.
|
|
10446
|
+
* @param {!proto.payment.CashierFieldsRequest} msg The message object to deserialize into.
|
|
10447
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10448
|
+
* @return {!proto.payment.CashierFieldsRequest}
|
|
10449
|
+
*/
|
|
10450
|
+
proto.payment.CashierFieldsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10451
|
+
while (reader.nextField()) {
|
|
10452
|
+
if (reader.isEndGroup()) {
|
|
10453
|
+
break;
|
|
10454
|
+
}
|
|
10455
|
+
var field = reader.getFieldNumber();
|
|
10456
|
+
switch (field) {
|
|
10457
|
+
default:
|
|
10458
|
+
reader.skipField();
|
|
10459
|
+
break;
|
|
10460
|
+
}
|
|
10461
|
+
}
|
|
10462
|
+
return msg;
|
|
10463
|
+
};
|
|
10464
|
+
|
|
10465
|
+
|
|
10466
|
+
/**
|
|
10467
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10468
|
+
* @return {!Uint8Array}
|
|
10469
|
+
*/
|
|
10470
|
+
proto.payment.CashierFieldsRequest.prototype.serializeBinary = function() {
|
|
10471
|
+
var writer = new jspb.BinaryWriter();
|
|
10472
|
+
proto.payment.CashierFieldsRequest.serializeBinaryToWriter(this, writer);
|
|
10473
|
+
return writer.getResultBuffer();
|
|
10474
|
+
};
|
|
10475
|
+
|
|
10476
|
+
|
|
10477
|
+
/**
|
|
10478
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10479
|
+
* format), writing to the given BinaryWriter.
|
|
10480
|
+
* @param {!proto.payment.CashierFieldsRequest} message
|
|
10481
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10482
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10483
|
+
*/
|
|
10484
|
+
proto.payment.CashierFieldsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10485
|
+
var f = undefined;
|
|
10486
|
+
};
|
|
10487
|
+
|
|
10488
|
+
|
|
10489
|
+
|
|
10490
|
+
/**
|
|
10491
|
+
* List of repeated fields within this message type.
|
|
10492
|
+
* @private {!Array<number>}
|
|
10493
|
+
* @const
|
|
10494
|
+
*/
|
|
10495
|
+
proto.payment.CashierFieldItemsResponse.repeatedFields_ = [1];
|
|
10496
|
+
|
|
10497
|
+
|
|
10498
|
+
|
|
10499
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10500
|
+
/**
|
|
10501
|
+
* Creates an object representation of this proto.
|
|
10502
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10503
|
+
* Optional fields that are not set will be set to undefined.
|
|
10504
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10505
|
+
* For the list of reserved names please see:
|
|
10506
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10507
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10508
|
+
* JSPB instance for transitional soy proto support:
|
|
10509
|
+
* http://goto/soy-param-migration
|
|
10510
|
+
* @return {!Object}
|
|
10511
|
+
*/
|
|
10512
|
+
proto.payment.CashierFieldItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10513
|
+
return proto.payment.CashierFieldItemsResponse.toObject(opt_includeInstance, this);
|
|
10514
|
+
};
|
|
10515
|
+
|
|
10516
|
+
|
|
10517
|
+
/**
|
|
10518
|
+
* Static version of the {@see toObject} method.
|
|
10519
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10520
|
+
* the JSPB instance for transitional soy proto support:
|
|
10521
|
+
* http://goto/soy-param-migration
|
|
10522
|
+
* @param {!proto.payment.CashierFieldItemsResponse} msg The msg instance to transform.
|
|
10523
|
+
* @return {!Object}
|
|
10524
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10525
|
+
*/
|
|
10526
|
+
proto.payment.CashierFieldItemsResponse.toObject = function(includeInstance, msg) {
|
|
10527
|
+
var f, obj = {
|
|
10528
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
10529
|
+
proto.payment.CashierFieldItem.toObject, includeInstance)
|
|
10530
|
+
};
|
|
10531
|
+
|
|
10532
|
+
if (includeInstance) {
|
|
10533
|
+
obj.$jspbMessageInstance = msg;
|
|
10534
|
+
}
|
|
10535
|
+
return obj;
|
|
10536
|
+
};
|
|
10537
|
+
}
|
|
10538
|
+
|
|
10539
|
+
|
|
10540
|
+
/**
|
|
10541
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10542
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10543
|
+
* @return {!proto.payment.CashierFieldItemsResponse}
|
|
10544
|
+
*/
|
|
10545
|
+
proto.payment.CashierFieldItemsResponse.deserializeBinary = function(bytes) {
|
|
10546
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10547
|
+
var msg = new proto.payment.CashierFieldItemsResponse;
|
|
10548
|
+
return proto.payment.CashierFieldItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
10549
|
+
};
|
|
10550
|
+
|
|
10551
|
+
|
|
10552
|
+
/**
|
|
10553
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10554
|
+
* given reader into the given message object.
|
|
10555
|
+
* @param {!proto.payment.CashierFieldItemsResponse} msg The message object to deserialize into.
|
|
10556
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10557
|
+
* @return {!proto.payment.CashierFieldItemsResponse}
|
|
10558
|
+
*/
|
|
10559
|
+
proto.payment.CashierFieldItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10560
|
+
while (reader.nextField()) {
|
|
10561
|
+
if (reader.isEndGroup()) {
|
|
10562
|
+
break;
|
|
10563
|
+
}
|
|
10564
|
+
var field = reader.getFieldNumber();
|
|
10565
|
+
switch (field) {
|
|
10566
|
+
case 1:
|
|
10567
|
+
var value = new proto.payment.CashierFieldItem;
|
|
10568
|
+
reader.readMessage(value,proto.payment.CashierFieldItem.deserializeBinaryFromReader);
|
|
10569
|
+
msg.addItems(value);
|
|
10570
|
+
break;
|
|
10571
|
+
default:
|
|
10572
|
+
reader.skipField();
|
|
10573
|
+
break;
|
|
10574
|
+
}
|
|
10575
|
+
}
|
|
10576
|
+
return msg;
|
|
10577
|
+
};
|
|
10578
|
+
|
|
10579
|
+
|
|
10580
|
+
/**
|
|
10581
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10582
|
+
* @return {!Uint8Array}
|
|
10583
|
+
*/
|
|
10584
|
+
proto.payment.CashierFieldItemsResponse.prototype.serializeBinary = function() {
|
|
10585
|
+
var writer = new jspb.BinaryWriter();
|
|
10586
|
+
proto.payment.CashierFieldItemsResponse.serializeBinaryToWriter(this, writer);
|
|
10587
|
+
return writer.getResultBuffer();
|
|
10588
|
+
};
|
|
10589
|
+
|
|
10590
|
+
|
|
10591
|
+
/**
|
|
10592
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10593
|
+
* format), writing to the given BinaryWriter.
|
|
10594
|
+
* @param {!proto.payment.CashierFieldItemsResponse} message
|
|
10595
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10596
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10597
|
+
*/
|
|
10598
|
+
proto.payment.CashierFieldItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10599
|
+
var f = undefined;
|
|
10600
|
+
f = message.getItemsList();
|
|
10601
|
+
if (f.length > 0) {
|
|
10602
|
+
writer.writeRepeatedMessage(
|
|
10603
|
+
1,
|
|
10604
|
+
f,
|
|
10605
|
+
proto.payment.CashierFieldItem.serializeBinaryToWriter
|
|
10606
|
+
);
|
|
10607
|
+
}
|
|
10608
|
+
};
|
|
10609
|
+
|
|
10610
|
+
|
|
10611
|
+
/**
|
|
10612
|
+
* repeated CashierFieldItem items = 1;
|
|
10613
|
+
* @return {!Array<!proto.payment.CashierFieldItem>}
|
|
10614
|
+
*/
|
|
10615
|
+
proto.payment.CashierFieldItemsResponse.prototype.getItemsList = function() {
|
|
10616
|
+
return /** @type{!Array<!proto.payment.CashierFieldItem>} */ (
|
|
10617
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.CashierFieldItem, 1));
|
|
10618
|
+
};
|
|
10619
|
+
|
|
10620
|
+
|
|
10621
|
+
/**
|
|
10622
|
+
* @param {!Array<!proto.payment.CashierFieldItem>} value
|
|
10623
|
+
* @return {!proto.payment.CashierFieldItemsResponse} returns this
|
|
10624
|
+
*/
|
|
10625
|
+
proto.payment.CashierFieldItemsResponse.prototype.setItemsList = function(value) {
|
|
10626
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
10627
|
+
};
|
|
10628
|
+
|
|
10629
|
+
|
|
10630
|
+
/**
|
|
10631
|
+
* @param {!proto.payment.CashierFieldItem=} opt_value
|
|
10632
|
+
* @param {number=} opt_index
|
|
10633
|
+
* @return {!proto.payment.CashierFieldItem}
|
|
10634
|
+
*/
|
|
10635
|
+
proto.payment.CashierFieldItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
10636
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.CashierFieldItem, opt_index);
|
|
10637
|
+
};
|
|
10638
|
+
|
|
10639
|
+
|
|
10640
|
+
/**
|
|
10641
|
+
* Clears the list making it empty but non-null.
|
|
10642
|
+
* @return {!proto.payment.CashierFieldItemsResponse} returns this
|
|
10643
|
+
*/
|
|
10644
|
+
proto.payment.CashierFieldItemsResponse.prototype.clearItemsList = function() {
|
|
10645
|
+
return this.setItemsList([]);
|
|
10646
|
+
};
|
|
10647
|
+
|
|
10648
|
+
|
|
10649
|
+
|
|
10650
|
+
|
|
10651
|
+
|
|
10347
10652
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10348
10653
|
/**
|
|
10349
10654
|
* Creates an object representation of this proto.
|
|
@@ -136,6 +136,7 @@ message BonusMaskItemRequest {
|
|
|
136
136
|
optional string free_spins_spin_amount = 14;
|
|
137
137
|
optional int32 free_spins_total_amount = 15;
|
|
138
138
|
optional string free_spins_max_win = 16;
|
|
139
|
+
optional string deposit_static_amount = 17;
|
|
139
140
|
}
|
|
140
141
|
message BonusMaskItem {
|
|
141
142
|
optional int32 id = 1;
|
|
@@ -159,6 +160,7 @@ message BonusMaskItem {
|
|
|
159
160
|
optional string free_spins_max_win = 18;
|
|
160
161
|
optional string image = 19;
|
|
161
162
|
optional string mobile_image = 20;
|
|
163
|
+
optional string deposit_static_amount = 21;
|
|
162
164
|
}
|
|
163
165
|
message BonusMaskResponse {
|
|
164
166
|
BonusMaskItem data = 1;
|
|
@@ -4886,7 +4886,8 @@ proto.promocode.BonusMaskItemRequest.toObject = function(includeInstance, msg) {
|
|
|
4886
4886
|
freeSpinsGameId: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
4887
4887
|
freeSpinsSpinAmount: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
4888
4888
|
freeSpinsTotalAmount: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
4889
|
-
freeSpinsMaxWin: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
4889
|
+
freeSpinsMaxWin: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
4890
|
+
depositStaticAmount: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
4890
4891
|
};
|
|
4891
4892
|
|
|
4892
4893
|
if (includeInstance) {
|
|
@@ -4987,6 +4988,10 @@ proto.promocode.BonusMaskItemRequest.deserializeBinaryFromReader = function(msg,
|
|
|
4987
4988
|
var value = /** @type {string} */ (reader.readString());
|
|
4988
4989
|
msg.setFreeSpinsMaxWin(value);
|
|
4989
4990
|
break;
|
|
4991
|
+
case 17:
|
|
4992
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4993
|
+
msg.setDepositStaticAmount(value);
|
|
4994
|
+
break;
|
|
4990
4995
|
default:
|
|
4991
4996
|
reader.skipField();
|
|
4992
4997
|
break;
|
|
@@ -5128,6 +5133,13 @@ proto.promocode.BonusMaskItemRequest.serializeBinaryToWriter = function(message,
|
|
|
5128
5133
|
f
|
|
5129
5134
|
);
|
|
5130
5135
|
}
|
|
5136
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 17));
|
|
5137
|
+
if (f != null) {
|
|
5138
|
+
writer.writeString(
|
|
5139
|
+
17,
|
|
5140
|
+
f
|
|
5141
|
+
);
|
|
5142
|
+
}
|
|
5131
5143
|
};
|
|
5132
5144
|
|
|
5133
5145
|
|
|
@@ -5707,6 +5719,42 @@ proto.promocode.BonusMaskItemRequest.prototype.hasFreeSpinsMaxWin = function() {
|
|
|
5707
5719
|
};
|
|
5708
5720
|
|
|
5709
5721
|
|
|
5722
|
+
/**
|
|
5723
|
+
* optional string deposit_static_amount = 17;
|
|
5724
|
+
* @return {string}
|
|
5725
|
+
*/
|
|
5726
|
+
proto.promocode.BonusMaskItemRequest.prototype.getDepositStaticAmount = function() {
|
|
5727
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
5728
|
+
};
|
|
5729
|
+
|
|
5730
|
+
|
|
5731
|
+
/**
|
|
5732
|
+
* @param {string} value
|
|
5733
|
+
* @return {!proto.promocode.BonusMaskItemRequest} returns this
|
|
5734
|
+
*/
|
|
5735
|
+
proto.promocode.BonusMaskItemRequest.prototype.setDepositStaticAmount = function(value) {
|
|
5736
|
+
return jspb.Message.setField(this, 17, value);
|
|
5737
|
+
};
|
|
5738
|
+
|
|
5739
|
+
|
|
5740
|
+
/**
|
|
5741
|
+
* Clears the field making it undefined.
|
|
5742
|
+
* @return {!proto.promocode.BonusMaskItemRequest} returns this
|
|
5743
|
+
*/
|
|
5744
|
+
proto.promocode.BonusMaskItemRequest.prototype.clearDepositStaticAmount = function() {
|
|
5745
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
5746
|
+
};
|
|
5747
|
+
|
|
5748
|
+
|
|
5749
|
+
/**
|
|
5750
|
+
* Returns whether this field is set.
|
|
5751
|
+
* @return {boolean}
|
|
5752
|
+
*/
|
|
5753
|
+
proto.promocode.BonusMaskItemRequest.prototype.hasDepositStaticAmount = function() {
|
|
5754
|
+
return jspb.Message.getField(this, 17) != null;
|
|
5755
|
+
};
|
|
5756
|
+
|
|
5757
|
+
|
|
5710
5758
|
|
|
5711
5759
|
|
|
5712
5760
|
|
|
@@ -5758,7 +5806,8 @@ proto.promocode.BonusMaskItem.toObject = function(includeInstance, msg) {
|
|
|
5758
5806
|
freeSpinsTotalAmount: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
5759
5807
|
freeSpinsMaxWin: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
5760
5808
|
image: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
5761
|
-
mobileImage: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
5809
|
+
mobileImage: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
5810
|
+
depositStaticAmount: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
5762
5811
|
};
|
|
5763
5812
|
|
|
5764
5813
|
if (includeInstance) {
|
|
@@ -5875,6 +5924,10 @@ proto.promocode.BonusMaskItem.deserializeBinaryFromReader = function(msg, reader
|
|
|
5875
5924
|
var value = /** @type {string} */ (reader.readString());
|
|
5876
5925
|
msg.setMobileImage(value);
|
|
5877
5926
|
break;
|
|
5927
|
+
case 21:
|
|
5928
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5929
|
+
msg.setDepositStaticAmount(value);
|
|
5930
|
+
break;
|
|
5878
5931
|
default:
|
|
5879
5932
|
reader.skipField();
|
|
5880
5933
|
break;
|
|
@@ -6044,6 +6097,13 @@ proto.promocode.BonusMaskItem.serializeBinaryToWriter = function(message, writer
|
|
|
6044
6097
|
f
|
|
6045
6098
|
);
|
|
6046
6099
|
}
|
|
6100
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 21));
|
|
6101
|
+
if (f != null) {
|
|
6102
|
+
writer.writeString(
|
|
6103
|
+
21,
|
|
6104
|
+
f
|
|
6105
|
+
);
|
|
6106
|
+
}
|
|
6047
6107
|
};
|
|
6048
6108
|
|
|
6049
6109
|
|
|
@@ -6767,6 +6827,42 @@ proto.promocode.BonusMaskItem.prototype.hasMobileImage = function() {
|
|
|
6767
6827
|
};
|
|
6768
6828
|
|
|
6769
6829
|
|
|
6830
|
+
/**
|
|
6831
|
+
* optional string deposit_static_amount = 21;
|
|
6832
|
+
* @return {string}
|
|
6833
|
+
*/
|
|
6834
|
+
proto.promocode.BonusMaskItem.prototype.getDepositStaticAmount = function() {
|
|
6835
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
6836
|
+
};
|
|
6837
|
+
|
|
6838
|
+
|
|
6839
|
+
/**
|
|
6840
|
+
* @param {string} value
|
|
6841
|
+
* @return {!proto.promocode.BonusMaskItem} returns this
|
|
6842
|
+
*/
|
|
6843
|
+
proto.promocode.BonusMaskItem.prototype.setDepositStaticAmount = function(value) {
|
|
6844
|
+
return jspb.Message.setField(this, 21, value);
|
|
6845
|
+
};
|
|
6846
|
+
|
|
6847
|
+
|
|
6848
|
+
/**
|
|
6849
|
+
* Clears the field making it undefined.
|
|
6850
|
+
* @return {!proto.promocode.BonusMaskItem} returns this
|
|
6851
|
+
*/
|
|
6852
|
+
proto.promocode.BonusMaskItem.prototype.clearDepositStaticAmount = function() {
|
|
6853
|
+
return jspb.Message.setField(this, 21, undefined);
|
|
6854
|
+
};
|
|
6855
|
+
|
|
6856
|
+
|
|
6857
|
+
/**
|
|
6858
|
+
* Returns whether this field is set.
|
|
6859
|
+
* @return {boolean}
|
|
6860
|
+
*/
|
|
6861
|
+
proto.promocode.BonusMaskItem.prototype.hasDepositStaticAmount = function() {
|
|
6862
|
+
return jspb.Message.getField(this, 21) != null;
|
|
6863
|
+
};
|
|
6864
|
+
|
|
6865
|
+
|
|
6770
6866
|
|
|
6771
6867
|
|
|
6772
6868
|
|