@aldiokta/protocgen 1.0.63 → 1.0.64
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
|
@@ -421,7 +421,7 @@ materialType: (f = msg.getMaterialType()) && prisca_v1_core_material_type_materi
|
|
|
421
421
|
materialGroup: (f = msg.getMaterialGroup()) && prisca_v1_core_material_group_material_group_pb.MaterialGroup.toObject(includeInstance, f),
|
|
422
422
|
materialPlantRef: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
423
423
|
materialPlant: (f = msg.getMaterialPlant()) && prisca_v1_core_work_location_work_location_pb.WorkLocation.toObject(includeInstance, f),
|
|
424
|
-
|
|
424
|
+
materialTypeCodeRef: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
425
425
|
numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
426
426
|
};
|
|
427
427
|
|
|
@@ -543,7 +543,7 @@ proto.Material.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
543
543
|
break;
|
|
544
544
|
case 20:
|
|
545
545
|
var value = /** @type {string} */ (reader.readString());
|
|
546
|
-
msg.
|
|
546
|
+
msg.setMaterialTypeCodeRef(value);
|
|
547
547
|
break;
|
|
548
548
|
case 21:
|
|
549
549
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -717,7 +717,7 @@ proto.Material.serializeBinaryToWriter = function(message, writer) {
|
|
|
717
717
|
prisca_v1_core_work_location_work_location_pb.WorkLocation.serializeBinaryToWriter
|
|
718
718
|
);
|
|
719
719
|
}
|
|
720
|
-
f = message.
|
|
720
|
+
f = message.getMaterialTypeCodeRef();
|
|
721
721
|
if (f.length > 0) {
|
|
722
722
|
writer.writeString(
|
|
723
723
|
20,
|
|
@@ -1193,10 +1193,10 @@ proto.Material.prototype.hasMaterialPlant = function() {
|
|
|
1193
1193
|
|
|
1194
1194
|
|
|
1195
1195
|
/**
|
|
1196
|
-
* optional string
|
|
1196
|
+
* optional string material_type_code_ref = 20;
|
|
1197
1197
|
* @return {string}
|
|
1198
1198
|
*/
|
|
1199
|
-
proto.Material.prototype.
|
|
1199
|
+
proto.Material.prototype.getMaterialTypeCodeRef = function() {
|
|
1200
1200
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
1201
1201
|
};
|
|
1202
1202
|
|
|
@@ -1205,7 +1205,7 @@ proto.Material.prototype.getMaterialTypeRef = function() {
|
|
|
1205
1205
|
* @param {string} value
|
|
1206
1206
|
* @return {!proto.Material} returns this
|
|
1207
1207
|
*/
|
|
1208
|
-
proto.Material.prototype.
|
|
1208
|
+
proto.Material.prototype.setMaterialTypeCodeRef = function(value) {
|
|
1209
1209
|
return jspb.Message.setProto3StringField(this, 20, value);
|
|
1210
1210
|
};
|
|
1211
1211
|
|
|
@@ -326,7 +326,8 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
|
326
326
|
createdAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
327
327
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
328
328
|
result: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
329
|
-
properties: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
329
|
+
properties: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
330
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
330
331
|
};
|
|
331
332
|
|
|
332
333
|
if (includeInstance) {
|
|
@@ -395,6 +396,10 @@ proto.Report.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
395
396
|
var value = /** @type {string} */ (reader.readString());
|
|
396
397
|
msg.setProperties(value);
|
|
397
398
|
break;
|
|
399
|
+
case 9:
|
|
400
|
+
var value = /** @type {string} */ (reader.readString());
|
|
401
|
+
msg.setCompaniesReferencesId(value);
|
|
402
|
+
break;
|
|
398
403
|
default:
|
|
399
404
|
reader.skipField();
|
|
400
405
|
break;
|
|
@@ -480,6 +485,13 @@ proto.Report.serializeBinaryToWriter = function(message, writer) {
|
|
|
480
485
|
f
|
|
481
486
|
);
|
|
482
487
|
}
|
|
488
|
+
f = message.getCompaniesReferencesId();
|
|
489
|
+
if (f.length > 0) {
|
|
490
|
+
writer.writeString(
|
|
491
|
+
9,
|
|
492
|
+
f
|
|
493
|
+
);
|
|
494
|
+
}
|
|
483
495
|
};
|
|
484
496
|
|
|
485
497
|
|
|
@@ -627,6 +639,24 @@ proto.Report.prototype.setProperties = function(value) {
|
|
|
627
639
|
};
|
|
628
640
|
|
|
629
641
|
|
|
642
|
+
/**
|
|
643
|
+
* optional string companies_references_id = 9;
|
|
644
|
+
* @return {string}
|
|
645
|
+
*/
|
|
646
|
+
proto.Report.prototype.getCompaniesReferencesId = function() {
|
|
647
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
648
|
+
};
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* @param {string} value
|
|
653
|
+
* @return {!proto.Report} returns this
|
|
654
|
+
*/
|
|
655
|
+
proto.Report.prototype.setCompaniesReferencesId = function(value) {
|
|
656
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
657
|
+
};
|
|
658
|
+
|
|
659
|
+
|
|
630
660
|
|
|
631
661
|
|
|
632
662
|
|