@aldiokta/protocgen 1.1.49 → 1.1.50

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.
Files changed (27) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_pb.js +62 -2
  3. package/prisca/v1/business_fields/business_fields_grpc_pb.js +180 -0
  4. package/prisca/v1/business_fields/business_fields_pb.js +4372 -0
  5. package/prisca/v1/core/bank/bank_grpc_pb.js +156 -0
  6. package/prisca/v1/core/bank/bank_pb.js +1988 -0
  7. package/prisca/v1/core/file_upload/file_upload_pb.js +31 -1
  8. package/prisca/v1/core/item_transaction/item_transaction_pb.js +1783 -593
  9. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +1 -0
  10. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +102 -1
  11. package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_grpc_pb.js +180 -0
  12. package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +3707 -0
  13. package/prisca/v1/core/plant/plant_grpc_pb.js +156 -0
  14. package/prisca/v1/core/plant/plant_pb.js +2078 -0
  15. package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
  16. package/prisca/v1/global/meta/meta_pb.js +452 -0
  17. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +11 -0
  18. package/prisca/v1/good_receipt/good_receipt_pb.js +31 -1
  19. package/prisca/v1/invoice/invoice_grpc_pb.js +11 -0
  20. package/prisca/v1/invoice/invoice_pb.js +55 -2
  21. package/prisca/v1/invoice_type/invoice_type_grpc_pb.js +202 -0
  22. package/prisca/v1/invoice_type/invoice_type_pb.js +3598 -0
  23. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +66 -0
  24. package/prisca/v1/purchase_order/purchase_order_pb.js +3670 -2242
  25. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +44 -0
  26. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +1802 -0
  27. package/prisca/v1/vendor_domain/vendor_domain_pb.js +224 -2
@@ -994,7 +994,11 @@ companyWebsite: jspb.Message.getFieldWithDefault(msg, 54, ""),
994
994
  companyReferences: jspb.Message.getFieldWithDefault(msg, 55, ""),
995
995
  companyLogo: jspb.Message.getFieldWithDefault(msg, 56, ""),
996
996
  companyLogoImage: (f = msg.getCompanyLogoImage()) && prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject(includeInstance, f),
997
- isAccepted: jspb.Message.getBooleanFieldWithDefault(msg, 58, false)
997
+ isAccepted: jspb.Message.getBooleanFieldWithDefault(msg, 58, false),
998
+ createdBy: jspb.Message.getFieldWithDefault(msg, 59, ""),
999
+ updatedBy: jspb.Message.getFieldWithDefault(msg, 60, ""),
1000
+ createdByUser: (f = msg.getCreatedByUser()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
1001
+ updatedByUser: (f = msg.getUpdatedByUser()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f)
998
1002
  };
999
1003
 
1000
1004
  if (includeInstance) {
@@ -1283,6 +1287,24 @@ proto.Vendor.deserializeBinaryFromReader = function(msg, reader) {
1283
1287
  var value = /** @type {boolean} */ (reader.readBool());
1284
1288
  msg.setIsAccepted(value);
1285
1289
  break;
1290
+ case 59:
1291
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1292
+ msg.setCreatedBy(value);
1293
+ break;
1294
+ case 60:
1295
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1296
+ msg.setUpdatedBy(value);
1297
+ break;
1298
+ case 61:
1299
+ var value = new prisca_v1_global_meta_meta_pb.Creator;
1300
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
1301
+ msg.setCreatedByUser(value);
1302
+ break;
1303
+ case 62:
1304
+ var value = new prisca_v1_global_meta_meta_pb.Creator;
1305
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
1306
+ msg.setUpdatedByUser(value);
1307
+ break;
1286
1308
  default:
1287
1309
  reader.skipField();
1288
1310
  break;
@@ -1738,6 +1760,36 @@ proto.Vendor.serializeBinaryToWriter = function(message, writer) {
1738
1760
  f
1739
1761
  );
1740
1762
  }
1763
+ f = message.getCreatedBy();
1764
+ if (f.length > 0) {
1765
+ writer.writeString(
1766
+ 59,
1767
+ f
1768
+ );
1769
+ }
1770
+ f = message.getUpdatedBy();
1771
+ if (f.length > 0) {
1772
+ writer.writeString(
1773
+ 60,
1774
+ f
1775
+ );
1776
+ }
1777
+ f = message.getCreatedByUser();
1778
+ if (f != null) {
1779
+ writer.writeMessage(
1780
+ 61,
1781
+ f,
1782
+ prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
1783
+ );
1784
+ }
1785
+ f = message.getUpdatedByUser();
1786
+ if (f != null) {
1787
+ writer.writeMessage(
1788
+ 62,
1789
+ f,
1790
+ prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
1791
+ );
1792
+ }
1741
1793
  };
