@aldiokta/protocgen 1.0.95 → 1.0.100
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
|
@@ -328,7 +328,8 @@ result: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
|
328
328
|
label: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
329
329
|
name: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
330
330
|
type: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
331
|
-
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
331
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
332
|
+
valueKey: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
332
333
|
};
|
|
333
334
|
|
|
334
335
|
if (includeInstance) {
|
|
@@ -405,6 +406,10 @@ proto.Report.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
405
406
|
var value = /** @type {string} */ (reader.readString());
|
|
406
407
|
msg.setCompaniesReferencesId(value);
|
|
407
408
|
break;
|
|
409
|
+
case 11:
|
|
410
|
+
var value = /** @type {string} */ (reader.readString());
|
|
411
|
+
msg.setValueKey(value);
|
|
412
|
+
break;
|
|
408
413
|
default:
|
|
409
414
|
reader.skipField();
|
|
410
415
|
break;
|
|
@@ -504,6 +509,13 @@ proto.Report.serializeBinaryToWriter = function(message, writer) {
|
|
|
504
509
|
f
|
|
505
510
|
);
|
|
506
511
|
}
|
|
512
|
+
f = message.getValueKey();
|
|
513
|
+
if (f.length > 0) {
|
|
514
|
+
writer.writeString(
|
|
515
|
+
11,
|
|
516
|
+
f
|
|
517
|
+
);
|
|
518
|
+
}
|
|
507
519
|
};
|
|
508
520
|
|
|
509
521
|
|
|
@@ -687,6 +699,24 @@ proto.Report.prototype.setCompaniesReferencesId = function(value) {
|
|
|
687
699
|
};
|
|
688
700
|
|
|
689
701
|
|
|
702
|
+
/**
|
|
703
|
+
* optional string value_key = 11;
|
|
704
|
+
* @return {string}
|
|
705
|
+
*/
|
|
706
|
+
proto.Report.prototype.getValueKey = function() {
|
|
707
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* @param {string} value
|
|
713
|
+
* @return {!proto.Report} returns this
|
|
714
|
+
*/
|
|
715
|
+
proto.Report.prototype.setValueKey = function(value) {
|
|
716
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
|
|
690
720
|
|
|
691
721
|
|
|
692
722
|
|
|
@@ -724,7 +754,8 @@ formula: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
|
724
754
|
label: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
725
755
|
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
726
756
|
type: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
727
|
-
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
757
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
758
|
+
valueKey: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
728
759
|
};
|
|
729
760
|
|
|
730
761
|
if (includeInstance) {
|
|
@@ -785,6 +816,10 @@ proto.BaseReportRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
785
816
|
var value = /** @type {string} */ (reader.readString());
|
|
786
817
|
msg.setCompaniesReferencesId(value);
|
|
787
818
|
break;
|
|
819
|
+
case 7:
|
|
820
|
+
var value = /** @type {string} */ (reader.readString());
|
|
821
|
+
msg.setValueKey(value);
|
|
822
|
+
break;
|
|
788
823
|
default:
|
|
789
824
|
reader.skipField();
|
|
790
825
|
break;
|
|
@@ -856,6 +891,13 @@ proto.BaseReportRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
856
891
|
f
|
|
857
892
|
);
|
|
858
893
|
}
|
|
894
|
+
f = message.getValueKey();
|
|
895
|
+
if (f.length > 0) {
|
|
896
|
+
writer.writeString(
|
|
897
|
+
7,
|
|
898
|
+
f
|
|
899
|
+
);
|
|
900
|
+
}
|
|
859
901
|
};
|
|
860
902
|
|
|
861
903
|
|
|
@@ -967,6 +1009,24 @@ proto.BaseReportRequest.prototype.setCompaniesReferencesId = function(value) {
|
|
|
967
1009
|
};
|
|
968
1010
|
|
|
969
1011
|
|
|
1012
|
+
/**
|
|
1013
|
+
* optional string value_key = 7;
|
|
1014
|
+
* @return {string}
|
|
1015
|
+
*/
|
|
1016
|
+
proto.BaseReportRequest.prototype.getValueKey = function() {
|
|
1017
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1018
|
+
};
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* @param {string} value
|
|
1023
|
+
* @return {!proto.BaseReportRequest} returns this
|
|
1024
|
+
*/
|
|
1025
|
+
proto.BaseReportRequest.prototype.setValueKey = function(value) {
|
|
1026
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
|
|
970
1030
|
|
|
971
1031
|
|
|
972
1032
|
|
|
@@ -1972,7 +1972,8 @@ purchaseRequisitionItemDetailList: jspb.Message.toObjectList(msg.getPurchaseRequ
|
|
|
1972
1972
|
proto.PurchaseRequisitionItemDetail.toObject, includeInstance),
|
|
1973
1973
|
referencesId: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
1974
1974
|
createdAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
1975
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
1975
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
1976
|
+
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
1976
1977
|
};
|
|
1977
1978
|
|
|
1978
1979
|
if (includeInstance) {
|
|
@@ -2074,6 +2075,10 @@ proto.PurchaseRequisitionItemTrx.deserializeBinaryFromReader = function(msg, rea
|
|
|
2074
2075
|
var value = /** @type {string} */ (reader.readString());
|
|
2075
2076
|
msg.setUpdatedAt(value);
|
|
2076
2077
|
break;
|
|
2078
|
+
case 17:
|
|
2079
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2080
|
+
msg.setPurchaseRequisitionTransactionNumber(value);
|
|
2081
|
+
break;
|
|
2077
2082
|
default:
|
|
2078
2083
|
reader.skipField();
|
|
2079
2084
|
break;
|
|
@@ -2216,6 +2221,13 @@ proto.PurchaseRequisitionItemTrx.serializeBinaryToWriter = function(message, wri
|
|
|
2216
2221
|
f
|
|
2217
2222
|
);
|
|
2218
2223
|
}
|
|
2224
|
+
f = message.getPurchaseRequisitionTransactionNumber();
|
|
2225
|
+
if (f.length > 0) {
|
|
2226
|
+
writer.writeString(
|
|
2227
|
+
17,
|
|
2228
|
+
f
|
|
2229
|
+
);
|
|
2230
|
+
}
|
|
2219
2231
|
};
|
|
2220
2232
|
|
|
2221
2233
|
|
|
@@ -2527,6 +2539,24 @@ proto.PurchaseRequisitionItemTrx.prototype.setUpdatedAt = function(value) {
|
|
|
2527
2539
|
};
|
|
2528
2540
|
|
|
2529
2541
|
|
|
2542
|
+
/**
|
|
2543
|
+
* optional string purchase_requisition_transaction_number = 17;
|
|
2544
|
+
* @return {string}
|
|
2545
|
+
*/
|
|
2546
|
+
proto.PurchaseRequisitionItemTrx.prototype.getPurchaseRequisitionTransactionNumber = function() {
|
|
2547
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
2548
|
+
};
|
|
2549
|
+
|
|
2550
|
+
|
|
2551
|
+
/**
|
|
2552
|
+
* @param {string} value
|
|
2553
|
+
* @return {!proto.PurchaseRequisitionItemTrx} returns this
|
|
2554
|
+
*/
|
|
2555
|
+
proto.PurchaseRequisitionItemTrx.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
|
|
2556
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
2557
|
+
};
|
|
2558
|
+
|
|
2559
|
+
|
|
2530
2560
|
|
|
2531
2561
|
|
|
2532
2562
|
|
|
@@ -3836,7 +3866,7 @@ proto.BasePurchaseRequisitionTrx.prototype.clearFilesList = function() {
|
|
|
3836
3866
|
* @private {!Array<number>}
|
|
3837
3867
|
* @const
|
|
3838
3868
|
*/
|
|
3839
|
-
proto.BaseUpdatePurchaseRequisitionTrx.repeatedFields_ = [13];
|
|
3869
|
+
proto.BaseUpdatePurchaseRequisitionTrx.repeatedFields_ = [13,20];
|
|
3840
3870
|
|
|
3841
3871
|
|
|
3842
3872
|
|
|
@@ -3888,7 +3918,9 @@ status: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
|
3888
3918
|
groupReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
3889
3919
|
referencesId: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
3890
3920
|
numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
3891
|
-
justification: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
3921
|
+
justification: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
3922
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
3923
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReq.toObject, includeInstance)
|
|
3892
3924
|
};
|
|
3893
3925
|
|
|
3894
3926
|
if (includeInstance) {
|
|
@@ -4002,6 +4034,11 @@ proto.BaseUpdatePurchaseRequisitionTrx.deserializeBinaryFromReader = function(ms
|
|
|
4002
4034
|
var value = /** @type {string} */ (reader.readString());
|
|
4003
4035
|
msg.setJustification(value);
|
|
4004
4036
|
break;
|
|
4037
|
+
case 20:
|
|
4038
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReq;
|
|
4039
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReq.deserializeBinaryFromReader);
|
|
4040
|
+
msg.addFiles(value);
|
|
4041
|
+
break;
|
|
4005
4042
|
default:
|
|
4006
4043
|
reader.skipField();
|
|
4007
4044
|
break;
|
|
@@ -4165,6 +4202,14 @@ proto.BaseUpdatePurchaseRequisitionTrx.serializeBinaryToWriter = function(messag
|
|
|
4165
4202
|
f
|
|
4166
4203
|
);
|
|
4167
4204
|
}
|
|
4205
|
+
f = message.getFilesList();
|
|
4206
|
+
if (f.length > 0) {
|
|
4207
|
+
writer.writeRepeatedMessage(
|
|
4208
|
+
20,
|
|
4209
|
+
f,
|
|
4210
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReq.serializeBinaryToWriter
|
|
4211
|
+
);
|
|
4212
|
+
}
|
|
4168
4213
|
};
|
|
4169
4214
|
|
|
4170
4215
|
|
|
@@ -4530,6 +4575,44 @@ proto.BaseUpdatePurchaseRequisitionTrx.prototype.setJustification = function(val
|
|
|
4530
4575
|
};
|
|
4531
4576
|
|
|
4532
4577
|
|
|
4578
|
+
/**
|
|
4579
|
+
* repeated FileUploadReq files = 20;
|
|
4580
|
+
* @return {!Array<!proto.FileUploadReq>}
|
|
4581
|
+
*/
|
|
4582
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getFilesList = function() {
|
|
4583
|
+
return /** @type{!Array<!proto.FileUploadReq>} */ (
|
|
4584
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReq, 20));
|
|
4585
|
+
};
|
|
4586
|
+
|
|
4587
|
+
|
|
4588
|
+
/**
|
|
4589
|
+
* @param {!Array<!proto.FileUploadReq>} value
|
|
4590
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
4591
|
+
*/
|
|
4592
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setFilesList = function(value) {
|
|
4593
|
+
return jspb.Message.setRepeatedWrapperField(this, 20, value);
|
|
4594
|
+
};
|
|
4595
|
+
|
|
4596
|
+
|
|
4597
|
+
/**
|
|
4598
|
+
* @param {!proto.FileUploadReq=} opt_value
|
|
4599
|
+
* @param {number=} opt_index
|
|
4600
|
+
* @return {!proto.FileUploadReq}
|
|
4601
|
+
*/
|
|
4602
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.addFiles = function(opt_value, opt_index) {
|
|
4603
|
+
return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.FileUploadReq, opt_index);
|
|
4604
|
+
};
|
|
4605
|
+
|
|
4606
|
+
|
|
4607
|
+
/**
|
|
4608
|
+
* Clears the list making it empty but non-null.
|
|
4609
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
4610
|
+
*/
|
|
4611
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.clearFilesList = function() {
|
|
4612
|
+
return this.setFilesList([]);
|
|
4613
|
+
};
|
|
4614
|
+
|
|
4615
|
+
|
|
4533
4616
|
|
|
4534
4617
|
/**
|
|
4535
4618
|
* List of repeated fields within this message type.
|
|
@@ -4569,6 +4652,7 @@ proto.BasePurchaseRequisitionItemTrx.prototype.toObject = function(opt_includeIn
|
|
|
4569
4652
|
*/
|
|
4570
4653
|
proto.BasePurchaseRequisitionItemTrx.toObject = function(includeInstance, msg) {
|
|
4571
4654
|
var f, obj = {
|
|
4655
|
+
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4572
4656
|
accAssigment: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4573
4657
|
materialGroup: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4574
4658
|
materialCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
@@ -4618,6 +4702,10 @@ proto.BasePurchaseRequisitionItemTrx.deserializeBinaryFromReader = function(msg,
|
|
|
4618
4702
|
}
|
|
4619
4703
|
var field = reader.getFieldNumber();
|
|
4620
4704
|
switch (field) {
|
|
4705
|
+
case 1:
|
|
4706
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4707
|
+
msg.setPurchaseRequisitionTransactionNumber(value);
|
|
4708
|
+
break;
|
|
4621
4709
|
case 2:
|
|
4622
4710
|
var value = /** @type {string} */ (reader.readString());
|
|
4623
4711
|
msg.setAccAssigment(value);
|
|
@@ -4696,6 +4784,13 @@ proto.BasePurchaseRequisitionItemTrx.prototype.serializeBinary = function() {
|
|
|
4696
4784
|
*/
|
|
4697
4785
|
proto.BasePurchaseRequisitionItemTrx.serializeBinaryToWriter = function(message, writer) {
|
|
4698
4786
|
var f = undefined;
|
|
4787
|
+
f = message.getPurchaseRequisitionTransactionNumber();
|
|
4788
|
+
if (f.length > 0) {
|
|
4789
|
+
writer.writeString(
|
|
4790
|
+
1,
|
|
4791
|
+
f
|
|
4792
|
+
);
|
|
4793
|
+
}
|
|
4699
4794
|
f = message.getAccAssigment();
|
|
4700
4795
|
if (f.length > 0) {
|
|
4701
4796
|
writer.writeString(
|
|
@@ -4784,6 +4879,24 @@ proto.BasePurchaseRequisitionItemTrx.serializeBinaryToWriter = function(message,
|
|
|
4784
4879
|
};
|
|
4785
4880
|
|
|
4786
4881
|
|
|
4882
|
+
/**
|
|
4883
|
+
* optional string purchase_requisition_transaction_number = 1;
|
|
4884
|
+
* @return {string}
|
|
4885
|
+
*/
|
|
4886
|
+
proto.BasePurchaseRequisitionItemTrx.prototype.getPurchaseRequisitionTransactionNumber = function() {
|
|
4887
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4888
|
+
};
|
|
4889
|
+
|
|
4890
|
+
|
|
4891
|
+
/**
|
|
4892
|
+
* @param {string} value
|
|
4893
|
+
* @return {!proto.BasePurchaseRequisitionItemTrx} returns this
|
|
4894
|
+
*/
|
|
4895
|
+
proto.BasePurchaseRequisitionItemTrx.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
|
|
4896
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4897
|
+
};
|
|
4898
|
+
|
|
4899
|
+
|
|
4787
4900
|
/**
|
|
4788
4901
|
* optional string acc_assigment = 2;
|
|
4789
4902
|
* @return {string}
|
|
@@ -5060,7 +5173,8 @@ requisitioner: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
|
5060
5173
|
customTransaction: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5061
5174
|
distribution: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
5062
5175
|
quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
5063
|
-
assetNo: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
5176
|
+
assetNo: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5177
|
+
purchaseRequisitionItemRef: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
5064
5178
|
};
|
|
5065
5179
|
|
|
5066
5180
|
if (includeInstance) {
|
|
@@ -5133,6 +5247,10 @@ proto.BasePurchaseRequisitionItemDetail.deserializeBinaryFromReader = function(m
|
|
|
5133
5247
|
var value = /** @type {string} */ (reader.readString());
|
|
5134
5248
|
msg.setAssetNo(value);
|
|
5135
5249
|
break;
|
|
5250
|
+
case 10:
|
|
5251
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5252
|
+
msg.setPurchaseRequisitionItemRef(value);
|
|
5253
|
+
break;
|
|
5136
5254
|
default:
|
|
5137
5255
|
reader.skipField();
|
|
5138
5256
|
break;
|
|
@@ -5225,6 +5343,13 @@ proto.BasePurchaseRequisitionItemDetail.serializeBinaryToWriter = function(messa
|
|
|
5225
5343
|
f
|
|
5226
5344
|
);
|
|
5227
5345
|
}
|
|
5346
|
+
f = message.getPurchaseRequisitionItemRef();
|
|
5347
|
+
if (f.length > 0) {
|
|
5348
|
+
writer.writeString(
|
|
5349
|
+
10,
|
|
5350
|
+
f
|
|
5351
|
+
);
|
|
5352
|
+
}
|
|
5228
5353
|
};
|
|
5229
5354
|
|
|
5230
5355
|
|
|
@@ -5390,6 +5515,24 @@ proto.BasePurchaseRequisitionItemDetail.prototype.setAssetNo = function(value) {
|
|
|
5390
5515
|
};
|
|
5391
5516
|
|
|
5392
5517
|
|
|
5518
|
+
/**
|
|
5519
|
+
* optional string purchase_requisition_item_ref = 10;
|
|
5520
|
+
* @return {string}
|
|
5521
|
+
*/
|
|
5522
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.getPurchaseRequisitionItemRef = function() {
|
|
5523
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5524
|
+
};
|
|
5525
|
+
|
|
5526
|
+
|
|
5527
|
+
/**
|
|
5528
|
+
* @param {string} value
|
|
5529
|
+
* @return {!proto.BasePurchaseRequisitionItemDetail} returns this
|
|
5530
|
+
*/
|
|
5531
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.setPurchaseRequisitionItemRef = function(value) {
|
|
5532
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
5533
|
+
};
|
|
5534
|
+
|
|
5535
|
+
|
|
5393
5536
|
|
|
5394
5537
|
|
|
5395
5538
|
|