@aldiokta/protocgen 1.1.50 → 1.1.52

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.
Files changed (50) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +23 -0
  3. package/prisca/v1/bidding/bidding_pb.js +463 -2
  4. package/prisca/v1/business_fields/business_fields_grpc_pb.js +33 -0
  5. package/prisca/v1/business_fields/business_fields_pb.js +356 -0
  6. package/prisca/v1/core/access_api/access_api_grpc_pb.js +204 -0
  7. package/prisca/v1/core/access_api/access_api_pb.js +3024 -0
  8. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +66 -0
  9. package/prisca/v1/core/access_manager/access_manager_pb.js +1346 -2
  10. package/prisca/v1/core/attribute/attribute_grpc_pb.js +474 -0
  11. package/prisca/v1/core/attribute/attribute_pb.js +6550 -0
  12. package/prisca/v1/core/auth/auth_grpc_pb.js +22 -0
  13. package/prisca/v1/core/auth/auth_pb.js +152 -0
  14. package/prisca/v1/core/commodity/commodity_grpc_pb.js +156 -0
  15. package/prisca/v1/core/commodity/commodity_pb.js +1988 -0
  16. package/prisca/v1/core/company/company_grpc_pb.js +11 -0
  17. package/prisca/v1/core/cron_monitor/cron_monitor_grpc_pb.js +221 -0
  18. package/prisca/v1/core/cron_monitor/cron_monitor_pb.js +2681 -0
  19. package/prisca/v1/core/employee/employee_grpc_pb.js +25 -3
  20. package/prisca/v1/core/employee/employee_pb.js +203 -0
  21. package/prisca/v1/core/identity_provider/identity_provider_grpc_pb.js +156 -0
  22. package/prisca/v1/core/identity_provider/identity_provider_pb.js +2018 -0
  23. package/prisca/v1/core/item_transaction/item_transaction_pb.js +2362 -1022
  24. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +11 -0
  25. package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +65 -35
  26. package/prisca/v1/core/material/material_grpc_pb.js +2 -0
  27. package/prisca/v1/core/material/material_pb.js +420 -2
  28. package/prisca/v1/core/messaging/email_template_grpc_pb.js +33 -0
  29. package/prisca/v1/core/messaging/email_template_pb.js +385 -0
  30. package/prisca/v1/core/number_range/number_range_grpc_pb.js +33 -0
  31. package/prisca/v1/core/number_range/number_range_pb.js +385 -0
  32. package/prisca/v1/core/report/report_pb.js +31 -1
  33. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
  34. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +364 -0
  35. package/prisca/v1/core/users/users_grpc_pb.js +1 -0
  36. package/prisca/v1/core/users/users_pb.js +2 -0
  37. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +33 -0
  38. package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
  39. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +33 -0
  40. package/prisca/v1/good_receipt/good_receipt_pb.js +273 -8
  41. package/prisca/v1/invoice/invoice_grpc_pb.js +33 -0
  42. package/prisca/v1/invoice/invoice_pb.js +237 -2
  43. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +33 -0
  44. package/prisca/v1/purchase_order/purchase_order_pb.js +935 -12
  45. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +35 -0
  46. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +527 -66
  47. package/prisca/v1/quotation/quotation_pb.js +55 -2
  48. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -123
  49. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +34 -0
  50. package/prisca/v1/vendor_domain/vendor_domain_pb.js +1365 -0
@@ -34,6 +34,8 @@ goog.object.extend(proto, prisca_v1_core_company_company_pb);
34
34
  var prisca_v1_document_type_document_type_pb = require('../../../prisca/v1/document_type/document_type_pb.js');
35
35
  goog.object.extend(proto, prisca_v1_document_type_document_type_pb);
36
36
  goog.exportSymbol('proto.BasePurchaseOrderRequest', null, global);
37
+ goog.exportSymbol('proto.CheckAvailableReq', null, global);
38
+ goog.exportSymbol('proto.CheckAvailableRes', null, global);
37
39
  goog.exportSymbol('proto.CreatePurchaseOrderRequest', null, global);
38
40
  goog.exportSymbol('proto.CreatePurchaseOrderResponse', null, global);
39
41
  goog.exportSymbol('proto.DeletePurchaseOrderRequest', null, global);
@@ -46,6 +48,7 @@ goog.exportSymbol('proto.GetPurchaseOrderByIdResponse', null, global);
46
48
  goog.exportSymbol('proto.GetPurchaseOrderDetailResponse', null, global);
47
49
  goog.exportSymbol('proto.GetPurchaseOrderItemDetailPreload', null, global);
48
50
  goog.exportSymbol('proto.GetPurchaseOrderItemPreload', null, global);
51
+ goog.exportSymbol('proto.GetPurchaseOrderItemServicePreload', null, global);
49
52
  goog.exportSymbol('proto.GoodReceipt', null, global);
50
53
  goog.exportSymbol('proto.Invoice', null, global);
51
54
  goog.exportSymbol('proto.InvoiceCondition', null, global);
@@ -58,6 +61,48 @@ goog.exportSymbol('proto.UpdatePurchaseOrderFileRequest', null, global);
58
61
  goog.exportSymbol('proto.UpdatePurchaseOrderRequest', null, global);
59
62
  goog.exportSymbol('proto.UpdatePurchaseOrderResponse', null, global);
60
63
  goog.exportSymbol('proto.UpdatePurchaseOrderStatusRequest', null, global);
64
+ /**
65
+ * Generated by JsPbCodeGenerator.
66
+ * @param {Array=} opt_data Optional initial data array, typically from a
67
+ * server response, or constructed directly in Javascript. The array is used
68
+ * in place and becomes part of the constructed object. It is not cloned.
69
+ * If no data is provided, the constructed object will be empty, but still
70
+ * valid.
71
+ * @extends {jspb.Message}
72
+ * @constructor
73
+ */
74
+ proto.CheckAvailableReq = function(opt_data) {
75
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
76
+ };
77
+ goog.inherits(proto.CheckAvailableReq, jspb.Message);
78
+ if (goog.DEBUG && !COMPILED) {
79
+ /**
80
+ * @public
81
+ * @override
82
+ */
83
+ proto.CheckAvailableReq.displayName = 'proto.CheckAvailableReq';
84
+ }
85
+ /**
86
+ * Generated by JsPbCodeGenerator.
87
+ * @param {Array=} opt_data Optional initial data array, typically from a
88
+ * server response, or constructed directly in Javascript. The array is used
89
+ * in place and becomes part of the constructed object. It is not cloned.
90
+ * If no data is provided, the constructed object will be empty, but still
91
+ * valid.
92
+ * @extends {jspb.Message}
93
+ * @constructor
94
+ */
95
+ proto.CheckAvailableRes = function(opt_data) {
96
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
97
+ };
98
+ goog.inherits(proto.CheckAvailableRes, jspb.Message);
99
+ if (goog.DEBUG && !COMPILED) {
100
+ /**
101
+ * @public
102
+ * @override
103
+ */
104
+ proto.CheckAvailableRes.displayName = 'proto.CheckAvailableRes';
105
+ }
61
106
  /**
62
107
  * Generated by JsPbCodeGenerator.
63
108
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -541,6 +586,27 @@ if (goog.DEBUG && !COMPILED) {
541
586
  */
542
587
  proto.GetPurchaseOrderItemDetailPreload.displayName = 'proto.GetPurchaseOrderItemDetailPreload';
543
588
  }
589
+ /**
590
+ * Generated by JsPbCodeGenerator.
591
+ * @param {Array=} opt_data Optional initial data array, typically from a
592
+ * server response, or constructed directly in Javascript. The array is used
593
+ * in place and becomes part of the constructed object. It is not cloned.
594
+ * If no data is provided, the constructed object will be empty, but still
595
+ * valid.
596
+ * @extends {jspb.Message}
597
+ * @constructor
598
+ */
599
+ proto.GetPurchaseOrderItemServicePreload = function(opt_data) {
600
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPurchaseOrderItemServicePreload.repeatedFields_, null);
601
+ };
602
+ goog.inherits(proto.GetPurchaseOrderItemServicePreload, jspb.Message);
603
+ if (goog.DEBUG && !COMPILED) {
604
+ /**
605
+ * @public
606
+ * @override
607
+ */
608
+ proto.GetPurchaseOrderItemServicePreload.displayName = 'proto.GetPurchaseOrderItemServicePreload';
609
+ }
544
610
  /**
545
611
  * Generated by JsPbCodeGenerator.
546
612
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -586,6 +652,266 @@ if (goog.DEBUG && !COMPILED) {
586
652
 
587
653
 
588
654
 
655
+ if (jspb.Message.GENERATE_TO_OBJECT) {
656
+ /**
657
+ * Creates an object representation of this proto.
658
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
659
+ * Optional fields that are not set will be set to undefined.
660
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
661
+ * For the list of reserved names please see:
662
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
663
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
664
+ * JSPB instance for transitional soy proto support:
665
+ * http://goto/soy-param-migration
666
+ * @return {!Object}
667
+ */
668
+ proto.CheckAvailableReq.prototype.toObject = function(opt_includeInstance) {
669
+ return proto.CheckAvailableReq.toObject(opt_includeInstance, this);
670
+ };
671
+
672
+
673
+ /**
674
+ * Static version of the {@see toObject} method.
675
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
676
+ * the JSPB instance for transitional soy proto support:
677
+ * http://goto/soy-param-migration
678
+ * @param {!proto.CheckAvailableReq} msg The msg instance to transform.
679
+ * @return {!Object}
680
+ * @suppress {unusedLocalVariables} f is only used for nested messages
681
+ */
682
+ proto.CheckAvailableReq.toObject = function(includeInstance, msg) {
683
+ var f, obj = {
684
+ referencesid: jspb.Message.getFieldWithDefault(msg, 1, "")
685
+ };
686
+
687
+ if (includeInstance) {
688
+ obj.$jspbMessageInstance = msg;
689
+ }
690
+ return obj;
691
+ };
692
+ }
693
+
694
+
695
+ /**
696
+ * Deserializes binary data (in protobuf wire format).
697
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
698
+ * @return {!proto.CheckAvailableReq}
699
+ */
700
+ proto.CheckAvailableReq.deserializeBinary = function(bytes) {
701
+ var reader = new jspb.BinaryReader(bytes);
702
+ var msg = new proto.CheckAvailableReq;
703
+ return proto.CheckAvailableReq.deserializeBinaryFromReader(msg, reader);
704
+ };
705
+
706
+
707
+ /**
708
+ * Deserializes binary data (in protobuf wire format) from the
709
+ * given reader into the given message object.
710
+ * @param {!proto.CheckAvailableReq} msg The message object to deserialize into.
711
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
712
+ * @return {!proto.CheckAvailableReq}
713
+ */
714
+ proto.CheckAvailableReq.deserializeBinaryFromReader = function(msg, reader) {
715
+ while (reader.nextField()) {
716
+ if (reader.isEndGroup()) {
717
+ break;
718
+ }
719
+ var field = reader.getFieldNumber();
720
+ switch (field) {
721
+ case 1:
722
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
723
+ msg.setReferencesid(value);
724
+ break;
725
+ default:
726
+ reader.skipField();
727
+ break;
728
+ }
729
+ }
730
+ return msg;
731
+ };
732
+
733
+
734
+ /**
735
+ * Serializes the message to binary data (in protobuf wire format).
736
+ * @return {!Uint8Array}
737
+ */
738
+ proto.CheckAvailableReq.prototype.serializeBinary = function() {
739
+ var writer = new jspb.BinaryWriter();
740
+ proto.CheckAvailableReq.serializeBinaryToWriter(this, writer);
741
+ return writer.getResultBuffer();
742
+ };
743
+
744
+
745
+ /**
746
+ * Serializes the given message to binary data (in protobuf wire
747
+ * format), writing to the given BinaryWriter.
748
+ * @param {!proto.CheckAvailableReq} message
749
+ * @param {!jspb.BinaryWriter} writer
750
+ * @suppress {unusedLocalVariables} f is only used for nested messages
751
+ */
752
+ proto.CheckAvailableReq.serializeBinaryToWriter = function(message, writer) {
753
+ var f = undefined;
754
+ f = message.getReferencesid();
755
+ if (f.length > 0) {
756
+ writer.writeString(
757
+ 1,
758
+ f
759
+ );
760
+ }
761
+ };
762
+
763
+
764
+ /**
765
+ * optional string ReferencesId = 1;
766
+ * @return {string}
767
+ */
768
+ proto.CheckAvailableReq.prototype.getReferencesid = function() {
769
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
770
+ };
771
+
772
+
773
+ /**
774
+ * @param {string} value
775
+ * @return {!proto.CheckAvailableReq} returns this
776
+ */
777
+ proto.CheckAvailableReq.prototype.setReferencesid = function(value) {
778
+ return jspb.Message.setProto3StringField(this, 1, value);
779
+ };
780
+
781
+
782
+
783
+
784
+
785
+ if (jspb.Message.GENERATE_TO_OBJECT) {
786
+ /**
787
+ * Creates an object representation of this proto.
788
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
789
+ * Optional fields that are not set will be set to undefined.
790
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
791
+ * For the list of reserved names please see:
792
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
793
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
794
+ * JSPB instance for transitional soy proto support:
795
+ * http://goto/soy-param-migration
796
+ * @return {!Object}
797
+ */
798
+ proto.CheckAvailableRes.prototype.toObject = function(opt_includeInstance) {
799
+ return proto.CheckAvailableRes.toObject(opt_includeInstance, this);
800
+ };
801
+
802
+
803
+ /**
804
+ * Static version of the {@see toObject} method.
805
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
806
+ * the JSPB instance for transitional soy proto support:
807
+ * http://goto/soy-param-migration
808
+ * @param {!proto.CheckAvailableRes} msg The msg instance to transform.
809
+ * @return {!Object}
810
+ * @suppress {unusedLocalVariables} f is only used for nested messages
811
+ */
812
+ proto.CheckAvailableRes.toObject = function(includeInstance, msg) {
813
+ var f, obj = {
814
+ available: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
815
+ };
816
+
817
+ if (includeInstance) {
818
+ obj.$jspbMessageInstance = msg;
819
+ }
820
+ return obj;
821
+ };
822
+ }
823
+
824
+
825
+ /**
826
+ * Deserializes binary data (in protobuf wire format).
827
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
828
+ * @return {!proto.CheckAvailableRes}
829
+ */
830
+ proto.CheckAvailableRes.deserializeBinary = function(bytes) {
831
+ var reader = new jspb.BinaryReader(bytes);
832
+ var msg = new proto.CheckAvailableRes;
833
+ return proto.CheckAvailableRes.deserializeBinaryFromReader(msg, reader);
834
+ };
835
+
836
+
837
+ /**
838
+ * Deserializes binary data (in protobuf wire format) from the
839
+ * given reader into the given message object.
840
+ * @param {!proto.CheckAvailableRes} msg The message object to deserialize into.
841
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
842
+ * @return {!proto.CheckAvailableRes}
843
+ */
844
+ proto.CheckAvailableRes.deserializeBinaryFromReader = function(msg, reader) {
845
+ while (reader.nextField()) {
846
+ if (reader.isEndGroup()) {
847
+ break;
848
+ }
849
+ var field = reader.getFieldNumber();
850
+ switch (field) {
851
+ case 1:
852
+ var value = /** @type {boolean} */ (reader.readBool());
853
+ msg.setAvailable(value);
854
+ break;
855
+ default:
856
+ reader.skipField();
857
+ break;
858
+ }
859
+ }
860
+ return msg;
861
+ };
862
+
863
+
864
+ /**
865
+ * Serializes the message to binary data (in protobuf wire format).
866
+ * @return {!Uint8Array}
867
+ */
868
+ proto.CheckAvailableRes.prototype.serializeBinary = function() {
869
+ var writer = new jspb.BinaryWriter();
870
+ proto.CheckAvailableRes.serializeBinaryToWriter(this, writer);
871
+ return writer.getResultBuffer();
872
+ };
873
+
874
+
875
+ /**
876
+ * Serializes the given message to binary data (in protobuf wire
877
+ * format), writing to the given BinaryWriter.
878
+ * @param {!proto.CheckAvailableRes} message
879
+ * @param {!jspb.BinaryWriter} writer
880
+ * @suppress {unusedLocalVariables} f is only used for nested messages
881
+ */
882
+ proto.CheckAvailableRes.serializeBinaryToWriter = function(message, writer) {
883
+ var f = undefined;
884
+ f = message.getAvailable();
885
+ if (f) {
886
+ writer.writeBool(
887
+ 1,
888
+ f
889
+ );
890
+ }
891
+ };
892
+
893
+
894
+ /**
895
+ * optional bool available = 1;
896
+ * @return {boolean}
897
+ */
898
+ proto.CheckAvailableRes.prototype.getAvailable = function() {
899
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
900
+ };
901
+
902
+
903
+ /**
904
+ * @param {boolean} value
905
+ * @return {!proto.CheckAvailableRes} returns this
906
+ */
907
+ proto.CheckAvailableRes.prototype.setAvailable = function(value) {
908
+ return jspb.Message.setProto3BooleanField(this, 1, value);
909
+ };
910
+
911
+
912
+
913
+
914
+
589
915
  if (jspb.Message.GENERATE_TO_OBJECT) {
590
916
  /**
591
917
  * Creates an object representation of this proto.
@@ -1420,7 +1746,9 @@ createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_e
1420
1746
  updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
1421
1747
  documentReferences: jspb.Message.getFieldWithDefault(msg, 29, ""),
1422
1748
  documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_type_pb.DocumentType.toObject(includeInstance, f),
1423
- customTransaction: jspb.Message.getFieldWithDefault(msg, 31, "")
1749
+ customTransaction: jspb.Message.getFieldWithDefault(msg, 31, ""),
1750
+ requestedBy: jspb.Message.getFieldWithDefault(msg, 32, ""),
1751
+ requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f)
1424
1752
  };
1425
1753
 
1426
1754
  if (includeInstance) {
@@ -1589,6 +1917,15 @@ proto.DeliveryOrder.deserializeBinaryFromReader = function(msg, reader) {
1589
1917
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
1590
1918
  msg.setCustomTransaction(value);
1591
1919
  break;
1920
+ case 32:
1921
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1922
+ msg.setRequestedBy(value);
1923
+ break;
1924
+ case 33:
1925
+ var value = new prisca_v1_global_meta_meta_pb.Creator;
1926
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
1927
+ msg.setRequestor(value);
1928
+ break;
1592
1929
  default:
1593
1930
  reader.skipField();
1594
1931
  break;
@@ -1843,6 +2180,21 @@ proto.DeliveryOrder.serializeBinaryToWriter = function(message, writer) {
1843
2180
  f
1844
2181
  );
1845
2182
  }
2183
+ f = message.getRequestedBy();
2184
+ if (f.length > 0) {
2185
+ writer.writeString(
2186
+ 32,
2187
+ f
2188
+ );
2189
+ }
2190
+ f = message.getRequestor();
2191
+ if (f != null) {
2192
+ writer.writeMessage(
2193
+ 33,
2194
+ f,
2195
+ prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
2196
+ );
2197
+ }
1846
2198
  };
1847
2199
 
1848
2200
 
@@ -2558,6 +2910,61 @@ proto.DeliveryOrder.prototype.setCustomTransaction = function(value) {
2558
2910
  };
2559
2911
 
2560
2912
 
2913
+ /**
2914
+ * optional string requested_by = 32;
2915
+ * @return {string}
2916
+ */
2917
+ proto.DeliveryOrder.prototype.getRequestedBy = function() {
2918
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 32, ""));
2919
+ };
2920
+
2921
+
2922
+ /**
2923
+ * @param {string} value
2924
+ * @return {!proto.DeliveryOrder} returns this
2925
+ */
2926
+ proto.DeliveryOrder.prototype.setRequestedBy = function(value) {
2927
+ return jspb.Message.setProto3StringField(this, 32, value);
2928
+ };
2929
+
2930
+
2931
+ /**
2932
+ * optional prisca.v1.global.meta.Creator requestor = 33;
2933
+ * @return {?proto.prisca.v1.global.meta.Creator}
2934
+ */
2935
+ proto.DeliveryOrder.prototype.getRequestor = function() {
2936
+ return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
2937
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 33));
2938
+ };
2939
+
2940
+
2941
+ /**
2942
+ * @param {?proto.prisca.v1.global.meta.Creator|undefined} value
2943
+ * @return {!proto.DeliveryOrder} returns this
2944
+ */
2945
+ proto.DeliveryOrder.prototype.setRequestor = function(value) {
2946
+ return jspb.Message.setWrapperField(this, 33, value);
2947
+ };
2948
+
2949
+
2950
+ /**
2951
+ * Clears the message field making it undefined.
2952
+ * @return {!proto.DeliveryOrder} returns this
2953
+ */
2954
+ proto.DeliveryOrder.prototype.clearRequestor = function() {
2955
+ return this.setRequestor(undefined);
2956
+ };
2957
+
2958
+
2959
+ /**
2960
+ * Returns whether this field is set.
2961
+ * @return {boolean}
2962
+ */
2963
+ proto.DeliveryOrder.prototype.hasRequestor = function() {
2964
+ return jspb.Message.getField(this, 33) != null;
2965
+ };
2966
+
2967
+
2561
2968
 
2562
2969
  /**
2563
2970
  * List of repeated fields within this message type.
@@ -2630,7 +3037,9 @@ deliveryOrderNumber: jspb.Message.getFieldWithDefault(msg, 28, ""),
2630
3037
  deliveryOrderReferencesId: jspb.Message.getFieldWithDefault(msg, 29, ""),
2631
3038
  deliveryOrderDate: jspb.Message.getFieldWithDefault(msg, 30, ""),
2632
3039
  deliveryOrder: (f = msg.getDeliveryOrder()) && proto.DeliveryOrder.toObject(includeInstance, f),
2633
- customTransaction: jspb.Message.getFieldWithDefault(msg, 32, "")
3040
+ customTransaction: jspb.Message.getFieldWithDefault(msg, 32, ""),
3041
+ requestedBy: jspb.Message.getFieldWithDefault(msg, 33, ""),
3042
+ requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f)
2634
3043
  };
2635
3044
 
2636
3045
  if (includeInstance) {
@@ -2802,6 +3211,15 @@ proto.GoodReceipt.deserializeBinaryFromReader = function(msg, reader) {
2802
3211
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
2803
3212
  msg.setCustomTransaction(value);
2804
3213
  break;
3214
+ case 33:
3215
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3216
+ msg.setRequestedBy(value);
3217
+ break;
3218
+ case 34:
3219
+ var value = new prisca_v1_global_meta_meta_pb.Creator;
3220
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
3221
+ msg.setRequestor(value);
3222
+ break;
2805
3223
  default:
2806
3224
  reader.skipField();
2807
3225
  break;
@@ -3062,6 +3480,21 @@ proto.GoodReceipt.serializeBinaryToWriter = function(message, writer) {
3062
3480
  f
3063
3481
  );
3064
3482
  }
3483
+ f = message.getRequestedBy();
3484
+ if (f.length > 0) {
3485
+ writer.writeString(
3486
+ 33,
3487
+ f
3488
+ );
3489
+ }
3490
+ f = message.getRequestor();
3491
+ if (f != null) {
3492
+ writer.writeMessage(
3493
+ 34,
3494
+ f,
3495
+ prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
3496
+ );
3497
+ }
3065
3498
  };
3066
3499
 
3067
3500
 
@@ -3776,6 +4209,61 @@ proto.GoodReceipt.prototype.setCustomTransaction = function(value) {
3776
4209
  };
3777
4210
 
3778
4211
 
4212
+ /**
4213
+ * optional string requested_by = 33;
4214
+ * @return {string}
4215
+ */
4216
+ proto.GoodReceipt.prototype.getRequestedBy = function() {
4217
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 33, ""));
4218
+ };
4219
+
4220
+
4221
+ /**
4222
+ * @param {string} value
4223
+ * @return {!proto.GoodReceipt} returns this
4224
+ */
4225
+ proto.GoodReceipt.prototype.setRequestedBy = function(value) {
4226
+ return jspb.Message.setProto3StringField(this, 33, value);
4227
+ };
4228
+
4229
+
4230
+ /**
4231
+ * optional prisca.v1.global.meta.Creator requestor = 34;
4232
+ * @return {?proto.prisca.v1.global.meta.Creator}
4233
+ */
4234
+ proto.GoodReceipt.prototype.getRequestor = function() {
4235
+ return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
4236
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 34));
4237
+ };
4238
+
4239
+
4240
+ /**
4241
+ * @param {?proto.prisca.v1.global.meta.Creator|undefined} value
4242
+ * @return {!proto.GoodReceipt} returns this
4243
+ */
4244
+ proto.GoodReceipt.prototype.setRequestor = function(value) {
4245
+ return jspb.Message.setWrapperField(this, 34, value);
4246
+ };
4247
+
4248
+
4249
+ /**
4250
+ * Clears the message field making it undefined.
4251
+ * @return {!proto.GoodReceipt} returns this
4252
+ */
4253
+ proto.GoodReceipt.prototype.clearRequestor = function() {
4254
+ return this.setRequestor(undefined);
4255
+ };
4256
+
4257
+
4258
+ /**
4259
+ * Returns whether this field is set.
4260
+ * @return {boolean}
4261
+ */
4262
+ proto.GoodReceipt.prototype.hasRequestor = function() {
4263
+ return jspb.Message.getField(this, 34) != null;
4264
+ };
4265
+
4266
+
3779
4267
 
3780
4268
  /**
3781
4269
  * List of repeated fields within this message type.
@@ -3858,7 +4346,10 @@ dueDate: jspb.Message.getFieldWithDefault(msg, 36, ""),
3858
4346
  createdByUser: (f = msg.getCreatedByUser()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
3859
4347
  updatedByUser: (f = msg.getUpdatedByUser()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
3860
4348
  invoiceConditionsList: jspb.Message.toObjectList(msg.getInvoiceConditionsList(),
3861
- proto.InvoiceCondition.toObject, includeInstance)
4349
+ proto.InvoiceCondition.toObject, includeInstance),
4350
+ requestedBy: jspb.Message.getFieldWithDefault(msg, 40, ""),
4351
+ requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
4352
+ isFromGr: jspb.Message.getBooleanFieldWithDefault(msg, 42, false)
3862
4353
  };
3863
4354
 
3864
4355
  if (includeInstance) {
@@ -4061,6 +4552,19 @@ proto.Invoice.deserializeBinaryFromReader = function(msg, reader) {
4061
4552
  reader.readMessage(value,proto.InvoiceCondition.deserializeBinaryFromReader);
4062
4553
  msg.addInvoiceConditions(value);
4063
4554
  break;
4555
+ case 40:
4556
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4557
+ msg.setRequestedBy(value);
4558
+ break;
4559
+ case 41:
4560
+ var value = new prisca_v1_global_meta_meta_pb.Creator;
4561
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
4562
+ msg.setRequestor(value);
4563
+ break;
4564
+ case 42:
4565
+ var value = /** @type {boolean} */ (reader.readBool());
4566
+ msg.setIsFromGr(value);
4567
+ break;
4064
4568
  default:
