@aldiokta/protocgen 1.1.20 → 1.1.21
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 +69 -13
- package/prisca/v1/bidding/bidding_pb.js +833 -114
- package/prisca/v1/core/file_upload/file_upload_pb.js +183 -3
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +31 -1
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +1 -1
- package/prisca/v1/purchase_order/purchase_order_pb.js +373 -403
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +11 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +13 -13
- package/prisca/v1/valuation/valuation_grpc_pb.js +365 -0
- package/prisca/v1/valuation/valuation_pb.js +7729 -0
package/package.json
CHANGED
|
@@ -12,6 +12,17 @@ var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/emplo
|
|
|
12
12
|
var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
13
13
|
var prisca_v1_request_for_quotation_request_for_quotation_pb = require('../../../prisca/v1/request_for_quotation/request_for_quotation_pb.js');
|
|
14
14
|
|
|
15
|
+
function serialize_CreateBiddingRequest(arg) {
|
|
16
|
+
if (!(arg instanceof prisca_v1_bidding_bidding_pb.CreateBiddingRequest)) {
|
|
17
|
+
throw new Error('Expected argument of type CreateBiddingRequest');
|
|
18
|
+
}
|
|
19
|
+
return Buffer.from(arg.serializeBinary());
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function deserialize_CreateBiddingRequest(buffer_arg) {
|
|
23
|
+
return prisca_v1_bidding_bidding_pb.CreateBiddingRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
24
|
+
}
|
|
25
|
+
|
|
15
26
|
function serialize_GetBiddingByIdRequest(arg) {
|
|
16
27
|
if (!(arg instanceof prisca_v1_bidding_bidding_pb.GetBiddingByIdRequest)) {
|
|
17
28
|
throw new Error('Expected argument of type GetBiddingByIdRequest');
|
|
@@ -56,26 +67,26 @@ function deserialize_GetDetailBiddingByReferences(buffer_arg) {
|
|
|
56
67
|
return prisca_v1_bidding_bidding_pb.GetDetailBiddingByReferences.deserializeBinary(new Uint8Array(buffer_arg));
|
|
57
68
|
}
|
|
58
69
|
|
|
59
|
-
function
|
|
60
|
-
if (!(arg instanceof
|
|
61
|
-
throw new Error('Expected argument of type
|
|
70
|
+
function serialize_RequestGetListBidding(arg) {
|
|
71
|
+
if (!(arg instanceof prisca_v1_bidding_bidding_pb.RequestGetListBidding)) {
|
|
72
|
+
throw new Error('Expected argument of type RequestGetListBidding');
|
|
62
73
|
}
|
|
63
74
|
return Buffer.from(arg.serializeBinary());
|
|
64
75
|
}
|
|
65
76
|
|
|
66
|
-
function
|
|
67
|
-
return
|
|
77
|
+
function deserialize_RequestGetListBidding(buffer_arg) {
|
|
78
|
+
return prisca_v1_bidding_bidding_pb.RequestGetListBidding.deserializeBinary(new Uint8Array(buffer_arg));
|
|
68
79
|
}
|
|
69
80
|
|
|
70
|
-
function
|
|
71
|
-
if (!(arg instanceof prisca_v1_bidding_bidding_pb.
|
|
72
|
-
throw new Error('Expected argument of type
|
|
81
|
+
function serialize_RequestPO(arg) {
|
|
82
|
+
if (!(arg instanceof prisca_v1_bidding_bidding_pb.RequestPO)) {
|
|
83
|
+
throw new Error('Expected argument of type RequestPO');
|
|
73
84
|
}
|
|
74
85
|
return Buffer.from(arg.serializeBinary());
|
|
75
86
|
}
|
|
76
87
|
|
|
77
|
-
function
|
|
78
|
-
return prisca_v1_bidding_bidding_pb.
|
|
88
|
+
function deserialize_RequestPO(buffer_arg) {
|
|
89
|
+
return prisca_v1_bidding_bidding_pb.RequestPO.deserializeBinary(new Uint8Array(buffer_arg));
|
|
79
90
|
}
|
|
80
91
|
|
|
81
92
|
function serialize_ResponseBidding(arg) {
|
|
@@ -100,6 +111,17 @@ function deserialize_ResponseGetListBidding(buffer_arg) {
|
|
|
100
111
|
return prisca_v1_bidding_bidding_pb.ResponseGetListBidding.deserializeBinary(new Uint8Array(buffer_arg));
|
|
101
112
|
}
|
|
102
113
|
|
|
114
|
+
function serialize_ResponseRequestPo(arg) {
|
|
115
|
+
if (!(arg instanceof prisca_v1_bidding_bidding_pb.ResponseRequestPo)) {
|
|
116
|
+
throw new Error('Expected argument of type ResponseRequestPo');
|
|
117
|
+
}
|
|
118
|
+
return Buffer.from(arg.serializeBinary());
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
function deserialize_ResponseRequestPo(buffer_arg) {
|
|
122
|
+
return prisca_v1_bidding_bidding_pb.ResponseRequestPo.deserializeBinary(new Uint8Array(buffer_arg));
|
|
123
|
+
}
|
|
124
|
+
|
|
103
125
|
function serialize_UpdateBiddingReq(arg) {
|
|
104
126
|
if (!(arg instanceof prisca_v1_bidding_bidding_pb.UpdateBiddingReq)) {
|
|
105
127
|
throw new Error('Expected argument of type UpdateBiddingReq');
|
|
@@ -111,16 +133,27 @@ function deserialize_UpdateBiddingReq(buffer_arg) {
|
|
|
111
133
|
return prisca_v1_bidding_bidding_pb.UpdateBiddingReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
112
134
|
}
|
|
113
135
|
|
|
136
|
+
function serialize_UpdateBiddingStatusReq(arg) {
|
|
137
|
+
if (!(arg instanceof prisca_v1_bidding_bidding_pb.UpdateBiddingStatusReq)) {
|
|
138
|
+
throw new Error('Expected argument of type UpdateBiddingStatusReq');
|
|
139
|
+
}
|
|
140
|
+
return Buffer.from(arg.serializeBinary());
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
function deserialize_UpdateBiddingStatusReq(buffer_arg) {
|
|
144
|
+
return prisca_v1_bidding_bidding_pb.UpdateBiddingStatusReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
145
|
+
}
|
|
146
|
+
|
|
114
147
|
|
|
115
148
|
var BiddingServiceService = exports.BiddingServiceService = {
|
|
116
149
|
createBidding: {
|
|
117
150
|
path: '/BiddingService/CreateBidding',
|
|
118
151
|
requestStream: false,
|
|
119
152
|
responseStream: false,
|
|
120
|
-
requestType:
|
|
153
|
+
requestType: prisca_v1_bidding_bidding_pb.CreateBiddingRequest,
|
|
121
154
|
responseType: prisca_v1_bidding_bidding_pb.ResponseBidding,
|
|
122
|
-
requestSerialize:
|
|
123
|
-
requestDeserialize:
|
|
155
|
+
requestSerialize: serialize_CreateBiddingRequest,
|
|
156
|
+
requestDeserialize: deserialize_CreateBiddingRequest,
|
|
124
157
|
responseSerialize: serialize_ResponseBidding,
|
|
125
158
|
responseDeserialize: deserialize_ResponseBidding,
|
|
126
159
|
},
|
|
@@ -168,6 +201,29 @@ var BiddingServiceService = exports.BiddingServiceService = {
|
|
|
168
201
|
responseSerialize: serialize_GetBiddingByIdResponse,
|
|
169
202
|
responseDeserialize: deserialize_GetBiddingByIdResponse,
|
|
170
203
|
},
|
|
204
|
+
requestForPO: {
|
|
205
|
+
path: '/BiddingService/RequestForPO',
|
|
206
|
+
requestStream: false,
|
|
207
|
+
responseStream: false,
|
|
208
|
+
requestType: prisca_v1_bidding_bidding_pb.RequestPO,
|
|
209
|
+
responseType: prisca_v1_bidding_bidding_pb.ResponseRequestPo,
|
|
210
|
+
requestSerialize: serialize_RequestPO,
|
|
211
|
+
requestDeserialize: deserialize_RequestPO,
|
|
212
|
+
responseSerialize: serialize_ResponseRequestPo,
|
|
213
|
+
responseDeserialize: deserialize_ResponseRequestPo,
|
|
214
|
+
},
|
|
215
|
+
updateBiddingStatus: {
|
|
216
|
+
path: '/BiddingService/UpdateBiddingStatus',
|
|
217
|
+
requestStream: false,
|
|
218
|
+
responseStream: false,
|
|
219
|
+
requestType: prisca_v1_bidding_bidding_pb.UpdateBiddingStatusReq,
|
|
220
|
+
responseType: prisca_v1_bidding_bidding_pb.ResponseBidding,
|
|
221
|
+
requestSerialize: serialize_UpdateBiddingStatusReq,
|
|
222
|
+
requestDeserialize: deserialize_UpdateBiddingStatusReq,
|
|
223
|
+
responseSerialize: serialize_ResponseBidding,
|
|
224
|
+
responseDeserialize: deserialize_ResponseBidding,
|
|
225
|
+
},
|
|
226
|
+
// rpc SetValuation (ValuationReq) returns (ValuationRes);
|
|
171
227
|
};
|
|
172
228
|
|
|
173
229
|
exports.BiddingServiceClient = grpc.makeGenericClientConstructor(BiddingServiceService, 'BiddingService');
|