@aldiokta/protocgen 1.1.20 → 1.1.22

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 (49) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +97 -8
  3. package/prisca/v1/bidding/bidding_pb.js +1506 -178
  4. package/prisca/v1/core/company/company_pb.js +77 -25
  5. package/prisca/v1/core/employee/employee_pb.js +74 -22
  6. package/prisca/v1/core/file_upload/file_upload_pb.js +183 -3
  7. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +33 -0
  8. package/prisca/v1/core/incoterm/incoterm_pb.js +407 -0
  9. package/prisca/v1/core/item_transaction/item_transaction_pb.js +304 -4
  10. package/prisca/v1/core/job_grade/job_grade_pb.js +80 -28
  11. package/prisca/v1/core/job_position/job_position_pb.js +74 -22
  12. package/prisca/v1/core/job_title/job_title_pb.js +80 -28
  13. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +61 -1
  14. package/prisca/v1/core/material/material_pb.js +74 -22
  15. package/prisca/v1/core/material_group/material_group_pb.js +77 -25
  16. package/prisca/v1/core/material_type/material_type_grpc_pb.js +33 -0
  17. package/prisca/v1/core/material_type/material_type_pb.js +407 -0
  18. package/prisca/v1/core/number_range/number_range_pb.js +74 -22
  19. package/prisca/v1/core/organization/organization_pb.js +80 -28
  20. package/prisca/v1/core/organization_level/organization_level_pb.js +80 -28
  21. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +33 -0
  22. package/prisca/v1/core/price_condition/price_condition_pb.js +407 -0
  23. package/prisca/v1/core/tax_code/tax_code_pb.js +152 -2
  24. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +33 -0
  25. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +407 -0
  26. package/prisca/v1/core/users/users_grpc_pb.js +33 -0
  27. package/prisca/v1/core/users/users_pb.js +407 -0
  28. package/prisca/v1/core/work_location/work_location_pb.js +74 -22
  29. package/prisca/v1/core/workflow/workflow_pb.js +74 -22
  30. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
  31. package/prisca/v1/delivery_order/delivery_order_pb.js +4661 -0
  32. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +1 -0
  33. package/prisca/v1/good_receipt/good_receipt_pb.js +35 -0
  34. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +1 -1
  35. package/prisca/v1/purchase_order/purchase_order_pb.js +464 -404
  36. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +11 -0
  37. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +13 -13
  38. package/prisca/v1/purchasing_group/purchasing_group_pb.js +80 -28
  39. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +33 -0
  40. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +407 -0
  41. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +33 -0
  42. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +407 -0
  43. package/prisca/v1/quotation/quotation_grpc_pb.js +14 -3
  44. package/prisca/v1/quotation/quotation_pb.js +479 -2
  45. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +1 -0
  46. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +262 -4
  47. package/prisca/v1/valuation/valuation_grpc_pb.js +365 -0
  48. package/prisca/v1/valuation/valuation_pb.js +7729 -0
  49. package/prisca/v1/vendor_domain/vendor_domain_pb.js +31 -1
@@ -38,6 +38,7 @@ goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
38
38
  var prisca_v1_request_for_quotation_request_for_quotation_pb = require('../../../prisca/v1/request_for_quotation/request_for_quotation_pb.js');
39
39
  goog.object.extend(proto, prisca_v1_request_for_quotation_request_for_quotation_pb);
40
40
  goog.exportSymbol('proto.Bidding', null, global);
41
+ goog.exportSymbol('proto.CreateBiddingRequest', null, global);
41
42
  goog.exportSymbol('proto.GetBiddingByIdRequest', null, global);
42
43
  goog.exportSymbol('proto.GetBiddingByIdResponse', null, global);
43
44
  goog.exportSymbol('proto.GetBiddingDetailResponse', null, global);
@@ -47,13 +48,18 @@ goog.exportSymbol('proto.GetQuotationItemDetailPreload', null, global);
47
48
  goog.exportSymbol('proto.GetQuotationItemPreload', null, global);
48
49
  goog.exportSymbol('proto.GetQuotationVendorPreload', null, global);
49
50
  goog.exportSymbol('proto.Quotation', null, global);
51
+ goog.exportSymbol('proto.RequestAddVendorBidding', null, global);
50
52
  goog.exportSymbol('proto.RequestBidding', null, global);
51
53
  goog.exportSymbol('proto.RequestBiddingBase', null, global);
52
54
  goog.exportSymbol('proto.RequestGetListBidding', null, global);
55
+ goog.exportSymbol('proto.RequestPO', null, global);
56
+ goog.exportSymbol('proto.ResponseAddVendorBidding', null, global);
53
57
  goog.exportSymbol('proto.ResponseBidding', null, global);
54
58
  goog.exportSymbol('proto.ResponseDetailBiddingByReferences', null, global);
55
59
  goog.exportSymbol('proto.ResponseGetListBidding', null, global);
60
+ goog.exportSymbol('proto.ResponseRequestPo', null, global);
56
61
  goog.exportSymbol('proto.UpdateBiddingReq', null, global);
62
+ goog.exportSymbol('proto.UpdateBiddingStatusReq', null, global);
57
63
  /**
58
64
  * Generated by JsPbCodeGenerator.
59
65
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -117,6 +123,69 @@ if (goog.DEBUG && !COMPILED) {
117
123
  */
118
124
  proto.RequestBiddingBase.displayName = 'proto.RequestBiddingBase';
119
125
  }
126
+ /**
127
+ * Generated by JsPbCodeGenerator.
128
+ * @param {Array=} opt_data Optional initial data array, typically from a
129
+ * server response, or constructed directly in Javascript. The array is used
130
+ * in place and becomes part of the constructed object. It is not cloned.
131
+ * If no data is provided, the constructed object will be empty, but still
132
+ * valid.
133
+ * @extends {jspb.Message}
134
+ * @constructor
135
+ */
136
+ proto.RequestAddVendorBidding = function(opt_data) {
137
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
138
+ };
139
+ goog.inherits(proto.RequestAddVendorBidding, jspb.Message);
140
+ if (goog.DEBUG && !COMPILED) {
141
+ /**
142
+ * @public
143
+ * @override
144
+ */
145
+ proto.RequestAddVendorBidding.displayName = 'proto.RequestAddVendorBidding';
146
+ }
147
+ /**
148
+ * Generated by JsPbCodeGenerator.
149
+ * @param {Array=} opt_data Optional initial data array, typically from a
150
+ * server response, or constructed directly in Javascript. The array is used
151
+ * in place and becomes part of the constructed object. It is not cloned.
152
+ * If no data is provided, the constructed object will be empty, but still
153
+ * valid.
154
+ * @extends {jspb.Message}
155
+ * @constructor
156
+ */
157
+ proto.UpdateBiddingStatusReq = function(opt_data) {
158
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
159
+ };
160
+ goog.inherits(proto.UpdateBiddingStatusReq, jspb.Message);
161
+ if (goog.DEBUG && !COMPILED) {
162
+ /**
163
+ * @public
164
+ * @override
165
+ */
166
+ proto.UpdateBiddingStatusReq.displayName = 'proto.UpdateBiddingStatusReq';
167
+ }
168
+ /**
169
+ * Generated by JsPbCodeGenerator.
170
+ * @param {Array=} opt_data Optional initial data array, typically from a
171
+ * server response, or constructed directly in Javascript. The array is used
172
+ * in place and becomes part of the constructed object. It is not cloned.
173
+ * If no data is provided, the constructed object will be empty, but still
174
+ * valid.
175
+ * @extends {jspb.Message}
176
+ * @constructor
177
+ */
178
+ proto.CreateBiddingRequest = function(opt_data) {
179
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
180
+ };
181
+ goog.inherits(proto.CreateBiddingRequest, jspb.Message);
182
+ if (goog.DEBUG && !COMPILED) {
183
+ /**
184
+ * @public
185
+ * @override
186
+ */
187
+ proto.CreateBiddingRequest.displayName = 'proto.CreateBiddingRequest';
188
+ }
120
189
  /**
121
190
  * Generated by JsPbCodeGenerator.
122
191
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -285,6 +354,27 @@ if (goog.DEBUG && !COMPILED) {
285
354
  */
286
355
  proto.ResponseDetailBiddingByReferences.displayName = 'proto.ResponseDetailBiddingByReferences';
287
356
  }
357
+ /**
358
+ * Generated by JsPbCodeGenerator.
359
+ * @param {Array=} opt_data Optional initial data array, typically from a
360
+ * server response, or constructed directly in Javascript. The array is used
361
+ * in place and becomes part of the constructed object. It is not cloned.
362
+ * If no data is provided, the constructed object will be empty, but still
363
+ * valid.
364
+ * @extends {jspb.Message}
365
+ * @constructor
366
+ */
367
+ proto.ResponseAddVendorBidding = function(opt_data) {
368
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ResponseAddVendorBidding.repeatedFields_, null);
369
+ };
370
+ goog.inherits(proto.ResponseAddVendorBidding, jspb.Message);
371
+ if (goog.DEBUG && !COMPILED) {
372
+ /**
373
+ * @public
374
+ * @override
375
+ */
376
+ proto.ResponseAddVendorBidding.displayName = 'proto.ResponseAddVendorBidding';
377
+ }
288
378
  /**
289
379
  * Generated by JsPbCodeGenerator.
290
380
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -411,13 +501,55 @@ if (goog.DEBUG && !COMPILED) {
411
501
  */
412
502
  proto.GetQuotationVendorPreload.displayName = 'proto.GetQuotationVendorPreload';
413
503
  }
504
+ /**
505
+ * Generated by JsPbCodeGenerator.
506
+ * @param {Array=} opt_data Optional initial data array, typically from a
507
+ * server response, or constructed directly in Javascript. The array is used
508
+ * in place and becomes part of the constructed object. It is not cloned.
509
+ * If no data is provided, the constructed object will be empty, but still
510
+ * valid.
511
+ * @extends {jspb.Message}
512
+ * @constructor
513
+ */
514
+ proto.RequestPO = function(opt_data) {
515
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
516
+ };
517
+ goog.inherits(proto.RequestPO, jspb.Message);
518
+ if (goog.DEBUG && !COMPILED) {
519
+ /**
520
+ * @public
521
+ * @override
522
+ */
523
+ proto.RequestPO.displayName = 'proto.RequestPO';
524
+ }
525
+ /**
526
+ * Generated by JsPbCodeGenerator.
527
+ * @param {Array=} opt_data Optional initial data array, typically from a
528
+ * server response, or constructed directly in Javascript. The array is used
529
+ * in place and becomes part of the constructed object. It is not cloned.
530
+ * If no data is provided, the constructed object will be empty, but still
531
+ * valid.
532
+ * @extends {jspb.Message}
533
+ * @constructor
534
+ */
535
+ proto.ResponseRequestPo = function(opt_data) {
536
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
537
+ };
538
+ goog.inherits(proto.ResponseRequestPo, jspb.Message);
539
+ if (goog.DEBUG && !COMPILED) {
540
+ /**
541
+ * @public
542
+ * @override
543
+ */
544
+ proto.ResponseRequestPo.displayName = 'proto.ResponseRequestPo';
545
+ }
414
546
 
415
547
  /**
416
548
  * List of repeated fields within this message type.
417
549
  * @private {!Array<number>}
418
550
  * @const
419
551
  */
420
- proto.Quotation.repeatedFields_ = [28];
552
+ proto.Quotation.repeatedFields_ = [29,36];
421
553
 
422
554
 
423
555
 
@@ -469,21 +601,27 @@ deliveryDate: jspb.Message.getFieldWithDefault(msg, 16, ""),
469
601
  deliveryPoint: jspb.Message.getFieldWithDefault(msg, 17, ""),
470
602
  vendorSource: jspb.Message.getFieldWithDefault(msg, 18, ""),
471
603
  setWinner: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
472
- notesForVendor: jspb.Message.getFieldWithDefault(msg, 20, ""),
473
- termOfCondition: jspb.Message.getFieldWithDefault(msg, 21, ""),
474
- customTransaction: jspb.Message.getFieldWithDefault(msg, 22, ""),
475
- referencesId: jspb.Message.getFieldWithDefault(msg, 23, ""),
476
- createdBy: jspb.Message.getFieldWithDefault(msg, 24, ""),
477
- updatedBy: jspb.Message.getFieldWithDefault(msg, 25, ""),
478
- createdAt: jspb.Message.getFieldWithDefault(msg, 26, ""),
479
- updatedAt: jspb.Message.getFieldWithDefault(msg, 27, ""),
604
+ isScored: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
605
+ notesForVendor: jspb.Message.getFieldWithDefault(msg, 21, ""),
606
+ termOfCondition: jspb.Message.getFieldWithDefault(msg, 22, ""),
607
+ customTransaction: jspb.Message.getFieldWithDefault(msg, 23, ""),
608
+ referencesId: jspb.Message.getFieldWithDefault(msg, 24, ""),
609
+ createdBy: jspb.Message.getFieldWithDefault(msg, 25, ""),
610
+ updatedBy: jspb.Message.getFieldWithDefault(msg, 26, ""),
611
+ createdAt: jspb.Message.getFieldWithDefault(msg, 27, ""),
612
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 28, ""),
480
613
  itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
481
614
  prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
482
615
  vendor: (f = msg.getVendor()) && prisca_v1_vendor_domain_vendor_domain_pb.Vendor.toObject(includeInstance, f),
