@aldiokta/protocgen 1.1.22 → 1.1.24

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.
@@ -660,8 +660,7 @@ filesList: jspb.Message.toObjectList(msg.getFilesList(),
660
660
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
661
661
  notesForVendor: jspb.Message.getFieldWithDefault(msg, 28, ""),
662
662
  groupReferences: jspb.Message.getFieldWithDefault(msg, 29, ""),
663
- companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 30, ""),
664
- isBiddingGenerated: jspb.Message.getBooleanFieldWithDefault(msg, 31, false)
663
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 30, "")
665
664
  };
666
665
 
667
666
  if (includeInstance) {
@@ -823,10 +822,6 @@ proto.RequestForQuotation.deserializeBinaryFromReader = function(msg, reader) {
823
822
  var value = /** @type {string} */ (reader.readString());
824
823
  msg.setCompaniesReferencesId(value);
825
824
  break;
826
- case 31:
827
- var value = /** @type {boolean} */ (reader.readBool());
828
- msg.setIsBiddingGenerated(value);
829
- break;
830
825
  default:
831
826
  reader.skipField();
832
827
  break;
@@ -1071,13 +1066,6 @@ proto.RequestForQuotation.serializeBinaryToWriter = function(message, writer) {
1071
1066
  f
1072
1067
  );
1073
1068
  }
1074
- f = message.getIsBiddingGenerated();
1075
- if (f) {
1076
- writer.writeBool(
1077
- 31,
1078
- f
1079
- );
1080
- }
1081
1069
  };
1082
1070
 
1083
1071
 
@@ -1719,24 +1707,6 @@ proto.RequestForQuotation.prototype.setCompaniesReferencesId = function(value) {
1719
1707
  };
1720
1708
 
1721
1709
 
1722
- /**
1723
- * optional bool is_bidding_generated = 31;
1724
- * @return {boolean}
1725
- */
1726
- proto.RequestForQuotation.prototype.getIsBiddingGenerated = function() {
1727
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 31, false));
1728
- };
1729
-
1730
-
1731
- /**
1732
- * @param {boolean} value
1733
- * @return {!proto.RequestForQuotation} returns this
1734
- */
1735
- proto.RequestForQuotation.prototype.setIsBiddingGenerated = function(value) {
1736
- return jspb.Message.setProto3BooleanField(this, 31, value);
1737
- };
1738
-
1739
-
1740
1710
 
1741
1711
 
1742
1712
 
@@ -2984,7 +2954,8 @@ customTransaction: jspb.Message.getFieldWithDefault(msg, 17, ""),
2984
2954
  plant: jspb.Message.getFieldWithDefault(msg, 18, ""),
2985
2955
  filesList: jspb.Message.toObjectList(msg.getFilesList(),
2986
2956
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
2987
- notesForVendor: jspb.Message.getFieldWithDefault(msg, 20, "")
2957
+ notesForVendor: jspb.Message.getFieldWithDefault(msg, 20, ""),
2958
+ groupReferences: jspb.Message.getFieldWithDefault(msg, 21, "")
2988
2959
  };
2989
2960
 
2990
2961
  if (includeInstance) {
@@ -3104,6 +3075,10 @@ proto.RequestRFQ.deserializeBinaryFromReader = function(msg, reader) {
3104
3075
  var value = /** @type {string} */ (reader.readString());
3105
3076
  msg.setNotesForVendor(value);
3106
3077
  break;
3078
+ case 21:
3079
+ var value = /** @type {string} */ (reader.readString());
3080
+ msg.setGroupReferences(value);
3081
+ break;
3107
3082
  default:
3108
3083
  reader.skipField();
3109
3084
  break;
@@ -3276,6 +3251,13 @@ proto.RequestRFQ.serializeBinaryToWriter = function(message, writer) {
3276
3251
  f
3277
3252
  );
3278
3253
  }
3254
+ f = message.getGroupReferences();
3255
+ if (f.length > 0) {
3256
+ writer.writeString(
3257
+ 21,
3258
+ f
3259
+ );
3260
+ }
3279
3261
  };
3280
3262
 
3281
3263
 
@@ -3699,6 +3681,24 @@ proto.RequestRFQ.prototype.setNotesForVendor = function(value) {
3699
3681
  };
