@aldiokta/protocgen 1.1.6 → 1.1.7
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/bidding/bidding_grpc_pb.js +119 -0
- package/prisca/v1/bidding/bidding_pb.js +3152 -0
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +20 -42
- package/prisca/v1/core/file_upload/file_upload_pb.js +264 -256
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +1205 -87
- package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +20 -50
- package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +146 -0
- package/prisca/v1/core/price_condition/price_condition_pb.js +2654 -0
- package/prisca/v1/quotation/quotation_grpc_pb.js +151 -0
- package/prisca/v1/quotation/quotation_pb.js +3941 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +192 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +5703 -0
|
@@ -21,10 +21,14 @@ var global =
|
|
|
21
21
|
(function () { return this; }).call(null) ||
|
|
22
22
|
Function('return this')();
|
|
23
23
|
|
|
24
|
+
var prisca_v1_core_file_upload_file_upload_pb = require('../../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
25
|
+
goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
|
|
24
26
|
goog.exportSymbol('proto.BaseItemTransaction', null, global);
|
|
25
27
|
goog.exportSymbol('proto.BaseItemTransactionDetail', null, global);
|
|
28
|
+
goog.exportSymbol('proto.BaseItemTransactionPriceCondition', null, global);
|
|
26
29
|
goog.exportSymbol('proto.ItemTransaction', null, global);
|
|
27
30
|
goog.exportSymbol('proto.ItemTransactionDetail', null, global);
|
|
31
|
+
goog.exportSymbol('proto.ItemTransactionPriceCondition', null, global);
|
|
28
32
|
/**
|
|
29
33
|
* Generated by JsPbCodeGenerator.
|
|
30
34
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -57,7 +61,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
57
61
|
* @constructor
|
|
58
62
|
*/
|
|
59
63
|
proto.ItemTransactionDetail = function(opt_data) {
|
|
60
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
64
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ItemTransactionDetail.repeatedFields_, null);
|
|
61
65
|
};
|
|
62
66
|
goog.inherits(proto.ItemTransactionDetail, jspb.Message);
|
|
63
67
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -67,6 +71,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
67
71
|
*/
|
|
68
72
|
proto.ItemTransactionDetail.displayName = 'proto.ItemTransactionDetail';
|
|
69
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Generated by JsPbCodeGenerator.
|
|
76
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
77
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
78
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
79
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
80
|
+
* valid.
|
|
81
|
+
* @extends {jspb.Message}
|
|
82
|
+
* @constructor
|
|
83
|
+
*/
|
|
84
|
+
proto.ItemTransactionPriceCondition = function(opt_data) {
|
|
85
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
86
|
+
};
|
|
87
|
+
goog.inherits(proto.ItemTransactionPriceCondition, jspb.Message);
|
|
88
|
+
if (goog.DEBUG && !COMPILED) {
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* @override
|
|
92
|
+
*/
|
|
93
|
+
proto.ItemTransactionPriceCondition.displayName = 'proto.ItemTransactionPriceCondition';
|
|
94
|
+
}
|
|
70
95
|
/**
|
|
71
96
|
* Generated by JsPbCodeGenerator.
|
|
72
97
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -99,7 +124,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
99
124
|
* @constructor
|
|
100
125
|
*/
|
|
101
126
|
proto.BaseItemTransactionDetail = function(opt_data) {
|
|
102
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
127
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.BaseItemTransactionDetail.repeatedFields_, null);
|
|
103
128
|
};
|
|
104
129
|
goog.inherits(proto.BaseItemTransactionDetail, jspb.Message);
|
|
105
130
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -109,13 +134,34 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
109
134
|
*/
|
|
110
135
|
proto.BaseItemTransactionDetail.displayName = 'proto.BaseItemTransactionDetail';
|
|
111
136
|
}
|
|
137
|
+
/**
|
|
138
|
+
* Generated by JsPbCodeGenerator.
|
|
139
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
140
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
141
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
142
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
143
|
+
* valid.
|
|
144
|
+
* @extends {jspb.Message}
|
|
145
|
+
* @constructor
|
|
146
|
+
*/
|
|
147
|
+
proto.BaseItemTransactionPriceCondition = function(opt_data) {
|
|
148
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
149
|
+
};
|
|
150
|
+
goog.inherits(proto.BaseItemTransactionPriceCondition, jspb.Message);
|
|
151
|
+
if (goog.DEBUG && !COMPILED) {
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
* @override
|
|
155
|
+
*/
|
|
156
|
+
proto.BaseItemTransactionPriceCondition.displayName = 'proto.BaseItemTransactionPriceCondition';
|
|
157
|
+
}
|
|
112
158
|
|
|
113
159
|
/**
|
|
114
160
|
* List of repeated fields within this message type.
|
|
115
161
|
* @private {!Array<number>}
|
|
116
162
|
* @const
|
|
117
163
|
*/
|
|
118
|
-
proto.ItemTransaction.repeatedFields_ = [13];
|
|
164
|
+
proto.ItemTransaction.repeatedFields_ = [13,14,21];
|
|
119
165
|
|
|
120
166
|
|
|
121
167
|
|
|
@@ -162,12 +208,17 @@ plannedDeliveryTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
|
162
208
|
customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
163
209
|
itemTransactionDetailList: jspb.Message.toObjectList(msg.getItemTransactionDetailList(),
|
|
164
210
|
proto.ItemTransactionDetail.toObject, includeInstance),
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
211
|
+
itemTransactionPriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionPriceConditionList(),
|
|
212
|
+
proto.ItemTransactionPriceCondition.toObject, includeInstance),
|
|
213
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
214
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
215
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
216
|
+
transactionReferences: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
217
|
+
typeTransaction: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
218
|
+
previousReferences: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
219
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
220
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
221
|
+
previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
171
222
|
};
|
|
172
223
|
|
|
173
224
|
if (includeInstance) {
|
|
@@ -258,29 +309,43 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
258
309
|
msg.addItemTransactionDetail(value);
|
|
259
310
|
break;
|
|
260
311
|
case 14:
|
|
312
|
+
var value = new proto.ItemTransactionPriceCondition;
|
|
313
|
+
reader.readMessage(value,proto.ItemTransactionPriceCondition.deserializeBinaryFromReader);
|
|
314
|
+
msg.addItemTransactionPriceCondition(value);
|
|
315
|
+
break;
|
|
316
|
+
case 15:
|
|
261
317
|
var value = /** @type {string} */ (reader.readString());
|
|
262
318
|
msg.setReferencesId(value);
|
|
263
319
|
break;
|
|
264
|
-
case
|
|
320
|
+
case 16:
|
|
265
321
|
var value = /** @type {string} */ (reader.readString());
|
|
266
322
|
msg.setCreatedAt(value);
|
|
267
323
|
break;
|
|
268
|
-
case
|
|
324
|
+
case 17:
|
|
269
325
|
var value = /** @type {string} */ (reader.readString());
|
|
270
326
|
msg.setUpdatedAt(value);
|
|
271
327
|
break;
|
|
272
|
-
case
|
|
328
|
+
case 18:
|
|
273
329
|
var value = /** @type {string} */ (reader.readString());
|
|
274
330
|
msg.setTransactionReferences(value);
|
|
275
331
|
break;
|
|
276
|
-
case
|
|
332
|
+
case 19:
|
|
277
333
|
var value = /** @type {string} */ (reader.readString());
|
|
278
334
|
msg.setTypeTransaction(value);
|
|
279
335
|
break;
|
|
280
|
-
case
|
|
336
|
+
case 20:
|
|
281
337
|
var value = /** @type {string} */ (reader.readString());
|
|
282
338
|
msg.setPreviousReferences(value);
|
|
283
339
|
break;
|
|
340
|
+
case 21:
|
|
341
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
342
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
343
|
+
msg.addFiles(value);
|
|
344
|
+
break;
|
|
345
|
+
case 22:
|
|
346
|
+
var value = /** @type {string} */ (reader.readString());
|
|
347
|
+
msg.setPreviousTransactionReferences(value);
|
|
348
|
+
break;
|
|
284
349
|
default:
|
|
285
350
|
reader.skipField();
|
|
286
351
|
break;
|
|
@@ -402,45 +467,68 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
402
467
|
proto.ItemTransactionDetail.serializeBinaryToWriter
|
|
403
468
|
);
|
|
404
469
|
}
|
|
470
|
+
f = message.getItemTransactionPriceConditionList();
|
|
471
|
+
if (f.length > 0) {
|
|
472
|
+
writer.writeRepeatedMessage(
|
|
473
|
+
14,
|
|
474
|
+
f,
|
|
475
|
+
proto.ItemTransactionPriceCondition.serializeBinaryToWriter
|
|
476
|
+
);
|
|
477
|
+
}
|
|
405
478
|
f = message.getReferencesId();
|
|
406
479
|
if (f.length > 0) {
|
|
407
480
|
writer.writeString(
|
|
408
|
-
|
|
481
|
+
15,
|
|
409
482
|
f
|
|
410
483
|
);
|
|
411
484
|
}
|
|
412
485
|
f = message.getCreatedAt();
|
|
413
486
|
if (f.length > 0) {
|
|
414
487
|
writer.writeString(
|
|
415
|
-
|
|
488
|
+
16,
|
|
416
489
|
f
|
|
417
490
|
);
|
|
418
491
|
}
|
|
419
492
|
f = message.getUpdatedAt();
|
|
420
493
|
if (f.length > 0) {
|
|
421
494
|
writer.writeString(
|
|
422
|
-
|
|
495
|
+
17,
|
|
423
496
|
f
|
|
424
497
|
);
|
|
425
498
|
}
|
|
426
499
|
f = message.getTransactionReferences();
|
|
427
500
|
if (f.length > 0) {
|
|
428
501
|
writer.writeString(
|
|
429
|
-
|
|
502
|
+
18,
|
|
430
503
|
f
|
|
431
504
|
);
|
|
432
505
|
}
|
|
433
506
|
f = message.getTypeTransaction();
|
|
434
507
|
if (f.length > 0) {
|
|
435
508
|
writer.writeString(
|
|
436
|
-
|
|
509
|
+
19,
|
|
437
510
|
f
|
|
438
511
|
);
|
|
439
512
|
}
|
|
440
513
|
f = message.getPreviousReferences();
|
|
441
514
|
if (f.length > 0) {
|
|
442
515
|
writer.writeString(
|
|
443
|
-
|
|
516
|
+
20,
|
|
517
|
+
f
|
|
518
|
+
);
|
|
519
|
+
}
|
|
520
|
+
f = message.getFilesList();
|
|
521
|
+
if (f.length > 0) {
|
|
522
|
+
writer.writeRepeatedMessage(
|
|
523
|
+
21,
|
|
524
|
+
f,
|
|
525
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
526
|
+
);
|
|
527
|
+
}
|
|
528
|
+
f = message.getPreviousTransactionReferences();
|
|
529
|
+
if (f.length > 0) {
|
|
530
|
+
writer.writeString(
|
|
531
|
+
22,
|
|
444
532
|
f
|
|
445
533
|
);
|
|
446
534
|
}
|
|
@@ -702,11 +790,49 @@ proto.ItemTransaction.prototype.clearItemTransactionDetailList = function() {
|
|
|
702
790
|
|
|
703
791
|
|
|
704
792
|
/**
|
|
705
|
-
*
|
|
793
|
+
* repeated ItemTransactionPriceCondition item_transaction_price_condition = 14;
|
|
794
|
+
* @return {!Array<!proto.ItemTransactionPriceCondition>}
|
|
795
|
+
*/
|
|
796
|
+
proto.ItemTransaction.prototype.getItemTransactionPriceConditionList = function() {
|
|
797
|
+
return /** @type{!Array<!proto.ItemTransactionPriceCondition>} */ (
|
|
798
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ItemTransactionPriceCondition, 14));
|
|
799
|
+
};
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* @param {!Array<!proto.ItemTransactionPriceCondition>} value
|
|
804
|
+
* @return {!proto.ItemTransaction} returns this
|
|
805
|
+
*/
|
|
806
|
+
proto.ItemTransaction.prototype.setItemTransactionPriceConditionList = function(value) {
|
|
807
|
+
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
|
808
|
+
};
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* @param {!proto.ItemTransactionPriceCondition=} opt_value
|
|
813
|
+
* @param {number=} opt_index
|
|
814
|
+
* @return {!proto.ItemTransactionPriceCondition}
|
|
815
|
+
*/
|
|
816
|
+
proto.ItemTransaction.prototype.addItemTransactionPriceCondition = function(opt_value, opt_index) {
|
|
817
|
+
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.ItemTransactionPriceCondition, opt_index);
|
|
818
|
+
};
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* Clears the list making it empty but non-null.
|
|
823
|
+
* @return {!proto.ItemTransaction} returns this
|
|
824
|
+
*/
|
|
825
|
+
proto.ItemTransaction.prototype.clearItemTransactionPriceConditionList = function() {
|
|
826
|
+
return this.setItemTransactionPriceConditionList([]);
|
|
827
|
+
};
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* optional string references_id = 15;
|
|
706
832
|
* @return {string}
|
|
707
833
|
*/
|
|
708
834
|
proto.ItemTransaction.prototype.getReferencesId = function() {
|
|
709
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
835
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
710
836
|
};
|
|
711
837
|
|
|
712
838
|
|
|
@@ -715,16 +841,16 @@ proto.ItemTransaction.prototype.getReferencesId = function() {
|
|
|
715
841
|
* @return {!proto.ItemTransaction} returns this
|
|
716
842
|
*/
|
|
717
843
|
proto.ItemTransaction.prototype.setReferencesId = function(value) {
|
|
718
|
-
return jspb.Message.setProto3StringField(this,
|
|
844
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
719
845
|
};
|
|
720
846
|
|
|
721
847
|
|
|
722
848
|
/**
|
|
723
|
-
* optional string created_at =
|
|
849
|
+
* optional string created_at = 16;
|
|
724
850
|
* @return {string}
|
|
725
851
|
*/
|
|
726
852
|
proto.ItemTransaction.prototype.getCreatedAt = function() {
|
|
727
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
853
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
728
854
|
};
|
|
729
855
|
|
|
730
856
|
|
|
@@ -733,16 +859,16 @@ proto.ItemTransaction.prototype.getCreatedAt = function() {
|
|
|
733
859
|
* @return {!proto.ItemTransaction} returns this
|
|
734
860
|
*/
|
|
735
861
|
proto.ItemTransaction.prototype.setCreatedAt = function(value) {
|
|
736
|
-
return jspb.Message.setProto3StringField(this,
|
|
862
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
737
863
|
};
|
|
738
864
|
|
|
739
865
|
|
|
740
866
|
/**
|
|
741
|
-
* optional string updated_at =
|
|
867
|
+
* optional string updated_at = 17;
|
|
742
868
|
* @return {string}
|
|
743
869
|
*/
|
|
744
870
|
proto.ItemTransaction.prototype.getUpdatedAt = function() {
|
|
745
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
871
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
746
872
|
};
|
|
747
873
|
|
|
748
874
|
|
|
@@ -751,16 +877,16 @@ proto.ItemTransaction.prototype.getUpdatedAt = function() {
|
|
|
751
877
|
* @return {!proto.ItemTransaction} returns this
|
|
752
878
|
*/
|
|
753
879
|
proto.ItemTransaction.prototype.setUpdatedAt = function(value) {
|
|
754
|
-
return jspb.Message.setProto3StringField(this,
|
|
880
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
755
881
|
};
|
|
756
882
|
|
|
757
883
|
|
|
758
884
|
/**
|
|
759
|
-
* optional string transaction_references =
|
|
885
|
+
* optional string transaction_references = 18;
|
|
760
886
|
* @return {string}
|
|
761
887
|
*/
|
|
762
888
|
proto.ItemTransaction.prototype.getTransactionReferences = function() {
|
|
763
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
889
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
764
890
|
};
|
|
765
891
|
|
|
766
892
|
|
|
@@ -769,16 +895,16 @@ proto.ItemTransaction.prototype.getTransactionReferences = function() {
|
|
|
769
895
|
* @return {!proto.ItemTransaction} returns this
|
|
770
896
|
*/
|
|
771
897
|
proto.ItemTransaction.prototype.setTransactionReferences = function(value) {
|
|
772
|
-
return jspb.Message.setProto3StringField(this,
|
|
898
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
773
899
|
};
|
|
774
900
|
|
|
775
901
|
|
|
776
902
|
/**
|
|
777
|
-
* optional string type_transaction =
|
|
903
|
+
* optional string type_transaction = 19;
|
|
778
904
|
* @return {string}
|
|
779
905
|
*/
|
|
780
906
|
proto.ItemTransaction.prototype.getTypeTransaction = function() {
|
|
781
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
907
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
782
908
|
};
|
|
783
909
|
|
|
784
910
|
|
|
@@ -787,16 +913,16 @@ proto.ItemTransaction.prototype.getTypeTransaction = function() {
|
|
|
787
913
|
* @return {!proto.ItemTransaction} returns this
|
|
788
914
|
*/
|
|
789
915
|
proto.ItemTransaction.prototype.setTypeTransaction = function(value) {
|
|
790
|
-
return jspb.Message.setProto3StringField(this,
|
|
916
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
791
917
|
};
|
|
792
918
|
|
|
793
919
|
|
|
794
920
|
/**
|
|
795
|
-
* optional string previous_references =
|
|
921
|
+
* optional string previous_references = 20;
|
|
796
922
|
* @return {string}
|
|
797
923
|
*/
|
|
798
924
|
proto.ItemTransaction.prototype.getPreviousReferences = function() {
|
|
799
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
925
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
800
926
|
};
|
|
801
927
|
|
|
802
928
|
|
|
@@ -805,11 +931,74 @@ proto.ItemTransaction.prototype.getPreviousReferences = function() {
|
|
|
805
931
|
* @return {!proto.ItemTransaction} returns this
|
|
806
932
|
*/
|
|
807
933
|
proto.ItemTransaction.prototype.setPreviousReferences = function(value) {
|
|
808
|
-
return jspb.Message.setProto3StringField(this,
|
|
934
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
935
|
+
};
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* repeated FileUploadReferencesReq files = 21;
|
|
940
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
941
|
+
*/
|
|
942
|
+
proto.ItemTransaction.prototype.getFilesList = function() {
|
|
943
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
944
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 21));
|
|
945
|
+
};
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
950
|
+
* @return {!proto.ItemTransaction} returns this
|
|
951
|
+
*/
|
|
952
|
+
proto.ItemTransaction.prototype.setFilesList = function(value) {
|
|
953
|
+
return jspb.Message.setRepeatedWrapperField(this, 21, value);
|
|
954
|
+
};
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
959
|
+
* @param {number=} opt_index
|
|
960
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
961
|
+
*/
|
|
962
|
+
proto.ItemTransaction.prototype.addFiles = function(opt_value, opt_index) {
|
|
963
|
+
return jspb.Message.addToRepeatedWrapperField(this, 21, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
964
|
+
};
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* Clears the list making it empty but non-null.
|
|
969
|
+
* @return {!proto.ItemTransaction} returns this
|
|
970
|
+
*/
|
|
971
|
+
proto.ItemTransaction.prototype.clearFilesList = function() {
|
|
972
|
+
return this.setFilesList([]);
|
|
973
|
+
};
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* optional string previous_transaction_references = 22;
|
|
978
|
+
* @return {string}
|
|
979
|
+
*/
|
|
980
|
+
proto.ItemTransaction.prototype.getPreviousTransactionReferences = function() {
|
|
981
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
982
|
+
};
|
|
983
|
+
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* @param {string} value
|
|
987
|
+
* @return {!proto.ItemTransaction} returns this
|
|
988
|
+
*/
|
|
989
|
+
proto.ItemTransaction.prototype.setPreviousTransactionReferences = function(value) {
|
|
990
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
809
991
|
};
|
|
810
992
|
|
|
811
993
|
|
|
812
994
|
|
|
995
|
+
/**
|
|
996
|
+
* List of repeated fields within this message type.
|
|
997
|
+
* @private {!Array<number>}
|
|
998
|
+
* @const
|
|
999
|
+
*/
|
|
1000
|
+
proto.ItemTransactionDetail.repeatedFields_ = [22];
|
|
1001
|
+
|
|
813
1002
|
|
|
814
1003
|
|
|
815
1004
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -861,7 +1050,9 @@ updatedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
|
861
1050
|
costCenter: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
862
1051
|
serviceNo: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
863
1052
|
serviceDescription: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
864
|
-
amountPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0)
|
|
1053
|
+
amountPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0),
|
|
1054
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
1055
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
865
1056
|
};
|
|
866
1057
|
|
|
867
1058
|
if (includeInstance) {
|
|
@@ -982,6 +1173,11 @@ proto.ItemTransactionDetail.deserializeBinaryFromReader = function(msg, reader)
|
|
|
982
1173
|
var value = /** @type {number} */ (reader.readFloat());
|
|
983
1174
|
msg.setAmountPrice(value);
|
|
984
1175
|
break;
|
|
1176
|
+
case 22:
|
|
1177
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
1178
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
1179
|
+
msg.addFiles(value);
|
|
1180
|
+
break;
|
|
985
1181
|
default:
|
|
986
1182
|
reader.skipField();
|
|
987
1183
|
break;
|
|
@@ -1158,6 +1354,14 @@ proto.ItemTransactionDetail.serializeBinaryToWriter = function(message, writer)
|
|
|
1158
1354
|
f
|
|
1159
1355
|
);
|
|
1160
1356
|
}
|
|
1357
|
+
f = message.getFilesList();
|
|
1358
|
+
if (f.length > 0) {
|
|
1359
|
+
writer.writeRepeatedMessage(
|
|
1360
|
+
22,
|
|
1361
|
+
f,
|
|
1362
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
1363
|
+
);
|
|
1364
|
+
}
|
|
1161
1365
|
};
|
|
1162
1366
|
|
|
1163
1367
|
|
|
@@ -1539,13 +1743,44 @@ proto.ItemTransactionDetail.prototype.setAmountPrice = function(value) {
|
|
|
1539
1743
|
};
|
|
1540
1744
|
|
|
1541
1745
|
|
|
1746
|
+
/**
|
|
1747
|
+
* repeated FileUploadReferencesReq files = 22;
|
|
1748
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
1749
|
+
*/
|
|
1750
|
+
proto.ItemTransactionDetail.prototype.getFilesList = function() {
|
|
1751
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
1752
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 22));
|
|
1753
|
+
};
|
|
1754
|
+
|
|
1542
1755
|
|
|
1543
1756
|
/**
|
|
1544
|
-
*
|
|
1545
|
-
* @
|
|
1546
|
-
|
|
1757
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
1758
|
+
* @return {!proto.ItemTransactionDetail} returns this
|
|
1759
|
+
*/
|
|
1760
|
+
proto.ItemTransactionDetail.prototype.setFilesList = function(value) {
|
|
1761
|
+
return jspb.Message.setRepeatedWrapperField(this, 22, value);
|
|
1762
|
+
};
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
1767
|
+
* @param {number=} opt_index
|
|
1768
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
1547
1769
|
*/
|
|
1548
|
-
proto.
|
|
1770
|
+
proto.ItemTransactionDetail.prototype.addFiles = function(opt_value, opt_index) {
|
|
1771
|
+
return jspb.Message.addToRepeatedWrapperField(this, 22, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
1772
|
+
};
|
|
1773
|
+
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* Clears the list making it empty but non-null.
|
|
1777
|
+
* @return {!proto.ItemTransactionDetail} returns this
|
|
1778
|
+
*/
|
|
1779
|
+
proto.ItemTransactionDetail.prototype.clearFilesList = function() {
|
|
1780
|
+
return this.setFilesList([]);
|
|
1781
|
+
};
|
|
1782
|
+
|
|
1783
|
+
|
|
1549
1784
|
|
|
1550
1785
|
|
|
1551
1786
|
|
|
@@ -1562,8 +1797,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1562
1797
|
* http://goto/soy-param-migration
|
|
1563
1798
|
* @return {!Object}
|
|
1564
1799
|
*/
|
|
1565
|
-
proto.
|
|
1566
|
-
return proto.
|
|
1800
|
+
proto.ItemTransactionPriceCondition.prototype.toObject = function(opt_includeInstance) {
|
|
1801
|
+
return proto.ItemTransactionPriceCondition.toObject(opt_includeInstance, this);
|
|
1567
1802
|
};
|
|
1568
1803
|
|
|
1569
1804
|
|
|
@@ -1572,27 +1807,22 @@ proto.BaseItemTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
|
1572
1807
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1573
1808
|
* the JSPB instance for transitional soy proto support:
|
|
1574
1809
|
* http://goto/soy-param-migration
|
|
1575
|
-
* @param {!proto.
|
|
1810
|
+
* @param {!proto.ItemTransactionPriceCondition} msg The msg instance to transform.
|
|
1576
1811
|
* @return {!Object}
|
|
1577
1812
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1578
1813
|
*/
|
|
1579
|
-
proto.
|
|
1814
|
+
proto.ItemTransactionPriceCondition.toObject = function(includeInstance, msg) {
|
|
1580
1815
|
var f, obj = {
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
plannedDeliveryTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
1592
|
-
customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
1593
|
-
itemTransactionDetailList: jspb.Message.toObjectList(msg.getItemTransactionDetailList(),
|
|
1594
|
-
proto.BaseItemTransactionDetail.toObject, includeInstance),
|
|
1595
|
-
previousReferences: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
1816
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1817
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
1818
|
+
operator: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1819
|
+
divide: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
1820
|
+
type: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1821
|
+
name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1822
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1823
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1824
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1825
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
1596
1826
|
};
|
|
1597
1827
|
|
|
1598
1828
|
if (includeInstance) {
|
|
@@ -1606,23 +1836,23 @@ previousReferences: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
|
1606
1836
|
/**
|
|
1607
1837
|
* Deserializes binary data (in protobuf wire format).
|
|
1608
1838
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1609
|
-
* @return {!proto.
|
|
1839
|
+
* @return {!proto.ItemTransactionPriceCondition}
|
|
1610
1840
|
*/
|
|
1611
|
-
proto.
|
|
1841
|
+
proto.ItemTransactionPriceCondition.deserializeBinary = function(bytes) {
|
|
1612
1842
|
var reader = new jspb.BinaryReader(bytes);
|
|
1613
|
-
var msg = new proto.
|
|
1614
|
-
return proto.
|
|
1843
|
+
var msg = new proto.ItemTransactionPriceCondition;
|
|
1844
|
+
return proto.ItemTransactionPriceCondition.deserializeBinaryFromReader(msg, reader);
|
|
1615
1845
|
};
|
|
1616
1846
|
|
|
1617
1847
|
|
|
1618
1848
|
/**
|
|
1619
1849
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1620
1850
|
* given reader into the given message object.
|
|
1621
|
-
* @param {!proto.
|
|
1851
|
+
* @param {!proto.ItemTransactionPriceCondition} msg The message object to deserialize into.
|
|
1622
1852
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1623
|
-
* @return {!proto.
|
|
1853
|
+
* @return {!proto.ItemTransactionPriceCondition}
|
|
1624
1854
|
*/
|
|
1625
|
-
proto.
|
|
1855
|
+
proto.ItemTransactionPriceCondition.deserializeBinaryFromReader = function(msg, reader) {
|
|
1626
1856
|
while (reader.nextField()) {
|
|
1627
1857
|
if (reader.isEndGroup()) {
|
|
1628
1858
|
break;
|
|
@@ -1630,39 +1860,456 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1630
1860
|
var field = reader.getFieldNumber();
|
|
1631
1861
|
switch (field) {
|
|
1632
1862
|
case 1:
|
|
1633
|
-
var value = /** @type {
|
|
1634
|
-
msg.
|
|
1863
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1864
|
+
msg.setId(value);
|
|
1635
1865
|
break;
|
|
1636
1866
|
case 2:
|
|
1637
|
-
var value = /** @type {
|
|
1638
|
-
msg.
|
|
1867
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1868
|
+
msg.setAmount(value);
|
|
1639
1869
|
break;
|
|
1640
1870
|
case 3:
|
|
1641
1871
|
var value = /** @type {string} */ (reader.readString());
|
|
1642
|
-
msg.
|
|
1872
|
+
msg.setOperator(value);
|
|
1643
1873
|
break;
|
|
1644
1874
|
case 4:
|
|
1645
|
-
var value = /** @type {
|
|
1646
|
-
msg.
|
|
1875
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1876
|
+
msg.setDivide(value);
|
|
1647
1877
|
break;
|
|
1648
1878
|
case 5:
|
|
1649
1879
|
var value = /** @type {string} */ (reader.readString());
|
|
1650
|
-
msg.
|
|
1880
|
+
msg.setType(value);
|
|
1651
1881
|
break;
|
|
1652
1882
|
case 6:
|
|
1653
1883
|
var value = /** @type {string} */ (reader.readString());
|
|
1654
|
-
msg.
|
|
1884
|
+
msg.setName(value);
|
|
1655
1885
|
break;
|
|
1656
1886
|
case 7:
|
|
1657
|
-
var value = /** @type {
|
|
1658
|
-
msg.
|
|
1887
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1888
|
+
msg.setItemTransactionRef(value);
|
|
1659
1889
|
break;
|
|
1660
1890
|
case 8:
|
|
1661
1891
|
var value = /** @type {string} */ (reader.readString());
|
|
1662
|
-
msg.
|
|
1892
|
+
msg.setReferencesId(value);
|
|
1663
1893
|
break;
|
|
1664
1894
|
case 9:
|
|
1665
|
-
var value = /** @type {
|
|
1895
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1896
|
+
msg.setCreatedAt(value);
|
|
1897
|
+
break;
|
|
1898
|
+
case 10:
|
|
1899
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1900
|
+
msg.setUpdatedAt(value);
|
|
1901
|
+
break;
|
|
1902
|
+
default:
|
|
1903
|
+
reader.skipField();
|
|
1904
|
+
break;
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
return msg;
|
|
1908
|
+
};
|
|
1909
|
+
|
|
1910
|
+
|
|
1911
|
+
/**
|
|
1912
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1913
|
+
* @return {!Uint8Array}
|
|
1914
|
+
*/
|
|
1915
|
+
proto.ItemTransactionPriceCondition.prototype.serializeBinary = function() {
|
|
1916
|
+
var writer = new jspb.BinaryWriter();
|
|
1917
|
+
proto.ItemTransactionPriceCondition.serializeBinaryToWriter(this, writer);
|
|
1918
|
+
return writer.getResultBuffer();
|
|
1919
|
+
};
|
|
1920
|
+
|
|
1921
|
+
|
|
1922
|
+
/**
|
|
1923
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1924
|
+
* format), writing to the given BinaryWriter.
|
|
1925
|
+
* @param {!proto.ItemTransactionPriceCondition} message
|
|
1926
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1927
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1928
|
+
*/
|
|
1929
|
+
proto.ItemTransactionPriceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
1930
|
+
var f = undefined;
|
|
1931
|
+
f = message.getId();
|
|
1932
|
+
if (f !== 0) {
|
|
1933
|
+
writer.writeInt64(
|
|
1934
|
+
1,
|
|
1935
|
+
f
|
|
1936
|
+
);
|
|
1937
|
+
}
|
|
1938
|
+
f = message.getAmount();
|
|
1939
|
+
if (f !== 0.0) {
|
|
1940
|
+
writer.writeFloat(
|
|
1941
|
+
2,
|
|
1942
|
+
f
|
|
1943
|
+
);
|
|
1944
|
+
}
|
|
1945
|
+
f = message.getOperator();
|
|
1946
|
+
if (f.length > 0) {
|
|
1947
|
+
writer.writeString(
|
|
1948
|
+
3,
|
|
1949
|
+
f
|
|
1950
|
+
);
|
|
1951
|
+
}
|
|
1952
|
+
f = message.getDivide();
|
|
1953
|
+
if (f !== 0.0) {
|
|
1954
|
+
writer.writeFloat(
|
|
1955
|
+
4,
|
|
1956
|
+
f
|
|
1957
|
+
);
|
|
1958
|
+
}
|
|
1959
|
+
f = message.getType();
|
|
1960
|
+
if (f.length > 0) {
|
|
1961
|
+
writer.writeString(
|
|
1962
|
+
5,
|
|
1963
|
+
f
|
|
1964
|
+
);
|
|
1965
|
+
}
|
|
1966
|
+
f = message.getName();
|
|
1967
|
+
if (f.length > 0) {
|
|
1968
|
+
writer.writeString(
|
|
1969
|
+
6,
|
|
1970
|
+
f
|
|
1971
|
+
);
|
|
1972
|
+
}
|
|
1973
|
+
f = message.getItemTransactionRef();
|
|
1974
|
+
if (f.length > 0) {
|
|
1975
|
+
writer.writeString(
|
|
1976
|
+
7,
|
|
1977
|
+
f
|
|
1978
|
+
);
|
|
1979
|
+
}
|
|
1980
|
+
f = message.getReferencesId();
|
|
1981
|
+
if (f.length > 0) {
|
|
1982
|
+
writer.writeString(
|
|
1983
|
+
8,
|
|
1984
|
+
f
|
|
1985
|
+
);
|
|
1986
|
+
}
|
|
1987
|
+
f = message.getCreatedAt();
|
|
1988
|
+
if (f.length > 0) {
|
|
1989
|
+
writer.writeString(
|
|
1990
|
+
9,
|
|
1991
|
+
f
|
|
1992
|
+
);
|
|
1993
|
+
}
|
|
1994
|
+
f = message.getUpdatedAt();
|
|
1995
|
+
if (f.length > 0) {
|
|
1996
|
+
writer.writeString(
|
|
1997
|
+
10,
|
|
1998
|
+
f
|
|
1999
|
+
);
|
|
2000
|
+
}
|
|
2001
|
+
};
|
|
2002
|
+
|
|
2003
|
+
|
|
2004
|
+
/**
|
|
2005
|
+
* optional int64 id = 1;
|
|
2006
|
+
* @return {number}
|
|
2007
|
+
*/
|
|
2008
|
+
proto.ItemTransactionPriceCondition.prototype.getId = function() {
|
|
2009
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2010
|
+
};
|
|
2011
|
+
|
|
2012
|
+
|
|
2013
|
+
/**
|
|
2014
|
+
* @param {number} value
|
|
2015
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2016
|
+
*/
|
|
2017
|
+
proto.ItemTransactionPriceCondition.prototype.setId = function(value) {
|
|
2018
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2019
|
+
};
|
|
2020
|
+
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* optional float amount = 2;
|
|
2024
|
+
* @return {number}
|
|
2025
|
+
*/
|
|
2026
|
+
proto.ItemTransactionPriceCondition.prototype.getAmount = function() {
|
|
2027
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
2028
|
+
};
|
|
2029
|
+
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* @param {number} value
|
|
2033
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2034
|
+
*/
|
|
2035
|
+
proto.ItemTransactionPriceCondition.prototype.setAmount = function(value) {
|
|
2036
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
2037
|
+
};
|
|
2038
|
+
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* optional string operator = 3;
|
|
2042
|
+
* @return {string}
|
|
2043
|
+
*/
|
|
2044
|
+
proto.ItemTransactionPriceCondition.prototype.getOperator = function() {
|
|
2045
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2046
|
+
};
|
|
2047
|
+
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* @param {string} value
|
|
2051
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2052
|
+
*/
|
|
2053
|
+
proto.ItemTransactionPriceCondition.prototype.setOperator = function(value) {
|
|
2054
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2055
|
+
};
|
|
2056
|
+
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* optional float divide = 4;
|
|
2060
|
+
* @return {number}
|
|
2061
|
+
*/
|
|
2062
|
+
proto.ItemTransactionPriceCondition.prototype.getDivide = function() {
|
|
2063
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
2064
|
+
};
|
|
2065
|
+
|
|
2066
|
+
|
|
2067
|
+
/**
|
|
2068
|
+
* @param {number} value
|
|
2069
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2070
|
+
*/
|
|
2071
|
+
proto.ItemTransactionPriceCondition.prototype.setDivide = function(value) {
|
|
2072
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
2073
|
+
};
|
|
2074
|
+
|
|
2075
|
+
|
|
2076
|
+
/**
|
|
2077
|
+
* optional string type = 5;
|
|
2078
|
+
* @return {string}
|
|
2079
|
+
*/
|
|
2080
|
+
proto.ItemTransactionPriceCondition.prototype.getType = function() {
|
|
2081
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2082
|
+
};
|
|
2083
|
+
|
|
2084
|
+
|
|
2085
|
+
/**
|
|
2086
|
+
* @param {string} value
|
|
2087
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2088
|
+
*/
|
|
2089
|
+
proto.ItemTransactionPriceCondition.prototype.setType = function(value) {
|
|
2090
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
2091
|
+
};
|
|
2092
|
+
|
|
2093
|
+
|
|
2094
|
+
/**
|
|
2095
|
+
* optional string name = 6;
|
|
2096
|
+
* @return {string}
|
|
2097
|
+
*/
|
|
2098
|
+
proto.ItemTransactionPriceCondition.prototype.getName = function() {
|
|
2099
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
2100
|
+
};
|
|
2101
|
+
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2104
|
+
* @param {string} value
|
|
2105
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2106
|
+
*/
|
|
2107
|
+
proto.ItemTransactionPriceCondition.prototype.setName = function(value) {
|
|
2108
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
2109
|
+
};
|
|
2110
|
+
|
|
2111
|
+
|
|
2112
|
+
/**
|
|
2113
|
+
* optional string item_transaction_ref = 7;
|
|
2114
|
+
* @return {string}
|
|
2115
|
+
*/
|
|
2116
|
+
proto.ItemTransactionPriceCondition.prototype.getItemTransactionRef = function() {
|
|
2117
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
2118
|
+
};
|
|
2119
|
+
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
* @param {string} value
|
|
2123
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2124
|
+
*/
|
|
2125
|
+
proto.ItemTransactionPriceCondition.prototype.setItemTransactionRef = function(value) {
|
|
2126
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
2127
|
+
};
|
|
2128
|
+
|
|
2129
|
+
|
|
2130
|
+
/**
|
|
2131
|
+
* optional string references_id = 8;
|
|
2132
|
+
* @return {string}
|
|
2133
|
+
*/
|
|
2134
|
+
proto.ItemTransactionPriceCondition.prototype.getReferencesId = function() {
|
|
2135
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
2136
|
+
};
|
|
2137
|
+
|
|
2138
|
+
|
|
2139
|
+
/**
|
|
2140
|
+
* @param {string} value
|
|
2141
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2142
|
+
*/
|
|
2143
|
+
proto.ItemTransactionPriceCondition.prototype.setReferencesId = function(value) {
|
|
2144
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
2145
|
+
};
|
|
2146
|
+
|
|
2147
|
+
|
|
2148
|
+
/**
|
|
2149
|
+
* optional string created_at = 9;
|
|
2150
|
+
* @return {string}
|
|
2151
|
+
*/
|
|
2152
|
+
proto.ItemTransactionPriceCondition.prototype.getCreatedAt = function() {
|
|
2153
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
2154
|
+
};
|
|
2155
|
+
|
|
2156
|
+
|
|
2157
|
+
/**
|
|
2158
|
+
* @param {string} value
|
|
2159
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2160
|
+
*/
|
|
2161
|
+
proto.ItemTransactionPriceCondition.prototype.setCreatedAt = function(value) {
|
|
2162
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
2163
|
+
};
|
|
2164
|
+
|
|
2165
|
+
|
|
2166
|
+
/**
|
|
2167
|
+
* optional string updated_at = 10;
|
|
2168
|
+
* @return {string}
|
|
2169
|
+
*/
|
|
2170
|
+
proto.ItemTransactionPriceCondition.prototype.getUpdatedAt = function() {
|
|
2171
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
2172
|
+
};
|
|
2173
|
+
|
|
2174
|
+
|
|
2175
|
+
/**
|
|
2176
|
+
* @param {string} value
|
|
2177
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2178
|
+
*/
|
|
2179
|
+
proto.ItemTransactionPriceCondition.prototype.setUpdatedAt = function(value) {
|
|
2180
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
2181
|
+
};
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
|
|
2185
|
+
/**
|
|
2186
|
+
* List of repeated fields within this message type.
|
|
2187
|
+
* @private {!Array<number>}
|
|
2188
|
+
* @const
|
|
2189
|
+
*/
|
|
2190
|
+
proto.BaseItemTransaction.repeatedFields_ = [13,14,17];
|
|
2191
|
+
|
|
2192
|
+
|
|
2193
|
+
|
|
2194
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2195
|
+
/**
|
|
2196
|
+
* Creates an object representation of this proto.
|
|
2197
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2198
|
+
* Optional fields that are not set will be set to undefined.
|
|
2199
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2200
|
+
* For the list of reserved names please see:
|
|
2201
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2202
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2203
|
+
* JSPB instance for transitional soy proto support:
|
|
2204
|
+
* http://goto/soy-param-migration
|
|
2205
|
+
* @return {!Object}
|
|
2206
|
+
*/
|
|
2207
|
+
proto.BaseItemTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
2208
|
+
return proto.BaseItemTransaction.toObject(opt_includeInstance, this);
|
|
2209
|
+
};
|
|
2210
|
+
|
|
2211
|
+
|
|
2212
|
+
/**
|
|
2213
|
+
* Static version of the {@see toObject} method.
|
|
2214
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2215
|
+
* the JSPB instance for transitional soy proto support:
|
|
2216
|
+
* http://goto/soy-param-migration
|
|
2217
|
+
* @param {!proto.BaseItemTransaction} msg The msg instance to transform.
|
|
2218
|
+
* @return {!Object}
|
|
2219
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2220
|
+
*/
|
|
2221
|
+
proto.BaseItemTransaction.toObject = function(includeInstance, msg) {
|
|
2222
|
+
var f, obj = {
|
|
2223
|
+
transactionReferences: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2224
|
+
accAssigment: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2225
|
+
materialGroup: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2226
|
+
materialCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2227
|
+
detailDescription: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
2228
|
+
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2229
|
+
quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
2230
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2231
|
+
estimatedUnitPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
2232
|
+
deliveryDate: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2233
|
+
plannedDeliveryTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
2234
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
2235
|
+
itemTransactionDetailList: jspb.Message.toObjectList(msg.getItemTransactionDetailList(),
|
|
2236
|
+
proto.BaseItemTransactionDetail.toObject, includeInstance),
|
|
2237
|
+
itemTransactionPriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionPriceConditionList(),
|
|
2238
|
+
proto.BaseItemTransactionPriceCondition.toObject, includeInstance),
|
|
2239
|
+
previousReferences: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
2240
|
+
previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
2241
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
2242
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
2243
|
+
};
|
|
2244
|
+
|
|
2245
|
+
if (includeInstance) {
|
|
2246
|
+
obj.$jspbMessageInstance = msg;
|
|
2247
|
+
}
|
|
2248
|
+
return obj;
|
|
2249
|
+
};
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2255
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2256
|
+
* @return {!proto.BaseItemTransaction}
|
|
2257
|
+
*/
|
|
2258
|
+
proto.BaseItemTransaction.deserializeBinary = function(bytes) {
|
|
2259
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2260
|
+
var msg = new proto.BaseItemTransaction;
|
|
2261
|
+
return proto.BaseItemTransaction.deserializeBinaryFromReader(msg, reader);
|
|
2262
|
+
};
|
|
2263
|
+
|
|
2264
|
+
|
|
2265
|
+
/**
|
|
2266
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2267
|
+
* given reader into the given message object.
|
|
2268
|
+
* @param {!proto.BaseItemTransaction} msg The message object to deserialize into.
|
|
2269
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2270
|
+
* @return {!proto.BaseItemTransaction}
|
|
2271
|
+
*/
|
|
2272
|
+
proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
2273
|
+
while (reader.nextField()) {
|
|
2274
|
+
if (reader.isEndGroup()) {
|
|
2275
|
+
break;
|
|
2276
|
+
}
|
|
2277
|
+
var field = reader.getFieldNumber();
|
|
2278
|
+
switch (field) {
|
|
2279
|
+
case 1:
|
|
2280
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2281
|
+
msg.setTransactionReferences(value);
|
|
2282
|
+
break;
|
|
2283
|
+
case 2:
|
|
2284
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2285
|
+
msg.setAccAssigment(value);
|
|
2286
|
+
break;
|
|
2287
|
+
case 3:
|
|
2288
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2289
|
+
msg.setMaterialGroup(value);
|
|
2290
|
+
break;
|
|
2291
|
+
case 4:
|
|
2292
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2293
|
+
msg.setMaterialCode(value);
|
|
2294
|
+
break;
|
|
2295
|
+
case 5:
|
|
2296
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2297
|
+
msg.setDetailDescription(value);
|
|
2298
|
+
break;
|
|
2299
|
+
case 6:
|
|
2300
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2301
|
+
msg.setDescription(value);
|
|
2302
|
+
break;
|
|
2303
|
+
case 7:
|
|
2304
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
2305
|
+
msg.setQuantity(value);
|
|
2306
|
+
break;
|
|
2307
|
+
case 8:
|
|
2308
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2309
|
+
msg.setUnitOfMeasure(value);
|
|
2310
|
+
break;
|
|
2311
|
+
case 9:
|
|
2312
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1666
2313
|
msg.setEstimatedUnitPrice(value);
|
|
1667
2314
|
break;
|
|
1668
2315
|
case 10:
|
|
@@ -1683,9 +2330,23 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1683
2330
|
msg.addItemTransactionDetail(value);
|
|
1684
2331
|
break;
|
|
1685
2332
|
case 14:
|
|
2333
|
+
var value = new proto.BaseItemTransactionPriceCondition;
|
|
2334
|
+
reader.readMessage(value,proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader);
|
|
2335
|
+
msg.addItemTransactionPriceCondition(value);
|
|
2336
|
+
break;
|
|
2337
|
+
case 15:
|
|
1686
2338
|
var value = /** @type {string} */ (reader.readString());
|
|
1687
2339
|
msg.setPreviousReferences(value);
|
|
1688
2340
|
break;
|
|
2341
|
+
case 16:
|
|
2342
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2343
|
+
msg.setPreviousTransactionReferences(value);
|
|
2344
|
+
break;
|
|
2345
|
+
case 17:
|
|
2346
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
2347
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
2348
|
+
msg.addFiles(value);
|
|
2349
|
+
break;
|
|
1689
2350
|
default:
|
|
1690
2351
|
reader.skipField();
|
|
1691
2352
|
break;
|
|
@@ -1807,13 +2468,36 @@ proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
1807
2468
|
proto.BaseItemTransactionDetail.serializeBinaryToWriter
|
|
1808
2469
|
);
|
|
1809
2470
|
}
|
|
2471
|
+
f = message.getItemTransactionPriceConditionList();
|
|
2472
|
+
if (f.length > 0) {
|
|
2473
|
+
writer.writeRepeatedMessage(
|
|
2474
|
+
14,
|
|
2475
|
+
f,
|
|
2476
|
+
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter
|
|
2477
|
+
);
|
|
2478
|
+
}
|
|
1810
2479
|
f = message.getPreviousReferences();
|
|
1811
2480
|
if (f.length > 0) {
|
|
1812
2481
|
writer.writeString(
|
|
1813
|
-
|
|
2482
|
+
15,
|
|
2483
|
+
f
|
|
2484
|
+
);
|
|
2485
|
+
}
|
|
2486
|
+
f = message.getPreviousTransactionReferences();
|
|
2487
|
+
if (f.length > 0) {
|
|
2488
|
+
writer.writeString(
|
|
2489
|
+
16,
|
|
1814
2490
|
f
|
|
1815
2491
|
);
|
|
1816
2492
|
}
|
|
2493
|
+
f = message.getFilesList();
|
|
2494
|
+
if (f.length > 0) {
|
|
2495
|
+
writer.writeRepeatedMessage(
|
|
2496
|
+
17,
|
|
2497
|
+
f,
|
|
2498
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
2499
|
+
);
|
|
2500
|
+
}
|
|
1817
2501
|
};
|
|
1818
2502
|
|
|
1819
2503
|
|
|
@@ -2072,11 +2756,49 @@ proto.BaseItemTransaction.prototype.clearItemTransactionDetailList = function()
|
|
|
2072
2756
|
|
|
2073
2757
|
|
|
2074
2758
|
/**
|
|
2075
|
-
*
|
|
2759
|
+
* repeated BaseItemTransactionPriceCondition item_transaction_price_condition = 14;
|
|
2760
|
+
* @return {!Array<!proto.BaseItemTransactionPriceCondition>}
|
|
2761
|
+
*/
|
|
2762
|
+
proto.BaseItemTransaction.prototype.getItemTransactionPriceConditionList = function() {
|
|
2763
|
+
return /** @type{!Array<!proto.BaseItemTransactionPriceCondition>} */ (
|
|
2764
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionPriceCondition, 14));
|
|
2765
|
+
};
|
|
2766
|
+
|
|
2767
|
+
|
|
2768
|
+
/**
|
|
2769
|
+
* @param {!Array<!proto.BaseItemTransactionPriceCondition>} value
|
|
2770
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
2771
|
+
*/
|
|
2772
|
+
proto.BaseItemTransaction.prototype.setItemTransactionPriceConditionList = function(value) {
|
|
2773
|
+
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
|
2774
|
+
};
|
|
2775
|
+
|
|
2776
|
+
|
|
2777
|
+
/**
|
|
2778
|
+
* @param {!proto.BaseItemTransactionPriceCondition=} opt_value
|
|
2779
|
+
* @param {number=} opt_index
|
|
2780
|
+
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
2781
|
+
*/
|
|
2782
|
+
proto.BaseItemTransaction.prototype.addItemTransactionPriceCondition = function(opt_value, opt_index) {
|
|
2783
|
+
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.BaseItemTransactionPriceCondition, opt_index);
|
|
2784
|
+
};
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
/**
|
|
2788
|
+
* Clears the list making it empty but non-null.
|
|
2789
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
2790
|
+
*/
|
|
2791
|
+
proto.BaseItemTransaction.prototype.clearItemTransactionPriceConditionList = function() {
|
|
2792
|
+
return this.setItemTransactionPriceConditionList([]);
|
|
2793
|
+
};
|
|
2794
|
+
|
|
2795
|
+
|
|
2796
|
+
/**
|
|
2797
|
+
* optional string previous_references = 15;
|
|
2076
2798
|
* @return {string}
|
|
2077
2799
|
*/
|
|
2078
2800
|
proto.BaseItemTransaction.prototype.getPreviousReferences = function() {
|
|
2079
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
2801
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
2080
2802
|
};
|
|
2081
2803
|
|
|
2082
2804
|
|
|
@@ -2085,10 +2807,73 @@ proto.BaseItemTransaction.prototype.getPreviousReferences = function() {
|
|
|
2085
2807
|
* @return {!proto.BaseItemTransaction} returns this
|
|
2086
2808
|
*/
|
|
2087
2809
|
proto.BaseItemTransaction.prototype.setPreviousReferences = function(value) {
|
|
2088
|
-
return jspb.Message.setProto3StringField(this,
|
|
2810
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
2089
2811
|
};
|
|
2090
2812
|
|
|
2091
2813
|
|
|
2814
|
+
/**
|
|
2815
|
+
* optional string previous_transaction_references = 16;
|
|
2816
|
+
* @return {string}
|
|
2817
|
+
*/
|
|
2818
|
+
proto.BaseItemTransaction.prototype.getPreviousTransactionReferences = function() {
|
|
2819
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
2820
|
+
};
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
/**
|
|
2824
|
+
* @param {string} value
|
|
2825
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
2826
|
+
*/
|
|
2827
|
+
proto.BaseItemTransaction.prototype.setPreviousTransactionReferences = function(value) {
|
|
2828
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
2829
|
+
};
|
|
2830
|
+
|
|
2831
|
+
|
|
2832
|
+
/**
|
|
2833
|
+
* repeated FileUploadReferencesReq files = 17;
|
|
2834
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
2835
|
+
*/
|
|
2836
|
+
proto.BaseItemTransaction.prototype.getFilesList = function() {
|
|
2837
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
2838
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 17));
|
|
2839
|
+
};
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
|
+
/**
|
|
2843
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
2844
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
2845
|
+
*/
|
|
2846
|
+
proto.BaseItemTransaction.prototype.setFilesList = function(value) {
|
|
2847
|
+
return jspb.Message.setRepeatedWrapperField(this, 17, value);
|
|
2848
|
+
};
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
/**
|
|
2852
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
2853
|
+
* @param {number=} opt_index
|
|
2854
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
2855
|
+
*/
|
|
2856
|
+
proto.BaseItemTransaction.prototype.addFiles = function(opt_value, opt_index) {
|
|
2857
|
+
return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
2858
|
+
};
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
/**
|
|
2862
|
+
* Clears the list making it empty but non-null.
|
|
2863
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
2864
|
+
*/
|
|
2865
|
+
proto.BaseItemTransaction.prototype.clearFilesList = function() {
|
|
2866
|
+
return this.setFilesList([]);
|
|
2867
|
+
};
|
|
2868
|
+
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
/**
|
|
2872
|
+
* List of repeated fields within this message type.
|
|
2873
|
+
* @private {!Array<number>}
|
|
2874
|
+
* @const
|
|
2875
|
+
*/
|
|
2876
|
+
proto.BaseItemTransactionDetail.repeatedFields_ = [18];
|
|
2092
2877
|
|
|
2093
2878
|
|
|
2094
2879
|
|
|
@@ -2137,7 +2922,9 @@ orderDescription: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
|
2137
2922
|
serviceNo: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
2138
2923
|
serviceDescription: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
2139
2924
|
amountPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
|
2140
|
-
materialCode: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
2925
|
+
materialCode: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
2926
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
2927
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
2141
2928
|
};
|
|
2142
2929
|
|
|
2143
2930
|
if (includeInstance) {
|
|
@@ -2242,6 +3029,11 @@ proto.BaseItemTransactionDetail.deserializeBinaryFromReader = function(msg, read
|
|
|
2242
3029
|
var value = /** @type {string} */ (reader.readString());
|
|
2243
3030
|
msg.setMaterialCode(value);
|
|
2244
3031
|
break;
|
|
3032
|
+
case 18:
|
|
3033
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
3034
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
3035
|
+
msg.addFiles(value);
|
|
3036
|
+
break;
|
|
2245
3037
|
default:
|
|
2246
3038
|
reader.skipField();
|
|
2247
3039
|
break;
|
|
@@ -2390,6 +3182,14 @@ proto.BaseItemTransactionDetail.serializeBinaryToWriter = function(message, writ
|
|
|
2390
3182
|
f
|
|
2391
3183
|
);
|
|
2392
3184
|
}
|
|
3185
|
+
f = message.getFilesList();
|
|
3186
|
+
if (f.length > 0) {
|
|
3187
|
+
writer.writeRepeatedMessage(
|
|
3188
|
+
18,
|
|
3189
|
+
f,
|
|
3190
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
3191
|
+
);
|
|
3192
|
+
}
|
|
2393
3193
|
};
|
|
2394
3194
|
|
|
2395
3195
|
|
|
@@ -2699,4 +3499,322 @@ proto.BaseItemTransactionDetail.prototype.setMaterialCode = function(value) {
|
|
|
2699
3499
|
};
|
|
2700
3500
|
|
|
2701
3501
|
|
|
3502
|
+
/**
|
|
3503
|
+
* repeated FileUploadReferencesReq files = 18;
|
|
3504
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
3505
|
+
*/
|
|
3506
|
+
proto.BaseItemTransactionDetail.prototype.getFilesList = function() {
|
|
3507
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
3508
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 18));
|
|
3509
|
+
};
|
|
3510
|
+
|
|
3511
|
+
|
|
3512
|
+
/**
|
|
3513
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
3514
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
3515
|
+
*/
|
|
3516
|
+
proto.BaseItemTransactionDetail.prototype.setFilesList = function(value) {
|
|
3517
|
+
return jspb.Message.setRepeatedWrapperField(this, 18, value);
|
|
3518
|
+
};
|
|
3519
|
+
|
|
3520
|
+
|
|
3521
|
+
/**
|
|
3522
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
3523
|
+
* @param {number=} opt_index
|
|
3524
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
3525
|
+
*/
|
|
3526
|
+
proto.BaseItemTransactionDetail.prototype.addFiles = function(opt_value, opt_index) {
|
|
3527
|
+
return jspb.Message.addToRepeatedWrapperField(this, 18, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
3528
|
+
};
|
|
3529
|
+
|
|
3530
|
+
|
|
3531
|
+
/**
|
|
3532
|
+
* Clears the list making it empty but non-null.
|
|
3533
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
3534
|
+
*/
|
|
3535
|
+
proto.BaseItemTransactionDetail.prototype.clearFilesList = function() {
|
|
3536
|
+
return this.setFilesList([]);
|
|
3537
|
+
};
|
|
3538
|
+
|
|
3539
|
+
|
|
3540
|
+
|
|
3541
|
+
|
|
3542
|
+
|
|
3543
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3544
|
+
/**
|
|
3545
|
+
* Creates an object representation of this proto.
|
|
3546
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3547
|
+
* Optional fields that are not set will be set to undefined.
|
|
3548
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3549
|
+
* For the list of reserved names please see:
|
|
3550
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3551
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3552
|
+
* JSPB instance for transitional soy proto support:
|
|
3553
|
+
* http://goto/soy-param-migration
|
|
3554
|
+
* @return {!Object}
|
|
3555
|
+
*/
|
|
3556
|
+
proto.BaseItemTransactionPriceCondition.prototype.toObject = function(opt_includeInstance) {
|
|
3557
|
+
return proto.BaseItemTransactionPriceCondition.toObject(opt_includeInstance, this);
|
|
3558
|
+
};
|
|
3559
|
+
|
|
3560
|
+
|
|
3561
|
+
/**
|
|
3562
|
+
* Static version of the {@see toObject} method.
|
|
3563
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3564
|
+
* the JSPB instance for transitional soy proto support:
|
|
3565
|
+
* http://goto/soy-param-migration
|
|
3566
|
+
* @param {!proto.BaseItemTransactionPriceCondition} msg The msg instance to transform.
|
|
3567
|
+
* @return {!Object}
|
|
3568
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3569
|
+
*/
|
|
3570
|
+
proto.BaseItemTransactionPriceCondition.toObject = function(includeInstance, msg) {
|
|
3571
|
+
var f, obj = {
|
|
3572
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
|
3573
|
+
operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3574
|
+
divide: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
3575
|
+
type: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3576
|
+
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3577
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
3578
|
+
};
|
|
3579
|
+
|
|
3580
|
+
if (includeInstance) {
|
|
3581
|
+
obj.$jspbMessageInstance = msg;
|
|
3582
|
+
}
|
|
3583
|
+
return obj;
|
|
3584
|
+
};
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3587
|
+
|
|
3588
|
+
/**
|
|
3589
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3590
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3591
|
+
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
3592
|
+
*/
|
|
3593
|
+
proto.BaseItemTransactionPriceCondition.deserializeBinary = function(bytes) {
|
|
3594
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3595
|
+
var msg = new proto.BaseItemTransactionPriceCondition;
|
|
3596
|
+
return proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader(msg, reader);
|
|
3597
|
+
};
|
|
3598
|
+
|
|
3599
|
+
|
|
3600
|
+
/**
|
|
3601
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3602
|
+
* given reader into the given message object.
|
|
3603
|
+
* @param {!proto.BaseItemTransactionPriceCondition} msg The message object to deserialize into.
|
|
3604
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3605
|
+
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
3606
|
+
*/
|
|
3607
|
+
proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader = function(msg, reader) {
|
|
3608
|
+
while (reader.nextField()) {
|
|
3609
|
+
if (reader.isEndGroup()) {
|
|
3610
|
+
break;
|
|
3611
|
+
}
|
|
3612
|
+
var field = reader.getFieldNumber();
|
|
3613
|
+
switch (field) {
|
|
3614
|
+
case 1:
|
|
3615
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
3616
|
+
msg.setAmount(value);
|
|
3617
|
+
break;
|
|
3618
|
+
case 2:
|
|
3619
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3620
|
+
msg.setOperator(value);
|
|
3621
|
+
break;
|
|
3622
|
+
case 3:
|
|
3623
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
3624
|
+
msg.setDivide(value);
|
|
3625
|
+
break;
|
|
3626
|
+
case 4:
|
|
3627
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3628
|
+
msg.setType(value);
|
|
3629
|
+
break;
|
|
3630
|
+
case 5:
|
|
3631
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3632
|
+
msg.setName(value);
|
|
3633
|
+
break;
|
|
3634
|
+
case 6:
|
|
3635
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3636
|
+
msg.setItemTransactionRef(value);
|
|
3637
|
+
break;
|
|
3638
|
+
default:
|
|
3639
|
+
reader.skipField();
|
|
3640
|
+
break;
|
|
3641
|
+
}
|
|
3642
|
+
}
|
|
3643
|
+
return msg;
|
|
3644
|
+
};
|
|
3645
|
+
|
|
3646
|
+
|
|
3647
|
+
/**
|
|
3648
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3649
|
+
* @return {!Uint8Array}
|
|
3650
|
+
*/
|
|
3651
|
+
proto.BaseItemTransactionPriceCondition.prototype.serializeBinary = function() {
|
|
3652
|
+
var writer = new jspb.BinaryWriter();
|
|
3653
|
+
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter(this, writer);
|
|
3654
|
+
return writer.getResultBuffer();
|
|
3655
|
+
};
|
|
3656
|
+
|
|
3657
|
+
|
|
3658
|
+
/**
|
|
3659
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3660
|
+
* format), writing to the given BinaryWriter.
|
|
3661
|
+
* @param {!proto.BaseItemTransactionPriceCondition} message
|
|
3662
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3663
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3664
|
+
*/
|
|
3665
|
+
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
3666
|
+
var f = undefined;
|
|
3667
|
+
f = message.getAmount();
|
|
3668
|
+
if (f !== 0.0) {
|
|
3669
|
+
writer.writeFloat(
|
|
3670
|
+
1,
|
|
3671
|
+
f
|
|
3672
|
+
);
|
|
3673
|
+
}
|
|
3674
|
+
f = message.getOperator();
|
|
3675
|
+
if (f.length > 0) {
|
|
3676
|
+
writer.writeString(
|
|
3677
|
+
2,
|
|
3678
|
+
f
|
|
3679
|
+
);
|
|
3680
|
+
}
|
|
3681
|
+
f = message.getDivide();
|
|
3682
|
+
if (f !== 0.0) {
|
|
3683
|
+
writer.writeFloat(
|
|
3684
|
+
3,
|
|
3685
|
+
f
|
|
3686
|
+
);
|
|
3687
|
+
}
|
|
3688
|
+
f = message.getType();
|
|
3689
|
+
if (f.length > 0) {
|
|
3690
|
+
writer.writeString(
|
|
3691
|
+
4,
|
|
3692
|
+
f
|
|
3693
|
+
);
|
|
3694
|
+
}
|
|
3695
|
+
f = message.getName();
|
|
3696
|
+
if (f.length > 0) {
|
|
3697
|
+
writer.writeString(
|
|
3698
|
+
5,
|
|
3699
|
+
f
|
|
3700
|
+
);
|
|
3701
|
+
}
|
|
3702
|
+
f = message.getItemTransactionRef();
|
|
3703
|
+
if (f.length > 0) {
|
|
3704
|
+
writer.writeString(
|
|
3705
|
+
6,
|
|
3706
|
+
f
|
|
3707
|
+
);
|
|
3708
|
+
}
|
|
3709
|
+
};
|
|
3710
|
+
|
|
3711
|
+
|
|
3712
|
+
/**
|
|
3713
|
+
* optional float amount = 1;
|
|
3714
|
+
* @return {number}
|
|
3715
|
+
*/
|
|
3716
|
+
proto.BaseItemTransactionPriceCondition.prototype.getAmount = function() {
|
|
3717
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
|
3718
|
+
};
|
|
3719
|
+
|
|
3720
|
+
|
|
3721
|
+
/**
|
|
3722
|
+
* @param {number} value
|
|
3723
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
3724
|
+
*/
|
|
3725
|
+
proto.BaseItemTransactionPriceCondition.prototype.setAmount = function(value) {
|
|
3726
|
+
return jspb.Message.setProto3FloatField(this, 1, value);
|
|
3727
|
+
};
|
|
3728
|
+
|
|
3729
|
+
|
|
3730
|
+
/**
|
|
3731
|
+
* optional string operator = 2;
|
|
3732
|
+
* @return {string}
|
|
3733
|
+
*/
|
|
3734
|
+
proto.BaseItemTransactionPriceCondition.prototype.getOperator = function() {
|
|
3735
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3736
|
+
};
|
|
3737
|
+
|
|
3738
|
+
|
|
3739
|
+
/**
|
|
3740
|
+
* @param {string} value
|
|
3741
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
3742
|
+
*/
|
|
3743
|
+
proto.BaseItemTransactionPriceCondition.prototype.setOperator = function(value) {
|
|
3744
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3745
|
+
};
|
|
3746
|
+
|
|
3747
|
+
|
|
3748
|
+
/**
|
|
3749
|
+
* optional float divide = 3;
|
|
3750
|
+
* @return {number}
|
|
3751
|
+
*/
|
|
3752
|
+
proto.BaseItemTransactionPriceCondition.prototype.getDivide = function() {
|
|
3753
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
3754
|
+
};
|
|
3755
|
+
|
|
3756
|
+
|
|
3757
|
+
/**
|
|
3758
|
+
* @param {number} value
|
|
3759
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
3760
|
+
*/
|
|
3761
|
+
proto.BaseItemTransactionPriceCondition.prototype.setDivide = function(value) {
|
|
3762
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
3763
|
+
};
|
|
3764
|
+
|
|
3765
|
+
|
|
3766
|
+
/**
|
|
3767
|
+
* optional string type = 4;
|
|
3768
|
+
* @return {string}
|
|
3769
|
+
*/
|
|
3770
|
+
proto.BaseItemTransactionPriceCondition.prototype.getType = function() {
|
|
3771
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3772
|
+
};
|
|
3773
|
+
|
|
3774
|
+
|
|
3775
|
+
/**
|
|
3776
|
+
* @param {string} value
|
|
3777
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
3778
|
+
*/
|
|
3779
|
+
proto.BaseItemTransactionPriceCondition.prototype.setType = function(value) {
|
|
3780
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3781
|
+
};
|
|
3782
|
+
|
|
3783
|
+
|
|
3784
|
+
/**
|
|
3785
|
+
* optional string name = 5;
|
|
3786
|
+
* @return {string}
|
|
3787
|
+
*/
|
|
3788
|
+
proto.BaseItemTransactionPriceCondition.prototype.getName = function() {
|
|
3789
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3790
|
+
};
|
|
3791
|
+
|
|
3792
|
+
|
|
3793
|
+
/**
|
|
3794
|
+
* @param {string} value
|
|
3795
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
3796
|
+
*/
|
|
3797
|
+
proto.BaseItemTransactionPriceCondition.prototype.setName = function(value) {
|
|
3798
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3799
|
+
};
|
|
3800
|
+
|
|
3801
|
+
|
|
3802
|
+
/**
|
|
3803
|
+
* optional string item_transaction_ref = 6;
|
|
3804
|
+
* @return {string}
|
|
3805
|
+
*/
|
|
3806
|
+
proto.BaseItemTransactionPriceCondition.prototype.getItemTransactionRef = function() {
|
|
3807
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3808
|
+
};
|
|
3809
|
+
|
|
3810
|
+
|
|
3811
|
+
/**
|
|
3812
|
+
* @param {string} value
|
|
3813
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
3814
|
+
*/
|
|
3815
|
+
proto.BaseItemTransactionPriceCondition.prototype.setItemTransactionRef = function(value) {
|
|
3816
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3817
|
+
};
|
|
3818
|
+
|
|
3819
|
+
|
|
2702
3820
|
goog.object.extend(exports, proto);
|