@aldiokta/protocgen 1.0.62 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +1 -1
- package/prisca/v1/account_group/account_group_grpc_pb.js +1 -1
- package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +1 -1
- package/prisca/v1/core/material/material_pb.js +6 -6
- package/prisca/v1/core/report/report_pb.js +31 -1
- package/prisca/v1/document_type/document_type_grpc_pb.js +1 -1
- package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +1 -1
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +56 -1
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +701 -32
- package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +1 -1
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +1 -1
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +1 -1
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +1 -2
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +52 -105
|
@@ -47,6 +47,7 @@ goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetail', null, glob
|
|
|
47
47
|
goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload', null, global);
|
|
48
48
|
goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload', null, global);
|
|
49
49
|
goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetailPreloadResponse', null, global);
|
|
50
|
+
goog.exportSymbol('proto.GetPurchaseRequisitionTrxByGroupRefRequest', null, global);
|
|
50
51
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxByIdRequest', null, global);
|
|
51
52
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxByIdResponse', null, global);
|
|
52
53
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetaiPreloadlByIdResponse', null, global);
|
|
@@ -62,6 +63,8 @@ goog.exportSymbol('proto.GetPurchaseRequisitionTrxListResponse', null, global);
|
|
|
62
63
|
goog.exportSymbol('proto.PurchaseRequisitionItemDetail', null, global);
|
|
63
64
|
goog.exportSymbol('proto.PurchaseRequisitionItemTrx', null, global);
|
|
64
65
|
goog.exportSymbol('proto.PurchaseRequisitionTrx', null, global);
|
|
66
|
+
goog.exportSymbol('proto.UpdatePurchaseRequisitionTemplateRequest', null, global);
|
|
67
|
+
goog.exportSymbol('proto.UpdatePurchaseRequisitionTemplateResponse', null, global);
|
|
65
68
|
goog.exportSymbol('proto.UpdatePurchaseRequisitionTrxRequest', null, global);
|
|
66
69
|
goog.exportSymbol('proto.UpdatePurchaseRequisitionTrxResponse', null, global);
|
|
67
70
|
/**
|
|
@@ -274,6 +277,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
274
277
|
*/
|
|
275
278
|
proto.GetPurchaseRequisitionTrxByIdRequest.displayName = 'proto.GetPurchaseRequisitionTrxByIdRequest';
|
|
276
279
|
}
|
|
280
|
+
/**
|
|
281
|
+
* Generated by JsPbCodeGenerator.
|
|
282
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
283
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
284
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
285
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
286
|
+
* valid.
|
|
287
|
+
* @extends {jspb.Message}
|
|
288
|
+
* @constructor
|
|
289
|
+
*/
|
|
290
|
+
proto.GetPurchaseRequisitionTrxByGroupRefRequest = function(opt_data) {
|
|
291
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
292
|
+
};
|
|
293
|
+
goog.inherits(proto.GetPurchaseRequisitionTrxByGroupRefRequest, jspb.Message);
|
|
294
|
+
if (goog.DEBUG && !COMPILED) {
|
|
295
|
+
/**
|
|
296
|
+
* @public
|
|
297
|
+
* @override
|
|
298
|
+
*/
|
|
299
|
+
proto.GetPurchaseRequisitionTrxByGroupRefRequest.displayName = 'proto.GetPurchaseRequisitionTrxByGroupRefRequest';
|
|
300
|
+
}
|
|
277
301
|
/**
|
|
278
302
|
* Generated by JsPbCodeGenerator.
|
|
279
303
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -442,6 +466,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
442
466
|
*/
|
|
443
467
|
proto.DeletePurchaseRequisitionTemplateRequest.displayName = 'proto.DeletePurchaseRequisitionTemplateRequest';
|
|
444
468
|
}
|
|
469
|
+
/**
|
|
470
|
+
* Generated by JsPbCodeGenerator.
|
|
471
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
472
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
473
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
474
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
475
|
+
* valid.
|
|
476
|
+
* @extends {jspb.Message}
|
|
477
|
+
* @constructor
|
|
478
|
+
*/
|
|
479
|
+
proto.UpdatePurchaseRequisitionTemplateRequest = function(opt_data) {
|
|
480
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
481
|
+
};
|
|
482
|
+
goog.inherits(proto.UpdatePurchaseRequisitionTemplateRequest, jspb.Message);
|
|
483
|
+
if (goog.DEBUG && !COMPILED) {
|
|
484
|
+
/**
|
|
485
|
+
* @public
|
|
486
|
+
* @override
|
|
487
|
+
*/
|
|
488
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.displayName = 'proto.UpdatePurchaseRequisitionTemplateRequest';
|
|
489
|
+
}
|
|
445
490
|
/**
|
|
446
491
|
* Generated by JsPbCodeGenerator.
|
|
447
492
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -841,6 +886,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
841
886
|
*/
|
|
842
887
|
proto.DeletePurchaseRequisitionTemplateResponse.displayName = 'proto.DeletePurchaseRequisitionTemplateResponse';
|
|
843
888
|
}
|
|
889
|
+
/**
|
|
890
|
+
* Generated by JsPbCodeGenerator.
|
|
891
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
892
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
893
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
894
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
895
|
+
* valid.
|
|
896
|
+
* @extends {jspb.Message}
|
|
897
|
+
* @constructor
|
|
898
|
+
*/
|
|
899
|
+
proto.UpdatePurchaseRequisitionTemplateResponse = function(opt_data) {
|
|
900
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
901
|
+
};
|
|
902
|
+
goog.inherits(proto.UpdatePurchaseRequisitionTemplateResponse, jspb.Message);
|
|
903
|
+
if (goog.DEBUG && !COMPILED) {
|
|
904
|
+
/**
|
|
905
|
+
* @public
|
|
906
|
+
* @override
|
|
907
|
+
*/
|
|
908
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.displayName = 'proto.UpdatePurchaseRequisitionTemplateResponse';
|
|
909
|
+
}
|
|
844
910
|
|
|
845
911
|
/**
|
|
846
912
|
* List of repeated fields within this message type.
|
|
@@ -903,7 +969,9 @@ updatedAt: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
|
903
969
|
documentTypeRef: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
904
970
|
numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
905
971
|
documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_type_pb.DocumentType.toObject(includeInstance, f),
|
|
906
|
-
status: jspb.Message.getFieldWithDefault(msg, 23, "")
|
|
972
|
+
status: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
973
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
974
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 25, "")
|
|
907
975
|
};
|
|
908
976
|
|
|
909
977
|
if (includeInstance) {
|
|
@@ -1034,6 +1102,14 @@ proto.PurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1034
1102
|
var value = /** @type {string} */ (reader.readString());
|
|
1035
1103
|
msg.setStatus(value);
|
|
1036
1104
|
break;
|
|
1105
|
+
case 24:
|
|
1106
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1107
|
+
msg.setCreatedBy(value);
|
|
1108
|
+
break;
|
|
1109
|
+
case 25:
|
|
1110
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1111
|
+
msg.setUpdatedBy(value);
|
|
1112
|
+
break;
|
|
1037
1113
|
default:
|
|
1038
1114
|
reader.skipField();
|
|
1039
1115
|
break;
|
|
@@ -1226,6 +1302,20 @@ proto.PurchaseRequisitionTrx.serializeBinaryToWriter = function(message, writer)
|
|
|
1226
1302
|
f
|
|
1227
1303
|
);
|
|
1228
1304
|
}
|
|
1305
|
+
f = message.getCreatedBy();
|
|
1306
|
+
if (f.length > 0) {
|
|
1307
|
+
writer.writeString(
|
|
1308
|
+
24,
|
|
1309
|
+
f
|
|
1310
|
+
);
|
|
1311
|
+
}
|
|
1312
|
+
f = message.getUpdatedBy();
|
|
1313
|
+
if (f.length > 0) {
|
|
1314
|
+
writer.writeString(
|
|
1315
|
+
25,
|
|
1316
|
+
f
|
|
1317
|
+
);
|
|
1318
|
+
}
|
|
1229
1319
|
};
|
|
1230
1320
|
|
|
1231
1321
|
|
|
@@ -1682,6 +1772,42 @@ proto.PurchaseRequisitionTrx.prototype.setStatus = function(value) {
|
|
|
1682
1772
|
};
|
|
1683
1773
|
|
|
1684
1774
|
|
|
1775
|
+
/**
|
|
1776
|
+
* optional string created_by = 24;
|
|
1777
|
+
* @return {string}
|
|
1778
|
+
*/
|
|
1779
|
+
proto.PurchaseRequisitionTrx.prototype.getCreatedBy = function() {
|
|
1780
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
|
|
1781
|
+
};
|
|
1782
|
+
|
|
1783
|
+
|
|
1784
|
+
/**
|
|
1785
|
+
* @param {string} value
|
|
1786
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1787
|
+
*/
|
|
1788
|
+
proto.PurchaseRequisitionTrx.prototype.setCreatedBy = function(value) {
|
|
1789
|
+
return jspb.Message.setProto3StringField(this, 24, value);
|
|
1790
|
+
};
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* optional string updated_by = 25;
|
|
1795
|
+
* @return {string}
|
|
1796
|
+
*/
|
|
1797
|
+
proto.PurchaseRequisitionTrx.prototype.getUpdatedBy = function() {
|
|
1798
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
|
|
1799
|
+
};
|
|
1800
|
+
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* @param {string} value
|
|
1804
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1805
|
+
*/
|
|
1806
|
+
proto.PurchaseRequisitionTrx.prototype.setUpdatedBy = function(value) {
|
|
1807
|
+
return jspb.Message.setProto3StringField(this, 25, value);
|
|
1808
|
+
};
|
|
1809
|
+
|
|
1810
|
+
|
|
1685
1811
|
|
|
1686
1812
|
/**
|
|
1687
1813
|
* List of repeated fields within this message type.
|
|
@@ -5327,6 +5453,136 @@ proto.GetPurchaseRequisitionTrxByIdRequest.prototype.setId = function(value) {
|
|
|
5327
5453
|
|
|
5328
5454
|
|
|
5329
5455
|
|
|
5456
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5457
|
+
/**
|
|
5458
|
+
* Creates an object representation of this proto.
|
|
5459
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5460
|
+
* Optional fields that are not set will be set to undefined.
|
|
5461
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5462
|
+
* For the list of reserved names please see:
|
|
5463
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5464
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5465
|
+
* JSPB instance for transitional soy proto support:
|
|
5466
|
+
* http://goto/soy-param-migration
|
|
5467
|
+
* @return {!Object}
|
|
5468
|
+
*/
|
|
5469
|
+
proto.GetPurchaseRequisitionTrxByGroupRefRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5470
|
+
return proto.GetPurchaseRequisitionTrxByGroupRefRequest.toObject(opt_includeInstance, this);
|
|
5471
|
+
};
|
|
5472
|
+
|
|
5473
|
+
|
|
5474
|
+
/**
|
|
5475
|
+
* Static version of the {@see toObject} method.
|
|
5476
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5477
|
+
* the JSPB instance for transitional soy proto support:
|
|
5478
|
+
* http://goto/soy-param-migration
|
|
5479
|
+
* @param {!proto.GetPurchaseRequisitionTrxByGroupRefRequest} msg The msg instance to transform.
|
|
5480
|
+
* @return {!Object}
|
|
5481
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5482
|
+
*/
|
|
5483
|
+
proto.GetPurchaseRequisitionTrxByGroupRefRequest.toObject = function(includeInstance, msg) {
|
|
5484
|
+
var f, obj = {
|
|
5485
|
+
groupRef: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
5486
|
+
};
|
|
5487
|
+
|
|
5488
|
+
if (includeInstance) {
|
|
5489
|
+
obj.$jspbMessageInstance = msg;
|
|
5490
|
+
}
|
|
5491
|
+
return obj;
|
|
5492
|
+
};
|
|
5493
|
+
}
|
|
5494
|
+
|
|
5495
|
+
|
|
5496
|
+
/**
|
|
5497
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5498
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5499
|
+
* @return {!proto.GetPurchaseRequisitionTrxByGroupRefRequest}
|
|
5500
|
+
*/
|
|
5501
|
+
proto.GetPurchaseRequisitionTrxByGroupRefRequest.deserializeBinary = function(bytes) {
|
|
5502
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5503
|
+
var msg = new proto.GetPurchaseRequisitionTrxByGroupRefRequest;
|
|
5504
|
+
return proto.GetPurchaseRequisitionTrxByGroupRefRequest.deserializeBinaryFromReader(msg, reader);
|
|
5505
|
+
};
|
|
5506
|
+
|
|
5507
|
+
|
|
5508
|
+
/**
|
|
5509
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5510
|
+
* given reader into the given message object.
|
|
5511
|
+
* @param {!proto.GetPurchaseRequisitionTrxByGroupRefRequest} msg The message object to deserialize into.
|
|
5512
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5513
|
+
* @return {!proto.GetPurchaseRequisitionTrxByGroupRefRequest}
|
|
5514
|
+
*/
|
|
5515
|
+
proto.GetPurchaseRequisitionTrxByGroupRefRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5516
|
+
while (reader.nextField()) {
|
|
5517
|
+
if (reader.isEndGroup()) {
|
|
5518
|
+
break;
|
|
5519
|
+
}
|
|
5520
|
+
var field = reader.getFieldNumber();
|
|
5521
|
+
switch (field) {
|
|
5522
|
+
case 1:
|
|
5523
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5524
|
+
msg.setGroupRef(value);
|
|
5525
|
+
break;
|
|
5526
|
+
default:
|
|
5527
|
+
reader.skipField();
|
|
5528
|
+
break;
|
|
5529
|
+
}
|
|
5530
|
+
}
|
|
5531
|
+
return msg;
|
|
5532
|
+
};
|
|
5533
|
+
|
|
5534
|
+
|
|
5535
|
+
/**
|
|
5536
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5537
|
+
* @return {!Uint8Array}
|
|
5538
|
+
*/
|
|
5539
|
+
proto.GetPurchaseRequisitionTrxByGroupRefRequest.prototype.serializeBinary = function() {
|
|
5540
|
+
var writer = new jspb.BinaryWriter();
|
|
5541
|
+
proto.GetPurchaseRequisitionTrxByGroupRefRequest.serializeBinaryToWriter(this, writer);
|
|
5542
|
+
return writer.getResultBuffer();
|
|
5543
|
+
};
|
|
5544
|
+
|
|
5545
|
+
|
|
5546
|
+
/**
|
|
5547
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5548
|
+
* format), writing to the given BinaryWriter.
|
|
5549
|
+
* @param {!proto.GetPurchaseRequisitionTrxByGroupRefRequest} message
|
|
5550
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5551
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5552
|
+
*/
|
|
5553
|
+
proto.GetPurchaseRequisitionTrxByGroupRefRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5554
|
+
var f = undefined;
|
|
5555
|
+
f = message.getGroupRef();
|
|
5556
|
+
if (f.length > 0) {
|
|
5557
|
+
writer.writeString(
|
|
5558
|
+
1,
|
|
5559
|
+
f
|
|
5560
|
+
);
|
|
5561
|
+
}
|
|
5562
|
+
};
|
|
5563
|
+
|
|
5564
|
+
|
|
5565
|
+
/**
|
|
5566
|
+
* optional string group_ref = 1;
|
|
5567
|
+
* @return {string}
|
|
5568
|
+
*/
|
|
5569
|
+
proto.GetPurchaseRequisitionTrxByGroupRefRequest.prototype.getGroupRef = function() {
|
|
5570
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5571
|
+
};
|
|
5572
|
+
|
|
5573
|
+
|
|
5574
|
+
/**
|
|
5575
|
+
* @param {string} value
|
|
5576
|
+
* @return {!proto.GetPurchaseRequisitionTrxByGroupRefRequest} returns this
|
|
5577
|
+
*/
|
|
5578
|
+
proto.GetPurchaseRequisitionTrxByGroupRefRequest.prototype.setGroupRef = function(value) {
|
|
5579
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5580
|
+
};
|
|
5581
|
+
|
|
5582
|
+
|
|
5583
|
+
|
|
5584
|
+
|
|
5585
|
+
|
|
5330
5586
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5331
5587
|
/**
|
|
5332
5588
|
* Creates an object representation of this proto.
|
|
@@ -6707,8 +6963,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6707
6963
|
* http://goto/soy-param-migration
|
|
6708
6964
|
* @return {!Object}
|
|
6709
6965
|
*/
|
|
6710
|
-
proto.
|
|
6711
|
-
return proto.
|
|
6966
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6967
|
+
return proto.UpdatePurchaseRequisitionTemplateRequest.toObject(opt_includeInstance, this);
|
|
6712
6968
|
};
|
|
6713
6969
|
|
|
6714
6970
|
|
|
@@ -6717,14 +6973,15 @@ proto.CreatePurchaseRequisitionTrxResponse.prototype.toObject = function(opt_inc
|
|
|
6717
6973
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6718
6974
|
* the JSPB instance for transitional soy proto support:
|
|
6719
6975
|
* http://goto/soy-param-migration
|
|
6720
|
-
* @param {!proto.
|
|
6976
|
+
* @param {!proto.UpdatePurchaseRequisitionTemplateRequest} msg The msg instance to transform.
|
|
6721
6977
|
* @return {!Object}
|
|
6722
6978
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6723
6979
|
*/
|
|
6724
|
-
proto.
|
|
6980
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.toObject = function(includeInstance, msg) {
|
|
6725
6981
|
var f, obj = {
|
|
6726
|
-
|
|
6727
|
-
|
|
6982
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6983
|
+
purchaseRequisitionTransaction: (f = msg.getPurchaseRequisitionTransaction()) && proto.BaseUpdatePurchaseRequisitionTrx.toObject(includeInstance, f),
|
|
6984
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
6728
6985
|
};
|
|
6729
6986
|
|
|
6730
6987
|
if (includeInstance) {
|
|
@@ -6738,23 +6995,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
6738
6995
|
/**
|
|
6739
6996
|
* Deserializes binary data (in protobuf wire format).
|
|
6740
6997
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6741
|
-
* @return {!proto.
|
|
6998
|
+
* @return {!proto.UpdatePurchaseRequisitionTemplateRequest}
|
|
6742
6999
|
*/
|
|
6743
|
-
proto.
|
|
7000
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.deserializeBinary = function(bytes) {
|
|
6744
7001
|
var reader = new jspb.BinaryReader(bytes);
|
|
6745
|
-
var msg = new proto.
|
|
6746
|
-
return proto.
|
|
7002
|
+
var msg = new proto.UpdatePurchaseRequisitionTemplateRequest;
|
|
7003
|
+
return proto.UpdatePurchaseRequisitionTemplateRequest.deserializeBinaryFromReader(msg, reader);
|
|
6747
7004
|
};
|
|
6748
7005
|
|
|
6749
7006
|
|
|
6750
7007
|
/**
|
|
6751
7008
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6752
7009
|
* given reader into the given message object.
|
|
6753
|
-
* @param {!proto.
|
|
7010
|
+
* @param {!proto.UpdatePurchaseRequisitionTemplateRequest} msg The message object to deserialize into.
|
|
6754
7011
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6755
|
-
* @return {!proto.
|
|
7012
|
+
* @return {!proto.UpdatePurchaseRequisitionTemplateRequest}
|
|
6756
7013
|
*/
|
|
6757
|
-
proto.
|
|
7014
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6758
7015
|
while (reader.nextField()) {
|
|
6759
7016
|
if (reader.isEndGroup()) {
|
|
6760
7017
|
break;
|
|
@@ -6762,14 +7019,17 @@ proto.CreatePurchaseRequisitionTrxResponse.deserializeBinaryFromReader = functio
|
|
|
6762
7019
|
var field = reader.getFieldNumber();
|
|
6763
7020
|
switch (field) {
|
|
6764
7021
|
case 1:
|
|
6765
|
-
var value =
|
|
6766
|
-
|
|
6767
|
-
msg.setPurchaseRequisitionTransaction(value);
|
|
7022
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7023
|
+
msg.setId(value);
|
|
6768
7024
|
break;
|
|
6769
7025
|
case 2:
|
|
6770
|
-
var value = new
|
|
6771
|
-
reader.readMessage(value,
|
|
6772
|
-
msg.
|
|
7026
|
+
var value = new proto.BaseUpdatePurchaseRequisitionTrx;
|
|
7027
|
+
reader.readMessage(value,proto.BaseUpdatePurchaseRequisitionTrx.deserializeBinaryFromReader);
|
|
7028
|
+
msg.setPurchaseRequisitionTransaction(value);
|
|
7029
|
+
break;
|
|
7030
|
+
case 3:
|
|
7031
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7032
|
+
msg.setCompaniesReferencesId(value);
|
|
6773
7033
|
break;
|
|
6774
7034
|
default:
|
|
6775
7035
|
reader.skipField();
|
|
@@ -6784,9 +7044,9 @@ proto.CreatePurchaseRequisitionTrxResponse.deserializeBinaryFromReader = functio
|
|
|
6784
7044
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6785
7045
|
* @return {!Uint8Array}
|
|
6786
7046
|
*/
|
|
6787
|
-
proto.
|
|
7047
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.prototype.serializeBinary = function() {
|
|
6788
7048
|
var writer = new jspb.BinaryWriter();
|
|
6789
|
-
proto.
|
|
7049
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.serializeBinaryToWriter(this, writer);
|
|
6790
7050
|
return writer.getResultBuffer();
|
|
6791
7051
|
};
|
|
6792
7052
|
|
|
@@ -6794,33 +7054,240 @@ proto.CreatePurchaseRequisitionTrxResponse.prototype.serializeBinary = function(
|
|
|
6794
7054
|
/**
|
|
6795
7055
|
* Serializes the given message to binary data (in protobuf wire
|
|
6796
7056
|
* format), writing to the given BinaryWriter.
|
|
6797
|
-
* @param {!proto.
|
|
7057
|
+
* @param {!proto.UpdatePurchaseRequisitionTemplateRequest} message
|
|
6798
7058
|
* @param {!jspb.BinaryWriter} writer
|
|
6799
7059
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6800
7060
|
*/
|
|
6801
|
-
proto.
|
|
7061
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6802
7062
|
var f = undefined;
|
|
6803
|
-
f = message.
|
|
6804
|
-
if (f
|
|
6805
|
-
writer.
|
|
7063
|
+
f = message.getId();
|
|
7064
|
+
if (f !== 0) {
|
|
7065
|
+
writer.writeInt64(
|
|
6806
7066
|
1,
|
|
6807
|
-
f
|
|
6808
|
-
proto.PurchaseRequisitionTrx.serializeBinaryToWriter
|
|
7067
|
+
f
|
|
6809
7068
|
);
|
|
6810
7069
|
}
|
|
6811
|
-
f = message.
|
|
7070
|
+
f = message.getPurchaseRequisitionTransaction();
|
|
6812
7071
|
if (f != null) {
|
|
6813
7072
|
writer.writeMessage(
|
|
6814
7073
|
2,
|
|
6815
7074
|
f,
|
|
6816
|
-
|
|
7075
|
+
proto.BaseUpdatePurchaseRequisitionTrx.serializeBinaryToWriter
|
|
7076
|
+
);
|
|
7077
|
+
}
|
|
7078
|
+
f = message.getCompaniesReferencesId();
|
|
7079
|
+
if (f.length > 0) {
|
|
7080
|
+
writer.writeString(
|
|
7081
|
+
3,
|
|
7082
|
+
f
|
|
6817
7083
|
);
|
|
6818
7084
|
}
|
|
6819
7085
|
};
|
|
6820
7086
|
|
|
6821
7087
|
|
|
6822
7088
|
/**
|
|
6823
|
-
* optional
|
|
7089
|
+
* optional int64 id = 1;
|
|
7090
|
+
* @return {number}
|
|
7091
|
+
*/
|
|
7092
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.prototype.getId = function() {
|
|
7093
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7094
|
+
};
|
|
7095
|
+
|
|
7096
|
+
|
|
7097
|
+
/**
|
|
7098
|
+
* @param {number} value
|
|
7099
|
+
* @return {!proto.UpdatePurchaseRequisitionTemplateRequest} returns this
|
|
7100
|
+
*/
|
|
7101
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.prototype.setId = function(value) {
|
|
7102
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
7103
|
+
};
|
|
7104
|
+
|
|
7105
|
+
|
|
7106
|
+
/**
|
|
7107
|
+
* optional BaseUpdatePurchaseRequisitionTrx purchase_requisition_transaction = 2;
|
|
7108
|
+
* @return {?proto.BaseUpdatePurchaseRequisitionTrx}
|
|
7109
|
+
*/
|
|
7110
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.prototype.getPurchaseRequisitionTransaction = function() {
|
|
7111
|
+
return /** @type{?proto.BaseUpdatePurchaseRequisitionTrx} */ (
|
|
7112
|
+
jspb.Message.getWrapperField(this, proto.BaseUpdatePurchaseRequisitionTrx, 2));
|
|
7113
|
+
};
|
|
7114
|
+
|
|
7115
|
+
|
|
7116
|
+
/**
|
|
7117
|
+
* @param {?proto.BaseUpdatePurchaseRequisitionTrx|undefined} value
|
|
7118
|
+
* @return {!proto.UpdatePurchaseRequisitionTemplateRequest} returns this
|
|
7119
|
+
*/
|
|
7120
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.prototype.setPurchaseRequisitionTransaction = function(value) {
|
|
7121
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
7122
|
+
};
|
|
7123
|
+
|
|
7124
|
+
|
|
7125
|
+
/**
|
|
7126
|
+
* Clears the message field making it undefined.
|
|
7127
|
+
* @return {!proto.UpdatePurchaseRequisitionTemplateRequest} returns this
|
|
7128
|
+
*/
|
|
7129
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.prototype.clearPurchaseRequisitionTransaction = function() {
|
|
7130
|
+
return this.setPurchaseRequisitionTransaction(undefined);
|
|
7131
|
+
};
|
|
7132
|
+
|
|
7133
|
+
|
|
7134
|
+
/**
|
|
7135
|
+
* Returns whether this field is set.
|
|
7136
|
+
* @return {boolean}
|
|
7137
|
+
*/
|
|
7138
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.prototype.hasPurchaseRequisitionTransaction = function() {
|
|
7139
|
+
return jspb.Message.getField(this, 2) != null;
|
|
7140
|
+
};
|
|
7141
|
+
|
|
7142
|
+
|
|
7143
|
+
/**
|
|
7144
|
+
* optional string companies_references_id = 3;
|
|
7145
|
+
* @return {string}
|
|
7146
|
+
*/
|
|
7147
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.prototype.getCompaniesReferencesId = function() {
|
|
7148
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7149
|
+
};
|
|
7150
|
+
|
|
7151
|
+
|
|
7152
|
+
/**
|
|
7153
|
+
* @param {string} value
|
|
7154
|
+
* @return {!proto.UpdatePurchaseRequisitionTemplateRequest} returns this
|
|
7155
|
+
*/
|
|
7156
|
+
proto.UpdatePurchaseRequisitionTemplateRequest.prototype.setCompaniesReferencesId = function(value) {
|
|
7157
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7158
|
+
};
|
|
7159
|
+
|
|
7160
|
+
|
|
7161
|
+
|
|
7162
|
+
|
|
7163
|
+
|
|
7164
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7165
|
+
/**
|
|
7166
|
+
* Creates an object representation of this proto.
|
|
7167
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7168
|
+
* Optional fields that are not set will be set to undefined.
|
|
7169
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7170
|
+
* For the list of reserved names please see:
|
|
7171
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7172
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7173
|
+
* JSPB instance for transitional soy proto support:
|
|
7174
|
+
* http://goto/soy-param-migration
|
|
7175
|
+
* @return {!Object}
|
|
7176
|
+
*/
|
|
7177
|
+
proto.CreatePurchaseRequisitionTrxResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7178
|
+
return proto.CreatePurchaseRequisitionTrxResponse.toObject(opt_includeInstance, this);
|
|
7179
|
+
};
|
|
7180
|
+
|
|
7181
|
+
|
|
7182
|
+
/**
|
|
7183
|
+
* Static version of the {@see toObject} method.
|
|
7184
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7185
|
+
* the JSPB instance for transitional soy proto support:
|
|
7186
|
+
* http://goto/soy-param-migration
|
|
7187
|
+
* @param {!proto.CreatePurchaseRequisitionTrxResponse} msg The msg instance to transform.
|
|
7188
|
+
* @return {!Object}
|
|
7189
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7190
|
+
*/
|
|
7191
|
+
proto.CreatePurchaseRequisitionTrxResponse.toObject = function(includeInstance, msg) {
|
|
7192
|
+
var f, obj = {
|
|
7193
|
+
purchaseRequisitionTransaction: (f = msg.getPurchaseRequisitionTransaction()) && proto.PurchaseRequisitionTrx.toObject(includeInstance, f),
|
|
7194
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
7195
|
+
};
|
|
7196
|
+
|
|
7197
|
+
if (includeInstance) {
|
|
7198
|
+
obj.$jspbMessageInstance = msg;
|
|
7199
|
+
}
|
|
7200
|
+
return obj;
|
|
7201
|
+
};
|
|
7202
|
+
}
|
|
7203
|
+
|
|
7204
|
+
|
|
7205
|
+
/**
|
|
7206
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7207
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7208
|
+
* @return {!proto.CreatePurchaseRequisitionTrxResponse}
|
|
7209
|
+
*/
|
|
7210
|
+
proto.CreatePurchaseRequisitionTrxResponse.deserializeBinary = function(bytes) {
|
|
7211
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7212
|
+
var msg = new proto.CreatePurchaseRequisitionTrxResponse;
|
|
7213
|
+
return proto.CreatePurchaseRequisitionTrxResponse.deserializeBinaryFromReader(msg, reader);
|
|
7214
|
+
};
|
|
7215
|
+
|
|
7216
|
+
|
|
7217
|
+
/**
|
|
7218
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7219
|
+
* given reader into the given message object.
|
|
7220
|
+
* @param {!proto.CreatePurchaseRequisitionTrxResponse} msg The message object to deserialize into.
|
|
7221
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7222
|
+
* @return {!proto.CreatePurchaseRequisitionTrxResponse}
|
|
7223
|
+
*/
|
|
7224
|
+
proto.CreatePurchaseRequisitionTrxResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
7225
|
+
while (reader.nextField()) {
|
|
7226
|
+
if (reader.isEndGroup()) {
|
|
7227
|
+
break;
|
|
7228
|
+
}
|
|
7229
|
+
var field = reader.getFieldNumber();
|
|
7230
|
+
switch (field) {
|
|
7231
|
+
case 1:
|
|
7232
|
+
var value = new proto.PurchaseRequisitionTrx;
|
|
7233
|
+
reader.readMessage(value,proto.PurchaseRequisitionTrx.deserializeBinaryFromReader);
|
|
7234
|
+
msg.setPurchaseRequisitionTransaction(value);
|
|
7235
|
+
break;
|
|
7236
|
+
case 2:
|
|
7237
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
7238
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
7239
|
+
msg.setMeta(value);
|
|
7240
|
+
break;
|
|
7241
|
+
default:
|
|
7242
|
+
reader.skipField();
|
|
7243
|
+
break;
|
|
7244
|
+
}
|
|
7245
|
+
}
|
|
7246
|
+
return msg;
|
|
7247
|
+
};
|
|
7248
|
+
|
|
7249
|
+
|
|
7250
|
+
/**
|
|
7251
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7252
|
+
* @return {!Uint8Array}
|
|
7253
|
+
*/
|
|
7254
|
+
proto.CreatePurchaseRequisitionTrxResponse.prototype.serializeBinary = function() {
|
|
7255
|
+
var writer = new jspb.BinaryWriter();
|
|
7256
|
+
proto.CreatePurchaseRequisitionTrxResponse.serializeBinaryToWriter(this, writer);
|
|
7257
|
+
return writer.getResultBuffer();
|
|
7258
|
+
};
|
|
7259
|
+
|
|
7260
|
+
|
|
7261
|
+
/**
|
|
7262
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7263
|
+
* format), writing to the given BinaryWriter.
|
|
7264
|
+
* @param {!proto.CreatePurchaseRequisitionTrxResponse} message
|
|
7265
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7266
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7267
|
+
*/
|
|
7268
|
+
proto.CreatePurchaseRequisitionTrxResponse.serializeBinaryToWriter = function(message, writer) {
|
|
7269
|
+
var f = undefined;
|
|
7270
|
+
f = message.getPurchaseRequisitionTransaction();
|
|
7271
|
+
if (f != null) {
|
|
7272
|
+
writer.writeMessage(
|
|
7273
|
+
1,
|
|
7274
|
+
f,
|
|
7275
|
+
proto.PurchaseRequisitionTrx.serializeBinaryToWriter
|
|
7276
|
+
);
|
|
7277
|
+
}
|
|
7278
|
+
f = message.getMeta();
|
|
7279
|
+
if (f != null) {
|
|
7280
|
+
writer.writeMessage(
|
|
7281
|
+
2,
|
|
7282
|
+
f,
|
|
7283
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
7284
|
+
);
|
|
7285
|
+
}
|
|
7286
|
+
};
|
|
7287
|
+
|
|
7288
|
+
|
|
7289
|
+
/**
|
|
7290
|
+
* optional PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
6824
7291
|
* @return {?proto.PurchaseRequisitionTrx}
|
|
6825
7292
|
*/
|
|
6826
7293
|
proto.CreatePurchaseRequisitionTrxResponse.prototype.getPurchaseRequisitionTransaction = function() {
|
|
@@ -10420,4 +10887,206 @@ proto.DeletePurchaseRequisitionTemplateResponse.prototype.hasMeta = function() {
|
|
|
10420
10887
|
};
|
|
10421
10888
|
|
|
10422
10889
|
|
|
10890
|
+
|
|
10891
|
+
|
|
10892
|
+
|
|
10893
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10894
|
+
/**
|
|
10895
|
+
* Creates an object representation of this proto.
|
|
10896
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10897
|
+
* Optional fields that are not set will be set to undefined.
|
|
10898
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10899
|
+
* For the list of reserved names please see:
|
|
10900
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10901
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10902
|
+
* JSPB instance for transitional soy proto support:
|
|
10903
|
+
* http://goto/soy-param-migration
|
|
10904
|
+
* @return {!Object}
|
|
10905
|
+
*/
|
|
10906
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10907
|
+
return proto.UpdatePurchaseRequisitionTemplateResponse.toObject(opt_includeInstance, this);
|
|
10908
|
+
};
|
|
10909
|
+
|
|
10910
|
+
|
|
10911
|
+
/**
|
|
10912
|
+
* Static version of the {@see toObject} method.
|
|
10913
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10914
|
+
* the JSPB instance for transitional soy proto support:
|
|
10915
|
+
* http://goto/soy-param-migration
|
|
10916
|
+
* @param {!proto.UpdatePurchaseRequisitionTemplateResponse} msg The msg instance to transform.
|
|
10917
|
+
* @return {!Object}
|
|
10918
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10919
|
+
*/
|
|
10920
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.toObject = function(includeInstance, msg) {
|
|
10921
|
+
var f, obj = {
|
|
10922
|
+
purchaseRequisitionTransaction: (f = msg.getPurchaseRequisitionTransaction()) && proto.PurchaseRequisitionTrx.toObject(includeInstance, f),
|
|
10923
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
10924
|
+
};
|
|
10925
|
+
|
|
10926
|
+
if (includeInstance) {
|
|
10927
|
+
obj.$jspbMessageInstance = msg;
|
|
10928
|
+
}
|
|
10929
|
+
return obj;
|
|
10930
|
+
};
|
|
10931
|
+
}
|
|
10932
|
+
|
|
10933
|
+
|
|
10934
|
+
/**
|
|
10935
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10936
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10937
|
+
* @return {!proto.UpdatePurchaseRequisitionTemplateResponse}
|
|
10938
|
+
*/
|
|
10939
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.deserializeBinary = function(bytes) {
|
|
10940
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10941
|
+
var msg = new proto.UpdatePurchaseRequisitionTemplateResponse;
|
|
10942
|
+
return proto.UpdatePurchaseRequisitionTemplateResponse.deserializeBinaryFromReader(msg, reader);
|
|
10943
|
+
};
|
|
10944
|
+
|
|
10945
|
+
|
|
10946
|
+
/**
|
|
10947
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10948
|
+
* given reader into the given message object.
|
|
10949
|
+
* @param {!proto.UpdatePurchaseRequisitionTemplateResponse} msg The message object to deserialize into.
|
|
10950
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10951
|
+
* @return {!proto.UpdatePurchaseRequisitionTemplateResponse}
|
|
10952
|
+
*/
|
|
10953
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10954
|
+
while (reader.nextField()) {
|
|
10955
|
+
if (reader.isEndGroup()) {
|
|
10956
|
+
break;
|
|
10957
|
+
}
|
|
10958
|
+
var field = reader.getFieldNumber();
|
|
10959
|
+
switch (field) {
|
|
10960
|
+
case 1:
|
|
10961
|
+
var value = new proto.PurchaseRequisitionTrx;
|
|
10962
|
+
reader.readMessage(value,proto.PurchaseRequisitionTrx.deserializeBinaryFromReader);
|
|
10963
|
+
msg.setPurchaseRequisitionTransaction(value);
|
|
10964
|
+
break;
|
|
10965
|
+
case 2:
|
|
10966
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
10967
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
10968
|
+
msg.setMeta(value);
|
|
10969
|
+
break;
|
|
10970
|
+
default:
|
|
10971
|
+
reader.skipField();
|
|
10972
|
+
break;
|
|
10973
|
+
}
|
|
10974
|
+
}
|
|
10975
|
+
return msg;
|
|
10976
|
+
};
|
|
10977
|
+
|
|
10978
|
+
|
|
10979
|
+
/**
|
|
10980
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10981
|
+
* @return {!Uint8Array}
|
|
10982
|
+
*/
|
|
10983
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.prototype.serializeBinary = function() {
|
|
10984
|
+
var writer = new jspb.BinaryWriter();
|
|
10985
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.serializeBinaryToWriter(this, writer);
|
|
10986
|
+
return writer.getResultBuffer();
|
|
10987
|
+
};
|
|
10988
|
+
|
|
10989
|
+
|
|
10990
|
+
/**
|
|
10991
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10992
|
+
* format), writing to the given BinaryWriter.
|
|
10993
|
+
* @param {!proto.UpdatePurchaseRequisitionTemplateResponse} message
|
|
10994
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10995
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10996
|
+
*/
|
|
10997
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10998
|
+
var f = undefined;
|
|
10999
|
+
f = message.getPurchaseRequisitionTransaction();
|
|
11000
|
+
if (f != null) {
|
|
11001
|
+
writer.writeMessage(
|
|
11002
|
+
1,
|
|
11003
|
+
f,
|
|
11004
|
+
proto.PurchaseRequisitionTrx.serializeBinaryToWriter
|
|
11005
|
+
);
|
|
11006
|
+
}
|
|
11007
|
+
f = message.getMeta();
|
|
11008
|
+
if (f != null) {
|
|
11009
|
+
writer.writeMessage(
|
|
11010
|
+
2,
|
|
11011
|
+
f,
|
|
11012
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
11013
|
+
);
|
|
11014
|
+
}
|
|
11015
|
+
};
|
|
11016
|
+
|
|
11017
|
+
|
|
11018
|
+
/**
|
|
11019
|
+
* optional PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
11020
|
+
* @return {?proto.PurchaseRequisitionTrx}
|
|
11021
|
+
*/
|
|
11022
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.prototype.getPurchaseRequisitionTransaction = function() {
|
|
11023
|
+
return /** @type{?proto.PurchaseRequisitionTrx} */ (
|
|
11024
|
+
jspb.Message.getWrapperField(this, proto.PurchaseRequisitionTrx, 1));
|
|
11025
|
+
};
|
|
11026
|
+
|
|
11027
|
+
|
|
11028
|
+
/**
|
|
11029
|
+
* @param {?proto.PurchaseRequisitionTrx|undefined} value
|
|
11030
|
+
* @return {!proto.UpdatePurchaseRequisitionTemplateResponse} returns this
|
|
11031
|
+
*/
|
|
11032
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.prototype.setPurchaseRequisitionTransaction = function(value) {
|
|
11033
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
11034
|
+
};
|
|
11035
|
+
|
|
11036
|
+
|
|
11037
|
+
/**
|
|
11038
|
+
* Clears the message field making it undefined.
|
|
11039
|
+
* @return {!proto.UpdatePurchaseRequisitionTemplateResponse} returns this
|
|
11040
|
+
*/
|
|
11041
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.prototype.clearPurchaseRequisitionTransaction = function() {
|
|
11042
|
+
return this.setPurchaseRequisitionTransaction(undefined);
|
|
11043
|
+
};
|
|
11044
|
+
|
|
11045
|
+
|
|
11046
|
+
/**
|
|
11047
|
+
* Returns whether this field is set.
|
|
11048
|
+
* @return {boolean}
|
|
11049
|
+
*/
|
|
11050
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.prototype.hasPurchaseRequisitionTransaction = function() {
|
|
11051
|
+
return jspb.Message.getField(this, 1) != null;
|
|
11052
|
+
};
|
|
11053
|
+
|
|
11054
|
+
|
|
11055
|
+
/**
|
|
11056
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
11057
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
11058
|
+
*/
|
|
11059
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.prototype.getMeta = function() {
|
|
11060
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
11061
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
11062
|
+
};
|
|
11063
|
+
|
|
11064
|
+
|
|
11065
|
+
/**
|
|
11066
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
11067
|
+
* @return {!proto.UpdatePurchaseRequisitionTemplateResponse} returns this
|
|
11068
|
+
*/
|
|
11069
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.prototype.setMeta = function(value) {
|
|
11070
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
11071
|
+
};
|
|
11072
|
+
|
|
11073
|
+
|
|
11074
|
+
/**
|
|
11075
|
+
* Clears the message field making it undefined.
|
|
11076
|
+
* @return {!proto.UpdatePurchaseRequisitionTemplateResponse} returns this
|
|
11077
|
+
*/
|
|
11078
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.prototype.clearMeta = function() {
|
|
11079
|
+
return this.setMeta(undefined);
|
|
11080
|
+
};
|
|
11081
|
+
|
|
11082
|
+
|
|
11083
|
+
/**
|
|
11084
|
+
* Returns whether this field is set.
|
|
11085
|
+
* @return {boolean}
|
|
11086
|
+
*/
|
|
11087
|
+
proto.UpdatePurchaseRequisitionTemplateResponse.prototype.hasMeta = function() {
|
|
11088
|
+
return jspb.Message.getField(this, 2) != null;
|
|
11089
|
+
};
|
|
11090
|
+
|
|
11091
|
+
|
|
10423
11092
|
goog.object.extend(exports, proto);
|