protobuf-platform 1.2.340 → 1.2.341

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.2.340",
3
+ "version": "1.2.341",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -850,6 +850,7 @@ message ReadListRiskPlayersRequest {
850
850
  optional int32 user_id = 5;
851
851
  optional string risk_level = 6;
852
852
  optional string kyc_status = 7;
853
+ repeated int32 user_ids = 8;
853
854
  }
854
855
  message RiskPlayerItem {
855
856
  int32 user_id = 1;
package/user/user_pb.js CHANGED
@@ -2122,7 +2122,7 @@ if (goog.DEBUG && !COMPILED) {
2122
2122
  * @constructor
2123
2123
  */
2124
2124
  proto.user.ReadListRiskPlayersRequest = function(opt_data) {
2125
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2125
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.ReadListRiskPlayersRequest.repeatedFields_, null);
2126
2126
  };
2127
2127
  goog.inherits(proto.user.ReadListRiskPlayersRequest, jspb.Message);
2128
2128
  if (goog.DEBUG && !COMPILED) {
@@ -36274,6 +36274,13 @@ proto.user.UserKycProfileResponse.prototype.hasUpdatedAt = function() {
36274
36274
 
36275
36275
 
36276
36276
 
36277
+ /**
36278
+ * List of repeated fields within this message type.
36279
+ * @private {!Array<number>}
36280
+ * @const
36281
+ */
36282
+ proto.user.ReadListRiskPlayersRequest.repeatedFields_ = [8];
36283
+
36277
36284
 
36278
36285
 
36279
36286
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -36311,7 +36318,8 @@ proto.user.ReadListRiskPlayersRequest.toObject = function(includeInstance, msg)
36311
36318
  email: jspb.Message.getFieldWithDefault(msg, 4, ""),
36312
36319
  userId: jspb.Message.getFieldWithDefault(msg, 5, 0),
36313
36320
  riskLevel: jspb.Message.getFieldWithDefault(msg, 6, ""),
36314
- kycStatus: jspb.Message.getFieldWithDefault(msg, 7, "")
36321
+ kycStatus: jspb.Message.getFieldWithDefault(msg, 7, ""),
36322
+ userIdsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
36315
36323
  };
36316
36324
 
36317
36325
  if (includeInstance) {
@@ -36376,6 +36384,12 @@ proto.user.ReadListRiskPlayersRequest.deserializeBinaryFromReader = function(msg
36376
36384
  var value = /** @type {string} */ (reader.readString());
36377
36385
  msg.setKycStatus(value);
36378
36386
  break;
36387
+ case 8:
36388
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
36389
+ for (var i = 0; i < values.length; i++) {
36390
+ msg.addUserIds(values[i]);
36391
+ }
36392
+ break;
36379
36393
  default:
36380
36394
  reader.skipField();
36381
36395
  break;
@@ -36454,6 +36468,13 @@ proto.user.ReadListRiskPlayersRequest.serializeBinaryToWriter = function(message
36454
36468
  f
36455
36469
  );
36456
36470
  }
36471
+ f = message.getUserIdsList();
36472
+ if (f.length > 0) {
36473
+ writer.writePackedInt32(
36474
+ 8,
36475
+ f
36476
+ );
36477
+ }
36457
36478
  };
36458
36479
 
36459
36480
 
@@ -36673,6 +36694,43 @@ proto.user.ReadListRiskPlayersRequest.prototype.hasKycStatus = function() {
36673
36694
  };
36674
36695
 
36675
36696
 
36697
+ /**
36698
+ * repeated int32 user_ids = 8;
36699
+ * @return {!Array<number>}
36700
+ */
36701
+ proto.user.ReadListRiskPlayersRequest.prototype.getUserIdsList = function() {
36702
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 8));
36703
+ };
36704
+
36705
+
36706
+ /**
36707
+ * @param {!Array<number>} value
36708
+ * @return {!proto.user.ReadListRiskPlayersRequest} returns this
36709
+ */
36710
+ proto.user.ReadListRiskPlayersRequest.prototype.setUserIdsList = function(value) {
36711
+ return jspb.Message.setField(this, 8, value || []);
36712
+ };
36713
+
36714
+
36715
+ /**
36716
+ * @param {number} value
36717
+ * @param {number=} opt_index
36718
+ * @return {!proto.user.ReadListRiskPlayersRequest} returns this
36719
+ */
36720
+ proto.user.ReadListRiskPlayersRequest.prototype.addUserIds = function(value, opt_index) {
36721
+ return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
36722
+ };
36723
+
36724
+
36725
+ /**
36726
+ * Clears the list making it empty but non-null.
36727
+ * @return {!proto.user.ReadListRiskPlayersRequest} returns this
36728
+ */
36729
+ proto.user.ReadListRiskPlayersRequest.prototype.clearUserIdsList = function() {
36730
+ return this.setUserIdsList([]);
36731
+ };
36732
+
36733
+
36676
36734
 
36677
36735
 
36678
36736