@aldiokta/protocgen 1.0.16 → 1.0.17

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.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -304,7 +304,8 @@ costCenterCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
304
304
  parentRefId: jspb.Message.getFieldWithDefault(msg, 5, 0),
305
305
  organizationLevelRefId: jspb.Message.getFieldWithDefault(msg, 6, 0),
306
306
  workLocationRefId: jspb.Message.getFieldWithDefault(msg, 7, 0),
307
- description: jspb.Message.getFieldWithDefault(msg, 8, "")
307
+ description: jspb.Message.getFieldWithDefault(msg, 8, ""),
308
+ companiesRefId: jspb.Message.getFieldWithDefault(msg, 9, 0)
308
309
  };
309
310
 
310
311
  if (includeInstance) {
@@ -373,6 +374,10 @@ proto.Organization.deserializeBinaryFromReader = function(msg, reader) {
373
374
  var value = /** @type {string} */ (reader.readString());
374
375
  msg.setDescription(value);
375
376
  break;
377
+ case 9:
378
+ var value = /** @type {number} */ (reader.readInt64());
379
+ msg.setCompaniesRefId(value);
380
+ break;
376
381
  default:
377
382
  reader.skipField();
378
383
  break;
@@ -458,6 +463,13 @@ proto.Organization.serializeBinaryToWriter = function(message, writer) {
458
463
  f
459
464
  );
460
465
  }
466
+ f = message.getCompaniesRefId();
467
+ if (f !== 0) {
468
+ writer.writeInt64(
469
+ 9,
470
+ f
471
+ );
472
+ }
461
473
  };
462
474
 
463
475
 
@@ -605,6 +617,24 @@ proto.Organization.prototype.setDescription = function(value) {
605
617
  };
606
618
 
607
619
 
620
+ /**
621
+ * optional int64 companies_ref_id = 9;
622
+ * @return {number}
623
+ */
624
+ proto.Organization.prototype.getCompaniesRefId = function() {
625
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
626
+ };
627
+
628
+
629
+ /**
630
+ * @param {number} value
631
+ * @return {!proto.Organization} returns this
632
+ */
633
+ proto.Organization.prototype.setCompaniesRefId = function(value) {
634
+ return jspb.Message.setProto3IntField(this, 9, value);
635
+ };
636
+
637
+
608
638
 
609
639
 
610
640