@aldiokta/protocgen 1.1.40 → 1.1.42
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_pb.js +31 -1
- package/prisca/v1/core/access_manager/access_manager_pb.js +1367 -504
- package/prisca/v1/core/auth/auth_pb.js +18 -14
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +231 -7
- package/prisca/v1/core/messaging/notification_grpc_pb.js +129 -8
- package/prisca/v1/core/messaging/notification_pb.js +1815 -197
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +22 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +370 -23
- package/prisca/v1/invoice/invoice_grpc_pb.js +55 -0
- package/prisca/v1/invoice/invoice_pb.js +778 -16
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +22 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +370 -23
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +55 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +673 -1
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +55 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +674 -2
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +9911 -2373
|
@@ -28,6 +28,8 @@ goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
|
|
|
28
28
|
var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
29
29
|
goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
|
|
30
30
|
goog.exportSymbol('proto.Creator', null, global);
|
|
31
|
+
goog.exportSymbol('proto.DeleteRFQRequest', null, global);
|
|
32
|
+
goog.exportSymbol('proto.DeleteRFQResponse', null, global);
|
|
31
33
|
goog.exportSymbol('proto.GetByIdRFQ', null, global);
|
|
32
34
|
goog.exportSymbol('proto.GetByIdRFQResponse', null, global);
|
|
33
35
|
goog.exportSymbol('proto.GetByIdWithDetailRFQ', null, global);
|
|
@@ -44,6 +46,7 @@ goog.exportSymbol('proto.RequestRFQ', null, global);
|
|
|
44
46
|
goog.exportSymbol('proto.ResponseRFQ', null, global);
|
|
45
47
|
goog.exportSymbol('proto.UpdateRFQ', null, global);
|
|
46
48
|
goog.exportSymbol('proto.UpdateRFQResponse', null, global);
|
|
49
|
+
goog.exportSymbol('proto.UpdateRequestForQuotationFileReq', null, global);
|
|
47
50
|
goog.exportSymbol('proto.UpdateRequestForQuotationStatusReq', null, global);
|
|
48
51
|
goog.exportSymbol('proto.UpdateRequestForQuotationVendorReq', null, global);
|
|
49
52
|
goog.exportSymbol('proto.UpdateRequestForQuotationVendorRes', null, global);
|
|
@@ -68,6 +71,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
68
71
|
*/
|
|
69
72
|
proto.UpdateRequestForQuotationStatusReq.displayName = 'proto.UpdateRequestForQuotationStatusReq';
|
|
70
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Generated by JsPbCodeGenerator.
|
|
76
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
77
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
78
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
79
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
80
|
+
* valid.
|
|
81
|
+
* @extends {jspb.Message}
|
|
82
|
+
* @constructor
|
|
83
|
+
*/
|
|
84
|
+
proto.UpdateRequestForQuotationFileReq = function(opt_data) {
|
|
85
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.UpdateRequestForQuotationFileReq.repeatedFields_, null);
|
|
86
|
+
};
|
|
87
|
+
goog.inherits(proto.UpdateRequestForQuotationFileReq, jspb.Message);
|
|
88
|
+
if (goog.DEBUG && !COMPILED) {
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* @override
|
|
92
|
+
*/
|
|
93
|
+
proto.UpdateRequestForQuotationFileReq.displayName = 'proto.UpdateRequestForQuotationFileReq';
|
|
94
|
+
}
|
|
71
95
|
/**
|
|
72
96
|
* Generated by JsPbCodeGenerator.
|
|
73
97
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -257,6 +281,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
257
281
|
*/
|
|
258
282
|
proto.GetByIdWithDetailRFQ.displayName = 'proto.GetByIdWithDetailRFQ';
|
|
259
283
|
}
|
|
284
|
+
/**
|
|
285
|
+
* Generated by JsPbCodeGenerator.
|
|
286
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
287
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
288
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
289
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
290
|
+
* valid.
|
|
291
|
+
* @extends {jspb.Message}
|
|
292
|
+
* @constructor
|
|
293
|
+
*/
|
|
294
|
+
proto.DeleteRFQRequest = function(opt_data) {
|
|
295
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteRFQRequest.repeatedFields_, null);
|
|
296
|
+
};
|
|
297
|
+
goog.inherits(proto.DeleteRFQRequest, jspb.Message);
|
|
298
|
+
if (goog.DEBUG && !COMPILED) {
|
|
299
|
+
/**
|
|
300
|
+
* @public
|
|
301
|
+
* @override
|
|
302
|
+
*/
|
|
303
|
+
proto.DeleteRFQRequest.displayName = 'proto.DeleteRFQRequest';
|
|
304
|
+
}
|
|
260
305
|
/**
|
|
261
306
|
* Generated by JsPbCodeGenerator.
|
|
262
307
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -467,6 +512,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
467
512
|
*/
|
|
468
513
|
proto.UpdateRequestForQuotationVendorRes.displayName = 'proto.UpdateRequestForQuotationVendorRes';
|
|
469
514
|
}
|
|
515
|
+
/**
|
|
516
|
+
* Generated by JsPbCodeGenerator.
|
|
517
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
518
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
519
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
520
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
521
|
+
* valid.
|
|
522
|
+
* @extends {jspb.Message}
|
|
523
|
+
* @constructor
|
|
524
|
+
*/
|
|
525
|
+
proto.DeleteRFQResponse = function(opt_data) {
|
|
526
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteRFQResponse.repeatedFields_, null);
|
|
527
|
+
};
|
|
528
|
+
goog.inherits(proto.DeleteRFQResponse, jspb.Message);
|
|
529
|
+
if (goog.DEBUG && !COMPILED) {
|
|
530
|
+
/**
|
|
531
|
+
* @public
|
|
532
|
+
* @override
|
|
533
|
+
*/
|
|
534
|
+
proto.DeleteRFQResponse.displayName = 'proto.DeleteRFQResponse';
|
|
535
|
+
}
|
|
470
536
|
|
|
471
537
|
|
|
472
538
|
|
|
@@ -628,6 +694,249 @@ proto.UpdateRequestForQuotationStatusReq.prototype.setReferencesId = function(va
|
|
|
628
694
|
|
|
629
695
|
|
|
630
696
|
|
|
697
|
+
/**
|
|
698
|
+
* List of repeated fields within this message type.
|
|
699
|
+
* @private {!Array<number>}
|
|
700
|
+
* @const
|
|
701
|
+
*/
|
|
702
|
+
proto.UpdateRequestForQuotationFileReq.repeatedFields_ = [2,3];
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
707
|
+
/**
|
|
708
|
+
* Creates an object representation of this proto.
|
|
709
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
710
|
+
* Optional fields that are not set will be set to undefined.
|
|
711
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
712
|
+
* For the list of reserved names please see:
|
|
713
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
714
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
715
|
+
* JSPB instance for transitional soy proto support:
|
|
716
|
+
* http://goto/soy-param-migration
|
|
717
|
+
* @return {!Object}
|
|
718
|
+
*/
|
|
719
|
+
proto.UpdateRequestForQuotationFileReq.prototype.toObject = function(opt_includeInstance) {
|
|
720
|
+
return proto.UpdateRequestForQuotationFileReq.toObject(opt_includeInstance, this);
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* Static version of the {@see toObject} method.
|
|
726
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
727
|
+
* the JSPB instance for transitional soy proto support:
|
|
728
|
+
* http://goto/soy-param-migration
|
|
729
|
+
* @param {!proto.UpdateRequestForQuotationFileReq} msg The msg instance to transform.
|
|
730
|
+
* @return {!Object}
|
|
731
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
732
|
+
*/
|
|
733
|
+
proto.UpdateRequestForQuotationFileReq.toObject = function(includeInstance, msg) {
|
|
734
|
+
var f, obj = {
|
|
735
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
736
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
737
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
738
|
+
itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
739
|
+
prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction.toObject, includeInstance)
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
if (includeInstance) {
|
|
743
|
+
obj.$jspbMessageInstance = msg;
|
|
744
|
+
}
|
|
745
|
+
return obj;
|
|
746
|
+
};
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Deserializes binary data (in protobuf wire format).
|
|
752
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
753
|
+
* @return {!proto.UpdateRequestForQuotationFileReq}
|
|
754
|
+
*/
|
|
755
|
+
proto.UpdateRequestForQuotationFileReq.deserializeBinary = function(bytes) {
|
|
756
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
757
|
+
var msg = new proto.UpdateRequestForQuotationFileReq;
|
|
758
|
+
return proto.UpdateRequestForQuotationFileReq.deserializeBinaryFromReader(msg, reader);
|
|
759
|
+
};
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
764
|
+
* given reader into the given message object.
|
|
765
|
+
* @param {!proto.UpdateRequestForQuotationFileReq} msg The message object to deserialize into.
|
|
766
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
767
|
+
* @return {!proto.UpdateRequestForQuotationFileReq}
|
|
768
|
+
*/
|
|
769
|
+
proto.UpdateRequestForQuotationFileReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
770
|
+
while (reader.nextField()) {
|
|
771
|
+
if (reader.isEndGroup()) {
|
|
772
|
+
break;
|
|
773
|
+
}
|
|
774
|
+
var field = reader.getFieldNumber();
|
|
775
|
+
switch (field) {
|
|
776
|
+
case 1:
|
|
777
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
778
|
+
msg.setReferencesId(value);
|
|
779
|
+
break;
|
|
780
|
+
case 2:
|
|
781
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
782
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
783
|
+
msg.addFiles(value);
|
|
784
|
+
break;
|
|
785
|
+
case 3:
|
|
786
|
+
var value = new prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction;
|
|
787
|
+
reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction.deserializeBinaryFromReader);
|
|
788
|
+
msg.addItemTransactions(value);
|
|
789
|
+
break;
|
|
790
|
+
default:
|
|
791
|
+
reader.skipField();
|
|
792
|
+
break;
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
return msg;
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
801
|
+
* @return {!Uint8Array}
|
|
802
|
+
*/
|
|
803
|
+
proto.UpdateRequestForQuotationFileReq.prototype.serializeBinary = function() {
|
|
804
|
+
var writer = new jspb.BinaryWriter();
|
|
805
|
+
proto.UpdateRequestForQuotationFileReq.serializeBinaryToWriter(this, writer);
|
|
806
|
+
return writer.getResultBuffer();
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
812
|
+
* format), writing to the given BinaryWriter.
|
|
813
|
+
* @param {!proto.UpdateRequestForQuotationFileReq} message
|
|
814
|
+
* @param {!jspb.BinaryWriter} writer
|
|
815
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
816
|
+
*/
|
|
817
|
+
proto.UpdateRequestForQuotationFileReq.serializeBinaryToWriter = function(message, writer) {
|
|
818
|
+
var f = undefined;
|
|
819
|
+
f = message.getReferencesId();
|
|
820
|
+
if (f.length > 0) {
|
|
821
|
+
writer.writeString(
|
|
822
|
+
1,
|
|
823
|
+
f
|
|
824
|
+
);
|
|
825
|
+
}
|
|
826
|
+
f = message.getFilesList();
|
|
827
|
+
if (f.length > 0) {
|
|
828
|
+
writer.writeRepeatedMessage(
|
|
829
|
+
2,
|
|
830
|
+
f,
|
|
831
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
832
|
+
);
|
|
833
|
+
}
|
|
834
|
+
f = message.getItemTransactionsList();
|
|
835
|
+
if (f.length > 0) {
|
|
836
|
+
writer.writeRepeatedMessage(
|
|
837
|
+
3,
|
|
838
|
+
f,
|
|
839
|
+
prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction.serializeBinaryToWriter
|
|
840
|
+
);
|
|
841
|
+
}
|
|
842
|
+
};
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* optional string references_id = 1;
|
|
847
|
+
* @return {string}
|
|
848
|
+
*/
|
|
849
|
+
proto.UpdateRequestForQuotationFileReq.prototype.getReferencesId = function() {
|
|
850
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* @param {string} value
|
|
856
|
+
* @return {!proto.UpdateRequestForQuotationFileReq} returns this
|
|
857
|
+
*/
|
|
858
|
+
proto.UpdateRequestForQuotationFileReq.prototype.setReferencesId = function(value) {
|
|
859
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* repeated FileUploadReferencesReq files = 2;
|
|
865
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
866
|
+
*/
|
|
867
|
+
proto.UpdateRequestForQuotationFileReq.prototype.getFilesList = function() {
|
|
868
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
869
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 2));
|
|
870
|
+
};
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
875
|
+
* @return {!proto.UpdateRequestForQuotationFileReq} returns this
|
|
876
|
+
*/
|
|
877
|
+
proto.UpdateRequestForQuotationFileReq.prototype.setFilesList = function(value) {
|
|
878
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
879
|
+
};
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
884
|
+
* @param {number=} opt_index
|
|
885
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
886
|
+
*/
|
|
887
|
+
proto.UpdateRequestForQuotationFileReq.prototype.addFiles = function(opt_value, opt_index) {
|
|
888
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
889
|
+
};
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Clears the list making it empty but non-null.
|
|
894
|
+
* @return {!proto.UpdateRequestForQuotationFileReq} returns this
|
|
895
|
+
*/
|
|
896
|
+
proto.UpdateRequestForQuotationFileReq.prototype.clearFilesList = function() {
|
|
897
|
+
return this.setFilesList([]);
|
|
898
|
+
};
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* repeated BaseItemTransaction item_transactions = 3;
|
|
903
|
+
* @return {!Array<!proto.BaseItemTransaction>}
|
|
904
|
+
*/
|
|
905
|
+
proto.UpdateRequestForQuotationFileReq.prototype.getItemTransactionsList = function() {
|
|
906
|
+
return /** @type{!Array<!proto.BaseItemTransaction>} */ (
|
|
907
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction, 3));
|
|
908
|
+
};
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* @param {!Array<!proto.BaseItemTransaction>} value
|
|
913
|
+
* @return {!proto.UpdateRequestForQuotationFileReq} returns this
|
|
914
|
+
*/
|
|
915
|
+
proto.UpdateRequestForQuotationFileReq.prototype.setItemTransactionsList = function(value) {
|
|
916
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
917
|
+
};
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* @param {!proto.BaseItemTransaction=} opt_value
|
|
922
|
+
* @param {number=} opt_index
|
|
923
|
+
* @return {!proto.BaseItemTransaction}
|
|
924
|
+
*/
|
|
925
|
+
proto.UpdateRequestForQuotationFileReq.prototype.addItemTransactions = function(opt_value, opt_index) {
|
|
926
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.BaseItemTransaction, opt_index);
|
|
927
|
+
};
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* Clears the list making it empty but non-null.
|
|
932
|
+
* @return {!proto.UpdateRequestForQuotationFileReq} returns this
|
|
933
|
+
*/
|
|
934
|
+
proto.UpdateRequestForQuotationFileReq.prototype.clearItemTransactionsList = function() {
|
|
935
|
+
return this.setItemTransactionsList([]);
|
|
936
|
+
};
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
|
|
631
940
|
/**
|
|
632
941
|
* List of repeated fields within this message type.
|
|
633
942
|
* @private {!Array<number>}
|
|
@@ -4411,6 +4720,13 @@ proto.GetByIdWithDetailRFQ.prototype.setReferencesId = function(value) {
|
|
|
4411
4720
|
|
|
4412
4721
|
|
|
4413
4722
|
|
|
4723
|
+
/**
|
|
4724
|
+
* List of repeated fields within this message type.
|
|
4725
|
+
* @private {!Array<number>}
|
|
4726
|
+
* @const
|
|
4727
|
+
*/
|
|
4728
|
+
proto.DeleteRFQRequest.repeatedFields_ = [1];
|
|
4729
|
+
|
|
4414
4730
|
|
|
4415
4731
|
|
|
4416
4732
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -4426,8 +4742,157 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4426
4742
|
* http://goto/soy-param-migration
|
|
4427
4743
|
* @return {!Object}
|
|
4428
4744
|
*/
|
|
4429
|
-
proto.
|
|
4430
|
-
return proto.
|
|
4745
|
+
proto.DeleteRFQRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4746
|
+
return proto.DeleteRFQRequest.toObject(opt_includeInstance, this);
|
|
4747
|
+
};
|
|
4748
|
+
|
|
4749
|
+
|
|
4750
|
+
/**
|
|
4751
|
+
* Static version of the {@see toObject} method.
|
|
4752
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4753
|
+
* the JSPB instance for transitional soy proto support:
|
|
4754
|
+
* http://goto/soy-param-migration
|
|
4755
|
+
* @param {!proto.DeleteRFQRequest} msg The msg instance to transform.
|
|
4756
|
+
* @return {!Object}
|
|
4757
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4758
|
+
*/
|
|
4759
|
+
proto.DeleteRFQRequest.toObject = function(includeInstance, msg) {
|
|
4760
|
+
var f, obj = {
|
|
4761
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
4762
|
+
};
|
|
4763
|
+
|
|
4764
|
+
if (includeInstance) {
|
|
4765
|
+
obj.$jspbMessageInstance = msg;
|
|
4766
|
+
}
|
|
4767
|
+
return obj;
|
|
4768
|
+
};
|
|
4769
|
+
}
|
|
4770
|
+
|
|
4771
|
+
|
|
4772
|
+
/**
|
|
4773
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4774
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4775
|
+
* @return {!proto.DeleteRFQRequest}
|
|
4776
|
+
*/
|
|
4777
|
+
proto.DeleteRFQRequest.deserializeBinary = function(bytes) {
|
|
4778
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4779
|
+
var msg = new proto.DeleteRFQRequest;
|
|
4780
|
+
return proto.DeleteRFQRequest.deserializeBinaryFromReader(msg, reader);
|
|
4781
|
+
};
|
|
4782
|
+
|
|
4783
|
+
|
|
4784
|
+
/**
|
|
4785
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4786
|
+
* given reader into the given message object.
|
|
4787
|
+
* @param {!proto.DeleteRFQRequest} msg The message object to deserialize into.
|
|
4788
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4789
|
+
* @return {!proto.DeleteRFQRequest}
|
|
4790
|
+
*/
|
|
4791
|
+
proto.DeleteRFQRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4792
|
+
while (reader.nextField()) {
|
|
4793
|
+
if (reader.isEndGroup()) {
|
|
4794
|
+
break;
|
|
4795
|
+
}
|
|
4796
|
+
var field = reader.getFieldNumber();
|
|
4797
|
+
switch (field) {
|
|
4798
|
+
case 1:
|
|
4799
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4800
|
+
msg.addReferenceIds(value);
|
|
4801
|
+
break;
|
|
4802
|
+
default:
|
|
4803
|
+
reader.skipField();
|
|
4804
|
+
break;
|
|
4805
|
+
}
|
|
4806
|
+
}
|
|
4807
|
+
return msg;
|
|
4808
|
+
};
|
|
4809
|
+
|
|
4810
|
+
|
|
4811
|
+
/**
|
|
4812
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4813
|
+
* @return {!Uint8Array}
|
|
4814
|
+
*/
|
|
4815
|
+
proto.DeleteRFQRequest.prototype.serializeBinary = function() {
|
|
4816
|
+
var writer = new jspb.BinaryWriter();
|
|
4817
|
+
proto.DeleteRFQRequest.serializeBinaryToWriter(this, writer);
|
|
4818
|
+
return writer.getResultBuffer();
|
|
4819
|
+
};
|
|
4820
|
+
|
|
4821
|
+
|
|
4822
|
+
/**
|
|
4823
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4824
|
+
* format), writing to the given BinaryWriter.
|
|
4825
|
+
* @param {!proto.DeleteRFQRequest} message
|
|
4826
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4827
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4828
|
+
*/
|
|
4829
|
+
proto.DeleteRFQRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4830
|
+
var f = undefined;
|
|
4831
|
+
f = message.getReferenceIdsList();
|
|
4832
|
+
if (f.length > 0) {
|
|
4833
|
+
writer.writeRepeatedString(
|
|
4834
|
+
1,
|
|
4835
|
+
f
|
|
4836
|
+
);
|
|
4837
|
+
}
|
|
4838
|
+
};
|
|
4839
|
+
|
|
4840
|
+
|
|
4841
|
+
/**
|
|
4842
|
+
* repeated string reference_ids = 1;
|
|
4843
|
+
* @return {!Array<string>}
|
|
4844
|
+
*/
|
|
4845
|
+
proto.DeleteRFQRequest.prototype.getReferenceIdsList = function() {
|
|
4846
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
4847
|
+
};
|
|
4848
|
+
|
|
4849
|
+
|
|
4850
|
+
/**
|
|
4851
|
+
* @param {!Array<string>} value
|
|
4852
|
+
* @return {!proto.DeleteRFQRequest} returns this
|
|
4853
|
+
*/
|
|
4854
|
+
proto.DeleteRFQRequest.prototype.setReferenceIdsList = function(value) {
|
|
4855
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
4856
|
+
};
|
|
4857
|
+
|
|
4858
|
+
|
|
4859
|
+
/**
|
|
4860
|
+
* @param {string} value
|
|
4861
|
+
* @param {number=} opt_index
|
|
4862
|
+
* @return {!proto.DeleteRFQRequest} returns this
|
|
4863
|
+
*/
|
|
4864
|
+
proto.DeleteRFQRequest.prototype.addReferenceIds = function(value, opt_index) {
|
|
4865
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
4866
|
+
};
|
|
4867
|
+
|
|
4868
|
+
|
|
4869
|
+
/**
|
|
4870
|
+
* Clears the list making it empty but non-null.
|
|
4871
|
+
* @return {!proto.DeleteRFQRequest} returns this
|
|
4872
|
+
*/
|
|
4873
|
+
proto.DeleteRFQRequest.prototype.clearReferenceIdsList = function() {
|
|
4874
|
+
return this.setReferenceIdsList([]);
|
|
4875
|
+
};
|
|
4876
|
+
|
|
4877
|
+
|
|
4878
|
+
|
|
4879
|
+
|
|
4880
|
+
|
|
4881
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4882
|
+
/**
|
|
4883
|
+
* Creates an object representation of this proto.
|
|
4884
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4885
|
+
* Optional fields that are not set will be set to undefined.
|
|
4886
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4887
|
+
* For the list of reserved names please see:
|
|
4888
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4889
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4890
|
+
* JSPB instance for transitional soy proto support:
|
|
4891
|
+
* http://goto/soy-param-migration
|
|
4892
|
+
* @return {!Object}
|
|
4893
|
+
*/
|
|
4894
|
+
proto.ResponseRFQ.prototype.toObject = function(opt_includeInstance) {
|
|
4895
|
+
return proto.ResponseRFQ.toObject(opt_includeInstance, this);
|
|
4431
4896
|
};
|
|
4432
4897
|
|
|
4433
4898
|
|
|
@@ -6367,4 +6832,211 @@ proto.UpdateRequestForQuotationVendorRes.prototype.hasMeta = function() {
|
|
|
6367
6832
|
};
|
|
6368
6833
|
|
|
6369
6834
|
|
|
6835
|
+
|
|
6836
|
+
/**
|
|
6837
|
+
* List of repeated fields within this message type.
|
|
6838
|
+
* @private {!Array<number>}
|
|
6839
|
+
* @const
|
|
6840
|
+
*/
|
|
6841
|
+
proto.DeleteRFQResponse.repeatedFields_ = [1];
|
|
6842
|
+
|
|
6843
|
+
|
|
6844
|
+
|
|
6845
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6846
|
+
/**
|
|
6847
|
+
* Creates an object representation of this proto.
|
|
6848
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6849
|
+
* Optional fields that are not set will be set to undefined.
|
|
6850
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6851
|
+
* For the list of reserved names please see:
|
|
6852
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6853
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6854
|
+
* JSPB instance for transitional soy proto support:
|
|
6855
|
+
* http://goto/soy-param-migration
|
|
6856
|
+
* @return {!Object}
|
|
6857
|
+
*/
|
|
6858
|
+
proto.DeleteRFQResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6859
|
+
return proto.DeleteRFQResponse.toObject(opt_includeInstance, this);
|
|
6860
|
+
};
|
|
6861
|
+
|
|
6862
|
+
|
|
6863
|
+
/**
|
|
6864
|
+
* Static version of the {@see toObject} method.
|
|
6865
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6866
|
+
* the JSPB instance for transitional soy proto support:
|
|
6867
|
+
* http://goto/soy-param-migration
|
|
6868
|
+
* @param {!proto.DeleteRFQResponse} msg The msg instance to transform.
|
|
6869
|
+
* @return {!Object}
|
|
6870
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6871
|
+
*/
|
|
6872
|
+
proto.DeleteRFQResponse.toObject = function(includeInstance, msg) {
|
|
6873
|
+
var f, obj = {
|
|
6874
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
6875
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
6876
|
+
};
|
|
6877
|
+
|
|
6878
|
+
if (includeInstance) {
|
|
6879
|
+
obj.$jspbMessageInstance = msg;
|
|
6880
|
+
}
|
|
6881
|
+
return obj;
|
|
6882
|
+
};
|
|
6883
|
+
}
|
|
6884
|
+
|
|
6885
|
+
|
|
6886
|
+
/**
|
|
6887
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6888
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6889
|
+
* @return {!proto.DeleteRFQResponse}
|
|
6890
|
+
*/
|
|
6891
|
+
proto.DeleteRFQResponse.deserializeBinary = function(bytes) {
|
|
6892
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6893
|
+
var msg = new proto.DeleteRFQResponse;
|
|
6894
|
+
return proto.DeleteRFQResponse.deserializeBinaryFromReader(msg, reader);
|
|
6895
|
+
};
|
|
6896
|
+
|
|
6897
|
+
|
|
6898
|
+
/**
|
|
6899
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6900
|
+
* given reader into the given message object.
|
|
6901
|
+
* @param {!proto.DeleteRFQResponse} msg The message object to deserialize into.
|
|
6902
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6903
|
+
* @return {!proto.DeleteRFQResponse}
|
|
6904
|
+
*/
|
|
6905
|
+
proto.DeleteRFQResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6906
|
+
while (reader.nextField()) {
|
|
6907
|
+
if (reader.isEndGroup()) {
|
|
6908
|
+
break;
|
|
6909
|
+
}
|
|
6910
|
+
var field = reader.getFieldNumber();
|
|
6911
|
+
switch (field) {
|
|
6912
|
+
case 1:
|
|
6913
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6914
|
+
msg.addReferenceIds(value);
|
|
6915
|
+
break;
|
|
6916
|
+
case 2:
|
|
6917
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
6918
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
6919
|
+
msg.setMeta(value);
|
|
6920
|
+
break;
|
|
6921
|
+
default:
|
|
6922
|
+
reader.skipField();
|
|
6923
|
+
break;
|
|
6924
|
+
}
|
|
6925
|
+
}
|
|
6926
|
+
return msg;
|
|
6927
|
+
};
|
|
6928
|
+
|
|
6929
|
+
|
|
6930
|
+
/**
|
|
6931
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6932
|
+
* @return {!Uint8Array}
|
|
6933
|
+
*/
|
|
6934
|
+
proto.DeleteRFQResponse.prototype.serializeBinary = function() {
|
|
6935
|
+
var writer = new jspb.BinaryWriter();
|
|
6936
|
+
proto.DeleteRFQResponse.serializeBinaryToWriter(this, writer);
|
|
6937
|
+
return writer.getResultBuffer();
|
|
6938
|
+
};
|
|
6939
|
+
|
|
6940
|
+
|
|
6941
|
+
/**
|
|
6942
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6943
|
+
* format), writing to the given BinaryWriter.
|
|
6944
|
+
* @param {!proto.DeleteRFQResponse} message
|
|
6945
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6946
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6947
|
+
*/
|
|
6948
|
+
proto.DeleteRFQResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6949
|
+
var f = undefined;
|
|
6950
|
+
f = message.getReferenceIdsList();
|
|
6951
|
+
if (f.length > 0) {
|
|
6952
|
+
writer.writeRepeatedString(
|
|
6953
|
+
1,
|
|
6954
|
+
f
|
|
6955
|
+
);
|
|
6956
|
+
}
|
|
6957
|
+
f = message.getMeta();
|
|
6958
|
+
if (f != null) {
|
|
6959
|
+
writer.writeMessage(
|
|
6960
|
+
2,
|
|
6961
|
+
f,
|
|
6962
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
6963
|
+
);
|
|
6964
|
+
}
|
|
6965
|
+
};
|
|
6966
|
+
|
|
6967
|
+
|
|
6968
|
+
/**
|
|
6969
|
+
* repeated string reference_ids = 1;
|
|
6970
|
+
* @return {!Array<string>}
|
|
6971
|
+
*/
|
|
6972
|
+
proto.DeleteRFQResponse.prototype.getReferenceIdsList = function() {
|
|
6973
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
6974
|
+
};
|
|
6975
|
+
|
|
6976
|
+
|
|
6977
|
+
/**
|
|
6978
|
+
* @param {!Array<string>} value
|
|
6979
|
+
* @return {!proto.DeleteRFQResponse} returns this
|
|
6980
|
+
*/
|
|
6981
|
+
proto.DeleteRFQResponse.prototype.setReferenceIdsList = function(value) {
|
|
6982
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
6983
|
+
};
|
|
6984
|
+
|
|
6985
|
+
|
|
6986
|
+
/**
|
|
6987
|
+
* @param {string} value
|
|
6988
|
+
* @param {number=} opt_index
|
|
6989
|
+
* @return {!proto.DeleteRFQResponse} returns this
|
|
6990
|
+
*/
|
|
6991
|
+
proto.DeleteRFQResponse.prototype.addReferenceIds = function(value, opt_index) {
|
|
6992
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
6993
|
+
};
|
|
6994
|
+
|
|
6995
|
+
|
|
6996
|
+
/**
|
|
6997
|
+
* Clears the list making it empty but non-null.
|
|
6998
|
+
* @return {!proto.DeleteRFQResponse} returns this
|
|
6999
|
+
*/
|
|
7000
|
+
proto.DeleteRFQResponse.prototype.clearReferenceIdsList = function() {
|
|
7001
|
+
return this.setReferenceIdsList([]);
|
|
7002
|
+
};
|
|
7003
|
+
|
|
7004
|
+
|
|
7005
|
+
/**
|
|
7006
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
7007
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
7008
|
+
*/
|
|
7009
|
+
proto.DeleteRFQResponse.prototype.getMeta = function() {
|
|
7010
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
7011
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
7012
|
+
};
|
|
7013
|
+
|
|
7014
|
+
|
|
7015
|
+
/**
|
|
7016
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
7017
|
+
* @return {!proto.DeleteRFQResponse} returns this
|
|
7018
|
+
*/
|
|
7019
|
+
proto.DeleteRFQResponse.prototype.setMeta = function(value) {
|
|
7020
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
7021
|
+
};
|
|
7022
|
+
|
|
7023
|
+
|
|
7024
|
+
/**
|
|
7025
|
+
* Clears the message field making it undefined.
|
|
7026
|
+
* @return {!proto.DeleteRFQResponse} returns this
|
|
7027
|
+
*/
|
|
7028
|
+
proto.DeleteRFQResponse.prototype.clearMeta = function() {
|
|
7029
|
+
return this.setMeta(undefined);
|
|
7030
|
+
};
|
|
7031
|
+
|
|
7032
|
+
|
|
7033
|
+
/**
|
|
7034
|
+
* Returns whether this field is set.
|
|
7035
|
+
* @return {boolean}
|
|
7036
|
+
*/
|
|
7037
|
+
proto.DeleteRFQResponse.prototype.hasMeta = function() {
|
|
7038
|
+
return jspb.Message.getField(this, 2) != null;
|
|
7039
|
+
};
|
|
7040
|
+
|
|
7041
|
+
|
|
6370
7042
|
goog.object.extend(exports, proto);
|