4065
4569
  reader.skipField();
4066
4570
  break;
@@ -4373,6 +4877,28 @@ proto.Invoice.serializeBinaryToWriter = function(message, writer) {
4373
4877
  proto.InvoiceCondition.serializeBinaryToWriter
4374
4878
  );
4375
4879
  }
4880
+ f = message.getRequestedBy();
4881
+ if (f.length > 0) {
4882
+ writer.writeString(
4883
+ 40,
4884
+ f
4885
+ );
4886
+ }
4887
+ f = message.getRequestor();
4888
+ if (f != null) {
4889
+ writer.writeMessage(
4890
+ 41,
4891
+ f,
4892
+ prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
4893
+ );
4894
+ }
4895
+ f = message.getIsFromGr();
4896
+ if (f) {
4897
+ writer.writeBool(
4898
+ 42,
4899
+ f
4900
+ );
4901
+ }
4376
4902
  };
4377
4903
 
4378
4904
 
@@ -5259,17 +5785,90 @@ proto.Invoice.prototype.setInvoiceConditionsList = function(value) {
5259
5785
  * @param {number=} opt_index
5260
5786
  * @return {!proto.InvoiceCondition}
5261
5787
  */
5262
- proto.Invoice.prototype.addInvoiceConditions = function(opt_value, opt_index) {
5263
- return jspb.Message.addToRepeatedWrapperField(this, 39, opt_value, proto.InvoiceCondition, opt_index);
5788
+ proto.Invoice.prototype.addInvoiceConditions = function(opt_value, opt_index) {
5789
+ return jspb.Message.addToRepeatedWrapperField(this, 39, opt_value, proto.InvoiceCondition, opt_index);
5790
+ };
5791
+
5792
+
5793
+ /**
5794
+ * Clears the list making it empty but non-null.
5795
+ * @return {!proto.Invoice} returns this
5796
+ */
5797
+ proto.Invoice.prototype.clearInvoiceConditionsList = function() {
5798
+ return this.setInvoiceConditionsList([]);
5799
+ };
5800
+
5801
+
5802
+ /**
5803
+ * optional string requested_by = 40;
5804
+ * @return {string}
5805
+ */
5806
+ proto.Invoice.prototype.getRequestedBy = function() {
5807
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 40, ""));
5808
+ };
5809
+
5810
+
5811
+ /**
5812
+ * @param {string} value
5813
+ * @return {!proto.Invoice} returns this
5814
+ */
5815
+ proto.Invoice.prototype.setRequestedBy = function(value) {
5816
+ return jspb.Message.setProto3StringField(this, 40, value);
5817
+ };
5818
+
5819
+
5820
+ /**
5821
+ * optional prisca.v1.global.meta.Creator requestor = 41;
5822
+ * @return {?proto.prisca.v1.global.meta.Creator}
5823
+ */
5824
+ proto.Invoice.prototype.getRequestor = function() {
5825
+ return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
5826
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 41));
5827
+ };
5828
+
5829
+
5830
+ /**
5831
+ * @param {?proto.prisca.v1.global.meta.Creator|undefined} value
5832
+ * @return {!proto.Invoice} returns this
5833
+ */
5834
+ proto.Invoice.prototype.setRequestor = function(value) {
5835
+ return jspb.Message.setWrapperField(this, 41, value);
5836
+ };
5837
+
5838
+
5839
+ /**
5840
+ * Clears the message field making it undefined.
5841
+ * @return {!proto.Invoice} returns this
5842
+ */
5843
+ proto.Invoice.prototype.clearRequestor = function() {
5844
+ return this.setRequestor(undefined);
5845
+ };
5846
+
5847
+
5848
+ /**
5849
+ * Returns whether this field is set.
5850
+ * @return {boolean}
5851
+ */
5852
+ proto.Invoice.prototype.hasRequestor = function() {
5853
+ return jspb.Message.getField(this, 41) != null;
5854
+ };
5855
+
5856
+
5857
+ /**
5858
+ * optional bool is_from_gr = 42;
5859
+ * @return {boolean}
5860
+ */
5861
+ proto.Invoice.prototype.getIsFromGr = function() {
5862
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 42, false));
5264
5863
  };
5265
5864
 
5266
5865
 
