protobuf-platform 1.2.62 → 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;
@@ -44,6 +45,7 @@ message LoyaltySearchRequest {
44
45
  repeated string currencies = 7;
45
46
  optional int32 number_of_deposit = 8;
46
47
  optional int32 number_of_step = 9;
48
+ optional string locale = 10;
47
49
  }
48
50
  message ItemsBunchRequest {
49
51
  repeated int32 ids = 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.
@@ -1318,7 +1366,8 @@ proto.loyalty.LoyaltySearchRequest.toObject = function(includeInstance, msg) {
1318
1366
  geoList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
1319
1367
  currenciesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
1320
1368
  numberOfDeposit: jspb.Message.getFieldWithDefault(msg, 8, 0),
1321
- numberOfStep: jspb.Message.getFieldWithDefault(msg, 9, 0)
1369
+ numberOfStep: jspb.Message.getFieldWithDefault(msg, 9, 0),
1370
+ locale: jspb.Message.getFieldWithDefault(msg, 10, "")
1322
1371
  };
1323
1372
 
1324
1373
  if (includeInstance) {
@@ -1391,6 +1440,10 @@ proto.loyalty.LoyaltySearchRequest.deserializeBinaryFromReader = function(msg, r
1391
1440
  var value = /** @type {number} */ (reader.readInt32());
1392
1441
  msg.setNumberOfStep(value);
1393
1442
  break;
1443
+ case 10:
1444
+ var value = /** @type {string} */ (reader.readString());
1445
+ msg.setLocale(value);
1446
+ break;
1394
1447
  default:
1395
1448
  reader.skipField();
1396
1449
  break;
@@ -1483,6 +1536,13 @@ proto.loyalty.LoyaltySearchRequest.serializeBinaryToWriter = function(message, w
1483
1536
  f
1484
1537
  );
1485
1538
  }
1539
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
1540
+ if (f != null) {
1541
+ writer.writeString(
1542
+ 10,
1543
+ f
1544
+ );
1545
+ }
1486
1546
  };
1487
1547
 
1488
1548
 
@@ -1812,6 +1872,42 @@ proto.loyalty.LoyaltySearchRequest.prototype.hasNumberOfStep = function() {
1812
1872
  };
1813
1873
 
1814
1874
 
1875
+ /**
1876
+ * optional string locale = 10;
1877
+ * @return {string}
1878
+ */
1879
+ proto.loyalty.LoyaltySearchRequest.prototype.getLocale = function() {
1880
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1881
+ };
1882
+
1883
+
1884
+ /**
1885
+ * @param {string} value
1886
+ * @return {!proto.loyalty.LoyaltySearchRequest} returns this
1887
+ */
1888
+ proto.loyalty.LoyaltySearchRequest.prototype.setLocale = function(value) {
1889
+ return jspb.Message.setField(this, 10, value);
1890
+ };
1891
+
1892
+
1893
+ /**
1894
+ * Clears the field making it undefined.
1895
+ * @return {!proto.loyalty.LoyaltySearchRequest} returns this
1896
+ */
1897
+ proto.loyalty.LoyaltySearchRequest.prototype.clearLocale = function() {
1898
+ return jspb.Message.setField(this, 10, undefined);
1899
+ };
1900
+
1901
+
1902
+ /**
1903
+ * Returns whether this field is set.
1904
+ * @return {boolean}
1905
+ */
1906
+ proto.loyalty.LoyaltySearchRequest.prototype.hasLocale = function() {
1907
+ return jspb.Message.getField(this, 10) != null;
1908
+ };
1909
+
1910
+
1815
1911
 
1816
1912
  /**
1817
1913
  * 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.62",
3
+ "version": "1.2.64",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {