@stashfin/grpc 1.2.129 → 1.2.130

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/grpc",
3
- "version": "1.2.129",
3
+ "version": "1.2.130",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -0,0 +1,53 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "loans.getloanbyid";
3
+ export interface getLoanByIdRequest {
4
+ loan_id: number;
5
+ }
6
+ export interface getLoanByIdResponse {
7
+ category: string;
8
+ disbursal_amount: number;
9
+ roi: number;
10
+ Loan_disbursal_date: string;
11
+ approved_disbursal_date: string;
12
+ approved_amount: number;
13
+ loan_status: string;
14
+ upfront_interest: number;
15
+ inst_amount: number;
16
+ inst_date: string;
17
+ tenure: number;
18
+ daily_roi: number;
19
+ approval_date: string;
20
+ loan_type: string;
21
+ sub_scheme: string;
22
+ loan_scheme: string;
23
+ program_type: string;
24
+ debt_burden_ratio: number;
25
+ processing_fee: number;
26
+ }
27
+ export declare const getLoanByIdRequest: {
28
+ encode(message: getLoanByIdRequest, writer?: _m0.Writer): _m0.Writer;
29
+ decode(input: _m0.Reader | Uint8Array, length?: number): getLoanByIdRequest;
30
+ fromJSON(object: any): getLoanByIdRequest;
31
+ toJSON(message: getLoanByIdRequest): unknown;
32
+ create<I extends Exact<DeepPartial<getLoanByIdRequest>, I>>(base?: I): getLoanByIdRequest;
33
+ fromPartial<I extends Exact<DeepPartial<getLoanByIdRequest>, I>>(object: I): getLoanByIdRequest;
34
+ };
35
+ export declare const getLoanByIdResponse: {
36
+ encode(message: getLoanByIdResponse, writer?: _m0.Writer): _m0.Writer;
37
+ decode(input: _m0.Reader | Uint8Array, length?: number): getLoanByIdResponse;
38
+ fromJSON(object: any): getLoanByIdResponse;
39
+ toJSON(message: getLoanByIdResponse): unknown;
40
+ create<I extends Exact<DeepPartial<getLoanByIdResponse>, I>>(base?: I): getLoanByIdResponse;
41
+ fromPartial<I extends Exact<DeepPartial<getLoanByIdResponse>, I>>(object: I): getLoanByIdResponse;
42
+ };
43
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
44
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
45
+ [K in keyof T]?: DeepPartial<T[K]>;
46
+ } : Partial<T>;
47
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
48
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
49
+ [K in keyof P]: Exact<P[K], I[K]>;
50
+ } & {
51
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
52
+ };
53
+ export {};
@@ -0,0 +1,393 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.27.3
6
+ // source: loans/getloanbyid.proto
7
+ var __importDefault = (this && this.__importDefault) || function (mod) {
8
+ return (mod && mod.__esModule) ? mod : { "default": mod };
9
+ };
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.getLoanByIdResponse = exports.getLoanByIdRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "loans.getloanbyid";
15
+ function createBasegetLoanByIdRequest() {
16
+ return { loan_id: 0 };
17
+ }
18
+ exports.getLoanByIdRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.loan_id !== 0) {
21
+ writer.uint32(8).int32(message.loan_id);
22
+ }
23
+ return writer;
24
+ },
25
+ decode(input, length) {
26
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
27
+ let end = length === undefined ? reader.len : reader.pos + length;
28
+ const message = createBasegetLoanByIdRequest();
29
+ while (reader.pos < end) {
30
+ const tag = reader.uint32();
31
+ switch (tag >>> 3) {
32
+ case 1:
33
+ if (tag !== 8) {
34
+ break;
35
+ }
36
+ message.loan_id = reader.int32();
37
+ continue;
38
+ }
39
+ if ((tag & 7) === 4 || tag === 0) {
40
+ break;
41
+ }
42
+ reader.skipType(tag & 7);
43
+ }
44
+ return message;
45
+ },
46
+ fromJSON(object) {
47
+ return { loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0 };
48
+ },
49
+ toJSON(message) {
50
+ const obj = {};
51
+ if (message.loan_id !== 0) {
52
+ obj.loan_id = Math.round(message.loan_id);
53
+ }
54
+ return obj;
55
+ },
56
+ create(base) {
57
+ return exports.getLoanByIdRequest.fromPartial(base ?? {});
58
+ },
59
+ fromPartial(object) {
60
+ const message = createBasegetLoanByIdRequest();
61
+ message.loan_id = object.loan_id ?? 0;
62
+ return message;
63
+ },
64
+ };
65
+ function createBasegetLoanByIdResponse() {
66
+ return {
67
+ category: "",
68
+ disbursal_amount: 0,
69
+ roi: 0,
70
+ Loan_disbursal_date: "",
71
+ approved_disbursal_date: "",
72
+ approved_amount: 0,
73
+ loan_status: "",
74
+ upfront_interest: 0,
75
+ inst_amount: 0,
76
+ inst_date: "",
77
+ tenure: 0,
78
+ daily_roi: 0,
79
+ approval_date: "",
80
+ loan_type: "",
81
+ sub_scheme: "",
82
+ loan_scheme: "",
83
+ program_type: "",
84
+ debt_burden_ratio: 0,
85
+ processing_fee: 0,
86
+ };
87
+ }
88
+ exports.getLoanByIdResponse = {
89
+ encode(message, writer = minimal_1.default.Writer.create()) {
90
+ if (message.category !== "") {
91
+ writer.uint32(10).string(message.category);
92
+ }
93
+ if (message.disbursal_amount !== 0) {
94
+ writer.uint32(16).int32(message.disbursal_amount);
95
+ }
96
+ if (message.roi !== 0) {
97
+ writer.uint32(29).float(message.roi);
98
+ }
99
+ if (message.Loan_disbursal_date !== "") {
100
+ writer.uint32(34).string(message.Loan_disbursal_date);
101
+ }
102
+ if (message.approved_disbursal_date !== "") {
103
+ writer.uint32(42).string(message.approved_disbursal_date);
104
+ }
105
+ if (message.approved_amount !== 0) {
106
+ writer.uint32(48).int32(message.approved_amount);
107
+ }
108
+ if (message.loan_status !== "") {
109
+ writer.uint32(58).string(message.loan_status);
110
+ }
111
+ if (message.upfront_interest !== 0) {
112
+ writer.uint32(69).float(message.upfront_interest);
113
+ }
114
+ if (message.inst_amount !== 0) {
115
+ writer.uint32(72).int32(message.inst_amount);
116
+ }
117
+ if (message.inst_date !== "") {
118
+ writer.uint32(82).string(message.inst_date);
119
+ }
120
+ if (message.tenure !== 0) {
121
+ writer.uint32(88).int32(message.tenure);
122
+ }
123
+ if (message.daily_roi !== 0) {
124
+ writer.uint32(101).float(message.daily_roi);
125
+ }
126
+ if (message.approval_date !== "") {
127
+ writer.uint32(106).string(message.approval_date);
128
+ }
129
+ if (message.loan_type !== "") {
130
+ writer.uint32(114).string(message.loan_type);
131
+ }
132
+ if (message.sub_scheme !== "") {
133
+ writer.uint32(122).string(message.sub_scheme);
134
+ }
135
+ if (message.loan_scheme !== "") {
136
+ writer.uint32(130).string(message.loan_scheme);
137
+ }
138
+ if (message.program_type !== "") {
139
+ writer.uint32(138).string(message.program_type);
140
+ }
141
+ if (message.debt_burden_ratio !== 0) {
142
+ writer.uint32(149).float(message.debt_burden_ratio);
143
+ }
144
+ if (message.processing_fee !== 0) {
145
+ writer.uint32(152).int32(message.processing_fee);
146
+ }
147
+ return writer;
148
+ },
149
+ decode(input, length) {
150
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
151
+ let end = length === undefined ? reader.len : reader.pos + length;
152
+ const message = createBasegetLoanByIdResponse();
153
+ while (reader.pos < end) {
154
+ const tag = reader.uint32();
155
+ switch (tag >>> 3) {
156
+ case 1:
157
+ if (tag !== 10) {
158
+ break;
159
+ }
160
+ message.category = reader.string();
161
+ continue;
162
+ case 2:
163
+ if (tag !== 16) {
164
+ break;
165
+ }
166
+ message.disbursal_amount = reader.int32();
167
+ continue;
168
+ case 3:
169
+ if (tag !== 29) {
170
+ break;
171
+ }
172
+ message.roi = reader.float();
173
+ continue;
174
+ case 4:
175
+ if (tag !== 34) {
176
+ break;
177
+ }
178
+ message.Loan_disbursal_date = reader.string();
179
+ continue;
180
+ case 5:
181
+ if (tag !== 42) {
182
+ break;
183
+ }
184
+ message.approved_disbursal_date = reader.string();
185
+ continue;
186
+ case 6:
187
+ if (tag !== 48) {
188
+ break;
189
+ }
190
+ message.approved_amount = reader.int32();
191
+ continue;
192
+ case 7:
193
+ if (tag !== 58) {
194
+ break;
195
+ }
196
+ message.loan_status = reader.string();
197
+ continue;
198
+ case 8:
199
+ if (tag !== 69) {
200
+ break;
201
+ }
202
+ message.upfront_interest = reader.float();
203
+ continue;
204
+ case 9:
205
+ if (tag !== 72) {
206
+ break;
207
+ }
208
+ message.inst_amount = reader.int32();
209
+ continue;
210
+ case 10:
211
+ if (tag !== 82) {
212
+ break;
213
+ }
214
+ message.inst_date = reader.string();
215
+ continue;
216
+ case 11:
217
+ if (tag !== 88) {
218
+ break;
219
+ }
220
+ message.tenure = reader.int32();
221
+ continue;
222
+ case 12:
223
+ if (tag !== 101) {
224
+ break;
225
+ }
226
+ message.daily_roi = reader.float();
227
+ continue;
228
+ case 13:
229
+ if (tag !== 106) {
230
+ break;
231
+ }
232
+ message.approval_date = reader.string();
233
+ continue;
234
+ case 14:
235
+ if (tag !== 114) {
236
+ break;
237
+ }
238
+ message.loan_type = reader.string();
239
+ continue;
240
+ case 15:
241
+ if (tag !== 122) {
242
+ break;
243
+ }
244
+ message.sub_scheme = reader.string();
245
+ continue;
246
+ case 16:
247
+ if (tag !== 130) {
248
+ break;
249
+ }
250
+ message.loan_scheme = reader.string();
251
+ continue;
252
+ case 17:
253
+ if (tag !== 138) {
254
+ break;
255
+ }
256
+ message.program_type = reader.string();
257
+ continue;
258
+ case 18:
259
+ if (tag !== 149) {
260
+ break;
261
+ }
262
+ message.debt_burden_ratio = reader.float();
263
+ continue;
264
+ case 19:
265
+ if (tag !== 152) {
266
+ break;
267
+ }
268
+ message.processing_fee = reader.int32();
269
+ continue;
270
+ }
271
+ if ((tag & 7) === 4 || tag === 0) {
272
+ break;
273
+ }
274
+ reader.skipType(tag & 7);
275
+ }
276
+ return message;
277
+ },
278
+ fromJSON(object) {
279
+ return {
280
+ category: isSet(object.category) ? globalThis.String(object.category) : "",
281
+ disbursal_amount: isSet(object.disbursal_amount) ? globalThis.Number(object.disbursal_amount) : 0,
282
+ roi: isSet(object.roi) ? globalThis.Number(object.roi) : 0,
283
+ Loan_disbursal_date: isSet(object.Loan_disbursal_date) ? globalThis.String(object.Loan_disbursal_date) : "",
284
+ approved_disbursal_date: isSet(object.approved_disbursal_date)
285
+ ? globalThis.String(object.approved_disbursal_date)
286
+ : "",
287
+ approved_amount: isSet(object.approved_amount) ? globalThis.Number(object.approved_amount) : 0,
288
+ loan_status: isSet(object.loan_status) ? globalThis.String(object.loan_status) : "",
289
+ upfront_interest: isSet(object.upfront_interest) ? globalThis.Number(object.upfront_interest) : 0,
290
+ inst_amount: isSet(object.inst_amount) ? globalThis.Number(object.inst_amount) : 0,
291
+ inst_date: isSet(object.inst_date) ? globalThis.String(object.inst_date) : "",
292
+ tenure: isSet(object.tenure) ? globalThis.Number(object.tenure) : 0,
293
+ daily_roi: isSet(object.daily_roi) ? globalThis.Number(object.daily_roi) : 0,
294
+ approval_date: isSet(object.approval_date) ? globalThis.String(object.approval_date) : "",
295
+ loan_type: isSet(object.loan_type) ? globalThis.String(object.loan_type) : "",
296
+ sub_scheme: isSet(object.sub_scheme) ? globalThis.String(object.sub_scheme) : "",
297
+ loan_scheme: isSet(object.loan_scheme) ? globalThis.String(object.loan_scheme) : "",
298
+ program_type: isSet(object.program_type) ? globalThis.String(object.program_type) : "",
299
+ debt_burden_ratio: isSet(object.debt_burden_ratio) ? globalThis.Number(object.debt_burden_ratio) : 0,
300
+ processing_fee: isSet(object.processing_fee) ? globalThis.Number(object.processing_fee) : 0,
301
+ };
302
+ },
303
+ toJSON(message) {
304
+ const obj = {};
305
+ if (message.category !== "") {
306
+ obj.category = message.category;
307
+ }
308
+ if (message.disbursal_amount !== 0) {
309
+ obj.disbursal_amount = Math.round(message.disbursal_amount);
310
+ }
311
+ if (message.roi !== 0) {
312
+ obj.roi = message.roi;
313
+ }
314
+ if (message.Loan_disbursal_date !== "") {
315
+ obj.Loan_disbursal_date = message.Loan_disbursal_date;
316
+ }
317
+ if (message.approved_disbursal_date !== "") {
318
+ obj.approved_disbursal_date = message.approved_disbursal_date;
319
+ }
320
+ if (message.approved_amount !== 0) {
321
+ obj.approved_amount = Math.round(message.approved_amount);
322
+ }
323
+ if (message.loan_status !== "") {
324
+ obj.loan_status = message.loan_status;
325
+ }
326
+ if (message.upfront_interest !== 0) {
327
+ obj.upfront_interest = message.upfront_interest;
328
+ }
329
+ if (message.inst_amount !== 0) {
330
+ obj.inst_amount = Math.round(message.inst_amount);
331
+ }
332
+ if (message.inst_date !== "") {
333
+ obj.inst_date = message.inst_date;
334
+ }
335
+ if (message.tenure !== 0) {
336
+ obj.tenure = Math.round(message.tenure);
337
+ }
338
+ if (message.daily_roi !== 0) {
339
+ obj.daily_roi = message.daily_roi;
340
+ }
341
+ if (message.approval_date !== "") {
342
+ obj.approval_date = message.approval_date;
343
+ }
344
+ if (message.loan_type !== "") {
345
+ obj.loan_type = message.loan_type;
346
+ }
347
+ if (message.sub_scheme !== "") {
348
+ obj.sub_scheme = message.sub_scheme;
349
+ }
350
+ if (message.loan_scheme !== "") {
351
+ obj.loan_scheme = message.loan_scheme;
352
+ }
353
+ if (message.program_type !== "") {
354
+ obj.program_type = message.program_type;
355
+ }
356
+ if (message.debt_burden_ratio !== 0) {
357
+ obj.debt_burden_ratio = message.debt_burden_ratio;
358
+ }
359
+ if (message.processing_fee !== 0) {
360
+ obj.processing_fee = Math.round(message.processing_fee);
361
+ }
362
+ return obj;
363
+ },
364
+ create(base) {
365
+ return exports.getLoanByIdResponse.fromPartial(base ?? {});
366
+ },
367
+ fromPartial(object) {
368
+ const message = createBasegetLoanByIdResponse();
369
+ message.category = object.category ?? "";
370
+ message.disbursal_amount = object.disbursal_amount ?? 0;
371
+ message.roi = object.roi ?? 0;
372
+ message.Loan_disbursal_date = object.Loan_disbursal_date ?? "";
373
+ message.approved_disbursal_date = object.approved_disbursal_date ?? "";
374
+ message.approved_amount = object.approved_amount ?? 0;
375
+ message.loan_status = object.loan_status ?? "";
376
+ message.upfront_interest = object.upfront_interest ?? 0;
377
+ message.inst_amount = object.inst_amount ?? 0;
378
+ message.inst_date = object.inst_date ?? "";
379
+ message.tenure = object.tenure ?? 0;
380
+ message.daily_roi = object.daily_roi ?? 0;
381
+ message.approval_date = object.approval_date ?? "";
382
+ message.loan_type = object.loan_type ?? "";
383
+ message.sub_scheme = object.sub_scheme ?? "";
384
+ message.loan_scheme = object.loan_scheme ?? "";
385
+ message.program_type = object.program_type ?? "";
386
+ message.debt_burden_ratio = object.debt_burden_ratio ?? 0;
387
+ message.processing_fee = object.processing_fee ?? 0;
388
+ return message;
389
+ },
390
+ };
391
+ function isSet(value) {
392
+ return value !== null && value !== undefined;
393
+ }
package/ts/loans.d.ts CHANGED
@@ -5,6 +5,7 @@ import { calculateEmiRequest, calculateEmiResponse } from "./loans/calculateemi"
5
5
  import { creditLimitRequest, creditLimitResponse } from "./loans/creditlimit";
