protobuf-platform 1.2.542 → 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.
@@ -70,6 +70,7 @@ message MirrorCountriesRequest {
70
70
  optional string environment = 1;
71
71
  optional string type = 2;
72
72
  repeated string countries = 3;
73
+ optional string domain = 4;
73
74
  }
74
75
  message CountriesRequest {
75
76
  optional string name = 1;
@@ -2225,7 +2225,8 @@ proto.config.MirrorCountriesRequest.toObject = function(includeInstance, msg) {
2225
2225
  var f, obj = {
2226
2226
  environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
2227
2227
  type: jspb.Message.getFieldWithDefault(msg, 2, ""),
2228
- countriesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
2228
+ countriesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
2229
+ domain: jspb.Message.getFieldWithDefault(msg, 4, "")
2229
2230
  };
2230
2231
 
2231
2232
  if (includeInstance) {
@@ -2274,6 +2275,10 @@ proto.config.MirrorCountriesRequest.deserializeBinaryFromReader = function(msg,
2274
2275
  var value = /** @type {string} */ (reader.readString());
2275
2276
  msg.addCountries(value);
2276
2277
  break;
2278
+ case 4:
2279
+ var value = /** @type {string} */ (reader.readString());
2280
+ msg.setDomain(value);
2281
+ break;
2277
2282
  default:
2278
2283
  reader.skipField();
2279
2284
  break;
@@ -2324,6 +2329,13 @@ proto.config.MirrorCountriesRequest.serializeBinaryToWriter = function(message,
2324
2329
  f
2325
2330
  );
2326
2331
  }
2332
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
2333
+ if (f != null) {
2334
+ writer.writeString(
2335
+ 4,
2336
+ f
2337
+ );
2338
+ }
2327
2339
  };
2328
2340
 
2329
2341
 
@@ -2436,6 +2448,42 @@ proto.config.MirrorCountriesRequest.prototype.clearCountriesList = function() {
2436
2448
  };
2437
2449
 
2438
2450
 
2451
+ /**
2452
+ * optional string domain = 4;
2453
+ * @return {string}
2454
+ */
2455
+ proto.config.MirrorCountriesRequest.prototype.getDomain = function() {
2456
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2457
+ };
2458
+
2459
+
2460
+ /**
2461
+ * @param {string} value
2462
+ * @return {!proto.config.MirrorCountriesRequest} returns this
2463
+ */
2464
+ proto.config.MirrorCountriesRequest.prototype.setDomain = function(value) {
2465
+ return jspb.Message.setField(this, 4, value);
2466
+ };
2467
+
2468
+
2469
+ /**
2470
+ * Clears the field making it undefined.
2471
+ * @return {!proto.config.MirrorCountriesRequest} returns this
2472
+ */
2473
+ proto.config.MirrorCountriesRequest.prototype.clearDomain = function() {
2474
+ return jspb.Message.setField(this, 4, undefined);
2475
+ };
2476
+
2477
+
2478
+ /**
2479
+ * Returns whether this field is set.
2480
+ * @return {boolean}
2481
+ */
2482
+ proto.config.MirrorCountriesRequest.prototype.hasDomain = function() {
2483
+ return jspb.Message.getField(this, 4) != null;
2484
+ };
2485
+
2486
+
2439
2487
 
2440
2488
 
2441
2489
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.542",
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