@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
@@ -31,6 +31,8 @@ var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../pris
31
31
  goog.object.extend(proto, prisca_v1_core_item_transaction_item_transaction_pb);
32
32
  var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
33
33
  goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
34
+ var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
35
+ goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
34
36
  goog.exportSymbol('proto.Creator', null, global);
35
37
  goog.exportSymbol('proto.GetByIdRFQ', null, global);
36
38
  goog.exportSymbol('proto.GetByIdRFQResponse', null, global);
@@ -593,7 +595,7 @@ proto.UpdateRequestForQuotationStatusReq.prototype.setReferencesId = function(va
593
595
  * @private {!Array<number>}
594
596
  * @const
595
597
  */
596
- proto.RequestForQuotation.repeatedFields_ = [16,17];
598
+ proto.RequestForQuotation.repeatedFields_ = [16,17,27];
597
599
 
598
600
 
599
601
 
@@ -653,7 +655,13 @@ createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_e
653
655
  updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
654
656
  customTransaction: jspb.Message.getFieldWithDefault(msg, 24, ""),
655
657
  department: jspb.Message.getFieldWithDefault(msg, 25, ""),
656
- plant: jspb.Message.getFieldWithDefault(msg, 26, "")
658
+ plant: jspb.Message.getFieldWithDefault(msg, 26, ""),
659
+ filesList: jspb.Message.toObjectList(msg.getFilesList(),
660
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
661
+ notesForVendor: jspb.Message.getFieldWithDefault(msg, 28, ""),
662
+ groupReferences: jspb.Message.getFieldWithDefault(msg, 29, ""),
663
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 30, ""),
664
+ isBiddingGenerated: jspb.Message.getBooleanFieldWithDefault(msg, 31, false)
657
665
  };
658
666
 
659
667
  if (includeInstance) {
@@ -798,6 +806,27 @@ proto.RequestForQuotation.deserializeBinaryFromReader = function(msg, reader) {
798
806
  var value = /** @type {string} */ (reader.readString());
799
807
  msg.setPlant(value);
800
808
  break;
809
+ case 27:
810
+ var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
811
+ reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
812
+ msg.addFiles(value);
813
+ break;
814
+ case 28:
815
+ var value = /** @type {string} */ (reader.readString());
816
+ msg.setNotesForVendor(value);
817
+ break;
818
+ case 29:
819
+ var value = /** @type {string} */ (reader.readString());
820
+ msg.setGroupReferences(value);
821
+ break;
822
+ case 30:
823
+ var value = /** @type {string} */ (reader.readString());
824
+ msg.setCompaniesReferencesId(value);
825
+ break;
826
+ case 31:
827
+ var value = /** @type {boolean} */ (reader.readBool());
828
+ msg.setIsBiddingGenerated(value);
829
+ break;
801
830
  default:
802
831
  reader.skipField();
803
832
  break;
@@ -1013,6 +1042,42 @@ proto.RequestForQuotation.serializeBinaryToWriter = function(message, writer) {
1013
1042
  f
1014
1043
  );
1015
1044
  }
1045
+ f = message.getFilesList();
1046
+ if (f.length > 0) {
1047
+ writer.writeRepeatedMessage(
1048
+ 27,
1049
+ f,
1050
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
1051
+ );
1052
+ }
1053
+ f = message.getNotesForVendor();
1054
+ if (f.length > 0) {
1055
+ writer.writeString(
1056
+ 28,
1057
+ f
1058
+ );
1059
+ }
1060
+ f = message.getGroupReferences();
1061
+ if (f.length > 0) {
1062
+ writer.writeString(
1063
+ 29,
1064
+ f
1065
+ );
1066
+ }
1067
+ f = message.getCompaniesReferencesId();
1068
+ if (f.length > 0) {
1069
+ writer.writeString(
1070
+ 30,
1071
+ f
1072
+ );
1073
+ }
1074
+ f = message.getIsBiddingGenerated();
1075
+ if (f) {
1076
+ writer.writeBool(
1077
+ 31,
1078
+ f
1079
+ );
1080
+ }
1016
1081
  };
1017
1082
 
1018
1083
 
