protobuf-platform 1.2.444 → 1.2.447

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.444",
3
+ "version": "1.2.447",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -463,6 +463,10 @@ message WithdrawalResponse {
463
463
  optional string processing_type = 14;
464
464
  optional float destination_amount = 15;
465
465
  optional string destination_currency = 16;
466
+ optional string payment_provider_title = 17;
467
+ optional string payment_provider_image_cdn = 18;
468
+ optional string payment_method_image = 19;
469
+ optional string payment_method_image_cdn = 20;
466
470
  }
467
471
  message WithdrawalItem {
468
472
  int32 id = 1;
@@ -481,6 +485,10 @@ message WithdrawalItem {
481
485
  optional string processing_type = 14;
482
486
  optional float destination_amount = 15;
483
487
  optional string destination_currency = 16;
488
+ optional string payment_provider_title = 17;
489
+ optional string payment_provider_image_cdn = 18;
490
+ optional string payment_method_image = 19;
491
+ optional string payment_method_image_cdn = 20;
484
492
  }
485
493
  message WithdrawalItemsResponse {
486
494
  repeated WithdrawalItem items = 1;
@@ -19359,7 +19359,11 @@ proto.payment.WithdrawalResponse.toObject = function(includeInstance, msg) {
19359
19359
  country: jspb.Message.getFieldWithDefault(msg, 13, ""),
19360
19360
  processingType: jspb.Message.getFieldWithDefault(msg, 14, ""),
19361
19361
  destinationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
19362
- destinationCurrency: jspb.Message.getFieldWithDefault(msg, 16, "")
19362
+ destinationCurrency: jspb.Message.getFieldWithDefault(msg, 16, ""),
19363
+ paymentProviderTitle: jspb.Message.getFieldWithDefault(msg, 17, ""),
19364
+ paymentProviderImageCdn: jspb.Message.getFieldWithDefault(msg, 18, ""),
19365
+ paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 19, ""),
19366
+ paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, "")
19363
19367
  };
19364
19368
 
19365
19369
  if (includeInstance) {
@@ -19460,6 +19464,22 @@ proto.payment.WithdrawalResponse.deserializeBinaryFromReader = function(msg, rea
19460
19464
  var value = /** @type {string} */ (reader.readString());
19461
19465
  msg.setDestinationCurrency(value);
19462
19466
  break;
19467
+ case 17:
19468
+ var value = /** @type {string} */ (reader.readString());
19469
+ msg.setPaymentProviderTitle(value);
19470
+ break;
19471
+ case 18:
19472
+ var value = /** @type {string} */ (reader.readString());
19473
+ msg.setPaymentProviderImageCdn(value);
19474
+ break;
19475
+ case 19:
19476
+ var value = /** @type {string} */ (reader.readString());
19477
+ msg.setPaymentMethodImage(value);
19478
+ break;
19479
+ case 20:
19480
+ var value = /** @type {string} */ (reader.readString());
19481
+ msg.setPaymentMethodImageCdn(value);
19482
+ break;
19463
19483
  default:
19464
19484
  reader.skipField();
19465
19485
  break;
@@ -19601,6 +19621,34 @@ proto.payment.WithdrawalResponse.serializeBinaryToWriter = function(message, wri
19601
19621
  f
19602
19622
  );
19603
19623
  }
19624
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
19625
+ if (f != null) {
19626
+ writer.writeString(
19627
+ 17,
19628
+ f
19629
+ );
19630
+ }
19631
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
19632
+ if (f != null) {
19633
+ writer.writeString(
19634
+ 18,
19635
+ f
19636
+ );
19637
+ }
19638
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
19639
+ if (f != null) {
19640
+ writer.writeString(
19641
+ 19,
19642
+ f
19643
+ );
19644
+ }
19645
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
19646
+ if (f != null) {
19647
+ writer.writeString(
19648
+ 20,
19649
+ f
19650
+ );
19651
+ }
19604
19652
  };
19605
19653
 
19606
19654
 
@@ -20162,6 +20210,150 @@ proto.payment.WithdrawalResponse.prototype.hasDestinationCurrency = function() {
20162
20210
  };
20163
20211
 
20164
20212
 