483
616
  createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
484
617
  updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
485
- visible: jspb.Message.getBooleanFieldWithDefault(msg, 32, false),
486
- bidding: (f = msg.getBidding()) && proto.Bidding.toObject(includeInstance, f)
618
+ visible: jspb.Message.getBooleanFieldWithDefault(msg, 33, false),
619
+ bidding: (f = msg.getBidding()) && proto.Bidding.toObject(includeInstance, f),
620
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 35, ""),
621
+ filesList: jspb.Message.toObjectList(msg.getFilesList(),
622
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
623
+ purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 37, ""),
624
+ fileIds: jspb.Message.getFieldWithDefault(msg, 38, "")
487
625
  };
488
626
 
489
627
  if (includeInstance) {
@@ -597,66 +735,87 @@ proto.Quotation.deserializeBinaryFromReader = function(msg, reader) {
597
735
  msg.setSetWinner(value);
598
736
  break;
599
737
  case 20:
738
+ var value = /** @type {boolean} */ (reader.readBool());
739
+ msg.setIsScored(value);
740
+ break;
741
+ case 21:
600
742
  var value = /** @type {string} */ (reader.readString());
601
743
  msg.setNotesForVendor(value);
602
744
  break;
603
- case 21:
745
+ case 22:
604
746
  var value = /** @type {string} */ (reader.readString());
605
747
  msg.setTermOfCondition(value);
606
748
  break;
607
- case 22:
749
+ case 23:
608
750
  var value = /** @type {string} */ (reader.readString());
609
751
  msg.setCustomTransaction(value);
610
752
  break;
611
- case 23:
753
+ case 24:
612
754
  var value = /** @type {string} */ (reader.readString());
613
755
  msg.setReferencesId(value);
614
756
  break;
615
- case 24:
757
+ case 25:
616
758
  var value = /** @type {string} */ (reader.readString());
617
759
  msg.setCreatedBy(value);
618
760
  break;
619
- case 25:
761
+ case 26:
620
762
  var value = /** @type {string} */ (reader.readString());
621
763
  msg.setUpdatedBy(value);
622
764
  break;
623
- case 26:
765
+ case 27:
624
766
  var value = /** @type {string} */ (reader.readString());
625
767
  msg.setCreatedAt(value);
626
768
  break;
627
- case 27:
769
+ case 28:
628
770
  var value = /** @type {string} */ (reader.readString());
629
771
  msg.setUpdatedAt(value);
630
772
  break;
631
- case 28:
773
+ case 29:
632
774
  var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction;
633
775
  reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.deserializeBinaryFromReader);
634
776
  msg.addItemTransactions(value);
635
777
  break;
636
- case 29:
778
+ case 30:
637
779
  var value = new prisca_v1_vendor_domain_vendor_domain_pb.Vendor;
638
780
  reader.readMessage(value,prisca_v1_vendor_domain_vendor_domain_pb.Vendor.deserializeBinaryFromReader);
639
781
  msg.setVendor(value);
640
782
  break;
641
- case 30:
783
+ case 31:
642
784
  var value = new prisca_v1_core_employee_employee_pb.Employee;
643
785
  reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
644
786
  msg.setCreatedByEmployee(value);
645
787
  break;
646
- case 31:
788
+ case 32:
647
789
  var value = new prisca_v1_core_employee_employee_pb.Employee;
648
790
  reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
649
791
  msg.setUpdatedByEmployee(value);
650
792
  break;
651
- case 32:
793
+ case 33:
652
794
  var value = /** @type {boolean} */ (reader.readBool());
653
795
  msg.setVisible(value);
654
796
  break;
655
- case 33:
797
+ case 34:
656
798
  var value = new proto.Bidding;
657
799
  reader.readMessage(value,proto.Bidding.deserializeBinaryFromReader);
658
800
  msg.setBidding(value);
659
801
  break;
802
+ case 35:
803
+ var value = /** @type {string} */ (reader.readString());
804
+ msg.setCompaniesReferencesId(value);
805
+ break;
806
+ case 36:
807
+ var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
808
+ reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
809
+ msg.addFiles(value);
810
+ break;
811
+ case 37:
812
+ var value = /** @type {string} */ (reader.readString());
813
+ msg.setPurchaseRequisitionTransactionNumber(value);
814
+ break;
815
+ case 38:
816
+ var value = /** @type {string} */ (reader.readString());
817
+ msg.setFileIds(value);
818
+ break;
660
819
  default:
661
820
  reader.skipField();
662
821
  break;
@@ -819,66 +978,73 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
819
978
  f
820
979
  );
821
980
  }
981
+ f = message.getIsScored();
982
+ if (f) {
983
+ writer.writeBool(
984
+ 20,
985
+ f
986
+ );
987
+ }
822
988
  f = message.getNotesForVendor();
823
989
  if (f.length > 0) {
824
990
  writer.writeString(
825
- 20,
991
+ 21,
826
992
  f
827
993
  );
828
994
  }
829
995
  f = message.getTermOfCondition();
830
996
  if (f.length > 0) {
831
997
  writer.writeString(
832
- 21,
998
+ 22,
833
999
  f
834
1000
  );
835
1001
  }
836
1002
  f = message.getCustomTransaction();
837
1003
  if (f.length > 0) {
838
1004
  writer.writeString(
839
- 22,
1005
+ 23,
840
1006
  f
841
1007
  );
842
1008
  }
843
1009
  f = message.getReferencesId();
844
1010
  if (f.length > 0) {
845
1011
  writer.writeString(
846
- 23,
1012
+ 24,
847
1013
  f
848
1014
  );
849
1015
  }
850
1016
  f = message.getCreatedBy();
851
1017
  if (f.length > 0) {
852
1018
  writer.writeString(
853
- 24,
1019
+ 25,
854
1020
  f
855
1021
  );
856
1022
  }
857
1023
  f = message.getUpdatedBy();
858
1024
  if (f.length > 0) {
859
1025
  writer.writeString(
860
- 25,
1026
+ 26,
861
1027
  f
862
1028
  );
863
1029
  }
864
1030
  f = message.getCreatedAt();
865
1031
  if (f.length > 0) {
866
1032
  writer.writeString(
867
- 26,
1033
+ 27,
868
1034
  f
869
1035
  );
870
1036
  }
871
1037
  f = message.getUpdatedAt();
872
1038
  if (f.length > 0) {
873
1039
  writer.writeString(
874
- 27,
1040
+ 28,
875
1041
  f
876
1042
  );
877
1043
  }
878
1044
  f = message.getItemTransactionsList();
