@aldiokta/protocgen 1.1.38 → 1.1.39
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/chat_messaging/chat_messaging_pb.js +259 -58
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +22 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +436 -0
- package/prisca/v1/core/workspace/workspace_grpc_pb.js +101 -0
- package/prisca/v1/core/workspace/workspace_pb.js +1381 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +22 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +182 -0
|
@@ -197,6 +197,17 @@ function deserialize_GetPurchaseRequisitionTrxDetailByIdRequest(buffer_arg) {
|
|
|
197
197
|
return prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxDetailByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
+
function serialize_GetPurchaseRequisitionTrxDetailByNameRequest(arg) {
|
|
201
|
+
if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxDetailByNameRequest)) {
|
|
202
|
+
throw new Error('Expected argument of type GetPurchaseRequisitionTrxDetailByNameRequest');
|
|
203
|
+
}
|
|
204
|
+
return Buffer.from(arg.serializeBinary());
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
function deserialize_GetPurchaseRequisitionTrxDetailByNameRequest(buffer_arg) {
|
|
208
|
+
return prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxDetailByNameRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
209
|
+
}
|
|
210
|
+
|
|
200
211
|
function serialize_GetPurchaseRequisitionTrxDetailListDetailRequest(arg) {
|
|
201
212
|
if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxDetailListDetailRequest)) {
|
|
202
213
|
throw new Error('Expected argument of type GetPurchaseRequisitionTrxDetailListDetailRequest');
|
|
@@ -419,6 +430,17 @@ var PurchaseRequisitionTrxServiceService = exports.PurchaseRequisitionTrxService
|
|
|
419
430
|
responseSerialize: serialize_GetPurchaseRequisitionTransactionTrxDetailPreloadResponse,
|
|
420
431
|
responseDeserialize: deserialize_GetPurchaseRequisitionTransactionTrxDetailPreloadResponse,
|
|
421
432
|
},
|
|
433
|
+
getPurchaseRequisitionWithTrxName: {
|
|
434
|
+
path: '/PurchaseRequisitionTrxService/GetPurchaseRequisitionWithTrxName',
|
|
435
|
+
requestStream: false,
|
|
436
|
+
responseStream: false,
|
|
437
|
+
requestType: prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxDetailByNameRequest,
|
|
438
|
+
responseType: prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTransactionTrxDetailPreloadResponse,
|
|
439
|
+
requestSerialize: serialize_GetPurchaseRequisitionTrxDetailByNameRequest,
|
|
440
|
+
requestDeserialize: deserialize_GetPurchaseRequisitionTrxDetailByNameRequest,
|
|
441
|
+
responseSerialize: serialize_GetPurchaseRequisitionTransactionTrxDetailPreloadResponse,
|
|
442
|
+
responseDeserialize: deserialize_GetPurchaseRequisitionTransactionTrxDetailPreloadResponse,
|
|
443
|
+
},
|
|
422
444
|
getPurchaseRequisitionWithTrxList: {
|
|
423
445
|
path: '/PurchaseRequisitionTrxService/GetPurchaseRequisitionWithTrxList',
|
|
424
446
|
requestStream: false,
|
|
@@ -53,6 +53,7 @@ goog.exportSymbol('proto.GetPurchaseRequisitionTrxByRefResponse', null, global);
|
|
|
53
53
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetaiPreloadlByIdResponse', null, global);
|
|
54
54
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailByIdRequest', null, global);
|
|
55
55
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailByIdResponse', null, global);
|
|
56
|
+
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailByNameRequest', null, global);
|
|
56
57
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListDetailRequest', null, global);
|
|
57
58
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListDetailResponse', null, global);
|
|
58
59
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListRequest', null, global);
|
|
@@ -297,6 +298,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
297
298
|
*/
|
|
298
299
|
proto.GetPurchaseRequisitionTrxDetailByIdRequest.displayName = 'proto.GetPurchaseRequisitionTrxDetailByIdRequest';
|
|
299
300
|
}
|
|
301
|
+
/**
|
|
302
|
+
* Generated by JsPbCodeGenerator.
|
|
303
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
304
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
305
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
306
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
307
|
+
* valid.
|
|
308
|
+
* @extends {jspb.Message}
|
|
309
|
+
* @constructor
|
|
310
|
+
*/
|
|
311
|
+
proto.GetPurchaseRequisitionTrxDetailByNameRequest = function(opt_data) {
|
|
312
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
313
|
+
};
|
|
314
|
+
goog.inherits(proto.GetPurchaseRequisitionTrxDetailByNameRequest, jspb.Message);
|
|
315
|
+
if (goog.DEBUG && !COMPILED) {
|
|
316
|
+
/**
|
|
317
|
+
* @public
|
|
318
|
+
* @override
|
|
319
|
+
*/
|
|
320
|
+
proto.GetPurchaseRequisitionTrxDetailByNameRequest.displayName = 'proto.GetPurchaseRequisitionTrxDetailByNameRequest';
|
|
321
|
+
}
|
|
300
322
|
/**
|
|
301
323
|
* Generated by JsPbCodeGenerator.
|
|
302
324
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4592,6 +4614,166 @@ proto.GetPurchaseRequisitionTrxDetailByIdRequest.prototype.setTrxBuilderId = fun
|
|
|
4592
4614
|
|
|
4593
4615
|
|
|
4594
4616
|
|
|
4617
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4618
|
+
/**
|
|
4619
|
+
* Creates an object representation of this proto.
|
|
4620
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4621
|
+
* Optional fields that are not set will be set to undefined.
|
|
4622
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4623
|
+
* For the list of reserved names please see:
|
|
4624
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4625
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4626
|
+
* JSPB instance for transitional soy proto support:
|
|
4627
|
+
* http://goto/soy-param-migration
|
|
4628
|
+
* @return {!Object}
|
|
4629
|
+
*/
|
|
4630
|
+
proto.GetPurchaseRequisitionTrxDetailByNameRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4631
|
+
return proto.GetPurchaseRequisitionTrxDetailByNameRequest.toObject(opt_includeInstance, this);
|
|
4632
|
+
};
|
|
4633
|
+
|
|
4634
|
+
|
|
4635
|
+
/**
|
|
4636
|
+
* Static version of the {@see toObject} method.
|
|
4637
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4638
|
+
* the JSPB instance for transitional soy proto support:
|
|
4639
|
+
* http://goto/soy-param-migration
|
|
4640
|
+
* @param {!proto.GetPurchaseRequisitionTrxDetailByNameRequest} msg The msg instance to transform.
|
|
4641
|
+
* @return {!Object}
|
|
4642
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4643
|
+
*/
|
|
4644
|
+
proto.GetPurchaseRequisitionTrxDetailByNameRequest.toObject = function(includeInstance, msg) {
|
|
4645
|
+
var f, obj = {
|
|
4646
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4647
|
+
trxBuilderName: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4648
|
+
};
|
|
4649
|
+
|
|
4650
|
+
if (includeInstance) {
|
|
4651
|
+
obj.$jspbMessageInstance = msg;
|
|
4652
|
+
}
|
|
4653
|
+
return obj;
|
|
4654
|
+
};
|
|
4655
|
+
}
|
|
4656
|
+
|
|
4657
|
+
|
|
4658
|
+
/**
|
|
4659
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4660
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4661
|
+
* @return {!proto.GetPurchaseRequisitionTrxDetailByNameRequest}
|
|
4662
|
+
*/
|
|
4663
|
+
proto.GetPurchaseRequisitionTrxDetailByNameRequest.deserializeBinary = function(bytes) {
|
|
4664
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4665
|
+
var msg = new proto.GetPurchaseRequisitionTrxDetailByNameRequest;
|
|
4666
|
+
return proto.GetPurchaseRequisitionTrxDetailByNameRequest.deserializeBinaryFromReader(msg, reader);
|
|
4667
|
+
};
|
|
4668
|
+
|
|
4669
|
+
|
|
4670
|
+
/**
|
|
4671
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4672
|
+
* given reader into the given message object.
|
|
4673
|
+
* @param {!proto.GetPurchaseRequisitionTrxDetailByNameRequest} msg The message object to deserialize into.
|
|
4674
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4675
|
+
* @return {!proto.GetPurchaseRequisitionTrxDetailByNameRequest}
|
|
4676
|
+
*/
|
|
4677
|
+
proto.GetPurchaseRequisitionTrxDetailByNameRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4678
|
+
while (reader.nextField()) {
|
|
4679
|
+
if (reader.isEndGroup()) {
|
|
4680
|
+
break;
|
|
4681
|
+
}
|
|
4682
|
+
var field = reader.getFieldNumber();
|
|
4683
|
+
switch (field) {
|
|
4684
|
+
case 1:
|
|
4685
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4686
|
+
msg.setReferencesId(value);
|
|
4687
|
+
break;
|
|
4688
|
+
case 2:
|
|
4689
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4690
|
+
msg.setTrxBuilderName(value);
|
|
4691
|
+
break;
|
|
4692
|
+
default:
|
|
4693
|
+
reader.skipField();
|
|
4694
|
+
break;
|
|
4695
|
+
}
|
|
4696
|
+
}
|
|
4697
|
+
return msg;
|
|
4698
|
+
};
|
|
4699
|
+
|
|
4700
|
+
|
|
4701
|
+
/**
|
|
4702
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4703
|
+
* @return {!Uint8Array}
|
|
4704
|
+
*/
|
|
4705
|
+
proto.GetPurchaseRequisitionTrxDetailByNameRequest.prototype.serializeBinary = function() {
|
|
4706
|
+
var writer = new jspb.BinaryWriter();
|
|
4707
|
+
proto.GetPurchaseRequisitionTrxDetailByNameRequest.serializeBinaryToWriter(this, writer);
|
|
4708
|
+
return writer.getResultBuffer();
|
|
4709
|
+
};
|
|
4710
|
+
|
|
4711
|
+
|
|
4712
|
+
/**
|
|
4713
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4714
|
+
* format), writing to the given BinaryWriter.
|
|
4715
|
+
* @param {!proto.GetPurchaseRequisitionTrxDetailByNameRequest} message
|
|
4716
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4717
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4718
|
+
*/
|
|
4719
|
+
proto.GetPurchaseRequisitionTrxDetailByNameRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4720
|
+
var f = undefined;
|
|
4721
|
+
f = message.getReferencesId();
|
|
4722
|
+
if (f.length > 0) {
|
|
4723
|
+
writer.writeString(
|
|
4724
|
+
1,
|
|
4725
|
+
f
|
|
4726
|
+
);
|
|
4727
|
+
}
|
|
4728
|
+
f = message.getTrxBuilderName();
|
|
4729
|
+
if (f.length > 0) {
|
|
4730
|
+
writer.writeString(
|
|
4731
|
+
2,
|
|
4732
|
+
f
|
|
4733
|
+
);
|
|
4734
|
+
}
|
|
4735
|
+
};
|
|
4736
|
+
|
|
4737
|
+
|
|
4738
|
+
/**
|
|
4739
|
+
* optional string references_id = 1;
|
|
4740
|
+
* @return {string}
|
|
4741
|
+
*/
|
|
4742
|
+
proto.GetPurchaseRequisitionTrxDetailByNameRequest.prototype.getReferencesId = function() {
|
|
4743
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4744
|
+
};
|
|
4745
|
+
|
|
4746
|
+
|
|
4747
|
+
/**
|
|
4748
|
+
* @param {string} value
|
|
4749
|
+
* @return {!proto.GetPurchaseRequisitionTrxDetailByNameRequest} returns this
|
|
4750
|
+
*/
|
|
4751
|
+
proto.GetPurchaseRequisitionTrxDetailByNameRequest.prototype.setReferencesId = function(value) {
|
|
4752
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4753
|
+
};
|
|
4754
|
+
|
|
4755
|
+
|
|
4756
|
+
/**
|
|
4757
|
+
* optional string trx_builder_name = 2;
|
|
4758
|
+
* @return {string}
|
|
4759
|
+
*/
|
|
4760
|
+
proto.GetPurchaseRequisitionTrxDetailByNameRequest.prototype.getTrxBuilderName = function() {
|
|
4761
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4762
|
+
};
|
|
4763
|
+
|
|
4764
|
+
|
|
4765
|
+
/**
|
|
4766
|
+
* @param {string} value
|
|
4767
|
+
* @return {!proto.GetPurchaseRequisitionTrxDetailByNameRequest} returns this
|
|
4768
|
+
*/
|
|
4769
|
+
proto.GetPurchaseRequisitionTrxDetailByNameRequest.prototype.setTrxBuilderName = function(value) {
|
|
4770
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4771
|
+
};
|
|
4772
|
+
|
|
4773
|
+
|
|
4774
|
+
|
|
4775
|
+
|
|
4776
|
+
|
|
4595
4777
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4596
4778
|
/**
|
|
4597
4779
|
* Creates an object representation of this proto.
|