@aldiokta/protocgen 1.0.13 → 1.0.15
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/job_grade/job_grade_pb.js +308 -36
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +22 -0
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +253 -80
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +26 -3
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +886 -107
|
@@ -33,6 +33,7 @@ goog.exportSymbol('proto.GetPurchaseRequisitionTrxByIdResponse', null, global);
|
|
|
33
33
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailByIdRequest', null, global);
|
|
34
34
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailByIdResponse', null, global);
|
|
35
35
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListDetailRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListDetailResponse', null, global);
|
|
36
37
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListRequest', null, global);
|
|
37
38
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListResponse', null, global);
|
|
38
39
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListTableResponse', null, global);
|
|
@@ -399,6 +400,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
399
400
|
*/
|
|
400
401
|
proto.GetPurchaseRequisitionTrxDetailListTableResponse.displayName = 'proto.GetPurchaseRequisitionTrxDetailListTableResponse';
|
|
401
402
|
}
|
|
403
|
+
/**
|
|
404
|
+
* Generated by JsPbCodeGenerator.
|
|
405
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
406
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
407
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
408
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
409
|
+
* valid.
|
|
410
|
+
* @extends {jspb.Message}
|
|
411
|
+
* @constructor
|
|
412
|
+
*/
|
|
413
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse = function(opt_data) {
|
|
414
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPurchaseRequisitionTrxDetailListDetailResponse.repeatedFields_, null);
|
|
415
|
+
};
|
|
416
|
+
goog.inherits(proto.GetPurchaseRequisitionTrxDetailListDetailResponse, jspb.Message);
|
|
417
|
+
if (goog.DEBUG && !COMPILED) {
|
|
418
|
+
/**
|
|
419
|
+
* @public
|
|
420
|
+
* @override
|
|
421
|
+
*/
|
|
422
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.displayName = 'proto.GetPurchaseRequisitionTrxDetailListDetailResponse';
|
|
423
|
+
}
|
|
402
424
|
|
|
403
425
|
|
|
404
426
|
|
|
@@ -3650,10 +3672,8 @@ proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.toObject = function(
|
|
|
3650
3672
|
*/
|
|
3651
3673
|
proto.GetPurchaseRequisitionTrxDetailByIdResponse.toObject = function(includeInstance, msg) {
|
|
3652
3674
|
var f, obj = {
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
transactionBuilderFieldsList: jspb.Message.toObjectList(msg.getTransactionBuilderFieldsList(),
|
|
3656
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFields.toObject, includeInstance)
|
|
3675
|
+
dataList: jspb.Message.toObjectList(msg.getDataList(),
|
|
3676
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance)
|
|
3657
3677
|
};
|
|
3658
3678
|
|
|
3659
3679
|
if (includeInstance) {
|
|
@@ -3690,18 +3710,10 @@ proto.GetPurchaseRequisitionTrxDetailByIdResponse.deserializeBinaryFromReader =
|
|
|
3690
3710
|
}
|
|
3691
3711
|
var field = reader.getFieldNumber();
|
|
3692
3712
|
switch (field) {
|
|
3693
|
-
case 1:
|
|
3694
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
3695
|
-
msg.setId(value);
|
|
3696
|
-
break;
|
|
3697
|
-
case 2:
|
|
3698
|
-
var value = /** @type {string} */ (reader.readString());
|
|
3699
|
-
msg.setName(value);
|
|
3700
|
-
break;
|
|
3701
3713
|
case 3:
|
|
3702
|
-
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.
|
|
3703
|
-
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.
|
|
3704
|
-
msg.
|
|
3714
|
+
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail;
|
|
3715
|
+
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.deserializeBinaryFromReader);
|
|
3716
|
+
msg.addData(value);
|
|
3705
3717
|
break;
|
|
3706
3718
|
default:
|
|
3707
3719
|
reader.skipField();
|
|
@@ -3732,93 +3744,43 @@ proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.serializeBinary = fu
|
|
|
3732
3744
|
*/
|
|
3733
3745
|
proto.GetPurchaseRequisitionTrxDetailByIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3734
3746
|
var f = undefined;
|
|
3735
|
-
f = message.
|
|
3736
|
-
if (f !== 0) {
|
|
3737
|
-
writer.writeInt64(
|
|
3738
|
-
1,
|
|
3739
|
-
f
|
|
3740
|
-
);
|
|
3741
|
-
}
|
|
3742
|
-
f = message.getName();
|
|
3743
|
-
if (f.length > 0) {
|
|
3744
|
-
writer.writeString(
|
|
3745
|
-
2,
|
|
3746
|
-
f
|
|
3747
|
-
);
|
|
3748
|
-
}
|
|
3749
|
-
f = message.getTransactionBuilderFieldsList();
|
|
3747
|
+
f = message.getDataList();
|
|
3750
3748
|
if (f.length > 0) {
|
|
3751
3749
|
writer.writeRepeatedMessage(
|
|
3752
3750
|
3,
|
|
3753
3751
|
f,
|
|
3754
|
-
prisca_v1_core_transaction_builder_transaction_builder_pb.
|
|
3752
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.serializeBinaryToWriter
|
|
3755
3753
|
);
|
|
3756
3754
|
}
|
|
3757
3755
|
};
|
|
3758
3756
|
|
|
3759
3757
|
|
|
3760
3758
|
/**
|
|
3761
|
-
*
|
|
3762
|
-
* @return {
|
|
3763
|
-
*/
|
|
3764
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.getId = function() {
|
|
3765
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3766
|
-
};
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
/**
|
|
3770
|
-
* @param {number} value
|
|
3771
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailByIdResponse} returns this
|
|
3772
|
-
*/
|
|
3773
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.setId = function(value) {
|
|
3774
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3775
|
-
};
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
/**
|
|
3779
|
-
* optional string name = 2;
|
|
3780
|
-
* @return {string}
|
|
3781
|
-
*/
|
|
3782
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.getName = function() {
|
|
3783
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3784
|
-
};
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
/**
|
|
3788
|
-
* @param {string} value
|
|
3789
|
-
* @return {!proto.GetPurchaseRequisitionTrxDetailByIdResponse} returns this
|
|
3790
|
-
*/
|
|
3791
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.setName = function(value) {
|
|
3792
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3793
|
-
};
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
/**
|
|
3797
|
-
* repeated prisca.v1.core.transaction_builder.TransactionBuilderFields transaction_builder_fields = 3;
|
|
3798
|
-
* @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields>}
|
|
3759
|
+
* repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail data = 3;
|
|
3760
|
+
* @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>}
|
|
3799
3761
|
*/
|
|
3800
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.
|
|
3801
|
-
return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.
|
|
3802
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.
|
|
3762
|
+
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.getDataList = function() {
|
|
3763
|
+
return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} */ (
|
|
3764
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 3));
|
|
3803
3765
|
};
|
|
3804
3766
|
|
|
3805
3767
|
|
|
3806
3768
|
/**
|
|
3807
|
-
* @param {!Array<!proto.prisca.v1.core.transaction_builder.
|
|
3769
|
+
* @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} value
|
|
3808
3770
|
* @return {!proto.GetPurchaseRequisitionTrxDetailByIdResponse} returns this
|
|
3809
3771
|
*/
|
|
3810
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.
|
|
3772
|
+
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.setDataList = function(value) {
|
|
3811
3773
|
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
3812
3774
|
};
|
|
3813
3775
|
|
|
3814
3776
|
|
|
3815
3777
|
/**
|
|
3816
|
-
* @param {!proto.prisca.v1.core.transaction_builder.
|
|
3778
|
+
* @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail=} opt_value
|
|
3817
3779
|
* @param {number=} opt_index
|
|
3818
|
-
* @return {!proto.prisca.v1.core.transaction_builder.
|
|
3780
|
+
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
|
|
3819
3781
|
*/
|
|
3820
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.
|
|
3821
|
-
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.prisca.v1.core.transaction_builder.
|
|
3782
|
+
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.addData = function(opt_value, opt_index) {
|
|
3783
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
|
|
3822
3784
|
};
|
|
3823
3785
|
|
|
3824
3786
|
|
|
@@ -3826,8 +3788,8 @@ proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.addTransactionBuilde
|
|
|
3826
3788
|
* Clears the list making it empty but non-null.
|
|
3827
3789
|
* @return {!proto.GetPurchaseRequisitionTrxDetailByIdResponse} returns this
|
|
3828
3790
|
*/
|
|
3829
|
-
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.
|
|
3830
|
-
return this.
|
|
3791
|
+
proto.GetPurchaseRequisitionTrxDetailByIdResponse.prototype.clearDataList = function() {
|
|
3792
|
+
return this.setDataList([]);
|
|
3831
3793
|
};
|
|
3832
3794
|
|
|
3833
3795
|
|
|
@@ -4253,4 +4215,215 @@ proto.GetPurchaseRequisitionTrxDetailListTableResponse.prototype.hasMeta = funct
|
|
|
4253
4215
|
};
|
|
4254
4216
|
|
|
4255
4217
|
|
|
4218
|
+
|
|
4219
|
+
/**
|
|
4220
|
+
* List of repeated fields within this message type.
|
|
4221
|
+
* @private {!Array<number>}
|
|
4222
|
+
* @const
|
|
4223
|
+
*/
|
|
4224
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.repeatedFields_ = [1];
|
|
4225
|
+
|
|
4226
|
+
|
|
4227
|
+
|
|
4228
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4229
|
+
/**
|
|
4230
|
+
* Creates an object representation of this proto.
|
|
4231
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4232
|
+
* Optional fields that are not set will be set to undefined.
|
|
4233
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4234
|
+
* For the list of reserved names please see:
|
|
4235
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4236
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4237
|
+
* JSPB instance for transitional soy proto support:
|
|
4238
|
+
* http://goto/soy-param-migration
|
|
4239
|
+
* @return {!Object}
|
|
4240
|
+
*/
|
|
4241
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4242
|
+
return proto.GetPurchaseRequisitionTrxDetailListDetailResponse.toObject(opt_includeInstance, this);
|
|
4243
|
+
};
|
|
4244
|
+
|
|
4245
|
+
|
|
4246
|
+
/**
|
|
4247
|
+
* Static version of the {@see toObject} method.
|
|
4248
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4249
|
+
* the JSPB instance for transitional soy proto support:
|
|
4250
|
+
* http://goto/soy-param-migration
|
|
4251
|
+
* @param {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} msg The msg instance to transform.
|
|
4252
|
+
* @return {!Object}
|
|
4253
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4254
|
+
*/
|
|
4255
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.toObject = function(includeInstance, msg) {
|
|
4256
|
+
var f, obj = {
|
|
4257
|
+
dataList: jspb.Message.toObjectList(msg.getDataList(),
|
|
4258
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailRes.toObject, includeInstance),
|
|
4259
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
4260
|
+
};
|
|
4261
|
+
|
|
4262
|
+
if (includeInstance) {
|
|
4263
|
+
obj.$jspbMessageInstance = msg;
|
|
4264
|
+
}
|
|
4265
|
+
return obj;
|
|
4266
|
+
};
|
|
4267
|
+
}
|
|
4268
|
+
|
|
4269
|
+
|
|
4270
|
+
/**
|
|
4271
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4272
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4273
|
+
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse}
|
|
4274
|
+
*/
|
|
4275
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.deserializeBinary = function(bytes) {
|
|
4276
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4277
|
+
var msg = new proto.GetPurchaseRequisitionTrxDetailListDetailResponse;
|
|
4278
|
+
return proto.GetPurchaseRequisitionTrxDetailListDetailResponse.deserializeBinaryFromReader(msg, reader);
|
|
4279
|
+
};
|
|
4280
|
+
|
|
4281
|
+
|
|
4282
|
+
/**
|
|
4283
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4284
|
+
* given reader into the given message object.
|
|
4285
|
+
* @param {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} msg The message object to deserialize into.
|
|
4286
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4287
|
+
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse}
|
|
4288
|
+
*/
|
|
4289
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4290
|
+
while (reader.nextField()) {
|
|
4291
|
+
if (reader.isEndGroup()) {
|
|
4292
|
+
break;
|
|
4293
|
+
}
|
|
4294
|
+
var field = reader.getFieldNumber();
|
|
4295
|
+
switch (field) {
|
|
4296
|
+
case 1:
|
|
4297
|
+
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailRes;
|
|
4298
|
+
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailRes.deserializeBinaryFromReader);
|
|
4299
|
+
msg.addData(value);
|
|
4300
|
+
break;
|
|
4301
|
+
case 2:
|
|
4302
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
4303
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
4304
|
+
msg.setMeta(value);
|
|
4305
|
+
break;
|
|
4306
|
+
default:
|
|
4307
|
+
reader.skipField();
|
|
4308
|
+
break;
|
|
4309
|
+
}
|
|
4310
|
+
}
|
|
4311
|
+
return msg;
|
|
4312
|
+
};
|
|
4313
|
+
|
|
4314
|
+
|
|
4315
|
+
/**
|
|
4316
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4317
|
+
* @return {!Uint8Array}
|
|
4318
|
+
*/
|
|
4319
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.serializeBinary = function() {
|
|
4320
|
+
var writer = new jspb.BinaryWriter();
|
|
4321
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.serializeBinaryToWriter(this, writer);
|
|
4322
|
+
return writer.getResultBuffer();
|
|
4323
|
+
};
|
|
4324
|
+
|
|
4325
|
+
|
|
4326
|
+
/**
|
|
4327
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4328
|
+
* format), writing to the given BinaryWriter.
|
|
4329
|
+
* @param {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} message
|
|
4330
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4331
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4332
|
+
*/
|
|
4333
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4334
|
+
var f = undefined;
|
|
4335
|
+
f = message.getDataList();
|
|
4336
|
+
if (f.length > 0) {
|
|
4337
|
+
writer.writeRepeatedMessage(
|
|
4338
|
+
1,
|
|
4339
|
+
f,
|
|
4340
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailRes.serializeBinaryToWriter
|
|
4341
|
+
);
|
|
4342
|
+
}
|
|
4343
|
+
f = message.getMeta();
|
|
4344
|
+
if (f != null) {
|
|
4345
|
+
writer.writeMessage(
|
|
4346
|
+
2,
|
|
4347
|
+
f,
|
|
4348
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
4349
|
+
);
|
|
4350
|
+
}
|
|
4351
|
+
};
|
|
4352
|
+
|
|
4353
|
+
|
|
4354
|
+
/**
|
|
4355
|
+
* repeated prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes data = 1;
|
|
4356
|
+
* @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes>}
|
|
4357
|
+
*/
|
|
4358
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.getDataList = function() {
|
|
4359
|
+
return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes>} */ (
|
|
4360
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderWithDetailRes, 1));
|
|
4361
|
+
};
|
|
4362
|
+
|
|
4363
|
+
|
|
4364
|
+
/**
|
|
4365
|
+
* @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes>} value
|
|
4366
|
+
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} returns this
|
|
4367
|
+
*/
|
|
4368
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.setDataList = function(value) {
|
|
4369
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
4370
|
+
};
|
|
4371
|
+
|
|
4372
|
+
|
|
4373
|
+
/**
|
|
4374
|
+
* @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes=} opt_value
|
|
4375
|
+
* @param {number=} opt_index
|
|
4376
|
+
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes}
|
|
4377
|
+
*/
|
|
4378
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.addData = function(opt_value, opt_index) {
|
|
4379
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes, opt_index);
|
|
4380
|
+
};
|
|
4381
|
+
|
|
4382
|
+
|
|
4383
|
+
/**
|
|
4384
|
+
* Clears the list making it empty but non-null.
|
|
4385
|
+
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} returns this
|
|
4386
|
+
*/
|
|
4387
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.clearDataList = function() {
|
|
4388
|
+
return this.setDataList([]);
|
|
4389
|
+
};
|
|
4390
|
+
|
|
4391
|
+
|
|
4392
|
+
/**
|
|
4393
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
4394
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
4395
|
+
*/
|
|
4396
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.getMeta = function() {
|
|
4397
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
4398
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
4399
|
+
};
|
|
4400
|
+
|
|
4401
|
+
|
|
4402
|
+
/**
|
|
4403
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
4404
|
+
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} returns this
|
|
4405
|
+
*/
|
|
4406
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.setMeta = function(value) {
|
|
4407
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
4408
|
+
};
|
|
4409
|
+
|
|
4410
|
+
|
|
4411
|
+
/**
|
|
4412
|
+
* Clears the message field making it undefined.
|
|
4413
|
+
* @return {!proto.GetPurchaseRequisitionTrxDetailListDetailResponse} returns this
|
|
4414
|
+
*/
|
|
4415
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.clearMeta = function() {
|
|
4416
|
+
return this.setMeta(undefined);
|
|
4417
|
+
};
|
|
4418
|
+
|
|
4419
|
+
|
|
4420
|
+
/**
|
|
4421
|
+
* Returns whether this field is set.
|
|
4422
|
+
* @return {boolean}
|
|
4423
|
+
*/
|
|
4424
|
+
proto.GetPurchaseRequisitionTrxDetailListDetailResponse.prototype.hasMeta = function() {
|
|
4425
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4426
|
+
};
|
|
4427
|
+
|
|
4428
|
+
|
|
4256
4429
|
goog.object.extend(exports, proto);
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
|
5
5
|
var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
|
|
6
6
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
+
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
|
|
7
8
|
|
|
8
9
|
function serialize_prisca_v1_core_transaction_builder_EditTransactionBuilderById(arg) {
|
|
9
10
|
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.EditTransactionBuilderById)) {
|
|
@@ -159,6 +160,17 @@ function deserialize_prisca_v1_core_transaction_builder_ResponseTransactionBuild
|
|
|
159
160
|
return prisca_v1_core_transaction_builder_transaction_builder_pb.ResponseTransactionBuilderWithDetailTable.deserializeBinary(new Uint8Array(buffer_arg));
|
|
160
161
|
}
|
|
161
162
|
|
|
163
|
+
function serialize_prisca_v1_core_transaction_builder_ResponseTransactionBuilderWithDetails(arg) {
|
|
164
|
+
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.ResponseTransactionBuilderWithDetails)) {
|
|
165
|
+
throw new Error('Expected argument of type prisca.v1.core.transaction_builder.ResponseTransactionBuilderWithDetails');
|
|
166
|
+
}
|
|
167
|
+
return Buffer.from(arg.serializeBinary());
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
function deserialize_prisca_v1_core_transaction_builder_ResponseTransactionBuilderWithDetails(buffer_arg) {
|
|
171
|
+
return prisca_v1_core_transaction_builder_transaction_builder_pb.ResponseTransactionBuilderWithDetails.deserializeBinary(new Uint8Array(buffer_arg));
|
|
172
|
+
}
|
|
173
|
+
|
|
162
174
|
function serialize_prisca_v1_core_transaction_builder_ResponseTransactionConfig(arg) {
|
|
163
175
|
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.ResponseTransactionConfig)) {
|
|
164
176
|
throw new Error('Expected argument of type prisca.v1.core.transaction_builder.ResponseTransactionConfig');
|
|
@@ -288,11 +300,11 @@ createTransactionBuilder: {
|
|
|
288
300
|
requestStream: false,
|
|
289
301
|
responseStream: false,
|
|
290
302
|
requestType: prisca_v1_core_transaction_builder_transaction_builder_pb.GetTransactionBuilderByIdWithDetail,
|
|
291
|
-
responseType: prisca_v1_core_transaction_builder_transaction_builder_pb.
|
|
303
|
+
responseType: prisca_v1_core_transaction_builder_transaction_builder_pb.ResponseTransactionBuilderWithDetails,
|
|
292
304
|
requestSerialize: serialize_prisca_v1_core_transaction_builder_GetTransactionBuilderByIdWithDetail,
|
|
293
305
|
requestDeserialize: deserialize_prisca_v1_core_transaction_builder_GetTransactionBuilderByIdWithDetail,
|
|
294
|
-
responseSerialize:
|
|
295
|
-
responseDeserialize:
|
|
306
|
+
responseSerialize: serialize_prisca_v1_core_transaction_builder_ResponseTransactionBuilderWithDetails,
|
|
307
|
+
responseDeserialize: deserialize_prisca_v1_core_transaction_builder_ResponseTransactionBuilderWithDetails,
|
|
296
308
|
},
|
|
297
309
|
getTransactionFields: {
|
|
298
310
|
path: '/prisca.v1.core.transaction_builder.TransactionBuilderService/GetTransactionFields',
|
|
@@ -349,6 +361,17 @@ createTransactionBuilder: {
|
|
|
349
361
|
responseSerialize: serialize_prisca_v1_core_transaction_builder_ResponseTransactionBuilderWithDetailForm,
|
|
350
362
|
responseDeserialize: deserialize_prisca_v1_core_transaction_builder_ResponseTransactionBuilderWithDetailForm,
|
|
351
363
|
},
|
|
364
|
+
getListTransactionBuilderDetail: {
|
|
365
|
+
path: '/prisca.v1.core.transaction_builder.TransactionBuilderService/GetListTransactionBuilderDetail',
|
|
366
|
+
requestStream: false,
|
|
367
|
+
responseStream: false,
|
|
368
|
+
requestType: prisca_v1_core_transaction_builder_transaction_builder_pb.GetTransactionFieldsById,
|
|
369
|
+
responseType: prisca_v1_core_transaction_builder_transaction_builder_pb.ResponseTransactionBuilderWithDetail,
|
|
370
|
+
requestSerialize: serialize_prisca_v1_core_transaction_builder_GetTransactionFieldsById,
|
|
371
|
+
requestDeserialize: deserialize_prisca_v1_core_transaction_builder_GetTransactionFieldsById,
|
|
372
|
+
responseSerialize: serialize_prisca_v1_core_transaction_builder_ResponseTransactionBuilderWithDetail,
|
|
373
|
+
responseDeserialize: deserialize_prisca_v1_core_transaction_builder_ResponseTransactionBuilderWithDetail,
|
|
374
|
+
},
|
|
352
375
|
getListTransactionConfig: {
|
|
353
376
|
path: '/prisca.v1.core.transaction_builder.TransactionBuilderService/GetListTransactionConfig',
|
|
354
377
|
requestStream: false,
|