protobuf-platform 1.0.254 → 1.0.256
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/analytic/analytic.proto +3 -3
- package/analytic/analytic_pb.js +21 -21
- package/package.json +1 -1
package/analytic/analytic.proto
CHANGED
@@ -13,8 +13,8 @@ message PongResponse { string pong = 1; }
|
|
13
13
|
//Common
|
14
14
|
message PaginationRequest { int32 limit = 1; int32 offset = 2; optional GlobalSearchRequest global_search_params = 3; }
|
15
15
|
message GlobalSearchRequest {
|
16
|
-
optional string
|
17
|
-
optional string
|
16
|
+
optional string start_date = 1;
|
17
|
+
optional string end_date = 2;
|
18
18
|
optional string period = 3;
|
19
19
|
}
|
20
20
|
//Global
|
@@ -30,7 +30,7 @@ message GlobalCasinoItem {
|
|
30
30
|
optional float redep_avg = 9;
|
31
31
|
optional int32 total_dep_count = 10;
|
32
32
|
optional float total_dep_sum = 11;
|
33
|
-
optional float
|
33
|
+
optional float total_dep_avg = 12;
|
34
34
|
optional float total_turnover = 13;
|
35
35
|
optional float total_ggr = 14;
|
36
36
|
optional float real_turnover = 15;
|
package/analytic/analytic_pb.js
CHANGED
@@ -656,8 +656,8 @@ proto.analytic.GlobalSearchRequest.prototype.toObject = function(opt_includeInst
|
|
656
656
|
*/
|
657
657
|
proto.analytic.GlobalSearchRequest.toObject = function(includeInstance, msg) {
|
658
658
|
var f, obj = {
|
659
|
-
|
660
|
-
|
659
|
+
startDate: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
660
|
+
endDate: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
661
661
|
period: jspb.Message.getFieldWithDefault(msg, 3, "")
|
662
662
|
};
|
663
663
|
|
@@ -697,11 +697,11 @@ proto.analytic.GlobalSearchRequest.deserializeBinaryFromReader = function(msg, r
|
|
697
697
|
switch (field) {
|
698
698
|
case 1:
|
699
699
|
var value = /** @type {string} */ (reader.readString());
|
700
|
-
msg.
|
700
|
+
msg.setStartDate(value);
|
701
701
|
break;
|
702
702
|
case 2:
|
703
703
|
var value = /** @type {string} */ (reader.readString());
|
704
|
-
msg.
|
704
|
+
msg.setEndDate(value);
|
705
705
|
break;
|
706
706
|
case 3:
|
707
707
|
var value = /** @type {string} */ (reader.readString());
|
@@ -761,10 +761,10 @@ proto.analytic.GlobalSearchRequest.serializeBinaryToWriter = function(message, w
|
|
761
761
|
|
762
762
|
|
763
763
|
/**
|
764
|
-
* optional string
|
764
|
+
* optional string start_date = 1;
|
765
765
|
* @return {string}
|
766
766
|
*/
|
767
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
767
|
+
proto.analytic.GlobalSearchRequest.prototype.getStartDate = function() {
|
768
768
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
769
769
|
};
|
770
770
|
|
@@ -773,7 +773,7 @@ proto.analytic.GlobalSearchRequest.prototype.getStartedAt = function() {
|
|
773
773
|
* @param {string} value
|
774
774
|
* @return {!proto.analytic.GlobalSearchRequest} returns this
|
775
775
|
*/
|
776
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
776
|
+
proto.analytic.GlobalSearchRequest.prototype.setStartDate = function(value) {
|
777
777
|
return jspb.Message.setField(this, 1, value);
|
778
778
|
};
|
779
779
|
|
@@ -782,7 +782,7 @@ proto.analytic.GlobalSearchRequest.prototype.setStartedAt = function(value) {
|
|
782
782
|
* Clears the field making it undefined.
|
783
783
|
* @return {!proto.analytic.GlobalSearchRequest} returns this
|
784
784
|
*/
|
785
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
785
|
+
proto.analytic.GlobalSearchRequest.prototype.clearStartDate = function() {
|
786
786
|
return jspb.Message.setField(this, 1, undefined);
|
787
787
|
};
|
788
788
|
|
@@ -791,16 +791,16 @@ proto.analytic.GlobalSearchRequest.prototype.clearStartedAt = function() {
|
|
791
791
|
* Returns whether this field is set.
|
792
792
|
* @return {boolean}
|
793
793
|
*/
|
794
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
794
|
+
proto.analytic.GlobalSearchRequest.prototype.hasStartDate = function() {
|
795
795
|
return jspb.Message.getField(this, 1) != null;
|
796
796
|
};
|
797
797
|
|
798
798
|
|
799
799
|
/**
|
800
|
-
* optional string
|
800
|
+
* optional string end_date = 2;
|
801
801
|
* @return {string}
|
802
802
|
*/
|
803
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
803
|
+
proto.analytic.GlobalSearchRequest.prototype.getEndDate = function() {
|
804
804
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
805
805
|
};
|
806
806
|
|
@@ -809,7 +809,7 @@ proto.analytic.GlobalSearchRequest.prototype.getEndedAt = function() {
|
|
809
809
|
* @param {string} value
|
810
810
|
* @return {!proto.analytic.GlobalSearchRequest} returns this
|
811
811
|
*/
|
812
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
812
|
+
proto.analytic.GlobalSearchRequest.prototype.setEndDate = function(value) {
|
813
813
|
return jspb.Message.setField(this, 2, value);
|
814
814
|
};
|
815
815
|
|
@@ -818,7 +818,7 @@ proto.analytic.GlobalSearchRequest.prototype.setEndedAt = function(value) {
|
|
818
818
|
* Clears the field making it undefined.
|
819
819
|
* @return {!proto.analytic.GlobalSearchRequest} returns this
|
820
820
|
*/
|
821
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
821
|
+
proto.analytic.GlobalSearchRequest.prototype.clearEndDate = function() {
|
822
822
|
return jspb.Message.setField(this, 2, undefined);
|
823
823
|
};
|
824
824
|
|
@@ -827,7 +827,7 @@ proto.analytic.GlobalSearchRequest.prototype.clearEndedAt = function() {
|
|
827
827
|
* Returns whether this field is set.
|
828
828
|
* @return {boolean}
|
829
829
|
*/
|
830
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
830
|
+
proto.analytic.GlobalSearchRequest.prototype.hasEndDate = function() {
|
831
831
|
return jspb.Message.getField(this, 2) != null;
|
832
832
|
};
|
833
833
|
|
@@ -911,7 +911,7 @@ proto.analytic.GlobalCasinoItem.toObject = function(includeInstance, msg) {
|
|
911
911
|
redepAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
912
912
|
totalDepCount: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
913
913
|
totalDepSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
914
|
-
|
914
|
+
totalDepAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
915
915
|
totalTurnover: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
|
916
916
|
totalGgr: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
|
917
917
|
realTurnover: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
@@ -1003,7 +1003,7 @@ proto.analytic.GlobalCasinoItem.deserializeBinaryFromReader = function(msg, read
|
|
1003
1003
|
break;
|
1004
1004
|
case 12:
|
1005
1005
|
var value = /** @type {number} */ (reader.readFloat());
|
1006
|
-
msg.
|
1006
|
+
msg.setTotalDepAvg(value);
|
1007
1007
|
break;
|
1008
1008
|
case 13:
|
1009
1009
|
var value = /** @type {number} */ (reader.readFloat());
|
@@ -1599,10 +1599,10 @@ proto.analytic.GlobalCasinoItem.prototype.hasTotalDepSum = function() {
|
|
1599
1599
|
|
1600
1600
|
|
1601
1601
|
/**
|
1602
|
-
* optional float
|
1602
|
+
* optional float total_dep_avg = 12;
|
1603
1603
|
* @return {number}
|
1604
1604
|
*/
|
1605
|
-
proto.analytic.GlobalCasinoItem.prototype.
|
1605
|
+
proto.analytic.GlobalCasinoItem.prototype.getTotalDepAvg = function() {
|
1606
1606
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
1607
1607
|
};
|
1608
1608
|
|
@@ -1611,7 +1611,7 @@ proto.analytic.GlobalCasinoItem.prototype.getTotalDepAgv = function() {
|
|
1611
1611
|
* @param {number} value
|
1612
1612
|
* @return {!proto.analytic.GlobalCasinoItem} returns this
|
1613
1613
|
*/
|
1614
|
-
proto.analytic.GlobalCasinoItem.prototype.
|
1614
|
+
proto.analytic.GlobalCasinoItem.prototype.setTotalDepAvg = function(value) {
|
1615
1615
|
return jspb.Message.setField(this, 12, value);
|
1616
1616
|
};
|
1617
1617
|
|
@@ -1620,7 +1620,7 @@ proto.analytic.GlobalCasinoItem.prototype.setTotalDepAgv = function(value) {
|
|
1620
1620
|
* Clears the field making it undefined.
|
1621
1621
|
* @return {!proto.analytic.GlobalCasinoItem} returns this
|
1622
1622
|
*/
|
1623
|
-
proto.analytic.GlobalCasinoItem.prototype.
|
1623
|
+
proto.analytic.GlobalCasinoItem.prototype.clearTotalDepAvg = function() {
|
1624
1624
|
return jspb.Message.setField(this, 12, undefined);
|
1625
1625
|
};
|
1626
1626
|
|
@@ -1629,7 +1629,7 @@ proto.analytic.GlobalCasinoItem.prototype.clearTotalDepAgv = function() {
|
|
1629
1629
|
* Returns whether this field is set.
|
1630
1630
|
* @return {boolean}
|
1631
1631
|
*/
|
1632
|
-
proto.analytic.GlobalCasinoItem.prototype.
|
1632
|
+
proto.analytic.GlobalCasinoItem.prototype.hasTotalDepAvg = function() {
|
1633
1633
|
return jspb.Message.getField(this, 12) != null;
|
1634
1634
|
};
|
1635
1635
|
|