protobuf-platform 1.2.543 → 1.2.545

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.543",
3
+ "version": "1.2.545",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -1408,6 +1408,7 @@ message CreateUserKycDocumentMetadataRequest {
1408
1408
  optional string file_name = 10;
1409
1409
  optional string mime_type = 11;
1410
1410
  optional int64 file_size = 12;
1411
+ optional string correlation_id = 13;
1411
1412
  }
1412
1413
  message UpdateUserKycDocumentReviewRequest {
1413
1414
  int32 id = 1;
package/user/user_pb.js CHANGED
@@ -58800,7 +58800,8 @@ proto.user.CreateUserKycDocumentMetadataRequest.toObject = function(includeInsta
58800
58800
  storageRef: jspb.Message.getFieldWithDefault(msg, 9, ""),
58801
58801
  fileName: jspb.Message.getFieldWithDefault(msg, 10, ""),
58802
58802
  mimeType: jspb.Message.getFieldWithDefault(msg, 11, ""),
58803
- fileSize: jspb.Message.getFieldWithDefault(msg, 12, 0)
58803
+ fileSize: jspb.Message.getFieldWithDefault(msg, 12, 0),
58804
+ correlationId: jspb.Message.getFieldWithDefault(msg, 13, "")
58804
58805
  };
58805
58806
 
58806
58807
  if (includeInstance) {
@@ -58885,6 +58886,10 @@ proto.user.CreateUserKycDocumentMetadataRequest.deserializeBinaryFromReader = fu
58885
58886
  var value = /** @type {number} */ (reader.readInt64());
58886
58887
  msg.setFileSize(value);
58887
58888
  break;
58889
+ case 13:
58890
+ var value = /** @type {string} */ (reader.readString());
58891
+ msg.setCorrelationId(value);
58892
+ break;
58888
58893
  default:
58889
58894
  reader.skipField();
58890
58895
  break;
@@ -58998,6 +59003,13 @@ proto.user.CreateUserKycDocumentMetadataRequest.serializeBinaryToWriter = functi
58998
59003
  f
58999
59004
  );
59000
59005
  }
59006
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
59007
+ if (f != null) {
59008
+ writer.writeString(
59009
+ 13,
59010
+ f
59011
+ );
59012
+ }
59001
59013
  };
59002
59014
 
59003
59015
 
@@ -59379,6 +59391,42 @@ proto.user.CreateUserKycDocumentMetadataRequest.prototype.hasFileSize = function
59379
59391
  };
59380
59392
 
59381
59393
 
59394
+ /**
59395
+ * optional string correlation_id = 13;
59396
+ * @return {string}
59397
+ */
59398
+ proto.user.CreateUserKycDocumentMetadataRequest.prototype.getCorrelationId = function() {
59399
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
59400
+ };
59401
+
59402
+
59403
+ /**
59404
+ * @param {string} value
59405
+ * @return {!proto.user.CreateUserKycDocumentMetadataRequest} returns this
59406
+ */
59407
+ proto.user.CreateUserKycDocumentMetadataRequest.prototype.setCorrelationId = function(value) {
59408
+ return jspb.Message.setField(this, 13, value);
59409
+ };
59410
+
59411
+
59412
+ /**
59413
+ * Clears the field making it undefined.
59414
+ * @return {!proto.user.CreateUserKycDocumentMetadataRequest} returns this
59415
+ */
59416
+ proto.user.CreateUserKycDocumentMetadataRequest.prototype.clearCorrelationId = function() {
59417
+ return jspb.Message.setField(this, 13, undefined);
59418
+ };
59419
+
59420
+
59421
+ /**
59422
+ * Returns whether this field is set.
59423
+ * @return {boolean}
59424
+ */
59425
+ proto.user.CreateUserKycDocumentMetadataRequest.prototype.hasCorrelationId = function() {
59426
+ return jspb.Message.getField(this, 13) != null;
59427
+ };
59428
+
59429
+
59382
59430
 
59383
59431
 
59384
59432