6
6
  import { futurePaymentMoreDetailsRequest, futurePaymentMoreDetailsResponse } from "./loans/futurepaymentmoredetails";
7
7
  import { getCustomerLoanStatusRequest, getCustomerLoanStatusResponse } from "./loans/getcustomerloanstatus";
8
+ import { getLoanByIdRequest, getLoanByIdResponse } from "./loans/getloanbyid";
8
9
  import { getPendingEmiAmountRequest, getPendingEmiAmountResponse } from "./loans/getpendingemiamount";
9
10
  import { getSummaryStaticFieldsRequest, getSummaryStaticFieldsResponse } from "./loans/getsummarystaticfields";
10
11
  import { loanSummaryRequest, loanSummaryResponse } from "./loans/loansummary";
@@ -172,6 +173,15 @@ export declare const loansService: {
172
173
  readonly responseSerialize: (value: futurePaymentMoreDetailsResponse) => Buffer;
173
174
  readonly responseDeserialize: (value: Buffer) => futurePaymentMoreDetailsResponse;
174
175
  };
176
+ readonly getlLoanbyId: {
177
+ readonly path: "/service.loans/getlLoanbyId";
178
+ readonly requestStream: false;
179
+ readonly responseStream: false;
180
+ readonly requestSerialize: (value: getLoanByIdRequest) => Buffer;
181
+ readonly requestDeserialize: (value: Buffer) => getLoanByIdRequest;
182
+ readonly responseSerialize: (value: getLoanByIdResponse) => Buffer;
183
+ readonly responseDeserialize: (value: Buffer) => getLoanByIdResponse;
184
+ };
175
185
  };
