protobuf-platform 1.2.423 → 1.2.428

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.
@@ -71,6 +71,7 @@ message GetDepositAddressRequest {
71
71
  uint64 user_id = 1;
72
72
  string network_code = 2;
73
73
  string asset_code = 3;
74
+ optional string external_reference = 4;
74
75
  }
75
76
 
76
77
  message GetDepositAddressResponse {
@@ -81,6 +82,7 @@ message GetDepositAddressResponse {
81
82
  string chain_type = 5;
82
83
  string token_standard = 6;
83
84
  string contract_address = 7;
85
+ optional string external_reference = 8;
84
86
  }
85
87
 
86
88
  message CreateWithdrawalTransferRequest {
@@ -2273,7 +2273,8 @@ proto.crypto.GetDepositAddressRequest.toObject = function(includeInstance, msg)
2273
2273
  var f, obj = {
2274
2274
  userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
2275
2275
  networkCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
2276
- assetCode: jspb.Message.getFieldWithDefault(msg, 3, "")
2276
+ assetCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
2277
+ externalReference: jspb.Message.getFieldWithDefault(msg, 4, "")
2277
2278
  };
2278
2279
 
2279
2280
  if (includeInstance) {
@@ -2322,6 +2323,10 @@ proto.crypto.GetDepositAddressRequest.deserializeBinaryFromReader = function(msg
2322
2323
  var value = /** @type {string} */ (reader.readString());
2323
2324
  msg.setAssetCode(value);
2324
2325
  break;
2326
+ case 4:
2327
+ var value = /** @type {string} */ (reader.readString());
2328
+ msg.setExternalReference(value);
2329
+ break;
2325
2330
  default:
2326
2331
  reader.skipField();
2327
2332
  break;
@@ -2372,6 +2377,13 @@ proto.crypto.GetDepositAddressRequest.serializeBinaryToWriter = function(message
2372
2377
  f
2373
2378
  );
2374
2379
  }
2380
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
2381
+ if (f != null) {
2382
+ writer.writeString(
2383
+ 4,
2384
+ f
2385
+ );
2386
+ }
2375
2387
  };
2376
2388
 
2377
2389
 
@@ -2429,6 +2441,42 @@ proto.crypto.GetDepositAddressRequest.prototype.setAssetCode = function(value) {
2429
2441
  };
2430
2442
 
2431
2443
 
2444
+ /**
2445
+ * optional string external_reference = 4;
2446
+ * @return {string}
2447
+ */
2448
+ proto.crypto.GetDepositAddressRequest.prototype.getExternalReference = function() {
2449
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2450
+ };
2451
+
2452
+
2453
+ /**
2454
+ * @param {string} value
2455
+ * @return {!proto.crypto.GetDepositAddressRequest} returns this
2456
+ */
2457
+ proto.crypto.GetDepositAddressRequest.prototype.setExternalReference = function(value) {
2458
+ return jspb.Message.setField(this, 4, value);
2459
+ };
2460
+
2461
+
2462
+ /**
2463
+ * Clears the field making it undefined.
2464
+ * @return {!proto.crypto.GetDepositAddressRequest} returns this
2465
+ */
2466
+ proto.crypto.GetDepositAddressRequest.prototype.clearExternalReference = function() {
2467
+ return jspb.Message.setField(this, 4, undefined);
2468
+ };
2469
+
2470
+
2471
+ /**
2472
+ * Returns whether this field is set.
2473
+ * @return {boolean}
2474
+ */
2475
+ proto.crypto.GetDepositAddressRequest.prototype.hasExternalReference = function() {
2476
+ return jspb.Message.getField(this, 4) != null;
2477
+ };
2478
+
2479
+
2432
2480
 
2433
2481
 
2434
2482
 
@@ -2467,7 +2515,8 @@ proto.crypto.GetDepositAddressResponse.toObject = function(includeInstance, msg)
2467
2515
  assetCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
2468
2516
  chainType: jspb.Message.getFieldWithDefault(msg, 5, ""),
2469
2517
  tokenStandard: jspb.Message.getFieldWithDefault(msg, 6, ""),
2470
- contractAddress: jspb.Message.getFieldWithDefault(msg, 7, "")
2518
+ contractAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
2519
+ externalReference: jspb.Message.getFieldWithDefault(msg, 8, "")
2471
2520
  };
2472
2521
 
2473
2522
  if (includeInstance) {
@@ -2532,6 +2581,10 @@ proto.crypto.GetDepositAddressResponse.deserializeBinaryFromReader = function(ms
2532
2581
  var value = /** @type {string} */ (reader.readString());
2533
2582
  msg.setContractAddress(value);
2534
2583
  break;
2584
+ case 8:
2585
+ var value = /** @type {string} */ (reader.readString());
2586
+ msg.setExternalReference(value);
2587
+ break;
2535
2588
  default:
2536
2589
  reader.skipField();
2537
2590
  break;
@@ -2610,6 +2663,13 @@ proto.crypto.GetDepositAddressResponse.serializeBinaryToWriter = function(messag
2610
2663
  f
2611
2664
  );
2612
2665
  }
2666
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
2667
+ if (f != null) {
2668
+ writer.writeString(
2669
+ 8,
2670
+ f
2671
+ );
2672
+ }
2613
2673
  };
2614
2674
 
2615
2675
 
@@ -2739,6 +2799,42 @@ proto.crypto.GetDepositAddressResponse.prototype.setContractAddress = function(v
2739
2799
  };
2740
2800
 
2741
2801
 
2802
+ /**
2803
+ * optional string external_reference = 8;
2804
+ * @return {string}
2805
+ */
2806
+ proto.crypto.GetDepositAddressResponse.prototype.getExternalReference = function() {
2807
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2808
+ };
2809
+
2810
+
2811
+ /**
2812
+ * @param {string} value
2813
+ * @return {!proto.crypto.GetDepositAddressResponse} returns this
2814
+ */
2815
+ proto.crypto.GetDepositAddressResponse.prototype.setExternalReference = function(value) {
2816
+ return jspb.Message.setField(this, 8, value);
2817
+ };
2818
+
2819
+
2820
+ /**
2821
+ * Clears the field making it undefined.
2822
+ * @return {!proto.crypto.GetDepositAddressResponse} returns this
2823
+ */
2824
+ proto.crypto.GetDepositAddressResponse.prototype.clearExternalReference = function() {
2825
+ return jspb.Message.setField(this, 8, undefined);
2826
+ };
2827
+
2828
+
2829
+ /**
2830
+ * Returns whether this field is set.
2831
+ * @return {boolean}
2832
+ */
2833
+ proto.crypto.GetDepositAddressResponse.prototype.hasExternalReference = function() {
2834
+ return jspb.Message.getField(this, 8) != null;
2835
+ };
2836
+
2837
+
2742
2838
 
2743
2839
 
2744
2840
 
package/game/game.proto CHANGED
@@ -740,7 +740,7 @@ message ActiveWageringUserBonus {
740
740
  string image_cdn = 4;
741
741
  float current_wager_amount = 5;
742
742
  float total_wager_amount = 6;
743
- int32 wagering_end_in_milliseconds = 7;
743
+ int64 wagering_end_in_milliseconds = 7;
744
744
  repeated string wager_balances = 8;
745
745
  int32 wager_games_list_id = 9;
746
746
  }
package/game/game_pb.js CHANGED
@@ -31334,7 +31334,7 @@ proto.game.ActiveWageringUserBonus.deserializeBinaryFromReader = function(msg, r
31334
31334
  msg.setTotalWagerAmount(value);
31335
31335
  break;
31336
31336
  case 7:
31337
- var value = /** @type {number} */ (reader.readInt32());
31337
+ var value = /** @type {number} */ (reader.readInt64());
31338
31338
  msg.setWageringEndInMilliseconds(value);
31339
31339
  break;
31340
31340
  case 8:
@@ -31418,7 +31418,7 @@ proto.game.ActiveWageringUserBonus.serializeBinaryToWriter = function(message, w
31418
31418
  }
31419
31419
  f = message.getWageringEndInMilliseconds();
31420
31420
  if (f !== 0) {
31421
- writer.writeInt32(
31421
+ writer.writeInt64(
31422
31422
  7,
31423
31423
  f
31424
31424
  );
@@ -31549,7 +31549,7 @@ proto.game.ActiveWageringUserBonus.prototype.setTotalWagerAmount = function(valu
31549
31549
 
31550
31550
 
31551
31551
  /**
31552
- * optional int32 wagering_end_in_milliseconds = 7;
31552
+ * optional int64 wagering_end_in_milliseconds = 7;
31553
31553
  * @return {number}
31554
31554
  */
31555
31555
  proto.game.ActiveWageringUserBonus.prototype.getWageringEndInMilliseconds = function() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.423",
3
+ "version": "1.2.428",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -436,6 +436,7 @@ message UserDataResponse {
436
436
  optional int32 antifraud_score = 43;
437
437
  optional string antifraud_status = 44;
438
438
  optional string antifraud_reason = 45;
439
+ optional string risk_score_type = 46;
439
440
  }
440
441
  message UserDepositProfileResponse {
441
442
  int32 id = 1;
package/user/user_pb.js CHANGED
@@ -15750,7 +15750,8 @@ proto.user.UserDataResponse.toObject = function(includeInstance, msg) {
15750
15750
  antifraudProvider: jspb.Message.getFieldWithDefault(msg, 42, ""),
15751
15751
  antifraudScore: jspb.Message.getFieldWithDefault(msg, 43, 0),
15752
15752
  antifraudStatus: jspb.Message.getFieldWithDefault(msg, 44, ""),
15753
- antifraudReason: jspb.Message.getFieldWithDefault(msg, 45, "")
15753
+ antifraudReason: jspb.Message.getFieldWithDefault(msg, 45, ""),
15754
+ riskScoreType: jspb.Message.getFieldWithDefault(msg, 46, "")
15754
15755
  };
15755
15756
 
15756
15757
  if (includeInstance) {
@@ -15968,6 +15969,10 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
15968
15969
  var value = /** @type {string} */ (reader.readString());
15969
15970
  msg.setAntifraudReason(value);
15970
15971
  break;
15972
+ case 46:
15973
+ var value = /** @type {string} */ (reader.readString());
15974
+ msg.setRiskScoreType(value);
15975
+ break;
15971
15976
  default:
15972
15977
  reader.skipField();
15973
15978
  break;
@@ -16313,6 +16318,13 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
16313
16318
  f
16314
16319
  );
16315
16320
  }
16321
+ f = /** @type {string} */ (jspb.Message.getField(message, 46));
16322
+ if (f != null) {
16323
+ writer.writeString(
16324
+ 46,
16325
+ f
16326
+ );
16327
+ }
16316
16328
  };
16317
16329
 
16318
16330
 
@@ -17901,6 +17913,42 @@ proto.user.UserDataResponse.prototype.hasAntifraudReason = function() {
17901
17913
  };
17902
17914
 
17903
17915
 
17916
+ /**
17917
+ * optional string risk_score_type = 46;
17918
+ * @return {string}
17919
+ */
17920
+ proto.user.UserDataResponse.prototype.getRiskScoreType = function() {
17921
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 46, ""));
17922
+ };
17923
+
17924
+
17925
+ /**
17926
+ * @param {string} value
17927
+ * @return {!proto.user.UserDataResponse} returns this
17928
+ */
17929
+ proto.user.UserDataResponse.prototype.setRiskScoreType = function(value) {
17930
+ return jspb.Message.setField(this, 46, value);
17931
+ };
17932
+
17933
+
17934
+ /**
17935
+ * Clears the field making it undefined.
17936
+ * @return {!proto.user.UserDataResponse} returns this
17937
+ */
17938
+ proto.user.UserDataResponse.prototype.clearRiskScoreType = function() {
17939
+ return jspb.Message.setField(this, 46, undefined);
17940
+ };
17941
+
17942
+
17943
+ /**
17944
+ * Returns whether this field is set.
17945
+ * @return {boolean}
17946
+ */
17947
+ proto.user.UserDataResponse.prototype.hasRiskScoreType = function() {
17948
+ return jspb.Message.getField(this, 46) != null;
17949
+ };
17950
+
17951
+
17904
17952
 
17905
17953
 
17906
17954