protobuf-platform 1.2.63 → 1.2.64

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.
@@ -33,6 +33,7 @@ message PaginationRequest {
33
33
  optional string order = 3;
34
34
  optional LoyaltySearchRequest loyalty_search_params = 4;
35
35
  optional string type = 5;
36
+ optional int32 admin_side = 6;
36
37
  }
37
38
  message LoyaltySearchRequest {
38
39
  optional int32 loyalty_id = 1;
@@ -1000,7 +1000,8 @@ proto.loyalty.PaginationRequest.toObject = function(includeInstance, msg) {
1000
1000
  offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
1001
1001
  order: jspb.Message.getFieldWithDefault(msg, 3, ""),
1002
1002
  loyaltySearchParams: (f = msg.getLoyaltySearchParams()) && proto.loyalty.LoyaltySearchRequest.toObject(includeInstance, f),
1003
- type: jspb.Message.getFieldWithDefault(msg, 5, "")
1003
+ type: jspb.Message.getFieldWithDefault(msg, 5, ""),
1004
+ adminSide: jspb.Message.getFieldWithDefault(msg, 6, 0)
1004
1005
  };
1005
1006
 
1006
1007
  if (includeInstance) {
@@ -1058,6 +1059,10 @@ proto.loyalty.PaginationRequest.deserializeBinaryFromReader = function(msg, read
1058
1059
  var value = /** @type {string} */ (reader.readString());
1059
1060
  msg.setType(value);
1060
1061
  break;
1062
+ case 6:
1063
+ var value = /** @type {number} */ (reader.readInt32());
1064
+ msg.setAdminSide(value);
1065
+ break;
1061
1066
  default:
1062
1067
  reader.skipField();
1063
1068
  break;
@@ -1123,6 +1128,13 @@ proto.loyalty.PaginationRequest.serializeBinaryToWriter = function(message, writ
1123
1128
  f
1124
1129
  );
1125
1130
  }
1131
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
1132
+ if (f != null) {
1133
+ writer.writeInt32(
1134
+ 6,
1135
+ f
1136
+ );
1137
+ }
1126
1138
  };
1127
1139
 
1128
1140
 
@@ -1271,6 +1283,42 @@ proto.loyalty.PaginationRequest.prototype.hasType = function() {
1271
1283
  };
1272
1284
 
1273
1285
 
1286
+ /**
1287
+ * optional int32 admin_side = 6;
1288
+ * @return {number}
1289
+ */
1290
+ proto.loyalty.PaginationRequest.prototype.getAdminSide = function() {
1291
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
1292
+ };
1293
+
1294
+
1295
+ /**
1296
+ * @param {number} value
1297
+ * @return {!proto.loyalty.PaginationRequest} returns this
1298
+ */
1299
+ proto.loyalty.PaginationRequest.prototype.setAdminSide = function(value) {
1300
+ return jspb.Message.setField(this, 6, value);
1301
+ };
1302
+
1303
+
1304
+ /**
1305
+ * Clears the field making it undefined.
1306
+ * @return {!proto.loyalty.PaginationRequest} returns this
1307
+ */
1308
+ proto.loyalty.PaginationRequest.prototype.clearAdminSide = function() {
1309
+ return jspb.Message.setField(this, 6, undefined);
1310
+ };
1311
+
1312
+
1313
+ /**
1314
+ * Returns whether this field is set.
1315
+ * @return {boolean}
1316
+ */
1317
+ proto.loyalty.PaginationRequest.prototype.hasAdminSide = function() {
1318
+ return jspb.Message.getField(this, 6) != null;
1319
+ };
1320
+
1321
+
1274
1322
 
1275
1323
  /**
1276
1324
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.63",
3
+ "version": "1.2.64",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {