@aldiokta/protocgen 1.0.37 → 1.0.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/account_assignment/account_assignment_grpc_pb.js +177 -0
- package/prisca/v1/account_assignment/account_assignment_pb.js +2522 -0
- package/prisca/v1/account_group/account_group_grpc_pb.js +178 -0
- package/prisca/v1/account_group/account_group_pb.js +2755 -0
- package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +177 -0
- package/prisca/v1/chart_of_account/chart_of_account_pb.js +2522 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +11 -214
- package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +179 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +3020 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +266 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +4429 -0
|
@@ -38,7 +38,6 @@ goog.exportSymbol('proto.prisca.v1.core.transaction_builder.GetTransactionConfig
|
|
|
38
38
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.GetTransactionConfigList', null, global);
|
|
39
39
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.GetTransactionFieldsById', null, global);
|
|
40
40
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.PropertiesRules', null, global);
|
|
41
|
-
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.PropertiesTable', null, global);
|
|
42
41
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.ResponseTransactionBuilder', null, global);
|
|
43
42
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.ResponseTransactionBuilderList', null, global);
|
|
44
43
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.ResponseTransactionBuilderWithDetail', null, global);
|
|
@@ -170,27 +169,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
170
169
|
*/
|
|
171
170
|
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.displayName = 'proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable';
|
|
172
171
|
}
|
|
173
|
-
/**
|
|
174
|
-
* Generated by JsPbCodeGenerator.
|
|
175
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
176
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
177
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
178
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
179
|
-
* valid.
|
|
180
|
-
* @extends {jspb.Message}
|
|
181
|
-
* @constructor
|
|
182
|
-
*/
|
|
183
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable = function(opt_data) {
|
|
184
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
185
|
-
};
|
|
186
|
-
goog.inherits(proto.prisca.v1.core.transaction_builder.PropertiesTable, jspb.Message);
|
|
187
|
-
if (goog.DEBUG && !COMPILED) {
|
|
188
|
-
/**
|
|
189
|
-
* @public
|
|
190
|
-
* @override
|
|
191
|
-
*/
|
|
192
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.displayName = 'proto.prisca.v1.core.transaction_builder.PropertiesTable';
|
|
193
|
-
}
|
|
194
172
|
/**
|
|
195
173
|
* Generated by JsPbCodeGenerator.
|
|
196
174
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1965,7 +1943,7 @@ orders: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
|
1965
1943
|
key: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1966
1944
|
label: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1967
1945
|
referencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1968
|
-
properties:
|
|
1946
|
+
properties: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
1969
1947
|
};
|
|
1970
1948
|
|
|
1971
1949
|
if (includeInstance) {
|
|
@@ -2023,8 +2001,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.deseriali
|
|
|
2023
2001
|
msg.setReferencesId(value);
|
|
2024
2002
|
break;
|
|
2025
2003
|
case 6:
|
|
2026
|
-
var value =
|
|
2027
|
-
reader.readMessage(value,proto.prisca.v1.core.transaction_builder.PropertiesTable.deserializeBinaryFromReader);
|
|
2004
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2028
2005
|
msg.setProperties(value);
|
|
2029
2006
|
break;
|
|
2030
2007
|
default:
|
|
@@ -2092,11 +2069,10 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.serialize
|
|
|
2092
2069
|
);
|
|
2093
2070
|
}
|
|
2094
2071
|
f = message.getProperties();
|
|
2095
|
-
if (f
|
|
2096
|
-
writer.
|
|
2072
|
+
if (f.length > 0) {
|
|
2073
|
+
writer.writeString(
|
|
2097
2074
|
6,
|
|
2098
|
-
f
|
|
2099
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.serializeBinaryToWriter
|
|
2075
|
+
f
|
|
2100
2076
|
);
|
|
2101
2077
|
}
|
|
2102
2078
|
};
|
|
@@ -2193,199 +2169,20 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype
|
|
|
2193
2169
|
|
|
2194
2170
|
|
|
2195
2171
|
/**
|
|
2196
|
-
* optional
|
|
2197
|
-
* @return {?proto.prisca.v1.core.transaction_builder.PropertiesTable}
|
|
2198
|
-
*/
|
|
2199
|
-
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype.getProperties = function() {
|
|
2200
|
-
return /** @type{?proto.prisca.v1.core.transaction_builder.PropertiesTable} */ (
|
|
2201
|
-
jspb.Message.getWrapperField(this, proto.prisca.v1.core.transaction_builder.PropertiesTable, 6));
|
|
2202
|
-
};
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
/**
|
|
2206
|
-
* @param {?proto.prisca.v1.core.transaction_builder.PropertiesTable|undefined} value
|
|
2207
|
-
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable} returns this
|
|
2208
|
-
*/
|
|
2209
|
-
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype.setProperties = function(value) {
|
|
2210
|
-
return jspb.Message.setWrapperField(this, 6, value);
|
|
2211
|
-
};
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
/**
|
|
2215
|
-
* Clears the message field making it undefined.
|
|
2216
|
-
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable} returns this
|
|
2217
|
-
*/
|
|
2218
|
-
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype.clearProperties = function() {
|
|
2219
|
-
return this.setProperties(undefined);
|
|
2220
|
-
};
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
/**
|
|
2224
|
-
* Returns whether this field is set.
|
|
2225
|
-
* @return {boolean}
|
|
2226
|
-
*/
|
|
2227
|
-
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype.hasProperties = function() {
|
|
2228
|
-
return jspb.Message.getField(this, 6) != null;
|
|
2229
|
-
};
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2236
|
-
/**
|
|
2237
|
-
* Creates an object representation of this proto.
|
|
2238
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2239
|
-
* Optional fields that are not set will be set to undefined.
|
|
2240
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2241
|
-
* For the list of reserved names please see:
|
|
2242
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2243
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2244
|
-
* JSPB instance for transitional soy proto support:
|
|
2245
|
-
* http://goto/soy-param-migration
|
|
2246
|
-
* @return {!Object}
|
|
2247
|
-
*/
|
|
2248
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.prototype.toObject = function(opt_includeInstance) {
|
|
2249
|
-
return proto.prisca.v1.core.transaction_builder.PropertiesTable.toObject(opt_includeInstance, this);
|
|
2250
|
-
};
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
/**
|
|
2254
|
-
* Static version of the {@see toObject} method.
|
|
2255
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2256
|
-
* the JSPB instance for transitional soy proto support:
|
|
2257
|
-
* http://goto/soy-param-migration
|
|
2258
|
-
* @param {!proto.prisca.v1.core.transaction_builder.PropertiesTable} msg The msg instance to transform.
|
|
2259
|
-
* @return {!Object}
|
|
2260
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2261
|
-
*/
|
|
2262
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.toObject = function(includeInstance, msg) {
|
|
2263
|
-
var f, obj = {
|
|
2264
|
-
isMain: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
2265
|
-
dataType: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2266
|
-
};
|
|
2267
|
-
|
|
2268
|
-
if (includeInstance) {
|
|
2269
|
-
obj.$jspbMessageInstance = msg;
|
|
2270
|
-
}
|
|
2271
|
-
return obj;
|
|
2272
|
-
};
|
|
2273
|
-
}
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
/**
|
|
2277
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2278
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2279
|
-
* @return {!proto.prisca.v1.core.transaction_builder.PropertiesTable}
|
|
2280
|
-
*/
|
|
2281
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.deserializeBinary = function(bytes) {
|
|
2282
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2283
|
-
var msg = new proto.prisca.v1.core.transaction_builder.PropertiesTable;
|
|
2284
|
-
return proto.prisca.v1.core.transaction_builder.PropertiesTable.deserializeBinaryFromReader(msg, reader);
|
|
2285
|
-
};
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
/**
|
|
2289
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2290
|
-
* given reader into the given message object.
|
|
2291
|
-
* @param {!proto.prisca.v1.core.transaction_builder.PropertiesTable} msg The message object to deserialize into.
|
|
2292
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2293
|
-
* @return {!proto.prisca.v1.core.transaction_builder.PropertiesTable}
|
|
2294
|
-
*/
|
|
2295
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.deserializeBinaryFromReader = function(msg, reader) {
|
|
2296
|
-
while (reader.nextField()) {
|
|
2297
|
-
if (reader.isEndGroup()) {
|
|
2298
|
-
break;
|
|
2299
|
-
}
|
|
2300
|
-
var field = reader.getFieldNumber();
|
|
2301
|
-
switch (field) {
|
|
2302
|
-
case 1:
|
|
2303
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
2304
|
-
msg.setIsMain(value);
|
|
2305
|
-
break;
|
|
2306
|
-
case 2:
|
|
2307
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2308
|
-
msg.setDataType(value);
|
|
2309
|
-
break;
|
|
2310
|
-
default:
|
|
2311
|
-
reader.skipField();
|
|
2312
|
-
break;
|
|
2313
|
-
}
|
|
2314
|
-
}
|
|
2315
|
-
return msg;
|
|
2316
|
-
};
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
/**
|
|
2320
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2321
|
-
* @return {!Uint8Array}
|
|
2322
|
-
*/
|
|
2323
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.prototype.serializeBinary = function() {
|
|
2324
|
-
var writer = new jspb.BinaryWriter();
|
|
2325
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.serializeBinaryToWriter(this, writer);
|
|
2326
|
-
return writer.getResultBuffer();
|
|
2327
|
-
};
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
/**
|
|
2331
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2332
|
-
* format), writing to the given BinaryWriter.
|
|
2333
|
-
* @param {!proto.prisca.v1.core.transaction_builder.PropertiesTable} message
|
|
2334
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2335
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2336
|
-
*/
|
|
2337
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.serializeBinaryToWriter = function(message, writer) {
|
|
2338
|
-
var f = undefined;
|
|
2339
|
-
f = message.getIsMain();
|
|
2340
|
-
if (f) {
|
|
2341
|
-
writer.writeBool(
|
|
2342
|
-
1,
|
|
2343
|
-
f
|
|
2344
|
-
);
|
|
2345
|
-
}
|
|
2346
|
-
f = message.getDataType();
|
|
2347
|
-
if (f.length > 0) {
|
|
2348
|
-
writer.writeString(
|
|
2349
|
-
2,
|
|
2350
|
-
f
|
|
2351
|
-
);
|
|
2352
|
-
}
|
|
2353
|
-
};
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
/**
|
|
2357
|
-
* optional bool is_main = 1;
|
|
2358
|
-
* @return {boolean}
|
|
2359
|
-
*/
|
|
2360
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.prototype.getIsMain = function() {
|
|
2361
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
2362
|
-
};
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
/**
|
|
2366
|
-
* @param {boolean} value
|
|
2367
|
-
* @return {!proto.prisca.v1.core.transaction_builder.PropertiesTable} returns this
|
|
2368
|
-
*/
|
|
2369
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.prototype.setIsMain = function(value) {
|
|
2370
|
-
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
2371
|
-
};
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
/**
|
|
2375
|
-
* optional string data_type = 2;
|
|
2172
|
+
* optional string properties = 6;
|
|
2376
2173
|
* @return {string}
|
|
2377
2174
|
*/
|
|
2378
|
-
proto.prisca.v1.core.transaction_builder.
|
|
2379
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
2175
|
+
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype.getProperties = function() {
|
|
2176
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
2380
2177
|
};
|
|
2381
2178
|
|
|
2382
2179
|
|
|
2383
2180
|
/**
|
|
2384
2181
|
* @param {string} value
|
|
2385
|
-
* @return {!proto.prisca.v1.core.transaction_builder.
|
|
2182
|
+
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable} returns this
|
|
2386
2183
|
*/
|
|
2387
|
-
proto.prisca.v1.core.transaction_builder.
|
|
2388
|
-
return jspb.Message.setProto3StringField(this,
|
|
2184
|
+
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype.setProperties = function(value) {
|
|
2185
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
2389
2186
|
};
|
|
2390
2187
|
|
|
2391
2188
|
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
|
+
var prisca_v1_general_ledger_account_general_ledger_account_pb = require('../../../prisca/v1/general_ledger_account/general_ledger_account_pb.js');
|
|
6
|
+
var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
+
var prisca_v1_account_group_account_group_pb = require('../../../prisca/v1/account_group/account_group_pb.js');
|
|
8
|
+
var prisca_v1_chart_of_account_chart_of_account_pb = require('../../../prisca/v1/chart_of_account/chart_of_account_pb.js');
|
|
9
|
+
|
|
10
|
+
function serialize_CreateGeneralLedgerAccountRequest(arg) {
|
|
11
|
+
if (!(arg instanceof prisca_v1_general_ledger_account_general_ledger_account_pb.CreateGeneralLedgerAccountRequest)) {
|
|
12
|
+
throw new Error('Expected argument of type CreateGeneralLedgerAccountRequest');
|
|
13
|
+
}
|
|
14
|
+
return Buffer.from(arg.serializeBinary());
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function deserialize_CreateGeneralLedgerAccountRequest(buffer_arg) {
|
|
18
|
+
return prisca_v1_general_ledger_account_general_ledger_account_pb.CreateGeneralLedgerAccountRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function serialize_CreateGeneralLedgerAccountResponse(arg) {
|
|
22
|
+
if (!(arg instanceof prisca_v1_general_ledger_account_general_ledger_account_pb.CreateGeneralLedgerAccountResponse)) {
|
|
23
|
+
throw new Error('Expected argument of type CreateGeneralLedgerAccountResponse');
|
|
24
|
+
}
|
|
25
|
+
return Buffer.from(arg.serializeBinary());
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function deserialize_CreateGeneralLedgerAccountResponse(buffer_arg) {
|
|
29
|
+
return prisca_v1_general_ledger_account_general_ledger_account_pb.CreateGeneralLedgerAccountResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function serialize_DeleteGeneralLedgerAccountRequest(arg) {
|
|
33
|
+
if (!(arg instanceof prisca_v1_general_ledger_account_general_ledger_account_pb.DeleteGeneralLedgerAccountRequest)) {
|
|
34
|
+
throw new Error('Expected argument of type DeleteGeneralLedgerAccountRequest');
|
|
35
|
+
}
|
|
36
|
+
return Buffer.from(arg.serializeBinary());
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function deserialize_DeleteGeneralLedgerAccountRequest(buffer_arg) {
|
|
40
|
+
return prisca_v1_general_ledger_account_general_ledger_account_pb.DeleteGeneralLedgerAccountRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function serialize_DeleteGeneralLedgerAccountResponse(arg) {
|
|
44
|
+
if (!(arg instanceof prisca_v1_general_ledger_account_general_ledger_account_pb.DeleteGeneralLedgerAccountResponse)) {
|
|
45
|
+
throw new Error('Expected argument of type DeleteGeneralLedgerAccountResponse');
|
|
46
|
+
}
|
|
47
|
+
return Buffer.from(arg.serializeBinary());
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function deserialize_DeleteGeneralLedgerAccountResponse(buffer_arg) {
|
|
51
|
+
return prisca_v1_general_ledger_account_general_ledger_account_pb.DeleteGeneralLedgerAccountResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function serialize_GetGeneralLedgerAccountByIdRequest(arg) {
|
|
55
|
+
if (!(arg instanceof prisca_v1_general_ledger_account_general_ledger_account_pb.GetGeneralLedgerAccountByIdRequest)) {
|
|
56
|
+
throw new Error('Expected argument of type GetGeneralLedgerAccountByIdRequest');
|
|
57
|
+
}
|
|
58
|
+
return Buffer.from(arg.serializeBinary());
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function deserialize_GetGeneralLedgerAccountByIdRequest(buffer_arg) {
|
|
62
|
+
return prisca_v1_general_ledger_account_general_ledger_account_pb.GetGeneralLedgerAccountByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function serialize_GetGeneralLedgerAccountByIdResponse(arg) {
|
|
66
|
+
if (!(arg instanceof prisca_v1_general_ledger_account_general_ledger_account_pb.GetGeneralLedgerAccountByIdResponse)) {
|
|
67
|
+
throw new Error('Expected argument of type GetGeneralLedgerAccountByIdResponse');
|
|
68
|
+
}
|
|
69
|
+
return Buffer.from(arg.serializeBinary());
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function deserialize_GetGeneralLedgerAccountByIdResponse(buffer_arg) {
|
|
73
|
+
return prisca_v1_general_ledger_account_general_ledger_account_pb.GetGeneralLedgerAccountByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function serialize_GetListGeneralLedgerAccountRequest(arg) {
|
|
77
|
+
if (!(arg instanceof prisca_v1_general_ledger_account_general_ledger_account_pb.GetListGeneralLedgerAccountRequest)) {
|
|
78
|
+
throw new Error('Expected argument of type GetListGeneralLedgerAccountRequest');
|
|
79
|
+
}
|
|
80
|
+
return Buffer.from(arg.serializeBinary());
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function deserialize_GetListGeneralLedgerAccountRequest(buffer_arg) {
|
|
84
|
+
return prisca_v1_general_ledger_account_general_ledger_account_pb.GetListGeneralLedgerAccountRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function serialize_GetListGeneralLedgerAccountResponse(arg) {
|
|
88
|
+
if (!(arg instanceof prisca_v1_general_ledger_account_general_ledger_account_pb.GetListGeneralLedgerAccountResponse)) {
|
|
89
|
+
throw new Error('Expected argument of type GetListGeneralLedgerAccountResponse');
|
|
90
|
+
}
|
|
91
|
+
return Buffer.from(arg.serializeBinary());
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function deserialize_GetListGeneralLedgerAccountResponse(buffer_arg) {
|
|
95
|
+
return prisca_v1_general_ledger_account_general_ledger_account_pb.GetListGeneralLedgerAccountResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function serialize_UpdateGeneralLedgerAccountRequest(arg) {
|
|
99
|
+
if (!(arg instanceof prisca_v1_general_ledger_account_general_ledger_account_pb.UpdateGeneralLedgerAccountRequest)) {
|
|
100
|
+
throw new Error('Expected argument of type UpdateGeneralLedgerAccountRequest');
|
|
101
|
+
}
|
|
102
|
+
return Buffer.from(arg.serializeBinary());
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
function deserialize_UpdateGeneralLedgerAccountRequest(buffer_arg) {
|
|
106
|
+
return prisca_v1_general_ledger_account_general_ledger_account_pb.UpdateGeneralLedgerAccountRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function serialize_UpdateGeneralLedgerAccountResponse(arg) {
|
|
110
|
+
if (!(arg instanceof prisca_v1_general_ledger_account_general_ledger_account_pb.UpdateGeneralLedgerAccountResponse)) {
|
|
111
|
+
throw new Error('Expected argument of type UpdateGeneralLedgerAccountResponse');
|
|
112
|
+
}
|
|
113
|
+
return Buffer.from(arg.serializeBinary());
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
function deserialize_UpdateGeneralLedgerAccountResponse(buffer_arg) {
|
|
117
|
+
return prisca_v1_general_ledger_account_general_ledger_account_pb.UpdateGeneralLedgerAccountResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
var GeneralLedgerAccountServiceService = exports.GeneralLedgerAccountServiceService = {
|
|
122
|
+
createGeneralLedgerAccount: {
|
|
123
|
+
path: '/GeneralLedgerAccountService/CreateGeneralLedgerAccount',
|
|
124
|
+
requestStream: false,
|
|
125
|
+
responseStream: false,
|
|
126
|
+
requestType: prisca_v1_general_ledger_account_general_ledger_account_pb.CreateGeneralLedgerAccountRequest,
|
|
127
|
+
responseType: prisca_v1_general_ledger_account_general_ledger_account_pb.CreateGeneralLedgerAccountResponse,
|
|
128
|
+
requestSerialize: serialize_CreateGeneralLedgerAccountRequest,
|
|
129
|
+
requestDeserialize: deserialize_CreateGeneralLedgerAccountRequest,
|
|
130
|
+
responseSerialize: serialize_CreateGeneralLedgerAccountResponse,
|
|
131
|
+
responseDeserialize: deserialize_CreateGeneralLedgerAccountResponse,
|
|
132
|
+
},
|
|
133
|
+
updateGeneralLedgerAccount: {
|
|
134
|
+
path: '/GeneralLedgerAccountService/UpdateGeneralLedgerAccount',
|
|
135
|
+
requestStream: false,
|
|
136
|
+
responseStream: false,
|
|
137
|
+
requestType: prisca_v1_general_ledger_account_general_ledger_account_pb.UpdateGeneralLedgerAccountRequest,
|
|
138
|
+
responseType: prisca_v1_general_ledger_account_general_ledger_account_pb.UpdateGeneralLedgerAccountResponse,
|
|
139
|
+
requestSerialize: serialize_UpdateGeneralLedgerAccountRequest,
|
|
140
|
+
requestDeserialize: deserialize_UpdateGeneralLedgerAccountRequest,
|
|
141
|
+
responseSerialize: serialize_UpdateGeneralLedgerAccountResponse,
|
|
142
|
+
responseDeserialize: deserialize_UpdateGeneralLedgerAccountResponse,
|
|
143
|
+
},
|
|
144
|
+
getGeneralLedgerAccountById: {
|
|
145
|
+
path: '/GeneralLedgerAccountService/GetGeneralLedgerAccountById',
|
|
146
|
+
requestStream: false,
|
|
147
|
+
responseStream: false,
|
|
148
|
+
requestType: prisca_v1_general_ledger_account_general_ledger_account_pb.GetGeneralLedgerAccountByIdRequest,
|
|
149
|
+
responseType: prisca_v1_general_ledger_account_general_ledger_account_pb.GetGeneralLedgerAccountByIdResponse,
|
|
150
|
+
requestSerialize: serialize_GetGeneralLedgerAccountByIdRequest,
|
|
151
|
+
requestDeserialize: deserialize_GetGeneralLedgerAccountByIdRequest,
|
|
152
|
+
responseSerialize: serialize_GetGeneralLedgerAccountByIdResponse,
|
|
153
|
+
responseDeserialize: deserialize_GetGeneralLedgerAccountByIdResponse,
|
|
154
|
+
},
|
|
155
|
+
getListGeneralLedgerAccount: {
|
|
156
|
+
path: '/GeneralLedgerAccountService/GetListGeneralLedgerAccount',
|
|
157
|
+
requestStream: false,
|
|
158
|
+
responseStream: false,
|
|
159
|
+
requestType: prisca_v1_general_ledger_account_general_ledger_account_pb.GetListGeneralLedgerAccountRequest,
|
|
160
|
+
responseType: prisca_v1_general_ledger_account_general_ledger_account_pb.GetListGeneralLedgerAccountResponse,
|
|
161
|
+
requestSerialize: serialize_GetListGeneralLedgerAccountRequest,
|
|
162
|
+
requestDeserialize: deserialize_GetListGeneralLedgerAccountRequest,
|
|
163
|
+
responseSerialize: serialize_GetListGeneralLedgerAccountResponse,
|
|
164
|
+
responseDeserialize: deserialize_GetListGeneralLedgerAccountResponse,
|
|
165
|
+
},
|
|
166
|
+
deleteGeneralLedgerAccount: {
|
|
167
|
+
path: '/GeneralLedgerAccountService/DeleteGeneralLedgerAccount',
|
|
168
|
+
requestStream: false,
|
|
169
|
+
responseStream: false,
|
|
170
|
+
requestType: prisca_v1_general_ledger_account_general_ledger_account_pb.DeleteGeneralLedgerAccountRequest,
|
|
171
|
+
responseType: prisca_v1_general_ledger_account_general_ledger_account_pb.DeleteGeneralLedgerAccountResponse,
|
|
172
|
+
requestSerialize: serialize_DeleteGeneralLedgerAccountRequest,
|
|
173
|
+
requestDeserialize: deserialize_DeleteGeneralLedgerAccountRequest,
|
|
174
|
+
responseSerialize: serialize_DeleteGeneralLedgerAccountResponse,
|
|
175
|
+
responseDeserialize: deserialize_DeleteGeneralLedgerAccountResponse,
|
|
176
|
+
},
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
exports.GeneralLedgerAccountServiceClient = grpc.makeGenericClientConstructor(GeneralLedgerAccountServiceService);
|