protobuf-platform 1.2.330 → 1.2.332

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.330",
3
+ "version": "1.2.332",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -299,6 +299,7 @@ message AttemptDepositRequest {
299
299
  optional string user_email = 12;
300
300
  optional string user_public_id = 13;
301
301
  optional string token_id = 14;
302
+ optional string user_agent = 15;
302
303
  }
303
304
  message GetDepositRequest {
304
305
  int32 id = 1;
@@ -11822,7 +11822,8 @@ proto.payment.AttemptDepositRequest.toObject = function(includeInstance, msg) {
11822
11822
  userLastName: jspb.Message.getFieldWithDefault(msg, 11, ""),
11823
11823
  userEmail: jspb.Message.getFieldWithDefault(msg, 12, ""),
11824
11824
  userPublicId: jspb.Message.getFieldWithDefault(msg, 13, ""),
11825
- tokenId: jspb.Message.getFieldWithDefault(msg, 14, "")
11825
+ tokenId: jspb.Message.getFieldWithDefault(msg, 14, ""),
11826
+ userAgent: jspb.Message.getFieldWithDefault(msg, 15, "")
11826
11827
  };
11827
11828
 
11828
11829
  if (includeInstance) {
@@ -11915,6 +11916,10 @@ proto.payment.AttemptDepositRequest.deserializeBinaryFromReader = function(msg,
11915
11916
  var value = /** @type {string} */ (reader.readString());
11916
11917
  msg.setTokenId(value);
11917
11918
  break;
11919
+ case 15:
11920
+ var value = /** @type {string} */ (reader.readString());
11921
+ msg.setUserAgent(value);
11922
+ break;
11918
11923
  default:
11919
11924
  reader.skipField();
11920
11925
  break;
@@ -12042,6 +12047,13 @@ proto.payment.AttemptDepositRequest.serializeBinaryToWriter = function(message,
12042
12047
  f
12043
12048
  );
12044
12049
  }
12050
+ f = /** @type {string} */ (jspb.Message.getField(message, 15));
12051
+ if (f != null) {
12052
+ writer.writeString(
12053
+ 15,
12054
+ f
12055
+ );
12056
+ }
12045
12057
  };
12046
12058
 
12047
12059
 
@@ -12495,6 +12507,42 @@ proto.payment.AttemptDepositRequest.prototype.hasTokenId = function() {
12495
12507
  };
12496
12508
 
12497
12509
 
12510
+ /**
12511
+ * optional string user_agent = 15;
12512
+ * @return {string}
12513
+ */
12514
+ proto.payment.AttemptDepositRequest.prototype.getUserAgent = function() {
12515
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
12516
+ };
12517
+
12518
+
12519
+ /**
12520
+ * @param {string} value
12521
+ * @return {!proto.payment.AttemptDepositRequest} returns this
12522
+ */
12523
+ proto.payment.AttemptDepositRequest.prototype.setUserAgent = function(value) {
12524
+ return jspb.Message.setField(this, 15, value);
12525
+ };
12526
+
12527
+
12528
+ /**
12529
+ * Clears the field making it undefined.
12530
+ * @return {!proto.payment.AttemptDepositRequest} returns this
12531
+ */
12532
+ proto.payment.AttemptDepositRequest.prototype.clearUserAgent = function() {
12533
+ return jspb.Message.setField(this, 15, undefined);
12534
+ };
12535
+
12536
+
12537
+ /**
12538
+ * Returns whether this field is set.
12539
+ * @return {boolean}
12540
+ */
12541
+ proto.payment.AttemptDepositRequest.prototype.hasUserAgent = function() {
12542
+ return jspb.Message.getField(this, 15) != null;
12543
+ };
12544
+
12545
+
12498
12546
 
12499
12547
 
12500
12548