@aldiokta/protocgen 1.0.71 → 1.0.73

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.
@@ -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.