@aldiokta/protocgen 1.1.51 → 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.
- package/package.json +1 -1
- package/prisca/v1/bidding/bidding_grpc_pb.js +23 -0
- package/prisca/v1/bidding/bidding_pb.js +463 -2
- package/prisca/v1/business_fields/business_fields_grpc_pb.js +33 -0
- package/prisca/v1/business_fields/business_fields_pb.js +356 -0
- package/prisca/v1/core/access_api/access_api_grpc_pb.js +204 -0
- package/prisca/v1/core/access_api/access_api_pb.js +3024 -0
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +66 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +1346 -2
- package/prisca/v1/core/attribute/attribute_grpc_pb.js +474 -0
- package/prisca/v1/core/attribute/attribute_pb.js +6550 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +22 -0
- package/prisca/v1/core/auth/auth_pb.js +152 -0
- package/prisca/v1/core/commodity/commodity_grpc_pb.js +156 -0
- package/prisca/v1/core/commodity/commodity_pb.js +1988 -0
- package/prisca/v1/core/employee/employee_grpc_pb.js +14 -3
- package/prisca/v1/core/employee/employee_pb.js +203 -0
- package/prisca/v1/core/identity_provider/identity_provider_grpc_pb.js +156 -0
- package/prisca/v1/core/identity_provider/identity_provider_pb.js +2018 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +62 -2
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +65 -35
- package/prisca/v1/core/material/material_grpc_pb.js +2 -0
- package/prisca/v1/core/material/material_pb.js +420 -2
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +33 -0
- package/prisca/v1/core/messaging/email_template_pb.js +385 -0
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +33 -0
- package/prisca/v1/core/number_range/number_range_pb.js +385 -0
- package/prisca/v1/core/report/report_pb.js +31 -1
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +364 -0
- package/prisca/v1/core/users/users_grpc_pb.js +1 -0
- package/prisca/v1/core/users/users_pb.js +2 -0
- package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +33 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +33 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +36 -6
- package/prisca/v1/invoice/invoice_grpc_pb.js +33 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +33 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +717 -29
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +35 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +112 -57
- package/prisca/v1/quotation/quotation_pb.js +55 -2
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -123
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +34 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +1365 -0
package/package.json
CHANGED
|
@@ -11,8 +11,20 @@ var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../pris
|
|
|
11
11
|
var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
|
|
12
12
|
var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
13
13
|
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
14
|
+
var prisca_v1_core_line_of_approval_line_of_approval_pb = require('../../../prisca/v1/core/line_of_approval/line_of_approval_pb.js');
|
|
14
15
|
var prisca_v1_request_for_quotation_request_for_quotation_pb = require('../../../prisca/v1/request_for_quotation/request_for_quotation_pb.js');
|
|
15
16
|
|
|
17
|
+
function serialize_BaseRequestBiddingExternal(arg) {
|
|
18
|
+
if (!(arg instanceof prisca_v1_bidding_bidding_pb.BaseRequestBiddingExternal)) {
|
|
19
|
+
throw new Error('Expected argument of type BaseRequestBiddingExternal');
|
|
20
|
+
}
|
|
21
|
+
return Buffer.from(arg.serializeBinary());
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function deserialize_BaseRequestBiddingExternal(buffer_arg) {
|
|
25
|
+
return prisca_v1_bidding_bidding_pb.BaseRequestBiddingExternal.deserializeBinary(new Uint8Array(buffer_arg));
|
|
26
|
+
}
|
|
27
|
+
|
|
16
28
|
function serialize_CreateBiddingRequest(arg) {
|
|
17
29
|
if (!(arg instanceof prisca_v1_bidding_bidding_pb.CreateBiddingRequest)) {
|
|
18
30
|
throw new Error('Expected argument of type CreateBiddingRequest');
|
|
@@ -356,6 +368,17 @@ var BiddingServiceService = exports.BiddingServiceService = {
|
|
|
356
368
|
responseSerialize: serialize_ResponseBidding,
|
|
357
369
|
responseDeserialize: deserialize_ResponseBidding,
|
|
358
370
|
},
|
|
371
|
+
requestBiddingExternal: {
|
|
372
|
+
path: '/BiddingService/RequestBiddingExternal',
|
|
373
|
+
requestStream: false,
|
|
374
|
+
responseStream: false,
|
|
375
|
+
requestType: prisca_v1_bidding_bidding_pb.BaseRequestBiddingExternal,
|
|
376
|
+
responseType: prisca_v1_bidding_bidding_pb.ResponseBidding,
|
|
377
|
+
requestSerialize: serialize_BaseRequestBiddingExternal,
|
|
378
|
+
requestDeserialize: deserialize_BaseRequestBiddingExternal,
|
|
379
|
+
responseSerialize: serialize_ResponseBidding,
|
|
380
|
+
responseDeserialize: deserialize_ResponseBidding,
|
|
381
|
+
},
|
|
359
382
|
};
|
|
360
383
|
|
|
361
384
|
exports.BiddingServiceClient = grpc.makeGenericClientConstructor(BiddingServiceService, 'BiddingService');
|
|
@@ -31,8 +31,11 @@ var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core
|
|
|
31
31
|
goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
|
|
32
32
|
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
33
33
|
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
34
|
+
var prisca_v1_core_line_of_approval_line_of_approval_pb = require('../../../prisca/v1/core/line_of_approval/line_of_approval_pb.js');
|
|
35
|
+
goog.object.extend(proto, prisca_v1_core_line_of_approval_line_of_approval_pb);
|
|
34
36
|
var prisca_v1_request_for_quotation_request_for_quotation_pb = require('../../../prisca/v1/request_for_quotation/request_for_quotation_pb.js');
|
|
35
37
|
goog.object.extend(proto, prisca_v1_request_for_quotation_request_for_quotation_pb);
|
|
38
|
+
goog.exportSymbol('proto.BaseRequestBiddingExternal', null, global);
|
|
36
39
|
goog.exportSymbol('proto.Bidding', null, global);
|
|
37
40
|
goog.exportSymbol('proto.CreateBiddingRequest', null, global);
|
|
38
41
|
goog.exportSymbol('proto.DeleteVendorBiddingReq', null, global);
|
|
@@ -44,6 +47,7 @@ goog.exportSymbol('proto.GetDetailBiddingByReferences', null, global);
|
|
|
44
47
|
goog.exportSymbol('proto.GetQuotationDetailPreload', null, global);
|
|
45
48
|
goog.exportSymbol('proto.GetQuotationItemDetailPreload', null, global);
|
|
46
49
|
goog.exportSymbol('proto.GetQuotationItemPreload', null, global);
|
|
50
|
+
goog.exportSymbol('proto.GetQuotationItemServicePreload', null, global);
|
|
47
51
|
goog.exportSymbol('proto.GetQuotationVendorPreload', null, global);
|
|
48
52
|
goog.exportSymbol('proto.Quotation', null, global);
|
|
49
53
|
goog.exportSymbol('proto.RequestAddVendorBidding', null, global);
|
|
@@ -61,6 +65,27 @@ goog.exportSymbol('proto.ResponseGetListBidding', null, global);
|
|
|
61
65
|
goog.exportSymbol('proto.ResponseRequestPo', null, global);
|
|
62
66
|
goog.exportSymbol('proto.UpdateBiddingReq', null, global);
|
|
63
67
|
goog.exportSymbol('proto.UpdateBiddingStatusReq', null, global);
|
|
68
|
+
/**
|
|
69
|
+
* Generated by JsPbCodeGenerator.
|
|
70
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
71
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
72
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
73
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
74
|
+
* valid.
|
|
75
|
+
* @extends {jspb.Message}
|
|
76
|
+
* @constructor
|
|
77
|
+
*/
|
|
78
|
+
proto.BaseRequestBiddingExternal = function(opt_data) {
|
|
79
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
80
|
+
};
|
|
81
|
+
goog.inherits(proto.BaseRequestBiddingExternal, jspb.Message);
|
|
82
|
+
if (goog.DEBUG && !COMPILED) {
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
* @override
|
|
86
|
+
*/
|
|
87
|
+
proto.BaseRequestBiddingExternal.displayName = 'proto.BaseRequestBiddingExternal';
|
|
88
|
+
}
|
|
64
89
|
/**
|
|
65
90
|
* Generated by JsPbCodeGenerator.
|
|
66
91
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -523,6 +548,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
523
548
|
*/
|
|
524
549
|
proto.GetQuotationItemDetailPreload.displayName = 'proto.GetQuotationItemDetailPreload';
|
|
525
550
|
}
|
|
551
|
+
/**
|
|
552
|
+
* Generated by JsPbCodeGenerator.
|
|
553
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
554
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
555
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
556
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
557
|
+
* valid.
|
|
558
|
+
* @extends {jspb.Message}
|
|
559
|
+
* @constructor
|
|
560
|
+
*/
|
|
561
|
+
proto.GetQuotationItemServicePreload = function(opt_data) {
|
|
562
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetQuotationItemServicePreload.repeatedFields_, null);
|
|
563
|
+
};
|
|
564
|
+
goog.inherits(proto.GetQuotationItemServicePreload, jspb.Message);
|
|
565
|
+
if (goog.DEBUG && !COMPILED) {
|
|
566
|
+
/**
|
|
567
|
+
* @public
|
|
568
|
+
* @override
|
|
569
|
+
*/
|
|
570
|
+
proto.GetQuotationItemServicePreload.displayName = 'proto.GetQuotationItemServicePreload';
|
|
571
|
+
}
|
|
526
572
|
/**
|
|
527
573
|
* Generated by JsPbCodeGenerator.
|
|
528
574
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -650,6 +696,208 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
650
696
|
proto.DeleteVendorBiddingRes.displayName = 'proto.DeleteVendorBiddingRes';
|
|
651
697
|
}
|
|
652
698
|
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
702
|
+
/**
|
|
703
|
+
* Creates an object representation of this proto.
|
|
704
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
705
|
+
* Optional fields that are not set will be set to undefined.
|
|
706
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
707
|
+
* For the list of reserved names please see:
|
|
708
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
709
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
710
|
+
* JSPB instance for transitional soy proto support:
|
|
711
|
+
* http://goto/soy-param-migration
|
|
712
|
+
* @return {!Object}
|
|
713
|
+
*/
|
|
714
|
+
proto.BaseRequestBiddingExternal.prototype.toObject = function(opt_includeInstance) {
|
|
715
|
+
return proto.BaseRequestBiddingExternal.toObject(opt_includeInstance, this);
|
|
716
|
+
};
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* Static version of the {@see toObject} method.
|
|
721
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
722
|
+
* the JSPB instance for transitional soy proto support:
|
|
723
|
+
* http://goto/soy-param-migration
|
|
724
|
+
* @param {!proto.BaseRequestBiddingExternal} msg The msg instance to transform.
|
|
725
|
+
* @return {!Object}
|
|
726
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
727
|
+
*/
|
|
728
|
+
proto.BaseRequestBiddingExternal.toObject = function(includeInstance, msg) {
|
|
729
|
+
var f, obj = {
|
|
730
|
+
requestBiddingBase: (f = msg.getRequestBiddingBase()) && proto.RequestBiddingBase.toObject(includeInstance, f),
|
|
731
|
+
lineOfApproval: (f = msg.getLineOfApproval()) && prisca_v1_core_line_of_approval_line_of_approval_pb.BaseListAllLineOfApproval.toObject(includeInstance, f)
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
if (includeInstance) {
|
|
735
|
+
obj.$jspbMessageInstance = msg;
|
|
736
|
+
}
|
|
737
|
+
return obj;
|
|
738
|
+
};
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Deserializes binary data (in protobuf wire format).
|
|
744
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
745
|
+
* @return {!proto.BaseRequestBiddingExternal}
|
|
746
|
+
*/
|
|
747
|
+
proto.BaseRequestBiddingExternal.deserializeBinary = function(bytes) {
|
|
748
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
749
|
+
var msg = new proto.BaseRequestBiddingExternal;
|
|
750
|
+
return proto.BaseRequestBiddingExternal.deserializeBinaryFromReader(msg, reader);
|
|
751
|
+
};
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
756
|
+
* given reader into the given message object.
|
|
757
|
+
* @param {!proto.BaseRequestBiddingExternal} msg The message object to deserialize into.
|
|
758
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
759
|
+
* @return {!proto.BaseRequestBiddingExternal}
|
|
760
|
+
*/
|
|
761
|
+
proto.BaseRequestBiddingExternal.deserializeBinaryFromReader = function(msg, reader) {
|
|
762
|
+
while (reader.nextField()) {
|
|
763
|
+
if (reader.isEndGroup()) {
|
|
764
|
+
break;
|
|
765
|
+
}
|
|
766
|
+
var field = reader.getFieldNumber();
|
|
767
|
+
switch (field) {
|
|
768
|
+
case 1:
|
|
769
|
+
var value = new proto.RequestBiddingBase;
|
|
770
|
+
reader.readMessage(value,proto.RequestBiddingBase.deserializeBinaryFromReader);
|
|
771
|
+
msg.setRequestBiddingBase(value);
|
|
772
|
+
break;
|
|
773
|
+
case 2:
|
|
774
|
+
var value = new prisca_v1_core_line_of_approval_line_of_approval_pb.BaseListAllLineOfApproval;
|
|
775
|
+
reader.readMessage(value,prisca_v1_core_line_of_approval_line_of_approval_pb.BaseListAllLineOfApproval.deserializeBinaryFromReader);
|
|
776
|
+
msg.setLineOfApproval(value);
|
|
777
|
+
break;
|
|
778
|
+
default:
|
|
779
|
+
reader.skipField();
|
|
780
|
+
break;
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
return msg;
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
789
|
+
* @return {!Uint8Array}
|
|
790
|
+
*/
|
|
791
|
+
proto.BaseRequestBiddingExternal.prototype.serializeBinary = function() {
|
|
792
|
+
var writer = new jspb.BinaryWriter();
|
|
793
|
+
proto.BaseRequestBiddingExternal.serializeBinaryToWriter(this, writer);
|
|
794
|
+
return writer.getResultBuffer();
|
|
795
|
+
};
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
800
|
+
* format), writing to the given BinaryWriter.
|
|
801
|
+
* @param {!proto.BaseRequestBiddingExternal} message
|
|
802
|
+
* @param {!jspb.BinaryWriter} writer
|
|
803
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
804
|
+
*/
|
|
805
|
+
proto.BaseRequestBiddingExternal.serializeBinaryToWriter = function(message, writer) {
|
|
806
|
+
var f = undefined;
|
|
807
|
+
f = message.getRequestBiddingBase();
|
|
808
|
+
if (f != null) {
|
|
809
|
+
writer.writeMessage(
|
|
810
|
+
1,
|
|
811
|
+
f,
|
|
812
|
+
proto.RequestBiddingBase.serializeBinaryToWriter
|
|
813
|
+
);
|
|
814
|
+
}
|
|
815
|
+
f = message.getLineOfApproval();
|
|
816
|
+
if (f != null) {
|
|
817
|
+
writer.writeMessage(
|
|
818
|
+
2,
|
|
819
|
+
f,
|
|
820
|
+
prisca_v1_core_line_of_approval_line_of_approval_pb.BaseListAllLineOfApproval.serializeBinaryToWriter
|
|
821
|
+
);
|
|
822
|
+
}
|
|
823
|
+
};
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* optional RequestBiddingBase request_bidding_base = 1;
|
|
828
|
+
* @return {?proto.RequestBiddingBase}
|
|
829
|
+
*/
|
|
830
|
+
proto.BaseRequestBiddingExternal.prototype.getRequestBiddingBase = function() {
|
|
831
|
+
return /** @type{?proto.RequestBiddingBase} */ (
|
|
832
|
+
jspb.Message.getWrapperField(this, proto.RequestBiddingBase, 1));
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* @param {?proto.RequestBiddingBase|undefined} value
|
|
838
|
+
* @return {!proto.BaseRequestBiddingExternal} returns this
|
|
839
|
+
*/
|
|
840
|
+
proto.BaseRequestBiddingExternal.prototype.setRequestBiddingBase = function(value) {
|
|
841
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
842
|
+
};
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* Clears the message field making it undefined.
|
|
847
|
+
* @return {!proto.BaseRequestBiddingExternal} returns this
|
|
848
|
+
*/
|
|
849
|
+
proto.BaseRequestBiddingExternal.prototype.clearRequestBiddingBase = function() {
|
|
850
|
+
return this.setRequestBiddingBase(undefined);
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* Returns whether this field is set.
|
|
856
|
+
* @return {boolean}
|
|
857
|
+
*/
|
|
858
|
+
proto.BaseRequestBiddingExternal.prototype.hasRequestBiddingBase = function() {
|
|
859
|
+
return jspb.Message.getField(this, 1) != null;
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* optional BaseListAllLineOfApproval line_of_approval = 2;
|
|
865
|
+
* @return {?proto.BaseListAllLineOfApproval}
|
|
866
|
+
*/
|
|
867
|
+
proto.BaseRequestBiddingExternal.prototype.getLineOfApproval = function() {
|
|
868
|
+
return /** @type{?proto.BaseListAllLineOfApproval} */ (
|
|
869
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_line_of_approval_line_of_approval_pb.BaseListAllLineOfApproval, 2));
|
|
870
|
+
};
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* @param {?proto.BaseListAllLineOfApproval|undefined} value
|
|
875
|
+
* @return {!proto.BaseRequestBiddingExternal} returns this
|
|
876
|
+
*/
|
|
877
|
+
proto.BaseRequestBiddingExternal.prototype.setLineOfApproval = function(value) {
|
|
878
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
879
|
+
};
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* Clears the message field making it undefined.
|
|
884
|
+
* @return {!proto.BaseRequestBiddingExternal} returns this
|
|
885
|
+
*/
|
|
886
|
+
proto.BaseRequestBiddingExternal.prototype.clearLineOfApproval = function() {
|
|
887
|
+
return this.setLineOfApproval(undefined);
|
|
888
|
+
};
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* Returns whether this field is set.
|
|
893
|
+
* @return {boolean}
|
|
894
|
+
*/
|
|
895
|
+
proto.BaseRequestBiddingExternal.prototype.hasLineOfApproval = function() {
|
|
896
|
+
return jspb.Message.getField(this, 2) != null;
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
|
|
653
901
|
/**
|
|
654
902
|
* List of repeated fields within this message type.
|
|
655
903
|
* @private {!Array<number>}
|
|
@@ -7390,7 +7638,7 @@ proto.GetQuotationDetailPreload.prototype.clearTransactionBuilderVendorsList = f
|
|
|
7390
7638
|
* @private {!Array<number>}
|
|
7391
7639
|
* @const
|
|
7392
7640
|
*/
|
|
7393
|
-
proto.GetQuotationItemPreload.repeatedFields_ = [1,2];
|
|
7641
|
+
proto.GetQuotationItemPreload.repeatedFields_ = [1,2,3];
|
|
7394
7642
|
|
|
7395
7643
|
|
|
7396
7644
|
|
|
@@ -7426,7 +7674,9 @@ proto.GetQuotationItemPreload.toObject = function(includeInstance, msg) {
|
|
|
7426
7674
|
transactionBuilderItemList: jspb.Message.toObjectList(msg.getTransactionBuilderItemList(),
|
|
7427
7675
|
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance),
|
|
7428
7676
|
transactionBuilderItemDetailsList: jspb.Message.toObjectList(msg.getTransactionBuilderItemDetailsList(),
|
|
7429
|
-
proto.GetQuotationItemDetailPreload.toObject, includeInstance)
|
|
7677
|
+
proto.GetQuotationItemDetailPreload.toObject, includeInstance),
|
|
7678
|
+
transactionBuilderItemServicesList: jspb.Message.toObjectList(msg.getTransactionBuilderItemServicesList(),
|
|
7679
|
+
proto.GetQuotationItemServicePreload.toObject, includeInstance)
|
|
7430
7680
|
};
|
|
7431
7681
|
|
|
7432
7682
|
if (includeInstance) {
|
|
@@ -7473,6 +7723,11 @@ proto.GetQuotationItemPreload.deserializeBinaryFromReader = function(msg, reader
|
|
|
7473
7723
|
reader.readMessage(value,proto.GetQuotationItemDetailPreload.deserializeBinaryFromReader);
|
|
7474
7724
|
msg.addTransactionBuilderItemDetails(value);
|
|
7475
7725
|
break;
|
|
7726
|
+
case 3:
|
|
7727
|
+
var value = new proto.GetQuotationItemServicePreload;
|
|
7728
|
+
reader.readMessage(value,proto.GetQuotationItemServicePreload.deserializeBinaryFromReader);
|
|
7729
|
+
msg.addTransactionBuilderItemServices(value);
|
|
7730
|
+
break;
|
|
7476
7731
|
default:
|
|
7477
7732
|
reader.skipField();
|
|
7478
7733
|
break;
|
|
@@ -7518,6 +7773,14 @@ proto.GetQuotationItemPreload.serializeBinaryToWriter = function(message, writer
|
|
|
7518
7773
|
proto.GetQuotationItemDetailPreload.serializeBinaryToWriter
|
|
7519
7774
|
);
|
|
7520
7775
|
}
|
|
7776
|
+
f = message.getTransactionBuilderItemServicesList();
|
|
7777
|
+
if (f.length > 0) {
|
|
7778
|
+
writer.writeRepeatedMessage(
|
|
7779
|
+
3,
|
|
7780
|
+
f,
|
|
7781
|
+
proto.GetQuotationItemServicePreload.serializeBinaryToWriter
|
|
7782
|
+
);
|
|
7783
|
+
}
|
|
7521
7784
|
};
|
|
7522
7785
|
|
|
7523
7786
|
|
|
@@ -7597,6 +7860,44 @@ proto.GetQuotationItemPreload.prototype.clearTransactionBuilderItemDetailsList =
|
|
|
7597
7860
|
};
|
|
7598
7861
|
|
|
7599
7862
|
|
|
7863
|
+
/**
|
|
7864
|
+
* repeated GetQuotationItemServicePreload transaction_builder_item_services = 3;
|
|
7865
|
+
* @return {!Array<!proto.GetQuotationItemServicePreload>}
|
|
7866
|
+
*/
|
|
7867
|
+
proto.GetQuotationItemPreload.prototype.getTransactionBuilderItemServicesList = function() {
|
|
7868
|
+
return /** @type{!Array<!proto.GetQuotationItemServicePreload>} */ (
|
|
7869
|
+
jspb.Message.getRepeatedWrapperField(this, proto.GetQuotationItemServicePreload, 3));
|
|
7870
|
+
};
|
|
7871
|
+
|
|
7872
|
+
|
|
7873
|
+
/**
|
|
7874
|
+
* @param {!Array<!proto.GetQuotationItemServicePreload>} value
|
|
7875
|
+
* @return {!proto.GetQuotationItemPreload} returns this
|
|
7876
|
+
*/
|
|
7877
|
+
proto.GetQuotationItemPreload.prototype.setTransactionBuilderItemServicesList = function(value) {
|
|
7878
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
7879
|
+
};
|
|
7880
|
+
|
|
7881
|
+
|
|
7882
|
+
/**
|
|
7883
|
+
* @param {!proto.GetQuotationItemServicePreload=} opt_value
|
|
7884
|
+
* @param {number=} opt_index
|
|
7885
|
+
* @return {!proto.GetQuotationItemServicePreload}
|
|
7886
|
+
*/
|
|
7887
|
+
proto.GetQuotationItemPreload.prototype.addTransactionBuilderItemServices = function(opt_value, opt_index) {
|
|
7888
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.GetQuotationItemServicePreload, opt_index);
|
|
7889
|
+
};
|
|
7890
|
+
|
|
7891
|
+
|
|
7892
|
+
/**
|
|
7893
|
+
* Clears the list making it empty but non-null.
|
|
7894
|
+
* @return {!proto.GetQuotationItemPreload} returns this
|
|
7895
|
+
*/
|
|
7896
|
+
proto.GetQuotationItemPreload.prototype.clearTransactionBuilderItemServicesList = function() {
|
|
7897
|
+
return this.setTransactionBuilderItemServicesList([]);
|
|
7898
|
+
};
|
|
7899
|
+
|
|
7900
|
+
|
|
7600
7901
|
|
|
7601
7902
|
/**
|
|
7602
7903
|
* List of repeated fields within this message type.
|
|
@@ -7758,6 +8059,166 @@ proto.GetQuotationItemDetailPreload.prototype.clearTransactionBuilderItemDetailL
|
|
|
7758
8059
|
|
|
7759
8060
|
|
|
7760
8061
|
|
|
8062
|
+
/**
|
|
8063
|
+
* List of repeated fields within this message type.
|
|
8064
|
+
* @private {!Array<number>}
|
|
8065
|
+
* @const
|
|
8066
|
+
*/
|
|
8067
|
+
proto.GetQuotationItemServicePreload.repeatedFields_ = [1];
|
|
8068
|
+
|
|
8069
|
+
|
|
8070
|
+
|
|
8071
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8072
|
+
/**
|
|
8073
|
+
* Creates an object representation of this proto.
|
|
8074
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8075
|
+
* Optional fields that are not set will be set to undefined.
|
|
8076
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8077
|
+
* For the list of reserved names please see:
|
|
8078
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8079
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8080
|
+
* JSPB instance for transitional soy proto support:
|
|
8081
|
+
* http://goto/soy-param-migration
|
|
8082
|
+
* @return {!Object}
|
|
8083
|
+
*/
|
|
8084
|
+
proto.GetQuotationItemServicePreload.prototype.toObject = function(opt_includeInstance) {
|
|
8085
|
+
return proto.GetQuotationItemServicePreload.toObject(opt_includeInstance, this);
|
|
8086
|
+
};
|
|
8087
|
+
|
|
8088
|
+
|
|
8089
|
+
/**
|
|
8090
|
+
* Static version of the {@see toObject} method.
|
|
8091
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8092
|
+
* the JSPB instance for transitional soy proto support:
|
|
8093
|
+
* http://goto/soy-param-migration
|
|
8094
|
+
* @param {!proto.GetQuotationItemServicePreload} msg The msg instance to transform.
|
|
8095
|
+
* @return {!Object}
|
|
8096
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8097
|
+
*/
|
|
8098
|
+
proto.GetQuotationItemServicePreload.toObject = function(includeInstance, msg) {
|
|
8099
|
+
var f, obj = {
|
|
8100
|
+
transactionBuilderItemServiceList: jspb.Message.toObjectList(msg.getTransactionBuilderItemServiceList(),
|
|
8101
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance)
|
|
8102
|
+
};
|
|
8103
|
+
|
|
8104
|
+
if (includeInstance) {
|
|
8105
|
+
obj.$jspbMessageInstance = msg;
|
|
8106
|
+
}
|
|
8107
|
+
return obj;
|
|
8108
|
+
};
|
|
8109
|
+
}
|
|
8110
|
+
|
|
8111
|
+
|
|
8112
|
+
/**
|
|
8113
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8114
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8115
|
+
* @return {!proto.GetQuotationItemServicePreload}
|
|
8116
|
+
*/
|
|
8117
|
+
proto.GetQuotationItemServicePreload.deserializeBinary = function(bytes) {
|
|
8118
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8119
|
+
var msg = new proto.GetQuotationItemServicePreload;
|
|
8120
|
+
return proto.GetQuotationItemServicePreload.deserializeBinaryFromReader(msg, reader);
|
|
8121
|
+
};
|
|
8122
|
+
|
|
8123
|
+
|
|
8124
|
+
/**
|
|
8125
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8126
|
+
* given reader into the given message object.
|
|
8127
|
+
* @param {!proto.GetQuotationItemServicePreload} msg The message object to deserialize into.
|
|
8128
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8129
|
+
* @return {!proto.GetQuotationItemServicePreload}
|
|
8130
|
+
*/
|
|
8131
|
+
proto.GetQuotationItemServicePreload.deserializeBinaryFromReader = function(msg, reader) {
|
|
8132
|
+
while (reader.nextField()) {
|
|
8133
|
+
if (reader.isEndGroup()) {
|
|
8134
|
+
break;
|
|
8135
|
+
}
|
|
8136
|
+
var field = reader.getFieldNumber();
|
|
8137
|
+
switch (field) {
|
|
8138
|
+
case 1:
|
|
8139
|
+
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail;
|
|
8140
|
+
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.deserializeBinaryFromReader);
|
|
8141
|
+
msg.addTransactionBuilderItemService(value);
|
|
8142
|
+
break;
|
|
8143
|
+
default:
|
|
8144
|
+
reader.skipField();
|
|
8145
|
+
break;
|
|
8146
|
+
}
|
|
8147
|
+
}
|
|
8148
|
+
return msg;
|
|
8149
|
+
};
|
|
8150
|
+
|
|
8151
|
+
|
|
8152
|
+
/**
|
|
8153
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8154
|
+
* @return {!Uint8Array}
|
|
8155
|
+
*/
|
|
8156
|
+
proto.GetQuotationItemServicePreload.prototype.serializeBinary = function() {
|
|
8157
|
+
var writer = new jspb.BinaryWriter();
|
|
8158
|
+
proto.GetQuotationItemServicePreload.serializeBinaryToWriter(this, writer);
|
|
8159
|
+
return writer.getResultBuffer();
|
|
8160
|
+
};
|
|
8161
|
+
|
|
8162
|
+
|
|
8163
|
+
/**
|
|
8164
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8165
|
+
* format), writing to the given BinaryWriter.
|
|
8166
|
+
* @param {!proto.GetQuotationItemServicePreload} message
|
|
8167
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8168
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8169
|
+
*/
|
|
8170
|
+
proto.GetQuotationItemServicePreload.serializeBinaryToWriter = function(message, writer) {
|
|
8171
|
+
var f = undefined;
|
|
8172
|
+
f = message.getTransactionBuilderItemServiceList();
|
|
8173
|
+
if (f.length > 0) {
|
|
8174
|
+
writer.writeRepeatedMessage(
|
|
8175
|
+
1,
|
|
8176
|
+
f,
|
|
8177
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.serializeBinaryToWriter
|
|
8178
|
+
);
|
|
8179
|
+
}
|
|
8180
|
+
};
|
|
8181
|
+
|
|
8182
|
+
|
|
8183
|
+
/**
|
|
8184
|
+
* repeated TransactionBuilderFieldsDetail transaction_builder_item_service = 1;
|
|
8185
|
+
* @return {!Array<!proto.TransactionBuilderFieldsDetail>}
|
|
8186
|
+
*/
|
|
8187
|
+
proto.GetQuotationItemServicePreload.prototype.getTransactionBuilderItemServiceList = function() {
|
|
8188
|
+
return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
|
|
8189
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
|
|
8190
|
+
};
|
|
8191
|
+
|
|
8192
|
+
|
|
8193
|
+
/**
|
|
8194
|
+
* @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
|
|
8195
|
+
* @return {!proto.GetQuotationItemServicePreload} returns this
|
|
8196
|
+
*/
|
|
8197
|
+
proto.GetQuotationItemServicePreload.prototype.setTransactionBuilderItemServiceList = function(value) {
|
|
8198
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
8199
|
+
};
|
|
8200
|
+
|
|
8201
|
+
|
|
8202
|
+
/**
|
|
8203
|
+
* @param {!proto.TransactionBuilderFieldsDetail=} opt_value
|
|
8204
|
+
* @param {number=} opt_index
|
|
8205
|
+
* @return {!proto.TransactionBuilderFieldsDetail}
|
|
8206
|
+
*/
|
|
8207
|
+
proto.GetQuotationItemServicePreload.prototype.addTransactionBuilderItemService = function(opt_value, opt_index) {
|
|
8208
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
|
|
8209
|
+
};
|
|
8210
|
+
|
|
8211
|
+
|
|
8212
|
+
/**
|
|
8213
|
+
* Clears the list making it empty but non-null.
|
|
8214
|
+
* @return {!proto.GetQuotationItemServicePreload} returns this
|
|
8215
|
+
*/
|
|
8216
|
+
proto.GetQuotationItemServicePreload.prototype.clearTransactionBuilderItemServiceList = function() {
|
|
8217
|
+
return this.setTransactionBuilderItemServiceList([]);
|
|
8218
|
+
};
|
|
8219
|
+
|
|
8220
|
+
|
|
8221
|
+
|
|
7761
8222
|
/**
|
|
7762
8223
|
* List of repeated fields within this message type.
|
|
7763
8224
|
* @private {!Array<number>}
|
|
@@ -18,6 +18,17 @@ function deserialize_CreateBusinessFieldsRequest(buffer_arg) {
|
|
|
18
18
|
return prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
function serialize_CreateBusinessFieldsRequestDefault(arg) {
|
|
22
|
+
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsRequestDefault)) {
|
|
23
|
+
throw new Error('Expected argument of type CreateBusinessFieldsRequestDefault');
|
|
24
|
+
}
|
|
25
|
+
return Buffer.from(arg.serializeBinary());
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function deserialize_CreateBusinessFieldsRequestDefault(buffer_arg) {
|
|
29
|
+
return prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsRequestDefault.deserializeBinary(new Uint8Array(buffer_arg));
|
|
30
|
+
}
|
|
31
|
+
|
|
21
32
|
function serialize_CreateBusinessFieldsResponse(arg) {
|
|
22
33
|
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsResponse)) {
|
|
23
34
|
throw new Error('Expected argument of type CreateBusinessFieldsResponse');
|
|
@@ -29,6 +40,17 @@ function deserialize_CreateBusinessFieldsResponse(buffer_arg) {
|
|
|
29
40
|
return prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
30
41
|
}
|
|
31
42
|
|
|
43
|
+
function serialize_CreateBusinessFieldsResponseDefault(arg) {
|
|
44
|
+
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsResponseDefault)) {
|
|
45
|
+
throw new Error('Expected argument of type CreateBusinessFieldsResponseDefault');
|
|
46
|
+
}
|
|
47
|
+
return Buffer.from(arg.serializeBinary());
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function deserialize_CreateBusinessFieldsResponseDefault(buffer_arg) {
|
|
51
|
+
return prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsResponseDefault.deserializeBinary(new Uint8Array(buffer_arg));
|
|
52
|
+
}
|
|
53
|
+
|
|
32
54
|
function serialize_DeleteBusinessFieldsRequest(arg) {
|
|
33
55
|
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.DeleteBusinessFieldsRequest)) {
|
|
34
56
|
throw new Error('Expected argument of type DeleteBusinessFieldsRequest');
|
|
@@ -131,6 +153,17 @@ var BusinessFieldsServiceService = exports.BusinessFieldsServiceService = {
|
|
|
131
153
|
responseSerialize: serialize_CreateBusinessFieldsResponse,
|
|
132
154
|
responseDeserialize: deserialize_CreateBusinessFieldsResponse,
|
|
133
155
|
},
|
|
156
|
+
createBusinessFieldsDefault: {
|
|
157
|
+
path: '/BusinessFieldsService/CreateBusinessFieldsDefault',
|
|
158
|
+
requestStream: false,
|
|
159
|
+
responseStream: false,
|
|
160
|
+
requestType: prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsRequestDefault,
|
|
161
|
+
responseType: prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsResponseDefault,
|
|
162
|
+
requestSerialize: serialize_CreateBusinessFieldsRequestDefault,
|
|
163
|
+
requestDeserialize: deserialize_CreateBusinessFieldsRequestDefault,
|
|
164
|
+
responseSerialize: serialize_CreateBusinessFieldsResponseDefault,
|
|
165
|
+
responseDeserialize: deserialize_CreateBusinessFieldsResponseDefault,
|
|
166
|
+
},
|
|
134
167
|
getBusinessFieldsById: {
|
|
135
168
|
path: '/BusinessFieldsService/GetBusinessFieldsById',
|
|
136
169
|
requestStream: false,
|