879
1045
  if (f.length > 0) {
880
1046
  writer.writeRepeatedMessage(
881
- 28,
1047
+ 29,
882
1048
  f,
883
1049
  prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.serializeBinaryToWriter
884
1050
  );
@@ -886,7 +1052,7 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
886
1052
  f = message.getVendor();
887
1053
  if (f != null) {
888
1054
  writer.writeMessage(
889
- 29,
1055
+ 30,
890
1056
  f,
891
1057
  prisca_v1_vendor_domain_vendor_domain_pb.Vendor.serializeBinaryToWriter
892
1058
  );
@@ -894,7 +1060,7 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
894
1060
  f = message.getCreatedByEmployee();
895
1061
  if (f != null) {
896
1062
  writer.writeMessage(
897
- 30,
1063
+ 31,
898
1064
  f,
899
1065
  prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
900
1066
  );
@@ -902,7 +1068,7 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
902
1068
  f = message.getUpdatedByEmployee();
903
1069
  if (f != null) {
904
1070
  writer.writeMessage(
905
- 31,
1071
+ 32,
906
1072
  f,
907
1073
  prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
908
1074
  );
@@ -910,18 +1076,47 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
910
1076
  f = message.getVisible();
911
1077
  if (f) {
912
1078
  writer.writeBool(
913
- 32,
1079
+ 33,
914
1080
  f
915
1081
  );
916
1082
  }
917
1083
  f = message.getBidding();
918
1084
  if (f != null) {
919
1085
  writer.writeMessage(
920
- 33,
1086
+ 34,
921
1087
  f,
922
1088
  proto.Bidding.serializeBinaryToWriter
923
1089
  );
924
1090
  }
1091
+ f = message.getCompaniesReferencesId();
1092
+ if (f.length > 0) {
1093
+ writer.writeString(
1094
+ 35,
1095
+ f
1096
+ );
1097
+ }
1098
+ f = message.getFilesList();
1099
+ if (f.length > 0) {
1100
+ writer.writeRepeatedMessage(
1101
+ 36,
1102
+ f,
1103
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
1104
+ );
1105
+ }
1106
+ f = message.getPurchaseRequisitionTransactionNumber();
1107
+ if (f.length > 0) {
1108
+ writer.writeString(
1109
+ 37,
1110
+ f
1111
+ );
1112
+ }
1113
+ f = message.getFileIds();
1114
+ if (f.length > 0) {
1115
+ writer.writeString(
1116
+ 38,
1117
+ f
1118
+ );
1119
+ }
925
1120
  };
926
1121
 
927
1122
 
@@ -1268,11 +1463,29 @@ proto.Quotation.prototype.setSetWinner = function(value) {
1268
1463
 
1269
1464
 
1270
1465
  /**
1271
- * optional string notes_for_vendor = 20;
1466
+ * optional bool is_scored = 20;
1467
+ * @return {boolean}
1468
+ */
1469
+ proto.Quotation.prototype.getIsScored = function() {
1470
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 20, false));
1471
+ };
1472
+
1473
+
1474
+ /**
1475
+ * @param {boolean} value
1476
+ * @return {!proto.Quotation} returns this
1477
+ */
1478
+ proto.Quotation.prototype.setIsScored = function(value) {
1479
+ return jspb.Message.setProto3BooleanField(this, 20, value);
1480
+ };
1481
+
1482
+
1483
+ /**
1484
+ * optional string notes_for_vendor = 21;
1272
1485
  * @return {string}
1273
1486
  */
1274
1487
  proto.Quotation.prototype.getNotesForVendor = function() {
1275
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
1488
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
1276
1489
  };
1277
1490
 
1278
1491
 
@@ -1281,16 +1494,16 @@ proto.Quotation.prototype.getNotesForVendor = function() {
1281
1494
  * @return {!proto.Quotation} returns this
1282
1495
  */
1283
1496
  proto.Quotation.prototype.setNotesForVendor = function(value) {
1284
- return jspb.Message.setProto3StringField(this, 20, value);
1497
+ return jspb.Message.setProto3StringField(this, 21, value);
1285
1498
  };
1286
1499
 
1287
1500
 
1288
1501
  /**
1289
- * optional string term_of_condition = 21;
1502
+ * optional string term_of_condition = 22;
1290
1503
  * @return {string}
1291
1504
  */
1292
1505
  proto.Quotation.prototype.getTermOfCondition = function() {
1293
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
1506
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
1294
1507
  };
1295
1508
 
1296
1509
 
@@ -1299,16 +1512,16 @@ proto.Quotation.prototype.getTermOfCondition = function() {
1299
1512
  * @return {!proto.Quotation} returns this
1300
1513
  */
1301
1514
  proto.Quotation.prototype.setTermOfCondition = function(value) {
1302
- return jspb.Message.setProto3StringField(this, 21, value);
1515
+ return jspb.Message.setProto3StringField(this, 22, value);
1303
1516
  };
1304
1517
 
1305
1518
 
1306
1519
  /**
1307
- * optional string custom_transaction = 22;
1520
+ * optional string custom_transaction = 23;
1308
1521
  * @return {string}
1309
1522
  */
1310
1523
  proto.Quotation.prototype.getCustomTransaction = function() {
1311
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
1524
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
1312
1525
  };
1313
1526
 
1314
1527
 
@@ -1317,16 +1530,16 @@ proto.Quotation.prototype.getCustomTransaction = function() {
1317
1530
  * @return {!proto.Quotation} returns this
1318
1531
  */
1319
1532
  proto.Quotation.prototype.setCustomTransaction = function(value) {
1320
- return jspb.Message.setProto3StringField(this, 22, value);
1533
+ return jspb.Message.setProto3StringField(this, 23, value);
1321
1534
  };
1322
1535
 
1323
1536
 
1324
1537
  /**
1325
- * optional string references_id = 23;
1538
+ * optional string references_id = 24;
1326
1539
  * @return {string}
1327
1540
  */
1328
1541
  proto.Quotation.prototype.getReferencesId = function() {
1329
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
1542
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
1330
1543
  };
1331
1544
 
1332
1545
 
@@ -1335,16 +1548,16 @@ proto.Quotation.prototype.getReferencesId = function() {
1335
1548
  * @return {!proto.Quotation} returns this
1336
1549
  */
1337
1550
  proto.Quotation.prototype.setReferencesId = function(value) {
1338
- return jspb.Message.setProto3StringField(this, 23, value);
1551
+ return jspb.Message.setProto3StringField(this, 24, value);
1339
1552
  };
1340
1553
 
1341
1554
 
1342
1555
  /**
1343
- * optional string created_by = 24;
1556
+ * optional string created_by = 25;
1344
1557
  * @return {string}
1345
1558
  */
1346
1559
  proto.Quotation.prototype.getCreatedBy = function() {
1347
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
1560
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
1348
1561
  };
1349
1562
 
1350
1563
 
@@ -1353,16 +1566,16 @@ proto.Quotation.prototype.getCreatedBy = function() {
1353
1566
  * @return {!proto.Quotation} returns this
1354
1567
  */
1355
1568
  proto.Quotation.prototype.setCreatedBy = function(value) {
1356
- return jspb.Message.setProto3StringField(this, 24, value);
1569
+ return jspb.Message.setProto3StringField(this, 25, value);
1357
1570
  };
1358
1571
 
1359
1572
 
1360
1573
  /**
1361
- * optional string updated_by = 25;
1574
+ * optional string updated_by = 26;
1362
1575
  * @return {string}
1363
1576
  */
1364
1577
  proto.Quotation.prototype.getUpdatedBy = function() {
1365
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
1578
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
1366
1579
  };
1367
1580
 
1368
1581
 
@@ -1371,16 +1584,16 @@ proto.Quotation.prototype.getUpdatedBy = function() {
1371
1584
  * @return {!proto.Quotation} returns this
1372
1585
  */
1373
1586
  proto.Quotation.prototype.setUpdatedBy = function(value) {
1374
- return jspb.Message.setProto3StringField(this, 25, value);
1587
+ return jspb.Message.setProto3StringField(this, 26, value);
1375
1588
  };
1376
1589
 
1377
1590
 
1378
1591
  /**
1379
- * optional string created_at = 26;
1592
+ * optional string created_at = 27;
1380
1593
  * @return {string}
1381
1594
  */
1382
1595
  proto.Quotation.prototype.getCreatedAt = function() {
1383
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
1596
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
1384
1597
  };
1385
1598
 
1386
1599
 
@@ -1389,16 +1602,16 @@ proto.Quotation.prototype.getCreatedAt = function() {
1389
1602
  * @return {!proto.Quotation} returns this
1390
1603
  */
1391
1604
  proto.Quotation.prototype.setCreatedAt = function(value) {
1392
- return jspb.Message.setProto3StringField(this, 26, value);
1605
+ return jspb.Message.setProto3StringField(this, 27, value);
1393
1606
  };
1394
1607
 
1395
1608
 
1396
1609
  /**
1397
- * optional string updated_at = 27;
1610
+ * optional string updated_at = 28;
1398
1611
  * @return {string}
1399
1612
  */
1400
1613
  proto.Quotation.prototype.getUpdatedAt = function() {
1401
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
1614
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
1402
1615
  };
1403
1616
 
1404
1617
 
@@ -1407,17 +1620,17 @@ proto.Quotation.prototype.getUpdatedAt = function() {
1407
1620
  * @return {!proto.Quotation} returns this
1408
1621
  */
1409
1622
  proto.Quotation.prototype.setUpdatedAt = function(value) {
1410
- return jspb.Message.setProto3StringField(this, 27, value);
1623
+ return jspb.Message.setProto3StringField(this, 28, value);
1411
1624
  };
1412
1625
 
1413
1626
 
1414
1627
  /**
1415
- * repeated ItemTransaction item_transactions = 28;
1628
+ * repeated ItemTransaction item_transactions = 29;
1416
1629
  * @return {!Array<!proto.ItemTransaction>}
1417
1630
  */
1418
1631
  proto.Quotation.prototype.getItemTransactionsList = function() {
1419
1632
  return /** @type{!Array<!proto.ItemTransaction>} */ (
1420
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction, 28));
1633
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction, 29));
1421
1634
  };
1422
1635
 
1423
1636
 
@@ -1426,7 +1639,7 @@ proto.Quotation.prototype.getItemTransactionsList = function() {
1426
1639
  * @return {!proto.Quotation} returns this
1427
1640
  */
1428
1641
  proto.Quotation.prototype.setItemTransactionsList = function(value) {
1429
- return jspb.Message.setRepeatedWrapperField(this, 28, value);
1642
+ return jspb.Message.setRepeatedWrapperField(this, 29, value);
1430
1643
  };
1431
1644
 
1432
1645
 
@@ -1436,7 +1649,7 @@ proto.Quotation.prototype.setItemTransactionsList = function(value) {
1436
1649
  * @return {!proto.ItemTransaction}
1437
1650
  */
1438
1651
  proto.Quotation.prototype.addItemTransactions = function(opt_value, opt_index) {
1439
- return jspb.Message.addToRepeatedWrapperField(this, 28, opt_value, proto.ItemTransaction, opt_index);
1652
+ return jspb.Message.addToRepeatedWrapperField(this, 29, opt_value, proto.ItemTransaction, opt_index);
1440
1653
  };
1441
1654
 
1442
1655
 
@@ -1450,12 +1663,12 @@ proto.Quotation.prototype.clearItemTransactionsList = function() {
1450
1663
 
1451
1664
 
1452
1665
  /**
1453
- * optional Vendor vendor = 29;
1666
+ * optional Vendor vendor = 30;
1454
1667
  * @return {?proto.Vendor}
1455
1668
  */
1456
1669
  proto.Quotation.prototype.getVendor = function() {
1457
1670
  return /** @type{?proto.Vendor} */ (
1458
- jspb.Message.getWrapperField(this, prisca_v1_vendor_domain_vendor_domain_pb.Vendor, 29));
1671
+ jspb.Message.getWrapperField(this, prisca_v1_vendor_domain_vendor_domain_pb.Vendor, 30));
1459
1672
  };
1460
1673
 
1461
1674
 
@@ -1464,7 +1677,7 @@ proto.Quotation.prototype.getVendor = function() {
1464
1677
  * @return {!proto.Quotation} returns this
1465
1678
  */
1466
1679
  proto.Quotation.prototype.setVendor = function(value) {
1467
- return jspb.Message.setWrapperField(this, 29, value);
1680
+ return jspb.Message.setWrapperField(this, 30, value);
1468
1681
  };
1469
1682
 
1470
1683
 
@@ -1482,17 +1695,17 @@ proto.Quotation.prototype.clearVendor = function() {
1482
1695
  * @return {boolean}
1483
1696
  */
1484
1697
  proto.Quotation.prototype.hasVendor = function() {
1485
- return jspb.Message.getField(this, 29) != null;
1698
+ return jspb.Message.getField(this, 30) != null;
1486
1699
  };
1487
1700
 
1488
1701
 
1489
1702
  /**
1490
- * optional Employee created_by_employee = 30;
1703
+ * optional Employee created_by_employee = 31;
1491
1704
  * @return {?proto.Employee}
1492
1705
  */
1493
1706
  proto.Quotation.prototype.getCreatedByEmployee = function() {
1494
1707
  return /** @type{?proto.Employee} */ (
1495
- jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 30));
1708
+ jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 31));
1496
1709
  };
1497
1710
 
1498
1711
 
@@ -1501,7 +1714,7 @@ proto.Quotation.prototype.getCreatedByEmployee = function() {
1501
1714
  * @return {!proto.Quotation} returns this
1502
1715
  */
1503
1716
  proto.Quotation.prototype.setCreatedByEmployee = function(value) {
1504
- return jspb.Message.setWrapperField(this, 30, value);
1717
+ return jspb.Message.setWrapperField(this, 31, value);
1505
1718
  };
1506
1719
 
1507
1720
 
@@ -1519,17 +1732,17 @@ proto.Quotation.prototype.clearCreatedByEmployee = function() {
1519
1732
  * @return {boolean}
1520
1733
  */
1521
1734
  proto.Quotation.prototype.hasCreatedByEmployee = function() {
1522
- return jspb.Message.getField(this, 30) != null;
1735
+ return jspb.Message.getField(this, 31) != null;
1523
1736
  };
1524
1737
 
1525
1738
 
1526
1739
  /**
1527
- * optional Employee updated_by_employee = 31;
1740
+ * optional Employee updated_by_employee = 32;
1528
1741
  * @return {?proto.Employee}
1529
1742
  */
1530
1743
  proto.Quotation.prototype.getUpdatedByEmployee = function() {
1531
1744
  return /** @type{?proto.Employee} */ (
1532
- jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 31));
1745
+ jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 32));
1533
1746
  };
1534
1747
 
1535
1748
 
@@ -1538,7 +1751,7 @@ proto.Quotation.prototype.getUpdatedByEmployee = function() {
1538
1751
  * @return {!proto.Quotation} returns this
1539
1752
  */
1540
1753
  proto.Quotation.prototype.setUpdatedByEmployee = function(value) {
1541
- return jspb.Message.setWrapperField(this, 31, value);
1754
+ return jspb.Message.setWrapperField(this, 32, value);
1542
1755
  };
1543
1756
 
1544
1757
 
@@ -1556,16 +1769,16 @@ proto.Quotation.prototype.clearUpdatedByEmployee = function() {
1556
1769
  * @return {boolean}
1557
1770
  */
1558
1771
  proto.Quotation.prototype.hasUpdatedByEmployee = function() {
1559
- return jspb.Message.getField(this, 31) != null;
1772
+ return jspb.Message.getField(this, 32) != null;
1560
1773
  };
1561
1774
 
1562
1775
 
1563
1776
  /**
1564
- * optional bool visible = 32;
1777
+ * optional bool visible = 33;
1565
1778
  * @return {boolean}
1566
1779
  */
1567
1780
  proto.Quotation.prototype.getVisible = function() {
1568
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 32, false));
1781
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 33, false));
1569
1782
  };
1570
1783
 
1571
1784
 
@@ -1574,17 +1787,17 @@ proto.Quotation.prototype.getVisible = function() {
1574
1787
  * @return {!proto.Quotation} returns this
1575
1788
  */
1576
1789
  proto.Quotation.prototype.setVisible = function(value) {
1577
- return jspb.Message.setProto3BooleanField(this, 32, value);
1790
+ return jspb.Message.setProto3BooleanField(this, 33, value);
1578
1791
  };
1579
1792
 
1580
1793
 
1581
1794
  /**
1582
- * optional Bidding bidding = 33;
1795
+ * optional Bidding bidding = 34;
1583
1796
  * @return {?proto.Bidding}
1584
1797
  */
1585
1798
  proto.Quotation.prototype.getBidding = function() {
1586
1799
  return /** @type{?proto.Bidding} */ (
1587
- jspb.Message.getWrapperField(this, proto.Bidding, 33));
1800
+ jspb.Message.getWrapperField(this, proto.Bidding, 34));
1588
1801
  };
1589
1802
 
1590
1803
 
@@ -1593,7 +1806,7 @@ proto.Quotation.prototype.getBidding = function() {
1593
1806
  * @return {!proto.Quotation} returns this
1594
1807
  */
1595
1808
  proto.Quotation.prototype.setBidding = function(value) {
1596
- return jspb.Message.setWrapperField(this, 33, value);
1809
+ return jspb.Message.setWrapperField(this, 34, value);
1597
1810
  };
1598
1811
 
1599
1812
 
@@ -1611,7 +1824,99 @@ proto.Quotation.prototype.clearBidding = function() {
1611
1824
  * @return {boolean}
1612
1825
  */
1613
1826
  proto.Quotation.prototype.hasBidding = function() {
1614
- return jspb.Message.getField(this, 33) != null;
1827
+ return jspb.Message.getField(this, 34) != null;
1828
+ };
1829
+
1830
+
1831
+ /**
1832
+ * optional string companies_references_id = 35;
1833
+ * @return {string}
1834
+ */
1835
+ proto.Quotation.prototype.getCompaniesReferencesId = function() {
1836
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
1837
+ };
1838
+
1839
+
1840
+ /**
1841
+ * @param {string} value
1842
+ * @return {!proto.Quotation} returns this
1843
+ */
1844
+ proto.Quotation.prototype.setCompaniesReferencesId = function(value) {
1845
+ return jspb.Message.setProto3StringField(this, 35, value);
1846
+ };
1847
+
1848
+
1849
+ /**
1850
+ * repeated FileUploadReferencesReq files = 36;
1851
+ * @return {!Array<!proto.FileUploadReferencesReq>}
1852
+ */
1853
+ proto.Quotation.prototype.getFilesList = function() {
1854
+ return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
1855
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 36));
1856
+ };
1857
+
1858
+
1859
+ /**
1860
+ * @param {!Array<!proto.FileUploadReferencesReq>} value
1861
+ * @return {!proto.Quotation} returns this
1862
+ */
1863
+ proto.Quotation.prototype.setFilesList = function(value) {
1864
+ return jspb.Message.setRepeatedWrapperField(this, 36, value);
1865
+ };
1866
+
1867
+
1868
+ /**
1869
+ * @param {!proto.FileUploadReferencesReq=} opt_value
1870
+ * @param {number=} opt_index
1871
+ * @return {!proto.FileUploadReferencesReq}
1872
+ */
1873
+ proto.Quotation.prototype.addFiles = function(opt_value, opt_index) {
1874
+ return jspb.Message.addToRepeatedWrapperField(this, 36, opt_value, proto.FileUploadReferencesReq, opt_index);
1875
+ };
1876
+
1877
+
1878
+ /**
1879
+ * Clears the list making it empty but non-null.
1880
+ * @return {!proto.Quotation} returns this
1881
+ */
1882
+ proto.Quotation.prototype.clearFilesList = function() {
1883
+ return this.setFilesList([]);
1884
+ };
1885
+
1886
+
1887
+ /**
1888
+ * optional string purchase_requisition_transaction_number = 37;
1889
+ * @return {string}
1890
+ */
1891
+ proto.Quotation.prototype.getPurchaseRequisitionTransactionNumber = function() {
1892
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, ""));
1893
+ };
1894
+
1895
+
1896
+ /**
1897
+ * @param {string} value
1898
+ * @return {!proto.Quotation} returns this
1899
+ */
1900
+ proto.Quotation.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
1901
+ return jspb.Message.setProto3StringField(this, 37, value);
1902
+ };
1903
+
1904
+
1905
+ /**
1906
+ * optional string file_ids = 38;
1907
+ * @return {string}
1908
+ */
1909
+ proto.Quotation.prototype.getFileIds = function() {
1910
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 38, ""));
1911
+ };
1912
+
1913
+
1914
+ /**
1915
+ * @param {string} value
1916
+ * @return {!proto.Quotation} returns this
1917
+ */
1918
+ proto.Quotation.prototype.setFileIds = function(value) {
1919
+ return jspb.Message.setProto3StringField(this, 38, value);
1615
1920
  };
