@aldiokta/protocgen 1.1.28 → 1.1.30

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.
@@ -49,31 +49,9 @@ goog.exportSymbol('proto.GetGoodReceiptItemDetailPreload', null, global);
49
49
  goog.exportSymbol('proto.GetGoodReceiptItemPreload', null, global);
50
50
  goog.exportSymbol('proto.GetListGoodReceiptReq', null, global);
51
51
  goog.exportSymbol('proto.GetListGoodReceiptRes', null, global);
52
- goog.exportSymbol('proto.GoodReceipt', null, global);
53
52
  goog.exportSymbol('proto.UpdateGoodReceiptReq', null, global);
54
53
  goog.exportSymbol('proto.UpdateGoodReceiptRes', null, global);
55
54
  goog.exportSymbol('proto.UpdateGoodReceiptStatusReq', null, global);
56
- /**
57
- * Generated by JsPbCodeGenerator.
58
- * @param {Array=} opt_data Optional initial data array, typically from a
59
- * server response, or constructed directly in Javascript. The array is used
60
- * in place and becomes part of the constructed object. It is not cloned.
61
- * If no data is provided, the constructed object will be empty, but still
62
- * valid.
63
- * @extends {jspb.Message}
64
- * @constructor
65
- */
66
- proto.GoodReceipt = function(opt_data) {
67
- jspb.Message.initialize(this, opt_data, 0, -1, proto.GoodReceipt.repeatedFields_, null);
68
- };
69
- goog.inherits(proto.GoodReceipt, jspb.Message);
70
- if (goog.DEBUG && !COMPILED) {
71
- /**
72
- * @public
73
- * @override
74
- */
75
- proto.GoodReceipt.displayName = 'proto.GoodReceipt';
76
- }
77
55
  /**
78
56
  * Generated by JsPbCodeGenerator.
79
57
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -390,1194 +368,6 @@ if (goog.DEBUG && !COMPILED) {
390
368
  proto.DeleteGoodReceiptResponse.displayName = 'proto.DeleteGoodReceiptResponse';
391
369
  }
392
370
 
393
- /**
394
- * List of repeated fields within this message type.
395
- * @private {!Array<number>}
396
- * @const
397
- */
398
- proto.GoodReceipt.repeatedFields_ = [21,24];
399
-
400
-
401
-
402
- if (jspb.Message.GENERATE_TO_OBJECT) {
403
- /**
404
- * Creates an object representation of this proto.
405
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
406
- * Optional fields that are not set will be set to undefined.
407
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
408
- * For the list of reserved names please see:
409
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
410
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
411
- * JSPB instance for transitional soy proto support:
412
- * http://goto/soy-param-migration
413
- * @return {!Object}
414
- */
415
- proto.GoodReceipt.prototype.toObject = function(opt_includeInstance) {
416
- return proto.GoodReceipt.toObject(opt_includeInstance, this);
417
- };
418
-
419
-
420
- /**
421
- * Static version of the {@see toObject} method.
422
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
423
- * the JSPB instance for transitional soy proto support:
424
- * http://goto/soy-param-migration
425
- * @param {!proto.GoodReceipt} msg The msg instance to transform.
426
- * @return {!Object}
427
- * @suppress {unusedLocalVariables} f is only used for nested messages
428
- */
429
- proto.GoodReceipt.toObject = function(includeInstance, msg) {
430
- var f, obj = {
431
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
432
- purchaseOrderReferencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
433
- goodReceiptNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
434
- purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
435
- title: jspb.Message.getFieldWithDefault(msg, 5, ""),
436
- purchaseOrderDate: jspb.Message.getFieldWithDefault(msg, 6, ""),
437
- vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
438
- postingDate: jspb.Message.getFieldWithDefault(msg, 8, ""),
439
- date: jspb.Message.getFieldWithDefault(msg, 9, ""),
440
- remarks: jspb.Message.getFieldWithDefault(msg, 10, ""),
441
- referencesId: jspb.Message.getFieldWithDefault(msg, 11, ""),
442
- status: jspb.Message.getFieldWithDefault(msg, 12, ""),
443
- createdAt: jspb.Message.getFieldWithDefault(msg, 13, ""),
444
- updatedAt: jspb.Message.getFieldWithDefault(msg, 14, ""),
445
- createdBy: jspb.Message.getFieldWithDefault(msg, 15, ""),
446
- updateBy: jspb.Message.getFieldWithDefault(msg, 16, ""),
447
- companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 17, ""),
448
- groupReferences: jspb.Message.getFieldWithDefault(msg, 18, ""),
449
- isExpired: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
450
- fileIds: jspb.Message.getFieldWithDefault(msg, 20, ""),
451
- filesList: jspb.Message.toObjectList(msg.getFilesList(),
452
- prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
453
- vendor: (f = msg.getVendor()) && prisca_v1_vendor_domain_vendor_domain_pb.Vendor.toObject(includeInstance, f),
454
- purchaseOrder: (f = msg.getPurchaseOrder()) && prisca_v1_purchase_order_purchase_order_pb.PurchaseOrder.toObject(includeInstance, f),
455
- itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
456
- prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
457
- createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
458
- updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
459
- plant: jspb.Message.getFieldWithDefault(msg, 27, ""),
460
- deliveryOrderNumber: jspb.Message.getFieldWithDefault(msg, 28, ""),
461
- deliveryOrderReferencesId: jspb.Message.getFieldWithDefault(msg, 29, ""),
462
- deliveryOrderDate: jspb.Message.getFieldWithDefault(msg, 30, ""),
463
- deliveryOrder: (f = msg.getDeliveryOrder()) && prisca_v1_delivery_order_delivery_order_pb.DeliveryOrder.toObject(includeInstance, f)
464
- };
465
-
466
- if (includeInstance) {
467
- obj.$jspbMessageInstance = msg;
468
- }
469
- return obj;
470
- };
471
- }
472
-
473
-
474
- /**
475
- * Deserializes binary data (in protobuf wire format).
476
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
477
- * @return {!proto.GoodReceipt}
478
- */
479
- proto.GoodReceipt.deserializeBinary = function(bytes) {
480
- var reader = new jspb.BinaryReader(bytes);
481
- var msg = new proto.GoodReceipt;
482
- return proto.GoodReceipt.deserializeBinaryFromReader(msg, reader);
483
- };
484
-
485
-
486
- /**
487
- * Deserializes binary data (in protobuf wire format) from the
488
- * given reader into the given message object.
489
- * @param {!proto.GoodReceipt} msg The message object to deserialize into.
490
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
491
- * @return {!proto.GoodReceipt}
492
- */
493
- proto.GoodReceipt.deserializeBinaryFromReader = function(msg, reader) {
494
- while (reader.nextField()) {
495
- if (reader.isEndGroup()) {
496
- break;
497
- }
498
- var field = reader.getFieldNumber();
499
- switch (field) {
500
- case 1:
501
- var value = /** @type {number} */ (reader.readInt64());
502
- msg.setId(value);
503
- break;
504
- case 2:
505
- var value = /** @type {string} */ (reader.readString());
506
- msg.setPurchaseOrderReferencesId(value);
507
- break;
508
- case 3:
509
- var value = /** @type {string} */ (reader.readString());
510
- msg.setGoodReceiptNumber(value);
511
- break;
512
- case 4:
513
- var value = /** @type {string} */ (reader.readString());
514
- msg.setPurchaseOrderNumber(value);
515
- break;
516
- case 5:
517
- var value = /** @type {string} */ (reader.readString());
518
- msg.setTitle(value);
519
- break;
520
- case 6:
521
- var value = /** @type {string} */ (reader.readString());
522
- msg.setPurchaseOrderDate(value);
523
- break;
524
- case 7:
525
- var value = /** @type {string} */ (reader.readString());
526
- msg.setVendorReferencesId(value);
527
- break;
528
- case 8:
529
- var value = /** @type {string} */ (reader.readString());
530
- msg.setPostingDate(value);
531
- break;
532
- case 9:
533
- var value = /** @type {string} */ (reader.readString());
534
- msg.setDate(value);
535
- break;
536
- case 10:
537
- var value = /** @type {string} */ (reader.readString());
538
- msg.setRemarks(value);
539
- break;
540
- case 11:
541
- var value = /** @type {string} */ (reader.readString());
542
- msg.setReferencesId(value);
543
- break;
544
- case 12:
545
- var value = /** @type {string} */ (reader.readString());
546
- msg.setStatus(value);
547
- break;
548
- case 13:
549
- var value = /** @type {string} */ (reader.readString());
550
- msg.setCreatedAt(value);
551
- break;
552
- case 14:
553
- var value = /** @type {string} */ (reader.readString());
554
- msg.setUpdatedAt(value);
555
- break;
556
- case 15:
557
- var value = /** @type {string} */ (reader.readString());
558
- msg.setCreatedBy(value);
559
- break;
560
- case 16:
561
- var value = /** @type {string} */ (reader.readString());
562
- msg.setUpdateBy(value);
563
- break;
564
- case 17:
565
- var value = /** @type {string} */ (reader.readString());
566
- msg.setCompaniesReferencesId(value);
567
- break;
568
- case 18:
569
- var value = /** @type {string} */ (reader.readString());
570
- msg.setGroupReferences(value);
571
- break;
572
- case 19:
573
- var value = /** @type {boolean} */ (reader.readBool());
574
- msg.setIsExpired(value);
575
- break;
576
- case 20:
577
- var value = /** @type {string} */ (reader.readString());
578
- msg.setFileIds(value);
579
- break;
580
- case 21:
581
- var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
582
- reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
583
- msg.addFiles(value);
584
- break;
585
- case 22:
586
- var value = new prisca_v1_vendor_domain_vendor_domain_pb.Vendor;
587
- reader.readMessage(value,prisca_v1_vendor_domain_vendor_domain_pb.Vendor.deserializeBinaryFromReader);
588
- msg.setVendor(value);
589
- break;
590
- case 23:
591
- var value = new prisca_v1_purchase_order_purchase_order_pb.PurchaseOrder;
592
- reader.readMessage(value,prisca_v1_purchase_order_purchase_order_pb.PurchaseOrder.deserializeBinaryFromReader);
593
- msg.setPurchaseOrder(value);
594
- break;
595
- case 24:
596
- var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction;
597
- reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.deserializeBinaryFromReader);
598
- msg.addItemTransactions(value);
599
- break;
600
- case 25:
601
- var value = new prisca_v1_core_employee_employee_pb.Employee;
602
- reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
603
- msg.setCreatedByEmployee(value);
604
- break;
605
- case 26:
606
- var value = new prisca_v1_core_employee_employee_pb.Employee;
607
- reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
608
- msg.setUpdatedByEmployee(value);
609
- break;
610
- case 27:
611
- var value = /** @type {string} */ (reader.readString());
612
- msg.setPlant(value);
613
- break;
614
- case 28:
615
- var value = /** @type {string} */ (reader.readString());
616
- msg.setDeliveryOrderNumber(value);
617
- break;
618
- case 29:
619
- var value = /** @type {string} */ (reader.readString());
620
- msg.setDeliveryOrderReferencesId(value);
621
- break;
622
- case 30:
623
- var value = /** @type {string} */ (reader.readString());
624
- msg.setDeliveryOrderDate(value);
625
- break;
626
- case 31:
627
- var value = new prisca_v1_delivery_order_delivery_order_pb.DeliveryOrder;
628
- reader.readMessage(value,prisca_v1_delivery_order_delivery_order_pb.DeliveryOrder.deserializeBinaryFromReader);
629
- msg.setDeliveryOrder(value);
630
- break;
631
- default:
632
- reader.skipField();
633
- break;
634
- }
635
- }
636
- return msg;
637
- };
638
-
639
-
640
- /**
641
- * Serializes the message to binary data (in protobuf wire format).
642
- * @return {!Uint8Array}
643
- */
644
- proto.GoodReceipt.prototype.serializeBinary = function() {
645
- var writer = new jspb.BinaryWriter();
646
- proto.GoodReceipt.serializeBinaryToWriter(this, writer);
647
- return writer.getResultBuffer();
648
- };
649
-
650
-
651
- /**
652
- * Serializes the given message to binary data (in protobuf wire
653
- * format), writing to the given BinaryWriter.
654
- * @param {!proto.GoodReceipt} message
655
- * @param {!jspb.BinaryWriter} writer
656
- * @suppress {unusedLocalVariables} f is only used for nested messages
657
- */
658
- proto.GoodReceipt.serializeBinaryToWriter = function(message, writer) {
659
- var f = undefined;
660
- f = message.getId();
661
- if (f !== 0) {
662
- writer.writeInt64(
663
- 1,
664
- f
665
- );
666
- }
667
- f = message.getPurchaseOrderReferencesId();
668
- if (f.length > 0) {
669
- writer.writeString(
670
- 2,
671
- f
672
- );
673
- }
674
- f = message.getGoodReceiptNumber();
675
- if (f.length > 0) {
676
- writer.writeString(
677
- 3,
678
- f
679
- );
680
- }
681
- f = message.getPurchaseOrderNumber();
682
- if (f.length > 0) {
683
- writer.writeString(
684
- 4,
685
- f
686
- );
687
- }
688
- f = message.getTitle();
689
- if (f.length > 0) {
690
- writer.writeString(
691
- 5,
692
- f
693
- );
694
- }
695
- f = message.getPurchaseOrderDate();
696
- if (f.length > 0) {
697
- writer.writeString(
698
- 6,
699
- f
700
- );
701
- }
702
- f = message.getVendorReferencesId();
703
- if (f.length > 0) {
704
- writer.writeString(
705
- 7,
706
- f
707
- );
708
- }
709
- f = message.getPostingDate();
710
- if (f.length > 0) {
711
- writer.writeString(
712
- 8,
713
- f
714
- );
715
- }
716
- f = message.getDate();
717
- if (f.length > 0) {
718
- writer.writeString(
719
- 9,
720
- f
721
- );
722
- }
723
- f = message.getRemarks();
724
- if (f.length > 0) {
725
- writer.writeString(
726
- 10,
727
- f
728
- );
729
- }
730
- f = message.getReferencesId();
731
- if (f.length > 0) {
732
- writer.writeString(
733
- 11,
734
- f
735
- );
736
- }
737
- f = message.getStatus();
738
- if (f.length > 0) {
739
- writer.writeString(
740
- 12,
741
- f
742
- );
743
- }
744
- f = message.getCreatedAt();
745
- if (f.length > 0) {
746
- writer.writeString(
747
- 13,
748
- f
749
- );
750
- }
751
- f = message.getUpdatedAt();
752
- if (f.length > 0) {
753
- writer.writeString(
754
- 14,
755
- f
756
- );
757
- }
758
- f = message.getCreatedBy();
759
- if (f.length > 0) {
760
- writer.writeString(
761
- 15,
762
- f
763
- );
764
- }
765
- f = message.getUpdateBy();
766
- if (f.length > 0) {
767
- writer.writeString(
768
- 16,
769
- f
770
- );
771
- }
772
- f = message.getCompaniesReferencesId();
773
- if (f.length > 0) {
774
- writer.writeString(
775
- 17,
776
- f
777
- );
778
- }
779
- f = message.getGroupReferences();
780
- if (f.length > 0) {
781
- writer.writeString(
782
- 18,
783
- f
784
- );
785
- }
786
- f = message.getIsExpired();
787
- if (f) {
788
- writer.writeBool(
789
- 19,
790
- f
791
- );
792
- }
793
- f = message.getFileIds();
794
- if (f.length > 0) {
795
- writer.writeString(
796
- 20,
797
- f
798
- );
799
- }
800
- f = message.getFilesList();
801
- if (f.length > 0) {
802
- writer.writeRepeatedMessage(
803
- 21,
804
- f,
805
- prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
806
- );
807
- }
808
- f = message.getVendor();
809
- if (f != null) {
810
- writer.writeMessage(
811
- 22,
812
- f,
813
- prisca_v1_vendor_domain_vendor_domain_pb.Vendor.serializeBinaryToWriter
814
- );
815
- }
816
- f = message.getPurchaseOrder();
817
- if (f != null) {
818
- writer.writeMessage(
819
- 23,
820
- f,
821
- prisca_v1_purchase_order_purchase_order_pb.PurchaseOrder.serializeBinaryToWriter
822
- );
823
- }
824
- f = message.getItemTransactionsList();
825
- if (f.length > 0) {
826
- writer.writeRepeatedMessage(
827
- 24,
828
- f,
829
- prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.serializeBinaryToWriter
830
- );
831
- }
832
- f = message.getCreatedByEmployee();
833
- if (f != null) {
834
- writer.writeMessage(
835
- 25,
836
- f,
837
- prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
838
- );
839
- }
840
- f = message.getUpdatedByEmployee();
841
- if (f != null) {
842
- writer.writeMessage(
843
- 26,
844
- f,
845
- prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
846
- );
847
- }
848
- f = message.getPlant();
849
- if (f.length > 0) {
850
- writer.writeString(
851
- 27,
852
- f
853
- );
854
- }
855
- f = message.getDeliveryOrderNumber();
856
- if (f.length > 0) {
857
- writer.writeString(
858
- 28,
859
- f
860
- );
861
- }
862
- f = message.getDeliveryOrderReferencesId();
863
- if (f.length > 0) {
864
- writer.writeString(
865
- 29,
866
- f
867
- );
868
- }
869
- f = message.getDeliveryOrderDate();
870
- if (f.length > 0) {
871
- writer.writeString(
872
- 30,
873
- f
874
- );
875
- }
876
- f = message.getDeliveryOrder();
877
- if (f != null) {
878
- writer.writeMessage(
879
- 31,
880
- f,
881
- prisca_v1_delivery_order_delivery_order_pb.DeliveryOrder.serializeBinaryToWriter
882
- );
883
- }
884
- };
885
-
886
-
887
- /**
888
- * optional int64 id = 1;
889
- * @return {number}
890
- */
891
- proto.GoodReceipt.prototype.getId = function() {
892
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
893
- };
894
-
895
-
896
- /**
897
- * @param {number} value
898
- * @return {!proto.GoodReceipt} returns this
899
- */
900
- proto.GoodReceipt.prototype.setId = function(value) {
901
- return jspb.Message.setProto3IntField(this, 1, value);
902
- };
903
-
904
-
905
- /**
906
- * optional string purchase_order_references_id = 2;
907
- * @return {string}
908
- */
909
- proto.GoodReceipt.prototype.getPurchaseOrderReferencesId = function() {
910
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
911
- };
912
-
913
-
914
- /**
915
- * @param {string} value
916
- * @return {!proto.GoodReceipt} returns this
917
- */
918
- proto.GoodReceipt.prototype.setPurchaseOrderReferencesId = function(value) {
919
- return jspb.Message.setProto3StringField(this, 2, value);
920
- };
921
-
922
-
923
- /**
924
- * optional string good_receipt_number = 3;
925
- * @return {string}
926
- */
927
- proto.GoodReceipt.prototype.getGoodReceiptNumber = function() {
928
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
929
- };
930
-
931
-
932
- /**
933
- * @param {string} value
934
- * @return {!proto.GoodReceipt} returns this
935
- */
936
- proto.GoodReceipt.prototype.setGoodReceiptNumber = function(value) {
937
- return jspb.Message.setProto3StringField(this, 3, value);
938
- };
939
-
940
-
941
- /**
942
- * optional string purchase_order_number = 4;
943
- * @return {string}
944
- */
945
- proto.GoodReceipt.prototype.getPurchaseOrderNumber = function() {
946
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
947
- };
948
-
949
-
950
- /**
951
- * @param {string} value
952
- * @return {!proto.GoodReceipt} returns this
953
- */
954
- proto.GoodReceipt.prototype.setPurchaseOrderNumber = function(value) {
955
- return jspb.Message.setProto3StringField(this, 4, value);
956
- };
957
-
958
-
959
- /**
960
- * optional string title = 5;
961
- * @return {string}
962
- */
963
- proto.GoodReceipt.prototype.getTitle = function() {
964
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
965
- };
966
-
967
-
968
- /**
969
- * @param {string} value
970
- * @return {!proto.GoodReceipt} returns this
971
- */
972
- proto.GoodReceipt.prototype.setTitle = function(value) {
973
- return jspb.Message.setProto3StringField(this, 5, value);
974
- };
975
-
976
-
977
- /**
978
- * optional string purchase_order_date = 6;
979
- * @return {string}
980
- */
981
- proto.GoodReceipt.prototype.getPurchaseOrderDate = function() {
982
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
983
- };
984
-
985
-
986
- /**
987
- * @param {string} value
988
- * @return {!proto.GoodReceipt} returns this
989
- */
990
- proto.GoodReceipt.prototype.setPurchaseOrderDate = function(value) {
991
- return jspb.Message.setProto3StringField(this, 6, value);
992
- };
993
-
994
-
995
- /**
996
- * optional string vendor_references_id = 7;
997
- * @return {string}
998
- */
999
- proto.GoodReceipt.prototype.getVendorReferencesId = function() {
1000
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1001
- };
1002
-
1003
-
1004
- /**
1005
- * @param {string} value
1006
- * @return {!proto.GoodReceipt} returns this
1007
- */
1008
- proto.GoodReceipt.prototype.setVendorReferencesId = function(value) {
1009
- return jspb.Message.setProto3StringField(this, 7, value);
1010
- };
1011
-
1012
-
1013
- /**
1014
- * optional string posting_date = 8;
1015
- * @return {string}
1016
- */
1017
- proto.GoodReceipt.prototype.getPostingDate = function() {
1018
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1019
- };
1020
-
1021
-
1022
- /**
1023
- * @param {string} value
1024
- * @return {!proto.GoodReceipt} returns this
1025
- */
1026
- proto.GoodReceipt.prototype.setPostingDate = function(value) {
1027
- return jspb.Message.setProto3StringField(this, 8, value);
1028
- };
1029
-
1030
-
1031
- /**
1032
- * optional string date = 9;
1033
- * @return {string}
1034
- */
1035
- proto.GoodReceipt.prototype.getDate = function() {
1036
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1037
- };
1038
-
1039
-
1040
- /**
1041
- * @param {string} value
1042
- * @return {!proto.GoodReceipt} returns this
1043
- */
1044
- proto.GoodReceipt.prototype.setDate = function(value) {
1045
- return jspb.Message.setProto3StringField(this, 9, value);
1046
- };
1047
-
1048
-
1049
- /**
1050
- * optional string remarks = 10;
1051
- * @return {string}
1052
- */
1053
- proto.GoodReceipt.prototype.getRemarks = function() {
1054
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1055
- };
1056
-
1057
-
1058
- /**
1059
- * @param {string} value
1060
- * @return {!proto.GoodReceipt} returns this
1061
- */
1062
- proto.GoodReceipt.prototype.setRemarks = function(value) {
1063
- return jspb.Message.setProto3StringField(this, 10, value);
1064
- };
1065
-
1066
-
1067
- /**
1068
- * optional string references_id = 11;
1069
- * @return {string}
1070
- */
1071
- proto.GoodReceipt.prototype.getReferencesId = function() {
1072
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
1073
- };
1074
-
1075
-
1076
- /**
1077
- * @param {string} value
1078
- * @return {!proto.GoodReceipt} returns this
1079
- */
1080
- proto.GoodReceipt.prototype.setReferencesId = function(value) {
1081
- return jspb.Message.setProto3StringField(this, 11, value);
1082
- };
1083
-
1084
-
1085
- /**
1086
- * optional string status = 12;
1087
- * @return {string}
1088
- */
1089
- proto.GoodReceipt.prototype.getStatus = function() {
1090
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
1091
- };
1092
-
1093
-
1094
- /**
1095
- * @param {string} value
1096
- * @return {!proto.GoodReceipt} returns this
1097
- */
1098
- proto.GoodReceipt.prototype.setStatus = function(value) {
1099
- return jspb.Message.setProto3StringField(this, 12, value);
1100
- };
1101
-
1102
-
1103
- /**
1104
- * optional string created_at = 13;
1105
- * @return {string}
1106
- */
1107
- proto.GoodReceipt.prototype.getCreatedAt = function() {
1108
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
1109
- };
1110
-
1111
-
1112
- /**
1113
- * @param {string} value
1114
- * @return {!proto.GoodReceipt} returns this
1115
- */
1116
- proto.GoodReceipt.prototype.setCreatedAt = function(value) {
1117
- return jspb.Message.setProto3StringField(this, 13, value);
1118
- };
1119
-
1120
-
1121
- /**
1122
- * optional string updated_at = 14;
1123
- * @return {string}
1124
- */
1125
- proto.GoodReceipt.prototype.getUpdatedAt = function() {
1126
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
1127
- };
1128
-
1129
-
1130
- /**
1131
- * @param {string} value
1132
- * @return {!proto.GoodReceipt} returns this
1133
- */
1134
- proto.GoodReceipt.prototype.setUpdatedAt = function(value) {
1135
- return jspb.Message.setProto3StringField(this, 14, value);
1136
- };
1137
-
1138
-
1139
- /**
1140
- * optional string created_by = 15;
1141
- * @return {string}
1142
- */
1143
- proto.GoodReceipt.prototype.getCreatedBy = function() {
1144
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
1145
- };
1146
-
1147
-
1148
- /**
1149
- * @param {string} value
1150
- * @return {!proto.GoodReceipt} returns this
1151
- */
1152
- proto.GoodReceipt.prototype.setCreatedBy = function(value) {
1153
- return jspb.Message.setProto3StringField(this, 15, value);
1154
- };
1155
-
1156
-
1157
- /**
1158
- * optional string update_by = 16;
1159
- * @return {string}
1160
- */
1161
- proto.GoodReceipt.prototype.getUpdateBy = function() {
1162
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
1163
- };
1164
-
1165
-
1166
- /**
1167
- * @param {string} value
1168
- * @return {!proto.GoodReceipt} returns this
1169
- */
1170
- proto.GoodReceipt.prototype.setUpdateBy = function(value) {
1171
- return jspb.Message.setProto3StringField(this, 16, value);
1172
- };
1173
-
1174
-
1175
- /**
1176
- * optional string companies_references_id = 17;
1177
- * @return {string}
1178
- */
1179
- proto.GoodReceipt.prototype.getCompaniesReferencesId = function() {
1180
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
1181
- };
1182
-
1183
-
1184
- /**
1185
- * @param {string} value
1186
- * @return {!proto.GoodReceipt} returns this
1187
- */
1188
- proto.GoodReceipt.prototype.setCompaniesReferencesId = function(value) {
1189
- return jspb.Message.setProto3StringField(this, 17, value);
1190
- };
1191
-
1192
-
1193
- /**
1194
- * optional string group_references = 18;
1195
- * @return {string}
1196
- */
1197
- proto.GoodReceipt.prototype.getGroupReferences = function() {
1198
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
1199
- };
1200
-
1201
-
1202
- /**
1203
- * @param {string} value
1204
- * @return {!proto.GoodReceipt} returns this
1205
- */
1206
- proto.GoodReceipt.prototype.setGroupReferences = function(value) {
1207
- return jspb.Message.setProto3StringField(this, 18, value);
1208
- };
1209
-
1210
-
1211
- /**
1212
- * optional bool is_expired = 19;
1213
- * @return {boolean}
1214
- */
1215
- proto.GoodReceipt.prototype.getIsExpired = function() {
1216
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 19, false));
1217
- };
1218
-
1219
-
1220
- /**
1221
- * @param {boolean} value
1222
- * @return {!proto.GoodReceipt} returns this
1223
- */
1224
- proto.GoodReceipt.prototype.setIsExpired = function(value) {
1225
- return jspb.Message.setProto3BooleanField(this, 19, value);
1226
- };
1227
-
1228
-
1229
- /**
1230
- * optional string file_ids = 20;
1231
- * @return {string}
1232
- */
1233
- proto.GoodReceipt.prototype.getFileIds = function() {
1234
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
1235
- };
1236
-
1237
-
1238
- /**
1239
- * @param {string} value
1240
- * @return {!proto.GoodReceipt} returns this
1241
- */
1242
- proto.GoodReceipt.prototype.setFileIds = function(value) {
1243
- return jspb.Message.setProto3StringField(this, 20, value);
1244
- };
1245
-
1246
-
1247
- /**
1248
- * repeated FileUploadReferencesReq files = 21;
1249
- * @return {!Array<!proto.FileUploadReferencesReq>}
1250
- */
1251
- proto.GoodReceipt.prototype.getFilesList = function() {
1252
- return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
1253
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 21));
1254
- };
1255
-
1256
-
1257
- /**
1258
- * @param {!Array<!proto.FileUploadReferencesReq>} value
1259
- * @return {!proto.GoodReceipt} returns this
1260
- */
1261
- proto.GoodReceipt.prototype.setFilesList = function(value) {
1262
- return jspb.Message.setRepeatedWrapperField(this, 21, value);
1263
- };
1264
-
1265
-
1266
- /**
1267
- * @param {!proto.FileUploadReferencesReq=} opt_value
1268
- * @param {number=} opt_index
1269
- * @return {!proto.FileUploadReferencesReq}
1270
- */
1271
- proto.GoodReceipt.prototype.addFiles = function(opt_value, opt_index) {
1272
- return jspb.Message.addToRepeatedWrapperField(this, 21, opt_value, proto.FileUploadReferencesReq, opt_index);
1273
- };
1274
-
1275
-
1276
- /**
1277
- * Clears the list making it empty but non-null.
1278
- * @return {!proto.GoodReceipt} returns this
1279
- */
1280
- proto.GoodReceipt.prototype.clearFilesList = function() {
1281
- return this.setFilesList([]);
1282
- };
1283
-
1284
-
1285
- /**
1286
- * optional Vendor vendor = 22;
1287
- * @return {?proto.Vendor}
1288
- */
1289
- proto.GoodReceipt.prototype.getVendor = function() {
1290
- return /** @type{?proto.Vendor} */ (
1291
- jspb.Message.getWrapperField(this, prisca_v1_vendor_domain_vendor_domain_pb.Vendor, 22));
1292
- };
1293
-
1294
-
1295
- /**
1296
- * @param {?proto.Vendor|undefined} value
1297
- * @return {!proto.GoodReceipt} returns this
1298
- */
1299
- proto.GoodReceipt.prototype.setVendor = function(value) {
1300
- return jspb.Message.setWrapperField(this, 22, value);
1301
- };
1302
-
1303
-
1304
- /**
1305
- * Clears the message field making it undefined.
1306
- * @return {!proto.GoodReceipt} returns this
1307
- */
1308
- proto.GoodReceipt.prototype.clearVendor = function() {
1309
- return this.setVendor(undefined);
1310
- };
1311
-
1312
-
1313
- /**
1314
- * Returns whether this field is set.
1315
- * @return {boolean}
1316
- */
1317
- proto.GoodReceipt.prototype.hasVendor = function() {
1318
- return jspb.Message.getField(this, 22) != null;
1319
- };
1320
-
1321
-
1322
- /**
1323
- * optional PurchaseOrder purchase_order = 23;
1324
- * @return {?proto.PurchaseOrder}
1325
- */
1326
- proto.GoodReceipt.prototype.getPurchaseOrder = function() {
1327
- return /** @type{?proto.PurchaseOrder} */ (
1328
- jspb.Message.getWrapperField(this, prisca_v1_purchase_order_purchase_order_pb.PurchaseOrder, 23));
1329
- };
1330
-
1331
-
1332
- /**
1333
- * @param {?proto.PurchaseOrder|undefined} value
1334
- * @return {!proto.GoodReceipt} returns this
1335
- */
1336
- proto.GoodReceipt.prototype.setPurchaseOrder = function(value) {
1337
- return jspb.Message.setWrapperField(this, 23, value);
1338
- };
1339
-
1340
-
1341
- /**
1342
- * Clears the message field making it undefined.
1343
- * @return {!proto.GoodReceipt} returns this
1344
- */
1345
- proto.GoodReceipt.prototype.clearPurchaseOrder = function() {
1346
- return this.setPurchaseOrder(undefined);
1347
- };
1348
-
1349
-
1350
- /**
1351
- * Returns whether this field is set.
1352
- * @return {boolean}
1353
- */
1354
- proto.GoodReceipt.prototype.hasPurchaseOrder = function() {
1355
- return jspb.Message.getField(this, 23) != null;
1356
- };
1357
-
1358
-
1359
- /**
1360
- * repeated ItemTransaction item_transactions = 24;
1361
- * @return {!Array<!proto.ItemTransaction>}
1362
- */
1363
- proto.GoodReceipt.prototype.getItemTransactionsList = function() {
1364
- return /** @type{!Array<!proto.ItemTransaction>} */ (
1365
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction, 24));
1366
- };
1367
-
1368
-
1369
- /**
1370
- * @param {!Array<!proto.ItemTransaction>} value
1371
- * @return {!proto.GoodReceipt} returns this
1372
- */
1373
- proto.GoodReceipt.prototype.setItemTransactionsList = function(value) {
1374
- return jspb.Message.setRepeatedWrapperField(this, 24, value);
1375
- };
1376
-
1377
-
1378
- /**
1379
- * @param {!proto.ItemTransaction=} opt_value
1380
- * @param {number=} opt_index
1381
- * @return {!proto.ItemTransaction}
1382
- */
1383
- proto.GoodReceipt.prototype.addItemTransactions = function(opt_value, opt_index) {
1384
- return jspb.Message.addToRepeatedWrapperField(this, 24, opt_value, proto.ItemTransaction, opt_index);
1385
- };
1386
-
1387
-
1388
- /**
1389
- * Clears the list making it empty but non-null.
1390
- * @return {!proto.GoodReceipt} returns this
1391
- */
1392
- proto.GoodReceipt.prototype.clearItemTransactionsList = function() {
1393
- return this.setItemTransactionsList([]);
1394
- };
1395
-
1396
-
1397
- /**
1398
- * optional Employee created_by_employee = 25;
1399
- * @return {?proto.Employee}
1400
- */
1401
- proto.GoodReceipt.prototype.getCreatedByEmployee = function() {
1402
- return /** @type{?proto.Employee} */ (
1403
- jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 25));
1404
- };
1405
-
1406
-
1407
- /**
1408
- * @param {?proto.Employee|undefined} value
1409
- * @return {!proto.GoodReceipt} returns this
1410
- */
1411
- proto.GoodReceipt.prototype.setCreatedByEmployee = function(value) {
1412
- return jspb.Message.setWrapperField(this, 25, value);
1413
- };
1414
-
1415
-
1416
- /**
1417
- * Clears the message field making it undefined.
1418
- * @return {!proto.GoodReceipt} returns this
1419
- */
1420
- proto.GoodReceipt.prototype.clearCreatedByEmployee = function() {
1421
- return this.setCreatedByEmployee(undefined);
1422
- };
1423
-
1424
-
1425
- /**
1426
- * Returns whether this field is set.
1427
- * @return {boolean}
1428
- */
1429
- proto.GoodReceipt.prototype.hasCreatedByEmployee = function() {
1430
- return jspb.Message.getField(this, 25) != null;
1431
- };
1432
-
1433
-
1434
- /**
1435
- * optional Employee updated_by_employee = 26;
1436
- * @return {?proto.Employee}
1437
- */
1438
- proto.GoodReceipt.prototype.getUpdatedByEmployee = function() {
1439
- return /** @type{?proto.Employee} */ (
1440
- jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 26));
1441
- };
1442
-
1443
-
1444
- /**
1445
- * @param {?proto.Employee|undefined} value
1446
- * @return {!proto.GoodReceipt} returns this
1447
- */
1448
- proto.GoodReceipt.prototype.setUpdatedByEmployee = function(value) {
1449
- return jspb.Message.setWrapperField(this, 26, value);
1450
- };
1451
-
1452
-
1453
- /**
1454
- * Clears the message field making it undefined.
1455
- * @return {!proto.GoodReceipt} returns this
1456
- */
1457
- proto.GoodReceipt.prototype.clearUpdatedByEmployee = function() {
1458
- return this.setUpdatedByEmployee(undefined);
1459
- };
1460
-
1461
-
1462
- /**
1463
- * Returns whether this field is set.
1464
- * @return {boolean}
1465
- */
1466
- proto.GoodReceipt.prototype.hasUpdatedByEmployee = function() {
1467
- return jspb.Message.getField(this, 26) != null;
1468
- };
1469
-
1470
-
1471
- /**
1472
- * optional string plant = 27;
1473
- * @return {string}
1474
- */
1475
- proto.GoodReceipt.prototype.getPlant = function() {
1476
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
1477
- };
1478
-
1479
-
1480
- /**
1481
- * @param {string} value
1482
- * @return {!proto.GoodReceipt} returns this
1483
- */
1484
- proto.GoodReceipt.prototype.setPlant = function(value) {
1485
- return jspb.Message.setProto3StringField(this, 27, value);
1486
- };
1487
-
1488
-
1489
- /**
1490
- * optional string delivery_order_number = 28;
1491
- * @return {string}
1492
- */
1493
- proto.GoodReceipt.prototype.getDeliveryOrderNumber = function() {
1494
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
1495
- };
1496
-
1497
-
1498
- /**
1499
- * @param {string} value
1500
- * @return {!proto.GoodReceipt} returns this
1501
- */
1502
- proto.GoodReceipt.prototype.setDeliveryOrderNumber = function(value) {
1503
- return jspb.Message.setProto3StringField(this, 28, value);
1504
- };
1505
-
1506
-
1507
- /**
1508
- * optional string delivery_order_references_id = 29;
1509
- * @return {string}
1510
- */
1511
- proto.GoodReceipt.prototype.getDeliveryOrderReferencesId = function() {
1512
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
1513
- };
1514
-
1515
-
1516
- /**
1517
- * @param {string} value
1518
- * @return {!proto.GoodReceipt} returns this
1519
- */
1520
- proto.GoodReceipt.prototype.setDeliveryOrderReferencesId = function(value) {
1521
- return jspb.Message.setProto3StringField(this, 29, value);
1522
- };
1523
-
1524
-
1525
- /**
1526
- * optional string delivery_order_date = 30;
1527
- * @return {string}
1528
- */
1529
- proto.GoodReceipt.prototype.getDeliveryOrderDate = function() {
1530
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
1531
- };
1532
-
1533
-
1534
- /**
1535
- * @param {string} value
1536
- * @return {!proto.GoodReceipt} returns this
1537
- */
1538
- proto.GoodReceipt.prototype.setDeliveryOrderDate = function(value) {
1539
- return jspb.Message.setProto3StringField(this, 30, value);
1540
- };
1541
-
1542
-
1543
- /**
1544
- * optional DeliveryOrder delivery_order = 31;
1545
- * @return {?proto.DeliveryOrder}
1546
- */
1547
- proto.GoodReceipt.prototype.getDeliveryOrder = function() {
1548
- return /** @type{?proto.DeliveryOrder} */ (
1549
- jspb.Message.getWrapperField(this, prisca_v1_delivery_order_delivery_order_pb.DeliveryOrder, 31));
1550
- };
1551
-
1552
-
1553
- /**
1554
- * @param {?proto.DeliveryOrder|undefined} value
1555
- * @return {!proto.GoodReceipt} returns this
1556
- */
1557
- proto.GoodReceipt.prototype.setDeliveryOrder = function(value) {
1558
- return jspb.Message.setWrapperField(this, 31, value);
1559
- };
1560
-
1561
-
1562
- /**
1563
- * Clears the message field making it undefined.
1564
- * @return {!proto.GoodReceipt} returns this
1565
- */
1566
- proto.GoodReceipt.prototype.clearDeliveryOrder = function() {
1567
- return this.setDeliveryOrder(undefined);
1568
- };
1569
-
1570
-
1571
- /**
1572
- * Returns whether this field is set.
1573
- * @return {boolean}
1574
- */
1575
- proto.GoodReceipt.prototype.hasDeliveryOrder = function() {
1576
- return jspb.Message.getField(this, 31) != null;
1577
- };
1578
-
1579
-
1580
-
1581
371
  /**
1582
372
  * List of repeated fields within this message type.
1583
373
  * @private {!Array<number>}
@@ -1631,7 +421,7 @@ itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
1631
421
  filesList: jspb.Message.toObjectList(msg.getFilesList(),
1632
422
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
1633
423
  groupReferences: jspb.Message.getFieldWithDefault(msg, 13, ""),
1634
- deliveryOrder: (f = msg.getDeliveryOrder()) && prisca_v1_delivery_order_delivery_order_pb.DeliveryOrder.toObject(includeInstance, f),
424
+ deliveryOrder: (f = msg.getDeliveryOrder()) && prisca_v1_purchase_order_purchase_order_pb.DeliveryOrder.toObject(includeInstance, f),
1635
425
  deliveryOrderNumber: jspb.Message.getFieldWithDefault(msg, 15, ""),
1636
426
  deliveryOrderDate: jspb.Message.getFieldWithDefault(msg, 16, "")
1637
427
  };
@@ -1727,8 +517,8 @@ proto.BaseGoodReceipt.deserializeBinaryFromReader = function(msg, reader) {
1727
517
  msg.setGroupReferences(value);
1728
518
  break;
1729
519
  case 14:
1730
- var value = new prisca_v1_delivery_order_delivery_order_pb.DeliveryOrder;
1731
- reader.readMessage(value,prisca_v1_delivery_order_delivery_order_pb.DeliveryOrder.deserializeBinaryFromReader);
520
+ var value = new prisca_v1_purchase_order_purchase_order_pb.DeliveryOrder;
521
+ reader.readMessage(value,prisca_v1_purchase_order_purchase_order_pb.DeliveryOrder.deserializeBinaryFromReader);
1732
522
  msg.setDeliveryOrder(value);
1733
523
  break;
1734
524
  case 15:
@@ -1868,7 +658,7 @@ proto.BaseGoodReceipt.serializeBinaryToWriter = function(message, writer) {
1868
658
  writer.writeMessage(
1869
659
  14,
1870
660
  f,
1871
- prisca_v1_delivery_order_delivery_order_pb.DeliveryOrder.serializeBinaryToWriter
661
+ prisca_v1_purchase_order_purchase_order_pb.DeliveryOrder.serializeBinaryToWriter
1872
662
  );
1873
663
  }
1874
664
  f = message.getDeliveryOrderNumber();
@@ -2206,7 +996,7 @@ proto.BaseGoodReceipt.prototype.setGroupReferences = function(value) {
2206
996
  */
