protobuf-platform 1.0.224 → 1.0.226

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.0.224",
3
+ "version": "1.0.226",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -39,6 +39,7 @@ message PaymentSearchRequest {
39
39
  repeated string currency = 2;
40
40
  repeated string geo = 3;
41
41
  optional string processing_type = 4;
42
+ optional string transaction_type = 5;
42
43
  }
43
44
  //Provider CRUD | Requests
44
45
  message ProviderItem {
@@ -101,6 +102,7 @@ message MethodItemRequest {
101
102
  optional int32 is_active = 5;
102
103
  optional int32 provider_id = 6;
103
104
  optional string transaction_type = 7;
105
+ optional string processing_type = 8;
104
106
  }
105
107
  message GetMethodRequest {
106
108
  int32 id = 1;
@@ -1562,7 +1562,8 @@ proto.payment.PaymentSearchRequest.toObject = function(includeInstance, msg) {
1562
1562
  paymentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
1563
1563
  currencyList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
1564
1564
  geoList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
1565
- processingType: jspb.Message.getFieldWithDefault(msg, 4, "")
1565
+ processingType: jspb.Message.getFieldWithDefault(msg, 4, ""),
1566
+ transactionType: jspb.Message.getFieldWithDefault(msg, 5, "")
1566
1567
  };
1567
1568
 
1568
1569
  if (includeInstance) {
@@ -1615,6 +1616,10 @@ proto.payment.PaymentSearchRequest.deserializeBinaryFromReader = function(msg, r
1615
1616
  var value = /** @type {string} */ (reader.readString());
1616
1617
  msg.setProcessingType(value);
1617
1618
  break;
1619
+ case 5:
1620
+ var value = /** @type {string} */ (reader.readString());
1621
+ msg.setTransactionType(value);
1622
+ break;
1618
1623
  default:
1619
1624
  reader.skipField();
1620
1625
  break;
@@ -1672,6 +1677,13 @@ proto.payment.PaymentSearchRequest.serializeBinaryToWriter = function(message, w
1672
1677
  f
1673
1678
  );
1674
1679
  }
1680
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
1681
+ if (f != null) {
1682
+ writer.writeString(
1683
+ 5,
1684
+ f
1685
+ );
1686
+ }
1675
1687
  };
1676
1688
 
1677
1689
 
@@ -1821,6 +1833,42 @@ proto.payment.PaymentSearchRequest.prototype.hasProcessingType = function() {
1821
1833
  };
1822
1834
 
1823
1835
 
1836
+ /**
1837
+ * optional string transaction_type = 5;
1838
+ * @return {string}
1839
+ */
1840
+ proto.payment.PaymentSearchRequest.prototype.getTransactionType = function() {
1841
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1842
+ };
1843
+
1844
+
1845
+ /**
1846
+ * @param {string} value
1847
+ * @return {!proto.payment.PaymentSearchRequest} returns this
1848
+ */
1849
+ proto.payment.PaymentSearchRequest.prototype.setTransactionType = function(value) {
1850
+ return jspb.Message.setField(this, 5, value);
1851
+ };
1852
+
1853
+
1854
+ /**
1855
+ * Clears the field making it undefined.
1856
+ * @return {!proto.payment.PaymentSearchRequest} returns this
1857
+ */
1858
+ proto.payment.PaymentSearchRequest.prototype.clearTransactionType = function() {
1859
+ return jspb.Message.setField(this, 5, undefined);
1860
+ };
1861
+
1862
+
1863
+ /**
1864
+ * Returns whether this field is set.
1865
+ * @return {boolean}
1866
+ */
1867
+ proto.payment.PaymentSearchRequest.prototype.hasTransactionType = function() {
1868
+ return jspb.Message.getField(this, 5) != null;
1869
+ };
1870
+
1871
+
1824
1872
 
1825
1873
  /**
1826
1874
  * List of repeated fields within this message type.
@@ -4205,7 +4253,8 @@ proto.payment.MethodItemRequest.toObject = function(includeInstance, msg) {
4205
4253
  description: jspb.Message.getFieldWithDefault(msg, 4, ""),
4206
4254
  isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
4207
4255
  providerId: jspb.Message.getFieldWithDefault(msg, 6, 0),
4208
- transactionType: jspb.Message.getFieldWithDefault(msg, 7, "")
4256
+ transactionType: jspb.Message.getFieldWithDefault(msg, 7, ""),
4257
+ processingType: jspb.Message.getFieldWithDefault(msg, 8, "")
4209
4258
  };
4210
4259
 
4211
4260
  if (includeInstance) {
@@ -4266,6 +4315,10 @@ proto.payment.MethodItemRequest.deserializeBinaryFromReader = function(msg, read
4266
4315
  var value = /** @type {string} */ (reader.readString());
4267
4316
  msg.setTransactionType(value);
4268
4317
  break;
4318
+ case 8:
4319
+ var value = /** @type {string} */ (reader.readString());
4320
+ msg.setProcessingType(value);
4321
+ break;
4269
4322
  default:
4270
4323
  reader.skipField();
4271
4324
  break;
@@ -4337,6 +4390,13 @@ proto.payment.MethodItemRequest.serializeBinaryToWriter = function(message, writ
4337
4390
  f
4338
4391
  );
4339
4392
  }
4393
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
4394
+ if (f != null) {
4395
+ writer.writeString(
4396
+ 8,
4397
+ f
4398
+ );
4399
+ }
4340
4400
  };
