@aldiokta/protocgen 1.1.51 → 1.1.53

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.
Files changed (54) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +23 -0
  3. package/prisca/v1/bidding/bidding_pb.js +463 -2
  4. package/prisca/v1/budget/budget_grpc_pb.js +213 -0
  5. package/prisca/v1/budget/budget_pb.js +3008 -0
  6. package/prisca/v1/budget_activity/budget_activity_grpc_pb.js +212 -0
  7. package/prisca/v1/budget_activity/budget_activity_pb.js +2886 -0
  8. package/prisca/v1/budget_categories/budget_categories_grpc_pb.js +212 -0
  9. package/prisca/v1/budget_categories/budget_categories_pb.js +2916 -0
  10. package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +214 -0
  11. package/prisca/v1/budget_planning/budget_planning_pb.js +3682 -0
  12. package/prisca/v1/business_fields/business_fields_grpc_pb.js +33 -0
  13. package/prisca/v1/business_fields/business_fields_pb.js +356 -0
  14. package/prisca/v1/core/access_api/access_api_grpc_pb.js +204 -0
  15. package/prisca/v1/core/access_api/access_api_pb.js +3024 -0
  16. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +66 -0
  17. package/prisca/v1/core/access_manager/access_manager_pb.js +1758 -19
  18. package/prisca/v1/core/attribute/attribute_grpc_pb.js +474 -0
  19. package/prisca/v1/core/attribute/attribute_pb.js +6550 -0
  20. package/prisca/v1/core/auth/auth_grpc_pb.js +22 -0
  21. package/prisca/v1/core/auth/auth_pb.js +152 -0
  22. package/prisca/v1/core/commodity/commodity_grpc_pb.js +156 -0
  23. package/prisca/v1/core/commodity/commodity_pb.js +1988 -0
  24. package/prisca/v1/core/employee/employee_grpc_pb.js +14 -3
  25. package/prisca/v1/core/employee/employee_pb.js +203 -0
  26. package/prisca/v1/core/identity_provider/identity_provider_grpc_pb.js +156 -0
  27. package/prisca/v1/core/identity_provider/identity_provider_pb.js +2018 -0
  28. package/prisca/v1/core/item_transaction/item_transaction_pb.js +102 -12
  29. package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +65 -35
  30. package/prisca/v1/core/material/material_grpc_pb.js +2 -0
  31. package/prisca/v1/core/material/material_pb.js +420 -2
  32. package/prisca/v1/core/messaging/email_template_grpc_pb.js +33 -0
  33. package/prisca/v1/core/messaging/email_template_pb.js +385 -0
  34. package/prisca/v1/core/number_range/number_range_grpc_pb.js +33 -0
  35. package/prisca/v1/core/number_range/number_range_pb.js +385 -0
  36. package/prisca/v1/core/report/report_pb.js +31 -1
  37. package/prisca/v1/core/tax_code/tax_code_pb.js +14 -14
  38. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
  39. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +364 -0
  40. package/prisca/v1/core/users/users_grpc_pb.js +1 -0
  41. package/prisca/v1/core/users/users_pb.js +2 -0
  42. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +33 -0
  43. package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
  44. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +33 -0
  45. package/prisca/v1/good_receipt/good_receipt_pb.js +36 -6
  46. package/prisca/v1/invoice/invoice_grpc_pb.js +33 -0
  47. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +33 -0
  48. package/prisca/v1/purchase_order/purchase_order_pb.js +717 -29
  49. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +35 -0
  50. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +112 -57
  51. package/prisca/v1/quotation/quotation_pb.js +55 -2
  52. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -123
  53. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +34 -0
  54. 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');