@aldiokta/protocgen 1.1.63 → 1.1.65

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 (27) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/accurate_oauth/accurate_oauth_grpc_pb.js +210 -0
  3. package/prisca/v1/accurate_oauth/accurate_oauth_pb.js +2330 -0
  4. package/prisca/v1/bidding/bidding_pb.js +43 -13
  5. package/prisca/v1/core/auth/auth_grpc_pb.js +99 -0
  6. package/prisca/v1/core/auth/auth_pb.js +2347 -851
  7. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +33 -0
  8. package/prisca/v1/core/file_upload/file_upload_pb.js +304 -0
  9. package/prisca/v1/core/messaging/notification_event_grpc_pb.js +211 -0
  10. package/prisca/v1/core/messaging/notification_event_pb.js +3015 -0
  11. package/prisca/v1/core/user_device/user_device_grpc_pb.js +144 -0
  12. package/prisca/v1/core/user_device/user_device_pb.js +2255 -0
  13. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +41 -0
  14. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +991 -0
  15. package/prisca/v1/good_receipt/good_receipt_pb.js +61 -1
  16. package/prisca/v1/invoice/invoice_pb.js +61 -1
  17. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +0 -1
  18. package/prisca/v1/purchase_order/purchase_order_pb.js +154 -138
  19. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -1
  20. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +18 -71
  21. package/prisca/v1/quotation/quotation_grpc_pb.js +33 -0
  22. package/prisca/v1/quotation/quotation_pb.js +1030 -131
  23. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +33 -0
  24. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +603 -4
  25. package/prisca/v1/valuation/valuation_pb.js +93 -3
  26. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +66 -0
  27. package/prisca/v1/vendor_domain/vendor_domain_pb.js +940 -0
@@ -41,9 +41,13 @@ goog.exportSymbol('proto.GetQuotationByIdRequest', null, global);
41
41
  goog.exportSymbol('proto.GetQuotationByIdResponse', null, global);
42
42
  goog.exportSymbol('proto.GetQuotationDetailResponse', null, global);
43
43
  goog.exportSymbol('proto.SetItemQuotation', null, global);
44
+ goog.exportSymbol('proto.SetJustificationItem', null, global);
45
+ goog.exportSymbol('proto.SetJustificationRequest', null, global);
46
+ goog.exportSymbol('proto.SetJustificationResponse', null, global);
44
47
  goog.exportSymbol('proto.SetQuotationRequest', null, global);
45
48
  goog.exportSymbol('proto.SetVisibleRequest', null, global);
46
49
  goog.exportSymbol('proto.SetVisibleResponse', null, global);
50
+ goog.exportSymbol('proto.SetWinnerServiceLine', null, global);
47
51
  goog.exportSymbol('proto.UnSetWinnerRequest', null, global);
48
52
  goog.exportSymbol('proto.UpdateQuotationRequest', null, global);
49
53
  goog.exportSymbol('proto.UpdateQuotationResponse', null, global);
@@ -58,9 +62,30 @@ goog.exportSymbol('proto.UpdateSetWinner', null, global);
58
62
  * @extends {jspb.Message}
59
63
  * @constructor
60
64
  */
61
- proto.BaseEditQuantityQuotationItem = function(opt_data) {
65
+ proto.SetWinnerServiceLine = function(opt_data) {
62
66
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
63
67
  };
68
+ goog.inherits(proto.SetWinnerServiceLine, jspb.Message);
69
+ if (goog.DEBUG && !COMPILED) {
70
+ /**
71
+ * @public
72
+ * @override
73
+ */
74
+ proto.SetWinnerServiceLine.displayName = 'proto.SetWinnerServiceLine';
75
+ }
76
+ /**
77
+ * Generated by JsPbCodeGenerator.
78
+ * @param {Array=} opt_data Optional initial data array, typically from a
79
+ * server response, or constructed directly in Javascript. The array is used
80
+ * in place and becomes part of the constructed object. It is not cloned.
81
+ * If no data is provided, the constructed object will be empty, but still
82
+ * valid.
83
+ * @extends {jspb.Message}
84
+ * @constructor
85
+ */
86
+ proto.BaseEditQuantityQuotationItem = function(opt_data) {
87
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.BaseEditQuantityQuotationItem.repeatedFields_, null);
88
+ };
64
89
  goog.inherits(proto.BaseEditQuantityQuotationItem, jspb.Message);
65
90
  if (goog.DEBUG && !COMPILED) {
66
91
  /**
@@ -90,6 +115,48 @@ if (goog.DEBUG && !COMPILED) {
90
115
  */
91
116
  proto.UpdateSetWinner.displayName = 'proto.UpdateSetWinner';
92
117
  }
118
+ /**
119
+ * Generated by JsPbCodeGenerator.
120
+ * @param {Array=} opt_data Optional initial data array, typically from a
121
+ * server response, or constructed directly in Javascript. The array is used
122
+ * in place and becomes part of the constructed object. It is not cloned.
123
+ * If no data is provided, the constructed object will be empty, but still
124
+ * valid.
125
+ * @extends {jspb.Message}
126
+ * @constructor
127
+ */
128
+ proto.SetJustificationItem = function(opt_data) {
129
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
130
+ };
131
+ goog.inherits(proto.SetJustificationItem, jspb.Message);
132
+ if (goog.DEBUG && !COMPILED) {
133
+ /**
134
+ * @public
135
+ * @override
136
+ */
137
+ proto.SetJustificationItem.displayName = 'proto.SetJustificationItem';
138
+ }
139
+ /**
140
+ * Generated by JsPbCodeGenerator.
141
+ * @param {Array=} opt_data Optional initial data array, typically from a
142
+ * server response, or constructed directly in Javascript. The array is used
143
+ * in place and becomes part of the constructed object. It is not cloned.
144
+ * If no data is provided, the constructed object will be empty, but still
145
+ * valid.
146
+ * @extends {jspb.Message}
147
+ * @constructor
148
+ */
149
+ proto.SetJustificationRequest = function(opt_data) {
150
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.SetJustificationRequest.repeatedFields_, null);
151
+ };
152
+ goog.inherits(proto.SetJustificationRequest, jspb.Message);
153
+ if (goog.DEBUG && !COMPILED) {
154
+ /**
155
+ * @public
156
+ * @override
157
+ */
158
+ proto.SetJustificationRequest.displayName = 'proto.SetJustificationRequest';
159
+ }
93
160
  /**
94
161
  * Generated by JsPbCodeGenerator.
95
162
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -363,6 +430,27 @@ if (goog.DEBUG && !COMPILED) {
363
430
  */
364
431
  proto.SetVisibleResponse.displayName = 'proto.SetVisibleResponse';
365
432
  }
433
+ /**
434
+ * Generated by JsPbCodeGenerator.
435
+ * @param {Array=} opt_data Optional initial data array, typically from a
436
+ * server response, or constructed directly in Javascript. The array is used
437
+ * in place and becomes part of the constructed object. It is not cloned.
438
+ * If no data is provided, the constructed object will be empty, but still
439
+ * valid.
440
+ * @extends {jspb.Message}
441
+ * @constructor
442
+ */
443
+ proto.SetJustificationResponse = function(opt_data) {
444
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
445
+ };
446
+ goog.inherits(proto.SetJustificationResponse, jspb.Message);
447
+ if (goog.DEBUG && !COMPILED) {
448
+ /**
449
+ * @public
450
+ * @override
451
+ */
452
+ proto.SetJustificationResponse.displayName = 'proto.SetJustificationResponse';
453
+ }
366
454
 
