protobuf-platform 1.2.414 → 1.2.417

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.
@@ -99,28 +99,30 @@ message CreateWithdrawalTransferRequest {
99
99
  }
100
100
 
101
101
  message CreateWithdrawalTransferResponse {
102
- string public_id = 1;
103
- string status = 2;
104
- string tx_signature = 3;
105
- string network_code = 4;
106
- string asset_code = 5;
102
+ string idempotency_key = 1;
103
+ string withdrawal_operation_id = 2;
104
+ string status = 3;
105
+ string tx_signature = 4;
106
+ string network_code = 5;
107
+ string asset_code = 6;
107
108
  }
108
109
 
109
110
  message ReadWithdrawalTransferRequest {
110
- string public_id = 1;
111
+ uint64 user_id = 1;
111
112
  string idempotency_key = 2;
112
113
  string withdrawal_operation_id = 3;
113
114
  }
114
115
 
115
116
  message ReadWithdrawalTransferResponse {
116
- string public_id = 1;
117
- string status = 2;
118
- string tx_signature = 3;
119
- string network_code = 4;
120
- string asset_code = 5;
121
- string destination_address = 6;
122
- string amount_raw = 7;
123
- string amount_decimal = 8;
124
- string error_code = 9;
125
- string error_message = 10;
117
+ string idempotency_key = 1;
118
+ string withdrawal_operation_id = 2;
119
+ string status = 3;
120
+ string tx_signature = 4;
121
+ string network_code = 5;
122
+ string asset_code = 6;
123
+ string destination_address = 7;
124
+ string amount_raw = 8;
125
+ string amount_decimal = 9;
126
+ string error_code = 10;
127
+ string error_message = 11;
126
128
  }
