protobuf-platform 1.0.178 → 1.0.179
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/loyalty/loyalty.proto +1 -1
- package/loyalty/loyalty_pb.js +49 -1
- package/package.json +1 -1
package/loyalty/loyalty.proto
CHANGED
@@ -21,7 +21,7 @@ service Loyalty {
|
|
21
21
|
|
22
22
|
message PingRequest { string ping = 1; }
|
23
23
|
message PongResponse { string pong = 1; }
|
24
|
-
message PaginationRequest { int32 limit = 1; int32 offset = 2; optional LoyaltySearchRequest loyalty_search_params = 3; }
|
24
|
+
message PaginationRequest { int32 limit = 1; int32 offset = 2; optional LoyaltySearchRequest loyalty_search_params = 3; optional string type = 4; }
|
25
25
|
message LoyaltySearchRequest {
|
26
26
|
optional int32 loyalty_id = 1;
|
27
27
|
optional int32 user_id = 2;
|
package/loyalty/loyalty_pb.js
CHANGED
@@ -800,7 +800,8 @@ proto.loyalty.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
800
800
|
var f, obj = {
|
801
801
|
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
802
802
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
803
|
-
loyaltySearchParams: (f = msg.getLoyaltySearchParams()) && proto.loyalty.LoyaltySearchRequest.toObject(includeInstance, f)
|
803
|
+
loyaltySearchParams: (f = msg.getLoyaltySearchParams()) && proto.loyalty.LoyaltySearchRequest.toObject(includeInstance, f),
|
804
|
+
type: jspb.Message.getFieldWithDefault(msg, 4, "")
|
804
805
|
};
|
805
806
|
|
806
807
|
if (includeInstance) {
|
@@ -850,6 +851,10 @@ proto.loyalty.PaginationRequest.deserializeBinaryFromReader = function(msg, read
|
|
850
851
|
reader.readMessage(value,proto.loyalty.LoyaltySearchRequest.deserializeBinaryFromReader);
|
851
852
|
msg.setLoyaltySearchParams(value);
|
852
853
|
break;
|
854
|
+
case 4:
|
855
|
+
var value = /** @type {string} */ (reader.readString());
|
856
|
+
msg.setType(value);
|
857
|
+
break;
|
853
858
|
default:
|
854
859
|
reader.skipField();
|
855
860
|
break;
|
@@ -901,6 +906,13 @@ proto.loyalty.PaginationRequest.serializeBinaryToWriter = function(message, writ
|
|
901
906
|
proto.loyalty.LoyaltySearchRequest.serializeBinaryToWriter
|
902
907
|
);
|
903
908
|
}
|
909
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
910
|
+
if (f != null) {
|
911
|
+
writer.writeString(
|
912
|
+
4,
|
913
|
+
f
|
914
|
+
);
|
915
|
+
}
|
904
916
|
};
|
905
917
|
|
906
918
|
|
@@ -977,6 +989,42 @@ proto.loyalty.PaginationRequest.prototype.hasLoyaltySearchParams = function() {
|
|
977
989
|
};
|
978
990
|
|
979
991
|
|
992
|
+
/**
|
993
|
+
* optional string type = 4;
|
994
|
+
* @return {string}
|
995
|
+
*/
|
996
|
+
proto.loyalty.PaginationRequest.prototype.getType = function() {
|
997
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
998
|
+
};
|
999
|
+
|
1000
|
+
|
1001
|
+
/**
|
1002
|
+
* @param {string} value
|
1003
|
+
* @return {!proto.loyalty.PaginationRequest} returns this
|
1004
|
+
*/
|
1005
|
+
proto.loyalty.PaginationRequest.prototype.setType = function(value) {
|
1006
|
+
return jspb.Message.setField(this, 4, value);
|
1007
|
+
};
|
1008
|
+
|
1009
|
+
|
1010
|
+
/**
|
1011
|
+
* Clears the field making it undefined.
|
1012
|
+
* @return {!proto.loyalty.PaginationRequest} returns this
|
1013
|
+
*/
|
1014
|
+
proto.loyalty.PaginationRequest.prototype.clearType = function() {
|
1015
|
+
return jspb.Message.setField(this, 4, undefined);
|
1016
|
+
};
|
1017
|
+
|
1018
|
+
|
1019
|
+
/**
|
1020
|
+
* Returns whether this field is set.
|
1021
|
+
* @return {boolean}
|
1022
|
+
*/
|
1023
|
+
proto.loyalty.PaginationRequest.prototype.hasType = function() {
|
1024
|
+
return jspb.Message.getField(this, 4) != null;
|
1025
|
+
};
|
1026
|
+
|
1027
|
+
|
980
1028
|
|
981
1029
|
|
982
1030
|
|