protobuf-platform 1.1.63 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.63",
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.