protobuf-platform 1.2.346 → 1.2.347

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.346",
3
+ "version": "1.2.347",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -960,6 +960,7 @@ message IngestUserKycDocumentToProviderRequest {
960
960
  int32 user_id = 1;
961
961
  int64 document_id = 2;
962
962
  optional string correlation_id = 3;
963
+ optional string document_country = 4;
963
964
  }
964
965
  message UserKycDocumentItem {
965
966
  int32 id = 1;
package/user/user_pb.js CHANGED
@@ -41047,7 +41047,8 @@ proto.user.IngestUserKycDocumentToProviderRequest.toObject = function(includeIns
41047
41047
  var f, obj = {
41048
41048
  userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
41049
41049
  documentId: jspb.Message.getFieldWithDefault(msg, 2, 0),
41050
- correlationId: jspb.Message.getFieldWithDefault(msg, 3, "")
41050
+ correlationId: jspb.Message.getFieldWithDefault(msg, 3, ""),
41051
+ documentCountry: jspb.Message.getFieldWithDefault(msg, 4, "")
41051
41052
  };
41052
41053
 
41053
41054
  if (includeInstance) {
@@ -41096,6 +41097,10 @@ proto.user.IngestUserKycDocumentToProviderRequest.deserializeBinaryFromReader =
41096
41097
  var value = /** @type {string} */ (reader.readString());
41097
41098
  msg.setCorrelationId(value);
41098
41099
  break;
41100
+ case 4:
41101
+ var value = /** @type {string} */ (reader.readString());
41102
+ msg.setDocumentCountry(value);
41103
+ break;
41099
41104
  default:
41100
41105
  reader.skipField();
41101
41106
  break;
@@ -41146,6 +41151,13 @@ proto.user.IngestUserKycDocumentToProviderRequest.serializeBinaryToWriter = func
41146
41151
  f
41147
41152
  );
41148
41153
  }
41154
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
41155
+ if (f != null) {
41156
+ writer.writeString(
41157
+ 4,
41158
+ f
41159
+ );
41160
+ }
41149
41161
  };
41150
41162
 
41151
41163
 
@@ -41221,6 +41233,42 @@ proto.user.IngestUserKycDocumentToProviderRequest.prototype.hasCorrelationId = f
41221
41233
  };
41222
41234
 
41223
41235
 
41236
+ /**
41237
+ * optional string document_country = 4;
41238
+ * @return {string}
41239
+ */
41240
+ proto.user.IngestUserKycDocumentToProviderRequest.prototype.getDocumentCountry = function() {
41241
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
41242
+ };
41243
+
41244
+
41245
+ /**
41246
+ * @param {string} value
41247
+ * @return {!proto.user.IngestUserKycDocumentToProviderRequest} returns this
41248
+ */
41249
+ proto.user.IngestUserKycDocumentToProviderRequest.prototype.setDocumentCountry = function(value) {
41250
+ return jspb.Message.setField(this, 4, value);
41251
+ };
41252
+
41253
+
41254
+ /**
41255
+ * Clears the field making it undefined.
41256
+ * @return {!proto.user.IngestUserKycDocumentToProviderRequest} returns this
41257
+ */
41258
+ proto.user.IngestUserKycDocumentToProviderRequest.prototype.clearDocumentCountry = function() {
41259
+ return jspb.Message.setField(this, 4, undefined);
41260
+ };
41261
+
41262
+
41263
+ /**
41264
+ * Returns whether this field is set.
41265
+ * @return {boolean}
41266
+ */
41267
+ proto.user.IngestUserKycDocumentToProviderRequest.prototype.hasDocumentCountry = function() {
41268
+ return jspb.Message.getField(this, 4) != null;
41269
+ };
41270
+
41271
+
41224
41272
 
41225
41273
 
41226
41274