@@ -1562,6 +1627,116 @@ proto.RequestForQuotation.prototype.setPlant = function(value) {
1562
1627
  };
1563
1628
 
1564
1629
 
1630
+ /**
1631
+ * repeated FileUploadReferencesReq files = 27;
1632
+ * @return {!Array<!proto.FileUploadReferencesReq>}
1633
+ */
1634
+ proto.RequestForQuotation.prototype.getFilesList = function() {
1635
+ return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
1636
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 27));
1637
+ };
1638
+
1639
+
1640
+ /**
1641
+ * @param {!Array<!proto.FileUploadReferencesReq>} value
1642
+ * @return {!proto.RequestForQuotation} returns this
1643
+ */
1644
+ proto.RequestForQuotation.prototype.setFilesList = function(value) {
1645
+ return jspb.Message.setRepeatedWrapperField(this, 27, value);
1646
+ };
1647
+
1648
+
1649
+ /**
1650
+ * @param {!proto.FileUploadReferencesReq=} opt_value
1651
+ * @param {number=} opt_index
1652
+ * @return {!proto.FileUploadReferencesReq}
1653
+ */
1654
+ proto.RequestForQuotation.prototype.addFiles = function(opt_value, opt_index) {
1655
+ return jspb.Message.addToRepeatedWrapperField(this, 27, opt_value, proto.FileUploadReferencesReq, opt_index);
1656
+ };
1657
+
1658
+
1659
+ /**
1660
+ * Clears the list making it empty but non-null.
1661
+ * @return {!proto.RequestForQuotation} returns this
1662
+ */
1663
+ proto.RequestForQuotation.prototype.clearFilesList = function() {
1664
+ return this.setFilesList([]);
1665
+ };
1666
+
1667
+
1668
+ /**
1669
+ * optional string notes_for_vendor = 28;
1670
+ * @return {string}
1671
+ */
1672
+ proto.RequestForQuotation.prototype.getNotesForVendor = function() {
1673
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
1674
+ };
1675
+
1676
+
1677
+ /**
1678
+ * @param {string} value
1679
+ * @return {!proto.RequestForQuotation} returns this
1680
+ */
1681
+ proto.RequestForQuotation.prototype.setNotesForVendor = function(value) {
1682
+ return jspb.Message.setProto3StringField(this, 28, value);
1683
+ };
1684
+
1685
+
1686
+ /**
1687
+ * optional string group_references = 29;
1688
+ * @return {string}
1689
+ */
1690
+ proto.RequestForQuotation.prototype.getGroupReferences = function() {
1691
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
1692
+ };
1693
+
1694
+
1695
+ /**
1696
+ * @param {string} value
1697
+ * @return {!proto.RequestForQuotation} returns this
1698
+ */
1699
+ proto.RequestForQuotation.prototype.setGroupReferences = function(value) {
1700
+ return jspb.Message.setProto3StringField(this, 29, value);
1701
+ };
1702
+
1703
+
1704
+ /**
1705
+ * optional string companies_references_id = 30;
1706
+ * @return {string}
1707
+ */
1708
+ proto.RequestForQuotation.prototype.getCompaniesReferencesId = function() {
1709
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
1710
+ };
1711
+
1712
+
1713
+ /**
1714
+ * @param {string} value
1715
+ * @return {!proto.RequestForQuotation} returns this
1716
+ */
1717
+ proto.RequestForQuotation.prototype.setCompaniesReferencesId = function(value) {
1718
+ return jspb.Message.setProto3StringField(this, 30, value);
1719
+ };
1720
+
1721
+
1722
+ /**
1723
+ * optional bool is_bidding_generated = 31;
1724
+ * @return {boolean}
1725
+ */
1726
+ proto.RequestForQuotation.prototype.getIsBiddingGenerated = function() {
1727
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 31, false));
1728
+ };
1729
+
1730
+
1731
+ /**
1732
+ * @param {boolean} value
1733
+ * @return {!proto.RequestForQuotation} returns this
1734
+ */
1735
+ proto.RequestForQuotation.prototype.setIsBiddingGenerated = function(value) {
1736
+ return jspb.Message.setProto3BooleanField(this, 31, value);
1737
+ };
1738
+
1739
+
1565
1740
 
1566
1741
 