20213
+ /**
20214
+ * optional string payment_provider_title = 17;
20215
+ * @return {string}
20216
+ */
20217
+ proto.payment.WithdrawalResponse.prototype.getPaymentProviderTitle = function() {
20218
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
20219
+ };
20220
+
20221
+
20222
+ /**
20223
+ * @param {string} value
20224
+ * @return {!proto.payment.WithdrawalResponse} returns this
20225
+ */
20226
+ proto.payment.WithdrawalResponse.prototype.setPaymentProviderTitle = function(value) {
20227
+ return jspb.Message.setField(this, 17, value);
20228
+ };
20229
+
20230
+
20231
+ /**
20232
+ * Clears the field making it undefined.
20233
+ * @return {!proto.payment.WithdrawalResponse} returns this
20234
+ */
20235
+ proto.payment.WithdrawalResponse.prototype.clearPaymentProviderTitle = function() {
20236
+ return jspb.Message.setField(this, 17, undefined);
20237
+ };
20238
+
20239
+
20240
+ /**
20241
+ * Returns whether this field is set.
20242
+ * @return {boolean}
20243
+ */
20244
+ proto.payment.WithdrawalResponse.prototype.hasPaymentProviderTitle = function() {
20245
+ return jspb.Message.getField(this, 17) != null;
20246
+ };
20247
+
20248
+
20249
+ /**
20250
+ * optional string payment_provider_image_cdn = 18;
20251
+ * @return {string}
20252
+ */
20253
+ proto.payment.WithdrawalResponse.prototype.getPaymentProviderImageCdn = function() {
20254
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
20255
+ };
20256
+
20257
+
20258
+ /**
20259
+ * @param {string} value
20260
+ * @return {!proto.payment.WithdrawalResponse} returns this
20261
+ */
20262
+ proto.payment.WithdrawalResponse.prototype.setPaymentProviderImageCdn = function(value) {
20263
+ return jspb.Message.setField(this, 18, value);
20264
+ };
20265
+
20266
+
20267
+ /**
20268
+ * Clears the field making it undefined.
20269
+ * @return {!proto.payment.WithdrawalResponse} returns this
20270
+ */
20271
+ proto.payment.WithdrawalResponse.prototype.clearPaymentProviderImageCdn = function() {
20272
+ return jspb.Message.setField(this, 18, undefined);
20273
+ };
20274
+
20275
+
20276
+ /**
20277
+ * Returns whether this field is set.
20278
+ * @return {boolean}
20279
+ */
20280
+ proto.payment.WithdrawalResponse.prototype.hasPaymentProviderImageCdn = function() {
20281
+ return jspb.Message.getField(this, 18) != null;
20282
+ };
20283
+
20284
+
20285
+ /**
20286
+ * optional string payment_method_image = 19;
20287
+ * @return {string}
20288
+ */
20289
+ proto.payment.WithdrawalResponse.prototype.getPaymentMethodImage = function() {
20290
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
20291
+ };
20292
+
20293
+
20294
+ /**
20295
+ * @param {string} value
20296
+ * @return {!proto.payment.WithdrawalResponse} returns this
20297
+ */
20298
+ proto.payment.WithdrawalResponse.prototype.setPaymentMethodImage = function(value) {
20299
+ return jspb.Message.setField(this, 19, value);
20300
+ };
20301
+
20302
+
20303
+ /**
20304
+ * Clears the field making it undefined.
20305
+ * @return {!proto.payment.WithdrawalResponse} returns this
20306
+ */
20307
+ proto.payment.WithdrawalResponse.prototype.clearPaymentMethodImage = function() {
20308
+ return jspb.Message.setField(this, 19, undefined);
20309
+ };
20310
+
20311
+
20312
+ /**
20313
+ * Returns whether this field is set.
20314
+ * @return {boolean}
20315
+ */
20316
+ proto.payment.WithdrawalResponse.prototype.hasPaymentMethodImage = function() {
20317
+ return jspb.Message.getField(this, 19) != null;
20318
+ };
20319
+
20320
+
20321
+ /**
20322
+ * optional string payment_method_image_cdn = 20;
20323
+ * @return {string}
20324
+ */
20325
+ proto.payment.WithdrawalResponse.prototype.getPaymentMethodImageCdn = function() {
20326
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
20327
+ };
20328
+
20329
+
20330
+ /**
20331
+ * @param {string} value
20332
+ * @return {!proto.payment.WithdrawalResponse} returns this
20333
+ */
20334
+ proto.payment.WithdrawalResponse.prototype.setPaymentMethodImageCdn = function(value) {
20335
+ return jspb.Message.setField(this, 20, value);
20336
+ };
20337
+
20338
+
20339
+ /**
20340
+ * Clears the field making it undefined.
20341
+ * @return {!proto.payment.WithdrawalResponse} returns this
20342
+ */
20343
+ proto.payment.WithdrawalResponse.prototype.clearPaymentMethodImageCdn = function() {
20344
+ return jspb.Message.setField(this, 20, undefined);
20345
+ };
20346
+
20347
+
20348
+ /**
20349
+ * Returns whether this field is set.
20350
+ * @return {boolean}
20351
+ */
20352
+ proto.payment.WithdrawalResponse.prototype.hasPaymentMethodImageCdn = function() {
20353
+ return jspb.Message.getField(this, 20) != null;
20354
+ };
20355
+
20356
+
20165
20357
 
