@aldiokta/protocgen 1.0.64 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldiokta/protocgen",
3
- "version": "1.0.64",
3
+ "version": "1.0.65",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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