1567
1742
 
@@ -2754,7 +2929,7 @@ proto.RequestForQuotationVendor.prototype.hasVendor = function() {
2754
2929
  * @private {!Array<number>}
2755
2930
  * @const
2756
2931
  */
2757
- proto.RequestRFQ.repeatedFields_ = [12,13];
2932
+ proto.RequestRFQ.repeatedFields_ = [12,13,19];
2758
2933
 
2759
2934
 
2760
2935
 
@@ -2806,7 +2981,10 @@ termOfPayment: jspb.Message.getFieldWithDefault(msg, 14, ""),
2806
2981
  status: jspb.Message.getFieldWithDefault(msg, 15, ""),
2807
2982
  title: jspb.Message.getFieldWithDefault(msg, 16, ""),
2808
2983
  customTransaction: jspb.Message.getFieldWithDefault(msg, 17, ""),
2809
- plant: jspb.Message.getFieldWithDefault(msg, 18, "")
2984
+ plant: jspb.Message.getFieldWithDefault(msg, 18, ""),
2985
+ filesList: jspb.Message.toObjectList(msg.getFilesList(),
2986
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
2987
+ notesForVendor: jspb.Message.getFieldWithDefault(msg, 20, "")
2810
2988
  };
2811
2989
 
2812
2990
  if (includeInstance) {
@@ -2917,6 +3095,15 @@ proto.RequestRFQ.deserializeBinaryFromReader = function(msg, reader) {
2917
3095
  var value = /** @type {string} */ (reader.readString());
2918
3096
  msg.setPlant(value);
2919
3097
  break;
3098
+ case 19:
3099
+ var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
3100
+ reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
3101
+ msg.addFiles(value);
3102
+ break;
3103
+ case 20:
3104
+ var value = /** @type {string} */ (reader.readString());
3105
+ msg.setNotesForVendor(value);
3106
+ break;
2920
3107
  default:
2921
3108
  reader.skipField();
2922
3109
  break;
@@ -3074,6 +3261,21 @@ proto.RequestRFQ.serializeBinaryToWriter = function(message, writer) {
3074
3261
  f
3075
3262
  );
3076
3263
  }
3264
+ f = message.getFilesList();
3265
+ if (f.length > 0) {
3266
+ writer.writeRepeatedMessage(
3267
+ 19,
3268
+ f,
3269
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
3270
+ );
3271
+ }
3272
+ f = message.getNotesForVendor();
3273
+ if (f.length > 0) {
3274
+ writer.writeString(
3275
+ 20,
3276
+ f
3277
+ );
3278
+ }
3077
3279
  };
3078
3280
 
3079
3281
 
@@ -3441,6 +3643,62 @@ proto.RequestRFQ.prototype.setPlant = function(value) {
3441
3643
  };
3442
3644
 
3443
3645
 
3646
+ /**
3647
+ * repeated FileUploadReferencesReq files = 19;
3648
+ * @return {!Array<!proto.FileUploadReferencesReq>}
3649
+ */
3650
+ proto.RequestRFQ.prototype.getFilesList = function() {
3651
+ return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
3652
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 19));
3653
+ };
3654
+
3655
+
3656
+ /**
3657
+ * @param {!Array<!proto.FileUploadReferencesReq>} value
3658
+ * @return {!proto.RequestRFQ} returns this
3659
+ */
3660
+ proto.RequestRFQ.prototype.setFilesList = function(value) {
3661
+ return jspb.Message.setRepeatedWrapperField(this, 19, value);
3662
+ };
3663
+
3664
+
3665
+ /**
3666
+ * @param {!proto.FileUploadReferencesReq=} opt_value
3667
+ * @param {number=} opt_index
3668
+ * @return {!proto.FileUploadReferencesReq}
3669
+ */
3670
+ proto.RequestRFQ.prototype.addFiles = function(opt_value, opt_index) {
3671
+ return jspb.Message.addToRepeatedWrapperField(this, 19, opt_value, proto.FileUploadReferencesReq, opt_index);
3672
+ };
3673
+
3674
+
3675
+ /**
3676
+ * Clears the list making it empty but non-null.
3677
+ * @return {!proto.RequestRFQ} returns this
3678
+ */
3679
+ proto.RequestRFQ.prototype.clearFilesList = function() {
3680
+ return this.setFilesList([]);
3681
+ };
3682
+
3683
+
3684
+ /**
3685
+ * optional string notes_for_vendor = 20;
3686
+ * @return {string}
3687
+ */
3688
+ proto.RequestRFQ.prototype.getNotesForVendor = function() {
3689
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
3690
+ };
3691
+
3692
+
3693
+ /**
3694
+ * @param {string} value
3695
+ * @return {!proto.RequestRFQ} returns this
3696
+ */
3697
+ proto.RequestRFQ.prototype.setNotesForVendor = function(value) {
3698
+ return jspb.Message.setProto3StringField(this, 20, value);
3699
+ };
3700
+
3701
+
3444
3702
 
