@aldiokta/protocgen 1.0.64 → 1.0.66

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.66",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -3634,6 +3634,7 @@ purchaseRequisitionItemsList: jspb.Message.toObjectList(msg.getPurchaseRequisiti
3634
3634
  documentTypeRef: jspb.Message.getFieldWithDefault(msg, 14, ""),
3635
3635
  status: jspb.Message.getFieldWithDefault(msg, 15, ""),
3636
3636
  groupReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
3637
+ referencesId: jspb.Message.getFieldWithDefault(msg, 17, ""),
3637
3638
  numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 18, "")
3638
3639
  };
3639
3640
 
@@ -3736,6 +3737,10 @@ proto.BaseUpdatePurchaseRequisitionTrx.deserializeBinaryFromReader = function(ms
3736
3737
  var value = /** @type {string} */ (reader.readString());
3737
3738
  msg.setGroupReferences(value);
3738
3739
  break;
3740
+ case 17:
3741
+ var value = /** @type {string} */ (reader.readString());
3742
+ msg.setReferencesId(value);
3743
+ break;
3739
3744
  case 18:
3740
3745
  var value = /** @type {string} */ (reader.readString());
3741
3746
  msg.setNumberRangeSequence(value);
@@ -3882,6 +3887,13 @@ proto.BaseUpdatePurchaseRequisitionTrx.serializeBinaryToWriter = function(messag
3882
3887
  f
3883
3888
  );
3884
3889
  }
3890
+ f = message.getReferencesId();
3891
+ if (f.length > 0) {
3892
+ writer.writeString(
3893
+ 17,
3894
+ f
3895
+ );
3896
+ }
3885
3897
  f = message.getNumberRangeSequence();
3886
3898
  if (f.length > 0) {
3887
3899
  writer.writeString(
@@ -4200,6 +4212,24 @@ proto.BaseUpdatePurchaseRequisitionTrx.prototype.setGroupReferences = function(v
4200
4212
  };
4201
4213
 
4202
4214
 
4215
+ /**
4216
+ * optional string references_id = 17;
4217
+ * @return {string}
4218
+ */
4219
+ proto.BaseUpdatePurchaseRequisitionTrx.prototype.getReferencesId = function() {
4220
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
4221
+ };
4222
+
4223
+
4224
+ /**
4225
+ * @param {string} value
4226
+ * @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
4227
+ */
4228
+ proto.BaseUpdatePurchaseRequisitionTrx.prototype.setReferencesId = function(value) {
4229
+ return jspb.Message.setProto3StringField(this, 17, value);
4230
+ };
4231
+
4232
+
4203
4233
  /**
4204
4234
  * optional string number_range_sequence = 18;
4205
4235
  * @return {string}
@@ -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