@aldiokta/protocgen 1.0.39 → 1.0.41
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/account_assignment/account_assignment_grpc_pb.js +55 -55
- package/prisca/v1/account_assignment/account_assignment_pb.js +396 -396
- package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +177 -0
- package/prisca/v1/core/link_data_source/link_data_source_pb.js +2612 -0
- package/prisca/v1/document_type/document_type_grpc_pb.js +178 -0
- package/prisca/v1/document_type/document_type_pb.js +2746 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +1 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +145 -2
- package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +177 -0
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +2340 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +144 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2400 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +145 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +2393 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +145 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2363 -0
|
@@ -5,6 +5,7 @@ var grpc = require('@grpc/grpc-js');
|
|
|
5
5
|
var prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb = require('../../../prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js');
|
|
6
6
|
var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
7
|
var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
|
|
8
|
+
var prisca_v1_document_type_document_type_pb = require('../../../prisca/v1/document_type/document_type_pb.js');
|
|
8
9
|
|
|
9
10
|
function serialize_CreatePurchaseRequisitionTrxRequest(arg) {
|
|
10
11
|
if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.CreatePurchaseRequisitionTrxRequest)) {
|
|
@@ -25,6 +25,8 @@ var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta
|
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
26
|
var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
|
|
27
27
|
goog.object.extend(proto, prisca_v1_core_transaction_builder_transaction_builder_pb);
|
|
28
|
+
var prisca_v1_document_type_document_type_pb = require('../../../prisca/v1/document_type/document_type_pb.js');
|
|
29
|
+
goog.object.extend(proto, prisca_v1_document_type_document_type_pb);
|
|
28
30
|
goog.exportSymbol('proto.BasePurchaseRequisitionTrx', null, global);
|
|
29
31
|
goog.exportSymbol('proto.CreatePurchaseRequisitionTrxRequest', null, global);
|
|
30
32
|
goog.exportSymbol('proto.CreatePurchaseRequisitionTrxResponse', null, global);
|
|
@@ -636,7 +638,10 @@ customTransactionList: jspb.Message.toObjectList(msg.getCustomTransactionList(),
|
|
|
636
638
|
prisca_v1_core_transaction_builder_transaction_builder_pb.Value.toObject, includeInstance),
|
|
637
639
|
referencesId: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
638
640
|
createdAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
639
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
641
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
642
|
+
documentTypeRef: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
643
|
+
numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
644
|
+
documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_type_pb.DocumentType.toObject(includeInstance, f)
|
|
640
645
|
};
|
|
641
646
|
|
|
642
647
|
if (includeInstance) {
|
|
@@ -738,6 +743,19 @@ proto.PurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, reader)
|
|
|
738
743
|
var value = /** @type {string} */ (reader.readString());
|
|
739
744
|
msg.setUpdatedAt(value);
|
|
740
745
|
break;
|
|
746
|
+
case 17:
|
|
747
|
+
var value = /** @type {string} */ (reader.readString());
|
|
748
|
+
msg.setDocumentTypeRef(value);
|
|
749
|
+
break;
|
|
750
|
+
case 18:
|
|
751
|
+
var value = /** @type {string} */ (reader.readString());
|
|
752
|
+
msg.setNumberRangeSequence(value);
|
|
753
|
+
break;
|
|
754
|
+
case 19:
|
|
755
|
+
var value = new prisca_v1_document_type_document_type_pb.DocumentType;
|
|
756
|
+
reader.readMessage(value,prisca_v1_document_type_document_type_pb.DocumentType.deserializeBinaryFromReader);
|
|
757
|
+
msg.setDocumentType(value);
|
|
758
|
+
break;
|
|
741
759
|
default:
|
|
742
760
|
reader.skipField();
|
|
743
761
|
break;
|
|
@@ -880,6 +898,28 @@ proto.PurchaseRequisitionTrx.serializeBinaryToWriter = function(message, writer)
|
|
|
880
898
|
f
|
|
881
899
|
);
|
|
882
900
|
}
|
|
901
|
+
f = message.getDocumentTypeRef();
|
|
902
|
+
if (f.length > 0) {
|
|
903
|
+
writer.writeString(
|
|
904
|
+
17,
|
|
905
|
+
f
|
|
906
|
+
);
|
|
907
|
+
}
|
|
908
|
+
f = message.getNumberRangeSequence();
|
|
909
|
+
if (f.length > 0) {
|
|
910
|
+
writer.writeString(
|
|
911
|
+
18,
|
|
912
|
+
f
|
|
913
|
+
);
|
|
914
|
+
}
|
|
915
|
+
f = message.getDocumentType();
|
|
916
|
+
if (f != null) {
|
|
917
|
+
writer.writeMessage(
|
|
918
|
+
19,
|
|
919
|
+
f,
|
|
920
|
+
prisca_v1_document_type_document_type_pb.DocumentType.serializeBinaryToWriter
|
|
921
|
+
);
|
|
922
|
+
}
|
|
883
923
|
};
|
|
884
924
|
|
|
885
925
|
|
|
@@ -1191,6 +1231,79 @@ proto.PurchaseRequisitionTrx.prototype.setUpdatedAt = function(value) {
|
|
|
1191
1231
|
};
|
|
1192
1232
|
|
|
1193
1233
|
|
|
1234
|
+
/**
|
|
1235
|
+
* optional string document_type_ref = 17;
|
|
1236
|
+
* @return {string}
|
|
1237
|
+
*/
|
|
1238
|
+
proto.PurchaseRequisitionTrx.prototype.getDocumentTypeRef = function() {
|
|
1239
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* @param {string} value
|
|
1245
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1246
|
+
*/
|
|
1247
|
+
proto.PurchaseRequisitionTrx.prototype.setDocumentTypeRef = function(value) {
|
|
1248
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* optional string number_range_sequence = 18;
|
|
1254
|
+
* @return {string}
|
|
1255
|
+
*/
|
|
1256
|
+
proto.PurchaseRequisitionTrx.prototype.getNumberRangeSequence = function() {
|
|
1257
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
1258
|
+
};
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* @param {string} value
|
|
1263
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1264
|
+
*/
|
|
1265
|
+
proto.PurchaseRequisitionTrx.prototype.setNumberRangeSequence = function(value) {
|
|
1266
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
1267
|
+
};
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* optional DocumentType document_type = 19;
|
|
1272
|
+
* @return {?proto.DocumentType}
|
|
1273
|
+
*/
|
|
1274
|
+
proto.PurchaseRequisitionTrx.prototype.getDocumentType = function() {
|
|
1275
|
+
return /** @type{?proto.DocumentType} */ (
|
|
1276
|
+
jspb.Message.getWrapperField(this, prisca_v1_document_type_document_type_pb.DocumentType, 19));
|
|
1277
|
+
};
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* @param {?proto.DocumentType|undefined} value
|
|
1282
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1283
|
+
*/
|
|
1284
|
+
proto.PurchaseRequisitionTrx.prototype.setDocumentType = function(value) {
|
|
1285
|
+
return jspb.Message.setWrapperField(this, 19, value);
|
|
1286
|
+
};
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Clears the message field making it undefined.
|
|
1291
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1292
|
+
*/
|
|
1293
|
+
proto.PurchaseRequisitionTrx.prototype.clearDocumentType = function() {
|
|
1294
|
+
return this.setDocumentType(undefined);
|
|
1295
|
+
};
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* Returns whether this field is set.
|
|
1300
|
+
* @return {boolean}
|
|
1301
|
+
*/
|
|
1302
|
+
proto.PurchaseRequisitionTrx.prototype.hasDocumentType = function() {
|
|
1303
|
+
return jspb.Message.getField(this, 19) != null;
|
|
1304
|
+
};
|
|
1305
|
+
|
|
1306
|
+
|
|
1194
1307
|
|
|
1195
1308
|
/**
|
|
1196
1309
|
* List of repeated fields within this message type.
|
|
@@ -1242,7 +1355,8 @@ emailCc: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
|
1242
1355
|
plantRef: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1243
1356
|
purchasingGroup: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
1244
1357
|
customTransactionList: jspb.Message.toObjectList(msg.getCustomTransactionList(),
|
|
1245
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.Value.toObject, includeInstance)
|
|
1358
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.Value.toObject, includeInstance),
|
|
1359
|
+
documentTypeRef: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
1246
1360
|
};
|
|
1247
1361
|
|
|
1248
1362
|
if (includeInstance) {
|
|
@@ -1328,6 +1442,10 @@ proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, rea
|
|
|
1328
1442
|
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.Value.deserializeBinaryFromReader);
|
|
1329
1443
|
msg.addCustomTransaction(value);
|
|
1330
1444
|
break;
|
|
1445
|
+
case 13:
|
|
1446
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1447
|
+
msg.setDocumentTypeRef(value);
|
|
1448
|
+
break;
|
|
1331
1449
|
default:
|
|
1332
1450
|
reader.skipField();
|
|
1333
1451
|
break;
|
|
@@ -1442,6 +1560,13 @@ proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter = function(message, wri
|
|
|
1442
1560
|
prisca_v1_core_transaction_builder_transaction_builder_pb.Value.serializeBinaryToWriter
|
|
1443
1561
|
);
|
|
1444
1562
|
}
|
|
1563
|
+
f = message.getDocumentTypeRef();
|
|
1564
|
+
if (f.length > 0) {
|
|
1565
|
+
writer.writeString(
|
|
1566
|
+
13,
|
|
1567
|
+
f
|
|
1568
|
+
);
|
|
1569
|
+
}
|
|
1445
1570
|
};
|
|
1446
1571
|
|
|
1447
1572
|
|
|
@@ -1681,6 +1806,24 @@ proto.BasePurchaseRequisitionTrx.prototype.clearCustomTransactionList = function
|
|
|
1681
1806
|
};
|
|
1682
1807
|
|
|
1683
1808
|
|
|
1809
|
+
/**
|
|
1810
|
+
* optional string document_type_ref = 13;
|
|
1811
|
+
* @return {string}
|
|
1812
|
+
*/
|
|
1813
|
+
proto.BasePurchaseRequisitionTrx.prototype.getDocumentTypeRef = function() {
|
|
1814
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
1815
|
+
};
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
/**
|
|
1819
|
+
* @param {string} value
|
|
1820
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
1821
|
+
*/
|
|
1822
|
+
proto.BasePurchaseRequisitionTrx.prototype.setDocumentTypeRef = function(value) {
|
|
1823
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
1824
|
+
};
|
|
1825
|
+
|
|
1826
|
+
|
|
1684
1827
|
|
|
1685
1828
|
|
|
1686
1829
|
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
|
+
var prisca_v1_purchasing_group_purchasing_group_pb = require('../../../prisca/v1/purchasing_group/purchasing_group_pb.js');
|
|
6
|
+
var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
+
|
|
8
|
+
function serialize_CreatePurchasingGroupRequest(arg) {
|
|
9
|
+
if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.CreatePurchasingGroupRequest)) {
|
|
10
|
+
throw new Error('Expected argument of type CreatePurchasingGroupRequest');
|
|
11
|
+
}
|
|
12
|
+
return Buffer.from(arg.serializeBinary());
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function deserialize_CreatePurchasingGroupRequest(buffer_arg) {
|
|
16
|
+
return prisca_v1_purchasing_group_purchasing_group_pb.CreatePurchasingGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function serialize_CreatePurchasingGroupResponse(arg) {
|
|
20
|
+
if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.CreatePurchasingGroupResponse)) {
|
|
21
|
+
throw new Error('Expected argument of type CreatePurchasingGroupResponse');
|
|
22
|
+
}
|
|
23
|
+
return Buffer.from(arg.serializeBinary());
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function deserialize_CreatePurchasingGroupResponse(buffer_arg) {
|
|
27
|
+
return prisca_v1_purchasing_group_purchasing_group_pb.CreatePurchasingGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function serialize_DeletePurchasingGroupRequest(arg) {
|
|
31
|
+
if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.DeletePurchasingGroupRequest)) {
|
|
32
|
+
throw new Error('Expected argument of type DeletePurchasingGroupRequest');
|
|
33
|
+
}
|
|
34
|
+
return Buffer.from(arg.serializeBinary());
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function deserialize_DeletePurchasingGroupRequest(buffer_arg) {
|
|
38
|
+
return prisca_v1_purchasing_group_purchasing_group_pb.DeletePurchasingGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function serialize_DeletePurchasingGroupResponse(arg) {
|
|
42
|
+
if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.DeletePurchasingGroupResponse)) {
|
|
43
|
+
throw new Error('Expected argument of type DeletePurchasingGroupResponse');
|
|
44
|
+
}
|
|
45
|
+
return Buffer.from(arg.serializeBinary());
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function deserialize_DeletePurchasingGroupResponse(buffer_arg) {
|
|
49
|
+
return prisca_v1_purchasing_group_purchasing_group_pb.DeletePurchasingGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function serialize_GetListPurchasingGroupRequest(arg) {
|
|
53
|
+
if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.GetListPurchasingGroupRequest)) {
|
|
54
|
+
throw new Error('Expected argument of type GetListPurchasingGroupRequest');
|
|
55
|
+
}
|
|
56
|
+
return Buffer.from(arg.serializeBinary());
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function deserialize_GetListPurchasingGroupRequest(buffer_arg) {
|
|
60
|
+
return prisca_v1_purchasing_group_purchasing_group_pb.GetListPurchasingGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function serialize_GetListPurchasingGroupResponse(arg) {
|
|
64
|
+
if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.GetListPurchasingGroupResponse)) {
|
|
65
|
+
throw new Error('Expected argument of type GetListPurchasingGroupResponse');
|
|
66
|
+
}
|
|
67
|
+
return Buffer.from(arg.serializeBinary());
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function deserialize_GetListPurchasingGroupResponse(buffer_arg) {
|
|
71
|
+
return prisca_v1_purchasing_group_purchasing_group_pb.GetListPurchasingGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function serialize_PurchasingGroupGetByIdRequest(arg) {
|
|
75
|
+
if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.PurchasingGroupGetByIdRequest)) {
|
|
76
|
+
throw new Error('Expected argument of type PurchasingGroupGetByIdRequest');
|
|
77
|
+
}
|
|
78
|
+
return Buffer.from(arg.serializeBinary());
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function deserialize_PurchasingGroupGetByIdRequest(buffer_arg) {
|
|
82
|
+
return prisca_v1_purchasing_group_purchasing_group_pb.PurchasingGroupGetByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function serialize_PurchasingGroupGetByIdResponse(arg) {
|
|
86
|
+
if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.PurchasingGroupGetByIdResponse)) {
|
|
87
|
+
throw new Error('Expected argument of type PurchasingGroupGetByIdResponse');
|
|
88
|
+
}
|
|
89
|
+
return Buffer.from(arg.serializeBinary());
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
function deserialize_PurchasingGroupGetByIdResponse(buffer_arg) {
|
|
93
|
+
return prisca_v1_purchasing_group_purchasing_group_pb.PurchasingGroupGetByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
function serialize_UpdatePurchasingGroupRequest(arg) {
|
|
97
|
+
if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.UpdatePurchasingGroupRequest)) {
|
|
98
|
+
throw new Error('Expected argument of type UpdatePurchasingGroupRequest');
|
|
99
|
+
}
|
|
100
|
+
return Buffer.from(arg.serializeBinary());
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function deserialize_UpdatePurchasingGroupRequest(buffer_arg) {
|
|
104
|
+
return prisca_v1_purchasing_group_purchasing_group_pb.UpdatePurchasingGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
function serialize_UpdatePurchasingGroupResponse(arg) {
|
|
108
|
+
if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.UpdatePurchasingGroupResponse)) {
|
|
109
|
+
throw new Error('Expected argument of type UpdatePurchasingGroupResponse');
|
|
110
|
+
}
|
|
111
|
+
return Buffer.from(arg.serializeBinary());
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
function deserialize_UpdatePurchasingGroupResponse(buffer_arg) {
|
|
115
|
+
return prisca_v1_purchasing_group_purchasing_group_pb.UpdatePurchasingGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
var PurchasingGroupServiceService = exports.PurchasingGroupServiceService = {
|
|
120
|
+
createPurchasingGroup: {
|
|
121
|
+
path: '/PurchasingGroupService/CreatePurchasingGroup',
|
|
122
|
+
requestStream: false,
|
|
123
|
+
responseStream: false,
|
|
124
|
+
requestType: prisca_v1_purchasing_group_purchasing_group_pb.CreatePurchasingGroupRequest,
|
|
125
|
+
responseType: prisca_v1_purchasing_group_purchasing_group_pb.CreatePurchasingGroupResponse,
|
|
126
|
+
requestSerialize: serialize_CreatePurchasingGroupRequest,
|
|
127
|
+
requestDeserialize: deserialize_CreatePurchasingGroupRequest,
|
|
128
|
+
responseSerialize: serialize_CreatePurchasingGroupResponse,
|
|
129
|
+
responseDeserialize: deserialize_CreatePurchasingGroupResponse,
|
|
130
|
+
},
|
|
131
|
+
getPurchasingGroupById: {
|
|
132
|
+
path: '/PurchasingGroupService/GetPurchasingGroupById',
|
|
133
|
+
requestStream: false,
|
|
134
|
+
responseStream: false,
|
|
135
|
+
requestType: prisca_v1_purchasing_group_purchasing_group_pb.PurchasingGroupGetByIdRequest,
|
|
136
|
+
responseType: prisca_v1_purchasing_group_purchasing_group_pb.PurchasingGroupGetByIdResponse,
|
|
137
|
+
requestSerialize: serialize_PurchasingGroupGetByIdRequest,
|
|
138
|
+
requestDeserialize: deserialize_PurchasingGroupGetByIdRequest,
|
|
139
|
+
responseSerialize: serialize_PurchasingGroupGetByIdResponse,
|
|
140
|
+
responseDeserialize: deserialize_PurchasingGroupGetByIdResponse,
|
|
141
|
+
},
|
|
142
|
+
updatePurchasingGroup: {
|
|
143
|
+
path: '/PurchasingGroupService/UpdatePurchasingGroup',
|
|
144
|
+
requestStream: false,
|
|
145
|
+
responseStream: false,
|
|
146
|
+
requestType: prisca_v1_purchasing_group_purchasing_group_pb.UpdatePurchasingGroupRequest,
|
|
147
|
+
responseType: prisca_v1_purchasing_group_purchasing_group_pb.UpdatePurchasingGroupResponse,
|
|
148
|
+
requestSerialize: serialize_UpdatePurchasingGroupRequest,
|
|
149
|
+
requestDeserialize: deserialize_UpdatePurchasingGroupRequest,
|
|
150
|
+
responseSerialize: serialize_UpdatePurchasingGroupResponse,
|
|
151
|
+
responseDeserialize: deserialize_UpdatePurchasingGroupResponse,
|
|
152
|
+
},
|
|
153
|
+
getListPurchasingGroup: {
|
|
154
|
+
path: '/PurchasingGroupService/GetListPurchasingGroup',
|
|
155
|
+
requestStream: false,
|
|
156
|
+
responseStream: false,
|
|
157
|
+
requestType: prisca_v1_purchasing_group_purchasing_group_pb.GetListPurchasingGroupRequest,
|
|
158
|
+
responseType: prisca_v1_purchasing_group_purchasing_group_pb.GetListPurchasingGroupResponse,
|
|
159
|
+
requestSerialize: serialize_GetListPurchasingGroupRequest,
|
|
160
|
+
requestDeserialize: deserialize_GetListPurchasingGroupRequest,
|
|
161
|
+
responseSerialize: serialize_GetListPurchasingGroupResponse,
|
|
162
|
+
responseDeserialize: deserialize_GetListPurchasingGroupResponse,
|
|
163
|
+
},
|
|
164
|
+
deletePurchasingGroup: {
|
|
165
|
+
path: '/PurchasingGroupService/DeletePurchasingGroup',
|
|
166
|
+
requestStream: false,
|
|
167
|
+
responseStream: false,
|
|
168
|
+
requestType: prisca_v1_purchasing_group_purchasing_group_pb.DeletePurchasingGroupRequest,
|
|
169
|
+
responseType: prisca_v1_purchasing_group_purchasing_group_pb.DeletePurchasingGroupResponse,
|
|
170
|
+
requestSerialize: serialize_DeletePurchasingGroupRequest,
|
|
171
|
+
requestDeserialize: deserialize_DeletePurchasingGroupRequest,
|
|
172
|
+
responseSerialize: serialize_DeletePurchasingGroupResponse,
|
|
173
|
+
responseDeserialize: deserialize_DeletePurchasingGroupResponse,
|
|
174
|
+
},
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
exports.PurchasingGroupServiceClient = grpc.makeGenericClientConstructor(PurchasingGroupServiceService);
|