@aldiokta/protocgen 1.1.26 → 1.1.28

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 (31) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +55 -0
  3. package/prisca/v1/bidding/bidding_pb.js +1042 -63
  4. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +33 -0
  5. package/prisca/v1/core/access_manager/access_manager_pb.js +385 -0
  6. package/prisca/v1/core/auth/auth_grpc_pb.js +103 -3
  7. package/prisca/v1/core/auth/auth_pb.js +2519 -1181
  8. package/prisca/v1/core/file_upload/file_upload_pb.js +93 -3
  9. package/prisca/v1/core/item_transaction/item_transaction_pb.js +183 -33
  10. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +438 -46
  11. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +31 -1
  12. package/prisca/v1/core/location/location_pb.js +446 -57
  13. package/prisca/v1/core/messaging/notification_grpc_pb.js +188 -0
  14. package/prisca/v1/core/messaging/notification_pb.js +2780 -0
  15. package/prisca/v1/core/price_condition/price_condition_pb.js +122 -2
  16. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +234 -168
  17. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +1987 -1775
  18. package/prisca/v1/delivery_order/delivery_order_pb.js +130 -70
  19. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +228 -1
  20. package/prisca/v1/good_receipt/good_receipt_pb.js +4779 -0
  21. package/prisca/v1/invoice/invoice_grpc_pb.js +174 -0
  22. package/prisca/v1/invoice/invoice_pb.js +4398 -0
  23. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +11 -0
  24. package/prisca/v1/purchase_order/purchase_order_pb.js +142 -22
  25. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +105 -75
  26. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +55 -177
  27. package/prisca/v1/quotation/quotation_pb.js +236 -26
  28. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +33 -0
  29. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +413 -28
  30. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +55 -0
  31. package/prisca/v1/vendor_domain/vendor_domain_pb.js +1076 -317
@@ -31,7 +31,6 @@ goog.exportSymbol('proto.DeletePurchasingOrganizationRequest', null, global);
31
31
  goog.exportSymbol('proto.DeletePurchasingOrganizationResponse', null, global);
32
32
  goog.exportSymbol('proto.GetListPurchasingOrganizationRequest', null, global);
33
33
  goog.exportSymbol('proto.GetListPurchasingOrganizationResponse', null, global);
34
- goog.exportSymbol('proto.PurOrg', null, global);
35
34
  goog.exportSymbol('proto.PurchasingOrganization', null, global);
36
35
  goog.exportSymbol('proto.PurchasingOrganizationGetByIdRequest', null, global);
37
36
  goog.exportSymbol('proto.PurchasingOrganizationGetByIdResponse', null, global);
@@ -58,27 +57,6 @@ if (goog.DEBUG && !COMPILED) {
58
57
  */
59
58
  proto.PurchasingOrganization.displayName = 'proto.PurchasingOrganization';
60
59
  }
61
- /**
62
- * Generated by JsPbCodeGenerator.
63
- * @param {Array=} opt_data Optional initial data array, typically from a
64
- * server response, or constructed directly in Javascript. The array is used
65
- * in place and becomes part of the constructed object. It is not cloned.
66
- * If no data is provided, the constructed object will be empty, but still
67
- * valid.
68
- * @extends {jspb.Message}
69
- * @constructor
70
- */
71
- proto.PurOrg = function(opt_data) {
72
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
73
- };
74
- goog.inherits(proto.PurOrg, jspb.Message);
75
- if (goog.DEBUG && !COMPILED) {
76
- /**
77
- * @public
78
- * @override
79
- */
80
- proto.PurOrg.displayName = 'proto.PurOrg';
81
- }
82
60
  /**
83
61
  * Generated by JsPbCodeGenerator.
84
62
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -324,7 +302,10 @@ proto.PurchasingOrganization.toObject = function(includeInstance, msg) {
324
302
  referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
325
303
  description: jspb.Message.getFieldWithDefault(msg, 2, ""),
326
304
  code: jspb.Message.getFieldWithDefault(msg, 3, ""),
327
- validity: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
305
+ validity: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
306
+ createdAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
307
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
308
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 7, "")
328
309
  };
329
310
 
330
311
  if (includeInstance) {
@@ -377,6 +358,18 @@ proto.PurchasingOrganization.deserializeBinaryFromReader = function(msg, reader)
377
358
  var value = /** @type {boolean} */ (reader.readBool());
