@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// source: prisca/v1/good_receipt/good_receipt.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global =
|
|
17
|
+
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
+
(typeof window !== 'undefined' && window) ||
|
|
19
|
+
(typeof global !== 'undefined' && global) ||
|
|
20
|
+
(typeof self !== 'undefined' && self) ||
|
|
21
|
+
(function () { return this; }).call(null) ||
|
|
22
|
+
Function('return this')();
|
|
23
|
+
|
|
24
|
+
var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
|
+
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
|
+
var prisca_v1_vendor_domain_vendor_domain_pb = require('../../../prisca/v1/vendor_domain/vendor_domain_pb.js');
|
|
27
|
+
goog.object.extend(proto, prisca_v1_vendor_domain_vendor_domain_pb);
|
|
28
|
+
var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
|
|
29
|
+
goog.object.extend(proto, prisca_v1_core_transaction_builder_transaction_builder_pb);
|
|
30
|
+
var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../prisca/v1/core/item_transaction/item_transaction_pb.js');
|
|
31
|
+
goog.object.extend(proto, prisca_v1_core_item_transaction_item_transaction_pb);
|
|
32
|
+
var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
|
|
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);
|
|
@@ -460,8 +460,10 @@ itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
|
460
460
|
vendor: (f = msg.getVendor()) && prisca_v1_vendor_domain_vendor_domain_pb.Vendor.toObject(includeInstance, f),
|
|
461
461
|
createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
462
462
|
updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
463
|
-
companiesReferencesId: jspb.Message.getFieldWithDefault(msg,
|
|
464
|
-
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompany.toObject(includeInstance, f)
|
|
463
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 33, ""),
|
|
464
|
+
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompany.toObject(includeInstance, f),
|
|
465
|
+
department: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
466
|
+
salesOrderNumber: jspb.Message.getFieldWithDefault(msg, 36, "")
|
|
465
467
|
};
|
|
466
468
|
|
|
467
469
|
if (includeInstance) {
|
|
@@ -631,7 +633,7 @@ proto.PurchaseOrder.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
631
633
|
reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
|
|
632
634
|
msg.setUpdatedByEmployee(value);
|
|
633
635
|
break;
|
|
634
|
-
case
|
|
636
|
+
case 33:
|
|
635
637
|
var value = /** @type {string} */ (reader.readString());
|
|
636
638
|
msg.setCompaniesReferencesId(value);
|
|
637
639
|
break;
|
|
@@ -640,6 +642,14 @@ proto.PurchaseOrder.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
640
642
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompany.deserializeBinaryFromReader);
|
|
641
643
|
msg.setCompanies(value);
|
|
642
644
|
break;
|
|
645
|
+
case 35:
|
|
646
|
+
var value = /** @type {string} */ (reader.readString());
|
|
647
|
+
msg.setDepartment(value);
|
|
648
|
+
break;
|
|
649
|
+
case 36:
|
|
650
|
+
var value = /** @type {string} */ (reader.readString());
|
|
651
|
+
msg.setSalesOrderNumber(value);
|
|
652
|
+
break;
|
|
643
653
|
default:
|
|
644
654
|
reader.skipField();
|
|
645
655
|
break;
|
|
@@ -901,7 +911,7 @@ proto.PurchaseOrder.serializeBinaryToWriter = function(message, writer) {
|
|
|
901
911
|
f = message.getCompaniesReferencesId();
|
|
902
912
|
if (f.length > 0) {
|
|
903
913
|
writer.writeString(
|
|
904
|
-
|
|
914
|
+
33,
|
|
905
915
|
f
|
|
906
916
|
);
|
|
907
917
|
}
|
|
@@ -913,6 +923,20 @@ proto.PurchaseOrder.serializeBinaryToWriter = function(message, writer) {
|
|
|
913
923
|
prisca_v1_core_company_company_pb.BaseCompany.serializeBinaryToWriter
|
|
914
924
|
);
|
|
915
925
|
}
|
|
926
|
+
f = message.getDepartment();
|
|
927
|
+
if (f.length > 0) {
|
|
928
|
+
writer.writeString(
|
|
929
|
+
35,
|
|
930
|
+
f
|
|
931
|
+
);
|
|
932
|
+
}
|
|
933
|
+
f = message.getSalesOrderNumber();
|
|
934
|
+
if (f.length > 0) {
|
|
935
|
+
writer.writeString(
|
|
936
|
+
36,
|
|
937
|
+
f
|
|
938
|
+
);
|
|
939
|
+
}
|
|
916
940
|
};
|
|
917
941
|
|
|
918
942
|
|
|
@@ -1590,11 +1614,11 @@ proto.PurchaseOrder.prototype.hasUpdatedByEmployee = function() {
|
|
|
1590
1614
|
|
|
1591
1615
|
|
|
1592
1616
|
/**
|
|
1593
|
-
* optional string companies_references_id =
|
|
1617
|
+
* optional string companies_references_id = 33;
|
|
1594
1618
|
* @return {string}
|
|
1595
1619
|
*/
|
|
1596
1620
|
proto.PurchaseOrder.prototype.getCompaniesReferencesId = function() {
|
|
1597
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1621
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 33, ""));
|
|
1598
1622
|
};
|
|
1599
1623
|
|
|
1600
1624
|
|
|
@@ -1603,7 +1627,7 @@ proto.PurchaseOrder.prototype.getCompaniesReferencesId = function() {
|
|
|
1603
1627
|
* @return {!proto.PurchaseOrder} returns this
|
|
1604
1628
|
*/
|
|
1605
1629
|
proto.PurchaseOrder.prototype.setCompaniesReferencesId = function(value) {
|
|
1606
|
-
return jspb.Message.setProto3StringField(this,
|
|
1630
|
+
return jspb.Message.setProto3StringField(this, 33, value);
|
|
1607
1631
|
};
|
|
1608
1632
|
|
|
1609
1633
|
|
|
@@ -1644,6 +1668,42 @@ proto.PurchaseOrder.prototype.hasCompanies = function() {
|
|
|
1644
1668
|
};
|
|
1645
1669
|
|
|
1646
1670
|
|
|
1671
|
+
/**
|
|
1672
|
+
* optional string department = 35;
|
|
1673
|
+
* @return {string}
|
|
1674
|
+
*/
|
|
1675
|
+
proto.PurchaseOrder.prototype.getDepartment = function() {
|
|
1676
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
|
|
1677
|
+
};
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
|
+
/**
|
|
1681
|
+
* @param {string} value
|
|
1682
|
+
* @return {!proto.PurchaseOrder} returns this
|
|
1683
|
+
*/
|
|
1684
|
+
proto.PurchaseOrder.prototype.setDepartment = function(value) {
|
|
1685
|
+
return jspb.Message.setProto3StringField(this, 35, value);
|
|
1686
|
+
};
|
|
1687
|
+
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* optional string sales_order_number = 36;
|
|
1691
|
+
* @return {string}
|
|
1692
|
+
*/
|
|
1693
|
+
proto.PurchaseOrder.prototype.getSalesOrderNumber = function() {
|
|
1694
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, ""));
|
|
1695
|
+
};
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* @param {string} value
|
|
1700
|
+
* @return {!proto.PurchaseOrder} returns this
|
|
1701
|
+
*/
|
|
1702
|
+
proto.PurchaseOrder.prototype.setSalesOrderNumber = function(value) {
|
|
1703
|
+
return jspb.Message.setProto3StringField(this, 36, value);
|
|
1704
|
+
};
|
|
1705
|
+
|
|
1706
|
+
|
|
1647
1707
|
|
|
1648
1708
|
/**
|
|
1649
1709
|
* List of repeated fields within this message type.
|
|
@@ -1704,7 +1764,8 @@ filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
|
1704
1764
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
1705
1765
|
itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
1706
1766
|
prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction.toObject, includeInstance),
|
|
1707
|
-
vendor: (f = msg.getVendor()) && prisca_v1_vendor_domain_vendor_domain_pb.Vendor.toObject(includeInstance, f)
|
|
1767
|
+
vendor: (f = msg.getVendor()) && prisca_v1_vendor_domain_vendor_domain_pb.Vendor.toObject(includeInstance, f),
|
|
1768
|
+
department: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
1708
1769
|
};
|
|
1709
1770
|
|
|
1710
1771
|
if (includeInstance) {
|
|
@@ -1824,6 +1885,10 @@ proto.BasePurchaseOrderRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
1824
1885
|
reader.readMessage(value,prisca_v1_vendor_domain_vendor_domain_pb.Vendor.deserializeBinaryFromReader);
|
|
1825
1886
|
msg.setVendor(value);
|
|
1826
1887
|
break;
|
|
1888
|
+
case 21:
|
|
1889
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1890
|
+
msg.setDepartment(value);
|
|
1891
|
+
break;
|
|
1827
1892
|
default:
|
|
1828
1893
|
reader.skipField();
|
|
1829
1894
|
break;
|
|
@@ -1996,6 +2061,13 @@ proto.BasePurchaseOrderRequest.serializeBinaryToWriter = function(message, write
|
|
|
1996
2061
|
prisca_v1_vendor_domain_vendor_domain_pb.Vendor.serializeBinaryToWriter
|
|
1997
2062
|
);
|
|
1998
2063
|
}
|
|
2064
|
+
f = message.getDepartment();
|
|
2065
|
+
if (f.length > 0) {
|
|
2066
|
+
writer.writeString(
|
|
2067
|
+
21,
|
|
2068
|
+
f
|
|
2069
|
+
);
|
|
2070
|
+
}
|
|
1999
2071
|
};
|
|
2000
2072
|
|
|
2001
2073
|
|
|
@@ -2418,6 +2490,24 @@ proto.BasePurchaseOrderRequest.prototype.hasVendor = function() {
|
|
|
2418
2490
|
};
|
|
2419
2491
|
|
|
2420
2492
|
|
|
2493
|
+
/**
|
|
2494
|
+
* optional string department = 21;
|
|
2495
|
+
* @return {string}
|
|
2496
|
+
*/
|
|
2497
|
+
proto.BasePurchaseOrderRequest.prototype.getDepartment = function() {
|
|
2498
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
2499
|
+
};
|
|
2500
|
+
|
|
2501
|
+
|
|
2502
|
+
/**
|
|
2503
|
+
* @param {string} value
|
|
2504
|
+
* @return {!proto.BasePurchaseOrderRequest} returns this
|
|
2505
|
+
*/
|
|
2506
|
+
proto.BasePurchaseOrderRequest.prototype.setDepartment = function(value) {
|
|
2507
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
2508
|
+
};
|
|
2509
|
+
|
|
2510
|
+
|
|
2421
2511
|
|
|
2422
2512
|
|
|
2423
2513
|
|
|
@@ -153,7 +153,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
153
153
|
* @constructor
|
|
154
154
|
*/
|
|
155
155
|
proto.DeletePurchasingGroupRequest = function(opt_data) {
|
|
156
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
156
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeletePurchasingGroupRequest.repeatedFields_, null);
|
|
157
157
|
};
|
|
158
158
|
goog.inherits(proto.DeletePurchasingGroupRequest, jspb.Message);
|
|
159
159
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -279,7 +279,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
279
279
|
* @constructor
|
|
280
280
|
*/
|
|
281
281
|
proto.DeletePurchasingGroupResponse = function(opt_data) {
|
|
282
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
282
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeletePurchasingGroupResponse.repeatedFields_, null);
|
|
283
283
|
};
|
|
284
284
|
goog.inherits(proto.DeletePurchasingGroupResponse, jspb.Message);
|
|
285
285
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1543,6 +1543,13 @@ proto.UpdatePurchasingGroupRequest.prototype.hasPurchasingGroup = function() {
|
|
|
1543
1543
|
|
|
1544
1544
|
|
|
1545
1545
|
|
|
1546
|
+
/**
|
|
1547
|
+
* List of repeated fields within this message type.
|
|
1548
|
+
* @private {!Array<number>}
|
|
1549
|
+
* @const
|
|
1550
|
+
*/
|
|
1551
|
+
proto.DeletePurchasingGroupRequest.repeatedFields_ = [1];
|
|
1552
|
+
|
|
1546
1553
|
|
|
1547
1554
|
|
|
1548
1555
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1574,7 +1581,7 @@ proto.DeletePurchasingGroupRequest.prototype.toObject = function(opt_includeInst
|
|
|
1574
1581
|
*/
|
|
1575
1582
|
proto.DeletePurchasingGroupRequest.toObject = function(includeInstance, msg) {
|
|
1576
1583
|
var f, obj = {
|
|
1577
|
-
|
|
1584
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
1578
1585
|
};
|
|
1579
1586
|
|
|
1580
1587
|
if (includeInstance) {
|
|
@@ -1612,8 +1619,8 @@ proto.DeletePurchasingGroupRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
1612
1619
|
var field = reader.getFieldNumber();
|
|
1613
1620
|
switch (field) {
|
|
1614
1621
|
case 1:
|
|
1615
|
-
var value = /** @type {
|
|
1616
|
-
msg.
|
|
1622
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1623
|
+
msg.addReferenceIds(value);
|
|
1617
1624
|
break;
|
|
1618
1625
|
default:
|
|
1619
1626
|
reader.skipField();
|
|
@@ -1644,9 +1651,9 @@ proto.DeletePurchasingGroupRequest.prototype.serializeBinary = function() {
|
|
|
1644
1651
|
*/
|
|
1645
1652
|
proto.DeletePurchasingGroupRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1646
1653
|
var f = undefined;
|
|
1647
|
-
f = message.
|
|
1648
|
-
if (f
|
|
1649
|
-
writer.
|
|
1654
|
+
f = message.getReferenceIdsList();
|
|
1655
|
+
if (f.length > 0) {
|
|
1656
|
+
writer.writeRepeatedString(
|
|
1650
1657
|
1,
|
|
1651
1658
|
f
|
|
1652
1659
|
);
|
|
@@ -1655,20 +1662,39 @@ proto.DeletePurchasingGroupRequest.serializeBinaryToWriter = function(message, w
|
|
|
1655
1662
|
|
|
1656
1663
|
|
|
1657
1664
|
/**
|
|
1658
|
-
*
|
|
1659
|
-
* @return {
|
|
1665
|
+
* repeated string reference_ids = 1;
|
|
1666
|
+
* @return {!Array<string>}
|
|
1660
1667
|
*/
|
|
1661
|
-
proto.DeletePurchasingGroupRequest.prototype.
|
|
1662
|
-
return /** @type {
|
|
1668
|
+
proto.DeletePurchasingGroupRequest.prototype.getReferenceIdsList = function() {
|
|
1669
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
1663
1670
|
};
|
|
1664
1671
|
|
|
1665
1672
|
|
|
1666
1673
|
/**
|
|
1667
|
-
* @param {
|
|
1674
|
+
* @param {!Array<string>} value
|
|
1675
|
+
* @return {!proto.DeletePurchasingGroupRequest} returns this
|
|
1676
|
+
*/
|
|
1677
|
+
proto.DeletePurchasingGroupRequest.prototype.setReferenceIdsList = function(value) {
|
|
1678
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
1679
|
+
};
|
|
1680
|
+
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* @param {string} value
|
|
1684
|
+
* @param {number=} opt_index
|
|
1685
|
+
* @return {!proto.DeletePurchasingGroupRequest} returns this
|
|
1686
|
+
*/
|
|
1687
|
+
proto.DeletePurchasingGroupRequest.prototype.addReferenceIds = function(value, opt_index) {
|
|
1688
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
1689
|
+
};
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* Clears the list making it empty but non-null.
|
|
1668
1694
|
* @return {!proto.DeletePurchasingGroupRequest} returns this
|
|
1669
1695
|
*/
|
|
1670
|
-
proto.DeletePurchasingGroupRequest.prototype.
|
|
1671
|
-
return
|
|
1696
|
+
proto.DeletePurchasingGroupRequest.prototype.clearReferenceIdsList = function() {
|
|
1697
|
+
return this.setReferenceIdsList([]);
|
|
1672
1698
|
};
|
|
1673
1699
|
|
|
1674
1700
|
|
|
@@ -2692,6 +2718,13 @@ proto.PurchasingGroupGetByIdResponse.prototype.hasMeta = function() {
|
|
|
2692
2718
|
|
|
2693
2719
|
|
|
2694
2720
|
|
|
2721
|
+
/**
|
|
2722
|
+
* List of repeated fields within this message type.
|
|
2723
|
+
* @private {!Array<number>}
|
|
2724
|
+
* @const
|
|
2725
|
+
*/
|
|
2726
|
+
proto.DeletePurchasingGroupResponse.repeatedFields_ = [1];
|
|
2727
|
+
|
|
2695
2728
|
|
|
2696
2729
|
|
|
2697
2730
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2723,7 +2756,7 @@ proto.DeletePurchasingGroupResponse.prototype.toObject = function(opt_includeIns
|
|
|
2723
2756
|
*/
|
|
2724
2757
|
proto.DeletePurchasingGroupResponse.toObject = function(includeInstance, msg) {
|
|
2725
2758
|
var f, obj = {
|
|
2726
|
-
|
|
2759
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
2727
2760
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2728
2761
|
};
|
|
2729
2762
|
|
|
@@ -2762,8 +2795,8 @@ proto.DeletePurchasingGroupResponse.deserializeBinaryFromReader = function(msg,
|
|
|
2762
2795
|
var field = reader.getFieldNumber();
|
|
2763
2796
|
switch (field) {
|
|
2764
2797
|
case 1:
|
|
2765
|
-
var value = /** @type {
|
|
2766
|
-
msg.
|
|
2798
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2799
|
+
msg.addReferenceIds(value);
|
|
2767
2800
|
break;
|
|
2768
2801
|
case 2:
|
|
2769
2802
|
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
@@ -2799,9 +2832,9 @@ proto.DeletePurchasingGroupResponse.prototype.serializeBinary = function() {
|
|
|
2799
2832
|
*/
|
|
2800
2833
|
proto.DeletePurchasingGroupResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2801
2834
|
var f = undefined;
|
|
2802
|
-
f = message.
|
|
2803
|
-
if (f
|
|
2804
|
-
writer.
|
|
2835
|
+
f = message.getReferenceIdsList();
|
|
2836
|
+
if (f.length > 0) {
|
|
2837
|
+
writer.writeRepeatedString(
|
|
2805
2838
|
1,
|
|
2806
2839
|
f
|
|
2807
2840
|
);
|
|
@@ -2818,20 +2851,39 @@ proto.DeletePurchasingGroupResponse.serializeBinaryToWriter = function(message,
|
|
|
2818
2851
|
|
|
2819
2852
|
|
|
2820
2853
|
/**
|
|
2821
|
-
*
|
|
2822
|
-
* @return {
|
|
2854
|
+
* repeated string reference_ids = 1;
|
|
2855
|
+
* @return {!Array<string>}
|
|
2823
2856
|
*/
|
|
2824
|
-
proto.DeletePurchasingGroupResponse.prototype.
|
|
2825
|
-
return /** @type {
|
|
2857
|
+
proto.DeletePurchasingGroupResponse.prototype.getReferenceIdsList = function() {
|
|
2858
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2826
2859
|
};
|
|
2827
2860
|
|
|
2828
2861
|
|
|
2829
2862
|
/**
|
|
2830
|
-
* @param {
|
|
2863
|
+
* @param {!Array<string>} value
|
|
2864
|
+
* @return {!proto.DeletePurchasingGroupResponse} returns this
|
|
2865
|
+
*/
|
|
2866
|
+
proto.DeletePurchasingGroupResponse.prototype.setReferenceIdsList = function(value) {
|
|
2867
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2868
|
+
};
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
/**
|
|
2872
|
+
* @param {string} value
|
|
2873
|
+
* @param {number=} opt_index
|
|
2874
|
+
* @return {!proto.DeletePurchasingGroupResponse} returns this
|
|
2875
|
+
*/
|
|
2876
|
+
proto.DeletePurchasingGroupResponse.prototype.addReferenceIds = function(value, opt_index) {
|
|
2877
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2878
|
+
};
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
/**
|
|
2882
|
+
* Clears the list making it empty but non-null.
|
|
2831
2883
|
* @return {!proto.DeletePurchasingGroupResponse} returns this
|
|
2832
2884
|
*/
|
|
2833
|
-
proto.DeletePurchasingGroupResponse.prototype.
|
|
2834
|
-
return
|
|
2885
|
+
proto.DeletePurchasingGroupResponse.prototype.clearReferenceIdsList = function() {
|
|
2886
|
+
return this.setReferenceIdsList([]);
|
|
2835
2887
|
};
|
|
2836
2888
|
|
|
2837
2889
|
|
|
@@ -28,6 +28,28 @@ function deserialize_CreatePurchasingOrganizationResponse(buffer_arg) {
|
|
|
28
28
|
return prisca_v1_purchasing_organization_purchasing_organization_pb.CreatePurchasingOrganizationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
function serialize_DeletePurchasingOrganizationRequest(arg) {
|
|
32
|
+
if (!(arg instanceof prisca_v1_purchasing_organization_purchasing_organization_pb.DeletePurchasingOrganizationRequest)) {
|
|
33
|
+
throw new Error('Expected argument of type DeletePurchasingOrganizationRequest');
|
|
34
|
+
}
|
|
35
|
+
return Buffer.from(arg.serializeBinary());
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function deserialize_DeletePurchasingOrganizationRequest(buffer_arg) {
|
|
39
|
+
return prisca_v1_purchasing_organization_purchasing_organization_pb.DeletePurchasingOrganizationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function serialize_DeletePurchasingOrganizationResponse(arg) {
|
|
43
|
+
if (!(arg instanceof prisca_v1_purchasing_organization_purchasing_organization_pb.DeletePurchasingOrganizationResponse)) {
|
|
44
|
+
throw new Error('Expected argument of type DeletePurchasingOrganizationResponse');
|
|
45
|
+
}
|
|
46
|
+
return Buffer.from(arg.serializeBinary());
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function deserialize_DeletePurchasingOrganizationResponse(buffer_arg) {
|
|
50
|
+
return prisca_v1_purchasing_organization_purchasing_organization_pb.DeletePurchasingOrganizationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
51
|
+
}
|
|
52
|
+
|
|
31
53
|
function serialize_GetListPurchasingOrganizationRequest(arg) {
|
|
32
54
|
if (!(arg instanceof prisca_v1_purchasing_organization_purchasing_organization_pb.GetListPurchasingOrganizationRequest)) {
|
|
33
55
|
throw new Error('Expected argument of type GetListPurchasingOrganizationRequest');
|
|
@@ -140,6 +162,17 @@ var PurchasingOrganizationServiceService = exports.PurchasingOrganizationService
|
|
|
140
162
|
responseSerialize: serialize_GetListPurchasingOrganizationResponse,
|
|
141
163
|
responseDeserialize: deserialize_GetListPurchasingOrganizationResponse,
|
|
142
164
|
},
|
|
165
|
+
deletePurchasingOrganization: {
|
|
166
|
+
path: '/PurchasingOrganizationService/DeletePurchasingOrganization',
|
|
167
|
+
requestStream: false,
|
|
168
|
+
responseStream: false,
|
|
169
|
+
requestType: prisca_v1_purchasing_organization_purchasing_organization_pb.DeletePurchasingOrganizationRequest,
|
|
170
|
+
responseType: prisca_v1_purchasing_organization_purchasing_organization_pb.DeletePurchasingOrganizationResponse,
|
|
171
|
+
requestSerialize: serialize_DeletePurchasingOrganizationRequest,
|
|
172
|
+
requestDeserialize: deserialize_DeletePurchasingOrganizationRequest,
|
|
173
|
+
responseSerialize: serialize_DeletePurchasingOrganizationResponse,
|
|
174
|
+
responseDeserialize: deserialize_DeletePurchasingOrganizationResponse,
|
|
175
|
+
},
|
|
143
176
|
};
|
|
144
177
|
|
|
145
178
|
exports.PurchasingOrganizationServiceClient = grpc.makeGenericClientConstructor(PurchasingOrganizationServiceService, 'PurchasingOrganizationService');
|