@stashfin/grpc 1.2.120 → 1.2.122
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
|
@@ -73,7 +73,7 @@ export interface getCustomerByIdResponse {
|
|
|
73
73
|
emi_date?: string | undefined;
|
|
74
74
|
phone_matched?: number | undefined;
|
|
75
75
|
dob_matched?: number | undefined;
|
|
76
|
-
nsdl_dob_matched?:
|
|
76
|
+
nsdl_dob_matched?: number | undefined;
|
|
77
77
|
okyc_dob?: string | undefined;
|
|
78
78
|
dob_attempts?: number | undefined;
|
|
79
79
|
is_upgradable?: number | undefined;
|
|
@@ -353,7 +353,7 @@ exports.getCustomerByIdResponse = {
|
|
|
353
353
|
writer.uint32(552).int32(message.dob_matched);
|
|
354
354
|
}
|
|
355
355
|
if (message.nsdl_dob_matched !== undefined) {
|
|
356
|
-
writer.uint32(
|
|
356
|
+
writer.uint32(560).int32(message.nsdl_dob_matched);
|
|
357
357
|
}
|
|
358
358
|
if (message.okyc_dob !== undefined) {
|
|
359
359
|
writer.uint32(570).string(message.okyc_dob);
|
|
@@ -800,10 +800,10 @@ exports.getCustomerByIdResponse = {
|
|
|
800
800
|
message.dob_matched = reader.int32();
|
|
801
801
|
continue;
|
|
802
802
|
case 70:
|
|
803
|
-
if (tag !==
|
|
803
|
+
if (tag !== 560) {
|
|
804
804
|
break;
|
|
805
805
|
}
|
|
806
|
-
message.nsdl_dob_matched = reader.
|
|
806
|
+
message.nsdl_dob_matched = reader.int32();
|
|
807
807
|
continue;
|
|
808
808
|
case 71:
|
|
809
809
|
if (tag !== 570) {
|
|
@@ -926,7 +926,7 @@ exports.getCustomerByIdResponse = {
|
|
|
926
926
|
emi_date: isSet(object.emi_date) ? globalThis.String(object.emi_date) : undefined,
|
|
927
927
|
phone_matched: isSet(object.phone_matched) ? globalThis.Number(object.phone_matched) : undefined,
|
|
928
928
|
dob_matched: isSet(object.dob_matched) ? globalThis.Number(object.dob_matched) : undefined,
|
|
929
|
-
nsdl_dob_matched: isSet(object.nsdl_dob_matched) ? globalThis.
|
|
929
|
+
nsdl_dob_matched: isSet(object.nsdl_dob_matched) ? globalThis.Number(object.nsdl_dob_matched) : undefined,
|
|
930
930
|
okyc_dob: isSet(object.okyc_dob) ? globalThis.String(object.okyc_dob) : undefined,
|
|
931
931
|
dob_attempts: isSet(object.dob_attempts) ? globalThis.Number(object.dob_attempts) : undefined,
|
|
932
932
|
is_upgradable: isSet(object.is_upgradable) ? globalThis.Number(object.is_upgradable) : undefined,
|
|
@@ -1146,7 +1146,7 @@ exports.getCustomerByIdResponse = {
|
|
|
1146
1146
|
obj.dob_matched = Math.round(message.dob_matched);
|
|
1147
1147
|
}
|
|
1148
1148
|
if (message.nsdl_dob_matched !== undefined) {
|
|
1149
|
-
obj.nsdl_dob_matched = message.nsdl_dob_matched;
|
|
1149
|
+
obj.nsdl_dob_matched = Math.round(message.nsdl_dob_matched);
|
|
1150
1150
|
}
|
|
1151
1151
|
if (message.okyc_dob !== undefined) {
|
|
1152
1152
|
obj.okyc_dob = message.okyc_dob;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.futurepaymentmoredetails";
|
|
3
|
+
export interface futurePaymentMoreDetailsRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface futurePaymentMoreDetailsResponse {
|
|
6
|
+
data: futurePaymentMoreDetailsResponse_Field[];
|
|
7
|
+
}
|
|
8
|
+
export interface futurePaymentMoreDetailsResponse_Field {
|
|
9
|
+
loan_number: string;
|
|
10
|
+
emi_amount: number;
|
|
11
|
+
loan_amount: number;
|
|
12
|
+
start_date: string;
|
|
13
|
+
close_date: string;
|
|
14
|
+
loan_id: number;
|
|
15
|
+
}
|
|
16
|
+
export declare const futurePaymentMoreDetailsRequest: {
|
|
17
|
+
encode(_: futurePaymentMoreDetailsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
18
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): futurePaymentMoreDetailsRequest;
|
|
19
|
+
fromJSON(_: any): futurePaymentMoreDetailsRequest;
|
|
20
|
+
toJSON(_: futurePaymentMoreDetailsRequest): unknown;
|
|
21
|
+
create<I extends Exact<DeepPartial<futurePaymentMoreDetailsRequest>, I>>(base?: I): futurePaymentMoreDetailsRequest;
|
|
22
|
+
fromPartial<I extends Exact<DeepPartial<futurePaymentMoreDetailsRequest>, I>>(_: I): futurePaymentMoreDetailsRequest;
|
|
23
|
+
};
|
|
24
|
+
export declare const futurePaymentMoreDetailsResponse: {
|
|
25
|
+
encode(message: futurePaymentMoreDetailsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
26
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): futurePaymentMoreDetailsResponse;
|
|
27
|
+
fromJSON(object: any): futurePaymentMoreDetailsResponse;
|
|
28
|
+
toJSON(message: futurePaymentMoreDetailsResponse): unknown;
|
|
29
|
+
create<I extends Exact<DeepPartial<futurePaymentMoreDetailsResponse>, I>>(base?: I): futurePaymentMoreDetailsResponse;
|
|
30
|
+
fromPartial<I extends Exact<DeepPartial<futurePaymentMoreDetailsResponse>, I>>(object: I): futurePaymentMoreDetailsResponse;
|
|
31
|
+
};
|
|
32
|
+
export declare const futurePaymentMoreDetailsResponse_Field: {
|
|
33
|
+
encode(message: futurePaymentMoreDetailsResponse_Field, writer?: _m0.Writer): _m0.Writer;
|
|
34
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): futurePaymentMoreDetailsResponse_Field;
|
|
35
|
+
fromJSON(object: any): futurePaymentMoreDetailsResponse_Field;
|
|
36
|
+
toJSON(message: futurePaymentMoreDetailsResponse_Field): unknown;
|
|
37
|
+
create<I extends Exact<DeepPartial<futurePaymentMoreDetailsResponse_Field>, I>>(base?: I): futurePaymentMoreDetailsResponse_Field;
|
|
38
|
+
fromPartial<I extends Exact<DeepPartial<futurePaymentMoreDetailsResponse_Field>, I>>(object: I): futurePaymentMoreDetailsResponse_Field;
|
|
39
|
+
};
|
|
40
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
41
|
+
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 {} ? {
|
|
42
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
43
|
+
} : Partial<T>;
|
|
44
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
45
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
46
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
47
|
+
} & {
|
|
48
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
49
|
+
};
|
|
50
|
+
export {};
|
|
@@ -0,0 +1,230 @@
|
|
|
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/futurepaymentmoredetails.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.futurePaymentMoreDetailsResponse_Field = exports.futurePaymentMoreDetailsResponse = exports.futurePaymentMoreDetailsRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.futurepaymentmoredetails";
|
|
15
|
+
function createBasefuturePaymentMoreDetailsRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.futurePaymentMoreDetailsRequest = {
|
|
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 = createBasefuturePaymentMoreDetailsRequest();
|
|
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.futurePaymentMoreDetailsRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasefuturePaymentMoreDetailsRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasefuturePaymentMoreDetailsResponse() {
|
|
53
|
+
return { data: [] };
|
|
54
|
+
}
|
|
55
|
+
exports.futurePaymentMoreDetailsResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
for (const v of message.data) {
|
|
58
|
+
exports.futurePaymentMoreDetailsResponse_Field.encode(v, writer.uint32(10).fork()).ldelim();
|
|
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 = createBasefuturePaymentMoreDetailsResponse();
|
|
66
|
+
while (reader.pos < end) {
|
|
67
|
+
const tag = reader.uint32();
|
|
68
|
+
switch (tag >>> 3) {
|
|
69
|
+
case 1:
|
|
70
|
+
if (tag !== 10) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.data.push(exports.futurePaymentMoreDetailsResponse_Field.decode(reader, reader.uint32()));
|
|
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 {
|
|
85
|
+
data: globalThis.Array.isArray(object?.data)
|
|
86
|
+
? object.data.map((e) => exports.futurePaymentMoreDetailsResponse_Field.fromJSON(e))
|
|
87
|
+
: [],
|
|
88
|
+
};
|
|
89
|
+
},
|
|
90
|
+
toJSON(message) {
|
|
91
|
+
const obj = {};
|
|
92
|
+
if (message.data?.length) {
|
|
93
|
+
obj.data = message.data.map((e) => exports.futurePaymentMoreDetailsResponse_Field.toJSON(e));
|
|
94
|
+
}
|
|
95
|
+
return obj;
|
|
96
|
+
},
|
|
97
|
+
create(base) {
|
|
98
|
+
return exports.futurePaymentMoreDetailsResponse.fromPartial(base ?? {});
|
|
99
|
+
},
|
|
100
|
+
fromPartial(object) {
|
|
101
|
+
const message = createBasefuturePaymentMoreDetailsResponse();
|
|
102
|
+
message.data = object.data?.map((e) => exports.futurePaymentMoreDetailsResponse_Field.fromPartial(e)) || [];
|
|
103
|
+
return message;
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
function createBasefuturePaymentMoreDetailsResponse_Field() {
|
|
107
|
+
return { loan_number: "", emi_amount: 0, loan_amount: 0, start_date: "", close_date: "", loan_id: 0 };
|
|
108
|
+
}
|
|
109
|
+
exports.futurePaymentMoreDetailsResponse_Field = {
|
|
110
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
111
|
+
if (message.loan_number !== "") {
|
|
112
|
+
writer.uint32(10).string(message.loan_number);
|
|
113
|
+
}
|
|
114
|
+
if (message.emi_amount !== 0) {
|
|
115
|
+
writer.uint32(16).int32(message.emi_amount);
|
|
116
|
+
}
|
|
117
|
+
if (message.loan_amount !== 0) {
|
|
118
|
+
writer.uint32(24).int32(message.loan_amount);
|
|
119
|
+
}
|
|
120
|
+
if (message.start_date !== "") {
|
|
121
|
+
writer.uint32(34).string(message.start_date);
|
|
122
|
+
}
|
|
123
|
+
if (message.close_date !== "") {
|
|
124
|
+
writer.uint32(42).string(message.close_date);
|
|
125
|
+
}
|
|
126
|
+
if (message.loan_id !== 0) {
|
|
127
|
+
writer.uint32(48).int32(message.loan_id);
|
|
128
|
+
}
|
|
129
|
+
return writer;
|
|
130
|
+
},
|
|
131
|
+
decode(input, length) {
|
|
132
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
133
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
134
|
+
const message = createBasefuturePaymentMoreDetailsResponse_Field();
|
|
135
|
+
while (reader.pos < end) {
|
|
136
|
+
const tag = reader.uint32();
|
|
137
|
+
switch (tag >>> 3) {
|
|
138
|
+
case 1:
|
|
139
|
+
if (tag !== 10) {
|
|
140
|
+
break;
|
|
141
|
+
}
|
|
142
|
+
message.loan_number = reader.string();
|
|
143
|
+
continue;
|
|
144
|
+
case 2:
|
|
145
|
+
if (tag !== 16) {
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
message.emi_amount = reader.int32();
|
|
149
|
+
continue;
|
|
150
|
+
case 3:
|
|
151
|
+
if (tag !== 24) {
|
|
152
|
+
break;
|
|
153
|
+
}
|
|
154
|
+
message.loan_amount = reader.int32();
|
|
155
|
+
continue;
|
|
156
|
+
case 4:
|
|
157
|
+
if (tag !== 34) {
|
|
158
|
+
break;
|
|
159
|
+
}
|
|
160
|
+
message.start_date = reader.string();
|
|
161
|
+
continue;
|
|
162
|
+
case 5:
|
|
163
|
+
if (tag !== 42) {
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
message.close_date = reader.string();
|
|
167
|
+
continue;
|
|
168
|
+
case 6:
|
|
169
|
+
if (tag !== 48) {
|
|
170
|
+
break;
|
|
171
|
+
}
|
|
172
|
+
message.loan_id = reader.int32();
|
|
173
|
+
continue;
|
|
174
|
+
}
|
|
175
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
reader.skipType(tag & 7);
|
|
179
|
+
}
|
|
180
|
+
return message;
|
|
181
|
+
},
|
|
182
|
+
fromJSON(object) {
|
|
183
|
+
return {
|
|
184
|
+
loan_number: isSet(object.loan_number) ? globalThis.String(object.loan_number) : "",
|
|
185
|
+
emi_amount: isSet(object.emi_amount) ? globalThis.Number(object.emi_amount) : 0,
|
|
186
|
+
loan_amount: isSet(object.loan_amount) ? globalThis.Number(object.loan_amount) : 0,
|
|
187
|
+
start_date: isSet(object.start_date) ? globalThis.String(object.start_date) : "",
|
|
188
|
+
close_date: isSet(object.close_date) ? globalThis.String(object.close_date) : "",
|
|
189
|
+
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
190
|
+
};
|
|
191
|
+
},
|
|
192
|
+
toJSON(message) {
|
|
193
|
+
const obj = {};
|
|
194
|
+
if (message.loan_number !== "") {
|
|
195
|
+
obj.loan_number = message.loan_number;
|
|
196
|
+
}
|
|
197
|
+
if (message.emi_amount !== 0) {
|
|
198
|
+
obj.emi_amount = Math.round(message.emi_amount);
|
|
199
|
+
}
|
|
200
|
+
if (message.loan_amount !== 0) {
|
|
201
|
+
obj.loan_amount = Math.round(message.loan_amount);
|
|
202
|
+
}
|
|
203
|
+
if (message.start_date !== "") {
|
|
204
|
+
obj.start_date = message.start_date;
|
|
205
|
+
}
|
|
206
|
+
if (message.close_date !== "") {
|
|
207
|
+
obj.close_date = message.close_date;
|
|
208
|
+
}
|
|
209
|
+
if (message.loan_id !== 0) {
|
|
210
|
+
obj.loan_id = Math.round(message.loan_id);
|
|
211
|
+
}
|
|
212
|
+
return obj;
|
|
213
|
+
},
|
|
214
|
+
create(base) {
|
|
215
|
+
return exports.futurePaymentMoreDetailsResponse_Field.fromPartial(base ?? {});
|
|
216
|
+
},
|
|
217
|
+
fromPartial(object) {
|
|
218
|
+
const message = createBasefuturePaymentMoreDetailsResponse_Field();
|
|
219
|
+
message.loan_number = object.loan_number ?? "";
|
|
220
|
+
message.emi_amount = object.emi_amount ?? 0;
|
|
221
|
+
message.loan_amount = object.loan_amount ?? 0;
|
|
222
|
+
message.start_date = object.start_date ?? "";
|
|
223
|
+
message.close_date = object.close_date ?? "";
|
|
224
|
+
message.loan_id = object.loan_id ?? 0;
|
|
225
|
+
return message;
|
|
226
|
+
},
|
|
227
|
+
};
|
|
228
|
+
function isSet(value) {
|
|
229
|
+
return value !== null && value !== undefined;
|
|
230
|
+
}
|
package/ts/loans.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { approveLoanRequest, approveLoanResponse } from "./loans/approveloan";
|
|
|
3
3
|
import { bankListRequest, bankListResponse } from "./loans/banklist";
|
|
4
4
|
import { calculateEmiRequest, calculateEmiResponse } from "./loans/calculateemi";
|
|
5
5
|
import { creditLimitRequest, creditLimitResponse } from "./loans/creditlimit";
|
|
6
|
+
import { futurePaymentMoreDetailsRequest, futurePaymentMoreDetailsResponse } from "./loans/futurepaymentmoredetails";
|
|
6
7
|
import { getCustomerLoanStatusRequest, getCustomerLoanStatusResponse } from "./loans/getcustomerloanstatus";
|
|
7
8
|
import { getPendingEmiAmountRequest, getPendingEmiAmountResponse } from "./loans/getpendingemiamount";
|
|
8
9
|
import { getSummaryStaticFieldsRequest, getSummaryStaticFieldsResponse } from "./loans/getsummarystaticfields";
|
|
@@ -162,6 +163,15 @@ export declare const loansService: {
|
|
|
162
163
|
readonly responseSerialize: (value: paymentHistoryResponse) => Buffer;
|
|
163
164
|
readonly responseDeserialize: (value: Buffer) => paymentHistoryResponse;
|
|
164
165
|
};
|
|
166
|
+
readonly futurePaymentMoreDetails: {
|
|
167
|
+
readonly path: "/service.loans/futurePaymentMoreDetails";
|
|
168
|
+
readonly requestStream: false;
|
|
169
|
+
readonly responseStream: false;
|
|
170
|
+
readonly requestSerialize: (value: futurePaymentMoreDetailsRequest) => Buffer;
|
|
171
|
+
readonly requestDeserialize: (value: Buffer) => futurePaymentMoreDetailsRequest;
|
|
172
|
+
readonly responseSerialize: (value: futurePaymentMoreDetailsResponse) => Buffer;
|
|
173
|
+
readonly responseDeserialize: (value: Buffer) => futurePaymentMoreDetailsResponse;
|
|
174
|
+
};
|
|
165
175
|
};
|
|
166
176
|
export interface loansServer extends UntypedServiceImplementation {
|
|
167
177
|
creditlimit: handleUnaryCall<creditLimitRequest, creditLimitResponse>;
|
|
@@ -180,6 +190,7 @@ export interface loansServer extends UntypedServiceImplementation {
|
|
|
180
190
|
getPendingEmiAmount: handleUnaryCall<getPendingEmiAmountRequest, getPendingEmiAmountResponse>;
|
|
181
191
|
getSummaryStaticFields: handleUnaryCall<getSummaryStaticFieldsRequest, getSummaryStaticFieldsResponse>;
|
|
182
192
|
paymentHistory: handleUnaryCall<paymentHistoryRequest, paymentHistoryResponse>;
|
|
193
|
+
futurePaymentMoreDetails: handleUnaryCall<futurePaymentMoreDetailsRequest, futurePaymentMoreDetailsResponse>;
|
|
183
194
|
}
|
|
184
195
|
export interface loansClient extends Client {
|
|
185
196
|
creditlimit(request: creditLimitRequest, callback: (error: ServiceError | null, response: creditLimitResponse) => void): ClientUnaryCall;
|
|
@@ -230,6 +241,9 @@ export interface loansClient extends Client {
|
|
|
230
241
|
paymentHistory(request: paymentHistoryRequest, callback: (error: ServiceError | null, response: paymentHistoryResponse) => void): ClientUnaryCall;
|
|
231
242
|
paymentHistory(request: paymentHistoryRequest, metadata: Metadata, callback: (error: ServiceError | null, response: paymentHistoryResponse) => void): ClientUnaryCall;
|
|
232
243
|
paymentHistory(request: paymentHistoryRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: paymentHistoryResponse) => void): ClientUnaryCall;
|
|
244
|
+
futurePaymentMoreDetails(request: futurePaymentMoreDetailsRequest, callback: (error: ServiceError | null, response: futurePaymentMoreDetailsResponse) => void): ClientUnaryCall;
|
|
245
|
+
futurePaymentMoreDetails(request: futurePaymentMoreDetailsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: futurePaymentMoreDetailsResponse) => void): ClientUnaryCall;
|
|
246
|
+
futurePaymentMoreDetails(request: futurePaymentMoreDetailsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: futurePaymentMoreDetailsResponse) => void): ClientUnaryCall;
|
|
233
247
|
}
|
|
234
248
|
export declare const loansClient: {
|
|
235
249
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): loansClient;
|
package/ts/loans.js
CHANGED
|
@@ -12,6 +12,7 @@ const approveloan_1 = require("./loans/approveloan");
|
|
|
12
12
|
const banklist_1 = require("./loans/banklist");
|
|
13
13
|
const calculateemi_1 = require("./loans/calculateemi");
|
|
14
14
|
const creditlimit_1 = require("./loans/creditlimit");
|
|
15
|
+
const futurepaymentmoredetails_1 = require("./loans/futurepaymentmoredetails");
|
|
15
16
|
const getcustomerloanstatus_1 = require("./loans/getcustomerloanstatus");
|
|
16
17
|
const getpendingemiamount_1 = require("./loans/getpendingemiamount");
|
|
17
18
|
const getsummarystaticfields_1 = require("./loans/getsummarystaticfields");
|
|
@@ -170,5 +171,14 @@ exports.loansService = {
|
|
|
170
171
|
responseSerialize: (value) => Buffer.from(paymenthistory_1.paymentHistoryResponse.encode(value).finish()),
|
|
171
172
|
responseDeserialize: (value) => paymenthistory_1.paymentHistoryResponse.decode(value),
|
|
172
173
|
},
|
|
174
|
+
futurePaymentMoreDetails: {
|
|
175
|
+
path: "/service.loans/futurePaymentMoreDetails",
|
|
176
|
+
requestStream: false,
|
|
177
|
+
responseStream: false,
|
|
178
|
+
requestSerialize: (value) => Buffer.from(futurepaymentmoredetails_1.futurePaymentMoreDetailsRequest.encode(value).finish()),
|
|
179
|
+
requestDeserialize: (value) => futurepaymentmoredetails_1.futurePaymentMoreDetailsRequest.decode(value),
|
|
180
|
+
responseSerialize: (value) => Buffer.from(futurepaymentmoredetails_1.futurePaymentMoreDetailsResponse.encode(value).finish()),
|
|
181
|
+
responseDeserialize: (value) => futurepaymentmoredetails_1.futurePaymentMoreDetailsResponse.decode(value),
|
|
182
|
+
},
|
|
173
183
|
};
|
|
174
184
|
exports.loansClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.loansService, "service.loans");
|