5267
5866
  /**
5268
- * Clears the list making it empty but non-null.
5867
+ * @param {boolean} value
5269
5868
  * @return {!proto.Invoice} returns this
5270
5869
  */
5271
- proto.Invoice.prototype.clearInvoiceConditionsList = function() {
5272
- return this.setInvoiceConditionsList([]);
5870
+ proto.Invoice.prototype.setIsFromGr = function(value) {
5871
+ return jspb.Message.setProto3BooleanField(this, 42, value);
5273
5872
  };
5274
5873
 
5275
5874
 
@@ -5790,7 +6389,9 @@ goodReceiptsList: jspb.Message.toObjectList(msg.getGoodReceiptsList(),
5790
6389
  proto.GoodReceipt.toObject, includeInstance),
5791
6390
  documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_type_pb.DocumentType.toObject(includeInstance, f),
5792
6391
  documentTypeReferences: jspb.Message.getFieldWithDefault(msg, 44, ""),
5793
- customTransaction: jspb.Message.getFieldWithDefault(msg, 45, "")
6392
+ customTransaction: jspb.Message.getFieldWithDefault(msg, 45, ""),
6393
+ requestedBy: jspb.Message.getFieldWithDefault(msg, 46, ""),
6394
+ requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f)
5794
6395
  };
5795
6396
 
5796
6397
  if (includeInstance) {
@@ -6016,6 +6617,15 @@ proto.PurchaseOrder.deserializeBinaryFromReader = function(msg, reader) {
6016
6617
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
6017
6618
  msg.setCustomTransaction(value);
6018
6619
  break;
6620
+ case 46:
6621
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6622
+ msg.setRequestedBy(value);
6623
+ break;
6624
+ case 47:
6625
+ var value = new prisca_v1_global_meta_meta_pb.Creator;
6626
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
6627
+ msg.setRequestor(value);
6628
+ break;
6019
6629
  default:
6020
6630
  reader.skipField();
6021
6631
  break;
@@ -6369,6 +6979,21 @@ proto.PurchaseOrder.serializeBinaryToWriter = function(message, writer) {
6369
6979
  f
6370
6980
  );
6371
6981
  }
6982
+ f = message.getRequestedBy();
6983
+ if (f.length > 0) {
6984
+ writer.writeString(
6985
+ 46,
6986
+ f
6987
+ );
6988
+ }
6989
+ f = message.getRequestor();
6990
+ if (f != null) {
6991
+ writer.writeMessage(
6992
+ 47,
6993
+ f,
6994
+ prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
6995
+ );
6996
+ }
6372
6997
  };
6373
6998
 
6374
6999
 
@@ -7357,6 +7982,61 @@ proto.PurchaseOrder.prototype.setCustomTransaction = function(value) {
7357
7982
  };
7358
7983
 
7359
7984
 
7985
+ /**
7986
+ * optional string requested_by = 46;
7987
+ * @return {string}
7988
+ */
7989
+ proto.PurchaseOrder.prototype.getRequestedBy = function() {
7990
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 46, ""));
7991
+ };
7992
+
7993
+
7994
+ /**
7995
+ * @param {string} value
7996
+ * @return {!proto.PurchaseOrder} returns this
7997
+ */
7998
+ proto.PurchaseOrder.prototype.setRequestedBy = function(value) {
7999
+ return jspb.Message.setProto3StringField(this, 46, value);
8000
+ };
8001
+
8002
+
8003
+ /**
8004
+ * optional prisca.v1.global.meta.Creator requestor = 47;
8005
+ * @return {?proto.prisca.v1.global.meta.Creator}
8006
+ */
8007
+ proto.PurchaseOrder.prototype.getRequestor = function() {
8008
+ return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
8009
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 47));
8010
+ };
8011
+
8012
+
8013
+ /**
8014
+ * @param {?proto.prisca.v1.global.meta.Creator|undefined} value
8015
+ * @return {!proto.PurchaseOrder} returns this
8016
+ */
8017
+ proto.PurchaseOrder.prototype.setRequestor = function(value) {
8018
+ return jspb.Message.setWrapperField(this, 47, value);
8019
+ };
8020
+
8021
+
8022
+ /**
8023
+ * Clears the message field making it undefined.
8024
+ * @return {!proto.PurchaseOrder} returns this
8025
+ */
8026
+ proto.PurchaseOrder.prototype.clearRequestor = function() {
8027
+ return this.setRequestor(undefined);
8028
+ };
8029
+
8030
+
8031
+ /**
8032
+ * Returns whether this field is set.
8033
+ * @return {boolean}
8034
+ */
8035
+ proto.PurchaseOrder.prototype.hasRequestor = function() {
8036
+ return jspb.Message.getField(this, 47) != null;
8037
+ };
8038
+
8039
+
7360
8040
 
7361
8041
  /**
7362
8042
  * List of repeated fields within this message type.
@@ -7427,7 +8107,8 @@ biddingReferences: jspb.Message.getFieldWithDefault(msg, 26, ""),
7427
8107
  biddingNumber: jspb.Message.getFieldWithDefault(msg, 27, ""),
7428
8108
  purchaseRequisitionReferences: jspb.Message.getFieldWithDefault(msg, 28, ""),
7429
8109
  purchaseRequisitionNumber: jspb.Message.getFieldWithDefault(msg, 29, ""),
7430
- customTransaction: jspb.Message.getFieldWithDefault(msg, 31, "")
8110
+ customTransaction: jspb.Message.getFieldWithDefault(msg, 31, ""),
8111
+ requestedBy: jspb.Message.getFieldWithDefault(msg, 32, "")
7431
8112
  };
7432
8113
 
7433
8114
  if (includeInstance) {
@@ -7587,6 +8268,10 @@ proto.BasePurchaseOrderRequest.deserializeBinaryFromReader = function(msg, reade
7587
8268
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
7588
8269
  msg.setCustomTransaction(value);
7589
8270
  break;
8271
+ case 32:
8272
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
8273
+ msg.setRequestedBy(value);
8274
+ break;
7590
8275
  default:
7591
8276
  reader.skipField();
7592
8277
  break;
@@ -7829,6 +8514,13 @@ proto.BasePurchaseOrderRequest.serializeBinaryToWriter = function(message, write
7829
8514
  f
7830
8515
  );
7831
8516
  }
8517
+ f = message.getRequestedBy();
8518
+ if (f.length > 0) {
8519
+ writer.writeString(
8520
+ 32,
8521
+ f
8522
+ );
8523
+ }
7832
8524
  };
7833
8525
 
7834
8526
 
@@ -8431,6 +9123,24 @@ proto.BasePurchaseOrderRequest.prototype.setCustomTransaction = function(value)
8431
9123
  };
8432
9124
 
8433
9125
 
9126
+ /**
9127
+ * optional string requested_by = 32;
9128
+ * @return {string}
9129
+ */
9130
+ proto.BasePurchaseOrderRequest.prototype.getRequestedBy = function() {
9131
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 32, ""));
9132
+ };
9133
+
9134
+
9135
+ /**
9136
+ * @param {string} value
9137
+ * @return {!proto.BasePurchaseOrderRequest} returns this
9138
+ */
9139
+ proto.BasePurchaseOrderRequest.prototype.setRequestedBy = function(value) {
9140
+ return jspb.Message.setProto3StringField(this, 32, value);
9141
+ };
9142
+
9143
+
8434
9144
 
