@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.
- package/package.json +1 -1
- package/prisca/v1/bidding/bidding_grpc_pb.js +97 -8
- package/prisca/v1/bidding/bidding_pb.js +1506 -178
- package/prisca/v1/core/company/company_pb.js +77 -25
- package/prisca/v1/core/employee/employee_pb.js +74 -22
- package/prisca/v1/core/file_upload/file_upload_pb.js +183 -3
- 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 +304 -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_grpc_pb.js +1 -1
- package/prisca/v1/purchase_order/purchase_order_pb.js +464 -404
- 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/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/valuation/valuation_grpc_pb.js +365 -0
- package/prisca/v1/valuation/valuation_pb.js +7729 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +31 -1
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,15 +67,15 @@ 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_RequestAddVendorBidding(arg) {
|
|
71
|
+
if (!(arg instanceof prisca_v1_bidding_bidding_pb.RequestAddVendorBidding)) {
|
|
72
|
+
throw new Error('Expected argument of type RequestAddVendorBidding');
|
|
62
73
|
}
|
|
63
74
|
return Buffer.from(arg.serializeBinary());
|
|
64
75
|
}
|
|
65
76
|
|
|
66
|
-
function
|
|
67
|
-
return
|
|
77
|
+
function deserialize_RequestAddVendorBidding(buffer_arg) {
|
|
78
|
+
return prisca_v1_bidding_bidding_pb.RequestAddVendorBidding.deserializeBinary(new Uint8Array(buffer_arg));
|
|
68
79
|
}
|
|
69
80
|
|
|
70
81
|
function serialize_RequestGetListBidding(arg) {
|
|
@@ -78,6 +89,28 @@ function deserialize_RequestGetListBidding(buffer_arg) {
|
|
|
78
89
|
return prisca_v1_bidding_bidding_pb.RequestGetListBidding.deserializeBinary(new Uint8Array(buffer_arg));
|
|
79
90
|
}
|
|
80
91
|
|
|
92
|
+
function serialize_RequestPO(arg) {
|
|
93
|
+
if (!(arg instanceof prisca_v1_bidding_bidding_pb.RequestPO)) {
|
|
94
|
+
throw new Error('Expected argument of type RequestPO');
|
|
95
|
+
}
|
|
96
|
+
return Buffer.from(arg.serializeBinary());
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function deserialize_RequestPO(buffer_arg) {
|
|
100
|
+
return prisca_v1_bidding_bidding_pb.RequestPO.deserializeBinary(new Uint8Array(buffer_arg));
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function serialize_ResponseAddVendorBidding(arg) {
|
|
104
|
+
if (!(arg instanceof prisca_v1_bidding_bidding_pb.ResponseAddVendorBidding)) {
|
|
105
|
+
throw new Error('Expected argument of type ResponseAddVendorBidding');
|
|
106
|
+
}
|
|
107
|
+
return Buffer.from(arg.serializeBinary());
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
function deserialize_ResponseAddVendorBidding(buffer_arg) {
|
|
111
|
+
return prisca_v1_bidding_bidding_pb.ResponseAddVendorBidding.deserializeBinary(new Uint8Array(buffer_arg));
|
|
112
|
+
}
|
|
113
|
+
|
|
81
114
|
function serialize_ResponseBidding(arg) {
|
|
82
115
|
if (!(arg instanceof prisca_v1_bidding_bidding_pb.ResponseBidding)) {
|
|
83
116
|
throw new Error('Expected argument of type ResponseBidding');
|
|
@@ -100,6 +133,17 @@ function deserialize_ResponseGetListBidding(buffer_arg) {
|
|
|
100
133
|
return prisca_v1_bidding_bidding_pb.ResponseGetListBidding.deserializeBinary(new Uint8Array(buffer_arg));
|
|
101
134
|
}
|
|
102
135
|
|
|
136
|
+
function serialize_ResponseRequestPo(arg) {
|
|
137
|
+
if (!(arg instanceof prisca_v1_bidding_bidding_pb.ResponseRequestPo)) {
|
|
138
|
+
throw new Error('Expected argument of type ResponseRequestPo');
|
|
139
|
+
}
|
|
140
|
+
return Buffer.from(arg.serializeBinary());
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
function deserialize_ResponseRequestPo(buffer_arg) {
|
|
144
|
+
return prisca_v1_bidding_bidding_pb.ResponseRequestPo.deserializeBinary(new Uint8Array(buffer_arg));
|
|
145
|
+
}
|
|
146
|
+
|
|
103
147
|
function serialize_UpdateBiddingReq(arg) {
|
|
104
148
|
if (!(arg instanceof prisca_v1_bidding_bidding_pb.UpdateBiddingReq)) {
|
|
105
149
|
throw new Error('Expected argument of type UpdateBiddingReq');
|
|
@@ -111,16 +155,27 @@ function deserialize_UpdateBiddingReq(buffer_arg) {
|
|
|
111
155
|
return prisca_v1_bidding_bidding_pb.UpdateBiddingReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
112
156
|
}
|
|
113
157
|
|
|
158
|
+
function serialize_UpdateBiddingStatusReq(arg) {
|
|
159
|
+
if (!(arg instanceof prisca_v1_bidding_bidding_pb.UpdateBiddingStatusReq)) {
|
|
160
|
+
throw new Error('Expected argument of type UpdateBiddingStatusReq');
|
|
161
|
+
}
|
|
162
|
+
return Buffer.from(arg.serializeBinary());
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
function deserialize_UpdateBiddingStatusReq(buffer_arg) {
|
|
166
|
+
return prisca_v1_bidding_bidding_pb.UpdateBiddingStatusReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
167
|
+
}
|
|
168
|
+
|
|
114
169
|
|
|
115
170
|
var BiddingServiceService = exports.BiddingServiceService = {
|
|
116
171
|
createBidding: {
|
|
117
172
|
path: '/BiddingService/CreateBidding',
|
|
118
173
|
requestStream: false,
|
|
119
174
|
responseStream: false,
|
|
120
|
-
requestType:
|
|
175
|
+
requestType: prisca_v1_bidding_bidding_pb.CreateBiddingRequest,
|
|
121
176
|
responseType: prisca_v1_bidding_bidding_pb.ResponseBidding,
|
|
122
|
-
requestSerialize:
|
|
123
|
-
requestDeserialize:
|
|
177
|
+
requestSerialize: serialize_CreateBiddingRequest,
|
|
178
|
+
requestDeserialize: deserialize_CreateBiddingRequest,
|
|
124
179
|
responseSerialize: serialize_ResponseBidding,
|
|
125
180
|
responseDeserialize: deserialize_ResponseBidding,
|
|
126
181
|
},
|
|
@@ -168,6 +223,40 @@ var BiddingServiceService = exports.BiddingServiceService = {
|
|
|
168
223
|
responseSerialize: serialize_GetBiddingByIdResponse,
|
|
169
224
|
responseDeserialize: deserialize_GetBiddingByIdResponse,
|
|
170
225
|
},
|
|
226
|
+
requestForPO: {
|
|
227
|
+
path: '/BiddingService/RequestForPO',
|
|
228
|
+
requestStream: false,
|
|
229
|
+
responseStream: false,
|
|
230
|
+
requestType: prisca_v1_bidding_bidding_pb.RequestPO,
|
|
231
|
+
responseType: prisca_v1_bidding_bidding_pb.ResponseRequestPo,
|
|
232
|
+
requestSerialize: serialize_RequestPO,
|
|
233
|
+
requestDeserialize: deserialize_RequestPO,
|
|
234
|
+
responseSerialize: serialize_ResponseRequestPo,
|
|
235
|
+
responseDeserialize: deserialize_ResponseRequestPo,
|
|
236
|
+
},
|
|
237
|
+
updateBiddingStatus: {
|
|
238
|
+
path: '/BiddingService/UpdateBiddingStatus',
|
|
239
|
+
requestStream: false,
|
|
240
|
+
responseStream: false,
|
|
241
|
+
requestType: prisca_v1_bidding_bidding_pb.UpdateBiddingStatusReq,
|
|
242
|
+
responseType: prisca_v1_bidding_bidding_pb.ResponseBidding,
|
|
243
|
+
requestSerialize: serialize_UpdateBiddingStatusReq,
|
|
244
|
+
requestDeserialize: deserialize_UpdateBiddingStatusReq,
|
|
245
|
+
responseSerialize: serialize_ResponseBidding,
|
|
246
|
+
responseDeserialize: deserialize_ResponseBidding,
|
|
247
|
+
},
|
|
248
|
+
addVendorBidding: {
|
|
249
|
+
path: '/BiddingService/AddVendorBidding',
|
|
250
|
+
requestStream: false,
|
|
251
|
+
responseStream: false,
|
|
252
|
+
requestType: prisca_v1_bidding_bidding_pb.RequestAddVendorBidding,
|
|
253
|
+
responseType: prisca_v1_bidding_bidding_pb.ResponseAddVendorBidding,
|
|
254
|
+
requestSerialize: serialize_RequestAddVendorBidding,
|
|
255
|
+
requestDeserialize: deserialize_RequestAddVendorBidding,
|
|
256
|
+
responseSerialize: serialize_ResponseAddVendorBidding,
|
|
257
|
+
responseDeserialize: deserialize_ResponseAddVendorBidding,
|
|
258
|
+
},
|
|
259
|
+
// rpc SetValuation (ValuationReq) returns (ValuationRes);
|
|
171
260
|
};
|
|
172
261
|
|
|
173
262
|
exports.BiddingServiceClient = grpc.makeGenericClientConstructor(BiddingServiceService, 'BiddingService');
|