20166
20358
 
20167
20359
 
@@ -20209,7 +20401,11 @@ proto.payment.WithdrawalItem.toObject = function(includeInstance, msg) {
20209
20401
  country: jspb.Message.getFieldWithDefault(msg, 13, ""),
20210
20402
  processingType: jspb.Message.getFieldWithDefault(msg, 14, ""),
20211
20403
  destinationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
20212
- destinationCurrency: jspb.Message.getFieldWithDefault(msg, 16, "")
20404
+ destinationCurrency: jspb.Message.getFieldWithDefault(msg, 16, ""),
20405
+ paymentProviderTitle: jspb.Message.getFieldWithDefault(msg, 17, ""),
20406
+ paymentProviderImageCdn: jspb.Message.getFieldWithDefault(msg, 18, ""),
20407
+ paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 19, ""),
20408
+ paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, "")
20213
20409
  };
20214
20410
 
20215
20411
  if (includeInstance) {
@@ -20310,6 +20506,22 @@ proto.payment.WithdrawalItem.deserializeBinaryFromReader = function(msg, reader)
20310
20506
  var value = /** @type {string} */ (reader.readString());
20311
20507
  msg.setDestinationCurrency(value);
20312
20508
  break;
20509
+ case 17:
20510
+ var value = /** @type {string} */ (reader.readString());
20511
+ msg.setPaymentProviderTitle(value);
20512
+ break;
20513
+ case 18:
20514
+ var value = /** @type {string} */ (reader.readString());
20515
+ msg.setPaymentProviderImageCdn(value);
20516
+ break;
20517
+ case 19:
20518
+ var value = /** @type {string} */ (reader.readString());
20519
+ msg.setPaymentMethodImage(value);
20520
+ break;
20521
+ case 20:
20522
+ var value = /** @type {string} */ (reader.readString());
20523
+ msg.setPaymentMethodImageCdn(value);
20524
+ break;
20313
20525
  default:
20314
20526
  reader.skipField();
20315
20527
  break;
@@ -20451,6 +20663,34 @@ proto.payment.WithdrawalItem.serializeBinaryToWriter = function(message, writer)
20451
20663
  f
20452
20664
  );
20453
20665
  }
20666
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
20667
+ if (f != null) {
20668
+ writer.writeString(
20669
+ 17,
20670
+ f
20671
+ );
20672
+ }
20673
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
20674
+ if (f != null) {
20675
+ writer.writeString(
20676
+ 18,
20677
+ f
20678
+ );
20679
+ }
20680
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
20681
+ if (f != null) {
20682
+ writer.writeString(
20683
+ 19,
20684
+ f
20685
+ );
20686
+ }
20687
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
20688
+ if (f != null) {
20689
+ writer.writeString(
20690
+ 20,
20691
+ f
20692
+ );
20693
+ }
20454
20694
  };
20455
20695
 
20456
20696
 
@@ -20922,6 +21162,150 @@ proto.payment.WithdrawalItem.prototype.hasDestinationCurrency = function() {
20922
21162
  };
20923
21163
 
20924
21164
 
