@aldiokta/protocgen 1.0.88 → 1.0.90
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
|
@@ -768,7 +768,9 @@ proto.DocumentRequest.toObject = function(includeInstance, msg) {
|
|
|
768
768
|
documentsRefereneces: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
769
769
|
status: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
770
770
|
createdAt: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
771
|
-
createdBy: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
771
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
772
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
773
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
772
774
|
};
|
|
773
775
|
|
|
774
776
|
if (includeInstance) {
|
|
@@ -821,6 +823,14 @@ proto.DocumentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
821
823
|
var value = /** @type {string} */ (reader.readString());
|
|
822
824
|
msg.setCreatedBy(value);
|
|
823
825
|
break;
|
|
826
|
+
case 5:
|
|
827
|
+
var value = /** @type {string} */ (reader.readString());
|
|
828
|
+
msg.setUpdatedAt(value);
|
|
829
|
+
break;
|
|
830
|
+
case 6:
|
|
831
|
+
var value = /** @type {string} */ (reader.readString());
|
|
832
|
+
msg.setUpdatedBy(value);
|
|
833
|
+
break;
|
|
824
834
|
default:
|
|
825
835
|
reader.skipField();
|
|
826
836
|
break;
|
|
@@ -878,6 +888,20 @@ proto.DocumentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
878
888
|
f
|
|
879
889
|
);
|
|
880
890
|
}
|
|
891
|
+
f = message.getUpdatedAt();
|
|
892
|
+
if (f.length > 0) {
|
|
893
|
+
writer.writeString(
|
|
894
|
+
5,
|
|
895
|
+
f
|
|
896
|
+
);
|
|
897
|
+
}
|
|
898
|
+
f = message.getUpdatedBy();
|
|
899
|
+
if (f.length > 0) {
|
|
900
|
+
writer.writeString(
|
|
901
|
+
6,
|
|
902
|
+
f
|
|
903
|
+
);
|
|
904
|
+
}
|
|
881
905
|
};
|
|
882
906
|
|
|
883
907
|
|
|
@@ -953,6 +977,42 @@ proto.DocumentRequest.prototype.setCreatedBy = function(value) {
|
|
|
953
977
|
};
|
|
954
978
|
|
|
955
979
|
|
|
980
|
+
/**
|
|
981
|
+
* optional string updated_at = 5;
|
|
982
|
+
* @return {string}
|
|
983
|
+
*/
|
|
984
|
+
proto.DocumentRequest.prototype.getUpdatedAt = function() {
|
|
985
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* @param {string} value
|
|
991
|
+
* @return {!proto.DocumentRequest} returns this
|
|
992
|
+
*/
|
|
993
|
+
proto.DocumentRequest.prototype.setUpdatedAt = function(value) {
|
|
994
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
995
|
+
};
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* optional string updated_by = 6;
|
|
1000
|
+
* @return {string}
|
|
1001
|
+
*/
|
|
1002
|
+
proto.DocumentRequest.prototype.getUpdatedBy = function() {
|
|
1003
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1004
|
+
};
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* @param {string} value
|
|
1009
|
+
* @return {!proto.DocumentRequest} returns this
|
|
1010
|
+
*/
|
|
1011
|
+
proto.DocumentRequest.prototype.setUpdatedBy = function(value) {
|
|
1012
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1015
|
+
|
|
956
1016
|
|
|
957
1017
|
|
|
958
1018
|
|