3700
3682
 
3701
3683
 
3684
+ /**
3685
+ * optional string group_references = 21;
3686
+ * @return {string}
3687
+ */
3688
+ proto.RequestRFQ.prototype.getGroupReferences = function() {
3689
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
3690
+ };
3691
+
3692
+
3693
+ /**
3694
+ * @param {string} value
3695
+ * @return {!proto.RequestRFQ} returns this
3696
+ */
3697
+ proto.RequestRFQ.prototype.setGroupReferences = function(value) {
3698
+ return jspb.Message.setProto3StringField(this, 21, value);
3699
+ };
3700
+
3701
+
3702
3702
 
3703
3703
 
3704
3704
 
@@ -5,6 +5,7 @@ var grpc = require('@grpc/grpc-js');
5
5
  var prisca_v1_valuation_valuation_pb = require('../../../prisca/v1/valuation/valuation_pb.js');
6
6
  var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
7
7
  var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
8
+ var prisca_v1_vendor_domain_vendor_domain_pb = require('../../../prisca/v1/vendor_domain/vendor_domain_pb.js');
8
9
 
9
10
  function serialize_CreateValuationDefaultRequest(arg) {
10
11
  if (!(arg instanceof prisca_v1_valuation_valuation_pb.CreateValuationDefaultRequest)) {
@@ -25,6 +25,8 @@ var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/emplo
25
25
  goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
26
26
  var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
27
27
  goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
28
+ var prisca_v1_vendor_domain_vendor_domain_pb = require('../../../prisca/v1/vendor_domain/vendor_domain_pb.js');
29
+ goog.object.extend(proto, prisca_v1_vendor_domain_vendor_domain_pb);
28
30
  goog.exportSymbol('proto.BaseValuationBuilder', null, global);
29
31
  goog.exportSymbol('proto.BaseValuationIndicatorRequest', null, global);
30
32
  goog.exportSymbol('proto.BaseValuationReq', null, global);
@@ -772,8 +774,9 @@ updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_e
772
774
  companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
773
775
  biddingReferencesId: jspb.Message.getFieldWithDefault(msg, 10, ""),
774
776
  vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 11, ""),
775
- valuationIndicatorReferencesId: jspb.Message.getFieldWithDefault(msg, 12, ""),
776
- valuationScaleReferencesId: jspb.Message.getFieldWithDefault(msg, 13, ""),
777
+ quotationReferencesId: jspb.Message.getFieldWithDefault(msg, 12, ""),
778
+ valuationIndicatorReferencesId: jspb.Message.getFieldWithDefault(msg, 13, ""),
779
+ valuationScaleReferencesId: jspb.Message.getFieldWithDefault(msg, 14, ""),
777
780
  valuationIndicator: (f = msg.getValuationIndicator()) && proto.ValuationIndicator.toObject(includeInstance, f),
778
781
  valuationScale: (f = msg.getValuationScale()) && proto.ValuationScale.toObject(includeInstance, f)
779
782
  };
@@ -860,18 +863,22 @@ proto.Valuation.deserializeBinaryFromReader = function(msg, reader) {
860
863
  break;
861
864
  case 12:
862
865
  var value = /** @type {string} */ (reader.readString());
863
- msg.setValuationIndicatorReferencesId(value);
866
+ msg.setQuotationReferencesId(value);
864
867
  break;
865
868
  case 13:
866
869
  var value = /** @type {string} */ (reader.readString());
867
- msg.setValuationScaleReferencesId(value);
870
+ msg.setValuationIndicatorReferencesId(value);
868
871
  break;
869
872
  case 14:
873
+ var value = /** @type {string} */ (reader.readString());
874
+ msg.setValuationScaleReferencesId(value);
875
+ break;
876
+ case 15:
870
877
  var value = new proto.ValuationIndicator;
871
878
  reader.readMessage(value,proto.ValuationIndicator.deserializeBinaryFromReader);
872
879
  msg.setValuationIndicator(value);
873
880
  break;
874
- case 15:
881
+ case 16:
875
882
  var value = new proto.ValuationScale;
876
883
  reader.readMessage(value,proto.ValuationScale.deserializeBinaryFromReader);
877
884
  msg.setValuationScale(value);
@@ -984,24 +991,31 @@ proto.Valuation.serializeBinaryToWriter = function(message, writer) {
984
991
  f
985
992
  );
986
993
  }
