@aldiokta/protocgen 1.1.29 → 1.1.30
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 +1 -0
- package/prisca/v1/bidding/bidding_pb.js +206 -3
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +256 -16
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +61 -1
- package/prisca/v1/core/messaging/notification_grpc_pb.js +22 -0
- package/prisca/v1/core/messaging/notification_pb.js +425 -42
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +31 -1
- package/prisca/v1/delivery_order/delivery_order_pb.js +20 -1140
- package/prisca/v1/good_receipt/good_receipt_pb.js +25 -1235
- package/prisca/v1/invoice/invoice_pb.js +1588 -1562
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +1 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +4156 -21
- package/prisca/v1/quotation/quotation_grpc_pb.js +33 -0
- package/prisca/v1/quotation/quotation_pb.js +381 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +31 -1
|
@@ -376,7 +376,9 @@ updatedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
|
376
376
|
documentType: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
377
377
|
employees: (f = msg.getEmployees()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
378
378
|
approvalNote: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
379
|
-
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
379
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
380
|
+
groupReference: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
381
|
+
sequence: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
380
382
|
};
|
|
381
383
|
|
|
382
384
|
if (includeInstance) {
|
|
@@ -462,6 +464,14 @@ proto.LineOfApproval.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
462
464
|
var value = /** @type {string} */ (reader.readString());
|
|
463
465
|
msg.setCompaniesReferencesId(value);
|
|
464
466
|
break;
|
|
467
|
+
case 13:
|
|
468
|
+
var value = /** @type {string} */ (reader.readString());
|
|
469
|
+
msg.setGroupReference(value);
|
|
470
|
+
break;
|
|
471
|
+
case 14:
|
|
472
|
+
var value = /** @type {string} */ (reader.readString());
|
|
473
|
+
msg.setSequence(value);
|
|
474
|
+
break;
|
|
465
475
|
default:
|
|
466
476
|
reader.skipField();
|
|
467
477
|
break;
|
|
@@ -576,6 +586,20 @@ proto.LineOfApproval.serializeBinaryToWriter = function(message, writer) {
|
|
|
576
586
|
f
|
|
577
587
|
);
|
|
578
588
|
}
|
|
589
|
+
f = message.getGroupReference();
|
|
590
|
+
if (f.length > 0) {
|
|
591
|
+
writer.writeString(
|
|
592
|
+
13,
|
|
593
|
+
f
|
|
594
|
+
);
|
|
595
|
+
}
|
|
596
|
+
f = message.getSequence();
|
|
597
|
+
if (f.length > 0) {
|
|
598
|
+
writer.writeString(
|
|
599
|
+
14,
|
|
600
|
+
f
|
|
601
|
+
);
|
|
602
|
+
}
|
|
579
603
|
};
|
|
580
604
|
|
|
581
605
|
|
|
@@ -814,6 +838,42 @@ proto.LineOfApproval.prototype.setCompaniesReferencesId = function(value) {
|
|
|
814
838
|
};
|
|
815
839
|
|
|
816
840
|
|
|
841
|
+
/**
|
|
842
|
+
* optional string group_reference = 13;
|
|
843
|
+
* @return {string}
|
|
844
|
+
*/
|
|
845
|
+
proto.LineOfApproval.prototype.getGroupReference = function() {
|
|
846
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
847
|
+
};
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* @param {string} value
|
|
852
|
+
* @return {!proto.LineOfApproval} returns this
|
|
853
|
+
*/
|
|
854
|
+
proto.LineOfApproval.prototype.setGroupReference = function(value) {
|
|
855
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
856
|
+
};
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* optional string sequence = 14;
|
|
861
|
+
* @return {string}
|
|
862
|
+
*/
|
|
863
|
+
proto.LineOfApproval.prototype.getSequence = function() {
|
|
864
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
865
|
+
};
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* @param {string} value
|
|
870
|
+
* @return {!proto.LineOfApproval} returns this
|
|
871
|
+
*/
|
|
872
|
+
proto.LineOfApproval.prototype.setSequence = function(value) {
|
|
873
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
|
|
817
877
|
|
|
818
878
|
|
|
819
879
|
|
|
@@ -5,6 +5,17 @@ var grpc = require('@grpc/grpc-js');
|
|
|
5
5
|
var prisca_v1_core_messaging_notification_pb = require('../../../../prisca/v1/core/messaging/notification_pb.js');
|
|
6
6
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
7
|
|
|
8
|
+
function serialize_CountUnreadNotificationEmployeeRes(arg) {
|
|
9
|
+
if (!(arg instanceof prisca_v1_core_messaging_notification_pb.CountUnreadNotificationEmployeeRes)) {
|
|
10
|
+
throw new Error('Expected argument of type CountUnreadNotificationEmployeeRes');
|
|
11
|
+
}
|
|
12
|
+
return Buffer.from(arg.serializeBinary());
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function deserialize_CountUnreadNotificationEmployeeRes(buffer_arg) {
|
|
16
|
+
return prisca_v1_core_messaging_notification_pb.CountUnreadNotificationEmployeeRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
17
|
+
}
|
|
18
|
+
|
|
8
19
|
function serialize_CreateNotificationReq(arg) {
|
|
9
20
|
if (!(arg instanceof prisca_v1_core_messaging_notification_pb.CreateNotificationReq)) {
|
|
10
21
|
throw new Error('Expected argument of type CreateNotificationReq');
|
|
@@ -183,6 +194,17 @@ var NotificationServiceService = exports.NotificationServiceService = {
|
|
|
183
194
|
responseSerialize: serialize_NotificationEmployeeItem,
|
|
184
195
|
responseDeserialize: deserialize_NotificationEmployeeItem,
|
|
185
196
|
},
|
|
197
|
+
countUnReadNotificationEmployee: {
|
|
198
|
+
path: '/NotificationService/CountUnReadNotificationEmployee',
|
|
199
|
+
requestStream: false,
|
|
200
|
+
responseStream: false,
|
|
201
|
+
requestType: prisca_v1_core_messaging_notification_pb.EmptyMessage,
|
|
202
|
+
responseType: prisca_v1_core_messaging_notification_pb.CountUnreadNotificationEmployeeRes,
|
|
203
|
+
requestSerialize: serialize_EmptyMessage,
|
|
204
|
+
requestDeserialize: deserialize_EmptyMessage,
|
|
205
|
+
responseSerialize: serialize_CountUnreadNotificationEmployeeRes,
|
|
206
|
+
responseDeserialize: deserialize_CountUnreadNotificationEmployeeRes,
|
|
207
|
+
},
|
|
186
208
|
};
|
|
187
209
|
|
|
188
210
|
exports.NotificationServiceClient = grpc.makeGenericClientConstructor(NotificationServiceService, 'NotificationService');
|