176
186
  export interface loansServer extends UntypedServiceImplementation {
177
187
  creditlimit: handleUnaryCall<creditLimitRequest, creditLimitResponse>;
@@ -191,6 +201,7 @@ export interface loansServer extends UntypedServiceImplementation {
191
201
  getSummaryStaticFields: handleUnaryCall<getSummaryStaticFieldsRequest, getSummaryStaticFieldsResponse>;
192
202
  paymentHistory: handleUnaryCall<paymentHistoryRequest, paymentHistoryResponse>;
193
203
  futurePaymentMoreDetails: handleUnaryCall<futurePaymentMoreDetailsRequest, futurePaymentMoreDetailsResponse>;
204
+ getlLoanbyId: handleUnaryCall<getLoanByIdRequest, getLoanByIdResponse>;
194
205
  }
195
206
  export interface loansClient extends Client {
196
207
  creditlimit(request: creditLimitRequest, callback: (error: ServiceError | null, response: creditLimitResponse) => void): ClientUnaryCall;
@@ -244,6 +255,9 @@ export interface loansClient extends Client {
244
255
  futurePaymentMoreDetails(request: futurePaymentMoreDetailsRequest, callback: (error: ServiceError | null, response: futurePaymentMoreDetailsResponse) => void): ClientUnaryCall;
245
256
  futurePaymentMoreDetails(request: futurePaymentMoreDetailsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: futurePaymentMoreDetailsResponse) => void): ClientUnaryCall;
246
257
  futurePaymentMoreDetails(request: futurePaymentMoreDetailsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: futurePaymentMoreDetailsResponse) => void): ClientUnaryCall;
258
+ getlLoanbyId(request: getLoanByIdRequest, callback: (error: ServiceError | null, response: getLoanByIdResponse) => void): ClientUnaryCall;
259
+ getlLoanbyId(request: getLoanByIdRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getLoanByIdResponse) => void): ClientUnaryCall;
260
+ getlLoanbyId(request: getLoanByIdRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getLoanByIdResponse) => void): ClientUnaryCall;
247
261
  }
