@aldiokta/protocgen 1.1.65 → 1.1.66
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/budget_planning/budget_planning_grpc_pb.js +33 -0
- package/prisca/v1/budget_planning/budget_planning_pb.js +1764 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +35 -0
- package/prisca/v1/core/auth/auth_pb.js +213 -1
- package/prisca/v1/core/currency_exchange_rate/currency_exchange_rate_grpc_pb.js +180 -0
- package/prisca/v1/core/currency_exchange_rate/currency_exchange_rate_pb.js +2696 -0
- package/prisca/v1/core/subscription/subscription_grpc_pb.js +82 -0
- package/prisca/v1/core/subscription/subscription_pb.js +1713 -0
- package/prisca/v1/invoice/invoice_grpc_pb.js +24 -0
- package/prisca/v1/invoice/invoice_pb.js +1102 -108
- package/prisca/v1/purchase_order/purchase_order_pb.js +62 -2
|
@@ -79,6 +79,17 @@ function deserialize_CreateInvoiceWithoutPOReq(buffer_arg) {
|
|
|
79
79
|
return prisca_v1_invoice_invoice_pb.CreateInvoiceWithoutPOReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
+
function serialize_CreateVendorInvoiceWithoutPOReq(arg) {
|
|
83
|
+
if (!(arg instanceof prisca_v1_invoice_invoice_pb.CreateVendorInvoiceWithoutPOReq)) {
|
|
84
|
+
throw new Error('Expected argument of type CreateVendorInvoiceWithoutPOReq');
|
|
85
|
+
}
|
|
86
|
+
return Buffer.from(arg.serializeBinary());
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function deserialize_CreateVendorInvoiceWithoutPOReq(buffer_arg) {
|
|
90
|
+
return prisca_v1_invoice_invoice_pb.CreateVendorInvoiceWithoutPOReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
91
|
+
}
|
|
92
|
+
|
|
82
93
|
function serialize_DeleteInvoiceRequest(arg) {
|
|
83
94
|
if (!(arg instanceof prisca_v1_invoice_invoice_pb.DeleteInvoiceRequest)) {
|
|
84
95
|
throw new Error('Expected argument of type DeleteInvoiceRequest');
|
|
@@ -389,6 +400,19 @@ var InvoiceServiceService = exports.InvoiceServiceService = {
|
|
|
389
400
|
responseSerialize: serialize_CreateInvoiceRes,
|
|
390
401
|
responseDeserialize: deserialize_CreateInvoiceRes,
|
|
391
402
|
},
|
|
403
|
+
// issue-061: invoice without PO yang disubmit vendor dari vendor portal.
|
|
404
|
+
// Identitas vendor + tenant diambil dari context JWT, bukan dari request.
|
|
405
|
+
createVendorInvoiceWithoutPO: {
|
|
406
|
+
path: '/InvoiceService/CreateVendorInvoiceWithoutPO',
|
|
407
|
+
requestStream: false,
|
|
408
|
+
responseStream: false,
|
|
409
|
+
requestType: prisca_v1_invoice_invoice_pb.CreateVendorInvoiceWithoutPOReq,
|
|
410
|
+
responseType: prisca_v1_invoice_invoice_pb.CreateInvoiceRes,
|
|
411
|
+
requestSerialize: serialize_CreateVendorInvoiceWithoutPOReq,
|
|
412
|
+
requestDeserialize: deserialize_CreateVendorInvoiceWithoutPOReq,
|
|
413
|
+
responseSerialize: serialize_CreateInvoiceRes,
|
|
414
|
+
responseDeserialize: deserialize_CreateInvoiceRes,
|
|
415
|
+
},
|
|
392
416
|
};
|
|
393
417
|
|
|
394
418
|
exports.InvoiceServiceClient = grpc.makeGenericClientConstructor(InvoiceServiceService, 'InvoiceService');
|