@aldiokta/protocgen 1.1.39 → 1.1.41

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldiokta/protocgen",
3
- "version": "1.1.39",
3
+ "version": "1.1.41",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -734,7 +734,8 @@ biddingStartDate: jspb.Message.getFieldWithDefault(msg, 41, ""),
734
734
  biddingEndDate: jspb.Message.getFieldWithDefault(msg, 42, ""),
735
735
  requestForQuotationMethod: jspb.Message.getFieldWithDefault(msg, 43, ""),
736
736
  maxSubmissionDate: jspb.Message.getFieldWithDefault(msg, 44, ""),
737
- companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompany.toObject(includeInstance, f)
737
+ companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompany.toObject(includeInstance, f),
738
+ department: jspb.Message.getFieldWithDefault(msg, 46, "")
738
739
  };
739
740
 
740
741
  if (includeInstance) {
@@ -958,6 +959,10 @@ proto.Quotation.deserializeBinaryFromReader = function(msg, reader) {
958
959
  reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompany.deserializeBinaryFromReader);
959
960
  msg.setCompanies(value);
960
961
  break;
962
+ case 46:
963
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
964
+ msg.setDepartment(value);
965
+ break;
961
966
  default:
962
967
  reader.skipField();
963
968
  break;
@@ -1309,6 +1314,13 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
1309
1314
  prisca_v1_core_company_company_pb.BaseCompany.serializeBinaryToWriter
1310
1315
  );
1311
1316
  }
1317
+ f = message.getDepartment();
1318
+ if (f.length > 0) {
1319
+ writer.writeString(
1320
+ 46,
1321
+ f
1322
+ );
1323
+ }
1312
1324
  };
1313
1325
 
1314
1326
 
@@ -2257,6 +2269,24 @@ proto.Quotation.prototype.hasCompanies = function() {
2257
2269
  };
2258
2270
 
2259
2271
 
2272
+ /**
2273
+ * optional string department = 46;
2274
+ * @return {string}
2275
+ */
2276
+ proto.Quotation.prototype.getDepartment = function() {
2277
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 46, ""));
2278
+ };
2279
+
2280
+
2281
+ /**
2282
+ * @param {string} value
2283
+ * @return {!proto.Quotation} returns this
2284
+ */
2285
+ proto.Quotation.prototype.setDepartment = function(value) {
2286
+ return jspb.Message.setProto3StringField(this, 46, value);
2287
+ };
2288
+
2289
+
2260
2290
 
2261
2291
  /**
2262
2292
  * List of repeated fields within this message type.