@aldiokta/protocgen 1.1.21 → 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.
- package/package.json +1 -1
- package/prisca/v1/bidding/bidding_grpc_pb.js +33 -0
- package/prisca/v1/bidding/bidding_pb.js +613 -4
- package/prisca/v1/core/company/company_pb.js +77 -25
- package/prisca/v1/core/employee/employee_pb.js +74 -22
- package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +33 -0
- package/prisca/v1/core/incoterm/incoterm_pb.js +407 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +274 -4
- package/prisca/v1/core/job_grade/job_grade_pb.js +80 -28
- package/prisca/v1/core/job_position/job_position_pb.js +74 -22
- package/prisca/v1/core/job_title/job_title_pb.js +80 -28
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +61 -1
- package/prisca/v1/core/material/material_pb.js +74 -22
- package/prisca/v1/core/material_group/material_group_pb.js +77 -25
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +33 -0
- package/prisca/v1/core/material_type/material_type_pb.js +407 -0
- package/prisca/v1/core/number_range/number_range_pb.js +74 -22
- package/prisca/v1/core/organization/organization_pb.js +80 -28
- package/prisca/v1/core/organization_level/organization_level_pb.js +80 -28
- package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +33 -0
- package/prisca/v1/core/price_condition/price_condition_pb.js +407 -0
- package/prisca/v1/core/tax_code/tax_code_pb.js +152 -2
- package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +33 -0
- package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +407 -0
- package/prisca/v1/core/users/users_grpc_pb.js +33 -0
- package/prisca/v1/core/users/users_pb.js +407 -0
- package/prisca/v1/core/work_location/work_location_pb.js +74 -22
- package/prisca/v1/core/workflow/workflow_pb.js +74 -22
- package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +4661 -0
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +1 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +35 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +98 -8
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +80 -28
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +33 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +407 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +33 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +407 -0
- package/prisca/v1/quotation/quotation_grpc_pb.js +14 -3
- package/prisca/v1/quotation/quotation_pb.js +479 -2
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +1 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +262 -4
- 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
|
|
|
@@ -586,7 +586,8 @@ taxInformationList: jspb.Message.toObjectList(msg.getTaxInformationList(),
|
|
|
586
586
|
fileIds: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
587
587
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
588
588
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
589
|
-
vendorDescription: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
589
|
+
vendorDescription: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
590
|
+
isSendToVendor: jspb.Message.getBooleanFieldWithDefault(msg, 32, false)
|
|
590
591
|
};
|
|
591
592
|
|
|
592
593
|
if (includeInstance) {
|
|
@@ -753,6 +754,10 @@ proto.Vendor.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
753
754
|
var value = /** @type {string} */ (reader.readString());
|
|
754
755
|
msg.setVendorDescription(value);
|
|
755
756
|
break;
|
|
757
|
+
case 32:
|
|
758
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
759
|
+
msg.setIsSendToVendor(value);
|
|
760
|
+
break;
|
|
756
761
|
default:
|
|
757
762
|
reader.skipField();
|
|
758
763
|
break;
|
|
@@ -1005,6 +1010,13 @@ proto.Vendor.serializeBinaryToWriter = function(message, writer) {
|
|
|
1005
1010
|
f
|
|
1006
1011
|
);
|
|
1007
1012
|
}
|
|
1013
|
+
f = message.getIsSendToVendor();
|
|
1014
|
+
if (f) {
|
|
1015
|
+
writer.writeBool(
|
|
1016
|
+
32,
|
|
1017
|
+
f
|
|
1018
|
+
);
|
|
1019
|
+
}
|
|
1008
1020
|
};
|
|
1009
1021
|
|
|
1010
1022
|
|
|
@@ -1686,6 +1698,24 @@ proto.Vendor.prototype.setVendorDescription = function(value) {
|
|
|
1686
1698
|
};
|
|
1687
1699
|
|
|
1688
1700
|
|
|
1701
|
+
/**
|
|
1702
|
+
* optional bool is_send_to_vendor = 32;
|
|
1703
|
+
* @return {boolean}
|
|
1704
|
+
*/
|
|
1705
|
+
proto.Vendor.prototype.getIsSendToVendor = function() {
|
|
1706
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 32, false));
|
|
1707
|
+
};
|
|
1708
|
+
|
|
1709
|
+
|
|
1710
|
+
/**
|
|
1711
|
+
* @param {boolean} value
|
|
1712
|
+
* @return {!proto.Vendor} returns this
|
|
1713
|
+
*/
|
|
1714
|
+
proto.Vendor.prototype.setIsSendToVendor = function(value) {
|
|
1715
|
+
return jspb.Message.setProto3BooleanField(this, 32, value);
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
|
|
1689
1719
|
|
|
1690
1720
|
|
|
1691
1721
|
|