protobuf-platform 1.2.761 → 1.2.762

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.761",
3
+ "version": "1.2.762",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -315,6 +315,9 @@ message MethodItem {
315
315
  // Coming soon at the payment-method level. Mutually exclusive with an active method.
316
316
  // Absent means false for older producers and legacy rows.
317
317
  optional bool soon = 16;
318
+ // Deposit methods marked manual are BackOffice-only.
319
+ // Absent means false for older producers. Player discovery does not receive this field.
320
+ optional bool is_manual = 17;
318
321
  }
319
322
  message MethodRequest {
320
323
  oneof request {
@@ -336,6 +339,9 @@ message MethodItemRequest {
336
339
  // Coming soon at the payment-method level. Mutually exclusive with is_active=true.
337
340
  // Absent leaves the stored value unchanged on update.
338
341
  optional bool soon = 12;
342
+ // Absent leaves the stored value unchanged on update.
343
+ // An explicit false cannot clear an inherently manual deposit method.
344
+ optional bool is_manual = 13;
339
345
  }
340
346
  message GetMethodRequest {
341
347
  int32 id = 1;
@@ -11364,7 +11364,8 @@ proto.payment.MethodItem.toObject = function(includeInstance, msg) {
11364
11364
  code: jspb.Message.getFieldWithDefault(msg, 13, ""),
11365
11365
  currencyType: jspb.Message.getFieldWithDefault(msg, 14, ""),
11366
11366
  isTest: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
11367
- soon: jspb.Message.getBooleanFieldWithDefault(msg, 16, false)
11367
+ soon: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
11368
+ isManual: jspb.Message.getBooleanFieldWithDefault(msg, 17, false)
11368
11369
  };
11369
11370
 
11370
11371
  if (includeInstance) {
@@ -11461,6 +11462,10 @@ proto.payment.MethodItem.deserializeBinaryFromReader = function(msg, reader) {
11461
11462
  var value = /** @type {boolean} */ (reader.readBool());
11462
11463
  msg.setSoon(value);
11463
11464
  break;
11465
+ case 17:
11466
+ var value = /** @type {boolean} */ (reader.readBool());
11467
+ msg.setIsManual(value);
11468
+ break;
11464
11469
  default:
11465
11470
  reader.skipField();
11466
11471
  break;
@@ -11595,6 +11600,13 @@ proto.payment.MethodItem.serializeBinaryToWriter = function(message, writer) {
11595
11600
  f
11596
11601
  );
11597
11602
  }
11603
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 17));
11604
+ if (f != null) {
11605
+ writer.writeBool(
11606
+ 17,
11607
+ f
11608
+ );
11609
+ }
11598
11610
  };
11599
11611
 
11600
11612
 
@@ -12138,6 +12150,42 @@ proto.payment.MethodItem.prototype.hasSoon = function() {
12138
12150
  };
12139
12151
 
12140
12152
 
12153
+ /**
12154
+ * optional bool is_manual = 17;
12155
+ * @return {boolean}
12156
+ */
12157
+ proto.payment.MethodItem.prototype.getIsManual = function() {
12158
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 17, false));
12159
+ };
12160
+
12161
+
12162
+ /**
12163
+ * @param {boolean} value
12164
+ * @return {!proto.payment.MethodItem} returns this
12165
+ */
12166
+ proto.payment.MethodItem.prototype.setIsManual = function(value) {
12167
+ return jspb.Message.setField(this, 17, value);
12168
+ };
12169
+
12170
+
12171
+ /**
12172
+ * Clears the field making it undefined.
12173
+ * @return {!proto.payment.MethodItem} returns this
12174
+ */
12175
+ proto.payment.MethodItem.prototype.clearIsManual = function() {
12176
+ return jspb.Message.setField(this, 17, undefined);
12177
+ };
12178
+
12179
+
12180
+ /**
12181
+ * Returns whether this field is set.
12182
+ * @return {boolean}
12183
+ */
12184
+ proto.payment.MethodItem.prototype.hasIsManual = function() {
12185
+ return jspb.Message.getField(this, 17) != null;
12186
+ };
12187
+
12188
+
12141
12189
 
12142
12190
  /**
12143
12191
  * Oneof group definitions for this message. Each group defines the field
@@ -12408,7 +12456,8 @@ proto.payment.MethodItemRequest.toObject = function(includeInstance, msg) {
12408
12456
  code: jspb.Message.getFieldWithDefault(msg, 9, ""),
12409
12457
  currencyType: jspb.Message.getFieldWithDefault(msg, 10, ""),
12410
12458
  isTest: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
12411
- soon: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
12459
+ soon: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
12460
+ isManual: jspb.Message.getBooleanFieldWithDefault(msg, 13, false)
12412
12461
  };
12413
12462
 
12414
12463
  if (includeInstance) {
@@ -12489,6 +12538,10 @@ proto.payment.MethodItemRequest.deserializeBinaryFromReader = function(msg, read
12489
12538
  var value = /** @type {boolean} */ (reader.readBool());
12490
12539
  msg.setSoon(value);
12491
12540
  break;
12541
+ case 13:
12542
+ var value = /** @type {boolean} */ (reader.readBool());
12543
+ msg.setIsManual(value);
12544
+ break;
12492
12545
  default:
12493
12546
  reader.skipField();
12494
12547
  break;
@@ -12595,6 +12648,13 @@ proto.payment.MethodItemRequest.serializeBinaryToWriter = function(message, writ
12595
12648
  f
12596
12649
  );
12597
12650
  }
12651
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 13));
12652
+ if (f != null) {
12653
+ writer.writeBool(
12654
+ 13,
12655
+ f
12656
+ );
12657
+ }
12598
12658
  };
12599
12659
 
12600
12660
 
@@ -12994,6 +13054,42 @@ proto.payment.MethodItemRequest.prototype.hasSoon = function() {
12994
13054
  };
12995
13055
 
12996
13056
 
13057
+ /**
13058
+ * optional bool is_manual = 13;
13059
+ * @return {boolean}
13060
+ */
13061
+ proto.payment.MethodItemRequest.prototype.getIsManual = function() {
13062
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
13063
+ };
13064
+
13065
+
13066
+ /**
13067
+ * @param {boolean} value
13068
+ * @return {!proto.payment.MethodItemRequest} returns this
13069
+ */
13070
+ proto.payment.MethodItemRequest.prototype.setIsManual = function(value) {
13071
+ return jspb.Message.setField(this, 13, value);
13072
+ };
13073
+
13074
+
13075
+ /**
13076
+ * Clears the field making it undefined.
13077
+ * @return {!proto.payment.MethodItemRequest} returns this
13078
+ */
13079
+ proto.payment.MethodItemRequest.prototype.clearIsManual = function() {
13080
+ return jspb.Message.setField(this, 13, undefined);
13081
+ };
13082
+
13083
+
13084
+ /**
13085
+ * Returns whether this field is set.
13086
+ * @return {boolean}
13087
+ */
13088
+ proto.payment.MethodItemRequest.prototype.hasIsManual = function() {
13089
+ return jspb.Message.getField(this, 13) != null;
13090
+ };
13091
+
13092
+
12997
13093
 
12998
13094
 
12999
13095