4341
4401
 
4342
4402
 
@@ -4556,6 +4616,42 @@ proto.payment.MethodItemRequest.prototype.hasTransactionType = function() {
4556
4616
  };
4557
4617
 
4558
4618
 
4619
+ /**
4620
+ * optional string processing_type = 8;
4621
+ * @return {string}
4622
+ */
4623
+ proto.payment.MethodItemRequest.prototype.getProcessingType = function() {
4624
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
4625
+ };
4626
+
4627
+
4628
+ /**
4629
+ * @param {string} value
4630
+ * @return {!proto.payment.MethodItemRequest} returns this
4631
+ */
4632
+ proto.payment.MethodItemRequest.prototype.setProcessingType = function(value) {
4633
+ return jspb.Message.setField(this, 8, value);
4634
+ };
4635
+
4636
+
4637
+ /**
4638
+ * Clears the field making it undefined.
4639
+ * @return {!proto.payment.MethodItemRequest} returns this
4640
+ */
4641
+ proto.payment.MethodItemRequest.prototype.clearProcessingType = function() {
4642
+ return jspb.Message.setField(this, 8, undefined);
4643
+ };
4644
+
4645
+
4646
+ /**
4647
+ * Returns whether this field is set.
4648
+ * @return {boolean}
4649
+ */
4650
+ proto.payment.MethodItemRequest.prototype.hasProcessingType = function() {
4651
+ return jspb.Message.getField(this, 8) != null;
4652
+ };
4653
+
4654
+
4559
4655
 
4560
4656
 
4561
4657
 
package/user/user.proto CHANGED
@@ -24,6 +24,7 @@ service User {
24
24
  rpc addUsersIntoSegments(GetSegmentRequest) returns (SegmentStatusResponse);
25
25
  rpc addUsersIntoMultiSegments(GetSegmentRequest) returns (SegmentStatusResponse);
26
26
  rpc removeUsersFromSegments(GetSegmentRequest) returns (SegmentStatusResponse);
27
+ rpc fetchUsersFromSegment(GetSegmentRequest) returns (UsersResponse);
27
28
  //Risk Status
28
29
  rpc readListRiskStatuses(PaginationRequest) returns (RiskStatusItemsResponse);
29
30
  //Dashboard
@@ -450,6 +450,17 @@ createSingleSegment: {
450
450
  responseSerialize: serialize_user_SegmentStatusResponse,
451
451
  responseDeserialize: deserialize_user_SegmentStatusResponse,
452
452
  },
453
+ fetchUsersFromSegment: {
454
+ path: '/user.User/fetchUsersFromSegment',
455
+ requestStream: false,
456
+ responseStream: false,
457
+ requestType: user_pb.GetSegmentRequest,
458
+ responseType: user_pb.UsersResponse,
459
+ requestSerialize: serialize_user_GetSegmentRequest,
460
+ requestDeserialize: deserialize_user_GetSegmentRequest,
461
+ responseSerialize: serialize_user_UsersResponse,
462
+ responseDeserialize: deserialize_user_UsersResponse,
463
+ },
453
464
  // Risk Status
454
465
  readListRiskStatuses: {
455
466
  path: '/user.User/readListRiskStatuses',