protobuf-platform 1.0.258 → 1.0.259

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.
@@ -18,6 +18,7 @@ message GlobalSearchRequest {
18
18
  optional string start_date = 1;
19
19
  optional string end_date = 2;
20
20
  optional string period = 3;
21
+ optional string type = 4;
21
22
  }
22
23
  //Global
23
24
  message GlobalCasinoItem {
@@ -702,7 +702,8 @@ proto.analytic.GlobalSearchRequest.toObject = function(includeInstance, msg) {
702
702
  var f, obj = {
703
703
  startDate: jspb.Message.getFieldWithDefault(msg, 1, ""),
704
704
  endDate: jspb.Message.getFieldWithDefault(msg, 2, ""),
705
- period: jspb.Message.getFieldWithDefault(msg, 3, "")
705
+ period: jspb.Message.getFieldWithDefault(msg, 3, ""),
706
+ type: jspb.Message.getFieldWithDefault(msg, 4, "")
706
707
  };
707
708
 
708
709
  if (includeInstance) {
@@ -751,6 +752,10 @@ proto.analytic.GlobalSearchRequest.deserializeBinaryFromReader = function(msg, r
751
752
  var value = /** @type {string} */ (reader.readString());
752
753
  msg.setPeriod(value);
753
754
  break;
755
+ case 4:
756
+ var value = /** @type {string} */ (reader.readString());
757
+ msg.setType(value);
758
+ break;
754
759
  default:
755
760
  reader.skipField();
756
761
  break;
@@ -801,6 +806,13 @@ proto.analytic.GlobalSearchRequest.serializeBinaryToWriter = function(message, w
801
806
  f
802
807
  );
803
808
  }
809
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
810
+ if (f != null) {
811
+ writer.writeString(
812
+ 4,
813
+ f
814
+ );
815
+ }
804
816
  };
805
817
 
806
818
 
@@ -912,6 +924,42 @@ proto.analytic.GlobalSearchRequest.prototype.hasPeriod = function() {
912
924
  };
913
925
 
914
926
 
927
+ /**
928
+ * optional string type = 4;
929
+ * @return {string}
930
+ */
931
+ proto.analytic.GlobalSearchRequest.prototype.getType = function() {
932
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
933
+ };
934
+
935
+
936
+ /**
937
+ * @param {string} value
938
+ * @return {!proto.analytic.GlobalSearchRequest} returns this
939
+ */
940
+ proto.analytic.GlobalSearchRequest.prototype.setType = function(value) {
941
+ return jspb.Message.setField(this, 4, value);
942
+ };
943
+
944
+
945
+ /**
946
+ * Clears the field making it undefined.
947
+ * @return {!proto.analytic.GlobalSearchRequest} returns this
948
+ */
949
+ proto.analytic.GlobalSearchRequest.prototype.clearType = function() {
950
+ return jspb.Message.setField(this, 4, undefined);
951
+ };
952
+
953
+
954
+ /**
955
+ * Returns whether this field is set.
956
+ * @return {boolean}
957
+ */
958
+ proto.analytic.GlobalSearchRequest.prototype.hasType = function() {
959
+ return jspb.Message.getField(this, 4) != null;
960
+ };
961
+
962
+
915
963
 
916
964
 
917
965
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.258",
3
+ "version": "1.0.259",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {