@aldiokta/protocgen 1.1.6 → 1.1.8
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/company/company_grpc_pb.js +1 -0
- package/prisca/v1/core/company/company_pb.js +175 -2
- 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 +1252 -74
- 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,18 @@ 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, ""),
|
|
222
|
+
currency: jspb.Message.getFieldWithDefault(msg, 23, "")
|
|
171
223
|
};
|
|
172
224
|
|
|
173
225
|
if (includeInstance) {
|
|
@@ -258,29 +310,47 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
258
310
|
msg.addItemTransactionDetail(value);
|
|
259
311
|
break;
|
|
260
312
|
case 14:
|
|
313
|
+
var value = new proto.ItemTransactionPriceCondition;
|
|
314
|
+
reader.readMessage(value,proto.ItemTransactionPriceCondition.deserializeBinaryFromReader);
|
|
315
|
+
msg.addItemTransactionPriceCondition(value);
|
|
316
|
+
break;
|
|
317
|
+
case 15:
|
|
261
318
|
var value = /** @type {string} */ (reader.readString());
|
|
262
319
|
msg.setReferencesId(value);
|
|
263
320
|
break;
|
|
264
|
-
case
|
|
321
|
+
case 16:
|
|
265
322
|
var value = /** @type {string} */ (reader.readString());
|
|
266
323
|
msg.setCreatedAt(value);
|
|
267
324
|
break;
|
|
268
|
-
case
|
|
325
|
+
case 17:
|
|
269
326
|
var value = /** @type {string} */ (reader.readString());
|
|
270
327
|
msg.setUpdatedAt(value);
|
|
271
328
|
break;
|
|
272
|
-
case
|
|
329
|
+
case 18:
|
|
273
330
|
var value = /** @type {string} */ (reader.readString());
|
|
274
331
|
msg.setTransactionReferences(value);
|
|
275
332
|
break;
|
|
276
|
-
case
|
|
333
|
+
case 19:
|
|
277
334
|
var value = /** @type {string} */ (reader.readString());
|
|
278
335
|
msg.setTypeTransaction(value);
|
|
279
336
|
break;
|
|
280
|
-
case
|
|
337
|
+
case 20:
|
|
281
338
|
var value = /** @type {string} */ (reader.readString());
|
|
282
339
|
msg.setPreviousReferences(value);
|
|
283
340
|
break;
|
|
341
|
+
case 21:
|
|
342
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
343
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
344
|
+
msg.addFiles(value);
|
|
345
|
+
break;
|
|
346
|
+
case 22:
|
|
347
|
+
var value = /** @type {string} */ (reader.readString());
|
|
348
|
+
msg.setPreviousTransactionReferences(value);
|
|
349
|
+
break;
|
|
350
|
+
case 23:
|
|
351
|
+
var value = /** @type {string} */ (reader.readString());
|
|
352
|
+
msg.setCurrency(value);
|
|
353
|
+
break;
|
|
284
354
|
default:
|
|
285
355
|
reader.skipField();
|
|
286
356
|
break;
|
|
@@ -402,45 +472,75 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
402
472
|
proto.ItemTransactionDetail.serializeBinaryToWriter
|
|
403
473
|
);
|
|
404
474
|
}
|
|
475
|
+
f = message.getItemTransactionPriceConditionList();
|
|
476
|
+
if (f.length > 0) {
|
|
477
|
+
writer.writeRepeatedMessage(
|
|
478
|
+
14,
|
|
479
|
+
f,
|
|
480
|
+
proto.ItemTransactionPriceCondition.serializeBinaryToWriter
|
|
481
|
+
);
|
|
482
|
+
}
|
|
405
483
|
f = message.getReferencesId();
|
|
406
484
|
if (f.length > 0) {
|
|
407
485
|
writer.writeString(
|
|
408
|
-
|
|
486
|
+
15,
|
|
409
487
|
f
|
|
410
488
|
);
|
|
411
489
|
}
|
|
412
490
|
f = message.getCreatedAt();
|
|
413
491
|
if (f.length > 0) {
|
|
414
492
|
writer.writeString(
|
|
415
|
-
|
|
493
|
+
16,
|
|
416
494
|
f
|
|
417
495
|
);
|
|
418
496
|
}
|
|
419
497
|
f = message.getUpdatedAt();
|
|
420
498
|
if (f.length > 0) {
|
|
421
499
|
writer.writeString(
|
|
422
|
-
|
|
500
|
+
17,
|
|
423
501
|
f
|
|
424
502
|
);
|
|
425
503
|
}
|
|
426
504
|
f = message.getTransactionReferences();
|
|
427
505
|
if (f.length > 0) {
|
|
428
506
|
writer.writeString(
|
|
429
|
-
|
|
507
|
+
18,
|
|
430
508
|
f
|
|
431
509
|
);
|
|
432
510
|
}
|
|
433
511
|
f = message.getTypeTransaction();
|
|
434
512
|
if (f.length > 0) {
|
|
435
513
|
writer.writeString(
|
|
436
|
-
|
|
514
|
+
19,
|
|
437
515
|
f
|
|
438
516
|
);
|
|
439
517
|
}
|
|
440
518
|
f = message.getPreviousReferences();
|
|
441
519
|
if (f.length > 0) {
|
|
442
520
|
writer.writeString(
|
|
443
|
-
|
|
521
|
+
20,
|
|
522
|
+
f
|
|
523
|
+
);
|
|
524
|
+
}
|
|
525
|
+
f = message.getFilesList();
|
|
526
|
+
if (f.length > 0) {
|
|
527
|
+
writer.writeRepeatedMessage(
|
|
528
|
+
21,
|
|
529
|
+
f,
|
|
530
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
531
|
+
);
|
|
532
|
+
}
|
|
533
|
+
f = message.getPreviousTransactionReferences();
|
|
534
|
+
if (f.length > 0) {
|
|
535
|
+
writer.writeString(
|
|
536
|
+
22,
|
|
537
|
+
f
|
|
538
|
+
);
|
|
539
|
+
}
|
|
540
|
+
f = message.getCurrency();
|
|
541
|
+
if (f.length > 0) {
|
|
542
|
+
writer.writeString(
|
|
543
|
+
23,
|
|
444
544
|
f
|
|
445
545
|
);
|
|
446
546
|
}
|
|
@@ -702,11 +802,49 @@ proto.ItemTransaction.prototype.clearItemTransactionDetailList = function() {
|
|
|
702
802
|
|
|
703
803
|
|
|
704
804
|
/**
|
|
705
|
-
*
|
|
805
|
+
* repeated ItemTransactionPriceCondition item_transaction_price_condition = 14;
|
|
806
|
+
* @return {!Array<!proto.ItemTransactionPriceCondition>}
|
|
807
|
+
*/
|
|
808
|
+
proto.ItemTransaction.prototype.getItemTransactionPriceConditionList = function() {
|
|
809
|
+
return /** @type{!Array<!proto.ItemTransactionPriceCondition>} */ (
|
|
810
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ItemTransactionPriceCondition, 14));
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* @param {!Array<!proto.ItemTransactionPriceCondition>} value
|
|
816
|
+
* @return {!proto.ItemTransaction} returns this
|
|
817
|
+
*/
|
|
818
|
+
proto.ItemTransaction.prototype.setItemTransactionPriceConditionList = function(value) {
|
|
819
|
+
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
|
820
|
+
};
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* @param {!proto.ItemTransactionPriceCondition=} opt_value
|
|
825
|
+
* @param {number=} opt_index
|
|
826
|
+
* @return {!proto.ItemTransactionPriceCondition}
|
|
827
|
+
*/
|
|
828
|
+
proto.ItemTransaction.prototype.addItemTransactionPriceCondition = function(opt_value, opt_index) {
|
|
829
|
+
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.ItemTransactionPriceCondition, opt_index);
|
|
830
|
+
};
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* Clears the list making it empty but non-null.
|
|
835
|
+
* @return {!proto.ItemTransaction} returns this
|
|
836
|
+
*/
|
|
837
|
+
proto.ItemTransaction.prototype.clearItemTransactionPriceConditionList = function() {
|
|
838
|
+
return this.setItemTransactionPriceConditionList([]);
|
|
839
|
+
};
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
/**
|
|
843
|
+
* optional string references_id = 15;
|
|
706
844
|
* @return {string}
|
|
707
845
|
*/
|
|
708
846
|
proto.ItemTransaction.prototype.getReferencesId = function() {
|
|
709
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
847
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
710
848
|
};
|
|
711
849
|
|
|
712
850
|
|
|
@@ -715,16 +853,16 @@ proto.ItemTransaction.prototype.getReferencesId = function() {
|
|
|
715
853
|
* @return {!proto.ItemTransaction} returns this
|
|
716
854
|
*/
|
|
717
855
|
proto.ItemTransaction.prototype.setReferencesId = function(value) {
|
|
718
|
-
return jspb.Message.setProto3StringField(this,
|
|
856
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
719
857
|
};
|
|
720
858
|
|
|
721
859
|
|
|
722
860
|
/**
|
|
723
|
-
* optional string created_at =
|
|
861
|
+
* optional string created_at = 16;
|
|
724
862
|
* @return {string}
|
|
725
863
|
*/
|
|
726
864
|
proto.ItemTransaction.prototype.getCreatedAt = function() {
|
|
727
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
865
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
728
866
|
};
|
|
729
867
|
|
|
730
868
|
|
|
@@ -733,16 +871,16 @@ proto.ItemTransaction.prototype.getCreatedAt = function() {
|
|
|
733
871
|
* @return {!proto.ItemTransaction} returns this
|
|
734
872
|
*/
|
|
735
873
|
proto.ItemTransaction.prototype.setCreatedAt = function(value) {
|
|
736
|
-
return jspb.Message.setProto3StringField(this,
|
|
874
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
737
875
|
};
|
|
738
876
|
|
|
739
877
|
|
|
740
878
|
/**
|
|
741
|
-
* optional string updated_at =
|
|
879
|
+
* optional string updated_at = 17;
|
|
742
880
|
* @return {string}
|
|
743
881
|
*/
|
|
744
882
|
proto.ItemTransaction.prototype.getUpdatedAt = function() {
|
|
745
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
883
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
746
884
|
};
|
|
747
885
|
|
|
748
886
|
|
|
@@ -751,16 +889,16 @@ proto.ItemTransaction.prototype.getUpdatedAt = function() {
|
|
|
751
889
|
* @return {!proto.ItemTransaction} returns this
|
|
752
890
|
*/
|
|
753
891
|
proto.ItemTransaction.prototype.setUpdatedAt = function(value) {
|
|
754
|
-
return jspb.Message.setProto3StringField(this,
|
|
892
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
755
893
|
};
|
|
756
894
|
|
|
757
895
|
|
|
758
896
|
/**
|
|
759
|
-
* optional string transaction_references =
|
|
897
|
+
* optional string transaction_references = 18;
|
|
760
898
|
* @return {string}
|
|
761
899
|
*/
|
|
762
900
|
proto.ItemTransaction.prototype.getTransactionReferences = function() {
|
|
763
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
901
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
764
902
|
};
|
|
765
903
|
|
|
766
904
|
|
|
@@ -769,16 +907,16 @@ proto.ItemTransaction.prototype.getTransactionReferences = function() {
|
|
|
769
907
|
* @return {!proto.ItemTransaction} returns this
|
|
770
908
|
*/
|
|
771
909
|
proto.ItemTransaction.prototype.setTransactionReferences = function(value) {
|
|
772
|
-
return jspb.Message.setProto3StringField(this,
|
|
910
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
773
911
|
};
|
|
774
912
|
|
|
775
913
|
|
|
776
914
|
/**
|
|
777
|
-
* optional string type_transaction =
|
|
915
|
+
* optional string type_transaction = 19;
|
|
778
916
|
* @return {string}
|
|
779
917
|
*/
|
|
780
918
|
proto.ItemTransaction.prototype.getTypeTransaction = function() {
|
|
781
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
919
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
782
920
|
};
|
|
783
921
|
|
|
784
922
|
|
|
@@ -787,16 +925,16 @@ proto.ItemTransaction.prototype.getTypeTransaction = function() {
|
|
|
787
925
|
* @return {!proto.ItemTransaction} returns this
|
|
788
926
|
*/
|
|
789
927
|
proto.ItemTransaction.prototype.setTypeTransaction = function(value) {
|
|
790
|
-
return jspb.Message.setProto3StringField(this,
|
|
928
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
791
929
|
};
|
|
792
930
|
|
|
793
931
|
|
|
794
932
|
/**
|
|
795
|
-
* optional string previous_references =
|
|
933
|
+
* optional string previous_references = 20;
|
|
796
934
|
* @return {string}
|
|
797
935
|
*/
|
|
798
936
|
proto.ItemTransaction.prototype.getPreviousReferences = function() {
|
|
799
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
937
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
800
938
|
};
|
|
801
939
|
|
|
802
940
|
|
|
@@ -805,11 +943,92 @@ proto.ItemTransaction.prototype.getPreviousReferences = function() {
|
|
|
805
943
|
* @return {!proto.ItemTransaction} returns this
|
|
806
944
|
*/
|
|
807
945
|
proto.ItemTransaction.prototype.setPreviousReferences = function(value) {
|
|
808
|
-
return jspb.Message.setProto3StringField(this,
|
|
946
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
947
|
+
};
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
/**
|
|
951
|
+
* repeated FileUploadReferencesReq files = 21;
|
|
952
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
953
|
+
*/
|
|
954
|
+
proto.ItemTransaction.prototype.getFilesList = function() {
|
|
955
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
956
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 21));
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
962
|
+
* @return {!proto.ItemTransaction} returns this
|
|
963
|
+
*/
|
|
964
|
+
proto.ItemTransaction.prototype.setFilesList = function(value) {
|
|
965
|
+
return jspb.Message.setRepeatedWrapperField(this, 21, value);
|
|
966
|
+
};
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
971
|
+
* @param {number=} opt_index
|
|
972
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
973
|
+
*/
|
|
974
|
+
proto.ItemTransaction.prototype.addFiles = function(opt_value, opt_index) {
|
|
975
|
+
return jspb.Message.addToRepeatedWrapperField(this, 21, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
976
|
+
};
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* Clears the list making it empty but non-null.
|
|
981
|
+
* @return {!proto.ItemTransaction} returns this
|
|
982
|
+
*/
|
|
983
|
+
proto.ItemTransaction.prototype.clearFilesList = function() {
|
|
984
|
+
return this.setFilesList([]);
|
|
985
|
+
};
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* optional string previous_transaction_references = 22;
|
|
990
|
+
* @return {string}
|
|
991
|
+
*/
|
|
992
|
+
proto.ItemTransaction.prototype.getPreviousTransactionReferences = function() {
|
|
993
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
994
|
+
};
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* @param {string} value
|
|
999
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1000
|
+
*/
|
|
1001
|
+
proto.ItemTransaction.prototype.setPreviousTransactionReferences = function(value) {
|
|
1002
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
1003
|
+
};
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* optional string currency = 23;
|
|
1008
|
+
* @return {string}
|
|
1009
|
+
*/
|
|
1010
|
+
proto.ItemTransaction.prototype.getCurrency = function() {
|
|
1011
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
1012
|
+
};
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* @param {string} value
|
|
1017
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1018
|
+
*/
|
|
1019
|
+
proto.ItemTransaction.prototype.setCurrency = function(value) {
|
|
1020
|
+
return jspb.Message.setProto3StringField(this, 23, value);
|
|
809
1021
|
};
|
|
810
1022
|
|
|
811
1023
|
|
|
812
1024
|
|
|
1025
|
+
/**
|
|
1026
|
+
* List of repeated fields within this message type.
|
|
1027
|
+
* @private {!Array<number>}
|
|
1028
|
+
* @const
|
|
1029
|
+
*/
|
|
1030
|
+
proto.ItemTransactionDetail.repeatedFields_ = [22];
|
|
1031
|
+
|
|
813
1032
|
|
|
814
1033
|
|
|
815
1034
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -861,7 +1080,9 @@ updatedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
|
861
1080
|
costCenter: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
862
1081
|
serviceNo: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
863
1082
|
serviceDescription: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
864
|
-
amountPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0)
|
|
1083
|
+
amountPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0),
|
|
1084
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
1085
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
865
1086
|
};
|
|
866
1087
|
|
|
867
1088
|
if (includeInstance) {
|
|
@@ -982,6 +1203,11 @@ proto.ItemTransactionDetail.deserializeBinaryFromReader = function(msg, reader)
|
|
|
982
1203
|
var value = /** @type {number} */ (reader.readFloat());
|
|
983
1204
|
msg.setAmountPrice(value);
|
|
984
1205
|
break;
|
|
1206
|
+
case 22:
|
|
1207
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
1208
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
1209
|
+
msg.addFiles(value);
|
|
1210
|
+
break;
|
|
985
1211
|
default:
|
|
986
1212
|
reader.skipField();
|
|
987
1213
|
break;
|
|
@@ -1158,6 +1384,14 @@ proto.ItemTransactionDetail.serializeBinaryToWriter = function(message, writer)
|
|
|
1158
1384
|
f
|
|
1159
1385
|
);
|
|
1160
1386
|
}
|
|
1387
|
+
f = message.getFilesList();
|
|
1388
|
+
if (f.length > 0) {
|
|
1389
|
+
writer.writeRepeatedMessage(
|
|
1390
|
+
22,
|
|
1391
|
+
f,
|
|
1392
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
1393
|
+
);
|
|
1394
|
+
}
|
|
1161
1395
|
};
|
|
1162
1396
|
|
|
1163
1397
|
|
|
@@ -1539,13 +1773,44 @@ proto.ItemTransactionDetail.prototype.setAmountPrice = function(value) {
|
|
|
1539
1773
|
};
|
|
1540
1774
|
|
|
1541
1775
|
|
|
1776
|
+
/**
|
|
1777
|
+
* repeated FileUploadReferencesReq files = 22;
|
|
1778
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
1779
|
+
*/
|
|
1780
|
+
proto.ItemTransactionDetail.prototype.getFilesList = function() {
|
|
1781
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
1782
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 22));
|
|
1783
|
+
};
|
|
1784
|
+
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
1788
|
+
* @return {!proto.ItemTransactionDetail} returns this
|
|
1789
|
+
*/
|
|
1790
|
+
proto.ItemTransactionDetail.prototype.setFilesList = function(value) {
|
|
1791
|
+
return jspb.Message.setRepeatedWrapperField(this, 22, value);
|
|
1792
|
+
};
|
|
1793
|
+
|
|
1542
1794
|
|
|
1543
1795
|
/**
|
|
1544
|
-
*
|
|
1545
|
-
* @
|
|
1546
|
-
* @
|
|
1796
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
1797
|
+
* @param {number=} opt_index
|
|
1798
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
1799
|
+
*/
|
|
1800
|
+
proto.ItemTransactionDetail.prototype.addFiles = function(opt_value, opt_index) {
|
|
1801
|
+
return jspb.Message.addToRepeatedWrapperField(this, 22, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
1802
|
+
};
|
|
1803
|
+
|
|
1804
|
+
|
|
1805
|
+
/**
|
|
1806
|
+
* Clears the list making it empty but non-null.
|
|
1807
|
+
* @return {!proto.ItemTransactionDetail} returns this
|
|
1547
1808
|
*/
|
|
1548
|
-
proto.
|
|
1809
|
+
proto.ItemTransactionDetail.prototype.clearFilesList = function() {
|
|
1810
|
+
return this.setFilesList([]);
|
|
1811
|
+
};
|
|
1812
|
+
|
|
1813
|
+
|
|
1549
1814
|
|
|
1550
1815
|
|
|
1551
1816
|
|
|
@@ -1562,8 +1827,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1562
1827
|
* http://goto/soy-param-migration
|
|
1563
1828
|
* @return {!Object}
|
|
1564
1829
|
*/
|
|
1565
|
-
proto.
|
|
1566
|
-
return proto.
|
|
1830
|
+
proto.ItemTransactionPriceCondition.prototype.toObject = function(opt_includeInstance) {
|
|
1831
|
+
return proto.ItemTransactionPriceCondition.toObject(opt_includeInstance, this);
|
|
1567
1832
|
};
|
|
1568
1833
|
|
|
1569
1834
|
|
|
@@ -1572,27 +1837,22 @@ proto.BaseItemTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
|
1572
1837
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1573
1838
|
* the JSPB instance for transitional soy proto support:
|
|
1574
1839
|
* http://goto/soy-param-migration
|
|
1575
|
-
* @param {!proto.
|
|
1840
|
+
* @param {!proto.ItemTransactionPriceCondition} msg The msg instance to transform.
|
|
1576
1841
|
* @return {!Object}
|
|
1577
1842
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1578
1843
|
*/
|
|
1579
|
-
proto.
|
|
1844
|
+
proto.ItemTransactionPriceCondition.toObject = function(includeInstance, msg) {
|
|
1580
1845
|
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, "")
|
|
1846
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1847
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
1848
|
+
operator: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1849
|
+
divide: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
1850
|
+
type: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1851
|
+
name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1852
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1853
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1854
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1855
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
1596
1856
|
};
|
|
1597
1857
|
|
|
1598
1858
|
if (includeInstance) {
|
|
@@ -1606,23 +1866,441 @@ previousReferences: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
|
1606
1866
|
/**
|
|
1607
1867
|
* Deserializes binary data (in protobuf wire format).
|
|
1608
1868
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1609
|
-
* @return {!proto.
|
|
1869
|
+
* @return {!proto.ItemTransactionPriceCondition}
|
|
1610
1870
|
*/
|
|
1611
|
-
proto.
|
|
1871
|
+
proto.ItemTransactionPriceCondition.deserializeBinary = function(bytes) {
|
|
1612
1872
|
var reader = new jspb.BinaryReader(bytes);
|
|
1613
|
-
var msg = new proto.
|
|
1614
|
-
return proto.
|
|
1873
|
+
var msg = new proto.ItemTransactionPriceCondition;
|
|
1874
|
+
return proto.ItemTransactionPriceCondition.deserializeBinaryFromReader(msg, reader);
|
|
1615
1875
|
};
|
|
1616
1876
|
|
|
1617
1877
|
|
|
1618
1878
|
/**
|
|
1619
1879
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1620
1880
|
* given reader into the given message object.
|
|
1621
|
-
* @param {!proto.
|
|
1881
|
+
* @param {!proto.ItemTransactionPriceCondition} msg The message object to deserialize into.
|
|
1622
1882
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1623
|
-
* @return {!proto.
|
|
1883
|
+
* @return {!proto.ItemTransactionPriceCondition}
|
|
1624
1884
|
*/
|
|
1625
|
-
proto.
|
|
1885
|
+
proto.ItemTransactionPriceCondition.deserializeBinaryFromReader = function(msg, reader) {
|
|
1886
|
+
while (reader.nextField()) {
|
|
1887
|
+
if (reader.isEndGroup()) {
|
|
1888
|
+
break;
|
|
1889
|
+
}
|
|
1890
|
+
var field = reader.getFieldNumber();
|
|
1891
|
+
switch (field) {
|
|
1892
|
+
case 1:
|
|
1893
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1894
|
+
msg.setId(value);
|
|
1895
|
+
break;
|
|
1896
|
+
case 2:
|
|
1897
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1898
|
+
msg.setAmount(value);
|
|
1899
|
+
break;
|
|
1900
|
+
case 3:
|
|
1901
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1902
|
+
msg.setOperator(value);
|
|
1903
|
+
break;
|
|
1904
|
+
case 4:
|
|
1905
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1906
|
+
msg.setDivide(value);
|
|
1907
|
+
break;
|
|
1908
|
+
case 5:
|
|
1909
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1910
|
+
msg.setType(value);
|
|
1911
|
+
break;
|
|
1912
|
+
case 6:
|
|
1913
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1914
|
+
msg.setName(value);
|
|
1915
|
+
break;
|
|
1916
|
+
case 7:
|
|
1917
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1918
|
+
msg.setItemTransactionRef(value);
|
|
1919
|
+
break;
|
|
1920
|
+
case 8:
|
|
1921
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1922
|
+
msg.setReferencesId(value);
|
|
1923
|
+
break;
|
|
1924
|
+
case 9:
|
|
1925
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1926
|
+
msg.setCreatedAt(value);
|
|
1927
|
+
break;
|
|
1928
|
+
case 10:
|
|
1929
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1930
|
+
msg.setUpdatedAt(value);
|
|
1931
|
+
break;
|
|
1932
|
+
default:
|
|
1933
|
+
reader.skipField();
|
|
1934
|
+
break;
|
|
1935
|
+
}
|
|
1936
|
+
}
|
|
1937
|
+
return msg;
|
|
1938
|
+
};
|
|
1939
|
+
|
|
1940
|
+
|
|
1941
|
+
/**
|
|
1942
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1943
|
+
* @return {!Uint8Array}
|
|
1944
|
+
*/
|
|
1945
|
+
proto.ItemTransactionPriceCondition.prototype.serializeBinary = function() {
|
|
1946
|
+
var writer = new jspb.BinaryWriter();
|
|
1947
|
+
proto.ItemTransactionPriceCondition.serializeBinaryToWriter(this, writer);
|
|
1948
|
+
return writer.getResultBuffer();
|
|
1949
|
+
};
|
|
1950
|
+
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1954
|
+
* format), writing to the given BinaryWriter.
|
|
1955
|
+
* @param {!proto.ItemTransactionPriceCondition} message
|
|
1956
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1957
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1958
|
+
*/
|
|
1959
|
+
proto.ItemTransactionPriceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
1960
|
+
var f = undefined;
|
|
1961
|
+
f = message.getId();
|
|
1962
|
+
if (f !== 0) {
|
|
1963
|
+
writer.writeInt64(
|
|
1964
|
+
1,
|
|
1965
|
+
f
|
|
1966
|
+
);
|
|
1967
|
+
}
|
|
1968
|
+
f = message.getAmount();
|
|
1969
|
+
if (f !== 0.0) {
|
|
1970
|
+
writer.writeFloat(
|
|
1971
|
+
2,
|
|
1972
|
+
f
|
|
1973
|
+
);
|
|
1974
|
+
}
|
|
1975
|
+
f = message.getOperator();
|
|
1976
|
+
if (f.length > 0) {
|
|
1977
|
+
writer.writeString(
|
|
1978
|
+
3,
|
|
1979
|
+
f
|
|
1980
|
+
);
|
|
1981
|
+
}
|
|
1982
|
+
f = message.getDivide();
|
|
1983
|
+
if (f !== 0.0) {
|
|
1984
|
+
writer.writeFloat(
|
|
1985
|
+
4,
|
|
1986
|
+
f
|
|
1987
|
+
);
|
|
1988
|
+
}
|
|
1989
|
+
f = message.getType();
|
|
1990
|
+
if (f.length > 0) {
|
|
1991
|
+
writer.writeString(
|
|
1992
|
+
5,
|
|
1993
|
+
f
|
|
1994
|
+
);
|
|
1995
|
+
}
|
|
1996
|
+
f = message.getName();
|
|
1997
|
+
if (f.length > 0) {
|
|
1998
|
+
writer.writeString(
|
|
1999
|
+
6,
|
|
2000
|
+
f
|
|
2001
|
+
);
|
|
2002
|
+
}
|
|
2003
|
+
f = message.getItemTransactionRef();
|
|
2004
|
+
if (f.length > 0) {
|
|
2005
|
+
writer.writeString(
|
|
2006
|
+
7,
|
|
2007
|
+
f
|
|
2008
|
+
);
|
|
2009
|
+
}
|
|
2010
|
+
f = message.getReferencesId();
|
|
2011
|
+
if (f.length > 0) {
|
|
2012
|
+
writer.writeString(
|
|
2013
|
+
8,
|
|
2014
|
+
f
|
|
2015
|
+
);
|
|
2016
|
+
}
|
|
2017
|
+
f = message.getCreatedAt();
|
|
2018
|
+
if (f.length > 0) {
|
|
2019
|
+
writer.writeString(
|
|
2020
|
+
9,
|
|
2021
|
+
f
|
|
2022
|
+
);
|
|
2023
|
+
}
|
|
2024
|
+
f = message.getUpdatedAt();
|
|
2025
|
+
if (f.length > 0) {
|
|
2026
|
+
writer.writeString(
|
|
2027
|
+
10,
|
|
2028
|
+
f
|
|
2029
|
+
);
|
|
2030
|
+
}
|
|
2031
|
+
};
|
|
2032
|
+
|
|
2033
|
+
|
|
2034
|
+
/**
|
|
2035
|
+
* optional int64 id = 1;
|
|
2036
|
+
* @return {number}
|
|
2037
|
+
*/
|
|
2038
|
+
proto.ItemTransactionPriceCondition.prototype.getId = function() {
|
|
2039
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2040
|
+
};
|
|
2041
|
+
|
|
2042
|
+
|
|
2043
|
+
/**
|
|
2044
|
+
* @param {number} value
|
|
2045
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2046
|
+
*/
|
|
2047
|
+
proto.ItemTransactionPriceCondition.prototype.setId = function(value) {
|
|
2048
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2049
|
+
};
|
|
2050
|
+
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* optional float amount = 2;
|
|
2054
|
+
* @return {number}
|
|
2055
|
+
*/
|
|
2056
|
+
proto.ItemTransactionPriceCondition.prototype.getAmount = function() {
|
|
2057
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
2058
|
+
};
|
|
2059
|
+
|
|
2060
|
+
|
|
2061
|
+
/**
|
|
2062
|
+
* @param {number} value
|
|
2063
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2064
|
+
*/
|
|
2065
|
+
proto.ItemTransactionPriceCondition.prototype.setAmount = function(value) {
|
|
2066
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
2067
|
+
};
|
|
2068
|
+
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* optional string operator = 3;
|
|
2072
|
+
* @return {string}
|
|
2073
|
+
*/
|
|
2074
|
+
proto.ItemTransactionPriceCondition.prototype.getOperator = function() {
|
|
2075
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2076
|
+
};
|
|
2077
|
+
|
|
2078
|
+
|
|
2079
|
+
/**
|
|
2080
|
+
* @param {string} value
|
|
2081
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2082
|
+
*/
|
|
2083
|
+
proto.ItemTransactionPriceCondition.prototype.setOperator = function(value) {
|
|
2084
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2085
|
+
};
|
|
2086
|
+
|
|
2087
|
+
|
|
2088
|
+
/**
|
|
2089
|
+
* optional float divide = 4;
|
|
2090
|
+
* @return {number}
|
|
2091
|
+
*/
|
|
2092
|
+
proto.ItemTransactionPriceCondition.prototype.getDivide = function() {
|
|
2093
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
2094
|
+
};
|
|
2095
|
+
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* @param {number} value
|
|
2099
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2100
|
+
*/
|
|
2101
|
+
proto.ItemTransactionPriceCondition.prototype.setDivide = function(value) {
|
|
2102
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
2103
|
+
};
|
|
2104
|
+
|
|
2105
|
+
|
|
2106
|
+
/**
|
|
2107
|
+
* optional string type = 5;
|
|
2108
|
+
* @return {string}
|
|
2109
|
+
*/
|
|
2110
|
+
proto.ItemTransactionPriceCondition.prototype.getType = function() {
|
|
2111
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2112
|
+
};
|
|
2113
|
+
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* @param {string} value
|
|
2117
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2118
|
+
*/
|
|
2119
|
+
proto.ItemTransactionPriceCondition.prototype.setType = function(value) {
|
|
2120
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
2121
|
+
};
|
|
2122
|
+
|
|
2123
|
+
|
|
2124
|
+
/**
|
|
2125
|
+
* optional string name = 6;
|
|
2126
|
+
* @return {string}
|
|
2127
|
+
*/
|
|
2128
|
+
proto.ItemTransactionPriceCondition.prototype.getName = function() {
|
|
2129
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
2130
|
+
};
|
|
2131
|
+
|
|
2132
|
+
|
|
2133
|
+
/**
|
|
2134
|
+
* @param {string} value
|
|
2135
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2136
|
+
*/
|
|
2137
|
+
proto.ItemTransactionPriceCondition.prototype.setName = function(value) {
|
|
2138
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
2139
|
+
};
|
|
2140
|
+
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* optional string item_transaction_ref = 7;
|
|
2144
|
+
* @return {string}
|
|
2145
|
+
*/
|
|
2146
|
+
proto.ItemTransactionPriceCondition.prototype.getItemTransactionRef = function() {
|
|
2147
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
2148
|
+
};
|
|
2149
|
+
|
|
2150
|
+
|
|
2151
|
+
/**
|
|
2152
|
+
* @param {string} value
|
|
2153
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2154
|
+
*/
|
|
2155
|
+
proto.ItemTransactionPriceCondition.prototype.setItemTransactionRef = function(value) {
|
|
2156
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
2157
|
+
};
|
|
2158
|
+
|
|
2159
|
+
|
|
2160
|
+
/**
|
|
2161
|
+
* optional string references_id = 8;
|
|
2162
|
+
* @return {string}
|
|
2163
|
+
*/
|
|
2164
|
+
proto.ItemTransactionPriceCondition.prototype.getReferencesId = function() {
|
|
2165
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
2166
|
+
};
|
|
2167
|
+
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* @param {string} value
|
|
2171
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2172
|
+
*/
|
|
2173
|
+
proto.ItemTransactionPriceCondition.prototype.setReferencesId = function(value) {
|
|
2174
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
2175
|
+
};
|
|
2176
|
+
|
|
2177
|
+
|
|
2178
|
+
/**
|
|
2179
|
+
* optional string created_at = 9;
|
|
2180
|
+
* @return {string}
|
|
2181
|
+
*/
|
|
2182
|
+
proto.ItemTransactionPriceCondition.prototype.getCreatedAt = function() {
|
|
2183
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
2184
|
+
};
|
|
2185
|
+
|
|
2186
|
+
|
|
2187
|
+
/**
|
|
2188
|
+
* @param {string} value
|
|
2189
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2190
|
+
*/
|
|
2191
|
+
proto.ItemTransactionPriceCondition.prototype.setCreatedAt = function(value) {
|
|
2192
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
2193
|
+
};
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
/**
|
|
2197
|
+
* optional string updated_at = 10;
|
|
2198
|
+
* @return {string}
|
|
2199
|
+
*/
|
|
2200
|
+
proto.ItemTransactionPriceCondition.prototype.getUpdatedAt = function() {
|
|
2201
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
2202
|
+
};
|
|
2203
|
+
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* @param {string} value
|
|
2207
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2208
|
+
*/
|
|
2209
|
+
proto.ItemTransactionPriceCondition.prototype.setUpdatedAt = function(value) {
|
|
2210
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
2211
|
+
};
|
|
2212
|
+
|
|
2213
|
+
|
|
2214
|
+
|
|
2215
|
+
/**
|
|
2216
|
+
* List of repeated fields within this message type.
|
|
2217
|
+
* @private {!Array<number>}
|
|
2218
|
+
* @const
|
|
2219
|
+
*/
|
|
2220
|
+
proto.BaseItemTransaction.repeatedFields_ = [13,14,17];
|
|
2221
|
+
|
|
2222
|
+
|
|
2223
|
+
|
|
2224
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2225
|
+
/**
|
|
2226
|
+
* Creates an object representation of this proto.
|
|
2227
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2228
|
+
* Optional fields that are not set will be set to undefined.
|
|
2229
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2230
|
+
* For the list of reserved names please see:
|
|
2231
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2232
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2233
|
+
* JSPB instance for transitional soy proto support:
|
|
2234
|
+
* http://goto/soy-param-migration
|
|
2235
|
+
* @return {!Object}
|
|
2236
|
+
*/
|
|
2237
|
+
proto.BaseItemTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
2238
|
+
return proto.BaseItemTransaction.toObject(opt_includeInstance, this);
|
|
2239
|
+
};
|
|
2240
|
+
|
|
2241
|
+
|
|
2242
|
+
/**
|
|
2243
|
+
* Static version of the {@see toObject} method.
|
|
2244
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2245
|
+
* the JSPB instance for transitional soy proto support:
|
|
2246
|
+
* http://goto/soy-param-migration
|
|
2247
|
+
* @param {!proto.BaseItemTransaction} msg The msg instance to transform.
|
|
2248
|
+
* @return {!Object}
|
|
2249
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2250
|
+
*/
|
|
2251
|
+
proto.BaseItemTransaction.toObject = function(includeInstance, msg) {
|
|
2252
|
+
var f, obj = {
|
|
2253
|
+
transactionReferences: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2254
|
+
accAssigment: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2255
|
+
materialGroup: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2256
|
+
materialCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2257
|
+
detailDescription: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
2258
|
+
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2259
|
+
quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
2260
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2261
|
+
estimatedUnitPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
2262
|
+
deliveryDate: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2263
|
+
plannedDeliveryTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
2264
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
2265
|
+
itemTransactionDetailList: jspb.Message.toObjectList(msg.getItemTransactionDetailList(),
|
|
2266
|
+
proto.BaseItemTransactionDetail.toObject, includeInstance),
|
|
2267
|
+
itemTransactionPriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionPriceConditionList(),
|
|
2268
|
+
proto.BaseItemTransactionPriceCondition.toObject, includeInstance),
|
|
2269
|
+
previousReferences: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
2270
|
+
previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
2271
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
2272
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
2273
|
+
currency: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
2274
|
+
};
|
|
2275
|
+
|
|
2276
|
+
if (includeInstance) {
|
|
2277
|
+
obj.$jspbMessageInstance = msg;
|
|
2278
|
+
}
|
|
2279
|
+
return obj;
|
|
2280
|
+
};
|
|
2281
|
+
}
|
|
2282
|
+
|
|
2283
|
+
|
|
2284
|
+
/**
|
|
2285
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2286
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2287
|
+
* @return {!proto.BaseItemTransaction}
|
|
2288
|
+
*/
|
|
2289
|
+
proto.BaseItemTransaction.deserializeBinary = function(bytes) {
|
|
2290
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2291
|
+
var msg = new proto.BaseItemTransaction;
|
|
2292
|
+
return proto.BaseItemTransaction.deserializeBinaryFromReader(msg, reader);
|
|
2293
|
+
};
|
|
2294
|
+
|
|
2295
|
+
|
|
2296
|
+
/**
|
|
2297
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2298
|
+
* given reader into the given message object.
|
|
2299
|
+
* @param {!proto.BaseItemTransaction} msg The message object to deserialize into.
|
|
2300
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2301
|
+
* @return {!proto.BaseItemTransaction}
|
|
2302
|
+
*/
|
|
2303
|
+
proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
1626
2304
|
while (reader.nextField()) {
|
|
1627
2305
|
if (reader.isEndGroup()) {
|
|
1628
2306
|
break;
|
|
@@ -1683,9 +2361,27 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1683
2361
|
msg.addItemTransactionDetail(value);
|
|
1684
2362
|
break;
|
|
1685
2363
|
case 14:
|
|
2364
|
+
var value = new proto.BaseItemTransactionPriceCondition;
|
|
2365
|
+
reader.readMessage(value,proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader);
|
|
2366
|
+
msg.addItemTransactionPriceCondition(value);
|
|
2367
|
+
break;
|
|
2368
|
+
case 15:
|
|
1686
2369
|
var value = /** @type {string} */ (reader.readString());
|
|
1687
2370
|
msg.setPreviousReferences(value);
|
|
1688
2371
|
break;
|
|
2372
|
+
case 16:
|
|
2373
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2374
|
+
msg.setPreviousTransactionReferences(value);
|
|
2375
|
+
break;
|
|
2376
|
+
case 17:
|
|
2377
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
2378
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
2379
|
+
msg.addFiles(value);
|
|
2380
|
+
break;
|
|
2381
|
+
case 18:
|
|
2382
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2383
|
+
msg.setCurrency(value);
|
|
2384
|
+
break;
|
|
1689
2385
|
default:
|
|
1690
2386
|
reader.skipField();
|
|
1691
2387
|
break;
|
|
@@ -1807,10 +2503,40 @@ proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
1807
2503
|
proto.BaseItemTransactionDetail.serializeBinaryToWriter
|
|
1808
2504
|
);
|
|
1809
2505
|
}
|
|
2506
|
+
f = message.getItemTransactionPriceConditionList();
|
|
2507
|
+
if (f.length > 0) {
|
|
2508
|
+
writer.writeRepeatedMessage(
|
|
2509
|
+
14,
|
|
2510
|
+
f,
|
|
2511
|
+
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter
|
|
2512
|
+
);
|
|
2513
|
+
}
|
|
1810
2514
|
f = message.getPreviousReferences();
|
|
1811
2515
|
if (f.length > 0) {
|
|
1812
2516
|
writer.writeString(
|
|
1813
|
-
|
|
2517
|
+
15,
|
|
2518
|
+
f
|
|
2519
|
+
);
|
|
2520
|
+
}
|
|
2521
|
+
f = message.getPreviousTransactionReferences();
|
|
2522
|
+
if (f.length > 0) {
|
|
2523
|
+
writer.writeString(
|
|
2524
|
+
16,
|
|
2525
|
+
f
|
|
2526
|
+
);
|
|
2527
|
+
}
|
|
2528
|
+
f = message.getFilesList();
|
|
2529
|
+
if (f.length > 0) {
|
|
2530
|
+
writer.writeRepeatedMessage(
|
|
2531
|
+
17,
|
|
2532
|
+
f,
|
|
2533
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
2534
|
+
);
|
|
2535
|
+
}
|
|
2536
|
+
f = message.getCurrency();
|
|
2537
|
+
if (f.length > 0) {
|
|
2538
|
+
writer.writeString(
|
|
2539
|
+
18,
|
|
1814
2540
|
f
|
|
1815
2541
|
);
|
|
1816
2542
|
}
|
|
@@ -2072,11 +2798,49 @@ proto.BaseItemTransaction.prototype.clearItemTransactionDetailList = function()
|
|
|
2072
2798
|
|
|
2073
2799
|
|
|
2074
2800
|
/**
|
|
2075
|
-
*
|
|
2801
|
+
* repeated BaseItemTransactionPriceCondition item_transaction_price_condition = 14;
|
|
2802
|
+
* @return {!Array<!proto.BaseItemTransactionPriceCondition>}
|
|
2803
|
+
*/
|
|
2804
|
+
proto.BaseItemTransaction.prototype.getItemTransactionPriceConditionList = function() {
|
|
2805
|
+
return /** @type{!Array<!proto.BaseItemTransactionPriceCondition>} */ (
|
|
2806
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionPriceCondition, 14));
|
|
2807
|
+
};
|
|
2808
|
+
|
|
2809
|
+
|
|
2810
|
+
/**
|
|
2811
|
+
* @param {!Array<!proto.BaseItemTransactionPriceCondition>} value
|
|
2812
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
2813
|
+
*/
|
|
2814
|
+
proto.BaseItemTransaction.prototype.setItemTransactionPriceConditionList = function(value) {
|
|
2815
|
+
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
|
2816
|
+
};
|
|
2817
|
+
|
|
2818
|
+
|
|
2819
|
+
/**
|
|
2820
|
+
* @param {!proto.BaseItemTransactionPriceCondition=} opt_value
|
|
2821
|
+
* @param {number=} opt_index
|
|
2822
|
+
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
2823
|
+
*/
|
|
2824
|
+
proto.BaseItemTransaction.prototype.addItemTransactionPriceCondition = function(opt_value, opt_index) {
|
|
2825
|
+
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.BaseItemTransactionPriceCondition, opt_index);
|
|
2826
|
+
};
|
|
2827
|
+
|
|
2828
|
+
|
|
2829
|
+
/**
|
|
2830
|
+
* Clears the list making it empty but non-null.
|
|
2831
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
2832
|
+
*/
|
|
2833
|
+
proto.BaseItemTransaction.prototype.clearItemTransactionPriceConditionList = function() {
|
|
2834
|
+
return this.setItemTransactionPriceConditionList([]);
|
|
2835
|
+
};
|
|
2836
|
+
|
|
2837
|
+
|
|
2838
|
+
/**
|
|
2839
|
+
* optional string previous_references = 15;
|
|
2076
2840
|
* @return {string}
|
|
2077
2841
|
*/
|
|
2078
2842
|
proto.BaseItemTransaction.prototype.getPreviousReferences = function() {
|
|
2079
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
2843
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
2080
2844
|
};
|
|
2081
2845
|
|
|
2082
2846
|
|
|
@@ -2085,10 +2849,91 @@ proto.BaseItemTransaction.prototype.getPreviousReferences = function() {
|
|
|
2085
2849
|
* @return {!proto.BaseItemTransaction} returns this
|
|
2086
2850
|
*/
|
|
2087
2851
|
proto.BaseItemTransaction.prototype.setPreviousReferences = function(value) {
|
|
2088
|
-
return jspb.Message.setProto3StringField(this,
|
|
2852
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
2853
|
+
};
|
|
2854
|
+
|
|
2855
|
+
|
|
2856
|
+
/**
|
|
2857
|
+
* optional string previous_transaction_references = 16;
|
|
2858
|
+
* @return {string}
|
|
2859
|
+
*/
|
|
2860
|
+
proto.BaseItemTransaction.prototype.getPreviousTransactionReferences = function() {
|
|
2861
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
2862
|
+
};
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
/**
|
|
2866
|
+
* @param {string} value
|
|
2867
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
2868
|
+
*/
|
|
2869
|
+
proto.BaseItemTransaction.prototype.setPreviousTransactionReferences = function(value) {
|
|
2870
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
2871
|
+
};
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
/**
|
|
2875
|
+
* repeated FileUploadReferencesReq files = 17;
|
|
2876
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
2877
|
+
*/
|
|
2878
|
+
proto.BaseItemTransaction.prototype.getFilesList = function() {
|
|
2879
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
2880
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 17));
|
|
2089
2881
|
};
|
|
2090
2882
|
|
|
2091
2883
|
|
|
2884
|
+
/**
|
|
2885
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
2886
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
2887
|
+
*/
|
|
2888
|
+
proto.BaseItemTransaction.prototype.setFilesList = function(value) {
|
|
2889
|
+
return jspb.Message.setRepeatedWrapperField(this, 17, value);
|
|
2890
|
+
};
|
|
2891
|
+
|
|
2892
|
+
|
|
2893
|
+
/**
|
|
2894
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
2895
|
+
* @param {number=} opt_index
|
|
2896
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
2897
|
+
*/
|
|
2898
|
+
proto.BaseItemTransaction.prototype.addFiles = function(opt_value, opt_index) {
|
|
2899
|
+
return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
2900
|
+
};
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
/**
|
|
2904
|
+
* Clears the list making it empty but non-null.
|
|
2905
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
2906
|
+
*/
|
|
2907
|
+
proto.BaseItemTransaction.prototype.clearFilesList = function() {
|
|
2908
|
+
return this.setFilesList([]);
|
|
2909
|
+
};
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
/**
|
|
2913
|
+
* optional string currency = 18;
|
|
2914
|
+
* @return {string}
|
|
2915
|
+
*/
|
|
2916
|
+
proto.BaseItemTransaction.prototype.getCurrency = function() {
|
|
2917
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
2918
|
+
};
|
|
2919
|
+
|
|
2920
|
+
|
|
2921
|
+
/**
|
|
2922
|
+
* @param {string} value
|
|
2923
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
2924
|
+
*/
|
|
2925
|
+
proto.BaseItemTransaction.prototype.setCurrency = function(value) {
|
|
2926
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
2927
|
+
};
|
|
2928
|
+
|
|
2929
|
+
|
|
2930
|
+
|
|
2931
|
+
/**
|
|
2932
|
+
* List of repeated fields within this message type.
|
|
2933
|
+
* @private {!Array<number>}
|
|
2934
|
+
* @const
|
|
2935
|
+
*/
|
|
2936
|
+
proto.BaseItemTransactionDetail.repeatedFields_ = [18];
|
|
2092
2937
|
|
|
2093
2938
|
|
|
2094
2939
|
|
|
@@ -2137,7 +2982,9 @@ orderDescription: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
|
2137
2982
|
serviceNo: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
2138
2983
|
serviceDescription: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
2139
2984
|
amountPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
|
2140
|
-
materialCode: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
2985
|
+
materialCode: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
2986
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
2987
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
2141
2988
|
};
|
|
2142
2989
|
|
|
2143
2990
|
if (includeInstance) {
|
|
@@ -2242,6 +3089,11 @@ proto.BaseItemTransactionDetail.deserializeBinaryFromReader = function(msg, read
|
|
|
2242
3089
|
var value = /** @type {string} */ (reader.readString());
|
|
2243
3090
|
msg.setMaterialCode(value);
|
|
2244
3091
|
break;
|
|
3092
|
+
case 18:
|
|
3093
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
3094
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
3095
|
+
msg.addFiles(value);
|
|
3096
|
+
break;
|
|
2245
3097
|
default:
|
|
2246
3098
|
reader.skipField();
|
|
2247
3099
|
break;
|
|
@@ -2390,6 +3242,14 @@ proto.BaseItemTransactionDetail.serializeBinaryToWriter = function(message, writ
|
|
|
2390
3242
|
f
|
|
2391
3243
|
);
|
|
2392
3244
|
}
|
|
3245
|
+
f = message.getFilesList();
|
|
3246
|
+
if (f.length > 0) {
|
|
3247
|
+
writer.writeRepeatedMessage(
|
|
3248
|
+
18,
|
|
3249
|
+
f,
|
|
3250
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
3251
|
+
);
|
|
3252
|
+
}
|
|
2393
3253
|
};
|
|
2394
3254
|
|
|
2395
3255
|
|
|
@@ -2699,4 +3559,322 @@ proto.BaseItemTransactionDetail.prototype.setMaterialCode = function(value) {
|
|
|
2699
3559
|
};
|
|
2700
3560
|
|
|
2701
3561
|
|
|
3562
|
+
/**
|
|
3563
|
+
* repeated FileUploadReferencesReq files = 18;
|
|
3564
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
3565
|
+
*/
|
|
3566
|
+
proto.BaseItemTransactionDetail.prototype.getFilesList = function() {
|
|
3567
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
3568
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 18));
|
|
3569
|
+
};
|
|
3570
|
+
|
|
3571
|
+
|
|
3572
|
+
/**
|
|
3573
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
3574
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
3575
|
+
*/
|
|
3576
|
+
proto.BaseItemTransactionDetail.prototype.setFilesList = function(value) {
|
|
3577
|
+
return jspb.Message.setRepeatedWrapperField(this, 18, value);
|
|
3578
|
+
};
|
|
3579
|
+
|
|
3580
|
+
|
|
3581
|
+
/**
|
|
3582
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
3583
|
+
* @param {number=} opt_index
|
|
3584
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
3585
|
+
*/
|
|
3586
|
+
proto.BaseItemTransactionDetail.prototype.addFiles = function(opt_value, opt_index) {
|
|
3587
|
+
return jspb.Message.addToRepeatedWrapperField(this, 18, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
3588
|
+
};
|
|
3589
|
+
|
|
3590
|
+
|
|
3591
|
+
/**
|
|
3592
|
+
* Clears the list making it empty but non-null.
|
|
3593
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
3594
|
+
*/
|
|
3595
|
+
proto.BaseItemTransactionDetail.prototype.clearFilesList = function() {
|
|
3596
|
+
return this.setFilesList([]);
|
|
3597
|
+
};
|
|
3598
|
+
|
|
3599
|
+
|
|
3600
|
+
|
|
3601
|
+
|
|
3602
|
+
|
|
3603
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3604
|
+
/**
|
|
3605
|
+
* Creates an object representation of this proto.
|
|
3606
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3607
|
+
* Optional fields that are not set will be set to undefined.
|
|
3608
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3609
|
+
* For the list of reserved names please see:
|
|
3610
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3611
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3612
|
+
* JSPB instance for transitional soy proto support:
|
|
3613
|
+
* http://goto/soy-param-migration
|
|
3614
|
+
* @return {!Object}
|
|
3615
|
+
*/
|
|
3616
|
+
proto.BaseItemTransactionPriceCondition.prototype.toObject = function(opt_includeInstance) {
|
|
3617
|
+
return proto.BaseItemTransactionPriceCondition.toObject(opt_includeInstance, this);
|
|
3618
|
+
};
|
|
3619
|
+
|
|
3620
|
+
|
|
3621
|
+
/**
|
|
3622
|
+
* Static version of the {@see toObject} method.
|
|
3623
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3624
|
+
* the JSPB instance for transitional soy proto support:
|
|
3625
|
+
* http://goto/soy-param-migration
|
|
3626
|
+
* @param {!proto.BaseItemTransactionPriceCondition} msg The msg instance to transform.
|
|
3627
|
+
* @return {!Object}
|
|
3628
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3629
|
+
*/
|
|
3630
|
+
proto.BaseItemTransactionPriceCondition.toObject = function(includeInstance, msg) {
|
|
3631
|
+
var f, obj = {
|
|
3632
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
|
3633
|
+
operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3634
|
+
divide: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
3635
|
+
type: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3636
|
+
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3637
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
3638
|
+
};
|
|
3639
|
+
|
|
3640
|
+
if (includeInstance) {
|
|
3641
|
+
obj.$jspbMessageInstance = msg;
|
|
3642
|
+
}
|
|
3643
|
+
return obj;
|
|
3644
|
+
};
|
|
3645
|
+
}
|
|
3646
|
+
|
|
3647
|
+
|
|
3648
|
+
/**
|
|
3649
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3650
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3651
|
+
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
3652
|
+
*/
|
|
3653
|
+
proto.BaseItemTransactionPriceCondition.deserializeBinary = function(bytes) {
|
|
3654
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3655
|
+
var msg = new proto.BaseItemTransactionPriceCondition;
|
|
3656
|
+
return proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader(msg, reader);
|
|
3657
|
+
};
|
|
3658
|
+
|
|
3659
|
+
|
|
3660
|
+
/**
|
|
3661
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3662
|
+
* given reader into the given message object.
|
|
3663
|
+
* @param {!proto.BaseItemTransactionPriceCondition} msg The message object to deserialize into.
|
|
3664
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3665
|
+
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
3666
|
+
*/
|
|
3667
|
+
proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader = function(msg, reader) {
|
|
3668
|
+
while (reader.nextField()) {
|
|
3669
|
+
if (reader.isEndGroup()) {
|
|
3670
|
+
break;
|
|
3671
|
+
}
|
|
3672
|
+
var field = reader.getFieldNumber();
|
|
3673
|
+
switch (field) {
|
|
3674
|
+
case 1:
|
|
3675
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
3676
|
+
msg.setAmount(value);
|
|
3677
|
+
break;
|
|
3678
|
+
case 2:
|
|
3679
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3680
|
+
msg.setOperator(value);
|
|
3681
|
+
break;
|
|
3682
|
+
case 3:
|
|
3683
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
3684
|
+
msg.setDivide(value);
|
|
3685
|
+
break;
|
|
3686
|
+
case 4:
|
|
3687
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3688
|
+
msg.setType(value);
|
|
3689
|
+
break;
|
|
3690
|
+
case 5:
|
|
3691
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3692
|
+
msg.setName(value);
|
|
3693
|
+
break;
|
|
3694
|
+
case 6:
|
|
3695
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3696
|
+
msg.setItemTransactionRef(value);
|
|
3697
|
+
break;
|
|
3698
|
+
default:
|
|
3699
|
+
reader.skipField();
|
|
3700
|
+
break;
|
|
3701
|
+
}
|
|
3702
|
+
}
|
|
3703
|
+
return msg;
|
|
3704
|
+
};
|
|
3705
|
+
|
|
3706
|
+
|
|
3707
|
+
/**
|
|
3708
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3709
|
+
* @return {!Uint8Array}
|
|
3710
|
+
*/
|
|
3711
|
+
proto.BaseItemTransactionPriceCondition.prototype.serializeBinary = function() {
|
|
3712
|
+
var writer = new jspb.BinaryWriter();
|
|
3713
|
+
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter(this, writer);
|
|
3714
|
+
return writer.getResultBuffer();
|
|
3715
|
+
};
|
|
3716
|
+
|
|
3717
|
+
|
|
3718
|
+
/**
|
|
3719
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3720
|
+
* format), writing to the given BinaryWriter.
|
|
3721
|
+
* @param {!proto.BaseItemTransactionPriceCondition} message
|
|
3722
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3723
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3724
|
+
*/
|
|
3725
|
+
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
3726
|
+
var f = undefined;
|
|
3727
|
+
f = message.getAmount();
|
|
3728
|
+
if (f !== 0.0) {
|
|
3729
|
+
writer.writeFloat(
|
|
3730
|
+
1,
|
|
3731
|
+
f
|
|
3732
|
+
);
|
|
3733
|
+
}
|
|
3734
|
+
f = message.getOperator();
|
|
3735
|
+
if (f.length > 0) {
|
|
3736
|
+
writer.writeString(
|
|
3737
|
+
2,
|
|
3738
|
+
f
|
|
3739
|
+
);
|
|
3740
|
+
}
|
|
3741
|
+
f = message.getDivide();
|
|
3742
|
+
if (f !== 0.0) {
|
|
3743
|
+
writer.writeFloat(
|
|
3744
|
+
3,
|
|
3745
|
+
f
|
|
3746
|
+
);
|
|
3747
|
+
}
|
|
3748
|
+
f = message.getType();
|
|
3749
|
+
if (f.length > 0) {
|
|
3750
|
+
writer.writeString(
|
|
3751
|
+
4,
|
|
3752
|
+
f
|
|
3753
|
+
);
|
|
3754
|
+
}
|
|
3755
|
+
f = message.getName();
|
|
3756
|
+
if (f.length > 0) {
|
|
3757
|
+
writer.writeString(
|
|
3758
|
+
5,
|
|
3759
|
+
f
|
|
3760
|
+
);
|
|
3761
|
+
}
|
|
3762
|
+
f = message.getItemTransactionRef();
|
|
3763
|
+
if (f.length > 0) {
|
|
3764
|
+
writer.writeString(
|
|
3765
|
+
6,
|
|
3766
|
+
f
|
|
3767
|
+
);
|
|
3768
|
+
}
|
|
3769
|
+
};
|
|
3770
|
+
|
|
3771
|
+
|
|
3772
|
+
/**
|
|
3773
|
+
* optional float amount = 1;
|
|
3774
|
+
* @return {number}
|
|
3775
|
+
*/
|
|
3776
|
+
proto.BaseItemTransactionPriceCondition.prototype.getAmount = function() {
|
|
3777
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
|
3778
|
+
};
|
|
3779
|
+
|
|
3780
|
+
|
|
3781
|
+
/**
|
|
3782
|
+
* @param {number} value
|
|
3783
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
3784
|
+
*/
|
|
3785
|
+
proto.BaseItemTransactionPriceCondition.prototype.setAmount = function(value) {
|
|
3786
|
+
return jspb.Message.setProto3FloatField(this, 1, value);
|
|
3787
|
+
};
|
|
3788
|
+
|
|
3789
|
+
|
|
3790
|
+
/**
|
|
3791
|
+
* optional string operator = 2;
|
|
3792
|
+
* @return {string}
|
|
3793
|
+
*/
|
|
3794
|
+
proto.BaseItemTransactionPriceCondition.prototype.getOperator = function() {
|
|
3795
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3796
|
+
};
|
|
3797
|
+
|
|
3798
|
+
|
|
3799
|
+
/**
|
|
3800
|
+
* @param {string} value
|
|
3801
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
3802
|
+
*/
|
|
3803
|
+
proto.BaseItemTransactionPriceCondition.prototype.setOperator = function(value) {
|
|
3804
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3805
|
+
};
|
|
3806
|
+
|
|
3807
|
+
|
|
3808
|
+
/**
|
|
3809
|
+
* optional float divide = 3;
|
|
3810
|
+
* @return {number}
|
|
3811
|
+
*/
|
|
3812
|
+
proto.BaseItemTransactionPriceCondition.prototype.getDivide = function() {
|
|
3813
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
3814
|
+
};
|
|
3815
|
+
|
|
3816
|
+
|
|
3817
|
+
/**
|
|
3818
|
+
* @param {number} value
|
|
3819
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
3820
|
+
*/
|
|
3821
|
+
proto.BaseItemTransactionPriceCondition.prototype.setDivide = function(value) {
|
|
3822
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
3823
|
+
};
|
|
3824
|
+
|
|
3825
|
+
|
|
3826
|
+
/**
|
|
3827
|
+
* optional string type = 4;
|
|
3828
|
+
* @return {string}
|
|
3829
|
+
*/
|
|
3830
|
+
proto.BaseItemTransactionPriceCondition.prototype.getType = function() {
|
|
3831
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3832
|
+
};
|
|
3833
|
+
|
|
3834
|
+
|
|
3835
|
+
/**
|
|
3836
|
+
* @param {string} value
|
|
3837
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
3838
|
+
*/
|
|
3839
|
+
proto.BaseItemTransactionPriceCondition.prototype.setType = function(value) {
|
|
3840
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3841
|
+
};
|
|
3842
|
+
|
|
3843
|
+
|
|
3844
|
+
/**
|
|
3845
|
+
* optional string name = 5;
|
|
3846
|
+
* @return {string}
|
|
3847
|
+
*/
|
|
3848
|
+
proto.BaseItemTransactionPriceCondition.prototype.getName = function() {
|
|
3849
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3850
|
+
};
|
|
3851
|
+
|
|
3852
|
+
|
|
3853
|
+
/**
|
|
3854
|
+
* @param {string} value
|
|
3855
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
3856
|
+
*/
|
|
3857
|
+
proto.BaseItemTransactionPriceCondition.prototype.setName = function(value) {
|
|
3858
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3859
|
+
};
|
|
3860
|
+
|
|
3861
|
+
|
|
3862
|
+
/**
|
|
3863
|
+
* optional string item_transaction_ref = 6;
|
|
3864
|
+
* @return {string}
|
|
3865
|
+
*/
|
|
3866
|
+
proto.BaseItemTransactionPriceCondition.prototype.getItemTransactionRef = function() {
|
|
3867
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3868
|
+
};
|
|
3869
|
+
|
|
3870
|
+
|
|
3871
|
+
/**
|
|
3872
|
+
* @param {string} value
|
|
3873
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
3874
|
+
*/
|
|
3875
|
+
proto.BaseItemTransactionPriceCondition.prototype.setItemTransactionRef = function(value) {
|
|
3876
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3877
|
+
};
|
|
3878
|
+
|
|
3879
|
+
|
|
2702
3880
|
goog.object.extend(exports, proto);
|