1742
1794
 
1743
1795
 
@@ -3184,6 +3236,116 @@ proto.Vendor.prototype.setIsAccepted = function(value) {
3184
3236
  };
3185
3237
 
3186
3238
 
3239
+ /**
3240
+ * optional string created_by = 59;
3241
+ * @return {string}
3242
+ */
3243
+ proto.Vendor.prototype.getCreatedBy = function() {
3244
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 59, ""));
3245
+ };
3246
+
3247
+
3248
+ /**
3249
+ * @param {string} value
3250
+ * @return {!proto.Vendor} returns this
3251
+ */
3252
+ proto.Vendor.prototype.setCreatedBy = function(value) {
3253
+ return jspb.Message.setProto3StringField(this, 59, value);
3254
+ };
3255
+
3256
+
3257
+ /**
3258
+ * optional string updated_by = 60;
3259
+ * @return {string}
3260
+ */
3261
+ proto.Vendor.prototype.getUpdatedBy = function() {
3262
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 60, ""));
3263
+ };
3264
+
3265
+
3266
+ /**
3267
+ * @param {string} value
3268
+ * @return {!proto.Vendor} returns this
3269
+ */
3270
+ proto.Vendor.prototype.setUpdatedBy = function(value) {
3271
+ return jspb.Message.setProto3StringField(this, 60, value);
3272
+ };
3273
+
3274
+
3275
+ /**
3276
+ * optional prisca.v1.global.meta.Creator created_by_user = 61;
3277
+ * @return {?proto.prisca.v1.global.meta.Creator}
3278
+ */
3279
+ proto.Vendor.prototype.getCreatedByUser = function() {
3280
+ return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
3281
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 61));
3282
+ };
3283
+
3284
+
3285
+ /**
3286
+ * @param {?proto.prisca.v1.global.meta.Creator|undefined} value
3287
+ * @return {!proto.Vendor} returns this
3288
+ */
3289
+ proto.Vendor.prototype.setCreatedByUser = function(value) {
3290
+ return jspb.Message.setWrapperField(this, 61, value);
3291
+ };
3292
+
3293
+
3294
+ /**
3295
+ * Clears the message field making it undefined.
3296
+ * @return {!proto.Vendor} returns this
3297
+ */
3298
+ proto.Vendor.prototype.clearCreatedByUser = function() {
3299
+ return this.setCreatedByUser(undefined);
3300
+ };
3301
+
3302
+
3303
+ /**
3304
+ * Returns whether this field is set.
3305
+ * @return {boolean}
3306
+ */
3307
+ proto.Vendor.prototype.hasCreatedByUser = function() {
3308
+ return jspb.Message.getField(this, 61) != null;
3309
+ };
3310
+
3311
+
3312
+ /**
3313
+ * optional prisca.v1.global.meta.Creator updated_by_user = 62;
3314
+ * @return {?proto.prisca.v1.global.meta.Creator}
3315
+ */
3316
+ proto.Vendor.prototype.getUpdatedByUser = function() {
3317
+ return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
3318
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 62));
3319
+ };
3320
+
3321
+
3322
+ /**
3323
+ * @param {?proto.prisca.v1.global.meta.Creator|undefined} value
3324
+ * @return {!proto.Vendor} returns this
3325
+ */
3326
+ proto.Vendor.prototype.setUpdatedByUser = function(value) {
3327
+ return jspb.Message.setWrapperField(this, 62, value);
3328
+ };
3329
+
3330
+
3331
+ /**
3332
+ * Clears the message field making it undefined.
3333
+ * @return {!proto.Vendor} returns this
3334
+ */
3335
+ proto.Vendor.prototype.clearUpdatedByUser = function() {
3336
+ return this.setUpdatedByUser(undefined);
3337
+ };
3338
+
3339
+
3340
+ /**
3341
+ * Returns whether this field is set.
3342
+ * @return {boolean}
3343
+ */
3344
+ proto.Vendor.prototype.hasUpdatedByUser = function() {
3345
+ return jspb.Message.getField(this, 62) != null;
3346
+ };
3347
+
3348
+
3187
3349
 
