protobuf-platform 1.2.437 → 1.2.439
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 +27 -0
- package/payment/payment_grpc_pb.js +33 -0
- package/payment/payment_pb.js +1014 -0
- package/user/user.proto +202 -0
- package/user/user_grpc_pb.js +479 -0
- package/user/user_pb.js +25188 -16719
package/payment/payment_pb.js
CHANGED
|
@@ -56,6 +56,8 @@ goog.exportSymbol('proto.payment.GetProviderTranslationRequest', null, global);
|
|
|
56
56
|
goog.exportSymbol('proto.payment.GetUserDepositCountRequest', null, global);
|
|
57
57
|
goog.exportSymbol('proto.payment.GetUserPaymentsInfoRequest', null, global);
|
|
58
58
|
goog.exportSymbol('proto.payment.GetWithdrawalRequest', null, global);
|
|
59
|
+
goog.exportSymbol('proto.payment.GetWithdrawalWagerSnapshotRequest', null, global);
|
|
60
|
+
goog.exportSymbol('proto.payment.GetWithdrawalWagerSnapshotResponse', null, global);
|
|
59
61
|
goog.exportSymbol('proto.payment.ItemsBunchRequest', null, global);
|
|
60
62
|
goog.exportSymbol('proto.payment.MethodItem', null, global);
|
|
61
63
|
goog.exportSymbol('proto.payment.MethodItemRequest', null, global);
|
|
@@ -104,6 +106,7 @@ goog.exportSymbol('proto.payment.UserWithdrawalItemsResponse', null, global);
|
|
|
104
106
|
goog.exportSymbol('proto.payment.WithdrawalItem', null, global);
|
|
105
107
|
goog.exportSymbol('proto.payment.WithdrawalItemsResponse', null, global);
|
|
106
108
|
goog.exportSymbol('proto.payment.WithdrawalResponse', null, global);
|
|
109
|
+
goog.exportSymbol('proto.payment.WithdrawalWagerLockedBucketItem', null, global);
|
|
107
110
|
goog.exportSymbol('proto.payment.WithdrawalWebHookRequest', null, global);
|
|
108
111
|
/**
|
|
109
112
|
* Generated by JsPbCodeGenerator.
|
|
@@ -1554,6 +1557,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1554
1557
|
*/
|
|
1555
1558
|
proto.payment.CheckFastDepositResponse.displayName = 'proto.payment.CheckFastDepositResponse';
|
|
1556
1559
|
}
|
|
1560
|
+
/**
|
|
1561
|
+
* Generated by JsPbCodeGenerator.
|
|
1562
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1563
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1564
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1565
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1566
|
+
* valid.
|
|
1567
|
+
* @extends {jspb.Message}
|
|
1568
|
+
* @constructor
|
|
1569
|
+
*/
|
|
1570
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest = function(opt_data) {
|
|
1571
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1572
|
+
};
|
|
1573
|
+
goog.inherits(proto.payment.GetWithdrawalWagerSnapshotRequest, jspb.Message);
|
|
1574
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1575
|
+
/**
|
|
1576
|
+
* @public
|
|
1577
|
+
* @override
|
|
1578
|
+
*/
|
|
1579
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.displayName = 'proto.payment.GetWithdrawalWagerSnapshotRequest';
|
|
1580
|
+
}
|
|
1581
|
+
/**
|
|
1582
|
+
* Generated by JsPbCodeGenerator.
|
|
1583
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1584
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1585
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1586
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1587
|
+
* valid.
|
|
1588
|
+
* @extends {jspb.Message}
|
|
1589
|
+
* @constructor
|
|
1590
|
+
*/
|
|
1591
|
+
proto.payment.WithdrawalWagerLockedBucketItem = function(opt_data) {
|
|
1592
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1593
|
+
};
|
|
1594
|
+
goog.inherits(proto.payment.WithdrawalWagerLockedBucketItem, jspb.Message);
|
|
1595
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1596
|
+
/**
|
|
1597
|
+
* @public
|
|
1598
|
+
* @override
|
|
1599
|
+
*/
|
|
1600
|
+
proto.payment.WithdrawalWagerLockedBucketItem.displayName = 'proto.payment.WithdrawalWagerLockedBucketItem';
|
|
1601
|
+
}
|
|
1602
|
+
/**
|
|
1603
|
+
* Generated by JsPbCodeGenerator.
|
|
1604
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1605
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1606
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1607
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1608
|
+
* valid.
|
|
1609
|
+
* @extends {jspb.Message}
|
|
1610
|
+
* @constructor
|
|
1611
|
+
*/
|
|
1612
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse = function(opt_data) {
|
|
1613
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.GetWithdrawalWagerSnapshotResponse.repeatedFields_, null);
|
|
1614
|
+
};
|
|
1615
|
+
goog.inherits(proto.payment.GetWithdrawalWagerSnapshotResponse, jspb.Message);
|
|
1616
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1617
|
+
/**
|
|
1618
|
+
* @public
|
|
1619
|
+
* @override
|
|
1620
|
+
*/
|
|
1621
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.displayName = 'proto.payment.GetWithdrawalWagerSnapshotResponse';
|
|
1622
|
+
}
|
|
1557
1623
|
/**
|
|
1558
1624
|
* Generated by JsPbCodeGenerator.
|
|
1559
1625
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -27468,6 +27534,954 @@ proto.payment.CheckFastDepositResponse.prototype.hasMethod = function() {
|
|
|
27468
27534
|
|
|
27469
27535
|
|
|
27470
27536
|
|
|
27537
|
+
|
|
27538
|
+
|
|
27539
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27540
|
+
/**
|
|
27541
|
+
* Creates an object representation of this proto.
|
|
27542
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
27543
|
+
* Optional fields that are not set will be set to undefined.
|
|
27544
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
27545
|
+
* For the list of reserved names please see:
|
|
27546
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
27547
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
27548
|
+
* JSPB instance for transitional soy proto support:
|
|
27549
|
+
* http://goto/soy-param-migration
|
|
27550
|
+
* @return {!Object}
|
|
27551
|
+
*/
|
|
27552
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.prototype.toObject = function(opt_includeInstance) {
|
|
27553
|
+
return proto.payment.GetWithdrawalWagerSnapshotRequest.toObject(opt_includeInstance, this);
|
|
27554
|
+
};
|
|
27555
|
+
|
|
27556
|
+
|
|
27557
|
+
/**
|
|
27558
|
+
* Static version of the {@see toObject} method.
|
|
27559
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
27560
|
+
* the JSPB instance for transitional soy proto support:
|
|
27561
|
+
* http://goto/soy-param-migration
|
|
27562
|
+
* @param {!proto.payment.GetWithdrawalWagerSnapshotRequest} msg The msg instance to transform.
|
|
27563
|
+
* @return {!Object}
|
|
27564
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27565
|
+
*/
|
|
27566
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.toObject = function(includeInstance, msg) {
|
|
27567
|
+
var f, obj = {
|
|
27568
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
27569
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
27570
|
+
};
|
|
27571
|
+
|
|
27572
|
+
if (includeInstance) {
|
|
27573
|
+
obj.$jspbMessageInstance = msg;
|
|
27574
|
+
}
|
|
27575
|
+
return obj;
|
|
27576
|
+
};
|
|
27577
|
+
}
|
|
27578
|
+
|
|
27579
|
+
|
|
27580
|
+
/**
|
|
27581
|
+
* Deserializes binary data (in protobuf wire format).
|
|
27582
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
27583
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotRequest}
|
|
27584
|
+
*/
|
|
27585
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.deserializeBinary = function(bytes) {
|
|
27586
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
27587
|
+
var msg = new proto.payment.GetWithdrawalWagerSnapshotRequest;
|
|
27588
|
+
return proto.payment.GetWithdrawalWagerSnapshotRequest.deserializeBinaryFromReader(msg, reader);
|
|
27589
|
+
};
|
|
27590
|
+
|
|
27591
|
+
|
|
27592
|
+
/**
|
|
27593
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
27594
|
+
* given reader into the given message object.
|
|
27595
|
+
* @param {!proto.payment.GetWithdrawalWagerSnapshotRequest} msg The message object to deserialize into.
|
|
27596
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
27597
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotRequest}
|
|
27598
|
+
*/
|
|
27599
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
27600
|
+
while (reader.nextField()) {
|
|
27601
|
+
if (reader.isEndGroup()) {
|
|
27602
|
+
break;
|
|
27603
|
+
}
|
|
27604
|
+
var field = reader.getFieldNumber();
|
|
27605
|
+
switch (field) {
|
|
27606
|
+
case 1:
|
|
27607
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
27608
|
+
msg.setUserId(value);
|
|
27609
|
+
break;
|
|
27610
|
+
case 2:
|
|
27611
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27612
|
+
msg.setCurrency(value);
|
|
27613
|
+
break;
|
|
27614
|
+
default:
|
|
27615
|
+
reader.skipField();
|
|
27616
|
+
break;
|
|
27617
|
+
}
|
|
27618
|
+
}
|
|
27619
|
+
return msg;
|
|
27620
|
+
};
|
|
27621
|
+
|
|
27622
|
+
|
|
27623
|
+
/**
|
|
27624
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
27625
|
+
* @return {!Uint8Array}
|
|
27626
|
+
*/
|
|
27627
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.prototype.serializeBinary = function() {
|
|
27628
|
+
var writer = new jspb.BinaryWriter();
|
|
27629
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.serializeBinaryToWriter(this, writer);
|
|
27630
|
+
return writer.getResultBuffer();
|
|
27631
|
+
};
|
|
27632
|
+
|
|
27633
|
+
|
|
27634
|
+
/**
|
|
27635
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
27636
|
+
* format), writing to the given BinaryWriter.
|
|
27637
|
+
* @param {!proto.payment.GetWithdrawalWagerSnapshotRequest} message
|
|
27638
|
+
* @param {!jspb.BinaryWriter} writer
|
|
27639
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27640
|
+
*/
|
|
27641
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.serializeBinaryToWriter = function(message, writer) {
|
|
27642
|
+
var f = undefined;
|
|
27643
|
+
f = message.getUserId();
|
|
27644
|
+
if (f !== 0) {
|
|
27645
|
+
writer.writeInt32(
|
|
27646
|
+
1,
|
|
27647
|
+
f
|
|
27648
|
+
);
|
|
27649
|
+
}
|
|
27650
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
27651
|
+
if (f != null) {
|
|
27652
|
+
writer.writeString(
|
|
27653
|
+
2,
|
|
27654
|
+
f
|
|
27655
|
+
);
|
|
27656
|
+
}
|
|
27657
|
+
};
|
|
27658
|
+
|
|
27659
|
+
|
|
27660
|
+
/**
|
|
27661
|
+
* optional int32 user_id = 1;
|
|
27662
|
+
* @return {number}
|
|
27663
|
+
*/
|
|
27664
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.prototype.getUserId = function() {
|
|
27665
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
27666
|
+
};
|
|
27667
|
+
|
|
27668
|
+
|
|
27669
|
+
/**
|
|
27670
|
+
* @param {number} value
|
|
27671
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotRequest} returns this
|
|
27672
|
+
*/
|
|
27673
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.prototype.setUserId = function(value) {
|
|
27674
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
27675
|
+
};
|
|
27676
|
+
|
|
27677
|
+
|
|
27678
|
+
/**
|
|
27679
|
+
* optional string currency = 2;
|
|
27680
|
+
* @return {string}
|
|
27681
|
+
*/
|
|
27682
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.prototype.getCurrency = function() {
|
|
27683
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
27684
|
+
};
|
|
27685
|
+
|
|
27686
|
+
|
|
27687
|
+
/**
|
|
27688
|
+
* @param {string} value
|
|
27689
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotRequest} returns this
|
|
27690
|
+
*/
|
|
27691
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.prototype.setCurrency = function(value) {
|
|
27692
|
+
return jspb.Message.setField(this, 2, value);
|
|
27693
|
+
};
|
|
27694
|
+
|
|
27695
|
+
|
|
27696
|
+
/**
|
|
27697
|
+
* Clears the field making it undefined.
|
|
27698
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotRequest} returns this
|
|
27699
|
+
*/
|
|
27700
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.prototype.clearCurrency = function() {
|
|
27701
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
27702
|
+
};
|
|
27703
|
+
|
|
27704
|
+
|
|
27705
|
+
/**
|
|
27706
|
+
* Returns whether this field is set.
|
|
27707
|
+
* @return {boolean}
|
|
27708
|
+
*/
|
|
27709
|
+
proto.payment.GetWithdrawalWagerSnapshotRequest.prototype.hasCurrency = function() {
|
|
27710
|
+
return jspb.Message.getField(this, 2) != null;
|
|
27711
|
+
};
|
|
27712
|
+
|
|
27713
|
+
|
|
27714
|
+
|
|
27715
|
+
|
|
27716
|
+
|
|
27717
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27718
|
+
/**
|
|
27719
|
+
* Creates an object representation of this proto.
|
|
27720
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
27721
|
+
* Optional fields that are not set will be set to undefined.
|
|
27722
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
27723
|
+
* For the list of reserved names please see:
|
|
27724
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
27725
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
27726
|
+
* JSPB instance for transitional soy proto support:
|
|
27727
|
+
* http://goto/soy-param-migration
|
|
27728
|
+
* @return {!Object}
|
|
27729
|
+
*/
|
|
27730
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.toObject = function(opt_includeInstance) {
|
|
27731
|
+
return proto.payment.WithdrawalWagerLockedBucketItem.toObject(opt_includeInstance, this);
|
|
27732
|
+
};
|
|
27733
|
+
|
|
27734
|
+
|
|
27735
|
+
/**
|
|
27736
|
+
* Static version of the {@see toObject} method.
|
|
27737
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
27738
|
+
* the JSPB instance for transitional soy proto support:
|
|
27739
|
+
* http://goto/soy-param-migration
|
|
27740
|
+
* @param {!proto.payment.WithdrawalWagerLockedBucketItem} msg The msg instance to transform.
|
|
27741
|
+
* @return {!Object}
|
|
27742
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27743
|
+
*/
|
|
27744
|
+
proto.payment.WithdrawalWagerLockedBucketItem.toObject = function(includeInstance, msg) {
|
|
27745
|
+
var f, obj = {
|
|
27746
|
+
bucketId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
27747
|
+
sourceType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
27748
|
+
sourceId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
27749
|
+
amountMinor: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
27750
|
+
multiplier: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
27751
|
+
requiredWagerMinor: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
27752
|
+
completedWagerMinor: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
27753
|
+
remainingWagerMinor: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
27754
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
27755
|
+
};
|
|
27756
|
+
|
|
27757
|
+
if (includeInstance) {
|
|
27758
|
+
obj.$jspbMessageInstance = msg;
|
|
27759
|
+
}
|
|
27760
|
+
return obj;
|
|
27761
|
+
};
|
|
27762
|
+
}
|
|
27763
|
+
|
|
27764
|
+
|
|
27765
|
+
/**
|
|
27766
|
+
* Deserializes binary data (in protobuf wire format).
|
|
27767
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
27768
|
+
* @return {!proto.payment.WithdrawalWagerLockedBucketItem}
|
|
27769
|
+
*/
|
|
27770
|
+
proto.payment.WithdrawalWagerLockedBucketItem.deserializeBinary = function(bytes) {
|
|
27771
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
27772
|
+
var msg = new proto.payment.WithdrawalWagerLockedBucketItem;
|
|
27773
|
+
return proto.payment.WithdrawalWagerLockedBucketItem.deserializeBinaryFromReader(msg, reader);
|
|
27774
|
+
};
|
|
27775
|
+
|
|
27776
|
+
|
|
27777
|
+
/**
|
|
27778
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
27779
|
+
* given reader into the given message object.
|
|
27780
|
+
* @param {!proto.payment.WithdrawalWagerLockedBucketItem} msg The message object to deserialize into.
|
|
27781
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
27782
|
+
* @return {!proto.payment.WithdrawalWagerLockedBucketItem}
|
|
27783
|
+
*/
|
|
27784
|
+
proto.payment.WithdrawalWagerLockedBucketItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
27785
|
+
while (reader.nextField()) {
|
|
27786
|
+
if (reader.isEndGroup()) {
|
|
27787
|
+
break;
|
|
27788
|
+
}
|
|
27789
|
+
var field = reader.getFieldNumber();
|
|
27790
|
+
switch (field) {
|
|
27791
|
+
case 1:
|
|
27792
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27793
|
+
msg.setBucketId(value);
|
|
27794
|
+
break;
|
|
27795
|
+
case 2:
|
|
27796
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27797
|
+
msg.setSourceType(value);
|
|
27798
|
+
break;
|
|
27799
|
+
case 3:
|
|
27800
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27801
|
+
msg.setSourceId(value);
|
|
27802
|
+
break;
|
|
27803
|
+
case 4:
|
|
27804
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
27805
|
+
msg.setAmountMinor(value);
|
|
27806
|
+
break;
|
|
27807
|
+
case 5:
|
|
27808
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27809
|
+
msg.setMultiplier(value);
|
|
27810
|
+
break;
|
|
27811
|
+
case 6:
|
|
27812
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
27813
|
+
msg.setRequiredWagerMinor(value);
|
|
27814
|
+
break;
|
|
27815
|
+
case 7:
|
|
27816
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
27817
|
+
msg.setCompletedWagerMinor(value);
|
|
27818
|
+
break;
|
|
27819
|
+
case 8:
|
|
27820
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
27821
|
+
msg.setRemainingWagerMinor(value);
|
|
27822
|
+
break;
|
|
27823
|
+
case 9:
|
|
27824
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27825
|
+
msg.setCreatedAt(value);
|
|
27826
|
+
break;
|
|
27827
|
+
default:
|
|
27828
|
+
reader.skipField();
|
|
27829
|
+
break;
|
|
27830
|
+
}
|
|
27831
|
+
}
|
|
27832
|
+
return msg;
|
|
27833
|
+
};
|
|
27834
|
+
|
|
27835
|
+
|
|
27836
|
+
/**
|
|
27837
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
27838
|
+
* @return {!Uint8Array}
|
|
27839
|
+
*/
|
|
27840
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.serializeBinary = function() {
|
|
27841
|
+
var writer = new jspb.BinaryWriter();
|
|
27842
|
+
proto.payment.WithdrawalWagerLockedBucketItem.serializeBinaryToWriter(this, writer);
|
|
27843
|
+
return writer.getResultBuffer();
|
|
27844
|
+
};
|
|
27845
|
+
|
|
27846
|
+
|
|
27847
|
+
/**
|
|
27848
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
27849
|
+
* format), writing to the given BinaryWriter.
|
|
27850
|
+
* @param {!proto.payment.WithdrawalWagerLockedBucketItem} message
|
|
27851
|
+
* @param {!jspb.BinaryWriter} writer
|
|
27852
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27853
|
+
*/
|
|
27854
|
+
proto.payment.WithdrawalWagerLockedBucketItem.serializeBinaryToWriter = function(message, writer) {
|
|
27855
|
+
var f = undefined;
|
|
27856
|
+
f = message.getBucketId();
|
|
27857
|
+
if (f.length > 0) {
|
|
27858
|
+
writer.writeString(
|
|
27859
|
+
1,
|
|
27860
|
+
f
|
|
27861
|
+
);
|
|
27862
|
+
}
|
|
27863
|
+
f = message.getSourceType();
|
|
27864
|
+
if (f.length > 0) {
|
|
27865
|
+
writer.writeString(
|
|
27866
|
+
2,
|
|
27867
|
+
f
|
|
27868
|
+
);
|
|
27869
|
+
}
|
|
27870
|
+
f = message.getSourceId();
|
|
27871
|
+
if (f.length > 0) {
|
|
27872
|
+
writer.writeString(
|
|
27873
|
+
3,
|
|
27874
|
+
f
|
|
27875
|
+
);
|
|
27876
|
+
}
|
|
27877
|
+
f = message.getAmountMinor();
|
|
27878
|
+
if (f !== 0) {
|
|
27879
|
+
writer.writeInt64(
|
|
27880
|
+
4,
|
|
27881
|
+
f
|
|
27882
|
+
);
|
|
27883
|
+
}
|
|
27884
|
+
f = message.getMultiplier();
|
|
27885
|
+
if (f.length > 0) {
|
|
27886
|
+
writer.writeString(
|
|
27887
|
+
5,
|
|
27888
|
+
f
|
|
27889
|
+
);
|
|
27890
|
+
}
|
|
27891
|
+
f = message.getRequiredWagerMinor();
|
|
27892
|
+
if (f !== 0) {
|
|
27893
|
+
writer.writeInt64(
|
|
27894
|
+
6,
|
|
27895
|
+
f
|
|
27896
|
+
);
|
|
27897
|
+
}
|
|
27898
|
+
f = message.getCompletedWagerMinor();
|
|
27899
|
+
if (f !== 0) {
|
|
27900
|
+
writer.writeInt64(
|
|
27901
|
+
7,
|
|
27902
|
+
f
|
|
27903
|
+
);
|
|
27904
|
+
}
|
|
27905
|
+
f = message.getRemainingWagerMinor();
|
|
27906
|
+
if (f !== 0) {
|
|
27907
|
+
writer.writeInt64(
|
|
27908
|
+
8,
|
|
27909
|
+
f
|
|
27910
|
+
);
|
|
27911
|
+
}
|
|
27912
|
+
f = message.getCreatedAt();
|
|
27913
|
+
if (f.length > 0) {
|
|
27914
|
+
writer.writeString(
|
|
27915
|
+
9,
|
|
27916
|
+
f
|
|
27917
|
+
);
|
|
27918
|
+
}
|
|
27919
|
+
};
|
|
27920
|
+
|
|
27921
|
+
|
|
27922
|
+
/**
|
|
27923
|
+
* optional string bucket_id = 1;
|
|
27924
|
+
* @return {string}
|
|
27925
|
+
*/
|
|
27926
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.getBucketId = function() {
|
|
27927
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
27928
|
+
};
|
|
27929
|
+
|
|
27930
|
+
|
|
27931
|
+
/**
|
|
27932
|
+
* @param {string} value
|
|
27933
|
+
* @return {!proto.payment.WithdrawalWagerLockedBucketItem} returns this
|
|
27934
|
+
*/
|
|
27935
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.setBucketId = function(value) {
|
|
27936
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
27937
|
+
};
|
|
27938
|
+
|
|
27939
|
+
|
|
27940
|
+
/**
|
|
27941
|
+
* optional string source_type = 2;
|
|
27942
|
+
* @return {string}
|
|
27943
|
+
*/
|
|
27944
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.getSourceType = function() {
|
|
27945
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
27946
|
+
};
|
|
27947
|
+
|
|
27948
|
+
|
|
27949
|
+
/**
|
|
27950
|
+
* @param {string} value
|
|
27951
|
+
* @return {!proto.payment.WithdrawalWagerLockedBucketItem} returns this
|
|
27952
|
+
*/
|
|
27953
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.setSourceType = function(value) {
|
|
27954
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
27955
|
+
};
|
|
27956
|
+
|
|
27957
|
+
|
|
27958
|
+
/**
|
|
27959
|
+
* optional string source_id = 3;
|
|
27960
|
+
* @return {string}
|
|
27961
|
+
*/
|
|
27962
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.getSourceId = function() {
|
|
27963
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
27964
|
+
};
|
|
27965
|
+
|
|
27966
|
+
|
|
27967
|
+
/**
|
|
27968
|
+
* @param {string} value
|
|
27969
|
+
* @return {!proto.payment.WithdrawalWagerLockedBucketItem} returns this
|
|
27970
|
+
*/
|
|
27971
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.setSourceId = function(value) {
|
|
27972
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
27973
|
+
};
|
|
27974
|
+
|
|
27975
|
+
|
|
27976
|
+
/**
|
|
27977
|
+
* optional int64 amount_minor = 4;
|
|
27978
|
+
* @return {number}
|
|
27979
|
+
*/
|
|
27980
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.getAmountMinor = function() {
|
|
27981
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
27982
|
+
};
|
|
27983
|
+
|
|
27984
|
+
|
|
27985
|
+
/**
|
|
27986
|
+
* @param {number} value
|
|
27987
|
+
* @return {!proto.payment.WithdrawalWagerLockedBucketItem} returns this
|
|
27988
|
+
*/
|
|
27989
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.setAmountMinor = function(value) {
|
|
27990
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
27991
|
+
};
|
|
27992
|
+
|
|
27993
|
+
|
|
27994
|
+
/**
|
|
27995
|
+
* optional string multiplier = 5;
|
|
27996
|
+
* @return {string}
|
|
27997
|
+
*/
|
|
27998
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.getMultiplier = function() {
|
|
27999
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
28000
|
+
};
|
|
28001
|
+
|
|
28002
|
+
|
|
28003
|
+
/**
|
|
28004
|
+
* @param {string} value
|
|
28005
|
+
* @return {!proto.payment.WithdrawalWagerLockedBucketItem} returns this
|
|
28006
|
+
*/
|
|
28007
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.setMultiplier = function(value) {
|
|
28008
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
28009
|
+
};
|
|
28010
|
+
|
|
28011
|
+
|
|
28012
|
+
/**
|
|
28013
|
+
* optional int64 required_wager_minor = 6;
|
|
28014
|
+
* @return {number}
|
|
28015
|
+
*/
|
|
28016
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.getRequiredWagerMinor = function() {
|
|
28017
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
28018
|
+
};
|
|
28019
|
+
|
|
28020
|
+
|
|
28021
|
+
/**
|
|
28022
|
+
* @param {number} value
|
|
28023
|
+
* @return {!proto.payment.WithdrawalWagerLockedBucketItem} returns this
|
|
28024
|
+
*/
|
|
28025
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.setRequiredWagerMinor = function(value) {
|
|
28026
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
28027
|
+
};
|
|
28028
|
+
|
|
28029
|
+
|
|
28030
|
+
/**
|
|
28031
|
+
* optional int64 completed_wager_minor = 7;
|
|
28032
|
+
* @return {number}
|
|
28033
|
+
*/
|
|
28034
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.getCompletedWagerMinor = function() {
|
|
28035
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
28036
|
+
};
|
|
28037
|
+
|
|
28038
|
+
|
|
28039
|
+
/**
|
|
28040
|
+
* @param {number} value
|
|
28041
|
+
* @return {!proto.payment.WithdrawalWagerLockedBucketItem} returns this
|
|
28042
|
+
*/
|
|
28043
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.setCompletedWagerMinor = function(value) {
|
|
28044
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
28045
|
+
};
|
|
28046
|
+
|
|
28047
|
+
|
|
28048
|
+
/**
|
|
28049
|
+
* optional int64 remaining_wager_minor = 8;
|
|
28050
|
+
* @return {number}
|
|
28051
|
+
*/
|
|
28052
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.getRemainingWagerMinor = function() {
|
|
28053
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
28054
|
+
};
|
|
28055
|
+
|
|
28056
|
+
|
|
28057
|
+
/**
|
|
28058
|
+
* @param {number} value
|
|
28059
|
+
* @return {!proto.payment.WithdrawalWagerLockedBucketItem} returns this
|
|
28060
|
+
*/
|
|
28061
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.setRemainingWagerMinor = function(value) {
|
|
28062
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
28063
|
+
};
|
|
28064
|
+
|
|
28065
|
+
|
|
28066
|
+
/**
|
|
28067
|
+
* optional string created_at = 9;
|
|
28068
|
+
* @return {string}
|
|
28069
|
+
*/
|
|
28070
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.getCreatedAt = function() {
|
|
28071
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
28072
|
+
};
|
|
28073
|
+
|
|
28074
|
+
|
|
28075
|
+
/**
|
|
28076
|
+
* @param {string} value
|
|
28077
|
+
* @return {!proto.payment.WithdrawalWagerLockedBucketItem} returns this
|
|
28078
|
+
*/
|
|
28079
|
+
proto.payment.WithdrawalWagerLockedBucketItem.prototype.setCreatedAt = function(value) {
|
|
28080
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
28081
|
+
};
|
|
28082
|
+
|
|
28083
|
+
|
|
28084
|
+
|
|
28085
|
+
/**
|
|
28086
|
+
* List of repeated fields within this message type.
|
|
28087
|
+
* @private {!Array<number>}
|
|
28088
|
+
* @const
|
|
28089
|
+
*/
|
|
28090
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.repeatedFields_ = [9];
|
|
28091
|
+
|
|
28092
|
+
|
|
28093
|
+
|
|
28094
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
28095
|
+
/**
|
|
28096
|
+
* Creates an object representation of this proto.
|
|
28097
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
28098
|
+
* Optional fields that are not set will be set to undefined.
|
|
28099
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
28100
|
+
* For the list of reserved names please see:
|
|
28101
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
28102
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
28103
|
+
* JSPB instance for transitional soy proto support:
|
|
28104
|
+
* http://goto/soy-param-migration
|
|
28105
|
+
* @return {!Object}
|
|
28106
|
+
*/
|
|
28107
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.toObject = function(opt_includeInstance) {
|
|
28108
|
+
return proto.payment.GetWithdrawalWagerSnapshotResponse.toObject(opt_includeInstance, this);
|
|
28109
|
+
};
|
|
28110
|
+
|
|
28111
|
+
|
|
28112
|
+
/**
|
|
28113
|
+
* Static version of the {@see toObject} method.
|
|
28114
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
28115
|
+
* the JSPB instance for transitional soy proto support:
|
|
28116
|
+
* http://goto/soy-param-migration
|
|
28117
|
+
* @param {!proto.payment.GetWithdrawalWagerSnapshotResponse} msg The msg instance to transform.
|
|
28118
|
+
* @return {!Object}
|
|
28119
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
28120
|
+
*/
|
|
28121
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.toObject = function(includeInstance, msg) {
|
|
28122
|
+
var f, obj = {
|
|
28123
|
+
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
28124
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
28125
|
+
requiredWagerMinor: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
28126
|
+
completedWagerMinor: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
28127
|
+
remainingWagerMinor: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
28128
|
+
withdrawableAmountMinor: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
28129
|
+
lockedAmountMinor: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
28130
|
+
activeLockedBucketsCount: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
28131
|
+
activeLockedBucketsList: jspb.Message.toObjectList(msg.getActiveLockedBucketsList(),
|
|
28132
|
+
proto.payment.WithdrawalWagerLockedBucketItem.toObject, includeInstance)
|
|
28133
|
+
};
|
|
28134
|
+
|
|
28135
|
+
if (includeInstance) {
|
|
28136
|
+
obj.$jspbMessageInstance = msg;
|
|
28137
|
+
}
|
|
28138
|
+
return obj;
|
|
28139
|
+
};
|
|
28140
|
+
}
|
|
28141
|
+
|
|
28142
|
+
|
|
28143
|
+
/**
|
|
28144
|
+
* Deserializes binary data (in protobuf wire format).
|
|
28145
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
28146
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse}
|
|
28147
|
+
*/
|
|
28148
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.deserializeBinary = function(bytes) {
|
|
28149
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
28150
|
+
var msg = new proto.payment.GetWithdrawalWagerSnapshotResponse;
|
|
28151
|
+
return proto.payment.GetWithdrawalWagerSnapshotResponse.deserializeBinaryFromReader(msg, reader);
|
|
28152
|
+
};
|
|
28153
|
+
|
|
28154
|
+
|
|
28155
|
+
/**
|
|
28156
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
28157
|
+
* given reader into the given message object.
|
|
28158
|
+
* @param {!proto.payment.GetWithdrawalWagerSnapshotResponse} msg The message object to deserialize into.
|
|
28159
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
28160
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse}
|
|
28161
|
+
*/
|
|
28162
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
28163
|
+
while (reader.nextField()) {
|
|
28164
|
+
if (reader.isEndGroup()) {
|
|
28165
|
+
break;
|
|
28166
|
+
}
|
|
28167
|
+
var field = reader.getFieldNumber();
|
|
28168
|
+
switch (field) {
|
|
28169
|
+
case 1:
|
|
28170
|
+
var value = /** @type {string} */ (reader.readString());
|
|
28171
|
+
msg.setCurrency(value);
|
|
28172
|
+
break;
|
|
28173
|
+
case 2:
|
|
28174
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
28175
|
+
msg.setCurrencyScale(value);
|
|
28176
|
+
break;
|
|
28177
|
+
case 3:
|
|
28178
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
28179
|
+
msg.setRequiredWagerMinor(value);
|
|
28180
|
+
break;
|
|
28181
|
+
case 4:
|
|
28182
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
28183
|
+
msg.setCompletedWagerMinor(value);
|
|
28184
|
+
break;
|
|
28185
|
+
case 5:
|
|
28186
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
28187
|
+
msg.setRemainingWagerMinor(value);
|
|
28188
|
+
break;
|
|
28189
|
+
case 6:
|
|
28190
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
28191
|
+
msg.setWithdrawableAmountMinor(value);
|
|
28192
|
+
break;
|
|
28193
|
+
case 7:
|
|
28194
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
28195
|
+
msg.setLockedAmountMinor(value);
|
|
28196
|
+
break;
|
|
28197
|
+
case 8:
|
|
28198
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
28199
|
+
msg.setActiveLockedBucketsCount(value);
|
|
28200
|
+
break;
|
|
28201
|
+
case 9:
|
|
28202
|
+
var value = new proto.payment.WithdrawalWagerLockedBucketItem;
|
|
28203
|
+
reader.readMessage(value,proto.payment.WithdrawalWagerLockedBucketItem.deserializeBinaryFromReader);
|
|
28204
|
+
msg.addActiveLockedBuckets(value);
|
|
28205
|
+
break;
|
|
28206
|
+
default:
|
|
28207
|
+
reader.skipField();
|
|
28208
|
+
break;
|
|
28209
|
+
}
|
|
28210
|
+
}
|
|
28211
|
+
return msg;
|
|
28212
|
+
};
|
|
28213
|
+
|
|
28214
|
+
|
|
28215
|
+
/**
|
|
28216
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
28217
|
+
* @return {!Uint8Array}
|
|
28218
|
+
*/
|
|
28219
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.serializeBinary = function() {
|
|
28220
|
+
var writer = new jspb.BinaryWriter();
|
|
28221
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.serializeBinaryToWriter(this, writer);
|
|
28222
|
+
return writer.getResultBuffer();
|
|
28223
|
+
};
|
|
28224
|
+
|
|
28225
|
+
|
|
28226
|
+
/**
|
|
28227
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
28228
|
+
* format), writing to the given BinaryWriter.
|
|
28229
|
+
* @param {!proto.payment.GetWithdrawalWagerSnapshotResponse} message
|
|
28230
|
+
* @param {!jspb.BinaryWriter} writer
|
|
28231
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
28232
|
+
*/
|
|
28233
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.serializeBinaryToWriter = function(message, writer) {
|
|
28234
|
+
var f = undefined;
|
|
28235
|
+
f = message.getCurrency();
|
|
28236
|
+
if (f.length > 0) {
|
|
28237
|
+
writer.writeString(
|
|
28238
|
+
1,
|
|
28239
|
+
f
|
|
28240
|
+
);
|
|
28241
|
+
}
|
|
28242
|
+
f = message.getCurrencyScale();
|
|
28243
|
+
if (f !== 0) {
|
|
28244
|
+
writer.writeInt32(
|
|
28245
|
+
2,
|
|
28246
|
+
f
|
|
28247
|
+
);
|
|
28248
|
+
}
|
|
28249
|
+
f = message.getRequiredWagerMinor();
|
|
28250
|
+
if (f !== 0) {
|
|
28251
|
+
writer.writeInt64(
|
|
28252
|
+
3,
|
|
28253
|
+
f
|
|
28254
|
+
);
|
|
28255
|
+
}
|
|
28256
|
+
f = message.getCompletedWagerMinor();
|
|
28257
|
+
if (f !== 0) {
|
|
28258
|
+
writer.writeInt64(
|
|
28259
|
+
4,
|
|
28260
|
+
f
|
|
28261
|
+
);
|
|
28262
|
+
}
|
|
28263
|
+
f = message.getRemainingWagerMinor();
|
|
28264
|
+
if (f !== 0) {
|
|
28265
|
+
writer.writeInt64(
|
|
28266
|
+
5,
|
|
28267
|
+
f
|
|
28268
|
+
);
|
|
28269
|
+
}
|
|
28270
|
+
f = message.getWithdrawableAmountMinor();
|
|
28271
|
+
if (f !== 0) {
|
|
28272
|
+
writer.writeInt64(
|
|
28273
|
+
6,
|
|
28274
|
+
f
|
|
28275
|
+
);
|
|
28276
|
+
}
|
|
28277
|
+
f = message.getLockedAmountMinor();
|
|
28278
|
+
if (f !== 0) {
|
|
28279
|
+
writer.writeInt64(
|
|
28280
|
+
7,
|
|
28281
|
+
f
|
|
28282
|
+
);
|
|
28283
|
+
}
|
|
28284
|
+
f = message.getActiveLockedBucketsCount();
|
|
28285
|
+
if (f !== 0) {
|
|
28286
|
+
writer.writeInt32(
|
|
28287
|
+
8,
|
|
28288
|
+
f
|
|
28289
|
+
);
|
|
28290
|
+
}
|
|
28291
|
+
f = message.getActiveLockedBucketsList();
|
|
28292
|
+
if (f.length > 0) {
|
|
28293
|
+
writer.writeRepeatedMessage(
|
|
28294
|
+
9,
|
|
28295
|
+
f,
|
|
28296
|
+
proto.payment.WithdrawalWagerLockedBucketItem.serializeBinaryToWriter
|
|
28297
|
+
);
|
|
28298
|
+
}
|
|
28299
|
+
};
|
|
28300
|
+
|
|
28301
|
+
|
|
28302
|
+
/**
|
|
28303
|
+
* optional string currency = 1;
|
|
28304
|
+
* @return {string}
|
|
28305
|
+
*/
|
|
28306
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.getCurrency = function() {
|
|
28307
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
28308
|
+
};
|
|
28309
|
+
|
|
28310
|
+
|
|
28311
|
+
/**
|
|
28312
|
+
* @param {string} value
|
|
28313
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
28314
|
+
*/
|
|
28315
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.setCurrency = function(value) {
|
|
28316
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
28317
|
+
};
|
|
28318
|
+
|
|
28319
|
+
|
|
28320
|
+
/**
|
|
28321
|
+
* optional int32 currency_scale = 2;
|
|
28322
|
+
* @return {number}
|
|
28323
|
+
*/
|
|
28324
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.getCurrencyScale = function() {
|
|
28325
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
28326
|
+
};
|
|
28327
|
+
|
|
28328
|
+
|
|
28329
|
+
/**
|
|
28330
|
+
* @param {number} value
|
|
28331
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
28332
|
+
*/
|
|
28333
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.setCurrencyScale = function(value) {
|
|
28334
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
28335
|
+
};
|
|
28336
|
+
|
|
28337
|
+
|
|
28338
|
+
/**
|
|
28339
|
+
* optional int64 required_wager_minor = 3;
|
|
28340
|
+
* @return {number}
|
|
28341
|
+
*/
|
|
28342
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.getRequiredWagerMinor = function() {
|
|
28343
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
28344
|
+
};
|
|
28345
|
+
|
|
28346
|
+
|
|
28347
|
+
/**
|
|
28348
|
+
* @param {number} value
|
|
28349
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
28350
|
+
*/
|
|
28351
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.setRequiredWagerMinor = function(value) {
|
|
28352
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
28353
|
+
};
|
|
28354
|
+
|
|
28355
|
+
|
|
28356
|
+
/**
|
|
28357
|
+
* optional int64 completed_wager_minor = 4;
|
|
28358
|
+
* @return {number}
|
|
28359
|
+
*/
|
|
28360
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.getCompletedWagerMinor = function() {
|
|
28361
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
28362
|
+
};
|
|
28363
|
+
|
|
28364
|
+
|
|
28365
|
+
/**
|
|
28366
|
+
* @param {number} value
|
|
28367
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
28368
|
+
*/
|
|
28369
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.setCompletedWagerMinor = function(value) {
|
|
28370
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
28371
|
+
};
|
|
28372
|
+
|
|
28373
|
+
|
|
28374
|
+
/**
|
|
28375
|
+
* optional int64 remaining_wager_minor = 5;
|
|
28376
|
+
* @return {number}
|
|
28377
|
+
*/
|
|
28378
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.getRemainingWagerMinor = function() {
|
|
28379
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
28380
|
+
};
|
|
28381
|
+
|
|
28382
|
+
|
|
28383
|
+
/**
|
|
28384
|
+
* @param {number} value
|
|
28385
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
28386
|
+
*/
|
|
28387
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.setRemainingWagerMinor = function(value) {
|
|
28388
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
28389
|
+
};
|
|
28390
|
+
|
|
28391
|
+
|
|
28392
|
+
/**
|
|
28393
|
+
* optional int64 withdrawable_amount_minor = 6;
|
|
28394
|
+
* @return {number}
|
|
28395
|
+
*/
|
|
28396
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.getWithdrawableAmountMinor = function() {
|
|
28397
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
28398
|
+
};
|
|
28399
|
+
|
|
28400
|
+
|
|
28401
|
+
/**
|
|
28402
|
+
* @param {number} value
|
|
28403
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
28404
|
+
*/
|
|
28405
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.setWithdrawableAmountMinor = function(value) {
|
|
28406
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
28407
|
+
};
|
|
28408
|
+
|
|
28409
|
+
|
|
28410
|
+
/**
|
|
28411
|
+
* optional int64 locked_amount_minor = 7;
|
|
28412
|
+
* @return {number}
|
|
28413
|
+
*/
|
|
28414
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.getLockedAmountMinor = function() {
|
|
28415
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
28416
|
+
};
|
|
28417
|
+
|
|
28418
|
+
|
|
28419
|
+
/**
|
|
28420
|
+
* @param {number} value
|
|
28421
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
28422
|
+
*/
|
|
28423
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.setLockedAmountMinor = function(value) {
|
|
28424
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
28425
|
+
};
|
|
28426
|
+
|
|
28427
|
+
|
|
28428
|
+
/**
|
|
28429
|
+
* optional int32 active_locked_buckets_count = 8;
|
|
28430
|
+
* @return {number}
|
|
28431
|
+
*/
|
|
28432
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.getActiveLockedBucketsCount = function() {
|
|
28433
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
28434
|
+
};
|
|
28435
|
+
|
|
28436
|
+
|
|
28437
|
+
/**
|
|
28438
|
+
* @param {number} value
|
|
28439
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
28440
|
+
*/
|
|
28441
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.setActiveLockedBucketsCount = function(value) {
|
|
28442
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
28443
|
+
};
|
|
28444
|
+
|
|
28445
|
+
|
|
28446
|
+
/**
|
|
28447
|
+
* repeated WithdrawalWagerLockedBucketItem active_locked_buckets = 9;
|
|
28448
|
+
* @return {!Array<!proto.payment.WithdrawalWagerLockedBucketItem>}
|
|
28449
|
+
*/
|
|
28450
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.getActiveLockedBucketsList = function() {
|
|
28451
|
+
return /** @type{!Array<!proto.payment.WithdrawalWagerLockedBucketItem>} */ (
|
|
28452
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.WithdrawalWagerLockedBucketItem, 9));
|
|
28453
|
+
};
|
|
28454
|
+
|
|
28455
|
+
|
|
28456
|
+
/**
|
|
28457
|
+
* @param {!Array<!proto.payment.WithdrawalWagerLockedBucketItem>} value
|
|
28458
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
28459
|
+
*/
|
|
28460
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.setActiveLockedBucketsList = function(value) {
|
|
28461
|
+
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
28462
|
+
};
|
|
28463
|
+
|
|
28464
|
+
|
|
28465
|
+
/**
|
|
28466
|
+
* @param {!proto.payment.WithdrawalWagerLockedBucketItem=} opt_value
|
|
28467
|
+
* @param {number=} opt_index
|
|
28468
|
+
* @return {!proto.payment.WithdrawalWagerLockedBucketItem}
|
|
28469
|
+
*/
|
|
28470
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.addActiveLockedBuckets = function(opt_value, opt_index) {
|
|
28471
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.payment.WithdrawalWagerLockedBucketItem, opt_index);
|
|
28472
|
+
};
|
|
28473
|
+
|
|
28474
|
+
|
|
28475
|
+
/**
|
|
28476
|
+
* Clears the list making it empty but non-null.
|
|
28477
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
28478
|
+
*/
|
|
28479
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.clearActiveLockedBucketsList = function() {
|
|
28480
|
+
return this.setActiveLockedBucketsList([]);
|
|
28481
|
+
};
|
|
28482
|
+
|
|
28483
|
+
|
|
28484
|
+
|
|
27471
28485
|
/**
|
|
27472
28486
|
* List of repeated fields within this message type.
|
|
27473
28487
|
* @private {!Array<number>}
|