protobuf-platform 1.1.83 → 1.1.85

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/bet/bet.proto CHANGED
@@ -85,16 +85,16 @@ message SegmentedUserRequest {
85
85
  optional string currency = 1;
86
86
  optional float bet_amount_min = 2;
87
87
  optional float bet_amount_max = 3;
88
- optional float bet_count_min = 4;
89
- optional float bet_count_max = 5;
90
- optional int32 bet_sum_min = 6;
91
- optional int32 bet_sum_max = 7;
88
+ optional int32 bet_count_min = 4;
89
+ optional int32 bet_count_max = 5;
90
+ optional float bet_sum_min = 6;
91
+ optional float bet_sum_max = 7;
92
92
  optional float bet_avg_min = 8;
93
93
  optional float bet_avg_max = 9;
94
94
  optional float win_amount_min = 10;
95
95
  optional float win_amount_max = 11;
96
- optional float win_count_min = 12;
97
- optional float win_count_max = 13;
96
+ optional int32 win_count_min = 12;
97
+ optional int32 win_count_max = 13;
98
98
  optional float win_sum_min = 14;
99
99
  optional float win_sum_max = 15;
100
100
  optional float win_avg_min = 16;
package/bet/bet_pb.js CHANGED
@@ -3670,16 +3670,16 @@ proto.bet.SegmentedUserRequest.toObject = function(includeInstance, msg) {
3670
3670
  currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
3671
3671
  betAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
3672
3672
  betAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
3673
- betCountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
3674
- betCountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
3675
- betSumMin: jspb.Message.getFieldWithDefault(msg, 6, 0),
3676
- betSumMax: jspb.Message.getFieldWithDefault(msg, 7, 0),
3673
+ betCountMin: jspb.Message.getFieldWithDefault(msg, 4, 0),
3674
+ betCountMax: jspb.Message.getFieldWithDefault(msg, 5, 0),
3675
+ betSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
3676
+ betSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
3677
3677
  betAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
3678
3678
  betAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
3679
3679
  winAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
3680
3680
  winAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
3681
- winCountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
3682
- winCountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
3681
+ winCountMin: jspb.Message.getFieldWithDefault(msg, 12, 0),
3682
+ winCountMax: jspb.Message.getFieldWithDefault(msg, 13, 0),
3683
3683
  winSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
3684
3684
  winSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
3685
3685
  winAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
@@ -3733,19 +3733,19 @@ proto.bet.SegmentedUserRequest.deserializeBinaryFromReader = function(msg, reade
3733
3733
  msg.setBetAmountMax(value);
3734
3734
  break;
3735
3735
  case 4:
3736
- var value = /** @type {number} */ (reader.readFloat());
3736
+ var value = /** @type {number} */ (reader.readInt32());
3737
3737
  msg.setBetCountMin(value);
3738
3738
  break;
3739
3739
  case 5:
3740
- var value = /** @type {number} */ (reader.readFloat());
3740
+ var value = /** @type {number} */ (reader.readInt32());
3741
3741
  msg.setBetCountMax(value);
3742
3742
  break;
3743
3743
  case 6:
3744
- var value = /** @type {number} */ (reader.readInt32());
3744
+ var value = /** @type {number} */ (reader.readFloat());
3745
3745
  msg.setBetSumMin(value);
3746
3746
  break;
3747
3747
  case 7:
3748
- var value = /** @type {number} */ (reader.readInt32());
3748
+ var value = /** @type {number} */ (reader.readFloat());
3749
3749
  msg.setBetSumMax(value);
3750
3750
  break;
3751
3751
  case 8:
@@ -3765,11 +3765,11 @@ proto.bet.SegmentedUserRequest.deserializeBinaryFromReader = function(msg, reade
3765
3765
  msg.setWinAmountMax(value);
3766
3766
  break;
3767
3767
  case 12:
3768
- var value = /** @type {number} */ (reader.readFloat());
3768
+ var value = /** @type {number} */ (reader.readInt32());
3769
3769
  msg.setWinCountMin(value);
3770
3770
  break;
3771
3771
  case 13:
3772
- var value = /** @type {number} */ (reader.readFloat());
3772
+ var value = /** @type {number} */ (reader.readInt32());
3773
3773
  msg.setWinCountMax(value);
3774
3774
  break;
3775
3775
  case 14:
@@ -3840,28 +3840,28 @@ proto.bet.SegmentedUserRequest.serializeBinaryToWriter = function(message, write
3840
3840
  }
3841
3841
  f = /** @type {number} */ (jspb.Message.getField(message, 4));
3842
3842
  if (f != null) {
3843
- writer.writeFloat(
3843
+ writer.writeInt32(
3844
3844
  4,
3845
3845
  f
3846
3846
  );
3847
3847
  }
3848
3848
  f = /** @type {number} */ (jspb.Message.getField(message, 5));
3849
3849
  if (f != null) {
3850
- writer.writeFloat(
3850
+ writer.writeInt32(
3851
3851
  5,
3852
3852
  f
3853
3853
  );
3854
3854
  }
3855
3855
  f = /** @type {number} */ (jspb.Message.getField(message, 6));
3856
3856
  if (f != null) {
3857
- writer.writeInt32(
3857
+ writer.writeFloat(
3858
3858
  6,
3859
3859
  f
3860
3860
  );
3861
3861
  }
3862
3862
  f = /** @type {number} */ (jspb.Message.getField(message, 7));
3863
3863
  if (f != null) {
3864
- writer.writeInt32(
3864
+ writer.writeFloat(
3865
3865
  7,
3866
3866
  f
3867
3867
  );
@@ -3896,14 +3896,14 @@ proto.bet.SegmentedUserRequest.serializeBinaryToWriter = function(message, write
3896
3896
  }
3897
3897
  f = /** @type {number} */ (jspb.Message.getField(message, 12));
3898
3898
  if (f != null) {
3899
- writer.writeFloat(
3899
+ writer.writeInt32(
3900
3900
  12,
3901
3901
  f
3902
3902
  );
3903
3903
  }
3904
3904
  f = /** @type {number} */ (jspb.Message.getField(message, 13));
3905
3905
  if (f != null) {
3906
- writer.writeFloat(
3906
+ writer.writeInt32(
3907
3907
  13,
3908
3908
  f
3909
3909
  );
@@ -4048,11 +4048,11 @@ proto.bet.SegmentedUserRequest.prototype.hasBetAmountMax = function() {
4048
4048
 
4049
4049
 
4050
4050
  /**
4051
- * optional float bet_count_min = 4;
4051
+ * optional int32 bet_count_min = 4;
4052
4052
  * @return {number}
4053
4053
  */
4054
4054
  proto.bet.SegmentedUserRequest.prototype.getBetCountMin = function() {
4055
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
4055
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
4056
4056
  };
4057
4057
 
4058
4058
 
@@ -4084,11 +4084,11 @@ proto.bet.SegmentedUserRequest.prototype.hasBetCountMin = function() {
4084
4084
 
4085
4085
 
4086
4086
  /**
4087
- * optional float bet_count_max = 5;
4087
+ * optional int32 bet_count_max = 5;
4088
4088
  * @return {number}
4089
4089
  */
4090
4090
  proto.bet.SegmentedUserRequest.prototype.getBetCountMax = function() {
4091
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
4091
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
4092
4092
  };
4093
4093
 
4094
4094
 
@@ -4120,11 +4120,11 @@ proto.bet.SegmentedUserRequest.prototype.hasBetCountMax = function() {
4120
4120
 
4121
4121
 
4122
4122
  /**
4123
- * optional int32 bet_sum_min = 6;
4123
+ * optional float bet_sum_min = 6;
4124
4124
  * @return {number}
4125
4125
  */
4126
4126
  proto.bet.SegmentedUserRequest.prototype.getBetSumMin = function() {
4127
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
4127
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
4128
4128
  };
4129
4129
 
4130
4130
 
@@ -4156,11 +4156,11 @@ proto.bet.SegmentedUserRequest.prototype.hasBetSumMin = function() {
4156
4156
 
4157
4157
 
4158
4158
  /**
4159
- * optional int32 bet_sum_max = 7;
4159
+ * optional float bet_sum_max = 7;
4160
4160
  * @return {number}
4161
4161
  */
4162
4162
  proto.bet.SegmentedUserRequest.prototype.getBetSumMax = function() {
4163
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
4163
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
4164
4164
  };
4165
4165
 
4166
4166
 
@@ -4336,11 +4336,11 @@ proto.bet.SegmentedUserRequest.prototype.hasWinAmountMax = function() {
4336
4336
 
4337
4337
 
4338
4338
  /**
4339
- * optional float win_count_min = 12;
4339
+ * optional int32 win_count_min = 12;
4340
4340
  * @return {number}
4341
4341
  */
4342
4342
  proto.bet.SegmentedUserRequest.prototype.getWinCountMin = function() {
4343
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
4343
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
4344
4344
  };
4345
4345
 
4346
4346
 
@@ -4372,11 +4372,11 @@ proto.bet.SegmentedUserRequest.prototype.hasWinCountMin = function() {
4372
4372
 
4373
4373
 
4374
4374
  /**
4375
- * optional float win_count_max = 13;
4375
+ * optional int32 win_count_max = 13;
4376
4376
  * @return {number}
4377
4377
  */
4378
4378
  proto.bet.SegmentedUserRequest.prototype.getWinCountMax = function() {
4379
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
4379
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
4380
4380
  };
4381
4381
 
4382
4382
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.83",
3
+ "version": "1.1.85",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -47,6 +47,7 @@ service User {
47
47
  //KYC
48
48
  rpc createSumSubApplicant(SumSubApplicantRequest) returns (SumSubResponse);
49
49
  rpc uploadSumSubDocument(stream SumSubDocumentRequest) returns (SumSubResponse);
50
+ rpc fetchSumSubApplicant(GetSumSubApplicantRequest) returns (SumSubResponse);
50
51
  //Tournaments
51
52
  rpc getInfoForTournamentRules(UserDataRequest) returns (TournamentRulesInfoResponse);
52
53
  //Confirmations
@@ -425,6 +426,10 @@ message GetNoteRequest {
425
426
  //KYC | SumSub
426
427
  message SumSubApplicantRequest {
427
428
  string user_public_id = 1;
429
+ optional string level = 2;
430
+ }
431
+ message GetSumSubApplicantRequest {
432
+ string applicant_id = 1;
428
433
  }
429
434
  message SumSubDocumentItemRequest {
430
435
  string user_public_id = 1;
@@ -441,6 +446,7 @@ message SumSubResponse {
441
446
  optional string external_user_id = 1;
442
447
  optional string created_at = 2;
443
448
  optional string id_doc_type = 3;
449
+ optional string sum_sub_data = 4;
444
450
  }
445
451
  //User`s limits
446
452
  message UserLimitsRequest {
@@ -114,6 +114,17 @@ function deserialize_user_GetSegmentRuleRequest(buffer_arg) {
114
114
  return user_pb.GetSegmentRuleRequest.deserializeBinary(new Uint8Array(buffer_arg));
115
115
  }
116
116
 
117
+ function serialize_user_GetSumSubApplicantRequest(arg) {
118
+ if (!(arg instanceof user_pb.GetSumSubApplicantRequest)) {
119
+ throw new Error('Expected argument of type user.GetSumSubApplicantRequest');
120
+ }
121
+ return Buffer.from(arg.serializeBinary());
122
+ }
123
+
124
+ function deserialize_user_GetSumSubApplicantRequest(buffer_arg) {
125
+ return user_pb.GetSumSubApplicantRequest.deserializeBinary(new Uint8Array(buffer_arg));
126
+ }
127
+
117
128
  function serialize_user_GetUserLimitsRequest(arg) {
118
129
  if (!(arg instanceof user_pb.GetUserLimitsRequest)) {
119
130
  throw new Error('Expected argument of type user.GetUserLimitsRequest');
@@ -864,6 +875,17 @@ createSumSubApplicant: {
864
875
  responseSerialize: serialize_user_SumSubResponse,
865
876
  responseDeserialize: deserialize_user_SumSubResponse,
866
877
  },
878
+ fetchSumSubApplicant: {
879
+ path: '/user.User/fetchSumSubApplicant',
880
+ requestStream: false,
881
+ responseStream: false,
882
+ requestType: user_pb.GetSumSubApplicantRequest,
883
+ responseType: user_pb.SumSubResponse,
884
+ requestSerialize: serialize_user_GetSumSubApplicantRequest,
885
+ requestDeserialize: deserialize_user_GetSumSubApplicantRequest,
886
+ responseSerialize: serialize_user_SumSubResponse,
887
+ responseDeserialize: deserialize_user_SumSubResponse,
888
+ },
867
889
  // Tournaments
868
890
  getInfoForTournamentRules: {
869
891
  path: '/user.User/getInfoForTournamentRules',
package/user/user_pb.js CHANGED
@@ -33,6 +33,7 @@ goog.exportSymbol('proto.user.GetNoteRequest', null, global);
33
33
  goog.exportSymbol('proto.user.GetRoleRequest', null, global);
34
34
  goog.exportSymbol('proto.user.GetSegmentRequest', null, global);
35
35
  goog.exportSymbol('proto.user.GetSegmentRuleRequest', null, global);
36
+ goog.exportSymbol('proto.user.GetSumSubApplicantRequest', null, global);
36
37
  goog.exportSymbol('proto.user.GetUserLimitsRequest', null, global);
37
38
  goog.exportSymbol('proto.user.LimitStatusResponse', null, global);
38
39
  goog.exportSymbol('proto.user.LoggedInResponse', null, global);
@@ -1045,6 +1046,27 @@ if (goog.DEBUG && !COMPILED) {
1045
1046
  */
1046
1047
  proto.user.SumSubApplicantRequest.displayName = 'proto.user.SumSubApplicantRequest';
1047
1048
  }
1049
+ /**
1050
+ * Generated by JsPbCodeGenerator.
1051
+ * @param {Array=} opt_data Optional initial data array, typically from a
1052
+ * server response, or constructed directly in Javascript. The array is used
1053
+ * in place and becomes part of the constructed object. It is not cloned.
1054
+ * If no data is provided, the constructed object will be empty, but still
1055
+ * valid.
1056
+ * @extends {jspb.Message}
1057
+ * @constructor
1058
+ */
1059
+ proto.user.GetSumSubApplicantRequest = function(opt_data) {
1060
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1061
+ };
1062
+ goog.inherits(proto.user.GetSumSubApplicantRequest, jspb.Message);
1063
+ if (goog.DEBUG && !COMPILED) {
1064
+ /**
1065
+ * @public
1066
+ * @override
1067
+ */
1068
+ proto.user.GetSumSubApplicantRequest.displayName = 'proto.user.GetSumSubApplicantRequest';
1069
+ }
1048
1070
  /**
1049
1071
  * Generated by JsPbCodeGenerator.
1050
1072
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -18460,7 +18482,8 @@ proto.user.SumSubApplicantRequest.prototype.toObject = function(opt_includeInsta
18460
18482
  */
18461
18483
  proto.user.SumSubApplicantRequest.toObject = function(includeInstance, msg) {
18462
18484
  var f, obj = {
18463
- userPublicId: jspb.Message.getFieldWithDefault(msg, 1, "")
18485
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 1, ""),
18486
+ level: jspb.Message.getFieldWithDefault(msg, 2, "")
18464
18487
  };
18465
18488
 
18466
18489
  if (includeInstance) {
@@ -18501,6 +18524,10 @@ proto.user.SumSubApplicantRequest.deserializeBinaryFromReader = function(msg, re
18501
18524
  var value = /** @type {string} */ (reader.readString());
18502
18525
  msg.setUserPublicId(value);
18503
18526
  break;
18527
+ case 2:
18528
+ var value = /** @type {string} */ (reader.readString());
18529
+ msg.setLevel(value);
18530
+ break;
18504
18531
  default:
18505
18532
  reader.skipField();
18506
18533
  break;
@@ -18537,6 +18564,13 @@ proto.user.SumSubApplicantRequest.serializeBinaryToWriter = function(message, wr
18537
18564
  f
18538
18565
  );
18539
18566
  }
18567
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
18568
+ if (f != null) {
18569
+ writer.writeString(
18570
+ 2,
18571
+ f
18572
+ );
18573
+ }
18540
18574
  };
18541
18575
 
18542
18576
 
@@ -18558,6 +18592,172 @@ proto.user.SumSubApplicantRequest.prototype.setUserPublicId = function(value) {
18558
18592
  };
18559
18593
 
18560
18594
 
18595
+ /**
18596
+ * optional string level = 2;
18597
+ * @return {string}
18598
+ */
18599
+ proto.user.SumSubApplicantRequest.prototype.getLevel = function() {
18600
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
18601
+ };
18602
+
18603
+
18604
+ /**
18605
+ * @param {string} value
18606
+ * @return {!proto.user.SumSubApplicantRequest} returns this
18607
+ */
18608
+ proto.user.SumSubApplicantRequest.prototype.setLevel = function(value) {
18609
+ return jspb.Message.setField(this, 2, value);
18610
+ };
18611
+
18612
+
18613
+ /**
18614
+ * Clears the field making it undefined.
18615
+ * @return {!proto.user.SumSubApplicantRequest} returns this
18616
+ */
18617
+ proto.user.SumSubApplicantRequest.prototype.clearLevel = function() {
18618
+ return jspb.Message.setField(this, 2, undefined);
18619
+ };
18620
+
18621
+
18622
+ /**
18623
+ * Returns whether this field is set.
18624
+ * @return {boolean}
18625
+ */
18626
+ proto.user.SumSubApplicantRequest.prototype.hasLevel = function() {
18627
+ return jspb.Message.getField(this, 2) != null;
18628
+ };
18629
+
18630
+
18631
+
18632
+
18633
+
18634
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18635
+ /**
18636
+ * Creates an object representation of this proto.
18637
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18638
+ * Optional fields that are not set will be set to undefined.
18639
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18640
+ * For the list of reserved names please see:
18641
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18642
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18643
+ * JSPB instance for transitional soy proto support:
18644
+ * http://goto/soy-param-migration
18645
+ * @return {!Object}
18646
+ */
18647
+ proto.user.GetSumSubApplicantRequest.prototype.toObject = function(opt_includeInstance) {
18648
+ return proto.user.GetSumSubApplicantRequest.toObject(opt_includeInstance, this);
18649
+ };
18650
+
18651
+
18652
+ /**
18653
+ * Static version of the {@see toObject} method.
18654
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18655
+ * the JSPB instance for transitional soy proto support:
18656
+ * http://goto/soy-param-migration
18657
+ * @param {!proto.user.GetSumSubApplicantRequest} msg The msg instance to transform.
18658
+ * @return {!Object}
18659
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18660
+ */
18661
+ proto.user.GetSumSubApplicantRequest.toObject = function(includeInstance, msg) {
18662
+ var f, obj = {
18663
+ applicantId: jspb.Message.getFieldWithDefault(msg, 1, "")
18664
+ };
18665
+
18666
+ if (includeInstance) {
18667
+ obj.$jspbMessageInstance = msg;
18668
+ }
18669
+ return obj;
18670
+ };
18671
+ }
18672
+
18673
+
18674
+ /**
18675
+ * Deserializes binary data (in protobuf wire format).
18676
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18677
+ * @return {!proto.user.GetSumSubApplicantRequest}
18678
+ */
18679
+ proto.user.GetSumSubApplicantRequest.deserializeBinary = function(bytes) {
18680
+ var reader = new jspb.BinaryReader(bytes);
18681
+ var msg = new proto.user.GetSumSubApplicantRequest;
18682
+ return proto.user.GetSumSubApplicantRequest.deserializeBinaryFromReader(msg, reader);
18683
+ };
18684
+
18685
+
18686
+ /**
18687
+ * Deserializes binary data (in protobuf wire format) from the
18688
+ * given reader into the given message object.
18689
+ * @param {!proto.user.GetSumSubApplicantRequest} msg The message object to deserialize into.
18690
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18691
+ * @return {!proto.user.GetSumSubApplicantRequest}
18692
+ */
18693
+ proto.user.GetSumSubApplicantRequest.deserializeBinaryFromReader = function(msg, reader) {
18694
+ while (reader.nextField()) {
18695
+ if (reader.isEndGroup()) {
18696
+ break;
18697
+ }
18698
+ var field = reader.getFieldNumber();
18699
+ switch (field) {
18700
+ case 1:
18701
+ var value = /** @type {string} */ (reader.readString());
18702
+ msg.setApplicantId(value);
18703
+ break;
18704
+ default:
18705
+ reader.skipField();
18706
+ break;
18707
+ }
18708
+ }
18709
+ return msg;
18710
+ };
18711
+
18712
+
18713
+ /**
18714
+ * Serializes the message to binary data (in protobuf wire format).
18715
+ * @return {!Uint8Array}
18716
+ */
18717
+ proto.user.GetSumSubApplicantRequest.prototype.serializeBinary = function() {
18718
+ var writer = new jspb.BinaryWriter();
18719
+ proto.user.GetSumSubApplicantRequest.serializeBinaryToWriter(this, writer);
18720
+ return writer.getResultBuffer();
18721
+ };
18722
+
18723
+
18724
+ /**
18725
+ * Serializes the given message to binary data (in protobuf wire
18726
+ * format), writing to the given BinaryWriter.
18727
+ * @param {!proto.user.GetSumSubApplicantRequest} message
18728
+ * @param {!jspb.BinaryWriter} writer
18729
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18730
+ */
18731
+ proto.user.GetSumSubApplicantRequest.serializeBinaryToWriter = function(message, writer) {
18732
+ var f = undefined;
18733
+ f = message.getApplicantId();
18734
+ if (f.length > 0) {
18735
+ writer.writeString(
18736
+ 1,
18737
+ f
18738
+ );
18739
+ }
18740
+ };
18741
+
18742
+
18743
+ /**
18744
+ * optional string applicant_id = 1;
18745
+ * @return {string}
18746
+ */
18747
+ proto.user.GetSumSubApplicantRequest.prototype.getApplicantId = function() {
18748
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
18749
+ };
18750
+
18751
+
18752
+ /**
18753
+ * @param {string} value
18754
+ * @return {!proto.user.GetSumSubApplicantRequest} returns this
18755
+ */
18756
+ proto.user.GetSumSubApplicantRequest.prototype.setApplicantId = function(value) {
18757
+ return jspb.Message.setProto3StringField(this, 1, value);
18758
+ };
18759
+
18760
+
18561
18761
 
18562
18762
 
18563
18763
 
@@ -19046,7 +19246,8 @@ proto.user.SumSubResponse.toObject = function(includeInstance, msg) {
19046
19246
  var f, obj = {
19047
19247
  externalUserId: jspb.Message.getFieldWithDefault(msg, 1, ""),
19048
19248
  createdAt: jspb.Message.getFieldWithDefault(msg, 2, ""),
19049
- idDocType: jspb.Message.getFieldWithDefault(msg, 3, "")
19249
+ idDocType: jspb.Message.getFieldWithDefault(msg, 3, ""),
19250
+ sumSubData: jspb.Message.getFieldWithDefault(msg, 4, "")
19050
19251
  };
19051
19252
 
19052
19253
  if (includeInstance) {
@@ -19095,6 +19296,10 @@ proto.user.SumSubResponse.deserializeBinaryFromReader = function(msg, reader) {
19095
19296
  var value = /** @type {string} */ (reader.readString());
19096
19297
  msg.setIdDocType(value);
19097
19298
  break;
19299
+ case 4:
19300
+ var value = /** @type {string} */ (reader.readString());
19301
+ msg.setSumSubData(value);
19302
+ break;
19098
19303
  default:
19099
19304
  reader.skipField();
19100
19305
  break;
@@ -19145,6 +19350,13 @@ proto.user.SumSubResponse.serializeBinaryToWriter = function(message, writer) {
19145
19350
  f
19146
19351
  );
19147
19352
  }
19353
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
19354
+ if (f != null) {
19355
+ writer.writeString(
19356
+ 4,
19357
+ f
19358
+ );
19359
+ }
19148
19360
  };
19149
19361
 
19150
19362
 
@@ -19256,6 +19468,42 @@ proto.user.SumSubResponse.prototype.hasIdDocType = function() {
19256
19468
  };
19257
19469
 
19258
19470
 
19471
+ /**
19472
+ * optional string sum_sub_data = 4;
19473
+ * @return {string}
19474
+ */
19475
+ proto.user.SumSubResponse.prototype.getSumSubData = function() {
19476
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
19477
+ };
19478
+
19479
+
19480
+ /**
19481
+ * @param {string} value
19482
+ * @return {!proto.user.SumSubResponse} returns this
19483
+ */
19484
+ proto.user.SumSubResponse.prototype.setSumSubData = function(value) {
19485
+ return jspb.Message.setField(this, 4, value);
19486
+ };
19487
+
19488
+
19489
+ /**
19490
+ * Clears the field making it undefined.
19491
+ * @return {!proto.user.SumSubResponse} returns this
19492
+ */
19493
+ proto.user.SumSubResponse.prototype.clearSumSubData = function() {
19494
+ return jspb.Message.setField(this, 4, undefined);
19495
+ };
19496
+
19497
+
19498
+ /**
19499
+ * Returns whether this field is set.
19500
+ * @return {boolean}
19501
+ */
19502
+ proto.user.SumSubResponse.prototype.hasSumSubData = function() {
19503
+ return jspb.Message.getField(this, 4) != null;
19504
+ };
19505
+
19506
+
19259
19507
 
19260
19508
 
19261
19509