21165
+ /**
21166
+ * optional string payment_provider_title = 17;
21167
+ * @return {string}
21168
+ */
21169
+ proto.payment.WithdrawalItem.prototype.getPaymentProviderTitle = function() {
21170
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
21171
+ };
21172
+
21173
+
21174
+ /**
21175
+ * @param {string} value
21176
+ * @return {!proto.payment.WithdrawalItem} returns this
21177
+ */
21178
+ proto.payment.WithdrawalItem.prototype.setPaymentProviderTitle = function(value) {
21179
+ return jspb.Message.setField(this, 17, value);
21180
+ };
21181
+
21182
+
21183
+ /**
21184
+ * Clears the field making it undefined.
21185
+ * @return {!proto.payment.WithdrawalItem} returns this
21186
+ */
21187
+ proto.payment.WithdrawalItem.prototype.clearPaymentProviderTitle = function() {
21188
+ return jspb.Message.setField(this, 17, undefined);
21189
+ };
21190
+
21191
+
21192
+ /**
21193
+ * Returns whether this field is set.
21194
+ * @return {boolean}
21195
+ */
21196
+ proto.payment.WithdrawalItem.prototype.hasPaymentProviderTitle = function() {
21197
+ return jspb.Message.getField(this, 17) != null;
21198
+ };
21199
+
21200
+
21201
+ /**
21202
+ * optional string payment_provider_image_cdn = 18;
21203
+ * @return {string}
21204
+ */
21205
+ proto.payment.WithdrawalItem.prototype.getPaymentProviderImageCdn = function() {
21206
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
21207
+ };
21208
+
21209
+
21210
+ /**
21211
+ * @param {string} value
21212
+ * @return {!proto.payment.WithdrawalItem} returns this
21213
+ */
21214
+ proto.payment.WithdrawalItem.prototype.setPaymentProviderImageCdn = function(value) {
21215
+ return jspb.Message.setField(this, 18, value);
21216
+ };
21217
+
21218
+
21219
+ /**
21220
+ * Clears the field making it undefined.
21221
+ * @return {!proto.payment.WithdrawalItem} returns this
21222
+ */
21223
+ proto.payment.WithdrawalItem.prototype.clearPaymentProviderImageCdn = function() {
21224
+ return jspb.Message.setField(this, 18, undefined);
21225
+ };
21226
+
21227
+
21228
+ /**
21229
+ * Returns whether this field is set.
21230
+ * @return {boolean}
21231
+ */
21232
+ proto.payment.WithdrawalItem.prototype.hasPaymentProviderImageCdn = function() {
21233
+ return jspb.Message.getField(this, 18) != null;
21234
+ };
21235
+
21236
+
21237
+ /**
21238
+ * optional string payment_method_image = 19;
21239
+ * @return {string}
21240
+ */
21241
+ proto.payment.WithdrawalItem.prototype.getPaymentMethodImage = function() {
21242
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
21243
+ };
21244
+
21245
+
21246
+ /**
21247
+ * @param {string} value
21248
+ * @return {!proto.payment.WithdrawalItem} returns this
21249
+ */
21250
+ proto.payment.WithdrawalItem.prototype.setPaymentMethodImage = function(value) {
21251
+ return jspb.Message.setField(this, 19, value);
21252
+ };
21253
+
21254
+
21255
+ /**
21256
+ * Clears the field making it undefined.
21257
+ * @return {!proto.payment.WithdrawalItem} returns this
21258
+ */
21259
+ proto.payment.WithdrawalItem.prototype.clearPaymentMethodImage = function() {
21260
+ return jspb.Message.setField(this, 19, undefined);
21261
+ };
21262
+
21263
+
21264
+ /**
21265
+ * Returns whether this field is set.
21266
+ * @return {boolean}
21267
+ */
21268
+ proto.payment.WithdrawalItem.prototype.hasPaymentMethodImage = function() {
21269
+ return jspb.Message.getField(this, 19) != null;
21270
+ };
21271
+
21272
+
21273
+ /**
21274
+ * optional string payment_method_image_cdn = 20;
21275
+ * @return {string}
21276
+ */
21277
+ proto.payment.WithdrawalItem.prototype.getPaymentMethodImageCdn = function() {
21278
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
21279
+ };
21280
+
21281
+
21282
+ /**
21283
+ * @param {string} value
21284
+ * @return {!proto.payment.WithdrawalItem} returns this
21285
+ */
21286
+ proto.payment.WithdrawalItem.prototype.setPaymentMethodImageCdn = function(value) {
21287
+ return jspb.Message.setField(this, 20, value);
21288
+ };
21289
+
21290
+
21291
+ /**
21292
+ * Clears the field making it undefined.
21293
+ * @return {!proto.payment.WithdrawalItem} returns this
21294
+ */
21295
+ proto.payment.WithdrawalItem.prototype.clearPaymentMethodImageCdn = function() {
21296
+ return jspb.Message.setField(this, 20, undefined);
21297
+ };
21298
+
21299
+
21300
+ /**
21301
+ * Returns whether this field is set.
21302
+ * @return {boolean}
21303
+ */
21304
+ proto.payment.WithdrawalItem.prototype.hasPaymentMethodImageCdn = function() {
21305
+ return jspb.Message.getField(this, 20) != null;
21306
+ };
21307
+
21308
+
20925
21309
 
20926
21310
  /**
20927
21311
  * List of repeated fields within this message type.