378
359
  msg.setValidity(value);
379
360
  break;
361
+ case 5:
362
+ var value = /** @type {string} */ (reader.readString());
363
+ msg.setCreatedAt(value);
364
+ break;
365
+ case 6:
366
+ var value = /** @type {string} */ (reader.readString());
367
+ msg.setUpdatedAt(value);
368
+ break;
369
+ case 7:
370
+ var value = /** @type {string} */ (reader.readString());
371
+ msg.setCompaniesReferencesId(value);
372
+ break;
380
373
  default:
381
374
  reader.skipField();
382
375
  break;
@@ -434,6 +427,27 @@ proto.PurchasingOrganization.serializeBinaryToWriter = function(message, writer)
434
427
  f
435
428
  );
436
429
  }
430
+ f = message.getCreatedAt();
431
+ if (f.length > 0) {
432
+ writer.writeString(
433
+ 5,
434
+ f
435
+ );
436
+ }
437
+ f = message.getUpdatedAt();
438
+ if (f.length > 0) {
439
+ writer.writeString(
440
+ 6,
441
+ f
442
+ );
443
+ }
444
+ f = message.getCompaniesReferencesId();
445
+ if (f.length > 0) {
446
+ writer.writeString(
447
+ 7,
448
+ f
449
+ );
450
+ }
437
451
  };
438
452
 
439
453
 
@@ -509,193 +523,57 @@ proto.PurchasingOrganization.prototype.setValidity = function(value) {
509
523
  };
510
524
 
511
525
 
