@aldiokta/protocgen 1.1.61 → 1.1.63
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/budget/budget_pb.js +211 -1
- package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +33 -0
- package/prisca/v1/budget_planning/budget_planning_pb.js +1199 -152
- package/prisca/v1/core/auth/auth_grpc_pb.js +1 -0
- package/prisca/v1/core/auth/auth_pb.js +115 -2
- package/prisca/v1/core/employee/employee_grpc_pb.js +22 -0
- package/prisca/v1/core/employee/employee_pb.js +214 -2
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +519 -10
- 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 +303 -1
- package/prisca/v1/core/material/material_grpc_pb.js +33 -0
- package/prisca/v1/core/material/material_pb.js +787 -1
- package/prisca/v1/core/report/report_pb.js +31 -1
- package/prisca/v1/core/users/users_pb.js +31 -1
- package/prisca/v1/down_payment/down_payment_grpc_pb.js +201 -0
- package/prisca/v1/down_payment/down_payment_pb.js +3357 -0
- package/prisca/v1/general_configuration/general_configuration_grpc_pb.js +212 -0
- package/prisca/v1/general_configuration/general_configuration_pb.js +2886 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +33 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +574 -0
- package/prisca/v1/invoice/invoice_grpc_pb.js +77 -0
- package/prisca/v1/invoice/invoice_pb.js +2657 -434
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +34 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +2542 -57
- 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 +743 -53
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +72 -12
- package/prisca/v1/webhook_builder/webhook_builder_grpc_pb.js +245 -0
- package/prisca/v1/webhook_builder/webhook_builder_pb.js +5084 -0
- package/prisca/v1/webhook_incoming_integration/webhook_incoming_integration_grpc_pb.js +245 -0
- package/prisca/v1/webhook_incoming_integration/webhook_incoming_integration_pb.js +3499 -0
- package/prisca/v1/webhook_integration/webhook_integration_grpc_pb.js +212 -0
- package/prisca/v1/webhook_integration/webhook_integration_pb.js +2976 -0
|
@@ -32,6 +32,7 @@ goog.exportSymbol('proto.GetLineOfApprovalByIdResponse', null, global);
|
|
|
32
32
|
goog.exportSymbol('proto.GetListAllLineOfApprovalResponse', null, global);
|
|
33
33
|
goog.exportSymbol('proto.GetListLineOfApprovalRequest', null, global);
|
|
34
34
|
goog.exportSymbol('proto.GetListLineOfApprovalResponse', null, global);
|
|
35
|
+
goog.exportSymbol('proto.GetListOverViewApprovalRes', null, global);
|
|
35
36
|
goog.exportSymbol('proto.GetVendorLineOfApprovalResponse', null, global);
|
|
36
37
|
goog.exportSymbol('proto.LineOfApproval', null, global);
|
|
37
38
|
goog.exportSymbol('proto.UpdateLineOfApprovalRequest', null, global);
|
|
@@ -373,6 +374,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
373
374
|
*/
|
|
374
375
|
proto.GetListAllLineOfApprovalResponse.displayName = 'proto.GetListAllLineOfApprovalResponse';
|
|
375
376
|
}
|
|
377
|
+
/**
|
|
378
|
+
* Generated by JsPbCodeGenerator.
|
|
379
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
380
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
381
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
382
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
383
|
+
* valid.
|
|
384
|
+
* @extends {jspb.Message}
|
|
385
|
+
* @constructor
|
|
386
|
+
*/
|
|
387
|
+
proto.GetListOverViewApprovalRes = function(opt_data) {
|
|
388
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
389
|
+
};
|
|
390
|
+
goog.inherits(proto.GetListOverViewApprovalRes, jspb.Message);
|
|
391
|
+
if (goog.DEBUG && !COMPILED) {
|
|
392
|
+
/**
|
|
393
|
+
* @public
|
|
394
|
+
* @override
|
|
395
|
+
*/
|
|
396
|
+
proto.GetListOverViewApprovalRes.displayName = 'proto.GetListOverViewApprovalRes';
|
|
397
|
+
}
|
|
376
398
|
|
|
377
399
|
|
|
378
400
|
|
|
@@ -3424,7 +3446,10 @@ documentNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
|
3424
3446
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3425
3447
|
department: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3426
3448
|
status: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3427
|
-
remarks: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
3449
|
+
remarks: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3450
|
+
requestor: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3451
|
+
currency: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3452
|
+
totalValue: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
3428
3453
|
};
|
|
3429
3454
|
|
|
3430
3455
|
if (includeInstance) {
|
|
@@ -3486,6 +3511,18 @@ proto.BaseListAllLineOfApproval.deserializeBinaryFromReader = function(msg, read
|
|
|
3486
3511
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3487
3512
|
msg.setRemarks(value);
|
|
3488
3513
|
break;
|
|
3514
|
+
case 7:
|
|
3515
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3516
|
+
msg.setRequestor(value);
|
|
3517
|
+
break;
|
|
3518
|
+
case 8:
|
|
3519
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3520
|
+
msg.setCurrency(value);
|
|
3521
|
+
break;
|
|
3522
|
+
case 9:
|
|
3523
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3524
|
+
msg.setTotalValue(value);
|
|
3525
|
+
break;
|
|
3489
3526
|
default:
|
|
3490
3527
|
reader.skipField();
|
|
3491
3528
|
break;
|
|
@@ -3558,6 +3595,27 @@ proto.BaseListAllLineOfApproval.serializeBinaryToWriter = function(message, writ
|
|
|
3558
3595
|
f
|
|
3559
3596
|
);
|
|
3560
3597
|
}
|
|
3598
|
+
f = message.getRequestor();
|
|
3599
|
+
if (f.length > 0) {
|
|
3600
|
+
writer.writeString(
|
|
3601
|
+
7,
|
|
3602
|
+
f
|
|
3603
|
+
);
|
|
3604
|
+
}
|
|
3605
|
+
f = message.getCurrency();
|
|
3606
|
+
if (f.length > 0) {
|
|
3607
|
+
writer.writeString(
|
|
3608
|
+
8,
|
|
3609
|
+
f
|
|
3610
|
+
);
|
|
3611
|
+
}
|
|
3612
|
+
f = message.getTotalValue();
|
|
3613
|
+
if (f.length > 0) {
|
|
3614
|
+
writer.writeString(
|
|
3615
|
+
9,
|
|
3616
|
+
f
|
|
3617
|
+
);
|
|
3618
|
+
}
|
|
3561
3619
|
};
|
|
3562
3620
|
|
|
3563
3621
|
|
|
@@ -3688,6 +3746,60 @@ proto.BaseListAllLineOfApproval.prototype.setRemarks = function(value) {
|
|
|
3688
3746
|
};
|
|
3689
3747
|
|
|
3690
3748
|
|
|
3749
|
+
/**
|
|
3750
|
+
* optional string requestor = 7;
|
|
3751
|
+
* @return {string}
|
|
3752
|
+
*/
|
|
3753
|
+
proto.BaseListAllLineOfApproval.prototype.getRequestor = function() {
|
|
3754
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
3755
|
+
};
|
|
3756
|
+
|
|
3757
|
+
|
|
3758
|
+
/**
|
|
3759
|
+
* @param {string} value
|
|
3760
|
+
* @return {!proto.BaseListAllLineOfApproval} returns this
|
|
3761
|
+
*/
|
|
3762
|
+
proto.BaseListAllLineOfApproval.prototype.setRequestor = function(value) {
|
|
3763
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
3764
|
+
};
|
|
3765
|
+
|
|
3766
|
+
|
|
3767
|
+
/**
|
|
3768
|
+
* optional string currency = 8;
|
|
3769
|
+
* @return {string}
|
|
3770
|
+
*/
|
|
3771
|
+
proto.BaseListAllLineOfApproval.prototype.getCurrency = function() {
|
|
3772
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
3773
|
+
};
|
|
3774
|
+
|
|
3775
|
+
|
|
3776
|
+
/**
|
|
3777
|
+
* @param {string} value
|
|
3778
|
+
* @return {!proto.BaseListAllLineOfApproval} returns this
|
|
3779
|
+
*/
|
|
3780
|
+
proto.BaseListAllLineOfApproval.prototype.setCurrency = function(value) {
|
|
3781
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
3782
|
+
};
|
|
3783
|
+
|
|
3784
|
+
|
|
3785
|
+
/**
|
|
3786
|
+
* optional string total_value = 9;
|
|
3787
|
+
* @return {string}
|
|
3788
|
+
*/
|
|
3789
|
+
proto.BaseListAllLineOfApproval.prototype.getTotalValue = function() {
|
|
3790
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
3791
|
+
};
|
|
3792
|
+
|
|
3793
|
+
|
|
3794
|
+
/**
|
|
3795
|
+
* @param {string} value
|
|
3796
|
+
* @return {!proto.BaseListAllLineOfApproval} returns this
|
|
3797
|
+
*/
|
|
3798
|
+
proto.BaseListAllLineOfApproval.prototype.setTotalValue = function(value) {
|
|
3799
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
3800
|
+
};
|
|
3801
|
+
|
|
3802
|
+
|
|
3691
3803
|
|
|
3692
3804
|
/**
|
|
3693
3805
|
* List of repeated fields within this message type.
|
|
@@ -3899,4 +4011,194 @@ proto.GetListAllLineOfApprovalResponse.prototype.hasMeta = function() {
|
|
|
3899
4011
|
};
|
|
3900
4012
|
|
|
3901
4013
|
|
|
4014
|
+
|
|
4015
|
+
|
|
4016
|
+
|
|
4017
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4018
|
+
/**
|
|
4019
|
+
* Creates an object representation of this proto.
|
|
4020
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4021
|
+
* Optional fields that are not set will be set to undefined.
|
|
4022
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4023
|
+
* For the list of reserved names please see:
|
|
4024
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4025
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4026
|
+
* JSPB instance for transitional soy proto support:
|
|
4027
|
+
* http://goto/soy-param-migration
|
|
4028
|
+
* @return {!Object}
|
|
4029
|
+
*/
|
|
4030
|
+
proto.GetListOverViewApprovalRes.prototype.toObject = function(opt_includeInstance) {
|
|
4031
|
+
return proto.GetListOverViewApprovalRes.toObject(opt_includeInstance, this);
|
|
4032
|
+
};
|
|
4033
|
+
|
|
4034
|
+
|
|
4035
|
+
/**
|
|
4036
|
+
* Static version of the {@see toObject} method.
|
|
4037
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4038
|
+
* the JSPB instance for transitional soy proto support:
|
|
4039
|
+
* http://goto/soy-param-migration
|
|
4040
|
+
* @param {!proto.GetListOverViewApprovalRes} msg The msg instance to transform.
|
|
4041
|
+
* @return {!Object}
|
|
4042
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4043
|
+
*/
|
|
4044
|
+
proto.GetListOverViewApprovalRes.toObject = function(includeInstance, msg) {
|
|
4045
|
+
var f, obj = {
|
|
4046
|
+
approvalCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4047
|
+
totalAmount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4048
|
+
todayApproval: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
4049
|
+
};
|
|
4050
|
+
|
|
4051
|
+
if (includeInstance) {
|
|
4052
|
+
obj.$jspbMessageInstance = msg;
|
|
4053
|
+
}
|
|
4054
|
+
return obj;
|
|
4055
|
+
};
|
|
4056
|
+
}
|
|
4057
|
+
|
|
4058
|
+
|
|
4059
|
+
/**
|
|
4060
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4061
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4062
|
+
* @return {!proto.GetListOverViewApprovalRes}
|
|
4063
|
+
*/
|
|
4064
|
+
proto.GetListOverViewApprovalRes.deserializeBinary = function(bytes) {
|
|
4065
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4066
|
+
var msg = new proto.GetListOverViewApprovalRes;
|
|
4067
|
+
return proto.GetListOverViewApprovalRes.deserializeBinaryFromReader(msg, reader);
|
|
4068
|
+
};
|
|
4069
|
+
|
|
4070
|
+
|
|
4071
|
+
/**
|
|
4072
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4073
|
+
* given reader into the given message object.
|
|
4074
|
+
* @param {!proto.GetListOverViewApprovalRes} msg The message object to deserialize into.
|
|
4075
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4076
|
+
* @return {!proto.GetListOverViewApprovalRes}
|
|
4077
|
+
*/
|
|
4078
|
+
proto.GetListOverViewApprovalRes.deserializeBinaryFromReader = function(msg, reader) {
|
|
4079
|
+
while (reader.nextField()) {
|
|
4080
|
+
if (reader.isEndGroup()) {
|
|
4081
|
+
break;
|
|
4082
|
+
}
|
|
4083
|
+
var field = reader.getFieldNumber();
|
|
4084
|
+
switch (field) {
|
|
4085
|
+
case 1:
|
|
4086
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4087
|
+
msg.setApprovalCount(value);
|
|
4088
|
+
break;
|
|
4089
|
+
case 2:
|
|
4090
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4091
|
+
msg.setTotalAmount(value);
|
|
4092
|
+
break;
|
|
4093
|
+
case 3:
|
|
4094
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4095
|
+
msg.setTodayApproval(value);
|
|
4096
|
+
break;
|
|
4097
|
+
default:
|
|
4098
|
+
reader.skipField();
|
|
4099
|
+
break;
|
|
4100
|
+
}
|
|
4101
|
+
}
|
|
4102
|
+
return msg;
|
|
4103
|
+
};
|
|
4104
|
+
|
|
4105
|
+
|
|
4106
|
+
/**
|
|
4107
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4108
|
+
* @return {!Uint8Array}
|
|
4109
|
+
*/
|
|
4110
|
+
proto.GetListOverViewApprovalRes.prototype.serializeBinary = function() {
|
|
4111
|
+
var writer = new jspb.BinaryWriter();
|
|
4112
|
+
proto.GetListOverViewApprovalRes.serializeBinaryToWriter(this, writer);
|
|
4113
|
+
return writer.getResultBuffer();
|
|
4114
|
+
};
|
|
4115
|
+
|
|
4116
|
+
|
|
4117
|
+
/**
|
|
4118
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4119
|
+
* format), writing to the given BinaryWriter.
|
|
4120
|
+
* @param {!proto.GetListOverViewApprovalRes} message
|
|
4121
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4122
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4123
|
+
*/
|
|
4124
|
+
proto.GetListOverViewApprovalRes.serializeBinaryToWriter = function(message, writer) {
|
|
4125
|
+
var f = undefined;
|
|
4126
|
+
f = message.getApprovalCount();
|
|
4127
|
+
if (f !== 0) {
|
|
4128
|
+
writer.writeInt64(
|
|
4129
|
+
1,
|
|
4130
|
+
f
|
|
4131
|
+
);
|
|
4132
|
+
}
|
|
4133
|
+
f = message.getTotalAmount();
|
|
4134
|
+
if (f !== 0) {
|
|
4135
|
+
writer.writeInt64(
|
|
4136
|
+
2,
|
|
4137
|
+
f
|
|
4138
|
+
);
|
|
4139
|
+
}
|
|
4140
|
+
f = message.getTodayApproval();
|
|
4141
|
+
if (f !== 0) {
|
|
4142
|
+
writer.writeInt64(
|
|
4143
|
+
3,
|
|
4144
|
+
f
|
|
4145
|
+
);
|
|
4146
|
+
}
|
|
4147
|
+
};
|
|
4148
|
+
|
|
4149
|
+
|
|
4150
|
+
/**
|
|
4151
|
+
* optional int64 approval_count = 1;
|
|
4152
|
+
* @return {number}
|
|
4153
|
+
*/
|
|
4154
|
+
proto.GetListOverViewApprovalRes.prototype.getApprovalCount = function() {
|
|
4155
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4156
|
+
};
|
|
4157
|
+
|
|
4158
|
+
|
|
4159
|
+
/**
|
|
4160
|
+
* @param {number} value
|
|
4161
|
+
* @return {!proto.GetListOverViewApprovalRes} returns this
|
|
4162
|
+
*/
|
|
4163
|
+
proto.GetListOverViewApprovalRes.prototype.setApprovalCount = function(value) {
|
|
4164
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4165
|
+
};
|
|
4166
|
+
|
|
4167
|
+
|
|
4168
|
+
/**
|
|
4169
|
+
* optional int64 total_amount = 2;
|
|
4170
|
+
* @return {number}
|
|
4171
|
+
*/
|
|
4172
|
+
proto.GetListOverViewApprovalRes.prototype.getTotalAmount = function() {
|
|
4173
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4174
|
+
};
|
|
4175
|
+
|
|
4176
|
+
|
|
4177
|
+
/**
|
|
4178
|
+
* @param {number} value
|
|
4179
|
+
* @return {!proto.GetListOverViewApprovalRes} returns this
|
|
4180
|
+
*/
|
|
4181
|
+
proto.GetListOverViewApprovalRes.prototype.setTotalAmount = function(value) {
|
|
4182
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
4183
|
+
};
|
|
4184
|
+
|
|
4185
|
+
|
|
4186
|
+
/**
|
|
4187
|
+
* optional int64 today_approval = 3;
|
|
4188
|
+
* @return {number}
|
|
4189
|
+
*/
|
|
4190
|
+
proto.GetListOverViewApprovalRes.prototype.getTodayApproval = function() {
|
|
4191
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
4192
|
+
};
|
|
4193
|
+
|
|
4194
|
+
|
|
4195
|
+
/**
|
|
4196
|
+
* @param {number} value
|
|
4197
|
+
* @return {!proto.GetListOverViewApprovalRes} returns this
|
|
4198
|
+
*/
|
|
4199
|
+
proto.GetListOverViewApprovalRes.prototype.setTodayApproval = function(value) {
|
|
4200
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
4201
|
+
};
|
|
4202
|
+
|
|
4203
|
+
|
|
3902
4204
|
goog.object.extend(exports, proto);
|
|
@@ -100,6 +100,28 @@ function deserialize_GetMaterialByIdResponse(buffer_arg) {
|
|
|
100
100
|
return prisca_v1_core_material_material_pb.GetMaterialByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
function serialize_SyncMaterialsToAccurateRequest(arg) {
|
|
104
|
+
if (!(arg instanceof prisca_v1_core_material_material_pb.SyncMaterialsToAccurateRequest)) {
|
|
105
|
+
throw new Error('Expected argument of type SyncMaterialsToAccurateRequest');
|
|
106
|
+
}
|
|
107
|
+
return Buffer.from(arg.serializeBinary());
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
function deserialize_SyncMaterialsToAccurateRequest(buffer_arg) {
|
|
111
|
+
return prisca_v1_core_material_material_pb.SyncMaterialsToAccurateRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
function serialize_SyncMaterialsToAccurateResponse(arg) {
|
|
115
|
+
if (!(arg instanceof prisca_v1_core_material_material_pb.SyncMaterialsToAccurateResponse)) {
|
|
116
|
+
throw new Error('Expected argument of type SyncMaterialsToAccurateResponse');
|
|
117
|
+
}
|
|
118
|
+
return Buffer.from(arg.serializeBinary());
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
function deserialize_SyncMaterialsToAccurateResponse(buffer_arg) {
|
|
122
|
+
return prisca_v1_core_material_material_pb.SyncMaterialsToAccurateResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
123
|
+
}
|
|
124
|
+
|
|
103
125
|
function serialize_UpdateMaterialRequest(arg) {
|
|
104
126
|
if (!(arg instanceof prisca_v1_core_material_material_pb.UpdateMaterialRequest)) {
|
|
105
127
|
throw new Error('Expected argument of type UpdateMaterialRequest');
|
|
@@ -179,6 +201,17 @@ var MaterialServiceService = exports.MaterialServiceService = {
|
|
|
179
201
|
responseSerialize: serialize_GetListMaterialResponse,
|
|
180
202
|
responseDeserialize: deserialize_GetListMaterialResponse,
|
|
181
203
|
},
|
|
204
|
+
syncMaterialsToAccurate: {
|
|
205
|
+
path: '/MaterialService/SyncMaterialsToAccurate',
|
|
206
|
+
requestStream: false,
|
|
207
|
+
responseStream: false,
|
|
208
|
+
requestType: prisca_v1_core_material_material_pb.SyncMaterialsToAccurateRequest,
|
|
209
|
+
responseType: prisca_v1_core_material_material_pb.SyncMaterialsToAccurateResponse,
|
|
210
|
+
requestSerialize: serialize_SyncMaterialsToAccurateRequest,
|
|
211
|
+
requestDeserialize: deserialize_SyncMaterialsToAccurateRequest,
|
|
212
|
+
responseSerialize: serialize_SyncMaterialsToAccurateResponse,
|
|
213
|
+
responseDeserialize: deserialize_SyncMaterialsToAccurateResponse,
|
|
214
|
+
},
|
|
182
215
|
};
|
|
183
216
|
|
|
184
217
|
exports.MaterialServiceClient = grpc.makeGenericClientConstructor(MaterialServiceService, 'MaterialService');
|