8435
9145
 
8436
9146
 
@@ -10479,7 +11189,7 @@ proto.GetPurchaseOrderDetailResponse.prototype.clearTransactionBuilderItemsList
10479
11189
  * @private {!Array<number>}
10480
11190
  * @const
10481
11191
  */
10482
- proto.GetPurchaseOrderItemPreload.repeatedFields_ = [1,2];
11192
+ proto.GetPurchaseOrderItemPreload.repeatedFields_ = [1,2,3];
10483
11193
 
10484
11194
 
10485
11195
 
@@ -10515,7 +11225,9 @@ proto.GetPurchaseOrderItemPreload.toObject = function(includeInstance, msg) {
10515
11225
  transactionBuilderItemList: jspb.Message.toObjectList(msg.getTransactionBuilderItemList(),
10516
11226
  prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance),
10517
11227
  transactionBuilderItemDetailsList: jspb.Message.toObjectList(msg.getTransactionBuilderItemDetailsList(),
10518
- proto.GetPurchaseOrderItemDetailPreload.toObject, includeInstance)
11228
+ proto.GetPurchaseOrderItemDetailPreload.toObject, includeInstance),
11229
+ transactionBuilderItemServicesList: jspb.Message.toObjectList(msg.getTransactionBuilderItemServicesList(),
11230
+ proto.GetPurchaseOrderItemServicePreload.toObject, includeInstance)
10519
11231
  };
10520
11232
 
10521
11233
  if (includeInstance) {
@@ -10562,6 +11274,11 @@ proto.GetPurchaseOrderItemPreload.deserializeBinaryFromReader = function(msg, re
10562
11274
  reader.readMessage(value,proto.GetPurchaseOrderItemDetailPreload.deserializeBinaryFromReader);
10563
11275
  msg.addTransactionBuilderItemDetails(value);
10564
11276
  break;
11277
+ case 3:
11278
+ var value = new proto.GetPurchaseOrderItemServicePreload;
11279
+ reader.readMessage(value,proto.GetPurchaseOrderItemServicePreload.deserializeBinaryFromReader);
11280
+ msg.addTransactionBuilderItemServices(value);
11281
+ break;
10565
11282
  default:
10566
11283
  reader.skipField();
10567
11284
  break;
@@ -10607,6 +11324,14 @@ proto.GetPurchaseOrderItemPreload.serializeBinaryToWriter = function(message, wr
10607
11324
  proto.GetPurchaseOrderItemDetailPreload.serializeBinaryToWriter
10608
11325
  );
10609
11326
  }
11327
+ f = message.getTransactionBuilderItemServicesList();
11328
+ if (f.length > 0) {
11329
+ writer.writeRepeatedMessage(
11330
+ 3,
11331
+ f,
11332
+ proto.GetPurchaseOrderItemServicePreload.serializeBinaryToWriter
11333
+ );
11334
+ }
10610
11335
  };
10611
11336
 
10612
11337
 
@@ -10686,6 +11411,44 @@ proto.GetPurchaseOrderItemPreload.prototype.clearTransactionBuilderItemDetailsLi
10686
11411
  };
10687
11412
 
10688
11413
 
11414
+ /**
11415
+ * repeated GetPurchaseOrderItemServicePreload transaction_builder_item_services = 3;
11416
+ * @return {!Array<!proto.GetPurchaseOrderItemServicePreload>}
11417
+ */
11418
+ proto.GetPurchaseOrderItemPreload.prototype.getTransactionBuilderItemServicesList = function() {
11419
+ return /** @type{!Array<!proto.GetPurchaseOrderItemServicePreload>} */ (
11420
+ jspb.Message.getRepeatedWrapperField(this, proto.GetPurchaseOrderItemServicePreload, 3));
11421
+ };
11422
+
11423
+
11424
+ /**
11425
+ * @param {!Array<!proto.GetPurchaseOrderItemServicePreload>} value
11426
+ * @return {!proto.GetPurchaseOrderItemPreload} returns this
11427
+ */
11428
+ proto.GetPurchaseOrderItemPreload.prototype.setTransactionBuilderItemServicesList = function(value) {
11429
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
11430
+ };
11431
+
11432
+
11433
+ /**
11434
+ * @param {!proto.GetPurchaseOrderItemServicePreload=} opt_value
11435
+ * @param {number=} opt_index
11436
+ * @return {!proto.GetPurchaseOrderItemServicePreload}
11437
+ */
11438
+ proto.GetPurchaseOrderItemPreload.prototype.addTransactionBuilderItemServices = function(opt_value, opt_index) {
11439
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.GetPurchaseOrderItemServicePreload, opt_index);
11440
+ };
11441
+
11442
+
11443
+ /**
11444
+ * Clears the list making it empty but non-null.
11445
+ * @return {!proto.GetPurchaseOrderItemPreload} returns this
11446
+ */
11447
+ proto.GetPurchaseOrderItemPreload.prototype.clearTransactionBuilderItemServicesList = function() {
11448
+ return this.setTransactionBuilderItemServicesList([]);
11449
+ };
11450
+
11451
+
10689
11452
 
