@aldiokta/protocgen 1.0.63 → 1.0.65
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
|
|
|
@@ -302,7 +302,8 @@ proto.PlantPOrganization.toObject = function(includeInstance, msg) {
|
|
|
302
302
|
purchasingOrganizationReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
303
303
|
plantReferencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
304
304
|
code: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
305
|
-
description: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
305
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
306
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
306
307
|
};
|
|
307
308
|
|
|
308
309
|
if (includeInstance) {
|
|
@@ -355,6 +356,10 @@ proto.PlantPOrganization.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
355
356
|
var value = /** @type {string} */ (reader.readString());
|
|
356
357
|
msg.setDescription(value);
|
|
357
358
|
break;
|
|
359
|
+
case 5:
|
|
360
|
+
var value = /** @type {string} */ (reader.readString());
|
|
361
|
+
msg.setCompaniesReferencesId(value);
|
|
362
|
+
break;
|
|
358
363
|
default:
|
|
359
364
|
reader.skipField();
|
|
360
365
|
break;
|
|
@@ -412,6 +417,13 @@ proto.PlantPOrganization.serializeBinaryToWriter = function(message, writer) {
|
|
|
412
417
|
f
|
|
413
418
|
);
|
|
414
419
|
}
|
|
420
|
+
f = message.getCompaniesReferencesId();
|
|
421
|
+
if (f.length > 0) {
|
|
422
|
+
writer.writeString(
|
|
423
|
+
5,
|
|
424
|
+
f
|
|
425
|
+
);
|
|
426
|
+
}
|
|
415
427
|
};
|
|
416
428
|
|
|
417
429
|
|
|
@@ -487,6 +499,24 @@ proto.PlantPOrganization.prototype.setDescription = function(value) {
|
|
|
487
499
|
};
|
|
488
500
|
|
|
489
501
|
|
|
502
|
+
/**
|
|
503
|
+
* optional string companies_references_id = 5;
|
|
504
|
+
* @return {string}
|
|
505
|
+
*/
|
|
506
|
+
proto.PlantPOrganization.prototype.getCompaniesReferencesId = function() {
|
|
507
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* @param {string} value
|
|
513
|
+
* @return {!proto.PlantPOrganization} returns this
|
|
514
|
+
*/
|
|
515
|
+
proto.PlantPOrganization.prototype.setCompaniesReferencesId = function(value) {
|
|
516
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
517
|
+
};
|
|
518
|
+
|
|
519
|
+
|
|
490
520
|
|
|
491
521
|
|
|
492
522
|
|
|
@@ -524,7 +554,8 @@ plant: (f = msg.getPlant()) && proto.POWorkLocation.toObject(includeInstance, f)
|
|
|
524
554
|
code: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
525
555
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
526
556
|
purchasingOrganizationReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
527
|
-
purchasingOrganizations: (f = msg.getPurchasingOrganizations()) && prisca_v1_purchasing_organization_purchasing_organization_pb.PurchasingOrganization.toObject(includeInstance, f)
|
|
557
|
+
purchasingOrganizations: (f = msg.getPurchasingOrganizations()) && prisca_v1_purchasing_organization_purchasing_organization_pb.PurchasingOrganization.toObject(includeInstance, f),
|
|
558
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
528
559
|
};
|
|
529
560
|
|
|
530
561
|
if (includeInstance) {
|
|
@@ -587,6 +618,10 @@ proto.BasePlantPOrganization.deserializeBinaryFromReader = function(msg, reader)
|
|
|
587
618
|
reader.readMessage(value,prisca_v1_purchasing_organization_purchasing_organization_pb.PurchasingOrganization.deserializeBinaryFromReader);
|
|
588
619
|
msg.setPurchasingOrganizations(value);
|
|
589
620
|
break;
|
|
621
|
+
case 7:
|
|
622
|
+
var value = /** @type {string} */ (reader.readString());
|
|
623
|
+
msg.setCompaniesReferencesId(value);
|
|
624
|
+
break;
|
|
590
625
|
default:
|
|
591
626
|
reader.skipField();
|
|
592
627
|
break;
|
|
@@ -660,6 +695,13 @@ proto.BasePlantPOrganization.serializeBinaryToWriter = function(message, writer)
|
|
|
660
695
|
prisca_v1_purchasing_organization_purchasing_organization_pb.PurchasingOrganization.serializeBinaryToWriter
|
|
661
696
|
);
|
|
662
697
|
}
|
|
698
|
+
f = message.getCompaniesReferencesId();
|
|
699
|
+
if (f.length > 0) {
|
|
700
|
+
writer.writeString(
|
|
701
|
+
7,
|
|
702
|
+
f
|
|
703
|
+
);
|
|
704
|
+
}
|
|
663
705
|
};
|
|
664
706
|
|
|
665
707
|
|
|
@@ -809,6 +851,24 @@ proto.BasePlantPOrganization.prototype.hasPurchasingOrganizations = function() {
|
|
|
809
851
|
};
|
|
810
852
|
|
|
811
853
|
|
|
854
|
+
/**
|
|
855
|
+
* optional string companies_references_id = 7;
|
|
856
|
+
* @return {string}
|
|
857
|
+
*/
|
|
858
|
+
proto.BasePlantPOrganization.prototype.getCompaniesReferencesId = function() {
|
|
859
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* @param {string} value
|
|
865
|
+
* @return {!proto.BasePlantPOrganization} returns this
|
|
866
|
+
*/
|
|
867
|
+
proto.BasePlantPOrganization.prototype.setCompaniesReferencesId = function(value) {
|
|
868
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
869
|
+
};
|
|
870
|
+
|
|
871
|
+
|
|
812
872
|
|
|
813
873
|
|
|
814
874
|
|