@@ -3231,11 +3231,12 @@ proto.crypto.CreateWithdrawalTransferResponse.prototype.toObject = function(opt_
3231
3231
  */
3232
3232
  proto.crypto.CreateWithdrawalTransferResponse.toObject = function(includeInstance, msg) {
3233
3233
  var f, obj = {
3234
- publicId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3235
- status: jspb.Message.getFieldWithDefault(msg, 2, ""),
3236
- txSignature: jspb.Message.getFieldWithDefault(msg, 3, ""),
3237
- networkCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
3238
- assetCode: jspb.Message.getFieldWithDefault(msg, 5, "")
3234
+ idempotencyKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
3235
+ withdrawalOperationId: jspb.Message.getFieldWithDefault(msg, 2, ""),
3236
+ status: jspb.Message.getFieldWithDefault(msg, 3, ""),
3237
+ txSignature: jspb.Message.getFieldWithDefault(msg, 4, ""),
3238
+ networkCode: jspb.Message.getFieldWithDefault(msg, 5, ""),
3239
+ assetCode: jspb.Message.getFieldWithDefault(msg, 6, "")
3239
3240
  };
3240
3241
 
3241
3242
  if (includeInstance) {
@@ -3274,21 +3275,25 @@ proto.crypto.CreateWithdrawalTransferResponse.deserializeBinaryFromReader = func
3274
3275
  switch (field) {
3275
3276
  case 1:
3276
3277
  var value = /** @type {string} */ (reader.readString());
3277
- msg.setPublicId(value);
3278
+ msg.setIdempotencyKey(value);
3278
3279
  break;
3279
3280
  case 2:
3280
3281
  var value = /** @type {string} */ (reader.readString());
3281
- msg.setStatus(value);
3282
+ msg.setWithdrawalOperationId(value);
3282
3283
  break;
3283
3284
  case 3:
3284
3285
  var value = /** @type {string} */ (reader.readString());
3285
- msg.setTxSignature(value);
3286
+ msg.setStatus(value);
3286
3287
  break;
3287
3288
  case 4:
3288
3289
  var value = /** @type {string} */ (reader.readString());
3289
- msg.setNetworkCode(value);
3290
+ msg.setTxSignature(value);
3290
3291
  break;
3291
3292
  case 5:
3293
+ var value = /** @type {string} */ (reader.readString());
3294
+ msg.setNetworkCode(value);
3295
+ break;
3296
+ case 6:
3292
3297
  var value = /** @type {string} */ (reader.readString());
3293
3298
  msg.setAssetCode(value);
3294
3299
  break;
@@ -3321,49 +3326,56 @@ proto.crypto.CreateWithdrawalTransferResponse.prototype.serializeBinary = functi
3321
3326
  */
3322
3327
  proto.crypto.CreateWithdrawalTransferResponse.serializeBinaryToWriter = function(message, writer) {
3323
3328
  var f = undefined;
3324
- f = message.getPublicId();
3329
+ f = message.getIdempotencyKey();
3325
3330
  if (f.length > 0) {
3326
3331
  writer.writeString(
3327
3332
  1,
3328
3333
  f
3329
3334
  );
3330
3335
  }
3331
- f = message.getStatus();
3336
+ f = message.getWithdrawalOperationId();
3332
3337
  if (f.length > 0) {
3333
3338
  writer.writeString(
3334
3339
  2,
3335
3340
  f
3336
3341
  );
3337
3342
  }
3338
- f = message.getTxSignature();
3343
+ f = message.getStatus();
3339
3344
  if (f.length > 0) {
3340
3345
  writer.writeString(
3341
3346
  3,
3342
3347
  f
3343
3348
  );
3344
3349
  }
3345
- f = message.getNetworkCode();
3350
+ f = message.getTxSignature();
3346
3351
  if (f.length > 0) {
3347
3352
  writer.writeString(
3348
3353
  4,
3349
3354
  f
3350
3355
  );
3351
3356
  }
3352
- f = message.getAssetCode();
3357
+ f = message.getNetworkCode();
3353
3358
  if (f.length > 0) {
3354
3359
  writer.writeString(
3355
3360
  5,
3356
3361
  f
3357
3362
  );
3358
3363
  }
3364
+ f = message.getAssetCode();
3365
+ if (f.length > 0) {
3366
+ writer.writeString(
3367
+ 6,
3368
+ f
3369
+ );
3370
+ }
3359
3371
  };
3360
3372
 
3361
3373
 
3362
3374
  /**
3363
- * optional string public_id = 1;
3375
+ * optional string idempotency_key = 1;
3364
3376
  * @return {string}
3365
3377
  */
3366
- proto.crypto.CreateWithdrawalTransferResponse.prototype.getPublicId = function() {
3378
+ proto.crypto.CreateWithdrawalTransferResponse.prototype.getIdempotencyKey = function() {
3367
3379
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3368
3380
  };
3369
3381
 
@@ -3372,16 +3384,16 @@ proto.crypto.CreateWithdrawalTransferResponse.prototype.getPublicId = function()
3372
3384
  * @param {string} value
3373
3385
  * @return {!proto.crypto.CreateWithdrawalTransferResponse} returns this
3374
3386
  */
3375
- proto.crypto.CreateWithdrawalTransferResponse.prototype.setPublicId = function(value) {
3387
+ proto.crypto.CreateWithdrawalTransferResponse.prototype.setIdempotencyKey = function(value) {
3376
3388
  return jspb.Message.setProto3StringField(this, 1, value);
3377
3389
  };
3378
3390
 
3379
3391
 
3380
3392
  /**
3381
- * optional string status = 2;
3393
+ * optional string withdrawal_operation_id = 2;
3382
3394
  * @return {string}
3383
3395
  */
3384
- proto.crypto.CreateWithdrawalTransferResponse.prototype.getStatus = function() {
3396
+ proto.crypto.CreateWithdrawalTransferResponse.prototype.getWithdrawalOperationId = function() {
3385
3397
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3386
3398
  };
3387
3399
 
@@ -3390,16 +3402,16 @@ proto.crypto.CreateWithdrawalTransferResponse.prototype.getStatus = function() {
3390
3402
  * @param {string} value
3391
3403
  * @return {!proto.crypto.CreateWithdrawalTransferResponse} returns this
3392
3404
  */
3393
- proto.crypto.CreateWithdrawalTransferResponse.prototype.setStatus = function(value) {
3405
+ proto.crypto.CreateWithdrawalTransferResponse.prototype.setWithdrawalOperationId = function(value) {
3394
3406
  return jspb.Message.setProto3StringField(this, 2, value);
3395
3407
  };
3396
3408
 
3397
3409
 
3398
3410
  /**
3399
- * optional string tx_signature = 3;
3411
+ * optional string status = 3;
3400
3412
  * @return {string}
3401
3413
  */
3402
- proto.crypto.CreateWithdrawalTransferResponse.prototype.getTxSignature = function() {
3414
+ proto.crypto.CreateWithdrawalTransferResponse.prototype.getStatus = function() {
3403
3415
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3404
3416
  };
3405
3417
 
@@ -3408,16 +3420,16 @@ proto.crypto.CreateWithdrawalTransferResponse.prototype.getTxSignature = functio
3408
3420
  * @param {string} value
3409
3421
  * @return {!proto.crypto.CreateWithdrawalTransferResponse} returns this
3410
3422
  */
3411
- proto.crypto.CreateWithdrawalTransferResponse.prototype.setTxSignature = function(value) {
3423
+ proto.crypto.CreateWithdrawalTransferResponse.prototype.setStatus = function(value) {
3412
3424
  return jspb.Message.setProto3StringField(this, 3, value);
3413
3425
  };
3414
3426
 
3415
3427
 
3416
3428
  /**
3417
- * optional string network_code = 4;
3429
+ * optional string tx_signature = 4;
3418
3430
  * @return {string}
3419
3431
  */
3420
- proto.crypto.CreateWithdrawalTransferResponse.prototype.getNetworkCode = function() {
3432
+ proto.crypto.CreateWithdrawalTransferResponse.prototype.getTxSignature = function() {
3421
3433
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3422
3434
  };
3423
3435
 
@@ -3426,16 +3438,16 @@ proto.crypto.CreateWithdrawalTransferResponse.prototype.getNetworkCode = functio
3426
3438
  * @param {string} value
3427
3439
  * @return {!proto.crypto.CreateWithdrawalTransferResponse} returns this
3428
3440
  */
3429
- proto.crypto.CreateWithdrawalTransferResponse.prototype.setNetworkCode = function(value) {
3441
+ proto.crypto.CreateWithdrawalTransferResponse.prototype.setTxSignature = function(value) {
3430
3442
  return jspb.Message.setProto3StringField(this, 4, value);
3431
3443
  };
3432
3444
 
3433
3445
 
3434
3446
  /**
3435
- * optional string asset_code = 5;
3447
+ * optional string network_code = 5;
3436
3448
  * @return {string}
3437
3449
  */
3438
- proto.crypto.CreateWithdrawalTransferResponse.prototype.getAssetCode = function() {
3450
+ proto.crypto.CreateWithdrawalTransferResponse.prototype.getNetworkCode = function() {
3439
3451
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3440
3452
  };
3441
3453
 
@@ -3444,11 +3456,29 @@ proto.crypto.CreateWithdrawalTransferResponse.prototype.getAssetCode = function(
3444
3456
  * @param {string} value
3445
3457
  * @return {!proto.crypto.CreateWithdrawalTransferResponse} returns this
3446
3458
  */
3447
- proto.crypto.CreateWithdrawalTransferResponse.prototype.setAssetCode = function(value) {
3459
+ proto.crypto.CreateWithdrawalTransferResponse.prototype.setNetworkCode = function(value) {
3448
3460
  return jspb.Message.setProto3StringField(this, 5, value);
3449
3461
  };
3450
3462
 
3451
3463
 
3464
+ /**
3465
+ * optional string asset_code = 6;
3466
+ * @return {string}
3467
+ */
3468
+ proto.crypto.CreateWithdrawalTransferResponse.prototype.getAssetCode = function() {
3469
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3470
+ };
3471
+
3472
+
3473
+ /**
3474
+ * @param {string} value
3475
+ * @return {!proto.crypto.CreateWithdrawalTransferResponse} returns this
3476
+ */
3477
+ proto.crypto.CreateWithdrawalTransferResponse.prototype.setAssetCode = function(value) {
3478
+ return jspb.Message.setProto3StringField(this, 6, value);
3479
+ };
3480
+
3481
+
3452
3482
 
3453
3483
 
3454
3484
 
@@ -3481,7 +3511,7 @@ proto.crypto.ReadWithdrawalTransferRequest.prototype.toObject = function(opt_inc
3481
3511
  */
3482
3512
  proto.crypto.ReadWithdrawalTransferRequest.toObject = function(includeInstance, msg) {
3483
3513
  var f, obj = {
3484
- publicId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3514
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
3485
3515
  idempotencyKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
3486
3516
  withdrawalOperationId: jspb.Message.getFieldWithDefault(msg, 3, "")
3487
3517
  };
@@ -3521,8 +3551,8 @@ proto.crypto.ReadWithdrawalTransferRequest.deserializeBinaryFromReader = functio
3521
3551
  var field = reader.getFieldNumber();
3522
3552
  switch (field) {
3523
3553
  case 1:
3524
- var value = /** @type {string} */ (reader.readString());
3525
- msg.setPublicId(value);
3554
+ var value = /** @type {number} */ (reader.readUint64());
3555
+ msg.setUserId(value);
3526
3556
  break;
3527
3557
  case 2:
3528
3558
  var value = /** @type {string} */ (reader.readString());
@@ -3561,9 +3591,9 @@ proto.crypto.ReadWithdrawalTransferRequest.prototype.serializeBinary = function(
3561
3591
  */
3562
3592
  proto.crypto.ReadWithdrawalTransferRequest.serializeBinaryToWriter = function(message, writer) {
3563
3593
  var f = undefined;
3564
- f = message.getPublicId();
3565
- if (f.length > 0) {
3566
- writer.writeString(
3594
+ f = message.getUserId();
3595
+ if (f !== 0) {
3596
+ writer.writeUint64(
3567
3597
  1,
3568
3598
  f
3569
3599
  );
@@ -3586,20 +3616,20 @@ proto.crypto.ReadWithdrawalTransferRequest.serializeBinaryToWriter = function(me
3586
3616
 
3587
3617
 
3588
3618
  /**
3589
- * optional string public_id = 1;
3590
- * @return {string}
3619
+ * optional uint64 user_id = 1;
3620
+ * @return {number}
3591
3621
  */
3592
- proto.crypto.ReadWithdrawalTransferRequest.prototype.getPublicId = function() {
3593
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3622
+ proto.crypto.ReadWithdrawalTransferRequest.prototype.getUserId = function() {
3623
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3594
3624
  };
3595
3625
 
3596
3626
 
3597
3627
  /**
3598
- * @param {string} value
3628
+ * @param {number} value
3599
3629
  * @return {!proto.crypto.ReadWithdrawalTransferRequest} returns this
3600
3630
  */
3601
- proto.crypto.ReadWithdrawalTransferRequest.prototype.setPublicId = function(value) {
3602
- return jspb.Message.setProto3StringField(this, 1, value);
3631
+ proto.crypto.ReadWithdrawalTransferRequest.prototype.setUserId = function(value) {
3632
+ return jspb.Message.setProto3IntField(this, 1, value);
3603
3633
  };
3604
3634
 
3605
3635
 
@@ -3671,16 +3701,17 @@ proto.crypto.ReadWithdrawalTransferResponse.prototype.toObject = function(opt_in
3671
3701
  */
3672
3702
  proto.crypto.ReadWithdrawalTransferResponse.toObject = function(includeInstance, msg) {
3673
3703
  var f, obj = {
3674
- publicId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3675
- status: jspb.Message.getFieldWithDefault(msg, 2, ""),
3676
- txSignature: jspb.Message.getFieldWithDefault(msg, 3, ""),
3677
- networkCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
3678
- assetCode: jspb.Message.getFieldWithDefault(msg, 5, ""),
3679
- destinationAddress: jspb.Message.getFieldWithDefault(msg, 6, ""),
3680
- amountRaw: jspb.Message.getFieldWithDefault(msg, 7, ""),
3681
- amountDecimal: jspb.Message.getFieldWithDefault(msg, 8, ""),
3682
- errorCode: jspb.Message.getFieldWithDefault(msg, 9, ""),
3683
- errorMessage: jspb.Message.getFieldWithDefault(msg, 10, "")
3704
+ idempotencyKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
3705
+ withdrawalOperationId: jspb.Message.getFieldWithDefault(msg, 2, ""),
3706
+ status: jspb.Message.getFieldWithDefault(msg, 3, ""),
3707
+ txSignature: jspb.Message.getFieldWithDefault(msg, 4, ""),
3708
+ networkCode: jspb.Message.getFieldWithDefault(msg, 5, ""),
3709
+ assetCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
3710
+ destinationAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
3711
+ amountRaw: jspb.Message.getFieldWithDefault(msg, 8, ""),
3712
+ amountDecimal: jspb.Message.getFieldWithDefault(msg, 9, ""),
3713
+ errorCode: jspb.Message.getFieldWithDefault(msg, 10, ""),
3714
+ errorMessage: jspb.Message.getFieldWithDefault(msg, 11, "")
3684
3715
  };
3685
3716
 
3686
3717
  if (includeInstance) {
@@ -3719,41 +3750,45 @@ proto.crypto.ReadWithdrawalTransferResponse.deserializeBinaryFromReader = functi
3719
3750
  switch (field) {
3720
3751
  case 1:
3721
3752
  var value = /** @type {string} */ (reader.readString());
3722
- msg.setPublicId(value);
3753
+ msg.setIdempotencyKey(value);
3723
3754
  break;
3724
3755
  case 2:
3725
3756
  var value = /** @type {string} */ (reader.readString());
3726
- msg.setStatus(value);
3757
+ msg.setWithdrawalOperationId(value);
3727
3758
  break;
3728
3759
  case 3:
3729
3760
  var value = /** @type {string} */ (reader.readString());
3730
- msg.setTxSignature(value);
3761
+ msg.setStatus(value);
3731
3762
  break;
3732
3763
  case 4:
3733
3764
  var value = /** @type {string} */ (reader.readString());
3734
- msg.setNetworkCode(value);
3765
+ msg.setTxSignature(value);
3735
3766
  break;
3736
3767
  case 5:
3737
3768
  var value = /** @type {string} */ (reader.readString());
3738
- msg.setAssetCode(value);
3769
+ msg.setNetworkCode(value);
3739
3770
  break;
3740
3771
  case 6:
3741
3772
  var value = /** @type {string} */ (reader.readString());
3742
- msg.setDestinationAddress(value);
3773
+ msg.setAssetCode(value);
3743
3774
  break;
3744
3775
  case 7:
3745
3776
  var value = /** @type {string} */ (reader.readString());
3746
- msg.setAmountRaw(value);
3777
+ msg.setDestinationAddress(value);
3747
3778
  break;
3748
3779
  case 8:
3749
3780
  var value = /** @type {string} */ (reader.readString());
3750
- msg.setAmountDecimal(value);
3781
+ msg.setAmountRaw(value);
3751
3782
  break;
3752
3783
  case 9:
3753
3784
  var value = /** @type {string} */ (reader.readString());
3754
- msg.setErrorCode(value);
3785
+ msg.setAmountDecimal(value);
3755
3786
  break;
3756
3787
  case 10:
3788
+ var value = /** @type {string} */ (reader.readString());
3789
+ msg.setErrorCode(value);
3790
+ break;
3791
+ case 11:
3757
3792
  var value = /** @type {string} */ (reader.readString());
3758
3793
  msg.setErrorMessage(value);
3759
3794
  break;
@@ -3786,84 +3821,91 @@ proto.crypto.ReadWithdrawalTransferResponse.prototype.serializeBinary = function
3786
3821
  */
3787
3822
  proto.crypto.ReadWithdrawalTransferResponse.serializeBinaryToWriter = function(message, writer) {
3788
3823
  var f = undefined;
3789
- f = message.getPublicId();
3824
+ f = message.getIdempotencyKey();
3790
3825
  if (f.length > 0) {
3791
3826
  writer.writeString(
3792
3827
  1,
3793
3828
  f
3794
3829
  );
3795
3830
  }
3796
- f = message.getStatus();
3831
+ f = message.getWithdrawalOperationId();
3797
3832
  if (f.length > 0) {
3798
3833
  writer.writeString(
3799
3834
  2,
3800
3835
  f
3801
3836
  );
3802
3837
  }
3803
- f = message.getTxSignature();
3838
+ f = message.getStatus();
3804
3839
  if (f.length > 0) {
3805
3840
  writer.writeString(
3806
3841
  3,
3807
3842
  f
3808
3843
  );
3809
3844
  }
3810
- f = message.getNetworkCode();
3845
+ f = message.getTxSignature();
3811
3846
  if (f.length > 0) {
3812
3847
  writer.writeString(
3813
3848
  4,
3814
3849
  f
3815
3850
  );
3816
3851
  }
3817
- f = message.getAssetCode();
3852
+ f = message.getNetworkCode();
3818
3853
  if (f.length > 0) {
3819
3854
  writer.writeString(
3820
3855
  5,
3821
3856
  f
3822
3857
  );
3823
3858
  }
3824
- f = message.getDestinationAddress();
3859
+ f = message.getAssetCode();
3825
3860
  if (f.length > 0) {
3826
3861
  writer.writeString(
3827
3862
  6,
3828
3863
  f
3829
3864
  );
3830
3865
  }
3831
- f = message.getAmountRaw();
3866
+ f = message.getDestinationAddress();
3832
3867
  if (f.length > 0) {
3833
3868
  writer.writeString(
3834
3869
  7,
3835
3870
  f
3836
3871
  );
3837
3872
  }
3838
- f = message.getAmountDecimal();
3873
+ f = message.getAmountRaw();
3839
3874
  if (f.length > 0) {
3840
3875
  writer.writeString(
3841
3876
  8,
3842
3877
  f
3843
3878
  );
3844
3879
  }
3845
- f = message.getErrorCode();
3880
+ f = message.getAmountDecimal();
3846
3881
  if (f.length > 0) {
3847
3882
  writer.writeString(
3848
3883
  9,
3849
3884
  f
3850
3885
  );
3851
3886
  }
3852
- f = message.getErrorMessage();
3887
+ f = message.getErrorCode();
3853
3888
  if (f.length > 0) {
3854
3889
  writer.writeString(
3855
3890
  10,
3856
3891
  f
3857
3892
  );
3858
3893
  }
3894
+ f = message.getErrorMessage();
3895
+ if (f.length > 0) {
3896
+ writer.writeString(
3897
+ 11,
3898
+ f
3899
+ );
3900
+ }
3859
3901
  };
3860
3902
 
3861
3903
 
3862
3904
  /**
3863
- * optional string public_id = 1;
3905
+ * optional string idempotency_key = 1;
3864
3906
  * @return {string}
3865
3907
  */
3866
- proto.crypto.ReadWithdrawalTransferResponse.prototype.getPublicId = function() {
3908
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.getIdempotencyKey = function() {
3867
3909
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3868
3910
  };
3869
3911
 
@@ -3872,16 +3914,16 @@ proto.crypto.ReadWithdrawalTransferResponse.prototype.getPublicId = function() {
3872
3914
  * @param {string} value
3873
3915
  * @return {!proto.crypto.ReadWithdrawalTransferResponse} returns this
3874
3916
  */
3875
- proto.crypto.ReadWithdrawalTransferResponse.prototype.setPublicId = function(value) {
3917
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.setIdempotencyKey = function(value) {
3876
3918
  return jspb.Message.setProto3StringField(this, 1, value);
3877
3919
  };
3878
3920
 
3879
3921
 
3880
3922
  /**
3881
- * optional string status = 2;
3923
+ * optional string withdrawal_operation_id = 2;
3882
3924
  * @return {string}
3883
3925
  */
3884
- proto.crypto.ReadWithdrawalTransferResponse.prototype.getStatus = function() {
3926
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.getWithdrawalOperationId = function() {
3885
3927
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3886
3928
  };
3887
3929
 
@@ -3890,16 +3932,16 @@ proto.crypto.ReadWithdrawalTransferResponse.prototype.getStatus = function() {
3890
3932
  * @param {string} value
3891
3933
  * @return {!proto.crypto.ReadWithdrawalTransferResponse} returns this
3892
3934
  */
3893
- proto.crypto.ReadWithdrawalTransferResponse.prototype.setStatus = function(value) {
3935
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.setWithdrawalOperationId = function(value) {
3894
3936
  return jspb.Message.setProto3StringField(this, 2, value);
3895
3937
  };
3896
3938
 
3897
3939
 
3898
3940
  /**
3899
- * optional string tx_signature = 3;
3941
+ * optional string status = 3;
3900
3942
  * @return {string}
3901
3943
  */
3902
- proto.crypto.ReadWithdrawalTransferResponse.prototype.getTxSignature = function() {
3944
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.getStatus = function() {
3903
3945
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3904
3946
  };
3905
3947
 
@@ -3908,16 +3950,16 @@ proto.crypto.ReadWithdrawalTransferResponse.prototype.getTxSignature = function(
3908
3950
  * @param {string} value
3909
3951
  * @return {!proto.crypto.ReadWithdrawalTransferResponse} returns this
3910
3952
  */
3911
- proto.crypto.ReadWithdrawalTransferResponse.prototype.setTxSignature = function(value) {
3953
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.setStatus = function(value) {
3912
3954
  return jspb.Message.setProto3StringField(this, 3, value);
3913
3955
  };
3914
3956
 
3915
3957
 
3916
3958
  /**
3917
- * optional string network_code = 4;
3959
+ * optional string tx_signature = 4;
3918
3960
  * @return {string}
3919
3961
  */
3920
- proto.crypto.ReadWithdrawalTransferResponse.prototype.getNetworkCode = function() {
3962
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.getTxSignature = function() {
3921
3963
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3922
3964
  };
3923
3965
 
@@ -3926,16 +3968,16 @@ proto.crypto.ReadWithdrawalTransferResponse.prototype.getNetworkCode = function(
3926
3968
  * @param {string} value
3927
3969
  * @return {!proto.crypto.ReadWithdrawalTransferResponse} returns this
3928
3970
  */
3929
- proto.crypto.ReadWithdrawalTransferResponse.prototype.setNetworkCode = function(value) {
3971
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.setTxSignature = function(value) {
3930
3972
  return jspb.Message.setProto3StringField(this, 4, value);
3931
3973
  };
3932
3974
 
3933
3975
 
3934
3976
  /**
3935
- * optional string asset_code = 5;
3977
+ * optional string network_code = 5;
3936
3978
  * @return {string}
3937
3979
  */
3938
- proto.crypto.ReadWithdrawalTransferResponse.prototype.getAssetCode = function() {
3980
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.getNetworkCode = function() {
3939
3981
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3940
3982
  };
3941
3983
 
@@ -3944,16 +3986,16 @@ proto.crypto.ReadWithdrawalTransferResponse.prototype.getAssetCode = function()
3944
3986
  * @param {string} value
3945
3987
  * @return {!proto.crypto.ReadWithdrawalTransferResponse} returns this
3946
3988
  */
3947
- proto.crypto.ReadWithdrawalTransferResponse.prototype.setAssetCode = function(value) {
3989
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.setNetworkCode = function(value) {
3948
3990
  return jspb.Message.setProto3StringField(this, 5, value);
3949
3991
  };
3950
3992
 
3951
3993
 
3952
3994
  /**
3953
- * optional string destination_address = 6;
3995
+ * optional string asset_code = 6;
3954
3996
  * @return {string}
3955
3997
  */
3956
- proto.crypto.ReadWithdrawalTransferResponse.prototype.getDestinationAddress = function() {
3998
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.getAssetCode = function() {
3957
3999
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3958
4000
  };
3959
4001
 
@@ -3962,16 +4004,16 @@ proto.crypto.ReadWithdrawalTransferResponse.prototype.getDestinationAddress = fu
3962
4004
  * @param {string} value
3963
4005
  * @return {!proto.crypto.ReadWithdrawalTransferResponse} returns this
3964
4006
  */
3965
- proto.crypto.ReadWithdrawalTransferResponse.prototype.setDestinationAddress = function(value) {
4007
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.setAssetCode = function(value) {
3966
4008
  return jspb.Message.setProto3StringField(this, 6, value);
3967
4009
  };
3968
4010
 
3969
4011
 
3970
4012
  /**
3971
- * optional string amount_raw = 7;
4013
+ * optional string destination_address = 7;
3972
4014
  * @return {string}
3973
4015
  */
3974
- proto.crypto.ReadWithdrawalTransferResponse.prototype.getAmountRaw = function() {
4016
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.getDestinationAddress = function() {
3975
4017
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3976
4018
  };
3977
4019
 
@@ -3980,16 +4022,16 @@ proto.crypto.ReadWithdrawalTransferResponse.prototype.getAmountRaw = function()
3980
4022
  * @param {string} value
3981
4023
  * @return {!proto.crypto.ReadWithdrawalTransferResponse} returns this
3982
4024
  */
3983
- proto.crypto.ReadWithdrawalTransferResponse.prototype.setAmountRaw = function(value) {
4025
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.setDestinationAddress = function(value) {
3984
4026
  return jspb.Message.setProto3StringField(this, 7, value);
3985
4027
  };
3986
4028
 
3987
4029
 
3988
4030
  /**
3989
- * optional string amount_decimal = 8;
4031
+ * optional string amount_raw = 8;
3990
4032
  * @return {string}
3991
4033
  */
3992
- proto.crypto.ReadWithdrawalTransferResponse.prototype.getAmountDecimal = function() {
4034
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.getAmountRaw = function() {
3993
4035
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
3994
4036
  };
3995
4037
 
@@ -3998,16 +4040,16 @@ proto.crypto.ReadWithdrawalTransferResponse.prototype.getAmountDecimal = functio
3998
4040
  * @param {string} value
3999
4041
  * @return {!proto.crypto.ReadWithdrawalTransferResponse} returns this
4000
4042
  */
4001
- proto.crypto.ReadWithdrawalTransferResponse.prototype.setAmountDecimal = function(value) {
4043
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.setAmountRaw = function(value) {
4002
4044
  return jspb.Message.setProto3StringField(this, 8, value);
4003
4045
  };
4004
4046
 
4005
4047
 
4006
4048
  /**
4007
- * optional string error_code = 9;
4049
+ * optional string amount_decimal = 9;
4008
4050
  * @return {string}
4009
4051
  */
4010
- proto.crypto.ReadWithdrawalTransferResponse.prototype.getErrorCode = function() {
4052
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.getAmountDecimal = function() {
4011
4053
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
4012
4054
  };
4013
4055
 
@@ -4016,16 +4058,16 @@ proto.crypto.ReadWithdrawalTransferResponse.prototype.getErrorCode = function()
4016
4058
  * @param {string} value
4017
4059
  * @return {!proto.crypto.ReadWithdrawalTransferResponse} returns this
4018
4060
  */
4019
- proto.crypto.ReadWithdrawalTransferResponse.prototype.setErrorCode = function(value) {
4061
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.setAmountDecimal = function(value) {
4020
4062
  return jspb.Message.setProto3StringField(this, 9, value);
4021
4063
  };
4022
4064
 
4023
4065
 
4024
4066
  /**
4025
- * optional string error_message = 10;
4067
+ * optional string error_code = 10;
4026
4068
  * @return {string}
4027
4069
  */
4028
- proto.crypto.ReadWithdrawalTransferResponse.prototype.getErrorMessage = function() {
4070
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.getErrorCode = function() {
4029
4071
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
4030
4072
  };
4031
4073
 
@@ -4034,9 +4076,27 @@ proto.crypto.ReadWithdrawalTransferResponse.prototype.getErrorMessage = function
4034
4076
  * @param {string} value
4035
4077
  * @return {!proto.crypto.ReadWithdrawalTransferResponse} returns this
4036
4078
  */
4037
- proto.crypto.ReadWithdrawalTransferResponse.prototype.setErrorMessage = function(value) {
4079
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.setErrorCode = function(value) {
4038
4080
  return jspb.Message.setProto3StringField(this, 10, value);
4039
4081
  };
4040
4082
 
4041
4083
 
4084
+ /**
4085
+ * optional string error_message = 11;
4086
+ * @return {string}
4087
+ */
4088
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.getErrorMessage = function() {
4089
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
4090
+ };
4091
+
4092
+
4093
+ /**
4094
+ * @param {string} value
4095
+ * @return {!proto.crypto.ReadWithdrawalTransferResponse} returns this
4096
+ */
4097
+ proto.crypto.ReadWithdrawalTransferResponse.prototype.setErrorMessage = function(value) {
4098
+ return jspb.Message.setProto3StringField(this, 11, value);
4099
+ };
4100
+
4101
+
4042
4102
  goog.object.extend(exports, proto.crypto);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.414",
3
+ "version": "1.2.417",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -229,6 +229,7 @@ message LoginRequest {
229
229
  optional string country = 7;
230
230
  optional string city = 8;
231
231
  optional int32 two_fa = 9;
232
+ optional string nick_name = 10;
232
233
  }
233
234
  message TelegramLoginRequest {
234
235
  string telegram_user_id = 1;
package/user/user_pb.js CHANGED
@@ -7900,7 +7900,8 @@ proto.user.LoginRequest.toObject = function(includeInstance, msg) {
7900
7900
  device: jspb.Message.getFieldWithDefault(msg, 6, ""),
7901
7901
  country: jspb.Message.getFieldWithDefault(msg, 7, ""),
7902
7902
  city: jspb.Message.getFieldWithDefault(msg, 8, ""),
7903
- twoFa: jspb.Message.getFieldWithDefault(msg, 9, 0)
7903
+ twoFa: jspb.Message.getFieldWithDefault(msg, 9, 0),
7904
+ nickName: jspb.Message.getFieldWithDefault(msg, 10, "")
7904
7905
  };
7905
7906
 
7906
7907
  if (includeInstance) {
@@ -7973,6 +7974,10 @@ proto.user.LoginRequest.deserializeBinaryFromReader = function(msg, reader) {
7973
7974
  var value = /** @type {number} */ (reader.readInt32());
7974
7975
  msg.setTwoFa(value);
7975
7976
  break;
7977
+ case 10:
7978
+ var value = /** @type {string} */ (reader.readString());
7979
+ msg.setNickName(value);
7980
+ break;
7976
7981
  default:
7977
7982
  reader.skipField();
7978
7983
  break;
@@ -8065,6 +8070,13 @@ proto.user.LoginRequest.serializeBinaryToWriter = function(message, writer) {
8065
8070
  f
8066
8071
  );
8067
8072
  }
8073
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
8074
+ if (f != null) {
8075
+ writer.writeString(
8076
+ 10,
8077
+ f
8078
+ );
8079
+ }
8068
8080
  };
8069
8081
 
8070
8082
 
@@ -8374,6 +8386,42 @@ proto.user.LoginRequest.prototype.hasTwoFa = function() {
8374
8386
  };
8375
8387
 
8376
8388
 
8389
+ /**
8390
+ * optional string nick_name = 10;
8391
+ * @return {string}
8392
+ */
8393
+ proto.user.LoginRequest.prototype.getNickName = function() {
8394
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
8395
+ };
8396
+
8397
+
8398
+ /**
8399
+ * @param {string} value
8400
+ * @return {!proto.user.LoginRequest} returns this
8401
+ */
8402
+ proto.user.LoginRequest.prototype.setNickName = function(value) {
8403
+ return jspb.Message.setField(this, 10, value);
8404
+ };
8405
+
8406
+
8407
+ /**
8408
+ * Clears the field making it undefined.
8409
+ * @return {!proto.user.LoginRequest} returns this
8410
+ */
8411
+ proto.user.LoginRequest.prototype.clearNickName = function() {
8412
+ return jspb.Message.setField(this, 10, undefined);
8413
+ };
8414
+
8415
+
8416
+ /**
8417
+ * Returns whether this field is set.
8418
+ * @return {boolean}
8419
+ */
8420
+ proto.user.LoginRequest.prototype.hasNickName = function() {
8421
+ return jspb.Message.getField(this, 10) != null;
8422
+ };
8423
+
8424
+
8377
8425
 
8378
8426
 
8379
8427