3445
3703
 
3446
3704
 
@@ -0,0 +1,365 @@
1
+ // GENERATED CODE -- DO NOT EDIT!
2
+
3
+ 'use strict';
4
+ var grpc = require('@grpc/grpc-js');
5
+ var prisca_v1_valuation_valuation_pb = require('../../../prisca/v1/valuation/valuation_pb.js');
6
+ var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
7
+ var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
8
+
9
+ function serialize_CreateValuationDefaultRequest(arg) {
10
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.CreateValuationDefaultRequest)) {
11
+ throw new Error('Expected argument of type CreateValuationDefaultRequest');
12
+ }
13
+ return Buffer.from(arg.serializeBinary());
14
+ }
15
+
16
+ function deserialize_CreateValuationDefaultRequest(buffer_arg) {
17
+ return prisca_v1_valuation_valuation_pb.CreateValuationDefaultRequest.deserializeBinary(new Uint8Array(buffer_arg));
18
+ }
19
+
20
+ function serialize_CreateValuationIndicatorRequest(arg) {
21
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.CreateValuationIndicatorRequest)) {
22
+ throw new Error('Expected argument of type CreateValuationIndicatorRequest');
23
+ }
24
+ return Buffer.from(arg.serializeBinary());
25
+ }
26
+
27
+ function deserialize_CreateValuationIndicatorRequest(buffer_arg) {
28
+ return prisca_v1_valuation_valuation_pb.CreateValuationIndicatorRequest.deserializeBinary(new Uint8Array(buffer_arg));
29
+ }
30
+
31
+ function serialize_CreateValuationIndicatorResponse(arg) {
32
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.CreateValuationIndicatorResponse)) {
33
+ throw new Error('Expected argument of type CreateValuationIndicatorResponse');
34
+ }
35
+ return Buffer.from(arg.serializeBinary());
36
+ }
37
+
38
+ function deserialize_CreateValuationIndicatorResponse(buffer_arg) {
39
+ return prisca_v1_valuation_valuation_pb.CreateValuationIndicatorResponse.deserializeBinary(new Uint8Array(buffer_arg));
40
+ }
41
+
42
+ function serialize_CreateValuationScaleRequest(arg) {
43
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.CreateValuationScaleRequest)) {
44
+ throw new Error('Expected argument of type CreateValuationScaleRequest');
45
+ }
46
+ return Buffer.from(arg.serializeBinary());
47
+ }
48
+
49
+ function deserialize_CreateValuationScaleRequest(buffer_arg) {
50
+ return prisca_v1_valuation_valuation_pb.CreateValuationScaleRequest.deserializeBinary(new Uint8Array(buffer_arg));
51
+ }
52
+
53
+ function serialize_CreateValuationScaleResponse(arg) {
54
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.CreateValuationScaleResponse)) {
55
+ throw new Error('Expected argument of type CreateValuationScaleResponse');
56
+ }
57
+ return Buffer.from(arg.serializeBinary());
58
+ }
59
+
60
+ function deserialize_CreateValuationScaleResponse(buffer_arg) {
61
+ return prisca_v1_valuation_valuation_pb.CreateValuationScaleResponse.deserializeBinary(new Uint8Array(buffer_arg));
62
+ }
63
+
64
+ function serialize_DeleteValuationIndicatorRequest(arg) {
65
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.DeleteValuationIndicatorRequest)) {
66
+ throw new Error('Expected argument of type DeleteValuationIndicatorRequest');
67
+ }
68
+ return Buffer.from(arg.serializeBinary());
69
+ }
70
+
71
+ function deserialize_DeleteValuationIndicatorRequest(buffer_arg) {
72
+ return prisca_v1_valuation_valuation_pb.DeleteValuationIndicatorRequest.deserializeBinary(new Uint8Array(buffer_arg));
73
+ }
74
+
75
+ function serialize_DeleteValuationIndicatorResponse(arg) {
76
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.DeleteValuationIndicatorResponse)) {
77
+ throw new Error('Expected argument of type DeleteValuationIndicatorResponse');
78
+ }
79
+ return Buffer.from(arg.serializeBinary());
80
+ }
81
+
82
+ function deserialize_DeleteValuationIndicatorResponse(buffer_arg) {
83
+ return prisca_v1_valuation_valuation_pb.DeleteValuationIndicatorResponse.deserializeBinary(new Uint8Array(buffer_arg));
84
+ }
85
+
86
+ function serialize_DeleteValuationScaleRequest(arg) {
87
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.DeleteValuationScaleRequest)) {
88
+ throw new Error('Expected argument of type DeleteValuationScaleRequest');
89
+ }
90
+ return Buffer.from(arg.serializeBinary());
91
+ }
92
+
93
+ function deserialize_DeleteValuationScaleRequest(buffer_arg) {
94
+ return prisca_v1_valuation_valuation_pb.DeleteValuationScaleRequest.deserializeBinary(new Uint8Array(buffer_arg));
95
+ }
96
+
97
+ function serialize_DeleteValuationScaleResponse(arg) {
98
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.DeleteValuationScaleResponse)) {
99
+ throw new Error('Expected argument of type DeleteValuationScaleResponse');
100
+ }
101
+ return Buffer.from(arg.serializeBinary());
102
+ }
103
+
104
+ function deserialize_DeleteValuationScaleResponse(buffer_arg) {
105
+ return prisca_v1_valuation_valuation_pb.DeleteValuationScaleResponse.deserializeBinary(new Uint8Array(buffer_arg));
106
+ }
107
+
108
+ function serialize_GetListValuationIndicatorRequest(arg) {
109
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.GetListValuationIndicatorRequest)) {
110
+ throw new Error('Expected argument of type GetListValuationIndicatorRequest');
111
+ }
112
+ return Buffer.from(arg.serializeBinary());
113
+ }
114
+
115
+ function deserialize_GetListValuationIndicatorRequest(buffer_arg) {
116
+ return prisca_v1_valuation_valuation_pb.GetListValuationIndicatorRequest.deserializeBinary(new Uint8Array(buffer_arg));
117
+ }
118
+
119
+ function serialize_GetListValuationIndicatorResponse(arg) {
120
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.GetListValuationIndicatorResponse)) {
121
+ throw new Error('Expected argument of type GetListValuationIndicatorResponse');
122
+ }
123
+ return Buffer.from(arg.serializeBinary());
124
+ }
125
+
126
+ function deserialize_GetListValuationIndicatorResponse(buffer_arg) {
127
+ return prisca_v1_valuation_valuation_pb.GetListValuationIndicatorResponse.deserializeBinary(new Uint8Array(buffer_arg));
128
+ }
129
+
130
+ function serialize_GetListValuationRequest(arg) {
131
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.GetListValuationRequest)) {
132
+ throw new Error('Expected argument of type GetListValuationRequest');
133
+ }
134
+ return Buffer.from(arg.serializeBinary());
135
+ }
136
+
137
+ function deserialize_GetListValuationRequest(buffer_arg) {
138
+ return prisca_v1_valuation_valuation_pb.GetListValuationRequest.deserializeBinary(new Uint8Array(buffer_arg));
139
+ }
140
+
141
+ function serialize_GetListValuationScaleRequest(arg) {
142
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.GetListValuationScaleRequest)) {
143
+ throw new Error('Expected argument of type GetListValuationScaleRequest');
144
+ }
145
+ return Buffer.from(arg.serializeBinary());
146
+ }
147
+
148
+ function deserialize_GetListValuationScaleRequest(buffer_arg) {
149
+ return prisca_v1_valuation_valuation_pb.GetListValuationScaleRequest.deserializeBinary(new Uint8Array(buffer_arg));
150
+ }
151
+
152
+ function serialize_GetListValuationScaleResponse(arg) {
153
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.GetListValuationScaleResponse)) {
154
+ throw new Error('Expected argument of type GetListValuationScaleResponse');
155
+ }
156
+ return Buffer.from(arg.serializeBinary());
157
+ }
158
+
159
+ function deserialize_GetListValuationScaleResponse(buffer_arg) {
160
+ return prisca_v1_valuation_valuation_pb.GetListValuationScaleResponse.deserializeBinary(new Uint8Array(buffer_arg));
161
+ }
162
+
163
+ function serialize_UpdateValuationIndicatorRequest(arg) {
164
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.UpdateValuationIndicatorRequest)) {
165
+ throw new Error('Expected argument of type UpdateValuationIndicatorRequest');
166
+ }
167
+ return Buffer.from(arg.serializeBinary());
168
+ }
169
+
170
+ function deserialize_UpdateValuationIndicatorRequest(buffer_arg) {
171
+ return prisca_v1_valuation_valuation_pb.UpdateValuationIndicatorRequest.deserializeBinary(new Uint8Array(buffer_arg));
172
+ }
173
+
174
+ function serialize_UpdateValuationIndicatorResponse(arg) {
175
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.UpdateValuationIndicatorResponse)) {
176
+ throw new Error('Expected argument of type UpdateValuationIndicatorResponse');
177
+ }
178
+ return Buffer.from(arg.serializeBinary());
179
+ }
180
+
181
+ function deserialize_UpdateValuationIndicatorResponse(buffer_arg) {
182
+ return prisca_v1_valuation_valuation_pb.UpdateValuationIndicatorResponse.deserializeBinary(new Uint8Array(buffer_arg));
183
+ }
184
+
185
+ function serialize_UpdateValuationScaleRequest(arg) {
186
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.UpdateValuationScaleRequest)) {
187
+ throw new Error('Expected argument of type UpdateValuationScaleRequest');
188
+ }
189
+ return Buffer.from(arg.serializeBinary());
190
+ }
191
+
192
+ function deserialize_UpdateValuationScaleRequest(buffer_arg) {
193
+ return prisca_v1_valuation_valuation_pb.UpdateValuationScaleRequest.deserializeBinary(new Uint8Array(buffer_arg));
194
+ }
195
+
196
+ function serialize_UpdateValuationScaleResponse(arg) {
197
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.UpdateValuationScaleResponse)) {
198
+ throw new Error('Expected argument of type UpdateValuationScaleResponse');
199
+ }
200
+ return Buffer.from(arg.serializeBinary());
201
+ }
202
+
203
+ function deserialize_UpdateValuationScaleResponse(buffer_arg) {
204
+ return prisca_v1_valuation_valuation_pb.UpdateValuationScaleResponse.deserializeBinary(new Uint8Array(buffer_arg));
205
+ }
206
+
207
+ function serialize_ValuationBuilderResponse(arg) {
208
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.ValuationBuilderResponse)) {
209
+ throw new Error('Expected argument of type ValuationBuilderResponse');
210
+ }
211
+ return Buffer.from(arg.serializeBinary());
212
+ }
213
+
214
+ function deserialize_ValuationBuilderResponse(buffer_arg) {
215
+ return prisca_v1_valuation_valuation_pb.ValuationBuilderResponse.deserializeBinary(new Uint8Array(buffer_arg));
216
+ }
217
+
218
+ function serialize_ValuationUpdateRequest(arg) {
219
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.ValuationUpdateRequest)) {
220
+ throw new Error('Expected argument of type ValuationUpdateRequest');
221
+ }
222
+ return Buffer.from(arg.serializeBinary());
223
+ }
224
+
225
+ function deserialize_ValuationUpdateRequest(buffer_arg) {
226
+ return prisca_v1_valuation_valuation_pb.ValuationUpdateRequest.deserializeBinary(new Uint8Array(buffer_arg));
227
+ }
228
+
229
+ function serialize_ValuationUpdateResponse(arg) {
230
+ if (!(arg instanceof prisca_v1_valuation_valuation_pb.ValuationUpdateResponse)) {
231
+ throw new Error('Expected argument of type ValuationUpdateResponse');
232
+ }
233
+ return Buffer.from(arg.serializeBinary());
234
+ }
235
+
236
+ function deserialize_ValuationUpdateResponse(buffer_arg) {
237
+ return prisca_v1_valuation_valuation_pb.ValuationUpdateResponse.deserializeBinary(new Uint8Array(buffer_arg));
238
+ }
239
+
240
+
241
+ var ValuationServiceService = exports.ValuationServiceService = {
242
+ createValuationIndicator: {
243
+ path: '/ValuationService/CreateValuationIndicator',
244
+ requestStream: false,
245
+ responseStream: false,
246
+ requestType: prisca_v1_valuation_valuation_pb.CreateValuationIndicatorRequest,
247
+ responseType: prisca_v1_valuation_valuation_pb.CreateValuationIndicatorResponse,
248
+ requestSerialize: serialize_CreateValuationIndicatorRequest,
249
+ requestDeserialize: deserialize_CreateValuationIndicatorRequest,
250
+ responseSerialize: serialize_CreateValuationIndicatorResponse,
251
+ responseDeserialize: deserialize_CreateValuationIndicatorResponse,
252
+ },
253
+ updateValuationIndicator: {
254
+ path: '/ValuationService/UpdateValuationIndicator',
255
+ requestStream: false,
256
+ responseStream: false,
257
+ requestType: prisca_v1_valuation_valuation_pb.UpdateValuationIndicatorRequest,
258
+ responseType: prisca_v1_valuation_valuation_pb.UpdateValuationIndicatorResponse,
259
+ requestSerialize: serialize_UpdateValuationIndicatorRequest,
260
+ requestDeserialize: deserialize_UpdateValuationIndicatorRequest,
261
+ responseSerialize: serialize_UpdateValuationIndicatorResponse,
262
+ responseDeserialize: deserialize_UpdateValuationIndicatorResponse,
263
+ },
264
+ deleteValuationIndicator: {
265
+ path: '/ValuationService/DeleteValuationIndicator',
266
+ requestStream: false,
267
+ responseStream: false,
268
+ requestType: prisca_v1_valuation_valuation_pb.DeleteValuationIndicatorRequest,
269
+ responseType: prisca_v1_valuation_valuation_pb.DeleteValuationIndicatorResponse,
270
+ requestSerialize: serialize_DeleteValuationIndicatorRequest,
271
+ requestDeserialize: deserialize_DeleteValuationIndicatorRequest,
272
+ responseSerialize: serialize_DeleteValuationIndicatorResponse,
273
+ responseDeserialize: deserialize_DeleteValuationIndicatorResponse,
274
+ },
275
+ getListValuationIndicators: {
276
+ path: '/ValuationService/GetListValuationIndicators',
277
+ requestStream: false,
278
+ responseStream: false,
279
+ requestType: prisca_v1_valuation_valuation_pb.GetListValuationIndicatorRequest,
280
+ responseType: prisca_v1_valuation_valuation_pb.GetListValuationIndicatorResponse,
281
+ requestSerialize: serialize_GetListValuationIndicatorRequest,
282
+ requestDeserialize: deserialize_GetListValuationIndicatorRequest,
283
+ responseSerialize: serialize_GetListValuationIndicatorResponse,
284
+ responseDeserialize: deserialize_GetListValuationIndicatorResponse,
285
+ },
286
+ createValuationScale: {
287
+ path: '/ValuationService/CreateValuationScale',
288
+ requestStream: false,
289
+ responseStream: false,
290
+ requestType: prisca_v1_valuation_valuation_pb.CreateValuationScaleRequest,
291
+ responseType: prisca_v1_valuation_valuation_pb.CreateValuationScaleResponse,
292
+ requestSerialize: serialize_CreateValuationScaleRequest,
293
+ requestDeserialize: deserialize_CreateValuationScaleRequest,
294
+ responseSerialize: serialize_CreateValuationScaleResponse,
295
+ responseDeserialize: deserialize_CreateValuationScaleResponse,
296
+ },
297
+ updateValuationScale: {
298
+ path: '/ValuationService/UpdateValuationScale',
299
+ requestStream: false,
300
+ responseStream: false,
301
+ requestType: prisca_v1_valuation_valuation_pb.UpdateValuationScaleRequest,
302
+ responseType: prisca_v1_valuation_valuation_pb.UpdateValuationScaleResponse,
303
+ requestSerialize: serialize_UpdateValuationScaleRequest,
304
+ requestDeserialize: deserialize_UpdateValuationScaleRequest,
305
+ responseSerialize: serialize_UpdateValuationScaleResponse,
306
+ responseDeserialize: deserialize_UpdateValuationScaleResponse,
307
+ },
308
+ deleteValuationScale: {
309
+ path: '/ValuationService/DeleteValuationScale',
310
+ requestStream: false,
311
+ responseStream: false,
312
+ requestType: prisca_v1_valuation_valuation_pb.DeleteValuationScaleRequest,
313
+ responseType: prisca_v1_valuation_valuation_pb.DeleteValuationScaleResponse,
314
+ requestSerialize: serialize_DeleteValuationScaleRequest,
315
+ requestDeserialize: deserialize_DeleteValuationScaleRequest,
316
+ responseSerialize: serialize_DeleteValuationScaleResponse,
317
+ responseDeserialize: deserialize_DeleteValuationScaleResponse,
318
+ },
319
+ getListValuationScales: {
320
+ path: '/ValuationService/GetListValuationScales',
321
+ requestStream: false,
322
+ responseStream: false,
323
+ requestType: prisca_v1_valuation_valuation_pb.GetListValuationScaleRequest,
324
+ responseType: prisca_v1_valuation_valuation_pb.GetListValuationScaleResponse,
325
+ requestSerialize: serialize_GetListValuationScaleRequest,
326
+ requestDeserialize: deserialize_GetListValuationScaleRequest,
327
+ responseSerialize: serialize_GetListValuationScaleResponse,
328
+ responseDeserialize: deserialize_GetListValuationScaleResponse,
329
+ },
330
+ createValuationDefault: {
331
+ path: '/ValuationService/CreateValuationDefault',
332
+ requestStream: false,
333
+ responseStream: false,
334
+ requestType: prisca_v1_valuation_valuation_pb.CreateValuationDefaultRequest,
335
+ responseType: prisca_v1_valuation_valuation_pb.ValuationUpdateResponse,
336
+ requestSerialize: serialize_CreateValuationDefaultRequest,
337
+ requestDeserialize: deserialize_CreateValuationDefaultRequest,
338
+ responseSerialize: serialize_ValuationUpdateResponse,
339
+ responseDeserialize: deserialize_ValuationUpdateResponse,
340
+ },
341
+ findValuationBuilder: {
342
+ path: '/ValuationService/FindValuationBuilder',
343
+ requestStream: false,
344
+ responseStream: false,
345
+ requestType: prisca_v1_valuation_valuation_pb.GetListValuationRequest,
346
+ responseType: prisca_v1_valuation_valuation_pb.ValuationBuilderResponse,
347
+ requestSerialize: serialize_GetListValuationRequest,
348
+ requestDeserialize: deserialize_GetListValuationRequest,
349
+ responseSerialize: serialize_ValuationBuilderResponse,
350
+ responseDeserialize: deserialize_ValuationBuilderResponse,
351
+ },
352
+ setValuation: {
353
+ path: '/ValuationService/SetValuation',
354
+ requestStream: false,
355
+ responseStream: false,
356
+ requestType: prisca_v1_valuation_valuation_pb.ValuationUpdateRequest,
357
+ responseType: prisca_v1_valuation_valuation_pb.ValuationUpdateResponse,
358
+ requestSerialize: serialize_ValuationUpdateRequest,
359
+ requestDeserialize: deserialize_ValuationUpdateRequest,
360
+ responseSerialize: serialize_ValuationUpdateResponse,
361
+ responseDeserialize: deserialize_ValuationUpdateResponse,
362
+ },
363
+ };
364
+
365
+ exports.ValuationServiceClient = grpc.makeGenericClientConstructor(ValuationServiceService, 'ValuationService');