@aldiokta/protocgen 1.1.22 → 1.1.24
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 +1 -1
- package/prisca/v1/account_assignment/account_assignment_pb.js +74 -22
- package/prisca/v1/account_group/account_group_pb.js +74 -22
- package/prisca/v1/bidding/bidding_grpc_pb.js +33 -1
- package/prisca/v1/bidding/bidding_pb.js +613 -69
- package/prisca/v1/chart_of_account/chart_of_account_pb.js +74 -22
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +127 -37
- package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +33 -0
- package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +899 -0
- package/prisca/v1/core/tax_code/tax_code_pb.js +74 -22
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +74 -22
- package/prisca/v1/document_type/document_type_pb.js +74 -22
- package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +74 -22
- package/prisca/v1/quotation/quotation_grpc_pb.js +44 -0
- package/prisca/v1/quotation/quotation_pb.js +806 -20
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +32 -32
- package/prisca/v1/valuation/valuation_grpc_pb.js +1 -0
- package/prisca/v1/valuation/valuation_pb.js +111 -28
|
@@ -300,7 +300,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
300
300
|
* @constructor
|
|
301
301
|
*/
|
|
302
302
|
proto.DeleteChartOfAccountRequest = function(opt_data) {
|
|
303
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
303
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteChartOfAccountRequest.repeatedFields_, null);
|
|
304
304
|
};
|
|
305
305
|
goog.inherits(proto.DeleteChartOfAccountRequest, jspb.Message);
|
|
306
306
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -321,7 +321,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
321
321
|
* @constructor
|
|
322
322
|
*/
|
|
323
323
|
proto.DeleteChartOfAccountResponse = function(opt_data) {
|
|
324
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
324
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteChartOfAccountResponse.repeatedFields_, null);
|
|
325
325
|
};
|
|
326
326
|
goog.inherits(proto.DeleteChartOfAccountResponse, jspb.Message);
|
|
327
327
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -2594,6 +2594,13 @@ proto.GetListChartOfAccountResponse.prototype.hasMeta = function() {
|
|
|
2594
2594
|
|
|
2595
2595
|
|
|
2596
2596
|
|
|
2597
|
+
/**
|
|
2598
|
+
* List of repeated fields within this message type.
|
|
2599
|
+
* @private {!Array<number>}
|
|
2600
|
+
* @const
|
|
2601
|
+
*/
|
|
2602
|
+
proto.DeleteChartOfAccountRequest.repeatedFields_ = [1];
|
|
2603
|
+
|
|
2597
2604
|
|
|
2598
2605
|
|
|
2599
2606
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2625,7 +2632,7 @@ proto.DeleteChartOfAccountRequest.prototype.toObject = function(opt_includeInsta
|
|
|
2625
2632
|
*/
|
|
2626
2633
|
proto.DeleteChartOfAccountRequest.toObject = function(includeInstance, msg) {
|
|
2627
2634
|
var f, obj = {
|
|
2628
|
-
|
|
2635
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
2629
2636
|
};
|
|
2630
2637
|
|
|
2631
2638
|
if (includeInstance) {
|
|
@@ -2664,7 +2671,7 @@ proto.DeleteChartOfAccountRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
2664
2671
|
switch (field) {
|
|
2665
2672
|
case 1:
|
|
2666
2673
|
var value = /** @type {string} */ (reader.readString());
|
|
2667
|
-
msg.
|
|
2674
|
+
msg.addReferenceIds(value);
|
|
2668
2675
|
break;
|
|
2669
2676
|
default:
|
|
2670
2677
|
reader.skipField();
|
|
@@ -2695,9 +2702,9 @@ proto.DeleteChartOfAccountRequest.prototype.serializeBinary = function() {
|
|
|
2695
2702
|
*/
|
|
2696
2703
|
proto.DeleteChartOfAccountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2697
2704
|
var f = undefined;
|
|
2698
|
-
f = message.
|
|
2705
|
+
f = message.getReferenceIdsList();
|
|
2699
2706
|
if (f.length > 0) {
|
|
2700
|
-
writer.
|
|
2707
|
+
writer.writeRepeatedString(
|
|
2701
2708
|
1,
|
|
2702
2709
|
f
|
|
2703
2710
|
);
|
|
@@ -2706,24 +2713,50 @@ proto.DeleteChartOfAccountRequest.serializeBinaryToWriter = function(message, wr
|
|
|
2706
2713
|
|
|
2707
2714
|
|
|
2708
2715
|
/**
|
|
2709
|
-
*
|
|
2710
|
-
* @return {string}
|
|
2716
|
+
* repeated string reference_ids = 1;
|
|
2717
|
+
* @return {!Array<string>}
|
|
2711
2718
|
*/
|
|
2712
|
-
proto.DeleteChartOfAccountRequest.prototype.
|
|
2713
|
-
return /** @type {string} */ (jspb.Message.
|
|
2719
|
+
proto.DeleteChartOfAccountRequest.prototype.getReferenceIdsList = function() {
|
|
2720
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2721
|
+
};
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
/**
|
|
2725
|
+
* @param {!Array<string>} value
|
|
2726
|
+
* @return {!proto.DeleteChartOfAccountRequest} returns this
|
|
2727
|
+
*/
|
|
2728
|
+
proto.DeleteChartOfAccountRequest.prototype.setReferenceIdsList = function(value) {
|
|
2729
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2714
2730
|
};
|
|
2715
2731
|
|
|
2716
2732
|
|
|
2717
2733
|
/**
|
|
2718
2734
|
* @param {string} value
|
|
2735
|
+
* @param {number=} opt_index
|
|
2719
2736
|
* @return {!proto.DeleteChartOfAccountRequest} returns this
|
|
2720
2737
|
*/
|
|
2721
|
-
proto.DeleteChartOfAccountRequest.prototype.
|
|
2722
|
-
return jspb.Message.
|
|
2738
|
+
proto.DeleteChartOfAccountRequest.prototype.addReferenceIds = function(value, opt_index) {
|
|
2739
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2740
|
+
};
|
|
2741
|
+
|
|
2742
|
+
|
|
2743
|
+
/**
|
|
2744
|
+
* Clears the list making it empty but non-null.
|
|
2745
|
+
* @return {!proto.DeleteChartOfAccountRequest} returns this
|
|
2746
|
+
*/
|
|
2747
|
+
proto.DeleteChartOfAccountRequest.prototype.clearReferenceIdsList = function() {
|
|
2748
|
+
return this.setReferenceIdsList([]);
|
|
2723
2749
|
};
|
|
2724
2750
|
|
|
2725
2751
|
|
|
2726
2752
|
|
|
2753
|
+
/**
|
|
2754
|
+
* List of repeated fields within this message type.
|
|
2755
|
+
* @private {!Array<number>}
|
|
2756
|
+
* @const
|
|
2757
|
+
*/
|
|
2758
|
+
proto.DeleteChartOfAccountResponse.repeatedFields_ = [1];
|
|
2759
|
+
|
|
2727
2760
|
|
|
2728
2761
|
|
|
2729
2762
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2755,7 +2788,7 @@ proto.DeleteChartOfAccountResponse.prototype.toObject = function(opt_includeInst
|
|
|
2755
2788
|
*/
|
|
2756
2789
|
proto.DeleteChartOfAccountResponse.toObject = function(includeInstance, msg) {
|
|
2757
2790
|
var f, obj = {
|
|
2758
|
-
|
|
2791
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
2759
2792
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2760
2793
|
};
|
|
2761
2794
|
|
|
@@ -2795,7 +2828,7 @@ proto.DeleteChartOfAccountResponse.deserializeBinaryFromReader = function(msg, r
|
|
|
2795
2828
|
switch (field) {
|
|
2796
2829
|
case 1:
|
|
2797
2830
|
var value = /** @type {string} */ (reader.readString());
|
|
2798
|
-
msg.
|
|
2831
|
+
msg.addReferenceIds(value);
|
|
2799
2832
|
break;
|
|
2800
2833
|
case 2:
|
|
2801
2834
|
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
@@ -2831,9 +2864,9 @@ proto.DeleteChartOfAccountResponse.prototype.serializeBinary = function() {
|
|
|
2831
2864
|
*/
|
|
2832
2865
|
proto.DeleteChartOfAccountResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2833
2866
|
var f = undefined;
|
|
2834
|
-
f = message.
|
|
2867
|
+
f = message.getReferenceIdsList();
|
|
2835
2868
|
if (f.length > 0) {
|
|
2836
|
-
writer.
|
|
2869
|
+
writer.writeRepeatedString(
|
|
2837
2870
|
1,
|
|
2838
2871
|
f
|
|
2839
2872
|
);
|
|
@@ -2850,20 +2883,39 @@ proto.DeleteChartOfAccountResponse.serializeBinaryToWriter = function(message, w
|
|
|
2850
2883
|
|
|
2851
2884
|
|
|
2852
2885
|
/**
|
|
2853
|
-
*
|
|
2854
|
-
* @return {string}
|
|
2886
|
+
* repeated string reference_ids = 1;
|
|
2887
|
+
* @return {!Array<string>}
|
|
2855
2888
|
*/
|
|
2856
|
-
proto.DeleteChartOfAccountResponse.prototype.
|
|
2857
|
-
return /** @type {string} */ (jspb.Message.
|
|
2889
|
+
proto.DeleteChartOfAccountResponse.prototype.getReferenceIdsList = function() {
|
|
2890
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2891
|
+
};
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
/**
|
|
2895
|
+
* @param {!Array<string>} value
|
|
2896
|
+
* @return {!proto.DeleteChartOfAccountResponse} returns this
|
|
2897
|
+
*/
|
|
2898
|
+
proto.DeleteChartOfAccountResponse.prototype.setReferenceIdsList = function(value) {
|
|
2899
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2858
2900
|
};
|
|
2859
2901
|
|
|
2860
2902
|
|
|
2861
2903
|
/**
|
|
2862
2904
|
* @param {string} value
|
|
2905
|
+
* @param {number=} opt_index
|
|
2863
2906
|
* @return {!proto.DeleteChartOfAccountResponse} returns this
|
|
2864
2907
|
*/
|
|
2865
|
-
proto.DeleteChartOfAccountResponse.prototype.
|
|
2866
|
-
return jspb.Message.
|
|
2908
|
+
proto.DeleteChartOfAccountResponse.prototype.addReferenceIds = function(value, opt_index) {
|
|
2909
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2910
|
+
};
|
|
2911
|
+
|
|
2912
|
+
|
|
2913
|
+
/**
|
|
2914
|
+
* Clears the list making it empty but non-null.
|
|
2915
|
+
* @return {!proto.DeleteChartOfAccountResponse} returns this
|
|
2916
|
+
*/
|
|
2917
|
+
proto.DeleteChartOfAccountResponse.prototype.clearReferenceIdsList = function() {
|
|
2918
|
+
return this.setReferenceIdsList([]);
|
|
2867
2919
|
};
|
|
2868
2920
|
|
|
2869
2921
|
|
|
@@ -200,9 +200,9 @@ materialGroup: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
|
200
200
|
materialCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
201
201
|
detailDescription: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
202
202
|
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
203
|
-
quantity: jspb.Message.
|
|
203
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
204
204
|
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
205
|
-
estimatedUnitPrice: jspb.Message.
|
|
205
|
+
estimatedUnitPrice: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
206
206
|
deliveryDate: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
207
207
|
plannedDeliveryTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
208
208
|
customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
@@ -223,7 +223,10 @@ currency: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
|
223
223
|
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
224
224
|
originalQuantity: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
225
225
|
usedQuantity: jspb.Message.getFieldWithDefault(msg, 26, 0),
|
|
226
|
-
remainingQuantity: jspb.Message.getFieldWithDefault(msg, 27, 0)
|
|
226
|
+
remainingQuantity: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
227
|
+
purchaseRequisitionQuantity: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
228
|
+
purchaseRequisitionPrice: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
229
|
+
replacement: jspb.Message.getFieldWithDefault(msg, 30, "")
|
|
227
230
|
};
|
|
228
231
|
|
|
229
232
|
if (includeInstance) {
|
|
@@ -285,7 +288,7 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
285
288
|
msg.setDescription(value);
|
|
286
289
|
break;
|
|
287
290
|
case 7:
|
|
288
|
-
var value = /** @type {
|
|
291
|
+
var value = /** @type {string} */ (reader.readString());
|
|
289
292
|
msg.setQuantity(value);
|
|
290
293
|
break;
|
|
291
294
|
case 8:
|
|
@@ -293,7 +296,7 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
293
296
|
msg.setUnitOfMeasure(value);
|
|
294
297
|
break;
|
|
295
298
|
case 9:
|
|
296
|
-
var value = /** @type {
|
|
299
|
+
var value = /** @type {string} */ (reader.readString());
|
|
297
300
|
msg.setEstimatedUnitPrice(value);
|
|
298
301
|
break;
|
|
299
302
|
case 10:
|
|
@@ -371,6 +374,18 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
371
374
|
var value = /** @type {number} */ (reader.readInt64());
|
|
372
375
|
msg.setRemainingQuantity(value);
|
|
373
376
|
break;
|
|
377
|
+
case 28:
|
|
378
|
+
var value = /** @type {string} */ (reader.readString());
|
|
379
|
+
msg.setPurchaseRequisitionQuantity(value);
|
|
380
|
+
break;
|
|
381
|
+
case 29:
|
|
382
|
+
var value = /** @type {string} */ (reader.readString());
|
|
383
|
+
msg.setPurchaseRequisitionPrice(value);
|
|
384
|
+
break;
|
|
385
|
+
case 30:
|
|
386
|
+
var value = /** @type {string} */ (reader.readString());
|
|
387
|
+
msg.setReplacement(value);
|
|
388
|
+
break;
|
|
374
389
|
default:
|
|
375
390
|
reader.skipField();
|
|
376
391
|
break;
|
|
@@ -443,8 +458,8 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
443
458
|
);
|
|
444
459
|
}
|
|
445
460
|
f = message.getQuantity();
|
|
446
|
-
if (f
|
|
447
|
-
writer.
|
|
461
|
+
if (f.length > 0) {
|
|
462
|
+
writer.writeString(
|
|
448
463
|
7,
|
|
449
464
|
f
|
|
450
465
|
);
|
|
@@ -457,8 +472,8 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
457
472
|
);
|
|
458
473
|
}
|
|
459
474
|
f = message.getEstimatedUnitPrice();
|
|
460
|
-
if (f
|
|
461
|
-
writer.
|
|
475
|
+
if (f.length > 0) {
|
|
476
|
+
writer.writeString(
|
|
462
477
|
9,
|
|
463
478
|
f
|
|
464
479
|
);
|
|
@@ -592,6 +607,27 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
592
607
|
f
|
|
593
608
|
);
|
|
594
609
|
}
|
|
610
|
+
f = message.getPurchaseRequisitionQuantity();
|
|
611
|
+
if (f.length > 0) {
|
|
612
|
+
writer.writeString(
|
|
613
|
+
28,
|
|
614
|
+
f
|
|
615
|
+
);
|
|
616
|
+
}
|
|
617
|
+
f = message.getPurchaseRequisitionPrice();
|
|
618
|
+
if (f.length > 0) {
|
|
619
|
+
writer.writeString(
|
|
620
|
+
29,
|
|
621
|
+
f
|
|
622
|
+
);
|
|
623
|
+
}
|
|
624
|
+
f = message.getReplacement();
|
|
625
|
+
if (f.length > 0) {
|
|
626
|
+
writer.writeString(
|
|
627
|
+
30,
|
|
628
|
+
f
|
|
629
|
+
);
|
|
630
|
+
}
|
|
595
631
|
};
|
|
596
632
|
|
|
597
633
|
|
|
@@ -704,20 +740,20 @@ proto.ItemTransaction.prototype.setDescription = function(value) {
|
|
|
704
740
|
|
|
705
741
|
|
|
706
742
|
/**
|
|
707
|
-
* optional
|
|
708
|
-
* @return {
|
|
743
|
+
* optional string quantity = 7;
|
|
744
|
+
* @return {string}
|
|
709
745
|
*/
|
|
710
746
|
proto.ItemTransaction.prototype.getQuantity = function() {
|
|
711
|
-
return /** @type {
|
|
747
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
712
748
|
};
|
|
713
749
|
|
|
714
750
|
|
|
715
751
|
/**
|
|
716
|
-
* @param {
|
|
752
|
+
* @param {string} value
|
|
717
753
|
* @return {!proto.ItemTransaction} returns this
|
|
718
754
|
*/
|
|
719
755
|
proto.ItemTransaction.prototype.setQuantity = function(value) {
|
|
720
|
-
return jspb.Message.
|
|
756
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
721
757
|
};
|
|
722
758
|
|
|
723
759
|
|
|
@@ -740,20 +776,20 @@ proto.ItemTransaction.prototype.setUnitOfMeasure = function(value) {
|
|
|
740
776
|
|
|
741
777
|
|
|
742
778
|
/**
|
|
743
|
-
* optional
|
|
744
|
-
* @return {
|
|
779
|
+
* optional string estimated_unit_price = 9;
|
|
780
|
+
* @return {string}
|
|
745
781
|
*/
|
|
746
782
|
proto.ItemTransaction.prototype.getEstimatedUnitPrice = function() {
|
|
747
|
-
return /** @type {
|
|
783
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
748
784
|
};
|
|
749
785
|
|
|
750
786
|
|
|
751
787
|
/**
|
|
752
|
-
* @param {
|
|
788
|
+
* @param {string} value
|
|
753
789
|
* @return {!proto.ItemTransaction} returns this
|
|
754
790
|
*/
|
|
755
791
|
proto.ItemTransaction.prototype.setEstimatedUnitPrice = function(value) {
|
|
756
|
-
return jspb.Message.
|
|
792
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
757
793
|
};
|
|
758
794
|
|
|
759
795
|
|
|
@@ -1141,6 +1177,60 @@ proto.ItemTransaction.prototype.setRemainingQuantity = function(value) {
|
|
|
1141
1177
|
};
|
|
1142
1178
|
|
|
1143
1179
|
|
|
1180
|
+
/**
|
|
1181
|
+
* optional string purchase_requisition_quantity = 28;
|
|
1182
|
+
* @return {string}
|
|
1183
|
+
*/
|
|
1184
|
+
proto.ItemTransaction.prototype.getPurchaseRequisitionQuantity = function() {
|
|
1185
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
|
|
1186
|
+
};
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* @param {string} value
|
|
1191
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1192
|
+
*/
|
|
1193
|
+
proto.ItemTransaction.prototype.setPurchaseRequisitionQuantity = function(value) {
|
|
1194
|
+
return jspb.Message.setProto3StringField(this, 28, value);
|
|
1195
|
+
};
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* optional string purchase_requisition_price = 29;
|
|
1200
|
+
* @return {string}
|
|
1201
|
+
*/
|
|
1202
|
+
proto.ItemTransaction.prototype.getPurchaseRequisitionPrice = function() {
|
|
1203
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
|
|
1204
|
+
};
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* @param {string} value
|
|
1209
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1210
|
+
*/
|
|
1211
|
+
proto.ItemTransaction.prototype.setPurchaseRequisitionPrice = function(value) {
|
|
1212
|
+
return jspb.Message.setProto3StringField(this, 29, value);
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* optional string replacement = 30;
|
|
1218
|
+
* @return {string}
|
|
1219
|
+
*/
|
|
1220
|
+
proto.ItemTransaction.prototype.getReplacement = function() {
|
|
1221
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
|
|
1222
|
+
};
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* @param {string} value
|
|
1227
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1228
|
+
*/
|
|
1229
|
+
proto.ItemTransaction.prototype.setReplacement = function(value) {
|
|
1230
|
+
return jspb.Message.setProto3StringField(this, 30, value);
|
|
1231
|
+
};
|
|
1232
|
+
|
|
1233
|
+
|
|
1144
1234
|
|
|
1145
1235
|
/**
|
|
1146
1236
|
* List of repeated fields within this message type.
|
|
@@ -2436,9 +2526,9 @@ materialGroup: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
|
2436
2526
|
materialCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2437
2527
|
detailDescription: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
2438
2528
|
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2439
|
-
quantity: jspb.Message.
|
|
2529
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2440
2530
|
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2441
|
-
estimatedUnitPrice: jspb.Message.
|
|
2531
|
+
estimatedUnitPrice: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2442
2532
|
deliveryDate: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2443
2533
|
plannedDeliveryTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
2444
2534
|
customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
@@ -2514,7 +2604,7 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2514
2604
|
msg.setDescription(value);
|
|
2515
2605
|
break;
|
|
2516
2606
|
case 7:
|
|
2517
|
-
var value = /** @type {
|
|
2607
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2518
2608
|
msg.setQuantity(value);
|
|
2519
2609
|
break;
|
|
2520
2610
|
case 8:
|
|
@@ -2522,7 +2612,7 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2522
2612
|
msg.setUnitOfMeasure(value);
|
|
2523
2613
|
break;
|
|
2524
2614
|
case 9:
|
|
2525
|
-
var value = /** @type {
|
|
2615
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2526
2616
|
msg.setEstimatedUnitPrice(value);
|
|
2527
2617
|
break;
|
|
2528
2618
|
case 10:
|
|
@@ -2644,8 +2734,8 @@ proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
2644
2734
|
);
|
|
2645
2735
|
}
|
|
2646
2736
|
f = message.getQuantity();
|
|
2647
|
-
if (f
|
|
2648
|
-
writer.
|
|
2737
|
+
if (f.length > 0) {
|
|
2738
|
+
writer.writeString(
|
|
2649
2739
|
7,
|
|
2650
2740
|
f
|
|
2651
2741
|
);
|
|
@@ -2658,8 +2748,8 @@ proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
2658
2748
|
);
|
|
2659
2749
|
}
|
|
2660
2750
|
f = message.getEstimatedUnitPrice();
|
|
2661
|
-
if (f
|
|
2662
|
-
writer.
|
|
2751
|
+
if (f.length > 0) {
|
|
2752
|
+
writer.writeString(
|
|
2663
2753
|
9,
|
|
2664
2754
|
f
|
|
2665
2755
|
);
|
|
@@ -2856,20 +2946,20 @@ proto.BaseItemTransaction.prototype.setDescription = function(value) {
|
|
|
2856
2946
|
|
|
2857
2947
|
|
|
2858
2948
|
/**
|
|
2859
|
-
* optional
|
|
2860
|
-
* @return {
|
|
2949
|
+
* optional string quantity = 7;
|
|
2950
|
+
* @return {string}
|
|
2861
2951
|
*/
|
|
2862
2952
|
proto.BaseItemTransaction.prototype.getQuantity = function() {
|
|
2863
|
-
return /** @type {
|
|
2953
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
2864
2954
|
};
|
|
2865
2955
|
|
|
2866
2956
|
|
|
2867
2957
|
/**
|
|
2868
|
-
* @param {
|
|
2958
|
+
* @param {string} value
|
|
2869
2959
|
* @return {!proto.BaseItemTransaction} returns this
|
|
2870
2960
|
*/
|
|
2871
2961
|
proto.BaseItemTransaction.prototype.setQuantity = function(value) {
|
|
2872
|
-
return jspb.Message.
|
|
2962
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
2873
2963
|
};
|
|
2874
2964
|
|
|
2875
2965
|
|
|
@@ -2892,20 +2982,20 @@ proto.BaseItemTransaction.prototype.setUnitOfMeasure = function(value) {
|
|
|
2892
2982
|
|
|
2893
2983
|
|
|
2894
2984
|
/**
|
|
2895
|
-
* optional
|
|
2896
|
-
* @return {
|
|
2985
|
+
* optional string estimated_unit_price = 9;
|
|
2986
|
+
* @return {string}
|
|
2897
2987
|
*/
|
|
2898
2988
|
proto.BaseItemTransaction.prototype.getEstimatedUnitPrice = function() {
|
|
2899
|
-
return /** @type {
|
|
2989
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
2900
2990
|
};
|
|
2901
2991
|
|
|
2902
2992
|
|
|
2903
2993
|
/**
|
|
2904
|
-
* @param {
|
|
2994
|
+
* @param {string} value
|
|
2905
2995
|
* @return {!proto.BaseItemTransaction} returns this
|
|
2906
2996
|
*/
|
|
2907
2997
|
proto.BaseItemTransaction.prototype.setEstimatedUnitPrice = function(value) {
|
|
2908
|
-
return jspb.Message.
|
|
2998
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
2909
2999
|
};
|
|
2910
3000
|
|
|
2911
3001
|
|
|
@@ -27,6 +27,28 @@ function deserialize_ActivityResponse(buffer_arg) {
|
|
|
27
27
|
return prisca_v1_core_line_of_activity_line_of_activity_pb.ActivityResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
function serialize_ProcessFlowRequest(arg) {
|
|
31
|
+
if (!(arg instanceof prisca_v1_core_line_of_activity_line_of_activity_pb.ProcessFlowRequest)) {
|
|
32
|
+
throw new Error('Expected argument of type ProcessFlowRequest');
|
|
33
|
+
}
|
|
34
|
+
return Buffer.from(arg.serializeBinary());
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function deserialize_ProcessFlowRequest(buffer_arg) {
|
|
38
|
+
return prisca_v1_core_line_of_activity_line_of_activity_pb.ProcessFlowRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function serialize_ProcessFlowResponse(arg) {
|
|
42
|
+
if (!(arg instanceof prisca_v1_core_line_of_activity_line_of_activity_pb.ProcessFlowResponse)) {
|
|
43
|
+
throw new Error('Expected argument of type ProcessFlowResponse');
|
|
44
|
+
}
|
|
45
|
+
return Buffer.from(arg.serializeBinary());
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function deserialize_ProcessFlowResponse(buffer_arg) {
|
|
49
|
+
return prisca_v1_core_line_of_activity_line_of_activity_pb.ProcessFlowResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
50
|
+
}
|
|
51
|
+
|
|
30
52
|
|
|
31
53
|
var ActivityServiceService = exports.ActivityServiceService = {
|
|
32
54
|
getActivityLineOfApproval: {
|
|
@@ -40,6 +62,17 @@ var ActivityServiceService = exports.ActivityServiceService = {
|
|
|
40
62
|
responseSerialize: serialize_ActivityResponse,
|
|
41
63
|
responseDeserialize: deserialize_ActivityResponse,
|
|
42
64
|
},
|
|
65
|
+
getLineOfProcessFlow: {
|
|
66
|
+
path: '/ActivityService/GetLineOfProcessFlow',
|
|
67
|
+
requestStream: false,
|
|
68
|
+
responseStream: false,
|
|
69
|
+
requestType: prisca_v1_core_line_of_activity_line_of_activity_pb.ProcessFlowRequest,
|
|
70
|
+
responseType: prisca_v1_core_line_of_activity_line_of_activity_pb.ProcessFlowResponse,
|
|
71
|
+
requestSerialize: serialize_ProcessFlowRequest,
|
|
72
|
+
requestDeserialize: deserialize_ProcessFlowRequest,
|
|
73
|
+
responseSerialize: serialize_ProcessFlowResponse,
|
|
74
|
+
responseDeserialize: deserialize_ProcessFlowResponse,
|
|
75
|
+
},
|
|
43
76
|
};
|
|
44
77
|
|
|
45
78
|
exports.ActivityServiceClient = grpc.makeGenericClientConstructor(ActivityServiceService, 'ActivityService');
|