@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
|
@@ -6,6 +6,7 @@ var prisca_v1_vendor_domain_vendor_domain_pb = require('../../../prisca/v1/vendo
|
|
|
6
6
|
var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
7
|
var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
8
8
|
var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
|
|
9
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
9
10
|
|
|
10
11
|
function serialize_CreateVendorRequest(arg) {
|
|
11
12
|
if (!(arg instanceof prisca_v1_vendor_domain_vendor_domain_pb.CreateVendorRequest)) {
|
|
@@ -139,6 +140,17 @@ function deserialize_RegisterVendorResponse(buffer_arg) {
|
|
|
139
140
|
return prisca_v1_vendor_domain_vendor_domain_pb.RegisterVendorResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
140
141
|
}
|
|
141
142
|
|
|
143
|
+
function serialize_SalesDashboardResponse(arg) {
|
|
144
|
+
if (!(arg instanceof prisca_v1_vendor_domain_vendor_domain_pb.SalesDashboardResponse)) {
|
|
145
|
+
throw new Error('Expected argument of type SalesDashboardResponse');
|
|
146
|
+
}
|
|
147
|
+
return Buffer.from(arg.serializeBinary());
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
function deserialize_SalesDashboardResponse(buffer_arg) {
|
|
151
|
+
return prisca_v1_vendor_domain_vendor_domain_pb.SalesDashboardResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
152
|
+
}
|
|
153
|
+
|
|
142
154
|
function serialize_UpdateVendorRequest(arg) {
|
|
143
155
|
if (!(arg instanceof prisca_v1_vendor_domain_vendor_domain_pb.UpdateVendorRequest)) {
|
|
144
156
|
throw new Error('Expected argument of type UpdateVendorRequest');
|
|
@@ -172,6 +184,17 @@ function deserialize_UpdateVendorStatusRequest(buffer_arg) {
|
|
|
172
184
|
return prisca_v1_vendor_domain_vendor_domain_pb.UpdateVendorStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
173
185
|
}
|
|
174
186
|
|
|
187
|
+
function serialize_google_protobuf_Empty(arg) {
|
|
188
|
+
if (!(arg instanceof google_protobuf_empty_pb.Empty)) {
|
|
189
|
+
throw new Error('Expected argument of type google.protobuf.Empty');
|
|
190
|
+
}
|
|
191
|
+
return Buffer.from(arg.serializeBinary());
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
function deserialize_google_protobuf_Empty(buffer_arg) {
|
|
195
|
+
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
|
196
|
+
}
|
|
197
|
+
|
|
175
198
|
|
|
176
199
|
// Unit of Measurement Service
|
|
177
200
|
var VendorServiceService = exports.VendorServiceService = {
|
|
@@ -285,6 +308,17 @@ var VendorServiceService = exports.VendorServiceService = {
|
|
|
285
308
|
responseSerialize: serialize_DeleteVendorResponse,
|
|
286
309
|
responseDeserialize: deserialize_DeleteVendorResponse,
|
|
287
310
|
},
|
|
311
|
+
summary: {
|
|
312
|
+
path: '/VendorService/Summary',
|
|
313
|
+
requestStream: false,
|
|
314
|
+
responseStream: false,
|
|
315
|
+
requestType: google_protobuf_empty_pb.Empty,
|
|
316
|
+
responseType: prisca_v1_vendor_domain_vendor_domain_pb.SalesDashboardResponse,
|
|
317
|
+
requestSerialize: serialize_google_protobuf_Empty,
|
|
318
|
+
requestDeserialize: deserialize_google_protobuf_Empty,
|
|
319
|
+
responseSerialize: serialize_SalesDashboardResponse,
|
|
320
|
+
responseDeserialize: deserialize_SalesDashboardResponse,
|
|
321
|
+
},
|
|
288
322
|
};
|
|
289
323
|
|
|
290
324
|
exports.VendorServiceClient = grpc.makeGenericClientConstructor(VendorServiceService, 'VendorService');
|