@aldiokta/protocgen 1.1.50 → 1.1.51
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/core/company/company_grpc_pb.js +11 -0
- package/prisca/v1/core/cron_monitor/cron_monitor_grpc_pb.js +221 -0
- package/prisca/v1/core/cron_monitor/cron_monitor_pb.js +2681 -0
- package/prisca/v1/core/employee/employee_grpc_pb.js +11 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +2303 -1023
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +11 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +237 -2
- package/prisca/v1/invoice/invoice_pb.js +237 -2
- package/prisca/v1/purchase_order/purchase_order_pb.js +237 -2
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +416 -10
|
@@ -46,6 +46,7 @@ goog.exportSymbol('proto.GetPurchaseOrderByIdResponse', null, global);
|
|
|
46
46
|
goog.exportSymbol('proto.GetPurchaseOrderDetailResponse', null, global);
|
|
47
47
|
goog.exportSymbol('proto.GetPurchaseOrderItemDetailPreload', null, global);
|
|
48
48
|
goog.exportSymbol('proto.GetPurchaseOrderItemPreload', null, global);
|
|
49
|
+
goog.exportSymbol('proto.GetPurchaseOrderItemServicePreload', null, global);
|
|
49
50
|
goog.exportSymbol('proto.GoodReceipt', null, global);
|
|
50
51
|
goog.exportSymbol('proto.Invoice', null, global);
|
|
51
52
|
goog.exportSymbol('proto.InvoiceCondition', null, global);
|
|
@@ -541,6 +542,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
541
542
|
*/
|
|
542
543
|
proto.GetPurchaseOrderItemDetailPreload.displayName = 'proto.GetPurchaseOrderItemDetailPreload';
|
|
543
544
|
}
|
|
545
|
+
/**
|
|
546
|
+
* Generated by JsPbCodeGenerator.
|
|
547
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
548
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
549
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
550
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
551
|
+
* valid.
|
|
552
|
+
* @extends {jspb.Message}
|
|
553
|
+
* @constructor
|
|
554
|
+
*/
|
|
555
|
+
proto.GetPurchaseOrderItemServicePreload = function(opt_data) {
|
|
556
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPurchaseOrderItemServicePreload.repeatedFields_, null);
|
|
557
|
+
};
|
|
558
|
+
goog.inherits(proto.GetPurchaseOrderItemServicePreload, jspb.Message);
|
|
559
|
+
if (goog.DEBUG && !COMPILED) {
|
|
560
|
+
/**
|
|
561
|
+
* @public
|
|
562
|
+
* @override
|
|
563
|
+
*/
|
|
564
|
+
proto.GetPurchaseOrderItemServicePreload.displayName = 'proto.GetPurchaseOrderItemServicePreload';
|
|
565
|
+
}
|
|
544
566
|
/**
|
|
545
567
|
* Generated by JsPbCodeGenerator.
|
|
546
568
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -10479,7 +10501,7 @@ proto.GetPurchaseOrderDetailResponse.prototype.clearTransactionBuilderItemsList
|
|
|
10479
10501
|
* @private {!Array<number>}
|
|
10480
10502
|
* @const
|
|
10481
10503
|
*/
|
|
10482
|
-
proto.GetPurchaseOrderItemPreload.repeatedFields_ = [1,2];
|
|
10504
|
+
proto.GetPurchaseOrderItemPreload.repeatedFields_ = [1,2,3];
|
|
10483
10505
|
|
|
10484
10506
|
|
|
10485
10507
|
|
|
@@ -10515,7 +10537,9 @@ proto.GetPurchaseOrderItemPreload.toObject = function(includeInstance, msg) {
|
|
|
10515
10537
|
transactionBuilderItemList: jspb.Message.toObjectList(msg.getTransactionBuilderItemList(),
|
|
10516
10538
|
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance),
|
|
10517
10539
|
transactionBuilderItemDetailsList: jspb.Message.toObjectList(msg.getTransactionBuilderItemDetailsList(),
|
|
10518
|
-
proto.GetPurchaseOrderItemDetailPreload.toObject, includeInstance)
|
|
10540
|
+
proto.GetPurchaseOrderItemDetailPreload.toObject, includeInstance),
|
|
10541
|
+
transactionBuilderItemServicesList: jspb.Message.toObjectList(msg.getTransactionBuilderItemServicesList(),
|
|
10542
|
+
proto.GetPurchaseOrderItemServicePreload.toObject, includeInstance)
|
|
10519
10543
|
};
|
|
10520
10544
|
|
|
10521
10545
|
if (includeInstance) {
|
|
@@ -10562,6 +10586,11 @@ proto.GetPurchaseOrderItemPreload.deserializeBinaryFromReader = function(msg, re
|
|
|
10562
10586
|
reader.readMessage(value,proto.GetPurchaseOrderItemDetailPreload.deserializeBinaryFromReader);
|
|
10563
10587
|
msg.addTransactionBuilderItemDetails(value);
|
|
10564
10588
|
break;
|
|
10589
|
+
case 3:
|
|
10590
|
+
var value = new proto.GetPurchaseOrderItemServicePreload;
|
|
10591
|
+
reader.readMessage(value,proto.GetPurchaseOrderItemServicePreload.deserializeBinaryFromReader);
|
|
10592
|
+
msg.addTransactionBuilderItemServices(value);
|
|
10593
|
+
break;
|
|
10565
10594
|
default:
|
|
10566
10595
|
reader.skipField();
|
|
10567
10596
|
break;
|
|
@@ -10607,6 +10636,14 @@ proto.GetPurchaseOrderItemPreload.serializeBinaryToWriter = function(message, wr
|
|
|
10607
10636
|
proto.GetPurchaseOrderItemDetailPreload.serializeBinaryToWriter
|
|
10608
10637
|
);
|
|
10609
10638
|
}
|
|
10639
|
+
f = message.getTransactionBuilderItemServicesList();
|
|
10640
|
+
if (f.length > 0) {
|
|
10641
|
+
writer.writeRepeatedMessage(
|
|
10642
|
+
3,
|
|
10643
|
+
f,
|
|
10644
|
+
proto.GetPurchaseOrderItemServicePreload.serializeBinaryToWriter
|
|
10645
|
+
);
|
|
10646
|
+
}
|
|
10610
10647
|
};
|
|
10611
10648
|
|
|
10612
10649
|
|
|
@@ -10686,6 +10723,44 @@ proto.GetPurchaseOrderItemPreload.prototype.clearTransactionBuilderItemDetailsLi
|
|
|
10686
10723
|
};
|
|
10687
10724
|
|
|
10688
10725
|
|
|
10726
|
+
/**
|
|
10727
|
+
* repeated GetPurchaseOrderItemServicePreload transaction_builder_item_services = 3;
|
|
10728
|
+
* @return {!Array<!proto.GetPurchaseOrderItemServicePreload>}
|
|
10729
|
+
*/
|
|
10730
|
+
proto.GetPurchaseOrderItemPreload.prototype.getTransactionBuilderItemServicesList = function() {
|
|
10731
|
+
return /** @type{!Array<!proto.GetPurchaseOrderItemServicePreload>} */ (
|
|
10732
|
+
jspb.Message.getRepeatedWrapperField(this, proto.GetPurchaseOrderItemServicePreload, 3));
|
|
10733
|
+
};
|
|
10734
|
+
|
|
10735
|
+
|
|
10736
|
+
/**
|
|
10737
|
+
* @param {!Array<!proto.GetPurchaseOrderItemServicePreload>} value
|
|
10738
|
+
* @return {!proto.GetPurchaseOrderItemPreload} returns this
|
|
10739
|
+
*/
|
|
10740
|
+
proto.GetPurchaseOrderItemPreload.prototype.setTransactionBuilderItemServicesList = function(value) {
|
|
10741
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
10742
|
+
};
|
|
10743
|
+
|
|
10744
|
+
|
|
10745
|
+
/**
|
|
10746
|
+
* @param {!proto.GetPurchaseOrderItemServicePreload=} opt_value
|
|
10747
|
+
* @param {number=} opt_index
|
|
10748
|
+
* @return {!proto.GetPurchaseOrderItemServicePreload}
|
|
10749
|
+
*/
|
|
10750
|
+
proto.GetPurchaseOrderItemPreload.prototype.addTransactionBuilderItemServices = function(opt_value, opt_index) {
|
|
10751
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.GetPurchaseOrderItemServicePreload, opt_index);
|
|
10752
|
+
};
|
|
10753
|
+
|
|
10754
|
+
|
|
10755
|
+
/**
|
|
10756
|
+
* Clears the list making it empty but non-null.
|
|
10757
|
+
* @return {!proto.GetPurchaseOrderItemPreload} returns this
|
|
10758
|
+
*/
|
|
10759
|
+
proto.GetPurchaseOrderItemPreload.prototype.clearTransactionBuilderItemServicesList = function() {
|
|
10760
|
+
return this.setTransactionBuilderItemServicesList([]);
|
|
10761
|
+
};
|
|
10762
|
+
|
|
10763
|
+
|
|
10689
10764
|
|
|
10690
10765
|
/**
|
|
10691
10766
|
* List of repeated fields within this message type.
|
|
@@ -10847,6 +10922,166 @@ proto.GetPurchaseOrderItemDetailPreload.prototype.clearTransactionBuilderItemDet
|
|
|
10847
10922
|
|
|
10848
10923
|
|
|
10849
10924
|
|
|
10925
|
+
/**
|
|
10926
|
+
* List of repeated fields within this message type.
|
|
10927
|
+
* @private {!Array<number>}
|
|
10928
|
+
* @const
|
|
10929
|
+
*/
|
|
10930
|
+
proto.GetPurchaseOrderItemServicePreload.repeatedFields_ = [1];
|
|
10931
|
+
|
|
10932
|
+
|
|
10933
|
+
|
|
10934
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10935
|
+
/**
|
|
10936
|
+
* Creates an object representation of this proto.
|
|
10937
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10938
|
+
* Optional fields that are not set will be set to undefined.
|
|
10939
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10940
|
+
* For the list of reserved names please see:
|
|
10941
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10942
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10943
|
+
* JSPB instance for transitional soy proto support:
|
|
10944
|
+
* http://goto/soy-param-migration
|
|
10945
|
+
* @return {!Object}
|
|
10946
|
+
*/
|
|
10947
|
+
proto.GetPurchaseOrderItemServicePreload.prototype.toObject = function(opt_includeInstance) {
|
|
10948
|
+
return proto.GetPurchaseOrderItemServicePreload.toObject(opt_includeInstance, this);
|
|
10949
|
+
};
|
|
10950
|
+
|
|
10951
|
+
|
|
10952
|
+
/**
|
|
10953
|
+
* Static version of the {@see toObject} method.
|
|
10954
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10955
|
+
* the JSPB instance for transitional soy proto support:
|
|
10956
|
+
* http://goto/soy-param-migration
|
|
10957
|
+
* @param {!proto.GetPurchaseOrderItemServicePreload} msg The msg instance to transform.
|
|
10958
|
+
* @return {!Object}
|
|
10959
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10960
|
+
*/
|
|
10961
|
+
proto.GetPurchaseOrderItemServicePreload.toObject = function(includeInstance, msg) {
|
|
10962
|
+
var f, obj = {
|
|
10963
|
+
transactionBuilderItemServiceList: jspb.Message.toObjectList(msg.getTransactionBuilderItemServiceList(),
|
|
10964
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance)
|
|
10965
|
+
};
|
|
10966
|
+
|
|
10967
|
+
if (includeInstance) {
|
|
10968
|
+
obj.$jspbMessageInstance = msg;
|
|
10969
|
+
}
|
|
10970
|
+
return obj;
|
|
10971
|
+
};
|
|
10972
|
+
}
|
|
10973
|
+
|
|
10974
|
+
|
|
10975
|
+
/**
|
|
10976
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10977
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10978
|
+
* @return {!proto.GetPurchaseOrderItemServicePreload}
|
|
10979
|
+
*/
|
|
10980
|
+
proto.GetPurchaseOrderItemServicePreload.deserializeBinary = function(bytes) {
|
|
10981
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10982
|
+
var msg = new proto.GetPurchaseOrderItemServicePreload;
|
|
10983
|
+
return proto.GetPurchaseOrderItemServicePreload.deserializeBinaryFromReader(msg, reader);
|
|
10984
|
+
};
|
|
10985
|
+
|
|
10986
|
+
|
|
10987
|
+
/**
|
|
10988
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10989
|
+
* given reader into the given message object.
|
|
10990
|
+
* @param {!proto.GetPurchaseOrderItemServicePreload} msg The message object to deserialize into.
|
|
10991
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10992
|
+
* @return {!proto.GetPurchaseOrderItemServicePreload}
|
|
10993
|
+
*/
|
|
10994
|
+
proto.GetPurchaseOrderItemServicePreload.deserializeBinaryFromReader = function(msg, reader) {
|
|
10995
|
+
while (reader.nextField()) {
|
|
10996
|
+
if (reader.isEndGroup()) {
|
|
10997
|
+
break;
|
|
10998
|
+
}
|
|
10999
|
+
var field = reader.getFieldNumber();
|
|
11000
|
+
switch (field) {
|
|
11001
|
+
case 1:
|
|
11002
|
+
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail;
|
|
11003
|
+
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.deserializeBinaryFromReader);
|
|
11004
|
+
msg.addTransactionBuilderItemService(value);
|
|
11005
|
+
break;
|
|
11006
|
+
default:
|
|
11007
|
+
reader.skipField();
|
|
11008
|
+
break;
|
|
11009
|
+
}
|
|
11010
|
+
}
|
|
11011
|
+
return msg;
|
|
11012
|
+
};
|
|
11013
|
+
|
|
11014
|
+
|
|
11015
|
+
/**
|
|
11016
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11017
|
+
* @return {!Uint8Array}
|
|
11018
|
+
*/
|
|
11019
|
+
proto.GetPurchaseOrderItemServicePreload.prototype.serializeBinary = function() {
|
|
11020
|
+
var writer = new jspb.BinaryWriter();
|
|
11021
|
+
proto.GetPurchaseOrderItemServicePreload.serializeBinaryToWriter(this, writer);
|
|
11022
|
+
return writer.getResultBuffer();
|
|
11023
|
+
};
|
|
11024
|
+
|
|
11025
|
+
|
|
11026
|
+
/**
|
|
11027
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11028
|
+
* format), writing to the given BinaryWriter.
|
|
11029
|
+
* @param {!proto.GetPurchaseOrderItemServicePreload} message
|
|
11030
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11031
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11032
|
+
*/
|
|
11033
|
+
proto.GetPurchaseOrderItemServicePreload.serializeBinaryToWriter = function(message, writer) {
|
|
11034
|
+
var f = undefined;
|
|
11035
|
+
f = message.getTransactionBuilderItemServiceList();
|
|
11036
|
+
if (f.length > 0) {
|
|
11037
|
+
writer.writeRepeatedMessage(
|
|
11038
|
+
1,
|
|
11039
|
+
f,
|
|
11040
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.serializeBinaryToWriter
|
|
11041
|
+
);
|
|
11042
|
+
}
|
|
11043
|
+
};
|
|
11044
|
+
|
|
11045
|
+
|
|
11046
|
+
/**
|
|
11047
|
+
* repeated TransactionBuilderFieldsDetail transaction_builder_item_service = 1;
|
|
11048
|
+
* @return {!Array<!proto.TransactionBuilderFieldsDetail>}
|
|
11049
|
+
*/
|
|
11050
|
+
proto.GetPurchaseOrderItemServicePreload.prototype.getTransactionBuilderItemServiceList = function() {
|
|
11051
|
+
return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
|
|
11052
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
|
|
11053
|
+
};
|
|
11054
|
+
|
|
11055
|
+
|
|
11056
|
+
/**
|
|
11057
|
+
* @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
|
|
11058
|
+
* @return {!proto.GetPurchaseOrderItemServicePreload} returns this
|
|
11059
|
+
*/
|
|
11060
|
+
proto.GetPurchaseOrderItemServicePreload.prototype.setTransactionBuilderItemServiceList = function(value) {
|
|
11061
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
11062
|
+
};
|
|
11063
|
+
|
|
11064
|
+
|
|
11065
|
+
/**
|
|
11066
|
+
* @param {!proto.TransactionBuilderFieldsDetail=} opt_value
|
|
11067
|
+
* @param {number=} opt_index
|
|
11068
|
+
* @return {!proto.TransactionBuilderFieldsDetail}
|
|
11069
|
+
*/
|
|
11070
|
+
proto.GetPurchaseOrderItemServicePreload.prototype.addTransactionBuilderItemService = function(opt_value, opt_index) {
|
|
11071
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
|
|
11072
|
+
};
|
|
11073
|
+
|
|
11074
|
+
|
|
11075
|
+
/**
|
|
11076
|
+
* Clears the list making it empty but non-null.
|
|
11077
|
+
* @return {!proto.GetPurchaseOrderItemServicePreload} returns this
|
|
11078
|
+
*/
|
|
11079
|
+
proto.GetPurchaseOrderItemServicePreload.prototype.clearTransactionBuilderItemServiceList = function() {
|
|
11080
|
+
return this.setTransactionBuilderItemServiceList([]);
|
|
11081
|
+
};
|
|
11082
|
+
|
|
11083
|
+
|
|
11084
|
+
|
|
10850
11085
|
/**
|
|
10851
11086
|
* List of repeated fields within this message type.
|
|
10852
11087
|
* @private {!Array<number>}
|