367
455
 
368
456
 
@@ -379,8 +467,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
379
467
  * http://goto/soy-param-migration
380
468
  * @return {!Object}
381
469
  */
382
- proto.BaseEditQuantityQuotationItem.prototype.toObject = function(opt_includeInstance) {
383
- return proto.BaseEditQuantityQuotationItem.toObject(opt_includeInstance, this);
470
+ proto.SetWinnerServiceLine.prototype.toObject = function(opt_includeInstance) {
471
+ return proto.SetWinnerServiceLine.toObject(opt_includeInstance, this);
384
472
  };
385
473
 
386
474
 
@@ -389,14 +477,15 @@ proto.BaseEditQuantityQuotationItem.prototype.toObject = function(opt_includeIns
389
477
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
390
478
  * the JSPB instance for transitional soy proto support:
391
479
  * http://goto/soy-param-migration
392
- * @param {!proto.BaseEditQuantityQuotationItem} msg The msg instance to transform.
480
+ * @param {!proto.SetWinnerServiceLine} msg The msg instance to transform.
393
481
  * @return {!Object}
394
482
  * @suppress {unusedLocalVariables} f is only used for nested messages
395
483
  */
396
- proto.BaseEditQuantityQuotationItem.toObject = function(includeInstance, msg) {
484
+ proto.SetWinnerServiceLine.toObject = function(includeInstance, msg) {
397
485
  var f, obj = {
398
486
  referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
399
- quantity: jspb.Message.getFieldWithDefault(msg, 2, "")
487
+ quantity: jspb.Message.getFieldWithDefault(msg, 2, ""),
488
+ isSelected: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
400
489
  };
401
490
 
402
491
  if (includeInstance) {
@@ -410,23 +499,23 @@ quantity: jspb.Message.getFieldWithDefault(msg, 2, "")
410
499
  /**
411
500
  * Deserializes binary data (in protobuf wire format).
412
501
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
413
- * @return {!proto.BaseEditQuantityQuotationItem}
502
+ * @return {!proto.SetWinnerServiceLine}
414
503
  */
415
- proto.BaseEditQuantityQuotationItem.deserializeBinary = function(bytes) {
504
+ proto.SetWinnerServiceLine.deserializeBinary = function(bytes) {
416
505
  var reader = new jspb.BinaryReader(bytes);
417
- var msg = new proto.BaseEditQuantityQuotationItem;
418
- return proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader(msg, reader);
506
+ var msg = new proto.SetWinnerServiceLine;
507
+ return proto.SetWinnerServiceLine.deserializeBinaryFromReader(msg, reader);
419
508
  };
420
509
 
421
510
 
422
511
  /**
423
512
  * Deserializes binary data (in protobuf wire format) from the
424
513
  * given reader into the given message object.
425
- * @param {!proto.BaseEditQuantityQuotationItem} msg The message object to deserialize into.
514
+ * @param {!proto.SetWinnerServiceLine} msg The message object to deserialize into.
426
515
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
427
- * @return {!proto.BaseEditQuantityQuotationItem}
516
+ * @return {!proto.SetWinnerServiceLine}
428
517
  */
429
- proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader = function(msg, reader) {
518
+ proto.SetWinnerServiceLine.deserializeBinaryFromReader = function(msg, reader) {
430
519
  while (reader.nextField()) {
431
520
  if (reader.isEndGroup()) {
432
521
  break;
@@ -441,6 +530,10 @@ proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader = function(msg,
441
530
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
442
531
  msg.setQuantity(value);
443
532
  break;
533
+ case 3:
534
+ var value = /** @type {boolean} */ (reader.readBool());
535
+ msg.setIsSelected(value);
536
+ break;
444
537
  default:
445
538
  reader.skipField();
446
539
  break;
@@ -454,9 +547,9 @@ proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader = function(msg,
454
547
  * Serializes the message to binary data (in protobuf wire format).
455
548
  * @return {!Uint8Array}
456
549
  */
457
- proto.BaseEditQuantityQuotationItem.prototype.serializeBinary = function() {
550
+ proto.SetWinnerServiceLine.prototype.serializeBinary = function() {
458
551
  var writer = new jspb.BinaryWriter();
459
- proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter(this, writer);
552
+ proto.SetWinnerServiceLine.serializeBinaryToWriter(this, writer);
460
553
  return writer.getResultBuffer();
461
554
  };
462
555
 
@@ -464,11 +557,11 @@ proto.BaseEditQuantityQuotationItem.prototype.serializeBinary = function() {
464
557
  /**
465
558
  * Serializes the given message to binary data (in protobuf wire
466
559
  * format), writing to the given BinaryWriter.
467
- * @param {!proto.BaseEditQuantityQuotationItem} message
560
+ * @param {!proto.SetWinnerServiceLine} message
468
561
  * @param {!jspb.BinaryWriter} writer
469
562
  * @suppress {unusedLocalVariables} f is only used for nested messages
470
563
  */
471
- proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter = function(message, writer) {
564
+ proto.SetWinnerServiceLine.serializeBinaryToWriter = function(message, writer) {
472
565
  var f = undefined;
473
566
  f = message.getReferencesId();
474
567
  if (f.length > 0) {
@@ -484,6 +577,13 @@ proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter = function(message,
484
577
  f
485
578
  );
486
579
  }
580
+ f = message.getIsSelected();
581
+ if (f) {
582
+ writer.writeBool(
583
+ 3,
584
+ f
585
+ );
586
+ }
487
587
  };
488
588
 
489
589
 
@@ -491,16 +591,16 @@ proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter = function(message,
491
591
  * optional string references_id = 1;
492
592
  * @return {string}
493
593
  */
494
- proto.BaseEditQuantityQuotationItem.prototype.getReferencesId = function() {
594
+ proto.SetWinnerServiceLine.prototype.getReferencesId = function() {
495
595
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
496
596
  };
497
597
 
498
598
 
499
599
  /**
500
600
  * @param {string} value
501
- * @return {!proto.BaseEditQuantityQuotationItem} returns this
601
+ * @return {!proto.SetWinnerServiceLine} returns this
502
602
  */
503
- proto.BaseEditQuantityQuotationItem.prototype.setReferencesId = function(value) {
603
+ proto.SetWinnerServiceLine.prototype.setReferencesId = function(value) {
504
604
  return jspb.Message.setProto3StringField(this, 1, value);
505
605
  };
506
606
 
@@ -509,27 +609,45 @@ proto.BaseEditQuantityQuotationItem.prototype.setReferencesId = function(value)
509
609
  * optional string quantity = 2;
510
610
  * @return {string}
511
611
  */
512
- proto.BaseEditQuantityQuotationItem.prototype.getQuantity = function() {
612
+ proto.SetWinnerServiceLine.prototype.getQuantity = function() {
513
613
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
514
614
  };
515
615
 
516
616
 
517
617
  /**
518
618
  * @param {string} value
519
- * @return {!proto.BaseEditQuantityQuotationItem} returns this
619
+ * @return {!proto.SetWinnerServiceLine} returns this
520
620
  */
521
- proto.BaseEditQuantityQuotationItem.prototype.setQuantity = function(value) {
621
+ proto.SetWinnerServiceLine.prototype.setQuantity = function(value) {
522
622
  return jspb.Message.setProto3StringField(this, 2, value);
523
623
  };
524
624
 
525
625
 
626
+ /**
627
+ * optional bool is_selected = 3;
628
+ * @return {boolean}
629
+ */
630
+ proto.SetWinnerServiceLine.prototype.getIsSelected = function() {
631
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
632
+ };
633
+
634
+
635
+ /**
636
+ * @param {boolean} value
637
+ * @return {!proto.SetWinnerServiceLine} returns this
638
+ */
639
+ proto.SetWinnerServiceLine.prototype.setIsSelected = function(value) {
640
+ return jspb.Message.setProto3BooleanField(this, 3, value);
641
+ };
642
+
643
+
526
644
 
527
645
  /**
528
646
  * List of repeated fields within this message type.
529
647
  * @private {!Array<number>}
530
648
  * @const
531
649
  */
532
- proto.UpdateSetWinner.repeatedFields_ = [4];
650
+ proto.BaseEditQuantityQuotationItem.repeatedFields_ = [4];
533
651
 
534
652
 
535
653
 
@@ -546,8 +664,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
546
664
  * http://goto/soy-param-migration
547
665
  * @return {!Object}
548
666
  */
549
- proto.UpdateSetWinner.prototype.toObject = function(opt_includeInstance) {
550
- return proto.UpdateSetWinner.toObject(opt_includeInstance, this);
667
+ proto.BaseEditQuantityQuotationItem.prototype.toObject = function(opt_includeInstance) {
668
+ return proto.BaseEditQuantityQuotationItem.toObject(opt_includeInstance, this);
551
669
  };
552
670
 
553
671
 
@@ -556,17 +674,675 @@ proto.UpdateSetWinner.prototype.toObject = function(opt_includeInstance) {
556
674
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
557
675
  * the JSPB instance for transitional soy proto support:
558
676
  * http://goto/soy-param-migration
559
- * @param {!proto.UpdateSetWinner} msg The msg instance to transform.
677
+ * @param {!proto.BaseEditQuantityQuotationItem} msg The msg instance to transform.
560
678
  * @return {!Object}
561
679
  * @suppress {unusedLocalVariables} f is only used for nested messages
562
680
  */
563
- proto.UpdateSetWinner.toObject = function(includeInstance, msg) {
681
+ proto.BaseEditQuantityQuotationItem.toObject = function(includeInstance, msg) {
682
+ var f, obj = {
683
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
684
+ quantity: jspb.Message.getFieldWithDefault(msg, 2, ""),
685
+ isSelected: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
686
+ itemTransactionServiceList: jspb.Message.toObjectList(msg.getItemTransactionServiceList(),
687
+ proto.SetWinnerServiceLine.toObject, includeInstance)
688
+ };
689
+
690
+ if (includeInstance) {
691
+ obj.$jspbMessageInstance = msg;
692
+ }
693
+ return obj;
694
+ };
695
+ }
696
+
697
+
698
+ /**
699
+ * Deserializes binary data (in protobuf wire format).
700
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
701
+ * @return {!proto.BaseEditQuantityQuotationItem}
702
+ */
703
+ proto.BaseEditQuantityQuotationItem.deserializeBinary = function(bytes) {
704
+ var reader = new jspb.BinaryReader(bytes);
705
+ var msg = new proto.BaseEditQuantityQuotationItem;
706
+ return proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader(msg, reader);
707
+ };
708
+
709
+
710
+ /**
711
+ * Deserializes binary data (in protobuf wire format) from the
712
+ * given reader into the given message object.
713
+ * @param {!proto.BaseEditQuantityQuotationItem} msg The message object to deserialize into.
714
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
715
+ * @return {!proto.BaseEditQuantityQuotationItem}
716
+ */
717
+ proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader = function(msg, reader) {
718
+ while (reader.nextField()) {
719
+ if (reader.isEndGroup()) {
720
+ break;
721
+ }
722
+ var field = reader.getFieldNumber();
723
+ switch (field) {
724
+ case 1:
725
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
726
+ msg.setReferencesId(value);
727
+ break;
728
+ case 2:
729
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
730
+ msg.setQuantity(value);
731
+ break;
732
+ case 3:
733
+ var value = /** @type {boolean} */ (reader.readBool());
734
+ msg.setIsSelected(value);
735
+ break;
736
+ case 4:
737
+ var value = new proto.SetWinnerServiceLine;
738
+ reader.readMessage(value,proto.SetWinnerServiceLine.deserializeBinaryFromReader);
739
+ msg.addItemTransactionService(value);
740
+ break;
741
+ default:
742
+ reader.skipField();
743
+ break;
744
+ }
745
+ }
746
+ return msg;
747
+ };
748
+
749
+
750
+ /**
751
+ * Serializes the message to binary data (in protobuf wire format).
752
+ * @return {!Uint8Array}
753
+ */
754
+ proto.BaseEditQuantityQuotationItem.prototype.serializeBinary = function() {
755
+ var writer = new jspb.BinaryWriter();
756
+ proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter(this, writer);
757
+ return writer.getResultBuffer();
758
+ };
759
+
760
+
761
+ /**
762
+ * Serializes the given message to binary data (in protobuf wire
763
+ * format), writing to the given BinaryWriter.
764
+ * @param {!proto.BaseEditQuantityQuotationItem} message
765
+ * @param {!jspb.BinaryWriter} writer
766
+ * @suppress {unusedLocalVariables} f is only used for nested messages
767
+ */
768
+ proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter = function(message, writer) {
769
+ var f = undefined;
770
+ f = message.getReferencesId();
771
+ if (f.length > 0) {
772
+ writer.writeString(
773
+ 1,
774
+ f
775
+ );
776
+ }
777
+ f = message.getQuantity();
778
+ if (f.length > 0) {
779
+ writer.writeString(
780
+ 2,
781
+ f
782
+ );
783
+ }
784
+ f = message.getIsSelected();
785
+ if (f) {
786
+ writer.writeBool(
787
+ 3,
788
+ f
789
+ );
790
+ }
791
+ f = message.getItemTransactionServiceList();
792
+ if (f.length > 0) {
793
+ writer.writeRepeatedMessage(
794
+ 4,
795
+ f,
796
+ proto.SetWinnerServiceLine.serializeBinaryToWriter
797
+ );
798
+ }
799
+ };
800
+
801
+
802
+ /**
803
+ * optional string references_id = 1;
804
+ * @return {string}
805
+ */
806
+ proto.BaseEditQuantityQuotationItem.prototype.getReferencesId = function() {
807
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
808
+ };
809
+
810
+
811
+ /**
812
+ * @param {string} value
813
+ * @return {!proto.BaseEditQuantityQuotationItem} returns this
814
+ */
815
+ proto.BaseEditQuantityQuotationItem.prototype.setReferencesId = function(value) {
816
+ return jspb.Message.setProto3StringField(this, 1, value);
817
+ };
818
+
819
+
820
+ /**
821
+ * optional string quantity = 2;
822
+ * @return {string}
823
+ */
824
+ proto.BaseEditQuantityQuotationItem.prototype.getQuantity = function() {
825
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
826
+ };
827
+
828
+
829
+ /**
830
+ * @param {string} value
831
+ * @return {!proto.BaseEditQuantityQuotationItem} returns this
832
+ */
833
+ proto.BaseEditQuantityQuotationItem.prototype.setQuantity = function(value) {
834
+ return jspb.Message.setProto3StringField(this, 2, value);
835
+ };
836
+
837
+
838
+ /**
839
+ * optional bool is_selected = 3;
840
+ * @return {boolean}
841
+ */
842
+ proto.BaseEditQuantityQuotationItem.prototype.getIsSelected = function() {
843
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
844
+ };
845
+
846
+
847
+ /**
848
+ * @param {boolean} value
849
+ * @return {!proto.BaseEditQuantityQuotationItem} returns this
850
+ */
851
+ proto.BaseEditQuantityQuotationItem.prototype.setIsSelected = function(value) {
852
+ return jspb.Message.setProto3BooleanField(this, 3, value);
853
+ };
854
+
855
+
856
+ /**
857
+ * repeated SetWinnerServiceLine item_transaction_service = 4;
858
+ * @return {!Array<!proto.SetWinnerServiceLine>}
859
+ */
860
+ proto.BaseEditQuantityQuotationItem.prototype.getItemTransactionServiceList = function() {
861
+ return /** @type{!Array<!proto.SetWinnerServiceLine>} */ (
862
+ jspb.Message.getRepeatedWrapperField(this, proto.SetWinnerServiceLine, 4));
863
+ };
864
+
865
+
866
+ /**
867
+ * @param {!Array<!proto.SetWinnerServiceLine>} value
868
+ * @return {!proto.BaseEditQuantityQuotationItem} returns this
869
+ */
870
+ proto.BaseEditQuantityQuotationItem.prototype.setItemTransactionServiceList = function(value) {
871
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
872
+ };
873
+
874
+
875
+ /**
876
+ * @param {!proto.SetWinnerServiceLine=} opt_value
877
+ * @param {number=} opt_index
878
+ * @return {!proto.SetWinnerServiceLine}
879
+ */
880
+ proto.BaseEditQuantityQuotationItem.prototype.addItemTransactionService = function(opt_value, opt_index) {
881
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.SetWinnerServiceLine, opt_index);
882
+ };
883
+
884
+
885
+ /**
886
+ * Clears the list making it empty but non-null.
887
+ * @return {!proto.BaseEditQuantityQuotationItem} returns this
888
+ */
889
+ proto.BaseEditQuantityQuotationItem.prototype.clearItemTransactionServiceList = function() {
890
+ return this.setItemTransactionServiceList([]);
891
+ };
892
+
893
+
894
+
895
+ /**
896
+ * List of repeated fields within this message type.
897
+ * @private {!Array<number>}
898
+ * @const
899
+ */
900
+ proto.UpdateSetWinner.repeatedFields_ = [4];
901
+
902
+
903
+
904
+ if (jspb.Message.GENERATE_TO_OBJECT) {
905
+ /**
906
+ * Creates an object representation of this proto.
907
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
908
+ * Optional fields that are not set will be set to undefined.
909
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
910
+ * For the list of reserved names please see:
911
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
912
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
913
+ * JSPB instance for transitional soy proto support:
914
+ * http://goto/soy-param-migration
915
+ * @return {!Object}
916
+ */
917
+ proto.UpdateSetWinner.prototype.toObject = function(opt_includeInstance) {
918
+ return proto.UpdateSetWinner.toObject(opt_includeInstance, this);
919
+ };
920
+
921
+
922
+ /**
923
+ * Static version of the {@see toObject} method.
924
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
925
+ * the JSPB instance for transitional soy proto support:
926
+ * http://goto/soy-param-migration
927
+ * @param {!proto.UpdateSetWinner} msg The msg instance to transform.
928
+ * @return {!Object}
929
+ * @suppress {unusedLocalVariables} f is only used for nested messages
930
+ */
931
+ proto.UpdateSetWinner.toObject = function(includeInstance, msg) {
932
+ var f, obj = {
933
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
934
+ termAndCondition: jspb.Message.getFieldWithDefault(msg, 2, ""),
935
+ justification: jspb.Message.getFieldWithDefault(msg, 3, ""),
936
+ itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
937
+ proto.BaseEditQuantityQuotationItem.toObject, includeInstance)
938
+ };
939
+
940
+ if (includeInstance) {
941
+ obj.$jspbMessageInstance = msg;
942
+ }
943
+ return obj;
944
+ };
945
+ }
946
+
947
+
948
+ /**
949
+ * Deserializes binary data (in protobuf wire format).
950
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
951
+ * @return {!proto.UpdateSetWinner}
952
+ */
953
+ proto.UpdateSetWinner.deserializeBinary = function(bytes) {
954
+ var reader = new jspb.BinaryReader(bytes);
955
+ var msg = new proto.UpdateSetWinner;
956
+ return proto.UpdateSetWinner.deserializeBinaryFromReader(msg, reader);
957
+ };
958
+
959
+
960
+ /**
961
+ * Deserializes binary data (in protobuf wire format) from the
962
+ * given reader into the given message object.
963
+ * @param {!proto.UpdateSetWinner} msg The message object to deserialize into.
964
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
965
+ * @return {!proto.UpdateSetWinner}
966
+ */
967
+ proto.UpdateSetWinner.deserializeBinaryFromReader = function(msg, reader) {
968
+ while (reader.nextField()) {
969
+ if (reader.isEndGroup()) {
970
+ break;
971
+ }
972
+ var field = reader.getFieldNumber();
973
+ switch (field) {
974
+ case 1:
975
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
976
+ msg.setReferencesId(value);
977
+ break;
978
+ case 2:
979
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
980
+ msg.setTermAndCondition(value);
981
+ break;
982
+ case 3:
983
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
984
+ msg.setJustification(value);
985
+ break;
986
+ case 4:
987
+ var value = new proto.BaseEditQuantityQuotationItem;
988
+ reader.readMessage(value,proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader);
989
+ msg.addItemTransactions(value);
990
+ break;
991
+ default:
992
+ reader.skipField();
993
+ break;
994
+ }
995
+ }
996
+ return msg;
997
+ };
998
+
999
+
1000
+ /**
1001
+ * Serializes the message to binary data (in protobuf wire format).
1002
+ * @return {!Uint8Array}
1003
+ */
1004
+ proto.UpdateSetWinner.prototype.serializeBinary = function() {
1005
+ var writer = new jspb.BinaryWriter();
1006
+ proto.UpdateSetWinner.serializeBinaryToWriter(this, writer);
1007
+ return writer.getResultBuffer();
1008
+ };
1009
+
1010
+
1011
+ /**
1012
+ * Serializes the given message to binary data (in protobuf wire
1013
+ * format), writing to the given BinaryWriter.
1014
+ * @param {!proto.UpdateSetWinner} message
1015
+ * @param {!jspb.BinaryWriter} writer
1016
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1017
+ */
1018
+ proto.UpdateSetWinner.serializeBinaryToWriter = function(message, writer) {
1019
+ var f = undefined;
1020
+ f = message.getReferencesId();
1021
+ if (f.length > 0) {
1022
+ writer.writeString(
1023
+ 1,
1024
+ f
1025
+ );
1026
+ }
1027
+ f = message.getTermAndCondition();
1028
+ if (f.length > 0) {
1029
+ writer.writeString(
1030
+ 2,
1031
+ f
1032
+ );
1033
+ }
1034
+ f = message.getJustification();
1035
+ if (f.length > 0) {
1036
+ writer.writeString(
1037
+ 3,
1038
+ f
1039
+ );
1040
+ }
1041
+ f = message.getItemTransactionsList();
1042
+ if (f.length > 0) {
1043
+ writer.writeRepeatedMessage(
1044
+ 4,
1045
+ f,
1046
+ proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter
1047
+ );
1048
+ }
1049
+ };
1050
+
1051
+
1052
+ /**
1053
+ * optional string references_id = 1;
1054
+ * @return {string}
1055
+ */
1056
+ proto.UpdateSetWinner.prototype.getReferencesId = function() {
1057
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1058
+ };
1059
+
1060
+
1061
+ /**
1062
+ * @param {string} value
1063
+ * @return {!proto.UpdateSetWinner} returns this
1064
+ */
1065
+ proto.UpdateSetWinner.prototype.setReferencesId = function(value) {
1066
+ return jspb.Message.setProto3StringField(this, 1, value);
1067
+ };
1068
+
1069
+
1070
+ /**
1071
+ * optional string term_and_condition = 2;
1072
+ * @return {string}
1073
+ */
1074
+ proto.UpdateSetWinner.prototype.getTermAndCondition = function() {
1075
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1076
+ };
1077
+
1078
+
1079
+ /**
1080
+ * @param {string} value
1081
+ * @return {!proto.UpdateSetWinner} returns this
1082
+ */
1083
+ proto.UpdateSetWinner.prototype.setTermAndCondition = function(value) {
1084
+ return jspb.Message.setProto3StringField(this, 2, value);
1085
+ };
1086
+
1087
+
1088
+ /**
1089
+ * optional string justification = 3;
1090
+ * @return {string}
1091
+ */
1092
+ proto.UpdateSetWinner.prototype.getJustification = function() {
1093
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1094
+ };
1095
+
1096
+
1097
+ /**
1098
+ * @param {string} value
1099
+ * @return {!proto.UpdateSetWinner} returns this
1100
+ */
1101
+ proto.UpdateSetWinner.prototype.setJustification = function(value) {
1102
+ return jspb.Message.setProto3StringField(this, 3, value);
1103
+ };
1104
+
1105
+
1106
+ /**
1107
+ * repeated BaseEditQuantityQuotationItem item_transactions = 4;
1108
+ * @return {!Array<!proto.BaseEditQuantityQuotationItem>}
1109
+ */
1110
+ proto.UpdateSetWinner.prototype.getItemTransactionsList = function() {
1111
+ return /** @type{!Array<!proto.BaseEditQuantityQuotationItem>} */ (
1112
+ jspb.Message.getRepeatedWrapperField(this, proto.BaseEditQuantityQuotationItem, 4));
1113
+ };
1114
+
1115
+
1116
+ /**
1117
+ * @param {!Array<!proto.BaseEditQuantityQuotationItem>} value
1118
+ * @return {!proto.UpdateSetWinner} returns this
1119
+ */
1120
+ proto.UpdateSetWinner.prototype.setItemTransactionsList = function(value) {
1121
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
1122
+ };
1123
+
1124
+
1125
+ /**
1126
+ * @param {!proto.BaseEditQuantityQuotationItem=} opt_value
1127
+ * @param {number=} opt_index
1128
+ * @return {!proto.BaseEditQuantityQuotationItem}
1129
+ */
1130
+ proto.UpdateSetWinner.prototype.addItemTransactions = function(opt_value, opt_index) {
1131
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.BaseEditQuantityQuotationItem, opt_index);
1132
+ };
1133
+
1134
+
1135
+ /**
1136
+ * Clears the list making it empty but non-null.
1137
+ * @return {!proto.UpdateSetWinner} returns this
1138
+ */
1139
+ proto.UpdateSetWinner.prototype.clearItemTransactionsList = function() {
1140
+ return this.setItemTransactionsList([]);
1141
+ };
1142
+
1143
+
1144
+
1145
+
1146
+
1147
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1148
+ /**
1149
+ * Creates an object representation of this proto.
1150
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1151
+ * Optional fields that are not set will be set to undefined.
1152
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1153
+ * For the list of reserved names please see:
1154
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1155
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1156
+ * JSPB instance for transitional soy proto support:
1157
+ * http://goto/soy-param-migration
1158
+ * @return {!Object}
1159
+ */
1160
+ proto.SetJustificationItem.prototype.toObject = function(opt_includeInstance) {
1161
+ return proto.SetJustificationItem.toObject(opt_includeInstance, this);
1162
+ };
1163
+
1164
+
1165
+ /**
1166
+ * Static version of the {@see toObject} method.
1167
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1168
+ * the JSPB instance for transitional soy proto support:
1169
+ * http://goto/soy-param-migration
1170
+ * @param {!proto.SetJustificationItem} msg The msg instance to transform.
1171
+ * @return {!Object}
1172
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1173
+ */
1174
+ proto.SetJustificationItem.toObject = function(includeInstance, msg) {
1175
+ var f, obj = {
1176
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1177
+ justification: jspb.Message.getFieldWithDefault(msg, 2, "")
1178
+ };
1179
+
1180
+ if (includeInstance) {
1181
+ obj.$jspbMessageInstance = msg;
1182
+ }
1183
+ return obj;
1184
+ };
1185
+ }
1186
+
1187
+
1188
+ /**
1189
+ * Deserializes binary data (in protobuf wire format).
1190
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1191
+ * @return {!proto.SetJustificationItem}
1192
+ */
1193
+ proto.SetJustificationItem.deserializeBinary = function(bytes) {
1194
+ var reader = new jspb.BinaryReader(bytes);
1195
+ var msg = new proto.SetJustificationItem;
1196
+ return proto.SetJustificationItem.deserializeBinaryFromReader(msg, reader);
1197
+ };
1198
+
1199
+
1200
+ /**
1201
+ * Deserializes binary data (in protobuf wire format) from the
1202
+ * given reader into the given message object.
1203
+ * @param {!proto.SetJustificationItem} msg The message object to deserialize into.
1204
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1205
+ * @return {!proto.SetJustificationItem}
1206
+ */
1207
+ proto.SetJustificationItem.deserializeBinaryFromReader = function(msg, reader) {
1208
+ while (reader.nextField()) {
1209
+ if (reader.isEndGroup()) {
1210
+ break;
1211
+ }
1212
+ var field = reader.getFieldNumber();
1213
+ switch (field) {
1214
+ case 1:
1215
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1216
+ msg.setReferencesId(value);
1217
+ break;
1218
+ case 2:
1219
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1220
+ msg.setJustification(value);
1221
+ break;
1222
+ default:
1223
+ reader.skipField();
1224
+ break;
1225
+ }
1226
+ }
1227
+ return msg;
1228
+ };
1229
+
1230
+
1231
+ /**
1232
+ * Serializes the message to binary data (in protobuf wire format).
1233
+ * @return {!Uint8Array}
1234
+ */
1235
+ proto.SetJustificationItem.prototype.serializeBinary = function() {
1236
+ var writer = new jspb.BinaryWriter();
1237
+ proto.SetJustificationItem.serializeBinaryToWriter(this, writer);
1238
+ return writer.getResultBuffer();
1239
+ };
1240
+
1241
+
1242
+ /**
1243
+ * Serializes the given message to binary data (in protobuf wire
1244
+ * format), writing to the given BinaryWriter.
1245
+ * @param {!proto.SetJustificationItem} message
1246
+ * @param {!jspb.BinaryWriter} writer
1247
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1248
+ */
1249
+ proto.SetJustificationItem.serializeBinaryToWriter = function(message, writer) {
1250
+ var f = undefined;
1251
+ f = message.getReferencesId();
1252
+ if (f.length > 0) {
1253
+ writer.writeString(
1254
+ 1,
1255
+ f
1256
+ );
1257
+ }
1258
+ f = message.getJustification();
1259
+ if (f.length > 0) {
1260
+ writer.writeString(
1261
+ 2,
1262
+ f
1263
+ );
1264
+ }
1265
+ };
1266
+
1267
+
1268
+ /**
1269
+ * optional string references_id = 1;
1270
+ * @return {string}
1271
+ */
1272
+ proto.SetJustificationItem.prototype.getReferencesId = function() {
1273
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1274
+ };
1275
+
1276
+
1277
+ /**
1278
+ * @param {string} value
1279
+ * @return {!proto.SetJustificationItem} returns this
1280
+ */
1281
+ proto.SetJustificationItem.prototype.setReferencesId = function(value) {
1282
+ return jspb.Message.setProto3StringField(this, 1, value);
1283
+ };
1284
+
1285
+
1286
+ /**
1287
+ * optional string justification = 2;
1288
+ * @return {string}
1289
+ */
1290
+ proto.SetJustificationItem.prototype.getJustification = function() {
1291
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1292
+ };
1293
+
1294
+
1295
+ /**
1296
+ * @param {string} value
1297
+ * @return {!proto.SetJustificationItem} returns this
1298
+ */
1299
+ proto.SetJustificationItem.prototype.setJustification = function(value) {
1300
+ return jspb.Message.setProto3StringField(this, 2, value);
1301
+ };
1302
+
1303
+
1304
+
1305
+ /**
1306
+ * List of repeated fields within this message type.
1307
+ * @private {!Array<number>}
1308
+ * @const
1309
+ */
1310
+ proto.SetJustificationRequest.repeatedFields_ = [2];
1311
+
1312
+
1313
+
1314
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1315
+ /**
1316
+ * Creates an object representation of this proto.
1317
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1318
+ * Optional fields that are not set will be set to undefined.
1319
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1320
+ * For the list of reserved names please see:
1321
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1322
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1323
+ * JSPB instance for transitional soy proto support:
1324
+ * http://goto/soy-param-migration
1325
+ * @return {!Object}
1326
+ */
1327
+ proto.SetJustificationRequest.prototype.toObject = function(opt_includeInstance) {
1328
+ return proto.SetJustificationRequest.toObject(opt_includeInstance, this);
1329
+ };
1330
+
1331
+
1332
+ /**
1333
+ * Static version of the {@see toObject} method.
1334
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1335
+ * the JSPB instance for transitional soy proto support:
1336
+ * http://goto/soy-param-migration
1337
+ * @param {!proto.SetJustificationRequest} msg The msg instance to transform.
1338
+ * @return {!Object}
1339
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1340
+ */
1341
+ proto.SetJustificationRequest.toObject = function(includeInstance, msg) {
564
1342
  var f, obj = {
565
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
566
- termAndCondition: jspb.Message.getFieldWithDefault(msg, 2, ""),
567
- justification: jspb.Message.getFieldWithDefault(msg, 3, ""),
568
- itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
569
- proto.BaseEditQuantityQuotationItem.toObject, includeInstance)
1343
+ biddingReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1344
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
1345
+ proto.SetJustificationItem.toObject, includeInstance)
570
1346
  };
571
1347
 
572
1348
  if (includeInstance) {
@@ -580,23 +1356,23 @@ itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
580
1356
  /**
581
1357
  * Deserializes binary data (in protobuf wire format).
582
1358
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
583
- * @return {!proto.UpdateSetWinner}
1359
+ * @return {!proto.SetJustificationRequest}
584
1360
  */
585
- proto.UpdateSetWinner.deserializeBinary = function(bytes) {
1361
+ proto.SetJustificationRequest.deserializeBinary = function(bytes) {
586
1362
  var reader = new jspb.BinaryReader(bytes);
587
- var msg = new proto.UpdateSetWinner;
588
- return proto.UpdateSetWinner.deserializeBinaryFromReader(msg, reader);
1363
+ var msg = new proto.SetJustificationRequest;
1364
+ return proto.SetJustificationRequest.deserializeBinaryFromReader(msg, reader);
589
1365
  };
590
1366
 
591
1367
 
592
1368
  /**
593
1369
  * Deserializes binary data (in protobuf wire format) from the
594
1370
  * given reader into the given message object.
595
- * @param {!proto.UpdateSetWinner} msg The message object to deserialize into.
1371
+ * @param {!proto.SetJustificationRequest} msg The message object to deserialize into.
596
1372
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
597
- * @return {!proto.UpdateSetWinner}
1373
+ * @return {!proto.SetJustificationRequest}
598
1374
  */
599
- proto.UpdateSetWinner.deserializeBinaryFromReader = function(msg, reader) {
1375
+ proto.SetJustificationRequest.deserializeBinaryFromReader = function(msg, reader) {
600
1376
  while (reader.nextField()) {
601
1377
  if (reader.isEndGroup()) {
602
1378
  break;
@@ -605,20 +1381,12 @@ proto.UpdateSetWinner.deserializeBinaryFromReader = function(msg, reader) {
605
1381
  switch (field) {
606
1382
  case 1:
607
1383
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
608
- msg.setReferencesId(value);
1384
+ msg.setBiddingReferencesId(value);
609
1385
  break;
610
1386
  case 2:
611
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
612
- msg.setTermAndCondition(value);
613
- break;
614
- case 3:
615
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
616
- msg.setJustification(value);
617
- break;
618
- case 4:
619
- var value = new proto.BaseEditQuantityQuotationItem;
620
- reader.readMessage(value,proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader);
621
- msg.addItemTransactions(value);
1387
+ var value = new proto.SetJustificationItem;
1388
+ reader.readMessage(value,proto.SetJustificationItem.deserializeBinaryFromReader);
1389
+ msg.addItems(value);
622
1390
  break;
623
1391
  default:
624
1392
  reader.skipField();
@@ -633,9 +1401,9 @@ proto.UpdateSetWinner.deserializeBinaryFromReader = function(msg, reader) {
633
1401
  * Serializes the message to binary data (in protobuf wire format).
634
1402
  * @return {!Uint8Array}
635
1403
  */
636
- proto.UpdateSetWinner.prototype.serializeBinary = function() {
1404
+ proto.SetJustificationRequest.prototype.serializeBinary = function() {
637
1405
  var writer = new jspb.BinaryWriter();
638
- proto.UpdateSetWinner.serializeBinaryToWriter(this, writer);
1406
+ proto.SetJustificationRequest.serializeBinaryToWriter(this, writer);
639
1407
  return writer.getResultBuffer();
640
1408
  };
641
1409
 
@@ -643,133 +1411,83 @@ proto.UpdateSetWinner.prototype.serializeBinary = function() {
643
1411
  /**
644
1412
  * Serializes the given message to binary data (in protobuf wire
645
1413
  * format), writing to the given BinaryWriter.
646
- * @param {!proto.UpdateSetWinner} message
1414
+ * @param {!proto.SetJustificationRequest} message
647
1415
  * @param {!jspb.BinaryWriter} writer
648
1416
  * @suppress {unusedLocalVariables} f is only used for nested messages
649
1417
  */
650
- proto.UpdateSetWinner.serializeBinaryToWriter = function(message, writer) {
1418
+ proto.SetJustificationRequest.serializeBinaryToWriter = function(message, writer) {
651
1419
  var f = undefined;
652
- f = message.getReferencesId();
1420
+ f = message.getBiddingReferencesId();
653
1421
  if (f.length > 0) {
654
1422
  writer.writeString(
655
1423
  1,
656
1424
  f
657
1425
  );
658
1426
  }
659
- f = message.getTermAndCondition();
660
- if (f.length > 0) {
661
- writer.writeString(
662
- 2,
663
- f
664
- );
665
- }
666
- f = message.getJustification();
667
- if (f.length > 0) {
668
- writer.writeString(
669
- 3,
670
- f
671
- );
672
- }
673
- f = message.getItemTransactionsList();
1427
+ f = message.getItemsList();
674
1428
  if (f.length > 0) {
675
1429
  writer.writeRepeatedMessage(
676
- 4,
1430
+ 2,
677
1431
  f,
678
- proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter
1432
+ proto.SetJustificationItem.serializeBinaryToWriter
679
1433
  );
680
1434
  }
681
1435
  };
682
1436
 
683
1437
 
684
1438
  /**
685
- * optional string references_id = 1;
1439
+ * optional string bidding_references_id = 1;
686
1440
  * @return {string}
687
1441
  */
688
- proto.UpdateSetWinner.prototype.getReferencesId = function() {
1442
+ proto.SetJustificationRequest.prototype.getBiddingReferencesId = function() {
689
1443
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
690
1444
  };
691
1445
 
692
1446
 
693
1447
  /**
694
1448
  * @param {string} value
695
- * @return {!proto.UpdateSetWinner} returns this
1449
+ * @return {!proto.SetJustificationRequest} returns this
696
1450
  */
697
- proto.UpdateSetWinner.prototype.setReferencesId = function(value) {
1451
+ proto.SetJustificationRequest.prototype.setBiddingReferencesId = function(value) {
698
1452
  return jspb.Message.setProto3StringField(this, 1, value);
699
1453
  };
700
1454
 
701
1455
 
702
1456
  /**
703
- * optional string term_and_condition = 2;
704
- * @return {string}
705
- */
706
- proto.UpdateSetWinner.prototype.getTermAndCondition = function() {
707
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
708
- };
709
-
710
-
711
- /**
712
- * @param {string} value
713
- * @return {!proto.UpdateSetWinner} returns this
714
- */
715
- proto.UpdateSetWinner.prototype.setTermAndCondition = function(value) {
716
- return jspb.Message.setProto3StringField(this, 2, value);
717
- };
718
-
719
-
720
- /**
721
- * optional string justification = 3;
722
- * @return {string}
723
- */
724
- proto.UpdateSetWinner.prototype.getJustification = function() {
725
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
726
- };
727
-
728
-
729
- /**
730
- * @param {string} value
731
- * @return {!proto.UpdateSetWinner} returns this
732
- */
733
- proto.UpdateSetWinner.prototype.setJustification = function(value) {
734
- return jspb.Message.setProto3StringField(this, 3, value);
735
- };
736
-
737
-
738
- /**
739
- * repeated BaseEditQuantityQuotationItem item_transactions = 4;
740
- * @return {!Array<!proto.BaseEditQuantityQuotationItem>}
1457
+ * repeated SetJustificationItem items = 2;
1458
+ * @return {!Array<!proto.SetJustificationItem>}
741
1459
  */
742
- proto.UpdateSetWinner.prototype.getItemTransactionsList = function() {
743
- return /** @type{!Array<!proto.BaseEditQuantityQuotationItem>} */ (
744
- jspb.Message.getRepeatedWrapperField(this, proto.BaseEditQuantityQuotationItem, 4));
1460
+ proto.SetJustificationRequest.prototype.getItemsList = function() {
1461
+ return /** @type{!Array<!proto.SetJustificationItem>} */ (
1462
+ jspb.Message.getRepeatedWrapperField(this, proto.SetJustificationItem, 2));
745
1463
  };
746
1464
 
747
1465
 
748
1466
  /**
749
- * @param {!Array<!proto.BaseEditQuantityQuotationItem>} value
750
- * @return {!proto.UpdateSetWinner} returns this
1467
+ * @param {!Array<!proto.SetJustificationItem>} value
1468
+ * @return {!proto.SetJustificationRequest} returns this
751
1469
  */
752
- proto.UpdateSetWinner.prototype.setItemTransactionsList = function(value) {
753
- return jspb.Message.setRepeatedWrapperField(this, 4, value);
1470
+ proto.SetJustificationRequest.prototype.setItemsList = function(value) {
1471
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
754
1472
  };
755
1473
 
756
1474
 
757
1475
  /**
758
- * @param {!proto.BaseEditQuantityQuotationItem=} opt_value
1476
+ * @param {!proto.SetJustificationItem=} opt_value
759
1477
  * @param {number=} opt_index
760
- * @return {!proto.BaseEditQuantityQuotationItem}
1478
+ * @return {!proto.SetJustificationItem}
761
1479
  */
762
- proto.UpdateSetWinner.prototype.addItemTransactions = function(opt_value, opt_index) {
763
- return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.BaseEditQuantityQuotationItem, opt_index);
1480
+ proto.SetJustificationRequest.prototype.addItems = function(opt_value, opt_index) {
1481
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.SetJustificationItem, opt_index);
764
1482
  };
765
1483
 
766
1484
 
767
1485
  /**
768
1486
  * Clears the list making it empty but non-null.
769
- * @return {!proto.UpdateSetWinner} returns this
1487
+ * @return {!proto.SetJustificationRequest} returns this
770
1488
  */
771
- proto.UpdateSetWinner.prototype.clearItemTransactionsList = function() {
772
- return this.setItemTransactionsList([]);
1489
+ proto.SetJustificationRequest.prototype.clearItemsList = function() {
1490
+ return this.setItemsList([]);
773
1491
  };
774
1492
 
775
1493
 
@@ -842,7 +1560,8 @@ status: jspb.Message.getFieldWithDefault(msg, 25, ""),
842
1560
  biddingDate: jspb.Message.getFieldWithDefault(msg, 26, ""),
843
1561
  biddingStartDate: jspb.Message.getFieldWithDefault(msg, 27, ""),
844
1562
  requestForQuotationMethod: jspb.Message.getFieldWithDefault(msg, 28, ""),
845
- maxSubmissionDate: jspb.Message.getFieldWithDefault(msg, 29, "")
1563
+ maxSubmissionDate: jspb.Message.getFieldWithDefault(msg, 29, ""),
1564
+ documentType: jspb.Message.getFieldWithDefault(msg, 30, "")
846
1565
  };
847
1566
 
848
1567
  if (includeInstance) {
@@ -997,6 +1716,10 @@ proto.BaseQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
997
1716
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
998
1717
  msg.setMaxSubmissionDate(value);
999
1718
  break;
1719
+ case 30:
1720
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1721
+ msg.setDocumentType(value);
1722
+ break;
1000
1723
  default:
1001
1724
  reader.skipField();
1002
1725
  break;
@@ -1231,6 +1954,13 @@ proto.BaseQuotationRequest.serializeBinaryToWriter = function(message, writer) {
1231
1954
  f
1232
1955
  );
1233
1956
  }
1957
+ f = message.getDocumentType();
1958
+ if (f.length > 0) {
1959
+ writer.writeString(
1960
+ 30,
1961
+ f
1962
+ );
1963
+ }
1234
1964
  };
1235
1965
 
1236
1966
 
@@ -1796,6 +2526,24 @@ proto.BaseQuotationRequest.prototype.setMaxSubmissionDate = function(value) {
1796
2526
  };
1797
2527
 
1798
2528
 
2529
+ /**
2530
+ * optional string document_type = 30;
2531
+ * @return {string}
2532
+ */
2533
+ proto.BaseQuotationRequest.prototype.getDocumentType = function() {
2534
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
2535
+ };
2536
+
2537
+
2538
+ /**
2539
+ * @param {string} value
2540
+ * @return {!proto.BaseQuotationRequest} returns this
2541
+ */
2542
+ proto.BaseQuotationRequest.prototype.setDocumentType = function(value) {
2543
+ return jspb.Message.setProto3StringField(this, 30, value);
2544
+ };
2545
+
2546
+
1799
2547
 
1800
2548
 
1801
2549
 
@@ -4217,4 +4965,155 @@ proto.SetVisibleResponse.prototype.hasMeta = function() {
4217
4965
  };
4218
4966
 
4219
4967
 
4968
+
4969
+
4970
+
4971
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4972
+ /**
4973
+ * Creates an object representation of this proto.
4974
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4975
+ * Optional fields that are not set will be set to undefined.
4976
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4977
+ * For the list of reserved names please see:
4978
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4979
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4980
+ * JSPB instance for transitional soy proto support:
4981
+ * http://goto/soy-param-migration
4982
+ * @return {!Object}
4983
+ */
4984
+ proto.SetJustificationResponse.prototype.toObject = function(opt_includeInstance) {
4985
+ return proto.SetJustificationResponse.toObject(opt_includeInstance, this);
4986
+ };
4987
+
4988
+
4989
+ /**
4990
+ * Static version of the {@see toObject} method.
4991
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4992
+ * the JSPB instance for transitional soy proto support:
4993
+ * http://goto/soy-param-migration
4994
+ * @param {!proto.SetJustificationResponse} msg The msg instance to transform.
4995
+ * @return {!Object}
4996
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4997
+ */
4998
+ proto.SetJustificationResponse.toObject = function(includeInstance, msg) {
4999
+ var f, obj = {
5000
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
5001
+ };
5002
+
5003
+ if (includeInstance) {
5004
+ obj.$jspbMessageInstance = msg;
5005
+ }
5006
+ return obj;
5007
+ };
5008
+ }
5009
+
5010
+
5011
+ /**
5012
+ * Deserializes binary data (in protobuf wire format).
5013
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5014
+ * @return {!proto.SetJustificationResponse}
5015
+ */
5016
+ proto.SetJustificationResponse.deserializeBinary = function(bytes) {
5017
+ var reader = new jspb.BinaryReader(bytes);
5018
+ var msg = new proto.SetJustificationResponse;
5019
+ return proto.SetJustificationResponse.deserializeBinaryFromReader(msg, reader);
5020
+ };
5021
+
5022
+
5023
+ /**
5024
+ * Deserializes binary data (in protobuf wire format) from the
5025
+ * given reader into the given message object.
5026
+ * @param {!proto.SetJustificationResponse} msg The message object to deserialize into.
5027
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5028
+ * @return {!proto.SetJustificationResponse}
5029
+ */
5030
+ proto.SetJustificationResponse.deserializeBinaryFromReader = function(msg, reader) {
5031
+ while (reader.nextField()) {
5032
+ if (reader.isEndGroup()) {
5033
+ break;
5034
+ }
5035
+ var field = reader.getFieldNumber();
5036
+ switch (field) {
5037
+ case 1:
5038
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
5039
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
5040
+ msg.setMeta(value);
5041
+ break;
5042
+ default:
5043
+ reader.skipField();
5044
+ break;
5045
+ }
5046
+ }
5047
+ return msg;
5048
+ };
5049
+
5050
+
5051
+ /**
5052
+ * Serializes the message to binary data (in protobuf wire format).
5053
+ * @return {!Uint8Array}
5054
+ */
5055
+ proto.SetJustificationResponse.prototype.serializeBinary = function() {
5056
+ var writer = new jspb.BinaryWriter();
5057
+ proto.SetJustificationResponse.serializeBinaryToWriter(this, writer);
5058
+ return writer.getResultBuffer();
5059
+ };
5060
+
5061
+
5062
+ /**
5063
+ * Serializes the given message to binary data (in protobuf wire
5064
+ * format), writing to the given BinaryWriter.
5065
+ * @param {!proto.SetJustificationResponse} message
5066
+ * @param {!jspb.BinaryWriter} writer
5067
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5068
+ */
5069
+ proto.SetJustificationResponse.serializeBinaryToWriter = function(message, writer) {
5070
+ var f = undefined;
5071
+ f = message.getMeta();
5072
+ if (f != null) {
5073
+ writer.writeMessage(
5074
+ 1,
5075
+ f,
5076
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
5077
+ );
5078
+ }
5079
+ };
5080
+
5081
+
5082
+ /**
5083
+ * optional prisca.v1.global.meta.Meta meta = 1;
5084
+ * @return {?proto.prisca.v1.global.meta.Meta}
5085
+ */
5086
+ proto.SetJustificationResponse.prototype.getMeta = function() {
5087
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
5088
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 1));
5089
+ };
5090
+
5091
+
5092
+ /**
5093
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
5094
+ * @return {!proto.SetJustificationResponse} returns this
5095
+ */
5096
+ proto.SetJustificationResponse.prototype.setMeta = function(value) {
5097
+ return jspb.Message.setWrapperField(this, 1, value);
5098
+ };
5099
+
5100
+
5101
+ /**
5102
+ * Clears the message field making it undefined.
5103
+ * @return {!proto.SetJustificationResponse} returns this
5104
+ */
5105
+ proto.SetJustificationResponse.prototype.clearMeta = function() {
5106
+ return this.setMeta(undefined);
5107
+ };
5108
+
5109
+
5110
+ /**
5111
+ * Returns whether this field is set.
5112
+ * @return {boolean}
5113
+ */
5114
+ proto.SetJustificationResponse.prototype.hasMeta = function() {
5115
+ return jspb.Message.getField(this, 1) != null;
5116
+ };
5117
+
5118
+
4220
5119
  goog.object.extend(exports, proto);