@stashfin/grpc 1.2.87 → 1.2.89

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.87",
3
+ "version": "1.2.89",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -78,15 +78,15 @@ export interface Enquiries {
78
78
  month24: number;
79
79
  }
80
80
  export interface dpdChar {
81
- onemonth: number;
82
- threemonth: number;
83
- sixmonth: number;
84
- ninemonth: number;
85
- twelvemonth: number;
86
- fifteenmonth: number;
87
- eighteenmonth: number;
88
- twentyOnemonth: number;
89
- twentyFourmonth: number;
81
+ month1: number;
82
+ month3: number;
83
+ month6: number;
84
+ month9: number;
85
+ month12: number;
86
+ month15: number;
87
+ month18: number;
88
+ month21: number;
89
+ month24: number;
90
90
  }
91
91
  export declare const bureauRequest: {
92
92
  encode(message: bureauRequest, writer?: _m0.Writer): _m0.Writer;
@@ -1195,46 +1195,36 @@ exports.Enquiries = {
1195
1195
  },
1196
1196
  };
1197
1197
  function createBasedpdChar() {
1198
- return {
1199
- onemonth: 0,
1200
- threemonth: 0,
1201
- sixmonth: 0,
1202
- ninemonth: 0,
1203
- twelvemonth: 0,
1204
- fifteenmonth: 0,
1205
- eighteenmonth: 0,
1206
- twentyOnemonth: 0,
1207
- twentyFourmonth: 0,
1208
- };
1198
+ return { month1: 0, month3: 0, month6: 0, month9: 0, month12: 0, month15: 0, month18: 0, month21: 0, month24: 0 };
1209
1199
  }