987
- f = message.getValuationIndicatorReferencesId();
994
+ f = message.getQuotationReferencesId();
988
995
  if (f.length > 0) {
989
996
  writer.writeString(
990
997
  12,
991
998
  f
992
999
  );
993
1000
  }
994
- f = message.getValuationScaleReferencesId();
1001
+ f = message.getValuationIndicatorReferencesId();
995
1002
  if (f.length > 0) {
996
1003
  writer.writeString(
997
1004
  13,
998
1005
  f
999
1006
  );
1000
1007
  }
1008
+ f = message.getValuationScaleReferencesId();
1009
+ if (f.length > 0) {
1010
+ writer.writeString(
1011
+ 14,
1012
+ f
1013
+ );
1014
+ }
1001
1015
  f = message.getValuationIndicator();
1002
1016
  if (f != null) {
1003
1017
  writer.writeMessage(
1004
- 14,
1018
+ 15,
1005
1019
  f,
1006
1020
  proto.ValuationIndicator.serializeBinaryToWriter
1007
1021
  );
@@ -1009,7 +1023,7 @@ proto.Valuation.serializeBinaryToWriter = function(message, writer) {
1009
1023
  f = message.getValuationScale();
1010
1024
  if (f != null) {
1011
1025
  writer.writeMessage(
1012
- 15,
1026
+ 16,
1013
1027
  f,
1014
1028
  proto.ValuationScale.serializeBinaryToWriter
1015
1029
  );
@@ -1254,10 +1268,10 @@ proto.Valuation.prototype.setVendorReferencesId = function(value) {
1254
1268
 
1255
1269
 
1256
1270
  /**
1257
- * optional string valuation_indicator_references_id = 12;
1271
+ * optional string quotation_references_id = 12;
1258
1272
  * @return {string}
1259
1273
  */
1260
- proto.Valuation.prototype.getValuationIndicatorReferencesId = function() {
1274
+ proto.Valuation.prototype.getQuotationReferencesId = function() {
1261
1275
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
1262
1276
  };
1263
1277
 
@@ -1266,16 +1280,16 @@ proto.Valuation.prototype.getValuationIndicatorReferencesId = function() {
1266
1280
  * @param {string} value
1267
1281
  * @return {!proto.Valuation} returns this
1268
1282
  */
1269
- proto.Valuation.prototype.setValuationIndicatorReferencesId = function(value) {
1283
+ proto.Valuation.prototype.setQuotationReferencesId = function(value) {
1270
1284
  return jspb.Message.setProto3StringField(this, 12, value);
1271
1285
  };
1272
1286
 
1273
1287
 
1274
1288
  /**
1275
- * optional string valuation_scale_references_id = 13;
1289
+ * optional string valuation_indicator_references_id = 13;
1276
1290
  * @return {string}
1277
1291
  */
1278
- proto.Valuation.prototype.getValuationScaleReferencesId = function() {
1292
+ proto.Valuation.prototype.getValuationIndicatorReferencesId = function() {
1279
1293
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
1280
1294
  };
1281
1295
 
@@ -1284,18 +1298,36 @@ proto.Valuation.prototype.getValuationScaleReferencesId = function() {
1284
1298
  * @param {string} value
1285
1299
  * @return {!proto.Valuation} returns this
1286
1300
  */
1287
- proto.Valuation.prototype.setValuationScaleReferencesId = function(value) {
1301
+ proto.Valuation.prototype.setValuationIndicatorReferencesId = function(value) {
1288
1302
  return jspb.Message.setProto3StringField(this, 13, value);
1289
1303
  };
1290
1304
 
1291
1305
 
1292
1306
  /**
1293
- * optional ValuationIndicator valuation_indicator = 14;
1307
+ * optional string valuation_scale_references_id = 14;
1308
+ * @return {string}
1309
+ */
1310
+ proto.Valuation.prototype.getValuationScaleReferencesId = function() {
1311
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
1312
+ };
1313
+
1314
+
1315
+ /**
1316
+ * @param {string} value
1317
+ * @return {!proto.Valuation} returns this
1318
+ */
1319
+ proto.Valuation.prototype.setValuationScaleReferencesId = function(value) {
1320
+ return jspb.Message.setProto3StringField(this, 14, value);
1321
+ };
1322
+
1323
+
1324
+ /**
1325
+ * optional ValuationIndicator valuation_indicator = 15;
1294
1326
  * @return {?proto.ValuationIndicator}
1295
1327
  */
1296
1328
  proto.Valuation.prototype.getValuationIndicator = function() {
1297
1329
  return /** @type{?proto.ValuationIndicator} */ (
1298
- jspb.Message.getWrapperField(this, proto.ValuationIndicator, 14));
1330
+ jspb.Message.getWrapperField(this, proto.ValuationIndicator, 15));
1299
1331
  };
1300
1332
 
1301
1333
 
@@ -1304,7 +1336,7 @@ proto.Valuation.prototype.getValuationIndicator = function() {
1304
1336
  * @return {!proto.Valuation} returns this
1305
1337
  */
1306
1338
  proto.Valuation.prototype.setValuationIndicator = function(value) {
1307
- return jspb.Message.setWrapperField(this, 14, value);
1339
+ return jspb.Message.setWrapperField(this, 15, value);
1308
1340
  };
1309
1341
 
1310
1342
 
@@ -1322,17 +1354,17 @@ proto.Valuation.prototype.clearValuationIndicator = function() {
1322
1354
  * @return {boolean}
1323
1355
  */
1324
1356
  proto.Valuation.prototype.hasValuationIndicator = function() {
1325
- return jspb.Message.getField(this, 14) != null;
1357
+ return jspb.Message.getField(this, 15) != null;
1326
1358
  };
1327
1359
 
1328
1360
 
1329
1361
  /**
1330
- * optional ValuationScale valuation_scale = 15;
1362
+ * optional ValuationScale valuation_scale = 16;
1331
1363
  * @return {?proto.ValuationScale}
1332
1364
  */
1333
1365
  proto.Valuation.prototype.getValuationScale = function() {
1334
1366
  return /** @type{?proto.ValuationScale} */ (
1335
- jspb.Message.getWrapperField(this, proto.ValuationScale, 15));
1367
+ jspb.Message.getWrapperField(this, proto.ValuationScale, 16));
1336
1368
  };
1337
1369
 
1338
1370
 
@@ -1341,7 +1373,7 @@ proto.Valuation.prototype.getValuationScale = function() {
1341
1373
  * @return {!proto.Valuation} returns this
1342
1374
  */
1343
1375
  proto.Valuation.prototype.setValuationScale = function(value) {
1344
- return jspb.Message.setWrapperField(this, 15, value);
1376
+ return jspb.Message.setWrapperField(this, 16, value);
1345
1377
  };
1346
1378
 
1347
1379
 
@@ -1359,7 +1391,7 @@ proto.Valuation.prototype.clearValuationScale = function() {
1359
1391
  * @return {boolean}
1360
1392
  */
1361
1393
  proto.Valuation.prototype.hasValuationScale = function() {
1362
- return jspb.Message.getField(this, 15) != null;
1394
+ return jspb.Message.getField(this, 16) != null;
1363
1395
  };
1364
1396
 
1365
1397
 
@@ -2159,6 +2191,7 @@ valuationScalesList: jspb.Message.toObjectList(msg.getValuationScalesList(),
2159
2191
  proto.ValuationScale.toObject, includeInstance),
2160
2192
  biddingReferencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
2161
2193
  vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
2194
+ vendor: (f = msg.getVendor()) && prisca_v1_vendor_domain_vendor_domain_pb.Vendor.toObject(includeInstance, f),
2162
2195
  meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2163
2196
  };
2164
2197
 
@@ -2215,6 +2248,11 @@ proto.ValuationBuilderResponse.deserializeBinaryFromReader = function(msg, reade
2215
2248
  msg.setVendorReferencesId(value);
2216
2249
  break;
2217
2250
  case 5:
2251
+ var value = new prisca_v1_vendor_domain_vendor_domain_pb.Vendor;
2252
+ reader.readMessage(value,prisca_v1_vendor_domain_vendor_domain_pb.Vendor.deserializeBinaryFromReader);
2253
+ msg.setVendor(value);
2254
+ break;
2255
+ case 6:
2218
2256
  var value = new prisca_v1_global_meta_meta_pb.Meta;
2219
2257
  reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2220
2258
  msg.setMeta(value);
@@ -2278,11 +2316,19 @@ proto.ValuationBuilderResponse.serializeBinaryToWriter = function(message, write
2278
2316
  f
2279
2317
  );
2280
2318
  }
2281
- f = message.getMeta();
2319
+ f = message.getVendor();
2282
2320
  if (f != null) {
2283
2321
  writer.writeMessage(
2284
2322
  5,
2285
2323
  f,
2324
+ prisca_v1_vendor_domain_vendor_domain_pb.Vendor.serializeBinaryToWriter
2325
+ );
2326
+ }
2327
+ f = message.getMeta();
2328
+ if (f != null) {
2329
+ writer.writeMessage(
2330
+ 6,
2331
+ f,
2286
2332
  prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2287
2333
  );
2288
2334
  }
@@ -2402,12 +2448,49 @@ proto.ValuationBuilderResponse.prototype.setVendorReferencesId = function(value)
2402
2448
 
2403
2449
 
2404
2450
  /**
2405
- * optional prisca.v1.global.meta.Meta meta = 5;
2451
+ * optional Vendor vendor = 5;
2452
+ * @return {?proto.Vendor}
2453
+ */
2454
+ proto.ValuationBuilderResponse.prototype.getVendor = function() {
2455
+ return /** @type{?proto.Vendor} */ (
2456
+ jspb.Message.getWrapperField(this, prisca_v1_vendor_domain_vendor_domain_pb.Vendor, 5));
2457
+ };
2458
+
2459
+
2460
+ /**
2461
+ * @param {?proto.Vendor|undefined} value
2462
+ * @return {!proto.ValuationBuilderResponse} returns this
2463
+ */
2464
+ proto.ValuationBuilderResponse.prototype.setVendor = function(value) {
2465
+ return jspb.Message.setWrapperField(this, 5, value);
2466
+ };
2467
+
2468
+
2469
+ /**
2470
+ * Clears the message field making it undefined.
2471
+ * @return {!proto.ValuationBuilderResponse} returns this
2472
+ */
2473
+ proto.ValuationBuilderResponse.prototype.clearVendor = function() {
2474
+ return this.setVendor(undefined);
2475
+ };
2476
+
2477
+
2478
+ /**
2479
+ * Returns whether this field is set.
2480
+ * @return {boolean}
2481
+ */
2482
+ proto.ValuationBuilderResponse.prototype.hasVendor = function() {
2483
+ return jspb.Message.getField(this, 5) != null;
2484
+ };
2485
+
2486
+
2487
+ /**
2488
+ * optional prisca.v1.global.meta.Meta meta = 6;
2406
2489
  * @return {?proto.prisca.v1.global.meta.Meta}
2407
2490
  */
2408
2491
  proto.ValuationBuilderResponse.prototype.getMeta = function() {
2409
2492
  return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2410
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 5));
2493
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 6));
2411
2494
  };
2412
2495
 
2413
2496
 
@@ -2416,7 +2499,7 @@ proto.ValuationBuilderResponse.prototype.getMeta = function() {
2416
2499
  * @return {!proto.ValuationBuilderResponse} returns this
2417
2500
  */
2418
2501
  proto.ValuationBuilderResponse.prototype.setMeta = function(value) {
2419
- return jspb.Message.setWrapperField(this, 5, value);
2502
+ return jspb.Message.setWrapperField(this, 6, value);
2420
2503
  };
2421
2504
 
2422
2505
 
@@ -2434,7 +2517,7 @@ proto.ValuationBuilderResponse.prototype.clearMeta = function() {
2434
2517
  * @return {boolean}
2435
2518
  */
2436
2519
  proto.ValuationBuilderResponse.prototype.hasMeta = function() {
2437
- return jspb.Message.getField(this, 5) != null;
2520
+ return jspb.Message.getField(this, 6) != null;
2438
2521
  };
2439
2522
 
2440
2523