@aldiokta/protocgen 1.1.30 → 1.1.32

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.30",
3
+ "version": "1.1.32",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -277,7 +277,8 @@ goodReceiptQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 33, 0.0)
277
277
  purchaseOrderQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 34, 0.0),
278
278
  invoiceQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 35, 0.0),
279
279
  includeVat: jspb.Message.getBooleanFieldWithDefault(msg, 36, false),
280
- incomeTax: jspb.Message.getFloatingPointFieldWithDefault(msg, 37, 0.0)
280
+ incomeTax: jspb.Message.getFloatingPointFieldWithDefault(msg, 37, 0.0),
281
+ priceBeforeTax: jspb.Message.getFieldWithDefault(msg, 38, "")
281
282
  };
282
283
 
283
284
  if (includeInstance) {
@@ -462,6 +463,10 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
462
463
  var value = /** @type {number} */ (reader.readFloat());
463
464
  msg.setIncomeTax(value);
464
465
  break;
466
+ case 38:
467
+ var value = /** @type {string} */ (reader.readString());
468
+ msg.setPriceBeforeTax(value);
469
+ break;
465
470
  default:
466
471
  reader.skipField();
467
472
  break;
@@ -747,6 +752,13 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
747
752
  f
748
753
  );
749
754
  }
755
+ f = message.getPriceBeforeTax();
756
+ if (f.length > 0) {
757
+ writer.writeString(
758
+ 38,
759
+ f
760
+ );
761
+ }
750
762
  };
751
763
 
752
764
 
@@ -1478,6 +1490,24 @@ proto.ItemTransaction.prototype.setIncomeTax = function(value) {
1478
1490
  };
1479
1491
 
1480
1492
 
1493
+ /**
1494
+ * optional string price_before_tax = 38;
1495
+ * @return {string}
1496
+ */
1497
+ proto.ItemTransaction.prototype.getPriceBeforeTax = function() {
1498
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 38, ""));
1499
+ };
1500
+
1501
+
1502
+ /**
1503
+ * @param {string} value
1504
+ * @return {!proto.ItemTransaction} returns this
1505
+ */
1506
+ proto.ItemTransaction.prototype.setPriceBeforeTax = function(value) {
1507
+ return jspb.Message.setProto3StringField(this, 38, value);
1508
+ };
1509
+
1510
+
1481
1511
 
1482
1512
  /**
1483
1513
  * List of repeated fields within this message type.
@@ -3345,7 +3375,8 @@ itemTransactionServiceList: jspb.Message.toObjectList(msg.getItemTransactionServ
3345
3375
  purchaseRequisitionQuantity: jspb.Message.getFieldWithDefault(msg, 22, ""),
3346
3376
  purchaseRequisitionPrice: jspb.Message.getFieldWithDefault(msg, 23, ""),
3347
3377
  includeVat: jspb.Message.getBooleanFieldWithDefault(msg, 34, false),
3348
- incomeTax: jspb.Message.getFloatingPointFieldWithDefault(msg, 35, 0.0)
3378
+ incomeTax: jspb.Message.getFloatingPointFieldWithDefault(msg, 35, 0.0),
3379
+ priceBeforeTax: jspb.Message.getFieldWithDefault(msg, 36, "")
3349
3380
  };
3350
3381
 
3351
3382
  if (includeInstance) {
@@ -3486,6 +3517,10 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
3486
3517
  var value = /** @type {number} */ (reader.readFloat());
3487
3518
  msg.setIncomeTax(value);
3488
3519
  break;
3520
+ case 36:
3521
+ var value = /** @type {string} */ (reader.readString());
3522
+ msg.setPriceBeforeTax(value);
3523
+ break;
3489
3524
  default:
3490
3525
  reader.skipField();
3491
3526
  break;
@@ -3694,6 +3729,13 @@ proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
3694
3729
  f
3695
3730
  );
3696
3731
  }
3732
+ f = message.getPriceBeforeTax();
3733
+ if (f.length > 0) {
3734
+ writer.writeString(
3735
+ 36,
3736
+ f
3737
+ );
3738
+ }
3697
3739
  };
3698
3740
 
3699
3741
 
@@ -4227,6 +4269,24 @@ proto.BaseItemTransaction.prototype.setIncomeTax = function(value) {
4227
4269
  };
4228
4270
 
4229
4271
 
4272
+ /**
4273
+ * optional string price_before_tax = 36;
4274
+ * @return {string}
4275
+ */
4276
+ proto.BaseItemTransaction.prototype.getPriceBeforeTax = function() {
4277
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, ""));
4278
+ };
4279
+
4280
+
4281
+ /**
4282
+ * @param {string} value
4283
+ * @return {!proto.BaseItemTransaction} returns this
4284
+ */
4285
+ proto.BaseItemTransaction.prototype.setPriceBeforeTax = function(value) {
4286
+ return jspb.Message.setProto3StringField(this, 36, value);
4287
+ };
4288
+
4289
+
4230
4290
 
4231
4291
  /**
4232
4292
  * List of repeated fields within this message type.
@@ -378,7 +378,7 @@ employees: (f = msg.getEmployees()) && prisca_v1_core_employee_employee_pb.Emplo
378
378
  approvalNote: jspb.Message.getFieldWithDefault(msg, 11, ""),
379
379
  companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 12, ""),
380
380
  groupReference: jspb.Message.getFieldWithDefault(msg, 13, ""),
381
- sequence: jspb.Message.getFieldWithDefault(msg, 14, "")
381
+ sequence: jspb.Message.getFieldWithDefault(msg, 14, 0)
382
382
  };
383
383
 
384
384
  if (includeInstance) {
@@ -469,7 +469,7 @@ proto.LineOfApproval.deserializeBinaryFromReader = function(msg, reader) {
469
469
  msg.setGroupReference(value);
470
470
  break;
471
471
  case 14:
472
- var value = /** @type {string} */ (reader.readString());
472
+ var value = /** @type {number} */ (reader.readInt32());
473
473
  msg.setSequence(value);
474
474
  break;
475
475
  default:
@@ -594,8 +594,8 @@ proto.LineOfApproval.serializeBinaryToWriter = function(message, writer) {
594
594
  );
595
595
  }
596
596
  f = message.getSequence();