10690
11453
  /**
10691
11454
  * List of repeated fields within this message type.
@@ -10847,6 +11610,166 @@ proto.GetPurchaseOrderItemDetailPreload.prototype.clearTransactionBuilderItemDet
10847
11610
 
10848
11611
 
10849
11612
 
11613
+ /**
11614
+ * List of repeated fields within this message type.
11615
+ * @private {!Array<number>}
11616
+ * @const
11617
+ */
11618
+ proto.GetPurchaseOrderItemServicePreload.repeatedFields_ = [1];
11619
+
11620
+
11621
+
11622
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11623
+ /**
11624
+ * Creates an object representation of this proto.
11625
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11626
+ * Optional fields that are not set will be set to undefined.
11627
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11628
+ * For the list of reserved names please see:
11629
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11630
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11631
+ * JSPB instance for transitional soy proto support:
11632
+ * http://goto/soy-param-migration
11633
+ * @return {!Object}
11634
+ */
11635
+ proto.GetPurchaseOrderItemServicePreload.prototype.toObject = function(opt_includeInstance) {
11636
+ return proto.GetPurchaseOrderItemServicePreload.toObject(opt_includeInstance, this);
11637
+ };
11638
+
11639
+
11640
+ /**
11641
+ * Static version of the {@see toObject} method.
11642
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11643
+ * the JSPB instance for transitional soy proto support:
11644
+ * http://goto/soy-param-migration
11645
+ * @param {!proto.GetPurchaseOrderItemServicePreload} msg The msg instance to transform.
11646
+ * @return {!Object}
11647
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11648
+ */
11649
+ proto.GetPurchaseOrderItemServicePreload.toObject = function(includeInstance, msg) {
11650
+ var f, obj = {
11651
+ transactionBuilderItemServiceList: jspb.Message.toObjectList(msg.getTransactionBuilderItemServiceList(),
11652
+ prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance)
11653
+ };
11654
+
11655
+ if (includeInstance) {
11656
+ obj.$jspbMessageInstance = msg;
11657
+ }
11658
+ return obj;
11659
+ };
11660
+ }
11661
+
11662
+
11663
+ /**
11664
+ * Deserializes binary data (in protobuf wire format).
11665
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11666
+ * @return {!proto.GetPurchaseOrderItemServicePreload}
11667
+ */
11668
+ proto.GetPurchaseOrderItemServicePreload.deserializeBinary = function(bytes) {
11669
+ var reader = new jspb.BinaryReader(bytes);
11670
+ var msg = new proto.GetPurchaseOrderItemServicePreload;
11671
+ return proto.GetPurchaseOrderItemServicePreload.deserializeBinaryFromReader(msg, reader);
11672
+ };
11673
+
11674
+
11675
+ /**
11676
+ * Deserializes binary data (in protobuf wire format) from the
11677
+ * given reader into the given message object.
11678
+ * @param {!proto.GetPurchaseOrderItemServicePreload} msg The message object to deserialize into.
11679
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11680
+ * @return {!proto.GetPurchaseOrderItemServicePreload}
11681
+ */
11682
+ proto.GetPurchaseOrderItemServicePreload.deserializeBinaryFromReader = function(msg, reader) {
11683
+ while (reader.nextField()) {
11684
+ if (reader.isEndGroup()) {
11685
+ break;
11686
+ }
11687
+ var field = reader.getFieldNumber();
11688
+ switch (field) {
11689
+ case 1:
11690
+ var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail;
11691
+ reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.deserializeBinaryFromReader);
11692
+ msg.addTransactionBuilderItemService(value);
11693
+ break;
11694
+ default:
11695
+ reader.skipField();
11696
+ break;
11697
+ }
11698
+ }
11699
+ return msg;
11700
+ };
11701
+
11702
+
11703
+ /**
11704
+ * Serializes the message to binary data (in protobuf wire format).
11705
+ * @return {!Uint8Array}
11706
+ */
11707
+ proto.GetPurchaseOrderItemServicePreload.prototype.serializeBinary = function() {
11708
+ var writer = new jspb.BinaryWriter();
11709
+ proto.GetPurchaseOrderItemServicePreload.serializeBinaryToWriter(this, writer);
11710
+ return writer.getResultBuffer();
11711
+ };
11712
+
11713
+
11714
+ /**
11715
+ * Serializes the given message to binary data (in protobuf wire
11716
+ * format), writing to the given BinaryWriter.
11717
+ * @param {!proto.GetPurchaseOrderItemServicePreload} message
11718
+ * @param {!jspb.BinaryWriter} writer
11719
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11720
+ */
11721
+ proto.GetPurchaseOrderItemServicePreload.serializeBinaryToWriter = function(message, writer) {
11722
+ var f = undefined;
11723
+ f = message.getTransactionBuilderItemServiceList();
11724
+ if (f.length > 0) {
11725
+ writer.writeRepeatedMessage(
11726
+ 1,
11727
+ f,
11728
+ prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.serializeBinaryToWriter
11729
+ );
11730
+ }
11731
+ };
11732
+
11733
+
11734
+ /**
11735
+ * repeated TransactionBuilderFieldsDetail transaction_builder_item_service = 1;
11736
+ * @return {!Array<!proto.TransactionBuilderFieldsDetail>}
11737
+ */
11738
+ proto.GetPurchaseOrderItemServicePreload.prototype.getTransactionBuilderItemServiceList = function() {
11739
+ return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
11740
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
11741
+ };
11742
+
11743
+
11744
+ /**
11745
+ * @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
11746
+ * @return {!proto.GetPurchaseOrderItemServicePreload} returns this
11747
+ */
11748
+ proto.GetPurchaseOrderItemServicePreload.prototype.setTransactionBuilderItemServiceList = function(value) {
11749
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
11750
+ };
11751
+
11752
+
11753
+ /**
11754
+ * @param {!proto.TransactionBuilderFieldsDetail=} opt_value
11755
+ * @param {number=} opt_index
11756
+ * @return {!proto.TransactionBuilderFieldsDetail}
11757
+ */
11758
+ proto.GetPurchaseOrderItemServicePreload.prototype.addTransactionBuilderItemService = function(opt_value, opt_index) {
11759
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
11760
+ };
11761
+
11762
+
11763
+ /**
11764
+ * Clears the list making it empty but non-null.
11765
+ * @return {!proto.GetPurchaseOrderItemServicePreload} returns this
11766
+ */
11767
+ proto.GetPurchaseOrderItemServicePreload.prototype.clearTransactionBuilderItemServiceList = function() {
11768
+ return this.setTransactionBuilderItemServiceList([]);
11769
+ };
11770
+
11771
+
11772
+
10850
11773
  /**
10851
11774
  * List of repeated fields within this message type.
10852
11775
  * @private {!Array<number>}