1210
1200
  exports.dpdChar = {
1211
1201
  encode(message, writer = minimal_1.default.Writer.create()) {
1212
- if (message.onemonth !== 0) {
1213
- writer.uint32(8).int32(message.onemonth);
1202
+ if (message.month1 !== 0) {
1203
+ writer.uint32(8).int32(message.month1);
1214
1204
  }
1215
- if (message.threemonth !== 0) {
1216
- writer.uint32(16).int32(message.threemonth);
1205
+ if (message.month3 !== 0) {
1206
+ writer.uint32(16).int32(message.month3);
1217
1207
  }
1218
- if (message.sixmonth !== 0) {
1219
- writer.uint32(24).int32(message.sixmonth);
1208
+ if (message.month6 !== 0) {
1209
+ writer.uint32(24).int32(message.month6);
1220
1210
  }
1221
- if (message.ninemonth !== 0) {
1222
- writer.uint32(32).int32(message.ninemonth);
1211
+ if (message.month9 !== 0) {
1212
+ writer.uint32(32).int32(message.month9);
1223
1213
  }
1224
- if (message.twelvemonth !== 0) {
1225
- writer.uint32(40).int32(message.twelvemonth);
1214
+ if (message.month12 !== 0) {
1215
+ writer.uint32(40).int32(message.month12);
1226
1216
  }
1227
- if (message.fifteenmonth !== 0) {
1228
- writer.uint32(48).int32(message.fifteenmonth);
1217
+ if (message.month15 !== 0) {
1218
+ writer.uint32(48).int32(message.month15);
1229
1219
  }
1230
- if (message.eighteenmonth !== 0) {
1231
- writer.uint32(56).int32(message.eighteenmonth);
1220
+ if (message.month18 !== 0) {
1221
+ writer.uint32(56).int32(message.month18);
1232
1222
  }
1233
- if (message.twentyOnemonth !== 0) {
1234
- writer.uint32(64).int32(message.twentyOnemonth);
1223
+ if (message.month21 !== 0) {
1224
+ writer.uint32(64).int32(message.month21);
1235
1225
  }
1236
- if (message.twentyFourmonth !== 0) {
1237
- writer.uint32(72).int32(message.twentyFourmonth);
1226
+ if (message.month24 !== 0) {
1227
+ writer.uint32(72).int32(message.month24);
1238
1228
  }
1239
1229
  return writer;
1240
1230
  },
@@ -1249,55 +1239,55 @@ exports.dpdChar = {
1249
1239
  if (tag !== 8) {
1250
1240
  break;
1251
1241
  }
1252
- message.onemonth = reader.int32();
1242
+ message.month1 = reader.int32();
1253
1243
  continue;
1254
1244
  case 2:
1255
1245
  if (tag !== 16) {
1256
1246
  break;
1257
1247
  }
1258
- message.threemonth = reader.int32();
1248
+ message.month3 = reader.int32();
1259
1249
  continue;
1260
1250
  case 3:
1261
1251
  if (tag !== 24) {
1262
1252
  break;
1263
1253
  }
1264
- message.sixmonth = reader.int32();
1254
+ message.month6 = reader.int32();
1265
1255
  continue;
1266
1256
  case 4:
1267
1257
  if (tag !== 32) {
1268
1258
  break;
1269
1259
  }
1270
- message.ninemonth = reader.int32();
1260
+ message.month9 = reader.int32();
1271
1261
  continue;
1272
1262
  case 5:
1273
1263
  if (tag !== 40) {
1274
1264
  break;
1275
1265
  }
1276
- message.twelvemonth = reader.int32();
1266
+ message.month12 = reader.int32();
1277
1267
  continue;
1278
1268
  case 6:
1279
1269
  if (tag !== 48) {
1280
1270
  break;
1281
1271
  }
1282
- message.fifteenmonth = reader.int32();
1272
+ message.month15 = reader.int32();
1283
1273
  continue;
1284
1274
  case 7:
1285
1275
  if (tag !== 56) {
1286
1276
  break;
1287
1277
  }
1288
- message.eighteenmonth = reader.int32();
1278
+ message.month18 = reader.int32();
1289
1279
  continue;
1290
1280
  case 8:
1291
1281
  if (tag !== 64) {
1292
1282
  break;
1293
1283
  }
1294
- message.twentyOnemonth = reader.int32();
1284
+ message.month21 = reader.int32();
1295
1285
  continue;
1296
1286
  case 9:
1297
1287
  if (tag !== 72) {
1298
1288
  break;
1299
1289
  }
1300
- message.twentyFourmonth = reader.int32();
1290
+ message.month24 = reader.int32();
1301
1291
  continue;
1302
1292
  }
1303
1293
  if ((tag & 7) === 4 || tag === 0) {
@@ -1309,45 +1299,45 @@ exports.dpdChar = {
1309
1299
  },
1310
1300
  fromJSON(object) {
1311
1301
  return {
1312
- onemonth: isSet(object.onemonth) ? globalThis.Number(object.onemonth) : 0,
1313
- threemonth: isSet(object.threemonth) ? globalThis.Number(object.threemonth) : 0,
1314
- sixmonth: isSet(object.sixmonth) ? globalThis.Number(object.sixmonth) : 0,
1315
- ninemonth: isSet(object.ninemonth) ? globalThis.Number(object.ninemonth) : 0,
1316
- twelvemonth: isSet(object.twelvemonth) ? globalThis.Number(object.twelvemonth) : 0,
1317
- fifteenmonth: isSet(object.fifteenmonth) ? globalThis.Number(object.fifteenmonth) : 0,
1318
- eighteenmonth: isSet(object.eighteenmonth) ? globalThis.Number(object.eighteenmonth) : 0,
1319
- twentyOnemonth: isSet(object.twentyOnemonth) ? globalThis.Number(object.twentyOnemonth) : 0,
1320
- twentyFourmonth: isSet(object.twentyFourmonth) ? globalThis.Number(object.twentyFourmonth) : 0,
1302
+ month1: isSet(object.month1) ? globalThis.Number(object.month1) : 0,
1303
+ month3: isSet(object.month3) ? globalThis.Number(object.month3) : 0,
1304
+ month6: isSet(object.month6) ? globalThis.Number(object.month6) : 0,
1305
+ month9: isSet(object.month9) ? globalThis.Number(object.month9) : 0,
1306
+ month12: isSet(object.month12) ? globalThis.Number(object.month12) : 0,
1307
+ month15: isSet(object.month15) ? globalThis.Number(object.month15) : 0,
1308
+ month18: isSet(object.month18) ? globalThis.Number(object.month18) : 0,
1309
+ month21: isSet(object.month21) ? globalThis.Number(object.month21) : 0,
1310
+ month24: isSet(object.month24) ? globalThis.Number(object.month24) : 0,
1321
1311
  };
1322
1312
  },
1323
1313
  toJSON(message) {
1324
1314
  const obj = {};
1325
- if (message.onemonth !== 0) {
1326
- obj.onemonth = Math.round(message.onemonth);
1315
+ if (message.month1 !== 0) {
1316
+ obj.month1 = Math.round(message.month1);
1327
1317
  }
1328
- if (message.threemonth !== 0) {
1329
- obj.threemonth = Math.round(message.threemonth);
1318
+ if (message.month3 !== 0) {
1319
+ obj.month3 = Math.round(message.month3);
1330
1320
  }
1331
- if (message.sixmonth !== 0) {
1332
- obj.sixmonth = Math.round(message.sixmonth);
1321
+ if (message.month6 !== 0) {
1322
+ obj.month6 = Math.round(message.month6);
1333
1323
  }
1334
- if (message.ninemonth !== 0) {
1335
- obj.ninemonth = Math.round(message.ninemonth);
1324
+ if (message.month9 !== 0) {
1325
+ obj.month9 = Math.round(message.month9);
1336
1326
  }
1337
- if (message.twelvemonth !== 0) {
1338
- obj.twelvemonth = Math.round(message.twelvemonth);
1327
+ if (message.month12 !== 0) {
1328
+ obj.month12 = Math.round(message.month12);
1339
1329
  }
1340
- if (message.fifteenmonth !== 0) {
1341
- obj.fifteenmonth = Math.round(message.fifteenmonth);
1330
+ if (message.month15 !== 0) {
1331
+ obj.month15 = Math.round(message.month15);
1342
1332
  }
1343
- if (message.eighteenmonth !== 0) {
1344
- obj.eighteenmonth = Math.round(message.eighteenmonth);
1333
+ if (message.month18 !== 0) {
1334
+ obj.month18 = Math.round(message.month18);
1345
1335
  }
1346
- if (message.twentyOnemonth !== 0) {
1347
- obj.twentyOnemonth = Math.round(message.twentyOnemonth);
1336
+ if (message.month21 !== 0) {
1337
+ obj.month21 = Math.round(message.month21);
1348
1338
  }
1349
- if (message.twentyFourmonth !== 0) {
1350
- obj.twentyFourmonth = Math.round(message.twentyFourmonth);
1339
+ if (message.month24 !== 0) {
1340
+ obj.month24 = Math.round(message.month24);
1351
1341
  }
1352
1342
  return obj;
1353
1343
  },
@@ -1356,15 +1346,15 @@ exports.dpdChar = {
1356
1346
  },
1357
1347
  fromPartial(object) {
1358
1348
  const message = createBasedpdChar();
1359
- message.onemonth = object.onemonth ?? 0;
1360
- message.threemonth = object.threemonth ?? 0;
1361
- message.sixmonth = object.sixmonth ?? 0;
1362
- message.ninemonth = object.ninemonth ?? 0;
1363
- message.twelvemonth = object.twelvemonth ?? 0;
1364
- message.fifteenmonth = object.fifteenmonth ?? 0;
1365
- message.eighteenmonth = object.eighteenmonth ?? 0;
1366
- message.twentyOnemonth = object.twentyOnemonth ?? 0;
1367
- message.twentyFourmonth = object.twentyFourmonth ?? 0;
1349
+ message.month1 = object.month1 ?? 0;
1350
+ message.month3 = object.month3 ?? 0;
1351
+ message.month6 = object.month6 ?? 0;
1352
+ message.month9 = object.month9 ?? 0;
1353
+ message.month12 = object.month12 ?? 0;
1354
+ message.month15 = object.month15 ?? 0;
1355
+ message.month18 = object.month18 ?? 0;
1356
+ message.month21 = object.month21 ?? 0;
1357
+ message.month24 = object.month24 ?? 0;
1368
1358
  return message;
1369
1359
  },
1370
1360
  };
@@ -2,6 +2,7 @@ import _m0 from "protobufjs/minimal";
2
2
  export declare const protobufPackage = "loans.calculateemi";
3
3
  export interface calculateEmiRequest {
4
4
  amount: number;
5
+ addons: number;
5
6
  }
6
7
  export interface calculateEmiResponse {
7
8
  disbursal_amount: number;
@@ -13,13 +13,16 @@ exports.calculateEmiResponse_Field = exports.calculateEmiResponse = exports.calc
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.calculateemi";
15
15
  function createBasecalculateEmiRequest() {
16
- return { amount: 0 };
16
+ return { amount: 0, addons: 0 };
17
17
  }
18
18
  exports.calculateEmiRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
20
20
  if (message.amount !== 0) {
21
21
  writer.uint32(8).int32(message.amount);
22
22
  }
23
+ if (message.addons !== 0) {
24
+ writer.uint32(16).int32(message.addons);
25
+ }
23
26
  return writer;
24
27
  },
25
28
  decode(input, length) {
@@ -35,6 +38,12 @@ exports.calculateEmiRequest = {
35
38
  }
36
39
  message.amount = reader.int32();
37
40
  continue;
41
+ case 2:
42
+ if (tag !== 16) {
43
+ break;
44
+ }
45
+ message.addons = reader.int32();
46
+ continue;
38
47
  }
39
48
  if ((tag & 7) === 4 || tag === 0) {
40
49
  break;
@@ -44,13 +53,19 @@ exports.calculateEmiRequest = {
44
53
  return message;
45
54
  },
46
55
  fromJSON(object) {
47
- return { amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0 };
56
+ return {
57
+ amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
58
+ addons: isSet(object.addons) ? globalThis.Number(object.addons) : 0,
59
+ };
48
60
  },
49
61
  toJSON(message) {
50
62
  const obj = {};
51
63
  if (message.amount !== 0) {
52
64
  obj.amount = Math.round(message.amount);
53
65
  }
66
+ if (message.addons !== 0) {
67
+ obj.addons = Math.round(message.addons);
68
+ }
54
69
  return obj;
55
70
  },
56
71
  create(base) {
@@ -59,6 +74,7 @@ exports.calculateEmiRequest = {
59
74
  fromPartial(object) {
60
75
  const message = createBasecalculateEmiRequest();
61
76
  message.amount = object.amount ?? 0;
77
+ message.addons = object.addons ?? 0;
62
78
  return message;
63
79
  },
64
80
  };
@@ -0,0 +1,34 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "loans.getpendingemiamount";
3
+ export interface getPendingEmiAmountRequest {
4
+ }
5
+ export interface getPendingEmiAmountResponse {
6
+ pending_amount: number;
7
+ }
8
+ export declare const getPendingEmiAmountRequest: {
9
+ encode(_: getPendingEmiAmountRequest, writer?: _m0.Writer): _m0.Writer;
10
+ decode(input: _m0.Reader | Uint8Array, length?: number): getPendingEmiAmountRequest;
11
+ fromJSON(_: any): getPendingEmiAmountRequest;
12
+ toJSON(_: getPendingEmiAmountRequest): unknown;
13
+ create<I extends Exact<DeepPartial<getPendingEmiAmountRequest>, I>>(base?: I): getPendingEmiAmountRequest;
14
+ fromPartial<I extends Exact<DeepPartial<getPendingEmiAmountRequest>, I>>(_: I): getPendingEmiAmountRequest;
15
+ };
16
+ export declare const getPendingEmiAmountResponse: {
17
+ encode(message: getPendingEmiAmountResponse, writer?: _m0.Writer): _m0.Writer;
18
+ decode(input: _m0.Reader | Uint8Array, length?: number): getPendingEmiAmountResponse;
19
+ fromJSON(object: any): getPendingEmiAmountResponse;
20
+ toJSON(message: getPendingEmiAmountResponse): unknown;
21
+ create<I extends Exact<DeepPartial<getPendingEmiAmountResponse>, I>>(base?: I): getPendingEmiAmountResponse;
22
+ fromPartial<I extends Exact<DeepPartial<getPendingEmiAmountResponse>, I>>(object: I): getPendingEmiAmountResponse;
23
+ };
24
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
25
+ 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 {} ? {
26
+ [K in keyof T]?: DeepPartial<T[K]>;
27
+ } : Partial<T>;
28
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
29
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
30
+ [K in keyof P]: Exact<P[K], I[K]>;
31
+ } & {
32
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
33
+ };
34
+ export {};
@@ -0,0 +1,104 @@
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/getpendingemiamount.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.getPendingEmiAmountResponse = exports.getPendingEmiAmountRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "loans.getpendingemiamount";
15
+ function createBasegetPendingEmiAmountRequest() {
16
+ return {};
17
+ }
18
+ exports.getPendingEmiAmountRequest = {
19
+ encode(_, writer = minimal_1.default.Writer.create()) {
20
+ return writer;
21
+ },
22
+ decode(input, length) {
23
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
24
+ let end = length === undefined ? reader.len : reader.pos + length;
25
+ const message = createBasegetPendingEmiAmountRequest();
26
+ while (reader.pos < end) {
27
+ const tag = reader.uint32();
28
+ switch (tag >>> 3) {
29
+ }
30
+ if ((tag & 7) === 4 || tag === 0) {
31
+ break;
32
+ }
33
+ reader.skipType(tag & 7);
34
+ }
35
+ return message;
36
+ },
37
+ fromJSON(_) {
38
+ return {};
39
+ },
40
+ toJSON(_) {
41
+ const obj = {};
42
+ return obj;
43
+ },
44
+ create(base) {
45
+ return exports.getPendingEmiAmountRequest.fromPartial(base ?? {});
46
+ },
47
+ fromPartial(_) {
48
+ const message = createBasegetPendingEmiAmountRequest();
49
+ return message;
50
+ },
51
+ };
52
+ function createBasegetPendingEmiAmountResponse() {
53
+ return { pending_amount: 0 };
54
+ }
55
+ exports.getPendingEmiAmountResponse = {
56
+ encode(message, writer = minimal_1.default.Writer.create()) {
57
+ if (message.pending_amount !== 0) {
58
+ writer.uint32(8).int32(message.pending_amount);
59
+ }
60
+ return writer;
61
+ },
62
+ decode(input, length) {
63
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
64
+ let end = length === undefined ? reader.len : reader.pos + length;
65
+ const message = createBasegetPendingEmiAmountResponse();
66
+ while (reader.pos < end) {
67
+ const tag = reader.uint32();
68
+ switch (tag >>> 3) {
69
+ case 1:
70
+ if (tag !== 8) {
71
+ break;
72
+ }
73
+ message.pending_amount = reader.int32();
74
+ continue;
75
+ }
76
+ if ((tag & 7) === 4 || tag === 0) {
77
+ break;
78
+ }
79
+ reader.skipType(tag & 7);
80
+ }
81
+ return message;
82
+ },
83
+ fromJSON(object) {
84
+ return { pending_amount: isSet(object.pending_amount) ? globalThis.Number(object.pending_amount) : 0 };
85
+ },
86
+ toJSON(message) {
87
+ const obj = {};
88
+ if (message.pending_amount !== 0) {
89
+ obj.pending_amount = Math.round(message.pending_amount);
90
+ }
91
+ return obj;
92
+ },
93
+ create(base) {
94
+ return exports.getPendingEmiAmountResponse.fromPartial(base ?? {});
95
+ },
96
+ fromPartial(object) {
97
+ const message = createBasegetPendingEmiAmountResponse();
98
+ message.pending_amount = object.pending_amount ?? 0;
99
+ return message;
100
+ },
101
+ };
102
+ function isSet(value) {
103
+ return value !== null && value !== undefined;
104
+ }
package/ts/loans.d.ts CHANGED
@@ -4,6 +4,7 @@ import { bankListRequest, bankListResponse } from "./loans/banklist";
4
4
  import { calculateEmiRequest, calculateEmiResponse } from "./loans/calculateemi";
5
5
  import { creditLimitRequest, creditLimitResponse } from "./loans/creditlimit";
6
6
  import { getCustomerLoanStatusRequest, getCustomerLoanStatusResponse } from "./loans/getcustomerloanstatus";
7
+ import { getPendingEmiAmountRequest, getPendingEmiAmountResponse } from "./loans/getpendingemiamount";
7
8
  import { loanSummaryRequest, loanSummaryResponse } from "./loans/loansummary";
8
9
  import { paymentAllocationRequest, paymentAllocationResponse } from "./loans/paymentallocation";
9
10
  import { restructureLoanRequest, restructureLoanResponse } from "./loans/restructureloan";
@@ -132,6 +133,15 @@ export declare const loansService: {
132
133
  readonly responseSerialize: (value: sendNocEmailResponse) => Buffer;
133
134
  readonly responseDeserialize: (value: Buffer) => sendNocEmailResponse;
134
135
  };
136
+ readonly getPendingEmiAmount: {
137
+ readonly path: "/service.loans/getPendingEmiAmount";
138
+ readonly requestStream: false;
139
+ readonly responseStream: false;
140
+ readonly requestSerialize: (value: getPendingEmiAmountRequest) => Buffer;
141
+ readonly requestDeserialize: (value: Buffer) => getPendingEmiAmountRequest;
142
+ readonly responseSerialize: (value: getPendingEmiAmountResponse) => Buffer;
143
+ readonly responseDeserialize: (value: Buffer) => getPendingEmiAmountResponse;
144
+ };
135
145
  };
136
146
  export interface loansServer extends UntypedServiceImplementation {
137
147
  creditlimit: handleUnaryCall<creditLimitRequest, creditLimitResponse>;
@@ -147,6 +157,7 @@ export interface loansServer extends UntypedServiceImplementation {
147
157
  getCustomerLoanStatus: handleUnaryCall<getCustomerLoanStatusRequest, getCustomerLoanStatusResponse>;
148
158
  sendEmail: handleUnaryCall<sendEmailRequest, sendEmailResponse>;
149
159
  sendNocEmail: handleUnaryCall<sendNocEmailRequest, sendNocEmailResponse>;
160
+ getPendingEmiAmount: handleUnaryCall<getPendingEmiAmountRequest, getPendingEmiAmountResponse>;
150
161
  }
151
162
  export interface loansClient extends Client {
152
163
  creditlimit(request: creditLimitRequest, callback: (error: ServiceError | null, response: creditLimitResponse) => void): ClientUnaryCall;
@@ -188,6 +199,9 @@ export interface loansClient extends Client {
188
199
  sendNocEmail(request: sendNocEmailRequest, callback: (error: ServiceError | null, response: sendNocEmailResponse) => void): ClientUnaryCall;
189
200
  sendNocEmail(request: sendNocEmailRequest, metadata: Metadata, callback: (error: ServiceError | null, response: sendNocEmailResponse) => void): ClientUnaryCall;
190
201
  sendNocEmail(request: sendNocEmailRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: sendNocEmailResponse) => void): ClientUnaryCall;
202
+ getPendingEmiAmount(request: getPendingEmiAmountRequest, callback: (error: ServiceError | null, response: getPendingEmiAmountResponse) => void): ClientUnaryCall;
203
+ getPendingEmiAmount(request: getPendingEmiAmountRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getPendingEmiAmountResponse) => void): ClientUnaryCall;
204
+ getPendingEmiAmount(request: getPendingEmiAmountRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getPendingEmiAmountResponse) => void): ClientUnaryCall;
191
205
  }
192
206
  export declare const loansClient: {
193
207
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): loansClient;
package/ts/loans.js CHANGED
@@ -13,6 +13,7 @@ const banklist_1 = require("./loans/banklist");
13
13
  const calculateemi_1 = require("./loans/calculateemi");
14
14
  const creditlimit_1 = require("./loans/creditlimit");
15
15
  const getcustomerloanstatus_1 = require("./loans/getcustomerloanstatus");
16
+ const getpendingemiamount_1 = require("./loans/getpendingemiamount");
16
17
  const loansummary_1 = require("./loans/loansummary");
17
18
  const paymentallocation_1 = require("./loans/paymentallocation");
18
19
  const restructureloan_1 = require("./loans/restructureloan");
@@ -140,5 +141,14 @@ exports.loansService = {
140
141
  responseSerialize: (value) => Buffer.from(sendnocemail_1.sendNocEmailResponse.encode(value).finish()),
141
142
  responseDeserialize: (value) => sendnocemail_1.sendNocEmailResponse.decode(value),
142
143
  },
144
+ getPendingEmiAmount: {
145
+ path: "/service.loans/getPendingEmiAmount",
146
+ requestStream: false,
147
+ responseStream: false,
148
+ requestSerialize: (value) => Buffer.from(getpendingemiamount_1.getPendingEmiAmountRequest.encode(value).finish()),
149
+ requestDeserialize: (value) => getpendingemiamount_1.getPendingEmiAmountRequest.decode(value),
150
+ responseSerialize: (value) => Buffer.from(getpendingemiamount_1.getPendingEmiAmountResponse.encode(value).finish()),
151
+ responseDeserialize: (value) => getpendingemiamount_1.getPendingEmiAmountResponse.decode(value),
152
+ },
143
153
  };
144
154
  exports.loansClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.loansService, "service.loans");