597
- if (f.length > 0) {
598
- writer.writeString(
597
+ if (f !== 0) {
598
+ writer.writeInt32(
599
599
  14,
600
600
  f
601
601
  );
@@ -857,20 +857,20 @@ proto.LineOfApproval.prototype.setGroupReference = function(value) {
857
857
 
858
858
 
859
859
  /**
860
- * optional string sequence = 14;
861
- * @return {string}
860
+ * optional int32 sequence = 14;
861
+ * @return {number}
862
862
  */
863
863
  proto.LineOfApproval.prototype.getSequence = function() {
864
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
864
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
865
865
  };
866
866
 
867
867
 
868
868
  /**
869
- * @param {string} value
869
+ * @param {number} value
870
870
  * @return {!proto.LineOfApproval} returns this
871
871
  */
872
872
  proto.LineOfApproval.prototype.setSequence = function(value) {
873
- return jspb.Message.setProto3StringField(this, 14, value);
873
+ return jspb.Message.setProto3IntField(this, 14, value);
874
874
  };
875
875
 
876
876
 
@@ -50,6 +50,17 @@ function deserialize_DeleteDocumentTypeResponse(buffer_arg) {
50
50
  return prisca_v1_document_type_document_type_pb.DeleteDocumentTypeResponse.deserializeBinary(new Uint8Array(buffer_arg));
51
51
  }
52
52
 
53
+ function serialize_FindWithReferencesId(arg) {
54
+ if (!(arg instanceof prisca_v1_document_type_document_type_pb.FindWithReferencesId)) {
55
+ throw new Error('Expected argument of type FindWithReferencesId');
56
+ }
57
+ return Buffer.from(arg.serializeBinary());
58
+ }
59
+
60
+ function deserialize_FindWithReferencesId(buffer_arg) {
61
+ return prisca_v1_document_type_document_type_pb.FindWithReferencesId.deserializeBinary(new Uint8Array(buffer_arg));
62
+ }
63
+
53
64
  function serialize_GetDocumentTypeByIdRequest(arg) {
54
65
  if (!(arg instanceof prisca_v1_document_type_document_type_pb.GetDocumentTypeByIdRequest)) {
55
66
  throw new Error('Expected argument of type GetDocumentTypeByIdRequest');
@@ -173,6 +184,17 @@ var DocumentTypeServiceService = exports.DocumentTypeServiceService = {
173
184
  responseSerialize: serialize_DeleteDocumentTypeResponse,
174
185
  responseDeserialize: deserialize_DeleteDocumentTypeResponse,
175
186
  },
187
+ findDocumentByPurchaseRequisition: {
188
+ path: '/DocumentTypeService/FindDocumentByPurchaseRequisition',
189
+ requestStream: false,
190
+ responseStream: false,
191
+ requestType: prisca_v1_document_type_document_type_pb.FindWithReferencesId,
192
+ responseType: prisca_v1_document_type_document_type_pb.GetDocumentTypeByIdResponse,
193
+ requestSerialize: serialize_FindWithReferencesId,
194
+ requestDeserialize: deserialize_FindWithReferencesId,
195
+ responseSerialize: serialize_GetDocumentTypeByIdResponse,
196
+ responseDeserialize: deserialize_GetDocumentTypeByIdResponse,
197
+ },
176
198
  };
177
199
 
178
200
  exports.DocumentTypeServiceClient = grpc.makeGenericClientConstructor(DocumentTypeServiceService, 'DocumentTypeService');
@@ -31,6 +31,7 @@ goog.exportSymbol('proto.CreateDocumentTypeResponse', null, global);
31
31
  goog.exportSymbol('proto.DeleteDocumentTypeRequest', null, global);
32
32
  goog.exportSymbol('proto.DeleteDocumentTypeResponse', null, global);
33
33
  goog.exportSymbol('proto.DocumentType', null, global);
34
+ goog.exportSymbol('proto.FindWithReferencesId', null, global);
34
35
  goog.exportSymbol('proto.GetDocumentTypeByIdRequest', null, global);
35
36
  goog.exportSymbol('proto.GetDocumentTypeByIdResponse', null, global);
36
37
  goog.exportSymbol('proto.GetListDocumentTypeRequest', null, global);
@@ -79,6 +80,27 @@ if (goog.DEBUG && !COMPILED) {
79
80
  */
80
81
  proto.BaseDocumentType.displayName = 'proto.BaseDocumentType';
81
82
  }
83
+ /**
84
+ * Generated by JsPbCodeGenerator.
85
+ * @param {Array=} opt_data Optional initial data array, typically from a
86
+ * server response, or constructed directly in Javascript. The array is used
87
+ * in place and becomes part of the constructed object. It is not cloned.
88
+ * If no data is provided, the constructed object will be empty, but still
89
+ * valid.
90
+ * @extends {jspb.Message}
91
+ * @constructor
92
+ */
93
+ proto.FindWithReferencesId = function(opt_data) {
94
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
95
+ };
96
+ goog.inherits(proto.FindWithReferencesId, jspb.Message);
97
+ if (goog.DEBUG && !COMPILED) {
98
+ /**
99
+ * @public
100
+ * @override
101
+ */
102
+ proto.FindWithReferencesId.displayName = 'proto.FindWithReferencesId';
103
+ }
82
104
  /**
83
105
  * Generated by JsPbCodeGenerator.
84
106
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -329,7 +351,8 @@ integerIncrement: jspb.Message.getFieldWithDefault(msg, 5, 0),
329
351
  numberRangeRef: jspb.Message.getFieldWithDefault(msg, 6, ""),
330
352
  createdAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
331
353
  updatedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
332
- numberRange: (f = msg.getNumberRange()) && prisca_v1_core_number_range_number_range_pb.NumberRange.toObject(includeInstance, f)
354
+ numberRange: (f = msg.getNumberRange()) && prisca_v1_core_number_range_number_range_pb.NumberRange.toObject(includeInstance, f),
355
+ parentReferences: jspb.Message.getFieldWithDefault(msg, 10, "")
333
356
  };
334
357
 
335
358
  if (includeInstance) {
@@ -403,6 +426,10 @@ proto.DocumentType.deserializeBinaryFromReader = function(msg, reader) {
403
426
  reader.readMessage(value,prisca_v1_core_number_range_number_range_pb.NumberRange.deserializeBinaryFromReader);
404
427
  msg.setNumberRange(value);
405
428
  break;
429
+ case 10:
430
+ var value = /** @type {string} */ (reader.readString());
431
+ msg.setParentReferences(value);
432
+ break;
406
433
  default:
407
434
  reader.skipField();
408
435
  break;
@@ -496,6 +523,13 @@ proto.DocumentType.serializeBinaryToWriter = function(message, writer) {
496
523
  prisca_v1_core_number_range_number_range_pb.NumberRange.serializeBinaryToWriter
497
524
  );
498
525
  }
526
+ f = message.getParentReferences();
527
+ if (f.length > 0) {
528
+ writer.writeString(
529
+ 10,
530
+ f
531
+ );
532
+ }
499
533
  };
500
534
 
501
535
 
@@ -680,6 +714,24 @@ proto.DocumentType.prototype.hasNumberRange = function() {
680
714
  };
681
715
 
682
716
 
717
+ /**
718
+ * optional string parent_references = 10;
719
+ * @return {string}
720
+ */
721
+ proto.DocumentType.prototype.getParentReferences = function() {
722
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
723
+ };
724
+
725
+
726
+ /**
727
+ * @param {string} value
728
+ * @return {!proto.DocumentType} returns this
729
+ */
730
+ proto.DocumentType.prototype.setParentReferences = function(value) {
731
+ return jspb.Message.setProto3StringField(this, 10, value);
732
+ };
733
+
734
+
683
735
 
684
736
 
685
737
 
@@ -715,7 +767,8 @@ proto.BaseDocumentType.toObject = function(includeInstance, msg) {
715
767
  code: jspb.Message.getFieldWithDefault(msg, 1, ""),
716
768
  codeDescription: jspb.Message.getFieldWithDefault(msg, 2, ""),
717
769
  integerIncrement: jspb.Message.getFieldWithDefault(msg, 3, 0),
718
- numberRangeRef: jspb.Message.getFieldWithDefault(msg, 4, "")
770
+ numberRangeRef: jspb.Message.getFieldWithDefault(msg, 4, ""),
771
+ parentReferences: jspb.Message.getFieldWithDefault(msg, 5, "")
719
772
  };
720
773
 
721
774
  if (includeInstance) {
@@ -768,6 +821,10 @@ proto.BaseDocumentType.deserializeBinaryFromReader = function(msg, reader) {
768
821
  var value = /** @type {string} */ (reader.readString());
769
822
  msg.setNumberRangeRef(value);
770
823
  break;
824
+ case 5:
825
+ var value = /** @type {string} */ (reader.readString());
826
+ msg.setParentReferences(value);
827
+ break;
771
828
  default:
772
829
  reader.skipField();
773
830
  break;
@@ -825,6 +882,13 @@ proto.BaseDocumentType.serializeBinaryToWriter = function(message, writer) {
825
882
  f
826
883
  );
827
884
  }
885
+ f = message.getParentReferences();
886
+ if (f.length > 0) {
887
+ writer.writeString(
888
+ 5,
889
+ f
890
+ );
891
+ }
828
892
  };
829
893
 
830
894
 
@@ -900,6 +964,154 @@ proto.BaseDocumentType.prototype.setNumberRangeRef = function(value) {
900
964
  };
901
965
 
902
966
 
967
+ /**
968
+ * optional string parent_references = 5;
969
+ * @return {string}
970
+ */
971
+ proto.BaseDocumentType.prototype.getParentReferences = function() {
972
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
973
+ };
974
+
975
+
976
+ /**
977
+ * @param {string} value
978
+ * @return {!proto.BaseDocumentType} returns this
979
+ */
980
+ proto.BaseDocumentType.prototype.setParentReferences = function(value) {
981
+ return jspb.Message.setProto3StringField(this, 5, value);
982
+ };
983
+
984
+
985
+
986
+
987
+
988
+ if (jspb.Message.GENERATE_TO_OBJECT) {
989
+ /**
990
+ * Creates an object representation of this proto.
991
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
992
+ * Optional fields that are not set will be set to undefined.
993
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
994
+ * For the list of reserved names please see:
995
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
996
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
997
+ * JSPB instance for transitional soy proto support:
998
+ * http://goto/soy-param-migration
999
+ * @return {!Object}
1000
+ */
1001
+ proto.FindWithReferencesId.prototype.toObject = function(opt_includeInstance) {
1002
+ return proto.FindWithReferencesId.toObject(opt_includeInstance, this);
1003
+ };
1004
+
1005
+
1006
+ /**
1007
+ * Static version of the {@see toObject} method.
1008
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1009
+ * the JSPB instance for transitional soy proto support:
1010
+ * http://goto/soy-param-migration
1011
+ * @param {!proto.FindWithReferencesId} msg The msg instance to transform.
1012
+ * @return {!Object}
1013
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1014
+ */
1015
+ proto.FindWithReferencesId.toObject = function(includeInstance, msg) {
1016
+ var f, obj = {
1017
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
1018
+ };
1019
+
1020
+ if (includeInstance) {
1021
+ obj.$jspbMessageInstance = msg;
1022
+ }
1023
+ return obj;
1024
+ };
1025
+ }
1026
+
1027
+
1028
+ /**
1029
+ * Deserializes binary data (in protobuf wire format).
1030
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1031
+ * @return {!proto.FindWithReferencesId}
1032
+ */
1033
+ proto.FindWithReferencesId.deserializeBinary = function(bytes) {
1034
+ var reader = new jspb.BinaryReader(bytes);
1035
+ var msg = new proto.FindWithReferencesId;
1036
+ return proto.FindWithReferencesId.deserializeBinaryFromReader(msg, reader);
1037
+ };
1038
+
1039
+
1040
+ /**
1041
+ * Deserializes binary data (in protobuf wire format) from the
1042
+ * given reader into the given message object.
1043
+ * @param {!proto.FindWithReferencesId} msg The message object to deserialize into.
1044
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1045
+ * @return {!proto.FindWithReferencesId}
1046
+ */
1047
+ proto.FindWithReferencesId.deserializeBinaryFromReader = function(msg, reader) {
1048
+ while (reader.nextField()) {
1049
+ if (reader.isEndGroup()) {
1050
+ break;
1051
+ }
1052
+ var field = reader.getFieldNumber();
1053
+ switch (field) {
1054
+ case 1:
1055
+ var value = /** @type {string} */ (reader.readString());
1056
+ msg.setReferencesId(value);
1057
+ break;
1058
+ default:
1059
+ reader.skipField();
1060
+ break;
1061
+ }
1062
+ }
1063
+ return msg;
1064
+ };
1065
+
1066
+
1067
+ /**
1068
+ * Serializes the message to binary data (in protobuf wire format).
1069
+ * @return {!Uint8Array}
1070
+ */
1071
+ proto.FindWithReferencesId.prototype.serializeBinary = function() {
1072
+ var writer = new jspb.BinaryWriter();
1073
+ proto.FindWithReferencesId.serializeBinaryToWriter(this, writer);
1074
+ return writer.getResultBuffer();
1075
+ };
1076
+
1077
+
1078
+ /**
1079
+ * Serializes the given message to binary data (in protobuf wire
1080
+ * format), writing to the given BinaryWriter.
1081
+ * @param {!proto.FindWithReferencesId} message
1082
+ * @param {!jspb.BinaryWriter} writer
1083
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1084
+ */
1085
+ proto.FindWithReferencesId.serializeBinaryToWriter = function(message, writer) {
1086
+ var f = undefined;
1087
+ f = message.getReferencesId();
1088
+ if (f.length > 0) {
1089
+ writer.writeString(
1090
+ 1,
1091
+ f
1092
+ );
1093
+ }
1094
+ };
1095
+
1096
+
1097
+ /**
1098
+ * optional string references_id = 1;
1099
+ * @return {string}
1100
+ */
1101
+ proto.FindWithReferencesId.prototype.getReferencesId = function() {
1102
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1103
+ };
1104
+
1105
+
1106
+ /**
1107
+ * @param {string} value
1108
+ * @return {!proto.FindWithReferencesId} returns this
1109
+ */
1110
+ proto.FindWithReferencesId.prototype.setReferencesId = function(value) {
1111
+ return jspb.Message.setProto3StringField(this, 1, value);
1112
+ };
1113
+
1114
+
903
1115
 
904
1116
 
905
1117
 
@@ -424,7 +424,8 @@ taxReferences: jspb.Message.getFieldWithDefault(msg, 11, ""),
424
424
  status: jspb.Message.getFieldWithDefault(msg, 12, ""),
425
425
  remarks: jspb.Message.getFieldWithDefault(msg, 13, ""),
426
426
  shippingFilesList: jspb.Message.toObjectList(msg.getShippingFilesList(),
427
- prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
427
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
428
+ customTransaction: jspb.Message.getFieldWithDefault(msg, 15, "")
428
429
  };
429
430
 
430
431
  if (includeInstance) {
@@ -520,6 +521,10 @@ proto.BaseInvoice.deserializeBinaryFromReader = function(msg, reader) {
520
521
  reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
521
522
  msg.addShippingFiles(value);
522
523
  break;
524
+ case 15:
525
+ var value = /** @type {string} */ (reader.readString());
526
+ msg.setCustomTransaction(value);
527
+ break;
523
528
  default:
524
529
  reader.skipField();
525
530
  break;
@@ -650,6 +655,13 @@ proto.BaseInvoice.serializeBinaryToWriter = function(message, writer) {
650
655
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
651
656
  );
652
657
  }
658
+ f = message.getCustomTransaction();
659
+ if (f.length > 0) {
660
+ writer.writeString(
661
+ 15,
662
+ f
663
+ );
664
+ }
653
665
  };
654
666
 
655
667
 
@@ -965,6 +977,24 @@ proto.BaseInvoice.prototype.clearShippingFilesList = function() {
965
977
  };
966
978
 
967
979
 
980
+ /**
981
+ * optional string custom_transaction = 15;
982
+ * @return {string}
983
+ */
984
+ proto.BaseInvoice.prototype.getCustomTransaction = function() {
985
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
986
+ };
987
+
988
+
989
+ /**
990
+ * @param {string} value
991
+ * @return {!proto.BaseInvoice} returns this
992
+ */
993
+ proto.BaseInvoice.prototype.setCustomTransaction = function(value) {
994
+ return jspb.Message.setProto3StringField(this, 15, value);
995
+ };
996
+
997
+
968
998
 
969
999
 
970
1000
 
@@ -2820,7 +2820,8 @@ vendorName: jspb.Message.getFieldWithDefault(msg, 34, ""),
2820
2820
  shippingFileIds: jspb.Message.getFieldWithDefault(msg, 35, ""),
2821
2821
  shippingFilesList: jspb.Message.toObjectList(msg.getShippingFilesList(),
2822
2822
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
2823
- updatedByUser: (f = msg.getUpdatedByUser()) && prisca_v1_core_users_users_pb.Users.toObject(includeInstance, f)
2823
+ updatedByUser: (f = msg.getUpdatedByUser()) && prisca_v1_core_users_users_pb.Users.toObject(includeInstance, f),
2824
+ customTransaction: jspb.Message.getFieldWithDefault(msg, 38, "")
2824
2825
  };
2825
2826
 
2826
2827
  if (includeInstance) {
@@ -3015,6 +3016,10 @@ proto.Invoice.deserializeBinaryFromReader = function(msg, reader) {
3015
3016
  reader.readMessage(value,prisca_v1_core_users_users_pb.Users.deserializeBinaryFromReader);
3016
3017
  msg.setUpdatedByUser(value);
3017
3018
  break;
3019
+ case 38:
3020
+ var value = /** @type {string} */ (reader.readString());
3021
+ msg.setCustomTransaction(value);
3022
+ break;
3018
3023
  default:
3019
3024
  reader.skipField();
3020
3025
  break;
@@ -3313,6 +3318,13 @@ proto.Invoice.serializeBinaryToWriter = function(message, writer) {
3313
3318
  prisca_v1_core_users_users_pb.Users.serializeBinaryToWriter
3314
3319
  );
3315
3320
  }
3321
+ f = message.getCustomTransaction();
3322
+ if (f.length > 0) {
3323
+ writer.writeString(
3324
+ 38,
3325
+ f
3326
+ );
3327
+ }
3316
3328
  };
3317
3329
 
3318
3330
 
@@ -4176,6 +4188,24 @@ proto.Invoice.prototype.hasUpdatedByUser = function() {
4176
4188
  };
4177
4189
 
4178
4190
 
4191
+ /**
4192
+ * optional string custom_transaction = 38;
4193
+ * @return {string}
4194
+ */
4195
+ proto.Invoice.prototype.getCustomTransaction = function() {
4196
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 38, ""));
4197
+ };
4198
+
4199
+
4200
+ /**
4201
+ * @param {string} value
4202
+ * @return {!proto.Invoice} returns this
4203
+ */
4204
+ proto.Invoice.prototype.setCustomTransaction = function(value) {
4205
+ return jspb.Message.setProto3StringField(this, 38, value);
4206
+ };
4207
+
4208
+
4179
4209
 
4180
4210
  /**
4181
4211
  * List of repeated fields within this message type.