protobuf-platform 1.1.62 → 1.1.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.
@@ -32,6 +32,7 @@ message NotificationSearchRequest {
32
32
  optional string notification_title = 3;
33
33
  repeated int32 notification_ids = 4;
34
34
  optional string type = 5;
35
+ optional int32 is_active = 6;
35
36
  }
36
37
  message UserSearchRequest {
37
38
  int32 user_id = 1;
@@ -960,7 +960,8 @@ proto.notification.NotificationSearchRequest.toObject = function(includeInstance
960
960
  userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
961
961
  notificationTitle: jspb.Message.getFieldWithDefault(msg, 3, ""),
962
962
  notificationIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
963
- type: jspb.Message.getFieldWithDefault(msg, 5, "")
963
+ type: jspb.Message.getFieldWithDefault(msg, 5, ""),
964
+ isActive: jspb.Message.getFieldWithDefault(msg, 6, 0)
964
965
  };
965
966
 
966
967
  if (includeInstance) {
@@ -1019,6 +1020,10 @@ proto.notification.NotificationSearchRequest.deserializeBinaryFromReader = funct
1019
1020
  var value = /** @type {string} */ (reader.readString());
1020
1021
  msg.setType(value);
1021
1022
  break;
1023
+ case 6:
1024
+ var value = /** @type {number} */ (reader.readInt32());
1025
+ msg.setIsActive(value);
1026
+ break;
1022
1027
  default:
1023
1028
  reader.skipField();
1024
1029
  break;
@@ -1083,6 +1088,13 @@ proto.notification.NotificationSearchRequest.serializeBinaryToWriter = function(
1083
1088
  f
1084
1089
  );
1085
1090
  }
1091
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
1092
+ if (f != null) {
1093
+ writer.writeInt32(
1094
+ 6,
1095
+ f
1096
+ );
1097
+ }
1086
1098
  };
1087
1099
 
1088
1100
 
@@ -1267,6 +1279,42 @@ proto.notification.NotificationSearchRequest.prototype.hasType = function() {
1267
1279
  };
1268
1280
 
1269
1281
 
1282
+ /**
1283
+ * optional int32 is_active = 6;
1284
+ * @return {number}
1285
+ */
1286
+ proto.notification.NotificationSearchRequest.prototype.getIsActive = function() {
1287
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
1288
+ };
1289
+
1290
+
1291
+ /**
1292
+ * @param {number} value
1293
+ * @return {!proto.notification.NotificationSearchRequest} returns this
1294
+ */
1295
+ proto.notification.NotificationSearchRequest.prototype.setIsActive = function(value) {
1296
+ return jspb.Message.setField(this, 6, value);
1297
+ };
1298
+
1299
+
1300
+ /**
1301
+ * Clears the field making it undefined.
1302
+ * @return {!proto.notification.NotificationSearchRequest} returns this
1303
+ */
1304
+ proto.notification.NotificationSearchRequest.prototype.clearIsActive = function() {
1305
+ return jspb.Message.setField(this, 6, undefined);
1306
+ };
1307
+
1308
+
1309
+ /**
1310
+ * Returns whether this field is set.
1311
+ * @return {boolean}
1312
+ */
1313
+ proto.notification.NotificationSearchRequest.prototype.hasIsActive = function() {
1314
+ return jspb.Message.getField(this, 6) != null;
1315
+ };
1316
+
1317
+
1270
1318
 
1271
1319
 
1272
1320
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.62",
3
+ "version": "1.1.64",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -50,6 +50,9 @@ message PaymentSearchRequest {
50
50
  repeated int32 provider_ids = 8;
51
51
  repeated int32 method_ids = 9;
52
52
  repeated int32 deposit_statuses = 10;
53
+ optional string provider_title = 11;
54
+ optional string method_title = 12;
55
+ optional int32 is_active = 13;
53
56
  }
54
57
  //Provider CRUD | Requests
55
58
  message ProviderItem {
@@ -1722,7 +1722,10 @@ proto.payment.PaymentSearchRequest.toObject = function(includeInstance, msg) {
1722
1722
  transactionType: jspb.Message.getFieldWithDefault(msg, 7, ""),
1723
1723
  providerIdsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
1724
1724
  methodIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
1725
- depositStatusesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
1725
+ depositStatusesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
1726
+ providerTitle: jspb.Message.getFieldWithDefault(msg, 11, ""),
1727
+ methodTitle: jspb.Message.getFieldWithDefault(msg, 12, ""),
1728
+ isActive: jspb.Message.getFieldWithDefault(msg, 13, 0)
1726
1729
  };
1727
1730
 
1728
1731
  if (includeInstance) {
@@ -1807,6 +1810,18 @@ proto.payment.PaymentSearchRequest.deserializeBinaryFromReader = function(msg, r
1807
1810
  msg.addDepositStatuses(values[i]);
1808
1811
  }
1809
1812
  break;
1813
+ case 11:
1814
+ var value = /** @type {string} */ (reader.readString());
1815
+ msg.setProviderTitle(value);
1816
+ break;
1817
+ case 12:
1818
+ var value = /** @type {string} */ (reader.readString());
1819
+ msg.setMethodTitle(value);
1820
+ break;
1821
+ case 13:
1822
+ var value = /** @type {number} */ (reader.readInt32());
1823
+ msg.setIsActive(value);
1824
+ break;
1810
1825
  default:
1811
1826
  reader.skipField();
1812
1827
  break;
@@ -1906,6 +1921,27 @@ proto.payment.PaymentSearchRequest.serializeBinaryToWriter = function(message, w
1906
1921
  f
1907
1922
  );
1908
1923
  }
1924
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
1925
+ if (f != null) {
1926
+ writer.writeString(
1927
+ 11,
1928
+ f
1929
+ );
1930
+ }
1931
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
1932
+ if (f != null) {
1933
+ writer.writeString(
1934
+ 12,
1935
+ f
1936
+ );
1937
+ }
1938
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
1939
+ if (f != null) {
1940
+ writer.writeInt32(
1941
+ 13,
1942
+ f
1943
+ );
1944
+ }
1909
1945
  };
