@aldiokta/protocgen 1.1.26 → 1.1.28

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 (31) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +55 -0
  3. package/prisca/v1/bidding/bidding_pb.js +1042 -63
  4. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +33 -0
  5. package/prisca/v1/core/access_manager/access_manager_pb.js +385 -0
  6. package/prisca/v1/core/auth/auth_grpc_pb.js +103 -3
  7. package/prisca/v1/core/auth/auth_pb.js +2519 -1181
  8. package/prisca/v1/core/file_upload/file_upload_pb.js +93 -3
  9. package/prisca/v1/core/item_transaction/item_transaction_pb.js +183 -33
  10. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +438 -46
  11. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +31 -1
  12. package/prisca/v1/core/location/location_pb.js +446 -57
  13. package/prisca/v1/core/messaging/notification_grpc_pb.js +188 -0
  14. package/prisca/v1/core/messaging/notification_pb.js +2780 -0
  15. package/prisca/v1/core/price_condition/price_condition_pb.js +122 -2
  16. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +234 -168
  17. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +1987 -1775
  18. package/prisca/v1/delivery_order/delivery_order_pb.js +130 -70
  19. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +228 -1
  20. package/prisca/v1/good_receipt/good_receipt_pb.js +4779 -0
  21. package/prisca/v1/invoice/invoice_grpc_pb.js +174 -0
  22. package/prisca/v1/invoice/invoice_pb.js +4398 -0
  23. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +11 -0
  24. package/prisca/v1/purchase_order/purchase_order_pb.js +142 -22
  25. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +105 -75
  26. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +55 -177
  27. package/prisca/v1/quotation/quotation_pb.js +236 -26
  28. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +33 -0
  29. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +413 -28
  30. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +55 -0
  31. package/prisca/v1/vendor_domain/vendor_domain_pb.js +1076 -317
@@ -337,7 +337,9 @@ updatedAt: jspb.Message.getFieldWithDefault(msg, 11, ""),
337
337
  referencesId: jspb.Message.getFieldWithDefault(msg, 12, ""),
338
338
  companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.Company.toObject(includeInstance, f),
339
339
  createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
340
- updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f)
340
+ updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
341
+ operator: jspb.Message.getFieldWithDefault(msg, 16, ""),
342
+ code: jspb.Message.getFieldWithDefault(msg, 17, "")
341
343
  };
342
344
 
343
345
  if (includeInstance) {
@@ -437,6 +439,14 @@ proto.PriceCondition.deserializeBinaryFromReader = function(msg, reader) {
437
439
  reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
438
440
  msg.setUpdatedByEmployee(value);
439
441
  break;
442
+ case 16:
443
+ var value = /** @type {string} */ (reader.readString());
444
+ msg.setOperator(value);
445
+ break;
446
+ case 17:
447
+ var value = /** @type {string} */ (reader.readString());
448
+ msg.setCode(value);
449
+ break;
440
450
  default:
441
451
  reader.skipField();
442
452
  break;
@@ -574,6 +584,20 @@ proto.PriceCondition.serializeBinaryToWriter = function(message, writer) {
574
584
  prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
575
585
  );
576
586
  }
587
+ f = message.getOperator();
588
+ if (f.length > 0) {
589
+ writer.writeString(
590
+ 16,
591
+ f
592
+ );
593
+ }
594
+ f = message.getCode();
595
+ if (f.length > 0) {
596
+ writer.writeString(
597
+ 17,
598
+ f
599
+ );
600
+ }
577
601
  };
578
602
 
579
603
 
@@ -904,6 +928,42 @@ proto.PriceCondition.prototype.hasUpdatedByEmployee = function() {
904
928
  };
905
929
 
906
930
 
