@aldiokta/protocgen 1.0.68 → 1.0.70

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.68",
3
+ "version": "1.0.70",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -3081,7 +3081,8 @@ purchasingGroup: jspb.Message.getFieldWithDefault(msg, 11, ""),
3081
3081
  customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
3082
3082
  purchaseRequisitionItemsList: jspb.Message.toObjectList(msg.getPurchaseRequisitionItemsList(),
3083
3083
  proto.BasePurchaseRequisitionItemTrx.toObject, includeInstance),
3084
- documentTypeRef: jspb.Message.getFieldWithDefault(msg, 14, "")
3084
+ documentTypeRef: jspb.Message.getFieldWithDefault(msg, 14, ""),
3085
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 15, "")
3085
3086
  };
3086
3087
 
3087
3088
  if (includeInstance) {
@@ -3175,6 +3176,10 @@ proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, rea
3175
3176
  var value = /** @type {string} */ (reader.readString());
3176
3177
  msg.setDocumentTypeRef(value);
3177
3178
  break;
3179
+ case 15:
3180
+ var value = /** @type {string} */ (reader.readString());
3181
+ msg.setCompaniesReferencesId(value);
3182
+ break;
3178
3183
  default:
3179
3184
  reader.skipField();
3180
3185
  break;
@@ -3303,6 +3308,13 @@ proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter = function(message, wri
3303
3308
  f
3304
3309
  );
3305
3310
  }
3311
+ f = message.getCompaniesReferencesId();
3312
+ if (f.length > 0) {
3313
+ writer.writeString(
3314
+ 15,
3315
+ f
3316
+ );
3317
+ }
3306
3318
  };
3307
3319
 
3308
3320
 
@@ -3578,6 +3590,24 @@ proto.BasePurchaseRequisitionTrx.prototype.setDocumentTypeRef = function(value)
3578
3590
  };
3579
3591
 
3580
3592
 
3593
+ /**
3594
+ * optional string companies_references_id = 15;
3595
+ * @return {string}
3596
+ */
3597
+ proto.BasePurchaseRequisitionTrx.prototype.getCompaniesReferencesId = function() {
3598
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
3599
+ };
3600
+
3601
+
3602
+ /**
3603
+ * @param {string} value
3604
+ * @return {!proto.BasePurchaseRequisitionTrx} returns this
3605
+ */
3606
+ proto.BasePurchaseRequisitionTrx.prototype.setCompaniesReferencesId = function(value) {
3607
+ return jspb.Message.setProto3StringField(this, 15, value);
3608
+ };
3609
+
3610
+
3581
3611
 
3582
3612
  /**
3583
3613
  * List of repeated fields within this message type.