@aldiokta/protocgen 1.1.20 → 1.1.21
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 +69 -13
- package/prisca/v1/bidding/bidding_pb.js +833 -114
- package/prisca/v1/core/file_upload/file_upload_pb.js +183 -3
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +31 -1
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +1 -1
- package/prisca/v1/purchase_order/purchase_order_pb.js +373 -403
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +11 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +13 -13
- package/prisca/v1/valuation/valuation_grpc_pb.js +365 -0
- package/prisca/v1/valuation/valuation_pb.js +7729 -0
|
@@ -142,7 +142,9 @@ proto.FileInfo.prototype.toObject = function(opt_includeInstance) {
|
|
|
142
142
|
*/
|
|
143
143
|
proto.FileInfo.toObject = function(includeInstance, msg) {
|
|
144
144
|
var f, obj = {
|
|
145
|
-
fileName: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
145
|
+
fileName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
146
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
147
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
146
148
|
};
|
|
147
149
|
|
|
148
150
|
if (includeInstance) {
|
|
@@ -183,6 +185,14 @@ proto.FileInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
183
185
|
var value = /** @type {string} */ (reader.readString());
|
|
184
186
|
msg.setFileName(value);
|
|
185
187
|
break;
|
|
188
|
+
case 2:
|
|
189
|
+
var value = /** @type {string} */ (reader.readString());
|
|
190
|
+
msg.setName(value);
|
|
191
|
+
break;
|
|
192
|
+
case 3:
|
|
193
|
+
var value = /** @type {string} */ (reader.readString());
|
|
194
|
+
msg.setDescription(value);
|
|
195
|
+
break;
|
|
186
196
|
default:
|
|
187
197
|
reader.skipField();
|
|
188
198
|
break;
|
|
@@ -219,6 +229,20 @@ proto.FileInfo.serializeBinaryToWriter = function(message, writer) {
|
|
|
219
229
|
f
|
|
220
230
|
);
|
|
221
231
|
}
|
|
232
|
+
f = message.getName();
|
|
233
|
+
if (f.length > 0) {
|
|
234
|
+
writer.writeString(
|
|
235
|
+
2,
|
|
236
|
+
f
|
|
237
|
+
);
|
|
238
|
+
}
|
|
239
|
+
f = message.getDescription();
|
|
240
|
+
if (f.length > 0) {
|
|
241
|
+
writer.writeString(
|
|
242
|
+
3,
|
|
243
|
+
f
|
|
244
|
+
);
|
|
245
|
+
}
|
|
222
246
|
};
|
|
223
247
|
|
|
224
248
|
|
|
@@ -240,6 +264,42 @@ proto.FileInfo.prototype.setFileName = function(value) {
|
|
|
240
264
|
};
|
|
241
265
|
|
|
242
266
|
|
|
267
|
+
/**
|
|
268
|
+
* optional string name = 2;
|
|
269
|
+
* @return {string}
|
|
270
|
+
*/
|
|
271
|
+
proto.FileInfo.prototype.getName = function() {
|
|
272
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* @param {string} value
|
|
278
|
+
* @return {!proto.FileInfo} returns this
|
|
279
|
+
*/
|
|
280
|
+
proto.FileInfo.prototype.setName = function(value) {
|
|
281
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* optional string description = 3;
|
|
287
|
+
* @return {string}
|
|
288
|
+
*/
|
|
289
|
+
proto.FileInfo.prototype.getDescription = function() {
|
|
290
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* @param {string} value
|
|
296
|
+
* @return {!proto.FileInfo} returns this
|
|
297
|
+
*/
|
|
298
|
+
proto.FileInfo.prototype.setDescription = function(value) {
|
|
299
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
|
|
243
303
|
|
|
244
304
|
/**
|
|
245
305
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -523,7 +583,9 @@ proto.FileUploadReferencesReq.toObject = function(includeInstance, msg) {
|
|
|
523
583
|
var f, obj = {
|
|
524
584
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
525
585
|
url: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
526
|
-
fileName: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
586
|
+
fileName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
587
|
+
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
588
|
+
description: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
527
589
|
};
|
|
528
590
|
|
|
529
591
|
if (includeInstance) {
|
|
@@ -572,6 +634,14 @@ proto.FileUploadReferencesReq.deserializeBinaryFromReader = function(msg, reader
|
|
|
572
634
|
var value = /** @type {string} */ (reader.readString());
|
|
573
635
|
msg.setFileName(value);
|
|
574
636
|
break;
|
|
637
|
+
case 4:
|
|
638
|
+
var value = /** @type {string} */ (reader.readString());
|
|
639
|
+
msg.setName(value);
|
|
640
|
+
break;
|
|
641
|
+
case 5:
|
|
642
|
+
var value = /** @type {string} */ (reader.readString());
|
|
643
|
+
msg.setDescription(value);
|
|
644
|
+
break;
|
|
575
645
|
default:
|
|
576
646
|
reader.skipField();
|
|
577
647
|
break;
|
|
@@ -622,6 +692,20 @@ proto.FileUploadReferencesReq.serializeBinaryToWriter = function(message, writer
|
|
|
622
692
|
f
|
|
623
693
|
);
|
|
624
694
|
}
|
|
695
|
+
f = message.getName();
|
|
696
|
+
if (f.length > 0) {
|
|
697
|
+
writer.writeString(
|
|
698
|
+
4,
|
|
699
|
+
f
|
|
700
|
+
);
|
|
701
|
+
}
|
|
702
|
+
f = message.getDescription();
|
|
703
|
+
if (f.length > 0) {
|
|
704
|
+
writer.writeString(
|
|
705
|
+
5,
|
|
706
|
+
f
|
|
707
|
+
);
|
|
708
|
+
}
|
|
625
709
|
};
|
|
626
710
|
|
|
627
711
|
|
|
@@ -679,6 +763,42 @@ proto.FileUploadReferencesReq.prototype.setFileName = function(value) {
|
|
|
679
763
|
};
|
|
680
764
|
|
|
681
765
|
|
|
766
|
+
/**
|
|
767
|
+
* optional string name = 4;
|
|
768
|
+
* @return {string}
|
|
769
|
+
*/
|
|
770
|
+
proto.FileUploadReferencesReq.prototype.getName = function() {
|
|
771
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
772
|
+
};
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* @param {string} value
|
|
777
|
+
* @return {!proto.FileUploadReferencesReq} returns this
|
|
778
|
+
*/
|
|
779
|
+
proto.FileUploadReferencesReq.prototype.setName = function(value) {
|
|
780
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
781
|
+
};
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* optional string description = 5;
|
|
786
|
+
* @return {string}
|
|
787
|
+
*/
|
|
788
|
+
proto.FileUploadReferencesReq.prototype.getDescription = function() {
|
|
789
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
790
|
+
};
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* @param {string} value
|
|
795
|
+
* @return {!proto.FileUploadReferencesReq} returns this
|
|
796
|
+
*/
|
|
797
|
+
proto.FileUploadReferencesReq.prototype.setDescription = function(value) {
|
|
798
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
799
|
+
};
|
|
800
|
+
|
|
801
|
+
|
|
682
802
|
|
|
683
803
|
|
|
684
804
|
|
|
@@ -713,7 +833,9 @@ proto.FileUploadRes.toObject = function(includeInstance, msg) {
|
|
|
713
833
|
var f, obj = {
|
|
714
834
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
715
835
|
url: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
716
|
-
fileName: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
836
|
+
fileName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
837
|
+
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
838
|
+
description: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
717
839
|
};
|
|
718
840
|
|
|
719
841
|
if (includeInstance) {
|
|
@@ -762,6 +884,14 @@ proto.FileUploadRes.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
762
884
|
var value = /** @type {string} */ (reader.readString());
|
|
763
885
|
msg.setFileName(value);
|
|
764
886
|
break;
|
|
887
|
+
case 4:
|
|
888
|
+
var value = /** @type {string} */ (reader.readString());
|
|
889
|
+
msg.setName(value);
|
|
890
|
+
break;
|
|
891
|
+
case 5:
|
|
892
|
+
var value = /** @type {string} */ (reader.readString());
|
|
893
|
+
msg.setDescription(value);
|
|
894
|
+
break;
|
|
765
895
|
default:
|
|
766
896
|
reader.skipField();
|
|
767
897
|
break;
|
|
@@ -812,6 +942,20 @@ proto.FileUploadRes.serializeBinaryToWriter = function(message, writer) {
|
|
|
812
942
|
f
|
|
813
943
|
);
|
|
814
944
|
}
|
|
945
|
+
f = message.getName();
|
|
946
|
+
if (f.length > 0) {
|
|
947
|
+
writer.writeString(
|
|
948
|
+
4,
|
|
949
|
+
f
|
|
950
|
+
);
|
|
951
|
+
}
|
|
952
|
+
f = message.getDescription();
|
|
953
|
+
if (f.length > 0) {
|
|
954
|
+
writer.writeString(
|
|
955
|
+
5,
|
|
956
|
+
f
|
|
957
|
+
);
|
|
958
|
+
}
|
|
815
959
|
};
|
|
816
960
|
|
|
817
961
|
|
|
@@ -869,4 +1013,40 @@ proto.FileUploadRes.prototype.setFileName = function(value) {
|
|
|
869
1013
|
};
|
|
870
1014
|
|
|
871
1015
|
|
|
1016
|
+
/**
|
|
1017
|
+
* optional string name = 4;
|
|
1018
|
+
* @return {string}
|
|
1019
|
+
*/
|
|
1020
|
+
proto.FileUploadRes.prototype.getName = function() {
|
|
1021
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1022
|
+
};
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* @param {string} value
|
|
1027
|
+
* @return {!proto.FileUploadRes} returns this
|
|
1028
|
+
*/
|
|
1029
|
+
proto.FileUploadRes.prototype.setName = function(value) {
|
|
1030
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1031
|
+
};
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* optional string description = 5;
|
|
1036
|
+
* @return {string}
|
|
1037
|
+
*/
|
|
1038
|
+
proto.FileUploadRes.prototype.getDescription = function() {
|
|
1039
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1040
|
+
};
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* @param {string} value
|
|
1045
|
+
* @return {!proto.FileUploadRes} returns this
|
|
1046
|
+
*/
|
|
1047
|
+
proto.FileUploadRes.prototype.setDescription = function(value) {
|
|
1048
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1051
|
+
|
|
872
1052
|
goog.object.extend(exports, proto);
|
|
@@ -2270,7 +2270,8 @@ previousReferences: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
|
2270
2270
|
previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
2271
2271
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
2272
2272
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
2273
|
-
currency: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
2273
|
+
currency: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
2274
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
2274
2275
|
};
|
|
2275
2276
|
|
|
2276
2277
|
if (includeInstance) {
|
|
@@ -2382,6 +2383,10 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2382
2383
|
var value = /** @type {string} */ (reader.readString());
|
|
2383
2384
|
msg.setCurrency(value);
|
|
2384
2385
|
break;
|
|
2386
|
+
case 19:
|
|
2387
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2388
|
+
msg.setReferencesId(value);
|
|
2389
|
+
break;
|
|
2385
2390
|
default:
|
|
2386
2391
|
reader.skipField();
|
|
2387
2392
|
break;
|
|
@@ -2540,6 +2545,13 @@ proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
2540
2545
|
f
|
|
2541
2546
|
);
|
|
2542
2547
|
}
|
|
2548
|
+
f = message.getReferencesId();
|
|
2549
|
+
if (f.length > 0) {
|
|
2550
|
+
writer.writeString(
|
|
2551
|
+
19,
|
|
2552
|
+
f
|
|
2553
|
+
);
|
|
2554
|
+
}
|
|
2543
2555
|
};
|
|
2544
2556
|
|
|
2545
2557
|
|
|
@@ -2927,6 +2939,24 @@ proto.BaseItemTransaction.prototype.setCurrency = function(value) {
|
|
|
2927
2939
|
};
|
|
2928
2940
|
|
|
2929
2941
|
|
|
2942
|
+
/**
|
|
2943
|
+
* optional string references_id = 19;
|
|
2944
|
+
* @return {string}
|
|
2945
|
+
*/
|
|
2946
|
+
proto.BaseItemTransaction.prototype.getReferencesId = function() {
|
|
2947
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
2948
|
+
};
|
|
2949
|
+
|
|
2950
|
+
|
|
2951
|
+
/**
|
|
2952
|
+
* @param {string} value
|
|
2953
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
2954
|
+
*/
|
|
2955
|
+
proto.BaseItemTransaction.prototype.setReferencesId = function(value) {
|
|
2956
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
2957
|
+
};
|
|
2958
|
+
|
|
2959
|
+
|
|
2930
2960
|
|
|
2931
2961
|
/**
|
|
2932
2962
|
* List of repeated fields within this message type.
|
|
@@ -8,8 +8,8 @@ var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core
|
|
|
8
8
|
var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
|
|
9
9
|
var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../prisca/v1/core/item_transaction/item_transaction_pb.js');
|
|
10
10
|
var prisca_v1_vendor_domain_vendor_domain_pb = require('../../../prisca/v1/vendor_domain/vendor_domain_pb.js');
|
|
11
|
-
var prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb = require('../../../prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js');
|
|
12
11
|
var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
|
|
12
|
+
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
13
13
|
|
|
14
14
|
function serialize_CreatePurchaseOrderRequest(arg) {
|
|
15
15
|
if (!(arg instanceof prisca_v1_purchase_order_purchase_order_pb.CreatePurchaseOrderRequest)) {
|