1910
1946
 
1911
1947
 
@@ -2275,6 +2311,114 @@ proto.payment.PaymentSearchRequest.prototype.clearDepositStatusesList = function
2275
2311
  };
2276
2312
 
2277
2313
 
2314
+ /**
2315
+ * optional string provider_title = 11;
2316
+ * @return {string}
2317
+ */
2318
+ proto.payment.PaymentSearchRequest.prototype.getProviderTitle = function() {
2319
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
2320
+ };
2321
+
2322
+
2323
+ /**
2324
+ * @param {string} value
2325
+ * @return {!proto.payment.PaymentSearchRequest} returns this
2326
+ */
2327
+ proto.payment.PaymentSearchRequest.prototype.setProviderTitle = function(value) {
2328
+ return jspb.Message.setField(this, 11, value);
2329
+ };
2330
+
2331
+
2332
+ /**
2333
+ * Clears the field making it undefined.
2334
+ * @return {!proto.payment.PaymentSearchRequest} returns this
2335
+ */
2336
+ proto.payment.PaymentSearchRequest.prototype.clearProviderTitle = function() {
2337
+ return jspb.Message.setField(this, 11, undefined);
2338
+ };
2339
+
2340
+
2341
+ /**
2342
+ * Returns whether this field is set.
2343
+ * @return {boolean}
2344
+ */
2345
+ proto.payment.PaymentSearchRequest.prototype.hasProviderTitle = function() {
2346
+ return jspb.Message.getField(this, 11) != null;
2347
+ };
2348
+
2349
+
2350
+ /**
2351
+ * optional string method_title = 12;
2352
+ * @return {string}
2353
+ */
2354
+ proto.payment.PaymentSearchRequest.prototype.getMethodTitle = function() {
2355
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
2356
+ };
2357
+
2358
+
2359
+ /**
2360
+ * @param {string} value
2361
+ * @return {!proto.payment.PaymentSearchRequest} returns this
2362
+ */
2363
+ proto.payment.PaymentSearchRequest.prototype.setMethodTitle = function(value) {
2364
+ return jspb.Message.setField(this, 12, value);
2365
+ };
2366
+
2367
+
2368
+ /**
2369
+ * Clears the field making it undefined.
2370
+ * @return {!proto.payment.PaymentSearchRequest} returns this
2371
+ */
2372
+ proto.payment.PaymentSearchRequest.prototype.clearMethodTitle = function() {
2373
+ return jspb.Message.setField(this, 12, undefined);
2374
+ };
2375
+
2376
+
2377
+ /**
2378
+ * Returns whether this field is set.
2379
+ * @return {boolean}
2380
+ */
2381
+ proto.payment.PaymentSearchRequest.prototype.hasMethodTitle = function() {
2382
+ return jspb.Message.getField(this, 12) != null;
2383
+ };
2384
+
2385
+
2386
+ /**
2387
+ * optional int32 is_active = 13;
2388
+ * @return {number}
2389
+ */
2390
+ proto.payment.PaymentSearchRequest.prototype.getIsActive = function() {
2391
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
2392
+ };
2393
+
2394
+
2395
+ /**
2396
+ * @param {number} value
2397
+ * @return {!proto.payment.PaymentSearchRequest} returns this
2398
+ */
2399
+ proto.payment.PaymentSearchRequest.prototype.setIsActive = function(value) {
2400
+ return jspb.Message.setField(this, 13, value);
2401
+ };
2402
+
2403
+
2404
+ /**
2405
+ * Clears the field making it undefined.
2406
+ * @return {!proto.payment.PaymentSearchRequest} returns this
2407
+ */
2408
+ proto.payment.PaymentSearchRequest.prototype.clearIsActive = function() {
2409
+ return jspb.Message.setField(this, 13, undefined);
2410
+ };
2411
+
2412
+
2413
+ /**
2414
+ * Returns whether this field is set.
2415
+ * @return {boolean}
2416
+ */
2417
+ proto.payment.PaymentSearchRequest.prototype.hasIsActive = function() {
2418
+ return jspb.Message.getField(this, 13) != null;
2419
+ };
2420
+
2421
+
2278
2422
 
2279
2423
  /**
2280
2424
  * List of repeated fields within this message type.