@aldiokta/protocgen 1.1.51 → 1.1.52
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 +23 -0
- package/prisca/v1/bidding/bidding_pb.js +463 -2
- package/prisca/v1/business_fields/business_fields_grpc_pb.js +33 -0
- package/prisca/v1/business_fields/business_fields_pb.js +356 -0
- package/prisca/v1/core/access_api/access_api_grpc_pb.js +204 -0
- package/prisca/v1/core/access_api/access_api_pb.js +3024 -0
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +66 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +1346 -2
- package/prisca/v1/core/attribute/attribute_grpc_pb.js +474 -0
- package/prisca/v1/core/attribute/attribute_pb.js +6550 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +22 -0
- package/prisca/v1/core/auth/auth_pb.js +152 -0
- package/prisca/v1/core/commodity/commodity_grpc_pb.js +156 -0
- package/prisca/v1/core/commodity/commodity_pb.js +1988 -0
- package/prisca/v1/core/employee/employee_grpc_pb.js +14 -3
- package/prisca/v1/core/employee/employee_pb.js +203 -0
- package/prisca/v1/core/identity_provider/identity_provider_grpc_pb.js +156 -0
- package/prisca/v1/core/identity_provider/identity_provider_pb.js +2018 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +62 -2
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +65 -35
- package/prisca/v1/core/material/material_grpc_pb.js +2 -0
- package/prisca/v1/core/material/material_pb.js +420 -2
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +33 -0
- package/prisca/v1/core/messaging/email_template_pb.js +385 -0
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +33 -0
- package/prisca/v1/core/number_range/number_range_pb.js +385 -0
- package/prisca/v1/core/report/report_pb.js +31 -1
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +364 -0
- package/prisca/v1/core/users/users_grpc_pb.js +1 -0
- package/prisca/v1/core/users/users_pb.js +2 -0
- package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +33 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +33 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +36 -6
- package/prisca/v1/invoice/invoice_grpc_pb.js +33 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +33 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +717 -29
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +35 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +112 -57
- package/prisca/v1/quotation/quotation_pb.js +55 -2
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -123
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +34 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +1365 -0
|
@@ -13,6 +13,28 @@ var prisca_v1_core_users_users_pb = require('../../../prisca/v1/core/users/users
|
|
|
13
13
|
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
14
14
|
var prisca_v1_document_type_document_type_pb = require('../../../prisca/v1/document_type/document_type_pb.js');
|
|
15
15
|
|
|
16
|
+
function serialize_CheckAvailableReq(arg) {
|
|
17
|
+
if (!(arg instanceof prisca_v1_purchase_order_purchase_order_pb.CheckAvailableReq)) {
|
|
18
|
+
throw new Error('Expected argument of type CheckAvailableReq');
|
|
19
|
+
}
|
|
20
|
+
return Buffer.from(arg.serializeBinary());
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function deserialize_CheckAvailableReq(buffer_arg) {
|
|
24
|
+
return prisca_v1_purchase_order_purchase_order_pb.CheckAvailableReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function serialize_CheckAvailableRes(arg) {
|
|
28
|
+
if (!(arg instanceof prisca_v1_purchase_order_purchase_order_pb.CheckAvailableRes)) {
|
|
29
|
+
throw new Error('Expected argument of type CheckAvailableRes');
|
|
30
|
+
}
|
|
31
|
+
return Buffer.from(arg.serializeBinary());
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function deserialize_CheckAvailableRes(buffer_arg) {
|
|
35
|
+
return prisca_v1_purchase_order_purchase_order_pb.CheckAvailableRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
36
|
+
}
|
|
37
|
+
|
|
16
38
|
function serialize_CreatePurchaseOrderRequest(arg) {
|
|
17
39
|
if (!(arg instanceof prisca_v1_purchase_order_purchase_order_pb.CreatePurchaseOrderRequest)) {
|
|
18
40
|
throw new Error('Expected argument of type CreatePurchaseOrderRequest');
|
|
@@ -335,6 +357,17 @@ var PurchaseOrderServiceService = exports.PurchaseOrderServiceService = {
|
|
|
335
357
|
responseSerialize: serialize_SetDownPaymentResponse,
|
|
336
358
|
responseDeserialize: deserialize_SetDownPaymentResponse,
|
|
337
359
|
},
|
|
360
|
+
checkAvailable: {
|
|
361
|
+
path: '/PurchaseOrderService/CheckAvailable',
|
|
362
|
+
requestStream: false,
|
|
363
|
+
responseStream: false,
|
|
364
|
+
requestType: prisca_v1_purchase_order_purchase_order_pb.CheckAvailableReq,
|
|
365
|
+
responseType: prisca_v1_purchase_order_purchase_order_pb.CheckAvailableRes,
|
|
366
|
+
requestSerialize: serialize_CheckAvailableReq,
|
|
367
|
+
requestDeserialize: deserialize_CheckAvailableReq,
|
|
368
|
+
responseSerialize: serialize_CheckAvailableRes,
|
|
369
|
+
responseDeserialize: deserialize_CheckAvailableRes,
|
|
370
|
+
},
|
|
338
371
|
};
|
|
339
372
|
|
|
340
373
|
exports.PurchaseOrderServiceClient = grpc.makeGenericClientConstructor(PurchaseOrderServiceService, 'PurchaseOrderService');
|