931
+ /**
932
+ * optional string operator = 16;
933
+ * @return {string}
934
+ */
935
+ proto.PriceCondition.prototype.getOperator = function() {
936
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
937
+ };
938
+
939
+
940
+ /**
941
+ * @param {string} value
942
+ * @return {!proto.PriceCondition} returns this
943
+ */
944
+ proto.PriceCondition.prototype.setOperator = function(value) {
945
+ return jspb.Message.setProto3StringField(this, 16, value);
946
+ };
947
+
948
+
949
+ /**
950
+ * optional string code = 17;
951
+ * @return {string}
952
+ */
953
+ proto.PriceCondition.prototype.getCode = function() {
954
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
955
+ };
956
+
957
+
958
+ /**
959
+ * @param {string} value
960
+ * @return {!proto.PriceCondition} returns this
961
+ */
962
+ proto.PriceCondition.prototype.setCode = function(value) {
963
+ return jspb.Message.setProto3StringField(this, 17, value);
964
+ };
965
+
966
+
907
967
 
908
968
 
909
969
 
@@ -942,7 +1002,9 @@ amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
942
1002
  currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
943
1003
  divide: jspb.Message.getFieldWithDefault(msg, 6, 0),
944
1004
  unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 7, ""),
945
- customTransaction: jspb.Message.getFieldWithDefault(msg, 8, "")
1005
+ customTransaction: jspb.Message.getFieldWithDefault(msg, 8, ""),
1006
+ operator: jspb.Message.getFieldWithDefault(msg, 9, ""),
1007
+ code: jspb.Message.getFieldWithDefault(msg, 10, "")
946
1008
  };
947
1009
 
948
1010
  if (includeInstance) {
@@ -1007,6 +1069,14 @@ proto.BasePriceCondition.deserializeBinaryFromReader = function(msg, reader) {
1007
1069
  var value = /** @type {string} */ (reader.readString());
1008
1070
  msg.setCustomTransaction(value);
1009
1071
  break;
1072
+ case 9:
1073
+ var value = /** @type {string} */ (reader.readString());
1074
+ msg.setOperator(value);
1075
+ break;
1076
+ case 10:
1077
+ var value = /** @type {string} */ (reader.readString());
1078
+ msg.setCode(value);
1079
+ break;
1010
1080
  default:
1011
1081
  reader.skipField();
1012
1082
  break;
@@ -1085,6 +1155,20 @@ proto.BasePriceCondition.serializeBinaryToWriter = function(message, writer) {
1085
1155
  f
1086
1156
  );
1087
1157
  }
1158
+ f = message.getOperator();
1159
+ if (f.length > 0) {
1160
+ writer.writeString(
1161
+ 9,
1162
+ f
1163
+ );
1164
+ }
1165
+ f = message.getCode();
1166
+ if (f.length > 0) {
1167
+ writer.writeString(
1168
+ 10,
1169
+ f
1170
+ );
1171
+ }
1088
1172
  };
1089
1173
 
1090
1174
 
@@ -1214,6 +1298,42 @@ proto.BasePriceCondition.prototype.setCustomTransaction = function(value) {
1214
1298
  };
1215
1299
 
1216
1300
 
1301
+ /**
1302
+ * optional string operator = 9;
1303
+ * @return {string}
1304
+ */
1305
+ proto.BasePriceCondition.prototype.getOperator = function() {
1306
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1307
+ };
1308
+
1309
+
1310
+ /**
1311
+ * @param {string} value
1312
+ * @return {!proto.BasePriceCondition} returns this
1313
+ */
1314
+ proto.BasePriceCondition.prototype.setOperator = function(value) {
1315
+ return jspb.Message.setProto3StringField(this, 9, value);
1316
+ };
1317
+
1318
+
1319
+ /**
1320
+ * optional string code = 10;
1321
+ * @return {string}
1322
+ */
1323
+ proto.BasePriceCondition.prototype.getCode = function() {
1324
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1325
+ };
1326
+
1327
+
1328
+ /**
1329
+ * @param {string} value
1330
+ * @return {!proto.BasePriceCondition} returns this
1331
+ */
1332
+ proto.BasePriceCondition.prototype.setCode = function(value) {
1333
+ return jspb.Message.setProto3StringField(this, 10, value);
1334
+ };
1335
+
1336
+
1217
1337
 
1218
1338
 
1219
1339