248
262
  export declare const loansClient: {
249
263
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): loansClient;
package/ts/loans.js CHANGED
@@ -14,6 +14,7 @@ const calculateemi_1 = require("./loans/calculateemi");
14
14
  const creditlimit_1 = require("./loans/creditlimit");
15
15
  const futurepaymentmoredetails_1 = require("./loans/futurepaymentmoredetails");
16
16
  const getcustomerloanstatus_1 = require("./loans/getcustomerloanstatus");
17
+ const getloanbyid_1 = require("./loans/getloanbyid");
17
18
  const getpendingemiamount_1 = require("./loans/getpendingemiamount");
18
19
  const getsummarystaticfields_1 = require("./loans/getsummarystaticfields");
19
20
  const loansummary_1 = require("./loans/loansummary");
@@ -180,5 +181,14 @@ exports.loansService = {
180
181
  responseSerialize: (value) => Buffer.from(futurepaymentmoredetails_1.futurePaymentMoreDetailsResponse.encode(value).finish()),
181
182
  responseDeserialize: (value) => futurepaymentmoredetails_1.futurePaymentMoreDetailsResponse.decode(value),
182
183
  },
184
+ getlLoanbyId: {
185
+ path: "/service.loans/getlLoanbyId",
186
+ requestStream: false,
187
+ responseStream: false,
188
+ requestSerialize: (value) => Buffer.from(getloanbyid_1.getLoanByIdRequest.encode(value).finish()),
189
+ requestDeserialize: (value) => getloanbyid_1.getLoanByIdRequest.decode(value),
190
+ responseSerialize: (value) => Buffer.from(getloanbyid_1.getLoanByIdResponse.encode(value).finish()),
191
+ responseDeserialize: (value) => getloanbyid_1.getLoanByIdResponse.decode(value),
192
+ },
183
193
  };
184
194
  exports.loansClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.loansService, "service.loans");