2207
997
  proto.BaseGoodReceipt.prototype.getDeliveryOrder = function() {
2208
998
  return /** @type{?proto.DeliveryOrder} */ (
2209
- jspb.Message.getWrapperField(this, prisca_v1_delivery_order_delivery_order_pb.DeliveryOrder, 14));
999
+ jspb.Message.getWrapperField(this, prisca_v1_purchase_order_purchase_order_pb.DeliveryOrder, 14));
2210
1000
  };
2211
1001
 
2212
1002
 
@@ -3129,7 +1919,7 @@ proto.CreateGoodReceiptRes.prototype.toObject = function(opt_includeInstance) {
3129
1919
  */
3130
1920
  proto.CreateGoodReceiptRes.toObject = function(includeInstance, msg) {
3131
1921
  var f, obj = {
3132
- goodReceipt: (f = msg.getGoodReceipt()) && proto.GoodReceipt.toObject(includeInstance, f),
1922
+ goodReceipt: (f = msg.getGoodReceipt()) && prisca_v1_purchase_order_purchase_order_pb.GoodReceipt.toObject(includeInstance, f),
3133
1923
  meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
3134
1924
  };
3135
1925
 
@@ -3168,8 +1958,8 @@ proto.CreateGoodReceiptRes.deserializeBinaryFromReader = function(msg, reader) {
3168
1958
  var field = reader.getFieldNumber();
3169
1959
  switch (field) {
3170
1960
  case 1:
3171
- var value = new proto.GoodReceipt;
3172
- reader.readMessage(value,proto.GoodReceipt.deserializeBinaryFromReader);
1961
+ var value = new prisca_v1_purchase_order_purchase_order_pb.GoodReceipt;
1962
+ reader.readMessage(value,prisca_v1_purchase_order_purchase_order_pb.GoodReceipt.deserializeBinaryFromReader);
3173
1963
  msg.setGoodReceipt(value);
3174
1964
  break;
3175
1965
  case 2:
@@ -3211,7 +2001,7 @@ proto.CreateGoodReceiptRes.serializeBinaryToWriter = function(message, writer) {
3211
2001
  writer.writeMessage(
3212
2002
  1,
3213
2003
  f,
3214
- proto.GoodReceipt.serializeBinaryToWriter
2004
+ prisca_v1_purchase_order_purchase_order_pb.GoodReceipt.serializeBinaryToWriter
3215
2005
  );
3216
2006
  }
3217
2007
  f = message.getMeta();
@@ -3231,7 +2021,7 @@ proto.CreateGoodReceiptRes.serializeBinaryToWriter = function(message, writer) {
3231
2021
  */
3232
2022
  proto.CreateGoodReceiptRes.prototype.getGoodReceipt = function() {
3233
2023
  return /** @type{?proto.GoodReceipt} */ (
3234
- jspb.Message.getWrapperField(this, proto.GoodReceipt, 1));
2024
+ jspb.Message.getWrapperField(this, prisca_v1_purchase_order_purchase_order_pb.GoodReceipt, 1));
3235
2025
  };
3236
2026
 
3237
2027
 
@@ -3331,7 +2121,7 @@ proto.UpdateGoodReceiptRes.prototype.toObject = function(opt_includeInstance) {
3331
2121
  */
3332
2122
  proto.UpdateGoodReceiptRes.toObject = function(includeInstance, msg) {
3333
2123
  var f, obj = {
3334
- goodReceipt: (f = msg.getGoodReceipt()) && proto.GoodReceipt.toObject(includeInstance, f),
2124
+ goodReceipt: (f = msg.getGoodReceipt()) && prisca_v1_purchase_order_purchase_order_pb.GoodReceipt.toObject(includeInstance, f),
3335
2125
  meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
3336
2126
  };
3337
2127
 
@@ -3370,8 +2160,8 @@ proto.UpdateGoodReceiptRes.deserializeBinaryFromReader = function(msg, reader) {
3370
2160
  var field = reader.getFieldNumber();
3371
2161
  switch (field) {
3372
2162
  case 1:
3373
- var value = new proto.GoodReceipt;
3374
- reader.readMessage(value,proto.GoodReceipt.deserializeBinaryFromReader);
2163
+ var value = new prisca_v1_purchase_order_purchase_order_pb.GoodReceipt;
2164
+ reader.readMessage(value,prisca_v1_purchase_order_purchase_order_pb.GoodReceipt.deserializeBinaryFromReader);
3375
2165
  msg.setGoodReceipt(value);
3376
2166
  break;
3377
2167
  case 2:
@@ -3413,7 +2203,7 @@ proto.UpdateGoodReceiptRes.serializeBinaryToWriter = function(message, writer) {
3413
2203
  writer.writeMessage(
3414
2204
  1,
3415
2205
  f,
3416
- proto.GoodReceipt.serializeBinaryToWriter
2206
+ prisca_v1_purchase_order_purchase_order_pb.GoodReceipt.serializeBinaryToWriter
3417
2207
  );
3418
2208
  }
3419
2209
  f = message.getMeta();
@@ -3433,7 +2223,7 @@ proto.UpdateGoodReceiptRes.serializeBinaryToWriter = function(message, writer) {
3433
2223
  */
3434
2224
  proto.UpdateGoodReceiptRes.prototype.getGoodReceipt = function() {
3435
2225
  return /** @type{?proto.GoodReceipt} */ (
3436
- jspb.Message.getWrapperField(this, proto.GoodReceipt, 1));
2226
+ jspb.Message.getWrapperField(this, prisca_v1_purchase_order_purchase_order_pb.GoodReceipt, 1));
3437
2227
  };
3438
2228
 
3439
2229
 
@@ -3533,7 +2323,7 @@ proto.GetGoodReceiptByIdResponse.prototype.toObject = function(opt_includeInstan
3533
2323
  */
3534
2324
  proto.GetGoodReceiptByIdResponse.toObject = function(includeInstance, msg) {
3535
2325
  var f, obj = {
3536
- goodReceipt: (f = msg.getGoodReceipt()) && proto.GoodReceipt.toObject(includeInstance, f),
2326
+ goodReceipt: (f = msg.getGoodReceipt()) && prisca_v1_purchase_order_purchase_order_pb.GoodReceipt.toObject(includeInstance, f),
3537
2327
  meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
3538
2328
  };
3539
2329
 
@@ -3572,8 +2362,8 @@ proto.GetGoodReceiptByIdResponse.deserializeBinaryFromReader = function(msg, rea
3572
2362
  var field = reader.getFieldNumber();
3573
2363
  switch (field) {
3574
2364
  case 1:
3575
- var value = new proto.GoodReceipt;
3576
- reader.readMessage(value,proto.GoodReceipt.deserializeBinaryFromReader);
2365
+ var value = new prisca_v1_purchase_order_purchase_order_pb.GoodReceipt;
2366
+ reader.readMessage(value,prisca_v1_purchase_order_purchase_order_pb.GoodReceipt.deserializeBinaryFromReader);
3577
2367
  msg.setGoodReceipt(value);
3578
2368
  break;
3579
2369
  case 2:
@@ -3615,7 +2405,7 @@ proto.GetGoodReceiptByIdResponse.serializeBinaryToWriter = function(message, wri
3615
2405
  writer.writeMessage(
3616
2406
  1,
3617
2407
  f,
3618
- proto.GoodReceipt.serializeBinaryToWriter
2408
+ prisca_v1_purchase_order_purchase_order_pb.GoodReceipt.serializeBinaryToWriter
3619
2409
  );
3620
2410
  }
3621
2411
  f = message.getMeta();
@@ -3635,7 +2425,7 @@ proto.GetGoodReceiptByIdResponse.serializeBinaryToWriter = function(message, wri
3635
2425
  */
3636
2426
  proto.GetGoodReceiptByIdResponse.prototype.getGoodReceipt = function() {
3637
2427
  return /** @type{?proto.GoodReceipt} */ (
3638
- jspb.Message.getWrapperField(this, proto.GoodReceipt, 1));
2428
+ jspb.Message.getWrapperField(this, prisca_v1_purchase_order_purchase_order_pb.GoodReceipt, 1));
3639
2429
  };
3640
2430
 
3641
2431
 
@@ -3743,7 +2533,7 @@ proto.GetListGoodReceiptRes.prototype.toObject = function(opt_includeInstance) {
3743
2533
  proto.GetListGoodReceiptRes.toObject = function(includeInstance, msg) {
3744
2534
  var f, obj = {
3745
2535
  goodReceiptList: jspb.Message.toObjectList(msg.getGoodReceiptList(),
3746
- proto.GoodReceipt.toObject, includeInstance),
2536
+ prisca_v1_purchase_order_purchase_order_pb.GoodReceipt.toObject, includeInstance),
3747
2537
  meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
3748
2538
  };
3749
2539
 
@@ -3782,8 +2572,8 @@ proto.GetListGoodReceiptRes.deserializeBinaryFromReader = function(msg, reader)
3782
2572
  var field = reader.getFieldNumber();
3783
2573
  switch (field) {
3784
2574
  case 1:
3785
- var value = new proto.GoodReceipt;
3786
- reader.readMessage(value,proto.GoodReceipt.deserializeBinaryFromReader);
2575
+ var value = new prisca_v1_purchase_order_purchase_order_pb.GoodReceipt;
2576
+ reader.readMessage(value,prisca_v1_purchase_order_purchase_order_pb.GoodReceipt.deserializeBinaryFromReader);
3787
2577
  msg.addGoodReceipt(value);
3788
2578
  break;
3789
2579
  case 2:
@@ -3825,7 +2615,7 @@ proto.GetListGoodReceiptRes.serializeBinaryToWriter = function(message, writer)
3825
2615
  writer.writeRepeatedMessage(
3826
2616
  1,
3827
2617
  f,
3828
- proto.GoodReceipt.serializeBinaryToWriter
2618
+ prisca_v1_purchase_order_purchase_order_pb.GoodReceipt.serializeBinaryToWriter
3829
2619
  );
3830
2620
  }
3831
2621
  f = message.getMeta();
@@ -3845,7 +2635,7 @@ proto.GetListGoodReceiptRes.serializeBinaryToWriter = function(message, writer)
3845
2635
  */
3846
2636
  proto.GetListGoodReceiptRes.prototype.getGoodReceiptList = function() {
3847
2637
  return /** @type{!Array<!proto.GoodReceipt>} */ (
3848
- jspb.Message.getRepeatedWrapperField(this, proto.GoodReceipt, 1));
2638
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_purchase_order_purchase_order_pb.GoodReceipt, 1));
3849
2639
  };
3850
2640
 
3851
2641