@aldiokta/protocgen 1.0.75 → 1.0.77
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/core/employee/employee_grpc_pb.js +63 -63
- package/prisca/v1/core/employee/employee_pb.js +604 -604
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +66 -0
- package/prisca/v1/core/file_upload/file_upload_pb.js +864 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +4 -4
- package/prisca/v1/core/material/material_pb.js +8 -8
- package/prisca/v1/core/material_group/material_group_pb.js +8 -8
- package/prisca/v1/core/material_type/material_type_pb.js +8 -8
- package/prisca/v1/core/number_range/number_range_pb.js +8 -8
- package/prisca/v1/core/workflow/workflow_pb.js +15 -15
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +1 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +112 -4
|
@@ -686,17 +686,17 @@ proto.LineOfApproval.prototype.setDocumentType = function(value) {
|
|
|
686
686
|
|
|
687
687
|
|
|
688
688
|
/**
|
|
689
|
-
* optional
|
|
690
|
-
* @return {?proto.
|
|
689
|
+
* optional Employee employees = 10;
|
|
690
|
+
* @return {?proto.Employee}
|
|
691
691
|
*/
|
|
692
692
|
proto.LineOfApproval.prototype.getEmployees = function() {
|
|
693
|
-
return /** @type{?proto.
|
|
693
|
+
return /** @type{?proto.Employee} */ (
|
|
694
694
|
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 10));
|
|
695
695
|
};
|
|
696
696
|
|
|
697
697
|
|
|
698
698
|
/**
|
|
699
|
-
* @param {?proto.
|
|
699
|
+
* @param {?proto.Employee|undefined} value
|
|
700
700
|
* @return {!proto.LineOfApproval} returns this
|
|
701
701
|
*/
|
|
702
702
|
proto.LineOfApproval.prototype.setEmployees = function(value) {
|
|
@@ -1289,17 +1289,17 @@ proto.Material.prototype.setCompaniesReferencesId = function(value) {
|
|
|
1289
1289
|
|
|
1290
1290
|
|
|
1291
1291
|
/**
|
|
1292
|
-
* optional
|
|
1293
|
-
* @return {?proto.
|
|
1292
|
+
* optional Employee created_by_employee = 23;
|
|
1293
|
+
* @return {?proto.Employee}
|
|
1294
1294
|
*/
|
|
1295
1295
|
proto.Material.prototype.getCreatedByEmployee = function() {
|
|
1296
|
-
return /** @type{?proto.
|
|
1296
|
+
return /** @type{?proto.Employee} */ (
|
|
1297
1297
|
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 23));
|
|
1298
1298
|
};
|
|
1299
1299
|
|
|
1300
1300
|
|
|
1301
1301
|
/**
|
|
1302
|
-
* @param {?proto.
|
|
1302
|
+
* @param {?proto.Employee|undefined} value
|
|
1303
1303
|
* @return {!proto.Material} returns this
|
|
1304
1304
|
*/
|
|
1305
1305
|
proto.Material.prototype.setCreatedByEmployee = function(value) {
|
|
@@ -1326,17 +1326,17 @@ proto.Material.prototype.hasCreatedByEmployee = function() {
|
|
|
1326
1326
|
|
|
1327
1327
|
|
|
1328
1328
|
/**
|
|
1329
|
-
* optional
|
|
1330
|
-
* @return {?proto.
|
|
1329
|
+
* optional Employee updated_by_employee = 24;
|
|
1330
|
+
* @return {?proto.Employee}
|
|
1331
1331
|
*/
|
|
1332
1332
|
proto.Material.prototype.getUpdatedByEmployee = function() {
|
|
1333
|
-
return /** @type{?proto.
|
|
1333
|
+
return /** @type{?proto.Employee} */ (
|
|
1334
1334
|
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 24));
|
|
1335
1335
|
};
|
|
1336
1336
|
|
|
1337
1337
|
|
|
1338
1338
|
/**
|
|
1339
|
-
* @param {?proto.
|
|
1339
|
+
* @param {?proto.Employee|undefined} value
|
|
1340
1340
|
* @return {!proto.Material} returns this
|
|
1341
1341
|
*/
|
|
1342
1342
|
proto.Material.prototype.setUpdatedByEmployee = function(value) {
|
|
@@ -718,17 +718,17 @@ proto.MaterialGroup.prototype.setCompaniesReferencesId = function(value) {
|
|
|
718
718
|
|
|
719
719
|
|
|
720
720
|
/**
|
|
721
|
-
* optional
|
|
722
|
-
* @return {?proto.
|
|
721
|
+
* optional Employee created_by_employee = 11;
|
|
722
|
+
* @return {?proto.Employee}
|
|
723
723
|
*/
|
|
724
724
|
proto.MaterialGroup.prototype.getCreatedByEmployee = function() {
|
|
725
|
-
return /** @type{?proto.
|
|
725
|
+
return /** @type{?proto.Employee} */ (
|
|
726
726
|
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 11));
|
|
727
727
|
};
|
|
728
728
|
|
|
729
729
|
|
|
730
730
|
/**
|
|
731
|
-
* @param {?proto.
|
|
731
|
+
* @param {?proto.Employee|undefined} value
|
|
732
732
|
* @return {!proto.MaterialGroup} returns this
|
|
733
733
|
*/
|
|
734
734
|
proto.MaterialGroup.prototype.setCreatedByEmployee = function(value) {
|
|
@@ -755,17 +755,17 @@ proto.MaterialGroup.prototype.hasCreatedByEmployee = function() {
|
|
|
755
755
|
|
|
756
756
|
|
|
757
757
|
/**
|
|
758
|
-
* optional
|
|
759
|
-
* @return {?proto.
|
|
758
|
+
* optional Employee updated_by_employee = 12;
|
|
759
|
+
* @return {?proto.Employee}
|
|
760
760
|
*/
|
|
761
761
|
proto.MaterialGroup.prototype.getUpdatedByEmployee = function() {
|
|
762
|
-
return /** @type{?proto.
|
|
762
|
+
return /** @type{?proto.Employee} */ (
|
|
763
763
|
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 12));
|
|
764
764
|
};
|
|
765
765
|
|
|
766
766
|
|
|
767
767
|
/**
|
|
768
|
-
* @param {?proto.
|
|
768
|
+
* @param {?proto.Employee|undefined} value
|
|
769
769
|
* @return {!proto.MaterialGroup} returns this
|
|
770
770
|
*/
|
|
771
771
|
proto.MaterialGroup.prototype.setUpdatedByEmployee = function(value) {
|
|
@@ -864,17 +864,17 @@ proto.MaterialType.prototype.setCompaniesReferencesId = function(value) {
|
|
|
864
864
|
|
|
865
865
|
|
|
866
866
|
/**
|
|
867
|
-
* optional
|
|
868
|
-
* @return {?proto.
|
|
867
|
+
* optional Employee created_by_employee = 15;
|
|
868
|
+
* @return {?proto.Employee}
|
|
869
869
|
*/
|
|
870
870
|
proto.MaterialType.prototype.getCreatedByEmployee = function() {
|
|
871
|
-
return /** @type{?proto.
|
|
871
|
+
return /** @type{?proto.Employee} */ (
|
|
872
872
|
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 15));
|
|
873
873
|
};
|
|
874
874
|
|
|
875
875
|
|
|
876
876
|
/**
|
|
877
|
-
* @param {?proto.
|
|
877
|
+
* @param {?proto.Employee|undefined} value
|
|
878
878
|
* @return {!proto.MaterialType} returns this
|
|
879
879
|
*/
|
|
880
880
|
proto.MaterialType.prototype.setCreatedByEmployee = function(value) {
|
|
@@ -901,17 +901,17 @@ proto.MaterialType.prototype.hasCreatedByEmployee = function() {
|
|
|
901
901
|
|
|
902
902
|
|
|
903
903
|
/**
|
|
904
|
-
* optional
|
|
905
|
-
* @return {?proto.
|
|
904
|
+
* optional Employee updated_by_employee = 16;
|
|
905
|
+
* @return {?proto.Employee}
|
|
906
906
|
*/
|
|
907
907
|
proto.MaterialType.prototype.getUpdatedByEmployee = function() {
|
|
908
|
-
return /** @type{?proto.
|
|
908
|
+
return /** @type{?proto.Employee} */ (
|
|
909
909
|
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 16));
|
|
910
910
|
};
|
|
911
911
|
|
|
912
912
|
|
|
913
913
|
/**
|
|
914
|
-
* @param {?proto.
|
|
914
|
+
* @param {?proto.Employee|undefined} value
|
|
915
915
|
* @return {!proto.MaterialType} returns this
|
|
916
916
|
*/
|
|
917
917
|
proto.MaterialType.prototype.setUpdatedByEmployee = function(value) {
|
|
@@ -808,17 +808,17 @@ proto.NumberRange.prototype.setCompaniesReferencesId = function(value) {
|
|
|
808
808
|
|
|
809
809
|
|
|
810
810
|
/**
|
|
811
|
-
* optional
|
|
812
|
-
* @return {?proto.
|
|
811
|
+
* optional Employee created_by_employee = 14;
|
|
812
|
+
* @return {?proto.Employee}
|
|
813
813
|
*/
|
|
814
814
|
proto.NumberRange.prototype.getCreatedByEmployee = function() {
|
|
815
|
-
return /** @type{?proto.
|
|
815
|
+
return /** @type{?proto.Employee} */ (
|
|
816
816
|
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 14));
|
|
817
817
|
};
|
|
818
818
|
|
|
819
819
|
|
|
820
820
|
/**
|
|
821
|
-
* @param {?proto.
|
|
821
|
+
* @param {?proto.Employee|undefined} value
|
|
822
822
|
* @return {!proto.NumberRange} returns this
|
|
823
823
|
*/
|
|
824
824
|
proto.NumberRange.prototype.setCreatedByEmployee = function(value) {
|
|
@@ -845,17 +845,17 @@ proto.NumberRange.prototype.hasCreatedByEmployee = function() {
|
|
|
845
845
|
|
|
846
846
|
|
|
847
847
|
/**
|
|
848
|
-
* optional
|
|
849
|
-
* @return {?proto.
|
|
848
|
+
* optional Employee updated_by_employee = 15;
|
|
849
|
+
* @return {?proto.Employee}
|
|
850
850
|
*/
|
|
851
851
|
proto.NumberRange.prototype.getUpdatedByEmployee = function() {
|
|
852
|
-
return /** @type{?proto.
|
|
852
|
+
return /** @type{?proto.Employee} */ (
|
|
853
853
|
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 15));
|
|
854
854
|
};
|
|
855
855
|
|
|
856
856
|
|
|
857
857
|
/**
|
|
858
|
-
* @param {?proto.
|
|
858
|
+
* @param {?proto.Employee|undefined} value
|
|
859
859
|
* @return {!proto.NumberRange} returns this
|
|
860
860
|
*/
|
|
861
861
|
proto.NumberRange.prototype.setUpdatedByEmployee = function(value) {
|
|
@@ -1167,17 +1167,17 @@ proto.Workflow.prototype.setCompaniesReferencesId = function(value) {
|
|
|
1167
1167
|
|
|
1168
1168
|
|
|
1169
1169
|
/**
|
|
1170
|
-
* optional
|
|
1171
|
-
* @return {?proto.
|
|
1170
|
+
* optional Employee created_by_employee = 16;
|
|
1171
|
+
* @return {?proto.Employee}
|
|
1172
1172
|
*/
|
|
1173
1173
|
proto.Workflow.prototype.getCreatedByEmployee = function() {
|
|
1174
|
-
return /** @type{?proto.
|
|
1174
|
+
return /** @type{?proto.Employee} */ (
|
|
1175
1175
|
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 16));
|
|
1176
1176
|
};
|
|
1177
1177
|
|
|
1178
1178
|
|
|
1179
1179
|
/**
|
|
1180
|
-
* @param {?proto.
|
|
1180
|
+
* @param {?proto.Employee|undefined} value
|
|
1181
1181
|
* @return {!proto.Workflow} returns this
|
|
1182
1182
|
*/
|
|
1183
1183
|
proto.Workflow.prototype.setCreatedByEmployee = function(value) {
|
|
@@ -1204,17 +1204,17 @@ proto.Workflow.prototype.hasCreatedByEmployee = function() {
|
|
|
1204
1204
|
|
|
1205
1205
|
|
|
1206
1206
|
/**
|
|
1207
|
-
* optional
|
|
1208
|
-
* @return {?proto.
|
|
1207
|
+
* optional Employee updated_by_employee = 17;
|
|
1208
|
+
* @return {?proto.Employee}
|
|
1209
1209
|
*/
|
|
1210
1210
|
proto.Workflow.prototype.getUpdatedByEmployee = function() {
|
|
1211
|
-
return /** @type{?proto.
|
|
1211
|
+
return /** @type{?proto.Employee} */ (
|
|
1212
1212
|
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 17));
|
|
1213
1213
|
};
|
|
1214
1214
|
|
|
1215
1215
|
|
|
1216
1216
|
/**
|
|
1217
|
-
* @param {?proto.
|
|
1217
|
+
* @param {?proto.Employee|undefined} value
|
|
1218
1218
|
* @return {!proto.Workflow} returns this
|
|
1219
1219
|
*/
|
|
1220
1220
|
proto.Workflow.prototype.setUpdatedByEmployee = function(value) {
|
|
@@ -3392,17 +3392,17 @@ proto.WorkflowStepsRecipients.prototype.hasJobPosition = function() {
|
|
|
3392
3392
|
|
|
3393
3393
|
|
|
3394
3394
|
/**
|
|
3395
|
-
* repeated
|
|
3396
|
-
* @return {!Array<!proto.
|
|
3395
|
+
* repeated Employee employees = 9;
|
|
3396
|
+
* @return {!Array<!proto.Employee>}
|
|
3397
3397
|
*/
|
|
3398
3398
|
proto.WorkflowStepsRecipients.prototype.getEmployeesList = function() {
|
|
3399
|
-
return /** @type{!Array<!proto.
|
|
3399
|
+
return /** @type{!Array<!proto.Employee>} */ (
|
|
3400
3400
|
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 9));
|
|
3401
3401
|
};
|
|
3402
3402
|
|
|
3403
3403
|
|
|
3404
3404
|
/**
|
|
3405
|
-
* @param {!Array<!proto.
|
|
3405
|
+
* @param {!Array<!proto.Employee>} value
|
|
3406
3406
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3407
3407
|
*/
|
|
3408
3408
|
proto.WorkflowStepsRecipients.prototype.setEmployeesList = function(value) {
|
|
@@ -3411,12 +3411,12 @@ proto.WorkflowStepsRecipients.prototype.setEmployeesList = function(value) {
|
|
|
3411
3411
|
|
|
3412
3412
|
|
|
3413
3413
|
/**
|
|
3414
|
-
* @param {!proto.
|
|
3414
|
+
* @param {!proto.Employee=} opt_value
|
|
3415
3415
|
* @param {number=} opt_index
|
|
3416
|
-
* @return {!proto.
|
|
3416
|
+
* @return {!proto.Employee}
|
|
3417
3417
|
*/
|
|
3418
3418
|
proto.WorkflowStepsRecipients.prototype.addEmployees = function(opt_value, opt_index) {
|
|
3419
|
-
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.
|
|
3419
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.Employee, opt_index);
|
|
3420
3420
|
};
|
|
3421
3421
|
|
|
3422
3422
|
|
|
@@ -7,6 +7,7 @@ var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta
|
|
|
7
7
|
var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
|
|
8
8
|
var prisca_v1_document_type_document_type_pb = require('../../../prisca/v1/document_type/document_type_pb.js');
|
|
9
9
|
var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
|
|
10
|
+
var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
10
11
|
|
|
11
12
|
function serialize_CreatePurchaseRequisitionTemplateRequest(arg) {
|
|
12
13
|
if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.CreatePurchaseRequisitionTemplateRequest)) {
|
|
@@ -29,6 +29,8 @@ var prisca_v1_document_type_document_type_pb = require('../../../prisca/v1/docum
|
|
|
29
29
|
goog.object.extend(proto, prisca_v1_document_type_document_type_pb);
|
|
30
30
|
var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
|
|
31
31
|
goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
|
|
32
|
+
var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
33
|
+
goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
|
|
32
34
|
goog.exportSymbol('proto.BasePurchaseRequisitionItemDetail', null, global);
|
|
33
35
|
goog.exportSymbol('proto.BasePurchaseRequisitionItemTrx', null, global);
|
|
34
36
|
goog.exportSymbol('proto.BasePurchaseRequisitionTrx', null, global);
|
|
@@ -915,7 +917,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
915
917
|
* @private {!Array<number>}
|
|
916
918
|
* @const
|
|
917
919
|
*/
|
|
918
|
-
proto.PurchaseRequisitionTrx.repeatedFields_ = [14];
|
|
920
|
+
proto.PurchaseRequisitionTrx.repeatedFields_ = [14,27];
|
|
919
921
|
|
|
920
922
|
|
|
921
923
|
|
|
@@ -974,7 +976,9 @@ documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_ty
|
|
|
974
976
|
status: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
975
977
|
createdBy: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
976
978
|
updatedBy: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
977
|
-
justification: jspb.Message.getFieldWithDefault(msg, 26, "")
|
|
979
|
+
justification: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
980
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
981
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReq.toObject, includeInstance)
|
|
978
982
|
};
|
|
979
983
|
|
|
980
984
|
if (includeInstance) {
|
|
@@ -1117,6 +1121,11 @@ proto.PurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1117
1121
|
var value = /** @type {string} */ (reader.readString());
|
|
1118
1122
|
msg.setJustification(value);
|
|
1119
1123
|
break;
|
|
1124
|
+
case 27:
|
|
1125
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReq;
|
|
1126
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReq.deserializeBinaryFromReader);
|
|
1127
|
+
msg.addFiles(value);
|
|
1128
|
+
break;
|
|
1120
1129
|
default:
|
|
1121
1130
|
reader.skipField();
|
|
1122
1131
|
break;
|
|
@@ -1330,6 +1339,14 @@ proto.PurchaseRequisitionTrx.serializeBinaryToWriter = function(message, writer)
|
|
|
1330
1339
|
f
|
|
1331
1340
|
);
|
|
1332
1341
|
}
|
|
1342
|
+
f = message.getFilesList();
|
|
1343
|
+
if (f.length > 0) {
|
|
1344
|
+
writer.writeRepeatedMessage(
|
|
1345
|
+
27,
|
|
1346
|
+
f,
|
|
1347
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReq.serializeBinaryToWriter
|
|
1348
|
+
);
|
|
1349
|
+
}
|
|
1333
1350
|
};
|
|
1334
1351
|
|
|
1335
1352
|
|
|
@@ -1840,6 +1857,44 @@ proto.PurchaseRequisitionTrx.prototype.setJustification = function(value) {
|
|
|
1840
1857
|
};
|
|
1841
1858
|
|
|
1842
1859
|
|
|
1860
|
+
/**
|
|
1861
|
+
* repeated prisca.v1.core.file_upload.FileUploadReq files = 27;
|
|
1862
|
+
* @return {!Array<!proto.prisca.v1.core.file_upload.FileUploadReq>}
|
|
1863
|
+
*/
|
|
1864
|
+
proto.PurchaseRequisitionTrx.prototype.getFilesList = function() {
|
|
1865
|
+
return /** @type{!Array<!proto.prisca.v1.core.file_upload.FileUploadReq>} */ (
|
|
1866
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReq, 27));
|
|
1867
|
+
};
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* @param {!Array<!proto.prisca.v1.core.file_upload.FileUploadReq>} value
|
|
1872
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1873
|
+
*/
|
|
1874
|
+
proto.PurchaseRequisitionTrx.prototype.setFilesList = function(value) {
|
|
1875
|
+
return jspb.Message.setRepeatedWrapperField(this, 27, value);
|
|
1876
|
+
};
|
|
1877
|
+
|
|
1878
|
+
|
|
1879
|
+
/**
|
|
1880
|
+
* @param {!proto.prisca.v1.core.file_upload.FileUploadReq=} opt_value
|
|
1881
|
+
* @param {number=} opt_index
|
|
1882
|
+
* @return {!proto.prisca.v1.core.file_upload.FileUploadReq}
|
|
1883
|
+
*/
|
|
1884
|
+
proto.PurchaseRequisitionTrx.prototype.addFiles = function(opt_value, opt_index) {
|
|
1885
|
+
return jspb.Message.addToRepeatedWrapperField(this, 27, opt_value, proto.prisca.v1.core.file_upload.FileUploadReq, opt_index);
|
|
1886
|
+
};
|
|
1887
|
+
|
|
1888
|
+
|
|
1889
|
+
/**
|
|
1890
|
+
* Clears the list making it empty but non-null.
|
|
1891
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1892
|
+
*/
|
|
1893
|
+
proto.PurchaseRequisitionTrx.prototype.clearFilesList = function() {
|
|
1894
|
+
return this.setFilesList([]);
|
|
1895
|
+
};
|
|
1896
|
+
|
|
1897
|
+
|
|
1843
1898
|
|
|
1844
1899
|
/**
|
|
1845
1900
|
* List of repeated fields within this message type.
|
|
@@ -3066,7 +3121,7 @@ proto.PurchaseRequisitionItemDetail.prototype.setUpdatedAt = function(value) {
|
|
|
3066
3121
|
* @private {!Array<number>}
|
|
3067
3122
|
* @const
|
|
3068
3123
|
*/
|
|
3069
|
-
proto.BasePurchaseRequisitionTrx.repeatedFields_ = [13];
|
|
3124
|
+
proto.BasePurchaseRequisitionTrx.repeatedFields_ = [13,18];
|
|
3070
3125
|
|
|
3071
3126
|
|
|
3072
3127
|
|
|
@@ -3116,7 +3171,9 @@ purchaseRequisitionItemsList: jspb.Message.toObjectList(msg.getPurchaseRequisiti
|
|
|
3116
3171
|
documentTypeRef: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
3117
3172
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
3118
3173
|
status: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
3119
|
-
justification: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
3174
|
+
justification: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
3175
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
3176
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReq.toObject, includeInstance)
|
|
3120
3177
|
};
|
|
3121
3178
|
|
|
3122
3179
|
if (includeInstance) {
|
|
@@ -3222,6 +3279,11 @@ proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, rea
|
|
|
3222
3279
|
var value = /** @type {string} */ (reader.readString());
|
|
3223
3280
|
msg.setJustification(value);
|
|
3224
3281
|
break;
|
|
3282
|
+
case 18:
|
|
3283
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReq;
|
|
3284
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReq.deserializeBinaryFromReader);
|
|
3285
|
+
msg.addFiles(value);
|
|
3286
|
+
break;
|
|
3225
3287
|
default:
|
|
3226
3288
|
reader.skipField();
|
|
3227
3289
|
break;
|
|
@@ -3371,6 +3433,14 @@ proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter = function(message, wri
|
|
|
3371
3433
|
f
|
|
3372
3434
|
);
|
|
3373
3435
|
}
|
|
3436
|
+
f = message.getFilesList();
|
|
3437
|
+
if (f.length > 0) {
|
|
3438
|
+
writer.writeRepeatedMessage(
|
|
3439
|
+
18,
|
|
3440
|
+
f,
|
|
3441
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReq.serializeBinaryToWriter
|
|
3442
|
+
);
|
|
3443
|
+
}
|
|
3374
3444
|
};
|
|
3375
3445
|
|
|
3376
3446
|
|
|
@@ -3700,6 +3770,44 @@ proto.BasePurchaseRequisitionTrx.prototype.setJustification = function(value) {
|
|
|
3700
3770
|
};
|
|
3701
3771
|
|
|
3702
3772
|
|
|
3773
|
+
/**
|
|
3774
|
+
* repeated prisca.v1.core.file_upload.FileUploadReq files = 18;
|
|
3775
|
+
* @return {!Array<!proto.prisca.v1.core.file_upload.FileUploadReq>}
|
|
3776
|
+
*/
|
|
3777
|
+
proto.BasePurchaseRequisitionTrx.prototype.getFilesList = function() {
|
|
3778
|
+
return /** @type{!Array<!proto.prisca.v1.core.file_upload.FileUploadReq>} */ (
|
|
3779
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReq, 18));
|
|
3780
|
+
};
|
|
3781
|
+
|
|
3782
|
+
|
|
3783
|
+
/**
|
|
3784
|
+
* @param {!Array<!proto.prisca.v1.core.file_upload.FileUploadReq>} value
|
|
3785
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3786
|
+
*/
|
|
3787
|
+
proto.BasePurchaseRequisitionTrx.prototype.setFilesList = function(value) {
|
|
3788
|
+
return jspb.Message.setRepeatedWrapperField(this, 18, value);
|
|
3789
|
+
};
|
|
3790
|
+
|
|
3791
|
+
|
|
3792
|
+
/**
|
|
3793
|
+
* @param {!proto.prisca.v1.core.file_upload.FileUploadReq=} opt_value
|
|
3794
|
+
* @param {number=} opt_index
|
|
3795
|
+
* @return {!proto.prisca.v1.core.file_upload.FileUploadReq}
|
|
3796
|
+
*/
|
|
3797
|
+
proto.BasePurchaseRequisitionTrx.prototype.addFiles = function(opt_value, opt_index) {
|
|
3798
|
+
return jspb.Message.addToRepeatedWrapperField(this, 18, opt_value, proto.prisca.v1.core.file_upload.FileUploadReq, opt_index);
|
|
3799
|
+
};
|
|
3800
|
+
|
|
3801
|
+
|
|
3802
|
+
/**
|
|
3803
|
+
* Clears the list making it empty but non-null.
|
|
3804
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3805
|
+
*/
|
|
3806
|
+
proto.BasePurchaseRequisitionTrx.prototype.clearFilesList = function() {
|
|
3807
|
+
return this.setFilesList([]);
|
|
3808
|
+
};
|
|
3809
|
+
|
|
3810
|
+
|
|
3703
3811
|
|
|
3704
3812
|
/**
|
|
3705
3813
|
* List of repeated fields within this message type.
|