@aldiokta/protocgen 1.0.70 → 1.0.72
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 +55 -55
- package/prisca/v1/core/employee/employee_pb.js +540 -540
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +4 -4
- package/prisca/v1/core/material/material_grpc_pb.js +1 -0
- package/prisca/v1/core/material/material_pb.js +146 -72
- package/prisca/v1/core/material_group/material_group_grpc_pb.js +1 -0
- package/prisca/v1/core/material_group/material_group_pb.js +195 -1
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +1 -0
- package/prisca/v1/core/material_type/material_type_pb.js +195 -1
- package/prisca/v1/core/messaging/email_template_pb.js +6 -6
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +1 -0
- package/prisca/v1/core/number_range/number_range_pb.js +195 -1
- package/prisca/v1/core/report/report_pb.js +143 -83
- package/prisca/v1/core/workflow/workflow_pb.js +201 -9
- 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 +94 -2
|
@@ -544,7 +544,11 @@ workflowConditionList: jspb.Message.toObjectList(msg.getWorkflowConditionList(),
|
|
|
544
544
|
proto.WorkflowCondition.toObject, includeInstance),
|
|
545
545
|
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
546
546
|
workflowStepsList: jspb.Message.toObjectList(msg.getWorkflowStepsList(),
|
|
547
|
-
proto.WorkflowSteps.toObject, includeInstance)
|
|
547
|
+
proto.WorkflowSteps.toObject, includeInstance),
|
|
548
|
+
workflowType: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
549
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
550
|
+
createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
551
|
+
updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f)
|
|
548
552
|
};
|
|
549
553
|
|
|
550
554
|
if (includeInstance) {
|
|
@@ -635,6 +639,24 @@ proto.Workflow.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
635
639
|
reader.readMessage(value,proto.WorkflowSteps.deserializeBinaryFromReader);
|
|
636
640
|
msg.addWorkflowSteps(value);
|
|
637
641
|
break;
|
|
642
|
+
case 14:
|
|
643
|
+
var value = /** @type {string} */ (reader.readString());
|
|
644
|
+
msg.setWorkflowType(value);
|
|
645
|
+
break;
|
|
646
|
+
case 15:
|
|
647
|
+
var value = /** @type {string} */ (reader.readString());
|
|
648
|
+
msg.setCompaniesReferencesId(value);
|
|
649
|
+
break;
|
|
650
|
+
case 16:
|
|
651
|
+
var value = new prisca_v1_core_employee_employee_pb.Employee;
|
|
652
|
+
reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
|
|
653
|
+
msg.setCreatedByEmployee(value);
|
|
654
|
+
break;
|
|
655
|
+
case 17:
|
|
656
|
+
var value = new prisca_v1_core_employee_employee_pb.Employee;
|
|
657
|
+
reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
|
|
658
|
+
msg.setUpdatedByEmployee(value);
|
|
659
|
+
break;
|
|
638
660
|
default:
|
|
639
661
|
reader.skipField();
|
|
640
662
|
break;
|
|
@@ -757,6 +779,36 @@ proto.Workflow.serializeBinaryToWriter = function(message, writer) {
|
|
|
757
779
|
proto.WorkflowSteps.serializeBinaryToWriter
|
|
758
780
|
);
|
|
759
781
|
}
|
|
782
|
+
f = message.getWorkflowType();
|
|
783
|
+
if (f.length > 0) {
|
|
784
|
+
writer.writeString(
|
|
785
|
+
14,
|
|
786
|
+
f
|
|
787
|
+
);
|
|
788
|
+
}
|
|
789
|
+
f = message.getCompaniesReferencesId();
|
|
790
|
+
if (f.length > 0) {
|
|
791
|
+
writer.writeString(
|
|
792
|
+
15,
|
|
793
|
+
f
|
|
794
|
+
);
|
|
795
|
+
}
|
|
796
|
+
f = message.getCreatedByEmployee();
|
|
797
|
+
if (f != null) {
|
|
798
|
+
writer.writeMessage(
|
|
799
|
+
16,
|
|
800
|
+
f,
|
|
801
|
+
prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
|
|
802
|
+
);
|
|
803
|
+
}
|
|
804
|
+
f = message.getUpdatedByEmployee();
|
|
805
|
+
if (f != null) {
|
|
806
|
+
writer.writeMessage(
|
|
807
|
+
17,
|
|
808
|
+
f,
|
|
809
|
+
prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
|
|
810
|
+
);
|
|
811
|
+
}
|
|
760
812
|
};
|
|
761
813
|
|
|
762
814
|
|
|
@@ -1034,6 +1086,116 @@ proto.Workflow.prototype.clearWorkflowStepsList = function() {
|
|
|
1034
1086
|
};
|
|
1035
1087
|
|
|
1036
1088
|
|
|
1089
|
+
/**
|
|
1090
|
+
* optional string workflow_type = 14;
|
|
1091
|
+
* @return {string}
|
|
1092
|
+
*/
|
|
1093
|
+
proto.Workflow.prototype.getWorkflowType = function() {
|
|
1094
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
1095
|
+
};
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* @param {string} value
|
|
1100
|
+
* @return {!proto.Workflow} returns this
|
|
1101
|
+
*/
|
|
1102
|
+
proto.Workflow.prototype.setWorkflowType = function(value) {
|
|
1103
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
1104
|
+
};
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* optional string companies_references_id = 15;
|
|
1109
|
+
* @return {string}
|
|
1110
|
+
*/
|
|
1111
|
+
proto.Workflow.prototype.getCompaniesReferencesId = function() {
|
|
1112
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* @param {string} value
|
|
1118
|
+
* @return {!proto.Workflow} returns this
|
|
1119
|
+
*/
|
|
1120
|
+
proto.Workflow.prototype.setCompaniesReferencesId = function(value) {
|
|
1121
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
1122
|
+
};
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* optional prisca.v1.core.employee.Employee created_by_employee = 16;
|
|
1127
|
+
* @return {?proto.prisca.v1.core.employee.Employee}
|
|
1128
|
+
*/
|
|
1129
|
+
proto.Workflow.prototype.getCreatedByEmployee = function() {
|
|
1130
|
+
return /** @type{?proto.prisca.v1.core.employee.Employee} */ (
|
|
1131
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 16));
|
|
1132
|
+
};
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* @param {?proto.prisca.v1.core.employee.Employee|undefined} value
|
|
1137
|
+
* @return {!proto.Workflow} returns this
|
|
1138
|
+
*/
|
|
1139
|
+
proto.Workflow.prototype.setCreatedByEmployee = function(value) {
|
|
1140
|
+
return jspb.Message.setWrapperField(this, 16, value);
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* Clears the message field making it undefined.
|
|
1146
|
+
* @return {!proto.Workflow} returns this
|
|
1147
|
+
*/
|
|
1148
|
+
proto.Workflow.prototype.clearCreatedByEmployee = function() {
|
|
1149
|
+
return this.setCreatedByEmployee(undefined);
|
|
1150
|
+
};
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* Returns whether this field is set.
|
|
1155
|
+
* @return {boolean}
|
|
1156
|
+
*/
|
|
1157
|
+
proto.Workflow.prototype.hasCreatedByEmployee = function() {
|
|
1158
|
+
return jspb.Message.getField(this, 16) != null;
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* optional prisca.v1.core.employee.Employee updated_by_employee = 17;
|
|
1164
|
+
* @return {?proto.prisca.v1.core.employee.Employee}
|
|
1165
|
+
*/
|
|
1166
|
+
proto.Workflow.prototype.getUpdatedByEmployee = function() {
|
|
1167
|
+
return /** @type{?proto.prisca.v1.core.employee.Employee} */ (
|
|
1168
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 17));
|
|
1169
|
+
};
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* @param {?proto.prisca.v1.core.employee.Employee|undefined} value
|
|
1174
|
+
* @return {!proto.Workflow} returns this
|
|
1175
|
+
*/
|
|
1176
|
+
proto.Workflow.prototype.setUpdatedByEmployee = function(value) {
|
|
1177
|
+
return jspb.Message.setWrapperField(this, 17, value);
|
|
1178
|
+
};
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Clears the message field making it undefined.
|
|
1183
|
+
* @return {!proto.Workflow} returns this
|
|
1184
|
+
*/
|
|
1185
|
+
proto.Workflow.prototype.clearUpdatedByEmployee = function() {
|
|
1186
|
+
return this.setUpdatedByEmployee(undefined);
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* Returns whether this field is set.
|
|
1192
|
+
* @return {boolean}
|
|
1193
|
+
*/
|
|
1194
|
+
proto.Workflow.prototype.hasUpdatedByEmployee = function() {
|
|
1195
|
+
return jspb.Message.getField(this, 17) != null;
|
|
1196
|
+
};
|
|
1197
|
+
|
|
1198
|
+
|
|
1037
1199
|
|
|
1038
1200
|
/**
|
|
1039
1201
|
* List of repeated fields within this message type.
|
|
@@ -3186,17 +3348,17 @@ proto.WorkflowStepsRecipients.prototype.hasJobPosition = function() {
|
|
|
3186
3348
|
|
|
3187
3349
|
|
|
3188
3350
|
/**
|
|
3189
|
-
* repeated Employee employees = 9;
|
|
3190
|
-
* @return {!Array<!proto.Employee>}
|
|
3351
|
+
* repeated prisca.v1.core.employee.Employee employees = 9;
|
|
3352
|
+
* @return {!Array<!proto.prisca.v1.core.employee.Employee>}
|
|
3191
3353
|
*/
|
|
3192
3354
|
proto.WorkflowStepsRecipients.prototype.getEmployeesList = function() {
|
|
3193
|
-
return /** @type{!Array<!proto.Employee>} */ (
|
|
3355
|
+
return /** @type{!Array<!proto.prisca.v1.core.employee.Employee>} */ (
|
|
3194
3356
|
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 9));
|
|
3195
3357
|
};
|
|
3196
3358
|
|
|
3197
3359
|
|
|
3198
3360
|
/**
|
|
3199
|
-
* @param {!Array<!proto.Employee>} value
|
|
3361
|
+
* @param {!Array<!proto.prisca.v1.core.employee.Employee>} value
|
|
3200
3362
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3201
3363
|
*/
|
|
3202
3364
|
proto.WorkflowStepsRecipients.prototype.setEmployeesList = function(value) {
|
|
@@ -3205,12 +3367,12 @@ proto.WorkflowStepsRecipients.prototype.setEmployeesList = function(value) {
|
|
|
3205
3367
|
|
|
3206
3368
|
|
|
3207
3369
|
/**
|
|
3208
|
-
* @param {!proto.Employee=} opt_value
|
|
3370
|
+
* @param {!proto.prisca.v1.core.employee.Employee=} opt_value
|
|
3209
3371
|
* @param {number=} opt_index
|
|
3210
|
-
* @return {!proto.Employee}
|
|
3372
|
+
* @return {!proto.prisca.v1.core.employee.Employee}
|
|
3211
3373
|
*/
|
|
3212
3374
|
proto.WorkflowStepsRecipients.prototype.addEmployees = function(opt_value, opt_index) {
|
|
3213
|
-
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.Employee, opt_index);
|
|
3375
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.prisca.v1.core.employee.Employee, opt_index);
|
|
3214
3376
|
};
|
|
3215
3377
|
|
|
3216
3378
|
|
|
@@ -3272,7 +3434,8 @@ workflowConditionList: jspb.Message.toObjectList(msg.getWorkflowConditionList(),
|
|
|
3272
3434
|
proto.BaseWorkflowConditionRequest.toObject, includeInstance),
|
|
3273
3435
|
workflowStepsList: jspb.Message.toObjectList(msg.getWorkflowStepsList(),
|
|
3274
3436
|
proto.BaseWorkflowStepsRequest.toObject, includeInstance),
|
|
3275
|
-
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
|
|
3437
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
3438
|
+
workflowType: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
3276
3439
|
};
|
|
3277
3440
|
|
|
3278
3441
|
if (includeInstance) {
|
|
@@ -3347,6 +3510,10 @@ proto.BaseWorkflowRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3347
3510
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
3348
3511
|
msg.setIsActive(value);
|
|
3349
3512
|
break;
|
|
3513
|
+
case 10:
|
|
3514
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3515
|
+
msg.setWorkflowType(value);
|
|
3516
|
+
break;
|
|
3350
3517
|
default:
|
|
3351
3518
|
reader.skipField();
|
|
3352
3519
|
break;
|
|
@@ -3441,6 +3608,13 @@ proto.BaseWorkflowRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
3441
3608
|
f
|
|
3442
3609
|
);
|
|
3443
3610
|
}
|
|
3611
|
+
f = message.getWorkflowType();
|
|
3612
|
+
if (f.length > 0) {
|
|
3613
|
+
writer.writeString(
|
|
3614
|
+
10,
|
|
3615
|
+
f
|
|
3616
|
+
);
|
|
3617
|
+
}
|
|
3444
3618
|
};
|
|
3445
3619
|
|
|
3446
3620
|
|
|
@@ -3646,6 +3820,24 @@ proto.BaseWorkflowRequest.prototype.setIsActive = function(value) {
|
|
|
3646
3820
|
};
|
|
3647
3821
|
|
|
3648
3822
|
|
|
3823
|
+
/**
|
|
3824
|
+
* optional string workflow_type = 10;
|
|
3825
|
+
* @return {string}
|
|
3826
|
+
*/
|
|
3827
|
+
proto.BaseWorkflowRequest.prototype.getWorkflowType = function() {
|
|
3828
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
3829
|
+
};
|
|
3830
|
+
|
|
3831
|
+
|
|
3832
|
+
/**
|
|
3833
|
+
* @param {string} value
|
|
3834
|
+
* @return {!proto.BaseWorkflowRequest} returns this
|
|
3835
|
+
*/
|
|
3836
|
+
proto.BaseWorkflowRequest.prototype.setWorkflowType = function(value) {
|
|
3837
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
3838
|
+
};
|
|
3839
|
+
|
|
3840
|
+
|
|
3649
3841
|
|
|
3650
3842
|
/**
|
|
3651
3843
|
* List of repeated fields within this message type.
|
|
@@ -6,6 +6,7 @@ var prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb = require('..
|
|
|
6
6
|
var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
|
|
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
|
+
var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
|
|
9
10
|
|
|
10
11
|
function serialize_CreatePurchaseRequisitionTemplateRequest(arg) {
|
|
11
12
|
if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.CreatePurchaseRequisitionTemplateRequest)) {
|
|
@@ -27,6 +27,8 @@ var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../.
|
|
|
27
27
|
goog.object.extend(proto, prisca_v1_core_transaction_builder_transaction_builder_pb);
|
|
28
28
|
var prisca_v1_document_type_document_type_pb = require('../../../prisca/v1/document_type/document_type_pb.js');
|
|
29
29
|
goog.object.extend(proto, prisca_v1_document_type_document_type_pb);
|
|
30
|
+
var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
|
|
31
|
+
goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
|
|
30
32
|
goog.exportSymbol('proto.BasePurchaseRequisitionItemDetail', null, global);
|
|
31
33
|
goog.exportSymbol('proto.BasePurchaseRequisitionItemTrx', null, global);
|
|
32
34
|
goog.exportSymbol('proto.BasePurchaseRequisitionTrx', null, global);
|
|
@@ -971,7 +973,8 @@ numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
|
971
973
|
documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_type_pb.DocumentType.toObject(includeInstance, f),
|
|
972
974
|
status: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
973
975
|
createdBy: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
974
|
-
updatedBy: jspb.Message.getFieldWithDefault(msg, 25, "")
|
|
976
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
977
|
+
jutification: jspb.Message.getFieldWithDefault(msg, 26, "")
|
|
975
978
|
};
|
|
976
979
|
|
|
977
980
|
if (includeInstance) {
|
|
@@ -1110,6 +1113,10 @@ proto.PurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1110
1113
|
var value = /** @type {string} */ (reader.readString());
|
|
1111
1114
|
msg.setUpdatedBy(value);
|
|
1112
1115
|
break;
|
|
1116
|
+
case 26:
|
|
1117
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1118
|
+
msg.setJutification(value);
|
|
1119
|
+
break;
|
|
1113
1120
|
default:
|
|
1114
1121
|
reader.skipField();
|
|
1115
1122
|
break;
|
|
@@ -1316,6 +1323,13 @@ proto.PurchaseRequisitionTrx.serializeBinaryToWriter = function(message, writer)
|
|
|
1316
1323
|
f
|
|
1317
1324
|
);
|
|
1318
1325
|
}
|
|
1326
|
+
f = message.getJutification();
|
|
1327
|
+
if (f.length > 0) {
|
|
1328
|
+
writer.writeString(
|
|
1329
|
+
26,
|
|
1330
|
+
f
|
|
1331
|
+
);
|
|
1332
|
+
}
|
|
1319
1333
|
};
|
|
1320
1334
|
|
|
1321
1335
|
|
|
@@ -1808,6 +1822,24 @@ proto.PurchaseRequisitionTrx.prototype.setUpdatedBy = function(value) {
|
|
|
1808
1822
|
};
|
|
1809
1823
|
|
|
1810
1824
|
|
|
1825
|
+
/**
|
|
1826
|
+
* optional string jutification = 26;
|
|
1827
|
+
* @return {string}
|
|
1828
|
+
*/
|
|
1829
|
+
proto.PurchaseRequisitionTrx.prototype.getJutification = function() {
|
|
1830
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
|
|
1831
|
+
};
|
|
1832
|
+
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* @param {string} value
|
|
1836
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1837
|
+
*/
|
|
1838
|
+
proto.PurchaseRequisitionTrx.prototype.setJutification = function(value) {
|
|
1839
|
+
return jspb.Message.setProto3StringField(this, 26, value);
|
|
1840
|
+
};
|
|
1841
|
+
|
|
1842
|
+
|
|
1811
1843
|
|
|
1812
1844
|
/**
|
|
1813
1845
|
* List of repeated fields within this message type.
|
|
@@ -3082,7 +3114,9 @@ customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
|
3082
3114
|
purchaseRequisitionItemsList: jspb.Message.toObjectList(msg.getPurchaseRequisitionItemsList(),
|
|
3083
3115
|
proto.BasePurchaseRequisitionItemTrx.toObject, includeInstance),
|
|
3084
3116
|
documentTypeRef: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
3085
|
-
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 15, "")
|
|
3117
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
3118
|
+
status: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
3119
|
+
justification: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
3086
3120
|
};
|
|
3087
3121
|
|
|
3088
3122
|
if (includeInstance) {
|
|
@@ -3180,6 +3214,14 @@ proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, rea
|
|
|
3180
3214
|
var value = /** @type {string} */ (reader.readString());
|
|
3181
3215
|
msg.setCompaniesReferencesId(value);
|
|
3182
3216
|
break;
|
|
3217
|
+
case 16:
|
|
3218
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3219
|
+
msg.setStatus(value);
|
|
3220
|
+
break;
|
|
3221
|
+
case 17:
|
|
3222
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3223
|
+
msg.setJustification(value);
|
|
3224
|
+
break;
|
|
3183
3225
|
default:
|
|
3184
3226
|
reader.skipField();
|
|
3185
3227
|
break;
|
|
@@ -3315,6 +3357,20 @@ proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter = function(message, wri
|
|
|
3315
3357
|
f
|
|
3316
3358
|
);
|
|
3317
3359
|
}
|
|
3360
|
+
f = message.getStatus();
|
|
3361
|
+
if (f.length > 0) {
|
|
3362
|
+
writer.writeString(
|
|
3363
|
+
16,
|
|
3364
|
+
f
|
|
3365
|
+
);
|
|
3366
|
+
}
|
|
3367
|
+
f = message.getJustification();
|
|
3368
|
+
if (f.length > 0) {
|
|
3369
|
+
writer.writeString(
|
|
3370
|
+
17,
|
|
3371
|
+
f
|
|
3372
|
+
);
|
|
3373
|
+
}
|
|
3318
3374
|
};
|
|
3319
3375
|
|
|
3320
3376
|
|
|
@@ -3608,6 +3664,42 @@ proto.BasePurchaseRequisitionTrx.prototype.setCompaniesReferencesId = function(v
|
|
|
3608
3664
|
};
|
|
3609
3665
|
|
|
3610
3666
|
|
|
3667
|
+
/**
|
|
3668
|
+
* optional string status = 16;
|
|
3669
|
+
* @return {string}
|
|
3670
|
+
*/
|
|
3671
|
+
proto.BasePurchaseRequisitionTrx.prototype.getStatus = function() {
|
|
3672
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
3673
|
+
};
|
|
3674
|
+
|
|
3675
|
+
|
|
3676
|
+
/**
|
|
3677
|
+
* @param {string} value
|
|
3678
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3679
|
+
*/
|
|
3680
|
+
proto.BasePurchaseRequisitionTrx.prototype.setStatus = function(value) {
|
|
3681
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
3682
|
+
};
|
|
3683
|
+
|
|
3684
|
+
|
|
3685
|
+
/**
|
|
3686
|
+
* optional string justification = 17;
|
|
3687
|
+
* @return {string}
|
|
3688
|
+
*/
|
|
3689
|
+
proto.BasePurchaseRequisitionTrx.prototype.getJustification = function() {
|
|
3690
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
3691
|
+
};
|
|
3692
|
+
|
|
3693
|
+
|
|
3694
|
+
/**
|
|
3695
|
+
* @param {string} value
|
|
3696
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3697
|
+
*/
|
|
3698
|
+
proto.BasePurchaseRequisitionTrx.prototype.setJustification = function(value) {
|
|
3699
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
3700
|
+
};
|
|
3701
|
+
|
|
3702
|
+
|
|
3611
3703
|
|
|
3612
3704
|
/**
|
|
3613
3705
|
* List of repeated fields within this message type.
|