512
-
513
-
514
-
515
- if (jspb.Message.GENERATE_TO_OBJECT) {
516
- /**
517
- * Creates an object representation of this proto.
518
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
519
- * Optional fields that are not set will be set to undefined.
520
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
521
- * For the list of reserved names please see:
522
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
523
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
524
- * JSPB instance for transitional soy proto support:
525
- * http://goto/soy-param-migration
526
- * @return {!Object}
527
- */
528
- proto.PurOrg.prototype.toObject = function(opt_includeInstance) {
529
- return proto.PurOrg.toObject(opt_includeInstance, this);
530
- };
531
-
532
-
533
- /**
534
- * Static version of the {@see toObject} method.
535
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
536
- * the JSPB instance for transitional soy proto support:
537
- * http://goto/soy-param-migration
538
- * @param {!proto.PurOrg} msg The msg instance to transform.
539
- * @return {!Object}
540
- * @suppress {unusedLocalVariables} f is only used for nested messages
541
- */
542
- proto.PurOrg.toObject = function(includeInstance, msg) {
543
- var f, obj = {
544
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
545
- code: jspb.Message.getFieldWithDefault(msg, 2, ""),
546
- name: jspb.Message.getFieldWithDefault(msg, 3, "")
547
- };
548
-
549
- if (includeInstance) {
550
- obj.$jspbMessageInstance = msg;
551
- }
552
- return obj;
553
- };
554
- }
555
-
556
-
557
- /**
558
- * Deserializes binary data (in protobuf wire format).
559
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
560
- * @return {!proto.PurOrg}
561
- */
562
- proto.PurOrg.deserializeBinary = function(bytes) {
563
- var reader = new jspb.BinaryReader(bytes);
564
- var msg = new proto.PurOrg;
565
- return proto.PurOrg.deserializeBinaryFromReader(msg, reader);
566
- };
567
-
568
-
569
- /**
570
- * Deserializes binary data (in protobuf wire format) from the
571
- * given reader into the given message object.
572
- * @param {!proto.PurOrg} msg The message object to deserialize into.
573
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
574
- * @return {!proto.PurOrg}
575
- */
576
- proto.PurOrg.deserializeBinaryFromReader = function(msg, reader) {
577
- while (reader.nextField()) {
578
- if (reader.isEndGroup()) {
579
- break;
580
- }
581
- var field = reader.getFieldNumber();
582
- switch (field) {
583
- case 1:
584
- var value = /** @type {string} */ (reader.readString());
585
- msg.setReferencesId(value);
586
- break;
587
- case 2:
588
- var value = /** @type {string} */ (reader.readString());
589
- msg.setCode(value);
590
- break;
591
- case 3:
592
- var value = /** @type {string} */ (reader.readString());
593
- msg.setName(value);
594
- break;
595
- default:
596
- reader.skipField();
597
- break;
598
- }
599
- }
600
- return msg;
601
- };
602
-
603
-
604
526
  /**
605
- * Serializes the message to binary data (in protobuf wire format).
606
- * @return {!Uint8Array}
607
- */
608
- proto.PurOrg.prototype.serializeBinary = function() {
609
- var writer = new jspb.BinaryWriter();
610
- proto.PurOrg.serializeBinaryToWriter(this, writer);
611
- return writer.getResultBuffer();
612
- };
613
-
614
-
615
- /**
616
- * Serializes the given message to binary data (in protobuf wire
617
- * format), writing to the given BinaryWriter.
618
- * @param {!proto.PurOrg} message
619
- * @param {!jspb.BinaryWriter} writer
620
- * @suppress {unusedLocalVariables} f is only used for nested messages
621
- */
622
- proto.PurOrg.serializeBinaryToWriter = function(message, writer) {
623
- var f = undefined;
624
- f = message.getReferencesId();
625
- if (f.length > 0) {
626
- writer.writeString(
627
- 1,
628
- f
629
- );
630
- }
631
- f = message.getCode();
632
- if (f.length > 0) {
633
- writer.writeString(
634
- 2,
635
- f
636
- );
637
- }
638
- f = message.getName();
639
- if (f.length > 0) {
640
- writer.writeString(
641
- 3,
642
- f
643
- );
644
- }
645
- };
646
-
647
-
648
- /**
649
- * optional string references_id = 1;
527
+ * optional string created_at = 5;
650
528
  * @return {string}
651
529
  */
