protobuf-platform 1.2.325 → 1.2.326

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.325",
3
+ "version": "1.2.326",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -884,6 +884,10 @@ message UserKycDocumentItem {
884
884
  optional int64 file_size = 14;
885
885
  optional string created_at = 15;
886
886
  optional string updated_at = 16;
887
+ // Backend-derived actor email resolved from uploaded_by; omitted when user-service cannot resolve.
888
+ optional string uploaded_by_email = 17;
889
+ // Backend-derived actor email resolved from reviewer_id; omitted when user-service cannot resolve.
890
+ optional string reviewer_email = 18;
887
891
  }
888
892
  message UserKycDocumentsResponse {
889
893
  int32 user_id = 1;
package/user/user_pb.js CHANGED
@@ -37406,7 +37406,9 @@ proto.user.UserKycDocumentItem.toObject = function(includeInstance, msg) {
37406
37406
  mimeType: jspb.Message.getFieldWithDefault(msg, 13, ""),
37407
37407
  fileSize: jspb.Message.getFieldWithDefault(msg, 14, 0),
37408
37408
  createdAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
37409
- updatedAt: jspb.Message.getFieldWithDefault(msg, 16, "")
37409
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
37410
+ uploadedByEmail: jspb.Message.getFieldWithDefault(msg, 17, ""),
37411
+ reviewerEmail: jspb.Message.getFieldWithDefault(msg, 18, "")
37410
37412
  };
37411
37413
 
37412
37414
  if (includeInstance) {
@@ -37507,6 +37509,14 @@ proto.user.UserKycDocumentItem.deserializeBinaryFromReader = function(msg, reade
37507
37509
  var value = /** @type {string} */ (reader.readString());
37508
37510
  msg.setUpdatedAt(value);
37509
37511
  break;
37512
+ case 17:
37513
+ var value = /** @type {string} */ (reader.readString());
37514
+ msg.setUploadedByEmail(value);
37515
+ break;
37516
+ case 18:
37517
+ var value = /** @type {string} */ (reader.readString());
37518
+ msg.setReviewerEmail(value);
37519
+ break;
37510
37520
  default:
37511
37521
  reader.skipField();
37512
37522
  break;
@@ -37648,6 +37658,20 @@ proto.user.UserKycDocumentItem.serializeBinaryToWriter = function(message, write
37648
37658
  f
37649
37659
  );
37650
37660
  }
37661
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
37662
+ if (f != null) {
37663
+ writer.writeString(
37664
+ 17,
37665
+ f
37666
+ );
37667
+ }
37668
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
37669
+ if (f != null) {
37670
+ writer.writeString(
37671
+ 18,
37672
+ f
37673
+ );
37674
+ }
37651
37675
  };
37652
37676
 
37653
37677
 
@@ -38137,6 +38161,78 @@ proto.user.UserKycDocumentItem.prototype.hasUpdatedAt = function() {
38137
38161
  };
38138
38162
 
38139
38163
 
38164
+ /**
38165
+ * optional string uploaded_by_email = 17;
38166
+ * @return {string}
38167
+ */
38168
+ proto.user.UserKycDocumentItem.prototype.getUploadedByEmail = function() {
38169
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
38170
+ };
38171
+
38172
+
38173
+ /**
38174
+ * @param {string} value
38175
+ * @return {!proto.user.UserKycDocumentItem} returns this
38176
+ */
38177
+ proto.user.UserKycDocumentItem.prototype.setUploadedByEmail = function(value) {
38178
+ return jspb.Message.setField(this, 17, value);
38179
+ };
38180
+
38181
+
38182
+ /**
38183
+ * Clears the field making it undefined.
38184
+ * @return {!proto.user.UserKycDocumentItem} returns this
38185
+ */
38186
+ proto.user.UserKycDocumentItem.prototype.clearUploadedByEmail = function() {
38187
+ return jspb.Message.setField(this, 17, undefined);
38188
+ };
38189
+
38190
+
38191
+ /**
38192
+ * Returns whether this field is set.
38193
+ * @return {boolean}
38194
+ */
38195
+ proto.user.UserKycDocumentItem.prototype.hasUploadedByEmail = function() {
38196
+ return jspb.Message.getField(this, 17) != null;
38197
+ };
38198
+
38199
+
38200
+ /**
38201
+ * optional string reviewer_email = 18;
38202
+ * @return {string}
38203
+ */
38204
+ proto.user.UserKycDocumentItem.prototype.getReviewerEmail = function() {
38205
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
38206
+ };
38207
+
38208
+
38209
+ /**
38210
+ * @param {string} value
38211
+ * @return {!proto.user.UserKycDocumentItem} returns this
38212
+ */
38213
+ proto.user.UserKycDocumentItem.prototype.setReviewerEmail = function(value) {
38214
+ return jspb.Message.setField(this, 18, value);
38215
+ };
38216
+
38217
+
38218
+ /**
38219
+ * Clears the field making it undefined.
38220
+ * @return {!proto.user.UserKycDocumentItem} returns this
38221
+ */
38222
+ proto.user.UserKycDocumentItem.prototype.clearReviewerEmail = function() {
38223
+ return jspb.Message.setField(this, 18, undefined);
38224
+ };
38225
+
38226
+
38227
+ /**
38228
+ * Returns whether this field is set.
38229
+ * @return {boolean}
38230
+ */
38231
+ proto.user.UserKycDocumentItem.prototype.hasReviewerEmail = function() {
38232
+ return jspb.Message.getField(this, 18) != null;
38233
+ };
38234
+
38235
+
38140
38236
 
38141
38237
  /**
38142
38238
  * List of repeated fields within this message type.