3188
3350
 
3189
3351
 
@@ -5674,7 +5836,9 @@ proto.Contact.toObject = function(includeInstance, msg) {
5674
5836
  firstName: jspb.Message.getFieldWithDefault(msg, 1, ""),
5675
5837
  lastName: jspb.Message.getFieldWithDefault(msg, 2, ""),
5676
5838
  validFrom: jspb.Message.getFieldWithDefault(msg, 3, ""),
5677
- validTo: jspb.Message.getFieldWithDefault(msg, 4, "")
5839
+ validTo: jspb.Message.getFieldWithDefault(msg, 4, ""),
5840
+ phoneNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
5841
+ email: jspb.Message.getFieldWithDefault(msg, 6, "")
5678
5842
  };
5679
5843
 
5680
5844
  if (includeInstance) {
@@ -5727,6 +5891,14 @@ proto.Contact.deserializeBinaryFromReader = function(msg, reader) {
5727
5891
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
5728
5892
  msg.setValidTo(value);
5729
5893
  break;
5894
+ case 5:
5895
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
5896
+ msg.setPhoneNumber(value);
5897
+ break;
5898
+ case 6:
5899
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
5900
+ msg.setEmail(value);
5901
+ break;
5730
5902
  default:
5731
5903
  reader.skipField();
5732
5904
  break;
@@ -5784,6 +5956,20 @@ proto.Contact.serializeBinaryToWriter = function(message, writer) {
5784
5956
  f
5785
5957
  );
5786
5958
  }
5959
+ f = message.getPhoneNumber();
5960
+ if (f.length > 0) {
5961
+ writer.writeString(
5962
+ 5,
5963
+ f
5964
+ );
5965
+ }
5966
+ f = message.getEmail();
5967
+ if (f.length > 0) {
5968
+ writer.writeString(
5969
+ 6,
5970
+ f
5971
+ );
5972
+ }
5787
5973
  };
5788
5974
 
5789
5975
 
@@ -5859,6 +6045,42 @@ proto.Contact.prototype.setValidTo = function(value) {
5859
6045
  };
5860
6046
 
5861
6047
 
6048
+ /**
6049
+ * optional string phone_number = 5;
6050
+ * @return {string}
6051
+ */
6052
+ proto.Contact.prototype.getPhoneNumber = function() {
6053
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
6054
+ };
6055
+
6056
+
6057
+ /**
6058
+ * @param {string} value
6059
+ * @return {!proto.Contact} returns this
6060
+ */
6061
+ proto.Contact.prototype.setPhoneNumber = function(value) {
6062
+ return jspb.Message.setProto3StringField(this, 5, value);
6063
+ };
6064
+
6065
+
6066
+ /**
6067
+ * optional string email = 6;
6068
+ * @return {string}
6069
+ */
6070
+ proto.Contact.prototype.getEmail = function() {
6071
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
6072
+ };
6073
+
6074
+
6075
+ /**
6076
+ * @param {string} value
6077
+ * @return {!proto.Contact} returns this
6078
+ */
6079
+ proto.Contact.prototype.setEmail = function(value) {
6080
+ return jspb.Message.setProto3StringField(this, 6, value);
6081
+ };
6082
+
6083
+
5862
6084
 
5863
6085
 
5864
6086