1616
1921
 
1617
1922
 
@@ -1677,7 +1982,8 @@ createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_e
1677
1982
  updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
1678
1983
  status: jspb.Message.getFieldWithDefault(msg, 21, ""),
1679
1984
  companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 22, ""),
1680
- groupReferences: jspb.Message.getFieldWithDefault(msg, 23, "")
1985
+ groupReferences: jspb.Message.getFieldWithDefault(msg, 23, ""),
1986
+ purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 24, "")
1681
1987
  };
1682
1988
 
1683
1989
  if (includeInstance) {
@@ -1809,6 +2115,10 @@ proto.Bidding.deserializeBinaryFromReader = function(msg, reader) {
1809
2115
  var value = /** @type {string} */ (reader.readString());
1810
2116
  msg.setGroupReferences(value);
1811
2117
  break;
2118
+ case 24:
2119
+ var value = /** @type {string} */ (reader.readString());
2120
+ msg.setPurchaseRequisitionTransactionNumber(value);
2121
+ break;
1812
2122
  default:
1813
2123
  reader.skipField();
1814
2124
  break;
@@ -2002,6 +2312,13 @@ proto.Bidding.serializeBinaryToWriter = function(message, writer) {
2002
2312
  f
2003
2313
  );
2004
2314
  }
2315
+ f = message.getPurchaseRequisitionTransactionNumber();
2316
+ if (f.length > 0) {
2317
+ writer.writeString(
2318
+ 24,
2319
+ f
2320
+ );
2321
+ }
2005
2322
  };
2006
2323
 
2007
2324
 
@@ -2477,6 +2794,24 @@ proto.Bidding.prototype.setGroupReferences = function(value) {
2477
2794
  };
2478
2795
 
2479
2796
 
2797
+ /**
2798
+ * optional string purchase_requisition_transaction_number = 24;
2799
+ * @return {string}
2800
+ */
2801
+ proto.Bidding.prototype.getPurchaseRequisitionTransactionNumber = function() {
2802
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
2803
+ };
2804
+
2805
+
2806
+ /**
2807
+ * @param {string} value
2808
+ * @return {!proto.Bidding} returns this
2809
+ */
2810
+ proto.Bidding.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
2811
+ return jspb.Message.setProto3StringField(this, 24, value);
2812
+ };
2813
+
2814
+
2480
2815
 
2481
2816
  /**
2482
2817
  * List of repeated fields within this message type.
@@ -2529,7 +2864,8 @@ filesList: jspb.Message.toObjectList(msg.getFilesList(),
2529
2864
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
2530
2865
  itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
2531
2866
  prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
2532
- status: jspb.Message.getFieldWithDefault(msg, 14, "")
2867
+ status: jspb.Message.getFieldWithDefault(msg, 14, ""),
2868
+ purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 15, "")
2533
2869
  };
2534
2870
 
2535
2871
  if (includeInstance) {
@@ -2616,6 +2952,10 @@ proto.RequestBiddingBase.deserializeBinaryFromReader = function(msg, reader) {
2616
2952
  var value = /** @type {string} */ (reader.readString());
2617
2953
  msg.setStatus(value);
2618
2954
  break;
2955
+ case 15:
2956
+ var value = /** @type {string} */ (reader.readString());
2957
+ msg.setPurchaseRequisitionTransactionNumber(value);
2958
+ break;
2619
2959
  default:
2620
2960
  reader.skipField();
2621
2961
  break;
@@ -2731,6 +3071,13 @@ proto.RequestBiddingBase.serializeBinaryToWriter = function(message, writer) {
2731
3071
  f
2732
3072
  );
2733
3073
  }
3074
+ f = message.getPurchaseRequisitionTransactionNumber();
3075
+ if (f.length > 0) {
3076
+ writer.writeString(
3077
+ 15,
3078
+ f
3079
+ );
3080
+ }
2734
3081
  };
2735
3082
 
2736
3083
 
@@ -2990,6 +3337,24 @@ proto.RequestBiddingBase.prototype.setStatus = function(value) {
2990
3337
  };
2991
3338
 
2992
3339
 
3340
+ /**
3341
+ * optional string purchase_requisition_transaction_number = 15;
3342
+ * @return {string}
3343
+ */
3344
+ proto.RequestBiddingBase.prototype.getPurchaseRequisitionTransactionNumber = function() {
3345
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
3346
+ };
3347
+
3348
+
3349
+ /**
3350
+ * @param {string} value
3351
+ * @return {!proto.RequestBiddingBase} returns this
3352
+ */
3353
+ proto.RequestBiddingBase.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
3354
+ return jspb.Message.setProto3StringField(this, 15, value);
3355
+ };
3356
+
3357
+
2993
3358
 
2994
3359
 
2995
3360
 
@@ -3006,8 +3371,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3006
3371
  * http://goto/soy-param-migration
3007
3372
  * @return {!Object}
3008
3373
  */
