@aldiokta/protocgen 1.0.29 → 1.0.31

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.29",
3
+ "version": "1.0.31",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2436,7 +2436,8 @@ fieldRulesList: jspb.Message.toObjectList(msg.getFieldRulesList(),
2436
2436
  proto.prisca.v1.core.transaction_builder.FieldRules.toObject, includeInstance),
2437
2437
  fieldViewsList: jspb.Message.toObjectList(msg.getFieldViewsList(),
2438
2438
  proto.prisca.v1.core.transaction_builder.FieldViews.toObject, includeInstance),
2439
- value: jspb.Message.getFieldWithDefault(msg, 7, "")
2439
+ value: jspb.Message.getFieldWithDefault(msg, 7, ""),
2440
+ referencesId: jspb.Message.getFieldWithDefault(msg, 8, "")
2440
2441
  };
2441
2442
 
2442
2443
  if (includeInstance) {
@@ -2503,6 +2504,10 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.deserializeBin
2503
2504
  var value = /** @type {string} */ (reader.readString());
2504
2505
  msg.setValue(value);
2505
2506
  break;
2507
+ case 8:
2508
+ var value = /** @type {string} */ (reader.readString());
2509
+ msg.setReferencesId(value);
2510
+ break;
2506
2511
  default:
2507
2512
  reader.skipField();
2508
2513
  break;
@@ -2583,6 +2588,13 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinar
2583
2588
  f
2584
2589
  );
2585
2590
  }
2591
+ f = message.getReferencesId();
2592
+ if (f.length > 0) {
2593
+ writer.writeString(
2594
+ 8,
2595
+ f
2596
+ );
2597
+ }
2586
2598
  };
2587
2599
 
2588
2600
 
@@ -2752,6 +2764,24 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setV
2752
2764
  };
2753
2765
 
2754
2766
 
2767
+ /**
2768
+ * optional string references_id = 8;
2769
+ * @return {string}
2770
+ */
2771
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getReferencesId = function() {
2772
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2773
+ };
2774
+
2775
+
2776
+ /**
2777
+ * @param {string} value
2778
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
2779
+ */
2780
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setReferencesId = function(value) {
2781
+ return jspb.Message.setProto3StringField(this, 8, value);
2782
+ };
2783
+
2784
+
2755
2785
 
2756
2786
  /**
2757
2787
  * List of repeated fields within this message type.
@@ -8513,7 +8543,7 @@ proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.prototype.toO
8513
8543
  */
8514
8544
  proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.toObject = function(includeInstance, msg) {
8515
8545
  var f, obj = {
8516
- transactionFields: (f = msg.getTransactionFields()) && proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.toObject(includeInstance, f),
8546
+ transactionField: (f = msg.getTransactionField()) && proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.toObject(includeInstance, f),
8517
8547
  meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
8518
8548
  };
8519
8549
 
@@ -8552,9 +8582,9 @@ proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.deserializeBi
8552
8582
  var field = reader.getFieldNumber();
8553
8583
  switch (field) {
8554
8584
  case 1:
8555
- var value = new proto.prisca.v1.core.transaction_builder.TransactionBuilderFields;
8556
- reader.readMessage(value,proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.deserializeBinaryFromReader);
8557
- msg.setTransactionFields(value);
8585
+ var value = new proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase;
8586
+ reader.readMessage(value,proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.deserializeBinaryFromReader);
8587
+ msg.setTransactionField(value);
8558
8588
  break;
8559
8589
  case 2:
8560
8590
  var value = new prisca_v1_global_meta_meta_pb.Meta;
@@ -8590,12 +8620,12 @@ proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.prototype.ser
8590
8620
  */
8591
8621
  proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.serializeBinaryToWriter = function(message, writer) {
8592
8622
  var f = undefined;
8593
- f = message.getTransactionFields();
8623
+ f = message.getTransactionField();
8594
8624
  if (f != null) {
8595
8625
  writer.writeMessage(
8596
8626
  1,
8597
8627
  f,
8598
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinaryToWriter
8628
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.serializeBinaryToWriter
8599
8629
  );
8600
8630
  }
8601
8631
  f = message.getMeta();
@@ -8610,20 +8640,20 @@ proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.serializeBina
8610
8640
 
8611
8641
 
8612
8642
  /**
8613
- * optional TransactionBuilderFields transaction_fields = 1;
8614
- * @return {?proto.prisca.v1.core.transaction_builder.TransactionBuilderFields}
8643
+ * optional TransactionBuilderFieldsBase transaction_field = 1;
8644
+ * @return {?proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase}
8615
8645
  */
8616
- proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.prototype.getTransactionFields = function() {
8617
- return /** @type{?proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} */ (
8618
- jspb.Message.getWrapperField(this, proto.prisca.v1.core.transaction_builder.TransactionBuilderFields, 1));
8646
+ proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.prototype.getTransactionField = function() {
8647
+ return /** @type{?proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} */ (
8648
+ jspb.Message.getWrapperField(this, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase, 1));
8619
8649
  };
8620
8650
 
8621
8651
 
8622
8652
  /**
8623
- * @param {?proto.prisca.v1.core.transaction_builder.TransactionBuilderFields|undefined} value
8653
+ * @param {?proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase|undefined} value
8624
8654
  * @return {!proto.prisca.v1.core.transaction_builder.ResponseTransactionFields} returns this
8625
8655
  */
8626
- proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.prototype.setTransactionFields = function(value) {
8656
+ proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.prototype.setTransactionField = function(value) {
8627
8657
  return jspb.Message.setWrapperField(this, 1, value);
8628
8658
  };
8629
8659
 
@@ -8632,8 +8662,8 @@ proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.prototype.set
8632
8662
  * Clears the message field making it undefined.
8633
8663
  * @return {!proto.prisca.v1.core.transaction_builder.ResponseTransactionFields} returns this
8634
8664
  */
8635
- proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.prototype.clearTransactionFields = function() {
8636
- return this.setTransactionFields(undefined);
8665
+ proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.prototype.clearTransactionField = function() {
8666
+ return this.setTransactionField(undefined);
8637
8667
  };
8638
8668
 
8639
8669
 
@@ -8641,7 +8671,7 @@ proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.prototype.cle
8641
8671
  * Returns whether this field is set.
8642
8672
  * @return {boolean}
8643
8673
  */
8644
- proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.prototype.hasTransactionFields = function() {
8674
+ proto.prisca.v1.core.transaction_builder.ResponseTransactionFields.prototype.hasTransactionField = function() {
8645
8675
  return jspb.Message.getField(this, 1) != null;
8646
8676
  };
8647
8677