652
- proto.PurOrg.prototype.getReferencesId = function() {
653
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
530
+ proto.PurchasingOrganization.prototype.getCreatedAt = function() {
531
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
654
532
  };
655
533
 
656
534
 
657
535
  /**
658
536
  * @param {string} value
659
- * @return {!proto.PurOrg} returns this
537
+ * @return {!proto.PurchasingOrganization} returns this
660
538
  */
661
- proto.PurOrg.prototype.setReferencesId = function(value) {
662
- return jspb.Message.setProto3StringField(this, 1, value);
539
+ proto.PurchasingOrganization.prototype.setCreatedAt = function(value) {
540
+ return jspb.Message.setProto3StringField(this, 5, value);
663
541
  };
664
542
 
665
543
 
666
544
  /**
667
- * optional string code = 2;
545
+ * optional string updated_at = 6;
668
546
  * @return {string}
669
547
  */
670
- proto.PurOrg.prototype.getCode = function() {
671
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
548
+ proto.PurchasingOrganization.prototype.getUpdatedAt = function() {
549
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
672
550
  };
673
551
 
674
552
 
675
553
  /**
676
554
  * @param {string} value
677
- * @return {!proto.PurOrg} returns this
555
+ * @return {!proto.PurchasingOrganization} returns this
678
556
  */
679
- proto.PurOrg.prototype.setCode = function(value) {
680
- return jspb.Message.setProto3StringField(this, 2, value);
557
+ proto.PurchasingOrganization.prototype.setUpdatedAt = function(value) {
558
+ return jspb.Message.setProto3StringField(this, 6, value);
681
559
  };
682
560
 
683
561
 
684
562
  /**
685
- * optional string name = 3;
563
+ * optional string companies_references_id = 7;
686
564
  * @return {string}
687
565
  */
688
- proto.PurOrg.prototype.getName = function() {
689
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
566
+ proto.PurchasingOrganization.prototype.getCompaniesReferencesId = function() {
567
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
690
568
  };
691
569
 
692
570
 
693
571
  /**
694
572
  * @param {string} value
695
- * @return {!proto.PurOrg} returns this
573
+ * @return {!proto.PurchasingOrganization} returns this
696
574
  */
697
- proto.PurOrg.prototype.setName = function(value) {
698
- return jspb.Message.setProto3StringField(this, 3, value);
575
+ proto.PurchasingOrganization.prototype.setCompaniesReferencesId = function(value) {
576
+ return jspb.Message.setProto3StringField(this, 7, value);
699
577
  };
700
578
 
701
579
 
@@ -358,7 +358,7 @@ proto.BaseEditQuantityQuotationItem.prototype.toObject = function(opt_includeIns
358
358
  proto.BaseEditQuantityQuotationItem.toObject = function(includeInstance, msg) {
359
359
  var f, obj = {
360
360
  referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
361
- quantity: jspb.Message.getFieldWithDefault(msg, 2, 0)
361
+ quantity: jspb.Message.getFieldWithDefault(msg, 2, "")
362
362
  };
363
363
 
364
364
  if (includeInstance) {
@@ -400,7 +400,7 @@ proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader = function(msg,
400
400
  msg.setReferencesId(value);
401
401
  break;
402
402
  case 2:
403
- var value = /** @type {number} */ (reader.readInt64());
403
+ var value = /** @type {string} */ (reader.readString());
404
404
  msg.setQuantity(value);
405
405
  break;
406
406
  default:
@@ -440,8 +440,8 @@ proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter = function(message,
440
440
  );
441
441
  }
442
442
  f = message.getQuantity();
443
- if (f !== 0) {
444
- writer.writeInt64(
443
+ if (f.length > 0) {
444
+ writer.writeString(
445
445
  2,
446
446
  f
447
447
  );
@@ -468,20 +468,20 @@ proto.BaseEditQuantityQuotationItem.prototype.setReferencesId = function(value)
468
468
 
469
469
 
470
470
  /**
471
- * optional int64 quantity = 2;
472
- * @return {number}
471
+ * optional string quantity = 2;
472
+ * @return {string}
473
473
  */
474
474
  proto.BaseEditQuantityQuotationItem.prototype.getQuantity = function() {
475
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
475
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
476
476
  };
477
477
 
478
478
 
479
479
  /**
480
- * @param {number} value
480
+ * @param {string} value
481
481
  * @return {!proto.BaseEditQuantityQuotationItem} returns this
482
482
  */
483
483
  proto.BaseEditQuantityQuotationItem.prototype.setQuantity = function(value) {
484
- return jspb.Message.setProto3IntField(this, 2, value);
484
+ return jspb.Message.setProto3StringField(this, 2, value);
485
485
  };
486
486
 
487
487
 
@@ -797,7 +797,14 @@ itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
797
797
  prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
798
798
  visible: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
799
799
  filesList: jspb.Message.toObjectList(msg.getFilesList(),
800
- prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
800
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
801
+ title: jspb.Message.getFieldWithDefault(msg, 23, ""),
802
+ vendorName: jspb.Message.getFieldWithDefault(msg, 24, ""),
803
+ status: jspb.Message.getFieldWithDefault(msg, 25, ""),
804
+ biddingDate: jspb.Message.getFieldWithDefault(msg, 26, ""),
805
+ biddingStartDate: jspb.Message.getFieldWithDefault(msg, 27, ""),
806
+ requestForQuotationMethod: jspb.Message.getFieldWithDefault(msg, 28, ""),
807
+ maxSubmissionDate: jspb.Message.getFieldWithDefault(msg, 29, "")
801
808
  };
802
809
 
803
810
  if (includeInstance) {
@@ -924,6 +931,34 @@ proto.BaseQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
924
931
  reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
925
932
  msg.addFiles(value);
926
933
  break;
934
+ case 23:
935
+ var value = /** @type {string} */ (reader.readString());
936
+ msg.setTitle(value);
937
+ break;
938
+ case 24:
939
+ var value = /** @type {string} */ (reader.readString());
940
+ msg.setVendorName(value);
941
+ break;
942
+ case 25:
943
+ var value = /** @type {string} */ (reader.readString());
944
+ msg.setStatus(value);
945
+ break;
946
+ case 26:
947
+ var value = /** @type {string} */ (reader.readString());
948
+ msg.setBiddingDate(value);
949
+ break;
950
+ case 27:
951
+ var value = /** @type {string} */ (reader.readString());
952
+ msg.setBiddingStartDate(value);
953
+ break;
954
+ case 28:
955
+ var value = /** @type {string} */ (reader.readString());
956
+ msg.setRequestForQuotationMethod(value);
957
+ break;
958
+ case 29:
959
+ var value = /** @type {string} */ (reader.readString());
960
+ msg.setMaxSubmissionDate(value);
961
+ break;
927
962
  default:
928
963
  reader.skipField();
929
964
  break;
@@ -1109,6 +1144,55 @@ proto.BaseQuotationRequest.serializeBinaryToWriter = function(message, writer) {
1109
1144
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
1110
1145
  );
1111
1146
  }
1147
+ f = message.getTitle();
1148
+ if (f.length > 0) {
1149
+ writer.writeString(
1150
+ 23,
1151
+ f
1152
+ );
1153
+ }
1154
+ f = message.getVendorName();
1155
+ if (f.length > 0) {
1156
+ writer.writeString(
1157
+ 24,
1158
+ f
1159
+ );
1160
+ }
1161
+ f = message.getStatus();
1162
+ if (f.length > 0) {
1163
+ writer.writeString(
1164
+ 25,
1165
+ f
1166
+ );
1167
+ }
1168
+ f = message.getBiddingDate();
1169
+ if (f.length > 0) {
1170
+ writer.writeString(
1171
+ 26,
1172
+ f
1173
+ );
1174
+ }
1175
+ f = message.getBiddingStartDate();
1176
+ if (f.length > 0) {
1177
+ writer.writeString(
1178
+ 27,
1179
+ f
1180
+ );
1181
+ }
1182
+ f = message.getRequestForQuotationMethod();
1183
+ if (f.length > 0) {
1184
+ writer.writeString(
1185
+ 28,
1186
+ f
1187
+ );
1188
+ }
1189
+ f = message.getMaxSubmissionDate();
1190
+ if (f.length > 0) {
1191
+ writer.writeString(
1192
+ 29,
1193
+ f
1194
+ );
1195
+ }
1112
1196
  };
1113
1197
 
1114
1198
 
@@ -1548,6 +1632,132 @@ proto.BaseQuotationRequest.prototype.clearFilesList = function() {
1548
1632
  };
1549
1633
 
1550
1634
 
1635
+ /**
1636
+ * optional string title = 23;
1637
+ * @return {string}
1638
+ */
1639
+ proto.BaseQuotationRequest.prototype.getTitle = function() {
1640
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
1641
+ };
1642
+
1643
+
1644
+ /**
1645
+ * @param {string} value
1646
+ * @return {!proto.BaseQuotationRequest} returns this
1647
+ */
1648
+ proto.BaseQuotationRequest.prototype.setTitle = function(value) {
1649
+ return jspb.Message.setProto3StringField(this, 23, value);
1650
+ };
1651
+
1652
+
1653
+ /**
1654
+ * optional string vendor_name = 24;
1655
+ * @return {string}
1656
+ */
1657
+ proto.BaseQuotationRequest.prototype.getVendorName = function() {
1658
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
1659
+ };
1660
+
1661
+
1662
+ /**
1663
+ * @param {string} value
1664
+ * @return {!proto.BaseQuotationRequest} returns this
1665
+ */
1666
+ proto.BaseQuotationRequest.prototype.setVendorName = function(value) {
1667
+ return jspb.Message.setProto3StringField(this, 24, value);
1668
+ };
1669
+
1670
+
1671
+ /**
1672
+ * optional string status = 25;
1673
+ * @return {string}
1674
+ */
1675
+ proto.BaseQuotationRequest.prototype.getStatus = function() {
1676
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
1677
+ };
1678
+
1679
+
1680
+ /**
1681
+ * @param {string} value
1682
+ * @return {!proto.BaseQuotationRequest} returns this
1683
+ */
1684
+ proto.BaseQuotationRequest.prototype.setStatus = function(value) {
1685
+ return jspb.Message.setProto3StringField(this, 25, value);
1686
+ };
1687
+
1688
+
1689
+ /**
1690
+ * optional string bidding_date = 26;
1691
+ * @return {string}
1692
+ */
1693
+ proto.BaseQuotationRequest.prototype.getBiddingDate = function() {
1694
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
1695
+ };
1696
+
1697
+
1698
+ /**
1699
+ * @param {string} value
1700
+ * @return {!proto.BaseQuotationRequest} returns this
1701
+ */
1702
+ proto.BaseQuotationRequest.prototype.setBiddingDate = function(value) {
1703
+ return jspb.Message.setProto3StringField(this, 26, value);
1704
+ };
1705
+
1706
+
1707
+ /**
1708
+ * optional string bidding_start_date = 27;
1709
+ * @return {string}
1710
+ */
1711
+ proto.BaseQuotationRequest.prototype.getBiddingStartDate = function() {
1712
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
1713
+ };
1714
+
1715
+
1716
+ /**
1717
+ * @param {string} value
1718
+ * @return {!proto.BaseQuotationRequest} returns this
1719
+ */
1720
+ proto.BaseQuotationRequest.prototype.setBiddingStartDate = function(value) {
1721
+ return jspb.Message.setProto3StringField(this, 27, value);
1722
+ };
1723
+
1724
+
1725
+ /**
1726
+ * optional string request_for_quotation_method = 28;
1727
+ * @return {string}
1728
+ */
1729
+ proto.BaseQuotationRequest.prototype.getRequestForQuotationMethod = function() {
1730
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
1731
+ };
1732
+
1733
+
1734
+ /**
1735
+ * @param {string} value
1736
+ * @return {!proto.BaseQuotationRequest} returns this
1737
+ */
1738
+ proto.BaseQuotationRequest.prototype.setRequestForQuotationMethod = function(value) {
1739
+ return jspb.Message.setProto3StringField(this, 28, value);
1740
+ };
1741
+
1742
+
1743
+ /**
1744
+ * optional string max_submission_date = 29;
1745
+ * @return {string}
1746
+ */
1747
+ proto.BaseQuotationRequest.prototype.getMaxSubmissionDate = function() {
1748
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
1749
+ };
1750
+
1751
+
1752
+ /**
1753
+ * @param {string} value
1754
+ * @return {!proto.BaseQuotationRequest} returns this
1755
+ */
1756
+ proto.BaseQuotationRequest.prototype.setMaxSubmissionDate = function(value) {
1757
+ return jspb.Message.setProto3StringField(this, 29, value);
1758
+ };
1759
+
1760
+
1551
1761
 
1552
1762
 
1553
1763
 
@@ -2233,7 +2443,7 @@ proto.SetItemQuotation.toObject = function(includeInstance, msg) {
2233
2443
  referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2234
2444
  detailDescription: jspb.Message.getFieldWithDefault(msg, 2, ""),
2235
2445
  replacement: jspb.Message.getFieldWithDefault(msg, 3, ""),
2236
- quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
2446
+ quantity: jspb.Message.getFieldWithDefault(msg, 4, ""),
2237
2447
  deliveryDate: jspb.Message.getFieldWithDefault(msg, 5, ""),
2238
2448
  itemTransactionPriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionPriceConditionList(),
2239
2449
  prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition.toObject, includeInstance)
@@ -2286,7 +2496,7 @@ proto.SetItemQuotation.deserializeBinaryFromReader = function(msg, reader) {
2286
2496
  msg.setReplacement(value);
2287
2497
  break;
2288
2498
  case 4:
2289
- var value = /** @type {number} */ (reader.readFloat());
2499
+ var value = /** @type {string} */ (reader.readString());
2290
2500
  msg.setQuantity(value);
2291
2501
  break;
2292
2502
  case 5:
@@ -2349,8 +2559,8 @@ proto.SetItemQuotation.serializeBinaryToWriter = function(message, writer) {
2349
2559
  );
2350
2560
  }
2351
2561
  f = message.getQuantity();
2352
- if (f !== 0.0) {
2353
- writer.writeFloat(
2562
+ if (f.length > 0) {
2563
+ writer.writeString(
2354
2564
  4,
2355
2565
  f
2356
2566
  );
@@ -2428,20 +2638,20 @@ proto.SetItemQuotation.prototype.setReplacement = function(value) {
2428
2638
 
2429
2639
 
2430
2640
  /**
2431
- * optional float quantity = 4;
2432
- * @return {number}
2641
+ * optional string quantity = 4;
2642
+ * @return {string}
2433
2643
  */
2434
2644
  proto.SetItemQuotation.prototype.getQuantity = function() {
2435
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
2645
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2436
2646
  };
2437
2647
 
2438
2648
 
2439
2649
  /**
2440
- * @param {number} value
2650
+ * @param {string} value
2441
2651
  * @return {!proto.SetItemQuotation} returns this
2442
2652
  */
2443
2653
  proto.SetItemQuotation.prototype.setQuantity = function(value) {
2444
- return jspb.Message.setProto3FloatField(this, 4, value);
2654
+ return jspb.Message.setProto3StringField(this, 4, value);
2445
2655
  };
2446
2656
 
2447
2657
 
@@ -3091,17 +3301,17 @@ proto.GetQuotationDetailResponse.serializeBinaryToWriter = function(message, wri
3091
3301
 
3092
3302
 
3093
3303
  /**
3094
- * repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
3095
- * @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>}
3304
+ * repeated TransactionBuilderFieldsDetail transaction_builder = 1;
3305
+ * @return {!Array<!proto.TransactionBuilderFieldsDetail>}
3096
3306
  */
3097
3307
  proto.GetQuotationDetailResponse.prototype.getTransactionBuilderList = function() {
3098
- return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} */ (
3308
+ return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
3099
3309
  jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
3100
3310
  };
3101
3311
 
3102
3312
 
3103
3313
  /**
3104
- * @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} value
3314
+ * @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
3105
3315
  * @return {!proto.GetQuotationDetailResponse} returns this
3106
3316
  */
3107
3317
  proto.GetQuotationDetailResponse.prototype.setTransactionBuilderList = function(value) {
@@ -3110,12 +3320,12 @@ proto.GetQuotationDetailResponse.prototype.setTransactionBuilderList = function(
3110
3320
 
3111
3321
 
3112
3322
  /**
3113
- * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail=} opt_value
3323
+ * @param {!proto.TransactionBuilderFieldsDetail=} opt_value
3114
3324
  * @param {number=} opt_index
3115
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
3325
+ * @return {!proto.TransactionBuilderFieldsDetail}
3116
3326
  */
3117
3327
  proto.GetQuotationDetailResponse.prototype.addTransactionBuilder = function(opt_value, opt_index) {
3118
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
3328
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
3119
3329
  };
3120
3330
 
3121
3331