3009
- proto.RequestBidding.prototype.toObject = function(opt_includeInstance) {
3010
- return proto.RequestBidding.toObject(opt_includeInstance, this);
3374
+ proto.RequestAddVendorBidding.prototype.toObject = function(opt_includeInstance) {
3375
+ return proto.RequestAddVendorBidding.toObject(opt_includeInstance, this);
3011
3376
  };
3012
3377
 
3013
3378
 
@@ -3016,13 +3381,14 @@ proto.RequestBidding.prototype.toObject = function(opt_includeInstance) {
3016
3381
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3017
3382
  * the JSPB instance for transitional soy proto support:
3018
3383
  * http://goto/soy-param-migration
3019
- * @param {!proto.RequestBidding} msg The msg instance to transform.
3384
+ * @param {!proto.RequestAddVendorBidding} msg The msg instance to transform.
3020
3385
  * @return {!Object}
3021
3386
  * @suppress {unusedLocalVariables} f is only used for nested messages
3022
3387
  */
3023
- proto.RequestBidding.toObject = function(includeInstance, msg) {
3388
+ proto.RequestAddVendorBidding.toObject = function(includeInstance, msg) {
3024
3389
  var f, obj = {
3025
- requestBidding: (f = msg.getRequestBidding()) && proto.RequestBiddingBase.toObject(includeInstance, f)
3390
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3391
+ requestQuotationVendor: (f = msg.getRequestQuotationVendor()) && prisca_v1_request_for_quotation_request_for_quotation_pb.RequestForQuotationVendor.toObject(includeInstance, f)
3026
3392
  };
3027
3393
 
3028
3394
  if (includeInstance) {
@@ -3036,23 +3402,23 @@ requestBidding: (f = msg.getRequestBidding()) && proto.RequestBiddingBase.toObje
3036
3402
  /**
3037
3403
  * Deserializes binary data (in protobuf wire format).
3038
3404
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3039
- * @return {!proto.RequestBidding}
3405
+ * @return {!proto.RequestAddVendorBidding}
3040
3406
  */
3041
- proto.RequestBidding.deserializeBinary = function(bytes) {
3407
+ proto.RequestAddVendorBidding.deserializeBinary = function(bytes) {
3042
3408
  var reader = new jspb.BinaryReader(bytes);
3043
- var msg = new proto.RequestBidding;
3044
- return proto.RequestBidding.deserializeBinaryFromReader(msg, reader);
3409
+ var msg = new proto.RequestAddVendorBidding;
3410
+ return proto.RequestAddVendorBidding.deserializeBinaryFromReader(msg, reader);
3045
3411
  };
3046
3412
 
3047
3413
 
3048
3414
  /**
3049
3415
  * Deserializes binary data (in protobuf wire format) from the
3050
3416
  * given reader into the given message object.
3051
- * @param {!proto.RequestBidding} msg The message object to deserialize into.
3417
+ * @param {!proto.RequestAddVendorBidding} msg The message object to deserialize into.
3052
3418
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3053
- * @return {!proto.RequestBidding}
3419
+ * @return {!proto.RequestAddVendorBidding}
3054
3420
  */
3055
- proto.RequestBidding.deserializeBinaryFromReader = function(msg, reader) {
3421
+ proto.RequestAddVendorBidding.deserializeBinaryFromReader = function(msg, reader) {
3056
3422
  while (reader.nextField()) {
3057
3423
  if (reader.isEndGroup()) {
3058
3424
  break;
@@ -3060,9 +3426,13 @@ proto.RequestBidding.deserializeBinaryFromReader = function(msg, reader) {
3060
3426
  var field = reader.getFieldNumber();
3061
3427
  switch (field) {
3062
3428
  case 1:
3063
- var value = new proto.RequestBiddingBase;
3064
- reader.readMessage(value,proto.RequestBiddingBase.deserializeBinaryFromReader);
3065
- msg.setRequestBidding(value);
3429
+ var value = /** @type {string} */ (reader.readString());
3430
+ msg.setReferencesId(value);
3431
+ break;
3432
+ case 2:
3433
+ var value = new prisca_v1_request_for_quotation_request_for_quotation_pb.RequestForQuotationVendor;
3434
+ reader.readMessage(value,prisca_v1_request_for_quotation_request_for_quotation_pb.RequestForQuotationVendor.deserializeBinaryFromReader);
3435
+ msg.setRequestQuotationVendor(value);
3066
3436
  break;
3067
3437
  default:
3068
3438
  reader.skipField();
@@ -3077,9 +3447,9 @@ proto.RequestBidding.deserializeBinaryFromReader = function(msg, reader) {
3077
3447
  * Serializes the message to binary data (in protobuf wire format).
3078
3448
  * @return {!Uint8Array}
3079
3449
  */
3080
- proto.RequestBidding.prototype.serializeBinary = function() {
3450
+ proto.RequestAddVendorBidding.prototype.serializeBinary = function() {
3081
3451
  var writer = new jspb.BinaryWriter();
3082
- proto.RequestBidding.serializeBinaryToWriter(this, writer);
3452
+ proto.RequestAddVendorBidding.serializeBinaryToWriter(this, writer);
3083
3453
  return writer.getResultBuffer();
3084
3454
  };
3085
3455
 
@@ -3087,48 +3457,73 @@ proto.RequestBidding.prototype.serializeBinary = function() {
3087
3457
  /**
3088
3458
  * Serializes the given message to binary data (in protobuf wire
3089
3459
  * format), writing to the given BinaryWriter.
3090
- * @param {!proto.RequestBidding} message
3460
+ * @param {!proto.RequestAddVendorBidding} message
3091
3461
  * @param {!jspb.BinaryWriter} writer
3092
3462
  * @suppress {unusedLocalVariables} f is only used for nested messages
3093
3463
  */
3094
- proto.RequestBidding.serializeBinaryToWriter = function(message, writer) {
3464
+ proto.RequestAddVendorBidding.serializeBinaryToWriter = function(message, writer) {
3095
3465
  var f = undefined;
3096
- f = message.getRequestBidding();
3466
+ f = message.getReferencesId();
3467
+ if (f.length > 0) {
3468
+ writer.writeString(
3469
+ 1,
3470
+ f
3471
+ );
3472
+ }
3473
+ f = message.getRequestQuotationVendor();
3097
3474
  if (f != null) {
3098
3475
  writer.writeMessage(
3099
- 1,
3476
+ 2,
3100
3477
  f,
3101
- proto.RequestBiddingBase.serializeBinaryToWriter
3478
+ prisca_v1_request_for_quotation_request_for_quotation_pb.RequestForQuotationVendor.serializeBinaryToWriter
3102
3479
  );
3103
3480
  }
3104
3481
  };
3105
3482
 
3106
3483
 
3107
3484
  /**
3108
- * optional RequestBiddingBase request_bidding = 1;
3109
- * @return {?proto.RequestBiddingBase}
3485
+ * optional string references_id = 1;
3486
+ * @return {string}
3110
3487
  */
3111
- proto.RequestBidding.prototype.getRequestBidding = function() {
3112
- return /** @type{?proto.RequestBiddingBase} */ (
3113
- jspb.Message.getWrapperField(this, proto.RequestBiddingBase, 1));
3488
+ proto.RequestAddVendorBidding.prototype.getReferencesId = function() {
3489
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3114
3490
  };
3115
3491
 
3116
3492
 
3117
3493
  /**
3118
- * @param {?proto.RequestBiddingBase|undefined} value
3119
- * @return {!proto.RequestBidding} returns this
3494
+ * @param {string} value
3495
+ * @return {!proto.RequestAddVendorBidding} returns this
3496
+ */
3497
+ proto.RequestAddVendorBidding.prototype.setReferencesId = function(value) {
3498
+ return jspb.Message.setProto3StringField(this, 1, value);
3499
+ };
3500
+
3501
+
3502
+ /**
3503
+ * optional RequestForQuotationVendor request_quotation_vendor = 2;
3504
+ * @return {?proto.RequestForQuotationVendor}
3505
+ */
3506
+ proto.RequestAddVendorBidding.prototype.getRequestQuotationVendor = function() {
3507
+ return /** @type{?proto.RequestForQuotationVendor} */ (
3508
+ jspb.Message.getWrapperField(this, prisca_v1_request_for_quotation_request_for_quotation_pb.RequestForQuotationVendor, 2));
3509
+ };
3510
+
3511
+
3512
+ /**
3513
+ * @param {?proto.RequestForQuotationVendor|undefined} value
3514
+ * @return {!proto.RequestAddVendorBidding} returns this
3120
3515
  */
3121
- proto.RequestBidding.prototype.setRequestBidding = function(value) {
3122
- return jspb.Message.setWrapperField(this, 1, value);
3516
+ proto.RequestAddVendorBidding.prototype.setRequestQuotationVendor = function(value) {
3517
+ return jspb.Message.setWrapperField(this, 2, value);
3123
3518
  };
3124
3519
 
3125
3520
 
3126
3521
  /**
3127
3522
  * Clears the message field making it undefined.
3128
- * @return {!proto.RequestBidding} returns this
3523
+ * @return {!proto.RequestAddVendorBidding} returns this
3129
3524
  */
3130
- proto.RequestBidding.prototype.clearRequestBidding = function() {
3131
- return this.setRequestBidding(undefined);
3525
+ proto.RequestAddVendorBidding.prototype.clearRequestQuotationVendor = function() {
3526
+ return this.setRequestQuotationVendor(undefined);
3132
3527
  };
3133
3528
 
3134
3529
 
@@ -3136,8 +3531,8 @@ proto.RequestBidding.prototype.clearRequestBidding = function() {
3136
3531
  * Returns whether this field is set.
3137
3532
  * @return {boolean}
3138
3533
  */
3139
- proto.RequestBidding.prototype.hasRequestBidding = function() {
3140
- return jspb.Message.getField(this, 1) != null;
3534
+ proto.RequestAddVendorBidding.prototype.hasRequestQuotationVendor = function() {
3535
+ return jspb.Message.getField(this, 2) != null;
3141
3536
  };
3142
3537
 
3143
3538
 
@@ -3157,8 +3552,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3157
3552
  * http://goto/soy-param-migration
3158
3553
  * @return {!Object}
3159
3554
  */
3160
- proto.GetBiddingByIdRequest.prototype.toObject = function(opt_includeInstance) {
3161
- return proto.GetBiddingByIdRequest.toObject(opt_includeInstance, this);
3555
+ proto.UpdateBiddingStatusReq.prototype.toObject = function(opt_includeInstance) {
3556
+ return proto.UpdateBiddingStatusReq.toObject(opt_includeInstance, this);
3162
3557
  };
3163
3558
 
3164
3559
 
@@ -3167,13 +3562,14 @@ proto.GetBiddingByIdRequest.prototype.toObject = function(opt_includeInstance) {
3167
3562
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3168
3563
  * the JSPB instance for transitional soy proto support:
3169
3564
  * http://goto/soy-param-migration
3170
- * @param {!proto.GetBiddingByIdRequest} msg The msg instance to transform.
3565
+ * @param {!proto.UpdateBiddingStatusReq} msg The msg instance to transform.
3171
3566
  * @return {!Object}
3172
3567
  * @suppress {unusedLocalVariables} f is only used for nested messages
3173
3568
  */
3174
- proto.GetBiddingByIdRequest.toObject = function(includeInstance, msg) {
3569
+ proto.UpdateBiddingStatusReq.toObject = function(includeInstance, msg) {
3175
3570
  var f, obj = {
3176
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
3571
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3572
+ status: jspb.Message.getFieldWithDefault(msg, 2, "")
3177
3573
  };
3178
3574
 
3179
3575
  if (includeInstance) {
@@ -3187,23 +3583,23 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
3187
3583
  /**
3188
3584
  * Deserializes binary data (in protobuf wire format).
3189
3585
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3190
- * @return {!proto.GetBiddingByIdRequest}
3586
+ * @return {!proto.UpdateBiddingStatusReq}
3191
3587
  */
3192
- proto.GetBiddingByIdRequest.deserializeBinary = function(bytes) {
3588
+ proto.UpdateBiddingStatusReq.deserializeBinary = function(bytes) {
3193
3589
  var reader = new jspb.BinaryReader(bytes);
3194
- var msg = new proto.GetBiddingByIdRequest;
3195
- return proto.GetBiddingByIdRequest.deserializeBinaryFromReader(msg, reader);
3590
+ var msg = new proto.UpdateBiddingStatusReq;
3591
+ return proto.UpdateBiddingStatusReq.deserializeBinaryFromReader(msg, reader);
3196
3592
  };
3197
3593
 
3198
3594
 
3199
3595
  /**
3200
3596
  * Deserializes binary data (in protobuf wire format) from the
3201
3597
  * given reader into the given message object.
3202
- * @param {!proto.GetBiddingByIdRequest} msg The message object to deserialize into.
3598
+ * @param {!proto.UpdateBiddingStatusReq} msg The message object to deserialize into.
3203
3599
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3204
- * @return {!proto.GetBiddingByIdRequest}
3600
+ * @return {!proto.UpdateBiddingStatusReq}
3205
3601
  */
3206
- proto.GetBiddingByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
3602
+ proto.UpdateBiddingStatusReq.deserializeBinaryFromReader = function(msg, reader) {
3207
3603
  while (reader.nextField()) {
3208
3604
  if (reader.isEndGroup()) {
3209
3605
  break;
@@ -3214,6 +3610,10 @@ proto.GetBiddingByIdRequest.deserializeBinaryFromReader = function(msg, reader)
3214
3610
  var value = /** @type {string} */ (reader.readString());
3215
3611
  msg.setReferencesId(value);
3216
3612
  break;
3613
+ case 2:
3614
+ var value = /** @type {string} */ (reader.readString());
3615
+ msg.setStatus(value);
3616
+ break;
3217
3617
  default:
3218
3618
  reader.skipField();
3219
3619
  break;
@@ -3227,9 +3627,9 @@ proto.GetBiddingByIdRequest.deserializeBinaryFromReader = function(msg, reader)
3227
3627
  * Serializes the message to binary data (in protobuf wire format).
3228
3628
  * @return {!Uint8Array}
3229
3629
  */
3230
- proto.GetBiddingByIdRequest.prototype.serializeBinary = function() {
3630
+ proto.UpdateBiddingStatusReq.prototype.serializeBinary = function() {
3231
3631
  var writer = new jspb.BinaryWriter();
3232
- proto.GetBiddingByIdRequest.serializeBinaryToWriter(this, writer);
3632
+ proto.UpdateBiddingStatusReq.serializeBinaryToWriter(this, writer);
3233
3633
  return writer.getResultBuffer();
3234
3634
  };
3235
3635
 
@@ -3237,11 +3637,11 @@ proto.GetBiddingByIdRequest.prototype.serializeBinary = function() {
3237
3637
  /**
3238
3638
  * Serializes the given message to binary data (in protobuf wire
3239
3639
  * format), writing to the given BinaryWriter.
3240
- * @param {!proto.GetBiddingByIdRequest} message
3640
+ * @param {!proto.UpdateBiddingStatusReq} message
3241
3641
  * @param {!jspb.BinaryWriter} writer
3242
3642
  * @suppress {unusedLocalVariables} f is only used for nested messages
3243
3643
  */
3244
- proto.GetBiddingByIdRequest.serializeBinaryToWriter = function(message, writer) {
3644
+ proto.UpdateBiddingStatusReq.serializeBinaryToWriter = function(message, writer) {
3245
3645
  var f = undefined;
3246
3646
  f = message.getReferencesId();
3247
3647
  if (f.length > 0) {
@@ -3250,6 +3650,13 @@ proto.GetBiddingByIdRequest.serializeBinaryToWriter = function(message, writer)
3250
3650
  f
3251
3651
  );
3252
3652
  }
3653
+ f = message.getStatus();
3654
+ if (f.length > 0) {
3655
+ writer.writeString(
3656
+ 2,
3657
+ f
3658
+ );
3659
+ }
3253
3660
  };
3254
3661
 
3255
3662
 
@@ -3257,20 +3664,38 @@ proto.GetBiddingByIdRequest.serializeBinaryToWriter = function(message, writer)
3257
3664
  * optional string references_id = 1;
3258
3665
  * @return {string}
3259
3666
  */
3260
- proto.GetBiddingByIdRequest.prototype.getReferencesId = function() {
3667
+ proto.UpdateBiddingStatusReq.prototype.getReferencesId = function() {
3261
3668
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3262
3669
  };
3263
3670
 
3264
3671
 
3265
3672
  /**
3266
3673
  * @param {string} value
3267
- * @return {!proto.GetBiddingByIdRequest} returns this
3674
+ * @return {!proto.UpdateBiddingStatusReq} returns this
3268
3675
  */
3269
- proto.GetBiddingByIdRequest.prototype.setReferencesId = function(value) {
3676
+ proto.UpdateBiddingStatusReq.prototype.setReferencesId = function(value) {
3270
3677
  return jspb.Message.setProto3StringField(this, 1, value);
3271
3678
  };
3272
3679
 
3273
3680
 
3681
+ /**
3682
+ * optional string status = 2;
3683
+ * @return {string}
3684
+ */
3685
+ proto.UpdateBiddingStatusReq.prototype.getStatus = function() {
3686
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3687
+ };
3688
+
3689
+
3690
+ /**
3691
+ * @param {string} value
3692
+ * @return {!proto.UpdateBiddingStatusReq} returns this
3693
+ */
3694
+ proto.UpdateBiddingStatusReq.prototype.setStatus = function(value) {
3695
+ return jspb.Message.setProto3StringField(this, 2, value);
3696
+ };
3697
+
3698
+
3274
3699
 
3275
3700
 
3276
3701
 
@@ -3287,8 +3712,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3287
3712
  * http://goto/soy-param-migration
3288
3713
  * @return {!Object}
3289
3714
  */
3290
- proto.GetDetailBiddingByReferences.prototype.toObject = function(opt_includeInstance) {
3291
- return proto.GetDetailBiddingByReferences.toObject(opt_includeInstance, this);
3715
+ proto.CreateBiddingRequest.prototype.toObject = function(opt_includeInstance) {
3716
+ return proto.CreateBiddingRequest.toObject(opt_includeInstance, this);
3292
3717
  };
3293
3718
 
3294
3719
 
@@ -3297,11 +3722,11 @@ proto.GetDetailBiddingByReferences.prototype.toObject = function(opt_includeInst
3297
3722
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3298
3723
  * the JSPB instance for transitional soy proto support:
3299
3724
  * http://goto/soy-param-migration
3300
- * @param {!proto.GetDetailBiddingByReferences} msg The msg instance to transform.
3725
+ * @param {!proto.CreateBiddingRequest} msg The msg instance to transform.
3301
3726
  * @return {!Object}
3302
3727
  * @suppress {unusedLocalVariables} f is only used for nested messages
3303
3728
  */
3304
- proto.GetDetailBiddingByReferences.toObject = function(includeInstance, msg) {
3729
+ proto.CreateBiddingRequest.toObject = function(includeInstance, msg) {
3305
3730
  var f, obj = {
3306
3731
  referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
3307
3732
  };
@@ -3317,23 +3742,23 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
3317
3742
  /**
3318
3743
  * Deserializes binary data (in protobuf wire format).
3319
3744
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3320
- * @return {!proto.GetDetailBiddingByReferences}
3745
+ * @return {!proto.CreateBiddingRequest}
3321
3746
  */
3322
- proto.GetDetailBiddingByReferences.deserializeBinary = function(bytes) {
3747
+ proto.CreateBiddingRequest.deserializeBinary = function(bytes) {
3323
3748
  var reader = new jspb.BinaryReader(bytes);
3324
- var msg = new proto.GetDetailBiddingByReferences;
3325
- return proto.GetDetailBiddingByReferences.deserializeBinaryFromReader(msg, reader);
3749
+ var msg = new proto.CreateBiddingRequest;
3750
+ return proto.CreateBiddingRequest.deserializeBinaryFromReader(msg, reader);
3326
3751
  };
3327
3752
 
3328
3753
 
3329
3754
  /**
3330
3755
  * Deserializes binary data (in protobuf wire format) from the
3331
3756
  * given reader into the given message object.
3332
- * @param {!proto.GetDetailBiddingByReferences} msg The message object to deserialize into.
3757
+ * @param {!proto.CreateBiddingRequest} msg The message object to deserialize into.
3333
3758
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3334
- * @return {!proto.GetDetailBiddingByReferences}
3759
+ * @return {!proto.CreateBiddingRequest}
3335
3760
  */
3336
- proto.GetDetailBiddingByReferences.deserializeBinaryFromReader = function(msg, reader) {
3761
+ proto.CreateBiddingRequest.deserializeBinaryFromReader = function(msg, reader) {
3337
3762
  while (reader.nextField()) {
3338
3763
  if (reader.isEndGroup()) {
3339
3764
  break;
@@ -3357,9 +3782,9 @@ proto.GetDetailBiddingByReferences.deserializeBinaryFromReader = function(msg, r
3357
3782
  * Serializes the message to binary data (in protobuf wire format).
3358
3783
  * @return {!Uint8Array}
3359
3784
  */
3360
- proto.GetDetailBiddingByReferences.prototype.serializeBinary = function() {
3785
+ proto.CreateBiddingRequest.prototype.serializeBinary = function() {
3361
3786
  var writer = new jspb.BinaryWriter();
3362
- proto.GetDetailBiddingByReferences.serializeBinaryToWriter(this, writer);
3787
+ proto.CreateBiddingRequest.serializeBinaryToWriter(this, writer);
3363
3788
  return writer.getResultBuffer();
3364
3789
  };
3365
3790
 
@@ -3367,11 +3792,11 @@ proto.GetDetailBiddingByReferences.prototype.serializeBinary = function() {
3367
3792
  /**
3368
3793
  * Serializes the given message to binary data (in protobuf wire
3369
3794
  * format), writing to the given BinaryWriter.
3370
- * @param {!proto.GetDetailBiddingByReferences} message
3795
+ * @param {!proto.CreateBiddingRequest} message
3371
3796
  * @param {!jspb.BinaryWriter} writer
3372
3797
  * @suppress {unusedLocalVariables} f is only used for nested messages
3373
3798
  */
3374
- proto.GetDetailBiddingByReferences.serializeBinaryToWriter = function(message, writer) {
3799
+ proto.CreateBiddingRequest.serializeBinaryToWriter = function(message, writer) {
3375
3800
  var f = undefined;
3376
3801
  f = message.getReferencesId();
3377
3802
  if (f.length > 0) {
@@ -3387,16 +3812,16 @@ proto.GetDetailBiddingByReferences.serializeBinaryToWriter = function(message, w
3387
3812
  * optional string references_id = 1;
3388
3813
  * @return {string}
3389
3814
  */
3390
- proto.GetDetailBiddingByReferences.prototype.getReferencesId = function() {
3815
+ proto.CreateBiddingRequest.prototype.getReferencesId = function() {
3391
3816
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3392
3817
  };
3393
3818
 
3394
3819
 
3395
3820
  /**
3396
3821
  * @param {string} value
3397
- * @return {!proto.GetDetailBiddingByReferences} returns this
3822
+ * @return {!proto.CreateBiddingRequest} returns this
3398
3823
  */
3399
- proto.GetDetailBiddingByReferences.prototype.setReferencesId = function(value) {
3824
+ proto.CreateBiddingRequest.prototype.setReferencesId = function(value) {
3400
3825
  return jspb.Message.setProto3StringField(this, 1, value);
3401
3826
  };
3402
3827
 
@@ -3417,8 +3842,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3417
3842
  * http://goto/soy-param-migration
3418
3843
  * @return {!Object}
3419
3844
  */
3420
- proto.UpdateBiddingReq.prototype.toObject = function(opt_includeInstance) {
3421
- return proto.UpdateBiddingReq.toObject(opt_includeInstance, this);
3845
+ proto.RequestBidding.prototype.toObject = function(opt_includeInstance) {
3846
+ return proto.RequestBidding.toObject(opt_includeInstance, this);
3422
3847
  };
3423
3848
 
3424
3849
 
@@ -3427,13 +3852,12 @@ proto.UpdateBiddingReq.prototype.toObject = function(opt_includeInstance) {
3427
3852
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3428
3853
  * the JSPB instance for transitional soy proto support:
3429
3854
  * http://goto/soy-param-migration
3430
- * @param {!proto.UpdateBiddingReq} msg The msg instance to transform.
3855
+ * @param {!proto.RequestBidding} msg The msg instance to transform.
3431
3856
  * @return {!Object}
3432
3857
  * @suppress {unusedLocalVariables} f is only used for nested messages
3433
3858
  */
3434
- proto.UpdateBiddingReq.toObject = function(includeInstance, msg) {
3859
+ proto.RequestBidding.toObject = function(includeInstance, msg) {
3435
3860
  var f, obj = {
3436
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3437
3861
  requestBidding: (f = msg.getRequestBidding()) && proto.RequestBiddingBase.toObject(includeInstance, f)
3438
3862
  };
3439
3863
 
@@ -3448,7 +3872,419 @@ requestBidding: (f = msg.getRequestBidding()) && proto.RequestBiddingBase.toObje
3448
3872
  /**
3449
3873
  * Deserializes binary data (in protobuf wire format).
3450
3874
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3451
- * @return {!proto.UpdateBiddingReq}
3875
+ * @return {!proto.RequestBidding}
3876
+ */
3877
+ proto.RequestBidding.deserializeBinary = function(bytes) {
3878
+ var reader = new jspb.BinaryReader(bytes);
3879
+ var msg = new proto.RequestBidding;
3880
+ return proto.RequestBidding.deserializeBinaryFromReader(msg, reader);
3881
+ };
3882
+
3883
+
3884
+ /**
3885
+ * Deserializes binary data (in protobuf wire format) from the
3886
+ * given reader into the given message object.
3887
+ * @param {!proto.RequestBidding} msg The message object to deserialize into.
3888
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3889
+ * @return {!proto.RequestBidding}
3890
+ */
3891
+ proto.RequestBidding.deserializeBinaryFromReader = function(msg, reader) {
3892
+ while (reader.nextField()) {
3893
+ if (reader.isEndGroup()) {
3894
+ break;
3895
+ }
3896
+ var field = reader.getFieldNumber();
3897
+ switch (field) {
3898
+ case 1:
3899
+ var value = new proto.RequestBiddingBase;
3900
+ reader.readMessage(value,proto.RequestBiddingBase.deserializeBinaryFromReader);
3901
+ msg.setRequestBidding(value);
3902
+ break;
3903
+ default:
3904
+ reader.skipField();
3905
+ break;
3906
+ }
3907
+ }
3908
+ return msg;
3909
+ };
3910
+
3911
+
3912
+ /**
3913
+ * Serializes the message to binary data (in protobuf wire format).
3914
+ * @return {!Uint8Array}
3915
+ */
3916
+ proto.RequestBidding.prototype.serializeBinary = function() {
3917
+ var writer = new jspb.BinaryWriter();
3918
+ proto.RequestBidding.serializeBinaryToWriter(this, writer);
3919
+ return writer.getResultBuffer();
3920
+ };
3921
+
3922
+
3923
+ /**
3924
+ * Serializes the given message to binary data (in protobuf wire
3925
+ * format), writing to the given BinaryWriter.
3926
+ * @param {!proto.RequestBidding} message
3927
+ * @param {!jspb.BinaryWriter} writer
3928
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3929
+ */
3930
+ proto.RequestBidding.serializeBinaryToWriter = function(message, writer) {
3931
+ var f = undefined;
3932
+ f = message.getRequestBidding();
3933
+ if (f != null) {
3934
+ writer.writeMessage(
3935
+ 1,
3936
+ f,
3937
+ proto.RequestBiddingBase.serializeBinaryToWriter
3938
+ );
3939
+ }
3940
+ };
3941
+
3942
+
3943
+ /**
3944
+ * optional RequestBiddingBase request_bidding = 1;
3945
+ * @return {?proto.RequestBiddingBase}
3946
+ */
3947
+ proto.RequestBidding.prototype.getRequestBidding = function() {
3948
+ return /** @type{?proto.RequestBiddingBase} */ (
3949
+ jspb.Message.getWrapperField(this, proto.RequestBiddingBase, 1));
3950
+ };
3951
+
3952
+
3953
+ /**
3954
+ * @param {?proto.RequestBiddingBase|undefined} value
3955
+ * @return {!proto.RequestBidding} returns this
3956
+ */
3957
+ proto.RequestBidding.prototype.setRequestBidding = function(value) {
3958
+ return jspb.Message.setWrapperField(this, 1, value);
3959
+ };
3960
+
3961
+
3962
+ /**
3963
+ * Clears the message field making it undefined.
3964
+ * @return {!proto.RequestBidding} returns this
3965
+ */
3966
+ proto.RequestBidding.prototype.clearRequestBidding = function() {
3967
+ return this.setRequestBidding(undefined);
3968
+ };
3969
+
3970
+
3971
+ /**
3972
+ * Returns whether this field is set.
3973
+ * @return {boolean}
3974
+ */
3975
+ proto.RequestBidding.prototype.hasRequestBidding = function() {
3976
+ return jspb.Message.getField(this, 1) != null;
3977
+ };
3978
+
3979
+
3980
+
3981
+
3982
+
3983
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3984
+ /**
3985
+ * Creates an object representation of this proto.
3986
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3987
+ * Optional fields that are not set will be set to undefined.
3988
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3989
+ * For the list of reserved names please see:
3990
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3991
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3992
+ * JSPB instance for transitional soy proto support:
3993
+ * http://goto/soy-param-migration
3994
+ * @return {!Object}
3995
+ */
3996
+ proto.GetBiddingByIdRequest.prototype.toObject = function(opt_includeInstance) {
3997
+ return proto.GetBiddingByIdRequest.toObject(opt_includeInstance, this);
3998
+ };
3999
+
4000
+
4001
+ /**
4002
+ * Static version of the {@see toObject} method.
4003
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4004
+ * the JSPB instance for transitional soy proto support:
4005
+ * http://goto/soy-param-migration
4006
+ * @param {!proto.GetBiddingByIdRequest} msg The msg instance to transform.
4007
+ * @return {!Object}
4008
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4009
+ */
4010
+ proto.GetBiddingByIdRequest.toObject = function(includeInstance, msg) {
4011
+ var f, obj = {
4012
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
4013
+ };
4014
+
4015
+ if (includeInstance) {
4016
+ obj.$jspbMessageInstance = msg;
4017
+ }
4018
+ return obj;
4019
+ };
4020
+ }
4021
+
4022
+
4023
+ /**
4024
+ * Deserializes binary data (in protobuf wire format).
4025
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4026
+ * @return {!proto.GetBiddingByIdRequest}
4027
+ */
4028
+ proto.GetBiddingByIdRequest.deserializeBinary = function(bytes) {
4029
+ var reader = new jspb.BinaryReader(bytes);
4030
+ var msg = new proto.GetBiddingByIdRequest;
4031
+ return proto.GetBiddingByIdRequest.deserializeBinaryFromReader(msg, reader);
4032
+ };
4033
+
4034
+
4035
+ /**
4036
+ * Deserializes binary data (in protobuf wire format) from the
4037
+ * given reader into the given message object.
4038
+ * @param {!proto.GetBiddingByIdRequest} msg The message object to deserialize into.
4039
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4040
+ * @return {!proto.GetBiddingByIdRequest}
4041
+ */
4042
+ proto.GetBiddingByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
4043
+ while (reader.nextField()) {
4044
+ if (reader.isEndGroup()) {
4045
+ break;
4046
+ }
4047
+ var field = reader.getFieldNumber();
4048
+ switch (field) {
4049
+ case 1:
4050
+ var value = /** @type {string} */ (reader.readString());
4051
+ msg.setReferencesId(value);
4052
+ break;
4053
+ default:
4054
+ reader.skipField();
4055
+ break;
4056
+ }
4057
+ }
4058
+ return msg;
4059
+ };
4060
+
4061
+
4062
+ /**
4063
+ * Serializes the message to binary data (in protobuf wire format).
4064
+ * @return {!Uint8Array}
4065
+ */
4066
+ proto.GetBiddingByIdRequest.prototype.serializeBinary = function() {
4067
+ var writer = new jspb.BinaryWriter();
4068
+ proto.GetBiddingByIdRequest.serializeBinaryToWriter(this, writer);
4069
+ return writer.getResultBuffer();
4070
+ };
4071
+
4072
+
4073
+ /**
4074
+ * Serializes the given message to binary data (in protobuf wire
4075
+ * format), writing to the given BinaryWriter.
4076
+ * @param {!proto.GetBiddingByIdRequest} message
4077
+ * @param {!jspb.BinaryWriter} writer
4078
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4079
+ */
4080
+ proto.GetBiddingByIdRequest.serializeBinaryToWriter = function(message, writer) {
4081
+ var f = undefined;
4082
+ f = message.getReferencesId();
4083
+ if (f.length > 0) {
4084
+ writer.writeString(
4085
+ 1,
4086
+ f
4087
+ );
4088
+ }
4089
+ };
4090
+
4091
+
4092
+ /**
4093
+ * optional string references_id = 1;
4094
+ * @return {string}
4095
+ */
4096
+ proto.GetBiddingByIdRequest.prototype.getReferencesId = function() {
4097
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4098
+ };
4099
+
4100
+
4101
+ /**
4102
+ * @param {string} value
4103
+ * @return {!proto.GetBiddingByIdRequest} returns this
4104
+ */
4105
+ proto.GetBiddingByIdRequest.prototype.setReferencesId = function(value) {
4106
+ return jspb.Message.setProto3StringField(this, 1, value);
4107
+ };
4108
+
4109
+
4110
+
4111
+
4112
+
4113
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4114
+ /**
4115
+ * Creates an object representation of this proto.
4116
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4117
+ * Optional fields that are not set will be set to undefined.
4118
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4119
+ * For the list of reserved names please see:
4120
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4121
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4122
+ * JSPB instance for transitional soy proto support:
4123
+ * http://goto/soy-param-migration
4124
+ * @return {!Object}
4125
+ */
4126
+ proto.GetDetailBiddingByReferences.prototype.toObject = function(opt_includeInstance) {
4127
+ return proto.GetDetailBiddingByReferences.toObject(opt_includeInstance, this);
4128
+ };
4129
+
4130
+
4131
+ /**
4132
+ * Static version of the {@see toObject} method.
4133
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4134
+ * the JSPB instance for transitional soy proto support:
4135
+ * http://goto/soy-param-migration
4136
+ * @param {!proto.GetDetailBiddingByReferences} msg The msg instance to transform.
4137
+ * @return {!Object}
4138
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4139
+ */
4140
+ proto.GetDetailBiddingByReferences.toObject = function(includeInstance, msg) {
4141
+ var f, obj = {
4142
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
4143
+ };
4144
+
4145
+ if (includeInstance) {
4146
+ obj.$jspbMessageInstance = msg;
4147
+ }
4148
+ return obj;
4149
+ };
4150
+ }
4151
+
4152
+
4153
+ /**
4154
+ * Deserializes binary data (in protobuf wire format).
4155
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4156
+ * @return {!proto.GetDetailBiddingByReferences}
4157
+ */
4158
+ proto.GetDetailBiddingByReferences.deserializeBinary = function(bytes) {
4159
+ var reader = new jspb.BinaryReader(bytes);
4160
+ var msg = new proto.GetDetailBiddingByReferences;
4161
+ return proto.GetDetailBiddingByReferences.deserializeBinaryFromReader(msg, reader);
4162
+ };
4163
+
4164
+
4165
+ /**
4166
+ * Deserializes binary data (in protobuf wire format) from the
4167
+ * given reader into the given message object.
4168
+ * @param {!proto.GetDetailBiddingByReferences} msg The message object to deserialize into.
4169
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4170
+ * @return {!proto.GetDetailBiddingByReferences}
4171
+ */
4172
+ proto.GetDetailBiddingByReferences.deserializeBinaryFromReader = function(msg, reader) {
4173
+ while (reader.nextField()) {
4174
+ if (reader.isEndGroup()) {
4175
+ break;
4176
+ }
4177
+ var field = reader.getFieldNumber();
4178
+ switch (field) {
4179
+ case 1:
4180
+ var value = /** @type {string} */ (reader.readString());
4181
+ msg.setReferencesId(value);
4182
+ break;
4183
+ default:
4184
+ reader.skipField();
4185
+ break;
4186
+ }
4187
+ }
4188
+ return msg;
4189
+ };
4190
+
4191
+
4192
+ /**
4193
+ * Serializes the message to binary data (in protobuf wire format).
4194
+ * @return {!Uint8Array}
4195
+ */
4196
+ proto.GetDetailBiddingByReferences.prototype.serializeBinary = function() {
4197
+ var writer = new jspb.BinaryWriter();
4198
+ proto.GetDetailBiddingByReferences.serializeBinaryToWriter(this, writer);
4199
+ return writer.getResultBuffer();
4200
+ };
4201
+
4202
+
4203
+ /**
4204
+ * Serializes the given message to binary data (in protobuf wire
4205
+ * format), writing to the given BinaryWriter.
4206
+ * @param {!proto.GetDetailBiddingByReferences} message
4207
+ * @param {!jspb.BinaryWriter} writer
4208
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4209
+ */
4210
+ proto.GetDetailBiddingByReferences.serializeBinaryToWriter = function(message, writer) {
4211
+ var f = undefined;
4212
+ f = message.getReferencesId();
4213
+ if (f.length > 0) {
4214
+ writer.writeString(
4215
+ 1,
4216
+ f
4217
+ );
4218
+ }
4219
+ };
4220
+
4221
+
4222
+ /**
4223
+ * optional string references_id = 1;
4224
+ * @return {string}
4225
+ */
4226
+ proto.GetDetailBiddingByReferences.prototype.getReferencesId = function() {
4227
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4228
+ };
4229
+
4230
+
4231
+ /**
4232
+ * @param {string} value
4233
+ * @return {!proto.GetDetailBiddingByReferences} returns this
4234
+ */
4235
+ proto.GetDetailBiddingByReferences.prototype.setReferencesId = function(value) {
4236
+ return jspb.Message.setProto3StringField(this, 1, value);
4237
+ };
4238
+
4239
+
4240
+
4241
+
4242
+
4243
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4244
+ /**
4245
+ * Creates an object representation of this proto.
4246
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4247
+ * Optional fields that are not set will be set to undefined.
4248
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4249
+ * For the list of reserved names please see:
4250
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4251
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4252
+ * JSPB instance for transitional soy proto support:
4253
+ * http://goto/soy-param-migration
4254
+ * @return {!Object}
4255
+ */
4256
+ proto.UpdateBiddingReq.prototype.toObject = function(opt_includeInstance) {
4257
+ return proto.UpdateBiddingReq.toObject(opt_includeInstance, this);
4258
+ };
4259
+
4260
+
4261
+ /**
4262
+ * Static version of the {@see toObject} method.
4263
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4264
+ * the JSPB instance for transitional soy proto support:
4265
+ * http://goto/soy-param-migration
4266
+ * @param {!proto.UpdateBiddingReq} msg The msg instance to transform.
4267
+ * @return {!Object}
4268
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4269
+ */
4270
+ proto.UpdateBiddingReq.toObject = function(includeInstance, msg) {
4271
+ var f, obj = {
4272
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4273
+ requestBidding: (f = msg.getRequestBidding()) && proto.RequestBiddingBase.toObject(includeInstance, f)
4274
+ };
4275
+
4276
+ if (includeInstance) {
4277
+ obj.$jspbMessageInstance = msg;
4278
+ }
4279
+ return obj;
4280
+ };
4281
+ }
4282
+
4283
+
4284
+ /**
4285
+ * Deserializes binary data (in protobuf wire format).
4286
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4287
+ * @return {!proto.UpdateBiddingReq}
3452
4288
  */
3453
4289
  proto.UpdateBiddingReq.deserializeBinary = function(bytes) {
3454
4290
  var reader = new jspb.BinaryReader(bytes);
@@ -4339,17 +5175,228 @@ proto.ResponseDetailBiddingByReferences.prototype.setBidding = function(value) {
4339
5175
  * Clears the message field making it undefined.
4340
5176
  * @return {!proto.ResponseDetailBiddingByReferences} returns this
4341
5177
  */
4342
- proto.ResponseDetailBiddingByReferences.prototype.clearBidding = function() {
4343
- return this.setBidding(undefined);
5178
+ proto.ResponseDetailBiddingByReferences.prototype.clearBidding = function() {
5179
+ return this.setBidding(undefined);
5180
+ };
5181
+
5182
+
5183
+ /**
5184
+ * Returns whether this field is set.
5185
+ * @return {boolean}
5186
+ */
5187
+ proto.ResponseDetailBiddingByReferences.prototype.hasBidding = function() {
5188
+ return jspb.Message.getField(this, 1) != null;
5189
+ };
5190
+
5191
+
5192
+ /**
5193
+ * optional prisca.v1.global.meta.Meta meta = 2;
5194
+ * @return {?proto.prisca.v1.global.meta.Meta}
5195
+ */
5196
+ proto.ResponseDetailBiddingByReferences.prototype.getMeta = function() {
5197
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
5198
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
5199
+ };
5200
+
5201
+
5202
+ /**
5203
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
5204
+ * @return {!proto.ResponseDetailBiddingByReferences} returns this
5205
+ */
5206
+ proto.ResponseDetailBiddingByReferences.prototype.setMeta = function(value) {
5207
+ return jspb.Message.setWrapperField(this, 2, value);
5208
+ };
5209
+
5210
+
5211
+ /**
5212
+ * Clears the message field making it undefined.
5213
+ * @return {!proto.ResponseDetailBiddingByReferences} returns this
5214
+ */
5215
+ proto.ResponseDetailBiddingByReferences.prototype.clearMeta = function() {
5216
+ return this.setMeta(undefined);
5217
+ };
5218
+
5219
+
5220
+ /**
5221
+ * Returns whether this field is set.
5222
+ * @return {boolean}
5223
+ */
5224
+ proto.ResponseDetailBiddingByReferences.prototype.hasMeta = function() {
5225
+ return jspb.Message.getField(this, 2) != null;
5226
+ };
5227
+
5228
+
5229
+
5230
+ /**
5231
+ * List of repeated fields within this message type.
5232
+ * @private {!Array<number>}
5233
+ * @const
5234
+ */
5235
+ proto.ResponseAddVendorBidding.repeatedFields_ = [1];
5236
+
5237
+
5238
+
5239
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5240
+ /**
5241
+ * Creates an object representation of this proto.
5242
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5243
+ * Optional fields that are not set will be set to undefined.
5244
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5245
+ * For the list of reserved names please see:
5246
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5247
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5248
+ * JSPB instance for transitional soy proto support:
5249
+ * http://goto/soy-param-migration
5250
+ * @return {!Object}
5251
+ */
5252
+ proto.ResponseAddVendorBidding.prototype.toObject = function(opt_includeInstance) {
5253
+ return proto.ResponseAddVendorBidding.toObject(opt_includeInstance, this);
5254
+ };
5255
+
5256
+
5257
+ /**
5258
+ * Static version of the {@see toObject} method.
5259
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5260
+ * the JSPB instance for transitional soy proto support:
5261
+ * http://goto/soy-param-migration
5262
+ * @param {!proto.ResponseAddVendorBidding} msg The msg instance to transform.
5263
+ * @return {!Object}
5264
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5265
+ */
5266
+ proto.ResponseAddVendorBidding.toObject = function(includeInstance, msg) {
5267
+ var f, obj = {
5268
+ quotationList: jspb.Message.toObjectList(msg.getQuotationList(),
5269
+ proto.Quotation.toObject, includeInstance),
5270
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
5271
+ };
5272
+
5273
+ if (includeInstance) {
5274
+ obj.$jspbMessageInstance = msg;
5275
+ }
5276
+ return obj;
5277
+ };
5278
+ }
5279
+
5280
+
5281
+ /**
5282
+ * Deserializes binary data (in protobuf wire format).
5283
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5284
+ * @return {!proto.ResponseAddVendorBidding}
5285
+ */
5286
+ proto.ResponseAddVendorBidding.deserializeBinary = function(bytes) {
5287
+ var reader = new jspb.BinaryReader(bytes);
5288
+ var msg = new proto.ResponseAddVendorBidding;
5289
+ return proto.ResponseAddVendorBidding.deserializeBinaryFromReader(msg, reader);
5290
+ };
5291
+
5292
+
5293
+ /**
5294
+ * Deserializes binary data (in protobuf wire format) from the
5295
+ * given reader into the given message object.
5296
+ * @param {!proto.ResponseAddVendorBidding} msg The message object to deserialize into.
5297
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5298
+ * @return {!proto.ResponseAddVendorBidding}
5299
+ */
5300
+ proto.ResponseAddVendorBidding.deserializeBinaryFromReader = function(msg, reader) {
5301
+ while (reader.nextField()) {
5302
+ if (reader.isEndGroup()) {
5303
+ break;
5304
+ }
5305
+ var field = reader.getFieldNumber();
5306
+ switch (field) {
5307
+ case 1:
5308
+ var value = new proto.Quotation;
5309
+ reader.readMessage(value,proto.Quotation.deserializeBinaryFromReader);
5310
+ msg.addQuotation(value);
5311
+ break;
5312
+ case 2:
5313
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
5314
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
5315
+ msg.setMeta(value);
5316
+ break;
5317
+ default:
5318
+ reader.skipField();
5319
+ break;
5320
+ }
5321
+ }
5322
+ return msg;
5323
+ };
5324
+
5325
+
5326
+ /**
5327
+ * Serializes the message to binary data (in protobuf wire format).
5328
+ * @return {!Uint8Array}
5329
+ */
5330
+ proto.ResponseAddVendorBidding.prototype.serializeBinary = function() {
5331
+ var writer = new jspb.BinaryWriter();
5332
+ proto.ResponseAddVendorBidding.serializeBinaryToWriter(this, writer);
5333
+ return writer.getResultBuffer();
5334
+ };
5335
+
5336
+
5337
+ /**
5338
+ * Serializes the given message to binary data (in protobuf wire
5339
+ * format), writing to the given BinaryWriter.
5340
+ * @param {!proto.ResponseAddVendorBidding} message
5341
+ * @param {!jspb.BinaryWriter} writer
5342
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5343
+ */
5344
+ proto.ResponseAddVendorBidding.serializeBinaryToWriter = function(message, writer) {
5345
+ var f = undefined;
5346
+ f = message.getQuotationList();
5347
+ if (f.length > 0) {
5348
+ writer.writeRepeatedMessage(
5349
+ 1,
5350
+ f,
5351
+ proto.Quotation.serializeBinaryToWriter
5352
+ );
5353
+ }
5354
+ f = message.getMeta();
5355
+ if (f != null) {
5356
+ writer.writeMessage(
5357
+ 2,
5358
+ f,
5359
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
5360
+ );
5361
+ }
5362
+ };
5363
+
5364
+
5365
+ /**
5366
+ * repeated Quotation quotation = 1;
5367
+ * @return {!Array<!proto.Quotation>}
5368
+ */
5369
+ proto.ResponseAddVendorBidding.prototype.getQuotationList = function() {
5370
+ return /** @type{!Array<!proto.Quotation>} */ (
5371
+ jspb.Message.getRepeatedWrapperField(this, proto.Quotation, 1));
5372
+ };
5373
+
5374
+
5375
+ /**
5376
+ * @param {!Array<!proto.Quotation>} value
5377
+ * @return {!proto.ResponseAddVendorBidding} returns this
5378
+ */
5379
+ proto.ResponseAddVendorBidding.prototype.setQuotationList = function(value) {
5380
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
5381
+ };
5382
+
5383
+
5384
+ /**
5385
+ * @param {!proto.Quotation=} opt_value
5386
+ * @param {number=} opt_index
5387
+ * @return {!proto.Quotation}
5388
+ */
5389
+ proto.ResponseAddVendorBidding.prototype.addQuotation = function(opt_value, opt_index) {
5390
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Quotation, opt_index);
4344
5391
  };
4345
5392
 
4346
5393
 
4347
5394
  /**
4348
- * Returns whether this field is set.
4349
- * @return {boolean}
5395
+ * Clears the list making it empty but non-null.
5396
+ * @return {!proto.ResponseAddVendorBidding} returns this
4350
5397
  */
4351
- proto.ResponseDetailBiddingByReferences.prototype.hasBidding = function() {
4352
- return jspb.Message.getField(this, 1) != null;
5398
+ proto.ResponseAddVendorBidding.prototype.clearQuotationList = function() {
5399
+ return this.setQuotationList([]);
4353
5400
  };
4354
5401
 
4355
5402
 
@@ -4357,7 +5404,7 @@ proto.ResponseDetailBiddingByReferences.prototype.hasBidding = function() {
4357
5404
  * optional prisca.v1.global.meta.Meta meta = 2;
4358
5405
  * @return {?proto.prisca.v1.global.meta.Meta}
4359
5406
  */
4360
- proto.ResponseDetailBiddingByReferences.prototype.getMeta = function() {
5407
+ proto.ResponseAddVendorBidding.prototype.getMeta = function() {
4361
5408
  return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
4362
5409
  jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
4363
5410
  };
@@ -4365,18 +5412,18 @@ proto.ResponseDetailBiddingByReferences.prototype.getMeta = function() {
4365
5412
 
4366
5413
  /**
4367
5414
  * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
4368
- * @return {!proto.ResponseDetailBiddingByReferences} returns this
5415
+ * @return {!proto.ResponseAddVendorBidding} returns this
4369
5416
  */
4370
- proto.ResponseDetailBiddingByReferences.prototype.setMeta = function(value) {
5417
+ proto.ResponseAddVendorBidding.prototype.setMeta = function(value) {
4371
5418
  return jspb.Message.setWrapperField(this, 2, value);
4372
5419
  };
4373
5420
 
4374
5421
 
4375
5422
  /**
4376
5423
  * Clears the message field making it undefined.
4377
- * @return {!proto.ResponseDetailBiddingByReferences} returns this
5424
+ * @return {!proto.ResponseAddVendorBidding} returns this
4378
5425
  */
4379
- proto.ResponseDetailBiddingByReferences.prototype.clearMeta = function() {
5426
+ proto.ResponseAddVendorBidding.prototype.clearMeta = function() {
4380
5427
  return this.setMeta(undefined);
4381
5428
  };
4382
5429
 
@@ -4385,7 +5432,7 @@ proto.ResponseDetailBiddingByReferences.prototype.clearMeta = function() {
4385
5432
  * Returns whether this field is set.
4386
5433
  * @return {boolean}
4387
5434
  */
4388
- proto.ResponseDetailBiddingByReferences.prototype.hasMeta = function() {
5435
+ proto.ResponseAddVendorBidding.prototype.hasMeta = function() {
4389
5436
  return jspb.Message.getField(this, 2) != null;
4390
5437
  };
4391
5438
 
@@ -5613,4 +6660,285 @@ proto.GetQuotationVendorPreload.prototype.clearTransactionBuilderVendorList = fu
5613
6660
  };
5614
6661
 
5615
6662
 
6663
+
6664
+
6665
+
6666
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6667
+ /**
6668
+ * Creates an object representation of this proto.
6669
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6670
+ * Optional fields that are not set will be set to undefined.
6671
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6672
+ * For the list of reserved names please see:
6673
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6674
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6675
+ * JSPB instance for transitional soy proto support:
6676
+ * http://goto/soy-param-migration
6677
+ * @return {!Object}
6678
+ */
6679
+ proto.RequestPO.prototype.toObject = function(opt_includeInstance) {
6680
+ return proto.RequestPO.toObject(opt_includeInstance, this);
6681
+ };
6682
+
6683
+
6684
+ /**
6685
+ * Static version of the {@see toObject} method.
6686
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6687
+ * the JSPB instance for transitional soy proto support:
6688
+ * http://goto/soy-param-migration
6689
+ * @param {!proto.RequestPO} msg The msg instance to transform.
6690
+ * @return {!Object}
6691
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6692
+ */
6693
+ proto.RequestPO.toObject = function(includeInstance, msg) {
6694
+ var f, obj = {
6695
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
6696
+ };
6697
+
6698
+ if (includeInstance) {
6699
+ obj.$jspbMessageInstance = msg;
6700
+ }
6701
+ return obj;
6702
+ };
6703
+ }
6704
+
6705
+
6706
+ /**
6707
+ * Deserializes binary data (in protobuf wire format).
6708
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6709
+ * @return {!proto.RequestPO}
6710
+ */
6711
+ proto.RequestPO.deserializeBinary = function(bytes) {
6712
+ var reader = new jspb.BinaryReader(bytes);
6713
+ var msg = new proto.RequestPO;
6714
+ return proto.RequestPO.deserializeBinaryFromReader(msg, reader);
6715
+ };
6716
+
6717
+
6718
+ /**
6719
+ * Deserializes binary data (in protobuf wire format) from the
6720
+ * given reader into the given message object.
6721
+ * @param {!proto.RequestPO} msg The message object to deserialize into.
6722
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6723
+ * @return {!proto.RequestPO}
6724
+ */
6725
+ proto.RequestPO.deserializeBinaryFromReader = function(msg, reader) {
6726
+ while (reader.nextField()) {
6727
+ if (reader.isEndGroup()) {
6728
+ break;
6729
+ }
6730
+ var field = reader.getFieldNumber();
6731
+ switch (field) {
6732
+ case 1:
6733
+ var value = /** @type {string} */ (reader.readString());
6734
+ msg.setReferencesId(value);
6735
+ break;
6736
+ default:
6737
+ reader.skipField();
6738
+ break;
6739
+ }
6740
+ }
6741
+ return msg;
6742
+ };
6743
+
6744
+
6745
+ /**
6746
+ * Serializes the message to binary data (in protobuf wire format).
6747
+ * @return {!Uint8Array}
6748
+ */
6749
+ proto.RequestPO.prototype.serializeBinary = function() {
6750
+ var writer = new jspb.BinaryWriter();
6751
+ proto.RequestPO.serializeBinaryToWriter(this, writer);
6752
+ return writer.getResultBuffer();
6753
+ };
6754
+
6755
+
6756
+ /**
6757
+ * Serializes the given message to binary data (in protobuf wire
6758
+ * format), writing to the given BinaryWriter.
6759
+ * @param {!proto.RequestPO} message
6760
+ * @param {!jspb.BinaryWriter} writer
6761
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6762
+ */
6763
+ proto.RequestPO.serializeBinaryToWriter = function(message, writer) {
6764
+ var f = undefined;
6765
+ f = message.getReferencesId();
6766
+ if (f.length > 0) {
6767
+ writer.writeString(
6768
+ 1,
6769
+ f
6770
+ );
6771
+ }
6772
+ };
6773
+
6774
+
6775
+ /**
6776
+ * optional string references_id = 1;
6777
+ * @return {string}
6778
+ */
6779
+ proto.RequestPO.prototype.getReferencesId = function() {
6780
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6781
+ };
6782
+
6783
+
6784
+ /**
6785
+ * @param {string} value
6786
+ * @return {!proto.RequestPO} returns this
6787
+ */
6788
+ proto.RequestPO.prototype.setReferencesId = function(value) {
6789
+ return jspb.Message.setProto3StringField(this, 1, value);
6790
+ };
6791
+
6792
+
6793
+
6794
+
6795
+
6796
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6797
+ /**
6798
+ * Creates an object representation of this proto.
6799
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6800
+ * Optional fields that are not set will be set to undefined.
6801
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6802
+ * For the list of reserved names please see:
6803
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6804
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6805
+ * JSPB instance for transitional soy proto support:
6806
+ * http://goto/soy-param-migration
6807
+ * @return {!Object}
6808
+ */
6809
+ proto.ResponseRequestPo.prototype.toObject = function(opt_includeInstance) {
6810
+ return proto.ResponseRequestPo.toObject(opt_includeInstance, this);
6811
+ };
6812
+
6813
+
6814
+ /**
6815
+ * Static version of the {@see toObject} method.
6816
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6817
+ * the JSPB instance for transitional soy proto support:
6818
+ * http://goto/soy-param-migration
6819
+ * @param {!proto.ResponseRequestPo} msg The msg instance to transform.
6820
+ * @return {!Object}
6821
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6822
+ */
6823
+ proto.ResponseRequestPo.toObject = function(includeInstance, msg) {
6824
+ var f, obj = {
6825
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
6826
+ };
6827
+
6828
+ if (includeInstance) {
6829
+ obj.$jspbMessageInstance = msg;
6830
+ }
6831
+ return obj;
6832
+ };
6833
+ }
6834
+
6835
+
6836
+ /**
6837
+ * Deserializes binary data (in protobuf wire format).
6838
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6839
+ * @return {!proto.ResponseRequestPo}
6840
+ */
6841
+ proto.ResponseRequestPo.deserializeBinary = function(bytes) {
6842
+ var reader = new jspb.BinaryReader(bytes);
6843
+ var msg = new proto.ResponseRequestPo;
6844
+ return proto.ResponseRequestPo.deserializeBinaryFromReader(msg, reader);
6845
+ };
6846
+
6847
+
6848
+ /**
6849
+ * Deserializes binary data (in protobuf wire format) from the
6850
+ * given reader into the given message object.
6851
+ * @param {!proto.ResponseRequestPo} msg The message object to deserialize into.
6852
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6853
+ * @return {!proto.ResponseRequestPo}
6854
+ */
6855
+ proto.ResponseRequestPo.deserializeBinaryFromReader = function(msg, reader) {
6856
+ while (reader.nextField()) {
6857
+ if (reader.isEndGroup()) {
6858
+ break;
6859
+ }
6860
+ var field = reader.getFieldNumber();
6861
+ switch (field) {
6862
+ case 2:
6863
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
6864
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
6865
+ msg.setMeta(value);
6866
+ break;
6867
+ default:
6868
+ reader.skipField();
6869
+ break;
6870
+ }
6871
+ }
6872
+ return msg;
6873
+ };
6874
+
6875
+
6876
+ /**
6877
+ * Serializes the message to binary data (in protobuf wire format).
6878
+ * @return {!Uint8Array}
6879
+ */
6880
+ proto.ResponseRequestPo.prototype.serializeBinary = function() {
6881
+ var writer = new jspb.BinaryWriter();
6882
+ proto.ResponseRequestPo.serializeBinaryToWriter(this, writer);
6883
+ return writer.getResultBuffer();
6884
+ };
6885
+
6886
+
6887
+ /**
6888
+ * Serializes the given message to binary data (in protobuf wire
6889
+ * format), writing to the given BinaryWriter.
6890
+ * @param {!proto.ResponseRequestPo} message
6891
+ * @param {!jspb.BinaryWriter} writer
6892
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6893
+ */
6894
+ proto.ResponseRequestPo.serializeBinaryToWriter = function(message, writer) {
6895
+ var f = undefined;
6896
+ f = message.getMeta();
6897
+ if (f != null) {
6898
+ writer.writeMessage(
6899
+ 2,
6900
+ f,
6901
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
6902
+ );
6903
+ }
6904
+ };
6905
+
6906
+
6907
+ /**
6908
+ * optional prisca.v1.global.meta.Meta meta = 2;
6909
+ * @return {?proto.prisca.v1.global.meta.Meta}
6910
+ */
6911
+ proto.ResponseRequestPo.prototype.getMeta = function() {
6912
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
6913
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
6914
+ };
6915
+
6916
+
6917
+ /**
6918
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
6919
+ * @return {!proto.ResponseRequestPo} returns this
6920
+ */
6921
+ proto.ResponseRequestPo.prototype.setMeta = function(value) {
6922
+ return jspb.Message.setWrapperField(this, 2, value);
6923
+ };
6924
+
6925
+
6926
+ /**
6927
+ * Clears the message field making it undefined.
6928
+ * @return {!proto.ResponseRequestPo} returns this
6929
+ */
6930
+ proto.ResponseRequestPo.prototype.clearMeta = function() {
6931
+ return this.setMeta(undefined);
6932
+ };
6933
+
6934
+
6935
+ /**
6936
+ * Returns whether this field is set.
6937
+ * @return {boolean}
6938
+ */
6939
+ proto.ResponseRequestPo.prototype.hasMeta = function() {
6940
+ return jspb.Message.getField(this, 2) != null;
6941
+ };
6942
+
6943
+
5616
6944
  goog.object.extend(exports, proto);